"use strict";(()=>{var BIe=Object.create;var ey=Object.defineProperty;var P9=Object.getOwnPropertyDescriptor;var VIe=Object.getOwnPropertyNames;var GIe=Object.getPrototypeOf,QIe=Object.prototype.hasOwnProperty;var R9=e=>{throw TypeError(e)};var jIe=(e,t,o)=>t in e?ey(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var cn=(e,t)=>()=>(e&&(t=e(e=0)),t);var vu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Do=(e,t)=>{for(var o in t)ey(e,o,{get:t[o],enumerable:!0})},YIe=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of VIe(t))!QIe.call(e,i)&&i!==o&&ey(e,i,{get:()=>t[i],enumerable:!(n=P9(t,i))||n.enumerable});return e};var yC=(e,t,o)=>(o=e!=null?BIe(GIe(e)):{},YIe(t||!e||!e.__esModule?ey(o,"default",{value:e,enumerable:!0}):o,e));var q=(e,t,o,n)=>{for(var i=n>1?void 0:n?P9(t,o):t,r=e.length-1,s;r>=0;r--)(s=e[r])&&(i=(n?s(t,o,i):s(i))||i);return n&&i&&ey(t,o,i),i};var Wt=(e,t,o)=>jIe(e,typeof t!="symbol"?t+"":t,o),o$=(e,t,o)=>t.has(e)||R9("Cannot "+o);var Ae=(e,t,o)=>(o$(e,t,"read from private field"),o?o.call(e):t.get(e)),eo=(e,t,o)=>t.has(e)?R9("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),At=(e,t,o,n)=>(o$(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o),xp=(e,t,o)=>(o$(e,t,"access private method"),o);var Gse,li,Op,cN=cn(()=>{Gse=new WeakMap,li=e=>(...t)=>{let o=e(...t);return Gse.set(o,!0),o},Op=e=>typeof e=="function"&&Gse.has(e)});var uN,vA,Hp,Xf=cn(()=>{uN=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,vA=(e,t,o=null,n=null)=>{for(;t!==o;){let i=t.nextSibling;e.insertBefore(t,n),t=i}},Hp=(e,t,o=null)=>{for(;t!==o;){let n=t.nextSibling;e.removeChild(t),t=n}}});var Ir,yA,dN=cn(()=>{Ir={},yA={}});var el,pN,Qse,eh,Hy,jse,mN,Lr,xA,th=cn(()=>{el=`{{lit-${String(Math.random()).slice(2)}}}`,pN=``,Qse=new RegExp(`${el}|${pN}`),eh="$lit$",Hy=class{constructor(t,o){this.parts=[],this.element=o;let n=[],i=[],r=document.createTreeWalker(o.content,133,null,!1),s=0,a=-1,l=0,{strings:c,values:{length:u}}=t;for(;l0;){let _=c[l],h=xA.exec(_)[2],x=h.toLowerCase()+eh,v=p.getAttribute(x);p.removeAttribute(x);let T=v.split(Qse);this.parts.push({type:"attribute",index:a,name:h,strings:T}),l+=T.length-1}}p.tagName==="TEMPLATE"&&(i.push(p),r.currentNode=p.content)}else if(p.nodeType===3){let m=p.data;if(m.indexOf(el)>=0){let g=p.parentNode,f=m.split(Qse),_=f.length-1;for(let h=0;h<_;h++){let x,v=f[h];if(v==="")x=Lr();else{let T=xA.exec(v);T!==null&&jse(T[2],eh)&&(v=v.slice(0,T.index)+T[1]+T[2].slice(0,-eh.length)+T[3]),x=document.createTextNode(v)}g.insertBefore(x,p),this.parts.push({type:"node",index:++a})}f[_]===""?(g.insertBefore(Lr(),p),n.push(p)):p.data=f[_],l+=_}}else if(p.nodeType===8)if(p.data===el){let m=p.parentNode;(p.previousSibling===null||a===s)&&(a++,m.insertBefore(Lr(),p)),s=a,this.parts.push({type:"node",index:a}),p.nextSibling===null?p.data="":(n.push(p),a--),l++}else{let m=-1;for(;(m=p.data.indexOf(el,m+1))!==-1;)this.parts.push({type:"node",index:-1}),l++}}for(let p of n)p.parentNode.removeChild(p)}},jse=(e,t)=>{let o=e.length-t.length;return o>=0&&e.slice(o)===t},mN=e=>e.index!==-1,Lr=()=>document.createComment(""),xA=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/});var oh,gN=cn(()=>{Xf();th();oh=class{constructor(t,o,n){this.__parts=[],this.template=t,this.processor=o,this.options=n}update(t){let o=0;for(let n of this.__parts)n!==void 0&&n.setValue(t[o]),o++;for(let n of this.__parts)n!==void 0&&n.commit()}_clone(){let t=uN?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),o=[],n=this.template.parts,i=document.createTreeWalker(t,133,null,!1),r=0,s=0,a,l=i.nextNode();for(;r{Xf();th();Yse=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),uLe=` ${el} `,tl=class{constructor(t,o,n,i){this.strings=t,this.values=o,this.type=n,this.processor=i}getHTML(){let t=this.strings.length-1,o="",n=!1;for(let i=0;i-1||n)&&r.indexOf("-->",s+1)===-1;let a=xA.exec(r);a===null?o+=r+(n?uLe:pN):o+=r.substr(0,a.index)+a[1]+a[2]+eh+a[3]+el}return o+=this.strings[t],o}getTemplateElement(){let t=document.createElement("template"),o=this.getHTML();return Yse!==void 0&&(o=Yse.createHTML(o)),t.innerHTML=o,t}}});var Nu,SA,nh,la,Yi,Bp,By,zu,Wse,Vp,dLe,ih=cn(()=>{cN();Xf();dN();gN();TA();th();Nu=e=>e===null||!(typeof e=="object"||typeof e=="function"),SA=e=>Array.isArray(e)||!!(e&&e[Symbol.iterator]),nh=class{constructor(t,o,n){this.dirty=!0,this.element=t,this.name=o,this.strings=n,this.parts=[];for(let i=0;i{try{let e={get capture(){return Wse=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{}})();Vp=class{constructor(t,o,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=o,this.eventContext=n,this.__boundHandleEvent=i=>this.handleEvent(i)}setValue(t){this.__pendingValue=t}commit(){for(;Op(this.__pendingValue);){let r=this.__pendingValue;this.__pendingValue=Ir,r(this)}if(this.__pendingValue===Ir)return;let t=this.__pendingValue,o=this.value,n=t==null||o!=null&&(t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive),i=t!=null&&(o==null||n);n&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=dLe(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Ir}handleEvent(t){typeof this.value=="function"?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}},dLe=e=>e&&(Wse?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)});var wA,CA,fN=cn(()=>{ih();wA=class{handleAttributeExpressions(t,o,n,i){let r=o[0];return r==="."?new By(t,o.slice(1),n).parts:r==="@"?[new Vp(t,o.slice(1),i.eventContext)]:r==="?"?[new Bp(t,o.slice(1),n)]:new nh(t,o,n).parts}handleTextExpression(t){return new Yi(t)}},CA=new wA});function bN(e){let t=hN.get(e.type);t===void 0&&(t={stringsArray:new WeakMap,keyString:new Map},hN.set(e.type,t));let o=t.stringsArray.get(e.strings);if(o!==void 0)return o;let n=e.strings.join(el);return o=t.keyString.get(n),o===void 0&&(o=new Hy(e,e.getTemplateElement()),t.keyString.set(n,o)),t.stringsArray.set(e.strings,o),o}var hN,_N=cn(()=>{th();hN=new Map});var vN,y,yN=cn(()=>{Xf();ih();_N();vN=new WeakMap,y=(e,t,o)=>{let n=vN.get(t);n===void 0&&(Hp(t,t.firstChild),vN.set(t,n=new Yi(Object.assign({templateFactory:bN},o))),n.appendInto(t)),n.setValue(e),n.commit()}});var d,He=cn(()=>{fN();TA();fN();cN();Xf();dN();ih();yN();_N();gN();TA();th();typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");d=(e,...t)=>new tl(e,t,"html",CA)});var xN,Kse,Wi,Jse=cn(()=>{He();xN=class{constructor(t){this.classes=new Set,this.changed=!1,this.element=t;let o=(t.getAttribute("class")||"").split(/\s+/);for(let n of o)this.classes.add(n)}add(t){this.classes.add(t),this.changed=!0}remove(t){this.classes.delete(t),this.changed=!0}commit(){if(this.changed){let t="";this.classes.forEach(o=>t+=o+" "),this.element.setAttribute("class",t)}}},Kse=new WeakMap,Wi=li(e=>t=>{if(!(t instanceof la)||t instanceof zu||t.committer.name!=="class"||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");let{committer:o}=t,{element:n}=o,i=Kse.get(t);i===void 0&&(n.setAttribute("class",o.strings.join(" ")),Kse.set(t,i=new Set));let r=n.classList||new xN(n);i.forEach(s=>{s in e||(r.remove(s),i.delete(s))});for(let s in e){let a=e[s];a!=i.has(s)&&(a?(r.add(s),i.add(s)):(r.remove(s),i.delete(s)))}typeof r.commit=="function"&&r.commit()})});var TN,Ue,rh=cn(()=>{He();TN=new WeakMap,Ue=li(e=>t=>{let o=TN.get(t);if(e===void 0&&t instanceof la){if(o!==void 0||!TN.has(t)){let n=t.committer.name;t.committer.element.removeAttribute(n)}}else e!==o&&t.setValue(e);TN.set(t,e)})});var SN,Zse,Xse=cn(()=>{He();SN=li(e=>t=>{let o;if(t instanceof Vp||t instanceof Yi)throw new Error("The `live` directive is not allowed on text or event bindings");if(t instanceof Bp)Zse(t.strings),o=t.element.hasAttribute(t.name),t.value=o;else{let{element:n,name:i,strings:r}=t.committer;if(Zse(r),t instanceof zu){if(o=n[i],o===e)return}else t instanceof la&&(o=n.getAttribute(i));if(o===String(e))return}t.setValue(e)}),Zse=e=>{if(e.length!==2||e[0]!==""||e[1]!=="")throw new Error("`live` bindings can only contain a single expression")}});var eae,Gp,wN,CN,tae,oae,nae,zo,iae=cn(()=>{He();eae=(e,t)=>{let o=e.startNode.parentNode,n=t===void 0?e.endNode:t.startNode,i=o.insertBefore(Lr(),n);o.insertBefore(Lr(),n);let r=new Yi(e.options);return r.insertAfterNode(i),r},Gp=(e,t)=>(e.setValue(t),e.commit(),e),wN=(e,t,o)=>{let n=e.startNode.parentNode,i=o?o.startNode:e.endNode,r=t.endNode.nextSibling;r!==i&&vA(n,t.startNode,r,i)},CN=e=>{Hp(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},tae=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},oae=new WeakMap,nae=new WeakMap,zo=li((e,t,o)=>{let n;return o===void 0?o=t:t!==void 0&&(n=t),i=>{if(!(i instanceof Yi))throw new Error("repeat can only be used in text bindings");let r=oae.get(i)||[],s=nae.get(i)||[],a=[],l=[],c=[],u=0;for(let x of e)c[u]=n?n(x,u):u,l[u]=o(x,u),u++;let p,m,g=0,f=r.length-1,_=0,h=l.length-1;for(;g<=f&&_<=h;)if(r[g]===null)g++;else if(r[f]===null)f--;else if(s[g]===c[_])a[_]=Gp(r[g],l[_]),g++,_++;else if(s[f]===c[h])a[h]=Gp(r[f],l[h]),f--,h--;else if(s[g]===c[h])a[h]=Gp(r[g],l[h]),wN(i,r[g],a[h+1]),g++,h--;else if(s[f]===c[_])a[_]=Gp(r[f],l[_]),wN(i,r[f],r[g]),f--,_++;else if(p===void 0&&(p=tae(c,_,h),m=tae(s,g,f)),!p.has(s[g]))CN(r[g]),g++;else if(!p.has(s[f]))CN(r[f]),f--;else{let x=m.get(c[_]),v=x!==void 0?r[x]:null;if(v===null){let T=eae(i,r[g]);Gp(T,l[_]),a[_]=T}else a[_]=Gp(v,l[_]),wN(i,v,r[g]),r[x]=null;_++}for(;_<=h;){let x=eae(i,a[h+1]);Gp(x,l[_]),a[_++]=x}for(;g<=f;){let x=r[g++];x!==null&&CN(x)}oae.set(i,a),nae.set(i,c)}})});var rae,z,Qp=cn(()=>{ih();He();rae=new WeakMap,z=li(e=>t=>{if(!(t instanceof Yi))throw new Error("unsafeHTML can only be used in text bindings");let o=rae.get(t);if(o!==void 0&&Nu(e)&&e===o.value&&t.value===o.fragment)return;let n=document.createElement("template");n.innerHTML=e;let i=document.importNode(n.content,!0);t.setValue(i),rae.set(t,{value:e,fragment:i})})});var sae,aae,An,lae=cn(()=>{ih();He();sae=new WeakMap,aae=2147483647,An=li((...e)=>t=>{let o=sae.get(t);o===void 0&&(o={lastRenderedIndex:aae,values:[]},sae.set(t,o));let n=o.values,i=n.length;o.values=e;for(let r=0;ro.lastRenderedIndex);r++){let s=e[r];if(Nu(s)||typeof s.then!="function"){t.setValue(s),o.lastRenderedIndex=r;break}r{let l=o.values.indexOf(s);l>-1&&l{"use strict";He();Jse();rh();Xse();iae();Qp();lae()});function wg(e){YP[e.name]=e}function fB(e){if(!e)return null;let t=e.replace(/^azurecli/,"bash").replace(/^azurepowershell/,"powershell"),o;if(t=t.replace(/^(bash|http|powershell|lab-on-demand|msgraph)(?:-|$)/,(r,s)=>(o=s,"")),o===void 0)return null;let n=YP[o]?YP[o].activateButtonConfig:{name:"unknown",attributes:[],iconClass:""},i={name:o,flags:{isExternal:o==="lab-on-demand",requiresStructuredData:o==="http"},activateButtonConfig:n};return t=t.replace(/(\w+)$/g,(r,s)=>(i.flags[s]=!0,"")),i}function qfe(e){return Array.from(e.childNodes).map(t=>t.nodeName==="CODE"?t.getAttribute("data-interactive-mode"):null).pop()}function hB(e,t){let o=gB[e.name];return o||(o=gB[e.name]=YP[e.name].create()),t.firstElementChild!==o.element&&y(o.element,t),{element:o.element,setCode:(n,i)=>o.setCode(n,i),execute:()=>o.execute(),dispose:()=>{delete gB[e.name],o.dispose()}}}var YP,gB,Cg=cn(()=>{"use strict";A();YP={};gB={}});var Abe=vu((rPt,Ebe)=>{Ebe.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/});var Ibe=vu((sPt,kbe)=>{kbe.exports=/[\0-\x1F\x7F-\x9F]/});var Pbe=vu((aPt,Lbe)=>{Lbe.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/});var Mbe=vu((lPt,Rbe)=>{Rbe.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/});var $be=vu((cPt,Dbe)=>{"use strict";Dbe.exports=function(e){var t={};e=e||{},t.src_Any=Abe().source,t.src_Cc=Ibe().source,t.src_Z=Pbe().source,t.src_P=Mbe().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var o="[><\uFF5C]";return t.src_pseudo_letter="(?:(?!"+o+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+o+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}});var Ube=vu((uPt,qbe)=>{"use strict";function P3(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(o){o&&Object.keys(o).forEach(function(n){e[n]=o[n]})}),e}function yR(e){return Object.prototype.toString.call(e)}function rFe(e){return yR(e)==="[object String]"}function sFe(e){return yR(e)==="[object Object]"}function aFe(e){return yR(e)==="[object RegExp]"}function zbe(e){return yR(e)==="[object Function]"}function lFe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Fbe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function cFe(e){return Object.keys(e||{}).reduce(function(t,o){return t||Fbe.hasOwnProperty(o)},!1)}var uFe={"http:":{validate:function(e,t,o){var n=e.slice(t);return o.re.http||(o.re.http=new RegExp("^\\/\\/"+o.re.src_auth+o.re.src_host_port_strict+o.re.src_path,"i")),o.re.http.test(n)?n.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,o){var n=e.slice(t);return o.re.no_http||(o.re.no_http=new RegExp("^"+o.re.src_auth+"(?:localhost|(?:(?:"+o.re.src_domain+")\\.)+"+o.re.src_domain_root+")"+o.re.src_port+o.re.src_host_terminator+o.re.src_path,"i")),o.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,o){var n=e.slice(t);return o.re.mailto||(o.re.mailto=new RegExp("^"+o.re.src_email_name+"@"+o.re.src_host_strict,"i")),o.re.mailto.test(n)?n.match(o.re.mailto)[0].length:0}}},dFe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",pFe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function mFe(e){e.__index__=-1,e.__text_cache__=""}function gFe(e){return function(t,o){var n=t.slice(o);return e.test(n)?n.match(e)[0].length:0}}function Nbe(){return function(e,t){t.normalize(e)}}function vR(e){var t=e.re=$be()(e.__opts__),o=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||o.push(dFe),o.push(t.src_xn),t.src_tlds=o.join("|");function n(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var i=[];e.__compiled__={};function r(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){var l=e.__schemas__[a];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[a]=c,sFe(l)){aFe(l.validate)?c.validate=gFe(l.validate):zbe(l.validate)?c.validate=l.validate:r(a,l),zbe(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Nbe();return}if(rFe(l)){i.push(a);return}r(a,l)}}),i.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:Nbe()};var s=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(lFe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),mFe(e)}function fFe(e,t){var o=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(o,n);this.schema=e.__schema__.toLowerCase(),this.index=o+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function R3(e,t){var o=new fFe(e,t);return e.__compiled__[o.schema].normalize(o,e),o}function Zr(e,t){if(!(this instanceof Zr))return new Zr(e,t);t||cFe(e)&&(t=e,e={}),this.__opts__=P3({},Fbe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=P3({},uFe,e),this.__compiled__={},this.__tlds__=pFe,this.__tlds_replaced__=!1,this.re={},vR(this)}Zr.prototype.add=function(t,o){return this.__schemas__[t]=o,vR(this),this};Zr.prototype.set=function(t){return this.__opts__=P3(this.__opts__,t),this};Zr.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var o,n,i,r,s,a,l,c,u;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(o=l.exec(t))!==null;)if(r=this.testSchemaAt(t,o[2],l.lastIndex),r){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(i=t.match(this.re.email_fuzzy))!==null&&(s=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=a))),this.__index__>=0};Zr.prototype.pretest=function(t){return this.re.pretest.test(t)};Zr.prototype.testSchemaAt=function(t,o,n){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(t,n,this):0};Zr.prototype.match=function(t){var o=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(R3(this,o)),o=this.__last_index__);for(var i=o?t.slice(o):t;this.test(i);)n.push(R3(this,o)),i=i.slice(this.__last_index__),o+=this.__last_index__;return n.length?n:null};Zr.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var o=this.re.schema_at_start.exec(t);if(!o)return null;var n=this.testSchemaAt(t,o[2],o[0].length);return n?(this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+n,R3(this,0)):null};Zr.prototype.tlds=function(t,o){return t=Array.isArray(t)?t:[t],o?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,i,r){return n!==r[i-1]}).reverse(),vR(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,vR(this),this)};Zr.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Zr.prototype.onCompile=function(){};qbe.exports=Zr});var K3=vu((Y3,W3)=>{(function(e,t){typeof Y3=="object"&&typeof W3<"u"?W3.exports=t():typeof define=="function"&&define.amd?define(t):e.Bottleneck=t()})(Y3,function(){"use strict";var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t($e){return $e&&$e.default||$e}var o=function($e,O,E={}){var Y,ee,oe;for(Y in O)oe=O[Y],E[Y]=(ee=$e[Y])!=null?ee:oe;return E},n=function($e,O,E={}){var Y,ee;for(Y in $e)ee=$e[Y],O[Y]!==void 0&&(E[Y]=ee);return E},i={load:o,overwrite:n},r;r=class{constructor(O,E){this.incr=O,this.decr=E,this._first=null,this._last=null,this.length=0}push(O){var E;this.length++,typeof this.incr=="function"&&this.incr(),E={value:O,prev:this._last,next:null},this._last!=null?(this._last.next=E,this._last=E):this._first=this._last=E}shift(){var O;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),O=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,O}first(){if(this._first!=null)return this._first.value}getArray(){var O,E,Y;for(O=this._first,Y=[];O!=null;)Y.push((E=O,O=O.next,E.value));return Y}forEachShift(O){var E;for(E=this.shift();E!=null;)O(E),E=this.shift()}debug(){var O,E,Y,ee,oe;for(O=this._first,oe=[];O!=null;)oe.push((E=O,O=O.next,{value:E.value,prev:(Y=E.prev)!=null?Y.value:void 0,next:(ee=E.next)!=null?ee.value:void 0}));return oe}};var s=r,a;a=class{constructor(O){if(this.instance=O,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw new Error("An Emitter already exists for this object");this.instance.on=(E,Y)=>this._addListener(E,"many",Y),this.instance.once=(E,Y)=>this._addListener(E,"once",Y),this.instance.removeAllListeners=(E=null)=>E!=null?delete this._events[E]:this._events={}}_addListener(O,E,Y){var ee;return(ee=this._events)[O]==null&&(ee[O]=[]),this._events[O].push({cb:Y,status:E}),this.instance}listenerCount(O){return this._events[O]!=null?this._events[O].length:0}async trigger(O,...E){var Y,ee;try{return O!=="debug"&&this.trigger("debug",`Event triggered: ${O}`,E),this._events[O]==null?void 0:(this._events[O]=this._events[O].filter(function(oe){return oe.status!=="none"}),ee=this._events[O].map(async oe=>{var Te,Fe;if(oe.status!=="none"){oe.status==="once"&&(oe.status="none");try{return Fe=typeof oe.cb=="function"?oe.cb(...E):void 0,typeof Fe?.then=="function"?await Fe:Fe}catch(Yt){return Te=Yt,this.trigger("error",Te),null}}}),(await Promise.all(ee)).find(function(oe){return oe!=null}))}catch(oe){return Y=oe,this.trigger("error",Y),null}}};var l=a,c,u,p;c=s,u=l,p=class{constructor(O){var E;this.Events=new u(this),this._length=0,this._lists=function(){var Y,ee,oe;for(oe=[],E=Y=1,ee=O;1<=ee?Y<=ee:Y>=ee;E=1<=ee?++Y:--Y)oe.push(new c(()=>this.incr(),()=>this.decr()));return oe}.call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(O){return this._lists[O.options.priority].push(O)}queued(O){return O!=null?this._lists[O].length:this._length}shiftAll(O){return this._lists.forEach(function(E){return E.forEachShift(O)})}getFirst(O=this._lists){var E,Y,ee;for(E=0,Y=O.length;E0)return ee;return[]}shiftLastFrom(O){return this.getFirst(this._lists.slice(O).reverse()).shift()}};var m=p,g;g=class extends Error{};var f=g,_,h,x,v,T;v=10,h=5,T=i,_=f,x=class{constructor(O,E,Y,ee,oe,Te,Fe,Yt){this.task=O,this.args=E,this.rejectOnDrop=oe,this.Events=Te,this._states=Fe,this.Promise=Yt,this.options=T.load(Y,ee),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===ee.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((Qn,si)=>{this._resolve=Qn,this._reject=si}),this.retryCount=0}_sanitizePriority(O){var E;return E=~~O!==O?h:O,E<0?0:E>v-1?v-1:E}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:O,message:E="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(O??new _(E)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(O){var E;if(E=this._states.jobStatus(this.options.id),!(E===O||O==="DONE"&&E===null))throw new _(`Invalid job status ${E}, expected ${O}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(O,E){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:O,blocked:E})}doRun(){return this.retryCount===0?(this._assertStatus("QUEUED"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(O,E,Y,ee){var oe,Te,Fe;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),Te={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",Te);try{if(Fe=await(O!=null?O.schedule(this.options,this.task,...this.args):this.task(...this.args)),E())return this.doDone(Te),await ee(this.options,Te),this._assertStatus("DONE"),this._resolve(Fe)}catch(Yt){return oe=Yt,this._onFailure(oe,Te,E,Y,ee)}}doExpire(O,E,Y){var ee,oe;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),oe={args:this.args,options:this.options,retryCount:this.retryCount},ee=new _(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(ee,oe,O,E,Y)}async _onFailure(O,E,Y,ee,oe){var Te,Fe;if(Y())return Te=await this.Events.trigger("failed",O,E),Te!=null?(Fe=~~Te,this.Events.trigger("retry",`Retrying ${this.options.id} after ${Fe} ms`,E),this.retryCount++,ee(Fe)):(this.doDone(E),await oe(this.options,E),this._assertStatus("DONE"),this._reject(O))}doDone(O){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",O)}};var I=x,C,H,F;F=i,C=f,H=class{constructor(O,E,Y){this.instance=O,this.storeOptions=E,this.clientId=this.instance._randomIndex(),F.load(Y,Y,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var O;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(O=this.heartbeat=setInterval(()=>{var E,Y,ee,oe,Te;if(oe=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&oe>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=oe,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&oe>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:E,reservoirIncreaseMaximum:ee,reservoir:Te}=this.storeOptions,this._lastReservoirIncrease=oe,Y=ee!=null?Math.min(E,ee-Te):E,Y>0))return this.storeOptions.reservoir+=Y,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?O.unref():void 0:clearInterval(this.heartbeat)}async __publish__(O){return await this.yieldLoop(),this.instance.Events.trigger("message",O.toString())}async __disconnect__(O){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(O=0){return new this.Promise(function(E,Y){return setTimeout(E,O)})}computePenalty(){var O;return(O=this.storeOptions.penalty)!=null?O:15*this.storeOptions.minTime||5e3}async __updateSettings__(O){return await this.yieldLoop(),F.overwrite(O,O,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(O){return await this.yieldLoop(),this._nextRequest+this.timeout=O}check(O,E){return this.conditionsCheck(O)&&this._nextRequest-E<=0}async __check__(O){var E;return await this.yieldLoop(),E=Date.now(),this.check(O,E)}async __register__(O,E,Y){var ee,oe;return await this.yieldLoop(),ee=Date.now(),this.conditionsCheck(E)?(this._running+=E,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=E),oe=Math.max(this._nextRequest-ee,0),this._nextRequest=ee+oe+this.storeOptions.minTime,{success:!0,wait:oe,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(O,E){var Y,ee,oe;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&E>this.storeOptions.maxConcurrent)throw new C(`Impossible to add a job having a weight of ${E} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return ee=Date.now(),oe=this.storeOptions.highWater!=null&&O===this.storeOptions.highWater&&!this.check(E,ee),Y=this.strategyIsBlock()&&(oe||this.isBlocked(ee)),Y&&(this._unblockTime=ee+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:oe,blocked:Y,strategy:this.storeOptions.strategy}}async __free__(O,E){return await this.yieldLoop(),this._running-=E,this._done+=E,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var ue=H,Ce,ae;Ce=f,ae=class{constructor(O){this.status=O,this._jobs={},this.counts=this.status.map(function(){return 0})}next(O){var E,Y;if(E=this._jobs[O],Y=E+1,E!=null&&Y(O[this.status[Y]]=E,O),{})}};var ht=ae,It,Vt;It=s,Vt=class{constructor(O,E){this.schedule=this.schedule.bind(this),this.name=O,this.Promise=E,this._running=0,this._queue=new It}isEmpty(){return this._queue.length===0}async _tryToRun(){var O,E,Y,ee,oe,Te,Fe;if(this._running<1&&this._queue.length>0)return this._running++,{task:Fe,args:O,resolve:oe,reject:ee}=this._queue.shift(),E=await async function(){try{return Te=await Fe(...O),function(){return oe(Te)}}catch(Yt){return Y=Yt,function(){return ee(Y)}}}(),this._running--,this._tryToRun(),E()}schedule(O,...E){var Y,ee,oe;return oe=ee=null,Y=new this.Promise(function(Te,Fe){return oe=Te,ee=Fe}),this._queue.push({task:O,args:E,resolve:oe,reject:ee}),this._tryToRun(),Y}};var yo=Vt,Ht="2.19.5",ao={version:Ht},Mt=Object.freeze({version:Ht,default:ao}),bt=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Me=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),D=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Q,$,X,pe,L,j;j=i,Q=l,pe=bt,X=Me,L=D,$=function(){class $e{constructor(E={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=E,j.load(this.limiterOptions,this.defaults,this),this.Events=new Q(this),this.instances={},this.Bottleneck=ri,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new pe(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new X(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(E=""){var Y;return(Y=this.instances[E])!=null?Y:(()=>{var ee;return ee=this.instances[E]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${E}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",ee,E),ee})()}async deleteKey(E=""){var Y,ee;return ee=this.instances[E],this.connection&&(Y=await this.connection.__runCommand__(["del",...L.allKeys(`${this.id}-${E}`)])),ee!=null&&(delete this.instances[E],await ee.disconnect()),ee!=null||Y>0}limiters(){var E,Y,ee,oe;Y=this.instances,ee=[];for(E in Y)oe=Y[E],ee.push({key:E,limiter:oe});return ee}keys(){return Object.keys(this.instances)}async clusterKeys(){var E,Y,ee,oe,Te,Fe,Yt,Qn,si;if(this.connection==null)return this.Promise.resolve(this.keys());for(Fe=[],E=null,si=`b_${this.id}-`.length,Y=9;E!==0;)for([Qn,ee]=await this.connection.__runCommand__(["scan",E??0,"match",`b_${this.id}-*_settings`,"count",1e4]),E=~~Qn,oe=0,Yt=ee.length;oe{var Y,ee,oe,Te,Fe,Yt;Fe=Date.now(),oe=this.instances,Te=[];for(ee in oe){Yt=oe[ee];try{await Yt._store.__groupCheck__(Fe)?Te.push(this.deleteKey(ee)):Te.push(void 0)}catch(Qn){Y=Qn,Te.push(Yt.Events.trigger("error",Y))}}return Te},this.timeout/2)).unref=="function"?E.unref():void 0}updateSettings(E={}){if(j.overwrite(E,this.defaults,this),j.overwrite(E,E,this.limiterOptions),E.timeout!=null)return this._startAutoCleanup()}disconnect(E=!0){var Y;if(!this.sharedConnection)return(Y=this.connection)!=null?Y.disconnect(E):void 0}}return $e.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},$e}.call(e);var ie=$,he,Ne,rt;rt=i,Ne=l,he=function(){class $e{constructor(E={}){this.options=E,rt.load(this.options,this.defaults,this),this.Events=new Ne(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((E,Y)=>this._resolve=E)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(E){var Y;return this._arr.push(E),Y=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),Y}}return $e.prototype.defaults={maxTime:null,maxSize:null,Promise},$e}.call(e);var gt=he,lo=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),ln=t(Mt),xo,B,re,me,ye,Ee,Ye,We,Nt,nt,Ot,Ti=[].splice;Ee=10,B=5,Ot=i,Ye=m,me=I,ye=ue,We=lo,re=l,Nt=ht,nt=yo,xo=function(){class $e{constructor(E={},...Y){var ee,oe;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(E,Y),Ot.load(E,this.instanceDefaults,this),this._queues=new Ye(Ee),this._scheduled={},this._states=new Nt(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new re(this),this._submitLock=new nt("submit",this.Promise),this._registerLock=new nt("register",this.Promise),oe=Ot.load(E,this.storeDefaults,{}),this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return ee=Ot.load(E,this.redisStoreDefaults,{}),new We(this,oe,ee);if(this.datastore==="local")return ee=Ot.load(E,this.localStoreDefaults,{}),new ye(this,oe,ee);throw new $e.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}.call(this),this._queues.on("leftzero",()=>{var Te;return(Te=this._store.heartbeat)!=null&&typeof Te.ref=="function"?Te.ref():void 0}),this._queues.on("zero",()=>{var Te;return(Te=this._store.heartbeat)!=null&&typeof Te.unref=="function"?Te.unref():void 0})}_validateOptions(E,Y){if(!(E!=null&&typeof E=="object"&&Y.length===0))throw new $e.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(E){return this._store.__publish__(E)}disconnect(E=!0){return this._store.__disconnect__(E)}chain(E){return this._limiter=E,this}queued(E){return this._queues.queued(E)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(E){return this._states.jobStatus(E)}jobs(E){return this._states.statusJobs(E)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(E=1){return this._store.__check__(E)}_clearGlobalState(E){return this._scheduled[E]!=null?(clearTimeout(this._scheduled[E].expiration),delete this._scheduled[E],!0):!1}async _free(E,Y,ee,oe){var Te,Fe;try{if({running:Fe}=await this._store.__free__(E,ee.weight),this.Events.trigger("debug",`Freed ${ee.id}`,oe),Fe===0&&this.empty())return this.Events.trigger("idle")}catch(Yt){return Te=Yt,this.Events.trigger("error",Te)}}_run(E,Y,ee){var oe,Te,Fe;return Y.doRun(),oe=this._clearGlobalState.bind(this,E),Fe=this._run.bind(this,E,Y),Te=this._free.bind(this,E,Y),this._scheduled[E]={timeout:setTimeout(()=>Y.doExecute(this._limiter,oe,Fe,Te),ee),expiration:Y.options.expiration!=null?setTimeout(function(){return Y.doExpire(oe,Fe,Te)},ee+Y.options.expiration):void 0,job:Y}}_drainOne(E){return this._registerLock.schedule(()=>{var Y,ee,oe,Te,Fe;return this.queued()===0?this.Promise.resolve(null):(Fe=this._queues.getFirst(),{options:Te,args:Y}=oe=Fe.first(),E!=null&&Te.weight>E?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${Te.id}`,{args:Y,options:Te}),ee=this._randomIndex(),this._store.__register__(ee,Te.weight,Te.expiration).then(({success:Yt,wait:Qn,reservoir:si})=>{var Xv;return this.Events.trigger("debug",`Drained ${Te.id}`,{success:Yt,args:Y,options:Te}),Yt?(Fe.shift(),Xv=this.empty(),Xv&&this.Events.trigger("empty"),si===0&&this.Events.trigger("depleted",Xv),this._run(ee,oe,Qn),this.Promise.resolve(Te.weight)):this.Promise.resolve(null)})))})}_drainAll(E,Y=0){return this._drainOne(E).then(ee=>{var oe;return ee!=null?(oe=E!=null?E-ee:E,this._drainAll(oe,Y+ee)):this.Promise.resolve(Y)}).catch(ee=>this.Events.trigger("error",ee))}_dropAllQueued(E){return this._queues.shiftAll(function(Y){return Y.doDrop({message:E})})}stop(E={}){var Y,ee;return E=Ot.load(E,this.stopDefaults),ee=oe=>{var Te;return Te=()=>{var Fe;return Fe=this._states.counts,Fe[0]+Fe[1]+Fe[2]+Fe[3]===oe},new this.Promise((Fe,Yt)=>Te()?Fe():this.on("done",()=>{if(Te())return this.removeAllListeners("done"),Fe()}))},Y=E.dropWaitingJobs?(this._run=function(oe,Te){return Te.doDrop({message:E.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var oe,Te,Fe;Te=this._scheduled;for(oe in Te)Fe=Te[oe],this.jobStatus(Fe.job.options.id)==="RUNNING"&&(clearTimeout(Fe.timeout),clearTimeout(Fe.expiration),Fe.job.doDrop({message:E.dropErrorMessage}));return this._dropAllQueued(E.dropErrorMessage),ee(0)}))):this.schedule({priority:Ee-1,weight:0},()=>ee(1)),this._receive=function(oe){return oe._reject(new $e.prototype.BottleneckError(E.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new $e.prototype.BottleneckError("stop() has already been called")),Y}async _addToQueue(E){var Y,ee,oe,Te,Fe,Yt,Qn;({args:Y,options:Te}=E);try{({reachedHWM:Fe,blocked:ee,strategy:Qn}=await this._store.__submit__(this.queued(),Te.weight))}catch(si){return oe=si,this.Events.trigger("debug",`Could not queue ${Te.id}`,{args:Y,options:Te,error:oe}),E.doDrop({error:oe}),!1}return ee?(E.doDrop(),!0):Fe&&(Yt=Qn===$e.prototype.strategy.LEAK?this._queues.shiftLastFrom(Te.priority):Qn===$e.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(Te.priority+1):Qn===$e.prototype.strategy.OVERFLOW?E:void 0,Yt?.doDrop(),Yt==null||Qn===$e.prototype.strategy.OVERFLOW)?(Yt==null&&E.doDrop(),Fe):(E.doQueue(Fe,ee),this._queues.push(E),await this._drainAll(),Fe)}_receive(E){return this._states.jobStatus(E.options.id)!=null?(E._reject(new $e.prototype.BottleneckError(`A job with the same id already exists (id=${E.options.id})`)),!1):(E.doReceive(),this._submitLock.schedule(this._addToQueue,E))}submit(...E){var Y,ee,oe,Te,Fe,Yt,Qn;return typeof E[0]=="function"?(Fe=E,[ee,...E]=Fe,[Y]=Ti.call(E,-1),Te=Ot.load({},this.jobDefaults)):(Yt=E,[Te,ee,...E]=Yt,[Y]=Ti.call(E,-1),Te=Ot.load(Te,this.jobDefaults)),Qn=(...si)=>new this.Promise(function(Xv,HIe){return ee(...si,function(...L9){return(L9[0]!=null?HIe:Xv)(L9)})}),oe=new me(Qn,E,Te,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),oe.promise.then(function(si){return typeof Y=="function"?Y(...si):void 0}).catch(function(si){return Array.isArray(si)?typeof Y=="function"?Y(...si):void 0:typeof Y=="function"?Y(si):void 0}),this._receive(oe)}schedule(...E){var Y,ee,oe;return typeof E[0]=="function"?([oe,...E]=E,ee={}):[ee,oe,...E]=E,Y=new me(oe,E,ee,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(Y),Y.promise}wrap(E){var Y,ee;return Y=this.schedule.bind(this),ee=function(...oe){return Y(E.bind(this),...oe)},ee.withOptions=function(oe,...Te){return Y(oe,E,...Te)},ee}async updateSettings(E={}){return await this._store.__updateSettings__(Ot.overwrite(E,this.storeDefaults)),Ot.overwrite(E,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(E=0){return this._store.__incrementReservoir__(E)}}return $e.default=$e,$e.Events=re,$e.version=$e.prototype.version=ln.version,$e.strategy=$e.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},$e.BottleneckError=$e.prototype.BottleneckError=f,$e.Group=$e.prototype.Group=ie,$e.RedisConnection=$e.prototype.RedisConnection=bt,$e.IORedisConnection=$e.prototype.IORedisConnection=Me,$e.Batcher=$e.prototype.Batcher=gt,$e.prototype.jobDefaults={priority:B,weight:1,expiration:null,id:""},$e.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:$e.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},$e.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},$e.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},$e.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},$e.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},$e}.call(e);var ri=xo,yp=ri;return yp})});var J_e=vu((PDt,WS)=>{"use strict";var NR=function(){};NR.prototype=Object.create(null);var $R=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,zR=/\\([\v\u0020-\u00ff])/gu,Y_e=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,zg={type:"",parameters:new NR};Object.freeze(zg.parameters);Object.freeze(zg);function W_e(e){if(typeof e!="string")throw new TypeError("argument header is required and must be a string");let t=e.indexOf(";"),o=t!==-1?e.slice(0,t).trim():e.trim();if(Y_e.test(o)===!1)throw new TypeError("invalid media type");let n={type:o.toLowerCase(),parameters:new NR};if(t===-1)return n;let i,r,s;for($R.lastIndex=t;r=$R.exec(e);){if(r.index!==t)throw new TypeError("invalid parameter format");t+=r[0].length,i=r[1].toLowerCase(),s=r[2],s[0]==='"'&&(s=s.slice(1,s.length-1),zR.test(s)&&(s=s.replace(zR,"$1"))),n.parameters[i]=s}if(t!==e.length)throw new TypeError("invalid parameter format");return n}function K_e(e){if(typeof e!="string")return zg;let t=e.indexOf(";"),o=t!==-1?e.slice(0,t).trim():e.trim();if(Y_e.test(o)===!1)return zg;let n={type:o.toLowerCase(),parameters:new NR};if(t===-1)return n;let i,r,s;for($R.lastIndex=t;r=$R.exec(e);){if(r.index!==t)return zg;t+=r[0].length,i=r[1].toLowerCase(),s=r[2],s[0]==='"'&&(s=s.slice(1,s.length-1),zR.test(s)&&(s=s.replace(zR,"$1"))),n.parameters[i]=s}return t!==e.length?zg:n}WS.exports.default={parse:W_e,safeParse:K_e};WS.exports.parse=W_e;WS.exports.safeParse=K_e;WS.exports.defaultContentType=zg});function M9(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&WIe(o)})}function WIe(e){let t=e.getAttribute("data-dismiss-animation");if(t)switch(e.addEventListener("animationend",()=>{e.remove()}),t){case"slide-up":e.classList.add("animation-slide-up");break;case"fade":e.classList.add("animation-fade");break}else e.remove();window.dispatchEvent(new CustomEvent("dismiss-content-update"))}function ty(e=document.body){e.addEventListener("toggle",t=>{let o=t.target instanceof Element&&t.target.closest("details.popover")||t.target instanceof Element&&t.target.shadowRoot?.activeElement?.closest("details.popover");if(!o)return;let n=o.querySelector(".popover-content");if(!n)return;if(!o.open){n.style.visibility="hidden";return}requestAnimationFrame(()=>{$9(o),n.offsetHeight});let i=()=>{o.open&&$9(o)},r=c=>{c.key==="Escape"&&l()},s=c=>{c.target instanceof Element&&(o?.contains(c.target)||l(),c.type==="click"&&c.target.closest("[data-popover-close]")&&l())},a=()=>{document.activeElement?.nodeName?.toLowerCase()==="iframe"&&l()},l=()=>{e.removeEventListener("focus",s,!0),e.removeEventListener("click",s),e.removeEventListener("touchstart",s),e.removeEventListener("keydown",r),window.removeEventListener("blur",a),window.removeEventListener("resize",i),o?.open&&(o.removeAttribute("open"),n.style.visibility="hidden")};e.addEventListener("focus",s,!0),e.addEventListener("click",s),e.addEventListener("touchstart",s),e.addEventListener("keydown",r),window.addEventListener("blur",a),window.addEventListener("resize",i)},!0)}var D9=24,n$=8;function KIe(e){return window.getComputedStyle(e).direction==="rtl"}function JIe(e,t,o){let n=o.getBoundingClientRect(),i=window.innerHeight-n.bottom,r=n.top,s=e.classList.contains("popover-top"),a=e.classList.contains("popover-bottom"),l=t.offsetHeight,c=a||!s&&(l+n$>r||i>=l||i>=r),u=e.classList.contains("popover-caret");u&&e.classList.remove("popover-caret-bottom");let p=0;c?p=o.offsetTop+o.offsetHeight+n$:(p=o.offsetTop-t.offsetHeight-n$,u&&e.classList.add("popover-caret-bottom")),t.style.top=`${p}px`}function ZIe(e,t,o,n){let i=t.offsetWidth,r=o.offsetWidth,s=window.innerWidth,l=t.offsetParent.getBoundingClientRect(),c=o.offsetLeft,u=c+r,p,m=e.classList.contains("popover-left"),g=e.classList.contains("popover-right");if(m)p=n?u-i:c;else if(g)p=n?c:u-i;else{p=c+r/2-i/2;let f=l.left+p,_=f+i;fs-D9&&(p=u-i)}return n?(t.style.setProperty("left",`${p}px`),t.style.setProperty("right","auto")):t.style.setProperty("inset-inline-start",`${p}px`),p}function XIe(e,t,o,n){let i=e.offsetWidth,r=t.offsetWidth,a=t.offsetLeft+r/2,l;n?l=100-(a-o+4)/i*100:l=(a-o-4)/i*100;let c=Math.min(Math.max(l,10),90);e.style.setProperty("--caret-left",`${c}%`)}function $9(e){let t=e.querySelector(".popover-content"),o=e.querySelector("summary");if(!t||!o)return;t.style.top="",t.style.left="",t.style.right="",t.style.setProperty("inset-inline-start","");let n=KIe(e);JIe(e,t,o);let i=ZIe(e,t,o,n);e.classList.contains("popover-caret")&&XIe(t,o,i,n),t.style.visibility="visible"}var i$=!1;function z9(){tLe();let e=Array.from(document.querySelectorAll("[data-snap-scroll]"));for(let t of e)eLe(t)}function eLe(e){let t=e.querySelector("[data-snap-scroll-slides]");if(!t)throw new Error('Your snap scroll element must contain a scrollable element with "data-snap-scroll-slides" attribute.');let o=Array.from(t.querySelectorAll("[data-snap-scroll-slide]")),n={root:t,rootMargin:"0px",threshold:.8},i=new IntersectionObserver(r=>{if(!i$&&r[0].isIntersecting===!0){let s=r[0].target.getAttribute("data-snap-scroll-slide");if(!s)throw new Error("The [data-snap-scroll-slide] clicked does not correspond to a [data-snap-scroll-nav-item]");let a=e.querySelector(`[data-snap-scroll-nav-item="${s}"]`);if(!a)throw new Error("Anchor missing from snap scroll container");N9(e,a)}},n);o.forEach(r=>i.observe(r))}function tLe(){window.addEventListener("click",e=>{let t=e.target instanceof Element&&e.target.closest("[data-snap-scroll-nav-item]");if(!t)return;let o=t.closest("[data-snap-scroll]");if(!o)return;let n=t.dataset.snapScrollNavItem;if(!n)throw new Error('You need to add a value to the parent of your snap scroll: [data-snap-scroll="id-goes-here")');i$=!0,e.preventDefault();let i=o.querySelector(`[data-snap-scroll-slide="${n}"]`);N9(o,t),i.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),setTimeout(()=>i$=!1,500)})}function N9(e,t){let o=Array.from(e.querySelectorAll("[data-snap-scroll-nav-item]"));for(let n of o)n.classList.remove("is-current");t.classList.add("is-current")}var oLe=0;function Tp(){return`bx-${oLe++}`}function F9(e){return e.replace(/-./g,t=>t[1].toUpperCase())}var q9={contentHasChanged:"Content has changed, please reload the page to get the latest changes.",inputGroupRequired:"At least one selection for {inputGroup} is required.",inputMaxLength:"{inputLabel} cannot be longer than {maxLength} characters.",inputMinLength:"{inputLabel} must be at least {minLength} characters.",inputRequired:"{inputLabel} is required.",notAuthenticated:"You are not authenticated. Please refresh the page and try again. If this issue persists, please log out and log back in.",notAuthorized:"You are not authorized to make this response. If you believe this to be in error, please refresh the page and try again.",pleaseFixTheFollowingIssues:"Please fix the following issues to continue:",thereAreNoEditsToSubmit:"There are no edits to submit.",tooManyRequests:"You have sent too many requests. Please wait a few minutes and try again.",weEncounteredAnUnexpectedError:"We encountered an unexpected error. Please try again later. If this issue continues, please contact site support."},xC=class extends HTMLElement{constructor(){super();Wt(this,"submitting",!1);Wt(this,"initialData",new FormData);Wt(this,"toDispose",[]);Wt(this,"isDirty",!1);Wt(this,"commitTimeout",0);Wt(this,"locStrings",q9);Wt(this,"validators",[this.validateMinLength.bind(this),this.validateRequired.bind(this),this.validateMaxLength.bind(this)]);Wt(this,"commit",o=>{!H9(o.target,this.form)||!o.target?.form||o.target?.form!==this.parentElement||(clearTimeout(this.commitTimeout),o.type==="change"&&nLe(o.target),this.setDirty())});this.locStrings=this.locStrings}get canSave(){return this.isDirty||this.isNew}get form(){return this.closest("form")}get hideUnloadMessage(){return this.hasAttribute("nounload")}get isNew(){return this.hasAttribute("new")}get noSubmit(){return this.hasAttribute("nosubmit")}connectedCallback(){let o=this.parentElement;if(!(o instanceof HTMLFormElement))return;this.locStrings=this.getLocaleStrings(),o.setAttribute("novalidate","");let n=document.createElement("div");n.setAttribute("data-form-error-container",""),o.hasAttribute("data-hide-validation-banner")&&(n.hidden=!0),this.insertAdjacentElement("afterend",n),this.initialData=new FormData(o),this.ownerDocument.readyState==="loading"&&this.ownerDocument.addEventListener("readystatechange",()=>this.initialData=new FormData(o)),this.subscribe(o,"input",this),this.subscribe(o,"change",this),this.subscribe(o,"submit",this),this.subscribe(window,"beforeunload",this)}disconnectedCallback(){for(let o of this.toDispose)o()}getLocaleStrings(){let o=Array.from(this.attributes).filter(n=>n.name.startsWith("loc-")).reduce((n,i)=>(n[F9(i.name.substring(4))]=i.value,n),{});return Object.assign({},q9,o)}subscribe(o,n,i){o.addEventListener(n,i),this.toDispose.push(()=>o.removeEventListener(n,i))}setDirty(){let o=new URLSearchParams(this.initialData).toString(),n=new URLSearchParams(new FormData(this.parentElement)).toString();this.isDirty=n!==o}handleEvent(o){switch(o.type){case"submit":this.handleSubmitEvent(o);break;case"beforeunload":this.handleUnloadEvent(o);break;case"input":this.clearValidationErrors(o.target),this.scheduleCommit(o);break;case"change":this.clearValidationErrors(o.target),this.commit(o);break;default:throw new Error(`Unexpected event ${o.type}.`)}}navigate(o){return rLe(o,this.getAttribute("navigation"))}scheduleCommit(o){clearTimeout(this.commitTimeout),setTimeout(this.commit,300,o)}async handleUnloadEvent(o){this.setDirty(),!(!this.isDirty||this.hideUnloadMessage)&&(o.preventDefault(),o.returnValue="You have unsaved work.")}async handleSubmitEvent(o){if(o.preventDefault(),this.submitting)return;let n=o.currentTarget;if(!this.canSave){this.showNoChangesMessage(n);let r=new CustomEvent("form-validating",{detail:{form:n},bubbles:!0});this.dispatchEvent(r);return}let i=!1;try{if(this.submitting=!0,U9(o,n,this.submitting),!(await this.validateForm(n)).valid||this.noSubmit)return;let s=aLe(o)??n.action,a=new URL(s).searchParams,l=new FormData(n),c=new Headers;c.set("content-type","applicationhttps://www.microsoft.com/json");for(let{name:h,value:x}of this.attributes)h.startsWith("header-")&&c.set(h.substring(7),x);let p={method:a.get("_method")||n.method||"GET",body:JSON.stringify(Object.fromEntries(l)),headers:c},m=new CustomEvent("beforesubmit",{detail:{url:s,init:p,form:n,callback:async()=>{}},bubbles:!0,cancelable:!0}),g=!this.dispatchEvent(m);if(m.detail.callback)try{await m.detail.callback()}catch{return}if(g)return;let f=new Request(m.detail.url,m.detail.init),_=await fetch(f);if(_.ok)this.removeAttribute("new"),this.initialData=l,this.setDirty(),this.dispatchEvent(new CustomEvent("aftersubmit",{detail:{request:f,response:_},bubbles:!0})),i=this.navigate(_.headers.get("location")??this.getAttribute("navigation-href"));else{let{errorAlert:h,errorList:x}=this.getErrorAlert(n),v=document.createElement("li");v.innerText=this.locStrings.weEncounteredAnUnexpectedError,_.status===401&&(v.innerText=this.locStrings.notAuthenticated),_.status===403&&(v.innerText=this.locStrings.notAuthorized),_.status===412&&(v.innerText=this.locStrings.contentHasChanged),_.status===429&&(v.innerText=this.locStrings.tooManyRequests),this.dispatchEvent(new CustomEvent("submission-error",{detail:{form:n,request:f,response:_},bubbles:!0})),x.appendChild(v),h.hidden=!1,h.focus()}}finally{this.submitting=i,U9(o,n,this.submitting)}}createErrorAlert(o){let n=o.querySelector("[data-form-error-container]")||o,i=Tp(),r=document.createElement("div");r.className="help help-danger background-color-danger-light border border-color-danger border-radius padding-xs margin-bottom-sm",r.setAttribute("data-form-error-alert",""),r.setAttribute("role","alert"),r.setAttribute("aria-labelledby",i),r.setAttribute("tabindex","-1"),r.hidden=!0;let s=document.createElement("p");s.id=i,s.className="font-size-md font-weight-semibold margin-bottom-xs display-inline-flex",s.innerText=this.locStrings.pleaseFixTheFollowingIssues;let a=document.createElement("ul");return a.setAttribute("aria-label","Validation errors"),a.classList.add("margin-left-sm-tablet"),r.append(s,a),n.appendChild(r),{errorAlert:r,errorList:a}}getErrorAlert(o){let n=o.querySelector("[data-form-error-alert]");return n?{errorAlert:n,errorList:n.lastElementChild}:this.createErrorAlert(o)}validateRequired(o,n){return o.validity.valueMissing?this.locStrings.inputRequired.replace("{inputLabel}",customElements.get(o.localName)||o.type==="radio"?`A selection for "${n}"`:n):null}validateMinLength(o,n){return(o instanceof HTMLTextAreaElement||o instanceof HTMLInputElement)&&(o.validity.tooShort||o.minLength>0&&o.value.length0&&o.value.length>o.maxLength)?this.locStrings.inputMaxLength.replace("{inputLabel}",n).replace("{maxLength}",o.maxLength.toString()):null}async validateForm(o,n=!0,i=o){let r=[],{errorAlert:s,errorList:a}=this.getErrorAlert(o);(n||o.hasAttribute("data-hide-validation-banner"))&&(s.hidden=!0,a.innerHTML="");let l=sLe(o);for(let c of[...o.elements,...l]){if(!i.contains(c)||!r$(c,o))continue;if(c.type==="radio"){let m=o.querySelectorAll(`input[name="${c.name}"]`);if(m.length>1&&m[0]!==c)continue}if(c.hasAttribute("aria-hidden")===!0||c.getAttribute("role")==="combobox"||c.closest("docs-markdown-editor"))continue;if(c.hasAttribute("data-skip-validation")){let m=new CustomEvent("form-validating",{detail:{errors:r,form:o},bubbles:!0});this.dispatchEvent(m);continue}let u=!!l.find(m=>m===c);this.runBasicValidation(c,n,r,a,u);let p=new CustomEvent("form-validating",{detail:{errors:r,form:o},bubbles:!0});this.dispatchEvent(p)}return r.length===0?{valid:!0}:(n&&(s.hidden=!1,s.focus()),{valid:!1,errors:r})}clearValidationErrors(o){if(!r$(o,this.form))return;if(O9(o),Ui(o,""),ai(o).classList.remove("errored"),o.form){let{errorAlert:i,errorList:r}=this.getErrorAlert(o.form);r.querySelectorAll(`a[href="http://approjects.co.za/?big=#${o.id}"]`).forEach(s=>s.parentElement?.remove()),r.querySelector("#no-edits-error")?.remove(),r.firstElementChild||(i.hidden=!0)}let n=new CustomEvent("clear-validation-errors",{detail:{target:o},bubbles:!0});this.dispatchEvent(n)}showNoChangesMessage(o){let{errorAlert:n,errorList:i}=this.getErrorAlert(o);if(i.childElementCount>0){for(;i.firstChild;)i.lastChild?.remove();i.querySelector("#no-edits-error")?.remove()}let r=document.createElement("li");r.id="no-edits-error",r.innerText=this.locStrings.thereAreNoEditsToSubmit,i.appendChild(r),n.hidden=!1,n.focus()}runBasicValidation(o,n=!0,i,r,s){if(!r$(o,this.form))return;let a=s$(o),l=ai(o);for(let c of this.validators){let u=c(o,a);if(!u){s||O9(o);continue}if(i.push({input:o,message:u}),n){if(!o.id)continue;Ui(o,u),l.classList.add("errored");let p=document.createElement("li");p.classList.add("margin-bottom-xs");let m=document.createElement("a");m.href=`#${o.id}`,m.textContent=u,m.classList.add("help","help-danger"),m.addEventListener("click",g=>{if(s){let f=g.target.getAttribute("href");f&&document.querySelector(f).focus()}}),p.appendChild(m),r.appendChild(p),s||(o.type==="checkbox"?o.closest("label.checkbox")?.classList.add("is-invalid"):o.type==="radio"?o.closest("label.radio")?.classList.add("is-invalid"):o.classList.add(`${o.localName}-danger`))}break}}};window.customElements.get("form-behavior")||(window.FormBehaviorElement=xC,window.customElements.define("form-behavior",xC));function H9(e,t){let o=e;return o?o instanceof HTMLElement&&"form"in o&&o.form===t&&"validity"in o&&o.validity instanceof ValidityState&&"value"in o&&typeof o.value=="string"&&"type"in o&&typeof o.type=="string"&&!["button","submit"].includes(o.type):!1}function nLe(e){(e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement&&(e.type==="text"||e.type==="email"))&&(e.value=e.value.trim())}function U9(e,t,o){let n=e.submitter;Array.from(t.elements).forEach(i=>{i instanceof HTMLButtonElement&&i.type==="submit"&&(n&&n===i?i.classList.toggle("is-loading",o):i.disabled=o)})}function s$(e){let t=null;if(e.type==="radio"){let n=ai(e).querySelector(".field-label");n?t=n.textContent:t=e.getAttribute("aria-label")}else e.labels?.length?t=e.labels[0].textContent:t=e.getAttribute("aria-label");if(!t)throw new Error(`${e.nodeName} name="${e.name}" id="${e.id}" has no associated label.`);return t.trim()}function ai(e){let t=e.closest(".field");if(!t)throw new Error(`${e.nodeName} name="${e.name}" id="${e.id}" is not within a .field`);return t}function hf(e){let t=e.closest(".field-body");if(!t)throw new Error(`${e.nodeName} name="${e.name}" id="${e.id}" is not within a .field-body`);return t}function iLe(e){let t=document.createElement("p");return t.id=Tp(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("field-error"),t.setAttribute("data-field-error",""),hf(e).after(t),t}function Ui(e,t){let n=ai(e).querySelector("[data-field-error]")||iLe(e);n.textContent=t}function r$(e,t){return H9(e,t)&&e.type!=="hidden"}function rLe(e,t){switch(t){case null:return!1;case"follow":return e?(location.href=e,!0):!1;case"hash-reload":if(e){let o=e.includes("?")?"":window.location.search;if(e!==o+window.location.hash){let n=history.state||{};window.history.pushState(n,document.title,window.location.pathname+o+e)}return location.reload(),!0}return!1;case"replace":return e?(location.replace(e),!0):!1;case"reload":return location.reload(),!0;default:throw new Error("Unexpected navigation attribute value.")}}function sLe(e){let t=Object.fromEntries(new FormData(e)),o=[];return Object.keys(t).filter(i=>!e.elements.namedItem(i)).forEach(i=>{let r=e.querySelector(`[name="${i}"]`);r&&o.push(r)}),o}function O9(e){e.type==="checkbox"?e.closest("label.checkbox")?.classList.remove("is-invalid"):e.classList.remove(`${e.localName}-danger`)}function aLe(e){let t=e.submitter;return t instanceof HTMLButtonElement&&t.formAction!==window.location.href?t.formAction:null}var B9=globalThis.HTMLElement||null,Sp="assign"in(globalThis.HTMLSlotElement?.prototype||{})?(e,...t)=>{e.assign(...t)}:(e,...t)=>{let o=e.getRootNode().host;for(let n of o.querySelectorAll(`[slot="${e.name}"]`))n.removeAttribute("slot");for(let n of t)n.setAttribute("slot",e.name)},ny,iy,ry,SC=class extends Event{constructor(o,{tabIndex:n,tab:i,panel:r,...s}){super(o,s);eo(this,ny,null);eo(this,iy,null);eo(this,ry,null);At(this,ry,i||null),At(this,ny,n||null),At(this,iy,r||null)}get tabIndex(){return Ae(this,ny)}get panel(){return Ae(this,iy)}get tab(){return Ae(this,ry)}};ny=new WeakMap,iy=new WeakMap,ry=new WeakMap;var wp,Cp,st,bf,V9,oy,G9,Q9,j9,TC,a$,yu,Ep,Ap,Y9,W9,l$,K9,J9,_f=class extends B9{constructor(){super(...arguments);eo(this,st);eo(this,wp,null);eo(this,Cp,null);eo(this,Ep,!1);eo(this,Ap)}static define(o="tab-container",n=customElements){return n.define(o,this),this}get onChange(){return this.onTabContainerChange}set onChange(o){this.onTabContainerChange=o}get onTabContainerChange(){return Ae(this,wp)}set onTabContainerChange(o){Ae(this,wp)&&this.removeEventListener("tab-container-change",Ae(this,wp)),At(this,wp,typeof o=="object"||typeof o=="function"?o:null),typeof o=="function"&&this.addEventListener("tab-container-change",o)}get onTabContainerChanged(){return Ae(this,Cp)}set onTabContainerChanged(o){Ae(this,Cp)&&this.removeEventListener("tab-container-changed",Ae(this,Cp)),At(this,Cp,typeof o=="object"||typeof o=="function"?o:null),typeof o=="function"&&this.addEventListener("tab-container-changed",o)}get onChanged(){return this.onTabContainerChanged}set onChanged(o){this.onTabContainerChanged=o}get activeTab(){return Ae(this,st,yu)[this.selectedTabIndex]}get activePanel(){return Ae(this,st,a$).assignedNodes()[0]}get vertical(){return Ae(this,st,bf)?.getAttribute("aria-orientation")==="vertical"}set vertical(o){let n=Ae(this,st,bf);n&&o?n.setAttribute("aria-orientation","vertical"):n.setAttribute("aria-orientation","horizontal")}connectedCallback(){Ae(this,Ap)||At(this,Ap,this.attachInternals?this.attachInternals():null);let o=this.shadowRoot||this.attachShadow({mode:"open",slotAssignment:"manual"}),n=document.createElement("slot");n.style.display="flex",n.setAttribute("part","tablist-wrapper"),n.setAttribute("name","tablist-wrapper");let i=document.createElement("div");i.setAttribute("part","tablist-tab-wrapper"),i.setAttribute("name","tablist-tab-wrapper");let r=document.createElement("slot");r.setAttribute("part","tablist"),r.setAttribute("name","tablist"),i.append(r);let s=document.createElement("slot");s.setAttribute("part","panel"),s.setAttribute("name","panel");let a=document.createElement("slot");a.setAttribute("part","before-tabs"),a.setAttribute("name","before-tabs");let l=document.createElement("slot");l.setAttribute("part","after-tabs"),l.setAttribute("name","after-tabs"),n.append(a,i,l);let c=document.createElement("slot");c.setAttribute("part","after-panels"),c.setAttribute("name","after-panels"),o.replaceChildren(n,s,c),Ae(this,Ap)&&"role"in Ae(this,Ap)?Ae(this,Ap).role="presentation":this.setAttribute("role","presentation"),this.addEventListener("keydown",this),this.addEventListener("click",this),this.selectTab(-1),this.addEventListener("tab-container-change",xp(this,st,K9)),this.addEventListener("click",xp(this,st,J9)),At(this,Ep,!0)}attributeChangedCallback(o){!this.isConnected||!this.shadowRoot||o==="vertical"&&(this.vertical=this.hasAttribute("vertical"))}handleEvent(o){if(o.type==="click")return xp(this,st,W9).call(this,o);if(o.type==="keydown")return xp(this,st,Y9).call(this,o)}get selectedTabIndex(){return Ae(this,st,yu).findIndex(o=>o.matches("[aria-selected=true]"))}set selectedTabIndex(o){this.selectTab(o)}get defaultTabIndex(){return Number(this.getAttribute("default-tab")||-1)}set defaultTabIndex(o){this.setAttribute("default-tab",String(o))}selectTab(o){if(!Ae(this,Ep)){let a=Ae(this,st,TC),l=Ae(this,st,V9),c=this.querySelector("[role=tablist]"),u=this.querySelector("[slot=tablist-wrapper]");u&&u.closest(this.tagName)===this?Sp(l,u):c&&c.closest(this.tagName)===this?Sp(a,c):(Ae(this,st,oy).role="tablist",Sp(a,...[...this.children].filter(_=>_.matches("[role=tab]"))));let p=Ae(this,st,bf);if(xp(this,st,l$).call(this,"aria-description",p),xp(this,st,l$).call(this,"aria-label",p),this.vertical&&Ae(this,st,bf).setAttribute("aria-orientation","vertical"),!(this.querySelector("[slot=tablist-wrapper]")?.closest(this.tagName)===this)){let _=[],h=[],x=[],v=_;for(let T of this.children){if(T.getAttribute("role")==="tab"||T.getAttribute("role")==="tablist"){v=h;continue}if(T.getAttribute("role")==="tabpanel"){v=x;continue}T.getAttribute("slot")==="before-tabs"?_.push(T):T.getAttribute("slot")==="after-tabs"?h.push(T):v.push(T)}Sp(Ae(this,st,G9),..._),Sp(Ae(this,st,Q9),...h),Sp(Ae(this,st,j9),...x)}let g=this.defaultTabIndex,f=g>=0?g:this.selectedTabIndex;o=o>=0?o:Math.max(0,f)}let n=Ae(this,st,yu),i=Array.from(this.querySelectorAll('[role="tabpanel"]')).filter(a=>a.closest(this.tagName)===this);if(o>n.length-1)throw new RangeError(`Index "${o}" out of bounds`);let r=n[o],s=i[o];if(!(Ae(this,Ep)&&!this.dispatchEvent(new SC("tab-container-change",{tabIndex:o,bubbles:!0,cancelable:!0,tab:r,panel:s})))){for(let a of n)a.setAttribute("aria-selected","false"),a.setAttribute("tabindex","-1");for(let a of i)!a.hasAttribute("tabindex")&&!a.hasAttribute("data-tab-container-no-tabstop")&&a.setAttribute("tabindex","0");r.setAttribute("aria-selected","true"),r.setAttribute("tabindex","0"),Sp(Ae(this,st,a$),s),s.hidden=!1,Ae(this,Ep)&&(r.focus(),this.dispatchEvent(new SC("tab-container-changed",{tabIndex:o,bubbles:!0,tab:r,panel:s})))}}};wp=new WeakMap,Cp=new WeakMap,st=new WeakSet,bf=function(){let o=this.querySelector("[slot=tablist-wrapper]");if(o?.closest(this.tagName)===this)return o.querySelector("[role=tablist]");let n=Ae(this,st,TC);return Ae(this,st,oy).hasAttribute("role")?Ae(this,st,oy):n.assignedNodes()[0]},V9=function(){return this.shadowRoot.querySelector('slot[part="tablist-wrapper"]')},oy=function(){return this.shadowRoot.querySelector('div[part="tablist-tab-wrapper"]')},G9=function(){return this.shadowRoot.querySelector('slot[part="before-tabs"]')},Q9=function(){return this.shadowRoot.querySelector('slot[part="after-tabs"]')},j9=function(){return this.shadowRoot.querySelector('slot[part="after-panels"]')},TC=function(){return this.shadowRoot.querySelector('slot[part="tablist"]')},a$=function(){return this.shadowRoot.querySelector('slot[part="panel"]')},yu=function(){return Ae(this,st,oy).matches("[role=tablist]")?Ae(this,st,TC).assignedNodes():Array.from(Ae(this,st,bf)?.querySelectorAll('[role="tab"]')||[]).filter(o=>o instanceof B9&&o.closest(this.tagName)===this)},Ep=new WeakMap,Ap=new WeakMap,Y9=function(o){let n=o.target?.closest?.('[role="tab"]');if(!n)return;let i=Ae(this,st,yu);if(!i.includes(n))return;let r=this.selectedTabIndex,s=n.closest('[role="tablist"]')?.getAttribute("aria-orientation")==="vertical",a=o.code==="ArrowLeft"||s&&o.code==="ArrowUp";if(o.code==="ArrowRight"||s&&o.code==="ArrowDown"){let c=r+1;c>=i.length&&(c=0),this.selectTab(c)}else if(a){let c=r-1;c<0&&(c=i.length-1),this.selectTab(c)}else o.code==="Home"?(this.selectTab(0),o.preventDefault()):o.code==="End"&&(this.selectTab(i.length-1),o.preventDefault())},W9=function(o){let n=o.target?.closest?.("[role=tab]");if(!n)return;let r=Ae(this,st,yu).indexOf(n);r>=0&&this.selectTab(r)},l$=function(o,n){this.hasAttribute(o)&&(n.setAttribute(o,this.getAttribute(o)),this.removeAttribute(o))},K9=function(o){let{tab:n}=o;n&&n.scrollIntoView({behavior:"auto",block:"nearest",inline:"center"})},J9=function(o){let n=o.target instanceof Element&&o.target.closest("[data-tab-container-nav]");if(!n)return;let i=(n.dataset.tabContainerNav==="next"||n.dataset.tabContainerNav==="previous")&&n.dataset.tabContainerNav;if(!i)throw new Error('Supported values of [data-tab-container-nav] are "previous" and "next"');let r=this.selectedTabIndex;if(i==="next"){let s=r+1;s>=Ae(this,st,yu).length&&(s=0),this.selectTab(s)}else{let s=r-1;s<0&&(s=Ae(this,st,yu).length-1),this.selectTab(s)}},Wt(_f,"observedAttributes",["vertical"]);var Z9=typeof globalThis<"u"?globalThis:window;try{Z9.TabContainerElement=_f.define()}catch(e){if(!(Z9.DOMException&&e instanceof DOMException&&e.name==="NotSupportedError")&&!(e instanceof ReferenceError))throw e}var vf=document.documentElement,lLe=()=>{let e=document.querySelector(".layout-body-header"),t=e?.clientHeight||0,o=t?`${t}px`:"0px",n=e?.getBoundingClientRect().y||0,r=`${Math.max(0,n+t)}px`,s=document.querySelector(".layout-body-footer"),a=s?.clientHeight||0,l=a?`${a}px`:"0px",c=s?.getBoundingClientRect().y||0,p=`${c{window.dispatchEvent(new CustomEvent("atlas-layout-change-event"))};function eV(){window.addEventListener("atlas-layout-change-event",()=>{cLe(lLe)}),window.addEventListener("resize",Ya,{passive:!0}),vf.style.setProperty("--window-inner-height",`${window.innerHeight}px`),window.addEventListener("DOMContentLoaded",Ya),window.addEventListener("scroll",Ya,{passive:!0})}var tV="Hai eseguito l'accesso con un account associato a un'organizzazione ({email}). Se diventi un membro, dichiari di comprendere e accettare che la tua appartenenza a Microsoft Learn comporta la registrazione e la verifica dei tuoi obiettivi e delle tue attivit\xE0 da parte della nostra rete di siti e di applicazioni e che i tuoi risultati e le tue attivit\xE0 potrebbero essere condivisi con l'organizzazione. Il tuo nome utente, il tuo nome visualizzato, l'immagine del profilo, le tue affiliazioni, i tuoi obiettivi e le tue attivit\xE0 saranno inoltre visibili pubblicamente. Puoi nascondere le attestazioni digitali e le attivit\xE0 in Impostazioni.

Dopo aver creato il profilo, ti consigliamo di collegare un account personale in modo da poter accedere all'avanzamento dell'apprendimento indipendentemente dal tuo stato lavorativo. Puoi collegare account aggiuntivi nella sezione Gestione account delle impostazioni del profilo.";var c$="Accetta";var rc="Aggiungi",oV="Aggiungi sezione",nV="Aggiungere URL",wC="Aggiunta";var sy="Informazioni aggiuntive";var CC="Aggiungere contenuto";var iV="Errore durante il recupero del repository e del percorso del contenuto di GitHub";var rV="Il token GitHub \xE8 scaduto. \xC8 necessario aggiornare le autorizzazioni del token GitHub facendo clic sul pulsante seguente.";var sV=`Si sta cercando un'esperienza di modifica RTF pi\xF9 semplice? Informazioni su Microsoft Learn Editor!`;var aV="Suggerire modifiche in {name}",lV=`Grazie per l'interesse dimostrato a fornire il proprio contributo a Microsoft Learn. Fare clic su Modifica per aprire questo articolo in {name}. Per altre informazioni, vedere Contribuire.`;var cV="Riautorizzare il token GitHub con autorizzazioni pi\xF9 recenti";var uV="Ricomincia";var dV="MVP",pV="Dipendente Microsoft",mV="Personale Esterno Microsoft";var gV="Dipendente interno Microsoft";var fV="Microsoft Regional Director",hV="Student Ambassador",yf="Ordine alfabetico (A-Z)",xf="Ordine alfabetico (Z-A)",u$="Analisi";var d$="{AppliedSkills}",p$="{AppliedSkills} completata";var bV="Domanda posta alle ore {time}";var m$="Attivit\xE0 cardine";var _V="un giorno fa";var vV="Aggiungi parametro",yV="Avanzato";var ea="Tutte le date",EC="Tutte le API",xV="Tutti i filtri";var AC="Tutti i pacchetti";var TV="Hai gi\xE0 un account? Effettuare l'accesso";var SV="un minuto fa",wV="un mese fa";var CV="un'ora fa",Oi="Anonimo";var EV="1 risposta",AV="{count} risposte";var g$="Una delle risposte \xE8 stata accettata dall'autore della domanda.";var kC="API";var kV="Chiave API",IC="Informazioni di riferimento sull'API {platformName}",f$="La ricerca di API non \xE8 disponibile. Riprova pi\xF9 tardi.";var IV="{appliedSkillTitle} - Valutazione {AppliedSkills}",LV="Aggiorna per continuare. Il lab riprender\xE0 da dove lo hai interrotto.";var PV="Questa valutazione \xE8 molto popolare e siamo al limite della capacit\xE0, ma stiamo lavorando con impegno per accogliere un maggior numero di studenti. Riprovare tra 10 minuti.",LC="Microsoft Credential",RV="Il tempo \xE8 scaduto.",MV="Hai raggiunto il limite di tempo.",DV="Verr\xE0 ora assegnato un punteggio alla valutazione.",$V="Visualizza i risultati personali",zV="Stiamo riscontrando un problema e lo stiamo esaminando attivamente. Prova una valutazione diversa per il momento.",NV="Si \xE8 verificato un errore. Riattiva tra 10 minuti.",FV="L'account \xE8 stato contrassegnato per attivit\xE0 insolite. Di conseguenza, l'accesso a Microsoft {AppliedSkills} \xE8 stato sospeso. Usare il pulsante Indietro per tornare alla pagina dei dettagli delle credenziali.";var qV="Visualizza la verifica dei titoli";var UV="Salva la tua raccolta per tornare alla raccolta in seguito. Se la valutazione per viene aggiornata, potrebbe scadere.",PC="Vai alla pagina Dettagli",h$="Puoi visualizzare i tentativi precedenti nella pagina dei dettagli delle credenziali";var OV="Aggiornare la pagina",HV="Sarai idoneo per ripetere la valutazione tra:",BV="Salva la raccolta",VV="Prestazioni per attivit\xE0",GV="Assegnazione di punteggi ancora in corso",QV="Raccolta personalizzata per migliorare le prestazioni",jV="Materiale {AppliedSkills} - {date}",YV='I risultati sono ancora in fase di elaborazione. Se non viene visualizzato un risultato tra {duration} secondi, aggiorna.',WV="In base ai tuoi risultati, abbiamo riunito materiali correlati alle aree in cui puoi migliorare. Il materiale per l'apprendimento include:",KV="Titolo ottenuto per le {AppliedSkills}",JV="Si \xE8 verificato un errore. Riprova pi\xF9 tardi";var b$="Risultati della valutazione",RC="Risultati della tua valutazione per",ZV="Informazioni sull'assegnazione del punteggio per questa valutazione",XV='Questa valutazione \xE8 attualmente in fase di manutenzione. Esplorare altre credenziali Microsoft nel frattempo.',eG=`La tua connessione o il tuo account \xE8 stato contrassegnato a causa di attivit\xE0 insolita. Per questo motivo, l'accesso a Microsoft {AppliedSkills}\xE8 stato sospeso. Altre informazioni.`,tG="Il ricorso \xE8 in fase di revisione";var oG="(Obsoleto)",nG="{version} e altre versioni",iG="{version1} e {version2}",rG="Applica",MC="Architettura",sG="Idea per soluzione",Tf="Versioni precedenti",xu="Continuare?",aG="Non \xE8 possibile annullare l'eliminazione dei dati.";var lG="Articolo";var cG="un secondo fa";var uG="Contattare la community";var DC="Valutazioni";var dG="Autorizzazione obbligatoria";var pG="una settimana fa";var mG="Documentazione di Azure";var gG="-- Seleziona valore --",kp="Indietro";var fG="Torna al feedback";var hG="Principiante";var Sf="Corpo";var bG="Rimuovi il segnalibro per {title}",_G="Aggiungi un segnalibro per {title}";var vG='Si \xE8 verificato un problema con il ramo "{branchFallbackFrom}". Sei stato reindirizzato al ramo "{branch}".',yG="Selettore di ramo";var xG="Esplora gli esami";var Tu="Sfoglia le certificazioni",sc="Sfoglia titolo";var TG="Category",SG="Categorie",wG="Attenzione";var ze="Annulla",$C="Disattiva didascalie";var ac="Certificazione";var CG="Trasferimento a Pearson Vue";var EG="Immettere il proprio indirizzo in modo che Pearson Vue, il provider del servizio esami, possa convalidare l'identit\xE0.",AG="Inserire un numero di telefono e un indirizzo e-mail a cui poter essere contattato da Pearson Vue, il provider del servizio esami, nel caso in cui si verifichino problemi durante l'esame.",kG="Eventuali sconti verranno applicati a Pearson Vue durante il pagamento.",IG="Se si dispone di un codice voucher, immettere il codice su Pearson Vue durante la procedura di pagamento.",LG="Accedere al portale Pearson Vue per procedere con la registrazione dell'esame.",PG=`Microsoft non memorizzer\xE0 il numero di telefono e l'indirizzo e-mail forniti. Si verr\xE0 trasferiti ora a Pearson Vue per completare la registrazione dell'esame. Informativa sulla privacy Microsoft`,RG="Indirizzo 1",MG="Indirizzo 2",DG="City",$G="Provincia",zG="Postal code",NG="Codice paese/area geografica",_$="Immettere indirizzo",FG="Immettere citt\xE0";var qG="Immettere CAP",UG="Immettere il numero di telefono",OG="Immettere l'e-mail di contatto";var HG="Nome raccolta";var ay="Esito negativo";var zC="Si \xE8 verificato un errore.",ly="Pass";var BG="Materiale per la valutazione - {date}";var VG="Salva la raccolta";var GG="Materiale rinnovo - {date}";var QG="Si tratta di una pagina di anteprima temporanea che scadr\xE0 il {temporaryPreviewExpiresAt}. Una volta scaduta, sar\xE0 necessario rigenerarla da Item Workshop prima di visualizzarne nuovamente l'anteprima.",jG="API della piattaforma di valutazioni",YG="Controlla la risposta",WG="Valutazione per il rinnovo per {certificationName}",KG="Congratulazione, hai superato l'esame!",Wa="Certificazione Microsoft",JG="Hai rinnovato {certificationName} e hai esteso la certificazione per un anno.",ZG="Vedi i risultati",XG="Domanda {current} di {total}",e7="{current} di {total}",t7="Seleziona solo una risposta.",o7="Tempo scaduto.",n7="Hai raggiunto il limite di tempo. Verr\xE0 ora assegnato un punteggio alla valutazione.",i7="Visualizza i risultati personali",r7="Seleziona tutte le risposte applicabili.",s7="Prossima",a7="Compilazione della valutazione...",l7="Si \xE8 verificato un errore imprevisto. Riprova pi\xF9 tardi. Se il problema persiste, contatta il supporto tecnico per la certificazione.",c7="OK, chiaro",u7="Riprova a inviare la valutazione per il rinnovo. Se il problema persiste, puoi contattare il supporto tecnico per la certificazione.",d7="Contatta il supporto tecnico per la certificazione",p7="\xC8 gi\xE0 stato assegnato un punteggio alla tua valutazione",m7="Hai gi\xE0 inviato questa valutazione. Puoi visualizzare i risultati della tua valutazione dalla pagina dei dettagli del rinnovo della certificazione. Se ritieni che si tratti di un errore e ti serve assistenza, contatta il supporto tecnico per la certificazione.",NC="Vai a i dettagli del rinnovo",g7="Tempo rimanente",Ip="Risposta errata.",Lp="Risposta esatta.",f7="Mostra tutte le domande",h7="Data della valutazione:",b7="La tua certificazione \xE8 stata rinnovata per un anno. Nota che l'aggiornamento della data di scadenza della certificazione potrebbe richiedere qualche minuto.",_7="Siamo spiacenti. Questo materiale per l'apprendimento \xE8 obsoleto rispetto alla valutazione corrente. Visita la pagina dei dettagli della valutazione per ottenere il materiale pi\xF9 recente per la preparazione.";var FC="Materiale per l'apprendimento personalizzato per migliorare le tue competenze";var qC='Poich\xE9 hai ottenuto un punteggio inferiore in "{section}":',v$="Risultati della valutazione per il rinnovo per {certificationName}";var v7="Risultati della valutazione per il rinnovo per";var y7="Scopri di pi\xF9 sul rinnovo di questa certificazione",x7="{percent}% necessario per il superamento",UC="Prestazioni in base alla sezione della valutazione",T7="Sei pronto per ripetere la valutazione?";var S7="Sei idoneo per la ripetizione della valutazione. Puoi eseguire tutti i tentativi necessari prima del giorno {date}. Dopo il secondo tentativo dovrai aspettare 24 ore prima di eseguire un nuovo tentativo.",y$="Vedi le certificazioni",w7="Puoi cercare i tentativi precedenti per le valutazioni nel profilo o puoi visitare la panoramica delle certificazioni",C7="Risultati complessivi:";var E7="Panoramica delle certificazioni";var Ka="Certificazioni";var A7="Tipi di certificazione",k7="Tipi di certificazione",ta="Sfida";var I7="Attiva da {start} a {end}";var L7="Raccolta di sfide";var P7="Trova un prodotto";var R7="Non ci sono ancora sfide";var x$="La data di fine non pu\xF2 essere precedente alla data di inizio. Selezionare di nuovo una data di fine.",M7="L'ora di fine non pu\xF2 essere precedente all'ora di inizio. Selezionare di nuovo un'ora di fine.",D7="L'ora di inizio non pu\xF2 essere precedente all'ora corrente. Selezionare nuovamente un'ora di inizio.";var OC="Trova altro da imparare";var HC="{score}%",$7="Visualizza la verifica";var wf="Problematiche";var T$="Aggiungere alle sfide",BC="Aggiunto/a alle sfide";var z7="Gestire {title} nelle sfide",N7="Aggiungere {title} a una sfda";var S$="Nessun elemento in questa sezione.";var VC="Data di inizio",GC="Ora di avvio",QC="Data di fine",jC="Ora di fine";var F7="Questa sfida \xE8 privata.",q7="Questa sfida non \xE8 visibile ad altri utenti.",U7="\xC8 possibile esaminare le sfide nel profilo utente.",O7="Visualizzare le sfide",H7="Vai alla classifica";var cy="Copia sfida",B7="Si sta per copiare questa sfida. La nuova sfida avr\xE0 gli stessi dettagli e contenuto. Una volta creato, sar\xE0 possibile modificarlo tramite la relativa pagina dei dettagli.",V7="Eliminare la richiesta di verifica",G7="La data di inizio deve essere nel futuro.",Q7="La data di fine deve essere successiva alla data di inizio o alla data corrente.",j7="Selezionare un oggetto principale valido.",Y7="Immettere un nome di destinazione valido.",W7="Immettere un ID valido associato al pubblico selezionato di questa sfida.",K7="Immettere uno scopo valido per questa sfida.",J7="Non si dispone dell'autorizzazione per eseguire questa azione.";var uy="Tabellone punteggi";var Z7=`L'aggiunta a {collectionName} \xE8 stata completata`,X7='Aggiunto/a alle sfide',eQ="Accedi per aggiungere questo elemento al tuo test.",tQ='Rimosso da {collectionName}',oQ='Rimosso/a dalle sfide';var nQ="Violazione rilevata",iQ=`Il titolo o la descrizione di questa sfida, oppure il titolo di una sezione o la descrizione della raccolta di questa sfida \xE8 stato eliminato a causa di una violazione dei nostri Condizioni d'uso. Questi sono stati segnalati o identificati manualmente tramite il rilevamento automatizzato prima dell'esecuzione dell'azione. Per ulteriori informazioni, fare riferimento alle condizioni per l'utilizzo.`,w$='Se il titolo o la descrizione di questa sfida sono stati eliminati, passare alla relativa pagina dei dettagli per aggiornarli.';var rQ="Se \xE8 stato eliminato un titolo o una descrizione della raccolta di questa sfida, rivedere e aggiornare di seguito.",sQ="Si continuer\xE0 a visualizzare questo avviso fino a quando non viene eseguito un aggiornamento.";var aQ="Chiedi a Learn",lQ="Scegliere quale operazione effettuare",cQ="La chat \xE8 stata reimpostata",YC=`Ho smesso di generare la risposta. Vuoi provare qualcos'altro? Provare la guida alla richiesta selezionando il pulsante "Visualizza richieste".`,uQ="Il contenuto generato dall'intelligenza artificiale potrebbe non essere corretto",dQ="Contenuto accurato/pertinente",pQ="Contenuto completo/non crittografato",mQ="Risposta rapida",gQ="Contenuto impreciso/non pertinente",fQ="Contenuto incompleto/non chiaro",hQ="Contenuto offensivo/inappropriato",bQ="Risposta lenta",C$="Qualcos'altro",_Q="Grazie per il feedback.",E$='Spiacente, non posso chattare su questo argomento. Immettere un altro argomento o provare la guida alla richiesta selezionando il pulsante "Visualizza richieste" di seguito.',vQ="Non ora",yQ="Incontra l'assistente IA, Ask Learn",WC="Ask Learn \xE8 un assistente IA che pu\xF2 rispondere a domande, chiarire i concetti e definire i termini usando la documentazione Microsoft attendibile.",xQ="Verificare l'accuratezza",TQ="Ask Learn \xE8 in anteprima. Controllare le risposte perch\xE9 il contenuto generato dall'intelligenza artificiale potrebbe non essere accurato. Usare i pulsanti di feedback per migliorare l'esperienza.",SQ=`Per altre informazioni sui casi d'uso e sulle limitazioni, leggere le note la trasparenza di Ask Learn.`,wQ="Provare Ask Learn",KC="Accedi per usare Ask Learn.",CQ='Mi dispiace, ho raggiunto il numero massimo di risposte che posso dare in una conversazione. Selezionare "Nuova chat" per avviare una nuova conversazione.';var EQ="Massimo {max} caratteri",JC="Nuova chat",AQ="Nuovo messaggio da Ask Learn",A$="Anteprima",kQ="Anteprima di ci\xF2 che verr\xE0 condiviso",IQ="Guida alla richiesta",k$="Fornire tutti i dettagli possibili, ma non includere informazioni private o riservate";var LQ="Rigenera";var PQ="Invia",RQ="Interrompi la generazione",MQ="Parla con noi",DQ="Sto riscontrando una domanda elevata. Riprovare tra alcuni minuti.",$Q="Questo messaggio \xE8 utile",zQ="Questo messaggio non \xE8 utile",dy='Spiacente, non posso aiutarti con questo. Provare la guida alla richiesta selezionando il pulsante "Visualizza richieste" di seguito.',lc="Si \xE8 verificato un errore. Riprovare o condividere il feedback.",NQ="Alcuni caratteri nel messaggio non sono supportati. Puoi riprovare usando caratteri diversi?",FQ="Digita un messaggio per continuare",ZC="Il messaggio deve contenere almeno 10 caratteri",I$="Limite di caratteri superato",L$="Visualizza prompt",XC="Ci sto lavorando...",qQ="{count} di {total} risposte";var UQ="Solo il proprietario della valutazione pu\xF2 visualizzare le note e gli elementi dell'elenco di controllo per l'aggiornamento";var OQ="Citazione";var Cf="Cancella tutto",HQ="Cancella filtro",BQ="Cancella il modulo",VQ="Cancella l'autore della domanda";var GQ="Cancella termine",QQ="Fare clic per visualizzare il feed RSS",ge="Chiudi";var jQ="Chiudi ricerca",YQ='Non \xE8 possibile avviare Cloud Shell. Consulta la guida alla risoluzione dei problemi.';var WQ="Codice di esempio",P$="Esempi di codice";var eE="Comprimi",KQ="Comprimi la tabella",us="Raccolta",JQ="Raccolta ufficiale";var ZQ="Una copia di questa raccolta \xE8 stata salvata nel profilo",XQ="I giorni per completare un\u2019attivit\xE0 cardine devono corrispondere a un numero.",R$="Descrizione (facoltativa)";var ej="Modifica la sezione",tj="La lunghezza massima \xE8 di 550 caratteri.",oj="Il titolo della sezione non pu\xF2 essere uguale a un altro titolo nella raccolta.",M$="Nuova sezione",nj="Salva la sezione",D$="Sezione {number}";var ij="La lunghezza massima \xE8 di 100 caratteri.",rj="Il titolo o la descrizione della sezione non ha superato il servizio di convalida Microsoft.",sj="Non \xE8 stato possibile salvare la sezione. Riprova.",aj="Aggiungere URL",lj="Nome pagina",cj="Immetti il titolo.",uj="Il titolo deve avere una lunghezza compresa tra 2 e 100 caratteri.",dj="Non \xE8 stato possibile salvare l'URL. Riprova.",pj="Non \xE8 possibile aggiungere URL a questa raccolta.",mj="L'URL deve iniziare con http:// o https://. Sono consentiti i collegamenti AKA.",gj="Il formato dell'URL non \xE8 valido.";var fj="Aggiungi alla raccolta",$$="Aggiunto/a alla raccolta",z$="Aggiungi a raccolte",tE="Aggiungi a una raccolta",hj='Aggiungi "{pageName}" a:',oE="Raccolta non trovata",bj="Come si pu\xF2 osservare, Sembra che questa raccolta non esista o non possa essere trovata per uno dei motivi seguenti:",_j="Il proprietario pu\xF2 aver cambiato l'URL della Raccolta, che pu\xF2 impedire la sua individuazione se gli utenti accedono usando l'URL precedente.",vj="Il proprietario della Raccolta potrebbe averla eliminata completamente, rendendola inaccessibile.";var yj=`Se la raccolta o suoi contenuti hanno violato le Condizioni per l'utilizzo di Microsoft Learn.`,xj="Ecco alcuni collegamenti utili:",Tj="Home page di Microsoft Learn: sviluppa competenze che offrono nuove opportunit\xE0 di carriera",Sj="Cerca | Microsoft Learn",wj="Risorse di Microsoft Learn | Microsoft Learn",Cj="Creare una raccolta Microsoft Learn",Ej='Raccolte aggiornate',N$=`I dipendenti Microsoft sono autorizzati ad assegnare a una raccolta l'etichetta "Creata da Microsoft".`,nE="Altre informazioni",Pp="Converti in una raccolta ufficiale",iE="Una raccolta ufficiale rappresenta Microsoft, quindi assicurati che la raccolta sia completa, non includa errori tipografici e che la sequenza del contenuto sia corretta. In caso contrario, modifica la raccolta in base alla necessit\xE0. Quando una raccolta viene resa ufficiale, non \xE8 possibile annullare il processo.";var Aj="La raccolta non \xE8 disponibile",kj="\xC8 tutto pronto per convertire questa raccolta in una raccolta ufficiale?";var rE='Esiste gi\xE0 una raccolta con titolo "{title}". I titoli delle raccolte devono essere univoci.',Su="Il titolo \xE8 obbligatorio e deve contenere al massimo 100 caratteri.",py="La descrizione \xE8 facoltativa e deve contenere al massimo 550 caratteri.",sE="Contenuto non valido. Rimuovere tutti i numeri di telefono, gli indirizzi di posta elettronica o gli URL.";var Ij="Se impostata su privata, questa raccolta pu\xF2 essere visualizzata solo dall'utente. Una raccolta non privata pu\xF2 essere visualizzata da chiunque.",aE="Impostare come privata",Lj="Raccolta di {userDisplayName} - {index}",F$="Creata da {name}",Pj="Creazione completata da un utente di Microsoft Learn";var Rj="Elimina raccolta",Mj="Visualizza il mio nome";var lE="Modifica la mia raccolta",q$="aggiungi una descrizione",my="Modifica la descrizione",gy="Modifica il titolo",Dj="Modifica i risultati di apprendimento",$j="Descrizione di questa raccolta",zj="\xC8 necessario almeno un risultato.",Nj="Titolo di questa raccolta",Fj="Non \xE8 stato possibile salvare il titolo. Riprova.",qj="Non \xE8 stato possibile salvare la descrizione. Riprovare.",Uj="Non \xE8 stato possibile salvare i risultati dell\u2019apprendimento. Riprovare.",cE="Preferiti",Oj="Se questo collegamento \xE8 stato condiviso con te, richiedi un nuovo collegamento.",uE="Eventuali modifiche non influiranno sulla raccolta originale";var Hj="Elementi in questa raccolta";var Bj='Nessun elemento nella raccolta. Aggiungi elementi dalla pagina di esplorazione dell\u2019allenamento Learn.',Vj="{numberOf} percorsi di apprendimento",Gj="{numberOf} percorso di apprendimento",Qj="La raccolta \xE8 completa e l'ortografia \xE8 stata controllata",jj="La procedura potr\xE0 richiedere fino a 14 giorni, ma potrebbe essere completata prima. Dopo la localizzazione, eventuali modifiche future apportate verranno inviate automaticamente alla pipeline di localizzazione.",Yj="Il titolo, la descrizione, le sezioni e le descrizioni delle sezioni verranno tradotti in ogni lingua supportata da Microsoft Learn",dE="Localize",Wj="Assicurati che siano rispettati i requisiti seguenti:",Kj="La raccolta non \xE8 stata ancora localizzata nella tua lingua.",Jj="La lingua di origine \xE8 l'inglese",pE="Questa raccolta \xE8 stata inviata per la localizzazione",Zj="Grazie per avere inviato la tua raccolta ufficiale per la localizzazione.",mE="Numero di moduli: {numberOf}",gE="{numberOf} modulo";var Xj="Sposta l'elemento verso il basso",eY="Sposta l'elemento verso l'alto";var tY="Sposta sezione in basso",oY="Sposta sezione in alto",nY="Raccolta ufficiale di Microsoft",iY="per conto di",rY='Rimosso da {collectionName}',sY='Rimosso da Raccolte';var aY="L'aggiunta a una raccolta \xE8 disabilitata per il contenuto che richiede l'autorizzazione.",lY=`L'aggiunta a {collectionName} \xE8 stata completata`,cY=`L'aggiunta a Raccolte \xE8 stata completata`,uY="Salva tutti gli elementi in questa raccolta come nuovi";var U$="Accedi per aggiungere questo elemento alla raccolta.",fE="Questa raccolta \xE8 privata.",dY="L'autore di questa raccolta l\u2019ha contrassegnata come privata e non \xE8 attualmente visibile ad altri utenti.",pY="Questa raccolta non esiste o \xE8 stata rimossa.",mY='\xC8 anche possibile tornare a Raccolte.',gY="\xC8 possibile esaminare le raccolte nel profilo utente.",fY="Visualizza raccolte",hY="Gestisci {title} nelle raccolte",bY="Aggiungi {title} a una raccolta",_Y="Puoi trovare questa raccolta nel tuo profilo di Learn";var vY="Violazione rilevata",yY=`Il titolo o la descrizione di questa raccolta o un titolo di sezione o una descrizione di questa raccolta sono stati eliminati a causa di una violazione delle condizioni per l'utilizzo. Questi sono stati segnalati o identificati manualmente tramite il rilevamento automatizzato prima dell'esecuzione dell'azione. Per ulteriori informazioni, fare riferimento alle condizioni per l'utilizzo.`,xY="Si continuer\xE0 a visualizzare questo avviso fino a quando non viene eseguito un aggiornamento.",TY="Raccolta segnalata",SY=`\xC8 stato segnalato un problema su questa raccolta, che al momento \xE8 in revisione da parte di Microsoft. Per ulteriori informazioni, fare riferimento alle condizioni per l'utilizzo.`;var Hi="Completato";var wY="Complimenti.";var CY="Contatta il supporto tecnico",O$="Indirizzo di posta elettronica di contatto";var H$="Area di contenuto",EY="Selettore della lingua del contenuto. Impostato attualmente su {language}.";var AY=`Nota: L'autore ha creato questo articolo con l\u2019assistenza dell'intelligenza artificiale. Ulteriori informazioni`,kY=`Nota: Questo articolo contiene contenuti creati con l'IA. Ulteriori informazioni`,IY="Contenuto creato dalla community. Questo articolo \xE8 stato scritto ed \xE8 gestito da esperti della community di Microsoft Learn.",LY=`Nota: Questo episodio contiene contenuti creati con l'IA. Ulteriori informazioni`,PY=`Nota: L'autore ha creato questo episodio con l\u2019assistenza dell'intelligenza artificiale. Ulteriori informazioni`;var RY=`Nota: Questo modulo contiene contenuti creati con l'IA. Ulteriori informazioni`,MY=`Nota: L'autore ha creato questo modulo con l\u2019assistenza dell'intelligenza artificiale. Ulteriori informazioni`,DY=`Nota: Questa pagina contiene contenuti creati con l'IA. Ulteriori informazioni`,$Y=`Nota: Questa parzialmente \xE8 stata parzialmente creata con l'aiuto dell'intelligenza artificiale. Ulteriori informazioni`,cc="Continua";var hE="Copiato",wu="Copia";var Rp="Corso";var B$="Australia",V$="Austria";var bE="Belgio";var G$="Brasile";var _E="Canada";var Q$="India";var j$="Irlanda";var vE="Malaysia";var Y$="Messico";var W$="Nuova Zelanda";var K$="Portogallo";var J$="Singapore";var Z$="Sudafrica";var fy="Svizzera";var X$="Regno Unito",ez="Stati Uniti";var hy="Paese/area geografica";var by="Crea";var tz="Creato da";var zY="Se diventi un membro, dichiari di comprendere e accettare che la tua appartenenza a Microsoft Learn comporta la registrazione e la verifica dei tuoi obiettivi e delle tue attivit\xE0 da parte della nostra rete di siti e di applicazioni.

Il tuo nome utente, il tuo nome visualizzato, l'immagine del profilo, le tue affiliazioni, i tuoi obiettivi e le tue attivit\xE0 saranno inoltre visibili pubblicamente. Puoi nascondere le attestazioni digitali e le attivit\xE0 in Impostazioni.";var un="Titolo",NY="Tipo di credenziali",FY="Tipi di credenziale";var qY="Personalizzato",UY="Data personalizzata";var OY="Scuro",_y="Data";var yE="Giorno",vy="Giorni",HY="{duration} giorni fa",yy="{days} giorni";var ds="Elimina";var BY="Elimina parametro";var Ef="Descrizione";var VY="Questo contenuto archiviato non \xE8 pi\xF9 mantenuto. I collegamenti e le informazioni potrebbero essere obsoleti o non sicuri e non sono stati esaminati attivamente da Microsoft.",GY="Questo articolo \xE8 stato tradotto per il tuo mercato dall'inglese. Quanto sei soddisfatto della qualit\xE0 della lingua usata?",QY="Questo articolo \xE8 stato tradotto automaticamente o con l\u2019intelligenza artificiale. Questo contenuto archiviato non \xE8 pi\xF9 mantenuto. I collegamenti e le informazioni potrebbero essere obsoleti o non sicuri e non sono stati esaminati attivamente da Microsoft.",jY="Questo contenuto \xE8 stato ritirato e potrebbe non essere aggiornato in futuro. Il prodotto, il servizio o la tecnologia citati in questo contenuto non sono pi\xF9 supportati.",YY="Questo articolo \xE8 stato tradotto automaticamente o con l\u2019intelligenza artificiale. Questo contenuto \xE8 stato ritirato e potrebbe non essere aggiornato in futuro. Il prodotto, il servizio o la tecnologia citati in questo contenuto non sono pi\xF9 supportati.",oa="Ignora l'avviso";var WY="Parti di questo argomento potrebbero essere state tradotte automaticamente o con l\u2019intelligenza artificiale.",KY="Parti di questo argomento potrebbero essere state tradotte automaticamente o con l\u2019intelligenza artificiale.";var JY="Informazioni riservate Microsoft",ZY="Questa pagina \xE8 stata reindirizzata definitivamente a {url}",XY=`Questo contenuto non viene pi\xF9 aggiornato regolarmente. Controlla il ciclo di vita dei prodotti Microsoft per ottenere informazioni sul modo in cui viene supportato questo prodotto, servizio, tecnologia o API.`,eW=`Questo articolo \xE8 stato tradotto automaticamente o con l\u2019intelligenza artificiale. Questo contenuto non viene pi\xF9 aggiornato regolarmente. Controlla il ciclo di vita dei prodotti Microsoft per ottenere informazioni sul modo in cui viene supportato questo prodotto, servizio, tecnologia o API.`,tW="Versione consigliata",oz="Torna al sito principale",oW="I contenuti nei siti di revisione possono essere visualizzati da tutti i dipendenti (FTE) e fornitori di Microsoft e dai dipendenti di LinkedIn.",nW="Questo contenuto non \xE8 disponibile nella tua lingua. Ecco la versione in lingua inglese.",xy="Elimina";var iW="Questo percorso di apprendimento sar\xE0 presto disponibile nelle lingue seguenti: {language}.",rW="Questo percorso di apprendimento non \xE8 disponibile nelle lingue seguenti: {language}.";var sW="Questo modulo sar\xE0 presto disponibile nelle lingue seguenti: {language}.",aW="Questo modulo non \xE8 disponibile nelle lingue seguenti: {language}.";var lW="I risultati della ricerca derivano dalla documentazione delle versioni precedenti e non sono aggiornati regolarmente.";var cW="Giorni per il completamento";var na="Documentazione",uW="Dettagli del documento",dW="Non modificare questa sezione. \xC8 necessaria per i collegamenti relativi ai problemi tra learn.microsoft.com \u279F GitHub.";var pW="Documentazione di .NET";var xE="Scarica il PDF",mW="L'opzione Scarica il PDF \xE8 disabilitata per il contenuto che richiede l'autorizzazione.",gW="La generazione del PDF potrebbe richiedere alcuni minuti. Puoi continuare a usare il sito durante la preparazione del PDF.";var uc="Modifica";var fW="Data modifica";var dc="E-mail";var hW="Un nome vuoto non \xE8 consentito";var bW="Data di fine";var _W="Data di fine",vW="Termina {endDate}";var Cu="Errore",yW="I valori devono essere {date} o precedenti.",xW="La data di inizio deve essere precedente alla data di fine.";var TW="Gruppo di eventi",SW="Gruppi di eventi",wW="Eventi";var Bi="Esame";var CW="Riepilogo delle risposte",EW="Torna al report",AW="Di seguito \xE8 disponibile un riepilogo delle tue risposte.",kW="Congratulazioni, hai superato tutte le sezioni! Se hai superato pi\xF9 tentativi, prendi in considerazione la pianificazione di un esame.",IW="Siamo spiacenti. Questo materiale per l'apprendimento \xE8 obsoleto rispetto alla valutazione di prova corrente. Visita la pagina dei dettagli dell'esame per ottenere il materiale pi\xF9 recente per la preparazione.",LW="Risposta corretta";var PW="Il completamento di questa valutazione ha richiesto {duration} minuti.";var RW="Risultati della valutazione di prova: {date}",MW="Risultati complessivi",DW="Per migliorare la preparazione per l'esame, prova a ottenere un punteggio pari a {percent}% o superiore con pi\xF9 tentativi.",$W="Punteggio: {percent}%";var zW="Per migliorare ulteriormente le tue competenze nelle aree seguenti, vedi la sezione Materiale per l'apprendimento personalizzato pi\xF9 avanti.",NW="Domanda {x} di {y}",FW="Sei pronto per iniziare l'esame?",qW="Puoi visualizzare i tentativi di valutazione precedenti nella pagina dei dettagli dell'esame.",UW="Materiale per esercitazionel - {date}",OW="Mostra le mie risposte",HW="Inizia un'altra valutazione di prova.",BW="Risposta";var VW="Esame";var TE="Espandere",GW="Espandi la tabella";var Af="Facebook";var QW="Domande frequenti";var jW="Sufficiente";var YW='Il feedback verr\xE0 inviato a Microsoft: se selezioni il pulsante Invia, il tuo feedback verr\xE0 usato per migliorare i prodotti e i servizi Microsoft. Informativa sulla privacy.',SE='Premendo Invia, il tuo feedback verr\xE0 utilizzato per migliorare i prodotti e i servizi Microsoft. Informativa sulla privacy',wE=`Microsoft elaborer\xE0 il feedback inviato in base alle istruzioni dell'organizzazione per migliorare l'esperienza dell'utente e dell'organizzazione con questo prodotto. Per eventuali domande sull'uso dei dati di feedback, contattare l'amministratore del tenant. L'elaborazione dei dati di feedback \xE8 disciplinata dall'addendum sulla protezione dei dati dei prodotti e dei servizi Microsoft tra l'organizzazione e Microsoft e il feedback inviato \xE8 considerato fare parte dei dati personali in tale addendum. Informativa sulla privacy`,Ty="Microsoft elaborer\xE0 il feedback inviato in base alle istruzioni dell'organizzazione per migliorare l'esperienza dell'utente e dell'organizzazione con questo prodotto.",WW=`Microsoft elaborer\xE0 il feedback inviato in base alle istruzioni dell'organizzazione per migliorare l'esperienza dell'utente e dell'organizzazione con questo prodotto. Informativa sulla privacy`;var KW="[Immetti qui i commenti]";var JW="Condividi feedback";var ZW="Allega uno screenshot (facoltativo)",XW="Scegli i file...",eK="JPEG, JPG, PNG o GIF";var tK="Problemi con Cloud Shell";var oK="Problemi con .NET Editor";var nK="Problemi con l'installazione delle dipendenze";var iK="Qualit\xE0 dei contenuti dell'esercitazione";var rK="Descrivi il tuo feedback. Se applicabile, includi i passaggi per riprodurre il problema",sK="Immetti un titolo per il feedback",aK="Informazioni non corrette/Errore di ortografia/Errore nei contenuti",lK="Richiesta di funzionalit\xE0",cK="Prodotto o funzionalit\xE0",uK="Feedback generale",dK="Qualit\xE0 dei contenuti per la formazione",pK="Ho domande sui contenuti per la formazione",mK="Non mi vengono concessi crediti/punti esperienza per il completamento",gK="Altro",fK="Problemi con la registrazione o l'accesso",hK="Problemi con la sandbox",bK="Problemi con la qualit\xE0 della traduzione",_K="Seleziona un problema applicabile alla tua situazione",vK="Seleziona il tipo di feedback";var yK="Il contenuto \xE8 facile da capire",xK="Il contenuto \xE8 difficile da capire",TK="Non ho trovato quello che mi serve",SK="Ho completato l'attivit\xE0 o risolto il problema",wK="Ho imparato qualcosa di nuovo",CK="Le informazioni sono state facili da trovare",EK="Non aggiornato/obsoleto",AK="Struttura piano",kK="Copertura contenuto",IK="Personalizzazione",LK="Facile da usare",PK="Aiuta nella crescita della carriera",RK="Troppo complesso",MK="Problemi tecnici",DK="Mancanza di personalizzazione",$K="Non rilevante per l'obiettivo",zK="Sequenze temporali errate",NK="La procedura o il codice non funziona",nz="Qualit\xE0 di traduzione";var Ja="Filtra",FK="Filtri";var iz="Filtro cancellato",qK="Il contenuto verr\xE0 filtrato durante la digitazione";var UK="Trova {facet}";var OK="Trova in base al titolo";var HK="Trova un autore di domande";var BK="Modalit\xE0 messa a fuoco abilitata",VK="Modalit\xE0 messa a fuoco disabilitata";var GK="Iscriversi ora";var Sy="Devi selezionare almeno un elemento.",Za="Il contenuto \xE8 stato modificato. Ricarica la pagina per ottenere le modifiche pi\xF9 recenti.",rz="Si \xE8 verificato un problema relativo a uno o pi\xF9 allegati. Aggiorna o rimuovi uno o pi\xF9 allegati per continuare la pubblicazione. Se il problema persiste, contatta il supporto del sito.",sz="L'indirizzo e-mail non \xE8 valido",QK="L'e-mail non \xE8 valida e deve contenere almeno 6 caratteri.",jK="Seleziona almeno un motivo per il feedback.",YK="Questa pagina \xE8 stata utile? Selezionare S\xEC o No.",WK="\xC8 necessaria almeno una selezione da {inputGroup}.",ps="{inputLabel} non pu\xF2 contenere pi\xF9 di {maxLength} caratteri.",ms="{inputLabel} deve contenere almeno {minLength} caratteri.",gs="\xC8 obbligatorio specificare {inputLabel}.",CE="{inputLabel} non deve iniziare o terminare con un punto.",KK='{inputLabel} non pu\xF2 contenere i caratteri \\ o ".',JK="Un campo di input non \xE8 valido. Controllare i campi di input e riprovare.",fs="Non hai eseguito l'autenticazione. Aggiorna la pagina e riprova. Se il problema persiste, disconnettiti e accedi di nuovo.",hs="Non sei autorizzato a effettuare questa risposta. Se ritieni che si tratti di un errore, aggiorna la pagina e riprova.";var ZK="Il codice postale statunitense deve contenere solo cifre numeriche e deve essere composto da 5 o 9 cifre.",XK="Il codice postale canadese non deve contenere spazi e deve essere nel formato A1A1A1.",eJ="Il numero di telefono non \xE8 valido e deve contenere solo cifre numeriche.",dn="Per continuare, correggi i problemi seguenti:",kf="Effettua una selezione.",az="Il testo deve essere in inglese. Nel caso in cui siano presenti simboli o testo non in inglese, rimuoverli per continuare.",bs="Non sono presenti modifiche da inviare.",_s="Hai inviato troppe richieste. Attendere qualche minuto e riprovare pi\xF9 tardi.",Vi="Si \xE8 verificato un errore imprevisto. Riprova pi\xF9 tardi. Se il problema persiste, contatta il supporto per il sito.";var tJ="Generazione del PDF...";var oJ="Ottieni assistenza in Microsoft Q&A",nJ="Ottieni assistenza per il prodotto",lz="Introduzione";var Mp="Globale",cz="Spostamento globale";var uz="Indietro";var iJ="Buono";var dz="Vai ai dettagli dell'esame";var rJ="Ottimo";var EE="Intestazioni",sJ="Informazioni su come scegliere";var aJ="Qui",lJ="Nascondi elementi completati";var cJ='Ciao, {user}';var uJ="Contrasto elevato",dJ="Home";var pJ="Codice scorrevole orizzontalmente",pz="Dati scorrevoli orizzontalmente",AE="Ora",Eu="Ore",mJ="{duration} ore fa",gJ="Qual \xE8 la tua opinione su questo prodotto?";var fJ="Quanto sei soddisfatto della qualit\xE0 della lingua usata?";var hJ="h";var bJ="{hrs} ore",_J="{numberOfHours} h {numberOfMinutes} min";var vJ="Importante";var wy="In corso";var yJ="Intermedio";var mz="In questo articolo";var If=`L'elemento "{itemTitle}" verr\xE0 eliminato definitivamente.`;var xJ="adesso";var kE="Problema noto",TJ="Confermato";var SJ="Analisi in corso",wJ="Mitigato",CJ="Segnalato",EJ="Risolto";var Lf="Sommario";var gz="Linguaggio",AJ="Linguaggi";var IE="Ultimo aggiornamento: {time}";var fz="Percorso di apprendimento",Pf="Percorso di apprendimento";var Gi="Altre informazioni";var kJ="Tipo di contenuto",IJ="Tipi di contenuto";var Cy="Episodio";var LJ="{count} episodi";var PJ="Eventi",RJ="Ultimo episodio",MJ="Ultimo episodio {date}";var DJ="Data di pubblicazione: {date}",LE="Serie",hz="Mostra",Si="Mostra";var PE="Il video non \xE8 disponibile",bz="Questo video non \xE8 disponibile. Stiamo lavorando per risolvere il problema. Riprova pi\xF9 tardi.",Rf="Lettore video";var $J="Level",zJ="Livello {number}";var NJ="Livelli",FJ="Ciclo di vita",qJ="Chiaro";var Mf="LinkedIn";var jt="Caricamento in corso...";var UJ="Altro…",OJ="Carica altri risultati",RE="Arabo",HJ="Arabo (Arabia Saudita)",ME="Bulgaro",BJ="Bulgaro (Bulgaria)";var DE="Bosniaco (latino)",VJ="Bosniaco (alfabeto cirillico)",$E="Catalano",zE="Ceco",NE="Danese",FE="Tedesco";var qE="Greco",GJ="Greco (Grecia)",UE="Inglese",QJ="Inglese (Malaysia)";var OE="Spagnolo",jJ="Spagnolo (Messico)",HE="Estone",BE="Basco",VE="Finlandese",GE="Filippino",QE="Francese";var jE="Irlandese",YE="Galiziano",WE="Ebraico",KE="Hindi",JE="Croato",ZE="Ungherese",YJ="Ungherese (Ungheria)",XE="Indonesiano",WJ="Indonesiano (Indonesia)",e0="Islandese",t0="Italiano";var o0="Giapponese",KJ="Georgiano",n0="Kazako",i0="Coreano",r0="Lussemburghese",s0="Lituano",a0="Lettone",l0="Malese",c0="Maltese",u0="Norvegese",d0="Olandese",p0="Polacco",m0="Portoghese",JJ="Portoghese (Brasile)",ZJ="Portoghese (Portogallo)",g0="Rumeno",f0="Russo",h0="Slovacco",b0="Sloveno";var _0="Serbo (alfabeto cirillico)",v0="Serbo (alfabeto latino)",y0="Svedese",x0="Thai",T0="Turco",S0="Ucraino",XJ="Ucraino",eZ="Urdu",w0="Vietnamita",tZ="Vietnamita (Vietnam)";var C0="Cinese (semplificato)",E0="Cinese (tradizionale, Hong Kong SAR)",A0="Cinese (tradizionale)";var oZ="Gestisci i cookie";var k0="Editor di Microsoft Learn",nZ="Ci stiamo impegnando per eseguire la migrazione della tua cronologia dei corsi e delle tue attestazioni digitali a Learn. Al momento verranno tuttavia visualizzate qui solo le attivit\xE0 completate in Learn.",iZ='Per visualizzare la trascrizione completa e/o i badge che hai ottenuto in Microsoft Educator Center e Learn, passa al tuo profilo di Microsoft Educator Center.';var rZ="Informativa sulla privacy per i dipendenti Microsoft",sZ="Hai eseguito l'accesso con un account associato a un'organizzazione ({email}). Se diventi un membro, dichiari di comprendere e accettare che la tua appartenenza a Microsoft Learn comporta la registrazione e la verifica dei tuoi obiettivi e delle tue attivit\xE0 da parte della nostra rete di siti e di applicazioni e che i tuoi risultati e le tue attivit\xE0 potrebbero essere condivisi con l'organizzazione. Il tuo nome utente, il tuo nome visualizzato, l'immagine del profilo, le tue affiliazioni, i tuoi obiettivi e le tue attivit\xE0 saranno inoltre visibili pubblicamente. Puoi nascondere le attestazioni digitali e le attivit\xE0 in Impostazioni.

Dopo aver creato il profilo, ti consigliamo di collegare un account personale in modo da poter accedere all'avanzamento dell'apprendimento indipendentemente dal tuo stato lavorativo. Puoi collegare account aggiuntivi nella sezione Gestione account delle impostazioni del profilo.";var aZ="Microsoft Graph Editor";var I0="Informativa sulla privacy Microsoft",lZ="Devi accettare l'Informativa sulla privacy Microsoft per conservare il tuo profilo e i dati correlati.";var L0="{numberOfMinutes} min";var Dp="{numberOfMinutes} min";var Ey="Minuti";var cZ="{duration} minuti fa";var wi="Modulo";var uZ="Informazioni di riferimento sul modulo per {platformName}",Ay="Moduli";var dZ="\xC8 stato eseguito il reindirizzamento alla versione pi\xF9 recente del prodotto disponibile per questa pagina.";var pZ="{duration} mesi fa";var ky="Pi\xF9 informazioni";var mZ="Nome";var vs="Prossima";var kr="No",gZ="Nuova raccolta",Df="Pi\xF9 recente",$f="Meno recente";var fZ="Nessun prodotto disponibile",hZ="Nessun tag disponibile",P0="Nessun filtro disponibile",bZ='Nessun elemento in questa sezione. Spostare gli elementi qui dalle altre sezioni oppure aggiungere elementi dalla pagina di esplorazione del training su Learn.';var go="Nessun risultato",ia="Nessun risultato restituito",_Z="Ancora nessun risultato, continua a digitare\u2026",vZ='Cerca "{term}" in tutta la documentazione di {searchScope}',yZ='Cerca "{term}" in tutta la documentazione',xZ="Nessun suggerimento",TZ="Normale";var SZ="No, grazie",wZ="Nota";var CZ="Non \xE8 stato possibile trovare alcun utente.";var EZ="{number} elemento",AZ="{number} elementi";var kZ="Molto soddisfatto",IZ="Soddisfatto",LZ="N\xE9 soddisfatto n\xE9 insoddisfatto",PZ="Insoddisfatto",RZ="Molto insoddisfatto";var MZ="Documentazione di Office";var En="OK",DZ="OK, chiaro.";var $Z="in data {date}";var zZ="Apri ricerca";var NZ="Feedback su {productName}",FZ="{productName} \xE8 un progetto di open source. Selezionare un collegamento per fornire feedback:";var qZ="Aprire Cloud Shell",UZ="Facoltativo";var R0="{label} (facoltativo)";var OZ="Si \xE8 verificato un errore",HZ=`Si \xE8 verificato un errore imprevisto. Riprova. Se ritieni che si tratti di un errore, contatta un rappresentante dell'account o l'assistenza clienti.`,BZ="La condivisione dati che hai richiesto \xE8 gi\xE0 configurata",VZ="Vuoi continuare per visualizzare questa condivisione dati?",GZ="Non attualmente",QZ="Invio dell'invito alla condivisione dati...",jZ="Accordo per la condivisione di dati di Microsoft Learn",YZ=`Confermo e accetto le condizioni pilota per la condivisione di dati di Microsoft Learn per consentire a Microsoft di condividere i dati di Learn con la mia organizzazione per gli utenti di Learn che accedono con l'ID tenant della mia organizzazione.`,WZ="Riprova con l'account aziendale collegato",KZ="Non \xE8 stato possibile verificare l'account",JZ=`Accedi con il tuo account aziendale per accedere a questa condivisione dati. Se ritieni che si tratti di un errore, contatta l'assistenza clienti o il rappresentante dell'account.`,ZZ="S\xEC, grazie",ra="Altro";var XZ="In generale, quanto sei soddisfatto o insoddisfatto di Microsoft Learn?";var M0="Pacchetto",_z="Informazioni di riferimento sul pacchetto per {platformName}";var D0="Pagina {pageNumber} di {numberOfPages}";var eX="Paginazione";var tX="Parametri";var oX="Il PDF \xE8 stato generato. \xC8 in corso l'apertura automatica...";var nX="Numero di telefono",Au="Piano";var iX="Compila questo campo.";var rX="Si prega di fornire un feedback su come possiamo migliorare questo contenuto. Se applicabile, fornire la prima parte della frase o della stringa in questione.";var sX="Argomenti generali";var aX="Stampa";var lX="La stampa \xE8 disabilitata per il contenuto che richiede l'autorizzazione.",$0="Informativa sulla privacy",cX="Scarso";var zf="Anteprima";var Xa="Indietro";var Nf="Prodotto",uX="Utenti di {productName}:";var Ff="Prodotti",dX="Profilo";var pX="Linguaggio di programmazione",mX="Linguaggi di programmazione";var gX="Inviare commenti e suggerimenti per il prodotto";var Iy="Domande & risposte";var fX="domanda posta";var hX="risposte",bX="comments";var _X="voti";var vX='Apprezziamo la pazienza durante la migrazione del contenuto della community del Supporto tecnico Microsoft a Microsoft Q&A. Non viene eseguita la migrazione di tutto il contenuto e la domanda che si sta cercando \xE8 stata ritirata. Per altre informazioni sulla migrazione, vedere Altre informazioni. \xC8 possibile porre nuovamente la domanda o esplorare altre domande nella pagina di {product}.',yX="Questa domanda \xE8 stata ritirata";var xX="Hai superato il numero massimo di allegati consentiti. Seleziona al massimo {maximumCount} allegati.";var TX="Numero massimo di menzioni superato. Selezionare al massimo {maximumCount} menzioni.";var SX="L'utente \xE8 gi\xE0 sospeso. Aggiorna la pagina.",wX="L'utente non \xE8 sospeso. Aggiorna la pagina.";var CX="Non \xE8 possibile eseguire questa azione perch\xE9 l'account \xE8 stato sospeso a causa di una violazione del codice di comportamento. L'account \xE8 stato segnalato manualmente o identificato tramite il rilevamento automatizzato prima dell'esecuzione dell'azione. Per ulteriori informazioni, fai riferimento al codice di comportamento.";var EX="Questa risposta \xE8 stata utile",AX="Questa risposta non \xE8 stata utile";var vz="Segnala un problema",yz="Motivo della segnalazione";var kX=` per acconsentire esplicitamente agli aggiornamenti tramite posta elettronica in relazione ai problemi segnalati`,IX="Consenti a Microsoft di contattarmi in relazione a questo report",LX="Nome completo",PX="E-mail",RX='Ti contatteremo tramite il tuo account personale {email}',MX=`Microsoft si impegna ad aiutare gli utenti e a proteggere la privacy. \xC8 possibile leggere l'Informativa sulla privacy di Microsoft se si desidera ottenere altre informazioni su come proteggere i dati personali.`;var DX="Domanda",$p="Autore di domande",xz=`

Filtro in base ad autore di domande

Quando filtri in base all'autore di domande, puoi applicare il filtro solo per un utente alla volta e solo per utenti di Learn .

`,Tz="Domande";var $X="Domanda per cui \xE8 gi\xE0 disponibile una risposta.";var zX="Domanda obbligatoria.",NX="Domanda facoltativa.",FX="Filtri rapidi";var Sz="Leggere in inglese",qX="Leggi in {language}";var UX="Contenuto consigliato",jn="Riferimento";var OX="Riferimenti";var ku="Aggiorna";var qf="Rimuovi",wz="Rimuovi {itemName}";var Cz="Renew";var z0="Segnala un problema",HX="Seleziona un motivo",BX="Contenuto per adulti e a sfondo sessuale",VX="Sfruttamento sessuale di minori e immagini di abusi",GX="Coordinamento del danno";var QX="Bullismo e molestie",jX="Violenza grafica e spargimento di sangue",YX="Odio e discriminazione",WX="Immagine intima non consensuale & estorsione intima";var KX="Un'altra violazione delle condizioni per l'utilizzo o del codice di comportamento";var JX="Bestemmie e volgarit\xE0",ZX="Richiesta sessuale";var XX="Suicidio e autolesionismo",eee="Terrorismo ed estremismo violento",tee="Traffico",oee="Minacce violente, incitamento e glorificazione della violenza";var nee="Richiedi l'anteprima",Ez="URL richiesta";var sa="I campi obbligatori sono contrassegnati da un asterisco";var iee="Tipi";var ree="Codice risposta";var Az="Riavvia";var see="{numberOfResults} risultati";var Uf="Riprendi",N0="Ripeti";var aee="Ruolo";var lee="Percorso di apprendimento";var cee="Ruoli";var uee="RSS",dee="Esegui";var F0="Stiamo riscontrando un problema con il processo di verifica della sicurezza necessario per attivare la risorsa. Riprovare tra 10 minuti.",kz=`Abbiamo esaminato la tua contestazione e abbiamo stabilito che il tuo account ha violato le Condizioni per l'utilizzo. L'accesso alle risorse interattivo non verr\xE0 ripristinato. Puoi tuttavia continuare ad accedere ai contenuti per la formazione di Microsoft Learn. Molti esercizi del modulo possono essere completati con la tua sottoscrizione personale, ma \xE8 possibile che vengano applicati addebiti e potrebbe essere necessario modificare le istruzioni in modo da usare la tua sottoscrizione.`;var tt="Salva";var pee="Competenza";var Iz="Aggiungere al piano",Lz="Aggiunto/a ai piani",mee="Gestire {title} nei piani",gee="Aggiungere {title} a un piano";var Pz="Copiare piano",fee="Giorni per l'attivit\xE0 cardine: {number}";var hee="Tempo stimato per il completamento: {time}";var bee="{number} attivit\xE0 cardine in questo piano";var _ee="Attivit\xE0 cardine {number}",vee=`L'aggiunta a {collectionName} \xE8 stata completata`,yee='Aggiunto/a ai piani',xee="Accedi a Microsoft Learn per usare l'intelligenza artificiale per creare un piano di apprendimento personalizzato che tenga conto delle tue esigenze specifiche e fornisca i contenuti pi\xF9 pertinenti.",Tee='Rimosso da {collectionName}',See='Rimosso/a dai piani',q0="Sfondo",wee="Ruolo corrente",Cee="Scegli un ruolo",U0="Fornire informazioni sulla propria carriera.",Eee="Specificare il titolo e le responsabilit\xE0 dettagliati",Aee="In che fase \xE8 la carriera personale?",kee="Fase iniziale della carriera (0 - 5 anni)",Iee="A met\xE0 della carriera (5 - 10 anni)",Lee="Carriera avanzata (10+ anni)",Pee="Crea il tuo piano",Ree="{AppliedSkills} (valutazioni di lab interattive basate su scenari)",Mee="Completare un progetto complesso al lavoro",Dee="Ottenere credenziali professionali nel proprio campo",$ee="Migliorare un set di competenze, ad esempio imparare un nuovo strumento software o un nuovo linguaggio di programmazione",zee="Immettere tecnologie, obiettivi e metriche di successo del progetto",Nee="Tenere premuto CTRL sul pulsante Windows/Comando in Mac per selezionare pi\xF9 opzioni.",Fee="Specificare i dettagli del progetto",qee="Credenziali basate su scenari ottenute tramite valutazioni pratiche e interattive del lab che dimostrano la competenza e la capacit\xE0 di implementare una soluzione reale.";var Rz="Seleziona categoria",Ly="Seleziona certificazione",Uee="Seleziona credenziali",O0="Selezionare una competenza",Mz="Selezionar oggetto",Oee="Seleziona tipo di credenziali",Hee="Quali sono i tuoi obiettivi di carriera?",Bee="Scegliere l'obiettivo del piano",H0="Completare un progetto specifico",Vee="Fornire una descrizione dettagliata del progetto, tra cui un'istruzione del problema e il risultato previsto insieme a tecnologie, framework, linguaggi o servizi in uso.",Gee="Specificare il titolo e le responsabilit\xE0 dettagliati",Qee="Quali sono l'obiettivo, il problema e il risultato previsto del progetto? Includere tecnologie, framework, linguaggi e servizi in uso.",jee="Cosa fare e non fare quando si descrive il progetto",Yee=`Che cosa fare: "Sto sviluppando un'applicazione basata sul Web che sfrutta gli algoritmi di Machine Learning per stimare le esigenze di inventario, tenere traccia dei livelli delle scorte in tempo reale e automatizzare i processi di riordinamento.

Le funzionalit\xE0 principali sono il rilevamento dell'inventario in tempo reale, l'analisi predittiva, il riordinamento automatizzato e un report/analisi.

Le tecnologie che verranno usate sono Microsoft Blazor per l'interfaccia utente front-end, ASP.NET Core per la logica lato server e le richieste API, Azure Cosmos DB per l'archiviazione di dati e transazioni di inventario, Azure Machine Learning e servizi cloud di Azure."`,Wee=`Che cosa non fare: "\xC8 necessario creare un'app Web di rilevamento inventario".`,Kee=`Dedicare alcuni minuti per creare il piano di apprendimento con l'intelligenza artificiale, personalizzato per l'utente. Microsoft non condivider\xE0 mai questi dati. Leggere le note sulla trasparenza dell'intelligenza artificiale per altre informazioni su casi d'uso, limitazioni e informativa sulla privacy.`,B0="Ottieni una verifica dei titoli",Jee="Come si vogliono ottenere le credenziali?",Zee="Convalidare le competenze tramite una valutazione basata su scenari",V0="Selezionare le co{AppliedSkills} pi\xF9 rilevanti",Xee="Ottenere una certificazione Microsoft riconosciuta dal settore e basata sui ruoli",G0="Certificazioni riconosciute dal settore",Q0="Si \xE8 verificato un errore. Riprovare.",ete="Il piano non \xE8 stato generato perch\xE9 il modulo potrebbe includere la formulazione che potrebbe essere violazione del codice di comportamento di Microsoft Learn. Si prega di ricominciare e modificare la formulazione.",tte="Sfortunatamente, non \xE8 stato possibile generare il piano. Si prega di ricominciare.",ote="Non \xE8 possibile aprire il piano. Riprovare.",nte="Non \xE8 stato possibile trovare le credenziali per questo ruolo. Selezionare un ruolo diverso e riprovare.",j0="Immettere la posizione e le responsabilit\xE0 dettagliate che possono aiutare il sistema di intelligenza artificiale a personalizzare meglio il piano di apprendimento. \xC8 consigliabile aggiungere la posizione e i dettagli sulle attivit\xE0 specifiche eseguite in relazione all'obiettivo del piano";var ite="Fornire tutti i dettagli possibili, ma non includere informazioni private o riservate",Dz="Questo piano \xE8 stato utile?",rte="I prompt e le risposte generate verranno condivisi. Anteprima di ci\xF2 che verr\xE0 condiviso {here}",$z="Questo piano \xE8 utile",zz="Questo piano non \xE8 utile",ste="Apprezziamo che venga preso il tempo per valutare il piano suggerito e fornire commenti. L'input ci aiuter\xE0 a migliorare l'esperienza.",ate="Quale aspetto del piano potrebbe essere migliorato?",lte="Quali sono gli elementi che sono stati apprezzati di questo piano?",cte="Obiettivo",ute="Generare il piano",Y0="Generazione del piano in corso...",dte="Ci siamo quasi",pte="\xC8 quasi tutto pronto: mancano solo gli ultimi ritocchi per garantire che tutto sia perfetto!",mte="Tempo di completamento",gte="Attualmente \xE8 in corso la stima del tempo di completamento delle attivit\xE0 cardine in base al ritmo di apprendimento.",fte="Successivamente verranno delineati i risultati dell\u2019apprendimento.",hte="Infine verranno impostate le attivit\xE0 cardine, tra cui le fasi chiave e quelle di verifica.",bte="Prima di tutto verranno generati il titolo e la descrizione del piano che definiranno lo scopo e l'ambito del progetto.",_te="Titolo e descrizione",W0="Crescere nella carriera attuale",vte="Come funziona?",yte=`Ogni piano generato dall'IA si basa sulle selezioni e sulle informazioni fornite. I contenuti pertinenti di Microsoft vengono curati per creare un piano personalizzato. Questo piano include formazione e documentazione su misura, attivit\xE0 cardine organizzate, strumenti di rilevamento dello stato per singoli utenti o gruppi e riconoscimento al completamento. Altre informazioni sul funzionamento della generazione del piano di IA e sulle relative limitazioni.`,Of="Obiettivi",K0="Fornire maggiori informazioni sui propri obiettivi di carriera.",J0="Iniziare una nuova carriera",xte="Immettere la posizione e le responsabilit\xE0 dettagliate. \xC8 consigliabile usare posizioni specifiche e/o responsabilit\xE0 dettagliate correlate all'obiettivo del piano. Ci\xF2 consente al sistema di intelligenza artificiale di essere pi\xF9 personalizzato e accurato.",Tte="Descrizione del ruolo",Ste="Seleziona il ruolo",wte="Selezionare il ruolo pi\xF9 rilevante",Cte="Quale ruolo si vuole esplorare?",Ete="Ricomincia senza salvare",Ate="Ricominciare senza salvare il piano?",kte="Se si ricomincia, il piano e le informazioni immesse non verranno salvate e sar\xE0 necessario immettere di nuovo i dettagli e le preferenze.",Ite="Dedicare alcuni minuti per creare il piano di apprendimento con l'intelligenza artificiale, personalizzato per l'utente.",Py="Comunicare l'obiettivo",Lte="Aggiungere il maggior numero possibile di informazioni e dettagli",Pte=`Esempio: "Il mio obiettivo \xE8 diventare esperto nei servizi di intelligenza artificiale di Azure. Si vuole imparare a creare, distribuire e gestire modelli di intelligenza artificiale usando Azure Machine Learning. Inoltre, ho l'obiettivo di comprendere come integrare questi modelli nelle applicazioni esistenti per migliorare le proprie funzionalit\xE0 e fornire informazioni pi\xF9 dettagliate."`,Ry="Sequenza temporale",My="Facci sapere quanto tempo hai a disposizione per lavorare al tuo piano.",Rte="Quanto tempo si pu\xF2 dedicare settimanalmente?",Mte="Quando si vuole completare il piano di apprendimento?",Dte="Meno di 1 ore",$te="1-2 ore",zte="3 - 5 ore",Nte="5 - 10 ore",Fte="Pi\xF9 di 10 ore",qte="Entro 3 mesi",Ute="3-6 mesi",Ote="6-12 mesi",Hte="Pi\xF9 di 12 mesi";var Hf="Rivedere il piano";var Bte="L'operazione \xE8 stata completata. Il nuovo piano \xE8 pronto. Rivedere perch\xE9 il contenuto generato da IA potrebbe non essere accurato.";var Vte="Piano di esempio",Gte="Questo piano di capacit\xE0 illustra lo sviluppo di soluzioni IA usando Servizi di Azure AI, concentrandosi sull'elaborazione del linguaggio naturale, sulla IA generativa e sulle applicazioni di intelligenza artificiale personalizzate. Si apprender\xE0 a sfruttare i potenti strumenti e servizi di Azure.";var Qte="Al termine di questo piano, sar\xE0 possibile creare e implementare soluzioni di intelligenza artificiale usando Servizi di Azure AI, tra cui l'elaborazione del linguaggio naturale e le applicazioni di IA generativa.",jte="Al termine di questo piano, sar\xE0 possibile implementare applicazioni di intelligenza artificiale personalizzate usando Azure OpenAI e Studio AI della piattaforma Azure.",Yte="Al termine di questo piano, sar\xE0 possibile sviluppare applicazioni intelligenti che usano le funzionalit\xE0 di Azure per intelligenza artificiale in diversi casi d'uso.",Wte="Informazioni su Servizi di Azure AI",Kte="In questa sezione si esploreranno i dati principali di Servizi di Azure AI, ottenendo la conoscenza fondamentale per creare soluzioni di IA. Le tecnologie chiave includono Servizi di Azure AI, con attivit\xE0 quali la comprensione delle funzionalit\xE0 del servizio e la configurazione iniziale.",Jte="Introduzione a Servizi di Azure AI",Zte="Sviluppare soluzioni di IA avanzata con Azure",Xte="Questa sezione \xE8 incentrata sullo sviluppo di soluzioni di IA avanzata, tra cui elaborazione del linguaggio naturale e IA generativa. Gli studenti lavoreranno con Servizi di Azure AI e Servizio OpenAI, impegnandosi in attivit\xE0 quali la creazione di modelli linguistici e la creazione di copiloti personalizzati.",eoe="Sviluppare soluzioni di elaborazione del linguaggio naturale con Servizi di Azure AI",toe="Sviluppa applicazioni con Azure OpenAI nei modelli di Foundry",ooe="Sviluppare copiloti personalizzati con Studio AI della piattaforma Azure",noe="Sviluppare soluzioni di IA con Servizi di Azure AI",ioe='Piani aggiornati';var roe="Scegliere un nome diverso per il piano",soe="Copia collegamento";var Z0="Gestione";var X0="Esci",aoe="Rimuovi dal piano",loe="Confermi di voler uscire da questo piano?",coe="Tutti i record dello stato di avanzamento andranno persi e non verranno visualizzati nel report dell'autore.",uoe="S\xEC, chiudi",doe="Immettere un titolo";var poe="Questo piano \xE8 privato.",moe="L'autore di questo piano lo ha contrassegnato come privato e non \xE8 attualmente visibile ad altri utenti.",goe="Puoi esaminare i piani nel profilo utente.",foe="Visualizzare i piani",hoe='Puoi anche tornare ai piani.',boe="Piano non disponibile",_oe="Questo piano non esiste o \xE8 stato rimosso.",voe="Se questo collegamento \xE8 stato condiviso con te, richiedi un nuovo collegamento.",yoe="Completato";var xoe="Un piano consente ai discenti di procedere attraverso una serie di attivit\xE0 cardine per ottenere risultati di apprendimento. \xC8 possibile invitare i discenti al proprio piano e tenere traccia dei loro progressi.",Toe="Avviato";var Soe="Piano ufficiale";var woe="Pagina non trovata. Aggiorna la pagina.",Coe="Una o pi\xF9 attivit\xE0 cardine sono vuote o mancano i giorni consigliati per il completamento. Risolvere questi problemi prima di pubblicare il piano.",Eoe="Dettagli piano";var Aoe="Elimina piano",koe="Per eliminare il piano, assicurarsi che non contenga alcun utente aggiunto. Tutti gli utenti devono prima rimuovere il piano.",Ioe="Eliminare il piano seguente?",Loe="S\xEC, eliminare il piano";var Bf="Invita studenti",Nz="Copia il link di partecipazione",Poe="Collegamento copiato negli Appunti",Roe="Elimina gruppo di apprendimento",Moe="Si sta per eliminare il gruppo di apprendimento seguente: {learningGroupName}. Continuare?",Doe="Gruppo eliminato",$oe="Gruppi",Dy="Nome del gruppo",zoe="Privati";var Noe="Un gruppo di apprendimento \xE8 un nome che consente di identificare un gruppo di studenti nel rapporto sullo stato di avanzamento; gli studenti non vedranno questo nome.

La creazione di un gruppo di apprendimento genera un collegamento univoco al piano per il gruppo specifico di studenti.";var Fz="Nuovo gruppo di apprendimento",Foe="Immetti un nome per questo gruppo di apprendimento",qoe="Invito per avviare il piano {planTitle} su Microsoft Learn",Uoe="Avviare il piano e iniziare il percorso di apprendimento oggi stesso.",Ooe="\xC8 stato ricevuto un invito per avviare il piano {planTitle} su Microsoft Learn.",Hoe="Un piano \xE8 un set di contenuti curati e organizzati su Microsoft Learn con attivit\xE0 cardine concepite per raggiungere i propri obiettivi di apprendimento.",Boe="Completando questo piano, si raggiungeranno i risultati di apprendimento seguenti:",Voe="\xC8 possibile avviare il piano oggi stesso!",Vf="Visualizzare lo stato",Goe="Scaricare questo file per visualizzare un elenco di discenti e i relativi progressi.",eA="Scarica CSV",Qoe="Il file contiene le informazioni seguenti:",joe="Gruppo di discenti",Yoe="Nome utente Learn",Woe="Data di inizio",Koe="Data di fine",Joe="Elementi completati",Zoe="Elementi in totale",Iu="Risultati di apprendimento",Xoe="Modifica i risultati di apprendimento",ene="Un risultato di apprendimento \xE8 una conoscenza o competenze specifiche che il discente otterr\xE0 in seguito al completamento di questo piano.",tne='Suggerimento: iniziare ogni risultato di apprendimento con un verbo. Ogni risultato dovrebbe terminare la frase "Al termine di questo piano, gli studenti saranno in grado di..."';var one="Risultato 1",nne="Risultato 2 (facoltativo)",ine="Risultato 3 (facoltativo)",rne="Risultato {number}",sne="Convertire in un piano ufficiale",ane="Convertire un piano in un piano ufficiale",lne="\xC8 consigliabile usare un piano ufficiale quando si vuole che il piano rappresenti Microsoft e se si desidera includere collegamenti esterni a Microsoft Learn. Assicurarsi sempre che il piano sia completo, privo di errori tipografici e che il contenuto si trova nella sequenza corretta. Una volta pubblicato un piano ufficiale, non pu\xF2 essere modificato.",cne="Per mantenere i collegamenti esterni da una raccolta o un piano ufficiale sottostante, convertirlo in un piano ufficiale.",une="Un piano ufficiale rappresenta Microsoft, quindi \xE8 necessario assicurarsi che il piano pubblicato sia completo, privo di errori tipografici e che il contenuto si trovi nella sequenza corretta.";var tA="Questo piano \xE8 stato inviato per la localizzazione",dne="Il piano \xE8 completo e corretto",pne="Grazie per aver inviato il piano ufficiale per la localizzazione.",mne="Contrassegna come completato",qz="Passaggio fondamentale",gne="Aggiungi attivit\xE0 cardine",fne="Modifica attivit\xE0 cardine";var hne="Nuova attivit\xE0 cardine",bne="Giorni per l\u2019attivit\xE0 cardine:",_ne="1 attivit\xE0 cardine",vne="{numberOfMilestones} attivit\xE0 cardine";var yne="Attivit\xE0 cardine completata";var xne="Sposta in";var Tne="Verificare che tutte le attivit\xE0 cardine abbiano un titolo e i giorni per il completamento. Potrebbe essere necessario espandere ogni attivit\xE0 cardine.";var Sne="Contrassegnare come completato?",wne="Contrassegnarlo completo? Dopo averlo contrassegnato come completato, non sar\xE0 possibile esaminarlo di nuovo.",Cne="Benvenuto!",Ene="Per avviare questo piano, \xE8 necessario condividere i dati sullo stato del piano con l'autore del piano. I dati che verranno condivisi sono: le date di inizio e di completamento del piano e il numero di elementi del totale completato in qualsiasi momento. I dati verranno associati al nome utente di Learn pubblico.",Ane="Si accetta di condividere i progressi?",kne="S\xEC, accetto di condividere l\u2019avanzamento",Ine="Se desideri ricevere email utili per guidare e incoraggiare l'utente durante il tuo percorso relativo ai piani, vai alla pagina Impostazioni profilo e fornisci un\u2019email di contatto per le notifiche.",Lne="Salvare tutti gli elementi in questo piano come nuovi",Pne="Eseguire l'accesso per aggiungere questo elemento al piano.";var Rne="Non sono ancora presenti piani.",Uz="Esiste gi\xE0 un gruppo di apprendimento con questo nome. Immetti un nome diverso.";var Mne="Piano segnalato",Dne=`\xC8 stato segnalato un problema su questo piano, che al momento \xE8 in revisione da parte di Microsoft. Per ulteriori informazioni, fare riferimento alle condizioni per l'utilizzo.`;var $ne="Salva la raccolta personalizzata";var Oz="Pianifica l'esame";var no="Ricerca";var zne="Cerca in Microsoft Learn";var Hz="Filtri di ricerca";var $y="Cerca nelle versioni precedenti";var oA="Secondi",Nne="{duration} secondi fa",Fne="{seconds} secondi",nA="Sezione",qne="Sezione intitolata: {title}";var zy="Comprimi";var Lu="Altre informazioni";var iA="Seleziona il pacchetto";var rA="Seleziona la versione";var Une="Servizio";var Ny="Impostazioni",sA="Condividi";var aA="[Articolo condiviso] {articleTitle}",One="Ho completato {achievementTitle}! Festeggio con orgoglio questo obiettivo raggiunto e spero che sia l'ispirazione per iniziare il tuo processo per @MicrosoftLearn!";var Fy="Condividi nel tuo feed:";var Bz="Condividi tramite";var Hne="Condividi il risultato ottenuto:",Bne="Condivisione",Vne="La condivisione \xE8 disabilitata per il contenuto che richiede l'autorizzazione.";var Gf="Mostra meno",Pu="Mostra altro",lA="Mostra {number} in pi\xF9",cA="Connesso",Qi="Accedi";var Gne="Accesso...";var Qne='Accedi a Microsoft Learn';var qy="Accedi per iniziare",zp="Disconnetti";var jne="Sito";var Yne="altri {count}",uA="Cancella filtri",Wne="Nascondi filtro",Vz="Opzioni {filter}";var Kne="Termini oggetto di query:",Gz="Sto pensando...",Qz="Sto generando un risultato...",jz="Sto cercando...",Jne="Risultati ricerca",Zne="Contenuto accurato/pertinente",Xne="Contenuto completo/non crittografato",eie="Risposta rapida",tie="Contenuto impreciso/non pertinente",oie="Contenuto incompleto/non chiaro",nie="Contenuto offensivo/inappropriato",iie="Risposta lenta",Yz="Qualcos'altro",Wz="Fornire tutti i dettagli possibili, ma non includere informazioni private o riservate",rie="Parla con noi",sie="Questa risposta \xE8 stata utile",aie="Questa risposta non \xE8 stata utile",Qf="Riepilogo IA",Np="Si \xE8 verificato un errore. Riprova pi\xF9 tardi.",Kz="I riepiloghi non sono temporaneamente disponibili. Riprovare pi\xF9 tardi.";var Jz="Recupero del riepilogo non riuscito",Zz="Risposta del riepilogo non valida";var Ru="Il contenuto generato dall'IA potrebbe non essere corretto.",jf=`Leggere le note sulla trasparenza dell'IA per altre informazioni.`,lie=`Leggere le note sulla trasparenza dell'IA per altre informazioni.`,Yf="Grazie per aver inviato il feedback.",Uy="Nascondi",Xz="Mostra",dA="Generazione in corso...",cie="Attendi qualche minuto e riprova.",pA="Queste informazioni non sono ancora disponibili.",uie='{count} risultati per "{searchPhrase}"',die='{count} risultato per "{searchPhrase}"',pie='{count} risultati simili per "{searchPhrase}"',mie='{count} risultato simile per "{searchPhrase}"',gie='{count} risultati per "{searchPhrase}" in {scope}',fie='{count} risultato per "{searchPhrase}" in {scope}',hie='{count} risultati simili per "{searchPhrase}" in {scope}',bie='{count} risultato simile per "{searchPhrase}" in {scope}',_ie='Non \xE8 stata trovata alcuna corrispondenza. Vengono visualizzati {count} risultati simili a "{searchPhrase}".',vie='Non \xE8 stata trovata alcuna corrispondenza. Viene visualizzato {count} risultato simile a "{searchPhrase}".';var yie="oppure visualizza tutti i risultati in Microsoft Learn",xie='{count} risultati per "{searchPhrase}" in {scope} {pivotCategory}',Tie='{count} risultato per "{searchPhrase}" in {scope} {pivotCategory}',Sie='{count} risultati simili per "{searchPhrase}" in {scope} {pivotCategory}',wie='{count} risultato simile per "{searchPhrase}" in {scope} {pivotCategory}',Mu="Non siamo riusciti a trovare elementi corrispondenti alla tua ricerca.",Cie="Abbiamo provato a eseguire il controllo ortografico e ad ampliare l'ambito della ricerca, ma non sono stati comunque trovati risultati. Prova a usare una parola chiave o una frase diversa.",Eie="Nel dispositivo \xE8 attualmente presente un blocco di protezione. I dettagli non sono attualmente disponibili. Quando l'aggiornamento \xE8 disponibile, verr\xE0 visualizzato nella pagina di Windows Update in Impostazioni.",Aie="L'aggiornamento non \xE8 ancora disponibile per il dispositivo",kie="Non siamo riusciti a trovare elementi corrispondenti alla tua ricerca in {scope}.",Iie='Puoi comunque .',Lie='Non sono stati trovati risultati corrispondenti a "{searchPhrase}"',Pie='Non sono stati trovati risultati corrispondenti a "{searchPhrase}" in {scope}';var Du="Si \xE8 verificato un errore",io="Si \xE8 verificato un errore. Riprova.";var Fp="GitHub";var Rie="Ordina per:";var aa="Avvio",Mie="Inizia {startDate}",Die="Data di inizio";var $ie="Data di inizio";var zie="Ricomincia da capo";var Nie="Passaggio {step-index} di {step-count}",Fie="Gestisci {title} nelle guide allo studio",qie="Aggiungi {title} nelle guide allo studio";var Uie="Oggetto",Oie="Oggetti",$o="Invia",Hie="Invia un altro feedback";var Bie="L'invio \xE8 stato completato!",Vie="L'invio di feedback \xE8 molto apprezzato. Lo esamineremo a breve. Nota che l'invio di feedback \xE8 una comunicazione unidirezionale e non risponderemo in questo momento.",Gie="Nota che, anche se non possiamo rispondere al feedback, il nostro team user\xE0 i tuoi commenti per migliorare l'esperienza.";var Qie="Suggerimenti",jie="I suggerimenti verranno filtrati durante la digitazione";var Yie="Supporto";var Wie="Tabella {index}";var Kie="Tag";var eN="Tag";var Jie="Caratteri rimanenti";var Zie="Le immagini esterne possono essere collegate solo da determinati siti Web. Questi URL di immagine non sono consentiti: {urls}. Fai clic pe visualizzare l'elenco completo di domini consentiti.",Xie="Il file {fileName} non \xE8 valido. Il tipo di file deve essere un'immagine con formato GIF, JPG, JPEG o PNG valido.",ere="Il file {fileName} \xE8 troppo grande. Le dimensioni del file non possono superare 5 MB.";var tre="Cloud Shell";var ore="{account} ha gi\xE0 un profilo",nre="Hai raggiunto il limite di account",ire="Non \xE8 possibile collegare pi\xF9 di cinque account aziendali o dell'istituto di istruzione a un profilo. Rimuovi un account e riprova.";var rre="Hai gi\xE0 un account collegato nella stessa organizzazione";var sre="Aggiungi un altro account e riprova.";var are='Puoi collegare solo account che non hanno un profilo registrato. Seleziona un account diverso o vedi le indicazioni per la risoluzione dei problemi per altri dettagli.';var lre="Hai gi\xE0 collegato questo account",cre="{account} \xE8 un account personale. Seleziona un account aziendale o dell'istituto di istruzione.";var ure="Devi avere almeno un account collegato al profilo.";var dre="\xC8 supportato solo un account per organizzazione.",pre="Puoi avere solo un account personale collegato",mre="\xC8 attualmente in corso l'unione di questo profilo",gre="Puoi aggiornare la pagina per controllare lo stato dell'unione.";var fre="Seleziona un account",tN="Seleziona un account diverso";var hre="Un profilo di certificazione \xE8 gi\xE0 connesso a questo profilo",bre="Per continuare, contatta il supporto tecnico per rimuovere il profilo di certificazione corrente e continuare.";var _re="Questo profilo \xE8 stato bloccato",vre="Questo profilo \xE8 attualmente bloccato e verr\xE0 unito a un altro profilo. Accedi a un profilo diverso.",oN="Riprova a eseguire l'unione",nN="Termina unione";var yre="L'unione \xE8 stata completata";var xre="Puoi aggiornare la pagina per controllare lo stato dell'unione.",Tre="Il record dell'unione dei profili non \xE8 stato trovato",Sre=`Non \xE8 possibile trovare l'unione del profilo. Aggiorna la pagina. Se il problema persiste, contatta l'assistenza clienti.`,wre="Un precedente tentativo di unione impedisce questa azione",Cre="Uno dei profili che si sta tentando di unire \xE8 attualmente in fase di unione con un altro profilo. Accedere a entrambi i profili per controllare lo stato.";var Ere="I profili sono stati uniti.",Are="Si \xE8 verificato un problema durante l'unione del profilo di origine (nome utente: {sourceUser}) con il profilo di destinazione (nome utente: {destinationUser}).",kre="\xC8 possibile che alcuni dati siano stati uniti durante il processo, quindi si prevede che alcuni dati scompaiano dal profilo di origine e vengano visualizzati nel profilo di destinazione.",Ire="Puoi scegliere una delle azioni seguenti:",Lre="{terminateMergeText}: Verr\xE0 arrestato e chiuso il processo di merge. Potrai usare normalmente entrambi i profili e attivare una nuova unione in qualsiasi momento. I dati gi\xE0 uniti rimarranno nel profilo di destinazione.",Pre="{retryMergeText}: Verr\xE0 eseguito di nuovo il processo di merge per l'utente. Il profilo di origine verr\xE0 bloccato durante il processo di unione.",Rre="Unione in corso. pu\xF2 richiede alcuni minuti.",Mre="L'unione \xE8 stata interrotta.";var Dre="Microsoft MVP";var $re="Student Ambassadors di Microsoft Learn";var zre="Accedi con un altro account";var Nre="Ti diamo il benvenuto in Domande & risposte!",Fre="Ottieni aggiornamenti personalizzati sugli argomenti che ti interessano",qre="Costruisci la tua reputazione aiutando gli altri",Ure="Connettiti immediatamente con le persone che condividono i tuoi interessi";var Ore="Senza completare la registrazione, non sar\xE0 possibile pubblicare o porre una domanda in Domande & risposte.";var Hre="Condividi la tua opinione",mA="Condividi altre informazioni.",Bre="Condividi la tua opinione.",Vre="Condividi la tua opinione! I tuoi commenti sono essenziali per noi.";var Gre="Terribile";var gA="Grazie per il feedback.",Qre="Grazie per il feedback interessante!";var jre="Questo articolo \xE8 utile",Yre="Questo articolo non \xE8 utile";var Wre="Questa pagina";var Kre="Questa sezione verr\xE0 eliminata definitivamente.";var Jre="Microsoft Build 2026";var Zre="2-3 giugno 2026",Xre="Approfondire il codice reale e i sistemi reali a San Francisco e online",ese="Altre informazioni",tse="Suggerimento";var pc="Titolo";var ose="Il tuo account {email} di Azure ha pi\xF9 tenant. Scegline uno da usare per questa esperienza.",nse="Hai gi\xE0 eseguito l'accesso a Learn con l'account seguente. Vuoi continuare l'esperienza corrente con questo account?",ise="Conferma l'account",rse="Continua con l'account",sse="Scegli uno dei tuoi tenant di Azure",ase="Versione di valutazione gratuita di Azure",lse="Si \xE8 verificato un problema! In questo account non \xE8 disponibile alcuna sottoscrizione di Azure",cse="Il tuo account {email} non ha alcuna sottoscrizione di Azure associata. Puoi provare una versione di valutazione gratuita di Azure o accedere con un account diverso!",use="Se il tuo account non ha un profilo di Learn registrato, questo processo completer\xE0 la procedura per conto tuo.";var dse="Accedi con il tuo account.",fA="Usa un account diverso";var ji="Formazione";var $u="Si \xE8 verificato un errore. Ricarica la pagina per riprovare.";var Oy="Riprova";var Wf="Prova",pse="Prova l'API REST con gli input riportati pi\xF9 avanti.",mse="Si \xE8 verificato un problema durante l'elaborazione della richiesta",gse="Esercitazione";var fse="Ultimi 7 giorni",hse="Ultime 24 ore",bse="Ultimi 30 giorni",_se="Ultimi 365 giorni";var vse="tipo";var yse="URL",hA="URL copiato!";var iN="Verifica l'account",Kf="Versione",xse="Versioni";var rN="Video";var sN="Visualizza i risultati ({totalResults})";var Tse="\xC8 consigliabile usare Visual Studio 2019.",Sse="Scarica ora",wse="Documentazione di Visual Studio";var Cse="Avviso";var Ese="Questa pagina \xE8 stata utile?";var Ase="Pagina Web";var bA="Settimana";var _A="Settimane";var kse="{duration} settimane fa";var Ise='Benvenuto in Microsoft Learn!';var Lse="Qual \xE8 il motivo per il feedback?";var Pse='con intelligenza artificiale in Microsoft Learn ';var Rse="Documentazione di Windows";var Jf="x.com",aN="{totalXP} XP";var Mse="Year",lN="Anni";var ys="S\xEC",qp="S\xEC, elimina";var Dse="Non sono ancora presenti raccolte.";var $se="Devi selezionare tra {min} e {max} {tagLabel}.",zse="`{tagLabel}` non \xE8 pi\xF9 in uso. Usare un tag diverso che si applica allo scenario.";var Nse="Account";var Fse="MSDN TechNet \xE8 stato ritirato e questo articolo non esiste pi\xF9. I collegamenti seguenti contengono informazioni correlate:",qse="Contenuto wiki di TechNet archiviato",Use="Forum MSDN e TechNet archiviati";var Ose="Documentazione di Microsoft Learn",Hse="Home page di Microsoft Learn",Bse="Microsoft Q&A";var Up=window;var U=Up,Zf=Up.navigator,S=Up.document,Vse=Up.localStorage,Yn=Up.history,J=Up.location,b=U.msDocs,Se=new Promise(e=>{S.readyState==="loading"?S.addEventListener("DOMContentLoaded",()=>e()):e()});A();function Lt(){window.dispatchEvent(new CustomEvent("content-update"))}function Kt(e,t,o="",n="button-info",i="banner",r){let s=r||S.getElementById("disclaimer-holder");if(!s||S.getElementById("server-disclaimer-holder"))return null;let l=t&&t.url?d` ${t.text} `:"",c=t&&t.clickHandler?d` `:"",u=t?d`
${l||c}
`:"";return y(d` `,s),Lt(),s}var Vy="__event_type_id__",mLe=0,Be=class{constructor(){this.callbacks={}}publish(t){let o=t.constructor[Vy];if(o===void 0||this.callbacks[o]===void 0)return;let n=this.callbacks[o].slice(0);for(let i of n)i(t)}subscribe(t,o){t.hasOwnProperty(Vy)||(t[Vy]=mLe++);let n=t[Vy];this.callbacks[n]===void 0&&(this.callbacks[n]=[]);let i=this.callbacks[n];return i.indexOf(o)===-1&&i.push(o),()=>this.unsubscribe(t,o)}unsubscribe(t,o){let n=t[Vy];if(n===void 0||this.callbacks[n]===void 0)return;let i=this.callbacks[n],r=i.indexOf(o);r!==-1&&i.splice(r,1)}dispose(){this.callbacks={}}},dt=new Be;function Fu(e,t,o){let n=()=>{},i=r=>{o(r),n()};return n=e.subscribe(t,i),n}var EA=class{constructor(t){this.url=t}},To=class{constructor(t,o,n){this.title=t;this.url=o;this.referrerUrl=n}};var ol;function EN(){ol={};let e=S.head.querySelectorAll("meta[name],meta[property]");for(let t=0;t{let n=o.name||o.getAttribute("property");return t[n]=o.content,t},{})}function P(e){return ol===void 0&&EN(),ol[e]===void 0?void 0:ol[e][0]}function xs(e){return ol===void 0&&EN(),ol[e]?ol[e].slice():[]}var at=class{static get contentDir(){return b.data.contentDir}static get contentLocale(){return b.data.contentLocale}static get userDir(){return b.data.userDir}static get userLocale(){return b.data.userLocale}static get hasLocSideBySideTranslation(){return P("enable_loc_sxs")==="true"||P("bilingual_type")==="hover over"}static get translationType(){return P("ms.translationtype")?.toUpperCase()}static get machineTranslated(){return this.translationType?/^(?:MT|MTE|MTE75|MTE95)$/i.test(this.translationType):!1}},Pr=class{static get brand(){return b.data.brand}static get kind(){return P("page_kind")}static get type(){return P("page_type")}static get template(){return b.data.pageTemplate}};function te(e){let t,o=/\+/g,n=/([^&=]+)=?([^&]*)/g,i=s=>decodeURIComponent(s.replace(o," "));e===void 0&&(e=J.search),e=e.substring(1);let r={};for(;t=n.exec(e);)r[i(t[1])]=i(t[2]);return r}function ne(e,t=!1){let o=[];for(let n in e)e.hasOwnProperty(n)&&e[n]!==""&&e[n]!==null&&e[n]!==void 0&&(t&&Array.isArray(e[n])?e[n].forEach(i=>{o.push(encodeURIComponent(n)+"="+encodeURIComponent(i))}):o.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n].toString())));return o.join("&")}function Bt(e,t,o){let n=te(),i=!1;for(let c in e)e.hasOwnProperty(c)&&n[c]!==String(e[c])&&(n[c]=e[c],i=!0);let r=J.hash;if(typeof o=="string"&&(o=o.trim(),o.substr(0,1)!=="#"&&o!==""&&(o=`#${o}`),r!==o&&(r=o,i=!0)),!i)return;let s=ne(n);s.length>0&&(s="?"+s);let a=`${J.protocol}//${J.host}${J.pathname}${s}${r}`,l=Yn.state||{};t==="pushState"?Yn.pushState(l,S.title,a):t==="replaceState"?Yn.replaceState(l,S.title,a):J.href=a}function AN(e){let t=S.createElement("a");/^https:\/\/|^http:\/\//.test(e)?t.href=e:/^\/\//.test(e)?t.href=J.protocol+e:t.href=J.origin+e;let o=t.pathname[0]==="/"?t.pathname:"/"+t.pathname,n=t.host.replace(/:443$|:80$/,""),i=t.hostname.replace(/:443$|:80$/,"");return{hash:t.hash,host:n,hostname:i,href:t.href,origin:`${t.protocol}//${n}`,pathname:o,protocol:t.protocol,search:t.search}}function kN(e,t=2e3,o=";"){let n=encodeURIComponent(o).length,i=[],r,s;for(let a of e){let l=encodeURIComponent(a).length;if(l>t)throw new Error(`The encoded length of "${a}" (${l}) is greater than the max partition length (${t}).`);(!r||s+l>t)&&(r=[],i.push(r),s=0),r.push(a),s+=l+n}return i}function ci(e=new URL(J.href)){let t=new URLSearchParams(e.search),o={};return t.forEach((n,i)=>o[i]=n),o}var pn=(()=>{let e;return t=>{if(!t&&e!==void 0)return e;let o=te().dataSource;return e=P("is_archived")==="true"||b.data.pageTemplate==="SearchPage"&&o==="previousVersions",e}})();function fLe(){return P("is_retired")==="true"}function hLe(){let e=location.pathname.split("/").filter(t=>t!=="");return e.length>=2&&e[1]==="previous-versions"}function bLe(){if(!pn())return;let e=at.machineTranslated,t=e?YY:jY,o=hLe(),n=e?o?eW:QY:o?XY:VY,i=P("current_version_url"),r=fLe()?t:n;if(P("vs_archive")==="true"){let a=Tse,l=Sse;Kt(a,{url:`https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=${location.host}&utm_campaign=button+cta&utm_content=download+vs2019`,text:l})}if(i)Kt(r,{url:i,text:tW});else if(b.data.pageTemplate==="SearchPage"){let a=oz;Kt(lW,{url:location.origin,text:a})}else{let a=oz;Kt(r,{url:location.origin,text:a})}}function cae(){pn()&&bLe()}function _Le(e){switch(e){case"learn.microsoft.com":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!1,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"};case"review.learn.microsoft.com":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"};case"dev.learn.microsoft.com":return{supportLevel:"development",accessLevel:"online",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"};case"docs.azure.cn":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!1,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"mooncake"};case"review.docs.azure.cn":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"mooncake"};case"dev.docs.azure.cn":return{supportLevel:"development",accessLevel:"online",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"mooncake"};case"developer.microsoft.com":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!1,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"developer"};case"review.developer.microsoft.com":return{supportLevel:"production",accessLevel:"online",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"developer"};case"dev.developer.microsoft.com":return{supportLevel:"development",accessLevel:"online",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"developer"};case"localhost":return{supportLevel:"development",accessLevel:"local",reviewFeatures:!0,systemContent:!1,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"};case"learn-microsoft-com.local":case"local.learn.microsoft-int.com":case"developer-microsoft-com.local":case"docs-azure-cn.local":return{supportLevel:"development",accessLevel:"local",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"learn"};case"prdev.learn.microsoft.com":case"ppe.preview.learn.microsoft-int.com":case"prod.preview.learn.microsoft-int.com":case"mc.preview.learn.microsoft-int.com":return{supportLevel:"development",accessLevel:"online",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"learn"};default:return{supportLevel:"production",accessLevel:"online",reviewFeatures:!1,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!0,siteName:"learn"}}}var R=b?.environment?b.environment:_Le(location.hostname);var se={setItem(e,t){try{U.localStorage.setItem(e,t)}catch{}},getItem(e){try{return U.localStorage.getItem(e)}catch{return null}},removeItem(e){try{U.localStorage.removeItem(e)}catch{}},clear(){try{U.localStorage.clear()}catch{}}},mc={setItem(e,t){try{U.sessionStorage.setItem(e,t)}catch{}},getItem(e){try{return U.sessionStorage.getItem(e)}catch{return null}},removeItem(e){try{U.sessionStorage.removeItem(e)}catch{}}};var IN="docs.preview",LN=(new URLSearchParams(J.search).get("preview")||"").split(",").map(e=>e.trim().toLowerCase()).reduce((e,t)=>(t!==""&&(e[t]=1),e),{}),Gy,vLe=()=>{let e;return se.getItem(IN)?e=JSON.parse(se.getItem(IN)):e={},e},yLe=(e,t)=>{Gy=vLe();let o=LN[e]===1,n=!isNaN(Gy[e]),i=o||n,r=LN[`x-${e}`];return o?console.log(`Preview ${e} via query string`):n&&console.log(`Preview ${e} via local storage`),t&&(i||r)&&(i&&(Gy[e]=Date.now()),r&&delete Gy[e],se.setItem(IN,JSON.stringify(Gy))),i},Ve=(e,t={require:!1,persist:!1})=>{let{require:o,persist:n}=t;return R.reviewFeatures&&Object.keys(LN).length===0&&!o?!0:(e=e.toLowerCase(),yLe(e,n))};function kA(e=J.search,t=R.reviewFeatures){let o="preview-date",n=new URLSearchParams(e),i=new Date(n.get(o)).getTime();return t&&!isNaN(i)&&i!==0?i:Date.now()}var xLe=["https://github.com/dotnet/docs/blob/live/docs/standard/design-guidelines/","https://github.com/dotnet/docs/blob/main/docs/standard/design-guidelines/","https://github.com/MicrosoftDocs/azure-compliance-pr/","https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness-pr/","https://github.com/MicrosoftDocs/OfficeDocs-Teams-PhoneRef-pr/"];function uae(){let e=P("original_content_git_url");return xLe.some(o=>e?.startsWith(o))}function dae(){let e=P("page_type"),t=P("page_kind"),o=P("is_admin")==="true",n=P("is_editor")==="true";return e==="learn"||e==="profile"||o||n||t==="learn"&&(e==="browse"||e==="home")}var w=TLe();function TLe(){return{aiSummary:b.data.pageTemplate==="Conceptual"&&b.data.userLocale?.startsWith("en"),anonymousVoting:Ve("anonymous-voting",{require:!0}),arkoseEncrypt:R.reviewFeatures,apiBrowser:!0,applicationInsights:dae(),appliedSkills:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Ve("applied-skills",{require:!0})||Ve("applied-skills-share",{require:!0}),appliedSkillsManager:!0,appliedSkillsShare:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Ve("applied-skills-share",{require:!0}),assessmentBranches:R.supportLevel==="production"&&R.reviewFeatures,assessmentMergerLearnAssessment:Ve("assessment-merger-learn-assessment",{require:!0}),assessmentMergerPracticeAssessment:Ve("assessment-merger-practice-assessment",{require:!0}),assessmentMergerRenewalAssessment:Ve("assessment-merger-renewal-assessment",{require:!0}),assessments:R.siteName==="learn",assessmentsEmail:Ve("assessments-email",{require:!0}),azureNotebooks:!0,banner:!0,blogComments:!0,chatTutor:R.siteName==="learn",chromeless:!!b.data.context.chromeless,certificationAndCourseUpdates:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Ve("certification-and-course-updates",{require:!0}),certificationUpdates:Date.now()>=new Date("2023-10-06T17:00:00.000Z").getTime()||Ve("certification-updates",{require:!0}),codeSamples:!0,connectedExperiences:["Conceptual","FAQ","Question"].includes(b.data.pageTemplate),collapsibleToc:Ve("collapsible-toc",{require:!0}),contentBrowse:!0,cookieConsent:!0,courseScheduling:!0,disabledAppliedSkills:!0,disableSiteSearchSuggestions:!0,enableDeepSearch:(R.supportLevel==="development"||R.supportLevel==="production"&&R.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&P("page_type")==="search"&&pn()===!1,enableNewSiteSearch:P("page_type")==="search"&&pn()===!1,enableModernSearchAnswer:(R.supportLevel==="development"||R.supportLevel==="production"&&R.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&P("page_type")==="search"&&pn()===!1,enableSiteSearchExperiment:R.siteName==="learn"&&R.supportLevel==="production",feedbackReport:b.data.showFeedbackReport,formAdvisor:b.data.userLocale?.startsWith("en"),formAdvisorCredential:Ve("form-advisor-credential",{require:!0}),gamification:!0,gitContributors:!0,graphOriginUpdate:Ve("graph-origin-update",{require:!0}),hubUpdate:b.data.pageTemplate==="Hub"&&Ve("hub-update",{require:!0}),inlineEdit:Ve("inline-edit",{require:!0}),inlineFeedback:!0,interactivity:!0,labsOnDemand:!0,learnAssessments:!0,skipAssessmentDualWrite:Ve("assessment-v0",{require:!0}),learnEventRebrand:Ve("learn-rebrand",{require:!0}),learningPathIlt:!0,learningPathIltSearch:Ve("learning-path-ilt-search",{require:!0}),marketing:!0,mecMigration:!0,moduleUnitFeedbackReport:!0,oneCustomerVoiceFeedback:!0,oneDS:R.accessLevel!=="local",openSourceFeedback:["Conceptual","Reference","Architecture","FAQ"].includes(b.data.pageTemplate)&&b.data.feedbackSystem==="OpenSource"&&!!b.data.openSourceFeedbackIssueUrl,pageRecommendations:R.siteName==="learn"&&b.data.hasRecommendations&&(P("page_type")==="conceptual"||["FAQ","Architecture","Sample"].includes(b.data.pageTemplate))&&!["reference","managed-reference","ui-reference","language-reference","error-reference","reference-internal","hub-page","landing-page","archived"].some(e=>e===P("ms.topic")?.toLowerCase())&&P("ROBOTS")!=="NOINDEX,NOFOLLOW"&&!uae(),pdfDownload:R.siteName==="learn",permissionedContent:R.reviewFeatures&&Ve("permissioned-content"),personalChallenge:Date.now()>=new Date("2024-05-28T19:00:00.000Z").getTime()||Ve("personal-challenge",{require:!0}),practiceAssessmentsAllowParam:R.reviewFeatures&&(P("page_kind")==="practiceAssessment"||P("page_kind")==="practiceAssessmentReport"),previewCredentialsL1:Date.now()>=new Date("2023-09-18T18:00:00.000-07:00").getTime()||Ve("credentials-L1",{require:!0}),previewOneStreamPlayerNextVersion:Ve("one-stream-player-next-version",{require:!0}),previewRailEventCard:Ve("rail-event-card",{require:!0}),previewQnaAiAdmin:Ve("qna-ai-admin",{require:!0}),previewQnaAiDemo:Ve("qna-ai-demo",{require:!0}),qna:!0,qnaCaptchaBypass:Ve("qna-captcha-bypass",{require:!0}),qnaAcceptUpvote:Ve("qna-accept-updated",{require:!0}),qnaStackResults:Ve("qna-stack-results",{require:!0}),quickWins:Ve("quick-wins",{require:!0}),referenceRightRailH3:P("in_right_rail")==="h2h3",referenceRightRailSticky:["Reference"].includes(b.data.pageTemplate),reportWebVitalsAlways:Ve("report-web-vitals",{require:!0}),rightRailSticky:["Conceptual","FAQ","HowTo","Reference","Architecture"].includes(b.data.pageTemplate),rss:!0,shareLink:!0,siteSearchProducts:Ve("site-search-products",{require:!0}),skipToCompletedModal:Ve("completed-modal",{require:!0}),stayCurrentAllowParam:R.reviewFeatures&&(P("page_kind")==="certification"||P("page_kind")==="certificationrenewal"||P("page_kind")==="certificationRenewalAssessment"||P("page_kind")==="certificationRenewalAssessmentReport"),surveyPopover:R.siteName==="learn"||R.accessLevel==="local",systemDrivenAchievement:!0,temporaryClientSideEventBanners:R.siteName==="learn"||R.siteName==="developer",thirdPartyDataSharingConsentFlag:!0,tocSearch:b.data.brand!=="mooncake",translationFeedback:b.data.userLocale!=="en-us"&&P("ocv-translation-feedback")==="true"&&at.machineTranslated,trainingSkills:b.data.userLocale?.startsWith("en"),tenantManager:Ve("tenant-manager",{require:!0}),userFeedback:Ve("user-feedback",{require:!0}),planGenV2:Ve("plan-gen-v2",{require:!0}),userAnalyticsMocks:Ve("user-analytics-mocks",{require:!0}),userServices:!0,usingStandardFeedback:b.data.standardFeedback||b.data.pageTemplate==="ModuleUnit"||b.data.pageTemplate==="Module",supportsSharing:P("page_type")!=="learn"&&!(b.data.contentLocale==="en-us"&&b.data.brand==="mooncake")}}function pae(e,t){let o=document.querySelector("#side-doc-outline li > a[aria-current='true']"),n=SLe(e),i=n===null?null:document.querySelector(`#side-doc-outline li > a[href="http://approjects.co.za/?big=#${n}"]`);o!==i&&(o&&wLe(o),i&&(CLe(i),ELe(i,t)))}function SLe(e){if(e.length>0){let t=e.length-1;for(let o=0;o0){t=o;break}if(e[t].getBoundingClientRect().top>=window.innerHeight&&(t-=1),t>=0)return e[t].id}return null}function wLe(e){let t=e.closest("details"),o=t?t.parentElement:e.parentElement;o&&(o.classList.toggle("border-color-transparent"),o.classList.toggle("border-color-primary")),e.classList.remove("font-weight-semibold","color-text"),e.classList.add("color-text-subtle"),e.setAttribute("aria-current","false")}function CLe(e){let t=e.closest("details"),o=t?t.parentElement:e.parentElement;o&&(o.classList.toggle("border-color-transparent"),o.classList.toggle("border-color-primary")),e.classList.remove("color-text-subtle"),e.classList.add("font-weight-semibold","color-text"),e.setAttribute("aria-current","true")}function ELe(e,t){(e.offsetTopt.scrollTop+t.clientHeight)&&(t.scrollTop=e.offsetTop-t.clientHeight/2)}var ALe=/([a-z]\.)([a-z])/gi,kLe=/([a-z])([A-Z]+[a-z])/g,ILe=/(\w\/)(\S?)/gi,IA="",PN=`$1${IA}$2`,LLe=/\u200B/g;function kn(e,t=3){return!e||!e.length||t===0||(t&2&&(e=e.replace(ALe,PN)),t&1&&(e=e.replace(kLe,PN)),t&4&&(e=e.replace(ILe,PN))),e}function mae(e,t){let o=[];if(!e||t===0)return o;e=kn(e,t);let n=0,i=e.indexOf(IA,n);for(;i!==-1;)o.push(e.substring(n,i)),o.push(document.createElement("wbr")),n=i+IA.length,i=e.indexOf(IA,n);return o.push(e.substring(n)),o}function gae(e){return e.replace(LLe,"")}var PLe={"&":"&","<":"<",">":">",'"':""","'":"'"},fae=/[&<>"']/g,RLe=RegExp(fae.source);function Ge(e){return e&&RLe.test(e)?e.replace(fae,t=>PLe[t]):e}function LA(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function jp(e){let t=e.cloneNode(!0);t.hidden=!0,document.body.appendChild(t);function o(n){n!==null&&(o(n.nextElementSibling),window.getComputedStyle(n,null).getPropertyValue("display")==="none"?n.parentElement.removeChild(n):o(n.firstElementChild))}return o(t.firstElementChild),document.body.removeChild(t),t.textContent}function Ki(e,t={year:"numeric",month:"short",day:"numeric"},o=b.data.userLocale){return new Date(e).toLocaleDateString(o,t).replace(/\u200E/g,"")}function PA(e){Array.from(document.querySelectorAll("span[data-localize-date]")).forEach(o=>{if(o.textContent!==""){let n=Ki(new Date(o.textContent),e);o.textContent=n}})}var MLe=/(^|\s)(C#|F#|C\+\+)($|\s|[.,!?;:])/g;function RA(e,t="text"){let o=`$1$2${t==="text"?"\u200E":"‎"}$3`;return e.replace(MLe,o)}function RN(e){return decodeURIComponent(atob(DLe(e).replace(/_/g,"/").replace(/-/g,"+")).split("").map(t=>`%${("00"+t.charCodeAt(0).toString(16)).slice(-2)}`).join(""))}function DLe(e){switch(e.length%4){case 0:return e;case 2:return e+"==";case 3:return e+"=";default:throw new Error("Illegal base64url string!")}}var MN="id_token",DA="docsAuthToken",$Le="account_linking_token",Qy=class{constructor({detail:t}){this.message="invalid token",this.detail=t}},nl=class{constructor({detail:t}){this.message="invalid claim",this.detail=t}},MA=class{constructor({detail:t}){this.message="malformed claim",this.detail=t}};function $A(e){se.setItem(MN,e)}function qu(){return se.getItem(MN)}function zA(){se.removeItem(MN)}function NA(e){se.setItem(DA,e)}function In(){return se.getItem(DA)}function FA(){se.removeItem(DA)}function sh(){se.removeItem($Le)}function Yp(e,t={nbfClockSkewInMilliseconds:2500}){try{if(!(e&&e.length&&e.indexOf(".")>-1))throw new Qy({detail:"Invalid JWT - no separators found."});let n=e.split("."),i=JSON.parse(RN(n[1]));if(!i)throw new Qy({detail:"Invalid JWT - payload is missing."});if(i.hasOwnProperty("nbf")){let r=i.nbf;if(isNaN(r))throw new MA({detail:"Invalid NBF claim - claim is malformed."});let s=new Date(0);s.setUTCSeconds(i.nbf);let a=new Date(Date.now()+t.nbfClockSkewInMilliseconds);if(s>a)throw new nl({detail:"Invalid NBF claim - token not yet valid."})}if(i.hasOwnProperty("exp")){let r=i.exp;if(isNaN(r))throw new MA({detail:"Invalid EXP claim - claim is malformed."});let s=new Date(0);s.setUTCSeconds(i.exp);let a=new Date(Date.now());if(s<=a)throw new nl({detail:"Invalid EXP claim - token has expired."})}return i}finally{}}var qA=e=>{if(!(e&&e.length&&e.indexOf(".")>-1))throw new Qy({detail:"Invalid JWT - no separators found."});let o=e.split(".");return JSON.parse(RN(o[1]))};var bae=`data:image/svg+xml;base64,${btoa('')}`,_ae=`data:image/svg+xml;base64,${btoa('')}`,vae="a4d008df-4ece-4cb3-b7c9-d1be5ac4cacf",zLe=(e,t)=>{e||(e=Oi);let o=t.replace(/\D/g,""),n=parseInt(o.slice(0,2))*.01,i=parseInt(o.slice(2,4))*.01,r=n*320,s=i*100,a=Math.floor(n*31+10),l=`hsl(${r}, ${s}%, ${a}%)`,c=(e.match(/\b(\w)/g)||["A"]).join("").substring(0,2).toUpperCase();return{backgroundColor:l,initials:c}},mn=(e,t)=>{let{backgroundColor:o,initials:n}=zLe(e,t);return`data:image/svg+xml,${` %3Csvg xmlns='http://www.w3.org/2000/svg' height='64' class='font-weight-bold' style='font: 600 ${64/2.125}px "SegoeUI", Arial' width='64'%3E%3Ccircle fill='${o}' cx='32' cy='32' r='32' /%3E%3Ctext x='50%25' y='55%25' dominant-baseline='middle' text-anchor='middle' fill='%23FFF' %3E${n}%3C/text%3E%3C/svg%3E`}`},So=class{},Ji="72f988bf-86f1-41af-91ab-2d7cd011db47",OA="9188040d-6c67-4c5b-b112-36a304b66dad",yae="1a092f68-5741-455a-8057-2acdb897a850",xae="604c1504-c6a3-4080-81aa-b33091104187",Tae="ada63eea-fd1c-4d79-b40a-41d1380df7a5",DN={[Ji]:"microsoft",[OA]:"standard"},$N=new Date("2019-11-21T00:00:00.000Z"),co=(e,t)=>Sae(e,t).toString(),UA=class extends Be{constructor(){super();this.idTokenEmail="";this.legalName=null;this.setAnonymous()}setAnonymous(){this.isAuthenticated!==!1&&(this.userId="00000000-0000-0000-0000-000000000000",this.upn="anonymous@anonymous.com",this.email="anonymous@anonymous.com",this.idTokenEmail="anonymous@anonymous.com",this.userName="Anonymous",this.displayName="Anonymous",this.locale="en-us",this.country=null,this.contactPointTopicSetting=null,this.authenticationMode="AAD",this.authenticationModes=[],this.isAuthenticated=!1,this.avatarUrl=mn(this.displayName,this.userId),this.avatarThumbnailUrl=mn(this.displayName,this.userId),this.profileUrl="#",this.createdOn=null,this.userType="standard",this.acceptedPrivacyNotice=$N,this.isAvatarTakenDown=!1,this.followerCount=0,this.followingCount=0,this.answersAccepted=0,this.affiliations=[],this.reputationPoints=1,this.qnaUserId=0,this.interests=null,this.isPrivate=!1,this.tenantId=null,this.credentialId=null,this.source=null,this.sharingId=null,this.legalName=null,this.publish(new So))}mapIdTokenToProfile(o){this.email=o.email||o.preferred_username,this.upn=o.preferred_username,this.userName=o.name,this.displayName=o.name,this.authenticationMode=DN[o.tid]==="standard"?"MSA":"AAD",this.userType=DN[o.tid]||"aad",this.isAuthenticated=!0,this.country="",this.credentialId=this.authenticationMode==="AAD"?o.oid:o.puid,this.authenticationModes=[{id:this.credentialId,type:this.authenticationMode,tenantId:o.tid,upn:this.upn}],this.publish(new So)}readUserProfile(o){this.userId=o.userId,this.email=o.email||"",this.userName=o.userName,this.displayName=o.displayName||o.userName||o.email,this.locale=o.locale,this.country=o.country,this.contactPointTopicSetting=o.contactPointTopicSetting,this.isAuthenticated=!0,this.avatarUrl=o.avatarUrl||mn(this.displayName,this.userId),this.avatarThumbnailUrl=o.avatarThumbnailUrl||o.avatarUrl||mn(this.displayName,this.userId),this.profileUrl=co(o.userName),this.authenticationModes=o.authenticationModes,this.userType=NLe(o.authenticationModes),this.acceptedPrivacyNotice=new Date(o.acceptedPrivacyNotice),this.isAvatarTakenDown=o.isAvatarTakenDown,this.followingCount=o.followingCount,this.followerCount=o.followerCount,this.answersAccepted=o.answersAccepted,this.affiliations=o.affiliations,this.reputationPoints=o.reputationPoints,this.createdOn=new Date(o.createdOn),this.qnaUserId=o.qnaUserId,this.interests=o.interests,this.isPrivate=o.isPrivate,this.source=o.source,this.certificationSettings=o.certificationSettings,this.transcriptSettings=o.transcriptSettings,this.qnaEmailPreferences=o.qnaEmailPreferences,this.isQnaModerator=o.isQnaModerator,this.sharingId=o.sharingId,this.isChallengeAdmin=o.isChallengeAdmin,this.legalName=o.legalName||null,this.publish(new So)}readUserFromToken(o){this.isAuthenticated=!0,this.instructor=o.instructor,this.isChallengeAdmin=o.is_challenge_admin,this.isMecUser=o.is_mec_user,this.userId=o.sub,this.upn=o.cred_upn,this.tenantId=o.tid,this.credentialId=o.cred_id,this.userName=o.preferred_username,this.displayName=o.name||o.preferred_username||o.email,this.avatarUrl=o.picture||mn(this.displayName,this.userId),this.avatarThumbnailUrl=o.thumbnail||o.picture||mn(this.displayName,this.userId),this.authenticationMode=o.cred_type,this.locale=o.locale,this.acceptedPrivacyNotice=new Date(o.accepted_privacy_notice),this.userType=DN[o.tid]||"aad",this.profileUrl=co(o.preferred_username),this.email=o.email||"",this.idTokenEmail=o.id_token_email||"",this.sharingId=o.sharing_id||"",this.publish(new So)}whenAuthenticated(){return k.isAuthenticated?Promise.resolve():new Promise(o=>this.subscribe(So,()=>{this.isAuthenticated&&o()}))}},k=new UA;function zN(e,t){e&&Array.from(e.querySelectorAll("[data-profile-property]")).forEach(o=>{let n=o.getAttribute("data-profile-property"),i=t.profileUrl;o instanceof HTMLImageElement&&n==="avatarUrl"?(o.onerror=()=>o.src=mn(t.displayName,t.userId),o.src=t[n]):o instanceof HTMLImageElement&&n==="avatarThumbnailUrl"?(o.onerror=()=>o.src=t.avatarUrl||mn(t.displayName,t.userId),o.src=t[n]):o instanceof HTMLAnchorElement&&n==="profileUrl"?(o.href=co("me","activity"),i==="#"&&(o.href=new URL("./register",gc()).toString())):o instanceof HTMLAnchorElement&&n==="bookmarksUrl"?(o.href=i+(R.reviewFeatures?"§ion=collections&detail=bookmarks":"collections/bookmarks"),i==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="collectionsUrl"?(o.href=i+(R.reviewFeatures?"§ion=collections":"collections"),i==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="settingsUrl"?o.href=co("me","settings"):o instanceof HTMLInputElement?o.type!=="file"&&(o.value=t[n]):n==="createdOn"?o.textContent=Ki(t[n]):o.textContent=t[n]})}function Sae(e,t){let o=gc(),n=new URLSearchParams(J.search);P("page_type")==="profile"&&(o.hash=J.hash),R.reviewFeatures&&(n.has("branch")&&o.searchParams.set("branch",n.get("branch")),n.has("themebranch")&&o.searchParams.set("themebranch",n.get("themebranch")),n.has("preview")&&o.searchParams.set("preview",n.get("preview")));let i=`./${e}/`;t&&(i+=`${t}/`);let r=new URL(i,o);return r.hash=o.hash,r.search=o.search,o=r,o}function gc(e=b.data.userLocale){let t=new URL(`${e&&e.length?`/${e}`:""}/`,J.origin);return new URL("./users/",t)}function NLe(e){let t="standard";return e&&e.length&&(e.find(o=>o.tenantId===Ji)!==void 0?t="microsoft":e.find(o=>o.type==="AAD")!==void 0&&(t="aad")),t}function fe(e){return e.status===401&&k.setAnonymous(),e}var FLe={"https://review.learn.microsoft.com":{cloudShell:"https://ux.console.azure.com",ocvFeedback:"https://petrol-int.office.microsoft.com/v1/feedback",lists:"https://review.learn.microsoft.com/api/lists",achievements:"https://review.learn.microsoft.com/api/achievements",apiBrowser:"https://review.learn.microsoft.com/api/apibrowser"},"https://dev.learn.microsoft.com":{cloudShell:"https://ux-rc.console.azure.com",ocvFeedback:"https://petrol-int.office.microsoft.com/v1/feedback"},"https://developer.microsoft.com":{siteSearch:"https://learn.microsoft.com/api/search"},"https://review.developer.microsoft.com":{siteSearch:"https://learn.microsoft.com/api/search"},"https://dev.developer.microsoft.com":{siteSearch:"https://learn.microsoft.com/api/search"},"https://localhost:3000":{cloudShell:"https://ux.console.azure.com"},"http://localhost:3000":{cloudShell:"https://ux.console.azure.com"},"https://ppe.preview.learn.microsoft-int.com":{pdf:"https://review.learn.microsoft.com/pdf"}},qLe={"https://review.learn.microsoft.com":{stayCurrent:"https://review.learn.microsoft.com/api/certification",skillAssessment:"https://review.learn.microsoft.com/api/skillassessment"}};function ULe(e,t){let o=e,n=t.systemContent?e:o,i=t.supportLevel==="production"?"https://api.ilt.learningcredentials.microsoft.com":"https://api.dev.ilt.learningcredentials.microsoft.com",r=FLe[e]||{},s=qLe[e]||{};return{admin:`${o}/api/admin`,selfAssessmentsAdmin:OLe(),apiBrowser:`${o}/api/apibrowser`,assessments:`${n}/api/assessments`,assessmentsAuthoring:`${n}/api/assessments/authoring`,learnAssessment:`${n}/api/assessment`,assessmentsBranch:"https://review.learn.microsoft.com/api/assessments/branches",attachment:`${o}/api/attachments`,azureManagement:"https://management.azure.com",auth:{docs:`${o}/api/profiles/auth`,identityPlatform:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",signOut:`${o}/api/profiles/signout`,partner:`${o}/api/profiles/partnerAuth/authorize`},blogs:`${o}/api/archives/blogs/comments`,browse:{certification:`${o}/api/contentbrowser/search/certifications`,credential:`${o}/api/contentbrowser/search/credentials`,course:`${o}/api/contentbrowser/search/certifications/courses`,events:`${o}/api/contentbrowser/search/events`,learn:`${o}/api/contentbrowser/search`,learnHome:`${o}/api/contentbrowser/home/learn`,learnHomePersonalized:`${o}/api/contentbrowser/home/personalized/learn`,sample:`${o}/api/contentbrowser/search/samples`,lifecycle:`${o}/api/contentbrowser/search/lifecycles`,architecture:`${o}/api/contentbrowser/search/architectures`,windowsSafeguards:`${o}/api/contentbrowser/search/windowsSafeguards`,shows:`${o}/api/contentbrowser/search/shows`},buildAuthAdmin:`${o}/api/build`,prDevBuildAuthAdmin:"https://docs-buildauth-locdev-wus.azurewebsites.net",certification:{appointments:`${o}/api/certification/appointments`,certification:`${o}/api/certification`,certifications:`${o}/api/certification/certifications`,dashboardSummary:`${o}/api/certification/dashboardsummary`,exams:`${o}/api/certification/exams`,linkedAccount:`${o}/api/certification/linkedAccount`,linkedMcId:`${o}/api/certification/linkedMcId`,printableCertification:`${o}/api/certification/printableCertification`,pvuetransfer:`${o}/api/certification/pvuetransfer`,renewalAssessments:`${o}/api/certification/scoredsnapshots`},cloudShell:"https://ux.console.azure.com",contentNav:e,contentOrigin:n,contentAuthorizationService:{setCasTokenCookie:`${o}/api/cas/user/token`,deleteCasTokenCookie:`${o}/api/cas/user/signout`},copilot:{chatAssistant:`${o}/api/copilot/chat/assistant?responseFormat=Markdown&preview=citations`,summarize:`${o}/api/copilot/content/summarize`,chatPlanGeneration:`${o}/api/copilot/chat/plangeneration`},encryptCaptchaPayload:`${o}/api/resources/captcha/encrypt`,forumSearch:{azureKbQuestionSuggestions:`${o}/api/questions/azurekb/searchMSDNThreads/v1.0`},achievements:`${o}/api/achievements`,github:"https://api.github.com",githubOAuth:"https://github.com/login/oauth/authorize",labOnDemand:`${o}/api/resources/labondemand`,learn:{achievementsByUids:`${o}/api/hierarchy/achievements`,batchItemSummaries:`${o}/api/hierarchy/items`,certification:`${o}/api/hierarchy/certification`,challenge:`${o}/api/challenges`,episode:`${o}/api/video/public/v1/entries`,exams:`${o}/api/hierarchy/exams`,iltCourses:{scheduling:`${i}/ilt-scheduling/offerings`,location:`${i}/ilt-scheduling/offerings/location`,languages:`${i}/ilt-scheduling/languages`,duration:`${i}/ilt-scheduling/duration`},learningPath:`${o}/api/hierarchy/paths`,module:`${o}/api/hierarchy/modules`,unit:`${o}/api/hierarchy/units`,progress:{batchUnit:`${o}/api/progress/units`,learningPathPass:`${o}/api/progress/learningPathPass`,moduleAssessment:`${o}/api/progress/moduleAssessment`,unit:`${o}/api/progress/units`,user:`${o}/api/progress`},show:{episodes:`${o}/api/hierarchy/shows`,videos:`${o}/api/video/public/v1/entries/batch`},skillAssessment:`${o}/api/skillassessment`,stayCurrent:`${o}/api/certification`,...s},lists:`${o}/api/lists`,metadata:{platformId:`${o}/api/mms/document/platformId`,metadata:`${o}/api/mms/document/`,schema:`${o}/api/mms/contentTypes/`},monikers:`${n}/_api/familyTrees`,nextSteps:`${o}/api/nextsteps`,ocvFeedback:"https://petrol.office.microsoft.com/v1/feedback",pdf:`${e}/pdf`,privacy:{cookieConsentDeleteService:`${e}/api/privacy/cookieDelete`,delete:`${n}/api/privacy/delete`,partialDelete:`${n}/api/privacy/partialdelete`,export:`${n}/api/privacy/export`},profile:{acknowledgeMergeStatus:`${o}/api/profiles/merge/acknowledge`,acknowledgePrivacyNotice:`${o}/api/profiles/me/acknowledgePrivacyNotice`,avatar:`${o}/api/profiles/me/avatar`,avert:`${o}/api/profiles/avert`,certification:`${o}/api/profiles/certification/certifications`,credential:{private:`${o}/api/credentials/credential`,public:`${o}/api/credentials/{credentialId}`,list:`${o}/api/credentials/me`},challenge:`${o}/api/profiles/challenge`,groups:{users:`${o}/api/profiles/groups/{groupId}/users`,manage:`${o}/api/profiles/groups/{groupId}/users/{userId}`},deleteMecUserData:`${o}/api/profiles/mec/delete`,follow:`${o}/api/profiles/follow/{type}/{id}`,unfollow:`${o}/api/profiles/unfollow/{type}/{id}`,follows:`${o}/api/profiles/follows`,followsIds:`${o}/api/profiles/follows/ids`,userFollows:`${o}/api/profiles/userfollows/{userId}`,link:`${o}/api/profiles/link`,me:`${o}/api/profiles/me`,merge:`${o}/api/profiles/merge`,mergeDetails:`${o}/api/profiles/merge/details`,user:`${o}/api/profiles/{username}`,userRetryMerge:`${o}/api/profiles/merge/userretry`,userCancelMerge:`${o}/api/profiles/merge/usercancel`,migrateMecUserData:`${o}/api/profiles/mec/migrate`,profiles:`${o}/api/profiles`,qnaFollowing:`${o}/api/qna/following`,reporting:`${o}/api/profiles/reporting`,validateMerge:`${o}/api/profiles/merge/validate`,transcript:{private:`${o}/api/profiles/transcript/me`,public:`${o}/api/profiles/transcript/share`,settings:{publicLink:`${o}/api/profiles/transcript/share`,transcript:`${o}/api/profiles/transcript/me/settings`}},activeTakedowns:`${o}/api/profiles/takedown/active`,reportStatus:`${o}/api/profiles/report/status/{userId}`,reportConcern:`${o}/api/profiles/report/concern`,contributorEngagement:`${o}/api/profiles/contributor/engagement`},qna:{communication:{getToken:`${o}/api/questions/user/communication_token`,createJoinThread:`${o}/api/questions/admin/private_conversation/{questionId}`,render:`${o}/api/questions/markdown-to-html`,chatMessage:`${wae()}/chat/threads/{communicationChatThreadId}/messages/{messageId}?api-version=2023-11-07`,chatThread:`${wae()}/chat/threads/{communicationChatThreadId}/messages?api-version=2023-11-07`},analyticsSummary:`${o}/api/questions/dashboard/metrics`,analyticsQuestions:`${o}/api/questions/answered`,questionAnswerCommentVote:`${o}/api/questions/answers/comments/{commentId}/vote`,questionCommentVote:`${o}/api/questions/comments/{commentId}/vote`,questionDetails:`${o}/api/questions/{questionId}/details`,questionAiAnswer:{generate:`${o}/api/questions/{questionId}/aiAnswer`,reject:`${o}/api/questions/aiAnswers/{answerId}/delete`},questionAutoTagging:{generate:`${o}/api/questions/autotagging`},threadHistory:`${o}/api/questions/admin/questions/{questionId}/history`,questionVote:`${o}/api/questions/{questionId}/vote`,rateAnswerHelpful:`${o}/api/questions/answers/{answerId}/helpful/yes?_method=PUT`,rateAnswerUnhelpful:`${o}/api/questions/answers/{answerId}/helpful/no?_method=PUT`,rateAnswerReset:`${o}/api/questions/answers/{answerId}/helpful/notSet?_method=PUT`,suspended:`${o}/api/questions/users/suspended`,tags:`${o}/api/questions/tags/autocomplete`,tagsNextLevelV2:`${o}/api/questions/tags/nextlevelv2`,admin:{suspend:`${o}/api/questions/admin/users/{userId}/suspend`,unsuspend:`${o}/api/questions/admin/users/{userId}/unsuspend`,suspended:`${o}/api/questions/admin/users/{userId}/suspended`,blockedcontent:`${o}/api/questions/admin/blockedcontent`,updateBlockedContent:`${o}/api/questions/admin/blockedcontent/{contentId}`,deleteAllUserContent:`${o}/api/questions/admin/users/{userId}/deleteAllUserContent`}},qnaSettings:`${o}/en-us/answers/users/{qnaId}/{username}/preferences.html`,recommendations:`${o}/api/recommendations`,sandbox:`${o}/api/resources/sandbox`,sandboxManager:`${o}/api/resources/admin`,siteFeedback:`${o}/api/feedback/report`,siteSearch:`${e}/api/search`,searchAnswer:{user:`${o}/api/aisearch/answers/user/html`,guest:`${o}/api/aisearch/answers/guest/html`},deepSearch:`${o}/api/aisearch/deepsearch/stream`,taxonomy:`${o}/api/taxonomies`,tenantManager:`${o}/api/resources/tenant`,uhf:{consentBanner:`${o}/api/GetConsentBanner`},video:`${o}/api/admin`,...r}}function OLe(){return"https://docs-rcs-pubdev.azurewebsites.net"}function wae(){return R.supportLevel==="production"?"https://docsquestions-acs-public.unitedstates.communication.azure.com":"https://docsquestions-acs-pubdev.unitedstates.communication.azure.com"}var N=ULe(location.origin,R);var HLe=30*1e3,M=async(e,t,o=HLe,n)=>{t=t||{};let i=new AbortController,r=()=>i.abort();n?.addEventListener("abort",r),t.signal=i.signal;try{let s=setTimeout(()=>i.abort(),o),a=await fetch(e,t);return clearTimeout(s),a}finally{n?.removeEventListener("abort",r)}};function K(e,t,o=!0,n=!0){t=t||{},t.mode="cors",t.credentials!=="omit"&&(t.credentials="same-origin");let i=new Request(e,t);return o&&In()&&i.headers.set("Authorization",`Bearer ${In()}`),(i.method==="PUT"||i.method==="POST")&&n&&i.headers.set("Content-Type","applicationhttps://www.microsoft.com/json"),i}var jy=class{};function NN(e){let t={method:"GET"},o=K(N.auth.docs,t,!1);return o.headers.set("Authorization",`Bearer ${e}`),M(o).then(n=>{if(n.ok)return n.text();throw n.status===404||n.status===204?new jy:n.status===401?new nl({detail:"token not accepted"}):new Error(`get docs auth token failed (${n.status} ${n.statusText})`)})}function ah(e,t=!0){try{if(e.ok&&e.headers.has("Authorization")){let o=e.headers.get("Authorization");if(o){let n=Yp(o);NA(o),t&&k.readUserFromToken(n)}}return e}catch{return e}}function pt(e=["api-branch","branch"],t=""){if(R.accessLevel==="local")return"main";if(R.reviewFeatures===!0){let o=te(J.search);return e.reduce((n,i)=>n||o[i],"")||t}return null}var qe=class extends Error{constructor(t,o){super(`Unexpected response status ${t?.status??""}: ${t?.statusText??""} from "${t?.url??""} with error type of ${o}".`),this.status=t?.status,this.statusText=t?.statusText,this.url=t?.url,this.type=o,this.response=t,R.reviewFeatures&&console.error(this)}};async function Wp(e){let t;try{t=e.response.json?(await e.response.json()).errorCode:null}catch{t=null}return t}function HA(e){if(!Array.isArray(e))throw new qe({statusText:"Value must be an array"},"InvalidTypeError");return e}function lh(e,t){let o=t.filter(n=>e[n]===null||e[n]===void 0);if(o.length>0)throw new qe({statusText:`Missing required fields in object: ${o.join(", ")}`},"MissingRequiredApiAttribute");return e}function Cae(e,t){throw new qe({statusText:`Type Conversion Error: converting type ${typeof e} to ${t} failed for value ${e.toString()}`},"TypeConversionError")}function FN(e){let t;try{t=parseInt(e)}catch{Cae(e,"number")}return isNaN(t)&&Cae(e,"number"),t}function Uu(e,t,o=!0,n="applicationhttps://www.microsoft.com/json",i="",r=!0){t=t||{},t.mode="cors",t.credentials="same-origin";let s=new Request(e,t);return o&&s.headers.set("Authorization",`Bearer ${i||In()}`),(s.method==="PUT"||s.method==="POST")&&r&&n!=="multipart/form-data"&&s.headers.set("Content-Type",n),s}async function fc(e){let t=`${N.profile.profiles}/${e}`,n=await M(Uu(t,{method:"GET"},!1));return fe(n),n.ok?await n.json():(n.status===204,null)}async function qN(e){if(!e)return null;if(e===vae)return{displayName:Oi,userId:e,avatarUrl:mn(Oi,e)};let t=`${N.profile.profiles}/id:${e}`,n=await M(Uu(t,{method:"GET"},!1));return fe(n),n.ok?await n.json():(n.status===204,null)}async function Yy(e){try{let t=await fetch(Uu(N.profile.me,{method:"GET"},!0,"applicationhttps://www.microsoft.com/json",e));return t.ok&&t.status!==204?await t.json():null}catch{return null}}async function Eae(){let e=N.privacy.delete,o=await M(Uu(e,{credentials:"include",method:"POST"},!0,"","",!1));return fe(o),o.ok}async function Aae(){let e=N.profile.acknowledgePrivacyNotice,o=await M(Uu(e,{method:"POST"}));if(fe(o),ah(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}async function UN(){let e=N.profile.merge,o=await M(Uu(e,{method:"GET"}));if(fe(o),o.ok){let{status:n}=await o.json();return n}return null}async function kae(){let e=N.profile.mergeDetails,o=await M(Uu(e,{method:"GET"}));return fe(o),o.ok?await o.json():null}async function Iae(){let e=N.profile.acknowledgeMergeStatus,o=await M(Uu(e,{method:"POST"}));if(fe(o),ah(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}var BLe=["vscode://docsmsft.learn-tutor","vscode-insiders://docsmsft.learn-tutor"];function Lae(e){return e?BLe.some(t=>e.toLowerCase().startsWith(t)):!1}function Zi(e="",t=`${J.origin}${J.pathname}`){let o=e?new URL(e,J.href):new URL(t);if(o.href.toLowerCase().indexOf("javascript:")!==-1)return new URL(J.origin);if(o.protocol==="https:"&&(o.hostname===J.hostname||o.hostname.endsWith(".microsoft.com")||o.hostname==="microsoft.com")||Lae(o.href))return o;let n=`${J.origin}${J.pathname}`;return t===n?new URL(`${o.pathname}${o.search}${o.hash}`,`${J.origin}`):Zi(t)}var fo={};Do(fo,{addApplicationTelemetry:()=>ux,addAuthorizationCode:()=>OF,addBrokerParameters:()=>vc,addCcsOid:()=>bc,addCcsUpn:()=>Bu,addClaims:()=>im,addCliData:()=>VF,addClientAssertion:()=>mx,addClientAssertionType:()=>gx,addClientCapabilitiesToClaims:()=>$ae,addClientId:()=>om,addClientInfo:()=>sm,addClientSecret:()=>px,addCodeChallengeParams:()=>WPe,addCodeVerifier:()=>BF,addCorrelationId:()=>rm,addDeviceCode:()=>KPe,addDomainHint:()=>FF,addEARParameters:()=>tRe,addExtraParameters:()=>_c,addGrantType:()=>fx,addIdTokenHint:()=>NF,addInstanceAware:()=>hx,addLibraryInfo:()=>cx,addLoginHint:()=>vh,addLogoutHint:()=>GF,addNativeBroker:()=>YPe,addNonce:()=>UF,addOboAssertion:()=>JPe,addPassword:()=>eRe,addPopToken:()=>bx,addPostLogoutRedirectUri:()=>zF,addPrompt:()=>qF,addRedirectUri:()=>nm,addRefreshToken:()=>HF,addRequestTokenUse:()=>ZPe,addResource:()=>xx,addResponseMode:()=>$F,addResponseType:()=>jPe,addScopes:()=>tm,addServerTelemetry:()=>vx,addSid:()=>pk,addSshJwk:()=>_x,addState:()=>dx,addThrottling:()=>yx,addUsername:()=>XPe,instrumentBrokerParams:()=>em});var Pe={};Do(Pe,{AADAuthority:()=>ca,AAD_INSTANCE_DISCOVERY_ENDPT:()=>GN,AAD_TENANT_DOMAIN_SUFFIX:()=>QN,ADFS:()=>BN,APP_METADATA:()=>mh,AUTHORITY_METADATA_CACHE_KEY:()=>gh,AUTHORITY_METADATA_REFRESH_TIME_SECONDS:()=>l2,AUTHORIZATION_PENDING:()=>jLe,AZURE_REGION_AUTO_DISCOVER_FLAG:()=>KN,AuthenticationScheme:()=>wo,AuthorityMetadataSource:()=>Rr,CACHE_ACCOUNT_TYPE_ADFS:()=>s2,CACHE_ACCOUNT_TYPE_GENERIC:()=>WA,CACHE_ACCOUNT_TYPE_MSAV1:()=>mPe,CACHE_ACCOUNT_TYPE_MSSTS:()=>r2,CACHE_KEY_SEPARATOR:()=>Jp,CIAM_AUTH_URL:()=>BA,CLIENT_INFO:()=>a2,CLIENT_INFO_SEPARATOR:()=>ph,CLIENT_MISMATCH_ERROR:()=>_2,CODE_GRANT_TYPE:()=>GLe,CONSUMER_UTID:()=>VLe,CacheOutcome:()=>ua,CacheType:()=>gPe,ClaimsRequestKeys:()=>dh,CodeChallengeMethodValues:()=>dPe,CredentialType:()=>gn,DEFAULT_AUTHORITY:()=>Pae,DEFAULT_AUTHORITY_HOST:()=>HN,DEFAULT_COMMON_TENANT:()=>Wy,DEFAULT_MAX_THROTTLE_TIME_SECONDS:()=>f2,DEFAULT_THROTTLE_TIME_SECONDS:()=>g2,DEFAULT_TOKEN_RENEWAL_OFFSET_SEC:()=>y2,DSTS:()=>VN,EMAIL_SCOPE:()=>Dae,EncodingTypes:()=>bPe,FORWARD_SLASH:()=>ch,GrantType:()=>Zy,HTTP_BAD_REQUEST:()=>jA,HTTP_CLIENT_ERROR:()=>XLe,HTTP_CLIENT_ERROR_RANGE_END:()=>t2,HTTP_CLIENT_ERROR_RANGE_START:()=>e2,HTTP_GATEWAY_TIMEOUT:()=>aPe,HTTP_GONE:()=>nPe,HTTP_MULTI_SIDED_ERROR:()=>lPe,HTTP_NOT_FOUND:()=>tPe,HTTP_REDIRECT:()=>ZLe,HTTP_REQUEST_TIMEOUT:()=>oPe,HTTP_SERVER_ERROR:()=>rPe,HTTP_SERVER_ERROR_RANGE_END:()=>n2,HTTP_SERVER_ERROR_RANGE_START:()=>o2,HTTP_SERVICE_UNAVAILABLE:()=>sPe,HTTP_SUCCESS:()=>QA,HTTP_SUCCESS_RANGE_END:()=>JLe,HTTP_SUCCESS_RANGE_START:()=>KLe,HTTP_TOO_MANY_REQUESTS:()=>iPe,HTTP_UNAUTHORIZED:()=>ePe,HeaderNames:()=>Bo,HttpMethod:()=>cPe,IMDS_ENDPOINT:()=>GA,IMDS_TIMEOUT:()=>WN,IMDS_VERSION:()=>YN,INVALID_GRANT_ERROR:()=>b2,INVALID_INSTANCE:()=>XN,JsonWebTokenTypes:()=>v2,KNOWN_PUBLIC_CLOUDS:()=>ZN,NOT_APPLICABLE:()=>YLe,NOT_AVAILABLE:()=>Kp,OAuthResponseType:()=>pPe,OFFLINE_ACCESS_SCOPE:()=>VA,OIDC_DEFAULT_SCOPES:()=>uh,OIDC_SCOPES:()=>YA,ONE_DAY_IN_MS:()=>hPe,OPENID_SCOPE:()=>Rae,PROFILE_SCOPE:()=>Mae,PasswordGrantConstants:()=>ZA,PersistentCacheKeys:()=>uPe,PromptValue:()=>Jy,REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:()=>JN,RESOURCE_DELIM:()=>Ky,RegionDiscoveryOutcomes:()=>tx,RegionDiscoverySources:()=>Hu,ResponseMode:()=>i2,S256_CODE_CHALLENGE_METHOD:()=>QLe,SERVER_TELEM_CACHE_KEY:()=>Xy,SERVER_TELEM_CATEGORY_SEPARATOR:()=>JA,SERVER_TELEM_MAX_CACHED_ERRORS:()=>u2,SERVER_TELEM_MAX_CUR_HEADER_BYTES:()=>fPe,SERVER_TELEM_MAX_LAST_HEADER_BYTES:()=>c2,SERVER_TELEM_OVERFLOW_FALSE:()=>p2,SERVER_TELEM_OVERFLOW_TRUE:()=>d2,SERVER_TELEM_SCHEMA_VERSION:()=>KA,SERVER_TELEM_UNKNOWN_ERROR:()=>m2,SERVER_TELEM_VALUE_SEPARATOR:()=>Ou,SHR_NONCE_VALIDITY:()=>WLe,SKU:()=>ON,THE_FAMILY_ID:()=>Zp,THROTTLING_PREFIX:()=>ex,URL_FORM_CONTENT_TYPE:()=>jN,X_MS_LIB_CAPABILITY_VALUE:()=>h2});var ON="msal.js.common",Pae="https://login.microsoftonline.com/common/",HN="login.microsoftonline.com",Wy="common",BN="adfs",VN="dstsv2",GN=`${Pae}discovery/instance?api-version=1.1&authorization_endpoint=`,BA=".ciamlogin.com",QN=".onmicrosoft.com",Ky="|",VLe="9188040d-6c67-4c5b-b112-36a304b66dad",Rae="openid",Mae="profile",VA="offline_access",Dae="email",GLe="authorization_code",QLe="S256",jN="application/x-www-form-urlencoded;charset=utf-8",jLe="authorization_pending",YLe="N/A",Kp="Not Available",ch="/",GA="http://169.254.169.254/metadata/instance/compute/location",YN="2020-06-01",WN=2e3,KN="TryAutoDetect",JN="login.microsoft.com",ZN=["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],WLe=240,XN="invalid_instance",QA=200,KLe=200,JLe=299,ZLe=302,XLe=400,e2=400,jA=400,ePe=401,tPe=404,oPe=408,nPe=410,iPe=429,t2=499,rPe=500,o2=500,sPe=503,aPe=504,n2=599,lPe=600,cPe={GET:"GET",POST:"POST"},uh=[Rae,Mae,VA],YA=[...uh,Dae],Bo={CONTENT_TYPE:"Content-Type",CONTENT_LENGTH:"Content-Length",RETRY_AFTER:"Retry-After",CCS_HEADER:"X-AnchorMailbox",WWWAuthenticate:"WWW-Authenticate",AuthenticationInfo:"Authentication-Info",X_MS_REQUEST_ID:"x-ms-request-id",X_MS_HTTP_VERSION:"x-ms-httpver"},uPe={ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},ca={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},dh={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},Jy={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},dPe={PLAIN:"plain",S256:"S256"},pPe={CODE:"code",IDTOKEN_TOKEN:"id_token token",IDTOKEN_TOKEN_REFRESHTOKEN:"id_token token refresh_token"},i2={QUERY:"query",FRAGMENT:"fragment",FORM_POST:"form_post"},Zy={IMPLICIT_GRANT:"implicit",AUTHORIZATION_CODE_GRANT:"authorization_code",CLIENT_CREDENTIALS_GRANT:"client_credentials",RESOURCE_OWNER_PASSWORD_GRANT:"password",REFRESH_TOKEN_GRANT:"refresh_token",DEVICE_CODE_GRANT:"device_code",JWT_BEARER:"urn:ietf:params:oauth:grant-type:jwt-bearer"},r2="MSSTS",s2="ADFS",mPe="MSA",WA="Generic",Jp="-",ph=".",gn={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},gPe={ADFS:1001,MSA:1002,MSSTS:1003,GENERIC:1004,ACCESS_TOKEN:2001,REFRESH_TOKEN:2002,ID_TOKEN:2003,APP_METADATA:3001,UNDEFINED:9999},mh="appmetadata",a2="client_info",Zp="1",gh="authority-metadata",l2=3600*24,Rr={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},KA=5,fPe=80,c2=330,u2=50,Xy="server-telemetry",JA="|",Ou=",",d2="1",p2="0",m2="unknown_error",wo={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},g2=60,f2=3600,ex="throttling",h2="retry-after, h429",b2="invalid_grant",_2="client_mismatch",ZA={username:"username",password:"password"},Hu={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},tx={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},ua={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},v2={Jwt:"JWT",Jwk:"JWK",Pop:"pop"},hPe=864e5,y2=300,bPe={BASE64:"base64",HEX:"hex",UTF8:"utf-8"};var hc={};Do(hc,{ACCESS_TOKEN:()=>yPe,BROKER_CLIENT_ID:()=>ox,BROKER_REDIRECT_URI:()=>nk,CCS_HEADER:()=>kPe,CLAIMS:()=>w2,CLIENT_ASSERTION:()=>Y2,CLIENT_ASSERTION_TYPE:()=>W2,CLIENT_ID:()=>il,CLIENT_INFO:()=>CPe,CLIENT_REQUEST_ID:()=>D2,CLIENT_SECRET:()=>j2,CLI_DATA:()=>sF,CODE:()=>L2,CODE_CHALLENGE:()=>P2,CODE_CHALLENGE_METHOD:()=>R2,CODE_VERIFIER:()=>M2,DEVICE_CODE:()=>Q2,DOMAIN_HINT:()=>oF,EAR_JWE_CRYPTO:()=>iF,EAR_JWK:()=>nF,ERROR:()=>_Pe,ERROR_DESCRIPTION:()=>vPe,EXPIRES_IN:()=>TPe,FOCI:()=>APe,GRANT_TYPE:()=>S2,ID_TOKEN:()=>xPe,ID_TOKEN_HINT:()=>G2,INSTANCE_AWARE:()=>fh,LOGIN_HINT:()=>tF,LOGOUT_HINT:()=>X2,NATIVE_BROKER:()=>Z2,NONCE:()=>k2,OBO_ASSERTION:()=>K2,ON_BEHALF_OF:()=>EPe,POST_LOGOUT_URI:()=>V2,PROMPT:()=>I2,REDIRECT_URI:()=>XA,REFRESH_TOKEN:()=>E2,REFRESH_TOKEN_EXPIRES_IN:()=>SPe,REQUESTED_TOKEN_USE:()=>J2,REQ_CNF:()=>tk,RESOURCE:()=>rF,RESPONSE_MODE:()=>T2,RESPONSE_TYPE:()=>x2,RETURN_SPA_CODE:()=>ok,SCOPE:()=>C2,SESSION_STATE:()=>wPe,SID:()=>eF,STATE:()=>A2,TOKEN_TYPE:()=>ek,X_APP_NAME:()=>H2,X_APP_VER:()=>B2,X_CLIENT_CPU:()=>F2,X_CLIENT_CURR_TELEM:()=>q2,X_CLIENT_EXTRA_SKU:()=>IPe,X_CLIENT_LAST_TELEM:()=>U2,X_CLIENT_OS:()=>N2,X_CLIENT_SKU:()=>$2,X_CLIENT_VER:()=>z2,X_MS_LIB_CAPABILITY:()=>O2});var il="client_id",XA="redirect_uri",x2="response_type",T2="response_mode",S2="grant_type",w2="claims",C2="scope",_Pe="error",vPe="error_description",yPe="access_token",xPe="id_token",E2="refresh_token",TPe="expires_in",SPe="refresh_token_expires_in",A2="state",k2="nonce",I2="prompt",wPe="session_state",CPe="client_info",L2="code",P2="code_challenge",R2="code_challenge_method",M2="code_verifier",D2="client-request-id",$2="x-client-SKU",z2="x-client-VER",N2="x-client-OS",F2="x-client-CPU",q2="x-client-current-telemetry",U2="x-client-last-telemetry",O2="x-ms-lib-capability",H2="x-app-name",B2="x-app-ver",V2="post_logout_redirect_uri",G2="id_token_hint",Q2="device_code",j2="client_secret",Y2="client_assertion",W2="client_assertion_type",ek="token_type",tk="req_cnf",K2="assertion",J2="requested_token_use",EPe="on_behalf_of",APe="foci",kPe="X-AnchorMailbox",ok="return_spa_code",Z2="nativebroker",X2="logout_hint",eF="sid",tF="login_hint",oF="domain_hint",IPe="x-client-xtra-sku",ox="brk_client_id",nk="brk_redirect_uri",fh="instance_aware",nF="ear_jwk",iF="ear_jwe_crypto",rF="resource",sF="clidata";function ik(e){return`See https://aka.ms/msal.js.errors#${e} for details`}var ot=class e extends Error{constructor(t,o,n){let i=o||(t?ik(t):""),r=i?`${t}: ${i}`:t;super(r),Object.setPrototypeOf(this,e.prototype),this.errorCode=t||"",this.errorMessage=i||"",this.subError=n||"",this.name="AuthError"}setCorrelationId(t){this.correlationId=t}};function hh(e,t){return new ot(e,t||ik(e))}var nx=class e extends ot{constructor(t){super(t),this.name="ClientConfigurationError",Object.setPrototypeOf(this,e.prototype)}};function Pt(e){return new nx(e)}var No=class{static isEmptyObj(t){if(t)try{let o=JSON.parse(t);return Object.keys(o).length===0}catch{}return!0}static startsWith(t,o){return t.indexOf(o)===0}static endsWith(t,o){return t.length>=o.length&&t.lastIndexOf(o)===t.length-o.length}static queryStringToObject(t){let o={},n=t.split("&"),i=r=>decodeURIComponent(r.replace(/\+/g," "));return n.forEach(r=>{if(r.trim()){let[s,a]=r.split(/=(.+)/g,2);s&&a&&(o[i(s)]=i(a))}}),o}static trimArrayEntries(t){return t.map(o=>o.trim())}static removeEmptyStringsFromArray(t){return t.filter(o=>!!o)}static jsonParseHelper(t){try{return JSON.parse(t)}catch{return null}}};var ix=class e extends ot{constructor(t,o){super(t,o),this.name="ClientAuthError",Object.setPrototypeOf(this,e.prototype)}};function Z(e,t){return new ix(e,t)}var Xi={};Do(Xi,{authorityMismatch:()=>NPe,authorityUriInsecure:()=>lF,cannotAllowPlatformBroker:()=>zPe,cannotSetOIDCOptions:()=>$Pe,claimsRequestParsingError:()=>LPe,emptyInputScopesError:()=>uF,invalidAuthenticationHeader:()=>DPe,invalidAuthorityMetadata:()=>gF,invalidClaims:()=>rk,invalidCloudDiscoveryMetadata:()=>sk,invalidCodeChallengeMethod:()=>PPe,invalidRequestMethodForEAR:()=>FPe,logoutRequestEmpty:()=>pF,missingNonceAuthenticationHeader:()=>MPe,missingSshJwk:()=>rx,missingSshKid:()=>RPe,pkceParamsMissing:()=>mF,redirectUriEmpty:()=>aF,tokenRequestEmpty:()=>dF,untrustedAuthority:()=>fF,urlEmptyError:()=>cF,urlParseError:()=>bh});var aF="redirect_uri_empty",LPe="claims_request_parsing_error",lF="authority_uri_insecure",bh="url_parse_error",cF="empty_url_error",uF="empty_input_scopes_error",rk="invalid_claims",dF="token_request_empty",pF="logout_request_empty",PPe="invalid_code_challenge_method",mF="pkce_params_missing",sk="invalid_cloud_discovery_metadata",gF="invalid_authority_metadata",fF="untrusted_authority",rx="missing_ssh_jwk",RPe="missing_ssh_kid",MPe="missing_nonce_authentication_header",DPe="invalid_authentication_header",$Pe="cannot_set_OIDCOptions",zPe="cannot_allow_platform_broker",NPe="authority_mismatch",FPe="invalid_request_method_for_EAR";var fn={};Do(fn,{authTimeNotFound:()=>sx,authorizationCodeMissingFromServerResponse:()=>LF,bindingKeyNotRemoved:()=>HPe,cannotAppendScopeSet:()=>AF,cannotRemoveEmptyScope:()=>EF,clientInfoDecodingError:()=>ak,clientInfoEmptyError:()=>hF,emptyInputScopeSet:()=>uk,endSessionEndpointNotSupported:()=>PF,endpointResolutionError:()=>da,hashNotDeserialized:()=>yF,invalidCacheEnvironment:()=>lx,invalidCacheRecord:()=>kF,invalidState:()=>Xp,keyIdMissing:()=>RF,maxAgeTranspired:()=>SF,methodNotImplemented:()=>_t,misplacedResourceParam:()=>DF,multipleMatchingAppMetadata:()=>wF,multipleMatchingTokens:()=>qPe,nestedAppAuthBridgeDisabled:()=>GPe,networkError:()=>_F,noAccountFound:()=>UPe,noAccountInSilentRequest:()=>ax,noCryptoObject:()=>dk,noNetworkConnectivity:()=>BPe,nonceMismatch:()=>TF,nullOrEmptyToken:()=>bF,openIdConfigError:()=>vF,platformBrokerError:()=>QPe,requestCannotBeMade:()=>CF,resourceParameterRequired:()=>MF,stateMismatch:()=>xF,stateNotFound:()=>ck,tokenClaimsCnfRequiredForSignedJwt:()=>IF,tokenParsingError:()=>lk,tokenRefreshRequired:()=>_h,unexpectedCredentialType:()=>OPe,userCanceled:()=>VPe});var ak="client_info_decoding_error",hF="client_info_empty_error",lk="token_parsing_error",bF="null_or_empty_token",da="endpoints_resolution_error",_F="network_error",vF="openid_config_error",yF="hash_not_deserialized",Xp="invalid_state",xF="state_mismatch",ck="state_not_found",TF="nonce_mismatch",sx="auth_time_not_found",SF="max_age_transpired",qPe="multiple_matching_tokens",wF="multiple_matching_appMetadata",CF="request_cannot_be_made",EF="cannot_remove_empty_scope",AF="cannot_append_scopeset",uk="empty_input_scopeset",ax="no_account_in_silent_request",kF="invalid_cache_record",lx="invalid_cache_environment",UPe="no_account_found",dk="no_crypto_object",OPe="unexpected_credential_type",_h="token_refresh_required",IF="token_claims_cnf_required_for_signedjwt",LF="authorization_code_missing_from_server_response",HPe="binding_key_not_removed",PF="end_session_endpoint_not_supported",RF="key_id_missing",BPe="no_network_connectivity",VPe="user_canceled",_t="method_not_implemented",GPe="nested_app_auth_bridge_disabled",QPe="platform_broker_error",MF="resource_parameter_required",DF="misplaced_resource_parameter";var hn=class e{constructor(t){let o=t?No.trimArrayEntries([...t]):[],n=o?No.removeEmptyStringsFromArray(o):[];if(!n||!n.length)throw Pt(uF);this.scopes=new Set,n.forEach(i=>this.scopes.add(i))}static fromString(t){let n=(t||"").split(" ");return new e(n)}static createSearchScopes(t){let o=t&&t.length>0?t:[...uh],n=new e(o);return n.containsOnlyOIDCScopes()?n.removeScope(VA):n.removeOIDCScopes(),n}containsScope(t){let o=this.printScopesLowerCase().split(" "),n=new e(o);return t?n.scopes.has(t.toLowerCase()):!1}containsScopeSet(t){return!t||t.scopes.size<=0?!1:this.scopes.size>=t.scopes.size&&t.asArray().every(o=>this.containsScope(o))}containsOnlyOIDCScopes(){let t=0;return YA.forEach(o=>{this.containsScope(o)&&(t+=1)}),this.scopes.size===t}appendScope(t){t&&this.scopes.add(t.trim())}appendScopes(t){try{t.forEach(o=>this.appendScope(o))}catch{throw Z(AF)}}removeScope(t){if(!t)throw Z(EF);this.scopes.delete(t.trim())}removeOIDCScopes(){YA.forEach(t=>{this.scopes.delete(t)})}unionScopeSets(t){if(!t)throw Z(uk);let o=new Set;return t.scopes.forEach(n=>o.add(n.toLowerCase())),this.scopes.forEach(n=>o.add(n.toLowerCase())),o}intersectingScopeSets(t){if(!t)throw Z(uk);t.containsOnlyOIDCScopes()||t.removeOIDCScopes();let o=this.unionScopeSets(t),n=t.getScopeCount(),i=this.getScopeCount();return o.sizet.push(o)),t}printScopes(){return this.scopes?this.asArray().join(" "):""}printScopesLowerCase(){return this.printScopes().toLowerCase()}};function em(e,t,o){if(!t)return;let n=e.get(il);n&&e.has(ox)&&o?.addFields({embeddedClientId:n,embeddedRedirectUri:e.get(XA)},t)}function jPe(e,t){e.set(x2,t)}function $F(e,t){e.set(T2,t||i2.QUERY)}function YPe(e){e.set(Z2,"1")}function tm(e,t,o=!0,n=uh){o&&!n.includes("openid")&&!t.includes("openid")&&n.push("openid");let i=o?[...t||[],...n]:t||[],r=new hn(i);e.set(C2,r.printScopes())}function om(e,t){e.set(il,t)}function nm(e,t){e.set(XA,t)}function zF(e,t){e.set(V2,t)}function NF(e,t){e.set(G2,t)}function FF(e,t){e.set(oF,t)}function vh(e,t){e.set(tF,t)}function Bu(e,t){e.set(Bo.CCS_HEADER,`UPN:${t}`)}function bc(e,t){e.set(Bo.CCS_HEADER,`Oid:${t.uid}@${t.utid}`)}function pk(e,t){e.set(eF,t)}function im(e,t,o){let n=$ae(t,o);try{JSON.parse(n)}catch{throw Pt(rk)}e.set(w2,n)}function rm(e,t){e.set(D2,t)}function cx(e,t){e.set($2,t.sku),e.set(z2,t.version),t.os&&e.set(N2,t.os),t.cpu&&e.set(F2,t.cpu)}function ux(e,t){t?.appName&&e.set(H2,t.appName),t?.appVersion&&e.set(B2,t.appVersion)}function qF(e,t){e.set(I2,t)}function dx(e,t){t&&e.set(A2,t)}function UF(e,t){e.set(k2,t)}function WPe(e,t,o){if(t&&o)e.set(P2,t),e.set(R2,o);else throw Pt(mF)}function OF(e,t){e.set(L2,t)}function KPe(e,t){e.set(Q2,t)}function HF(e,t){e.set(E2,t)}function BF(e,t){e.set(M2,t)}function px(e,t){e.set(j2,t)}function mx(e,t){t&&e.set(Y2,t)}function gx(e,t){t&&e.set(W2,t)}function JPe(e,t){e.set(K2,t)}function ZPe(e,t){e.set(J2,t)}function fx(e,t){e.set(S2,t)}function sm(e){e.set(a2,"1")}function VF(e){e.set(sF,"1")}function hx(e){e.has(fh)||e.set(fh,"true")}function _c(e,t){Object.entries(t).forEach(([o,n])=>{!e.has(o)&&n&&e.set(o,n)})}function $ae(e,t){let o;if(!e)o={};else try{o=JSON.parse(e)}catch{throw Pt(rk)}return t&&t.length>0&&(o.hasOwnProperty(dh.ACCESS_TOKEN)||(o[dh.ACCESS_TOKEN]={}),o[dh.ACCESS_TOKEN][dh.XMS_CC]={values:t}),JSON.stringify(o)}function XPe(e,t){e.set(ZA.username,t)}function eRe(e,t){e.set(ZA.password,t)}function bx(e,t){t&&(e.set(ek,wo.POP),e.set(tk,t))}function _x(e,t){t&&(e.set(ek,wo.SSH),e.set(tk,t))}function vx(e,t){e.set(q2,t.generateCurrentRequestHeaderValue()),e.set(U2,t.generateLastRequestHeaderValue())}function yx(e){e.set(O2,h2)}function GF(e,t){e.set(X2,t)}function vc(e,t,o){e.has(ox)||e.set(ox,t),e.has(nk)||e.set(nk,o)}function tRe(e,t){e.set(nF,encodeURIComponent(t)),e.set(iF,"eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0")}function xx(e,t){t&&e.set(rF,t)}var Ts={};Do(Ts,{getDeserializedResponse:()=>oRe,mapToQueryString:()=>rl,normalizeUrlForComparison:()=>nRe,stripLeadingHashOrQuery:()=>Nae});function zae(e){if(!e)return e;let t=e.toLowerCase();return No.endsWith(t,"?")?t=t.slice(0,-1):No.endsWith(t,"?/")&&(t=t.slice(0,-2)),No.endsWith(t,"/")||(t+="/"),t}function Nae(e){return e.startsWith("#/")?e.substring(2):e.startsWith("#")||e.startsWith("?")?e.substring(1):e}function oRe(e){if(!e||e.indexOf("=")<0)return null;try{let t=Nae(e),o=Object.fromEntries(new URLSearchParams(t));if(o.code||o.ear_jwe||o.error||o.error_description||o.state)return o}catch{throw Z(yF)}return null}function rl(e){let t=new Array;return e.forEach((o,n)=>{t.push(`${n}=${encodeURIComponent(o)}`)}),t.join("&")}function nRe(e){if(!e)return e;let t=e.split("#")[0];try{let o=new URL(t),n=o.origin+o.pathname+o.search;return zae(n)}catch{return zae(t)}}var Vu={createNewGuid:()=>{throw Z(_t)},base64Decode:()=>{throw Z(_t)},base64Encode:()=>{throw Z(_t)},base64UrlEncode:()=>{throw Z(_t)},encodeKid:()=>{throw Z(_t)},async getPublicKeyThumbprint(){throw Z(_t)},async removeTokenBindingKey(){throw Z(_t)},async clearKeystore(){throw Z(_t)},async signJwt(){throw Z(_t)},async hashString(){throw Z(_t)}};var Dt;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"})(Dt||(Dt={}));var iRe=50,rRe=500,am=new Map;function sRe(e,t){am.delete(e),am.set(e,t)}function aRe(e,t){let o=Date.now(),n=am.get(e);if(n)sRe(e,n);else if(n={logs:[],firstEventTime:o},am.set(e,n),am.size>iRe){let i=am.keys().next().value;i&&am.delete(i)}n.logs.push({...t,milliseconds:o-n.firstEventTime}),n.logs.length>rRe&&n.logs.shift()}function lRe(e){if(e.length!==6)return!1;for(let t=0;t="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"))return!1}return!0}var bn=class e{constructor(t,o,n){this.level=Dt.Info;let i=()=>{},r=t||e.createDefaultLoggerOptions();this.localCallback=r.loggerCallback||i,this.piiLoggingEnabled=r.piiLoggingEnabled||!1,this.level=typeof r.logLevel=="number"?r.logLevel:Dt.Info,this.packageName=o||"",this.packageVersion=n||""}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Dt.Info}}clone(t,o){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level},t,o)}logMessage(t,o){let n=o.correlationId;if(lRe(t)){let l={hash:t,level:o.logLevel,containsPii:o.containsPii||!1,milliseconds:0};aRe(n,l)}if(o.logLevel>this.level||!this.piiLoggingEnabled&&o.containsPii)return;let a=`${`[${new Date().toUTCString()}] : [${n}]`} : ${this.packageName}@${this.packageVersion} : ${Dt[o.logLevel]} - ${t}`;this.executeCallback(o.logLevel,a,o.containsPii||!1)}executeCallback(t,o,n){this.localCallback&&this.localCallback(t,o,n)}error(t,o){this.logMessage(t,{logLevel:Dt.Error,containsPii:!1,correlationId:o})}errorPii(t,o){this.logMessage(t,{logLevel:Dt.Error,containsPii:!0,correlationId:o})}warning(t,o){this.logMessage(t,{logLevel:Dt.Warning,containsPii:!1,correlationId:o})}warningPii(t,o){this.logMessage(t,{logLevel:Dt.Warning,containsPii:!0,correlationId:o})}info(t,o){this.logMessage(t,{logLevel:Dt.Info,containsPii:!1,correlationId:o})}infoPii(t,o){this.logMessage(t,{logLevel:Dt.Info,containsPii:!0,correlationId:o})}verbose(t,o){this.logMessage(t,{logLevel:Dt.Verbose,containsPii:!1,correlationId:o})}verbosePii(t,o){this.logMessage(t,{logLevel:Dt.Verbose,containsPii:!0,correlationId:o})}trace(t,o){this.logMessage(t,{logLevel:Dt.Trace,containsPii:!1,correlationId:o})}tracePii(t,o){this.logMessage(t,{logLevel:Dt.Trace,containsPii:!0,correlationId:o})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}};var Gu="@azure/msal-common",sl="16.4.1";var Qu={None:"none",AzurePublic:"https://login.microsoftonline.com",AzurePpe:"https://login.windows-ppe.net",AzureChina:"https://login.chinacloudapi.cn",AzureGermany:"https://login.microsoftonline.de",AzureUsGovernment:"https://login.microsoftonline.us"};function QF(e,t){return!!e&&!!t&&e===t.split(".")[1]}function al(e,t,o,n){if(n){let{oid:i,sub:r,tid:s,name:a,tfp:l,acr:c,preferred_username:u,upn:p,login_hint:m}=n,g=s||l||c||"";return{tenantId:g,localAccountId:i||r||"",name:a,username:u||p||"",loginHint:m,isHomeTenant:QF(g,e)}}else return{tenantId:o,localAccountId:t,username:"",isHomeTenant:QF(o,e)}}function lm(e,t,o,n){let i=e;if(t){let{isHomeTenant:r,...s}=t;i={...e,...s}}if(o){let{isHomeTenant:r,...s}=al(e.homeAccountId,e.localAccountId,e.tenantId,o);return i={...i,...s,idTokenClaims:o,idToken:n},i}return i}var di={};Do(di,{checkMaxAge:()=>Tx,extractTokenClaims:()=>yc,getJWSPayload:()=>Fae,isKmsi:()=>jF});function yc(e,t){let o=Fae(e);try{let n=t(o);return JSON.parse(n)}catch{throw Z(lk)}}function jF(e){if(!e.signin_state)return!1;let t=["kmsi","dvc_dmjd"];return e.signin_state.some(o=>t.includes(o.trim().toLowerCase()))}function Fae(e){if(!e)throw Z(bF);let o=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!o||o.length<4)throw Z(lk);return o[2]}function Tx(e,t){if(t===0||Date.now()-3e5>e+t)throw Z(SF)}var Tt=class e{get urlString(){return this._urlString}constructor(t){if(this._urlString=t,!this._urlString)throw Pt(cF);t.includes("#")||(this._urlString=e.canonicalizeUri(t))}static canonicalizeUri(t){if(t){let o=t.toLowerCase();return No.endsWith(o,"?")?o=o.slice(0,-1):No.endsWith(o,"?/")&&(o=o.slice(0,-2)),No.endsWith(o,"/")||(o+="/"),o}return t}validateAsUri(){let t;try{t=this.getUrlComponents()}catch{throw Pt(bh)}if(!t.HostNameAndPort||!t.PathSegments)throw Pt(bh);if(!t.Protocol||t.Protocol.toLowerCase()!=="https:")throw Pt(lF)}static appendQueryString(t,o){return o?t.indexOf("?")<0?`${t}?${o}`:`${t}&${o}`:t}static removeHashFromUrl(t){return e.canonicalizeUri(t.split("#")[0])}replaceTenantPath(t){let o=this.getUrlComponents(),n=o.PathSegments;return t&&n.length!==0&&(n[0]===ca.COMMON||n[0]===ca.ORGANIZATIONS)&&(n[0]=t),e.constructAuthorityUriFromObject(o)}getUrlComponents(){let t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),o=this.urlString.match(t);if(!o)throw Pt(bh);let n={Protocol:o[1],HostNameAndPort:o[4],AbsolutePath:o[5],QueryString:o[7]},i=n.AbsolutePath.split("/");return i=i.filter(r=>r&&r.length>0),n.PathSegments=i,n.QueryString&&n.QueryString.endsWith("/")&&(n.QueryString=n.QueryString.substring(0,n.QueryString.length-1)),n}static getDomainFromUrl(t){let o=RegExp("^([^:/?#]+://)?([^/?#]*)"),n=t.match(o);if(!n)throw Pt(bh);return n[2]}static getAbsoluteUrl(t,o){if(t[0]===ch){let i=new e(o).getUrlComponents();return i.Protocol+"//"+i.HostNameAndPort+t}return t}static constructAuthorityUriFromObject(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))}};var cRe=[{host:"login.microsoftonline.com"},{host:"login.chinacloudapi.cn",issuerHost:"login.partner.microsoftonline.cn"},{host:"login.microsoftonline.us"},{host:"login.sovcloud-identity.fr"},{host:"login.sovcloud-identity.de"},{host:"login.sovcloud-identity.sg"}];function uRe(e,t){return{token_endpoint:`https://${e}/{tenantid}/oauth2/v2.0/token`,jwks_uri:`https://${e}/{tenantid}/discovery/v2.0/keys`,issuer:`https://${t}/{tenantid}/v2.0`,authorization_endpoint:`https://${e}/{tenantid}/oauth2/v2.0/authorize`,end_session_endpoint:`https://${e}/{tenantid}/oauth2/v2.0/logout`}}var dRe=cRe.reduce((e,{host:t,issuerHost:o})=>(e[t]=uRe(t,o||t),e),{}),Uae={endpointMetadata:dRe,instanceDiscoveryMetadata:{metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]},{preferred_network:"login.sovcloud-identity.fr",preferred_cache:"login.sovcloud-identity.fr",aliases:["login.sovcloud-identity.fr"]},{preferred_network:"login.sovcloud-identity.de",preferred_cache:"login.sovcloud-identity.de",aliases:["login.sovcloud-identity.de"]},{preferred_network:"login.sovcloud-identity.sg",preferred_cache:"login.sovcloud-identity.sg",aliases:["login.sovcloud-identity.sg"]}]}},YF=Uae.endpointMetadata,WF=Uae.instanceDiscoveryMetadata,KF=new Set;WF.metadata.forEach(e=>{e.aliases.forEach(t=>{KF.add(t)})});function Oae(e,t,o){let n,i=e.canonicalAuthority;if(i){let r=new Tt(i).getUrlComponents().HostNameAndPort;n=qae(t,o,r,e.cloudDiscoveryMetadata?.metadata)||qae(t,o,r,WF.metadata)||e.knownAuthorities}return n||[]}function qae(e,t,o,n,i){if(e.trace("1bmquz",t),o&&n){let r=Sx(n,o);if(r)return e.trace("1fotbt",t),r.aliases;e.trace("14avvj",t)}return null}function Hae(e){return Sx(WF.metadata,e)}function Sx(e,t){for(let o=0;oZF,cacheQuotaExceeded:()=>JF});var JF="cache_quota_exceeded",ZF="cache_error_unknown";var ju=class e extends Error{constructor(t,o){let n=o||ik(t);super(n),Object.setPrototypeOf(this,e.prototype),this.name="CacheError",this.errorCode=t,this.errorMessage=n}};function yh(e){return e instanceof Error?e.name==="QuotaExceededError"||e.name==="NS_ERROR_DOM_QUOTA_REACHED"||e.message.includes("exceeded the quota")?new ju(JF):new ju(e.name,e.message):new ju(ZF)}var Ss={};Do(Ss,{createAccountEntity:()=>XF,createAccountEntityFromAccountInfo:()=>gRe,generateAccountId:()=>pRe,generateHomeAccountId:()=>eq,getAccountInfo:()=>Th,isAccountEntity:()=>fRe,isSingleTenant:()=>mRe});function xh(e,t){if(!e)throw Z(hF);try{let o=t(e);return JSON.parse(o)}catch{throw Z(ak)}}function ll(e){if(!e)throw Z(ak);let t=e.split(ph,2);return{uid:t[0],utid:t.length<2?"":t[1]}}var Ci={Default:0,Adfs:1,Dsts:2,Ciam:3};function cm(e){return e&&(e.tid||e.tfp||e.acr)||null}var uo={AAD:"AAD",OIDC:"OIDC",EAR:"EAR"};function pRe(e){return[e.homeAccountId,e.environment].join(Jp).toLowerCase()}function Th(e){let t=e.tenantProfiles||[];return t.length===0&&e.realm&&e.localAccountId&&t.push(al(e.homeAccountId,e.localAccountId,e.realm)),{homeAccountId:e.homeAccountId,environment:e.environment,tenantId:e.realm,username:e.username,localAccountId:e.localAccountId,loginHint:e.loginHint,name:e.name,nativeAccountId:e.nativeAccountId,authorityType:e.authorityType,tenantProfiles:new Map(t.map(o=>[o.tenantId,o])),dataBoundary:e.dataBoundary}}function mRe(e){return!e.tenantProfiles}function XF(e,t,o){let n;t.authorityType===Ci.Adfs?n=s2:t.protocolMode===uo.OIDC?n=WA:n=r2;let i,r;e.clientInfo&&o&&(i=xh(e.clientInfo,o),i.xms_tdbr&&(r=i.xms_tdbr==="EU"?"EU":"None"));let s=e.environment||t&&t.getPreferredCache();if(!s)throw Z(lx);let a=e.idTokenClaims?.preferred_username||e.idTokenClaims?.upn,l=e.idTokenClaims?.emails?e.idTokenClaims.emails[0]:null,c=a||l||"",u=e.idTokenClaims?.login_hint,p=i?.utid||cm(e.idTokenClaims)||"",m=i?.uid||e.idTokenClaims?.oid||e.idTokenClaims?.sub||"",g;return e.tenantProfiles?g=e.tenantProfiles:g=[al(e.homeAccountId,m,p,e.idTokenClaims)],{homeAccountId:e.homeAccountId,environment:s,realm:p,localAccountId:m,username:c,authorityType:n,loginHint:u,clientInfo:e.clientInfo,name:e.idTokenClaims?.name||"",lastModificationTime:void 0,lastModificationApp:void 0,cloudGraphHostName:e.cloudGraphHostName,msGraphHost:e.msGraphHost,nativeAccountId:e.nativeAccountId,tenantProfiles:g,dataBoundary:r}}function gRe(e,t,o){let n=Array.from(e.tenantProfiles?.values()||[]);return n.length===0&&e.tenantId&&e.localAccountId&&n.push(al(e.homeAccountId,e.localAccountId,e.tenantId,e.idTokenClaims)),{authorityType:e.authorityType||WA,homeAccountId:e.homeAccountId,localAccountId:e.localAccountId,nativeAccountId:e.nativeAccountId,realm:e.tenantId,environment:e.environment,username:e.username,loginHint:e.loginHint,name:e.name,cloudGraphHostName:t,msGraphHost:o,tenantProfiles:n,dataBoundary:e.dataBoundary}}function eq(e,t,o,n,i,r){if(!(t===Ci.Adfs||t===Ci.Dsts)){if(e)try{let s=xh(e,n.base64Decode);if(s.uid&&s.utid)return`${s.uid}.${s.utid}`}catch{}o.warning("1ub6wv",i)}return r?.sub||""}function fRe(e){return e?e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"):!1}var um=class{constructor(t,o,n,i,r){this.clientId=t,this.cryptoImpl=o,this.commonLogger=n.clone(Gu,sl),this.staticAuthorityOptions=r,this.performanceClient=i}getAllAccounts(t={},o){return this.buildTenantProfiles(this.getAccountsFilteredBy(t,o),o,t)}getAccountInfoFilteredBy(t,o){if(Object.keys(t).length===0||Object.values(t).every(i=>i==null||i===""))return this.commonLogger.warning("1skb02",o),null;let n=this.getAllAccounts(t,o);return n.length>1?n.sort(r=>r.idTokenClaims?-1:1)[0]:n.length===1?n[0]:null}getBaseAccountInfo(t,o){let n=this.getAccountsFilteredBy(t,o);return n.length>0?Th(n[0]):null}buildTenantProfiles(t,o,n){return t.flatMap(i=>this.getTenantProfilesFromAccountEntity(i,o,n?.tenantId,n))}getTenantedAccountInfoByFilter(t,o,n,i,r){let s=null,a;if(r&&!this.tenantProfileMatchesFilter(n,r))return null;let l=this.getIdToken(t,i,o,n.tenantId);return l&&(a=yc(l.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(a,r))?null:(s=lm(t,n,a,l?.secret),s)}getTenantProfilesFromAccountEntity(t,o,n,i){let r=Th(t),s=r.tenantProfiles||new Map,a=this.getTokenKeys();if(n){let c=s.get(n);if(c)s=new Map([[n,c]]);else return[]}let l=[];return s.forEach(c=>{let u=this.getTenantedAccountInfoByFilter(r,a,c,o,i);u&&l.push(u)}),l}tenantProfileMatchesFilter(t,o){return!(o.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(t,o.localAccountId)||o.name&&t.name!==o.name||o.isHomeTenant!==void 0&&t.isHomeTenant!==o.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(t,o){return!(o&&(o.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(t,o.localAccountId)||o.loginHint&&!this.matchLoginHintFromTokenClaims(t,o.loginHint)||o.username&&!this.matchUsername(t.preferred_username,o.username)||o.name&&!this.matchName(t,o.name)||o.sid&&!this.matchSid(t,o.sid)))}async saveCacheRecord(t,o,n,i,r){if(!t)throw Z(kF);try{t.account&&await this.setAccount(t.account,o,n,i),t.idToken&&r?.idToken!==!1&&await this.setIdTokenCredential(t.idToken,o,n),t.accessToken&&r?.accessToken!==!1&&await this.saveAccessToken(t.accessToken,o,n),t.refreshToken&&r?.refreshToken!==!1&&await this.setRefreshTokenCredential(t.refreshToken,o,n),t.appMetadata&&this.setAppMetadata(t.appMetadata,o)}catch(s){throw this.commonLogger?.error("0j476p",o),s instanceof ot?s:yh(s)}}async saveAccessToken(t,o,n){let i={clientId:t.clientId,credentialType:t.credentialType,environment:t.environment,homeAccountId:t.homeAccountId,realm:t.realm,tokenType:t.tokenType},r=this.getTokenKeys(),s=hn.fromString(t.target);r.accessToken.forEach(a=>{if(!this.accessTokenKeyMatchesFilter(a,i,!1))return;let l=this.getAccessTokenCredential(a,o);l&&this.credentialMatchesFilter(l,i,o)&&hn.fromString(l.target).intersectingScopeSets(s)&&this.removeAccessToken(a,o)}),await this.setAccessTokenCredential(t,o,n)}getAccountsFilteredBy(t,o){let n=this.getAccountKeys(),i=[];return n.forEach(r=>{let s=this.getAccount(r,o);if(!s||t.homeAccountId&&!this.matchHomeAccountId(s,t.homeAccountId)||t.username&&!this.matchUsername(s.username,t.username)||t.environment&&!this.matchEnvironment(s,t.environment,o)||t.realm&&!this.matchRealm(s,t.realm)||t.nativeAccountId&&!this.matchNativeAccountId(s,t.nativeAccountId)||t.authorityType&&!this.matchAuthorityType(s,t.authorityType))return;let a={localAccountId:t?.localAccountId,name:t?.name},l=s.tenantProfiles?.filter(c=>this.tenantProfileMatchesFilter(c,a));l&&l.length===0||i.push(s)}),i}credentialMatchesFilter(t,o,n){return!(o.clientId&&!this.matchClientId(t,o.clientId)||o.userAssertionHash&&!this.matchUserAssertionHash(t,o.userAssertionHash)||typeof o.homeAccountId=="string"&&!this.matchHomeAccountId(t,o.homeAccountId)||o.environment&&!this.matchEnvironment(t,o.environment,n)||o.realm&&!this.matchRealm(t,o.realm)||o.credentialType&&!this.matchCredentialType(t,o.credentialType)||o.familyId&&!this.matchFamilyId(t,o.familyId)||o.target&&!this.matchTarget(t,o.target)||t.credentialType===gn.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(o.tokenType&&!this.matchTokenType(t,o.tokenType)||o.tokenType===wo.SSH&&o.keyId&&!this.matchKeyId(t,o.keyId)))}getAppMetadataFilteredBy(t,o){let n=this.getKeys(),i={};return n.forEach(r=>{if(!this.isAppMetadata(r))return;let s=this.getAppMetadata(r,o);s&&(t.environment&&!this.matchEnvironment(s,t.environment,o)||t.clientId&&!this.matchClientId(s,t.clientId)||(i[r]=s))}),i}getAuthorityMetadataByAlias(t,o){let n=this.getAuthorityMetadataKeys(),i=null;return n.forEach(r=>{if(!this.isAuthorityMetadata(r)||r.indexOf(this.clientId)===-1)return;let s=this.getAuthorityMetadata(r,o);s&&s.aliases.indexOf(t)!==-1&&(i=s)}),i}removeAllAccounts(t){this.getAllAccounts({},t).forEach(n=>{this.removeAccount(n,t)})}removeAccount(t,o){this.removeAccountContext(t,o);let n=this.getAccountKeys(),i=r=>r.includes(t.homeAccountId)&&r.includes(t.environment);n.filter(i).forEach(r=>{this.removeItem(r,o),this.performanceClient.incrementFields({accountsRemoved:1},o)})}removeAccountContext(t,o){let n=this.getTokenKeys(),i=r=>r.includes(t.homeAccountId)&&r.includes(t.environment);n.idToken.filter(i).forEach(r=>{this.removeIdToken(r,o)}),n.accessToken.filter(i).forEach(r=>{this.removeAccessToken(r,o)}),n.refreshToken.filter(i).forEach(r=>{this.removeRefreshToken(r,o)})}removeAccessToken(t,o){let n=this.getAccessTokenCredential(t,o);if(n&&(this.removeItem(t,o),this.performanceClient.incrementFields({accessTokensRemoved:1},o),n.credentialType.toLowerCase()===gn.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&n.tokenType===wo.POP)){let r=n.keyId;r&&this.cryptoImpl.removeTokenBindingKey(r,o).catch(()=>{this.commonLogger.error("0cx291",o),this.performanceClient?.incrementFields({removeTokenBindingKeyFailure:1},o)})}}removeAppMetadata(t){return this.getKeys().forEach(n=>{this.isAppMetadata(n)&&this.removeItem(n,t)}),!0}getIdToken(t,o,n,i){this.commonLogger.trace("1drz22",o);let r={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:gn.ID_TOKEN,clientId:this.clientId,realm:i},s=this.getIdTokensByFilter(r,o,n),a=s.size;if(a<1)return this.commonLogger.info("1atvtd",o),null;if(a>1){let l=s;if(!i){let c=new Map;s.forEach((p,m)=>{p.realm===t.tenantId&&c.set(m,p)});let u=c.size;if(u<1)return this.commonLogger.info("0ooalx",o),s.values().next().value;if(u===1)return this.commonLogger.info("1eq2vc",o),c.values().next().value;l=c}return this.commonLogger.info("1ws328",o),l.forEach((c,u)=>{this.removeIdToken(u,o)}),this.performanceClient.addFields({multiMatchedID:s.size},o),null}return this.commonLogger.info("1sm769",o),s.values().next().value}getIdTokensByFilter(t,o,n){let i=n&&n.idToken||this.getTokenKeys().idToken,r=new Map;return i.forEach(s=>{if(!this.idTokenKeyMatchesFilter(s,{clientId:this.clientId,...t}))return;let a=this.getIdTokenCredential(s,o);a&&this.credentialMatchesFilter(a,t,o)&&r.set(s,a)}),r}idTokenKeyMatchesFilter(t,o){let n=t.toLowerCase();return!(o.clientId&&n.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&n.indexOf(o.homeAccountId.toLowerCase())===-1)}removeIdToken(t,o){this.removeItem(t,o)}removeRefreshToken(t,o){this.removeItem(t,o)}getAccessToken(t,o,n,i){let r=o.correlationId;this.commonLogger.trace("1t7hz1",r);let s=hn.createSearchScopes(o.scopes),a=o.authenticationScheme||wo.BEARER,l=a&&a.toLowerCase()!==wo.BEARER.toLowerCase()?gn.ACCESS_TOKEN_WITH_AUTH_SCHEME:gn.ACCESS_TOKEN,c={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:l,clientId:this.clientId,realm:i||t.tenantId,target:s,tokenType:a,keyId:o.sshKid},u=n&&n.accessToken||this.getTokenKeys().accessToken,p=[];u.forEach(g=>{if(this.accessTokenKeyMatchesFilter(g,c,!0)){let f=this.getAccessTokenCredential(g,r);f&&this.credentialMatchesFilter(f,c,r)&&p.push(f)}});let m=p.length;return m<1?(this.commonLogger.info("1nckna",r),null):m>1?(this.commonLogger.info("1wkfwp",r),p.forEach(g=>{this.removeAccessToken(this.generateCredentialKey(g),r)}),this.performanceClient.addFields({multiMatchedAT:p.length},r),null):(this.commonLogger.info("06yt98",r),p[0])}accessTokenKeyMatchesFilter(t,o,n){let i=t.toLowerCase();if(o.clientId&&i.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&i.indexOf(o.homeAccountId.toLowerCase())===-1||o.realm&&i.indexOf(o.realm.toLowerCase())===-1)return!1;if(o.target){let r=o.target.asArray();for(let s=0;s{if(!this.accessTokenKeyMatchesFilter(r,t,!0))return;let s=this.getAccessTokenCredential(r,o);s&&this.credentialMatchesFilter(s,t,o)&&i.push(s)}),i}getRefreshToken(t,o,n,i){this.commonLogger.trace("0x53vi",n);let r=o?Zp:void 0,s={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:gn.REFRESH_TOKEN,clientId:this.clientId,familyId:r},a=i&&i.refreshToken||this.getTokenKeys().refreshToken,l=[];a.forEach(u=>{if(this.refreshTokenKeyMatchesFilter(u,s)){let p=this.getRefreshTokenCredential(u,n);p&&this.credentialMatchesFilter(p,s,n)&&l.push(p)}});let c=l.length;return c<1?(this.commonLogger.info("0dlw11",n),null):(c>1&&this.performanceClient.addFields({multiMatchedRT:c},n),this.commonLogger.info("0wcnep",n),l[0])}refreshTokenKeyMatchesFilter(t,o){let n=t.toLowerCase();return!(o.familyId&&n.indexOf(o.familyId.toLowerCase())===-1||!o.familyId&&o.clientId&&n.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&n.indexOf(o.homeAccountId.toLowerCase())===-1)}readAppMetadataFromCache(t,o){let n={environment:t,clientId:this.clientId},i=this.getAppMetadataFilteredBy(n,o),r=Object.keys(i).map(a=>i[a]),s=r.length;if(s<1)return null;if(s>1)throw Z(wF);return r[0]}isAppMetadataFOCI(t,o){let n=this.readAppMetadataFromCache(t,o);return!!(n&&n.familyId===Zp)}matchHomeAccountId(t,o){return typeof t.homeAccountId=="string"&&o===t.homeAccountId}matchLocalAccountIdFromTokenClaims(t,o){let n=t.oid||t.sub;return o===n}matchLocalAccountIdFromTenantProfile(t,o){return t.localAccountId===o}matchName(t,o){return o.toLowerCase()===t.name?.toLowerCase()}matchUsername(t,o){return!!(t&&typeof t=="string"&&o?.toLowerCase()===t.toLowerCase())}matchUserAssertionHash(t,o){return!!(t.userAssertionHash&&o===t.userAssertionHash)}matchEnvironment(t,o,n){if(this.staticAuthorityOptions){let r=Oae(this.staticAuthorityOptions,this.commonLogger,n);if(r.includes(o)&&r.includes(t.environment))return!0}let i=this.getAuthorityMetadataByAlias(o,n);return!!(i&&i.aliases.indexOf(t.environment)>-1)}matchCredentialType(t,o){return t.credentialType&&o.toLowerCase()===t.credentialType.toLowerCase()}matchClientId(t,o){return!!(t.clientId&&o===t.clientId)}matchFamilyId(t,o){return!!(t.familyId&&o===t.familyId)}matchRealm(t,o){return t.realm?.toLowerCase()===o.toLowerCase()}matchNativeAccountId(t,o){return!!(t.nativeAccountId&&o===t.nativeAccountId)}matchLoginHintFromTokenClaims(t,o){return t.login_hint===o||t.preferred_username===o||t.upn===o}matchSid(t,o){return t.sid===o}matchAuthorityType(t,o){return!!(t.authorityType&&o.toLowerCase()===t.authorityType.toLowerCase())}matchTarget(t,o){return t.credentialType!==gn.ACCESS_TOKEN&&t.credentialType!==gn.ACCESS_TOKEN_WITH_AUTH_SCHEME||!t.target?!1:hn.fromString(t.target).containsScopeSet(o)}matchTokenType(t,o){return!!(t.tokenType&&t.tokenType===o)}matchKeyId(t,o){return!!(t.keyId&&t.keyId===o)}isAppMetadata(t){return t.indexOf(mh)!==-1}isAuthorityMetadata(t){return t.indexOf(gh)!==-1}generateAuthorityMetadataCacheKey(t){return`${gh}-${this.clientId}-${t}`}static toObject(t,o){for(let n in o)t[n]=o[n];return t}},Cx=class extends um{async setAccount(){throw Z(_t)}getAccount(){throw Z(_t)}async setIdTokenCredential(){throw Z(_t)}getIdTokenCredential(){throw Z(_t)}async setAccessTokenCredential(){throw Z(_t)}getAccessTokenCredential(){throw Z(_t)}async setRefreshTokenCredential(){throw Z(_t)}getRefreshTokenCredential(){throw Z(_t)}setAppMetadata(){throw Z(_t)}getAppMetadata(){throw Z(_t)}setServerTelemetry(){throw Z(_t)}getServerTelemetry(){throw Z(_t)}setAuthorityMetadata(){throw Z(_t)}getAuthorityMetadata(){throw Z(_t)}getAuthorityMetadataKeys(){throw Z(_t)}setThrottlingCache(){throw Z(_t)}getThrottlingCache(){throw Z(_t)}removeItem(){throw Z(_t)}getKeys(){throw Z(_t)}getAccountKeys(){throw Z(_t)}getTokenKeys(){throw Z(_t)}generateCredentialKey(){throw Z(_t)}generateAccountKey(){throw Z(_t)}};var Bae={NotStarted:0,InProgress:1,Completed:2};var xc=class{generateId(){return"callback-id"}startMeasurement(t,o){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:Bae.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:t,startTimeMs:Date.now(),correlationId:o||""}}}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}};var mk={tokenRenewalOffsetSeconds:y2,preventCorsPreflight:!1},hRe={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Dt.Info,correlationId:""},bRe={async sendGetRequestAsync(){throw Z(_t)},async sendPostRequestAsync(){throw Z(_t)}},_Re={sku:ON,version:sl,cpu:"",os:""},vRe={clientSecret:"",clientAssertion:void 0},yRe={azureCloudInstance:Qu.None,tenant:`${Wy}`},xRe={application:{appName:"",appVersion:""}};function Sh({authOptions:e,systemOptions:t,loggerOptions:o,storageInterface:n,networkInterface:i,cryptoInterface:r,clientCredentials:s,libraryInfo:a,telemetry:l,serverTelemetryManager:c,persistencePlugin:u,serializableCache:p}){let m={...hRe,...o};return{authOptions:TRe(e),systemOptions:{...mk,...t},loggerOptions:m,storageInterface:n||new Cx(e.clientId,Vu,new bn(m),new xc),networkInterface:i||bRe,cryptoInterface:r||Vu,clientCredentials:s||vRe,libraryInfo:{..._Re,...a},telemetry:{...xRe,...l},serverTelemetryManager:c||null,persistencePlugin:u||null,serializableCache:p||null}}function TRe(e){return{clientCapabilities:[],azureCloudOptions:yRe,instanceAware:!1,isMcp:!1,...e}}function gk(e){return e.authOptions.authority.options.protocolMode===uo.OIDC}var fk=class{constructor(t,o){this.cache=t,this.hasChanged=o}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}};var _n={};Do(_n,{createAccessTokenEntity:()=>nq,createIdTokenEntity:()=>oq,createRefreshTokenEntity:()=>iq,generateAppMetadataKey:()=>PRe,generateAuthorityMetadataExpiresAt:()=>bk,isAccessTokenEntity:()=>ERe,isAppMetadataEntity:()=>RRe,isAuthorityMetadataEntity:()=>MRe,isAuthorityMetadataExpired:()=>_k,isCredentialEntity:()=>hk,isIdTokenEntity:()=>ARe,isRefreshTokenEntity:()=>kRe,isServerTelemetryEntity:()=>IRe,isThrottlingEntity:()=>LRe,updateAuthorityEndpointMetadata:()=>Ch,updateCloudDiscoveryMetadata:()=>Ax});var er={};Do(er,{delay:()=>CRe,isCacheExpired:()=>wRe,isTokenExpired:()=>wh,nowSeconds:()=>Mr,toDateFromSeconds:()=>Ex,toSecondsFromDate:()=>SRe,wasClockTurnedBack:()=>tq});function Mr(){return Math.round(new Date().getTime()/1e3)}function SRe(e){return e.getTime()/1e3}function Ex(e){return e?new Date(Number(e)*1e3):new Date}function wh(e,t){let o=Number(e)||0;return Mr()+t>o}function wRe(e,t){let o=Number(e)+t*24*60*60*1e3;return Date.now()>o}function tq(e){return Number(e)>Mr()}function CRe(e,t){return new Promise(o=>setTimeout(()=>o(t),e))}function oq(e,t,o,n,i){return{credentialType:gn.ID_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,realm:i,lastUpdatedAt:Date.now().toString()}}function nq(e,t,o,n,i,r,s,a,l,c,u,p,m){let g={homeAccountId:e,credentialType:gn.ACCESS_TOKEN,secret:o,cachedAt:Mr().toString(),expiresOn:s.toString(),extendedExpiresOn:a.toString(),environment:t,clientId:n,realm:i,target:r,tokenType:u||wo.BEARER,lastUpdatedAt:Date.now().toString()};if(p&&(g.userAssertionHash=p),c&&(g.refreshOn=c.toString()),g.tokenType?.toLowerCase()!==wo.BEARER.toLowerCase())switch(g.credentialType=gn.ACCESS_TOKEN_WITH_AUTH_SCHEME,g.tokenType){case wo.POP:let f=yc(o,l);if(!f?.cnf?.kid)throw Z(IF);g.keyId=f.cnf.kid;break;case wo.SSH:g.keyId=m}return g}function iq(e,t,o,n,i,r,s){let a={credentialType:gn.REFRESH_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,lastUpdatedAt:Date.now().toString()};return r&&(a.userAssertionHash=r),i&&(a.familyId=i),s&&(a.expiresOn=s.toString()),a}function hk(e){return e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")}function ERe(e){return e?hk(e)&&e.hasOwnProperty("realm")&&e.hasOwnProperty("target")&&(e.credentialType===gn.ACCESS_TOKEN||e.credentialType===gn.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1}function ARe(e){return e?hk(e)&&e.hasOwnProperty("realm")&&e.credentialType===gn.ID_TOKEN:!1}function kRe(e){return e?hk(e)&&e.credentialType===gn.REFRESH_TOKEN:!1}function IRe(e,t){let o=e.indexOf(Xy)===0,n=!0;return t&&(n=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),o&&n}function LRe(e,t){let o=!1;e&&(o=e.indexOf(ex)===0);let n=!0;return t&&(n=t.hasOwnProperty("throttleTime")),o&&n}function PRe({environment:e,clientId:t}){return[mh,e,t].join(Jp).toLowerCase()}function RRe(e,t){return t?e.indexOf(mh)===0&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment"):!1}function MRe(e,t){return t?e.indexOf(gh)===0&&t.hasOwnProperty("aliases")&&t.hasOwnProperty("preferred_cache")&&t.hasOwnProperty("preferred_network")&&t.hasOwnProperty("canonical_authority")&&t.hasOwnProperty("authorization_endpoint")&&t.hasOwnProperty("token_endpoint")&&t.hasOwnProperty("issuer")&&t.hasOwnProperty("aliasesFromNetwork")&&t.hasOwnProperty("endpointsFromNetwork")&&t.hasOwnProperty("expiresAt")&&t.hasOwnProperty("jwks_uri"):!1}function bk(){return Mr()+l2}function Ch(e,t,o){e.authorization_endpoint=t.authorization_endpoint,e.token_endpoint=t.token_endpoint,e.end_session_endpoint=t.end_session_endpoint,e.issuer=t.issuer,e.endpointsFromNetwork=o,e.jwks_uri=t.jwks_uri}function Ax(e,t,o){e.aliases=t.aliases,e.preferred_cache=t.preferred_cache,e.preferred_network=t.preferred_network,e.aliasesFromNetwork=o}function _k(e){return e.expiresAt<=Mr()}var vn={};Do(vn,{AuthClientCreateTokenRequestBody:()=>mq,AuthClientExecuteTokenRequest:()=>pq,AuthorityGetCloudDiscoveryMetadataFromNetwork:()=>hq,AuthorityGetEndpointMetadataFromNetwork:()=>_q,AuthorityResolveEndpointsAsync:()=>fq,AuthorityUpdateCloudDiscoveryMetadata:()=>bq,AuthorityUpdateEndpointMetadata:()=>vq,AuthorityUpdateMetadataWithRegionalInformation:()=>vk,AuthorizationCodeClientExecutePostToTokenEndpoint:()=>aq,CacheManagerGetRefreshToken:()=>Tq,GetAuthCodeUrl:()=>DRe,HandleCodeResponseFromServer:()=>$Re,HandleServerTokenResponse:()=>Ix,NetworkClientSendPostRequestAsync:()=>rq,PopTokenGenerateCnf:()=>dm,RefreshTokenClientAcquireToken:()=>cq,RefreshTokenClientAcquireTokenWithCachedRefreshToken:()=>kx,RefreshTokenClientCreateTokenRequestBody:()=>uq,RefreshTokenClientExecutePostToTokenEndpoint:()=>sq,RefreshTokenClientExecuteTokenRequest:()=>lq,RegionDiscoveryDetectRegion:()=>yq,RegionDiscoveryGetCurrentVersion:()=>xq,RegionDiscoveryGetRegionFromIMDS:()=>yk,SetUserData:()=>zRe,SilentFlowClientGenerateResultFromCacheRecord:()=>dq,UpdateTokenEndpointAuthority:()=>gq});var rq="networkClientSendPostRequestAsync",sq="refreshTokenClientExecutePostToTokenEndpoint",aq="authorizationCodeClientExecutePostToTokenEndpoint",lq="refreshTokenClientExecuteTokenRequest",cq="refreshTokenClientAcquireToken",kx="refreshTokenClientAcquireTokenWithCachedRefreshToken",uq="refreshTokenClientCreateTokenRequestBody",dq="silentFlowClientGenerateResultFromCacheRecord",DRe="getAuthCodeUrl",$Re="handleCodeResponseFromServer",pq="authClientExecuteTokenRequest",mq="authClientCreateTokenRequestBody",gq="updateTokenEndpointAuthority",dm="popTokenGenerateCnf",Ix="handleServerTokenResponse",fq="authorityResolveEndpointsAsync",hq="authorityGetCloudDiscoveryMetadataFromNetwork",bq="authorityUpdateCloudDiscoveryMetadata",_q="authorityGetEndpointMetadataFromNetwork",vq="authorityUpdateEndpointMetadata",vk="authorityUpdateMetadataWithRegionalInformation",yq="regionDiscoveryDetectRegion",yk="regionDiscoveryGetRegionFromIMDS",xq="regionDiscoveryGetCurrentVersion",Tq="cacheManagerGetRefreshToken",zRe="setUserData";var Jo=(e,t,o,n,i)=>(...r)=>{o.trace("1plfzx",i);let s=n.startMeasurement(t,i);i&&n.incrementFields({[`ext.${t}CallCount`]:1},i);try{let a=e(...r);return s.end({success:!0}),o.trace("1g8n6a",i),a}catch(a){o.trace("0cfd8i",i);try{o.trace(JSON.stringify(a),i)}catch{o.trace("00dty7",i)}throw s.end({success:!1},a),a}},G=(e,t,o,n,i)=>(...r)=>{o.trace("1plfzx",i);let s=n.startMeasurement(t,i);return i&&n.incrementFields({[`ext.${t}CallCount`]:1},i),e(...r).then(a=>(o.trace("1g8n6a",i),s.end({success:!0}),a)).catch(a=>{o.trace("0cfd8i",i);try{o.trace(JSON.stringify(a),i)}catch{o.trace("00dty7",i)}throw s.end({success:!1},a),a})};var NRe={SW:"sw"},tr=class{constructor(t,o){this.cryptoUtils=t,this.performanceClient=o}async generateCnf(t,o){let n=await G(this.generateKid.bind(this),dm,o,this.performanceClient,t.correlationId)(t),i=this.cryptoUtils.base64UrlEncode(JSON.stringify(n));return{kid:n.kid,reqCnfString:i}}async generateKid(t){return{kid:await this.cryptoUtils.getPublicKeyThumbprint(t),xms_ksl:NRe.SW}}async signPopToken(t,o,n){return this.signPayload(t,o,n)}async signPayload(t,o,n,i){let{resourceRequestMethod:r,resourceRequestUri:s,shrClaims:a,shrNonce:l,shrOptions:c}=n,p=(s?new Tt(s):void 0)?.getUrlComponents();return this.cryptoUtils.signJwt({at:t,ts:Mr(),m:r?.toUpperCase(),u:p?.HostNameAndPort,nonce:l||this.cryptoUtils.createNewGuid(),p:p?.AbsolutePath,q:p?.QueryString?[[],p.QueryString]:void 0,client_claims:a||void 0,...i},o,c,n.correlationId)}};var cl={};Do(cl,{badToken:()=>Lx,consentRequired:()=>Eq,interactionRequired:()=>Cq,interruptedUser:()=>kq,loginRequired:()=>Aq,nativeAccountUnavailable:()=>FRe,noTokensFound:()=>xk,refreshTokenExpired:()=>Sq,uxNotAllowed:()=>wq});var xk="no_tokens_found",FRe="native_account_unavailable",Sq="refresh_token_expired",wq="ux_not_allowed",Cq="interaction_required",Eq="consent_required",Aq="login_required",Lx="bad_token",kq="interrupted_user";var Vae=[Cq,Eq,Aq,Lx,wq,kq],qRe=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token","ux_not_allowed","interrupted_user"],Co=class e extends ot{constructor(t,o,n,i,r,s,a,l){super(t,o,n),Object.setPrototypeOf(this,e.prototype),this.timestamp=i||"",this.traceId=r||"",this.correlationId=s||"",this.claims=a||"",this.name="InteractionRequiredAuthError",this.errorNo=l}};function Tk(e,t,o){let n=!!e&&Vae.indexOf(e)>-1,i=!!o&&qRe.indexOf(o)>-1,r=!!t&&Vae.some(s=>t.indexOf(s)>-1);return n||r||i}function pm(e,t){return new Co(e,t)}var or=class e extends ot{constructor(t,o,n,i,r){super(t,o,n),this.name="ServerError",this.errorNo=i,this.status=r,Object.setPrototypeOf(this,e.prototype)}};var pa={};Do(pa,{generateLibraryState:()=>Gae,parseRequestState:()=>Iq,setRequestState:()=>URe});function URe(e,t,o){let n=Gae(e,o);return t?`${n}${Ky}${t}`:n}function Gae(e,t){if(!e)throw Z(dk);let o={id:e.createNewGuid()};t&&(o.meta=t);let n=JSON.stringify(o);return e.base64Encode(n)}function Iq(e,t){if(!e)throw Z(dk);if(!t)throw Z(Xp);try{let o=t.split(Ky),n=o[0],i=o.length>1?o.slice(1).join(Ky):"",r=e(n),s=JSON.parse(r);return{userRequestState:i||"",libraryState:s}}catch{throw Z(Xp)}}var ma=class e{constructor(t,o,n,i,r,s,a){this.clientId=t,this.cacheStorage=o,this.cryptoObj=n,this.logger=i,this.performanceClient=r,this.serializableCache=s,this.persistencePlugin=a}validateTokenResponse(t,o,n){if(t.error||t.error_description||t.suberror){let i=`Error(s): ${t.error_codes||Kp} - Timestamp: ${t.timestamp||Kp} - Description: ${t.error_description||Kp} - Correlation ID: ${t.correlation_id||Kp} - Trace ID: ${t.trace_id||Kp}`,r=t.error_codes?.length?t.error_codes[0]:void 0,s=new or(t.error,i,t.suberror,r,t.status);if(n&&t.status&&t.status>=o2&&t.status<=n2){this.logger.warning("16ks7j",o);return}else if(n&&t.status&&t.status>=e2&&t.status<=t2){this.logger.warning("0g61x3",o);return}throw Tk(t.error,t.error_description,t.suberror)?new Co(t.error,t.error_description,t.suberror,t.timestamp||"",t.trace_id||"",t.correlation_id||"",t.claims||"",r):s}}async handleServerTokenResponse(t,o,n,i,r,s,a,l,c,u){let p;if(t.id_token){if(p=yc(t.id_token||"",this.cryptoObj.base64Decode),s&&s.nonce&&p.nonce!==s.nonce)throw Z(TF);if(i.maxAge||i.maxAge===0){let _=p.auth_time;if(!_)throw Z(sx);Tx(_,i.maxAge)}}this.homeAccountIdentifier=eq(t.client_info||"",o.authorityType,this.logger,this.cryptoObj,i.correlationId,p);let m;s&&s.state&&(m=Iq(this.cryptoObj.base64Decode,s.state)),t.key_id=t.key_id||i.sshKid||void 0;let g=this.generateCacheRecord(t,o,n,i,p,a,s),f;try{if(this.persistencePlugin&&this.serializableCache&&(this.logger.verbose("0jbz5k",i.correlationId),f=new fk(this.serializableCache,!0),await this.persistencePlugin.beforeCacheAccess(f)),l&&!c&&g.account&&this.cacheStorage.getAllAccounts({homeAccountId:g.account.homeAccountId,environment:g.account.environment},i.correlationId).length<1)return this.logger.warning("1gmt66",i.correlationId),this.performanceClient?.addFields({acntLoggedOut:!0},i.correlationId),await e.generateAuthenticationResult(this.cryptoObj,o,g,!1,i,this.performanceClient,p,m,void 0,u);await this.cacheStorage.saveCacheRecord(g,i.correlationId,jF(p||{}),r,i.storeInCache)}finally{this.persistencePlugin&&this.serializableCache&&f&&(this.logger.verbose("1bh17u",i.correlationId),await this.persistencePlugin.afterCacheAccess(f))}return e.generateAuthenticationResult(this.cryptoObj,o,g,!1,i,this.performanceClient,p,m,t,u)}generateCacheRecord(t,o,n,i,r,s,a){let l=o.getPreferredCache();if(!l)throw Z(lx);let c=cm(r),u,p;t.id_token&&r&&(u=oq(this.homeAccountIdentifier,l,t.id_token,this.clientId,c||""),p=Sk(this.cacheStorage,o,this.homeAccountIdentifier,this.cryptoObj.base64Decode,i.correlationId,r,t.client_info,l,c,a,void 0,this.logger,this.performanceClient));let m=null;if(t.access_token){let _=t.scope?hn.fromString(t.scope):new hn(i.scopes||[]),h=(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,x=(typeof t.ext_expires_in=="string"?parseInt(t.ext_expires_in,10):t.ext_expires_in)||0,v=(typeof t.refresh_in=="string"?parseInt(t.refresh_in,10):t.refresh_in)||void 0,T=n+h,I=T+x,C=v&&v>0?n+v:void 0;m=nq(this.homeAccountIdentifier,l,t.access_token,this.clientId,c||o.tenant||"",_.printScopes(),T,I,this.cryptoObj.base64Decode,C,t.token_type,s,t.key_id);let H=i.resource||null;H&&(m.resource=H)}let g=null;if(t.refresh_token){let _;if(t.refresh_token_expires_in){let h=typeof t.refresh_token_expires_in=="string"?parseInt(t.refresh_token_expires_in,10):t.refresh_token_expires_in;_=n+h,this.performanceClient?.addFields({ntwkRtExpiresOnSeconds:_},i.correlationId)}g=iq(this.homeAccountIdentifier,l,t.refresh_token,this.clientId,t.foci,s,_)}let f=null;return t.foci&&(f={clientId:this.clientId,environment:l,familyId:t.foci}),{account:p,idToken:u,accessToken:m,refreshToken:g,appMetadata:f}}static async generateAuthenticationResult(t,o,n,i,r,s,a,l,c,u){let p="",m=[],g=null,f,_,h="";if(n.accessToken){if(n.accessToken.tokenType===wo.POP&&!r.popKid){let I=new tr(t,s),{secret:C,keyId:H}=n.accessToken;if(!H)throw Z(RF);p=await I.signPopToken(C,H,r)}else p=n.accessToken.secret;m=hn.fromString(n.accessToken.target).asArray(),g=Ex(n.accessToken.expiresOn),f=Ex(n.accessToken.extendedExpiresOn),n.accessToken.refreshOn&&(_=Ex(n.accessToken.refreshOn))}n.appMetadata&&(h=n.appMetadata.familyId===Zp?Zp:"");let x=a?.oid||a?.sub||"",v=a?.tid||"";c?.spa_accountid&&n.account&&(n.account.nativeAccountId=c?.spa_accountid);let T=n.account?lm(Th(n.account),void 0,a,n.idToken?.secret):null;return{authority:o.canonicalAuthority,uniqueId:x,tenantId:v,scopes:m,account:T,idToken:n?.idToken?.secret||"",idTokenClaims:a||{},accessToken:p,fromCache:i,expiresOn:g,extExpiresOn:f,refreshOn:_,correlationId:r.correlationId,requestId:u||"",familyId:h,tokenType:n.accessToken?.tokenType||"",state:l?l.userRequestState:"",cloudGraphHostName:n.account?.cloudGraphHostName||"",msGraphHost:n.account?.msGraphHost||"",code:c?.spa_code,fromPlatformBroker:!1}}};function Sk(e,t,o,n,i,r,s,a,l,c,u,p,m){p?.verbose("09jz0t",i);let g=a||t.getPreferredCache(),f=e.getAccountsFilteredBy({homeAccountId:o,environment:g},i);m?.addFields({cacheMatchedAccounts:f.length},i),f.length>1&&p?.warning("0x7ad1",i);let h=(f.length===1?f[0]:null)||XF({homeAccountId:o,idTokenClaims:r,clientInfo:s,environment:a,cloudGraphHostName:c?.cloud_graph_host_name,msGraphHost:c?.msgraph_host,nativeAccountId:u},t,n),x=h.tenantProfiles||[],v=l||h.realm;if(v&&!x.find(T=>T.tenantId===v)){let T=al(o,h.localAccountId,v,r);x.push(T)}return h.tenantProfiles=x,h}var pi={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"};async function wk(e,t,o){return typeof e=="string"?e:e({clientId:t,tokenEndpoint:o})}function Tc(e,t,o){return{clientId:e,authority:t.authority,scopes:t.scopes,homeAccountIdentifier:o,claims:t.claims,authenticationScheme:t.authenticationScheme,resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,sshKid:t.sshKid,embeddedClientId:t.embeddedClientId||t.extraParameters?.clientId}}var Sc=class e{static generateThrottlingStorageKey(t){return`${ex}.${JSON.stringify(t)}`}static preProcess(t,o,n){let i=e.generateThrottlingStorageKey(o),r=t.getThrottlingCache(i,n);if(r){if(r.throttleTime=500&&t.status<600}static checkResponseForRetryAfter(t){return t.headers?t.headers.hasOwnProperty(Bo.RETRY_AFTER)&&(t.status<200||t.status>=300):!1}static calculateThrottleTime(t){let o=t<=0?0:t,n=Date.now()/1e3;return Math.floor(Math.min(n+(o||g2),n+f2)*1e3)}static removeThrottle(t,o,n,i){let r=Tc(o,n,i),s=this.generateThrottlingStorageKey(r);t.removeItem(s,n.correlationId)}};var Eh=class e extends ot{constructor(t,o,n){super(t.errorCode,t.errorMessage,t.subError),Object.setPrototypeOf(this,e.prototype),this.name="NetworkError",this.error=t,this.httpStatus=o,this.responseHeaders=n}};function mm(e,t,o,n){return e.errorMessage=`${e.errorMessage}, additionalErrorInfo: error.name:${n?.name}, error.message:${n?.message}`,new Eh(e,t,o)}function Ck(e,t,o){let n={};if(n[Bo.CONTENT_TYPE]=jN,!t&&o)switch(o.type){case pi.HOME_ACCOUNT_ID:try{let i=ll(o.credential);n[Bo.CCS_HEADER]=`Oid:${i.uid}@${i.utid}`}catch{e.verbose("1qhtee","")}break;case pi.UPN:n[Bo.CCS_HEADER]=`UPN: ${o.credential}`;break}return n}function Ek(e,t,o,n){let i=new Map;return e.embeddedClientId&&vc(i,t,o),e.extraQueryParameters&&_c(i,e.extraQueryParameters),rm(i,e.correlationId),em(i,e.correlationId,n),rl(i)}async function Ak(e,t,o,n,i,r,s,a,l,c){let u=await ORe(n,e,{body:t,headers:o},i,r,s,a,l);return c&&u.status<500&&u.status!==429&&c.clearTelemetryCache(),u}async function ORe(e,t,o,n,i,r,s,a){Sc.preProcess(i,e,n);let l;try{l=await G(r.sendPostRequestAsync.bind(r),rq,s,a,n)(t,o);let c=l.headers||{};a?.addFields({refreshTokenSize:l.body.refresh_token?.length||0,httpVerToken:c[Bo.X_MS_HTTP_VERSION]||"",requestId:c[Bo.X_MS_REQUEST_ID]||""},n)}catch(c){if(c instanceof Eh){let u=c.responseHeaders;throw u&&a?.addFields({httpVerToken:u[Bo.X_MS_HTTP_VERSION]||"",requestId:u[Bo.X_MS_REQUEST_ID]||"",contentTypeHeader:u[Bo.CONTENT_TYPE]||void 0,contentLengthHeader:u[Bo.CONTENT_LENGTH]||void 0,httpStatus:c.httpStatus},n),c.error}throw c instanceof ot?c:Z(_F)}return Sc.postProcess(i,e,l,n),l}var Ik={};Do(Ik,{createDiscoveredInstance:()=>Pq});function Qae(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}function jae(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}function Yae(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}var Px=class e{constructor(t,o,n,i){this.networkInterface=t,this.logger=o,this.performanceClient=n,this.correlationId=i}async detectRegion(t,o){let n=t;if(n)o.region_source=Hu.ENVIRONMENT_VARIABLE;else{let i=e.IMDS_OPTIONS;try{let r=await G(this.getRegionFromIMDS.bind(this),yk,this.logger,this.performanceClient,this.correlationId)(YN,i);if(r.status===QA&&(n=r.body,o.region_source=Hu.IMDS),r.status===jA){let s=await G(this.getCurrentVersion.bind(this),xq,this.logger,this.performanceClient,this.correlationId)(i);if(!s)return o.region_source=Hu.FAILED_AUTO_DETECTION,null;let a=await G(this.getRegionFromIMDS.bind(this),yk,this.logger,this.performanceClient,this.correlationId)(s,i);a.status===QA&&(n=a.body,o.region_source=Hu.IMDS)}}catch{return o.region_source=Hu.FAILED_AUTO_DETECTION,null}}return n||(o.region_source=Hu.FAILED_AUTO_DETECTION),n||null}async getRegionFromIMDS(t,o){return this.networkInterface.sendGetRequestAsync(`${GA}?api-version=${t}&format=text`,o,WN)}async getCurrentVersion(t){try{let o=await this.networkInterface.sendGetRequestAsync(`${GA}?format=json`,t);return o.status===jA&&o.body&&o.body["newest-versions"]&&o.body["newest-versions"].length>0?o.body["newest-versions"][0]:null}catch{return null}}};Px.IMDS_OPTIONS={headers:{Metadata:"true"}};var wc=class e{constructor(t,o,n,i,r,s,a,l){this.canonicalAuthority=t,this._canonicalAuthority.validateAsUri(),this.networkInterface=o,this.cacheManager=n,this.authorityOptions=i,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=r,this.performanceClient=a,this.correlationId=s,this.managedIdentity=l||!1,this.regionDiscovery=new Px(o,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(t){if(t.HostNameAndPort.endsWith(BA))return Ci.Ciam;let o=t.PathSegments;if(o.length)switch(o[0].toLowerCase()){case BN:return Ci.Adfs;case VN:return Ci.Dsts}return Ci.Default}get authorityType(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)}get protocolMode(){return this.authorityOptions.protocolMode}get options(){return this.authorityOptions}get canonicalAuthority(){return this._canonicalAuthority.urlString}set canonicalAuthority(t){this._canonicalAuthority=new Tt(t),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw Z(da)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw Z(da)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw Z(da)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw Z(PF);return this.replacePath(this.metadata.end_session_endpoint)}else throw Z(da)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw Z(da)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw Z(da)}canReplaceTenant(t){return t.PathSegments.length===1&&!e.reservedTenantDomains.has(t.PathSegments[0])&&this.getAuthorityType(t)===Ci.Default&&this.protocolMode!==uo.OIDC}replaceTenant(t){return t.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(t){let o=t,i=new Tt(this.metadata.canonical_authority).getUrlComponents(),r=i.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((a,l)=>{let c=r[l];if(l===0&&this.canReplaceTenant(i)){let u=new Tt(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];c!==u&&(this.logger.verbose("1q3g2x",this.correlationId),c=u)}a!==c&&(o=o.replace(`/${c}/`,`/${a}/`))}),this.replaceTenant(o)}get defaultOpenIdConfigurationEndpoint(){let t=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===Ci.Adfs||this.protocolMode===uo.OIDC&&!this.isAliasOfKnownMicrosoftAuthority(t)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}async resolveEndpointsAsync(){let t=this.getCurrentMetadataEntity(),o=await G(this.updateCloudDiscoveryMetadata.bind(this),bq,this.logger,this.performanceClient,this.correlationId)(t);this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,t.preferred_network);let n=await G(this.updateEndpointMetadata.bind(this),vq,this.logger,this.performanceClient,this.correlationId)(t);this.updateCachedMetadata(t,o,{source:n}),this.performanceClient?.addFields({cloudDiscoverySource:o,authorityEndpointSource:n},this.correlationId)}getCurrentMetadataEntity(){let t=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort,this.correlationId);return t||(t={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:bk(),jwks_uri:""}),t}updateCachedMetadata(t,o,n){o!==Rr.CACHE&&n?.source!==Rr.CACHE&&(t.expiresAt=bk(),t.canonical_authority=this.canonicalAuthority);let i=this.cacheManager.generateAuthorityMetadataCacheKey(t.preferred_cache,this.correlationId);this.cacheManager.setAuthorityMetadata(i,t,this.correlationId),this.metadata=t}async updateEndpointMetadata(t){let o=this.updateEndpointMetadataFromLocalSources(t);if(o){if(o.source===Rr.HARDCODED_VALUES&&this.authorityOptions.azureRegionConfiguration?.azureRegion&&o.metadata){let i=await G(this.updateMetadataWithRegionalInformation.bind(this),vk,this.logger,this.performanceClient,this.correlationId)(o.metadata);Ch(t,i,!1),t.canonical_authority=this.canonicalAuthority}return o.source}let n=await G(this.getEndpointMetadataFromNetwork.bind(this),_q,this.logger,this.performanceClient,this.correlationId)();if(n)return this.authorityOptions.azureRegionConfiguration?.azureRegion&&(n=await G(this.updateMetadataWithRegionalInformation.bind(this),vk,this.logger,this.performanceClient,this.correlationId)(n)),Ch(t,n,!0),Rr.NETWORK;throw Z(vF,this.defaultOpenIdConfigurationEndpoint)}updateEndpointMetadataFromLocalSources(t){this.logger.verbose("1fi0kc",this.correlationId);let o=this.getEndpointMetadataFromConfig();if(o)return this.logger.verbose("06t0uj",this.correlationId),Ch(t,o,!1),{source:Rr.CONFIG};this.logger.verbose("151k0p",this.correlationId);let n=this.getEndpointMetadataFromHardcodedValues();if(n)return Ch(t,n,!1),{source:Rr.HARDCODED_VALUES,metadata:n};this.logger.verbose("1imop5",this.correlationId);let i=_k(t);return this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!i?(this.logger.verbose("16uq31",""),{source:Rr.CACHE}):(i&&this.logger.verbose("0uoibc",""),null)}isAuthoritySameType(t){return new Tt(t.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw Pt(gF)}return null}async getEndpointMetadataFromNetwork(){let t={},o=this.defaultOpenIdConfigurationEndpoint;this.logger.verbose("1y65x6",this.correlationId);try{let n=await this.networkInterface.sendGetRequestAsync(o,t);return Qae(n.body)?n.body:(this.logger.verbose("1koyv8",this.correlationId),null)}catch{return this.logger.verbose("0a9wik",this.correlationId),null}}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in YF?YF[this.hostnameAndPort]:null}async updateMetadataWithRegionalInformation(t){let o=this.authorityOptions.azureRegionConfiguration?.azureRegion;if(o){if(o!==KN)return this.regionDiscoveryMetadata.region_outcome=tx.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=o,e.replaceWithRegionalInformation(t,o);let n=await G(this.regionDiscovery.detectRegion.bind(this.regionDiscovery),yq,this.logger,this.performanceClient,this.correlationId)(this.authorityOptions.azureRegionConfiguration?.environmentRegion,this.regionDiscoveryMetadata);if(n)return this.regionDiscoveryMetadata.region_outcome=tx.AUTO_DETECTION_REQUESTED_SUCCESSFUL,this.regionDiscoveryMetadata.region_used=n,e.replaceWithRegionalInformation(t,n);this.regionDiscoveryMetadata.region_outcome=tx.AUTO_DETECTION_REQUESTED_FAILED}return t}async updateCloudDiscoveryMetadata(t){let o=this.updateCloudDiscoveryMetadataFromLocalSources(t);if(o)return o;let n=await G(this.getCloudDiscoveryMetadataFromNetwork.bind(this),hq,this.logger,this.performanceClient,this.correlationId)();if(n)return Ax(t,n,!0),Rr.NETWORK;throw Pt(fF)}updateCloudDiscoveryMetadataFromLocalSources(t){this.logger.verbose("0jhlgt",this.correlationId),this.logger.verbosePii("1fy7uz",this.correlationId),this.logger.verbosePii("08zabj",this.correlationId),this.logger.verbosePii("1o1kv3",this.correlationId);let o=this.getCloudDiscoveryMetadataFromConfig();if(o)return this.logger.verbose("1nakio",this.correlationId),Ax(t,o,!1),Rr.CONFIG;this.logger.verbose("1x74aj",this.correlationId);let n=Hae(this.hostnameAndPort);if(n)return this.logger.verbose("0by47c",this.correlationId),Ax(t,n,!1),Rr.HARDCODED_VALUES;this.logger.verbose("0r2fzy",this.correlationId);let i=_k(t);return this.isAuthoritySameType(t)&&t.aliasesFromNetwork&&!i?(this.logger.verbose("1uffgh",""),Rr.CACHE):(i&&this.logger.verbose("0uoibc",""),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===Ci.Ciam)return this.logger.verbose("04y84h",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("0gszr3",this.correlationId);try{this.logger.verbose("1iifkx",this.correlationId);let t=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),o=Sx(t.metadata,this.hostnameAndPort);if(this.logger.verbose("0q67e3",""),o)return this.logger.verbose("0hzfao",this.correlationId),o;this.logger.verbose("1ajz3u",this.correlationId)}catch{throw this.logger.verbose("1wq5tu",this.correlationId),Pt(sk)}}return this.isInKnownAuthorities()?(this.logger.verbose("0mt9al",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}async getCloudDiscoveryMetadataFromNetwork(){let t=`${GN}${this.canonicalAuthority}oauth2/v2.0/authorize`,o={},n=null;try{let i=await this.networkInterface.sendGetRequestAsync(t,o),r,s;if(jae(i.body))r=i.body,s=r.metadata,this.logger.verbosePii("1vglyt",this.correlationId);else if(Yae(i.body)){if(this.logger.warning("062uto",this.correlationId),r=i.body,r.error===XN)return this.logger.error("1x90tm",this.correlationId),null;this.logger.warning("0wchdm",this.correlationId),this.logger.warning("1s5mpv",this.correlationId),this.logger.warning("1yhqpw",this.correlationId),s=[]}else return this.logger.error("0768g0",this.correlationId),null;this.logger.verbose("1lrobr",this.correlationId),n=Sx(s,this.hostnameAndPort)}catch(i){return i instanceof ot?this.logger.error("0vwhc7",this.correlationId):this.logger.error("0s2z41",this.correlationId),null}return n||(this.logger.warning("0jp28q",this.correlationId),this.logger.verbose("130sd8",this.correlationId),n=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),n}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(o=>o&&Tt.getDomainFromUrl(o).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(t,o){let n;if(o&&o.azureCloudInstance!==Qu.None){let i=o.tenant?o.tenant:Wy;n=`${o.azureCloudInstance}/${i}/`}return n||t}static createCloudDiscoveryMetadataFromHost(t){return{preferred_network:t,preferred_cache:t,aliases:[t]}}getPreferredCache(){if(this.managedIdentity)return HN;if(this.discoveryComplete())return this.metadata.preferred_cache;throw Z(da)}isAlias(t){return this.metadata.aliases.indexOf(t)>-1}isAliasOfKnownMicrosoftAuthority(t){return KF.has(t)}static isPublicCloudAuthority(t){return ZN.indexOf(t)>=0}static buildRegionalAuthorityString(t,o,n){let i=new Tt(t);i.validateAsUri();let r=i.getUrlComponents(),s=`${o}.${r.HostNameAndPort}`;this.isPublicCloudAuthority(r.HostNameAndPort)&&(s=`${o}.${JN}`);let a=Tt.constructAuthorityUriFromObject({...i.getUrlComponents(),HostNameAndPort:s}).urlString;return n?`${a}?${n}`:a}static replaceWithRegionalInformation(t,o){let n={...t};return n.authorization_endpoint=e.buildRegionalAuthorityString(n.authorization_endpoint,o),n.token_endpoint=e.buildRegionalAuthorityString(n.token_endpoint,o),n.end_session_endpoint&&(n.end_session_endpoint=e.buildRegionalAuthorityString(n.end_session_endpoint,o)),n}static transformCIAMAuthority(t){let o=t,i=new Tt(t).getUrlComponents();if(i.PathSegments.length===0&&i.HostNameAndPort.endsWith(BA)){let r=i.HostNameAndPort.split(".")[0];o=`${o}${r}${QN}`}return o}};wc.reservedTenantDomains=new Set(["{tenant}","{tenantid}",ca.COMMON,ca.CONSUMERS,ca.ORGANIZATIONS]);function Wae(e){let n=new Tt(e).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(n){case ca.COMMON:case ca.ORGANIZATIONS:case ca.CONSUMERS:return;default:return n}}function kk(e){return e.endsWith(ch)?e:`${e}${ch}`}function Lq(e){let t=e.cloudDiscoveryMetadata,o;if(t)try{o=JSON.parse(t)}catch{throw Pt(sk)}return{canonicalAuthority:e.authority?kk(e.authority):void 0,knownAuthorities:e.knownAuthorities,cloudDiscoveryMetadata:o}}async function Pq(e,t,o,n,i,r,s){let a=wc.transformCIAMAuthority(kk(e)),l=new wc(a,t,o,n,i,r,s);try{return await G(l.resolveEndpointsAsync.bind(l),fq,i,s,r)(),l}catch{throw Z(da)}}var gm=class{constructor(t,o){this.includeRedirectUri=!0,this.config=Sh(t),this.logger=new bn(this.config.loggerOptions,Gu,sl),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}async acquireToken(t,o,n){if(!t.code)throw Z(CF);n&&n.cloud_instance_host_name&&await G(this.updateTokenEndpointAuthority.bind(this),gq,this.logger,this.performanceClient,t.correlationId)(n.cloud_instance_host_name,t.correlationId);let i=Mr(),r=await G(this.executeTokenRequest.bind(this),pq,this.logger,this.performanceClient,t.correlationId)(this.authority,t,this.serverTelemetryManager),s=r.headers?.[Bo.X_MS_REQUEST_ID],a=new ma(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return a.validateTokenResponse(r.body,t.correlationId),G(a.handleServerTokenResponse.bind(a),Ix,this.logger,this.performanceClient,t.correlationId)(r.body,this.authority,i,t,o,n,void 0,void 0,void 0,s)}getLogoutUri(t){if(!t)throw Pt(pF);let o=this.createLogoutUrlQueryString(t);return Tt.appendQueryString(this.authority.endSessionEndpoint,o)}async executeTokenRequest(t,o,n){let i=Ek(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),r=Tt.appendQueryString(t.tokenEndpoint,i),s=await G(this.createTokenRequestBody.bind(this),mq,this.logger,this.performanceClient,o.correlationId)(o),a;if(o.clientInfo)try{let u=xh(o.clientInfo,this.cryptoUtils.base64Decode);a={credential:`${u.uid}${ph}${u.utid}`,type:pi.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",o.correlationId)}let l=Ck(this.logger,this.config.systemOptions.preventCorsPreflight,a||o.ccsCredential),c=Tc(this.config.authOptions.clientId,o);return G(Ak,aq,this.logger,this.performanceClient,o.correlationId)(r,s,l,c,o.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,n)}async createTokenRequestBody(t){let o=new Map;if(om(o,t.embeddedClientId||t.extraParameters?.[il]||this.config.authOptions.clientId),this.includeRedirectUri)nm(o,t.redirectUri);else if(!t.redirectUri)throw Pt(aF);if(tm(o,t.scopes,!0,this.oidcDefaultScopes),xx(o,t.resource),OF(o,t.code),cx(o,this.config.libraryInfo),ux(o,this.config.telemetry.application),yx(o),this.serverTelemetryManager&&!gk(this.config)&&vx(o,this.serverTelemetryManager),t.codeVerifier&&BF(o,t.codeVerifier),this.config.clientCredentials.clientSecret&&px(o,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let i=this.config.clientCredentials.clientAssertion;mx(o,await wk(i.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),gx(o,i.assertionType)}if(fx(o,Zy.AUTHORIZATION_CODE_GRANT),sm(o),t.authenticationScheme===wo.POP){let i=new tr(this.cryptoUtils,this.performanceClient),r;t.popKid?r=this.cryptoUtils.encodeKid(t.popKid):r=(await G(i.generateCnf.bind(i),dm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,bx(o,r)}else if(t.authenticationScheme===wo.SSH)if(t.sshJwk)_x(o,t.sshJwk);else throw Pt(rx);(!No.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&im(o,t.claims,this.config.authOptions.clientCapabilities);let n;if(t.clientInfo)try{let i=xh(t.clientInfo,this.cryptoUtils.base64Decode);n={credential:`${i.uid}${ph}${i.utid}`,type:pi.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",t.correlationId)}else n=t.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&n)switch(n.type){case pi.HOME_ACCOUNT_ID:try{let i=ll(n.credential);bc(o,i)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case pi.UPN:Bu(o,n.credential);break}return t.embeddedClientId&&vc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&_c(o,t.extraParameters),t.enableSpaAuthorizationCode&&(!t.extraParameters||!t.extraParameters[ok])&&_c(o,{[ok]:"1"}),em(o,t.correlationId,this.performanceClient),rl(o)}createLogoutUrlQueryString(t){let o=new Map;return t.postLogoutRedirectUri&&zF(o,t.postLogoutRedirectUri),t.correlationId&&rm(o,t.correlationId),t.idTokenHint&&NF(o,t.idTokenHint),t.state&&dx(o,t.state),t.logoutHint&&GF(o,t.logoutHint),t.extraQueryParameters&&_c(o,t.extraQueryParameters),this.config.authOptions.instanceAware&&hx(o),rl(o)}async updateTokenEndpointAuthority(t,o){let n=`https://${t}/${this.authority.tenant}/`,i=await Pq(n,this.networkClient,this.cacheManager,this.authority.options,this.logger,o,this.performanceClient);this.authority=i}};var HRe=300,Rx=class{constructor(t,o){this.config=Sh(t),this.logger=new bn(this.config.loggerOptions,Gu,sl),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o}async acquireToken(t,o){let n=Mr(),i=await G(this.executeTokenRequest.bind(this),lq,this.logger,this.performanceClient,t.correlationId)(t,this.authority),r=i.headers?.[Bo.X_MS_REQUEST_ID],s=new ma(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return s.validateTokenResponse(i.body,t.correlationId),G(s.handleServerTokenResponse.bind(s),Ix,this.logger,this.performanceClient,t.correlationId)(i.body,this.authority,n,t,o,void 0,void 0,!0,t.forceCache,r)}async acquireTokenByRefreshToken(t,o){if(!t)throw Pt(dF);if(!t.account)throw Z(ax);if(this.cacheManager.isAppMetadataFOCI(t.account.environment,t.correlationId))try{return await G(this.acquireTokenWithCachedRefreshToken.bind(this),kx,this.logger,this.performanceClient,t.correlationId)(t,!0,o)}catch(i){let r=i instanceof Co&&i.errorCode===xk,s=i instanceof or&&i.errorCode===b2&&i.subError===_2;if(r||s)return G(this.acquireTokenWithCachedRefreshToken.bind(this),kx,this.logger,this.performanceClient,t.correlationId)(t,!1,o);throw i}return G(this.acquireTokenWithCachedRefreshToken.bind(this),kx,this.logger,this.performanceClient,t.correlationId)(t,!1,o)}async acquireTokenWithCachedRefreshToken(t,o,n){let i=Jo(this.cacheManager.getRefreshToken.bind(this.cacheManager),Tq,this.logger,this.performanceClient,t.correlationId)(t.account,o,t.correlationId,void 0);if(!i)throw pm(xk);if(i.expiresOn){let s=t.refreshTokenExpirationOffsetSeconds||HRe;if(this.performanceClient?.addFields({cacheRtExpiresOnSeconds:Number(i.expiresOn),rtOffsetSeconds:s},t.correlationId),wh(i.expiresOn,s))throw pm(Sq)}let r={...t,refreshToken:i.secret,authenticationScheme:t.authenticationScheme||wo.BEARER,ccsCredential:{credential:t.account.homeAccountId,type:pi.HOME_ACCOUNT_ID}};try{return await G(this.acquireToken.bind(this),cq,this.logger,this.performanceClient,t.correlationId)(r,n)}catch(s){if(s instanceof Co&&s.subError===Lx){this.logger.verbose("1pg3ap",t.correlationId);let a=this.cacheManager.generateCredentialKey(i);this.cacheManager.removeRefreshToken(a,t.correlationId)}throw s}}async executeTokenRequest(t,o){let n=Ek(t,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),i=Tt.appendQueryString(o.tokenEndpoint,n),r=await G(this.createTokenRequestBody.bind(this),uq,this.logger,this.performanceClient,t.correlationId)(t),s=Ck(this.logger,this.config.systemOptions.preventCorsPreflight,t.ccsCredential),a=Tc(this.config.authOptions.clientId,t);return G(Ak,sq,this.logger,this.performanceClient,t.correlationId)(i,r,s,a,t.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,this.serverTelemetryManager)}async createTokenRequestBody(t){let o=new Map;if(om(o,t.embeddedClientId||t.extraParameters?.[il]||this.config.authOptions.clientId),t.redirectUri&&nm(o,t.redirectUri),tm(o,t.scopes,!0,this.config.authOptions.authority.options.OIDCOptions?.defaultScopes),fx(o,Zy.REFRESH_TOKEN_GRANT),sm(o),cx(o,this.config.libraryInfo),ux(o,this.config.telemetry.application),yx(o),this.serverTelemetryManager&&!gk(this.config)&&vx(o,this.serverTelemetryManager),HF(o,t.refreshToken),this.config.clientCredentials.clientSecret&&px(o,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let n=this.config.clientCredentials.clientAssertion;mx(o,await wk(n.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),gx(o,n.assertionType)}if(t.authenticationScheme===wo.POP){let n=new tr(this.cryptoUtils,this.performanceClient),i;t.popKid?i=this.cryptoUtils.encodeKid(t.popKid):i=(await G(n.generateCnf.bind(n),dm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,bx(o,i)}else if(t.authenticationScheme===wo.SSH)if(t.sshJwk)_x(o,t.sshJwk);else throw Pt(rx);if((!No.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&im(o,t.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&t.ccsCredential)switch(t.ccsCredential.type){case pi.HOME_ACCOUNT_ID:try{let n=ll(t.ccsCredential.credential);bc(o,n)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case pi.UPN:Bu(o,t.ccsCredential.credential);break}return t.embeddedClientId&&vc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&_c(o,{...t.extraParameters}),em(o,t.correlationId,this.performanceClient),rl(o)}};var Mx=class{constructor(t,o){this.config=Sh(t),this.logger=new bn(this.config.loggerOptions,Gu,sl),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o}async acquireCachedToken(t){let o=ua.NOT_APPLICABLE;if(t.forceRefresh||!No.isEmptyObj(t.claims))throw this.setCacheOutcome(ua.FORCE_REFRESH_OR_CLAIMS,t.correlationId),Z(_h);if(!t.account)throw Z(ax);let n=t.account.tenantId||Wae(t.authority),i=this.cacheManager.getTokenKeys(),r=this.cacheManager.getAccessToken(t.account,t,i,n);if(r){if(tq(r.cachedAt)||wh(r.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw this.setCacheOutcome(ua.CACHED_ACCESS_TOKEN_EXPIRED,t.correlationId),Z(_h);if(t.resource){if(r.resource!==t.resource)throw this.setCacheOutcome(ua.NO_CACHED_ACCESS_TOKEN,t.correlationId),Z(_h)}else r.refreshOn&&wh(r.refreshOn,0)&&(o=ua.PROACTIVELY_REFRESHED)}else throw this.setCacheOutcome(ua.NO_CACHED_ACCESS_TOKEN,t.correlationId),Z(_h);let s=t.authority||this.authority.getPreferredCache(),a={account:this.cacheManager.getAccount(this.cacheManager.generateAccountKey(t.account),t.correlationId),accessToken:r,idToken:this.cacheManager.getIdToken(t.account,t.correlationId,i,n),refreshToken:null,appMetadata:this.cacheManager.readAppMetadataFromCache(s,t.correlationId)};return this.setCacheOutcome(o,t.correlationId),this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[await G(this.generateResultFromCacheRecord.bind(this),dq,this.logger,this.performanceClient,t.correlationId)(a,t),o]}setCacheOutcome(t,o){this.serverTelemetryManager?.setCacheOutcome(t),this.performanceClient?.addFields({cacheOutcome:t},o),t!==ua.NOT_APPLICABLE&&this.logger.info("09ingz",o)}async generateResultFromCacheRecord(t,o){let n;if(t.idToken&&(n=yc(t.idToken.secret,this.config.cryptoInterface.base64Decode)),o.maxAge||o.maxAge===0){let i=n?.auth_time;if(!i)throw Z(sx);Tx(i,o.maxAge)}return ma.generateAuthenticationResult(this.cryptoUtils,this.authority,t,!0,o,this.performanceClient,n)}};var Rq={sendGetRequestAsync:()=>Promise.reject(Z(_t)),sendPostRequestAsync:()=>Promise.reject(Z(_t))};var ul={};Do(ul,{getAuthorizationCodePayload:()=>GRe,getAuthorizeUrl:()=>VRe,getStandardAuthorizeRequestParameters:()=>BRe,validateAuthorizationResponse:()=>Kae});function BRe(e,t,o,n){let i=t.correlationId,r=new Map;om(r,t.embeddedClientId||t.extraQueryParameters?.[il]||e.clientId);let s=[...t.scopes||[],...t.extraScopesToConsent||[]];if(tm(r,s,!0,e.authority.options.OIDCOptions?.defaultScopes),xx(r,t.resource),nm(r,t.redirectUri),rm(r,i),$F(r,t.responseMode),sm(r),VF(r),t.prompt&&(qF(r,t.prompt),n?.addFields({prompt:t.prompt},i)),t.domainHint&&(FF(r,t.domainHint),n?.addFields({domainHintFromRequest:!0},i)),t.prompt!==Jy.SELECT_ACCOUNT)if(t.sid&&t.prompt===Jy.NONE)o.verbose("1tvqyx",t.correlationId),pk(r,t.sid),n?.addFields({sidFromRequest:!0},i);else if(t.account){let a=jRe(t.account),l=YRe(t.account);if(l&&t.domainHint&&(o.warning("0wkg3v",t.correlationId),l=null),l){o.verbose("1eyfsw",t.correlationId),vh(r,l),n?.addFields({loginHintFromClaim:!0},i);try{let c=ll(t.account.homeAccountId);bc(r,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(a&&t.prompt===Jy.NONE){o.verbose("1rmd8s",t.correlationId),pk(r,a),n?.addFields({sidFromClaim:!0},i);try{let c=ll(t.account.homeAccountId);bc(r,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(t.loginHint)o.verbose("0y3007",t.correlationId),vh(r,t.loginHint),Bu(r,t.loginHint),n?.addFields({loginHintFromRequest:!0},i);else if(t.account.username){o.verbose("02f507",t.correlationId),vh(r,t.account.username),n?.addFields({loginHintFromUpn:!0},i);try{let c=ll(t.account.homeAccountId);bc(r,c)}catch{o.verbose("12ugck",t.correlationId)}}}else t.loginHint&&(o.verbose("0g01ey",t.correlationId),vh(r,t.loginHint),Bu(r,t.loginHint),n?.addFields({loginHintFromRequest:!0},i));else o.verbose("169k9v",t.correlationId);return t.nonce&&UF(r,t.nonce),t.state&&dx(r,t.state),(t.claims||e.clientCapabilities&&e.clientCapabilities.length>0)&&im(r,t.claims,e.clientCapabilities),t.embeddedClientId&&vc(r,e.clientId,e.redirectUri),e.instanceAware&&(!t.extraQueryParameters||!Object.keys(t.extraQueryParameters).includes(fh))&&hx(r),r}function VRe(e,t){let o=rl(t);return Tt.appendQueryString(e.authorizationEndpoint,o)}function GRe(e,t){if(Kae(e,t),!e.code)throw Z(LF);return e}function Kae(e,t){if(!e.state||!t)throw e.state?Z(ck,"Cached State"):Z(ck,"Server State");let o,n;try{o=decodeURIComponent(e.state)}catch{throw Z(Xp,e.state)}try{n=decodeURIComponent(t)}catch{throw Z(Xp,e.state)}if(o!==n)throw Z(xF);if(e.error||e.error_description||e.suberror){let i=QRe(e);throw Tk(e.error,e.error_description,e.suberror)?new Co(e.error||"",e.error_description,e.suberror,e.timestamp||"",e.trace_id||"",e.correlation_id||"",e.claims||"",i):new or(e.error||"",e.error_description,e.suberror,i)}}function QRe(e){let t="code=",o=e.error_uri?.lastIndexOf(t);return o&&o>=0?e.error_uri?.substring(o+t.length):void 0}function jRe(e){return e.idTokenClaims?.sid||null}function YRe(e){return e.loginHint||e.idTokenClaims?.login_hint||null}function Dx(e,t){if(e){if(t.resource&&(Jae(t.extraParameters)||Jae(t.extraQueryParameters)))throw Z(DF);if(!t.resource)throw Z(MF)}}function Jae(e){return e?Object.prototype.hasOwnProperty.call(e,"resource"):!1}var Yu={};Do(Yu,{postRequestFailed:()=>KRe,unexpectedError:()=>WRe});var WRe="unexpected_error",KRe="post_request_failed";var Zae=",",Xae="|";function JRe(e){let{skus:t,libraryName:o,libraryVersion:n,extensionName:i,extensionVersion:r}=e,s=new Map([[0,[o,n]],[2,[i,r]]]),a=[];if(t?.length){if(a=t.split(Zae),a.length<4)return t}else a=Array.from({length:4},()=>Xae);return s.forEach((l,c)=>{l.length===2&&l[0]?.length&&l[1]?.length&&ZRe({skuArr:a,index:c,skuName:l[0],skuVersion:l[1]})}),a.join(Zae)}function ZRe(e){let{skuArr:t,index:o,skuName:n,skuVersion:i}=e;o>=t.length||(t[o]=[n,i].join(Xae))}var fm=class e{constructor(t,o){this.cacheOutcome=ua.NOT_APPLICABLE,this.cacheManager=o,this.apiId=t.apiId,this.correlationId=t.correlationId,this.wrapperSKU=t.wrapperSKU||"",this.wrapperVer=t.wrapperVer||"",this.telemetryCacheKey=Xy+Jp+t.clientId}generateCurrentRequestHeaderValue(){let t=`${this.apiId}${Ou}${this.cacheOutcome}`,o=[this.wrapperSKU,this.wrapperVer],n=this.getNativeBrokerErrorCode();n?.length&&o.push(`broker_error=${n}`);let i=o.join(Ou),r=this.getRegionDiscoveryFields(),s=[t,r].join(Ou);return[KA,s,i].join(JA)}generateLastRequestHeaderValue(){let t=this.getLastRequests(),o=e.maxErrorsToSend(t),n=t.failedRequests.slice(0,2*o).join(Ou),i=t.errors.slice(0,o).join(Ou),r=t.errors.length,s=o=u2&&(o.failedRequests.shift(),o.failedRequests.shift(),o.errors.shift()),o.failedRequests.push(this.apiId,this.correlationId),t instanceof Error&&t&&t.toString()?t instanceof ot?t.subError?o.errors.push(t.subError):t.errorCode?o.errors.push(t.errorCode):o.errors.push(t.toString()):o.errors.push(t.toString()):o.errors.push(m2),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,o,this.correlationId)}incrementCacheHits(){let t=this.getLastRequests();return t.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t,this.correlationId),t.cacheHits}getLastRequests(){let t={failedRequests:[],errors:[],cacheHits:0};return this.cacheManager.getServerTelemetry(this.telemetryCacheKey,this.correlationId)||t}clearTelemetryCache(){let t=this.getLastRequests(),o=e.maxErrorsToSend(t),n=t.errors.length;if(o===n)this.cacheManager.removeItem(this.telemetryCacheKey,this.correlationId);else{let i={failedRequests:t.failedRequests.slice(o*2),errors:t.errors.slice(o),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,i,this.correlationId)}}static maxErrorsToSend(t){let o,n=0,i=0,r=t.errors.length;for(o=0;otypeof e=="number"&&e in $le?$le[e]:"unknown",Qe;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(Qe||(Qe={}));var Hq={scopes:Pe.OIDC_DEFAULT_SCOPES},Bq="jwk";var Rk="msal.db",Nle=1,Fle=`${Rk}.keys`,Wn={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},qle=[Wn.Default,Wn.Skip,Wn.RefreshTokenAndNetwork];function Nx(e){return encodeURIComponent(Ju(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function ws(e){return Ule(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Ju(e){return Ule(new TextEncoder().encode(e))}function Ule(e){let t=Array.from(e,o=>String.fromCodePoint(o)).join("");return btoa(t)}var Vq="pkce_not_created",Gq="ear_jwk_empty",Ole="ear_jwe_empty",Qq="crypto_nonexistent",Mh="empty_navigate_uri",Hle="hash_empty_error",Dh="no_state_in_hash",Ble="hash_does_not_contain_known_properties",Mk="unable_to_parse_state",Vle="state_interaction_type_mismatch",Gle="interaction_in_progress",Qle="interaction_in_progress_cancelled",jle="popup_window_error",Yle="empty_window_error",Fx="user_cancelled",Wle="redirect_bridge_empty_response",Kle="redirect_in_iframe",Jle="block_iframe_reload",Zle="block_nested_popups";var $h="silent_logout_unsupported",Xle="no_account_error";var ece="no_token_request_cache_error",tce="unable_to_parse_token_request_cache_error";var Dk="non_browser_environment",zh="database_not_open",qx="no_network_connectivity",oce="post_request_failed",nce="get_request_failed",jq="failed_to_parse_response";var $k="crypto_key_not_found",ice="auth_code_required",rce="auth_code_or_nativeAccountId_required",sce="spa_code_and_nativeAccountId_present",zk="database_unavailable",ace="unable_to_acquire_token_from_native_platform",lce="native_handshake_timeout",cce="native_extension_not_installed",Nk="native_connection_not_established",Nh="uninitialized_public_client_application",uce="native_prompt_not_supported",dce="invalid_base64_string",pce="invalid_pop_token_request",mce="failed_to_build_headers",gce="failed_to_parse_headers",Fk="failed_to_decrypt_ear_response",_m="timed_out",fce="empty_response";function Pn(e){return new TextDecoder().decode(dl(e))}function dl(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw de(dce)}let o=atob(t);return Uint8Array.from(o,n=>n.codePointAt(0)||0)}var XRe="RSASSA-PKCS1-v1_5",Fh="AES-GCM",_ce="HKDF",Wq="SHA-256",eMe=2048,tMe=new Uint8Array([1,0,1]),hce="0123456789abcdef",bce=new Uint32Array(1),Kq="raw",vce="encrypt",Jq="decrypt",oMe="deriveKey",nMe="crypto_subtle_undefined",Zq={name:XRe,hash:Wq,modulusLength:eMe,publicExponent:tMe};function yce(e){if(!window)throw de(Dk);if(!window.crypto)throw de(Qq);if(!e&&!window.crypto.subtle)throw de(Qq,nMe)}async function Xq(e){let o=new TextEncoder().encode(e);return window.crypto.subtle.digest(Wq,o)}function xce(e){return window.crypto.getRandomValues(e)}function Yq(){return window.crypto.getRandomValues(bce),bce[0]}function Dr(){let e=Date.now(),t=Yq()*1024+(Yq()&1023),o=new Uint8Array(16),n=Math.trunc(t/2**30),i=t&2**30-1,r=Yq();o[0]=e/2**40,o[1]=e/2**32,o[2]=e/2**24,o[3]=e/2**16,o[4]=e/2**8,o[5]=e,o[6]=112|n>>>8,o[7]=n,o[8]=128|i>>>24,o[9]=i>>>16,o[10]=i>>>8,o[11]=i,o[12]=r>>>24,o[13]=r>>>16,o[14]=r>>>8,o[15]=r;let s="";for(let a=0;a>>4),s+=hce.charAt(o[a]&15),(a===3||a===5||a===7||a===9)&&(s+="-");return s}async function Tce(e,t){return window.crypto.subtle.generateKey(Zq,e,t)}async function qk(e){return window.crypto.subtle.exportKey(Bq,e)}async function Sce(e,t,o){return window.crypto.subtle.importKey(Bq,e,Zq,t,o)}async function wce(e,t){return window.crypto.subtle.sign(Zq,e,t)}async function qh(){let e=await eU(),o={alg:"dir",kty:"oct",k:ws(new Uint8Array(e))};return Ju(JSON.stringify(o))}async function iMe(e){let t=Pn(e),n=JSON.parse(t).k,i=dl(n);return window.crypto.subtle.importKey(Kq,i,Fh,!1,[Jq])}async function Cce(e,t){let o=t.split(".");if(o.length!==5)throw de(Fk,"jwe_length");let n=await iMe(e).catch(()=>{throw de(Fk,"import_key")});try{let i=new TextEncoder().encode(o[0]),r=dl(o[2]),s=dl(o[3]),a=dl(o[4]),l=a.byteLength*8,c=new Uint8Array(s.length+a.length);c.set(s),c.set(a,s.length);let u=await window.crypto.subtle.decrypt({name:Fh,iv:r,tagLength:l,additionalData:i},n,c);return new TextDecoder().decode(u)}catch{throw de(Fk,"decrypt")}}async function eU(){let e=await window.crypto.subtle.generateKey({name:Fh,length:256},!0,[vce,Jq]);return window.crypto.subtle.exportKey(Kq,e)}async function tU(e){return window.crypto.subtle.importKey(Kq,e,_ce,!1,[oMe])}async function Ece(e,t,o){return window.crypto.subtle.deriveKey({name:_ce,salt:t,hash:Wq,info:new TextEncoder().encode(o)},e,{name:Fh,length:256},!1,[vce,Jq])}async function Ace(e,t,o){let n=new TextEncoder().encode(t),i=window.crypto.getRandomValues(new Uint8Array(16)),r=await Ece(e,i,o),s=await window.crypto.subtle.encrypt({name:Fh,iv:new Uint8Array(12)},r,n);return{data:ws(new Uint8Array(s)),nonce:ws(i)}}async function oU(e,t,o,n){let i=dl(n),r=await Ece(e,dl(t),o),s=await window.crypto.subtle.decrypt({name:Fh,iv:new Uint8Array(12)},r,i);return new TextDecoder().decode(s)}async function kce(e){let t=await Xq(e),o=new Uint8Array(t);return ws(o)}var nU=class e extends ot{constructor(t,o){super(t,o),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,e.prototype)}};function Uh(e){return new nU(e,Ph(e))}var Uk="storage_not_supported";var Ice="in_mem_redirect_unavailable";function rMe(){let e=window.location.hash,t=window.location.search,o=!1,n=!1,i="",r;if(e&&e.length>1){let u=e.charAt(0)==="#"?e.substring(1):e,p=new URLSearchParams(u);p.has("state")&&(o=!0,i=u,r=p)}if(t&&t.length>1){let u=t.charAt(0)==="?"?t.substring(1):t,p=new URLSearchParams(u);p.has("state")&&(n=!0,i=u,r=p)}if(o&&n){let u=t.charAt(0)==="?"?t.substring(1):t,p=e.charAt(0)==="#"?e.substring(1):e;i=`${u}${p}`,r=new URLSearchParams(i)}if(!i||!r)throw de(fce);let s=r.get("state");if(!s)throw de(Dh);let{libraryState:a}=pa.parseRequestState(Pn,s),{id:l,meta:c}=a;if(!l||!c)throw de(Mk,"missing_library_state");return{params:r,payload:i,urlHash:e,urlQuery:t,hasResponseInHash:o,hasResponseInQuery:n,libraryState:{id:l,meta:c}}}function Ok(e){e.location.hash="",typeof e.history.replaceState=="function"&&e.history.replaceState(null,"",`${e.location.origin}${e.location.pathname}${e.location.search}`)}function Lce(e){let t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):""}function Ux(){return window.parent!==window}function sMe(){if(Ux())return!1;try{let{libraryState:e}=rMe(),{meta:t}=e;return t.interactionType===Qe.Popup}catch{return!1}}var Zu=null;function Pce(e,t){Zu&&(e.verbose("18y01k",t),clearTimeout(Zu.timeoutId),Zu.channel.close(),Zu.reject(de(Qle)),Zu=null)}async function Xu(e,t,o,n,i,r){return new Promise((s,a)=>{t.verbose("1rf6em",n.correlationId);let l=n.correlationId;i.addFields({redirectBridgeTimeoutMs:e,lateResponseExperimentEnabled:r?.iframeTimeoutTelemetry||!1},l);let{libraryState:c}=pa.parseRequestState(o.base64Decode,n.state||""),u=new BroadcastChannel(c.id),p,m=!1,g,f,_=window.setTimeout(()=>{Zu=null,r?.iframeTimeoutTelemetry?(f=i.startMeasurement(Dle,l),m=!0,g=window.setTimeout(()=>{f?.end({success:!1}),clearTimeout(g),u.close()},6e4)):u.close(),a(de(_m,"redirect_bridge_timeout"))},e);Zu={timeoutId:_,channel:u,reject:a},u.onmessage=h=>{p=h.data.payload;let x=h?.data&&typeof h.data.v=="number"?h.data.v:void 0;if(m){f?.end({success:!!p}),clearTimeout(g),u.close();return}i.addFields({redirectBridgeMessageVersion:x},l),Zu=null,clearTimeout(_),u.close(),p?s(p):a(de(Wle))}})}function Cs(){return typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:""}function Rce(){let t=new Tt(window.location.href).getUrlComponents();return`${t.Protocol}//${t.HostNameAndPort}/`}function aMe(){if(Ts.getDeserializedResponse(window.location.hash)&&Ux())throw de(Jle)}function lMe(e){if(Ux()&&!e)throw de(Kle)}function cMe(){if(sMe())throw de(Zle)}function iU(){if(typeof window>"u")throw de(Dk)}function rU(e){if(!e)throw de(Nh)}function Hk(e){iU(),aMe(),cMe(),rU(e)}function sU(e,t){if(Hk(e),lMe(t.system.allowRedirectInIframe),t.cache.cacheLocation===Ln.MemoryStorage)throw Uh(Ice)}function Bk(e){let t=document.createElement("link");t.rel="preconnect",t.href=new URL(e).origin,t.crossOrigin="anonymous",document.head.appendChild(t),window.setTimeout(()=>{try{document.head.removeChild(t)}catch{}},1e4)}function Ox(){return Dr()}var Lit=fo.addClientCapabilitiesToClaims;var Vk=class{constructor(){this.dbName=Rk,this.version=Nle,this.tableName=Fle,this.dbOpen=!1}async open(){return new Promise((t,o)=>{let n=window.indexedDB.open(this.dbName,this.version);n.addEventListener("upgradeneeded",i=>{i.target.result.createObjectStore(this.tableName)}),n.addEventListener("success",i=>{let r=i;this.db=r.target.result,this.dbOpen=!0,t()}),n.addEventListener("error",()=>o(de(zk)))})}closeConnection(){let t=this.db;t&&this.dbOpen&&(t.close(),this.dbOpen=!1)}async validateDbIsOpen(){if(!this.dbOpen)return this.open()}async getItem(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(de(zh));let s=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).get(t);s.addEventListener("success",a=>{let l=a;this.closeConnection(),o(l.target.result)}),s.addEventListener("error",a=>{this.closeConnection(),n(a)})})}async setItem(t,o){return await this.validateDbIsOpen(),new Promise((n,i)=>{if(!this.db)return i(de(zh));let a=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).put(o,t);a.addEventListener("success",()=>{this.closeConnection(),n()}),a.addEventListener("error",l=>{this.closeConnection(),i(l)})})}async removeItem(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(de(zh));let s=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).delete(t);s.addEventListener("success",()=>{this.closeConnection(),o()}),s.addEventListener("error",a=>{this.closeConnection(),n(a)})})}async getKeys(){return await this.validateDbIsOpen(),new Promise((t,o)=>{if(!this.db)return o(de(zh));let r=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).getAllKeys();r.addEventListener("success",s=>{let a=s;this.closeConnection(),t(a.target.result)}),r.addEventListener("error",s=>{this.closeConnection(),o(s)})})}async containsKey(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(de(zh));let s=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).count(t);s.addEventListener("success",a=>{let l=a;this.closeConnection(),o(l.target.result===1)}),s.addEventListener("error",a=>{this.closeConnection(),n(a)})})}async deleteDatabase(){return this.db&&this.dbOpen&&this.closeConnection(),new Promise((t,o)=>{let n=window.indexedDB.deleteDatabase(Rk),i=setTimeout(()=>o(!1),200);n.addEventListener("success",()=>(clearTimeout(i),t(!0))),n.addEventListener("blocked",()=>(clearTimeout(i),t(!0))),n.addEventListener("error",()=>(clearTimeout(i),o(!1)))})}};var Ec=class{constructor(){this.cache=new Map}async initialize(){}getItem(t){return this.cache.get(t)||null}getUserData(t){return this.getItem(t)}setItem(t,o){this.cache.set(t,o)}async setUserData(t,o){this.setItem(t,o)}removeItem(t){this.cache.delete(t)}getKeys(){let t=[];return this.cache.forEach((o,n)=>{t.push(n)}),t}containsKey(t){return this.cache.has(t)}clear(){this.cache.clear()}decryptData(){return Promise.resolve(null)}};var Gk=class{constructor(t){this.inMemoryCache=new Ec,this.indexedDBCache=new Vk,this.logger=t}handleDatabaseAccessError(t,o){if(t instanceof bm&&t.errorCode===zk)this.logger.error("1wx7zz",o);else throw t}async getItem(t,o){let n=this.inMemoryCache.getItem(t);if(!n)try{return this.logger.verbose("0naxpl",o),await this.indexedDBCache.getItem(t)}catch(i){this.handleDatabaseAccessError(i,o)}return n}async setItem(t,o,n){this.inMemoryCache.setItem(t,o);try{await this.indexedDBCache.setItem(t,o)}catch(i){this.handleDatabaseAccessError(i,n)}}async removeItem(t,o){this.inMemoryCache.removeItem(t);try{await this.indexedDBCache.removeItem(t)}catch(n){this.handleDatabaseAccessError(n,o)}}async getKeys(t){let o=this.inMemoryCache.getKeys();if(o.length===0)try{return this.logger.verbose("1iqrbq",t),await this.indexedDBCache.getKeys()}catch(n){this.handleDatabaseAccessError(n,t)}return o}async containsKey(t,o){let n=this.inMemoryCache.containsKey(t);if(!n)try{return this.logger.verbose("03zl2j",o),await this.indexedDBCache.containsKey(t)}catch(i){this.handleDatabaseAccessError(i,o)}return n}clearInMemory(t){this.logger.verbose("03r21p",t),this.inMemoryCache.clear(),this.logger.verbose("0uksk1",t)}async clearPersistent(t){try{this.logger.verbose("0rdqut",t);let o=await this.indexedDBCache.deleteDatabase();return o&&this.logger.verbose("149ouc",t),o}catch(o){return this.handleDatabaseAccessError(o,t),!1}}};var pl=class e{constructor(t,o,n){this.logger=t,yce(n??!1),this.cache=new Gk(this.logger),this.performanceClient=o}createNewGuid(){return Dr()}base64Encode(t){return Ju(t)}base64Decode(t){return Pn(t)}base64UrlEncode(t){return Nx(t)}encodeKid(t){return this.base64UrlEncode(JSON.stringify({kid:t}))}async getPublicKeyThumbprint(t){let o=this.performanceClient?.startMeasurement(rle,t.correlationId),n=await Tce(e.EXTRACTABLE,e.POP_KEY_USAGES),i=await qk(n.publicKey),r={e:i.e,kty:i.kty,n:i.n},s=Mce(r),a=await this.hashString(s),l=await qk(n.privateKey),c=await Sce(l,!1,["sign"]);return await this.cache.setItem(a,{privateKey:c,publicKey:n.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri},t.correlationId),o&&o.end({success:!0}),a}async removeTokenBindingKey(t,o){if(await this.cache.removeItem(t,o),await this.cache.containsKey(t,o))throw Z(fn.bindingKeyNotRemoved)}async clearKeystore(t){this.cache.clearInMemory(t);try{return await this.cache.clearPersistent(t),!0}catch(o){return o instanceof Error?this.logger.error("1owpn8",t):this.logger.error("0yrmwo",t),!1}}async signJwt(t,o,n,i){let r=this.performanceClient?.startMeasurement(sle,i),s=await this.cache.getItem(o,i||"");if(!s)throw de($k);let a=await qk(s.publicKey),l=Mce(a),c=Nx(JSON.stringify({kid:o})),u=$x.getShrHeaderString({...n?.header,alg:a.alg,kid:c}),p=Nx(u);t.cnf={jwk:JSON.parse(l)};let m=Nx(JSON.stringify(t)),g=`${p}.${m}`,_=new TextEncoder().encode(g),h=await wce(s.privateKey,_),x=ws(new Uint8Array(h)),v=`${g}.${x}`;return r&&r.end({success:!0}),v}async hashString(t){return kce(t)}};pl.POP_KEY_USAGES=["sign","verify"];pl.EXTRACTABLE=!0;function Mce(e){return JSON.stringify(e,Object.keys(e).sort())}var Dce="acquireTokenSilent",$ce="acquireTokenByCode",zce="acquireTokenPopup",Nce="acquireTokenPreRedirect",Qk="acquireTokenRedirect",Fce="ssoSilent",qce="initializeClientApplication",Uce="localStorageUpdated";var Zo="msal",jk="browser",aU="|";var Bce=`${Zo}.${jk}.log.level`,Vce=`${Zo}.${jk}.log.pii`,Zit=`${Zo}.${jk}.performance.enabled`,Gce=`${Zo}.${jk}.platform.auth.dom`,lU=`${Zo}.version`,Oce="account.keys",Hce="token.keys";function Ac(e=2){return e<1?`${Zo}.${Oce}`:`${Zo}.${e}.${Oce}`}function kc(e,t=2){return t<1?`${Zo}.${Hce}.${e}`:`${Zo}.${t}.${Hce}.${e}`}var uMe=24*60*60*1e3,Yk={Lax:"Lax",None:"None"},Oh=class{initialize(){return Promise.resolve()}getItem(t){let o=`${encodeURIComponent(t)}`,n=document.cookie.split(";");for(let i=0;i{let i=decodeURIComponent(n).trim().split("=");o.push(i[0])}),o}containsKey(t){return this.getKeys().includes(t)}decryptData(){return Promise.resolve(null)}};function dMe(e){let t=new Date;return new Date(t.getTime()+e*uMe).toUTCString()}function ml(e,t){let o=e.getItem(Ac(t));return o?JSON.parse(o):[]}function $r(e,t,o){let n=t.getItem(kc(e,o));if(n){let i=JSON.parse(n);if(i&&i.hasOwnProperty("idToken")&&i.hasOwnProperty("accessToken")&&i.hasOwnProperty("refreshToken"))return i}return{idToken:[],accessToken:[],refreshToken:[]}}function Hh(e){return e.hasOwnProperty("id")&&e.hasOwnProperty("nonce")&&e.hasOwnProperty("data")}var Qce="msal.cache.encryption",pMe="msal.broadcast.cache",Wk=class{constructor(t,o,n){if(!window.localStorage)throw Uh(Uk);this.memoryStorage=new Ec,this.initialized=!1,this.clientId=t,this.logger=o,this.performanceClient=n,this.broadcast=new BroadcastChannel(pMe)}async initialize(t){let o=new Oh,n=o.getItem(Qce),i={key:"",id:""};if(n)try{i=JSON.parse(n)}catch{}if(i.key&&i.id){let r=Jo(dl,Lle,this.logger,this.performanceClient,t)(i.key);this.encryptionCookie={id:i.id,key:await G(tU,qq,this.logger,this.performanceClient,t)(r)}}else{let r=Dr(),s=await G(eU,Ile,this.logger,this.performanceClient,t)(),a=Jo(ws,Ple,this.logger,this.performanceClient,t)(new Uint8Array(s));this.encryptionCookie={id:r,key:await G(tU,qq,this.logger,this.performanceClient,t)(s)};let l={id:r,key:a};o.setItem(Qce,JSON.stringify(l),0,!0,Yk.None)}await G(this.importExistingCache.bind(this),wle,this.logger,this.performanceClient,t)(t),this.broadcast.addEventListener("message",r=>{this.updateCache(r,t)}),this.initialized=!0}getItem(t){return window.localStorage.getItem(t)}getUserData(t){if(!this.initialized)throw de(Nh);return this.memoryStorage.getItem(t)}async decryptData(t,o,n){if(!this.initialized||!this.encryptionCookie)throw de(Nh);if(o.id!==this.encryptionCookie.id)return this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},n),null;let i=await G(oU,Uq,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o.nonce,this.getContext(t),o.data);if(!i)return null;try{return{...JSON.parse(i),lastUpdatedAt:o.lastUpdatedAt}}catch{return this.performanceClient.incrementFields({encryptedCacheCorruptionCount:1},n),null}}setItem(t,o){window.localStorage.setItem(t,o)}async setUserData(t,o,n,i,r){if(!this.initialized||!this.encryptionCookie)throw de(Nh);if(r)this.setItem(t,o);else{let{data:s,nonce:a}=await G(Ace,Rle,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o,this.getContext(t)),l={id:this.encryptionCookie.id,nonce:a,data:s,lastUpdatedAt:i};this.setItem(t,JSON.stringify(l))}this.memoryStorage.setItem(t,o),this.broadcast.postMessage({key:t,value:o,context:this.getContext(t)})}removeItem(t){this.memoryStorage.containsKey(t)&&(this.memoryStorage.removeItem(t),this.broadcast.postMessage({key:t,value:null,context:this.getContext(t)})),window.localStorage.removeItem(t)}getKeys(){return Object.keys(window.localStorage)}containsKey(t){return window.localStorage.hasOwnProperty(t)}clear(){this.memoryStorage.clear(),ml(this).forEach(n=>this.removeItem(n));let o=$r(this.clientId,this);o.idToken.forEach(n=>this.removeItem(n)),o.accessToken.forEach(n=>this.removeItem(n)),o.refreshToken.forEach(n=>this.removeItem(n)),this.getKeys().forEach(n=>{(n.startsWith(Zo)||n.indexOf(this.clientId)!==-1)&&this.removeItem(n)})}async importExistingCache(t){if(!this.encryptionCookie)return;let o=ml(this);o=await this.importArray(o,t),o.length?this.setItem(Ac(),JSON.stringify(o)):this.removeItem(Ac());let n=$r(this.clientId,this);n.idToken=await this.importArray(n.idToken,t),n.accessToken=await this.importArray(n.accessToken,t),n.refreshToken=await this.importArray(n.refreshToken,t),n.idToken.length||n.accessToken.length||n.refreshToken.length?this.setItem(kc(this.clientId),JSON.stringify(n)):this.removeItem(kc(this.clientId))}async getItemFromEncryptedCache(t,o){if(!this.encryptionCookie)return null;let n=this.getItem(t);if(!n)return null;let i;try{i=JSON.parse(n)}catch{return null}return Hh(i)?i.id!==this.encryptionCookie.id?(this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},o),null):(this.performanceClient.incrementFields({encryptedCacheCount:1},o),G(oU,Uq,this.logger,this.performanceClient,o)(this.encryptionCookie.key,i.nonce,this.getContext(t),i.data)):(this.performanceClient.incrementFields({unencryptedCacheCount:1},o),n)}async importArray(t,o){let n=[],i=[];return t.forEach(r=>{let s=this.getItemFromEncryptedCache(r,o).then(a=>{a?(this.memoryStorage.setItem(r,a),n.push(r)):this.removeItem(r)});i.push(s)}),await Promise.all(i),n}getContext(t){let o="";return t.includes(this.clientId)&&(o=this.clientId),o}updateCache(t,o){this.logger.trace("17cxcm",o);let n=this.performanceClient.startMeasurement(Uce);n.add({isBackground:!0});let{key:i,value:r,context:s}=t.data;if(!i){this.logger.error("0e10qr",o),n.end({success:!1,errorCode:"noKey"});return}if(s&&s!==this.clientId){this.logger.trace("04rtdy",o),n.end({success:!1,errorCode:"contextMismatch"});return}r?(this.memoryStorage.setItem(i,r),this.logger.verbose("1vzsgt",o)):(this.memoryStorage.removeItem(i),this.logger.verbose("04ypih",o)),n.end({success:!0})}};var Kk=class{constructor(){if(!window.sessionStorage)throw Uh(Uk)}async initialize(){}getItem(t){return window.sessionStorage.getItem(t)}getUserData(t){return this.getItem(t)}setItem(t,o){window.sessionStorage.setItem(t,o)}async setUserData(t,o){this.setItem(t,o)}removeItem(t){window.sessionStorage.removeItem(t)}getKeys(){return Object.keys(window.sessionStorage)}containsKey(t){return window.sessionStorage.hasOwnProperty(t)}decryptData(){return Promise.resolve(null)}};var Ke={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_SUCCESS:"msal:loginSuccess",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",BROKERED_REQUEST_START:"msal:brokeredRequestStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",BROKERED_REQUEST_SUCCESS:"msal:brokeredRequestSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",BROKERED_REQUEST_FAILURE:"msal:brokeredRequestFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache",BROKER_CONNECTION_ESTABLISHED:"msal:brokerConnectionEstablished"};var jce="@azure/msal-browser",zr="5.6.3";function Ic(e,t){let o=e.indexOf(t);o>-1&&e.splice(o,1)}var Bh=class extends um{constructor(t,o,n,i,r,s,a){super(t,n,i,r,a),this.cacheConfig=o,this.logger=i,this.internalStorage=new Ec,this.browserStorage=Yce(t,o.cacheLocation,i,r),this.temporaryCacheStorage=Yce(t,Ln.SessionStorage,i,r),this.cookieStorage=new Oh,this.eventHandler=s}async initialize(t){this.performanceClient.addFields({cacheLocation:this.cacheConfig.cacheLocation,cacheRetentionDays:this.cacheConfig.cacheRetentionDays},t),await this.browserStorage.initialize(t),await this.migrateExistingCache(t),this.trackVersionChanges(t)}async migrateExistingCache(t){let o=ml(this.browserStorage),n=$r(this.clientId,this.browserStorage);this.performanceClient.addFields({preMigrateAcntCount:o.length,preMigrateATCount:n.accessToken.length,preMigrateITCount:n.idToken.length,preMigrateRTCount:n.refreshToken.length},t);for(let r=0;r<2;r++){let s=r;await this.removeStaleAccounts(r,s,t)}for(let r=0;r<2;r++){let s=r;await this.migrateIdTokens(r,s,t)}let i=this.getKMSIValues();for(let r=0;r<2;r++)await this.migrateAccessTokens(r,i,t),await this.migrateRefreshTokens(r,i,t);o=ml(this.browserStorage),n=$r(this.clientId,this.browserStorage),this.performanceClient.addFields({postMigrateAcntCount:o.length,postMigrateATCount:n.accessToken.length,postMigrateITCount:n.idToken.length,postMigrateRTCount:n.refreshToken.length},t)}async updateOldEntry(t,o){let n=this.browserStorage.getItem(t),i=this.validateAndParseJson(n||"");if(!i)return this.browserStorage.removeItem(t),null;if(!i.lastUpdatedAt)i.lastUpdatedAt=Date.now().toString(),this.setItem(t,JSON.stringify(i),o);else if(er.isCacheExpired(i.lastUpdatedAt,this.cacheConfig.cacheRetentionDays))return this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null;let r=Hh(i)?await this.browserStorage.decryptData(t,i,o):i;return!r||!_n.isCredentialEntity(r)?(this.performanceClient.incrementFields({invalidCacheCount:1},o),null):(_n.isAccessTokenEntity(r)||_n.isRefreshTokenEntity(r))&&r.expiresOn&&er.isTokenExpired(r.expiresOn,Pe.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC)?(this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null):r}async removeStaleAccounts(t,o,n){let i=ml(this.browserStorage,t);if(i.length!==0){for(let r of[...i]){this.performanceClient.incrementFields({oldAcntCount:1},n);let s=this.browserStorage.getItem(r),a=this.validateAndParseJson(s||"");if(!a){Ic(i,r);continue}if(a.lastUpdatedAt)er.isCacheExpired(a.lastUpdatedAt,this.cacheConfig.cacheRetentionDays)&&(await this.removeAccountOldSchema(r,a,o,n),Ic(i,r));else{a.lastUpdatedAt=Date.now().toString(),this.setItem(r,JSON.stringify(a),n);continue}}this.setAccountKeys(i,n,t)}}async removeAccountOldSchema(t,o,n,i){let s=(Hh(o)?await this.browserStorage.decryptData(t,o,i):o)?.homeAccountId;if(s){let a=this.getTokenKeys(n);[...a.idToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),Ic(a.idToken,l)}),[...a.accessToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),Ic(a.accessToken,l)}),[...a.refreshToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),Ic(a.refreshToken,l)}),this.setTokenKeys(a,i,n)}this.performanceClient.incrementFields({expiredAcntRemovedCount:1},i),this.browserStorage.removeItem(t)}getKMSIValues(){let t={},o=this.getTokenKeys().idToken;for(let n of o){let i=this.browserStorage.getUserData(n);if(i){let r=JSON.parse(i),s=di.extractTokenClaims(r.secret,Pn);s&&(t[r.homeAccountId]=di.isKmsi(s))}}return t}async migrateIdTokens(t,o,n){let i=$r(this.clientId,this.browserStorage,t);if(i.idToken.length===0)return;let r=$r(this.clientId,this.browserStorage,2),s=ml(this.browserStorage),a=ml(this.browserStorage,o);for(let l of[...i.idToken]){this.performanceClient.incrementFields({oldITCount:1},n);let c=await this.updateOldEntry(l,n);if(!c){Ic(i.idToken,l);continue}let u=s.find(v=>v.includes(c.homeAccountId)),p=a.find(v=>v.includes(c.homeAccountId)),m=null;if(u)m=this.getAccount(u,n);else if(p){let v=this.browserStorage.getItem(p),T=this.validateAndParseJson(v||"");m=T&&Hh(T)?await this.browserStorage.decryptData(p,T,n):T}if(!m){this.performanceClient.incrementFields({skipITMigrateCount:1},n);continue}let g=di.extractTokenClaims(c.secret,Pn),f=this.generateCredentialKey(c),_=this.getIdTokenCredential(f,n),h=Object.keys(g).includes("signin_state"),x=_&&Object.keys(di.extractTokenClaims(_.secret,Pn)||{}).includes("signin_state");if(!_||c.lastUpdatedAt>_.lastUpdatedAt&&(h||!x)){let v=m.tenantProfiles||[],T=cm(g)||m.realm;if(T&&!v.find(H=>H.tenantId===T)){let H=al(m.homeAccountId,m.localAccountId,T,g);v.push(H)}m.tenantProfiles=v;let I=this.generateAccountKey(Ss.getAccountInfo(m)),C=di.isKmsi(g);await this.setUserData(I,JSON.stringify(m),n,m.lastUpdatedAt,C),s.includes(I)||s.push(I),await this.setUserData(f,JSON.stringify(c),n,c.lastUpdatedAt,C),this.performanceClient.incrementFields({migratedITCount:1},n),r.idToken.push(f)}}this.setTokenKeys(i,n,t),this.setTokenKeys(r,n),this.setAccountKeys(s,n)}async migrateAccessTokens(t,o,n){let i=$r(this.clientId,this.browserStorage,t);if(i.accessToken.length===0)return;let r=$r(this.clientId,this.browserStorage,2);for(let s of[...i.accessToken]){this.performanceClient.incrementFields({oldATCount:1},n);let a=await this.updateOldEntry(s,n);if(!a){Ic(i.accessToken,s);continue}if(!(a.homeAccountId in o)){this.performanceClient.incrementFields({skipATMigrateCount:1},n);continue}let l=this.generateCredentialKey(a),c=o[a.homeAccountId];if(!r.accessToken.includes(l))await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},n),r.accessToken.push(l);else{let u=this.getAccessTokenCredential(l,n);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},n))}}this.setTokenKeys(i,n,t),this.setTokenKeys(r,n)}async migrateRefreshTokens(t,o,n){let i=$r(this.clientId,this.browserStorage,t);if(i.refreshToken.length===0)return;let r=$r(this.clientId,this.browserStorage,2);for(let s of[...i.refreshToken]){this.performanceClient.incrementFields({oldRTCount:1},n);let a=await this.updateOldEntry(s,n);if(!a){Ic(i.refreshToken,s);continue}if(!(a.homeAccountId in o)){this.performanceClient.incrementFields({skipRTMigrateCount:1},n);continue}let l=this.generateCredentialKey(a),c=o[a.homeAccountId];if(!r.refreshToken.includes(l))await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},n),r.refreshToken.push(l);else{let u=this.getRefreshTokenCredential(l,n);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},n))}}this.setTokenKeys(i,n,t),this.setTokenKeys(r,n)}trackVersionChanges(t){let o=this.browserStorage.getItem(lU);o&&(this.logger.info("1wuc87",t),this.performanceClient.addFields({previousLibraryVersion:o},t)),o!==zr&&this.setItem(lU,zr,t)}validateAndParseJson(t){if(!t)return null;try{let o=JSON.parse(t);return o&&typeof o=="object"?o:null}catch{return null}}setItem(t,o,n){let i=new Array(3).fill(0),r=[],s=20;for(let a=0;a<=s;a++)try{if(this.browserStorage.setItem(t,o),a>0)for(let l=0;l<=2;l++){let c=i.slice(0,l).reduce((p,m)=>p+m,0);if(c>=a)break;let u=a>c+i[l]?c+i[l]:a;a>c&&i[l]>0&&this.removeAccessTokenKeys(r.slice(c,u),n,l)}break}catch(l){let c=yh(l);if(c.errorCode===wx.cacheQuotaExceeded&&a0)for(let u=0;u<=2;u++){let p=s.slice(0,u).reduce((g,f)=>g+f,0);if(p>=c)break;let m=c>p+s[u]?p+s[u]:c;c>p&&s[u]>0&&this.removeAccessTokenKeys(a.slice(p,m),n,u)}break}catch(u){let p=yh(u);if(p.errorCode===wx.cacheQuotaExceeded&&c-1?(n.splice(i,1),this.setAccountKeys(n,o)):this.logger.trace("1dytu2",o)}removeAccount(t,o){let n=this.getActiveAccount(o);n?.homeAccountId===t.homeAccountId&&n?.environment===t.environment&&this.setActiveAccount(null,o),super.removeAccount(t,o),this.removeAccountKeyFromMap(this.generateAccountKey(t),o),this.browserStorage.getKeys().forEach(i=>{i.includes(t.homeAccountId)&&i.includes(t.environment)&&this.browserStorage.removeItem(i)})}removeIdToken(t,o){super.removeIdToken(t,o);let n=this.getTokenKeys(),i=n.idToken.indexOf(t);i>-1&&(this.logger.info("05udv9",o),n.idToken.splice(i,1),this.setTokenKeys(n,o))}removeAccessToken(t,o,n=!0){super.removeAccessToken(t,o),n&&this.removeAccessTokenKeys([t],o)}removeAccessTokenKeys(t,o,n=2){this.logger.trace("17o18n",o);let i=this.getTokenKeys(n),r=0;if(t.forEach(s=>{let a=i.accessToken.indexOf(s);a>-1&&(i.accessToken.splice(a,1),r++)}),r>0){this.logger.info("15i5d5",o),this.setTokenKeys(i,o,n);return}}removeRefreshToken(t,o){super.removeRefreshToken(t,o);let n=this.getTokenKeys(),i=n.refreshToken.indexOf(t);i>-1&&(this.logger.info("1f4fq3",o),n.refreshToken.splice(i,1),this.setTokenKeys(n,o))}getTokenKeys(t=2){return $r(this.clientId,this.browserStorage,t)}setTokenKeys(t,o,n=2){if(t.idToken.length===0&&t.accessToken.length===0&&t.refreshToken.length===0){this.removeItem(kc(this.clientId,n));return}else this.setItem(kc(this.clientId,n),JSON.stringify(t),o)}getIdTokenCredential(t,o){let n=this.browserStorage.getUserData(t);if(!n)return this.logger.trace("1jukz6",o),this.removeIdToken(t,o),null;let i=this.validateAndParseJson(n);return!i||!_n.isIdTokenEntity(i)?(this.logger.trace("1jukz6",o),null):(this.logger.trace("01ju66",o),i)}async setIdTokenCredential(t,o,n){this.logger.trace("13hjll",o);let i=this.generateCredentialKey(t),r=Date.now().toString();t.lastUpdatedAt=r,await this.setUserData(i,JSON.stringify(t),o,r,n);let s=this.getTokenKeys();s.idToken.indexOf(i)===-1&&(this.logger.info("07jy92",o),s.idToken.push(i),this.setTokenKeys(s,o))}getAccessTokenCredential(t,o){let n=this.browserStorage.getUserData(t);if(!n)return this.logger.trace("0bqvx8",o),this.removeAccessTokenKeys([t],o),null;let i=this.validateAndParseJson(n);return!i||!_n.isAccessTokenEntity(i)?(this.logger.trace("0bqvx8",o),null):(this.logger.trace("1o81rl",o),i)}async setAccessTokenCredential(t,o,n){this.logger.trace("1pondb",o);let i=this.generateCredentialKey(t),r=Date.now().toString();t.lastUpdatedAt=r,await this.setUserData(i,JSON.stringify(t),o,r,n);let s=this.getTokenKeys(),a=s.accessToken.indexOf(i);a!==-1&&s.accessToken.splice(a,1),this.logger.trace("1onhey",o),s.accessToken.push(i),this.setTokenKeys(s,o)}getRefreshTokenCredential(t,o){let n=this.browserStorage.getUserData(t);if(!n)return this.logger.trace("0jlizt",o),this.removeRefreshToken(t,o),null;let i=this.validateAndParseJson(n);return!i||!_n.isRefreshTokenEntity(i)?(this.logger.trace("0jlizt",o),null):(this.logger.trace("0nokxi",o),i)}async setRefreshTokenCredential(t,o,n){this.logger.trace("0tcg8d",o);let i=this.generateCredentialKey(t),r=Date.now().toString();t.lastUpdatedAt=r,await this.setUserData(i,JSON.stringify(t),o,r,n);let s=this.getTokenKeys();s.refreshToken.indexOf(i)===-1&&(this.logger.info("0eckjs",o),s.refreshToken.push(i),this.setTokenKeys(s,o))}getAppMetadata(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("1q101h",o),null;let i=this.validateAndParseJson(n);return!i||!_n.isAppMetadataEntity(t,i)?(this.logger.trace("1q101h",o),null):(this.logger.trace("19pvg2",o),i)}setAppMetadata(t,o){this.logger.trace("0cyma6",o);let n=_n.generateAppMetadataKey(t);this.setItem(n,JSON.stringify(t),o)}getServerTelemetry(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("0jk19c",o),null;let i=this.validateAndParseJson(n);return!i||!_n.isServerTelemetryEntity(t,i)?(this.logger.trace("0jk19c",o),null):(this.logger.trace("12jguk",o),i)}setServerTelemetry(t,o,n){this.logger.trace("1poh61",n),this.setItem(t,JSON.stringify(o),n)}getAuthorityMetadata(t,o){let n=this.internalStorage.getItem(t);if(!n)return this.logger.trace("1r39oe",o),null;let i=this.validateAndParseJson(n);return i&&_n.isAuthorityMetadataEntity(t,i)?(this.logger.trace("1ohvk3",o),i):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(o=>this.isAuthorityMetadata(o))}setWrapperMetadata(t,o){this.internalStorage.setItem(zx.WRAPPER_SKU,t),this.internalStorage.setItem(zx.WRAPPER_VER,o)}getWrapperMetadata(){let t=this.internalStorage.getItem(zx.WRAPPER_SKU)||"",o=this.internalStorage.getItem(zx.WRAPPER_VER)||"";return[t,o]}setAuthorityMetadata(t,o,n){this.logger.trace("07w8n2",n),this.internalStorage.setItem(t,JSON.stringify(o))}getActiveAccount(t){let o=this.generateCacheKey(Pe.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS),n=this.browserStorage.getItem(o);if(!n)return this.logger.trace("08gw0e",t),null;let i=this.validateAndParseJson(n);return i?(this.logger.trace("1t3ch7",t),this.getAccountInfoFilteredBy({homeAccountId:i.homeAccountId,localAccountId:i.localAccountId,tenantId:i.tenantId},t)):(this.logger.trace("0me1up",t),null)}setActiveAccount(t,o){let n=this.generateCacheKey(Pe.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);if(t){this.logger.verbose("0rsj80",o);let i={homeAccountId:t.homeAccountId,localAccountId:t.localAccountId,tenantId:t.tenantId};this.setItem(n,JSON.stringify(i),o)}else this.logger.verbose("1bp5z5",o),this.browserStorage.removeItem(n);this.eventHandler.emitEvent(Ke.ACTIVE_ACCOUNT_CHANGED,o)}getThrottlingCache(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("1h4wa6",o),null;let i=this.validateAndParseJson(n);return!i||!_n.isThrottlingEntity(t,i)?(this.logger.trace("1h4wa6",o),null):(this.logger.trace("0of6n8",o),i)}setThrottlingCache(t,o,n){this.logger.trace("0wfgh6",n),this.setItem(t,JSON.stringify(o),n)}getTemporaryCache(t,o,n){let i=n?this.generateCacheKey(t):t,r=this.temporaryCacheStorage.getItem(i);if(!r){if(this.cacheConfig.cacheLocation===Ln.LocalStorage){let s=this.browserStorage.getItem(i);if(s)return this.logger.trace("1yt61y",o),s}return this.logger.trace("1qhy81",o),null}return r}setTemporaryCache(t,o,n){let i=n?this.generateCacheKey(t):t;this.temporaryCacheStorage.setItem(i,o)}removeItem(t){this.browserStorage.removeItem(t)}removeTemporaryItem(t){this.temporaryCacheStorage.removeItem(t)}getKeys(){return this.browserStorage.getKeys()}clear(t){this.removeAllAccounts(t),this.removeAppMetadata(t),this.temporaryCacheStorage.getKeys().forEach(o=>{(o.indexOf(Zo)!==-1||o.indexOf(this.clientId)!==-1)&&this.removeTemporaryItem(o)}),this.browserStorage.getKeys().forEach(o=>{(o.indexOf(Zo)!==-1||o.indexOf(this.clientId)!==-1)&&this.browserStorage.removeItem(o)}),this.internalStorage.clear()}generateCacheKey(t){return No.startsWith(t,Zo)?t:`${Zo}.${this.clientId}.${t}`}generateCredentialKey(t){let o=t.credentialType===Pe.CredentialType.REFRESH_TOKEN&&t.familyId||t.clientId,n=t.tokenType&&t.tokenType.toLowerCase()!==Pe.AuthenticationScheme.BEARER.toLowerCase()?t.tokenType.toLowerCase():"";return[`${Zo}.${2}`,t.homeAccountId,t.environment,t.credentialType,o,t.realm||"",t.target||"",n].join(aU).toLowerCase()}generateAccountKey(t){let o=t.homeAccountId.split(".")[1];return[`${Zo}.${2}`,t.homeAccountId,t.environment,o||t.tenantId||""].join(aU).toLowerCase()}resetRequestCache(t){this.logger.trace("0h0ynu",t),this.removeTemporaryItem(this.generateCacheKey(Eo.REQUEST_PARAMS)),this.removeTemporaryItem(this.generateCacheKey(Eo.VERIFIER)),this.removeTemporaryItem(this.generateCacheKey(Eo.ORIGIN_URI)),this.removeTemporaryItem(this.generateCacheKey(Eo.URL_HASH)),this.removeTemporaryItem(this.generateCacheKey(Eo.NATIVE_REQUEST)),this.setInteractionInProgress(!1,void 0)}cacheAuthorizeRequest(t,o,n){this.logger.trace("1tzef5",o);let i=Ju(JSON.stringify(t));if(this.setTemporaryCache(Eo.REQUEST_PARAMS,i,!0),n){let r=Ju(n);this.setTemporaryCache(Eo.VERIFIER,r,!0)}}getCachedRequest(t){this.logger.trace("0uen20",t);let o=this.getTemporaryCache(Eo.REQUEST_PARAMS,t,!0);if(!o)throw de(ece);let n=this.getTemporaryCache(Eo.VERIFIER,t,!0),i,r="";try{i=JSON.parse(Pn(o)),n&&(r=Pn(n))}catch{throw this.logger.errorPii("0ewsey",t),this.logger.error("0tvdic",t),de(tce)}return[i,r]}getCachedNativeRequest(){this.logger.trace("1yxcdm","");let t=this.getTemporaryCache(Eo.NATIVE_REQUEST,"",!0);if(!t)return this.logger.trace("0mnxd4",""),null;let o=this.validateAndParseJson(t);return o||(this.logger.error("0rrkip",""),null)}isInteractionInProgress(t){let o=this.getInteractionInProgress()?.clientId;return t?o===this.clientId:!!o}getInteractionInProgress(){let t=`${Zo}.${Eo.INTERACTION_STATUS_KEY}`,o=this.getTemporaryCache(t,"",!1);try{return o?JSON.parse(o):null}catch{return this.logger.error("0jjyys",""),this.removeTemporaryItem(t),this.resetRequestCache(""),Ok(window),null}}setInteractionInProgress(t,o=ba.SIGNIN,n=!1,i=""){let r=`${Zo}.${Eo.INTERACTION_STATUS_KEY}`;if(t){if(this.getInteractionInProgress())if(n)this.logger.warning("1pmscr",i),Pce(this.logger,i),this.removeTemporaryItem(r);else throw de(Gle);this.setTemporaryCache(r,JSON.stringify({clientId:this.clientId,type:o}),!1)}else!t&&this.getInteractionInProgress()?.clientId===this.clientId&&this.removeTemporaryItem(r)}async hydrateCache(t,o){let n=_n.createIdTokenEntity(t.account.homeAccountId,t.account.environment,t.idToken,this.clientId,t.tenantId),i=_n.createAccessTokenEntity(t.account.homeAccountId,t.account.environment,t.accessToken,this.clientId,t.tenantId,t.scopes.join(" "),t.expiresOn?er.toSecondsFromDate(t.expiresOn):0,t.extExpiresOn?er.toSecondsFromDate(t.extExpiresOn):0,Pn,void 0,t.tokenType,void 0,o.sshKid);o.resource&&(i.resource=o.resource);let r={idToken:n,accessToken:i};return this.saveCacheRecord(r,t.correlationId,di.isKmsi(di.extractTokenClaims(t.idToken,Pn)),St.hydrateCache)}async saveCacheRecord(t,o,n,i,r){try{await super.saveCacheRecord(t,o,n,i,r)}catch(s){if(s instanceof ju&&this.performanceClient&&o)try{let a=this.getTokenKeys();this.performanceClient.addFields({cacheRtCount:a.refreshToken.length,cacheIdCount:a.idToken.length,cacheAtCount:a.accessToken.length},o)}catch{}throw s}}};function Yce(e,t,o,n){try{switch(t){case Ln.LocalStorage:return new Wk(e,o,n);case Ln.SessionStorage:return new Kk;case Ln.MemoryStorage:default:break}}catch(i){o.error(i,"")}return new Ec}var Wce=(e,t,o,n)=>{let i={cacheLocation:Ln.MemoryStorage,cacheRetentionDays:5};return new Bh(e,i,Vu,t,o,n)};function Kce(e,t,o,n,i){return e.verbose("1yd030",n),o?t.getAllAccounts(i,n):[]}function Jce(e,t,o,n){t.trace("0u7b90",n);let i=o.getAccountInfoFilteredBy(e,n);return i?(t.verbose("0btgll",n),i):(t.verbose("0ltaj5",n),null)}function Zce(e,t,o){t.setActiveAccount(e,o)}function Xce(e,t){return e.getActiveAccount(t)}var mMe="msal.broadcast.event",Jk=class{constructor(t){this.eventCallbacks=new Map,this.logger=t||new bn({}),typeof BroadcastChannel<"u"&&(this.broadcastChannel=new BroadcastChannel(mMe)),this.invokeCrossTabCallbacks=this.invokeCrossTabCallbacks.bind(this)}addEventCallback(t,o,n){if(typeof window<"u"){let i=n||Ox();return this.eventCallbacks.has(i)?(this.logger.error("1578i0",""),null):(this.eventCallbacks.set(i,[t,o||[]]),this.logger.verbose("1cnec4",""),i)}return null}removeEventCallback(t){this.eventCallbacks.delete(t),this.logger.verbose("12zotd","")}emitEvent(t,o,n,i,r){let s={eventType:t,interactionType:n||null,payload:i||null,error:r||null,correlationId:o,timestamp:Date.now()};switch(t){case Ke.LOGIN_SUCCESS:case Ke.LOGOUT_SUCCESS:case Ke.ACTIVE_ACCOUNT_CHANGED:this.broadcastChannel?.postMessage(s)}this.invokeCallbacks(s)}invokeCallbacks(t){this.eventCallbacks.forEach(([o,n],i)=>{(n.length===0||n.includes(t.eventType))&&(this.logger.verbose("15jpwk",""),o.apply(null,[t]))})}invokeCrossTabCallbacks(t){let o=t.data;this.invokeCallbacks(o)}subscribeCrossTab(){this.broadcastChannel?.addEventListener("message",this.invokeCrossTabCallbacks)}unsubscribeCrossTab(){this.broadcastChannel?.removeEventListener("message",this.invokeCrossTabCallbacks)}};var Vh=class{constructor(t,o,n,i,r,s,a,l,c){this.config=t,this.browserStorage=o,this.browserCrypto=n,this.networkClient=this.config.system.networkClient,this.eventHandler=r,this.navigationClient=s,this.platformAuthProvider=c,this.correlationId=l,this.logger=i.clone(yn.MSAL_SKU,zr),this.performanceClient=a}};function vm(e,t,o,n){o.verbose("0bd1la",n);let i=e||t||"";return Tt.getAbsoluteUrl(i,Cs())}function Vo(e,t,o,n,i,r){i.verbose("1p12tq",o);let s={clientId:t,correlationId:o,apiId:e,forceRefresh:!1,wrapperSKU:n.getWrapperMetadata()[0],wrapperVer:n.getWrapperMetadata()[1]};return new fm(s,n)}async function nr(e,t,o,n,i,r,s,a,l){let c=a&&a.hasOwnProperty("instance_aware")?a.instance_aware:void 0,u={protocolMode:e.system.protocolMode,OIDCOptions:e.auth.OIDCOptions,knownAuthorities:e.auth.knownAuthorities,cloudDiscoveryMetadata:e.auth.cloudDiscoveryMetadata,authorityMetadata:e.auth.authorityMetadata},p=r||e.auth.authority,m=c?.length?c==="true":e.auth.instanceAware,g=l&&m?e.auth.authority.replace(Tt.getDomainFromUrl(p),l.environment):p,f=wc.generateAuthority(g,s||e.auth.azureCloudOptions),_=await G(Ik.createDiscoveredInstance,vle,i,o,t)(f,e.system.networkClient,n,u,i,t,o);if(l&&!_.isAlias(l.environment))throw Pt(Xi.authorityMismatch);return _}async function Gh(e,t,o,n,i){if(i)try{e.removeAccount(i,n),o.verbose("0s4z6h",n)}catch{o.error("0mgg1d",n)}else try{o.verbose("0zj631",n),e.clear(n),await t.clearKeystore(n)}catch{o.error("12ih0c",n)}}async function Hx(e,t,o,n,i){let r=e.authority||t.auth.authority,s=[...e&&e.scopes||[]],a={...e,correlationId:e.correlationId,authority:r,scopes:s};if(!a.authenticationScheme)a.authenticationScheme=Pe.AuthenticationScheme.BEARER,n.verbose("1l4fwv",i);else{if(a.authenticationScheme===Pe.AuthenticationScheme.SSH){if(!e.sshJwk)throw Pt(Xi.missingSshJwk);if(!e.sshKid)throw Pt(Xi.missingSshKid)}n.verbose("1ecmns",i)}return a}async function eue(e,t,o,n,i){let r=await G(Hx,Ah,i,n,e.correlationId)(e,o,n,i,e.correlationId);return{...e,...r,account:t,forceRefresh:e.forceRefresh||!1}}function Zk(e,t){let o,n=e.httpMethod;if(t===uo.EAR){if(n&&n!==Pe.HttpMethod.POST)throw Pt(Xi.invalidRequestMethodForEAR);o=Pe.HttpMethod.POST}else o=n||Pe.HttpMethod.GET;return o}var ir=class extends Vh{initializeLogoutRequest(t){this.logger.verbose("0546u4",this.correlationId);let o={correlationId:this.correlationId,...t};if(t)if(t.logoutHint)this.logger.verbose("12k4l4",this.correlationId);else if(t.account){let n=this.getLogoutHintFromIdTokenClaims(t.account);n&&(this.logger.verbose("0st5di",this.correlationId),o.logoutHint=n)}else this.logger.verbose("0pdtc3",this.correlationId);else this.logger.verbose("07ndze",this.correlationId);return!t||t.postLogoutRedirectUri!==null?t&&t.postLogoutRedirectUri?(this.logger.verbose("1vamm6",o.correlationId),o.postLogoutRedirectUri=Tt.getAbsoluteUrl(t.postLogoutRedirectUri,Cs())):this.config.auth.postLogoutRedirectUri===null?this.logger.verbose("15m5g7",o.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("1f4xlz",o.correlationId),o.postLogoutRedirectUri=Tt.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,Cs())):(this.logger.verbose("17s5rf",o.correlationId),o.postLogoutRedirectUri=Tt.getAbsoluteUrl(Cs(),Cs())):this.logger.verbose("0ljv63",o.correlationId),o}getLogoutHintFromIdTokenClaims(t){let o=t.idTokenClaims;if(o){if(o.login_hint)return o.login_hint;this.logger.verbose("0mvp54",this.correlationId)}else this.logger.verbose("1e7bdp",this.correlationId);return null}async createAuthCodeClient(t){let o=await G(this.getClientConfiguration.bind(this),Wu,this.logger,this.performanceClient,this.correlationId)(t);return new gm(o,this.performanceClient)}async getClientConfiguration(t){let{serverTelemetryManager:o,requestAuthority:n,requestAzureCloudOptions:i,requestExtraQueryParameters:r,account:s}=t,a=t.authority||await G(nr,ga,this.logger,this.performanceClient,this.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,i,r,s),l=this.config.system.loggerOptions;return{authOptions:{clientId:this.config.auth.clientId,authority:a,clientCapabilities:this.config.auth.clientCapabilities,redirectUri:this.config.auth.redirectUri,isMcp:this.config.auth.isMcp},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:l.loggerCallback,piiLoggingEnabled:l.piiLoggingEnabled,logLevel:l.logLevel,correlationId:this.correlationId},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:o,libraryInfo:{sku:yn.MSAL_SKU,version:zr,cpu:"",os:""},telemetry:this.config.telemetry}}};async function ed(e,t,o,n,i,r,s,a){let l=vm(e.redirectUri,o.auth.redirectUri,r,a);new URL(l).origin!==new URL(window.location.href).origin&&(r.warning("08qbvw",a),s.addFields({isRedirectUriCrossOrigin:!0},a));let c={interactionType:t},u=pa.setRequestState(n,e&&e.state||"",c),m={...await G(Hx,Ah,r,s,a)({...e,correlationId:a},o,s,r,a),redirectUri:l,state:u,nonce:e.nonce||Dr(),responseMode:o.auth.OIDCOptions.responseMode},g={...m,httpMethod:Zk(m,o.system.protocolMode)};if(e.loginHint||e.sid)return g;let f=e.account||i.getActiveAccount(a);return f&&(r.verbose("1eqlb3",a),r.verbosePii("0tf99t",a),g.account=f),g}function tue(e,t){if(!t)return null;try{return pa.parseRequestState(e.base64Decode,t).libraryState.meta}catch{throw Z(fn.invalidState)}}function ym(e,t,o,n){let i=Ts.getDeserializedResponse(e);if(!i)throw Ts.stripLeadingHashOrQuery(e)?(o.error("13pl0s",n),o.errorPii("1097vx",n),de(Ble)):(o.error("18h0l1",n),de(Hle));return i}function oue(e,t,o){if(!e.state)throw de(Dh);let n=tue(t,e.state);if(!n)throw de(Mk);if(n.interactionType!==o)throw de(Vle)}var Qh=class{constructor(t,o,n,i,r){this.authModule=t,this.browserStorage=o,this.authCodeRequest=n,this.logger=i,this.performanceClient=r}async handleCodeResponse(t,o,n){let i;try{i=ul.getAuthorizationCodePayload(t,o.state)}catch(r){throw r instanceof or&&r.subError===Fx?de(Fx):r}return G(this.handleCodeResponseFromServer.bind(this),vn.HandleCodeResponseFromServer,this.logger,this.performanceClient,o.correlationId)(i,o,n)}async handleCodeResponseFromServer(t,o,n,i=!0){if(this.logger.trace("0mf2hb",o.correlationId),this.authCodeRequest.code=t.code,i&&(t.nonce=o.nonce||void 0),t.state=o.state,t.client_info)this.authCodeRequest.clientInfo=t.client_info;else{let s=this.createCcsCredentials(o);s&&(this.authCodeRequest.ccsCredential=s)}return await G(this.authModule.acquireToken.bind(this.authModule),_le,this.logger,this.performanceClient,o.correlationId)(this.authCodeRequest,n,t)}createCcsCredentials(t){return t.account?{credential:t.account.homeAccountId,type:pi.HOME_ACCOUNT_ID}:t.loginHint?{credential:t.loginHint,type:pi.UPN}:null}};var nue="ContentError",iue="PageException",rue="user_switch";var sue="USER_INTERACTION_REQUIRED",aue="USER_CANCEL",lue="NO_NETWORK",cue="PERSISTENT_ERROR",uue="DISABLED",due="ACCOUNT_UNAVAILABLE",pue="UX_NOT_ALLOWED";var gMe=-2147186943,Es=class e extends ot{constructor(t,o,n){super(t,o||Ph(t)),Object.setPrototypeOf(this,e.prototype),this.name="NativeAuthError",this.ext=n}};function td(e){if(e.ext&&e.ext.status&&(e.ext.status===cue||e.ext.status===uue)||e.ext&&e.ext.error&&e.ext.error===gMe)return!0;switch(e.errorCode){case nue:case iue:return!0;default:return!1}}function xm(e,t,o){if(o&&o.status)switch(o.status){case due:return pm(cl.nativeAccountUnavailable,Ph(e));case sue:return new Co(e,t);case aue:return de(Fx);case lue:return de(qx);case pue:return pm(cl.uxNotAllowed)}return new Es(e,t,o)}var jh=class extends ir{async acquireToken(t){let o=Vo(St.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),n=await G(this.getClientConfiguration.bind(this),Wu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:o,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,account:t.account}),i=new Mx(n,this.performanceClient);this.logger.verbose("0wa871",this.correlationId);try{let s=(await G(i.acquireCachedToken.bind(i),fle,this.logger,this.performanceClient,t.correlationId)(t))[0];return this.performanceClient.addFields({fromCache:!0},t.correlationId),s}catch(r){throw r instanceof bm&&r.errorCode===$k&&this.logger.verbose("06wena",this.correlationId),r}}logout(t){this.logger.verbose("1rkurh",this.correlationId);let o=this.initializeLogoutRequest(t);return Gh(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,o.account)}};var od=class extends Vh{constructor(t,o,n,i,r,s,a,l,c,u,p,m){super(t,o,n,i,r,s,l,m,c),this.apiId=a,this.accountId=u,this.platformAuthProvider=c,this.nativeStorageManager=p,this.silentCacheClient=new jh(t,this.nativeStorageManager,n,i,r,s,l,m,c);let g=this.platformAuthProvider.getExtensionName();this.skus=fm.makeExtraSkuString({libraryName:yn.MSAL_SKU,libraryVersion:zr,extensionName:g,extensionVersion:this.platformAuthProvider.getExtensionVersion()})}addRequestSKUs(t){t.extraParameters={...t.extraParameters,[hc.X_CLIENT_EXTRA_SKU]:this.skus}}async acquireToken(t,o){this.logger.trace("03qeos",this.correlationId);let n=this.performanceClient.startMeasurement(Lk,t.correlationId),i=er.nowSeconds(),r=Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let s=await this.initializeNativeRequest(t);try{let l=await this.acquireTokensFromCache(this.accountId,s);return n.end({success:!0,isNativeBroker:!1,fromCache:!0}),l}catch(l){if(o===Wn.AccessToken)throw this.logger.info("0eitbc",this.correlationId),l;this.logger.info("0957j1",this.correlationId)}let a=await this.platformAuthProvider.sendMessage(s);return await this.handleNativeResponse(a,s,i).then(l=>(n.end({success:!0,isNativeBroker:!0,requestId:l.requestId}),r.clearNativeBrokerErrorCode(),l)).catch(l=>{throw n.end({success:!1,errorCode:l.errorCode,subErrorCode:l.subError,isNativeBroker:!0}),l})}catch(s){throw s instanceof Es&&r.setNativeBrokerErrorCode(s.errorCode),s}}createSilentCacheRequest(t,o){return{authority:t.authority,correlationId:this.correlationId,scopes:hn.fromString(t.scope).asArray(),account:o,forceRefresh:!1}}async acquireTokensFromCache(t,o){if(!t)throw this.logger.warning("1ndf3e",this.correlationId),Z(fn.noAccountFound);let n=this.browserStorage.getBaseAccountInfo({nativeAccountId:t},o.correlationId);if(!n)throw Z(fn.noAccountFound);try{let i=this.createSilentCacheRequest(o,n),r=await this.silentCacheClient.acquireToken(i),s={...n,idTokenClaims:r?.idTokenClaims,idToken:r?.idToken};return{...r,account:s}}catch(i){throw i}}async acquireTokenRedirect(t,o,n){this.logger.trace("0luikq",this.correlationId);let i=await this.initializeNativeRequest(t),r=n?.navigateToLoginRequestUrl??!0;try{await this.platformAuthProvider.sendMessage(i)}catch(l){if(l instanceof Es&&(Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).setNativeBrokerErrorCode(l.errorCode),td(l)))throw l}this.browserStorage.setTemporaryCache(Eo.NATIVE_REQUEST,JSON.stringify(i),!0);let s={apiId:St.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},a=r?window.location.href:vm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId);o.end({success:!0}),await this.navigationClient.navigateExternal(a,s)}async handleRedirectPromise(t,o){if(this.logger.trace("1c5lhw",this.correlationId),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("0le6uv",this.correlationId),null;let n=this.browserStorage.getCachedNativeRequest();if(!n)return this.logger.verbose("0a6zjb",this.correlationId),t&&o&&t?.addFields({errorCode:"no_cached_request"},o),null;let{prompt:i,...r}=n;i&&this.logger.verbose("0ac34v",this.correlationId),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Eo.NATIVE_REQUEST));let s=er.nowSeconds();try{this.logger.verbose("003x5a",this.correlationId);let a=await this.platformAuthProvider.sendMessage(r),l=await this.handleNativeResponse(a,r,s);return Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).clearNativeBrokerErrorCode(),l}catch(a){throw a}}logout(){return this.logger.trace("0u2sjm",this.correlationId),Promise.reject("Logout not implemented yet")}async handleNativeResponse(t,o,n){this.logger.trace("1bojln",this.correlationId);let i=di.extractTokenClaims(t.id_token,Pn),r=this.createHomeAccountIdentifier(t,i),s=this.browserStorage.getAccountInfoFilteredBy({nativeAccountId:o.accountId},this.correlationId)?.homeAccountId;if(o.extraParameters?.child_client_id&&t.account.id!==o.accountId)this.logger.info("1ub1in",this.correlationId);else if(r!==s&&t.account.id!==o.accountId)throw xm(rue);let a=await nr(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o.authority),l=Sk(this.browserStorage,a,r,Pn,this.correlationId,i,t.client_info,a.getPreferredCache(),i.tid,void 0,t.account.id,this.logger,this.performanceClient);t.expires_in=Number(t.expires_in);let c=await this.generateAuthenticationResult(t,o,i,l,a.canonicalAuthority,n);return await this.cacheAccount(l,di.isKmsi(i)),await this.cacheNativeTokens(t,o,r,i,t.access_token,c.tenantId,n),c}createHomeAccountIdentifier(t,o){return Ss.generateHomeAccountId(t.client_info||"",Ci.Default,this.logger,this.browserCrypto,this.correlationId,o)}generateScopes(t,o){return o?hn.fromString(o):hn.fromString(t)}async generatePopAccessToken(t,o){if(o.tokenType===Pe.AuthenticationScheme.POP&&o.signPopToken){if(t.shr)return this.logger.trace("0coqhu",this.correlationId),t.shr;let n=new tr(this.browserCrypto,this.performanceClient),i={resourceRequestMethod:o.resourceRequestMethod,resourceRequestUri:o.resourceRequestUri,shrClaims:o.shrClaims,shrNonce:o.shrNonce,correlationId:this.correlationId};if(!o.keyId)throw Z(fn.keyIdMissing);return n.signPopToken(t.access_token,o.keyId,i)}else return t.access_token}async generateAuthenticationResult(t,o,n,i,r,s){let a=this.addTelemetryFromNativeResponse(t.properties.MATS),l=this.generateScopes(o.scope,t.scope),c=t.account.properties||{},u=c.UID||n.oid||n.sub||"",p=c.TenantId||n.tid||"",m=lm(Ss.getAccountInfo(i),void 0,n,t.id_token);m.nativeAccountId!==t.account.id&&(m.nativeAccountId=t.account.id);let g=await this.generatePopAccessToken(t,o),f=o.tokenType===Pe.AuthenticationScheme.POP?Pe.AuthenticationScheme.POP:Pe.AuthenticationScheme.BEARER;return{authority:r,uniqueId:u,tenantId:p,scopes:l.asArray(),account:m,idToken:t.id_token,idTokenClaims:n,accessToken:g,fromCache:a?this.isResponseFromCache(a):!1,expiresOn:er.toDateFromSeconds(s+t.expires_in),tokenType:f,correlationId:this.correlationId,state:t.state,fromPlatformBroker:!0,...o.resource&&{resource:o.resource}}}async cacheAccount(t,o){await this.browserStorage.setAccount(t,this.correlationId,o,this.apiId),this.browserStorage.removeAccountContext(Ss.getAccountInfo(t),this.correlationId)}cacheNativeTokens(t,o,n,i,r,s,a){let l=_n.createIdTokenEntity(n,o.authority,t.id_token||"",o.clientId,i.tid||""),c=o.tokenType===Pe.AuthenticationScheme.POP?Pe.SHR_NONCE_VALIDITY:(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,u=a+c,p=this.generateScopes(t.scope,o.scope),m=_n.createAccessTokenEntity(n,o.authority,r,o.clientId,i.tid||s,p.printScopes(),u,0,Pn,void 0,o.tokenType,void 0,o.keyId),g={idToken:l,accessToken:m};return this.nativeStorageManager.saveCacheRecord(g,this.correlationId,di.isKmsi(i),this.apiId,o.storeInCache)}getExpiresInValue(t,o){return t===Pe.AuthenticationScheme.POP?Pe.SHR_NONCE_VALIDITY:(typeof o=="string"?parseInt(o,10):o)||0}addTelemetryFromNativeResponse(t){let o=this.getMATSFromResponse(t);return o?(this.performanceClient.addFields({extensionId:this.platformAuthProvider.getExtensionId(),extensionVersion:this.platformAuthProvider.getExtensionVersion(),matsBrokerVersion:o.broker_version,matsAccountJoinOnStart:o.account_join_on_start,matsAccountJoinOnEnd:o.account_join_on_end,matsDeviceJoin:o.device_join,matsPromptBehavior:o.prompt_behavior,matsApiErrorCode:o.api_error_code,matsUiVisible:o.ui_visible,matsSilentCode:o.silent_code,matsSilentBiSubCode:o.silent_bi_sub_code,matsSilentMessage:o.silent_message,matsSilentStatus:o.silent_status,matsHttpStatus:o.http_status,matsHttpEventCount:o.http_event_count},this.correlationId),o):null}getMATSFromResponse(t){if(t)try{return JSON.parse(t)}catch{this.logger.error("0b3l57",this.correlationId)}return null}isResponseFromCache(t){return typeof t.is_cached>"u"?(this.logger.verbose("1okqev",this.correlationId),!1):!!t.is_cached}async initializeNativeRequest(t){this.logger.trace("04j6wj",this.correlationId);let o=await this.getCanonicalAuthority(t),{scopes:n,...i}=t,r=new hn(n||[]);r.appendScopes(Pe.OIDC_DEFAULT_SCOPES);let s={...i,accountId:this.accountId,clientId:this.config.auth.clientId,authority:o.urlString,scope:r.printScopes(),redirectUri:vm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId),prompt:this.getPrompt(t.prompt),correlationId:this.correlationId,tokenType:t.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...t.extraParameters},extendedExpiryToken:!1,keyId:t.popKid};if(s.signPopToken&&t.popKid)throw de(pce);if(this.handleExtraBrokerParams(s),s.extraParameters=s.extraParameters||{},s.extraParameters.telemetry=Ei.MATS_TELEMETRY,t.authenticationScheme===Pe.AuthenticationScheme.POP){let a={resourceRequestUri:t.resourceRequestUri,resourceRequestMethod:t.resourceRequestMethod,shrClaims:t.shrClaims,shrNonce:t.shrNonce,correlationId:this.correlationId},l=new tr(this.browserCrypto,this.performanceClient),c;if(s.keyId)c=this.browserCrypto.base64UrlEncode(JSON.stringify({kid:s.keyId})),s.signPopToken=!1;else{let u=await G(l.generateCnf.bind(l),vn.PopTokenGenerateCnf,this.logger,this.performanceClient,this.correlationId)(a,this.logger);c=u.reqCnfString,s.keyId=u.kid,s.signPopToken=!0}s.reqCnf=c}return this.addRequestSKUs(s),s}async getCanonicalAuthority(t){let o=t.authority||this.config.auth.authority,{azureCloudOptions:n,account:i}=t;i&&await nr(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o,n,void 0,i);let r=new Tt(o);return r.validateAsUri(),r}getPrompt(t){switch(this.apiId){case St.ssoSilent:case St.acquireTokenSilent_silentFlow:return this.logger.trace("1hiwaz",this.correlationId),Pe.PromptValue.NONE}if(!t){this.logger.trace("1qlu04",this.correlationId);return}switch(t){case Pe.PromptValue.NONE:case Pe.PromptValue.CONSENT:case Pe.PromptValue.LOGIN:return this.logger.trace("1ynje4",this.correlationId),t;default:throw this.logger.trace("0nkr6q",this.correlationId),de(uce)}}handleExtraBrokerParams(t){let o=t.extraParameters&&t.extraParameters.hasOwnProperty(hc.BROKER_CLIENT_ID)&&t.extraParameters.hasOwnProperty(hc.BROKER_REDIRECT_URI)&&t.extraParameters.hasOwnProperty(hc.CLIENT_ID);if(!t.embeddedClientId&&!o)return;let n="",i=t.redirectUri;t.embeddedClientId?(t.redirectUri=this.config.auth.redirectUri,n=t.embeddedClientId):t.extraParameters&&(t.redirectUri=t.extraParameters[hc.BROKER_REDIRECT_URI],n=t.extraParameters[hc.CLIENT_ID]),t.extraParameters={child_client_id:n,child_redirect_uri:i},this.performanceClient?.addFields({embeddedClientId:n,embeddedRedirectUri:i},t.correlationId)}};var fMe=new Map([["e","AAD"],["m","MSA"]]);function hMe(e){if(!e)return null;try{let n=(/%(?:[0-9A-Fa-f]{2})/.test(e)?decodeURIComponent(e):e).split("|");return n.length<5?null:{accountType:fMe.get(n[0]?.trim()||"")||"",error:n[1]?.trim()||"",subError:n[2]?.trim()||"",cloudInstance:n[3]?.trim()||"",callerDataBoundary:n[4]?.trim()||""}}catch{return null}}function mue(e,t,o){let n=hMe(e.clientdata);n?.accountType&&o.addFields({accountType:n.accountType},t),n?.error&&o.addFields({serverErrorNo:n.error},t),n?.subError&&o.addFields({serverSubErrorNo:n.subError},t)}async function uU(e,t,o,n,i){let r=ul.getStandardAuthorizeRequestParameters({...e.auth,authority:t},o,n,i);if(fo.addLibraryInfo(r,{sku:yn.MSAL_SKU,version:zr,os:"",cpu:""}),e.system.protocolMode!==uo.OIDC&&fo.addApplicationTelemetry(r,e.telemetry.application),o.platformBroker&&(fo.addNativeBroker(r),o.authenticationScheme===Pe.AuthenticationScheme.POP)){let s=new pl(n,i),a=new tr(s,i),l;o.popKid?l=s.encodeKid(o.popKid):l=(await G(a.generateCnf.bind(a),vn.PopTokenGenerateCnf,n,i,o.correlationId)(o,n)).reqCnfString,fo.addPopToken(r,l)}return fo.instrumentBrokerParams(r,o.correlationId,i),r}async function Yh(e,t,o,n,i){if(!o.codeChallenge)throw Pt(Xi.pkceParamsMissing);let r=await G(uU,hle,n,i,o.correlationId)(e,t,o,n,i);return fo.addResponseType(r,Pe.OAuthResponseType.CODE),fo.addCodeChallengeParams(r,o.codeChallenge,Pe.S256_CODE_CHALLENGE_METHOD),fo.addExtraParameters(r,{...o.extraQueryParameters,...o.extraParameters}),ul.getAuthorizeUrl(t,r)}async function Wh(e,t,o,n,i,r){if(!n.earJwk)throw de(Gq);let s=await uU(t,o,n,i,r);fo.addResponseType(s,Pe.OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN),fo.addEARParameters(s,n.earJwk),fo.addCodeChallengeParams(s,n.codeChallenge,Pe.S256_CODE_CHALLENGE_METHOD),fo.addExtraParameters(s,{...n.extraParameters});let a=new Map;fo.addExtraParameters(a,n.extraQueryParameters||{}),fo.addCorrelationId(a,n.correlationId);let l=ul.getAuthorizeUrl(o,a);return gue(e,l,s)}async function Kh(e,t,o,n,i,r){let s=await uU(t,o,n,i,r);fo.addResponseType(s,Pe.OAuthResponseType.CODE),fo.addCodeChallengeParams(s,n.codeChallenge,n.codeChallengeMethod||Pe.S256_CODE_CHALLENGE_METHOD),fo.addExtraParameters(s,{...n.extraParameters});let a=new Map;fo.addExtraParameters(a,n.extraQueryParameters||{}),fo.addCorrelationId(a,n.correlationId);let l=ul.getAuthorizeUrl(o,a);return gue(e,l,s)}function gue(e,t,o){let n=e.createElement("form");return n.method="post",n.action=t,o.forEach((i,r)=>{let s=e.createElement("input");s.hidden=!0,s.name=r,s.value=i,n.appendChild(s)}),e.body.appendChild(n),n}async function fue(e,t,o,n,i,r,s,a,l,c){if(a.verbose("11qcow",e.correlationId),!c)throw de(Nk);let u=new pl(a,l),p=new od(n,i,u,a,s,n.system.navigationClient,o,l,c,t,r,e.correlationId),{userRequestState:m}=pa.parseRequestState(u.base64Decode,e.state);return G(p.acquireToken.bind(p),Lk,a,l,e.correlationId)({...e,state:m,prompt:void 0})}async function Lc(e,t,o,n,i,r,s,a,l,c,u,p){if(Sc.removeThrottle(s,i.auth.clientId,e),mue(t,e.correlationId,u),t.accountId)return G(fue,Nq,c,u,e.correlationId)(e,t.accountId,n,i,s,a,l,c,u,p);let m={...e,code:t.code||"",codeVerifier:o},g=new Qh(r,s,m,c,u);return await G(g.handleCodeResponse.bind(g),ble,c,u,e.correlationId)(t,e,n)}async function Jh(e,t,o,n,i,r,s,a,l,c,u){if(Sc.removeThrottle(r,n.auth.clientId,e),mue(t,e.correlationId,c),ul.validateAuthorizationResponse(t,e.state),!t.ear_jwe)throw de(Ole);if(!e.earJwk)throw de(Gq);let p=JSON.parse(await G(Cce,Mle,l,c,e.correlationId)(e.earJwk,t.ear_jwe));if(p.accountId)return G(fue,Nq,l,c,e.correlationId)(e,p.accountId,o,n,r,s,a,l,c,u);let m=new ma(n.auth.clientId,r,new pl(l,c),l,c,null,null);m.validateTokenResponse(p,e.correlationId);let g={code:"",state:e.state,nonce:e.nonce,client_info:p.client_info,cloud_graph_host_name:p.cloud_graph_host_name,cloud_instance_host_name:p.cloud_instance_host_name,cloud_instance_name:p.cloud_instance_name,msgraph_host:p.msgraph_host};return await G(m.handleServerTokenResponse.bind(m),vn.HandleServerTokenResponse,l,c,e.correlationId)(p,i,er.nowSeconds(),e,o,g,void 0,void 0,void 0,void 0)}var bMe=32;async function _a(e,t,o){let n=Jo(_Me,Cle,t,e,o)(e,t,o),i=await G(vMe,Ele,t,e,o)(n,e,t,o);return{verifier:n,challenge:i}}function _Me(e,t,o){try{let n=new Uint8Array(bMe);return Jo(xce,kle,t,e,o)(n),ws(n)}catch{throw de(Vq)}}async function vMe(e,t,o,n){try{let i=await G(Xq,Ale,o,t,n)(e);return ws(new Uint8Array(i))}catch{throw de(Vq)}}var Xk=class e{navigateInternal(t,o){return e.defaultNavigateWindow(t,o)}navigateExternal(t,o){return e.defaultNavigateWindow(t,o)}static defaultNavigateWindow(t,o){return o.noHistory?window.location.replace(t):window.location.assign(t),new Promise((n,i)=>{setTimeout(()=>{i(de(_m,"failed_to_redirect"))},o.timeout)})}};var eI=class{async sendGetRequestAsync(t,o){let n,i={},r=0,s=hue(o);try{n=await fetch(t,{method:Oq.GET,headers:s})}catch(a){throw mm(de(window.navigator.onLine?nce:qx),void 0,void 0,a)}i=bue(n.headers);try{return r=n.status,{headers:i,body:await n.json(),status:r}}catch(a){throw mm(de(jq),r,i,a)}}async sendPostRequestAsync(t,o){let n=o&&o.body||"",i=hue(o),r,s=0,a={};try{r=await fetch(t,{method:Oq.POST,headers:i,body:n})}catch(l){throw mm(de(window.navigator.onLine?oce:qx),void 0,void 0,l)}a=bue(r.headers);try{return s=r.status,{headers:a,body:await r.json(),status:s}}catch(l){throw mm(de(jq),s,a,l)}}};function hue(e){try{let t=new Headers;if(!(e&&e.headers))return t;let o=e.headers;return Object.entries(o).forEach(([n,i])=>{t.append(n,i)}),t}catch(t){throw mm(de(mce),void 0,void 0,t)}}function bue(e){try{let t={};return e.forEach((o,n)=>{t[n]=o}),t}catch{throw de(gce)}}var yMe=6e4,xMe=1e4,TMe=3e4,dU=2e3;function _ue({auth:e,cache:t,system:o,experimental:n,telemetry:i},r){let s={clientId:"",authority:`${Pe.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:"",authorityMetadata:"",redirectUri:typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:"",postLogoutRedirectUri:"",clientCapabilities:[],OIDCOptions:{responseMode:Pe.ResponseMode.FRAGMENT,defaultScopes:[Pe.OPENID_SCOPE,Pe.PROFILE_SCOPE,Pe.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:Qu.None,tenant:""},instanceAware:!1,isMcp:!1},a={cacheLocation:Ln.SessionStorage,cacheRetentionDays:5},l={loggerCallback:()=>{},logLevel:Dt.Info,piiLoggingEnabled:!1},u={...{...mk,loggerOptions:l,networkClient:r?new eI:Rq,navigationClient:new Xk,popupBridgeTimeout:o?.popupBridgeTimeout||yMe,iframeBridgeTimeout:o?.iframeBridgeTimeout||xMe,redirectNavigationTimeout:TMe,allowRedirectInIframe:!1,navigatePopups:!0,allowPlatformBroker:!1,nativeBrokerHandshakeTimeout:o?.nativeBrokerHandshakeTimeout||dU,protocolMode:uo.AAD},...o,loggerOptions:o?.loggerOptions||l},p={application:{appName:"",appVersion:""},client:new xc},m={iframeTimeoutTelemetry:!1};if(o?.protocolMode!==uo.OIDC&&e?.OIDCOptions&&new bn(u.loggerOptions).warning(JSON.stringify(Pt(Xi.cannotSetOIDCOptions)),""),o?.protocolMode&&o.protocolMode===uo.OIDC&&u?.allowPlatformBroker)throw Pt(Xi.cannotAllowPlatformBroker);return{auth:{...s,...e,OIDCOptions:{...s.OIDCOptions,...e?.OIDCOptions}},cache:{...a,...t},system:u,experimental:{...m,...n},telemetry:{...p,...i}}}var tI=class e{constructor(t,o,n,i){this.logger=t,this.handshakeTimeoutMs=o,this.extensionId=i,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=n,this.handshakeEvent=n.startMeasurement(Sle),this.platformAuthType=Ei.PLATFORM_EXTENSION_PROVIDER}async sendMessage(t){this.logger.trace("0on4p2",t.correlationId);let o={method:Rh.GetToken,request:t},n={channel:Ei.CHANNEL_ID,extensionId:this.extensionId,responseId:Dr(),body:o};this.logger.trace("1qadfi",t.correlationId),this.logger.tracePii("1xm533",t.correlationId),this.messageChannel.port1.postMessage(n);let i=await new Promise((s,a)=>{this.resolvers.set(n.responseId,{resolve:s,reject:a})});return this.validatePlatformBrokerResponse(i)}static async createProvider(t,o,n,i){t.trace("15zfnw",i);try{let r=new e(t,o,n,Ei.PREFERRED_EXTENSION_ID);return await r.sendHandshakeRequest(i),r}catch{let s=new e(t,o,n);return await s.sendHandshakeRequest(i),s}}async sendHandshakeRequest(t){this.logger.trace("1dpg9o",t),window.addEventListener("message",this.windowListener,!1);let o={channel:Ei.CHANNEL_ID,extensionId:this.extensionId,responseId:Dr(),body:{method:Rh.HandshakeRequest}};return this.handshakeEvent.add({extensionId:this.extensionId,extensionHandshakeTimeoutMs:this.handshakeTimeoutMs}),this.messageChannel.port1.onmessage=n=>{this.onChannelMessage(n)},window.postMessage(o,window.origin,[this.messageChannel.port2]),new Promise((n,i)=>{this.handshakeResolvers.set(o.responseId,{resolve:n,reject:i}),this.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",this.windowListener,!1),this.messageChannel.port1.close(),this.messageChannel.port2.close(),this.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),i(de(lce)),this.handshakeResolvers.delete(o.responseId)},this.handshakeTimeoutMs)})}onWindowMessage(t){let o=Ox();if(this.logger.trace("0jpn5u",o),t.source!==window)return;let n=t.data;if(!(!n.channel||n.channel!==Ei.CHANNEL_ID)&&!(n.extensionId&&n.extensionId!==this.extensionId)&&n.body.method===Rh.HandshakeRequest){let i=this.handshakeResolvers.get(n.responseId);if(!i){this.logger.trace("07buhm",o);return}this.logger.verbose(n.extensionId?"0xrkug":"No extension installed",o),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),i.reject(de(cce))}}onChannelMessage(t){let o=Ox();this.logger.trace("1py8yf",o);let n=t.data,i=this.resolvers.get(n.responseId),r=this.handshakeResolvers.get(n.responseId);try{let s=n.body.method;if(s===Rh.Response){if(!i)return;let a=n.body.response;if(this.logger.trace("19hpgm",o),this.logger.tracePii("179a24",o),a.status!=="Success")i.reject(xm(a.code,a.description,a.ext));else if(a.result)a.result.code&&a.result.description?i.reject(xm(a.result.code,a.result.description,a.result.ext)):i.resolve(a.result);else throw hh(Yu.unexpectedError,"Event does not contain result.");this.resolvers.delete(n.responseId)}else if(s===Rh.HandshakeResponse){if(!r){this.logger.trace("082qnt",o);return}clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=n.extensionId,this.extensionVersion=n.body.version,this.logger.verbose("0yf5ib",o),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),r.resolve(),this.handshakeResolvers.delete(n.responseId)}}catch(s){this.logger.error("0xf978",o),this.logger.errorPii("04i99o",o),this.logger.errorPii("0xdvsy",o),i?i.reject(s):r&&r.reject(s)}}validatePlatformBrokerResponse(t){if(t.hasOwnProperty("access_token")&&t.hasOwnProperty("id_token")&&t.hasOwnProperty("client_info")&&t.hasOwnProperty("account")&&t.hasOwnProperty("scope")&&t.hasOwnProperty("expires_in"))return t;throw hh(Yu.unexpectedError,"Response missing expected properties.")}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}getExtensionName(){return this.getExtensionId()===Ei.PREFERRED_EXTENSION_ID?"chrome":this.getExtensionId()?.length?"unknown":void 0}};var oI=class e{constructor(t,o,n){this.logger=t,this.performanceClient=o,this.correlationId=n,this.platformAuthType=Ei.PLATFORM_DOM_PROVIDER}static async createProvider(t,o,n){if(t.trace("12mj4a",n),window.navigator?.platformAuthentication&&(await window.navigator.platformAuthentication.getSupportedContracts(Ei.MICROSOFT_ENTRA_BROKERID))?.includes(Ei.PLATFORM_DOM_APIS))return t.trace("1h5q1r",n),new e(t,o,n)}getExtensionId(){return Ei.MICROSOFT_ENTRA_BROKERID}getExtensionVersion(){return""}getExtensionName(){return Ei.DOM_API_NAME}async sendMessage(t){this.logger.trace("02bcil",t.correlationId);try{let o=this.initializePlatformDOMRequest(t),n=await window.navigator.platformAuthentication.executeGetToken(o);return this.validatePlatformBrokerResponse(n,t.correlationId)}catch(o){throw this.logger.error("11im7g",t.correlationId),o}}initializePlatformDOMRequest(t){this.logger.trace("15d6yv",t.correlationId);let{accountId:o,clientId:n,authority:i,scope:r,redirectUri:s,correlationId:a,state:l,storeInCache:c,embeddedClientId:u,extraParameters:p,...m}=t,g=this.getDOMExtraParams(m,a);return{accountId:o,brokerId:this.getExtensionId(),authority:i,clientId:n,correlationId:a||this.correlationId,extraParameters:{...p,...g},isSecurityTokenService:!1,redirectUri:s,scope:r,state:l,storeInCache:c,embeddedClientId:u}}validatePlatformBrokerResponse(t,o){if(t.hasOwnProperty("isSuccess")){if(t.hasOwnProperty("accessToken")&&t.hasOwnProperty("idToken")&&t.hasOwnProperty("clientInfo")&&t.hasOwnProperty("account")&&t.hasOwnProperty("scopes")&&t.hasOwnProperty("expiresIn"))return this.logger.trace("0h4vei",o),this.convertToPlatformBrokerResponse(t,o);if(t.hasOwnProperty("error")){let n=t;if(n.isSuccess===!1&&n.error&&n.error.code)throw this.logger.trace("0g92vm",o),xm(n.error.code,n.error.description,{error:parseInt(n.error.errorCode),protocol_error:n.error.protocolError,status:n.error.status,properties:n.error.properties})}}throw hh(Yu.unexpectedError,"Response missing expected properties.")}convertToPlatformBrokerResponse(t,o){return this.logger.trace("14913t",o),{access_token:t.accessToken,id_token:t.idToken,client_info:t.clientInfo,account:t.account,expires_in:t.expiresIn,scope:t.scopes,state:t.state||"",properties:t.properties||{},extendedLifetimeToken:t.extendedLifetimeToken??!1,shr:t.proofOfPossessionPayload}}getDOMExtraParams(t,o){try{let n={};for(let[i,r]of Object.entries(t))r&&(typeof r=="object"?n[i]=JSON.stringify(r):n[i]=String(r));return n}catch{return this.logger.error("0eu9o3",o),this.logger.errorPii("17rpl5",o),{}}}};async function vue(e,t,o,n){e.trace("134j0v",o);let i=SMe();e.trace("04c81g",o);let r;try{i&&(r=await oI.createProvider(e,t,o)),r||(e.trace("0l3na8",o),r=await tI.createProvider(e,n||dU,t,o))}catch(s){e.trace("0icbd7",s)}return r}function SMe(){let e;try{return e=window[Ln.SessionStorage],e?.getItem(Gce)==="true"}catch{return!1}}function Pc(e,t,o,n,i){if(t.trace("0uko3r",o),!e.system.allowPlatformBroker)return t.trace("04hozs",o),!1;if(!n)return t.trace("0kvv1r",o),!1;if(i)switch(i){case Pe.AuthenticationScheme.BEARER:case Pe.AuthenticationScheme.POP:return t.trace("18tev1",o),!0;default:return t.trace("1dd2nh",o),!1}return!0}var nI=class extends ir{constructor(t,o,n,i,r,s,a,l,c,u){super(t,o,n,i,r,s,a,c,u),this.nativeStorage=l,this.eventHandler=r}acquireToken(t,o){let n;try{if(n={popupName:this.generatePopupName(t.scopes||Pe.OIDC_DEFAULT_SCOPES,t.authority||this.config.auth.authority),popupWindowAttributes:t.popupWindowAttributes||{},popupWindowParent:t.popupWindowParent??window},this.performanceClient.addFields({isAsyncPopup:!this.config.system.navigatePopups},this.correlationId),this.config.system.navigatePopups){let r={...t,httpMethod:Zk(t,this.config.system.protocolMode)};return this.logger.verbose("1f9ok3",this.correlationId),n.popup=this.openSizedPopup("about:blank",n),this.acquireTokenPopupAsync(r,n,o)}else return this.logger.verbose("162h4u",this.correlationId),this.acquireTokenPopupAsync(t,n,o)}catch(i){return Promise.reject(i)}}logout(t){try{this.logger.verbose("068rup",this.correlationId);let o=this.initializeLogoutRequest(t),n={popupName:this.generateLogoutPopupName(o),popupWindowAttributes:t?.popupWindowAttributes||{},popupWindowParent:t?.popupWindowParent??window},i=t&&t.authority,r=t&&t.mainWindowRedirectUri;return this.config.system.navigatePopups?(this.logger.verbose("1a28da",this.correlationId),n.popup=this.openSizedPopup("about:blank",n),this.logoutPopupAsync(o,n,i,r)):(this.logger.verbose("1phd8u",this.correlationId),this.logoutPopupAsync(o,n,i,r))}catch(o){return Promise.reject(o)}}async acquireTokenPopupAsync(t,o,n){this.logger.verbose("1g77pg",this.correlationId);let i=await G(ed,Ku,this.logger,this.performanceClient,this.correlationId)(t,Qe.Popup,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.popup&&Bk(i.authority);let r=Pc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);return i.platformBroker=r,this.config.system.protocolMode===uo.EAR?this.executeEarFlow(i,o,n):this.executeCodeFlow(i,o,n)}async executeCodeFlow(t,o,n){let i=t.correlationId,r=Vo(St.acquireTokenPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=n||await G(_a,ha,this.logger,this.performanceClient,i)(this.performanceClient,this.logger,i),a={...t,codeChallenge:s.challenge};try{let l=await G(this.createAuthCodeClient.bind(this),fa,this.logger,this.performanceClient,i)({serverTelemetryManager:r,requestAuthority:a.authority,requestAzureCloudOptions:a.azureCloudOptions,requestExtraQueryParameters:a.extraQueryParameters,account:a.account});if(a.httpMethod===Pe.HttpMethod.POST)return await this.executeCodeFlowWithPost(a,o,l,s.verifier);{let c=await G(Yh,vn.GetAuthCodeUrl,this.logger,this.performanceClient,i)(this.config,l.authority,a,this.logger,this.performanceClient),u=this.initiateAuthRequest(c,o);this.eventHandler.emitEvent(Ke.POPUP_OPENED,i,Qe.Popup,{popupWindow:u},null);let p=await Xu(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),m=Jo(ym,hm,this.logger,this.performanceClient,this.correlationId)(p,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return await G(Lc,Cc,this.logger,this.performanceClient,i)(t,m,s.verifier,St.acquireTokenPopup,this.config,l,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}}catch(l){throw o.popup?.close(),l instanceof ot&&(l.setCorrelationId(this.correlationId),r.cacheFailedRequest(l)),l}}async executeEarFlow(t,o,n){let{correlationId:i,authority:r,azureCloudOptions:s,extraQueryParameters:a,account:l}=t,c=await G(nr,ga,this.logger,this.performanceClient,i)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,r,s,a,l),u=await G(qh,Lh,this.logger,this.performanceClient,i)(),p=n||await G(_a,ha,this.logger,this.performanceClient,i)(this.performanceClient,this.logger,i),m={...t,earJwk:u,codeChallenge:p.challenge},g=o.popup||this.openPopup("about:blank",o);(await Wh(g.document,this.config,c,m,this.logger,this.performanceClient)).submit();let _=await G(Xu,kh,this.logger,this.performanceClient,i)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,m,this.performanceClient),h=Jo(ym,hm,this.logger,this.performanceClient,this.correlationId)(_,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);if(!h.ear_jwe&&h.code){let x=await G(this.createAuthCodeClient.bind(this),fa,this.logger,this.performanceClient,i)({serverTelemetryManager:Vo(St.acquireTokenPopup,this.config.auth.clientId,i,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:c});return G(Lc,Cc,this.logger,this.performanceClient,i)(m,h,p.verifier,St.acquireTokenPopup,this.config,x,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return G(Jh,Ih,this.logger,this.performanceClient,i)(m,h,St.acquireTokenPopup,this.config,c,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async executeCodeFlowWithPost(t,o,n,i){let r=t.correlationId,s=await G(nr,ga,this.logger,this.performanceClient,r)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger),a=o.popup||this.openPopup("about:blank",o);(await Kh(a.document,this.config,s,t,this.logger,this.performanceClient)).submit();let c=await G(Xu,kh,this.logger,this.performanceClient,r)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),u=Jo(ym,hm,this.logger,this.performanceClient,this.correlationId)(c,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return G(Lc,Cc,this.logger,this.performanceClient,r)(t,u,i,St.acquireTokenPopup,this.config,n,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async logoutPopupAsync(t,o,n,i){this.logger.verbose("0b7yrk",this.correlationId),this.eventHandler.emitEvent(Ke.LOGOUT_START,this.correlationId,Qe.Popup,t);let r=Vo(St.logoutPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{await Gh(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,t.account);let s=await G(this.createAuthCodeClient.bind(this),fa,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:r,requestAuthority:n,account:t.account||void 0});try{s.authority.endSessionEndpoint}catch{if(t.account?.homeAccountId&&t.postLogoutRedirectUri&&s.authority.protocolMode===uo.OIDC){if(this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,t.correlationId,Qe.Popup,t),i){let c={apiId:St.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=Tt.getAbsoluteUrl(i,Cs());await this.navigationClient.navigateInternal(u,c)}o.popup?.close();return}}let a=s.getLogoutUri(t);this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,t.correlationId,Qe.Popup,t);let l=this.openPopup(a,o);if(this.eventHandler.emitEvent(Ke.POPUP_OPENED,t.correlationId,Qe.Popup,{popupWindow:l},null),await Xu(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient).catch(()=>{}),i){let c={apiId:St.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=Tt.getAbsoluteUrl(i,Cs());this.logger.verbose("0qcur2",this.correlationId),this.logger.verbosePii("0oj7lk",this.correlationId),await this.navigationClient.navigateInternal(u,c)}else this.logger.verbose("03zgcf",this.correlationId)}catch(s){throw o.popup?.close(),s instanceof ot&&(s.setCorrelationId(this.correlationId),r.cacheFailedRequest(s)),this.eventHandler.emitEvent(Ke.LOGOUT_FAILURE,this.correlationId,Qe.Popup,null,s),this.eventHandler.emitEvent(Ke.LOGOUT_END,this.correlationId,Qe.Popup),s}this.eventHandler.emitEvent(Ke.LOGOUT_END,this.correlationId,Qe.Popup)}initiateAuthRequest(t,o){if(t)return this.logger.infoPii("1kcr9k",this.correlationId),this.openPopup(t,o);throw this.logger.error("1l7hyp",this.correlationId),de(Mh)}openPopup(t,o){try{let n;if(o.popup?(n=o.popup,this.logger.verbosePii("0cgeo7",this.correlationId),n.location.assign(t)):typeof o.popup>"u"&&(this.logger.verbosePii("0c2awd",this.correlationId),n=this.openSizedPopup(t,o)),!n)throw de(Yle);return n.focus&&n.focus(),this.currentWindow=n,n}catch{throw this.logger.error("0dxfb9",this.correlationId),de(jle)}}openSizedPopup(t,{popupName:o,popupWindowAttributes:n,popupWindowParent:i}){let r=i.screenLeft?i.screenLeft:i.screenX,s=i.screenTop?i.screenTop:i.screenY,a=i.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,l=i.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,c=n.popupSize?.width,u=n.popupSize?.height,p=n.popupPosition?.top,m=n.popupPosition?.left;return(!c||c<0||c>a)&&(this.logger.verbose("08vfmo",this.correlationId),c=yn.POPUP_WIDTH),(!u||u<0||u>l)&&(this.logger.verbose("09cxa0",this.correlationId),u=yn.POPUP_HEIGHT),(!p||p<0||p>l)&&(this.logger.verbose("1qh4wo",this.correlationId),p=Math.max(0,l/2-yn.POPUP_HEIGHT/2+s)),(!m||m<0||m>a)&&(this.logger.verbose("1sz3en",this.correlationId),m=Math.max(0,a/2-yn.POPUP_WIDTH/2+r)),i.open(t,o,`width=${c}, height=${u}, top=${p}, left=${m}, scrollbars=yes`)}generatePopupName(t,o){return`${yn.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${t.join("-")}.${o}.${this.correlationId}`}generateLogoutPopupName(t){let o=t.account&&t.account.homeAccountId;return`${yn.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${o}.${this.correlationId}`}};function wMe(){if(typeof window>"u"||typeof window.performance>"u"||typeof window.performance.getEntriesByType!="function")return;let e=window.performance.getEntriesByType("navigation");return(e.length?e[0]:void 0)?.type}var iI=class extends ir{constructor(t,o,n,i,r,s,a,l,c,u){super(t,o,n,i,r,s,a,c,u),this.nativeStorage=l}async acquireToken(t){let o=await G(ed,Ku,this.logger,this.performanceClient,this.correlationId)(t,Qe.Redirect,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.platformBroker=Pc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);let n=r=>{r.persisted&&(this.logger.verbose("0udvtt",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),this.eventHandler.emitEvent(Ke.RESTORE_FROM_BFCACHE,this.correlationId,Qe.Redirect))},i=this.getRedirectStartPage(t.redirectStartPage);this.logger.verbosePii("0zao0a",this.correlationId),this.browserStorage.setTemporaryCache(Eo.ORIGIN_URI,i,!0),window.addEventListener("pageshow",n);try{this.config.system.protocolMode===uo.EAR?await this.executeEarFlow(o):await this.executeCodeFlow(o)}catch(r){throw r instanceof ot&&r.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",n),r}}async executeCodeFlow(t){let o=t.correlationId,n=Vo(St.acquireTokenRedirect,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),i=await G(_a,ha,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),r={...t,codeChallenge:i.challenge};this.browserStorage.cacheAuthorizeRequest(r,this.correlationId,i.verifier);try{if(r.httpMethod===Pe.HttpMethod.POST)return await this.executeCodeFlowWithPost(r);{let s=await G(this.createAuthCodeClient.bind(this),fa,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:r.authority,requestAzureCloudOptions:r.azureCloudOptions,requestExtraQueryParameters:r.extraQueryParameters,account:r.account}),a=await G(Yh,vn.GetAuthCodeUrl,this.logger,this.performanceClient,t.correlationId)(this.config,s.authority,r,this.logger,this.performanceClient);return await this.initiateAuthRequest(a)}}catch(s){throw s instanceof ot&&(s.setCorrelationId(this.correlationId),n.cacheFailedRequest(s)),s}}async executeEarFlow(t){let{correlationId:o,authority:n,azureCloudOptions:i,extraQueryParameters:r,account:s}=t,a=await G(nr,ga,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,i,r,s),l=await G(qh,Lh,this.logger,this.performanceClient,o)(),c=await G(_a,ha,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),u={...t,earJwk:l,codeChallenge:c.challenge};return this.browserStorage.cacheAuthorizeRequest(u,this.correlationId,c.verifier),(await Wh(document,this.config,a,u,this.logger,this.performanceClient)).submit(),new Promise((m,g)=>{setTimeout(()=>{g(de(_m,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async executeCodeFlowWithPost(t){let o=t.correlationId,n=await G(nr,ga,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger);return this.browserStorage.cacheAuthorizeRequest(t,this.correlationId),(await Kh(document,this.config,n,t,this.logger,this.performanceClient)).submit(),new Promise((r,s)=>{setTimeout(()=>{s(de(_m,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async handleRedirectPromise(t,o,n,i){let r=Vo(St.handleRedirectPromise,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=i?.navigateToLoginRequestUrl??!0;try{let[a,l]=this.getRedirectResponse(i?.hash||"");if(!a)return this.logger.info("1qmv0q",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),wMe()!=="back_forward"?n.event.errorCode="no_server_response":this.logger.verbose("1eqegq",this.correlationId),null;let c=this.browserStorage.getTemporaryCache(Eo.ORIGIN_URI,this.correlationId,!0)||"",u=Ts.normalizeUrlForComparison(c),p=Ts.normalizeUrlForComparison(window.location.href);if(u===p&&s)return this.logger.verbose("11yred",this.correlationId),c.indexOf("#")>-1&&Lce(c),await this.handleResponse(a,t,o,r);if(s){if(!Ux()||this.config.system.allowRedirectInIframe){this.browserStorage.setTemporaryCache(Eo.URL_HASH,l,!0);let m={apiId:St.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},g=!0;if(!c||c==="null"){let f=Rce();this.browserStorage.setTemporaryCache(Eo.ORIGIN_URI,f,!0),this.logger.warning("1dutq1",this.correlationId),g=await this.navigationClient.navigateInternal(f,m)}else this.logger.verbose("08jpy1",this.correlationId),g=await this.navigationClient.navigateInternal(c,m);if(!g)return await this.handleResponse(a,t,o,r)}}else return this.logger.verbose("0v4sdv",this.correlationId),await this.handleResponse(a,t,o,r);return null}catch(a){throw a instanceof ot&&(a.setCorrelationId(this.correlationId),r.cacheFailedRequest(a)),a}}getRedirectResponse(t){this.logger.verbose("1c5i8m",this.correlationId);let o=t;o||(this.config.auth.OIDCOptions.responseMode===Pe.ResponseMode.QUERY?o=window.location.search:o=window.location.hash);let n=Ts.getDeserializedResponse(o);if(n){try{oue(n,this.browserCrypto,Qe.Redirect)}catch(r){return r instanceof ot&&this.logger.error("0bkq6p",this.correlationId),[null,""]}return Ok(window),this.logger.verbose("00uvho",this.correlationId),[n,o]}let i=this.browserStorage.getTemporaryCache(Eo.URL_HASH,this.correlationId,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Eo.URL_HASH)),i&&(n=Ts.getDeserializedResponse(i),n)?(this.logger.verbose("001671",this.correlationId),[n,i]):[null,""]}async handleResponse(t,o,n,i){if(!t.state)throw de(Dh);let{authority:s,azureCloudOptions:a,extraQueryParameters:l,account:c}=o;if(t.ear_jwe){let p=await G(nr,ga,this.logger,this.performanceClient,o.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,s,a,l,c);return G(Jh,Ih,this.logger,this.performanceClient,o.correlationId)(o,t,St.acquireTokenRedirect,this.config,p,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}let u=await G(this.createAuthCodeClient.bind(this),fa,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:i,requestAuthority:o.authority});return G(Lc,Cc,this.logger,this.performanceClient,o.correlationId)(o,t,n,St.acquireTokenRedirect,this.config,u,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async initiateAuthRequest(t){if(this.logger.verbose("0yaw2e",this.correlationId),t){this.logger.infoPii("1luf83",this.correlationId);let o={apiId:St.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},n=this.config.auth.onRedirectNavigate;if(typeof n=="function")if(this.logger.verbose("1nehvl",this.correlationId),n(t)!==!1){this.logger.verbose("1a0jxh",this.correlationId),await this.navigationClient.navigateExternal(t,o);return}else{this.logger.verbose("09k5h5",this.correlationId);return}else{this.logger.verbose("0klwf7",this.correlationId),await this.navigationClient.navigateExternal(t,o);return}}else throw this.logger.info("0rlh4e",this.correlationId),de(Mh)}async logout(t){this.logger.verbose("1rkurh",this.correlationId);let o=this.initializeLogoutRequest(t),n=Vo(St.logout,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{this.eventHandler.emitEvent(Ke.LOGOUT_START,this.correlationId,Qe.Redirect,t),await Gh(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,o.account);let i={apiId:St.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},r=await G(this.createAuthCodeClient.bind(this),fa,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:t&&t.authority,requestExtraQueryParameters:t?.extraQueryParameters,account:t&&t.account||void 0});if(r.authority.protocolMode===uo.OIDC)try{r.authority.endSessionEndpoint}catch{if(o.account?.homeAccountId){this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,this.correlationId,Qe.Redirect,o);return}}let s=r.getLogoutUri(o);o.account?.homeAccountId&&this.eventHandler.emitEvent(Ke.LOGOUT_SUCCESS,this.correlationId,Qe.Redirect,o);let a=this.config.auth.onRedirectNavigate;if(typeof a=="function")if(a(s)!==!1){this.logger.verbose("06v57e",this.correlationId),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,ba.SIGNOUT),await this.navigationClient.navigateExternal(s,i);return}else this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("0xqes1",this.correlationId);else{this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,ba.SIGNOUT),await this.navigationClient.navigateExternal(s,i);return}}catch(i){throw i instanceof ot&&(i.setCorrelationId(this.correlationId),n.cacheFailedRequest(i)),this.eventHandler.emitEvent(Ke.LOGOUT_FAILURE,this.correlationId,Qe.Redirect,null,i),this.eventHandler.emitEvent(Ke.LOGOUT_END,this.correlationId,Qe.Redirect),i}this.eventHandler.emitEvent(Ke.LOGOUT_END,this.correlationId,Qe.Redirect)}getRedirectStartPage(t){let o=t||window.location.href;return Tt.getAbsoluteUrl(o,Cs())}};async function yue(e,t,o,n){if(!e)throw o.info("1l7hyp",n),de(Mh);return Jo(CMe,gle,o,t,n)(e)}async function xue(e,t,o,n,i){let r=pU();if(!r.contentDocument)throw"No document associated with iframe!";return(await Kh(r.contentDocument,e,t,o,n,i)).submit(),r}async function Tue(e,t,o,n,i){let r=pU();if(!r.contentDocument)throw"No document associated with iframe!";return(await Wh(r.contentDocument,e,t,o,n,i)).submit(),r}function CMe(e){let t=pU();return t.src=e,t}function pU(){let e=document.createElement("iframe");return e.className="msalSilentIframe",e.style.visibility="hidden",e.style.position="absolute",e.style.width=e.style.height="0",e.style.border="0",e.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),e.setAttribute("allow","local-network-access *"),document.body.appendChild(e),e}function mU(e){document.body===e.parentNode&&document.body.removeChild(e)}var rI=class extends ir{constructor(t,o,n,i,r,s,a,l,c,u,p){super(t,o,n,i,r,s,l,u,p),this.apiId=a,this.nativeStorage=c}async acquireToken(t){!t.loginHint&&!t.sid&&(!t.account||!t.account.username)&&this.logger.warning("1kl318",this.correlationId);let o={...t};o.prompt?o.prompt!==Pe.PromptValue.NONE&&o.prompt!==Pe.PromptValue.NO_SESSION&&(this.logger.warning("0bmctg",this.correlationId),o.prompt=Pe.PromptValue.NONE):o.prompt=Pe.PromptValue.NONE;let n=await G(ed,Ku,this.logger,this.performanceClient,this.correlationId)(o,Qe.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);return n.platformBroker=Pc(this.config,this.logger,this.correlationId,this.platformAuthProvider,n.authenticationScheme),Bk(n.authority),this.config.system.protocolMode===uo.EAR?this.executeEarFlow(n):this.executeCodeFlow(n)}async executeCodeFlow(t){let o,n=Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{return o=await G(this.createAuthCodeClient.bind(this),fa,this.logger,this.performanceClient,t.correlationId)({serverTelemetryManager:n,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account}),await G(this.silentTokenHelper.bind(this),zq,this.logger,this.performanceClient,t.correlationId)(o,t)}catch(i){if(i instanceof ot&&(i.setCorrelationId(this.correlationId),n.cacheFailedRequest(i)),!o||!(i instanceof ot)||i.errorCode!==yn.INVALID_GRANT_ERROR)throw i;return this.performanceClient.addFields({retryError:i.errorCode},this.correlationId),await G(this.silentTokenHelper.bind(this),zq,this.logger,this.performanceClient,this.correlationId)(o,t)}}async executeEarFlow(t){let{correlationId:o,authority:n,azureCloudOptions:i,extraQueryParameters:r,account:s}=t,a=await G(nr,ga,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,i,r,s),l=await G(qh,Lh,this.logger,this.performanceClient,o)(),c=await G(_a,ha,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),u={...t,earJwk:l,codeChallenge:c.challenge},p=await G(Tue,Pk,this.logger,this.performanceClient,o)(this.config,a,u,this.logger,this.performanceClient),m=this.config.auth.OIDCOptions.responseMode,g;try{g=await G(Xu,kh,this.logger,this.performanceClient,o)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient,this.config.experimental)}finally{Jo(mU,Fq,this.logger,this.performanceClient,o)(p)}let f=Jo(ym,hm,this.logger,this.performanceClient,o)(g,m,this.logger,this.correlationId);if(!f.ear_jwe&&f.code){let _=await G(this.createAuthCodeClient.bind(this),fa,this.logger,this.performanceClient,o)({serverTelemetryManager:Vo(this.apiId,this.config.auth.clientId,o,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:a});return G(Lc,Cc,this.logger,this.performanceClient,o)(u,f,c.verifier,this.apiId,this.config,_,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return G(Jh,Ih,this.logger,this.performanceClient,o)(u,f,this.apiId,this.config,a,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}logout(){return Promise.reject(de($h))}async silentTokenHelper(t,o){let n=o.correlationId,i=await G(_a,ha,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),r={...o,codeChallenge:i.challenge},s;if(o.httpMethod===Pe.HttpMethod.POST)s=await G(xue,Pk,this.logger,this.performanceClient,n)(this.config,t.authority,r,this.logger,this.performanceClient);else{let u=await G(Yh,vn.GetAuthCodeUrl,this.logger,this.performanceClient,n)(this.config,t.authority,r,this.logger,this.performanceClient);s=await G(yue,Pk,this.logger,this.performanceClient,n)(u,this.performanceClient,this.logger,n)}let a=this.config.auth.OIDCOptions.responseMode,l;try{l=await G(Xu,kh,this.logger,this.performanceClient,n)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,o,this.performanceClient,this.config.experimental)}finally{Jo(mU,Fq,this.logger,this.performanceClient,n)(s)}let c=Jo(ym,hm,this.logger,this.performanceClient,n)(l,a,this.logger,this.correlationId);return G(Lc,Cc,this.logger,this.performanceClient,n)(o,c,i.verifier,this.apiId,this.config,t,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}};var sI=class extends ir{async acquireToken(t){let o=await G(Hx,Ah,this.logger,this.performanceClient,t.correlationId)(t,this.config,this.performanceClient,this.logger,this.correlationId),n={...t,...o};t.redirectUri&&(n.redirectUri=vm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId));let i=Vo(St.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),r=await this.createRefreshTokenClient({serverTelemetryManager:i,authorityUrl:n.authority,azureCloudOptions:n.azureCloudOptions,account:n.account});return G(r.acquireTokenByRefreshToken.bind(r),dle,this.logger,this.performanceClient,t.correlationId)(n,St.acquireTokenSilent_silentFlow).catch(s=>{throw s.setCorrelationId(this.correlationId),i.cacheFailedRequest(s),s})}logout(){return Promise.reject(de($h))}async createRefreshTokenClient(t){let o=await G(this.getClientConfiguration.bind(this),Wu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:t.serverTelemetryManager,requestAuthority:t.authorityUrl,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account});return new Rx(o,this.performanceClient)}};var aI=class extends gm{constructor(t,o){super(t,o),this.includeRedirectUri=!1}};var lI=class extends ir{constructor(t,o,n,i,r,s,a,l,c,u){super(t,o,n,i,r,s,l,c,u),this.apiId=a}async acquireToken(t){if(!t.code)throw de(ice);let o=await G(ed,Ku,this.logger,this.performanceClient,this.correlationId)(t,Qe.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId),n=Vo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let i={...o,code:t.code},r=await G(this.getClientConfiguration.bind(this),Wu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:o.authority,requestAzureCloudOptions:o.azureCloudOptions,requestExtraQueryParameters:o.extraQueryParameters,account:o.account}),s=new aI(r,this.performanceClient);this.logger.verbose("1uic5e",this.correlationId);let a=new Qh(s,this.browserStorage,i,this.logger,this.performanceClient);return await G(a.handleCodeResponseFromServer.bind(a),vn.HandleCodeResponseFromServer,this.logger,this.performanceClient,this.correlationId)({code:t.code,msgraph_host:t.msGraphHost,cloud_graph_host_name:t.cloudGraphHostName,cloud_instance_host_name:t.cloudInstanceHostName},o,this.apiId,!1)}catch(i){throw i instanceof ot&&(i.setCorrelationId(this.correlationId),n.cacheFailedRequest(i)),i}}logout(){return Promise.reject(de($h))}};function Sue(e,t,o,n){let i=window.msal?.clientIds||[],r=i.length,s=i.filter(a=>a===e).length;s>1&&o.warning("1e88vg",n),t.add({msalInstanceCount:r,sameClientIdInstanceCount:s})}function cI(e,t,o,n){try{Hk(e),Dx(o.auth.isMcp,n)}catch(i){throw t.end({success:!1},i,n.account),i}}var uI=class e{constructor(t){this.operatingContext=t,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=t.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new pl(this.logger,this.performanceClient):Vu,this.eventHandler=new Jk(this.logger),this.browserStorage=this.isBrowserEnvironment?new Bh(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,this.performanceClient,this.eventHandler,Lq(this.config.auth)):Wce(this.config.auth.clientId,this.logger,this.performanceClient,this.eventHandler);let o={cacheLocation:Ln.MemoryStorage,cacheRetentionDays:5};this.nativeInternalStorage=new Bh(this.config.auth.clientId,o,this.browserCrypto,this.logger,this.performanceClient,this.eventHandler),this.activeSilentTokenRequests=new Map,this.trackStateChange=this.trackStateChange.bind(this),this.trackStateChangeWithMeasurement=this.trackStateChangeWithMeasurement.bind(this)}static async createController(t,o){let n=new e(t);return await n.initialize(o),n}trackStateChange(t,o){t&&(o.type==="visibilitychange"?(this.logger.info("16v6hv",t),this.performanceClient.incrementFields({visibilityChangeCount:1},t)):o.type==="online"?(this.logger.info("0zirfd",t),this.performanceClient.incrementFields({onlineStatusChangeCount:1},t)):o.type==="offline"&&(this.logger.info("1xk9ef",t),this.performanceClient.incrementFields({onlineStatusChangeCount:1},t)))}async initialize(t){let o=this.getRequestCorrelationId(t);if(this.logger.trace("1f7joy",o),this.initialized){this.logger.info("061m5x",o);return}if(!this.isBrowserEnvironment){this.logger.info("19fvpi",o),this.initialized=!0,this.eventHandler.emitEvent(Ke.INITIALIZE_END,o);return}let n=this.config.system.allowPlatformBroker,i=this.performanceClient.startMeasurement(qce,o);if(this.eventHandler.emitEvent(Ke.INITIALIZE_START,o),this.logMultipleInstances(i,o),i.add({isMcp:this.config.auth.isMcp}),await G(this.browserStorage.initialize.bind(this.browserStorage),mle,this.logger,this.performanceClient,o)(o),n)try{this.platformAuthProvider=await vue(this.logger,this.performanceClient,o,this.config.system.nativeBrokerHandshakeTimeout)}catch(r){this.logger.verbose(r,o)}this.config.cache.cacheLocation===Ln.LocalStorage&&this.eventHandler.subscribeCrossTab(),!this.config.system.navigatePopups&&await this.preGeneratePkceCodes(o),this.initialized=!0,this.eventHandler.emitEvent(Ke.INITIALIZE_END,o),i.end({allowPlatformBroker:n,success:!0})}async handleRedirectPromise(t){if(this.logger.verbose("02l8bm",""),rU(this.initialized),this.isBrowserEnvironment){let o=t?.hash||"",n=this.redirectResponse.get(o);return typeof n>"u"?(n=this.handleRedirectPromiseInternal(t),this.redirectResponse.set(o,n),this.logger.verbose("1wn9kp","")):this.logger.verbose("0w0gm3",""),n}return this.logger.verbose("12xi63",""),null}async handleRedirectPromiseInternal(t){if(!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("0le6uv",""),null;if(this.browserStorage.getInteractionInProgress()?.type===ba.SIGNOUT)return this.logger.verbose("1ywcv2",""),this.browserStorage.setInteractionInProgress(!1),Promise.resolve(null);let n=this.getAllAccounts(),i=this.browserStorage.getCachedNativeRequest(),r=i&&this.platformAuthProvider&&!t?.hash,s,a;try{if(r&&this.platformAuthProvider){let l=i?.correlationId||"";this.eventHandler.emitEvent(Ke.HANDLE_REDIRECT_START,l,Qe.Redirect),s=this.performanceClient.startMeasurement(Qk,l),this.logger.trace("12v7is",l);let c=new od(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.handleRedirectPromise,this.performanceClient,this.platformAuthProvider,i.accountId,this.nativeInternalStorage,i.correlationId);a=G(c.handleRedirectPromise.bind(c),Tle,this.logger,this.performanceClient,s.event.correlationId)(this.performanceClient,s.event.correlationId)}else{let[l,c]=this.browserStorage.getCachedRequest(""),u=l.correlationId;this.eventHandler.emitEvent(Ke.HANDLE_REDIRECT_START,u,Qe.Redirect),s=this.performanceClient.startMeasurement(Qk,u),this.logger.trace("0znzs5",u);let p=this.createRedirectClient(u);a=G(p.handleRedirectPromise.bind(p),xle,this.logger,this.performanceClient,s.event.correlationId)(l,c,s,t)}}catch(l){throw this.browserStorage.resetRequestCache(""),l}return a.then(l=>(l?(this.browserStorage.resetRequestCache(l.correlationId),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_SUCCESS,l.correlationId,Qe.Redirect,l),this.logger.verbose("0ui8f5",l.correlationId),n.length{this.browserStorage.resetRequestCache(s.event.correlationId);let c=l;throw this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,s.event.correlationId,Qe.Redirect,null,c),this.eventHandler.emitEvent(Ke.HANDLE_REDIRECT_END,s.event.correlationId,Qe.Redirect),s.end({success:!1},c),l})}async acquireTokenRedirect(t){let o=this.getRequestCorrelationId(t);this.logger.verbose("0os66p",o);let n=this.performanceClient.startMeasurement(Nce,o);n.add({scenarioId:t.scenarioId});let i=this.config.auth.onRedirectNavigate;this.config.auth.onRedirectNavigate=r=>{let s=typeof i=="function"?i(r):void 0;return n.add({navigateCallbackResult:s!==!1}),n.event=n.end({success:!0},void 0,t.account)||n.event,s};try{sU(this.initialized,this.config),Dx(this.config.auth.isMcp,t),this.browserStorage.setInteractionInProgress(!0,ba.SIGNIN),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,o,Qe.Redirect,t);let r;return this.platformAuthProvider&&this.canUsePlatformBroker(t)?r=new od(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.acquireTokenRedirect,this.performanceClient,this.platformAuthProvider,this.getNativeAccountId(t),this.nativeInternalStorage,o).acquireTokenRedirect(t,n).catch(a=>{if(a instanceof Es&&td(a))return this.platformAuthProvider=void 0,this.createRedirectClient(o).acquireToken(t);if(a instanceof Co)return this.logger.verbose("1ipyz4",o),this.createRedirectClient(o).acquireToken(t);throw a}):r=this.createRedirectClient(o).acquireToken(t),await r}catch(r){throw this.browserStorage.resetRequestCache(o),n.event.status===2?this.performanceClient.startMeasurement(Qk,o).end({success:!1},r,t.account):n.end({success:!1},r,t.account),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,Qe.Redirect,null,r),r}}acquireTokenPopup(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(zce,o);n.add({scenarioId:t.scenarioId});try{this.logger.verbose("0ch87b",o),cI(this.initialized,n,this.config,t),this.browserStorage.setInteractionInProgress(!0,ba.SIGNIN,t.overrideInteractionInProgress,o)}catch(a){return Promise.reject(a)}let i=this.getAllAccounts();this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,o,Qe.Popup,t);let r,s=this.getPreGeneratedPkceCodes(o);return this.canUsePlatformBroker(t)?r=this.acquireTokenNative({...t,correlationId:o},St.acquireTokenPopup).then(a=>(n.end({success:!0,isNativeBroker:!0},void 0,a.account),a)).catch(a=>{if(a instanceof Es&&td(a))return this.platformAuthProvider=void 0,this.createPopupClient(o).acquireToken(t,s);if(a instanceof Co)return this.logger.verbose("0yy5fw",o),this.createPopupClient(o).acquireToken(t,s);throw a}):r=this.createPopupClient(o).acquireToken(t,s),r.then(a=>{let l=i.length(this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,Qe.Popup,null,a),n.end({success:!1},a,t.account),Promise.reject(a))).finally(async()=>{this.browserStorage.setInteractionInProgress(!1),this.config.system.navigatePopups||await this.preGeneratePkceCodes(o)})}trackStateChangeWithMeasurement(t){let o=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;o&&(t.type==="visibilitychange"?(this.logger.info("0yzimq",o.event.correlationId),o.increment({visibilityChangeCount:1})):t.type==="online"?(this.logger.info("1caf53",o.event.correlationId),o.increment({onlineStatusChangeCount:1})):t.type==="offline"&&(this.logger.info("0fdyk7",o.event.correlationId),o.increment({onlineStatusChangeCount:1})))}addStateChangeListeners(t){document.addEventListener("visibilitychange",t),window.addEventListener("online",t),window.addEventListener("offline",t)}removeStateChangeListeners(t){document.removeEventListener("visibilitychange",t),window.removeEventListener("online",t),window.removeEventListener("offline",t)}async ssoSilent(t){let o=this.getRequestCorrelationId(t),n={...t,prompt:t.prompt,correlationId:o};this.ssoSilentMeasurement=this.performanceClient.startMeasurement(Fce,o),this.ssoSilentMeasurement?.add({scenarioId:t.scenarioId}),cI(this.initialized,this.ssoSilentMeasurement,this.config,n),this.ssoSilentMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement);let i=this.getAllAccounts();this.logger.verbose("0w1b45",o),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,o,Qe.Silent,n);let r;return this.canUsePlatformBroker(n)?r=this.acquireTokenNative(n,St.ssoSilent).catch(s=>{if(s instanceof Es&&td(s))return this.platformAuthProvider=void 0,this.createSilentIframeClient(n.correlationId).acquireToken(n);throw s}):r=this.createSilentIframeClient(n.correlationId).acquireToken(n),r.then(s=>{let a=i.length{throw this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,Qe.Silent,null,s),this.ssoSilentMeasurement?.end({success:!1},s,t.account),s}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenByCode(t){let o=this.getRequestCorrelationId(t);this.logger.trace("0ch6ga",o);let n=this.performanceClient.startMeasurement($ce,o);cI(this.initialized,n,this.config,t),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,o,Qe.Silent,t),n.add({scenarioId:t.scenarioId});try{if(t.code&&t.nativeAccountId)throw de(sce);if(t.code){let i=t.code,r=this.hybridAuthCodeResponses.get(i);return r?(this.logger.verbose("0qgp28",o),n.discard()):(this.logger.verbose("06eh73",o),r=this.acquireTokenByCodeAsync({...t,correlationId:o}).then(s=>(this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_SUCCESS,o,Qe.Silent,s),this.hybridAuthCodeResponses.delete(i),n.end({success:!0,isNativeBroker:s.fromPlatformBroker,accessTokenSize:s.accessToken.length,idTokenSize:s.idToken.length},void 0,s.account),s)).catch(s=>{throw this.hybridAuthCodeResponses.delete(i),this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,Qe.Silent,null,s),n.end({success:!1},s),s}),this.hybridAuthCodeResponses.set(i,r)),await r}else if(t.nativeAccountId)if(this.canUsePlatformBroker(t,t.nativeAccountId)){let i=await this.acquireTokenNative({...t,correlationId:o},St.acquireTokenByCode,t.nativeAccountId).catch(r=>{throw r instanceof Es&&td(r)&&(this.platformAuthProvider=void 0),r});return n.end({success:!0},void 0,i.account),i}else throw de(ace);else throw de(rce)}catch(i){throw this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,o,Qe.Silent,null,i),n.end({success:!1},i),i}}async acquireTokenByCodeAsync(t){let o=this.getRequestCorrelationId(t);return this.logger.trace("10d9hy",o),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(yle,o),this.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement),await this.createSilentAuthCodeClient(o).acquireToken(t).then(r=>(this.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:r.fromCache,isNativeBroker:r.fromPlatformBroker}),r)).catch(r=>{throw this.acquireTokenByCodeAsyncMeasurement?.end({success:!1},r),r}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenFromCache(t,o){switch(o){case Wn.Default:case Wn.AccessToken:case Wn.AccessTokenAndRefreshToken:let n=this.createSilentCacheClient(t.correlationId);return G(n.acquireToken.bind(n),ale,this.logger,this.performanceClient,t.correlationId)(t);default:throw Z(fn.tokenRefreshRequired)}}async acquireTokenByRefreshToken(t,o){switch(o){case Wn.Default:case Wn.AccessTokenAndRefreshToken:case Wn.RefreshToken:case Wn.RefreshTokenAndNetwork:let n=this.createSilentRefreshClient(t.correlationId);return G(n.acquireToken.bind(n),ule,this.logger,this.performanceClient,t.correlationId)(t);default:throw Z(fn.tokenRefreshRequired)}}async acquireTokenBySilentIframe(t){let o=this.createSilentIframeClient(t.correlationId);return G(o.acquireToken.bind(o),lle,this.logger,this.performanceClient,t.correlationId)(t)}async logoutRedirect(t){let o=this.getRequestCorrelationId(t);return sU(this.initialized,this.config),this.browserStorage.setInteractionInProgress(!0,ba.SIGNOUT),this.createRedirectClient(o).logout(t)}logoutPopup(t){try{let o=this.getRequestCorrelationId(t);return Hk(this.initialized),this.browserStorage.setInteractionInProgress(!0,ba.SIGNOUT),this.createPopupClient(o).logout(t).finally(()=>{this.browserStorage.setInteractionInProgress(!1)})}catch(o){return Promise.reject(o)}}async clearCache(t){if(!this.isBrowserEnvironment)return;let o=this.getRequestCorrelationId(t);return this.createSilentCacheClient(o).logout(t)}getAllAccounts(t){return Kce(this.logger,this.browserStorage,this.isBrowserEnvironment,this.getRequestCorrelationId(),t)}getAccount(t){return Jce(t,this.logger,this.browserStorage,this.getRequestCorrelationId())}setActiveAccount(t){Zce(t,this.browserStorage,this.getRequestCorrelationId())}getActiveAccount(){return Xce(this.browserStorage,this.getRequestCorrelationId())}async hydrateCache(t,o){this.logger.verbose("16jycr",t.correlationId);let n=Ss.createAccountEntityFromAccountInfo(t.account,t.cloudGraphHostName,t.msGraphHost);return await this.browserStorage.setAccount(n,t.correlationId,di.isKmsi(t.idTokenClaims),St.hydrateCache),t.fromPlatformBroker?(this.logger.verbose("1fxyu8",t.correlationId),this.nativeInternalStorage.hydrateCache(t,o)):this.browserStorage.hydrateCache(t,o)}async acquireTokenNative(t,o,n,i){let r=this.getRequestCorrelationId(t);if(this.logger.trace("0b9y3p",r),!this.platformAuthProvider)throw de(Nk);return new od(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,o,this.performanceClient,this.platformAuthProvider,n||this.getNativeAccountId(t),this.nativeInternalStorage,r).acquireToken(t,i)}canUsePlatformBroker(t,o){let n=this.getRequestCorrelationId(t);if(this.logger.trace("1n9lbl",n),!this.platformAuthProvider)return this.logger.trace("0vnu11",n),!1;if(!Pc(this.config,this.logger,n,this.platformAuthProvider,t.authenticationScheme))return this.logger.trace("1m4bzf",n),!1;if(t.prompt)switch(t.prompt){case Pe.PromptValue.NONE:case Pe.PromptValue.CONSENT:case Pe.PromptValue.LOGIN:this.logger.trace("0vdv8e",n);break;default:return this.logger.trace("0pdzw6",n),!1}return!o&&!this.getNativeAccountId(t)?(this.logger.trace("16lbtk",n),!1):!0}getNativeAccountId(t){let o=t.account||this.getAccount({loginHint:t.loginHint,sid:t.sid})||this.getActiveAccount();return o&&o.nativeAccountId||""}createPopupClient(t){return new nI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createRedirectClient(t){return new iI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentIframeClient(t){return new rI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.ssoSilent,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentCacheClient(t){return new jh(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentRefreshClient(t){return new sI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentAuthCodeClient(t){return new lI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.acquireTokenByCode,this.performanceClient,t,this.platformAuthProvider)}addEventCallback(t,o){return this.eventHandler.addEventCallback(t,o)}removeEventCallback(t){this.eventHandler.removeEventCallback(t)}addPerformanceCallback(t){return iU(),this.performanceClient.addPerformanceCallback(t)}removePerformanceCallback(t){return this.performanceClient.removePerformanceCallback(t)}getLogger(){return this.logger}setLogger(t){this.logger=t}initializeWrapperLibrary(t,o){this.browserStorage.setWrapperMetadata(t,o)}setNavigationClient(t){this.navigationClient=t}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}isBrowserEnv(){return this.isBrowserEnvironment}getRequestCorrelationId(t){return t?.correlationId?t.correlationId:this.isBrowserEnvironment?Dr():""}async loginRedirect(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0lz9hf",o),this.acquireTokenRedirect({correlationId:o,...t||Hq})}loginPopup(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0qw7v5",o),this.acquireTokenPopup({correlationId:o,...t||Hq})}async acquireTokenSilent(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(Dce,o);n.add({cacheLookupPolicy:t.cacheLookupPolicy,scenarioId:t.scenarioId}),cI(this.initialized,n,this.config,t),this.logger.verbose("0x1c4s",o);let i=t.account||this.getActiveAccount();if(!i)throw de(Xle);return this.acquireTokenSilentDeduped(t,i,o).then(r=>(n.end({success:!0,fromCache:r.fromCache,isNativeBroker:r.fromPlatformBroker,accessTokenSize:r.accessToken.length,idTokenSize:r.idToken.length},void 0,r.account),{...r,state:t.state,correlationId:o})).catch(r=>{throw r instanceof ot&&r.setCorrelationId(o),n.end({success:!1},r,i),r})}async acquireTokenSilentDeduped(t,o,n){let i=Tc(this.config.auth.clientId,{...t,authority:t.authority||this.config.auth.authority,correlationId:n},o.homeAccountId),r=JSON.stringify(i),s=this.activeSilentTokenRequests.get(r);if(typeof s>"u"){this.logger.verbose("0fcjbk",n),this.performanceClient.addFields({deduped:!1},n);let a=G(this.acquireTokenSilentAsync.bind(this),ile,this.logger,this.performanceClient,n)({...t,correlationId:n},o);return this.activeSilentTokenRequests.set(r,a),a.finally(()=>{this.activeSilentTokenRequests.delete(r)})}else return this.logger.verbose("1yq7nb",n),this.performanceClient.addFields({deduped:!0},n),s}async acquireTokenSilentAsync(t,o){let n=a=>this.trackStateChange(t.correlationId,a);this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_START,t.correlationId,Qe.Silent,t),t.correlationId&&this.performanceClient.incrementFields({visibilityChangeCount:0,onlineStatusChangeCount:0},t.correlationId),this.addStateChangeListeners(n);let i=await G(eue,ple,this.logger,this.performanceClient,t.correlationId)(t,o,this.config,this.performanceClient,this.logger),r=t.cacheLookupPolicy||Wn.Default;return this.acquireTokenSilentNoIframe(i,r).catch(async a=>{if(EMe(a,r)){let c=`${a.errorCode}${a.subError?`|${a.subError}`:""}`;if(this.performanceClient.addFields({silentRefreshReason:c},t.correlationId),this.activeIframeRequest)if(r!==Wn.Skip){let[u,p]=this.activeIframeRequest;this.logger.verbose("1w8fso",i.correlationId);let m=this.performanceClient.startMeasurement(cle,i.correlationId);m.add({awaitIframeCorrelationId:p});let g=await u;if(m.end({success:g}),g)return this.logger.verbose("0ywzzi",i.correlationId),this.acquireTokenSilentNoIframe(i,r);throw this.logger.info("17y14q",i.correlationId),a}else return this.logger.warning("1bd4p8",i.correlationId),G(this.acquireTokenBySilentIframe.bind(this),$q,this.logger,this.performanceClient,i.correlationId)(i);else{let u;return this.activeIframeRequest=[new Promise(p=>{u=p}),i.correlationId],this.logger.verbose("0rh08z",i.correlationId),G(this.acquireTokenBySilentIframe.bind(this),$q,this.logger,this.performanceClient,i.correlationId)(i).then(p=>(u(!0),p)).catch(p=>{throw u(!1),p}).finally(()=>{this.activeIframeRequest=void 0})}}else throw a}).then(a=>(this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_SUCCESS,t.correlationId,Qe.Silent,a),t.correlationId&&this.performanceClient.addFields({fromCache:a.fromCache,isNativeBroker:a.fromPlatformBroker},t.correlationId),a)).catch(a=>{throw this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_FAILURE,t.correlationId,Qe.Silent,null,a),a}).finally(()=>{this.removeStateChangeListeners(n)})}async acquireTokenSilentNoIframe(t,o){return Pc(this.config,this.logger,t.correlationId,this.platformAuthProvider,t.authenticationScheme)&&t.account.nativeAccountId?(this.logger.verbose("0sczo4",t.correlationId),this.acquireTokenNative(t,St.acquireTokenSilent_silentFlow,t.account.nativeAccountId,o).catch(async n=>{throw n instanceof Es&&td(n)?(this.logger.verbose("07rkmb",t.correlationId),this.platformAuthProvider=void 0,Z(fn.tokenRefreshRequired)):n})):(this.logger.verbose("0ox81t",t.correlationId),o===Wn.AccessToken&&this.logger.verbose("0fvwxe",t.correlationId),G(this.acquireTokenFromCache.bind(this),ole,this.logger,this.performanceClient,t.correlationId)(t,o).catch(n=>{if(o===Wn.AccessToken)throw n;return this.eventHandler.emitEvent(Ke.ACQUIRE_TOKEN_NETWORK_START,t.correlationId,Qe.Silent,t),G(this.acquireTokenByRefreshToken.bind(this),nle,this.logger,this.performanceClient,t.correlationId)(t,o)}))}async preGeneratePkceCodes(t){return this.logger.verbose("1x6uj6",t),this.pkceCode=await G(_a,ha,this.logger,this.performanceClient,t)(this.performanceClient,this.logger,t),Promise.resolve()}getPreGeneratedPkceCodes(t){let o=this.pkceCode?{...this.pkceCode}:void 0;return this.pkceCode=void 0,o?this.logger.verbose("12js1o",t):this.logger.verbose("1oe9ci",t),this.performanceClient.addFields({usePreGeneratedPkce:!!o},t),o}logMultipleInstances(t,o){let n=this.config.auth.clientId;if(!window)return;window.msal=window.msal||{},window.msal.clientIds=window.msal.clientIds||[],window.msal.clientIds.length>0&&this.logger.verbose("1qtz3l",o),window.msal.clientIds.push(n),Sue(n,t,this.logger,o)}};function EMe(e,t){let o=!(e instanceof Co&&e.subError!==cl.badToken),n=e.errorCode===yn.INVALID_GRANT_ERROR||e.errorCode===fn.tokenRefreshRequired,i=o&&n||e.errorCode===cl.noTokensFound||e.errorCode===cl.refreshTokenExpired,r=qle.includes(t);return i&&r}var dI=class e{static loggerCallback(t,o){switch(t){case Dt.Error:console.error(o);return;case Dt.Info:console.info(o);return;case Dt.Verbose:console.debug(o);return;case Dt.Warning:console.warn(o);return;default:console.log(o);return}}constructor(t){this.browserEnvironment=typeof window<"u",this.config=_ue(t,this.browserEnvironment);let o;try{o=window[Ln.SessionStorage]}catch{}let n=o?.getItem(Bce),i=o?.getItem(Vce)?.toLowerCase(),r=i==="true"?!0:i==="false"?!1:void 0,s={...this.config.system.loggerOptions},a=n&&Object.keys(Dt).includes(n)?Dt[n]:void 0;a&&(s.loggerCallback=e.loggerCallback,s.logLevel=a),r!==void 0&&(s.piiLoggingEnabled=r),this.logger=new bn(s,jce,zr),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}};var Zh=class e extends dI{getModuleName(){return e.MODULE_NAME}getId(){return e.ID}async initialize(t){return this.available=typeof window<"u",this.available}};Zh.MODULE_NAME="";Zh.ID="StandardOperatingContext";var Bx=class{constructor(t,o){this.controller=o||new uI(new Zh(t))}async initialize(t){return this.controller.initialize(t)}async acquireTokenPopup(t){return this.controller.acquireTokenPopup(t)}acquireTokenRedirect(t){return this.controller.acquireTokenRedirect(t)}acquireTokenSilent(t){return this.controller.acquireTokenSilent(t)}acquireTokenByCode(t){return this.controller.acquireTokenByCode(t)}addEventCallback(t,o){return this.controller.addEventCallback(t,o)}removeEventCallback(t){return this.controller.removeEventCallback(t)}addPerformanceCallback(t){return this.controller.addPerformanceCallback(t)}removePerformanceCallback(t){return this.controller.removePerformanceCallback(t)}getAccount(t){return this.controller.getAccount(t)}getAllAccounts(t){return this.controller.getAllAccounts(t)}handleRedirectPromise(t){return this.controller.handleRedirectPromise(t)}loginPopup(t){return this.controller.loginPopup(t)}loginRedirect(t){return this.controller.loginRedirect(t)}logoutRedirect(t){return this.controller.logoutRedirect(t)}logoutPopup(t){return this.controller.logoutPopup(t)}ssoSilent(t){return this.controller.ssoSilent(t)}getLogger(){return this.controller.getLogger()}setLogger(t){this.controller.setLogger(t)}setActiveAccount(t){this.controller.setActiveAccount(t)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(t,o){return this.controller.initializeWrapperLibrary(t,o)}setNavigationClient(t){this.controller.setNavigationClient(t)}getConfiguration(){return this.controller.getConfiguration()}async hydrateCache(t,o){return this.controller.hydrateCache(t,o)}clearCache(t){return this.controller.clearCache(t)}};var iut=Pe.AuthenticationScheme,rut=Pe.ResponseMode,sut=Pe.PromptValue,aut=Pe.JsonWebTokenTypes,lut=Pe.OIDC_DEFAULT_SCOPES;async function wue(e){let t={method:"POST",body:JSON.stringify(e)},o=await M(K(N.privacy.cookieConsentDeleteService,t));if(!o.ok)throw new Error(`Cookie Deletion Error ${o.status}: ${o.statusText}`)}var Cue;(function(e){Cue=e()})(function(){let e=function(){let o=0,n={};for(;o"u")return;if(arguments.length>1){if(s=e({path:"/"},n.defaults,s),typeof s.expires=="number"){let m=new Date;m.setMilliseconds(m.getMilliseconds()+s.expires*864e5),s.expires=m}s.expires=s.expires?s.expires.toUTCString():"";try{a=JSON.stringify(r),/^[\{\[]/.test(a)&&(r=a)}catch{}o.write?r=o.write(r,i):r=encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),i=encodeURIComponent(String(i)),i=i.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),i=i.replace(/[\(\)]/g,escape);let p="";for(let m in s)s[m]&&(p+="; "+m,s[m]!==!0&&(p+="="+s[m]));return document.cookie=i+"="+r+p}i||(a={});let l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,u=0;for(;u{let i=performance.now(),r=setInterval(()=>{let s=rr.get(e);s?(clearInterval(r),n(s)):performance.now()-i>=t&&(clearInterval(r),n(null))},200)})}var Aue=!!window.matchMedia,Xh=window.matchMedia("screen and (min-width: 768px), screen and (min-height: 1024px)"),ki=window.matchMedia("screen and (min-width: 1088px)"),Rc=window.matchMedia("screen and (min-width: 768px)"),kue=window.matchMedia("screen and (max-width: 768px)"),Iue=window.matchMedia("print"),Lue=window.matchMedia("(prefers-color-scheme: dark)"),Pue=window.matchMedia("(prefers-contrast: more)");var nd="light",pI={light:{documentClass:"theme-light",name:"light",text:qJ,icon:"docon-sun"},dark:{documentClass:"theme-dark",name:"dark",text:OY,icon:"docon-clear-night"},"high-contrast":{documentClass:"theme-high-contrast",name:"high-contrast",text:uJ,icon:"docon-clear-night"}},AMe=Object.keys(pI),Rue=AMe.map(e=>pI[e].documentClass),gl=class{constructor(t,o){this.currentTheme=t;this.previousTheme=o}};function kMe(e,t,o){e.publish(new gl(t,o)),window.dispatchEvent(new CustomEvent("theme-changed",{detail:{currentTheme:t,previousTheme:o}}))}function IMe(e){let t=document.documentElement.classList;for(let o of Rue)t.remove(o);t.add(pI[e].documentClass)}function LMe(e){return nd=e}function Mue(e){let t=Array.from(document.querySelectorAll(".theme-control[data-theme-to]"));for(let o of t)o.dataset.themeTo===e?(o.classList.add("is-selected"),o.setAttribute("aria-pressed","true")):(o.classList.remove("is-selected"),o.setAttribute("aria-pressed","false"))}function PMe(e){se.setItem("theme",e)}function RMe(e=!1,t=!1){let o=se.getItem("theme");return o&&/^light|dark|high-contrast$/.test(o)?o:t?"high-contrast":e?"dark":"light"}function Due(e){gU(dt,e)}function gU(e,t){let o=nd;LMe(t),IMe(t),o!==t&&kMe(e,t,o)}async function $ue(e){let t=id();gU(e,t),MMe(e),await Se,Mue(t),window.setTheme=Due}function id(e=Lue.matches){let t=te();if(t.theme==="light"||t.theme==="dark"||t.theme==="high-contrast")return t.theme;let o=t.checkPrefersContrast==="true"&&Pue.matches;return RMe(e,o)}function MMe(e){window.addEventListener("click",({target:t})=>{let o=t instanceof Element&&t.closest(".theme-control[data-theme-to]");if(!o)return;let n=o.dataset.themeTo;Mue(n),PMe(n),gU(e,n)})}var Vx,Nue=new Promise(e=>Vx=e),Tm,Sm=new Promise(e=>Tm=e),Fue,que=()=>Fue,zue=e=>{for(let t of Object.values(e))if(!t)return!1;return!0};async function Uue(){if(!w.cookieConsent)return;if(w.chromeless){Tm(!0),Vx();return}let e=()=>rr.get("MSCC")!==void 0,t=U.WcpConsent;if(t===void 0||typeof t.init!="function"){Tm(!1);return}await Se;let o=document.getElementById("cookie-consent-holder"),n=Array.from(document.querySelectorAll(".manage-cookies-holder"));if(!o||!n.length){console.log("No container for cookie banner");return}t.init(b.data.userLocale,o,function(i,r){if(i!==void 0){Tm(!1);return}if(Fue=r,!r.isConsentRequired){Tm(!0),Vx();return}let s=document.createElement("button");if(s.setAttribute("data-bi-name","manageCookies"),s.textContent=oZ,n.forEach(a=>{a.appendChild(s.cloneNode(!0)).addEventListener("click",()=>{r.manageConsent()}),a.hidden=!1}),o.hidden=!1,Lt(),zue(r.getConsent())){Tm(!0),Vx();return}Tm(!1)},async function(i){if(zue(i)){Vx(),Ya();return}if(await wue({domain:document.location.hostname,analytics:!i.Analytics,advertising:!i.Advertising,social:!i.SocialMedia}),e()){i.Analytics||(document.cookie="mbox=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=.microsoft.com"),U.location.href=U.location.pathname+U.location.search+U.location.hash;return}Ya()},nd)}function Oue(e=location.hostname){return{"developer.microsoft.com":"DevCenter","dev.learn.microsoft.com ":"DocsDev","dev.docs.azure.cn":"DocsDev","review.learn.microsoft.com":"DocsReview","review.docs.azure.cn":"DocsReview","learn.microsoft.com":"Docs","docs.azure.cn":"DocsCN"}[e]||"OneDSTest"}function Hue(e=location.hostname){return{"developer.microsoft.com":"d1574ad452ea4a37a5dda6f9f1fb5ef2-b55b2da9-95eb-4cf9-a633-191aa7b0ee25-6798","docs.azure.cn":"54ae4d70fff842118ff98bccfdc28deb-7f4f32ec-ae5a-4562-881c-5c0188170faf-7594","learn.microsoft.com":"c6c27850c9c24cbfae921778d2465031-4c28c161-db47-426b-9d28-733d45d05dd9-7278","review.learn.microsoft.com":"d94fc739fadb4805bce966a4f24e2e21-a6b89116-ce98-4ffb-b1cf-d46e361ea690-7616","review.docs.azure.cn":"d94fc739fadb4805bce966a4f24e2e21-a6b89116-ce98-4ffb-b1cf-d46e361ea690-7616"}[e]??"8617064329544862a1d4dbcc1cdda9d3-079a9ef7-af43-443d-a28b-f60ba4efc9ff-7531"}var Bue="3PAdsOptOut";var fU=!1;function Vue(){let e=S.createElement("div");e.style.cssText="position:absolute;top:0;left:-2300px;background-color:#878787",e.textContent="hc",S.body.appendChild(e);let t=U.getComputedStyle(e).backgroundColor.toLowerCase();S.body.removeChild(e),t!=="#878787"&&t!=="rgb(135, 135, 135)"&&(S.documentElement.className+=" os-high-contrast-enabled theme-high-contrast",fU=!0)}var DMe={audience:"aud",author:"author",manager:"manager","ms.assetid":"asst","ms.author":"pgauth","ms.contentsource":"pgpubl","ms.custom":"custom","ms.date":"date",depot_name:"depotname","ms.devlang":"pgdevlng",gitcommit:"gitcommit",original_content_git_url:"giturl",updated_at:"publishtime","ms.lasthandoff":"lasthandoff","ms.locfileid":"locfileid","ms.prod":"product","ms.reviewer":"reviewer","ms.service":"pgsrvcs","ms.suite":"suite","ms.technology":"technology","ms.tgt_pltfrm":"pgtrgtplf","ms.topic":"pgtop","ms.workload":"workload","ms.search.region":"searchregion","ms.prod_service":"prod_service","ms.component":"component",experimental:"experimental",experiment_id:"experiment_id","ms.assigned_experiments":"assigned_experiments","ms.translationtype":"translationtype",document_version_independent_id:"document_version_independent_id",platform_id:"platform_id","ms.collection":"collection","ms.subservice":"subservice"};function mI(e){let t=document.querySelectorAll("meta");for(let o=0;ok.isAuthenticated&&(k.authenticationMode==="MSA"||k.tenantId===Ji),pageViewPageTags:gI,pageActionPageTags:gI,contentUpdatePageTags:gI,pageActionContentTags:gI,userConsentDetailsCallback:jue},advancedConfig:{propertyConfiguration:{gpcDataSharingOptIn:w.thirdPartyDataSharingConsentFlag?zMe():null}},shareAuthStatus:!0,isLoggedIn:!1};mI(o.coreData.pageTags),o.coreData.pageTags.pageTemplate=b.data.pageTemplate,e.init(o),NMe(e)}function gI(){return k.isAuthenticated?{"ext-app-user-id":`c:${k.userId}`}:{}}var rd=new Promise(e=>Gue=e);function zMe(){let e=qMe(),t=FMe(),o=!!navigator.globalPrivacyControl,n=rr.get(Bue)==="1";return!(e||t||o||n)}function NMe(e){var o,n;(o=e.sku.config).extensionConfig??(o.extensionConfig={});let t=e.sku.config.extensionConfig;t.SystemPropertiesCollector??(t.SystemPropertiesCollector={}),(n=t.SystemPropertiesCollector).callback??(n.callback={}),t.SystemPropertiesCollector.callback.userConsentDetails=jue}function jue(){return que()?.getConsent()||null}function FMe(){let e=window.self!==window.top,t=!!window.frameElement;return e&&!t}function qMe(e=window.location.hostname){return!e.endsWith(".microsoft.com")}var we={CLICKLEFT:"CL",CLICKRIGHT:"CR",CLICKMIDDLE:"CM",SCROLL:"S",ZOOM:"Z",RESIZE:"R",KEYBOARDENTER:"KE",KEYBOARDSPACE:"KS",GAMEPADA:"CGA",GAMEPADMENU:"CGM",OTHER:"O",AUTO:"A"},le={UNDEFINED:0,NAVIGATIONBACK:1,NAVIGATION:2,NAVIGATIONFORWARD:3,APPLY:4,REMOVE:5,SORT:6,EXPAND:7,REDUCE:8,CONTEXTMENU:9,TAB:10,COPY:11,EXPERIMENTATION:12,PRINT:13,SHOW:14,HIDE:15,MAXIMIZE:16,MINIMIZE:17,BACKBUTTON:18,STARTPROCESS:20,PROCESSCHECKPOINT:21,COMPLETEPROCESS:22,SCENARIOCANCEL:23,DOWNLOADCOMMIT:40,DOWNLOAD:41,SEARCHAUTOCOMPLETE:60,SEARCH:61,SEARCHINITIATE:62,TEXTBOXINPUT:63,PURCHASE:80,ADDTOCART:81,VIEWCART:82,ADDWISHLIST:83,FINDSTORE:84,CHECKOUT:85,REMOVEFROMCART:86,PURCHASECOMPLETE:87,VIEWCHECKOUTPAGE:88,VIEWCARTPAGE:89,VIEWPDP:90,UPDATEITEMQUANTITY:91,INTENTTOBUY:92,PUSHTOINSTALL:93,SIGNIN:100,SIGNOUT:101,SOCIALSHARE:120,SOCIALLIKE:121,SOCIALREPLY:122,CALL:123,EMAIL:124,COMMUNITY:125,SOCIALFOLLOW:126,VOTE:140,SURVEYINITIATE:141,SURVEYCOMPLETE:142,REPORTAPPLICATION:143,REPORTREVIEW:144,SURVEYCHECKPOINT:145,CONTACT:160,REGISTRATIONINITIATE:161,REGISTRATIONCOMPLETE:162,CANCELSUBSCRIPTION:163,RENEWSUBSCRIPTION:164,CHANGESUBSCRIPTION:165,REGISTRATIONCHECKPOINT:166,CHATINITIATE:180,CHATEND:181,TRIALSIGNUP:200,TRIALINITIATE:201,SIGNUP:210,FREESIGNUP:211,PARTNERREFERRAL:220,LEARNLOWFUNNEL:230,LEARNHIGHFUNNEL:231,SHOPPINGINTENT:232,VIDEOSTART:240,VIDEOPAUSE:241,VIDEOCONTINUE:242,VIDEOCHECKPOINT:243,VIDEOJUMP:244,VIDEOCOMPLETE:245,VIDEOBUFFERING:246,VIDEOERROR:247,VIDEOMUTE:248,VIDEOUNMUTE:249,VIDEOFULLSCREEN:250,VIDEOUNFULLSCREEN:251,VIDEOREPLAY:252,VIDEOPLAYERLOAD:253,VIDEOPLAYERCLICK:254,VIDEOVOLUMECONTROL:255,VIDEOAUDIOTRACKCONTROL:256,VIDEOCLOSEDCAPTIONCONTROL:257,VIDEOCLOSEDCAPTIONSTYLE:258,VIDEORESOLUTIONCONTROL:259,VIRTUALEVENTJOIN:260,VIRTUALEVENTEND:261,IMPRESSION:280,CLICK:281,RICHMEDIACOMPLETE:282,ADBUFFERING:283,ADERROR:284,ADSTART:285,ADCOMPLETE:286,ADSKIP:287,ADTIMEOUT:288,OTHER:300},Ao={id:"data-bi-id",name:"data-bi-name",type:"data-bi-type",scenario:"data-bi-scn",scenarioStep:"data-bi-scnstp",scenarioStepNumber:"data-bi-subnm",satisfaction:"data-bi-sat"},Gx={id:"id",name:"name",type:"type",scenario:"scn",scenarioStep:"scnstp",scenarioStepNumber:"subnm"},wm=e=>{let t=e.closest(`[${Ao.name}]`);return t?t.getAttribute(Ao.name):""},Yue=()=>{rd.then(e=>{e.sku.getAuthExtension().signOut()})},Wue=(e,t)=>{rd.then(o=>{let n=o.sku.getAuthExtension();if(!t){n.setAuthType(0);return}n.setAuthType(e==="MSA"?1:e==="AAD"?2:0)})},Kue=e=>{rd.then(t=>t.extendCoreData(e))},Jt=(e,t)=>{rd.then(o=>o.ct.capturePageAction(e,t))},xe=e=>{rd.then(t=>t.ct.captureContentPageAction(e))},Jue=e=>{rd.then(t=>t.ct.captureContentUpdate(e))},fI=e=>{rd.then(t=>t.ct.capturePageView(e||{}))};var hI,bI="undefined",xI="constructor",fl="prototype",TI="function",SI="_dynInstFuncs",_U="_isDynProxy",eb="_dynClass",UMe="_dynCls$",vU="_dynInstChk",Qx=vU,ode="_dfOpts",Zue="_unknown_",TU="__proto__",_I="_dyn"+TU,Xue="__dynProto$Gbl",hU="_dynInstProto",vI="useBaseInst",yU="setInstFuncs",EI=Object,jx=EI.getPrototypeOf,ede=EI.getOwnPropertyNames;function OMe(){var e;return typeof globalThis!==bI&&(e=globalThis),!e&&typeof self!==bI&&(e=self),!e&&typeof window!==bI&&(e=window),!e&&typeof global!==bI&&(e=global),e||{}}var tde=OMe(),xU=tde[Xue]||(tde[Xue]={o:(hI={},hI[yU]=!0,hI[vI]=!0,hI),n:1e3});function Mc(e,t){return e&&EI[fl].hasOwnProperty.call(e,t)}function yI(e){return e&&(e===EI[fl]||e===Array[fl])}function SU(e){return yI(e)||e===Function[fl]}function Cm(e){var t;if(e){if(jx)return jx(e);var o=e[TU]||e[fl]||(e[xI]?e[xI][fl]:null);t=e[_I]||o,Mc(e,_I)||(delete e[hU],t=e[_I]=e[hU]||e[_I],e[hU]=o)}return t}function wI(e,t){var o=[];if(ede)o=ede(e);else for(var n in e)typeof n=="string"&&Mc(e,n)&&o.push(n);if(o&&o.length>0)for(var i=0;i=0;o--)if(e[o]===t)return!0;return!1}function BMe(e,t,o,n){function i(l,c,u){var p=c[u];if(p[_U]&&n){var m=l[SI]||{};m[Qx]!==!1&&(p=(m[c[eb]]||{})[u]||p)}return function(){return p.apply(l,arguments)}}var r=tb();wI(o,function(l){r[l]=i(t,o,l)});for(var s=Cm(e),a=[];s&&!SU(s)&&!CU(a,s);)wI(s,function(l){!r[l]&&wU(s,l,!jx)&&(r[l]=i(t,s,l))}),a.push(s),s=Cm(s);return r}function VMe(e,t,o,n){var i=null;if(e&&Mc(o,eb)){var r=e[SI]||tb();if(i=(r[o[eb]]||tb())[t],i||CI("Missing ["+t+"] "+TI),!i[vU]&&r[Qx]!==!1){for(var s=!Mc(e,t),a=Cm(e),l=[];s&&a&&!SU(a)&&!CU(l,a);){var c=a[t];if(c){s=c===n;break}l.push(a),a=Cm(a)}try{s&&(e[t]=i),i[vU]=1}catch{r[Qx]=!1}}}return i}function GMe(e,t,o){var n=t[e];return n===o&&(n=Cm(t)[e]),typeof n!==TI&&CI("["+e+"] is not a "+TI),n}function QMe(e,t,o,n,i){function r(l,c){var u=function(){var p=VMe(this,c,l,u)||GMe(c,l,u);return p.apply(this,arguments)};return u[_U]=1,u}if(!yI(e)){var s=o[SI]=o[SI]||tb();if(!yI(s)){var a=s[t]=s[t]||tb();s[Qx]!==!1&&(s[Qx]=!!i),yI(a)||wI(o,function(l){wU(o,l,!1)&&o[l]!==n[l]&&(a[l]=o[l],delete o[l],(!Mc(e,l)||e[l]&&!e[l][_U])&&(e[l]=r(e,l)))})}}}function jMe(e,t){if(jx){for(var o=[],n=Cm(t);n&&!SU(n)&&!CU(o,n);){if(n===e)return!0;o.push(n),n=Cm(n)}return!1}return!0}function bU(e,t){return Mc(e,fl)?e.name||t||Zue:((e||{})[xI]||{}).name||t||Zue}function ct(e,t,o,n){Mc(e,fl)||CI("theClass is an invalid class definition.");var i=e[fl];jMe(i,t)||CI("["+bU(e)+"] not in hierarchy of ["+bU(t)+"]");var r=null;Mc(i,eb)?r=i[eb]:(r=UMe+bU(e,"_")+"$"+xU.n,xU.n++,i[eb]=r);var s=ct[ode],a=!!s[vI];a&&n&&n[vI]!==void 0&&(a=!!n[vI]);var l=HMe(t),c=BMe(i,t,l,a);o(t,c);var u=!!jx&&!!s[yU];u&&n&&(u=!!n[yU]),QMe(i,r,t,l,u!==!1)}ct[ode]=xU.o;var As="function",sr="object",ar="undefined",ko="prototype",Yx="hasOwnProperty";var Nr=Object,ob=Nr[ko],nb=Nr.assign,AI=Nr.create,ib=Nr.defineProperty,hl=ob[Yx];var nde=null;function ks(e){e===void 0&&(e=!0);var t=e===!1?null:nde;return t||(typeof globalThis!==ar&&(t=globalThis),!t&&typeof self!==ar&&(t=self),!t&&typeof window!==ar&&(t=window),!t&&typeof global!==ar&&(t=global),nde=t),t}function rb(e){throw new TypeError(e)}function sb(e){var t=AI;if(t)return t(e);if(e==null)return{};var o=typeof e;o!==sr&&o!==As&&rb("Object prototype may only be an Object:"+e);function n(){}return n[ko]=e,new n}var rdt=(ks()||{}).Symbol,sdt=(ks()||{}).Reflect;var WMe=function(e){for(var t,o=1,n=arguments.length;o=n&&!(o=e===t)){for(var r=i-1,s=n-1;s>=0;s--){if(e[r]!=t[s])return!1;r--}o=!0}return o}function Tn(e,t){return e&&t?e[ld](t)!==-1:!1}var wt=oDe||lDe;function lDe(e){return!!(e&&fde[xn](e)==="[object Array]")}function zm(e){return!!(e&&fde[xn](e)==="[object Error]")}function Oe(e){return typeof e=="string"}function nT(e){return typeof e=="number"}function bde(e){return typeof e=="boolean"}function ude(e){var t=!1;if(e&&typeof e=="object"){var o=qI?qI(e):NU(e);o?(o[FI]&&hl[xn](o,FI)&&(o=o[FI]),t=typeof o===As&&hde[xn](o)===nDe):t=!0}return t}function Or(e){if(e)return tDe?e[pde]():cDe(e)}function cDe(e){if(e&&e.getUTCFullYear){var t=function(o){var n=String(o);return n[Xe]===1&&(n="0"+n),n};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}function Re(e,t,o){var n=e[Xe];try{for(var i=0;i=0?i:n-Math.abs(i),0);r=3)n=arguments[2];else{for(;r0&&bde(a)&&(c=a,a=s[u]||{},u++),gi(a)||(a={});u=g&&(l[T](v[sd]),n[I]=!0)}else i>=g&&l[T](v[sd]);c(g,v)}},l[oT]=function(g){Cde("warn",g),m("warning",g)},l[NI]=function(g){Cde("error",g),m("error",g)},l.resetInternalMessageCount=function(){o=0,n={}},l[IU]=c;function c(g,f){if(!p()){var _=!0,h=EDe+f[lb];if(n[h]?_=!1:n[h]=!0,_&&(g<=r&&(l.queue[yt](f),o++,m(g===1?"error":"warn",f)),o===s)){var x="Internal events throttle limit per PageView reached for this app.",v=new Nc(23,x,!1);l.queue[yt](v),g===1?l[NI](x):l[oT](x)}}}function u(g){i=Hr(g.loggingLevelConsole,0),r=Hr(g.loggingLevelTelemetry,1),s=Hr(g.maxMessageLimit,25),a=Hr(g.enableDebug,Hr(g[kU],!1))}function p(){return o>=s}function m(g,f){var _=oO(t||{});_&&_[Is]&&_[Is](g,f)}})}return e.__ieDyn=1,e}();function nO(e){return e||new qm}function _e(e,t,o,n,i,r){r===void 0&&(r=!1),nO(e).throwInternal(t,o,n,i,r)}function Ms(e,t){nO(e)[oT](t)}function iO(e,t,o){nO(e)[IU](t,o)}var Tb="ctx",sO="ParentContextKey",iT="ChildrenContextKey",ADe=null,rT=function(){function e(t,o,n){var i=this,r=!1;if(i.start=$n(),i[mi]=t,i[Ta]=n,i[Zx]=function(){return!1},je(o)){var s;r=Ps(i,"payload",function(){return!s&&je(o)&&(s=o(),o=null),s})}i[Mm]=function(a){return a?a===e[sO]||a===e[iT]?i[a]:(i[Tb]||{})[a]:null},i[wa]=function(a,l){if(a)if(a===e[sO])i[a]||(i[Zx]=function(){return!0}),i[a]=l;else if(a===e[iT])i[a]=l;else{var c=i[Tb]=i[Tb]||{};c[a]=l}},i[$I]=function(){var a=0,l=i[Mm](e[iT]);if(wt(l))for(var c=0;c>>=0),sT=123456789+e&Um,aT=987654321-e&Um,Ade=!0}function IDe(){try{var e=$n()&2147483647;kDe((Math.random()*Ede^e)+e)}catch{}}function Om(e){var t=0,o=ZU()||XU();return o&&o.getRandomValues&&(t=o.getRandomValues(new Uint32Array(1))[0]&Um),t===0&&yb()&&(Ade||IDe(),t=cO()&Um),t===0&&(t=Math.floor(Ede*Math.random()|0)),e||(t>>>=0),t}function cO(e){aT=36969*(aT&65535)+(aT>>16)&Um,sT=18e3*(sT&65535)+(sT>>16)&Um;var t=(aT<<16)+(sT&65535)>>>0&Um|0;return e||(t>>>=0),t}function Fc(e){e===void 0&&(e=22);for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=Om()>>>0,n=0,i=ft;i[Xe]>>=6,n===5&&(o=(Om()<<2&4294967295|o&3)>>>0,n=0);return i}var kde=ib,Ide="2.8.13",LDe="."+Fc(6),PDe=0;function RDe(e,t,o){if(kde)try{return kde(e,t,{value:o,enumerable:!1,configurable:!0}),!0}catch{}return!1}function Lde(e){return e[RI]===1||e[RI]===9||!+e[RI]}function MDe(e,t){var o=t[e.id];if(!o){o={};try{Lde(t)&&(RDe(t,e.id,o)||(t[e.id]=o))}catch{}}return o}function Kn(e,t){return t===void 0&&(t=!1),$m(e+PDe+++(t?"."+Ide:ft)+LDe)}function WI(e){var t={id:Kn("_aiData-"+(e||ft)+"."+Ide),accept:function(o){return Lde(o)},get:function(o,n,i,r){var s=o[t.id];return s?s[$m(n)]:(r&&(s=MDe(t,o),s[$m(n)]=i),i)},kill:function(o,n){if(o&&o[n])try{delete o[n]}catch{}}};return t}var Pde="toGMTString",Rde="toUTCString",gO="cookie",uO="expires",pO="enabled",Mde="isCookieUseDisabled",Dde="disableCookiesUsage",fd="_ckMgr",KI=null,dO=null,$de=null,lT=jo(),zde={},ZI={};function DDe(e,t){var o=Hm[fd]||ZI[fd];return o||(o=Hm[fd]=Hm(e,t),ZI[fd]=o),o}function JI(e){return e?e.isEnabled():!0}function $De(e){var t=e[PI]=e[PI]||{};if(Ft(t,"domain",e.cookieDomain,FU,ce),Ft(t,"path",e.cookiePath||"/",null,ce),ce(t[pO])){var o=void 0;ho(e[Mde])||(o=!e[Mde]),ho(e[Dde])||(o=!e[Dde]),t[pO]=o}return t}function Ude(e,t){return t&&e&&wt(e.ignoreCookies)?e.ignoreCookies[ld](t)!==-1:!1}function zDe(e,t){return t&&e&&wt(e.blockedCookies)&&e.blockedCookies[ld](t)!==-1?!0:Ude(e,t)}function Bm(e,t){var o;if(e)o=e.getCookieMgr();else if(t){var n=t[PI];n[fd]?o=n[fd]:o=Hm(t)}return o||(o=DDe(t,(e||{})[Mn])),o}function Hm(e,t){var o,n=$De(e||ZI),i=n.path||"/",r=n.domain,s=n[pO]!==!1,a=(o={isEnabled:function(){var l=s&&mO(t),c=ZI[fd];return l&&c&&a!==c&&(l=JI(c)),l}},o[Jx]=function(l){s=l!==!1},o.set=function(l,c,u,p,m){var g=!1;if(JI(a)&&!zDe(n,l)){var f={},_=Qo(c||ft),h=_[ld](";");if(h!==-1&&(_=Qo(c[ub](0,h)),f=Ode(c[ub](h+1))),Ft(f,"domain",p||r,hb,ho),!ce(u)){var x=yb();if(ho(f[uO])){var v=$n(),T=v+u*1e3;if(T>0){var I=new Date;I.setTime(T),Ft(f,uO,Nde(I,x?Pde:Rde)||Nde(I,x?Pde:Rde)||ft,hb)}}x||Ft(f,"max-age",ft+u,null,ho)}var C=ur();C&&C.protocol==="https:"&&(Ft(f,"secure",null,null,ho),dO===null&&(dO=!fO((Ii()||{})[db])),dO&&Ft(f,"SameSite","None",null,ho)),Ft(f,"path",m||i,null,ho);var H=n.setCookie||qde;H(l,Fde(_,f)),g=!0}return g},o.get=function(l){var c=ft;return JI(a)&&!Ude(n,l)&&(c=(n.getCookie||NDe)(l)),c},o.del=function(l,c){var u=!1;return JI(a)&&(u=a.purge(l,c)),u},o.purge=function(l,c){var u,p=!1;if(mO(t)){var m=(u={},u.path=c||"/",u[uO]="Thu, 01 Jan 1970 00:00:01 GMT",u);yb()||(m["max-age"]="0");var g=n.delCookie||qde;g(l,Fde(ft,m)),p=!0}return p},o);return a[fd]=a,a}function mO(e){if(KI===null){KI=!1;try{var t=lT||{};KI=t[gO]!==void 0}catch(o){_e(e,2,68,"Cannot access document.cookie - "+vt(o),{exception:De(o)})}}return KI}function Ode(e){var t={};if(e&&e[Xe]){var o=Qo(e)[cd](";");Re(o,function(n){if(n=Qo(n||ft),n){var i=n[ld]("=");i===-1?t[n]=null:t[Qo(n[ub](0,i))]=Qo(n[ub](i+1))}})}return t}function Nde(e,t){return je(e[t])?e[t]():null}function Fde(e,t){var o=e||ft;return Ct(t,function(n,i){o+="; "+n+(ce(i)?ft:"="+i)}),o}function NDe(e){var t=ft;if(lT){var o=lT[gO]||ft;$de!==o&&(zde=Ode(o),$de=o),t=Qo(zde[e]||ft)}return t}function qde(e,t){lT&&(lT[gO]=e+"="+t)}function fO(e){return Oe(e)?!!(Tn(e,"CPU iPhone OS 12")||Tn(e,"iPad; CPU OS 12")||Tn(e,"Macintosh; Intel Mac OS X 10_14")&&Tn(e,"Version/")&&Tn(e,"Safari")||Tn(e,"Macintosh; Intel Mac OS X 10_14")&&qU(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Tn(e,"Chrome/5")||Tn(e,"Chrome/6")||Tn(e,"UnrealEngine")&&!Tn(e,"Chrome")||Tn(e,"UCBrowser/12")||Tn(e,"UCBrowser/11")):!1}var Yde="on",Hde="attachEvent",Bde="addEventListener",Vde="detachEvent",Gde="removeEventListener",hO="events",bO="visibilitychange",oL="pagehide";var Wde="unload",Kde="beforeunload",Jde=Kn("aiEvtPageHide"),Cpt=Kn("aiEvtPageShow"),FDe=/\.[\.]+/g,qDe=/[\.]+$/,UDe=1,XI=WI("events"),ODe=/^([^.]*)(?:\.(.+)|)/;function Qde(e){return e&&e[Sa]?e[Sa](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,ft):e}function _O(e,t){var o;if(t){var n=ft;wt(t)?(n=ft,Re(t,function(r){r=Qde(r),r&&(r[0]!=="."&&(r="."+r),n+=r)})):n=Qde(t),n&&(n[0]!=="."&&(n="."+n),e=(e||ft)+n)}var i=ODe.exec(e||ft)||[];return o={},o[vl]=i[1],o.ns=(i[2]||ft).replace(FDe,".").replace(qDe,ft)[cd](".").sort().join("."),o}function Zde(e,t,o){o===void 0&&(o=!0);var n=XI.get(e,hO,{},o),i=n[t];return i||(i=n[t]=[]),i}function Xde(e,t,o,n){e&&t&&t[vl]&&(e[Gde]?e[Gde](t[vl],o,n):e[Vde]&&e[Vde](Yde+t[vl],o))}function HDe(e,t,o,n){var i=!1;return e&&t&&t[vl]&&o&&(e[Bde]?(e[Bde](t[vl],o,n),i=!0):e[Hde]&&(e[Hde](Yde+t[vl],o),i=!0)),i}function jde(e,t,o,n){for(var i=t[Xe];i--;){var r=t[i];r&&(!o.ns||o.ns===r.evtName.ns)&&(!n||n(r))&&(Xde(e,r.evtName,r[DI],r.capture),t[xa](i,1))}}function BDe(e,t,o){if(t[vl])jde(e,Zde(e,t[vl]),t,o);else{var n=XI.get(e,hO,{});Ct(n,function(i,r){jde(e,r,t,o)}),cr(n)[Xe]===0&&XI.kill(e,hO)}}function Vr(e,t){var o;return t?(wt(t)?o=[e].concat(t):o=[e,t],o=_O("xx",o).ns[cd](".")):o=e,o}function Ds(e,t,o,n,i){var r;i===void 0&&(i=!1);var s=!1;if(e)try{var a=_O(t,n);if(s=HDe(e,a,o,i),s&&XI.accept(e)){var l=(r={guid:UDe++,evtName:a},r[DI]=o,r.capture=i,r);Zde(e,a.type)[yt](l)}}catch{}return s}function hd(e,t,o,n,i){if(i===void 0&&(i=!1),e)try{var r=_O(t,n),s=!1;BDe(e,r,function(a){return r.ns&&!o||a[DI]===o?(s=!0,!0):!1}),s||Xde(e,r,o,i)}catch{}}function epe(e,t,o){var n=!1,i=Br();i&&(n=Ds(i,e,t,o),n=Ds(i.body,e,t,o)||n);var r=jo();return r&&(n=Ds(r,e,t,o)||n),n}function tpe(e,t,o){var n=Br();n&&(hd(n,e,t,o),hd(n.body,e,t,o));var i=jo();i&&hd(i,e,t,o)}function eL(e,t,o,n){var i=!1;return t&&e&&e[Xe]>0&&Re(e,function(r){r&&(!o||Dn(o,r)===-1)&&(i=epe(r,t,n)||i)}),i}function ope(e,t,o,n){var i=!1;return t&&e&&wt(e)&&(i=eL(e,t,o,n),!i&&o&&o[Xe]>0&&(i=eL(e,t,null,n))),i}function tL(e,t,o){e&&wt(e)&&Re(e,function(n){n&&tpe(n,t,o)})}function vO(e,t,o){return ope([Kde,Wde,oL],e,t,o)}function yO(e,t){tL([Kde,Wde,oL],e,t)}function cT(e,t,o){function n(s){var a=jo();e&&a&&a.visibilityState==="hidden"&&e(s)}var i=Vr(Jde,o),r=eL([oL],e,t,i);return(!t||Dn(t,bO)===-1)&&(r=eL([bO],n,t,i)||r),!r&&t&&(r=cT(e,null,o)),r}function xO(e,t){var o=Vr(Jde,t);tL([oL],e,o),tL([bO],null,o)}function dr(){for(var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=ft,o,n=0;n<4;n++)o=Om(),t+=e[o&15]+e[o>>4&15]+e[o>>8&15]+e[o>>12&15]+e[o>>16&15]+e[o>>20&15]+e[o>>24&15]+e[o>>28&15];var i=e[8+(Om()&3)|0];return t[ud](0,8)+t[ud](9,4)+"4"+t[ud](13,3)+i+t[ud](16,3)+t[ud](19,12)}var TO="00",QDe="ff",ipe="00000000000000000000000000000000",rpe="0000000000000000";function uT(e,t,o){return e&&e[Xe]===t&&e!==o?!!e.match(/^[\da-f]*$/):!1}function npe(e,t,o){return uT(e,t)?e:o}function jDe(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[Xe]<2;)t="0"+t;return t}function dT(e,t,o,n){var i;return i={},i[LU]=uT(n,2,QDe)?n:TO,i[Xx]=Vm(e)?e:dr(),i.spanId=Gm(t)?t:dr()[ud](0,16),i.traceFlags=o>=0&&o<=255?o:1,i}function Vm(e){return uT(e,32,ipe)}function Gm(e){return uT(e,16,rpe)}function pT(e){if(e){var t=jDe(e[eT]);uT(t,2)||(t="01");var o=e[LU]||TO;return o!=="00"&&o!=="ff"&&(o=TO),"".concat(o,"-").concat(npe(e.traceId,32,ipe),"-").concat(npe(e.spanId,16,rpe),"-").concat(t)}return""}var YDe=WI("plugin");function qc(e){return YDe.get(e,"state",{},!0)}function nL(e,t){for(var o=[],n=null,i=e[Ur](),r;i;){var s=i[Lm]();if(s){n&&je(n[ad])&&je(s[lr])&&n[ad](s);var a=!1;je(s[Fr])?a=s[Fr]():(r=qc(s),a=r[Fr]),a||o[yt](s),n=s,i=i[Ur]()}}Re(o,function(l){var c=e[Io]();l[va](e.getCfg(),c,t,e[Ur]()),r=qc(l),!l[Io]&&!r[Io]&&(r[Io]=c),r[Fr]=!0,delete r[qr]})}function iL(e){return e.sort(function(t,o){var n=0;if(o){var i=je(o[lr]);je(t[lr])?n=i?t[Ls]-o[Ls]:1:i&&(n=-1)}else n=t?1:-1;return n})}function spe(e){var t={};return{getName:function(){return t[mi]},setName:function(o){e&&e.setName(o),t[mi]=o},getTraceId:function(){return t[Xx]},setTraceId:function(o){e&&e.setTraceId(o),Vm(o)&&(t[Xx]=o)},getSpanId:function(){return t[zI]},setSpanId:function(o){e&&e.setSpanId(o),Gm(o)&&(t[zI]=o)},getTraceFlags:function(){return t[eT]},setTraceFlags:function(o){e&&e.setTraceFlags(o),t[eT]=o}}}var WDe="TelemetryPluginChain",ape="_hasRun",lpe="_getTelCtx",cpe=0;function KDe(e,t,o){for(;e;){if(e[Lm]()===o)return e;e=e[Ur]()}return xl([o],t[bl]||{},t)}function SO(e,t,o,n){var i=null,r=[];n!==null&&(i=n?KDe(e,o,n):e);var s={_next:l,ctx:{core:function(){return o},diagLog:function(){return Ea(o,t)},getCfg:function(){return t},getExtCfg:c,getConfig:u,hasNext:function(){return!!i},getNext:function(){return i},setNext:function(m){i=m},iterate:p,onComplete:a}};function a(m,g){for(var f=[],_=2;_0&&(Re(g,function(f){try{f.func[xn](f.self,f.args)}catch(_){_e(o[Mn],2,73,"Unexpected Exception during onComplete - "+De(_))}}),r=[])}return m}function c(m,g,f){g===void 0&&(g={}),f===void 0&&(f=0);var _;if(t){var h=t[pb];h&&m&&(_=h[m])}if(!_)_=g;else if(gi(g)&&f!==0){var x=_b(!0,g,_);t&&f===2&&Ct(g,function(v){if(ce(x[v])){var T=t[v];ce(T)||(x[v]=T)}}),_=x}return _}function u(m,g,f){f===void 0&&(f=!1);var _,h=c(m,null);return h&&!ce(h[g])?_=h[g]:t&&!ce(t[g])&&(_=t[g]),ce(_)?f:_}function p(m){for(var g;g=s._next();){var f=g[Lm]();f&&m(f)}}return s}function Jn(e,t,o,n){var i=SO(e,t,o,n),r=i.ctx;function s(l){var c=i._next();return c&&c[lr](l,r),!c}function a(l,c){return l===void 0&&(l=null),wt(l)&&(l=xl(l,t,o,c)),Jn(l||r[Ur](),t,o,c)}return r[ro]=s,r[Dc]=a,r}function Sb(e,t,o){var n=t[bl]||{},i=SO(e,n,t,o),r=i.ctx;function s(l){var c=i._next();return c&&c.unload(r,l),!c}function a(l,c){return l===void 0&&(l=null),wt(l)&&(l=xl(l,n,t,c)),Sb(l||r[Ur](),t,c)}return r[ro]=s,r[Dc]=a,r}function mT(e,t,o){var n=t[bl]||{},i=SO(e,n,t,o),r=i.ctx;function s(l){return r.iterate(function(c){je(c[Pm])&&c[Pm](r,l)})}function a(l,c){return l===void 0&&(l=null),wt(l)&&(l=xl(l,n,t,c)),mT(l||r[Ur](),t,c)}return r[ro]=s,r[Dc]=a,r}function xl(e,t,o,n){var i=null,r=!n;if(wt(e)&&e[Xe]>0){var s=null;Re(e,function(a){if(!r&&n===a&&(r=!0),r&&a&&je(a[lr])){var l=JDe(a,t,o);i||(i=l),s&&s._setNext(l),s=l}})}return n&&!i?xl([n],t,o):i}function JDe(e,t,o){var n=null,i=je(e[lr]),r=je(e[ad]),s;e?s=e[ya]+"-"+e[Ls]+"-"+cpe++:s="Unknown-0-"+cpe++;var a={getPlugin:function(){return e},getNext:function(){return n},processTelemetry:u,unload:p,update:m,_id:s,_setNext:function(g){n=g}};function l(){var g;return e&&je(e[lpe])&&(g=e[lpe]()),g||(g=Jn(a,t,o)),g}function c(g,f,_,h,x){var v=!1,T=e?e[ya]:WDe,I=g[ape];return I||(I=g[ape]={}),g.setNext(n),e&&gd(g[Io](),function(){return T+":"+_},function(){I[s]=!0;try{var C=n?n._id:ft;C&&(I[C]=!1),v=f(g)}catch(F){var H=n?I[n._id]:!0;H&&(v=!0),(!n||!H)&&_e(g[Is](),1,73,"Plugin ["+T+"] failed during "+_+" - "+De(F)+", run flags: "+De(I))}},h,x),v}function u(g,f){f=f||l();function _(h){if(!e||!i)return!1;var x=qc(e);return x[qr]||x[tT]?!1:(r&&e[ad](n),e[lr](g,h),!0)}c(f,_,"processTelemetry",function(){return{item:g}},!g.sync)||f[ro](g)}function p(g,f){function _(){var h=!1;if(e){var x=qc(e),v=e[Io]||x[Io];e&&(!v||v===g.core())&&!x[qr]&&(x[Io]=null,x[qr]=!0,x[Fr]=!1,e[qr]&&e[qr](g,f)===!0&&(h=!0))}return h}c(g,_,"unload",function(){},f[Ta])||g[ro](f)}function m(g,f){function _(){var h=!1;if(e){var x=qc(e),v=e[Io]||x[Io];e&&(!v||v===g.core())&&!x[qr]&&e[Pm]&&e[Pm](g,f)===!0&&(h=!0)}return h}c(g,_,"update",function(){},!1)||g[ro](f)}return yl(a)}var gT=500,ZDe="Channel has invalid priority - ";function upe(e,t,o){t&&wt(t)&&t[Xe]>0&&(t=t.sort(function(n,i){return n[Ls]-i[Ls]}),Re(t,function(n){n[Ls]0&&Re(c,function(_){if(_&&_.queue[Xe]>0){var h=_.chain,x=u[Dc](h);x[Im](f),p(x)}else g--}),f()}function i(c,u){var p=u||{reason:0};return n(e,c,function(m){m[ro](p)},function(){c[ro](p)}),!0}function r(c,u){var p=u||{reason:0,isAsync:!1};return n(e,c,function(m){m[ro](p)},function(){c[ro](p),a=!1}),!0}function s(c){var u=null;return e&&e[Xe]>0&&Re(e,function(p){if(p&&p.queue[Xe]>0&&(Re(p.queue,function(m){if(m[ya]===c)return u=m,-1}),u))return-1}),u}var a=!1,l={identifier:"ChannelControllerPlugin",priority:gT,initialize:function(c,u,p,m){a=!0,Re(e,function(g){g&&g.queue[Xe]>0&&nL(Jn(g.chain,c,u),p)})},isInitialized:function(){return a},processTelemetry:function(c,u){n(e,u||o(),function(p){p[ro](c)},function(){u[ro](c)})},update:i,pause:function(){n(e,o(),function(c){c.iterate(function(u){u.pause&&u.pause()})},null)},resume:function(){n(e,o(),function(c){c.iterate(function(u){u.resume&&u.resume()})},null)},teardown:r,getChannel:s,flush:function(c,u,p,m){var g=1,f=!1,_=null;m=m||5e3;function h(){g--,f&&g===0&&(_&&(clearTimeout(_),_=null),u&&u(f),u=null)}return n(e,o(),function(x){x.iterate(function(v){if(v[ab]){g++;var T=!1;v[ab](c,function(){T=!0,h()},p)||T||(c&&_==null?_=setTimeout(function(){_=null,h()},m):h())}})},function(){f=!0,h()}),!0},_setQueue:function(c){e=c}};return l}function ppe(e,t,o){var n=[];if(e&&Re(e,function(r){return upe(n,r,o)}),t){var i=[];Re(t,function(r){r[Ls]>gT&&i[yt](r)}),upe(n,i,o)}return n}function rL(){var e=[];function t(n){n&&e[yt](n)}function o(n,i){Re(e,function(r){try{r(n,i)}catch(s){_e(n[Is](),2,73,"Unexpected error calling unload handler - "+De(s))}}),e=[]}return{add:t,run:o}}var bd="getPlugin",Aa=function(){function e(){var t=this,o,n,i,r,s;c(),ct(e,t,function(u){u[va]=function(p,m,g,f){l(p,m,f),o=!0},u[qr]=function(p,m){var g,f=u[Io];if(!f||p&&f!==p[Io]())return;var _,h=!1,x=p||Sb(null,f,i&&i[bd]?i[bd]():i),v=m||(g={reason:0},g[Ta]=!1,g);function T(){if(!h){h=!0,r.run(x,m);var I=s;s=[],Re(I,function(C){C.rm()}),_===!0&&x[ro](v),c()}}return!u[cb]||u[cb](x,v,T)!==!0?T():_=!0,_},u[Pm]=function(p,m){var g=u[Io];if(!g||p&&g!==p[Io]())return;var f,_=!1,h=p||mT(null,g,i&&i[bd]?i[bd]():i),x=m||{reason:0};function v(){_||(_=!0,l(h.getCfg(),h.core(),h[Ur]()))}return!u._doUpdate||u._doUpdate(h,x,v)!==!0?v():f=!0,f},u._addHook=function(p){p&&(wt(p)?s=s.concat(p):s[yt](p))},bb(u,"_addUnloadCb",function(){return r},"add")}),t[Is]=function(u){return a(u)[Is]()},t[Fr]=function(){return o},t.setInitialized=function(u){o=u},t[ad]=function(u){i=u},t[ro]=function(u,p){p?p[ro](u):i&&je(i[lr])&&i[lr](u,null)},t._getTelCtx=a;function a(u){u===void 0&&(u=null);var p=u;if(!p){var m=n||Jn(null,{},t[Io]);i&&i[bd]?p=m[Dc](null,i[bd]):p=m[Dc](null,i)}return p}function l(u,p,m){u&&Ft(u,pb,[],null,ce),!m&&p&&(m=p[LI]()[Ur]());var g=i;i&&i[bd]&&(g=i[bd]()),t[Io]=p,n=Jn(m,u,p,g)}function c(){o=!1,t[Io]=null,n=null,i=null,s=[],r=rL()}}return e.__ieDyn=1,e}();var mpe=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.identifier="TelemetryInitializerPlugin",o.priority=199;var n,i;r(),ct(t,o,function(s,a){s.addTelemetryInitializer=function(l){var c={id:n++,fn:l};i[yt](c);var u={remove:function(){Re(i,function(p,m){if(p.id===c.id)return i[xa](m,1),-1})}};return u},s[lr]=function(l,c){for(var u=!1,p=i[Xe],m=0;m0){var $=n;n=[],Re($,function(X){ae()[ro](X)})}},F.pollInternalLogs=function($){return h=$||null,H=!1,C&&(clearInterval(C),C=null),ue(!0)};function ue($){if(!C&&!H){var X=$||F[Mn]&&F[Mn].queue[Xe]>0;if(X){var pe=Hr(t.diagnosticLogInterval);(!pe||!(pe>0))&&(pe=1e4),C=setInterval(function(){clearInterval(C),C=0,Ht()},pe)}}return C}F[AU]=function(){H=!0,C&&(clearInterval(C),C=0,Ht())},$c(F,function(){return _},["addTelemetryInitializer"]),F.unload=function($,X,pe){var L;$===void 0&&($=!0),o||Lo(XDe),f&&Lo(fpe);var j=(L={reason:50},L[Ta]=$,L.flushComplete=!1,L),ie=Sb(Vt(),F);ie[Im](function(){Ce(),X&&X(j)},F);function he(Ne){j.flushComplete=Ne,f=!0,v.run(ie,j),F[AU](),ie[ro](j)}Ht(),ao($,he,6,pe)||he(!1)},F[Lm]=It,F.addPlugin=function($,X,pe,L){if(!$){L&&L(!1),Q(bpe);return}var j=It($[ya]);if(j&&!X){L&&L(!1),Q("Plugin ["+$[ya]+"] is already loaded!");return}var ie={reason:16};function he(gt){c[yt]($),ie.added=[$],ht(ie),L&&L(!0)}if(j){var Ne=[j.plugin],rt={reason:2,isAsync:!!pe};yo(Ne,rt,function(gt){gt?(ie.removed=Ne,ie.reason|=32,he(!0)):L&&L(!1)})}else he(!1)},F.evtNamespace=function(){return x},F[ab]=ao,F.getTraceCtx=function($){return I||(I=spe()),I},F.setTraceCtx=function($){I=$||null},bb(F,"addUnloadCb",function(){return v},"add");function Ce(){o=!1,t=_b(!0,{},e1e),F[bl]=t,F[Mn]=new qm(t),F[Kx]=[],_=new mpe,n=[],i=null,r=null,s=null,a=null,l=null,u=null,c=[],p=null,m=null,g=null,f=!1,h=null,x=Kn("AIBaseCore",!0),v=rL(),I=null}function ae(){var $=Jn(Vt(),t,F);return $[Im](ue),$}function ht($){var X=o1e(F[Mn],gT,c);u=X[Io],l=null;var pe=X.all;if(g=yl(ppe(m,pe,F)),p){var L=Dn(pe,p);L!==-1&&pe[xa](L,1),L=Dn(u,p),L!==-1&&u[xa](L,1),p._setQueue(g)}else p=dpe(g,F);pe[yt](p),u[yt](p),F[Kx]=iL(pe),p[va](t,F,pe);var j=ae();nL(j,pe),F[Kx]=yl(iL(u||[])).slice(),$&&D($)}function It($){var X,pe=null,L=null;return Re(F[Kx],function(j){if(j[ya]===$&&j!==p&&j!==_)return L=j,-1}),!L&&p&&(L=p.getChannel($)),L&&(pe=(X={plugin:L},X[Jx]=function(j){qc(L)[tT]=!j},X.isEnabled=function(){var j=qc(L);return!j[qr]&&!j[tT]},X.remove=function(j,ie){var he;j===void 0&&(j=!0);var Ne=[L],rt=(he={reason:1},he[Ta]=j,he);yo(Ne,rt,function(gt){gt&&ht({reason:32,removed:Ne}),ie&&ie(gt)})},X)),pe}function Vt(){if(!l){var $=(u||[]).slice();Dn($,_)===-1&&$[yt](_),l=xl(iL($),t,F)}return l}function yo($,X,pe){if($&&$[Xe]>0){var L=xl($,t,F),j=Sb(L,F);j[Im](function(){var ie=!1,he=[];Re(c,function(rt,gt){hpe(rt,$)?ie=!0:he[yt](rt)}),c=he;var Ne=[];m&&(Re(m,function(rt,gt){var lo=[];Re(rt,function(ln){hpe(ln,$)?ie=!0:lo[yt](ln)}),Ne[yt](lo)}),m=Ne),pe&&pe(ie),ue()}),j[ro](X)}else pe(!1)}function Ht(){if(F[Mn]&&F[Mn].queue){var $=F[Mn].queue.slice(0);F[Mn].queue[Xe]=0,Re($,function(X){var pe,L=(pe={},pe[mi]=h||"InternalMessageId: "+X[lb],pe.iKey=Hr(t[II]),pe.time=Or(new Date),pe.baseType=Nc.dataType,pe.baseData={message:X[sd]},pe);F.track(L)})}}function ao($,X,pe,L){return p?p[ab]($,X,pe||6,L):(X&&X(!1),!0)}function Mt(){var $=Hr(t.disableDbgExt);$===!0&&T&&(i[km](T),T=null),i&&!T&&$!==!0&&(T=Sde(t),i[Am](T))}function bt(){var $=Hr(t.enablePerfMgr);!$&&s&&(s=null),$&&Fo(t,RU,t1e)}function Me(){var $=Fo(t,pb,{});$.NotificationManager=i}function D($){var X=mT(Vt(),F);X[Im](ue),(!F._updateHook||F._updateHook(X,$)!==!0)&&X[ro]($)}function Q($){var X=F[Mn];X?(_e(X,2,73,$),ue()):Lo($)}})}return e.__ieDyn=1,e}();function sL(e,t,o,n){Re(e,function(i){if(i&&i[t])if(o)setTimeout(function(){return n(i)},0);else try{n(i)}catch{}})}var vpe=function(){function e(t){this.listeners=[];var o=!!(t||{}).perfEvtsSendAll;ct(e,this,function(n){n[Am]=function(i){n.listeners[yt](i)},n[km]=function(i){for(var r=Dn(n[Rm],i);r>-1;)n.listeners[xa](r,1),r=Dn(n[Rm],i)},n[mb]=function(i){sL(n[Rm],mb,!0,function(r){r[mb](i)})},n[dd]=function(i,r){sL(n[Rm],dd,!0,function(s){s[dd](i,r)})},n[gb]=function(i,r){sL(n[Rm],gb,r,function(s){s[gb](i,r)})},n[pd]=function(i){i&&(o||!i[Zx]())&&sL(n[Rm],pd,!1,function(r){i[Ta]?setTimeout(function(){return r[pd](i)},0):r[pd](i)})}})}return e.__ieDyn=1,e}();var wO=function(e){Rn(t,e);function t(){var o=e.call(this)||this;return ct(t,o,function(n,i){n[va]=function(a,l,c,u){i[va](a,l,c||new qm(a),u||new vpe(a))},n.track=function(a){gd(n[Dm](),function(){return"AppInsightsCore:track"},function(){a===null&&(s(a),Lo("Invalid telemetry item")),r(a),i.track(a)},function(){return{item:a}},!a.sync)};function r(a){ce(a[mi])&&(s(a),Lo("telemetry name required"))}function s(a){var l=n[Wx]();l&&l[dd]([a],2)}}),o}return t.__ieDyn=1,t}(_pe);var ype="_aiHooks",xpe=["req","rsp","hkErr","fnErr"];function EO(e,t){if(e)for(var o=0;o=0&&i<=2&&EO(e,function(r,s){var a=r.cbks,l=a[xpe[i]];if(l){t.ctx=function(){var p=n[s]=n[s]||{};return p};try{l[_l](t.inst,o)}catch(p){var c=t.err;try{var u=a[xpe[2]];u&&(t.err=p,u[_l](t.inst,o))}catch{}finally{t.err=c}}}})}function i1e(e){return function(){var t,o=this,n=arguments,i=e.h,r=(t={},t[mi]=e.n,t.inst=o,t.ctx=null,t.set=c,t),s=[],a=l([r],n);r.evt=Po("event");function l(p,m){return EO(m,function(g){p[yt](g)}),p}function c(p,m){n=l([],n),n[p]=m,a=l([r],n)}CO(i,r,a,s,0);var u=e.f;if(u)try{r.rslt=u[_l](o,n)}catch(p){throw r.err=p,CO(i,r,a,s,3),p}return CO(i,r,a,s,1),r.rslt}}function AO(e,t,o,n){var i=null;return e&&(UI(e,t)?i=e:o&&(i=AO(NU(e),t,n,!1))),i}function kO(e,t,o){return e?fT(e[ko],t,o,!1):null}function Tpe(e,t,o,n){var i=o&&o[ype];if(!i){i={i:0,n:t,f:o,h:[]};var r=i1e(i);r[ype]=i,e[t]=r}var s={id:i.i,cbks:n,rm:function(){var a=this.id;EO(i.h,function(l,c){if(l.id===a)return i.h[xa](c,1),1})}};return i.i++,i.h[yt](s),s}function fT(e,t,o,n,i){if(n===void 0&&(n=!0),e&&t&&o){var r=AO(e,t,n,i);if(r){var s=r[t];if(typeof s===As)return Tpe(r,t,s,o)}}return null}function wb(e,t,o,n,i){if(e&&t&&o){var r=AO(e,t,n,i)||e;if(r)return Tpe(r,t,r[t],o)}return null}var ka="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Cb="sampleRate",Eb="ProcessLegacy",hT="http.method",_d="https://dc.services.visualstudio.com",Uc="/v2/track",Yo="not_specified",aL="iKey";function Qm(e){var t=null;if(je(Event))t=new Event(e);else{var o=jo();o&&o.createEvent&&(t=o.createEvent("Event"),t.initEvent(e,!0,!0))}return t}var Oc="split",ut="length",Tl="toLowerCase",bT="ingestionendpoint",Ia="toString",lL="removeItem",Xo="name",Hc="message",Spe="count";var _T="stringify",vT="pathname",IO="correlationHeaderExcludePatterns",Ab="indexOf";var jm="exceptions",$s="parsedStack",fi="properties",hi="measurements",Ym="sizeInBytes",Sl="typeName",Wm="severityLevel",cL="problemGroup",uL="isManual",LO="CreateFromInterface",Km="assembly",yT="hasFullStack",xT="level",Jm="method",kb="fileName",Ib="line",Zm="duration",PO="receivedResponse",Xm="substring",wpe="sanitizeKeyAndAddUniqueness",Cpe="sanitizeException",Epe="sanitizeProperties",Ape="sanitizeMeasurements";var TT="";function zs(e,t){return t===void 0&&(t=!1),e==null?t:e.toString()[Tl]()==="true"}function Gr(e){(isNaN(e)||e<0)&&(e=0),e=Math.round(e);var t=TT+e%1e3,o=TT+Math.floor(e/1e3)%60,n=TT+Math.floor(e/(1e3*60))%60,i=TT+Math.floor(e/(1e3*60*60))%24,r=Math.floor(e/(1e3*60*60*24));return t=t[ut]===1?"00"+t:t[ut]===2?"0"+t:t,o=o[ut]<2?"0"+o:o,n=n[ut]<2?"0"+n:n,i=i[ut]<2?"0"+i:i,(r>0?r+".":TT)+i+":"+n+":"+o+"."+t}function RO(e,t,o,n,i){return!i&&Oe(e)&&(e==="Script error."||e==="Script error")}var Zt=BU({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]});var Lb=HI({LocalStorage:0,SessionStorage:1}),h1e=HI({AI:0,AI_AND_W3C:1,W3C:2});var vd=void 0,yd=void 0;function MO(){return ST()?dL(Lb.LocalStorage):null}function dL(e){try{if(ce(ks()))return null;var t=new Date()[Ia](),o=Po(e===Lb.LocalStorage?"localStorage":"sessionStorage");o.setItem(t,t);var n=o.getItem(t)!==t;if(o[lL](t),!n)return o}catch{}return null}function DO(){return xd()?dL(Lb.SessionStorage):null}function $O(){vd=!1,yd=!1}function zO(){vd=ST(!0),yd=xd(!0)}function ST(e){return(e||vd===void 0)&&(vd=!!dL(Lb.LocalStorage)),vd}function NO(e,t){var o=MO();if(o!==null)try{return o.getItem(t)}catch(n){vd=!1,_e(e,2,1,"Browser failed read of local storage. "+vt(n),{exception:De(n)})}return null}function FO(e,t,o){var n=MO();if(n!==null)try{return n.setItem(t,o),!0}catch(i){vd=!1,_e(e,2,3,"Browser failed write to local storage. "+vt(i),{exception:De(i)})}return!1}function qO(e,t){var o=MO();if(o!==null)try{return o[lL](t),!0}catch(n){vd=!1,_e(e,2,5,"Browser failed removal of local storage item. "+vt(n),{exception:De(n)})}return!1}function xd(e){return(e||yd===void 0)&&(yd=!!dL(Lb.SessionStorage)),yd}function Pb(e,t){var o=DO();if(o!==null)try{return o.getItem(t)}catch(n){yd=!1,_e(e,2,2,"Browser failed read of session storage. "+vt(n),{exception:De(n)})}return null}function wT(e,t,o){var n=DO();if(n!==null)try{return n.setItem(t,o),!0}catch(i){yd=!1,_e(e,2,4,"Browser failed write to session storage. "+vt(i),{exception:De(i)})}return!1}function UO(e,t){var o=DO();if(o!==null)try{return o[lL](t),!0}catch(n){yd=!1,_e(e,2,6,"Browser failed removal of session storage item. "+vt(n),{exception:De(n)})}return!1}var pr;function pL(e,t,o){var n=t[ut],i=OO(e,t);if(i[ut]!==n){for(var r=0,s=i;o[s]!==void 0;)r++,s=i[Xm](0,147)+HO(r);i=s}return i}function OO(e,t){var o;return t&&(t=Qo(t[Ia]()),t[ut]>150&&(o=t[Xm](0,150),_e(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:t},!0))),o||t}function Gt(e,t,o){o===void 0&&(o=1024);var n;return t&&(o=o||1024,t=Qo(t),t.toString()[ut]>o&&(n=t[Ia]()[Xm](0,o),_e(e,2,61,"string value is too long. It has been truncated to "+o+" characters.",{value:t},!0))),n||t}function wl(e,t){return fL(e,t,2048,66)}function Rb(e,t){var o;return t&&t[ut]>32768&&(o=t[Xm](0,32768),_e(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),o||t}function mL(e,t){var o;if(t){var n=""+t;n[ut]>32768&&(o=n[Xm](0,32768),_e(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0))}return o||t}function bi(e,t){if(t){var o={};Ct(t,function(n,i){if(gi(i)&&Ca())try{i=Sn()[_T](i)}catch(r){_e(e,2,49,"custom property is not valid",{exception:r},!0)}i=Gt(e,i,8192),n=pL(e,n,o),o[n]=i}),t=o}return t}function _i(e,t){if(t){var o={};Ct(t,function(n,i){n=pL(e,n,o),o[n]=i}),t=o}return t}function gL(e,t){return t&&fL(e,t,128,69)[Ia]()}function fL(e,t,o,n){var i;return t&&(t=Qo(t),t[ut]>o&&(i=t[Xm](0,o),_e(e,2,n,"input is too long, it has been truncated to "+o+" characters.",{data:t},!0))),i||t}function HO(e){var t="00"+e;return t.substr(t[ut]-3)}var kpe=(pr={MAX_NAME_LENGTH:150,MAX_ID_LENGTH:128,MAX_PROPERTY_LENGTH:8192,MAX_STRING_LENGTH:1024,MAX_URL_LENGTH:2048,MAX_MESSAGE_LENGTH:32768,MAX_EXCEPTION_LENGTH:32768},pr[wpe]=pL,pr.sanitizeKey=OO,pr.sanitizeString=Gt,pr.sanitizeUrl=wl,pr.sanitizeMessage=Rb,pr[Cpe]=mL,pr[Epe]=bi,pr[Ape]=_i,pr.sanitizeId=gL,pr.sanitizeInput=fL,pr.padNumber=HO,pr.trim=Qo,pr);var Ipe=jo()||{},Lpe=0,b1e=[null,null,null,null,null];function CT(e){var t=Lpe,o=b1e,n=o[t];return Ipe.createElement?o[t]||(n=o[t]=Ipe.createElement("a")):n={host:BO(e,!0)},n.href=e,t++,t>=o[ut]&&(t=0),Lpe=t,n}function hL(e){var t,o=CT(e);return o&&(t=o.href),t}function bL(e,t){return e?e.toUpperCase()+" "+t:t}function BO(e,t){var o=_L(e,t)||"";if(o){var n=o.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[ut]>3&&Oe(n[2])&&n[2][ut]>0)return n[2]+(n[3]||"")}return o}function _L(e,t){var o=null;if(e){var n=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[ut]>2&&Oe(n[2])&&n[2][ut]>0&&(o=n[2]||"",t&&n[ut]>2)){var i=(n[1]||"")[Tl](),r=n[3]||"";(i==="http"&&r===":80"||i==="https"&&r===":443")&&(r=""),o+=r}}return o}var v1e=[_d+Uc,"https://breeze.aimon.applicationinsights.io"+Uc,"https://dc-int.services.visualstudio.com"+Uc];function eg(e){return Dn(v1e,e[Tl]())!==-1}var Bc={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,o){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e[IO]){for(var n=0;n0},getCorrelationContext:function(e){if(e){var t=Bc.getCorrelationContextValue(e,Zt[1]);if(t&&t!==Bc.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var o=e[Oc](","),n=0;n0){var a=CT(t);if(i=a.host,!r)if(a[vT]!=null){var l=a.pathname[ut]===0?"/":a[vT];l.charAt(0)!=="/"&&(l="/"+l),s=a[vT],r=Gt(e,o?o+" "+l:l)}else r=Gt(e,t)}else i=n,r=n;return{target:i,name:r,data:s}}function Mb(){var e=Rs();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return $n()}function wn(e,t){var o=null;return e!==0&&t!==0&&!ce(e)&&!ce(t)&&(o=t-e),o}function tg(e,t){var o=e||{};return{getName:function(){return o[Xo]},setName:function(n){t&&t.setName(n),o[Xo]=n},getTraceId:function(){return o.traceID},setTraceId:function(n){t&&t.setTraceId(n),Vm(n)&&(o.traceID=n)},getSpanId:function(){return o.parentID},setSpanId:function(n){t&&t.setSpanId(n),Gm(n)&&(o.parentID=n)},getTraceFlags:function(){return o.traceFlags},setTraceFlags:function(n){t&&t.setTraceFlags(n),o.traceFlags=n}}}var y1e=";",x1e="=";function VO(e){if(!e)return{};var t=e[Oc](y1e),o=UU(t,function(i,r){var s=r[Oc](x1e);if(s[ut]===2){var a=s[0][Tl](),l=s[1];i[a]=l}return i},{});if(cr(o)[ut]>0){if(o.endpointsuffix){var n=o.location?o.location+".":"";o[bT]=o[bT]||"https://"+n+"dc."+o.endpointsuffix}o[bT]=o[bT]||_d}return o}var vL=function(){function e(t,o,n){var i=this,r=this;r.ver=1,r.sampleRate=100,r.tags={},r[Xo]=Gt(t,n)||Yo,r.data=o,r.time=Or(new Date),r.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return i.sampleRate===100?4:1},tags:1,data:1}}return e}();var Qr=function(){function e(t,o,n,i){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var r=this;r.ver=2,r[Xo]=Gt(t,o)||Yo,r[fi]=bi(t,n),r[hi]=_i(t,i)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Event",e.dataType="EventData",e}();var T1e="",Db="error",mr="stack",QO="stackDetails",Rpe="errorSrc",jO="message",$pe="description";function YO(e,t){var o=e;return o&&!Oe(o)&&(JSON&&JSON[_T]?(o=JSON[_T](e),t&&(!o||o==="{}")&&(je(e[Ia])?o=e[Ia]():o=""+e)):o=""+e+" - (Missing JSON.stringify)"),o||""}function zpe(e,t){var o=e;return e&&(o&&!Oe(o)&&(o=e[jO]||e[$pe]||o),o&&!Oe(o)&&(o=YO(o,!0)),e.filename&&(o=o+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),t&&t!=="String"&&t!=="Object"&&t!=="Error"&&(o||"")[Ab](t)===-1&&(o=t+": "+o),o||""}function S1e(e){try{if(gi(e))return"hasFullStack"in e&&"typeName"in e}catch{}return!1}function w1e(e){try{if(gi(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch{}return!1}function Mpe(e){return e&&e.src&&Oe(e.src)&&e.obj&&wt(e.obj)}function og(e){var t=e||"";Oe(t)||(Oe(t[mr])?t=t[mr]:t=""+t);var o=t[Oc](` `);return{src:t,obj:o}}function C1e(e){for(var t=[],o=e[Oc](` `),n=0;n0){t=[];var n=0,i=0;Re(o,function(f){var _=f[Ia]();if(WO.regex.test(_)){var h=new WO(_,n++);i+=h[Ym],t.push(h)}});var r=32*1024;if(i>r)for(var s=0,a=t[ut]-1,l=0,c=s,u=a;sr){var g=u-c+1;t.splice(c,g);break}c=s,u=a,s++,a--}}return t}function yL(e){var t="";if(e&&(t=e.typeName||e[Xo]||"",!t))try{var o=/function (.{1,200})\(/,n=o.exec(e.constructor[Ia]());t=n&&n[ut]>1?n[1]:""}catch{}return t}function GO(e){if(e)try{if(!Oe(e)){var t=yL(e),o=YO(e,!1);return(!o||o==="{}")&&(e[Db]&&(e=e[Db],t=yL(e)),o=YO(e,!0)),o[Ab](t)!==0&&t!=="String"?t+":"+o:o}}catch{}return""+(e||"")}var Zn=function(){function e(t,o,n,i,r,s){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,w1e(o)?(a[jm]=o[jm]||[],a[fi]=o[fi],a[hi]=o[hi],o[Wm]&&(a[Wm]=o[Wm]),o.id&&(a.id=o.id),o[cL]&&(a[cL]=o[cL]),ce(o[uL])||(a[uL]=o[uL])):(n||(n={}),a[jm]=[new Dpe(t,o,n)],a[fi]=bi(t,n),a[hi]=_i(t,i),r&&(a[Wm]=r),s&&(a.id=s))}return e.CreateAutoException=function(t,o,n,i,r,s,a,l){var c,u=yL(r||s||t);return c={},c[Hc]=zpe(t,u),c.url=o,c.lineNumber=n,c.columnNumber=i,c.error=GO(r||s||t),c.evt=GO(s||t),c[Sl]=u,c.stackDetails=Npe(a||r||s),c.errorSrc=l,c},e.CreateFromInterface=function(t,o,n,i){var r=o[jm]&&Nm(o[jm],function(a){return Dpe[LO](t,a)}),s=new e(t,Go(Go({},o),{exceptions:r}),n,i);return s},e.prototype.toInterface=function(){var t,o=this,n=o.exceptions,i=o.properties,r=o.measurements,s=o.severityLevel,a=o.problemGroup,l=o.id,c=o.isManual,u=n instanceof Array&&Nm(n,function(p){return p.toInterface()})||void 0;return t={ver:"4.0"},t[jm]=u,t.severityLevel=s,t.properties=i,t.measurements=r,t.problemGroup=a,t.id=l,t.isManual=c,t},e.CreateSimpleException=function(t,o,n,i,r,s){var a;return{exceptions:[(a={},a[yT]=!0,a.message=t,a.stack=r,a.typeName=o,a)]}},e.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",e.dataType="ExceptionData",e.formatError=GO,e}();var Dpe=function(){function e(t,o,n){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var i=this;if(S1e(o))i[Sl]=o[Sl],i[Hc]=o[Hc],i[mr]=o[mr],i[$s]=o[$s]||[],i[yT]=o[yT];else{var r=o,s=r&&r.evt;zm(r)||(r=r[Db]||s||r),i[Sl]=Gt(t,yL(r))||Yo,i[Hc]=Rb(t,zpe(o||r,i[Sl]))||Yo;var a=o[QO]||Npe(o);i[$s]=A1e(a),wt(i[$s])&&Nm(i[$s],function(l){return l[Km]=Gt(t,l[Km])}),i[mr]=mL(t,E1e(a)),i.hasFullStack=wt(i.parsedStack)&&i.parsedStack[ut]>0,n&&(n[Sl]=n[Sl]||i[Sl])}}return e.prototype.toInterface=function(){var t,o=this,n=o[$s]instanceof Array&&Nm(o[$s],function(r){return r.toInterface()}),i=(t={id:o.id,outerId:o.outerId,typeName:o[Sl],message:o[Hc],hasFullStack:o[yT],stack:o[mr]},t[$s]=n||void 0,t);return i},e.CreateFromInterface=function(t,o){var n=o[$s]instanceof Array&&Nm(o[$s],function(r){return WO[LO](r)})||o[$s],i=new e(t,Go(Go({},o),{parsedStack:n}));return i},e}();var WO=function(){function e(t,o){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var n=this;if(n[Ym]=0,typeof t=="string"){var i=t;n[xT]=o,n[Jm]=T1e,n[Km]=Qo(i),n[kb]="",n[Ib]=0;var r=i.match(e.regex);r&&r[ut]>=5&&(n[Jm]=Qo(r[2])||n[Jm],n[kb]=Qo(r[4]),n[Ib]=parseInt(r[5])||0)}else n[xT]=t[xT],n[Jm]=t[Jm],n[Km]=t[Km],n[kb]=t[kb],n[Ib]=t[Ib],n[Ym]=0;n.sizeInBytes+=n.method[ut],n.sizeInBytes+=n.fileName[ut],n.sizeInBytes+=n.assembly[ut],n[Ym]+=e.baseSize,n.sizeInBytes+=n.level.toString()[ut],n.sizeInBytes+=n.line.toString()[ut]}return e.CreateFromInterface=function(t){return new e(t,null)},e.prototype.toInterface=function(){var t=this;return{level:t[xT],method:t[Jm],assembly:t[Km],fileName:t[kb],line:t[Ib]}},e.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,e.baseSize=58,e}();var Fpe=function(){function e(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0}return e}();var jr=function(){function e(t,o,n,i,r,s,a,l,c){this.aiDataContract={ver:1,metrics:1,properties:0};var u=this;u.ver=2;var p=new Fpe;p[Spe]=i>0?i:void 0,p.max=isNaN(s)||s===null?void 0:s,p.min=isNaN(r)||r===null?void 0:r,p[Xo]=Gt(t,o)||Yo,p.value=n,p.stdDev=isNaN(a)||a===null?void 0:a,u.metrics=[p],u[fi]=bi(t,l),u[hi]=_i(t,c)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",e.dataType="MetricData",e}();var Li=function(){function e(t,o,n,i,r,s,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var l=this;l.ver=2,l.id=gL(t,a),l.url=wl(t,n),l[Xo]=Gt(t,o)||Yo,isNaN(i)||(l[Zm]=Gr(i)),l[fi]=bi(t,r),l[hi]=_i(t,s)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",e.dataType="PageviewData",e}();var Yr=function(){function e(t,o,n,i,r,s,a,l,c,u,p,m){c===void 0&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var g=this;g.ver=2,g.id=o,g[Zm]=Gr(r),g.success=s,g.resultCode=a+"",g.type=Gt(t,c);var f=Ppe(t,n,l,i);g.data=wl(t,i)||f.data,g.target=Gt(t,f.target),u&&(g.target="".concat(g.target," | ").concat(u)),g[Xo]=Gt(t,f[Xo]),g[fi]=bi(t,p),g[hi]=_i(t,m)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",e.dataType="RemoteDependencyData",e}();var La=function(){function e(t,o,n,i,r){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var s=this;s.ver=2,o=o||Yo,s[Hc]=Rb(t,o),s[fi]=bi(t,i),s[hi]=_i(t,r),n&&(s[Wm]=n)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Message",e.dataType="MessageData",e}();var Pa=function(){function e(t,o,n,i,r,s,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var l=this;l.ver=2,l.url=wl(t,n),l[Xo]=Gt(t,o)||Yo,l[fi]=bi(t,r),l[hi]=_i(t,s),a&&(l.domProcessing=a.domProcessing,l[Zm]=a[Zm],l.networkConnect=a.networkConnect,l.perfTotal=a.perfTotal,l[PO]=a[PO],l.sentRequest=a.sentRequest)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",e.dataType="PageviewPerformanceData",e}();var Cl=function(){function e(t,o){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=o}return e}();function Sd(e){var t="ai."+e+".";return function(o){return t+o}}var ET=Sd("application"),Cn=Sd("device"),xL=Sd("location"),$b=Sd("operation"),KO=Sd("session"),Td=Sd("user"),ng=Sd("cloud"),AT=Sd("internal"),zb=function(e){Rn(t,e);function t(){return e.call(this)||this}return t}(HU({applicationVersion:ET("ver"),applicationBuild:ET("build"),applicationTypeId:ET("typeId"),applicationId:ET("applicationId"),applicationLayer:ET("layer"),deviceId:Cn("id"),deviceIp:Cn("ip"),deviceLanguage:Cn("language"),deviceLocale:Cn("locale"),deviceModel:Cn("model"),deviceFriendlyName:Cn("friendlyName"),deviceNetwork:Cn("network"),deviceNetworkName:Cn("networkName"),deviceOEMName:Cn("oemName"),deviceOS:Cn("os"),deviceOSVersion:Cn("osVersion"),deviceRoleInstance:Cn("roleInstance"),deviceRoleName:Cn("roleName"),deviceScreenResolution:Cn("screenResolution"),deviceType:Cn("type"),deviceMachineName:Cn("machineName"),deviceVMName:Cn("vmName"),deviceBrowser:Cn("browser"),deviceBrowserVersion:Cn("browserVersion"),locationIp:xL("ip"),locationCountry:xL("country"),locationProvince:xL("province"),locationCity:xL("city"),operationId:$b("id"),operationName:$b("name"),operationParentId:$b("parentId"),operationRootId:$b("rootId"),operationSyntheticSource:$b("syntheticSource"),operationCorrelationVector:$b("correlationVector"),sessionId:KO("id"),sessionIsFirst:KO("isFirst"),sessionIsNew:KO("isNew"),userAccountAcquisitionDate:Td("accountAcquisitionDate"),userAccountId:Td("accountId"),userAgent:Td("userAgent"),userId:Td("id"),userStoreRegion:Td("storeRegion"),userAuthUserId:Td("authUserId"),userAnonymousUserAcquisitionDate:Td("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Td("authUserAcquisitionDate"),cloudName:ng("name"),cloudRole:ng("role"),cloudRoleVer:ng("roleVer"),cloudRoleInstance:ng("roleInstance"),cloudEnvironment:ng("environment"),cloudLocation:ng("location"),cloudDeploymentUnit:ng("deploymentUnit"),internalNodeName:AT("nodeName"),internalSdkVersion:AT("sdkVersion"),internalAgentVersion:AT("agentVersion"),internalSnippet:AT("snippet"),internalSdkSrc:AT("sdkSrc")}));function Ns(e,t,o,n,i,r){var s;o=Gt(n,o)||Yo,(ce(e)||ce(t)||ce(o))&&Lo("Input doesn't contain all required fields");var a="";e[aL]&&(a=e[aL],delete e[aL]);var l=(s={},s[Xo]=o,s.time=Or(new Date),s.iKey=a,s.ext=r||{},s.tags=[],s.data={},s.baseType=t,s.baseData=e,s);return ce(i)||Ct(i,function(c,u){l.data[c]=u}),l}var qpe=function(){function e(){}return e.create=Ns,e}();var Xn={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},Xt=new zb;var wd="AppInsightsPropertiesPlugin",kT="AppInsightsChannelPlugin",JO="ApplicationInsightsAnalytics";var IT="toString",TL="disableExceptionTracking",LT="autoTrackPageVisitTime",SL="overridePageViewDuration",wL="enableUnhandledPromiseRejectionTracking",PT="samplingPercentage",RT="isStorageUseDisabled",MT="isBrowserLinkTrackingEnabled",CL="enableAutoRouteTracking",EL="namePrefix",AL="disableFlushOnBeforeUnload";var zn="core",Vc="dataType",Cd="envelopeType",gr="diagLog",Ed="track",Nb="trackPageView",DT="trackPreviousPageVisit",Gc="sendPageViewInternal",$T="sendPageViewPerformanceInternal",Fb="populatePageViewPerformanceEvent",Ad="href",ZO="sendExceptionInternal",kL="exception",qb="error",IL="_onerror",LL="errorSrc",PL="lineNumber",RL="columnNumber",XO="message",ML="CreateAutoException",zT="addTelemetryInitializer",El="duration",kd="length",DL="isPerformanceTimingSupported",$L="getPerformanceTiming",Ub="navigationStart",NT="shouldCollectDuration",zL="isPerformanceTimingDataReady",Upe="getEntriesByType",Ob="responseStart",Ope="requestStart",FT="loadEventEnd",NL="responseEnd",qT="connectEnd",eH="pageVisitStartTime";var FL=null;function R1e(){if(FL==null)try{FL=!!(self&&self instanceof WorkerGlobalScope)}catch{FL=!1}return FL}var Hpe=function(){function e(t,o,n,i){ct(e,this,function(r){var s=null,a=[],l=!1,c;n&&(c=n.logger);function u(g){n&&n.flush(g)}function p(){s||(s=setTimeout(function(){s=null;var g=a.slice(0),f=!1;a=[],Re(g,function(_){_()?f=!0:a.push(_)}),a[kd]>0&&p(),f&&u(!0)},100))}function m(g){a.push(g),p()}r[Nb]=function(g,f){var _=g.name;if(ce(_)||typeof _!="string"){var h=jo();_=g.name=h&&h.title||""}var x=g.uri;if(ce(x)||typeof x!="string"){var v=ur();x=g.uri=v&&v[Ad]||""}if(!i[DL]()){t[Gc](g,f),u(!0),R1e()||_e(c,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");return}var T=!1,I,C=i[$L]()[Ub];C>0&&(I=wn(C,+new Date),i[NT](I)||(I=void 0));var H;!ce(f)&&!ce(f[El])&&(H=f[El]),(o||!isNaN(H))&&(isNaN(H)&&(f||(f={}),f[El]=I),t[Gc](g,f),u(!0),T=!0);var F=6e4;f||(f={}),m(function(){var ue=!1;try{if(i[zL]()){ue=!0;var Ce={name:_,uri:x};i[Fb](Ce),!Ce.isValid&&!T?(f[El]=I,t[Gc](g,f)):(T||(f[El]=Ce.durationMs,t[Gc](g,f)),l||(t[$T](Ce,f),l=!0))}else C>0&&wn(C,+new Date)>F&&(ue=!0,T||(f[El]=F,t[Gc](g,f)))}catch(ae){_e(c,1,38,"trackPageView failed on page load calculation: "+vt(ae),{exception:De(ae)})}return ue})},r.teardown=function(g,f){if(s){clearTimeout(s),s=null;var _=a.slice(0),h=!1;a=[],Re(_,function(x){x()&&(h=!0)})}}})}return e.__ieDyn=1,e}();var M1e=36e5,Bpe=["googlebot","adsbot-google","apis-google","mediapartners-google"];function Gpe(){var e=Rs();return e&&!!e.timing}function D1e(){var e=Rs();return e&&e.getEntriesByType&&e.getEntriesByType("navigation")[kd]>0}function $1e(){var e=Rs(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t[Ub]>0&&t[Ob]>0&&t[Ope]>0&&t[FT]>0&&t[NL]>0&&t[qT]>0&&t.domLoading>0}function Vpe(){return Gpe()?Rs().timing:null}function z1e(){return D1e()?Rs()[Upe]("navigation")[0]:null}function N1e(){for(var e=[],t=0;t=M1e)return!1;return!0}var Qpe=function(){function e(t){var o=this,n=Ea(t);ct(e,this,function(i){i[Fb]=function(r){r.isValid=!1;var s=z1e(),a=Vpe(),l=0,c=0,u=0,p=0,m=0;(s||a)&&(s?(l=s[El],c=s.startTime===0?s[qT]:wn(s.startTime,s[qT]),u=wn(s.requestStart,s[Ob]),p=wn(s[Ob],s[NL]),m=wn(s.responseEnd,s[FT])):(l=wn(a[Ub],a[FT]),c=wn(a[Ub],a[qT]),u=wn(a.requestStart,a[Ob]),p=wn(a[Ob],a[NL]),m=wn(a.responseEnd,a[FT])),l===0?_e(n,2,10,"error calculating page view performance.",{total:l,network:c,request:u,response:p,dom:m}):o[NT](l,c,u,p,m)?l=100)&&(e[PT]=100),e[RT]=zs(e[RT]),e[MT]=zs(e[MT]),e[CL]=zs(e[CL]),e[EL]=e[EL]||"",e.enableDebug=zs(e.enableDebug),e[AL]=zs(e[AL]),e.disableFlushOnUnload=zs(e.disableFlushOnUnload,e[AL]),e}function O1e(e){ho(e[RT])||(e[RT]?$O():zO())}var qL=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.identifier=JO,o.priority=180,o.autoRoutePVDelay=500;var n,i,r,s,a,l,c,u,p,m,g,f,_,h,x=0,v,T,I;return ct(t,o,function(C,H){var F=H._addHook;Me(),C.getCookieMgr=function(){return Bm(C[zn])},C.processTelemetry=function(D,Q){C.processNext(D,Q)},C.trackEvent=function(D,Q){try{var $=Ns(D,Qr[Vc],Qr[Cd],C[gr](),Q);C[zn][Ed]($)}catch(X){bt(2,39,"trackTrace failed, trace will not be collected: "+vt(X),{exception:De(X)})}},C.startTrackEvent=function(D){try{n.start(D)}catch(Q){bt(1,29,"startTrackEvent failed, event will not be collected: "+vt(Q),{exception:De(Q)})}},C.stopTrackEvent=function(D,Q,$){try{n.stop(D,void 0,Q,$)}catch(X){bt(1,30,"stopTrackEvent failed, event will not be collected: "+vt(X),{exception:De(X)})}},C.trackTrace=function(D,Q){try{var $=Ns(D,La[Vc],La[Cd],C[gr](),Q);C[zn][Ed]($)}catch(X){bt(2,39,"trackTrace failed, trace will not be collected: "+vt(X),{exception:De(X)})}},C.trackMetric=function(D,Q){try{var $=Ns(D,jr[Vc],jr[Cd],C[gr](),Q);C[zn][Ed]($)}catch(X){bt(1,36,"trackMetric failed, metric will not be collected: "+vt(X),{exception:De(X)})}},C[Nb]=function(D,Q){try{var $=D||{};r[Nb]($,Go(Go(Go({},$.properties),$.measurements),Q)),C.config[LT]&&a[DT]($.name,$.uri)}catch(X){bt(1,37,"trackPageView failed, page view will not be collected: "+vt(X),{exception:De(X)})}},C[Gc]=function(D,Q,$){var X=jo();X&&(D.refUri=D.refUri===void 0?X.referrer:D.refUri);var pe=Ns(D,Li[Vc],Li[Cd],C[gr](),Q,$);C[zn][Ed](pe),x=0},C[$T]=function(D,Q,$){var X=Ns(D,Pa[Vc],Pa[Cd],C[gr](),Q,$);C[zn][Ed](X)},C.trackPageViewPerformance=function(D,Q){var $=D||{};try{s[Fb]($),C[$T]($,Q)}catch(X){bt(1,37,"trackPageViewPerformance failed, page view will not be collected: "+vt(X),{exception:De(X)})}},C.startTrackPage=function(D){try{if(typeof D!="string"){var Q=jo();D=Q&&Q.title||""}i.start(D)}catch($){bt(1,31,"startTrackPage failed, page view may not be collected: "+vt($),{exception:De($)})}},C.stopTrackPage=function(D,Q,$,X){try{if(typeof D!="string"){var pe=jo();D=pe&&pe.title||""}if(typeof Q!="string"){var L=ur();Q=L&&L[Ad]||""}i.stop(D,Q,$,X),C.config[LT]&&a[DT](D,Q)}catch(j){bt(1,32,"stopTrackPage failed, page view will not be collected: "+vt(j),{exception:De(j)})}},C[ZO]=function(D,Q,$){var X=D&&(D[kL]||D[qb])||zm(D)&&D||{name:D&&typeof D,message:D||Yo};D=D||{};var pe=new Zn(C[gr](),X,D.properties||Q,D.measurements,D.severityLevel,D.id).toInterface(),L=Ns(pe,Zn[Vc],Zn[Cd],C[gr](),Q,$);C[zn][Ed](L)},C.trackException=function(D,Q){D&&!D[kL]&&D[qb]&&(D[kL]=D[qb]);try{C[ZO](D,Q)}catch($){bt(1,35,"trackException failed, exception will not be collected: "+vt($),{exception:De($)})}},C[IL]=function(D){var Q=D&&D[qb],$=D&&D.evt;try{if(!$){var X=Br();X&&($=X[q1e])}var pe=D&&D.url||(jo()||{}).URL,L=D[LL]||"window.onerror@"+pe+":"+(D[PL]||0)+":"+(D[RL]||0),j={errorSrc:L,url:pe,lineNumber:D[PL]||0,columnNumber:D[RL]||0,message:D[XO]};RO(D.message,D.url,D.lineNumber,D.columnNumber,D[qb])?It(Zn[ML]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",pe,D[PL]||0,D[RL]||0,Q,$,null,L),j):(D[LL]||(D[LL]=L),C.trackException({exception:D,severityLevel:3},j))}catch(he){var ie=Q?Q.name+", "+Q[XO]:"null";bt(1,11,"_onError threw exception while logging error, error will not be collected: "+vt(he),{exception:De(he),errorString:ie})}},C[zT]=function(D){if(C[zn])return C[zn][zT](D);l||(l=[]),l.push(D)},C.initialize=function(D,Q,$,X){if(!C.isInitialized()){ce(Q)&&Lo("Error initializing"),H.initialize(D,Q,$,X);try{I=Vr(Kn(C.identifier),Q.evtNamespace&&Q.evtNamespace()),l&&(Re(l,function(L){Q[zT](L)}),l=null);var pe=ue(D);O1e(pe),s=new Qpe(C[zn]),r=new Hpe(o,pe[SL],C[zn],s),a=new jpe(C[gr](),function(L,j,ie){return ae(L,j,ie)}),Ce(pe,D),n=new tH(C[gr](),"trackEvent"),n.action=function(L,j,ie,he,Ne){he||(he={}),Ne||(Ne={}),he.duration=ie[IT](),C.trackEvent({name:L,properties:he,measurements:Ne})},i=new tH(C[gr](),"trackPageView"),i.action=function(L,j,ie,he,Ne){ce(he)&&(he={}),he.duration=ie[IT]();var rt={name:L,uri:j,properties:he,measurements:Ne};C[Gc](rt,he)},zc()&&(Vt(pe),yo(pe))}catch(L){throw C.setInitialized(!1),L}}},C._doTeardown=function(D,Q){r&&r.teardown(D,Q),hd(window,null,null,I),Me()};function ue(D){var Q=Jn(null,D,C[zn]),$=C.identifier,X=Kpe(D),pe=C.config=Q.getExtCfg($);return X!==void 0&&Ct(X,function(L,j){pe[L]=Q.getConfig($,L,j),pe[L]===void 0&&(pe=j)}),pe}function Ce(D,Q){c=D[MT]||Q[MT],ht()}function ae(D,Q,$){var X={PageName:D,PageUrl:Q};C.trackMetric({name:"PageVisitTime",average:$,max:$,min:$,sampleCount:1},X)}function ht(){if(!u&&c){var D=["/browserLinkSignalR/","/__browserLink/"],Q=function($){if(c&&$.baseType===Yr[Vc]){var X=$.baseData;if(X){for(var pe=0;pe=0)return!1}}return!0};C[zT](Q),u=!0}}function It(D,Q){var $=Ns(D,Zn[Vc],Zn[Cd],C[gr](),Q);C[zn][Ed]($)}function Vt(D){var Q=Br(),$=ur(!0);g=D[TL],!g&&!f&&!D.autoExceptionInstrumented&&(F(wb(Q,"onerror",{ns:I,rsp:function(X,pe,L,j,ie,he){!g&&X.rslt!==!0&&C[IL](Zn[ML](pe,L,j,ie,he,X.evt))}},!1)),f=!0),Mt(D,Q,$)}function yo(D){var Q=Br(),$=ur(!0);if(p=D[CL]===!0,Q&&p&&VI()){var X=KU();je(X.pushState)&&je(X.replaceState)&&typeof Event!==ar&&ao(D,Q,X,$)}}function Ht(){var D=null;if(C[zn]&&C[zn].getTraceCtx&&(D=C[zn].getTraceCtx(!1)),!D){var Q=C[zn].getPlugin(wd);if(Q){var $=Q.plugin.context;$&&(D=tg($.telemetryTrace))}}return D}function ao(D,Q,$,X){var pe=D[EL]||"";function L(){p&&UT(Q,Qm(pe+"locationchange"))}function j(){if(T?(v=T,T=X&&X[Ad]||""):T=X&&X[Ad]||"",p){var ie=Ht();if(ie){ie.setTraceId(dr());var he="_unknown_";X&&X.pathname&&(he=X.pathname+(X.hash||"")),ie.setName(Gt(C[gr](),he))}setTimeout(function(Ne){C[Nb]({refUri:Ne,properties:{duration:0}})}.bind(this,v),C.autoRoutePVDelay)}}m||(F(wb($,"pushState",{ns:I,rsp:function(){p&&(UT(Q,Qm(pe+"pushState")),UT(Q,Qm(pe+"locationchange")))}},!0)),F(wb($,"replaceState",{ns:I,rsp:function(){p&&(UT(Q,Qm(pe+"replaceState")),UT(Q,Qm(pe+"locationchange")))}},!0)),Ds(Q,pe+"popstate",L,I),Ds(Q,pe+"locationchange",j,I),m=!0)}function Mt(D,Q,$){_=D[wL]===!0,_&&!h&&(F(wb(Q,"onunhandledrejection",{ns:I,rsp:function(X,pe){_&&X.rslt!==!0&&C[IL](Zn[ML](U1e(pe),$?$[Ad]:"",0,0,pe,X.evt))}},!1)),h=!0,D.autoUnhandledPromiseInstrumented=h)}function bt(D,Q,$,X,pe){C[gr]().throwInternal(D,Q,$,X,pe)}function Me(){n=null,i=null,r=null,s=null,a=null,l=null,c=!1,u=!1,p=!1,m=!1,g=!1,f=!1,_=!1,h=!1,x=0;var D=ur(!0);v=D&&D[Ad]||"",T=null,I=null}Ps(C,"_pageViewManager",function(){return r}),Ps(C,"_pageViewPerformanceManager",function(){return s}),Ps(C,"_pageVisitTimeManager",function(){return a}),Ps(C,"_evtNamespace",function(){return"."+I})}),o}return t.Version="2.8.13",t.getDefaultConfig=Kpe,t}(Aa);var Id="duration";var en="tags",UL="deviceType",fr="data",Al="name",ig="traceID",xt="length",Ld="stringify",Pd="measurements",Fs="dataType",Rd="envelopeType",Qc="toString",OT="onLine",HT="isOnline",rg="enqueue",Md="count",jc="push",BT="emitLineDelimitedJson",Dd="clear",sg="batchPayloads",$d="markAsSent",ag="clearSent",VT="bufferOverride",Hb="BUFFER_KEY",zd="SENT_BUFFER_KEY",Bb="MAX_BUFFER_SIZE",Yc="namePrefix",OL="maxBatchSizeInBytes",lg="triggerSend",vi="diagLog",oH="onunloadDisableBeacon",HL="isBeaconApiDisabled",Vb="_sender",so="_senderConfig",nH="enableSessionStorageBuffer",Nd="_buffer",iH="samplingPercentage",GT="instrumentationKey",Fd="endpointUrl",rH="customHeaders",Gb="disableXhr",sH="onunloadDisableFetch",BL="disableTelemetry",VL="baseType",Qb="sampleRate",aH="convertUndefined",Jpe="_xhrReadyStateChange",qs="_onError",GL="_onPartialSuccess",QT="_onSuccess",jT="itemsAccepted",Zpe="itemsReceived",jb="isRetryDisabled",QL="setRequestHeader",lH="maxBatchInterval",cH="eventsSendRequest",uH="disableInstrumentationKeyValidation",jL="getSamplingScore",Xpe="getHashCodeScore";var dH="baseType",bo="baseData",Nn="properties",eme="true";function tn(e,t,o){return Ft(e,t,o,hb)}function H1e(e,t,o){var n=o[en]=o[en]||{},i=t.ext=t.ext||{},r=t[en]=t[en]||[],s=i.user;s&&(tn(n,Xt.userAuthUserId,s.authId),tn(n,Xt.userId,s.id||s.localId));var a=i.app;a&&tn(n,Xt.sessionId,a.sesId);var l=i.device;l&&(tn(n,Xt.deviceId,l.id||l.localId),tn(n,Xt[UL],l.deviceClass),tn(n,Xt.deviceIp,l.ip),tn(n,Xt.deviceModel,l.model),tn(n,Xt[UL],l[UL]));var c=t.ext.web;if(c){tn(n,Xt.deviceLanguage,c.browserLang),tn(n,Xt.deviceBrowserVersion,c.browserVer),tn(n,Xt.deviceBrowser,c.browser);var u=o[fr]=o[fr]||{},p=u[bo]=u[bo]||{},m=p[Nn]=p[Nn]||{};tn(m,"domain",c.domain),tn(m,"isManual",c.isManual?eme:null),tn(m,"screenRes",c.screenRes),tn(m,"userConsent",c.userConsent?eme:null)}var g=i.os;g&&tn(n,Xt.deviceOS,g[Al]);var f=i.trace;f&&(tn(n,Xt.operationParentId,f.parentID),tn(n,Xt.operationName,Gt(e,f[Al])),tn(n,Xt.operationId,f[ig]));for(var _={},h=r[xt]-1;h>=0;h--){var x=r[h];Ct(x,function(T,I){_[T]=I}),r.splice(h,1)}Ct(r,function(T,I){_[T]=I});var v=Go(Go({},n),_);v[Xt.internalSdkVersion]||(v[Xt.internalSdkVersion]="javascript:".concat(B1e.Version)),o[en]=OI(v)}function qd(e,t,o){ce(e)||Ct(e,function(n,i){nT(i)?o[n]=i:Oe(i)?t[n]=i:Ca()&&(t[n]=Sn()[Ld](i))})}function cg(e,t){ce(e)||Ct(e,function(o,n){e[o]=n||t})}function ug(e,t,o,n){var i=new vL(e,n,t);tn(i,"sampleRate",o[Cb]),(o[bo]||{}).startTime&&(i.time=Or(o[bo].startTime)),i.iKey=o.iKey;var r=o.iKey.replace(/-/g,"");return i[Al]=i[Al].replace("{0}",r),H1e(e,o,i),o[en]=o[en]||[],OI(i)}function dg(e,t){ce(t[bo])&&_e(e,1,46,"telemetryItem.baseData cannot be null.")}var B1e={Version:"2.8.13"};function tme(e,t,o){dg(e,t);var n=t[bo][Pd]||{},i=t[bo][Nn]||{};qd(t[fr],i,n),ce(o)||cg(i,o);var r=t[bo];if(ce(r))return Ms(e,"Invalid input for dependency data"),null;var s=r[Nn]&&r[Nn][hT]?r[Nn][hT]:"GET",a=new Yr(e,r.id,r.target,r[Al],r[Id],r.success,r.responseCode,s,r.type,r.correlationContext,i,n),l=new Cl(Yr[Fs],a);return ug(e,Yr[Rd],t,l)}function pH(e,t,o){dg(e,t);var n={},i={};t[dH]!==Qr[Fs]&&(n.baseTypeSource=t[dH]),t[dH]===Qr[Fs]?(n=t[bo][Nn]||{},i=t[bo][Pd]||{}):t[bo]&&qd(t[bo],n,i),qd(t[fr],n,i),ce(o)||cg(n,o);var r=t[bo][Al],s=new Qr(e,r,n,i),a=new Cl(Qr[Fs],s);return ug(e,Qr[Rd],t,a)}function ome(e,t,o){dg(e,t);var n=t[bo][Pd]||{},i=t[bo][Nn]||{};qd(t[fr],i,n),ce(o)||cg(i,o);var r=t[bo],s=Zn.CreateFromInterface(e,r,i,n),a=new Cl(Zn[Fs],s);return ug(e,Zn[Rd],t,a)}function nme(e,t,o){dg(e,t);var n=t[bo],i=n[Nn]||{},r=n[Pd]||{};qd(t[fr],i,r),ce(o)||cg(i,o);var s=new jr(e,n[Al],n.average,n.sampleCount,n.min,n.max,n.stdDev,i,r),a=new Cl(jr[Fs],s);return ug(e,jr[Rd],t,a)}function ime(e,t,o){dg(e,t);var n,i=t[bo];!ce(i)&&!ce(i[Nn])&&!ce(i[Nn][Id])?(n=i[Nn][Id],delete i[Nn][Id]):!ce(t[fr])&&!ce(t[fr][Id])&&(n=t[fr][Id],delete t[fr][Id]);var r=t[bo],s;((t.ext||{}).trace||{})[ig]&&(s=t.ext.trace[ig]);var a=r.id||s,l=r[Al],c=r.uri,u=r[Nn]||{},p=r[Pd]||{};if(ce(r.refUri)||(u.refUri=r.refUri),ce(r.pageType)||(u.pageType=r.pageType),ce(r.isLoggedIn)||(u.isLoggedIn=r.isLoggedIn[Qc]()),!ce(r[Nn])){var m=r[Nn];Ct(m,function(_,h){u[_]=h})}qd(t[fr],u,p),ce(o)||cg(u,o);var g=new Li(e,l,c,n,u,p,a),f=new Cl(Li[Fs],g);return ug(e,Li[Rd],t,f)}function rme(e,t,o){dg(e,t);var n=t[bo],i=n[Al],r=n.uri||n.url,s=n[Nn]||{},a=n[Pd]||{};qd(t[fr],s,a),ce(o)||cg(s,o);var l=new Pa(e,i,r,void 0,s,a,n),c=new Cl(Pa[Fs],l);return ug(e,Pa[Rd],t,c)}function sme(e,t,o){dg(e,t);var n=t[bo].message,i=t[bo].severityLevel,r=t[bo][Nn]||{},s=t[bo][Pd]||{};qd(t[fr],r,s),ce(o)||cg(r,o);var a=new La(e,n,i,r,s),l=new Cl(La[Fs],a);return ug(e,La[Rd],t,l)}function ame(e,t){hd(e,null,null,t)}function lme(e){var t,o=jo(),n=Ii(),i=!1,r=!0,s=Vr(Kn("OfflineListener"),e);try{if(l(Br())&&(i=!0),o){var a=o.body||o;a.ononline&&l(a)&&(i=!0)}i&&n&&!ce(n[OT])&&(r=n[OT])}catch{i=!1}function l(g){var f=!1;return g&&(f=Ds(g,"online",c,s),f&&Ds(g,"offline",u,s)),f}function c(){r=!0}function u(){r=!1}function p(){var g=!0;return i?g=r:n&&!ce(n[OT])&&(g=n[OT]),g}function m(){var g=Br();if(g&&i){if(ame(g,s),o){var f=o.body||o;ho(f.ononline)||ame(f,s)}i=!1}}return t={},t[HT]=p,t.isListening=function(){return i},t.unload=m,t}var cme=function(){function e(t,o){var n=[],i=!1;this._get=function(){return n},this._set=function(r){return n=r,n},ct(e,this,function(r){r[rg]=function(s){if(r[Md]()>=o.eventsLimitInMem()){i||(_e(t,2,105,"Maximum in-memory buffer size reached: "+r[Md](),!0),i=!0);return}n[jc](s)},r[Md]=function(){return n[xt]},r.size=function(){for(var s=n[xt],a=0;a0){var a=o[BT]()?s.join(` `):"["+s.join(",")+"]";return a}return null}})}return e.__ieDyn=1,e}(),ume=function(e){Rn(t,e);function t(o,n){var i=e.call(this,o,n)||this;return ct(t,i,function(r,s){r[$d]=function(a){s[Dd]()},r[ag]=function(a){}}),i}return t.__ieDyn=1,t}(cme);var dme=function(e){Rn(t,e);function t(o,n){var i=e.call(this,o,n)||this,r=!1,s=n[VT]()||{getItem:Pb,setItem:wT},a=s.getItem,l=s.setItem;return ct(t,i,function(c,u){var p=_(t[Hb]),m=_(t[zd]),g=c._set(p.concat(m));g[xt]>t[Bb]&&(g[xt]=t[Bb]),h(t[zd],[]),h(t[Hb],g),c[rg]=function(x){if(c[Md]()>=t[Bb]){r||(_e(o,2,67,"Maximum buffer size reached: "+c[Md](),!0),r=!0);return}u[rg](x),h(t[Hb],c._get())},c[Dd]=function(){u[Dd](),h(t[Hb],c._get()),h(t[zd],[]),r=!1},c[$d]=function(x){h(t[Hb],c._set(f(x,c._get())));var v=_(t[zd]);v instanceof Array&&x instanceof Array&&(v=v.concat(x),v[xt]>t[Bb]&&(_e(o,1,67,"Sent buffer reached its maximum size: "+v[xt],!0),v[xt]=t[Bb]),h(t[zd],v))},c[ag]=function(x){var v=_(t[zd]);v=f(x,v),h(t[zd],v)};function f(x,v){var T=[];return Re(v,function(I){!je(I)&&Dn(x,I)===-1&&T[jc](I)}),T}function _(x){var v=x;try{v=n[Yc]&&n[Yc]()?n[Yc]()+"_"+v:v;var T=a(o,v);if(T){var I=Sn().parse(T);if(Oe(I)&&(I=Sn().parse(I)),I&&wt(I))return I}}catch(C){_e(o,1,42," storage key: "+v+", "+vt(C),{exception:De(C)})}return[]}function h(x,v){var T=x;try{T=n[Yc]&&n[Yc]()?n[Yc]()+"_"+T:T;var I=JSON[Ld](v);l(o,T,I)}catch(C){l(o,T,JSON[Ld]([])),_e(o,2,41," storage key: "+T+", "+vt(C)+". Buffer cleared",{exception:De(C)})}}}),i}return t.BUFFER_KEY="AI_buffer",t.SENT_BUFFER_KEY="AI_sentBuffer",t.MAX_BUFFER_SIZE=2e3,t}(cme);var pme=function(){function e(t){ct(e,this,function(o){o.serialize=function(s){var a=n(s,"root");try{return Sn()[Ld](a)}catch(l){_e(t,1,48,l&&je(l[Qc])?l[Qc]():"Error serializing object",null,!0)}};function n(s,a){var l="__aiCircularRefCheck",c={};if(!s)return _e(t,1,48,"cannot serialize object because it is null or undefined",{name:a},!0),c;if(s[l])return _e(t,2,50,"Circular reference detected while serializing object",{name:a},!0),c;if(!s.aiDataContract){if(a==="measurements")c=r(s,"number",a);else if(a==="properties")c=r(s,"string",a);else if(a==="tags")c=r(s,"string",a);else if(wt(s))c=i(s,a);else{_e(t,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:a},!0);try{Sn()[Ld](s),c=s}catch(u){_e(t,1,48,u&&je(u[Qc])?u[Qc]():"Error serializing object",null,!0)}}return c}return s[l]=!0,Ct(s.aiDataContract,function(u,p){var m=je(p)?p()&1:p&1,g=je(p)?p()&4:p&4,f=p&2,_=s[u]!==void 0,h=gi(s[u])&&s[u]!==null;if(m&&!_&&!f)_e(t,1,24,"Missing required field specification. The field is required but not present on source",{field:u,name:a});else if(!g){var x=void 0;h?f?x=i(s[u],u):x=n(s[u],u):x=s[u],x!==void 0&&(c[u]=x)}}),delete s[l],c}function i(s,a){var l;if(s)if(!wt(s))_e(t,1,54,`This field was specified as an array in the contract but the item is not an array.\r `,{name:a},!0);else{l=[];for(var c=0;c100||t<0)&&(n.throwInternal(2,58,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:t},!0),t=100),this[Qb]=t,this.samplingScoreGenerator=new gme}return e.prototype.isSampledIn=function(t){var o=this[Qb],n=!1;return o==null||o>=100||t.baseType===jr[Fs]?!0:(n=this.samplingScoreGenerator[jL](t)h._senderConfig[OL]()&&h[lg](!0,null,10),Ht())},h.flush=function(L,j,ie){if(L===void 0&&(L=!0),!s){ao();try{h[lg](L,null,ie||1)}catch(he){_e(h[vi](),1,22,"flush failed, telemetry will not be collected: "+vt(he),{exception:De(he)})}}},h.onunloadFlush=function(){if(!s)if((h._senderConfig[oH]()===!1||h[so][HL]()===!1)&&md())try{h[lg](!0,C,2)}catch(L){_e(h[vi](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+vt(L),{exception:De(L)})}else h.flush()},h.addHeader=function(L,j){u[L]=j},h.initialize=function(L,j,ie,he){h.isInitialized()&&_e(h[vi](),1,28,"Sender is already initialized"),x.initialize(L,j,ie,he);var Ne=h._getTelCtx(),rt=h.identifier;l=new pme(j.logger),n=0,i=null,r=0,h[Vb]=null,c=0;var gt=h[vi]();_=Vr(Kn("Sender"),j.evtNamespace&&j.evtNamespace()),f=lme(_);var lo=hme();Ct(lo,function(re,me){h[so][re]=function(){var ye=Ne.getConfig(rt,re,me());return!ye&&re==="endpointUrl"&&(ye=me()),ye}});var ln=h[so][nH]()&&!!(h._senderConfig[VT]()||xd());h[Nd]=ln?new dme(gt,h[so]):new ume(gt,h[so]),h._sample=new fme(h[so][iH](),gt),X(L)||_e(gt,1,100,"Invalid Instrumentation key "+L[GT]),!eg(h._senderConfig.endpointUrl())&&h._senderConfig.customHeaders()&&h._senderConfig.customHeaders()[xt]>0&&Re(h[so][rH](),function(re){o.addHeader(re.header,re.value)});var xo=h[so],B=null;!xo[Gb]()&&QI()?B=Me:!xo[Gb]()&&Fm()&&(B=ue),!B&&GI()&&(B=ae),m=B||ue,!xo[HL]()&&md()&&(B=F),h[Vb]=B||ue,!xo[sH]()&&GI(!0)?g=Ce:md()?g=F:!xo[Gb]()&&QI()?g=Me:!xo[Gb]()&&Fm()?g=ue:g=m},h.processTelemetry=function(L,j){j=h._getTelCtx(j);var ie=j[vi]();try{if(h[so][BL]())return;if(!L){_e(ie,1,7,"Cannot send empty telemetry");return}if(L.baseData&&!L[VL]){_e(ie,1,70,"Cannot send telemetry without baseData and baseType");return}if(L[VL]||(L[VL]="EventData"),!h[Vb]){_e(ie,1,28,"Sender was not initialized");return}if(v(L))L[Cb]=h._sample[Qb];else{_e(ie,2,33,"Telemetry item was sampled out and not sent",{SampleRate:h._sample[Qb]});return}var he=h[so][aH]()||void 0,Ne=L.iKey||h[so][GT](),rt=t.constructEnvelope(L,Ne,ie,he);if(!rt){_e(ie,1,47,"Unable to create an AppInsights envelope");return}var gt=!1;if(L[en]&&L[en][Eb]&&(Re(L[en][Eb],function(B){try{B&&B(rt)===!1&&(gt=!0,Ms(ie,"Telemetry processor check returns false"))}catch(re){_e(ie,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+vt(re),{exception:De(re)},!0)}}),delete L[en][Eb]),gt)return;var lo=l.serialize(rt),ln=h[Nd],xo=ln.size();xo+lo[xt]>h[so][OL]()&&(!f||f[HT]())&&h[lg](!0,null,10),ln[rg](lo),Ht()}catch(B){_e(ie,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+vt(B),{exception:De(B)})}h.processNext(L,j)},h[Jpe]=function(L,j,ie){L.readyState===4&&T(L.status,j,L.responseURL,ie,bt(L),YL(L)||L.response)},h[lg]=function(L,j,ie){if(L===void 0&&(L=!0),!s)try{var he=h[Nd];if(h[so][BL]())he[Dd]();else{if(he[Md]()>0){var Ne=he.getItems();$(ie||0,L),j?j.call(o,Ne,L):h[Vb](Ne,L)}r=+new Date}ao()}catch(gt){var rt=xb();(!rt||rt>9)&&_e(h[vi](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+vt(gt),{exception:De(gt)})}},h._doTeardown=function(L,j){h.onunloadFlush(),f.unload(),pe()},h[qs]=function(L,j,ie){_e(h[vi](),2,26,"Failed to send telemetry.",{message:j}),h._buffer[ag](L)},h[GL]=function(L,j){for(var ie=[],he=[],Ne=j.errors.reverse(),rt=0,gt=Ne;rt0&&h[QT](L,j[jT]),ie[xt]>0&&h[qs](ie,bt(null,["partial success",j[jT],"of",j.itemsReceived].join(" "))),he[xt]>0&&(Vt(he),_e(h[vi](),2,40,"Partial success. Delivered: "+L[xt]+", Failed: "+ie[xt]+". Will retry to send "+he[xt]+" our of "+j[Zpe]+" items"))},h[QT]=function(L,j){h._buffer[ag](L)},h._xdrOnLoad=function(L,j){var ie=YL(L);if(L&&(ie+""=="200"||ie===""))n=0,h[QT](j,0);else{var he=It(ie);he&&he.itemsReceived&&he.itemsReceived>he[jT]&&!h[so][jb]()?h[GL](j,he):h[qs](j,D(L))}};function v(L){return h._sample.isSampledIn(L)}function T(L,j,ie,he,Ne,rt){var gt=null;if(h._appId||(gt=It(rt),gt&>.appId&&(h._appId=gt.appId)),(L<200||L>=300)&&L!==0){if((L===301||L===307||L===308)&&!I(ie)){h[qs](j,Ne);return}!h[so][jb]()&&Mt(L)?(Vt(j),_e(h[vi](),2,40,". Response code "+L+". Will retry to send "+j[xt]+" items.")):h[qs](j,Ne)}else if(f&&!f[HT]()){if(!h[so][jb]()){var lo=10;Vt(j,lo),_e(h[vi](),2,40,". Offline - Response Code: ".concat(L,". Offline status: ").concat(!f.isOnline(),". Will retry to send ").concat(j.length," items."))}}else I(ie),L===206?(gt||(gt=It(rt)),gt&&!h[so][jb]()?h[GL](j,gt):h[qs](j,Ne)):(n=0,h[QT](j,he))}function I(L){return c>=10?!1:!ce(L)&&L!==""&&L!==h[so][Fd]()?(h[so][Fd]=function(){return L},++c,!0):!1}function C(L,j){g?g(L,!1):F(L,j)}function H(L){var j=Ii(),ie=h[Nd],he=h[so][Fd](),Ne=h._buffer[sg](L),rt=new Blob([Ne],{type:"text/plain;charset=UTF-8"}),gt=j.sendBeacon(he,rt);return gt&&(ie[$d](L),h._onSuccess(L,L[xt])),gt}function F(L,j){if(wt(L)&&L[xt]>0&&!H(L)){for(var ie=[],he=0;he0&&(m&&m(ie,!0),_e(h[vi](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function ue(L,j){var ie=new XMLHttpRequest,he=h[so][Fd]();try{ie[ka]=!0}catch{}ie.open("POST",he,j),ie[QL]("Content-type","applicationhttps://www.microsoft.com/json"),eg(he)&&ie[QL](Zt[6],Zt[7]),Re(cr(u),function(rt){ie[QL](rt,u[rt])}),ie.onreadystatechange=function(){return h._xhrReadyStateChange(ie,L,L[xt])},ie.onerror=function(rt){return h[qs](L,bt(ie),rt)};var Ne=h._buffer[sg](L);ie.send(Ne),h._buffer[$d](L)}function Ce(L,j){if(wt(L)){for(var ie=L[xt],he=0;he=j[jT]&&j.itemsReceived-j.itemsAccepted===j.errors[xt])return j}}catch(ie){_e(h[vi](),1,43,"Cannot parse the response. "+vt(ie),{response:L})}return null}function Vt(L,j){if(j===void 0&&(j=1),!(!L||L[xt]===0)){var ie=h[Nd];ie[ag](L),n++;for(var he=0,Ne=L;he=200&&+c[Wr]<400,g.responseCode=+c[Wr],g[Ud]={HttpMethod:c[Il]},g),_=f[Ud];if(c[Od]&&(_[Od]=!0),c[Zc]&&(f[Kc]=new Date,f[Kc].setTime(c[Zc])),j1e(c,f),p&&cr(c.requestHeaders)[Ra]>0&&(_[_r]=c[_r]),m){var h=m();if(h){var x=h[kme];if(x&&(f.correlationContext=x),h[Zb]&&cr(h.headerMap)[Ra]>0&&(_.responseHeaders=h[Zb]),c[tS])if(c[Wr]>=400){var v=h.type;(v===""||v==="text")&&(_.responseText=h.responseText?h[Jc]+" - "+h[l]:h[Jc]),v==="json"&&(_.responseText=h.response?h[Jc]+" - "+JSON.stringify(h[XL]):h[Jc])}else c[Wr]===0&&(_.responseText=h[Jc]||"")}}return f},c[nS]=function(){var u,p=null,m=c[tP];if(m&&(m[Kb]||m[Jb])){p={};var g=p[Xn.TraceExt]=(u={},u[Ma]=m[Kb],u.parentID=m[Jb],u);ce(m[br])||(g[br]=m[br])}return p}})}return e.__ieDyn=1,e}();var Lme="ai.ajxmn.",aS="diagLog",Kr="ajaxData",fg="fetch",rS="Failed to monitor XMLHttpRequest",Fme=", monitoring data for this ajax call ",e_=Fme+"may be incorrect.",Pme=Fme+"won't be sent.",Rme="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",Mme="Failed to add custom defined request context as configured call back may missing a null check.",Dme="Failed to calculate the duration of the ",$me=0;function W1e(){var e=ks();return!e||ce(e.Request)||ce(e.Request[ko])||ce(e[fg])?null:e[fg]}var oP=null;function K1e(){if(oP==null)try{oP=!!(self&&self instanceof WorkerGlobalScope)}catch{oP=!1}return oP}function J1e(e){var t=!1;if(Fm()){var o=XMLHttpRequest[ko];t=!ce(o)&&!ce(o.open)&&!ce(o.send)&&!ce(o.abort)}var n=xb();if(n&&n<9&&(t=!1),t)try{var i=new XMLHttpRequest;i[Kr]={};var r=XMLHttpRequest[ko].open;XMLHttpRequest[ko].open=r}catch(s){t=!1,lS(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:De(s)})}return t}function iP(e){var t="";try{e&&e[Kr]&&e[Kr][hr]&&(t+="(url: '"+e[Kr][hr]+"')")}catch{}return t}function lS(e,t,o,n,i){_e(e[aS](),1,t,o,n,i)}function t_(e,t,o,n,i){_e(e[aS](),2,t,o,n,i)}function sS(e,t,o){return function(n){lS(e,t,o,{ajaxDiagnosticsMessage:iP(n[Yb]),exception:De(n.err)})}}function o_(e,t){return e&&t?e.indexOf(t):-1}function zme(e,t,o){var n={id:t,fn:o};return e.push(n),{remove:function(){Re(e,function(i,r){if(i.id===n.id)return e.splice(r,1),-1})}}}function qme(e,t,o,n){var i=!0;return Re(t,function(r,s){try{r.fn.call(null,o)===!1&&(i=!1)}catch(a){_e(e&&e.logger,1,64,"Dependency "+n+" [#"+s+"] failed: "+vt(a),{exception:De(a)},!0)}}),i}function Z1e(e,t,o,n,i,r){var s=e[Ra];if(s>0){var a={core:t,xhr:n,input:i,init:r,traceId:o[Ma],spanId:o[kl],traceFlags:o[br],context:o[Wb]||{},aborted:!!o[Od]};qme(t,e,a,"listener"),o[Ma]=a[Kb],o[kl]=a[Jb],o[br]=a[br],o[Wb]=a[Wb]}}var nP="*.blob.core.",Ume=fb([nP+"windows.net",nP+"chinacloudapi.cn",nP+"cloudapi.de",nP+"usgovcloudapi.net"]),X1e=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function yH(){var e={maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:Ume,correlationHeaderDomains:void 0,correlationHeaderExcludePatterns:void 0,appId:void 0,enableCorsCorrelation:!1,enableRequestHeaderTracking:!1,enableResponseHeaderTracking:!1,enableAjaxErrorStatusText:!1,enableAjaxPerfTracking:!1,maxAjaxPerfLookupAttempts:3,ajaxPerfLookupDelay:25,ignoreHeaders:["Authorization","X-API-Key","WWW-Authenticate"],addRequestContext:void 0,addIntEndpoints:!0};return e}function Nme(){var e=yH();return Ct(e,function(t){e[t]=void 0}),e}var xH=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.identifier=t.identifier,o.priority=120;var n,i,r,s,a,l,c,u,p,m,g,f,_,h,x,v,T,I,C,H,F,ue,Ce;return ct(t,o,function(ae,ht){var It=ht._addHook;Vt(),ae.initialize=function(B,re,me,ye){ae.isInitialized()||(ht.initialize(B,re,me,ye),H=Vr(Kn("ajax"),re&&re.evtNamespace&&re.evtNamespace()),yo(B),Me(),Mt(),Ht())},ae._doTeardown=function(){Vt()},ae.trackDependencyData=function(B,re){xo(Ce,ae[Da],null,B,re)},ae[WL]=function(B,re,me,ye){var Ee=ae._currentWindowHost||r;if(Z1e(ue,ae[Da],B,ye,re,me),re){if(Bc[fH](s,B[YT](),Ee)){me||(me={});var Ye=new Headers(me[Hd]||(re instanceof Request?re[Hd]||{}:{}));if(m){var We="|"+B[Ma]+"."+B[kl];Ye.set(Zt[3],We),a&&(B[_r][Zt[3]]=We)}var Nt=s[WT]||u&&u[WT]();if(Nt&&(Ye.set(Zt[0],Zt[2]+Nt),a&&(B[_r][Zt[0]]=Zt[2]+Nt)),p){var nt=B[br];ce(nt)&&(nt=1);var Ot=pT(dT(B[Ma],B[kl],nt));Ye.set(Zt[4],Ot),a&&(B[_r][Zt[4]]=Ot)}me[Hd]=Ye}return me}else if(ye){if(Bc[fH](s,B[YT](),Ee)){if(m){var We="|"+B[Ma]+"."+B[kl];ye[KL](Zt[3],We),a&&(B[_r][Zt[3]]=We)}var Nt=s[WT]||u&&u[WT]();if(Nt&&(ye[KL](Zt[0],Zt[2]+Nt),a&&(B[_r][Zt[0]]=Zt[2]+Nt)),p){var nt=B[br];ce(nt)&&(nt=1);var Ot=pT(dT(B[Ma],B[kl],nt));ye[KL](Zt[4],Ot),a&&(B[_r][Zt[4]]=Ot)}}return ye}},ae[hH]=function(B,re,me){if(_===-1||c<_){(s[JL]===2||s[JL]===1)&&typeof B.id=="string"&&B.id[B.id[Ra]-1]!=="."&&(B.id+="."),ce(B[Kc])&&(B[Kc]=new Date);var ye=Ns(B,Yr.dataType,Yr.envelopeType,ae[aS](),re,me);ae[Da].track(ye)}else c===_&&lS(ae,55,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0);++c},ae.addDependencyListener=function(B){return zme(ue,F++,B)},ae.addDependencyInitializer=function(B){return zme(Ce,F++,B)};function Vt(){var B=ur();n=!1,i=!1,r=B&&B.host&&B.host[pg](),s=t.getEmptyConfig(),a=!1,l=!1,c=0,u=null,p=!1,m=!1,g=null,f=!1,_=0,h=!1,x={},v=!1,T=!1,I=null,C=null,H=null,F=0,ue=[],Ce=[]}function yo(B){var re=Jn(null,B,ae[Da]);s=Nme();var me=yH();Ct(me,function(Ye,We){s[Ye]=re.getConfig(t.identifier,Ye,We)});var ye=s[JL];if(a=s[bme],l=s[_me],f=s[vme],_=s[yme],h=s[xme],I=[].concat(s[Tme]||[],s.addIntEndpoints!==!1?X1e:[]),C=s[Sme],m=ye===0||ye===1,p=ye===1||ye===2,f){var Ee=B.instrumentationKey||"unkwn";Ee[Ra]>5?g=Lme+Ee.substring(Ee[Ra]-5)+".":g=Lme+Ee+"."}v=!!s[wme],T=!!s[Cme]}function Ht(){var B=ae[Da].getPlugin(wd);B&&(u=B.plugin[Wb])}function ao(B){var re=!0;return(B||s.ignoreHeaders)&&Re(s.ignoreHeaders,function(me){if(me[pg]()===B[pg]())return re=!1,-1}),re}function Mt(){var B=W1e();if(B){var re=ks(),me=B.polyfill;!T&&!n?(It(fT(re,fg,{ns:H,req:function(ye,Ee,Ye){var We;if(!T&&n&&!D(null,Ee,Ye)&&!(me&&i)){var Nt=ye.ctx();We=rt(Ee,Ye);var nt=ae[WL](We,Ee,Ye);nt!==Ye&&ye.set(1,nt),Nt.data=We}},rsp:function(ye,Ee){if(!T){var Ye=ye.ctx().data;Ye&&(ye.rslt=ye.rslt.then(function(We){return lo(ye,(We||{})[Wr],Ee,We,Ye,function(){var Nt={statusText:(We||{})[Jc],headerMap:null,correlationContext:ln(We)};if(h&&We){var nt={};We.headers.forEach(function(Ot,Ti){ao(Ti)&&(nt[Ti]=Ot)}),Nt[Zb]=nt}return Nt}),We}).catch(function(We){throw lo(ye,0,Ee,null,Ye,null,{error:We.message||De(We)}),We}))}},hkErr:sS(ae,15,"Failed to monitor Window.fetch"+e_)},!0,K1e())),n=!0):me&&It(fT(re,fg,{ns:H,req:function(ye,Ee,Ye){D(null,Ee,Ye)}})),me&&(re[fg].polyfill=me)}}function bt(B,re,me){It(kO(B,re,me))}function Me(){J1e(ae)&&!v&&!i&&(bt(XMLHttpRequest,"open",{ns:H,req:function(B,re,me,ye){if(!v){var Ee=B[Yb],Ye=Ee[Kr];!D(Ee,me)&&Q(Ee,!0)&&((!Ye||!Ye.xhrMonitoringState[KT])&&X(Ee,re,me,ye),pe(Ee))}},hkErr:sS(ae,15,rS+".open"+e_)}),bt(XMLHttpRequest,"send",{ns:H,req:function(B,re){if(!v){var me=B[Yb],ye=me[Kr];Q(me)&&!ye.xhrMonitoringState[JT]&&(he("xhr",ye),ye[Zc]=Mb(),ae[WL](ye,void 0,void 0,me),ye.xhrMonitoringState[JT]=!0)}},hkErr:sS(ae,17,rS+e_)}),bt(XMLHttpRequest,"abort",{ns:H,req:function(B){if(!v){var re=B[Yb],me=re[Kr];Q(re)&&!me.xhrMonitoringState[ZT]&&(me[Od]=1,me.xhrMonitoringState[ZT]=!0)}},hkErr:sS(ae,13,rS+".abort"+e_)}),bt(XMLHttpRequest,"setRequestHeader",{ns:H,req:function(B,re,me){if(!v&&a){var ye=B[Yb];Q(ye)&&ao(re)&&(ye[Kr][_r][re]=me)}},hkErr:sS(ae,71,rS+".setRequestHeader"+e_)}),i=!0)}function D(B,re,me){var ye=!1,Ee=((Oe(re)?re:(re||{}).url||"")||"")[pg]();if(Re(I,function(Nt){var nt=Nt;Oe(Nt)&&(nt=new RegExp(Nt)),ye||(ye=nt.test(Ee))}),ye)return ye;var Ye=o_(Ee,"?"),We=o_(Ee,"#");return(Ye===-1||We!==-1&&We=0;$e--){var O=yp[$e];if(O){if(O.entryType==="resource")O.initiatorType===B&&(o_(O[Bd],nt)!==-1||o_(nt,O[Bd])!==-1)&&(ri=O);else if(O.entryType==="mark"&&O[Bd]===Ee[Bd]){re[iS]=ri;break}if(O[Kc]=We||re.async===!1?(Ee&&je(Ye.clearMarks)&&Ye.clearMarks(Ee[Bd]),re.perfAttempts=Ot,me()):setTimeout(Ti,Nt)}catch(E){ye(E)}})()}function rt(B,re){var me,ye=$(),Ee=ye&&ye[XT]()||dr(),Ye=dr().substr(0,16),We=new vH(Ee,Ye,ae[aS](),(me=ae.core)===null||me===void 0?void 0:me.getTraceCtx());We[br]=ye&&ye[eS](),We[Zc]=Mb(),We[tS]=l,B instanceof Request?We[hr]=B?B.url:"":We[hr]=B;var Nt="GET";re&&re[Il]?Nt=re[Il]:B&&B instanceof Request&&(Nt=B[Il]),We[Il]=Nt;var nt={};if(a){var Ot=new Headers((re?re[Hd]:0)||(B instanceof Request?B[Hd]||{}:{}));Ot.forEach(function(Ti,ri){ao(ri)&&(nt[ri]=Ti)})}return We[_r]=nt,he(fg,We),We}function gt(B){var re="";try{ce(B)||(typeof B=="string"?re+="(url: '".concat(B,"')"):re+="(url: '".concat(B.url,"')"))}catch(me){lS(ae,15,"Failed to grab failed fetch diagnostics message",{exception:De(me)})}return re}function lo(B,re,me,ye,Ee,Ye,We){if(!Ee)return;function Nt(nt,Ot,Ti){var ri=Ti||{};ri.fetchDiagnosticsMessage=gt(me),Ot&&(ri.exception=De(Ot)),t_(ae,nt,Dme+"fetch call"+Pme,ri)}Ee[mg]=Mb(),Ee[Wr]=re,Ne(fg,Ee,function(){var nt=Ee[oS]("Fetch",a,Ye),Ot;try{C&&(Ot=C({status:re,request:me,response:ye}))}catch{t_(ae,104,Mme)}if(nt){Ot!==void 0&&(nt[Ud]=Go(Go({},nt.properties),Ot));var Ti=Ee[nS]();xo(Ce,ae[Da],Ee,nt,null,Ti)}else Nt(14,null,{requestSentTime:Ee[Zc],responseFinishedTime:Ee[mg]})},function(nt){Nt(18,nt,null)})}function ln(B){if(B&&B[Hd])try{var re=B[Hd].get(Zt[0]);return Bc[_H](re)}catch(me){t_(ae,18,Rme,{fetchDiagnosticsMessage:gt(B),exception:De(me)})}}function xo(B,re,me,ye,Ee,Ye){var We=!0,Nt=B[Ra];if(Nt>0){var nt={item:ye,properties:Ee,sysProperties:Ye,context:me?me[Wb]:null,aborted:me?!!me[Od]:!1};We=qme(re,B,nt,"initializer")}We&&ae[hH](ye,Ee,Ye)}}),o}return t.prototype.processTelemetry=function(o,n){this.processNext(o,n)},t.prototype.addDependencyInitializer=function(o){return null},t.identifier="AjaxDependencyPlugin",t.getDefaultConfig=yH,t.getEmptyConfig=Nme,t}(Aa);var Ome=function(){function e(){}return e}();var Hme=function(){function e(){this.id="browser",this.deviceClass="Browser"}return e}();var n_="sessionManager",hg="update",i_="isUserCookieSet",r_="isNewUser",rP="getTraceCtx",cS="telemetryTrace",sP="applySessionContext",aP="applyApplicationContext",lP="applyDeviceContext",cP="applyOperationContext",uP="applyUserContext",dP="applyOperatingSystemContxt",pP="applyLocationContext",mP="applyInternalContext",$a="accountId",s_="sdkExtension",a_="getSessionId",Ll="namePrefix",l_="sessionCookiePostfix",c_="userCookiePostfix",Gd="idLength",Qd="getNewId",bg="length",jd="automaticSession",Yd="authenticatedId",u_="sessionExpirationMs",uS="sessionRenewalMs",za="config",d_="acquisitionDate",dS="renewalDate",pS="cookieDomain",p_="join",m_="cookieSeparator",gP="authUserCookieName";var e$e="2.8.13",Bme=function(){function e(t){this.sdkVersion=(t[s_]&&t[s_]()?t[s_]()+"_":"")+"javascript:"+e$e}return e}();var Vme=function(){function e(){}return e}();var t$e="ai_session",TH=function(){function e(){}return e}();var Gme=function(){function e(t,o){var n=this,i,r,s=Ea(o),a=Bm(o);ct(e,n,function(l){t||(t={}),je(t[u_])||(t[u_]=function(){return e.acquisitionSpan}),je(t[uS])||(t[uS]=function(){return e.renewalSpan}),l[za]=t;var c=l.config[l_]&&l[za][l_]()?l.config[l_]():l.config[Ll]&&l[za][Ll]()?l[za][Ll]():"";i=function(){return t$e+c},l[jd]=new TH,l[hg]=function(){var _=$n(),h=!1,x=l[jd];x.id||(h=!u(x,_));var v=l.config[u_]();if(!h&&v>0){var T=l.config[uS](),I=_-x[d_],C=_-x[dS];h=I<0||C<0,h=h||I>v,h=h||C>T}h?m(_):(!r||_-r>e.cookieUpdateInterval)&&g(x,_)},l.backup=function(){var _=l[jd];f(_.id,_[d_],_[dS])};function u(_,h){var x=!1,v=a.get(i());if(v&&je(v.split))x=p(_,v);else{var T=NO(s,i());T&&(x=p(_,T))}return x||!!_.id}function p(_,h){var x=!1,v=", session will be reset",T=h.split("|");if(T[bg]>=2)try{var I=+T[1]||0,C=+T[2]||0;isNaN(I)||I<=0?_e(s,2,27,"AI session acquisition date is 0"+v):isNaN(C)||C<=0?_e(s,2,27,"AI session renewal date is 0"+v):T[0]&&(_.id=T[0],_[d_]=I,_[dS]=C,x=!0)}catch(H){_e(s,1,9,"Error parsing ai_session value ["+(h||"")+"]"+v+" - "+vt(H),{exception:De(H)})}return x}function m(_){var h=l[za]||{},x=(h[Qd]?h[Qd]():null)||Fc;l.automaticSession.id=x(h[Gd]?h[Gd]():22),l[jd][d_]=_,g(l[jd],_),ST()||_e(s,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function g(_,h){var x=_[d_];_[dS]=h;var v=l[za],T=v[uS](),I=x+v[u_]()-h,C=[_.id,x,h],H=0;I0?H:null,F),r=h}function f(_,h,x){FO(s,i(),[_,h,x][p_]("|"))}})}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}();var Qme=function(){function e(t,o,n,i){var r=this;r.traceID=t||dr(),r.parentID=o;var s=ur();!n&&s&&s.pathname&&(n=s.pathname),r.name=Gt(i,n)}return e}();function jme(e){return!(typeof e!="string"||!e||e.match(/,|;|=| |\|/))}var Yme=function(){function e(t,o){this.isNewUser=!1,this.isUserCookieSet=!1;var n=Ea(o),i=Bm(o),r;ct(e,this,function(s){s[za]=t;var a=s.config[c_]&&s[za][c_]()?s[za][c_]():"";r=function(){return e.userCookieName+a};var l=i.get(r());if(l){s[r_]=!1;var c=l.split(e[m_]);c[bg]>0&&(s.id=c[0],s[i_]=!!s.id)}function u(){var x=t||{},v=(x[Qd]?x[Qd]():null)||Fc,T=v(x[Gd]?t[Gd]():22);return T}function p(x){var v=Or(new Date);s.accountAcquisitionDate=v,s[r_]=!0;var T=[x,v];return T}function m(x){var v=31536e3;s[i_]=i.set(r(),x,v)}if(!s.id){s.id=u();var g=p(s.id);m(g[p_](e[m_]));var f=t[Ll]&&t[Ll]()?t[Ll]()+"ai_session":"ai_session";qO(n,f)}s[$a]=t[$a]?t[$a]():void 0;var _=i.get(e[gP]);if(_){_=decodeURI(_);var h=_.split(e[m_]);h[0]&&(s[Yd]=h[0]),h[bg]>1&&h[1]&&(s[$a]=h[1])}s.setAuthenticatedUserContext=function(x,v,T){T===void 0&&(T=!1);var I=!jme(x)||v&&!jme(v);if(I){_e(n,2,60,"Setting auth user context failed. User auth/account id should be of type string, and not contain commas, semi-colons, equal signs, spaces, or vertical-bars.",!0);return}s[Yd]=x;var C=s[Yd];v&&(s[$a]=v,C=[s[Yd],s.accountId][p_](e[m_])),T&&i.set(e[gP],encodeURI(C))},s.clearAuthenticatedUserContext=function(){s[Yd]=null,s[$a]=null,i.del(e[gP])},s[hg]=function(x){if(s.id!==x||!s[i_]){var v=x||u(),T=p(v);m(T[p_](e[m_]))}}})}return e.cookieSeparator="|",e.userCookieName="ai_user",e.authUserCookieName="ai_authUser",e}();var fP="ext",hP="tags";function g_(e,t){e&&e[t]&&cr(e[t])[bg]===0&&delete e[t]}var Wme=function(){function e(t,o,n){var i=this,r=t.logger;this.appId=function(){return null},this[a_]=function(){return null},ct(e,this,function(s){if(s.application=new Ome,s.internal=new Bme(o),zc()){s[n_]=new Gme(o,t),s.device=new Hme,s.location=new Vme,s.user=new Yme(o,t);var a=void 0,l=void 0,c;n&&(a=n.getTraceId(),l=n.getSpanId(),c=n.getName()),s[cS]=new Qme(a,l,c,r),s.session=new TH}s[a_]=function(){var u=s.session,p=null;if(u&&Oe(u.id))p=u.id;else{var m=(s[n_]||{})[jd];p=m&&Oe(m.id)?m.id:null}return p},s[sP]=function(u,p){Ft(Fo(u.ext,Xn.AppExt),"sesId",s[a_](),Oe)},s[dP]=function(u,p){Ft(u.ext,Xn.OSExt,s.os)},s[aP]=function(u,p){var m=s.application;if(m){var g=Fo(u,hP);Ft(g,Xt.applicationVersion,m.ver,Oe),Ft(g,Xt.applicationBuild,m.build,Oe)}},s[lP]=function(u,p){var m=s.device;if(m){var g=Fo(Fo(u,fP),Xn.DeviceExt);Ft(g,"localId",m.id,Oe),Ft(g,"ip",m.ip,Oe),Ft(g,"model",m.model,Oe),Ft(g,"deviceClass",m.deviceClass,Oe)}},s[mP]=function(u,p){var m=s.internal;if(m){var g=Fo(u,hP);Ft(g,Xt.internalAgentVersion,m.agentVersion,Oe),Ft(g,Xt.internalSdkVersion,m.sdkVersion,Oe),(u.baseType===Nc.dataType||u.baseType===Li.dataType)&&(Ft(g,Xt.internalSnippet,m.snippetVer,Oe),Ft(g,Xt.internalSdkSrc,m.sdkSrc,Oe))}},s[pP]=function(u,p){var m=i.location;m&&Ft(Fo(u,hP,[]),Xt.locationIp,m.ip,Oe)},s[cP]=function(u,p){var m=s[cS];if(m){var g=Fo(Fo(u,fP),Xn.TraceExt,{traceID:void 0,parentID:void 0});Ft(g,"traceID",m.traceID,Oe,ce),Ft(g,"name",m.name,Oe,ce),Ft(g,"parentID",m.parentID,Oe,ce)}},s.applyWebContext=function(u,p){var m=i.web;m&&Ft(Fo(u,fP),Xn.WebExt,m)},s[uP]=function(u,p){var m=s.user;if(m){var g=Fo(u,hP,[]);Ft(g,Xt.userAccountId,m[$a],Oe);var f=Fo(Fo(u,fP),Xn.UserExt);Ft(f,"id",m.id,Oe),Ft(f,"authId",m[Yd],Oe)}},s.cleanUp=function(u,p){var m=u.ext;m&&(g_(m,Xn.DeviceExt),g_(m,Xn.UserExt),g_(m,Xn.WebExt),g_(m,Xn.OSExt),g_(m,Xn.AppExt),g_(m,Xn.TraceExt))}})}return e.__ieDyn=1,e}();var o$e=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.priority=110,o.identifier=wd;var n,i,r;return ct(t,o,function(s,a){l(),s.initialize=function(p,m,g,f){a.initialize(p,m,g,f),c(p)},s.processTelemetry=function(p,m){if(!ce(p)){m=s._getTelCtx(m),p.name===Li.envelopeType&&m.diagLog().resetInternalMessageCount();var g=s.context||{};g.session&&typeof s.context.session.id!="string"&&g[n_]&&g[n_][hg]();var f=g.user;if(f&&!f[i_]&&f[hg](g.user.id),u(p,m),f&&f[r_]){f[r_]=!1;var _=new Nc(72,(Ii()||{}).userAgent||"");iO(m.diagLog(),1,_)}s.processNext(p,m)}},s._doTeardown=function(p,m){var g=(p||{}).core();if(g&&g[rP]){var f=g[rP](!1);f===i&&g.setTraceCtx(r)}l()};function l(){n=null,i=null,r=null}function c(p){var m=s.identifier,g=s.core,f=Jn(null,p,g),_=t.getDefaultConfig();n=n||{},Ct(_,function(h,x){n[h]=function(){return f.getConfig(m,h,x())}}),r=g[rP](!1),s.context=new Wme(g,n,r),i=tg(s.context[cS],r),g.setTraceCtx(i),s.context.appId=function(){var h=g.getPlugin(kT);return h?h.plugin._appId:null},s._extConfig=n}function u(p,m){Fo(p,"tags",[]),Fo(p,"ext",{});var g=s.context;g[sP](p,m),g[aP](p,m),g[lP](p,m),g[cP](p,m),g[uP](p,m),g[dP](p,m),g.applyWebContext(p,m),g[pP](p,m),g[mP](p,m),g.cleanUp(p,m)}}),o}return t.getDefaultConfig=function(){var o,n,i=null,r=(o={instrumentationKey:function(){return n}},o[$a]=function(){return i},o.sessionRenewalMs=function(){return 30*60*1e3},o.samplingPercentage=function(){return 100},o.sessionExpirationMs=function(){return 24*60*60*1e3},o[pS]=function(){return i},o[s_]=function(){return i},o.isBrowserLinkTrackingEnabled=function(){return!1},o.appId=function(){return i},o[a_]=function(){return i},o[Ll]=function(){return n},o[l_]=function(){return n},o[c_]=function(){return n},o[Gd]=function(){return 22},o[Qd]=function(){return i},o);return r},t}(Aa),SH=o$e;var Kme="AuthenticatedUserContext",f_="track";var bP="snippet",Jme="getCookieMgr",Zme="startTrackPage",Xme="stopTrackPage",_P="flush",ege="startTrackEvent",tge="stopTrackEvent",wH="addTelemetryInitializer",_vt=wH+"s",CH="pollInternalLogs",vP="getPlugin",yP="evtNamespace",oge=f_+"Event",nge=f_+"Trace",ige=f_+"Metric",rge=f_+"PageView",sge=f_+"Exception",age=f_+"DependencyData",lge="set"+Kme,cge="clear"+Kme;var uge="updateSnippetDefinitions",dge="loadAppInsights",EH="endpointUrl";var mS="diagnosticLogInterval";var pge="disableFlushOnBeforeUnload",mge="disableFlushOnUnload";var Xc="config",Us="context",gS="push",xP="version",Wd="queue",TP="connectionString",AH="instrumentationKey",fS="appInsights",kH="disableIkeyDeprecationMessage",IH="getTransmissionControls",h_="onunloadFlush",LH="addHousekeepingBeforeUnload",hS="indexOf";var PH,gge=[bP,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"];var RH=function(){function e(t){var o=this,n,i,r,s,a,l,c;ct(e,this,function(u){x(),s=""+(t.sv||t[xP]||""),t[Wd]=t[Wd]||[],t[xP]=t[xP]||2;var p=t[Xc]||{};if(p[TP]){var m=VO(p[TP]),g=m.ingestionendpoint;p[EH]=g?g+Uc:p[EH],p[AH]=m.instrumentationkey||p[AH]}u[fS]=new qL,i=new SH,n=new xH,r=new mH,c=new wO,u.core=c;var f=ce(p[kH])?!0:p[kH];!p[TP]&&!f&&_e(c.logger,1,106,"Instrumentation key support will end soon, see aka.ms/IkeyMigrate"),u[bP]=t,u[Xc]=p,_(),u[_P]=function(v){v===void 0&&(v=!0),gd(c,function(){return"AISKU.flush"},function(){Re(c[IH](),function(T){Re(T,function(I){I[_P](v)})})},null,v)},u[h_]=function(v){v===void 0&&(v=!0),Re(c[IH](),function(T){Re(T,function(I){I[h_]?I[h_]():I[_P](v)})})},u[dge]=function(v,T,I){v===void 0&&(v=!1);function C(H){if(H){var F="";ce(s)||(F+=s),v&&(F+=".lg"),u[Us]&&u[Us].internal&&(u[Us].internal.snippetVer=F||"-"),Ct(u,function(ue,Ce){Oe(ue)&&!je(Ce)&&ue&&ue[0]!=="_"&&Dn(gge,ue)===-1&&(H[ue]=Ce)})}}return v&&u[Xc].extensions&&u[Xc].extensions.length>0&&Lo("Extensions not allowed in legacy mode"),gd(u.core,function(){return"AISKU.loadAppInsights"},function(){var H=[];H[gS](r),H[gS](i),H[gS](n),H[gS](u[fS]),c.initialize(u[Xc],H,T,I),u[Us]=i[Us],PH&&u[Us]&&(u[Us].internal.sdkSrc=PH),C(u[bP]),u.emptyQueue(),u[CH](),u[LH](o)}),u},u[uge]=function(v){OU(v,u,function(T){return T&&Dn(gge,T)===-1})},u.emptyQueue=function(){try{if(wt(u.snippet[Wd])){for(var v=u.snippet[Wd].length,T=0;T0?u[Xc][mS]:1e4}function h(){return n}function x(){a=Kn("AISKU"),l=null,n=null,i=null,r=null,s=null}})}return e.prototype.addDependencyInitializer=function(t){return null},e}();(function(){var e=null,t=!1,o=[":/https://www.microsoft.com/js.monitor.azure.com/","://az416426.vo.msecnd.net/"];try{var n=(document||{}).currentScript;n&&(e=n.src)}catch{}if(e)try{var i=e.toLowerCase();if(i){for(var r="",s=0;s{},trackException:()=>{},trackTrace:()=>{}};function fge(){if(!w.applicationInsights)return;let e={"docs.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","learn.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","docs.azure.cn":"9367385a-f935-4fd9-91da-c734500b5d55","developer.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","review.docs.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","review.learn.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","ppe.docs.microsoft.com":"89ee6297-0550-4fd8-8d37-c2aa8d2ec81c","dev.learn.microsoft.com":"89ee6297-0550-4fd8-8d37-c2aa8d2ec81c"}[J.hostname];if(!e)return;let t=new RH({config:{instrumentationKey:e,disableFetchTracking:!1}});t.loadAppInsights();let o=()=>{k.isAuthenticated?t.setAuthenticatedUserContext(k.userId):t.clearAuthenticatedUserContext()};k.subscribe(So,o),o(),t.trackPageView(),dt.subscribe(To,()=>{t.trackPageView({properties:{syntheticPageView:!0}})}),Fn=t}function MH(e,t){return async function(...o){let n=t;for(;;)try{return await e.apply(null,o)}catch(i){if(n<=0)throw i;n--}}}async function hge(){let e={method:"POST"},t=K(N.contentAuthorizationService.deleteCasTokenCookie,e,!0,!1);await MH(async()=>{(await M(t)).ok},10)()}A();He();var n$e=0;function Je(){return`ax-${n$e++}`}function eu(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map(e=>{if(e==="-"||e==="4")return e;let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}).join("")}function qo(e){return e?e.toLowerCase().replace(/_/g,"-").replace(/\W/g,"-"):""}var _ge=d`
`;function DH(e=!0){let t=e?"color-text-subtle":"white-static-text";return e?d` `:d``}function bge(e){return d` `}var i$e="casSignIn",SP=class e{constructor(t,o=!1){this.url=Zi(t),o&&this.url.searchParams.set(i$e,"true"),this.source=this.url.searchParams.get("source"),this.source||(this.source=P("page_type")==="learn"||P("page_kind")==="learn"?"learn":"docs",P("uhfHeaderId")!=="answers"&&this.url.searchParams.set("source",this.source))}static getProfileContext(t){try{let o=t||location.href,n=new e(o),i=Zi(o);return i.searchParams.delete("source"),{redirectUrl:i.href,source:n.source,microsoftUser:void 0}}catch{return{redirectUrl:void 0,source:void 0,microsoftUser:void 0}}}toString(){return this.url.href}};function vge(e,t=!1){let o=null;try{o=new SP(e,t).toString()}catch{o=location.href}return o}var _yt=new URL("./register",gc()).toString(),wP=R.accessLevel==="local"?`https://${location.hostname}/_themes/docs.theme/master/en-us/_themes/global/identity-redirect.html`:`${location.origin}/_themes/docs.theme/master/en-us/_themes/global/identity-redirect.html`,vyt=xge(),yyt=location.origin,r$e=R.supportLevel==="production"?"18fbca16-2224-45f6-85b0-f7bf2b39b3f3":"f602d4fb-244f-48be-a746-435fac3917df",s$e="https://login.microsoftonline.com",a$e="common",Pi,yge=async()=>{let e={auth:{clientId:r$e,authority:`${s$e}/${a$e}`,redirectUri:wP},cache:{cacheLocation:"localStorage"},system:{loggerOptions:{loggerCallback:(t,o,n)=>{if(!n)switch(t){case Dt.Info:R.reviewFeatures&&console.info(o);return;case Dt.Verbose:R.reviewFeatures&&console.debug(o);return;case Dt.Warning:R.reviewFeatures?console.warn(o):Fn.trackTrace({message:o,severityLevel:Dt.Warning,iKey:"learn.msal"});return;case Dt.Error:R.reviewFeatures?console.error(o):Fn.trackTrace({message:o,severityLevel:Dt.Error,iKey:"learn.msal"});return}}}}};Pi=new Bx(e),await Pi.initialize()};function xge(){return R.accessLevel==="local"?`https://${location.hostname}/_themes/docs.theme/master/en-us/_themes/global/identity-profile.html`:`${location.origin}/_themes/docs.theme/master/en-us/_themes/global/identity-profile.html`}function l$e(e,t=null,o=!1){let n=vge(e,o),i=xge(),r=encodeURIComponent(n),s=eu();return{scopes:["openid","profile","email"],prompt:t,redirectStartPage:i,nonce:s,redirectUri:wP,state:r}}function Tge(e,t=null,o=!1){return Pi.setActiveAccount(null),Pi.loginRedirect(l$e(e,t,o))}var c$e={scopes:["openid","profile","email"]};function Sge(){try{let e=u$e();return e?Pi.acquireTokenSilent(Object.assign({},c$e,{prompt:"none",account:e})).then(t=>($A(t.idToken),!0)).catch(()=>(zA(),!1)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}function u$e(e=qu()){if(!e)return null;let o=qA(e).preferred_username;return o?Pi.getAccount({username:o}):null}function Uo(e=location.href,t="select_account",o=!1){Tge(e,t,o)}var d$e=location.origin;async function Jr(e=location.href,t=!1,o=!1){if(p$e(),t&&await M(N.auth.signOut),Yue(),In()&&await hge(),FA(),zA(),!o){let n=Zi(e,d$e);location.href=`${n.origin}${n.pathname}${n.search}`}}function p$e(){localStorage.removeItem("gitHubToken")}async function $H(e,t,o,n){return xe({behavior:le.SIGNIN,actionType:we.OTHER,content:{autoIngest:!0,type:"learn-sso-attempt",loadTime:performance.now(),timeStamp:new Date().toISOString(),referrer:S.referrer,hasLoginHint:!!t,status:e,uuid:crypto.randomUUID(),errorCode:o,errorMessage:n}})}function wge({sso:e,loginHint:t}={}){return async function(o=()=>!1){if(e)try{$H("started",t),Bt({context:"sso",source:e},"replaceState");let n={scopes:["openid","profile","email"]};t&&(n.loginHint=t);let i=await Pi.ssoSilent(n);if(i)return FA(),$A(i.idToken),$H("completed",t),!0}catch(n){return n instanceof ot&&await $H("error",t,n.errorCode,n.errorMessage),n instanceof Co&&(Jr("",!1,!0),Uo(window.location.href,"select_account")),o()}return o()}}function Cge(e=te().sso,t=te().login_hint){return(e||t)&&Bt({sso:null,login_hint:null},"replaceState"),{sso:e,loginHint:t}}function Ege(e=new URL(window.location.href)){let t=e.searchParams.get("redirectUrl");if(!t)return{};try{let o=new URL(t,"https://fakeurl.com"),n=o.searchParams.get("sso")??void 0,i=o.searchParams.get("login_hint")??void 0;return{sso:n,loginHint:i}}catch{return{}}}var CP=class{},EP=class{constructor(t,o,n=new Be){this.stack=t,this.final=o,this.bus=n}async run(){let t=0,o=!0,n=this.final,i=[],r=this.bus.subscribe(CP,()=>o=!1),s=a=>(this.bus.publish(new CP),n=a||n,!1);try{for(;o&&this.stack[t];){let a=await this.stack[t](s);if(a||i[t]!==!1){i[t]=a,t+=a?-1:1;continue}o=!1}t>=0&&n(),r()}catch(a){throw r(),this.final(),a}}};var Age=N.profile.me,m$e=Cge(),rxt=Ege(),g$e=`${Age}?isCPMCalled=true`,kge=new URL("./register",gc()).toString();async function _g(){let t=location.pathname.split("/").indexOf("edit")!==-1?g$e:Age;try{let n=await fetch(K(t,{credentials:"include"}));if(n.ok&&n.status!==204){let i=await n.json();k.readUserProfile(i)}else k.setAnonymous()}catch{k.setAnonymous()}}async function Ige(e=()=>{k.setAnonymous()}){if(!w.userServices)return k.setAnonymous(),Promise.resolve();await new EP([f$e,h$e,wge(m$e),Sge],e).run()}async function f$e(e=()=>!1){try{let t=In();if(t){let o=Yp(t);return k.readUserFromToken(o),!0}return!1}catch(t){return t instanceof nl?!1:e()}}async function h$e(e=()=>!1){try{let t=qu();if(t){Yp(t);let o=await NN(t);return NA(o),!0}return!1}catch(t){return t instanceof nl?!1:t instanceof jy?location.pathname.endsWith("/external-sign-in.html")?!1:e(b$e):e()}}function b$e(){if(P("page_kind")!=="register"&&(k.setAnonymous(),!location.href.includes("/answers"))){let o=ne({redirectUrl:location.href});location.href=Zi(`${kge}?${o}`).href;return}let e=qu();if(!e)return;let t=Yp(e);k.mapIdTokenToProfile(t)}function Lge(e=location.href){let t=encodeURIComponent(e);location.href=`/_themes/docs.theme/master/en-us/_themes/global/permissioned-auth.html?changeDirectory=true&redirectUrl=${t}`}var bS=["a","area","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","summary","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'];function AP(e){return e.matches(bS.join(","))}function kP(e,t=!0){return o=>{if(o.target instanceof Element&&!e.contains(o.target)){o.preventDefault();let n,i=Array.from(e.querySelectorAll(bS.join(",")));o.target.compareDocumentPosition(e)&(t?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING)&&i.reverse();let r=i.length;for(;r--;){let s=i[r],a=getComputedStyle(s);if(!s.hidden&&a.display!=="none"&&a.visibility!=="hidden"&&(s.offsetWidth>0||s.offsetHeight>0)){n=s;break}}n=n||e,n.focus()}}}function zH(e){let t=e.createElement("span");return t.setAttribute("tabindex","0"),t.classList.add("modal-tab-sentinel"),t}A();var IP=[];function vg(e){IP.push(e)}function qt(e,t,o,n){e.addEventListener(t,o,n);let i=()=>e.removeEventListener(t,o,n);return vg(i),i}function Pge(e=document.documentElement,t=document.documentElement||document.body,o=(document.documentElement||document.body).scrollTop){return t.style.left="0",t.style.right="0",t.style.top=`-${o}px`,t.style.position="fixed",(n=!0)=>{t.style.left="",t.style.right="",t.style.top="",t.style.position="",n&&(e.scrollTop=o)}}var b_=e=>{let t=e.querySelector("[data-autofocus]");if(t&&AP(t)){t.focus();return}e.focus()},be=class e{constructor(t,o="visibility-hidden-visual-diff"){this.restoreScrollbar=()=>{};this.clickHandler=t=>{let o=t.target,n=o.closest(".modal-pop-content"),i=o.closest(".modal-close");i?(t.preventDefault(),this.hide(i.getAttribute("data-modal-result"))):n&&(t.preventDefault(),this.popContent())};this.escHandler=t=>{if(t.key==="Escape"){if(S.activeElement&&S.activeElement.closest(".popover[open]"))return;t.preventDefault(),this.hide()}};this.setAriaLabelledBy=t=>{let o=t.querySelector("h1")||t.querySelector("h2")||t.querySelector("h3")||t.querySelector("h4")||t.querySelector("p")||t.querySelector("figcaption");o&&(o.id||(o.id="modal-heading"),t.setAttribute("aria-labelledby",o.id))};this.container=S.createElement("div"),this.container.setAttribute("tabindex","-1"),this.container.setAttribute("role","dialog"),this.container.setAttribute("aria-modal","true"),this.container.classList.add("modal","has-default-focus"),o&&this.container.classList.add(o),this.container.setAttribute("data-test-id","modal-container"),y(d` ${t} `,this.container),window.addEventListener("close-modals",()=>{this.hide()}),this.wrapper=S.createElement("div"),this.wrapper.setAttribute("data-bi-name","modal"),this.wrapper.insertAdjacentElement("afterbegin",this.container),this.contentStack=[t]}static get openCount(){return window.openModalCount||0}static set openCount(t){window.openModalCount=t}show(){return this.container.classList.contains("is-active")?this.openPromise:(e.openCount++,S.body.insertAdjacentElement("afterbegin",zH(S)),S.body.insertAdjacentElement("afterbegin",this.wrapper),this.wrapper.addEventListener("click",this.clickHandler),this.wrapper.addEventListener("keydown",this.escHandler),this.restoreScrollbar=Pge(S.documentElement,S.scrollingElement||S.documentElement,(S.scrollingElement||S.documentElement||S.body).scrollTop),this.container.classList.add("is-active"),S.body.insertAdjacentElement("afterbegin",zH(S)),this.setAriaLabelledBy(this.container),window.dispatchEvent(new CustomEvent("modal-show",{detail:{container:this.container}})),this.lastFocus=S.activeElement,this.focusHandler=kP(this.wrapper),qt(window,"focus",this.focusHandler,!0),b_(this.container),this.openPromise=new Promise(t=>this.resolveOpen=t),this.openPromise)}hide(t=null){this.container.classList.contains("is-active")&&(e.openCount--,this.restoreScrollbar(),this.container.classList.remove("is-active"),this.wrapper.parentElement.removeChild(this.wrapper),Array.from(S.body.querySelectorAll(".modal-tab-sentinel")).forEach(o=>{S.body.removeChild(o)}),window.removeEventListener("focus",this.focusHandler),this.wrapper.removeEventListener("click",this.clickHandler),this.wrapper.removeEventListener("keydown",this.escHandler),this.lastFocus&&this.lastFocus instanceof HTMLElement&&this.lastFocus.focus(),this.lastFocus.closest("details")&&this.lastFocus.closest("details").querySelector("summary").focus(),this.resolveOpen(t),this.resolveOpen=void 0,this.openPromise=void 0)}updateContent(t,o=!0,n=!1){let i=this.container.querySelector(".modal-slide-container"),r=i.querySelector(".modal-slide:first-of-type");if(i===null||r===null)throw new Error(`The ${i===null?"modal-slide-container":"modal-slide"} class is missing!`);i.appendChild(t);let s={forward:at.userDir==="ltr"?"slide-right":"slide-left",backward:at.userDir==="ltr"?"slide-left":"slide-right"},a=n?s.forward:s.backward;o?(setTimeout(()=>{r.classList.add(a),t.classList.add(a)},50),setTimeout(()=>{t.classList.remove(a),l(this)},250)):l(this);function l(c){i.removeChild(r),b_(c.container),c.setAriaLabelledBy(c.container)}}pushContent(t){this.contentStack.push(t),y(d` ${this.contentElement} `,this.container),this.setAriaLabelledBy(this.container),b_(this.contentElement)}popContent(){if(this.contentStack&&this.contentStack.length<=1)throw new Error("Error getting modal content");this.contentStack.pop(),y(d` ${this.contentElement} `,this.container),b_(this.contentElement)}get contentElement(){return this.contentStack[this.contentStack.length-1]}};A();var LP={setItem(e,t,o){try{let n=o.getTime();if(Date.now()>=n)return;let i={value:t,expiry:n};se.setItem(e,JSON.stringify(i))}catch{}},getItem(e){try{let t=se.getItem(e);if(!t)return null;let o=JSON.parse(t);return typeof o.expiry!="number"||isNaN(o.expiry)||Date.now()>=o.expiry?(se.removeItem(e),null):o.value}catch{return null}},removeItem(e){se.removeItem(e)},clear(){se.clear()}};A();var PP=location.pathname.split("/").map(e=>e.toLowerCase()),_$e=PP.length>2?PP[2]:"",Ut=_$e==="test";function Rge(){let e=P("original_content_git_url")||P("original_ref_skeleton_git_url")||"",t=e;if(t!==""&&t.substring(0,8)==="https://")try{let o=new URL(e);t=`${o.pathname}${o.search}`}catch{t=t.substring(8)}return t}function RP(){let e=v$e(),t;return Ut?t=`/${b.data.userLocale}/test/training/support/troubleshooting${e}`:t=`/${b.data.userLocale}/training/support/troubleshooting${e}`,t}function v$e(){let e={uid:P("uid")||"",documentId:P("document_id")||"",versionIndependentDocumentId:P("document_version_independent_id")||"",platformId:P("platform_id")||"",contentPath:Rge(),url:location.href,author:P("ms.author")||""},t=Object.keys(e).reduce((o,n)=>{let i=e[n];return i===void 0||i.trim().length===0||o.push(`${n}=${encodeURIComponent(i)}`),o},[]);return t.length===0?"":`?${t.join("&")}`}function MP(e,t=Uo){let o=new URL(e||location.href);o.searchParams.set("account-linking","1"),t(o.href,"login")}var vr={Cancel:{text:ze,clickHandler:sh,modifiers:"button-primary",biName:"add-account-error-cancel"},ContactCustomerSupport:{text:CY,clickHandler:()=>{location.href=RP()},modifiers:"button-primary button-filled",biName:"add-account-error-contact-support"},Ok:{text:En,clickHandler:sh,modifiers:"button-primary button-filled",biName:"add-account-error-ok"},SelectAccount:{text:fre,clickHandler:()=>MP(),modifiers:"button-primary button-filled",biName:"add-account-error-select-account"}};function y$e(e){return{accountAlreadyRegistered:{title:ore.replace("{account}",e),description:are,buttons:[vr.Cancel,vr.SelectAccount]},alreadyHasCertProfileConnected:{title:hre,description:bre,buttons:[vr.ContactCustomerSupport]},alreadyLinked:{title:lre,description:tN,buttons:[vr.Cancel,vr.SelectAccount]},moreThanOneAccountPerTenant:{title:rre,description:`${dre} ${tN}.`,buttons:[vr.Ok]},moreThanOneMSAAccount:{title:pre,description:cre.replace("{account}",e),buttons:[vr.Ok]},needAtLeastOneAccountLinked:{title:ure,description:sre,buttons:[vr.Ok]},numberOfAccounts:{title:nre,description:ire,buttons:[vr.Ok]},profileMergeRunning:{title:mre,description:gre,buttons:[vr.Ok]},profileMergeAlreadyComplete:{title:yre,description:xre,buttons:[vr.Ok]},profileMergeRecordNotFound:{title:Tre,description:Sre,buttons:[vr.Ok]},previousMergeAttemptPreventsAction:{title:wre,description:Cre,buttons:[vr.Ok]},unexpectedError:{title:io,buttons:[vr.Ok]}}}function NH(e,t){let o=y$e(e)[t];return d` ${o.title?d`

${o.title}

`:null} ${o.description?d`

${z(o.description)}

`:null} ${o.buttons?d`
${o.buttons.map(n=>d``)}
`:null} `}var x$e={Complete:{color:"success",icon:"docon-status-success-outline",text:Ere},Failed:{color:"danger",icon:"docon-status-failure-outline",text:Are},Running:{color:"warning",icon:"docon-status-info-outline",text:Rre},Terminated:{color:"success",icon:"docon-status-success-outline",text:Mre}};function T$e(){return LP.getItem("check-merge-status")!==null}function S$e(){LP.removeItem("check-merge-status")}async function DP(e=!1){if(!(!e&&!T$e()))try{let t=await UN();if(t===null||(FH(t),t!=="Running"))return;let o=setInterval(async()=>{t=await UN(),t!==null&&(FH(t),t!=="Running"&&(clearInterval(o),S$e()))},3e4)}catch{}}async function w$e(){try{await Iae()}catch{}}function C$e(e){return d`
`}async function FH(e){if(e==="Acknowledged")return;if(e==="Locked"){E$e();return}e==="Complete"&&Pr.type==="profile"&&await _g();let t=x$e[e];if(!t)return;let o=Lre,n=Pre;if(e==="Failed"){let l=await kae();if(!l)return;let c=l.sourceUserName,u=l.destinationUserName;t.text=t.text.replace("{sourceUser}",Ge(c)),t.text=t.text.replace("{destinationUser}",Ge(u)),o=o.replace("{terminateMergeText}",nN),n=n.replace("{retryMergeText}",oN)}let i=d`

${kre}


${Ire}

  • ${z(o)}
  • ${z(n)}
`,r=document.querySelector("#add-account");if(!r)return;e==="Running"||e==="Failed"?(r.disabled=!0,r.classList.add("is-disabled")):(r.disabled=!1,r.classList.remove("is-disabled"));let s=document.querySelector(".accounts"),a=s.querySelector(".merging-status");s!==null&&(a===null&&(a=document.createElement("div"),a.classList.add("merging-status"),s.appendChild(a)),y(d`

${t.text}

${e==="Failed"?d`${i} ${C$e(a)}`:""}
${e==="Complete"?d``:null}
`,a))}function E$e(){let e=document.createElement("div"),t=new be(e);y(d` `,e),t.show(),document.querySelector(".modal").addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),Jr(location.origin,!0)})}async function A$e(e){Dge(e,"Terminate")}async function k$e(e){Dge(e,"Retry")}async function Mge(e,t){e.classList.remove("is-loading");let o=document.createElement("div"),n=new be(o);$ge(n,t),await n.show(),e.disabled=!1}async function Dge(e,t){let o,n;t==="Terminate"?(o=e.querySelector("#terminate-failed-merge"),n=N.profile.userCancelMerge):(o=e.querySelector("#retry-failed-merge"),n=N.profile.userRetryMerge);try{o.classList.add("is-loading"),o.disabled=!0;let i=await I$e(n);if(i.hasError){let r=i.errors[0]||"unexpectedError";await Mge(o,r)}else t==="Terminate"?FH("Terminated"):location.reload()}catch{await Mge(o,"unexpectedError")}}async function I$e(e){let o=await M(K(e,{method:"POST"}));if(fe(o),o.ok)return ah(o,!1),{hasError:!1};if(o.status===400){let n=await o.json();if(n.errorCode==="ProfileMergeRunning")return{hasError:!0,message:o.statusText,errors:["profileMergeRunning"]};if(n.errorCode==="ProfileMergeComplete")return{hasError:!0,message:o.statusText,errors:["profileMergeAlreadyComplete"]};throw new Error(`Unexpected response status ${o.status} for ${e}`)}else{if(o.status===404)return{hasError:!0,message:o.statusText,errors:["profileMergeRecordNotFound"]};throw new Error(`Unexpected response status ${o.status} for ${e}`)}}function $ge(e,t="unexpectedError",o=""){y(d` `,e.contentElement),e.show()}A();var $P,zP;async function zge(e){qH(e)&&await L$e()}function qH(e){let t=P("page_type")==="profile",o=P("page_kind");if(!e.isAuthenticated||t&&o!=="register")return!1;let n=!1;return e.acceptedPrivacyNotice.getTime()&&(n=e.userType==="standard"||new Date(e.acceptedPrivacyNotice)>=$N),!n}async function L$e(){if(!$P){let e=S.createElement("div");e.classList.add("modal-content"),y(d` `,e),$P=new be(e),zP=e.querySelector("#consentModal"),Nge()}await Se,$P.show()}function Nge(){let e=k.userType==="microsoft"?rZ:I0,t=()=>Aae(),o=d` `;y(o,zP)}function P$e(){let e=d` `;y(e,zP),R$e(zP)}async function R$e(e){let t=e.querySelector("#error-message"),o=e.querySelector("#consent-delete-acct");t.setAttribute("hidden","hidden"),o.onclick=async()=>{o.classList.add("is-loading");try{await Eae()?($P.hide(),await Jr(location.origin,!0)):t.removeAttribute("hidden")}catch(n){throw t.removeAttribute("hidden"),new Error(`error: ${n.message}`)}finally{o.classList.remove("is-loading")}}}function M$e(e){return e&&e.length!==0||k.userType==="microsoft"?sZ.replace("{email}",e||k.upn):k.authenticationMode==="AAD"||k.userType==="aad"?tV.replace("{email}",k.upn):zY}async function Fge(e,t,o){let n=()=>o.setAttribute("data-authenticated",e.isAuthenticated.toString());n(),e.subscribe(So,n),await t,o.setAttribute("data-auth-status-determined","true")}var ke={left:37,up:38,right:39,down:40,home:36,end:35,escape:27,enter:13,space:32,eight:56,numPadAsterisk:106,a:65,b:90};var tu="docs-sign-in",UH="docs-sign-out",qge="docs-change-directory";function Uge(e){$$e(e),e.addEventListener("click",D$e)}function D$e(e){if(!(e.target instanceof Element))return;let t=e.target.closest(`.${tu}, .${UH}, .${qge}`);if(!t)return;let o=t.classList.contains(tu);e.preventDefault();let i=t instanceof HTMLAnchorElement&&t.matches('a[href]:not([href="http://approjects.co.za/?big="]):not([href="http://approjects.co.za/?big=#"])')?t.href:location.href;if(t.classList.contains(qge))Lge(i);else if(o){let r=b.data.isPermissioned;Uo(i,"select_account",r)}else Jr(i,!0)}function $$e(e){let t=o=>{if(!(o.target instanceof Element))return;let n=o.target.closest(`.${tu}, .${UH}`);if(!n)return;let i=n.classList.contains(tu);o.target.setAttribute("data-m",JSON.stringify({cN:i?tu:UH,bhvr:i?100:101}))};e.addEventListener("touchstart",t,!0),e.addEventListener("pointerdown",t,!0),e.addEventListener("keyup",o=>{o.which===ke.enter&&t(o)},!0)}var OH,ve=new Promise(e=>OH=e);async function Oge(e){if(!w.userServices){OH(),Se.then(()=>{let t=S.getElementById("docs-sign-in-container-item");t&&(t.hidden=!0)});return}await yge(),Pi.handleRedirectPromise(),Fge(k,ve,S.documentElement),Uge(S.documentElement),w.permissionedContent&&Se.then(t=>{S.documentElement.querySelectorAll("[data-permissioned-content]").forEach(o=>o.hidden=!1)}),k.subscribe(So,async()=>{await Promise.all([e.siteHeaderRendered,Se]),zN(S.documentElement,k)}),Ige().then(OH),ve.then(async()=>{if(k.userType!=="standard"&&zge(k),!k.isAuthenticated)return;if(!qH(k)){await Se,DP();return}let t=new URL("./register",gc(b.data.userLocale));if(location.pathname===t.pathname)return;let o=ne({redirectUrl:location.href});location.href=`${t.toString()}?${o}`})}var Pl=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||Ut),NP=typeof __karma__<"u";var z$e=1e3*60*5,N$e=new URL(window.location.href).pathname.replace(new RegExp(`^/${b.data.userLocale}`),""),Bge="rollout-status",_S;async function qn(e){_S===void 0&&(_S=HH());let t=await _S;if(t&&"failed"in t&&(_S=HH()),!t||"failed"in t)return Hge("feature-rollout-failure",{featureName:e}),!1;let o=t.activeFeatures.find(i=>"name"in i?i.name===e:!1);if(!o)return!1;let n=await F$e(o);return Hge("feature-rollout-activated",{featureName:e,isActive:n}),n}async function F$e(e,t=b.data.userLocale,o=N$e,n=b.data.pageTemplate,i=ve.then(()=>k.isAuthenticated)){if(!e.conditions)return!0;let r=e.conditions.find(g=>g.limitTo==="locale");if(!(r?r.locales.includes(t):!0))return!1;let a=e.conditions.find(g=>g.limitTo==="pathname");if(!(a?!!a.startsWith.find(g=>o.startsWith(g)):!0))return!1;let c=e.conditions.find(g=>g.limitTo==="pageTemplate");return(c?!!c.pageTemplates.find(g=>g===n):!0)?e.conditions.find(g=>g.limitTo==="authenticated")?await i:!0:!1}async function Vge(){_S=HH()}async function HH(e=te()["refresh-rollout"]==="true"){let t=q$e(e);if(t)return t;let n=`/en-us/feature-rollout.json${R.reviewFeatures?"?branch=main":""}`;Pl&&(n=`/en-us/test/feature-rollout.json?branch=${pt()}`);try{let i=await M(n,{method:"GET"});if(!i.ok)return{failed:!0};let r=await i.json();return r.expiresAt=new Date(Date.now()+z$e).getTime(),se.setItem(Bge,JSON.stringify(r)),r}catch{return{failed:!0}}}function q$e(e=!1){if(e)return null;let t=se.getItem(Bge);if(!t)return null;let o;try{o=JSON.parse(t)}catch{return null}if(!o||"failed"in o||!o.expiresAt)return null;let n=o.expiresAt||0;return Date.now()>=n||!("activeFeatures"in o)||"failed"in o?null:o}function Hge(e,t){xe({content:{type:e,content:JSON.stringify(t)}})}async function FP(){if(!(w.collapsibleToc||await qn("collapsible-toc")))return;let t=document.getElementById("left-container"),o=document.getElementById("ms--toc-content"),n=document.getElementById("ms--toc-content-collapsible");if(!t||!o||!n)return;o.remove(),n.hidden=!1;let i=n.querySelector("[data-collapsible-toc-toggle]"),r=n.querySelector("nav"),s=document.querySelector(".layout");if(!i||!r)return;let a=!0,l=()=>{let c=a?eE:TE,u=i.querySelector(".docon"),p=document.getElementById("ms--collapsible-toc-moniker-slot");i.setAttribute("aria-expanded",String(a)),i.setAttribute("aria-label",c),i.title=c,t.setAttribute("data-toc-collapsed",String(!a)),i.setAttribute("data-bi-name",a?"toc-collapse":"toc-expand"),s?.classList.toggle("layout-menu-collapsed",!a),u?.classList.toggle("docon-panel-left-contract",a),u?.classList.toggle("docon-panel-left-expand",!a),t.classList.toggle("width-full",a),t.classList.toggle("padding-inline-sm",a),t.classList.toggle("padding-inline-xxs",!a),t.classList.toggle("border-right",!a),p&&(p.hidden=!a);for(let m of r.children)m.id!=="ms--collapsible-toc-header"&&(m.hidden=!a)};i.addEventListener("click",()=>{a=!a,l()}),l()}async function Gge(){await FP();let e=S.getElementById("affixed-left-container"),t=S.getElementById("affixed-right-container");if((w.connectedExperiences||w.rightRailSticky)&&t&&U$e(t),e===null)return;let o=S.getElementById("footer"),n=S.querySelector(".layout-body-header"),i=24,r=1;e.style.top=`${i}px`;function s(){if(e==null||e.hasAttribute("disable-affix"))return;let c=U.innerHeight;if(c<450)e.classList.remove("position-sticky"),e.style.maxHeight="";else{e.style.height="0";let u=o.getBoundingClientRect().height,p=u===0?0:Math.max(0,c-o.getBoundingClientRect().top),m=n.getBoundingClientRect().height,g=m===0?0:Math.max(0,n.getBoundingClientRect().bottom),f=S.body.scrollHeight;e.classList.add("position-sticky"),e.style.maxHeight=`${f-(2*i+m+u+r)}px`,e.style.height=`calc(100vh - ${2*i+g+p+r}px)`}}let a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(s)}U.addEventListener("scroll",l,{passive:!0}),U.addEventListener("resize",l,{passive:!0}),U.addEventListener("content-update",l),U.addEventListener("dismiss-content-update",l),s(),U.addEventListener("load",s,!1),U.addEventListener("pageshow",s,!1),U.addEventListener("DOMContentLoaded",s,!1)}function U$e(e){let o=S.getElementById("footer");e.classList.add("position-sticky"),e.style.top="24px";function n(){let s=24,a=e.offsetHeight;if(a>U.innerHeight){let l=a-U.innerHeight;s=-1*(24/2+Math.min(U.scrollY,l))}if(e.style.top=`${s}px`,w.rightRailSticky){e.style.removeProperty("bottom"),e.style.top=`${s}px`;let l=S.getElementById("side-doc-outline"),c=S.getElementById("ms--site-user-feedback-right-rail");if(!l&&!c)return;let u=o.getBoundingClientRect().height,p=S.querySelector(".header-holder"),m=p.getBoundingClientRect().height,g=c?c.getBoundingClientRect().height:0,f=S.body.scrollHeight;e.style.maxHeight=`${f-(2*24+m+u)}px`;let _=u===0?0:Math.max(0,U.innerHeight-o.getBoundingClientRect().top),h=m===0?0:Math.max(0,p.getBoundingClientRect().bottom);if(e.style.height=`calc(100vh - ${2*24+h+_}px)`,l){l.style.overflow="auto",l.style.maxHeight=`calc(100% - ${g}px)`;let x="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",v=w.referenceRightRailH3?`#main h2:not(${x}), #main h3`:`#main h2:not(${x})`,T=Array.from(S.querySelectorAll(v)).filter(I=>!!I.id&&I.offsetParent!==null);pae(T,e)}}}let i=0;function r(){cancelAnimationFrame(i),i=requestAnimationFrame(n)}U.addEventListener("scroll",r,{passive:!0}),U.addEventListener("resize",r,{passive:!0}),U.addEventListener("content-update",r),n(),U.addEventListener("load",n,!1),U.addEventListener("DOMContentLoaded",n,!1)}function Qge(e=document.body,t=b.data.userLocale){e.querySelectorAll("time[data-article-date]").forEach(n=>{n.classList.remove("is-invisible");let i;try{if(i=new Date(n.getAttribute("datetime")),isNaN(i.getTime()))return}catch{return}n.setAttribute("datetime",i.toISOString());let r={year:"numeric",month:"2-digit",day:"2-digit"};n.getAttribute("data-article-date-source")==="ms.date"&&(r.timeZone="UTC");let a=Ki(i,r,t);n.textContent=a})}A();function jge(){let e=location.pathname.toLowerCase();if(Ut&&e!==`/${b.data.userLocale}/test/docs/architecture/icons/`)return;if(!Ut&&e!==`/${b.data.userLocale}/azure/architecture/icons/`&&e!==`/${b.data.userLocale}/power-platform/guidance/icons`&&e!==`/${b.data.userLocale}/dynamics365/get-started/icons`)return;let t=S.querySelector(".content a.button"),o=t.href;t.parentElement.parentElement.classList.add("margin-bottom-lg");let n=()=>{S.querySelector('.azure-icons-consent input[type="checkbox"]').checked?(t.href=o,t.removeAttribute("disabled")):(t.href="http://approjects.co.za/?big=javascript:void(0)",t.setAttribute("disabled","disabled"))},i=a=>{let l=a.target instanceof HTMLElement&&a.target;l&&l.parentElement.classList.contains("azure-icons-consent")&&n()},r=S.getElementById("consent-checkbox");r.classList.add("margin-block-sm");let s=r.textContent;y(O$e(s),r),n(),U.addEventListener("change",i)}function O$e(e){return d` `}A();function H$e(e,t){let o={};return e.querySelectorAll("li > a").forEach(i=>{if(i.textContent){let r=t?i.textContent="default":i.textContent.trim().slice(1,-1).split("|");if(r.length===2){let s=r[0].trim(),a=r[1].trim(),l=i.href;s&&a&&l&&(o[s]||(o[s]={}),o[s][a]=l)}}}),o}function Yge(e){let t=document.createElement("a");return t.href=e,t.host===""&&(t.href=t.href),t.protocol+"//"+t.host+t.pathname}function B$e(e){let t=window.location.href.toLowerCase(),o=Yge(t);for(let n in e)for(let i in e[n]){let r=e[n][i].toLowerCase();if(Yge(r).localeCompare(o,void 0,{sensitivity:"base"})===0)return[n,i]}return null}function V$e(e,t,o){function n(u){return[u,u]}function i(u){window.location.href=u}let r=H$e(e,t),s=B$e(r),a=document.createElement("div");a.classList.add("azureselector"),a.classList.add("display-none-print");let l=e.getAttribute("title1"),c=Wge(a,l);if(BH(c,r,n,!1,o),s&&(c.value=s[0]),t)c.addEventListener("change",()=>{c.value&&i(r[c.value].default)});else{let u=e.getAttribute("title2"),p=Wge(a,u);c.addEventListener("change",()=>{BH(p,c.value?r[c.value]:{},n,!1,o)}),p.addEventListener("change",()=>{c.value&&p.value&&i(r[c.value][p.value])}),BH(p,c.value?r[c.value]:{},n,!1,o),s&&(p.value=s[1])}e.insertAdjacentElement("afterend",a)}function Kge(){let e=gG,t=document.querySelector(".op_single_selector"),o=document.querySelectorAll(".op_multi_selector");t&&G$e(t),o.forEach(n=>{V$e(n,!1,e)})}function G$e(e){let t=e.parentNode,o=e.getAttribute("title1"),n=Array.from(document.querySelectorAll(".op_single_selector > ul > li")),i=Array.from(document.querySelectorAll(".op_single_selector > ul > li > a")),r=[];i.map(c=>{let u={title:c.textContent,href:c.href};r.push(u)});let s=n[0].firstElementChild.getAttribute("href")?Q$e(r):n.shift().textContent,a=document.createElement("nav");a.classList.add("margin-top-xxs","display-none-print"),a.setAttribute("aria-label",o||"Dropdown menu"),t.replaceChild(a,e);let l=j$e(s,r,o);y(l,a)}function Q$e(e){let t=decodeURI(location.pathname).toLowerCase();for(let o of e)if(new URL(o.href,location.href).pathname.toLowerCase()===t)return o.title;return e[0].title}function j$e(e,t,o){let n=d``,i=[];o&&(n=d`${o}`);let r="padding-xxs";for(let s of t)i.push(d`
  • ${s.title}
  • `);return d` ${n} `}function Wge(e,t){let o=document.createElement("div");o.classList.add("display-inline-block-tablet","margin-block-xxs","margin-right-xs-tablet");let n=Je(),i=d`
    ${t?d` `:""}
    `;return y(i,o),e.appendChild(o),o.querySelector("select")}function BH(e,t,o,n,i){let r=[];n||r.push(d``);for(let s in t){let a=o(s,t[s]);a&&a.length===2&&r.push(d``)}y(r,e)}var Ro={value:null};async function VH(e,t,o){let n={scopes:[e],forceRefresh:!0,authority:`https://login.microsoftonline.com/${t}`};return await Jge(n,o)}async function Jge(e,t){try{return await Pi.acquireTokenSilent(e)}catch(o){if(Fn.trackTrace({message:`Acquire Token Silent Failure - ${k?.userName} - ${e.scopes.toString()} - ${e.authority} - ${o?.message}`}),Fn.trackException(o),o instanceof Co&&t.noInteraction===!1)try{return await Pi.acquireTokenPopup(e)}catch(n){return Fn.trackTrace({message:`Acquire Token Popup Failure - ${k?.userName} - ${e.scopes.toString()} - ${e.authority} - ${n?.message}`}),Fn.trackException(n),null}return null}}async function Y$e(e){if(!(e.username.includes("@")&&e.username.includes(".")))throw new Error(`Account username is not an email address: ${e.username}`);let t=e.username.split("@"),o=t[1]?t[1].split(".")[0]:"",i=`https://login.windows.net/${`${t[0]}${o}.onmicrosoft.com`}/.well-known/openid-configuration`,s=await(await M(i,{method:"GET"})).json();if("error"in s&&s.error==="invalid_tenant")throw new Error(`${s.error}: ${s.error_description}`);if("issuer"in s)return s.issuer.split("/")[3];throw new Error("Issuer not found in OpenID configuration")}function W$e(e){return![xae,Tae,yae].includes(e)}var vS={async tryLoadTokens(e={noInteraction:!0}){if(await ve,!k.isAuthenticated)return Fn.trackTrace({message:`Try Load Token User Not Authenticated - ${k?.userName}`}),null;try{let t=qu(),n=qA(t).preferred_username,i=Pi.getAccount({username:n});Pi.setActiveAccount(i);let r=P("interactive")?.toLowerCase(),s=r&&(r==="powershell"||r==="bash"),a=P("rest_product")?.toLowerCase()??"",l=i?.tenantId===OA||i?.homeAccountId.split(".")[1]===OA,c=[],u="",p=null;try{u=l?await Y$e(i):"organizations"}catch{return c}let m={scopes:["https://management.azure.com/user_impersonation"],forceRefresh:!0,authority:`https://login.microsoftonline.com/${u}`,redirectUri:wP},g=await Jge(m,e),f="https://management.azure.com/tenants?api-version=2020-01-01",_={method:"GET",headers:{Authorization:`Bearer ${g.accessToken}`}};if(p=await(await M(f,_)).json(),!p||!p.value)return c;p.value=p.value.filter(x=>W$e(x.tenantId));for(let x of p.value){if(!x.tenantId)continue;let v={access_token:"",access_token_type:"",expires_at:"",msgraph_access_token:"",msgraph_access_token_type:"",msgraph_expires_at:"",key_vault_access_token:"",key_vault_access_token_type:"",key_vault_expires_at:"",display_name:x.displayName,default_domain:x.defaultDomain,tenant_id:x.tenantId},T={arm:"https://management.core.windows.net/user_impersonation","business-assist-api":"https://business-assist.microsoft.com/.default","dev-center":"https://devcenter.azure.com/.default",learn:"https://learn.microsoft.com/.default",fabric:"https://api.fabric.microsoft.com/.default","partner-center-rest":"https://api.partnercenter.microsoft.com/.default","power bi":"https://analysis.windows.net/powerbi/api/.default","health-dataplane":"https://deid.azure.com/.default"},I=await VH(T[a]??T.arm,x.tenantId,e);if(v.access_token=I?.accessToken,v.access_token_type=I?.tokenType,v.expires_at=I?.expiresOn?.valueOf().toString()??"",s){let C=await VH("https://vault.azure.net/user_impersonation",x.tenantId,e);v.key_vault_access_token=C?.accessToken,v.key_vault_access_token_type=C?.tokenType,v.key_vault_expires_at=C?.expiresOn.valueOf().toString();let H=await VH("https://graph.microsoft.com/.default",x.tenantId,e);v.msgraph_access_token=H?.accessToken,v.msgraph_access_token_type=H?.tokenType,v.msgraph_expires_at=H?.expiresOn.valueOf.toString()}c.push(v)}return c}catch(t){return Fn.trackTrace({message:`Try Load Token Failure - ${k?.userName} - ${t?.message}`}),Fn.trackException(t),null}}};var K$e=5*60*1e3,Zge=0;function efe(){document.addEventListener("visibilitychange",Xge,{passive:!0}),Xge()}function Xge(){document.visibilityState==="visible"?Zge=setInterval(J$e,K$e):clearInterval(Zge)}function J$e(){Ro.value&&vS.tryLoadTokens().then(e=>{let t=e.find(o=>o.default_domain===Ro.value.default_domain);t&&(Ro.value=t)})}function tfe(){return w.banner?(document.querySelectorAll("[data-banner-dismiss]").forEach(t=>{let o=t.closest(".banner");o&&(o.hidden=X$e(t.getAttribute("data-banner-dismiss")))}),document.addEventListener("click",Z$e)):void 0}function Z$e(e){let t=e.target instanceof HTMLElement&&e.target.closest("button[data-banner-dismiss]");if(!t)return;let o=t.getAttribute("data-banner-dismiss"),n=JSON.parse(se.getItem("dismissed-banners"));return n?(n.push(o),se.setItem("dismissed-banners",JSON.stringify(n))):se.setItem("dismissed-banners",JSON.stringify([o]))}function X$e(e){let t=JSON.parse(se.getItem("dismissed-banners"));return t?t.some(o=>o===e):!1}var GH;function QH(){if(GH===void 0){let e=P("api")||"/en-us/rest/api/rest-products.json";GH=M(e,{credentials:"include"}).then(t=>t.json())}return GH}function ofe(e){return e==="rest"?QH().then(t=>nze(t,e)).catch(()=>({platformId:e,displayName:e,families:[]})):M(`${N.monikers}/byPlatform/${encodeURIComponent(e)}`).then(t=>t.json()).then(t=>tze(t,e)).catch(()=>({platformId:e,displayName:e,families:[]}))}function nfe(e){return M(`${N.monikers}/bymoniker/${encodeURIComponent(e)}`).then(t=>t.ok?t.json().then(o=>(oze(e,o),o)):Promise.reject(null)).then(t=>ife(t)).catch(()=>jH(e))}function jH(e){return{displayName:e,products:[{displayName:e,packages:[{displayName:e,isDefault:!0,moniker:e,versionDisplayName:e,isDeprecated:!1,isPrerelease:!1}]}]}}function ife(e){return{displayName:e.familyName,products:e.products.map(({productName:t,packages:o})=>({displayName:t,packages:o.sort((n,i)=>i.order-n.order).filter(n=>eze(n)).map(n=>({displayName:n.monikerDisplayName,isDefault:n.isDefault,moniker:n.monikerName,versionDisplayName:n.versionDisplayName,isDeprecated:n.isDeprecated,isPrerelease:n.isPrerelease}))}))}}function eze(e){return b.data.brand==="mooncake"?e.monikerName!=="azure-cli-2017-03-09-profile":!0}function tze(e,t){return{platformId:t,families:e.map(ife)}}function oze(e,t){if(!t.products.find(o=>!!o.packages.find(n=>n.monikerName===e)))throw new Error(`The family "${t.familyName}" does not contain the moniker "${e}".`)}function nze(e,t){return{platformId:t,families:[{displayName:"",products:[{displayName:"",packages:e.map(o=>({displayName:o.name,moniker:o.scope,versionDisplayName:o.name,isDefault:!1,isDeprecated:!1,isPrerelease:!1}))}]}]}}function on(e,t,o=0,n=[]){for(let i of e){n.length=o;let r=t(i,n);if(!r)return 0;if(r!==2&&(n[o]=i,i.children&&!on(i.children,t,o+1,n)))return 0}return 1}var Ri="moniker-changed",YH="same-moniker-selected",rfe=()=>{let e=te().view;return e===void 0?"":e.toLowerCase()},yS=rfe();function it(){return yS}function Kd(e){if(e===yS){U.dispatchEvent(new CustomEvent(YH,{detail:{moniker:yS}}));return}yS=e,U.dispatchEvent(new CustomEvent(Ri,{detail:{moniker:yS}}))}U.addEventListener("popstate",()=>Kd(rfe()));var Rl={"ar-sa":"\u0627\u0644\u0639\u0631\u0628\u064A\u0629","eu-es":"Euskara","bs-latn-ba":"Bosanski","bg-bg":"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438","ca-es":"Catal\xE0","zh-cn":"\u4E2D\u6587 (\u7B80\u4F53)","zh-hk":"\u4E2D\u6587 (\u7E41\u9AD4 \u9999\u6E2F\u7279\u5225\u884C\u653F\u5340)","zh-tw":"\u4E2D\u6587 (\u7E41\u9AD4)","hr-hr":"Hrvatski","cs-cz":"\u010Ce\u0161tina","da-dk":"Dansk","nl-be":"Nederlands (Belgi\xEB)","nl-nl":"Nederlands","en-au":"English (Australia)","en-ca":"English (Canada)","en-in":"English (India)","en-ie":"English (Ireland)","en-my":"English (Malaysia)","en-nz":"English (New Zealand)","en-sg":"English (Singapore)","en-za":"English (South Africa)","en-gb":"English (United Kingdom)","en-us":"English (United States)","et-ee":"Eesti","fil-ph":"Filipino","fi-fi":"Suomi","fr-be":"Fran\xE7ais (Belgique)","fr-ca":"Fran\xE7ais (Canada)","fr-fr":"Fran\xE7ais","fr-ch":"Fran\xE7ais (Suisse)","gl-es":"Galego","ka-ge":"Georgian","de-at":"Deutsch (\xD6sterreich)","de-de":"Deutsch","de-ch":"Deutsch (Schweiz)","el-gr":"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC","he-il":"\u05E2\u05D1\u05E8\u05D9\u05EA\u200F","hi-in":"\u0939\u093F\u0902\u0926\u0940","hu-hu":"Magyar","is-is":"\xCDslenska","id-id":"Bahasa Indonesia","ga-ie":"Irish (Ireland)","it-it":"Italiano","it-ch":"Italiano (Svizzera)","ja-jp":"\u65E5\u672C\u8A9E","kk-kz":"\u049A\u0430\u0437\u0430\u049B","ko-kr":"\uD55C\uAD6D\uC5B4","lv-lv":"Latvie\u0161u","lt-lt":"Lietuvi\u0173","lb-lu":"Luxembourgish (Luxembourg)","ms-my":"Bahasa Malaysia","mt-mt":"Maltese (Malta)","nb-no":"Norsk","pl-pl":"Polski","pt-br":"Portugu\xEAs (Brasil)","pt-pt":"Portugu\xEAs (Portugal)","ro-ro":"Rom\xE2n\u0103","ru-ru":"\u0420\u0443\u0441\u0441\u043A\u0438\u0439","sr-cyrl-rs":"\u0421\u0440\u043F\u0441\u043A\u0438 (\u0421\u0440\u0431\u0438\u0458\u0430 \u0438 \u0426\u0440\u043D\u0430 \u0413\u043E\u0440\u0430)","sr-latn-rs":"Srbija - Srpski","sk-sk":"Sloven\u010Dina","sl-si":"Slovenski","es-mx":"Espa\xF1ol (M\xE9xico)","es-es":"Espa\xF1ol (Espa\xF1a)","sv-se":"Svenska","th-th":"\u0E44\u0E17\u0E22","tr-tr":"T\xFCrk\xE7e","uk-ua":"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430","vi-vn":"Ti\xEA\u0301ng Vi\xEA\u0323t"};var Jd=/^\/([a-z]{2,3}-(?:[a-z]{4}-)?[a-z]{2})(\/|$)/i,ize="MarketplaceSelectedLocale",rze=["ContentPage","Conceptual","Module","ModuleUnit","LearningPath"];function WH(e){return!!Rl[e]}function xS(e){let t=Jd.exec(e);return t===null?"en-us":t[1].toLowerCase()}function et(e,t,o=!0){return!e||!WH(t)||e.indexOf("http://")===0||e.indexOf("https://")===0||e.indexOf("//")===0?e:Jd.test(e)?o?yg(e,t):e:"/"+t+e}function Un(e){return e.replace(Jd,"/")}function yg(e,t){return e.replace(Jd,`/${t}$2`)}async function sfe(){let e=b.data.userLocale,t=b.data.contentLocale,o=at.machineTranslated;b.data.userLocaleName=Rl[e],await Se,t!==e&&/^en/.test(t)&&!/^en/.test(e)&&!o&&rze.indexOf(b.data.pageTemplate)!==-1&&Kt(lze(b.data.pageTemplate,e)),KH(e)}function afe(e){rr.set(ize,e,{expires:365*10})}function KH(e){Array.from(document.querySelectorAll(".locale-selector-link")).forEach(t=>sze(t,e))}function sze(e,t){let o=e.querySelector(".local-selector-link-text"),n=Rl[t];o?o.textContent=n:e.textContent=n,e.addEventListener("mousedown",()=>e.href=`/${t}/locale?target=${encodeURIComponent(location.href)}`),e.addEventListener("keydown",()=>e.href=`/${t}/locale?target=${encodeURIComponent(location.href)}`),e.href=`/${t}/locale?target=${encodeURIComponent(location.href)}`;let i=EY.replace("{language}",n);e.setAttribute("aria-label",i)}function aze(e){return xs("localization_scopes").indexOf(e)!==-1}function lze(e,t){let o=aze(t),n=Rl[t];return e==="LearningPath"?o?iW.replace("{language}",n):rW.replace("{language}",n):e==="Module"||e==="ModuleUnit"?o?sW.replace("{language}",n):aW.replace("{language}",n):nW}var cze=/^([.\/]*\/)?([^\?#]*)?(\?[^#]*)?(#.*)?$/,TS=/(^|\/)index$/i,uze=R.accessLevel==="local"&&b.environment===void 0,JH={};function dze(e,t){let{origin:o,pathname:n}=AN(e),i={"/":`/${t}/`},r=n.split("/"),s="";for(;r.length>2;){r.pop();let a=r.join("/")+"/";i[s]=a,i["./"+s]=a,s+="../"}return{origin:o,relMap:i}}var __=class{constructor(t,o,n,i,r){this.external=t;this.origin=o;this.pathname=n;this.search=i;this.hash=r}get href(){return this.origin+this.pathname+this.search+this.hash}originAndPathnameEquals({origin:t,pathname:o}){return this.pathname.length===o.length&&this.origin.length===this.origin.length&&this.pathname.localeCompare(o,void 0,{sensitivity:"base"})===0&&this.origin.localeCompare(t,void 0,{sensitivity:"base"})===0}originAndPathnameStartsWith({origin:t,pathname:o}){return this.pathname.length>=o.length&&(o[o.length-1]==="/"||this.pathname[o.length]===void 0||this.pathname[o.length]==="/")&&this.origin.length===t.length&&this.pathname.substr(0,o.length).localeCompare(o,void 0,{sensitivity:"base"})===0&&this.origin.localeCompare(t,void 0,{sensitivity:"base"})===0}};function ei(e,t,o=b.data.userLocale,n=J.origin){let[i,r,,,s,a]=e;if(i==="/"&&r==="/"||s===":"||a===":"){let{origin:v,pathname:T,search:I,hash:C}=AN(e);if(v!==n)return new __(!0,v,T,I,C);let H=Jd.exec(T);return(!H||!WH(H[1]))&&(T="/"+o+T),T=decodeURIComponent(T.replace(TS,"$1")),new __(!1,v,T,I,C)}JH[t]===void 0&&(JH[t]=dze(t,o));let{origin:l,relMap:c}=JH[t],u=cze.exec(e),[,p="",m="",g="",f=""]=u,_=c[p];uze&&(m=m.replace(/\.html$/i,""));let h=m.replace(TS,"$1");h.indexOf("%")!==-1&&(h=decodeURIComponent(h));let x=_+h;return new __(!1,l,x,g,f)}function Zd({origin:e,pathname:t,search:o,hash:n}=J){return t=ZH(t),t=decodeURIComponent(t).toLowerCase().replace(TS,"$1"),new __(!1,e,t,o,n)}function ZH(e){return e.replace(/\/+/g,"/")}var pze=Zd(),UP=P("moniker_definition_rel"),qP,XH=new Map,xg=!!UP&&UP.endsWith(".json");function eB(){if(!UP)return null;let e=ei(UP,pze.href);return ufe(e.href)}async function cfe(e){let t=[],o=it();for(let n of e)if(n.metadata?.moniker_definition_rel){let i=ei(n.metadata.moniker_definition_rel,n.url);t.push(ufe(i.href).then(({monikerSet:r})=>lfe(n.nodes,r)))}else o&&t.push(Promise.resolve(lfe(n.nodes,new Set([o]))));await Promise.all(t)}function lfe(e,t){t?.size&&on(e,(o,n)=>{if(o.monikers===void 0&&n&&n.length){let i=n[n.length-1];i.monikers&&i.monikers.length&&(o.monikers=i.monikers)}if(o.monikers&&o.monikers.length&&o.selectedMoniker===void 0){let i=o.monikers.find(r=>t.has(r));o.selectedMoniker=i===void 0?null:i}return!0})}function ufe(e){let t={family:null,monikerSet:new Set};if(!e)return Promise.resolve(t);let o;return XH.has(e)?o=XH.get(e):(o=M(e,{credentials:"include"}).then(n=>n.json()).then(n=>mze(n)).catch(()=>t),XH.set(e,o)),o}function mze(e){let t=null,o=new Set,n=it(),i=e.products.reduce((r,s)=>{let a=s.familyName;return r[a]=r[a]||[],r[a].push(s),r},{});return Object.keys(i).forEach(r=>{let s="",a=!1,l=i[r];l.forEach(u=>{u.monikers.forEach(p=>{p.isDefault&&(s=p.monikerName),p.monikerName===n&&(a=!0,t=gze(r,l))})});let c=a?n:s;c&&o.add(c)}),{family:t,monikerSet:o}}async function dfe(){if(qP===void 0){let e=it();if(xg){let t=await eB();qP=Promise.resolve(t?.family??jH(e))}else qP=nfe(e)}return qP}function gze(e,t){return{displayName:e,products:t.map(o=>({displayName:o.productName,packages:o.monikers.sort((n,i)=>i.order-n.order).map(n=>({moniker:n.monikerName,displayName:n.monikerDisplayName??n.monikerName,versionDisplayName:n.versionDisplayName??n.monikerName,isDefault:n.isDefault??!1,isDeprecated:n.isDeprecated??!1,isPrerelease:n.isPrerelease??!1}))}))}}var tB;function Na(){return tB===void 0&&(tB=dfe()),tB}function v_(e,t){for(let o of e.products)for(let n of o.packages)if(n.moniker===t)return n;return null}var y_=null;async function pfe(e=b.data.pageTemplate){OP();let t=te(),o=t.viewFallbackFrom,n=t.branchFallbackFrom,i=t.branch;if(o&&e!=="NotFound"){fze(o);return}n&&i&&hze(n,i)}async function fze(e){let t=await Na(),o=v_(t,e);o&&(y_=Kt(dZ.replace("{moniker}",Ge(o.displayName))))}function hze(e,t){y_=Kt(vG.replace("{branchFallbackFrom}",Ge(e)).replace("{branch}",Ge(t)))}function OP(){if(y_){let e=y_.firstElementChild;if(!e)return;y_.removeChild(e),y_=null,Lt()}}function mfe(){R.supportLevel==="production"&&R.reviewFeatures&&Kt(oW)}A();var HP=[];var SS="banner-instructions",wS="banner-instructions-locale",bze=1e3*60*60;function gfe(e=w.temporaryClientSideEventBanners){if(e){try{nB()}catch{se.removeItem(SS),se.removeItem(wS)}oB()}}async function oB(e=M,t=new Date){let o=ffe();if(o&&o.date.getTime()+bze>Date.now())return;let n=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",i=new URL(`/${b.data.userLocale}/${n}banners/index.json`,location.origin);if(R.reviewFeatures){let a=new URLSearchParams(location.search).get("api-branch")??"main";i.searchParams.set("branch",a)}let r=await e(i.href),{banners:s=[]}=r.ok?await r.json():{};se.setItem(SS,JSON.stringify({date:t,banners:s})),se.setItem(wS,b.data.userLocale)}function nB(){let e=ffe();if(!e)return;let t=b.data.userLocale,o=e.banners.filter(n=>n.location==="sectional"&&n.scope.accessLevels.includes("online")&&n.content.text&&(!n.scope.locales||n.scope.locales.includes(t))).map(({uid:n,scope:i,content:r,displayType:s})=>{let[a,l]=r.text.split("|");l||(l=a,a=""),a=a.trim(),l=l.trim();let c=i.paths.map(g=>{let f=!g.endsWith("*");return{path:g.substring(1).replace(/\*/g,""),fullPathMatch:f}}),u="",p="";return r.link&&(u=r.link.title,p=r.link.href.startsWith("/")?`/${t}${Un(r.link.href)}`:r.link.href),{id:n,startTime:i.startDate,endTime:i.endDate,bannerPaths:c,eventTitle:a,eventDescription:l,linkHref:p,linkText:u,imageUrl:r.imageUrl,displayType:s,displayedEventStartDate:i.displayedEventStartDate,displayedEventEndDate:i.displayedEventEndDate}});HP.push(...o)}function ffe(e=b.data.userLocale){let t=se.getItem(SS),o=se.getItem(wS);if(o&&o!==e||!t)return se.removeItem(SS),se.removeItem(wS),null;try{let i=JSON.parse(t);if(i.date=new Date(i.date),isNaN(i.date.getTime()))return null;for(let r of i.banners){if(r.scope.startDate=new Date(r.scope.startDate),r.scope.endDate=new Date(r.scope.endDate),isNaN(r.scope.startDate.getTime())||isNaN(r.scope.endDate.getTime()))return null;r.scope.displayedEventStartDate&&r.scope.displayedEventEndDate&&(r.scope.displayedEventStartDate=new Date(r.scope.displayedEventStartDate),r.scope.displayedEventEndDate=new Date(r.scope.displayedEventEndDate))}return i}catch{se.removeItem(SS),se.removeItem(wS)}return null}A();var Tg=Intl.DateTimeFormat().resolvedOptions().timeZone;function On(e){let t=Math.floor(e/60),o=e%60;return t===0?L0.replace("{numberOfMinutes}",o.toString()):o===0?`${t} ${hJ}`:_J.replace("{numberOfHours}",t.toString()).replace("{numberOfMinutes}",o.toString())}var hfe=new Intl.DateTimeFormat(b.data.userLocale,{hour:"numeric",minute:"numeric"}),Rwt=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric"}),Mwt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric"}),Dwt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",year:"2-digit"}),vze=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",year:"numeric"}),$wt=new Intl.DateTimeFormat(b.data.userLocale,{day:"numeric"}),zwt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short"}),Nwt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"short"}),Fwt=new Intl.DateTimeFormat(b.data.userLocale,{year:"numeric"}),Os=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric"}),qwt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"long",month:"long",day:"numeric",year:"numeric"});function bfe(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric",timeZone:e})}function Ml(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",timeZone:e})}function _fe(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"2-digit",day:"2-digit",year:"numeric",timeZone:e})}function vfe(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",timeZone:e})}function rB(e=Tg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",hour:"numeric",timeZone:e})}function nn(e){return Math.floor(e/1e3)}function yfe(e){return Math.floor(e/1e3/60)}function sB(e){let t=e/1e3,o=Math.floor(t/3600),n=iB(Math.floor(t%3600/60)),i=iB(Math.floor(t%3600%60));return o<1?`${n}:${i}`:`${iB(o)}:${n}:${i}`}function BP(e){let t="",o=0,n="",i=Math.floor(e/168),r=Math.floor(e%168/24),s=e-i*168-r*24;if(i>0&&o++,r>0&&o++,s>0&&o++,o>0&&o--,i>0){let l=i===1?bA:_A;a(),t+=i.toString()+" "+l+n,n=""}if(r>0){let l=r===1?yE:vy;a(),t+=r.toString()+" "+l+n,n=""}if(s>0){let l=s===1?AE:Eu;t+=s.toString()+" "+l}return t;function a(){o>0&&(n=", ",o--)}}function Sg(e){if(!e)return"";let t=e.getMonth()+1,o=e.getDate();return`${e.getFullYear()}-${t>9?t:`0${t}`}-${o>9?o:`0${o}`}`}function iB(e){return e<10?`0${e}`:`${e}`}function xfe(e){if(e===0)return"PT0S";let t=Math.floor(e/864e5);e=e-t*864e5;let o=e,n=Math.floor(e/36e5);e=e-n*36e5;let i=Math.floor(e/6e4);e=e-i*6e4;let r=Math.floor(e/1e3);e=e-r*1e3;let s="P";return t>0&&(s+=t.toString()+"D"),o>0&&(s+="T"),n>0&&(s+=n.toString()+"H"),i>0&&(s+=i.toString()+"M"),r>0&&(s+=r.toString()+"S"),s}function x_(e){let t="h",o="m",n="s",i=0,r=e.indexOf(t)!==-1,s=e.indexOf(o)!==-1,a=e.indexOf(n)!==-1;return i+=r?Number(e.substring(0,e.indexOf(t)))*3600:0,i+=s?r?Number(e.substring(e.indexOf(t)+1,e.indexOf(o)))*60:Number(e.substring(0,e.indexOf(o)))*60:0,i+=a?Number(s?e.substring(e.indexOf(o)+1,e.indexOf(n)):r?e.substring(e.indexOf(t)+1,e.indexOf(n)):e.substring(0,e.indexOf(n))):0,i}function aB(e){let t="",o="",n="";if(e.indexOf(":")===-1)return Number(e)>0?e+"s":t;let i=e.split(":");return isNaN(Number(i[0]))||isNaN(Number(i[1]))||isNaN(Number(i[2]))&&i.length===3||i.length>3?"":(Number(i[0])>0&&(n=i.length===2?Number(i[0]).toString()+"m":Number(i[0]).toString()+"h"),Number(i[1])>0&&(o=i.length===2?Number(i[1]).toString()+"s":Number(i[1]).toString()+"m"),Number(i[2])>0&&(t=i.length===2?"":Number(i[2]).toString()+"s"),n+o+t)}A();function T_(e,t,o,n){let i=n?d`${n}`:"",r=w.rightRailSticky?"":d``;return d` ${r}
    ${e}
    ${t}
    ${i}
    `}function S_(e,t){return d`

    ${t}

    `}function w_(e,t,o,n,i,r){let s=n?d`

    ${n}

    `:"",a=o?d`

    ${e}

    `:d`

    ${e}

    `;return d` ${s} ${a} `}function C_(e,t=!0){return d`

    ${e}

    `}function Tfe(e){return d` `}function E_(){if(!w.connectedExperiences)return;let e=document.getElementById("ms--additional-resources-heading");e&&(e.hidden=!1);let t=document.getElementById("ms--additional-resources-mobile-heading"),o=document.querySelector("#ms--additional-resources-mobile > hr");t&&o&&(o.hidden=!1,t.hidden=!1)}function yze(e){let t=rB().format(e.displayedEventStartDate),o=rB().format(e.displayedEventEndDate),n=S_("docon-special-event",wW),i=e.eventTitle?w_(e.eventTitle,!1,e.linkHref):"",r=e.eventTitle?"margin-top-xs":"",s=d` ${e.displayType==="event-image-card"&&e.imageUrl?Tfe(e.imageUrl):""} ${i}

    ${t} - ${o}

    ${C_(e.eventDescription,!1)} ${e.linkText} `;return T_(n,s,!1)}async function Sfe(){!w.connectedExperiences&&!w.temporaryClientSideEventBanners||(await oB(),nB())}function wfe(e){let t=Array.from(document.querySelectorAll("#right-rail-events, #right-rail-events-mobile"));E_();for(let o of t)y(yze(e[0]),o),o.hidden=!1,Lt()}var xze=["Ask","ApiBrowserPage","Architecture","AssessmentsBrowse","AssessmentsLanding","AssessmentsHome","AssessmentsSession","CareerPath","Challenge","CollectionsHome","Conceptual","ContentBrowserPage","ContentPage","Course","Directory","FAQ","HowTo","Hub","Landing","LearnHome","LearningPath","Marketing","Module","Moderation","ProductList","Reference","Question","QuestionEdit","QuestionList","Sample","SearchPage","Show","SkillingPlans","Tag","TagList","TopicLanding","Welcome"],Tze=["/aspnet/core/blazor/globalization-localization","/dotnet/framework/ui-automation/accessibility-best-practices","/learn/modules/intro-accessibility-disability/","/learn/modules/write-inclusive-windows-apps/","/learn/paths/accessibility-fundamentals/","/training/modules/intro-accessibility-disability/","/training/modules/write-inclusive-windows-apps/","/training/paths/accessibility-fundamentals/","/microsoft-edge/accessibility/","/microsoft-edge/devtools-guide-chromium/accessibility/reference","/windows/uwp/design/accessibility/basic-accessibility-information","/xamarin/android/app-fundamentals/accessibility","/xamarin/ios/app-fundamentals/accessibility","/xamarin/xamarin-forms/app-fundamentals/accessibility/"];function VP(e=location.pathname,t=Pr.template){return e=Un(e),Tze.includes(e)?!1:xze.includes(t)||!t&&e.startsWith("/answers/")}function GP(){let e=document.getElementById("cookie-consent-holder");return!e||document.getElementById("banner-holder")?null:(e.insertAdjacentHTML("afterend",''),e.nextElementSibling)}function Cfe(e,t,o,n){let i=kA(),r=i>t.getTime()&&i<=o.getTime(),s=localStorage.getItem(e)==="hide",a=Un(location.pathname).toLowerCase();a=a.startsWith("/")?a.substring(1):a;let l=n.some(c=>c.fullPathMatch?a===c.path:a.startsWith(c.path));return r&&!s&&l}A();function Sze({uid:e,startDate:t,endDate:o,cssClass:n,title:i,subtitle:r,description:s,cta:a,theme:l,buttonCss:c=""},u=Date.now(),p=location.pathname){if(p=Un(p),!w.marketing||u=o.getTime()||!VP()||se.getItem(e)==="hide")return!1;let m=GP();if(!m)return!1;m.classList.add(`theme-${l}`);let g=d`

    ${i}

    ${r?d`

    ${r}

    `:""}
    ${a.title}
    `;return y(g,m),!0}function wze(e=kA()){return Sze({uid:"2026-03--build",title:Jre,description:Xre,subtitle:Zre,cta:{href:"https://aka.ms/MSBuild_FY26_BN_MSLearn_Hero",title:ese},cssClass:"build-banner",theme:"light",startDate:new Date("2026-03-13T15:00:00.000Z"),endDate:new Date("2026-06-01T00:00:00.000Z")},e)}function Efe(){return wze()}async function Afe(){if(!VP())return;w.connectedExperiences&&w.temporaryClientSideEventBanners?await Sfe():gfe();let e=HP.filter(o=>{let{id:n,startTime:i,endTime:r,bannerPaths:s}=o;return Cfe(n,i,r,s)}),t=!1;if(!(Efe()&&(t=!0,!w.connectedExperiences))&&!(e.length<1)){if(w.connectedExperiences&&e[0].displayType)wfe(e);else if(!t)for(let o of e){let n=GP();if(!n)return;let{id:i,eventTitle:r,eventDescription:s,linkHref:a,linkText:l}=o,c=Cze(`${i}-banner`,`${i}-event`,r,s,a,l);y(c,n);let u=n.querySelector("[data-dismiss]");u.onclick=()=>se.setItem(i,"hide")}}}function Cze(e,t,o,n,i,r){let s=i&&r?d` ${r} `:"";return d` `}Qp();async function Eze(e,t="fiveStar"){e.rating&&(t==="binary"?e.rating=(e.rating-1)/4:e.rating/=5)}async function kfe(e,t="fiveStar"){if(e.rating===null||e.rating===void 0||isNaN(e.rating))throw new Error("No rating was selected by the user");Eze(e,t);let o={method:"POST",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify(e)},n=K(`${N.ocvFeedback}`,o),i=await M(n),r;if(i.ok)return r=await i.json(),r;throw new Error(`ocv api responded with ${i.status} ${i.statusText}`)}A();He();var Aze=[Gre,cX,jW,iJ,rJ];function Ife(e,t,o,n,i,r,s=Aze,a=!1,l="star-rating-control"){let c=document.createElement("fieldset");c.classList.add("star-rating-control"),c.setAttribute("data-bi-name",l);let u=`font-size-${t}`,p=`font-size-${o}`,m=Je(),g=[],f=n==="display-inline-flex"?"":n;for(let T=0;T<5;T++){let I=Je();g.push(d` `)}let _=i?d`
    ${gJ}
    `:"",h=d` ${_}
    ${g}
    `,x=n==="display-inline-flex"?d`
    ${h}
    `:h;y(x,c);let v=c.querySelector(".rating-output");if(e!==0){let T=c.querySelector(`input[value="${e}"]`);T.checked=!0,v.textContent=T.nextElementSibling.textContent}return c.onmouseover=T=>{let I=T.target.closest("label");I&&(v.textContent=I.textContent)},c.onmouseleave=()=>{v.textContent=""},c.onchange=T=>{let I=T.target,C=parseInt(I.value),H=c.querySelectorAll(".star-collection input");for(let F=0;F=F?H[F].classList.add("is-selected"):H[F].classList.remove("is-selected");r(C),I.nextElementSibling&&(v.textContent=I.nextElementSibling.textContent)},c}var kze=2539,Ize=50033,Lfe=R.reviewFeatures?Ize:kze;var Pfe="a6b7c4ac-4c15-426f-b054-42341177dffc";var Rfe=[RZ,PZ,LZ,IZ,kZ];function Mfe(){Kt(GY,{text:Hre,clickHandler:Dze},void 0,void 0,"mt-csat-banner")}var QP,lB,CS;function Lze(){return d` `}function Pze(){let e=Ife(0,"m","m","",!1,t=>QP=t,Rfe,!0);return d` `}function Rze(){xe({actionType:we.OTHER,behavior:le.OTHER,content:{type:"translation-csat-feedback",score:QP,verbatim:lB}})}function Mze(e){if(e.preventDefault(),CS){Rze(),kfe({manifestType:"Psat",appId:Lfe,submitTime:new Date().toISOString(),source:"Client",type:"Survey",telemetry:{featureArea:"Docs"},clientFeedbackId:eu(),survey:{surveyId:Pfe},rating:QP,comment:lB||"",web:{sourcePageURI:location.origin+location.pathname}});let t=document.createElement("div");t.classList.add("modal-slide"),y(Lze(),t),CS.pushContent(t)}}function Dze(){let e=document.createElement("div");y(Pze(),e),CS=null,QP=null,CS=new be(e),CS.show()}var $ze=at.machineTranslated;function $fe(e){let t=e.toLowerCase(),o=b.data.isEditDisplayable;if(w.translationFeedback){Mfe();return}pn()||t.startsWith("en-")||!$ze||(o?Kt(WY):Kt(KY))}function zfe(){let e=Array.from(document.querySelectorAll("[data-read-in-link]"));for(let t of e){let o=t.querySelector("[data-read-in-link-text]");if(cB()){let i=new URL(document.referrer),r=xS(i.pathname),s=qX.replace("{language}",Rl[r]);o.innerText=s,t.title=s,t.hidden=!1}else b.data.userLocale.includes("en-")||(o.innerText=Sz,t.title=Sz,t.hidden=!1);Dfe(t),window.addEventListener("popstate",()=>Dfe(t))}}function cB(e=location.href,t=document.referrer){if(!t)return!1;let o=new URL(e),n=new URL(t),i=xS(o.pathname),r=xS(n.pathname),s=yg(n.pathname,"en-us");return!(o.origin!==n.origin||o.pathname!==s||i===r)}function Dfe(e){let t=new URL(location.href);if(cB()){let o=new URL(document.referrer),n=xS(o.pathname);t.pathname=yg(t.pathname,n)}else t.pathname=yg(t.pathname,"en-us");e.href=t.href,zze(e)}function zze(e,t=cB()){let o=t?"on":"off";e.setAttribute("data-bi",JSON.stringify({cN:"language-toggle",value:o}))}A();function Nze(e){let t=te().branch||rr.get("CONTENT_BRANCH")||"",o=e.sort().map(n=>``).join("");return`
    `}function uB(){if(!R.reviewFeatures)return;let e=document.getElementById("article-header-page-actions");if(e===null)return;let t=document.querySelector('meta[name="branches"]')?.content.split(",")??[];if(t.length===0)return;let o=document.createElement("div");o.classList.add("control"),o.id="branch-selector-container",o.innerHTML=Nze(t);let n=o.querySelector("select"),i=te().view||"",r=i?`view=${encodeURIComponent(i)}&`:"";n&&(n.onchange=()=>{let a=n.value;rr.set("CONTENT_BRANCH",a),window.location.search=`?${r}branch=${encodeURIComponent(a)}`}),e.insertAdjacentElement("afterbegin",o),o.classList.remove("control"),o.classList.add("display-flex","align-items-center")}A();var dB=class{constructor(t,o=[]){this.breadcrumbsWrapper=t,this.basePath=b.data.userLocale,this.baseTitle="Learn",Ut&&(this.baseTitle="Test",this.basePath+="/test"),this.breadcrumbsList=[{title:this.baseTitle,url:`/${this.basePath}/`},...o]}add(...t){t.forEach(o=>this.breadcrumbsList.push(o))}render(){pB(this.breadcrumbsList);let t=this.breadcrumbsWrapper;if(!t)return;y(d` `,t);let o=document.getElementById("article-header-breadcrumbs-overflow"),n=document.querySelectorAll(".has-interactive section.primary-holder"),i=document.getElementById("branch-selector"),r;i&&(r=Fze(n,i)),o&&y(d` ${r} `,o)}breadcrumbsTemplate(){return this.breadcrumbsList.map(t=>{let o;return t.url?(t.url=t.url.replace(/\/index$/i,"/"),o=d`${t.title}`):o=d`${t.title}`,d`
  • ${o}
  • `})}};function Fze(e,t){let o;if(e.length&&t){o=document.getElementById("branch-selector-container"),o&&o.classList.add("padding-xxs");let n=document.getElementById("article-header-breadcrumbs-overflow-popover");n&&n.setAttribute("style","display: inline-block !important")}return o}async function Xd(e){if(b.data.context.chromeless)return;await Se;let t=e||document.getElementById("article-header-breadcrumbs");return t?new dB(t):void 0}function pB(e){let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[]},o=e.filter((n,i)=>n.url||i+1===e.length).map((n,i)=>{let r={name:n.title,position:i+1,"@type":"ListItem"};return n.url&&(r.item=n.url),r});if(t.itemListElement=o,t.itemListElement.length){let n=document.createElement("script");n.setAttribute("type","application/ld+json"),n.textContent=JSON.stringify(t),document.head.appendChild(n)}}function Nfe(){let e=Array.from(document.querySelectorAll(".has-interactive section.primary-holder"));if(!e.length)return;let t=e[0],o=document.getElementById("article-header-breadcrumbs-overflow-popover");if(o){let i=document.getElementById("article-header-breadcrumbs-overflow");if(!i)return;o.addEventListener("toggle",()=>{i.getBoundingClientRect().width{r.getBoundingClientRect().width{S.body.removeChild(o)},()=>{S.body.removeChild(o),n=!1}),n}function mB(e,t){return navigator.clipboard?navigator.clipboard.writeText(e).then(()=>!0,()=>!1):Promise.resolve(yr(e,t))}var jP=!1;function Ffe(){function e(t){let o=U.getSelection();if(!o)return;let n=o.toString(),i=gae(n);if(ES&&n!==i&&!jP){jP=!0,yr(i,t.target);return}Jt(t.target,{actionType:we.OTHER,behavior:le.COPY,content:{event:"copy",name:wm(t.target),value:n,unprintable:jP}}),jP=!1}S.addEventListener("copy",e,{passive:!0})}Cg();var Fa={any:!1};function qze(){let e=xs("monikers");Fa.any=e.length>0;for(let t of e)Fa[t]=!0}qze();function Hs(e){return e!==""&&Fa[e]!==void 0}A();function Dl(e){e&&e.addEventListener("click",t=>{let o=t.target instanceof HTMLElement&&t.target.closest("button[data-show-more]");if(o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest("button[data-show-more]")),o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest("button[data-show-more]")),!o)return;let n=o.getAttribute("aria-controls"),i=document.getElementById(n);if(i||(i=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest(`[id='${n}']`)),i||(i=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest(`[id='${n}']`)),!i)return;let r=o.getAttribute("aria-expanded")==="true";o.setAttribute("aria-expanded",(!r).toString());let s=Array.from(i.querySelectorAll(".expandable")),a=Array.from(document.querySelectorAll(`#${CSS.escape(n)} .expandable .expandable`));s=s.filter(u=>!a.includes(u));for(let u of s)u.classList.toggle("is-expanded");if(o.hasAttribute("data-show-once")){o.remove();let u=i.querySelector("[data-autofocus]");if(u){u.focus();return}let p=i.querySelector(bS.join(","));p&&p.focus();return}let l=o.querySelector(".show-more-text");if(!l)return;let c={show:o.getAttribute("data-title")||Pu,hide:o.getAttribute("data-expanded-title")||Gf};if(l.innerText=r?c.show:c.hide,!r){let u=i.querySelector(".is-expanded");if(!u)return;let p=u.querySelector(bS.join(","));p?o.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING||p.focus():u.focus()}})}function qa(e,t="show-more-btn",o,n,i,r,s,a,l){let c=o||"button button-primary",u=i||Pu;return d` `}A();var Ofe=6,Hfe=4,Bfe=11,Vfe=9,Uze=9,Ufe=!1;function ep(){let e=S.getElementById("center-doc-outline"),t=S.getElementById("side-doc-outline");if(e===null||t===null){e?.remove(),t?.remove();return}let o="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",n=w.referenceRightRailH3?`#main h2:not(${o}), #main h3`:`#main h2:not(${o})`,i=Array.from(S.querySelectorAll(n)),r=[];if(i.forEach(s=>{let a=s.tagName.toLowerCase(),l=s.offsetParent!==null,c=jp(s).trim();l&&c.length>0&&(s.id||(s.id=c.toLowerCase().replace(/\s+/g,"-")),a==="h2"?r.push({text:c,id:s.id,children:[]}):a==="h3"&&r[r.length-1].children?.push({text:c,id:s.id}))}),r.length<2){e.hidden=!0,t.hidden=!0;return}e.hidden=!1,Oze(r,e),Hze(r,t)}function Oze(e,t){let o=b.data.pageTemplate==="Reference",n="content-well-in-this-article-list",i=o?Gfe(e,n,"content-well"):Qfe(e,n,"content-well");y(d`

    ${mz}

    ${i} `,t)}function Hze(e,t,o=b.data.pageTemplate){let n=e.length>Uze,i=o==="Reference",r="right-rail-in-this-article-list",s=i?Gfe(e,r,"right-rail"):Qfe(e,r,"right-rail");y(d`

    ${mz}

    ${s} `,t),n&&!Ufe&&(Dl(t),Ufe=!0)}function Gfe(e,t,o){let n=o==="content-well"?"border-left padding-left-xxs":"",i=o==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",r=o==="content-well"?"":"color-text-subtle",s=o==="content-well"?Ofe:Bfe,a=o==="content-well"?Hfe:Vfe,l=e.length>=s,c=d`
      ${e.map(({text:p,id:m,children:g},f)=>{let _=g?.length?d`
      1. ${p}
      2. ${g?.map(({text:v,id:T})=>d`
      3. ${v}
      4. `)}
      `:"",x=l&&f>=a?"expandable":"";return _?d`
    1. ${p} ${_}
    2. `:d`
    3. ${p}
    4. `})}
    `;return l?d` ${c} ${jfe(e,t,a,o)} `:c}function Qfe(e,t,o){let n=o==="content-well"?"border-left padding-left-xxs":"padding-right-xxs",i=o==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",r=o==="content-well"?"":"color-text-subtle",s=o==="content-well"?Ofe:Bfe,a=o==="content-well"?Hfe:Vfe,l=e.length>=s,c=d`
      ${e.map(({text:p,id:m},g)=>{let _=l&&g>=a?"expandable":"";return d`
    1. ${p}
    2. `})}
    `;return l?d` ${c} ${jfe(e,t,a,o)} `:c}function jfe(e,t,o,n){let i=e.length-o,r=lA.replace("{number}",i.toString());return qa(t,"show-more-btn",`link-button font-weight-semibold font-size-sm margin-top-xxs ${n==="content-well"?"margin-left-xs":"margin-left-xxs"}`,void 0,r,!0)}var $l,zl;function bB(){let e=document.getElementById("assertive-live-region"),t=document.getElementById("polite-live-region");e?$l=e:($l=document.createElement("div"),$l.setAttribute("role","alert"),$l.setAttribute("aria-live","assertive"),$l.setAttribute("aria-relevant","additions"),$l.setAttribute("aria-atomic","true"),$l.classList.add("visually-hidden"),$l.setAttribute("id","assertive-live-region"),document.body.appendChild($l)),t?zl=t:(zl=document.createElement("div"),zl.setAttribute("role","status"),zl.setAttribute("aria-live","polite"),zl.setAttribute("aria-relevant","additions"),zl.setAttribute("aria-atomic","true"),zl.classList.add("visually-hidden"),zl.setAttribute("id","polite-live-region"),document.body.appendChild(zl))}function Bze(e){let t=e.querySelector('.contextual-live-region[aria-live="assertive"]'),o=e.querySelector('.contextual-live-region[aria-live="polite"]');return t||(t=document.createElement("div"),t.setAttribute("role","alert"),t.setAttribute("aria-live","assertive"),t.setAttribute("aria-relevant","additions"),t.setAttribute("aria-atomic","true"),t.classList.add("contextual-live-region","visually-hidden"),e.appendChild(t)),o||(o=document.createElement("div"),o.setAttribute("role","status"),o.setAttribute("aria-live","polite"),o.setAttribute("aria-relevant","additions"),o.setAttribute("aria-atomic","true"),o.classList.add("contextual-live-region","visually-hidden"),e.appendChild(o)),{contextualAssertiveRegion:t,contextualPoliteRegion:o}}function Vze(e){bB();let t;try{t=document.querySelector(".modal.is-active, :modal")}catch{t=document.querySelector(".modal.is-active")}if(!t)return e==="assertive"?$l:zl;let{contextualAssertiveRegion:o,contextualPoliteRegion:n}=Bze(t);return e==="assertive"?o:n}function kt(e,t="polite",o=5e3){let n=Vze(t);n.innerHTML="";let i=document.createElement("div");i.setAttribute("role","none"),i.textContent=e,n.appendChild(i),setTimeout(()=>{i?.remove()},o)}var WP=class{constructor(t){this.expanded=t}},_B={expanded:"ap-expanded",collapsed:"ap-collapsed",expandButton:"ap-expand-behavior",collapseButton:"ap-collapse-behavior"},vB;function yB(e,t){vB=t;let o=document.documentElement.classList,n=document.querySelector(".action-panel");if(o.contains("ap-layout")||e==="none")return n;let i=document.querySelector("[data-main-column]"),r=Wfe();o.add("ap-layout"),e==="animate"&&o.add("ap-layout-animates"),setTimeout(()=>o.add("ap-layout-in"),20);let s=()=>{n.removeEventListener("transitionend",s),o.remove("ap-layout-animates"),o.add("ap-layout-finished"),Gze(n),Lt(),r(i),n?.setAttribute("aria-expanded","true"),n?.focus(),dt.publish(new WP(!0))};return n.addEventListener("transitionend",s),n}function Gze(e){let t=(()=>{let n=document.querySelector(".ap-layout-finished .content-header");return window.getComputedStyle(n).getPropertyValue("height")})(),o=document.querySelector(".ap-layout-finished [data-main-column]");e.style.top=t,o.style.top=t,o.classList.add("padding-top-none")}function Yfe(){let e=document.documentElement.classList;if(!e.contains("ap-layout"))return;let t=Wfe(),o=document.querySelector(".action-panel");e.remove("ap-layout"),e.remove("ap-layout-animates"),e.remove("ap-layout-in"),e.remove("ap-layout-finished"),Lt(),t(document.documentElement),vB&&vB.focus(),o?.setAttribute("aria-expanded","false"),dt.publish(new WP(!1)),document.querySelector("[data-main-column]")?.classList.remove("padding-top-none")}function Wfe(){let e=document.querySelector("main");if(!e||!e.children)return()=>{};let t=e.children;for(let o=t.length-1;o>=0;o--){let n=t.item(o);if(n.hasAttribute("hidden"))continue;let{top:i}=n.getBoundingClientRect();if(i<=5||o===0){let r=n.clientWidth;return s=>{n.scrollIntoView(!0),s.scrollTop-=i*r/n.clientWidth}}}return()=>{}}function Kfe(){addEventListener("click",e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`.${_B.expandButton}, .${_B.collapseButton}`);t&&(t.classList.contains(_B.expandButton)?yB("animate",t):Yfe())}),kue.addListener(Yfe)}function Jfe(){if(window.scrollTo(0,0),!w.chromeless){let e=document.querySelector("[data-main-column]");e&&(e.scrollTop=0)}}Cg();A();var Qze=0,Xfe="code-try-",jze=(()=>{let e=location.hash.split(Xfe)[1];if(e===void 0)return-1;let t=parseInt(e,10);return t>=-1?t:-1})(),Yze=()=>Qze++,Wze=e=>e===jze,Zfe=!1;function xB(){Zfe||(Zfe=!0,S.addEventListener("click",e=>{let o=e.target.closest("[data-code-header-copy-button]");o&&(e.preventDefault(),Kze(o))}))}function Kze(e){if(!ES||!e||!oNe(e))return;let t=e.closest("[data-code-block-header]"),o=Jze(t);if(!o)return;let n=o.getAttribute("data-language")||"",i=o.firstElementChild||o;tNe(i,n),e.focus()}function Jze(e){let t=e?.nextElementSibling;return t?t.hasAttribute("data-language")?t:t.querySelector("pre[data-language]"):null}function Zze(e,t){return t==="rtl"?Ge(e).replace(/(^|\s|\>)(C#|F#|C\+\+)(\s*|[.!?;:]*)(\<|[\n\r]|$)/gi,"$1$2‎$3$4"):e}function ehe(e,t){xB();let o=S.createElement("div"),n=Yze(),i=`${Xfe}${n}`;o.classList.add("code-block-header","margin-top-sm"),o.setAttribute("data-code-block-header",""),o.setAttribute("id",i),o.setAttribute(Ao.name,"code-header"),e.monikers&&o.setAttribute("data-moniker",e.monikers);let r=e.interactiveType&&!(e.interactiveType.flags.requiresStructuredData&&b.data.pageTemplate==="Conceptual"),s=ES?TB():"",a=r&&e.interactiveType?Xze(e.interactiveType):"",l=d` ${z(Zze(e.displayName,t))}
    ${s} ${a}
    `;y(l,o),e.element&&e.element.setAttribute("data-language",e.language);let c=e.interactiveType,u=e.scaffoldingType;if(r){let p=o.querySelector("button[data-code-header-action-button]");if(p){let m=c?.activateButtonConfig;for(let f of m?.attributes||[])p.setAttribute(f.name,f.value);let g=(f,_=!1)=>{_!==!0&&history.replaceState(null,"",`#${i}`),p.classList.add("is-loading"),p.disabled=!0;let h=e.element.textContent?.trim()||"",x;if(c){if(b.data.pageTemplate==="ModuleUnit"){let v=S.getElementById("interactive-container");x=hB(c,v)}else{let v=yB("animate",p);x=hB(c,v)}x.setCode(h,u).then(()=>x.execute()).catch(()=>{}).then(()=>{p.classList.remove("is-loading"),p.disabled=!1})}};p.addEventListener("click",g),Wze(n)&&g(null,!0)}}e.element.classList.remove("loading"),e.element.insertAdjacentElement("beforebegin",o),e.header=o}function TB(){return d` `}function Xze(e){let t=e.activateButtonConfig;return d` `}var A_=e=>e.split(/\n\n/).map(t=>t.split(/[\\`][\s]*$/gm).map(o=>o.trim()).join(" ")).join(` `),eNe={powershell:e=>A_(e.replace(/\bPS [a-z]:\\>\s?/gi,"")),azurecli:A_,azurepowershell:A_,"azurepowershell-interactive":A_,"cloudshell-powershell":A_,ps:A_};function tNe(e,t){let n=(eNe[t]||(i=>i))(e.textContent?.trim()||"");return yr(n,e)}function oNe(e){if(e.getAttribute("debounce")==="true")return!1;let t=e.querySelector("[data-copy-button-success-indicator]");return t?.classList.remove("is-transparent"),e.setAttribute("debounce","true"),kt(hE,"assertive",1e3),setTimeout(()=>{t?.classList.add("is-transparent"),e.removeAttribute("debounce")},1e3),!0}var Qt=class extends Error{constructor(t){let{status:o,statusText:n,url:i}=t,r=SB(t.headers);super(`Unexpected response status ${o}: ${n} from "${i}". Headers: ${JSON.stringify(r,null,2)}`),this.name=this.constructor.name,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,this.constructor),this.status=o,this.statusText=n,this.url=i,this.headers=r}};function SB(e){let t;try{t=Object.fromEntries(e)}catch{t={error:"Unable to serialize headers"}}if("set-cookie"in t){let o=t["set-cookie"];t["set-cookie"]=`[Redacted. Length=${o.length}]`}return t}async function k_(e,t=b.data.userLocale){let o=`${N.taxonomy}?${ne({name:e,locale:t})}`,n=await M(o);if(n.ok)return(await n.json())[e].map(r=>({value:r.slug,displayName:r.styleGuideLabel||r.label,level:r.level?+r.level:r.level,parent:r?.parentSlug}));throw new Qt(n)}var wB=class{constructor(){this.cache={}}async get(t){return await this.getInternal(t)}async getFamily(t){return await this.getInternal(t,1)}taxonomyTermsToTaxonomyMap(t,o){return t.reduce((n,i)=>((!o||i.level===o)&&(n[i.value]=i.displayName),n),{})}async getInternal(t,o){let n=[];try{t in this.cache||(this.cache[t]=k_(t)),n=await this.cache[t]}catch{delete this.cache[t]}return this.taxonomyTermsToTaxonomyMap(n,o)}},AS=new wB;var the="proglang",I_={getDisplayNames:()=>AS.get("devlang"),visibilityMap:{"aspx-csharp":"csharp","aspx-vb":"vb"},syntaxMap:{aspx:"csharp",azdeveloper:"azurecli",azurepowershell:"powershell",cppcx:"cpp",cppwinrt:"cpp",hcl:"json",nodejs:"js",nosql:"sql"},unset:"",default:nNe(),get preferred(){return(se.getItem(the)||I_.unset).substr(5)},set preferred(e){se.setItem(the,"lang-"+e)}};function nNe(){return b&&b.data&&b.data.defaultDevLang?b.data.defaultDevLang:""}var KP,iNe=0,ohe={};function JP(e){KP===void 0&&rNe();let t={id:iNe++,instructions:e};return KP.postMessage(t),new Promise(o=>ohe[t.id]=o)}function rNe(){let e=location.origin+"/static/third-party/highlight.js/9.15.25/highlight.pack.js",t=new Blob([`(${sNe.toString()})('${e}') //# sourceURL=syntax-highlighter.js`],{type:"application/javascript"}),o=URL.createObjectURL(t);KP=new Worker(o),KP.onmessage=n=>{let i=n.data;ohe[i.id](i.results)}}function sNe(e){function t(l,c){let u=[];if(c===null)return u;let p=/\n/g,m=1;for(;p.exec(l);)m++;let g=/(\d+)(?:\s*-\s*(\d+))?/g,f;for(;f=g.exec(c);){let _=+f[1]-1;if(isNaN(_)||_>=m)continue;let h=f[2]===void 0?_:+f[2]-1;isNaN(h)||h<_||(h=Math.min(h,m-1),u.push({start:_,end:h}))}return u}let o=/.*<\/rgn>/gi,n=/RGNPLACEHOLDER/g,i="RGNPLACEHOLDER";function r(l,c){return l.replace(o,u=>(c.push(u),i))}function s(l,c){return l.replace(n,()=>c.shift())}function a(l){let{id:c,instructions:u}=l.data,p=[];for(let{language:g,code:f,highlightLines:_}of u){let h={code:f,html:"",success:!1};try{let x=[],v=r(f,x),T=[],I=t(f,_);if(I.length){let F=v.split(` `),ue=0;I.forEach(Ce=>{Ce.start>ue&&T.push({highlight:!1,lines:F.slice(ue,Ce.start).join(` `)}),T.push({highlight:!0,lines:F.slice(Ce.start,Ce.end+1).join(` `)}),ue=Ce.end+1}),ue<=F.length&&T.push({highlight:!1,lines:F.slice(ue).join(` `)})}else T.push({highlight:!1,lines:v});let C=null,H="";do{let F=T.shift(),{value:ue,top:Ce}=hljs.highlight(g,F.lines,!0,C);C=Ce,H+=F.highlight?`${ue}`:`${ue}`,T.length&&(H+=` `)}while(T.length);h.html=s(H,x),h.success=!0}catch{}p.push(h)}let m={id:c,results:p};self.postMessage(m,void 0)}self.importScripts(e),self.addEventListener("message",l=>{a(l)})}function aNe(e,t){for(let o=0;o code, span[class*="lang-"]'),r=[],s;if(i.length>0){let a=await t.getDisplayNames();for(let l=0;l({language:i.syntaxLanguage,code:i.code,highlightLines:i.highlightLines}));return o.forEach(i=>{ehe(i,t)}),JP(n).then(i=>{for(let r=0;r{n.element.hidden=!i,n.header&&(n.header.hidden=!i)};for(let n of e){let i=!1;for(let r of n.members){let s=r.visibilityLanguage===t||r.element.classList.toString().indexOf(`lang-${t}`)!==-1;o(r,s),i=i||s}i||o(n.default,!0)}Lt()}function cNe(e,t,o=location.search){let n=dNe(e,o),i=t.preferred;return i!==t.unset&&e.indexOf(i)!==-1&&(n.length===0||n.indexOf(i)!==-1)?i:t.default!==t.unset&&e.indexOf(t.default)!==-1&&(n.length===0||n.indexOf(t.default)!==-1)?t.default:n.length!==0?n[0]:e[0]}var uNe=["Architecture","Conceptual","FAQ","HowTo","Marketing","ModuleUnit","Question","QuestionEdit","Reference","Sample","Welcome"];function ZP(){S.querySelectorAll(".cdlHolder .cdlLastVisible").forEach(function(o){o.classList.remove("cdlLastVisible")});let e=it(),t=S.querySelectorAll(".cdlHolder");Hs(e)&&t.forEach(function(o){let n=o.querySelectorAll(`.cdl[data-moniker~='${e}']:not([hidden]),.cdl:not([data-moniker]):not([hidden])`);n.length>0&&n[n.length-1].classList.add("cdlLastVisible")})}async function kS(e){if(uNe.indexOf(b.data.pageTemplate)===-1)return;let t=Array.from(S.querySelectorAll(".lang-title")),o=Array.from(S.querySelectorAll(".language-selector button")),n=[];if(o.length>0){let c=await I_.getDisplayNames();o.forEach(u=>{if(b.data.userDir==="rtl"?u.classList.add("justify-content-flex-end"):u.classList.add("justify-content-flex-start"),u.dataset.biName){let p=u.dataset.biName.substr(5);u.textContent=c[p],n.push(p)}})}let i=o!==null&&n.length>0,r=await lNe(e??S.body,I_,n);if(i){let c=cNe(n,I_),u=S.querySelector('[data-bi-name="lang-'+c+'"]');t.forEach(p=>{p.textContent=u.textContent}),ihe(r,c),ZP(),o.forEach(p=>{p===u&&p.setAttribute("aria-pressed","true"),qt(p,"click",()=>{if(o.forEach(m=>{m.setAttribute("aria-pressed","false")}),p.setAttribute("aria-pressed","true"),t.forEach(m=>{m.textContent=p.textContent}),p.dataset.biName){let m=p.dataset.biName.substr(5);I_.preferred=m,ihe(r,m)}ZP(),ep(),nhe(r,b.data.contentDir)})})}let s=r.flatMap(c=>c.members),a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(()=>rhe(s))}return window.addEventListener("resize",l,{passive:!0}),rhe(s),nhe(r,b.data.contentDir)}function rhe(e){e.forEach(t=>{let{type:o,element:n}=t;if(o!=="precode")return;n.scrollWidth>n.clientWidth?(n.setAttribute("role","group"),n.setAttribute("aria-label",pJ),n.tabIndex=0):(n.removeAttribute("role"),n.removeAttribute("aria-label"),n.removeAttribute("tabindex"))})}function dNe(e,t=location.search){return new URLSearchParams(t).get("devlangs")?.split(",").filter(o=>e.includes(o))??[]}He();var IS={401:Np,403:Kz,404:Np,422:Np,429:Kz,500:Np};async function she(e){let t={payload:{platformId:e}};try{let o=await M(K(N.copilot.summarize,{body:JSON.stringify(t),method:"POST"},!1)),n=o.status.toString();if(n in IS)try{return{message:(await o.json())?.message||IS[n],errorCode:n}}catch{return{message:IS[n],errorCode:n}}if(o.ok)try{let i=await o.json();return"errorCode"in i||i?.message?i:{message:Zz,errorCode:"500"}}catch{return{message:Zz,errorCode:"500"}}return{message:Jz,errorCode:o.status.toString()}}catch{return{message:Jz,errorCode:"500"}}}var Ze=class{},Eg=class{};var Nl="ms--ai-summary-body",ahe="ms--ai-summary",ou="ms--ai-summary-header",lhe="ms--ai-summary-cta",che="ms--ai-summary-feedback",tp="ai-summary",uhe="ms--ai-summary-feedback-buttons",dhe="ms--ai-summary-feedback-thanks";He();A();function phe(e){switch(e.state){case"ready":case"loading":return hNe(e);case"loaded":return pNe(e);case"errored":return bNe(e);default:return d``}}function CB(e,t){return d`

    ${t}

    `}function pNe(e){let t=d``;if(e.response){let{message:o}=e.response;o?t=d`${mNe(o)} ${gNe(e)} `:t=d`

    ${pA}

    `}return d`
    ${CB(e,Qf)}
    ${t}
    `}function mNe(e){return d`
    ${z(e)}
    `}function gNe(e){return d`
    ${Ru} ${z(lie)} ${fNe(e)}
    `}function fNe(e){return d`
    ${Yf}
    `}function hNe(e){return d`
    ${CB(e,Qf)}

    ${dA}

    `}function bNe(e){let{errorCode:t}=e.response,n=IS[t]??Np;return d`
    ${CB(e,Qf)}
    ${n}
    `}function mhe(e){return typeof e=="object"&&e!==null&&"message"in e&&"errorCode"in e}var Fl,LS,PS,L_,P_,R_,M_,D_,$_,XP=class extends Be{constructor(o){super();this.state="ready";eo(this,Fl,null);eo(this,LS);eo(this,PS);eo(this,L_,!1);eo(this,P_,null);eo(this,R_,null);eo(this,M_,!1);eo(this,D_,!0);eo(this,$_,!0);At(this,PS,P("platform_id")??""),At(this,LS,o)}set sessionId(o){At(this,P_,o)}get sessionId(){return Ae(this,P_)}set interactionId(o){At(this,R_,o)}get interactionId(){return Ae(this,R_)}get response(){return Ae(this,Fl)}set response(o){At(this,Fl,o)}get visible(){return Ae(this,L_)}set visible(o){Ae(this,L_)!==o&&(At(this,L_,o),this.notifyStateChanged())}get showFeedbackThanks(){return Ae(this,M_)}set showFeedbackThanks(o){Ae(this,M_)!==o&&(At(this,M_,o),this.notifyStateChanged())}get showHeader(){return Ae(this,D_)}set showHeader(o){Ae(this,D_)!==o&&(At(this,D_,o),this.notifyStateChanged())}get showCta(){return Ae(this,$_)}set showCta(o){Ae(this,$_)!==o&&(At(this,$_,o),this.notifyStateChanged())}async fetch(){try{if(!this.response||mhe(this.response)===!0){this.state="loading",this.notifyStateChanged();let o=new Date().toISOString(),n=await Ae(this,LS).call(this,Ae(this,PS));if(mhe(n)){this.state="errored",At(this,Fl,n),this.notifyStateChanged();return}else{At(this,Fl,n),At(this,P_,n?.sessionId??null),At(this,R_,n?.interactionId??null);let i=new Date().toISOString();this.timeToContentTelemetry(o,i);try{let s=new DOMParser().parseFromString(Ae(this,Fl).message??"","text/html");s.querySelectorAll("[id]").forEach(a=>{a.removeAttribute("id"),a.tagName.match(/^H[1-6]$/)&&a.classList.add("margin-top-xs")}),Ae(this,Fl).message=s.body.innerHTML}catch{}}}this.state="loaded",this.notifyStateChanged()}catch(o){this.state="errored",At(this,Fl,{message:o.message,errorCode:o.name}),this.notifyStateChanged()}}displayThanksForFeedback(o){this.showFeedbackThanks=!0,xe({behavior:le.OTHER,content:{autoIngest:!0,type:"ai-summary-feedback",aN:tp,timestamp:new Date().toISOString(),sessionId:this.sessionId,interactionId:this.interactionId,feedbackData:{sat:o?1:0}}})}toggleAiSummaryVisibility(){this.visible=!this.visible,this.showHeader=!1,this.showCta=!0,this.visible||(this.showFeedbackThanks=!1),this.state==="errored"&&(this.state="ready")}timeToContentTelemetry(o,n){xe({behavior:le.OTHER,content:{autoIngest:!0,type:"ai-summary-request",aN:tp,sessionId:this.sessionId,interactionId:this.interactionId,triggeredTimestamp:o,returnedTimestamp:n}})}notifyStateChanged(){this.publish(new Ze)}};Fl=new WeakMap,LS=new WeakMap,PS=new WeakMap,L_=new WeakMap,P_=new WeakMap,R_=new WeakMap,M_=new WeakMap,D_=new WeakMap,$_=new WeakMap;async function ghe(){let e=w.aiSummary&&await qn("ai-summary")||Ve("ai-summary",{require:!0}),t=document.querySelector('[data-id="ai-summary"]'),o=document.getElementById(ahe),n=document.getElementById(ou),i=document.getElementById(lhe);if(!e||!t||!o||!n||!i)return;t.hidden=!1;let r=new XP(she),s=!1;o.addEventListener("click",async()=>{r.showHeader=!0,r.showCta=!1,r.visible=!0;let a=document.getElementById(ou);if(!a)return;let l=()=>{n.hidden=!r.showHeader,i.hidden=!r.showCta,y(phe(r),a)};s||(r.subscribe(Ze,l),s=!0),l(),r.state==="ready"&&await r.fetch()})}A();function EB(e){return new Promise((t,o)=>{let n=S.createElement("img");n.classList.add("visually-hidden"),n.setAttribute("aria-hidden","true"),n.src=e,n.onload=()=>{n.remove(),t(null)},n.onerror=()=>{n.remove(),o()},S.body.appendChild(n)})}function RS(e){let t=S.createElement("link");t.rel="preload",t.as="image",t.href=e,S.head.appendChild(t)}function fhe(e,t,o,n=500){let i=0,r=(...s)=>{t(i),i=e.apply(null,[o.bind(null,...s),n])};return r.cancel=()=>t(i),r}var z_={timeout:fhe.bind(null,setTimeout,clearTimeout),animationFrame:fhe.bind(null,U.requestAnimationFrame,U.cancelAnimationFrame)};function hhe(){_Ne()}var AB=!1;function kB(e,t,o=()=>{}){window.addEventListener("click",n=>{n.target instanceof HTMLElement&&n.target.closest(e)&&o(()=>t.show())})}function IB(e,t=()=>{},o=!1){window.addEventListener("click",n=>{let i=n.target instanceof HTMLElement&&n.target.closest(e);!i||!document.querySelector(".layout-body-flyout")||t(()=>{Ag(i,o)})})}async function bhe(e,t,o,n=()=>{}){window.addEventListener("click",r=>{let s=r.target instanceof HTMLElement&&r.target.closest(e);s&&(r.preventDefault(),n(()=>{ki.matches?o(s,!0):t()}))}),await Se;let i=document.querySelector(e);i&&(i.hidden=!1)}function Ag(e,t=!1){let o=document.querySelector(".layout-body-flyout");if(!o)return;AB=!AB;let n=document.documentElement.classList.contains("layout-flyout-active")?"remove":"add";if(n==="remove"?window.dispatchEvent(new CustomEvent("flyout-hide")):window.dispatchEvent(new CustomEvent("flyout-show")),!t||n==="add"){document.documentElement.classList[n]("layout-flyout-active"),e.classList[n]("is-selected");let i=n==="add"?"true":"false";e.setAttribute("aria-expanded",i),Lt()}if(t||n==="add"){e.dataset.flyoutReturnFocus="true";let i=o.querySelector('button[data-flyout-button="close"]');i&&i.focus()}}function _Ne(){window.addEventListener("click",e=>{let t=e.target instanceof HTMLElement&&e.target.closest('[data-flyout-button="close"]');if(!t||t.closest(".modal")||!document.querySelector(".layout-body-flyout"))return;let r=document.querySelector('[data-flyout-return-focus="true"]')||document.querySelector('[data-flyout-button="toggle"]');r&&(r.focus(),r.removeAttribute("data-flyout-return-focus"),r.hasAttribute("aria-expanded")&&r.setAttribute("aria-expanded","false"),r.classList.remove("is-selected")),AB=!1,document.documentElement.classList.remove("layout-flyout-active"),window.dispatchEvent(new CustomEvent("flyout-hide")),Lt()})}function _he(e,t){if(localStorage.getItem("playwrightActive"))return;let o=document.querySelector(t);if(!o)return;let n=ki.matches,i=()=>!!document.querySelector('[data-chat-container-name="ask-learn-modal"]'),r=()=>document.documentElement.classList.contains("layout-flyout-active"),s=()=>{document.documentElement.classList.remove("layout-flyout-active"),o.classList.remove("is-selected")},a=()=>{let l=ki.matches;!n&&l&&i()?(e.hide(),Ag(o,!0)):n&&!l&&r()&&(e.show(),s()),n=l};window.addEventListener("resize",()=>{window.requestAnimationFrame(a)}),a()}var LB="[data-ask-learn-modal-entry]",MS="[data-ask-learn-flyout-entry]",eR="[data-ask-learn-modal-entry-feedback]",tR="[data-ask-learn-flyout-entry-show-only]",vhe="[data-skip-to-ask-learn]",yhe=[LB,MS];function The(){xhe(),dt.subscribe(To,xhe)}async function xhe(){await Se,Array.from(document.querySelectorAll(yhe.join(","))).forEach(o=>o.hidden=!1),Array.from(document.querySelectorAll("[data-chat-tutor-modal-entry]")).forEach(o=>o.hidden=!0)}A();A();function She(e){let{text:t,biName:o,biTn:n,alignment:i,action:r}=e;return d` `}function vNe(e,t){let o=[];for(let i=0;i`)}let n=Nie.replace("{step-index}",e.toString()).replace("{step-count}",t.toString());return d`

    ${n}

    `}function yNe(e){return d` `}function PB(e,t,o){let n=yNe(e.imageSrc);return d` `}function whe(e,t,o){e0&&Ehe(e-1,t,o)}var xNe='[data-focus-on-button-click="true"]';function Ehe(e,t,o){let n=document.createElement("div"),i=PB(t[e],e,t.length);y(i,n),o.pushContent(n);let r=n.querySelector(xNe);r&&r.focus()}function Ahe(e){e.hide()}function khe(e,t){e.hide(),localStorage.setItem(t,"2")}function Ihe(e,t,o,n,i,r,s,a){return{fetch:e,maxMessages:t,getContextIdType:o,getContextId:n,validate:i,errorMapping:r,starterPrompts:s,suggestionPills:a}}var oR="/en-us/media/ask-learn/meet-ask-learn-base.png",nR="/en-us/media/ask-learn/check-for-accuracy-base.png",iR="ask-learn-history",op="ask-learn-history-last-interaction-time",nu="ask-learn-open-status";function TNe(e){return/[\u{10000}-\u{10FFFF}]/u.test(e)}function SNe(e){return TNe(e)?"non_unicode_characters":null}var DS={"validation-failure":ZC,"session-not-found":lc,"interaction-not-found":lc,open_ai_content_filter:E$,copilot_content_filter:E$,knowledge_index_no_results:dy,copilot_invalid_urls:dy,open_ai_empty_message:dy,failed_to_parse_open_ai_message:dy,non_unicode_characters:NQ,open_ai_too_many_requests:DQ},wNe=[{icon:"text-align-left",header:"Clarify",description:"Tell me more about [concept]",prompt:"Tell me more about: "},{icon:"edit-outline",header:"Define",description:"Tell me the meaning of [term/concept]",prompt:"Tell me the meaning of: "},{icon:"chat-bubbles-question",header:"Guide",description:"Tell me how to [concept]",prompt:"Tell me how to: "}],CNe=[{name:"summarize",description:"Summarize this page",prompt:"Summarize this page"},{name:"troubleshoot",description:"Help me troubleshoot",prompt:"/troubleshoot"}],Phe={like:{[dQ]:"01-ai-positive-accurate-relevant",[pQ]:"02-ai-positive-complete-clear",[mQ]:"03-ai-positive-fast",[C$]:"00-ai-positive-other"},dislike:{[gQ]:"01-ai-negative-inaccurate-irrelevant",[fQ]:"02-ai-negative-incomplete-unclear",[bQ]:"03-ai-negative-slow",[hQ]:"04-ai-negative-offensive-inappropriate",[C$]:"00-ai-negative-other"}},ENe=120*1e3;async function ANe(e){let t={body:JSON.stringify({message:e.message,payload:{message:e.message,pageTemplate:e.pageTemplate,idType:e.idType,id:e.id},...e.sessionId?{sessionId:e.sessionId}:{}}),headers:{Accept:"applicationhttps://www.microsoft.com/json","Content-Type":"applicationhttps://www.microsoft.com/json"},method:"POST"};try{let o=await M(K(N.copilot.chatAssistant,t,!0),{},ENe);if(o.status===401)return fe(o),{message:KC,isError:!0};if(!o.ok)try{let i=await o.json();return{message:i.errorCode&&i.errorCode in DS?DS[i.errorCode]:lc,interactionId:i.additionalData?.interactionId,isError:!0}}catch{return{message:lc,isError:!0}}let n=await o.json();return"errorCode"in n?{message:n.errorCode&&n.errorCode in DS?DS[n.errorCode]:lc,interactionId:n?.additionalData?.interactionId,isError:!0}:{sessionId:n.sessionId,interactionId:n.interactionId,message:n.message,responseCount:n.assistantMessageCount,citations:n.citations}}catch{return{message:lc,isError:!0}}}var kNe=10;function Lhe(){if(new URLSearchParams(window.location.search).has("excludeContext"))return{uid:void 0,contextIdType:void 0};if(b.data.pageTemplate==="ModuleUnit"){let n=P("uid");if(n)return{uid:Ut?n.replace("learn-test","learn"):n,contextIdType:"unitUid"}}let o=P("platform_id");return o?{uid:o,contextIdType:"platformId"}:{uid:void 0,contextIdType:void 0}}async function INe(){return Ihe(ANe,kNe,()=>Lhe().contextIdType||"",()=>Lhe().uid||"",SNe,DS,wNe,CNe)}var Rhe=INe();var kg="ask-learn-assistant";function LNe(e,t){let o=[{title:yQ,imageSrc:oR,descriptions:[WC],buttonLeft:{text:vQ,biName:"01-not-now",biTn:kg,alignment:"left",action:()=>{Ahe(e),t?.()}},buttonRight:{text:vs,biName:"01-next",biTn:kg,alignment:"right",action:()=>whe(0,o,e)}},{title:xQ,imageSrc:nR,descriptions:[TQ,SQ],buttonLeft:{text:Xa,biName:"02-previous",biTn:kg,alignment:"left",action:()=>Che(1,o,e)},buttonRight:{text:wQ,biName:"try-cta",biTn:kg,alignment:"right",action:()=>{khe(e,kg),t?.()}}}];return o}function RB(){let e=localStorage.getItem(kg);return e?Number(e):0}function Ig(e){let t=RB();if(t>=2||document.documentElement.classList.contains("layout-flyout-active")){e?.();return}else t++,localStorage.setItem(kg,t.toString());let o=document.createElement("div");document.body.appendChild(o);let n=new be(o,""),i=LNe(n,e),r=PB(i[0],0,i.length);y(r,o),n.show()}function PNe(e,t,o){return`
    ${e}
    ${e}. ${t}
    `}function Mhe(e){return e?Object.entries(e).map(([t,o])=>{let n=parseInt(t),{title:i,url:r}=o;return PNe(n,i,r)}):[]}function MB(e,t){if(!e||!t.length)return;let o=n=>{if(!n.open)return;let i=n.querySelector(".popover-content"),r=n.querySelector(".tag-summary");if(!i||!r)return;n.classList.add("popover-left"),i.offsetHeight;let s=e.getBoundingClientRect(),a=r.getBoundingClientRect(),l=i.getBoundingClientRect();a.left+a.width/2-l.width/2>=s.left&&(n.classList.remove("popover-left"),i.offsetHeight)};t.forEach(n=>{n.querySelectorAll("details.popover.tag-popover").forEach(r=>{r.addEventListener("toggle",s=>{let a=s.target;a.open&&o(a)})})})}A();A();function iu(){return d`
    ${aQ}
    `}A();A();function RNe(e,t,o,n,i,r){let s=`${e}-${t}-msg${i}`,a=`${e}-${t}-msg${i}-choice${r}`;return d` `}function MNe(e,t,o){return Object.entries(Phe[o]).map(([r,s],a)=>RNe(t,o,r,s,e.index,a))}function DNe(e){return t=>{if(!t)return;let o=t.currentTarget;if(!o)return;let n=o.getAttribute("aria-expanded")==="true";o.setAttribute("aria-expanded",(!n).toString());let i=o.getAttribute("aria-controls");if(!i)return;e.previewPayload(t);let r=`${i}-disclaimer`,s=document.getElementById(r);if(!s)return;let a=An(Dhe(!n),d``);y(a,s),o.textContent=n?Lu:zy}}async function Dhe(e){return await ve,k&&k.authenticationMode==="AAD"?z(e?wE:Ty):z(SE)}function $Ne(e,t,o,n,i=Dhe(!1)){let r=qa(n,"disclaimer-see-more","link-button font-weight-semibold font-size-sm margin-top-xxs",DNe(e),Lu,!0,!1,`ask-learn-show-more-${e.index}-${o}`),s=`${t}-feedback-payload-${e.index}-${o}`;return d`
    ${An(i,d``)}
    ${zNe(e,s)}
    ${r}
    `}function zNe(e,t){return d` `}function NNe(e,t,o){let n=`${t}-feedback-textarea-${e.index}-${o}`,i=`${t}-see-more-${e.index}-${o}`;return d`
    e.handleSubmit(e,r)}>
    ${MQ}
    ${MNe(e,t,o)}

    ${$Ne(e,t,o,i)}

    `}function $he(e,t){let o;return e.state==="none"?"":(e.state==="submitted"||e.state==="cancelled"?o=d` ${iu()}
    ${_Q}
    `:(e.state==="like"||e.state==="dislike")&&(o=NNe(e,t,e.state)),d`
    ${o}
    `)}var TR={};Do(TR,{default:()=>xR});var HB={};Do(HB,{arrayReplaceAt:()=>OB,assign:()=>F_,escapeHtml:()=>su,escapeRE:()=>y2e,fromCodePoint:()=>NS,has:()=>c2e,isMdAsciiPunct:()=>Rg,isPunctChar:()=>Pg,isSpace:()=>Rt,isString:()=>gR,isValidEntityCode:()=>fR,isWhiteSpace:()=>Lg,lib:()=>x2e,normalizeReference:()=>Mg,unescapeAll:()=>ru,unescapeMd:()=>g2e});var cR={};Do(cR,{decode:()=>$S,encode:()=>aR,format:()=>N_,parse:()=>zS});var zhe={};function FNe(e){let t=zhe[e];if(t)return t;t=zhe[e]=[];for(let o=0;o<128;o++){let n=String.fromCharCode(o);t.push(n)}for(let o=0;o=55296&&u<=57343?i+="\uFFFD\uFFFD\uFFFD":i+=String.fromCharCode(u),r+=6;continue}}if((a&248)===240&&r+91114111?i+="\uFFFD\uFFFD\uFFFD\uFFFD":(p-=65536,i+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),r+=9;continue}}i+="\uFFFD"}return i})}rR.defaultChars=";/?:@&=+$,#";rR.componentChars="";var $S=rR;var Nhe={};function qNe(e){let t=Nhe[e];if(t)return t;t=Nhe[e]=[];for(let o=0;o<128;o++){let n=String.fromCharCode(o);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+o.toString(16).toUpperCase()).slice(-2))}for(let o=0;o"u"&&(o=!0);let n=qNe(t),i="";for(let r=0,s=e.length;r=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1=56320&&l<=57343){i+=encodeURIComponent(e[r]+e[r+1]),r++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[r])}return i}sR.defaultChars=";/?:@&=+$,-_.!~*'()#";sR.componentChars="-_.!~*'()";var aR=sR;function N_(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function lR(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var UNe=/^([a-z0-9.+-]+:)/i,ONe=/:[0-9]*$/,HNe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,BNe=["<",">",'"',"`"," ","\r",` `," "],VNe=["{","}","|","\\","^","`"].concat(BNe),GNe=["'"].concat(VNe),Fhe=["%","/","?",";","#"].concat(GNe),qhe=["/","?","#"],QNe=255,Uhe=/^[+a-z0-9A-Z_-]{0,63}$/,jNe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ohe={javascript:!0,"javascript:":!0},Hhe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function YNe(e,t){if(e&&e instanceof lR)return e;let o=new lR;return o.parse(e,t),o}lR.prototype.parse=function(e,t){let o,n,i,r=e;if(r=r.trim(),!t&&e.split("#").length===1){let c=HNe.exec(r);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let s=UNe.exec(r);if(s&&(s=s[0],o=s.toLowerCase(),this.protocol=s,r=r.substr(s.length)),(t||s||r.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=r.substr(0,2)==="//",i&&!(s&&Ohe[s])&&(r=r.substr(2),this.slashes=!0)),!Ohe[s]&&(i||s&&!Hhe[s])){let c=-1;for(let f=0;f127?v+="x":v+=x[T];if(!v.match(Uhe)){let T=f.slice(0,_),I=f.slice(_+1),C=x.match(jNe);C&&(T.push(C[1]),I.unshift(C[2])),I.length&&(r=I.join(".")+r),this.hostname=T.join(".");break}}}}this.hostname.length>QNe&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let a=r.indexOf("#");a!==-1&&(this.hash=r.substr(a),r=r.slice(0,a));let l=r.indexOf("?");return l!==-1&&(this.search=r.substr(l),r=r.slice(0,l)),r&&(this.pathname=r),Hhe[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};lR.prototype.parseHost=function(e){let t=ONe.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var zS=YNe;var DB={};Do(DB,{Any:()=>Bhe,Cc:()=>Vhe,Cf:()=>Ghe,P:()=>uR,S:()=>dR,Z:()=>Qhe});var Bhe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var Vhe=/[\0-\x1F\x7F-\x9F]/;var Ghe=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;var uR=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;var dR=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/;var Qhe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var jhe=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));var Yhe=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var $B,WNe=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),zB=($B=String.fromCodePoint)!==null&&$B!==void 0?$B:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function NB(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=WNe.get(e))!==null&&t!==void 0?t:e}var Bn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Bn||(Bn={}));var KNe=32,np;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(np||(np={}));function FB(e){return e>=Bn.ZERO&&e<=Bn.NINE}function JNe(e){return e>=Bn.UPPER_A&&e<=Bn.UPPER_F||e>=Bn.LOWER_A&&e<=Bn.LOWER_F}function ZNe(e){return e>=Bn.UPPER_A&&e<=Bn.UPPER_Z||e>=Bn.LOWER_A&&e<=Bn.LOWER_Z||FB(e)}function XNe(e){return e===Bn.EQUALS||ZNe(e)}var Hn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Hn||(Hn={}));var ql;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ql||(ql={}));var pR=class{constructor(t,o,n){this.decodeTree=t,this.emitCodePoint=o,this.errors=n,this.state=Hn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ql.Strict}startEntity(t){this.decodeMode=t,this.state=Hn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,o){switch(this.state){case Hn.EntityStart:return t.charCodeAt(o)===Bn.NUM?(this.state=Hn.NumericStart,this.consumed+=1,this.stateNumericStart(t,o+1)):(this.state=Hn.NamedEntity,this.stateNamedEntity(t,o));case Hn.NumericStart:return this.stateNumericStart(t,o);case Hn.NumericDecimal:return this.stateNumericDecimal(t,o);case Hn.NumericHex:return this.stateNumericHex(t,o);case Hn.NamedEntity:return this.stateNamedEntity(t,o)}}stateNumericStart(t,o){return o>=t.length?-1:(t.charCodeAt(o)|KNe)===Bn.LOWER_X?(this.state=Hn.NumericHex,this.consumed+=1,this.stateNumericHex(t,o+1)):(this.state=Hn.NumericDecimal,this.stateNumericDecimal(t,o))}addToNumericResult(t,o,n,i){if(o!==n){let r=n-o;this.result=this.result*Math.pow(i,r)+parseInt(t.substr(o,r),i),this.consumed+=r}}stateNumericHex(t,o){let n=o;for(;o>14;for(;o>14,r!==0){if(s===Bn.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==ql.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:o,decodeTree:n}=this,i=(n[o]&np.VALUE_LENGTH)>>14;return this.emitNamedEntityData(o,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,o,n){let{decodeTree:i}=this;return this.emitCodePoint(o===1?i[t]&~np.VALUE_LENGTH:i[t+1],n),o===3&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case Hn.NamedEntity:return this.result!==0&&(this.decodeMode!==ql.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Hn.NumericDecimal:return this.emitNumericEntity(0,2);case Hn.NumericHex:return this.emitNumericEntity(0,3);case Hn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Hn.EntityStart:return 0}}};function Whe(e){let t="",o=new pR(e,n=>t+=zB(n));return function(i,r){let s=0,a=0;for(;(a=i.indexOf("&",a))>=0;){t+=i.slice(s,a),o.startEntity(r);let c=o.write(i,a+1);if(c<0){s=a+o.end();break}s=a+c,a=c===0?s+1:s}let l=t+i.slice(s);return t="",l}}function e2e(e,t,o,n){let i=(t&np.BRANCH_LENGTH)>>7,r=t&np.JUMP_TABLE;if(i===0)return r!==0&&n===r?o:-1;if(r){let l=n-r;return l<0||l>=i?-1:e[o+l]-1}let s=o,a=s+i-1;for(;s<=a;){let l=s+a>>>1,c=e[l];if(cn)a=l-1;else return e[l+i]}return-1}var t2e=Whe(jhe),zkt=Whe(Yhe);function ip(e,t=ql.Legacy){return t2e(e,t)}function mR(e){for(let t=1;te.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function qB(e,t){return function(n){let i,r=0,s="";for(;i=e.exec(n);)r!==i.index&&(s+=n.substring(r,i.index)),s+=t.get(i[0].charCodeAt(0)),r=i.index+1;return s+n.substring(r)}}var Khe=qB(/[&<>'"]/g,n2e),Jhe=qB(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Zhe=qB(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var Xhe;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(Xhe||(Xhe={}));var ebe;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(ebe||(ebe={}));function a2e(e){return Object.prototype.toString.call(e)}function gR(e){return a2e(e)==="[object String]"}var l2e=Object.prototype.hasOwnProperty;function c2e(e,t){return l2e.call(e,t)}function F_(e){return Array.prototype.slice.call(arguments,1).forEach(function(o){if(o){if(typeof o!="object")throw new TypeError(o+"must be object");Object.keys(o).forEach(function(n){e[n]=o[n]})}}),e}function OB(e,t,o){return[].concat(e.slice(0,t),o,e.slice(t+1))}function fR(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function NS(e){if(e>65535){e-=65536;let t=55296+(e>>10),o=56320+(e&1023);return String.fromCharCode(t,o)}return String.fromCharCode(e)}var nbe=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,u2e=/&([a-z#][a-z0-9]{1,31});/gi,d2e=new RegExp(nbe.source+"|"+u2e.source,"gi"),p2e=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function m2e(e,t){if(t.charCodeAt(0)===35&&p2e.test(t)){let n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return fR(n)?NS(n):e}let o=ip(e);return o!==e?o:e}function g2e(e){return e.indexOf("\\")<0?e:e.replace(nbe,"$1")}function ru(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(d2e,function(t,o,n){return o||m2e(t,n)})}var f2e=/[&<>"]/,h2e=/[&<>"]/g,b2e={"&":"&","<":"<",">":">",'"':"""};function _2e(e){return b2e[e]}function su(e){return f2e.test(e)?e.replace(h2e,_2e):e}var v2e=/[.?*+^$[\]\\(){}|-]/g;function y2e(e){return e.replace(v2e,"\\$&")}function Rt(e){switch(e){case 9:case 32:return!0}return!1}function Lg(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Pg(e){return uR.test(e)||dR.test(e)}function Rg(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Mg(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}var x2e={mdurl:cR,ucmicro:DB};var QB={};Do(QB,{parseLinkDestination:()=>VB,parseLinkLabel:()=>BB,parseLinkTitle:()=>GB});function BB(e,t,o){let n,i,r,s,a=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos32))return r;if(n===41){if(s===0)break;s--}i++}return t===i||s!==0||(r.str=ru(e.slice(t,i)),r.pos=i,r.ok=!0),r}function GB(e,t,o,n){let i,r=t,s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)s.str=n.str,s.marker=n.marker;else{if(r>=o)return s;let a=e.charCodeAt(r);if(a!==34&&a!==39&&a!==40)return s;t++,r++,a===40&&(a=41),s.marker=a}for(;r"+su(r.content)+""};Ul.code_block=function(e,t,o,n,i){let r=e[t];return""+su(e[t].content)+` `};Ul.fence=function(e,t,o,n,i){let r=e[t],s=r.info?ru(r.info).trim():"",a="",l="";if(s){let u=s.split(/(\s+)/g);a=u[0],l=u.slice(2).join("")}let c;if(o.highlight?c=o.highlight(r.content,a,l)||su(r.content):c=su(r.content),c.indexOf("${c} `}return`
    ${c}
    `};Ul.image=function(e,t,o,n,i){let r=e[t];return r.attrs[r.attrIndex("alt")][1]=i.renderInlineAsText(r.children,o,n),i.renderToken(e,t,o)};Ul.hardbreak=function(e,t,o){return o.xhtmlOut?`
    `:`
    `};Ul.softbreak=function(e,t,o){return o.breaks?o.xhtmlOut?`
    `:`
    `:` `};Ul.text=function(e,t){return su(e[t].content)};Ul.html_block=function(e,t){return e[t].content};Ul.html_inline=function(e,t){return e[t].content};function q_(){this.rules=F_({},Ul)}q_.prototype.renderAttrs=function(t){let o,n,i;if(!t.attrs)return"";for(i="",o=0,n=t.attrs.length;o `:">",r};q_.prototype.renderInline=function(e,t,o){let n="",i=this.rules;for(let r=0,s=e.length;r=0&&(n=this.attrs[o][1]),n};U_.prototype.attrJoin=function(t,o){let n=this.attrIndex(t);n<0?this.attrPush([t,o]):this.attrs[n][1]=this.attrs[n][1]+" "+o};var au=U_;function rbe(e,t,o){this.src=e,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=t}rbe.prototype.Token=au;var sbe=rbe;var T2e=/\r\n?|\n/g,S2e=/\0/g;function jB(e){let t;t=e.src.replace(T2e,` `),t=t.replace(S2e,"\uFFFD"),e.src=t}function YB(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function WB(e){let t=e.tokens;for(let o=0,n=t.length;o\s]/i.test(e)}function C2e(e){return/^<\/a\s*>/i.test(e)}function KB(e){let t=e.tokens;if(e.md.options.linkify)for(let o=0,n=t.length;o=0;s--){let a=i[s];if(a.type==="link_close"){for(s--;i[s].level!==a.level&&i[s].type!=="link_open";)s--;continue}if(a.type==="html_inline"&&(w2e(a.content)&&r>0&&r--,C2e(a.content)&&r++),!(r>0)&&a.type==="text"&&e.md.linkify.test(a.content)){let l=a.content,c=e.md.linkify.match(l),u=[],p=a.level,m=0;c.length>0&&c[0].index===0&&s>0&&i[s-1].type==="text_special"&&(c=c.slice(1));for(let g=0;gm){let C=new e.Token("text","",0);C.content=l.slice(m,x),C.level=p,u.push(C)}let v=new e.Token("link_open","a",1);v.attrs=[["href",_]],v.level=p++,v.markup="linkify",v.info="auto",u.push(v);let T=new e.Token("text","",0);T.content=h,T.level=p,u.push(T);let I=new e.Token("link_close","a",-1);I.level=--p,I.markup="linkify",I.info="auto",u.push(I),m=c[g].lastIndex}if(m=0;o--){let n=e[o];n.type==="text"&&!t&&(n.content=n.content.replace(A2e,I2e)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function P2e(e){let t=0;for(let o=e.length-1;o>=0;o--){let n=e[o];n.type==="text"&&!t&&abe.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function JB(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(E2e.test(e.tokens[t].content)&&L2e(e.tokens[t].children),abe.test(e.tokens[t].content)&&P2e(e.tokens[t].children))}var R2e=/['"]/,lbe=/['"]/g,cbe="\u2019";function hR(e,t,o){return e.slice(0,t)+o+e.slice(t+1)}function M2e(e,t){let o,n=[];for(let i=0;i=0&&!(n[o].level<=s);o--);if(n.length=o+1,r.type!=="text")continue;let a=r.content,l=0,c=a.length;e:for(;l=0)f=a.charCodeAt(u.index-1);else for(o=i-1;o>=0&&!(e[o].type==="softbreak"||e[o].type==="hardbreak");o--)if(e[o].content){f=e[o].content.charCodeAt(e[o].content.length-1);break}let _=32;if(l=48&&f<=57&&(m=p=!1),p&&m&&(p=h,m=x),!p&&!m){g&&(r.content=hR(r.content,u.index,cbe));continue}if(m)for(o=n.length-1;o>=0;o--){let I=n[o];if(n[o].level=0;t--)e.tokens[t].type!=="inline"||!R2e.test(e.tokens[t].content)||M2e(e.tokens[t].children,e)}function XB(e){let t,o,n=e.tokens,i=n.length;for(let r=0;r0&&this.level++,this.tokens.push(n),n};Ol.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Ol.prototype.skipEmptyLines=function(t){for(let o=this.lineMax;to;)if(!Rt(this.src.charCodeAt(--t)))return t+1;return t};Ol.prototype.skipChars=function(t,o){for(let n=this.src.length;tn;)if(o!==this.src.charCodeAt(--t))return t+1;return t};Ol.prototype.getLines=function(t,o,n,i){if(t>=o)return"";let r=new Array(o-t);for(let s=0,a=t;an?r[s]=new Array(l-n+1).join(" ")+this.src.slice(u,p):r[s]=this.src.slice(u,p)}return r.join("")};Ol.prototype.Token=au;var dbe=Ol;var D2e=65536;function o3(e,t){let o=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(o,n)}function pbe(e){let t=[],o=e.length,n=0,i=e.charCodeAt(n),r=!1,s=0,a="";for(;no)return!1;let i=t+1;if(e.sCount[i]=4)return!1;let r=e.bMarks[i]+e.tShift[i];if(r>=e.eMarks[i])return!1;let s=e.src.charCodeAt(r++);if(s!==124&&s!==45&&s!==58||r>=e.eMarks[i])return!1;let a=e.src.charCodeAt(r++);if(a!==124&&a!==45&&a!==58&&!Rt(a)||s===45&&Rt(a))return!1;for(;r=4)return!1;c=pbe(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();let p=c.length;if(p===0||p!==u.length)return!1;if(n)return!0;let m=e.parentType;e.parentType="table";let g=e.md.block.ruler.getRules("blockquote"),f=e.push("table_open","table",1),_=[t,0];f.map=_;let h=e.push("thead_open","thead",1);h.map=[t,t+1];let x=e.push("tr_open","tr",1);x.map=[t,t+1];for(let I=0;I=4||(c=pbe(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),T+=p-c.length,T>D2e))break;if(i===t+2){let H=e.push("tbody_open","tbody",1);H.map=v=[t+2,0]}let C=e.push("tr_open","tr",1);C.map=[i,i+1];for(let H=0;H=4){n++,i=n;continue}break}e.line=i;let r=e.push("code_block","code",0);return r.content=e.getLines(t,i,4+e.blkIndent,!1)+` `,r.map=[t,e.line],!0}function r3(e,t,o,n){let i=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>r)return!1;let s=e.src.charCodeAt(i);if(s!==126&&s!==96)return!1;let a=i;i=e.skipChars(i,s);let l=i-a;if(l<3)return!1;let c=e.src.slice(a,i),u=e.src.slice(i,r);if(s===96&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;let p=t,m=!1;for(;p++,!(p>=o||(i=a=e.bMarks[p]+e.tShift[p],r=e.eMarks[p],i=4)&&(i=e.skipChars(i,s),!(i-a=4||e.src.charCodeAt(i)!==62)return!1;if(n)return!0;let a=[],l=[],c=[],u=[],p=e.md.block.ruler.getRules("blockquote"),m=e.parentType;e.parentType="blockquote";let g=!1,f;for(f=t;f=r)break;if(e.src.charCodeAt(i++)===62&&!T){let C=e.sCount[f]+1,H,F;e.src.charCodeAt(i)===32?(i++,C++,F=!1,H=!0):e.src.charCodeAt(i)===9?(H=!0,(e.bsCount[f]+C)%4===3?(i++,C++,F=!1):F=!0):H=!1;let ue=C;for(a.push(e.bMarks[f]),e.bMarks[f]=i;i=r,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(H?1:0),c.push(e.sCount[f]),e.sCount[f]=ue-C,u.push(e.tShift[f]),e.tShift[f]=i-e.bMarks[f];continue}if(g)break;let I=!1;for(let C=0,H=p.length;C";let x=[t,0];h.map=x,e.md.block.tokenize(e,t,f);let v=e.push("blockquote_close","blockquote",-1);v.markup=">",e.lineMax=s,e.parentType=m,x[1]=e.line;for(let T=0;T=4)return!1;let r=e.bMarks[t]+e.tShift[t],s=e.src.charCodeAt(r++);if(s!==42&&s!==45&&s!==95)return!1;let a=1;for(;r=n)return-1;let r=e.src.charCodeAt(i++);if(r<48||r>57)return-1;for(;;){if(i>=n)return-1;if(r=e.src.charCodeAt(i++),r>=48&&r<=57){if(i-o>=10)return-1;continue}if(r===41||r===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(u=!0);let p,m,g;if((g=gbe(e,l))>=0){if(p=!0,s=e.bMarks[l]+e.tShift[l],m=Number(e.src.slice(s,g-1)),u&&m!==1)return!1}else if((g=mbe(e,l))>=0)p=!1;else return!1;if(u&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(n)return!0;let f=e.src.charCodeAt(g-1),_=e.tokens.length;p?(a=e.push("ordered_list_open","ol",1),m!==1&&(a.attrs=[["start",m]])):a=e.push("bullet_list_open","ul",1);let h=[l,0];a.map=h,a.markup=String.fromCharCode(f);let x=!1,v=e.md.block.ruler.getRules("list"),T=e.parentType;for(e.parentType="list";l=i?F=1:F=C-I,F>4&&(F=1);let ue=I+F;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(f);let Ce=[l,0];a.map=Ce,p&&(a.info=e.src.slice(s,g-1));let ae=e.tight,ht=e.tShift[l],It=e.sCount[l],Vt=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=ue,e.tight=!0,e.tShift[l]=H-e.bMarks[l],e.sCount[l]=C,H>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,o):e.md.block.tokenize(e,l,o,!0),(!e.tight||x)&&(c=!1),x=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Vt,e.tShift[l]=ht,e.sCount[l]=It,e.tight=ae,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=e.line,Ce[1]=l,l>=o||e.sCount[l]=4)break;let yo=!1;for(let Ht=0,ao=v.length;Ht=4||e.src.charCodeAt(i)!==91)return!1;function a(v){let T=e.lineMax;if(v>=T||e.isEmpty(v))return null;let I=!1;if(e.sCount[v]-e.blkIndent>3&&(I=!0),e.sCount[v]<0&&(I=!0),!I){let F=e.md.block.ruler.getRules("reference"),ue=e.parentType;e.parentType="reference";let Ce=!1;for(let ae=0,ht=F.length;ae"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:h,href:p}),e.line=s),!0):!1}var fbe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"];var z2e="[a-zA-Z_:][a-zA-Z0-9:._-]*",N2e="[^\"'=<>`\\x00-\\x20]+",F2e="'[^']*'",q2e='"[^"]*"',U2e="(?:"+N2e+"|"+F2e+"|"+q2e+")",O2e="(?:\\s+"+z2e+"(?:\\s*=\\s*"+U2e+")?)",hbe="<[A-Za-z][A-Za-z0-9\\-]*"+O2e+"*\\s*\\/?>",bbe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",H2e="",B2e="<[?][\\s\\S]*?[?]>",V2e="]*>",G2e="",_be=new RegExp("^(?:"+hbe+"|"+bbe+"|"+H2e+"|"+B2e+"|"+V2e+"|"+G2e+")"),vbe=new RegExp("^(?:"+hbe+"|"+bbe+")");var O_=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(vbe.source+"\\s*$"),/^$/,!1]];function u3(e,t,o,n){let i=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let s=e.src.slice(i,r),a=0;for(;a=4)return!1;let s=e.src.charCodeAt(i);if(s!==35||i>=r)return!1;let a=1;for(s=e.src.charCodeAt(++i);s===35&&i6||ii&&Rt(e.src.charCodeAt(l-1))&&(r=l),e.line=t+1;let c=e.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[t,e.line];let u=e.push("inline","",0);u.content=e.src.slice(i,r).trim(),u.map=[t,e.line],u.children=[];let p=e.push("heading_close","h"+String(a),-1);return p.markup="########".slice(0,a),!0}function p3(e,t,o){let n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType="paragraph";let r=0,s,a=t+1;for(;a3)continue;if(e.sCount[a]>=e.blkIndent){let g=e.bMarks[a]+e.tShift[a],f=e.eMarks[a];if(g=f))){r=s===61?1:2;break}}if(e.sCount[a]<0)continue;let m=!1;for(let g=0,f=n.length;g3||e.sCount[r]<0)continue;let c=!1;for(let u=0,p=n.length;u=o||e.sCount[s]=r){e.line=o;break}let l=e.line,c=!1;for(let u=0;u=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),s=e.line,s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n};FS.prototype.scanDelims=function(e,t){let o=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,r=e;for(;r0)return!1;let o=e.pos,n=e.posMax;if(o+3>n||e.src.charCodeAt(o)!==58||e.src.charCodeAt(o+1)!==47||e.src.charCodeAt(o+2)!==47)return!1;let i=e.pending.match(j2e);if(!i)return!1;let r=i[1],s=e.md.linkify.matchAtStart(e.src.slice(o-r.length));if(!s)return!1;let a=s.url;if(a.length<=r.length)return!1;a=a.replace(/\*+$/,"");let l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-r.length);let c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";let u=e.push("text","",0);u.content=e.md.normalizeLinkText(a);let p=e.push("link_close","a",-1);p.markup="linkify",p.info="auto"}return e.pos+=a.length-r.length,!0}function h3(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;let n=e.pending.length-1,i=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let r=n-1;for(;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(o++;o?@[]^_`{|}~-".split("").forEach(function(e){b3[e.charCodeAt(0)]=1});function _3(e,t){let o=e.pos,n=e.posMax;if(e.src.charCodeAt(o)!==92||(o++,o>=n))return!1;let i=e.src.charCodeAt(o);if(i===10){for(t||e.push("hardbreak","br",0),o++;o=55296&&i<=56319&&o+1=56320&&a<=57343&&(r+=e.src[o+1],o++)}let s="\\"+r;if(!t){let a=e.push("text_special","",0);i<256&&b3[i]!==0?a.content=r:a.content=s,a.markup=s,a.info="escape"}return e.pos=o+1,!0}function v3(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==96)return!1;let i=o;o++;let r=e.posMax;for(;o=0;n--){let i=t[n];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;let r=t[i.end],s=n>0&&t[n-1].end===i.end+1&&t[n-1].marker===i.marker&&t[n-1].token===i.token-1&&t[i.end+1].token===r.token+1,a=String.fromCharCode(i.marker),l=e.tokens[i.token];l.type=s?"strong_open":"em_open",l.tag=s?"strong":"em",l.nesting=1,l.markup=s?a+a:a,l.content="";let c=e.tokens[r.token];c.type=s?"strong_close":"em_close",c.tag=s?"strong":"em",c.nesting=-1,c.markup=s?a+a:a,c.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[i.end+1].token].content="",n--)}}function J2e(e){let t=e.tokens_meta,o=e.tokens_meta.length;Sbe(e,e.delimiters);for(let n=0;n=p)return!1;if(l=f,i=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),i.ok){for(s=e.md.normalizeLink(i.str),e.md.validateLink(s)?f=i.pos:s="",l=f;f=p||e.src.charCodeAt(f)!==41)&&(c=!0),f++}if(c){if(typeof e.env.references>"u")return!1;if(f=0?n=e.src.slice(l,f++):f=g+1):f=g+1,n||(n=e.src.slice(m,g)),r=e.env.references[Mg(n)],!r)return e.pos=u,!1;s=r.href,a=r.title}if(!t){e.pos=m,e.posMax=g;let _=e.push("link_open","a",1),h=[["href",s]];_.attrs=h,a&&h.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=p,!0}function S3(e,t){let o,n,i,r,s,a,l,c,u="",p=e.pos,m=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let g=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if(r=f+1,r=m)return!1;for(c=r,a=e.md.helpers.parseLinkDestination(e.src,r,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?r=a.pos:u=""),c=r;r=m||e.src.charCodeAt(r)!==41)return e.pos=p,!1;r++}else{if(typeof e.env.references>"u")return!1;if(r=0?i=e.src.slice(c,r++):r=f+1):r=f+1,i||(i=e.src.slice(g,f)),s=e.env.references[Mg(i)],!s)return e.pos=p,!1;u=s.href,l=s.title}if(!t){n=e.src.slice(g,f);let _=[];e.md.inline.parse(n,e.md,e.env,_);let h=e.push("image","img",0),x=[["src",u],["alt",""]];h.attrs=x,h.children=_,h.content=n,l&&x.push(["title",l])}return e.pos=r,e.posMax=m,!0}var Z2e=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,X2e=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function w3(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==60)return!1;let n=e.pos,i=e.posMax;for(;;){if(++o>=i)return!1;let s=e.src.charCodeAt(o);if(s===60)return!1;if(s===62)break}let r=e.src.slice(n+1,o);if(X2e.test(r)){let s=e.md.normalizeLink(r);if(!e.md.validateLink(s))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",s]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(r);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=r.length+2,!0}if(Z2e.test(r)){let s=e.md.normalizeLink("mailto:"+r);if(!e.md.validateLink(s))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",s]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(r);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=r.length+2,!0}return!1}function eFe(e){return/^\s]/i.test(e)}function tFe(e){return/^<\/a\s*>/i.test(e)}function oFe(e){let t=e|32;return t>=97&&t<=122}function C3(e,t){if(!e.md.options.html)return!1;let o=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=o)return!1;let i=e.src.charCodeAt(n+1);if(i!==33&&i!==63&&i!==47&&!oFe(i))return!1;let r=e.src.slice(n).match(_be);if(!r)return!1;if(!t){let s=e.push("html_inline","",0);s.content=r[0],eFe(s.content)&&e.linkLevel++,tFe(s.content)&&e.linkLevel--}return e.pos+=r[0].length,!0}var nFe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,iFe=/^&([a-z][a-z0-9]{1,31});/i;function E3(e,t){let o=e.pos,n=e.posMax;if(e.src.charCodeAt(o)!==38||o+1>=n)return!1;if(e.src.charCodeAt(o+1)===35){let r=e.src.slice(o).match(nFe);if(r){if(!t){let s=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),a=e.push("text_special","",0);a.content=fR(s)?NS(s):NS(65533),a.markup=r[0],a.info="entity"}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(o).match(iFe);if(r){let s=ip(r[0]);if(s!==r[0]){if(!t){let a=e.push("text_special","",0);a.content=s,a.markup=r[0],a.info="entity"}return e.pos+=r[0].length,!0}}}return!1}function wbe(e){let t={},o=e.length;if(!o)return;let n=0,i=-2,r=[];for(let s=0;sl;c-=r[c]+1){let p=e[c];if(p.marker===a.marker&&p.open&&p.end<0){let m=!1;if((p.close||a.open)&&(p.length+a.length)%3===0&&(p.length%3!==0||a.length%3!==0)&&(m=!0),!m){let g=c>0&&!e[c-1].open?r[c-1]+1:0;r[s]=s-c+g,r[c]=g,a.open=!1,p.end=s,p.close=!1,u=-1,i=-2;break}}}u!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=u)}}function A3(e){let t=e.tokens_meta,o=e.tokens_meta.length;wbe(e.delimiters);for(let n=0;n0&&n++,i[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;s||e.pos++,r[t]=e.pos};qS.prototype.tokenize=function(e){let t=this.ruler.getRules(""),o=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};qS.prototype.parse=function(e,t,o,n){let i=new this.State(e,t,o,n);this.tokenize(i);let r=this.ruler2.getRules(""),s=r.length;for(let a=0;a= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M3=35,Hl=Math.floor,D3=String.fromCharCode;function rp(e){throw new RangeError(vFe[e])}function yFe(e,t){let o=[],n=e.length;for(;n--;)o[n]=t(e[n]);return o}function Bbe(e,t){let o=e.split("@"),n="";o.length>1&&(n=o[0]+"@",e=o[1]),e=e.replace(_Fe,".");let i=e.split("."),r=yFe(i,t).join(".");return n+r}function Vbe(e){let t=[],o=0,n=e.length;for(;o=55296&&i<=56319&&oString.fromCodePoint(...e),TFe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Obe=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Gbe=function(e,t,o){let n=0;for(e=o?Hl(e/700):e>>1,e+=Hl(e/t);e>M3*26>>1;n+=36)e=Hl(e/M3);return Hl(n+(M3+1)*e/(e+38))},Qbe=function(e){let t=[],o=e.length,n=0,i=128,r=72,s=e.lastIndexOf(Hbe);s<0&&(s=0);for(let a=0;a=128&&rp("not-basic"),t.push(e.charCodeAt(a));for(let a=s>0?s+1:0;a=o&&rp("invalid-input");let m=TFe(e.charCodeAt(a++));m>=36&&rp("invalid-input"),m>Hl((2147483647-n)/u)&&rp("overflow"),n+=m*u;let g=p<=r?1:p>=r+26?26:p-r;if(mHl(2147483647/f)&&rp("overflow"),u*=f}let c=t.length+1;r=Gbe(n-l,c,l==0),Hl(n/c)>2147483647-i&&rp("overflow"),i+=Hl(n/c),n%=c,t.splice(n++,0,i)}return String.fromCodePoint(...t)},jbe=function(e){let t=[];e=Vbe(e);let o=e.length,n=128,i=0,r=72;for(let l of e)l<128&&t.push(D3(l));let s=t.length,a=s;for(s&&t.push(Hbe);a=n&&uHl((2147483647-i)/c)&&rp("overflow"),i+=(l-n)*c,n=l;for(let u of e)if(u2147483647&&rp("overflow"),u===n){let p=i;for(let m=36;;m+=36){let g=m<=r?1:m>=r+26?26:m-r;if(p=0))try{t.hostname=$3.toASCII(t.hostname)}catch{}return aR(N_(t))}function PFe(e){let t=zS(e,!0);if(t.hostname&&(!t.protocol||Zbe.indexOf(t.protocol)>=0))try{t.hostname=$3.toUnicode(t.hostname)}catch{}return $S(N_(t),$S.defaultChars+"%")}function Bs(e,t){if(!(this instanceof Bs))return new Bs(e,t);t||gR(e)||(t=e||{},e="default"),this.inline=new Cbe,this.block=new ybe,this.core=new ube,this.renderer=new ibe,this.linkify=new Jbe.default,this.validateLink=IFe,this.normalizeLink=LFe,this.normalizeLinkText=PFe,this.utils=HB,this.helpers=F_({},QB),this.options={},this.configure(e),t&&this.set(t)}Bs.prototype.set=function(e){return F_(this.options,e),this};Bs.prototype.configure=function(e){let t=this;if(gR(e)){let o=e;if(e=EFe[o],!e)throw new Error('Wrong `markdown-it` preset "'+o+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};Bs.prototype.enable=function(e,t){let o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){o=o.concat(this[i].ruler.enable(e,!0))},this),o=o.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(i){return o.indexOf(i)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Bs.prototype.disable=function(e,t){let o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){o=o.concat(this[i].ruler.disable(e,!0))},this),o=o.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(i){return o.indexOf(i)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Bs.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Bs.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");let o=new this.core.State(e,this,t);return this.core.process(o),o.tokens};Bs.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Bs.prototype.parseInline=function(e,t){let o=new this.core.State(e,this,t);return o.inlineMode=!0,this.core.process(o),o.tokens};Bs.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var xR=Bs;var sp=H_();sp.set=()=>{throw new Error("Do not apply any non-default plugins or formatting to the globally available markdown instance. Instead use createMarkdownItInstance to create a new instance.")};function H_(e="default",t){return"default"in TR?xR(e,t):new TR(e,t)}var RFe=e=>{let t=/(]*?)>\^(\d+)\^(<\/a>)/g;return e.replace(t,(o,n,i,r)=>`${n} aria-label="link, ${i}">${i}${r}`)},Xbe=e=>{let t=H_("default",{html:!0,linkify:!0,typographer:!0}),o=t.render;return t.render=function(n){let i=String(o.call(t,n));if(!e||e.length===0)return RFe(i);let r=i.replace(/

    /g,'

    ').replace(/<\/p>/g,"
    "),s=/]*?>(\^(\d+)\^)<\/a>/g;return r=r.replace(s,(a,l,c)=>{let u=parseInt(String(c));return u>0&&u<=e.length?e[u-1]:a}),r},t.renderer.rules.fence=function(n,i,r,s,a){let l=n[i],c=l.info?l.info.trim().split(/\s+/g)[0]:"",u=c?`class="lang-${c}"`:"",p=t.utils.escapeHtml(l.content||"");return`
    ${p}
    `},t};function e_e(e,t,o){let n="color-success";t&&t>=o?n="color-danger":t&&t>=.5*o&&(n="color-warning");let i=e.skeletonHidden?"is-hidden":"",r=t?"":"is-hidden",s=t?"":"skeleton",a=d``;return d`
    ${t?qQ.replace("{count}",t.toString()).replace("{total}",o.toString()):a}
    `}function MFe(){return d`
    ${iu()}
    ${uQ}
    `}function DFe(e){return d`
    ${e}
    `}function o_e(e,t,o){return d`
    ${t?MFe():iu()}
    ${e}
    `}function $Fe(e,t){let o=e.contentIsHTML?"content first-p-top-margin-reset":"";return o_e(t,!0,o)}function zFe(e){let t=d`

    ${CQ}

    `;return o_e(t,!1)}function t_e(e){return d`
    `}function NFe(e){return d`
    `}function FFe(e){return!e.citations||Object.keys(e.citations).length===0?"":d`
    ${OX}
      ${Object.entries(e.citations).map(([t,o])=>d`
    1. ${o.title}
    2. `)}
    `}function qFe(e){return e.loaded?d` ${FFe(e)}
    ${t_e(e)} ${e_e(e,e.responseCount,e.maxMessages)}
    `:e.errored?d`
    ${t_e(e)}
    `:e.cancelled?d`
    ${e_e(e,e.responseCount,e.maxMessages)}
    `:""}function UFe(e,t){if(e.allowLoadingView&&e.loading)return OFe(e,t);let n=Mhe(e.citations),i=Xbe(n),r=e.cancelled?d`${YC} ${e.content}`:e.type==="ai"&&e.contentIsHTML?z(i.render(e.content??"")):e.content,s=e.type==="ai"?qFe(e):"",a=e.cancelled?NFe(e):"",l=e.feedbackViewModel?$he(e.feedbackViewModel,t):"",c=e.responseCount&&e.responseCount>=e.maxMessages?zFe(e):"",u=d`
    ${r} ${s}
    `;return d`
    ${e.type==="user"?DFe(u):$Fe(e,u)}
    ${a} ${l} ${c} `}function OFe(e,t){return d`
    ${iu()}

    ${XC}

    `}function n_e(e,t){return UFe(e,t)}A();A();function HFe(e){return d` `}function i_e(e){return!e.suggestionPills||e.suggestionPills.length===0||!e.canSubmit?"":d` ${e.suggestionPills.filter(t=>!t.clicked).map(t=>HFe(t))} `}function s_e(e,t){return!e.starterPrompts||e.starterPrompts.length===0?"":d`
    ${e.starterPrompts.map(({icon:o,header:n,description:i,prompt:r})=>{let s=n.charAt(0).toLowerCase()+n.slice(1);return d`

    ${i}

    `})}
    `}function r_e(){return b.data.pageTemplate!=="ModuleUnit"}function a_e(e,t){if(!e.starterPrompts||e.starterPrompts.length===0)return"";let n=!r_e()||!e.suggestionPills||e.suggestionPills.length===0||e.suggestionPills.every(i=>i.clicked)?L$:"";return d`
    ${r_e()?i_e(e):""}
    ${n}

    ${IQ}

    ${e.starterPrompts.map(({icon:i,header:r,prompt:s})=>{let a=r.toLowerCase();return d` `})}
    `}A();function l_e(e,t){return d` `}function BFe(e){let n=parseInt(window.getComputedStyle(e).lineHeight,10);e.rows=1;let i=Math.floor(e.scrollHeight/n);i>6?(i=6,e.style.overflowY="auto"):e.style.overflowY="hidden",e.rows=i}function VFe(e,t){return d`
    ${e.starterPrompts?s_e(e,t):""} ${zo(e.messages,o=>o.index,o=>n_e(o,t))}
    `}function c_e(){return d` `}function z3(e,t,o=!1){return d`

    ${iu()}

    ${A$}
    ${c_e()}
    ${VFe(e,t)} ${QFe(e,t)}
    `}function GFe(e){return e?d` ${e} `:d``}function QFe(e,t){return d`
    ${e.starterPrompts?a_e(e,t):""}
    ${l_e(e,t)}
    ${GFe(e.currentValidationMessage)}
    `}function u_e(e,t=!1){return d`

    ${iu()}

    ${A$}
    ${c_e()}

    ${WC}

    ${KC}

    `}var B_=class{constructor(t={}){this.detail=t}},Bl=class{constructor(t={}){this.detail=t}},V_=class{constructor(t={}){this.detail=t}},G_=class{constructor(t={}){this.detail=t}},Vl=class{constructor(t={}){this.detail=t}},lu=class{constructor(t={}){this.detail=t}},Q_=class{constructor(t={}){this.detail=t}},j_=class{constructor(t={}){this.detail=t}};var SR=class extends Be{constructor(o){super();this.state="none";this.index=o}getSelectedOption(o){return o?.querySelector('input[type="radio"]:checked')}getVerbatimText(o){return o?.querySelector("textarea")?.value}previewPayload(o,n=!1){if(!o)return;let i=o.target.closest("form"),r=this.getSelectedOption(i),s=this.getVerbatimText(i);r&&(this.userRadioSelection=r.value,this.verbatim=s),this.publish(new lu({refresh:n,msgIndex:this.index}))}handleSubmit(o,n){n.preventDefault();let i=n.target.closest("form"),r=this.getSelectedOption(i),s=this.getVerbatimText(i);r&&(this.userRadioSelection=r.value,this.verbatim=s,this.state="submitted",o.notifyPropertyChanged(),this.publish(new Vl({consentProvided:!0})))}clearRadioSelection(){Array.from(document.querySelectorAll("[data-chat-container-name]")).forEach(n=>{n.querySelectorAll('input[type="radio"]').forEach(r=>{r.checked=!1})})}cancelFeedback(){this.state="cancelled",this.userRadioSelection=void 0,this.verbatim=void 0,this.notifyPropertyChanged()}undoFeedback(){this.state="none",this.userRadioSelection=void 0,this.verbatim=void 0,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Bl({scroll:!1}))}};var jFe={contentIsHTML:!1,type:"user"},xr,wR=class extends Be{constructor(o,n={},i,r,s,a){super();eo(this,xr,"loading");this.firstRender=!0;this.errorMapping={};this.skeletonHidden=!1;let{contentIsHTML:l,type:c}={...jFe,...n};if(this.type=c||"user",this.contentIsHTML=l||!1,this.index=i,this.maxMessages=r,this.errorMapping=s||{},this.sessionId=a,o instanceof Promise)this.fetchInternal=o;else{let u=o;this.content=u.content,this.citations=u.citations,this.type=u.type,this.interactionId=u.interactionId,this.rating=u.rating,At(this,xr,u.state||"loaded"),this.responseCount=u.responseCount,this.responseCount||(this.skeletonHidden=!0),this.fetchInternal=Promise.resolve({})}this.type==="ai"&&(kt(XC,"assertive"),this.feedbackViewModel=new SR(i),this.feedbackViewModel.subscribe(Bl,()=>this.notifyPropertyChanged()),this.feedbackViewModel.subscribe(Vl,u=>this.publish(new Vl(u.detail))),this.feedbackViewModel.subscribe(lu,u=>this.publish(new lu({refresh:u.detail.refresh,msgIndex:u.detail.msgIndex,likeOrDislike:this.rating})))),this.load().then(()=>{this.type==="ai"&&kt(AQ),this.notifyPropertyChanged()})}get loading(){return Ae(this,xr)==="loading"}get cancelled(){return Ae(this,xr)==="cancelled"}get loaded(){return Ae(this,xr)==="loaded"}get errored(){return Ae(this,xr)==="errored"}get allowLoadingView(){return Ae(this,xr)==="loading"&&this.type==="ai"}updateResponseCount(o){this.responseCount=o,this.responseCount>=this.maxMessages&&this.chatSetBusy()}async load(){this.loading&&(await Promise.race([this.loadInternal(),this.awaitCancellation()]),this.publish(new j_),this.notifyPropertyChanged())}async awaitCancellation(){return new Promise(o=>{this.cancel=o}).then(o=>{this.contentIsHTML=!1,At(this,xr,"cancelled"),kt(YC,"assertive"),this.focusElementOnCancel(o)})}focusElementOnCancel(o){let n=o.target instanceof HTMLElement&&o.target.closest("[data-chat-container-name]");if(!n)return;let i=n.dataset.containerName;if(!i)return;let r=document.querySelector(`[data-focus-on-cancel="${i}"]`);r&&r.focus()}async loadInternal(){if(this.loaded||this.errored)return;let o=await this.fetchInternal;if(o.responseCount===0&&(this.skeletonHidden=!0),!this.loading){o.responseCount&&this.updateResponseCount(o.responseCount),this.notifyPropertyChanged();return}o.message&&(this.content=o.message),o.citations&&(this.citations=o.citations),o.sessionId&&(this.sessionId=o.sessionId),o.interactionId&&(this.interactionId=o.interactionId),o.responseCount&&this.updateResponseCount(o.responseCount),o.isError?At(this,xr,"errored"):this.loading&&At(this,xr,"loaded")}resetChat(){this.publish(new G_)}chatSetBusy(){this.publish(new V_)}updateFeedback(o){this.rating===o?(this.rating=void 0,this.feedbackViewModel&&this.feedbackViewModel.undoFeedback()):(this.rating=o,this.feedbackViewModel&&(this.feedbackViewModel.state=o,this.feedbackViewModel.clearRadioSelection())),this.publish(new Vl),this.notifyPropertyChanged()}regenerateMessage(){this.cancelled&&(At(this,xr,"loading"),this.contentIsHTML=!0,this.load(),this.notifyPropertyChanged())}notifyPropertyChanged(){let o=this.contentIsHTML&&this.firstRender&&this.loaded&&this.type==="ai";o&&(this.firstRender=!1),this.publish(new Bl({updateCodeBlocks:o,scroll:!1,interactionId:this.interactionId}))}saveMessage(){return{content:this.content,citations:this.citations,type:this.type,interactionId:this.interactionId,responseCount:this.responseCount,state:this.type==="ai"?Ae(this,xr):void 0,rating:this.rating}}};xr=new WeakMap;var CR=class extends Be{constructor(t,o,n){super(),this.name=t,this.description=o,this.prompt=n,this.clicked=!1}clickSuggestionPill(){this.clicked=!0,this.publish(new Q_({prompt:this.prompt}))}resetSuggestionPill(){this.clicked=!1}};var ER={empty:FQ,short:ZC,exceeded:I$},YFe=8*60*60*1e3,US,OS,HS,Oa,BS,VS,AR=class extends Be{constructor(o){super();this.textarea=null;eo(this,US,"");eo(this,OS,"");this.MIN_CHAR_LENGTH=10;this.MAX_CHAR_LENGTH=500;this.errorMapping={};this.starterPrompts=[];this.suggestionPills=[];this.scrollHandle="chat-messages-container";this.indexCount=0;this.canSubmit=!0;this.responseCount=0;this.broadcastChannel=new BroadcastChannel("chat_channel");eo(this,HS);eo(this,Oa,[]);eo(this,BS);eo(this,VS);this.initialized=new Promise(o=>{this.initialize=o});this._busy=!1;At(this,HS,o.fetch),At(this,BS,o.getContextIdType),At(this,VS,o.getContextId),this.maxMessages=o.maxMessages,this.validate=o.validate||(()=>null),this.errorMapping=o.errorMapping||{},this.starterPrompts=o.starterPrompts,this.initSuggestionPills(o),this.setUpTestKeyboardListener(),this.initUserInteractionListener(),this.handleInitialChatHistory(),this.initBroadcastChannel(),this.initialize()}get sessionId(){return Ae(this,US)}set sessionId(o){At(this,US,o||"")}get currentMessageLength(){return this.currentMessage.length}get currentMessage(){return Ae(this,OS)||""}set currentMessage(o){At(this,OS,o)}get messages(){return Ae(this,Oa)}get busy(){return this._busy}async submit(o){o.preventDefault(),this.validateMinLength(),!(!this.canSubmit||!this.currentMessage)&&(this.resetTextAreaHeight(this.getActiveTextArea(this.getActiveContainerName())),this.userMessage(),await this.fetch(),this.notifyPropertyChanged())}async submitWithPrompt(o){this.currentMessage=o,this.submit(new Event("submit"))}async testPrompt(){this.currentMessage="How do I write a test in C#?",this.userMessage(),await this.fetch(),this.notifyPropertyChanged()}async applyStarterPrompt(o,n){this.currentMessage=o;let i=this.getActiveTextArea(n);this.notifyPropertyChanged(),i&&(i.focus(),i.dispatchEvent(new Event("input")))}initSuggestionPills(o){this.suggestionPills=o.suggestionPills?.map(n=>new CR(n.name,n.description,n.prompt))||[],this.suggestionPills.forEach(n=>{n.subscribe(Q_,i=>{i.detail.prompt&&this.submitWithPrompt(i.detail.prompt)})})}resetSuggestionPills(){this.suggestionPills?.forEach(o=>o.resetSuggestionPill())}notifyPropertyChanged(o){this.publish(new B_({...o}))}populateForTest(o){At(this,Oa,o),this.notifyPropertyChanged()}getActiveTextArea(o){if(o){let r=document.querySelector(`[data-chat-textarea-container-name="${o}"]`);if(r)return r}let n=this.getActiveContainer(o);if(!n)return null;let i=n.querySelector("[data-chat-textarea-container-name]");return i||null}getActiveContainer(o){if(o){let r=document.querySelector(`[data-chat-container-name="${o}"]`);if(r)return r}let n=Array.from(document.querySelectorAll("[data-chat-container-name]"));if(n.length===0)return null;let i=n.find(r=>getComputedStyle(r).display!=="none");return i||null}getActiveContainerName(){let o=this.getActiveContainer();return o&&o.getAttribute("data-chat-container-name")||""}validateMinLength(){this.currentMessage.length===0?(this.canSubmit=!1,this.currentValidationMessage=ER.empty):this.currentMessage.lengththis.MAX_CHAR_LENGTH&&(this.canSubmit=!1,this.currentValidationMessage=ER.exceeded,kt(I$)),this.notifyPropertyChanged()}handleKeyDown(o){o.key==="Enter"&&!o.shiftKey&&(o.preventDefault(),this.submit(o),xe({behavior:le.OTHER,actionType:we.KEYBOARDENTER,content:{autoIngest:!0,type:"ask-learn-assistant-submit-prompt",an:"ask-learn-assistant",name:"submit-enter"}}))}reset(o=!1){At(this,Oa,[]),this.sessionId="",this.deleteChatHistory(),this.indexCount=0,this.responseCount=0,this.setReady(),this.canSubmit=!0,this.resetSuggestionPills(),this.notifyPropertyChanged(),kt(cQ),o||this.broadcastChannel.postMessage({type:"reset"})}scrollToActiveMessage(o,n="smooth"){let i=this.getActiveContainer(o);if(!i)return;let r=`[data-scroll-into-view="${this.scrollHandle}"]`,s=i.querySelector(r);if(!s)throw new Error("No active scroll handle found for chat.");s.scrollIntoView({block:"nearest",inline:"start",behavior:n})}createMessagesHistoryArray(o=!1){let n=[];for(let i=0;i0&&(this.messages[this.messages.length-1].skeletonHidden=!0,this.publish(new Bl({})))}finally{(this.responseCountthis.handleMessageChange(c.detail)),l.subscribe(V_,()=>this.setBusy()),l.subscribe(G_,()=>{this.reset()}),l.subscribe(Vl,c=>{this.sendTelemetryToOneDS(c.detail),this.saveChat()}),l.subscribe(lu,c=>{c.detail.refresh&&c.detail.likeOrDislike&&c.detail.msgIndex?this.updatePreviewPayload("refresh",c.detail.msgIndex,c.detail.likeOrDislike):c.detail.likeOrDislike&&c.detail.msgIndex&&this.updatePreviewPayload("toggle",c.detail.msgIndex,c.detail.likeOrDislike)}),l.subscribe(j_,()=>{this.saveChat()}),Ae(this,Oa).push(l)}userMessage(){this.pushMessage(Promise.resolve({message:this.currentMessage}),{},this.createChildVmIndex(),this.maxMessages,{})}systemMessage(o){this.pushMessage(o,{contentIsHTML:!0,type:"ai"},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}errorMessage(o){let n;o in this.errorMapping?n=this.errorMapping[o]:n=lc;let i={content:n,state:"errored",type:"ai"};this.pushMessage(i,{},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}handleMessageChange(o){this.notifyPropertyChanged(o)}createChildVmIndex(){return this.indexCount++}setUpTestKeyboardListener(){Pl&&window.addEventListener("keydown",o=>{o.ctrlKey&&o.shiftKey&&o.altKey&&o.key==="T"&&this.testPrompt()})}resetTextAreaHeight(o){o&&(o.rows=1,o.style.overflowY="hidden")}serializeChat(){return JSON.stringify({sessionId:this.sessionId,messages:this.messages.filter((o,n,i)=>{if(!o.loaded)return!1;if(o.type==="user"){let r=i[n+1];if(!r||!r.loaded)return!1}return!0}).map(o=>o.saveMessage())})}saveChat(o=!1){let n=this.serializeChat(),i={type:"history",payload:n,shouldScroll:o};this.broadcastChannel.postMessage(i),se.setItem(iR,n),se.setItem(op,Date.now().toString())}deleteChatHistory(){se.removeItem(iR),se.removeItem(op)}getChatHistory(){let o=se.getItem(iR);return o?JSON.parse(o):null}restoreChatHistory(o,n=!1){o&&(this.sessionId=o.sessionId,At(this,Oa,[]),o.messages.forEach(i=>{this.pushMessage(i,{contentIsHTML:!0,type:i.type},this.createChildVmIndex(),this.maxMessages,this.errorMapping,this.sessionId),this.responseCount=i.responseCount||0,this.responseCount>=this.maxMessages&&this.setBusy()}),this.notifyPropertyChanged({scroll:n}))}clearChatsUponInactive(){let o=se.getItem(op);if(!o)return;let n=parseInt(o);Date.now()-n>YFe&&(this.deleteChatHistory(),this.reset(),se.removeItem(nu))}handleInitialChatHistory(){NP||(this.clearChatsUponInactive(),this.restoreChatHistory(this.getChatHistory()),se.getItem(nu)==="true"&&this.handleFlyoutOpenStateChange(!0))}initBroadcastChannel(){NP||(this.broadcastChannel.onmessage=o=>{if(o.data)switch(o.data.type){case"history":try{let n=JSON.parse(o.data.payload||"{}");this.restoreChatHistory(n,o.data.shouldScroll)}catch{}break;case"reset":this.reset(!0);break;case"open-state":this.handleFlyoutOpenStateChange(o.data.isOpen);break}})}initUserInteractionListener(){NP||(window.addEventListener("focusin",()=>{se.setItem(op,Date.now().toString())}),window.addEventListener("flyout-show",()=>{se.setItem(nu,"true"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!0})}),window.addEventListener("flyout-hide",()=>{se.setItem(nu,"false"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!1})}))}handleFlyoutOpenStateChange(o){let n=document.querySelector("[data-ask-learn-flyout-entry]");if(!n)return;let i=document.documentElement.classList.contains("layout-flyout-active");if(o!==i)if(o)Ag(n);else{let r=document.querySelector('button[data-flyout-button="close"]');r&&r.click()}}initialize(){}};US=new WeakMap,OS=new WeakMap,HS=new WeakMap,Oa=new WeakMap,BS=new WeakMap,VS=new WeakMap;var WFe=(()=>{let e=new URLSearchParams(window.location.search),t=e.has("asklearn");if(t){e.delete("asklearn");let o=e.toString(),n=`${window.location.pathname}${o?"?"+o:""}${window.location.hash}`;window.history.replaceState(window.history.state,window.document.title,n)}return t})();function KFe(e){return e.map(t=>RS(t))}function JFe(e,t,o,n){return!!(e||t||o||n)}async function d_e(){if(!w.chatTutor||b.data.isPermissioned&&b.data.permissionedType!=="public")return;let e=Ve("chat-tutor",{require:!0}),[t,o,n]=await Promise.all([qn("ask-learn"),qn("ask-learn-on-articles"),qn("ask-learn-on-reference"),ve,Se]);if(!JFe(e,t,o,n))return;k_("devlang");let r=k.isAuthenticated;RB()<2&&KFe([oR,nR]);let{chatContainer:a,chatModal:l}=ZFe();if(!a||!l)return;let c=[],u=document.getElementById("ask-learn-flyout");u&&c.push({element:u,name:"ask-learn-flyout",sticky:!0}),kB(LB,l,Ig),kB(eR,l,Ig),IB(MS,Ig),IB(tR,Ig,!0),bhe(vhe,()=>l.show(),Ag,Ig),_he(l,MS),The();let p=[{element:a,name:"ask-learn-modal"},...c];if(r)XFe(await Rhe,p);else{for(let m of p)y(u_e(m.name,!!m.sticky),m.element);window.addEventListener("flyout-show",()=>{localStorage.setItem(op,Date.now().toString()),localStorage.setItem(nu,"true")}),window.addEventListener("flyout-hide",()=>{localStorage.setItem(op,Date.now().toString()),localStorage.setItem(nu,"false")})}WFe&&localStorage.getItem(nu)!=="true"&&Ig(()=>{if(ki.matches){let g=document.querySelector(MS);g&&Ag(g,!0)}else l.show()})}function ZFe(){let e=document.createElement("div");e.classList.add("modal-content","is-docked-right","background-color-body-medium"),e.style.cssText="--sidebar-modal-width: 500px";let t=new be(e);return{chatContainer:e,chatModal:t}}var ti;async function XFe(e,t){if(!t||t.length===0)throw new Error("Invalid container provided to Chat View Model.");ti=new AR(e),ti.subscribe(B_,async o=>{for(let n of t){y(z3(ti,n.name,!!n.sticky),n.element);let i=Array.from(n.element.querySelectorAll(`[data-interaction-id="${o.detail.interactionId}"]`));if(o.detail.updateCodeBlocks)for(let r of i)kS(r);MB(n.element,i),o.detail.scroll&&ti.scrollToActiveMessage(n.name)}}),await ti.initialized,window.addEventListener("resize",z_.timeout(()=>{for(let o of t){let n=Array.from(o.element.querySelectorAll("[data-interaction-id]"));MB(o.element,n)}},250));for(let o of t)y(z3(ti,o.name,!!o.sticky),o.element);window.addEventListener("modal-show",()=>{ti.scrollToActiveMessage("ask-learn-modal","instant")}),window.addEventListener("flyout-show",()=>{ti.scrollToActiveMessage("ask-learn-flyout","instant")})}function p_e(){eV(),dt.subscribe(To,Ya),window.addEventListener("content-update",Ya);let e=["[data-dismissable]"];window.addEventListener("click",eqe(e))}function eqe(e){return t=>{t.target instanceof Element&&t.target.closest(e.join(","))&&Ya()}}var f_e="focus-mode",N3,tqe="article-header-page-actions",oqe="article-header-page-actions-overflow",m_e="[data-page-action-item]";function q3(e=Array.from(document.querySelectorAll(m_e))){let t=document.getElementById(tqe);if(!t)return;N3&&N3.disconnect(),g_e(e);let o=new MutationObserver(()=>{g_e(Array.from(t.querySelectorAll(m_e)))});o.observe(t,{childList:!0,attributes:!0,attributeFilter:["hidden"],subtree:!0}),N3=o,t.classList.remove("opacity-none")}function nqe(e){switch(e){case"overflow-all":case"overflow-mobile":return e;default:throw new Error(`Incorrect value added for [data-page-action-item]: ${e}`)}}function g_e(e){let t=document.getElementById(oqe);if(!t)return;let o=t.getAttribute("data-reset-required");if(o)switch(o){case"display-none":t.classList.remove("display-none");case"display-none-tablet":t.classList.remove("display-none-tablet");default:break}let n=!1,i=!1,r=t.querySelector('[data-list-type="plan"]');r&&(r.hidden=!1);for(let s of e)if(s.dataset.pageActionItem){let a=s.dataset.pageActionItem;if(!a)continue;let l=s.dataset?.checkHidden==="true",c=s.hidden,u=nqe(a);if(u==="overflow-all"&&(!l||!c)){n=!0;break}if(u==="overflow-mobile"&&(!l||!c)){i=!0;continue}}t&&(!n&&i&&(t.classList.add("display-none-tablet"),t.setAttribute("data-reset-required","display-none-tablet")),!n&&!i&&(t.classList.add("display-none"),t.setAttribute("data-reset-required","display-none")))}function h_e(){let e=mc.getItem(f_e)==="true",t=document.documentElement.classList.contains("layout-focus-mode");e!==t&&F3(),document.addEventListener("click",o=>{o.target instanceof Element&&o.target.closest("[data-focus-mode]")&&F3()}),window.addEventListener("resize",()=>{window.innerWidth>=1088||!document.documentElement.classList.contains("layout-focus-mode")||F3()},{passive:!0})}function F3(){let e=document.getElementById("ms--focus-mode-button");if(!e)return;document.documentElement.classList.toggle("layout-focus-mode");let t=document.getElementById("affixed-left-container"),o=document.getElementById("affixed-right-container");t&&(t.style.height="0"),o&&(o.style.height="0");let n=document.documentElement.classList.contains("layout-focus-mode"),i=document.querySelector("[data-collapsible-toc-toggle]");if(i){let r=i.getAttribute("aria-expanded")==="true";if(n===r){let s=n?"toc-collapse-focus":"toc-expand-focus";i.setAttribute("data-bi-name",s),i.click()}}e.classList.toggle("is-selected",n),e.setAttribute("aria-pressed",n.toString()),e.setAttribute("data-bi-name",n?"focus-mode-exit":"focus-mode-entry"),document.body.setAttribute("data-bi-name",n?"body-focus-mode":"body"),mc.setItem(f_e,String(n)),kt(n?BK:VK,"assertive"),Lt()}function iqe(){let t={iPhone:"ios",iPad:"ios",iPod:"ios",Macintosh:"macos",MacIntel:"macos",MacPPC:"macos",Mac68K:"macos",Win32:"windows",Win64:"windows",Windows:"windows",WinCE:"windows"}[navigator.platform];return t!==void 0?t:/Android/.test(navigator.userAgent)?"android":/Linux/.test(navigator.platform)?"linux":null}function GS(e){return/^(?:android|ios|linux|macos|windows)$/.test(e)}var rqe=sqe();function sqe(){let e=!1,t=navigator.userAgent||navigator.vendor,o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,n=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;return(o.test(t)||n.test(t.substr(0,4)))&&(e=!0),e}var QS=iqe(),b_e="preferred-platform";function aqe(){let e=se.getItem(b_e);return e!==null&&GS(e)?e:null}var kR=aqe();function IR(e){se.setItem(b_e,e)}var U3=["button-primary","is-selected"],v_e=["previous-versions","archive"],lqe=({location:e,allowedPaths:t})=>{let o=Zd(e).pathname.split("/"),n=t.includes(o[2])?4:3;return o.slice(0,n).join("/")},O3=lqe({location:J,allowedPaths:v_e});function H3(){let e=B3();if(!e.length)return Promise.resolve();let t={get(o){return se.getItem(`zone-pivot${O3}/${o}`)},set(o,n){se.setItem(`zone-pivot${O3}/${o}`,n)}};return Promise.all([gqe(),Se]).then(([o])=>{let n=document.querySelector("[data-main-column] .top-alert")??document.querySelector("[data-main-column] .page-metadata-container")??document.querySelector("[data-main-column] .page-metadata"),i=document.querySelector('[data-id="ai-summary"]'),r=[n,i].filter(a=>a!==null);if(r.length===0)return;let s=r.reduce((a,l)=>a.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING?l:a);dqe(s,e,o,t)})}function B3(){return(P("zone_pivot_groups")||"").split(",").map(e=>e.trim()).filter(e=>e.length)}function cqe(e){document.querySelectorAll(`[data-pivot]${e.map(o=>`:not([data-pivot~='${o}'])`).join("")}`).forEach(o=>{Array.from(o.querySelectorAll("[id]")).forEach(i=>y_e(i))})}var uqe=e=>{e.forEach(t=>{document.querySelectorAll(`[data-pivot~='${t}'] [data-id]`).forEach(r=>{r.id=r.getAttribute("data-id"),r.removeAttribute("data-id")});let n=Array.from(document.querySelectorAll(`[data-pivot~='${t}'] [id]`)).map(r=>r.id);document.querySelectorAll(`[data-pivot]:not([data-pivot~='${t}']) [id]`).forEach(r=>{n.includes(r.id)&&y_e(r)})})};function y_e(e){e.setAttribute("data-id",e.id),e.removeAttribute("id")}function dqe(e,t,o,n){let i=te().pivots,r=i?i.split(",").map(f=>f.trim().toLowerCase()):[],s=mqe(o,t,r,n,kR||QS),a=document.createElement("style");document.head.appendChild(a),__e(a,s);let l=t.map(f=>o.find(_=>_.id===f)).filter(f=>f!==void 0);if(l.length===0)return;let c=pqe(e,l,s),u=Array.from(c.querySelectorAll('input[type="radio"]')).map(f=>({input:f,button:f.closest(".button")})),p=()=>{__e(a,u.filter(f=>f.input.checked).map(f=>f.input.value)),u.forEach(({input:f,button:_})=>{f.checked?(_.classList.add(...U3),_.querySelector(".icon").classList.remove("is-hidden")):(_.classList.remove(...U3),_.querySelector(".icon").classList.add("is-hidden"))})},m=()=>u.forEach(({input:f,button:_})=>{let h=f.matches(":focus-visible")?"add":"remove";_.classList[h]("is-focused")}),g=f=>{let{name:_,value:h}=f.target;n.set(_,h),GS(h)&&IR(h)};qt(c,"change",p),qt(c,"blur",m,!0),qt(c,"focus",m,!0),qt(c,"change",g),vg(()=>a.remove())}function __e(e,t){e.textContent=` [data-pivot]${t.map(o=>`:not([data-pivot~='${o}'])`).join("")} { display: none !important; }`,cqe(t),uqe(t),ep(),Lt(),Bt({pivots:t.join()},"replaceState")}function pqe(e,t,o){let{userDir:n,userLocale:i}=b.data;return e.insertAdjacentHTML("afterend",`
    ${t.map(r=>`
    ${r.prompt}
    ${r.pivots.map(s=>` `).join(` `)}
    `).join(` `)}
    `),e.nextElementSibling}function mqe(e,t,o,n,i){let r=[];for(let s of t){let a=e.find(f=>f.id===s);if(!a)continue;let l=n.get(s),c=a.pivots,u,p,m,g;for(let f of c)g||(g=f.id),!u&&o.indexOf(f.id)!==-1&&(u=f.id),!p&&f.id===l&&(p=f.id),!m&&f.id===i&&(m=f.id);r.push(u||p||m||g)}return r}function gqe(){let e=fqe();return M(e,{credentials:"include"}).then(t=>t.json()).then(t=>t.groups)}function fqe(){let{branch:e}=te(),t=P("zone_pivot_group_filename")||"zone-pivot-groups.json",o=e?"?"+ne({branch:e}):"",n=["nb-no"],i=O3,r=i.split("/")[1],s=n.includes(r);s&&(i=i.replace(r,"en-us"));let a=`${i}/${t}${o}`,l=P("zone_pivot_groups_path");l&&(l=ZH(l));let c=l&&l.length>1,u=l&&l.startsWith("/"),p=v_e.filter(f=>J.pathname.includes(`/${f}/`)),m=p.length>0?`/${p[0]}`:"",g=`/${s?"en-us":r}${m??""}${u?"":"/"}${l}`;return c?g:a}function x_e(e,t){let o=Array.from(e.querySelectorAll('iframe[src^="https://learn-video.azurefd.net/"], iframe[src^="https://channel9.msdn.com/"], iframe[src*="/video-embed.html?"], iframe[src*="/video-embed-one-stream.html?"]')),n;try{n=Un(new URL(t.href)?.pathname)}catch{return[]}for(let i of o){let r;try{r=new URL(i.src)}catch{continue}r.searchParams.set("locale",b.data.userLocale),r.searchParams.set("embedUrl",n),i.src=r.toString(),i.title||(i.title=Rf)}return o??[]}function T_e(){if(B3().length)return;let t=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")),o=[],n=[];t.map(i=>o.includes(i.id)?n.push(i):o.push(i.id)),n.forEach(i=>{i.removeAttribute("id")})}A();var S_e="h1,h2,h3,h4,h5,h6",PR=e=>{e.forEach(t=>{let o=t.firstElementChild;t.clientWidth{let o=!1;return(...n)=>{o||(o=!0,U.requestAnimationFrame(()=>{e.apply(t,n),o=!1}))}},LR={definitions:["margin-bottom-sm"],nameValue:["table-stacked-mobile"],dataMatrix:["table-complex","margin-top-sm"],attributeList:["table-complex","width-auto"]};function hqe(e){let t=e.classList;if(t.contains("definitions")){e.classList.add(...LR.definitions);let o=Array.from(e.querySelectorAll("th"));for(let n=0;n{let n;e.parentElement.classList.contains("table-wrapper")?n=e.parentElement.previousElementSibling:n=e.previousElementSibling;let i=0;for(;n&&i<5;){if(n.matches(S_e))return jp(n).trim();if(n.matches(".heading-wrapper")){let r=n.querySelector(S_e);if(r)return jp(r).trim()}n=n.previousElementSibling,i++}return Wie.replace("{index}",(t+1).toString())})()}function C_e(e){Array.from(e.querySelectorAll(".content table")).forEach(o=>{let n=Array.from(o.querySelectorAll("thead tr > th")),i=o.querySelector("tbody");if(!i)return;let r=Array.from(i.children);if(_qe(n,r)){for(let s of r){let l=s.firstElementChild;l.firstElementChild.nodeName==="SPAN"?(l.firstElementChild.textContent=l.firstElementChild.textContent,l.lastElementChild.firstElementChild.textContent=l.lastElementChild.firstElementChild.textContent):l.innerHTML=l.firstElementChild.innerHTML;let c=S.createElement("th");c.setAttribute("scope","row"),c.innerHTML=l.innerHTML,l.parentElement.replaceChild(c,l)}n.forEach(s=>{if(s.textContent==="")return;s.setAttribute("scope","col");let a=Array.from(o.querySelectorAll("thead tr > th"));if(!a.length||a[0].innerHTML!=="")return;Array.from(o.querySelectorAll("tbody tr > td:first-child > strong")).forEach(c=>{let u=c.parentElement.parentElement.innerHTML.replace("",'').replace("","");c.parentElement.parentElement.innerHTML=u}),a.forEach(c=>{c.innerHTML!==""&&c.setAttribute("scope","col")})})}})}function _qe(e,t){if(!(e.length&&e[0].firstElementChild===null&&e[0].textContent===""))return!1;for(let n of t){let r=n.firstElementChild,s=r.firstElementChild,a=r.lastElementChild;if(r.nodeName!=="TD"||!s||!(r.querySelector(".sxs-lookup")?vqe(s):s===a&&r.textContent.trim()===s.textContent.trim()&&s.nodeName==="STRONG"))return!1}return!0}function vqe(e){if(e.nodeName==="SPAN"){let t=e.firstElementChild;return e.hasAttribute("data-ttu-id")&&t&&t.nodeName==="STRONG"&&e.textContent.trim()===t.textContent.trim()&&!t.firstElementChild}return!1}function yqe(e){let t=S.createElement("div");if(t.classList.add("buttons","buttons-right","margin-bottom-none","margin-top-sm"),e.previousElementSibling&&e.previousElementSibling.classList.contains("heading-wrapper")){let c=e.previousElementSibling.querySelector("[data-moniker]");if(c){let u=c.getAttribute("data-moniker");u&&t.setAttribute("data-moniker",u)}}let o=d` `,n=d` `,i=c=>d` `,r,s,a;function l(){if(!r||!s){r=S.createElement("div"),a=e.cloneNode(!0);let c=i(a);y(c,r),s=new be(r),a&&qt(U,"resize",w_e(()=>PR([a])),{passive:!0})}s.show(),PR([a])}return y(o,t),t}function V3(e=!1,t){let o=Array.from((t??S).querySelectorAll(".content table"));if(!o.length)return;let n=o.map((r,s)=>{if(s<50&&!r.matches("[aria-label], [aria-labelledby]")&&!r.querySelector("caption")){let l=bqe(r,s);r.setAttribute("aria-label",l)}r.classList.add("table"),(b.data.pageTemplate==="Conceptual"||b.data.pageTemplate==="Reference")&&r.classList.add("table-sm","margin-top-none"),r.classList.length!==1&&hqe(r);let a;if(r.classList.contains("nameValue"))return null;if(r.parentElement.classList.contains("table-wrapper"))a=r.parentElement;else if(a=S.createElement("div"),a.classList.add("table-wrapper","inner-focus"),a.tabIndex=0,a.setAttribute("role","group"),a.setAttribute("aria-label",pz),r.parentElement.insertBefore(a,r),a.appendChild(r),!e){let l=yqe(a);a.parentElement&&a.parentElement.insertBefore(l,a)}return a}).filter(r=>r!==null),i=w_e(()=>PR(n));qt(U,"resize",i,{passive:!0}),qt(U,"content-update",i,{passive:!0}),PR(n)}function xqe(e){return Array.from(e.querySelectorAll('iframe[src^="https://www.microsoft.com"][src*="/videoplayer/"]'))}function Tqe(e,t,o){let n=t.split("/").pop(),i=new URL(`http://approjects.co.za/?big=${e}/videoplayer/embed/${n}`);return o&&i.searchParams.set("postJsllMsg","true"),e!=="en-us"&&i.searchParams.set("autoCaptions",e),i.href}function Sqe(e,t=window){t.addEventListener("message",o=>{if(o.origin!=="https://www.microsoft.com"||typeof o.data!="string")return;let n;try{n=JSON.parse(o.data)}catch{}!n||typeof n.eventName!="string"||n.eventName.toLowerCase()!=="postjsllmessage"||e(n.data)})}function E_e(){let t=xqe(document.body);for(let o of t){let n=Tqe(b.data.userLocale,o.src,!0);o.src!==n&&(o.src=n),o.title=o.title||Rf}t.length&&Sqe(xe)}function Q3(){wqe(),Cqe(),Eqe(document.body),T_e(),C_e(document.body),E_e(),x_e(document.body,J)}function wqe(){let e={TIP:{class:"is-success",docon:"lightbulb",title:tse},NOTE:{class:"is-info",docon:"status-error-outline",title:wZ},IMPORTANT:{class:"is-primary",docon:"status-info-outline",title:vJ},WARNING:{class:"is-warning",docon:"status-warning-outline",title:Cse},CAUTION:{class:"is-danger",docon:"status-failure-outline",title:wG}};Array.from(document.querySelectorAll(".TIP, .NOTE, .IMPORTANT, .WARNING, .CAUTION")).forEach(o=>{let n=/TIP|NOTE|IMPORTANT|WARNING|CAUTION/.exec(o.className)[0];o.className=`alert ${e[n].class}`;let i=o.firstElementChild;!i||!(i instanceof HTMLParagraphElement)||(i.classList.add("alert-title"),i.textContent=e[n].title,i.insertAdjacentHTML("afterbegin",` `))})}function Cqe(){Array.from(document.querySelectorAll(".content div.button a, .content div.step-by-step a, .content div.nextstepaction a")).forEach(e=>{e.classList.add("button","button-primary","button-filled","has-text-wrap");let t=e.closest("div.button, .step-by-step");t&&(t.className="")})}function Eqe(e){Array.from(e.querySelectorAll(".break-text > .xref")).forEach(o=>{if(o.firstElementChild!==null)return;let i=o.parentElement.classList.contains("dots-only")?2:3,r=kn(o.textContent.replace(//g,">"),i);o.innerHTML=r})}function A_e(){document.querySelectorAll("button[data-copy-markdown]").forEach(e=>{e.addEventListener("click",()=>Aqe(e))})}async function Aqe(e){if(e.dataset.copyState!=="idle")return;jS(e,"loading");let t=new URL(J.href);t.searchParams.set("accept","text/markdown");try{let o=await fetch(t.toString());if(!o.ok)throw new Error(`Failed to fetch markdown: ${o.status}`);let n=await o.text();await mB(n,e)?(jS(e,"success"),kt(hE,"assertive",1e3),setTimeout(()=>jS(e,"idle"),1e3)):jS(e,"idle")}catch{jS(e,"idle")}}function jS(e,t){e.dataset.copyState=t,e.querySelectorAll("[data-show-when]").forEach(o=>{o.hidden=o.dataset.showWhen!==t})}function k_e(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&(o.classList.contains("notification")||o.classList.contains("banner")||RR(o))},{passive:!0})}async function RR(e){e.getAttribute("data-dismissable")==="disappearing"&&(e.classList.add("disappearing"),await new Promise(t=>setTimeout(t,500))),e.classList.remove("disappearing"),e.remove(),Lt()}function I_e(e){e.addEventListener("click",t=>{if(!(t.target instanceof Element))return;let o=null;if(o=t.target.closest(".dropdown-trigger"),o||(o=t.target.shadowRoot?.activeElement?.closest(".dropdown-trigger")),!o)return;t.preventDefault();let n=o.parentElement,i=o.getAttribute("aria-expanded")!=="true";o.setAttribute("aria-expanded",i.toString());let r;if(i&&n){n.classList.contains("has-centered-menu")||kqe(n);let s=u=>{u.target instanceof Element&&(!n.contains(u.target)||u.type==="click"&&u.target.closest(".dropdown-menu-close"))&&(r(),u.target.classList.contains("dropdown-menu-close")&&o&&o.focus())},a=u=>{if(u instanceof KeyboardEvent&&u.keyCode===ke.escape){u.stopImmediatePropagation();let m=Array.from(S.querySelectorAll('.dropdown-trigger[aria-expanded="true"]')).pop();m&&(m.setAttribute("aria-expanded","false"),m.focus())}},l=async()=>{S.activeElement?.nodeName?.toLowerCase()==="iframe"&&r()};r=()=>{e.removeEventListener("focus",s),e.removeEventListener("click",s),e.removeEventListener("touchstart",s),e.removeEventListener("keydown",a),U.removeEventListener("blur",l),o&&o.setAttribute("aria-expanded","false")},e.addEventListener("focus",s,!0),e.addEventListener("click",s),e.addEventListener("touchstart",s),e.addEventListener("keydown",a),e.addEventListener("collapse-dropdown",u=>{u.stopPropagation(),r()}),U.addEventListener("blur",l)}})}function j3(e){e.dispatchEvent(new CustomEvent("collapse-dropdown",{bubbles:!0}))}function kqe(e){let t=f=>U.getComputedStyle(f).overflowX,o=e.parentElement;for(;o&&o.nodeName!=="BODY"&&t(o)!=="hidden";)o=o.parentElement;if(o===null)return;let n=e.querySelector(".dropdown-trigger"),i=e.querySelector(".dropdown-menu"),r=e.closest(".dropdown-menu")!==null,s=i.classList.contains("is-vertically-scrollable");i.style.left="",i.style.right="",i.style.maxHeight="";let{left:a,right:l}=o.getBoundingClientRect(),{left:c,right:u,top:p,bottom:m}=n.getBoundingClientRect(),g=i.getBoundingClientRect().width;r?(i.style.top="-1px",b.data.userDir==="ltr"?u+g<=l?(i.style.right="0",i.style.transform="translateX(100%)"):(i.style.left="0",i.style.transform="translateX(-100%)"):u-g>=a?(i.style.left="0",i.style.transform="translateX(-100%)"):(i.style.right="0",i.style.transform="translateX(100%)"),s&&(i.style.maxHeight=`${U.innerHeight-p-8}px`)):(b.data.userDir==="ltr"?c+g<=l?i.style.left="0":i.style.right="0":u-g>=a?i.style.right="0":i.style.left="0",s&&(i.style.maxHeight=`${U.innerHeight-m-8}px`))}He();var P_e=yC(K3(),1);var cu=class extends Error{constructor(o,n,i){super(o,{cause:i.cause});Wt(this,"name");Wt(this,"status");Wt(this,"request");Wt(this,"response");this.name="HttpError",this.status=Number.parseInt(n),Number.isNaN(this.status)&&(this.status=0);"response"in i&&(this.response=i.response);let r=Object.assign({},i.request);i.request.headers.authorization&&(r.headers=Object.assign({},i.request.headers,{authorization:i.request.headers.authorization.replace(/(?=400&&!e.doNotRetry.includes(o.status)){let i=n.request.retries!=null?n.request.retries:e.retries,r=Math.pow((n.request.retryCount||0)+1,2);throw t.retry.retryRequest(o,i,r)}throw o}async function Lqe(e,t,o,n){let i=new P_e.default;return i.on("failed",function(r,s){let a=~~r.request.request.retries,l=~~r.request.request.retryAfter;if(n.request.retryCount=s.retryCount+1,a>s.retryCount)return l*e.retryAfterBaseValue}),i.schedule(Pqe.bind(null,e,t,o),n)}async function Pqe(e,t,o,n){let i=await o(o,n);if(i.data&&i.data.errors&&i.data.errors.length>0&&/Something went wrong while executing your query/.test(i.data.errors[0].message)){let r=new cu(i.data.errors[0].message,500,{request:n,response:i});return L_e(e,t,r,n)}return i}function J3(e,t){let o=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,410,422,451],retries:3},t.retry);return o.enabled&&(e.hook.error("request",L_e.bind(null,o,e)),e.hook.wrap("request",Lqe.bind(null,o,e))),{retry:{retryRequest:(n,i,r)=>(n.request.request=Object.assign({},n.request.request,{retries:i,retryAfter:r}),n)}}}J3.VERSION=Iqe;var M_e=yC(K3(),1),Rqe="0.0.0-development",Z3=()=>Promise.resolve();function Mqe(e,t,o){return e.retryLimiter.schedule(Dqe,e,t,o)}async function Dqe(e,t,o){let{pathname:n}=new URL(o.url,"http://github.test"),i=$qe(o.method,n),r=!i&&o.method!=="GET"&&o.method!=="HEAD",s=o.method==="GET"&&n.startsWith("/search/"),a=n.startsWith("/graphql"),c=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(c.expiration=1e3*60),(r||a)&&await e.write.key(e.id).schedule(c,Z3),r&&e.triggersNotification(n)&&await e.notifications.key(e.id).schedule(c,Z3),s&&await e.search.key(e.id).schedule(c,Z3);let u=(i?e.auth:e.global).key(e.id).schedule(c,t,o);if(a){let p=await u;if(p.data.errors!=null&&p.data.errors.some(m=>m.type==="RATE_LIMITED"))throw Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:p,data:p.data})}return u}function $qe(e,t){return e==="PATCH"&&/^\/applications\/[^/]+\/token\/scoped$/.test(t)||e==="POST"&&(/^\/applications\/[^/]+\/token$/.test(t)||/^\/app\/installations\/[^/]+\/access_tokens$/.test(t)||t==="/login/oauth/access_token")}var zqe=["/orgs/{org}/invitations","/orgs/{org}/invitations/{invitation_id}","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/issues/{issue_number}/sub_issue","/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"];function Nqe(e){let o=`^(?:${e.map(n=>n.split("/").map(i=>i.startsWith("{")?"(?:.+?)":i).join("/")).map(n=>`(?:${n})`).join("|")})[^/]*$`;return new RegExp(o,"i")}var R_e=Nqe(zqe),D_e=R_e.test.bind(R_e),$g={},Fqe=function(e,t){$g.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),$g.auth=new e.Group({id:"octokit-auth",maxConcurrent:1,...t}),$g.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),$g.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),$g.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function MR(e,t){let{enabled:o=!0,Bottleneck:n=M_e.default,id:i="no-id",timeout:r=1e3*60*2,connection:s}=t.throttle||{};if(!o)return{};let a={timeout:r};typeof s<"u"&&(a.connection=s),$g.global==null&&Fqe(n,a);let l=Object.assign({clustering:s!=null,triggersNotification:D_e,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new n,id:i,...$g},t.throttle);if(typeof l.onSecondaryRateLimit!="function"||typeof l.onRateLimit!="function")throw new Error(`octokit/plugin-throttling error: You must pass the onSecondaryRateLimit and onRateLimit error handlers. See https://octokit.github.io/rest.js/#throttling const octokit = new Octokit({ throttle: { onSecondaryRateLimit: (retryAfter, options) => {/* ... */}, onRateLimit: (retryAfter, options) => {/* ... */} } }) `);let c={},u=new n.Events(c);return c.on("secondary-limit",l.onSecondaryRateLimit),c.on("rate-limit",l.onRateLimit),c.on("error",p=>e.log.warn("Error in throttling-plugin limit handler",p)),l.retryLimiter.on("failed",async function(p,m){let[g,f,_]=m.args,{pathname:h}=new URL(_.url,"http://github.test");if(!(h.startsWith("/graphql")&&p.status!==401||p.status===403||p.status===429))return;let v=~~f.retryCount;f.retryCount=v,_.request.retryCount=v;let{wantRetry:T,retryAfter:I=0}=await async function(){if(/\bsecondary rate\b/i.test(p.message)){let C=Number(p.response.headers["retry-after"])||g.fallbackSecondaryRateRetryAfter;return{wantRetry:await u.trigger("secondary-limit",C,_,e,v),retryAfter:C}}if(p.response.headers!=null&&p.response.headers["x-ratelimit-remaining"]==="0"||(p.response.data?.errors??[]).some(C=>C.type==="RATE_LIMITED")){let C=new Date(~~p.response.headers["x-ratelimit-reset"]*1e3).getTime(),H=Math.max(Math.ceil((C-Date.now())/1e3)+1,0);return{wantRetry:await u.trigger("rate-limit",H,_,e,v),retryAfter:H}}return{}}();if(T)return f.retryCount++,I*g.retryAfterBaseValue}),e.hook.wrap("request",Mqe.bind(null,l)),{}}MR.VERSION=Rqe;MR.triggersNotification=D_e;function ap(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}function DR(e,t,o,n){if(typeof o!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(t)?t.reverse().reduce((i,r)=>DR.bind(null,e,r,i,n),o)():Promise.resolve().then(()=>e.registry[t]?e.registry[t].reduce((i,r)=>r.hook.bind(null,i,n),o)():o(n))}function $_e(e,t,o,n){let i=n;e.registry[o]||(e.registry[o]=[]),t==="before"&&(n=(r,s)=>Promise.resolve().then(i.bind(null,s)).then(r.bind(null,s))),t==="after"&&(n=(r,s)=>{let a;return Promise.resolve().then(r.bind(null,s)).then(l=>(a=l,i(a,s))).then(()=>a)}),t==="error"&&(n=(r,s)=>Promise.resolve().then(r.bind(null,s)).catch(a=>i(a,s))),e.registry[o].push({hook:n,orig:i})}function z_e(e,t,o){if(!e.registry[t])return;let n=e.registry[t].map(i=>i.orig).indexOf(o);n!==-1&&e.registry[t].splice(n,1)}var N_e=Function.bind,F_e=N_e.bind(N_e);function q_e(e,t,o){let n=F_e(z_e,null).apply(null,o?[t,o]:[t]);e.api={remove:n},e.remove=n,["before","error","after","wrap"].forEach(i=>{let r=o?[t,i,o]:[t,i];e[i]=e.api[i]=F_e($_e,null).apply(null,r)})}function qqe(){let e=Symbol("Singular"),t={registry:{}},o=DR.bind(null,t,e);return q_e(o,t,e),o}function Uqe(){let e={registry:{}},t=DR.bind(null,e);return q_e(t,e),t}var U_e={Singular:qqe,Collection:Uqe};var Oqe="0.0.0-development",Hqe=`octokit-endpoint.js/${Oqe} ${ap()}`,Bqe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":Hqe},mediaType:{format:""}};function Vqe(e){return e?Object.keys(e).reduce((t,o)=>(t[o.toLowerCase()]=e[o],t),{}):{}}function Gqe(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let o=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Function.prototype.call(o)===Function.prototype.call(e)}function B_e(e,t){let o=Object.assign({},e);return Object.keys(t).forEach(n=>{Gqe(t[n])?n in e?o[n]=B_e(e[n],t[n]):Object.assign(o,{[n]:t[n]}):Object.assign(o,{[n]:t[n]})}),o}function O_e(e){for(let t in e)e[t]===void 0&&delete e[t];return e}function e4(e,t,o){if(typeof t=="string"){let[i,r]=t.split(" ");o=Object.assign(r?{method:i,url:r}:{url:i},o)}else o=Object.assign({},t);o.headers=Vqe(o.headers),O_e(o),O_e(o.headers);let n=B_e(e||{},o);return o.url==="/graphql"&&(e&&e.mediaType.previews?.length&&(n.mediaType.previews=e.mediaType.previews.filter(i=>!n.mediaType.previews.includes(i)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(i=>i.replace(/-preview/,""))),n}function Qqe(e,t){let o=/\?/.test(e)?"&":"?",n=Object.keys(t);return n.length===0?e:e+o+n.map(i=>i==="q"?"q="+t.q.split("+").map(encodeURIComponent).join("+"):`${i}=${encodeURIComponent(t[i])}`).join("&")}var jqe=/\{[^{}}]+\}/g;function Yqe(e){return e.replace(/(?:^\W+)|(?:(?o.concat(n),[]):[]}function H_e(e,t){let o={__proto__:null};for(let n of Object.keys(e))t.indexOf(n)===-1&&(o[n]=e[n]);return o}function V_e(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t).replace(/%5B/g,"[").replace(/%5D/g,"]")),t}).join("")}function W_(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function YS(e,t,o){return t=e==="+"||e==="#"?V_e(t):W_(t),o?W_(o)+"="+t:t}function Y_(e){return e!=null}function X3(e){return e===";"||e==="&"||e==="?"}function Kqe(e,t,o,n){var i=e[o],r=[];if(Y_(i)&&i!=="")if(typeof i=="string"||typeof i=="number"||typeof i=="boolean")i=i.toString(),n&&n!=="*"&&(i=i.substring(0,parseInt(n,10))),r.push(YS(t,i,X3(t)?o:""));else if(n==="*")Array.isArray(i)?i.filter(Y_).forEach(function(s){r.push(YS(t,s,X3(t)?o:""))}):Object.keys(i).forEach(function(s){Y_(i[s])&&r.push(YS(t,i[s],s))});else{let s=[];Array.isArray(i)?i.filter(Y_).forEach(function(a){s.push(YS(t,a))}):Object.keys(i).forEach(function(a){Y_(i[a])&&(s.push(W_(a)),s.push(YS(t,i[a].toString())))}),X3(t)?r.push(W_(o)+"="+s.join(",")):s.length!==0&&r.push(s.join(","))}else t===";"?Y_(i)&&r.push(W_(o)):i===""&&(t==="&"||t==="?")?r.push(W_(o)+"="):i===""&&r.push("");return r}function Jqe(e){return{expand:Zqe.bind(null,e)}}function Zqe(e,t){var o=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,i,r){if(i){let a="",l=[];if(o.indexOf(i.charAt(0))!==-1&&(a=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(c){var u=/([^:\*]*)(?::(\d+)|(\*))?/.exec(c);l.push(Kqe(t,a,u[1],u[2]||u[3]))}),a&&a!=="+"){var s=",";return a==="?"?s="&":a!=="#"&&(s=a),(l.length!==0?a:"")+l.join(s)}else return l.join(",")}else return V_e(r)}),e==="/"?e:e.replace(/\/$/,"")}function G_e(e){let t=e.method.toUpperCase(),o=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},e.headers),i,r=H_e(e,["method","baseUrl","url","headers","request","mediaType"]),s=Wqe(o);o=Jqe(o).expand(r),/^http/.test(o)||(o=e.baseUrl+o);let a=Object.keys(e).filter(u=>s.includes(u)).concat("baseUrl"),l=H_e(r,a);if(!/application\/octet-stream/i.test(n.accept)&&(e.mediaType.format&&(n.accept=n.accept.split(/,/).map(u=>u.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")),o.endsWith("/graphql")&&e.mediaType.previews?.length)){let u=n.accept.match(/(?{let m=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${p}-preview${m}`}).join(",")}return["GET","HEAD"].includes(t)?o=Qqe(o,l):"data"in l?i=l.data:Object.keys(l).length&&(i=l),!n["content-type"]&&typeof i<"u"&&(n["content-type"]="applicationhttps://www.microsoft.com/json; charset=utf-8"),["PATCH","PUT"].includes(t)&&typeof i>"u"&&(i=""),Object.assign({method:t,url:o,headers:n},typeof i<"u"?{body:i}:null,e.request?{request:e.request}:null)}function Xqe(e,t,o){return G_e(e4(e,t,o))}function Q_e(e,t){let o=e4(e,t),n=Xqe.bind(null,o);return Object.assign(n,{DEFAULTS:o,defaults:Q_e.bind(null,o),merge:e4.bind(null,o),parse:G_e})}var j_e=Q_e(null,Bqe);var eve=yC(J_e(),1);var eUe="10.0.7",tUe={headers:{"user-agent":`octokit-request.js/${eUe} ${ap()}`}};function oUe(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let o=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Function.prototype.call(o)===Function.prototype.call(e)}var Z_e=()=>"";async function X_e(e){let t=e.request?.fetch||globalThis.fetch;if(!t)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");let o=e.request?.log||console,n=e.request?.parseSuccessResponseBody!==!1,i=oUe(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body,r=Object.fromEntries(Object.entries(e.headers).map(([p,m])=>[p,String(m)])),s;try{s=await t(e.url,{method:e.method,body:i,redirect:e.request?.redirect,headers:r,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(p){let m="Unknown Error";if(p instanceof Error){if(p.name==="AbortError")throw p.status=500,p;m=p.message,p.name==="TypeError"&&"cause"in p&&(p.cause instanceof Error?m=p.cause.message:typeof p.cause=="string"&&(m=p.cause))}let g=new cu(m,500,{request:e});throw g.cause=p,g}let a=s.status,l=s.url,c={};for(let[p,m]of s.headers)c[p]=m;let u={url:l,status:a,headers:c,data:""};if("deprecation"in c){let p=c.link&&c.link.match(/<([^<>]+)>; rel="deprecation"/),m=p&&p.pop();o.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${c.sunset}${m?`. See ${m}`:""}`)}if(a===204||a===205)return u;if(e.method==="HEAD"){if(a<400)return u;throw new cu(s.statusText,a,{response:u,request:e})}if(a===304)throw u.data=await t4(s),new cu("Not modified",a,{response:u,request:e});if(a>=400)throw u.data=await t4(s),new cu(iUe(u.data),a,{response:u,request:e});return u.data=n?await t4(s):s.body,u}async function t4(e){let t=e.headers.get("content-type");if(!t)return e.text().catch(Z_e);let o=(0,eve.safeParse)(t);if(nUe(o)){let n="";try{return n=await e.text(),JSON.parse(n)}catch{return n}}else return o.type.startsWith("text/")||o.parameters.charset?.toLowerCase()==="utf-8"?e.text().catch(Z_e):e.arrayBuffer().catch(()=>new ArrayBuffer(0))}function nUe(e){return e.type==="applicationhttps://www.microsoft.com/json"||e.type==="application/scim+json"}function iUe(e){if(typeof e=="string")return e;if(e instanceof ArrayBuffer)return"Unknown error";if("message"in e){let t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map(o=>JSON.stringify(o)).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function o4(e,t){let o=e.defaults(t);return Object.assign(function(i,r){let s=o.merge(i,r);if(!s.request||!s.request.hook)return X_e(o.parse(s));let a=(l,c)=>X_e(o.parse(o.merge(l,c)));return Object.assign(a,{endpoint:o,defaults:o4.bind(null,o)}),s.request.hook(a,s)},{endpoint:o,defaults:o4.bind(null,o)})}var KS=o4(j_e,tUe);var rUe="0.0.0-development";function sUe(e){return`Request failed due to following response errors: `+e.errors.map(t=>` - ${t.message}`).join(` `)}var aUe=class extends Error{constructor(t,o,n){super(sUe(n));Wt(this,"name","GraphqlResponseError");Wt(this,"errors");Wt(this,"data");this.request=t,this.headers=o,this.response=n,this.errors=n.errors,this.data=n.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},lUe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],cUe=["query","method","url"],tve=/\/api\/v3\/?$/;function uUe(e,t,o){if(o){if(typeof t=="string"&&"query"in o)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let s in o)if(cUe.includes(s))return Promise.reject(new Error(`[@octokit/graphql] "${s}" cannot be used as variable name`))}let n=typeof t=="string"?Object.assign({query:t},o):t,i=Object.keys(n).reduce((s,a)=>lUe.includes(a)?(s[a]=n[a],s):(s.variables||(s.variables={}),s.variables[a]=n[a],s),{}),r=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;return tve.test(r)&&(i.url=r.replace(tve,"/api/graphql")),e(i).then(s=>{if(s.data.errors){let a={};for(let l of Object.keys(s.headers))a[l]=s.headers[l];throw new aUe(i,a,s.data)}return s.data.data})}function n4(e,t){let o=e.defaults(t);return Object.assign((i,r)=>uUe(o,i,r),{defaults:n4.bind(null,o),endpoint:o.endpoint})}var FDt=n4(KS,{headers:{"user-agent":`octokit-graphql.js/${rUe} ${ap()}`},method:"POST",url:"/graphql"});function ove(e){return n4(e,{method:"POST",url:"/graphql"})}var i4="(?:[a-zA-Z0-9_-]+)",nve="\\.",ive=new RegExp(`^${i4}${nve}${i4}${nve}${i4}$`),dUe=ive.test.bind(ive);async function pUe(e){let t=dUe(e),o=e.startsWith("v1.")||e.startsWith("ghs_"),n=e.startsWith("ghu_");return{type:"token",token:e,tokenType:t?"app":o?"installation":n?"user-to-server":"oauth"}}function mUe(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function gUe(e,t,o,n){let i=t.endpoint.merge(o,n);return i.headers.authorization=mUe(e),t(i)}var rve=function(t){if(!t)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof t!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return t=t.replace(/^(token|bearer) +/i,""),Object.assign(pUe.bind(null,t),{hook:gUe.bind(null,t)})};var r4="7.0.6";var sve=()=>{},fUe=console.warn.bind(console),hUe=console.error.bind(console);function bUe(e={}){return typeof e.debug!="function"&&(e.debug=sve),typeof e.info!="function"&&(e.info=sve),typeof e.warn!="function"&&(e.warn=fUe),typeof e.error!="function"&&(e.error=hUe),e}var ave=`octokit-core.js/${r4} ${ap()}`,K_=class{constructor(t={}){Wt(this,"request");Wt(this,"graphql");Wt(this,"log");Wt(this,"hook");Wt(this,"auth");let o=new U_e.Collection,n={baseUrl:KS.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:o.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=t.userAgent?`${t.userAgent} ${ave}`:ave,t.baseUrl&&(n.baseUrl=t.baseUrl),t.previews&&(n.mediaType.previews=t.previews),t.timeZone&&(n.headers["time-zone"]=t.timeZone),this.request=KS.defaults(n),this.graphql=ove(this.request).defaults(n),this.log=bUe(t.log),this.hook=o,t.authStrategy){let{authStrategy:r,...s}=t,a=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},t.auth));o.wrap("request",a.hook),this.auth=a}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{let r=rve(t.auth);o.wrap("request",r.hook),this.auth=r}let i=this.constructor;for(let r=0;r!o.includes(r)))),i}};Wt(K_,"VERSION",r4),Wt(K_,"plugins",[]);var lve="6.0.0";function s4(e){e.hook.wrap("request",(t,o)=>{e.log.debug("request",o);let n=Date.now(),i=e.request.endpoint.parse(o),r=i.url.replace(o.baseUrl,"");return t(o).then(s=>{let a=s.headers["x-github-request-id"];return e.log.info(`${i.method} ${r} - ${s.status} with id ${a} in ${Date.now()-n}ms`),s}).catch(s=>{let a=s.response?.headers["x-github-request-id"]||"UNKNOWN";throw e.log.error(`${i.method} ${r} - ${s.status} with id ${a} in ${Date.now()-n}ms`),s})})}s4.VERSION=lve;var _Ue="0.0.0-development";function vUe(e){if(!e.data)return{...e,data:[]};if(!(("total_count"in e.data||"total_commits"in e.data)&&!("url"in e.data)))return e;let o=e.data.incomplete_results,n=e.data.repository_selection,i=e.data.total_count,r=e.data.total_commits;delete e.data.incomplete_results,delete e.data.repository_selection,delete e.data.total_count,delete e.data.total_commits;let s=Object.keys(e.data)[0],a=e.data[s];return e.data=a,typeof o<"u"&&(e.data.incomplete_results=o),typeof n<"u"&&(e.data.repository_selection=n),e.data.total_count=i,e.data.total_commits=r,e}function a4(e,t,o){let n=typeof t=="function"?t.endpoint(o):e.request.endpoint(t,o),i=typeof t=="function"?t:e.request,r=n.method,s=n.headers,a=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let l=await i({method:r,url:a,headers:s}),c=vUe(l);if(a=((c.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!a&&"total_commits"in c.data){let u=new URL(c.url),p=u.searchParams,m=parseInt(p.get("page")||"1",10),g=parseInt(p.get("per_page")||"250",10);m*g{if(i.done)return t;let r=!1;function s(){r=!0}return t=t.concat(n?n(i.value,s):i.value.data),r?t:uve(e,t,o,n)})}var n1t=Object.assign(cve,{iterator:a4});function l4(e){return{paginate:Object.assign(cve.bind(null,e),{iterator:a4.bind(null,e)})}}l4.VERSION=_Ue;var c4="16.1.1";var yUe={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createHostedRunnerForOrg:["POST /orgs/{org}/actions/hosted-runners"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteHostedRunnerForOrg:["DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getHostedRunnerForOrg:["GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],getHostedRunnersGithubOwnedImagesForOrg:["GET /orgs/{org}/actions/hosted-runnershttps://www.microsoft.com/images/github-owned"],getHostedRunnersLimitsForOrg:["GET /orgs/{org}/actions/hosted-runners/limits"],getHostedRunnersMachineSpecsForOrg:["GET /orgs/{org}/actions/hosted-runners/machine-sizes"],getHostedRunnersPartnerImagesForOrg:["GET /orgs/{org}/actions/hosted-runnershttps://www.microsoft.com/images/partner"],getHostedRunnersPlatformsForOrg:["GET /orgs/{org}/actions/hosted-runners/platforms"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listGithubHostedRunnersInGroupForOrg:["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"],listHostedRunnersForOrg:["GET /orgs/{org}/actions/hosted-runners"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateHostedRunnerForOrg:["PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubBillingUsageReportOrg:["GET /organizations/{org}/settings/billing/usage"],getGithubBillingUsageReportUser:["GET /users/{username}/settings/billing/usage"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},campaigns:{createCampaign:["POST /orgs/{org}/campaigns"],deleteCampaign:["DELETE /orgs/{org}/campaigns/{campaign_number}"],getCampaignSummary:["GET /orgs/{org}/campaigns/{campaign_number}"],listOrgCampaigns:["GET /orgs/{org}/campaigns"],updateCampaign:["PATCH /orgs/{org}/campaigns/{campaign_number}"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{commitAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"],createAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],createVariantAnalysis:["POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"],deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],deleteCodeqlDatabase:["DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getAutofix:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],getVariantAnalysis:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"],getVariantAnalysisRepoTask:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codeSecurity:{attachConfiguration:["POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"],attachEnterpriseConfiguration:["POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"],createConfiguration:["POST /orgs/{org}/code-security/configurations"],createConfigurationForEnterprise:["POST /enterprises/{enterprise}/code-security/configurations"],deleteConfiguration:["DELETE /orgs/{org}/code-security/configurations/{configuration_id}"],deleteConfigurationForEnterprise:["DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],detachConfiguration:["DELETE /orgs/{org}/code-security/configurations/detach"],getConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}"],getConfigurationForRepository:["GET /repos/{owner}/{repo}/code-security-configuration"],getConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations"],getConfigurationsForOrg:["GET /orgs/{org}/code-security/configurations"],getDefaultConfigurations:["GET /orgs/{org}/code-security/configurations/defaults"],getDefaultConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/defaults"],getRepositoriesForConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"],getRepositoriesForEnterpriseConfiguration:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"],getSingleConfigurationForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],setConfigurationAsDefault:["PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"],setConfigurationAsDefaultForEnterprise:["PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"],updateConfiguration:["PATCH /orgs/{org}/code-security/configurations/{configuration_id}"],updateEnterpriseConfiguration:["PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],copilotMetricsForOrganization:["GET /orgs/{org}/copilot/metrics"],copilotMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},credentials:{revoke:["POST /credentials/revoke"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],repositoryAccessForOrg:["GET /organizations/{org}/dependabot/repository-access"],setRepositoryAccessDefaultLevel:["PUT /organizations/{org}/dependabot/repository-access/default-level"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],updateRepositoryAccessForOrg:["PATCH /organizations/{org}/dependabot/repository-access"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},hostedCompute:{createNetworkConfigurationForOrg:["POST /orgs/{org}/settings/network-configurations"],deleteNetworkConfigurationFromOrg:["DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkConfigurationForOrg:["GET /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkSettingsForOrg:["GET /orgs/{org}/settings/network-settings/{network_settings_id}"],listNetworkConfigurationsForOrg:["GET /orgs/{org}/settings/network-configurations"],updateNetworkConfigurationForOrg:["PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addBlockedByDependency:["POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],addSubIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],getParent:["GET /repos/{owner}/{repo}/issues/{issue_number}/parent"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listDependenciesBlockedBy:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],listDependenciesBlocking:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],listSubIssues:["GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeDependencyBlockedBy:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],removeSubIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"],reprioritizeSubIssue:["PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"}],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createArtifactStorageRecord:["POST /orgs/{org}/artifacts/metadata/storage-record"],createInvitation:["POST /orgs/{org}/invitations"],createIssueType:["POST /orgs/{org}/issue-types"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteAttestationsBulk:["POST /orgs/{org}/attestations/delete-request"],deleteAttestationsById:["DELETE /orgs/{org}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /orgs/{org}/attestations/digest/{subject_digest}"],deleteIssueType:["DELETE /orgs/{org}/issue-types/{issue_type_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getOrgRulesetHistory:["GET /orgs/{org}/rulesets/{ruleset_id}/history"],getOrgRulesetVersion:["GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listArtifactStorageRecords:["GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records"],listAttestations:["GET /orgs/{org}/attestations/{subject_digest}"],listAttestationsBulk:["POST /orgs/{org}/attestations/bulk-list{?per_page,before,after}"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listIssueTypes:["GET /orgs/{org}/issue-types"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers",{},{deprecated:"octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"}],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}",{},{deprecated:"octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"}],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateIssueType:["PUT /orgs/{org}/issue-types/{issue_type_id}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},privateRegistries:{createOrgPrivateRegistry:["POST /orgs/{org}/private-registries"],deleteOrgPrivateRegistry:["DELETE /orgs/{org}/private-registries/{secret_name}"],getOrgPrivateRegistry:["GET /orgs/{org}/private-registries/{secret_name}"],getOrgPublicKey:["GET /orgs/{org}/private-registries/public-key"],listOrgPrivateRegistries:["GET /orgs/{org}/private-registries"],updateOrgPrivateRegistry:["PATCH /orgs/{org}/private-registries/{secret_name}"]},projects:{addItemForOrg:["POST /orgs/{org}/projectsV2/{project_number}/items"],addItemForUser:["POST /users/{user_id}/projectsV2/{project_number}/items"],deleteItemForOrg:["DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],deleteItemForUser:["DELETE /users/{user_id}/projectsV2/{project_number}/items/{item_id}"],getFieldForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id}"],getFieldForUser:["GET /users/{user_id}/projectsV2/{project_number}/fields/{field_id}"],getForOrg:["GET /orgs/{org}/projectsV2/{project_number}"],getForUser:["GET /users/{user_id}/projectsV2/{project_number}"],getOrgItem:["GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],getUserItem:["GET /users/{user_id}/projectsV2/{project_number}/items/{item_id}"],listFieldsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields"],listFieldsForUser:["GET /users/{user_id}/projectsV2/{project_number}/fields"],listForOrg:["GET /orgs/{org}/projectsV2"],listForUser:["GET /users/{username}/projectsV2"],listItemsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/items"],listItemsForUser:["GET /users/{user_id}/projectsV2/{project_number}/items"],updateItemForOrg:["PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],updateItemForUser:["PATCH /users/{user_id}/projectsV2/{project_number}/items/{item_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAttestation:["POST /repos/{owner}/{repo}/attestations"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesetHistory:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"],getRepoRulesetVersion:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAttestations:["GET /repos/{owner}/{repo}/attestations/{subject_digest}"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues",{},{deprecated:"octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests"}],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{createPushProtectionBypass:["POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"],getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],getScanHistory:["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],listOrgPatternConfigs:["GET /orgs/{org}/secret-scanning/pattern-configurations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],updateOrgPatternConfigs:["PATCH /orgs/{org}/secret-scanning/pattern-configurations"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteAttestationsBulk:["POST /users/{username}/attestations/delete-request"],deleteAttestationsById:["DELETE /users/{username}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /users/{username}/attestations/digest/{subject_digest}"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getById:["GET /user/{account_id}"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listAttestations:["GET /users/{username}/attestations/{subject_digest}"],listAttestationsBulk:["POST /users/{username}/attestations/bulk-list{?per_page,before,after}"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}},dve=yUe;var Ng=new Map;for(let[e,t]of Object.entries(dve))for(let[o,n]of Object.entries(t)){let[i,r,s]=n,[a,l]=i.split(/ /),c=Object.assign({method:a,url:l},r);Ng.has(e)||Ng.set(e,new Map),Ng.get(e).set(o,{scope:e,methodName:o,endpointDefaults:c,decorations:s})}var xUe={has({scope:e},t){return Ng.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:!0,writable:!0,enumerable:!0}},defineProperty(e,t,o){return Object.defineProperty(e.cache,t,o),!0},deleteProperty(e,t){return delete e.cache[t],!0},ownKeys({scope:e}){return[...Ng.get(e).keys()]},set(e,t,o){return e.cache[t]=o},get({octokit:e,scope:t,cache:o},n){if(o[n])return o[n];let i=Ng.get(t).get(n);if(!i)return;let{endpointDefaults:r,decorations:s}=i;return s?o[n]=TUe(e,t,n,r,s):o[n]=e.request.defaults(r),o[n]}};function u4(e){let t={};for(let o of Ng.keys())t[o]=new Proxy({octokit:e,scope:o,cache:{}},xUe);return t}function TUe(e,t,o,n,i){let r=e.request.defaults(n);function s(...a){let l=r.endpoint.merge(...a);if(i.mapToData)return l=Object.assign({},l,{data:l[i.mapToData],[i.mapToData]:void 0}),r(l);if(i.renamed){let[c,u]=i.renamed;e.log.warn(`octokit.${t}.${o}() has been renamed to octokit.${c}.${u}()`)}if(i.deprecated&&e.log.warn(i.deprecated),i.renamedParameters){let c=r.endpoint.merge(...a);for(let[u,p]of Object.entries(i.renamedParameters))u in c&&(e.log.warn(`"${u}" parameter is deprecated for "octokit.${t}.${o}()". Use "${p}" instead`),p in c||(c[p]=c[u]),delete c[u]);return r(c)}return r(...a)}return Object.assign(s,r)}function SUe(e){return{rest:u4(e)}}SUe.VERSION=c4;function d4(e){let t=u4(e);return{...t,rest:t}}d4.VERSION=c4;var pve="22.0.0";var mve=K_.plugin(s4,d4,l4).defaults({userAgent:`octokit-rest.js/${pve}`});var uu=function(){if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global;if(typeof self<"u")return self;if(typeof window<"u")return window;try{return new Function("return this")()}catch{return{}}}();uu.trustedTypes===void 0&&(uu.trustedTypes={createPolicy:(e,t)=>t});var gve={configurable:!1,enumerable:!1,writable:!1};uu.FAST===void 0&&Reflect.defineProperty(uu,"FAST",Object.assign({value:Object.create(null)},gve));var Fg=uu.FAST;if(Fg.getById===void 0){let e=Object.create(null);Reflect.defineProperty(Fg,"getById",Object.assign({value(t,o){let n=e[t];return n===void 0&&(n=o?e[t]=o():null),n}},gve))}var FR=Object.freeze([]);function qR(){let e=new WeakMap;return function(t){let o=e.get(t);if(o===void 0){let n=Reflect.getPrototypeOf(t);for(;o===void 0&&n!==null;)o=e.get(n),n=Reflect.getPrototypeOf(n);o=o===void 0?[]:o.slice(0),e.set(t,o)}return o}}var p4=uu.FAST.getById(1,()=>{let e=[],t=[];function o(){if(t.length)throw t.shift()}function n(s){try{s.call()}catch(a){t.push(a),setTimeout(o,0)}}function i(){let a=0;for(;a1024){for(let l=0,c=e.length-a;le}),m4=fve,JS=`fast-${Math.random().toString(36).substring(2,8)}`,g4=`${JS}{`,UR=`}${JS}`,Et=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(m4!==fve)throw new Error("The HTML policy can only be set once.");m4=e},createHTML(e){return m4.createHTML(e)},isMarker(e){return e&&e.nodeType===8&&e.data.startsWith(JS)},extractDirectiveIndexFromMarker(e){return parseInt(e.data.replace(`${JS}:`,""))},createInterpolationPlaceholder(e){return`${g4}${e}${UR}`},createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder(e){return``},queueUpdate:p4.enqueue,processUpdates:p4.process,nextUpdate(){return new Promise(p4.enqueue)},setAttribute(e,t,o){o==null?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)},removeChildNodes(e){for(let t=e.firstChild;t!==null;t=e.firstChild)e.removeChild(t)},createTemplateWalker(e){return document.createTreeWalker(e,133,null,!1)}});var lp=class{constructor(t,o){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=t,this.sub1=o}has(t){return this.spillover===void 0?this.sub1===t||this.sub2===t:this.spillover.indexOf(t)!==-1}subscribe(t){let o=this.spillover;if(o===void 0){if(this.has(t))return;if(this.sub1===void 0){this.sub1=t;return}if(this.sub2===void 0){this.sub2=t;return}this.spillover=[this.sub1,this.sub2,t],this.sub1=void 0,this.sub2=void 0}else o.indexOf(t)===-1&&o.push(t)}unsubscribe(t){let o=this.spillover;if(o===void 0)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0);else{let n=o.indexOf(t);n!==-1&&o.splice(n,1)}}notify(t){let o=this.spillover,n=this.source;if(o===void 0){let i=this.sub1,r=this.sub2;i!==void 0&&i.handleChange(n,t),r!==void 0&&r.handleChange(n,t)}else for(let i=0,r=o.length;i{let e=/(:|&&|\|\||if)/,t=new WeakMap,o=Et.queueUpdate,n,i=c=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function r(c){let u=c.$fastController||t.get(c);return u===void 0&&(Array.isArray(c)?u=i(c):t.set(c,u=new J_(c))),u}let s=qR();class a{constructor(u){this.name=u,this.field=`_${u}`,this.callback=`${u}Changed`}getValue(u){return n!==void 0&&n.watch(u,this.name),u[this.field]}setValue(u,p){let m=this.field,g=u[m];if(g!==p){u[m]=p;let f=u[this.callback];typeof f=="function"&&f.call(u,g,p),r(u).notify(this.name)}}}class l extends lp{constructor(u,p,m=!1){super(u,p),this.binding=u,this.isVolatileBinding=m,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(u,p){this.needsRefresh&&this.last!==null&&this.disconnect();let m=n;n=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let g=this.binding(u,p);return n=m,g}disconnect(){if(this.last!==null){let u=this.first;for(;u!==void 0;)u.notifier.unsubscribe(this,u.propertyName),u=u.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(u,p){let m=this.last,g=r(u),f=m===null?this.first:{};if(f.propertySource=u,f.propertyName=p,f.notifier=g,g.subscribe(this,p),m!==null){if(!this.needsRefresh){let _;n=void 0,_=m.propertySource[m.propertyName],n=this,u===_&&(this.needsRefresh=!0)}m.next=f}this.last=f}handleChange(){this.needsQueue&&(this.needsQueue=!1,o(this))}call(){this.last!==null&&(this.needsQueue=!0,this.notify(this))}records(){let u=this.first;return{next:()=>{let p=u;return p===void 0?{value:void 0,done:!0}:(u=u.next,{value:p,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(c){i=c},getNotifier:r,track(c,u){n!==void 0&&n.watch(c,u)},trackVolatile(){n!==void 0&&(n.needsRefresh=!0)},notify(c,u){r(c).notify(u)},defineProperty(c,u){typeof u=="string"&&(u=new a(u)),s(c).push(u),Reflect.defineProperty(c,u.name,{enumerable:!0,get:function(){return u.getValue(this)},set:function(p){u.setValue(this,p)}})},getAccessors:s,binding(c,u,p=this.isVolatileBinding(c)){return new l(c,u,p)},isVolatileBinding(c){return e.test(c.toString())}})});function V(e,t){to.defineProperty(e,t)}var hve=Fg.getById(3,()=>{let e=null;return{get(){return e},set(t){e=t}}}),cp=class{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return hve.get()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}static setEvent(t){hve.set(t)}};to.defineProperty(cp.prototype,"index");to.defineProperty(cp.prototype,"length");var Xr=Object.seal(new cp);var Gl=class{constructor(){this.targetIndex=0}},Z_=class extends Gl{constructor(){super(...arguments),this.createPlaceholder=Et.createInterpolationPlaceholder}},OR=class extends Gl{constructor(t,o,n){super(),this.name=t,this.behavior=o,this.options=n}createPlaceholder(t){return Et.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}};function wUe(e,t){this.source=e,this.context=t,this.bindingObserver===null&&(this.bindingObserver=to.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function CUe(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function EUe(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function AUe(){this.bindingObserver.disconnect(),this.source=null,this.context=null;let e=this.target.$fastView;e!==void 0&&e.isComposed&&(e.unbind(),e.needsBindOnly=!0)}function kUe(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function IUe(e){Et.setAttribute(this.target,this.targetName,e)}function LUe(e){Et.setBooleanAttribute(this.target,this.targetName,e)}function PUe(e){if(e==null&&(e=""),e.create){this.target.textContent="";let t=this.target.$fastView;t===void 0?t=e.create():this.target.$fastTemplate!==e&&(t.isComposed&&(t.remove(),t.unbind()),t=e.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(this.source,this.context)):(t.isComposed=!0,t.bind(this.source,this.context),t.insertBefore(this.target),this.target.$fastView=t,this.target.$fastTemplate=e)}else{let t=this.target.$fastView;t!==void 0&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),this.target.textContent=e}}function RUe(e){this.target[this.targetName]=e}function MUe(e){let t=this.classVersions||Object.create(null),o=this.target,n=this.version||0;if(e!=null&&e.length){let i=e.split(/\s+/);for(let r=0,s=i.length;rEt.createHTML(o(n,i))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=LUe;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=CUe,this.unbind=kUe;break;default:this.cleanedTargetName=t,t==="class"&&(this.updateTarget=MUe);break}}targetAtContent(){this.updateTarget=PUe,this.unbind=AUe}createBehavior(t){return new f4(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}},f4=class{constructor(t,o,n,i,r,s,a){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=o,this.isBindingVolatile=n,this.bind=i,this.unbind=r,this.updateTarget=s,this.targetName=a}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){cp.setEvent(t);let o=this.binding(this.source,this.context);cp.setEvent(null),o!==!0&&t.preventDefault()}};var h4=null,b4=class e{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){h4=this}static borrow(t){let o=h4||new e;return o.directives=t,o.reset(),h4=null,o}};function DUe(e){if(e.length===1)return e[0];let t,o=e.length,n=e.map(s=>typeof s=="string"?()=>s:(t=s.targetName||t,s.binding)),i=(s,a)=>{let l="";for(let c=0;ca),c.targetName=s.name):c=DUe(l),c!==null&&(t.removeAttributeNode(s),i--,r--,e.addFactory(c))}}function zUe(e,t,o){let n=_ve(e,t.textContent);if(n!==null){let i=t;for(let r=0,s=n.length;r0}let o=this.fragment.cloneNode(!0),n=this.viewBehaviorFactories,i=new Array(this.behaviorCount),r=Et.createTemplateWalker(o),s=0,a=this.targetOffset,l=r.nextNode();for(let c=n.length;s=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function W(e,...t){let o=[],n="";for(let i=0,r=e.length-1;il}if(typeof a=="function"&&(a=new qg(a)),a instanceof Z_){let l=NUe.exec(s);l!==null&&(a.targetName=l[2])}a instanceof Gl?(n+=a.createPlaceholder(o.length),o.push(a)):n+=a}return n+=e[e.length-1],new HR(n,o)}var Tr=class{constructor(){this.targets=new WeakSet}addStylesTo(t){this.targets.add(t)}removeStylesFrom(t){this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=this.behaviors===null?t:this.behaviors.concat(t),this}};Tr.create=(()=>{if(Et.supportsAdoptedStyleSheets){let e=new Map;return t=>new v4(t,e)}return e=>new y4(e)})();function x4(e){return e.map(t=>t instanceof Tr?x4(t.styles):[t]).reduce((t,o)=>t.concat(o),[])}function yve(e){return e.map(t=>t instanceof Tr?t.behaviors:null).reduce((t,o)=>o===null?t:(t===null&&(t=[]),t.concat(o)),null)}var xve=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},Tve=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(o=>t.indexOf(o)===-1)};if(Et.supportsAdoptedStyleSheets)try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),xve=(e,t)=>{e.adoptedStyleSheets.push(...t)},Tve=(e,t)=>{for(let o of t){let n=e.adoptedStyleSheets.indexOf(o);n!==-1&&e.adoptedStyleSheets.splice(n,1)}}}catch{}var v4=class extends Tr{constructor(t,o){super(),this.styles=t,this.styleSheetCache=o,this._styleSheets=void 0,this.behaviors=yve(t)}get styleSheets(){if(this._styleSheets===void 0){let t=this.styles,o=this.styleSheetCache;this._styleSheets=x4(t).map(n=>{if(n instanceof CSSStyleSheet)return n;let i=o.get(n);return i===void 0&&(i=new CSSStyleSheet,i.replaceSync(n),o.set(n,i)),i})}return this._styleSheets}addStylesTo(t){xve(t,this.styleSheets),super.addStylesTo(t)}removeStylesFrom(t){Tve(t,this.styleSheets),super.removeStylesFrom(t)}},FUe=0;function qUe(){return`fast-style-class-${++FUe}`}var y4=class extends Tr{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=yve(t),this.styleSheets=x4(t),this.styleClass=qUe()}addStylesTo(t){let o=this.styleSheets,n=this.styleClass;t=this.normalizeTarget(t);for(let i=0;i{n.add(t);let i=t[this.fieldName];switch(o){case"reflect":let r=this.converter;Et.setAttribute(t,this.attribute,r!==void 0?r.toView(i):i);break;case"boolean":Et.setBooleanAttribute(t,this.attribute,i);break}n.delete(t)})}static collect(t,...o){let n=[];o.push(Sve.locate(t));for(let i=0,r=o.length;i1&&(o.property=r),Sve.locate(i.constructor).push(o)}if(arguments.length>1){o={},n(e,t);return}return o=e===void 0?{}:e,n}var wve={mode:"open"},Cve={},T4=Fg.getById(4,()=>{let e=new Map;return Object.freeze({register(t){return e.has(t.type)?!1:(e.set(t.type,t),!0)},getByType(t){return e.get(t)}})}),Ug=class{constructor(t,o=t.definition){typeof o=="string"&&(o={name:o}),this.type=t,this.name=o.name,this.template=o.template;let n=BR.collect(t,o.attributes),i=new Array(n.length),r={},s={};for(let a=0,l=n.length;a0){let r=this.boundObservables=Object.create(null);for(let s=0,a=i.length;s0||o>0;){if(t===0){i.push(C4),o--;continue}if(o===0){i.push(E4),t--;continue}let r=e[t-1][o-1],s=e[t-1][o],a=e[t][o-1],l;s=0){e.splice(a,1),a--,s-=l.addedCount-l.removed.length,i.addedCount+=l.addedCount-c;let u=i.removed.length+l.removed.length-c;if(!i.addedCount&&!u)r=!0;else{let p=l.removed;if(i.indexl.index+l.addedCount){let m=i.removed.slice(l.index+l.addedCount-i.index);Ive.apply(p,m)}i.removed=p,l.indexn?o=n-e.addedCount:o<0&&(o=n+e.removed.length+o-e.addedCount),o<0&&(o=0),e.index=o,e}var I4=class extends lp{constructor(t){super(t),this.oldCollection=void 0,this.splices=void 0,this.needsQueue=!0,this.call=this.flush,Reflect.defineProperty(t,"$fastController",{value:this,enumerable:!1})}subscribe(t){this.flush(),super.subscribe(t)}addSplice(t){this.splices===void 0?this.splices=[t]:this.splices.push(t),this.needsQueue&&(this.needsQueue=!1,Et.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,Et.queueUpdate(this))}flush(){let t=this.splices,o=this.oldCollection;if(t===void 0&&o===void 0)return;this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0;let n=o===void 0?Rve(this.source,t):A4(this.source,0,this.source.length,o,0,o.length);this.notify(n)}};function Dve(){if(Mve)return;Mve=!0,to.setArrayObserverFactory(l=>new I4(l));let e=Array.prototype;if(e.$fastPatch)return;Reflect.defineProperty(e,"$fastPatch",{value:1,enumerable:!1});let t=e.pop,o=e.push,n=e.reverse,i=e.shift,r=e.sort,s=e.splice,a=e.unshift;e.pop=function(){let l=this.length>0,c=t.apply(this,arguments),u=this.$fastController;return u!==void 0&&l&&u.addSplice(Vs(this.length,[c],0)),c},e.push=function(){let l=o.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(k4(Vs(this.length-arguments.length,[],arguments.length),this)),l},e.reverse=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let u=n.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.shift=function(){let l=this.length>0,c=i.apply(this,arguments),u=this.$fastController;return u!==void 0&&l&&u.addSplice(Vs(0,[c],0)),c},e.sort=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let u=r.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.splice=function(){let l=s.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(k4(Vs(+arguments[0],l,arguments.length>2?arguments.length-2:0),this)),l},e.unshift=function(){let l=a.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(k4(Vs(0,[],arguments.length),this)),l}}var L4=class{constructor(t,o){this.target=t,this.propertyName=o}bind(t){t[this.propertyName]=this.target}unbind(){}};function Og(e){return new OR("fast-ref",L4,e)}var P4=e=>typeof e=="function";var KUe=()=>null;function $ve(e){return e===void 0?KUe:P4(e)?e:()=>e}function Ie(e,t,o){let n=P4(e)?e:()=>e,i=$ve(t),r=$ve(o);return(s,a)=>n(s,a)?i(s,a):r(s,a)}var zve=Object.freeze({positioning:!1,recycle:!0});function JUe(e,t,o,n){e.bind(t[o],n)}function ZUe(e,t,o,n){let i=Object.create(n);i.index=o,i.length=t.length,e.bind(t[o],i)}var R4=class{constructor(t,o,n,i,r,s){this.location=t,this.itemsBinding=o,this.templateBinding=i,this.options=s,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=JUe,this.itemsBindingObserver=to.binding(o,this,n),this.templateBindingObserver=to.binding(i,this,r),s.positioning&&(this.bindView=ZUe)}bind(t,o){this.source=t,this.originalContext=o,this.childContext=Object.create(o),this.childContext.parent=t,this.childContext.parentContext=this.originalContext,this.items=this.itemsBindingObserver.observe(t,this.originalContext),this.template=this.templateBindingObserver.observe(t,this.originalContext),this.observeItems(!0),this.refreshAllViews()}unbind(){this.source=null,this.items=null,this.itemsObserver!==null&&this.itemsObserver.unsubscribe(this),this.unbindAllViews(),this.itemsBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(t,o){t===this.itemsBinding?(this.items=this.itemsBindingObserver.observe(this.source,this.originalContext),this.observeItems(),this.refreshAllViews()):t===this.templateBinding?(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshAllViews(!0)):this.updateViews(o)}observeItems(t=!1){if(!this.items){this.items=FR;return}let o=this.itemsObserver,n=this.itemsObserver=to.getNotifier(this.items),i=o!==n;i&&o!==null&&o.unsubscribe(this),(i||t)&&n.subscribe(this)}updateViews(t){let o=this.childContext,n=this.views,i=this.bindView,r=this.items,s=this.template,a=this.options.recycle,l=[],c=0,u=0;for(let p=0,m=t.length;p0?(_<=T&&v.length>0?(H=v[_],_++):(H=l[c],c++),u--):H=s.create(),n.splice(h,0,H),i(H,r,h,o),H.insertBefore(C)}v[_]&&l.push(...v.slice(_))}for(let p=c,m=l.length;pt;return new M4(e,n,Object.assign(Object.assign({},zve),o))}var XUe=w4` .modal-background { bottom: 0; left: 0; position: fixed; right: 0; top: 0; z-index: 1040; } .modal-background + div:not(.modal-content) { width: auto; height: auto; } .modal-card { top: 30%; max-width: 650px; z-index: 10001; margin: 0 auto; } .buttons-center { justify-content: center; } `;function Nve(e,t,o,n){let i=["default-focus","button","font-weight-semibold","modal-close"],r=typeof t=="function"?t(e):t;r.classes&&i.push("button-filled");let s=new Set([...r.classes??[],...i]);if(r.url)return W` ${r.label} `;let a=r.object?`${r.action} - ${r.object}`:`${r.action}`;return W` `}function eOe({message:e,title:t,confirmButton:o,cancelButton:n,align:i}){let r=s=>({action:ze,label:ze,...typeof n=="function"?n(s):n});return W` ${Ie(s=>s.visible,W``)} `}var QR=class extends kve{constructor(){super(...arguments);this.visible=!1}connectedCallback(){super.connectedCallback()}confirm(){this.visible=!1,this.$emit("confirm"),this.showVerticalScrollbar()}cancel(){this.visible=!1,this.$emit("cancel"),this.showVerticalScrollbar()}close(){this.visible=!1,this.$emit("close"),this.showVerticalScrollbar()}setFocus(){Et.queueUpdate(()=>{let o=document.getElementsByClassName("default-focus")[0];o&&o.focus();let n=".modal-close, .modal-card .button",i=document.querySelector(".modal-card");if(!i)return;let r=i.querySelectorAll(n),s=r[0],a=r[r.length-1];document.addEventListener("keydown",l=>{(l.key==="Tab"||l.keyCode===9)&&(l.shiftKey?(document.activeElement===s||r.length===1)&&(a.focus(),l.preventDefault()):(document.activeElement===a||r.length===1)&&(s.focus(),l.preventDefault()))})})}hideVerticalScrollbar(){document.getElementsByTagName("html")[0].style.overflowY="hidden"}showVerticalScrollbar(){document.getElementsByTagName("html")[0].removeAttribute("style")}};q([V],QR.prototype,"visible",2);var jR=class extends QR{showModal(t,o,n){this.visible=!0,this.hideVerticalScrollbar(),this.confirmCallback=t,this.cancelCallback=o,this.closeCallback=n,this.setFocus()}confirm(){super.confirm(),this.confirmCallback&&this.confirmCallback()}cancel(){super.cancel(),this.cancelCallback&&this.cancelCallback()}close(){super.close(),this.closeCallback&&this.closeCallback()}};function Fve(e,t,o){return jR.define(class extends jR{},{name:e,template:eOe(o),styles:XUe,shadowOptions:null,attributes:t??[]})}var D4=0;function YR(e,t){if(typeof e!="string"){let i=e;e="";for(let r in i)e+=i[r]+"
    "}let o=document.getElementById("error-modal");o&&document.body.removeChild(o),Fve(`error-modal-${D4}`,[],{message:W`

    ${e}

    `,title:"",confirmButton:t,align:"center"});let n=document.createElement(`error-modal-${D4}`);n.id="error-modal",document.body.appendChild(n),n.showModal(),D4++}function WR(...e){let t=a=>[...a].join("/"),o=(a,...l)=>{let c=new URLSearchParams;for(let u of l)a.searchParams.has(u)&&c.set(u,a.searchParams.get(u)??"");return c},n=new URL(location.href),i=o(n,"branch","themebranch","branchFallbackFrom","pr"),r=i.toString()!==""?"?"+i.toString():"",s=`/${b.data.userLocale}/editor/`+t(e)+r;return new URL(s,n)}function qve(e){e||(e=WR());let t="";return R.supportLevel==="development"&&R.accessLevel==="online"&&location.hostname.startsWith("pr")?t="630f400e5ecc44019564":R.supportLevel==="development"&&R.accessLevel==="online"?t="3e1dd7a2769cc245c17d":t="7f9273caa02d97194b28",`${N.githubOAuth}?client_id=${t}&scope=repo%20read:org%20workflow&redirect_uri=${encodeURIComponent(e.href)}`}var tOe=mve.plugin(J3,MR),oOe={onRateLimit:(e,t)=>{if(t.request.retryCount<=3)return!0;throw new Error("Rate limit exceeded. Retries failed. Please try again later.")},onAbuseLimit:(e,t)=>{throw new Error(`Abuse detected for request ${t.method} ${t.url}`)},onSecondaryRateLimit:(e,t)=>{if(t.request.retryCount<=3)return!0;throw new Error("Secondary Rate limit exceeded. Retries failed. Please try again later.")}},nOe={doNotRetry:[429,409,404]};function $4(){let e=localStorage.getItem("gitHubToken");return e?JSON.parse(e):null}var iOe=()=>{localStorage.removeItem("gitHubToken"),location.href=qve()};async function z4(e){let t=new tOe({auth:e,retry:nOe,throttle:oOe});try{return(await t.users.getAuthenticated({headers:{"If-None-Match":""}})).data.login}catch(o){throw YR({message:rV},{label:cV,action:"",object:"",classes:["button-primary renew-github-token"]}),document.addEventListener("confirm",i=>iOe()),rOe({message:o.toString(),function:"getAuthenticatedUser"}),o}}async function Uve(){let e={method:"GET"},t=await M(K(`${N.buildAuthAdmin}/opensource/link/github`,e,!0));return fe(t),t.ok?await t.json():null}var KR=`pageInfo { endCursor hasNextPage hasPreviousPage startCursor }`,N4=`items: nodes { ... on PullRequest { id number title base: baseRef { name prefix repository { name nameWithOwner owner { login } } } changedFiles closed closedAt createdAt files(first: 100) { items: nodes { path } ${KR} totalCount } head: headRef { name prefix repository { name nameWithOwner owner { login } } } isDraft merged mergedAt repository { name nameWithOwner owner { login } } state updatedAt url } }`,F4=`rateLimit { cost limit nodeCount remaining resetAt used }`,Bzt=`query Drafts ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${N4} ${KR} } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${F4} }`,Vzt=`query InReview ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE) { totalCount: issueCount } inReview: search(query: $inReviewQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount, ${N4} ${KR} } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${F4} }`,Gzt=`query Closed ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE) { totalCount: issueCount } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${N4} ${KR} } ${F4} }`;function rOe(e){xe({actionType:we.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",...e}})}He();Qp();var sOe=/https:\/\/github.com\/(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*\.[a-zA-Z]+)([?])?/;function Ove(e,t=sOe){let o="",n="",i="",r="";try{let s=t.exec(e);s&&s.length>1&&(o=s[1]??""),s&&s.length>2&&(n=s[2]??""),s&&s.length>3&&(r=s[4]??""),s&&s.length>4&&(i=s[5]??"")}catch(s){YR(iV),xe({actionType:we.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",message:s}})}return{owner:o,repo:n,path:i,branch:r}}async function q4(e){let t=await M(e,{credentials:"include",redirect:"follow"});if(!t.ok)throw new Error(`Unexpected response status ${t.status} for ${e}`);let o=await t.text(),i=new DOMParser().parseFromString(o,"text/html");return{url:new URL(t.url||e,location.origin),document:i}}function JR(e){return Array.from(e?.querySelectorAll("meta")??[]).reduce((t,o)=>{let n=(o.name||o?.getAttribute("property"))??"";return t[n]=o.content,t},{})}var U4={template:"",forkUrl:"",branch:"",path:"",repo:"",owner:"",originalContent:""};function Hve(e){let t="",o="",n="",i="",r="",a=JR(e)?.original_content_git_url??"";({branch:i,path:r,repo:n,owner:o}=Ove(a)),U4={template:"",forkUrl:"",branch:i,path:r,repo:n,owner:o,originalContent:a};let l=e.querySelector("a[data-contenteditbtn]");if(l){let c=l?.getAttribute("data-original_content_git_url_template")??"";if(c){let u=l?.getAttribute("data-pr_repo")??"",p=l?.getAttribute("data-pr_branch")??"";u&&p&&(t=c.replace("{repo}",u).replace("{branch}",p),[o,n]=(l?.getAttribute("data-pr_repo")??"")?.split("github.com/")?.pop()?.split("/")??["",""]);let m=c?.split("{branch}/")?.pop()??"";(l?.getAttribute("data-pr_branch")??"")&&(i=l?.getAttribute("data-pr_branch")??""),U4={template:c,forkUrl:t,branch:i,path:m,repo:n,owner:o,originalContent:a}}}return U4}function Bve(e,t,o,n){return d` `}function Vve(e,t){let o=aV,n=lV,i="",r=t.getAttribute("href")||"";switch(t.removeAttribute("href"),e){case 0:o=o.replace("{name}",Fp),n=n.replace("{name}",Fp).replace("{href}","https://learn.microsoft.com/en-us/contribute/");break;case 1:o=o.replace("{name}",Fp),n=n.replace("{name}",Fp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn");break;case 2:o=o.replace("{name}",Fp),n=n.replace("{name}",Fp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),i=sV;break;case 3:o=o.replace("{name}",k0),n=n.replace("{name}",k0).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),r=aOe().toString();break}return{title:o,description:n,link:r,moreInfo:i}}function aOe(){let e=JR(document),t=e.platform_id||"",o=e.monikers??"",{owner:n,repo:i,branch:r,path:s}=Hve(document);return WR(`${n}/${i}/${encodeURIComponent(s)}/${encodeURIComponent(r)}${t?`/${t}/${o??""}`:""}`)}He();var Hg=class e extends Error{constructor(t,o,{errorCode:n,message:i},...r){super(...r),Object.setPrototypeOf(this,e.prototype),this.type=t,this.name=this.constructor.name,this.status=o,this.errorCode=n,this.message=i,this.detail={assessmentId:null,certificationUid:null,snapshotId:null}}};function ZS(){let e="false";if(["AppliedSkills","AppliedSkillsAssessment","AppliedSkillsAssessmentReport"].find(t=>t===b.data.pageTemplate))return te()["skip-verification"];if(w.stayCurrentAllowParam||w.practiceAssessmentsAllowParam){let t=te()["skip-verification"];t===void 0||t.length&&t.toLowerCase()==="false"?e="false":e="true"}return e}function XS(){let e="live";if(w.stayCurrentAllowParam||w.practiceAssessmentsAllowParam){let t=te()["snapshot-version"];t!==void 0&&t.toLowerCase()==="live"?e="live":e="preview"}return e}function Gve(){let e="false";if(w.stayCurrentAllowParam||w.practiceAssessmentsAllowParam){let t=te()["show-all-questions"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function Qve(){let{accommodationRequested:e}=te();if(w.stayCurrentAllowParam){let t=te()["accommodation-requested"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function jve(){let e=!1;if(w.stayCurrentAllowParam||w.practiceAssessmentsAllowParam){let t=te()["omit-scoring"];t!==void 0&&t.toLowerCase()==="true"?e=!0:e=!1}return e}function es(e,t){return Math.round(Math.max(0,Math.min(1,e/t))*100)}var O4=class{constructor(t,o,n){let r=lh(t,["id","isCorrect","questionnaireId","text","textHTML"]);this.id=r.id,this.createdAtUTC="0001-01-01T00:00:00",this.isCorrect=r.isCorrect,this.locale=n,this.questionId=o,this.questionnaireId=r.questionnaireId,this.text=r.text,this.textHtml=r.textHTML}},ew=class{constructor(t,o,n){this.choices=HA(t.map(i=>new O4(i,o,n)))}},H4=class{constructor(t,o){let i=lh(t,["activityLog","id","choices","choiceCount","questionnaireId","text","type"]),r=["createdAtUTC"],s=lh(i.activityLog,r);this.id=i.id,this.createdAtUTC=s.createdAtUTC,this.choices=new ew(i.choices,i.id,o).choices,this.choiceCount=i.choiceCount,this.locale=o,this.questionnaireId=i.questionnaireId,this.text=i.text,this.type=i.type,i.rationale&&(this.rationale=i.rationale),i.rationaleHTML&&(this.rationaleHtml=i.rationaleHTML),i.textHTML&&(this.textHtml=i.textHTML)}};var B4=class{constructor(t,o){let i=lh(t,["correctChoice","question","userChoice"]),r=new H4(i.question,o);this.correctChoice=new ew(i.correctChoice,r.id,o).choices,this.question=r,this.userChoice=new ew(i.userChoice,r.id,o).choices}},ZR=class{constructor(t,o){this.items=HA(t.map(n=>new B4(n,o)))}};var S2t=pt(),w2t=b.data.userLocale;function Gs(e){return JSON.parse(JSON.stringify(e))}function XR(e){let t=e&&e.skipVerification,o=e&&t?e.accomodationRequested??!1:!1,n=e&&t&&e.showAllQuestions;return{accomodationRequested:o,activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",createdBy:"user1",updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"user1",publishedAtUTC:"2022-01-01T00:00:00Z",publishedBy:"user1",publishedVersion:1},assessmentId:"1",assessmentType:"Renewal",assessmentVersion:1,branch:"Main",correctPercent:100,docsId:"docs1",endTime:"2022-01-01T00:00:00Z",expirationTime:"2022-01-01T00:00:00Z",id:1765,locale:"en-US",linkedContent:{id:1,assessmentType:"Renewal",activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",createdBy:"user1",publishedAtUTC:"2022-01-01T00:00:00Z",publishedBy:"user1",publishedVersion:1,updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"user1"},linkedContentCertificationExpirationDate:"2022-01-01T00:00:00Z",linkedContentCertificationPartOfStayCurrent:!0,linkedContentEligibleForRecertification:!0,linkedContentIconURL:"https://review.learn.microsoft.com/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",linkedContentId:"exam.ai-102",linkedContentName:"Content1",linkedContentSnapshotRetakeEligibleDate:"2022-01-01T00:00:00Z",linkedContentStudyGuide:{type:"studyguide",items:[{listId:"module",id:"learn.host-a-web-application-with-azure-web-apps",type:"module",data:{docId:"null",docVIId:"null",platformId:"null",pageKind:"module",pageType:"learn",eventUid:"null",rawUrl:"null",title:"Host a web application with Azure App Service",uid:"learn.host-a-web-application-with-azure-web-apps",url:"/training/modules/host-a-web-app-with-azure-app-service/",iconUrl:"/training/achievements/host-a-web-app-with-azure-app-service.svg",durationInMinutes:31,moduleCount:0,products:["azure","azure-app-service","azure-portal"],levels:["beginner"],roles:["developer","solution-architect","student"],childUids:["learn.host-a-web-application-with-azure-web-apps.1-introduction","learn.host-a-web-application-with-azure-web-apps.2-create-a-web-app-in-the-azure-portal","learn.host-a-web-application-with-azure-web-apps.3-exercise-create-a-web-app-in-the-azure-portal","learn.host-a-web-application-with-azure-web-apps.4-exercise-implement-a-web-application","learn.host-a-web-application-with-azure-web-apps.5-deploying-code-to-app-service","learn.host-a-web-application-with-azure-web-apps.6-exercise-deploy-your-code-to-app-service","learn.host-a-web-application-with-azure-web-apps.7-summary","learn.host-a-web-application-with-azure-web-apps.8"],completedChildUids:[],display_products:["Azure","Azure App Service","Azure Portal"],display_levels:["Beginner"],display_roles:["Developer","Solution Architect","Student"],remainingTime:31},lastModified:"0001-01-01T00:00:00+00:00"}],moduleCount:7,completedModuleCount:0,remainingDuration:324,totalDuration:324,totalItems:1},linkedContentTitle:"Content1",linkedContentType:"Exam",linkedContentURL:"http://review.learn.microsoft.com",sequence:1},manualId:"manual1",assessmentName:`${t?"Preview ":""} Session1`,passingPercent:50,questionnaires:[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",updatedAtUTC:"2024-02-01T00:00:00Z",publishedVersion:1},assessmentType:"Self",description:"Questionnaire A Description",groupId:"dc2c0287-a37d-49a0-bd42-9283acac7f61",id:91,locale:"en-us",name:"Optional Questionnaire A Name",questionsToPass:2,questionsToTake:4,questions:[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",choiceCount:3,choices:[{questionId:4916,id:20604,isCorrect:!0,questionnaireId:130,text:"`facetable`",textHTML:"facetable"},{questionId:4916,id:20605,isCorrect:!0,questionnaireId:130,text:"`filterable`",textHTML:"filterable"},{questionId:4916,id:20606,isCorrect:!1,questionnaireId:130,text:"`key`",textHTML:"key"}],id:4916,isRequired:!0,questionnaireId:130,manualId:"manual1",sequence:1,rationale:"`facetable` is typically used in a presentation of search results that includes a hit count by category.\n\n`Filterable` is referenced in `$filter` queries, and `key` is a unique identifier for documents within the index.\n\n[Index overview - Azure Cognitive Search | Microsoft Learn](https://learn.microsoft.com/azure/search/search-what-is-an-index)\n\n[Create an Azure Cognitive Search solution - Training | Microsoft Learn](https://learn.microsoft.com/training/modules/create-azure-cognitive-search-solution/)\n\n",rationaleHTML:`

    facetable is typically used in a presentation of search results that includes a hit count by category.

    Filterable is referenced in $filter queries, and key is a unique identifier for documents within the index.

    Index overview - Azure Cognitive Search | Microsoft Learn

    Create an Azure Cognitive Search solution - Training | Microsoft Learn

    `,text:`You are building a solution that uses Azure AI Search. You need to define the field attributes for a field where the search results will include a hit count by category. Which attribute should you assign to the field? `,textHTML:`

    You are building a solution that uses Azure AI Search.

    You need to define the field attributes for a field where the search results will include a hit count by category.

    Which attribute should you assign to the field?

    `,type:"MultiSelect"},{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",choiceCount:3,choices:[{questionId:4916,id:20610,isCorrect:!0,questionnaireId:12,text:"files (correct)",textHTML:"files (correct)"},{questionId:4916,id:20611,isCorrect:!1,questionnaireId:12,text:"objects",textHTML:"objects"},{questionId:4916,id:20612,isCorrect:!1,questionnaireId:12,text:"tables",textHTML:"tables"}],id:4917,isRequired:!0,questionnaireId:130,rationale:"First question rationale",sequence:1,text:"Second question",type:"SingleSelect"},...n?[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",choiceCount:3,choices:[{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",id:20604,isCorrect:!0,questionnaireId:130,text:"`facetable`",textHTML:"facetable"},{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",id:20605,isCorrect:!0,questionnaireId:130,text:"`filterable`",textHTML:"filterable"},{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",id:20606,isCorrect:!1,questionnaireId:130,text:"`key`",textHTML:"key"}],id:4916,isRequired:!0,questionnaireId:130,manualId:"manual1",sequence:1,rationale:"`facetable` is typically used in a presentation of search results that includes a hit count by category.\n\n`Filterable` is referenced in `$filter` queries, and `key` is a unique identifier for documents within the index.\n\n[Index overview - Azure Cognitive Search | Microsoft Learn](https://learn.microsoft.com/azure/search/search-what-is-an-index)\n\n[Create an Azure Cognitive Search solution - Training | Microsoft Learn](https://learn.microsoft.com/training/modules/create-azure-cognitive-search-solution/)\n\n",rationaleHTML:`

    facetable is typically used in a presentation of search results that includes a hit count by category.

    Filterable is referenced in $filter queries, and key is a unique identifier for documents within the index.

    Index overview - Azure Cognitive Search | Microsoft Learn

    Create an Azure Cognitive Search solution - Training | Microsoft Learn

    `,text:`You are building a solution that uses Azure AI Search. You need to define the field attributes for a field where the search results will include a hit count by category. Which attribute should you assign to the field? `,textHTML:`

    You are building a solution that uses Azure AI Search.

    You need to define the field attributes for a field where the search results will include a hit count by category.

    Which attribute should you assign to the field?

    `,type:"MultiSelect"},{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",choiceCount:3,choices:[{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",id:20610,isCorrect:!0,questionnaireId:12,text:"files (correct)",textHTML:"files (correct)"},{questionId:4916,id:20611,isCorrect:!1,questionnaireId:12,text:"objects",textHTML:"objects"},{questionId:4916,id:20612,isCorrect:!1,questionnaireId:12,text:"tables",textHTML:"tables"}],id:4917,isRequired:!0,questionnaireId:130,rationale:"Fourth question rationale",sequence:1,text:"Fourth question",type:"SingleSelect"}]:[]],questionSets:[{activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2022-01-01T00:00:00Z"},assessmentType:"Renewal",id:1,questionCount:2,questionnaireId:130,questions:[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",choiceCount:3,choices:[{questionId:4916,id:20604,isCorrect:!0,questionnaireId:130,text:"`facetable`",textHTML:"facetable"},{questionId:4916,id:20605,isCorrect:!0,questionnaireId:130,text:"`filterable`",textHTML:"filterable"},{questionId:4916,id:20606,isCorrect:!1,questionnaireId:130,text:"`key`",textHTML:"key"}],id:4916,isRequired:!0,questionnaireId:130,sequence:1,rationale:"`facetable` is typically used in a presentation of search results that includes a hit count by category.\n\n`Filterable` is referenced in `$filter` queries, and `key` is a unique identifier for documents within the index.\n\n[Index overview - Azure Cognitive Search | Microsoft Learn](https://learn.microsoft.com/azure/search/search-what-is-an-index)\n\n[Create an Azure Cognitive Search solution - Training | Microsoft Learn](https://learn.microsoft.com/training/modules/create-azure-cognitive-search-solution/)\n\n",rationaleHTML:`

    facetable is typically used in a presentation of search results that includes a hit count by category.

    Filterable is referenced in $filter queries, and key is a unique identifier for documents within the index.

    Index overview - Azure Cognitive Search | Microsoft Learn

    Create an Azure Cognitive Search solution - Training | Microsoft Learn

    `,text:`You are building a solution that uses Azure AI Search. You need to define the field attributes for a field where the search results will include a hit count by category. Which attribute should you assign to the field? `,textHTML:`

    You are building a solution that uses Azure AI Search.

    You need to define the field attributes for a field where the search results will include a hit count by category.

    Which attribute should you assign to the field?

    `,type:"MultiSelect"},{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",choiceCount:3,choices:[{questionId:4916,id:20610,isCorrect:!0,questionnaireId:12,text:"files (correct)",textHTML:"files (correct)"},{questionId:4916,id:20611,isCorrect:!1,questionnaireId:12,text:"objects",textHTML:"objects"},{questionId:4916,id:20612,isCorrect:!1,questionnaireId:12,text:"tables",textHTML:"tables"}],id:4917,isRequired:!0,questionnaireId:130,rationale:"First question rationale",sequence:1,text:"Second question",textHTML:"Second question",type:"SingleSelect"}],rationale:"Question Set 1 Rationale",rationaleHTML:"Question Set 1 Rationale HTML",sequence:1,text:"Question Set 1 Text",textHTML:"Question Set 1 Text HTML"}],title:"Questionnaire A",totalQuestionCount:2,totalQuestionSetCount:0}],questionsAnswered:2,questionsAnsweredCorrectly:1,questionsToPass:1,questionsToTake:2,questionTotal:2,result:{sessionId:1765,questionnaireSessions:[{questionnaireId:130,questionnaireVersion:100,responses:[{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4916,choiceId:20604},{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20610},{isCorrect:!1,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20611}],score:{questionnaireId:130,resultStatus:"Passed",questionsToTake:2,questionsToPass:1,questionsAnsweredCorrectly:1,actionItems:[{iconUrl:"string",description:"string",title:"string",type:"StudyMaterialModule",links:[{existed:"string",choiceOptions:[],scoreOptions:[],title:"string",url:"string",context:"string",priority:1,reportingCategory:"string",reportingSubCategory:"string",id:1234,assessmentType:"Practice"}],id:1234,assessmentType:"Practice"}],title:"string"}}],studyGuide:{type:"studyguide",totalItems:1,items:[{id:"studyguide.id",listId:"list.id",type:"module",data:{docId:"docId-string",docVIId:"docVIId-string",platformId:"platformId-string",pageKind:"module",pageType:"learn",title:"Study Guide Item Title",uid:"learn-test.control-azure-services-with-cli.1-introduction",iconUrl:"/learn/achievements/align-requirements-in-azure.svg",progress:.2,durationInMinutes:60,moduleCount:2,rawUrl:"https://review.learn.microsoft.com/en-us/test/learn/azure/align-requirements-in-azure/",url:"/learn/azure/align-requirements-in-azure/"},lastModified:"2024-01-15T00:00:00Z"}],moduleCount:6,completedModuleCount:4,remainingDuration:35,totalDuration:240},studyGuidesByFailedQuestionnaires:[{questionnaireId:130,questionnaireTitle:"string",studyGuides:[{id:"string",title:"string",durationInMinutes:120}]}]},startTime:"2022-01-01T00:00:00Z",status:"NotStarted",timer:60,userResponseUpdatedAt:"2022-01-01T00:00:00Z",userChoices:[{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4916,choiceId:20604},{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20610},{isCorrect:!1,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20611}],wasAssessmentVersionUpdated:!1,certificationPartOfStayCurrent:!1,eligibleForRecertification:!1}}function dOe(){return[{question:{id:123456,text:"string",textHTML:"string",rationale:"string",rationaleHTML:"string",type:"SingleSelect",choiceCount:1,choices:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345}],activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2022-01-02T00:00:00Z",updatedBy:"gsettles"},assessmentType:"Practice",questionnaireId:345678,isRequired:!0,sequence:2},userChoice:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345}],correctChoice:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345}]}]}var du={createSession:async e=>XR(e),getSessionAnswerSummary:async()=>dOe(),getSessionResult:async()=>XR(),getPreviousAttemptsByParentId:async()=>[XR()],getRenewalEligibility:async()=>{},submitSession:async()=>XR()};var nFt=pt(),iFt=b.data.userLocale;var ev={getStatus(e){let t=`${N.achievements}/xp/${e}`;return M(K(t,{mode:"cors"},!0)).then(fe).then(n=>{if(n.ok)return n.json();throw new Qt(n)})},getAchievements(e,t){let o={locale:t},n=`${N.achievements}/user/${e}?${ne(o,!1)}`;return M(K(n,{mode:"cors"},!0)).then(fe).then(r=>{if(r.ok)return r.json();throw new Qt(r)})},redeemCode(e){let t={mode:"cors",method:"post",credentials:"include"},o=`${N.achievements}/redeem/${e}`,n={branch:R.supportLevel==="production"?"main":void 0},i=`${o}?${ne(n,!1)}`,r=K(i,t,!0);return fetch(r,t).then(fe).then(s=>s.json())},requestCode(e,t,o){let n={achievementCategory:e,courseId:t,useCount:o};e===6&&w.learningPathIlt&&(n.courseId=void 0,n.learningPathId=t);let r=`${N.achievements}/code`,s={branch:R.supportLevel==="production"?"main":void 0},a=`${r}?${ne(s,!1)}`,l={mode:"cors",body:JSON.stringify(n),method:"put",credentials:"include"};return M(K(a,l,!0)).then(fe).then(c=>c.json())}};He();function Yve(e){let t=Math.floor(e.videoTimeSeconds),o=e.startTime===e.eventTime||e.startTime===void 0?0:nn(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,n=e.freezeTimeAfterReplay??0,i=e.secondsNormalSpeedAfterReplay??0,r=e.secondsDiffSpeedAfterReplay??0,s=e.reStartTime!==void 0?nn(e.eventTime-e.reStartTime)-n-i+r:e.startTime===e.eventTime||e.startTime===void 0?0:nn(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,a=e.videoData.publicVideo.durationInMillisecond,l=nn(a),c=t>0?Math.floor(t/l*100):0,u=Math.floor(o/l*100);xe({behavior:e.behaviorCode,actionType:we.OTHER,content:{vidnm:e.videoData.title,vidid:e.videoData.id,vidpct:c,vidpctwtchd:u,vidwt:t,viddur:l,vidtimeseconds:s,sessiontimeseconds:o,live:!1,parentpage:location.origin,containerName:"learnvideoplayer",currentCaptions:e.languageCaptions}})}function Wve(e,t,o,n,i){return e!==0&&t&&(o+=ee?re?r{n&&setTimeout(()=>{s(`${e} load timeout`)},n);let a=document.createElement("script");a.src=e,i&&a.setAttribute("data-callback","setupEnforcement"),a.async=!0,a.defer=!0,a.onload=r,t&&(a.integrity=t,a.crossOrigin="anonymous"),a.onerror=()=>{s(`Failed to load ${e}`)},(document.body||document.head).appendChild(a)}).then(()=>{if(o!==void 0){if(window[o]===void 0)throw new Error(`${e} loaded successfully but ${o} is undefined.`);return window[o]}})}var Zve="2.3.11.2",EFt=`/static/third-party/azure-media-player/${Zve}/azuremediaplayer.min.js`,AFt=`/static/third-party/azure-media-player/${Zve}/azuremediaplayer.min.css`;var tv,G4;function pOe(){let e=location.href,t="#time=";if(e.includes(t)){let o=e.substring(e.indexOf(t)+t.length);return x_(o)}return x_("0s")}function mOe(){if(!location.hash.startsWith("#time="))return;let e=tv.paused(),t=pOe();t>0&&t{tv!==void 0&&mOe()});function tw(e){let t=new URL(e,location.origin),o=decodeURIComponent(t.pathname).toLowerCase().replace(TS,"$1").replace(Jd,"/"),n=t.searchParams.get("view");if(n&&(t.search="",t.searchParams.set("view",n),o+=t.search),o.indexOf("/learn/challenges")!==-1||o.indexOf("/training/challenges")!==-1){let i=t.searchParams.get("id");i&&(t.search="",t.searchParams.set("id",i),o+=t.search)}return o}function Xve(e){e.type!=="docs"&&e.type!=="qa"&&e.type!=="url"&&(e.type="docs"),e.type!=="url"&&e.data.url&&(e.data.url=tw(e.data.url))}function yi(e){e.items?.forEach(Xve),e.sections?.forEach(t=>t.items?.forEach(Xve))}var lt={baseUrl:N.lists,async getAllLists(e=!1){let t=K(`${this.baseUrl}${e?`?${ne({ignoreEmptyLists:!0})}`:""}`,{}),o=await M(t);if(fe(o),o.ok){let n=await o.json();return n.forEach(yi),n}throw o.status===401?new qe(o,"UnauthorizedError"):new qe(o,"UnexpectedError")},async getAllListsByUrl(e){let t=[];e.forEach(r=>{t.push(tw(r))});let o=JSON.stringify(t),n=K(`${this.baseUrl}/by-url`,{method:"POST",body:o}),i=await M(n);if(fe(i),i.ok)return{hasError:!1,data:await i.json()};throw new qe(i,"UnexpectedError")},async getList(e){let t={locale:b.data.userLocale,useNewFlow:!0},o=`${this.baseUrl}/${e}?${ne(t)}`,n=K(o,{},!0),i=await M(n);if(fe(i),i.ok){let r=await i.json();return yi(r),{hasError:!1,data:r}}throw i.status===401?new qe(i,"UnauthorizedError"):i.status===404?new qe(i,"NotFoundError"):i.status===403?new qe(i,"ForbiddenError"):new qe(i,"UnexpectedError")},async getStudyGuideList(e,t,o=te().apiBranchParam){let n={locale:b.data.userLocale,branch:R.supportLevel==="production"&&R.reviewFeatures?o:null},i={credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":void 0},r=`${this.baseUrl}/studyguide/${e}/${t}?${ne(n)}`,s=K(r,i,!0),a=await M(s);if(fe(a),a.ok){let l=await a.json();return yi(l),l}throw a.status===404?new qe(a,"NotFoundError"):new qe(a,"UnexpectedError")},async createList(e){let t=JSON.stringify(e),o=K(this.baseUrl,{method:"POST",body:t},!0),n=await M(o);if(fe(n),n.ok)return{hasError:!1,data:await n.json()};if(n.status===400)return{hasError:!0,error:await n.json()};throw n.status===401?new qe(n,"UnauthorizedError"):new qe(n,"UnexpectedError")},async deleteList(e){let t=K(this.baseUrl+"/"+e,{method:"DELETE"},!0),o=await M(t);if(fe(o),o.ok)return{hasError:!1,data:void 0};throw new qe(o,"UnexpectedError")},async copyList(e,t,o){let n=JSON.stringify({name:t,description:o}),i=K(`${this.baseUrl}/copy/${e}`,{method:"POST",body:n},!0),r=await M(i);if(fe(r),r.ok){let s=await r.json();return yi(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new qe(r,"UnexpectedError")},async submitForLocalize(e){let o=K(`${this.baseUrl}/${e}/localize`,{method:"PATCH",body:"true"},!0),n=await M(o);if(fe(n),n.ok){let i=await n.json();return yi(i),{hasError:!1,data:i}}if(n.status===400)return{hasError:!0,error:await n.json()};throw new qe(n,"UnexpectedError")},async convertList(e){let o=K(`${this.baseUrl}/${e}/official`,{method:"PATCH",body:"true"},!0),n=await M(o);if(fe(n),n.ok){let i=await n.json();return yi(i),{hasError:!1,data:i}}if(n.status===400)return{hasError:!0,error:await n.json()};throw new qe(n,"UnexpectedError")},async toggleListPrivacy(e,t){let o=t.toString(),n=K(`${this.baseUrl}/${e}/private`,{method:"PATCH",body:o},!0),i=await M(n);if(fe(i),i.ok){let r=await i.json();return yi(r),{hasError:!1,data:r}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new qe(i,"UnexpectedError")},async toggleShowUserDisplayName(e,t){let o=t.toString(),n=K(`${this.baseUrl}/${e}/showuserdisplayname`,{method:"PATCH",body:o},!0),i=await M(n);if(fe(i),i.ok){let r=await i.json();return yi(r),{hasError:!1,data:r}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new qe(i,"UnexpectedError")},async updateListMetadata(e,t){let o=JSON.stringify({name:t.name,description:t.description}),n={useNewFlow:!0},i=K(`${this.baseUrl}/${e}?${ne(n)}`,{method:"PATCH",body:o},!0),r=await M(i);if(fe(r),r.ok){let s=await r.json();return yi(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new qe(r,"UnexpectedError")},async sortList(e,t){let o={locale:b.data.userLocale},n=`${this.baseUrl}/${e}?${ne(o)}`,i=JSON.stringify(t),r=K(n,{method:"PUT",body:i},!0),s=await M(r);if(fe(s),s.ok){let a=await s.json();return yi(a),{hasError:!1,data:a}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new qe(s,"UnexpectedError")},async addItem(e,t){let o=JSON.stringify(t),n=K(this.baseUrl+"/"+e,{method:"POST",body:o},!0),i=await M(n);if(fe(i),i.ok)return{hasError:!1,data:await i.json()};if(i.status===400||i.status===403)return{hasError:!0,error:await i.json()};throw new qe(i,"UnexpectedError")},async deleteItem(e,t){let o=K(this.baseUrl+"/"+e+"/"+t,{method:"DELETE"},!0),n=await M(o);if(fe(n),!(n.ok||n.status===204))throw new qe(n,"UnexpectedError")},async updateItem(e,t,o){let n=JSON.stringify(o),i=K(`${this.baseUrl}/${e}/${t}`,{method:"PUT",body:n},!0),r=await M(i);if(fe(r),r.ok)return{hasError:!1,data:await r.json()};if(r.status===400||r.status===403)return{hasError:!0,error:await r.json()};throw new qe(r,"UnexpectedError")},async getListsItems(e){let t={uid:e.join(","),locale:b.data.userLocale},o=K(`${this.baseUrl}/items/?${ne(t)}`,{}),n=await M(o);if(fe(n),n.ok)return(await n.json()).items;throw new qe(n,"UnexpectedError")},async createSection(e,t,o,n){let i=JSON.stringify({name:t,description:o,daysToComplete:n}),r=K(`${this.baseUrl}/${e}/section`,{method:"POST",body:i},!0),s=await M(r);if(fe(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw new qe(s,"UnexpectedError")},async updateSection(e,t,o,n,i){let r=JSON.stringify({name:o,description:n,daysToComplete:i}),s=K(`${this.baseUrl}/${e}/section/${t}`,{method:"PATCH",body:r},!0),a=await M(s);if(fe(a),a.ok)return{hasError:!1,data:await a.json()};if(a.status===400)return{hasError:!0,error:await a.json()};throw new qe(a,"UnexpectedError")},async deleteSection(e,t){let o=K(`${this.baseUrl}/${e}/section/${t}`,{method:"DELETE"},!0),n=await M(o);if(fe(n),n.ok)return{hasError:!1,data:await n.json()};if(n.status===400)return{hasError:!0,error:await n.json()};throw new qe(n,"UnexpectedError")},async getActiveTakedowns(e){if(e===null)return!1;let t=K(`${this.baseUrl}/takedown/active/${e}`,{method:"GET"},!1),o=await M(t);return o.ok?(await o.json()).hasContentTakedowns:!1},async getReportStatus(e){if(e===null)return"None";let t=K(`${this.baseUrl}/report/status/${e}`,{method:"GET"},!1),o=await M(t);return o.ok?await o.json():"Unknown"}};async function ov(e=U.document,t=!1){let o;if(typeof e=="string")if(!t&&new URL(et(e,b.data.userLocale),U.location.origin).href===U.location.href)e=U.document,o=new URL(U.location.href);else{let c=await q4(e);o=c.url,e=c.document}else o=new URL(e.URL);let n=AA(e),i=()=>n.page_type==="show"&&n.type?n.type:n.page_kind||"",r=new RegExp(`^/${b.data.userLocale}/answers[$/]`,"i"),s;o.pathname.match(r)?s="qa":s="docs";let a=o.toString(),l=null;return(o.pathname.indexOf("/learn/challenges")!==-1||o.pathname.indexOf("/training/challenges")!==-1)&&(l=ci().id),{type:s,data:{url:tw(a),rawUrl:a,title:n["og:title"]||e.title,docId:n.document_id||"",docVIId:n.document_version_independent_id||"",platformId:n.platform_id||"",pageType:n.page_type||"",pageKind:i(),uid:n.uid||"",challengeId:l,eventUid:n.eventUid||"",durationInMillisecond:G4||null,showId:n.showId||""}}}function eye(e,t){return{type:"url",data:{url:e,rawUrl:"",title:t,docId:"",docVIId:"",platformId:"",pageType:"",pageKind:"",uid:"",challengeId:"",eventUid:"",durationInMillisecond:null,showId:""}}}var oi={async getSkillingPlan(e){let t={locale:b.data.userLocale},o=`${N.lists}/skillingPlan/${e}?${ne(t)}`,i=K(o,{method:"GET"}),r=await M(i);if(fe(r),r.ok){let s=await r.json();return await up(s),s}throw new Error(`${r.status}: ${r.statusText}`)},async completeSkillingPlan(e){let t=`${N.lists}/completeSkillingPlan`,n={method:"POST",body:JSON.stringify(e)},i=await M(K(t,n));if(fe(i),i.ok){let r=await i.json();return await up(r),{hasError:!1,data:r}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async createSkillingPlan(e){let t=`${N.lists}/skillingPlan`,n={method:"POST",body:JSON.stringify(e)},i=await M(K(t,n));if(fe(i),i.ok){let r=await i.json();return await up(r),{hasError:!1,data:r}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async updateSkillingPlan(e,t){let o=`${N.lists}/skillingPlan/${e}`,i={method:"PUT",body:JSON.stringify(t)},r=await M(K(o,i));if(fe(r),r.ok){let s=await r.json();return await up(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async modifySkillingPlan(e,t){let o=`${N.lists}/skillingPlan/${e}`,i={method:"PATCH",body:JSON.stringify(t)},r=await M(K(o,i));if(fe(r),r.ok){let s=await r.json();return await up(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async modifyPlanList(e,t){let o=`${N.lists}/skillingPlan/${e}/list`,i={method:"PATCH",body:JSON.stringify(t)},r=await M(K(o,i));if(fe(r),r.ok){let s=await r.json();return await up(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async deleteSkillingPlan(e){let t=`${N.lists}/skillingPlan/${e}`,n=await M(K(t,{method:"DELETE"}));if(fe(n),!n.ok)throw new Error(`${n.status}: ${n.statusText}`)},async getJoinedSkillingPlans(e=0,t=12,o){let n=`${N.lists}/skillingPlan/joined/${o}?${ne({page:e+1,pageSize:t})}`,i=K(n,{},!0),r=await M(i);if(fe(r),r.ok)return await r.json();throw new Error(`${r.status}:${r.statusText}`)},async getCreatedSkillingPlans(e=0,t=12){let o=t===-1?"":"?"+ne({page:e+1,pageSize:t}),n=`${N.lists}/skillingPlan/created${o}`,i=K(n,{},!0),r=await M(i);if(fe(r),r.ok)return await r.json();throw new Error(`${r.status}:${r.statusText}`)},async joinSkillingPlan(e){let o=te(location.search).learnerGroupId,n=`${N.lists}/skillingPlan/${e}/join?${ne({registrationType:1,learnerGroupId:o||""})}`,i=K(n,{method:"POST"},!0,!1),r=await M(i);if(fe(r),r.ok){let s=await r.json();return up(s),{hasError:!1,data:s}}throw new Error(`${r.status}:${r.statusText}`)},async leaveSkillingPlan(e){let t=`${N.lists}/skillingPlan/${e}/leave`,o=K(t,{method:"POST"},!0,!1),n=await M(o);if(fe(n),n.ok){let i=await n.json();return up(i),{hasError:!1,data:i}}throw new Error(`${n.status}:${n.statusText}`)},async trackClick(e,t){let o=`${N.lists}/skillingPlan/${e}/trackClick/${t}`,n=K(o,{method:"POST"},!0,!1),i=await M(n);if(fe(i),i.ok)return{};throw new Error(`${i.status}:${i.statusText}`)},async getPlanStatistics(e){let t=`${N.lists}/skillingPlan/${e}/statistics`,o=K(t,{},!0),n=await M(o);if(fe(n),n.ok)return await n.json();throw new Error(`${n.status}:${n.statusText}`)},async createLearnerGroup(e,t,o=""){let n=`${N.lists}/skillingPlan/${e}/learnerGroup`,r={method:"POST",body:JSON.stringify({name:t,description:o})},s=await M(K(n,r));if(fe(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}:${s.statusText}`)},async updateLearnerGroup(e,t,o,n=""){let i=`${N.lists}/skillingPlan/${e}/learnerGroup/${t}`,s={method:"PATCH",body:JSON.stringify({name:o,description:n})},a=await M(K(i,s));return fe(a),a.ok?{hasError:!1,data:await a.json()}:{hasError:!0,error:await a.json()}},async deleteLearnerGroup(e,t){let o=`${N.lists}/skillingPlan/${e}/learnerGroup/${t}`,i=await M(K(o,{method:"DELETE"}));return fe(i),i.ok?{hasError:!1}:{hasError:!0,error:await i.json()}}};async function up(e){e.lastModified&&(e.publishedOn=e.lastModified),yi(e.contentList)}function gOe(e){return e.type==="bookmarks"&&(e.name=cE),e}var ow=null;async function oye(e=()=>!0,t=!1){if(!ow)try{ow=(await lt.getAllLists(t)).map(gOe)}catch{ow=null}return ow?.filter(e)??null}async function nye(){return k.isAuthenticated===!1?[]:(await oi.getCreatedSkillingPlans(0,-1)).skillingPlans}function iye(e){return ow=null,lt.createList(e)}async function eM(){let e=In()||"",t=await Yy(e),o=["MicrosoftEmployee","MicrosoftAgencyTemporary","MicrosoftVendor","MicrosoftIntern"];return t?t.affiliations.some(n=>o.includes(n)):!1}function fOe(e,t=!1){switch(e){case"MicrosoftEmployee":return pV;case"MicrosoftAgencyTemporary":case"MicrosoftVendor":return mV;case"MicrosoftIntern":return gV;case"RegionalDirector":return fV;case"Mvp":return t?Dre:dV;case"StudentAmbassador":return t?$re:hV;default:return""}}function tM(e){let t=e?e[0]:"";return fOe(t)}function Q4(e,t){e=decodeURIComponent(e);let o=yr(e,t.target),n=d``,i=d``;if(o){let r=document.createElement("div");y(i,r),new be(r).show()}}async function rye(e){if(!R.reviewFeatures)return;let t=Array.from(e.querySelectorAll("[data-contenteditbtn] a, a[data-contenteditbtn]"));for(let o of t){Ve("edit-in-editor",{require:!0})||(o.hidden=!1);let n=o.dataset.original_content_git_url,i=o.dataset.original_content_git_url_template,r=o.dataset.pr_repo,s=o.dataset.pr_branch;i&&i.length&&r&&r.length&&s&&s.length?o.setAttribute("href",i.replace("{repo}",r).replace("{branch}",s)):n&&n.length&&o.setAttribute("href",n)}bOe(t)}async function hOe(e){let t=document.createElement("div");t.classList.add("modal-content");let o=new be(t);return y(e,t),o.show()}async function bOe(e){if(!Ve("edit-in-editor",{require:!0}))return;console.log("edit-in-editor flag running.");let t=await _Oe();for(let o of e){let{title:n,description:i,link:r,moreInfo:s}=Vve(t,o);o.addEventListener("click",function(a){a.preventDefault(),hOe(Bve(n,i,r,s))}),o.hidden=!1}}async function _Oe(){if(!k.isAuthenticated||!await eM())return 0;if(!vOe())return 1;let e=$4();return await yOe(e)?3:2}function vOe(){let e=AA(document);return e?.original_content_git_url?e?.original_content_git_url?.endsWith(".md"):!1}async function yOe(e){if(!e)return!1;let t=e?await z4(e.access_token):null,o=await Uve();return t&&o&&o.login&&o.login.toLowerCase()===t.toLowerCase()}async function sye(e){let t={method:"POST",body:e,credentials:"same-origin"},o=new Request(N.siteFeedback,t),n=await M(o);if(!n.ok)throw new Error(`Error fetching ${o.url}`);return n}var xOe=["jpeg","jpg","png","gif"],TOe=1024*1024*5;function aye(e){let t=[];return Array.from(e).forEach(o=>{(o.type.split("/")[0]!=="image"||xOe.indexOf(o.type.split("/")[1])===-1)&&t.push(Xie.replace("{fileName}",o.name)),o.size>=TOe&&t.push(ere.replace("{fileName}",o.name))}),t}A();A();var mo={"functionality-other":cK,"learn-content-other":dK,"feature-request":lK,"category-general":uK,"tutorial-content-quality":iK,"learn-credit-problem":mK,"sandbox-problem":hK,"registration-problem":fK,"problem-with-cloudshell":tK,"problem-with-install":nK,"problem-with-dotnet-editor":oK,"content-mistake":aK,"content-question":pK,"translation-quality":bK,"category-other":gK},SOe=[{icon:"docon-developer-tools",value:"Microsoft Learn/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Microsoft Learn/Customer Feedback/Engineering/Gamification",text:mo["learn-credit-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Interactivity",text:mo["sandbox-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Profile",text:mo["registration-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering",text:mo["category-other"]}],text:mo["functionality-other"]},{icon:"docon-text-document",value:"Microsoft Learn/Customer Feedback/Content",id:"feedback-report-category-content",subCategories:[{value:"Microsoft Learn/Customer Feedback/Content/{{REPO-AREA}}",text:mo["content-mistake"]},{value:"Microsoft Learn/Customer Feedback/Content/{{REPO-AREA}}",text:mo["content-question"]},{value:"Microsoft Learn/Customer Feedback/Localization/{{REPO-AREA}}",text:mo["translation-quality"]},{value:"Microsoft Learn/Customer Feedback/Content",text:mo["category-other"]}],text:mo["learn-content-other"]},{icon:"docon-web-components",value:"Microsoft Learn/Customer Feedback/Engineering/Experience",text:mo["feature-request"]},{icon:"docon-feedback",value:"Microsoft Learn/Customer Feedback",text:mo["category-general"]}],wOe={type:"reportIssue",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:SOe},COe=[{icon:"docon-developer-tools",value:"Tutorial Feedback/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:mo["problem-with-cloudshell"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:mo["problem-with-install"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:mo["problem-with-dotnet-editor"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Profile",text:mo["registration-problem"]},{value:"Tutorial Feedback/Customer Feedback/Engineering",text:mo["category-other"]}],text:mo["functionality-other"]},{icon:"docon-text-document",value:"Tutorial Feedback/Customer Feedback/Content",id:"feedback-report-category-content",subCategories:[{value:"Tutorial Feedback/Customer Feedback/Content/{{REPO-AREA}}",text:mo["content-mistake"]},{value:"Tutorial Feedback/Customer Feedback/Content/{{REPO-AREA}}",text:mo["content-question"]},{value:"Tutorial Feedback/Customer Feedback/Localization/{{REPO-AREA}}",text:mo["translation-quality"]},{value:"Tutorial Feedback/Customer Feedback/Content",text:mo["category-other"]}],text:mo["tutorial-content-quality"]},{icon:"docon-web-components",value:"Tutorial Feedback/Customer Feedback/Engineering/Experience",text:mo["feature-request"]},{icon:"docon-feedback",value:"Tutorial Feedback/Customer Feedback",text:mo["category-general"]}],EOe={type:"tutorialFeedback",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:COe};function lye(e,t){let o=AOe(t),n=kOe(o);y(n,e)}function AOe(e){return e==="reportIssue"?wOe:EOe}function kOe(e){return d`

    ${JW}

    ${vK}
    ${e.categories.map(t=>d``)}
    ${e.categories.filter(t=>t.subCategories!==void 0).map(t=>d` `)}
    `}var j4=!1;dt.subscribe(To,()=>{K4("reportIssue")});var cye=e=>{e.disabled=!1,e.classList.remove("is-loading")},W4=e=>e.querySelector("input:checked"),IOe=(e,t)=>{let o=!1,n=e!=null&&"subCategory"in e.dataset&&e.dataset.subCategory||null;for(let i in t){let r=n!==i,s=t[i].closest("div.field");t[i].disabled=r,s.hidden=r;let a=Array.from(s.querySelectorAll(".radio"));r?a.forEach(l=>{l.querySelector("input").removeAttribute("required")}):(o=!0,a.forEach(l=>{l.querySelector("input").setAttribute("required","")}))}return o},uye=e=>e.dispatchEvent(new CustomEvent("opened",{bubbles:!1})),LOe=(e,t,o)=>{IOe(e,t)||uye(o)},POe=e=>{Array.from(e.querySelectorAll("[id^='feedback-report-category-'] .radio")).forEach(o=>{o.querySelector("input").setAttribute("required","")}),uye(e)},ROe=e=>{e.hidden=!1},MOe=e=>{let t=e.target;if(!t.files||t.files.length===0)return;let o=document.querySelector("#attachment-validation"),n=aye(t.files),i=t.parentElement.querySelector("#feedback-report-attachment-file-name");if(n.length){let s=n.map(a=>d`

    ${a}

    `);y(d`${s}`,o),o.hidden=!1,y(d``,i);return}let r=Array.from(t.files).map(s=>s.name).join(", ");y(d`${r}`,i),y(d``,o),o.hidden=!0},DOe=e=>{e.disabled=!0,e.classList.add("is-loading")},Y4=e=>e.hidden=!0,$Oe=()=>{let e=document.getElementById("feedback-report-category"),t=W4(e),o=t.value,n=t.parentElement.textContent.trim();return{value:o,text:n}},zOe=e=>{let t=document.getElementById("feedback-report-category"),o=W4(t);if(o===null||!o.dataset.subCategory)return{valueSub:null,textSub:null};let i=Array.from(e[o.dataset.subCategory].querySelectorAll(".radio input")).filter(a=>a.checked)[0],r=i.value,s=i.parentElement.textContent.trim();return{valueSub:r,textSub:s}},NOe=e=>new FormData(e),dye=e=>e.hidden=!1,FOe=(e,t,o,n)=>{e.classList.remove("is-hidden"),n.classList.add("is-hidden"),t.classList.add("is-hidden"),o.classList.add("is-hidden")},pye=(e,t)=>{let o=e.querySelector("#feedback-report-attachment-file-name");document.getElementById("feedback-report-category-product").setAttribute("value",""),document.getElementById("feedback-report-category-content").setAttribute("value",""),e.category.value="",e.summary.value="",e.description.value="",e.attachment.value="",e.reset(),Array.from(e.querySelectorAll(".radio")).forEach(i=>{let r=i.querySelector("input");r.setAttribute("required",""),r.checked=!1});for(let i in t){let r=t[i].closest("div.field"),s=e.querySelector("#feedback-form-info");r.hidden=!0,s.hidden=!0}y(d``,o)},qOe=async(e,t,{successMessage:o})=>{let{value:n,text:i}=$Oe(),{valueSub:r,textSub:s}=zOe(t);e.feedbackCategory&&(e.feedbackCategory.value=i),e.category.value=r||n,e.issueType&&(e.issueType.value=s),R.reviewFeatures&&(e.summary.value=`[TEST] ${e.summary.value}`),sye(NOe(e)),dye(o),pye(e,t)},UOe=(e,t,o,n,{successMessage:i})=>{e.classList.add("is-hidden"),Y4(i),n.classList.remove("is-hidden"),t.classList.remove("is-hidden"),t.disabled=!0,o.classList.remove("is-hidden")};async function K4(e,t,o=!1){let n=document.querySelector(".feedback-report");if((!w.feedbackReport||!n)&&!o)return;lye(n,e);let i=document.querySelector("#feedback-report-form");if(i===null||j4)return;j4=!0,vg(()=>{j4=!1});let r=i.querySelector("#feedback-report-error-message"),s=i.querySelector("#feedback-report-category"),a={"feedback-report-category-product":i.querySelector("#feedback-report-category-product"),"feedback-report-category-content":i.querySelector("#feedback-report-category-content")},l=i.querySelector("#feedback-report-attachment"),c=i.querySelector("fieldset:nth-of-type(2)"),u=i.querySelector("button[type=submit]"),p=i.querySelector("#feedback-report-success-message"),m=i.querySelector("#feedback-report-feedbackTitle"),g=i.querySelector("#feedback-report-description"),f=i.querySelector("#submit-another-feedback-button"),_=i.querySelector("#clear-form-button"),h=i.querySelector("#feedback-type-selection");i.contentLocale.value=b.data.contentLocale,i.userLocale.value=b.data.userLocale,i.jsllImpressionGuid.value="";let x=rr.get("ai_session");i.aiSessionId.value=x!==void 0?x.split("|")[0]:"";let{uid:v,documentId:T,versionIndependentDocumentId:I,platformId:C,contentPath:H,url:F,author:ue}=te(t);i.uid.value=v,i.documentId.value=T,i.versionIndependentDocumentId.value=I,i.platformId.value=C,i.contentPath.value=H,i.url.value=F,i.author.value=ue;let Ce=()=>{if(!i.checkValidity()){u.disabled=!0;return}cye(u)};qt(s,"change",()=>{let ht=W4(s);ht?ht.dispatchEvent(new CustomEvent("selected")):ht=null}),qt(m,"input",()=>{Ce()}),qt(g,"input",()=>{Ce()});let ae=Array.from(s.querySelectorAll("input"));Array.from(ae).forEach(ht=>qt(ht,"selected",()=>LOe(ht,a,i))),Object.keys(a).forEach(ht=>qt(a[ht],"change",()=>{POe(i)})),qt(i,"opened",()=>ROe(c)),qt(l,"change",MOe),qt(i,"submit",async ht=>{if(ht.preventDefault(),!u.disabled){DOe(u),Y4(r),Y4(p);try{await qOe(i,a,{successMessage:p}),FOe(f,u,_,h)}catch{dye(r)}cye(u)}}),qt(_,"click",()=>{pye(i,a)}),qt(f,"click",()=>{UOe(f,u,_,h,{successMessage:p})})}A();A();var OOe={"01-yes-content-easy":yK,"02-yes-problem-solved":SK,"03-yes-information-easy":CK,"04-yes-learned-smth-new":wK,...b.data.userLocale!=="en-us"?{"05-yes-localization":nz}:{},"00-yes-other":ra},HOe={"01-no-content-hard":xK,"02-no-example-problem":NK,"03-no-discovery-issue":TK,"04-no-outdated-content":EK,...b.data.userLocale!=="en-us"?{"05-no-localization":nz}:{},"00-no-other":ra},fye={"ask-the-community":uG,"get-product-support":nJ,"get-help-at-qna":oJ};function hye(){let e=w.usingStandardFeedback||w.openSourceFeedback;return d` `}function mye(){return!!(b.data.feedbackHelpLinkType&&b.data.feedbackHelpLinkType in fye&&b.data.feedbackHelpLinkUrl)}function bye(){return d`

    ${Qre}

    ${Gie}

    `}function J4(e,t,o,n,i){return d` `}function gye(e,t){let o=[];for(let n in e)o.push(d` `);return o}function _ye(){window.addEventListener("form-validating",e=>{e.detail.errors?.length>=0&&(Z4(e.detail.form,e.detail.errors),BOe(e.detail.form,e.detail.errors))}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;nv(t)})}function Z4(e,t){let o=e.querySelector(".checkbox-group.required:not([hidden])");if(!o)return;let n=o.querySelectorAll('input[type="checkbox"]');if(!n)return;if(o.querySelectorAll('input[type="checkbox"]:checked').length<1){o.classList.add("errored"),n.forEach(l=>l.closest(".checkbox")?.classList.add("is-invalid"));let r=Sy,s=o.querySelector('input[type="checkbox"]');Ui(s,r),vye(t,s,r);let a=`${dn} ${jK}`;kt(a,"assertive")}}function BOe(e,t){let o=e.querySelector(".choice-selection.required");if(!o)return;let n=o.querySelectorAll(".thumb-rating-button");if(!n)return;if(!o.querySelector(".thumb-rating-button.button-selected")){o.classList.add("errored"),n.forEach(a=>{a.classList.add("button-danger"),a.querySelector(".icon")?.classList.add("color-danger")});let r=kf;Ui(n[0],r),vye(t,n[0],r);let s=`${dn} ${YK}`;kt(s,"assertive")}}function vye(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function nv(e){let t,o,n=e.closest("form");n&&(e instanceof HTMLInputElement?t=e.closest(".suggestions-list.errored"):e instanceof HTMLButtonElement&&(t=n.querySelector(".suggestions-list.errored"),o=n.querySelector(".choice-selection.errored")),!(!t&&!o)&&(t&&(t.classList.remove("errored"),t.querySelectorAll('input[type="checkbox"]').forEach(a=>a.closest(".checkbox").classList.remove("is-invalid")),n.querySelector("[data-feedback-suggestions] .field-error")?.remove(),n.querySelector("[module-assessment-ai-feedback-suggestions] .field-error")?.remove()),o&&(o.classList.remove("errored"),o.querySelectorAll(".thumb-rating-button").forEach(a=>{a.classList.remove("button-danger"),a.querySelector(".icon")?.classList.remove("color-danger")}),n.querySelector("[data-feedback-rating] .field-error")?.remove(),n.querySelector("[module-assessment-ai-feedback-rating] .field-error")?.remove())))}function VOe(e){return e.querySelector("[data-feedback-suggestions]")}function oM(e){let t=VOe(e)?.querySelectorAll(".suggestions-list:not([hidden]) .checkbox > input:checked")??[];return Array.from(t)}var nM=!1;function iM(){let e=location.pathname;return b.data.pageTemplate==="ModuleUnit"?e.substring(0,e.lastIndexOf("/")+1):e}async function rM(e){let t=document.getElementById("user-feedback"),o=document.getElementById("site-user-feedback-footer");if(e==="ModuleUnit"&&(nM=!1),!t&&!o)return;if(b.data.isArchived){let i=document.querySelector("[data-hide-on-archived]");i&&(i.hidden=!0);return}QOe(),yye(),GOe(),_ye(),XOe();let n=jOe();KOe(n,e==="Module"||e==="ModuleUnit"?"training-feedback":"standard-feedback"),await WOe(n)}function yye(e=localStorage){let t=e.getItem(`binary-rating-${iM()}`);t!=="rating-yes"&&t!=="rating-no"||(nw(t),Bg(t))}function nw(e,t=Array.from(document.querySelectorAll("[data-binary-rating-response]"))){if(!nM)for(let o of t){let n=o.dataset.binaryRatingResponse===e;o.classList[n?"add":"remove"]("button-selected"),o.classList.contains("link-button")||o.classList[n?"add":"remove"]("is-selected"),o.setAttribute("aria-pressed",n?"true":"false")}}function GOe(){let e=t=>{if(!(t.target instanceof HTMLElement&&t.target.closest("[data-user-feedback-button]")))return;let n=localStorage.getItem(`binary-rating-${iM()}`);!n||n!=="rating-no"&&n!=="rating-yes"||(nw(n),Bg(n))};window.addEventListener("click",e)}function QOe(){let e=t=>{let o=t.target instanceof HTMLElement&&t.target.closest("[data-binary-rating-response]");if(!o)return;let n=o.dataset.binaryRatingResponse;n!=="rating-no"&&n!=="rating-yes"||(o.classList.contains("button-selected")||nv(o),nw(n),Bg(n),nM||localStorage.setItem(`binary-rating-${iM()}`,n))};window.addEventListener("click",e)}function jOe(){let e=document.createElement("div"),t=hye();return y(t,e),yye(),new be(e)}async function YOe(){let[e,t,o,n]=await Promise.all([qn("ask-learn-on-articles"),qn("ask-learn-on-reference"),qn("ask-learn"),ve.then(()=>k.isAuthenticated)]);return Ve("ask-learn-popover",{require:!0})?{enabled:!0,userAuthenticated:n}:Ve("disable-ask-learn-popover",{require:!0})?{enabled:!1,userAuthenticated:n}:{enabled:e||t||o,userAuthenticated:n}}async function WOe(e){let t=Array.from(document.querySelectorAll("[data-binary-rating-response]")),o=document.getElementById("user-feedback-button");o&&o.addEventListener("click",()=>e.show());let i=Array.from(t.filter(l=>l.dataset.binaryRatingResponse==="rating-yes")).length>0,{enabled:r,userAuthenticated:s}=await YOe(),a=b.data.userLocale.substring(0,2).toLocaleLowerCase()==="en";if(r&&s&&a&&i){t.forEach(c=>c.addEventListener("click",()=>{c.dataset.binaryRatingResponse==="rating-yes"&&e.show();let u=localStorage.getItem(`binary-rating-${iM()}`);u&&(nw(u),Bg(u))})),window.addEventListener("click",async c=>{let p=c.target.closest("[data-bi-name]");if(!p)return;let m=p.dataset.biName;ZOe(c),m==="feedback-suggest"?(e.show(),nw("rating-no"),Bg("rating-no")):m==="ask-learn-assistant-entry-troubleshoot"&&ti&&(await ti.initialized,ti.responseCount&&ti.responseCount>=ti.maxMessages&&ti.reset(),ti.submitWithPrompt("/troubleshoot"),ti.getActiveTextArea()?.focus())});let l=Array.from(document.querySelectorAll(eR+","+tR));r&&(eHe(),l.forEach(c=>{c.hidden=!1}))}else t.forEach(c=>{c.dataset.binaryRatingResponse==="rating-no"&&c.removeAttribute("hidden")}),Array.from(document.querySelectorAll("#mobile-help-popover,#help-popover")).forEach(c=>c.hidden=!0),t.forEach(c=>c.addEventListener("click",()=>e.show()))}function KOe(e,t="standard-feedback"){window.addEventListener("submit",o=>{let n=o.target instanceof HTMLElement&&o.target.closest("[data-feedback-verbatim-form]");if(!n||(o.preventDefault(),n.querySelector(".errored")))return;JOe(o,n,t),nM=!0;let i=document.createElement("div");i.classList.add("modal-slide"),y(bye(),i),e.updateContent(i,!1,!1)})}function JOe(e,t,o){if(!e)return;let n=oM(t),i=t.querySelector("#user-feedback-textarea"),r=i?i.value:"",s=t.querySelector(".thumb-rating-button.button-selected"),a=s&&s.dataset.binaryRatingResponse==="rating-yes"?1:0,l=n.map(c=>c.value);e.target&&Jt(e.target,{behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:o,sat:a,vtbm:r,reasons:l}})}function ZOe(e){let t=e.target;(t.closest('[data-test-id="feedback-popover"]')||t.closest('[data-test-id="footer-feedback-popover"]'))&&Jt(t,{actionType:we.CLICKLEFT,behavior:le.VOTE,content:{autoIngest:!0,event:"feedback-thumbs-down-details-clicked",cN:"details-rating-no",type:"popover-interaction"},contentTags:{feedbackType:"negative",feedbackMethod:"details-popover",aN:"feedback-unhelpful-popover"}})}function Bg(e){let t=document.querySelector("[data-feedback-suggestions]");if(!t)return;t.hidden=!1;let o=document.querySelector("[data-feedback-options-yes]"),n=document.querySelector("[data-feedback-options-no]");!o||!n||(o.hidden=e!=="rating-yes",n.hidden=e!=="rating-no")}function XOe(){let e=document.getElementById("ms--user-feedback-configurable-help-link");if(e){e.classList.remove("display-none");return}}function eHe(){if(!document.body.classList.contains("layout-flyout-active")){let e=document.querySelector('#help-popover [data-help-option="ask-learn"]');e&&e.classList.contains("is-selected")&&e.classList.remove("is-selected")}}A();var X4="v9",tHe=.03,sM=Ve("survey-popover",{require:!0}),oHe=new Set(["Architecture","CareerPath","Certification","CertificationRenewal","Conceptual","Course","FAQ","HowTo","KnownIssue","LearningPath","Lifecycle","Module","ModuleUnit","Question","QuestionList","Reference","Sample","Tag","TagList"]),nHe=new Set(["en-us","de-at","de-ch","de-de","fr-be","fr-ca","fr-ch","fr-fr","es-es","es-mx"]),xye=0,Tye=!1;function iHe(e=w.surveyPopover,t=b.data.pageTemplate,o=b.data.userLocale){return e&&oHe.has(t)&&nHe.has(o)}function aM(e,t=0){try{let o=se.getItem(e);if(o===null)return t;let n=Number(o);return isNaN(n)?t:n}catch{return t}}function rHe(e=R.accessLevel!=="local"){let t=new URL("https://microsoft.qualtrics.com/jfe/form/SV_6hUVpRBU3hQVnZY");e&&t.searchParams.set("original_url",J.href),t.searchParams.set("locale",b.data.userLocale),t.searchParams.set("pageTemplate",b.data.pageTemplate);let o=aM("hats_survey-pages-visited",0);t.searchParams.set("pagesVisited",o.toString());let n=aM("hats_survey-qualified-pages-visited",0);t.searchParams.set("qualifiedSurveyPagesVisited",n.toString());let i=Sye().slice(0,30);return t.searchParams.set("pageTemplatesVisited",i?i.join(","):""),t.href}function e6(){sHe(X4);let e=se.getItem("hats_survey-interacted");if(e){let u=Date.now(),p;try{if(p=new Date(e),isNaN(p.getTime())){lM(),se.setItem("hats_survey-version",X4);return}}catch{return}let m=1e3*60*60*24*30*6;if(u-p.getTime()

    ${Vre}

    ${XZ}

    `;return y(t,e),e.addEventListener("click",o=>{o.target instanceof HTMLElement&&o.target.closest("[data-dismiss]")&&se.setItem("hats_survey-interacted",new Date().toISOString())}),e}function Cye(){let e=document.querySelectorAll(".ccpa-privacy-link");w.thirdPartyDataSharingConsentFlag&&e.forEach(t=>{t.removeAttribute("hidden")})}var Sr={repo:b.data.feedbackGitHubRepo,documentId:P("document_id")||btoa(location.pathname),versionIndependentDocumentId:P("document_version_independent_id")||btoa(location.pathname),platformId:P("platform_id")||btoa(location.pathname),documentSourceUrl:P("github_feedback_content_git_url")||P("original_content_git_url")||P("original_ref_skeleton_git_url")||"",service:P("ms.service"),subservice:P("ms.subservice"),product:P("ms.prod"),technology:P("ms.technology"),author:P("author"),msAuthor:P("ms.author"),contentTitle:P("og:title")||document.title};function Eye(e){let t=`${e} --- #### ${uW} \u26A0 *${dW}* `,o=location.href,{documentId:n,versionIndependentDocumentId:i,platformId:r,documentSourceUrl:s,contentTitle:a}=Sr,l=s.replace(/^https:\/\/github.com\/[^/]+\/[^/]+\/blob\/[^/]+\//i,"").replace(/\[|\]/g,"\\$&");a=a.replace(/\[|\]/g,"\\$&"),t+=`* ID: ${n} * Version Independent ID: ${i} * Platform ID: ${r} * Content: [${a}](${o}) * Content Source: [${l}](${s})`;let{service:c,subservice:u,product:p,technology:m}=Sr;c!==void 0&&(t+=` * Service: **${c.toLowerCase()}**`),u!==void 0&&(t+=` * Sub-service: **${u.toLowerCase()}**`),p!==void 0&&(t+=` * Product: **${p.toLowerCase()}**`),m!==void 0&&(t+=` * Technology: **${m.toLowerCase()}**`);let{author:g,msAuthor:f}=Sr;return g!==void 0&&(/github\.com/.test(s)?t+=` * GitHub Login: @${g}`:t+=` * Git Login: **${g}**`),f!==void 0&&(t+=` * Microsoft Alias: **${f}**`),t=t.replace(//g,">"),t}function Aye(e,t,o,n,i,r,s,a,l,c,u,p,m,g,f="",_){let h=e.querySelector("[data-github-link]"),x=e.querySelector("[data-open-source-image-light]"),v=e.querySelector("[data-open-source-image-dark]"),T=e.querySelector("[data-open-source-image-container]"),I=e.querySelector("[data-open-source-product-title]"),C=e.querySelector("[data-open-source-product-description]");if(!h||!t||!o||!i||!c||!g)return;let H=u==="production"&&p?`\u{1F6A8} Looks like you arrived from the internal review site \u{1F6A8} Do not enter Microsoft confidential information here`:"",F=uHe(n,i,r,s,a,l),ue=/github\.com/.test(c)?`@${g}`:g,Ce=new URL(t),ae=new URLSearchParams;ae.set("pageUrl",m.href),ae.set("pageQueryParams",m.search),ae.set("contentSourceUrl",c),ae.set("documentVersionIndependentId",o),ae.set("platformId",i),ae.set("feedback",`${H} ${KW} `),ae.set("author",ue),ae.set("metadata",F),f&&ae.set("title",f),_&&ae.set("labels",_),Ce.search+=`&${ae.toString()}`,h.href=Ce.toString(),dHe(I,C),x&&v&&T&&pHe(x,v,T),e.hidden=!1}function uHe(e,t,o,n,i,r){let s=`* ID: ${e} * PlatformId: ${t} ${n!==void 0?` * Service: **${n.toLowerCase()}**`:""}${i!==void 0?` * Sub-service: **${i.toLowerCase()}**`:""}${o!==void 0?` * Product: **${o.toLowerCase()}**`:""}${r!==void 0?` * Technology: **${r.toLowerCase()}**`:""}`;return s=s.replace(//g,">"),s}function dHe(e,t){if(!e)return;let o=e.textContent;e.textContent=NZ.replace("{productName}",o),t&&(t.textContent=FZ.replace("{productName}",o))}async function pHe(e,t,o){let[n,i]=await Promise.all([EB(e.src).then(()=>!0).catch(()=>!1),EB(t.src).then(()=>!0).catch(()=>!1)]);n&&i&&(o.hidden=!1)}function kye(){let e=document.body.querySelector(".feedback-section");if(e){if(b.data.pageTemplate==="ModuleUnit"){w.moduleUnitFeedbackReport||mHe(e);return}if(w.openSourceFeedback&&b.data.openSourceFeedbackIssueUrl){let t=document.body.querySelector("[data-open-source-feedback-section]");t&&Aye(t,b.data.openSourceFeedbackIssueUrl,Sr.versionIndependentDocumentId,Sr.documentId,Sr.platformId,Sr.product,Sr.service,Sr.subservice,Sr.technology,Sr.documentSourceUrl,R.supportLevel,R.reviewFeatures,J,Sr.author,b.data.openSourceFeedbackIssueTitle,b.data.openSourceFeedbackIssueLabels)}addEventListener("keydown",({keyCode:t,altKey:o,ctrlKey:n})=>{t===71&&o&&n&&yr(Eye(""),document.body)&&alert("\u2705 GitHub issue footer copied.")})}}function mHe(e){if(e){e.hidden=!0;for(let t of document.querySelectorAll("[data-feedback-section-link]"))t.hidden=!0}}A();var gHe=P("uhfHeaderId"),fHe=gHe,$t=hHe({brand:b.data.brand,pathnameSegments:PP,page_kind:P("page_kind"),page_type:P("page_type"),headerId:fHe,isAdmin:P("is_admin"),isEditor:P("is_editor")??"false"});function hHe(e){let{brand:t,pathnameSegments:o,page_kind:n,page_type:i,headerId:r,isAdmin:s,isEditor:a}=e;if(s==="true")return"Admin";if(a==="true")return"Editor";if(r==="MSDocsHeader-Archive")return"Archive";if(n==="docs"&&i==="home"||i==="welcome")return"Docs_Home";if(i==="profile")return"Profile";if(i==="locale")return"Locale";if(i==="search")return"Search";if(n==="assessments")return"Assessments";switch(o[2]){case"docs":return"Documentation";case"training":return"Training";case"certifications":return w.previewCredentialsL1?"Credentials":"Certifications";case"credentials":return"Credentials";case"answers":return"Q&A";case"samples":return"Code Samples";case"assessments":return"Assessments";case"shows":return"Shows";case"events":return"Events";case"legal":return"Legal"}if(o[2]==="training"&&R.siteName==="learn")return"Training";if(t==="mooncake")return"Mooncake";if(!r&&R.siteName==="learn")return"Learn";switch(r){case"answers":case"answersv2":case"answersv2MOD":case"answersv2ADMIN":return"Q&A";case"mooncake":return"Mooncake";case"MSDocsHeader-Credentials":return"Credentials";case"MSDocsHeader-Certifications":return w.previewCredentialsL1?"Credentials":"Certifications";case"MSDocsHeader-Events":return"Events";case"MSDocsHeader-Learn":return"Learn";case"MSDocsHeader-RegionalDirectors":return"Regional Directors";case"MSDocsHeader-Shows":return"Shows";case"DEV_Homeheader":case"MSDocsHeader-Advocates":case"devcenter-store-header":case"mixed-reality-header":case"win-dev-center-header":case"win-hardware-header":case"win-iot-devcenter-header":case"reactor":return"Developer";case"MSDocsHeader-DocsL1":return"Documentation";case"MSDocsHeader-Assessments":return"Assessments";default:return"Third-Party"}}var{userLocale:Oo}=b.data,Iye={type:"static-header",brandLink:{displayName:"Learn",href:`/${Oo}/`,biName:"learn"},navLinks:[{title:na,href:`/${Oo}/docs/`,biName:"documentation"},{title:ji,href:`/${Oo}/training/`,biName:"training"},{title:w.previewCredentialsL1?un:Ka,href:w.previewCredentialsL1?`/${Oo}/credentials/`:`/${Oo}/certifications/`,biName:w.previewCredentialsL1?"credentials":"certifications"},{title:"Q&A",href:`/${Oo}/answers/`,biName:"qna"},{title:P$,href:`/${Oo}/samples/browse/`,biName:"code-samples"},{title:DC,href:`/${Oo}/assessments/`,biName:"assessments"},{title:Si,href:`/${Oo}/shows/`,biName:"shows"}]},Lye={type:"static-header",brandLink:{displayName:"Developer",href:`/${Oo}/`,biName:"developer"},navLinks:[{title:"Learn",href:`https://learn.microsoft.com/${Oo}/`,biName:"learn"},{title:na,href:`https://learn.microsoft.com/${Oo}/docs/`,biName:"documentation"},{title:ji,href:`https://learn.microsoft.com/${Oo}/training/`,biName:"training"},{title:"Q&A",href:`https://learn.microsoft.com/${Oo}/answers/`,biName:"qna"},{title:P$,href:`https://learn.microsoft.com/${Oo}/samples/browse/`,biName:"code-samples"},{title:Si,href:`https://learn.microsoft.com/${Oo}/shows/`,biName:"shows"}]},Pye={type:"static-header",brandLink:{displayName:"Learn",href:`/${Oo}/`,biName:"learn"},navLinks:[{title:ji,href:`https://learn.microsoft.com/${Oo}/training/`,biName:"training"},{title:w.previewCredentialsL1?un:Ka,href:w.previewCredentialsL1?`https://learn.microsoft.com/${Oo}/credentials/`:`https://learn.microsoft.com/${Oo}/certifications/`,biName:w.previewCredentialsL1?"credentials":"certifications"},{title:Yie,href:`https://support.azure.cn/${Oo}/support/contact/`,biName:"support"},{title:Si,href:`https://learn.microsoft.com/${Oo}/shows/`,biName:"shows"}]};async function Mye(e=b.data.userLocale){let t=_He();if(t==="developer-header"||t==="mooncake-header")return Rye(t);let o=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",n={branch:pt(["contentnav-branch"],"main")},i=new URL(`/${e}/${o}content-nav/site-header/${t}.json?${ne(n)}`,location.origin);try{let r=await M(i.href,{credentials:"include"});if(!r?.ok)throw new Error(`Site navigation JSON not found for ${t} in ${e}.`);return await r.json()}catch{return console.error(`Site navigation fetching error. Loading static version of ${t}.`),Rye(t)}}function _He(){return R.siteName==="mooncake"?"mooncake-header":$t==="Developer"?"developer-header":"site-header"}function Rye(e){switch(e){case"mooncake-header":return Pye;case"developer-header":return Lye;default:return Iye}}var iv,Dye,rv=new Promise(e=>Dye=e);async function $ye(){iv=await Mye(),Dye()}function zye(){let e=document.getElementById("ms--search-expander-wrapper");if(!e||!e.classList.contains("overflow-x-hidden"))return;let t=e.querySelector("overflow-menu"),o=e.querySelector("search-expander");if(!t||!o)return;let n=o.querySelector("button[data-search-expander-trigger-open]"),i=o.querySelector("button[data-search-expander-trigger-close]");!n||!i||(n.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),i.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),o.addEventListener("keydown",r=>{r.key==="Escape"&&!e.classList.contains("overflow-x-hidden")&&e.classList.toggle("overflow-x-hidden")}),window.addEventListener("click",r=>{r.target instanceof Element&&r.type==="click"&&!o.contains(r.target)&&!e.classList.contains("overflow-x-hidden")&&(r.target.hasAttribute("data-search-expander-autocomplete-suggestion")||e.classList.toggle("overflow-x-hidden"))}))}var cM=class{constructor(){this._contentStack=[];this._titleStack=[]}get stackLength(){return this._contentStack?this._contentStack.length:void 0}get bodyTemplate(){return this.stackLength?this._contentStack[this._contentStack.length-1]:null}push(t){if(!t)throw new Error("Cannot push empty content");this._contentStack.push(t)}pop(){!this._contentStack||this.stackLength<=1||(this._contentStack.pop(),this._titleStack&&this._titleStack?.length>0&&this._titleStack.pop())}pushTitle(t){t&&this._titleStack.push(t)}getTitle(){return!this._titleStack||this._titleStack?.length===0?null:this._titleStack[this._titleStack.length-1]}dispose(){this._contentStack=null}};A();He();var sv=class{constructor(t){this.container=document.createElement("div"),this.container.setAttribute("role","alert"),this.container.setAttribute("aria-live","assertive"),this.container.setAttribute("data-dismissable","disappearing"),this.container.classList.add("toast"),this.container.appendChild(t),this.wrapper=document.createElement("div"),this.wrapper.insertAdjacentElement("afterbegin",this.container),this.contentElement=t}show(){let t=document.querySelector(".toast");t&&RR(t),document.body.insertAdjacentElement("afterbegin",this.container),this.container.classList.add("appearing"),setTimeout(()=>{Lt()},10),setTimeout(()=>{RR(this.container)},3500)}};He();A();function uM(e){for(let t=0;to.setCustomValidity(/^\s+$/.test(o.value)?iX:"")),o instanceof HTMLButtonElement&&o.type==="submit"&&(o.onclick=()=>e.classList.add("show-validation-status"))}}A();async function rn(e,t=!1,o){let n=S.createElement("form");if(n.action="javascript:",e instanceof tl){if(y(e,n),t){let c=n.querySelectorAll("input.loc-checkbox"),u=0,p=n.querySelector("#loc-submit-button");c&&c.forEach(m=>m.addEventListener("change",()=>{m.checked?u++:u--,u===2?p.disabled=!1:p.disabled=!0}))}}else n.appendChild(e);vHe(n);let i=S.createElement("div");i.classList.add("modal-content"),i.appendChild(n);let r=new be(i),s=!1,a={hasError:!1,data:null};return n.addEventListener("submit",async c=>{c.preventDefault(),a=o?await o(n):{hasError:!1,data:null},a.hasError===!1&&(s=!0,r.hide())}),uM(n),await r.show(),{submitted:s,form:n,data:a.hasError?null:a.data}}function vHe(e){if(e.querySelector("form"))throw new Error("The content argument should not contain a form")}function dp(e,t,o=En,n=!1,i=Qj,r,s){return d` `}A();He();He();He();A();A();var ni={0:"Spam",1:"OffTopicIrrelevantPosts",2:"SensitiveInformation",3:"ChildEndangermentExploitation",4:"Terrorism",5:"HateSpeech",6:"CoordinationOfHarm",7:"NonConsensualAdultImages",8:"GraphicViolenceHumanGore",9:"AdultNudity",10:"SuicideSelfHarm",11:"ThreatsCyberbullyingHarassment",12:"Defamation",13:"ProfanityVulgarity",14:"Other",15:"SexualSolicitation",16:"Trafficking",17:"ThreatsOrPraiseOfViolence"};var Nye=[{reason:JX,value:ni[13]},{reason:VX,value:ni[3]},{reason:eee,value:ni[4]},{reason:YX,value:ni[4]},{reason:GX,value:ni[6]},{reason:WX,value:ni[7]},{reason:jX,value:ni[8]},{reason:BX,value:ni[9]},{reason:XX,value:ni[10]},{reason:QX,value:ni[11]},{reason:ZX,value:ni[15]},{reason:tee,value:ni[16]},{reason:oee,value:ni[17]},{reason:KX,value:ni[14]}];function Fye(e){if(!e)return;let t=document.getElementById("tagHeading");if(!t)return;let o=t.getAttribute("data-tag-id"),n=t.innerText;e.primary.href.includes("/ask/")&&(e.primary.href=`${e.primary.href}?id=${o}&styleGuideLabel=${n}`)}function qye(e){if(!e||$t!=="Q&A")return;let t=b.data.userLocale;e&&e.primary.href.includes("/ask/")&&!e.primary.href.includes(t)&&(e.primary.href=`/${t}${e.primary.href}`),e&&e.secondary?.href.includes("/moderation/")&&!e.secondary?.href.includes(t)&&(e.secondary.href=`/${t}${e.secondary.href}`)}var dM=w.userServices&&R.siteName!=="mooncake"&&$t!=="Developer"&&$t!=="Regional Directors",av=$t==="Third-Party"||$t==="Admin"||$t==="Developer"||$t==="Assessments"||$t==="Certifications"||$t==="Credentials"||$t==="Learn"||$t==="Shows"||$t==="Mooncake"||$t==="Q&A"||$t==="Training"||$t==="Legal";function Uye(e){let t=AHe();if(!(!t||t==="exclude"))for(let o of e){let n=o?.id===t;if(n){o.current=n;break}}}var wHe={id:"exclude",pattern:`/${b.data.userLocale}/answers/`,exact:!0,next:{id:"questions",pattern:"/answers/questions",exclude:"/ask/",next:{id:"tags",pattern:"/answers/tags",next:{id:"faq-help",pattern:"/answers/support"}}}},CHe={id:"exclude",pattern:`/${b.data.userLocale}/training/`,exact:!0,next:{id:"career-paths",pattern:"/training/career-paths",next:{id:"browse-training",pattern:"/training/browse",next:{id:"educator-center",pattern:"/training/educator-center",next:{id:"student-hub",pattern:"/training/student-hub",next:{id:"faq-help",pattern:"/training/support",next:{id:"products",pattern:"/training"}}}}}}},EHe={id:"exclude",pattern:`/${b.data.userLocale}/credentials/`,exact:!0,next:{id:"browse",pattern:"/credentials/browse",next:{id:"cert-renewals",pattern:"/credentials/certifications/renew-your-microsoft-certification",next:{id:"faq-help",pattern:"/credentials/support/help"}}}};function AHe(e=P,t=$t){let o;switch(t){case"Learn":case"Training":o=CHe;break;case"Q&A":o=wHe;break;case"Certifications":case"Credentials":o=EHe;break;default:return e("activeMenuId")}return kHe(o)}function kHe(e,t=J.pathname){if(!e)return;let o,n=e;do{let i=!0;n.exclude&&t.includes(n.exclude)&&(i=!1),(n.exact&&t!==n.pattern||t.indexOf(n.pattern)===-1)&&(i=!1),i&&(o=n.id),n=n.next}while(n&&!o);return o}var IHe="DEV_Homeheader";function Oye(){let e=P("uhfHeaderId"),t=e&&e!==IHe?e:"";return(R.reviewFeatures?te()["header-id"]:"")||b.data.context.uhfHeaderId||t}async function Hye(e,t=b.data.userLocale){let o={branch:pt(["contentnav-branch"],"main")},i=`${N.contentNav}/${t}/content-nav/${e}.json?${ne(o)}`,r;try{r=await M(i,{credentials:"include"})}catch{return console.error("Content navigation fetching error."),null}if(!r.ok){let a=new Error(`Content navigation JSON not found for ${e} in ${t}.`);return a.headerId=e,console.error(a),null}let s=await r.json();return s.items.push({kind:"menu",title:ky,biName:"more",items:[]}),s}var ts,pM,lv=new Promise(e=>pM=e);async function Bye(){if(!av){ts=null,pM();return}let e=Oye();if(!e){ts=null,pM();return}ts=await Hye(e),ts&&(qye(ts.callToAction),Fye(ts.callToAction),Uye(ts.items)),pM()}A();A();function LHe(e,t,o,n){let i;return o&&(i=[],i.push("font-weight-semibold","font-size-md")),e.kind==="link"?mM(e,`secondary-nav-link-${n+1}`,!1,i,o):PHe(e,t,i,n)}function mM({href:e,title:t,biName:o},n,i=!1,r=[],s=!1,a=!1){let l=i?"has-text-primary":"",c=s?"":"has-external-link-indicator",u;a?u=o?`secondary-nav-link-category-${o}-mobile`:"secondary-nav-link-category-mobile":u=o?`secondary-nav-link-${o}-mobile`:"secondary-nav-link-mobile",i&&(u=o?`${n}-${o}-mobile`:`${n}-mobile`);let p=et(e,b.data.userLocale);return d`
  • ${t}
  • `}function PHe(e,t,o=[],n){let i=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",r=e.id?`ms--secondary-nav-btn-${e.id}`:`ms--secondary-nav-btn-${n+1}`,s=e.biName?`secondary-nav-btn-${e.biName}-mobile`:"secondary-nav-btn-mobile",a=e.biName?`secondary-nav-menu-${e.biName}-mobile`:"secondary-nav-menu-mobile";return d`
  • `}function Vye(e,t){return d` `}function Gye(e,t,o,n,i,r,s,a,l,c,u){let p=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",m=o?"secondary-nav":"primary-nav";return d` ${zHe(s,o)&&n>=2&&u?d`
    `:null} ${s?d`
    `:null} `}function Qye(e,t){if(!e)throw new Error("Site header data is unavailable.");return RHe(e,t)}function RHe(e,t){if(e.type==="static-header")return MHe(e);if(!t)throw new Error("Menu handler is not available");return DHe(e,t)}function MHe(e){let t=e.navLinks.map(o=>{let n=et(o.href,b.data.userLocale);return d`
  • ${o.title}
  • `});return d` `}function DHe(e,t){let o=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",n=e.navCategories.map(i=>{let r=`site-header-btn-${i.biName}-mobile`,s=`ms--${r}`;return d`
  • `});return d` `}function jye(e,t,o,n,i,r){let s=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",a=b.data.userLocale,l=d`
    `,c=d`
    `,u="";if(e.panelLink){let g=e.panelLink,f=et(g.href,a);u=d` ${g.title} `}let p="";if(r){let g=r.map(f=>{let _=et(f.href,a);return d` `});p=d`
    ${g}
    `}let m=[];return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(g=>{let f=et(g.href,a),_=d`
  • `;m.push(_)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(g=>{let f=et(g.href,a),_=d`
  • ${g.title}
  • `;m.push(_)}),d` ${l}
    ${c} ${u}
    ${p}
    `}function Yye(){let e="#",t=k.isAuthenticated?"button-clear inner-focus":"auth-status-determined not-authenticated button-filled button-primary";t=`docs-sign-${k.isAuthenticated?"out":"in"} `+t;let o=d`

    ${z(Ise)}

    `,n=d` ${k.isAuthenticated?$He():o}
    ${k.isAuthenticated?d` ${Ny} `:""} ${k.isAuthenticated?zp:Qi}
    `;return d`
    ${dM?n:o}
    `}function $He(){return d` `}function zHe(e,t){return t||$t!=="Docs_Home"&&e}async function Kye(e,t){if(await rv,!t)throw new Error("Site header data is unavailable.");let o=S.createElement("div");o.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),o.setAttribute("data-test-id","global-navigation-mobile");let n=new cM;o.paint=()=>{y(d` ${Vye(e,t.brandLink.displayName)} ${Yye()} `,o)};function i(ue){o.paint();let Ce=o.querySelector("#modal-body");if(ue){let ae=Ce.querySelector(`#${ue}`);if(ae){ae.focus();return}}NHe(Ce)}function r(ue){let Ce=ue.target instanceof HTMLElement&&ue.target.closest("button");if(!Ce||!Ce.classList.contains("pop-content"))return;let ae=Ce.getAttribute("data-back-id");n.pop(),i(ae)}let s=e.subscribe(Ze,o.paint);o.dispose=()=>{n.dispose(),s(),o.removeEventListener("click",r)};let a=Wye(e.items),l,c,u,p,m,g,f,_,h,x,v;function T(ue,Ce,ae){a=ue.items,l=ue.title,g=Ce,f=ae,c=null,u=null,p=null,m=n.getTitle(),C(!0),i()}function I(ue,Ce,ae,ht,It,Vt){h=ue,x=Ce,v=Vt,g=ae,f=ht,_=It,C(!1,!0),i()}function C(ue=!1,Ce=!1){let ae;!ue&&!Ce&&t?ae=Qye(t,I):Ce?ae=jye(h,x,g,_,kp,v):ae=Gye(a,T,ue,n.stackLength,g,f,l,c,u,p,m),n.push(ae),n.pushTitle(l)}function H(){C(),o.paint()}function F(){if(!(n.stackLength<=1)){for(;n.stackLength>1;)n.stackLength===2&&(e.secondaryNav=!1),n.pop();i()}}if(H(),o.addEventListener("click",r),av){await lv;let ue=ts;ue&&(c=ue.category,u=ue.callToAction,p=ue.preview,l=ue.category?ue.category.title:null,a=Wye(ue.items),C(!0),i(),e.secondaryNav=!0,o.querySelector("#modal-header button.button").onclick=F)}return o}function NHe(e){let t=e.querySelector("[data-autofocus]");if(t&&AP(t)){t.focus();return}e.focus()}function Wye(e){return e.slice(0,e.length-1)}var cv=class extends Be{constructor(){super();this._items=[{title:ky,kind:"menu",items:[],biName:"more"}];this._mobile=!1;this._desktop=!1;this._mobileNavExpanded=!1;this._secondaryNav=!1}get items(){return this._items}set items(o){this._items=o&&o.length?o:[{title:ky,kind:"menu",items:[],id:"more",biName:"more"}],this.more.items=Gs(this._items.slice(0,this._items.length-1)),this.resetItemVisibility(),this.notifyPropertyChanged()}get mobile(){return this._mobile}set mobile(o){this._mobile=o,this._mobileNavExpanded=!1,this.notifyPropertyChanged()}get desktop(){return this._desktop}set desktop(o){this._desktop=o,this.notifyPropertyChanged()}get mobileNavExpanded(){return this._mobileNavExpanded}set mobileNavExpanded(o){this._mobileNavExpanded=o,this.notifyPropertyChanged()}get secondaryNav(){return this._secondaryNav}set secondaryNav(o){this._secondaryNav=o,this.notifyPropertyChanged()}get more(){let o=this._items.length;return o?this._items[o-1]:null}resetItemVisibility(){this.items.length!==0&&(this.items.forEach(o=>o.hidden=!1),this.more.hidden=!0,this.more.items.forEach(o=>o.hidden=!0))}notifyPropertyChanged(){this.publish(new Ze)}};function Jye(){let e=document.querySelector("#ms--site-header-hamburger > button");if(!e)return;let t=new cv;e.addEventListener("click",()=>FHe(t))}async function FHe(e){await rv;let t=await Kye(e,iv),o=new be(t),n=window.outerWidth;function i(){t.dispose(),window.removeEventListener("resize",r),e.mobileNavExpanded=!1}function r(){o.hide(),i()}window.addEventListener("resize",()=>{window.outerWidth!==n&&r()},{passive:!0}),e.mobileNavExpanded=!0,await o.show()}A();var t6;function Zye(){return t6===void 0&&(t6=(async()=>Ve("user-analytics",{require:!0})?!0:qn("user-analytics-dashboard"))()),t6}A();var Ha="autocomplete-change-event",iw="autocomplete-displayed-event";function wr(e){e.input.placeholder=e.input.placeholder||"",e.input.type=e.input.type||"text",e.input.required=e.input.required||!1,e.input.disabled=e.input.disabled||!1;let{getSuggestions:t,getTitle:o=Me=>typeof Me?.toString=="function"?Me.toString():Me,itemTemplate:n=o,noResultsTemplate:i=null,initialValue:r=null,input:{biName:s},exclude:a=Me=>!1,showLoader:l=!0}=e,c=document.createElement("div");c.classList.add("autocomplete"),e.input.isFullWidth&&c.classList.add("display-block"),c.setAttribute("data-bi-name","autocomplete");let u=Je(),p=`${u}-listbox`,m=Me=>Me===-1?"":`${u}-option-${Me}`,g=[],f=-1,_=r?o(r):"",h="",x=r,v=0,T=!1,I=!1,C="";e.input.size&&(C=e.input.size==="small"?"input-sm":"input-lg");let H=()=>{let Me=c.querySelector(`#${p}`),D=Me.children.item(f===-1?0:f);D?D.offsetTop+D.offsetHeight>Me.offsetHeight?Me.scrollTop=D.offsetTop-Me.offsetHeight+D.offsetHeight+4:D.offsetTop{y(bt(),c);let Me=c.querySelector("input");Me&&(Me.value=_||h),H()},ue=()=>{g=[],f=-1,F()},Ce=(Me,D)=>{let Q=h;if(x=Me,_=Me?o(Me):"",h=_,ue(),D&&Me){let $=new CustomEvent(Ha,{detail:{suggestion:Me,term:Q},bubbles:!0});c.dispatchEvent($)}};Object.defineProperty(c,"value",{get(){return x},set(Me){Ce(Me,!1)}});let ae=async()=>{if(h===""){T=!1,x=null,ue();return}g=await t(h),g=g.filter(D=>!a(D));let Me=new CustomEvent(iw,{detail:g,bubbles:!0});c.dispatchEvent(Me),g.length||kt(xZ,"assertive",2e3),f=-1,T=!1,F()},ht=Me=>{let Q=Me?.url;Q&&Q.href&&window.open(Q.href,"_blank")},It=Me=>{let D=Me.target instanceof Element&&Me.target.closest('[role="option"]');if(!D)return;Me.preventDefault();let Q=D.parentElement,$=0;for(;${clearTimeout(v),v=setTimeout(ae,250);let D=Me.target;h=D.value,_="",!T&&D.value!==""&&!I&&(T=!0,F())},yo=()=>{I=!0},Ht=()=>{I=!1},ao=()=>ue(),Mt=Me=>{let{keyCode:D,shiftKey:Q,altKey:$,ctrlKey:X}=Me;if(!(Q||$||X)){if(D===ke.down){Me.preventDefault(),f0?(f--,_=o(g[f])):(f=-1,_=h),F();return}if(D===ke.escape){Me.preventDefault(),Ce(x,!1);return}if(D===ke.enter){if(f>=0){let pe=g[f];Ce(pe,!0)}return}}};function bt(){let Me=e.input.docon?d` `:"";return d`
    ${Me} ${l?d` `:""}
      D.preventDefault()} @click=${It} @keyup=${D=>(D.key==="Enter"||D.key==="Spacebar")&&It} ?hidden=${!h.length||T||!i&&!g.length||_===h} > ${g.map((D,Q)=>d`
    • ${n(D)}
    • `)} ${!g.length&&i?d`
    • ${i}
    • `:""}
    `}return F(),c.addEventListener("compositionstart",yo),c.addEventListener("compositionend",Ht),c}var gM=["All","Ai","Documentation","Training","Credential","QnA","Reference","Show"];async function Xye(e,t=b.data.userLocale){let o={query:e,suggestions:[]};if(!e)return Promise.resolve(o);let n=`${N.siteSearch}/autocomplete?${ne({locale:t,query:e})}`,i={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},r=await M(n,i);if(r.ok)return r.json();if(r.status===403)return{query:e,suggestions:[]};throw new Qt(r)}function rw(e){let t=new URLSearchParams(e),o=t.get("category")||"All",n=gM.find(i=>i.localeCompare(o,void 0,{sensitivity:"base"})===0)||"All";return{dataSource:t.get("dataSource"),category:n,skip:parseInt(t.get("skip")||"0"),term:t.get("search"),scope:t.get("scope"),preview:t.get("preview")}}A();function exe(){let e=b.data.context.searchScope||P("scope");if(b.data.pageTemplate==="SearchPage"&&(e=rw(location.search).scope),P("hideScope")==="true"||!e)return"";let n=e.split(",").map(i=>i.trim()).filter(i=>i.length);return n.length?n[n.length-1]:""}function o6(e=J.pathname,t={}){let o=decodeURI(Un(e)).toLowerCase().split("/").slice(1),[n="",i=""]=o;return{parts:o,firstPart:n,secondPart:i,pageKind:Pr.kind,pageType:Pr.type,msTopic:P("ms.topic"),...t}}function fM(e,t=o6()){if(e==="site"){if(t.firstPart==="docs")return"Documentation";if(t.firstPart==="training"||t.pageKind==="learn")return"Training";if(t.firstPart==="answers")return"QnA";if(t.firstPart==="credentials")return"Credential";if(t.firstPart==="shows")return"Show"}return e==="toc"&&t.pageType==="conceptual"?"Documentation":t.firstPart==="powershell"&&t.secondPart==="module"||t.parts.includes("api")||t.msTopic==="generated-reference"?"Reference":"All"}async function txe(e){let t={query:e,suggestions:[]};if(!e)return Promise.resolve(t);let o=`${N.siteSearch}/user?${ne({query:e})}&$top=30&$skip=0&$filter=questionAuthor eq true`,n={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},i=await M(o,n);if(i.ok)return i.json();if(i.status===403)return{query:e,suggestions:[]};throw new Qt(i)}var uv=typeof Blob=="function"&&typeof PerformanceObserver=="function"&&typeof Intl=="object"&&typeof MutationObserver=="function"&&typeof URLSearchParams=="function"&&typeof WebSocket=="function"&&typeof IntersectionObserver=="function"&&typeof queueMicrotask=="function"&&typeof TextEncoder=="function"&&typeof TextDecoder=="function"&&typeof customElements=="object"&&typeof HTMLDetailsElement=="function"&&typeof AbortController=="function"&&typeof AbortSignal=="function"&&"entries"in FormData.prototype&&"toggleAttribute"in Element.prototype&&"replaceChildren"in Element.prototype&&"fromEntries"in Object&&"flatMap"in Array.prototype&&"trimEnd"in String.prototype&&"allSettled"in Promise&&"matchAll"in String.prototype&&"replaceAll"in String.prototype&&!0;var qHe=1e4,UHe=4e3,oxe=Symbol("scenario timeout"),xi=class{constructor(t,o=32e3,n=window.fetch){this.scenario=t;this.timeLimitMs=o;this.fetch=n;this._timeoutHandle=0;this._pingTimeoutHandle=0;this._start=0}succeed(){this.complete(!0,void 0)}updateProgress(t){this._start!==0&&(this._diagnostics.scenarioProgress={progress:t,duration:performance.now()-this._start})}fail(t){this.complete(!1,t)}cancel(){this.unsubscribe(),this._start=0,this._diagnostics=null}start(){this.cancel(),this._diagnostics={type:"scenario-health",version:"1",scenario:this.scenario,durationInMilliseconds:0,succeeded:!0,reason:void 0,startConnection:Zf.connection?.effectiveType??"unknown",endConnection:"unknown",wasHidden:S.visibilityState==="hidden",wentOffline:!Zf.onLine,supportedBrowser:uv,resources:[],pings:{},startDateTime:new Date().toISOString(),pingStartDateTime:null,endDateTime:null,scenarioProgress:null},this._start=performance.now(),addEventListener("visibilitychange",this),addEventListener("offline",this),this._timeoutHandle=setTimeout(()=>this.complete(!1,oxe),this.timeLimitMs),this._pingTimeoutHandle=setTimeout(()=>this.collectPingDiagnostics(),qHe)}handleEvent(){var t,o;(t=this._diagnostics).wasHidden||(t.wasHidden=S.visibilityState==="hidden"),(o=this._diagnostics).wentOffline||(o.wentOffline=!Zf.onLine)}complete(t,o){this.unsubscribe();let n=this._start;if(n===0)return;this._start=0;let i=this._diagnostics;i.scenarioProgress=t?{progress:"Succeeded",duration:performance.now()-n}:i.scenarioProgress,i.endDateTime=new Date().toISOString(),i.succeeded=t,i.durationInMilliseconds=performance.now()-n,i.reason=t?void 0:OHe(o),i.endConnection=Zf.connection?.effectiveType??"unknown",i.resources=Array.from(performance.getEntriesByType("resource")).filter(r=>r.startTime>=n).map(r=>r.toJSON()).filter(r=>r.initiatorType==="fetch"&&r.name.startsWith(location.origin)).map(r=>(r.connectEnd=Math.floor(r.connectEnd),r.connectStart=Math.floor(r.connectStart),r.domainLookupEnd=Math.floor(r.domainLookupEnd),r.domainLookupStart=Math.floor(r.domainLookupStart),r.duration=Math.floor(r.duration),r.fetchStart=Math.floor(r.fetchStart),r.redirectEnd=Math.floor(r.redirectEnd),r.redirectStart=Math.floor(r.redirectStart),r.requestStart=Math.floor(r.requestStart),r.responseEnd=Math.floor(r.responseEnd),r.responseStart=Math.floor(r.responseStart),r.secureConnectionStart=Math.floor(r.secureConnectionStart),r.startTime=Math.floor(r.startTime),r.workerStart=Math.floor(r.workerStart),r)),xe({actionType:we.OTHER,behavior:le.OTHER,content:i})}unsubscribe(){removeEventListener("visibilitychange",this),removeEventListener("offline",this),clearTimeout(this._timeoutHandle),clearTimeout(this._pingTimeoutHandle)}collectPingDiagnostics(){this._diagnostics.pingStartDateTime=new Date().toISOString();let t=new AbortController,o=t.signal;setTimeout(()=>t.abort(),UHe);let n=async(i,r)=>{let s=performance.now();try{await this.fetch.call(window,r,{cache:"no-store",mode:"no-cors",signal:o}),this._diagnostics.pings[i]={response:!0,duration:Math.floor(performance.now()-s)}}catch{this._diagnostics.pings[i]={response:!1,duration:Math.floor(performance.now()-s)}}};return Promise.all([n("docs",`${location.origin}/robots.txt`)])}};function OHe(e){return e===oxe?{type:"scenario-timeout"}:e instanceof Response||e instanceof Qt?{type:"dependency",url:e.url,status:e.status,statusText:e.statusText,headers:e.headers instanceof Headers?SB(e.headers):e.headers}:e instanceof Error?{type:"exception",name:e.name,message:e.message,stack:e.stack}:{type:"unknown",value:String(e)}}async function pv(e){if(w.disableSiteSearchSuggestions)return[];let t=new xi("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.replace(/^[\s`~!@^,]+/,"").replace(/[\s`~!@^,]+$/,""),e.length<2)return t.cancel(),[];let o=await Xye(e,b.data.userLocale);return t.succeed(),o.suggestions}catch(o){return t.fail(o),[]}}async function nxe(e){let t=new xi("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.trim(),e.length<1)return t.cancel(),[];let o=await txe(e);t.succeed();let n=[],i=[];for(let r of o.suggestions)r.displayName.toLowerCase().startsWith(e)?n.push(r):i.push(r);return n.sort((r,s)=>r.displayName.localeCompare(s.displayName)),i.sort((r,s)=>r.displayName.localeCompare(s.displayName)),o.suggestions=n.concat(i),o.suggestions}catch(o){return t.fail(o),[]}}function rxe(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};n6(t)}function hM(e){let t=e.detail.map(o=>({title:o}));i6(t)}function n6({suggestion:e,term:t}){xe({behavior:le.SEARCHAUTOCOMPLETE,actionType:we.OTHER,content:{srchq:t,srchtype:"auto suggest",resultselected:e.title,resulttype:e.type||"",resulturl:e.url||""}})}function i6(e){let t=[{srchtype:"auto suggest"}];e.forEach((o,n)=>{t.push({cN:o.title,sN:n,type:o.type||"",url:o.url||""})}),xe({content:t})}var ixe=!1;function sxe(e,t,o,n,i,r,s,a){ixe?fI():ixe=!0,xe({behavior:le.OTHER,actionType:we.OTHER,content:{event:"uhf-search-results",category:n,term:e.terms,scope:e.scope||"",results:t.length,resultUrls:t,skip:e.skip,dataSource:e.dataSource||a||"",scoringProfileName:e.scoringProfile||"",experimentId:P("experiment_id"),hideCompleted:e.hideCompleted||"",count:o,scopeRemoved:i,spellingCorrection:r,semanticCaptions:s}})}function axe(e,t,o,n,i){let r=n===!0?1:0;xe({behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:"search-answer-feedback",sat:r,searchTerm:e,question:t,answer:o,authType:i.toString()}})}function bM(e,t,o,n,i,r,s,a){!t||!o||(xe({behavior:le.OTHER,actionType:we.OTHER,content:{event:"search-answer-result",searchTerm:e,copilotQuestion:t,copilotAnswer:o,authType:n.toString()}}),a&&xe({content:{autoIngest:!0,type:"search-answer-request",name:"search-answer",triggeredTimestamp:i,returnedTimestamp:r,answerType:s}}))}function lxe(e,t,o,n,i){xe({behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:"deep-search-feedback",sat:t?1:0,query:e,reasons:n??"",verbatim:i??"",isEmptyResponse:0,authType:o.toString()}})}var HHe="https://www.azure.cn/searchresults/";function r6(){let e;return b.data.brand==="mooncake"?e=HHe:!R.systemContent&&R.accessLevel!=="local"?e=`https://learn.microsoft.com/${b.data.userLocale}/search/`:e=`/${b.data.userLocale}/${Ut?"test/docs/search/search":"search/"}`,e}function s6(){let e=exe(),t=BHe(),o=VHe();return{scope:e,category:t,dataSource:pn()?"previousVersions":"",preview:o}}function BHe(){let e=rw(J.search)?.category;if(e?.toLowerCase()!=="all")return e;let t=fM("site",o6());return t&&t!=="All"?t:""}function VHe(){return rw(J.search).preview||""}function a6(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};n6(t)}function l6(e){let t=e.detail.map(o=>({title:o}));i6(t)}function _M(e,t,o,n){if(!e)return;let i=S.getElementById(o),r=i.placeholder,s=i.value,a=e.parentElement;if(!a)return;let l=n?`${n}-search`:void 0,c={input:{id:`${t}-autocomplete-input`,placeholder:r,size:"large",label:no,isFullWidth:!0,name:"terms",biName:l},initialValue:s,getSuggestions:pv,itemTemplate:x=>d` ${x} `,showLoader:!w.disableSiteSearchSuggestions},u=wr(c),{scope:p,category:m,dataSource:g,preview:f}=s6(),_=n?`${n}-search-form`:void 0,h=n?`${n}-search-submit`:void 0;y(d` `,a)}A();var pp="display-block font-size-sm padding-inline-xxs",vM;function yM(e,t){if(vM===void 0){let c=(P("scope")||"").split(",").map(u=>u.trim()).filter(u=>u.length);vM=c.length?c[c.length-1]:""}let o="";vM&&t&&(o=vM);let n=pn()?"previousVersions":"",i=Ut?"/test/docs/search/search":"/search/",r=fM("toc"),s=`${i}?${ne({search:e,scope:o,dataSource:n,category:r==="All"?void 0:r})}`;return{title:o?vZ.replace("{term}",e).replace("{searchScope}",o):yZ.replace("{term}",e),url:s}}function sw(e){return e.indexOf("/search/?search")!==-1||Ut&&e.indexOf("/search/search?search")!==-1}async function xM(e,t,o){Jt(e,{behavior:le.APPLY,targetUri:o,content:{event:"autocomplete",title:t,href:o}})}function cxe(e=!1){let{category:t,dataSource:o,preview:n}=s6(),i=$t==="Search"?"":t,r=r6(),s=b.data.brand==="mooncake"?"q":"terms",a={input:{id:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input",type:"search",placeholder:pn()?$y:no,label:no,isFullWidth:!0,name:s,biName:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input"},getSuggestions:pv,itemTemplate:p=>d` ${p} `,showLoader:!w.disableSiteSearchSuggestions};e||(a.input.size="small");let l=wr(a),c=e?"ms--site-header-search-form-mobile":"ms--site-header-search-form",u=e?"site-header-search-form-mobile":"site-header-search-form";return d` `}function uxe(e){return e?d` ${pxe()}
    ${mxe(e.brandLink)}
    ${YHe(e)} ${gxe()}
    ${fxe()} `:""}function dxe(e){return e?d`
    ${mxe(e.brandLink,!0)} ${pxe(!0)} ${gxe(!0)} ${fxe(!0)} `:""}function pxe(e=!1){let t="site-header-microsoft-logo",o="site-header-microsoft-logo",n="";e&&(t="site-header-microsoft-logo-mobile",o="site-header-microsoft-logo-mobile",n="site-header-logo-centered");let i=d` `;return d` `}function mxe(e,t=!1){if(!e)return"";let o=et(e.href,b.data.userLocale),n=t?`site-header-brand-${e.biName}-mobile`:`site-header-brand-${e.biName}`;return d` `}function gxe(e=!1){let t=cxe(e),o="flex-grow-1 margin-left-xxs";e&&(o="display-flex flex-grow-1 justify-content-flex-end");let n=e?"site-header-search-open-mobile":"site-header-search-open",i=e?"site-header-search-close-mobile":"site-header-search-close",r=e?"site-header-search-mobile":"site-header-search",s=e?"ms--site-header-search-mobile":"ms--site-header-search";return d` `}function fxe(e=!1){if(!dM)return"";let n=d` `,i=e?"site-header-user-mobile":"site-header-user",r=e?"site-header-user-mobile":"site-header-user",s=e?"site-header-sign-out-mobile":"site-header-sign-out",a=e?"site-header-user-sign-out-mobile":"site-header-user-sign-out",l=e?"ms--user-display-name-mobile":"ms--user-display-name",u=d`

    `;return d`${n} ${u}`}function GHe(e,t){if(!e)return"";let o="";if(t){let i=t.map(r=>{let s=et(r.href,b.data.userLocale);return d` `});o=d` `}let n=e.map((i,r)=>{let s=`ms--panel-${r+1}`;return d`
  • `});return d`
      ${n}
    `}function QHe(e,t){if(!e)return"";let o=b.data.userLocale,n="";if(e.panelLink){let s=e.panelLink,a=et(s.href,o);n=d` ${s.title} `}let i=[],r="site-header-panel-links";return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(s=>{r="site-header-panel-cards";let a=et(s.href,o),l=d`
  • `;i.push(l)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(s=>{let a=et(s.href,o),l=d`
  • ${s.title}
  • `;i.push(l)}),d`
      ${i}
    ${n}
    ${t} `}function jHe(e){if(!e)return"";let t=e.map((o,n)=>{let i=et(o.href,b.data.userLocale);return d`
  • ${o.title}
  • `});return d`
      ${t}
    `}function YHe(e){let t=e.type==="static-header"?jHe(e.navLinks):GHe(e.navCategories,e.featuredContent),o=b.data.userDir==="ltr"?"left":"right",n=b.data.userDir==="ltr"?"right":"left";return d` `}He();rh();A();A();function c6(e,t){let{leftTemplate:o,rightTemplate:n}=e;return d` ${o()} ${n(t)} `}function _xe(e){let t=document.createElement("div");t.classList.add("site-header","width-full");let o=new cv;return t.paint=()=>yxe(t,o,e),Object.defineProperty(t,"items",{enumerable:!0,get:()=>o.items,set:n=>o.items=n}),o.desktop=ki.matches,o.mobile=!Rc.matches,ki.addListener(()=>{o.desktop=ki.matches}),Rc.addListener(()=>{o.mobile=!Rc.matches}),window.addEventListener("resize",()=>{Rc.matches&&WHe(t,o,e)},{passive:!0}),t.paint(),Se.then(()=>{let n=new MutationObserver(i=>{for(let r of i)for(let s=0;st.paint()),window.addEventListener("content-update",()=>t.paint()),t}var vxe=0;function yxe(e,t,o){if(vxe=Date.now(),t.resetItemVisibility(),y(c6(o,t),e),t.mobile)return;let n=e.querySelector(".nav-bar-spacer"),{more:i,items:r}=t,s=r.length-1;for(;s>0&&n.getBoundingClientRect().width===0;)s--,i.hidden=!1,r[s].hidden=!0,i.items[s].hidden=!1,y(c6(o,t),e)}var hxe=0,bxe=50;function WHe(e,t,o){clearTimeout(hxe),Date.now()-vxe>bxe?e.paint():hxe=setTimeout(yxe,bxe,e,t,o)}async function Txe(){if(await lv,!ts)return null;let e=_xe(KHe(ts));return e.items=ts.items,e}function KHe(e){let{category:t,callToAction:o,preview:n}=e,i="";return o&&(i=JHe(o)),{leftTemplate:()=>ZHe(t,n),rightTemplate:a=>d` ${eBe(a,jne)} ${i} ${XHe()} `}}function JHe(e){if(!e)return"";let{primary:t,secondary:o}=e,n="";return o&&(n=xxe(o,!0)),d`
    ${n} ${xxe(t)}
    `}function xxe(e,t=!1){if(!e)return"";let{href:o,title:n}=e,i;return e.biName?i=t?`secondary-nav-cta-secondary-${e.biName}`:`secondary-nav-cta-primary-${e.biName}`:i=t?"secondary-nav-cta-secondary":"secondary-nav-cta-primary",d` ${n} `}function ZHe(e,t){let{href:o,title:n,biName:i}=e,r=et(o,b.data.userLocale),s=wxe(r),a=i?`secondary-nav-link-category-${i}`:"secondary-nav-link-category";return d` `}function XHe(){return $t!=="Learn"&&$t!=="Training"?"":d` `}function eBe(e,t){let{items:o}=e;return d` `}function Sxe(e,t){return e.kind==="link"?tBe(e,t):oBe(e,t)}function tBe(e,t){let o=e.current?"is-active":"",n=et(e.href,b.data.userLocale),i=wxe(n,!!o),r=e.biName?`secondary-nav-link-${e.biName}`:"secondary-nav-link";return t?d`
  • ${e.title}
  • `:d`
  • ${e.title}
  • `}function oBe(e,t){let o=Tp(),n=t?b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light":"chevron-down-light",i=t?"":"expanded-indicator",r=e.current?"is-active":"",s=e.current?"true":void 0,a=e.biName?`secondary-nav-btn-${e.biName}`:"secondary-nav-btn",l=e.biName?`secondary-nav-menu-${e.biName}`:"secondary-nav-menu";return d` `}function nBe(e,t=new URL(window.location.href)){return e.origin===t.origin&&e.pathname.toLowerCase().replace(/\//gi,"")===t.pathname.toLowerCase().replace(/\//gi,"")}function wxe(e,t){let o=new URL(e,window.location.origin);if(nBe(o)&&t)return"page";if(t)return"true"}var mv,TM=new Promise(e=>mv=e);async function Cxe(){$ye(),Bye(),iBe()}async function iBe(){await rv;let e=uxe(iv),t=dxe(iv);await Se;let o=S.querySelector("#ms--site-header");if(!o){mv();return}let n=o.querySelector("#ms--primary-nav");if(!n){mv();return}let i=o.querySelector("#ms--mobile-nav");if(!i){mv();return}y(e,n),y(t,i),zye(),Jye();let r=o.querySelector("#ms--secondary-nav");if(!r){mv();return}if(av){await lv;let s=await Txe();r.classList.contains("site-header")&&s?(r.classList.remove("site-header"),y(s,r)):r.remove()}else r.remove();mv()}var rBe=["Conceptual","ContentPage","Hub","Reference","Architecture","FAQ","HowTo"];function gv(e){if(!e||!rBe.includes(b.data.pageTemplate))return;let t=[".content",".content section",".content [data-moniker]",".content [data-pivot]",".anchor-headings"],o=["h2","h3","h4","h5","h6"];Array.from(e.querySelectorAll(`${o.join(",")}`)).forEach(i=>{if(i.parentElement&&i.parentElement.matches(`${t.join(",")}`)){let r=i.tagName.toLowerCase(),s=document.createElement("div");s.classList.add("heading-wrapper"),s.setAttribute("data-heading-level",r);let a=jp(i).trim(),l=i.id||qo(a);i.id||(i.id=l),i.classList.add("heading-anchor");let c=document.createElement("a");c.classList.add("anchor-link","docon","docon-link"),c.href="http://approjects.co.za/?big=#"+l,c.setAttribute("aria-label",qne.replace("{title}",a)),s.appendChild(c),i.insertAdjacentElement("beforebegin",s),s.insertAdjacentElement("beforeend",i)}})}A();var sBe=["Conceptual","Episode","Module","Reference"],Exe={Conceptual:{"ai-generated":kY,"ai-assisted":AY,"human-only":IY},Episode:{"ai-generated":LY,"ai-assisted":PY},Module:{"ai-generated":RY,"ai-assisted":MY},Reference:{"ai-generated":DY,"ai-assisted":$Y}};function Axe(){let e=xs("ai-usage"),t=b.data.pageTemplate;!sBe.includes(t)||e.length===0||aBe(t,e)}function aBe(e,t){let o=document.getElementById("ms--inline-notifications"),n=lBe(e,t);if(!o||!n)return;let i=uBe(n);y(i,o)}function lBe(e,t){let o=new Set(t),n=[];for(let i of o)if(Exe[e].hasOwnProperty(i)){let r=Exe[e][i];r&&n.push(r)}return n}function cBe(e){return d`
    ${z(e)}
    `}function uBe(e){return d` ${zo(e,t=>cBe(t))} `}Object.defineProperty(HTMLElement.prototype,"inlineStyle",{set(e){this.style.cssText=e}});Object.defineProperty(HTMLInputElement.prototype,"customValidity",{set(e){this.setCustomValidity(e)}});function Ixe(){let e=document.querySelector('script[src*=".index-"][src$=".js"]');return e?e.src:"unknown-script-src"}function Lxe(){window.addEventListener("unhandledrejection",e=>{let t=kxe(e.type,Ixe(),e.lineno,e.colno,{name:e?.type,message:e?.reason?.message||"Error message unavailable for unhandle rejection in promise",stack:e?.reason?.stack||"No stack available for unhandled rejection in promise",...e?.reason?.message?{}:{troubleshooting:JSON.stringify(e)}});xe({behavior:le.OTHER,content:t})}),window.onerror=(e,t,o,n,i)=>{let r=kxe(e,t,o,n,i);xe({behavior:le.OTHER,content:r})}}function kxe(e,t,o,n,i){let s=new Date().toString();return{type:"learn-client-error",event:e,source:t||Ixe(),lineno:o||0,colno:n||0,message:i?.message||"Error message unavailable",stack:i?.stack||"Stack trace unavailable",name:i?.name||"Error name unavailable",timestamp:s,timeOrigin:window.performance.timeOrigin||void 0,userAgent:window.navigator.userAgent,connectionCategory:window.navigator.connection?.effectiveType||"Unknown",url:window.location.href,supportedBrowser:uv,pageTemplate:b.data.pageTemplate}}var mp,lw,Hxe,wM,m6,hv=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},cw=function(e){if(document.readyState==="loading")return"loading";var t=hv();if(t){if(e(t||100)-1)return o||i;if(o=o?i+">"+o:i,n.id)break;e=n.parentNode}}catch{}return o},Bxe=-1,Vxe=function(){return Bxe},Vg=function(e){addEventListener("pageshow",function(t){t.persisted&&(Bxe=t.timeStamp,e(t))},!0)},AM=function(){var e=hv();return e&&e.activationStart||0},js=function(e,t){var o=hv(),n="navigate";return Vxe()>=0?n="back-forward-cache":o&&(n=document.prerendering||AM()>0?"prerender":document.wasDiscarded?"restore":o.type.replace(/_/g,"-")),{name:e,value:t===void 0?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},bv=function(e,t,o){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(i){Promise.resolve().then(function(){t(i.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},o||{})),n}}catch{}},Ys=function(e,t,o,n){var i,r;return function(s){t.value>=0&&(s||n)&&((r=t.value-(i||0))||i===void 0)&&(i=t.value,t.delta=r,t.rating=function(a,l){return a>l[1]?"poor":a>l[0]?"needs-improvement":"good"}(t.value,o),e(t))}},g6=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},kM=function(e){var t=function(o){o.type!=="pagehide"&&document.visibilityState!=="hidden"||e(o)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},f6=function(e){var t=!1;return function(o){t||(e(o),t=!0)}},fv=-1,Pxe=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},CM=function(e){document.visibilityState==="hidden"&&fv>-1&&(fv=e.type==="visibilitychange"?e.timeStamp:0,pBe())},Rxe=function(){addEventListener("visibilitychange",CM,!0),addEventListener("prerenderingchange",CM,!0)},pBe=function(){removeEventListener("visibilitychange",CM,!0),removeEventListener("prerenderingchange",CM,!0)},h6=function(){return fv<0&&(fv=Pxe(),Rxe(),Vg(function(){setTimeout(function(){fv=Pxe(),Rxe()},0)})),{get firstHiddenTime(){return fv}}},uw=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},Mxe=[1800,3e3],Gxe=function(e,t){t=t||{},uw(function(){var o,n=h6(),i=js("FCP"),r=bv("paint",function(s){s.forEach(function(a){a.name==="first-contentful-paint"&&(r.disconnect(),a.startTimer.value&&(r.value=s,r.entries=a,i())},c=bv("layout-shift",l);c&&(i=Ys(o,r,Dxe,n.reportAllChanges),kM(function(){l(c.takeRecords()),i(!0)}),Vg(function(){s=0,r=js("CLS",0),i=Ys(o,r,Dxe,n.reportAllChanges),g6(function(){return i()})}),setTimeout(i,0))}))})(function(o){(function(n){if(n.entries.length){var i=n.entries.reduce(function(a,l){return a&&a.value>l.value?a:l});if(i&&i.sources&&i.sources.length){var r=(s=i.sources).find(function(a){return a.node&&a.node.nodeType===1})||s[0];if(r)return void(n.attribution={largestShiftTarget:EM(r.node),largestShiftTime:i.startTime,largestShiftValue:i.value,largestShiftSource:r,largestShiftEntry:i,loadState:cw(i.startTime)})}}var s;n.attribution={}})(o),e(o)},t)},jxe=function(e,t){Gxe(function(o){(function(n){if(n.entries.length){var i=hv(),r=n.entries[n.entries.length-1];if(i){var s=i.activationStart||0,a=Math.max(0,i.responseStart-s);return void(n.attribution={timeToFirstByte:a,firstByteToFCP:n.value-a,loadState:cw(n.entries[0].startTime),navigationEntry:i,fcpEntry:r})}}n.attribution={timeToFirstByte:0,firstByteToFCP:n.value,loadState:cw(Vxe())}})(o),e(o)},t)},aw={passive:!0,capture:!0},mBe=new Date,$xe=function(e,t){mp||(mp=t,lw=e,Hxe=new Date,Wxe(removeEventListener),Yxe())},Yxe=function(){if(lw>=0&&lw1e12?new Date:performance.now())-e.timeStamp;e.type=="pointerdown"?function(o,n){var i=function(){$xe(o,n),s()},r=function(){s()},s=function(){removeEventListener("pointerup",i,aw),removeEventListener("pointercancel",r,aw)};addEventListener("pointerup",i,aw),addEventListener("pointercancel",r,aw)}(t,e):$xe(t,e)}},Wxe=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,gBe,aw)})},zxe=[100,300],fBe=function(e,t){t=t||{},uw(function(){var o,n=h6(),i=js("FID"),r=function(l){l.startTimet.latency){if(o)o.entries.push(e),o.latency=Math.max(o.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};d6[n.id]=n,Ql.push(n)}Ql.sort(function(i,r){return r.latency-i.latency}),Ql.splice(10).forEach(function(i){delete d6[i.id]})}},_Be=function(e,t){t=t||{},uw(function(){bBe();var o,n=js("INP"),i=function(s){s.forEach(function(c){c.interactionId&&qxe(c),c.entryType==="first-input"&&!Ql.some(function(u){return u.entries.some(function(p){return c.duration===p.duration&&c.startTime===p.startTime})})&&qxe(c)});var a,l=(a=Math.min(Ql.length-1,Math.floor(Fxe()/50)),Ql[a]);l&&l.latency!==n.value&&(n.value=l.latency,n.entries=l.entries,o())},r=bv("event",i,{durationThreshold:t.durationThreshold||40});o=Ys(e,n,Nxe,t.reportAllChanges),r&&(r.observe({type:"first-input",buffered:!0}),kM(function(){i(r.takeRecords()),n.value<0&&Fxe()>0&&(n.value=0,n.entries=[]),o(!0)}),Vg(function(){Ql=[],Xxe=Zxe(),n=js("INP"),o=Ys(e,n,Nxe,t.reportAllChanges)}))})},eTe=function(e,t){_Be(function(o){(function(n){if(n.entries.length){var i=n.entries.sort(function(r,s){return s.duration-r.duration||s.processingEnd-s.processingStart-(r.processingEnd-r.processingStart)})[0];n.attribution={eventTarget:EM(i.target),eventType:i.name,eventTime:i.startTime,eventEntry:i,loadState:cw(i.startTime)}}else n.attribution={}})(o),e(o)},t)},Uxe=[2500,4e3],p6={},tTe=function(e,t){(function(o,n){n=n||{},uw(function(){var i,r=h6(),s=js("LCP"),a=function(u){var p=u[u.length-1];p&&p.startTimeperformance.now())return;o.value=Math.max(r-AM(),0),o.entries=[i],n(!0),Vg(function(){o=js("TTFB",0),(n=Ys(e,o,Oxe,t.reportAllChanges))(!0)})}})},oTe=function(e,t){yBe(function(o){(function(n){if(n.entries.length){var i=n.entries[0],r=i.activationStart||0,s=Math.max(i.domainLookupStart-r,0),a=Math.max(i.connectStart-r,0),l=Math.max(i.requestStart-r,0);n.attribution={waitingTime:s,dnsTime:a-s,connectionTime:l-a,requestTime:n.value-l,navigationEntry:i}}else n.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}})(o),e(o)},t)};var dw=P("learn-experiments")==="true"&&R.siteName!=="developer"&&R.siteName!=="mooncake",_6=dw?5*1e3:0,xBe="assignmentserviceapi.wus2.dogfood.portalrp.azure-test.net",TBe="assignmentserviceapi.production.portalrp.azure.com",SBe=R.supportLevel==="development"?`https://${xBe}/api/mslearn/variants?api-version=1.0`:`https://${TBe}/api/mslearn/variants?api-version=1.0`;function wBe(){return SBe}var CBe=Eue("MC1",_6),nTe={},IM,b6,iTe=lTe(),rTe=cTe(),sTe,v6=new Promise(e=>{sTe=e});async function LM(e){return!dw||!await Sm?!1:(await v6,e in nTe)}async function aTe(){if(!dw||!await Sm)return;let t=await CBe,o=t?EBe(t):null;if(!o){xe({content:{type:"experiment-no-assignment",name:"experiment-platform-no-mc1-cookie",autoIngest:!0,timestamp:new Date().toISOString()}});return}await ve;let n={mc1:o,audience:{environment:"prod",isAuthenticated:!1,locale:k.locale,referer:document.referrer}};k.isAuthenticated&&(n.userId=k.userId,n.audience.isAuthenticated=!0);let i=JSON.stringify(n),r=K(wBe(),{method:"POST",body:i},!1,!0),s=await M(r,{},_6);if(!s.ok)throw xe({content:{type:"experiment-platform-assignment",name:"assignment-error",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:i,error:`Experiment API failed with status ${s.status}`}}}),new Error(`Experiment API failed: ${s.status}`);let a=await s.json(),l=Object.keys(a.variants);return xe({content:{type:"experiment-platform-assignment",name:"assignment-success",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:i,data:a,dataVersion:a.dataVersion}}}),{assignments:l,rawResponse:a}}function lTe(){return aTe().then(e=>(IM!==void 0&&(clearTimeout(IM),IM=void 0),e!==void 0&&(U.learnExperiments={loaded:!0,assignments:e.assignments,loadTime:performance.now()}),e))}function cTe(){return new Promise(e=>{IM=setTimeout(()=>{e(void 0)},_6)})}async function PM(){uTe();let e=Sm;if(dw){if(!await e){xe({content:{type:"experiment-no-assignment",name:"experiment-platform-no-consent",autoIngest:!0,timestamp:new Date().toISOString()}});return}U.learnExperiments={...U.learnExperiments||{assignments:[]},loaded:!1};try{let t=await Promise.race([iTe,rTe]);t===void 0&&xe({content:{type:"experiment-platform-timeout"}}),t!=null&&typeof t=="object"&&"assignments"in t&&"rawResponse"in t&&(nTe=t.assignments.reduce((o,n)=>(o[n]=!0,o),{}),b6=t.rawResponse),sTe?.(),b6&&pTe("client-side",b6.assignmentContext)}catch(t){xe({content:{type:"experiment-platform-error",content:{error:JSON.stringify(t)}}});return}}}function uTe(){let e=document.getElementById("learn-experiments-context");if(!e||e.tagName!=="SCRIPT")return;let t=e.textContent?.trim();if(!t)return;let o;try{o=JSON.parse(t)}catch(n){xe({content:{type:"experiment-platform-error",content:{error:`learn-experiments-script-parse:${n.message}`}}});return}pTe("server-side",o.assignmentContext)}dt.subscribe(To,async()=>await dTe());dt.subscribe(So,async()=>await dTe());async function dTe(){!dw||!await Sm||(iTe=lTe(),rTe=cTe(),PM())}function pTe(e,t){if(!t)return;let o={actionType:"A",behavior:12,pageTags:{exp_context:t,exp_platform:"learn-experiments"}};Jue(o),xe({content:{type:"experiment-platform-telemetry",name:e+"-experiment",autoIngest:!0,timestamp:new Date().toISOString(),content:o}})}Pl&&(U.__learnExperimentsTestHooks={emitServerExperimentContext:uTe,loadExperimentAssignments:aTe,instrumentExperiments:PM});function EBe(e){let t=e.match(/GUID=([^&;]+)/);return t?t[1]:null}var ABe=w.reportWebVitalsAlways?1:.1,RM=new Set;function Gg(e){RM.add(e)}function mTe(){if(RM.size>0){let e=Array.from(RM);IBe(e),RM.clear()}}function kBe(e){let t={};for(let o of e){let{name:n,value:i}=o;t[n]=i}return t}function IBe(e){let t=kBe(e);xe({content:{type:"web-vitals",version:"1",metrics:t}})}function gTe(){let e=w.reportWebVitalsAlways||Math.random()<=ABe;!uv||!e||(Qxe(Gg),jxe(Gg),eTe(Gg),tTe(Gg),oTe(Gg),Kxe(Gg),LBe(Gg),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&mTe()}),document.addEventListener("pagehide",mTe))}async function LBe(e){if(window.learnExperiments===void 0||(await v6,window.learnExperiments.loadTime===void 0))return;let t=window.learnExperiments.loadTime,o=t<2500?"good":t>4e3?"bad":"needs-improvement";e({value:t,id:crypto.randomUUID(),name:"learnExperimentsLoaded",rating:o,delta:0,entries:[],navigationType:"navigate"})}function fTe(){PBe(),RBe(),MBe(),DBe(),$Be(),zBe(),NBe(),FBe(),UBe(),OBe(),gTe()}async function PBe(){let e=()=>Wue(k.authenticationMode,k.isAuthenticated);k.subscribe(So,e),e(),await k.whenAuthenticated(),xe({content:{event:"user-is-signed-in"}})}function RBe(){function e(t){!t.isTrusted||!(t.target instanceof HTMLSelectElement)||!t.target.hasAttribute(Ao.name)||Jt(t.target,{actionType:we.OTHER,behavior:le.OTHER,content:{event:"select-value-changed",name:wm(t.target),value:t.target.value}})}S.addEventListener("change",e,{passive:!0})}function MBe(){let e="";function t(i){!i.isTrusted||e===i.type||(e=i.type,xe({actionType:we.OTHER,behavior:le.OTHER,content:{event:"page-focus-changed",value:i.type}}))}let o=0;function n(i){clearTimeout(o),o=setTimeout(()=>t(i),50)}U.addEventListener("focus",n,{passive:!0}),U.addEventListener("blur",n,{passive:!0})}function DBe(){function e(){xe({actionType:we.OTHER,behavior:le.OTHER,content:{event:"page-visibility-changed",value:S.hidden?"hidden":"visible"}})}function t(){S.addEventListener("visibilitychange",e,{passive:!0})}S.readyState==="interactive"||S.readyState==="complete"?t():S.addEventListener("DOMContentLoaded",t)}function $Be(){Aue&&Iue.addListener(e=>{e.matches&&xe({actionType:we.OTHER,behavior:le.PRINT,content:{event:"print"}})})}function zBe(){function e(o){if(!o.isTrusted||!(o.target instanceof HTMLElement))return;let{width:n,height:i}=o.target.getBoundingClientRect(),{scrollLeft:r,scrollTop:s,scrollWidth:a,scrollHeight:l}=o.target;Jt(o.target,{actionType:we.OTHER,behavior:le.OTHER,content:{event:"secondary-content-scroll",name:wm(o.target),viewPortWidth:Math.floor(n),viewPortHeight:Math.floor(i),contentWidth:Math.floor(a),contentHeight:Math.floor(l),horizontalOffset:Math.floor(r),verticalOffset:Math.floor(s)}})}function t(o){if(o.target===S)return;let n=o.target;clearTimeout(n.reportScrollTimeout),n.reportScrollTimeout=setTimeout(()=>e(o),100)}U.addEventListener("scroll",t,{passive:!0,capture:!0})}function NBe(){let e=!1;function t(){xe({actionType:we.OTHER,behavior:le.OTHER,content:{event:"unload",anchor:e}})}function o(i){i.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}function n(i){i.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}U.addEventListener("keydown",n,{capture:!0,passive:!0}),U.addEventListener("click",o,{capture:!0,passive:!0}),U.addEventListener("beforeunload",t,{passive:!0})}function FBe(){function e(t){let o=t.target;if(o.id!=="ms--site-header-search-form"&&o.id!=="ms--site-header-search-form-mobile"&&o.id!=="welcome-page-search-form"&&o.id!=="directory-page-search-form"&&o.id!=="facet-search-form")return;qBe(o.id);let i=Array.from(o.querySelectorAll('input[name="terms"], input[name="facet-search-input"]'))[0].value,r=S.activeElement&&S.activeElement instanceof HTMLButtonElement&&S.activeElement.type==="submit"&&!!o.querySelector(`#${S.activeElement.id}`);Jt(o,{actionType:we.OTHER,behavior:le.SEARCH,content:{event:"uhf-search",value:i,submitButton:r}})}U.addEventListener("submit",e,{passive:!0,capture:!0})}function qBe(e){let o={"ms--site-header-search-form":"nav-search-enter","ms--site-header-search-form-mobile":"nav-search-enter","welcome-page-search-form":"hero-search-enter"}[e];o&&xe({behavior:le.SEARCH,actionType:we.OTHER,content:{autoIngest:!0,type:"site-search-submit",name:o}})}function UBe(){function e(t){t.isTrusted&&t.keyCode===70&&t.ctrlKey&&!t.shiftKey&&!t.altKey&&!t.metaKey&&xe({actionType:we.OTHER,behavior:le.OTHER,content:{event:"ctrl-f"}})}U.addEventListener("keydown",e,{passive:!0})}function OBe(){function e(t){let o={referrerUri:t.referrerUrl.href,requestUri:t.url.href,title:t.title,pageName:P("document_id")||"missing document_id",pageType:P("page_type"),pageTags:{}};mI(o.pageTags),Kue(o),fI()}dt.subscribe(To,e)}A();var hTe="azure-auth-complete";function HBe(){let e=te(location.search);return e[hTe]==="true"?(e[hTe]=null,Bt(e,"replaceState"),!0):!1}HBe()&&vS.tryLoadTokens().then(e=>{e&&YBe()});var BBe=d`

    ${Ge(Gne)}

    ${_ge}`;async function MM(e){let t=d`
    ${BBe}
    `;y(t,e);let o=e.firstElementChild.firstElementChild,n=r=>new Promise(s=>{let a=l=>{e.innerHTML="",Ro.value=l,s(l)};r===null?(Ro.value=null,DM(o)):r.length===0?GBe(o):VBe(o,a,r)});Fn.trackEvent({name:"oauth-login-try-load-tokens"});let i=await vS.tryLoadTokens({noInteraction:!1});return n(i)}var y6={light:"light",dark:"dark","high-contrast":"high-contrast"};function bTe(e){let t=document.getElementById("mult-account");t&&(t.src=`/en-us/media/illustrations/multiple-accounts-${y6[e]}.svg?branch=live`);let o=document.getElementById("log-in-media");o&&(o.src=`/en-us/media/illustrations/lock-and-key-${y6[e]}.svg?branch=live`);let n=document.getElementById("profile-icon"),i=k.authenticationMode==="AAD"?"org":"personal";n&&(n.src=`/en-us/media/profile/${i}-account${y6[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`)}function DM(e){jBe(),dt.subscribe(gl,s=>bTe(s.currentTheme));let o=`/en-us/media/illustrations/lock-and-key-${id()}.svg?branch=live`,i=d` `;y(i,e);let r=document.getElementById("try-it-sign-in");r&&r.addEventListener("click",()=>{let s=te();s.tryIt="true",Bt(s,"replaceState"),Jr(null,!1,!0)})}function VBe(e,t,o){dt.subscribe(gl,c=>bTe(c.currentTheme));let n=id(),i=`/en-us/media/illustrations/multiple-accounts-${n}.svg?branch=live`,s=`/en-us/media/profile/${k.authenticationMode==="AAD"?"org":"personal"}-account${n==="light"?"":"-dark-highcontrast"}.svg?branch=live`,l=d`
    ${ise}

    ${nse}


    ${k.upn}

    ${cA}


    `;y(l,e)}function GBe(e){let o=d`
    ${lse}

    ${cse.replace("{email}",k.upn)}

    `;y(o,e)}function QBe(e,t,o){if(o.length===1)t(o[0]);else{let n=()=>{},r=d`
    ${sse}

    ${ose.replace("{email}",k.upn)}

      `;y(r,e);let s=e.firstElementChild.firstElementChild.querySelector("#token-list-container").querySelector("ul.azure-auth-tokens");for(let l of o){let c=`
      `;s.insertAdjacentHTML("beforeend",`
    • ${c}
    • `)}s.lastElementChild.querySelector("hr").hidden=!0;let a=s.querySelectorAll('input[name="tenant-name"]');a[0].checked=!0,n=()=>{e.firstElementChild.firstElementChild.querySelector(".buttons").firstElementChild.querySelector("button#continue-with-tenant").classList.add("is-loading");for(let c=0;c{!this.consoleFrame||!this.consoleFrame.contentWindow||i!==$M||t!=="portalConsole"||o!=="getToken"||(this.messageReceived||(Fn.trackEvent({name:"cloud-shell-message-received"}),this.messageReceived=!0),clearTimeout(this.messageHandlerTimeout),this.replyToken(n))};this.instrumentMessageHandler=()=>{!this.consoleFrame||!this.consoleFrame.contentWindow||(Fn.trackEvent({name:"cloud-shell-not-responsive"}),this.showTroubleshootingMessage())};this.showTroubleshootingMessage=()=>{this.element.innerHTML=`

      ${YQ}

      `};U.addEventListener("message",this.messageHandler),this.element=S.createElement("div"),this.element.classList.add("cloud-shell"),this.element.setAttribute(Ao.name,"azure-cli"),this.messageHandlerTimeout=0,this.interactiveType=t?"powershell":"bash",MM(this.element).then(()=>(this.element.classList.add(`has-text-${this.interactiveType}-invert`,`has-background-${this.interactiveType}`),Promise.resolve())).then(()=>this.whenPageVisible()).then(()=>{let o=KBe(b.data.userLocale);this.element.innerHTML=`

      Azure Cloud Shell

      `;let n=this.element.querySelector('button[data-bi-name="restart"]');n.onclick=()=>this.restart(),this.consoleFrame=this.element.querySelector("iframe"),this.messageHandlerTimeout=setTimeout(this.instrumentMessageHandler,WBe)})}setCode(){return Promise.resolve()}execute(){return Promise.resolve()}restart(){this.consoleFrame.hidden||this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"restart"},$M)}dispose(){U.removeEventListener("message",this.messageHandler)}replyToken(t){let o;switch(t){case"":o=Ro.value.access_token;break;case"microsoft.graph":o=Ro.value.msgraph_access_token,xe({content:{event:"cloud-shell-audience",value:"microsoft.graph"}});break;case"keyvault":o=Ro.value.key_vault_access_token,xe({content:{event:"cloud-shell-audience",value:"keyvault"}});break;default:throw new Error(`Unsupported token audience: "${t}".`)}this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"postToken",audience:t,message:`Bearer ${o}`},$M)}whenPageVisible(){return S.visibilityState==="visible"?Promise.resolve():new Promise(t=>S.addEventListener("visibilitychange",()=>{S.visibilityState==="visible"&&t()}))}},_Te={name:qZ,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};wg({name:"bash",activateButtonConfig:_Te,create:()=>new zM(!1)});wg({name:"powershell",activateButtonConfig:_Te,create:()=>new zM(!0)});function KBe(e){switch(e){case"zh-cn":return"zh-hans";case"zh-hk":return"zh-hans";case"zh-tw":return"zh-hant"}return["en","cs","de","es","fr","hu","it","ja","ko","nl","pl","pt-br","pt-pt","ru","sv","tr","zh-hans","zh-hant"].find(n=>e.indexOf(n)===0)||"en"}var pw=class{constructor(t,o,n=window){this.targetOrigin=o;this.subscriptions=[];this.messageHandler=({data:t,origin:o})=>{if(o!==this.targetOrigin)return;let n=this.subscriptions.filter(i=>i.predicate(t));for(let i of n)i.callback(t)};if(t)t instanceof HTMLIFrameElement?t.contentWindow?this.targetWindowLoaded=Promise.resolve({value:t.contentWindow}):this.targetWindowLoaded=new Promise(i=>{t.onload=()=>i({value:t.contentWindow})}):this.targetWindowLoaded=Promise.resolve({value:t});else throw new Error("target is required");n.addEventListener("message",this.messageHandler)}async publish(t){(await this.targetWindowLoaded).value.postMessage(t,this.targetOrigin)}subscribe(t,o=()=>!0){let n={predicate:o,callback:t};return this.subscriptions.push(n),()=>this.unsubscribe(n)}subscribeOnce(t=()=>!0,o){return new Promise((n,i)=>{let r={},s=o===void 0?0:setTimeout(l,o,r),a=this.subscribe(l,t);function l(c){clearTimeout(s),a(),c===r?i("timeout"):n(c)}})}unsubscribe(t){let o=this.subscriptions.indexOf(t);o!==-1&&this.subscriptions.splice(o,1)}};Cg();var NM=R.supportLevel==="production"&&R.reviewFeatures?"https://tryit.graphexplorerppe.microsoft.com":"https://tryit.graphexplorer.microsoft.com";function JBe(e){let t=ZBe(e);if(!t)return[];let o=XBe(t);return e3e(o)}function ZBe(e){return e.querySelector('h2[id="permissions"] ~ * table, h2[id="permissions"] ~ table')}function XBe(e){let t=e.cloneNode(!0),o=Array.from(t.childNodes);return Array.from(o[0].parentNode.querySelectorAll("[data-ttu-id]")).map(n=>{n.remove()}),t}function e3e(e){return Array.from(e.querySelectorAll("tr")).map(o=>Array.from(o.querySelectorAll("th,td")).map(n=>n.textContent.trim()))}var t3e={name:Wf,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};wg({name:"msgraph",activateButtonConfig:t3e,create:()=>{let e=new URL(NM),t=location.origin,o=document.getElementById("main"),n=JBe(o),i={type:"init",locale:b.data.userLocale,theme:nd,code:"",permissions:n};e.searchParams.set("locale",i.locale),e.searchParams.set("host-origin",t),e.searchParams.set("theme",i.theme);let r=document.createElement("iframe");r.classList.add("msgraph","is-full-height"),r.title=aZ,r.src=e.toString();let s=new pw(r,NM),a,l=c=>{c.origin!==NM&&c.data.type!=="ready"||(r.contentWindow.postMessage(i,NM),a||(a=dt.subscribe(gl,u=>{s.publish({type:"theme-changed",theme:u.currentTheme})})),window.removeEventListener("message",l))};return{element:r,setCode:c=>(i.code=c,i.theme=nd,Promise.resolve()),execute:()=>window.addEventListener("message",l),dispose:()=>{a()}}}});He();async function vTe(e,t,o){Jt(e,{behavior:le.STARTPROCESS,contentTags:{scn:"Rest Try It",scnstp:"Request",scnnxtstp:"Response",isSuccess:!0},content:{event:"rest-tryit-run",authenticationMethod:t,fields:o}})}async function yTe(e,t){xe({behavior:le.COMPLETEPROCESS,actionType:we.OTHER,contentTags:{scn:"Rest Try It",scnstp:"Response",isSuccess:!0},content:{event:"rest-tryit-fetch-complete",status:t.status,method:e.method}})}function FM(e,t,o){o=o||{},o.mode="cors",o.cache="reload",o.method=e.httpVerb,e.body&&(o.body=e.body);let n=e.url,i=t.transform(new Request(n,o),e);return e.headers!==null&&e.headers.forEach(r=>{r.value!==""&&i.headers.set(r.name,r.value)}),i}function xTe(e){return fetch(e).then(t=>(yTe(e,t),t))}function TTe(e){let t={};t.statusCode=e.status.toString();let o=e.headers;return t.header="",o.forEach((n,i)=>{t.header+=`${i}: ${n} `}),/application\https://www.microsoft.com/json/i.test(e.headers.get("Content-Type")||"")&&t.statusCode!=="204"&&t.statusCode!=="404"?e.json().then(n=>(t.body=JSON.stringify(n,null,2),t)):e.text().then(n=>(t.body=n,t))}function STe(e,t,o=window){let n=o instanceof Window?window.pageYOffset:o.scrollTop,i=e-n,r;function s(a){r||(r=a);let l=a-r,c=Math.min(l/t,1);o instanceof Window?o.scrollTo(0,n+i*c):o.scrollTop=n+i*c,l
      ${o}
      ${a}
      ${n}
      `}function yv(e,t){let o=e.querySelector(t);if(o&&xB(),o?.textContent){let n=o.getAttribute("data-language")||"";JP([{code:o.textContent,language:n,highlightLines:""}]).then(i=>{i[0]&&(o.innerHTML=i[0].html)})}}A();function CTe(e,t,o,n){let i=wTe(o,n),r=d`

      ${nee}

      ${qM({language:"http",code:i,attributes:{name:"http-request","aria-live":"polite","aria-atomic":"true",tabindex:"0"}})} `,s=document.createElement("div");y(r,s),e.appendChild(s),yv(s,'pre[name="http-request"]');let a=s.querySelector('pre[name="http-request"]'),l=()=>{let c={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new os(c));let u=wTe(c,n);a.textContent=u,yv(s,'pre[name="http-request"]')};t.subscribe(Cr,l)}function wTe(e,t){let o=FM(e,t),n=`${o.method} ${o.url} `;return o.headers.forEach((i,r)=>{n+=`${r[0].toUpperCase()}${r.substring(1)}: ${i} `}),n}var o3e="https://management.azure.com/subscriptions?api-version=2016-06-01",n3e=e=>{e.publish(new gw);let t=new Request(o3e,{mode:"cors"});if(Ro.value===null)throw e.publish(new jg([])),new Error("error fetching subscription: authorization header no token");return t.headers.append("Authorization",`Bearer ${Ro.value.access_token}`),fetch(t).then(o=>o.ok?o.json().then(({value:n})=>(e.publish(new jg(n)),!0)):(o.text().then(n=>{throw new Error(`error fetching subscriptions: ${n}`)}),e.publish(new jg([])),!1),()=>!1)};function x6(e,t,o,n=!0,i={}){let r=document.createElement("div");r.classList.add("columns","field");let s=document.createElement("div");s.classList.add("column","is-5","param-name","field-label","margin-bottom-none","align-self-center");let a=document.createElement("div");a.classList.add("font-family-monospace","margin-right-none","font-size-xs");let l=document.createElement("label");l.classList.add("font-size-xs"),l.setAttribute("aria-label","parameter name "+o.name),l.textContent=o.name,a.appendChild(l),s.appendChild(a),r.appendChild(s);let c=document.createElement("div");c.classList.add("column","is-5","param-value","field-body","margin-top-none","align-self-center");let u=document.createElement("div"),p=document.createElement("p");p.classList.add("margin-block-none");let m=document.createElement("input");m.classList.add("input");let g=[],f=document.createElement("div");f.classList.add("select");let _=document.createElement("select");o.type==="boolean"&&(g.push("True"),g.push("False"));let h=document.createElement("div");h.classList.add("subscription-id"),h.textContent="";let x=I=>{let C=I.restTryItRequest,H=o.type==="boolean"||o.type==="azure-subscriptions"||o.type==="enum"?_.value:m.value;n?C.headers.push({name:o.name,value:H,type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:!1}):C.params.push({name:o.name,value:H,type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:o.skipUrlEncoding})};switch(o.type){case"boolean":case"azure-subscriptions":case"enum":if(g.length>=1){let I=document.createElement("option");I.value="",I.selected=!0,I.disabled=!0,I.hidden=!0,I.text="Select",_.appendChild(I)}g.forEach(I=>{let C=document.createElement("option");C.value=I,C.text=I,_.appendChild(C)}),o.isRequired&&_.setAttribute("required","true"),_.setAttribute("aria-label","select parameter value option for "+o.name),_.onchange=()=>{t.publish(new Cr),_.textContent!==_.value&&(h.textContent=_.value)},o.name==="subscriptionId"&&(_.disabled=!0,_.innerHTML=''),f.appendChild(_),c.appendChild(f);break;case"array":break;case"object":break;default:m.setAttribute("value",o.value),o.isRequired&&m.setAttribute("required","true"),m.setAttribute("aria-label","enter parameter value for "+o.name),m.onblur=()=>{t.publish(new Cr)},p.appendChild(m),u.appendChild(p),c.appendChild(u);break}o.isRequired&&l.insertAdjacentHTML("beforeend",''),r.appendChild(c);let v=document.createElement("div");v.classList.add("column"),v.classList.add("is-2"),v.classList.add("delete-button");let T=document.createElement("button");return T.classList.add("button"),T.classList.add("docon"),T.classList.add("docon-navigate-close"),o.isRequired&&(T.style.visibility="hidden"),T.setAttribute("aria-label",BY),T.setAttribute("type","button"),v.appendChild(T),r.appendChild(v),T.onclick=I=>{r.parentElement.removeChild(r),t.unsubscribe(os,x),t.publish(new Cr),I.preventDefault()},e.appendChild(r),t.subscribe(os,x),n||o.name==="subscriptionId"&&(t.subscribe(gw,()=>{_.innerHTML='',_.disabled=!1}),t.subscribe(jg,I=>{let C=I.subscriptions;C.length===0?(_.innerHTML='',_.value=null):(_.innerHTML=C.map(({displayName:H,subscriptionId:F})=>``).join(` `),_.value=C[0].subscriptionId,_.hidden=!1,_.disabled=!1),h.textContent=C[0].subscriptionId,t.publish(new Cr)})),o.type==="string"&&o.in==="query"&&i[o.name]!==void 0&&i[o.name].indexOf(o.name)===-1&&(m.value=i[o.name],t.publish(new Cr)),o.name==="subscriptionId"&&n3e(t),{nameInput:l,valueInput:m,delButton:T,columnContainer:r}}function T6(e,t,o=!0){let n=document.createElement("div");n.classList.add("columns");let i=document.createElement("div");i.classList.add("column","is-5","param-name");let r=document.createElement("div");r.classList.add("field-body");let s=document.createElement("p");s.classList.add("control");let a=document.createElement("input");a.classList.add("input"),a.setAttribute("placeholder","name"),a.setAttribute("aria-label","add new parameter name"),s.appendChild(a),r.appendChild(s),i.appendChild(r);let l=document.createElement("div");l.classList.add("error-message"),l.setAttribute("role","alert"),i.appendChild(l),n.appendChild(i),a.onblur=()=>{a.value!==""&&l.textContent!==""&&i.removeChild(l)};let c=document.createElement("div");c.classList.add("column","is-5","param-value");let u=document.createElement("div");u.classList.add("field-body");let p=document.createElement("p");p.classList.add("control");let m=document.createElement("input");m.classList.add("input"),m.setAttribute("type","text"),m.setAttribute("placeholder","value"),m.setAttribute("aria-label","add new parameter value"),p.appendChild(m),u.appendChild(p),c.appendChild(u),n.appendChild(c);let g=document.createElement("div");g.classList.add("column","is-2","add-button");let f=document.createElement("button");f.classList.add("button","button-clear","button-success","docon","docon-math-plus"),f.setAttribute("type","button"),f.setAttribute("aria-label",vV),g.appendChild(f),n.appendChild(g),e.appendChild(n);let _=h=>{let x=a.value,v=m.value;if(x===""){l.textContent=hW,i.appendChild(l),h.preventDefault();return}let T;o?T="header":document.querySelector(".url-input").value.indexOf("{"+x+"}")!==-1?T="path":T="query",n.parentElement.removeChild(n),t.publish(new _v({name:x,value:v,type:"string",in:T,isRequired:!1,skipUrlEncoding:!1}))};return f.onclick=h=>{_(h)},{nameInput:a,valueInput:m,addButton:f,columnContainer:n}}function S6(e,t,o,n=!0,i={}){let r=document.createElement("div"),s=document.createElement("div");s.classList.add("columns");let a=document.createElement("div");a.classList.add("column","is-5","param-heading");let l=document.createElement("h3");n?l.textContent=EE:l.textContent=tX,a.appendChild(l),s.appendChild(a),r.appendChild(s);let c=document.createElement("div");c.classList.add("param-form-group");for(let p of o)x6(c,t,p,n,i);T6(c,t,n),r.appendChild(c),e.appendChild(r);let u=p=>{(p.param.in==="header"&&n||p.param.in!=="header"&&!n)&&(x6(c,t,p.param,n),T6(c,t,n),t.publish(new Cr))};return t.subscribe(_v,u),c}var w6="";function ATe(e,t,o,n){let{url:i,urlParams:r}=i3e(o.url);w6=i;let s=document.createElement("div");s.classList.add("request-section"),r3e(s,t,i,o.httpVerb),S6(s,t,o.params,!1,r),S6(s,t,o.headers,!0),o.body!==null&&a3e(s,t,o.body),CTe(s,t,o,n);let a=document.createElement("div");a.classList.add("request-section"),s.appendChild(a);let l=l3e(a,t);return e.appendChild(s),l}function i3e(e){let t=e,o={},n=e.indexOf("?");if(n!==-1){let i=e.substr(n);t=e.substr(0,n),o=te(i)}return{url:t,urlParams:o}}function r3e(e,t,o,n){let i=document.createElement("div");i.classList.add("field");let r=document.createElement("h3");r.classList.add("field-label","margin-bottom-none"),r.textContent=Ez,i.appendChild(r);let s=document.createElement("div");s.classList.add("field-body","url-group","margin-top-none");let a=document.createElement("div");a.classList.add("http-verb");let l=document.createElement("span");l.textContent=n,a.appendChild(l);let c=document.createElement("input");c.setAttribute("name","url"),c.readOnly=!0,c.classList.add("url-input","input"),c.setAttribute("aria-label",Ez),c.setAttribute("value",o),s.appendChild(a),s.appendChild(c),i.appendChild(s),e.appendChild(i),t.subscribe(os,p=>{let m=p.restTryItRequest;m.url=o,m.httpVerb=l.textContent});let u=()=>{let p={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new os(p)),o=w6;let m=w6;p.params.forEach(g=>{o=ETe(o,g),m=ETe(m,g)}),c.value=m};return t.subscribe(Cr,u),{inputUrl:c}}function ETe(e,t){return t.in==="path"&&t.value!==""?e=e.replace("{"+t.name+"}",s3e(t)):t.in==="query"&&t.value!==""&&(e.indexOf("?")===-1?e=e+"?"+encodeURIComponent(t.name)+"="+encodeURIComponent(t.value):e=e+"&"+encodeURIComponent(t.name)+"="+encodeURIComponent(t.value)),e}function s3e(e){return e.skipUrlEncoding?e.value:encodeURIComponent(e.value)}function a3e(e,t,o){let n=document.createElement("div"),i=document.createElement("h3");i.textContent=Sf,n.appendChild(i);let r=document.createElement("textarea");return r.setAttribute("name",Sf),r.textContent=o,r.classList.add("textarea","request-body","tall","small"),r.setAttribute("aria-label",Sf),n.appendChild(r),e.appendChild(n),t.subscribe(os,s=>{let a=s.restTryItRequest;a.body=r.value}),{bodyText:r}}function l3e(e,t){let o=d` `;y(o,e);let n=e.querySelector('button[type="submit"]');return t.subscribe(Qg,()=>{n.classList.remove("is-loading")}),n}A();var kTe;function LTe(e,t){kTe=e,t.subscribe(vv,o=>{c3e(kTe,o.response)})}function c3e(e,t){let o=e.querySelector(".response-section");o&&o.remove();let n=d` ${u3e(t.statusCode)} ${ITe(EE,t.header,"http","response-header")} ${t.body!==null?ITe(Sf,t.body,"json","response-body"):""} `,i=document.createElement("div");i.classList.add("response-section"),y(n,i),e.appendChild(i),yv(i,".response-header"),t.body!==null&&yv(i,".response-body")}function u3e(e){return d`

      ${ree}: ${e}

      `}function ITe(e,t,o,n){return d`

      ${e}

      ${qM({language:o,code:t,cssClasses:n})}
      `}var PTe={prompt:Qi,type:"oauth2",login:async e=>{await MM(e)},transform:e=>(Ro.value!==null&&e.headers.set("Authorization",`Bearer ${Ro.value.access_token}`),e)},d3e={prompt:kV,type:"APIKey",login:async()=>{},transform:e=>e};function RTe(e){return{oauth2:PTe,apiKey:d3e}[e]||PTe}var DTe=null,UM,gp;function $Te(){return gp=S.createElement("div"),gp.style.height="100%",gp.setAttribute("aria-live","polite"),gp.setAttribute("aria-atomic","true"),gp.tabIndex=-1,DTe=g3e(b.data.restAPIData),UM=RTe("oauth2"),p3e(gp),gp}async function p3e(e){e.contains(S.activeElement)&&e.focus(),await UM.login(e),m3e(e)}function m3e(e){let t=S.createElement("form");t.classList.add("rest-tryit-form");let o=S.createElement("div");o.classList.add("signin-section"),h3e(o),t.appendChild(o),e.insertAdjacentElement("afterbegin",t);let n=new Be;b3e(t,n,DTe),LTe(t,n),setTimeout(()=>{gp.setAttribute("aria-live","off")},0)}function g3e(e){let t={url:e.path,httpVerb:e.httpVerb,headers:[],params:[],body:e.requestBody};return(e.httpVerb==="PUT"||e.httpVerb==="POST"||e.httpVerb==="PATCH")&&t.headers.push({name:"Content-Type",value:"applicationhttps://www.microsoft.com/json",type:"string",in:"header",isRequired:!0,skipUrlEncoding:!1}),e.requestHeader.forEach(o=>{o.in==="header"&&t.headers.push({name:o.name,value:"",type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:!1})}),e.uriParameters.forEach(o=>{(o.in==="path"||o.in==="query"||o.in==="formData")&&t.params.push({name:o.name,value:"",type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:o.skipUrlEncoding})}),t}var MTe={light:"light",dark:"dark","high-contrast":"high-contrast"};function f3e(e){let t=k.authenticationMode==="AAD"?"org":"personal",o=S.getElementById("profile-icon");o&&(o.src=`/en-us/media/profile/${t}-account${MTe[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`);let n=S.getElementById("exit-icon");n&&(n.src=`/en-us/media/profile/fluent-arrow-exit-20-regular${MTe[e]==="light"?"":"-dark-hc"}.svg?branch=live`)}function h3e(e){dt.subscribe(gl,s=>f3e(s.currentTheme));let t=id(),n=`/en-us/media/profile/${k.authenticationMode==="AAD"?"org":"personal"}-account${t==="light"?"":"-dark-highcontrast"}.svg?branch=live`,i=`/en-us/media/profile/fluent-arrow-exit-20-regular${t==="light"?"":"-dark-hc"}.svg?branch=live`,r=d`

      REST API ${Wf}

      ${pse}


      ${k.upn}

      ${cA}

      ${Ro.value.display_name}

      `;y(r,e)}function b3e(e,t,o){let n=ATe(e,t,o,UM);uM(e),e.onsubmit=r=>{_3e(n,t,UM),r.preventDefault()};let i=r=>{let s=r.restTryItRequest,a=r.security,l=FM(s,a);xTe(l).then(c=>{TTe(c).then(u=>{t.publish(new vv(u)),t.publish(new Qg)}).then(()=>{let u=S.querySelector(".rest-tryit-form"),{scrollTop:p}=u,{height:m}=S.querySelector(".request-section").getBoundingClientRect();p>=m||STe(m,500,u)})}).catch(c=>{let u=e.querySelector('.request-section button[type="submit"]'),p=S.createElement("span");throw p.classList.add("border-none","color-danger","display-inline-block","font-size-medium","font-weight-semibold","padding-top-xxs"),p.textContent=mse,u&&u.parentElement.append(p),t.publish(new Qg),c})};t.subscribe(mw,i)}function _3e(e,t,o){e.classList.add("is-loading");let n={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new os(n)),vTe(e,o.type,v3e(n)),t.publish(new mw(n,o))}function v3e(e){return e.headers.concat(e.params).map(t=>({[t.name]:!!t.value.length}))}Cg();wg({name:"http",activateButtonConfig:{name:Wf,iconClass:"docon docon-play",attributes:[]},create:()=>({element:$Te(),setCode:()=>Promise.resolve(),execute:()=>Promise.resolve(),dispose:()=>{}})});async function y3e(){let e={};b.data.mathjax?.macros&&(e=b.data.mathjax.macros),U.MathJax={showMathMenu:!1,showMathMenuMSIE:!1,tex:{inlineMath:[["$","$"],["\\(","\\)"]],processEscapes:!0,macros:e}}}async function x3e(){let e="/static/third-party/MathJax/3.2.2/tex-mml-chtml.js";return S.querySelector(`script[src="http://approjects.co.za/?big=${e}"]`)?.remove(),Qs(e,"sha384-Wuix6BuhrWbjDBs24bXrjf4ZQ5aFeFWBuKkFekO2t8xFU0iNaLQfp2K6/1Nxveei")}async function C6(){(P("show_latex")==="true"||b.data.pageTemplate==="ModuleUnit")&&Se.then(y3e).then(x3e)}function zTe(){let e=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||Ut),t=document.querySelector("html");e&&t&&t.classList.add("show-deprecation-warning")}zTe();A();var OGt=new Be,NTe,FTe=!1,qTe,UTe,OTe,HM=0,OM=0,fw=0,E6=.125,A6=!1,T3e=d` 1% `;async function HTe(){if(!w.gamification||w.chromeless)return;await TM;let e=document.querySelector("#level-status-container"),t=document.querySelector("#level-status");!e||!t||(y(T3e,t),Se.then(()=>{k.whenAuthenticated().then(()=>{let o;b.data.pageTemplate==="Module"?o=new xi("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressModule"):b.data.pageTemplate==="LearningPath"?o=new xi("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressLearningPath"):b.data.pageTemplate==="ModuleUnit"&&(o=new xi("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressUnit")),o?.start(),qTe=document.querySelector("#level-status-text"),UTe=document.querySelector("#level-status-progress"),OTe=document.querySelector("#level-status-points");let n=t.querySelector("a");n!==null&&n.setAttribute("href",co(k.userName)),o?.updateProgress("Fetching game status"),ev.getStatus(k.userId).then(i=>{o?.updateProgress("Fetched game status"),VTe(i),FTe=!0,e.classList.remove("is-hidden"),o?.succeed()}).catch(i=>{o?.fail(i)})})}))}function S3e(e,t,o,n){e.currentLevel>NTe&&(A6=!0),NTe=e.currentLevel,w3e(t,e.currentLevel),C3e(o,e,FTe),A3e(n,e.currentLevelHigh-e.currentLevelLow,e.currentLevelPointsEarned)}function w3e(e,t){e&&(e.textContent=`${zJ.replace("{number}",t.toString())}`)}function C3e(e,t,o){if(e){if(OM=k3e(t.currentLevelHigh,t.currentLevelLow,t.currentLevelPointsEarned),e.textContent=`${OM}%`,!o){U.cancelAnimationFrame(HM),e.value=fw=OM;return}E3e(e)}}function E3e(e){HM||(HM=BTe(e))}function BTe(e){return A6||e.value=100&&(A6=!1),fw=fw+E6,e.value=Math.floor(fw+E6)%100,U.requestAnimationFrame(()=>{HM=BTe(e)})):0}function A3e(e,t,o){if(!e)return;let n=d` ${o} /${aN.replace("{totalXP}",t.toString())}`;y(n,e)}function k3e(e,t,o){let n=e-t,i=o/n;return Math.floor(i*100)}function VTe(e){w.chromeless||S3e(e,qTe,UTe,OTe)}He();async function GTe(){if(!b.data.isPermissioned)return;let e=I3e();e&&Kt(e)}function I3e(){return b.data.permissionedType==="secret"||b.data.permissionedType==="private"?JY:null}function L3e(e,t){return d` `}async function Yg(e,t){let o=document.createElement("div");o.classList.add("modal-content");let n=new be(o);return y(L3e(e,t),o),n.show()}function QTe(e,t,o){b.data.isPermissioned&&e.addEventListener("click",function(n){n.preventDefault(),Yg(t,o)})}function jTe(){let e=document.querySelector("[unauthorized-private-section]");e&&(e.hidden=!1,e.parentElement?.removeChild(e),Array.from(document.querySelectorAll("h1")).pop()?.insertAdjacentElement("afterend",e))}var jl,k6={},I6={},L6={},P6={},R6={},_w={};async function P3e(){let e=R.supportLevel==="production"&&!Ut?"/country/countryRegion.json":"/test/country/countryRegion-dev.json",t=await M(e);if(!t.ok||t.status!==200)return[];try{return(await t.json()).countries}catch{return[]}}function bw(e,t,o){let n={};return e.forEach(i=>{let r=i[t],s=i[o];n[r]=s}),n}function R3e(e){let t={};return e.forEach(o=>{if(o.statesOrProvinces?.length>0){let n={};o.statesOrProvinces.forEach(i=>{n[i.code]=i.displayName}),t[o.ISOAlpha3Code]=n}}),t}async function YTe(){if(!(jl&&jl.length>0)&&(jl=await P3e(),!!jl))return k6=bw(jl,"ISOAlpha2Code","displayName"),I6=bw(jl,"ISOAlpha2Code","phoneCountryCode"),L6=bw(jl,"ISOAlpha3Code","displayName"),P6=bw(jl,"ISOAlpha3Code","ISOAlpha2Code"),R6=bw(jl,"ISOAlpha2Code","ISOAlpha3Code"),_w=R3e(jl),Promise.resolve()}A();var M6,WTe=()=>(M6===void 0&&(M6=_g()),M6);A();function D6(e){return e.slice(-2).toUpperCase()}function D3e(e,t){let o=D6(e);return t.length===2?o===t:t.length===3?o===P6[t]:!1}function xv(e,t,o){let n=[],i=b.data.userLocale;for(let r in e){let s=D3e(i,r),a=r,l=e[r];t==="phone"&&o&&(a=e[r],l=`${o[r]} (+${e[r]})`),n.push(d``)}return n.length===0&&n.push(d``),n}A();function KTe(){window.addEventListener("form-validating",e=>{let t=vw(e.detail.form),o=VM(t);e.detail.errors?.length>=0&&(N6(e.detail.form,e.detail.errors),$3e(e.detail.form,e.detail.errors),z3e(e.detail.form,e.detail.errors),V3e(e.detail.form,e.detail.errors),B3e(e.detail.form,e.detail.errors),Q3e(e.detail.form,e.detail.errors),j3e(e.detail.form,e.detail.errors)),t&&!t.querySelector("[data-warning-icon-container]")&&BM(t),o&&$6(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;yw(t)}),window.addEventListener("submission-error",e=>{let t=vw(e.detail.form);U3e(e.detail.request,e.detail.response,e.detail.form),O3e(e.detail.request,e.detail.response,e.detail.form),BM(t),G3e(e.detail.request,e.detail.response,e.detail.form)})}function $3e(e,t){let o=e.querySelector("[data-tag-input]");if(o&&t.filter(n=>n.input===o).length===0){let n=N3e(o),i=ai(o).querySelector("[data-tag-input-holder]");n&&(pu(e,t,o,n,i),Ui(i,n));let r=F3e(o);r&&r.length>0&&r.forEach(s=>{pu(e,t,o,s,i),Ui(i,s)})}}function z3e(e,t){let o=e.querySelector("#attachment-count");if(o&&t.filter(n=>n.input===o).length===0){let n=q3e(o),i=ai(o);if(n){let r=i.querySelector('[data-id="docs-markdown-editor"]'),s=i.querySelector("#markdown-editor");pu(e,t,o,n,r??void 0,s?.id??void 0),ZTe(o,n)}}}function BM(e){if(!e.querySelector(".docon-status-warning-outline-rounded")){let o=document.createElement("span");o.classList.add("docon","docon-status-warning-outline-rounded","margin-right-xxs"),o.ariaHidden="true",o.setAttribute("data-warning-icon-container",""),e.prepend(o)}}function $6(e){e.querySelectorAll("a").forEach(t=>t.classList.add("text-decoration-underline","has-line-height-reset"))}function N3e(e){let t=e.getAttribute("minTags"),o=e.getAttribute("maxTags"),n=e.value===""?0:e.value.split(",").length;if(!t||!o)return null;if(!n||nNumber(o)){let i=s$(e);return`${$se.replace("{min}",t).replace("{max}",o).replace("{tagLabel}",i.toLocaleLowerCase())}`}return null}function F3e(e){let t=e.value.split(","),o=[];for(let n of t){let i=document.getElementById(n);if(!i)continue;let r=i.innerText;i.getAttribute("active")!=="false"||o.push(`${zse.replace("{tagLabel}",r)}`)}return o.length>0?o:null}function q3e(e){if(e instanceof HTMLInputElement){let t=e.getAttribute("maxCount"),o=Number(e.value);if(t&&o&&o>Number(t))return xX.replace("{maximumCount}",t)}return null}async function U3e(e,t,o){if(t.status===412&&e.url.includes("api/question"))try{if((await t.json()).code==="processed-attachment-failure"){z6(o);let n=[],i=o.querySelector("#attachment-count"),r=o.querySelector('textarea[name="body"]');Ui(r,rz),pu(o,n,i,rz,ai(i).querySelector('[data-id="docs-markdown-editor"]')??void 0)}}catch{}}async function O3e(e,t,o){if(t.status===400&&e.url.includes("api/question"))try{if((await t.json()).errorCode==="processed-user-mention-failure"){z6(o);let n=[],i=o.querySelector('textarea[name="body"]'),r=TX.replace("{maximumCount}","10");Ui(i,r),pu(o,n,i,r,o.querySelector("#markdown-editor")??void 0)}}catch{}}function vw(e){return e.querySelector("[data-form-error-alert]")??null}function VM(e){return e.querySelector("ul")??null}function z6(e){let t=e.querySelector("[data-form-error-alert] > ul");t&&(t.innerHTML="")}function pu(e,t,o,n,i,r,s){if(t.find(m=>m.message===n))return;let a=JTe(e),c=o.hasAttribute("data-tag-input")?o.parentElement?.querySelector("input.autocomplete-input")?.id:o.id;ai(o).classList.add("errored");let p=document.createElement("a");p.href=`${s?"":"#"}${r||c}`,p.textContent=n,p.classList.add("help","help-danger","text-decoration-underline","has-line-height-reset"),a.append(p),i?.classList.add("border","border-color-danger"),t.push({input:o,message:n})}function JTe(e){let t=vw(e),o=VM(t),n=document.createElement("li");return n.classList.add("margin-bottom-xs"),t&&o&&(o.appendChild(n),t.hidden=!1,t.focus(),t.scrollIntoView()),n}function ZTe(e,t){let n=ai(e).querySelector("[data-field-error-custom]")||H3e(e);n.textContent=t}function H3e(e){let t=document.createElement("p");return t.id=Je(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("help","help-danger"),t.setAttribute("data-field-error-custom",""),hf(e).after(t),t}function yw(e){if(e instanceof HTMLInputElement){let t=ai(e),o=e.hasAttribute("data-tag-input"),n=t.querySelector("docs-markdown-editor"),i=e.getAttribute("type")==="email";if(o){let r=t.querySelector("[data-tag-input-holder]");r&&r.classList.remove("border","border-color-danger")}if(n){let r=t.querySelector('[data-id="docs-markdown-editor"]');r&&r.classList.remove("border","border-color-danger")}i&&t.querySelector("[type=email]")?.classList?.remove("border","border-color-danger"),ZTe(n??e,""),t.classList.remove("errored")}}function B3e(e,t){let o=e.querySelector("#question-body"),n=document.querySelector("docs-markdown-editor")?.parentElement,i=t.filter(r=>r.input===o);if(i&&i.length>0&&n){let r=e.querySelector('[data-form-error-container] a[href="http://approjects.co.za/?big=#question-body"]');if(r){r.addEventListener("click",()=>{setTimeout(()=>{window.location.hash="markdown-editor",n.focus()},0)});let s=e.querySelector('[data-id="docs-markdown-editor"]');s&&s.classList.add("border","border-color-danger")}}}function V3e(e,t){let o=e.querySelector('textarea[name="body"]');if(!o)return;let n=o.value.match(/(?:!\[(.*?)\]\((.*?)\))/gm);if(!n)return;let i=!1,r=[],s=[".microsoft.com/",".githubusercontent.com/",".github.com/","azure.net/",".azureedge.net/",".windows.net/",".office.net/",".visualstudio.com/",".linkedin.com/",".imgur.com/",".giphy.com/"],a=new RegExp("https?://.*.(?:png|jpg|jpeg|gif|svg|webp)","gi");if(n.forEach(l=>{let c=l.match(a);c&&!s.some(u=>c[0].includes(u))&&(i=!0,r.push(c[0]))}),i){let l=ai(o);pu(e,t,o,Zie.replace("{urls}",r.join(", ")),l.querySelector('[data-id="docs-markdown-editor"]')??void 0,"https://learn.microsoft.com/en-us/answers/support/attachments#inserting-images-from-the-web",!0)}}async function G3e(e,t,o){if(o&&t.status===422&&e.url.includes("api/questions/admin/users"))try{if((await t.json()).errorCode==="validation-failure"){z6(o);let n=e.url.includes("/suspend")?SX:wX,i=JTe(o);i.innerText=n}}catch{}}async function Q3e(e,t){if(!e?.getAttribute("data-suspended"))return;let n=e.querySelector('textarea[name="body"]');pu(e,t,n,CX,void 0,"https://aka.ms/msftqacodeconduct",!0)}function N6(e,t){let o=e.querySelector("input[type=email]");o&&o.validity.typeMismatch&&(Ui(o,sz),pu(e,t,o,sz,o))}function j3e(e,t){let o=e.querySelector('input[data-lang*="en-"]'),n=b.data.userLocale||"en-us";if(!o||!n.startsWith("en-"))return;/[^\p{M}|\p{N}|\p{S}|\p{P}|\p{Z}|\p{C}|\p{Script=Latin}|\p{Emoji_Presentation}]/gu.test(o.value)&&(Ui(o,az),pu(e,t,o,az,o))}A();function Y3e(e){let t=e.metadata.map(o=>d``);return d`${t}`}function XTe(e){let t=d`
      ${Y3e(e)}
      `,o=document.createElement("div");y(t,o),document.body.appendChild(o),document.getElementById("pearson-vue-hidden-redirect-form").submit()}A();function Ba(e){return document.getElementById(e).value}function Tv(e,t,o,n,i="text",r=50,s=0){return d`
      `}function F6(e,t,o){return d`
      `}function q6(e){return d`
      ${e}
      `}var W3e=()=>{let o=new URL(window.location.href).searchParams.get("examUrl")||"";o?location.href=Zi(o).toString():window.history.back()};function eSe(){let e=D6(b.data.userLocale),t=R6[e],o=_w[t];return d`

      ${CG}

      ${EG}

      ${sa}

      ${Tv("address1",RG,_$,!0,"text",40)}
      ${Tv("address2",MG,_$,!1,"text",40)}
      ${Tv("city",DG,FG,!0,"text",32)}
      ${F6("state",$G,xv(o,"country"))}
      ${F6("countryRegion",hy,xv(L6,"country"))}
      ${Tv("postalCode",zG,qG,!0,"text")}

      ${z(AG)}

      ${F6("phoneCountryCode",NG,xv(I6,"phone",k6))}
      ${Tv("phoneNumber",nX,UG,!0,"tel")}
      ${Tv("contactEmail",O$,OG,!0,"email",255,6)}

      ${kG}

      ${IG}

      ${LG}


      ${z(PG)}

      `}function K3e(e){return d`
      ${e}
      `}function U6(e,t){t&&y(K3e(e),t)}var tSe=!0;function oSe(e){window.addEventListener("form-validating",n=>{a4e(n.detail.errors),tSe=n.detail.errors.length===0}),e.addEventListener("beforesubmit",async n=>{if(!tSe){n.preventDefault();return}let i=n.detail.form.querySelector("#schedule-pearson-submit");n.detail&&(n.preventDefault(),n.detail.callback=async()=>{i?.classList.add("is-loading");try{await Z3e(n)}catch{let s=n.detail.form.querySelector("#ms--error-container");U6(Vi,s)}finally{i?.classList.remove("is-loading")}})}),window.addEventListener("clear-validation-errors",n=>{let i=n.detail.target;yw(i)});let t=document.getElementById("countryRegion"),o=document.getElementById("state");t.addEventListener("change",()=>{let n=Ba("countryRegion"),i=_w[n];y(xv(i,"country"),o)})}function J3e(e){let t=/^exam\.(.+)$|^(.+)$/,o=e.match(t);return o?o[1]||o[2]:""}async function Z3e(e){let o=new URL(window.location.href).searchParams,n=o.get("examUrl")||"",i=o.get("examUid")||"",r=o.get("locale")||P("locale")||"en-us",s=o.get("action")||"",a={address1:Ba("address1"),address2:Ba("address2"),city:Ba("city"),state:Ba("state"),countryRegion:Ba("countryRegion"),postalCode:Ba("postalCode"),phoneCountryCode:Ba("phoneCountryCode"),phoneNumber:Ba("phoneNumber"),contactEmail:Ba("contactEmail")},l=s?{addressInfo:a,returnUrl:"placeholder",locale:"en-us",examUid:"placeholder"}:{addressInfo:a,returnUrl:n,locale:r,examUid:J3e(i)},c=In(),u=N.certification.pvuetransfer,p={...e.detail.init,body:JSON.stringify(l),headers:{Authorization:`Bearer ${c}`,"Content-Type":"applicationhttps://www.microsoft.com/json"}},m=e.detail.form.querySelector("#ms--error-container"),g=Vi;try{let f=await fetch(u,p);if(!f.ok)f.status===400&&(g=JK),U6(g,m);else{let _=await f.json();XTe(_)}}catch{U6(g,m)}}var X3e=new RegExp("^[\\x20-\\x21\\x23-\\x3B\\x3F-\\x5B\\x5D-\\x7F]+$"),e4e=new RegExp("^[0-9]{5}([0-9]{4})?$"),t4e=new RegExp("^[A-Za-z][0-9][A-Za-z][0-9][A-Za-z][0-9]$"),o4e=new RegExp("^(['A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*['.A-Za-z0-9_-]+@([A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*[A-Za-z0-9]\\.[a-zA-Z]{2,12}$"),n4e=new RegExp("^(?!0*$)[0-9]*$"),i4e=new RegExp("^(?!0*$)\\d{3}\\d{3}\\d{4}$"),r4e=new RegExp("^[^.].*[^.]$|^$");function s4e(e,t){return e?t.test(e):!0}function xw(e,t,o,n,i){if(!s4e(e,o)){let s=`${n.replace("{inputLabel}",document.querySelector(`label[for="${t.id}"]`)?.textContent||"")}`;Ui(t,s),l4e(i,t,s)}let r=`${dn} ${n}`;kt(r,"assertive")}function a4e(e){let t=document.getElementById("address1"),o=document.getElementById("address2"),n=document.getElementById("city"),i=document.getElementById("postalCode"),r=document.getElementById("phoneNumber"),s=document.getElementById("contactEmail"),a=document.getElementById("phoneCountryCode"),l=document.getElementById("countryRegion");[t,o,n].forEach(p=>xw(p.value,p,X3e,KK,e)),xw(r.value,r,a.value==="1"?i4e:n4e,eJ,e),xw(i.value,i,l.value==="USA"?e4e:l.value==="CAN"?t4e:/.*/,l.value==="USA"?ZK:l.value==="CAN"?XK:"",e),xw(s.value,s,o4e,QK,e),[t,o,n,i,r,s].forEach(p=>xw(p.value,p,r4e,CE,e))}function l4e(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function c4e(e){try{return e.origin.includes("microsoft")}catch{return!1}}function u4e(e,t){let o=t.get("examUid"),n=t.get("examUrl");return!!(o&&n&&c4e(e))}function d4e(e,t){return!!t.get("action")}function nSe(e=new URL(location.href)){let t=new URLSearchParams(e.search);return u4e(e,t)||d4e(e,t)}function iSe(e,t){let o=new URL(co("me","settings")),n=P("locale")||"en-us",i=te(o.search),r=new URLSearchParams({examUrl:e,examUid:t,locale:n,context:"exam",...i});return o.search=r.toString(),o.toString()}async function p4e(){if(await WTe(),!k.legalName?.first){let e=new URLSearchParams(location.search),t=e.get("examUid")||"",o=e.get("examUrl")||"";return location.href=iSe(o,t),!0}return!1}async function m4e(){return ve.then(async()=>k.isAuthenticated?await p4e()?Promise.reject():q6(eSe()):(Uo(location.href),Promise.reject()))}async function rSe(){if(!P("scheduleThroughPearsonVue"))return;let t=document.querySelector("[data-main-column]");if(!t)return;await YTe();let o=window.location.origin;if(!nSe()){location.href=`${o}/credentials`;return}let n=An(await m4e(),q6(d`${jt}`));y(n,t);let i=document.getElementById("pearson-vue-registration");i&&oSe(i)}var GM="image-browser-close-event";function sSe(e,t){let n={horizontal:0,vertical:0};t.addEventListener("keypress",i=>{i.which===ke.enter&&(i.preventDefault(),e.toggleExpand())}),t.addEventListener("keydown",i=>{let r=i.which||i.keyCode;switch(r){case ke.left:i.preventDefault(),n.horizontal=1;break;case ke.right:i.preventDefault(),n.horizontal=-1;break;case ke.up:i.preventDefault(),n.vertical=1;break;case ke.down:i.preventDefault(),n.vertical=-1;break}[ke.left,ke.right,ke.up,ke.down].indexOf(r)>-1&&e.panViewport(5*n.horizontal,5*n.vertical)}),t.addEventListener("keyup",i=>{switch(i.which||i.keyCode){case ke.left:i.preventDefault(),n.horizontal=0;break;case ke.right:i.preventDefault(),n.horizontal=0;break;case ke.up:i.preventDefault(),n.vertical=0;break;case ke.down:i.preventDefault(),n.vertical=0;break}})}var Va={dragging:!1,prevX:0,prevY:0},QM=null;function aSe(e,t){QM=QM||(o=>{if(e.state.expanded)if(o.buttons%2){o.preventDefault(),Va.dragging=!0;let n=o.movementX||!isNaN(Va.prevX)?o.screenX-Va.prevX:0,i=o.movementY||!isNaN(Va.prevY)?o.screenY-Va.prevY:0;e.panViewport(n,i)}else Va.dragging&&setTimeout(()=>{Va.dragging=!1},0);else Va.dragging=!1;Va.prevX=o.screenX,Va.prevY=o.screenY}),S.removeEventListener("mousemove",QM),S.addEventListener("mousemove",QM),t.addEventListener("dragstart",o=>{o.preventDefault()}),t.addEventListener("click",o=>{Va.dragging||(o.preventDefault(),e.toggleExpand(o.offsetX,o.offsetY))})}var lSe=`
      `;function cSe(e,t){let o={touches:[]};t.addEventListener("touchstart",n=>{e.state.expanded&&(n.preventDefault(),Array.from(n.changedTouches).forEach(({identifier:i,screenX:r,screenY:s})=>{o.touches.push(Object.assign({},{identifier:i,screenX:r,screenY:s}))}))}),t.addEventListener("touchmove",n=>{if(e.state.expanded){n.preventDefault();let i=o.touches.map(l=>l.identifier),r=Array.from(n.changedTouches).filter(l=>l.identifier===o.touches[0].identifier);if(!r[0])return;let s=r[0].screenX-o.touches[0].screenX,a=r[0].screenY-o.touches[0].screenY;Array.from(n.changedTouches).forEach(l=>{let c=i.indexOf(l.identifier);c>=0&&(o.touches[c]=Object.assign({},{identifier:l.identifier,screenX:l.screenX,screenY:l.screenY}))}),e.panViewport(s,a)}}),t.addEventListener("touchend",n=>{let i=o.touches.map(r=>r.identifier);Array.from(n.changedTouches).forEach(({identifier:r})=>{o.touches.splice(i.indexOf(r),1)})})}function uSe(e,t,o){let n=Math.max(e,t);return Math.min(o,n)}var jM=class{constructor(){this.imageElement=null;this.imageContainer=null;this.state={expanded:!1}}open(t,{url:o,alt:n}){return new Promise(r=>{t.innerHTML=lSe,this.imageContainer=t.querySelector("div"),this.imageElement=t.querySelector("#image-browser-image"),!(!this.imageContainer||!this.imageElement)&&(this.imageContainer.dir="ltr",this.imageElement.style.opacity="0",this.imageElement.style.transformOrigin="0 0",this.imageElement.addEventListener("error",()=>{}),this.imageElement.addEventListener("load",()=>{!this.imageContainer||!this.imageElement||(this.imageElement.classList.add("image-browser-expandable"),this.imageElement.style.width="",this.imageElement.style.height="",this.imageContainer.classList.add("image-browser-transition"),this.imageContainer.addEventListener("transitionend",()=>{this.imageContainer?.classList.remove("image-browser-transition")}),this.imageElement.style.opacity="1",this.imageElement.parentElement&&(sSe(this,this.imageElement.parentElement),aSe(this,this.imageElement.parentElement),cSe(this,this.imageElement.parentElement)),U.addEventListener("resize",()=>{this.state.expanded&&this.panViewport(0,0)},{passive:!0}),r(null))}),this.imageElement.src=o,this.imageElement.alt=n)})}close(){U.dispatchEvent(new CustomEvent(GM,{detail:{image:this.imageElement?.src}}))}toggleExpand(t=0,o=0){if(!(!this.imageContainer||!this.imageElement))if(this.state.expanded)this.imageElement.style.transform="",this.imageElement.classList.remove("image-browser-pannable"),this.imageElement.classList.add("image-browser-expandable"),this.imageContainer.style.width="",this.imageContainer.style.height="",this.state.expanded=!1;else{this.imageContainer.style.width=`${this.imageElement.clientWidth}px`,this.imageContainer.style.height=`${this.imageElement.clientHeight}px`;let n=t/this.imageElement.clientWidth,i=o/this.imageElement.clientHeight,{naturalWidth:r,naturalHeight:s}=this.imageElement,a=Math.round(n*r),l=Math.round(i*s);this.state.expanded=!0,this.imageElement.classList.add("image-browser-pannable"),this.imageElement.classList.remove("image-browser-expandable");let c=a-this.imageContainer.clientWidth/2,u=l-this.imageContainer.clientHeight/2,p=uSe(0,c,r-this.imageContainer.clientWidth),m=uSe(0,u,s-this.imageContainer.clientHeight);this.state.translationX=-1*p,this.state.translationY=-1*m,this.imageElement.style.transform=`translate(${this.state.translationX}px, ${this.state.translationY}px)`}}panViewport(t,o){if(!(!this.imageContainer||!this.imageElement)&&this.state.expanded){let n=this.state.translationX??0,i=this.state.translationY??0;this.state.translationX=Math.min(0,Math.max(this.imageElement.naturalWidth*-1+this.imageContainer.clientWidth,n+t)),this.state.translationY=Math.min(0,Math.max(this.imageElement.naturalHeight*-1+this.imageContainer.clientHeight,i+o)),this.imageElement.style.transform=`translate(${this.state.translationX}px, ${this.state.translationY}px)`}}};function dSe(){U.addEventListener(GM,e=>{let t=e.detail;xe({behavior:le.REDUCE,actionType:we.CLICKLEFT,content:{type:"lightbox-close",image:t.image}})})}function O6(e){dSe();let t="lightbox-enabled",o=Array.from(e.querySelectorAll('a[href$="#lightbox"]')),n=new jM;o.forEach(i=>{i.classList.add(t),i.setAttribute("data-bi-name","lightbox"),i.setAttribute("aria-haspopup","dialog"),qt(i,"click",r=>{r.preventDefault();let s=document.createElement("div");s.classList.add("modal-content"),n.open(s,{url:i.href,alt:i.querySelector("img")?.alt??""}),new be(s).show().then(()=>n.close()),s.insertAdjacentHTML("afterend",``)})})}A();var f4e=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/challenges":"/challenges"}`;function sn(e,t,o,n){let i=new URL(location.href),r=new URLSearchParams(i.search),s=i;if(s.pathname=`${f4e()}/${e}${t?`/${t}`:""}`,o){let a=new URLSearchParams(o);for(let[l,c]of a)s.searchParams.set(l,c)}return n&&(s.hash=n),r.has("preview")&&s.searchParams.set("preview",r.get("preview")??""),s.href}function pSe(){let e=document.getElementById("challenge-end-date"),t=document.getElementById("challenge-start-date"),o=document.getElementById("challenge-end-time"),n=document.getElementById("challenge-start-time"),i=document.getElementById("copy-challenge-form");return i&&(e=i.querySelector("#challenge-end-date"),t=i.querySelector("#challenge-start-date"),o=i.querySelector("#challenge-end-time"),n=i.querySelector("#challenge-start-time")),t&&e&&n&&o?{startDate:t,startTime:n,endDate:e,endTime:o}:null}function H6(e=!0){let{startDate:t,endDate:o}=pSe()||{};if(!(t&&o))return;let n=new Date(t.value);o.min=n.toISOString().split("T")[0],t.value&&o.value&&o.valued` `)}var mSe=b.data.userLocale,b4e=pt(),Wg={async getChallenges(e,t,o=0,n=6){let i=`${N.lists}/challenge/${e}/${t}?${ne({page:o+1,pageSize:n,locale:mSe})}`,s=K(i,{method:"GET"}),a=await M(s);return fe(a),a.ok?await a.json():null},async getChallenge(e){let t=`${N.lists}/challenge/${e}`,n=K(t,{method:"GET"}),i=await M(n);return fe(i),i.ok?await i.json():null},async getChallengeStatistics(e){let t=`${N.lists}/challenge/${e}/statistics`,n=K(t,{method:"GET"}),i=await M(n);return fe(i),i.ok?await i.json():null},async getChallengeLeaderboard(e,t=0,o=5){let n=`${N.lists}/challenge/${e}/leaderboard?${ne({page:t+1,pageSize:o})}`,r=K(n,{method:"GET"}),s=await M(r);return fe(s),s.ok?await s.json():null},getChallengeCsv(e){return`${N.lists}/challenge/${e}/csv`},async createNewChallenge(e){let t=`${N.lists}/challenge`,n={method:"POST",body:JSON.stringify(e)},i=await M(K(t,n));if(fe(i),i.ok){let r=await i.json();return yi(r.contentList),{hasError:!1,data:r}}return i.status===400?{hasError:!0,error:await i.json()}:null},async updateChallenge(e,t){let o=`${N.lists}/challenge/${e}`,i={method:"PATCH",body:JSON.stringify(t)},r=await M(K(o,i));if(fe(r),r.ok){let s=await r.json();return yi(s.contentList),{hasError:!1,data:s}}return r.status===400?{hasError:!0,error:await r.json()}:null},async updateChallengeList(e,t){let o=`${N.lists}/challenge/${e}/list`,i={method:"PATCH",body:JSON.stringify(t)},r=await M(K(o,i));if(fe(r),r.ok){let s=await r.json();return yi(s.contentList),{hasError:!1,data:s}}return r.status===400?{hasError:!0,error:await r.json()}:null},async deleteChallenge(e){let t=`${N.lists}/challenge/${e}`,o=await M(K(t,{method:"DELETE"}));if(fe(o),!o.ok)throw new Error(`${o.status}: ${o.statusText}`)},async joinOrLeaveChallenge(e,t){let o=`${N.lists}/challenge/${e}/${t}`,n=K(o,{method:"POST"},!0,!1),i=await M(n);return fe(i),i.ok?{}:null},async getFacetProducts(){let e={branch:b4e,locale:mSe,facet:"products"},t=`${N.browse.learn}?${ne(e,!0)}`,n=await M(K(t,{method:"GET"}));if(n.ok){let i=await n.json();return!i||!i.facets||!i.facets.products?[]:i.facets.products}if(n.status===400){let i=await n.json();throw new Error(`${i.errorCode}: ${i.message}`)}return null}};A();A();A();A();var ii=li(e=>t=>{t.setValue(e)});function V6({origin:e,protocol:t,hostname:o,port:n}){return e||(t&&o?`${t}//${o}${n&&n!=="443"&&n!=="80"?":"+n:""}`:location.origin)}A();var QJt=6*60*60*1e3,v4e,jJt=new Promise(e=>v4e=e);function gSe(e,{compareOrigin:t}={compareOrigin:!0}){let o=e.target instanceof HTMLElement&&e.target.closest("a"),n=!!o&&V6(o)===J.origin;return!o||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||o.target&&o.target!==window.name&&o.target!=="_self"||o.href.lastIndexOf("javascript:")===0||o.hasAttribute("download")?{anchor:o,shouldHandle:!1,differentOrigin:!n}:t&&!n||n&&o.classList.contains(tu)||n&&/^#lightbox/.test(o.hash)||n&&o.closest("#docs-admin-editor .ProseMirror")||o.classList.contains("following-user-profile")?{anchor:o,shouldHandle:!1,differentOrigin:!n}:{anchor:o,shouldHandle:!0,differentOrigin:!n}}function fSe(){let e=document.createElement("progress");return e.classList.add("position-fixed","top-0","left-0","right-0","margin-bottom-none","progress-bar"),e.setAttribute("max","100"),e.style.zIndex="10",document.body.insertAdjacentElement("afterbegin",e),e}var Q6=class{constructor(){this.referrerStack=[];this.finished=Promise.resolve();this.handleClick=t=>{let{shouldHandle:o,anchor:n}=gSe(t);if(!o||!n.href)return;let i=new URL(n.href);this.delegate.canHandle(i)&&(t.preventDefault(),this.preserveBranch(this.currentUrl,i),this.navigateInternal(i,!0))};this.handlePopstate=()=>{let t=new URL(J.href);this.routeChanged(t,this.currentUrl)?(this.referrerStack.pop(),this.navigateInternal(t,!1)):this.currentUrl=t};this.routeChanged=(t,o)=>{let n=t.pathname===o.pathname;for(let i of this.delegate.params)n=n&&t.searchParams.get(i)===o.searchParams.get(i);return!n}}enable(t,o=new URL(J.href)){this.delegate=t,this.currentUrl=o,U.addEventListener("click",this.handleClick,!0),U.addEventListener("popstate",this.handlePopstate)}disable(){this.delegate=null,U.removeEventListener("click",this.handleClick,!0),U.removeEventListener("popstate",this.handlePopstate)}get enabled(){return!!this.delegate}async finishNavigating(){await this.finished}goto(t,o){if(!this.delegate)throw new Error("Router is not enabled.");if(t.origin!==J.origin)throw new Error("Cross-origin navigation is not permitted");if(!this.delegate.canHandle(t))throw new Error(`Router delegate cannot handle "${t.href}".`);return this.preserveBranch(this.currentUrl,t),this.navigateInternal(t,o==="pushState")}preserveBranch(t,o){(R.supportLevel==="production"&&R.reviewFeatures||R.supportLevel==="development"&&R.accessLevel==="online")&&G6(["branch","themebranch","api-branch"],t,o),G6(["preview"],t,o),G6(["variant"],t,o)}navigateInternal(t,o){let n=async()=>{IP.splice(0,IP.length).forEach(a=>a()),dt.publish(new EA(t));let r=fSe(),s=await this.delegate.handle(t);S.title=s.title,o?(Yn.pushState(void 0,s.title,s.url.href),this.referrerStack.push(s.url)):Yn.replaceState(void 0,s.title,s.url.href),U.scrollTo(0,0),Tw(t.hash),dt.publish(new To(s.title,s.url,this.currentUrl)),r.remove(),this.currentUrl=t},i=this.finished.then(n);return this.finished=i.catch(()=>{}),i}},Er=new Q6;function G6(e,t,o){for(let n of e){let i=t.searchParams.get(n);i&&o.searchParams.set(n,i)}}function Tw(e){if(e.length<2)return;let t=S.body.querySelector(e);t&&t.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"})}function Ws(e){Array.from(e.querySelectorAll("[data-label]")).forEach(t=>{t.hidden=!0})}function Mo(e,t){let o=e.querySelector(`[data-label="${t}"]`);o!==null&&(o.hidden=!1)}function Ho(e,t,o,n=U.location,i=b.data.userLocale,r){if(e=e.toLowerCase(),o&&!(t==="collections"||t==="training"||t==="achievements"||t==="transcript"||t==="certifications"||t==="credentials"||t==="challenges"||t==="settings"&&o==="interests"))throw new Error(`Detail url component is not supported in ${t} section.`);let s=new URL(n.origin+n.pathname+n.search).searchParams;s.delete("id");let a=s.toString();a=a.length?"?"+a:"";let l;return t&&t!=="activity"?l=new URL(`/${i}/users/${e}/${t}${o?`/${o}`:""}${r?`/${r}`:""}${a}`,n.origin):l=new URL(`/${i}/users/${e}/${a}`,n.origin),l}function mu(e){if(!e)throw new Error("The Collection ID does not exist and no linking URL will be created.");let t=new URL(J.origin+J.pathname+J.search).searchParams,o=`/${b.data.userLocale}/${R.reviewFeatures?"test/":""}collections/${e}`;return new URL(o+"?"+t.toString(),J.origin)}function j6(e){if(!e)throw new Error("The Plan ID does not exist and no linking URL will be created.");let t=new URL(J.origin+J.pathname+J.search).searchParams,o=`/${b.data.userLocale}/${R.reviewFeatures?"test/":""}plans/${e}`;return new URL(o+"?"+t.toString(),J.origin)}function Y6(){return d`

      ${$u}

      `}function mt(e){return e==null||e instanceof Array&&e.length===0||e===""||typeof e=="number"&&isNaN(e)}function WM(e,t){return d`

      ${t?.htmlMessage?z(e.replace(t.htmlMessage.replaceTarget,t.htmlMessage.replaceWith)):e}

      `}function _Se(e){return WM(e?S$:bZ,e?void 0:{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Pl?"/test":""}/training/browse/`}})}A();async function KM(e,t){let o=e.elements.namedItem("collection-title").value,n=e.elements.namedItem("collection-description").value,i=e.elements.namedItem("collection-privacy-checkbox").checked;e.querySelector("button[type=submit]").classList.add("is-loading"),Ws(e);try{let r=await iye({type:"collection",name:o,description:n,items:t,isPrivate:i});return vSe(r,e)}catch(r){let s=r;return vSe({hasError:!0,error:{errorCode:await Wp(s)||"UnexpectedError",message:s.message||""}},e)}}function vSe(e,t){if(e.hasError===!0){let o=t.querySelector("button[type=submit]");o&&o.classList.remove("is-loading");let{errorCode:n}=e.error;return n==="UnexpectedError"?Mo(t,"somethingWentWrong"):x4e(n,t),{hasError:!0}}return{hasError:!1,data:e.data}}function x4e(e,t){let o=t.elements.namedItem("collection-title"),n=t.elements.namedItem("collection-description");switch(e){case"InvalidBody":case"MissingType":return;case"InvalidTitle":o.setCustomValidity(Su),o.reportValidity();return;case"InvalidDescription":n.setCustomValidity(py),n.reportValidity();return;case"DuplicateTitle":let i=rE.replace("{title}",o.value);o.setCustomValidity(i),o.reportValidity();return;default:return}}function Sw(e,t,o,n,i,r=pc,s=!0,a=!1,l="",c=""){return d`

      ${e}

      ${_Y}

      ${Gi}
      `}var JM=[],Kg={};function ySe(e,t,o,n="collection",i=()=>{}){return Kg={},d` `}async function T4e(e,t,o){let n=document.createElement("div");n.classList.add("modal-content");let i=Lj.replace("{userDisplayName}",k.displayName).replace("{index}",(o+1).toString()),s=d` `;return y(s,n),n.querySelector("button[type=submit]").onclick=async()=>{await S4e(e,t)},n}async function W6(e,t,o){let n=[],i="",r=[];if(o==="plan"){try{r=await nye()}catch{r=[]}n=r?.map(m=>m.contentList)??[],i=Rne}else if(o==="challenge")n=(await Wg.getChallenges("created","all",0,100))?.challenges.filter(f=>!f.earlyRegistrationEnabled&&new Date(f.starts)>new Date)?.map(f=>f.contentList)||[],i=R7;else{let m=await oye(g=>g.type==="collection"||g.type==="bookmarks");m===null?i=$u:(n=m??[],i=Dse)}let s=n.length===0,a=e.querySelector("#collections"),l=e.querySelector("#save-collection");if(l&&l.hasAttribute("data-autofocus")&&l.removeAttribute("data-autofocus"),s){let m=d`

      ${i}

      `;return l&&(l.setAttribute("data-autofocus","data-autofocus"),(o==="plan"||o==="challenge")&&l.setAttribute("disabled","disabled")),y(m,a),[]}let c;try{let m=await lt.getAllListsByUrl([t]);m.hasError===!1&&(c=m.data)}catch{c=void 0}let u=c&&c.length>0?c[0]?.lists.filter(m=>o==="plan"?!mt(m.skillingPlanId)&&n.find(g=>g.skillingPlanId===m.skillingPlanId):o==="challenge"?!mt(m.learnChallengeId)&&n.find(g=>g.learnChallengeId===m.learnChallengeId):mt(m.skillingPlanId)&&mt(m.learnChallengeId)):[];JM=u;let p=d` ${n.map(m=>{let g=m.skillingPlanId??"";return d`
      `})}`;if(y(p,a),n.length===1&&n[0].id==="bookmarks"&&JM.length===0){let m=await ov(t);await lt.addItem("bookmarks",m)}return JM}async function S4e(e,t,o="collection"){event.preventDefault();let n=event.target;n.classList.add("is-loading");let i=ov(t),r=document.getElementById("save-to-collection");await KM(r).then(async s=>{s.hasError?n.classList.remove("is-loading"):(s=s,Kg[s.data.id]=i,xSe(e),JM=await W6(document.querySelector(".modal-card"),t,o))})}async function w4e(e,t,o){let n=event.target;if(n.checked){let i=ov(e);o[n.id]=i}else{let i=t.find(r=>r.listId===n.id);i?o[n.id]=i.id:o[n.id]&&delete o[n.id]}}function C4e(e){let t=Object.keys(e);return Promise.all(t.map(async o=>typeof e[o]!="string"?lt.addItem(o,await e[o]):lt.deleteItem(o,e[o])))}async function E4e(e,t,o){e.pushContent(await T4e(e,t,o))}function xSe(e){e.popContent()}A();A();var A4e=new Intl.NumberFormat(b.data.userLocale);function Di(e){return A4e.format(e)}var ww=new Intl.NumberFormat(b.data.userLocale,{notation:"compact",compactDisplay:"short"}),Cw=new Intl.NumberFormat(b.data.userLocale,{maximumFractionDigits:0}),k4e=new Intl.NumberFormat(b.data.userLocale,{style:"percent",maximumFractionDigits:0});var Jg="Applied Skills";function Wo(e){return e.replace("{AppliedSkills}",Jg)}var TSe={module:wi,"learning path":fz,certification:ac,examination:VW},ZM={"applied skills":Jg,certification:ac,examination:Bi,course:Rp};var K6=!1,SSe={bookmarks:{pressed:"single-bookmark-solid",unpressed:"single-bookmark"},collection:{pressed:"circle-addition-solid",unpressed:"circle-addition"},challenge:{pressed:"circle-addition-solid",unpressed:"circle-addition"},plan:{pressed:"circle-addition-solid",unpressed:"circle-addition"},studyguide:{pressed:"book-open",unpressed:"book-solid"}},I4e={bookmarks:{pressed:bG,unpressed:_G},collection:{pressed:hY,unpressed:bY},challenge:{pressed:z7,unpressed:N7},plan:{pressed:mee,unpressed:gee},studyguide:{pressed:Fie,unpressed:qie}};function XM(e,t){return`docon-${t?SSe[e].pressed:SSe[e].unpressed}`}function L4e(e,t,o){return I4e[e][t?"pressed":"unpressed"].replace(/\{title\}/g,o)}function P4e(e,t,o){let n=e?.querySelector("summary"),i=n?.querySelector(".add-to-collection-status");n?.querySelector(".docon")?.classList.remove(XM(o,!t)),n?.querySelector(".docon")?.classList.add(XM(o,t)),i&&(i.textContent=t?wC:rc)}function R4e(e,t,o,n){e.setAttribute("data-pressed",n.toString()),e.setAttribute("title",L4e(t,n,o));let i=e.querySelector(".docon");if(!i)throw new Error("Expected list button to contain a docon");if(i.classList.remove(XM(t,!n)),i.classList.add(XM(t,n)),e.closest(".popover")!==null){if(t==="collection"){let r=e.querySelector(".popover .collection-status");r&&(r.textContent=n?$$:z$)}else if(t==="plan"){let r=e.querySelector(".plan-status");r&&(r.textContent=n?Lz:Iz)}else if(t==="challenge"){let r=e.querySelector(".challenge-status");r&&(r.textContent=n?BC:T$)}}else{let r=e.querySelector(".collection-status:not(.popover *)");if(r){r.textContent=n?wC:rc;return}let s=e.querySelector(".popover .add-to-collection-status");s&&(s.textContent=n?wC:rc)}}async function $i(e){if(!e)return;if(!w.userServices){Array.from(e.querySelectorAll("button[data-list-type]")).forEach(r=>r.hidden=!0);return}let o=Un(J.pathname).indexOf("/training")!==-1||J.href.indexOf("interests")!==-1;Array.from(e.querySelectorAll("button[data-list-type]:not(.popover *)")).forEach(i=>{M4e(i,o)}),Aw(e),e.querySelectorAll("button[data-list-type]").forEach(i=>{i.addEventListener("click",z4e)})}function M4e(e,t){let o=Z6(e);if(o===null)return;let n=e.closest("#article-header"),i=t&&(o.resourceType==="learning path"||o.resourceType==="module"),r=S.createElement("details");r.classList.add("popover","popover-right","add-item-popover"),t&&e.parentElement&&e.parentElement.id==="module-actions"&&r.classList.remove("popover-right");let s=i?d` `:"",a=d`
      ${s}
      `;y(a,r),e.replaceWith(r)}var fp=[];async function Aw(e,t=k.isAuthenticated){let o=Array.from(e.querySelectorAll("button[data-list-type]")).map(a=>Z6(a)).filter(a=>a!==null);if(o.length===0)return;let n=o.map(a=>a.url).filter((a,l,c)=>a&&c.indexOf(a)===l);if(t&&!fp?.length)try{let a=await lt.getAllListsByUrl(n);a.hasError===!1&&(fp=a.data)}catch{fp=void 0}let i=D4e(fp),r=a=>{a==="collection"?fp=Array.from(i.collectionAssociations):a==="plan"?fp=Array.from(i.planAssociations):a==="challenge"&&(fp=Array.from(i.challengeAssociations))};for(let{button:a,type:l,url:c,title:u}of o){r(l);let p=$4e(c,fp);R4e(a,l,u,p)}Array.from(e.querySelectorAll(".add-item-popover")).forEach(a=>{let l=a.querySelector(".popover-content .collection-status"),c=a.querySelector(".popover-content .plan-status"),u=a.querySelector(".popover-content .challenge-status"),p=l?.textContent===$$||c?.textContent===Lz||u?.textContent===BC;P4e(a,p,"collection")})}function D4e(e){return(e??[]).reduce((t,o)=>(o.lists.forEach(n=>{!mt(n.skillingPlanId)&&mt(n.learnChallengeId)?t.planAssociations.add(o):!mt(n.learnChallengeId)&&mt(n.skillingPlanId)?t.challengeAssociations.add(o):mt(n.skillingPlanId)&&mt(n.learnChallengeId)&&t.collectionAssociations.add(o)}),t),{planAssociations:new Set,collectionAssociations:new Set,challengeAssociations:new Set})}function $4e(e,t){return t.findIndex(o=>o.url===e&&o.lists.length>0)!==-1}async function z4e(e,t=k.isAuthenticated){let o=Z6(e.target);if(o!==null){if(e.preventDefault(),b.data.isPermissioned){Yg(tE,aY);return}if(!t){let n=o.type==="plan"?Pne:o.type==="challenge"?eQ:U$;N4e(n);return}F4e(o)}}function Z6(e){let t=e instanceof Element&&e.closest("button");if(!t)return null;let o=t.getAttribute("data-list-type");if(o!=="collection"&&o!=="challenge"&&o!=="plan")return null;let n=t.getAttribute("data-list-item-url")||J.href,i=t.getAttribute("data-list-item-title")||S.title,r=tw(n),s=t.getAttribute("data-pressed")==="true",a=t.getAttribute("data-list-source")||"module",l=t.getAttribute("data-resource-type")||"";return{button:t,type:o,url:r,title:i,pressed:s,source:a,resourceType:l}}async function N4e(e=U$){let o=dp(e,null,Qi);(await rn(o)).submitted&&Uo()}async function F4e({button:e,url:t,title:o,type:n}){e.classList.contains("is-loading")||(e.classList.add("is-loading"),q4e(t,o,n).catch().finally(()=>{e.classList.remove("is-loading")}))}function Ew(e="added",t=[],o="collection"){let n=S.querySelectorAll("#collections input:checked"),i=f=>e==="removed"&&t.length===1?t[0]:Ge(n.item(0).getAttribute(f)),r;o==="plan"?n.length===1&&e==="added"?r=j6(i("data-plan-id")).href:e==="removed"&&t.length!==0?r=j6(t[0]).href:r=Ho(k.userName,"plans").href:o==="challenge"?n.length===1?r=sn(i("data-challenge-id"),"details"):e==="removed"&&t.length!==0?r=sn(t[0],"details"):r=sn("home"):n.length===1?r=mu(i("id")).href:r=Ho(k.userName,"collections",e==="removed"&&t.length!==0?t.length===1?t[0]:"":n.length===1?Ge(n.item(0).getAttribute("id")??""):"").href;let s=lY,a=cY,l=rY,c=sY;o==="plan"?(s=vee,a=yee,l=Tee,c=See):o==="challenge"&&(s=Z7,a=X7,l=tQ,c=oQ);let u={"is-hidden":!1},p;if(e==="added")p=(n.length!==1?a:s.replace("{collectionName}",Ge(n.item(0).getAttribute("name")))).replace("{url}",r);else if(e==="removed"){let f=(S?.querySelector(`#collections input[${o==="plan"?"data-plan-":o==="challenge"?"data-challenge-":""}id="${t[0]}"]`)).getAttribute("name");p=(t.length>1?c:l.replace("{collectionName}",Ge(f))).replace("{url}",r)}else p=o==="plan"?ioe.replace("{url}",r):o==="challenge"?BC.replace("{url}",r):Ej.replace("{url}",r);let m=d`
      ${z(p)}
      `,g=S.createElement("div");y(m,g),new sv(g).show(),Aw(S.body)}async function q4e(e,t,o){let n=S.querySelector(".modal");if(K6||n&&!n.querySelector(".page-actions-menu"))return!1;K6=!0;let i=S.createElement("div");i.classList.add("modal-content");let r=new be(i),s=[];return y(ySe(r,t,e,o,()=>{U4e(s.map(a=>o==="plan"?a.skillingPlanId:o==="challenge"?a.learnChallengeId:a.listId),o)}),i),s=await W6(i,e,o),K6=!1,r.show()}function U4e(e,t){Aw(S.body);let o=Array.from(S.querySelectorAll("#collections input:checked")).map(r=>t==="plan"?r.attributes.getNamedItem("data-plan-id")?.value:t==="challenge"?r.attributes.getNamedItem("data-challenge-id")?.value:r.id),n=o.filter(r=>!e.includes(r)),i=e.filter(r=>!o.includes(r));n.length>0&&i.length===0?Ew("added",void 0,t):n.length===0&&i.length>0?Ew("removed",i,t):n.length>0&&i.length>0&&Ew("updated",void 0,t),$i(S.body)}A();function CSe(e){Na().then(t=>{let o=[],n=0;for(let r of t.products){let s=[];for(let{moniker:l,versionDisplayName:c}of r.packages)Hs(l)&&Fa[l]&&s.push(`${kn(Ge(c))}`);if(s.length===0)continue;let a=n===0?"propertyInfoTitle":"propertyInfoTitle stack";o.push(d`

      ${Ge(r.displayName)}

      ${z(s.join(" "))}
      `),n++}let i=document.createElement("div");y(o,i),e.insertAdjacentElement("afterend",i)})}function ESe(){let e=document.querySelector(".moniker-applies-to-table"),t=Array.from(document.querySelectorAll(".moniker-applies-to-overloadmember"));!e&&t.length===0||Na().then(o=>{if(e){let n=e.parentElement?.parentElement?.getAttribute("data-moniker");(!n||n.trim()==="")&&(n=xs("monikers").join(" "));let i="",r=e.parentElement?.parentElement?.querySelectorAll(".alert.is-danger");r&&r.length>0&&r.forEach(s=>{let a=s.getAttribute("data-moniker");a!==null&&a!==""&&(i+=a)}),wSe(e,o,n,i)}if(t.length!==0)for(let n of t){let i=n.parentElement.parentElement.parentElement.parentElement.getAttribute("data-moniker"),r=n.parentElement.parentElement.parentElement.parentElement.querySelectorAll(".alert.is-danger"),s="";r.forEach(a=>{let l=a.getAttribute("data-moniker");l!==null&&l!==""&&(s+=l)}),wSe(n,o,i,s)}})}function wSe(e,t,o,n){if(!e)return;let i=e.parentElement.querySelector("summary"),r=e.querySelector("thead"),s=[],a="",l="",c=0,u=!1;for(let f of t.products){let _=[],h=[],x="";for(let{moniker:v,versionDisplayName:T}of f.packages){let I=kn(Ge(T));n&&n.split(" ").indexOf(v)>0&&(h.push(I),u=!0),o&&o.split(" ").indexOf(v)>=0&&(c++,c===1?a=Ge(f.displayName)+" "+I:c===2&&(l=Ge(f.displayName)+" "+I),h.includes(I)||_.push(I))}_.length===0&&h.length===0||(_.length>0&&(_.reverse(),x=_.join(", ")+" "),h.length>0&&(h.reverse(),x=x+"("+h.join(", ")+")"),s.push(d` ${Ge(f.displayName)} ${z(x)} `))}if(s.length===0)return;i&&(c===1?i.textContent=a:c===2?i.textContent=iG.replace("{version1}",a).replace("{version2}",l):c>=3&&(i.textContent=nG.replace("{version}",a)));let p=xse;u&&(p=p+" "+oG+"");let m=d` ${Nf} ${z(p)} `;y(m,r);let g=document.createElement("tbody");y(s,g),r.insertAdjacentElement("afterend",g)}function ASe(){let e=it();if(e==="")return;let t=document.querySelector(".moniker-display-boilerplate");t&&Na().then(o=>{for(let n of o.products)for(let{moniker:i,isPrerelease:r}of n.packages)if(e===i&&Hs(i)&&Fa[i]&&r){t.classList.remove("is-hidden");return}})}function eD(){let e=it();if(!Hs(e))return!1;O4e(e);let t=H4e(S.body);return B4e(t,e),ep(),Lt(),!0}var kSe=S.createElement("style");S.head.appendChild(kSe);function O4e(e){kSe.textContent=` [data-moniker]:not([data-moniker~='${e}']) { display: none !important; } `;let t=S.querySelectorAll(`[data-moniker~='${e}'] [data-id]`);for(let n=0;nG4e(e)),U.addEventListener(YH,Q4e)}var zi={dotnet:{displayName:".NET",validSearchTerm:/^[A-Za-z_][A-Za-z0-9.<>,_]{2,255}$/,namespaceItemType:"Namespace",namespacesPath:"namespaces",monikerPickerLabel:kC,allApisLabel:EC,resultsHeadingTemplate:IC,selectLabel:rA},java:{displayName:"Java",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,]{2,255}$/,namespaceItemType:"Package",namespacesPath:"namespaces",monikerPickerLabel:kC,allApisLabel:EC,resultsHeadingTemplate:IC,selectLabel:rA},javascript:{displayName:"JavaScript",validSearchTerm:/^[A-Za-z@][A-Za-z0-9.<>,!\/\-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:M0,allApisLabel:AC,resultsHeadingTemplate:_z,selectLabel:iA},powershell:{displayName:"PowerShell",validSearchTerm:/^[A-Za-z][A-Za-z0-9.-]{2,255}$/,namespaceItemType:"Module",namespacesPath:"modules",monikerPickerLabel:M0,allApisLabel:AC,resultsHeadingTemplate:uZ,selectLabel:iA},python:{displayName:"Python",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,_-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:M0,allApisLabel:AC,resultsHeadingTemplate:_z,selectLabel:iA},rest:{displayName:"REST",validSearchTerm:/^[A-Za-z ]{3,255}$/,namespaceItemType:"",namespacesPath:"services",monikerPickerLabel:kC,allApisLabel:EC,resultsHeadingTemplate:IC,selectLabel:rA}};var zt=P("platform")||P("apiPlatform")||null,X6;function Yl(){return X6===void 0&&(X6=ofe(zt).then(j4e)),X6}function j4e(e){let{platformId:t,families:o}=e,n=[],i={},r=[];for(let s of o)for(let a of s.products){r.push(a);for(let l of a.packages){let{moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f}=l,_={platform:e,family:s,product:a,moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f};n.push(_),i[_.moniker]=_}}return{platformId:t,families:o,products:r,packages:n,packagesByMoniker:i}}var kw=zi[zt],Iw=!1;function DSe(e){let{element:t,button:o,buttonDisplayedValue:n,productList:i}=Y4e();function r(c){c.target instanceof Element&&!t.contains(c.target)&&s()}function s(){S.documentElement.classList.remove("moniker-picker-expanded"),t.classList.remove("expanded"),o.setAttribute("aria-expanded","false"),U.removeEventListener("focus",r,{capture:!0}),U.removeEventListener("click",r),Xh.removeListener(s)}function a(){s(),o.focus()}function l(){S.body.removeAttribute("style"),S.documentElement.classList.add("moniker-picker-expanded"),t.classList.add("expanded"),o.setAttribute("aria-expanded","true"),U.addEventListener("focus",r,{capture:!0}),U.addEventListener("click",r),Xh.addListener(s)}return W4e(e,o,n,i),Z4e(o,i,l,a),X4e(i,a),e6e(i,a),t}function Y4e(){let e=S.createElement("div");e.classList.add("moniker-picker"),e.setAttribute(Ao.name,"moniker-picker"),e.setAttribute("role","application ");let t=Je(),o=Je();return e.innerHTML=` `,{element:e,button:e.firstElementChild,buttonDisplayedValue:e.firstElementChild.lastElementChild,productList:e.lastElementChild.lastElementChild}}function W4e(e,t,o,n){return zt==="rest"&&(Iw=!0),e?Yl().then(i=>{i.packagesByMoniker[it()]===void 0&&Kd("");let r=()=>{let s=it();s===""?o.textContent=kw.allApisLabel:o.innerHTML=kn(Ge(i.packagesByMoniker[s].displayName))};U.addEventListener(Ri,r),r(),K4e(n);for(let s of i.families)PSe(s.products,n)}):Na().then(i=>{Iw=i.products.length===1,Iw&&i.products[0].packages.length===1&&(t.disabled=!0);let r=()=>{let s=it();o.innerHTML=kn(Ge(v_(i,s).displayName))};U.addEventListener(Ri,r),r(),PSe(i.products,n)})}function K4e(e){let t=kw.allApisLabel;e.insertAdjacentHTML("afterbegin",`
    • ${t}
    • `)}function PSe(e,t){if(Iw){RSe(e[0].packages,t);return}for(let{displayName:o,packages:n}of e){let i=Je(),r=Je();t.insertAdjacentHTML("beforeend",`
    • `);let s=t.lastElementChild.lastElementChild,a=s.lastElementChild;RSe(n,a),s.insertAdjacentHTML("beforeend",'');let l=s.lastElementChild;n.find(u=>/^azurermps/.test(u.moniker))&&l.insertAdjacentHTML("beforeend",`${Ge(sJ)}`);let c=P("archive_url");c&&l.insertAdjacentHTML("beforeend",`${Ge(Tf)}`)}}function RSe(e,t){for(let{moniker:o,isDefault:n,versionDisplayName:i}of e)t.insertAdjacentHTML("beforeend",`
    • ${Ge(i)}
    • `)}function J4e(e){Array.from(e.querySelectorAll("button.versions")).forEach(o=>{o.setAttribute("aria-expanded","false")})}function oD(e,t,o){let n=e.querySelector('button[aria-expanded="true"]');n!==t&&(n!==null&&n.setAttribute("aria-expanded","false"),t!==null&&setTimeout(function(){t.setAttribute("aria-expanded","true"),o&&setTimeout(function(){let i=S.getElementById(t.getAttribute("aria-controls"));if(!i)return;let r=i.querySelector('a[role="menuitem"]');r!==null&&r.focus()},300)},100))}function $Se(e,t){return e.querySelector(`a[href="http://approjects.co.za/?big=?view=${t}"]`)}function MSe(e){let t=e.nextElementSibling,o=$Se(t,it()),n=t.querySelector('a[href^="?view="][data-default="true"]'),i=t.querySelector('a[href^="?view="]');return o||n||i}function zSe(e){return e.search==="?view="||Iw?null:e.parentElement.parentElement.parentElement.previousElementSibling}function Z4e(e,t,o,n){let i=()=>{o();let r=it(),s=$Se(t,r),a=zSe(s);oD(t,a,!1),setTimeout(()=>{a!==null&&a.scrollIntoView(!1),s.scrollIntoView(!1),setTimeout(()=>{s.focus()},100)})};e.addEventListener("click",()=>{e.getAttribute("aria-expanded")==="false"?i():n()}),e.addEventListener("keydown",r=>{let s=e.getAttribute("aria-expanded")==="true";s&&r.keyCode===ke.up?(r.preventDefault(),n()):!s&&r.keyCode===ke.down&&(r.preventDefault(),i())})}function X4e(e,t){e.addEventListener("keydown",o=>{let n=o.target;if(n.getAttribute("role")!=="menuitem")return;let i=o.keyCode,r;switch(i){case ke.left:n instanceof HTMLAnchorElement&&n.search!=="?view="&&(o.preventDefault(),zSe(n).focus(),J4e(e));break;case ke.right:n instanceof HTMLButtonElement&&n.hasAttribute("aria-controls")&&(o.preventDefault(),MSe(n).focus(),Xh.matches||oD(e,n instanceof HTMLButtonElement?n:null,!0));break;case ke.up:case ke.down:o.preventDefault();let s=i===ke.up?"previousElementSibling":"nextElementSibling",a=i===ke.up?"lastElementChild":"firstElementChild";n.parentElement[s]===null?r=n.parentElement.parentElement[a].firstElementChild:r=n.parentElement[s].firstElementChild,r.focus(),!Xh.matches&&n instanceof HTMLButtonElement&&n.getAttribute("aria-expanded")==="true"&&(o.preventDefault(),MSe(n).focus());break;case ke.home:case ke.end:o.preventDefault();let l=i===ke.home?"firstElementChild":"lastElementChild";r=n.parentElement.parentElement[l].firstElementChild,r.focus(),r.parentElement.parentElement===e&&oD(e,r instanceof HTMLButtonElement?r:null,!0);break;case ke.escape:o.preventDefault(),t();break}})}function e6e(e,t){e.addEventListener("click",o=>{let n=o.target;if(n.getAttribute("role")==="menuitem"){if(n instanceof HTMLAnchorElement){o.preventDefault();let i=te(n.search).view;Kd(i),t();return}n instanceof HTMLButtonElement&&(!Xh.matches&&n.getAttribute("aria-expanded")==="true"?n.setAttribute("aria-expanded","false"):oD(e,n,!0),n.focus())}})}A();A();var ns=b.data.pageTemplate,gu=P("page_type"),t6e=P("page_kind"),e5=P("pagetype"),o6e=P("interactive_type"),Zg=Fa.any||ns==="Conceptual"&&e5==="Reference"&&zt!==null||ns==="Conceptual"&&gu==="powershell"&&zt!==null||ns==="Conceptual"&&e5==="Conceptual"&&zt==="powershell"||ns==="Conceptual"&&gu==="conceptual"&&zt==="powershell"||(ns==="Conceptual"&&gu==="conceptual"||ns==="Reference"&&gu==="python")&&zt==="python"||(ns==="Conceptual"&&gu==="conceptual"||ns==="Reference"&&gu==="cli")&&o6e==="azurecli"||ns==="Reference"&&gu==="powershell"&&zt!==null||ns==="Reference"&&gu==="azure-cli"&&t6e==="group",NSe=ns==="Reference"&&zt!==null||ns==="Conceptual"&&e5==="Reference"&&zt!==null||ns==="Conceptual"&&gu==="powershell"&&zt!==null;function FSe(){Zg&&tD(!0)}function n6e(e){let t=document.createElement("div");return t.setAttribute("data-bi-name","left toc"),t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(d`

      ${e||Lf}

      `,t),t}var Wl;function t5(e,t){if(t){let o=Array.from(document.getElementsByClassName("contents-expand-title"));for(let n of o)n.innerText=t}window.addEventListener("click",o=>{if(!(o.target instanceof Element&&o.target.closest("[data-contents-button]")))return;o.preventDefault();let i=n6e(t),r=["margin-xs"];Zg&&it()&&(r=["margin-inline-xs","margin-bottom-xs","margin-top-none"]),e(i,r,["padding-inline-xs","padding-top-xs"],["padding-inline-xs","padding-top-xs","border-top"],["modal-close","border"]);let c=new be(i);Wl=c,c.show().then(()=>{Wl=void 0,window.removeEventListener("resize",p)});let u=window.innerWidth;function p(){window.innerWidth!==u&&(window.removeEventListener("resize",p),c.hide())}window.addEventListener("resize",p,{passive:!0})})}function USe(){let e=R.supportLevel==="production"&&R.reviewFeatures||R.supportLevel==="development"&&R.accessLevel==="online"||R.accessLevel==="local",t=new URLSearchParams(location.search).get("experimental_moniker_picker")==="true",o=P("experimental_moniker_picker")==="true";return e&&(o||t)}function nD(e){let t=document.createElement("div");return t.classList.add("moniker-picker2"),t.setAttribute("data-bi-name","moniker-picker"),y(Lw(e),t),e?Yl().then(o=>{y(Lw(e,null,o),t),addEventListener(Ri,()=>y(Lw(e,null,o),t))}):Na().then(o=>{y(Lw(e,o),t),addEventListener(Ri,()=>y(Lw(e,o),t))}),t}function Lw(e,t,o){let n=Je(),i=`${n}-picker-label`,r=P("archive_url"),s=t&&t.products.length===1,a=c=>{if(Wl){c.preventDefault(),c.stopPropagation();let u=document.createElement("div");u.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(i6e(t),u),Wl.pushContent(u)}},l=c=>{let u,p=it();return c&&p===""?u=zi[zt].allApisLabel:c?u=o.packagesByMoniker[p].displayName:u=t?v_(t,p).displayName:"",u};return d` ${Kf} `}function qSe(e){let t=Je(),o=b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light",n=b.data.userDir==="ltr"?"text-align-left":"is-text-right",i=P("archive_url");return d` ${e.packages.length!==1?d``:d`
    • ${e.packages[0].displayName}
    • `} `}function OSe(e){let t=b.data.userDir==="ltr"?"text-align-left":"is-text-right";return d`
    • ${e.versionDisplayName}
    • `}function i6e(e){let t=e&&e.products.length===1;return d` ${t?d`${HSe(e.products[0])}`:d` ${BSe(Ff)} ${VSe(Lf)}
        ${e&&e.products?e.products.map(o=>r6e(o)):""}
      `} `}function r6e(e){let t=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light";return d`
    • ${e.packages.length!==1?d` `:d` ${e.packages[0].displayName} `}
    • `}function HSe(e){let t=Je(),o=P("archive_url");return d` ${BSe(e.displayName)} ${VSe(Ff)}
      `}function BSe(e){return d`

      ${e}

      `}function VSe(e){let t=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right";return d`
      `}function s6e(e){if(Wl){let t=document.createElement("div");t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(HSe(e),t),Wl.pushContent(t)}}function iD(e){let t=e.target;if(t instanceof HTMLAnchorElement){e.preventDefault();let o=te(t.search).view;Kd(o),Wl?Wl.hide():(j3(t),j3(t));return}}function rD(e){let t=it();return e===t?"true":void 0}var GSe="api-search-quick-filter";function QSe(){return Yl().then(e=>{let t=e.packagesByMoniker,o=!1,n=r=>(P(r)||"").split(",").map(l=>l.trim()).filter(l=>t[l]===void 0?(console.warn(`Quick Filter: no package with moniker "${l}" was found.`),!1):(o=!0,!0)).map(l=>({moniker:l,displayName:t[l].displayName})),i=[n("quickFilterColumn1"),n("quickFilterColumn2"),n("quickFilterColumn3")];return{any:o,columns:i}})}function jSe(e){let t=S.createElement("div");t.classList.add(GSe),t.setAttribute(Ao.name,GSe);let o=S.createElement("h2");o.textContent=FX,o.classList.add("api-search-heading","font-size-h3"),t.appendChild(o);for(let n of e.columns){let i=S.createElement("div");t.appendChild(i);for(let{moniker:r,displayName:s}of n){let a=S.createElement("button");a.classList.add("button","button-clear","has-text-wrap","text-align-left","display-block","button-block"),a.innerHTML=kn(s),a.addEventListener("click",()=>{Jt(a,{actionType:we.OTHER,behavior:le.OTHER,content:{event:"api-browser-quickfilter",value:r,platform:zt}}),Kd(r)}),i.appendChild(a)}}return t}function YSe(e,t,o="en-us"){if(e==="rest")return a6e(t);let n=zi[e].namespacesPath;return M(`${N.apiBrowser}/${encodeURIComponent(e)}/${n}?moniker=${encodeURIComponent(t)}&api-version=0.2&locale=${o}`).then(i=>i.json())}function a6e(e){return QH().then(t=>l6e(t,e))}function l6e(e,t){return{apiItems:(e.filter(n=>(n.scope||"").toLowerCase()===(t||"").toLowerCase())[0].services||[]).map(n=>({displayName:n.name,url:n.url,description:n.description,itemKind:Une}))}}function sD(e,t,o,n="en-us"){if(e==="rest")return c6e(n,"",t,o+"*",0,25);let i=`${N.apiBrowser}/${e}/search?api-version=0.2&search=${encodeURIComponent(o)}&locale=${n}`;return t!==""&&(i+=`&$filter=monikers/any(t: t eq '${encodeURIComponent(t)}')`),M(i).then(r=>r.json())}function c6e(e,t,o,n,i,r){let s=`${N.siteSearch}?locale=${e}&search=${n}&$skip=${i}&$top=${r}`,l=(o!==""?["REST"].concat([o]):["REST"]).map(c=>`scopes/any(t:t eq '${c}')`).join(" and ");return s+=`&$filter=${encodeURIComponent(l)}`,t!==""&&(s+=`&dataSource=${encodeURIComponent(t)}`),M(s).then(c=>c.json()).then(o5)}function o5(e){return{count:e.count,"@nextLink":e["@nextLink"],results:e.results.map(t=>({displayName:t.title,url:t.url,description:t.description,itemType:null,itemKind:null}))}}A();var aD=zi[zt],Pw=[];function KSe(e,t){Pw.push({container:e,renderHeading:t})}function lD(e,t,o){S.documentElement.classList.add("api-search-has-results");for(let{container:n,renderHeading:i}of Pw){if(n.innerHTML="",t.length===0){let u=zt==="rest"?_Z:go;n.insertAdjacentHTML("afterbegin",`
      ${u}
      `);return}i&&u6e(n,e);let r=S.createElement("table");r.classList.add("table","api-search-results"),r.setAttribute(Ao.name,"api-search-results");let s=S.createElement("thead");r.appendChild(s);let a=S.createElement("tr");s.appendChild(a);let l=S.createElement("th");l.textContent=mZ,a.appendChild(l),l=S.createElement("th"),l.textContent=Ef,a.appendChild(l);let c=S.createElement("tbody");if(r.appendChild(c),WSe(c,t),n.appendChild(r),o&&i){let u=S.createElement("button");u.classList.add("more-button","button"),u.textContent=OJ,u.setAttribute(Ao.name,"api-browser-load-more-results"),u.addEventListener("click",()=>{M(o).then(p=>p.json()).then(p=>{e.platformId==="rest"&&(p=o5(p)),o=p["@nextLink"],o===void 0&&n.removeChild(u),WSe(c,p.results)})}),n.appendChild(u)}}}function WSe(e,t){let o=S.createElement("div"),n=r=>(y(d`${r}`,o),o.textContent!=="null"?o.textContent:""),i=it();for(let r of t){let s=r.itemKind||r.itemType||aD.namespaceItemType,a=S.createElement("tr");e.appendChild(a);let l=S.createElement("td"),c=S.createElement("a");c.href=i5(r.url,i);let u=d`${z(kn(r.displayName.replace(//g,">")))}`;y(u,c);let p=S.createElement("span");p.textContent=" "+s,l.appendChild(c),l.appendChild(p),a.appendChild(l),l=S.createElement("td"),l.textContent=n(r.description),a.appendChild(l),a.appendChild(l)}}function n5(){S.documentElement.classList.add("api-search-has-results");for(let{container:e}of Pw){let t=d`
      `;y(t,e)}}function cD(e){S.documentElement.classList.add("api-search-has-results");for(let{container:t}of Pw)t.textContent=e}function JSe(){S.documentElement.classList.remove("api-search-has-results");for(let{container:e}of Pw)e.innerHTML=""}function u6e(e,t){let o=it(),n,i;if(o==="")n=zi[zt].displayName,i=null;else{let a=t.packagesByMoniker[o];n=a.product.displayName,i=a.versionDisplayName}let r=S.createElement("h2");r.classList.add("api-search-results-heading","font-size-h3");let s=d`${aD.resultsHeadingTemplate.replace("{platformName}",n)}`;if(y(s,r),i!==null&&zt==="rest"){let a=d`${z(`${Ge(o)} REST ${aD.resultsHeadingTemplate.replace("{platformName}",n)}`)}`;y(a,r)}else if(i!==null){let a=d`${z(`${aD.resultsHeadingTemplate.replace("{platformName}",n)} version ${Ge(i)}`)}`;y(a,r)}e.appendChild(r)}function i5(e,t){if(t!==""&&!/[?&]view=/i.test(e)){let[n,i]=e.split("#");i=i===void 0?"":"#"+i,e=zt==="rest"?`${n}${i}`:`${n}?view=${encodeURIComponent(t)}${i}`}let o=new URL(e,location.origin);return e=`${o.pathname}${o.search}${o.hash}`,zt!=="rest"&&(e=`/${b.data.userLocale}${e}`),e}var Xg="api-search-term-changed",wv="";function ef(){return wv}function r5(e){e=e.trim(),e!==wv&&(wv=e,(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&Bt({term:wv},"pushState"),window.dispatchEvent(new CustomEvent(Xg,{detail:{term:wv}})))}function ZSe(){let e=te().term;return e===void 0?"":e.trim()}(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&(wv=ZSe(),window.addEventListener("popstate",()=>r5(ZSe())));function XSe(){U.addEventListener(Xg,s5),U.addEventListener(Ri,s5),b.data.pageTemplate==="ApiBrowserPage"&&s5()}var uD="";function s5(){let e=ef(),t=it(),o=`${e}/${t}`;return o===uD?Promise.resolve():(uD=o,b.data.pageTemplate==="ApiBrowserPage"&&t!==""&&e===""?(n5(),Promise.all([YSe(zt,t,b.data.userLocale),Yl()]).then(([n,i])=>{if(o===uD){if(n.apiItems.length===0){cD(go);return}lD(i,n.apiItems,null)}},()=>{cD(f$)})):e.length<3?(JSe(),Promise.resolve()):zi[zt].validSearchTerm.test(e)?(n5(),Promise.all([sD(zt,t,e,b.data.userLocale),Yl()]).then(([n,i])=>{o===uD&&(a5(t,e,n.results.length),lD(i,n.results,n["@nextLink"]))},()=>{cD(f$)})):Yl().then(n=>lD(n,[],null)))}function a5(e,t,o){xe({actionType:we.OTHER,behavior:le.SEARCH,content:{event:"api-browser-search",platform:zt,moniker:e,term:t,results:o}})}var ewe="api-search-field";function twe(){let e=S.createElement("form");e.classList.add(ewe,"margin-top-xxs"),e.setAttribute(Ao.name,ewe),e.action="javascript:",e.addEventListener("submit",l=>l.preventDefault());let t=S.createElement("label"),o=S.createElement("span");o.classList.add("visually-hidden"),o.textContent=no,t.appendChild(o),e.appendChild(t);let n=S.createElement("input");n.type="search",n.classList.add("input","input-lg","padding-right-sm"),n.value=ef(),n.placeholder=no,t.appendChild(n);let i=S.createElement("a");i.href="http://approjects.co.za/?big=#",i.title=GQ,i.classList.add("clear"),i.addEventListener("click",l=>{l.preventDefault(),n.value="",n.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}),t.appendChild(i);let r=()=>{n.value===""?n.classList.add("empty"):n.classList.remove("empty")};r();let s=0,a=()=>{r(),clearTimeout(s),s=setTimeout(()=>r5(n.value),500)};return n.addEventListener("change",a),n.addEventListener("input",a),U.addEventListener(Xg,()=>{let l=ef();n.value.trim()!==l&&(n.value=l,r())}),e}function owe(){if(!w.apiBrowser)return;tD(),XSe();let e=S.querySelector("#api-browser-search-field-container");if(!e)return;let t=!0;USe()?e.appendChild(nD(t)):e.appendChild(DSe(t)),e.appendChild(twe()),QSe().then(r=>{if(!r.any)return;let s=jSe(r);e.appendChild(s)});let o=S.querySelector("#api-browser-results-container");if(!o)return;KSe(o,!0);let i=()=>{let r=it()===""&&ef()===""?"remove":"add";S.documentElement.classList[r]("has-moniker-or-term")};i(),window.addEventListener(Ri,i),window.addEventListener(Xg,i)}var nwe="renewalassessment-session-disclaimer",iwe="https://review.learn.microsoft.com/en-us/rest/api/learn/?view=rest-learn-2023-11-01-preview&branch=main";var d6e=N.assessments,Koo=`${d6e}/sessions`;A();function dD(e,t=If,o=qp,n=Kre){return dp(xu,e?t.replace("{itemTitle}",e):n,o)}function pD(e=$o,t){return dp(Wj,"",e,!0,t)}function mD(e=Zj){return d` `}function awe(e=iE,t=Pp){return dp(kj,e,t)}function lwe(e=uE,t=lE){return dp(ZQ,e,t)}var hD=(r=>(r.facebook="facebook",r.twitter="twitter",r.linkedin="linkedin",r.email="email",r.weibo="weibo",r))(hD||{}),v6e={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",twitter:"https://twitter.com/intent/tweet?original_referer={url}&tw_p=tweetbutton&url={url}",linkedin:"https://www.linkedin.com/feed/?shareActive=true&text={body}",email:"mailto:?subject={subject}&body={body}",weibo:"http://service.weibo.com/share/share.php?title={title}&url={url}"};function Mw(e,t,o){let n=encodeURIComponent(t),i=new URL(e);i.hostname="learn.microsoft.com";let r=i.href+=(e.indexOf("?")!==-1?"&":"?")+"WT.mc_id=",s=k.sharingId?`&sharingId=${k.sharingId}`:"",a=!!o?.achievementCopyTitle?.overrideTitle;return Object.values(hD).reduce((c,u)=>{if(b.data.isPermissioned)return c[u]="#",c;let p=encodeURIComponent(r+u+s),m=o?.achievementCopyTitle?.overrideTitle??t,g=encodeURIComponent(One.replace("{achievementTitle}",o?.achievementCopyTitle?.isUnquoted?`${m}`:`"${m}"`)),f={achievementCopy:g,url:p,title:n,body:a?`${encodeURIComponent(` \r `)}${g}${encodeURIComponent(` \r `)}${p}`:`${encodeURIComponent(` \r `)}${p}`,subject:encodeURIComponent(aA).replace(encodeURIComponent("{articleTitle}"),n)},_=Object.entries(f).reduce((h,[x,v])=>h.replace(new RegExp(`{${x}}`,"g"),v),v6e[u]);return c[u]=_,c},{})}function bD(e,t,o){Object.values(hD).forEach(n=>{let i=Mw(t,o);e.querySelectorAll(`.share-${n}`).forEach(r=>{i[n]==="#"&&QTe(r,Bne,Vne),r.href=i[n]})})}function dwe(){document.querySelectorAll("div.sharing").forEach(e=>e.remove())}A();function tf(e,t="is-centered margin-top-sm margin-bottom-xs"){if(!e.pageCount)return null;let o=Array.from({length:e.pageCount},(m,g)=>g),n=e.pageIndex,i=!1,r=1,s={first:0,last:o.length-1};o.length>=7&&(i=!0,n<3?(r=3,s.first=0,s.last=3):n>o.length-4?(r=3,s.first=o.length-4,s.last=s.first+r):(r=1,s={first:Math.max(e.pageIndex-r,0),last:Math.min(e.pageIndex+r,o.length-2)}));let a=d` `,l=d` `,c=d` `,u=d` `,p=[];for(let m=s.first;m<=s.last;m++)p.push(d`
    • `);return d` `}A();A();function vD(e,t=fwe,o=T6e){if(!e)return;let n=S6e(e),i=t();n.length||(n=Array.from(document.querySelectorAll("body"))),n.forEach(r=>{let s=w6e(r),a=C6e(r),l=s.map(c=>c.id);s.forEach(c=>{typeof i=="string"?l.indexOf(i)!==-1&&_D(i,c,a):l.indexOf(i[r.id])!==-1?_D(i[r.id],c,a):l.indexOf(i.tab)!==-1?_D(i.tab,c,a):_D(s[0].id,c,a),c.onclick=()=>{x6e(c.id,r),o(c.id,r.id||"tab")},c.onkeydown=u=>{let p=u.which;if(!u.altKey&&(p===ke.left||p===ke.right||p===ke.home||p===ke.end)){u.preventDefault();let m=p===ke.left||p===ke.home,g;if(u.ctrlKey||p===ke.home||p===ke.end){let f=m?1:-1;for(g=m?0:s.length-1;s[g].parentElement.getAttribute("hidden");)g+=f}else{let f=m?-1:1;g=s.findIndex(_=>_.id===c.id);do g+=f,g===-1?g=s.length-1:g===s.length&&(g=0);while(s[g].parentElement.getAttribute("hidden"))}s[g].focus();return}}})})}function x6e(e,t){let o=t.querySelector(`#${e}`);if(o===null)return;let n=Array.from(t.querySelectorAll(":scope > .tabs .tab-control")),i=Array.from(t.querySelectorAll(":scope > [data-tab-content]"));n.forEach(r=>{r!==o&&(r.parentElement.classList.remove("is-active"),r.setAttribute("aria-selected","false"),r.setAttribute("tabindex","-1"))}),o.parentElement.classList.add("is-active"),o.setAttribute("aria-selected","true"),o.setAttribute("tabindex","0"),hwe(o.getAttribute("aria-controls"),i)}function T6e(e,t){t||(t="tab");let o=`{"${t}": "${e}"}`;Bt(JSON.parse(o),"replaceState")}function fwe(){let e=te();for(let t in e)t.slice(0,3)!=="tab"&&delete e[t];return e}function _D(e,t,o){e===t.id?(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.parentElement.classList.add("is-active"),hwe(t.getAttribute("aria-controls"),o)):(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),t.parentElement.classList.remove("is-active"))}function hwe(e,t){t.forEach(o=>{o.dataset.tabContent===e?(o.hidden=!1,o.setAttribute("aria-hidden","false")):(o.hidden=!0,o.setAttribute("aria-hidden","true"))})}function S6e(e){return Array.from(e.querySelectorAll(".tabs-container"))}function w6e(e){return Array.from(e.querySelectorAll(":scope > .tabs .tab-control"))}function C6e(e){return Array.from(e.querySelectorAll(":scope > [data-tab-content]"))}A();var Jl=class Jl{static async render(t,o){return await Jl.ensureFrappeChartsIsLoaded(),Jl.frappeLibrary?new Jl.frappeLibrary.Chart(t,o):null}static async ensureFrappeChartsIsLoaded(){let t=`${Jl.thirdPartyUrl}/frappe-charts/1.5.2/frappe-charts.min.iife.js`;return Jl.frappeLibrary||(Jl.frappeLibrary=await Qs(t,"sha384-J742xhkMgA0pI8dwp+aANFethNYix5bapYzKZsz8z2Df+xqxLYImpGZddI2+ztIZ","frappe")),Jl.frappeLibrary}};Jl.thirdPartyUrl="/static/third-party";var yD=Jl;A();He();A();He();A();var $6e=e=>e.isAnswered?"docon-check has-text-success":e.isRequired?"docon-asterisk-solid has-text-danger":"docon-location-circle",z6e=e=>e.isAnswered?$X:e.isRequired?zX:NX,N6e=(e,t)=>d` ${z6e(e)} ${z(t.render(e.title||e.id))}`,xD=class{constructor(){this.md=sp}hasChildren(t){return!!t.children}children(t){return t.children}htmlTitle(t,o=this.md){if(t.isCategory)return t.title;let n=document.createElement("span");return y(N6e(t,o),n),n.innerHTML}textTitle(t){return t.title||t.id}href(t){return t.href.toString()}isNewSection(t){return!1}isExpanded(t){return!!t.children}isSelected(t){return t.isSelected}setHtmlAttributes(t,o){}};He();function ywe(e,t,o){return F6e(e,t,o,!0)}function u5(e){let t=e.querySelector(".tree-item.is-selected");t||(t=Av(e)?e.querySelector(".tree-item"):e.querySelector(".tree-item.is-leaf")),t&&Ev(t)}function xwe(e,t){e.addEventListener("focus",U6e,!0),e.addEventListener("click",o=>O6e(o,t),!0),e.addEventListener("keydown",o=>H6e(o,t),!0)}function F6e(e,t,o,n){let i=document.createElement("ul");return i.classList.add("tree"),i.setAttribute("role","tree"),i.setAttribute("aria-label",o),i.setAttribute("data-bi-name","tree"),i.setAttribute("data-is-collapsible",n?"true":"false"),Twe(i,e,t),u5(i),xwe(i,t),i}function Twe(e,t,o,n=1,i){let r=Av(e),s=1;for(let a of t){if(o.isHidden&&o.isHidden(a))continue;let l=document.createElement("li"),c=document.createElement("a");e.appendChild(l),o.isNewSection(a)&&l.classList.add("border-top"),o.setHtmlAttributes(a,(m,g)=>l.setAttribute(m,g));let u=o.htmlTitle(a);if(o.hasChildren(a)){let m=(i?`${i}_`:"title-")+`${s}-${n}`;_we(l,a),l.classList.add("tree-item"),l.setAttribute("aria-setsize",t.length.toString()),l.setAttribute("aria-level",n.toString()),l.setAttribute("aria-posinset",s.toString()),l.setAttribute("role","treeitem"),l.setAttribute("tabindex","-1"),l.setAttribute("id",m),r&&l.setAttribute("aria-expanded","false");let g=document.createElement("span");if(l.appendChild(g),g.setAttribute("data-bi-name","tree-expander"),r){g.className="tree-expander";let f=document.createElement("span");g.appendChild(f),f.className="tree-expander-indicator docon docon-chevron-right-light",f.setAttribute("aria-hidden","true")}g.insertAdjacentHTML("beforeend",u),(!r||o.isExpanded(a))&&Cv(l,!0,o),s++;continue}c.setAttribute("aria-setsize",t.length.toString()),c.setAttribute("aria-level",n.toString()),c.setAttribute("aria-posinset",s.toString()),c.setAttribute("role","treeitem"),c.setAttribute("tabindex","-1"),!r&&e.parentElement&&e.parentElement.id&&c.setAttribute("aria-describedby",e.parentElement.id),l.setAttribute("role","none"),_we(c,a),l.appendChild(c),c.classList.add("tree-item","is-leaf","has-external-link-indicator"),c.setAttribute("data-bi-name","tree-leaf"),c.href=o.href(a),c.innerHTML=u,o.isSelected(a)&&(c.classList.add("is-selected"),c.setAttribute("aria-current","page")),c.querySelector(".icon")!=null&&c.classList.add("has-icon"),o.icon&&o.icon(a)&&q6e(c,o.icon(a)),s++}}function _we(e,t){e.node=t}function Swe(e){return e.node}function q6e(e,t){if(!t||!t.screenReaderText||!t.classNames)return;let o=document.createElement("span");o.textContent=t.screenReaderText,o.classList.add("visually-hidden"),e.classList.add(...t.classNames),e.append(o)}function Av(e){return e.closest(".tree").getAttribute("data-is-collapsible")!=="false"}function wwe(e){return e?.getAttribute("aria-expanded")==="true"||!Av(e)}function Cv(e,t,o){let n=e.getAttribute("aria-level"),r=(n?parseInt(n,10):1)+1,s=Av(e);if(!s&&!t||(s&&e.setAttribute("aria-expanded",t.toString()),e.classList[t?"add":"remove"]("is-expanded"),!t||e.lastElementChild instanceof HTMLUListElement))return;let a=Swe(e),l=document.createElement("ul");l.classList.add("tree-group"),l.setAttribute("role","group"),e.appendChild(l);let c=e.getAttribute("id"),u=o.children(a);Twe(l,u,o,r,c)}function Ev(e){let t=e.closest(".tree");Array.from(t.querySelectorAll('[tabindex="0"]')).forEach(o=>o.setAttribute("tabindex","-1")),e.setAttribute("tabindex","0")}function vwe(e,t){let o=e.closest(".tree"),i=Av(e)?':not([aria-expanded="false"]) [role="treeitem"]':'[role="treeitem"] .is-leaf',r=Array.from(o.querySelectorAll(i));t==="preceding"&&r.reverse();let s=t==="preceding"?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING;return r.find(a=>e.compareDocumentPosition(a)&s&&a.closest('.tree [aria-expanded="false"] [role="treeitem"]')!==a&&Cwe(a.closest("li")))}function Cwe(e){return window.getComputedStyle(e).display!=="none"}function U6e({target:e}){let t=e instanceof HTMLElement&&e.closest('[role="treeitem"]');t&&Ev(t)}function O6e({target:e},t){let{REDUCE:o,EXPAND:n}=le,{CLICKLEFT:i}=we,r=e instanceof HTMLElement&&e.closest(".tree-expander, a");if(!r)return;let s;if(r instanceof HTMLAnchorElement)s=r;else{s=r.parentElement;let c=wwe(s);Cv(s,!c,t),Jt(e,{behavior:c?o:n,actionType:i})}let a=Swe(s),l=new CustomEvent("tree-item-clicked",{detail:a,bubbles:!0});r.closest(".tree").dispatchEvent(l)}function H6e(e,t){let{target:o,keyCode:n,shiftKey:i,altKey:r,ctrlKey:s}=e,{REDUCE:a,EXPAND:l}=le,{KEYBOARDENTER:c,KEYBOARDSPACE:u,OTHER:p}=we;if(r||s||i&&n!==ke.eight&&!(n>=ke.a&&n<=ke.b))return;let m=o instanceof HTMLElement&&o.closest('[role="treeitem"]');if(!m)return;let g=m instanceof HTMLAnchorElement,f=!g&&wwe(m),_=Av(m);if(n===ke.enter||n===ke.space){if(g||!_)return;Cv(m,!f,t),Jt(e.target,{behavior:f?a:l,actionType:n===ke.enter?c:u}),e.preventDefault();return}if(n===ke.right){if(g||!_)return;if(f){let h=m.querySelector('[role="treeitem"]');h.focus(),Ev(h)}else Cv(m,!0,t),Jt(e.target,{behavior:l,actionType:p});e.preventDefault();return}if(n===ke.left){if(!_)return;if(f)Cv(m,!1,t),Jt(e.target,{behavior:a,actionType:p}),e.preventDefault();else{let h=m.parentElement.closest('[role="treeitem"]');h&&(h.focus(),Ev(h),e.preventDefault())}return}if(n===ke.down||n===ke.up){let h=n===ke.down?"following":"preceding",x=vwe(m,h);x&&(x.focus(),Ev(x),e.preventDefault());return}if(n===ke.home||n===ke.end){let h=n===ke.home,x=m.closest(".tree"),v;if(_)v=x[h?"firstElementChild":"lastElementChild"].firstElementChild.closest('[role="treeitem"]'),Cwe(v)||(v=vwe(v,h?"following":"preceding"));else{let T=x.querySelectorAll(".tree-item.is-leaf"),I=h?0:T.length-1;v=T[I]}v.focus(),Ev(v),e.preventDefault();return}if(n===ke.numPadAsterisk||n===ke.eight&&i){if(!_)return;let h=m.closest("ul");for(let x=0;x
      ${UQ}
      `;A();He();rh();He();A();A();A();rh();A();function d5({changeHandler:e,expandedRows:t,id:o,maxCharacterCount:n,name:i,placeholder:r,readonly:s=!1,rows:a=1,value:l="",allowDoubleLength:c=!1}){return d`
      `}function Ewe(e){let t=e.target,o=Number(t.getAttribute("data-max-character-count"));if(!t.parentElement)return;let n=t.parentElement.querySelector("span"),i=o-t.value.length;n.textContent=`${i}`,i<=1?n.setAttribute("aria-live","assertive"):n.setAttribute("aria-live","polite")}function p5(e){let t=e.target,o=Number(t.getAttribute("data-expanded-rows")),n=Number(t.getAttribute("data-max-character-count"));if(t.rows=o,t.style.height="auto",!t.parentElement)return;let i=t.parentElement.querySelector("span"),r=n-t.value.length;i.textContent=`${r}`,t.removeEventListener("focus",p5),t.addEventListener("blur",Awe),t.addEventListener("input",Ewe)}function Awe(e){let t=e.target,o=Number(t.getAttribute("data-collapsed-rows"));if(t.rows=o,t.style.height="inherit",!t.parentElement)return;let n=t.parentElement.querySelector("span");n.textContent="",t.removeEventListener("blur",Awe),t.removeEventListener("input",Ewe),t.addEventListener("focus",p5)}A();A();A();function o5e(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://channel9.msdn.com/"]'));t.length&&t.forEach(o=>{let n=o.src.split("/"),i=n[n.length-2],r=`${rN}: ${i}`;o.title=o.title||r})}function n5e(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://www.youtube"]'));t.length&&t.forEach(o=>{let n=o.src.split("/").pop(),i=`${rN}: ${n}`;o.title=o.title||i})}function i5e(e){let t=[],o=[];window.addEventListener("beforeprint",()=>{Array.from(e.querySelectorAll(".embeddedvideo iframe")).forEach(i=>{if(i.offsetParent!==null){let r=i.src,s=document.createElement("a");s.href=r,s.target="_blank",s.text=r,i.parentElement&&(i.parentElement.appendChild(s),i.hidden=!0,t.push(i),o.push(s))}})}),window.addEventListener("afterprint",()=>{t.forEach(n=>n.hidden=!1),o.forEach(n=>n.remove()),t=[],o=[]})}function m5(e){n5e(e),o5e(e),i5e(e)}A();A();async function g5(e,t,o){let n=await Xd(t);if(!(!n||!e)){switch(e){case"details":case"leaderboard":n.add({title:wf,url:`/${n.basePath}/challenges`});break;case"content":o&&n.add({title:wf,url:`/${n.basePath}/challenges`},{title:uy,url:`/${n.basePath}/challenges/${o}/leaderboard`});break;default:throw new Error("Unsupported page.")}n.render()}}He();rh();var f5="5d6ea118-ff48-4612-a205-7c65e11e49ca",of="379d1859-15d0-4803-81ed-eb51a2e4945d";var Vn=class{constructor({errorCode:t}){this.errorCode=t}};A();He();yN();function h5(e){let o=/(?:status|code)[^\d]*(\d{3})/i.exec(e);return o?parseInt(o[1],10):null}var hp=class extends Be{constructor(o=null,n=null,i=!0,r=!1,s="Unknown"){super();this.id=o;this.collectionOwner=n;this.isPublicView=i;this.hasActiveTakedowns=r;this.reportStatus=s;this.isUserAuthenticated=k.isAuthenticated;this.isUserChallengeAdmin=k.isChallengeAdmin;this.responseErrorCode=0;this._busy=!1;this._editingId=null;this._editingSectionId=null;this._isEditingSummaryTitle=!1;this._isEditingSummaryDescription=!1;this._isOfficialOrOverride=!1;this._showUserDisplayName=!1}get breadcrumbTitle(){return this.collection?this.collection.name:""}get editingId(){return this._editingId}set editingId(o){this._editingId=o,this.notifyPropertyChanged()}get editingSectionId(){return this._editingSectionId}set editingSectionId(o){let n=this._editingSectionId;this._editingSectionId=o,this.notifyPropertyChanged(),o?document.getElementById("add-edit-section-form")?.focus():document.getElementById(n===of?"section":`edit-section-${n}`)?.focus()}get isEditingSummaryTitle(){return this._isEditingSummaryTitle}set isEditingSummaryTitle(o){this._isEditingSummaryTitle=o,this.notifyPropertyChanged()}get isEditingSummaryDescription(){return this._isEditingSummaryDescription}set isEditingSummaryDescription(o){this._isEditingSummaryDescription=o,this.notifyPropertyChanged()}get isEditing(){return this.editingId!==null||this.editingSectionId!==null||this.isEditingSummaryTitle||this.isEditingSummaryDescription}get isOfficialOrOverride(){return this._isOfficialOrOverride}set isOfficialOrOverride(o){this._isOfficialOrOverride=o,this.notifyPropertyChanged()}get isChallengeCollection(){return!mt(this.collection?.challengeId)||!mt(this.collection?.learnChallengeId)}get busy(){return this._busy}get showUserDisplayName(){return this._showUserDisplayName}async beforeActivate(o=null){try{if(!this.id)this.collection=o;else{let r=await lt.getList(this.id);r.hasError===!1&&(this.collection=r.data)}let n=new URLSearchParams(location.search),i=n.has("force-official-collection")?n.get("force-official-collection")==="true":!1;if(this._isOfficialOrOverride=this.collection?.isOfficial||i,this.isUserAuthenticated&&this.isUserChallengeAdmin===void 0&&(this.isUserChallengeAdmin=(await fc("me"))?.isChallengeAdmin??!1),this.collectionOwner===null){let r=await fc(`id:${this.collection.userId}`);this.setPublicCollectionOwner(r)}k.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await lt.getActiveTakedowns(this.id))):this.setReportStatus(await lt.getReportStatus(this.id)),this.notifyPropertyChanged()}catch(n){if(n instanceof Error){let i=h5(n.message);i&&(this.responseErrorCode=i)}}}async updateCollection(o,n,i){if(this.busy)throw new Error("Busy");this.setBusy();try{let r=await lt.updateListMetadata(i??this.id,{name:o,description:n});if(r.hasError===!1){let{data:s}=r;this.collection=s}else throw new Vn({errorCode:r.error.errorCode})}finally{this.setHasActiveTakedowns(!1),this.setReady()}}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await lt.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async setPublicCollectionOwner(o){this.collectionOwner=o}async setIsPublicView(o){this.isPublicView=o}async setHasActiveTakedowns(o){this.hasActiveTakedowns=o}async setReportStatus(o){this.reportStatus=o}async deleteCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await rn(dD(this.collection.name,If,qp));if(o){let n=await lt.deleteList(this.id);if(n.hasError===!1)location.href=`${co(k.userName,"collections")}`;else throw new Vn({errorCode:n.error.errorCode})}}finally{this.setReady()}}async localizeCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await rn(pD(),!0);if(o){let n=rn(mD());await lt.submitForLocalize(this.id),await n;let i=document.getElementById("submit-loc"),r=document.createElement("p");r.classList.add("margin-top-sm"),r.setAttribute("id","loc-submitted-text");let s=d`${pE}`;y(s,r),document.getElementById("icon-list").parentElement.appendChild(r),i.hidden=!0}}finally{this.setReady()}}async copyCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await lt.copyList(this.collection.id,this.collection.name,this.collection.description);if(o.hasError===!1){let{data:n}=o,{submitted:i}=await rn(lwe(uE,lE));i&&(location.href=mu(n.id).toString())}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async convertCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await rn(awe(iE,Pp));o&&(await lt.convertList(this.collection.id),location.reload())}finally{this.setReady()}}async updatePrivacy(){if(this.busy)throw new Error("Busy");if(!this.collection||!this.collection.id)throw new Error("Invalid Collection");this.setBusy();try{let o=await lt.toggleListPrivacy(this.collection.id,!this.collection.isPrivate);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async commitUrlItem(o,n,i=-1,r){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=eye(n,o),a=await(r?lt.updateItem(this.id,r,s):lt.addItem(this.id,s));if(a.hasError===!1){let{data:l}=a;if(this.collection.sectionCount){let c=i!==-1?i:this.collection.sectionCount-1;if(r){let u=this.collection.sections[c].items.findIndex(p=>p.id===r);this.collection.sections[c].items[u]=l}else this.collection.sections[c].items.push(l),this.collection.sections[c].itemCount=this.collection.sections[c].items.length;return}if(r){let c=this.collection.items.findIndex(u=>u.id===r);this.collection.items[c]=l}else this.collection.items.push(l),this.collection.itemCount=this.collection.items.length}else throw new Vn({errorCode:a.error.errorCode})}finally{this.setReady()}}async moveItem(o,n,i=-1,r){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===0)return;let s=i!==-1?{sectionId:this.collection.sections[i].id,items:this.collection.sections[i].items.map(u=>u.id)}:{sectionId:null,items:this.collection.items.map(u=>u.id)},a=i!==-1&&this.collection.sections[i+n]?{sectionId:this.collection.sections[i+n].id,items:this.collection.sections[i+n].items.map(u=>u.id)}:null,l=d5e(o,n,s,a),c=await lt.sortList(r??this.id,l);if(c.hasError===!1)this.syncProgress(c.data,this.collection),this.collection=c.data;else throw new Error(c.error.message)}finally{this.setReady()}}async moveSection(o,n,i){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===0)return;if(n===-1){if(o===0)return;let a=this.collection.sections[o],l=this.collection.sections[o-1];this.collection.sections[o]=l,this.collection.sections[o-1]=a}if(n===1&&this.collection.sections!==void 0){if(o===this.collection.sections.length-1)return;let a=this.collection.sections[o],l=this.collection.sections[o+1];this.collection.sections[o]=l,this.collection.sections[o+1]=a}let r=this.collection.sections.map(a=>({sectionId:a.id,items:a.items.map(l=>l.id)})),s=await lt.sortList(i??this.id,r);if(s.hasError===!1)this.syncProgress(s.data,this.collection),this.collection=s.data;else throw new Error(s.error.message)}finally{this.setReady()}}async moveItemToSection(o,n,i,r){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===i)return;let s=this.collection.sections.map(c=>({sectionId:c.id,items:[...(c.items??[]).map(u=>u.id)]})),[a]=s[n].items.splice(o,1);s[i].items.unshift(a);let l=await lt.sortList(r??this.id,s);if(l.hasError===!1)this.syncProgress(l.data,this.collection),this.collection=l.data;else throw new Error(l.error.message)}finally{this.setReady()}}async deleteItem(o,n=-1,i){if(!this.busy){this.setBusy();try{let{submitted:r}=await rn(dD(o.data.title,If,qp));if(r){if(await lt.deleteItem(i??this.id,o.id),this.collection.sectionCount&&Array.isArray(this.collection.sections)&&n!==-1){let l=this.collection.sections[n];l.items=(l.items??[]).filter(c=>c.id!==o.id),l.itemCount=l.items.length;return}this.collection.itemCount&&Array.isArray(this.collection.items)&&(this.collection.items=this.collection.items.filter(l=>l.id!==o.id),this.collection.itemCount=this.collection.items.length)}}finally{this.setReady()}}}async commitSection(o,n,i,r){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=await(this.editingSectionId===of?lt.createSection(r??this.id,[...o?.trim()].length!==0?o:this.getDefaultSectionName(),n,i):lt.updateSection(r??this.id,this.editingSectionId,o,n,i));if(s.hasError===!1){let{data:a}=s;this.syncProgress(a,this.collection),this.collection=a}else throw new Vn({errorCode:s.error.errorCode})}finally{this.editingSectionId!==of&&this.setHasActiveTakedowns(!1),this.setReady()}}async deleteSection(o,n){if(this.busy)throw new Error("Busy");this.setBusy();try{let i=await lt.deleteSection(n??this.id,o);if(i.hasError===!1){this.syncProgress(i.data,this.collection);let{data:r}=i;this.collection=r}}finally{this.setReady()}}getAmountStrings(){let o="",n="";if(this.collection.totalItems===0)return{pathCountFormat:o,moduleCountFormat:n};let{path:i,module:r}=this.getCollectionItemsAmount();return i!==0&&(o=(i===1?Gj:Vj).replace("{numberOf}",i.toString())),r!==0&&(n=(r===1?gE:mE).replace("{numberOf}",r.toString())),{pathCountFormat:o,moduleCountFormat:n}}getCollectionItemsAmount(){return this.collection.items.concat(...this.collection.sections?this.collection.sections.map(n=>n.items??[]):[]).reduce((n,i)=>((i.data.pageKind==="path"||i.data.pageKind==="module")&&n[i.data.pageKind]++,n),{path:0,module:0})}canCopyAsChallenge(){return(!!this.isUserChallengeAdmin||k.tenantId===Ji)&&(Object.values(this.getCollectionItemsAmount()).some(o=>o>0)||Object.values(this.getCollectionSectionItemsAmount()).some(o=>o>0))}setBusy(){this._busy=!0,this.notifyPropertyChanged()}setReady(){this._busy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Ze)}getDefaultSectionName(o=D$){let[n,i]=[this.collection.sectionCount,this.collection.sections];if(!n||!Array.isArray(i))return o.replace("{number}",Di(1));let r=n+1;for(;i.some(s=>s.name===o.replace("{number}",Di(r)));)r++;return o.replace("{number}",Di(r))}syncProgress(o,n){let i=Object.fromEntries([...n?.items??[],...(n?.sections??[]).flatMap(r=>r.items??[])].filter(r=>r?.id).map(r=>[r.id,r]));for(let r of[...o?.items??[],...(o?.sections??[]).flatMap(s=>s.items??[])])r?.id&&r.data&&i[r.id]?.data&&(r.data.progress=i[r.id].data.progress)}getCollectionSectionItemsAmount(){return(this.collection.sections??[]).reduce((o,n)=>{let i=(n.items??[]).reduce((r,s)=>((s.data.pageKind==="path"||s.data.pageKind==="module")&&r[s.data.pageKind]++,r),{path:0,module:0});return o.path+=i.path,o.module+=i.module,o},{path:0,module:0})}};function d5e(e,t,o,n){if(!o)throw new Error("Initial section is undefined.");let i={sectionId:o.sectionId,items:Gs(o.items)},r=e+t;if(r>=0&&r
      `}function Lwe(){let e=document.createElement("div"),t=p5e();return y(t,e),new be(e)}function p5e(){return d` `}function b5(e){let t=document.createElement("div");y(e,t),kv=new be(t)}function Dw(e,t,o="",n=En,i=ze,r=!1,s=!1,a=""){return d` `}var Ni=class extends hp{constructor(o){super();this.id=o;this.returnedForbidden=!1;this._planBusy=!1;this._skillingPlan=null;this._nextPlanItem=null;this._isNextPlanItemHighlighted=!1;this._isEditingSummaryLearningOutcomes=!1;this._stats=null;this._csv=null;this._editResultCode=-1;this._id=o}get busy(){return this._planBusy}get planId(){return this._id}set planId(o){this._id=o}get plan(){return this._skillingPlan}set plan(o){this._skillingPlan=o,o&&(this.collection=o.contentList,this.isOfficialOrOverride=this.collection?.isOfficial??!1),this.notifyPropertyChanged()}get nextPlanItem(){return this._nextPlanItem}set nextPlanItem(o){this._nextPlanItem=o}get isNextPlanItemHighlighted(){return this._isNextPlanItemHighlighted}set isNextPlanItemHighlighted(o){this._isNextPlanItemHighlighted=o}get isEditing(){return super.isEditing||this.isEditingSummaryLearningOutcomes}get editResultCode(){return this._editResultCode}set editResultCode(o){this._editResultCode=o}get isEditingSummaryLearningOutcomes(){return this._isEditingSummaryLearningOutcomes}set isEditingSummaryLearningOutcomes(o){this._isEditingSummaryLearningOutcomes=o,this.notifyPropertyChanged()}async setIsPublicView(o){this.isPublicView=o}get stats(){return this._stats}set stats(o){this._stats=o}get csv(){return this._csv}set csv(o){this._csv=o}hasStarted(){return!mt(this.plan?.startedOn)}isCompleted(){return!mt(this.plan?.completedOn)||(this.plan?.itemsCompleted??0)===this.collection.totalItems}async moveItem(o,n,i){await super.moveItem(o,n,i,this.collection.id)}async moveItemToSection(o,n,i){await super.moveItemToSection(o,n,i,this.collection.id)}async deleteItem(o,n=-1){await super.deleteItem(o,n,this.collection.id)}async updateCollection(o,n){await super.updateCollection(o,n,this.collection.id)}async localizePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await rn(pD(void 0,dne),!0);if(o){let n=rn(mD(pne));await lt.submitForLocalize(this.collection?.id),await n;let i=document.getElementById("submit-loc"),r=document.createElement("p");r.classList.add("margin-top-sm"),r.setAttribute("id","loc-submitted-text");let s=d`${tA}`;y(s,r),document.getElementById("icon-list")?.parentElement?.appendChild(r),i&&(i.hidden=!0)}}finally{this.setReady()}}resumePlan(){let{item:o,elementToHighlight:n}=this.getFirstIncompleteItem(this.collection.sections??[]);location.hash=n,this.nextPlanItem=o,this.isNextPlanItemHighlighted=!0,setTimeout(()=>Tw(location.hash)),this.notifyPropertyChanged()}setBusy(){this._planBusy=!0,this.notifyPropertyChanged()}setReady(){this._planBusy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Ze)}async beforeActivate(){try{if(location.hash="",this.plan=await oi.getSkillingPlan(this.planId),this.collectionOwner===null){let n=await fc(`id:${this.plan?.userId}`);this.setPublicCollectionOwner(n)}k.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await lt.getActiveTakedowns(this.collection?.id)),await this.getPlanStatistics(),this.csv=`${N.lists}/skillingPlan/${this.planId}/csv`):this.setReportStatus(await lt.getReportStatus(this.collection?.id)),te(location.search).ref==="profile"&&this.hasStarted()?this.resumePlan():this.nextPlanItem=this.getFirstIncompleteItem(this.collection.sections??[]).item,this.notifyPropertyChanged()}catch{}}async joinPlan(o){if(this.busy)throw new Error("Busy");try{await rn(Iwe(),!1,async n=>{let i=n.querySelector("#save-plan-btn");i?.classList.add("is-loading"),this.setBusy();try{let r=await oi.joinSkillingPlan(this.planId);return r.hasError===!1&&(this.plan=r.data),o?.onSuccess?.(),{hasError:!1,data:null}}catch{return Mo(n,"somethingWentWrong"),{hasError:!0}}finally{i?.classList.remove("is-loading")}})}finally{this.setReady()}}async moveSection(o,n){await super.moveSection(o,n,this.collection.id)}async commitSection(o,n,i){await super.commitSection(o,n,i,this.collection.id)}async deleteSection(o,n){await super.deleteSection(o,n??this.collection.id)}async updatePlan(o){if(this.busy)throw new Error("Busy");this.setBusy();let n=null;try{n=await oi.updateSkillingPlan(this.planId,o),n.hasError===!1&&(this.syncProgress(n.data.contentList,this.plan.contentList),this.plan=n.data,this.hasActiveTakedowns=!1,this.editResultCode=200)}catch{this.editResultCode=500}finally{this.setReady()}return n}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await lt.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async deletePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{await oi.deleteSkillingPlan(this.planId)}finally{this.setReady()}}async dropPlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await oi.leaveSkillingPlan(this.planId);o.hasError===!1&&(this.plan=o.data)}finally{this.setReady()}}async trackClick(o,n){if(this.busy)throw new Error("Busy");if(n&&window.open(n,"_blank"),!!(!["module","path"].includes(o.data.pageKind)&&o.data.progress!==1&&this.hasStarted())){this.setBusy();try{await oi.trackClick(this.planId,o.id),this.updateTrackedItemProgress(this.collection,o,this.plan)}finally{this.setReady()}}}async getPlanStatistics(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await oi.getPlanStatistics(this.planId);o!==null&&(this.stats=o)}finally{this.setReady()}}async addToLearnersGroups(o,n){if(this.busy)throw new Error("Busy");this.setBusy(),this.plan!==null&&(this.plan?.learnerGroups===void 0||this.plan?.learnerGroups===null)&&(this.plan.learnerGroups=[]),this.plan?.learnerGroups?.push(o),this.setReady(),n(this)}async updateLearnerGroup(o){let{id:n,name:i}=o;if(this.plan===null)throw new Error("Plan not found");if(this.busy)throw new Error("Busy");this.setBusy();let r=await oi.updateLearnerGroup(this.plan?.id,n,i);if(r.hasError===!1&&this.plan?.learnerGroups){let s=this.plan.learnerGroups.findIndex(l=>l.id===n),{data:a}=r;s!==-1&&(this.plan.learnerGroups[s]=a)}return this.setReady(),r}async deleteLearnerGroup(o){if(this.busy)throw new Error("Busy");this.setBusy();let n=await oi.deleteLearnerGroup(this.plan?.id,o);return n.hasError===!1&&this.plan?.learnerGroups&&(this.plan.learnerGroups=this.plan?.learnerGroups?.filter(i=>i.id!==o)),this.setReady(),n}getDefaultSectionName(){return super.getDefaultSectionName(_ee)}updateTrackedItemProgress(o,n,i){let r=[...o.items??[],...(o.sections??[]).flatMap(s=>s.items??[])].find(s=>s?.id===n.id&&s.data);r&&(r.data.progress=1,i.itemsCompleted=(i.itemsCompleted??0)+1)}getFirstIncompleteItem(o){o=o.filter(a=>a.items?.length);let n=o[0],i=o[0]?.items?.[0]??null,r=0,s=0;for(let a of o){let l=a.items?.findIndex(c=>(c?.data.progress??0)<1)??-1;if(l!==-1&&a.items?.[l]){n=a,i=a.items[l],s=l,r=o.indexOf(a);break}}return{section:n,item:i,elementToHighlight:qo(i?.data.uid??"")||`${i?.type+"-"||""}item-${r}${s}`}}};var Pwe={architecture:MC,conceptual:lG,tutorial:gse,certification:ac,appliedSkills:Jg,challenge:ta,sample:WQ,course:Rp,examination:Bi,faq:QW,path:Pf,knownissue:kE,lifecycle:FJ,module:wi,apiconnector:jn,"azure-cli":jn,cli:jn,dotnet:jn,java:jn,javascript:jn,odata:jn,powerconnector:jn,powershell:jn,python:jn,rest:jn,typescript:jn,show:hz,series:LE,episode:Cy};function Iv(e,t,o){return e==="appliedSkills"||e==="certification"||e==="challenge"||e==="course"||e==="examination"||e==="path"||e==="knownissue"||e==="lifecycle"||e==="module"||e==="series"?Pwe[e]:t==="architecture"||t==="conceptual"||t==="tutorial"||t==="sample"||t==="faq"||t==="azure-cli"||t==="cli"||t==="dotnet"||t==="java"||t==="javascript"||t==="odata"||t==="powerconnector"||t==="python"||t==="rest"||t==="typescript"||t==="episode"||t==="show"?Pwe[t]:o&&o.startsWith("/answers/questions")?DX:""}A();var m5e=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/plans":"/plans"}`;function Lv(e,t,o){let n=new URL(location.href),i=new URLSearchParams(n.search),r=n;if(r.pathname=`${m5e()}/${e}`,t){let s=new URLSearchParams(t);for(let[a,l]of s)r.searchParams.set(a,l)}return o&&(r.hash=o),i.has("preview")&&r.searchParams.set("preview",i.get("preview")??""),r.href}function Rwe(e){let t=e.items;if(!t)return 0;let o=t?.filter(i=>(i?.data.progress??0)===1);return o?.length?o.length/t?.length:0}function _5(e){if(location.hash){let t=e.querySelector(location.hash);t!==null&&scrollTo(window.scrollY+t.getBoundingClientRect().top,500)}}function Mwe(e,t){let o="primary";return e.data.progress===1?o="accent":t&&(o="info"),`${o} border-radius`}function SD(e,t){let o={completionStatusTag:"",completionStatusTagStyle:"",progressBarLabelStyle:"",progressBarStyle:""};return e===1?(o.completionStatusTag=t==="milestone"?yne:Hi,o.completionStatusTagStyle=t==="milestone"?"color-primary":"color-success"):o.progressBarLabelStyle=t==="milestone"?"font-weight-bold":"",o}function Dwe(e){let t=new URL(e).hostname;switch(t=t.replace("www.","").toLocaleLowerCase(),t){case"github.com":return"Github";case"support.microsoft.com":return"Microsoft Support";case"techcommunity.microsoft.com":return"Microsoft Tech Community";case"youtube.com":return"YouTube";default:return Ase}}function $we(e){return k.tenantId===Ji&&e!=="bookmarks"}function v5(e,t=""){let{id:o,contentList:{name:n},learningOutcomes:i}=e,r=n??"",s=Lv(o,t?`learnerGroupId=${t}`:""),a=encodeURIComponent(qoe).replace(encodeURIComponent("{planTitle}"),r),l=[Uoe,String(Ooe).replace("{planTitle}",r),Hoe];return i.length!==0&&l.push(String(Boe)+` `+i.map(c=>`- ${c}`).join(` `)),l.push(String(Voe)+` `+s),{emailSubject:a,emailBody:encodeURIComponent(l.join(` `)),encodedPlanUrl:encodeURIComponent(s)}}function zwe(e,t){return t.some(o=>o.name.toLowerCase()===e.toLowerCase())}function $w(e,t){e.hidden=!e.hidden,t.hidden=!t.hidden}function y5(e,t,o=!1){return`

      ${e}

      ${o?``:""}
      `}function x5(e,t){let o=decodeURIComponent(e);if(yr(o,t.target)){let i=document.querySelector("#notification-wrapper"),r=y5(Poe,"success",!0);i.innerHTML=r}}A();var T5={email:/\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b/i,phone:/\b(?:(?:\+?1|\b001)[\s.-]?)?(?:\(?[0-9]{3}\)?[\s.-]?)?(?:\(?[0-9]{3}\)?[\s.-]?)?[0-9]{4}\b/i,externalLink:/((http|ftp|https):\/\/)?([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])/i};function wD(e){return T5.email.test(e)}function CD(e){return T5.phone.test(e)}function ED(e){return T5.externalLink.test(e)}function zw(e,t,o,n){switch(e){case"InvalidTitle":t.setCustomValidity(uj),t.reportValidity();break;case"TitleMissing":t.setCustomValidity(cj),t.reportValidity();break;case"UrlFormatIncorrect":o.setCustomValidity(mj),o.reportValidity();break;case"Malformed":o.setCustomValidity(gj),o.reportValidity();break;case"Unofficial":if(n)n.textContent=pj,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(n)n.textContent=dj,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function g5e(e,t){let i=[...e.value.trim()].length;return i===0?(zw("TitleMissing",e,t),!1):i<2||i>100?(zw("InvalidTitle",e,t),!1):t.value.startsWith("http://")||t.value.startsWith("https://")?!0:(zw("UrlFormatIncorrect",e,t),!1)}function ID(e,t=-1,o){let n=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("add-edit-url-title"),c=a.elements.namedItem("add-edit-url");if(g5e(l,c))try{let u=l.value.trim(),p=c.value.trim();await e.commitUrlItem(u,p,t,o?.id),e.editingId=null}catch(u){let p=a.querySelector("#generic-error-container");u instanceof Vn?zw(u.errorCode,l,c,p):zw("UnexpectedError",l,c,p)}},i=()=>{e.editingId=null},r=s=>{s.key==="Escape"&&i(),s.target instanceof HTMLInputElement&&Fw(s)};return d`
      s.target.setCustomValidity("")} />
      s.target.setCustomValidity("")} />
      `}function Nw(e,t,o,n,i){switch(e){case"InvalidTitle":t.setCustomValidity(ij),t.reportValidity();break;case"DuplicateTitle":t.setCustomValidity(oj),t.reportValidity();break;case"InvalidDescription":o.setCustomValidity(tj),o.reportValidity();break;case"InvalidDaysToComplete":n?.setCustomValidity(XQ),n?.reportValidity();break;case"Invalid":if(i)i.textContent=rj,i.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(i)i.textContent=sj,i.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function f5e(e,t,o){let r=[...e.value.trim()].length,s=[...t.value.trim()].length;if(r>100)return Nw("InvalidTitle",e,t,o),!1;if(s>550)return Nw("InvalidDescription",e,t,o),!1;if(o){let a=o.value.trim();if(a!==""){let l=Number(a);if(isNaN(l)||!Number.isInteger(l)||l<1)return Nw("InvalidDaysToComplete",e,t,o),!1}}return!0}function S5(e,t){let o=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("add-edit-section-title"),c=a.elements.namedItem("add-edit-section-description"),u=a.elements.namedItem("add-edit-section-days-to-complete");if(f5e(l,c,u))try{let p=l.value.trim(),m=c.value.trim(),g=(()=>{let f=u?.value.trim();if(f)return parseInt(f)})();await e.commitSection(p,m,g),e.editingSectionId=null}catch(p){let m=a.querySelector("#generic-error-container");p instanceof Vn?Nw(p.errorCode,l,c,u,m):Nw("UnexpectedError",l,c,u,m)}},n=()=>{e.editingSectionId=null},i=s=>{s.key==="Escape"&&n()},r=s=>{Fw(s),s.target.setCustomValidity("")};return d`
      ${(()=>{let s=e instanceof Ni?"plan":"collection",a=t?"editSection":"newSection";return{collection:{newSection:M$,editSection:ej},plan:{newSection:hne,editSection:fne}}[s][a]})()}
      ${e instanceof Ni?d`
      `:""}
      `}function Fw(e){let o=e.target.closest("form").querySelector("#generic-error-container");o.hidden||(o.textContent="",o.hidden=!0)}function AD(e,t,o){switch(e){case"InvalidTitle":t.setCustomValidity(Su),t.reportValidity();break;case"DuplicateTitle":let n=rE.replace("{title}",t.value.trim());t.setCustomValidity(n),t.reportValidity();break;case"InvalidContent":t.setCustomValidity(sE),t.reportValidity();break;default:if(o)o.textContent=Fj,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function h5e(e){if(wD(e.value)||ED(e.value)||CD(e.value))return AD("InvalidContent",e),!1;let n=[...e.value.trim()].length;return n<1||n>100?(AD("InvalidTitle",e),!1):!0}function w5(e,t="",o=""){if(!e)return d``;let n=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("edit-summary-title");if(h5e(l))try{let c=l.value.trim(),u=e.collection.description?.trim()||"";await e.updateCollection(c,u),e.isEditingSummaryTitle=!1}catch(c){let u=a.querySelector("#generic-error-container");c instanceof Vn?AD(c.errorCode,l,u):AD("UnexpectedError",l,u)}},i=()=>{e.isEditingSummaryTitle=!1},r=s=>{s.key==="Escape"&&i(),s.target instanceof HTMLInputElement&&(Fw(s),s.target.setCustomValidity(""),s.target.reportValidity())};return d`
      `}function kD(e,t,o){switch(e){case"InvalidContent":t.setCustomValidity(sE),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(py),t.reportValidity();break;default:if(o)o.textContent=qj,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function b5e(e){return wD(e.value)||ED(e.value)||CD(e.value)?(kD("InvalidContent",e),!1):[...e.value.trim()].length>550?(kD("InvalidDescription",e),!1):!0}function C5(e,t="",o=""){if(!e)return d``;let n=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("edit-summary-description");if(b5e(l))try{let c=e.collection.name?.trim()||"",u=l.value.trim()||"";await e.updateCollection(c,u),e.isEditingSummaryDescription=!1}catch(c){let u=a.querySelector("#generic-error-container");c instanceof Vn?kD(c.errorCode,l,u):kD("UnexpectedError",l,u)}},i=()=>{e.isEditingSummaryDescription=!1},r=s=>{s.key==="Escape"&&i(),s.target instanceof HTMLTextAreaElement&&(Fw(s),s.target.setCustomValidity(""),s.target.reportValidity())};return d`
      `}function Nwe(e,t){if(t)switch(e){case"InvalidContent":t.setCustomValidity(sE),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(py),t.reportValidity();break;case"Invalid":t.setCustomValidity(zj),t.reportValidity();break;default:break}}function _5e(e){e&&(e.textContent=Uj,e.hidden=!1)}function v5e(e,t){let o=!1,n=!0;return t&&(t.textContent="",t.hidden=!0),e.forEach(i=>{i.setCustomValidity("");let r=i.value.trim();r.length>0&&(o=!0,(wD(r)||ED(r)||CD(r))&&(Nwe("InvalidContent",i),n=!1))}),!o&&e.length>0&&(Nwe("Invalid",e[0]),n=!1),n}function E5(e,t=""){if(!e||!e.isEditingSummaryLearningOutcomes||e.isPublicView)return"";let o=()=>{e.isEditingSummaryLearningOutcomes=!1},n=async a=>{a.preventDefault();let l=a.target,c=Array.from(l.querySelectorAll('textarea[id^="edit-summary-learning-outcomes"]')),u=l.querySelector("#generic-error-container");if(v5e(c,u))try{let p=e.collection.name?.trim()||"",m=e.collection.description?.trim()||"",g=c.map(_=>_.value.trim()).filter(_=>_.length>0),f={metadata:{name:p,description:m,learningOutcomes:g,listId:e.collection.id??"",isOfficial:e.collection.isOfficial??!1}};await e.updatePlan(f),o()}catch{_5e(u)}},i=a=>{a.key==="Escape"&&o(),a.target instanceof HTMLTextAreaElement&&(Fw(a),a.target.setCustomValidity(""),a.target.reportValidity())},r=e.plan.learningOutcomes,s=[...r,"","",""].slice(0,Math.max(3,r.length));return d`
      ${Xoe}
      ${s.map((a,l)=>d`
      `)}
      `}A();var Fwe=pt(),qwe=b.data.contentLocale||b.data.userLocale;async function nf(e,t){let o=kN(e),n=[],i={method:"GET"},r=o.map(async s=>{let a={branch:Fwe,uids:s.join(";"),locale:qwe},l=`${N.learn.progress.user}?${ne(a)}`,c=K(l,i),u=await M(c);if(u.ok&&u.status!==204){let p=await u.json();n.push(...p)}if(!u.ok)throw new Qt(u)});try{t?.updateProgress("Getting user progress by uids"),await Promise.all(r),t?.updateProgress("Got user progress by uids")}catch(s){t?.fail(s)}return n}function Uwe(e,t){let o={branch:Fwe,locale:qwe},n=`${N.learn.progress.batchUnit}?${ne(o)}`,r={method:"PUT",body:JSON.stringify(e)};return t?.updateProgress("Putting batch Progress"),M(K(n,r)).then(s=>fe(s)).then(s=>{if(s.ok)return t?.updateProgress("Completed putting batch progress"),s.json();throw new Qt(s)}).catch(s=>(t?.fail(s),Promise.reject()))}A();var rf={all:ea,ai:"AI search",documentation:na,training:ji,credential:un,qna:Iy,reference:jn,show:Si};var Owe={...ZM};var is={all:ea,last24hours:hse,last7days:fse,last30days:bse,last365days:_se,custom:UY};var LD={advanced:yV,beginner:hG,intermediate:yJ};function A5(e){switch(e){case"beginner":return 0;case"intermediate":return 1;case"advanced":return 2;default:return 3}}var k5={ar:RE,"ar-sa":HJ,bg:ME,"bg-bg":BJ,"bs-cyrl":VJ,"bs-latn":DE,ca:$E,cs:zE,da:NE,de:FE,el:qE,"el-gr":GJ,en:UE,"en-my":QJ,es:OE,"es-mx":jJ,et:HE,eu:BE,fi:VE,fil:GE,fr:QE,ga:jE,gl:YE,he:WE,hi:KE,hr:JE,hu:ZE,"hu-hu":YJ,id:XE,"id-id":WJ,is:e0,it:t0,ja:o0,kk:n0,ko:i0,lb:r0,lt:s0,lv:a0,ms:l0,mt:c0,nb:u0,nl:d0,pl:p0,pt:m0,"pt-br":JJ,"pt-pt":ZJ,ro:g0,ru:f0,sk:h0,sl:b0,"sr-cyrl":_0,"sr-latn":v0,sv:y0,th:x0,tr:T0,uk:S0,"uk-ua":XJ,ur:eZ,vi:w0,"vi-vn":tZ,"zh-cn":C0,"zh-hk":E0,"zh-tw":A0};var Hwe={event:PJ,series:LE,show:Si};var Fi={category:rf,credential_types:Owe,date:is,levels:LD,locales:k5,resource_type:{...TSe,...ZM},show_type:Hwe,years:lN,author:$p,tags:eN},Pv={azure_categories:SG,category:H$,credential_types:FY,event_groups:SW,languages:mX,date:_y,levels:NJ,locales:AJ,products:Ff,roles:cee,resource_type:iee,subjects:Oie,type:k7,show_type:IJ,years:lN,author:$p,tags:eN},Bwe={azure_categories:TG,category:H$,credential_types:NY,event_groups:TW,languages:pX,date:_y,levels:$J,locales:gz,products:Nf,roles:aee,resource_type:vse,subjects:Uie,type:A7,show_type:kJ,years:Mse,author:$p,tags:Kie};function _o(e){switch(e){case"locales":return 0;case"products":return 1;case"languages":return 2;case"roles":return 3;case"levels":return 4;case"subjects":return 5;case"type":return 6;case"resource_type":return 7;case"event_groups":return 8;case"years":return 9;case"azure_categories":return 10;default:return 11}}A();A();A();var S5e=parseInt(P("hoursToComplete"),10),Rho=BP(S5e).toLocaleLowerCase();A();A();var Le={ar:RE,bg:ME,"bs-latn":DE,ca:$E,cs:zE,da:NE,de:FE,el:qE,en:UE,es:OE,et:HE,eu:BE,fi:VE,fil:GE,fr:QE,ga:jE,gl:YE,he:WE,hi:KE,hr:JE,hu:ZE,id:XE,is:e0,it:t0,ja:o0,ka:KJ,kk:n0,ko:i0,lb:r0,lt:s0,lv:a0,ms:l0,mt:c0,nb:u0,nl:d0,pl:p0,pt:m0,ro:g0,ru:f0,sk:h0,sl:b0,"sr-cyrl":_0,"sr-latn":v0,sv:y0,th:x0,tr:T0,uk:S0,vi:w0,"zh-cn":C0,"zh-hk":E0,"zh-tw":A0},PD=new Map([["ar-sa",Le.ar],["bg-bg",Le.bg],["bs-latn-ba",Le["bs-latn"]],["ca-es",Le.ca],["cs-cz",Le.cs],["da-dk",Le.da],["de-at",`${Le.de} (${V$})`],["de-ch",`${Le.de} (${fy})`],["de-de",Le.de],["el-gr",Le.el],["en-au",`${Le.en} (${B$})`],["en-ca",`${Le.en} (${_E})`],["en-gb",`${Le.en} (${X$})`],["en-ie",`${Le.en} (${j$})`],["en-in",`${Le.en} (${Q$})`],["en-my",`${Le.en} (${vE})`],["en-nz",`${Le.en} (${W$})`],["en-sg",`${Le.en} (${J$})`],["en-us",`${Le.en} (${ez})`],["en-za",`${Le.en} (${Z$})`],["es-es",`${Le.es}`],["es-mx",`${Le.es} (${Y$})`],["et-ee",Le.et],["eu-es",Le.eu],["fi-fi",Le.fi],["fil-ph",Le.fil],["fr-be",`${Le.fr} (${bE})`],["fr-ca",`${Le.fr} (${_E})`],["fr-ch",`${Le.fr} (${fy})`],["fr-fr",`${Le.fr}`],["ga-ie",Le.ga],["gl-es",Le.gl],["he-il",Le.he],["hi-in",Le.hi],["hr-hr",Le.hr],["hu-hu",Le.hu],["id-id",Le.id],["is-is",Le.is],["it-ch",`${Le.it} (${fy})`],["it-it",`${Le.it}`],["ja-jp",Le.ja],["ka-ge",Le.ka],["kk-kz",Le.kk],["ko-kr",Le.ko],["lb-lu",Le.lb],["lt-lt",Le.lt],["lv-lv",Le.lv],["ms-my",`${Le.ms} (${vE})`],["mt-mt",Le.mt],["nb-no",Le.nb],["nl-be",`${Le.nl} (${bE})`],["nl-nl",`${Le.nl}`],["pl-pl",Le.pl],["pt-br",`${Le.pt} (${G$})`],["pt-pt",`${Le.pt} (${K$})`],["ro-ro",Le.ro],["ru-ru",Le.ru],["sk-sk",Le.sk],["sl-si",Le.sl],["sr-cyrl-rs",Le["sr-cyrl"]],["sr-latn-rs",Le["sr-latn"]],["sv-se",Le.sv],["th-th",Le.th],["tr-tr",Le.tr],["uk-ua",Le.uk],["vi-vn",Le.vi],["zh-cn",Le["zh-cn"]],["zh-tw",Le["zh-tw"]],["zh-hk",Le["zh-hk"]]]),w5e=e=>PD.get(e);w5e.keys=()=>PD.keys();var C5e=(()=>{let e=["de","en","es","fr","it"],t=o=>`${o} (${ea})`;return new Map([...PD,...Object.entries(Le).filter(([o])=>e.includes(o)).map(([o,n])=>[o,t(n)])])})();A();function E5e(){return Pr.template==="Course"?P("uid")??"":P("iltSchedulingId")??""}var RD=E5e();A();A();A();A();He();He();A();function zD(e,t="learningpath"){let o=te();return o["ns-enrollment-type"]||(o["ns-enrollment-type"]=t),o["ns-enrollment-id"]||(o["ns-enrollment-id"]=e),o}var Qwe="ModuleProgress",jwe="ModuleAssessmentProgress";async function Rv(e){if(!w.gamification)return;await ve;let t=JSON.parse(se.getItem(Qwe));if(P("page_type")!=="learn"||!k.isAuthenticated||!t||!t.progress)return;let o=t.progress.reduce((n,i)=>(n[i.unitUid]=i.detail||{},n),{});await Uwe(o,e),se.removeItem(Qwe)}async function qw(){await ve;let e=mc.getItem(jwe);P("page_type")!=="learn"||!k.isAuthenticated||!e||mc.removeItem(jwe)}A();He();A();Qp();A();var Kwe=d`

      ${uX.replace("{productName}","Microsoft Educator Center")}

      ${nZ}

      ${z(iZ)}

      `;A();A();function nCe(e,t){return t=t??40,e.length<=t?e:`${e.slice(0,t)}...`}function iCe(e){let o=nCe(e.text,34);return d`
      ${e.iconClasses?d``:""} ${o}
      ${e.popoverTemplate}
      `}A();var Q5e="skill";function FD(e){let t={classes:["badge-clear","badge-sm","background-color-secondary-light","font-weight-normal"],iconClasses:["docon","docon-ribbon2","gradient-text-vivid"],popoverTemplate:d`

      ${pee}

      ${e}

      `,text:e,type:Q5e};return iCe(t)}var an=e=>{let{title:t,url:o,titleId:n,resourceType:i,label:r=fj,labelClass:s="is-visually-hidden",buttonExtraClasses:a="button-primary"}=e;return d` `};A();He();function R5(e,t=!1){let{pageKind:o,moduleCount:n,durationInMinutes:i}=e;if(o!=="module"&&o!=="path")return"";let r=n?d`
    • ${n} ${n===1?wi.toLowerCase():Ay.toLowerCase()}
    • `:"",s=i?t?d`
    • ${On(i)}
    • `:d`
    • ${On(i)}
    • `:"";return d` ${r} ${s} `}function M5(e){let{pageKind:t,start:o,end:n,moduleCount:i}=e;if(t!=="challenge"||(!o||!n)&&i===void 0)return"";let r=o&&n?d`
    • ${I7.replace("{start}",Os.format(new Date(o))).replace("{end}",Os.format(new Date(n)))}
    • `:"",s=i?d`
    • ${i} ${i===1?wi.toLowerCase():Ay.toLowerCase()}
    • `:"";return d`${r}${s}`}function D5(e){let{url:t,submitterUsername:o,answerCount:n,commentCount:i,votes:r}=e;if(!t||!t.startsWith("/answers/questions")||!o&&n===void 0&&i===void 0&&r===void 0)return"";let s=o?d`
    • ${o} ${fX}
    • `:"",a=r!==void 0?d`
    • ${r} ${_X}
    • `:"",l=n!==void 0?d`
    • ${n} ${hX}
    • `:"",c=i!==void 0?d`
    • ${i} ${bX}
    • `:"";return d`${s}${a}${l}${c}`}function $5(e){let{pageKind:t,hoursToComplete:o}=e;return t!=="course"?"":o?d`
    • ${j5e(o)}
    • `:""}function z5(e){let{pageKind:t,start:o,end:n}=e;if(t!=="lifecycle"||!o&&!n)return"";let i=o?d`
    • ${Mie.replace("{startDate}",new Date(o).toLocaleDateString())}
    • `:"",r=n?d`
    • ${vW.replace("{endDate}",new Date(n).toLocaleDateString())}
    • `:"";return d`${i}${r}`}function N5(e){let{pageKind:t,lastEpisode:o,episodeCount:n,pageType:i}=e;if(i!=="show"&&t!=="series"||!o&&!n)return"";let r=o?d`
    • ${MJ.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",s=n?d`
    • ${LJ.replace("{count}",n.toString())}
    • `:"";return d`${r}${s}`}function F5(e){let{showName:t,uploadDate:o,pageType:n,durationInMillisecond:i}=e;if(n!=="episode"||!t&&!o&&!i)return"";let r=i?yfe(i):null,s=t?d`
    • ${t}
    • `:"",a=o?d`
    • ${DJ.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",l=r?d`
    • ${On(r)}
    • `:"";return d`${s}${a}${l}`}function j5e(e){let t=Math.floor(e/168),o=Math.floor(e%168/24),n=e-t*168-o*24,i=t>0?`${t.toString()} ${t===1?bA:_A}`:null,r=o>0?`${o.toString()} ${o===1?yE:vy}`:null,s=n>0?`${n.toString()} ${n===1?AE:Eu}`:null;return[i,r,s].filter(a=>a!==null).join(", ")}He();function q5(){let e=Sg(new Date(Date.now()));return d`

      ${sa}

      `}A();A();var Y5e=(e,t)=>e?(t.indexOf("?")!==-1?"&":"?")+`sharingId=${e}`:"",rCe=(e,t,o)=>encodeURIComponent((o?o+` `+e.toString():e.href)+Y5e(t,e.href));function sCe(e,t,o,n=!0,i=!1){let r=rCe(t,o);return d` `}function Uw(e,t,o,n,i,r){return d`
      ${e?d``:d`
      ${sCe(o||"",t,n)}
      `}
      `}function U5(e,t=!0,o=!1){let{displayName:n,userName:i,avatarUrl:r,avatarThumbnailUrl:s,userId:a}=e,l=Ho(i,"activity"),c=o?d` ${z(Pse)} `:"";return t?d`
      ${tz} ${n} ${c}
      `:d`${Pj}`}function aCe(e,t,o){let n=e??t??o;if(!n)return d``;let i=((e??t)?.collectionOwner??o?.challengeCreator).displayName;return d`
      ${lCe(i,n.collection.showUserDisplayName)}
      `}function lCe(e,t){return t?d` ${String(F$).replace("{name}",e)} `:d` ${nY} ${DH(!1)} `}function cCe(e,t,o){let n=e??t??o;return n?!(e??t)?.isPublicView&&!e?.isChallengeCollection?d`
      await n.toggleShowUserDisplayName()} .checked=${n.collection.showUserDisplayName} />
      `:d``:d``}function Ow(e,t="",o=""){return d` ${`${Di(Math.floor(e*100))}%`} ${Hi} `}function uCe(e,t){let{challengeId:o,learnChallengeId:n,name:i,isPrivate:r}=t.collection;return d` ${t?.isChallengeCollection?d` ${$7} `:""} ${Uw(r,e,i,k.sharingId)}`}function dCe(e){return!e||!e?.collection?d``:d`
      e.updatePrivacy()} />
      ${Ij}
      `}function pCe(e,t,o,n){if(!t&&!o&&!n)return d``;let i=mt(o)?mt(n)?d``:d` `:d` `,r=d`

      ${mt(o)?uY:Lne}

      `;return mt(t)?i:r}function W5e(){return d``}function O5(e){return e.sectionsCount&&e.sectionsCount>1?d`
      e.isBusy?t.preventDefault():void 0} @keydown=${t=>e.isBusy&&(t.key==="Enter"||t.key===" ")?t.preventDefault():void 0} >

      ${xne}

      `:d``}function mCe(e,t,o,n=0,i=-1,r="h3",s=!1){let{userLocale:a}=b.data,{pageKind:l,pageType:c,rating:u,title:p,url:m,uid:g}=t.data;m=m,p=p;let f=e instanceof Ni,_=f?Mwe(t,e.nextPlanItem?.id===t.id&&e.isNextPlanItemHighlighted):void 0,h=u?d``:"",x=w.trainingSkills&&t.data.pageKind==="path"&&t.data.display_skills?.length?d`
      ${FD(t.data.display_skills[0])}
      `:"",v=It=>{let Vt=zD(It.id,"Collection");return l==="challenge"&&t.data.challengeId&&(Vt.id=t.data.challengeId),`${ne(Vt)}`},T=Iv(l,c,m),I=t.type==="url"?`${Dwe(m)}`:T,C=l==="challenge"&&t.data.challengeId?m.split("?")[0]:m,H=t.data.url&&t.data.url.includes("/answers/"),F=t.type==="url"?m:`/${H?t.data.rawUrl.split("/")[3]:a}${C}?${v(e.collection)}`,ue=async()=>{e.editingId=t.id},Ce=s?d` ${p} `:d` ${o8e(r,p)} `;f&&(Ce=e.hasStarted()?d` ${p}`:d` `);let ae=t.type==="url"?d`
      ${Ce}
      `:d` ${Ce} `,ht=It=>K5e(e,o,t,i,It);return e.editingId===t.id?ID(e,i,t):s?d`
    • ${I}

      ${ae} ${t.data.iconUrl?d``:""}
      ${h} ${x}
      ${ht(!0)}
    • `:d`
    • ${I}

      ${ae}
      ${h} ${x}
      ${ht(!1)}
    • `}function K5e(e,t,o,n=-1,i=!1){let{challengeId:r,userId:s}=e.collection;return d`${e.isPublicView||e.isOfficialOrOverride&&s!==k.userId||r?Z5e(e.isUserAuthenticated,o,i,e):J5e(e,t,o,n,i)}`}function J5e(e,t,o,n=-1,i=!1){o.data.uid=o.data.uid;let r=n>=0?!(n===0&&t===0):t!==0,s=n>-1?!(n>=e.collection.sections?.length-1&&t>=e.collection.sections[n]?.items.length-1):t ${l} `:d``}function Z5e(e,t,o=!1,n){let i=o?d``:void 0,r=gCe(n,t,e);return i||r?d` `:""}function X5e(e,t){if(!e||!t)return d``;let o=t.data.progress??0,n=!(t?.data?.pageKind==="path"||t?.data?.pageKind==="module"),{completionStatusTag:i,completionStatusTagStyle:r}=SD(o,"item");if(o===0){if(n){let s=e8e(e,t);return d` `}return d``}return o===1?d` ${i} `:o>0&&o<1?d` ${wy} `:d``}function gCe(e,t,o){if(!o)return d``;let n=(()=>{let i=t.data.progress,r=e instanceof Ni,s=r&&e?.hasStarted?.(),a=!r&&typeof i=="number";if(s)return X5e(e,t);if(a)return Ow(i)})();return n?d` `:""}function e8e(e,t){let o=document.createElement("div"),n=t8e(e,t);return y(n,o),new be(o)}function t8e(e,t){return d` `}function o8e(e="h3",t){let o={h3:d`

      ${t}

      `,h4:d`

      ${t}

      `,h6:d`
      ${t}
      `};return o[e]||o.h3}function B5(e,t="collection"){let o=(t==="plan"?hoe:mY).replace("{url}",e),n=Aj,i=pY,r=Oj;return t==="plan"&&(n=boe,i=_oe,r=voe),d`

      ${n}

      ${i} ${r}

      ${z(o)}
      `}function fCe(){return d`

      ${oE}

      ${bj}


      1. ${_j}
      2. ${vj}
      3. ${z(yj)}

      ${xj}

      `}function Hw(e,t,o,n,i=!0){return d`

      ${t}

      ${o}


      ${n}
      `}function V5(e,t){let o=(()=>{let i=e.collection.sections;if(Array.isArray(i)&&i.length>0)return d`
      ${i.map((s,a,l)=>d`
      ${n8e(e,s,a,l,t)} ${H5(e,s.items,void 0,a)}
      `)}
      `;let r=e.collection.items;return Array.isArray(r)&&r.length>0?H5(e,r,void 0,-1):WM(Bj,{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Pl?"/test":""}/training/browse/`}})})(),n=d`${a8e(e)} ${s8e(e)} ${l8e(e)}`;return d`${o}${n}`}function n8e(e,t,o,n,i){return d`

      ${i} ${o+1}

      ${e.isPublicView?"":d` `}
      ${e.isPublicView?"":d`
      ${o>0?d` `:""} ${n.length>1&&o `:""} ${!(e instanceof Ni)||n.length>1?d` `:""}
      `}
      ${e instanceof Ni?d`Progress:${r8e(t)}`:""}
      ${(()=>{let r=e.editingSectionId===t.id,s=!mt(t.name),a=!mt(t.description),l=!mt(t.daysToComplete),c=s||a||l;return d`
      ${r?S5(e,t):c?d` ${s?d`

      ${t.name}

      `:""} ${a?d`

      ${t.description}

      `:""} ${l?i8e(t.daysToComplete):""} `:""}
      `})()}
      `}function H5(e,t,o=0,n=-1,i="h4",r=!1){return!t||t.length===0?_Se(e.isPublicView):d`
        ${t.map((s,a)=>mCe(e,s,a,o,n,i,r))}
      `}function i8e(e){return mt(e)?"":d`

      ${bne} ${e}

      `}function r8e(e){let t=Rwe(e),{completionStatusTag:o,completionStatusTagStyle:n,progressBarLabelStyle:i,progressBarStyle:r}=SD(t,"milestone");return t===1?d` ${o} `:d`
      ${Di(Math.floor(t*100))}%
      `}function s8e(e){return e.editingSectionId===of?S5(e):""}function a8e(e){return d`${e.editingId===f5?d`
      ${ID(e)}
      `:""}`}function l8e(e,t="margin-top-xl"){if(e.isPublicView)return"";let o={handleEvent(i){i.preventDefault(),e.editingId=f5}},n={handleEvent(i){i.preventDefault(),e.editingSectionId=of}};return d` ${d`
      ${e.isOfficialOrOverride&&!(e instanceof Ni)?d``:""} ${(e.collection?.items?.length??0)>0||(e.collection?.sections?.length??0)>0?d``:""}
      `} `}A();function qD(...e){let[t,o,n=!0]=e,i=d` ${z(iQ)}
      • ${z(t)}
      • ${z(o)}
      `;return Hw("ms--challenges-violation-banner",nQ,i,sQ,n)}A();var D0o=new Array(100).fill(0).map((e,t)=>({id:`team${t+1}`,name:`Team ${t+1}`,imageUrl:"",hasMembers:!!(t%3)}));A();var G5={"ar-sa":!0,"he-il":!0};var jko=Ml();A();A();A();He();A();A();var bCe=e=>[{id:"plan-title",name:"plan-title",title:pc,inputType:"text",dataBiName:"plan-title",value:e.title,placeholder:doe,required:!0},{id:"plan-description",name:"plan-description",title:R$,inputType:"textarea",dataBiName:"plan-description",cssClasses:"padding-bottom-xs",value:e.description,required:!1},{id:"learning-outcomes",title:Iu,subtitle:ene,tip:tne,cssClasses:"padding-top-xs border-top"},{id:"plan-outcome-1",name:"plan-learning-outcome-1",title:one,inputType:"textarea",dataBiName:"plan-outcome-1",value:e.learningOutcomes?.[0]??"",required:!1},{id:"plan-outcome-2",name:"plan-learning-outcome-2",title:nne,inputType:"textarea",dataBiName:"plan-outcome-2",value:e.learningOutcomes?.[1]??"",required:!1},{id:"plan-outcome-3",name:"plan-learning-outcome-3",title:ine,inputType:"textarea",dataBiName:"plan-outcome-3",value:e.learningOutcomes?.[2]??"",required:!1},{id:"plan-official",name:"official-plan",title:sne,inputType:"checkbox",dataBiName:"plan-official-checkbox",tip:cne,value:e.isOfficial,isDirty:!1}];function _Ce(e){let t=e.elements.namedItem("plan-title"),o=t.value;if(!o)return t.setCustomValidity(Su),t.reportValidity(),Mo(e,"planNewTitle"),null;let n=e.elements.namedItem("plan-description").value,i=[e.elements.namedItem("plan-learning-outcome-1").value,e.elements.namedItem("plan-learning-outcome-2").value,e.elements.namedItem("plan-learning-outcome-3").value].map(s=>s.trim()).filter(s=>s.length>0),r=e.elements.namedItem("official-plan")?.checked??!1;return{title:o,description:n,learningOutcomes:i,isOfficial:r}}var vCe;async function yCe(e,t){e.preventDefault();let o=document.getElementById("ms--create-plan"),n=e.target;Ws(o);let i=_Ce(o);if(i===null)return;let{title:r,description:s,learningOutcomes:a,isOfficial:l}=i,u=o.elements.namedItem("official-plan")?.dataset.changed==="true",p={listId:o.dataset.listId??"",name:r,description:s,learningOutcomes:a??[],isOfficial:l};n.disabled=!0,n.classList.add("is-loading");try{let m=await oi.createSkillingPlan(p);if(m.hasError===!0)Mo(o,"somethingWentWrong");else{let g,f=Lv(m?.data?.id);if(l&&u&&(g=Lwe()),g){t.hide(),g?.show();let _=g?.contentElement.querySelector(".modal-close");[g?.contentElement.querySelector("button#close-official-plan-modal"),_].forEach(x=>{if(!x)throw new Error("Something went wrong with the close buttons in the Official plan informative modal.");x.onclick=()=>{g?.hide(),location.href=f}})}else location.href=f}}catch(m){throw Mo(o,"somethingWentWrong"),new Error(`error: ${m.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}async function xCe(e,t){if(!t)return;let o=e.contentElement.querySelector("button#ms--plan-modal-primary-btn");if(!o)throw new Error("Primary button not found");o.onclick=async()=>{o.disabled=!0,o.classList.add("is-loading"),Ws(e.contentElement);try{await t.deletePlan(),e.hide(),location.href=Ho("me","plans").toString()}catch(n){throw Mo(e.contentElement,"somethingWentWrong"),new Error(`error: ${n.message}`)}finally{o.disabled=!1,o.classList.remove("is-loading")}}}async function TCe(e,t,o){let n=e.contentElement.querySelector("button#ms--plan-modal-primary-btn");if(!n)throw new Error("Primary button not found");n.onclick=async i=>{i.preventDefault(),n.disabled=!0,n.classList.add("is-loading"),Ws(e.contentElement);try{await t.dropPlan(),e.hide(),o()}catch(r){throw Mo(e.contentElement,"somethingWentWrong"),new Error(`error: ${r.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}}async function SCe(e){let t=e.elements.namedItem("plan-learner-group-name"),o=t.value,n=t.dataset.planId;t.classList.remove("input-danger"),e.querySelector("button[type=submit]")?.classList.add("is-loading");try{let i=await oi.createLearnerGroup(n,o);return h8e(i,e)}catch(i){throw new Error(`error: ${i.message}`)}}function h8e(e,t){if(e.hasError===!0){e.error.errorCode==="AlreadyExists"?Mo(t,"learnerGroupAlreadyExists"):Mo(t,"somethingWentWrong");let o=t.elements.namedItem("plan-learner-group-name");o.focus(),o.classList.add("input-danger");let n=t.querySelector("button[type=submit]");return n&&n.classList.remove("is-loading"),{hasError:!0}}return{hasError:!1,data:e.data}}async function wCe(e){let t=e.closest(".learner-group-details");if(!t)throw new Error("Could not find the learner group details");let o=t.nextElementSibling,n=o.querySelector(".cancel"),i=o?.querySelector("input");$w(t,o),o.focus(),n&&(n.onclick=r=>{r.preventDefault(),$w(t,o),i&&(i.value=i?.dataset.originalName)})}async function CCe(e,t){let o=t.parentElement?.previousElementSibling,n=t.parentElement,i=n?.querySelector("input"),r=i?.dataset.groupId,s=n.querySelector("#learner-group-submit");if(s?.classList.add("is-loading"),i?.value===i?.dataset.originalName){s?.classList.remove("is-loading"),$w(o,n),i.value=i?.dataset.originalName;return}if(zwe(i?.value,e.plan?.learnerGroups??[])){Mo(t,"learnerGroupAlreadyExists"),i?.focus(),i?.classList.add("input-danger"),s?.classList.remove("is-loading");return}Ws(t);let a=await e.updateLearnerGroup({id:r,name:i?.value});if(a.hasError===!1){let{data:l}=a,c=o.querySelector(".group-name");c&&(c.textContent=l.name,i.dataset.originalName=l.name),$w(o,n),i.classList.remove("input-danger"),s?.classList.remove("is-loading")}else Mo(t,"somethingWentWrong"),i.focus(),i.classList.add("input-danger"),s?.classList.remove("is-loading")}async function ECe(e,t,o,n){vCe=e.contentElement.querySelector("#notification-wrapper");let i=Dw(Roe,d`${z(Moe.replace("{learningGroupName}",t.plan?.learnerGroups?.find(s=>s.id===o)?.name||Dy))}`,void 0,ds,ze,!0);if(e.hide(),(await rn(i,!1,s=>b8e(s,t,o,n))).submitted){e.show();let s=y5(Doe,"success",!0);vCe.innerHTML=s}}async function b8e(e,t,o,n){let i=e.querySelector("button[type=submit]");i?.classList.add("is-loading");let r={hasError:!1,data:null};try{await t.deleteLearnerGroup(o),r={hasError:!1,data:null}}catch{Mo(e,"somethingWentWrong"),r={hasError:!0}}finally{n.closest(".card")?.remove(),i?.classList.remove("is-loading")}return r}A();var ACe;async function ICe(e,t=null,o=N.profile.reportConcern,n,i,r="description",s){let a=document.createElement("div");ACe=new be(a);let l=d``;if(ACe.show(),e.isAuthenticated&&t===null){let u=d``;y(d` `,a);let p=In()??"";t=await Yy(p)}l=d` ${T8e(_8e,s,yz,i,void 0,r)} ${S8e(t)}

      ${z(MX)}

      ${n||""} `,y(d` `,a);let c=a.querySelector("#report-content-form");x8e(),I8e(c),t!==null&&k8e(c,t)}function _8e(e,t,o="abuseCategory",n=!1){let i=t||Nye;return d`
      `}function kCe(e){return d` `}function v8e(e,t,o,n,i){return d` `}function y8e(e,t){return d`
      `}function x8e(){window.addEventListener("form-validating",e=>{let t=vw(e.detail.form),o=VM(t);e.detail.errors?.length>=0&&N6(e.detail.form,e.detail.errors),t&&!t.querySelector("[data-warning-icon-container]")&&BM(t),o&&$6(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;yw(t)})}function T8e(e,t,o=yz,n,i,r,s,a=!1){return d`
      ${e(i,t,n,a)}
      `}function S8e(e){if(e===null)return d`

      ${z(kX)}

      `;let[t,o]=LCe(e);return d`
      `}function w8e(e){return e.authenticationModes?e.authenticationModes.map(t=>t.type).includes("MSA"):!1}function C8e(e){let t=e.authenticationModes.find(o=>o.type==="MSA");return t?t.upn:null}function E8e(e){let t=e.authenticationModes.find(o=>o.type==="AAD");return t?t.upn:null}function A8e(e,t,o){return t??(mt(e.email)?o:e.email)??""}function LCe(e){let t=w8e(e),o=t?C8e(e):null,n=t?null:E8e(e),i=A8e(e,o,n);return[t,i]}function k8e(e,t){let[o,n]=LCe(t);if(o){let s=e.querySelector("#report-msa-email-account");s.innerText=n}let i=e.querySelector("#opt-into-email-checkbox"),r=e.querySelector("#submitter-info");i.addEventListener("change",()=>{i.checked?r.hidden=!1:r.hidden=!0})}function I8e(e){if(!e)return;let t=e.querySelector("#select-reason"),o=e.querySelector("#other-reason-textarea-container"),n=o.querySelector("textarea");if(!t||!o||!n)return;let i=t.value===ni[14]||t.value===14 .toString();i&&(o.hidden=!1,n.required=!0),t.addEventListener("change",()=>{i=t.value===ni[14]||t.value===14 .toString(),i?(o.hidden=!1,n.required=!0,n.disabled=!1):(o.hidden=!0,n.required=!1,n.disabled=!0)})}A();He();A();var UD;function PCe(e){UD=e}function RCe(e,t){let o=e.isOfficial?ys:kr,n=r=>{let s=r.target;o=s.checked?ys:kr;let a=document.querySelector("#toggle-text-plan-official");y(o,a),s.getAttribute("data-changed")==="false"&&s.setAttribute("data-changed","true")},i=bCe(e).map(r=>{let{id:s,name:a,title:l,subtitle:c,tip:u,inputType:p,dataBiName:m,cssClasses:g,required:f}=r;if(s==="plan-official"&&!t)return d``;let _=s==="plan-title"&&e.isNew===!0,h=p?p==="textarea"?d``:p==="checkbox"?d`
      ${o}
      `:d`{let v=x.target;s==="plan-title"&&(P8e(v,Su),v.classList.remove("input-danger"))}} /> ${_?d`

      ${roe}

      `:""} ${s==="plan-title"?d` `:""}`:"";return d`
      ${s==="plan-official"?L8e():""}
      ${c?d`

      ${c}

      `:""}
      ${h}
      ${u?d`

      ${u}

      `:""}
      `});return d`

      ${xoe}

      ${i}
      `}function L8e(){return d`
      ${z(lne)}
      `}function P8e(e,t){e.setCustomValidity(""),e.validity.valid||(t&&e.setCustomValidity(t),e.reportValidity())}function MCe(e){return e?d`
      • ${e.stats?.participantsStarted}

        ${Toe}

      • ${e.stats?.participantsJoined}

        ${wy}

      • ${e.stats?.participantsCompleted}

        ${yoe}

      ${Goe}

      ${Qoe}

      • ${joe}
      • ${Yoe}
      • ${Woe}
      • ${Koe}
      • ${Joe}
      • ${Zoe}
      `:d``}function DCe(e,t){if(!t?.plan)return d``;let{emailSubject:o,emailBody:n,encodedPlanUrl:i}=v5(t.plan);async function r(){UD.hide();let s=M8e(Fz,Foe,t?.plan.id,by,!0),a=await rn(s,!1,SCe);return t&&a.submitted?t.addToLearnersGroups(a.data,l=>e(l)):UD.show(),d``}return d`
      ${zoe}
      ${$oe}
      ${z(Noe)}
      ${t.plan?.learnerGroups?.map(s=>R8e(t,s))}
      `}function R8e(e,t){let{emailSubject:o,emailBody:n,encodedPlanUrl:i}=v5(e.plan,t.id);return d`
      ${Dy}: ${t.name}
      `}function M8e(e,t,o,n=En,i=!1){return o?d` `:d``}A();function Bw(e,t){return d` `}function Q5(e,t,o){return d`
      ${t}
      `}function j5(e,t,o){return d` `}var sf;function Vw(e,t,o){if(!t&&!o?.plan)return;let n=d``,i=document.createElement("div");sf=new be(i),PCe(sf);let r={title:t?.name??"",description:t?.description??"",isOfficial:t?.isOfficial??!1},s,a;switch(e){case"new":let l=t?.id;o?.plan&&(r.title=o?.plan?.contentList.name??"",r.description=o?.plan?.contentList.description??"",r.isOfficial=o?.plan?.contentList.isOfficial??!1,r.learningOutcomes=o?.plan?.learningOutcomes??[],l=o?.plan?.listId,r.isNew=!0),n=Bw("plan",{title:Eoe,body:Q5("create-plan",RCe(r,$we(o?.collection?.id)),l),footer:j5("plan",sf)}),y(n,i),s=i.querySelector("button[type=submit]"),s&&(s.innerText=by,s.setAttribute("aria-label",by),s.setAttribute("data-bi-name","create-plan-btn"),s.onclick=async c=>{await yCe(c,sf)}),a=i.querySelector("button#cancel-plan-btn"),a&&a.setAttribute("data-bi-name","cancel-create-plan-btn");break;case"invite":n=Bw("plan",{title:Bf,body:DCe(c=>Vw("invite",void 0,c),o),footer:d``}),y(n,i);break;case"progress":n=Bw("plan",{title:Vf,body:MCe(o),footer:d``}),y(n,i);break;default:break}if(n)sf.show();else throw new Error(`Invalid side panel content type: ${e}`)}function Y5(e,t,o){if(!e&&!t&&!o)return d``;ty(S.body);let n=!mt(t),i=!mt(o),r={vm:e,vmPlans:t,vmChallenge:o},s=Gw(r),{lastModified:a,totalDuration:l=0,shouldLocalize:c}=s,u=!!e?.isOfficialOrOverride||!!t?.collection.isOfficial||!!e?.isChallengeCollection,p=S.getElementById("loc-submitted-text"),m={pathCountFormat:"",moduleCountFormat:""};if(e){let{pathCountFormat:h,moduleCountFormat:x}=e.getAmountStrings();m.pathCountFormat=h,m.moduleCountFormat=x}let{pathCountFormat:g,moduleCountFormat:f}=m,_=e?.isChallengeCollection?d` ${l?d`
    • ${On(l)}
    • `:""} ${g?d`
    • ${g}
    • `:""} ${f?d`
    • ${f}
    • `:""} `:!t?.isPublicView&&a!==void 0?d`
    • ${fW} ${new Intl.DateTimeFormat(b.data.userLocale).format(new Date(a))}
    • `:"";return d`
      ${u||i?d`${aCe(e,t,o)}`:""}
      ${u||i?cCe(e,t,o):""} ${UCe(r)?dCe(e):""}
      ${p||i?"":d`

      ${c?n?tA:pE:""}

      `}
      `}function Gw(e){return(e.vm??e.vmPlans??e.vmChallenge)?.collection}function OD(e){let{vm:t,vmPlans:o}=e;return t?.collectionOwner?.userId===k.userId||o?.plan?.userId===k.userId}function W5(e){return e.vmPlans?.hasStarted()===!0}function qCe(e){return e.vmPlans?.isCompleted()===!0}function D8e(e){let{vm:t,vmPlans:o}=e,n=!mt(t),i=!mt(o),r=o?.isPublicView||t?.isPublicView,s=Gw(e),a=s?.isOfficial,l=s?.shouldLocalize;return(n||i)&&!(r||l||!a)&&OD(e)}function $Ce(e){return!!e.vmPlans&&OD(e)}function $8e(e){return!!e.vmPlans&&OD(e)}function z8e(e){return!!e.vmPlans&&W5(e)&&!qCe(e)}function zCe(e){return!!e.vmPlans&&W5(e)&&!qCe(e)}function NCe(e){return!!e.vmPlans&&!W5(e)&&k.isAuthenticated}function FCe(e){return!!e.vmPlans&&!k.isAuthenticated}function N8e(e){let{vm:t,vmPlans:o}=e,n=Gw(e);return!t?.isChallengeCollection&&!OD(e)&&!n?.isOfficial&&(!!t&&t?.reportStatus!=="Unknown"||!!o&&o?.reportStatus!=="Unknown")}function UCe(e){if(!e.vm&&!e.vmPlans)return!1;let{vm:t,vmChallenge:o}=e,n=!mt(t),i=!mt(o),s=Gw(e)?.id;return n&&!(t?.isPublicView||t?.isOfficialOrOverride&&t?.collectionOwner?.userId!==k.userId||t?.isChallengeCollection||s==="bookmarks")||i&&!!o?.isChallengeOwner()&&!!o?.isChallengeUpcoming()}function F8e(e){let{vm:t,vmPlans:o,vmChallenge:n}=e,r=Gw(e)?.id,s=mu(r),a=Ga("resume-plan-button",Uf,Uf,()=>o?.resumePlan(),"resume-plan-btn",Uf,"button-sm button-primary button-filled");function l(){function v(){let T=S.getElementById("start-or-resume");T&&y(a,T)}if(!k.isAuthenticated){Uo(location.href);return}o?.joinPlan({onSuccess:()=>{v()}})}let c=Ga("start-plan-button",aa,aa,()=>l(),"start-plan-btn",aa,"button-sm button-primary button-filled inner-focus"),u=Ga("sign-in-plan-button",qy,qy,()=>l(),"sign-in-plan-btn",qy,"button-sm button-primary button-filled",!o?.isPublicView),p=n?Ga("delete-challenge-button",V7,d` `,()=>n?.deleteChallenge(),"delete-challenge-btn",ds,"button-sm button-clear"):Ga("delete-collection-button",Rj,d` `,()=>t?.deleteCollection(),"delete-collection-btn",ds,"button-sm button-clear");async function m(v){v&&(b5(Dw(aoe,d`${loe}`,coe,uoe,kr)),kv.show(),await TCe(kv,v,()=>{let T=S.getElementById("start-or-resume");T&&y(c,T)}))}let g=()=>Ga("drop-plan-button",X0,d``,()=>m(o),"drop-plan-btn",X0,"button-sm button-clear"),f=d`
      ${Ga("submit-loc-button",dE,d` `,()=>t?.localizeCollection()??o?.localizePlan(),"localize-list-btn",dE,"button-sm button-clear margin-right-none")}
      ${Yj}
      `,_=!w.shareLink||r==="bookmarks"?d``:t?d`${uCe(s,t)}`:o?d`${Uw(!1,new URL(Lv(o?.plan?.id),location.origin),o?.collection?.name,k.sharingId,!1,"share-plan-btn")}`:n?d`${Uw(!1,new URL(sn(n?.challengeDetails?.id),location.origin),n?.challengeDetails?.contentList.name,k.sharingId)}`:d``,h=t?.isChallengeCollection||!k.isAuthenticated||r==="bookmarks"?d``:pCe((v,T,I)=>Vw(v,T,I),t,o,n);return d` ${zCe(e)||NCe(e)||FCe(e)?d`
      ${zCe(e)?a:""} ${NCe(e)?c:""} ${FCe(e)?u:""}
      `:""} ${_} ${h} ${N8e(e)?q8e(t,o):""} ${$Ce(e)?d`${B8e(o)}`:""} ${D8e(e)?f:""} ${$8e(e)?d`${V8e()}`:""} ${UCe(e)?p:""} ${$Ce(e)?d` ${U8e(o)}`:""} ${z8e(e)?g():""} `}function K5(e,t,o){return!e&&!t&&!o?d``:d`
      ${F8e({vm:e,vmPlans:t,vmChallenge:o})}
      `}function Ga(e,t,o,n,i,r,s,a=!1){return d` `}function q8e(e,t){let o=d`${t?d``:""}`,n=e?.reportStatus==="Active"||t?.reportStatus==="Active",i=Ga("report-a-concern-btn",z0,d` `,()=>ICe(k,null,`${N.lists}/report/concern`,o),e?"collection-report-a-concern-btn":"plan-report-a-concern-btn",z0,"button-sm button-clear margin-right-none",n),r=d`
      ${e?d`

      ${TY}

      ${z(SY)}

      `:d`

      ${Mne}

      ${z(Dne)}

      `}
      `;return d`
      ${i} ${n?r:""}
      `}function U8e(e){return e?Ga("delete-plan-button",ds,d` `,async()=>{b5(Dw(Aoe,Ioe,d`${e.plan?.contentList.name??""}`,Loe,void 0,void 0,e.plan?.hasParticipants,koe)),kv.show(),await xCe(kv,e)},"delete-plan-btn",ds,"button-sm button-clear"):d``}function O8e(e){return Ga("plan-progress-button",Vf,d``,()=>Vw("progress",void 0,e),"view-plan-progress-btn",Vf,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function H8e(e){return Ga("invite-learners-button",Bf,d``,()=>Vw("invite",void 0,e),"plan-invite-learners-btn",Bf,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function B8e(e){return e?d`
      • ${O8e(e)}
      • ${H8e(e)}
      `:d``}function V8e(){return d`
        ${[{href:"/training/browse",label:ji},{href:"/credentials/browse",label:un},{href:"/docs",label:na},{href:"/shows/browse",label:Si}].map(t=>d`
      • ${t.label}
      • `)}
      `}function J5(e,t){if(!e&&!t)return d``;let o=(e??t)?.collection;if(!o)return d``;let n=e??t,{challengeId:i,learnChallengeId:r,description:s,totalItems:a,name:l,remainingDuration:c,totalDuration:u,isFallbackLocale:p,shouldLocalize:m,sectionCount:g}=o,f=!mt(t),_=t?"plan":n?.isChallengeCollection?"challenge":"collection",h={challenge:"--hero-background-image-light: url('/en-us/media/profile/CSCCollectionHeroImage.png?branch=main');--hero-background-image-dark: url('/en-us/media/profile/CSCCollectionHeroImage.png?branch=main'); --border-gradient-end-color: #271e6d",collection:"--hero-background-image-light: url('/en-us/media/profile/OfficialCollectionsHeroImage.png?branch=main');--hero-background-image-dark: url('/en-us/media/profile/OfficialCollectionsHeroImage.png?branch=main'); --border-gradient-end-color: #053986",plan:"--hero-background-image-light: url(/media/learn/plans/skilling_plan_hero.png?branch=main);--hero-background-image-dark: url(/media/learn/plans/skilling_plan_hero.png?branch=main);--border-gradient-end-color: #152c75"},x={challenge:"has-background-challenge",collection:"has-background-collection",plan:"has-background-plan"},v={challenge:L7,collection:JQ,plan:Soe},T=!n?.isPublicView&&!n?.isChallengeCollection?d` `:"";return d` ${e?.isPublicView&&p&&m?Kt(Kj):""}

      ${v[_]}

      ${l} ${n?.collectionOwner?.userId===k.userId?d` `:""}

      ${f?HCe(g):""} ${n?.isEditingSummaryTitle?w5(n,n?.isOfficialOrOverride||n?.isChallengeCollection?"has-text-collection-invert":""):""} ${s?d`

      ${s} ${T}

      `:!n?.isEditingSummaryDescription&&!n?.isPublicView&&n?.isChallengeCollection===!1?d`
      ${q$} ${T}
      `:""} ${n?.isEditingSummaryDescription?C5(n,n?.isOfficialOrOverride||n?.isChallengeCollection?"has-text-collection-invert":""):""} ${Y5(e,t)} ${e?.isUserAuthenticated&&a&&u&&c&&n?.isChallengeCollection?d`
      ${Ow((u-c)/u,i||r,"width-150")}
      `:""}
      ${OCe(t)} ${E5(t)}
      ${K5(e,t,void 0)}`}function HD(e,t,o){if(!e&&!t&&!o)return d``;let n=(e??t??o)?.collection;if(!n)return d``;let i=!mt(e),r=!mt(t),s=!mt(o);if(s&&o?.isPublicView)return d``;let{description:a,items:l,name:c,remainingDuration:u,totalDuration:p,type:m,challengeId:g,sectionCount:f}=n,_=e??o??t,h=m!=="bookmarks"&&!_?.isPublicView?d``:"",x=r?"plan":s?"challenge":"collection",v={collection:{light:"url(/media/profile/RegularCollectionsHeroImage.png?branch=main)",dark:"url(/media/profile/RegularCollectionsHeroImageDark.png?branch=main)"},plan:{light:"url(/media/learn/plans/skilling_plan_hero.png?branch=main)",dark:"url(/media/learn/plans/skilling_plan_hero.png?branch=main)"},challenge:{light:"url(/media/learn/challenge/challenges_hero.png?branch=main)",dark:"url(/media/learn/challenge/challenges_hero.png?branch=main)"}};return d`

      ${r?Au:s?ta:us}

      ${m==="bookmarks"?cE:c} ${i||s||r?d` `:""}

      ${_?.isEditingSummaryTitle?w5(_):""} ${r?HCe(f):""} ${a?d`

      ${a} ${h}

      `:!_?.isEditingSummaryDescription&&m!=="bookmarks"?d`
      ${q$} ${h}
      `:""} ${_?.isEditingSummaryDescription?C5(_):""} ${Y5(e,t,o)} ${e?G8e(e):""} ${e?.isUserAuthenticated&&l?.length&&p&&u&&g?d`
      ${Ow((p-u)/p)}
      `:""}
      ${OCe(t)} ${E5(t)}
      ${K5(e,t,o)} `}function OCe(e){return!e||!e.plan?d``:d`

      ${Iu}

        ${(e.plan.learningOutcomes??[])?.map(t=>t?d`
      • ${t}
      • `:"")}
      `}function G8e(e){return e?!e.isOfficialOrOverride&&k.tenantId===Ji&&e.collectionOwner?.userId===k.userId&&e.collection.id!=="bookmarks"?d`

      ${Q8e()}

      `:"":d``}function Q8e(){return d`
      ${N$}
      `}function HCe(e){if(mt(e))return d``;let t="";switch(e){case 0:return d``;case 1:t=String(_ne);break;default:t=String(vne).replace("{numberOfMilestones}",(e??"").toString());break}return d`

      ${t}

      `}He();A();A();A();function j8e(e,t){let o=fE,n=dY,i=gY,r=fY,s=Ho("me","collections"),a=OC,l=`/${b.data.userLocale}/`;return e==="plan"&&(o=poe,n=moe,i=goe,r=foe,s=Ho("me","plans")),e==="challenge"&&(o=F7,n=q7,i=U7,r=O7,s=Ho("me","challenges"),t&&(a=H7,l=sn(t,"leaderboard"))),d`

      ${o}

      ${n}

      ${i}

      `}function Z5(e="collection",t){return d`
      ${j8e(e,t)}
      `}function X5(e,t=!0){switch(e){case 0:case 200:case 201:case 204:return null;case 403:return t?Z5():d`

      ${fE}

      `;case 404:return t?fCe():d`

      ${oE}

      `;case 500:case 502:case 503:case 504:return t?Y6():d`

      ${$u}

      `;default:return d`

      ${io}

      `}}A();A();var LMo={input:{id:"challenge-primary-subject",name:"challenge-primary-subject",docon:"search",isFullWidth:!0,placeholder:P7,required:!0},getSuggestions:async()=>[],getTitle:e=>e.displayName||e.value,noResultsTemplate:d`${go}`,itemTemplate:e=>d`${e.displayName||e.value}`};A();He();A();He();He();Qp();A();A();A();A();A();A();A();A();function QCe(e){let t=X5(e.responseErrorCode);if(t!==null)return t;if(!e.collection){let o=Ho("me","collections").toString();return B5(o,"collection")}return e.collection.learnChallengeId&&g5("content",document.getElementById("article-header-breadcrumbs")||void 0,e.collection.learnChallengeId),d` ${e.isOfficialOrOverride||e.collection.challengeId||e.collection.learnChallengeId?J5(e):HD(e)} ${f9e(e)} `}function f9e(e){if(!e.collection)return"";let t=d`

      ${Hj}

      `;return d`
      ${!e.isPublicView&&e.hasActiveTakedowns?b9e(e):""}
      ${t}
      ${V5(e,nA)}
      `}var h9e=Hw("ms--lists-violation-banner",vY,d`${z(yY)}`,xY);function b9e(e){return e?.collection?.learnChallengeId?qD(w$.replace("{detailPageLink}",sn(e.collection.learnChallengeId,"details")),rQ):h9e}async function jCe(){let e=document.querySelector("[data-main-column] [data-page-content]");if(!e)return;let t=_9e(J.pathname);await ve;let o=new hp(t,void 0,!0);await o.beforeActivate();let n=async()=>{y(QCe(o),e)};o.subscribe(Ze,n),k.subscribe(So,n),n()}function _9e(e){let t;if(!e)return t=void 0,t;let o=/collections\/([^\/]+)/,n=e.match(o);return n===null||n&&!n[1]?t=void 0:n&&n[1]&&(t=n[1]),t}function YCe(){let e=document.getElementById("filter-list");if(!e)return;let t=Array.from(document.querySelectorAll(".profile-component")),o=0,n=()=>{clearTimeout(o),o=setTimeout(()=>{v9e(LA(e.value),t)},250)};e.addEventListener("input",n),e.addEventListener("change",n)}function v9e(e,t){let o=document.querySelector(".no-results"),n=new RegExp(e,"gi");o.hidden=!0;let i=t.filter(r=>(r.hidden=!r.textContent.match(n),r.hidden?!1:r));return i.length===0&&(o.hidden=!1,kt(ia,"assertive",1e3)),i}A();A();A();A();var Q2o=pt(),j2o=b.data.userLocale;A();A();function Ks(e){let t=[],o=e.display_products?.[0];o&&t.push(o);let n=e.display_roles?.[0];n&&t.push(n);let i=e.levels?.[0],r=e.display_levels?.[0];if(r)t.push(r);else if(i&&i in Fi.levels){let c=Fi.levels[i];t.push(c)}let s=e.display_event_groups?.[0];s&&t.push(s);let a=e.display_azure_categories?.[0];a&&t.push(a);let l=e.display_languages?.[0];return l&&t.push(l),t}function Mv(e){return e.map(t=>d`
    • ${t}
    • `)}function e8(e,t){return e?On(e):t?BP(t):""}A();var Qw=24*60*60*1e3;function Yw(e,t,o){let n=te(),i=w.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return d`
      {let s=r.target;s.type!=="date"&&e.selectByValue(s.value)}} >
      ${E9e(e.facets)}
      r.value==="custom")?.isSelected}> ${ZCe("starting-date",$ie,n.gt)} ${ZCe("ending-date",_W,n.lt)}
        `}function E9e(e){return Object.keys(is).map(o=>{let n=e.find(i=>i.value.toLowerCase()===o);if(o==="all")return A9e("all",e);{let i=o==="custom"?qY:is[o];return XCe(o,i,n.isSelected)}})}function XCe(e,t,o=!1){let n=w.enableNewSiteSearch?"font-size-sm":"";return d` `}function A9e(e,t){let o=t.reduce((n,i)=>(i.isSelected&&i.value!=="all"&&(n.selection=!0),n),{selection:!1});return XCe(e,ea,!o.selection)}function ZCe(e,t,o){let n=w.enableNewSiteSearch?"font-size-sm font-weight-normal":"",i=w.enableNewSiteSearch?"margin-top-xxs":"";return d` k9e()} value="${o}" /> `}function k9e(){let e=document.querySelector("#custom-date-facet-button"),t=document.querySelector("#custom-date-facet-error"),o=[];if(I9e()&&o.push(yW.replace("{date}",new Date().toLocaleDateString())),L9e()&&o.push(xW),t.innerHTML="",o.length){for(let n of o){let i=document.createElement("li");i.innerText=n,t.appendChild(i)}e.disabled=!0}else e.disabled=!1}function I9e(){let e=P9e().getTime(),t=new Date(document.querySelector("input[name=starting-date]").value).getTime(),o=new Date(document.querySelector("input[name=ending-date]").value).getTime();return t>e||o>e}function L9e(){let e=new Date(document.querySelector("input[name=starting-date]").value).getTime(),t=new Date(document.querySelector("input[name=ending-date]").value).getTime();return e>t}function P9e(){let e=new Date,t=`0${e.getDate()}`.slice(-2),o=`0${e.getMonth()+1}`.slice(-2),n=e.getFullYear();return new Date(`${n}-${o}-${t}`)}function eEe(e,t=new Date(Date.now())){let o=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime();switch(e){case"all":return"";case"last24hours":return jw(t.getTime()-Qw);case"last7days":return jw(o-7*Qw);case"last30days":return jw(o-30*Qw);case"last365days":return jw(o-365*Qw);case"custom":return R9e();default:return""}}function R9e(){let e=te(),t=e.gt,o=e.lt,n=null,i=null;if(t){let r=new Date(t),s=r.getTimezoneOffset()*6e4;n=r.getTime()+s}if(o){let r=new Date(o),s=r.getTimezoneOffset()*6e4;i=r.getTime()+s+Qw}return jw(n,i)}function jw(e=null,t=null){let o=[];if(e){e=e<0?0:e;let n=new Date(e).toISOString();o.push(`lastUpdated gt ${n}`)}if(t){t=t<0?0:t;let n=new Date(t).toISOString();o.push(`lastUpdated lt ${n}`)}return o.join(" and ")}function Gn(e){let t=[];for(let o in e){let n=Object.keys(e[o]);if(n.length>0){let i=o.charAt(0),r=o!=="resource_type"&&o!=="type"?`${o}/any(${i}: `+n.map(s=>`${i} eq '${s}'`).join(" or ")+")":n.map(s=>`${o} eq '${s.replace("_"," ")}'`).join(" or ");t.push(`(${r})`)}}return t.join(" and ")}function VD(e){let t=[],o=e.scope?`scopes/any(s: s eq '${e.scope}')`:"";o&&t.push("("+o+")");let n=[];for(let c in e.selectedFacets){if(c==="category"||c==="date"||c==="author")continue;let u=e.selectedFacets[c],p=Object.keys(u);if(p.length>0)if(w.enableNewSiteSearch){let m=c.charAt(0),g=p.map(f=>`(${c}/any(${m}: ${m} eq '${f}'))`).join(" and ");n.push(`(${g})`)}else{let m=c.charAt(0),g=p.map(_=>`${m} eq '${_}'`).join(" or "),f=`(${c}/any(${m}: ${g}))`;n.push(f)}}if(n.length>0){let c=n.join(" and ");t.push("("+c+")")}let i;for(let c in e.selectedFacets.date){i=c;break}let r=i?eEe(i):"";r&&t.push("(category eq 'QnA' and "+r+")");let s;for(let c in e.selectedFacets.author){s=c;break}s&&t.push(`(category eq 'QnA' and authorId eq '${s}')`);let a="";for(let c in e.selectedFacets.category){a=c;break}let l=a?`category eq '${a}'`:"";return l&&t.push("("+l+")"),t.join(" and ")}function oEe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",hideCompleted:!0,fetch:M9e,resultTemplate:t8,resultSortOptions:[{label:sX,orderBy:null},{label:yf,orderBy:"title"},{label:xf,orderBy:"title desc"},{label:Df,orderBy:"last_modified desc"},{label:$f,orderBy:"last_modified"}]}}function t8(e){let o=`learn-${e.uid?qo(e.uid):Je()}-title`;return d`

        ${Fi.resource_type[e.resource_type]}

        ${e.title}
        `}async function M9e(e){let[t]=await Promise.all([tEe(e,!1),ve]);if(t.count===0&&([t]=await Promise.all([tEe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0)),!w.certificationAndCourseUpdates&&(t.facets&&t.facets.resource_type&&(t.facets.resource_type=t.facets.resource_type.filter(i=>i.value!=="course")),t.results)){let i=t.results.filter(r=>r.resource_type!=="course");t.count<=t.results.length&&(t.count=i.length),t.results=i}let o=t.results.map(i=>i.uid),n;try{n=(await Promise.resolve(w.gamification&&k.isAuthenticated?nf(o):Promise.resolve([]))).reduce(nEe("uid"),{})}catch{n={}}for(let i of t.results)i.icon_url&&(i.icon_url=et(i.icon_url,"en-us")),i.url&&(i.url=et(i.url,at.userLocale)),i.uid in n&&(i.progress=n[i.uid]);return t}function D9e(e){return{branch:pt(),environment:"prod",locale:b.data.userLocale,terms:e.terms,facet:["roles","levels","products","subjects","resource_type"],$filter:Gn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null,hideCompleted:e.hideCompleted?e.hideCompleted.toString():null,showHidden:R.reviewFeatures.toString()}}async function tEe(e,t){let o={...D9e(e),fuzzySearch:t},n=`${N.browse.learn}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(async r=>{if(r.ok)return await r.json();throw{error:r.json()}})}function nEe(e){return(t,o)=>(t[o[e]]=o,t)}function $9e(e){let{progress:t}=e,o=e.duration_in_minutes??e.hours_to_complete;if(!t||t.status==="notStarted"||typeof o!="number")return"";if(t.status==="inProgress"&&o){let i=`${Math.floor((o-t.remainingTime)/o*100)}%`;return d``}return d` `}A();A();function GD(e,t){return(e==="lit"?d:W)`

        ${t?.title??Hne}

        `}A();He();A();He();A();function rEe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:z9e,resultTemplate:sEe,resultSortOptions:[{label:yf,orderBy:"title"},{label:xf,orderBy:"title desc"},{label:Df,orderBy:"last_modified desc"},{label:$f,orderBy:"last_modified"}]}}function sEe(e){let t=(e.exams||[]).filter(a=>!!a.display_name).map((a,l)=>l===0?d` ${a.display_name}`:d`, ${a.display_name}`),o=t.length>0?d``:"",n=Fi.resource_type[e.resource_type],i=e.resource_type==="examination"?`${Bi} ${e.exam_display_name}: ${e.title}`:e.title,s=`certifications-${e.uid?qo(e.uid):Je()}-title`;return d`

        ${n}

        ${i}
        ${o}
        `}async function z9e(e){let[t]=await Promise.all([iEe(e,!1),ve]);t.count===0&&([t]=await Promise.all([iEe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.icon_url&&(o.icon_url=et(o.icon_url,"en-us")),o.url&&(o.url=et(o.url,at.userLocale));return t}function N9e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","resource_type","type"],$filter:Gn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function iEe(e,t){let o={...N9e(e),fuzzySearch:t},n=`${N.browse.certification}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}A();A();var F9e=Ml(),q9e={orderBy:"latest_episode_upload_at desc"};function lEe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:U9e,resultTemplate:cEe(),taxonomyFacetLookups:{type:"show_type"}}}async function U9e(e){let[t]=await Promise.all([aEe(e,!1),ve]);t.count===0&&([t]=await Promise.all([aEe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function aEe(e,t){let o={...O9e(e),fuzzySearch:t},n=`${N.browse.shows}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function O9e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products","type"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:q9e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function cEe(){return function(e){let t=e.image_url||e.image_url_small?e.url+(e.image_url??e.image_url_small)+"?branch=main":"/en-us/media/learn/tv/shows/show_image_default.svg?branch=main";return H9e(e,t)}}function H9e(e,t){let o=e.latest_episode_upload_at?d`

        ${F9e.format(new Date(e.latest_episode_upload_at))}

        `:"";return d` `}Cg();A();A();He();A();var p3o=pt(),m3o=b.data.userLocale;A();He();A();A();A();var cVe=uVe();function uVe(){let e=mc.getItem("x-sid");return e||(e=eu(),mc.setItem("x-sid",e),e)}var QD={"ar-sa":"ar","bg-bg":"bg","bn-in":"bn-in","bs-latn-ba":"bs-latn-ba","ca-es":"ca","cs-cz":"cs","da-dk":"da","de-de":"de","el-gr":"el","en-gb":"en-gb","en-us":"en","es-mx":"es-mx","es-es":"es","et-ee":"et","eu-es":"eu","fi-fi":"fi","fil-ph":"fil","fr-ca":"fr-ca","fr-fr":"fr","ga-ie":"ga-ie","gl-es":"gl","he-il":"he","hi-in":"hi","hr-hr":"hr","hu-hu":"hu","id-id":"id","ig-ng":"ig-ng","is-is":"is","it-it":"it","ja-jp":"ja","kk-kz":"kk","ko-kr":"ko","lb-lu":"lb-lu","ms-my":"ms","mt-mt":"mt-mt","nl-nl":"nl","nb-no":"no","pl-pl":"pl","pt-br":"pt-br","pt-pt":"pt","ro-ro":"ro","ru-ru":"ru","sk-sk":"sk","sl-si":"sl","sr-cyrl-rs":"sr-cyrl","sr-latn-rs":"sr","sv-se":"sv","th-th":"th","zh-cn":"zh","zh-tw":"zh-TW","zh-hk":"zh-HK"};function pEe(){return R.supportLevel==="production"?"958652F9-1B3E-C23A-E908-CDFFFE508ECB":"4459FB26-0753-0E59-AA51-E12E04E8D946"}async function mEe(e){let t={timestamp:String(Date.now()),use_case:e,"HEADER_user-agent":navigator.userAgent,"HEADER_accept-language":QD[b.data.userLocale]??"default",HEADER_origin:location.origin,HEADER_referer:document.referrer},o={method:"POST",body:JSON.stringify(t)},n=K(N.encryptCaptchaPayload,o),i=await M(n);if(i.ok)return{blob:(await i.json()).encodedData};throw i.status===400?new Error("Enhance detection payload invalid"):new Error("Failed to generate Arkose enhance detection data")}var gEe=["version","getConfig","reset","run","setConfig"];var dVe=w.chromeless||Vse.getItem("playwrightActive"),Ww;function fEe(){return Ww}var pVe=!1;function mVe(){pVe=!0}async function gVe(){return dVe?!1:(await ve,k.isAuthenticated)}function Kw(e){return Ww!==void 0||(Ww=gVe().then(t=>t?Qs("https://client-api.arkoselabs.com/v2/api.js",null,void 0,void 0,!0).then(()=>fVe(e)).then(bVe).catch(o=>{throw mVe(),new Error("Failed to load Arkose library")}):Promise.resolve())),Ww}function fVe(e){return new Promise(t=>{U.setupEnforcement=function(o){hVe(o,e).then(t)}})}async function hVe(e,t){let o=QD[b.data.userLocale]||"default";return e.setConfig({language:o,publicKey:pEe(),data:await(async()=>{let n;try{w.arkoseEncrypt&&(n=await mEe(t))}catch{}return n})()}),_Ve(e),e}function bVe(e){let t=gEe.filter(o=>e[o]===void 0);if(t.length>0)throw new Error(`Missing arkose dependencies: ${t.join(", ")}`)}function _Ve(e){U.arkoseEnforcement=e}function s8(){return U.arkoseEnforcement}A();function Jw(e){return encodeURIComponent(e==="high-contrast"?` `:e==="dark"?` `:` `)}var Zw=class{};function jD(e,t){return W` `}A();var WD="captcha-container",xEe,TEe,hEe=0,vVe=3,SEe=AEe(),YD=class{},a8=new Be,bEe=e=>{EEe(e.token),xEe()},yVe={title:Cu,imgsrc:e=>`data:image/svg+xml,${Jw(e)}`,message:Du,description:F0,buttonText:ku,event:YD,type:"static"},xVe={title:iN,iframeContainerId:WD,type:"iframe"},_Ee={mode:"inline",selector:"#"+WD,onCompleted:bEe,onSuppress(e){e.suppressed&&(bEe(e),vEe("suppressed",k.userId,P("lab-id")))},async onError(e){vEe("failed",k.userId,P("lab-id"));let t=await AVe(),o=s8();if(t&&hEe{_Ee.onCompleted?.(o),e.onCaptchaCompleted?.()}}:{}}),t.run(),await SEe,t.reset()}catch{e.renderError?.()}return SVe(),TEe}var Y5o=d`

        ${iN}

        `;async function CEe(){let e=null,t=await wEe({renderCaptcha:()=>{e=yEe(xVe),e.show()},renderError:()=>{e=yEe(yVe),e.show()}});if(typeof t!="string"||!t||t.trim()==="")throw new Error("Captcha failed");return e&&e.hide(),t}function EEe(e){TEe=e}function TVe(){EEe("")}function AEe(){return new Promise(e=>{xEe=e})}function SVe(){SEe=AEe()}function wVe(){return S.querySelector("#"+WD)}function CVe(){let e=wVe();e&&e.replaceChildren()}function EVe(e,t){e.setConfig({...e.getConfig(),...t})}function vEe(e,t,o){let n=o||null;xe({behavior:le.OTHER,actionType:we.OTHER,content:{event:"arkose-result",labInstanceId:n,userInstanceId:t,message:e}})}async function AVe(){try{return(await(await fetch("https://status.arkoselabs.com/api/v2/status.json")).json()).status.indicator==="none"}catch{return!1}}function yEe(e){let t=S.createElement("div");t.classList.add("modal-content","margin-none","width-full"),t.tabIndex=-1;let o=jD(a8,e).create();return Fu(a8,YD,()=>{location.reload()}),o.bind(a8,Xr),o.appendTo(t),new be(t)}A();var LVe=new Promise(()=>{});A();He();async function Xl(e,t){let o=await Xd(t);if(!o||!e)return;let n=e.hasOwnProperty("parents");if(Ut){let r=s=>"/"+s.split("/").slice(2).join("/");e&&(e=Gs(e),e.url=r(e.url)),n&&e&&e.parents&&(e.parents[0].url=r(e.parents[0].url))}let i=P("page_kind");switch(i){case"appliedSkills":o.add({title:un,url:`/${o.basePath}/credentials`},{title:sc,url:`/${o.basePath}/credentials/browse/`});break;case"appliedSkillsAssessment":o.add({title:un,url:`/${o.basePath}/credentials`},{title:sc,url:`/${o.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"appliedSkillsAssessmentReport":o.add({title:un,url:`/${o.basePath}/credentials`},{title:sc,url:`/${o.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"role":case"certification":o.add({title:w.previewCredentialsL1?un:Ka,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?sc:Tu,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"certificationrenewal":o.add({title:w.previewCredentialsL1?un:Ka,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?sc:Tu,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"certificationRenewalAssessment":case"certificationRenewalAssessmentReport":o.add({title:w.previewCredentialsL1?un:Ka,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?sc:Tu,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e?.url}/`},{title:Cz,url:`/${o.basePath}${e?.url}/renew/`});break;case"examination":o.add({title:w.previewCredentialsL1?un:Ka,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?sc:Tu,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"practiceAssessmentReport":o.add({title:w.previewCredentialsL1?un:Ka,url:w.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:w.previewCredentialsL1?sc:Tu,url:w.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}/`});break;default:throw new Error(`Unsupported page_kind "${i}".`)}o.render()}var bp=class{constructor(t,o=1){this.dateFormat=o;this.totalTimeLeft=0;this.isExpired=!1;this.endDate=t;let n=setInterval(()=>{this.setTotalTimeLeft(),this.isExpired=this.totalTimeLeft<=0,this.isExpired&&clearInterval(n)},1e3)}setTotalTimeLeft(){this.totalTimeLeft=this.endDate.getTime()-new Date().getTime()}get seconds(){return Math.floor(this.totalTimeLeft/1e3%60)}get mins(){return Math.floor(this.totalTimeLeft/1e3/60%60)}get hrs(){return this.dateFormat===0?Math.floor(this.totalTimeLeft/(1e3*60*60)):Math.floor(this.totalTimeLeft/(1e3*60*60)%24)}get days(){return Math.floor(this.totalTimeLeft/(1e3*60*60*24))}get displayFormat(){let t="";return this.days>0&&(t+="d"),this.hrs>0&&(t+="h"),this.mins>0&&(t+="m"),this.seconds>0&&(t+="s"),this.getDateFormat(t)}addLeadingZero(t){return t<10?`0${t}`:t}getDateFormat(t){let o="dhms";if(this.dateFormat===1)return t.length>=2?t.substr(0,2):t.length===1&&"dh".indexOf(t)>-1?o.substr("dh".indexOf(t),2):"ms";if(this.dateFormat===0)return"hms";throw new Error("Invalid date format used in DateCountdown")}};q([V],bp.prototype,"endDate",2),q([V],bp.prototype,"totalTimeLeft",2),q([V],bp.prototype,"isExpired",2);var DVe=W` ${e=>e.displayFormat.indexOf("d")>-1?`${yy.replace("{days}",e.days.toString())}`:null} ${e=>e.displayFormat.indexOf("h")>-1?`${bJ.replace("{hrs}",e.hrs.toString())}`:null} ${e=>e.displayFormat.indexOf("m")>-1?`${Dp.replace("{numberOfMinutes}",e.mins.toString())}`:null} ${e=>e.displayFormat.indexOf("s")>-1?`${Fne.replace("{seconds}",e.seconds.toString())}`:null} `,$Ve=W` ${po(e=>[{value:e.hrs,label:Eu},{value:e.mins,label:Ey},{value:e.seconds,label:oA}],W` ${(e,t)=>t.parent.addLeadingZero(e.value)} ${e=>e.label} ${Ie((e,t)=>!t.isLast,W` : `)} `,{positioning:!0})} `,kEe=W` ${Ie(e=>e.totalTimeLeft>0,W` ${Ie(e=>e.dateFormat===1,DVe)} ${Ie(e=>e.dateFormat===0,$Ve)} `)} `;A();A();var NVe={"applied-skill":{0:{0:["api-branch","display-captcha","skip-verification","themebranch"],1:[]},1:{0:["api-branch","display-captcha","skip-verification","snapshotId","themebranch"],1:["snapshotId"]},2:{0:["api-branch","display-captcha","skip-verification","snapshotId","themebranch"],1:["snapshotId"]}},practice:{0:{0:["api-branch","practice-assessment-type","themebranch"],1:["practice-assessment-type"]},1:{0:["assessmentId","assessment-type","practice-assessment-type","preview","snapshot-version","api-branch","themebranch"],1:["assessmentId","assessment-type","practice-assessment-type"]},2:{0:["assessmentId","practice-assessment-type","preview","snapshotId","snapshot-version","api-branch","themebranch"],1:["assessmentId","practice-assessment-type","snapshotId"]}},renewal:{0:{0:["assessmentId","snapshot-version","skip-verification","api-branch","themebranch"],1:[]},1:{0:["accommodationRequested","assessmentId","certification-id","preview","skip-verification","snapshot-version","api-branch","themebranch"],1:["assessmentId"]},2:{0:["assessmentid","snapshotId","skip-verification","snapshot-version","preview","api-branch","themebranch"],1:["snapshotId"]}}};function vo(e){let t={"applied-skill":"credentials/applied-skills",practice:`credentials/certifications${te()["practice-assessment-type"]==="certification"?"":"/exams"}`,renewal:"credentials/certifications"},o={"applied-skill":"applied-skill",practice:`${te()["practice-assessment-type"]==="certification"?"certification":"exam"}`,renewal:"certification"},n={"applied-skill":[],practice:[1,2],renewal:[0,1,2]},i={"applied-skill":"",practice:"practice",renewal:"renew"},r={0:"",1:"assessment",2:"results"},s={accommodationRequested:Qve(),"api-branch":te()["api-branch"],assessmentid:e.query?.assessmentid,assessmentId:e.query?.assessmentId,"assessment-type":e.assessmentType,"certification-id":e.credentialId,"display-captcha":e.query?.["display-captcha"]??te()["display-captcha"],"practice-assessment-type":te()["practice-assessment-type"],preview:te().preview,"skip-verification":e.query?.["skip-verification"]??ZS(),snapshotId:e.query?.snapshotId,"snapshot-version":XS(),themebranch:te().themebranch},a=NVe[e.assessmentType][e.pageType][R.reviewFeatures?0:1],l={origin:J.origin+"/",locale:at.userLocale+"/",test:Ut?"test/training/":"",credentialType:t[e.assessmentType].replace(Ut&&["practice","renewal"].includes(e.assessmentType)?"credentials/":"","")+"/",credentialId:e.credentialId.replace(new RegExp("^"+o[e.assessmentType]+"."),"").replace(Ut?/\-test$/:"","")+"/",credentialPathname:e.credentialPathname?e.credentialPathname.replace(/^\/|\/$/g,"")+"/":null,subPath:n[e.assessmentType].includes(e.pageType)?i[e.assessmentType]+"/":"",pageType:r[e.pageType],query:a.length?"?"+ne(a.reduce((u,p)=>(u[p]=s[p],u),{})):""};return`${l.origin}${l.locale}${l.credentialPathname??l.test+l.credentialType+l.credentialId}${l.subPath}${l.pageType}${l.query}`}A();var c8=class{constructor(t,o,n,i,r){this.location=t;this.dataBinding=o;this.templateBinding=i;this.source=null;this.view=null;this.data=null;this.originalContext=void 0;this.childContext=void 0;this.dataBindingObserver=to.binding(o,this,n),this.templateBindingObserver=to.binding(i,this,r)}bind(t,o){this.source=t,this.originalContext=o,this.childContext=Object.create(o),this.childContext.parent=t,this.childContext.parentContext=this.originalContext,this.data=this.dataBindingObserver.observe(t,this.originalContext),this.template=this.templateBindingObserver.observe(t,this.originalContext),this.refreshView()}unbind(){this.source=null,this.data=null,this.view!==null&&this.view.unbind(),this.dataBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(t){t===this.dataBinding?(this.data=this.dataBindingObserver.observe(this.source,this.originalContext),this.refreshView()):t===this.templateBinding&&(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshView())}refreshView(){this.view!==null&&this.view.dispose(),this.view=this.template.create(),this.view.bind(this.data,this.childContext),this.view.insertBefore(this.location)}},u8=class extends Gl{constructor(o,n){super();this.dataBinding=o;this.templateBinding=n;this.createPlaceholder=Et.createBlockPlaceholder;this.isBindingVolatile=to.isVolatileBinding(o),this.isTemplateBindingVolatile=to.isVolatileBinding(n)}createBehavior(o){return new c8(o,this.dataBinding,this.isBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile)}};function oo(e,t){let o=typeof t=="function"?t:()=>t;return new u8(e,o)}A();function KD(e){let t=function(){let r=P("sourceContentUid");return r?r.split(".")[1]:e.pathname.split("/")[Ut?6:4]}(),o=e.searchParams.get("display-captcha"),n=e.searchParams.get("snapshotId"),i=e.searchParams.get("skip-verification");return{credentialId:t,displayCaptcha:o,skipverification:i,snapshotId:n}}function JD(e,t,o){let i=S.title.split("|").pop();return`${t.replace(o,e)} | ${i}`}var d8=W`

        ${e=>e.title}

        ${e=>e.msg}

        ${e=>e.primaryButton.text} ${Ie(e=>"secondaryButton"in e,W` ${e=>e.secondaryButton.text}`)}
        `;function p8(e){return REe({buttonText:e,template:PEe(),hasPrimaryButton:!0,isDisabled:!0})}function PEe(){return W`

        ${HV}

        ${oo(e=>e,kEe)}

        `}function REe(e){let t=e.isDisabled?"disabled":"",o=e.hasPrimaryButton?"button-primary":"";return W`
        ${oo(n=>n,e.template)}
        `}function FVe(e){let o=!(e.riskData?.appealStatus&&e.riskData?.appealStatus==="denied"),n=e.riskData?.appealStatus==="approved"?!1:!!(e.riskData?.appealStatus||e.isDisabled),i=XV;return{alertText:{approved:Wo(eG),new:tG,denied:kz,defaultMSg:i}[e.riskData?.userStatus==="NotAllowed"?e.riskData.appealStatus??"defaultMSg":"defaultMSg"],hasPrimaryButton:o,isDisabled:n}}function m8(e){let{alertText:t,hasPrimaryButton:o}=FVe({isDisabled:e.isDisabled,riskData:{appealStatus:e.riskData?.appealStatus,userStatus:e.riskData?.userStatus}});return REe({buttonText:e.buttonText,template:W`
        ${Et.createHTML(Wo(t))}
        `,hasPrimaryButton:o,isDisabled:!0})}A();var NEe={InvalidRequest:zV,LabError:NV,SubscriptionUnavailable:PV,NotAllowed:Wo(FV),InvalidCaptchaToken:F0,default:$u};var ZD=class{},Dv=class{},XD=class{},eC=class{};var f8={title:Cu,type:"static",imgsrc:e=>`data:image/svg+xml,${Jw(e)}`,message:Du,description:LV,buttonText:ku,event:Dv};var FEe={title:RV,type:"static",imgsrc:e=>`data:image/svg+xml,${Jw(e)}`,message:MV,description:DV,buttonText:$V,event:eC};var qEe="labStatusReporter",GVe="fullScreenMessageTitle",QVe="fullScreenProgressText",jVe="fullScreenProgressWrapper",gQo=`#${GVe}`,fQo=`#${jVe} > #${QVe}`,UEe="labclient.labondemand.com";var h8=(l=>(l.loadingYourLabContent="loading your lab content",l.labEnvironmentBeingBuilt="your lab environment is being built",l.thisCanTakeSeveralMinutes="this can take several minutes",l.virtualMachinesStarting="your virtual machines are starting",l.resuming="resuming",l.preparing="preparing",l.labSetup="lab setup",l.checkingBrowserCapabilities="checking browser capabilities",l))(h8||{}),b8=(o=>(o.labCouldNotBeLaunched="sorry, your lab could not be launched",o.launchError="launch error",o))(b8||{});function ec(e,t,o,n){switch(o&&e.updateProgress(o),t){case"labInitialized":e.start();break;case"successfullyLoaded":e.succeed();break;case"iframeFailure":case"serverBadRequest":e.fail(n);break;case"unauthorized":case"labNotFound":case"labPreviouslyScored":case"userNavigatedAway":e.cancel();break;case"reportLabProgress":case"labErrorFound":break}}var Qa=class extends Be{constructor(o,n){super();this.appliedSkillAssessment=null;this.viewState=0;this.modal=null;this.hasLabConnected=!1;this.captchaToken="";this.mostRecentLabStatusMessage=null;this.appliedSkillScenarioTimeout=6e5;this.reportTelemetry=o=>{if(o.id){this._services.reportLabStatus({id:o.id,message:o.message??null});return}o.message&&(this.mostRecentLabStatusMessage=o.message)};this.urlContext=n,this._services=o,this.launchLabScenario=new xi("Commerce.Docs.LearnProgress_AppliedSkill_LaunchLab",this.appliedSkillScenarioTimeout),this.onMessageHandler=i=>{if(i&&i.origin.startsWith("https://")&&i.origin.endsWith(UEe)&&i.data)try{let r=JSON.parse(i.data);r.event_id===qEe&&(this.updateLabConnected(r),this.reportScenarioHealth(r),this.reportUpdatedTelemetry(r))}catch{}},this.onBeforeUnloadHandler=i=>{i.preventDefault(),i.returnValue=""},this.onUnloadHandler=()=>{this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId)},this.userNavigatedAway=()=>{ec(this.launchLabScenario,"userNavigatedAway")}}async initialize(){window.addEventListener("message",this.onMessageHandler,!1),window.addEventListener("visibilitychange",this.userNavigatedAway,!1),await this.initAppliedSkillSession(this.urlContext)}async submit(){try{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler),this._services.scoreAppliedSkillAssessment(this.urlContext.snapshotId)}finally{setTimeout(()=>{J.href=e1(2,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}}async cancel(){try{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler),this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId),setTimeout(()=>{J.href=e1(0,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}catch{window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.publish(new Zw)}}async expireTime(){try{let o=await this._services.getAppliedSkillAssessment(this.appliedSkillAssessment.labSession.labSessionId,this.captchaToken),n=Date.parse(this.appliedSkillAssessment.labSession.expiresAt),i=Date.parse(o.labSession.expiresAt);if(i<=n){window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let r=Fu(this,eC,this.submit.bind(this));this.iframe.classList.add("display-none"),document.documentElement.focus(),this.showModal(FEe).then(()=>{r(),this.submit()})}else{this.appliedSkillAssessment.labSession.expiresAt=o.labSession.expiresAt;let r=i-Date.now();setTimeout(this.expireTime.bind(this),r)}}catch{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let o=Fu(this,Dv,()=>{J.reload()});this.showModal(f8).then(n=>{o()})}}showModal(o){let n=document.createElement("div");n.classList.add("modal-content","margin-none","width-full"),n.tabIndex=-1;let i=jD(this,o).create();return i.bind(this,Xr),i.appendTo(n),this.modal=new be(n),this.modal.show()}async getCaptchaToken(){return Kw("Applied Skills"),await CEe().catch(o=>{throw this.viewState=3,o})}reportScenarioHealth(o){if(o.errors.length>0&&ec(this.launchLabScenario,"labErrorFound",o.errors.join(", ")),o.currentConnectionState===1)ec(this.launchLabScenario,"successfullyLoaded");else if(o.messageProgressTitle){let n=this.getScenarioHealthEventFromMessageTitle(o.messageProgressTitle);n&&(n==="iframeFailure"?ec(this.launchLabScenario,n,void 0,o.messageProgressTitle):ec(this.launchLabScenario,n,o.messageProgressTitle))}}updateLabConnected(o){o.currentConnectionState===1&&(this.hasLabConnected=!0)}reportUpdatedTelemetry(o){o.currentConnectionState!==o.lastConnectionState&&this.reportTelemetry({id:this.appliedSkillAssessment?.labSession?.labSessionId,message:o})}getScenarioHealthEventFromMessageTitle(o){let n=new Map([[b8,"iframeFailure"],[h8,"reportLabProgress"]]);for(let[i,r]of n)if(Object.values(i).some(s=>o.includes(s)))return r;return null}async initAppliedSkillSession(o){try{ec(this.launchLabScenario,"labInitialized");let n=!!o.snapshotId;if(this.appliedSkillAssessment=n?await this._services.getAppliedSkillAssessment(o.snapshotId,this.captchaToken):await this._services.createAppliedSkillAssessment(o.credentialId,this.captchaToken,o.skipverification,R.reviewFeatures&&this.urlContext.displayCaptcha==="true").catch(async r=>{let s=r,a=await Wp(s);if(s.type==="BadRequestError"){if(a==="MissingCaptchaToken")return this.captchaToken=await this.getCaptchaToken(),this._services.createAppliedSkillAssessment(o.credentialId,this.captchaToken,o.skipverification);throw s.response.errorCode=a||void 0,s}throw r}),this.reportTelemetry({id:this.appliedSkillAssessment.labSession.labSessionId}),this.appliedSkillAssessment.labSession.scored==="Scored"||this.appliedSkillAssessment.labSession.scored==="ScoringInitiated"){ec(this.launchLabScenario,"labPreviouslyScored"),Promise.resolve().then(()=>{J.href=e1(2,o,this.appliedSkillAssessment.appliedSkill.url)});return}this.urlContext.snapshotId=this.appliedSkillAssessment.labSession.labSessionId;let i=new URL(J.href);i.searchParams.set("snapshotId",this.appliedSkillAssessment.labSession.labSessionId),Yn.replaceState(null,"",i),Xl({title:this.appliedSkillAssessment.appliedSkill.title??LC,url:this.appliedSkillAssessment.appliedSkill.url||""},document.getElementById("article-header-breadcrumbs")||void 0),this.subscribe(ZD,this.submit.bind(this)),this.subscribe(XD,this.cancel.bind(this)),document.title=JD(this.appliedSkillAssessment.appliedSkill.title??LC,Wo(IV),"{appliedSkillTitle}"),this.checkEstimatedReadyAt(n)}catch(n){let i=n,r=await Wp(i)??i.response?.errorCode;if(i.type==="NotFoundError"){ec(this.launchLabScenario,"labNotFound");let s=new URL(J.href);s.searchParams.delete("snapshotId"),Yn.replaceState(null,"",s),this.viewState=3;return}if(i.type==="UnauthorizedError"||r==="QuotaExceeded"||w.disabledAppliedSkills&&r==="AppliedSkillDisabled")ec(this.launchLabScenario,"unauthorized"),J.href=e1(0,this.urlContext);else{ec(this.launchLabScenario,"serverBadRequest",void 0,n);let s=Fu(this,Dv,()=>{J.reload()}),a=Object.assign({},f8,{message:Du,description:NEe[r??"default"]});this.showModal(a).then(l=>{s()})}}}setTesting(){let n=Date.parse(this.appliedSkillAssessment.labSession.expiresAt)-Date.now();setTimeout(this.expireTime.bind(this),n),window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.viewState=2}checkEstimatedReadyAt(o=!1){let i=(Date.parse(this.appliedSkillAssessment.labSession.estimatedReadyAt)||-1/0)-Date.now();o||i<=0||this.hasLabConnected?this.setTesting():(this.viewState=1,setTimeout(this.checkEstimatedReadyAt.bind(this),1e3))}};q([V],Qa.prototype,"appliedSkillAssessment",2),q([V],Qa.prototype,"urlContext",2),q([V],Qa.prototype,"viewState",2),q([V],Qa.prototype,"modal",2),q([V],Qa.prototype,"hasLabConnected",2),q([V],Qa.prototype,"captchaToken",2),q([V],Qa.prototype,"mostRecentLabStatusMessage",2),q([V],Qa.prototype,"subscription",2);function e1(e,t,o){return vo({credentialId:t.credentialId,credentialPathname:o??void 0,assessmentType:"applied-skill",pageType:e,query:{"display-captcha":t.displayCaptcha,snapshotId:e===2?t.snapshotId:void 0,"skip-verification":t.skipverification}})}var YVe={loadingContext:{loadingType:!S.referrer||new URL(S.referrer).pathname.match(/.*(assessment|results)$/gi)?.length?0:1,navigation:{assessmentPageUrl:(e,t,o,n)=>vo({credentialId:e,assessmentType:"applied-skill",pageType:1,credentialPathname:o,query:{"display-captcha":n,snapshotId:void 0,"skip-verification":void 0}}),profileOverviewPageUrl:co("me","certifications")}},loadedContext:{reportSummary:{passed:{titleDate:e=>e,imgSrc:e=>e||"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main",shareMsg:Fy,supertitle:Wo(KV),title:e=>e||b$},failed:{supertitle:RC,title:e=>e||b$}},reportScores:{scoresTitle:VV,scoreType:0,scoreGuidanceUrl:"https://learn.microsoft.com/credentials/support/assessment-scoring-reports#understand-an-assessment-lab-score-report"},reportStudyGuide:{guideType:0,studyGuideCollectionFormTitle:Wo(jV),studyGuideItemsTitle:QV}},errorContext:{reportError:e=>({NotFoundError:{title:ia,msg:h$,primaryButton:{text:PC,url:vo({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}},UnexpectedError:{title:Cu,msg:JV,primaryButton:{text:PC,url:vo({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}}})}};var t1=W` ${Ie(e=>e.viewConfig.loadingContext.loadingType===1,null)} ${Ie(e=>e.viewConfig.loadingContext.loadingType===0,W`

        ${GV}

        ${Et.createHTML(YV.replace("{duration}","60"))}

        `)} `;var tC=class{constructor(t){if(this.errorType=t.error.type,this.errorType==="UnauthorizedError"&&R.accessLevel!=="local"&&!k.isAuthenticated&&Uo(),this.errorType==="NotFoundError"&&t.urlContext.snapshotId){let o=new URL(location.href);o.searchParams.delete("snapshotId"),Yn.replaceState(null,"",o)}}};q([V],tC.prototype,"errorType",2);var _8=e=>W`${oo(t=>t.viewConfig.errorContext.reportError(t.urlContext)[e??t.reportError.errorType],d8)}`,VEe=W` ${Ie(e=>e.reportError.errorType==="NotFoundError",_8())} ${Ie(e=>e.reportError.errorType==="UnauthorizedError",_8("UnexpectedError"))} ${Ie(e=>e.reportError.errorType==="UnexpectedError",_8())} ${Ie(e=>e.reportError.errorType==="TimeoutError",t1)} `;var tc=class{constructor({high:t=0,low:o=0,max:n=1,min:i=0,optimum:r=0,value:s=0,classModifiers:a=""}){this.high=t,this.low=o,this.max=n,this.min=i,this.optimum=r,this.value=s,this.classModifiers=a}};q([Mi],tc.prototype,"high",2),q([Mi],tc.prototype,"low",2),q([Mi],tc.prototype,"max",2),q([Mi],tc.prototype,"min",2),q([Mi],tc.prototype,"optimum",2),q([Mi],tc.prototype,"value",2),q([V],tc.prototype,"classModifiers",2);var oc=class{constructor(t){this.correctPercent=t.correctPercent,this.overallMeter=this.createMeter(t.correctPercent,t.passingPercent),this.passed=t.passed,this.passingPercent=t.passingPercent,this.scoredAt=t.scoredOn,this.scores=this.createMeters(t.scores)}createMeter(t,o,n){return new tc({high:100,low:o,max:100,optimum:o,value:t,classModifiers:n})}createMeters(t){return t.map(o=>({...o,meter:this.createMeter(o.correctPercent,o.passingPercent,"is-small")}))}};q([V],oc.prototype,"correctPercent",2),q([V],oc.prototype,"overallMeter",2),q([V],oc.prototype,"passed",2),q([V],oc.prototype,"passingPercent",2),q([V],oc.prototype,"scoredAt",2),q([V],oc.prototype,"scores",2);var GEe=W`
        `,QEe=W`

        ${e=>e.reportScores.passed?ly:ay}

        ${h7} ${e=>Os.format(e.reportScores.scoredAt)}

        ${C7}${e=>HC.replace("{score}",e.reportScores.correctPercent.toString())}${e=>e.passed?ly:ay}

        ${e=>x7.replace("{percent}",e.reportScores.passingPercent.toString())}

        ${oo(e=>e.reportScores.overallMeter,GEe)}

        ${e=>e.viewConfig.loadedContext.reportScores.scoresTitle}

        ${po(e=>e.reportScores.scores,W`
        ${Ie((e,t)=>t.parent.viewConfig.loadedContext.reportScores.scoreType===0,W` e.passed?"background-color-success":"background-color-danger"}" aria-hidden="true" > `)}

        ${e=>e.title}

        ${Ie((e,t)=>t.parent.viewConfig.loadedContext.reportScores.scoreType===1,W` ${oo(e=>e.meter,GEe)}`)}
        `,{positioning:!0})}
        ${Ie(e=>e.viewConfig.loadedContext.reportScores.scoreGuidanceUrl,W` `)}
        `;A();async function o1(e,t,o=BG){let n=document.createElement("div");n.classList.add("modal-content");let i=new be(n),r=new Intl.DateTimeFormat(e).format(new Date).replace(/\//g,"-"),s=d` `;y(s,i.contentElement),i.contentElement.querySelector("button[type=submit]").onclick=async a=>{if(!k.isAuthenticated)return;a.preventDefault(),a.target.classList.add("is-loading");let c=document.getElementById("save-to-collection");(await KM(c,t)).hasError||(i.hide(),Ew("added"))},i.show()}var $v=class{constructor(t){this.credentialId=t.credentialId,this.assessmentId=t.assessmentId,this.credentialUrl=t.credentialUrl,this.studyGuide=t.studyGuide,this.hasStudyGuideSummaries=this.studyGuide?.items.length>0}};q([V],$v.prototype,"hasStudyGuideSummaries",2),q([V],$v.prototype,"studyGuide",2);var KVe=W`
        ${_7}
        ${Ie(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,W` ${NC} `)} `,JVe=W`
        ${e=>e.type.toLowerCase()==="path"?Pf:wi} ${e=>e.data.title} ${e=>On(e.data.durationInMinutes)}
        `,ZVe=W`

        ${e=>qC.replace("{section}",e.data.title)}

        `,XVe=W`

        ${WV}

        ${UV}

        ${po(e=>e.reportStudyGuide.studyGuide.items,W` ${Ie((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===0,JVe)} ${Ie((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===1,ZVe)} `)} `,jEe=W`

        ${e=>e.viewConfig.loadedContext.reportStudyGuide.studyGuideItemsTitle}

        ${Ie(e=>!e.reportStudyGuide.hasStudyGuideSummaries,KVe)} ${Ie(e=>e.reportStudyGuide.hasStudyGuideSummaries,XVe)}
        `;var Ko=class{constructor(t){this.assessmentId=t.assessmentId,this.credentialExpiresOn=t.credentialExpiresOn,this.credentialIcon=t.credentialIcon,this.credentialId=t.credentialId,this.credentialName=t.credentialName,this.credentialUrl=t.credentialUrl,this.dateCountdown=new bp(t.retakeEligibleOn,0),this.eligibleToRenewByDate=t.eligibleToRenewByDate,this.isCurrentlyEligible=t.isCurrentlyEligible,this.isDisabled=t.isDisabled,this.passed=t.passed,this.profileUrl=t.profileUrl,this.retakeEligibleOn=t.retakeEligibleOn,this.scoredOn=t.scoredOn,this.shareableUrl=t.shareableUrl,this.titleDate=t.titleDate,this.riskData=t.riskData}};q([V],Ko.prototype,"assessmentId",2),q([V],Ko.prototype,"credentialExpiresOn",2),q([V],Ko.prototype,"credentialIcon",2),q([V],Ko.prototype,"credentialId",2),q([V],Ko.prototype,"credentialName",2),q([V],Ko.prototype,"credentialUrl",2),q([V],Ko.prototype,"dateCountdown",2),q([V],Ko.prototype,"eligibleToRenewByDate",2),q([V],Ko.prototype,"isCurrentlyEligible",2),q([V],Ko.prototype,"isDisabled",2),q([V],Ko.prototype,"passed",2),q([V],Ko.prototype,"profileUrl",2),q([V],Ko.prototype,"retakeEligibleOn",2),q([V],Ko.prototype,"scoredOn",2),q([V],Ko.prototype,"shareableUrl",2),q([V],Ko.prototype,"titleDate",2),q([V],Ko.prototype,"riskData",2);var eGe=W`
        ${Ie(e=>"supertitle"in e.viewConfig.loadedContext.reportSummary.passed&&!!e.reportSummary?.credentialName,W`

        ${e=>e.viewConfig.loadedContext.reportSummary.passed.supertitle}

        `)}

        ${e=>e.viewConfig.loadedContext.reportSummary.passed.title(e.reportSummary?.credentialName||"")}

        ${Ie(e=>!!e.reportSummary?.scoredOn,W`

        ${e=>e.reportSummary?.titleDate}

        `)} ${Ie(e=>"dateMsg"in e.viewConfig.loadedContext.reportSummary.passed,W`

        ${e=>e.viewConfig.loadedContext.reportSummary.passed.dateMsg}

        `)} ${Ie(e=>"profilePageBtnTxt"in e.viewConfig.loadedContext.reportSummary.passed,W` ${e=>e.viewConfig.loadedContext.reportSummary.passed.profilePageBtnTxt} `)} ${Ie(e=>"shareMsg"in e.viewConfig.loadedContext.reportSummary.passed,W`
        ${Ie(e=>"profileUrl"in e.reportSummary,W` ${qV} `)} ${Ie(e=>w.appliedSkillsShare,W`
        ${e=>GD("fast",{extraClasses:{paragraph:"display-inline-block margin-right-xxs font-size-sm has-text-centered-mobile ",link:"margin-right-xxs font-size-md"},sharingLinks:Mw(e.reportSummary?.shareableUrl||"",e.reportSummary?.credentialName??Wo(p$),{achievementCopyTitle:{overrideTitle:e.reportSummary?.credentialName??Wo(d$),isUnquoted:!e.reportSummary?.credentialName}})})} `)}
        `)}
        `,tGe=W` ${Ie(e=>!!e.reportSummary?.credentialName,W`

        ${e=>e.viewConfig.loadedContext.reportSummary.failed.supertitle}

        `)}

        ${e=>e.viewConfig.loadedContext.reportSummary.failed.title(e.reportSummary?.credentialName||"")}

        ${Ie(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,W`

        ${e=>e.viewConfig.loadedContext.reportSummary.failed.detailsPageBtnTxt}

        `)} ${e=>w.disabledAppliedSkills&&((e.reportSummary?.isDisabled??!1)||e.reportSummary?.riskData?.userStatus==="NotAllowed")?m8({buttonText:N0,isDisabled:!0,riskData:{appealStatus:e.reportSummary?.riskData?.appealStatus,userStatus:e.reportSummary?.riskData?.userStatus}}):e.reportSummary?.isCurrentlyEligible?W` ${Ie(t=>"eligibleTitle"in t.viewConfig.loadedContext.reportSummary.failed,W`

        ${t=>t.viewConfig.loadedContext.reportSummary.failed.eligibleTitle}

        `)} ${Ie(t=>"eligibleMsg"in t.viewConfig.loadedContext.reportSummary.failed&&!!t.reportSummary?.eligibleToRenewByDate,W`

        ${t=>t.viewConfig.loadedContext.reportSummary.failed.eligibleMsg(t.reportSummary?.eligibleToRenewByDate||new Date(0))}

        `)} ${N0} `:W`${oo(t=>t.reportSummary.dateCountdown,p8(N0))}`}`,YEe=W`
        ${Ie(e=>e.reportSummary?.passed,eGe)} ${Ie(e=>!e.reportSummary?.passed,tGe)}
        `;var Js=class{constructor(t){this.viewState=2;(async()=>{let o=t.urlContext??KD(new URL(location.href));this.urlContext=o;let n;this.viewConfig=t.viewConfig;let i;try{n=await t.getAssessmentReport(o),this.reportSummary=new Ko(n),this.reportScores=new oc(n),this.reportStudyGuide=new $v(n),this.passed=n.passed,i=1}catch(r){let a=await Wp(r);if(a==="TimeoutError"||a==="ScoringTimeout"){location.reload();return}this.reportError=new tC({error:r,urlContext:o}),i=0}finally{this.viewState=i,t.afterActivated(n?{credentialName:n.credentialName,credentialUrl:n.credentialUrl}:null)}})()}};q([V],Js.prototype,"passed",2),q([V],Js.prototype,"reportError",2),q([V],Js.prototype,"reportScores",2),q([V],Js.prototype,"reportStudyGuide",2),q([V],Js.prototype,"reportSummary",2),q([V],Js.prototype,"urlContext",2),q([V],Js.prototype,"viewConfig",2),q([V],Js.prototype,"viewState",2);var WEe=W` ${Ie(e=>e.viewState===2,t1)} ${Ie(e=>e.viewState===1,W`
        ${oo(e=>e,YEe)} ${oo(e=>e,QEe)} ${Ie(e=>!e.passed,W`${oo(e=>e,jEe)}`)}
        `)} ${Ie(e=>e.viewState===0,VEe)} `;function KEe(){if(document.querySelectorAll("h1").length>1){let t=document.querySelector("[data-main-column] div:not(.content)>h1");t&&t.remove()}}var n1=class{constructor(t){this.sessionId=FN(t.sessionId)}};var v8={async createSession(e){if(!w.assessmentMergerLearnAssessment)return du.createSession(e);let t=ne({accommodationRequested:e.accommodationRequested,assessmentId:e.assessmentId,locale:e.locale,sessionVersion:e.sessionVersion,showAllQuestions:e.showAllQuestions,skipVerification:e.skipVerification}),o=`${N.learnAssessment}/rendering/assessments/${e.assessmentId}?${t}`,i=K(o,{method:"POST"}),r=await M(i);if(fe(r),r.ok)return await r.json();throw r.status===400?new qe(r,"BadRequestError"):r.status===401?new qe(r,"UnauthorizedError"):r.status===404?new qe(r,"NotFoundError"):new qe(r,"UnexpectedError")},async getSessionAnswerSummary(e){if(!w.assessmentMergerLearnAssessment)return du.getSessionAnswerSummary();let t=`${N.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result/answers`,n=K(t,{method:"GET"}),i=await M(n);if(fe(i),i.ok)return await i.json();throw i.status===400?new qe(i,"BadRequestError"):i.status===401?new qe(i,"UnauthorizedError"):i.status===404?new qe(i,"NotFoundError"):new qe(i,"UnexpectedError")},async getPreviousAttemptsByParentId(e){if(!w.assessmentMergerLearnAssessment)return du.getPreviousAttemptsByParentId();let t=`${N.learnAssessment}/rendering/assessments/linkedcontent/${e.parentId}/sessions/attempts`,n=K(t,{method:"GET"}),i=await M(n);if(fe(i),i.ok)return await i.json();throw new qe(i,"UnexpectedError")},async getRenewalEligibility(){if(!w.assessmentMergerLearnAssessment)return du.getRenewalEligibility()},async getSessionResult(e){if(!w.assessmentMergerLearnAssessment)return du.getSessionResult();let t=`${N.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result`,n=K(t,{method:"GET"}),i=await M(n);if(fe(i),i.ok)return await i.json();throw i.status===400?new qe(i,"BadRequestError"):i.status===401?new qe(i,"UnauthorizedError"):i.status===404?new qe(i,"NotFoundError"):new qe(i,"UnexpectedError")},async submitSession(e){if(!w.assessmentMergerLearnAssessment)return du.submitSession();let t=`${N.learnAssessment}/rendering/assessments/sessions/${e.sessionId}`,o={method:"PUT",body:JSON.stringify(e.userSelections)},n=K(t,o),i=await M(n);if(fe(i),i.ok)return await i.json();throw i.status===400?new qe(i,"BadRequestError"):i.status===401?new qe(i,"UnauthorizedError"):i.status===404?new qe(i,"NotFoundError"):new qe(i,"UnexpectedError")}};var iKo=R.supportLevel==="production"&&R.reviewFeatures?"include":void 0;var JEe=async(e,t,o)=>{if(!w.assessmentMergerPracticeAssessment){if(R.accessLevel==="local")return Promise.resolve([{question:{type:"SingleSelect",text:"This is the first question.",rationale:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},userChoice:[{id:1,locale:"en-us",text:"Answer 1",isCorrect:!1}],correctChoice:[{id:2,locale:"en-us",text:"Answer 2",isCorrect:!0}]},{question:{type:"MultiSelect",text:"This is the second question.",rationale:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},userChoice:[{id:1,locale:"en-us",text:"Answer 1",isCorrect:!1},{id:2,locale:"en-us",text:"Answer 2",isCorrect:!1},{id:3,locale:"en-us",text:"Answer 3",isCorrect:!0}],correctChoice:[{id:3,locale:"en-us",text:"Answer 3",isCorrect:!0},{id:4,locale:"en-us",text:"Answer 4",isCorrect:!0},{id:5,locale:"en-us",text:"Answer 5",isCorrect:!0}]},{question:{type:"SingleSelect",text:"This is the third question.",rationale:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},userChoice:[{id:1,locale:"en-us",text:"Answer 1",isCorrect:!1}],correctChoice:[{id:2,locale:"en-us",text:"Answer 2",isCorrect:!0}]}]);let n=`${N.learn.skillAssessment}/practice/assessments/${e}/sessions/${t}/result/answers?${ne({locale:o})}`,r=K(n,{method:"GET",credentials:"include",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"}},!0),s=await M(r);if(fe(s),s.ok)return await s.json();throw new Error(`get practice answer summary api responded with ${s.status} ${s.statusText}`)}return new ZR(await v8.getSessionAnswerSummary(new n1({sessionId:t})),o).items};A();A();A();He();A();async function XEe(){let e=`${N.profile.reporting}/createInvitation`,o=await M(K(e,{method:"POST"}));if(o.ok)return await o.json();throw new Error(`createInvitation api responded with ${o.status} ${o.statusText}`)}async function e0e(){let e=`${N.profile.reporting}/status`,t=await M(K(e));if(t.status===404)return null;if(t.ok)return await t.json();throw new Error(`Invitation status api responded with ${t.status} ${t.statusText}`)}A();async function n0e(){await Se,P("req_accommodation")==="true"&&rGe(),P("org_reporting")==="true"&&await sGe()}function rGe(){let e=document.getElementById("extend-time");if(!e)return;let{certificationUrl:t}=te(),o=e.firstElementChild.firstElementChild;o.href=`${t}&accommodationRequested=true`}async function sGe(){let e=document.getElementById("org-reporting-container"),t=document.getElementById("org-reporting-button");if(!e||!t)return;let o=t.innerText;if(await ve,k.isAuthenticated){let n,i=te().signInRedirect;if(k.userType==="standard")return i==="true"&&(Bt({signInRedirect:null},"replaceState"),i1(null,o0e)),t0e("msa-error",o0e,e,o);try{n=await e0e()}catch{return t0e("error",r0e,e,o)}if(i==="true"&&pGe(n),n)return dGe(n,e,o);let r=d``;y(r,e)}else{let n=a0e(),i=d``;y(i,e)}}async function i0e(){let e=document.createElement("div"),t=new be(e);return y(aGe(t),e),await t.show()}function aGe(e){let t=d`

        ${z(YZ)}

        `,o=jZ,n=d`
        `;return oC(o,t,n)}async function lGe(e){cGe();try{let t=await XEe();J.href=t.nextStepUrl}catch{i1(e,r0e)}}function cGe(){let e=document.getElementById("cancel-terms"),t=document.getElementById("continue-terms"),o=document.getElementById("create-invitation-alert");t&&(t.classList.add("is-loading"),o.setAttribute("role","alert"),o.textContent=QZ,e.setAttribute("disabled",""))}async function i1(e,t){return(async n=>{e?e.pushContent(n):(e=new be(n),await e.show())})(t()),await e.show()}function t0e(e,t,o,n){let i=d``;y(i,o),document.getElementById(e)?.addEventListener("click",()=>i1(null,t))}function r0e(){let e=document.createElement("div"),t=d`

        ${z(HZ)}

        `,o=OZ,n=d` `;return y(oC(o,t,n),e),e}function o0e(){let e=a0e(),t=document.createElement("div"),o=d`

        ${z(JZ)}

        `,n=KZ,i=d` `;return y(oC(n,o,i),t),t}async function s0e(e){let t=document.createElement("div"),o=new be(t);return y(uGe(e),t),await o.show()}function uGe(e){let t=d`

        ${z(VZ)}

        `,o=BZ,n=d` ${ZZ} `;return oC(o,t,n)}function dGe(e,t,o){let n=e.status==="Accepted",i=e.nextStepUrl;if(n){let r=d``;y(r,t)}else{let r=d`${o}`;y(r,t)}}function pGe(e){let t=e&&e.status==="Accepted",o=e&&e.status==="Pending",n=e&&e.nextStepUrl;return Bt({signInRedirect:null},"replaceState"),t?s0e(n):o?J.href=e.nextStepUrl:i0e()}function a0e(){return J.search?`${J.pathname}${J.search}&signInRedirect=true`:`${J.pathname}?signInRedirect=true`}function oC(e,t,o){return d` `}A();Qp();A();async function y8(e,t){let o=P("sourceContentUid"),n=t.searchParams.get("assessment-type"),i=await async function(){let l,c=n==="practice";if(o)try{l=(await lt.getListsItems([o]))[0]?.[c?"practiceAssessmentUid":"assessmentId"]}catch{}return l??t.searchParams.get("assessment-id")??t.searchParams.get("assessmentId")??null}(),r=function(){return o?o.split(".")[1]:!R.reviewFeatures||!Ut?location.href.replace(`${location.origin}/${e}/credentials/certifications/`,"").split("/")[0]:t.searchParams.get("certification-id")}(),s=t.searchParams.get("practice-assessment-type"),a=ZS();return{assessmentId:i,certificationId:r,assessmentType:n,practiceAssessmentType:s,skipVerification:a,isPreview:a==="true",omitScoring:jve(),snapshotVersion:XS(),showAllQuestions:Gve()}}A();A();A();A();A();A();var Otn={allEmail:!0,autoFollowAsked:!0,autoFollowAnswered:!0,autoFollowCommented:!0,autoFollowTagged:!1,emailEventSettings:{questionUpdated:"off",questionPosted:"off",unansweredQuestions:"off",newModeration:"instant",newFollower:"off",newMention:"instant",answerUpdated:"off",answerPosted:"instant",answerAccepted:"instant",commentPosted:"instant",newPrivateMessage:"instant"}};A();var uon=new URL(N.auth.partner).pathname;A();function d0e(){return d`
        ${Nre}
        • ${Fre}
        • ${qre}
        • ${Ure}
        `}var kGe={qna:{contextualCard:d0e(),cancelRegistrationMessage:String(Ore),isEnabled:P("page_kind")!=="register"}},Kon=te();A();var nC=class{constructor(t,o){this.question=t;this.questionNumber=o}},iC=class{},af=class{constructor(t){this.questionResponses=t}},rC=class{};var m0e=W` ${Ie(e=>e.scenarioDescription,W`
        `)}
        ${po(e=>e.choices[0].choices,W``)} ${po(e=>e.choices[0].choices,W` `)} ${po(e=>e.choices,W` ${po(e=>e.choices,W` `)} `,{positioning:!0})}
        `,zv=class{constructor(t){this.isSelected=!1;this.text=t.text,this.id=t.id}};q([V],zv.prototype,"id",2),q([V],zv.prototype,"text",2),q([V],zv.prototype,"isSelected",2);var lf=class{constructor(t){this.text=t.title,this.id=t.fullyQualifiedId,this.description=t.description,this.choices=t.choices.map(o=>new zv(o)),this.manualId=t.manualId}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}};q([V],lf.prototype,"id",2),q([V],lf.prototype,"text",2),q([V],lf.prototype,"description",2),q([V],lf.prototype,"choices",2);var fu=class{constructor(t){this.scenarioTitle=t.title,this.scenarioDescription=t.description,this.uid=t.uid,this.questionType="Matrix",this.id=t.uid,this.choices=t.questions.map(o=>new lf(o)),this.fullyQualifiedId=t.questions[0].fullyQualifiedId}validate(){return this.choices.reduce((t,o)=>t&&o.validate(),!0)}async checkUserAnswer(){}serialize(){return this.choices.map(t=>({fullyQualifiedQuestionId:t.id,value:t.choices.filter(o=>o.isSelected).map(o=>o.id)}))}};q([V],fu.prototype,"uid",2),q([V],fu.prototype,"questionType",2),q([V],fu.prototype,"scenarioTitle",2),q([V],fu.prototype,"scenarioDescription",2),q([V],fu.prototype,"choices",2),q([V],fu.prototype,"id",2);function r1(e){try{let t=document.createElement("template");return t.innerHTML=e,t.content.querySelectorAll("a").forEach(o=>o.target="_blank"),t.innerHTML}catch{return e}}var g0e=W`
        ${r7}
        ${po(e=>e.choices,W`
        ${(e,t)=>W` ${Ie(o=>t.parent.displayAnswer,W` ${o=>o.isSelected&&o.isCorrect===!1?W`${Ip}`:""} ${o=>o.isCorrect===!0?W`${Lp}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,Nv=class{constructor(t){this.isSelected=!1;this.text=t}};q([V],Nv.prototype,"id",2),q([V],Nv.prototype,"text",2),q([V],Nv.prototype,"isSelected",2),q([V],Nv.prototype,"isCorrect",2);var as=class{constructor(t,o){this.choices=[];this.displayAnswer=!1;this.question=o,this.choices=this.question.choices.map(n=>({id:n.id,text:n.text,isSelected:!1,isCorrect:n.isCorrect})),this.questionTitle=this.question.title,this.questionDescription=this.question.description,this.scenarioTitle=t.title,this.scenarioDescription=t.description,this.uid=this.question.uid,this.questionType=this.question.questionType,this.id=this.question.fullyQualifiedId,this.fullyQualifiedId=this.question.fullyQualifiedId,this.manualId=this.question.manualId,this.rationale=r1(this.question.rationale)}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}async checkUserAnswer(){this.displayAnswer=!0}serialize(){return[{fullyQualifiedQuestionId:this.question.fullyQualifiedId,value:this.choices.filter(t=>t.isSelected).map(t=>t.id)}]}};q([V],as.prototype,"uid",2),q([V],as.prototype,"questionTitle",2),q([V],as.prototype,"questionDescription",2),q([V],as.prototype,"questionType",2),q([V],as.prototype,"scenarioTitle",2),q([V],as.prototype,"scenarioDescription",2),q([V],as.prototype,"choices",2),q([V],as.prototype,"id",2),q([V],as.prototype,"rationale",2),q([V],as.prototype,"displayAnswer",2);var f0e=W`
        ${t7}
        ${po(e=>e.choices,W`
        ${(e,t)=>W` ${Ie(o=>t.parent.displayAnswer,W` ${o=>o.isSelected&&o.isCorrect===!1?W`${Ip}`:""} ${o=>o.isCorrect===!0?W`${Lp}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,Fv=class{constructor(t){this.isSelected=!1;this.text=t}};q([V],Fv.prototype,"id",2),q([V],Fv.prototype,"text",2),q([V],Fv.prototype,"isSelected",2),q([V],Fv.prototype,"isCorrect",2);var ls=class{constructor(t,o){this.choices=[];this.displayAnswer=!1;this.question=o,this.choices=this.question.choices.map(n=>({id:n.id,text:n.text,isSelected:!1,isCorrect:n.isCorrect})),this.questionTitle=this.question.title,this.questionDescription=this.question.description,this.scenarioTitle=t.title,this.scenarioDescription=t.description,this.uid=this.question.uid,this.questionType=this.question.questionType,this.id=this.question.fullyQualifiedId,this.fullyQualifiedId=this.question.fullyQualifiedId,this.manualId=this.question.manualId,this.rationale=r1(this.question.rationale)}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}async checkUserAnswer(){this.displayAnswer=!0}serialize(){return[{fullyQualifiedQuestionId:this.question.fullyQualifiedId,value:this.choices.filter(t=>t.isSelected).map(t=>t.id)}]}};q([V],ls.prototype,"uid",2),q([V],ls.prototype,"questionTitle",2),q([V],ls.prototype,"questionDescription",2),q([V],ls.prototype,"questionType",2),q([V],ls.prototype,"scenarioTitle",2),q([V],ls.prototype,"scenarioDescription",2),q([V],ls.prototype,"choices",2),q([V],ls.prototype,"id",2),q([V],ls.prototype,"rationale",2),q([V],ls.prototype,"displayAnswer",2);var cf=class{constructor(t,o,n,i,r,s,a,l){this.assessmentId=t,this.certificationUid=o,this.skipVerification=i,this.snapshotVersion=r,this.error=a,this.retry=l||(()=>{}),this.reportPageUrl=vo({assessmentType:s,pageType:2,credentialId:this.error.detail.certificationUid,credentialPathname:n,query:{assessmentid:this.error.detail.assessmentId,snapshotId:this.error.detail.snapshotId}}),this.recertDetailsUrl=vo({assessmentType:s,pageType:0,credentialId:this.certificationUid,credentialPathname:n,query:{assessmentId:this.assessmentId}})}retryHandler(){this.retry()}};q([V],cf.prototype,"error",2),q([V],cf.prototype,"reportPageUrl",2),q([V],cf.prototype,"recertDetailsUrl",2);var h0e=W`
         

        ${e=>e.error&&e.error.status===400&&e.error.errorCode==="snapshotInvalid"?String(p7):String(zC)}

        ${Ie(e=>e.error&&e.error.status!==400,W`

        ${u7}

        `)} ${Ie(e=>e.error&&e.error.status===400&&e.error.errorCode==="snapshotInvalid",W`

        ${m7}

        `)} ${Ie(e=>!e.error||e.error.status===400&&e.error.errorCode!=="snapshotInvalid",W`

        ${l7}

        `)}
        `;var b0e=W`

        ${jt}

        ....
        `;var T8=class{constructor(){this.fileIsDirty=!1}static get admin(){return this._instance||(this._instance=new this)}},_0e=T8.admin;_0e.fileIsDirty=!1;function zGe(e,...t){let o=new URLSearchParams;for(let n of t){let i=e.searchParams.get(n);i!==null&&o.set(n,i)}return o}function qv(e,...t){let o=(a,l)=>l.length===0?a:[a,...l].join("/");if(t.length===0){let a=e.split("/");e=a.shift()??"",t=a}let n=new URL(J.href),i=zGe(n,"branch","themebranch","branchFallbackFrom","pr"),r=i.toString()!==""?"?"+i.toString():"",s=`/${b.data.userLocale}/admin/`+o(e,t)+r;return new URL(s,n)}A();var NGe=W`

        ${g7}

        00 : 00 : 00
        `,FGe=d` `,v0e=document.createElement("div"),y0e=new be(v0e),qGe=()=>{y(FGe,v0e)},UGe=()=>y0e.hide(),OGe=()=>{document.querySelector(".modal-background").classList.remove("modal-close")},HGe=e=>{let{timeRemaining:t}=te(),o=parseInt(t);return isNaN(o)?e:o},BGe=500,s1=class{constructor(){this.countdownTimerReference=null}clearTimeout(){this.countdownTimerReference&&clearTimeout(this.countdownTimerReference)}};q([V],s1.prototype,"countdownTimerReference",2);var S8=(e,t,o,n)=>{let i=e,r=Math.floor(i/1e3%60),s=Math.floor(i/1e3/60%60),a=Math.floor(i/(1e3*60*60)%24),l=document.querySelector("#timer-container");if(l!==null){let c=l.querySelector(".hours"),u=l.querySelector(".minutes"),p=l.querySelector(".seconds");c.textContent=a.toString().padStart(2,"0"),u.textContent=s.toString().padStart(2,"0"),p.textContent=r.toString().padStart(2,"0")}if(i<=0){let c=document.getElementById("next-button");return c.disabled!==null&&(c.disabled=!0),qGe(),y0e.show(),document.getElementById("see-results-button").addEventListener("click",()=>{t.publish(new rC),UGe()}),OGe()}else return n.countdownTimerReference=setTimeout(S8,BGe,Math.max(o-Date.now(),0),t,o,n)},nc=class{constructor(t,o,n=dt,i=!1,r=!1,s="false",a="preview"){this.bus=n;this.omitScoring=i;this.isPreview=r;this.showAllQuestions=s;this.snapshotVersion=a;this.countdownTimerReference=new s1;this.options={showcheckAnswer:!1};this.reRouteSession=()=>{let t=new URL(location.href),o=this.showAllQuestions==="true"?"false":"true";t.searchParams.set("show-all-questions",o),t.searchParams.set("omit-scoring",o),this.countdownTimerReference.clearTimeout(),Er.goto(t,"replaceState")};this.title=t,this.service=o,this.numberOfScenarios=this.service.questionnaire.count,this.timer=this.service.snapshot.timer,this.bus.subscribe(nC,c=>{this.updateScenario(c.question,c.questionNumber)}),this.renewalAssessmentUid=this.service.snapshot.renewalAssessmentUid,this.manualId=this.service.snapshot.manualId,this.linkMetadata=this.service.linkMetadata,this.options={showcheckAnswer:this.service.type==="practice"};let l=()=>({canHandle:c=>location.origin===c.origin&&location.pathname===c.pathname&&c.search!=="",handle:async c=>Promise.resolve({url:c,title:this.title}),params:[]});Er.enable(l())}async initialize(){if(this.updateScenario(this.service.currentScenario,this.service.currentScenarioNumber),this?.service?.snapshot?.temporaryPreviewExpiresAt){let t="has-background-warning-light display-flex justify-content-center",o="button",n=nwe,i={id:"renewal-assessment-platform-api-link",url:iwe,text:jG},r=new Date(Date.parse(this.service.snapshot.temporaryPreviewExpiresAt));Kt(QG?.replace("{temporaryPreviewExpiresAt}",r.toString()),i,t,o,n)}if(this.timer!==null&&this.timer!==void 0){let t=this.timer*1e3*60;if(R.supportLevel==="production"){let o=Date.now()+t;S8(t,this.bus,o,this.countdownTimerReference)}else{let o=HGe(t),n=Date.now()+o;S8(o,this.bus,n,this.countdownTimerReference)}}}updateScenario(t,o){let[n,i,r]=t.fullyQualifiedId.split(".");this.questionnaireId=n,this.questionSetId=i,this.questionId=r,this.currentScenario=t,this.currentScenarioNumber=o,this.form&&this.form.focus()}next(){this.bus.publish(new iC)}checkUserAnswer(){if(this.form.checkValidity()){this.currentScenario.checkUserAnswer();return}this.form.reportValidity()}};q([V],nc.prototype,"numberOfScenarios",2),q([V],nc.prototype,"currentScenarioNumber",2),q([V],nc.prototype,"currentScenario",2),q([V],nc.prototype,"title",2),q([V],nc.prototype,"timer",2),q([V],nc.prototype,"countdownTimerReference",2);var x0e=W` ${Ie(()=>R.reviewFeatures,W`
        e.reRouteSession()} />
        `)}
        ${Ie(e=>e.isPreview,W` ${e=>e.manualId||e.renewalAssessmentUid} `)}

        ${e=>e.title}

        ${e=>e.timer!==null&&e.timer!==void 0?NGe:""}
        ${Ie(e=>e.isPreview,W` (${e=>e.currentScenario.manualId||e.currentScenario.uid}) `)}
        ${oo(e=>e.currentScenario,e=>VGe(e.currentScenario))}
        ${Ie(e=>e.options.showcheckAnswer,W` `)}
        `;function VGe(e){let t={SingleSelect:f0e,MultiSelect:g0e,Matrix:m0e},o=e.questionType.charAt(0).toUpperCase()+e.questionType.slice(1);return t[o]}function GGe(e){return e.currentScenarioNumber===e.numberOfScenarios?e.isPreview&&(e.omitScoring||e.snapshotVersion==="preview")?uV:$o:s7}document.onkeydown=e=>{if(e.altKey&&e.key==="v"){let t=document.getElementById("timer-container");if(t)switch(t.getAttribute("aria-live")){case"polite":t.setAttribute("aria-live","assertive");break;case"assertive":t.setAttribute("aria-live","off");break;case"off":t.setAttribute("aria-live","assertive");break}}};var T0e=W`
         

        ${a7}

        `;var Uv=class{constructor(t,o){this.scoredSnapshot=t,this.resultsUrl=o}};q([V],Uv.prototype,"scoredSnapshot",2),q([V],Uv.prototype,"resultsUrl",2);var S0e=W` `;var a1=class extends Be{constructor(o,n,i,r,s,a=dt,l=!1,c=!1){super();this.service=o;this.assessmentId=n;this.skipVerification=i;this.showAllQuestions=r;this.snapshotVersion=s;this.bus=a;this.omitScoring=l;this.isPreview=c;this.viewState="Loading";this.publish(new Eg)}async initializeAssessment(){let o=await y8(b.data.userLocale,new URL(location.href));try{await this.service.initSnapshot()}catch(n){w0e(n,this.service,o.certificationId)}S.title=this.service.type==="renewal"?this.createTitle(this.service.snapshot.certificationName,S.title):S.title,this.setTesting(),this.bus.subscribe(af,async n=>{this.setScoring();try{await this.service.scoreSnapshot(n.questionResponses)&&this.service.type==="renewal"?this.setSuccess(this.service.scoredSnapshot,vo({assessmentType:"renewal",pageType:2,credentialId:this.service.snapshot.certificationUid,credentialPathname:this.service.contentSource.url,query:{assessmentid:this.assessmentId,snapshotId:this.service.scoredSnapshot.snapshotId}})):this.setFailed()}catch(i){if(i instanceof Hg){this.setError(this.assessmentId,this.service.snapshot.certificationUid,this.service.contentSource?.url,this.skipVerification,this.snapshotVersion,this.service.type,i,()=>this.bus.publish(new af(n.questionResponses)));return}this.setError(this.assessmentId,this.service.snapshot.certificationUid,this.service.contentSource?.url,this.skipVerification,this.snapshotVersion,this.service.type)}})}setTesting(){this.model=new nc(this.service.snapshot.title,this.service,this.bus,this.omitScoring,this.isPreview,this.showAllQuestions,this.snapshotVersion),this.model.initialize(),this.viewState="Testing",this.publish(new Ze),this.assessmentStart=Date.now()}setScoring(){this.assessmentTime=(Date.now()-this.assessmentStart)/6e4,this.model=null,this.viewState="Scoring",this.publish(new Ze)}async setSuccess(o,n){this.model=new Uv(o,n);try{await Promise.all([RS("/en-us/media/learn/certification/renew/fireworks.png?branch=main"),RS("/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main")])}finally{this.viewState="Success",this.publish(new Ze)}}setError(o,n,i,r,s,a,l,c){this.model=new cf(o,n,i,r,s,a,l,c),this.viewState="Error",this.publish(new Ze)}setFailed(){this.viewState="Failed",this.publish(new Ze)}createTitle(o=Wa,n=S.title){let i=n.split("|").pop();return`${WG.replace("{certificationName}",o||Wa)} | ${i}`}};q([V],a1.prototype,"viewState",2);var QGe=W` ${Ie(e=>e.viewState==="Loading",b0e)} ${Ie(e=>e.viewState==="Testing",W` ${oo(e=>e.model,e=>x0e)}`)} ${Ie(e=>e.viewState==="Scoring",T0e)} ${Ie(e=>e.viewState==="Success",W` ${oo(e=>e.model,e=>S0e)}`)} ${Ie(e=>e.viewState==="Error",W` ${oo(e=>e.model,e=>h0e)}`)} `;function w0e(e,t,o){if(e instanceof Hg){if(e.status===401){Uo(location.href);return}t.snapshot?location.href=vo({assessmentType:"renewal",pageType:0,credentialId:t.snapshot&&t.snapshot.certificationUid||o,credentialPathname:t.contentSource.url,query:{assessmentId:t.snapshot&&t.snapshot.renewalAssessmentUid||""}}):location.href=Zi(S.referrer).href;return}else throw e}var jGe={loadingContext:{loadingType:1,navigation:{assessmentPageUrl:(e,t,o)=>vo({credentialId:e,assessmentType:"renewal",pageType:1,credentialPathname:o,query:{assessmentId:t}}),detailsPageUrl:(e,t,o)=>vo({credentialId:e,assessmentType:"renewal",pageType:0,credentialPathname:o,query:{assessmentId:t}}),profileDetailPageUrl:co("me","certifications"),profileOverviewPageUrl:co(k.userName),browsePageUrl:`/${b.data.userLocale}/certifications`}},loadedContext:{reportSummary:{passed:{title:e=>v$.replace("{certificationName}",e||Wa),imgSrc:e=>e||"/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",titleDate:e=>e,dateMsg:`${wY} ${b7}`,profilePageBtnTxt:y$,supertitle:RC},failed:{detailsPageBtnTxt:y7,eligibleTitle:T7,eligibleMsg:e=>S7.replace("{date}",Os.format(e)),supertitle:v7,title:e=>e||Wa}},reportScores:{scoresTitle:UC,scoreType:1},reportStudyGuide:{guideType:1,studyGuideCollectionFormTitle:GG,studyGuideItemsTitle:FC}},errorContext:{reportError:e=>({NotFoundError:{title:ia,msg:w7,primaryButton:{text:E7,url:`/${b.data.userLocale}/credentials`},secondaryButton:{text:y$,url:co(k.userName)}}})}};A();var uf="facet-search-input";async function l1(e,t,o=null,n=60*1e3){let i=new URL(e).href;if(t.length>100)return{question:"",answer:""};let r=K(i,{mode:"cors",method:"POST",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin",body:JSON.stringify({Query:t}),signal:o||void 0}),s,a=new Promise((l,c)=>{s=window.setTimeout(()=>{c(new Qt(new Response("Timeout",{status:408})))},n)});try{let l=await Promise.race([fetch(r),a]);if(l.ok){let c=(await l.text()).trim();return c?JSON.parse(c):{question:"",answer:""}}throw new Qt(l)}finally{s!==void 0&&clearTimeout(s)}}function c1(e,t,o,n,i,r,s,a){if(isNaN(e))return"";if(!t)return see.replace("{numberOfResults}",Di(e));let c=s?e===1?vie:_ie:a?e===1?mie:pie:e===1?die:uie,u=a?e===1?bie:hie:e===1?fie:gie,p=a?e===1?wie:Sie:e===1?Tie:xie,m;switch(o){case"Documentation":case"documentation":m=p.replace("{pivotCategory}",na);break;case"Training":case"training":m=p.replace("{pivotCategory}",ji);break;case"Credential":case"credential":m=p.replace("{pivotCategory}",un);break;case"Reference":case"reference":m=p.replace("{pivotCategory}",jn);break;case"Show":case"show":m=p.replace("{pivotCategory}",Si);break;case"QnA":case"qna":m=p.replace("{pivotCategory}",Iy);break;default:m=n&&!i?u:c}return m.replace("{count}",Di(e)).replace("{searchPhrase}",r&&r.length!==0?YGe(t,r):t).replace("{scope}",n&&!i?n:"").replace(/\s\s+/g," ")}function YGe(e,t){t.reverse();let o=e;for(let{start:n,length:i,correction:r}of t)o=`${o.substring(0,n)}${r}${o.substring(n+i)}`;return o}function C0e(e){if(e.busy)return;let o=(e.facetGroups?.category&&e.facetGroups.category.facets.find(r=>r.isSelected))?.value||"",n=c1(e.resultsCount,e.terms,o,e.scope,e.scopeRemoved,e.spellingCorrection),i=e.resultsCount===0?go:n;e.getSelectedCategoryName()!=="Ai"&&kt(i,"assertive")}var hu=class{constructor(t){this.type=t}};var df=class extends Be{constructor(o,n,i,r,s,a,l,c,u,p,m){super();this.label=o;this.count=n;this.name=i;this.value=r;this._isSelected=s;this._isExpanded=a;this.level=l;this.position=c;this.group=u;this.parent=p;this.avatarUrl=m;this.children=[]}get hasChildren(){return this.children.length>0}get hasSelectedChild(){return!this.isSelected&&!!this.children.find(o=>o.isSelected)}get isSelected(){return this._isSelected}get isChecked(){return this.parent?._isSelected||this.isSelected}get inputClass(){return this.parent&&this.parent.isSelected?"checkbox-muted":this.isSelected?"is-primary":""}get isExpanded(){return this.group.filterActive||this.hasChildren&&this._isExpanded||this.hasSelectedChild}get hidden(){return this.group.filterActive&&this.hasVisibleChild?!1:!!(this.isFiltered||this.parent&&!this.parent.isExpanded)}get isFiltered(){return this.group.filterActive&&!this.name.toLocaleLowerCase().includes(this.group.filter.toLocaleLowerCase())}get hasVisibleChild(){return this.hasChildren&&!!this.children.find(o=>!o.hidden)}toggleSelected(){this.isSelected?this.deselect():this.select(),this.notifyFacetChange("select")}toggleExpanded(){this._isExpanded?this.collapse():this.expand(),this.notifyFacetChange("expand")}deselect(){this._isSelected=!1}select(){if(this.parent?.isSelected&&this.parent.deselect(),this.children.length>0)for(let o of this.children)o.deselect();this._isSelected=!0}expand(){this.hasChildren&&(this._isExpanded=!0)}collapse(){this._isExpanded=!1}notifyFacetChange(o){this.publish(new hu(o))}};function E0e(e){let t={};for(let o in e){let n=o,i=e[n];t[n]=i.selected}return t}function A0e(e){let t={};for(let o in e){let i=e[o];t={...t,...i.expanded}}return t}function k0e(e,t,o){if(!t){let i=document.createElement("input");return o&&(i.pattern="(?!^\\s+$)^.*$",i.required=!0),i.setAttribute("type","text"),i.setAttribute("aria-label",no),i.setAttribute("maxlength","100"),i.dataset.biName="search-input",i.classList.add("input","input-lg"),i.placeholder=no,i.id=uf,i.name=uf,i.value="",i}t.input={...t.input,name:uf,id:uf,label:no,size:"large",required:!!o};let n=wr({...t,initialValue:""});return n.addEventListener(Ha,()=>e()),n.addEventListener(Ha,rxe),n.addEventListener(iw,hM),n}function u1(e){document.getElementById(`facet-input-filter-${e}`).focus()}var sC=class{constructor(t){this.skip=t}},d1=class extends Be{constructor(o,n,i=0){super();this._top=n;this.pageIndex=Math.floor(i/n),this.pageCount=Math.min(Math.max(this.pageIndex+2,10),Math.ceil(o/n))}get displayRange(){return{first:Math.max(this.pageIndex-2,0),last:Math.min(this.pageIndex+2,this.pageCount)}}async setPage(o){let n=o*this._top;this.publish(new sC(n))}};function WGe(e){let t={};if(t.scope=e.scope||null,t.terms=e.terms||null,t.top=null,t.skip=e.skip&&e.skip!==0?e.skip.toString():null,t.hideCompleted=e.hideCompleted?e.hideCompleted.toString():null,t.dataSource=e.dataSource||null,e.selectedFacets)for(let o in e.selectedFacets)t[o]=Object.keys(e.selectedFacets[o]).join(",");e.expandedFacets&&(t.expanded=Object.keys(e.expandedFacets).join(","));for(let o in Pv){let n=`filter-${o}`,i=o in e.filters;t[n]=i?e.filters[o]:null}return t.search=null,t}function Zs(e,t="pushState"){let o=WGe(e);Bt(o,t)}function I0e(e){for(let t in e){let o=t,n=KGe(o);e[o]=e[o].map(i=>L0e(i,o,n)),o!=="category"&&o!=="date"&&(e[o]=e[o].sort(n))}return e}function KGe(e){return e==="years"?(t,o)=>o.displayName.localeCompare(t.displayName,b.data.userLocale):e==="levels"?(t,o)=>A5(t.value)-A5(o.value):(t,o)=>t.displayName.localeCompare(o.displayName,b.data.userLocale)}function L0e(e,t,o){return e.displayName||(e.displayName=Fi?.[t]?.[e.value]||e.value),e.children&&e.children.length&&(e.children.map(n=>{L0e(n,t,o)}),e.children.length>1&&e.children.sort(o)),e}var w8=(e,t)=>t.hasChildren?t.children.reduce(w8,e)+1:e+1,p1=class extends Be{constructor(o,n=""){super();this.key=o;this._filter=n;this._facets=[];this._totalFacets=0;this.name=Pv[o]}get facets(){return this._facets}set facets(o){this._facets=o,this._totalFacets=this._facets.reduce(w8,0),this.subscribeToChanges(this.facets)}get hasFilterInput(){return this.filterActive||this._totalFacets>14}get selected(){return this.facets.reduce(C8("isSelected"),{})}get expanded(){return this.facets.reduce(C8("isExpanded"),{})}set filter(o){this._filter=o}get filter(){return this._filter}get filterActive(){return this._filter!==""}get hasVisibleChild(){return!!this.facets.find(o=>!o.hidden)}get isEmpty(){return this._totalFacets===0}get allFacetsFilteredOut(){return this.hasFilterInput&&this.filterActive&&!this.hasVisibleChild}handleFilterInput(o){let n=o.target instanceof HTMLInputElement&&o.target;this.filter=n.value,this.notifyFacetChange("filter")}clearFilter(){this._filter="",u1(this.key),kt(iz,"assertive"),this.notifyFacetChange("filter")}clearFacet(){kt(iz,"assertive"),this.notifyFacetChange("facet_clear")}deselectAll(){this.facets.forEach(o=>o.deselect())}selectByValue(o){this.deselectAll();let n=this.facets.find(i=>i.value===o);n&&!n.isSelected&&n.select(),this.notifyFacetChange("select")}setFacets(o){this._facets=o,this._totalFacets=this._facets.reduce(w8,0),this.subscribeToChanges(this.facets)}subscribeToChanges(o){for(let n of o)n.subscribe(hu,i=>this.notifyFacetChange(i.type)),n.children&&this.subscribeToChanges(n.children)}notifyFacetChange(o){this.publish(new hu(o))}};function C8(e){return(t,o)=>{if(o[e])t[o.value]=!0;else if(o.hasChildren)return o.children.reduce(C8(e),t);return t}}function P0e(e){let t={};for(let o in e)if(o in Pv&&e[o]){let n=o,i=e[n].split(","),r=JGe(n,i);r&&(t[n]=r.reduce((s,a)=>(s[a]=!0,s),{}))}return t}function R0e(e){return e.expanded?e.expanded.split(",").reduce((o,n)=>(o[n]=!0,o),{}):{}}function M0e(e,t,o,n){let i={};for(let r in e){let s=r,a=new p1(s,n[s]);a.facets=e[s].map(D0e(s,1,t,o,a)),i[s]=a}if($t==="Search"){let r=t.category&&Object.keys(t.category).length>0?Object.keys(t.category)[0]:void 0;for(let s of gM)s!=="All"&&!i?.category.facets.find(a=>a.name===s)&&(i.category.facets=i.category.facets.concat(new df("category",0,s,s,s===r,!1,2,i.category.facets.length+1,i.category)))}return i}function D0e(e,t,o,n,i,r){return(s,a)=>{let l=e in o&&s.value in o[e],c=s.value in n,u=new df(e,s.count,s.displayName||s.name,s.value,l,c,t+1,a+1,i,r,s.avatarUrl);return s.children&&s.children.length&&(u.children=s.children.map(D0e(e,t+1,o,n,i,u))),u}}function $0e(e){let t={};for(let o in e){let n=o,i=e[n];t[n]=i.filter||""}return t}function z0e(e){let t={};for(let o in e)t[e[o]]=o;return t}function JGe(e,t){if(t.length===0)return[];if(e==="category"){if(t.length===1){let o=gM.find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o==="Ai"&&(w.enableDeepSearch===!1||!k.isAuthenticated)?[]:o&&o!=="All"?[o]:null}return[]}else if(e==="date"){if(t.length===1){let o=Object.keys(is).find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o&&o!=="all"?[o]:null}return[]}return t}function aC(e){return Object.keys(e||{}).length===0}var m1=class extends Be{constructor(o,n,i={}){super();this._top=n;this.initialized=new Promise(o=>{this.initialize=o});this.showSearchAnswer=!0;this._busy=!1;this._dataSource="";this._disallowBlankSlate=!1;this._expandedFacets={};this._facetGroups={};this._facetsKnown=!1;this._filters={};this._isFuzzySearch=!1;this._hideCompletedEnabled=!1;this._hideCompleted=!1;this._mobileMenuView="top";this._results=[];this._rssEnabled=!1;this._scopeRemoved=!1;this._scoringProfileEnabled=!1;this._spellingCorrection=[];this._blankSlateEnabled=!1;this._resultsSortOptions=[];this._currentResultsSortOptionsIndex=0;this._termHasSynonyms=!1;this._pageStateHandler=null;this._abortController={};this._maxCachedResponse=6;this._cachedResponse=[];this._maxCopilotQaCache=10;this._copilotQaCache=[];this._maxDeepSearchCache=5;this._deepSearchCache=[];this.argsStringifyFunc=(o,n)=>{if(o==="selectedFacets"){let i=n;for(let r in i)aC(i[r])&&delete i[r];n=i}if(!(o==="expandedFacets"||!n))return n};this.toUrl=o=>o.url;if(i.blankSlateEnabled&&(this._blankSlateEnabled=!0),i.taxonomyFacetLookups&&(this.taxonomyFacetLookups=i.taxonomyFacetLookups,this.taxonomyFacetLookupsReversed=z0e(this.taxonomyFacetLookups)),i.syntheticFacets&&(this._syntheticFacets=i.syntheticFacets),i.facetSort&&(this.facetSort=i.facetSort),i.queryStringTransformer){let r=i.queryStringTransformer(new URL(J.href));Bt(r,"replaceState","")}if(this._pageStateHandler=i.pageStateHandler,this._fetch=o,i.hideCompleted&&k.isAuthenticated&&(this._hideCompletedEnabled=!0),this._scoringProfileEnabled=!!i.scoringProfile,this.scoringProfileEnabled&&(this._scoringProfile=i.scoringProfile),i.rss&&w.rss&&(this._rss=i.rss,this._rssEnabled=!0),i.resultSortOptions&&i.resultSortOptions.length>0){this._resultsSortOptions=i.resultSortOptions;let r=i.resultSortOptions.findIndex(s=>s?.default===!0);this._currentResultsSortOptionsIndex=r===-1?0:r}this._input=k0e(async()=>{await this.fetch(),Zs(this.createSearchArgs())},i.autocomplete,!!i.fetchRequiresTerms),this.readState(),!this.terms&&this.blankSlateEnabled?(this.setBusy(),this.setBlankData(),this.setReady()):(i.scenarioHealth&&(this._scenarioHealth=i.scenarioHealth,this.startScenario(this._scenarioHealth.viewResults)),this.fetch()),Zs(this.createSearchArgs(),"replaceState"),window.addEventListener("popstate",()=>this.handlePopState())}get selectedFacetsMinusCategory(){let o=Object.assign({},this._selectedFacets);o.category&&delete o.category;for(let n in o)aC(o[n])&&delete o[n];return o}get mobileMenuView(){return this._mobileMenuView}get resultsCount(){return this._resultCount}get input(){return this._input}get terms(){return this._input.value||""}get scope(){return this._scope}get scopeRemoved(){return this._scopeRemoved}get spellingCorrection(){return this._spellingCorrection}get results(){return this._results}get srcheng(){return this._srcheng}get busy(){return this._busy}get facetGroups(){return this._facetGroups}get selectedCategoryId(){return this._selectedCategoryId}get selectedFacets(){return this._selectedFacets}get expandedFacets(){return this._expandedFacets}get hideCompleted(){return this._hideCompleted}get hideCompletedEnabled(){return this._hideCompletedEnabled}get scoringProfileEnabled(){return this._scoringProfileEnabled}get scoringProfile(){return this._scoringProfile}get rssEnabled(){return this._rssEnabled}get rssUrl(){return this._rssUrl}get dataSource(){return this._dataSource}get blankSlateEnabled(){return this._blankSlateEnabled}get showBlankSlate(){return this.blankSlateEnabled&&!this.disallowBlankSlate&&(!this.results||this.results.length===0)&&!this.busy&&this.isBlank}get disallowBlankSlate(){return this._disallowBlankSlate}set disallowBlankSlate(o){this.disallowBlankSlate||(this._disallowBlankSlate=o)}get hasActiveFilter(){for(let o in this._selectedFacets)if(this._selectedFacets[o]){for(let n in this._selectedFacets[o])if(n.toLowerCase()!=="all"){if(o==="category")return this.getSelectedCategoryName()===n;if(this._selectedFacets[o]?.[n])return!0}}return!1}get isBlank(){return!this.hasActiveFilter&&this.terms===""}get categoriesEnabled(){return!!this.facetGroups.category}get hasActiveFacets(){for(let o in this._facetGroups)if(this._facetGroups[o]?.facets?.length)return!0;return!1}get syntheticFacets(){return this._syntheticFacets}get facetsEnabled(){return this.dataSource!=="previousVersions"}get isFuzzySearch(){return this._isFuzzySearch}get hasSortableResults(){return this._resultsSortOptions&&this._resultsSortOptions.length>0}get resultsSortOptions(){return this._resultsSortOptions}get currentResultsSortOptionsIndex(){return this._currentResultsSortOptionsIndex}get termHasSynonyms(){return this._termHasSynonyms}get isFirstPage(){return!this._skip}async submit(o){o.preventDefault(),this._scenarioHealth&&this.startScenario(this._scenarioHealth.viewResults);let n=o.target.elements.namedItem(uf);n.value.length>100&&(n.value=n.value.trim().slice(0,100)),this.input.value=n.value.trim(),this._skip=0,this.fetch(),Zs(this.createSearchArgs())}async fetch(){this.setBusy();try{let o=this.createSearchArgs();this.taxonomyFacetLookups&&this._remapTaxonomyFacetNames(this.taxonomyFacetLookupsReversed,o.selectedFacets);let n;for(let c in o.selectedFacets.author){n=c;break}let[i,r,s,a]=await Promise.all([this.useCacheOrFetch(o),this.contentAreaNumberFetch(),qN(n),this.fetchGuestSearchAnswerResult(o)]);this.maintainCachedResults(o,i),r&&this.maintainCachedResults(this.createSearchArgs(!1),r);let l=this.combineResponse(i,r,s);this.taxonomyFacetLookups&&this._remapTaxonomyFacetNames(this.taxonomyFacetLookups,l.facets),this.updateAnswers(a),this.updateResults(l),this.updateSrcheng(l),this.updateFacets(l),this.updateScopeRemoval(l),this.updateSpellingCorrection(l),this.updateSynonymCheckForSearchTerm(l),this.updatePaging(),this.updateRssUrl()}catch(o){this.setBlankData(),this._scenarioInstance?.fail(o)}finally{this.results&&this.results.length>0&&(this.disallowBlankSlate=!0),this.setReady(),this.initialize(),this._scenarioInstance?.succeed(),C0e(this),sxe(this.createSearchArgs(),this._results.map(this.toUrl),this._resultCount,this.getSelectedCategoryName(),this._scopeRemoved,this._spellingCorrection.length>0,!0,this._srcheng)}}handleFacetChange(o,n){switch(o){case"select":this._scenarioHealth&&this.startScenario(this._scenarioHealth.facetChange),this._selectedFacets=E0e(this.facetGroups),this._skip=0,this.fetch(),Zs(this.createSearchArgs());break;case"expand":this._expandedFacets=A0e(this.facetGroups),Zs(this.createSearchArgs()),this.notifyPropertyChanged();break;case"filter":this._filters=$0e(this.facetGroups),Zs(this.createSearchArgs(),"replaceState"),this.facetGroups[n].allFacetsFilteredOut&&kt(go,"assertive",2e3),this.notifyPropertyChanged();break;case"facet_clear":this.clearFacet(n),this.notifyPropertyChanged();break;default:break}}clearFacets(o=!1){this.hideCompletedEnabled&&(this._hideCompleted=!1);for(let n in this._selectedFacets)n==="category"&&o||(this._selectedFacets[n]={});this._facetsKnown=!1,this._skip=0,this.fetch(),Zs(this.createSearchArgs())}clearFacet(o){this._selectedFacets[o]={},this.fetch().then(()=>{u1(o)}),Zs(this.createSearchArgs())}selectMobileView(o,n){this._mobileMenuView=o,this.notifyPropertyChanged();let i=document.querySelector(".modal-content");if(n)this._selectedCategoryId=n;else if(this.selectedCategoryId){let r=i.querySelector(`#${this.selectedCategoryId}`);if(r){r.focus();return}}b_(i)}clearScope(){this._scope=null,this.fetch(),Zs(this.createSearchArgs()),this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Ze)}resetAbortController(o){return o in this._abortController&&this._abortController[o].abort(),this._abortController[o]=new AbortController,this._abortController[o].signal}toggleHideCompleted(){this.hideCompletedEnabled&&(this._hideCompleted=!this._hideCompleted,this._skip=0,this.fetch(),Zs(this.createSearchArgs()))}getSelectedCategoryName(){if(!this._facetsKnown){if(this._selectedFacets?.category)for(let n in this._selectedFacets.category)return n;return""}return this.categoriesEnabled&&this.facetGroups.category.facets.find(n=>n.isSelected)?.name||""}async handleResultsSortOptionChange(o,n){if(this._currentResultsSortOptionsIndex===n){let i=o.target instanceof Element&&o.target.closest("details.popover")||o.target instanceof Element&&o.target.shadowRoot?.activeElement?.closest("details.popover");i?.hasAttribute("open")&&i.removeAttribute("open");return}this._currentResultsSortOptionsIndex=n,this.fetch()}queryCopilotQaCache(o){let n=this._copilotQaCache.find(i=>i.query===o);return n?n.response:null}addCopilotQaToCache(o,n){for(this._copilotQaCache=this._copilotQaCache.filter(i=>i.query!==o),this._copilotQaCache.push({query:o,response:n});this._copilotQaCache.length>this._maxCopilotQaCache;)this._copilotQaCache.shift()}queryDeepSearchCache(o){let n=this._deepSearchCache.find(i=>i.query===o);return n?n.response:null}addDeepSearchToCache(o,n){for(this._deepSearchCache=this._deepSearchCache.filter(i=>i.query!==o),this._deepSearchCache.push({query:o,response:n});this._deepSearchCache.length>this._maxDeepSearchCache;)this._deepSearchCache.shift()}async handlePageState(o){this._pageStateHandler&&await this._pageStateHandler(this,o)}startScenario(o){this._scenarioInstance&&this._scenarioInstance.cancel(),this._scenarioInstance=new xi(o),this._scenarioInstance.start()}setBlankData(){this._results=[],this._facetGroups={},this._resultCount=0,this.initialize()}initialize(){}_remapTaxonomyFacetNames(o,n){for(let i in o)if(i in n){let r=n[i],s=o[i];n[s]=r,delete n[i]}}async contentAreaNumberFetch(){return this.getSelectedCategoryName()?this.useCacheOrFetch(this.createSearchArgs(!1)):Promise.resolve(void 0)}async useCacheOrFetch(o){if(o?.selectedFacets?.date&&Object.keys(o.selectedFacets.date).length>0)return this._fetch(o);let n=JSON.stringify(o,this.argsStringifyFunc),i=this._cachedResponse.find(r=>r.args===n);return i?(await new Promise(r=>setTimeout(r,300)),i.response):this._fetch(o)}maintainCachedResults(o,n){let i=JSON.stringify(o,this.argsStringifyFunc);for(this._cachedResponse=this._cachedResponse.filter(r=>r.args!==i),this._cachedResponse.push({args:i,response:n});this._cachedResponse.length>this._maxCachedResponse;)this._cachedResponse.shift()}combineResponse(o,n,i){if(this.syntheticFacets&&this.dataSource!=="previousVersions"&&(o.facets={...o.facets,...this.syntheticFacets,author:i?[{type:"text",displayName:i.displayName||Oi,value:i.userId,avatarUrl:i.avatarUrl||mn(i.displayName,i.userId)}]:[]}),n&&o.facets?.category){if(this.getSelectedCategoryName()==="QnA"&&o.facets?.category.length===0){let r=n.facets?.category?.find(s=>s.value==="QnA");r&&(r.count=0)}for(let r of n.facets?.category??[]){let s=o.facets?.category.find(a=>a.value===r.value);s&&(r.count=s.count)}o.facets={...o.facets,category:n.facets.category},o.spellingCorrection?.length>0&&n.spellingCorrection?.length===0&&(o.count=0,o.results=[])}return o}updateAnswers(o){this.copilotQA=o??void 0}updateSrcheng(o){this._srcheng=o.srcheng?o.srcheng:""}updateResults(o){this._results=o.results,this._resultCount=o.count{this._skip=o.skip,this._scenarioHealth&&this.startScenario(this._scenarioHealth.pagination),this.fetch(),Zs(this.createSearchArgs()),Jfe()})}updateRssUrl(){this._rssEnabled&&(this._rssUrl=this._rss(this.createSearchArgs()))}updateScopeRemoval(o){this._scopeRemoved=o.scopeRemoved||!1}updateSpellingCorrection(o){this._spellingCorrection=o.spellingCorrection||[]}updateSynonymCheckForSearchTerm(o){this._termHasSynonyms=o.termHasSynonyms||!1}createSearchArgs(o=!0){return Gs({terms:this.terms,scope:this.scope,selectedFacets:o?this._selectedFacets:this.selectedFacetsMinusCategory,expandedFacets:this._expandedFacets,skip:o&&this._skip>0?this._skip:null,top:this._top,hideCompleted:this.hideCompletedEnabled?this.hideCompleted:null,scoringProfile:this.scoringProfileEnabled?this.scoringProfile:null,dataSource:this.dataSource?this.dataSource:null,filters:this._filters,orderBy:this.hasSortableResults?this._resultsSortOptions[this._currentResultsSortOptionsIndex].orderBy:""})}setBusy(){this._busy=!0,this.notifyPropertyChanged(),this.handlePageState("VmBusy")}setReady(){this._busy=!1,this.notifyPropertyChanged(),this.handlePageState("VmReady")}readState(){let o=ci(),n=o.terms||o.search||o.term;n&&(n.trim(),n.length>100&&(n=n.slice(0,100))),this.input.value=n||"",this._scope=o.scope||null,this._selectedFacets=P0e(o),this._expandedFacets=R0e(o),this._dataSource=o.dataSource,this.hideCompletedEnabled&&o.hideCompleted&&(this._hideCompleted=!0);try{this._skip=o.skip?parseInt(o.skip):0}catch{this._skip=0}}handlePopState(){!J.search&&$t==="Search"||(this._facetsKnown=!1,this.readState(),this.fetch())}subscribeFacetChanges(){for(let o in this._facetGroups)this._facetGroups[o].subscribe(hu,i=>this.handleFacetChange(i.type,o))}async fetchGuestSearchAnswerResult(o){if(!w.enableModernSearchAnswer||k.isAuthenticated||this.scope||!this.isFirstPage||this.hasActiveFilter)return null;try{if(!k.isAuthenticated&&this.scope===null){let n=o.terms.trim(),i=this.queryCopilotQaCache(n);if(i)return this.copilotQA=i,i;let r=await l1(N.searchAnswer.guest,o.terms,null,3*1e3),s={question:r.question??"",answer:r.answer??"",responseType:r.responseType};return this.addCopilotQaToCache(n,s),s}else return null}catch(n){if(n instanceof Qt)return null;throw n}}};A();He();A();A();var E8="facet-group";function A8(e,t){return`${E8}-body--${e}${t?"--mobile":""}`}function Ov(e,t){return`${E8}-expander--${e}${t?"--mobile":""}`}function k8(e,t){return`${E8}-container--${e}${t?"--mobile":""}`}var g1="deep-search-container",pf="desktop-filter-button",Hv="desktop-filter-button-close",Bv="search-filter-sidebar",I8="search-answer",f1="search-answer-header",lC="toggle-search-answer-button",cC="search-answer-body",L8="search-answer-rating",P8="more-content-areas-popover";function Vv(e,t,o){return e?w.enableNewSiteSearch?d` ${e7e(`${e.key}${t}`,e)} `:d`
        {let i=n.target,r;if(i.value==="All")r="All";else if(e.facets.find(s=>s.name===i.value&&s.count>0))r=i.value;else{r=e.facets.find(a=>a.isSelected)?.value||"All";let s=Array.from(document.querySelectorAll('input[type="radio"]')).find(a=>a.value===r);s&&(s.checked=!0);return}Array.from(document.querySelectorAll('input[type="checkbox"]')).forEach(s=>s.checked=!1),e.selectByValue(r)}} >
        ${XGe(`${e.key}${t}`,e.facets)}
        `:d``}var R8=(e,t,o,n,i=!1)=>{let r=i?"badge-primary":"";return d``};function ZGe(e,t){let o=t.reduce((n,i)=>(i.isSelected&&(n.selection=!0),n.count+=i.count,n),{count:0,selection:!1});return R8(e,"All",ea,o.count,!o.selection)}function XGe(e,t){return Object.keys(rf).map(i=>{let r=t.find(s=>s.value.toLowerCase()===i);return i==="all"?ZGe(e,t):r?R8(e,r.value,rf[i],r.count,r.isSelected):R8(e,i,rf[i],0,!1)})}function e7e(e,t){let o=["ai","documentation","training","credential","qna","reference","show"],n=!1,i=0,r=o.map(a=>{let l=t.facets.find(c=>c.value.toLowerCase()===a);return n=n||!!l?.isSelected,i+=l?.count??0,N0e(e,l?.value??a,a,!!l?.isSelected,t,l?.count===0)}),s=d`${N0e(e,"all","all",!n,t,i===0)}`;return d`
        ${s}${r}
        ${t7e()}`}function N0e(e,t,o,n,i,r){if(o==="ai"&&(w.enableDeepSearch===!1||!k.isAuthenticated))return d``;let s=o==="ai"?!1:r&&!n&&t!=="all",a=rf[o],l=o==="ai"&&n;return d` `}function t7e(){return d`
        `}function M8(e,t=!1){return`font-size-sm padding-block-xxs display-flex align-items-center white-space-nowrap ${e?`${t?"font-weight-bold":"font-weight-semibold"} border-bottom-md border-color-primary`:"has-text-subtle font-weight-normal"}`}A();function h1(e){return!e.hasActiveFilter&&!e.hideCompleted?"":d` `}function D8(e){let t=w.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return e.facets?.length>0?d` `:""}A();function F0e(e,t){return!t&&!e.hasChildren?null:!e.hasChildren||e.hasSelectedChild||e.group.filterActive?d`
        `:d` `}A();function b1(e){return!e.hasFilterInput||!e.filterActive||e.hasVisibleChild?d``:d`

        ${go}.

        `}function $8(){return d`

        ${P0}

        `}function _1(e){let t=document.getElementById(Bv);if(t){t.classList.toggle("is-hidden");let o=t.classList.contains("is-hidden"),n=document.getElementById(pf);n&&(n.classList.toggle("background-color-body-medium"),n.setAttribute("aria-expanded",`${!o}`),e===Hv&&o&&n.focus())}}A();function q0e(e){return e.hideCompletedEnabled?d`

        ${O0e(e)}
        `:""}function U0e(e){return e.hideCompletedEnabled?d`
      • ${O0e(e,!0)}
      • `:""}function O0e(e,t=!1){return d` `}A();function uC(e,t){let o=wr({input:{id:`facet-input-filter-${e.key}`,placeholder:HK,isFullWidth:!0,type:"search",name:`facet-${e.name}`,biName:`facet-${e.name}${t?`-${t}`:""}`},getSuggestions:nxe,getTitle:n=>n.displayName||Oi,itemTemplate:n=>d`
        ${n.displayName||Oi}
        ${o7e(n.reputationPoints)} ${tM(n.affiliations)}
        `,initialValue:e.facets.length>0?{displayName:e.facets[0].name,userId:e.facets[0].value}:null,noResultsTemplate:CZ});return o.addEventListener(Ha,n=>{let i=n.detail.suggestion,r=new df("author",1,i.displayName||Oi,i.userId,!0,!1,1,1,null,null,i.avatarUrl);e.setFacets([r]),e.selectByValue(i.userId)}),o.addEventListener(iw,hM),o.addEventListener("keyup",n=>{n.key==="Enter"&&o.querySelector("input").value.trim()===""&&e.facets.length>0&&e.clearFacet()}),o.addEventListener("focusout",()=>{o.querySelector("input").value=e.facets?.length>0?e.facets[0].name:""}),o}function z8(e=!1){return w.enableNewSiteSearch?d`
        ${z(xz)}
        `:d`
        ${z(xz)}
        `}function o7e(e){return e>0?d` ${e} `:null}var n7e={title:!0,"is-3":!0,"margin-bottom-xxs":!0},v1={title:!0,"is-5":!0,"margin-bottom-xs":!0};function i7e(e){return e.hasActiveFilter||e.hasActiveFacets?"":d`

        ${P0}

        `}function N8(e){return w.enableNewSiteSearch?_p(e).length===0?d``:d``:e.facetsEnabled?d`

        ${Ja}

        ${h1(e)} ${q0e(e)}
        ${$t==="Search"?"":i7e(e)} ${H0e(e)}
        `:""}function r7e(e){let t=Object.keys(e.facetGroups);return t=e.facetSort?t.sort(e.facetSort):t,t}function _p(e){if($t==="Search"){let t=e.getSelectedCategoryName().toLowerCase();if(w.enableNewSiteSearch)switch(t){case"ai":return[];case"show":return[];case"qna":return["tags","date","author"];default:return["products"]}switch(t){case"show":return["category"];case"qna":return["category","tags","author","date"];default:return["category","products"]}}return r7e(e)}function V0e(e){let t=_p(e),o=t.length===1;return w.enableNewSiteSearch?d`
        ${t.length===0?d`
        ${$8()}
        `:d`${zo(t,n=>n,(n,i)=>y1(e.facetGroups[n],!0,!o,i===t.length-1))}`}
        `:d`${zo(t,n=>n,n=>y1(e.facetGroups[n],!0,!o))} `}function H0e(e){let t=_p(e),o=t.length===1;return w.enableNewSiteSearch?d`
        ${t.length===0?$8():d`${zo(t,n=>n,(n,i)=>y1(e.facetGroups[n],!1,!o,i===t.length-1))}`}
        `:d`${zo(t,n=>n,n=>y1(e.facetGroups[n],!1,!o))} `}function y1(e,t,o,n=!0){if(!e||$t!=="Search"&&e.isEmpty)return d``;let i=`ms--facet-heading-${e.key}${t?"-mobile":""}`,r=o?`is-vertically-scrollable ${w.enableNewSiteSearch?"":"has-max-height-260"}`:"",s=!t||!o;return w.enableNewSiteSearch?d`
        ${s7e(e,t,s,i,n)} ${a7e(e,t,r,s,i)}
        `:e.key==="category"?d`

        ${e.name}

        ${Vv(e,t?"mobile":"",i)}
        `:e.key==="date"?d`

        ${_y}

        ${Yw(e,t?"mobile":"",i)}
        `:e.key==="author"?d`

        ${$p}

        ${z8()}
        ${D8(e)}
        ${uC(e,t)}
        `:d`

        ${e.name}

        ${e.facets.length>0?G0e(e,r,i):Q0e(e.key)}
        `}function s7e(e,t,o,n,i=!1){let r="font-size-sm font-weight-normal",s=e.key,a=e.name;return s==="category"?d``:s==="author"?d`

        ${$p}

        ${z8(t)}
        ${D8(e)}
        `:d`

        ${a}

        `}function a7e(e,t,o,n,i){let r=e.key,s=`display-flex flex-direction-column padding-inline-xxs padding-top-xxs ${r==="author"?"":"has-overflow-hidden"} ${n?"":"is-hidden"}`,a=d``;return r==="date"?a=Yw(e,t?"mobile":"",i):r==="author"?a=d`
        ${uC(e,t)}
        `:a=e.facets.length>0?G0e(e,o,i):Q0e(e.key),d`
        ${a}
        `}function F8(e){if(!e.hasFilterInput&&!e.filter)return"";let t=UK.replace("{facet}",Bwe[e.key].toLowerCase()),o=Je();return d`
        e.handleFilterInput(n))} placeholder=${t} .value=${e.filter} aria-describedby=${o} />
        `}function G0e(e,t,o){return d`${F8(e)}
        ${b1(e)}
          ${x1(e.facets,e.key)}
        `}function x1(e,t,o=!1,n=!1){let i=n||!!e.find(r=>r.hasChildren);return zo(e,r=>r.value,r=>l7e(r,t,e.length,i,o))}function Q0e(e){let t=w.enableNewSiteSearch?"font-size-sm":"",o;switch(e){case"products":o=fZ;break;case"tags":o=hZ;break;default:o=go}return d`

        ${o}

        `}function l7e(e,t,o,n,i){let r=F0e(e,n),s=w.enableNewSiteSearch?"font-size-sm":"";return d`
      • ${r}
        ${e.hasChildren?d`
          ${x1(e.children,t,!1,n)}
        `:null}
      • `}function c7e(){return"column is-hidden-mobile is-two-fifths-tablet is-one-quarter-desktop"}function B0e(e,t,o=!1){let n=document.getElementById(A8(e,t));if(n&&(n.classList.toggle("is-hidden"),o)){let r=document.getElementById(k8(e,t));r&&r.classList.toggle("border-bottom")}let i=document.getElementById(Ov(e,t));if(i){let r=i.getAttribute("aria-expanded")==="false";i.setAttribute("aria-expanded",r.toString())}}function j0e(e){return _p(e).length===0?d``:d` `}A();function dC(e){return d`
        e.submit(t)} >
        ${e.input}
        `}A();function U8(e){return w.enableNewSiteSearch?_p(e).length===0?d``:d` `:d` `}function Y0e(e){return e.mobileMenuView in e.facetGroups?e.facetGroups[e.mobileMenuView]?.name:w.enableNewSiteSearch?Ja:Hz}function T1(e){return e.mobileMenuView in e.facetGroups?`ms--${e.facetGroups[e.mobileMenuView]?.key||e.mobileMenuView}-mobile`:"ms--search-filters"}var Gv,q8;async function W0e(){Gv||(Gv=document.createElement("div")),q8||(q8=new be(Gv)),await q8.show()}function Z0e(e){return w.enableNewSiteSearch?d` `:d` `}function K0e(e){return w.enableNewSiteSearch?d` `:d`

        ${Y0e(e)}

        ${u7e(e)} `}function u7e(e){return e.mobileMenuView==="top"?"":d`
        `}function d7e(e){switch(e.mobileMenuView){case"top":return p7e(e);default:return g7e(e.facetGroups[e.mobileMenuView])}}function p7e(e){return d`
          ${U0e(e)} ${m7e(e)}
        `}function m7e(e){let t=_p(e);return zo(t,o=>o,o=>{let n=e.facetGroups[o].facets.length>0||e.facetGroups?.category?.facets.find(i=>i.isSelected)?.name==="QnA"&&o==="author";if(w.enableNewSiteSearch&&o==="category")return"";if(n){let i=`ms--cat-btn-${o}`;return d`
      • `}return""})}function g7e(e){return e.key==="author"?d`
        ${uC(e,!0)}
        `:e.key==="date"?d`
          ${Yw(e,"")}
        `:d`
        ${F8(e)} ${b1(e)}
          ${e.key==="category"?Vv(e,"mobile"):x1(e.facets,e.key,!0)}
        `}function J0e(e){return w.enableNewSiteSearch?d` `:d`
        `}function O8(e){if(!e.pager||e.pager.pageCount<2||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai")return null;let t=Object.assign({busy:e.busy,publish:e.publish,setPage:e.pager.setPage},e.pager);return tf(t)}A();var f7e=()=>{let e=[];for(let t=0;t<30;t++)e.push(d``);return e},h7e=()=>{let e=[];for(let t=0;t<10;t++)e.push(d``);return e};function X0e(e,t){return w.enableNewSiteSearch?d`
          ${t}
        `:d`
          ${t}
        `}function V8(e,t,o,n){if(e.getSelectedCategoryName()==="Ai")return d`
        `;if((!e.results||e.results.length===0||e.resultsCount===0)&&!e.busy)return n(e);if(t==="grid"||t==="grid-large"){let i=e.busy?f7e():e.results.map((r,s)=>d`
      • ${o(r,s)}
      • `);return X0e(t,i)}else if(t==="list"){let i=e.busy?h7e():e.results.map((r,s)=>d`
      • ${o(r,s)}
      • `);return X0e(t,i)}else throw new Error("Invalid layout property specified in View Model config.")}A();function G8(e){return!e.rssEnabled||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai"?"":d` `}A();function tAe(e){let t=e.getSelectedCategoryName().toLowerCase(),o=k.isAuthenticated,n=!k.isAuthenticated&&!e.busy&&e.resultsCount>0&&!!e.copilotQA?.answer;return w.enableModernSearchAnswer&&e.isFirstPage&&(t==="all"||t==="")&&Object.keys(e.selectedFacetsMinusCategory).length===0&&!e.scope&&(n||o)}function oAe(e,t){return d`
        ${Xs(e,t)}
        `}function Xs(e,t){if(t==="NotShown")return d``;let o=d``;return t==="Generating"?o=d`

        ${dA}

        `:t==="Error"?o=d`

        ${cie}

        `:t==="ShowResult"&&(e.copilotQA?.answer?o=d` ${z(y7e(e.copilotQA.answer))} ${_7e(e)} `:o=d`

        ${pA}

        `),d`
        ${b7e(e)}
        ${o}
        ${t==="Generating"?d``:d``}
        `}function b7e(e){return d`

        ${Qf}

        `}function _7e(e){return d`
        ${Ru} ${z(jf)}
        `}function eAe(e,t,o,n){let i=document.getElementById(L8);i&&(i.innerHTML=` ${Yf}`);try{let r=k.isAuthenticated?k.authenticationMode:"Anonymous";axe(e,t??"",o??"",n,r)}catch{}}function v7e(e){let t=document.getElementById(cC),o=document.getElementById(lC);t&&o&&(e.showSearchAnswer=!e.showSearchAnswer,t.hidden=!t.hidden,o.textContent=t.hidden?Xz:Uy)}function y7e(e){let t=document.createElement("div");t.innerHTML=e;let o=t.getElementsByTagName("a");Array.from(o).forEach((i,r)=>{i.setAttribute("data-bi-name",`search-answer-ref-${r}`)});let n=t.getElementsByTagName("pre");return Array.from(n).forEach(i=>{i.classList.add("white-space-pre-wrap")}),t.innerHTML}async function nAe(e,t){if(w.enableModernSearchAnswer===!1)return;let o=e.resetAbortController("SearchAnswer"),n=e.getSelectedCategoryName(),i=document.getElementById(I8);if(i){if(n!=="All"&&n){y(Xs(e,"NotShown"),i);return}await ve,k.isAuthenticated?await x7e(e,t,o,i):await T7e(e,t,o,i)}}async function x7e(e,t,o,n){if(y(Xs(e,"Generating"),n),t==="VmBusy"){e.copilotQA=void 0;return}try{if(e.resultsCount===0){e.copilotQA=void 0,y(Xs(e,"ShowResult"),n);return}let i=e.queryCopilotQaCache(e.terms);if(i){let u=new Date().toISOString();e.copilotQA={answer:i.answer,question:i.question,responseType:i.responseType};let p=400+Math.random()*1e3;if(await new Promise(g=>setTimeout(g,p)),o.aborted)return;let m=new Date().toISOString();y(Xs(e,"ShowResult"),n),bM(e.terms,e.copilotQA.question,e.copilotQA.answer,k.authenticationMode,u,m,e.copilotQA.responseType,!0);return}let r=e.terms.trim(),s=new Date().toISOString(),a=await l1(N.searchAnswer.user,r,o),l=new Date().toISOString(),c={answer:a?.answer??"",question:a?.question??"",responseType:a?.responseType};if(e.addCopilotQaToCache(r,c),o.aborted)return;e.copilotQA=c,y(Xs(e,"ShowResult"),n),bM(e.terms,c.question,c.answer,k.authenticationMode,s,l,a.responseType,!0)}catch{y(Xs(e,"Error"),n)}}async function T7e(e,t,o,n){if(t==="VmBusy"){e.copilotQA=void 0,o.aborted===!1&&y(Xs(e,"NotShown"),n);return}try{if(e.resultsCount>0&&e.copilotQA?.answer&&e.copilotQA.answer.length>0){y(Xs(e,"Generating"),n);let i=new Date().toISOString(),r=600+Math.random()*1e3;if(await new Promise(a=>setTimeout(a,r)),o.aborted)return;let s=new Date().toISOString();y(Xs(e,"ShowResult"),n),bM(e.terms,e.copilotQA?.question||"",e.copilotQA?.answer||"","Anonymous",i,s,e.copilotQA?.responseType,!0)}else y(Xs(e,"NotShown"),n)}catch{y(Xs(e,"NotShown"),n)}}A();function Q8(e,t="h2"){let n=(e.facetGroups?.category&&e.facetGroups.category.facets.find(r=>r.isSelected))?.value||"";if(n==="Ai")return d``;let i=e.busy?"":c1(e.resultsCount,e.terms,n,e.scope,e.scopeRemoved,e.spellingCorrection,e.isFuzzySearch,e.termHasSynonyms);if(w.enableNewSiteSearch)return e.busy?d``:e.resultsCount===0?d``:d`

        ${i}

        `;switch(t){case"h1":return d`

        ${i}

        `;default:return d`

        ${i}

        `}}function j8(e){return e.busy?"":e.scope&&!e.scopeRemoved&&e.resultsCount!==0&&e.spellingCorrection.length===0?d`

        `:e.scope&&e.scopeRemoved?d`

        ${Pie.replace("{searchPhrase}",e.terms).replace("{scope}",e.scope)}

        `:e.spellingCorrection.length!==0&&e.resultsCount>0?d`

        ${Lie.replace("{searchPhrase}",e.terms)}

        `:""}function iAe(e){return e.busy?"":e.hasSortableResults?d`
        ${Rie} ${e.resultsSortOptions[e.currentResultsSortOptionsIndex].label}
        `:""}A();function W8(e){let t=Object.keys(e.facetGroups).filter(o=>o!=="category");if(w.enableNewSiteSearch){let o=e.selectedFacetsMinusCategory;return Object.keys(o).length===0?d``:d`
        ${zo(t,n=>n,n=>Y8(e.facetGroups[n]?.facets||[]))}
        `}return d`${zo(t,o=>o,o=>Y8(e.facetGroups[o]?.facets||[]))}`}function Y8(e){return d`${e.map(t=>!t.isSelected&&!t.hasSelectedChild?d``:t.hasSelectedChild?d`${Y8(t.children)}`:S7e(t))}`}function S7e(e){return d` `}function w7e(e){return e.label==="author"?d` `:null}function K8(e,t,o,n,i,r){if(e.blankSlateEnabled&&e.showBlankSlate)return e.disallowBlankSlate=!0,r(e);if(w.enableNewSiteSearch){let a=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"",l="is-full is-three-fifths-desktop padding-inline-none";return d`
        ${dC(e)}
        ${Vv(e.facetGroups?.category,"-new-search")}
        ${U8(e)}
        ${Q8(e,i)} ${j0e(e)}
        ${j8(e)}
        ${N8(e)}
        ${W8(e)} ${tAe(e)?d`${oAe(e,"ShowResult")}`:d``} ${V8(e,t,o,n)}
        ${O8(e)}
        ${G8(e)}
        `}let s=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"";return d`
        ${N8(e)}
        ${dC(e)} ${e.hasActiveFacets?d`
        ${C7e(e)}
        ${W8(e)}
        `:""}
        ${Q8(e,i)} ${j8(e)} ${iAe(e)}
        ${t==="list"&&e.resultsCount!==0?d`
        `:""} ${V8(e,t,o,n)}
        ${O8(e)}
        ${G8(e)}
        `}function C7e(e){return d`
        ${U8(e)}
        ${h1(e)}
        `}A();function J8(e){return d`

        ${go}

        ${Mu}

        `}async function cs(e,t){if(!t)throw new Error("Invalid container provided to Facet Search.");let{fetch:o,autocomplete:n,layout:i,hideCompleted:r,resultTemplate:s,noResultsTemplate:a,scoringProfile:l,rss:c,headingLevel:u,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankTemplate:_,fetchRequiresTerms:h,syntheticFacets:x,resultSortOptions:v,pageStateHandler:T}=e,I;switch(i){case"grid":I=30;break;case"grid-large":I=6;break;case"list":default:I=10}let C=new m1(o,I,{autocomplete:n,hideCompleted:r,scoringProfile:l,rss:c,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankSlateEnabled:!!_,fetchRequiresTerms:h,syntheticFacets:x,resultSortOptions:v,pageStateHandler:T});await C.initialized,y(K8(C,i,s,a||J8,u,_),t),await $i(t),C.handlePageState("VmReady"),C.subscribe(Ze,async()=>{y(K8(C,i,s,a||J8,u,_),t),await $i(t),Gv&&y(Z0e(C),Gv)})}A();function sAe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid-large",fetch:L7e,resultTemplate:R7e}}var A7e={orderBy:"last_modified desc"},k7e=MC,I7e={"solution-idea":sG};async function L7e(e){let[t]=await Promise.all([rAe(e,!1),ve]);t.count===0&&([t]=await Promise.all([rAe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function P7e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products","azure_categories"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:A7e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function rAe(e,t){let o={...P7e(e),fuzzySearch:t},n=`${N.browse.architecture}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function R7e(e){let t=Je();return d`

        ${I7e[e.content_type]||k7e}

        ${e.title}

        ${e.summary}

          ${Mv(Ks(e))}
        `}A();function aAe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:D7e,resultTemplate:M7e,resultSortOptions:[{label:yf,orderBy:"title"},{label:xf,orderBy:"title desc"},{label:Df,orderBy:"last_modified desc"},{label:$f,orderBy:"last_modified"}]}}function M7e(e){let t=(e.exams||[]).filter(l=>!!l.display_name).map((l,c)=>c===0?d` ${l.display_name}`:d`, ${l.display_name}`),o=t.length>0?d``:"",n={"applied skills":Jg,examination:Fi.resource_type.examination,certification:Fi.resource_type.certification,course:Fi.resource_type.course}[e.credential_types[0]],i={"applied skills":e.title,examination:`${Bi} ${e.exam_display_name}: ${e.title}`,certification:e.title,course:e.title}[e.credential_types[0]],s=`credential-${e.uid?qo(e.uid):Je()}-title`,a=e.credential_types[0]==="applied skills"?"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main":e.icon_url;return d`

        ${n}

        ${i}
        ${o}
        `}async function D7e(e){let[t]=await Promise.all([S1(e,!1),ve]);t.count===0&&([t]=await Promise.all([S1(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.icon_url&&(o.icon_url=et(o.icon_url,"en-us")),o.url&&(o.url=et(o.url,at.userLocale));return t}function $7e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","subjects","credential_types"],$filter:Gn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function S1(e,t){let o={...$7e(e),fuzzySearch:t},n=`${N.browse.credential}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}A();function lAe(e){let t=ci(e);if(!t.osRelease&&!t.ReferenceIds)return{};let o={terms:null,products:null};return t.ReferenceIds&&(o.terms=`ref:${t.ReferenceIds.replace(/,/g," ref:")}`,t.terms&&(o.terms+=` ${t.terms}`)),t.osRelease&&(o.products=`windows-${t.osRelease.replace(/,/g,",windows-")}`),{terms:o.terms,products:o.products,osRelease:null,ReferenceIds:null}}function cAe(e){switch(e){case"Reported":return CJ;case"Under Investigation":case"Investigating":return SJ;case"Confirmed":return TJ;case"Mitigated":return wJ;case"Resolved":return EJ;default:throw new Error(`Unexpected status - ${e}`)}}var z7e={orderBy:"last_updated_date desc"};function dAe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:N7e,resultTemplate:O7e,noResultsTemplate:q7e,queryStringTransformer:lAe}}async function N7e(e){let[t]=await Promise.all([uAe(e,!1),ve]);t.count===0&&([t]=await Promise.all([uAe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function F7e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:z7e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function uAe(e,t){let o={...F7e(e),fuzzySearch:t},n=`${N.browse.windowsSafeguards}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function q7e(e){return e.terms&&e.terms.includes("ref:")?U7e():d`

        ${go}

        ${Mu}

        `}function U7e(){return d`

        ${Aie}

        ${Eie}

        `}function O7e(e){let t=cAe(e.status),o=e.status==="Resolved"?"background-color-success color-success-invert":"background-color-tertiary color-tertiary-invert",n=e.products.map(r=>d`${r}`),i=Je();return d`

        ${kE}

        ${e.title}
        ${e.status==="Resolved"?d` `:""} ${t}
        `}function H7e(e){if(!e.versions)return"";let t=e.versions.length===1?d`${e.versions[0]}`:e.versions.map(o=>d`${o}`);return d`
      • ${t}
      • `}A();function mAe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"list",fetch:V7e,resultTemplate:Q7e}}var B7e={orderBy:"start desc"};async function V7e(e){let[t]=await Promise.all([pAe(e,!1),ve]);t.count===0&&([t]=await Promise.all([pAe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function G7e(e){return{branch:pt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:B7e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function pAe(e,t){let o={...G7e(e),fuzzySearch:t},n=`${N.browse.lifecycle}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function Q7e(e){let t=e.start,o=e.end&&e.end!=="0001-01-01T00:00:00"?e.end:"",n=Je();return d`
        ${e.title}
        `}A();function fAe(){return{facetSort:(e,t)=>_o(e)-_o(t),layout:"grid",fetch:K7e,resultTemplate:Y7e}}var j7e={orderBy:"last_modified desc"};function Y7e(e){let t=Ki(new Date(e.last_modified),{year:"numeric",month:"2-digit",day:"2-digit"}),n=`sample-${e.uid?qo(e.uid):Je()}-title`;return d`
        ${e.title.replace(//g,">")}

        ${e.summary}

          ${Mv(W7e(e))}
        `}function W7e(e){let t=[],o=e.display_products?.[0];o&&t.push(o);let n=e.display_languages?.[0];return n&&t.push(n),t}async function K7e(e){let[t]=await Promise.all([gAe(e,!1),ve]);t.count===0&&([t]=await Promise.all([gAe(e,!0),ve]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=et(o.url,at.userLocale));return t}function J7e(e){return{branch:pt(),environment:null,locale:b.data.userLocale,terms:e.terms,facet:["languages","products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:j7e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function gAe(e,t){let o={...J7e(e),fuzzySearch:t},n=`${N.browse.sample}?${ne(o,!0)}`;return M(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}async function hAe(){let e=Z7e();if(w.contentBrowse){await Se;let t=document.getElementById("content-browser-container");switch(e){case"sample":cs(fAe(),t);break;case"learn":Rv(),qw(),cs(oEe(),t);break;case"certification":cs(rEe(),t);break;case"credential":cs(aAe(),t);break;case"lifecycle":cs(mAe(),t);break;case"architecture":cs(sAe(),t);break;case"knownIssue":cs(dAe(),t);break;case"show":{cs(lEe(),t);break}}}}function Z7e(){let e=P("page_type"),t=P("page_kind");if(e==="browse"&&(t==="learn"||t==="sample"||t==="certification"||t==="credential"||t==="knownIssue"||t==="lifecycle"||t==="architecture"||t==="show"))return t;throw new Error(`The page configuration (page_kind: ${t} and page_type: ${e}) does not support browse functionality`)}A();async function bAe(){await Se;let e=document.getElementById("directory-search-form-replacement");_M(e,"directory-page-search-form","facet-search-input","directory")}function X7e(e){return 400<=e&&e<500}async function _Ae(e,t=!0){let o=t?"?isAMS=true":"?isAMS=false",n=`${N.learn.episode}/${e}${o}`,r=K(n,{method:"GET"}),s=await M(r);if(fe(s),s.ok)return await s.json();if(X7e(s.status))return null;throw new Error(`Unexpected response status ${s.status}`)}function qi(e){return e?.textTracks?.length?[...e.textTracks].find(n=>n.mode==="showing")?.label||$C:$C}function vAe(e,t){let o=!1,n=e.video.volume===0||e.video.muted,i=e.video.currentTime,r=e.video.duration?i/e.video.duration:0,s,a,l,c,u,p=0,m=0,g,f=0,_,h=qi(e.video),x=0,v=0,T=0;function I(Q){Yve({behaviorCode:Q,videoData:t,videoTimeSeconds:i,eventTime:c,startTime:s,freezeTime:f,reStartTime:a,secondsDiffSpeed:p,secondsNormalSpeed:m,languageCaptions:h,secondsDiffSpeedAfterReplay:v,secondsNormalSpeedAfterReplay:x,freezeTimeAfterReplay:T})}function C(){p=Wve(u,g,p,_,c),m=V4(u,g,m,_,c),v=Kve(u,g,v,_,c,a),x=Jve(u,g,x,_,c,a)}function H(){let Q=Date.now();c=Q,s=Q,i=e.video.currentTime,h=qi(e.video),I(le.VIDEOSTART)}function F(){let Q=Date.now();c=Q,l=Q,i=e.video.currentTime,h=qi(e.video),C(),I(le.VIDEOPAUSE),_=Q}function ue(){let Q=Date.now();c=Q,i=e.video.currentTime,h=qi(e.video);let $=!!l,X=l>a,pe=nn(Q-l);$&&(f+=pe),X&&(T+=pe),I(le.VIDEOCONTINUE)}function Ce(){let Q=Date.now();c=Q,l=Q,i=e.video.currentTime,h=qi(e.video),m=V4(u,g,m,_,c),a=Q,T=0,v=0,x=0,I(le.VIDEOREPLAY)}function ae(){c=Date.now(),i=e.video.currentTime,h=qi(e.video),C(),I(le.VIDEOCOMPLETE)}function ht(){c=Date.now(),i=e.video.currentTime,h=qi(e.video),C(),I(le.VIDEOMUTE)}function It(){c=Date.now(),i=e.video.currentTime,h=qi(e.video),C(),I(le.VIDEOUNMUTE)}function Vt(){c=Date.now(),i=e.video.currentTime,h=qi(e.video),C(),I(le.VIDEOERROR)}function yo(){c=Date.now(),i=e.video.currentTime,h=qi(e.video),C(),I(le.VIDEOFULLSCREEN)}function Ht(){c=Date.now(),i=e.video.currentTime,h=qi(e.video),C(),I(le.VIDEOUNFULLSCREEN)}function ao(){let Q=Date.now();c=Q,i=e.video.currentTime,h=qi(e.video),u=Q,g=e.video.playbackRate,C(),I(le.VIDEOPLAYERCLICK)}function Mt(){let Q=Date.now();c=Q,i=e.video.currentTime,h=qi(e.video),C(),I(le.VIDEOBUFFERING),_=Q}function bt(){c=Date.now(),i=e.video.currentTime,h=qi(e.video),C(),I(le.VIDEOPLAYERLOAD)}function Me(){let Q=e.video.muted||e.video.volume===0;!n&&Q?ht():n&&!Q&&It(),n=Q}function D(){let Q=Date.now(),$=e.video.currentTime,X=$/e.video.duration,pe=r<.25&&X>=.25,L=r<.5&&X>=.5,j=r<.75&&X>=.75;(pe||L||j)&&(c=Q,i=$,h=qi(e.video),C(),I(le.VIDEOCHECKPOINT)),c=Q,r=X}document.addEventListener("onestreamplayerstart",()=>{o?e.video.currentTime<.5?Ce():ue():(o=!0,H())}),document.addEventListener("onestreamplayererror",Vt),e.video.addEventListener("pause",F),e.video.addEventListener("ended",ae),e.video.addEventListener("waiting",Mt),e.video.addEventListener("ratechange",ao),e.video.addEventListener("loadstart",bt),e.video.addEventListener("volumechange",Me),e.video.addEventListener("timeupdate",D),e.onFullscreenChange((Q,$)=>{$?yo():Ht()})}A();var w1,yAe,eQe="4.9.4",tQe=`/static/third-party/onestream-player/shaka/${eQe}/shaka-player.ui.min.js`,Z8=!1,oQe="6.2.0",nQe=`/static/third-party/onestream-player/mux-js/${oQe}/mux.min.js`,X8=!1,iQe="0.4.0",rQe=`/static/third-party/onestream-player/onestream/0.4.0/one_stream_player-v${iQe}.min.js`,e9=!1,t9={id:"09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524",owners:[{id:"9beb1e29-2c2f-4460-b2ce-3e5cf96e999c",email:"-dcline@microsoft.com",name:"Douglas Cline (Steyer Associates Inc)"}],createdBy:{id:"8e6bd8a2-01ae-4e44-829f-3a9b90a567bf",email:"golnazal@microsoft.com",name:"Golnaz Alibeigi"},updatedBy:{id:"c192224d-9c92-434d-8648-90c013e60624",email:"obloch@microsoft.com",name:"Olivier Bloch - MSFT"},publishedBy:{id:"c192224d-9c92-434d-8648-90c013e60624",email:"bloch@microsoft.com",name:"Olivier Bloch - MSFT"},createTime:"2021-10-07T22:49:43.6262435Z",updateTime:"2021-12-01T19:09:48.4966451Z",publishTime:"2021-12-01T19:09:55.5078044Z",title:"IoT Show - Bridge IoT, Screens and Mobile with Ombori Grid",originalFileName:"20210923-TheIoTShow-DevelopappsthatdelightscustomerswithOmboriGridPoweredbyAzureIoTEdge_Edited_V3.mp4",publicVideo:{highQualityVideoUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_1920x1080_AACAudio_2502_1.mp4",mediumQualityVideoUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_1280x720_AACAudio_1341_2.mp4",lowQualityVideoUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_640x360_AACAudio_473_4.mp4",adaptiveVideoUrl:"",audioUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_AACAudio_2Ch_192kbps.mp4",adaptiveVideoDashUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst.mpd",adaptiveVideoHLSUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_master.m3u8",durationInMillisecond:1950763,thumbnailOtherSizes:{w800Url:`https://videoencodingpublic-hgea eyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/maxresdefault_w800.jpg`,w1120Url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/maxresdefault_w1120.jpg"},captions:[{language:"pl-pl",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-pl-pl.vtt"},{language:"cs-cz",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-cs-cz.vtt"},{language:"de-de",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-de-de.vtt"},{language:"en-us",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-en-us.vtt"},{language:"es-es",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-es-es.vtt"},{language:"fr-fr",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-fr-fr.vtt"},{language:"it-it",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-it-it.vtt"},{language:"ja-jp",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-ja-jp.vtt"},{language:"ko-kr",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-ko-kr.vtt"},{language:"pt-pt",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-pt-pt.vtt"},{language:"ru-ru",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-ru-ru.vtt"},{language:"tr-tr",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-tr-tr.vtt"},{language:"zh-cn",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-zh-cn.vtt"},{language:"zh-tw",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-zh-tw.vtt"}]},description:"some description",tags:["some tag"]};async function sQe(){return Z8?Promise.resolve():Qs(tQe,null).then(()=>{Z8=!0})}async function aQe(){return X8?Promise.resolve():Qs(nQe,null).then(()=>{X8=!0})}async function lQe(){return e9?Promise.resolve():Qs(rQe,null,"one_stream_player").then(()=>{e9=!0})}var cQe=(e=!1)=>e?d`