"use strict";(()=>{var _Le=Object.create;var kv=Object.defineProperty;var $G=Object.getOwnPropertyDescriptor;var yLe=Object.getOwnPropertyNames;var vLe=Object.getPrototypeOf,kLe=Object.prototype.hasOwnProperty;var DG=e=>{throw TypeError(e)};var xLe=(e,t,n)=>t in e?kv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var di=(e,t)=>()=>(e&&(t=e(e=0)),t);var NG=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Dn=(e,t)=>{for(var n in t)kv(e,n,{get:t[n],enumerable:!0})},TLe=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yLe(t))!kLe.call(e,o)&&o!==n&&kv(e,o,{get:()=>t[o],enumerable:!(i=$G(t,o))||i.enumerable});return e};var $1=(e,t,n)=>(n=e!=null?_Le(vLe(e)):{},TLe(t||!e||!e.__esModule?kv(n,"default",{value:e,enumerable:!0}):n,e));var q=(e,t,n,i)=>{for(var o=i>1?void 0:i?$G(t,n):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(i?r(t,n,o):r(o))||o);return i&&o&&kv(t,n,o),o};var Xt=(e,t,n)=>xLe(e,typeof t!="symbol"?t+"":t,n),D1=(e,t,n)=>t.has(e)||DG("Cannot "+n);var Te=(e,t,n)=>(D1(e,t,"read from private field"),n?n.call(e):t.get(e)),Gt=(e,t,n)=>t.has(e)?DG("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),gt=(e,t,n,i)=>(D1(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),wp=(e,t,n)=>(D1(e,t,"access private method"),n);var ole,ao,Vp,eF=di(()=>{ole=new WeakMap,ao=e=>(...t)=>{let n=e(...t);return ole.set(n,!0),n},Vp=e=>typeof e=="function"&&ole.has(e)});var tF,j0,Gp,ph=di(()=>{tF=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,j0=(e,t,n=null,i=null)=>{for(;t!==n;){let o=t.nextSibling;e.insertBefore(t,i),t=o}},Gp=(e,t,n=null)=>{for(;t!==n;){let i=t.nextSibling;e.removeChild(t),t=i}}});var Ms,z0,nF=di(()=>{Ms={},z0={}});var sl,iF,sle,mh,lk,rle,oF,$s,V0,gh=di(()=>{sl=`{{lit-${String(Math.random()).slice(2)}}}`,iF=``,sle=new RegExp(`${sl}|${iF}`),mh="$lit$",lk=class{constructor(t,n){this.parts=[],this.element=n;let i=[],o=[],s=document.createTreeWalker(n.content,133,null,!1),r=0,a=-1,l=0,{strings:c,values:{length:u}}=t;for(;l0;){let _=c[l],h=V0.exec(_)[2],k=h.toLowerCase()+mh,y=p.getAttribute(k);p.removeAttribute(k);let x=y.split(sle);this.parts.push({type:"attribute",index:a,name:h,strings:x}),l+=x.length-1}}p.tagName==="TEMPLATE"&&(o.push(p),s.currentNode=p.content)}else if(p.nodeType===3){let m=p.data;if(m.indexOf(sl)>=0){let g=p.parentNode,f=m.split(sle),_=f.length-1;for(let h=0;h<_;h++){let k,y=f[h];if(y==="")k=$s();else{let x=V0.exec(y);x!==null&&rle(x[2],mh)&&(y=y.slice(0,x.index)+x[1]+x[2].slice(0,-mh.length)+x[3]),k=document.createTextNode(y)}g.insertBefore(k,p),this.parts.push({type:"node",index:++a})}f[_]===""?(g.insertBefore($s(),p),i.push(p)):p.data=f[_],l+=_}}else if(p.nodeType===8)if(p.data===sl){let m=p.parentNode;(p.previousSibling===null||a===r)&&(a++,m.insertBefore($s(),p)),r=a,this.parts.push({type:"node",index:a}),p.nextSibling===null?p.data="":(i.push(p),a--),l++}else{let m=-1;for(;(m=p.data.indexOf(sl,m+1))!==-1;)this.parts.push({type:"node",index:-1}),l++}}for(let p of i)p.parentNode.removeChild(p)}},rle=(e,t)=>{let n=e.length-t.length;return n>=0&&e.slice(n)===t},oF=e=>e.index!==-1,$s=()=>document.createComment(""),V0=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/});var fh,sF=di(()=>{ph();gh();fh=class{constructor(t,n,i){this.__parts=[],this.template=t,this.processor=n,this.options=i}update(t){let n=0;for(let i of this.__parts)i!==void 0&&i.setValue(t[n]),n++;for(let i of this.__parts)i!==void 0&&i.commit()}_clone(){let t=tF?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],i=this.template.parts,o=document.createTreeWalker(t,133,null,!1),s=0,r=0,a,l=o.nextNode();for(;s{ph();gh();ale=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),qLe=` ${sl} `,rl=class{constructor(t,n,i,o){this.strings=t,this.values=n,this.type=i,this.processor=o}getHTML(){let t=this.strings.length-1,n="",i=!1;for(let o=0;o-1||i)&&s.indexOf("-->",r+1)===-1;let a=V0.exec(s);a===null?n+=s+(i?qLe:iF):n+=s.substr(0,a.index)+a[1]+a[2]+mh+a[3]+sl}return n+=this.strings[t],n}getTemplateElement(){let t=document.createElement("template"),n=this.getHTML();return ale!==void 0&&(n=ale.createHTML(n)),t.innerHTML=n,t}}});var Hu,Q0,hh,pa,Jo,Qp,ck,qu,lle,Kp,HLe,bh=di(()=>{eF();ph();nF();sF();G0();gh();Hu=e=>e===null||!(typeof e=="object"||typeof e=="function"),Q0=e=>Array.isArray(e)||!!(e&&e[Symbol.iterator]),hh=class{constructor(t,n,i){this.dirty=!0,this.element=t,this.name=n,this.strings=i,this.parts=[];for(let o=0;o{try{let e={get capture(){return lle=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{}})();Kp=class{constructor(t,n,i){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=i,this.__boundHandleEvent=o=>this.handleEvent(o)}setValue(t){this.__pendingValue=t}commit(){for(;Vp(this.__pendingValue);){let s=this.__pendingValue;this.__pendingValue=Ms,s(this)}if(this.__pendingValue===Ms)return;let t=this.__pendingValue,n=this.value,i=t==null||n!=null&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),o=t!=null&&(n==null||i);i&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=HLe(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Ms}handleEvent(t){typeof this.value=="function"?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}},HLe=e=>e&&(lle?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)});var K0,Y0,rF=di(()=>{bh();K0=class{handleAttributeExpressions(t,n,i,o){let s=n[0];return s==="."?new ck(t,n.slice(1),i).parts:s==="@"?[new Kp(t,n.slice(1),o.eventContext)]:s==="?"?[new Qp(t,n.slice(1),i)]:new hh(t,n,i).parts}handleTextExpression(t){return new Jo(t)}},Y0=new K0});function lF(e){let t=aF.get(e.type);t===void 0&&(t={stringsArray:new WeakMap,keyString:new Map},aF.set(e.type,t));let n=t.stringsArray.get(e.strings);if(n!==void 0)return n;let i=e.strings.join(sl);return n=t.keyString.get(i),n===void 0&&(n=new lk(e,e.getTemplateElement()),t.keyString.set(i,n)),t.stringsArray.set(e.strings,n),n}var aF,cF=di(()=>{gh();aF=new Map});var uF,v,dF=di(()=>{ph();bh();cF();uF=new WeakMap,v=(e,t,n)=>{let i=uF.get(t);i===void 0&&(Gp(t,t.firstChild),uF.set(t,i=new Jo(Object.assign({templateFactory:lF},n))),i.appendInto(t)),i.setValue(e),i.commit()}});var d,Ve=di(()=>{rF();G0();rF();eF();ph();nF();bh();dF();cF();sF();G0();gh();typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");d=(e,...t)=>new rl(e,t,"html",Y0)});var pF,cle,Zo,ule=di(()=>{Ve();pF=class{constructor(t){this.classes=new Set,this.changed=!1,this.element=t;let n=(t.getAttribute("class")||"").split(/\s+/);for(let i of n)this.classes.add(i)}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(n=>t+=n+" "),this.element.setAttribute("class",t)}}},cle=new WeakMap,Zo=ao(e=>t=>{if(!(t instanceof pa)||t instanceof qu||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:n}=t,{element:i}=n,o=cle.get(t);o===void 0&&(i.setAttribute("class",n.strings.join(" ")),cle.set(t,o=new Set));let s=i.classList||new pF(i);o.forEach(r=>{r in e||(s.remove(r),o.delete(r))});for(let r in e){let a=e[r];a!=o.has(r)&&(a?(s.add(r),o.add(r)):(s.remove(r),o.delete(r)))}typeof s.commit=="function"&&s.commit()})});var mF,Be,_h=di(()=>{Ve();mF=new WeakMap,Be=ao(e=>t=>{let n=mF.get(t);if(e===void 0&&t instanceof pa){if(n!==void 0||!mF.has(t)){let i=t.committer.name;t.committer.element.removeAttribute(i)}}else e!==n&&t.setValue(e);mF.set(t,e)})});var gF,dle,ple=di(()=>{Ve();gF=ao(e=>t=>{let n;if(t instanceof Kp||t instanceof Jo)throw new Error("The `live` directive is not allowed on text or event bindings");if(t instanceof Qp)dle(t.strings),n=t.element.hasAttribute(t.name),t.value=n;else{let{element:i,name:o,strings:s}=t.committer;if(dle(s),t instanceof qu){if(n=i[o],n===e)return}else t instanceof pa&&(n=i.getAttribute(o));if(n===String(e))return}t.setValue(e)}),dle=e=>{if(e.length!==2||e[0]!==""||e[1]!=="")throw new Error("`live` bindings can only contain a single expression")}});var mle,Yp,fF,hF,gle,fle,hle,bn,ble=di(()=>{Ve();mle=(e,t)=>{let n=e.startNode.parentNode,i=t===void 0?e.endNode:t.startNode,o=n.insertBefore($s(),i);n.insertBefore($s(),i);let s=new Jo(e.options);return s.insertAfterNode(o),s},Yp=(e,t)=>(e.setValue(t),e.commit(),e),fF=(e,t,n)=>{let i=e.startNode.parentNode,o=n?n.startNode:e.endNode,s=t.endNode.nextSibling;s!==o&&j0(i,t.startNode,s,o)},hF=e=>{Gp(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},gle=(e,t,n)=>{let i=new Map;for(let o=t;o<=n;o++)i.set(e[o],o);return i},fle=new WeakMap,hle=new WeakMap,bn=ao((e,t,n)=>{let i;return n===void 0?n=t:t!==void 0&&(i=t),o=>{if(!(o instanceof Jo))throw new Error("repeat can only be used in text bindings");let s=fle.get(o)||[],r=hle.get(o)||[],a=[],l=[],c=[],u=0;for(let k of e)c[u]=i?i(k,u):u,l[u]=n(k,u),u++;let p,m,g=0,f=s.length-1,_=0,h=l.length-1;for(;g<=f&&_<=h;)if(s[g]===null)g++;else if(s[f]===null)f--;else if(r[g]===c[_])a[_]=Yp(s[g],l[_]),g++,_++;else if(r[f]===c[h])a[h]=Yp(s[f],l[h]),f--,h--;else if(r[g]===c[h])a[h]=Yp(s[g],l[h]),fF(o,s[g],a[h+1]),g++,h--;else if(r[f]===c[_])a[_]=Yp(s[f],l[_]),fF(o,s[f],s[g]),f--,_++;else if(p===void 0&&(p=gle(c,_,h),m=gle(r,g,f)),!p.has(r[g]))hF(s[g]),g++;else if(!p.has(r[f]))hF(s[f]),f--;else{let k=m.get(c[_]),y=k!==void 0?s[k]:null;if(y===null){let x=mle(o,s[g]);Yp(x,l[_]),a[_]=x}else a[_]=Yp(y,l[_]),fF(o,y,s[g]),s[k]=null;_++}for(;_<=h;){let k=mle(o,a[h+1]);Yp(k,l[_]),a[_++]=k}for(;g<=f;){let k=s[g++];k!==null&&hF(k)}fle.set(o,a),hle.set(o,c)}})});var _le,U,Wp=di(()=>{bh();Ve();_le=new WeakMap,U=ao(e=>t=>{if(!(t instanceof Jo))throw new Error("unsafeHTML can only be used in text bindings");let n=_le.get(t);if(n!==void 0&&Hu(e)&&e===n.value&&t.value===n.fragment)return;let i=document.createElement("template");i.innerHTML=e;let o=document.importNode(i.content,!0);t.setValue(o),_le.set(t,{value:e,fragment:o})})});var yle,vle,Ai,kle=di(()=>{bh();Ve();yle=new WeakMap,vle=2147483647,Ai=ao((...e)=>t=>{let n=yle.get(t);n===void 0&&(n={lastRenderedIndex:vle,values:[]},yle.set(t,n));let i=n.values,o=i.length;n.values=e;for(let s=0;sn.lastRenderedIndex);s++){let r=e[s];if(Hu(r)||typeof r.then!="function"){t.setValue(r),n.lastRenderedIndex=s;break}s{let l=n.values.indexOf(r);l>-1&&l{"use strict";Ve();ule();_h();ple();ble();Wp();kle()});function Pg(e){hR[e.name]=e}function sz(e){if(!e)return null;let t=e.replace(/^azurecli/,"bash").replace(/^azurepowershell/,"powershell"),n;if(t=t.replace(/^(bash|http|powershell|lab-on-demand|msgraph)(?:-|$)/,(s,r)=>(n=r,"")),n===void 0)return null;let i=hR[n]?hR[n].activateButtonConfig:{name:"unknown",attributes:[],iconClass:""},o={name:n,flags:{isExternal:n==="lab-on-demand",requiresStructuredData:n==="http"},activateButtonConfig:i};return t=t.replace(/(\w+)$/g,(s,r)=>(o.flags[r]=!0,"")),o}function ebe(e){return Array.from(e.childNodes).map(t=>t.nodeName==="CODE"?t.getAttribute("data-interactive-mode"):null).pop()}function rz(e,t){let n=oz[e.name];return n||(n=oz[e.name]=hR[e.name].create()),t.firstElementChild!==n.element&&v(n.element,t),{element:n.element,setCode:(i,o)=>n.setCode(i,o),execute:()=>n.execute(),dispose:()=>{delete oz[e.name],n.dispose()}}}var hR,oz,Ig=di(()=>{"use strict";A();hR={};oz={}});var j3=NG((H3,B3)=>{(function(e,t){typeof H3=="object"&&typeof B3<"u"?B3.exports=t():typeof define=="function"&&define.amd?define(t):e.Bottleneck=t()})(H3,function(){"use strict";var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t(Oe){return Oe&&Oe.default||Oe}var n=function(Oe,B,E={}){var Y,ie,se;for(Y in B)se=B[Y],E[Y]=(ie=Oe[Y])!=null?ie:se;return E},i=function(Oe,B,E={}){var Y,ie;for(Y in Oe)ie=Oe[Y],B[Y]!==void 0&&(E[Y]=ie);return E},o={load:n,overwrite:i},s;s=class{constructor(B,E){this.incr=B,this.decr=E,this._first=null,this._last=null,this.length=0}push(B){var E;this.length++,typeof this.incr=="function"&&this.incr(),E={value:B,prev:this._last,next:null},this._last!=null?(this._last.next=E,this._last=E):this._first=this._last=E}shift(){var B;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),B=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,B}first(){if(this._first!=null)return this._first.value}getArray(){var B,E,Y;for(B=this._first,Y=[];B!=null;)Y.push((E=B,B=B.next,E.value));return Y}forEachShift(B){var E;for(E=this.shift();E!=null;)B(E),E=this.shift()}debug(){var B,E,Y,ie,se;for(B=this._first,se=[];B!=null;)se.push((E=B,B=B.next,{value:E.value,prev:(Y=E.prev)!=null?Y.value:void 0,next:(ie=E.next)!=null?ie.value:void 0}));return se}};var r=s,a;a=class{constructor(B){if(this.instance=B,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(B,E,Y){var ie;return(ie=this._events)[B]==null&&(ie[B]=[]),this._events[B].push({cb:Y,status:E}),this.instance}listenerCount(B){return this._events[B]!=null?this._events[B].length:0}async trigger(B,...E){var Y,ie;try{return B!=="debug"&&this.trigger("debug",`Event triggered: ${B}`,E),this._events[B]==null?void 0:(this._events[B]=this._events[B].filter(function(se){return se.status!=="none"}),ie=this._events[B].map(async se=>{var we,qe;if(se.status!=="none"){se.status==="once"&&(se.status="none");try{return qe=typeof se.cb=="function"?se.cb(...E):void 0,typeof qe?.then=="function"?await qe:qe}catch(Zt){return we=Zt,this.trigger("error",we),null}}}),(await Promise.all(ie)).find(function(se){return se!=null}))}catch(se){return Y=se,this.trigger("error",Y),null}}};var l=a,c,u,p;c=r,u=l,p=class{constructor(B){var E;this.Events=new u(this),this._length=0,this._lists=function(){var Y,ie,se;for(se=[],E=Y=1,ie=B;1<=ie?Y<=ie:Y>=ie;E=1<=ie?++Y:--Y)se.push(new c(()=>this.incr(),()=>this.decr()));return se}.call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(B){return this._lists[B.options.priority].push(B)}queued(B){return B!=null?this._lists[B].length:this._length}shiftAll(B){return this._lists.forEach(function(E){return E.forEachShift(B)})}getFirst(B=this._lists){var E,Y,ie;for(E=0,Y=B.length;E0)return ie;return[]}shiftLastFrom(B){return this.getFirst(this._lists.slice(B).reverse()).shift()}};var m=p,g;g=class extends Error{};var f=g,_,h,k,y,x;y=10,h=5,x=o,_=f,k=class{constructor(B,E,Y,ie,se,we,qe,Zt){this.task=B,this.args=E,this.rejectOnDrop=se,this.Events=we,this._states=qe,this.Promise=Zt,this.options=x.load(Y,ie),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===ie.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((Vi,so)=>{this._resolve=Vi,this._reject=so}),this.retryCount=0}_sanitizePriority(B){var E;return E=~~B!==B?h:B,E<0?0:E>y-1?y-1:E}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:B,message:E="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(B??new _(E)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(B){var E;if(E=this._states.jobStatus(this.options.id),!(E===B||B==="DONE"&&E===null))throw new _(`Invalid job status ${E}, expected ${B}. 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(B,E){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:B,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(B,E,Y,ie){var se,we,qe;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),we={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",we);try{if(qe=await(B!=null?B.schedule(this.options,this.task,...this.args):this.task(...this.args)),E())return this.doDone(we),await ie(this.options,we),this._assertStatus("DONE"),this._resolve(qe)}catch(Zt){return se=Zt,this._onFailure(se,we,E,Y,ie)}}doExpire(B,E,Y){var ie,se;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),se={args:this.args,options:this.options,retryCount:this.retryCount},ie=new _(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(ie,se,B,E,Y)}async _onFailure(B,E,Y,ie,se){var we,qe;if(Y())return we=await this.Events.trigger("failed",B,E),we!=null?(qe=~~we,this.Events.trigger("retry",`Retrying ${this.options.id} after ${qe} ms`,E),this.retryCount++,ie(qe)):(this.doDone(E),await se(this.options,E),this._assertStatus("DONE"),this._reject(B))}doDone(B){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",B)}};var P=k,C,j,O;O=o,C=f,j=class{constructor(B,E,Y){this.instance=B,this.storeOptions=E,this.clientId=this.instance._randomIndex(),O.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 B;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(B=this.heartbeat=setInterval(()=>{var E,Y,ie,se,we;if(se=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&se>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=se,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&se>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:E,reservoirIncreaseMaximum:ie,reservoir:we}=this.storeOptions,this._lastReservoirIncrease=se,Y=ie!=null?Math.min(E,ie-we):E,Y>0))return this.storeOptions.reservoir+=Y,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?B.unref():void 0:clearInterval(this.heartbeat)}async __publish__(B){return await this.yieldLoop(),this.instance.Events.trigger("message",B.toString())}async __disconnect__(B){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(B=0){return new this.Promise(function(E,Y){return setTimeout(E,B)})}computePenalty(){var B;return(B=this.storeOptions.penalty)!=null?B:15*this.storeOptions.minTime||5e3}async __updateSettings__(B){return await this.yieldLoop(),O.overwrite(B,B,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__(B){return await this.yieldLoop(),this._nextRequest+this.timeout=B}check(B,E){return this.conditionsCheck(B)&&this._nextRequest-E<=0}async __check__(B){var E;return await this.yieldLoop(),E=Date.now(),this.check(B,E)}async __register__(B,E,Y){var ie,se;return await this.yieldLoop(),ie=Date.now(),this.conditionsCheck(E)?(this._running+=E,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=E),se=Math.max(this._nextRequest-ie,0),this._nextRequest=ie+se+this.storeOptions.minTime,{success:!0,wait:se,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(B,E){var Y,ie,se;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 ie=Date.now(),se=this.storeOptions.highWater!=null&&B===this.storeOptions.highWater&&!this.check(E,ie),Y=this.strategyIsBlock()&&(se||this.isBlocked(ie)),Y&&(this._unblockTime=ie+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:se,blocked:Y,strategy:this.storeOptions.strategy}}async __free__(B,E){return await this.yieldLoop(),this._running-=E,this._done+=E,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var pe=j,Ee,ce;Ee=f,ce=class{constructor(B){this.status=B,this._jobs={},this.counts=this.status.map(function(){return 0})}next(B){var E,Y;if(E=this._jobs[B],Y=E+1,E!=null&&Y(B[this.status[Y]]=E,B),{})}};var _t=ce,Rt,zt;Rt=r,zt=class{constructor(B,E){this.schedule=this.schedule.bind(this),this.name=B,this.Promise=E,this._running=0,this._queue=new Rt}isEmpty(){return this._queue.length===0}async _tryToRun(){var B,E,Y,ie,se,we,qe;if(this._running<1&&this._queue.length>0)return this._running++,{task:qe,args:B,resolve:se,reject:ie}=this._queue.shift(),E=await async function(){try{return we=await qe(...B),function(){return se(we)}}catch(Zt){return Y=Zt,function(){return ie(Y)}}}(),this._running--,this._tryToRun(),E()}schedule(B,...E){var Y,ie,se;return se=ie=null,Y=new this.Promise(function(we,qe){return se=we,ie=qe}),this._queue.push({task:B,args:E,resolve:se,reject:ie}),this._tryToRun(),Y}};var fn=zt,Vt="2.19.5",un={version:Vt},Jn=Object.freeze({version:Vt,default:un}),Mt=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Ne=()=>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,F,ne,be,L,K;K=o,Q=l,be=Mt,ne=Ne,L=D,F=function(){class Oe{constructor(E={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=E,K.load(this.limiterOptions,this.defaults,this),this.Events=new Q(this),this.instances={},this.Bottleneck=oo,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new be(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new ne(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(E=""){var Y;return(Y=this.instances[E])!=null?Y:(()=>{var ie;return ie=this.instances[E]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${E}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",ie,E),ie})()}async deleteKey(E=""){var Y,ie;return ie=this.instances[E],this.connection&&(Y=await this.connection.__runCommand__(["del",...L.allKeys(`${this.id}-${E}`)])),ie!=null&&(delete this.instances[E],await ie.disconnect()),ie!=null||Y>0}limiters(){var E,Y,ie,se;Y=this.instances,ie=[];for(E in Y)se=Y[E],ie.push({key:E,limiter:se});return ie}keys(){return Object.keys(this.instances)}async clusterKeys(){var E,Y,ie,se,we,qe,Zt,Vi,so;if(this.connection==null)return this.Promise.resolve(this.keys());for(qe=[],E=null,so=`b_${this.id}-`.length,Y=9;E!==0;)for([Vi,ie]=await this.connection.__runCommand__(["scan",E??0,"match",`b_${this.id}-*_settings`,"count",1e4]),E=~~Vi,se=0,Zt=ie.length;se{var Y,ie,se,we,qe,Zt;qe=Date.now(),se=this.instances,we=[];for(ie in se){Zt=se[ie];try{await Zt._store.__groupCheck__(qe)?we.push(this.deleteKey(ie)):we.push(void 0)}catch(Vi){Y=Vi,we.push(Zt.Events.trigger("error",Y))}}return we},this.timeout/2)).unref=="function"?E.unref():void 0}updateSettings(E={}){if(K.overwrite(E,this.defaults,this),K.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 Oe.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},Oe}.call(e);var N=F,Z,ue,Ie;Ie=o,ue=l,Z=function(){class Oe{constructor(E={}){this.options=E,Ie.load(this.options,this.defaults,this),this.Events=new ue(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 Oe.prototype.defaults={maxTime:null,maxSize:null,Promise},Oe}.call(e);var Le=Z,kt=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Bt=t(Jn),Kt,z,ae,fe,xe,Ae,We,Je,Ft,st,Ht,xo=[].splice;Ae=10,z=5,Ht=o,We=m,fe=P,xe=pe,Je=kt,ae=l,Ft=_t,st=fn,Kt=function(){class Oe{constructor(E={},...Y){var ie,se;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(E,Y),Ht.load(E,this.instanceDefaults,this),this._queues=new We(Ae),this._scheduled={},this._states=new Ft(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new ae(this),this._submitLock=new st("submit",this.Promise),this._registerLock=new st("register",this.Promise),se=Ht.load(E,this.storeDefaults,{}),this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return ie=Ht.load(E,this.redisStoreDefaults,{}),new Je(this,se,ie);if(this.datastore==="local")return ie=Ht.load(E,this.localStoreDefaults,{}),new xe(this,se,ie);throw new Oe.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}.call(this),this._queues.on("leftzero",()=>{var we;return(we=this._store.heartbeat)!=null&&typeof we.ref=="function"?we.ref():void 0}),this._queues.on("zero",()=>{var we;return(we=this._store.heartbeat)!=null&&typeof we.unref=="function"?we.unref():void 0})}_validateOptions(E,Y){if(!(E!=null&&typeof E=="object"&&Y.length===0))throw new Oe.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,ie,se){var we,qe;try{if({running:qe}=await this._store.__free__(E,ie.weight),this.Events.trigger("debug",`Freed ${ie.id}`,se),qe===0&&this.empty())return this.Events.trigger("idle")}catch(Zt){return we=Zt,this.Events.trigger("error",we)}}_run(E,Y,ie){var se,we,qe;return Y.doRun(),se=this._clearGlobalState.bind(this,E),qe=this._run.bind(this,E,Y),we=this._free.bind(this,E,Y),this._scheduled[E]={timeout:setTimeout(()=>Y.doExecute(this._limiter,se,qe,we),ie),expiration:Y.options.expiration!=null?setTimeout(function(){return Y.doExpire(se,qe,we)},ie+Y.options.expiration):void 0,job:Y}}_drainOne(E){return this._registerLock.schedule(()=>{var Y,ie,se,we,qe;return this.queued()===0?this.Promise.resolve(null):(qe=this._queues.getFirst(),{options:we,args:Y}=se=qe.first(),E!=null&&we.weight>E?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${we.id}`,{args:Y,options:we}),ie=this._randomIndex(),this._store.__register__(ie,we.weight,we.expiration).then(({success:Zt,wait:Vi,reservoir:so})=>{var vv;return this.Events.trigger("debug",`Drained ${we.id}`,{success:Zt,args:Y,options:we}),Zt?(qe.shift(),vv=this.empty(),vv&&this.Events.trigger("empty"),so===0&&this.Events.trigger("depleted",vv),this._run(ie,se,Vi),this.Promise.resolve(we.weight)):this.Promise.resolve(null)})))})}_drainAll(E,Y=0){return this._drainOne(E).then(ie=>{var se;return ie!=null?(se=E!=null?E-ie:E,this._drainAll(se,Y+ie)):this.Promise.resolve(Y)}).catch(ie=>this.Events.trigger("error",ie))}_dropAllQueued(E){return this._queues.shiftAll(function(Y){return Y.doDrop({message:E})})}stop(E={}){var Y,ie;return E=Ht.load(E,this.stopDefaults),ie=se=>{var we;return we=()=>{var qe;return qe=this._states.counts,qe[0]+qe[1]+qe[2]+qe[3]===se},new this.Promise((qe,Zt)=>we()?qe():this.on("done",()=>{if(we())return this.removeAllListeners("done"),qe()}))},Y=E.dropWaitingJobs?(this._run=function(se,we){return we.doDrop({message:E.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var se,we,qe;we=this._scheduled;for(se in we)qe=we[se],this.jobStatus(qe.job.options.id)==="RUNNING"&&(clearTimeout(qe.timeout),clearTimeout(qe.expiration),qe.job.doDrop({message:E.dropErrorMessage}));return this._dropAllQueued(E.dropErrorMessage),ie(0)}))):this.schedule({priority:Ae-1,weight:0},()=>ie(1)),this._receive=function(se){return se._reject(new Oe.prototype.BottleneckError(E.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new Oe.prototype.BottleneckError("stop() has already been called")),Y}async _addToQueue(E){var Y,ie,se,we,qe,Zt,Vi;({args:Y,options:we}=E);try{({reachedHWM:qe,blocked:ie,strategy:Vi}=await this._store.__submit__(this.queued(),we.weight))}catch(so){return se=so,this.Events.trigger("debug",`Could not queue ${we.id}`,{args:Y,options:we,error:se}),E.doDrop({error:se}),!1}return ie?(E.doDrop(),!0):qe&&(Zt=Vi===Oe.prototype.strategy.LEAK?this._queues.shiftLastFrom(we.priority):Vi===Oe.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(we.priority+1):Vi===Oe.prototype.strategy.OVERFLOW?E:void 0,Zt?.doDrop(),Zt==null||Vi===Oe.prototype.strategy.OVERFLOW)?(Zt==null&&E.doDrop(),qe):(E.doQueue(qe,ie),this._queues.push(E),await this._drainAll(),qe)}_receive(E){return this._states.jobStatus(E.options.id)!=null?(E._reject(new Oe.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,ie,se,we,qe,Zt,Vi;return typeof E[0]=="function"?(qe=E,[ie,...E]=qe,[Y]=xo.call(E,-1),we=Ht.load({},this.jobDefaults)):(Zt=E,[we,ie,...E]=Zt,[Y]=xo.call(E,-1),we=Ht.load(we,this.jobDefaults)),Vi=(...so)=>new this.Promise(function(vv,bLe){return ie(...so,function(...MG){return(MG[0]!=null?bLe:vv)(MG)})}),se=new fe(Vi,E,we,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),se.promise.then(function(so){return typeof Y=="function"?Y(...so):void 0}).catch(function(so){return Array.isArray(so)?typeof Y=="function"?Y(...so):void 0:typeof Y=="function"?Y(so):void 0}),this._receive(se)}schedule(...E){var Y,ie,se;return typeof E[0]=="function"?([se,...E]=E,ie={}):[ie,se,...E]=E,Y=new fe(se,E,ie,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(Y),Y.promise}wrap(E){var Y,ie;return Y=this.schedule.bind(this),ie=function(...se){return Y(E.bind(this),...se)},ie.withOptions=function(se,...we){return Y(se,E,...we)},ie}async updateSettings(E={}){return await this._store.__updateSettings__(Ht.overwrite(E,this.storeDefaults)),Ht.overwrite(E,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(E=0){return this._store.__incrementReservoir__(E)}}return Oe.default=Oe,Oe.Events=ae,Oe.version=Oe.prototype.version=Bt.version,Oe.strategy=Oe.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},Oe.BottleneckError=Oe.prototype.BottleneckError=f,Oe.Group=Oe.prototype.Group=N,Oe.RedisConnection=Oe.prototype.RedisConnection=Mt,Oe.IORedisConnection=Oe.prototype.IORedisConnection=Ne,Oe.Batcher=Oe.prototype.Batcher=Le,Oe.prototype.jobDefaults={priority:z,weight:1,expiration:null,id:""},Oe.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Oe.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},Oe.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},Oe.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},Oe.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},Oe.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},Oe}.call(e);var oo=Kt,Sp=oo;return Sp})});var fve=NG(_M=>{"use strict";Object.defineProperty(_M,"__esModule",{value:!0});_M.format=aBe;_M.parse=lBe;var oBe=/^[\u0009\u0020-\u007e\u0080-\u00ff]*$/,uve=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,sBe=/[\\"]/g,rBe=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,dve=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function aBe(e){let{type:t,parameters:n}=e;if(!t||!rBe.test(t))throw new TypeError(`Invalid type: ${t}`);let i=t;if(n)for(let o of Object.keys(n)){if(!uve.test(o))throw new TypeError(`Invalid parameter name: ${o}`);i+=`; ${o}=${pBe(n[o])}`}return i}function lBe(e,t){let n=e.length,i=Y3(e,0,n),o=i;i=K3(e,i,n);let s=W3(e,o,i),r=e.slice(o,s).toLowerCase(),a=t?.parameters===!1?new dve:dBe(e,i,n);return{type:r,parameters:a}}var pve=32,mve=9,gve=59,cBe=61,cve=34,uBe=92;function dBe(e,t,n){let i=new dve;e:for(;tt;){let i=e.charCodeAt(n-1);if(i!==pve&&i!==mve)break;n--}return n}function pBe(e){if(uve.test(e))return e;if(oBe.test(e))return`"${e.replace(sBe,"\\$&")}"`;throw new TypeError(`Invalid parameter value: ${e}`)}});function FG(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let n=t.closest("[data-dismissable]");n&&SLe(n)})}function SLe(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 xv(e=document.body){e.addEventListener("toggle",t=>{let n=t.target instanceof Element&&t.target.closest("details.popover")||t.target instanceof Element&&t.target.shadowRoot?.activeElement?.closest("details.popover");if(!n)return;let i=n.querySelector(".popover-content");if(!i)return;if(!n.open){i.style.visibility="hidden";return}requestAnimationFrame(()=>{OG(n),i.offsetHeight});let o=()=>{n.open&&OG(n)},s=c=>{c.key==="Escape"&&l()},r=c=>{c.target instanceof Element&&(n?.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",r,!0),e.removeEventListener("click",r),e.removeEventListener("touchstart",r),e.removeEventListener("keydown",s),window.removeEventListener("blur",a),window.removeEventListener("resize",o),n?.open&&(n.removeAttribute("open"),i.style.visibility="hidden")};e.addEventListener("focus",r,!0),e.addEventListener("click",r),e.addEventListener("touchstart",r),e.addEventListener("keydown",s),window.addEventListener("blur",a),window.addEventListener("resize",o)},!0)}var UG=24,N1=8;function wLe(e){return window.getComputedStyle(e).direction==="rtl"}function CLe(e,t,n){let i=n.getBoundingClientRect(),o=window.innerHeight-i.bottom,s=i.top,r=e.classList.contains("popover-top"),a=e.classList.contains("popover-bottom"),l=t.offsetHeight,c=a||!r&&(l+N1>s||o>=l||o>=s),u=e.classList.contains("popover-caret");u&&e.classList.remove("popover-caret-bottom");let p=0;c?p=n.offsetTop+n.offsetHeight+N1:(p=n.offsetTop-t.offsetHeight-N1,u&&e.classList.add("popover-caret-bottom")),t.style.top=`${p}px`}function ELe(e,t,n,i){let o=t.offsetWidth,s=n.offsetWidth,r=window.innerWidth,l=t.offsetParent.getBoundingClientRect(),c=n.offsetLeft,u=c+s,p,m=e.classList.contains("popover-left"),g=e.classList.contains("popover-right");if(m)p=i?u-o:c;else if(g)p=i?c:u-o;else{p=c+s/2-o/2;let f=l.left+p,_=f+o;fr-UG&&(p=u-o)}return i?(t.style.setProperty("left",`${p}px`),t.style.setProperty("right","auto")):t.style.setProperty("inset-inline-start",`${p}px`),p}function ALe(e,t,n,i){let o=e.offsetWidth,s=t.offsetWidth,a=t.offsetLeft+s/2,l;i?l=100-(a-n+4)/o*100:l=(a-n-4)/o*100;let c=Math.min(Math.max(l,10),90);e.style.setProperty("--caret-left",`${c}%`)}function OG(e){let t=e.querySelector(".popover-content"),n=e.querySelector("summary");if(!t||!n)return;t.style.top="",t.style.left="",t.style.right="",t.style.setProperty("inset-inline-start","");let i=wLe(e);CLe(e,t,n);let o=ELe(e,t,n,i);e.classList.contains("popover-caret")&&ALe(t,n,o,i),t.style.visibility="visible"}var F1=!1;function qG(){ILe();let e=Array.from(document.querySelectorAll("[data-snap-scroll]"));for(let t of e)PLe(t)}function PLe(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 n=Array.from(t.querySelectorAll("[data-snap-scroll-slide]")),i={root:t,rootMargin:"0px",threshold:.8},o=new IntersectionObserver(s=>{if(!F1&&s[0].isIntersecting===!0){let r=s[0].target.getAttribute("data-snap-scroll-slide");if(!r)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="${r}"]`);if(!a)throw new Error("Anchor missing from snap scroll container");HG(e,a)}},i);n.forEach(s=>o.observe(s))}function ILe(){window.addEventListener("click",e=>{let t=e.target instanceof Element&&e.target.closest("[data-snap-scroll-nav-item]");if(!t)return;let n=t.closest("[data-snap-scroll]");if(!n)return;let i=t.dataset.snapScrollNavItem;if(!i)throw new Error('You need to add a value to the parent of your snap scroll: [data-snap-scroll="id-goes-here")');F1=!0,e.preventDefault();let o=n.querySelector(`[data-snap-scroll-slide="${i}"]`);HG(n,t),o.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),setTimeout(()=>F1=!1,500)})}function HG(e,t){let n=Array.from(e.querySelectorAll("[data-snap-scroll-nav-item]"));for(let i of n)i.classList.remove("is-current");t.classList.add("is-current")}var LLe=0;function Cp(){return`bx-${LLe++}`}function BG(e){return e.replace(/-./g,t=>t[1].toUpperCase())}var LJe=new Promise(e=>{document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>e()):e()});var jG={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."},Bw=class extends HTMLElement{constructor(){super();Xt(this,"submitting",!1);Xt(this,"initialData",new FormData);Xt(this,"toDispose",[]);Xt(this,"isDirty",!1);Xt(this,"commitTimeout",0);Xt(this,"locStrings",jG);Xt(this,"validators",[this.validateMinLength.bind(this),this.validateRequired.bind(this),this.validateMaxLength.bind(this)]);Xt(this,"commit",n=>{!GG(n.target,this.form)||!n.target?.form||n.target?.form!==this.parentElement||(clearTimeout(this.commitTimeout),n.type==="change"&&RLe(n.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 n=this.parentElement;if(!(n instanceof HTMLFormElement))return;this.locStrings=this.getLocaleStrings(),n.setAttribute("novalidate","");let i=document.createElement("div");i.setAttribute("data-form-error-container",""),n.hasAttribute("data-hide-validation-banner")&&(i.hidden=!0),this.insertAdjacentElement("afterend",i),this.initialData=new FormData(n),this.ownerDocument.readyState==="loading"&&this.ownerDocument.addEventListener("readystatechange",()=>this.initialData=new FormData(n)),this.subscribe(n,"input",this),this.subscribe(n,"change",this),this.subscribe(n,"submit",this),this.subscribe(window,"beforeunload",this)}disconnectedCallback(){for(let n of this.toDispose)n()}getLocaleStrings(){let n=Array.from(this.attributes).filter(i=>i.name.startsWith("loc-")).reduce((i,o)=>(i[BG(o.name.substring(4))]=o.value,i),{});return Object.assign({},jG,n)}subscribe(n,i,o){n.addEventListener(i,o),this.toDispose.push(()=>n.removeEventListener(i,o))}setDirty(){let n=new URLSearchParams(this.initialData).toString(),i=new URLSearchParams(new FormData(this.parentElement)).toString();this.isDirty=i!==n}handleEvent(n){switch(n.type){case"submit":this.handleSubmitEvent(n);break;case"beforeunload":this.handleUnloadEvent(n);break;case"input":this.clearValidationErrors(n.target),this.scheduleCommit(n);break;case"change":this.clearValidationErrors(n.target),this.commit(n);break;default:throw new Error(`Unexpected event ${n.type}.`)}}navigate(n){return $Le(n,this.getAttribute("navigation"))}scheduleCommit(n){clearTimeout(this.commitTimeout),setTimeout(this.commit,300,n)}async handleUnloadEvent(n){this.setDirty(),!(!this.isDirty||this.hideUnloadMessage)&&(n.preventDefault(),n.returnValue="You have unsaved work.")}async handleSubmitEvent(n){if(n.preventDefault(),this.submitting)return;let i=n.currentTarget;if(!this.canSave){this.showNoChangesMessage(i);let s=new CustomEvent("form-validating",{detail:{form:i},bubbles:!0});this.dispatchEvent(s);return}let o=!1;try{if(this.submitting=!0,zG(n,i,this.submitting),!(await this.validateForm(i)).valid||this.noSubmit)return;let r=NLe(n)??i.action,a=new URL(r).searchParams,l=new FormData(i),c=new Headers;c.set("content-type","applicationhttps://www.microsoft.com/json");for(let{name:h,value:k}of this.attributes)h.startsWith("header-")&&c.set(h.substring(7),k);let p={method:a.get("_method")||i.method||"GET",body:JSON.stringify(Object.fromEntries(l)),headers:c},m=new CustomEvent("beforesubmit",{detail:{url:r,init:p,form:i,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,_;try{if(f=new Request(m.detail.url,m.detail.init),_=await fetch(f),_.ok)this.removeAttribute("new"),this.initialData=l,this.setDirty(),this.dispatchEvent(new CustomEvent("aftersubmit",{detail:{request:f,response:_},bubbles:!0})),o=this.navigate(_.headers.get("location")??this.getAttribute("navigation-href"));else{let h=this.locStrings.weEncounteredAnUnexpectedError;switch(_.status){case 401:h=this.locStrings.notAuthenticated;break;case 403:h=this.locStrings.notAuthorized;break;case 412:h=this.locStrings.contentHasChanged;break;case 429:h=this.locStrings.tooManyRequests;break}this.submissionError(i,h,f,_)}}catch{this.submissionError(i,this.locStrings.weEncounteredAnUnexpectedError,f,_);return}}finally{this.submitting=o,zG(n,i,this.submitting)}}createErrorAlert(n){let i=n.querySelector("[data-form-error-container]")||n,o=Cp(),s=document.createElement("div");s.className="help help-danger background-color-danger-light border border-color-danger border-radius padding-xs margin-bottom-sm",s.setAttribute("data-form-error-alert",""),s.setAttribute("role","alert"),s.setAttribute("aria-labelledby",o),s.setAttribute("tabindex","-1"),s.hidden=!0;let r=document.createElement("p");r.id=o,r.className="font-size-md font-weight-semibold margin-bottom-xs display-inline-flex",r.innerText=this.locStrings.pleaseFixTheFollowingIssues;let a=document.createElement("ul");return a.setAttribute("aria-label","Validation errors"),a.classList.add("margin-left-sm-tablet"),s.append(r,a),i.appendChild(s),{errorAlert:s,errorList:a}}getErrorAlert(n){let i=n.querySelector("[data-form-error-alert]");return i?{errorAlert:i,errorList:i.lastElementChild}:this.createErrorAlert(n)}submissionError(n,i,o,s){let{errorAlert:r,errorList:a}=this.getErrorAlert(n),l=document.createElement("li");l.innerText=i,this.dispatchEvent(new CustomEvent("submission-error",{detail:{form:n,request:o,response:s},bubbles:!0})),a.appendChild(l),r.hidden=!1,r.focus()}validateRequired(n,i){return n.validity.valueMissing?this.locStrings.inputRequired.replace("{inputLabel}",customElements.get(n.localName)||n.type==="radio"?`A selection for "${i}"`:i):null}validateMinLength(n,i){return(n instanceof HTMLTextAreaElement||n instanceof HTMLInputElement)&&(n.validity.tooShort||n.minLength>0&&n.value.length0&&n.value.length>n.maxLength)?this.locStrings.inputMaxLength.replace("{inputLabel}",i).replace("{maxLength}",n.maxLength.toString()):null}async validateForm(n,i=!0,o=n){let s=[],{errorAlert:r,errorList:a}=this.getErrorAlert(n);(i||n.hasAttribute("data-hide-validation-banner"))&&(r.hidden=!0,a.innerHTML="");let l=DLe(n);for(let c of[...n.elements,...l]){if(!o.contains(c)||!U1(c,n))continue;if(c.type==="radio"){let m=n.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:s,form:n},bubbles:!0});this.dispatchEvent(m);continue}let u=!!l.find(m=>m===c);this.runBasicValidation(c,i,s,a,u);let p=new CustomEvent("form-validating",{detail:{errors:s,form:n},bubbles:!0});this.dispatchEvent(p)}return s.length===0?{valid:!0}:(i&&(r.hidden=!1,r.focus()),{valid:!1,errors:s})}clearValidationErrors(n){if(!U1(n,this.form))return;if(VG(n),Ho(n,""),ro(n).classList.remove("errored"),n.form){let{errorAlert:o,errorList:s}=this.getErrorAlert(n.form);s.querySelectorAll(`a[href="http://approjects.co.za/?big=#${n.id}"]`).forEach(r=>r.parentElement?.remove()),s.querySelector("#no-edits-error")?.remove(),s.firstElementChild||(o.hidden=!0)}let i=new CustomEvent("clear-validation-errors",{detail:{target:n},bubbles:!0});this.dispatchEvent(i)}showNoChangesMessage(n){let{errorAlert:i,errorList:o}=this.getErrorAlert(n);if(o.childElementCount>0){for(;o.firstChild;)o.lastChild?.remove();o.querySelector("#no-edits-error")?.remove()}let s=document.createElement("li");s.id="no-edits-error",s.innerText=this.locStrings.thereAreNoEditsToSubmit,o.appendChild(s),i.hidden=!1,i.focus()}runBasicValidation(n,i=!0,o,s,r){if(!U1(n,this.form))return;let a=O1(n),l=ro(n);for(let c of this.validators){let u=c(n,a);if(!u){r||VG(n);continue}if(o.push({input:n,message:u}),i){if(!n.id)continue;Ho(n,u),l.classList.add("errored");let p=document.createElement("li");p.classList.add("margin-bottom-xs");let m=document.createElement("a");m.href=`#${n.id}`,m.textContent=u,m.classList.add("help","help-danger"),m.addEventListener("click",g=>{if(r){let f=g.target.getAttribute("href");f&&document.querySelector(f).focus()}}),p.appendChild(m),s.appendChild(p),r||(n.type==="checkbox"?n.closest("label.checkbox")?.classList.add("is-invalid"):n.type==="radio"?n.closest("label.radio")?.classList.add("is-invalid"):n.classList.add(`${n.localName}-danger`))}break}}};window.customElements.get("form-behavior")||(window.FormBehaviorElement=Bw,window.customElements.define("form-behavior",Bw));function GG(e,t){let n=e;return n?n instanceof HTMLElement&&"form"in n&&n.form===t&&"validity"in n&&n.validity instanceof ValidityState&&"value"in n&&typeof n.value=="string"&&"type"in n&&typeof n.type=="string"&&!["button","submit"].includes(n.type):!1}function RLe(e){(e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement&&(e.type==="text"||e.type==="email"))&&(e.value=e.value.trim())}function zG(e,t,n){let i=e.submitter;Array.from(t.elements).forEach(o=>{o instanceof HTMLButtonElement&&o.type==="submit"&&(i&&i===o?o.classList.toggle("is-loading",n):o.disabled=n)})}function O1(e){let t=null;if(e.type==="radio"){let i=ro(e).querySelector(".field-label");i?t=i.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 ro(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 Sf(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 MLe(e){let t=document.createElement("p");return t.id=Cp(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("field-error"),t.setAttribute("data-field-error",""),Sf(e).after(t),t}function Ho(e,t){let i=ro(e).querySelector("[data-field-error]")||MLe(e);i.textContent=t}function U1(e,t){return GG(e,t)&&e.type!=="hidden"}function $Le(e,t){switch(t){case null:return!1;case"follow":return e?(location.href=e,!0):!1;case"hash-reload":if(e){let n=e.includes("?")?"":window.location.search;if(e!==n+window.location.hash){let i=history.state||{};window.history.pushState(i,document.title,window.location.pathname+n+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 DLe(e){let t=Object.fromEntries(new FormData(e)),n=[];return Object.keys(t).filter(o=>!e.elements.namedItem(o)).forEach(o=>{let s=e.querySelector(`[name="${o}"]`);s&&n.push(s)}),n}function VG(e){e.type==="checkbox"?e.closest("label.checkbox")?.classList.remove("is-invalid"):e.classList.remove(`${e.localName}-danger`)}function NLe(e){let t=e.submitter;return t instanceof HTMLButtonElement&&t.formAction!==window.location.href?t.formAction:null}var QG=globalThis.HTMLElement||null,Ep="assign"in(globalThis.HTMLSlotElement?.prototype||{})?(e,...t)=>{e.assign(...t)}:(e,...t)=>{let n=e.getRootNode().host;for(let i of n.querySelectorAll(`[slot="${e.name}"]`))i.removeAttribute("slot");for(let i of t)i.setAttribute("slot",e.name)},Sv,wv,Cv,zw=class extends Event{constructor(n,{tabIndex:i,tab:o,panel:s,...r}){super(n,r);Gt(this,Sv,null);Gt(this,wv,null);Gt(this,Cv,null);gt(this,Cv,o||null),gt(this,Sv,i||null),gt(this,wv,s||null)}get tabIndex(){return Te(this,Sv)}get panel(){return Te(this,wv)}get tab(){return Te(this,Cv)}};Sv=new WeakMap,wv=new WeakMap,Cv=new WeakMap;var Ap,Pp,at,wf,KG,Tv,YG,WG,JG,jw,q1,Eu,Ip,Lp,ZG,XG,H1,e8,t8,Cf=class extends QG{constructor(){super(...arguments);Gt(this,at);Gt(this,Ap,null);Gt(this,Pp,null);Gt(this,Ip,!1);Gt(this,Lp)}static define(n="tab-container",i=customElements){return i.define(n,this),this}get onChange(){return this.onTabContainerChange}set onChange(n){this.onTabContainerChange=n}get onTabContainerChange(){return Te(this,Ap)}set onTabContainerChange(n){Te(this,Ap)&&this.removeEventListener("tab-container-change",Te(this,Ap)),gt(this,Ap,typeof n=="object"||typeof n=="function"?n:null),typeof n=="function"&&this.addEventListener("tab-container-change",n)}get onTabContainerChanged(){return Te(this,Pp)}set onTabContainerChanged(n){Te(this,Pp)&&this.removeEventListener("tab-container-changed",Te(this,Pp)),gt(this,Pp,typeof n=="object"||typeof n=="function"?n:null),typeof n=="function"&&this.addEventListener("tab-container-changed",n)}get onChanged(){return this.onTabContainerChanged}set onChanged(n){this.onTabContainerChanged=n}get activeTab(){return Te(this,at,Eu)[this.selectedTabIndex]}get activePanel(){return Te(this,at,q1).assignedNodes()[0]}get vertical(){return Te(this,at,wf)?.getAttribute("aria-orientation")==="vertical"}set vertical(n){let i=Te(this,at,wf);i&&n?i.setAttribute("aria-orientation","vertical"):i.setAttribute("aria-orientation","horizontal")}connectedCallback(){Te(this,Lp)||gt(this,Lp,this.attachInternals?this.attachInternals():null);let n=this.shadowRoot||this.attachShadow({mode:"open",slotAssignment:"manual"}),i=document.createElement("slot");i.style.display="flex",i.setAttribute("part","tablist-wrapper"),i.setAttribute("name","tablist-wrapper");let o=document.createElement("div");o.setAttribute("part","tablist-tab-wrapper"),o.setAttribute("name","tablist-tab-wrapper");let s=document.createElement("slot");s.setAttribute("part","tablist"),s.setAttribute("name","tablist"),o.append(s);let r=document.createElement("slot");r.setAttribute("part","panel"),r.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"),i.append(a,o,l);let c=document.createElement("slot");c.setAttribute("part","after-panels"),c.setAttribute("name","after-panels"),n.replaceChildren(i,r,c),Te(this,Lp)&&"role"in Te(this,Lp)?Te(this,Lp).role="presentation":this.setAttribute("role","presentation"),this.addEventListener("keydown",this),this.addEventListener("click",this),this.selectTab(-1),this.addEventListener("tab-container-change",wp(this,at,e8)),this.addEventListener("click",wp(this,at,t8)),gt(this,Ip,!0)}attributeChangedCallback(n){!this.isConnected||!this.shadowRoot||n==="vertical"&&(this.vertical=this.hasAttribute("vertical"))}handleEvent(n){if(n.type==="click")return wp(this,at,XG).call(this,n);if(n.type==="keydown")return wp(this,at,ZG).call(this,n)}get selectedTabIndex(){return Te(this,at,Eu).findIndex(n=>n.matches("[aria-selected=true]"))}set selectedTabIndex(n){this.selectTab(n)}get defaultTabIndex(){return Number(this.getAttribute("default-tab")||-1)}set defaultTabIndex(n){this.setAttribute("default-tab",String(n))}selectTab(n){if(!Te(this,Ip)){let a=Te(this,at,jw),l=Te(this,at,KG),c=this.querySelector("[role=tablist]"),u=this.querySelector("[slot=tablist-wrapper]");u&&u.closest(this.tagName)===this?Ep(l,u):c&&c.closest(this.tagName)===this?Ep(a,c):(Te(this,at,Tv).role="tablist",Ep(a,...[...this.children].filter(_=>_.matches("[role=tab]"))));let p=Te(this,at,wf);if(wp(this,at,H1).call(this,"aria-description",p),wp(this,at,H1).call(this,"aria-label",p),this.vertical&&Te(this,at,wf).setAttribute("aria-orientation","vertical"),!(this.querySelector("[slot=tablist-wrapper]")?.closest(this.tagName)===this)){let _=[],h=[],k=[],y=_;for(let x of this.children){if(x.getAttribute("role")==="tab"||x.getAttribute("role")==="tablist"){y=h;continue}if(x.getAttribute("role")==="tabpanel"){y=k;continue}x.getAttribute("slot")==="before-tabs"?_.push(x):x.getAttribute("slot")==="after-tabs"?h.push(x):y.push(x)}Ep(Te(this,at,YG),..._),Ep(Te(this,at,WG),...h),Ep(Te(this,at,JG),...k)}let g=this.defaultTabIndex,f=g>=0?g:this.selectedTabIndex;n=n>=0?n:Math.max(0,f)}let i=Te(this,at,Eu),o=Array.from(this.querySelectorAll('[role="tabpanel"]')).filter(a=>a.closest(this.tagName)===this);if(n>i.length-1)throw new RangeError(`Index "${n}" out of bounds`);let s=i[n],r=o[n];if(!(Te(this,Ip)&&!this.dispatchEvent(new zw("tab-container-change",{tabIndex:n,bubbles:!0,cancelable:!0,tab:s,panel:r})))){for(let a of i)a.setAttribute("aria-selected","false"),a.setAttribute("tabindex","-1");for(let a of o)!a.hasAttribute("tabindex")&&!a.hasAttribute("data-tab-container-no-tabstop")&&a.setAttribute("tabindex","0");s.setAttribute("aria-selected","true"),s.setAttribute("tabindex","0"),Ep(Te(this,at,q1),r),r.hidden=!1,Te(this,Ip)&&(s.focus(),this.dispatchEvent(new zw("tab-container-changed",{tabIndex:n,bubbles:!0,tab:s,panel:r})))}}};Ap=new WeakMap,Pp=new WeakMap,at=new WeakSet,wf=function(){let n=this.querySelector("[slot=tablist-wrapper]");if(n?.closest(this.tagName)===this)return n.querySelector("[role=tablist]");let i=Te(this,at,jw);return Te(this,at,Tv).hasAttribute("role")?Te(this,at,Tv):i.assignedNodes()[0]},KG=function(){return this.shadowRoot.querySelector('slot[part="tablist-wrapper"]')},Tv=function(){return this.shadowRoot.querySelector('div[part="tablist-tab-wrapper"]')},YG=function(){return this.shadowRoot.querySelector('slot[part="before-tabs"]')},WG=function(){return this.shadowRoot.querySelector('slot[part="after-tabs"]')},JG=function(){return this.shadowRoot.querySelector('slot[part="after-panels"]')},jw=function(){return this.shadowRoot.querySelector('slot[part="tablist"]')},q1=function(){return this.shadowRoot.querySelector('slot[part="panel"]')},Eu=function(){return Te(this,at,Tv).matches("[role=tablist]")?Te(this,at,jw).assignedNodes():Array.from(Te(this,at,wf)?.querySelectorAll('[role="tab"]')||[]).filter(n=>n instanceof QG&&n.closest(this.tagName)===this)},Ip=new WeakMap,Lp=new WeakMap,ZG=function(n){let i=n.target?.closest?.('[role="tab"]');if(!i)return;let o=Te(this,at,Eu);if(!o.includes(i))return;let s=this.selectedTabIndex,r=i.closest('[role="tablist"]')?.getAttribute("aria-orientation")==="vertical",a=n.code==="ArrowLeft"||r&&n.code==="ArrowUp";if(n.code==="ArrowRight"||r&&n.code==="ArrowDown"){let c=s+1;c>=o.length&&(c=0),this.selectTab(c)}else if(a){let c=s-1;c<0&&(c=o.length-1),this.selectTab(c)}else n.code==="Home"?(this.selectTab(0),n.preventDefault()):n.code==="End"&&(this.selectTab(o.length-1),n.preventDefault())},XG=function(n){let i=n.target?.closest?.("[role=tab]");if(!i)return;let s=Te(this,at,Eu).indexOf(i);s>=0&&this.selectTab(s)},H1=function(n,i){this.hasAttribute(n)&&(i.setAttribute(n,this.getAttribute(n)),this.removeAttribute(n))},e8=function(n){let{tab:i}=n;i&&i.scrollIntoView({behavior:"auto",block:"nearest",inline:"center"})},t8=function(n){let i=n.target instanceof Element&&n.target.closest("[data-tab-container-nav]");if(!i)return;let o=(i.dataset.tabContainerNav==="next"||i.dataset.tabContainerNav==="previous")&&i.dataset.tabContainerNav;if(!o)throw new Error('Supported values of [data-tab-container-nav] are "previous" and "next"');let s=this.selectedTabIndex;if(o==="next"){let r=s+1;r>=Te(this,at,Eu).length&&(r=0),this.selectTab(r)}else{let r=s-1;r<0&&(r=Te(this,at,Eu).length-1),this.selectTab(r)}},Xt(Cf,"observedAttributes",["vertical"]);var n8=typeof globalThis<"u"?globalThis:window;try{n8.TabContainerElement=Cf.define()}catch(e){if(!(n8.DOMException&&e instanceof DOMException&&e.name==="NotSupportedError")&&!(e instanceof ReferenceError))throw e}var Ef=document.documentElement,FLe=()=>{let e=document.querySelector(".layout-body-header"),t=e?.clientHeight||0,n=t?`${t}px`:"0px",i=e?.getBoundingClientRect().y||0,s=`${Math.max(0,i+t)}px`,r=document.querySelector(".layout-body-footer"),a=r?.clientHeight||0,l=a?`${a}px`:"0px",c=r?.getBoundingClientRect().y||0,p=`${c{window.dispatchEvent(new CustomEvent("atlas-layout-change-event"))};function o8(){window.addEventListener("atlas-layout-change-event",()=>{ULe(FLe)}),window.addEventListener("resize",Za,{passive:!0}),Ef.style.setProperty("--window-inner-height",`${window.innerHeight}px`),window.addEventListener("DOMContentLoaded",Za),window.addEventListener("scroll",Za,{passive:!0})}var B1="atlas-layout-exclusions";function OLe(e){return e==="__proto__"||e==="prototype"||e==="constructor"?"default":e}function j1(e={}){let{root:t=document.documentElement,storage:n=window.localStorage,storageKey:i="default",excludesKey:o,excludes:s,deferCallbacksUntil:r=Promise.resolve(),useViewTransitionOnRestore:a=!1}=e,l="layout-",c="atlas-layout-preferences",u="data-layout-restored";function p(N){return OLe(N)}function m(){let N=typeof i=="function"?i():i;return p(N)}function g(){if(o===void 0)return null;let N=typeof o=="function"?o():o;return p(N)}function f(){if(s===void 0)return;let N=g();if(N===null)return;let Z=n.getItem(B1),ue={};if(Z)try{let Le=JSON.parse(Z);Le&&typeof Le=="object"&&(ue=Le)}catch{}let Ie={};for(let Le of s)Ie[Le]=!0;ue[N]=Ie;try{n.setItem(B1,JSON.stringify(ue))}catch(Le){console.error("createLayoutState: failed to write atlas-layout-exclusions; in-memory exclusions still apply",Le)}}function _(){let N=g();if(N===null)return new Set;let Z=n.getItem(B1);if(!Z)return new Set;let ue;try{ue=JSON.parse(Z)}catch{return new Set}let Ie=ue&&Object.prototype.hasOwnProperty.call(ue,N)?ue[N]:null;return!Ie||typeof Ie!="object"?new Set:new Set(Object.keys(Ie))}f();let h=new Set,k=null,y=!1,x=[],P=0,C=[],j=!1;function O(N){y?N():x.push(N)}function pe(){t.setAttribute(u,"true")}function Ee(){y=!0;let N=x.splice(0);try{for(let Z of N)try{Z()}catch(ue){console.error("createLayoutState: a subscriber callback threw during initial flush",ue)}}finally{pe()}}function ce(N,Z,ue={}){if(!N){Z();return}ue.sync?_t(Z):Rt(Z)}function _t(N){let Z=document;if(typeof Z.startViewTransition!="function"){N();return}if(P>0){N();return}zt(Z,N)}function Rt(N){let Z=document;if(typeof Z.startViewTransition!="function"||P>0){N();return}C.push(N),!j&&(j=!0,queueMicrotask(()=>{j=!1;let ue=C.splice(0);if(ue.length!==0){if(P>0){fn(ue);return}zt(Z,()=>{fn(ue)})}}))}function zt(N,Z){let ue;try{ue=N.startViewTransition(Z)}catch(kt){console.error("createLayoutState: startViewTransition threw",kt),Z();return}P++;let Ie=()=>{P=Math.max(0,P-1)},Le=ue?.finished;Le&&typeof Le.then=="function"?Le.then(Ie,Ie):Ie()}function fn(N){for(let Z of N)try{Z()}catch(ue){console.error("createLayoutState: view-transition callback threw",ue)}}function Vt(){let N=n.getItem(c);if(!N)return{};try{return JSON.parse(N)}catch{return{}}}function un(N){n.setItem(c,JSON.stringify(N))}function Jn(){return Vt()[m()]??{}}function Mt(N){return t.classList.contains(N)}function Ne(N,Z){return N.when==="always"?!0:N.when==="added"?Z===!0:Z===!1}function D(N,Z){if(_().has(N))return;let ue=m();for(let Ie of h)if(Ie.className===N&&Ne(Ie,Z)){let{callback:Le,useViewTransition:kt}=Ie;O(()=>{ce(kt,()=>{Le({className:N,isApplied:Z,storageKey:ue})})})}}function Q(N,Z,ue,Ie={}){let Le={className:N,when:Z,callback:ue,useViewTransition:!!Ie.useViewTransition};h.add(Le);let kt=Mt(N);if(Ne(Le,kt)&&!_().has(N)){let Bt=m(),{useViewTransition:Kt}=Le;O(()=>{ce(Kt,()=>{ue({className:N,isApplied:kt,storageKey:Bt})})})}return()=>{h.delete(Le)}}function F(){let N=Jn(),Z=_();for(let ue of Object.keys(N))Z.has(ue)||t.classList.toggle(ue,N[ue])}function ne(N){return N.startsWith(l)}function be(N,Z){let ue=N.filter(ne),Ie=Z.filter(ne),Le=ue.filter(Bt=>!Ie.includes(Bt)),kt=Ie.filter(Bt=>!ue.includes(Bt));return{added:Le,removed:kt}}function L(N,Z){if(N.length+Z.length===0)return;let ue=_(),Ie=m(),Le=Vt(),kt=Le[Ie]??{},Bt=!1;for(let Kt of N)ue.has(Kt)||(kt[Kt]=!0,Bt=!0);for(let Kt of Z)ue.has(Kt)||(kt[Kt]=!1,Bt=!0);Bt&&(Le[Ie]=kt,un(Le))}function K(){k?.disconnect(),k=null}try{ce(a,F,{sync:!0}),k=new MutationObserver(N=>{for(let Z of N){let ue=(Z.oldValue??"").split(/\s+/),Ie=Array.from(Z.target.classList),{added:Le,removed:kt}=be(Ie,ue);L(Le,kt);for(let Bt of Le)D(Bt,!0);for(let Bt of kt)D(Bt,!1)}}),k.observe(t,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}),r.then(Ee,N=>{console.error("createLayoutState: deferCallbacksUntil rejected; flushing pending callbacks anyway",N),Ee()})}catch(N){throw console.error("createLayoutState: setup failed; marking layout as restored anyway",N),pe(),N}return{subscribe:Q,getViewState:Jn,getState:Vt,stop:K}}var s8="Prisijung\u0117te naudodami su organizacija susiet\u0105 paskyr\u0105 ({email}). Tapdami nariu suprantate ir patvirtinate, kad j\u016Bs\u0173 \u201E\u201EMicrosoft\u201C Learn\u201C naryst\u0117 rei\u0161kia, jog m\u016Bs\u0173 svetaini\u0173 ir program\u0173 tinklas registruos bei steb\u0117s j\u016Bs\u0173 pasiekimus ir veiklas, o mes gal\u0117sime bendrinti j\u016Bs\u0173 rezultatus bei veikl\u0105 su j\u016Bs\u0173 organizacija. Be to, bus vie\u0161ai matomi j\u016Bs\u0173 vartotojo vardas, rodomas vardas, profilio nuotrauka, priskyrimas, pasiekimai ir veikla. Pasiekimus ir veiklas galite pasl\u0117pti srityje Parametrai.

Suk\u016Brus profil\u012F rekomenduojame susieti asmenin\u0119 paskyr\u0105, kad gal\u0117tum\u0117te pasiekti mokymosi pa\u017Eang\u0105, neatsi\u017Evelgiant \u012F savo \u012Fdarbinimo b\u016Bsen\u0105. Galite susieti papildomas paskyras profilio parametr\u0173 dalyje Paskyros valdymas.";var z1="Priimti";var uc="\u012Etraukti",r8="\u012Etraukti skyri\u0173",a8="\u012Etraukti URL",Vw="\u012Etraukta";var Ev="Papildoma informacija";var Gw="\u012Etraukti turin\u012F";var l8='Klaida gaunant "\u201EGitHub\u201C turinio saugykl\u0105 ir keli\u0105';var c8="J\u016Bs\u0173 \u201EGitHub\u201C atpa\u017Einimo \u017Eenklo galiojimo laikas baig\u0117si. Turite atnaujinti \u201EGitHub\u201C atpa\u017Einimo \u017Eenklo teises spustel\u0117dami toliau esant\u012F mygtuk\u0105.";var u8='Norite paprastesni\u0173 rai\u0161kiojo teksto redagavimo funkcij\u0173? Su\u017Einokite apie \u201E\u201EMicrosoft\u201C Learn Editor\u201C!';var d8="Si\u016Blyti {name} redagavimus",p8='D\u0117kojame, kad domit\u0117s prisid\u0117jimu prie \u201E\u201EMicrosoft\u201C Learn\u201C. Spustel\u0117kite Redaguoti, kad atidarytum\u0117te \u0161\u012F straipsn\u012F {name}. Daugiau informacijos \u017Er. prisid\u0117ti.';var m8="I\u0161 naujo \u012Fgaliokite \u201EGitHub\u201C atpa\u017Einimo \u017Eenkl\u0105 su naujausiomis teis\u0117mis";var g8="Prad\u0117ti nuo prad\u017Ei\u0173";var f8="MVP",h8="\u201E\u201EMicrosoft\u201C\u201C darbuotojas",b8="\u201E\u201EMicrosoft\u201C\u201C i\u0161orinis personalas";var _8="\u201E\u201EMicrosoft\u201C\u201C sta\u017Euotojas";var y8="\u201E\u201EMicrosoft\u201C\u201C regiono direktorius",v8="Studentas ambasadorius",Af="Pagal ab\u0117c\u0117l\u0119 (A\u2013Z)",Pf="Pagal ab\u0117c\u0117l\u0119 (Z\u2013A)",V1="Analiz\u0117";var G1="{AppliedSkills}",Q1="{AppliedSkills} baigta";var k8="papra\u0161\u0117 {time}";var K1="Gair\u0117s";var x8="prie\u0161 dien\u0105";var T8="\u012Etraukti parametr\u0105",S8="Pa\u017Eeng\u0119s";var oa="Visi",Qw="Visos API",w8="Visi filtrai";var Kw="Visi paketai";var C8="Jau turite paskyr\u0105? Prisijungti";var E8="prie\u0161 minut\u0119",A8="prie\u0161 m\u0117nes\u012F";var P8="prie\u0161 valand\u0105",Bo="Anoniminis";var I8="1 atsakymas",L8="{count} atsak.";var Y1="Vien\u0105 i\u0161 atsakym\u0173 pri\u0117m\u0117 klausimo autorius.";var Yw="API";var R8="API raktas",Ww="{platformName} API nuoroda",W1="API ie\u0161ka negalima. Bandykite dar kart\u0105 v\u0117liau.";var M8="{appliedSkillTitle} \u2013 {AppliedSkills} \u012Fvertinimas",$8="Atnaujinkite, kad t\u0119stum\u0117te. J\u016Bs\u0173 laboratorija t\u0119s darb\u0105 nuo ten, kur baig\u0117te.";var D8="\u0160is vertinimas yra labai populiarus ir vietos jau n\u0117ra, ta\u010Diau stengiam\u0117s priimti daugiau besimokan\u010Di\u0173j\u0173. Gr\u012F\u017Ekite po 10 minu\u010Di\u0173 ir bandykite dar kart\u0105.",Jw="\u201E\u201EMicrosoft\u201C\u201C kredencialai",N8="Laikas baig\u0117si.",F8="J\u016Bs i\u0161naudojote skirt\u0105 laik\u0105.",U8="Dabar j\u016Bs\u0173 vertinimas bus \u012Fvertintas.",O8="Per\u017Ei\u016Br\u0117ti mano rezultatus",q8="Susid\u016Br\u0117me su problema ir aktyviai j\u0105 tiriame. Bandykite atlikti kit\u0105 vertinim\u0105.",H8="\u012Evyko klaida. Suaktyvinkite i\u0161 naujo po 10 minu\u010Di\u0173.",B8="J\u016Bs\u0173 paskyra buvo pa\u017Eym\u0117ta v\u0117liav\u0117le d\u0117l ne\u012Fprastos veiklos. Tod\u0117l prieiga prie \u201E\u201EMicrosoft\u201C\u201C {AppliedSkills} buvo sustabdyta. Naudokite mygtuk\u0105 Atgal, kad gr\u012F\u017Etum\u0117te \u012F i\u0161samios kredencial\u0173 informacijos puslap\u012F.";var j8="Per\u017Ei\u016Br\u0117ti mano kredencialus";var z8="\u012Era\u0161ykite savo rinkin\u012F ir gr\u012F\u017Ekite prie jo v\u0117liau. Jis gali nustoti galioti, jei bus vertinimas atnaujinamas.",Zw="Eiti \u012F i\u0161samios informacijos puslap\u012F",J1="Ankstesnius bandymus galite per\u017Ei\u016Br\u0117ti kredencial\u0173 informacijos puslapyje";var V8="Atnaujinti puslap\u012F",G8="J\u016Bs atitiksite reikalavimus i\u0161 naujo atlikti vertinim\u0105 u\u017E:",Q8="\u012Era\u0161ykite savo rinkin\u012F",K8="Efektyvumas pagal u\u017Eduot\u012F",Y8="Dar skai\u010Diuojami rezultatai",W8="Tinkintas rinkinys efektyvumui pagerinti",J8="{AppliedSkills} med\u017Eiaga \u2013 {date}",Z8='J\u016Bs\u0173 rezultatai vis dar apdorojami. Jei rezultato nepamatysite per {duration} sek., atnaujinkite.',X8="Atsi\u017Evelgdami \u012F j\u016Bs\u0173 rezultatus surinkome sri\u010Di\u0173, kuriose gal\u0117tum\u0117te prapl\u0117sti \u017Einias, med\u017Eiag\u0105. Mokymo med\u017Eiaga apima:",e9="Gauti {AppliedSkills} kredencialai",t9="Deja, ka\u017Ekas nepavyko. Bandykite dar kart\u0105 v\u0117liau";var Z1="J\u016Bs\u0173 vertinimo rezultatai",Xw="J\u016Bs\u0173 vertinimo rezultatai u\u017E",n9="Su\u017Einokite, kaip \u012Fvertinamas \u0161is vertinimas",i9='\u0160iuo metu atliekamas \u0161io vertinimo palaikymas. Tuo tarpu susipa\u017Einkite su kitais \u201EMicrosoft\u201C kredencialais.',o9='J\u016Bs\u0173 paskyra arba ry\u0161ys buvo pa\u017Eym\u0117tas v\u0117liav\u0117le d\u0117l ne\u012Fprastos veiklos. D\u0117l \u0161ios prie\u017Easties sustabd\u0117me j\u016Bs\u0173 prieig\u0105 prie \u201E\u201EMicrosoft\u201C\u201C {AppliedSkills}. Su\u017Einokite daugiau.',s9="J\u016Bs\u0173 apeliacija per\u017Ei\u016Brima";var r9="(Nebenaudojama)",a9="{version} ir kitos versijos",l9="{version1} ir {version2}",c9="Taikyti",eC="Architekt\u016Bra",u9="Id\u0117ja d\u0117l sprendimo",If="Ankstesn\u0117s versijos",Xa="Ar tikrai?",d9="Duomen\u0173 panaikinimo veiksmo anuliuoti negalima.";var p9="Straipsnis";var m9="prie\u0161 sekund\u0119";var g9="Klausti bendruomen\u0117s";var tC="Vertinimai";var f9="B\u016Btina autorizuoti";var h9="prie\u0161 savait\u0119";var b9="\u201EAzure\u201C dokumentacija";var _9="-- Pasirinkti reik\u0161m\u0119 --",dc="Atgal";var y9="Gr\u012F\u017Eti \u012F atsiliepim\u0105";var v9="Pradedantysis";var Lf="Pagrindin\u0117 dalis";var k9="Pa\u0161alinti {title} \u017Eymel\u0119",x9="Prid\u0117ti {title} \u017Eymel\u0119";var T9="Ka\u017Ekas nutiko su \u0161aka \u201E{branchFallbackFrom}\u201C. Vietoj jos, jus nukreip\u0117me \u012F \u0161ak\u0105 \u201E{branch}\u201C.",S9="Filialo parinkiklis",nC="Nar\u0161ymas";var iC="Visas nar\u0161ymas";var w9="Nar\u0161yti egzaminus";var Au="Nar\u0161yti sertifikatus",pc="Nar\u0161yti kredencialus";var C9="Kategorija",E9="Kategorijos",A9="D\u0117mesio";var Fe="At\u0161aukti",oC="Titrai i\u0161jungti";var mc="Sertifikatas";var P9="Perk\u0117limas \u012F \u201EPearson Vue\u201C";var I9="\u012Eveskite savo adres\u0105, kad \u201EPearson Vue\u201C, egzamino pristatymo teik\u0117jas, gal\u0117t\u0173 patvirtinti j\u016Bs\u0173 tapatyb\u0119.",L9="\u012Eveskite savo telefono numer\u012F ir kontaktin\u012F el. pa\u0161to adres\u0105, kad \u201EPearson Vue\u201C, egzamino pristatymo paslaug\u0173 teik\u0117jas, gal\u0117t\u0173 su jumis susisiekti, jei laikydami egzamin\u0105 susiduriate su problemomis.",R9="Visos nuolaidos bus taikomos \u201EPearson Vue\u201C mok\u0117jimo metu.",M9="Jei turite kupono kod\u0105, mok\u0117jimo metu \u201EPearson Vue\u201C \u012Fveskite kod\u0105.",$9="Pereikite \u012F \u201EPearson Vue\u201C portal\u0105, kad gal\u0117tum\u0117te t\u0119sti egzamino registracij\u0105.",D9='\u201E\u201EMicrosoft\u201C\u201C nesaugos j\u016Bs\u0173 pateiktos adreso ir telefono numerio informacijos. Dabar perkelsime jus \u012F \u201EPearson Vue\u201C, kad u\u017Ebaigtume egzamino registracij\u0105. \u201E\u201EMicrosoft\u201C\u201C privatumo patvirtinimas',N9="1 adresas",F9="2 adresas",U9="Miestas",O9="Rajonas",q9="Pa\u0161to indeksas",H9="\u0160alies / regiono kodas",X1="\u012Eveskite adres\u0105",B9="\u012Eveskite miest\u0105";var j9="\u012Eveskite pa\u0161to kod\u0105",z9="\u012Eveskite telefono numer\u012F",V9="\u012Eveskite kontaktin\u012F el. pa\u0161to adres\u0105";var G9="Rinkinio pavadinimas";var Av="Nei\u0161laikyta";var sC="Hm, \u012Fvyko klaida.",Pv="I\u0161laikyta";var Q9="Vertinimo med\u017Eiaga \u2013 {date}";var K9="\u012Era\u0161ykite savo rinkin\u012F";var Y9="Atnaujinimo med\u017Eiaga \u2013 {date}";var W9="Tai laikinas per\u017Ei\u016Bros puslapis, kurio galiojimas baigsis {temporaryPreviewExpiresAt}. Pasibaigus jo galiojimui, jums reik\u0117s pakartotinai j\u012F sugeneruoti i\u0161 \u201EItem Workshop\u201C, kad gal\u0117tum\u0117te dar kart\u0105 per\u017Ei\u016Br\u0117ti.",J9="Vertinim\u0173 platformos API",Z9="Patikrinkite savo atsakym\u0105",X9="{certificationName} atnaujinimo vertinimas",e7="Sveikiname, j\u016Bs i\u0161laik\u0117te!",el="\u201E\u201EMicrosoft\u201C\u201C sertifikavimas",t7="J\u016Bs\u0173 {certificationName} yra atnaujintas ir prat\u0119stas dar vieneriems metams.",n7="Per\u017Ei\u016Br\u0117kite savo rezultatus",i7="{current} klausimas i\u0161 {total}",o7="{current} i\u0161 {total}",s7="Pasirinkite tik vien\u0105 atsakym\u0105.",r7="Laikas baig\u0117si.",a7="J\u016Bs i\u0161naudojote skirt\u0105 laik\u0105. Dabar j\u016Bs\u0173 vertinimas bus \u012Fvertintas.",l7="Per\u017Ei\u016Br\u0117ti mano rezultatus",c7="Pasirinkite visus tinkamus atsakymus.",u7="Pirmyn",d7="Kompiliuojame j\u016Bs\u0173 vertinim\u0105...",p7="Susid\u016Br\u0117me su netik\u0117ta klaida. Bandykite dar kart\u0105 v\u0117liau. Jei problema kartojasi, kreipkit\u0117s \u012F sertifikavimo palaikymo tarnyb\u0105.",m7="Gerai, supratau",g7="Bandykite i\u0161 naujo pateikti atnaujinimo vertinim\u0105. Jei problema kartojasi, galite kreiptis \u012F sertifikavimo palaikymo tarnyb\u0105.",f7="Kreiptis \u012F sertifikavimo palaikymo tarnyb\u0105",h7="J\u016Bs\u0173 vertinimas jau buvo \u012Fvertintas",b7="Atrodo, kad jau pateik\u0117te \u0161\u012F vertinim\u0105. Savo vertinimo rezultatus galite per\u017Ei\u016Br\u0117ti sertifikato atnaujinimo informacijos puslapyje. Jei manote, kad taip netur\u0117t\u0173 b\u016Bti ir pageidaujate pagalbos, kreipkit\u0117s \u012F sertifikavimo palaikymo tarnyb\u0105.",rC="Eiti \u012F atnaujinimo informacij\u0105",_7="Liko laiko",Rp="\u0160is atsakymas neteisingas.",Mp="\u0160is atsakymas teisingas.",y7="Rodyti visus klausimus",v7="Vertinimo data:",k7="J\u016Bs\u0173 sertifikatas yra atnaujintas vieneriems metams. Atkreipkite d\u0117mes\u012F, kad gali u\u017Etrukti kelias minutes, kol j\u016Bs\u0173 sertifikavimo galiojimo laikas bus atnaujintas.",x7="Atsipra\u0161ome, \u0161i pritaikyta mokymosi med\u017Eiaga yra netinkama dabartiniam vertinimui. Apsilankykite vertinimo informacijos puslapyje ir gaukite naujausi\u0105 pasiruo\u0161imo med\u017Eiag\u0105.";var aC="Pritaikyta mokymo med\u017Eiaga, skirta patobulinti j\u016Bs\u0173 \u012Fg\u016Bd\u017Eius";var lC="Nes surinkote ma\u017Eiau bal\u0173 \u201E{section}\u201C:",eN="J\u016Bs\u0173 {certificationName} atnaujinimo vertinimo rezultatai";var T7="J\u016Bs\u0173 atnaujinimo vertinimo rezultatai";var S7="Su\u017Einokite daugiau apie \u0161io sertifikato atnaujinim\u0105",w7="Norint i\u0161laikyti, reikia surinkti {percent}%",cC="Efektyvumas pagal vertinimo sekcij\u0105",C7="Pasireng\u0119 i\u0161 naujo atlikti vertinim\u0105?";var E7="J\u016Bs atitinkate reikalavimus i\u0161 naujo atlikti vertinim\u0105. Galime atlikti vertinim\u0105 kiek norite kart\u0173 iki {date}. Po antrojo bandymo tur\u0117site palaukti 24 valandas iki galimyb\u0117s bandyti dar kart\u0105.",tN="Per\u017Ei\u016Br\u0117kite savo sertifikatus",A7="Galite ie\u0161koti ankstesni\u0173 vertinimo bandym\u0173 savo profilyje arba apsilankykite sertifikato ap\u017Evalgoje",P7="J\u016Bs\u0173 bendri rezultatai:";var I7="Sertifikato ap\u017Evalga";var tl="Sertifikatai";var L7="Sertifikavimo tipai",R7="Sertifikavimo tipai",sa="I\u0161\u0161\u016Bkis";var M7="Aktyvus nuo {start} iki {end}";var $7="Keisti rinkin\u012F";var D7="Rasti produkt\u0105";var N7="Dar neturite joki\u0173 i\u0161\u0161\u016Bki\u0173";var nN="Pabaigos data negali b\u016Bti prie\u0161 prad\u017Eios dat\u0105. I\u0161 naujo pasirinkite pabaigos dat\u0105.",F7="Pabaigos laikas negali b\u016Bti prie\u0161 prad\u017Eios laik\u0105. I\u0161 naujo pasirinkite pabaigos laik\u0105.",U7="Prad\u017Eios laikas negali b\u016Bti prie\u0161 dabartin\u012F laik\u0105. I\u0161 naujo pasirinkite prad\u017Eios laik\u0105.";var uC="Rasti, ko dar b\u016Bt\u0173 galima mokytis";var dC="{score}%",O7="Per\u017Ei\u016Br\u0117ti i\u0161\u0161\u016Bk\u012F";var Rf="I\u0161\u0161\u016Bkiai";var iN="\u012Etraukti \u012F i\u0161\u0161\u016Bkius",pC="\u012Etraukta \u012F i\u0161\u0161\u016Bkius";var q7="Valdyti {title} i\u0161\u0161\u016Bkiuose",H7="\u012Etraukti {title} \u012F i\u0161\u0161\u016Bk\u012F";var oN="\u0160iame skyriuje element\u0173 n\u0117ra.";var mC="Prad\u017Eios data",gC="Prad\u017Eios laikas",fC="Pabaigos data",hC="Pabaigos laikas";var B7="Deja, \u0161is i\u0161\u0161\u016Bkis yra privatus.",j7="\u0160is i\u0161\u0161\u016Bkis kitiems vartotojams nematomas.",z7="Savo i\u0161\u0161\u016Bkius galite per\u017Ei\u016Br\u0117ti savo vartotojo profilyje.",V7="Per\u017Ei\u016Br\u0117kite savo i\u0161\u0161\u016Bkius",G7="Eiti \u012F lyderi\u0173 lent\u0105";var Iv="Kopijuoti i\u0161\u0161\u016Bk\u012F",Q7="J\u016Bs ruo\u0161iat\u0117s kopijuoti \u0161\u012F i\u0161\u0161\u016Bk\u012F. Naujas i\u0161\u0161\u016Bkis tur\u0117s t\u0105 pa\u010Di\u0105 informacij\u0105 ir turin\u012F. Suk\u016Br\u0119 gal\u0117site j\u012F redaguoti i\u0161samios informacijos puslapyje.",K7="Naikinti i\u0161\u0161\u016Bk\u012F",Y7="Prad\u017Eios data turi b\u016Bti ateityje.",W7="Pabaigos data turi b\u016Bti po prad\u017Eios datos arba dabartin\u0117s datos.",J7="Pasirinkite galiojant\u012F pagrindin\u012F dalyk\u0105.",Z7="\u012Eveskite tinkam\u0105 paskirties vietos pavadinim\u0105.",X7="\u012Eveskite galiojant\u012F ID, susiet\u0105 su pasirinkta \u0161io i\u0161\u0161\u016Bkio auditorija.",eQ="\u012Eveskite tinkam\u0105 \u0161io i\u0161\u0161\u016Bkio tiksl\u0105.",tQ="Jums neleid\u017Eiama atlikti \u0161io veiksmo.";var Lv="Lyderiai";var nQ='\u012Etraukta \u012F {collectionName}',iQ='\u012Etraukta \u012F I\u0161\u0161\u016Bkiai',oQ="Nor\u0117dami \u012Ftraukti tai \u012F savo i\u0161\u0161\u016Bk\u012F, prisijunkite.",sQ='Pa\u0161alinta i\u0161 {collectionName}',rQ='Pa\u0161alinta i\u0161 I\u0161\u0161\u016Bkiai';var aQ="Aptiktas pa\u017Eeidimas",lQ='\u0160io i\u0161\u0161\u016Bkio pavadinimas arba apra\u0161as arba \u0161io i\u0161\u0161\u016Bkio rinkinio skyriaus pavadinimas arba apra\u0161as buvo panaikinti d\u0117l m\u016Bs\u0173 naudojimo s\u0105lyg\u0173 pa\u017Eeidimo. Apie juos buvo prane\u0161ta rankiniu b\u016Bdu arba jie buvo nustatyti naudojant automatin\u012F aptikim\u0105 prie\u0161 imantis veiksm\u0173. Daugiau informacijos \u017Er. m\u016Bs\u0173 naudojimo s\u0105lygose.',sN='Jei \u0161io i\u0161\u0161\u016Bkio pavadinimas arba apra\u0161as panaikintas, eikite \u012F jo i\u0161samios informacijos puslap\u012F ir atnaujinkite.';var cQ="Jei \u0161io i\u0161\u0161\u016Bkio rinkinio skyriaus pavadinimas arba apra\u0161as panaikintas, per\u017Ei\u016Br\u0117kite ir atnaujinkite \u017Eemiau.",uQ="Toliau matysite \u0161\u012F \u012Fsp\u0117jim\u0105, kol nebus atliktas naujinimas.";var dQ="Klauskite \u201ELearn\u201C",pQ="Apib\u016Bdinkite, k\u0105 nor\u0117tum\u0117te daryti",mQ="Pokalbis buvo nustatytas i\u0161 naujo",gQ="Conversation loaded",fQ="Gr\u012F\u017Eti \u012F pokalb\u012F",bC="Nustojau generuoti atsakym\u0105. Norite i\u0161bandyti k\u0105 nors kita? I\u0161bandykite m\u016Bs\u0173 raginimo vadov\u0105 pasirinkdami mygtuk\u0105 \u201ERodyti raginimus\u201C.",hQ="Pokalbis",Mf="Pokalbio istorija",bQ="Confirm",rN="Confirm delete",_Q='You requested to delete "{name}". This is an irreversible action. Are you sure you want to delete this?',yQ="No chats to display",aN="Rename",vQ="Rename conversation",lN="Search all chats",kQ="Clear search",xQ="Dirbtinio intelekto sugeneruotas turinys gali b\u016Bti neteisingas",TQ="Tikslus / susij\u0119s turinys",SQ="I\u0161samus / ai\u0161kus turinys",wQ="Greitas atsakymas",CQ="Netikslus / nesusij\u0119s turinys",EQ="Nei\u0161samus / neai\u0161kus turinys",AQ="\u012E\u017Eeid\u017Eiantis / netinkamas turinys",PQ="L\u0117tas atsakymas",cN="Ka\u017Ekas kito",IQ="D\u0117kojame u\u017E atsiliepim\u0105.",uN="Deja, negaliu apie tai kalb\u0117tis. \u012Eveskite kit\u0105 tem\u0105 arba i\u0161bandykite raginimo vadov\u0105 pasirinkdami toliau esant\u012F mygtuk\u0105 \u201ERodyti raginimus\u201C.",dN="Ne dabar",pN="Susipa\u017Einkite su m\u016Bs\u0173 dirbtinio intelekto pagalbine priemone \u201EAsk Learn\u201C",Rv="Funkcija \u201EAsk Learn\u201C yra DI asistentas, kuris gali atsakyti \u012F klausimus, paai\u0161kinti s\u0105vokas ir apibr\u0117\u017Eti terminus naudodamas patikim\u0105 \u201E\u201EMicrosoft\u201C\u201C dokumentacij\u0105.",mN="Tikrinkite tikslum\u0105",gN="\u201EAsk Learn\u201C yra per\u017Ei\u016Bros versijos. Patikrinkite atsakymus, nes DI sugeneruotas turinys gali b\u016Bti netikslus. Naudokite atsiliepim\u0173 mygtukus, kad pad\u0117tum\u0117te mums tobulinti funkcijas.",fN='Nor\u0117dami su\u017Einoti daugiau apie naudojimo atvejus ir apribojimus, skaitykite pastabas apie \u201EAsk Learn\u201C skaidrum\u0105.',hN="I\u0161bandykite \u201EAsk Learn\u201C",LQ="Acknowledgement",_C="To provide more relevant and personalized responses, Ask Learn stores your chat transcripts.",RQ="Let Ask Learn use your past chats to personalize responses.",MQ="Please check the box to acknowledge the guidelines before continuing.",$Q="To use Ask Learn, you are required to acknowledge previous chat utilization. You can read more in the Ask Learn transparency notes.",DQ="Review acknowledgements",$f="Prisijunkite, kad gal\u0117tum\u0117te naudoti \u201EAsk Learn\u201C.",NQ="Atsipra\u0161au, pasiekiau did\u017Eiausi\u0105 atsakym\u0173 skai\u010Di\u0173, kur\u012F galiu pateikti pokalbio metu. Pasirinkite \u201ENaujas pokalbis\u201C, kad prad\u0117tum\u0117te nauj\u0105 pokalb\u012F.",yC="Daugiau parink\u010Di\u0173",FQ="Daugiausia {max} simboli\u0173",Df="Naujas pokalbis",UQ="Naujas prane\u0161imas i\u0161 Klauskite \u201ELearn\u201C",Nf="Per\u017Ei\u016Bra",OQ="Per\u017Ei\u016Br\u0117ti, kas bus bendrinama",qQ="Raginim\u0173 vadovas",bN="Pateikite kuo daugiau informacijos, bet ne\u012Ftraukite jokios asmenin\u0117s ar slaptos informacijos";var HQ="Pakartotinai generuoti";var BQ="Si\u0173sti",jQ="Stabdyti generavim\u0105",zQ="Papasakokite daugiau",vC="\u0160iuo metu sulaukiu daug u\u017Eklaus\u0173. Bandykite dar kart\u0105 po keli\u0173 minu\u010Di\u0173.",VQ="\u0160is prane\u0161imas naudingas",GQ="\u0160is prane\u0161imas nenaudingas",Mv="Deja, negaliu pad\u0117ti. I\u0161bandykite raginim\u0173 vadov\u0105 pasirinkdami mygtuk\u0105 \u201ERodyti raginimus\u201C.",Gi="Atsipra\u0161ome, ka\u017Ekas negerai. Bandykite dar kart\u0105 arba bendrinkite savo atsiliepim\u0105.",QQ="Kai kurie prane\u0161imo simboliai nepalaikomi. Ar galite bandyti dar kart\u0105 naudodami skirtingus simbolius?",KQ="Nor\u0117dami t\u0119sti, \u012Fveskite prane\u0161im\u0105",kC="Prane\u0161im\u0105 turi sudaryti bent 10 simboli\u0173",_N="Vir\u0161ytas simboli\u0173 limitas",yN="Per\u017Ei\u016Br\u0117ti raginimus",xC="Dirbama...",YQ="Atsakym\u0173: {count} i\u0161 {total}";var WQ="Pastabas ir naujinim\u0173 kontrolinio s\u0105ra\u0161o elementus gali per\u017Ei\u016Br\u0117ti tik vertinimo savininkas";var JQ="Citavimo";var Ff="Valyti visk\u0105",ZQ="Valyti filtr\u0105",XQ="I\u0161valyti form\u0105",eK="Valyti klausimo autori\u0173";var tK="Valyti termin\u0105",nK="Spustel\u0117kite nor\u0117dami gauti RSS informacijos santrauk\u0105",he="U\u017Edaryti";var iK="U\u017Edaryti ie\u0161k\u0105",oK='\u201ECloud Shell\u201C paleisti nepavyksta. \u017Dr. trik\u010Di\u0173 diagnostikos vadov\u0105.';var sK="Kodo pavyzdys",vN="Kodo pavyzd\u017Eiai";var TC="Sutraukti",rK="Sutraukti lentel\u0119",gr="Rinkinys",aK="Oficialus rinkinys";var lK="\u0160io rinkinio kopija \u012Fra\u0161yta \u012F j\u016Bs\u0173 profil\u012F",cK="Dienos, per kurias bus baigtas etapas, turi b\u016Bti skai\u010Dius.",kN="Apra\u0161as (pasirinktinai)";var uK="Redaguoti skyri\u0173",dK="Maksimalus ilgis 550 simboli\u0173.",pK="Skyriaus pavadinimas negali sutapti su kitu rinkinio pavadinimu.",xN="Naujas skyrius",mK="\u012Era\u0161yti skyri\u0173",TN="{number} skyrius";var gK="Maksimalus ilgis 100 simboli\u0173.",fK="Skyriaus pavadinimas arba apra\u0161as nebuvo patvirtintas \u201E\u201EMicrosoft\u201C\u201C tikrinimo tarnybos.",hK="Mums nepavyko \u012Fra\u0161yti j\u016Bs\u0173 skyriaus. Bandykite dar kart\u0105.",bK="\u012Etraukti URL",_K="Puslapio pavadinimas",yK="\u012Eveskite pavadinim\u0105.",vK="Pavadinimas turi b\u016Bti sudarytas i\u0161 2\u2013100 simboli\u0173.",kK="Nepavyko \u012Fra\u0161yti j\u016Bs\u0173 URL. Bandykite dar kart\u0105.",xK="URL negalima \u012Ftraukti \u012F \u0161\u012F rinkin\u012F.",TK="URL turi prasid\u0117ti http:// arba https://. AKA nuorodos yra leid\u017Eiamos.",SK="URL formatas netinkamas.";var wK="\u012Etraukti \u012F rinkin\u012F",SN="\u012Etraukta \u012F rinkin\u012F",wN="\u012Etraukti \u012F Rinkinius",SC="\u012Etraukti \u012F rinkin\u012F",CK='\u012Etraukti \u201E{pageName}\u201C \u012F:',wC="Rinkinys nerastas",EK="Oi! Atrodo, kad \u0161io rinkinio n\u0117ra arba jo negalima rasti d\u0117l vienos i\u0161 \u0161i\u0173 prie\u017Eas\u010Di\u0173:",AK="Gali b\u016Bti, kad savininkas pakeit\u0117 rinkinio URL, tod\u0117l jis gali b\u016Bti nerastas, jei vartotojai prie jo prisijungia naudodami sen\u0105j\u012F URL.",PK="Gali b\u016Bti, kad rinkinio savininkas visi\u0161kai j\u012F panaikino, tod\u0117l jis tapo nepasiekiamas.";var IK='Jei rinkinys arba jo turinys pa\u017Eeid\u0117 \u201E\u201EMicrosoft\u201C Learn\u201C naudojimo s\u0105lygas.',LK="\u0160tai keli naudingi saitai:",RK="\u201E\u201EMicrosoft\u201C Learn\u201C pagrindinis puslapis: \u012Fgykite \u012Fg\u016Bd\u017Ei\u0173, kurie atvers karjeros duris",MK="Ie\u0161ka | \u201E\u201EMicrosoft\u201C Learn\u201C",$K="\u201E\u201EMicrosoft\u201C Learn\u201C i\u0161tekliai | \u201E\u201EMicrosoft\u201C Learn\u201C",DK="\u201E\u201EMicrosoft\u201C Learn\u201C rinkinio k\u016Brimas",NK='Rinkiniai atnaujinti',CN="\u201E\u201EMicrosoft\u201C\u201C darbuotojai atitinka reikalavimus \u017Eym\u0117ti rinkin\u012F \u017Eyma \u201ESukurta \u201E\u201EMicrosoft\u201C\u201C.",CC="Daugiau informacijos",$p="Konvertuoti \u012F oficial\u0173 rinkin\u012F",EC="Oficialus rinkinys atstovauja \u201E\u201EMicrosoft\u201C\u201C, tod\u0117l \u012Fsitikinkite, kad j\u016Bs\u0173 rinkinys yra baigtas, be tipografini\u0173 klaid\u0173 ir kad turinys pateikiamas teisinga seka. Jei taip n\u0117ra, pagal poreik\u012F redaguokite savo rinkin\u012F. Kai rinkinys tampa oficialus, veiksmo at\u0161aukti nebegalima.";var FK="Rinkinys nepasiekiamas",UK="Ar esate pasireng\u0119 konvertuoti \u0161\u012F rinkin\u012F \u012F oficial\u0173 rinkin\u012F?";var AC="Jau yra rinkinys su pavadinimu \u201E{title}\u201C. Rinkinio pavadinimas turi b\u016Bti unikalus.",Pu="B\u016Btina nurodyti iki 100 simboli\u0173 ilgio pavadinim\u0105.",$v="Apra\u0161ymas yra pasirinktinis ir gali b\u016Bti iki 550 simboli\u0173 ilgio.",PC="Neleistinas turinys. Pa\u0161alinkite visus telefono numerius, el. pa\u0161to adresus arba URL.";var OK="Jei nustatyta privatus, \u0161\u012F rinkin\u012F galite per\u017Ei\u016Br\u0117ti tik j\u016Bs. Ne priva\u010Di\u0105 kolekcij\u0105 gali per\u017Ei\u016Br\u0117ti bet kas.",IC="Nustatyti kaip privat\u0173",qK="{userDisplayName} rinkinys {index}",EN="Suk\u016Br\u0117 {name}",HK="Suk\u016Br\u0117 \u201E\u201EMicrosoft\u201C Learn\u201C vartotojas";var BK="Naikinti rinkin\u012F",jK="Rodyti mano vard\u0105";var LC="Redaguoti mano rinkin\u012F",AN="\u012Ftraukti apra\u0161\u0105",Dv="Redaguoti apra\u0161\u0105",Nv="Redaguoti pavadinim\u0105",zK="Redaguoti mokymosi rezultatus",VK="\u0160io rinkinio apra\u0161as",GK="Reikia bent vieno rezultato.",QK="\u0160io rinkinio pavadinimas",KK="Mums nepavyko \u012Fra\u0161yti j\u016Bs\u0173 pavadinimo. Bandykite dar kart\u0105.",YK="Mums nepavyko \u012Fra\u0161yti j\u016Bs\u0173 apra\u0161o. Bandykite dar kart\u0105.",WK="Mums nepavyko i\u0161saugoti j\u016Bs\u0173 mokymosi rezultat\u0173. Bandykite dar kart\u0105.",RC="Parankiniai",JK="Jei \u0161is saitas buvo su jums bendrintas, papra\u0161ykite naujo saito.",MC="Bet kokie redagavimai netur\u0117s \u012Ftakos pradiniam rinkiniui";var ZK="Elementai \u0161iame rinkinyje";var XK='\u0160iame rinkinyje n\u0117ra element\u0173. Element\u0173 \u012Ftraukimas i\u0161 mokymo nar\u0161ymo puslapio.',eY="{numberOf} mokymosi keli\u0173",tY="{numberOf} mokymosi kelias",nY="Rinkinys baigtas ir patikrintas",iY="Tai u\u017Etruks iki 14 dien\u0173, bet gali b\u016Bti atlikta anks\u010Diau. Lokalizavus, visi b\u016Bsimi j\u016Bs\u0173 atlikti redagavimai bus automati\u0161kai pateikti \u012F lokalizacijos sraut\u0105.",oY="J\u016Bs\u0173 pavadinimas, apra\u0161as, sekcijos ir sekcij\u0173 apra\u0161ai bus i\u0161versti \u012F kiekvien\u0105 i\u0161 \u201E\u201EMicrosoft\u201C Learn\u201C palaikom\u0173 kalb\u0173",$C="Lokalizuoti",sY="\u012Esitikinkite, kad:",rY="\u0160is rinkinys dar n\u0117ra lokalizuotas j\u016Bs\u0173 kalba.",aY="\u0160altinio kalba yra angl\u0173 k.",DC="\u0160is rinkinys pateiktas lokalizuoti",lY="D\u0117kojame, kad pateik\u0117te savo oficial\u0173 rinkin\u012F lokalizuoti.",NC="Moduli\u0173: {numberOf}",FC="Moduli\u0173: {numberOf}";var cY="Perkelti element\u0105 \u017Eemyn",uY="Perkelti element\u0105 auk\u0161tyn";var dY="Perkelti sekcij\u0105 \u017Eemyn",pY="Perkelti sekcij\u0105 auk\u0161tyn",mY="Oficiali \u201E\u201EMicrosoft\u201C\u201C kolekcija",gY="vardu",fY='Pa\u0161alinta i\u0161 {collectionName}',hY='Pa\u0161alinta i\u0161 Rinkini\u0173';var bY="Turinio, kur\u012F reikia autorizuoti, \u012Ftraukimas \u012F rinkin\u012F i\u0161jungtas.",_Y='\u012Etraukta \u012F {collectionName}',yY='\u012Etraukta \u012F Rinkiniai',vY="\u012Era\u0161yti visus \u0161io rinkinio elementus kaip naujus";var PN="Nor\u0117dami \u012Ftraukti \u012F savo rinkin\u012F, prisijunkite.",UC="Deja, \u0161is rinkinys yra privatus.",kY="\u0160io rinkinio k\u016Br\u0117jas pa\u017Eym\u0117jo j\u012F kaip privat\u0173 ir \u0161iuo metu kiti vartotojai jo nemato.",xY="\u0160io rinkinio n\u0117ra arba jis buvo pa\u0161alintas.",TY='Taip pat galite gr\u012F\u017Eti \u012F rinkinius.',SY="Savo rinkinius galite per\u017Ei\u016Br\u0117ti savo vartotojo profilyje.",wY="Per\u017Ei\u016Br\u0117kite savo rinkinius",CY="Tvarkyti {title} kolekcijose",EY="Prid\u0117ti {title} prie kolekcijos",AY="\u0160\u012F rinkin\u012F galite rasti savo mokymosi profilyje";var PY="Aptiktas pa\u017Eeidimas",IY='\u0160io rinkinio pavadinimas arba apra\u0161as arba \u0161io rinkinio skyriaus pavadinimas ar apra\u0161as buvo panaikinti d\u0117l m\u016Bs\u0173 naudojimo s\u0105lyg\u0173 pa\u017Eeidimo. Apie juos buvo prane\u0161ta rankiniu b\u016Bdu arba jie buvo nustatyti naudojant automatin\u012F aptikim\u0105 prie\u0161 imantis veiksm\u0173. Daugiau informacijos \u017Er. m\u016Bs\u0173 naudojimo s\u0105lygose.',LY="Toliau matysite \u0161\u012F \u012Fsp\u0117jim\u0105, kol nebus atliktas naujinimas.",RY="Prane\u0161ta apie rinkin\u012F",MY='Prane\u0161ta apie susir\u016Bpinim\u0105 d\u0117l \u0161io rinkinio ir jis \u0161iuo metu yra per\u017Ei\u016Brimas \u201E\u201EMicrosoft\u201C\u201C. Daugiau informacijos \u017Er. m\u016Bs\u0173 naudojimo s\u0105lygose.';var jo="Baigta";var $Y="Sveikiname!";var DY="Kreipkit\u0117s \u012F klient\u0173 aptarnavimo tarnyb\u0105",IN="Kontaktinio el. pa\u0161to adresas";var LN="Turinio sritis",NY="Turinio kalbos i\u0161rinkiklis. \u0160iuo metu nustatyta {language}.";var FY='Pastaba: Autorius suk\u016Br\u0117 \u0161\u012F straipsn\u012F naudodamas DI. Su\u017Einokite daugiau',UY='Pastaba: \u0161iame straipsnyje yra turinio, sukurto naudojant DI. Su\u017Einokite daugiau',OY="Bendruomen\u0117s sukurtas turinys. \u0160\u012F straipsn\u012F para\u0161\u0117 ir pri\u017Ei\u016Bri m\u016Bs\u0173 \u201E\u201EMicrosoft\u201C Learn\u201C bendruomen\u0117s ekspertai.",qY='Pastaba: \u0161iame epizode yra turinio, sukurto naudojant DI. Su\u017Einokite daugiau',HY='Pastaba: Autorius suk\u016Br\u0117 \u0161\u012F epizod\u0105 naudodamas DI pagalb\u0105. Su\u017Einokite daugiau';var BY='Pastaba: \u0161iame modulyje yra turinio, sukurto naudojant DI. Su\u017Einokite daugiau',jY='Pastaba: Autorius suk\u016Br\u0117 \u0161\u012F modul\u012F naudodamas DI. Su\u017Einokite daugiau',zY='Pastaba: \u0161iame puslapyje yra turinio, sukurto naudojant DI. Su\u017Einokite daugiau',VY='Pastaba: \u0160is puslapis buvo i\u0161 dalies sukurtas naudojant DI pagalb\u0105. Su\u017Einokite daugiau',gc="T\u0119sti";var OC="Nukopijuota",Iu="Kopija";var Dp="Kursas";var RN="Australija",MN="Austrija";var qC="Belgija";var $N="Brazilija";var HC="Kanada";var DN="Indija";var NN="Airija";var BC="Malaizija";var FN="Meksika";var UN="Naujoji Zelandija";var ON="Portugalija";var qN="Singap\u016Bras";var HN="Piet\u0173 Afrika";var Fv="\u0160veicarija";var BN="Jungtin\u0117 Karalyst\u0117",jN="Jungtin\u0117s Amerikos Valstijos";var Uv="\u0160alis / regionas";var Ov="Kurti";var zN="Suk\u016Br\u0117";var GY="Tapdami nariu suprantate ir pripa\u017E\u012Fstate, kad j\u016Bs\u0173 \u201E\u201EMicrosoft\u201C Learn\u201C naryst\u0117 rei\u0161kia, jog m\u016Bs\u0173 svetaini\u0173 ir program\u0173 tinklas registruos ir seks j\u016Bs\u0173 pasiekimus bei veikl\u0105.

Be to, bus vie\u0161ai matomi j\u016Bs\u0173 vartotojo vardas, rodomas vardas, profilio nuotrauka, priskyrimas, pasiekimai ir veikla. Pasiekimus ir veiklas galite pasl\u0117pti srityje Parametrai.";var pi="Kredencialai",QY="Kredencial\u0173 tipas",KY="Kredencial\u0173 tipai";var YY="Pasirinktin\u012F",WY="Pasirinktin\u0117 data";var JY="Tamsus",qv="dat\u0105";var jC="Diena",Hv="Dienos",ZY="Prie\u0161 {duration} dienas",Bv="{days} d.";var zo="Naikinti";var XY="Naikinti parametr\u0105";var Uf="Apra\u0161as";var eW="\u0160is suarchyvuotas turinys nebeteikiamas. Nuorodos ir informacija gali b\u016Bti pasenusios arba nesaugios ir \u201E\u201EMicrosoft\u201C\u201C j\u0173 aktyviai neper\u017Ei\u016Br\u0117jo.",tW="\u0160is straipsnis buvo i\u0161verstas j\u016Bs\u0173 rinkai i\u0161 angl\u0173 kalbos. Ar esate patenkintas vartojamos kalbos kokybe?",nW="\u0160\u012F straipsn\u012F i\u0161vert\u0117 ma\u0161ina arba DI. \u0160is suarchyvuotas turinys nebeteikiamas. Nuorodos ir informacija gali b\u016Bti pasenusios arba nesaugios ir \u201E\u201EMicrosoft\u201C\u201C j\u0173 aktyviai neper\u017Ei\u016Br\u0117jo.",iW="\u0160is turinys paseno ir ateityje jo nebus galima atnaujinti. \u0160iame turinyje minimas produktas, paslauga arba technologija gali b\u016Bti nepalaikomi.",oW="\u0160\u012F straipsn\u012F i\u0161vert\u0117 ma\u0161ina arba DI. \u0160is turinys paseno ir ateityje jo nebus galima atnaujinti. \u0160iame turinyje minimas produktas, paslauga arba technologija gali b\u016Bti nepalaikomi.",ra="I\u0161jungti \u012Fsp\u0117jim\u0105";var sW="Kai kurios \u0161ios temos dalys gali b\u016Bti i\u0161verstos ma\u0161inos arba DI.",rW="Kai kurios \u0161ios temos dalys gali b\u016Bti i\u0161verstos ma\u0161inos arba DI.";var aW="\u201E\u201EMicrosoft\u201C\u201C \u2013 konfidencialu",lW="\u0160is puslapis negr\u012F\u017Etamai peradresuotas \u012F {url}",cW=`Mes daugiau nuolat nebeatnaujiname \u0161io turinio. Nor\u0117dami gauti informacijos apie tai, kaip \u0161is produktas, paslauga, technologija arba API yra palaikomi, \u017Er. \u201E\u201EMicrosoft\u201C\u201C produkt\u0173 gyvavimo ciklas.`,uW=`\u0160\u012F straipsn\u012F i\u0161vert\u0117 ma\u0161ina arba DI. Mes daugiau nuolat nebeatnaujiname \u0161io turinio. Nor\u0117dami gauti informacijos apie tai, kaip \u0161is produktas, paslauga, technologija arba API yra palaikomi, \u017Er. \u201E\u201EMicrosoft\u201C\u201C produkt\u0173 gyvavimo ciklas.`,dW="Rekomenduojama versija",VN="Gr\u012F\u017Eti \u012F pagrindin\u0119 svetain\u0119",pW="Per\u017Ei\u016Bros svetaini\u0173 turin\u012F gali per\u017Ei\u016Br\u0117ti visi \u201E\u201EMicrosoft\u201C\u201C FTE, teik\u0117jai ir \u201ELinkedIn\u201C darbuotojai.",mW="\u0160io turinio j\u016Bs\u0173 kalba n\u0117ra. \u010Cia yra versija angl\u0173 kalba.",jv="Atmesti";var gW="\u0160is mokymosi kelias greitai bus pasiekiamas toliau nurodyta kalba: {language}.",fW="\u0160is mokymosi kelias n\u0117ra pasiekiamas toliau nurodyta kalba: {language}.";var hW="\u0160is modulis greitai bus pasiekiamas toliau nurodyta kalba: {language}.",bW="\u0160is modulis n\u0117ra pasiekiamas toliau nurodyta kalba: {language}.";var _W="Ie\u0161kos rezultatai pateikti i\u0161 ankstesni\u0173 versij\u0173 dokumentacijos ir n\u0117ra reguliariai atnaujinami.";var yW="Dienos iki u\u017Ebaigimo";var aa="Dokumentacija",vW="I\u0161sami dokumento informacija",kW="Neredaguokite \u0161io skyriaus. B\u016Btina learn.microsoft.com \u279F \u201EGitHub\u201C problemoms sieti.";var xW=".NET dokumentacija";var zC="Atsisi\u0173sti PDF",TW="Turinio, kur\u012F reikia autorizuoti, PDF atsisiuntimas i\u0161jungtas.",SW="PDF generavimas gali u\u017Etrukti kelias minutes. Galite toliau naudoti svetain\u0119, kol parengsime PDF.";var fc="Redaguoti";var wW="Redaguota";var hc="El. pa\u0161tas";var CW="Vardas / pavadinimas negali b\u016Bti tu\u0161\u010Dias";var EW="Pabaigos data";var AW="Pabaigos data",PW="Baigiasi {endDate}";var Lu="Klaida",IW="Reik\u0161m\u0117s turi b\u016Bti {date} arba ankstesn\u0117s.",LW="Prad\u017Eios data turi b\u016Bti ankstesn\u0117 u\u017E pabaigos dat\u0105.";var RW="\u012Evyki\u0173 grup\u0117",MW="\u012Evyki\u0173 grup\u0117s",$W="\u012Evykiai";var Vo="Egzaminas";var DW="Atsakym\u0173 suvestin\u0117",NW="Atgal \u012F ataskait\u0105",FW="Toliau pateikta j\u016Bs\u0173 atsakym\u0173 santrauka.",UW="Sveikiname, j\u016Bs i\u0161laik\u0117te visus skyrius! Jei atlikote kelis bandymus, apsvarstykite galimyb\u0119 suplanuoti egzamin\u0105.",OW="Atsipra\u0161ome, \u0161i pritaikyta mokymosi med\u017Eiaga yra netinkama dabartiniam praktikos vertinimui. Apsilankykite egzamino informacijos puslapyje ir gaukite naujausi\u0105 pasiruo\u0161imo med\u017Eiag\u0105.",qW="Teisingas atsakymas";var HW="\u0160iam vertinimui atlikti prireik\u0117 {duration} min.";var BW="Praktikos vertinimo rezultatai: {date}",jW="Bendrieji rezultatai",zW="Kad b\u016Btum\u0117te geriau pasireng\u0119 egzaminui, pasiekite {percent}% arba didesn\u012F rezultat\u0105 atlikdami kelis bandymus.",VW="Rezultatas: {percent} %";var GW="Nor\u0117dami toliau tobulinti \u012Fg\u016Bd\u017Eius \u0161iose srityse, \u017Er. tolesn\u012F skyri\u0173 Tinkinta mokomoji med\u017Eiaga.",QW="{x} klausimas i\u0161 {y}",KW="Pasiruo\u0161\u0119 laikyti egzamin\u0105?",YW="Ankstesnius vertinimo bandymus galite per\u017Ei\u016Br\u0117ti egzamino informacijos puslapyje.",WW="Praktin\u0117 med\u017Eiaga \u2013 {date}",JW="Rodyti mano atsakymus",ZW="Dalyvaukite kitame praktikos vertinime.",XW="J\u016Bs\u0173 atsakymas";var eJ="Egzaminavimas";var VC="I\u0161pl\u0117sti",tJ="I\u0161pl\u0117sti lentel\u0119";var Of="\u201EFacebook\u201C";var nJ="DUK";var iJ="Neblogai";var oJ='Atsiliepimai bus siun\u010Diami \u201E\u201EMicrosoft\u201C\u201C: paspaudus Pateikti, j\u016Bs\u0173 atsiliepimas bus naudojamas \u201E\u201EMicrosoft\u201C\u201C produktams ir paslaugoms tobulinti. Privatumo strategija.',GC='Paspaudus pateikti, j\u016Bs\u0173 atsiliepimai bus naudojami \u201E\u201EMicrosoft\u201C\u201C produktams ir paslaugoms tobulinti. Privatumo nuostatos',QC='\u201E\u201EMicrosoft\u201C\u201C apdoros pateikiamus atsiliepimus pagal j\u016Bs\u0173 organizacijos instrukcijas, kad pagerint\u0173 j\u016Bs\u0173 ir j\u016Bs\u0173 organizacijos patirt\u012F naudojant \u0161\u012F produkt\u0105. Jei turite klausim\u0173 apie atsiliepim\u0173 duomen\u0173 naudojim\u0105, kreipkit\u0117s \u012F savo nuomotojo administratori\u0173. Atsiliepim\u0173 duomen\u0173 apdorojim\u0105 reglamentuoja \u201E\u201EMicrosoft\u201C\u201C produkt\u0173 ir paslaug\u0173 duomen\u0173 apsaugos priedas tarp j\u016Bs\u0173 organizacijos ir \u201E\u201EMicrosoft\u201C\u201C, o j\u016Bs\u0173 pateikiami atsiliepimai pagal t\u0105 pried\u0105 yra laikomi asmeniniais duomenimis. Privatumo nuostatos',zv="\u201E\u201EMicrosoft\u201C\u201C apdoros pateikiamus atsiliepimus pagal j\u016Bs\u0173 organizacijos instrukcijas, kad pagerint\u0173 j\u016Bs\u0173 ir j\u016Bs\u0173 organizacijos patirt\u012F naudojant \u0161\u012F produkt\u0105.",sJ='\u201E\u201EMicrosoft\u201C\u201C apdoros pateikiamus atsiliepimus pagal j\u016Bs\u0173 organizacijos instrukcijas, kad pagerint\u0173 j\u016Bs\u0173 ir j\u016Bs\u0173 organizacijos patirt\u012F naudojant \u0161\u012F produkt\u0105. Privatumo nuostatos';var rJ="[Atsiliepim\u0105 \u012Fveskite \u010Dia]";var aJ="Pateikti atsiliepim\u0105";var lJ="Prid\u0117kite ekrano kopij\u0105 (pasirenkama)",cJ="Pasirinkite failus...",uJ=".jpeg, .jpg, .png arba .gif";var dJ="Problemos d\u0117l \u201ECloud Shell\u201C";var pJ="Problemos d\u0117l .NET rengykl\u0117s";var mJ="Problemos d\u0117l priklausomybi\u0173 diegimo";var gJ="Mokymo priemon\u0117s turinio kokyb\u0117";var fJ="Apib\u016Bdinkite savo atsiliepim\u0105. Jei taikytina, pateikite veiksmus, leisian\u010Dius atkurti problem\u0105",hJ="\u012Eveskite atsiliepimo pavadinim\u0105",bJ="Neteisinga informacija / yra ra\u0161ybos / turinio klaid\u0173",_J="Funkcijos u\u017Eklausa",yJ="Produktas arba funkcija",vJ="Bendras atsiliepimas",kJ="Mokymosi turinio kokyb\u0117",xJ="Turiu kausim\u0173 apie mokymosi turin\u012F",TJ="Baig\u0119s negavau kredit\u0173 / XP",SJ="Kita",wJ="Su registracija / prisijungimu susijusios problemos",CJ="Su sm\u0117lio d\u0117\u017Ee susijusios problemos",EJ="Su vertimo kokybe susijusios problemos",AJ="Pasirinkite problem\u0105, kuri tinka j\u016Bs\u0173 situacijai",PJ="Pasirinkite atsiliepimo tip\u0105";var IJ="Turin\u012F lengva suprasti",LJ="Turin\u012F sunku suprasti",RJ="Nepavyko rasti, ko man reikia",MJ="Atlikau u\u017Eduot\u012F arba i\u0161sprend\u017Eiau problem\u0105",$J="Su\u017Einojau kai k\u0105 naujo",DJ="Informacij\u0105 buvo lengva rasti",NJ="Pasen\u0119s / nebenaudojamas",FJ="Plano strukt\u016Bra",UJ="Turinio apr\u0117ptis",OJ="Suasmeninimas",qJ="Lengva naudoti",HJ="Pagalba karjeros augimui",BJ="Per sud\u0117tinga",jJ="Technin\u0117s problemos",zJ="Personalizavimo tr\u016Bkumas",VJ="Neatitinka tikslo",GJ="Neteisingos laiko planavimo juostos",QJ="Proced\u016Bra arba kodas neveikia",GN="Vertimo kokyb\u0117";var nl="Filtras",KJ="Filtrai";var QN="Filtras i\u0161valytas",YJ="\u012Evedant tekst\u0105, turinys bus filtruojamas";var WJ="Rasti {facet}";var JJ="Rasti pagal pavadinim\u0105";var ZJ="Rasti klausimo autori\u0173";var XJ="Skaitymo re\u017Eimas \u012Fjungtas",eZ="Skaitymo re\u017Eimas i\u0161jungtas";var tZ="Prisiregistruokite dabar";var Vv="B\u016Btina pasirinkti bent vien\u0105 element\u0105.",il="Turinys pasikeit\u0117, \u012Fkelkite puslap\u012F i\u0161 naujo, kad gautum\u0117te naujausius pakeitimus.",KN="Susid\u016Br\u0117me su problema d\u0117l j\u016Bs\u0173 priedo (-\u0173). Atnaujinkite arba pa\u0161alinkite pried\u0105 (-us), kad t\u0119stum\u0117te skelbim\u0105. Jei problema i\u0161lieka, kreipkit\u0117s \u012F svetain\u0117s palaikymo tarnyb\u0105.",YN="El. pa\u0161to adresas netinkamas",nZ="El. pa\u0161tas yra neleistinas ir turi b\u016Bti ne trumpesnis nei 6 simboliai.",iZ="Pasirinkite bent vien\u0105 atsiliepimo prie\u017East\u012F.",oZ="Ar \u0161is puslapis buvo naudingas? Pasirinkite Taip arba Ne.",sZ="Reikia bent vieno pasirinkimo i\u0161 {inputGroup}.",fr="{inputLabel} negali b\u016Bti ilgesnis nei {maxLength} simboli\u0173.",hr="{inputLabel} turi sudaryti bent {minLength} simboliai.",br="{inputLabel} yra b\u016Btinas.",KC="{inputLabel} netur\u0117t\u0173 prasid\u0117ti ar baigtis ta\u0161ku.",rZ='{inputLabel} negali b\u016Bti simboli\u0173 \\ arba ".',aZ="Neleistinas \u012Fvesties laukas. Patikrinkite \u012Fvesties laukus ir bandykite dar kart\u0105.",_r="J\u016Bs nesate autentifikuotas. Atnaujinkite puslap\u012F ir bandykite dar kart\u0105. Jei \u0161i problema kartojasi, atsijunkite ir v\u0117l prisijunkite.",yr="Neturite teis\u0117s pateikti \u0161io atsakymo. Jei manote, kad tai yra klaida, atnaujinkite puslap\u012F ir bandykite dar kart\u0105.";var lZ="JAV pa\u0161to indeks\u0105 turi sudaryti tik 5 arba 9 skaitmenys.",cZ="Kanados pa\u0161to indekse neturi b\u016Bti tarp\u0173 ir turi b\u016Bti A1A1A1 formato.",uZ="Telefono numeris neleistinas, ji turi sudaryti tik skaitmenys.",mi="Nor\u0117dami t\u0119sti, i\u0161spr\u0119skite \u0161ias problemas:",qf="Pasirinkite.",WN="Tekstas turi b\u016Bti angl\u0173 kalba. Jei turite ne angl\u0173 kalbos teksto ar simboli\u0173, pa\u0161alinkite juos, kad t\u0119stum\u0117te.",vr="N\u0117ra redagavim\u0173, kuriuos b\u016Bt\u0173 galima pateikti.",kr="I\u0161siunt\u0117te per daug u\u017Eklaus\u0173. Palaukite kelias minutes ir bandykite dar kart\u0105.",Go="Susid\u016Br\u0117me su netik\u0117ta klaida. Bandykite dar kart\u0105 v\u0117liau. Jei problema kartojasi, kreipkit\u0117s \u012F svetain\u0117s palaikymo tarnyb\u0105.";var dZ="Generuojamas PDF...";var pZ="Gauti pagalbos \u201EMicrosoft\u201C klausimuose ir atsakymuose",mZ="Gauti produkto palaikym\u0105",JN="Darbo prad\u017Eia";var Np="Visuotinis",ZN="Visuotinis nar\u0161ymas";var XN="Gr\u012F\u017Eti atgal";var gZ="Gerai";var e2="Eiti \u012F egzamino informacij\u0105";var fZ="Puikiai";var YC="Antra\u0161t\u0117s",hZ="Pad\u0117kite man i\u0161sirinkti";var bZ="\u010Cia",_Z="Sl\u0117pti u\u017Ebaigtus";var yZ='Sveiki, {user}';var vZ="Didelis kontrastingumas",kZ="Pagrindinis puslapis";var xZ="Horizontaliai slenkamas kodas",t2="Horizontaliai slenkami duomenys",WC="Valanda",Ru="Valandos",TZ="Prie\u0161 {duration} val.",SZ="Kai mums sekasi?";var wZ="Ar esate patenkintas vartojamos kalbos kokybe?";var CZ="val.";var EZ="{hrs} val.",AZ="{numberOfHours} val. {numberOfMinutes} min.";var PZ="Svarbu";var Gv="Vykdoma";var IZ="Vidutinis";var n2="\u0160iame straipsnyje";var Hf="{itemTitle} bus panaikintas visam laikui.";var LZ="k\u0105 tik";var JC="\u017Dinoma problema",RZ="Patvirtinta";var MZ="Tiria",$Z="Su\u0161velninta",DZ="Prane\u0161\u0117",NZ="I\u0161spr\u0119sta";var Bf="Turinys";var i2="Kalba",FZ="Kalbos";var ZC="Paskutin\u012F kart\u0105 atnaujinta {time}";var o2="Mokymosi kelias",jf="Mokymosi kelias";var Qo="Su\u017Einokite daugiau";var UZ="Turinio tipas",OZ="Turinio tipai";var Qv="Epizodas";var qZ="Epizod\u0173: {count}";var HZ="\u012Evykiai",BZ="Paskutinis epizodas",jZ="Paskutinis epizodas {date}";var zZ="Publikuota {date}",XC="Seka",s2="Rodyti",To="Laida";var eE="Vaizdo \u012Fra\u0161as nepasiekiamas",r2="Atsipra\u0161ome, bet \u0161is vaizdo \u012Fra\u0161as nepasiekiamas. Bandykite dar kart\u0105 v\u0117liau, nes kol kas bandome i\u0161spr\u0119sti problem\u0105.",zf="Vaizdo \u012Fra\u0161\u0173 leistuvas";var VZ="Lygis",GZ="Lygis {number}";var QZ="Lygiai",KZ="Gyvavimo ciklas",YZ="\u0160viesus";var Vf="LinkedIn";var Qt="\u012Ekeliama...";var WZ="Daugiau…",JZ="\u012Ekelti daugiau rezultat\u0173",tE="arab\u0173",ZZ="Arab\u0173 (Saudo Arabija)",nE="bulgar\u0173",XZ="Bulgar\u0173 (Bulgarija)";var iE="bosni\u0173 (lotyn\u0173)",eX="bosni\u0173 (kirilica)",oE="katalonie\u010Di\u0173",sE="\u010Dek\u0173",rE="dan\u0173",aE="vokie\u010Di\u0173";var lE="graik\u0173",tX="Graik\u0173 (Graikija)",cE="angl\u0173",nX="angl\u0173 (Malaizija)";var uE="ispan\u0173",iX="ispan\u0173 (Meksika)",dE="est\u0173",pE="bask\u0173",mE="suomi\u0173",gE="filipinie\u010Di\u0173",fE="pranc\u016Bz\u0173";var hE="airi\u0173",bE="galis\u0173",_E="hebraj\u0173",yE="hindi",vE="kroat\u0173",kE="vengr\u0173",oX="vengr\u0173 (Vengrija)",xE="indonezie\u010Di\u0173",sX="Indonezie\u010Di\u0173 (Indonezija)",TE="island\u0173",SE="ital\u0173";var wE="japon\u0173",rX="gruzin\u0173",CE="kazach\u0173",EE="kor\u0117jie\u010Di\u0173",AE="liuksemburgie\u010Di\u0173",PE="lietuvi\u0173",IE="latvi\u0173",LE="Malajie\u010Di\u0173",RE="maltie\u010Di\u0173",ME="norveg\u0173",$E="oland\u0173",DE="lenk\u0173",NE="portugal\u0173",aX="portugal\u0173 (Brazilija)",lX="portugal\u0173 (Portugalija)",FE="rumun\u0173",UE="rus\u0173",OE="slovak\u0173",qE="slov\u0117n\u0173";var HE="serb\u0173 (kirilica)",BE="serb\u0173 (lotyn\u0173)",jE="\u0161ved\u0173",zE="taj\u0173",VE="turk\u0173",GE="ukrainie\u010Di\u0173",cX="ukrainie\u010Di\u0173",uX="Urd\u0173",QE="vietnamie\u010Di\u0173",dX="vietnamie\u010Di\u0173 (Vietnamas)";var KE="kin\u0173 (supaprastintoji)",YE="Kin\u0173 (tradicin\u0117, YAKR Honkongas)",WE="kin\u0173 (tradicin\u0117)";var pX="Tvarkyti slapukus";var JE="\u201E\u201EMicrosoft\u201C Learn\u201C rengykl\u0117",mX="Sunkiai dirbame, kad perkeltume j\u016Bs\u0173 kurs\u0173 istorij\u0105 ir pasiekimus \u012F \u201ELearn\u201C. Ta\u010Diau \u0161iuo metu \u010Dia bus rodoma tik \u201ELearn\u201C atlikta veikla.",gX='Nor\u0117dami per\u017Ei\u016Br\u0117ti vis\u0105 stenogram\u0105 ir (arba) \u017Eenklelius, kuriuos u\u017Edirbote \u201E\u201EMicrosoft\u201C\u201C mokytoj\u0173 centre ir \u201ELearn\u201C, eikite \u012F savo MEC profil\u012F.';var fX="\u201E\u201EMicrosoft\u201C\u201C darbuotojo privatumo prane\u0161imas",hX="Prisijung\u0117te naudodami su organizacija susiet\u0105 paskyr\u0105 ({email}). Tapdami nariu suprantate ir patvirtinate, kad j\u016Bs\u0173 \u201E\u201EMicrosoft\u201C Learn\u201C naryst\u0117 rei\u0161kia, jog m\u016Bs\u0173 svetaini\u0173 ir program\u0173 tinklas registruos bei steb\u0117s j\u016Bs\u0173 pasiekimus ir veiklas, o mes gal\u0117sime bendrinti j\u016Bs\u0173 rezultatus bei veikl\u0105 su j\u016Bs\u0173 organizacija. Be to, bus vie\u0161ai matomi j\u016Bs\u0173 vartotojo vardas, rodomas vardas, profilio nuotrauka, priskyrimas, pasiekimai ir veikla. Pasiekimus ir veiklas galite pasl\u0117pti srityje Parametrai.

Suk\u016Brus profil\u012F rekomenduojame susieti asmenin\u0119 paskyr\u0105, kad gal\u0117tum\u0117te pasiekti mokymosi pa\u017Eang\u0105, neatsi\u017Evelgiant \u012F savo \u012Fdarbinimo b\u016Bsen\u0105. Galite susieti papildomas paskyras profilio parametr\u0173 dalyje Paskyros valdymas.";var bX="\u201E\u201EMicrosoft\u201C graph\u201C rengykl\u0117";var ZE="\u201E\u201EMicrosoft\u201C\u201C privatumo prane\u0161imas",_X="Nor\u0117dami i\u0161laikyti profil\u012F ir susijusius duomenis turite sutikti su \u201E\u201EMicrosoft\u201C\u201C privatumo prane\u0161imu.";var XE="{numberOfMinutes} min.";var Fp="{numberOfMinutes} min.";var Kv="Minut\u0117s";var yX="prie\u0161 {duration} min.";var So="Modulis";var vX="{platformName} modulio nuoroda",Yv="Moduliai";var kX="Buvote nukreipti \u012F naujausi\u0105 pasiekiam\u0105 \u0161io produkto versij\u0105.";var xX="prie\u0161 {duration} m\u0117n.";var Wv="Daugiau";var TX="Pavadinimas";var Ko="Pirmyn";var Rs="Ne",SX="Naujas rinkinys",Gf="Naujausia",Qf="Seniausia";var wX="N\u0117ra produkt\u0173",CX="N\u0117ra \u017Eymi\u0173",e0="N\u0117ra filtr\u0173",EX='\u0160iame skyriuje element\u0173 n\u0117ra. Perkelkite elementus \u010Dia i\u0161 kit\u0173 etap\u0173 arba \u012Ftraukite element\u0173 i\u0161 \u201ELearn\u201C mokym\u0173 nar\u0161ymo puslapio.';var hn="Rezultat\u0173 n\u0117ra",la="Rezultat\u0173 nerasta",AX="Dar n\u0117ra rezultat\u0173, bet veskite tekst\u0105 toliau\u2026",PX="Ie\u0161koti \u201E{term}\u201C visoje {searchScope} dokumentacijoje",IX="Ie\u0161koti \u201E{term}\u201C visoje dokumentacijoje",LX="Pasi\u016Blym\u0173 n\u0117ra",RX="\u012Eprasta";var MX="A\u010Di\u016B, ne",$X="Pastaba.";var DX="Nepavyko rasti jokio vartotojo.";var NX="{number} elementas",FX="{number} elementai";var UX="Labai patenkintas",OX="Patenkintas",qX="Nei patenkintas, nei nepatenkintas",HX="Nepatenkintas",BX="Labai nepatenkintas";var jX="\u201EOffice\u201C dokumentacija";var Ei="Gerai",zX="Gerai, supratau.";var VX="{date}";var GX="Atidaryti ie\u0161k\u0105";var QX="{productName} atsiliepimas",KX="{productName} yra atvirojo kodo projektas. Pasirinkite sait\u0105, kad pateiktum\u0117te atsiliepim\u0105:";var YX="Atidaryti debesies aplink\u0105",WX="Pasirenkama";var t0="{label} (pasirinktinai)";var JX="\u012Evyko klaida",ZX='Susid\u016Br\u0117me su netik\u0117ta klaida. Bandykite dar kart\u0105. Jei manote, kad tai yra klaida, susisiekite su paskyros atstovu arba klient\u0173 palaikymo tarnyba.',XX="Pageidaujamas duomen\u0173 bendrinimas jau nustatytas",eee="Ar nori t\u0119sti ir per\u017Ei\u016Br\u0117ti \u0161iuos bendrinamus duomenis?",tee="Ne dabar",nee="Siun\u010Dia duomen\u0173 bendrinimo kvietim\u0105...",iee="\u201E\u201EMicrosoft\u201C Learn\u201C duomen\u0173 bendrinimo sutartis",oee='Sutinku su \u201E\u201EMicrosoft\u201C Learn\u201C duomen\u0173 bendrinimo bandomosios versijos s\u0105lygomis, kad \u201E\u201EMicrosoft\u201C\u201C gal\u0117t\u0173 bendrinti \u201ELearn\u201C duomenis su mano organizacija \u201ELearn\u201C vartotojams, prisijungusiems prie mano organizacijos nuomotojo ID.',see="Bandykite dar kart\u0105 naudodami savo susiet\u0105 darbo paskyr\u0105",ree="Nepavyko patvirtinti j\u016Bs\u0173 paskyros",aee='Prisijunkite naudodami savo darbo paskyr\u0105, kad pasiektum\u0117te \u0161iuos bendrintus duomenis. Jei manote, kad tai yra klaida, kreipkit\u0117s \u012F klient\u0173 palaikymo tarnyb\u0105 arba susisiekite su paskyros atstovu.',lee="Taip",ca="Kita";var cee="Apskritai, ar esate patenkinti \u201E\u201EMicrosoft\u201C Learn\u201C?";var n0="Paketas",a2="{platformName} paketo nuoroda";var i0="{pageNumber} i\u0161 {numberOfPages} psl.";var uee="lau\u017Eymas puslapiais";var dee="Parametrai";var pee="J\u016Bs\u0173 PDF sugeneruotas. Atidaroma...";var mee="Telefono numeris",Mu="Planas";var gee="U\u017Epildykite \u0161\u012F lauk\u0105.";var fee="Pateikite atsiliepim\u0173, kaip gal\u0117tume patobulinti \u0161\u012F turin\u012F. Jei taikoma, pateikite problemos pirm\u0105j\u0105 sakinio arba eilut\u0117s dal\u012F.";var hee="Populiar\u016Bs";var bee="Spausdinti";var _ee="Turinio, kur\u012F reikia autorizuoti, spausdinimas i\u0161jungtas.",o0="Privatumo strategija",yee="Prastai";var Kf="Per\u017Ei\u016Bra";var xr="Ankstesnis";var Yf="Produktas",vee="{productName} vartotojai:";var Wf="Produktai",kee="Profilis";var xee="Programavimo kalba",Tee="Programavimo kalbos";var See="Pateikti atsiliepim\u0105 apie produkt\u0105";var Jv="Q&A";var wee="paklausta";var Cee="atsakymai",Eee="komentarai";var Aee="balsai";var Pee='Vertiname j\u016Bs\u0173 kantryb\u0119 perkeliant \u201EMicrosoft\u201C palaikymo bendruomen\u0117s turin\u012F \u012F \u201EMicrosoft\u201C K&A. Neperkeliame viso turinio, o j\u016Bs\u0173 ie\u0161komo klausimo turinys paseno. Daugiau informacijos apie perk\u0117lim\u0105 \u017Er. Su\u017Einoti daugiau. Galite i\u0161 naujo u\u017Eduoti klausim\u0105 arba per\u017Ei\u016Br\u0117ti kitus klausimus {product} puslapyje.',Iee="\u0160io klausimo turinys paseno";var Lee="Vir\u0161ytas did\u017Eiausias leistinas pried\u0173 skai\u010Dius. Pasirinkite iki {maximumCount} pried\u0173.";var Ree="Vir\u0161ytas did\u017Eiausias pamin\u0117jim\u0173 skai\u010Dius. Pasirinkite iki {maximumCount} pamin\u0117jim\u0173.";var Mee="Vartotojas jau laikinai sustabdytas. Atnaujinkite puslap\u012F.",$ee="Vartotojas n\u0117ra laikinai sustabdytas. Atnaujinkite puslap\u012F.";var Dee="Negalite atlikti \u0161io veiksmo, nes j\u016Bs\u0173 paskyra buvo sulaikyta d\u0117l m\u016Bs\u0173 elgesio taisykli\u0173 pa\u017Eeidimo. Apie j\u016Bs\u0173 paskyr\u0105 buvo rankiniu b\u016Bdu prane\u0161ta arba ji buvo identifikuota naudojant automatin\u012F aptikim\u0105 prie\u0161 atliekant veiksm\u0105. Daugiau informacijos \u017Er. m\u016Bs\u0173 elgesio taisykl\u0117se.";var Nee="\u0160is atsakymas buvo naudingas",Fee="\u0160is atsakymas nebuvo naudingas";var l2="Prane\u0161ti apie susir\u016Bpinim\u0105",c2="Prane\u0161ti apie prie\u017East\u012F";var Uee=`, jei norite pasirinkti el. pa\u0161tu gauti naujienas, susijusias su problema, apie kuri\u0105 prane\u0161\u0117te`,Oee="Leisti \u201E\u201EMicrosoft\u201C\u201C susisiekti su manimi d\u0117l \u0161ios ataskaitos",qee="Vardas ir pavard\u0117",Hee="El. pa\u0161tas",Bee='Susisieksime su jumis per j\u016Bs\u0173 asmenin\u0119 paskyr\u0105 {email}',jee='\u201E\u201EMicrosoft\u201C\u201C yra \u012Fsipareigojusi pad\u0117ti vartotojams ir apsaugoti j\u016Bs\u0173 privatum\u0105. Jei norite gauti daugiau informacijos apie tai, kaip mes saugome asmeninius duomenis, galite perskaityti \u201E\u201EMicrosoft\u201C\u201C privatumo patvirtinim\u0105.';var zee="Klausimas",Up="Klausimo autorius",u2='

Klausimo autoriaus filtravimas

Filtruodami pagal klausimo autori\u0173, galite filtruoti tik pagal vien\u0105 vartotoj\u0105 vienu metu ir filtruoti tik pagal \u201ELearn\u201C vartotojus.

',d2="Klausimai";var Vee="Klausimas jau atsakytas.";var Gee="B\u016Btinasis klausimas.",Qee="Pasirenkamas klausimas.",Kee="Spartieji filtrai";var p2="Skaityti angl\u0173 kalba",Yee="Skaityti {language}";var Wee="Rekomenduojamas turinys",Qi="Nuoroda";var Jee="Nuorodos";var $u="Atnaujinti";var Jf="\u0160alinti",m2="\u0160alinti {itemName}";var g2="Atnaujinti";var s0="Prane\u0161ti apie susir\u016Bpinim\u0105",Zee="Pasirinkti prie\u017East\u012F",Xee="Suaugusiems ir seksualinis",ete="Vaik\u0173 seksualinio i\u0161naudojimo ir prievartos vaizdai",tte="\u017Dalos koordinavimas";var nte="Paty\u010Dios ir priekabiavimas",ite="Grafinis smurtas ir kraujas",ote="Neapykant\u0105 skatinanti kalba ir diskriminacija",ste="Intym\u016Bs vaizdai be sutikimo ir intymus turto prievartavimas";var rte="Kitos naudojimo s\u0105lygos arba elgesio kodekso pa\u017Eeidimas";var ate="Ne\u0161vankyb\u0117s ir vulgarumas",lte="Seksualinis priekabiavimas";var cte="Savi\u017Eudyb\u0117 ir susi\u017Ealojimas",ute="Terorizmas ir smurtinis ekstremizmas",dte="Prekyba \u017Emon\u0117mis",pte="Smurtiniai grasinimai, smurto kurstymas ir \u0161lovinimas";var mte="Pateikti per\u017Ei\u016Bros versijos u\u017Eklaus\u0105",f2="U\u017Eklausos URL";var ua="B\u016Btini laukai pa\u017Eym\u0117ti \u017Evaig\u017Edute";var gte="Tipai";var fte="Atsako kodas";var h2="Paleisti i\u0161 naujo";var hte="{numberOfResults} rezultatas",r0="Rezultat\u0173: {numberOfResults}";var Zf="T\u0119sti",a0="Perlaikyti";var bte="Vaidmuo";var _te="Mokymosi kelias";var yte="Vaidmenys";var vte="RSS",kte="Vykdyti";var l0="Susiduriame su problema d\u0117l saugos tikrinimo proceso, kurio reikia norint suaktyvinti i\u0161tekli\u0173. Bandykite dar kart\u0105 po 10 minu\u010Di\u0173.",b2='Per\u017Evelg\u0117me j\u016Bs\u0173 pra\u0161ym\u0105 ir nustat\u0117me, kad j\u016Bs\u0173 paskyra pa\u017Eeid\u0117 m\u016Bs\u0173 Naudojimo s\u0105lygas. J\u016Bs\u0173 interaktyvi prieiga prie i\u0161tekli\u0173 nebus atkurta. Ta\u010Diau galite toliau pasiekti \u201E\u201EMicrosoft\u201C Learn\u201C mokomuoju turiniu. Daugel\u012F moduli\u0173 u\u017Eduo\u010Di\u0173 galima atlikti naudojant savo asmenin\u0119 prenumerat\u0105, ta\u010Diau gali b\u016Bti taikomi mokes\u010Diai ir jums gali reik\u0117ti pakeisti instrukcijas, kad jos tikt\u0173 j\u016Bs\u0173 prenumeratai.';var it="\u012Era\u0161yti";var xte="\u012Eg\u016Bdis";var _2="\u012Etraukti \u012F plan\u0105",y2="\u012Etraukta \u012F Planus",Tte="Valdyti {title} planuose",Ste="\u012Etraukti {title} \u012F plan\u0105";var v2="Kopijuoti plan\u0105",wte="Dienos iki etapo: {number}";var Cte="Numatomas laikas u\u017Ebaigti: {time}";var Ete="{number} etapas (-ai) \u0161iame plane";var Ate="Etapas {number}",Pte='\u012Etraukta \u012F {collectionName}',Ite='\u012Etraukta \u012F Planus',Lte="Prisijunkite prie \u201E\u201EMicrosoft\u201C Learn\u201C, kad gal\u0117tum\u0117te naudoti DI, kad sukurtum\u0117te asmeniniams poreikiams pritaikyt\u0105 mokymosi plan\u0105, kuriame b\u016Bt\u0173 atsi\u017Evelgiama \u012F j\u016Bs\u0173 unikalius poreikius ir pateikiamas aktualiausias turinys.",Rte='Pa\u0161alinta i\u0161 {collectionName}',Mte='Pa\u0161alinta i\u0161 plan\u0173',c0="Kvalifikacija",$te="Dabartinis vaidmuo",Dte="Vaidmens pasirinkimas",u0="Pateikite savo kvalifikacijos informacij\u0105.",Nte="Pateikite savo i\u0161sam\u0173 pareig\u0173 pavadinim\u0105 ir atsakomybes",Fte="Kokiame karjeros etape esate?",Ute="Ankstyvoji karjera (0\u20135 metai)",Ote="Vidutin\u0117 karjera (5\u201310 met\u0173)",qte="Pa\u017Eengusi karjera (10 ir daugiau met\u0173)",Hte="Plano k\u016Brimas",Bte="{AppliedSkills} (scenarijais pagr\u012Fsti interaktyviosios laboratorijos vertinimai)",jte="U\u017Ebaikite sud\u0117ting\u0105 projekt\u0105 darbe",zte="Gaukite profesinius kredencialus savo srityje",Vte="Pagerinkite \u012Fg\u016Bd\u017Ei\u0173 rinkin\u012F, pvz., i\u0161mokite naudoti nauj\u0105 programin\u0117s \u012Frangos \u012Frank\u012F arba programavimo kalb\u0105",Gte="\u012Eveskite projekto technologijas, tikslus ir s\u0117km\u0117s metrik\u0105",Qte="Laikykite nuspaud\u0119 \u201ECtrl\u201C mygtuk\u0105 \u201EWindows\u201C kompiuteryje / \u201ECommand\u201C mygtuk\u0105 \u201EMac\u201C kompiuteryje, kad pasirinktum\u0117te kelias parinktis.",Kte="Pateikite projekto informacij\u0105",Yte="Scenarijais pagr\u012Fsti kredencialai, gaunami atlikus praktinius, interaktyvius laboratorijos vertinimus ir parodantys j\u016Bs\u0173 tinkamum\u0105 bei geb\u0117jim\u0105 pritaikyti sprendim\u0105 realyb\u0117je.";var k2="Pasirinkite kategorij\u0105",Zv="Pasirinkite sertifikat\u0105",Wte="Pasirinkite kredencialus",d0="Pasirinkite \u012Fg\u016Bd\u012F",x2="Pasirinkite tem\u0105",Jte="Pasirinkite kredencialo tip\u0105",Zte="Kokie yra j\u016Bs\u0173 karjeros tikslai?",Xte="Pasirinkite plano tiksl\u0105",p0="Konkretaus projekto u\u017Ebaigimas",ene="Pateikite i\u0161sam\u0173 projekto apra\u0161\u0105, \u012Fskaitant problemos apib\u016Bdinim\u0105 ir numatom\u0105 rezultat\u0105, kartu su technologijomis, sistemomis, kalbomis ar paslaugomis, kurias naudojate.",tne="Pateikite savo i\u0161sam\u0173 pareig\u0173 pavadinim\u0105 ir atsakomybes",nne="Koks yra projekto tikslas, problema ir numatomas rezultatas? \u012Etraukite visas naudojamas technologijas, sistemas, kalbas ir paslaugas.",ine="Kas tinkama ir kas netinkama apib\u016Bdinant projekt\u0105",one="Tinkama: \u201EKuriu taikom\u0105j\u0105 \u017Einiatinklio program\u0105, kuri naudoja ma\u0161ininio mokymo algoritmus atsarg\u0173 poreikiams numatyti, atsarg\u0173 lygiui realiuoju laiku sekti ir pakartotinio u\u017Esakymo procesams automatizuoti.

Pagrindin\u0117s funkcijos yra atsarg\u0173 sekimas realiuoju laiku, prognozuojamoji analiz\u0117, automatizuoti pakartotinio u\u017Esakymo procesai ir ataskait\u0173 teikimas / analiz\u0117.

Technologijos, kurias naudosime, yra \u201E\u201EMicrosoft\u201C Blazor\u201C, skirta i\u0161orinei vartotojo s\u0105sajai, \u201EASP.NET Core\u201C, skirta serverio logikai ir API u\u017Eklausoms, \u201EAzure Cosmos DB\u201C atsarg\u0173 duomenims ir operacijoms saugoti, \u201EAzure Machine Learning\u201C ir \u201EAzure\u201C debesies tarnybos.\u201C",sne="Netinkama: \u201EMan reikia sukurti atsarg\u0173 sekimo taikom\u0105j\u0105 \u017Einiatinklio program\u0105.\u201C",rne='Palaukite kelias minutes, kad pad\u0117tum\u0117te mums kurti mokymosi plan\u0105 su DI \u2013 personalizuota jums! \u201E\u201EMicrosoft\u201C\u201C niekada nebendrins \u0161i\u0173 duomen\u0173. Nor\u0117dami su\u017Einoti daugiau apie naudojimo atvejus ir apribojimus bei privatumo strategij\u0105, skaitykite pastabas apie DI skaidrum\u0105.',m0="Gauti kredencialus",ane="Kaip norite gauti prisijungimo informacij\u0105?",lne="\u012Eg\u016Bd\u017Ei\u0173 tikrinimas atliekant scenarijumi pagr\u012Fst\u0105 \u012Fvertinim\u0105",g0="Pasirinkite aktualiausius {AppliedSkills}",cne="Gaukite sektoriaus pripa\u017Eint\u0105, vaidmenimis pagr\u012Fst\u0105 \u201E\u201EMicrosoft\u201C\u201C sertifikat\u0105",f0="Sektoriaus pripa\u017Einti sertifikatai",h0="Hm, \u012Fvyko klaida. Bandykite dar kart\u0105.",une="Planas nebuvo sugeneruotas, nes formoje gali b\u016Bti formuluo\u010Di\u0173, kurios gali pa\u017Eeisti \u201E\u201EMicrosoft\u201C Learn\u201C elgesio taisykles. Prad\u0117kite i\u0161 naujo ir pakeiskite formuluot\u0119.",dne="Deja, nepavyko sugeneruoti j\u016Bs\u0173 plano. Prad\u0117kite i\u0161 naujo.",pne="Nepavyko atidaryti j\u016Bs\u0173 plano. Bandykite dar kart\u0105.",mne="Mums nepavyko rasti \u0161io vaidmens kredencial\u0173. Pasirinkite kit\u0105 vaidmen\u012F ir bandykite dar kart\u0105.",b0="\u012Eveskite i\u0161sam\u0173 pareig\u0173 pavadinim\u0105 ir atsakomybes, kurios gali pad\u0117ti m\u016Bs\u0173 DI sistemai geriau pritaikyti j\u016Bs\u0173 mokymosi plan\u0105 asmeniniams poreikiams. Rekomenduojame \u012Ftraukti pareig\u0173 pavadinim\u0105 ir i\u0161sami\u0105 informacij\u0105 apie j\u016Bs\u0173 atliekamas konkre\u010Dias u\u017Eduotis, susijusias su plano tikslu";var gne="Pateikite kuo daugiau informacijos, bet ne\u012Ftraukite jokios asmenin\u0117s ar slaptos informacijos",T2="Ar \u0161is planas naudingas?",fne="Bus bendrinami raginimai ir sugeneruoti atsakymai. Per\u017Ei\u016Br\u0117kite, kas bus bendrinama {here}",S2="\u0160is planas naudingas",w2="\u0160is planas nenaudingas",hne="Vertiname, kad skiriate laiko \u012Fvertinti si\u016Blom\u0105 plan\u0105 ir pateikti komentar\u0173. J\u016Bs\u0173 atsiliepimas pad\u0117s mums pagerinti m\u016Bs\u0173 patirt\u012F.",bne="O kaip galima patobulinti plan\u0105?",_ne="Kas plane jums patiko?",yne="Tikslas",vne="Generuoti plan\u0105",_0="Generuojamas j\u016Bs\u0173 planas...",kne="Beveik atlikta",xne="Beveik atlikta \u2013 tiesiog atliekame baigiamuosius darbus, kad u\u017Etikrintume, jog viskas yra tobula!",Tne="Atlikimo laikas",Sne="Dabar, atsi\u017Evelgdami \u012F j\u016Bs\u0173 mokymosi temp\u0105, apskai\u010Diuojame etapo baigimo laik\u0105.",wne="Tada nustatome j\u016Bs\u0173 mokymosi rezultatus.",Cne="Galiausiai nustatome gaires, \u012Fskaitant pagrindinius etapus ir kontrolinius ta\u0161kus.",Ene="Pirmiausia generuojame j\u016Bs\u0173 plano pavadinim\u0105 ir apra\u0161\u0105, kurie apibr\u0117\u017Eia projekto tiksl\u0105 bei apr\u0117pt\u012F.",Ane="Pavadinimas ir apra\u0161as",y0="Aukite dabartin\u0117je karjeroje",Pne="Kaip tai veikia?",Ine='Kiekvienas DI sugeneruotas planas pagr\u012Fstas j\u016Bs\u0173 pasirinkimais ir j\u016Bs\u0173 pateikta informacija. Mes kuruojame susijus\u012F turin\u012F i\u0161 \u201E\u201EMicrosoft\u201C\u201C, kad sukurtume asmeniniams poreikiams pritaikyt\u0105 plan\u0105. \u0160is planas apima pritaikyt\u0105 mokym\u0105 ir dokumentacij\u0105, organizuotas gaires, eigos sekimo \u012Frankius asmenims ar grup\u0117ms ir atpa\u017Einim\u0105 baigus. Su\u017Einokite daugiau apie tai, kaip veikia DI plano generavimas ir jo apribojimai.',Xf="Tikslai",v0="Pateikite daugiau informacijos apie karjeros tikslus.",k0="Prad\u0117kite nauj\u0105 karjer\u0105",Lne="\u012Eveskite i\u0161samias pareigas ir atsakomybes. Rekomenduojame naudoti konkret\u0173 pareig\u0173 pavadinim\u0105 ir (arba) i\u0161samias atsakomybes, susijusias su j\u016Bs\u0173 plano tikslu. Tai padeda m\u016Bs\u0173 DI sistemai b\u016Bti labiau pritaikytai asmeniniams poreikiams ir tikslesnei.",Rne="Vaidmens apra\u0161as",Mne="Pasirinkite vaidmen\u012F",$ne="Pasirinkite aktualiausi\u0105 vaidmen\u012F",Dne="Apie kok\u012F vaidmen\u012F norite su\u017Einoti?",Nne="Prad\u0117ti i\u0161 naujo ne\u012Fra\u0161ant",Fne="Prad\u0117ti i\u0161 naujo ne\u012Fra\u0161ant plano?",Une="Jei prad\u0117site i\u0161 naujo, j\u016Bs\u0173 \u012Fvestas planas ir informacija nebus \u012Fra\u0161yti, tod\u0117l tur\u0117site i\u0161 naujo \u012Fvesti i\u0161sami\u0105 informacij\u0105 ir nuostatas.",One="Palaukite kelias minutes, kad pad\u0117tum\u0117te mums kurti mokymosi plan\u0105 su DI \u2013 personalizuota jums!",Xv="Papasakokite apie savo tiksl\u0105",qne="\u012Etraukite kuo daugiau informacijos",Hne="Pavyzdys: \u201EMano tikslas yra \u012Fgyti patirties naudojantis \u201EAzure\u201C DI tarnybomis. Noriu su\u017Einoti, kaip kurti, diegti ir valdyti DI modelius naudojant \u201EAzure Machine Learning\u201C. Be to, sieksiu suprasti, kaip integruoti \u0161iuos modelius \u012F esamas programas, kad b\u016Bt\u0173 pagerintos j\u0173 galimyb\u0117s ir gaunamos geresn\u0117s \u012F\u017Evalgos.\u201C",ek="Laiko planavimo juosta",tk="Prane\u0161kite mums, kiek laiko turite dirbti su planu.",Bne="Kiek laiko galite skirti kiekvien\u0105 savait\u0119?",jne="Kada norite baigti savo mokymosi plan\u0105?",zne="Ma\u017Eiau nei 1 valand\u0105",Vne="1\u20132 val.",Gne="3\u20135 val.",Qne="5\u201310 val.",Kne="Daugiau nei 10 valand\u0173",Yne="Per 3 m\u0117nesius",Wne="3\u20136 m\u0117nesiai",Jne="6\u201312 m\u0117nesi\u0173",Zne="Daugiau nei 12 m\u0117nesi\u0173";var eh="Per\u017Ei\u016Br\u0117ti plan\u0105";var Xne="S\u0117kmingai! J\u016Bs\u0173 naujas planas parengtas. Per\u017Ei\u016Br\u0117kite, nes DI sugeneruotas turinys gali b\u016Bti netikslus.";var eie="Pavyzdinis planas",tie="\u0160is \u012Fg\u016Bd\u017Ei\u0173 tobulinimo planas pad\u0117s jums kurti DI sprendimus naudojant \u201EAzure\u201C DI tarnybas, sutelkiant d\u0117mes\u012F \u012F nat\u016Braliosios kalbos apdorojim\u0105, generuojam\u0105j\u012F dirbtin\u012F intelekt\u0105 ir pasirinktines DI programas. Su\u017Einosite, kaip efektyviai panaudoti \u201EAzure\u201C veiksmingus \u012Frankius ir paslaugas.";var nie="Iki \u0161io plano pabaigos gal\u0117site kurti ir diegti DI sprendimus naudodami \u201EAzure\u201C DI tarnybas, \u012Fskaitant nat\u016Braliosios kalbos apdorojim\u0105 ir generuojamojo dirbtinio intelekto programas.",iie="Iki \u0161io plano pabaigos gal\u0117site \u012Fdiegti pasirinktines DI programas naudodami \u201EAzure OpenAI\u201C tarnyb\u0105 ir \u201EAzure\u201C DI studij\u0105.",oie="Iki \u0161io plano pabaigos gal\u0117site kurti i\u0161mani\u0105sias programas, kurios naudoja \u201EAzure\u201C DI galimybes \u012Fvairiems naudojimo atvejams.",sie="Su\u017Einokite apie pamatines \u201EAzure\u201C DI tarnybas",rie="\u0160iame skyriuje besimokantieji tyrin\u0117s \u201EAzure\u201C DI tarnyb\u0173 pagrindus, \u012Fgydami bazini\u0173 \u017Eini\u0173 dirbtinio intelekto sprendimams kurti. Pagrindin\u0117s technologijos apima \u201EAzure\u201C DI tarnybas su u\u017Eduotimis, pvz., tarnyb\u0173 galimybi\u0173 supratimu ir pradine s\u0105ranka.",aie="Darbo su \u201EAzure\u201C DI tarnybomis prad\u017Eia",lie="Pa\u017Eangi\u0173 DI sprendim\u0173 k\u016Brimas naudojant \u201EAzure\u201C",cie="\u0160iame skyriuje daugiausia d\u0117mesio skiriama pa\u017Eangi\u0173 DI sprendim\u0173 k\u016Brimui, \u012Fskaitant nat\u016Braliosios kalbos apdorojim\u0105 ir generuojam\u0105j\u012F dirbtin\u012F intelekt\u0105. Besimokantieji dirbs su \u201EAzure\u201C DI tarnybomis ir \u201EAzure OpenAI\u201C tarnyba, dalyvaudami tokiose u\u017Eduotyse kaip kalbos modeli\u0173 k\u016Brimas ir pasirinktini\u0173 pagalbinink\u0173 k\u016Brimas.",uie="Kurkite nat\u016Braliosios kalbos apdorojimo sprendimus naudodami \u201EAzure\u201C DI tarnybas",die="Kurkite programas su \u201EAzure OpenAI in Foundry Models\u201C",pie="Kurkite savo pasirinktinius pagalbininkus naudodami \u201EAzure\u201C DI studij\u0105",mie="Dirbtinio intelekto sprendim\u0173 k\u016Brimas naudojant \u201EAzure\u201C DI tarnybas",gie='Planai atnaujinti';var fie="Pasirinkite kit\u0105 plano pavadinim\u0105",hie="Kopijuoti sait\u0105";var x0="Tvarkyti";var T0="Atsisakyti",bie="Atsisakyti plano",_ie="Ar tikrai norite atsisakyti \u0161io plano?",yie="Prarasite visus eigos \u012Fra\u0161us ir jie nebus rodomi k\u016Br\u0117jo ataskaitoje.",vie="Taip, i\u0161eiti",kie="\u012Eveskite pavadinim\u0105";var xie="Atsipra\u0161ome, \u0161is planas yra privatus.",Tie="\u0160io plano k\u016Br\u0117jas pa\u017Eym\u0117jo j\u012F kaip privat\u0173 ir \u0161iuo metu kiti vartotojai jo nemato.",Sie="Savo planus galite per\u017Ei\u016Br\u0117ti savo vartotojo profilyje.",wie="Per\u017Ei\u016Br\u0117ti planus",Cie='Taip pat galite gr\u012F\u017Eti \u012F planus.',Eie="Planas nepasiekiamas",Aie="\u0160io plano n\u0117ra arba jis buvo pa\u0161alintas.",Pie="Jei \u0161is saitas buvo su jums bendrintas, papra\u0161ykite naujo saito.",Iie="Baigta";var Lie="Planas leid\u017Eia besimokantiesiems pereiti per tam tikrus etapus, kad pasiekt\u0173 mokymosi rezultatus. Galite pakviesti besimokan\u010Diuosius \u012F plan\u0105 ir steb\u0117ti j\u0173 pa\u017Eang\u0105.",Rie="Prad\u0117ta";var Mie="Oficialus planas";var $ie="Planas nerastas. Atnaujinkite puslap\u012F.",Die="Vienas ar keli etapai yra tu\u0161ti arba n\u0117ra rekomenduojam\u0173 atlikimo dien\u0173. Prie\u0161 publikuodami plan\u0105 i\u0161spr\u0119skite \u0161ias problemas.",Nie="I\u0161sami plano informacija";var Fie="Naikinti plan\u0105",Uie="Nor\u0117dami panaikinti plan\u0105, \u012Fsitikinkite, kad prie jo neprijungti jokie vartotojai. Visi vartotojai pirmiausia turi atsisakyti plano.",Oie="Ar tikrai norite panaikinti \u0161\u012F plan\u0105?",qie="Taip, naikinti plan\u0105";var th="Pakvieskite besimokan\u010Diuosius",C2="Kopijuoti kvietimo sait\u0105",Hie="Saitas nukopijuotas \u012F main\u0173 srit\u012F",Bie="Naikinti mokymosi grup\u0119",jie="Netrukus panaikinsite \u0161i\u0105 mokymosi grup\u0119: {learningGroupName}. Ar norite t\u0119sti?",zie="Grup\u0117 panaikinta",Vie="Grup\u0117s",nk="Grup\u0117s pavadinimas",Gie="Asmenys";var Qie="Mokymosi grup\u0117 \u2013 tai vardas, leid\u017Eiantis nustatyti besimokan\u010Di\u0173j\u0173 grup\u0119 j\u016Bs\u0173 pa\u017Eangos ataskaitoje; besimokantieji nematys \u0161io vardo.

Suk\u016Brus mokymosi grup\u0119, sukuriamas unikalus saitas su j\u016Bs\u0173 planu konkre\u010Diai besimokan\u010Di\u0173j\u0173 grupei.";var E2="Nauja mokymosi grup\u0117",Kie="\u012Eveskite \u0161ios besimokan\u010Di\u0173j\u0173 grup\u0117s pavadinim\u0105",Yie="J\u016Bs\u0173 kvietimas prad\u0117ti {planTitle} plan\u0105 \u201E\u201EMicrosoft\u201C Learn\u201C",Wie="Prad\u0117kite savo plan\u0105 ir prad\u0117kite mokymosi kelion\u0119 \u0161iandien.",Jie="Buvote pakviesti prad\u0117ti {planTitle} plan\u0105 \u201E\u201EMicrosoft\u201C Learn\u201C.",Zie="Planas yra \u201E\u201EMicrosoft\u201C Learn\u201C kuruojamas ir sutvarkytas turinys su gair\u0117mis, kurios pad\u0117s jums pasiekti mokymosi rezultatus.",Xie="\u012Egyvendindami \u0161\u012F plan\u0105 pasieksite \u0161iuos mokymosi rezultatus:",eoe="Prad\u0117kite savo plan\u0105 \u0161iandien!",nh="Per\u017Ei\u016Br\u0117ti eig\u0105",toe="Atsisi\u0173skite \u0161\u012F fail\u0105, kad per\u017Ei\u016Br\u0117tum\u0117te besimokan\u010Di\u0173j\u0173 s\u0105ra\u0161\u0105 ir j\u0173 pa\u017Eang\u0105.",S0="Atsisi\u0173sti CSV",noe="Faile yra \u0161i informacija:",ioe="Besimokan\u010Diojo grup\u0117",ooe="\u201ELearn\u201C naudotojo vardas",soe="Prad\u017Eios data",roe="Pabaigos data",aoe="U\u017Ebaigti elementai",loe="I\u0161 viso element\u0173",Du="Mokymosi rezultatai",coe="Redaguoti mokymosi rezultatus",uoe="Mokymosi rezultatai \u2013 tai konkre\u010Dios \u017Einios, \u012Fg\u016Bd\u017Eiai ar kompetencija, kurias besimokantysis gaus u\u017Ebaig\u0119s \u0161\u012F plan\u0105.",doe="Patarimas: kiekvien\u0105 mokymosi rezultat\u0105 prad\u0117kite veiksma\u017Eod\u017Eiu. Kiekvienas rezultatas tur\u0117t\u0173 u\u017Ebaigti sakin\u012F \u201EU\u017Ebaigus \u0161\u012F plan\u0105, besimokantieji gal\u0117s...\u201C";var poe="1 rezultatas",moe="2 rezultatas (pasirinktinai)",goe="3 rezultatas (pasirinktinai)",foe="Rezultatas {number}",hoe="Konvertuoti \u012F oficial\u0173 plan\u0105",boe="Konvertuoti plan\u0105 \u012F oficial\u0173 plan\u0105",_oe="Oficialus planas tur\u0117t\u0173 b\u016Bti naudojamas, kai norite, kad j\u016Bs\u0173 planas atspind\u0117t\u0173 \u201E\u201EMicrosoft\u201C\u201C ir jei norite \u012Ftraukti saitus, kurie yra i\u0161oriniai \u201E\u201EMicrosoft\u201C Learn\u201C. Visada \u012Fsitikinkite, kad j\u016Bs\u0173 planas yra u\u017Ebaigtas, be tipografini\u0173 klaid\u0173 ir kad turinys pateiktas teisinga seka. Publikavus oficial\u0173 plan\u0105, jo keisti negalima.",yoe="Nor\u0117dami i\u0161saugoti bet kokius i\u0161orinius saitus i\u0161 esamo oficialaus rinkinio arba plano, konvertuokite \u012F oficial\u0173 plan\u0105.",voe="Oficialus planas atstovauja \u201E\u201EMicrosoft\u201C\u201C, tod\u0117l \u012Fsitikinkite, kad j\u016Bs\u0173 publikuotas planas yra baigtas, be tipografini\u0173 klaid\u0173 ir kad turinys pateikiamas teisinga seka.";var w0="\u0160is planas pateiktas lokalizuoti",koe="Planas baigtas ir patikrintas",xoe="D\u0117kojame, kad pateik\u0117te savo oficial\u0173 plan\u0105 lokalizuoti.",Toe="\u017Dym\u0117ti kaip u\u017Ebaigt\u0105",A2="Etapas",Soe="\u012Etraukti etap\u0105",woe="Redaguoti etap\u0105";var Coe="Naujas etapas",Eoe="Dienos iki etapo:",Aoe="1 etapas",Poe="Etap\u0173: {numberOfMilestones}";var Ioe="Etapas u\u017Ebaigtas";var Loe="Perkelti \u012F";var Roe="Patvirtinkite, kad visi etapai turi pavadinim\u0105 ir atlikimo dienas. Gali tekti i\u0161pl\u0117sti kiekvien\u0105 etap\u0105.";var Moe="\u017Dym\u0117ti kaip u\u017Ebaigt\u0105?",$oe="Ar norite pa\u017Eym\u0117ti kaip u\u017Ebaigt\u0105? Kai pa\u017Eym\u0117site kaip u\u017Ebaigt\u0105, nebegal\u0117site jo per\u017Ei\u016Br\u0117ti dar kart\u0105.",Doe="Sveiki atvyk\u0119!",Noe="Nor\u0117dami prad\u0117ti \u0161\u012F plan\u0105, turite bendrinti plano eigos duomenis su plano k\u016Br\u0117ju. Duomenys, kurie bus bendrinami, yra: datos, kada pradedate ir u\u017Ebaigiate plan\u0105, ir kiek i\u0161 viso element\u0173 u\u017Ebaig\u0117te bet kuriuo metu. J\u016Bs\u0173 duomenys bus susieti su j\u016Bs\u0173 vie\u0161u \u201ELearn\u201C vartotojo vardu.",Foe="Ar sutinkate pasidalyti savo pa\u017Eanga?",Uoe="Taip, sutinku pasidalyti savo pa\u017Eanga",Ooe="Jei norite gauti nauding\u0173 el. lai\u0161k\u0173, kurie pad\u0117s jums orientuotis ir dr\u0105siau \u017Eengti pirmyn j\u016Bs\u0173 Plan\u0173 kelion\u0117je, eikite \u012F savo profilio parametr\u0173 puslap\u012F ir nurodykite kontaktin\u012F el. pa\u0161to adres\u0105 prane\u0161imams.",qoe="\u012Era\u0161yti visus \u0161io plano elementus kaip naujus",Hoe="Nor\u0117dami \u012Ftraukti tai \u012F savo plan\u0105, prisijunkite.";var Boe="Dar neturite joki\u0173 plan\u0173.",P2="Tokiu pavadinimu besimokan\u010Di\u0173j\u0173 grup\u0117 jau yra. \u012Eveskite kit\u0105 pavadinim\u0105";var joe="Planas, apie kur\u012F prane\u0161ta",zoe='Buvo prane\u0161ta apie susir\u016Bpinim\u0105 d\u0117l \u0161io plano ir \u201E\u201EMicrosoft\u201C\u201C j\u012F \u0161iuo metu per\u017Ei\u016Bri. Daugiau informacijos \u017Er. m\u016Bs\u0173 naudojimo s\u0105lygose.';var Voe="I\u0161saugokite savo pritaikyt\u0105 rinkin\u012F";var I2="Planuoti egzamin\u0105";var an="Ie\u0161koti";var Goe="Ie\u0161koti visame \u201E\u201EMicrosoft\u201C Learn\u201C";var L2="Ie\u0161kos filtrai";var ik="Ie\u0161koti ankstesni\u0173 versij\u0173";var C0="Sekund\u0117s",Qoe="prie\u0161 {duration} sek.",Koe="{seconds} sek.",E0="Skyrius",Yoe="Skyrius, kurio pavadinimas: {title}";var ok="\u017Dr. ma\u017Eiau";var Nu="\u017Dr. daugiau";var A0="Pasirinkti paket\u0105";var P0="Pasirinkti versij\u0105";var Woe="Tarnyba";var Op="Parametrai",I0="Bendrinti";var L0="[Bendrinamas straipsnis] {articleTitle}",Joe="U\u017Ebaigiau {achievementTitle}! Labai did\u017Eiuojuosi, kad galiu \u0161v\u0119sti \u0161\u012F pasiekim\u0105, ir tikiuosi, kad tai paskatins jus prad\u0117ti savo @MicrosoftLearn kelion\u0119!";var sk="Bendrinti savo informacijos santraukoje:";var R2="Bendrinti naudojant";var Zoe="Bendrinkite savo pasiekim\u0105:",Xoe="Bendrinimas",ese="Turinio, kur\u012F reikia autorizuoti, PDF bendrinimas i\u0161jungtas.";var ih="Rodyti ma\u017Eiau",Fu="Rodyti daugiau",R0="Rodyti dar {number}",M0="Prisijungta",Yo="Prisijungti";var tse="Jungiamasi...";var nse='Prisijunkite prie \u201E\u201EMicrosoft\u201C Learn\u201C';var rk="Prisijunkite, kad prad\u0117tum\u0117te",qp="Atsijungti";var ise="Svetain\u0117";var ose="Dar {count}",$0="Valyti filtrus",sse="Sl\u0117pti filtr\u0105",M2="{filter} parinktys";var rse="U\u017Eklausti terminai:",$2="M\u0105stoma\u2026",D2="Generuojamas rezultatas\u2026",N2="Ie\u0161koma\u2026",ase="Paie\u0161kos rezultatai",F2="Atsipra\u0161au, negaliu pad\u0117ti \u0161iuo klausimu. Pateikite nauj\u0105 u\u017Eklaus\u0105 arba pasidalykite savo atsiliepimu.",U2="Atsipra\u0161ome, per trump\u0105 laik\u0105 i\u0161siunt\u0117te per daug u\u017Eklaus\u0173. \u0160iek tiek palaukite ir bandykite dar kart\u0105.",lse="Tikslus / susij\u0119s turinys",cse="I\u0161samus / ai\u0161kus turinys",use="Greitas atsakymas",dse="Netikslus / nesusij\u0119s turinys",pse="Nei\u0161samus / neai\u0161kus turinys",mse="\u012E\u017Eeid\u017Eiantis / netinkamas turinys",gse="L\u0117tas atsakymas",O2="Ka\u017Ekas kito",q2="Pateikite kuo daugiau informacijos, bet ne\u012Ftraukite jokios asmenin\u0117s ar slaptos informacijos",fse="Papasakokite daugiau",hse="\u0160is atsakymas buvo naudingas",bse="\u0160is atsakymas nebuvo naudingas",oh="DI suvestin\u0117",Hp="Atsipra\u0161ome, ka\u017Ekas negerai. Bandykite dar kart\u0105 v\u0117liau.",H2="Santraukos laikinai nepasiekiamos, bandykite dar kart\u0105 v\u0117liau.";var B2="I\u0161kviesti suvestin\u0117s nepavyko",j2="Neleistinas suvestin\u0117s atsakas";var Uu="Dirbtinio intelekto sugeneruotas turinys gali b\u016Bti neteisingas.",sh='Skaitykite m\u016Bs\u0173 DI skaidrumo pastabas, kad gautum\u0117te daugiau informacijos.',_se='Skaitykite m\u016Bs\u0173 DI skaidrumo pastabas, kad gautum\u0117te daugiau informacijos.',rh="D\u0117kojame u\u017E atsiliepim\u0105!",ak="Sl\u0117pti",z2="Rodyti",D0="Generuojama...",yse="\u0160iek tiek palaukite ir bandykite dar kart\u0105.",N0="Dar neturime \u0161ios informacijos.",vse="Ie\u0161kos \u201E{searchPhrase}\u201C rezultat\u0173: {count}",kse="Ie\u0161kos \u201E{searchPhrase}\u201C rezultatas: {count}",xse="Ie\u0161kos \u201E{searchPhrase}\u201C pana\u0161i\u0173 rezultat\u0173: {count}",Tse="Ie\u0161kos \u201E{searchPhrase}\u201C pana\u0161us rezultatas: {count}",Sse="Ie\u0161kos \u201E{searchPhrase}\u201C dalyje {scope} rezultat\u0173: {count}",wse="Ie\u0161kos \u201E{searchPhrase}\u201C dalyje {scope} rezultatas: {count}",Cse="Ie\u0161kos \u201E{searchPhrase}\u201C pana\u0161i\u0173 rezultat\u0173: {count} {scope}",Ese="Ie\u0161kos \u201E{searchPhrase}\u201C pana\u0161us rezultatas: {count} {scope}",Ase="Atitikmen\u0173 nerasta, rodoma {count} rezult., pana\u0161i\u0173 \u012F \u201E{searchPhrase}\u201C.",Pse="Atitikmen\u0173 nerasta, rodomas {count} rezult., pana\u0161ius \u012F \u201E{searchPhrase}\u201C.";var Ise="arba per\u017Ei\u016Br\u0117kite visus rezultatus apie \u201E\u201EMicrosoft\u201C Learn\u201C",Lse="Ie\u0161kos \u201E{searchPhrase}\u201C dalyje {scope} {pivotCategory} rezultat\u0173: {count}",Rse="Ie\u0161kos \u201E{searchPhrase}\u201C dalyje {scope} {pivotCategory} rezultatas: {count}",Mse="Ie\u0161kos \u201E{searchPhrase}\u201C dalyje {scope} {pivotCategory} pana\u0161i\u0173 rezultat\u0173: {count}",$se="Ie\u0161kos \u201E{searchPhrase}\u201C dalyje {scope} {pivotCategory} pana\u0161us rezultatas: {count}",ah="Nepavyko rasti joki\u0173 \u0161ios ie\u0161kos rezultat\u0173.",Dse="Band\u0117me patikrinti j\u016Bs\u0173 paie\u0161kos ra\u0161ym\u0105 ir i\u0161pl\u0117sti apr\u0117pt\u012F, ta\u010Diau vis tiek nieko nepavyko rasti. Bandykite naudoti kit\u0105 rakta\u017Eod\u012F arba fraz\u0119.",Nse="J\u016Bs\u0173 \u012Frenginyje 6iuo metu yra apsauginis sulaikymas. I\u0161sami informacija \u0161iuo metu nepasiekiama. Kai bus pasiekiamas naujinimas, matysite j\u012F srities Parametrai puslapyje \u201EWindows Update\u201C.",Fse="Naujinimas j\u016Bs\u0173 \u012Frenginiui dar nepasiekiamas",Use="Nepavyko rasti joki\u0173 \u0161ios ie\u0161kos rezultat\u0173: {scope}.",Ose='Galite .',qse="Nepavyko rasti joki\u0173 \u201E{searchPhrase}\u201C atitinkan\u010Di\u0173 rezultat\u0173",Hse="Nepavyko rasti joki\u0173 \u201E{searchPhrase}\u201C atitinkan\u010Di\u0173 rezultat\u0173 apr\u0117ptyje {scope}";var ol="Hm, \u012Fvyko klaida",en="\u012Evyko klaida. Bandykite dar kart\u0105.";var Bp="\u201EGitHub\u201C";var Bse="Rikiuoti pagal:";var da="Paleisti",jse="Prad\u017Eia {startDate}",zse="Prad\u017Eios data";var Vse="Prad\u017Eios data";var Gse="Prad\u0117ti nuo prad\u017Ei\u0173";var Qse="{step-index} veiksmas i\u0161 {step-count}",Kse="{title} valdymas studij\u0173 vadovuose",Yse="{title} \u012Ftraukimas studij\u0173 vadovuose";var Wse="Tema",Jse="Temos",Nn="Pateikti";var Zse="Pateikti kit\u0105 atsiliepim\u0105";var Xse="S\u0117kmingai pateikta!",ere="D\u0117kojame, kad pateik\u0117te atsiliepim\u0105. Netrukus j\u012F per\u017Ei\u016Br\u0117sime. Atkreipkite d\u0117mes\u012F, kad atsiliepimo pateikimas yra vienpus\u0117 komunikacija, ir \u0161iuo metu mes neatsakome.",tre="Atkreipkite d\u0117mes\u012F, kad nors negalime atsakyti \u012F atsiliepimus, m\u016Bs\u0173 komanda naudos j\u016Bs\u0173 komentarus, kad pagerint\u0173 patirt\u012F.";var nre="Pasi\u016Blymai",ire="Pasi\u016Blymai bus filtruojami \u012Fvedant tekst\u0105";var ore="Palaikymas";var sre="{index} lentel\u0117";var rre="\u017Dym\u0117";var V2="\u017Dym\u0117s";var are="Liko simboli\u0173";var lre="I\u0161orinius vaizdus galima susieti tik i\u0161 tam tikr\u0173 svetaini\u0173. \u0160ie vaizdo URL neleid\u017Eiami: {urls}. Spustel\u0117kite, kad per\u017Ei\u016Br\u0117tum\u0117te vis\u0105 domen\u0173 leid\u017Eiam\u0173j\u0173 s\u0105ra\u0161\u0105.",cre="Failas {fileName} neleistinas. Failo tipas turi b\u016Bti tinkamas gif, jpg, jpeg arba png vaizdas.",ure="Failas {fileName} per didelis. Failo dydis negali vir\u0161yti penki\u0173 megabait\u0173.";var dre="\u201ECloud Shell\u201C";var pre="{account} jau turi profil\u012F",mre="Pasiek\u0117te savo paskyr\u0173 limit\u0105",gre="Su vienu profiliu galima susieti ne daugiau kaip penkias mokymo \u012Fstaigos arba darbo paskyras. Pa\u0161alinkite vien\u0105 paskyr\u0105 ir bandykite dar kart\u0105.";var fre="Jau turite susiet\u0105 paskyr\u0105 toje pa\u010Dioje organizacijoje";var hre="\u012Etraukite kit\u0105 paskyr\u0105 ir bandykite dar kart\u0105.";var bre='Susieti galite tik paskyras, kurios neturi registruoto profilio. Pasirinkite kit\u0105 paskyr\u0105 arba daugiau informacijos ie\u0161kokite trik\u010Di\u0173 diagnostikos skyriuje.';var _re="Jau esate susiej\u0119 \u0161i\u0105 paskyr\u0105",yre="{account} yra asmenin\u0117 paskyra. Pasirinkite mokymo \u012Fstaigos arba darbo paskyr\u0105.";var vre="Su savo profiliu turite susieti bent vien\u0105 paskyr\u0105.";var kre="Palaikoma tik viena vienos organizacijos paskyra.",xre="Galite susieti tik vien\u0105 asmenin\u0119 paskyr\u0105",Tre="Profilis \u0161iuo metu suliejamas",Sre="Galite atnaujinti puslap\u012F, kad patikrintum\u0117te suliejimo b\u016Bsen\u0105.";var wre="Pasirinkite paskyr\u0105",G2="Pasirinkite kit\u0105 paskyr\u0105";var Cre="Prie \u0161io profilio jau yra prijungtas sertifikato profilis",Ere="Jei norite t\u0119sti, kreipkit\u0117s \u012F klient\u0173 aptarnavimo tarnyb\u0105, kad b\u016Bt\u0173 pa\u0161alintas dabartinis sertifikato profilis ir b\u016Bt\u0173 galima t\u0119sti.";var Are="\u0160is profilis u\u017Erakintas",Pre="\u0160iuo metu \u0161is profilis u\u017Erakintas ir suliejamas su kitu profiliu. Prisijunkite prie kito profilio.",Q2="Kartoti suliejim\u0105",K2="Nutraukti suliejim\u0105";var Ire="Suliejimas baigtas";var Lre="Galite atnaujinti puslap\u012F, kad patikrintum\u0117te suliejimo b\u016Bsen\u0105.",Rre="Nepavyko rasti profilio suliejimo \u012Fra\u0161o",Mre='Nepavyksta rasti j\u016Bs\u0173 profilio suliejimo. Atnaujinkite puslap\u012F. Jei problema i\u0161lieka, kreipkit\u0117s \u012F klient\u0173 aptarnavimo tarnyb\u0105.',$re="Ankstesnis suliejimo bandymas neleid\u017Eia atlikti \u0161io veiksmo",Dre="Vienas i\u0161 profili\u0173, kur\u012F bandote sulieti, \u0161iuo metu suliejamas su kitu profiliu. Prisijunkite prie abiej\u0173 profili\u0173, kad patikrintum\u0117te b\u016Bsen\u0105.";var Nre="J\u016Bs\u0173 profiliai s\u0117kmingai sulieti.",Fre="I\u0161kilo problema suliejant \u0161altinio profil\u012F (vartotojo vardas: {sourceUser}) su paskirties profiliu (vartotojo vardas: {destinationUser}).",Ure="Kai kurie j\u016Bs\u0173 duomenys gal\u0117jo b\u016Bti sulieti \u0161iame procese, tod\u0117l tik\u0117tina, kad kai kurie duomenys dingsta i\u0161 \u0161altinio profilio ir rodomi paskirties profilyje.",Ore="Galite pasirinkti vien\u0105 i\u0161 \u0161i\u0173 veiksm\u0173:",qre="{terminateMergeText}: suliejimo procesas bus sustabdytas ir nutrauktas. Abu profilius gal\u0117site naudoti \u012Fprastai ir bet kuriuo metu gal\u0117site suaktyvinti nauj\u0105 suliejim\u0105. Jau sulieti duomenys liks paskirties profilyje.",Hre="{retryMergeText}: bus dar kart\u0105 paleistas suliejimo procesas. J\u016Bs\u0173 \u0161altinio profilis bus u\u017Erakintas suliejimo proceso metu.",Bre="Vykdomas suliejimas. Vykdymas gali trukti iki 10 minu\u010Di\u0173.",jre="J\u016Bs\u0173 suliejimas buvo nutrauktas.";var zre="\u201EMicrosoft\u201C MVP";var Vre="\u201E\u201EMicrosoft\u201C Learn\u201C studentas ambasadorius";var Gre="Prisijungti naudojant kit\u0105 paskyr\u0105";var Qre="Sveiki! \u010Cia klausimai ir atsakymai!",Kre="Gaukite asmeniniams poreikiams pritaikyt\u0173 naujinim\u0173 jums r\u016Bpimose temose",Yre="Gerinkite savo reputacij\u0105 pad\u0117dami kitiems",Wre="Akimirksniu susisiekite su \u017Emon\u0117mis, kurie domisi j\u016Bs\u0173 pom\u0117giais";var Jre="Neu\u017Ebaig\u0119 registracijos, j\u016Bs negal\u0117site skelbti ar u\u017Eduoti klausim\u0173 dalyje Klausimai ir atsakymai.";var Zre="J\u016Bs\u0173 nuomon\u0117",F0="Papasakokite daugiau.",Xre="I\u0161sakykite savo nuomon\u0119.",eae="I\u0161sakykite savo nuomon\u0119! Mums b\u016Btinas j\u016Bs\u0173 atsiliepimas.";var tae="Siaubingai";var U0="D\u0117kojame u\u017E j\u016Bs\u0173 atsiliepim\u0105.",nae="D\u0117kojame u\u017E vertingus atsiliepimus!";var iae="\u0160is straipsnis yra naudingas",oae="\u0160is straipsnis n\u0117ra naudingas";var sae="\u0160is puslapis";var rae="\u0160i sekcija bus panaikinta visam laikui.";var aae="Microsoft Build 2026";var lae="DI \u012Fg\u016Bd\u017Ei\u0173 \u0161vent\u0117";var cae="Catch up on keynotes, sessions, and announcements. Learn anytime, on demand, at your own pace.",uae="Watch on demand",dae="June 8-12, 2026",pae="Build your AI skills with chances to earn prizes and certification vouchers",mae="Get your free pass",gae="Arbatpinigiai";var bc="Pavadinimas";var fae="J\u016Bs\u0173 \u201EAzure\u201C paskyroje {email} yra keli nuomotojai. Pasirinkite vien\u0105 i\u0161 j\u0173, kad naudotum\u0117te \u0161i\u0105 funkcij\u0105:",hae="Jau esate prisijung\u0119 prie \u201ELearn\u201C naudodami tolesn\u0119 paskyr\u0105. Ar norite toliau naudoti dabartin\u0119 funkcij\u0105 su \u0161ia paskyra?",bae="Patvirtinkite savo paskyr\u0105",_ae="T\u0119sti naudojant paskyr\u0105",yae="Pasirinkite vien\u0105 i\u0161 \u201EAzure\u201C nuomotoj\u0173",vae="Nemokama \u201EAzure\u201C bandomoji versija",kae="O ne! \u0160ioje paskyroje n\u0117ra \u201EAzure\u201C prenumeratos",xae="J\u016Bs\u0173 paskyra {email} neturi susietos \u201EAzure\u201C prenumeratos. Galite i\u0161bandyti nemokam\u0105 bandom\u0105j\u0105 \u201EAzure\u201C versij\u0105 arba prisijungti prie kitos paskyros!",Tae="Jei j\u016Bs\u0173 paskyroje n\u0117ra registruoto \u201ELearn\u201C profilio, \u0161is procesas baigs registracij\u0105 u\u017E jus.";var Sae="Prisijunkite naudodami savo paskyr\u0105.",O0="Naudoti kit\u0105 paskyr\u0105";var Wo="Mokymas";var Ou="Hm, \u012Fvyko klaida. \u012Ekelkite puslap\u012F i\u0161 naujo ir bandykite dar kart\u0105.";var jp="Bandyti dar kart\u0105";var lh="I\u0161bandykite",wae="I\u0161bandykite REST API naudodami tolesnes \u012Fvestis.",Cae="Apdorojant j\u016Bs\u0173 u\u017Eklaus\u0105 kilo problema",Eae="Mokymo priemon\u0117s";var Aae="Pastarosios 7 dienos",Pae="Pastarosios 24 val.",Iae="Pastarosios 30 dien\u0173",Lae="Pastarosios 365 dienos";var Rae="tipas";var Mae="URL",q0="URL nukopijuotas!";var Y2="Patvirtinkite savo paskyr\u0105",ch="Versija",$ae="Versijos";var W2="Vaizdo \u012Fra\u0161as";var J2="Per\u017Ei\u016Br\u0117ti rezultatus ({totalResults})";var Dae="Rekomenduojame naudoti \u201EVisual Studio 2019\u201C.",Nae="Atsisi\u0173sti dabar",Fae="\u201EVisual Studio\u201C dokumentacija";var Uae="\u012Esp\u0117jimas";var Oae="Ar \u0161is puslapis buvo naudingas?";var qae="Tinklalapis";var H0="Savait\u0117";var B0="Savait\u0117s";var Hae="prie\u0161 {duration} sav.";var Bae='Sveiki, \u010Dia \u2013\u201E\u201EMicrosoft\u201C Learn\u201C!';var jae="Kokia yra j\u016Bs\u0173 atsiliepimo prie\u017Eastis?";var zae='su DI platformoje \u201E\u201EMicrosoft\u201C Learn\u201C ';var Vae="\u201EWindows\u201C dokumentacija";var uh="x.com",Z2="{totalXP} XP";var Gae="Metai",X2="Metai";var Tr="Taip",_c="Taip, naikinti";var Qae="Dar neturite joki\u0173 rinkini\u0173.";var Kae="Reikia pasirinkti nuo {min} iki {max} {tagLabel}.",Yae="`{tagLabel}` nebenaudojama. Naudokite kit\u0105 j\u016Bs\u0173 scenarijui taikom\u0105 \u017Eym\u0119.";var Wae="J\u016Bs\u0173 paskyra";var Jae="MSDN \u201ETechNet\u201C palaikymas nutraukiamas ir \u0161io straipsnio neb\u0117ra. \u0160iuose saituose pateikta susijusi informacija:",Zae="Suarchyvuotas \u201ETechNet Wiki\u201C turinys",Xae="Suarchyvuoti MSDN ir \u201ETechNet\u201C forumai";var ele="\u201E\u201EMicrosoft\u201C Learn\u201C dokumentacija",tle="\u201E\u201EMicrosoft\u201C Learn\u201C pagrindinis puslapis",nle="\u201EMicrosoft\u201C klausimai ir atsakymai";var zp=window;var H=zp,dh=zp.navigator,T=zp.document,ile=zp.localStorage,Ki=zp.history,ee=zp.location,b=H.msDocs,Se=new Promise(e=>{T.readyState==="loading"?T.addEventListener("DOMContentLoaded",()=>e()):e()});A();function Pt(){window.dispatchEvent(new CustomEvent("content-update"))}function tn(e,t,n="",i="button-info",o="banner",s){let r=s||T.getElementById("disclaimer-holder");if(!r||T.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 v(d` `,r),Pt(),r}var uk="__event_type_id__",jLe=0,je=class{constructor(){this.callbacks={}}publish(t){let n=t.constructor[uk];if(n===void 0||this.callbacks[n]===void 0)return;let i=this.callbacks[n].slice(0);for(let o of i)o(t)}subscribe(t,n){t.hasOwnProperty(uk)||(t[uk]=jLe++);let i=t[uk];this.callbacks[i]===void 0&&(this.callbacks[i]=[]);let o=this.callbacks[i];return o.indexOf(n)===-1&&o.push(n),()=>this.unsubscribe(t,n)}unsubscribe(t,n){let i=t[uk];if(i===void 0||this.callbacks[i]===void 0)return;let o=this.callbacks[i],s=o.indexOf(n);s!==-1&&o.splice(s,1)}dispose(){this.callbacks={}}},lt=new je;function Bu(e,t,n){let i=()=>{},o=s=>{n(s),i()};return i=e.subscribe(t,o),i}var yh=class{constructor(t){this.url=t}},_n=class{constructor(t,n,i){this.title=t;this.url=n;this.referrerUrl=i}};var al;function bF(){al={};let e=T.head.querySelectorAll("meta[name],meta[property]");for(let t=0;t{let i=n.name||n.getAttribute("property");return t[i]=n.content,t},{})}function I(e){return al===void 0&&bF(),al[e]===void 0?void 0:al[e][0]}function Sr(e){return al===void 0&&bF(),al[e]?al[e].slice():[]}var ct=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 I("enable_loc_sxs")==="true"||I("bilingual_type")==="hover over"}static get translationType(){return I("ms.translationtype")?.toUpperCase()}static get machineTranslated(){return this.translationType?/^(?:MT|MTE|MTE75|MTE95)$/i.test(this.translationType):!1}},Ds=class{static get brand(){return b.data.brand}static get kind(){return I("page_kind")}static get type(){return I("page_type")}static get template(){return b.data.pageTemplate}};function oe(e){let t,n=/\+/g,i=/([^&=]+)=?([^&]*)/g,o=r=>decodeURIComponent(r.replace(n," "));e===void 0&&(e=ee.search),e=e.substring(1);let s={};for(;t=i.exec(e);)s[o(t[1])]=o(t[2]);return s}function re(e,t=!1){let n=[];for(let i in e)e.hasOwnProperty(i)&&e[i]!==""&&e[i]!==null&&e[i]!==void 0&&(t&&Array.isArray(e[i])?e[i].forEach(o=>{n.push(encodeURIComponent(i)+"="+encodeURIComponent(o))}):n.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i].toString())));return n.join("&")}function jt(e,t,n){let i=oe(),o=!1;for(let c in e)e.hasOwnProperty(c)&&i[c]!==String(e[c])&&(i[c]=e[c],o=!0);let s=ee.hash;if(typeof n=="string"&&(n=n.trim(),n.substr(0,1)!=="#"&&n!==""&&(n=`#${n}`),s!==n&&(s=n,o=!0)),!o)return;let r=re(i);r.length>0&&(r="?"+r);let a=`${ee.protocol}//${ee.host}${ee.pathname}${r}${s}`,l=Ki.state||{};t==="pushState"?Ki.pushState(l,T.title,a):t==="replaceState"?Ki.replaceState(l,T.title,a):ee.href=a}function _F(e){let t=T.createElement("a");/^https:\/\/|^http:\/\//.test(e)?t.href=e:/^\/\//.test(e)?t.href=ee.protocol+e:t.href=ee.origin+e;let n=t.pathname[0]==="/"?t.pathname:"/"+t.pathname,i=t.host.replace(/:443$|:80$/,""),o=t.hostname.replace(/:443$|:80$/,"");return{hash:t.hash,host:i,hostname:o,href:t.href,origin:`${t.protocol}//${i}`,pathname:n,protocol:t.protocol,search:t.search}}function yF(e,t=2e3,n=";"){let i=encodeURIComponent(n).length,o=[],s,r;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}).`);(!s||r+l>t)&&(s=[],o.push(s),r=0),s.push(a),r+=l+i}return o}function lo(e=new URL(ee.href)){let t=new URLSearchParams(e.search),n={};return t.forEach((i,o)=>n[o]=i),n}var Zn=(()=>{let e;return t=>{if(!t&&e!==void 0)return e;let n=oe().dataSource;return e=I("is_archived")==="true"||b.data.pageTemplate==="SearchPage"&&n==="previousVersions",e}})();function VLe(){return I("is_retired")==="true"}function GLe(){let e=location.pathname.split("/").filter(t=>t!=="");return e.length>=2&&e[1]==="previous-versions"}function QLe(){if(!Zn())return;let e=ct.machineTranslated,t=e?oW:iW,n=GLe(),i=e?n?uW:nW:n?cW:eW,o=I("current_version_url"),s=VLe()?t:i;if(I("vs_archive")==="true"){let a=Dae,l=Nae;tn(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(o)tn(s,{url:o,text:dW});else if(b.data.pageTemplate==="SearchPage"){let a=VN;tn(_W,{url:location.origin,text:a})}else{let a=VN;tn(s,{url:location.origin,text:a})}}function xle(){Zn()&&QLe()}function KLe(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:KLe(location.hostname);var X={setItem(e,t){try{H.localStorage.setItem(e,t)}catch{}},getItem(e){try{return H.localStorage.getItem(e)}catch{return null}},removeItem(e){try{H.localStorage.removeItem(e)}catch{}},clear(){try{H.localStorage.clear()}catch{}}},vh={setItem(e,t){try{H.sessionStorage.setItem(e,t)}catch{}},getItem(e){try{return H.sessionStorage.getItem(e)}catch{return null}},removeItem(e){try{H.sessionStorage.removeItem(e)}catch{}}};var vF="docs.preview",kF=(new URLSearchParams(ee.search).get("preview")||"").split(",").map(e=>e.trim().toLowerCase()).reduce((e,t)=>(t!==""&&(e[t]=1),e),{}),dk,YLe=()=>{let e;return X.getItem(vF)?e=JSON.parse(X.getItem(vF)):e={},e},WLe=(e,t)=>{dk=YLe();let n=kF[e]===1,i=!isNaN(dk[e]),o=n||i,s=kF[`x-${e}`];return n?console.log(`Preview ${e} via query string`):i&&console.log(`Preview ${e} via local storage`),t&&(o||s)&&(o&&(dk[e]=Date.now()),s&&delete dk[e],X.setItem(vF,JSON.stringify(dk))),o},Qe=(e,t={require:!1,persist:!1})=>{let{require:n,persist:i}=t;return R.reviewFeatures&&Object.keys(kF).length===0&&!n?!0:(e=e.toLowerCase(),WLe(e,i))};function kh(e=ee.search,t=R.reviewFeatures){let n="preview-date",i=new URLSearchParams(e),o=new Date(i.get(n)).getTime();return t&&!isNaN(o)&&o!==0?o:Date.now()}var JLe=["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 Tle(){let e=I("original_content_git_url");return JLe.some(n=>e?.startsWith(n))}function Sle(){let e=I("page_type"),t=I("page_kind"),n=I("is_admin")==="true",i=I("is_editor")==="true";return e==="learn"||e==="profile"||n||i||t==="learn"&&(e==="browse"||e==="home")}var S=ZLe();function ZLe(){return{aiSummary:b.data.pageTemplate==="Conceptual"&&b.data.userLocale?.startsWith("en"),arkoseEncrypt:R.reviewFeatures,apiBrowser:!0,applicationInsights:Sle(),appliedSkills:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Qe("applied-skills",{require:!0})||Qe("applied-skills-share",{require:!0}),appliedSkillsManager:!0,appliedSkillsShare:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||Qe("applied-skills-share",{require:!0}),assessmentBranches:R.supportLevel==="production"&&R.reviewFeatures,assessmentMergerLearnAssessment:Qe("assessment-merger-learn-assessment",{require:!0}),assessmentMergerPracticeAssessment:Qe("assessment-merger-practice-assessment",{require:!0}),assessmentMergerRenewalAssessment:Qe("assessment-merger-renewal-assessment",{require:!0}),assessments:R.siteName==="learn",assessmentsEmail:Qe("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()||Qe("certification-and-course-updates",{require:!0}),certificationUpdates:Date.now()>=new Date("2023-10-06T17:00:00.000Z").getTime()||Qe("certification-updates",{require:!0}),codeSamples:!0,connectedExperiences:["Conceptual","FAQ","Question"].includes(b.data.pageTemplate),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"&&I("page_type")==="search"&&Zn()===!1,enableNewSiteSearch:I("page_type")==="search"&&Zn()===!1,enableModernSearchAnswer:(R.supportLevel==="development"||R.supportLevel==="production"&&R.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&I("page_type")==="search"&&Zn()===!1,enableSiteSearchExperiment:R.siteName==="learn"&&R.supportLevel==="production",feedbackReport:b.data.showFeedbackReport,formAdvisor:b.data.userLocale?.startsWith("en"),formAdvisorCredential:Qe("form-advisor-credential",{require:!0}),gamification:!0,gitContributors:!0,graphOriginUpdate:Qe("graph-origin-update",{require:!0}),hubUpdate:b.data.pageTemplate==="Hub"&&Qe("hub-update",{require:!0}),inlineEdit:Qe("inline-edit",{require:!0}),inlineFeedback:!0,interactivity:!0,labsOnDemand:!0,learnAssessments:!0,skipAssessmentDualWrite:Qe("assessment-v0",{require:!0}),learnEventRebrand:Qe("learn-rebrand",{require:!0}),learningPathIlt:!0,learningPathIltSearch:Qe("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&&(I("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===I("ms.topic")?.toLowerCase())&&I("ROBOTS")!=="NOINDEX,NOFOLLOW"&&!Tle(),pdfDownload:R.siteName==="learn",permissionedContent:R.reviewFeatures&&Qe("permissioned-content"),personalChallenge:Date.now()>=new Date("2024-05-28T19:00:00.000Z").getTime()||Qe("personal-challenge",{require:!0}),practiceAssessmentsAllowParam:R.reviewFeatures&&(I("page_kind")==="practiceAssessment"||I("page_kind")==="practiceAssessmentReport"),previewCredentialsL1:Date.now()>=new Date("2023-09-18T18:00:00.000-07:00").getTime()||Qe("credentials-L1",{require:!0}),previewOneStreamPlayerNextVersion:Qe("one-stream-player-next-version",{require:!0}),previewRailEventCard:Qe("rail-event-card",{require:!0}),previewQnaAiAdmin:Qe("qna-ai-admin",{require:!0}),previewQnaAiDemo:Qe("qna-ai-demo",{require:!0}),qna:!0,qnaCaptchaBypass:Qe("qna-captcha-bypass",{require:!0}),qnaStackResults:Qe("qna-stack-results",{require:!0}),quickWins:Qe("quick-wins",{require:!0}),referenceRightRailH3:I("in_right_rail")==="h2h3",referenceRightRailSticky:["Reference"].includes(b.data.pageTemplate),reportWebVitalsAlways:Qe("report-web-vitals",{require:!0}),rightRailSticky:["Conceptual","FAQ","HowTo","Reference","Architecture"].includes(b.data.pageTemplate),rss:!0,shareLink:!0,siteSearchProducts:Qe("site-search-products",{require:!0}),skipToCompletedModal:Qe("completed-modal",{require:!0}),stayCurrentAllowParam:R.reviewFeatures&&(I("page_kind")==="certification"||I("page_kind")==="certificationrenewal"||I("page_kind")==="certificationRenewalAssessment"||I("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"&&I("ocv-translation-feedback")==="true"&&ct.machineTranslated,trainingSkills:b.data.userLocale?.startsWith("en"),tenantManager:Qe("tenant-manager",{require:!0}),userFeedback:Qe("user-feedback",{require:!0}),planGenV2:Qe("plan-gen-v2",{require:!0}),userAnalyticsMocks:Qe("user-analytics-mocks",{require:!0}),userServices:!0,usingStandardFeedback:b.data.standardFeedback||b.data.pageTemplate==="ModuleUnit"||b.data.pageTemplate==="Module",unifiedSearchResults:Qe("unified-search-results",{require:!0})&&I("page_type")==="search"&&Zn()===!1,supportsSharing:I("page_type")!=="learn"&&!(b.data.contentLocale==="en-us"&&b.data.brand==="mooncake")}}function wle(e,t){let n=document.querySelector("#side-doc-outline li > a[aria-current='true']"),i=XLe(e),o=i===null?null:document.querySelector(`#side-doc-outline li > a[href="http://approjects.co.za/?big=#${i}"]`);n!==o&&(n&&eRe(n),o&&(tRe(o),nRe(o,t)))}function XLe(e){if(e.length>0){let t=e.length-1;for(let n=0;n0){t=n;break}if(e[t].getBoundingClientRect().top>=window.innerHeight&&(t-=1),t>=0)return e[t].id}return null}function eRe(e){let t=e.closest("details"),n=t?t.parentElement:e.parentElement;n&&(n.classList.toggle("border-color-transparent"),n.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 tRe(e){let t=e.closest("details"),n=t?t.parentElement:e.parentElement;n&&(n.classList.toggle("border-color-transparent"),n.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 nRe(e,t){(e.offsetTopt.scrollTop+t.clientHeight)&&(t.scrollTop=e.offsetTop-t.clientHeight/2)}var ju=j1({storageKey:b.data.layoutStateStorageKey,excludesKey:b.data.layoutStateExcludesKey,excludes:b.data.layoutStateExcludes,useViewTransitionOnRestore:!1,storage:localStorage});lt.subscribe(yh,()=>{document.documentElement.removeAttribute("data-layout-restored"),ju.stop()});lt.subscribe(_n,()=>{ju=j1({storageKey:b.data.layoutStateStorageKey,excludesKey:b.data.layoutStateExcludesKey,excludes:b.data.layoutStateExcludes,useViewTransitionOnRestore:!1,storage:localStorage})});function Cle(){o8(),lt.subscribe(_n,Za),window.addEventListener("content-update",Za);let e=["[data-dismissable]"];window.addEventListener("click",iRe(e))}function iRe(e){return t=>{t.target instanceof Element&&t.target.closest(e.join(","))&&Za()}}function Ele(){return document.querySelector("[data-collapsible-toc-toggle]")}var oRe=async(e=!document.documentElement.classList.contains("layout-menu-collapsed"))=>{await Se;let t=Ele(),n=document.getElementById("left-container"),i=document.getElementById("ms--toc-content");if(!t||!n||!i)return;let o=e?TC:VC;t.setAttribute("aria-expanded",String(e)),t.setAttribute("aria-label",o),t.title=o,n.setAttribute("data-toc-collapsed",String(!e)),t.setAttribute("data-bi-name",e?"toc-collapse":"toc-expand"),n.classList.toggle("width-full",!0),i.classList.toggle("padding-left-sm",e),i.classList.toggle("padding-left-xxs",!e),t.hidden=!1};async function Ale(){let e=Ele();e&&(ju.subscribe("layout-menu-collapsed","always",t=>oRe(!t.isApplied),{useViewTransition:!1}),e.addEventListener("click",()=>{document.documentElement.classList.toggle("layout-menu-collapsed")}))}async function Ple(){await Ale();let e=T.getElementById("affixed-left-container"),t=T.getElementById("affixed-right-container");if((S.connectedExperiences||S.rightRailSticky)&&t&&sRe(t),e===null)return;let n=T.getElementById("footer"),i=T.querySelector(".layout-body-header"),o=8,s=1;e.style.top=`${o}px`;function r(){if(e==null||e.hasAttribute("disable-affix"))return;let c=H.innerHeight;if(c<450)e.classList.remove("position-sticky"),e.style.maxHeight="";else{e.style.height="0";let u=n.getBoundingClientRect().height,p=u===0?0:Math.max(0,c-n.getBoundingClientRect().top),m=i.getBoundingClientRect().height,g=m===0?0:Math.max(0,i.getBoundingClientRect().bottom),f=T.body.scrollHeight;e.classList.add("position-sticky"),e.style.maxHeight=`${f-(2*o+m+u+s)}px`,e.style.height=`calc(100vh - ${o+g+p+s}px)`}}let a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(r)}H.addEventListener("scroll",l,{passive:!0}),H.addEventListener("resize",l,{passive:!0}),H.addEventListener("content-update",l),H.addEventListener("dismiss-content-update",l),r(),H.addEventListener("load",r,!1),H.addEventListener("pageshow",r,!1),H.addEventListener("DOMContentLoaded",r,!1)}function sRe(e){let n=T.getElementById("footer");e.classList.add("position-sticky"),e.style.top="8px";function i(){let r=8,a=e.offsetHeight;if(a>H.innerHeight){let l=a-H.innerHeight;r=-1*(8/2+Math.min(H.scrollY,l))}if(e.style.top=`${r}px`,S.rightRailSticky){e.style.removeProperty("bottom"),e.style.top=`${r}px`;let l=T.getElementById("side-doc-outline"),c=T.getElementById("ms--site-user-feedback-right-rail");if(!l&&!c)return;let u=n.getBoundingClientRect().height,p=T.querySelector(".header-holder"),m=p.getBoundingClientRect().height,g=c?c.getBoundingClientRect().height:0,f=T.body.scrollHeight;e.style.maxHeight=`${f-(2*8+m+u)}px`;let _=u===0?0:Math.max(0,H.innerHeight-n.getBoundingClientRect().top),h=m===0?0:Math.max(0,p.getBoundingClientRect().bottom);if(e.style.height=`calc(100vh - ${2*8+h+_}px)`,l){l.style.overflow="auto",l.style.maxHeight=`calc(100% - ${g}px)`;let k="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",y=S.referenceRightRailH3?`#main h2:not(${k}), #main h3`:`#main h2:not(${k})`,x=Array.from(T.querySelectorAll(y)).filter(P=>!!P.id&&P.offsetParent!==null);wle(x,e)}}}let o=0;function s(){cancelAnimationFrame(o),o=requestAnimationFrame(i)}H.addEventListener("scroll",s,{passive:!0}),H.addEventListener("resize",s,{passive:!0}),H.addEventListener("content-update",s),i(),H.addEventListener("load",i,!1),H.addEventListener("DOMContentLoaded",i,!1)}var rRe=/([a-z]\.)([a-z])/gi,aRe=/([a-z])([A-Z]+[a-z])/g,lRe=/(\w\/)(\S?)/gi,J0="",xF=`$1${J0}$2`,cRe=/\u200B/g;function Pi(e,t=3){return!e||!e.length||t===0||(t&2&&(e=e.replace(rRe,xF)),t&1&&(e=e.replace(aRe,xF)),t&4&&(e=e.replace(lRe,xF))),e}function Ile(e,t){let n=[];if(!e||t===0)return n;e=Pi(e,t);let i=0,o=e.indexOf(J0,i);for(;o!==-1;)n.push(e.substring(i,o)),n.push(document.createElement("wbr")),i=o+J0.length,o=e.indexOf(J0,i);return n.push(e.substring(i)),n}function Lle(e){return e.replace(cRe,"")}var uRe={"&":"&","<":"<",">":">",'"':""","'":"'"},Rle=/[&<>"']/g,dRe=RegExp(Rle.source);function ze(e){return e&&dRe.test(e)?e.replace(Rle,t=>uRe[t]):e}function Z0(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Jp(e){let t=e.cloneNode(!0);t.hidden=!0,document.body.appendChild(t);function n(i){i!==null&&(n(i.nextElementSibling),window.getComputedStyle(i,null).getPropertyValue("display")==="none"?i.parentElement.removeChild(i):n(i.firstElementChild))}return n(t.firstElementChild),document.body.removeChild(t),t.textContent}function Xo(e,t={year:"numeric",month:"short",day:"numeric"},n=b.data.userLocale){return new Date(e).toLocaleDateString(n,t).replace(/\u200E/g,"")}function X0(e){Array.from(document.querySelectorAll("span[data-localize-date]")).forEach(n=>{if(n.textContent!==""){let i=Xo(new Date(n.textContent),e);n.textContent=i}})}var pRe=/(^|\s)(C#|F#|C\+\+)($|\s|[.,!?;:])/g;function eA(e,t="text"){let n=`$1$2${t==="text"?"\u200E":"‎"}$3`;return e.replace(pRe,n)}function Mle(e=document.body,t=b.data.userLocale){e.querySelectorAll("time[data-article-date]").forEach(i=>{i.classList.remove("is-invisible");let o;try{if(o=new Date(i.getAttribute("datetime")),isNaN(o.getTime()))return}catch{return}i.setAttribute("datetime",o.toISOString());let s={year:"numeric",month:"2-digit",day:"2-digit"};i.getAttribute("data-article-date-source")==="ms.date"&&(s.timeZone="UTC");let a=Xo(o,s,t);i.textContent=a})}function TF(e){return decodeURIComponent(atob(mRe(e).replace(/_/g,"/").replace(/-/g,"+")).split("").map(t=>`%${("00"+t.charCodeAt(0).toString(16)).slice(-2)}`).join(""))}function mRe(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 SF="id_token",nA="docsAuthToken",gRe="account_linking_token",pk=class{constructor({detail:t}){this.message="invalid token",this.detail=t}},ll=class{constructor({detail:t}){this.message="invalid claim",this.detail=t}},tA=class{constructor({detail:t}){this.message="malformed claim",this.detail=t}};function iA(e){X.setItem(SF,e)}function zu(){return X.getItem(SF)}function oA(){X.removeItem(SF)}function sA(e){X.setItem(nA,e)}function Xn(){return X.getItem(nA)}function rA(){X.removeItem(nA)}function xh(){X.removeItem(gRe)}function Zp(e,t={nbfClockSkewInMilliseconds:2500}){try{if(!(e&&e.length&&e.indexOf(".")>-1))throw new pk({detail:"Invalid JWT - no separators found."});let i=e.split("."),o=JSON.parse(TF(i[1]));if(!o)throw new pk({detail:"Invalid JWT - payload is missing."});if(o.hasOwnProperty("nbf")){let s=o.nbf;if(isNaN(s))throw new tA({detail:"Invalid NBF claim - claim is malformed."});let r=new Date(0);r.setUTCSeconds(o.nbf);let a=new Date(Date.now()+t.nbfClockSkewInMilliseconds);if(r>a)throw new ll({detail:"Invalid NBF claim - token not yet valid."})}if(o.hasOwnProperty("exp")){let s=o.exp;if(isNaN(s))throw new tA({detail:"Invalid EXP claim - claim is malformed."});let r=new Date(0);r.setUTCSeconds(o.exp);let a=new Date(Date.now());if(r<=a)throw new ll({detail:"Invalid EXP claim - token has expired."})}return o}finally{}}var aA=e=>{if(!(e&&e.length&&e.indexOf(".")>-1))throw new pk({detail:"Invalid JWT - no separators found."});let n=e.split(".");return JSON.parse(TF(n[1]))};var Dle=`data:image/svg+xml;base64,${btoa('')}`,Nle=`data:image/svg+xml;base64,${btoa('')}`,Fle="a4d008df-4ece-4cb3-b7c9-d1be5ac4cacf",fRe=(e,t)=>{e||(e=Bo);let n=t.replace(/\D/g,""),i=parseInt(n.slice(0,2))*.01,o=parseInt(n.slice(2,4))*.01,s=i*320,r=o*100,a=Math.floor(i*31+10),l=`hsl(${s}, ${r}%, ${a}%)`,c=(e.match(/\b(\w)/g)||["A"]).join("").substring(0,2).toUpperCase();return{backgroundColor:l,initials:c}},gi=(e,t)=>{let{backgroundColor:n,initials:i}=fRe(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='${n}' cx='32' cy='32' r='32' /%3E%3Ctext x='50%25' y='55%25' dominant-baseline='middle' text-anchor='middle' fill='%23FFF' %3E${i}%3C/text%3E%3C/svg%3E`}`},Sn=class{},es="72f988bf-86f1-41af-91ab-2d7cd011db47",cA="9188040d-6c67-4c5b-b112-36a304b66dad",Ule="1a092f68-5741-455a-8057-2acdb897a850",Ole="604c1504-c6a3-4080-81aa-b33091104187",qle="ada63eea-fd1c-4d79-b40a-41d1380df7a5",wF={[es]:"microsoft",[cA]:"standard"},CF=new Date("2019-11-21T00:00:00.000Z"),dn=(e,t)=>uA(e,t).toString(),lA=class extends je{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=gi(this.displayName,this.userId),this.avatarThumbnailUrl=gi(this.displayName,this.userId),this.profileUrl="#",this.createdOn=null,this.userType="standard",this.acceptedPrivacyNotice=CF,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.companionPreferences=void 0,this.legalName=null,this.publish(new Sn))}mapIdTokenToProfile(n){this.email=n.email||n.preferred_username,this.upn=n.preferred_username,this.userName=n.name,this.displayName=n.name,this.authenticationMode=wF[n.tid]==="standard"?"MSA":"AAD",this.userType=wF[n.tid]||"aad",this.isAuthenticated=!0,this.country="",this.credentialId=this.authenticationMode==="AAD"?n.oid:n.puid,this.authenticationModes=[{id:this.credentialId,type:this.authenticationMode,tenantId:n.tid,upn:this.upn}],this.publish(new Sn)}readUserProfile(n){this.userId=n.userId,this.email=n.email||"",this.userName=n.userName,this.displayName=n.displayName||n.userName||n.email,this.locale=n.locale,this.country=n.country,this.contactPointTopicSetting=n.contactPointTopicSetting,this.isAuthenticated=!0,this.avatarUrl=n.avatarUrl||gi(this.displayName,this.userId),this.avatarThumbnailUrl=n.avatarThumbnailUrl||n.avatarUrl||gi(this.displayName,this.userId),this.profileUrl=dn(n.userName),this.authenticationModes=n.authenticationModes,this.userType=hRe(n.authenticationModes),this.acceptedPrivacyNotice=new Date(n.acceptedPrivacyNotice),this.isAvatarTakenDown=n.isAvatarTakenDown,this.followingCount=n.followingCount,this.followerCount=n.followerCount,this.answersAccepted=n.answersAccepted,this.affiliations=n.affiliations,this.reputationPoints=n.reputationPoints,this.createdOn=new Date(n.createdOn),this.qnaUserId=n.qnaUserId,this.interests=n.interests,this.isPrivate=n.isPrivate,this.source=n.source,this.certificationSettings=n.certificationSettings,this.transcriptSettings=n.transcriptSettings,this.qnaEmailPreferences=n.qnaEmailPreferences,this.companionPreferences=n.companionPreferences,this.isQnaModerator=n.isQnaModerator,this.sharingId=n.sharingId,this.isChallengeAdmin=n.isChallengeAdmin,this.legalName=n.legalName||null,this.publish(new Sn)}readUserFromToken(n){this.isAuthenticated=!0,this.instructor=n.instructor,this.isChallengeAdmin=n.is_challenge_admin,this.isMecUser=n.is_mec_user,this.userId=n.sub,this.upn=n.cred_upn,this.tenantId=n.tid,this.credentialId=n.cred_id,this.userName=n.preferred_username,this.displayName=n.name||n.preferred_username||n.email,this.avatarUrl=n.picture||gi(this.displayName,this.userId),this.avatarThumbnailUrl=n.thumbnail||n.picture||gi(this.displayName,this.userId),this.authenticationMode=n.cred_type,this.locale=n.locale,this.acceptedPrivacyNotice=new Date(n.accepted_privacy_notice),this.userType=wF[n.tid]||"aad",this.profileUrl=dn(n.preferred_username),this.email=n.email||"",this.idTokenEmail=n.id_token_email||"",this.sharingId=n.sharing_id||"",this.publish(new Sn)}whenAuthenticated(){return w.isAuthenticated?Promise.resolve():new Promise(n=>this.subscribe(Sn,()=>{this.isAuthenticated&&n()}))}},w=new lA;function EF(e,t){e&&Array.from(e.querySelectorAll("[data-profile-property]")).forEach(n=>{let i=n.getAttribute("data-profile-property"),o=t,s=t.profileUrl;n instanceof HTMLImageElement&&i==="avatarUrl"?(n.onerror=()=>n.src=gi(t.displayName,t.userId),n.src=o[i]):n instanceof HTMLImageElement&&i==="avatarThumbnailUrl"?(n.onerror=()=>n.src=t.avatarUrl||gi(t.displayName,t.userId),n.src=o[i]):n instanceof HTMLAnchorElement&&i==="profileUrl"?(n.href=dn("me","activity"),s==="#"&&(n.href=new URL("./register",yc()).toString())):n instanceof HTMLAnchorElement&&i==="bookmarksUrl"?(n.href=s+(R.reviewFeatures?"§ion=collections&detail=bookmarks":"collections/bookmarks"),s==="#"&&n.parentElement.remove()):n instanceof HTMLAnchorElement&&i==="collectionsUrl"?(n.href=s+(R.reviewFeatures?"§ion=collections":"collections"),s==="#"&&n.parentElement.remove()):n instanceof HTMLAnchorElement&&i==="settingsUrl"?n.href=dn("me","settings"):n instanceof HTMLInputElement?n.type!=="file"&&(n.value=o[i]):i==="createdOn"?n.textContent=Xo(o[i]):n.textContent=o[i]})}function uA(e,t){let n=yc(),i=new URLSearchParams(ee.search);I("page_type")==="profile"&&(n.hash=ee.hash),R.reviewFeatures&&(i.has("branch")&&n.searchParams.set("branch",i.get("branch")),i.has("themebranch")&&n.searchParams.set("themebranch",i.get("themebranch")),i.has("preview")&&n.searchParams.set("preview",i.get("preview")));let o=`./${e}/`;t&&(o+=`${t}/`);let s=new URL(o,n);return s.hash=n.hash,s.search=n.search,n=s,n}function yc(e=b.data.userLocale){let t=new URL(`${e&&e.length?`/${e}`:""}/`,ee.origin);return new URL("./users/",t)}function hRe(e){let t="standard";return e&&e.length&&(e.find(n=>n.tenantId===es)!==void 0?t="microsoft":e.find(n=>n.type==="AAD")!==void 0&&(t="aad")),t}function me(e){return e.status===401&&w.setAnonymous(),e}var bRe={"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"}},_Re={"https://review.learn.microsoft.com":{stayCurrent:"https://review.learn.microsoft.com/api/certification",skillAssessment:"https://review.learn.microsoft.com/api/skillassessment"}};function yRe(e,t){let n=e,i=t.systemContent?e:n,o=t.supportLevel==="production"?"https://api.ilt.learningcredentials.microsoft.com":"https://api.dev.ilt.learningcredentials.microsoft.com",s=bRe[e]||{},r=_Re[e]||{};return{admin:`${n}/api/admin`,selfAssessmentsAdmin:vRe(),apiBrowser:`${n}/api/apibrowser`,assessments:`${i}/api/assessments`,assessmentsAuthoring:`${i}/api/assessments/authoring`,learnAssessment:`${i}/api/assessment`,assessmentsBranch:"https://review.learn.microsoft.com/api/assessments/branches",attachment:`${n}/api/attachments`,azureManagement:"https://management.azure.com",auth:{docs:`${n}/api/profiles/auth`,identityPlatform:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",signOut:`${n}/api/profiles/signout`,partner:`${n}/api/profiles/partnerAuth/authorize`},blogs:`${n}/api/archives/blogs/comments`,browse:{certification:`${n}/api/contentbrowser/search/certifications`,credential:`${n}/api/contentbrowser/search/credentials`,course:`${n}/api/contentbrowser/search/certifications/courses`,events:`${n}/api/contentbrowser/search/events`,learn:`${n}/api/contentbrowser/search`,learnHome:`${n}/api/contentbrowser/home/learn`,learnHomePersonalized:`${n}/api/contentbrowser/home/personalized/learn`,sample:`${n}/api/contentbrowser/search/samples`,lifecycle:`${n}/api/contentbrowser/search/lifecycles`,architecture:`${n}/api/contentbrowser/search/architectures`,windowsSafeguards:`${n}/api/contentbrowser/search/windowsSafeguards`,shows:`${n}/api/contentbrowser/search/shows`},buildAuthAdmin:`${n}/api/build`,prDevBuildAuthAdmin:"https://docs-buildauth-locdev-wus.azurewebsites.net",certification:{appointments:`${n}/api/certification/appointments`,certification:`${n}/api/certification`,certifications:`${n}/api/certification/certifications`,dashboardSummary:`${n}/api/certification/dashboardsummary`,exams:`${n}/api/certification/exams`,linkedAccount:`${n}/api/certification/linkedAccount`,linkedMcId:`${n}/api/certification/linkedMcId`,printableCertification:`${n}/api/certification/printableCertification`,pvuetransfer:`${n}/api/certification/pvuetransfer`,renewalAssessments:`${n}/api/certification/scoredsnapshots`},cloudShell:"https://ux.console.azure.com",contentNav:e,contentOrigin:i,contentAuthorizationService:{setCasTokenCookie:`${n}/api/cas/user/token`,deleteCasTokenCookie:`${n}/api/cas/user/signout`},agentService:{stream:`${n}/api/agentservice/completion/stream`,conversations:`${n}/api/companion/conversations`},copilot:{chatAssistant:`${n}/api/copilot/chat/assistant?responseFormat=Markdown&preview=citations`,summarize:`${n}/api/copilot/content/summarize`,chatPlanGeneration:`${n}/api/copilot/chat/plangeneration`},encryptCaptchaPayload:`${n}/api/resources/captcha/encrypt`,forumSearch:{azureKbQuestionSuggestions:`${n}/api/questions/azurekb/searchMSDNThreads/v1.0`},achievements:`${n}/api/achievements`,github:"https://api.github.com",githubOAuth:"https://github.com/login/oauth/authorize",labOnDemand:`${n}/api/resources/labondemand`,learn:{achievementsByUids:`${n}/api/hierarchy/achievements`,batchItemSummaries:`${n}/api/hierarchy/items`,certification:`${n}/api/hierarchy/certification`,challenge:`${n}/api/challenges`,episode:`${n}/api/video/public/v1/entries`,exams:`${n}/api/hierarchy/exams`,iltCourses:{scheduling:`${o}/ilt-scheduling/offerings`,location:`${o}/ilt-scheduling/offerings/location`,languages:`${o}/ilt-scheduling/languages`,duration:`${o}/ilt-scheduling/duration`},learningPath:`${n}/api/hierarchy/paths`,module:`${n}/api/hierarchy/modules`,unit:`${n}/api/hierarchy/units`,progress:{batchUnit:`${n}/api/progress/units`,learningPathPass:`${n}/api/progress/learningPathPass`,moduleAssessment:`${n}/api/progress/moduleAssessment`,unit:`${n}/api/progress/units`,user:`${n}/api/progress`},show:{episodes:`${n}/api/hierarchy/shows`,videos:`${n}/api/video/public/v1/entries/batch`},skillAssessment:`${n}/api/skillassessment`,stayCurrent:`${n}/api/certification`,...r},lists:`${n}/api/lists`,metadata:{platformId:`${n}/api/mms/document/platformId`,metadata:`${n}/api/mms/document/`,schema:`${n}/api/mms/contentTypes/`},monikers:`${i}/_api/familyTrees`,nextSteps:`${n}/api/nextsteps`,ocvFeedback:"https://petrol.office.microsoft.com/v1/feedback",pdf:`${e}/pdf`,privacy:{cookieConsentDeleteService:`${e}/api/privacy/cookieDelete`,delete:`${i}/api/privacy/delete`,partialDelete:`${i}/api/privacy/partialdelete`,export:`${i}/api/privacy/export`},profile:{acknowledgeMergeStatus:`${n}/api/profiles/merge/acknowledge`,acknowledgePrivacyNotice:`${n}/api/profiles/me/acknowledgePrivacyNotice`,avatar:`${n}/api/profiles/me/avatar`,avert:`${n}/api/profiles/avert`,certification:`${n}/api/profiles/certification/certifications`,credential:{private:`${n}/api/credentials/credential`,public:`${n}/api/credentials/{credentialId}`,list:`${n}/api/credentials/me`},challenge:`${n}/api/profiles/challenge`,groups:{users:`${n}/api/profiles/groups/{groupId}/users`,manage:`${n}/api/profiles/groups/{groupId}/users/{userId}`},deleteMecUserData:`${n}/api/profiles/mec/delete`,follow:`${n}/api/profiles/follow/{type}/{id}`,unfollow:`${n}/api/profiles/unfollow/{type}/{id}`,follows:`${n}/api/profiles/follows`,followsIds:`${n}/api/profiles/follows/ids`,userFollows:`${n}/api/profiles/userfollows/{userId}`,link:`${n}/api/profiles/link`,me:`${n}/api/profiles/me`,merge:`${n}/api/profiles/merge`,mergeDetails:`${n}/api/profiles/merge/details`,user:`${n}/api/profiles/{username}`,userRetryMerge:`${n}/api/profiles/merge/userretry`,userCancelMerge:`${n}/api/profiles/merge/usercancel`,migrateMecUserData:`${n}/api/profiles/mec/migrate`,profiles:`${n}/api/profiles`,qnaFollowing:`${n}/api/qna/following`,reporting:`${n}/api/profiles/reporting`,validateMerge:`${n}/api/profiles/merge/validate`,transcript:{private:`${n}/api/profiles/transcript/me`,public:`${n}/api/profiles/transcript/share`,settings:{publicLink:`${n}/api/profiles/transcript/share`,transcript:`${n}/api/profiles/transcript/me/settings`}},activeTakedowns:`${n}/api/profiles/takedown/active`,reportStatus:`${n}/api/profiles/report/status/{userId}`,reportConcern:`${n}/api/profiles/report/concern`,contributorEngagement:`${n}/api/profiles/contributor/engagement`},qna:{communication:{getToken:`${n}/api/questions/user/communication_token`,createJoinThread:`${n}/api/questions/admin/private_conversation/{questionId}`,render:`${n}/api/questions/markdown-to-html`,chatMessage:`${Hle()}/chat/threads/{communicationChatThreadId}/messages/{messageId}?api-version=2023-11-07`,chatThread:`${Hle()}/chat/threads/{communicationChatThreadId}/messages?api-version=2023-11-07`},analyticsSummary:`${n}/api/questions/dashboard/metrics`,analyticsQuestions:`${n}/api/questions/answered`,questionAnswerCommentVote:`${n}/api/questions/answers/comments/{commentId}/vote`,questionCommentVote:`${n}/api/questions/comments/{commentId}/vote`,questionDetails:`${n}/api/questions/{questionId}/details`,questionAiAnswer:{generate:`${n}/api/questions/{questionId}/aiAnswer`},questionAgentAnswer:`${n}/api/questions/agentanswer`,questionAutoTagging:{generate:`${n}/api/questions/autotagging`},threadHistory:`${n}/api/questions/admin/questions/{questionId}/history`,questionVote:`${n}/api/questions/{questionId}/vote`,rateAnswerHelpful:`${n}/api/questions/answers/{answerId}/helpful/yes?_method=PUT`,rateAnswerUnhelpful:`${n}/api/questions/answers/{answerId}/helpful/no?_method=PUT`,rateAnswerReset:`${n}/api/questions/answers/{answerId}/helpful/notSet?_method=PUT`,suspended:`${n}/api/questions/users/suspended`,tags:`${n}/api/questions/tags/autocomplete`,tagsNextLevelV2:`${n}/api/questions/tags/nextlevelv2`,admin:{suspend:`${n}/api/questions/admin/users/{userId}/suspend`,unsuspend:`${n}/api/questions/admin/users/{userId}/unsuspend`,suspended:`${n}/api/questions/admin/users/{userId}/suspended`,blockedcontent:`${n}/api/questions/admin/blockedcontent`,updateBlockedContent:`${n}/api/questions/admin/blockedcontent/{contentId}`,deleteAllUserContent:`${n}/api/questions/admin/users/{userId}/deleteAllUserContent`}},qnaSettings:`${n}/en-us/answers/users/{qnaId}/{username}/preferences.html`,recommendations:`${n}/api/recommendations`,sandbox:`${n}/api/resources/sandbox`,sandboxManager:`${n}/api/resources/admin`,siteFeedback:`${n}/api/feedback/report`,siteSearch:`${e}/api/search`,searchAnswer:{user:`${n}/api/aisearch/answers/user/html`,guest:`${n}/api/aisearch/answers/guest/html`},deepSearch:`${n}/api/aisearch/deepsearch/stream`,taxonomy:`${n}/api/taxonomies`,tenantManager:`${n}/api/resources/tenant`,uhf:{consentBanner:`${n}/api/GetConsentBanner`},video:`${n}/api/admin`,...s}}function vRe(){return"https://docs-rcs-pubdev.azurewebsites.net"}function Hle(){return R.supportLevel==="production"?"https://docsquestions-acs-public.unitedstates.communication.azure.com":"https://docsquestions-acs-pubdev.unitedstates.communication.azure.com"}var $=yRe(location.origin,R);var kRe=30*1e3,M=async(e,t,n=kRe,i)=>{t=t||{};let o=new AbortController,s=()=>o.abort();i?.addEventListener("abort",s),t.signal=o.signal;try{let r=setTimeout(()=>o.abort(),n),a=await fetch(e,t);return clearTimeout(r),a}finally{i?.removeEventListener("abort",s)}};function J(e,t,n=!0,i=!0){t=t||{},t.mode="cors",t.credentials!=="omit"&&(t.credentials="same-origin");let o=new Request(e,t);return n&&Xn()&&o.headers.set("Authorization",`Bearer ${Xn()}`),(o.method==="PUT"||o.method==="POST")&&i&&o.headers.set("Content-Type","applicationhttps://www.microsoft.com/json"),o}var mk=class{};function AF(e){let t={method:"GET"},n=J($.auth.docs,t,!1);return n.headers.set("Authorization",`Bearer ${e}`),M(n).then(i=>{if(i.ok)return i.text();throw i.status===404||i.status===204?new mk:i.status===401?new ll({detail:"token not accepted"}):new Error(`get docs auth token failed (${i.status} ${i.statusText})`)})}function Xp(e,t=!0){try{if(e.ok&&e.headers.has("Authorization")){let n=e.headers.get("Authorization");if(n){let i=Zp(n);sA(n),t&&w.readUserFromToken(i)}}return e}catch{return e}}function ft(e=["api-branch","branch"],t=""){if(R.accessLevel==="local")return"main";if(R.reviewFeatures===!0){let n=oe(ee.search);return e.reduce((i,o)=>i||n[o],"")||t}return null}var He=class extends Error{constructor(t,n){super(`Unexpected response status ${t?.status??""}: ${t?.statusText??""} from "${t?.url??""} with error type of ${n}".`),this.status=t?.status,this.statusText=t?.statusText,this.url=t?.url,this.type=n,this.response=t,R.reviewFeatures&&console.error(this)}};async function em(e){let t;try{t=e.response.json?(await e.response.json()).errorCode:null}catch{t=null}return t}function dA(e){if(!Array.isArray(e))throw new He({statusText:"Value must be an array"},"InvalidTypeError");return e}function Th(e,t){let n=t.filter(i=>e[i]===null||e[i]===void 0);if(n.length>0)throw new He({statusText:`Missing required fields in object: ${n.join(", ")}`},"MissingRequiredApiAttribute");return e}function Ble(e,t){throw new He({statusText:`Type Conversion Error: converting type ${typeof e} to ${t} failed for value ${e.toString()}`},"TypeConversionError")}function PF(e){let t;try{t=parseInt(e)}catch{Ble(e,"number")}return isNaN(t)&&Ble(e,"number"),t}function vc(e,t,n=!0,i="applicationhttps://www.microsoft.com/json",o="",s=!0){t=t||{},t.mode="cors",t.credentials="same-origin";let r=new Request(e,t);return n&&r.headers.set("Authorization",`Bearer ${o||Xn()}`),(r.method==="PUT"||r.method==="POST")&&s&&i!=="multipart/form-data"&&r.headers.set("Content-Type",i),r}async function kc(e){let t=`${$.profile.profiles}/${e}`,i=await M(vc(t,{method:"GET"},!1));return me(i),i.ok?await i.json():(i.status===204,null)}async function IF(e){if(!e)return null;if(e===Fle)return{displayName:Bo,userId:e,avatarUrl:gi(Bo,e)};let t=`${$.profile.profiles}/id:${e}`,i=await M(vc(t,{method:"GET"},!1));return me(i),i.ok?await i.json():(i.status===204,null)}async function tm(e){try{let t=await fetch(vc($.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 Sh(e,t){let n=`${$.profile.profiles}/${e}`,o={credentials:"include",method:"PUT",body:JSON.stringify(t)},s=await M(vc(n,o));if(me(s),s.ok){Xp(s,!1);let r=await s.json();return w.readUserProfile(r),{hasError:!1,profile:r}}else if(s.status===400){let r=await s.json();return{hasError:!0,message:r.message,errors:r.errorCode.split(",")}}return{hasError:!0,message:s.statusText,errors:["somethingWentWrong"]}}async function jle(){let e=$.privacy.delete,n=await M(vc(e,{credentials:"include",method:"POST"},!0,"","",!1));return me(n),n.ok}async function zle(){let e=$.profile.acknowledgePrivacyNotice,n=await M(vc(e,{method:"POST"}));if(me(n),Xp(n,!1),!n.ok)throw new Error(`Unexpected response status ${n.status} for ${e}`)}async function LF(){let e=$.profile.merge,n=await M(vc(e,{method:"GET"}));if(me(n),n.ok){let{status:i}=await n.json();return i}return null}async function Vle(){let e=$.profile.mergeDetails,n=await M(vc(e,{method:"GET"}));return me(n),n.ok?await n.json():null}async function Gle(){let e=$.profile.acknowledgeMergeStatus,n=await M(vc(e,{method:"POST"}));if(me(n),Xp(n,!1),!n.ok)throw new Error(`Unexpected response status ${n.status} for ${e}`)}var xRe=["vscode://docsmsft.learn-tutor","vscode-insiders://docsmsft.learn-tutor"];function Qle(e){return e?xRe.some(t=>e.toLowerCase().startsWith(t)):!1}var TRe="https://sanitize-url.invalid/";function pA(e){if(!e)return"";let t=String(e).trim();if(!t)return"";let n;try{n=new URL(t,TRe)}catch{return""}return n.protocol==="http:"||n.protocol==="https:"?t:""}function ts(e="",t=`${ee.origin}${ee.pathname}`){let n=e?new URL(e,ee.href):new URL(t);if(n.href.toLowerCase().indexOf("javascript:")!==-1)return new URL(ee.origin);if(n.protocol==="https:"&&(n.hostname===ee.hostname||n.hostname.endsWith(".microsoft.com")||n.hostname==="microsoft.com")||Qle(n.href))return n;let i=`${ee.origin}${ee.pathname}`;return t===i?new URL(`${n.pathname}${n.search}${n.hash}`,`${ee.origin}`):ts(t)}var yn={};Dn(yn,{addApplicationTelemetry:()=>Pk,addAuthorizationCode:()=>RO,addBrokerParameters:()=>wc,addCcsOid:()=>Tc,addCcsUpn:()=>Qu,addClaims:()=>um,addCliData:()=>DO,addClientAssertion:()=>Rk,addClientAssertionType:()=>Mk,addClientCapabilitiesToClaims:()=>Zle,addClientId:()=>lm,addClientInfo:()=>pm,addClientSecret:()=>Lk,addCodeChallengeParams:()=>PMe,addCodeVerifier:()=>$O,addCorrelationId:()=>dm,addDeviceCode:()=>IMe,addDomainHint:()=>PO,addEARParameters:()=>DMe,addExtraParameters:()=>Sc,addGrantType:()=>$k,addIdTokenHint:()=>AO,addInstanceAware:()=>Dk,addLibraryInfo:()=>Ak,addLoginHint:()=>Dh,addLogoutHint:()=>NO,addNativeBroker:()=>AMe,addNonce:()=>LO,addOboAssertion:()=>LMe,addPassword:()=>$Me,addPopToken:()=>Nk,addPostLogoutRedirectUri:()=>EO,addPrompt:()=>IO,addRedirectUri:()=>cm,addRefreshToken:()=>MO,addRequestTokenUse:()=>RMe,addResource:()=>qk,addResponseMode:()=>CO,addResponseType:()=>EMe,addScopes:()=>am,addServerTelemetry:()=>Uk,addSid:()=>NA,addSshJwk:()=>Fk,addState:()=>Ik,addThrottling:()=>Ok,addUsername:()=>MMe,instrumentBrokerParams:()=>rm});var $e={};Dn($e,{AADAuthority:()=>ma,AAD_INSTANCE_DISCOVERY_ENDPT:()=>NF,AAD_TENANT_DOMAIN_SUFFIX:()=>FF,ADFS:()=>$F,APP_METADATA:()=>Ph,AUTHORITY_METADATA_CACHE_KEY:()=>Ih,AUTHORITY_METADATA_REFRESH_TIME_SECONDS:()=>XF,AUTHORIZATION_PENDING:()=>ERe,AZURE_REGION_AUTO_DISCOVER_FLAG:()=>HF,AuthenticationScheme:()=>wn,AuthorityMetadataSource:()=>Ns,CACHE_ACCOUNT_TYPE_ADFS:()=>JF,CACHE_ACCOUNT_TYPE_GENERIC:()=>yA,CACHE_ACCOUNT_TYPE_MSAV1:()=>QRe,CACHE_ACCOUNT_TYPE_MSSTS:()=>WF,CACHE_KEY_SEPARATOR:()=>im,CIAM_AUTH_URL:()=>mA,CLIENT_INFO:()=>ZF,CLIENT_INFO_SEPARATOR:()=>Ah,CLIENT_MISMATCH_ERROR:()=>cU,CODE_GRANT_TYPE:()=>wRe,CONSUMER_UTID:()=>SRe,CacheOutcome:()=>ga,CacheType:()=>KRe,ClaimsRequestKeys:()=>Eh,CodeChallengeMethodValues:()=>VRe,CredentialType:()=>fi,DEFAULT_AUTHORITY:()=>Kle,DEFAULT_AUTHORITY_HOST:()=>MF,DEFAULT_COMMON_TENANT:()=>gk,DEFAULT_MAX_THROTTLE_TIME_SECONDS:()=>rU,DEFAULT_THROTTLE_TIME_SECONDS:()=>sU,DEFAULT_TOKEN_RENEWAL_OFFSET_SEC:()=>dU,DSTS:()=>DF,EMAIL_SCOPE:()=>Jle,EncodingTypes:()=>JRe,FORWARD_SLASH:()=>wh,GrantType:()=>bk,HTTP_BAD_REQUEST:()=>bA,HTTP_CLIENT_ERROR:()=>MRe,HTTP_CLIENT_ERROR_RANGE_END:()=>GF,HTTP_CLIENT_ERROR_RANGE_START:()=>VF,HTTP_GATEWAY_TIMEOUT:()=>HRe,HTTP_GONE:()=>FRe,HTTP_MULTI_SIDED_ERROR:()=>BRe,HTTP_NOT_FOUND:()=>DRe,HTTP_REDIRECT:()=>RRe,HTTP_REQUEST_TIMEOUT:()=>NRe,HTTP_SERVER_ERROR:()=>ORe,HTTP_SERVER_ERROR_RANGE_END:()=>KF,HTTP_SERVER_ERROR_RANGE_START:()=>QF,HTTP_SERVICE_UNAVAILABLE:()=>qRe,HTTP_SUCCESS:()=>hA,HTTP_SUCCESS_RANGE_END:()=>LRe,HTTP_SUCCESS_RANGE_START:()=>IRe,HTTP_TOO_MANY_REQUESTS:()=>URe,HTTP_UNAUTHORIZED:()=>$Re,HeaderNames:()=>jn,HttpMethod:()=>jRe,IMDS_ENDPOINT:()=>fA,IMDS_TIMEOUT:()=>qF,IMDS_VERSION:()=>OF,INVALID_GRANT_ERROR:()=>lU,INVALID_INSTANCE:()=>zF,JsonWebTokenTypes:()=>uU,KNOWN_PUBLIC_CLOUDS:()=>jF,NOT_APPLICABLE:()=>ARe,NOT_AVAILABLE:()=>nm,OAuthResponseType:()=>GRe,OFFLINE_ACCESS_SCOPE:()=>gA,OIDC_DEFAULT_SCOPES:()=>Ch,OIDC_SCOPES:()=>_A,ONE_DAY_IN_MS:()=>WRe,OPENID_SCOPE:()=>Yle,PROFILE_SCOPE:()=>Wle,PasswordGrantConstants:()=>xA,PersistentCacheKeys:()=>zRe,PromptValue:()=>hk,REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:()=>BF,RESOURCE_DELIM:()=>fk,RegionDiscoveryOutcomes:()=>vk,RegionDiscoverySources:()=>Gu,ResponseMode:()=>YF,S256_CODE_CHALLENGE_METHOD:()=>CRe,SERVER_TELEM_CACHE_KEY:()=>_k,SERVER_TELEM_CATEGORY_SEPARATOR:()=>kA,SERVER_TELEM_MAX_CACHED_ERRORS:()=>tU,SERVER_TELEM_MAX_CUR_HEADER_BYTES:()=>YRe,SERVER_TELEM_MAX_LAST_HEADER_BYTES:()=>eU,SERVER_TELEM_OVERFLOW_FALSE:()=>iU,SERVER_TELEM_OVERFLOW_TRUE:()=>nU,SERVER_TELEM_SCHEMA_VERSION:()=>vA,SERVER_TELEM_UNKNOWN_ERROR:()=>oU,SERVER_TELEM_VALUE_SEPARATOR:()=>Vu,SHR_NONCE_VALIDITY:()=>PRe,SKU:()=>RF,THE_FAMILY_ID:()=>om,THROTTLING_PREFIX:()=>yk,URL_FORM_CONTENT_TYPE:()=>UF,X_MS_LIB_CAPABILITY_VALUE:()=>aU});var RF="msal.js.common",Kle="https://login.microsoftonline.com/common/",MF="login.microsoftonline.com",gk="common",$F="adfs",DF="dstsv2",NF=`${Kle}discovery/instance?api-version=1.1&authorization_endpoint=`,mA=".ciamlogin.com",FF=".onmicrosoft.com",fk="|",SRe="9188040d-6c67-4c5b-b112-36a304b66dad",Yle="openid",Wle="profile",gA="offline_access",Jle="email",wRe="authorization_code",CRe="S256",UF="application/x-www-form-urlencoded;charset=utf-8",ERe="authorization_pending",ARe="N/A",nm="Not Available",wh="/",fA="http://169.254.169.254/metadata/instance/compute/location",OF="2020-06-01",qF=2e3,HF="TryAutoDetect",BF="login.microsoft.com",jF=["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],PRe=240,zF="invalid_instance",hA=200,IRe=200,LRe=299,RRe=302,MRe=400,VF=400,bA=400,$Re=401,DRe=404,NRe=408,FRe=410,URe=429,GF=499,ORe=500,QF=500,qRe=503,HRe=504,KF=599,BRe=600,jRe={GET:"GET",POST:"POST"},Ch=[Yle,Wle,gA],_A=[...Ch,Jle],jn={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"},zRe={ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},ma={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},Eh={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},hk={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},VRe={PLAIN:"plain",S256:"S256"},GRe={CODE:"code",IDTOKEN_TOKEN:"id_token token",IDTOKEN_TOKEN_REFRESHTOKEN:"id_token token refresh_token"},YF={QUERY:"query",FRAGMENT:"fragment",FORM_POST:"form_post"},bk={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"},WF="MSSTS",JF="ADFS",QRe="MSA",yA="Generic",im="-",Ah=".",fi={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},KRe={ADFS:1001,MSA:1002,MSSTS:1003,GENERIC:1004,ACCESS_TOKEN:2001,REFRESH_TOKEN:2002,ID_TOKEN:2003,APP_METADATA:3001,UNDEFINED:9999},Ph="appmetadata",ZF="client_info",om="1",Ih="authority-metadata",XF=3600*24,Ns={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},vA=5,YRe=80,eU=330,tU=50,_k="server-telemetry",kA="|",Vu=",",nU="1",iU="0",oU="unknown_error",wn={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},sU=60,rU=3600,yk="throttling",aU="retry-after, h429",lU="invalid_grant",cU="client_mismatch",xA={username:"username",password:"password"},Gu={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},vk={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},ga={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},uU={Jwt:"JWT",Jwk:"JWK",Pop:"pop"},WRe=864e5,dU=300,JRe={BASE64:"base64",HEX:"hex",UTF8:"utf-8"};var xc={};Dn(xc,{ACCESS_TOKEN:()=>eMe,BROKER_CLIENT_ID:()=>kk,BROKER_REDIRECT_URI:()=>EA,CCS_HEADER:()=>lMe,CLAIMS:()=>fU,CLIENT_ASSERTION:()=>OU,CLIENT_ASSERTION_TYPE:()=>qU,CLIENT_ID:()=>cl,CLIENT_INFO:()=>sMe,CLIENT_REQUEST_ID:()=>wU,CLIENT_SECRET:()=>UU,CLI_DATA:()=>JU,CODE:()=>kU,CODE_CHALLENGE:()=>xU,CODE_CHALLENGE_METHOD:()=>TU,CODE_VERIFIER:()=>SU,DEVICE_CODE:()=>FU,DOMAIN_HINT:()=>QU,EAR_JWE_CRYPTO:()=>YU,EAR_JWK:()=>KU,ERROR:()=>ZRe,ERROR_DESCRIPTION:()=>XRe,EXPIRES_IN:()=>nMe,FOCI:()=>aMe,GRANT_TYPE:()=>gU,ID_TOKEN:()=>tMe,ID_TOKEN_HINT:()=>NU,INSTANCE_AWARE:()=>Lh,LOGIN_HINT:()=>GU,LOGOUT_HINT:()=>zU,NATIVE_BROKER:()=>jU,NONCE:()=>yU,OBO_ASSERTION:()=>HU,ON_BEHALF_OF:()=>rMe,POST_LOGOUT_URI:()=>DU,PROMPT:()=>vU,REDIRECT_URI:()=>TA,REFRESH_TOKEN:()=>bU,REFRESH_TOKEN_EXPIRES_IN:()=>iMe,REQUESTED_TOKEN_USE:()=>BU,REQ_CNF:()=>wA,RESOURCE:()=>WU,RESPONSE_MODE:()=>mU,RESPONSE_TYPE:()=>pU,RETURN_SPA_CODE:()=>CA,SCOPE:()=>hU,SESSION_STATE:()=>oMe,SID:()=>VU,STATE:()=>_U,TOKEN_TYPE:()=>SA,X_APP_NAME:()=>MU,X_APP_VER:()=>$U,X_CLIENT_CPU:()=>PU,X_CLIENT_CURR_TELEM:()=>IU,X_CLIENT_EXTRA_SKU:()=>cMe,X_CLIENT_LAST_TELEM:()=>LU,X_CLIENT_OS:()=>AU,X_CLIENT_SKU:()=>CU,X_CLIENT_VER:()=>EU,X_MS_LIB_CAPABILITY:()=>RU});var cl="client_id",TA="redirect_uri",pU="response_type",mU="response_mode",gU="grant_type",fU="claims",hU="scope",ZRe="error",XRe="error_description",eMe="access_token",tMe="id_token",bU="refresh_token",nMe="expires_in",iMe="refresh_token_expires_in",_U="state",yU="nonce",vU="prompt",oMe="session_state",sMe="client_info",kU="code",xU="code_challenge",TU="code_challenge_method",SU="code_verifier",wU="client-request-id",CU="x-client-SKU",EU="x-client-VER",AU="x-client-OS",PU="x-client-CPU",IU="x-client-current-telemetry",LU="x-client-last-telemetry",RU="x-ms-lib-capability",MU="x-app-name",$U="x-app-ver",DU="post_logout_redirect_uri",NU="id_token_hint",FU="device_code",UU="client_secret",OU="client_assertion",qU="client_assertion_type",SA="token_type",wA="req_cnf",HU="assertion",BU="requested_token_use",rMe="on_behalf_of",aMe="foci",lMe="X-AnchorMailbox",CA="return_spa_code",jU="nativebroker",zU="logout_hint",VU="sid",GU="login_hint",QU="domain_hint",cMe="x-client-xtra-sku",kk="brk_client_id",EA="brk_redirect_uri",Lh="instance_aware",KU="ear_jwk",YU="ear_jwe_crypto",WU="resource",JU="clidata";function AA(e){return`See https://aka.ms/msal.js.errors#${e} for details`}var ot=class e extends Error{constructor(t,n,i){let o=n||(t?AA(t):""),s=o?`${t}: ${o}`:t;super(s),Object.setPrototypeOf(this,e.prototype),this.errorCode=t||"",this.errorMessage=o||"",this.subError=i||"",this.name="AuthError"}setCorrelationId(t){this.correlationId=t}};function Rh(e,t){return new ot(e,t||AA(e))}var xk=class e extends ot{constructor(t){super(t),this.name="ClientConfigurationError",Object.setPrototypeOf(this,e.prototype)}};function It(e){return new xk(e)}var Fn=class{static isEmptyObj(t){if(t)try{let n=JSON.parse(t);return Object.keys(n).length===0}catch{}return!0}static startsWith(t,n){return t.indexOf(n)===0}static endsWith(t,n){return t.length>=n.length&&t.lastIndexOf(n)===t.length-n.length}static queryStringToObject(t){let n={},i=t.split("&"),o=s=>decodeURIComponent(s.replace(/\+/g," "));return i.forEach(s=>{if(s.trim()){let[r,a]=s.split(/=(.+)/g,2);r&&a&&(n[o(r)]=o(a))}}),n}static trimArrayEntries(t){return t.map(n=>n.trim())}static removeEmptyStringsFromArray(t){return t.filter(n=>!!n)}static jsonParseHelper(t){try{return JSON.parse(t)}catch{return null}}};var Tk=class e extends ot{constructor(t,n){super(t,n),this.name="ClientAuthError",Object.setPrototypeOf(this,e.prototype)}};function te(e,t){return new Tk(e,t)}var ns={};Dn(ns,{authorityMismatch:()=>bMe,authorityUriInsecure:()=>XU,cannotAllowPlatformBroker:()=>hMe,cannotSetOIDCOptions:()=>fMe,claimsRequestParsingError:()=>uMe,emptyInputScopesError:()=>tO,invalidAuthenticationHeader:()=>gMe,invalidAuthorityMetadata:()=>sO,invalidClaims:()=>PA,invalidCloudDiscoveryMetadata:()=>IA,invalidCodeChallengeMethod:()=>dMe,invalidRequestMethodForEAR:()=>_Me,logoutRequestEmpty:()=>iO,missingNonceAuthenticationHeader:()=>mMe,missingSshJwk:()=>Sk,missingSshKid:()=>pMe,pkceParamsMissing:()=>oO,redirectUriEmpty:()=>ZU,tokenRequestEmpty:()=>nO,untrustedAuthority:()=>rO,urlEmptyError:()=>eO,urlParseError:()=>Mh});var ZU="redirect_uri_empty",uMe="claims_request_parsing_error",XU="authority_uri_insecure",Mh="url_parse_error",eO="empty_url_error",tO="empty_input_scopes_error",PA="invalid_claims",nO="token_request_empty",iO="logout_request_empty",dMe="invalid_code_challenge_method",oO="pkce_params_missing",IA="invalid_cloud_discovery_metadata",sO="invalid_authority_metadata",rO="untrusted_authority",Sk="missing_ssh_jwk",pMe="missing_ssh_kid",mMe="missing_nonce_authentication_header",gMe="invalid_authentication_header",fMe="cannot_set_OIDCOptions",hMe="cannot_allow_platform_broker",bMe="authority_mismatch",_Me="invalid_request_method_for_EAR";var hi={};Dn(hi,{authTimeNotFound:()=>wk,authorizationCodeMissingFromServerResponse:()=>kO,bindingKeyNotRemoved:()=>xMe,cannotAppendScopeSet:()=>_O,cannotRemoveEmptyScope:()=>bO,clientInfoDecodingError:()=>LA,clientInfoEmptyError:()=>aO,emptyInputScopeSet:()=>$A,endSessionEndpointNotSupported:()=>xO,endpointResolutionError:()=>fa,hashNotDeserialized:()=>dO,invalidCacheEnvironment:()=>Ek,invalidCacheRecord:()=>yO,invalidState:()=>sm,keyIdMissing:()=>TO,maxAgeTranspired:()=>gO,methodNotImplemented:()=>yt,misplacedResourceParam:()=>wO,multipleMatchingAppMetadata:()=>fO,multipleMatchingTokens:()=>yMe,nestedAppAuthBridgeDisabled:()=>wMe,networkError:()=>cO,noAccountFound:()=>vMe,noAccountInSilentRequest:()=>Ck,noCryptoObject:()=>DA,noNetworkConnectivity:()=>TMe,nonceMismatch:()=>mO,nullOrEmptyToken:()=>lO,openIdConfigError:()=>uO,platformBrokerError:()=>CMe,requestCannotBeMade:()=>hO,resourceParameterRequired:()=>SO,stateMismatch:()=>pO,stateNotFound:()=>MA,tokenClaimsCnfRequiredForSignedJwt:()=>vO,tokenParsingError:()=>RA,tokenRefreshRequired:()=>$h,unexpectedCredentialType:()=>kMe,userCanceled:()=>SMe});var LA="client_info_decoding_error",aO="client_info_empty_error",RA="token_parsing_error",lO="null_or_empty_token",fa="endpoints_resolution_error",cO="network_error",uO="openid_config_error",dO="hash_not_deserialized",sm="invalid_state",pO="state_mismatch",MA="state_not_found",mO="nonce_mismatch",wk="auth_time_not_found",gO="max_age_transpired",yMe="multiple_matching_tokens",fO="multiple_matching_appMetadata",hO="request_cannot_be_made",bO="cannot_remove_empty_scope",_O="cannot_append_scopeset",$A="empty_input_scopeset",Ck="no_account_in_silent_request",yO="invalid_cache_record",Ek="invalid_cache_environment",vMe="no_account_found",DA="no_crypto_object",kMe="unexpected_credential_type",$h="token_refresh_required",vO="token_claims_cnf_required_for_signedjwt",kO="authorization_code_missing_from_server_response",xMe="binding_key_not_removed",xO="end_session_endpoint_not_supported",TO="key_id_missing",TMe="no_network_connectivity",SMe="user_canceled",yt="method_not_implemented",wMe="nested_app_auth_bridge_disabled",CMe="platform_broker_error",SO="resource_parameter_required",wO="misplaced_resource_parameter";var bi=class e{constructor(t){let n=t?Fn.trimArrayEntries([...t]):[],i=n?Fn.removeEmptyStringsFromArray(n):[];if(!i||!i.length)throw It(tO);this.scopes=new Set,i.forEach(o=>this.scopes.add(o))}static fromString(t){let i=(t||"").split(" ");return new e(i)}static createSearchScopes(t){let n=t&&t.length>0?t:[...Ch],i=new e(n);return i.containsOnlyOIDCScopes()?i.removeScope(gA):i.removeOIDCScopes(),i}containsScope(t){let n=this.printScopesLowerCase().split(" "),i=new e(n);return t?i.scopes.has(t.toLowerCase()):!1}containsScopeSet(t){return!t||t.scopes.size<=0?!1:this.scopes.size>=t.scopes.size&&t.asArray().every(n=>this.containsScope(n))}containsOnlyOIDCScopes(){let t=0;return _A.forEach(n=>{this.containsScope(n)&&(t+=1)}),this.scopes.size===t}appendScope(t){t&&this.scopes.add(t.trim())}appendScopes(t){try{t.forEach(n=>this.appendScope(n))}catch{throw te(_O)}}removeScope(t){if(!t)throw te(bO);this.scopes.delete(t.trim())}removeOIDCScopes(){_A.forEach(t=>{this.scopes.delete(t)})}unionScopeSets(t){if(!t)throw te($A);let n=new Set;return t.scopes.forEach(i=>n.add(i.toLowerCase())),this.scopes.forEach(i=>n.add(i.toLowerCase())),n}intersectingScopeSets(t){if(!t)throw te($A);t.containsOnlyOIDCScopes()||t.removeOIDCScopes();let n=this.unionScopeSets(t),i=t.getScopeCount(),o=this.getScopeCount();return n.sizet.push(n)),t}printScopes(){return this.scopes?this.asArray().join(" "):""}printScopesLowerCase(){return this.printScopes().toLowerCase()}};function rm(e,t,n){if(!t)return;let i=e.get(cl);i&&e.has(kk)&&n?.addFields({embeddedClientId:i,embeddedRedirectUri:e.get(TA)},t)}function EMe(e,t){e.set(pU,t)}function CO(e,t){e.set(mU,t||YF.QUERY)}function AMe(e){e.set(jU,"1")}function am(e,t,n=!0,i=Ch){n&&!i.includes("openid")&&!t.includes("openid")&&i.push("openid");let o=n?[...t||[],...i]:t||[],s=new bi(o);e.set(hU,s.printScopes())}function lm(e,t){e.set(cl,t)}function cm(e,t){e.set(TA,t)}function EO(e,t){e.set(DU,t)}function AO(e,t){e.set(NU,t)}function PO(e,t){e.set(QU,t)}function Dh(e,t){e.set(GU,t)}function Qu(e,t){e.set(jn.CCS_HEADER,`UPN:${t}`)}function Tc(e,t){e.set(jn.CCS_HEADER,`Oid:${t.uid}@${t.utid}`)}function NA(e,t){e.set(VU,t)}function um(e,t,n){let i=Zle(t,n);try{JSON.parse(i)}catch{throw It(PA)}e.set(fU,i)}function dm(e,t){e.set(wU,t)}function Ak(e,t){e.set(CU,t.sku),e.set(EU,t.version),t.os&&e.set(AU,t.os),t.cpu&&e.set(PU,t.cpu)}function Pk(e,t){t?.appName&&e.set(MU,t.appName),t?.appVersion&&e.set($U,t.appVersion)}function IO(e,t){e.set(vU,t)}function Ik(e,t){t&&e.set(_U,t)}function LO(e,t){e.set(yU,t)}function PMe(e,t,n){if(t&&n)e.set(xU,t),e.set(TU,n);else throw It(oO)}function RO(e,t){e.set(kU,t)}function IMe(e,t){e.set(FU,t)}function MO(e,t){e.set(bU,t)}function $O(e,t){e.set(SU,t)}function Lk(e,t){e.set(UU,t)}function Rk(e,t){t&&e.set(OU,t)}function Mk(e,t){t&&e.set(qU,t)}function LMe(e,t){e.set(HU,t)}function RMe(e,t){e.set(BU,t)}function $k(e,t){e.set(gU,t)}function pm(e){e.set(ZF,"1")}function DO(e){e.set(JU,"1")}function Dk(e){e.has(Lh)||e.set(Lh,"true")}function Sc(e,t){Object.entries(t).forEach(([n,i])=>{!e.has(n)&&i&&e.set(n,i)})}function Zle(e,t){let n;if(!e)n={};else try{n=JSON.parse(e)}catch{throw It(PA)}return t&&t.length>0&&(n.hasOwnProperty(Eh.ACCESS_TOKEN)||(n[Eh.ACCESS_TOKEN]={}),n[Eh.ACCESS_TOKEN][Eh.XMS_CC]={values:t}),JSON.stringify(n)}function MMe(e,t){e.set(xA.username,t)}function $Me(e,t){e.set(xA.password,t)}function Nk(e,t){t&&(e.set(SA,wn.POP),e.set(wA,t))}function Fk(e,t){t&&(e.set(SA,wn.SSH),e.set(wA,t))}function Uk(e,t){e.set(IU,t.generateCurrentRequestHeaderValue()),e.set(LU,t.generateLastRequestHeaderValue())}function Ok(e){e.set(RU,aU)}function NO(e,t){e.set(zU,t)}function wc(e,t,n){e.has(kk)||e.set(kk,t),e.has(EA)||e.set(EA,n)}function DMe(e,t){e.set(KU,encodeURIComponent(t)),e.set(YU,"eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0")}function qk(e,t){t&&e.set(WU,t)}var wr={};Dn(wr,{getDeserializedResponse:()=>NMe,mapToQueryString:()=>ul,normalizeUrlForComparison:()=>FMe,stripLeadingHashOrQuery:()=>ece});function Xle(e){if(!e)return e;let t=e.toLowerCase();return Fn.endsWith(t,"?")?t=t.slice(0,-1):Fn.endsWith(t,"?/")&&(t=t.slice(0,-2)),Fn.endsWith(t,"/")||(t+="/"),t}function ece(e){return e.startsWith("#/")?e.substring(2):e.startsWith("#")||e.startsWith("?")?e.substring(1):e}function NMe(e){if(!e||e.indexOf("=")<0)return null;try{let t=ece(e),n=Object.fromEntries(new URLSearchParams(t));if(n.code||n.ear_jwe||n.error||n.error_description||n.state)return n}catch{throw te(dO)}return null}function ul(e){let t=new Array;return e.forEach((n,i)=>{t.push(`${i}=${encodeURIComponent(n)}`)}),t.join("&")}function FMe(e){if(!e)return e;let t=e.split("#")[0];try{let n=new URL(t),i=n.origin+n.pathname+n.search;return Xle(i)}catch{return Xle(t)}}var Ku={createNewGuid:()=>{throw te(yt)},base64Decode:()=>{throw te(yt)},base64Encode:()=>{throw te(yt)},base64UrlEncode:()=>{throw te(yt)},encodeKid:()=>{throw te(yt)},async getPublicKeyThumbprint(){throw te(yt)},async removeTokenBindingKey(){throw te(yt)},async clearKeystore(){throw te(yt)},async signJwt(){throw te(yt)},async hashString(){throw te(yt)}};var $t;(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"})($t||($t={}));var UMe=50,OMe=500,mm=new Map;function qMe(e,t){mm.delete(e),mm.set(e,t)}function HMe(e,t){let n=Date.now(),i=mm.get(e);if(i)qMe(e,i);else if(i={logs:[],firstEventTime:n},mm.set(e,i),mm.size>UMe){let o=mm.keys().next().value;o&&mm.delete(o)}i.logs.push({...t,milliseconds:n-i.firstEventTime}),i.logs.length>OMe&&i.logs.shift()}function BMe(e){if(e.length!==6)return!1;for(let t=0;t="a"&&n<="z"||n>="A"&&n<="Z"||n>="0"&&n<="9"))return!1}return!0}var _i=class e{constructor(t,n,i){this.level=$t.Info;let o=()=>{},s=t||e.createDefaultLoggerOptions();this.localCallback=s.loggerCallback||o,this.piiLoggingEnabled=s.piiLoggingEnabled||!1,this.level=typeof s.logLevel=="number"?s.logLevel:$t.Info,this.packageName=n||"",this.packageVersion=i||""}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:$t.Info}}clone(t,n){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level},t,n)}logMessage(t,n){let i=n.correlationId;if(BMe(t)){let l={hash:t,level:n.logLevel,containsPii:n.containsPii||!1,milliseconds:0};HMe(i,l)}if(n.logLevel>this.level||!this.piiLoggingEnabled&&n.containsPii)return;let a=`${`[${new Date().toUTCString()}] : [${i}]`} : ${this.packageName}@${this.packageVersion} : ${$t[n.logLevel]} - ${t}`;this.executeCallback(n.logLevel,a,n.containsPii||!1)}executeCallback(t,n,i){this.localCallback&&this.localCallback(t,n,i)}error(t,n){this.logMessage(t,{logLevel:$t.Error,containsPii:!1,correlationId:n})}errorPii(t,n){this.logMessage(t,{logLevel:$t.Error,containsPii:!0,correlationId:n})}warning(t,n){this.logMessage(t,{logLevel:$t.Warning,containsPii:!1,correlationId:n})}warningPii(t,n){this.logMessage(t,{logLevel:$t.Warning,containsPii:!0,correlationId:n})}info(t,n){this.logMessage(t,{logLevel:$t.Info,containsPii:!1,correlationId:n})}infoPii(t,n){this.logMessage(t,{logLevel:$t.Info,containsPii:!0,correlationId:n})}verbose(t,n){this.logMessage(t,{logLevel:$t.Verbose,containsPii:!1,correlationId:n})}verbosePii(t,n){this.logMessage(t,{logLevel:$t.Verbose,containsPii:!0,correlationId:n})}trace(t,n){this.logMessage(t,{logLevel:$t.Trace,containsPii:!1,correlationId:n})}tracePii(t,n){this.logMessage(t,{logLevel:$t.Trace,containsPii:!0,correlationId:n})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}};var Yu="@azure/msal-common",dl="16.4.1";var Wu={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 FO(e,t){return!!e&&!!t&&e===t.split(".")[1]}function pl(e,t,n,i){if(i){let{oid:o,sub:s,tid:r,name:a,tfp:l,acr:c,preferred_username:u,upn:p,login_hint:m}=i,g=r||l||c||"";return{tenantId:g,localAccountId:o||s||"",name:a,username:u||p||"",loginHint:m,isHomeTenant:FO(g,e)}}else return{tenantId:n,localAccountId:t,username:"",isHomeTenant:FO(n,e)}}function gm(e,t,n,i){let o=e;if(t){let{isHomeTenant:s,...r}=t;o={...e,...r}}if(n){let{isHomeTenant:s,...r}=pl(e.homeAccountId,e.localAccountId,e.tenantId,n);return o={...o,...r,idTokenClaims:n,idToken:i},o}return o}var uo={};Dn(uo,{checkMaxAge:()=>Hk,extractTokenClaims:()=>Cc,getJWSPayload:()=>tce,isKmsi:()=>UO});function Cc(e,t){let n=tce(e);try{let i=t(n);return JSON.parse(i)}catch{throw te(RA)}}function UO(e){if(!e.signin_state)return!1;let t=["kmsi","dvc_dmjd"];return e.signin_state.some(n=>t.includes(n.trim().toLowerCase()))}function tce(e){if(!e)throw te(lO);let n=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!n||n.length<4)throw te(RA);return n[2]}function Hk(e,t){if(t===0||Date.now()-3e5>e+t)throw te(gO)}var St=class e{get urlString(){return this._urlString}constructor(t){if(this._urlString=t,!this._urlString)throw It(eO);t.includes("#")||(this._urlString=e.canonicalizeUri(t))}static canonicalizeUri(t){if(t){let n=t.toLowerCase();return Fn.endsWith(n,"?")?n=n.slice(0,-1):Fn.endsWith(n,"?/")&&(n=n.slice(0,-2)),Fn.endsWith(n,"/")||(n+="/"),n}return t}validateAsUri(){let t;try{t=this.getUrlComponents()}catch{throw It(Mh)}if(!t.HostNameAndPort||!t.PathSegments)throw It(Mh);if(!t.Protocol||t.Protocol.toLowerCase()!=="https:")throw It(XU)}static appendQueryString(t,n){return n?t.indexOf("?")<0?`${t}?${n}`:`${t}&${n}`:t}static removeHashFromUrl(t){return e.canonicalizeUri(t.split("#")[0])}replaceTenantPath(t){let n=this.getUrlComponents(),i=n.PathSegments;return t&&i.length!==0&&(i[0]===ma.COMMON||i[0]===ma.ORGANIZATIONS)&&(i[0]=t),e.constructAuthorityUriFromObject(n)}getUrlComponents(){let t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),n=this.urlString.match(t);if(!n)throw It(Mh);let i={Protocol:n[1],HostNameAndPort:n[4],AbsolutePath:n[5],QueryString:n[7]},o=i.AbsolutePath.split("/");return o=o.filter(s=>s&&s.length>0),i.PathSegments=o,i.QueryString&&i.QueryString.endsWith("/")&&(i.QueryString=i.QueryString.substring(0,i.QueryString.length-1)),i}static getDomainFromUrl(t){let n=RegExp("^([^:/?#]+://)?([^/?#]*)"),i=t.match(n);if(!i)throw It(Mh);return i[2]}static getAbsoluteUrl(t,n){if(t[0]===wh){let o=new e(n).getUrlComponents();return o.Protocol+"//"+o.HostNameAndPort+t}return t}static constructAuthorityUriFromObject(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))}};var jMe=[{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 zMe(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 VMe=jMe.reduce((e,{host:t,issuerHost:n})=>(e[t]=zMe(t,n||t),e),{}),ice={endpointMetadata:VMe,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"]}]}},OO=ice.endpointMetadata,qO=ice.instanceDiscoveryMetadata,HO=new Set;qO.metadata.forEach(e=>{e.aliases.forEach(t=>{HO.add(t)})});function oce(e,t,n){let i,o=e.canonicalAuthority;if(o){let s=new St(o).getUrlComponents().HostNameAndPort;i=nce(t,n,s,e.cloudDiscoveryMetadata?.metadata)||nce(t,n,s,qO.metadata)||e.knownAuthorities}return i||[]}function nce(e,t,n,i,o){if(e.trace("1bmquz",t),n&&i){let s=Bk(i,n);if(s)return e.trace("1fotbt",t),s.aliases;e.trace("14avvj",t)}return null}function sce(e){return Bk(qO.metadata,e)}function Bk(e,t){for(let n=0;njO,cacheQuotaExceeded:()=>BO});var BO="cache_quota_exceeded",jO="cache_error_unknown";var Ju=class e extends Error{constructor(t,n){let i=n||AA(t);super(i),Object.setPrototypeOf(this,e.prototype),this.name="CacheError",this.errorCode=t,this.errorMessage=i}};function Nh(e){return e instanceof Error?e.name==="QuotaExceededError"||e.name==="NS_ERROR_DOM_QUOTA_REACHED"||e.message.includes("exceeded the quota")?new Ju(BO):new Ju(e.name,e.message):new Ju(jO)}var Cr={};Dn(Cr,{createAccountEntity:()=>zO,createAccountEntityFromAccountInfo:()=>KMe,generateAccountId:()=>GMe,generateHomeAccountId:()=>VO,getAccountInfo:()=>Uh,isAccountEntity:()=>YMe,isSingleTenant:()=>QMe});function Fh(e,t){if(!e)throw te(aO);try{let n=t(e);return JSON.parse(n)}catch{throw te(LA)}}function ml(e){if(!e)throw te(LA);let t=e.split(Ah,2);return{uid:t[0],utid:t.length<2?"":t[1]}}var wo={Default:0,Adfs:1,Dsts:2,Ciam:3};function fm(e){return e&&(e.tid||e.tfp||e.acr)||null}var pn={AAD:"AAD",OIDC:"OIDC",EAR:"EAR"};function GMe(e){return[e.homeAccountId,e.environment].join(im).toLowerCase()}function Uh(e){let t=e.tenantProfiles||[];return t.length===0&&e.realm&&e.localAccountId&&t.push(pl(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(n=>[n.tenantId,n])),dataBoundary:e.dataBoundary}}function QMe(e){return!e.tenantProfiles}function zO(e,t,n){let i;t.authorityType===wo.Adfs?i=JF:t.protocolMode===pn.OIDC?i=yA:i=WF;let o,s;e.clientInfo&&n&&(o=Fh(e.clientInfo,n),o.xms_tdbr&&(s=o.xms_tdbr==="EU"?"EU":"None"));let r=e.environment||t&&t.getPreferredCache();if(!r)throw te(Ek);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=o?.utid||fm(e.idTokenClaims)||"",m=o?.uid||e.idTokenClaims?.oid||e.idTokenClaims?.sub||"",g;return e.tenantProfiles?g=e.tenantProfiles:g=[pl(e.homeAccountId,m,p,e.idTokenClaims)],{homeAccountId:e.homeAccountId,environment:r,realm:p,localAccountId:m,username:c,authorityType:i,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:s}}function KMe(e,t,n){let i=Array.from(e.tenantProfiles?.values()||[]);return i.length===0&&e.tenantId&&e.localAccountId&&i.push(pl(e.homeAccountId,e.localAccountId,e.tenantId,e.idTokenClaims)),{authorityType:e.authorityType||yA,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:n,tenantProfiles:i,dataBoundary:e.dataBoundary}}function VO(e,t,n,i,o,s){if(!(t===wo.Adfs||t===wo.Dsts)){if(e)try{let r=Fh(e,i.base64Decode);if(r.uid&&r.utid)return`${r.uid}.${r.utid}`}catch{}n.warning("1ub6wv",o)}return s?.sub||""}function YMe(e){return e?e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"):!1}var hm=class{constructor(t,n,i,o,s){this.clientId=t,this.cryptoImpl=n,this.commonLogger=i.clone(Yu,dl),this.staticAuthorityOptions=s,this.performanceClient=o}getAllAccounts(t={},n){return this.buildTenantProfiles(this.getAccountsFilteredBy(t,n),n,t)}getAccountInfoFilteredBy(t,n){if(Object.keys(t).length===0||Object.values(t).every(o=>o==null||o===""))return this.commonLogger.warning("1skb02",n),null;let i=this.getAllAccounts(t,n);return i.length>1?i.sort(s=>s.idTokenClaims?-1:1)[0]:i.length===1?i[0]:null}getBaseAccountInfo(t,n){let i=this.getAccountsFilteredBy(t,n);return i.length>0?Uh(i[0]):null}buildTenantProfiles(t,n,i){return t.flatMap(o=>this.getTenantProfilesFromAccountEntity(o,n,i?.tenantId,i))}getTenantedAccountInfoByFilter(t,n,i,o,s){let r=null,a;if(s&&!this.tenantProfileMatchesFilter(i,s))return null;let l=this.getIdToken(t,o,n,i.tenantId);return l&&(a=Cc(l.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(a,s))?null:(r=gm(t,i,a,l?.secret),r)}getTenantProfilesFromAccountEntity(t,n,i,o){let s=Uh(t),r=s.tenantProfiles||new Map,a=this.getTokenKeys();if(i){let c=r.get(i);if(c)r=new Map([[i,c]]);else return[]}let l=[];return r.forEach(c=>{let u=this.getTenantedAccountInfoByFilter(s,a,c,n,o);u&&l.push(u)}),l}tenantProfileMatchesFilter(t,n){return!(n.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(t,n.localAccountId)||n.name&&t.name!==n.name||n.isHomeTenant!==void 0&&t.isHomeTenant!==n.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(t,n){return!(n&&(n.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(t,n.localAccountId)||n.loginHint&&!this.matchLoginHintFromTokenClaims(t,n.loginHint)||n.username&&!this.matchUsername(t.preferred_username,n.username)||n.name&&!this.matchName(t,n.name)||n.sid&&!this.matchSid(t,n.sid)))}async saveCacheRecord(t,n,i,o,s){if(!t)throw te(yO);try{t.account&&await this.setAccount(t.account,n,i,o),t.idToken&&s?.idToken!==!1&&await this.setIdTokenCredential(t.idToken,n,i),t.accessToken&&s?.accessToken!==!1&&await this.saveAccessToken(t.accessToken,n,i),t.refreshToken&&s?.refreshToken!==!1&&await this.setRefreshTokenCredential(t.refreshToken,n,i),t.appMetadata&&this.setAppMetadata(t.appMetadata,n)}catch(r){throw this.commonLogger?.error("0j476p",n),r instanceof ot?r:Nh(r)}}async saveAccessToken(t,n,i){let o={clientId:t.clientId,credentialType:t.credentialType,environment:t.environment,homeAccountId:t.homeAccountId,realm:t.realm,tokenType:t.tokenType},s=this.getTokenKeys(),r=bi.fromString(t.target);s.accessToken.forEach(a=>{if(!this.accessTokenKeyMatchesFilter(a,o,!1))return;let l=this.getAccessTokenCredential(a,n);l&&this.credentialMatchesFilter(l,o,n)&&bi.fromString(l.target).intersectingScopeSets(r)&&this.removeAccessToken(a,n)}),await this.setAccessTokenCredential(t,n,i)}getAccountsFilteredBy(t,n){let i=this.getAccountKeys(),o=[];return i.forEach(s=>{let r=this.getAccount(s,n);if(!r||t.homeAccountId&&!this.matchHomeAccountId(r,t.homeAccountId)||t.username&&!this.matchUsername(r.username,t.username)||t.environment&&!this.matchEnvironment(r,t.environment,n)||t.realm&&!this.matchRealm(r,t.realm)||t.nativeAccountId&&!this.matchNativeAccountId(r,t.nativeAccountId)||t.authorityType&&!this.matchAuthorityType(r,t.authorityType))return;let a={localAccountId:t?.localAccountId,name:t?.name},l=r.tenantProfiles?.filter(c=>this.tenantProfileMatchesFilter(c,a));l&&l.length===0||o.push(r)}),o}credentialMatchesFilter(t,n,i){return!(n.clientId&&!this.matchClientId(t,n.clientId)||n.userAssertionHash&&!this.matchUserAssertionHash(t,n.userAssertionHash)||typeof n.homeAccountId=="string"&&!this.matchHomeAccountId(t,n.homeAccountId)||n.environment&&!this.matchEnvironment(t,n.environment,i)||n.realm&&!this.matchRealm(t,n.realm)||n.credentialType&&!this.matchCredentialType(t,n.credentialType)||n.familyId&&!this.matchFamilyId(t,n.familyId)||n.target&&!this.matchTarget(t,n.target)||t.credentialType===fi.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(n.tokenType&&!this.matchTokenType(t,n.tokenType)||n.tokenType===wn.SSH&&n.keyId&&!this.matchKeyId(t,n.keyId)))}getAppMetadataFilteredBy(t,n){let i=this.getKeys(),o={};return i.forEach(s=>{if(!this.isAppMetadata(s))return;let r=this.getAppMetadata(s,n);r&&(t.environment&&!this.matchEnvironment(r,t.environment,n)||t.clientId&&!this.matchClientId(r,t.clientId)||(o[s]=r))}),o}getAuthorityMetadataByAlias(t,n){let i=this.getAuthorityMetadataKeys(),o=null;return i.forEach(s=>{if(!this.isAuthorityMetadata(s)||s.indexOf(this.clientId)===-1)return;let r=this.getAuthorityMetadata(s,n);r&&r.aliases.indexOf(t)!==-1&&(o=r)}),o}removeAllAccounts(t){this.getAllAccounts({},t).forEach(i=>{this.removeAccount(i,t)})}removeAccount(t,n){this.removeAccountContext(t,n);let i=this.getAccountKeys(),o=s=>s.includes(t.homeAccountId)&&s.includes(t.environment);i.filter(o).forEach(s=>{this.removeItem(s,n),this.performanceClient.incrementFields({accountsRemoved:1},n)})}removeAccountContext(t,n){let i=this.getTokenKeys(),o=s=>s.includes(t.homeAccountId)&&s.includes(t.environment);i.idToken.filter(o).forEach(s=>{this.removeIdToken(s,n)}),i.accessToken.filter(o).forEach(s=>{this.removeAccessToken(s,n)}),i.refreshToken.filter(o).forEach(s=>{this.removeRefreshToken(s,n)})}removeAccessToken(t,n){let i=this.getAccessTokenCredential(t,n);if(i&&(this.removeItem(t,n),this.performanceClient.incrementFields({accessTokensRemoved:1},n),i.credentialType.toLowerCase()===fi.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&i.tokenType===wn.POP)){let s=i.keyId;s&&this.cryptoImpl.removeTokenBindingKey(s,n).catch(()=>{this.commonLogger.error("0cx291",n),this.performanceClient?.incrementFields({removeTokenBindingKeyFailure:1},n)})}}removeAppMetadata(t){return this.getKeys().forEach(i=>{this.isAppMetadata(i)&&this.removeItem(i,t)}),!0}getIdToken(t,n,i,o){this.commonLogger.trace("1drz22",n);let s={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:fi.ID_TOKEN,clientId:this.clientId,realm:o},r=this.getIdTokensByFilter(s,n,i),a=r.size;if(a<1)return this.commonLogger.info("1atvtd",n),null;if(a>1){let l=r;if(!o){let c=new Map;r.forEach((p,m)=>{p.realm===t.tenantId&&c.set(m,p)});let u=c.size;if(u<1)return this.commonLogger.info("0ooalx",n),r.values().next().value;if(u===1)return this.commonLogger.info("1eq2vc",n),c.values().next().value;l=c}return this.commonLogger.info("1ws328",n),l.forEach((c,u)=>{this.removeIdToken(u,n)}),this.performanceClient.addFields({multiMatchedID:r.size},n),null}return this.commonLogger.info("1sm769",n),r.values().next().value}getIdTokensByFilter(t,n,i){let o=i&&i.idToken||this.getTokenKeys().idToken,s=new Map;return o.forEach(r=>{if(!this.idTokenKeyMatchesFilter(r,{clientId:this.clientId,...t}))return;let a=this.getIdTokenCredential(r,n);a&&this.credentialMatchesFilter(a,t,n)&&s.set(r,a)}),s}idTokenKeyMatchesFilter(t,n){let i=t.toLowerCase();return!(n.clientId&&i.indexOf(n.clientId.toLowerCase())===-1||n.homeAccountId&&i.indexOf(n.homeAccountId.toLowerCase())===-1)}removeIdToken(t,n){this.removeItem(t,n)}removeRefreshToken(t,n){this.removeItem(t,n)}getAccessToken(t,n,i,o){let s=n.correlationId;this.commonLogger.trace("1t7hz1",s);let r=bi.createSearchScopes(n.scopes),a=n.authenticationScheme||wn.BEARER,l=a&&a.toLowerCase()!==wn.BEARER.toLowerCase()?fi.ACCESS_TOKEN_WITH_AUTH_SCHEME:fi.ACCESS_TOKEN,c={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:l,clientId:this.clientId,realm:o||t.tenantId,target:r,tokenType:a,keyId:n.sshKid},u=i&&i.accessToken||this.getTokenKeys().accessToken,p=[];u.forEach(g=>{if(this.accessTokenKeyMatchesFilter(g,c,!0)){let f=this.getAccessTokenCredential(g,s);f&&this.credentialMatchesFilter(f,c,s)&&p.push(f)}});let m=p.length;return m<1?(this.commonLogger.info("1nckna",s),null):m>1?(this.commonLogger.info("1wkfwp",s),p.forEach(g=>{this.removeAccessToken(this.generateCredentialKey(g),s)}),this.performanceClient.addFields({multiMatchedAT:p.length},s),null):(this.commonLogger.info("06yt98",s),p[0])}accessTokenKeyMatchesFilter(t,n,i){let o=t.toLowerCase();if(n.clientId&&o.indexOf(n.clientId.toLowerCase())===-1||n.homeAccountId&&o.indexOf(n.homeAccountId.toLowerCase())===-1||n.realm&&o.indexOf(n.realm.toLowerCase())===-1)return!1;if(n.target){let s=n.target.asArray();for(let r=0;r{if(!this.accessTokenKeyMatchesFilter(s,t,!0))return;let r=this.getAccessTokenCredential(s,n);r&&this.credentialMatchesFilter(r,t,n)&&o.push(r)}),o}getRefreshToken(t,n,i,o){this.commonLogger.trace("0x53vi",i);let s=n?om:void 0,r={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:fi.REFRESH_TOKEN,clientId:this.clientId,familyId:s},a=o&&o.refreshToken||this.getTokenKeys().refreshToken,l=[];a.forEach(u=>{if(this.refreshTokenKeyMatchesFilter(u,r)){let p=this.getRefreshTokenCredential(u,i);p&&this.credentialMatchesFilter(p,r,i)&&l.push(p)}});let c=l.length;return c<1?(this.commonLogger.info("0dlw11",i),null):(c>1&&this.performanceClient.addFields({multiMatchedRT:c},i),this.commonLogger.info("0wcnep",i),l[0])}refreshTokenKeyMatchesFilter(t,n){let i=t.toLowerCase();return!(n.familyId&&i.indexOf(n.familyId.toLowerCase())===-1||!n.familyId&&n.clientId&&i.indexOf(n.clientId.toLowerCase())===-1||n.homeAccountId&&i.indexOf(n.homeAccountId.toLowerCase())===-1)}readAppMetadataFromCache(t,n){let i={environment:t,clientId:this.clientId},o=this.getAppMetadataFilteredBy(i,n),s=Object.keys(o).map(a=>o[a]),r=s.length;if(r<1)return null;if(r>1)throw te(fO);return s[0]}isAppMetadataFOCI(t,n){let i=this.readAppMetadataFromCache(t,n);return!!(i&&i.familyId===om)}matchHomeAccountId(t,n){return typeof t.homeAccountId=="string"&&n===t.homeAccountId}matchLocalAccountIdFromTokenClaims(t,n){let i=t.oid||t.sub;return n===i}matchLocalAccountIdFromTenantProfile(t,n){return t.localAccountId===n}matchName(t,n){return n.toLowerCase()===t.name?.toLowerCase()}matchUsername(t,n){return!!(t&&typeof t=="string"&&n?.toLowerCase()===t.toLowerCase())}matchUserAssertionHash(t,n){return!!(t.userAssertionHash&&n===t.userAssertionHash)}matchEnvironment(t,n,i){if(this.staticAuthorityOptions){let s=oce(this.staticAuthorityOptions,this.commonLogger,i);if(s.includes(n)&&s.includes(t.environment))return!0}let o=this.getAuthorityMetadataByAlias(n,i);return!!(o&&o.aliases.indexOf(t.environment)>-1)}matchCredentialType(t,n){return t.credentialType&&n.toLowerCase()===t.credentialType.toLowerCase()}matchClientId(t,n){return!!(t.clientId&&n===t.clientId)}matchFamilyId(t,n){return!!(t.familyId&&n===t.familyId)}matchRealm(t,n){return t.realm?.toLowerCase()===n.toLowerCase()}matchNativeAccountId(t,n){return!!(t.nativeAccountId&&n===t.nativeAccountId)}matchLoginHintFromTokenClaims(t,n){return t.login_hint===n||t.preferred_username===n||t.upn===n}matchSid(t,n){return t.sid===n}matchAuthorityType(t,n){return!!(t.authorityType&&n.toLowerCase()===t.authorityType.toLowerCase())}matchTarget(t,n){return t.credentialType!==fi.ACCESS_TOKEN&&t.credentialType!==fi.ACCESS_TOKEN_WITH_AUTH_SCHEME||!t.target?!1:bi.fromString(t.target).containsScopeSet(n)}matchTokenType(t,n){return!!(t.tokenType&&t.tokenType===n)}matchKeyId(t,n){return!!(t.keyId&&t.keyId===n)}isAppMetadata(t){return t.indexOf(Ph)!==-1}isAuthorityMetadata(t){return t.indexOf(Ih)!==-1}generateAuthorityMetadataCacheKey(t){return`${Ih}-${this.clientId}-${t}`}static toObject(t,n){for(let i in n)t[i]=n[i];return t}},zk=class extends hm{async setAccount(){throw te(yt)}getAccount(){throw te(yt)}async setIdTokenCredential(){throw te(yt)}getIdTokenCredential(){throw te(yt)}async setAccessTokenCredential(){throw te(yt)}getAccessTokenCredential(){throw te(yt)}async setRefreshTokenCredential(){throw te(yt)}getRefreshTokenCredential(){throw te(yt)}setAppMetadata(){throw te(yt)}getAppMetadata(){throw te(yt)}setServerTelemetry(){throw te(yt)}getServerTelemetry(){throw te(yt)}setAuthorityMetadata(){throw te(yt)}getAuthorityMetadata(){throw te(yt)}getAuthorityMetadataKeys(){throw te(yt)}setThrottlingCache(){throw te(yt)}getThrottlingCache(){throw te(yt)}removeItem(){throw te(yt)}getKeys(){throw te(yt)}getAccountKeys(){throw te(yt)}getTokenKeys(){throw te(yt)}generateCredentialKey(){throw te(yt)}generateAccountKey(){throw te(yt)}};var rce={NotStarted:0,InProgress:1,Completed:2};var Ec=class{generateId(){return"callback-id"}startMeasurement(t,n){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:rce.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:t,startTimeMs:Date.now(),correlationId:n||""}}}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}};var FA={tokenRenewalOffsetSeconds:dU,preventCorsPreflight:!1},WMe={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:$t.Info,correlationId:""},JMe={async sendGetRequestAsync(){throw te(yt)},async sendPostRequestAsync(){throw te(yt)}},ZMe={sku:RF,version:dl,cpu:"",os:""},XMe={clientSecret:"",clientAssertion:void 0},e$e={azureCloudInstance:Wu.None,tenant:`${gk}`},t$e={application:{appName:"",appVersion:""}};function Oh({authOptions:e,systemOptions:t,loggerOptions:n,storageInterface:i,networkInterface:o,cryptoInterface:s,clientCredentials:r,libraryInfo:a,telemetry:l,serverTelemetryManager:c,persistencePlugin:u,serializableCache:p}){let m={...WMe,...n};return{authOptions:n$e(e),systemOptions:{...FA,...t},loggerOptions:m,storageInterface:i||new zk(e.clientId,Ku,new _i(m),new Ec),networkInterface:o||JMe,cryptoInterface:s||Ku,clientCredentials:r||XMe,libraryInfo:{...ZMe,...a},telemetry:{...t$e,...l},serverTelemetryManager:c||null,persistencePlugin:u||null,serializableCache:p||null}}function n$e(e){return{clientCapabilities:[],azureCloudOptions:e$e,instanceAware:!1,isMcp:!1,...e}}function UA(e){return e.authOptions.authority.options.protocolMode===pn.OIDC}var OA=class{constructor(t,n){this.cache=t,this.hasChanged=n}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}};var yi={};Dn(yi,{createAccessTokenEntity:()=>KO,createIdTokenEntity:()=>QO,createRefreshTokenEntity:()=>YO,generateAppMetadataKey:()=>d$e,generateAuthorityMetadataExpiresAt:()=>HA,isAccessTokenEntity:()=>r$e,isAppMetadataEntity:()=>p$e,isAuthorityMetadataEntity:()=>m$e,isAuthorityMetadataExpired:()=>BA,isCredentialEntity:()=>qA,isIdTokenEntity:()=>a$e,isRefreshTokenEntity:()=>l$e,isServerTelemetryEntity:()=>c$e,isThrottlingEntity:()=>u$e,updateAuthorityEndpointMetadata:()=>Hh,updateCloudDiscoveryMetadata:()=>Gk});var is={};Dn(is,{delay:()=>s$e,isCacheExpired:()=>o$e,isTokenExpired:()=>qh,nowSeconds:()=>Fs,toDateFromSeconds:()=>Vk,toSecondsFromDate:()=>i$e,wasClockTurnedBack:()=>GO});function Fs(){return Math.round(new Date().getTime()/1e3)}function i$e(e){return e.getTime()/1e3}function Vk(e){return e?new Date(Number(e)*1e3):new Date}function qh(e,t){let n=Number(e)||0;return Fs()+t>n}function o$e(e,t){let n=Number(e)+t*24*60*60*1e3;return Date.now()>n}function GO(e){return Number(e)>Fs()}function s$e(e,t){return new Promise(n=>setTimeout(()=>n(t),e))}function QO(e,t,n,i,o){return{credentialType:fi.ID_TOKEN,homeAccountId:e,environment:t,clientId:i,secret:n,realm:o,lastUpdatedAt:Date.now().toString()}}function KO(e,t,n,i,o,s,r,a,l,c,u,p,m){let g={homeAccountId:e,credentialType:fi.ACCESS_TOKEN,secret:n,cachedAt:Fs().toString(),expiresOn:r.toString(),extendedExpiresOn:a.toString(),environment:t,clientId:i,realm:o,target:s,tokenType:u||wn.BEARER,lastUpdatedAt:Date.now().toString()};if(p&&(g.userAssertionHash=p),c&&(g.refreshOn=c.toString()),g.tokenType?.toLowerCase()!==wn.BEARER.toLowerCase())switch(g.credentialType=fi.ACCESS_TOKEN_WITH_AUTH_SCHEME,g.tokenType){case wn.POP:let f=Cc(n,l);if(!f?.cnf?.kid)throw te(vO);g.keyId=f.cnf.kid;break;case wn.SSH:g.keyId=m}return g}function YO(e,t,n,i,o,s,r){let a={credentialType:fi.REFRESH_TOKEN,homeAccountId:e,environment:t,clientId:i,secret:n,lastUpdatedAt:Date.now().toString()};return s&&(a.userAssertionHash=s),o&&(a.familyId=o),r&&(a.expiresOn=r.toString()),a}function qA(e){return e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")}function r$e(e){return e?qA(e)&&e.hasOwnProperty("realm")&&e.hasOwnProperty("target")&&(e.credentialType===fi.ACCESS_TOKEN||e.credentialType===fi.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1}function a$e(e){return e?qA(e)&&e.hasOwnProperty("realm")&&e.credentialType===fi.ID_TOKEN:!1}function l$e(e){return e?qA(e)&&e.credentialType===fi.REFRESH_TOKEN:!1}function c$e(e,t){let n=e.indexOf(_k)===0,i=!0;return t&&(i=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),n&&i}function u$e(e,t){let n=!1;e&&(n=e.indexOf(yk)===0);let i=!0;return t&&(i=t.hasOwnProperty("throttleTime")),n&&i}function d$e({environment:e,clientId:t}){return[Ph,e,t].join(im).toLowerCase()}function p$e(e,t){return t?e.indexOf(Ph)===0&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment"):!1}function m$e(e,t){return t?e.indexOf(Ih)===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 HA(){return Fs()+XF}function Hh(e,t,n){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=n,e.jwks_uri=t.jwks_uri}function Gk(e,t,n){e.aliases=t.aliases,e.preferred_cache=t.preferred_cache,e.preferred_network=t.preferred_network,e.aliasesFromNetwork=n}function BA(e){return e.expiresAt<=Fs()}var vi={};Dn(vi,{AuthClientCreateTokenRequestBody:()=>oq,AuthClientExecuteTokenRequest:()=>iq,AuthorityGetCloudDiscoveryMetadataFromNetwork:()=>aq,AuthorityGetEndpointMetadataFromNetwork:()=>cq,AuthorityResolveEndpointsAsync:()=>rq,AuthorityUpdateCloudDiscoveryMetadata:()=>lq,AuthorityUpdateEndpointMetadata:()=>uq,AuthorityUpdateMetadataWithRegionalInformation:()=>jA,AuthorizationCodeClientExecutePostToTokenEndpoint:()=>ZO,CacheManagerGetRefreshToken:()=>mq,GetAuthCodeUrl:()=>g$e,HandleCodeResponseFromServer:()=>f$e,HandleServerTokenResponse:()=>Kk,NetworkClientSendPostRequestAsync:()=>WO,PopTokenGenerateCnf:()=>bm,RefreshTokenClientAcquireToken:()=>eq,RefreshTokenClientAcquireTokenWithCachedRefreshToken:()=>Qk,RefreshTokenClientCreateTokenRequestBody:()=>tq,RefreshTokenClientExecutePostToTokenEndpoint:()=>JO,RefreshTokenClientExecuteTokenRequest:()=>XO,RegionDiscoveryDetectRegion:()=>dq,RegionDiscoveryGetCurrentVersion:()=>pq,RegionDiscoveryGetRegionFromIMDS:()=>zA,SetUserData:()=>h$e,SilentFlowClientGenerateResultFromCacheRecord:()=>nq,UpdateTokenEndpointAuthority:()=>sq});var WO="networkClientSendPostRequestAsync",JO="refreshTokenClientExecutePostToTokenEndpoint",ZO="authorizationCodeClientExecutePostToTokenEndpoint",XO="refreshTokenClientExecuteTokenRequest",eq="refreshTokenClientAcquireToken",Qk="refreshTokenClientAcquireTokenWithCachedRefreshToken",tq="refreshTokenClientCreateTokenRequestBody",nq="silentFlowClientGenerateResultFromCacheRecord",g$e="getAuthCodeUrl",f$e="handleCodeResponseFromServer",iq="authClientExecuteTokenRequest",oq="authClientCreateTokenRequestBody",sq="updateTokenEndpointAuthority",bm="popTokenGenerateCnf",Kk="handleServerTokenResponse",rq="authorityResolveEndpointsAsync",aq="authorityGetCloudDiscoveryMetadataFromNetwork",lq="authorityUpdateCloudDiscoveryMetadata",cq="authorityGetEndpointMetadataFromNetwork",uq="authorityUpdateEndpointMetadata",jA="authorityUpdateMetadataWithRegionalInformation",dq="regionDiscoveryDetectRegion",zA="regionDiscoveryGetRegionFromIMDS",pq="regionDiscoveryGetCurrentVersion",mq="cacheManagerGetRefreshToken",h$e="setUserData";var ei=(e,t,n,i,o)=>(...s)=>{n.trace("1plfzx",o);let r=i.startMeasurement(t,o);o&&i.incrementFields({[`ext.${t}CallCount`]:1},o);try{let a=e(...s);return r.end({success:!0}),n.trace("1g8n6a",o),a}catch(a){n.trace("0cfd8i",o);try{n.trace(JSON.stringify(a),o)}catch{n.trace("00dty7",o)}throw r.end({success:!1},a),a}},G=(e,t,n,i,o)=>(...s)=>{n.trace("1plfzx",o);let r=i.startMeasurement(t,o);return o&&i.incrementFields({[`ext.${t}CallCount`]:1},o),e(...s).then(a=>(n.trace("1g8n6a",o),r.end({success:!0}),a)).catch(a=>{n.trace("0cfd8i",o);try{n.trace(JSON.stringify(a),o)}catch{n.trace("00dty7",o)}throw r.end({success:!1},a),a})};var b$e={SW:"sw"},os=class{constructor(t,n){this.cryptoUtils=t,this.performanceClient=n}async generateCnf(t,n){let i=await G(this.generateKid.bind(this),bm,n,this.performanceClient,t.correlationId)(t),o=this.cryptoUtils.base64UrlEncode(JSON.stringify(i));return{kid:i.kid,reqCnfString:o}}async generateKid(t){return{kid:await this.cryptoUtils.getPublicKeyThumbprint(t),xms_ksl:b$e.SW}}async signPopToken(t,n,i){return this.signPayload(t,n,i)}async signPayload(t,n,i,o){let{resourceRequestMethod:s,resourceRequestUri:r,shrClaims:a,shrNonce:l,shrOptions:c}=i,p=(r?new St(r):void 0)?.getUrlComponents();return this.cryptoUtils.signJwt({at:t,ts:Fs(),m:s?.toUpperCase(),u:p?.HostNameAndPort,nonce:l||this.cryptoUtils.createNewGuid(),p:p?.AbsolutePath,q:p?.QueryString?[[],p.QueryString]:void 0,client_claims:a||void 0,...o},n,c,i.correlationId)}};var gl={};Dn(gl,{badToken:()=>Yk,consentRequired:()=>bq,interactionRequired:()=>hq,interruptedUser:()=>yq,loginRequired:()=>_q,nativeAccountUnavailable:()=>_$e,noTokensFound:()=>VA,refreshTokenExpired:()=>gq,uxNotAllowed:()=>fq});var VA="no_tokens_found",_$e="native_account_unavailable",gq="refresh_token_expired",fq="ux_not_allowed",hq="interaction_required",bq="consent_required",_q="login_required",Yk="bad_token",yq="interrupted_user";var ace=[hq,bq,_q,Yk,fq,yq],y$e=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token","ux_not_allowed","interrupted_user"],Cn=class e extends ot{constructor(t,n,i,o,s,r,a,l){super(t,n,i),Object.setPrototypeOf(this,e.prototype),this.timestamp=o||"",this.traceId=s||"",this.correlationId=r||"",this.claims=a||"",this.name="InteractionRequiredAuthError",this.errorNo=l}};function GA(e,t,n){let i=!!e&&ace.indexOf(e)>-1,o=!!n&&y$e.indexOf(n)>-1,s=!!t&&ace.some(r=>t.indexOf(r)>-1);return i||s||o}function _m(e,t){return new Cn(e,t)}var ss=class e extends ot{constructor(t,n,i,o,s){super(t,n,i),this.name="ServerError",this.errorNo=o,this.status=s,Object.setPrototypeOf(this,e.prototype)}};var ha={};Dn(ha,{generateLibraryState:()=>lce,parseRequestState:()=>vq,setRequestState:()=>v$e});function v$e(e,t,n){let i=lce(e,n);return t?`${i}${fk}${t}`:i}function lce(e,t){if(!e)throw te(DA);let n={id:e.createNewGuid()};t&&(n.meta=t);let i=JSON.stringify(n);return e.base64Encode(i)}function vq(e,t){if(!e)throw te(DA);if(!t)throw te(sm);try{let n=t.split(fk),i=n[0],o=n.length>1?n.slice(1).join(fk):"",s=e(i),r=JSON.parse(s);return{userRequestState:o||"",libraryState:r}}catch{throw te(sm)}}var ba=class e{constructor(t,n,i,o,s,r,a){this.clientId=t,this.cacheStorage=n,this.cryptoObj=i,this.logger=o,this.performanceClient=s,this.serializableCache=r,this.persistencePlugin=a}validateTokenResponse(t,n,i){if(t.error||t.error_description||t.suberror){let o=`Error(s): ${t.error_codes||nm} - Timestamp: ${t.timestamp||nm} - Description: ${t.error_description||nm} - Correlation ID: ${t.correlation_id||nm} - Trace ID: ${t.trace_id||nm}`,s=t.error_codes?.length?t.error_codes[0]:void 0,r=new ss(t.error,o,t.suberror,s,t.status);if(i&&t.status&&t.status>=QF&&t.status<=KF){this.logger.warning("16ks7j",n);return}else if(i&&t.status&&t.status>=VF&&t.status<=GF){this.logger.warning("0g61x3",n);return}throw GA(t.error,t.error_description,t.suberror)?new Cn(t.error,t.error_description,t.suberror,t.timestamp||"",t.trace_id||"",t.correlation_id||"",t.claims||"",s):r}}async handleServerTokenResponse(t,n,i,o,s,r,a,l,c,u){let p;if(t.id_token){if(p=Cc(t.id_token||"",this.cryptoObj.base64Decode),r&&r.nonce&&p.nonce!==r.nonce)throw te(mO);if(o.maxAge||o.maxAge===0){let _=p.auth_time;if(!_)throw te(wk);Hk(_,o.maxAge)}}this.homeAccountIdentifier=VO(t.client_info||"",n.authorityType,this.logger,this.cryptoObj,o.correlationId,p);let m;r&&r.state&&(m=vq(this.cryptoObj.base64Decode,r.state)),t.key_id=t.key_id||o.sshKid||void 0;let g=this.generateCacheRecord(t,n,i,o,p,a,r),f;try{if(this.persistencePlugin&&this.serializableCache&&(this.logger.verbose("0jbz5k",o.correlationId),f=new OA(this.serializableCache,!0),await this.persistencePlugin.beforeCacheAccess(f)),l&&!c&&g.account&&this.cacheStorage.getAllAccounts({homeAccountId:g.account.homeAccountId,environment:g.account.environment},o.correlationId).length<1)return this.logger.warning("1gmt66",o.correlationId),this.performanceClient?.addFields({acntLoggedOut:!0},o.correlationId),await e.generateAuthenticationResult(this.cryptoObj,n,g,!1,o,this.performanceClient,p,m,void 0,u);await this.cacheStorage.saveCacheRecord(g,o.correlationId,UO(p||{}),s,o.storeInCache)}finally{this.persistencePlugin&&this.serializableCache&&f&&(this.logger.verbose("1bh17u",o.correlationId),await this.persistencePlugin.afterCacheAccess(f))}return e.generateAuthenticationResult(this.cryptoObj,n,g,!1,o,this.performanceClient,p,m,t,u)}generateCacheRecord(t,n,i,o,s,r,a){let l=n.getPreferredCache();if(!l)throw te(Ek);let c=fm(s),u,p;t.id_token&&s&&(u=QO(this.homeAccountIdentifier,l,t.id_token,this.clientId,c||""),p=QA(this.cacheStorage,n,this.homeAccountIdentifier,this.cryptoObj.base64Decode,o.correlationId,s,t.client_info,l,c,a,void 0,this.logger,this.performanceClient));let m=null;if(t.access_token){let _=t.scope?bi.fromString(t.scope):new bi(o.scopes||[]),h=(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,k=(typeof t.ext_expires_in=="string"?parseInt(t.ext_expires_in,10):t.ext_expires_in)||0,y=(typeof t.refresh_in=="string"?parseInt(t.refresh_in,10):t.refresh_in)||void 0,x=i+h,P=x+k,C=y&&y>0?i+y:void 0;m=KO(this.homeAccountIdentifier,l,t.access_token,this.clientId,c||n.tenant||"",_.printScopes(),x,P,this.cryptoObj.base64Decode,C,t.token_type,r,t.key_id);let j=o.resource||null;j&&(m.resource=j)}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;_=i+h,this.performanceClient?.addFields({ntwkRtExpiresOnSeconds:_},o.correlationId)}g=YO(this.homeAccountIdentifier,l,t.refresh_token,this.clientId,t.foci,r,_)}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,n,i,o,s,r,a,l,c,u){let p="",m=[],g=null,f,_,h="";if(i.accessToken){if(i.accessToken.tokenType===wn.POP&&!s.popKid){let P=new os(t,r),{secret:C,keyId:j}=i.accessToken;if(!j)throw te(TO);p=await P.signPopToken(C,j,s)}else p=i.accessToken.secret;m=bi.fromString(i.accessToken.target).asArray(),g=Vk(i.accessToken.expiresOn),f=Vk(i.accessToken.extendedExpiresOn),i.accessToken.refreshOn&&(_=Vk(i.accessToken.refreshOn))}i.appMetadata&&(h=i.appMetadata.familyId===om?om:"");let k=a?.oid||a?.sub||"",y=a?.tid||"";c?.spa_accountid&&i.account&&(i.account.nativeAccountId=c?.spa_accountid);let x=i.account?gm(Uh(i.account),void 0,a,i.idToken?.secret):null;return{authority:n.canonicalAuthority,uniqueId:k,tenantId:y,scopes:m,account:x,idToken:i?.idToken?.secret||"",idTokenClaims:a||{},accessToken:p,fromCache:o,expiresOn:g,extExpiresOn:f,refreshOn:_,correlationId:s.correlationId,requestId:u||"",familyId:h,tokenType:i.accessToken?.tokenType||"",state:l?l.userRequestState:"",cloudGraphHostName:i.account?.cloudGraphHostName||"",msGraphHost:i.account?.msGraphHost||"",code:c?.spa_code,fromPlatformBroker:!1}}};function QA(e,t,n,i,o,s,r,a,l,c,u,p,m){p?.verbose("09jz0t",o);let g=a||t.getPreferredCache(),f=e.getAccountsFilteredBy({homeAccountId:n,environment:g},o);m?.addFields({cacheMatchedAccounts:f.length},o),f.length>1&&p?.warning("0x7ad1",o);let h=(f.length===1?f[0]:null)||zO({homeAccountId:n,idTokenClaims:s,clientInfo:r,environment:a,cloudGraphHostName:c?.cloud_graph_host_name,msGraphHost:c?.msgraph_host,nativeAccountId:u},t,i),k=h.tenantProfiles||[],y=l||h.realm;if(y&&!k.find(x=>x.tenantId===y)){let x=pl(n,h.localAccountId,y,s);k.push(x)}return h.tenantProfiles=k,h}var po={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"};async function KA(e,t,n){return typeof e=="string"?e:e({clientId:t,tokenEndpoint:n})}function Ac(e,t,n){return{clientId:e,authority:t.authority,scopes:t.scopes,homeAccountIdentifier:n,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 Pc=class e{static generateThrottlingStorageKey(t){return`${yk}.${JSON.stringify(t)}`}static preProcess(t,n,i){let o=e.generateThrottlingStorageKey(n),s=t.getThrottlingCache(o,i);if(s){if(s.throttleTime=500&&t.status<600}static checkResponseForRetryAfter(t){return t.headers?t.headers.hasOwnProperty(jn.RETRY_AFTER)&&(t.status<200||t.status>=300):!1}static calculateThrottleTime(t){let n=t<=0?0:t,i=Date.now()/1e3;return Math.floor(Math.min(i+(n||sU),i+rU)*1e3)}static removeThrottle(t,n,i,o){let s=Ac(n,i,o),r=this.generateThrottlingStorageKey(s);t.removeItem(r,i.correlationId)}};var Bh=class e extends ot{constructor(t,n,i){super(t.errorCode,t.errorMessage,t.subError),Object.setPrototypeOf(this,e.prototype),this.name="NetworkError",this.error=t,this.httpStatus=n,this.responseHeaders=i}};function ym(e,t,n,i){return e.errorMessage=`${e.errorMessage}, additionalErrorInfo: error.name:${i?.name}, error.message:${i?.message}`,new Bh(e,t,n)}function YA(e,t,n){let i={};if(i[jn.CONTENT_TYPE]=UF,!t&&n)switch(n.type){case po.HOME_ACCOUNT_ID:try{let o=ml(n.credential);i[jn.CCS_HEADER]=`Oid:${o.uid}@${o.utid}`}catch{e.verbose("1qhtee","")}break;case po.UPN:i[jn.CCS_HEADER]=`UPN: ${n.credential}`;break}return i}function WA(e,t,n,i){let o=new Map;return e.embeddedClientId&&wc(o,t,n),e.extraQueryParameters&&Sc(o,e.extraQueryParameters),dm(o,e.correlationId),rm(o,e.correlationId,i),ul(o)}async function JA(e,t,n,i,o,s,r,a,l,c){let u=await k$e(i,e,{body:t,headers:n},o,s,r,a,l);return c&&u.status<500&&u.status!==429&&c.clearTelemetryCache(),u}async function k$e(e,t,n,i,o,s,r,a){Pc.preProcess(o,e,i);let l;try{l=await G(s.sendPostRequestAsync.bind(s),WO,r,a,i)(t,n);let c=l.headers||{};a?.addFields({refreshTokenSize:l.body.refresh_token?.length||0,httpVerToken:c[jn.X_MS_HTTP_VERSION]||"",requestId:c[jn.X_MS_REQUEST_ID]||""},i)}catch(c){if(c instanceof Bh){let u=c.responseHeaders;throw u&&a?.addFields({httpVerToken:u[jn.X_MS_HTTP_VERSION]||"",requestId:u[jn.X_MS_REQUEST_ID]||"",contentTypeHeader:u[jn.CONTENT_TYPE]||void 0,contentLengthHeader:u[jn.CONTENT_LENGTH]||void 0,httpStatus:c.httpStatus},i),c.error}throw c instanceof ot?c:te(cO)}return Pc.postProcess(o,e,l,i),l}var XA={};Dn(XA,{createDiscoveredInstance:()=>xq});function cce(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}function uce(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}function dce(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}var Wk=class e{constructor(t,n,i,o){this.networkInterface=t,this.logger=n,this.performanceClient=i,this.correlationId=o}async detectRegion(t,n){let i=t;if(i)n.region_source=Gu.ENVIRONMENT_VARIABLE;else{let o=e.IMDS_OPTIONS;try{let s=await G(this.getRegionFromIMDS.bind(this),zA,this.logger,this.performanceClient,this.correlationId)(OF,o);if(s.status===hA&&(i=s.body,n.region_source=Gu.IMDS),s.status===bA){let r=await G(this.getCurrentVersion.bind(this),pq,this.logger,this.performanceClient,this.correlationId)(o);if(!r)return n.region_source=Gu.FAILED_AUTO_DETECTION,null;let a=await G(this.getRegionFromIMDS.bind(this),zA,this.logger,this.performanceClient,this.correlationId)(r,o);a.status===hA&&(i=a.body,n.region_source=Gu.IMDS)}}catch{return n.region_source=Gu.FAILED_AUTO_DETECTION,null}}return i||(n.region_source=Gu.FAILED_AUTO_DETECTION),i||null}async getRegionFromIMDS(t,n){return this.networkInterface.sendGetRequestAsync(`${fA}?api-version=${t}&format=text`,n,qF)}async getCurrentVersion(t){try{let n=await this.networkInterface.sendGetRequestAsync(`${fA}?format=json`,t);return n.status===bA&&n.body&&n.body["newest-versions"]&&n.body["newest-versions"].length>0?n.body["newest-versions"][0]:null}catch{return null}}};Wk.IMDS_OPTIONS={headers:{Metadata:"true"}};var Ic=class e{constructor(t,n,i,o,s,r,a,l){this.canonicalAuthority=t,this._canonicalAuthority.validateAsUri(),this.networkInterface=n,this.cacheManager=i,this.authorityOptions=o,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=s,this.performanceClient=a,this.correlationId=r,this.managedIdentity=l||!1,this.regionDiscovery=new Wk(n,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(t){if(t.HostNameAndPort.endsWith(mA))return wo.Ciam;let n=t.PathSegments;if(n.length)switch(n[0].toLowerCase()){case $F:return wo.Adfs;case DF:return wo.Dsts}return wo.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 St(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 te(fa)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw te(fa)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw te(fa)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw te(xO);return this.replacePath(this.metadata.end_session_endpoint)}else throw te(fa)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw te(fa)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw te(fa)}canReplaceTenant(t){return t.PathSegments.length===1&&!e.reservedTenantDomains.has(t.PathSegments[0])&&this.getAuthorityType(t)===wo.Default&&this.protocolMode!==pn.OIDC}replaceTenant(t){return t.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(t){let n=t,o=new St(this.metadata.canonical_authority).getUrlComponents(),s=o.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((a,l)=>{let c=s[l];if(l===0&&this.canReplaceTenant(o)){let u=new St(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];c!==u&&(this.logger.verbose("1q3g2x",this.correlationId),c=u)}a!==c&&(n=n.replace(`/${c}/`,`/${a}/`))}),this.replaceTenant(n)}get defaultOpenIdConfigurationEndpoint(){let t=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===wo.Adfs||this.protocolMode===pn.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(),n=await G(this.updateCloudDiscoveryMetadata.bind(this),lq,this.logger,this.performanceClient,this.correlationId)(t);this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,t.preferred_network);let i=await G(this.updateEndpointMetadata.bind(this),uq,this.logger,this.performanceClient,this.correlationId)(t);this.updateCachedMetadata(t,n,{source:i}),this.performanceClient?.addFields({cloudDiscoverySource:n,authorityEndpointSource:i},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:HA(),jwks_uri:""}),t}updateCachedMetadata(t,n,i){n!==Ns.CACHE&&i?.source!==Ns.CACHE&&(t.expiresAt=HA(),t.canonical_authority=this.canonicalAuthority);let o=this.cacheManager.generateAuthorityMetadataCacheKey(t.preferred_cache,this.correlationId);this.cacheManager.setAuthorityMetadata(o,t,this.correlationId),this.metadata=t}async updateEndpointMetadata(t){let n=this.updateEndpointMetadataFromLocalSources(t);if(n){if(n.source===Ns.HARDCODED_VALUES&&this.authorityOptions.azureRegionConfiguration?.azureRegion&&n.metadata){let o=await G(this.updateMetadataWithRegionalInformation.bind(this),jA,this.logger,this.performanceClient,this.correlationId)(n.metadata);Hh(t,o,!1),t.canonical_authority=this.canonicalAuthority}return n.source}let i=await G(this.getEndpointMetadataFromNetwork.bind(this),cq,this.logger,this.performanceClient,this.correlationId)();if(i)return this.authorityOptions.azureRegionConfiguration?.azureRegion&&(i=await G(this.updateMetadataWithRegionalInformation.bind(this),jA,this.logger,this.performanceClient,this.correlationId)(i)),Hh(t,i,!0),Ns.NETWORK;throw te(uO,this.defaultOpenIdConfigurationEndpoint)}updateEndpointMetadataFromLocalSources(t){this.logger.verbose("1fi0kc",this.correlationId);let n=this.getEndpointMetadataFromConfig();if(n)return this.logger.verbose("06t0uj",this.correlationId),Hh(t,n,!1),{source:Ns.CONFIG};this.logger.verbose("151k0p",this.correlationId);let i=this.getEndpointMetadataFromHardcodedValues();if(i)return Hh(t,i,!1),{source:Ns.HARDCODED_VALUES,metadata:i};this.logger.verbose("1imop5",this.correlationId);let o=BA(t);return this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!o?(this.logger.verbose("16uq31",""),{source:Ns.CACHE}):(o&&this.logger.verbose("0uoibc",""),null)}isAuthoritySameType(t){return new St(t.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw It(sO)}return null}async getEndpointMetadataFromNetwork(){let t={},n=this.defaultOpenIdConfigurationEndpoint;this.logger.verbose("1y65x6",this.correlationId);try{let i=await this.networkInterface.sendGetRequestAsync(n,t);return cce(i.body)?i.body:(this.logger.verbose("1koyv8",this.correlationId),null)}catch{return this.logger.verbose("0a9wik",this.correlationId),null}}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in OO?OO[this.hostnameAndPort]:null}async updateMetadataWithRegionalInformation(t){let n=this.authorityOptions.azureRegionConfiguration?.azureRegion;if(n){if(n!==HF)return this.regionDiscoveryMetadata.region_outcome=vk.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=n,e.replaceWithRegionalInformation(t,n);let i=await G(this.regionDiscovery.detectRegion.bind(this.regionDiscovery),dq,this.logger,this.performanceClient,this.correlationId)(this.authorityOptions.azureRegionConfiguration?.environmentRegion,this.regionDiscoveryMetadata);if(i)return this.regionDiscoveryMetadata.region_outcome=vk.AUTO_DETECTION_REQUESTED_SUCCESSFUL,this.regionDiscoveryMetadata.region_used=i,e.replaceWithRegionalInformation(t,i);this.regionDiscoveryMetadata.region_outcome=vk.AUTO_DETECTION_REQUESTED_FAILED}return t}async updateCloudDiscoveryMetadata(t){let n=this.updateCloudDiscoveryMetadataFromLocalSources(t);if(n)return n;let i=await G(this.getCloudDiscoveryMetadataFromNetwork.bind(this),aq,this.logger,this.performanceClient,this.correlationId)();if(i)return Gk(t,i,!0),Ns.NETWORK;throw It(rO)}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 n=this.getCloudDiscoveryMetadataFromConfig();if(n)return this.logger.verbose("1nakio",this.correlationId),Gk(t,n,!1),Ns.CONFIG;this.logger.verbose("1x74aj",this.correlationId);let i=sce(this.hostnameAndPort);if(i)return this.logger.verbose("0by47c",this.correlationId),Gk(t,i,!1),Ns.HARDCODED_VALUES;this.logger.verbose("0r2fzy",this.correlationId);let o=BA(t);return this.isAuthoritySameType(t)&&t.aliasesFromNetwork&&!o?(this.logger.verbose("1uffgh",""),Ns.CACHE):(o&&this.logger.verbose("0uoibc",""),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===wo.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),n=Bk(t.metadata,this.hostnameAndPort);if(this.logger.verbose("0q67e3",""),n)return this.logger.verbose("0hzfao",this.correlationId),n;this.logger.verbose("1ajz3u",this.correlationId)}catch{throw this.logger.verbose("1wq5tu",this.correlationId),It(IA)}}return this.isInKnownAuthorities()?(this.logger.verbose("0mt9al",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}async getCloudDiscoveryMetadataFromNetwork(){let t=`${NF}${this.canonicalAuthority}oauth2/v2.0/authorize`,n={},i=null;try{let o=await this.networkInterface.sendGetRequestAsync(t,n),s,r;if(uce(o.body))s=o.body,r=s.metadata,this.logger.verbosePii("1vglyt",this.correlationId);else if(dce(o.body)){if(this.logger.warning("062uto",this.correlationId),s=o.body,s.error===zF)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),r=[]}else return this.logger.error("0768g0",this.correlationId),null;this.logger.verbose("1lrobr",this.correlationId),i=Bk(r,this.hostnameAndPort)}catch(o){return o instanceof ot?this.logger.error("0vwhc7",this.correlationId):this.logger.error("0s2z41",this.correlationId),null}return i||(this.logger.warning("0jp28q",this.correlationId),this.logger.verbose("130sd8",this.correlationId),i=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),i}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(n=>n&&St.getDomainFromUrl(n).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(t,n){let i;if(n&&n.azureCloudInstance!==Wu.None){let o=n.tenant?n.tenant:gk;i=`${n.azureCloudInstance}/${o}/`}return i||t}static createCloudDiscoveryMetadataFromHost(t){return{preferred_network:t,preferred_cache:t,aliases:[t]}}getPreferredCache(){if(this.managedIdentity)return MF;if(this.discoveryComplete())return this.metadata.preferred_cache;throw te(fa)}isAlias(t){return this.metadata.aliases.indexOf(t)>-1}isAliasOfKnownMicrosoftAuthority(t){return HO.has(t)}static isPublicCloudAuthority(t){return jF.indexOf(t)>=0}static buildRegionalAuthorityString(t,n,i){let o=new St(t);o.validateAsUri();let s=o.getUrlComponents(),r=`${n}.${s.HostNameAndPort}`;this.isPublicCloudAuthority(s.HostNameAndPort)&&(r=`${n}.${BF}`);let a=St.constructAuthorityUriFromObject({...o.getUrlComponents(),HostNameAndPort:r}).urlString;return i?`${a}?${i}`:a}static replaceWithRegionalInformation(t,n){let i={...t};return i.authorization_endpoint=e.buildRegionalAuthorityString(i.authorization_endpoint,n),i.token_endpoint=e.buildRegionalAuthorityString(i.token_endpoint,n),i.end_session_endpoint&&(i.end_session_endpoint=e.buildRegionalAuthorityString(i.end_session_endpoint,n)),i}static transformCIAMAuthority(t){let n=t,o=new St(t).getUrlComponents();if(o.PathSegments.length===0&&o.HostNameAndPort.endsWith(mA)){let s=o.HostNameAndPort.split(".")[0];n=`${n}${s}${FF}`}return n}};Ic.reservedTenantDomains=new Set(["{tenant}","{tenantid}",ma.COMMON,ma.CONSUMERS,ma.ORGANIZATIONS]);function pce(e){let i=new St(e).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(i){case ma.COMMON:case ma.ORGANIZATIONS:case ma.CONSUMERS:return;default:return i}}function ZA(e){return e.endsWith(wh)?e:`${e}${wh}`}function kq(e){let t=e.cloudDiscoveryMetadata,n;if(t)try{n=JSON.parse(t)}catch{throw It(IA)}return{canonicalAuthority:e.authority?ZA(e.authority):void 0,knownAuthorities:e.knownAuthorities,cloudDiscoveryMetadata:n}}async function xq(e,t,n,i,o,s,r){let a=Ic.transformCIAMAuthority(ZA(e)),l=new Ic(a,t,n,i,o,s,r);try{return await G(l.resolveEndpointsAsync.bind(l),rq,o,r,s)(),l}catch{throw te(fa)}}var vm=class{constructor(t,n){this.includeRedirectUri=!0,this.config=Oh(t),this.logger=new _i(this.config.loggerOptions,Yu,dl),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=n,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}async acquireToken(t,n,i){if(!t.code)throw te(hO);i&&i.cloud_instance_host_name&&await G(this.updateTokenEndpointAuthority.bind(this),sq,this.logger,this.performanceClient,t.correlationId)(i.cloud_instance_host_name,t.correlationId);let o=Fs(),s=await G(this.executeTokenRequest.bind(this),iq,this.logger,this.performanceClient,t.correlationId)(this.authority,t,this.serverTelemetryManager),r=s.headers?.[jn.X_MS_REQUEST_ID],a=new ba(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return a.validateTokenResponse(s.body,t.correlationId),G(a.handleServerTokenResponse.bind(a),Kk,this.logger,this.performanceClient,t.correlationId)(s.body,this.authority,o,t,n,i,void 0,void 0,void 0,r)}getLogoutUri(t){if(!t)throw It(iO);let n=this.createLogoutUrlQueryString(t);return St.appendQueryString(this.authority.endSessionEndpoint,n)}async executeTokenRequest(t,n,i){let o=WA(n,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),s=St.appendQueryString(t.tokenEndpoint,o),r=await G(this.createTokenRequestBody.bind(this),oq,this.logger,this.performanceClient,n.correlationId)(n),a;if(n.clientInfo)try{let u=Fh(n.clientInfo,this.cryptoUtils.base64Decode);a={credential:`${u.uid}${Ah}${u.utid}`,type:po.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",n.correlationId)}let l=YA(this.logger,this.config.systemOptions.preventCorsPreflight,a||n.ccsCredential),c=Ac(this.config.authOptions.clientId,n);return G(JA,ZO,this.logger,this.performanceClient,n.correlationId)(s,r,l,c,n.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,i)}async createTokenRequestBody(t){let n=new Map;if(lm(n,t.embeddedClientId||t.extraParameters?.[cl]||this.config.authOptions.clientId),this.includeRedirectUri)cm(n,t.redirectUri);else if(!t.redirectUri)throw It(ZU);if(am(n,t.scopes,!0,this.oidcDefaultScopes),qk(n,t.resource),RO(n,t.code),Ak(n,this.config.libraryInfo),Pk(n,this.config.telemetry.application),Ok(n),this.serverTelemetryManager&&!UA(this.config)&&Uk(n,this.serverTelemetryManager),t.codeVerifier&&$O(n,t.codeVerifier),this.config.clientCredentials.clientSecret&&Lk(n,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let o=this.config.clientCredentials.clientAssertion;Rk(n,await KA(o.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),Mk(n,o.assertionType)}if($k(n,bk.AUTHORIZATION_CODE_GRANT),pm(n),t.authenticationScheme===wn.POP){let o=new os(this.cryptoUtils,this.performanceClient),s;t.popKid?s=this.cryptoUtils.encodeKid(t.popKid):s=(await G(o.generateCnf.bind(o),bm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,Nk(n,s)}else if(t.authenticationScheme===wn.SSH)if(t.sshJwk)Fk(n,t.sshJwk);else throw It(Sk);(!Fn.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&um(n,t.claims,this.config.authOptions.clientCapabilities);let i;if(t.clientInfo)try{let o=Fh(t.clientInfo,this.cryptoUtils.base64Decode);i={credential:`${o.uid}${Ah}${o.utid}`,type:po.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",t.correlationId)}else i=t.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&i)switch(i.type){case po.HOME_ACCOUNT_ID:try{let o=ml(i.credential);Tc(n,o)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case po.UPN:Qu(n,i.credential);break}return t.embeddedClientId&&wc(n,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&Sc(n,t.extraParameters),t.enableSpaAuthorizationCode&&(!t.extraParameters||!t.extraParameters[CA])&&Sc(n,{[CA]:"1"}),rm(n,t.correlationId,this.performanceClient),ul(n)}createLogoutUrlQueryString(t){let n=new Map;return t.postLogoutRedirectUri&&EO(n,t.postLogoutRedirectUri),t.correlationId&&dm(n,t.correlationId),t.idTokenHint&&AO(n,t.idTokenHint),t.state&&Ik(n,t.state),t.logoutHint&&NO(n,t.logoutHint),t.extraQueryParameters&&Sc(n,t.extraQueryParameters),this.config.authOptions.instanceAware&&Dk(n),ul(n)}async updateTokenEndpointAuthority(t,n){let i=`https://${t}/${this.authority.tenant}/`,o=await xq(i,this.networkClient,this.cacheManager,this.authority.options,this.logger,n,this.performanceClient);this.authority=o}};var x$e=300,Jk=class{constructor(t,n){this.config=Oh(t),this.logger=new _i(this.config.loggerOptions,Yu,dl),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=n}async acquireToken(t,n){let i=Fs(),o=await G(this.executeTokenRequest.bind(this),XO,this.logger,this.performanceClient,t.correlationId)(t,this.authority),s=o.headers?.[jn.X_MS_REQUEST_ID],r=new ba(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return r.validateTokenResponse(o.body,t.correlationId),G(r.handleServerTokenResponse.bind(r),Kk,this.logger,this.performanceClient,t.correlationId)(o.body,this.authority,i,t,n,void 0,void 0,!0,t.forceCache,s)}async acquireTokenByRefreshToken(t,n){if(!t)throw It(nO);if(!t.account)throw te(Ck);if(this.cacheManager.isAppMetadataFOCI(t.account.environment,t.correlationId))try{return await G(this.acquireTokenWithCachedRefreshToken.bind(this),Qk,this.logger,this.performanceClient,t.correlationId)(t,!0,n)}catch(o){let s=o instanceof Cn&&o.errorCode===VA,r=o instanceof ss&&o.errorCode===lU&&o.subError===cU;if(s||r)return G(this.acquireTokenWithCachedRefreshToken.bind(this),Qk,this.logger,this.performanceClient,t.correlationId)(t,!1,n);throw o}return G(this.acquireTokenWithCachedRefreshToken.bind(this),Qk,this.logger,this.performanceClient,t.correlationId)(t,!1,n)}async acquireTokenWithCachedRefreshToken(t,n,i){let o=ei(this.cacheManager.getRefreshToken.bind(this.cacheManager),mq,this.logger,this.performanceClient,t.correlationId)(t.account,n,t.correlationId,void 0);if(!o)throw _m(VA);if(o.expiresOn){let r=t.refreshTokenExpirationOffsetSeconds||x$e;if(this.performanceClient?.addFields({cacheRtExpiresOnSeconds:Number(o.expiresOn),rtOffsetSeconds:r},t.correlationId),qh(o.expiresOn,r))throw _m(gq)}let s={...t,refreshToken:o.secret,authenticationScheme:t.authenticationScheme||wn.BEARER,ccsCredential:{credential:t.account.homeAccountId,type:po.HOME_ACCOUNT_ID}};try{return await G(this.acquireToken.bind(this),eq,this.logger,this.performanceClient,t.correlationId)(s,i)}catch(r){if(r instanceof Cn&&r.subError===Yk){this.logger.verbose("1pg3ap",t.correlationId);let a=this.cacheManager.generateCredentialKey(o);this.cacheManager.removeRefreshToken(a,t.correlationId)}throw r}}async executeTokenRequest(t,n){let i=WA(t,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),o=St.appendQueryString(n.tokenEndpoint,i),s=await G(this.createTokenRequestBody.bind(this),tq,this.logger,this.performanceClient,t.correlationId)(t),r=YA(this.logger,this.config.systemOptions.preventCorsPreflight,t.ccsCredential),a=Ac(this.config.authOptions.clientId,t);return G(JA,JO,this.logger,this.performanceClient,t.correlationId)(o,s,r,a,t.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,this.serverTelemetryManager)}async createTokenRequestBody(t){let n=new Map;if(lm(n,t.embeddedClientId||t.extraParameters?.[cl]||this.config.authOptions.clientId),t.redirectUri&&cm(n,t.redirectUri),am(n,t.scopes,!0,this.config.authOptions.authority.options.OIDCOptions?.defaultScopes),$k(n,bk.REFRESH_TOKEN_GRANT),pm(n),Ak(n,this.config.libraryInfo),Pk(n,this.config.telemetry.application),Ok(n),this.serverTelemetryManager&&!UA(this.config)&&Uk(n,this.serverTelemetryManager),MO(n,t.refreshToken),this.config.clientCredentials.clientSecret&&Lk(n,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let i=this.config.clientCredentials.clientAssertion;Rk(n,await KA(i.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),Mk(n,i.assertionType)}if(t.authenticationScheme===wn.POP){let i=new os(this.cryptoUtils,this.performanceClient),o;t.popKid?o=this.cryptoUtils.encodeKid(t.popKid):o=(await G(i.generateCnf.bind(i),bm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,Nk(n,o)}else if(t.authenticationScheme===wn.SSH)if(t.sshJwk)Fk(n,t.sshJwk);else throw It(Sk);if((!Fn.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&um(n,t.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&t.ccsCredential)switch(t.ccsCredential.type){case po.HOME_ACCOUNT_ID:try{let i=ml(t.ccsCredential.credential);Tc(n,i)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case po.UPN:Qu(n,t.ccsCredential.credential);break}return t.embeddedClientId&&wc(n,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&Sc(n,{...t.extraParameters}),rm(n,t.correlationId,this.performanceClient),ul(n)}};var Zk=class{constructor(t,n){this.config=Oh(t),this.logger=new _i(this.config.loggerOptions,Yu,dl),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=n}async acquireCachedToken(t){let n=ga.NOT_APPLICABLE;if(t.forceRefresh||!Fn.isEmptyObj(t.claims))throw this.setCacheOutcome(ga.FORCE_REFRESH_OR_CLAIMS,t.correlationId),te($h);if(!t.account)throw te(Ck);let i=t.account.tenantId||pce(t.authority),o=this.cacheManager.getTokenKeys(),s=this.cacheManager.getAccessToken(t.account,t,o,i);if(s){if(GO(s.cachedAt)||qh(s.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw this.setCacheOutcome(ga.CACHED_ACCESS_TOKEN_EXPIRED,t.correlationId),te($h);if(t.resource){if(s.resource!==t.resource)throw this.setCacheOutcome(ga.NO_CACHED_ACCESS_TOKEN,t.correlationId),te($h)}else s.refreshOn&&qh(s.refreshOn,0)&&(n=ga.PROACTIVELY_REFRESHED)}else throw this.setCacheOutcome(ga.NO_CACHED_ACCESS_TOKEN,t.correlationId),te($h);let r=t.authority||this.authority.getPreferredCache(),a={account:this.cacheManager.getAccount(this.cacheManager.generateAccountKey(t.account),t.correlationId),accessToken:s,idToken:this.cacheManager.getIdToken(t.account,t.correlationId,o,i),refreshToken:null,appMetadata:this.cacheManager.readAppMetadataFromCache(r,t.correlationId)};return this.setCacheOutcome(n,t.correlationId),this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[await G(this.generateResultFromCacheRecord.bind(this),nq,this.logger,this.performanceClient,t.correlationId)(a,t),n]}setCacheOutcome(t,n){this.serverTelemetryManager?.setCacheOutcome(t),this.performanceClient?.addFields({cacheOutcome:t},n),t!==ga.NOT_APPLICABLE&&this.logger.info("09ingz",n)}async generateResultFromCacheRecord(t,n){let i;if(t.idToken&&(i=Cc(t.idToken.secret,this.config.cryptoInterface.base64Decode)),n.maxAge||n.maxAge===0){let o=i?.auth_time;if(!o)throw te(wk);Hk(o,n.maxAge)}return ba.generateAuthenticationResult(this.cryptoUtils,this.authority,t,!0,n,this.performanceClient,i)}};var Tq={sendGetRequestAsync:()=>Promise.reject(te(yt)),sendPostRequestAsync:()=>Promise.reject(te(yt))};var fl={};Dn(fl,{getAuthorizationCodePayload:()=>w$e,getAuthorizeUrl:()=>S$e,getStandardAuthorizeRequestParameters:()=>T$e,validateAuthorizationResponse:()=>mce});function T$e(e,t,n,i){let o=t.correlationId,s=new Map;lm(s,t.embeddedClientId||t.extraQueryParameters?.[cl]||e.clientId);let r=[...t.scopes||[],...t.extraScopesToConsent||[]];if(am(s,r,!0,e.authority.options.OIDCOptions?.defaultScopes),qk(s,t.resource),cm(s,t.redirectUri),dm(s,o),CO(s,t.responseMode),pm(s),DO(s),t.prompt&&(IO(s,t.prompt),i?.addFields({prompt:t.prompt},o)),t.domainHint&&(PO(s,t.domainHint),i?.addFields({domainHintFromRequest:!0},o)),t.prompt!==hk.SELECT_ACCOUNT)if(t.sid&&t.prompt===hk.NONE)n.verbose("1tvqyx",t.correlationId),NA(s,t.sid),i?.addFields({sidFromRequest:!0},o);else if(t.account){let a=E$e(t.account),l=A$e(t.account);if(l&&t.domainHint&&(n.warning("0wkg3v",t.correlationId),l=null),l){n.verbose("1eyfsw",t.correlationId),Dh(s,l),i?.addFields({loginHintFromClaim:!0},o);try{let c=ml(t.account.homeAccountId);Tc(s,c)}catch{n.verbose("12ugck",t.correlationId)}}else if(a&&t.prompt===hk.NONE){n.verbose("1rmd8s",t.correlationId),NA(s,a),i?.addFields({sidFromClaim:!0},o);try{let c=ml(t.account.homeAccountId);Tc(s,c)}catch{n.verbose("12ugck",t.correlationId)}}else if(t.loginHint)n.verbose("0y3007",t.correlationId),Dh(s,t.loginHint),Qu(s,t.loginHint),i?.addFields({loginHintFromRequest:!0},o);else if(t.account.username){n.verbose("02f507",t.correlationId),Dh(s,t.account.username),i?.addFields({loginHintFromUpn:!0},o);try{let c=ml(t.account.homeAccountId);Tc(s,c)}catch{n.verbose("12ugck",t.correlationId)}}}else t.loginHint&&(n.verbose("0g01ey",t.correlationId),Dh(s,t.loginHint),Qu(s,t.loginHint),i?.addFields({loginHintFromRequest:!0},o));else n.verbose("169k9v",t.correlationId);return t.nonce&&LO(s,t.nonce),t.state&&Ik(s,t.state),(t.claims||e.clientCapabilities&&e.clientCapabilities.length>0)&&um(s,t.claims,e.clientCapabilities),t.embeddedClientId&&wc(s,e.clientId,e.redirectUri),e.instanceAware&&(!t.extraQueryParameters||!Object.keys(t.extraQueryParameters).includes(Lh))&&Dk(s),s}function S$e(e,t){let n=ul(t);return St.appendQueryString(e.authorizationEndpoint,n)}function w$e(e,t){if(mce(e,t),!e.code)throw te(kO);return e}function mce(e,t){if(!e.state||!t)throw e.state?te(MA,"Cached State"):te(MA,"Server State");let n,i;try{n=decodeURIComponent(e.state)}catch{throw te(sm,e.state)}try{i=decodeURIComponent(t)}catch{throw te(sm,e.state)}if(n!==i)throw te(pO);if(e.error||e.error_description||e.suberror){let o=C$e(e);throw GA(e.error,e.error_description,e.suberror)?new Cn(e.error||"",e.error_description,e.suberror,e.timestamp||"",e.trace_id||"",e.correlation_id||"",e.claims||"",o):new ss(e.error||"",e.error_description,e.suberror,o)}}function C$e(e){let t="code=",n=e.error_uri?.lastIndexOf(t);return n&&n>=0?e.error_uri?.substring(n+t.length):void 0}function E$e(e){return e.idTokenClaims?.sid||null}function A$e(e){return e.loginHint||e.idTokenClaims?.login_hint||null}function Xk(e,t){if(e){if(t.resource&&(gce(t.extraParameters)||gce(t.extraQueryParameters)))throw te(wO);if(!t.resource)throw te(SO)}}function gce(e){return e?Object.prototype.hasOwnProperty.call(e,"resource"):!1}var Zu={};Dn(Zu,{postRequestFailed:()=>I$e,unexpectedError:()=>P$e});var P$e="unexpected_error",I$e="post_request_failed";var fce=",",hce="|";function L$e(e){let{skus:t,libraryName:n,libraryVersion:i,extensionName:o,extensionVersion:s}=e,r=new Map([[0,[n,i]],[2,[o,s]]]),a=[];if(t?.length){if(a=t.split(fce),a.length<4)return t}else a=Array.from({length:4},()=>hce);return r.forEach((l,c)=>{l.length===2&&l[0]?.length&&l[1]?.length&&R$e({skuArr:a,index:c,skuName:l[0],skuVersion:l[1]})}),a.join(fce)}function R$e(e){let{skuArr:t,index:n,skuName:i,skuVersion:o}=e;n>=t.length||(t[n]=[i,o].join(hce))}var km=class e{constructor(t,n){this.cacheOutcome=ga.NOT_APPLICABLE,this.cacheManager=n,this.apiId=t.apiId,this.correlationId=t.correlationId,this.wrapperSKU=t.wrapperSKU||"",this.wrapperVer=t.wrapperVer||"",this.telemetryCacheKey=_k+im+t.clientId}generateCurrentRequestHeaderValue(){let t=`${this.apiId}${Vu}${this.cacheOutcome}`,n=[this.wrapperSKU,this.wrapperVer],i=this.getNativeBrokerErrorCode();i?.length&&n.push(`broker_error=${i}`);let o=n.join(Vu),s=this.getRegionDiscoveryFields(),r=[t,s].join(Vu);return[vA,r,o].join(kA)}generateLastRequestHeaderValue(){let t=this.getLastRequests(),n=e.maxErrorsToSend(t),i=t.failedRequests.slice(0,2*n).join(Vu),o=t.errors.slice(0,n).join(Vu),s=t.errors.length,r=n=tU&&(n.failedRequests.shift(),n.failedRequests.shift(),n.errors.shift()),n.failedRequests.push(this.apiId,this.correlationId),t instanceof Error&&t&&t.toString()?t instanceof ot?t.subError?n.errors.push(t.subError):t.errorCode?n.errors.push(t.errorCode):n.errors.push(t.toString()):n.errors.push(t.toString()):n.errors.push(oU),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,n,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(),n=e.maxErrorsToSend(t),i=t.errors.length;if(n===i)this.cacheManager.removeItem(this.telemetryCacheKey,this.correlationId);else{let o={failedRequests:t.failedRequests.slice(n*2),errors:t.errors.slice(n),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,o,this.correlationId)}}static maxErrorsToSend(t){let n,i=0,o=0,s=t.errors.length;for(n=0;ntypeof e=="number"&&e in Zce?Zce[e]:"unknown",Ke;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(Ke||(Ke={}));var Mq={scopes:$e.OIDC_DEFAULT_SCOPES},$q="jwk";var nP="msal.db",eue=1,tue=`${nP}.keys`,Yi={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},nue=[Yi.Default,Yi.Skip,Yi.RefreshTokenAndNetwork];function nx(e){return encodeURIComponent(td(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function Er(e){return iue(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function td(e){return iue(new TextEncoder().encode(e))}function iue(e){let t=Array.from(e,n=>String.fromCodePoint(n)).join("");return btoa(t)}var Dq="pkce_not_created",Nq="ear_jwk_empty",oue="ear_jwe_empty",Fq="crypto_nonexistent",Yh="empty_navigate_uri",sue="hash_empty_error",Wh="no_state_in_hash",rue="hash_does_not_contain_known_properties",iP="unable_to_parse_state",aue="state_interaction_type_mismatch",lue="interaction_in_progress",cue="interaction_in_progress_cancelled",uue="popup_window_error",due="empty_window_error",ix="user_cancelled",pue="redirect_bridge_empty_response",mue="redirect_in_iframe",gue="block_iframe_reload",fue="block_nested_popups";var Jh="silent_logout_unsupported",hue="no_account_error";var bue="no_token_request_cache_error",_ue="unable_to_parse_token_request_cache_error";var oP="non_browser_environment",Zh="database_not_open",ox="no_network_connectivity",yue="post_request_failed",vue="get_request_failed",Uq="failed_to_parse_response";var sP="crypto_key_not_found",kue="auth_code_required",xue="auth_code_or_nativeAccountId_required",Tue="spa_code_and_nativeAccountId_present",rP="database_unavailable",Sue="unable_to_acquire_token_from_native_platform",wue="native_handshake_timeout",Cue="native_extension_not_installed",aP="native_connection_not_established",Xh="uninitialized_public_client_application",Eue="native_prompt_not_supported",Aue="invalid_base64_string",Pue="invalid_pop_token_request",Iue="failed_to_build_headers",Lue="failed_to_parse_headers",lP="failed_to_decrypt_ear_response",Sm="timed_out",Rue="empty_response";function Li(e){return new TextDecoder().decode(hl(e))}function hl(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 ge(Aue)}let n=atob(t);return Uint8Array.from(n,i=>i.codePointAt(0)||0)}var M$e="RSASSA-PKCS1-v1_5",eb="AES-GCM",Due="HKDF",qq="SHA-256",$$e=2048,D$e=new Uint8Array([1,0,1]),Mue="0123456789abcdef",$ue=new Uint32Array(1),Hq="raw",Nue="encrypt",Bq="decrypt",N$e="deriveKey",F$e="crypto_subtle_undefined",jq={name:M$e,hash:qq,modulusLength:$$e,publicExponent:D$e};function Fue(e){if(!window)throw ge(oP);if(!window.crypto)throw ge(Fq);if(!e&&!window.crypto.subtle)throw ge(Fq,F$e)}async function zq(e){let n=new TextEncoder().encode(e);return window.crypto.subtle.digest(qq,n)}function Uue(e){return window.crypto.getRandomValues(e)}function Oq(){return window.crypto.getRandomValues($ue),$ue[0]}function Us(){let e=Date.now(),t=Oq()*1024+(Oq()&1023),n=new Uint8Array(16),i=Math.trunc(t/2**30),o=t&2**30-1,s=Oq();n[0]=e/2**40,n[1]=e/2**32,n[2]=e/2**24,n[3]=e/2**16,n[4]=e/2**8,n[5]=e,n[6]=112|i>>>8,n[7]=i,n[8]=128|o>>>24,n[9]=o>>>16,n[10]=o>>>8,n[11]=o,n[12]=s>>>24,n[13]=s>>>16,n[14]=s>>>8,n[15]=s;let r="";for(let a=0;a>>4),r+=Mue.charAt(n[a]&15),(a===3||a===5||a===7||a===9)&&(r+="-");return r}async function Oue(e,t){return window.crypto.subtle.generateKey(jq,e,t)}async function cP(e){return window.crypto.subtle.exportKey($q,e)}async function que(e,t,n){return window.crypto.subtle.importKey($q,e,jq,t,n)}async function Hue(e,t){return window.crypto.subtle.sign(jq,e,t)}async function tb(){let e=await Vq(),n={alg:"dir",kty:"oct",k:Er(new Uint8Array(e))};return td(JSON.stringify(n))}async function U$e(e){let t=Li(e),i=JSON.parse(t).k,o=hl(i);return window.crypto.subtle.importKey(Hq,o,eb,!1,[Bq])}async function Bue(e,t){let n=t.split(".");if(n.length!==5)throw ge(lP,"jwe_length");let i=await U$e(e).catch(()=>{throw ge(lP,"import_key")});try{let o=new TextEncoder().encode(n[0]),s=hl(n[2]),r=hl(n[3]),a=hl(n[4]),l=a.byteLength*8,c=new Uint8Array(r.length+a.length);c.set(r),c.set(a,r.length);let u=await window.crypto.subtle.decrypt({name:eb,iv:s,tagLength:l,additionalData:o},i,c);return new TextDecoder().decode(u)}catch{throw ge(lP,"decrypt")}}async function Vq(){let e=await window.crypto.subtle.generateKey({name:eb,length:256},!0,[Nue,Bq]);return window.crypto.subtle.exportKey(Hq,e)}async function Gq(e){return window.crypto.subtle.importKey(Hq,e,Due,!1,[N$e])}async function jue(e,t,n){return window.crypto.subtle.deriveKey({name:Due,salt:t,hash:qq,info:new TextEncoder().encode(n)},e,{name:eb,length:256},!1,[Nue,Bq])}async function zue(e,t,n){let i=new TextEncoder().encode(t),o=window.crypto.getRandomValues(new Uint8Array(16)),s=await jue(e,o,n),r=await window.crypto.subtle.encrypt({name:eb,iv:new Uint8Array(12)},s,i);return{data:Er(new Uint8Array(r)),nonce:Er(o)}}async function Qq(e,t,n,i){let o=hl(i),s=await jue(e,hl(t),n),r=await window.crypto.subtle.decrypt({name:eb,iv:new Uint8Array(12)},s,o);return new TextDecoder().decode(r)}async function Vue(e){let t=await zq(e),n=new Uint8Array(t);return Er(n)}var Kq=class e extends ot{constructor(t,n){super(t,n),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,e.prototype)}};function nb(e){return new Kq(e,Qh(e))}var uP="storage_not_supported";var Gue="in_mem_redirect_unavailable";function O$e(){let e=window.location.hash,t=window.location.search,n=!1,i=!1,o="",s;if(e&&e.length>1){let u=e.charAt(0)==="#"?e.substring(1):e,p=new URLSearchParams(u);p.has("state")&&(n=!0,o=u,s=p)}if(t&&t.length>1){let u=t.charAt(0)==="?"?t.substring(1):t,p=new URLSearchParams(u);p.has("state")&&(i=!0,o=u,s=p)}if(n&&i){let u=t.charAt(0)==="?"?t.substring(1):t,p=e.charAt(0)==="#"?e.substring(1):e;o=`${u}${p}`,s=new URLSearchParams(o)}if(!o||!s)throw ge(Rue);let r=s.get("state");if(!r)throw ge(Wh);let{libraryState:a}=ha.parseRequestState(Li,r),{id:l,meta:c}=a;if(!l||!c)throw ge(iP,"missing_library_state");return{params:s,payload:o,urlHash:e,urlQuery:t,hasResponseInHash:n,hasResponseInQuery:i,libraryState:{id:l,meta:c}}}function dP(e){e.location.hash="",typeof e.history.replaceState=="function"&&e.history.replaceState(null,"",`${e.location.origin}${e.location.pathname}${e.location.search}`)}function Que(e){let t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):""}function sx(){return window.parent!==window}function q$e(){if(sx())return!1;try{let{libraryState:e}=O$e(),{meta:t}=e;return t.interactionType===Ke.Popup}catch{return!1}}var nd=null;function Kue(e,t){nd&&(e.verbose("18y01k",t),clearTimeout(nd.timeoutId),nd.channel.close(),nd.reject(ge(cue)),nd=null)}async function id(e,t,n,i,o,s){return new Promise((r,a)=>{t.verbose("1rf6em",i.correlationId);let l=i.correlationId;o.addFields({redirectBridgeTimeoutMs:e,lateResponseExperimentEnabled:s?.iframeTimeoutTelemetry||!1},l);let{libraryState:c}=ha.parseRequestState(n.base64Decode,i.state||""),u=new BroadcastChannel(c.id),p,m=!1,g,f,_=window.setTimeout(()=>{nd=null,s?.iframeTimeoutTelemetry?(f=o.startMeasurement(Jce,l),m=!0,g=window.setTimeout(()=>{f?.end({success:!1}),clearTimeout(g),u.close()},6e4)):u.close(),a(ge(Sm,"redirect_bridge_timeout"))},e);nd={timeoutId:_,channel:u,reject:a},u.onmessage=h=>{p=h.data.payload;let k=h?.data&&typeof h.data.v=="number"?h.data.v:void 0;if(m){f?.end({success:!!p}),clearTimeout(g),u.close();return}o.addFields({redirectBridgeMessageVersion:k},l),nd=null,clearTimeout(_),u.close(),p?r(p):a(ge(pue))}})}function Ar(){return typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:""}function Yue(){let t=new St(window.location.href).getUrlComponents();return`${t.Protocol}//${t.HostNameAndPort}/`}function H$e(){if(wr.getDeserializedResponse(window.location.hash)&&sx())throw ge(gue)}function B$e(e){if(sx()&&!e)throw ge(mue)}function j$e(){if(q$e())throw ge(fue)}function Yq(){if(typeof window>"u")throw ge(oP)}function Wq(e){if(!e)throw ge(Xh)}function pP(e){Yq(),H$e(),j$e(),Wq(e)}function Jq(e,t){if(pP(e),B$e(t.system.allowRedirectInIframe),t.cache.cacheLocation===Ii.MemoryStorage)throw nb(Gue)}function mP(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 rx(){return Us()}var vat=yn.addClientCapabilitiesToClaims;var gP=class{constructor(){this.dbName=nP,this.version=eue,this.tableName=tue,this.dbOpen=!1}async open(){return new Promise((t,n)=>{let i=window.indexedDB.open(this.dbName,this.version);i.addEventListener("upgradeneeded",o=>{o.target.result.createObjectStore(this.tableName)}),i.addEventListener("success",o=>{let s=o;this.db=s.target.result,this.dbOpen=!0,t()}),i.addEventListener("error",()=>n(ge(rP)))})}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((n,i)=>{if(!this.db)return i(ge(Zh));let r=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).get(t);r.addEventListener("success",a=>{let l=a;this.closeConnection(),n(l.target.result)}),r.addEventListener("error",a=>{this.closeConnection(),i(a)})})}async setItem(t,n){return await this.validateDbIsOpen(),new Promise((i,o)=>{if(!this.db)return o(ge(Zh));let a=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).put(n,t);a.addEventListener("success",()=>{this.closeConnection(),i()}),a.addEventListener("error",l=>{this.closeConnection(),o(l)})})}async removeItem(t){return await this.validateDbIsOpen(),new Promise((n,i)=>{if(!this.db)return i(ge(Zh));let r=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).delete(t);r.addEventListener("success",()=>{this.closeConnection(),n()}),r.addEventListener("error",a=>{this.closeConnection(),i(a)})})}async getKeys(){return await this.validateDbIsOpen(),new Promise((t,n)=>{if(!this.db)return n(ge(Zh));let s=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).getAllKeys();s.addEventListener("success",r=>{let a=r;this.closeConnection(),t(a.target.result)}),s.addEventListener("error",r=>{this.closeConnection(),n(r)})})}async containsKey(t){return await this.validateDbIsOpen(),new Promise((n,i)=>{if(!this.db)return i(ge(Zh));let r=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).count(t);r.addEventListener("success",a=>{let l=a;this.closeConnection(),n(l.target.result===1)}),r.addEventListener("error",a=>{this.closeConnection(),i(a)})})}async deleteDatabase(){return this.db&&this.dbOpen&&this.closeConnection(),new Promise((t,n)=>{let i=window.indexedDB.deleteDatabase(nP),o=setTimeout(()=>n(!1),200);i.addEventListener("success",()=>(clearTimeout(o),t(!0))),i.addEventListener("blocked",()=>(clearTimeout(o),t(!0))),i.addEventListener("error",()=>(clearTimeout(o),n(!1)))})}};var Rc=class{constructor(){this.cache=new Map}async initialize(){}getItem(t){return this.cache.get(t)||null}getUserData(t){return this.getItem(t)}setItem(t,n){this.cache.set(t,n)}async setUserData(t,n){this.setItem(t,n)}removeItem(t){this.cache.delete(t)}getKeys(){let t=[];return this.cache.forEach((n,i)=>{t.push(i)}),t}containsKey(t){return this.cache.has(t)}clear(){this.cache.clear()}decryptData(){return Promise.resolve(null)}};var fP=class{constructor(t){this.inMemoryCache=new Rc,this.indexedDBCache=new gP,this.logger=t}handleDatabaseAccessError(t,n){if(t instanceof Tm&&t.errorCode===rP)this.logger.error("1wx7zz",n);else throw t}async getItem(t,n){let i=this.inMemoryCache.getItem(t);if(!i)try{return this.logger.verbose("0naxpl",n),await this.indexedDBCache.getItem(t)}catch(o){this.handleDatabaseAccessError(o,n)}return i}async setItem(t,n,i){this.inMemoryCache.setItem(t,n);try{await this.indexedDBCache.setItem(t,n)}catch(o){this.handleDatabaseAccessError(o,i)}}async removeItem(t,n){this.inMemoryCache.removeItem(t);try{await this.indexedDBCache.removeItem(t)}catch(i){this.handleDatabaseAccessError(i,n)}}async getKeys(t){let n=this.inMemoryCache.getKeys();if(n.length===0)try{return this.logger.verbose("1iqrbq",t),await this.indexedDBCache.getKeys()}catch(i){this.handleDatabaseAccessError(i,t)}return n}async containsKey(t,n){let i=this.inMemoryCache.containsKey(t);if(!i)try{return this.logger.verbose("03zl2j",n),await this.indexedDBCache.containsKey(t)}catch(o){this.handleDatabaseAccessError(o,n)}return i}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 n=await this.indexedDBCache.deleteDatabase();return n&&this.logger.verbose("149ouc",t),n}catch(n){return this.handleDatabaseAccessError(n,t),!1}}};var bl=class e{constructor(t,n,i){this.logger=t,Fue(i??!1),this.cache=new fP(this.logger),this.performanceClient=n}createNewGuid(){return Us()}base64Encode(t){return td(t)}base64Decode(t){return Li(t)}base64UrlEncode(t){return nx(t)}encodeKid(t){return this.base64UrlEncode(JSON.stringify({kid:t}))}async getPublicKeyThumbprint(t){let n=this.performanceClient?.startMeasurement(xce,t.correlationId),i=await Oue(e.EXTRACTABLE,e.POP_KEY_USAGES),o=await cP(i.publicKey),s={e:o.e,kty:o.kty,n:o.n},r=Wue(s),a=await this.hashString(r),l=await cP(i.privateKey),c=await que(l,!1,["sign"]);return await this.cache.setItem(a,{privateKey:c,publicKey:i.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri},t.correlationId),n&&n.end({success:!0}),a}async removeTokenBindingKey(t,n){if(await this.cache.removeItem(t,n),await this.cache.containsKey(t,n))throw te(hi.bindingKeyNotRemoved)}async clearKeystore(t){this.cache.clearInMemory(t);try{return await this.cache.clearPersistent(t),!0}catch(n){return n instanceof Error?this.logger.error("1owpn8",t):this.logger.error("0yrmwo",t),!1}}async signJwt(t,n,i,o){let s=this.performanceClient?.startMeasurement(Tce,o),r=await this.cache.getItem(n,o||"");if(!r)throw ge(sP);let a=await cP(r.publicKey),l=Wue(a),c=nx(JSON.stringify({kid:n})),u=ex.getShrHeaderString({...i?.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 Hue(r.privateKey,_),k=Er(new Uint8Array(h)),y=`${g}.${k}`;return s&&s.end({success:!0}),y}async hashString(t){return Vue(t)}};bl.POP_KEY_USAGES=["sign","verify"];bl.EXTRACTABLE=!0;function Wue(e){return JSON.stringify(e,Object.keys(e).sort())}var Jue="acquireTokenSilent",Zue="acquireTokenByCode",Xue="acquireTokenPopup",ede="acquireTokenPreRedirect",hP="acquireTokenRedirect",tde="ssoSilent",nde="initializeClientApplication",ide="localStorageUpdated";var ti="msal",bP="browser",Zq="|";var rde=`${ti}.${bP}.log.level`,ade=`${ti}.${bP}.log.pii`,Bat=`${ti}.${bP}.performance.enabled`,lde=`${ti}.${bP}.platform.auth.dom`,Xq=`${ti}.version`,ode="account.keys",sde="token.keys";function Mc(e=2){return e<1?`${ti}.${ode}`:`${ti}.${e}.${ode}`}function $c(e,t=2){return t<1?`${ti}.${sde}.${e}`:`${ti}.${t}.${sde}.${e}`}var z$e=24*60*60*1e3,_P={Lax:"Lax",None:"None"},ib=class{initialize(){return Promise.resolve()}getItem(t){let n=`${encodeURIComponent(t)}`,i=document.cookie.split(";");for(let o=0;o{let o=decodeURIComponent(i).trim().split("=");n.push(o[0])}),n}containsKey(t){return this.getKeys().includes(t)}decryptData(){return Promise.resolve(null)}};function V$e(e){let t=new Date;return new Date(t.getTime()+e*z$e).toUTCString()}function _l(e,t){let n=e.getItem(Mc(t));return n?JSON.parse(n):[]}function Os(e,t,n){let i=t.getItem($c(e,n));if(i){let o=JSON.parse(i);if(o&&o.hasOwnProperty("idToken")&&o.hasOwnProperty("accessToken")&&o.hasOwnProperty("refreshToken"))return o}return{idToken:[],accessToken:[],refreshToken:[]}}function ob(e){return e.hasOwnProperty("id")&&e.hasOwnProperty("nonce")&&e.hasOwnProperty("data")}var cde="msal.cache.encryption",G$e="msal.broadcast.cache",yP=class{constructor(t,n,i){if(!window.localStorage)throw nb(uP);this.memoryStorage=new Rc,this.initialized=!1,this.clientId=t,this.logger=n,this.performanceClient=i,this.broadcast=new BroadcastChannel(G$e)}async initialize(t){let n=new ib,i=n.getItem(cde),o={key:"",id:""};if(i)try{o=JSON.parse(i)}catch{}if(o.key&&o.id){let s=ei(hl,Qce,this.logger,this.performanceClient,t)(o.key);this.encryptionCookie={id:o.id,key:await G(Gq,Iq,this.logger,this.performanceClient,t)(s)}}else{let s=Us(),r=await G(Vq,Gce,this.logger,this.performanceClient,t)(),a=ei(Er,Kce,this.logger,this.performanceClient,t)(new Uint8Array(r));this.encryptionCookie={id:s,key:await G(Gq,Iq,this.logger,this.performanceClient,t)(r)};let l={id:s,key:a};n.setItem(cde,JSON.stringify(l),0,!0,_P.None)}await G(this.importExistingCache.bind(this),Hce,this.logger,this.performanceClient,t)(t),this.broadcast.addEventListener("message",s=>{this.updateCache(s,t)}),this.initialized=!0}getItem(t){return window.localStorage.getItem(t)}getUserData(t){if(!this.initialized)throw ge(Xh);return this.memoryStorage.getItem(t)}async decryptData(t,n,i){if(!this.initialized||!this.encryptionCookie)throw ge(Xh);if(n.id!==this.encryptionCookie.id)return this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},i),null;let o=await G(Qq,Lq,this.logger,this.performanceClient,i)(this.encryptionCookie.key,n.nonce,this.getContext(t),n.data);if(!o)return null;try{return{...JSON.parse(o),lastUpdatedAt:n.lastUpdatedAt}}catch{return this.performanceClient.incrementFields({encryptedCacheCorruptionCount:1},i),null}}setItem(t,n){window.localStorage.setItem(t,n)}async setUserData(t,n,i,o,s){if(!this.initialized||!this.encryptionCookie)throw ge(Xh);if(s)this.setItem(t,n);else{let{data:r,nonce:a}=await G(zue,Yce,this.logger,this.performanceClient,i)(this.encryptionCookie.key,n,this.getContext(t)),l={id:this.encryptionCookie.id,nonce:a,data:r,lastUpdatedAt:o};this.setItem(t,JSON.stringify(l))}this.memoryStorage.setItem(t,n),this.broadcast.postMessage({key:t,value:n,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(),_l(this).forEach(i=>this.removeItem(i));let n=Os(this.clientId,this);n.idToken.forEach(i=>this.removeItem(i)),n.accessToken.forEach(i=>this.removeItem(i)),n.refreshToken.forEach(i=>this.removeItem(i)),this.getKeys().forEach(i=>{(i.startsWith(ti)||i.indexOf(this.clientId)!==-1)&&this.removeItem(i)})}async importExistingCache(t){if(!this.encryptionCookie)return;let n=_l(this);n=await this.importArray(n,t),n.length?this.setItem(Mc(),JSON.stringify(n)):this.removeItem(Mc());let i=Os(this.clientId,this);i.idToken=await this.importArray(i.idToken,t),i.accessToken=await this.importArray(i.accessToken,t),i.refreshToken=await this.importArray(i.refreshToken,t),i.idToken.length||i.accessToken.length||i.refreshToken.length?this.setItem($c(this.clientId),JSON.stringify(i)):this.removeItem($c(this.clientId))}async getItemFromEncryptedCache(t,n){if(!this.encryptionCookie)return null;let i=this.getItem(t);if(!i)return null;let o;try{o=JSON.parse(i)}catch{return null}return ob(o)?o.id!==this.encryptionCookie.id?(this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},n),null):(this.performanceClient.incrementFields({encryptedCacheCount:1},n),G(Qq,Lq,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o.nonce,this.getContext(t),o.data)):(this.performanceClient.incrementFields({unencryptedCacheCount:1},n),i)}async importArray(t,n){let i=[],o=[];return t.forEach(s=>{let r=this.getItemFromEncryptedCache(s,n).then(a=>{a?(this.memoryStorage.setItem(s,a),i.push(s)):this.removeItem(s)});o.push(r)}),await Promise.all(o),i}getContext(t){let n="";return t.includes(this.clientId)&&(n=this.clientId),n}updateCache(t,n){this.logger.trace("17cxcm",n);let i=this.performanceClient.startMeasurement(ide);i.add({isBackground:!0});let{key:o,value:s,context:r}=t.data;if(!o){this.logger.error("0e10qr",n),i.end({success:!1,errorCode:"noKey"});return}if(r&&r!==this.clientId){this.logger.trace("04rtdy",n),i.end({success:!1,errorCode:"contextMismatch"});return}s?(this.memoryStorage.setItem(o,s),this.logger.verbose("1vzsgt",n)):(this.memoryStorage.removeItem(o),this.logger.verbose("04ypih",n)),i.end({success:!0})}};var vP=class{constructor(){if(!window.sessionStorage)throw nb(uP)}async initialize(){}getItem(t){return window.sessionStorage.getItem(t)}getUserData(t){return this.getItem(t)}setItem(t,n){window.sessionStorage.setItem(t,n)}async setUserData(t,n){this.setItem(t,n)}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 Ze={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 ude="@azure/msal-browser",qs="5.6.3";function Dc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var sb=class extends hm{constructor(t,n,i,o,s,r,a){super(t,i,o,s,a),this.cacheConfig=n,this.logger=o,this.internalStorage=new Rc,this.browserStorage=dde(t,n.cacheLocation,o,s),this.temporaryCacheStorage=dde(t,Ii.SessionStorage,o,s),this.cookieStorage=new ib,this.eventHandler=r}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 n=_l(this.browserStorage),i=Os(this.clientId,this.browserStorage);this.performanceClient.addFields({preMigrateAcntCount:n.length,preMigrateATCount:i.accessToken.length,preMigrateITCount:i.idToken.length,preMigrateRTCount:i.refreshToken.length},t);for(let s=0;s<2;s++){let r=s;await this.removeStaleAccounts(s,r,t)}for(let s=0;s<2;s++){let r=s;await this.migrateIdTokens(s,r,t)}let o=this.getKMSIValues();for(let s=0;s<2;s++)await this.migrateAccessTokens(s,o,t),await this.migrateRefreshTokens(s,o,t);n=_l(this.browserStorage),i=Os(this.clientId,this.browserStorage),this.performanceClient.addFields({postMigrateAcntCount:n.length,postMigrateATCount:i.accessToken.length,postMigrateITCount:i.idToken.length,postMigrateRTCount:i.refreshToken.length},t)}async updateOldEntry(t,n){let i=this.browserStorage.getItem(t),o=this.validateAndParseJson(i||"");if(!o)return this.browserStorage.removeItem(t),null;if(!o.lastUpdatedAt)o.lastUpdatedAt=Date.now().toString(),this.setItem(t,JSON.stringify(o),n);else if(is.isCacheExpired(o.lastUpdatedAt,this.cacheConfig.cacheRetentionDays))return this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},n),null;let s=ob(o)?await this.browserStorage.decryptData(t,o,n):o;return!s||!yi.isCredentialEntity(s)?(this.performanceClient.incrementFields({invalidCacheCount:1},n),null):(yi.isAccessTokenEntity(s)||yi.isRefreshTokenEntity(s))&&s.expiresOn&&is.isTokenExpired(s.expiresOn,$e.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC)?(this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},n),null):s}async removeStaleAccounts(t,n,i){let o=_l(this.browserStorage,t);if(o.length!==0){for(let s of[...o]){this.performanceClient.incrementFields({oldAcntCount:1},i);let r=this.browserStorage.getItem(s),a=this.validateAndParseJson(r||"");if(!a){Dc(o,s);continue}if(a.lastUpdatedAt)is.isCacheExpired(a.lastUpdatedAt,this.cacheConfig.cacheRetentionDays)&&(await this.removeAccountOldSchema(s,a,n,i),Dc(o,s));else{a.lastUpdatedAt=Date.now().toString(),this.setItem(s,JSON.stringify(a),i);continue}}this.setAccountKeys(o,i,t)}}async removeAccountOldSchema(t,n,i,o){let r=(ob(n)?await this.browserStorage.decryptData(t,n,o):n)?.homeAccountId;if(r){let a=this.getTokenKeys(i);[...a.idToken].filter(l=>l.includes(r)).forEach(l=>{this.browserStorage.removeItem(l),Dc(a.idToken,l)}),[...a.accessToken].filter(l=>l.includes(r)).forEach(l=>{this.browserStorage.removeItem(l),Dc(a.accessToken,l)}),[...a.refreshToken].filter(l=>l.includes(r)).forEach(l=>{this.browserStorage.removeItem(l),Dc(a.refreshToken,l)}),this.setTokenKeys(a,o,i)}this.performanceClient.incrementFields({expiredAcntRemovedCount:1},o),this.browserStorage.removeItem(t)}getKMSIValues(){let t={},n=this.getTokenKeys().idToken;for(let i of n){let o=this.browserStorage.getUserData(i);if(o){let s=JSON.parse(o),r=uo.extractTokenClaims(s.secret,Li);r&&(t[s.homeAccountId]=uo.isKmsi(r))}}return t}async migrateIdTokens(t,n,i){let o=Os(this.clientId,this.browserStorage,t);if(o.idToken.length===0)return;let s=Os(this.clientId,this.browserStorage,2),r=_l(this.browserStorage),a=_l(this.browserStorage,n);for(let l of[...o.idToken]){this.performanceClient.incrementFields({oldITCount:1},i);let c=await this.updateOldEntry(l,i);if(!c){Dc(o.idToken,l);continue}let u=r.find(y=>y.includes(c.homeAccountId)),p=a.find(y=>y.includes(c.homeAccountId)),m=null;if(u)m=this.getAccount(u,i);else if(p){let y=this.browserStorage.getItem(p),x=this.validateAndParseJson(y||"");m=x&&ob(x)?await this.browserStorage.decryptData(p,x,i):x}if(!m){this.performanceClient.incrementFields({skipITMigrateCount:1},i);continue}let g=uo.extractTokenClaims(c.secret,Li),f=this.generateCredentialKey(c),_=this.getIdTokenCredential(f,i),h=Object.keys(g).includes("signin_state"),k=_&&Object.keys(uo.extractTokenClaims(_.secret,Li)||{}).includes("signin_state");if(!_||c.lastUpdatedAt>_.lastUpdatedAt&&(h||!k)){let y=m.tenantProfiles||[],x=fm(g)||m.realm;if(x&&!y.find(j=>j.tenantId===x)){let j=pl(m.homeAccountId,m.localAccountId,x,g);y.push(j)}m.tenantProfiles=y;let P=this.generateAccountKey(Cr.getAccountInfo(m)),C=uo.isKmsi(g);await this.setUserData(P,JSON.stringify(m),i,m.lastUpdatedAt,C),r.includes(P)||r.push(P),await this.setUserData(f,JSON.stringify(c),i,c.lastUpdatedAt,C),this.performanceClient.incrementFields({migratedITCount:1},i),s.idToken.push(f)}}this.setTokenKeys(o,i,t),this.setTokenKeys(s,i),this.setAccountKeys(r,i)}async migrateAccessTokens(t,n,i){let o=Os(this.clientId,this.browserStorage,t);if(o.accessToken.length===0)return;let s=Os(this.clientId,this.browserStorage,2);for(let r of[...o.accessToken]){this.performanceClient.incrementFields({oldATCount:1},i);let a=await this.updateOldEntry(r,i);if(!a){Dc(o.accessToken,r);continue}if(!(a.homeAccountId in n)){this.performanceClient.incrementFields({skipATMigrateCount:1},i);continue}let l=this.generateCredentialKey(a),c=n[a.homeAccountId];if(!s.accessToken.includes(l))await this.setUserData(l,JSON.stringify(a),i,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},i),s.accessToken.push(l);else{let u=this.getAccessTokenCredential(l,i);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),i,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},i))}}this.setTokenKeys(o,i,t),this.setTokenKeys(s,i)}async migrateRefreshTokens(t,n,i){let o=Os(this.clientId,this.browserStorage,t);if(o.refreshToken.length===0)return;let s=Os(this.clientId,this.browserStorage,2);for(let r of[...o.refreshToken]){this.performanceClient.incrementFields({oldRTCount:1},i);let a=await this.updateOldEntry(r,i);if(!a){Dc(o.refreshToken,r);continue}if(!(a.homeAccountId in n)){this.performanceClient.incrementFields({skipRTMigrateCount:1},i);continue}let l=this.generateCredentialKey(a),c=n[a.homeAccountId];if(!s.refreshToken.includes(l))await this.setUserData(l,JSON.stringify(a),i,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},i),s.refreshToken.push(l);else{let u=this.getRefreshTokenCredential(l,i);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),i,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},i))}}this.setTokenKeys(o,i,t),this.setTokenKeys(s,i)}trackVersionChanges(t){let n=this.browserStorage.getItem(Xq);n&&(this.logger.info("1wuc87",t),this.performanceClient.addFields({previousLibraryVersion:n},t)),n!==qs&&this.setItem(Xq,qs,t)}validateAndParseJson(t){if(!t)return null;try{let n=JSON.parse(t);return n&&typeof n=="object"?n:null}catch{return null}}setItem(t,n,i){let o=new Array(3).fill(0),s=[],r=20;for(let a=0;a<=r;a++)try{if(this.browserStorage.setItem(t,n),a>0)for(let l=0;l<=2;l++){let c=o.slice(0,l).reduce((p,m)=>p+m,0);if(c>=a)break;let u=a>c+o[l]?c+o[l]:a;a>c&&o[l]>0&&this.removeAccessTokenKeys(s.slice(c,u),i,l)}break}catch(l){let c=Nh(l);if(c.errorCode===jk.cacheQuotaExceeded&&a0)for(let u=0;u<=2;u++){let p=r.slice(0,u).reduce((g,f)=>g+f,0);if(p>=c)break;let m=c>p+r[u]?p+r[u]:c;c>p&&r[u]>0&&this.removeAccessTokenKeys(a.slice(p,m),i,u)}break}catch(u){let p=Nh(u);if(p.errorCode===jk.cacheQuotaExceeded&&c-1?(i.splice(o,1),this.setAccountKeys(i,n)):this.logger.trace("1dytu2",n)}removeAccount(t,n){let i=this.getActiveAccount(n);i?.homeAccountId===t.homeAccountId&&i?.environment===t.environment&&this.setActiveAccount(null,n),super.removeAccount(t,n),this.removeAccountKeyFromMap(this.generateAccountKey(t),n),this.browserStorage.getKeys().forEach(o=>{o.includes(t.homeAccountId)&&o.includes(t.environment)&&this.browserStorage.removeItem(o)})}removeIdToken(t,n){super.removeIdToken(t,n);let i=this.getTokenKeys(),o=i.idToken.indexOf(t);o>-1&&(this.logger.info("05udv9",n),i.idToken.splice(o,1),this.setTokenKeys(i,n))}removeAccessToken(t,n,i=!0){super.removeAccessToken(t,n),i&&this.removeAccessTokenKeys([t],n)}removeAccessTokenKeys(t,n,i=2){this.logger.trace("17o18n",n);let o=this.getTokenKeys(i),s=0;if(t.forEach(r=>{let a=o.accessToken.indexOf(r);a>-1&&(o.accessToken.splice(a,1),s++)}),s>0){this.logger.info("15i5d5",n),this.setTokenKeys(o,n,i);return}}removeRefreshToken(t,n){super.removeRefreshToken(t,n);let i=this.getTokenKeys(),o=i.refreshToken.indexOf(t);o>-1&&(this.logger.info("1f4fq3",n),i.refreshToken.splice(o,1),this.setTokenKeys(i,n))}getTokenKeys(t=2){return Os(this.clientId,this.browserStorage,t)}setTokenKeys(t,n,i=2){if(t.idToken.length===0&&t.accessToken.length===0&&t.refreshToken.length===0){this.removeItem($c(this.clientId,i));return}else this.setItem($c(this.clientId,i),JSON.stringify(t),n)}getIdTokenCredential(t,n){let i=this.browserStorage.getUserData(t);if(!i)return this.logger.trace("1jukz6",n),this.removeIdToken(t,n),null;let o=this.validateAndParseJson(i);return!o||!yi.isIdTokenEntity(o)?(this.logger.trace("1jukz6",n),null):(this.logger.trace("01ju66",n),o)}async setIdTokenCredential(t,n,i){this.logger.trace("13hjll",n);let o=this.generateCredentialKey(t),s=Date.now().toString();t.lastUpdatedAt=s,await this.setUserData(o,JSON.stringify(t),n,s,i);let r=this.getTokenKeys();r.idToken.indexOf(o)===-1&&(this.logger.info("07jy92",n),r.idToken.push(o),this.setTokenKeys(r,n))}getAccessTokenCredential(t,n){let i=this.browserStorage.getUserData(t);if(!i)return this.logger.trace("0bqvx8",n),this.removeAccessTokenKeys([t],n),null;let o=this.validateAndParseJson(i);return!o||!yi.isAccessTokenEntity(o)?(this.logger.trace("0bqvx8",n),null):(this.logger.trace("1o81rl",n),o)}async setAccessTokenCredential(t,n,i){this.logger.trace("1pondb",n);let o=this.generateCredentialKey(t),s=Date.now().toString();t.lastUpdatedAt=s,await this.setUserData(o,JSON.stringify(t),n,s,i);let r=this.getTokenKeys(),a=r.accessToken.indexOf(o);a!==-1&&r.accessToken.splice(a,1),this.logger.trace("1onhey",n),r.accessToken.push(o),this.setTokenKeys(r,n)}getRefreshTokenCredential(t,n){let i=this.browserStorage.getUserData(t);if(!i)return this.logger.trace("0jlizt",n),this.removeRefreshToken(t,n),null;let o=this.validateAndParseJson(i);return!o||!yi.isRefreshTokenEntity(o)?(this.logger.trace("0jlizt",n),null):(this.logger.trace("0nokxi",n),o)}async setRefreshTokenCredential(t,n,i){this.logger.trace("0tcg8d",n);let o=this.generateCredentialKey(t),s=Date.now().toString();t.lastUpdatedAt=s,await this.setUserData(o,JSON.stringify(t),n,s,i);let r=this.getTokenKeys();r.refreshToken.indexOf(o)===-1&&(this.logger.info("0eckjs",n),r.refreshToken.push(o),this.setTokenKeys(r,n))}getAppMetadata(t,n){let i=this.browserStorage.getItem(t);if(!i)return this.logger.trace("1q101h",n),null;let o=this.validateAndParseJson(i);return!o||!yi.isAppMetadataEntity(t,o)?(this.logger.trace("1q101h",n),null):(this.logger.trace("19pvg2",n),o)}setAppMetadata(t,n){this.logger.trace("0cyma6",n);let i=yi.generateAppMetadataKey(t);this.setItem(i,JSON.stringify(t),n)}getServerTelemetry(t,n){let i=this.browserStorage.getItem(t);if(!i)return this.logger.trace("0jk19c",n),null;let o=this.validateAndParseJson(i);return!o||!yi.isServerTelemetryEntity(t,o)?(this.logger.trace("0jk19c",n),null):(this.logger.trace("12jguk",n),o)}setServerTelemetry(t,n,i){this.logger.trace("1poh61",i),this.setItem(t,JSON.stringify(n),i)}getAuthorityMetadata(t,n){let i=this.internalStorage.getItem(t);if(!i)return this.logger.trace("1r39oe",n),null;let o=this.validateAndParseJson(i);return o&&yi.isAuthorityMetadataEntity(t,o)?(this.logger.trace("1ohvk3",n),o):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(n=>this.isAuthorityMetadata(n))}setWrapperMetadata(t,n){this.internalStorage.setItem(tx.WRAPPER_SKU,t),this.internalStorage.setItem(tx.WRAPPER_VER,n)}getWrapperMetadata(){let t=this.internalStorage.getItem(tx.WRAPPER_SKU)||"",n=this.internalStorage.getItem(tx.WRAPPER_VER)||"";return[t,n]}setAuthorityMetadata(t,n,i){this.logger.trace("07w8n2",i),this.internalStorage.setItem(t,JSON.stringify(n))}getActiveAccount(t){let n=this.generateCacheKey($e.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS),i=this.browserStorage.getItem(n);if(!i)return this.logger.trace("08gw0e",t),null;let o=this.validateAndParseJson(i);return o?(this.logger.trace("1t3ch7",t),this.getAccountInfoFilteredBy({homeAccountId:o.homeAccountId,localAccountId:o.localAccountId,tenantId:o.tenantId},t)):(this.logger.trace("0me1up",t),null)}setActiveAccount(t,n){let i=this.generateCacheKey($e.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);if(t){this.logger.verbose("0rsj80",n);let o={homeAccountId:t.homeAccountId,localAccountId:t.localAccountId,tenantId:t.tenantId};this.setItem(i,JSON.stringify(o),n)}else this.logger.verbose("1bp5z5",n),this.browserStorage.removeItem(i);this.eventHandler.emitEvent(Ze.ACTIVE_ACCOUNT_CHANGED,n)}getThrottlingCache(t,n){let i=this.browserStorage.getItem(t);if(!i)return this.logger.trace("1h4wa6",n),null;let o=this.validateAndParseJson(i);return!o||!yi.isThrottlingEntity(t,o)?(this.logger.trace("1h4wa6",n),null):(this.logger.trace("0of6n8",n),o)}setThrottlingCache(t,n,i){this.logger.trace("0wfgh6",i),this.setItem(t,JSON.stringify(n),i)}getTemporaryCache(t,n,i){let o=i?this.generateCacheKey(t):t,s=this.temporaryCacheStorage.getItem(o);if(!s){if(this.cacheConfig.cacheLocation===Ii.LocalStorage){let r=this.browserStorage.getItem(o);if(r)return this.logger.trace("1yt61y",n),r}return this.logger.trace("1qhy81",n),null}return s}setTemporaryCache(t,n,i){let o=i?this.generateCacheKey(t):t;this.temporaryCacheStorage.setItem(o,n)}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(n=>{(n.indexOf(ti)!==-1||n.indexOf(this.clientId)!==-1)&&this.removeTemporaryItem(n)}),this.browserStorage.getKeys().forEach(n=>{(n.indexOf(ti)!==-1||n.indexOf(this.clientId)!==-1)&&this.browserStorage.removeItem(n)}),this.internalStorage.clear()}generateCacheKey(t){return Fn.startsWith(t,ti)?t:`${ti}.${this.clientId}.${t}`}generateCredentialKey(t){let n=t.credentialType===$e.CredentialType.REFRESH_TOKEN&&t.familyId||t.clientId,i=t.tokenType&&t.tokenType.toLowerCase()!==$e.AuthenticationScheme.BEARER.toLowerCase()?t.tokenType.toLowerCase():"";return[`${ti}.${2}`,t.homeAccountId,t.environment,t.credentialType,n,t.realm||"",t.target||"",i].join(Zq).toLowerCase()}generateAccountKey(t){let n=t.homeAccountId.split(".")[1];return[`${ti}.${2}`,t.homeAccountId,t.environment,n||t.tenantId||""].join(Zq).toLowerCase()}resetRequestCache(t){this.logger.trace("0h0ynu",t),this.removeTemporaryItem(this.generateCacheKey(En.REQUEST_PARAMS)),this.removeTemporaryItem(this.generateCacheKey(En.VERIFIER)),this.removeTemporaryItem(this.generateCacheKey(En.ORIGIN_URI)),this.removeTemporaryItem(this.generateCacheKey(En.URL_HASH)),this.removeTemporaryItem(this.generateCacheKey(En.NATIVE_REQUEST)),this.setInteractionInProgress(!1,void 0)}cacheAuthorizeRequest(t,n,i){this.logger.trace("1tzef5",n);let o=td(JSON.stringify(t));if(this.setTemporaryCache(En.REQUEST_PARAMS,o,!0),i){let s=td(i);this.setTemporaryCache(En.VERIFIER,s,!0)}}getCachedRequest(t){this.logger.trace("0uen20",t);let n=this.getTemporaryCache(En.REQUEST_PARAMS,t,!0);if(!n)throw ge(bue);let i=this.getTemporaryCache(En.VERIFIER,t,!0),o,s="";try{o=JSON.parse(Li(n)),i&&(s=Li(i))}catch{throw this.logger.errorPii("0ewsey",t),this.logger.error("0tvdic",t),ge(_ue)}return[o,s]}getCachedNativeRequest(){this.logger.trace("1yxcdm","");let t=this.getTemporaryCache(En.NATIVE_REQUEST,"",!0);if(!t)return this.logger.trace("0mnxd4",""),null;let n=this.validateAndParseJson(t);return n||(this.logger.error("0rrkip",""),null)}isInteractionInProgress(t){let n=this.getInteractionInProgress()?.clientId;return t?n===this.clientId:!!n}getInteractionInProgress(){let t=`${ti}.${En.INTERACTION_STATUS_KEY}`,n=this.getTemporaryCache(t,"",!1);try{return n?JSON.parse(n):null}catch{return this.logger.error("0jjyys",""),this.removeTemporaryItem(t),this.resetRequestCache(""),dP(window),null}}setInteractionInProgress(t,n=ka.SIGNIN,i=!1,o=""){let s=`${ti}.${En.INTERACTION_STATUS_KEY}`;if(t){if(this.getInteractionInProgress())if(i)this.logger.warning("1pmscr",o),Kue(this.logger,o),this.removeTemporaryItem(s);else throw ge(lue);this.setTemporaryCache(s,JSON.stringify({clientId:this.clientId,type:n}),!1)}else!t&&this.getInteractionInProgress()?.clientId===this.clientId&&this.removeTemporaryItem(s)}async hydrateCache(t,n){let i=yi.createIdTokenEntity(t.account.homeAccountId,t.account.environment,t.idToken,this.clientId,t.tenantId),o=yi.createAccessTokenEntity(t.account.homeAccountId,t.account.environment,t.accessToken,this.clientId,t.tenantId,t.scopes.join(" "),t.expiresOn?is.toSecondsFromDate(t.expiresOn):0,t.extExpiresOn?is.toSecondsFromDate(t.extExpiresOn):0,Li,void 0,t.tokenType,void 0,n.sshKid);n.resource&&(o.resource=n.resource);let s={idToken:i,accessToken:o};return this.saveCacheRecord(s,t.correlationId,uo.isKmsi(uo.extractTokenClaims(t.idToken,Li)),wt.hydrateCache)}async saveCacheRecord(t,n,i,o,s){try{await super.saveCacheRecord(t,n,i,o,s)}catch(r){if(r instanceof Ju&&this.performanceClient&&n)try{let a=this.getTokenKeys();this.performanceClient.addFields({cacheRtCount:a.refreshToken.length,cacheIdCount:a.idToken.length,cacheAtCount:a.accessToken.length},n)}catch{}throw r}}};function dde(e,t,n,i){try{switch(t){case Ii.LocalStorage:return new yP(e,n,i);case Ii.SessionStorage:return new vP;case Ii.MemoryStorage:default:break}}catch(o){n.error(o,"")}return new Rc}var pde=(e,t,n,i)=>{let o={cacheLocation:Ii.MemoryStorage,cacheRetentionDays:5};return new sb(e,o,Ku,t,n,i)};function mde(e,t,n,i,o){return e.verbose("1yd030",i),n?t.getAllAccounts(o,i):[]}function gde(e,t,n,i){t.trace("0u7b90",i);let o=n.getAccountInfoFilteredBy(e,i);return o?(t.verbose("0btgll",i),o):(t.verbose("0ltaj5",i),null)}function fde(e,t,n){t.setActiveAccount(e,n)}function hde(e,t){return e.getActiveAccount(t)}var Q$e="msal.broadcast.event",kP=class{constructor(t){this.eventCallbacks=new Map,this.logger=t||new _i({}),typeof BroadcastChannel<"u"&&(this.broadcastChannel=new BroadcastChannel(Q$e)),this.invokeCrossTabCallbacks=this.invokeCrossTabCallbacks.bind(this)}addEventCallback(t,n,i){if(typeof window<"u"){let o=i||rx();return this.eventCallbacks.has(o)?(this.logger.error("1578i0",""),null):(this.eventCallbacks.set(o,[t,n||[]]),this.logger.verbose("1cnec4",""),o)}return null}removeEventCallback(t){this.eventCallbacks.delete(t),this.logger.verbose("12zotd","")}emitEvent(t,n,i,o,s){let r={eventType:t,interactionType:i||null,payload:o||null,error:s||null,correlationId:n,timestamp:Date.now()};switch(t){case Ze.LOGIN_SUCCESS:case Ze.LOGOUT_SUCCESS:case Ze.ACTIVE_ACCOUNT_CHANGED:this.broadcastChannel?.postMessage(r)}this.invokeCallbacks(r)}invokeCallbacks(t){this.eventCallbacks.forEach(([n,i],o)=>{(i.length===0||i.includes(t.eventType))&&(this.logger.verbose("15jpwk",""),n.apply(null,[t]))})}invokeCrossTabCallbacks(t){let n=t.data;this.invokeCallbacks(n)}subscribeCrossTab(){this.broadcastChannel?.addEventListener("message",this.invokeCrossTabCallbacks)}unsubscribeCrossTab(){this.broadcastChannel?.removeEventListener("message",this.invokeCrossTabCallbacks)}};var rb=class{constructor(t,n,i,o,s,r,a,l,c){this.config=t,this.browserStorage=n,this.browserCrypto=i,this.networkClient=this.config.system.networkClient,this.eventHandler=s,this.navigationClient=r,this.platformAuthProvider=c,this.correlationId=l,this.logger=o.clone(ki.MSAL_SKU,qs),this.performanceClient=a}};function wm(e,t,n,i){n.verbose("0bd1la",i);let o=e||t||"";return St.getAbsoluteUrl(o,Ar())}function zn(e,t,n,i,o,s){o.verbose("1p12tq",n);let r={clientId:t,correlationId:n,apiId:e,forceRefresh:!1,wrapperSKU:i.getWrapperMetadata()[0],wrapperVer:i.getWrapperMetadata()[1]};return new km(r,i)}async function rs(e,t,n,i,o,s,r,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=s||e.auth.authority,m=c?.length?c==="true":e.auth.instanceAware,g=l&&m?e.auth.authority.replace(St.getDomainFromUrl(p),l.environment):p,f=Ic.generateAuthority(g,r||e.auth.azureCloudOptions),_=await G(XA.createDiscoveredInstance,Nce,o,n,t)(f,e.system.networkClient,i,u,o,t,n);if(l&&!_.isAlias(l.environment))throw It(ns.authorityMismatch);return _}async function ab(e,t,n,i,o){if(o)try{e.removeAccount(o,i),n.verbose("0s4z6h",i)}catch{n.error("0mgg1d",i)}else try{n.verbose("0zj631",i),e.clear(i),await t.clearKeystore(i)}catch{n.error("12ih0c",i)}}async function ax(e,t,n,i,o){let s=e.authority||t.auth.authority,r=[...e&&e.scopes||[]],a={...e,correlationId:e.correlationId,authority:s,scopes:r};if(!a.authenticationScheme)a.authenticationScheme=$e.AuthenticationScheme.BEARER,i.verbose("1l4fwv",o);else{if(a.authenticationScheme===$e.AuthenticationScheme.SSH){if(!e.sshJwk)throw It(ns.missingSshJwk);if(!e.sshKid)throw It(ns.missingSshKid)}i.verbose("1ecmns",o)}return a}async function bde(e,t,n,i,o){let s=await G(ax,jh,o,i,e.correlationId)(e,n,i,o,e.correlationId);return{...e,...s,account:t,forceRefresh:e.forceRefresh||!1}}function xP(e,t){let n,i=e.httpMethod;if(t===pn.EAR){if(i&&i!==$e.HttpMethod.POST)throw It(ns.invalidRequestMethodForEAR);n=$e.HttpMethod.POST}else n=i||$e.HttpMethod.GET;return n}var as=class extends rb{initializeLogoutRequest(t){this.logger.verbose("0546u4",this.correlationId);let n={correlationId:this.correlationId,...t};if(t)if(t.logoutHint)this.logger.verbose("12k4l4",this.correlationId);else if(t.account){let i=this.getLogoutHintFromIdTokenClaims(t.account);i&&(this.logger.verbose("0st5di",this.correlationId),n.logoutHint=i)}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",n.correlationId),n.postLogoutRedirectUri=St.getAbsoluteUrl(t.postLogoutRedirectUri,Ar())):this.config.auth.postLogoutRedirectUri===null?this.logger.verbose("15m5g7",n.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("1f4xlz",n.correlationId),n.postLogoutRedirectUri=St.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,Ar())):(this.logger.verbose("17s5rf",n.correlationId),n.postLogoutRedirectUri=St.getAbsoluteUrl(Ar(),Ar())):this.logger.verbose("0ljv63",n.correlationId),n}getLogoutHintFromIdTokenClaims(t){let n=t.idTokenClaims;if(n){if(n.login_hint)return n.login_hint;this.logger.verbose("0mvp54",this.correlationId)}else this.logger.verbose("1e7bdp",this.correlationId);return null}async createAuthCodeClient(t){let n=await G(this.getClientConfiguration.bind(this),Xu,this.logger,this.performanceClient,this.correlationId)(t);return new vm(n,this.performanceClient)}async getClientConfiguration(t){let{serverTelemetryManager:n,requestAuthority:i,requestAzureCloudOptions:o,requestExtraQueryParameters:s,account:r}=t,a=t.authority||await G(rs,_a,this.logger,this.performanceClient,this.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,i,o,s,r),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:n,libraryInfo:{sku:ki.MSAL_SKU,version:qs,cpu:"",os:""},telemetry:this.config.telemetry}}};async function od(e,t,n,i,o,s,r,a){let l=wm(e.redirectUri,n.auth.redirectUri,s,a);new URL(l).origin!==new URL(window.location.href).origin&&(s.warning("08qbvw",a),r.addFields({isRedirectUriCrossOrigin:!0},a));let c={interactionType:t},u=ha.setRequestState(i,e&&e.state||"",c),m={...await G(ax,jh,s,r,a)({...e,correlationId:a},n,r,s,a),redirectUri:l,state:u,nonce:e.nonce||Us(),responseMode:n.auth.OIDCOptions.responseMode},g={...m,httpMethod:xP(m,n.system.protocolMode)};if(e.loginHint||e.sid)return g;let f=e.account||o.getActiveAccount(a);return f&&(s.verbose("1eqlb3",a),s.verbosePii("0tf99t",a),g.account=f),g}function _de(e,t){if(!t)return null;try{return ha.parseRequestState(e.base64Decode,t).libraryState.meta}catch{throw te(hi.invalidState)}}function Cm(e,t,n,i){let o=wr.getDeserializedResponse(e);if(!o)throw wr.stripLeadingHashOrQuery(e)?(n.error("13pl0s",i),n.errorPii("1097vx",i),ge(rue)):(n.error("18h0l1",i),ge(sue));return o}function yde(e,t,n){if(!e.state)throw ge(Wh);let i=_de(t,e.state);if(!i)throw ge(iP);if(i.interactionType!==n)throw ge(aue)}var lb=class{constructor(t,n,i,o,s){this.authModule=t,this.browserStorage=n,this.authCodeRequest=i,this.logger=o,this.performanceClient=s}async handleCodeResponse(t,n,i){let o;try{o=fl.getAuthorizationCodePayload(t,n.state)}catch(s){throw s instanceof ss&&s.subError===ix?ge(ix):s}return G(this.handleCodeResponseFromServer.bind(this),vi.HandleCodeResponseFromServer,this.logger,this.performanceClient,n.correlationId)(o,n,i)}async handleCodeResponseFromServer(t,n,i,o=!0){if(this.logger.trace("0mf2hb",n.correlationId),this.authCodeRequest.code=t.code,o&&(t.nonce=n.nonce||void 0),t.state=n.state,t.client_info)this.authCodeRequest.clientInfo=t.client_info;else{let r=this.createCcsCredentials(n);r&&(this.authCodeRequest.ccsCredential=r)}return await G(this.authModule.acquireToken.bind(this.authModule),Dce,this.logger,this.performanceClient,n.correlationId)(this.authCodeRequest,i,t)}createCcsCredentials(t){return t.account?{credential:t.account.homeAccountId,type:po.HOME_ACCOUNT_ID}:t.loginHint?{credential:t.loginHint,type:po.UPN}:null}};var vde="ContentError",kde="PageException",xde="user_switch";var Tde="USER_INTERACTION_REQUIRED",Sde="USER_CANCEL",wde="NO_NETWORK",Cde="PERSISTENT_ERROR",Ede="DISABLED",Ade="ACCOUNT_UNAVAILABLE",Pde="UX_NOT_ALLOWED";var K$e=-2147186943,Pr=class e extends ot{constructor(t,n,i){super(t,n||Qh(t)),Object.setPrototypeOf(this,e.prototype),this.name="NativeAuthError",this.ext=i}};function sd(e){if(e.ext&&e.ext.status&&(e.ext.status===Cde||e.ext.status===Ede)||e.ext&&e.ext.error&&e.ext.error===K$e)return!0;switch(e.errorCode){case vde:case kde:return!0;default:return!1}}function Em(e,t,n){if(n&&n.status)switch(n.status){case Ade:return _m(gl.nativeAccountUnavailable,Qh(e));case Tde:return new Cn(e,t);case Sde:return ge(ix);case wde:return ge(ox);case Pde:return _m(gl.uxNotAllowed)}return new Pr(e,t,n)}var cb=class extends as{async acquireToken(t){let n=zn(wt.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),i=await G(this.getClientConfiguration.bind(this),Xu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,account:t.account}),o=new Zk(i,this.performanceClient);this.logger.verbose("0wa871",this.correlationId);try{let r=(await G(o.acquireCachedToken.bind(o),Rce,this.logger,this.performanceClient,t.correlationId)(t))[0];return this.performanceClient.addFields({fromCache:!0},t.correlationId),r}catch(s){throw s instanceof Tm&&s.errorCode===sP&&this.logger.verbose("06wena",this.correlationId),s}}logout(t){this.logger.verbose("1rkurh",this.correlationId);let n=this.initializeLogoutRequest(t);return ab(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,n.account)}};var rd=class extends rb{constructor(t,n,i,o,s,r,a,l,c,u,p,m){super(t,n,i,o,s,r,l,m,c),this.apiId=a,this.accountId=u,this.platformAuthProvider=c,this.nativeStorageManager=p,this.silentCacheClient=new cb(t,this.nativeStorageManager,i,o,s,r,l,m,c);let g=this.platformAuthProvider.getExtensionName();this.skus=km.makeExtraSkuString({libraryName:ki.MSAL_SKU,libraryVersion:qs,extensionName:g,extensionVersion:this.platformAuthProvider.getExtensionVersion()})}addRequestSKUs(t){t.extraParameters={...t.extraParameters,[xc.X_CLIENT_EXTRA_SKU]:this.skus}}async acquireToken(t,n){this.logger.trace("03qeos",this.correlationId);let i=this.performanceClient.startMeasurement(eP,t.correlationId),o=is.nowSeconds(),s=zn(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let r=await this.initializeNativeRequest(t);try{let l=await this.acquireTokensFromCache(this.accountId,r);return i.end({success:!0,isNativeBroker:!1,fromCache:!0}),l}catch(l){if(n===Yi.AccessToken)throw this.logger.info("0eitbc",this.correlationId),l;this.logger.info("0957j1",this.correlationId)}let a=await this.platformAuthProvider.sendMessage(r);return await this.handleNativeResponse(a,r,o).then(l=>(i.end({success:!0,isNativeBroker:!0,requestId:l.requestId}),s.clearNativeBrokerErrorCode(),l)).catch(l=>{throw i.end({success:!1,errorCode:l.errorCode,subErrorCode:l.subError,isNativeBroker:!0}),l})}catch(r){throw r instanceof Pr&&s.setNativeBrokerErrorCode(r.errorCode),r}}createSilentCacheRequest(t,n){return{authority:t.authority,correlationId:this.correlationId,scopes:bi.fromString(t.scope).asArray(),account:n,forceRefresh:!1}}async acquireTokensFromCache(t,n){if(!t)throw this.logger.warning("1ndf3e",this.correlationId),te(hi.noAccountFound);let i=this.browserStorage.getBaseAccountInfo({nativeAccountId:t},n.correlationId);if(!i)throw te(hi.noAccountFound);try{let o=this.createSilentCacheRequest(n,i),s=await this.silentCacheClient.acquireToken(o),r={...i,idTokenClaims:s?.idTokenClaims,idToken:s?.idToken};return{...s,account:r}}catch(o){throw o}}async acquireTokenRedirect(t,n,i){this.logger.trace("0luikq",this.correlationId);let o=await this.initializeNativeRequest(t),s=i?.navigateToLoginRequestUrl??!0;try{await this.platformAuthProvider.sendMessage(o)}catch(l){if(l instanceof Pr&&(zn(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).setNativeBrokerErrorCode(l.errorCode),sd(l)))throw l}this.browserStorage.setTemporaryCache(En.NATIVE_REQUEST,JSON.stringify(o),!0);let r={apiId:wt.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},a=s?window.location.href:wm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId);n.end({success:!0}),await this.navigationClient.navigateExternal(a,r)}async handleRedirectPromise(t,n){if(this.logger.trace("1c5lhw",this.correlationId),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("0le6uv",this.correlationId),null;let i=this.browserStorage.getCachedNativeRequest();if(!i)return this.logger.verbose("0a6zjb",this.correlationId),t&&n&&t?.addFields({errorCode:"no_cached_request"},n),null;let{prompt:o,...s}=i;o&&this.logger.verbose("0ac34v",this.correlationId),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(En.NATIVE_REQUEST));let r=is.nowSeconds();try{this.logger.verbose("003x5a",this.correlationId);let a=await this.platformAuthProvider.sendMessage(s),l=await this.handleNativeResponse(a,s,r);return zn(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,n,i){this.logger.trace("1bojln",this.correlationId);let o=uo.extractTokenClaims(t.id_token,Li),s=this.createHomeAccountIdentifier(t,o),r=this.browserStorage.getAccountInfoFilteredBy({nativeAccountId:n.accountId},this.correlationId)?.homeAccountId;if(n.extraParameters?.child_client_id&&t.account.id!==n.accountId)this.logger.info("1ub1in",this.correlationId);else if(s!==r&&t.account.id!==n.accountId)throw Em(xde);let a=await rs(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n.authority),l=QA(this.browserStorage,a,s,Li,this.correlationId,o,t.client_info,a.getPreferredCache(),o.tid,void 0,t.account.id,this.logger,this.performanceClient);t.expires_in=Number(t.expires_in);let c=await this.generateAuthenticationResult(t,n,o,l,a.canonicalAuthority,i);return await this.cacheAccount(l,uo.isKmsi(o)),await this.cacheNativeTokens(t,n,s,o,t.access_token,c.tenantId,i),c}createHomeAccountIdentifier(t,n){return Cr.generateHomeAccountId(t.client_info||"",wo.Default,this.logger,this.browserCrypto,this.correlationId,n)}generateScopes(t,n){return n?bi.fromString(n):bi.fromString(t)}async generatePopAccessToken(t,n){if(n.tokenType===$e.AuthenticationScheme.POP&&n.signPopToken){if(t.shr)return this.logger.trace("0coqhu",this.correlationId),t.shr;let i=new os(this.browserCrypto,this.performanceClient),o={resourceRequestMethod:n.resourceRequestMethod,resourceRequestUri:n.resourceRequestUri,shrClaims:n.shrClaims,shrNonce:n.shrNonce,correlationId:this.correlationId};if(!n.keyId)throw te(hi.keyIdMissing);return i.signPopToken(t.access_token,n.keyId,o)}else return t.access_token}async generateAuthenticationResult(t,n,i,o,s,r){let a=this.addTelemetryFromNativeResponse(t.properties.MATS),l=this.generateScopes(n.scope,t.scope),c=t.account.properties||{},u=c.UID||i.oid||i.sub||"",p=c.TenantId||i.tid||"",m=gm(Cr.getAccountInfo(o),void 0,i,t.id_token);m.nativeAccountId!==t.account.id&&(m.nativeAccountId=t.account.id);let g=await this.generatePopAccessToken(t,n),f=n.tokenType===$e.AuthenticationScheme.POP?$e.AuthenticationScheme.POP:$e.AuthenticationScheme.BEARER;return{authority:s,uniqueId:u,tenantId:p,scopes:l.asArray(),account:m,idToken:t.id_token,idTokenClaims:i,accessToken:g,fromCache:a?this.isResponseFromCache(a):!1,expiresOn:is.toDateFromSeconds(r+t.expires_in),tokenType:f,correlationId:this.correlationId,state:t.state,fromPlatformBroker:!0,...n.resource&&{resource:n.resource}}}async cacheAccount(t,n){await this.browserStorage.setAccount(t,this.correlationId,n,this.apiId),this.browserStorage.removeAccountContext(Cr.getAccountInfo(t),this.correlationId)}cacheNativeTokens(t,n,i,o,s,r,a){let l=yi.createIdTokenEntity(i,n.authority,t.id_token||"",n.clientId,o.tid||""),c=n.tokenType===$e.AuthenticationScheme.POP?$e.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,n.scope),m=yi.createAccessTokenEntity(i,n.authority,s,n.clientId,o.tid||r,p.printScopes(),u,0,Li,void 0,n.tokenType,void 0,n.keyId),g={idToken:l,accessToken:m};return this.nativeStorageManager.saveCacheRecord(g,this.correlationId,uo.isKmsi(o),this.apiId,n.storeInCache)}getExpiresInValue(t,n){return t===$e.AuthenticationScheme.POP?$e.SHR_NONCE_VALIDITY:(typeof n=="string"?parseInt(n,10):n)||0}addTelemetryFromNativeResponse(t){let n=this.getMATSFromResponse(t);return n?(this.performanceClient.addFields({extensionId:this.platformAuthProvider.getExtensionId(),extensionVersion:this.platformAuthProvider.getExtensionVersion(),matsBrokerVersion:n.broker_version,matsAccountJoinOnStart:n.account_join_on_start,matsAccountJoinOnEnd:n.account_join_on_end,matsDeviceJoin:n.device_join,matsPromptBehavior:n.prompt_behavior,matsApiErrorCode:n.api_error_code,matsUiVisible:n.ui_visible,matsSilentCode:n.silent_code,matsSilentBiSubCode:n.silent_bi_sub_code,matsSilentMessage:n.silent_message,matsSilentStatus:n.silent_status,matsHttpStatus:n.http_status,matsHttpEventCount:n.http_event_count},this.correlationId),n):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 n=await this.getCanonicalAuthority(t),{scopes:i,...o}=t,s=new bi(i||[]);s.appendScopes($e.OIDC_DEFAULT_SCOPES);let r={...o,accountId:this.accountId,clientId:this.config.auth.clientId,authority:n.urlString,scope:s.printScopes(),redirectUri:wm(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(r.signPopToken&&t.popKid)throw ge(Pue);if(this.handleExtraBrokerParams(r),r.extraParameters=r.extraParameters||{},r.extraParameters.telemetry=Co.MATS_TELEMETRY,t.authenticationScheme===$e.AuthenticationScheme.POP){let a={resourceRequestUri:t.resourceRequestUri,resourceRequestMethod:t.resourceRequestMethod,shrClaims:t.shrClaims,shrNonce:t.shrNonce,correlationId:this.correlationId},l=new os(this.browserCrypto,this.performanceClient),c;if(r.keyId)c=this.browserCrypto.base64UrlEncode(JSON.stringify({kid:r.keyId})),r.signPopToken=!1;else{let u=await G(l.generateCnf.bind(l),vi.PopTokenGenerateCnf,this.logger,this.performanceClient,this.correlationId)(a,this.logger);c=u.reqCnfString,r.keyId=u.kid,r.signPopToken=!0}r.reqCnf=c}return this.addRequestSKUs(r),r}async getCanonicalAuthority(t){let n=t.authority||this.config.auth.authority,{azureCloudOptions:i,account:o}=t;o&&await rs(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,i,void 0,o);let s=new St(n);return s.validateAsUri(),s}getPrompt(t){switch(this.apiId){case wt.ssoSilent:case wt.acquireTokenSilent_silentFlow:return this.logger.trace("1hiwaz",this.correlationId),$e.PromptValue.NONE}if(!t){this.logger.trace("1qlu04",this.correlationId);return}switch(t){case $e.PromptValue.NONE:case $e.PromptValue.CONSENT:case $e.PromptValue.LOGIN:return this.logger.trace("1ynje4",this.correlationId),t;default:throw this.logger.trace("0nkr6q",this.correlationId),ge(Eue)}}handleExtraBrokerParams(t){let n=t.extraParameters&&t.extraParameters.hasOwnProperty(xc.BROKER_CLIENT_ID)&&t.extraParameters.hasOwnProperty(xc.BROKER_REDIRECT_URI)&&t.extraParameters.hasOwnProperty(xc.CLIENT_ID);if(!t.embeddedClientId&&!n)return;let i="",o=t.redirectUri;t.embeddedClientId?(t.redirectUri=this.config.auth.redirectUri,i=t.embeddedClientId):t.extraParameters&&(t.redirectUri=t.extraParameters[xc.BROKER_REDIRECT_URI],i=t.extraParameters[xc.CLIENT_ID]),t.extraParameters={child_client_id:i,child_redirect_uri:o},this.performanceClient?.addFields({embeddedClientId:i,embeddedRedirectUri:o},t.correlationId)}};var Y$e=new Map([["e","AAD"],["m","MSA"]]);function W$e(e){if(!e)return null;try{let i=(/%(?:[0-9A-Fa-f]{2})/.test(e)?decodeURIComponent(e):e).split("|");return i.length<5?null:{accountType:Y$e.get(i[0]?.trim()||"")||"",error:i[1]?.trim()||"",subError:i[2]?.trim()||"",cloudInstance:i[3]?.trim()||"",callerDataBoundary:i[4]?.trim()||""}}catch{return null}}function Ide(e,t,n){let i=W$e(e.clientdata);i?.accountType&&n.addFields({accountType:i.accountType},t),i?.error&&n.addFields({serverErrorNo:i.error},t),i?.subError&&n.addFields({serverSubErrorNo:i.subError},t)}async function tH(e,t,n,i,o){let s=fl.getStandardAuthorizeRequestParameters({...e.auth,authority:t},n,i,o);if(yn.addLibraryInfo(s,{sku:ki.MSAL_SKU,version:qs,os:"",cpu:""}),e.system.protocolMode!==pn.OIDC&&yn.addApplicationTelemetry(s,e.telemetry.application),n.platformBroker&&(yn.addNativeBroker(s),n.authenticationScheme===$e.AuthenticationScheme.POP)){let r=new bl(i,o),a=new os(r,o),l;n.popKid?l=r.encodeKid(n.popKid):l=(await G(a.generateCnf.bind(a),vi.PopTokenGenerateCnf,i,o,n.correlationId)(n,i)).reqCnfString,yn.addPopToken(s,l)}return yn.instrumentBrokerParams(s,n.correlationId,o),s}async function ub(e,t,n,i,o){if(!n.codeChallenge)throw It(ns.pkceParamsMissing);let s=await G(tH,Mce,i,o,n.correlationId)(e,t,n,i,o);return yn.addResponseType(s,$e.OAuthResponseType.CODE),yn.addCodeChallengeParams(s,n.codeChallenge,$e.S256_CODE_CHALLENGE_METHOD),yn.addExtraParameters(s,{...n.extraQueryParameters,...n.extraParameters}),fl.getAuthorizeUrl(t,s)}async function db(e,t,n,i,o,s){if(!i.earJwk)throw ge(Nq);let r=await tH(t,n,i,o,s);yn.addResponseType(r,$e.OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN),yn.addEARParameters(r,i.earJwk),yn.addCodeChallengeParams(r,i.codeChallenge,$e.S256_CODE_CHALLENGE_METHOD),yn.addExtraParameters(r,{...i.extraParameters});let a=new Map;yn.addExtraParameters(a,i.extraQueryParameters||{}),yn.addCorrelationId(a,i.correlationId);let l=fl.getAuthorizeUrl(n,a);return Lde(e,l,r)}async function pb(e,t,n,i,o,s){let r=await tH(t,n,i,o,s);yn.addResponseType(r,$e.OAuthResponseType.CODE),yn.addCodeChallengeParams(r,i.codeChallenge,i.codeChallengeMethod||$e.S256_CODE_CHALLENGE_METHOD),yn.addExtraParameters(r,{...i.extraParameters});let a=new Map;yn.addExtraParameters(a,i.extraQueryParameters||{}),yn.addCorrelationId(a,i.correlationId);let l=fl.getAuthorizeUrl(n,a);return Lde(e,l,r)}function Lde(e,t,n){let i=e.createElement("form");return i.method="post",i.action=t,n.forEach((o,s)=>{let r=e.createElement("input");r.hidden=!0,r.name=s,r.value=o,i.appendChild(r)}),e.body.appendChild(i),i}async function Rde(e,t,n,i,o,s,r,a,l,c){if(a.verbose("11qcow",e.correlationId),!c)throw ge(aP);let u=new bl(a,l),p=new rd(i,o,u,a,r,i.system.navigationClient,n,l,c,t,s,e.correlationId),{userRequestState:m}=ha.parseRequestState(u.base64Decode,e.state);return G(p.acquireToken.bind(p),eP,a,l,e.correlationId)({...e,state:m,prompt:void 0})}async function Nc(e,t,n,i,o,s,r,a,l,c,u,p){if(Pc.removeThrottle(r,o.auth.clientId,e),Ide(t,e.correlationId,u),t.accountId)return G(Rde,Aq,c,u,e.correlationId)(e,t.accountId,i,o,r,a,l,c,u,p);let m={...e,code:t.code||"",codeVerifier:n},g=new lb(s,r,m,c,u);return await G(g.handleCodeResponse.bind(g),$ce,c,u,e.correlationId)(t,e,i)}async function mb(e,t,n,i,o,s,r,a,l,c,u){if(Pc.removeThrottle(s,i.auth.clientId,e),Ide(t,e.correlationId,c),fl.validateAuthorizationResponse(t,e.state),!t.ear_jwe)throw ge(oue);if(!e.earJwk)throw ge(Nq);let p=JSON.parse(await G(Bue,Wce,l,c,e.correlationId)(e.earJwk,t.ear_jwe));if(p.accountId)return G(Rde,Aq,l,c,e.correlationId)(e,p.accountId,n,i,s,r,a,l,c,u);let m=new ba(i.auth.clientId,s,new bl(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),vi.HandleServerTokenResponse,l,c,e.correlationId)(p,o,is.nowSeconds(),e,n,g,void 0,void 0,void 0,void 0)}var J$e=32;async function xa(e,t,n){let i=ei(Z$e,Bce,t,e,n)(e,t,n),o=await G(X$e,jce,t,e,n)(i,e,t,n);return{verifier:i,challenge:o}}function Z$e(e,t,n){try{let i=new Uint8Array(J$e);return ei(Uue,Vce,t,e,n)(i),Er(i)}catch{throw ge(Dq)}}async function X$e(e,t,n,i){try{let o=await G(zq,zce,n,t,i)(e);return Er(new Uint8Array(o))}catch{throw ge(Dq)}}var TP=class e{navigateInternal(t,n){return e.defaultNavigateWindow(t,n)}navigateExternal(t,n){return e.defaultNavigateWindow(t,n)}static defaultNavigateWindow(t,n){return n.noHistory?window.location.replace(t):window.location.assign(t),new Promise((i,o)=>{setTimeout(()=>{o(ge(Sm,"failed_to_redirect"))},n.timeout)})}};var SP=class{async sendGetRequestAsync(t,n){let i,o={},s=0,r=Mde(n);try{i=await fetch(t,{method:Rq.GET,headers:r})}catch(a){throw ym(ge(window.navigator.onLine?vue:ox),void 0,void 0,a)}o=$de(i.headers);try{return s=i.status,{headers:o,body:await i.json(),status:s}}catch(a){throw ym(ge(Uq),s,o,a)}}async sendPostRequestAsync(t,n){let i=n&&n.body||"",o=Mde(n),s,r=0,a={};try{s=await fetch(t,{method:Rq.POST,headers:o,body:i})}catch(l){throw ym(ge(window.navigator.onLine?yue:ox),void 0,void 0,l)}a=$de(s.headers);try{return r=s.status,{headers:a,body:await s.json(),status:r}}catch(l){throw ym(ge(Uq),r,a,l)}}};function Mde(e){try{let t=new Headers;if(!(e&&e.headers))return t;let n=e.headers;return Object.entries(n).forEach(([i,o])=>{t.append(i,o)}),t}catch(t){throw ym(ge(Iue),void 0,void 0,t)}}function $de(e){try{let t={};return e.forEach((n,i)=>{t[i]=n}),t}catch{throw ge(Lue)}}var eDe=6e4,tDe=1e4,nDe=3e4,nH=2e3;function Dde({auth:e,cache:t,system:n,experimental:i,telemetry:o},s){let r={clientId:"",authority:`${$e.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:"",authorityMetadata:"",redirectUri:typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:"",postLogoutRedirectUri:"",clientCapabilities:[],OIDCOptions:{responseMode:$e.ResponseMode.FRAGMENT,defaultScopes:[$e.OPENID_SCOPE,$e.PROFILE_SCOPE,$e.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:Wu.None,tenant:""},instanceAware:!1,isMcp:!1},a={cacheLocation:Ii.SessionStorage,cacheRetentionDays:5},l={loggerCallback:()=>{},logLevel:$t.Info,piiLoggingEnabled:!1},u={...{...FA,loggerOptions:l,networkClient:s?new SP:Tq,navigationClient:new TP,popupBridgeTimeout:n?.popupBridgeTimeout||eDe,iframeBridgeTimeout:n?.iframeBridgeTimeout||tDe,redirectNavigationTimeout:nDe,allowRedirectInIframe:!1,navigatePopups:!0,allowPlatformBroker:!1,nativeBrokerHandshakeTimeout:n?.nativeBrokerHandshakeTimeout||nH,protocolMode:pn.AAD},...n,loggerOptions:n?.loggerOptions||l},p={application:{appName:"",appVersion:""},client:new Ec},m={iframeTimeoutTelemetry:!1};if(n?.protocolMode!==pn.OIDC&&e?.OIDCOptions&&new _i(u.loggerOptions).warning(JSON.stringify(It(ns.cannotSetOIDCOptions)),""),n?.protocolMode&&n.protocolMode===pn.OIDC&&u?.allowPlatformBroker)throw It(ns.cannotAllowPlatformBroker);return{auth:{...r,...e,OIDCOptions:{...r.OIDCOptions,...e?.OIDCOptions}},cache:{...a,...t},system:u,experimental:{...m,...i},telemetry:{...p,...o}}}var wP=class e{constructor(t,n,i,o){this.logger=t,this.handshakeTimeoutMs=n,this.extensionId=o,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=i,this.handshakeEvent=i.startMeasurement(qce),this.platformAuthType=Co.PLATFORM_EXTENSION_PROVIDER}async sendMessage(t){this.logger.trace("0on4p2",t.correlationId);let n={method:Kh.GetToken,request:t},i={channel:Co.CHANNEL_ID,extensionId:this.extensionId,responseId:Us(),body:n};this.logger.trace("1qadfi",t.correlationId),this.logger.tracePii("1xm533",t.correlationId),this.messageChannel.port1.postMessage(i);let o=await new Promise((r,a)=>{this.resolvers.set(i.responseId,{resolve:r,reject:a})});return this.validatePlatformBrokerResponse(o)}static async createProvider(t,n,i,o){t.trace("15zfnw",o);try{let s=new e(t,n,i,Co.PREFERRED_EXTENSION_ID);return await s.sendHandshakeRequest(o),s}catch{let r=new e(t,n,i);return await r.sendHandshakeRequest(o),r}}async sendHandshakeRequest(t){this.logger.trace("1dpg9o",t),window.addEventListener("message",this.windowListener,!1);let n={channel:Co.CHANNEL_ID,extensionId:this.extensionId,responseId:Us(),body:{method:Kh.HandshakeRequest}};return this.handshakeEvent.add({extensionId:this.extensionId,extensionHandshakeTimeoutMs:this.handshakeTimeoutMs}),this.messageChannel.port1.onmessage=i=>{this.onChannelMessage(i)},window.postMessage(n,window.origin,[this.messageChannel.port2]),new Promise((i,o)=>{this.handshakeResolvers.set(n.responseId,{resolve:i,reject:o}),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}),o(ge(wue)),this.handshakeResolvers.delete(n.responseId)},this.handshakeTimeoutMs)})}onWindowMessage(t){let n=rx();if(this.logger.trace("0jpn5u",n),t.source!==window)return;let i=t.data;if(!(!i.channel||i.channel!==Co.CHANNEL_ID)&&!(i.extensionId&&i.extensionId!==this.extensionId)&&i.body.method===Kh.HandshakeRequest){let o=this.handshakeResolvers.get(i.responseId);if(!o){this.logger.trace("07buhm",n);return}this.logger.verbose(i.extensionId?"0xrkug":"No extension installed",n),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),o.reject(ge(Cue))}}onChannelMessage(t){let n=rx();this.logger.trace("1py8yf",n);let i=t.data,o=this.resolvers.get(i.responseId),s=this.handshakeResolvers.get(i.responseId);try{let r=i.body.method;if(r===Kh.Response){if(!o)return;let a=i.body.response;if(this.logger.trace("19hpgm",n),this.logger.tracePii("179a24",n),a.status!=="Success")o.reject(Em(a.code,a.description,a.ext));else if(a.result)a.result.code&&a.result.description?o.reject(Em(a.result.code,a.result.description,a.result.ext)):o.resolve(a.result);else throw Rh(Zu.unexpectedError,"Event does not contain result.");this.resolvers.delete(i.responseId)}else if(r===Kh.HandshakeResponse){if(!s){this.logger.trace("082qnt",n);return}clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=i.extensionId,this.extensionVersion=i.body.version,this.logger.verbose("0yf5ib",n),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),s.resolve(),this.handshakeResolvers.delete(i.responseId)}}catch(r){this.logger.error("0xf978",n),this.logger.errorPii("04i99o",n),this.logger.errorPii("0xdvsy",n),o?o.reject(r):s&&s.reject(r)}}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 Rh(Zu.unexpectedError,"Response missing expected properties.")}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}getExtensionName(){return this.getExtensionId()===Co.PREFERRED_EXTENSION_ID?"chrome":this.getExtensionId()?.length?"unknown":void 0}};var CP=class e{constructor(t,n,i){this.logger=t,this.performanceClient=n,this.correlationId=i,this.platformAuthType=Co.PLATFORM_DOM_PROVIDER}static async createProvider(t,n,i){if(t.trace("12mj4a",i),window.navigator?.platformAuthentication&&(await window.navigator.platformAuthentication.getSupportedContracts(Co.MICROSOFT_ENTRA_BROKERID))?.includes(Co.PLATFORM_DOM_APIS))return t.trace("1h5q1r",i),new e(t,n,i)}getExtensionId(){return Co.MICROSOFT_ENTRA_BROKERID}getExtensionVersion(){return""}getExtensionName(){return Co.DOM_API_NAME}async sendMessage(t){this.logger.trace("02bcil",t.correlationId);try{let n=this.initializePlatformDOMRequest(t),i=await window.navigator.platformAuthentication.executeGetToken(n);return this.validatePlatformBrokerResponse(i,t.correlationId)}catch(n){throw this.logger.error("11im7g",t.correlationId),n}}initializePlatformDOMRequest(t){this.logger.trace("15d6yv",t.correlationId);let{accountId:n,clientId:i,authority:o,scope:s,redirectUri:r,correlationId:a,state:l,storeInCache:c,embeddedClientId:u,extraParameters:p,...m}=t,g=this.getDOMExtraParams(m,a);return{accountId:n,brokerId:this.getExtensionId(),authority:o,clientId:i,correlationId:a||this.correlationId,extraParameters:{...p,...g},isSecurityTokenService:!1,redirectUri:r,scope:s,state:l,storeInCache:c,embeddedClientId:u}}validatePlatformBrokerResponse(t,n){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",n),this.convertToPlatformBrokerResponse(t,n);if(t.hasOwnProperty("error")){let i=t;if(i.isSuccess===!1&&i.error&&i.error.code)throw this.logger.trace("0g92vm",n),Em(i.error.code,i.error.description,{error:parseInt(i.error.errorCode),protocol_error:i.error.protocolError,status:i.error.status,properties:i.error.properties})}}throw Rh(Zu.unexpectedError,"Response missing expected properties.")}convertToPlatformBrokerResponse(t,n){return this.logger.trace("14913t",n),{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,n){try{let i={};for(let[o,s]of Object.entries(t))s&&(typeof s=="object"?i[o]=JSON.stringify(s):i[o]=String(s));return i}catch{return this.logger.error("0eu9o3",n),this.logger.errorPii("17rpl5",n),{}}}};async function Nde(e,t,n,i){e.trace("134j0v",n);let o=iDe();e.trace("04c81g",n);let s;try{o&&(s=await CP.createProvider(e,t,n)),s||(e.trace("0l3na8",n),s=await wP.createProvider(e,i||nH,t,n))}catch(r){e.trace("0icbd7",r)}return s}function iDe(){let e;try{return e=window[Ii.SessionStorage],e?.getItem(lde)==="true"}catch{return!1}}function Fc(e,t,n,i,o){if(t.trace("0uko3r",n),!e.system.allowPlatformBroker)return t.trace("04hozs",n),!1;if(!i)return t.trace("0kvv1r",n),!1;if(o)switch(o){case $e.AuthenticationScheme.BEARER:case $e.AuthenticationScheme.POP:return t.trace("18tev1",n),!0;default:return t.trace("1dd2nh",n),!1}return!0}var EP=class extends as{constructor(t,n,i,o,s,r,a,l,c,u){super(t,n,i,o,s,r,a,c,u),this.nativeStorage=l,this.eventHandler=s}acquireToken(t,n){let i;try{if(i={popupName:this.generatePopupName(t.scopes||$e.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 s={...t,httpMethod:xP(t,this.config.system.protocolMode)};return this.logger.verbose("1f9ok3",this.correlationId),i.popup=this.openSizedPopup("about:blank",i),this.acquireTokenPopupAsync(s,i,n)}else return this.logger.verbose("162h4u",this.correlationId),this.acquireTokenPopupAsync(t,i,n)}catch(o){return Promise.reject(o)}}logout(t){try{this.logger.verbose("068rup",this.correlationId);let n=this.initializeLogoutRequest(t),i={popupName:this.generateLogoutPopupName(n),popupWindowAttributes:t?.popupWindowAttributes||{},popupWindowParent:t?.popupWindowParent??window},o=t&&t.authority,s=t&&t.mainWindowRedirectUri;return this.config.system.navigatePopups?(this.logger.verbose("1a28da",this.correlationId),i.popup=this.openSizedPopup("about:blank",i),this.logoutPopupAsync(n,i,o,s)):(this.logger.verbose("1phd8u",this.correlationId),this.logoutPopupAsync(n,i,o,s))}catch(n){return Promise.reject(n)}}async acquireTokenPopupAsync(t,n,i){this.logger.verbose("1g77pg",this.correlationId);let o=await G(od,ed,this.logger,this.performanceClient,this.correlationId)(t,Ke.Popup,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);n.popup&&mP(o.authority);let s=Fc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);return o.platformBroker=s,this.config.system.protocolMode===pn.EAR?this.executeEarFlow(o,n,i):this.executeCodeFlow(o,n,i)}async executeCodeFlow(t,n,i){let o=t.correlationId,s=zn(wt.acquireTokenPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),r=i||await G(xa,va,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),a={...t,codeChallenge:r.challenge};try{let l=await G(this.createAuthCodeClient.bind(this),ya,this.logger,this.performanceClient,o)({serverTelemetryManager:s,requestAuthority:a.authority,requestAzureCloudOptions:a.azureCloudOptions,requestExtraQueryParameters:a.extraQueryParameters,account:a.account});if(a.httpMethod===$e.HttpMethod.POST)return await this.executeCodeFlowWithPost(a,n,l,r.verifier);{let c=await G(ub,vi.GetAuthCodeUrl,this.logger,this.performanceClient,o)(this.config,l.authority,a,this.logger,this.performanceClient),u=this.initiateAuthRequest(c,n);this.eventHandler.emitEvent(Ze.POPUP_OPENED,o,Ke.Popup,{popupWindow:u},null);let p=await id(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),m=ei(Cm,xm,this.logger,this.performanceClient,this.correlationId)(p,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return await G(Nc,Lc,this.logger,this.performanceClient,o)(t,m,r.verifier,wt.acquireTokenPopup,this.config,l,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}}catch(l){throw n.popup?.close(),l instanceof ot&&(l.setCorrelationId(this.correlationId),s.cacheFailedRequest(l)),l}}async executeEarFlow(t,n,i){let{correlationId:o,authority:s,azureCloudOptions:r,extraQueryParameters:a,account:l}=t,c=await G(rs,_a,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,s,r,a,l),u=await G(tb,Gh,this.logger,this.performanceClient,o)(),p=i||await G(xa,va,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),m={...t,earJwk:u,codeChallenge:p.challenge},g=n.popup||this.openPopup("about:blank",n);(await db(g.document,this.config,c,m,this.logger,this.performanceClient)).submit();let _=await G(id,zh,this.logger,this.performanceClient,o)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,m,this.performanceClient),h=ei(Cm,xm,this.logger,this.performanceClient,this.correlationId)(_,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);if(!h.ear_jwe&&h.code){let k=await G(this.createAuthCodeClient.bind(this),ya,this.logger,this.performanceClient,o)({serverTelemetryManager:zn(wt.acquireTokenPopup,this.config.auth.clientId,o,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:c});return G(Nc,Lc,this.logger,this.performanceClient,o)(m,h,p.verifier,wt.acquireTokenPopup,this.config,k,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return G(mb,Vh,this.logger,this.performanceClient,o)(m,h,wt.acquireTokenPopup,this.config,c,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async executeCodeFlowWithPost(t,n,i,o){let s=t.correlationId,r=await G(rs,_a,this.logger,this.performanceClient,s)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger),a=n.popup||this.openPopup("about:blank",n);(await pb(a.document,this.config,r,t,this.logger,this.performanceClient)).submit();let c=await G(id,zh,this.logger,this.performanceClient,s)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),u=ei(Cm,xm,this.logger,this.performanceClient,this.correlationId)(c,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return G(Nc,Lc,this.logger,this.performanceClient,s)(t,u,o,wt.acquireTokenPopup,this.config,i,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async logoutPopupAsync(t,n,i,o){this.logger.verbose("0b7yrk",this.correlationId),this.eventHandler.emitEvent(Ze.LOGOUT_START,this.correlationId,Ke.Popup,t);let s=zn(wt.logoutPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{await ab(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,t.account);let r=await G(this.createAuthCodeClient.bind(this),ya,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:s,requestAuthority:i,account:t.account||void 0});try{r.authority.endSessionEndpoint}catch{if(t.account?.homeAccountId&&t.postLogoutRedirectUri&&r.authority.protocolMode===pn.OIDC){if(this.eventHandler.emitEvent(Ze.LOGOUT_SUCCESS,t.correlationId,Ke.Popup,t),o){let c={apiId:wt.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=St.getAbsoluteUrl(o,Ar());await this.navigationClient.navigateInternal(u,c)}n.popup?.close();return}}let a=r.getLogoutUri(t);this.eventHandler.emitEvent(Ze.LOGOUT_SUCCESS,t.correlationId,Ke.Popup,t);let l=this.openPopup(a,n);if(this.eventHandler.emitEvent(Ze.POPUP_OPENED,t.correlationId,Ke.Popup,{popupWindow:l},null),await id(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient).catch(()=>{}),o){let c={apiId:wt.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=St.getAbsoluteUrl(o,Ar());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(r){throw n.popup?.close(),r instanceof ot&&(r.setCorrelationId(this.correlationId),s.cacheFailedRequest(r)),this.eventHandler.emitEvent(Ze.LOGOUT_FAILURE,this.correlationId,Ke.Popup,null,r),this.eventHandler.emitEvent(Ze.LOGOUT_END,this.correlationId,Ke.Popup),r}this.eventHandler.emitEvent(Ze.LOGOUT_END,this.correlationId,Ke.Popup)}initiateAuthRequest(t,n){if(t)return this.logger.infoPii("1kcr9k",this.correlationId),this.openPopup(t,n);throw this.logger.error("1l7hyp",this.correlationId),ge(Yh)}openPopup(t,n){try{let i;if(n.popup?(i=n.popup,this.logger.verbosePii("0cgeo7",this.correlationId),i.location.assign(t)):typeof n.popup>"u"&&(this.logger.verbosePii("0c2awd",this.correlationId),i=this.openSizedPopup(t,n)),!i)throw ge(due);return i.focus&&i.focus(),this.currentWindow=i,i}catch{throw this.logger.error("0dxfb9",this.correlationId),ge(uue)}}openSizedPopup(t,{popupName:n,popupWindowAttributes:i,popupWindowParent:o}){let s=o.screenLeft?o.screenLeft:o.screenX,r=o.screenTop?o.screenTop:o.screenY,a=o.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,l=o.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,c=i.popupSize?.width,u=i.popupSize?.height,p=i.popupPosition?.top,m=i.popupPosition?.left;return(!c||c<0||c>a)&&(this.logger.verbose("08vfmo",this.correlationId),c=ki.POPUP_WIDTH),(!u||u<0||u>l)&&(this.logger.verbose("09cxa0",this.correlationId),u=ki.POPUP_HEIGHT),(!p||p<0||p>l)&&(this.logger.verbose("1qh4wo",this.correlationId),p=Math.max(0,l/2-ki.POPUP_HEIGHT/2+r)),(!m||m<0||m>a)&&(this.logger.verbose("1sz3en",this.correlationId),m=Math.max(0,a/2-ki.POPUP_WIDTH/2+s)),o.open(t,n,`width=${c}, height=${u}, top=${p}, left=${m}, scrollbars=yes`)}generatePopupName(t,n){return`${ki.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${t.join("-")}.${n}.${this.correlationId}`}generateLogoutPopupName(t){let n=t.account&&t.account.homeAccountId;return`${ki.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${n}.${this.correlationId}`}};function oDe(){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 AP=class extends as{constructor(t,n,i,o,s,r,a,l,c,u){super(t,n,i,o,s,r,a,c,u),this.nativeStorage=l}async acquireToken(t){let n=await G(od,ed,this.logger,this.performanceClient,this.correlationId)(t,Ke.Redirect,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);n.platformBroker=Fc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);let i=s=>{s.persisted&&(this.logger.verbose("0udvtt",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),this.eventHandler.emitEvent(Ze.RESTORE_FROM_BFCACHE,this.correlationId,Ke.Redirect))},o=this.getRedirectStartPage(t.redirectStartPage);this.logger.verbosePii("0zao0a",this.correlationId),this.browserStorage.setTemporaryCache(En.ORIGIN_URI,o,!0),window.addEventListener("pageshow",i);try{this.config.system.protocolMode===pn.EAR?await this.executeEarFlow(n):await this.executeCodeFlow(n)}catch(s){throw s instanceof ot&&s.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",i),s}}async executeCodeFlow(t){let n=t.correlationId,i=zn(wt.acquireTokenRedirect,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),o=await G(xa,va,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),s={...t,codeChallenge:o.challenge};this.browserStorage.cacheAuthorizeRequest(s,this.correlationId,o.verifier);try{if(s.httpMethod===$e.HttpMethod.POST)return await this.executeCodeFlowWithPost(s);{let r=await G(this.createAuthCodeClient.bind(this),ya,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:i,requestAuthority:s.authority,requestAzureCloudOptions:s.azureCloudOptions,requestExtraQueryParameters:s.extraQueryParameters,account:s.account}),a=await G(ub,vi.GetAuthCodeUrl,this.logger,this.performanceClient,t.correlationId)(this.config,r.authority,s,this.logger,this.performanceClient);return await this.initiateAuthRequest(a)}}catch(r){throw r instanceof ot&&(r.setCorrelationId(this.correlationId),i.cacheFailedRequest(r)),r}}async executeEarFlow(t){let{correlationId:n,authority:i,azureCloudOptions:o,extraQueryParameters:s,account:r}=t,a=await G(rs,_a,this.logger,this.performanceClient,n)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,i,o,s,r),l=await G(tb,Gh,this.logger,this.performanceClient,n)(),c=await G(xa,va,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),u={...t,earJwk:l,codeChallenge:c.challenge};return this.browserStorage.cacheAuthorizeRequest(u,this.correlationId,c.verifier),(await db(document,this.config,a,u,this.logger,this.performanceClient)).submit(),new Promise((m,g)=>{setTimeout(()=>{g(ge(Sm,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async executeCodeFlowWithPost(t){let n=t.correlationId,i=await G(rs,_a,this.logger,this.performanceClient,n)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger);return this.browserStorage.cacheAuthorizeRequest(t,this.correlationId),(await pb(document,this.config,i,t,this.logger,this.performanceClient)).submit(),new Promise((s,r)=>{setTimeout(()=>{r(ge(Sm,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async handleRedirectPromise(t,n,i,o){let s=zn(wt.handleRedirectPromise,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),r=o?.navigateToLoginRequestUrl??!0;try{let[a,l]=this.getRedirectResponse(o?.hash||"");if(!a)return this.logger.info("1qmv0q",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),oDe()!=="back_forward"?i.event.errorCode="no_server_response":this.logger.verbose("1eqegq",this.correlationId),null;let c=this.browserStorage.getTemporaryCache(En.ORIGIN_URI,this.correlationId,!0)||"",u=wr.normalizeUrlForComparison(c),p=wr.normalizeUrlForComparison(window.location.href);if(u===p&&r)return this.logger.verbose("11yred",this.correlationId),c.indexOf("#")>-1&&Que(c),await this.handleResponse(a,t,n,s);if(r){if(!sx()||this.config.system.allowRedirectInIframe){this.browserStorage.setTemporaryCache(En.URL_HASH,l,!0);let m={apiId:wt.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},g=!0;if(!c||c==="null"){let f=Yue();this.browserStorage.setTemporaryCache(En.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,n,s)}}else return this.logger.verbose("0v4sdv",this.correlationId),await this.handleResponse(a,t,n,s);return null}catch(a){throw a instanceof ot&&(a.setCorrelationId(this.correlationId),s.cacheFailedRequest(a)),a}}getRedirectResponse(t){this.logger.verbose("1c5i8m",this.correlationId);let n=t;n||(this.config.auth.OIDCOptions.responseMode===$e.ResponseMode.QUERY?n=window.location.search:n=window.location.hash);let i=wr.getDeserializedResponse(n);if(i){try{yde(i,this.browserCrypto,Ke.Redirect)}catch(s){return s instanceof ot&&this.logger.error("0bkq6p",this.correlationId),[null,""]}return dP(window),this.logger.verbose("00uvho",this.correlationId),[i,n]}let o=this.browserStorage.getTemporaryCache(En.URL_HASH,this.correlationId,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(En.URL_HASH)),o&&(i=wr.getDeserializedResponse(o),i)?(this.logger.verbose("001671",this.correlationId),[i,o]):[null,""]}async handleResponse(t,n,i,o){if(!t.state)throw ge(Wh);let{authority:r,azureCloudOptions:a,extraQueryParameters:l,account:c}=n;if(t.ear_jwe){let p=await G(rs,_a,this.logger,this.performanceClient,n.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,r,a,l,c);return G(mb,Vh,this.logger,this.performanceClient,n.correlationId)(n,t,wt.acquireTokenRedirect,this.config,p,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}let u=await G(this.createAuthCodeClient.bind(this),ya,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:o,requestAuthority:n.authority});return G(Nc,Lc,this.logger,this.performanceClient,n.correlationId)(n,t,i,wt.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 n={apiId:wt.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},i=this.config.auth.onRedirectNavigate;if(typeof i=="function")if(this.logger.verbose("1nehvl",this.correlationId),i(t)!==!1){this.logger.verbose("1a0jxh",this.correlationId),await this.navigationClient.navigateExternal(t,n);return}else{this.logger.verbose("09k5h5",this.correlationId);return}else{this.logger.verbose("0klwf7",this.correlationId),await this.navigationClient.navigateExternal(t,n);return}}else throw this.logger.info("0rlh4e",this.correlationId),ge(Yh)}async logout(t){this.logger.verbose("1rkurh",this.correlationId);let n=this.initializeLogoutRequest(t),i=zn(wt.logout,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{this.eventHandler.emitEvent(Ze.LOGOUT_START,this.correlationId,Ke.Redirect,t),await ab(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,n.account);let o={apiId:wt.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},s=await G(this.createAuthCodeClient.bind(this),ya,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:i,requestAuthority:t&&t.authority,requestExtraQueryParameters:t?.extraQueryParameters,account:t&&t.account||void 0});if(s.authority.protocolMode===pn.OIDC)try{s.authority.endSessionEndpoint}catch{if(n.account?.homeAccountId){this.eventHandler.emitEvent(Ze.LOGOUT_SUCCESS,this.correlationId,Ke.Redirect,n);return}}let r=s.getLogoutUri(n);n.account?.homeAccountId&&this.eventHandler.emitEvent(Ze.LOGOUT_SUCCESS,this.correlationId,Ke.Redirect,n);let a=this.config.auth.onRedirectNavigate;if(typeof a=="function")if(a(r)!==!1){this.logger.verbose("06v57e",this.correlationId),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,ka.SIGNOUT),await this.navigationClient.navigateExternal(r,o);return}else this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("0xqes1",this.correlationId);else{this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,ka.SIGNOUT),await this.navigationClient.navigateExternal(r,o);return}}catch(o){throw o instanceof ot&&(o.setCorrelationId(this.correlationId),i.cacheFailedRequest(o)),this.eventHandler.emitEvent(Ze.LOGOUT_FAILURE,this.correlationId,Ke.Redirect,null,o),this.eventHandler.emitEvent(Ze.LOGOUT_END,this.correlationId,Ke.Redirect),o}this.eventHandler.emitEvent(Ze.LOGOUT_END,this.correlationId,Ke.Redirect)}getRedirectStartPage(t){let n=t||window.location.href;return St.getAbsoluteUrl(n,Ar())}};async function Fde(e,t,n,i){if(!e)throw n.info("1l7hyp",i),ge(Yh);return ei(sDe,Lce,n,t,i)(e)}async function Ude(e,t,n,i,o){let s=iH();if(!s.contentDocument)throw"No document associated with iframe!";return(await pb(s.contentDocument,e,t,n,i,o)).submit(),s}async function Ode(e,t,n,i,o){let s=iH();if(!s.contentDocument)throw"No document associated with iframe!";return(await db(s.contentDocument,e,t,n,i,o)).submit(),s}function sDe(e){let t=iH();return t.src=e,t}function iH(){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 oH(e){document.body===e.parentNode&&document.body.removeChild(e)}var PP=class extends as{constructor(t,n,i,o,s,r,a,l,c,u,p){super(t,n,i,o,s,r,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 n={...t};n.prompt?n.prompt!==$e.PromptValue.NONE&&n.prompt!==$e.PromptValue.NO_SESSION&&(this.logger.warning("0bmctg",this.correlationId),n.prompt=$e.PromptValue.NONE):n.prompt=$e.PromptValue.NONE;let i=await G(od,ed,this.logger,this.performanceClient,this.correlationId)(n,Ke.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);return i.platformBroker=Fc(this.config,this.logger,this.correlationId,this.platformAuthProvider,i.authenticationScheme),mP(i.authority),this.config.system.protocolMode===pn.EAR?this.executeEarFlow(i):this.executeCodeFlow(i)}async executeCodeFlow(t){let n,i=zn(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{return n=await G(this.createAuthCodeClient.bind(this),ya,this.logger,this.performanceClient,t.correlationId)({serverTelemetryManager:i,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account}),await G(this.silentTokenHelper.bind(this),Eq,this.logger,this.performanceClient,t.correlationId)(n,t)}catch(o){if(o instanceof ot&&(o.setCorrelationId(this.correlationId),i.cacheFailedRequest(o)),!n||!(o instanceof ot)||o.errorCode!==ki.INVALID_GRANT_ERROR)throw o;return this.performanceClient.addFields({retryError:o.errorCode},this.correlationId),await G(this.silentTokenHelper.bind(this),Eq,this.logger,this.performanceClient,this.correlationId)(n,t)}}async executeEarFlow(t){let{correlationId:n,authority:i,azureCloudOptions:o,extraQueryParameters:s,account:r}=t,a=await G(rs,_a,this.logger,this.performanceClient,n)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,i,o,s,r),l=await G(tb,Gh,this.logger,this.performanceClient,n)(),c=await G(xa,va,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),u={...t,earJwk:l,codeChallenge:c.challenge},p=await G(Ode,tP,this.logger,this.performanceClient,n)(this.config,a,u,this.logger,this.performanceClient),m=this.config.auth.OIDCOptions.responseMode,g;try{g=await G(id,zh,this.logger,this.performanceClient,n)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient,this.config.experimental)}finally{ei(oH,Pq,this.logger,this.performanceClient,n)(p)}let f=ei(Cm,xm,this.logger,this.performanceClient,n)(g,m,this.logger,this.correlationId);if(!f.ear_jwe&&f.code){let _=await G(this.createAuthCodeClient.bind(this),ya,this.logger,this.performanceClient,n)({serverTelemetryManager:zn(this.apiId,this.config.auth.clientId,n,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:a});return G(Nc,Lc,this.logger,this.performanceClient,n)(u,f,c.verifier,this.apiId,this.config,_,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return G(mb,Vh,this.logger,this.performanceClient,n)(u,f,this.apiId,this.config,a,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}logout(){return Promise.reject(ge(Jh))}async silentTokenHelper(t,n){let i=n.correlationId,o=await G(xa,va,this.logger,this.performanceClient,i)(this.performanceClient,this.logger,i),s={...n,codeChallenge:o.challenge},r;if(n.httpMethod===$e.HttpMethod.POST)r=await G(Ude,tP,this.logger,this.performanceClient,i)(this.config,t.authority,s,this.logger,this.performanceClient);else{let u=await G(ub,vi.GetAuthCodeUrl,this.logger,this.performanceClient,i)(this.config,t.authority,s,this.logger,this.performanceClient);r=await G(Fde,tP,this.logger,this.performanceClient,i)(u,this.performanceClient,this.logger,i)}let a=this.config.auth.OIDCOptions.responseMode,l;try{l=await G(id,zh,this.logger,this.performanceClient,i)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,n,this.performanceClient,this.config.experimental)}finally{ei(oH,Pq,this.logger,this.performanceClient,i)(r)}let c=ei(Cm,xm,this.logger,this.performanceClient,i)(l,a,this.logger,this.correlationId);return G(Nc,Lc,this.logger,this.performanceClient,i)(n,c,o.verifier,this.apiId,this.config,t,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}};var IP=class extends as{async acquireToken(t){let n=await G(ax,jh,this.logger,this.performanceClient,t.correlationId)(t,this.config,this.performanceClient,this.logger,this.correlationId),i={...t,...n};t.redirectUri&&(i.redirectUri=wm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId));let o=zn(wt.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=await this.createRefreshTokenClient({serverTelemetryManager:o,authorityUrl:i.authority,azureCloudOptions:i.azureCloudOptions,account:i.account});return G(s.acquireTokenByRefreshToken.bind(s),Ace,this.logger,this.performanceClient,t.correlationId)(i,wt.acquireTokenSilent_silentFlow).catch(r=>{throw r.setCorrelationId(this.correlationId),o.cacheFailedRequest(r),r})}logout(){return Promise.reject(ge(Jh))}async createRefreshTokenClient(t){let n=await G(this.getClientConfiguration.bind(this),Xu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:t.serverTelemetryManager,requestAuthority:t.authorityUrl,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account});return new Jk(n,this.performanceClient)}};var LP=class extends vm{constructor(t,n){super(t,n),this.includeRedirectUri=!1}};var RP=class extends as{constructor(t,n,i,o,s,r,a,l,c,u){super(t,n,i,o,s,r,l,c,u),this.apiId=a}async acquireToken(t){if(!t.code)throw ge(kue);let n=await G(od,ed,this.logger,this.performanceClient,this.correlationId)(t,Ke.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId),i=zn(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let o={...n,code:t.code},s=await G(this.getClientConfiguration.bind(this),Xu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:i,requestAuthority:n.authority,requestAzureCloudOptions:n.azureCloudOptions,requestExtraQueryParameters:n.extraQueryParameters,account:n.account}),r=new LP(s,this.performanceClient);this.logger.verbose("1uic5e",this.correlationId);let a=new lb(r,this.browserStorage,o,this.logger,this.performanceClient);return await G(a.handleCodeResponseFromServer.bind(a),vi.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},n,this.apiId,!1)}catch(o){throw o instanceof ot&&(o.setCorrelationId(this.correlationId),i.cacheFailedRequest(o)),o}}logout(){return Promise.reject(ge(Jh))}};function qde(e,t,n,i){let o=window.msal?.clientIds||[],s=o.length,r=o.filter(a=>a===e).length;r>1&&n.warning("1e88vg",i),t.add({msalInstanceCount:s,sameClientIdInstanceCount:r})}function MP(e,t,n,i){try{pP(e),Xk(n.auth.isMcp,i)}catch(o){throw t.end({success:!1},o,i.account),o}}var $P=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 bl(this.logger,this.performanceClient):Ku,this.eventHandler=new kP(this.logger),this.browserStorage=this.isBrowserEnvironment?new sb(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,this.performanceClient,this.eventHandler,kq(this.config.auth)):pde(this.config.auth.clientId,this.logger,this.performanceClient,this.eventHandler);let n={cacheLocation:Ii.MemoryStorage,cacheRetentionDays:5};this.nativeInternalStorage=new sb(this.config.auth.clientId,n,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,n){let i=new e(t);return await i.initialize(n),i}trackStateChange(t,n){t&&(n.type==="visibilitychange"?(this.logger.info("16v6hv",t),this.performanceClient.incrementFields({visibilityChangeCount:1},t)):n.type==="online"?(this.logger.info("0zirfd",t),this.performanceClient.incrementFields({onlineStatusChangeCount:1},t)):n.type==="offline"&&(this.logger.info("1xk9ef",t),this.performanceClient.incrementFields({onlineStatusChangeCount:1},t)))}async initialize(t){let n=this.getRequestCorrelationId(t);if(this.logger.trace("1f7joy",n),this.initialized){this.logger.info("061m5x",n);return}if(!this.isBrowserEnvironment){this.logger.info("19fvpi",n),this.initialized=!0,this.eventHandler.emitEvent(Ze.INITIALIZE_END,n);return}let i=this.config.system.allowPlatformBroker,o=this.performanceClient.startMeasurement(nde,n);if(this.eventHandler.emitEvent(Ze.INITIALIZE_START,n),this.logMultipleInstances(o,n),o.add({isMcp:this.config.auth.isMcp}),await G(this.browserStorage.initialize.bind(this.browserStorage),Ice,this.logger,this.performanceClient,n)(n),i)try{this.platformAuthProvider=await Nde(this.logger,this.performanceClient,n,this.config.system.nativeBrokerHandshakeTimeout)}catch(s){this.logger.verbose(s,n)}this.config.cache.cacheLocation===Ii.LocalStorage&&this.eventHandler.subscribeCrossTab(),!this.config.system.navigatePopups&&await this.preGeneratePkceCodes(n),this.initialized=!0,this.eventHandler.emitEvent(Ze.INITIALIZE_END,n),o.end({allowPlatformBroker:i,success:!0})}async handleRedirectPromise(t){if(this.logger.verbose("02l8bm",""),Wq(this.initialized),this.isBrowserEnvironment){let n=t?.hash||"",i=this.redirectResponse.get(n);return typeof i>"u"?(i=this.handleRedirectPromiseInternal(t),this.redirectResponse.set(n,i),this.logger.verbose("1wn9kp","")):this.logger.verbose("0w0gm3",""),i}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===ka.SIGNOUT)return this.logger.verbose("1ywcv2",""),this.browserStorage.setInteractionInProgress(!1),Promise.resolve(null);let i=this.getAllAccounts(),o=this.browserStorage.getCachedNativeRequest(),s=o&&this.platformAuthProvider&&!t?.hash,r,a;try{if(s&&this.platformAuthProvider){let l=o?.correlationId||"";this.eventHandler.emitEvent(Ze.HANDLE_REDIRECT_START,l,Ke.Redirect),r=this.performanceClient.startMeasurement(hP,l),this.logger.trace("12v7is",l);let c=new rd(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,wt.handleRedirectPromise,this.performanceClient,this.platformAuthProvider,o.accountId,this.nativeInternalStorage,o.correlationId);a=G(c.handleRedirectPromise.bind(c),Oce,this.logger,this.performanceClient,r.event.correlationId)(this.performanceClient,r.event.correlationId)}else{let[l,c]=this.browserStorage.getCachedRequest(""),u=l.correlationId;this.eventHandler.emitEvent(Ze.HANDLE_REDIRECT_START,u,Ke.Redirect),r=this.performanceClient.startMeasurement(hP,u),this.logger.trace("0znzs5",u);let p=this.createRedirectClient(u);a=G(p.handleRedirectPromise.bind(p),Uce,this.logger,this.performanceClient,r.event.correlationId)(l,c,r,t)}}catch(l){throw this.browserStorage.resetRequestCache(""),l}return a.then(l=>(l?(this.browserStorage.resetRequestCache(l.correlationId),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_SUCCESS,l.correlationId,Ke.Redirect,l),this.logger.verbose("0ui8f5",l.correlationId),i.length{this.browserStorage.resetRequestCache(r.event.correlationId);let c=l;throw this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,r.event.correlationId,Ke.Redirect,null,c),this.eventHandler.emitEvent(Ze.HANDLE_REDIRECT_END,r.event.correlationId,Ke.Redirect),r.end({success:!1},c),l})}async acquireTokenRedirect(t){let n=this.getRequestCorrelationId(t);this.logger.verbose("0os66p",n);let i=this.performanceClient.startMeasurement(ede,n);i.add({scenarioId:t.scenarioId});let o=this.config.auth.onRedirectNavigate;this.config.auth.onRedirectNavigate=s=>{let r=typeof o=="function"?o(s):void 0;return i.add({navigateCallbackResult:r!==!1}),i.event=i.end({success:!0},void 0,t.account)||i.event,r};try{Jq(this.initialized,this.config),Xk(this.config.auth.isMcp,t),this.browserStorage.setInteractionInProgress(!0,ka.SIGNIN),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_START,n,Ke.Redirect,t);let s;return this.platformAuthProvider&&this.canUsePlatformBroker(t)?s=new rd(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,wt.acquireTokenRedirect,this.performanceClient,this.platformAuthProvider,this.getNativeAccountId(t),this.nativeInternalStorage,n).acquireTokenRedirect(t,i).catch(a=>{if(a instanceof Pr&&sd(a))return this.platformAuthProvider=void 0,this.createRedirectClient(n).acquireToken(t);if(a instanceof Cn)return this.logger.verbose("1ipyz4",n),this.createRedirectClient(n).acquireToken(t);throw a}):s=this.createRedirectClient(n).acquireToken(t),await s}catch(s){throw this.browserStorage.resetRequestCache(n),i.event.status===2?this.performanceClient.startMeasurement(hP,n).end({success:!1},s,t.account):i.end({success:!1},s,t.account),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ke.Redirect,null,s),s}}acquireTokenPopup(t){let n=this.getRequestCorrelationId(t),i=this.performanceClient.startMeasurement(Xue,n);i.add({scenarioId:t.scenarioId});try{this.logger.verbose("0ch87b",n),MP(this.initialized,i,this.config,t),this.browserStorage.setInteractionInProgress(!0,ka.SIGNIN,t.overrideInteractionInProgress,n)}catch(a){return Promise.reject(a)}let o=this.getAllAccounts();this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_START,n,Ke.Popup,t);let s,r=this.getPreGeneratedPkceCodes(n);return this.canUsePlatformBroker(t)?s=this.acquireTokenNative({...t,correlationId:n},wt.acquireTokenPopup).then(a=>(i.end({success:!0,isNativeBroker:!0},void 0,a.account),a)).catch(a=>{if(a instanceof Pr&&sd(a))return this.platformAuthProvider=void 0,this.createPopupClient(n).acquireToken(t,r);if(a instanceof Cn)return this.logger.verbose("0yy5fw",n),this.createPopupClient(n).acquireToken(t,r);throw a}):s=this.createPopupClient(n).acquireToken(t,r),s.then(a=>{let l=o.length(this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ke.Popup,null,a),i.end({success:!1},a,t.account),Promise.reject(a))).finally(async()=>{this.browserStorage.setInteractionInProgress(!1),this.config.system.navigatePopups||await this.preGeneratePkceCodes(n)})}trackStateChangeWithMeasurement(t){let n=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;n&&(t.type==="visibilitychange"?(this.logger.info("0yzimq",n.event.correlationId),n.increment({visibilityChangeCount:1})):t.type==="online"?(this.logger.info("1caf53",n.event.correlationId),n.increment({onlineStatusChangeCount:1})):t.type==="offline"&&(this.logger.info("0fdyk7",n.event.correlationId),n.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 n=this.getRequestCorrelationId(t),i={...t,prompt:t.prompt,correlationId:n};this.ssoSilentMeasurement=this.performanceClient.startMeasurement(tde,n),this.ssoSilentMeasurement?.add({scenarioId:t.scenarioId}),MP(this.initialized,this.ssoSilentMeasurement,this.config,i),this.ssoSilentMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement);let o=this.getAllAccounts();this.logger.verbose("0w1b45",n),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_START,n,Ke.Silent,i);let s;return this.canUsePlatformBroker(i)?s=this.acquireTokenNative(i,wt.ssoSilent).catch(r=>{if(r instanceof Pr&&sd(r))return this.platformAuthProvider=void 0,this.createSilentIframeClient(i.correlationId).acquireToken(i);throw r}):s=this.createSilentIframeClient(i.correlationId).acquireToken(i),s.then(r=>{let a=o.length{throw this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ke.Silent,null,r),this.ssoSilentMeasurement?.end({success:!1},r,t.account),r}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenByCode(t){let n=this.getRequestCorrelationId(t);this.logger.trace("0ch6ga",n);let i=this.performanceClient.startMeasurement(Zue,n);MP(this.initialized,i,this.config,t),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_START,n,Ke.Silent,t),i.add({scenarioId:t.scenarioId});try{if(t.code&&t.nativeAccountId)throw ge(Tue);if(t.code){let o=t.code,s=this.hybridAuthCodeResponses.get(o);return s?(this.logger.verbose("0qgp28",n),i.discard()):(this.logger.verbose("06eh73",n),s=this.acquireTokenByCodeAsync({...t,correlationId:n}).then(r=>(this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_SUCCESS,n,Ke.Silent,r),this.hybridAuthCodeResponses.delete(o),i.end({success:!0,isNativeBroker:r.fromPlatformBroker,accessTokenSize:r.accessToken.length,idTokenSize:r.idToken.length},void 0,r.account),r)).catch(r=>{throw this.hybridAuthCodeResponses.delete(o),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ke.Silent,null,r),i.end({success:!1},r),r}),this.hybridAuthCodeResponses.set(o,s)),await s}else if(t.nativeAccountId)if(this.canUsePlatformBroker(t,t.nativeAccountId)){let o=await this.acquireTokenNative({...t,correlationId:n},wt.acquireTokenByCode,t.nativeAccountId).catch(s=>{throw s instanceof Pr&&sd(s)&&(this.platformAuthProvider=void 0),s});return i.end({success:!0},void 0,o.account),o}else throw ge(Sue);else throw ge(xue)}catch(o){throw this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ke.Silent,null,o),i.end({success:!1},o),o}}async acquireTokenByCodeAsync(t){let n=this.getRequestCorrelationId(t);return this.logger.trace("10d9hy",n),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(Fce,n),this.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement),await this.createSilentAuthCodeClient(n).acquireToken(t).then(s=>(this.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:s.fromCache,isNativeBroker:s.fromPlatformBroker}),s)).catch(s=>{throw this.acquireTokenByCodeAsyncMeasurement?.end({success:!1},s),s}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenFromCache(t,n){switch(n){case Yi.Default:case Yi.AccessToken:case Yi.AccessTokenAndRefreshToken:let i=this.createSilentCacheClient(t.correlationId);return G(i.acquireToken.bind(i),Sce,this.logger,this.performanceClient,t.correlationId)(t);default:throw te(hi.tokenRefreshRequired)}}async acquireTokenByRefreshToken(t,n){switch(n){case Yi.Default:case Yi.AccessTokenAndRefreshToken:case Yi.RefreshToken:case Yi.RefreshTokenAndNetwork:let i=this.createSilentRefreshClient(t.correlationId);return G(i.acquireToken.bind(i),Ece,this.logger,this.performanceClient,t.correlationId)(t);default:throw te(hi.tokenRefreshRequired)}}async acquireTokenBySilentIframe(t){let n=this.createSilentIframeClient(t.correlationId);return G(n.acquireToken.bind(n),wce,this.logger,this.performanceClient,t.correlationId)(t)}async logoutRedirect(t){let n=this.getRequestCorrelationId(t);return Jq(this.initialized,this.config),this.browserStorage.setInteractionInProgress(!0,ka.SIGNOUT),this.createRedirectClient(n).logout(t)}logoutPopup(t){try{let n=this.getRequestCorrelationId(t);return pP(this.initialized),this.browserStorage.setInteractionInProgress(!0,ka.SIGNOUT),this.createPopupClient(n).logout(t).finally(()=>{this.browserStorage.setInteractionInProgress(!1)})}catch(n){return Promise.reject(n)}}async clearCache(t){if(!this.isBrowserEnvironment)return;let n=this.getRequestCorrelationId(t);return this.createSilentCacheClient(n).logout(t)}getAllAccounts(t){return mde(this.logger,this.browserStorage,this.isBrowserEnvironment,this.getRequestCorrelationId(),t)}getAccount(t){return gde(t,this.logger,this.browserStorage,this.getRequestCorrelationId())}setActiveAccount(t){fde(t,this.browserStorage,this.getRequestCorrelationId())}getActiveAccount(){return hde(this.browserStorage,this.getRequestCorrelationId())}async hydrateCache(t,n){this.logger.verbose("16jycr",t.correlationId);let i=Cr.createAccountEntityFromAccountInfo(t.account,t.cloudGraphHostName,t.msGraphHost);return await this.browserStorage.setAccount(i,t.correlationId,uo.isKmsi(t.idTokenClaims),wt.hydrateCache),t.fromPlatformBroker?(this.logger.verbose("1fxyu8",t.correlationId),this.nativeInternalStorage.hydrateCache(t,n)):this.browserStorage.hydrateCache(t,n)}async acquireTokenNative(t,n,i,o){let s=this.getRequestCorrelationId(t);if(this.logger.trace("0b9y3p",s),!this.platformAuthProvider)throw ge(aP);return new rd(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,n,this.performanceClient,this.platformAuthProvider,i||this.getNativeAccountId(t),this.nativeInternalStorage,s).acquireToken(t,o)}canUsePlatformBroker(t,n){let i=this.getRequestCorrelationId(t);if(this.logger.trace("1n9lbl",i),!this.platformAuthProvider)return this.logger.trace("0vnu11",i),!1;if(!Fc(this.config,this.logger,i,this.platformAuthProvider,t.authenticationScheme))return this.logger.trace("1m4bzf",i),!1;if(t.prompt)switch(t.prompt){case $e.PromptValue.NONE:case $e.PromptValue.CONSENT:case $e.PromptValue.LOGIN:this.logger.trace("0vdv8e",i);break;default:return this.logger.trace("0pdzw6",i),!1}return!n&&!this.getNativeAccountId(t)?(this.logger.trace("16lbtk",i),!1):!0}getNativeAccountId(t){let n=t.account||this.getAccount({loginHint:t.loginHint,sid:t.sid})||this.getActiveAccount();return n&&n.nativeAccountId||""}createPopupClient(t){return new EP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createRedirectClient(t){return new AP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentIframeClient(t){return new PP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,wt.ssoSilent,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentCacheClient(t){return new cb(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentRefreshClient(t){return new IP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentAuthCodeClient(t){return new RP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,wt.acquireTokenByCode,this.performanceClient,t,this.platformAuthProvider)}addEventCallback(t,n){return this.eventHandler.addEventCallback(t,n)}removeEventCallback(t){this.eventHandler.removeEventCallback(t)}addPerformanceCallback(t){return Yq(),this.performanceClient.addPerformanceCallback(t)}removePerformanceCallback(t){return this.performanceClient.removePerformanceCallback(t)}getLogger(){return this.logger}setLogger(t){this.logger=t}initializeWrapperLibrary(t,n){this.browserStorage.setWrapperMetadata(t,n)}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?Us():""}async loginRedirect(t){let n=this.getRequestCorrelationId(t);return this.logger.verbose("0lz9hf",n),this.acquireTokenRedirect({correlationId:n,...t||Mq})}loginPopup(t){let n=this.getRequestCorrelationId(t);return this.logger.verbose("0qw7v5",n),this.acquireTokenPopup({correlationId:n,...t||Mq})}async acquireTokenSilent(t){let n=this.getRequestCorrelationId(t),i=this.performanceClient.startMeasurement(Jue,n);i.add({cacheLookupPolicy:t.cacheLookupPolicy,scenarioId:t.scenarioId}),MP(this.initialized,i,this.config,t),this.logger.verbose("0x1c4s",n);let o=t.account||this.getActiveAccount();if(!o)throw ge(hue);return this.acquireTokenSilentDeduped(t,o,n).then(s=>(i.end({success:!0,fromCache:s.fromCache,isNativeBroker:s.fromPlatformBroker,accessTokenSize:s.accessToken.length,idTokenSize:s.idToken.length},void 0,s.account),{...s,state:t.state,correlationId:n})).catch(s=>{throw s instanceof ot&&s.setCorrelationId(n),i.end({success:!1},s,o),s})}async acquireTokenSilentDeduped(t,n,i){let o=Ac(this.config.auth.clientId,{...t,authority:t.authority||this.config.auth.authority,correlationId:i},n.homeAccountId),s=JSON.stringify(o),r=this.activeSilentTokenRequests.get(s);if(typeof r>"u"){this.logger.verbose("0fcjbk",i),this.performanceClient.addFields({deduped:!1},i);let a=G(this.acquireTokenSilentAsync.bind(this),kce,this.logger,this.performanceClient,i)({...t,correlationId:i},n);return this.activeSilentTokenRequests.set(s,a),a.finally(()=>{this.activeSilentTokenRequests.delete(s)})}else return this.logger.verbose("1yq7nb",i),this.performanceClient.addFields({deduped:!0},i),r}async acquireTokenSilentAsync(t,n){let i=a=>this.trackStateChange(t.correlationId,a);this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_START,t.correlationId,Ke.Silent,t),t.correlationId&&this.performanceClient.incrementFields({visibilityChangeCount:0,onlineStatusChangeCount:0},t.correlationId),this.addStateChangeListeners(i);let o=await G(bde,Pce,this.logger,this.performanceClient,t.correlationId)(t,n,this.config,this.performanceClient,this.logger),s=t.cacheLookupPolicy||Yi.Default;return this.acquireTokenSilentNoIframe(o,s).catch(async a=>{if(rDe(a,s)){let c=`${a.errorCode}${a.subError?`|${a.subError}`:""}`;if(this.performanceClient.addFields({silentRefreshReason:c},t.correlationId),this.activeIframeRequest)if(s!==Yi.Skip){let[u,p]=this.activeIframeRequest;this.logger.verbose("1w8fso",o.correlationId);let m=this.performanceClient.startMeasurement(Cce,o.correlationId);m.add({awaitIframeCorrelationId:p});let g=await u;if(m.end({success:g}),g)return this.logger.verbose("0ywzzi",o.correlationId),this.acquireTokenSilentNoIframe(o,s);throw this.logger.info("17y14q",o.correlationId),a}else return this.logger.warning("1bd4p8",o.correlationId),G(this.acquireTokenBySilentIframe.bind(this),Cq,this.logger,this.performanceClient,o.correlationId)(o);else{let u;return this.activeIframeRequest=[new Promise(p=>{u=p}),o.correlationId],this.logger.verbose("0rh08z",o.correlationId),G(this.acquireTokenBySilentIframe.bind(this),Cq,this.logger,this.performanceClient,o.correlationId)(o).then(p=>(u(!0),p)).catch(p=>{throw u(!1),p}).finally(()=>{this.activeIframeRequest=void 0})}}else throw a}).then(a=>(this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_SUCCESS,t.correlationId,Ke.Silent,a),t.correlationId&&this.performanceClient.addFields({fromCache:a.fromCache,isNativeBroker:a.fromPlatformBroker},t.correlationId),a)).catch(a=>{throw this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,t.correlationId,Ke.Silent,null,a),a}).finally(()=>{this.removeStateChangeListeners(i)})}async acquireTokenSilentNoIframe(t,n){return Fc(this.config,this.logger,t.correlationId,this.platformAuthProvider,t.authenticationScheme)&&t.account.nativeAccountId?(this.logger.verbose("0sczo4",t.correlationId),this.acquireTokenNative(t,wt.acquireTokenSilent_silentFlow,t.account.nativeAccountId,n).catch(async i=>{throw i instanceof Pr&&sd(i)?(this.logger.verbose("07rkmb",t.correlationId),this.platformAuthProvider=void 0,te(hi.tokenRefreshRequired)):i})):(this.logger.verbose("0ox81t",t.correlationId),n===Yi.AccessToken&&this.logger.verbose("0fvwxe",t.correlationId),G(this.acquireTokenFromCache.bind(this),yce,this.logger,this.performanceClient,t.correlationId)(t,n).catch(i=>{if(n===Yi.AccessToken)throw i;return this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_NETWORK_START,t.correlationId,Ke.Silent,t),G(this.acquireTokenByRefreshToken.bind(this),vce,this.logger,this.performanceClient,t.correlationId)(t,n)}))}async preGeneratePkceCodes(t){return this.logger.verbose("1x6uj6",t),this.pkceCode=await G(xa,va,this.logger,this.performanceClient,t)(this.performanceClient,this.logger,t),Promise.resolve()}getPreGeneratedPkceCodes(t){let n=this.pkceCode?{...this.pkceCode}:void 0;return this.pkceCode=void 0,n?this.logger.verbose("12js1o",t):this.logger.verbose("1oe9ci",t),this.performanceClient.addFields({usePreGeneratedPkce:!!n},t),n}logMultipleInstances(t,n){let i=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",n),window.msal.clientIds.push(i),qde(i,t,this.logger,n)}};function rDe(e,t){let n=!(e instanceof Cn&&e.subError!==gl.badToken),i=e.errorCode===ki.INVALID_GRANT_ERROR||e.errorCode===hi.tokenRefreshRequired,o=n&&i||e.errorCode===gl.noTokensFound||e.errorCode===gl.refreshTokenExpired,s=nue.includes(t);return o&&s}var DP=class e{static loggerCallback(t,n){switch(t){case $t.Error:console.error(n);return;case $t.Info:console.info(n);return;case $t.Verbose:console.debug(n);return;case $t.Warning:console.warn(n);return;default:console.log(n);return}}constructor(t){this.browserEnvironment=typeof window<"u",this.config=Dde(t,this.browserEnvironment);let n;try{n=window[Ii.SessionStorage]}catch{}let i=n?.getItem(rde),o=n?.getItem(ade)?.toLowerCase(),s=o==="true"?!0:o==="false"?!1:void 0,r={...this.config.system.loggerOptions},a=i&&Object.keys($t).includes(i)?$t[i]:void 0;a&&(r.loggerCallback=e.loggerCallback,r.logLevel=a),s!==void 0&&(r.piiLoggingEnabled=s),this.logger=new _i(r,ude,qs),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}};var gb=class e extends DP{getModuleName(){return e.MODULE_NAME}getId(){return e.ID}async initialize(t){return this.available=typeof window<"u",this.available}};gb.MODULE_NAME="";gb.ID="StandardOperatingContext";var lx=class{constructor(t,n){this.controller=n||new $P(new gb(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,n){return this.controller.addEventCallback(t,n)}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,n){return this.controller.initializeWrapperLibrary(t,n)}setNavigationClient(t){this.controller.setNavigationClient(t)}getConfiguration(){return this.controller.getConfiguration()}async hydrateCache(t,n){return this.controller.hydrateCache(t,n)}clearCache(t){return this.controller.clearCache(t)}};var Kpt=$e.AuthenticationScheme,Ypt=$e.ResponseMode,Wpt=$e.PromptValue,Jpt=$e.JsonWebTokenTypes,Zpt=$e.OIDC_DEFAULT_SCOPES;async function Hde(e){let t={method:"POST",body:JSON.stringify(e)},n=await M(J($.privacy.cookieConsentDeleteService,t));if(!n.ok)throw new Error(`Cookie Deletion Error ${n.status}: ${n.statusText}`)}var Bde;(function(e){Bde=e()})(function(){let e=function(){let n=0,i={};for(;n"u")return;if(arguments.length>1){if(r=e({path:"/"},i.defaults,r),typeof r.expires=="number"){let m=new Date;m.setMilliseconds(m.getMilliseconds()+r.expires*864e5),r.expires=m}r.expires=r.expires?r.expires.toUTCString():"";try{a=JSON.stringify(s),/^[\{\[]/.test(a)&&(s=a)}catch{}n.write?s=n.write(s,o):s=encodeURIComponent(String(s)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),o=encodeURIComponent(String(o)),o=o.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),o=o.replace(/[\(\)]/g,escape);let p="";for(let m in r)r[m]&&(p+="; "+m,r[m]!==!0&&(p+="="+r[m]));return document.cookie=o+"="+s+p}o||(a={});let l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,u=0;for(;u{let o=performance.now(),s=setInterval(()=>{let r=ls.get(e);r?(clearInterval(s),i(r)):performance.now()-o>=t&&(clearInterval(s),i(null))},200)})}var zde=!!window.matchMedia,fb=window.matchMedia("screen and (min-width: 768px), screen and (min-height: 1024px)"),Ao=window.matchMedia("screen and (min-width: 1088px)"),Ta=window.matchMedia("screen and (min-width: 768px)"),Vde=window.matchMedia("screen and (max-width: 768px)"),Gde=window.matchMedia("print"),Qde=window.matchMedia("(prefers-color-scheme: dark)"),Kde=window.matchMedia("(prefers-contrast: more)");var ad="light",NP={light:{documentClass:"theme-light",name:"light",text:YZ,icon:"docon-sun"},dark:{documentClass:"theme-dark",name:"dark",text:JY,icon:"docon-clear-night"},"high-contrast":{documentClass:"theme-high-contrast",name:"high-contrast",text:vZ,icon:"docon-clear-night"}},aDe=Object.keys(NP),Yde=aDe.map(e=>NP[e].documentClass),yl=class{constructor(t,n){this.currentTheme=t;this.previousTheme=n}};function lDe(e,t,n){e.publish(new yl(t,n)),window.dispatchEvent(new CustomEvent("theme-changed",{detail:{currentTheme:t,previousTheme:n}}))}function cDe(e){let t=document.documentElement.classList;for(let n of Yde)t.remove(n);t.add(NP[e].documentClass)}function uDe(e){return ad=e}function Wde(e){let t=Array.from(document.querySelectorAll(".theme-control[data-theme-to]"));for(let n of t)n.dataset.themeTo===e?(n.classList.add("is-selected"),n.setAttribute("aria-pressed","true")):(n.classList.remove("is-selected"),n.setAttribute("aria-pressed","false"))}function dDe(e){X.setItem("theme",e)}function pDe(e=!1,t=!1){let n=X.getItem("theme");return n&&/^light|dark|high-contrast$/.test(n)?n:t?"high-contrast":e?"dark":"light"}function Jde(e){sH(lt,e)}function sH(e,t){let n=ad;uDe(t),cDe(t),n!==t&&lDe(e,t,n)}async function Zde(e){let t=ld();sH(e,t),mDe(e),await Se,Wde(t),window.setTheme=Jde}function ld(e=Qde.matches){let t=oe();if(t.theme==="light"||t.theme==="dark"||t.theme==="high-contrast")return t.theme;let n=t.checkPrefersContrast==="true"&&Kde.matches;return pDe(e,n)}function mDe(e){window.addEventListener("click",({target:t})=>{let n=t instanceof Element&&t.closest(".theme-control[data-theme-to]");if(!n)return;let i=n.dataset.themeTo;Wde(i),dDe(i),sH(e,i)})}var cx,epe=new Promise(e=>cx=e),Am,Pm=new Promise(e=>Am=e),tpe,npe=()=>tpe,Xde=e=>{for(let t of Object.values(e))if(!t)return!1;return!0};async function ipe(){if(!S.cookieConsent)return;if(S.chromeless){Am(!0),cx();return}let e=()=>ls.get("MSCC")!==void 0,t=H.WcpConsent;if(t===void 0||typeof t.init!="function"){Am(!1);return}await Se;let n=document.getElementById("cookie-consent-holder"),i=Array.from(document.querySelectorAll(".manage-cookies-holder"));if(!n||!i.length){console.log("No container for cookie banner");return}t.init(b.data.userLocale,n,function(o,s){if(o!==void 0){Am(!1);return}if(tpe=s,!s.isConsentRequired){Am(!0),cx();return}let r=document.createElement("button");if(r.setAttribute("data-bi-name","manageCookies"),r.textContent=pX,i.forEach(a=>{a.appendChild(r.cloneNode(!0)).addEventListener("click",()=>{s.manageConsent()}),a.hidden=!1}),n.hidden=!1,Pt(),Xde(s.getConsent())){Am(!0),cx();return}Am(!1)},async function(o){if(Xde(o)){cx(),Za();return}if(await Hde({domain:document.location.hostname,analytics:!o.Analytics,advertising:!o.Advertising,social:!o.SocialMedia}),e()){o.Analytics||(document.cookie="mbox=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=.microsoft.com"),H.location.href=H.location.pathname+H.location.search+H.location.hash;return}Za()},ad)}function ope(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 spe(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 rpe="3PAdsOptOut";var rH=!1;function ape(){let e=T.createElement("div");e.style.cssText="position:absolute;top:0;left:-2300px;background-color:#878787",e.textContent="hc",T.body.appendChild(e);let t=H.getComputedStyle(e).backgroundColor.toLowerCase();T.body.removeChild(e),t!=="#878787"&&t!=="rgb(135, 135, 135)"&&(T.documentElement.className+=" os-high-contrast-enabled theme-high-contrast",rH=!0)}var gDe={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 FP(e){let t=document.querySelectorAll("meta");for(let n=0;nw.isAuthenticated&&(w.authenticationMode==="MSA"||w.tenantId===es),pageViewPageTags:UP,pageActionPageTags:UP,contentUpdatePageTags:UP,pageActionContentTags:UP,userConsentDetailsCallback:upe},advancedConfig:{propertyConfiguration:{gpcDataSharingOptIn:S.thirdPartyDataSharingConsentFlag?hDe():null}},shareAuthStatus:!0,isLoggedIn:!1};FP(n.coreData.pageTags),n.coreData.pageTags.pageTemplate=b.data.pageTemplate,e.init(n),bDe(e)}function UP(){return w.isAuthenticated?{"ext-app-user-id":`c:${w.userId}`}:{}}var cd=new Promise(e=>lpe=e);function hDe(){let e=yDe(),t=_De(),n=!!navigator.globalPrivacyControl,i=ls.get(rpe)==="1";return!(e||t||n||i)}function bDe(e){var n,i;(n=e.sku.config).extensionConfig??(n.extensionConfig={});let t=e.sku.config.extensionConfig;t.SystemPropertiesCollector??(t.SystemPropertiesCollector={}),(i=t.SystemPropertiesCollector).callback??(i.callback={}),t.SystemPropertiesCollector.callback.userConsentDetails=upe}function upe(){return npe()?.getConsent()||null}function _De(){let e=window.self!==window.top,t=!!window.frameElement;return e&&!t}function yDe(e=window.location.hostname){return!e.endsWith(".microsoft.com")}var Ce={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},An={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"},ux={id:"id",name:"name",type:"type",scenario:"scn",scenarioStep:"scnstp",scenarioStepNumber:"subnm"},Uc=e=>{let t=e.closest(`[${An.name}]`);return t?t.getAttribute(An.name):""},dpe=()=>{cd.then(e=>{e.sku.getAuthExtension().signOut()})},ppe=(e,t)=>{cd.then(n=>{let i=n.sku.getAuthExtension();if(!t){i.setAuthType(0);return}i.setAuthType(e==="MSA"?1:e==="AAD"?2:0)})},mpe=e=>{cd.then(t=>t.extendCoreData(e))},Yt=(e,t)=>{cd.then(n=>n.ct.capturePageAction(e,t))},ve=e=>{cd.then(t=>t.ct.captureContentPageAction(e))},gpe=e=>{cd.then(t=>t.ct.captureContentUpdate(e))},OP=e=>{cd.then(t=>t.ct.capturePageView(e||{}))};var qP,HP="undefined",VP="constructor",vl="prototype",GP="function",QP="_dynInstFuncs",cH="_isDynProxy",hb="_dynClass",vDe="_dynCls$",uH="_dynInstChk",dx=uH,ype="_dfOpts",fpe="_unknown_",mH="__proto__",BP="_dyn"+mH,hpe="__dynProto$Gbl",aH="_dynInstProto",jP="useBaseInst",dH="setInstFuncs",WP=Object,px=WP.getPrototypeOf,bpe=WP.getOwnPropertyNames;function kDe(){var e;return typeof globalThis!==HP&&(e=globalThis),!e&&typeof self!==HP&&(e=self),!e&&typeof window!==HP&&(e=window),!e&&typeof global!==HP&&(e=global),e||{}}var _pe=kDe(),pH=_pe[hpe]||(_pe[hpe]={o:(qP={},qP[dH]=!0,qP[jP]=!0,qP),n:1e3});function Oc(e,t){return e&&WP[vl].hasOwnProperty.call(e,t)}function zP(e){return e&&(e===WP[vl]||e===Array[vl])}function gH(e){return zP(e)||e===Function[vl]}function Im(e){var t;if(e){if(px)return px(e);var n=e[mH]||e[vl]||(e[VP]?e[VP][vl]:null);t=e[BP]||n,Oc(e,BP)||(delete e[aH],t=e[BP]=e[aH]||e[BP],e[aH]=n)}return t}function KP(e,t){var n=[];if(bpe)n=bpe(e);else for(var i in e)typeof i=="string"&&Oc(e,i)&&n.push(i);if(n&&n.length>0)for(var o=0;o=0;n--)if(e[n]===t)return!0;return!1}function TDe(e,t,n,i){function o(l,c,u){var p=c[u];if(p[cH]&&i){var m=l[QP]||{};m[dx]!==!1&&(p=(m[c[hb]]||{})[u]||p)}return function(){return p.apply(l,arguments)}}var s=bb();KP(n,function(l){s[l]=o(t,n,l)});for(var r=Im(e),a=[];r&&!gH(r)&&!hH(a,r);)KP(r,function(l){!s[l]&&fH(r,l,!px)&&(s[l]=o(t,r,l))}),a.push(r),r=Im(r);return s}function SDe(e,t,n,i){var o=null;if(e&&Oc(n,hb)){var s=e[QP]||bb();if(o=(s[n[hb]]||bb())[t],o||YP("Missing ["+t+"] "+GP),!o[uH]&&s[dx]!==!1){for(var r=!Oc(e,t),a=Im(e),l=[];r&&a&&!gH(a)&&!hH(l,a);){var c=a[t];if(c){r=c===i;break}l.push(a),a=Im(a)}try{r&&(e[t]=o),o[uH]=1}catch{s[dx]=!1}}}return o}function wDe(e,t,n){var i=t[e];return i===n&&(i=Im(t)[e]),typeof i!==GP&&YP("["+e+"] is not a "+GP),i}function CDe(e,t,n,i,o){function s(l,c){var u=function(){var p=SDe(this,c,l,u)||wDe(c,l,u);return p.apply(this,arguments)};return u[cH]=1,u}if(!zP(e)){var r=n[QP]=n[QP]||bb();if(!zP(r)){var a=r[t]=r[t]||bb();r[dx]!==!1&&(r[dx]=!!o),zP(a)||KP(n,function(l){fH(n,l,!1)&&n[l]!==i[l]&&(a[l]=n[l],delete n[l],(!Oc(e,l)||e[l]&&!e[l][cH])&&(e[l]=s(e,l)))})}}}function EDe(e,t){if(px){for(var n=[],i=Im(t);i&&!gH(i)&&!hH(n,i);){if(i===e)return!0;n.push(i),i=Im(i)}return!1}return!0}function lH(e,t){return Oc(e,vl)?e.name||t||fpe:((e||{})[VP]||{}).name||t||fpe}function pt(e,t,n,i){Oc(e,vl)||YP("theClass is an invalid class definition.");var o=e[vl];EDe(o,t)||YP("["+lH(e)+"] not in hierarchy of ["+lH(t)+"]");var s=null;Oc(o,hb)?s=o[hb]:(s=vDe+lH(e,"_")+"$"+pH.n,pH.n++,o[hb]=s);var r=pt[ype],a=!!r[jP];a&&i&&i[jP]!==void 0&&(a=!!i[jP]);var l=xDe(t),c=TDe(o,t,l,a);n(t,c);var u=!!px&&!!r[dH];u&&i&&(u=!!i[dH]),CDe(o,s,t,l,u!==!1)}pt[ype]=pH.o;var Ir="function",cs="object",us="undefined",Pn="prototype",mx="hasOwnProperty";var Hs=Object,_b=Hs[Pn],yb=Hs.assign,JP=Hs.create,vb=Hs.defineProperty,kl=_b[mx];var vpe=null;function Lr(e){e===void 0&&(e=!0);var t=e===!1?null:vpe;return t||(typeof globalThis!==us&&(t=globalThis),!t&&typeof self!==us&&(t=self),!t&&typeof window!==us&&(t=window),!t&&typeof global!==us&&(t=global),vpe=t),t}function kb(e){throw new TypeError(e)}function xb(e){var t=JP;if(t)return t(e);if(e==null)return{};var n=typeof e;n!==cs&&n!==Ir&&kb("Object prototype may only be an Object:"+e);function i(){}return i[Pn]=e,new i}var Ymt=(Lr()||{}).Symbol,Wmt=(Lr()||{}).Reflect;var PDe=function(e){for(var t,n=1,i=arguments.length;n=i&&!(n=e===t)){for(var s=o-1,r=i-1;r>=0;r--){if(e[s]!=t[r])return!1;s--}n=!0}return n}function Ti(e,t){return e&&t?e[pd](t)!==-1:!1}var Ct=NDe||BDe;function BDe(e){return!!(e&&Rpe[xi](e)==="[object Array]")}function Hm(e){return!!(e&&Rpe[xi](e)==="[object Error]")}function Ge(e){return typeof e=="string"}function xx(e){return typeof e=="number"}function $pe(e){return typeof e=="boolean"}function Epe(e){var t=!1;if(e&&typeof e=="object"){var n=cI?cI(e):AH(e);n?(n[lI]&&kl[xi](n,lI)&&(n=n[lI]),t=typeof n===Ir&&Mpe[xi](n)===FDe):t=!0}return t}function Vs(e){if(e)return DDe?e[Ppe]():jDe(e)}function jDe(e){if(e&&e.getUTCFullYear){var t=function(n){var i=String(n);return i[tt]===1&&(i="0"+i),i};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 De(e,t,n){var i=e[tt];try{for(var o=0;o=0?o:i-Math.abs(o),0);s=3)i=arguments[2];else{for(;s0&&$pe(a)&&(c=a,a=r[u]||{},u++),go(a)||(a={});u=g&&(l[x](y[ud]),i[P]=!0)}else o>=g&&l[x](y[ud]);c(g,y)}},l[kx]=function(g){Bpe("warn",g),m("warning",g)},l[aI]=function(g){Bpe("error",g),m("error",g)},l.resetInternalMessageCount=function(){n=0,i={}},l[vH]=c;function c(g,f){if(!p()){var _=!0,h=r1e+f[Sb];if(i[h]?_=!1:i[h]=!0,_&&(g<=s&&(l.queue[xt](f),n++,m(g===1?"error":"warn",f)),n===r)){var k="Internal events throttle limit per PageView reached for this app.",y=new jc(23,k,!1);l.queue[xt](y),g===1?l[aI](k):l[kx](k)}}}function u(g){o=Gs(g.loggingLevelConsole,0),s=Gs(g.loggingLevelTelemetry,1),r=Gs(g.maxMessageLimit,25),a=Gs(g.enableDebug,Gs(g[yH],!1))}function p(){return n>=r}function m(g,f){var _=QH(t||{});_&&_[Rr]&&_[Rr](g,f)}})}return e.__ieDyn=1,e}();function KH(e){return e||new zm}function ke(e,t,n,i,o,s){s===void 0&&(s=!1),KH(e).throwInternal(t,n,i,o,s)}function Nr(e,t){KH(e)[kx](t)}function YH(e,t,n){KH(e)[vH](t,n)}var Ub="ctx",JH="ParentContextKey",Tx="ChildrenContextKey",a1e=null,Sx=function(){function e(t,n,i){var o=this,s=!1;if(o.start=Di(),o[mo]=t,o[Ea]=i,o[bx]=function(){return!1},Ye(n)){var r;s=$r(o,"payload",function(){return!r&&Ye(n)&&(r=n(),n=null),r})}o[Um]=function(a){return a?a===e[JH]||a===e[Tx]?o[a]:(o[Ub]||{})[a]:null},o[Pa]=function(a,l){if(a)if(a===e[JH])o[a]||(o[bx]=function(){return!0}),o[a]=l;else if(a===e[Tx])o[a]=l;else{var c=o[Ub]=o[Ub]||{};c[a]=l}},o[sI]=function(){var a=0,l=o[Um](e[Tx]);if(Ct(l))for(var c=0;c>>=0),wx=123456789+e&Vm,Cx=987654321-e&Vm,zpe=!0}function c1e(){try{var e=Di()&2147483647;l1e((Math.random()*jpe^e)+e)}catch{}}function Gm(e){var t=0,n=jH()||zH();return n&&n.getRandomValues&&(t=n.getRandomValues(new Uint32Array(1))[0]&Vm),t===0&&Nb()&&(zpe||c1e(),t=eB()&Vm),t===0&&(t=Math.floor(jpe*Math.random()|0)),e||(t>>>=0),t}function eB(e){Cx=36969*(Cx&65535)+(Cx>>16)&Vm,wx=18e3*(wx&65535)+(wx>>16)&Vm;var t=(Cx<<16)+(wx&65535)>>>0&Vm|0;return e||(t>>>=0),t}function zc(e){e===void 0&&(e=22);for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=Gm()>>>0,i=0,o=bt;o[tt]>>=6,i===5&&(n=(Gm()<<2&4294967295|n&3)>>>0,i=0);return o}var Vpe=vb,Gpe="2.8.13",u1e="."+zc(6),d1e=0;function p1e(e,t,n){if(Vpe)try{return Vpe(e,t,{value:n,enumerable:!1,configurable:!0}),!0}catch{}return!1}function Qpe(e){return e[nI]===1||e[nI]===9||!+e[nI]}function m1e(e,t){var n=t[e.id];if(!n){n={};try{Qpe(t)&&(p1e(t,e.id,n)||(t[e.id]=n))}catch{}}return n}function Wi(e,t){return t===void 0&&(t=!1),qm(e+d1e+++(t?"."+Gpe:bt)+u1e)}function yI(e){var t={id:Wi("_aiData-"+(e||bt)+"."+Gpe),accept:function(n){return Qpe(n)},get:function(n,i,o,s){var r=n[t.id];return r?r[qm(i)]:(s&&(r=m1e(t,n),r[qm(i)]=o),o)},kill:function(n,i){if(n&&n[i])try{delete n[i]}catch{}}};return t}var Kpe="toGMTString",Ype="toUTCString",sB="cookie",tB="expires",iB="enabled",Wpe="isCookieUseDisabled",Jpe="disableCookiesUsage",yd="_ckMgr",vI=null,nB=null,Zpe=null,Ex=Qn(),Xpe={},xI={};function g1e(e,t){var n=Qm[yd]||xI[yd];return n||(n=Qm[yd]=Qm(e,t),xI[yd]=n),n}function kI(e){return e?e.isEnabled():!0}function f1e(e){var t=e[tI]=e[tI]||{};if(Ut(t,"domain",e.cookieDomain,PH,de),Ut(t,"path",e.cookiePath||"/",null,de),de(t[iB])){var n=void 0;vn(e[Wpe])||(n=!e[Wpe]),vn(e[Jpe])||(n=!e[Jpe]),t[iB]=n}return t}function ime(e,t){return t&&e&&Ct(e.ignoreCookies)?e.ignoreCookies[pd](t)!==-1:!1}function h1e(e,t){return t&&e&&Ct(e.blockedCookies)&&e.blockedCookies[pd](t)!==-1?!0:ime(e,t)}function Km(e,t){var n;if(e)n=e.getCookieMgr();else if(t){var i=t[tI];i[yd]?n=i[yd]:n=Qm(t)}return n||(n=g1e(t,(e||{})[Mi])),n}function Qm(e,t){var n,i=f1e(e||xI),o=i.path||"/",s=i.domain,r=i[iB]!==!1,a=(n={isEnabled:function(){var l=r&&oB(t),c=xI[yd];return l&&c&&a!==c&&(l=kI(c)),l}},n[hx]=function(l){r=l!==!1},n.set=function(l,c,u,p,m){var g=!1;if(kI(a)&&!h1e(i,l)){var f={},_=Gn(c||bt),h=_[pd](";");if(h!==-1&&(_=Gn(c[Cb](0,h)),f=ome(c[Cb](h+1))),Ut(f,"domain",p||s,Rb,vn),!de(u)){var k=Nb();if(vn(f[tB])){var y=Di(),x=y+u*1e3;if(x>0){var P=new Date;P.setTime(x),Ut(f,tB,eme(P,k?Kpe:Ype)||eme(P,k?Kpe:Ype)||bt,Rb)}}k||Ut(f,"max-age",bt+u,null,vn)}var C=ms();C&&C.protocol==="https:"&&(Ut(f,"secure",null,null,vn),nB===null&&(nB=!rB((Po()||{})[Eb])),nB&&Ut(f,"SameSite","None",null,vn)),Ut(f,"path",m||o,null,vn);var j=i.setCookie||nme;j(l,tme(_,f)),g=!0}return g},n.get=function(l){var c=bt;return kI(a)&&!ime(i,l)&&(c=(i.getCookie||b1e)(l)),c},n.del=function(l,c){var u=!1;return kI(a)&&(u=a.purge(l,c)),u},n.purge=function(l,c){var u,p=!1;if(oB(t)){var m=(u={},u.path=c||"/",u[tB]="Thu, 01 Jan 1970 00:00:01 GMT",u);Nb()||(m["max-age"]="0");var g=i.delCookie||nme;g(l,tme(bt,m)),p=!0}return p},n);return a[yd]=a,a}function oB(e){if(vI===null){vI=!1;try{var t=Ex||{};vI=t[sB]!==void 0}catch(n){ke(e,2,68,"Cannot access document.cookie - "+vt(n),{exception:Ue(n)})}}return vI}function ome(e){var t={};if(e&&e[tt]){var n=Gn(e)[md](";");De(n,function(i){if(i=Gn(i||bt),i){var o=i[pd]("=");o===-1?t[i]=null:t[Gn(i[Cb](0,o))]=Gn(i[Cb](o+1))}})}return t}function eme(e,t){return Ye(e[t])?e[t]():null}function tme(e,t){var n=e||bt;return Et(t,function(i,o){n+="; "+i+(de(o)?bt:"="+o)}),n}function b1e(e){var t=bt;if(Ex){var n=Ex[sB]||bt;Zpe!==n&&(Xpe=ome(n),Zpe=n),t=Gn(Xpe[e]||bt)}return t}function nme(e,t){Ex&&(Ex[sB]=e+"="+t)}function rB(e){return Ge(e)?!!(Ti(e,"CPU iPhone OS 12")||Ti(e,"iPad; CPU OS 12")||Ti(e,"Macintosh; Intel Mac OS X 10_14")&&Ti(e,"Version/")&&Ti(e,"Safari")||Ti(e,"Macintosh; Intel Mac OS X 10_14")&&IH(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Ti(e,"Chrome/5")||Ti(e,"Chrome/6")||Ti(e,"UnrealEngine")&&!Ti(e,"Chrome")||Ti(e,"UCBrowser/12")||Ti(e,"UCBrowser/11")):!1}var dme="on",sme="attachEvent",rme="addEventListener",ame="detachEvent",lme="removeEventListener",aB="events",lB="visibilitychange",CI="pagehide";var pme="unload",mme="beforeunload",gme=Wi("aiEvtPageHide"),fft=Wi("aiEvtPageShow"),_1e=/\.[\.]+/g,y1e=/[\.]+$/,v1e=1,TI=yI("events"),k1e=/^([^.]*)(?:\.(.+)|)/;function cme(e){return e&&e[Aa]?e[Aa](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,bt):e}function cB(e,t){var n;if(t){var i=bt;Ct(t)?(i=bt,De(t,function(s){s=cme(s),s&&(s[0]!=="."&&(s="."+s),i+=s)})):i=cme(t),i&&(i[0]!=="."&&(i="."+i),e=(e||bt)+i)}var o=k1e.exec(e||bt)||[];return n={},n[Sl]=o[1],n.ns=(o[2]||bt).replace(_1e,".").replace(y1e,bt)[md](".").sort().join("."),n}function fme(e,t,n){n===void 0&&(n=!0);var i=TI.get(e,aB,{},n),o=i[t];return o||(o=i[t]=[]),o}function hme(e,t,n,i){e&&t&&t[Sl]&&(e[lme]?e[lme](t[Sl],n,i):e[ame]&&e[ame](dme+t[Sl],n))}function x1e(e,t,n,i){var o=!1;return e&&t&&t[Sl]&&n&&(e[rme]?(e[rme](t[Sl],n,i),o=!0):e[sme]&&(e[sme](dme+t[Sl],n),o=!0)),o}function ume(e,t,n,i){for(var o=t[tt];o--;){var s=t[o];s&&(!n.ns||n.ns===s.evtName.ns)&&(!i||i(s))&&(hme(e,s.evtName,s[oI],s.capture),t[Ca](o,1))}}function T1e(e,t,n){if(t[Sl])ume(e,fme(e,t[Sl]),t,n);else{var i=TI.get(e,aB,{});Et(i,function(o,s){ume(e,s,t,n)}),ps(i)[tt]===0&&TI.kill(e,aB)}}function Ks(e,t){var n;return t?(Ct(t)?n=[e].concat(t):n=[e,t],n=cB("xx",n).ns[md](".")):n=e,n}function Fr(e,t,n,i,o){var s;o===void 0&&(o=!1);var r=!1;if(e)try{var a=cB(t,i);if(r=x1e(e,a,n,o),r&&TI.accept(e)){var l=(s={guid:v1e++,evtName:a},s[oI]=n,s.capture=o,s);fme(e,a.type)[xt](l)}}catch{}return r}function vd(e,t,n,i,o){if(o===void 0&&(o=!1),e)try{var s=cB(t,i),r=!1;T1e(e,s,function(a){return s.ns&&!n||a[oI]===n?(r=!0,!0):!1}),r||hme(e,s,n,o)}catch{}}function bme(e,t,n){var i=!1,o=Qs();o&&(i=Fr(o,e,t,n),i=Fr(o.body,e,t,n)||i);var s=Qn();return s&&(i=Fr(s,e,t,n)||i),i}function _me(e,t,n){var i=Qs();i&&(vd(i,e,t,n),vd(i.body,e,t,n));var o=Qn();o&&vd(o,e,t,n)}function SI(e,t,n,i){var o=!1;return t&&e&&e[tt]>0&&De(e,function(s){s&&(!n||$i(n,s)===-1)&&(o=bme(s,t,i)||o)}),o}function yme(e,t,n,i){var o=!1;return t&&e&&Ct(e)&&(o=SI(e,t,n,i),!o&&n&&n[tt]>0&&(o=SI(e,t,null,i))),o}function wI(e,t,n){e&&Ct(e)&&De(e,function(i){i&&_me(i,t,n)})}function uB(e,t,n){return yme([mme,pme,CI],e,t,n)}function dB(e,t){wI([mme,pme,CI],e,t)}function Ax(e,t,n){function i(r){var a=Qn();e&&a&&a.visibilityState==="hidden"&&e(r)}var o=Ks(gme,n),s=SI([CI],e,t,o);return(!t||$i(t,lB)===-1)&&(s=SI([lB],i,t,o)||s),!s&&t&&(s=Ax(e,null,n)),s}function pB(e,t){var n=Ks(gme,t);wI([CI],e,n),wI([lB],null,n)}function gs(){for(var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=bt,n,i=0;i<4;i++)n=Gm(),t+=e[n&15]+e[n>>4&15]+e[n>>8&15]+e[n>>12&15]+e[n>>16&15]+e[n>>20&15]+e[n>>24&15]+e[n>>28&15];var o=e[8+(Gm()&3)|0];return t[gd](0,8)+t[gd](9,4)+"4"+t[gd](13,3)+o+t[gd](16,3)+t[gd](19,12)}var mB="00",C1e="ff",kme="00000000000000000000000000000000",xme="0000000000000000";function Px(e,t,n){return e&&e[tt]===t&&e!==n?!!e.match(/^[\da-f]*$/):!1}function vme(e,t,n){return Px(e,t)?e:n}function E1e(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[tt]<2;)t="0"+t;return t}function Ix(e,t,n,i){var o;return o={},o[kH]=Px(i,2,C1e)?i:mB,o[_x]=Ym(e)?e:gs(),o.spanId=Wm(t)?t:gs()[gd](0,16),o.traceFlags=n>=0&&n<=255?n:1,o}function Ym(e){return Px(e,32,kme)}function Wm(e){return Px(e,16,xme)}function Lx(e){if(e){var t=E1e(e[yx]);Px(t,2)||(t="01");var n=e[kH]||mB;return n!=="00"&&n!=="ff"&&(n=mB),"".concat(n,"-").concat(vme(e.traceId,32,kme),"-").concat(vme(e.spanId,16,xme),"-").concat(t)}return""}var A1e=yI("plugin");function Vc(e){return A1e.get(e,"state",{},!0)}function EI(e,t){for(var n=[],i=null,o=e[zs](),s;o;){var r=o[Dm]();if(r){i&&Ye(i[dd])&&Ye(r[ds])&&i[dd](r);var a=!1;Ye(r[Bs])?a=r[Bs]():(s=Vc(r),a=s[Bs]),a||n[xt](r),i=r,o=o[zs]()}}De(n,function(l){var c=e[In]();l[Sa](e.getCfg(),c,t,e[zs]()),s=Vc(l),!l[In]&&!s[In]&&(s[In]=c),s[Bs]=!0,delete s[js]})}function AI(e){return e.sort(function(t,n){var i=0;if(n){var o=Ye(n[ds]);Ye(t[ds])?i=o?t[Mr]-n[Mr]:1:o&&(i=-1)}else i=t?1:-1;return i})}function Tme(e){var t={};return{getName:function(){return t[mo]},setName:function(n){e&&e.setName(n),t[mo]=n},getTraceId:function(){return t[_x]},setTraceId:function(n){e&&e.setTraceId(n),Ym(n)&&(t[_x]=n)},getSpanId:function(){return t[rI]},setSpanId:function(n){e&&e.setSpanId(n),Wm(n)&&(t[rI]=n)},getTraceFlags:function(){return t[yx]},setTraceFlags:function(n){e&&e.setTraceFlags(n),t[yx]=n}}}var P1e="TelemetryPluginChain",Sme="_hasRun",wme="_getTelCtx",Cme=0;function I1e(e,t,n){for(;e;){if(e[Dm]()===n)return e;e=e[zs]()}return Cl([n],t[xl]||{},t)}function gB(e,t,n,i){var o=null,s=[];i!==null&&(o=i?I1e(e,n,i):e);var r={_next:l,ctx:{core:function(){return n},diagLog:function(){return La(n,t)},getCfg:function(){return t},getExtCfg:c,getConfig:u,hasNext:function(){return!!o},getNext:function(){return o},setNext:function(m){o=m},iterate:p,onComplete:a}};function a(m,g){for(var f=[],_=2;_0&&(De(g,function(f){try{f.func[xi](f.self,f.args)}catch(_){ke(n[Mi],2,73,"Unexpected Exception during onComplete - "+Ue(_))}}),s=[])}return m}function c(m,g,f){g===void 0&&(g={}),f===void 0&&(f=0);var _;if(t){var h=t[Ab];h&&m&&(_=h[m])}if(!_)_=g;else if(go(g)&&f!==0){var k=$b(!0,g,_);t&&f===2&&Et(g,function(y){if(de(k[y])){var x=t[y];de(x)||(k[y]=x)}}),_=k}return _}function u(m,g,f){f===void 0&&(f=!1);var _,h=c(m,null);return h&&!de(h[g])?_=h[g]:t&&!de(t[g])&&(_=t[g]),de(_)?f:_}function p(m){for(var g;g=r._next();){var f=g[Dm]();f&&m(f)}}return r}function Ji(e,t,n,i){var o=gB(e,t,n,i),s=o.ctx;function r(l){var c=o._next();return c&&c[ds](l,s),!c}function a(l,c){return l===void 0&&(l=null),Ct(l)&&(l=Cl(l,t,n,c)),Ji(l||s[zs](),t,n,c)}return s[ln]=r,s[qc]=a,s}function Ob(e,t,n){var i=t[xl]||{},o=gB(e,i,t,n),s=o.ctx;function r(l){var c=o._next();return c&&c.unload(s,l),!c}function a(l,c){return l===void 0&&(l=null),Ct(l)&&(l=Cl(l,i,t,c)),Ob(l||s[zs](),t,c)}return s[ln]=r,s[qc]=a,s}function Rx(e,t,n){var i=t[xl]||{},o=gB(e,i,t,n),s=o.ctx;function r(l){return s.iterate(function(c){Ye(c[Nm])&&c[Nm](s,l)})}function a(l,c){return l===void 0&&(l=null),Ct(l)&&(l=Cl(l,i,t,c)),Rx(l||s[zs](),t,c)}return s[ln]=r,s[qc]=a,s}function Cl(e,t,n,i){var o=null,s=!i;if(Ct(e)&&e[tt]>0){var r=null;De(e,function(a){if(!s&&i===a&&(s=!0),s&&a&&Ye(a[ds])){var l=L1e(a,t,n);o||(o=l),r&&r._setNext(l),r=l}})}return i&&!o?Cl([i],t,n):o}function L1e(e,t,n){var i=null,o=Ye(e[ds]),s=Ye(e[dd]),r;e?r=e[wa]+"-"+e[Mr]+"-"+Cme++:r="Unknown-0-"+Cme++;var a={getPlugin:function(){return e},getNext:function(){return i},processTelemetry:u,unload:p,update:m,_id:r,_setNext:function(g){i=g}};function l(){var g;return e&&Ye(e[wme])&&(g=e[wme]()),g||(g=Ji(a,t,n)),g}function c(g,f,_,h,k){var y=!1,x=e?e[wa]:P1e,P=g[Sme];return P||(P=g[Sme]={}),g.setNext(i),e&&_d(g[In](),function(){return x+":"+_},function(){P[r]=!0;try{var C=i?i._id:bt;C&&(P[C]=!1),y=f(g)}catch(O){var j=i?P[i._id]:!0;j&&(y=!0),(!i||!j)&&ke(g[Rr](),1,73,"Plugin ["+x+"] failed during "+_+" - "+Ue(O)+", run flags: "+Ue(P))}},h,k),y}function u(g,f){f=f||l();function _(h){if(!e||!o)return!1;var k=Vc(e);return k[js]||k[vx]?!1:(s&&e[dd](i),e[ds](g,h),!0)}c(f,_,"processTelemetry",function(){return{item:g}},!g.sync)||f[ln](g)}function p(g,f){function _(){var h=!1;if(e){var k=Vc(e),y=e[In]||k[In];e&&(!y||y===g.core())&&!k[js]&&(k[In]=null,k[js]=!0,k[Bs]=!1,e[js]&&e[js](g,f)===!0&&(h=!0))}return h}c(g,_,"unload",function(){},f[Ea])||g[ln](f)}function m(g,f){function _(){var h=!1;if(e){var k=Vc(e),y=e[In]||k[In];e&&(!y||y===g.core())&&!k[js]&&e[Nm]&&e[Nm](g,f)===!0&&(h=!0)}return h}c(g,_,"update",function(){},!1)||g[ln](f)}return wl(a)}var Mx=500,R1e="Channel has invalid priority - ";function Eme(e,t,n){t&&Ct(t)&&t[tt]>0&&(t=t.sort(function(i,o){return i[Mr]-o[Mr]}),De(t,function(i){i[Mr]0&&De(c,function(_){if(_&&_.queue[tt]>0){var h=_.chain,k=u[qc](h);k[$m](f),p(k)}else g--}),f()}function o(c,u){var p=u||{reason:0};return i(e,c,function(m){m[ln](p)},function(){c[ln](p)}),!0}function s(c,u){var p=u||{reason:0,isAsync:!1};return i(e,c,function(m){m[ln](p)},function(){c[ln](p),a=!1}),!0}function r(c){var u=null;return e&&e[tt]>0&&De(e,function(p){if(p&&p.queue[tt]>0&&(De(p.queue,function(m){if(m[wa]===c)return u=m,-1}),u))return-1}),u}var a=!1,l={identifier:"ChannelControllerPlugin",priority:Mx,initialize:function(c,u,p,m){a=!0,De(e,function(g){g&&g.queue[tt]>0&&EI(Ji(g.chain,c,u),p)})},isInitialized:function(){return a},processTelemetry:function(c,u){i(e,u||n(),function(p){p[ln](c)},function(){u[ln](c)})},update:o,pause:function(){i(e,n(),function(c){c.iterate(function(u){u.pause&&u.pause()})},null)},resume:function(){i(e,n(),function(c){c.iterate(function(u){u.resume&&u.resume()})},null)},teardown:s,getChannel:r,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 i(e,n(),function(k){k.iterate(function(y){if(y[Tb]){g++;var x=!1;y[Tb](c,function(){x=!0,h()},p)||x||(c&&_==null?_=setTimeout(function(){_=null,h()},m):h())}})},function(){f=!0,h()}),!0},_setQueue:function(c){e=c}};return l}function Pme(e,t,n){var i=[];if(e&&De(e,function(s){return Eme(i,s,n)}),t){var o=[];De(t,function(s){s[Mr]>Mx&&o[xt](s)}),Eme(i,o,n)}return i}function PI(){var e=[];function t(i){i&&e[xt](i)}function n(i,o){De(e,function(s){try{s(i,o)}catch(r){ke(i[Rr](),2,73,"Unexpected error calling unload handler - "+Ue(r))}}),e=[]}return{add:t,run:n}}var kd="getPlugin",Ra=function(){function e(){var t=this,n,i,o,s,r;c(),pt(e,t,function(u){u[Sa]=function(p,m,g,f){l(p,m,f),n=!0},u[js]=function(p,m){var g,f=u[In];if(!f||p&&f!==p[In]())return;var _,h=!1,k=p||Ob(null,f,o&&o[kd]?o[kd]():o),y=m||(g={reason:0},g[Ea]=!1,g);function x(){if(!h){h=!0,s.run(k,m);var P=r;r=[],De(P,function(C){C.rm()}),_===!0&&k[ln](y),c()}}return!u[wb]||u[wb](k,y,x)!==!0?x():_=!0,_},u[Nm]=function(p,m){var g=u[In];if(!g||p&&g!==p[In]())return;var f,_=!1,h=p||Rx(null,g,o&&o[kd]?o[kd]():o),k=m||{reason:0};function y(){_||(_=!0,l(h.getCfg(),h.core(),h[zs]()))}return!u._doUpdate||u._doUpdate(h,k,y)!==!0?y():f=!0,f},u._addHook=function(p){p&&(Ct(p)?r=r.concat(p):r[xt](p))},Mb(u,"_addUnloadCb",function(){return s},"add")}),t[Rr]=function(u){return a(u)[Rr]()},t[Bs]=function(){return n},t.setInitialized=function(u){n=u},t[dd]=function(u){o=u},t[ln]=function(u,p){p?p[ln](u):o&&Ye(o[ds])&&o[ds](u,null)},t._getTelCtx=a;function a(u){u===void 0&&(u=null);var p=u;if(!p){var m=i||Ji(null,{},t[In]);o&&o[kd]?p=m[qc](null,o[kd]):p=m[qc](null,o)}return p}function l(u,p,m){u&&Ut(u,Ab,[],null,de),!m&&p&&(m=p[eI]()[zs]());var g=o;o&&o[kd]&&(g=o[kd]()),t[In]=p,i=Ji(m,u,p,g)}function c(){n=!1,t[In]=null,i=null,o=null,r=[],s=PI()}}return e.__ieDyn=1,e}();var Ime=function(e){Ri(t,e);function t(){var n=e.call(this)||this;n.identifier="TelemetryInitializerPlugin",n.priority=199;var i,o;s(),pt(t,n,function(r,a){r.addTelemetryInitializer=function(l){var c={id:i++,fn:l};o[xt](c);var u={remove:function(){De(o,function(p,m){if(p.id===c.id)return o[Ca](m,1),-1})}};return u},r[ds]=function(l,c){for(var u=!1,p=o[tt],m=0;m0){var F=i;i=[],De(F,function(ne){ce()[ln](ne)})}},O.pollInternalLogs=function(F){return h=F||null,j=!1,C&&(clearInterval(C),C=null),pe(!0)};function pe(F){if(!C&&!j){var ne=F||O[Mi]&&O[Mi].queue[tt]>0;if(ne){var be=Gs(t.diagnosticLogInterval);(!be||!(be>0))&&(be=1e4),C=setInterval(function(){clearInterval(C),C=0,Vt()},be)}}return C}O[_H]=function(){j=!0,C&&(clearInterval(C),C=0,Vt())},Hc(O,function(){return _},["addTelemetryInitializer"]),O.unload=function(F,ne,be){var L;F===void 0&&(F=!0),n||Ln(M1e),f&&Ln(Rme);var K=(L={reason:50},L[Ea]=F,L.flushComplete=!1,L),N=Ob(zt(),O);N[$m](function(){Ee(),ne&&ne(K)},O);function Z(ue){K.flushComplete=ue,f=!0,y.run(N,K),O[_H](),N[ln](K)}Vt(),un(F,Z,6,be)||Z(!1)},O[Dm]=Rt,O.addPlugin=function(F,ne,be,L){if(!F){L&&L(!1),Q($me);return}var K=Rt(F[wa]);if(K&&!ne){L&&L(!1),Q("Plugin ["+F[wa]+"] is already loaded!");return}var N={reason:16};function Z(Le){c[xt](F),N.added=[F],_t(N),L&&L(!0)}if(K){var ue=[K.plugin],Ie={reason:2,isAsync:!!be};fn(ue,Ie,function(Le){Le?(N.removed=ue,N.reason|=32,Z(!0)):L&&L(!1)})}else Z(!1)},O.evtNamespace=function(){return k},O[Tb]=un,O.getTraceCtx=function(F){return P||(P=Tme()),P},O.setTraceCtx=function(F){P=F||null},Mb(O,"addUnloadCb",function(){return y},"add");function Ee(){n=!1,t=$b(!0,{},$1e),O[xl]=t,O[Mi]=new zm(t),O[fx]=[],_=new Ime,i=[],o=null,s=null,r=null,a=null,l=null,u=null,c=[],p=null,m=null,g=null,f=!1,h=null,k=Wi("AIBaseCore",!0),y=PI(),P=null}function ce(){var F=Ji(zt(),t,O);return F[$m](pe),F}function _t(F){var ne=N1e(O[Mi],Mx,c);u=ne[In],l=null;var be=ne.all;if(g=wl(Pme(m,be,O)),p){var L=$i(be,p);L!==-1&&be[Ca](L,1),L=$i(u,p),L!==-1&&u[Ca](L,1),p._setQueue(g)}else p=Ame(g,O);be[xt](p),u[xt](p),O[fx]=AI(be),p[Sa](t,O,be);var K=ce();EI(K,be),O[fx]=wl(AI(u||[])).slice(),F&&D(F)}function Rt(F){var ne,be=null,L=null;return De(O[fx],function(K){if(K[wa]===F&&K!==p&&K!==_)return L=K,-1}),!L&&p&&(L=p.getChannel(F)),L&&(be=(ne={plugin:L},ne[hx]=function(K){Vc(L)[vx]=!K},ne.isEnabled=function(){var K=Vc(L);return!K[js]&&!K[vx]},ne.remove=function(K,N){var Z;K===void 0&&(K=!0);var ue=[L],Ie=(Z={reason:1},Z[Ea]=K,Z);fn(ue,Ie,function(Le){Le&&_t({reason:32,removed:ue}),N&&N(Le)})},ne)),be}function zt(){if(!l){var F=(u||[]).slice();$i(F,_)===-1&&F[xt](_),l=Cl(AI(F),t,O)}return l}function fn(F,ne,be){if(F&&F[tt]>0){var L=Cl(F,t,O),K=Ob(L,O);K[$m](function(){var N=!1,Z=[];De(c,function(Ie,Le){Mme(Ie,F)?N=!0:Z[xt](Ie)}),c=Z;var ue=[];m&&(De(m,function(Ie,Le){var kt=[];De(Ie,function(Bt){Mme(Bt,F)?N=!0:kt[xt](Bt)}),ue[xt](kt)}),m=ue),be&&be(N),pe()}),K[ln](ne)}else be(!1)}function Vt(){if(O[Mi]&&O[Mi].queue){var F=O[Mi].queue.slice(0);O[Mi].queue[tt]=0,De(F,function(ne){var be,L=(be={},be[mo]=h||"InternalMessageId: "+ne[Sb],be.iKey=Gs(t[XP]),be.time=Vs(new Date),be.baseType=jc.dataType,be.baseData={message:ne[ud]},be);O.track(L)})}}function un(F,ne,be,L){return p?p[Tb](F,ne,be||6,L):(ne&&ne(!1),!0)}function Jn(){var F=Gs(t.disableDbgExt);F===!0&&x&&(o[Mm](x),x=null),o&&!x&&F!==!0&&(x=qpe(t),o[Rm](x))}function Mt(){var F=Gs(t.enablePerfMgr);!F&&r&&(r=null),F&&Un(t,TH,D1e)}function Ne(){var F=Un(t,Ab,{});F.NotificationManager=o}function D(F){var ne=Rx(zt(),O);ne[$m](pe),(!O._updateHook||O._updateHook(ne,F)!==!0)&&ne[ln](F)}function Q(F){var ne=O[Mi];ne?(ke(ne,2,73,F),pe()):Ln(F)}})}return e.__ieDyn=1,e}();function II(e,t,n,i){De(e,function(o){if(o&&o[t])if(n)setTimeout(function(){return i(o)},0);else try{i(o)}catch{}})}var Nme=function(){function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;pt(e,this,function(i){i[Rm]=function(o){i.listeners[xt](o)},i[Mm]=function(o){for(var s=$i(i[Fm],o);s>-1;)i.listeners[Ca](s,1),s=$i(i[Fm],o)},i[Pb]=function(o){II(i[Fm],Pb,!0,function(s){s[Pb](o)})},i[fd]=function(o,s){II(i[Fm],fd,!0,function(r){r[fd](o,s)})},i[Ib]=function(o,s){II(i[Fm],Ib,s,function(r){r[Ib](o,s)})},i[hd]=function(o){o&&(n||!o[bx]())&&II(i[Fm],hd,!1,function(s){o[Ea]?setTimeout(function(){return s[hd](o)},0):s[hd](o)})}})}return e.__ieDyn=1,e}();var fB=function(e){Ri(t,e);function t(){var n=e.call(this)||this;return pt(t,n,function(i,o){i[Sa]=function(a,l,c,u){o[Sa](a,l,c||new zm(a),u||new Nme(a))},i.track=function(a){_d(i[Om](),function(){return"AppInsightsCore:track"},function(){a===null&&(r(a),Ln("Invalid telemetry item")),s(a),o.track(a)},function(){return{item:a}},!a.sync)};function s(a){de(a[mo])&&(r(a),Ln("telemetry name required"))}function r(a){var l=i[gx]();l&&l[fd]([a],2)}}),n}return t.__ieDyn=1,t}(Dme);var Fme="_aiHooks",Ume=["req","rsp","hkErr","fnErr"];function bB(e,t){if(e)for(var n=0;n=0&&o<=2&&bB(e,function(s,r){var a=s.cbks,l=a[Ume[o]];if(l){t.ctx=function(){var p=i[r]=i[r]||{};return p};try{l[Tl](t.inst,n)}catch(p){var c=t.err;try{var u=a[Ume[2]];u&&(t.err=p,u[Tl](t.inst,n))}catch{}finally{t.err=c}}}})}function U1e(e){return function(){var t,n=this,i=arguments,o=e.h,s=(t={},t[mo]=e.n,t.inst=n,t.ctx=null,t.set=c,t),r=[],a=l([s],i);s.evt=Rn("event");function l(p,m){return bB(m,function(g){p[xt](g)}),p}function c(p,m){i=l([],i),i[p]=m,a=l([s],i)}hB(o,s,a,r,0);var u=e.f;if(u)try{s.rslt=u[Tl](n,i)}catch(p){throw s.err=p,hB(o,s,a,r,3),p}return hB(o,s,a,r,1),s.rslt}}function _B(e,t,n,i){var o=null;return e&&(uI(e,t)?o=e:n&&(o=_B(AH(e),t,i,!1))),o}function yB(e,t,n){return e?$x(e[Pn],t,n,!1):null}function Ome(e,t,n,i){var o=n&&n[Fme];if(!o){o={i:0,n:t,f:n,h:[]};var s=U1e(o);s[Fme]=o,e[t]=s}var r={id:o.i,cbks:i,rm:function(){var a=this.id;bB(o.h,function(l,c){if(l.id===a)return o.h[Ca](c,1),1})}};return o.i++,o.h[xt](r),r}function $x(e,t,n,i,o){if(i===void 0&&(i=!0),e&&t&&n){var s=_B(e,t,i,o);if(s){var r=s[t];if(typeof r===Ir)return Ome(s,t,r,n)}}return null}function qb(e,t,n,i,o){if(e&&t&&n){var s=_B(e,t,i,o)||e;if(s)return Ome(s,t,s[t],n)}return null}var Ma="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Hb="sampleRate",Bb="ProcessLegacy",Dx="http.method",xd="https://dc.services.visualstudio.com",Gc="/v2/track",Kn="not_specified",LI="iKey";function Jm(e){var t=null;if(Ye(Event))t=new Event(e);else{var n=Qn();n&&n.createEvent&&(t=n.createEvent("Event"),t.initEvent(e,!0,!0))}return t}var Qc="split",mt="length",El="toLowerCase",Nx="ingestionendpoint",$a="toString",RI="removeItem",ni="name",Kc="message",qme="count";var Fx="stringify",Ux="pathname",vB="correlationHeaderExcludePatterns",jb="indexOf";var Zm="exceptions",Ur="parsedStack",fo="properties",ho="measurements",Xm="sizeInBytes",Al="typeName",eg="severityLevel",MI="problemGroup",$I="isManual",kB="CreateFromInterface",tg="assembly",Ox="hasFullStack",qx="level",ng="method",zb="fileName",Vb="line",ig="duration",xB="receivedResponse",og="substring",Hme="sanitizeKeyAndAddUniqueness",Bme="sanitizeException",jme="sanitizeProperties",zme="sanitizeMeasurements";var Hx="";function Or(e,t){return t===void 0&&(t=!1),e==null?t:e.toString()[El]()==="true"}function Ys(e){(isNaN(e)||e<0)&&(e=0),e=Math.round(e);var t=Hx+e%1e3,n=Hx+Math.floor(e/1e3)%60,i=Hx+Math.floor(e/(1e3*60))%60,o=Hx+Math.floor(e/(1e3*60*60))%24,s=Math.floor(e/(1e3*60*60*24));return t=t[mt]===1?"00"+t:t[mt]===2?"0"+t:t,n=n[mt]<2?"0"+n:n,i=i[mt]<2?"0"+i:i,o=o[mt]<2?"0"+o:o,(s>0?s+".":Hx)+o+":"+i+":"+n+"."+t}function TB(e,t,n,i,o){return!o&&Ge(e)&&(e==="Script error."||e==="Script error")}var nn=$H({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 Gb=pI({LocalStorage:0,SessionStorage:1}),W1e=pI({AI:0,AI_AND_W3C:1,W3C:2});var Td=void 0,Sd=void 0;function SB(){return Bx()?DI(Gb.LocalStorage):null}function DI(e){try{if(de(Lr()))return null;var t=new Date()[$a](),n=Rn(e===Gb.LocalStorage?"localStorage":"sessionStorage");n.setItem(t,t);var i=n.getItem(t)!==t;if(n[RI](t),!i)return n}catch{}return null}function wB(){return wd()?DI(Gb.SessionStorage):null}function CB(){Td=!1,Sd=!1}function EB(){Td=Bx(!0),Sd=wd(!0)}function Bx(e){return(e||Td===void 0)&&(Td=!!DI(Gb.LocalStorage)),Td}function AB(e,t){var n=SB();if(n!==null)try{return n.getItem(t)}catch(i){Td=!1,ke(e,2,1,"Browser failed read of local storage. "+vt(i),{exception:Ue(i)})}return null}function PB(e,t,n){var i=SB();if(i!==null)try{return i.setItem(t,n),!0}catch(o){Td=!1,ke(e,2,3,"Browser failed write to local storage. "+vt(o),{exception:Ue(o)})}return!1}function IB(e,t){var n=SB();if(n!==null)try{return n[RI](t),!0}catch(i){Td=!1,ke(e,2,5,"Browser failed removal of local storage item. "+vt(i),{exception:Ue(i)})}return!1}function wd(e){return(e||Sd===void 0)&&(Sd=!!DI(Gb.SessionStorage)),Sd}function Qb(e,t){var n=wB();if(n!==null)try{return n.getItem(t)}catch(i){Sd=!1,ke(e,2,2,"Browser failed read of session storage. "+vt(i),{exception:Ue(i)})}return null}function jx(e,t,n){var i=wB();if(i!==null)try{return i.setItem(t,n),!0}catch(o){Sd=!1,ke(e,2,4,"Browser failed write to session storage. "+vt(o),{exception:Ue(o)})}return!1}function LB(e,t){var n=wB();if(n!==null)try{return n[RI](t),!0}catch(i){Sd=!1,ke(e,2,6,"Browser failed removal of session storage item. "+vt(i),{exception:Ue(i)})}return!1}var fs;function NI(e,t,n){var i=t[mt],o=RB(e,t);if(o[mt]!==i){for(var s=0,r=o;n[r]!==void 0;)s++,r=o[og](0,147)+MB(s);o=r}return o}function RB(e,t){var n;return t&&(t=Gn(t[$a]()),t[mt]>150&&(n=t[og](0,150),ke(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:t},!0))),n||t}function Wt(e,t,n){n===void 0&&(n=1024);var i;return t&&(n=n||1024,t=Gn(t),t.toString()[mt]>n&&(i=t[$a]()[og](0,n),ke(e,2,61,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),i||t}function Pl(e,t){return OI(e,t,2048,66)}function Kb(e,t){var n;return t&&t[mt]>32768&&(n=t[og](0,32768),ke(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function FI(e,t){var n;if(t){var i=""+t;i[mt]>32768&&(n=i[og](0,32768),ke(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0))}return n||t}function bo(e,t){if(t){var n={};Et(t,function(i,o){if(go(o)&&Ia())try{o=Si()[Fx](o)}catch(s){ke(e,2,49,"custom property is not valid",{exception:s},!0)}o=Wt(e,o,8192),i=NI(e,i,n),n[i]=o}),t=n}return t}function _o(e,t){if(t){var n={};Et(t,function(i,o){i=NI(e,i,n),n[i]=o}),t=n}return t}function UI(e,t){return t&&OI(e,t,128,69)[$a]()}function OI(e,t,n,i){var o;return t&&(t=Gn(t),t[mt]>n&&(o=t[og](0,n),ke(e,2,i,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0))),o||t}function MB(e){var t="00"+e;return t.substr(t[mt]-3)}var Vme=(fs={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},fs[Hme]=NI,fs.sanitizeKey=RB,fs.sanitizeString=Wt,fs.sanitizeUrl=Pl,fs.sanitizeMessage=Kb,fs[Bme]=FI,fs[jme]=bo,fs[zme]=_o,fs.sanitizeId=UI,fs.sanitizeInput=OI,fs.padNumber=MB,fs.trim=Gn,fs);var Gme=Qn()||{},Qme=0,J1e=[null,null,null,null,null];function zx(e){var t=Qme,n=J1e,i=n[t];return Gme.createElement?n[t]||(i=n[t]=Gme.createElement("a")):i={host:$B(e,!0)},i.href=e,t++,t>=n[mt]&&(t=0),Qme=t,i}function qI(e){var t,n=zx(e);return n&&(t=n.href),t}function HI(e,t){return e?e.toUpperCase()+" "+t:t}function $B(e,t){var n=BI(e,t)||"";if(n){var i=n.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(i!=null&&i[mt]>3&&Ge(i[2])&&i[2][mt]>0)return i[2]+(i[3]||"")}return n}function BI(e,t){var n=null;if(e){var i=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(i!=null&&i[mt]>2&&Ge(i[2])&&i[2][mt]>0&&(n=i[2]||"",t&&i[mt]>2)){var o=(i[1]||"")[El](),s=i[3]||"";(o==="http"&&s===":80"||o==="https"&&s===":443")&&(s=""),n+=s}}return n}var X1e=[xd+Gc,"https://breeze.aimon.applicationinsights.io"+Gc,"https://dc-int.services.visualstudio.com"+Gc];function sg(e){return $i(X1e,e[El]())!==-1}var Yc={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,n){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e[vB]){for(var i=0;i0},getCorrelationContext:function(e){if(e){var t=Yc.getCorrelationContextValue(e,nn[1]);if(t&&t!==Yc.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var n=e[Qc](","),i=0;i0){var a=zx(t);if(o=a.host,!s)if(a[Ux]!=null){var l=a.pathname[mt]===0?"/":a[Ux];l.charAt(0)!=="/"&&(l="/"+l),r=a[Ux],s=Wt(e,n?n+" "+l:l)}else s=Wt(e,t)}else o=i,s=i;return{target:o,name:s,data:r}}function Yb(){var e=Dr();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return Di()}function wi(e,t){var n=null;return e!==0&&t!==0&&!de(e)&&!de(t)&&(n=t-e),n}function rg(e,t){var n=e||{};return{getName:function(){return n[ni]},setName:function(i){t&&t.setName(i),n[ni]=i},getTraceId:function(){return n.traceID},setTraceId:function(i){t&&t.setTraceId(i),Ym(i)&&(n.traceID=i)},getSpanId:function(){return n.parentID},setSpanId:function(i){t&&t.setSpanId(i),Wm(i)&&(n.parentID=i)},getTraceFlags:function(){return n.traceFlags},setTraceFlags:function(i){t&&t.setTraceFlags(i),n.traceFlags=i}}}var eNe=";",tNe="=";function DB(e){if(!e)return{};var t=e[Qc](eNe),n=LH(t,function(o,s){var r=s[Qc](tNe);if(r[mt]===2){var a=r[0][El](),l=r[1];o[a]=l}return o},{});if(ps(n)[mt]>0){if(n.endpointsuffix){var i=n.location?n.location+".":"";n[Nx]=n[Nx]||"https://"+i+"dc."+n.endpointsuffix}n[Nx]=n[Nx]||xd}return n}var jI=function(){function e(t,n,i){var o=this,s=this;s.ver=1,s.sampleRate=100,s.tags={},s[ni]=Wt(t,i)||Kn,s.data=n,s.time=Vs(new Date),s.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return o.sampleRate===100?4:1},tags:1,data:1}}return e}();var Ws=function(){function e(t,n,i,o){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var s=this;s.ver=2,s[ni]=Wt(t,n)||Kn,s[fo]=bo(t,i),s[ho]=_o(t,o)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Event",e.dataType="EventData",e}();var nNe="",Wb="error",hs="stack",FB="stackDetails",Yme="errorSrc",UB="message",Zme="description";function OB(e,t){var n=e;return n&&!Ge(n)&&(JSON&&JSON[Fx]?(n=JSON[Fx](e),t&&(!n||n==="{}")&&(Ye(e[$a])?n=e[$a]():n=""+e)):n=""+e+" - (Missing JSON.stringify)"),n||""}function Xme(e,t){var n=e;return e&&(n&&!Ge(n)&&(n=e[UB]||e[Zme]||n),n&&!Ge(n)&&(n=OB(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),t&&t!=="String"&&t!=="Object"&&t!=="Error"&&(n||"")[jb](t)===-1&&(n=t+": "+n),n||""}function iNe(e){try{if(go(e))return"hasFullStack"in e&&"typeName"in e}catch{}return!1}function oNe(e){try{if(go(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch{}return!1}function Wme(e){return e&&e.src&&Ge(e.src)&&e.obj&&Ct(e.obj)}function ag(e){var t=e||"";Ge(t)||(Ge(t[hs])?t=t[hs]:t=""+t);var n=t[Qc](` `);return{src:t,obj:n}}function sNe(e){for(var t=[],n=e[Qc](` `),i=0;i0){t=[];var i=0,o=0;De(n,function(f){var _=f[$a]();if(qB.regex.test(_)){var h=new qB(_,i++);o+=h[Xm],t.push(h)}});var s=32*1024;if(o>s)for(var r=0,a=t[mt]-1,l=0,c=r,u=a;rs){var g=u-c+1;t.splice(c,g);break}c=r,u=a,r++,a--}}return t}function zI(e){var t="";if(e&&(t=e.typeName||e[ni]||"",!t))try{var n=/function (.{1,200})\(/,i=n.exec(e.constructor[$a]());t=i&&i[mt]>1?i[1]:""}catch{}return t}function NB(e){if(e)try{if(!Ge(e)){var t=zI(e),n=OB(e,!1);return(!n||n==="{}")&&(e[Wb]&&(e=e[Wb],t=zI(e)),n=OB(e,!0)),n[jb](t)!==0&&t!=="String"?t+":"+n:n}}catch{}return""+(e||"")}var Zi=function(){function e(t,n,i,o,s,r){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,oNe(n)?(a[Zm]=n[Zm]||[],a[fo]=n[fo],a[ho]=n[ho],n[eg]&&(a[eg]=n[eg]),n.id&&(a.id=n.id),n[MI]&&(a[MI]=n[MI]),de(n[$I])||(a[$I]=n[$I])):(i||(i={}),a[Zm]=[new Jme(t,n,i)],a[fo]=bo(t,i),a[ho]=_o(t,o),s&&(a[eg]=s),r&&(a.id=r))}return e.CreateAutoException=function(t,n,i,o,s,r,a,l){var c,u=zI(s||r||t);return c={},c[Kc]=Xme(t,u),c.url=n,c.lineNumber=i,c.columnNumber=o,c.error=NB(s||r||t),c.evt=NB(r||t),c[Al]=u,c.stackDetails=ege(a||s||r),c.errorSrc=l,c},e.CreateFromInterface=function(t,n,i,o){var s=n[Zm]&&Bm(n[Zm],function(a){return Jme[kB](t,a)}),r=new e(t,Vn(Vn({},n),{exceptions:s}),i,o);return r},e.prototype.toInterface=function(){var t,n=this,i=n.exceptions,o=n.properties,s=n.measurements,r=n.severityLevel,a=n.problemGroup,l=n.id,c=n.isManual,u=i instanceof Array&&Bm(i,function(p){return p.toInterface()})||void 0;return t={ver:"4.0"},t[Zm]=u,t.severityLevel=r,t.properties=o,t.measurements=s,t.problemGroup=a,t.id=l,t.isManual=c,t},e.CreateSimpleException=function(t,n,i,o,s,r){var a;return{exceptions:[(a={},a[Ox]=!0,a.message=t,a.stack=s,a.typeName=n,a)]}},e.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",e.dataType="ExceptionData",e.formatError=NB,e}();var Jme=function(){function e(t,n,i){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var o=this;if(iNe(n))o[Al]=n[Al],o[Kc]=n[Kc],o[hs]=n[hs],o[Ur]=n[Ur]||[],o[Ox]=n[Ox];else{var s=n,r=s&&s.evt;Hm(s)||(s=s[Wb]||r||s),o[Al]=Wt(t,zI(s))||Kn,o[Kc]=Kb(t,Xme(n||s,o[Al]))||Kn;var a=n[FB]||ege(n);o[Ur]=aNe(a),Ct(o[Ur])&&Bm(o[Ur],function(l){return l[tg]=Wt(t,l[tg])}),o[hs]=FI(t,rNe(a)),o.hasFullStack=Ct(o.parsedStack)&&o.parsedStack[mt]>0,i&&(i[Al]=i[Al]||o[Al])}}return e.prototype.toInterface=function(){var t,n=this,i=n[Ur]instanceof Array&&Bm(n[Ur],function(s){return s.toInterface()}),o=(t={id:n.id,outerId:n.outerId,typeName:n[Al],message:n[Kc],hasFullStack:n[Ox],stack:n[hs]},t[Ur]=i||void 0,t);return o},e.CreateFromInterface=function(t,n){var i=n[Ur]instanceof Array&&Bm(n[Ur],function(s){return qB[kB](s)})||n[Ur],o=new e(t,Vn(Vn({},n),{parsedStack:i}));return o},e}();var qB=function(){function e(t,n){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var i=this;if(i[Xm]=0,typeof t=="string"){var o=t;i[qx]=n,i[ng]=nNe,i[tg]=Gn(o),i[zb]="",i[Vb]=0;var s=o.match(e.regex);s&&s[mt]>=5&&(i[ng]=Gn(s[2])||i[ng],i[zb]=Gn(s[4]),i[Vb]=parseInt(s[5])||0)}else i[qx]=t[qx],i[ng]=t[ng],i[tg]=t[tg],i[zb]=t[zb],i[Vb]=t[Vb],i[Xm]=0;i.sizeInBytes+=i.method[mt],i.sizeInBytes+=i.fileName[mt],i.sizeInBytes+=i.assembly[mt],i[Xm]+=e.baseSize,i.sizeInBytes+=i.level.toString()[mt],i.sizeInBytes+=i.line.toString()[mt]}return e.CreateFromInterface=function(t){return new e(t,null)},e.prototype.toInterface=function(){var t=this;return{level:t[qx],method:t[ng],assembly:t[tg],fileName:t[zb],line:t[Vb]}},e.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,e.baseSize=58,e}();var tge=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 Js=function(){function e(t,n,i,o,s,r,a,l,c){this.aiDataContract={ver:1,metrics:1,properties:0};var u=this;u.ver=2;var p=new tge;p[qme]=o>0?o:void 0,p.max=isNaN(r)||r===null?void 0:r,p.min=isNaN(s)||s===null?void 0:s,p[ni]=Wt(t,n)||Kn,p.value=i,p.stdDev=isNaN(a)||a===null?void 0:a,u.metrics=[p],u[fo]=bo(t,l),u[ho]=_o(t,c)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",e.dataType="MetricData",e}();var Io=function(){function e(t,n,i,o,s,r,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=UI(t,a),l.url=Pl(t,i),l[ni]=Wt(t,n)||Kn,isNaN(o)||(l[ig]=Ys(o)),l[fo]=bo(t,s),l[ho]=_o(t,r)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",e.dataType="PageviewData",e}();var Zs=function(){function e(t,n,i,o,s,r,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=n,g[ig]=Ys(s),g.success=r,g.resultCode=a+"",g.type=Wt(t,c);var f=Kme(t,i,l,o);g.data=Pl(t,o)||f.data,g.target=Wt(t,f.target),u&&(g.target="".concat(g.target," | ").concat(u)),g[ni]=Wt(t,f[ni]),g[fo]=bo(t,p),g[ho]=_o(t,m)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",e.dataType="RemoteDependencyData",e}();var Da=function(){function e(t,n,i,o,s){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var r=this;r.ver=2,n=n||Kn,r[Kc]=Kb(t,n),r[fo]=bo(t,o),r[ho]=_o(t,s),i&&(r[eg]=i)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Message",e.dataType="MessageData",e}();var Na=function(){function e(t,n,i,o,s,r,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=Pl(t,i),l[ni]=Wt(t,n)||Kn,l[fo]=bo(t,s),l[ho]=_o(t,r),a&&(l.domProcessing=a.domProcessing,l[ig]=a[ig],l.networkConnect=a.networkConnect,l.perfTotal=a.perfTotal,l[xB]=a[xB],l.sentRequest=a.sentRequest)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",e.dataType="PageviewPerformanceData",e}();var Il=function(){function e(t,n){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=n}return e}();function Ed(e){var t="ai."+e+".";return function(n){return t+n}}var Vx=Ed("application"),Ci=Ed("device"),VI=Ed("location"),Jb=Ed("operation"),HB=Ed("session"),Cd=Ed("user"),lg=Ed("cloud"),Gx=Ed("internal"),Zb=function(e){Ri(t,e);function t(){return e.call(this)||this}return t}(MH({applicationVersion:Vx("ver"),applicationBuild:Vx("build"),applicationTypeId:Vx("typeId"),applicationId:Vx("applicationId"),applicationLayer:Vx("layer"),deviceId:Ci("id"),deviceIp:Ci("ip"),deviceLanguage:Ci("language"),deviceLocale:Ci("locale"),deviceModel:Ci("model"),deviceFriendlyName:Ci("friendlyName"),deviceNetwork:Ci("network"),deviceNetworkName:Ci("networkName"),deviceOEMName:Ci("oemName"),deviceOS:Ci("os"),deviceOSVersion:Ci("osVersion"),deviceRoleInstance:Ci("roleInstance"),deviceRoleName:Ci("roleName"),deviceScreenResolution:Ci("screenResolution"),deviceType:Ci("type"),deviceMachineName:Ci("machineName"),deviceVMName:Ci("vmName"),deviceBrowser:Ci("browser"),deviceBrowserVersion:Ci("browserVersion"),locationIp:VI("ip"),locationCountry:VI("country"),locationProvince:VI("province"),locationCity:VI("city"),operationId:Jb("id"),operationName:Jb("name"),operationParentId:Jb("parentId"),operationRootId:Jb("rootId"),operationSyntheticSource:Jb("syntheticSource"),operationCorrelationVector:Jb("correlationVector"),sessionId:HB("id"),sessionIsFirst:HB("isFirst"),sessionIsNew:HB("isNew"),userAccountAcquisitionDate:Cd("accountAcquisitionDate"),userAccountId:Cd("accountId"),userAgent:Cd("userAgent"),userId:Cd("id"),userStoreRegion:Cd("storeRegion"),userAuthUserId:Cd("authUserId"),userAnonymousUserAcquisitionDate:Cd("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Cd("authUserAcquisitionDate"),cloudName:lg("name"),cloudRole:lg("role"),cloudRoleVer:lg("roleVer"),cloudRoleInstance:lg("roleInstance"),cloudEnvironment:lg("environment"),cloudLocation:lg("location"),cloudDeploymentUnit:lg("deploymentUnit"),internalNodeName:Gx("nodeName"),internalSdkVersion:Gx("sdkVersion"),internalAgentVersion:Gx("agentVersion"),internalSnippet:Gx("snippet"),internalSdkSrc:Gx("sdkSrc")}));function qr(e,t,n,i,o,s){var r;n=Wt(i,n)||Kn,(de(e)||de(t)||de(n))&&Ln("Input doesn't contain all required fields");var a="";e[LI]&&(a=e[LI],delete e[LI]);var l=(r={},r[ni]=n,r.time=Vs(new Date),r.iKey=a,r.ext=s||{},r.tags=[],r.data={},r.baseType=t,r.baseData=e,r);return de(o)||Et(o,function(c,u){l.data[c]=u}),l}var nge=function(){function e(){}return e.create=qr,e}();var Xi={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},on=new Zb;var Ad="AppInsightsPropertiesPlugin",Qx="AppInsightsChannelPlugin",BB="ApplicationInsightsAnalytics";var Kx="toString",GI="disableExceptionTracking",Yx="autoTrackPageVisitTime",QI="overridePageViewDuration",KI="enableUnhandledPromiseRejectionTracking",Wx="samplingPercentage",Jx="isStorageUseDisabled",Zx="isBrowserLinkTrackingEnabled",YI="enableAutoRouteTracking",WI="namePrefix",JI="disableFlushOnBeforeUnload";var Ni="core",Wc="dataType",Pd="envelopeType",bs="diagLog",Id="track",Xb="trackPageView",Xx="trackPreviousPageVisit",Jc="sendPageViewInternal",eT="sendPageViewPerformanceInternal",e_="populatePageViewPerformanceEvent",Ld="href",jB="sendExceptionInternal",ZI="exception",t_="error",XI="_onerror",eL="errorSrc",tL="lineNumber",nL="columnNumber",zB="message",iL="CreateAutoException",tT="addTelemetryInitializer",Ll="duration",Rd="length",oL="isPerformanceTimingSupported",sL="getPerformanceTiming",n_="navigationStart",nT="shouldCollectDuration",rL="isPerformanceTimingDataReady",ige="getEntriesByType",i_="responseStart",oge="requestStart",iT="loadEventEnd",aL="responseEnd",oT="connectEnd",VB="pageVisitStartTime";var lL=null;function pNe(){if(lL==null)try{lL=!!(self&&self instanceof WorkerGlobalScope)}catch{lL=!1}return lL}var sge=function(){function e(t,n,i,o){pt(e,this,function(s){var r=null,a=[],l=!1,c;i&&(c=i.logger);function u(g){i&&i.flush(g)}function p(){r||(r=setTimeout(function(){r=null;var g=a.slice(0),f=!1;a=[],De(g,function(_){_()?f=!0:a.push(_)}),a[Rd]>0&&p(),f&&u(!0)},100))}function m(g){a.push(g),p()}s[Xb]=function(g,f){var _=g.name;if(de(_)||typeof _!="string"){var h=Qn();_=g.name=h&&h.title||""}var k=g.uri;if(de(k)||typeof k!="string"){var y=ms();k=g.uri=y&&y[Ld]||""}if(!o[oL]()){t[Jc](g,f),u(!0),pNe()||ke(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 x=!1,P,C=o[sL]()[n_];C>0&&(P=wi(C,+new Date),o[nT](P)||(P=void 0));var j;!de(f)&&!de(f[Ll])&&(j=f[Ll]),(n||!isNaN(j))&&(isNaN(j)&&(f||(f={}),f[Ll]=P),t[Jc](g,f),u(!0),x=!0);var O=6e4;f||(f={}),m(function(){var pe=!1;try{if(o[rL]()){pe=!0;var Ee={name:_,uri:k};o[e_](Ee),!Ee.isValid&&!x?(f[Ll]=P,t[Jc](g,f)):(x||(f[Ll]=Ee.durationMs,t[Jc](g,f)),l||(t[eT](Ee,f),l=!0))}else C>0&&wi(C,+new Date)>O&&(pe=!0,x||(f[Ll]=O,t[Jc](g,f)))}catch(ce){ke(c,1,38,"trackPageView failed on page load calculation: "+vt(ce),{exception:Ue(ce)})}return pe})},s.teardown=function(g,f){if(r){clearTimeout(r),r=null;var _=a.slice(0),h=!1;a=[],De(_,function(k){k()&&(h=!0)})}}})}return e.__ieDyn=1,e}();var mNe=36e5,rge=["googlebot","adsbot-google","apis-google","mediapartners-google"];function lge(){var e=Dr();return e&&!!e.timing}function gNe(){var e=Dr();return e&&e.getEntriesByType&&e.getEntriesByType("navigation")[Rd]>0}function fNe(){var e=Dr(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t[n_]>0&&t[i_]>0&&t[oge]>0&&t[iT]>0&&t[aL]>0&&t[oT]>0&&t.domLoading>0}function age(){return lge()?Dr().timing:null}function hNe(){return gNe()?Dr()[ige]("navigation")[0]:null}function bNe(){for(var e=[],t=0;t=mNe)return!1;return!0}var cge=function(){function e(t){var n=this,i=La(t);pt(e,this,function(o){o[e_]=function(s){s.isValid=!1;var r=hNe(),a=age(),l=0,c=0,u=0,p=0,m=0;(r||a)&&(r?(l=r[Ll],c=r.startTime===0?r[oT]:wi(r.startTime,r[oT]),u=wi(r.requestStart,r[i_]),p=wi(r[i_],r[aL]),m=wi(r.responseEnd,r[iT])):(l=wi(a[n_],a[iT]),c=wi(a[n_],a[oT]),u=wi(a.requestStart,a[i_]),p=wi(a[i_],a[aL]),m=wi(a.responseEnd,a[iT])),l===0?ke(i,2,10,"error calculating page view performance.",{total:l,network:c,request:u,response:p,dom:m}):n[nT](l,c,u,p,m)?l=100)&&(e[Wx]=100),e[Jx]=Or(e[Jx]),e[Zx]=Or(e[Zx]),e[YI]=Or(e[YI]),e[WI]=e[WI]||"",e.enableDebug=Or(e.enableDebug),e[JI]=Or(e[JI]),e.disableFlushOnUnload=Or(e.disableFlushOnUnload,e[JI]),e}function kNe(e){vn(e[Jx])||(e[Jx]?CB():EB())}var cL=function(e){Ri(t,e);function t(){var n=e.call(this)||this;n.identifier=BB,n.priority=180,n.autoRoutePVDelay=500;var i,o,s,r,a,l,c,u,p,m,g,f,_,h,k=0,y,x,P;return pt(t,n,function(C,j){var O=j._addHook;Ne(),C.getCookieMgr=function(){return Km(C[Ni])},C.processTelemetry=function(D,Q){C.processNext(D,Q)},C.trackEvent=function(D,Q){try{var F=qr(D,Ws[Wc],Ws[Pd],C[bs](),Q);C[Ni][Id](F)}catch(ne){Mt(2,39,"trackTrace failed, trace will not be collected: "+vt(ne),{exception:Ue(ne)})}},C.startTrackEvent=function(D){try{i.start(D)}catch(Q){Mt(1,29,"startTrackEvent failed, event will not be collected: "+vt(Q),{exception:Ue(Q)})}},C.stopTrackEvent=function(D,Q,F){try{i.stop(D,void 0,Q,F)}catch(ne){Mt(1,30,"stopTrackEvent failed, event will not be collected: "+vt(ne),{exception:Ue(ne)})}},C.trackTrace=function(D,Q){try{var F=qr(D,Da[Wc],Da[Pd],C[bs](),Q);C[Ni][Id](F)}catch(ne){Mt(2,39,"trackTrace failed, trace will not be collected: "+vt(ne),{exception:Ue(ne)})}},C.trackMetric=function(D,Q){try{var F=qr(D,Js[Wc],Js[Pd],C[bs](),Q);C[Ni][Id](F)}catch(ne){Mt(1,36,"trackMetric failed, metric will not be collected: "+vt(ne),{exception:Ue(ne)})}},C[Xb]=function(D,Q){try{var F=D||{};s[Xb](F,Vn(Vn(Vn({},F.properties),F.measurements),Q)),C.config[Yx]&&a[Xx](F.name,F.uri)}catch(ne){Mt(1,37,"trackPageView failed, page view will not be collected: "+vt(ne),{exception:Ue(ne)})}},C[Jc]=function(D,Q,F){var ne=Qn();ne&&(D.refUri=D.refUri===void 0?ne.referrer:D.refUri);var be=qr(D,Io[Wc],Io[Pd],C[bs](),Q,F);C[Ni][Id](be),k=0},C[eT]=function(D,Q,F){var ne=qr(D,Na[Wc],Na[Pd],C[bs](),Q,F);C[Ni][Id](ne)},C.trackPageViewPerformance=function(D,Q){var F=D||{};try{r[e_](F),C[eT](F,Q)}catch(ne){Mt(1,37,"trackPageViewPerformance failed, page view will not be collected: "+vt(ne),{exception:Ue(ne)})}},C.startTrackPage=function(D){try{if(typeof D!="string"){var Q=Qn();D=Q&&Q.title||""}o.start(D)}catch(F){Mt(1,31,"startTrackPage failed, page view may not be collected: "+vt(F),{exception:Ue(F)})}},C.stopTrackPage=function(D,Q,F,ne){try{if(typeof D!="string"){var be=Qn();D=be&&be.title||""}if(typeof Q!="string"){var L=ms();Q=L&&L[Ld]||""}o.stop(D,Q,F,ne),C.config[Yx]&&a[Xx](D,Q)}catch(K){Mt(1,32,"stopTrackPage failed, page view will not be collected: "+vt(K),{exception:Ue(K)})}},C[jB]=function(D,Q,F){var ne=D&&(D[ZI]||D[t_])||Hm(D)&&D||{name:D&&typeof D,message:D||Kn};D=D||{};var be=new Zi(C[bs](),ne,D.properties||Q,D.measurements,D.severityLevel,D.id).toInterface(),L=qr(be,Zi[Wc],Zi[Pd],C[bs](),Q,F);C[Ni][Id](L)},C.trackException=function(D,Q){D&&!D[ZI]&&D[t_]&&(D[ZI]=D[t_]);try{C[jB](D,Q)}catch(F){Mt(1,35,"trackException failed, exception will not be collected: "+vt(F),{exception:Ue(F)})}},C[XI]=function(D){var Q=D&&D[t_],F=D&&D.evt;try{if(!F){var ne=Qs();ne&&(F=ne[yNe])}var be=D&&D.url||(Qn()||{}).URL,L=D[eL]||"window.onerror@"+be+":"+(D[tL]||0)+":"+(D[nL]||0),K={errorSrc:L,url:be,lineNumber:D[tL]||0,columnNumber:D[nL]||0,message:D[zB]};TB(D.message,D.url,D.lineNumber,D.columnNumber,D[t_])?Rt(Zi[iL]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",be,D[tL]||0,D[nL]||0,Q,F,null,L),K):(D[eL]||(D[eL]=L),C.trackException({exception:D,severityLevel:3},K))}catch(Z){var N=Q?Q.name+", "+Q[zB]:"null";Mt(1,11,"_onError threw exception while logging error, error will not be collected: "+vt(Z),{exception:Ue(Z),errorString:N})}},C[tT]=function(D){if(C[Ni])return C[Ni][tT](D);l||(l=[]),l.push(D)},C.initialize=function(D,Q,F,ne){if(!C.isInitialized()){de(Q)&&Ln("Error initializing"),j.initialize(D,Q,F,ne);try{P=Ks(Wi(C.identifier),Q.evtNamespace&&Q.evtNamespace()),l&&(De(l,function(L){Q[tT](L)}),l=null);var be=pe(D);kNe(be),r=new cge(C[Ni]),s=new sge(n,be[QI],C[Ni],r),a=new uge(C[bs](),function(L,K,N){return ce(L,K,N)}),Ee(be,D),i=new GB(C[bs](),"trackEvent"),i.action=function(L,K,N,Z,ue){Z||(Z={}),ue||(ue={}),Z.duration=N[Kx](),C.trackEvent({name:L,properties:Z,measurements:ue})},o=new GB(C[bs](),"trackPageView"),o.action=function(L,K,N,Z,ue){de(Z)&&(Z={}),Z.duration=N[Kx]();var Ie={name:L,uri:K,properties:Z,measurements:ue};C[Jc](Ie,Z)},Bc()&&(zt(be),fn(be))}catch(L){throw C.setInitialized(!1),L}}},C._doTeardown=function(D,Q){s&&s.teardown(D,Q),vd(window,null,null,P),Ne()};function pe(D){var Q=Ji(null,D,C[Ni]),F=C.identifier,ne=mge(D),be=C.config=Q.getExtCfg(F);return ne!==void 0&&Et(ne,function(L,K){be[L]=Q.getConfig(F,L,K),be[L]===void 0&&(be=K)}),be}function Ee(D,Q){c=D[Zx]||Q[Zx],_t()}function ce(D,Q,F){var ne={PageName:D,PageUrl:Q};C.trackMetric({name:"PageVisitTime",average:F,max:F,min:F,sampleCount:1},ne)}function _t(){if(!u&&c){var D=["/browserLinkSignalR/","/__browserLink/"],Q=function(F){if(c&&F.baseType===Zs[Wc]){var ne=F.baseData;if(ne){for(var be=0;be=0)return!1}}return!0};C[tT](Q),u=!0}}function Rt(D,Q){var F=qr(D,Zi[Wc],Zi[Pd],C[bs](),Q);C[Ni][Id](F)}function zt(D){var Q=Qs(),F=ms(!0);g=D[GI],!g&&!f&&!D.autoExceptionInstrumented&&(O(qb(Q,"onerror",{ns:P,rsp:function(ne,be,L,K,N,Z){!g&&ne.rslt!==!0&&C[XI](Zi[iL](be,L,K,N,Z,ne.evt))}},!1)),f=!0),Jn(D,Q,F)}function fn(D){var Q=Qs(),F=ms(!0);if(p=D[YI]===!0,Q&&p&&gI()){var ne=HH();Ye(ne.pushState)&&Ye(ne.replaceState)&&typeof Event!==us&&un(D,Q,ne,F)}}function Vt(){var D=null;if(C[Ni]&&C[Ni].getTraceCtx&&(D=C[Ni].getTraceCtx(!1)),!D){var Q=C[Ni].getPlugin(Ad);if(Q){var F=Q.plugin.context;F&&(D=rg(F.telemetryTrace))}}return D}function un(D,Q,F,ne){var be=D[WI]||"";function L(){p&&sT(Q,Jm(be+"locationchange"))}function K(){if(x?(y=x,x=ne&&ne[Ld]||""):x=ne&&ne[Ld]||"",p){var N=Vt();if(N){N.setTraceId(gs());var Z="_unknown_";ne&&ne.pathname&&(Z=ne.pathname+(ne.hash||"")),N.setName(Wt(C[bs](),Z))}setTimeout(function(ue){C[Xb]({refUri:ue,properties:{duration:0}})}.bind(this,y),C.autoRoutePVDelay)}}m||(O(qb(F,"pushState",{ns:P,rsp:function(){p&&(sT(Q,Jm(be+"pushState")),sT(Q,Jm(be+"locationchange")))}},!0)),O(qb(F,"replaceState",{ns:P,rsp:function(){p&&(sT(Q,Jm(be+"replaceState")),sT(Q,Jm(be+"locationchange")))}},!0)),Fr(Q,be+"popstate",L,P),Fr(Q,be+"locationchange",K,P),m=!0)}function Jn(D,Q,F){_=D[KI]===!0,_&&!h&&(O(qb(Q,"onunhandledrejection",{ns:P,rsp:function(ne,be){_&&ne.rslt!==!0&&C[XI](Zi[iL](vNe(be),F?F[Ld]:"",0,0,be,ne.evt))}},!1)),h=!0,D.autoUnhandledPromiseInstrumented=h)}function Mt(D,Q,F,ne,be){C[bs]().throwInternal(D,Q,F,ne,be)}function Ne(){i=null,o=null,s=null,r=null,a=null,l=null,c=!1,u=!1,p=!1,m=!1,g=!1,f=!1,_=!1,h=!1,k=0;var D=ms(!0);y=D&&D[Ld]||"",x=null,P=null}$r(C,"_pageViewManager",function(){return s}),$r(C,"_pageViewPerformanceManager",function(){return r}),$r(C,"_pageVisitTimeManager",function(){return a}),$r(C,"_evtNamespace",function(){return"."+P})}),n}return t.Version="2.8.13",t.getDefaultConfig=mge,t}(Ra);var Md="duration";var ii="tags",uL="deviceType",_s="data",Rl="name",cg="traceID",Tt="length",$d="stringify",Dd="measurements",Hr="dataType",Nd="envelopeType",Zc="toString",rT="onLine",aT="isOnline",ug="enqueue",Fd="count",Xc="push",lT="emitLineDelimitedJson",Ud="clear",dg="batchPayloads",Od="markAsSent",pg="clearSent",cT="bufferOverride",o_="BUFFER_KEY",qd="SENT_BUFFER_KEY",s_="MAX_BUFFER_SIZE",eu="namePrefix",dL="maxBatchSizeInBytes",mg="triggerSend",yo="diagLog",QB="onunloadDisableBeacon",pL="isBeaconApiDisabled",r_="_sender",cn="_senderConfig",KB="enableSessionStorageBuffer",Hd="_buffer",YB="samplingPercentage",uT="instrumentationKey",Bd="endpointUrl",WB="customHeaders",a_="disableXhr",JB="onunloadDisableFetch",mL="disableTelemetry",gL="baseType",l_="sampleRate",ZB="convertUndefined",gge="_xhrReadyStateChange",Br="_onError",fL="_onPartialSuccess",dT="_onSuccess",pT="itemsAccepted",fge="itemsReceived",c_="isRetryDisabled",hL="setRequestHeader",XB="maxBatchInterval",ej="eventsSendRequest",tj="disableInstrumentationKeyValidation",bL="getSamplingScore",hge="getHashCodeScore";var nj="baseType",kn="baseData",Fi="properties",bge="true";function oi(e,t,n){return Ut(e,t,n,Rb)}function xNe(e,t,n){var i=n[ii]=n[ii]||{},o=t.ext=t.ext||{},s=t[ii]=t[ii]||[],r=o.user;r&&(oi(i,on.userAuthUserId,r.authId),oi(i,on.userId,r.id||r.localId));var a=o.app;a&&oi(i,on.sessionId,a.sesId);var l=o.device;l&&(oi(i,on.deviceId,l.id||l.localId),oi(i,on[uL],l.deviceClass),oi(i,on.deviceIp,l.ip),oi(i,on.deviceModel,l.model),oi(i,on[uL],l[uL]));var c=t.ext.web;if(c){oi(i,on.deviceLanguage,c.browserLang),oi(i,on.deviceBrowserVersion,c.browserVer),oi(i,on.deviceBrowser,c.browser);var u=n[_s]=n[_s]||{},p=u[kn]=u[kn]||{},m=p[Fi]=p[Fi]||{};oi(m,"domain",c.domain),oi(m,"isManual",c.isManual?bge:null),oi(m,"screenRes",c.screenRes),oi(m,"userConsent",c.userConsent?bge:null)}var g=o.os;g&&oi(i,on.deviceOS,g[Rl]);var f=o.trace;f&&(oi(i,on.operationParentId,f.parentID),oi(i,on.operationName,Wt(e,f[Rl])),oi(i,on.operationId,f[cg]));for(var _={},h=s[Tt]-1;h>=0;h--){var k=s[h];Et(k,function(x,P){_[x]=P}),s.splice(h,1)}Et(s,function(x,P){_[x]=P});var y=Vn(Vn({},i),_);y[on.internalSdkVersion]||(y[on.internalSdkVersion]="javascript:".concat(TNe.Version)),n[ii]=dI(y)}function jd(e,t,n){de(e)||Et(e,function(i,o){xx(o)?n[i]=o:Ge(o)?t[i]=o:Ia()&&(t[i]=Si()[$d](o))})}function gg(e,t){de(e)||Et(e,function(n,i){e[n]=i||t})}function fg(e,t,n,i){var o=new jI(e,i,t);oi(o,"sampleRate",n[Hb]),(n[kn]||{}).startTime&&(o.time=Vs(n[kn].startTime)),o.iKey=n.iKey;var s=n.iKey.replace(/-/g,"");return o[Rl]=o[Rl].replace("{0}",s),xNe(e,n,o),n[ii]=n[ii]||[],dI(o)}function hg(e,t){de(t[kn])&&ke(e,1,46,"telemetryItem.baseData cannot be null.")}var TNe={Version:"2.8.13"};function _ge(e,t,n){hg(e,t);var i=t[kn][Dd]||{},o=t[kn][Fi]||{};jd(t[_s],o,i),de(n)||gg(o,n);var s=t[kn];if(de(s))return Nr(e,"Invalid input for dependency data"),null;var r=s[Fi]&&s[Fi][Dx]?s[Fi][Dx]:"GET",a=new Zs(e,s.id,s.target,s[Rl],s[Md],s.success,s.responseCode,r,s.type,s.correlationContext,o,i),l=new Il(Zs[Hr],a);return fg(e,Zs[Nd],t,l)}function ij(e,t,n){hg(e,t);var i={},o={};t[nj]!==Ws[Hr]&&(i.baseTypeSource=t[nj]),t[nj]===Ws[Hr]?(i=t[kn][Fi]||{},o=t[kn][Dd]||{}):t[kn]&&jd(t[kn],i,o),jd(t[_s],i,o),de(n)||gg(i,n);var s=t[kn][Rl],r=new Ws(e,s,i,o),a=new Il(Ws[Hr],r);return fg(e,Ws[Nd],t,a)}function yge(e,t,n){hg(e,t);var i=t[kn][Dd]||{},o=t[kn][Fi]||{};jd(t[_s],o,i),de(n)||gg(o,n);var s=t[kn],r=Zi.CreateFromInterface(e,s,o,i),a=new Il(Zi[Hr],r);return fg(e,Zi[Nd],t,a)}function vge(e,t,n){hg(e,t);var i=t[kn],o=i[Fi]||{},s=i[Dd]||{};jd(t[_s],o,s),de(n)||gg(o,n);var r=new Js(e,i[Rl],i.average,i.sampleCount,i.min,i.max,i.stdDev,o,s),a=new Il(Js[Hr],r);return fg(e,Js[Nd],t,a)}function kge(e,t,n){hg(e,t);var i,o=t[kn];!de(o)&&!de(o[Fi])&&!de(o[Fi][Md])?(i=o[Fi][Md],delete o[Fi][Md]):!de(t[_s])&&!de(t[_s][Md])&&(i=t[_s][Md],delete t[_s][Md]);var s=t[kn],r;((t.ext||{}).trace||{})[cg]&&(r=t.ext.trace[cg]);var a=s.id||r,l=s[Rl],c=s.uri,u=s[Fi]||{},p=s[Dd]||{};if(de(s.refUri)||(u.refUri=s.refUri),de(s.pageType)||(u.pageType=s.pageType),de(s.isLoggedIn)||(u.isLoggedIn=s.isLoggedIn[Zc]()),!de(s[Fi])){var m=s[Fi];Et(m,function(_,h){u[_]=h})}jd(t[_s],u,p),de(n)||gg(u,n);var g=new Io(e,l,c,i,u,p,a),f=new Il(Io[Hr],g);return fg(e,Io[Nd],t,f)}function xge(e,t,n){hg(e,t);var i=t[kn],o=i[Rl],s=i.uri||i.url,r=i[Fi]||{},a=i[Dd]||{};jd(t[_s],r,a),de(n)||gg(r,n);var l=new Na(e,o,s,void 0,r,a,i),c=new Il(Na[Hr],l);return fg(e,Na[Nd],t,c)}function Tge(e,t,n){hg(e,t);var i=t[kn].message,o=t[kn].severityLevel,s=t[kn][Fi]||{},r=t[kn][Dd]||{};jd(t[_s],s,r),de(n)||gg(s,n);var a=new Da(e,i,o,s,r),l=new Il(Da[Hr],a);return fg(e,Da[Nd],t,l)}function Sge(e,t){vd(e,null,null,t)}function wge(e){var t,n=Qn(),i=Po(),o=!1,s=!0,r=Ks(Wi("OfflineListener"),e);try{if(l(Qs())&&(o=!0),n){var a=n.body||n;a.ononline&&l(a)&&(o=!0)}o&&i&&!de(i[rT])&&(s=i[rT])}catch{o=!1}function l(g){var f=!1;return g&&(f=Fr(g,"online",c,r),f&&Fr(g,"offline",u,r)),f}function c(){s=!0}function u(){s=!1}function p(){var g=!0;return o?g=s:i&&!de(i[rT])&&(g=i[rT]),g}function m(){var g=Qs();if(g&&o){if(Sge(g,r),n){var f=n.body||n;vn(f.ononline)||Sge(f,r)}o=!1}}return t={},t[aT]=p,t.isListening=function(){return o},t.unload=m,t}var Cge=function(){function e(t,n){var i=[],o=!1;this._get=function(){return i},this._set=function(s){return i=s,i},pt(e,this,function(s){s[ug]=function(r){if(s[Fd]()>=n.eventsLimitInMem()){o||(ke(t,2,105,"Maximum in-memory buffer size reached: "+s[Fd](),!0),o=!0);return}i[Xc](r)},s[Fd]=function(){return i[Tt]},s.size=function(){for(var r=i[Tt],a=0;a0){var a=n[lT]()?r.join(` `):"["+r.join(",")+"]";return a}return null}})}return e.__ieDyn=1,e}(),Ege=function(e){Ri(t,e);function t(n,i){var o=e.call(this,n,i)||this;return pt(t,o,function(s,r){s[Od]=function(a){r[Ud]()},s[pg]=function(a){}}),o}return t.__ieDyn=1,t}(Cge);var Age=function(e){Ri(t,e);function t(n,i){var o=e.call(this,n,i)||this,s=!1,r=i[cT]()||{getItem:Qb,setItem:jx},a=r.getItem,l=r.setItem;return pt(t,o,function(c,u){var p=_(t[o_]),m=_(t[qd]),g=c._set(p.concat(m));g[Tt]>t[s_]&&(g[Tt]=t[s_]),h(t[qd],[]),h(t[o_],g),c[ug]=function(k){if(c[Fd]()>=t[s_]){s||(ke(n,2,67,"Maximum buffer size reached: "+c[Fd](),!0),s=!0);return}u[ug](k),h(t[o_],c._get())},c[Ud]=function(){u[Ud](),h(t[o_],c._get()),h(t[qd],[]),s=!1},c[Od]=function(k){h(t[o_],c._set(f(k,c._get())));var y=_(t[qd]);y instanceof Array&&k instanceof Array&&(y=y.concat(k),y[Tt]>t[s_]&&(ke(n,1,67,"Sent buffer reached its maximum size: "+y[Tt],!0),y[Tt]=t[s_]),h(t[qd],y))},c[pg]=function(k){var y=_(t[qd]);y=f(k,y),h(t[qd],y)};function f(k,y){var x=[];return De(y,function(P){!Ye(P)&&$i(k,P)===-1&&x[Xc](P)}),x}function _(k){var y=k;try{y=i[eu]&&i[eu]()?i[eu]()+"_"+y:y;var x=a(n,y);if(x){var P=Si().parse(x);if(Ge(P)&&(P=Si().parse(P)),P&&Ct(P))return P}}catch(C){ke(n,1,42," storage key: "+y+", "+vt(C),{exception:Ue(C)})}return[]}function h(k,y){var x=k;try{x=i[eu]&&i[eu]()?i[eu]()+"_"+x:x;var P=JSON[$d](y);l(n,x,P)}catch(C){l(n,x,JSON[$d]([])),ke(n,2,41," storage key: "+x+", "+vt(C)+". Buffer cleared",{exception:Ue(C)})}}}),o}return t.BUFFER_KEY="AI_buffer",t.SENT_BUFFER_KEY="AI_sentBuffer",t.MAX_BUFFER_SIZE=2e3,t}(Cge);var Pge=function(){function e(t){pt(e,this,function(n){n.serialize=function(r){var a=i(r,"root");try{return Si()[$d](a)}catch(l){ke(t,1,48,l&&Ye(l[Zc])?l[Zc]():"Error serializing object",null,!0)}};function i(r,a){var l="__aiCircularRefCheck",c={};if(!r)return ke(t,1,48,"cannot serialize object because it is null or undefined",{name:a},!0),c;if(r[l])return ke(t,2,50,"Circular reference detected while serializing object",{name:a},!0),c;if(!r.aiDataContract){if(a==="measurements")c=s(r,"number",a);else if(a==="properties")c=s(r,"string",a);else if(a==="tags")c=s(r,"string",a);else if(Ct(r))c=o(r,a);else{ke(t,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:a},!0);try{Si()[$d](r),c=r}catch(u){ke(t,1,48,u&&Ye(u[Zc])?u[Zc]():"Error serializing object",null,!0)}}return c}return r[l]=!0,Et(r.aiDataContract,function(u,p){var m=Ye(p)?p()&1:p&1,g=Ye(p)?p()&4:p&4,f=p&2,_=r[u]!==void 0,h=go(r[u])&&r[u]!==null;if(m&&!_&&!f)ke(t,1,24,"Missing required field specification. The field is required but not present on source",{field:u,name:a});else if(!g){var k=void 0;h?f?k=o(r[u],u):k=i(r[u],u):k=r[u],k!==void 0&&(c[u]=k)}}),delete r[l],c}function o(r,a){var l;if(r)if(!Ct(r))ke(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)&&(i.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[l_]=t,this.samplingScoreGenerator=new Lge}return e.prototype.isSampledIn=function(t){var n=this[l_],i=!1;return n==null||n>=100||t.baseType===Js[Hr]?!0:(i=this.samplingScoreGenerator[bL](t)h._senderConfig[dL]()&&h[mg](!0,null,10),Vt())},h.flush=function(L,K,N){if(L===void 0&&(L=!0),!r){un();try{h[mg](L,null,N||1)}catch(Z){ke(h[yo](),1,22,"flush failed, telemetry will not be collected: "+vt(Z),{exception:Ue(Z)})}}},h.onunloadFlush=function(){if(!r)if((h._senderConfig[QB]()===!1||h[cn][pL]()===!1)&&bd())try{h[mg](!0,C,2)}catch(L){ke(h[yo](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+vt(L),{exception:Ue(L)})}else h.flush()},h.addHeader=function(L,K){u[L]=K},h.initialize=function(L,K,N,Z){h.isInitialized()&&ke(h[yo](),1,28,"Sender is already initialized"),k.initialize(L,K,N,Z);var ue=h._getTelCtx(),Ie=h.identifier;l=new Pge(K.logger),i=0,o=null,s=0,h[r_]=null,c=0;var Le=h[yo]();_=Ks(Wi("Sender"),K.evtNamespace&&K.evtNamespace()),f=wge(_);var kt=Mge();Et(kt,function(ae,fe){h[cn][ae]=function(){var xe=ue.getConfig(Ie,ae,fe());return!xe&&ae==="endpointUrl"&&(xe=fe()),xe}});var Bt=h[cn][KB]()&&!!(h._senderConfig[cT]()||wd());h[Hd]=Bt?new Age(Le,h[cn]):new Ege(Le,h[cn]),h._sample=new Rge(h[cn][YB](),Le),ne(L)||ke(Le,1,100,"Invalid Instrumentation key "+L[uT]),!sg(h._senderConfig.endpointUrl())&&h._senderConfig.customHeaders()&&h._senderConfig.customHeaders()[Tt]>0&&De(h[cn][WB](),function(ae){n.addHeader(ae.header,ae.value)});var Kt=h[cn],z=null;!Kt[a_]()&&hI()?z=Ne:!Kt[a_]()&&jm()&&(z=pe),!z&&fI()&&(z=ce),m=z||pe,!Kt[pL]()&&bd()&&(z=O),h[r_]=z||pe,!Kt[JB]()&&fI(!0)?g=Ee:bd()?g=O:!Kt[a_]()&&hI()?g=Ne:!Kt[a_]()&&jm()?g=pe:g=m},h.processTelemetry=function(L,K){K=h._getTelCtx(K);var N=K[yo]();try{if(h[cn][mL]())return;if(!L){ke(N,1,7,"Cannot send empty telemetry");return}if(L.baseData&&!L[gL]){ke(N,1,70,"Cannot send telemetry without baseData and baseType");return}if(L[gL]||(L[gL]="EventData"),!h[r_]){ke(N,1,28,"Sender was not initialized");return}if(y(L))L[Hb]=h._sample[l_];else{ke(N,2,33,"Telemetry item was sampled out and not sent",{SampleRate:h._sample[l_]});return}var Z=h[cn][ZB]()||void 0,ue=L.iKey||h[cn][uT](),Ie=t.constructEnvelope(L,ue,N,Z);if(!Ie){ke(N,1,47,"Unable to create an AppInsights envelope");return}var Le=!1;if(L[ii]&&L[ii][Bb]&&(De(L[ii][Bb],function(z){try{z&&z(Ie)===!1&&(Le=!0,Nr(N,"Telemetry processor check returns false"))}catch(ae){ke(N,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+vt(ae),{exception:Ue(ae)},!0)}}),delete L[ii][Bb]),Le)return;var kt=l.serialize(Ie),Bt=h[Hd],Kt=Bt.size();Kt+kt[Tt]>h[cn][dL]()&&(!f||f[aT]())&&h[mg](!0,null,10),Bt[ug](kt),Vt()}catch(z){ke(N,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+vt(z),{exception:Ue(z)})}h.processNext(L,K)},h[gge]=function(L,K,N){L.readyState===4&&x(L.status,K,L.responseURL,N,Mt(L),_L(L)||L.response)},h[mg]=function(L,K,N){if(L===void 0&&(L=!0),!r)try{var Z=h[Hd];if(h[cn][mL]())Z[Ud]();else{if(Z[Fd]()>0){var ue=Z.getItems();F(N||0,L),K?K.call(n,ue,L):h[r_](ue,L)}s=+new Date}un()}catch(Le){var Ie=Fb();(!Ie||Ie>9)&&ke(h[yo](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+vt(Le),{exception:Ue(Le)})}},h._doTeardown=function(L,K){h.onunloadFlush(),f.unload(),be()},h[Br]=function(L,K,N){ke(h[yo](),2,26,"Failed to send telemetry.",{message:K}),h._buffer[pg](L)},h[fL]=function(L,K){for(var N=[],Z=[],ue=K.errors.reverse(),Ie=0,Le=ue;Ie0&&h[dT](L,K[pT]),N[Tt]>0&&h[Br](N,Mt(null,["partial success",K[pT],"of",K.itemsReceived].join(" "))),Z[Tt]>0&&(zt(Z),ke(h[yo](),2,40,"Partial success. Delivered: "+L[Tt]+", Failed: "+N[Tt]+". Will retry to send "+Z[Tt]+" our of "+K[fge]+" items"))},h[dT]=function(L,K){h._buffer[pg](L)},h._xdrOnLoad=function(L,K){var N=_L(L);if(L&&(N+""=="200"||N===""))i=0,h[dT](K,0);else{var Z=Rt(N);Z&&Z.itemsReceived&&Z.itemsReceived>Z[pT]&&!h[cn][c_]()?h[fL](K,Z):h[Br](K,D(L))}};function y(L){return h._sample.isSampledIn(L)}function x(L,K,N,Z,ue,Ie){var Le=null;if(h._appId||(Le=Rt(Ie),Le&&Le.appId&&(h._appId=Le.appId)),(L<200||L>=300)&&L!==0){if((L===301||L===307||L===308)&&!P(N)){h[Br](K,ue);return}!h[cn][c_]()&&Jn(L)?(zt(K),ke(h[yo](),2,40,". Response code "+L+". Will retry to send "+K[Tt]+" items.")):h[Br](K,ue)}else if(f&&!f[aT]()){if(!h[cn][c_]()){var kt=10;zt(K,kt),ke(h[yo](),2,40,". Offline - Response Code: ".concat(L,". Offline status: ").concat(!f.isOnline(),". Will retry to send ").concat(K.length," items."))}}else P(N),L===206?(Le||(Le=Rt(Ie)),Le&&!h[cn][c_]()?h[fL](K,Le):h[Br](K,ue)):(i=0,h[dT](K,Z))}function P(L){return c>=10?!1:!de(L)&&L!==""&&L!==h[cn][Bd]()?(h[cn][Bd]=function(){return L},++c,!0):!1}function C(L,K){g?g(L,!1):O(L,K)}function j(L){var K=Po(),N=h[Hd],Z=h[cn][Bd](),ue=h._buffer[dg](L),Ie=new Blob([ue],{type:"text/plain;charset=UTF-8"}),Le=K.sendBeacon(Z,Ie);return Le&&(N[Od](L),h._onSuccess(L,L[Tt])),Le}function O(L,K){if(Ct(L)&&L[Tt]>0&&!j(L)){for(var N=[],Z=0;Z0&&(m&&m(N,!0),ke(h[yo](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function pe(L,K){var N=new XMLHttpRequest,Z=h[cn][Bd]();try{N[Ma]=!0}catch{}N.open("POST",Z,K),N[hL]("Content-type","applicationhttps://www.microsoft.com/json"),sg(Z)&&N[hL](nn[6],nn[7]),De(ps(u),function(Ie){N[hL](Ie,u[Ie])}),N.onreadystatechange=function(){return h._xhrReadyStateChange(N,L,L[Tt])},N.onerror=function(Ie){return h[Br](L,Mt(N),Ie)};var ue=h._buffer[dg](L);N.send(ue),h._buffer[Od](L)}function Ee(L,K){if(Ct(L)){for(var N=L[Tt],Z=0;Z=K[pT]&&K.itemsReceived-K.itemsAccepted===K.errors[Tt])return K}}catch(N){ke(h[yo](),1,43,"Cannot parse the response. "+vt(N),{response:L})}return null}function zt(L,K){if(K===void 0&&(K=1),!(!L||L[Tt]===0)){var N=h[Hd];N[pg](L),i++;for(var Z=0,ue=L;Z=200&&+c[Xs]<400,g.responseCode=+c[Xs],g[zd]={HttpMethod:c[$l]},g),_=f[zd];if(c[Vd]&&(_[Vd]=!0),c[ou]&&(f[nu]=new Date,f[nu].setTime(c[ou])),ENe(c,f),p&&ps(c.requestHeaders)[Fa]>0&&(_[ks]=c[ks]),m){var h=m();if(h){var k=h[Vge];if(k&&(f.correlationContext=k),h[g_]&&ps(h.headerMap)[Fa]>0&&(_.responseHeaders=h[g_]),c[vT])if(c[Xs]>=400){var y=h.type;(y===""||y==="text")&&(_.responseText=h.responseText?h[iu]+" - "+h[l]:h[iu]),y==="json"&&(_.responseText=h.response?h[iu]+" - "+JSON.stringify(h[TL]):h[iu])}else c[Xs]===0&&(_.responseText=h[iu]||"")}}return f},c[xT]=function(){var u,p=null,m=c[wL];if(m&&(m[p_]||m[m_])){p={};var g=p[Xi.TraceExt]=(u={},u[Ua]=m[p_],u.parentID=m[m_],u);de(m[vs])||(g[vs]=m[vs])}return p}})}return e.__ieDyn=1,e}();var Qge="ai.ajxmn.",CT="diagLog",er="ajaxData",vg="fetch",ST="Failed to monitor XMLHttpRequest",tfe=", monitoring data for this ajax call ",h_=tfe+"may be incorrect.",Kge=tfe+"won't be sent.",Yge="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",Wge="Failed to add custom defined request context as configured call back may missing a null check.",Jge="Failed to calculate the duration of the ",Zge=0;function PNe(){var e=Lr();return!e||de(e.Request)||de(e.Request[Pn])||de(e[vg])?null:e[vg]}var CL=null;function INe(){if(CL==null)try{CL=!!(self&&self instanceof WorkerGlobalScope)}catch{CL=!1}return CL}function LNe(e){var t=!1;if(jm()){var n=XMLHttpRequest[Pn];t=!de(n)&&!de(n.open)&&!de(n.send)&&!de(n.abort)}var i=Fb();if(i&&i<9&&(t=!1),t)try{var o=new XMLHttpRequest;o[er]={};var s=XMLHttpRequest[Pn].open;XMLHttpRequest[Pn].open=s}catch(r){t=!1,ET(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:Ue(r)})}return t}function AL(e){var t="";try{e&&e[er]&&e[er][ys]&&(t+="(url: '"+e[er][ys]+"')")}catch{}return t}function ET(e,t,n,i,o){ke(e[CT](),1,t,n,i,o)}function b_(e,t,n,i,o){ke(e[CT](),2,t,n,i,o)}function wT(e,t,n){return function(i){ET(e,t,n,{ajaxDiagnosticsMessage:AL(i[u_]),exception:Ue(i.err)})}}function __(e,t){return e&&t?e.indexOf(t):-1}function Xge(e,t,n){var i={id:t,fn:n};return e.push(i),{remove:function(){De(e,function(o,s){if(o.id===i.id)return e.splice(s,1),-1})}}}function nfe(e,t,n,i){var o=!0;return De(t,function(s,r){try{s.fn.call(null,n)===!1&&(o=!1)}catch(a){ke(e&&e.logger,1,64,"Dependency "+i+" [#"+r+"] failed: "+vt(a),{exception:Ue(a)},!0)}}),o}function RNe(e,t,n,i,o,s){var r=e[Fa];if(r>0){var a={core:t,xhr:i,input:o,init:s,traceId:n[Ua],spanId:n[Ml],traceFlags:n[vs],context:n[d_]||{},aborted:!!n[Vd]};nfe(t,e,a,"listener"),n[Ua]=a[p_],n[Ml]=a[m_],n[vs]=a[vs],n[d_]=a[d_]}}var EL="*.blob.core.",ife=Lb([EL+"windows.net",EL+"chinacloudapi.cn",EL+"cloudapi.de",EL+"usgovcloudapi.net"]),MNe=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function dj(){var e={maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:ife,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 efe(){var e=dj();return Et(e,function(t){e[t]=void 0}),e}var pj=function(e){Ri(t,e);function t(){var n=e.call(this)||this;n.identifier=t.identifier,n.priority=120;var i,o,s,r,a,l,c,u,p,m,g,f,_,h,k,y,x,P,C,j,O,pe,Ee;return pt(t,n,function(ce,_t){var Rt=_t._addHook;zt(),ce.initialize=function(z,ae,fe,xe){ce.isInitialized()||(_t.initialize(z,ae,fe,xe),j=Ks(Wi("ajax"),ae&&ae.evtNamespace&&ae.evtNamespace()),fn(z),Ne(),Jn(),Vt())},ce._doTeardown=function(){zt()},ce.trackDependencyData=function(z,ae){Kt(Ee,ce[Oa],null,z,ae)},ce[yL]=function(z,ae,fe,xe){var Ae=ce._currentWindowHost||s;if(RNe(pe,ce[Oa],z,xe,ae,fe),ae){if(Yc[rj](r,z[mT](),Ae)){fe||(fe={});var We=new Headers(fe[Gd]||(ae instanceof Request?ae[Gd]||{}:{}));if(m){var Je="|"+z[Ua]+"."+z[Ml];We.set(nn[3],Je),a&&(z[ks][nn[3]]=Je)}var Ft=r[gT]||u&&u[gT]();if(Ft&&(We.set(nn[0],nn[2]+Ft),a&&(z[ks][nn[0]]=nn[2]+Ft)),p){var st=z[vs];de(st)&&(st=1);var Ht=Lx(Ix(z[Ua],z[Ml],st));We.set(nn[4],Ht),a&&(z[ks][nn[4]]=Ht)}fe[Gd]=We}return fe}else if(xe){if(Yc[rj](r,z[mT](),Ae)){if(m){var Je="|"+z[Ua]+"."+z[Ml];xe[vL](nn[3],Je),a&&(z[ks][nn[3]]=Je)}var Ft=r[gT]||u&&u[gT]();if(Ft&&(xe[vL](nn[0],nn[2]+Ft),a&&(z[ks][nn[0]]=nn[2]+Ft)),p){var st=z[vs];de(st)&&(st=1);var Ht=Lx(Ix(z[Ua],z[Ml],st));xe[vL](nn[4],Ht),a&&(z[ks][nn[4]]=Ht)}}return xe}},ce[aj]=function(z,ae,fe){if(_===-1||c<_){(r[kL]===2||r[kL]===1)&&typeof z.id=="string"&&z.id[z.id[Fa]-1]!=="."&&(z.id+="."),de(z[nu])&&(z[nu]=new Date);var xe=qr(z,Zs.dataType,Zs.envelopeType,ce[CT](),ae,fe);ce[Oa].track(xe)}else c===_&&ET(ce,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},ce.addDependencyListener=function(z){return Xge(pe,O++,z)},ce.addDependencyInitializer=function(z){return Xge(Ee,O++,z)};function zt(){var z=ms();i=!1,o=!1,s=z&&z.host&&z.host[bg](),r=t.getEmptyConfig(),a=!1,l=!1,c=0,u=null,p=!1,m=!1,g=null,f=!1,_=0,h=!1,k={},y=!1,x=!1,P=null,C=null,j=null,O=0,pe=[],Ee=[]}function fn(z){var ae=Ji(null,z,ce[Oa]);r=efe();var fe=dj();Et(fe,function(We,Je){r[We]=ae.getConfig(t.identifier,We,Je)});var xe=r[kL];if(a=r[$ge],l=r[Dge],f=r[Nge],_=r[Fge],h=r[Uge],P=[].concat(r[Oge]||[],r.addIntEndpoints!==!1?MNe:[]),C=r[qge],m=xe===0||xe===1,p=xe===1||xe===2,f){var Ae=z.instrumentationKey||"unkwn";Ae[Fa]>5?g=Qge+Ae.substring(Ae[Fa]-5)+".":g=Qge+Ae+"."}y=!!r[Hge],x=!!r[Bge]}function Vt(){var z=ce[Oa].getPlugin(Ad);z&&(u=z.plugin[d_])}function un(z){var ae=!0;return(z||r.ignoreHeaders)&&De(r.ignoreHeaders,function(fe){if(fe[bg]()===z[bg]())return ae=!1,-1}),ae}function Jn(){var z=PNe();if(z){var ae=Lr(),fe=z.polyfill;!x&&!i?(Rt($x(ae,vg,{ns:j,req:function(xe,Ae,We){var Je;if(!x&&i&&!D(null,Ae,We)&&!(fe&&o)){var Ft=xe.ctx();Je=Ie(Ae,We);var st=ce[yL](Je,Ae,We);st!==We&&xe.set(1,st),Ft.data=Je}},rsp:function(xe,Ae){if(!x){var We=xe.ctx().data;We&&(xe.rslt=xe.rslt.then(function(Je){return kt(xe,(Je||{})[Xs],Ae,Je,We,function(){var Ft={statusText:(Je||{})[iu],headerMap:null,correlationContext:Bt(Je)};if(h&&Je){var st={};Je.headers.forEach(function(Ht,xo){un(xo)&&(st[xo]=Ht)}),Ft[g_]=st}return Ft}),Je}).catch(function(Je){throw kt(xe,0,Ae,null,We,null,{error:Je.message||Ue(Je)}),Je}))}},hkErr:wT(ce,15,"Failed to monitor Window.fetch"+h_)},!0,INe())),i=!0):fe&&Rt($x(ae,vg,{ns:j,req:function(xe,Ae,We){D(null,Ae,We)}})),fe&&(ae[vg].polyfill=fe)}}function Mt(z,ae,fe){Rt(yB(z,ae,fe))}function Ne(){LNe(ce)&&!y&&!o&&(Mt(XMLHttpRequest,"open",{ns:j,req:function(z,ae,fe,xe){if(!y){var Ae=z[u_],We=Ae[er];!D(Ae,fe)&&Q(Ae,!0)&&((!We||!We.xhrMonitoringState[fT])&&ne(Ae,ae,fe,xe),be(Ae))}},hkErr:wT(ce,15,ST+".open"+h_)}),Mt(XMLHttpRequest,"send",{ns:j,req:function(z,ae){if(!y){var fe=z[u_],xe=fe[er];Q(fe)&&!xe.xhrMonitoringState[hT]&&(Z("xhr",xe),xe[ou]=Yb(),ce[yL](xe,void 0,void 0,fe),xe.xhrMonitoringState[hT]=!0)}},hkErr:wT(ce,17,ST+h_)}),Mt(XMLHttpRequest,"abort",{ns:j,req:function(z){if(!y){var ae=z[u_],fe=ae[er];Q(ae)&&!fe.xhrMonitoringState[bT]&&(fe[Vd]=1,fe.xhrMonitoringState[bT]=!0)}},hkErr:wT(ce,13,ST+".abort"+h_)}),Mt(XMLHttpRequest,"setRequestHeader",{ns:j,req:function(z,ae,fe){if(!y&&a){var xe=z[u_];Q(xe)&&un(ae)&&(xe[er][ks][ae]=fe)}},hkErr:wT(ce,71,ST+".setRequestHeader"+h_)}),o=!0)}function D(z,ae,fe){var xe=!1,Ae=((Ge(ae)?ae:(ae||{}).url||"")||"")[bg]();if(De(P,function(Ft){var st=Ft;Ge(Ft)&&(st=new RegExp(Ft)),xe||(xe=st.test(Ae))}),xe)return xe;var We=__(Ae,"?"),Je=__(Ae,"#");return(We===-1||Je!==-1&&Je=0;Oe--){var B=Sp[Oe];if(B){if(B.entryType==="resource")B.initiatorType===z&&(__(B[Qd],st)!==-1||__(st,B[Qd])!==-1)&&(oo=B);else if(B.entryType==="mark"&&B[Qd]===Ae[Qd]){ae[TT]=oo;break}if(B[nu]=Je||ae.async===!1?(Ae&&Ye(We.clearMarks)&&We.clearMarks(Ae[Qd]),ae.perfAttempts=Ht,fe()):setTimeout(xo,Ft)}catch(E){xe(E)}})()}function Ie(z,ae){var fe,xe=F(),Ae=xe&&xe[_T]()||gs(),We=gs().substr(0,16),Je=new uj(Ae,We,ce[CT](),(fe=ce.core)===null||fe===void 0?void 0:fe.getTraceCtx());Je[vs]=xe&&xe[yT](),Je[ou]=Yb(),Je[vT]=l,z instanceof Request?Je[ys]=z?z.url:"":Je[ys]=z;var Ft="GET";ae&&ae[$l]?Ft=ae[$l]:z&&z instanceof Request&&(Ft=z[$l]),Je[$l]=Ft;var st={};if(a){var Ht=new Headers((ae?ae[Gd]:0)||(z instanceof Request?z[Gd]||{}:{}));Ht.forEach(function(xo,oo){un(oo)&&(st[oo]=xo)})}return Je[ks]=st,Z(vg,Je),Je}function Le(z){var ae="";try{de(z)||(typeof z=="string"?ae+="(url: '".concat(z,"')"):ae+="(url: '".concat(z.url,"')"))}catch(fe){ET(ce,15,"Failed to grab failed fetch diagnostics message",{exception:Ue(fe)})}return ae}function kt(z,ae,fe,xe,Ae,We,Je){if(!Ae)return;function Ft(st,Ht,xo){var oo=xo||{};oo.fetchDiagnosticsMessage=Le(fe),Ht&&(oo.exception=Ue(Ht)),b_(ce,st,Jge+"fetch call"+Kge,oo)}Ae[_g]=Yb(),Ae[Xs]=ae,ue(vg,Ae,function(){var st=Ae[kT]("Fetch",a,We),Ht;try{C&&(Ht=C({status:ae,request:fe,response:xe}))}catch{b_(ce,104,Wge)}if(st){Ht!==void 0&&(st[zd]=Vn(Vn({},st.properties),Ht));var xo=Ae[xT]();Kt(Ee,ce[Oa],Ae,st,null,xo)}else Ft(14,null,{requestSentTime:Ae[ou],responseFinishedTime:Ae[_g]})},function(st){Ft(18,st,null)})}function Bt(z){if(z&&z[Gd])try{var ae=z[Gd].get(nn[0]);return Yc[cj](ae)}catch(fe){b_(ce,18,Yge,{fetchDiagnosticsMessage:Le(z),exception:Ue(fe)})}}function Kt(z,ae,fe,xe,Ae,We){var Je=!0,Ft=z[Fa];if(Ft>0){var st={item:xe,properties:Ae,sysProperties:We,context:fe?fe[d_]:null,aborted:fe?!!fe[Vd]:!1};Je=nfe(ae,z,st,"initializer")}Je&&ce[aj](xe,Ae,We)}}),n}return t.prototype.processTelemetry=function(n,i){this.processNext(n,i)},t.prototype.addDependencyInitializer=function(n){return null},t.identifier="AjaxDependencyPlugin",t.getDefaultConfig=dj,t.getEmptyConfig=efe,t}(Ra);var ofe=function(){function e(){}return e}();var sfe=function(){function e(){this.id="browser",this.deviceClass="Browser"}return e}();var y_="sessionManager",kg="update",v_="isUserCookieSet",k_="isNewUser",PL="getTraceCtx",AT="telemetryTrace",IL="applySessionContext",LL="applyApplicationContext",RL="applyDeviceContext",ML="applyOperationContext",$L="applyUserContext",DL="applyOperatingSystemContxt",NL="applyLocationContext",FL="applyInternalContext",qa="accountId",x_="sdkExtension",T_="getSessionId",Dl="namePrefix",S_="sessionCookiePostfix",w_="userCookiePostfix",Yd="idLength",Wd="getNewId",xg="length",Jd="automaticSession",Zd="authenticatedId",C_="sessionExpirationMs",PT="sessionRenewalMs",Ha="config",E_="acquisitionDate",IT="renewalDate",LT="cookieDomain",A_="join",P_="cookieSeparator",UL="authUserCookieName";var $Ne="2.8.13",rfe=function(){function e(t){this.sdkVersion=(t[x_]&&t[x_]()?t[x_]()+"_":"")+"javascript:"+$Ne}return e}();var afe=function(){function e(){}return e}();var DNe="ai_session",mj=function(){function e(){}return e}();var lfe=function(){function e(t,n){var i=this,o,s,r=La(n),a=Km(n);pt(e,i,function(l){t||(t={}),Ye(t[C_])||(t[C_]=function(){return e.acquisitionSpan}),Ye(t[PT])||(t[PT]=function(){return e.renewalSpan}),l[Ha]=t;var c=l.config[S_]&&l[Ha][S_]()?l.config[S_]():l.config[Dl]&&l[Ha][Dl]()?l[Ha][Dl]():"";o=function(){return DNe+c},l[Jd]=new mj,l[kg]=function(){var _=Di(),h=!1,k=l[Jd];k.id||(h=!u(k,_));var y=l.config[C_]();if(!h&&y>0){var x=l.config[PT](),P=_-k[E_],C=_-k[IT];h=P<0||C<0,h=h||P>y,h=h||C>x}h?m(_):(!s||_-s>e.cookieUpdateInterval)&&g(k,_)},l.backup=function(){var _=l[Jd];f(_.id,_[E_],_[IT])};function u(_,h){var k=!1,y=a.get(o());if(y&&Ye(y.split))k=p(_,y);else{var x=AB(r,o());x&&(k=p(_,x))}return k||!!_.id}function p(_,h){var k=!1,y=", session will be reset",x=h.split("|");if(x[xg]>=2)try{var P=+x[1]||0,C=+x[2]||0;isNaN(P)||P<=0?ke(r,2,27,"AI session acquisition date is 0"+y):isNaN(C)||C<=0?ke(r,2,27,"AI session renewal date is 0"+y):x[0]&&(_.id=x[0],_[E_]=P,_[IT]=C,k=!0)}catch(j){ke(r,1,9,"Error parsing ai_session value ["+(h||"")+"]"+y+" - "+vt(j),{exception:Ue(j)})}return k}function m(_){var h=l[Ha]||{},k=(h[Wd]?h[Wd]():null)||zc;l.automaticSession.id=k(h[Yd]?h[Yd]():22),l[Jd][E_]=_,g(l[Jd],_),Bx()||ke(r,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function g(_,h){var k=_[E_];_[IT]=h;var y=l[Ha],x=y[PT](),P=k+y[C_]()-h,C=[_.id,k,h],j=0;P0?j:null,O),s=h}function f(_,h,k){PB(r,o(),[_,h,k][A_]("|"))}})}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}();var cfe=function(){function e(t,n,i,o){var s=this;s.traceID=t||gs(),s.parentID=n;var r=ms();!i&&r&&r.pathname&&(i=r.pathname),s.name=Wt(o,i)}return e}();function ufe(e){return!(typeof e!="string"||!e||e.match(/,|;|=| |\|/))}var dfe=function(){function e(t,n){this.isNewUser=!1,this.isUserCookieSet=!1;var i=La(n),o=Km(n),s;pt(e,this,function(r){r[Ha]=t;var a=r.config[w_]&&r[Ha][w_]()?r[Ha][w_]():"";s=function(){return e.userCookieName+a};var l=o.get(s());if(l){r[k_]=!1;var c=l.split(e[P_]);c[xg]>0&&(r.id=c[0],r[v_]=!!r.id)}function u(){var k=t||{},y=(k[Wd]?k[Wd]():null)||zc,x=y(k[Yd]?t[Yd]():22);return x}function p(k){var y=Vs(new Date);r.accountAcquisitionDate=y,r[k_]=!0;var x=[k,y];return x}function m(k){var y=31536e3;r[v_]=o.set(s(),k,y)}if(!r.id){r.id=u();var g=p(r.id);m(g[A_](e[P_]));var f=t[Dl]&&t[Dl]()?t[Dl]()+"ai_session":"ai_session";IB(i,f)}r[qa]=t[qa]?t[qa]():void 0;var _=o.get(e[UL]);if(_){_=decodeURI(_);var h=_.split(e[P_]);h[0]&&(r[Zd]=h[0]),h[xg]>1&&h[1]&&(r[qa]=h[1])}r.setAuthenticatedUserContext=function(k,y,x){x===void 0&&(x=!1);var P=!ufe(k)||y&&!ufe(y);if(P){ke(i,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}r[Zd]=k;var C=r[Zd];y&&(r[qa]=y,C=[r[Zd],r.accountId][A_](e[P_])),x&&o.set(e[UL],encodeURI(C))},r.clearAuthenticatedUserContext=function(){r[Zd]=null,r[qa]=null,o.del(e[UL])},r[kg]=function(k){if(r.id!==k||!r[v_]){var y=k||u(),x=p(y);m(x[A_](e[P_]))}}})}return e.cookieSeparator="|",e.userCookieName="ai_user",e.authUserCookieName="ai_authUser",e}();var OL="ext",qL="tags";function I_(e,t){e&&e[t]&&ps(e[t])[xg]===0&&delete e[t]}var pfe=function(){function e(t,n,i){var o=this,s=t.logger;this.appId=function(){return null},this[T_]=function(){return null},pt(e,this,function(r){if(r.application=new ofe,r.internal=new rfe(n),Bc()){r[y_]=new lfe(n,t),r.device=new sfe,r.location=new afe,r.user=new dfe(n,t);var a=void 0,l=void 0,c;i&&(a=i.getTraceId(),l=i.getSpanId(),c=i.getName()),r[AT]=new cfe(a,l,c,s),r.session=new mj}r[T_]=function(){var u=r.session,p=null;if(u&&Ge(u.id))p=u.id;else{var m=(r[y_]||{})[Jd];p=m&&Ge(m.id)?m.id:null}return p},r[IL]=function(u,p){Ut(Un(u.ext,Xi.AppExt),"sesId",r[T_](),Ge)},r[DL]=function(u,p){Ut(u.ext,Xi.OSExt,r.os)},r[LL]=function(u,p){var m=r.application;if(m){var g=Un(u,qL);Ut(g,on.applicationVersion,m.ver,Ge),Ut(g,on.applicationBuild,m.build,Ge)}},r[RL]=function(u,p){var m=r.device;if(m){var g=Un(Un(u,OL),Xi.DeviceExt);Ut(g,"localId",m.id,Ge),Ut(g,"ip",m.ip,Ge),Ut(g,"model",m.model,Ge),Ut(g,"deviceClass",m.deviceClass,Ge)}},r[FL]=function(u,p){var m=r.internal;if(m){var g=Un(u,qL);Ut(g,on.internalAgentVersion,m.agentVersion,Ge),Ut(g,on.internalSdkVersion,m.sdkVersion,Ge),(u.baseType===jc.dataType||u.baseType===Io.dataType)&&(Ut(g,on.internalSnippet,m.snippetVer,Ge),Ut(g,on.internalSdkSrc,m.sdkSrc,Ge))}},r[NL]=function(u,p){var m=o.location;m&&Ut(Un(u,qL,[]),on.locationIp,m.ip,Ge)},r[ML]=function(u,p){var m=r[AT];if(m){var g=Un(Un(u,OL),Xi.TraceExt,{traceID:void 0,parentID:void 0});Ut(g,"traceID",m.traceID,Ge,de),Ut(g,"name",m.name,Ge,de),Ut(g,"parentID",m.parentID,Ge,de)}},r.applyWebContext=function(u,p){var m=o.web;m&&Ut(Un(u,OL),Xi.WebExt,m)},r[$L]=function(u,p){var m=r.user;if(m){var g=Un(u,qL,[]);Ut(g,on.userAccountId,m[qa],Ge);var f=Un(Un(u,OL),Xi.UserExt);Ut(f,"id",m.id,Ge),Ut(f,"authId",m[Zd],Ge)}},r.cleanUp=function(u,p){var m=u.ext;m&&(I_(m,Xi.DeviceExt),I_(m,Xi.UserExt),I_(m,Xi.WebExt),I_(m,Xi.OSExt),I_(m,Xi.AppExt),I_(m,Xi.TraceExt))}})}return e.__ieDyn=1,e}();var NNe=function(e){Ri(t,e);function t(){var n=e.call(this)||this;n.priority=110,n.identifier=Ad;var i,o,s;return pt(t,n,function(r,a){l(),r.initialize=function(p,m,g,f){a.initialize(p,m,g,f),c(p)},r.processTelemetry=function(p,m){if(!de(p)){m=r._getTelCtx(m),p.name===Io.envelopeType&&m.diagLog().resetInternalMessageCount();var g=r.context||{};g.session&&typeof r.context.session.id!="string"&&g[y_]&&g[y_][kg]();var f=g.user;if(f&&!f[v_]&&f[kg](g.user.id),u(p,m),f&&f[k_]){f[k_]=!1;var _=new jc(72,(Po()||{}).userAgent||"");YH(m.diagLog(),1,_)}r.processNext(p,m)}},r._doTeardown=function(p,m){var g=(p||{}).core();if(g&&g[PL]){var f=g[PL](!1);f===o&&g.setTraceCtx(s)}l()};function l(){i=null,o=null,s=null}function c(p){var m=r.identifier,g=r.core,f=Ji(null,p,g),_=t.getDefaultConfig();i=i||{},Et(_,function(h,k){i[h]=function(){return f.getConfig(m,h,k())}}),s=g[PL](!1),r.context=new pfe(g,i,s),o=rg(r.context[AT],s),g.setTraceCtx(o),r.context.appId=function(){var h=g.getPlugin(Qx);return h?h.plugin._appId:null},r._extConfig=i}function u(p,m){Un(p,"tags",[]),Un(p,"ext",{});var g=r.context;g[IL](p,m),g[LL](p,m),g[RL](p,m),g[ML](p,m),g[$L](p,m),g[DL](p,m),g.applyWebContext(p,m),g[NL](p,m),g[FL](p,m),g.cleanUp(p,m)}}),n}return t.getDefaultConfig=function(){var n,i,o=null,s=(n={instrumentationKey:function(){return i}},n[qa]=function(){return o},n.sessionRenewalMs=function(){return 30*60*1e3},n.samplingPercentage=function(){return 100},n.sessionExpirationMs=function(){return 24*60*60*1e3},n[LT]=function(){return o},n[x_]=function(){return o},n.isBrowserLinkTrackingEnabled=function(){return!1},n.appId=function(){return o},n[T_]=function(){return o},n[Dl]=function(){return i},n[S_]=function(){return i},n[w_]=function(){return i},n[Yd]=function(){return 22},n[Wd]=function(){return o},n);return s},t}(Ra),gj=NNe;var mfe="AuthenticatedUserContext",L_="track";var HL="snippet",gfe="getCookieMgr",ffe="startTrackPage",hfe="stopTrackPage",BL="flush",bfe="startTrackEvent",_fe="stopTrackEvent",fj="addTelemetryInitializer",lxt=fj+"s",hj="pollInternalLogs",jL="getPlugin",zL="evtNamespace",yfe=L_+"Event",vfe=L_+"Trace",kfe=L_+"Metric",xfe=L_+"PageView",Tfe=L_+"Exception",Sfe=L_+"DependencyData",wfe="set"+mfe,Cfe="clear"+mfe;var Efe="updateSnippetDefinitions",Afe="loadAppInsights",bj="endpointUrl";var RT="diagnosticLogInterval";var Pfe="disableFlushOnBeforeUnload",Ife="disableFlushOnUnload";var su="config",jr="context",MT="push",VL="version",Xd="queue",GL="connectionString",_j="instrumentationKey",$T="appInsights",yj="disableIkeyDeprecationMessage",vj="getTransmissionControls",R_="onunloadFlush",kj="addHousekeepingBeforeUnload",DT="indexOf";var xj,Lfe=[HL,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"];var Tj=function(){function e(t){var n=this,i,o,s,r,a,l,c;pt(e,this,function(u){k(),r=""+(t.sv||t[VL]||""),t[Xd]=t[Xd]||[],t[VL]=t[VL]||2;var p=t[su]||{};if(p[GL]){var m=DB(p[GL]),g=m.ingestionendpoint;p[bj]=g?g+Gc:p[bj],p[_j]=m.instrumentationkey||p[_j]}u[$T]=new cL,o=new gj,i=new pj,s=new oj,c=new fB,u.core=c;var f=de(p[yj])?!0:p[yj];!p[GL]&&!f&&ke(c.logger,1,106,"Instrumentation key support will end soon, see aka.ms/IkeyMigrate"),u[HL]=t,u[su]=p,_(),u[BL]=function(y){y===void 0&&(y=!0),_d(c,function(){return"AISKU.flush"},function(){De(c[vj](),function(x){De(x,function(P){P[BL](y)})})},null,y)},u[R_]=function(y){y===void 0&&(y=!0),De(c[vj](),function(x){De(x,function(P){P[R_]?P[R_]():P[BL](y)})})},u[Afe]=function(y,x,P){y===void 0&&(y=!1);function C(j){if(j){var O="";de(r)||(O+=r),y&&(O+=".lg"),u[jr]&&u[jr].internal&&(u[jr].internal.snippetVer=O||"-"),Et(u,function(pe,Ee){Ge(pe)&&!Ye(Ee)&&pe&&pe[0]!=="_"&&$i(Lfe,pe)===-1&&(j[pe]=Ee)})}}return y&&u[su].extensions&&u[su].extensions.length>0&&Ln("Extensions not allowed in legacy mode"),_d(u.core,function(){return"AISKU.loadAppInsights"},function(){var j=[];j[MT](s),j[MT](o),j[MT](i),j[MT](u[$T]),c.initialize(u[su],j,x,P),u[jr]=o[jr],xj&&u[jr]&&(u[jr].internal.sdkSrc=xj),C(u[HL]),u.emptyQueue(),u[hj](),u[kj](n)}),u},u[Efe]=function(y){RH(y,u,function(x){return x&&$i(Lfe,x)===-1})},u.emptyQueue=function(){try{if(Ct(u.snippet[Xd])){for(var y=u.snippet[Xd].length,x=0;x0?u[su][RT]:1e4}function h(){return i}function k(){a=Wi("AISKU"),l=null,i=null,o=null,s=null,r=null}})}return e.prototype.addDependencyInitializer=function(t){return null},e}();(function(){var e=null,t=!1,n=[":/https://www.microsoft.com/js.monitor.azure.com/","://az416426.vo.msecnd.net/"];try{var i=(document||{}).currentScript;i&&(e=i.src)}catch{}if(e)try{var o=e.toLowerCase();if(o){for(var s="",r=0;r{},trackException:()=>{},trackTrace:()=>{}};function Rfe(){if(!S.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"}[ee.hostname];if(!e)return;let t=new Tj({config:{instrumentationKey:e,disableFetchTracking:!1}});t.loadAppInsights();let n=()=>{w.isAuthenticated?t.setAuthenticatedUserContext(w.userId):t.clearAuthenticatedUserContext()};w.subscribe(Sn,n),n(),t.trackPageView(),lt.subscribe(_n,()=>{t.trackPageView({properties:{syntheticPageView:!0}})}),Ui=t}function Sj(e,t){return async function(...n){let i=t;for(;;)try{return await e.apply(null,n)}catch(o){if(i<=0)throw o;i--}}}async function Mfe(){let e={method:"POST"},t=J($.contentAuthorizationService.deleteCasTokenCookie,e,!0,!1);await Sj(async()=>{(await M(t)).ok},10)()}A();Ve();var FNe=0;function Xe(){return`ax-${FNe++}`}function ru(){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 On(e){return e?e.toLowerCase().replace(/_/g,"-").replace(/\W/g,"-"):""}var Dfe=d`
`;function wj(e=!0){let t=e?"color-text-subtle":"white-static-text";return e?d` `:d``}function $fe(e){return d` `}var UNe="casSignIn",QL=class e{constructor(t,n=!1){this.url=ts(t),n&&this.url.searchParams.set(UNe,"true"),this.source=this.url.searchParams.get("source"),this.source||(this.source=I("page_type")==="learn"||I("page_kind")==="learn"?"learn":"docs",I("uhfHeaderId")!=="answers"&&this.url.searchParams.set("source",this.source))}static getProfileContext(t){try{let n=t||location.href,i=new e(n),o=ts(n);return o.searchParams.delete("source"),{redirectUrl:o.href,source:i.source,microsoftUser:void 0}}catch{return{redirectUrl:void 0,source:void 0,microsoftUser:void 0}}}toString(){return this.url.href}};function Nfe(e,t=!1){let n=null;try{n=new QL(e,t).toString()}catch{n=location.href}return n}var lTt=new URL("./register",yc()).toString(),KL=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`,cTt=Ufe(),uTt=location.origin,ONe=R.supportLevel==="production"?"18fbca16-2224-45f6-85b0-f7bf2b39b3f3":"f602d4fb-244f-48be-a746-435fac3917df",qNe="https://login.microsoftonline.com",HNe="common",Lo,Ffe=async()=>{let e={auth:{clientId:ONe,authority:`${qNe}/${HNe}`,redirectUri:KL},cache:{cacheLocation:"localStorage"},system:{loggerOptions:{loggerCallback:(t,n,i)=>{if(!i)switch(t){case $t.Info:R.reviewFeatures&&console.info(n);return;case $t.Verbose:R.reviewFeatures&&console.debug(n);return;case $t.Warning:R.reviewFeatures?console.warn(n):Ui.trackTrace({message:n,severityLevel:$t.Warning,iKey:"learn.msal"});return;case $t.Error:R.reviewFeatures?console.error(n):Ui.trackTrace({message:n,severityLevel:$t.Error,iKey:"learn.msal"});return}}}}};Lo=new lx(e),await Lo.initialize()};function Ufe(){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 BNe(e,t=null,n=!1){let i=Nfe(e,n),o=Ufe(),s=encodeURIComponent(i),r=ru();return{scopes:["openid","profile","email"],prompt:t,redirectStartPage:o,nonce:r,redirectUri:KL,state:s}}function Ofe(e,t=null,n=!1){return Lo.setActiveAccount(null),Lo.loginRedirect(BNe(e,t,n))}var jNe={scopes:["openid","profile","email"]};function qfe(){try{let e=zNe();return e?Lo.acquireTokenSilent(Object.assign({},jNe,{prompt:"none",account:e})).then(t=>(iA(t.idToken),!0)).catch(()=>(oA(),!1)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}function zNe(e=zu()){if(!e)return null;let n=aA(e).preferred_username;return n?Lo.getAccount({username:n}):null}function qn(e=location.href,t="select_account",n=!1){Ofe(e,t,n)}var VNe=location.origin;async function tr(e=location.href,t=!1,n=!1){if(GNe(),t&&await M($.auth.signOut),dpe(),Xn()&&await Mfe(),rA(),oA(),!n){let i=ts(e,VNe);location.href=`${i.origin}${i.pathname}${i.search}`}}function GNe(){localStorage.removeItem("gitHubToken")}async function Cj(e,t,n,i){return ve({behavior:le.SIGNIN,actionType:Ce.OTHER,content:{autoIngest:!0,type:"learn-sso-attempt",loadTime:performance.now(),timeStamp:new Date().toISOString(),referrer:T.referrer,hasLoginHint:!!t,status:e,uuid:crypto.randomUUID(),errorCode:n,errorMessage:i}})}function Hfe({sso:e,loginHint:t}={}){return async function(n=()=>!1){if(e)try{await Se,Cj("started",t),jt({context:"sso",source:e},"replaceState");let i={scopes:["openid","profile","email"]};t&&(i.loginHint=t);let o=await Lo.ssoSilent(i);if(o)return rA(),iA(o.idToken),Cj("completed",t),!0}catch(i){return i instanceof ot&&await Cj("error",t,i.errorCode,i.errorMessage),i instanceof Cn&&(tr("",!1,!0),qn(window.location.href,"select_account")),n()}return n()}}function Bfe(e=oe().sso,t=oe().login_hint){return(e||t)&&jt({sso:null,login_hint:null},"replaceState"),{sso:e,loginHint:t}}function jfe(e=new URL(window.location.href)){let t=e.searchParams.get("redirectUrl");if(!t)return{};try{let n=new URL(t,"https://fakeurl.com"),i=n.searchParams.get("sso")??void 0,o=n.searchParams.get("login_hint")??void 0;return{sso:i,loginHint:o}}catch{return{}}}var YL=class{},WL=class{constructor(t,n,i=new je){this.stack=t,this.final=n,this.bus=i}async run(){let t=0,n=!0,i=this.final,o=[],s=this.bus.subscribe(YL,()=>n=!1),r=a=>(this.bus.publish(new YL),i=a||i,!1);try{for(;n&&this.stack[t];){let a=await this.stack[t](r);if(a||o[t]!==!1){o[t]=a,t+=a?-1:1;continue}n=!1}t>=0&&i(),s()}catch(a){throw s(),this.final(),a}}};var Vfe=$.profile.me,Gfe=Bfe(),zfe=jfe(),YTt=zfe.sso?zfe:Gfe,QNe=`${Vfe}?isCPMCalled=true`,Qfe=new URL("./register",yc()).toString();async function Tg(){let t=location.pathname.split("/").indexOf("edit")!==-1?QNe:Vfe;try{let i=await fetch(J(t,{credentials:"include"}));if(i.ok&&i.status!==204){let o=await i.json();w.readUserProfile(o)}else w.setAnonymous()}catch{w.setAnonymous()}}async function Kfe(e=()=>{w.setAnonymous()}){if(!S.userServices)return w.setAnonymous(),Promise.resolve();await new WL([KNe,YNe,Hfe(Gfe),qfe],e).run()}async function KNe(e=()=>!1){try{let t=Xn();if(t){let n=Zp(t);return w.readUserFromToken(n),!0}return!1}catch(t){return t instanceof ll?!1:e()}}async function YNe(e=()=>!1){try{let t=zu();if(t){Zp(t);let n=await AF(t);return sA(n),!0}return!1}catch(t){return t instanceof ll?!1:t instanceof mk?location.pathname.endsWith("/external-sign-in.html")?!1:e(WNe):e()}}function WNe(){if(I("page_kind")!=="register"&&(w.setAnonymous(),!location.href.includes("/answers"))){let n=re({redirectUrl:location.href});location.href=ts(`${Qfe}?${n}`).href;return}let e=zu();if(!e)return;let t=Zp(e);w.mapIdTokenToProfile(t)}function Yfe(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 ep=["a","area","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","summary","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'];function JL(e){return e.matches(ep.join(","))}function ZL(e,t=!0){return n=>{if(n.target instanceof Element&&!e.contains(n.target)){n.preventDefault();let i,o=Array.from(e.querySelectorAll(ep.join(",")));n.target.compareDocumentPosition(e)&(t?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING)&&o.reverse();let s=o.length;for(;s--;){let r=o[s],a=getComputedStyle(r);if(!r.hidden&&a.display!=="none"&&a.visibility!=="hidden"&&(r.offsetWidth>0||r.offsetHeight>0)){i=r;break}}i=i||e,i.focus()}}}function Ej(e){let t=e.createElement("span");return t.setAttribute("tabindex","0"),t.classList.add("modal-tab-sentinel"),t}A();var XL=[];function Sg(e){XL.push(e)}function Ot(e,t,n,i){e.addEventListener(t,n,i);let o=()=>e.removeEventListener(t,n,i);return Sg(o),o}function Wfe(e=document.documentElement,t=document.documentElement||document.body,n=(document.documentElement||document.body).scrollTop){return t.style.left="0",t.style.right="0",t.style.top=`-${n}px`,t.style.position="fixed",(i=!0)=>{t.style.left="",t.style.right="",t.style.top="",t.style.position="",i&&(e.scrollTop=n)}}var M_=e=>{let t=e.querySelector("[data-autofocus]");if(t&&JL(t)){t.focus();return}e.focus()},ye=class e{constructor(t,n="visibility-hidden-visual-diff"){this.restoreScrollbar=()=>{};this.clickHandler=t=>{let n=t.target,i=n.closest(".modal-pop-content"),o=n.closest(".modal-close");o?(t.preventDefault(),this.hide(o.getAttribute("data-modal-result"))):i&&(t.preventDefault(),this.popContent())};this.escHandler=t=>{if(t.key==="Escape"){if(T.activeElement&&T.activeElement.closest(".popover[open]"))return;t.preventDefault(),this.hide()}};this.setAriaLabelledBy=t=>{let n=t.querySelector("h1")||t.querySelector("h2")||t.querySelector("h3")||t.querySelector("h4")||t.querySelector("p")||t.querySelector("figcaption");n&&(n.id||(n.id="modal-heading"),t.setAttribute("aria-labelledby",n.id))};this.container=T.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"),n&&this.container.classList.add(n),this.container.setAttribute("data-test-id","modal-container"),v(d` ${t} `,this.container),window.addEventListener("close-modals",()=>{this.hide()}),this.wrapper=T.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++,T.body.insertAdjacentElement("afterbegin",Ej(T)),T.body.insertAdjacentElement("afterbegin",this.wrapper),this.wrapper.addEventListener("click",this.clickHandler),this.wrapper.addEventListener("keydown",this.escHandler),this.restoreScrollbar=Wfe(T.documentElement,T.scrollingElement||T.documentElement,(T.scrollingElement||T.documentElement||T.body).scrollTop),this.container.classList.add("is-active"),T.body.insertAdjacentElement("afterbegin",Ej(T)),this.setAriaLabelledBy(this.container),window.dispatchEvent(new CustomEvent("modal-show",{detail:{container:this.container}})),this.lastFocus=T.activeElement,this.focusHandler=ZL(this.wrapper),Ot(window,"focus",this.focusHandler,!0),M_(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(T.body.querySelectorAll(".modal-tab-sentinel")).forEach(n=>{T.body.removeChild(n)}),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,n=!0,i=!1){let o=this.container.querySelector(".modal-slide-container"),s=o.querySelector(".modal-slide:first-of-type");if(o===null||s===null)throw new Error(`The ${o===null?"modal-slide-container":"modal-slide"} class is missing!`);o.appendChild(t);let r={forward:ct.userDir==="ltr"?"slide-right":"slide-left",backward:ct.userDir==="ltr"?"slide-left":"slide-right"},a=i?r.forward:r.backward;n?(setTimeout(()=>{s.classList.add(a),t.classList.add(a)},50),setTimeout(()=>{t.classList.remove(a),l(this)},250)):l(this);function l(c){o.removeChild(s),M_(c.container),c.setAriaLabelledBy(c.container)}}pushContent(t){this.contentStack.push(t),v(d` ${this.contentElement} `,this.container),this.setAriaLabelledBy(this.container),M_(this.contentElement)}popContent(){if(this.contentStack&&this.contentStack.length<=1)throw new Error("Error getting modal content");this.contentStack.pop(),v(d` ${this.contentElement} `,this.container),M_(this.contentElement)}get contentElement(){return this.contentStack[this.contentStack.length-1]}};A();var eR={setItem(e,t,n){try{let i=n.getTime();if(Date.now()>=i)return;let o={value:t,expiry:i};X.setItem(e,JSON.stringify(o))}catch{}},getItem(e){try{let t=X.getItem(e);if(!t)return null;let n=JSON.parse(t);return typeof n.expiry!="number"||isNaN(n.expiry)||Date.now()>=n.expiry?(X.removeItem(e),null):n.value}catch{return null}},removeItem(e){X.removeItem(e)},clear(){X.clear()}};A();var tR=location.pathname.split("/").map(e=>e.toLowerCase()),JNe=tR.length>2?tR[2]:"",qt=JNe==="test";function Jfe(){let e=I("original_content_git_url")||I("original_ref_skeleton_git_url")||"",t=e;if(t!==""&&t.substring(0,8)==="https://")try{let n=new URL(e);t=`${n.pathname}${n.search}`}catch{t=t.substring(8)}return t}function nR(){let e=ZNe(),t;return qt?t=`/${b.data.userLocale}/test/training/support/troubleshooting${e}`:t=`/${b.data.userLocale}/training/support/troubleshooting${e}`,t}function ZNe(){let e={uid:I("uid")||"",documentId:I("document_id")||"",versionIndependentDocumentId:I("document_version_independent_id")||"",platformId:I("platform_id")||"",contentPath:Jfe(),url:location.href,author:I("ms.author")||""},t=Object.keys(e).reduce((n,i)=>{let o=e[i];return o===void 0||o.trim().length===0||n.push(`${i}=${encodeURIComponent(o)}`),n},[]);return t.length===0?"":`?${t.join("&")}`}function iR(e,t=qn){let n=new URL(e||location.href);n.searchParams.set("account-linking","1"),t(n.href,"login")}var xs={Cancel:{text:Fe,clickHandler:xh,modifiers:"button-primary",biName:"add-account-error-cancel"},ContactCustomerSupport:{text:DY,clickHandler:()=>{location.href=nR()},modifiers:"button-primary button-filled",biName:"add-account-error-contact-support"},Ok:{text:Ei,clickHandler:xh,modifiers:"button-primary button-filled",biName:"add-account-error-ok"},SelectAccount:{text:wre,clickHandler:()=>iR(),modifiers:"button-primary button-filled",biName:"add-account-error-select-account"}};function XNe(e){return{accountAlreadyRegistered:{title:pre.replace("{account}",e),description:bre,buttons:[xs.Cancel,xs.SelectAccount]},alreadyHasCertProfileConnected:{title:Cre,description:Ere,buttons:[xs.ContactCustomerSupport]},alreadyLinked:{title:_re,description:G2,buttons:[xs.Cancel,xs.SelectAccount]},moreThanOneAccountPerTenant:{title:fre,description:`${kre} ${G2}.`,buttons:[xs.Ok]},moreThanOneMSAAccount:{title:xre,description:yre.replace("{account}",e),buttons:[xs.Ok]},needAtLeastOneAccountLinked:{title:vre,description:hre,buttons:[xs.Ok]},numberOfAccounts:{title:mre,description:gre,buttons:[xs.Ok]},profileMergeRunning:{title:Tre,description:Sre,buttons:[xs.Ok]},profileMergeAlreadyComplete:{title:Ire,description:Lre,buttons:[xs.Ok]},profileMergeRecordNotFound:{title:Rre,description:Mre,buttons:[xs.Ok]},previousMergeAttemptPreventsAction:{title:$re,description:Dre,buttons:[xs.Ok]},unexpectedError:{title:en,buttons:[xs.Ok]}}}function Aj(e,t){let n=XNe(e)[t];return d` ${n.title?d`

${n.title}

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

${U(n.description)}

`:null} ${n.buttons?d`
${n.buttons.map(i=>d``)}
`:null} `}var e2e={Complete:{color:"success",icon:"docon-status-success-outline",text:Nre},Failed:{color:"danger",icon:"docon-status-failure-outline",text:Fre},Running:{color:"warning",icon:"docon-status-info-outline",text:Bre},Terminated:{color:"success",icon:"docon-status-success-outline",text:jre}};function t2e(){return eR.getItem("check-merge-status")!==null}function n2e(){eR.removeItem("check-merge-status")}async function oR(e=!1){if(!(!e&&!t2e()))try{let t=await LF();if(t===null||(Pj(t),t!=="Running"))return;let n=setInterval(async()=>{t=await LF(),t!==null&&(Pj(t),t!=="Running"&&(clearInterval(n),n2e()))},3e4)}catch{}}async function i2e(){try{await Gle()}catch{}}function o2e(e){return d`
`}async function Pj(e){if(e==="Acknowledged")return;if(e==="Locked"){s2e();return}e==="Complete"&&Ds.type==="profile"&&await Tg();let t=e2e[e];if(!t)return;let n=qre,i=Hre;if(e==="Failed"){let l=await Vle();if(!l)return;let c=l.sourceUserName,u=l.destinationUserName;t.text=t.text.replace("{sourceUser}",ze(c)),t.text=t.text.replace("{destinationUser}",ze(u)),n=n.replace("{terminateMergeText}",K2),i=i.replace("{retryMergeText}",Q2)}let o=d`

${Ure}


${Ore}

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

${t.text}

${e==="Failed"?d`${o} ${o2e(a)}`:""}
${e==="Complete"?d``:null}
`,a))}function s2e(){let e=document.createElement("div"),t=new ye(e);v(d` `,e),t.show(),document.querySelector(".modal").addEventListener("click",i=>{i.preventDefault(),i.stopPropagation(),tr(location.origin,!0)})}async function r2e(e){Xfe(e,"Terminate")}async function a2e(e){Xfe(e,"Retry")}async function Zfe(e,t){e.classList.remove("is-loading");let n=document.createElement("div"),i=new ye(n);ehe(i,t),await i.show(),e.disabled=!1}async function Xfe(e,t){let n,i;t==="Terminate"?(n=e.querySelector("#terminate-failed-merge"),i=$.profile.userCancelMerge):(n=e.querySelector("#retry-failed-merge"),i=$.profile.userRetryMerge);try{n.classList.add("is-loading"),n.disabled=!0;let o=await l2e(i);if(o.hasError){let s=o.errors[0]||"unexpectedError";await Zfe(n,s)}else t==="Terminate"?Pj("Terminated"):location.reload()}catch{await Zfe(n,"unexpectedError")}}async function l2e(e){let n=await M(J(e,{method:"POST"}));if(me(n),n.ok)return Xp(n,!1),{hasError:!1};if(n.status===400){let i=await n.json();if(i.errorCode==="ProfileMergeRunning")return{hasError:!0,message:n.statusText,errors:["profileMergeRunning"]};if(i.errorCode==="ProfileMergeComplete")return{hasError:!0,message:n.statusText,errors:["profileMergeAlreadyComplete"]};throw new Error(`Unexpected response status ${n.status} for ${e}`)}else{if(n.status===404)return{hasError:!0,message:n.statusText,errors:["profileMergeRecordNotFound"]};throw new Error(`Unexpected response status ${n.status} for ${e}`)}}function ehe(e,t="unexpectedError",n=""){v(d` `,e.contentElement),e.show()}A();var sR,rR;async function the(e){Ij(e)&&await c2e()}function Ij(e){let t=I("page_type")==="profile",n=I("page_kind");if(!e.isAuthenticated||t&&n!=="register")return!1;let i=!1;return e.acceptedPrivacyNotice.getTime()&&(i=e.userType==="standard"||new Date(e.acceptedPrivacyNotice)>=CF),!i}async function c2e(){if(!sR){let e=T.createElement("div");e.classList.add("modal-content"),v(d` `,e),sR=new ye(e),rR=e.querySelector("#consentModal"),nhe()}await Se,sR.show()}function nhe(){let e=w.userType==="microsoft"?fX:ZE,t=()=>zle(),n=d` `;v(n,rR)}function u2e(){let e=d` `;v(e,rR),d2e(rR)}async function d2e(e){let t=e.querySelector("#error-message"),n=e.querySelector("#consent-delete-acct");t.setAttribute("hidden","hidden"),n.onclick=async()=>{n.classList.add("is-loading");try{await jle()?(sR.hide(),await tr(location.origin,!0)):t.removeAttribute("hidden")}catch(i){throw t.removeAttribute("hidden"),new Error(`error: ${i.message}`)}finally{n.classList.remove("is-loading")}}}function p2e(e,t,n,i){return i&&i.length!==0||e==="microsoft"?hX.replace("{email}",i||n):t==="AAD"||e==="aad"?s8.replace("{email}",n):GY}async function ihe(e,t,n){let i=()=>n.setAttribute("data-authenticated",e.isAuthenticated.toString());i(),e.subscribe(Sn,i),await t,n.setAttribute("data-auth-status-determined","true")}var Pe={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 au="docs-sign-in",Lj="docs-sign-out",ohe="docs-change-directory";function she(e){g2e(e),e.addEventListener("click",m2e)}function m2e(e){if(!(e.target instanceof Element))return;let t=e.target.closest(`.${au}, .${Lj}, .${ohe}`);if(!t)return;let n=t.classList.contains(au);e.preventDefault();let o=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(ohe))Yfe(o);else if(n){let s=b.data.isPermissioned;qn(o,"select_account",s)}else tr(o,!0)}function g2e(e){let t=n=>{if(!(n.target instanceof Element))return;let i=n.target.closest(`.${au}, .${Lj}`);if(!i)return;let o=i.classList.contains(au);n.target.setAttribute("data-m",JSON.stringify({cN:o?au:Lj,bhvr:o?100:101}))};e.addEventListener("touchstart",t,!0),e.addEventListener("pointerdown",t,!0),e.addEventListener("keyup",n=>{n.which===Pe.enter&&t(n)},!0)}var Rj,_e=new Promise(e=>Rj=e);async function rhe(e){if(!S.userServices){Rj(),Se.then(()=>{let t=T.getElementById("docs-sign-in-container-item");t&&(t.hidden=!0)});return}await Ffe(),await Lo.handleRedirectPromise(),ihe(w,_e,T.documentElement),she(T.documentElement),S.permissionedContent&&Se.then(t=>{T.documentElement.querySelectorAll("[data-permissioned-content]").forEach(n=>n.hidden=!1)}),w.subscribe(Sn,async()=>{await Promise.all([e.siteHeaderRendered,Se]),EF(T.documentElement,w)}),Kfe().then(Rj),_e.then(async()=>{if(w.userType!=="standard"&&the(w),!w.isAuthenticated)return;if(!Ij(w)){await Se,oR();return}let t=new URL("./register",yc(b.data.userLocale));if(location.pathname===t.pathname)return;let n=re({redirectUrl:location.href});location.href=`${t.toString()}?${n}`})}A();function ahe(){let e=location.pathname.toLowerCase();if(qt&&e!==`/${b.data.userLocale}/test/docs/architecture/icons/`)return;if(!qt&&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=T.querySelector(".content a.button"),n=t.href;t.parentElement.parentElement.classList.add("margin-bottom-lg");let i=()=>{T.querySelector('.azure-icons-consent input[type="checkbox"]').checked?(t.href=n,t.removeAttribute("disabled")):(t.href="http://approjects.co.za/?big=javascript:void(0)",t.setAttribute("disabled","disabled"))},o=a=>{let l=a.target instanceof HTMLElement&&a.target;l&&l.parentElement.classList.contains("azure-icons-consent")&&i()},s=T.getElementById("consent-checkbox");s.classList.add("margin-block-sm");let r=s.textContent;v(f2e(r),s),i(),H.addEventListener("change",o)}function f2e(e){return d` `}A();function h2e(e,t){let n={};return e.querySelectorAll("li > a").forEach(o=>{if(o.textContent){let s=t?o.textContent="default":o.textContent.trim().slice(1,-1).split("|");if(s.length===2){let r=s[0].trim(),a=s[1].trim(),l=o.href;r&&a&&l&&(n[r]||(n[r]={}),n[r][a]=l)}}}),n}function lhe(e){let t=document.createElement("a");return t.href=e,t.host===""&&(t.href=t.href),t.protocol+"//"+t.host+t.pathname}function b2e(e){let t=window.location.href.toLowerCase(),n=lhe(t);for(let i in e)for(let o in e[i]){let s=e[i][o].toLowerCase();if(lhe(s).localeCompare(n,void 0,{sensitivity:"base"})===0)return[i,o]}return null}function _2e(e,t,n){function i(u){return[u,u]}function o(u){window.location.href=u}let s=h2e(e,t),r=b2e(s),a=document.createElement("div");a.classList.add("azureselector"),a.classList.add("display-none-print");let l=e.getAttribute("title1"),c=che(a,l);if(Mj(c,s,i,!1,n),r&&(c.value=r[0]),t)c.addEventListener("change",()=>{c.value&&o(s[c.value].default)});else{let u=e.getAttribute("title2"),p=che(a,u);c.addEventListener("change",()=>{Mj(p,c.value?s[c.value]:{},i,!1,n)}),p.addEventListener("change",()=>{c.value&&p.value&&o(s[c.value][p.value])}),Mj(p,c.value?s[c.value]:{},i,!1,n),r&&(p.value=r[1])}e.insertAdjacentElement("afterend",a)}function uhe(){let e=_9,t=document.querySelector(".op_single_selector"),n=document.querySelectorAll(".op_multi_selector");t&&y2e(t),n.forEach(i=>{_2e(i,!1,e)})}function y2e(e){let t=e.parentNode,n=e.getAttribute("title1"),i=Array.from(document.querySelectorAll(".op_single_selector > ul > li")),o=Array.from(document.querySelectorAll(".op_single_selector > ul > li > a")),s=[];o.map(c=>{let u={title:c.textContent,href:c.href};s.push(u)});let r=i[0].firstElementChild.getAttribute("href")?v2e(s):i.shift().textContent,a=document.createElement("nav");a.classList.add("margin-top-xxs","display-none-print"),a.setAttribute("aria-label",n||"Dropdown menu"),t.replaceChild(a,e);let l=k2e(r,s,n);v(l,a)}function v2e(e){let t=decodeURI(location.pathname).toLowerCase();for(let n of e)if(new URL(n.href,location.href).pathname.toLowerCase()===t)return n.title;return e[0].title}function k2e(e,t,n){let i=d``,o=[];n&&(i=d`${n}`);let s="padding-xxs";for(let r of t)o.push(d`
  • ${r.title}
  • `);return d` ${i} `}function che(e,t){let n=document.createElement("div");n.classList.add("display-inline-block-tablet","margin-block-xxs","margin-right-xs-tablet");let i=Xe(),o=d`
    ${t?d` `:""}
    `;return v(o,n),e.appendChild(n),n.querySelector("select")}function Mj(e,t,n,i,o){let s=[];i||s.push(d``);for(let r in t){let a=n(r,t[r]);a&&a.length===2&&s.push(d``)}v(s,e)}var Mn={value:null};async function $j(e,t,n){let i={scopes:[e],forceRefresh:!0,authority:`https://login.microsoftonline.com/${t}`};return await dhe(i,n)}async function dhe(e,t){try{return await Lo.acquireTokenSilent(e)}catch(n){if(Ui.trackTrace({message:`Acquire Token Silent Failure - ${w?.userName} - ${e.scopes.toString()} - ${e.authority} - ${n?.message}`}),Ui.trackException(n),n instanceof Cn&&t.noInteraction===!1)try{return await Lo.acquireTokenPopup(e)}catch(i){return Ui.trackTrace({message:`Acquire Token Popup Failure - ${w?.userName} - ${e.scopes.toString()} - ${e.authority} - ${i?.message}`}),Ui.trackException(i),null}return null}}async function x2e(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("@"),n=t[1]?t[1].split(".")[0]:"",o=`https://login.windows.net/${`${t[0]}${n}.onmicrosoft.com`}/.well-known/openid-configuration`,r=await(await M(o,{method:"GET"})).json();if("error"in r&&r.error==="invalid_tenant")throw new Error(`${r.error}: ${r.error_description}`);if("issuer"in r)return r.issuer.split("/")[3];throw new Error("Issuer not found in OpenID configuration")}function T2e(e){return![Ole,qle,Ule].includes(e)}var NT={async tryLoadTokens(e={noInteraction:!0}){if(await _e,!w.isAuthenticated)return Ui.trackTrace({message:`Try Load Token User Not Authenticated - ${w?.userName}`}),null;try{let t=zu(),i=aA(t).preferred_username,o=Lo.getAccount({username:i});Lo.setActiveAccount(o);let s=I("interactive")?.toLowerCase(),r=s&&(s==="powershell"||s==="bash"),a=I("rest_product")?.toLowerCase()??"",l=o?.tenantId===cA||o?.homeAccountId.split(".")[1]===cA,c=[],u="",p=null;try{u=l?await x2e(o):"organizations"}catch{return c}let m={scopes:["https://management.azure.com/user_impersonation"],forceRefresh:!0,authority:`https://login.microsoftonline.com/${u}`,redirectUri:KL},g=await dhe(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(k=>T2e(k.tenantId));for(let k of p.value){if(!k.tenantId)continue;let y={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:k.displayName,default_domain:k.defaultDomain,tenant_id:k.tenantId},x={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"},P=await $j(x[a]??x.arm,k.tenantId,e);if(y.access_token=P?.accessToken,y.access_token_type=P?.tokenType,y.expires_at=P?.expiresOn?.valueOf().toString()??"",r){let C=await $j("https://vault.azure.net/user_impersonation",k.tenantId,e);y.key_vault_access_token=C?.accessToken,y.key_vault_access_token_type=C?.tokenType,y.key_vault_expires_at=C?.expiresOn.valueOf().toString();let j=await $j("https://graph.microsoft.com/.default",k.tenantId,e);y.msgraph_access_token=j?.accessToken,y.msgraph_access_token_type=j?.tokenType,y.msgraph_expires_at=j?.expiresOn.valueOf.toString()}c.push(y)}return c}catch(t){return Ui.trackTrace({message:`Try Load Token Failure - ${w?.userName} - ${t?.message}`}),Ui.trackException(t),null}}};var S2e=5*60*1e3,phe=0;function ghe(){document.addEventListener("visibilitychange",mhe,{passive:!0}),mhe()}function mhe(){document.visibilityState==="visible"?phe=setInterval(w2e,S2e):clearInterval(phe)}function w2e(){Mn.value&&NT.tryLoadTokens().then(e=>{let t=e.find(n=>n.default_domain===Mn.value.default_domain);t&&(Mn.value=t)})}function fhe(){return S.banner?(document.querySelectorAll("[data-banner-dismiss]").forEach(t=>{let n=t.closest(".banner");n&&(n.hidden=E2e(t.getAttribute("data-banner-dismiss")))}),document.addEventListener("click",C2e)):void 0}function C2e(e){let t=e.target instanceof HTMLElement&&e.target.closest("button[data-banner-dismiss]");if(!t)return;let n=t.getAttribute("data-banner-dismiss"),i=JSON.parse(X.getItem("dismissed-banners"));return i?(i.push(n),X.setItem("dismissed-banners",JSON.stringify(i))):X.setItem("dismissed-banners",JSON.stringify([n]))}function E2e(e){let t=JSON.parse(X.getItem("dismissed-banners"));return t?t.some(n=>n===e):!1}var Dj;function Nj(){if(Dj===void 0){let e=I("api")||"/en-us/rest/api/rest-products.json";Dj=M(e,{credentials:"include"}).then(t=>t.json())}return Dj}function hhe(e){return e==="rest"?Nj().then(t=>L2e(t,e)).catch(()=>({platformId:e,displayName:e,families:[]})):M(`${$.monikers}/byPlatform/${encodeURIComponent(e)}`).then(t=>t.json()).then(t=>P2e(t,e)).catch(()=>({platformId:e,displayName:e,families:[]}))}function bhe(e){return M(`${$.monikers}/bymoniker/${encodeURIComponent(e)}`).then(t=>t.ok?t.json().then(n=>(I2e(e,n),n)):Promise.reject(null)).then(t=>_he(t)).catch(()=>Fj(e))}function Fj(e){return{displayName:e,products:[{displayName:e,packages:[{displayName:e,isDefault:!0,moniker:e,versionDisplayName:e,isDeprecated:!1,isPrerelease:!1}]}]}}function _he(e){return{displayName:e.familyName,products:e.products.map(({productName:t,packages:n})=>({displayName:t,packages:n.sort((i,o)=>o.order-i.order).filter(i=>A2e(i)).map(i=>({displayName:i.monikerDisplayName,isDefault:i.isDefault,moniker:i.monikerName,versionDisplayName:i.versionDisplayName,isDeprecated:i.isDeprecated,isPrerelease:i.isPrerelease}))}))}}function A2e(e){return b.data.brand==="mooncake"?e.monikerName!=="azure-cli-2017-03-09-profile":!0}function P2e(e,t){return{platformId:t,families:e.map(_he)}}function I2e(e,t){if(!t.products.find(n=>!!n.packages.find(i=>i.monikerName===e)))throw new Error(`The family "${t.familyName}" does not contain the moniker "${e}".`)}function L2e(e,t){return{platformId:t,families:[{displayName:"",products:[{displayName:"",packages:e.map(n=>({displayName:n.name,moniker:n.scope,versionDisplayName:n.name,isDefault:!1,isDeprecated:!1,isPrerelease:!1}))}]}]}}function si(e,t,n=0,i=[]){for(let o of e){i.length=n;let s=t(o,i);if(!s)return 0;if(s!==2&&(i[n]=o,o.children&&!si(o.children,t,n+1,i)))return 0}return 1}var Ro="moniker-changed",Uj="same-moniker-selected",yhe=()=>{let e=oe().view;return e===void 0?"":e.toLowerCase()},FT=yhe();function rt(){return FT}function tp(e){if(e===FT){H.dispatchEvent(new CustomEvent(Uj,{detail:{moniker:FT}}));return}FT=e,H.dispatchEvent(new CustomEvent(Ro,{detail:{moniker:FT}}))}H.addEventListener("popstate",()=>tp(yhe()));var Nl={"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 np=/^\/([a-z]{2,3}-(?:[a-z]{4}-)?[a-z]{2})(\/|$)/i,R2e="MarketplaceSelectedLocale",M2e=["ContentPage","Conceptual","Module","ModuleUnit","LearningPath"];function Oj(e){return!!Nl[e]}function UT(e){let t=np.exec(e);return t===null?"en-us":t[1].toLowerCase()}function nt(e,t,n=!0){return!e||!Oj(t)||e.indexOf("http://")===0||e.indexOf("https://")===0||e.indexOf("//")===0?e:np.test(e)?n?wg(e,t):e:"/"+t+e}function ri(e){return e.replace(np,"/")}function wg(e,t){return e.replace(np,`/${t}$2`)}async function vhe(){let e=b.data.userLocale,t=b.data.contentLocale,n=ct.machineTranslated;b.data.userLocaleName=Nl[e],await Se,t!==e&&/^en/.test(t)&&!/^en/.test(e)&&!n&&M2e.indexOf(b.data.pageTemplate)!==-1&&tn(N2e(b.data.pageTemplate,e)),qj(e)}function khe(e){ls.set(R2e,e,{expires:365*10})}function qj(e){Array.from(document.querySelectorAll(".locale-selector-link")).forEach(t=>$2e(t,e))}function $2e(e,t){let n=e.querySelector(".local-selector-link-text"),i=Nl[t];n?n.textContent=i:e.textContent=i,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 o=NY.replace("{language}",i);e.setAttribute("aria-label",o)}function D2e(e){return Sr("localization_scopes").indexOf(e)!==-1}function N2e(e,t){let n=D2e(t),i=Nl[t];return e==="LearningPath"?n?gW.replace("{language}",i):fW.replace("{language}",i):e==="Module"||e==="ModuleUnit"?n?hW.replace("{language}",i):bW.replace("{language}",i):mW}var F2e=/^([.\/]*\/)?([^\?#]*)?(\?[^#]*)?(#.*)?$/,OT=/(^|\/)index$/i,U2e=R.accessLevel==="local"&&b.environment===void 0,Hj={};function O2e(e,t){let{origin:n,pathname:i}=_F(e),o={"/":`/${t}/`},s=i.split("/"),r="";for(;s.length>2;){s.pop();let a=s.join("/")+"/";o[r]=a,o["./"+r]=a,r+="../"}return{origin:n,relMap:o}}var $_=class{constructor(t,n,i,o,s){this.external=t;this.origin=n;this.pathname=i;this.search=o;this.hash=s}get href(){return this.origin+this.pathname+this.search+this.hash}originAndPathnameEquals({origin:t,pathname:n}){return this.pathname.length===n.length&&this.origin.length===this.origin.length&&this.pathname.localeCompare(n,void 0,{sensitivity:"base"})===0&&this.origin.localeCompare(t,void 0,{sensitivity:"base"})===0}originAndPathnameStartsWith({origin:t,pathname:n}){return this.pathname.length>=n.length&&(n[n.length-1]==="/"||this.pathname[n.length]===void 0||this.pathname[n.length]==="/")&&this.origin.length===t.length&&this.pathname.substr(0,n.length).localeCompare(n,void 0,{sensitivity:"base"})===0&&this.origin.localeCompare(t,void 0,{sensitivity:"base"})===0}};function eo(e,t,n=b.data.userLocale,i=ee.origin){let[o,s,,,r,a]=e;if(o==="/"&&s==="/"||r===":"||a===":"){let{origin:y,pathname:x,search:P,hash:C}=_F(e);if(y!==i)return new $_(!0,y,x,P,C);let j=np.exec(x);return(!j||!Oj(j[1]))&&(x="/"+n+x),x=decodeURIComponent(x.replace(OT,"$1")),new $_(!1,y,x,P,C)}Hj[t]===void 0&&(Hj[t]=O2e(t,n));let{origin:l,relMap:c}=Hj[t],u=F2e.exec(e),[,p="",m="",g="",f=""]=u,_=c[p];U2e&&(m=m.replace(/\.html$/i,""));let h=m.replace(OT,"$1");h.indexOf("%")!==-1&&(h=decodeURIComponent(h));let k=_+h;return new $_(!1,l,k,g,f)}function ip({origin:e,pathname:t,search:n,hash:i}=ee){return t=Bj(t),t=decodeURIComponent(t).toLowerCase().replace(OT,"$1"),new $_(!1,e,t,n,i)}function Bj(e){return e.replace(/\/+/g,"/")}var q2e=ip(),lR=I("moniker_definition_rel"),aR,jj=new Map,Cg=!!lR&&lR.endsWith(".json");function zj(){if(!lR)return null;let e=eo(lR,q2e.href);return She(e.href)}async function The(e){let t=[],n=rt();for(let i of e)if(i.metadata?.moniker_definition_rel){let o=eo(i.metadata.moniker_definition_rel,i.url);t.push(She(o.href).then(({monikerSet:s})=>xhe(i.nodes,s)))}else n&&t.push(Promise.resolve(xhe(i.nodes,new Set([n]))));await Promise.all(t)}function xhe(e,t){t?.size&&si(e,(n,i)=>{if(n.monikers===void 0&&i&&i.length){let o=i[i.length-1];o.monikers&&o.monikers.length&&(n.monikers=o.monikers)}if(n.monikers&&n.monikers.length&&n.selectedMoniker===void 0){let o=n.monikers.find(s=>t.has(s));n.selectedMoniker=o===void 0?null:o}return!0})}function She(e){let t={family:null,monikerSet:new Set};if(!e)return Promise.resolve(t);let n;return jj.has(e)?n=jj.get(e):(n=M(e,{credentials:"include"}).then(i=>i.json()).then(i=>H2e(i)).catch(()=>t),jj.set(e,n)),n}function H2e(e){let t=null,n=new Set,i=rt(),o=e.products.reduce((s,r)=>{let a=r.familyName;return s[a]=s[a]||[],s[a].push(r),s},{});return Object.keys(o).forEach(s=>{let r="",a=!1,l=o[s];l.forEach(u=>{u.monikers.forEach(p=>{p.isDefault&&(r=p.monikerName),p.monikerName===i&&(a=!0,t=B2e(s,l))})});let c=a?i:r;c&&n.add(c)}),{family:t,monikerSet:n}}async function whe(){if(aR===void 0){let e=rt();if(Cg){let t=await zj();aR=Promise.resolve(t?.family??Fj(e))}else aR=bhe(e)}return aR}function B2e(e,t){return{displayName:e,products:t.map(n=>({displayName:n.productName,packages:n.monikers.sort((i,o)=>o.order-i.order).map(i=>({moniker:i.monikerName,displayName:i.monikerDisplayName??i.monikerName,versionDisplayName:i.versionDisplayName??i.monikerName,isDefault:i.isDefault??!1,isDeprecated:i.isDeprecated??!1,isPrerelease:i.isPrerelease??!1}))}))}}var Vj;function Ba(){return Vj===void 0&&(Vj=whe()),Vj}function D_(e,t){for(let n of e.products)for(let i of n.packages)if(i.moniker===t)return i;return null}var N_=null;async function Che(e=b.data.pageTemplate){cR();let t=oe(),n=t.viewFallbackFrom,i=t.branchFallbackFrom,o=t.branch;if(n&&e!=="NotFound"){j2e(n);return}i&&o&&z2e(i,o)}async function j2e(e){let t=await Ba(),n=D_(t,e);n&&(N_=tn(kX.replace("{moniker}",ze(n.displayName))))}function z2e(e,t){N_=tn(T9.replace("{branchFallbackFrom}",ze(e)).replace("{branch}",ze(t)))}function cR(){if(N_){let e=N_.firstElementChild;if(!e)return;N_.removeChild(e),N_=null,Pt()}}function Ehe(){R.supportLevel==="production"&&R.reviewFeatures&&tn(pW)}A();var uR=[];var qT="banner-instructions",HT="banner-instructions-locale",V2e=1e3*60*60;function Ahe(e=S.temporaryClientSideEventBanners){if(e){try{Qj()}catch{X.removeItem(qT),X.removeItem(HT)}Gj()}}async function Gj(e=M,t=new Date){let n=Phe();if(n&&n.date.getTime()+V2e>Date.now())return;let i=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",o=new URL(`/${b.data.userLocale}/${i}banners/index.json`,location.origin);if(R.reviewFeatures){let a=new URLSearchParams(location.search).get("api-branch")??"main";o.searchParams.set("branch",a)}let s=await e(o.href),{banners:r=[]}=s.ok?await s.json():{};X.setItem(qT,JSON.stringify({date:t,banners:r})),X.setItem(HT,b.data.userLocale)}function Qj(){let e=Phe();if(!e)return;let t=b.data.userLocale,n=e.banners.filter(i=>i.location==="sectional"&&i.scope.accessLevels.includes("online")&&i.content.text&&(!i.scope.locales||i.scope.locales.includes(t))).map(({uid:i,scope:o,content:s,displayType:r})=>{let[a,l]=s.text.split("|");l||(l=a,a=""),a=a.trim(),l=l.trim();let c=o.paths.map(g=>{let f=!g.endsWith("*");return{path:g.substring(1).replace(/\*/g,""),fullPathMatch:f}}),u="",p="";return s.link&&(u=s.link.title,p=s.link.href.startsWith("/")?`/${t}${ri(s.link.href)}`:s.link.href),{id:i,startTime:o.startDate,endTime:o.endDate,bannerPaths:c,eventTitle:a,eventDescription:l,linkHref:p,linkText:u,imageUrl:s.imageUrl,displayType:r,displayedEventStartDate:o.displayedEventStartDate,displayedEventEndDate:o.displayedEventEndDate}});uR.push(...n)}function Phe(e=b.data.userLocale){let t=X.getItem(qT),n=X.getItem(HT);if(n&&n!==e||!t)return X.removeItem(qT),X.removeItem(HT),null;try{let o=JSON.parse(t);if(o.date=new Date(o.date),isNaN(o.date.getTime()))return null;for(let s of o.banners){if(s.scope.startDate=new Date(s.scope.startDate),s.scope.endDate=new Date(s.scope.endDate),isNaN(s.scope.startDate.getTime())||isNaN(s.scope.endDate.getTime()))return null;s.scope.displayedEventStartDate&&s.scope.displayedEventEndDate&&(s.scope.displayedEventStartDate=new Date(s.scope.displayedEventStartDate),s.scope.displayedEventEndDate=new Date(s.scope.displayedEventEndDate))}return o}catch{X.removeItem(qT),X.removeItem(HT)}return null}A();var Eg=Intl.DateTimeFormat().resolvedOptions().timeZone;function Oi(e){let t=Math.floor(e/60),n=e%60;return t===0?XE.replace("{numberOfMinutes}",n.toString()):n===0?`${t} ${CZ}`:AZ.replace("{numberOfHours}",t.toString()).replace("{numberOfMinutes}",n.toString())}var Ihe=new Intl.DateTimeFormat(b.data.userLocale,{hour:"numeric",minute:"numeric"}),WCt=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric"}),JCt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric"}),ZCt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",year:"2-digit"}),Q2e=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",year:"numeric"}),XCt=new Intl.DateTimeFormat(b.data.userLocale,{day:"numeric"}),eEt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short"}),tEt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"short"}),nEt=new Intl.DateTimeFormat(b.data.userLocale,{year:"numeric"}),zr=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric"}),iEt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"long",month:"long",day:"numeric",year:"numeric"});function Lhe(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric",timeZone:e})}function Fl(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",timeZone:e})}function Rhe(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"2-digit",day:"2-digit",year:"numeric",timeZone:e})}function Mhe(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",timeZone:e})}function Yj(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",hour:"numeric",timeZone:e})}function ai(e){return Math.floor(e/1e3)}function $he(e){return Math.floor(e/1e3/60)}function Wj(e){let t=e/1e3,n=Math.floor(t/3600),i=Kj(Math.floor(t%3600/60)),o=Kj(Math.floor(t%3600%60));return n<1?`${i}:${o}`:`${Kj(n)}:${i}:${o}`}function dR(e){let t="",n=0,i="",o=Math.floor(e/168),s=Math.floor(e%168/24),r=e-o*168-s*24;if(o>0&&n++,s>0&&n++,r>0&&n++,n>0&&n--,o>0){let l=o===1?H0:B0;a(),t+=o.toString()+" "+l+i,i=""}if(s>0){let l=s===1?jC:Hv;a(),t+=s.toString()+" "+l+i,i=""}if(r>0){let l=r===1?WC:Ru;t+=r.toString()+" "+l}return t;function a(){n>0&&(i=", ",n--)}}function Ag(e){if(!e)return"";let t=e.getMonth()+1,n=e.getDate();return`${e.getFullYear()}-${t>9?t:`0${t}`}-${n>9?n:`0${n}`}`}function Kj(e){return e<10?`0${e}`:`${e}`}function Dhe(e){if(e===0)return"PT0S";let t=Math.floor(e/864e5);e=e-t*864e5;let n=e,i=Math.floor(e/36e5);e=e-i*36e5;let o=Math.floor(e/6e4);e=e-o*6e4;let s=Math.floor(e/1e3);e=e-s*1e3;let r="P";return t>0&&(r+=t.toString()+"D"),n>0&&(r+="T"),i>0&&(r+=i.toString()+"H"),o>0&&(r+=o.toString()+"M"),s>0&&(r+=s.toString()+"S"),r}function F_(e){let t="h",n="m",i="s",o=0,s=e.indexOf(t)!==-1,r=e.indexOf(n)!==-1,a=e.indexOf(i)!==-1;return o+=s?Number(e.substring(0,e.indexOf(t)))*3600:0,o+=r?s?Number(e.substring(e.indexOf(t)+1,e.indexOf(n)))*60:Number(e.substring(0,e.indexOf(n)))*60:0,o+=a?Number(r?e.substring(e.indexOf(n)+1,e.indexOf(i)):s?e.substring(e.indexOf(t)+1,e.indexOf(i)):e.substring(0,e.indexOf(i))):0,o}function Jj(e){let t="",n="",i="";if(e.indexOf(":")===-1)return Number(e)>0?e+"s":t;let o=e.split(":");return isNaN(Number(o[0]))||isNaN(Number(o[1]))||isNaN(Number(o[2]))&&o.length===3||o.length>3?"":(Number(o[0])>0&&(i=o.length===2?Number(o[0]).toString()+"m":Number(o[0]).toString()+"h"),Number(o[1])>0&&(n=o.length===2?Number(o[1]).toString()+"s":Number(o[1]).toString()+"m"),Number(o[2])>0&&(t=o.length===2?"":Number(o[2]).toString()+"s"),i+n+t)}A();function U_(e,t,n,i){let o=i?d`${i}`:"",s=S.rightRailSticky?"":d``;return d` ${s}
    ${e}
    ${t}
    ${o}
    `}function O_(e,t){return d`

    ${t}

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

    ${i}

    `:"",a=n?d`

    ${e}

    `:d`

    ${e}

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

    ${e}

    `}function Nhe(e){return d` `}function B_(){if(!S.connectedExperiences)return;let e=document.getElementById("ms--additional-resources-heading");e&&(e.hidden=!1);let t=document.getElementById("ms--additional-resources-mobile-heading"),n=document.querySelector("#ms--additional-resources-mobile > hr");t&&n&&(n.hidden=!1,t.hidden=!1)}function K2e(e){let t=Yj().format(e.displayedEventStartDate),n=Yj().format(e.displayedEventEndDate),i=O_("docon-special-event",$W),o=e.eventTitle?q_(e.eventTitle,!1,e.linkHref):"",s=e.eventTitle?"margin-top-xs":"",r=d` ${e.displayType==="event-image-card"&&e.imageUrl?Nhe(e.imageUrl):""} ${o}

    ${t} - ${n}

    ${H_(e.eventDescription,!1)} ${e.linkText} `;return U_(i,r,!1)}async function Fhe(){!S.connectedExperiences&&!S.temporaryClientSideEventBanners||(await Gj(),Qj())}function Uhe(e){let t=Array.from(document.querySelectorAll("#right-rail-events, #right-rail-events-mobile"));B_();for(let n of t)v(K2e(e[0]),n),n.hidden=!1,Pt()}var Y2e=["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"],W2e=["/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 pR(e=location.pathname,t=Ds.template){return e=ri(e),W2e.includes(e)?!1:Y2e.includes(t)||!t&&e.startsWith("/answers/")}function mR(){let e=document.getElementById("cookie-consent-holder");return!e||document.getElementById("banner-holder")?null:(e.insertAdjacentHTML("afterend",''),e.nextElementSibling)}function Ohe(e,t,n,i){let o=kh(),s=o>t.getTime()&&o<=n.getTime(),r=localStorage.getItem(e)==="hide",a=ri(location.pathname).toLowerCase();a=a.startsWith("/")?a.substring(1):a;let l=i.some(c=>c.fullPathMatch?a===c.path:a.startsWith(c.path));return s&&!r&&l}A();function qhe({uid:e,startDate:t,endDate:n,cssClass:i,title:o,subtitle:s,description:r,cta:a,theme:l,buttonCss:c=""},u=Date.now(),p=location.pathname){if(p=ri(p),!S.marketing||u=n.getTime()||!pR()||X.getItem(e)==="hide")return!1;let m=mR();if(!m)return!1;m.classList.add(`theme-${l}`);let g=d`

    ${o}

    ${s?d`

    ${s}

    `:""}
    ${a.title}
    `;return v(g,m),!0}function J2e(e=kh()){return qhe({uid:"2026-06--post-build",title:aae,description:cae,cta:{href:"https://aka.ms/MSBuild_FY26_BN_MSLearn_Hero",title:uae},cssClass:"build-banner",theme:"light",startDate:new Date("2026-06-13T07:00:00.000Z"),endDate:new Date("2026-06-30T07:00:00.000Z")},e)}function Z2e(e=kh()){return qhe({uid:"2026-06--ai-skills-fest",title:lae,description:pae,subtitle:dae,cta:{href:"https://aka.ms/AISkillsFest_LearnPromoBanner",title:mae},cssClass:"ai-skills-fest-banner",theme:"light",startDate:new Date("2026-06-03T07:00:00.000Z"),endDate:new Date("2026-06-13T06:59:59.000Z")},e)}function Hhe(){let e=kh();return Z2e(e)||J2e(e)}async function Bhe(){if(!pR())return;S.connectedExperiences&&S.temporaryClientSideEventBanners?await Fhe():Ahe();let e=uR.filter(n=>{let{id:i,startTime:o,endTime:s,bannerPaths:r}=n;return Ohe(i,o,s,r)}),t=!1;if(!(Hhe()&&(t=!0,!S.connectedExperiences))&&!(e.length<1)){if(S.connectedExperiences&&e[0].displayType)Uhe(e);else if(!t)for(let n of e){let i=mR();if(!i)return;let{id:o,eventTitle:s,eventDescription:r,linkHref:a,linkText:l}=n,c=X2e(`${o}-banner`,`${o}-event`,s,r,a,l);v(c,i);let u=i.querySelector("[data-dismiss]");u.onclick=()=>X.setItem(o,"hide")}}}function X2e(e,t,n,i,o,s){let r=o&&s?d` ${s} `:"";return d` `}Wp();async function eFe(e,t="fiveStar"){e.rating&&(t==="binary"?e.rating=(e.rating-1)/4:e.rating/=5)}async function jhe(e,t="fiveStar"){if(e.rating===null||e.rating===void 0||isNaN(e.rating))throw new Error("No rating was selected by the user");eFe(e,t);let n={method:"POST",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify(e)},i=J(`${$.ocvFeedback}`,n),o=await M(i),s;if(o.ok)return s=await o.json(),s;throw new Error(`ocv api responded with ${o.status} ${o.statusText}`)}A();Ve();var tFe=[tae,yee,iJ,gZ,fZ];function zhe(e,t,n,i,o,s,r=tFe,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-${n}`,m=Xe(),g=[],f=i==="display-inline-flex"?"":i;for(let x=0;x<5;x++){let P=Xe();g.push(d` `)}let _=o?d`
    ${SZ}
    `:"",h=d` ${_}
    ${g}
    `,k=i==="display-inline-flex"?d`
    ${h}
    `:h;v(k,c);let y=c.querySelector(".rating-output");if(e!==0){let x=c.querySelector(`input[value="${e}"]`);x.checked=!0,y.textContent=x.nextElementSibling.textContent}return c.onmouseover=x=>{let P=x.target.closest("label");P&&(y.textContent=P.textContent)},c.onmouseleave=()=>{y.textContent=""},c.onchange=x=>{let P=x.target,C=parseInt(P.value),j=c.querySelectorAll(".star-collection input");for(let O=0;O=O?j[O].classList.add("is-selected"):j[O].classList.remove("is-selected");s(C),P.nextElementSibling&&(y.textContent=P.nextElementSibling.textContent)},c}var nFe=2539,iFe=50033,Vhe=R.reviewFeatures?iFe:nFe;var Ghe="a6b7c4ac-4c15-426f-b054-42341177dffc";var Qhe=[BX,HX,qX,OX,UX];function Khe(){tn(tW,{text:Zre,clickHandler:lFe},void 0,void 0,"mt-csat-banner")}var gR,Zj,BT;function oFe(){return d` `}function sFe(){let e=zhe(0,"m","m","",!1,t=>gR=t,Qhe,!0);return d` `}function rFe(){ve({actionType:Ce.OTHER,behavior:le.OTHER,content:{type:"translation-csat-feedback",score:gR,verbatim:Zj}})}function aFe(e){if(e.preventDefault(),BT){rFe(),jhe({manifestType:"Psat",appId:Vhe,submitTime:new Date().toISOString(),source:"Client",type:"Survey",telemetry:{featureArea:"Docs"},clientFeedbackId:ru(),survey:{surveyId:Ghe},rating:gR,comment:Zj||"",web:{sourcePageURI:location.origin+location.pathname}});let t=document.createElement("div");t.classList.add("modal-slide"),v(oFe(),t),BT.pushContent(t)}}function lFe(){let e=document.createElement("div");v(sFe(),e),BT=null,gR=null,BT=new ye(e),BT.show()}var cFe=ct.machineTranslated;function Whe(e){let t=e.toLowerCase(),n=b.data.isEditDisplayable;if(S.translationFeedback){Khe();return}Zn()||t.startsWith("en-")||!cFe||(n?tn(sW):tn(rW))}function Jhe(){let e=Array.from(document.querySelectorAll("[data-read-in-link]"));for(let t of e){let n=t.querySelector("[data-read-in-link-text]");if(Xj()){let o=new URL(document.referrer),s=UT(o.pathname),r=Yee.replace("{language}",Nl[s]);n.innerText=r,t.title=r,t.hidden=!1}else b.data.userLocale.includes("en-")||(n.innerText=p2,t.title=p2,t.hidden=!1);Yhe(t),window.addEventListener("popstate",()=>Yhe(t))}}function Xj(e=location.href,t=document.referrer){if(!t)return!1;let n=new URL(e),i=new URL(t),o=UT(n.pathname),s=UT(i.pathname),r=wg(i.pathname,"en-us");return!(n.origin!==i.origin||n.pathname!==r||o===s)}function Yhe(e){let t=new URL(location.href);if(Xj()){let n=new URL(document.referrer),i=UT(n.pathname);t.pathname=wg(t.pathname,i)}else t.pathname=wg(t.pathname,"en-us");e.href=t.href,uFe(e)}function uFe(e,t=Xj()){let n=t?"on":"off";e.setAttribute("data-bi",JSON.stringify({cN:"language-toggle",value:n}))}A();function dFe(e){let t=oe().branch||ls.get("CONTENT_BRANCH")||"",n=e.sort().map(i=>``).join("");return`
    `}function ez(){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 n=document.createElement("div");n.classList.add("control"),n.id="branch-selector-container",n.innerHTML=dFe(t);let i=n.querySelector("select"),o=oe().view||"",s=o?`view=${encodeURIComponent(o)}&`:"";i&&(i.onchange=()=>{let a=i.value;ls.set("CONTENT_BRANCH",a),window.location.search=`?${s}branch=${encodeURIComponent(a)}`}),e.insertAdjacentElement("afterbegin",n),n.classList.remove("control"),n.classList.add("display-flex","align-items-center")}A();var tz=class{constructor(t,n=[]){this.breadcrumbsWrapper=t,this.basePath=b.data.userLocale,this.baseTitle="Learn",qt&&(this.baseTitle="Test",this.basePath+="/test"),this.breadcrumbsList=[{title:this.baseTitle,url:`/${this.basePath}/`},...n]}add(...t){t.forEach(n=>this.breadcrumbsList.push(n))}render(){nz(this.breadcrumbsList);let t=this.breadcrumbsWrapper;if(!t)return;v(d` `,t);let n=document.getElementById("article-header-breadcrumbs-overflow"),i=document.querySelectorAll(".has-interactive section.primary-holder"),o=document.getElementById("branch-selector"),s;o&&(s=pFe(i,o)),n&&v(d` ${s} `,n)}breadcrumbsTemplate(){return this.breadcrumbsList.map(t=>{let n;return t.url?(t.url=t.url.replace(/\/index$/i,"/"),n=d`${t.title}`):n=d`${t.title}`,d`
  • ${n}
  • `})}};function pFe(e,t){let n;if(e.length&&t){n=document.getElementById("branch-selector-container"),n&&n.classList.add("padding-xxs");let i=document.getElementById("article-header-breadcrumbs-overflow-popover");i&&i.setAttribute("style","display: inline-block !important")}return n}async function op(e){if(b.data.context.chromeless)return;await Se;let t=e||document.getElementById("article-header-breadcrumbs");return t?new tz(t):void 0}function nz(e){let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[]},n=e.filter((i,o)=>i.url||o+1===e.length).map((i,o)=>{let s={name:i.title,position:o+1,"@type":"ListItem"};return i.url&&(s.item=i.url),s});if(t.itemListElement=n,t.itemListElement.length){let i=document.createElement("script");i.setAttribute("type","application/ld+json"),i.textContent=JSON.stringify(t),document.head.appendChild(i)}}function Zhe(){let e=Array.from(document.querySelectorAll(".has-interactive section.primary-holder"));if(!e.length)return;let t=e[0],n=document.getElementById("article-header-breadcrumbs-overflow-popover");if(n){let o=document.getElementById("article-header-breadcrumbs-overflow");if(!o)return;n.addEventListener("toggle",()=>{o.getBoundingClientRect().width{s.getBoundingClientRect().width{T.body.removeChild(n)},()=>{T.body.removeChild(n),i=!1}),i}function iz(e,t){return navigator.clipboard?navigator.clipboard.writeText(e).then(()=>!0,()=>!1):Promise.resolve(Ts(e,t))}var fR=!1;function Xhe(){function e(t){let n=H.getSelection();if(!n)return;let i=n.toString(),o=Lle(i);if(jT&&i!==o&&!fR){fR=!0,Ts(o,t.target);return}Yt(t.target,{actionType:Ce.OTHER,behavior:le.COPY,content:{event:"copy",name:Uc(t.target),value:i,unprintable:fR}}),fR=!1}T.addEventListener("copy",e,{passive:!0})}Ig();var ja={any:!1};function mFe(){let e=Sr("monikers");ja.any=e.length>0;for(let t of e)ja[t]=!0}mFe();function Vr(e){return e!==""&&ja[e]!==void 0}A();function Ul(e){e&&e.addEventListener("click",t=>{let n=t.target instanceof HTMLElement&&t.target.closest("button[data-show-more]");if(n||(n=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest("button[data-show-more]")),n||(n=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]")),!n)return;let i=n.getAttribute("aria-controls"),o=document.getElementById(i);if(o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest(`[id='${i}']`)),o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest(`[id='${i}']`)),!o)return;let s=n.getAttribute("aria-expanded")==="true";n.setAttribute("aria-expanded",(!s).toString());let r=Array.from(o.querySelectorAll(".expandable")),a=Array.from(document.querySelectorAll(`#${CSS.escape(i)} .expandable .expandable`));r=r.filter(u=>!a.includes(u));for(let u of r)u.classList.toggle("is-expanded");if(n.hasAttribute("data-show-once")){n.remove();let u=o.querySelector("[data-autofocus]");if(u){u.focus();return}let p=o.querySelector(ep.join(","));p&&p.focus();return}let l=n.querySelector(".show-more-text");if(!l)return;let c={show:n.getAttribute("data-title")||Fu,hide:n.getAttribute("data-expanded-title")||ih};if(l.innerText=s?c.show:c.hide,!s){let u=o.querySelector(".is-expanded");if(!u)return;let p=u.querySelector(ep.join(","));p?n.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING||p.focus():u.focus()}})}function za(e,t="show-more-btn",n,i,o,s,r,a,l){let c=n||"button button-primary",u=o||Fu;return d` `}A();var nbe=6,ibe=4,obe=11,sbe=9,gFe=9,tbe=!1;function sp(){let e=T.getElementById("center-doc-outline"),t=T.getElementById("side-doc-outline");if(e===null||t===null){e?.remove(),t?.remove();return}let n="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",i=S.referenceRightRailH3?`#main h2:not(${n}), #main h3`:`#main h2:not(${n})`,o=Array.from(T.querySelectorAll(i)),s=[];if(o.forEach(r=>{let a=r.tagName.toLowerCase(),l=r.offsetParent!==null,c=Jp(r).trim();l&&c.length>0&&(r.id||(r.id=c.toLowerCase().replace(/\s+/g,"-")),a==="h2"?s.push({text:c,id:r.id,children:[]}):a==="h3"&&s[s.length-1].children?.push({text:c,id:r.id}))}),s.length<2){e.hidden=!0,t.hidden=!0;return}e.hidden=!1,fFe(s,e),hFe(s,t)}function fFe(e,t){let n=b.data.pageTemplate==="Reference",i="content-well-in-this-article-list",o=n?rbe(e,i,"content-well"):abe(e,i,"content-well");v(d`

    ${n2}

    ${o} `,t)}function hFe(e,t,n=b.data.pageTemplate){let i=e.length>gFe,o=n==="Reference",s="right-rail-in-this-article-list",r=o?rbe(e,s,"right-rail"):abe(e,s,"right-rail");v(d`

    ${n2}

    ${r} `,t),i&&!tbe&&(Ul(t),tbe=!0)}function rbe(e,t,n){let i=n==="content-well"?"border-left padding-left-xxs":"",o=n==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",s=n==="content-well"?"":"color-text-subtle",r=n==="content-well"?nbe:obe,a=n==="content-well"?ibe:sbe,l=e.length>=r,c=d`
      ${e.map(({text:p,id:m,children:g},f)=>{let _=g?.length?d`
      1. ${p}
      2. ${g?.map(({text:y,id:x})=>d`
      3. ${y}
      4. `)}
      `:"",k=l&&f>=a?"expandable":"";return _?d`
    1. ${p} ${_}
    2. `:d`
    3. ${p}
    4. `})}
    `;return l?d` ${c} ${lbe(e,t,a,n)} `:c}function abe(e,t,n){let i=n==="content-well"?"border-left padding-left-xxs":"padding-right-xxs",o=n==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",s=n==="content-well"?"":"color-text-subtle",r=n==="content-well"?nbe:obe,a=n==="content-well"?ibe:sbe,l=e.length>=r,c=d`
      ${e.map(({text:p,id:m},g)=>{let _=l&&g>=a?"expandable":"";return d`
    1. ${p}
    2. `})}
    `;return l?d` ${c} ${lbe(e,t,a,n)} `:c}function lbe(e,t,n,i){let o=e.length-n,s=R0.replace("{number}",o.toString());return za(t,"show-more-btn",`link-button font-weight-semibold font-size-sm margin-top-xxs ${i==="content-well"?"margin-left-xs":"margin-left-xxs"}`,void 0,s,!0)}var Ol,ql;function az(){let e=document.getElementById("assertive-live-region"),t=document.getElementById("polite-live-region");e?Ol=e:(Ol=document.createElement("div"),Ol.setAttribute("role","alert"),Ol.setAttribute("aria-live","assertive"),Ol.setAttribute("aria-relevant","additions"),Ol.setAttribute("aria-atomic","true"),Ol.classList.add("visually-hidden"),Ol.setAttribute("id","assertive-live-region"),document.body.appendChild(Ol)),t?ql=t:(ql=document.createElement("div"),ql.setAttribute("role","status"),ql.setAttribute("aria-live","polite"),ql.setAttribute("aria-relevant","additions"),ql.setAttribute("aria-atomic","true"),ql.classList.add("visually-hidden"),ql.setAttribute("id","polite-live-region"),document.body.appendChild(ql))}function bFe(e){let t=e.querySelector('.contextual-live-region[aria-live="assertive"]'),n=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)),n||(n=document.createElement("div"),n.setAttribute("role","status"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-relevant","additions"),n.setAttribute("aria-atomic","true"),n.classList.add("contextual-live-region","visually-hidden"),e.appendChild(n)),{contextualAssertiveRegion:t,contextualPoliteRegion:n}}function _Fe(e){az();let t;try{t=document.querySelector(".modal.is-active, :modal")}catch{t=document.querySelector(".modal.is-active")}if(!t)return e==="assertive"?Ol:ql;let{contextualAssertiveRegion:n,contextualPoliteRegion:i}=bFe(t);return e==="assertive"?n:i}function ut(e,t="polite",n=5e3){let i=_Fe(t);i.innerHTML="";let o=document.createElement("div");o.setAttribute("role","none"),o.textContent=e,i.appendChild(o),setTimeout(()=>{o?.remove()},n)}var bR=class{constructor(t){this.expanded=t}},lz={expanded:"ap-expanded",collapsed:"ap-collapsed",expandButton:"ap-expand-behavior",collapseButton:"ap-collapse-behavior"},cz;function uz(e,t){cz=t;let n=document.documentElement.classList,i=document.querySelector(".action-panel");if(n.contains("ap-layout")||e==="none")return i;let o=document.querySelector("[data-main-column]"),s=ube();n.add("ap-layout"),e==="animate"&&n.add("ap-layout-animates"),setTimeout(()=>n.add("ap-layout-in"),20);let r=()=>{i.removeEventListener("transitionend",r),n.remove("ap-layout-animates"),n.add("ap-layout-finished"),yFe(i),Pt(),s(o),i?.setAttribute("aria-expanded","true"),i?.focus(),lt.publish(new bR(!0))};return i.addEventListener("transitionend",r),i}function yFe(e){let t=(()=>{let i=document.querySelector(".ap-layout-finished .content-header");return window.getComputedStyle(i).getPropertyValue("height")})(),n=document.querySelector(".ap-layout-finished [data-main-column]");e.style.top=t,n.style.top=t,n.classList.add("padding-top-none")}function cbe(){let e=document.documentElement.classList;if(!e.contains("ap-layout"))return;let t=ube(),n=document.querySelector(".action-panel");e.remove("ap-layout"),e.remove("ap-layout-animates"),e.remove("ap-layout-in"),e.remove("ap-layout-finished"),Pt(),t(document.documentElement),cz&&cz.focus(),n?.setAttribute("aria-expanded","false"),lt.publish(new bR(!1)),document.querySelector("[data-main-column]")?.classList.remove("padding-top-none")}function ube(){let e=document.querySelector("main");if(!e||!e.children)return()=>{};let t=e.children;for(let n=t.length-1;n>=0;n--){let i=t.item(n);if(i.hasAttribute("hidden"))continue;let{top:o}=i.getBoundingClientRect();if(o<=5||n===0){let s=i.clientWidth;return r=>{i.scrollIntoView(!0),r.scrollTop-=o*s/i.clientWidth}}}return()=>{}}function dbe(){addEventListener("click",e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`.${lz.expandButton}, .${lz.collapseButton}`);t&&(t.classList.contains(lz.expandButton)?uz("animate",t):cbe())}),Vde.addListener(cbe)}function pbe(){if(window.scrollTo(0,0),!S.chromeless){let e=document.querySelector("[data-main-column]");e&&(e.scrollTop=0)}}Ig();A();var vFe=0,gbe="code-try-",kFe=(()=>{let e=location.hash.split(gbe)[1];if(e===void 0)return-1;let t=parseInt(e,10);return t>=-1?t:-1})(),xFe=()=>vFe++,TFe=e=>e===kFe,mbe=!1;function dz(){mbe||(mbe=!0,T.addEventListener("click",e=>{let n=e.target.closest("[data-code-header-copy-button]");n&&(e.preventDefault(),SFe(n))}))}function SFe(e){if(!jT||!e||!IFe(e))return;let t=e.closest("[data-code-block-header]"),n=wFe(t);if(!n)return;let i=n.getAttribute("data-language")||"",o=n.firstElementChild||n;PFe(o,i)&&Yt(e,{actionType:Ce.OTHER,behavior:le.COPY,content:{event:"copy",name:Uc(t)}}),e.focus()}function wFe(e){let t=e?.nextElementSibling;return t?t.hasAttribute("data-language")?t:t.querySelector("pre[data-language]"):null}function CFe(e,t){return t==="rtl"?ze(e).replace(/(^|\s|\>)(C#|F#|C\+\+)(\s*|[.!?;:]*)(\<|[\n\r]|$)/gi,"$1$2‎$3$4"):e}function fbe(e,t){dz();let n=T.createElement("div"),i=xFe(),o=`${gbe}${i}`;n.classList.add("code-block-header","margin-top-sm"),n.setAttribute("data-code-block-header",""),n.setAttribute("id",o),n.setAttribute(An.name,"code-header"),e.monikers&&n.setAttribute("data-moniker",e.monikers);let s=e.interactiveType&&!(e.interactiveType.flags.requiresStructuredData&&b.data.pageTemplate==="Conceptual"),r=jT?pz():"",a=s&&e.interactiveType?EFe(e.interactiveType):"",l=d` ${U(CFe(e.displayName,t))}
    ${r} ${a}
    `;v(l,n),e.element&&e.element.setAttribute("data-language",e.language);let c=e.interactiveType,u=e.scaffoldingType;if(s){let p=n.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,"",`#${o}`),p.classList.add("is-loading"),p.disabled=!0;let h=e.element.textContent?.trim()||"",k;if(c){if(b.data.pageTemplate==="ModuleUnit"){let y=T.getElementById("interactive-container");k=rz(c,y)}else{let y=uz("animate",p);k=rz(c,y)}k.setCode(h,u).then(()=>k.execute()).catch(()=>{}).then(()=>{p.classList.remove("is-loading"),p.disabled=!1})}};p.addEventListener("click",g),TFe(i)&&g(null,!0)}}e.element.classList.remove("loading"),e.element.insertAdjacentElement("beforebegin",n),e.header=n}function pz(){return d` `}function EFe(e){let t=e.activateButtonConfig;return d` `}var j_=e=>e.split(/\n\n/).map(t=>t.split(/[\\`][\s]*$/gm).map(n=>n.trim()).join(" ")).join(` `),AFe={powershell:e=>j_(e.replace(/\bPS [a-z]:\\>\s?/gi,"")),azurecli:j_,azurepowershell:j_,"azurepowershell-interactive":j_,"cloudshell-powershell":j_,ps:j_};function PFe(e,t){let i=(AFe[t]||(o=>o))(e.textContent?.trim()||"");return Ts(i,e)}function IFe(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"),ut(OC,"assertive",1e3),setTimeout(()=>{t?.classList.add("is-transparent"),e.removeAttribute("debounce")},1e3),!0}var Jt=class extends Error{constructor(t){let{status:n,statusText:i,url:o}=t,s=mz(t.headers);super(`Unexpected response status ${n}: ${i} from "${o}". Headers: ${JSON.stringify(s,null,2)}`),this.name=this.constructor.name,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,this.constructor),this.status=n,this.statusText=i,this.url=o,this.headers=s}};function mz(e){let t;try{t=Object.fromEntries(e)}catch{t={error:"Unable to serialize headers"}}if("set-cookie"in t){let n=t["set-cookie"];t["set-cookie"]=`[Redacted. Length=${n.length}]`}return t}async function z_(e,t=b.data.userLocale){let n=`${$.taxonomy}?${re({name:e,locale:t})}`,i=await M(n);if(i.ok)return(await i.json())[e].map(s=>({value:s.slug,displayName:s.styleGuideLabel||s.label,level:s.level?+s.level:s.level,parent:s?.parentSlug}));throw new Jt(i)}var gz=class{constructor(){this.cache={}}async get(t){return await this.getInternal(t)}async getFamily(t){return await this.getInternal(t,1)}taxonomyTermsToTaxonomyMap(t,n){return t.reduce((i,o)=>((!n||o.level===n)&&(i[o.value]=o.displayName),i),{})}async getInternal(t,n){let i=[];try{t in this.cache||(this.cache[t]=z_(t)),i=await this.cache[t]}catch{delete this.cache[t]}return this.taxonomyTermsToTaxonomyMap(i,n)}},zT=new gz;var hbe="proglang",V_={getDisplayNames:()=>zT.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:LFe(),get preferred(){return(X.getItem(hbe)||V_.unset).substr(5)},set preferred(e){X.setItem(hbe,"lang-"+e)}};function LFe(){return b&&b.data&&b.data.defaultDevLang?b.data.defaultDevLang:""}var _R,RFe=0,bbe={};function yR(e){_R===void 0&&MFe();let t={id:RFe++,instructions:e};return _R.postMessage(t),new Promise(n=>bbe[t.id]=n)}function MFe(){let e=location.origin+"/static/third-party/highlight.js/9.15.25/highlight.pack.js",t=new Blob([`(${$Fe.toString()})('${e}') //# sourceURL=syntax-highlighter.js`],{type:"application/javascript"}),n=URL.createObjectURL(t);_R=new Worker(n),_R.onmessage=i=>{let o=i.data;bbe[o.id](o.results)}}function $Fe(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 n=/.*<\/rgn>/gi,i=/RGNPLACEHOLDER/g,o="RGNPLACEHOLDER";function s(l,c){return l.replace(n,u=>(c.push(u),o))}function r(l,c){return l.replace(i,()=>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 k=[],y=s(f,k),x=[],P=t(f,_);if(P.length){let O=y.split(` `),pe=0;P.forEach(Ee=>{Ee.start>pe&&x.push({highlight:!1,lines:O.slice(pe,Ee.start).join(` `)}),x.push({highlight:!0,lines:O.slice(Ee.start,Ee.end+1).join(` `)}),pe=Ee.end+1}),pe<=O.length&&x.push({highlight:!1,lines:O.slice(pe).join(` `)})}else x.push({highlight:!1,lines:y});let C=null,j="";do{let O=x.shift(),{value:pe,top:Ee}=hljs.highlight(g,O.lines,!0,C);C=Ee,j+=O.highlight?`${pe}`:`${pe}`,x.length&&(j+=` `)}while(x.length);h.html=r(j,k),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 DFe(e,t){for(let n=0;n code, span[class*="lang-"]'),s=[],r;if(o.length>0){let a=await t.getDisplayNames();for(let l=0;l({language:o.syntaxLanguage,code:o.code,highlightLines:o.highlightLines}));return n.forEach(o=>{fbe(o,t)}),yR(i).then(o=>{for(let s=0;s{i.element.hidden=!o,i.header&&(i.header.hidden=!o)};for(let i of e){let o=!1;for(let s of i.members){let r=s.visibilityLanguage===t||s.element.classList.toString().indexOf(`lang-${t}`)!==-1;n(s,r),o=o||r}o||n(i.default,!0)}Pt()}function FFe(e,t,n=location.search){let i=OFe(e,n),o=t.preferred;return o!==t.unset&&e.indexOf(o)!==-1&&(i.length===0||i.indexOf(o)!==-1)?o:t.default!==t.unset&&e.indexOf(t.default)!==-1&&(i.length===0||i.indexOf(t.default)!==-1)?t.default:i.length!==0?i[0]:e[0]}var UFe=["Architecture","Conceptual","FAQ","HowTo","Marketing","ModuleUnit","Question","QuestionEdit","Reference","Sample","Welcome"];function vR(){T.querySelectorAll(".cdlHolder .cdlLastVisible").forEach(function(n){n.classList.remove("cdlLastVisible")});let e=rt(),t=T.querySelectorAll(".cdlHolder");Vr(e)&&t.forEach(function(n){let i=n.querySelectorAll(`.cdl[data-moniker~='${e}']:not([hidden]),.cdl:not([data-moniker]):not([hidden])`);i.length>0&&i[i.length-1].classList.add("cdlLastVisible")})}async function VT(e){if(UFe.indexOf(b.data.pageTemplate)===-1)return;let t=Array.from(T.querySelectorAll(".lang-title")),n=Array.from(T.querySelectorAll(".language-selector button")),i=[];if(n.length>0){let c=await V_.getDisplayNames();n.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],i.push(p)}})}let o=n!==null&&i.length>0,s=await NFe(e??T.body,V_,i);if(o){let c=FFe(i,V_),u=T.querySelector('[data-bi-name="lang-'+c+'"]');t.forEach(p=>{p.textContent=u.textContent}),ybe(s,c),vR(),n.forEach(p=>{p===u&&p.setAttribute("aria-pressed","true"),Ot(p,"click",()=>{if(n.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);V_.preferred=m,ybe(s,m)}vR(),sp(),_be(s,b.data.contentDir)})})}let r=s.flatMap(c=>c.members),a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(()=>vbe(r))}return window.addEventListener("resize",l,{passive:!0}),vbe(r),_be(s,b.data.contentDir)}function vbe(e){e.forEach(t=>{let{type:n,element:i}=t;if(n!=="precode")return;i.scrollWidth>i.clientWidth?(i.setAttribute("role","group"),i.setAttribute("aria-label",xZ),i.tabIndex=0):(i.removeAttribute("role"),i.removeAttribute("aria-label"),i.removeAttribute("tabindex"))})}function OFe(e,t=location.search){return new URLSearchParams(t).get("devlangs")?.split(",").filter(n=>e.includes(n))??[]}Ve();var GT={401:Hp,403:H2,404:Hp,422:Hp,429:H2,500:Hp};async function kbe(e){let t={payload:{platformId:e}};try{let n=await M(J($.copilot.summarize,{body:JSON.stringify(t),method:"POST"},!1)),i=n.status.toString();if(i in GT)try{return{message:(await n.json())?.message||GT[i],errorCode:i}}catch{return{message:GT[i],errorCode:i}}if(n.ok)try{let o=await n.json();return"errorCode"in o||o?.message?o:{message:j2,errorCode:"500"}}catch{return{message:j2,errorCode:"500"}}return{message:B2,errorCode:n.status.toString()}}catch{return{message:B2,errorCode:"500"}}}var Hl=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||qt),kR=typeof __karma__<"u";var qFe=1e3*60*5,HFe=new URL(window.location.href).pathname.replace(new RegExp(`^/${b.data.userLocale}`),""),Tbe="rollout-status",QT;async function Ss(e){QT===void 0&&(QT=fz());let t=await QT;if(t&&"failed"in t&&(QT=fz()),!t||"failed"in t)return xbe("feature-rollout-failure",{featureName:e}),!1;let n=t.activeFeatures.find(o=>"name"in o?o.name===e:!1);if(!n)return!1;let i=await BFe(n);return xbe("feature-rollout-activated",{featureName:e,isActive:i}),i}async function BFe(e,t=b.data.userLocale,n=HFe,i=b.data.pageTemplate,o=_e.then(()=>w.isAuthenticated)){if(!e.conditions)return!0;let s=e.conditions.find(g=>g.limitTo==="locale");if(!(s?s.locales.includes(t):!0))return!1;let a=e.conditions.find(g=>g.limitTo==="pathname");if(!(a?!!a.startsWith.find(g=>n.startsWith(g)):!0))return!1;let c=e.conditions.find(g=>g.limitTo==="pageTemplate");return(c?!!c.pageTemplates.find(g=>g===i):!0)?e.conditions.find(g=>g.limitTo==="authenticated")?await o:!0:!1}async function Sbe(){QT=fz()}async function fz(e=oe()["refresh-rollout"]==="true"){let t=jFe(e);if(t)return t;let i=`/en-us/feature-rollout.json${R.reviewFeatures?"?branch=main":""}`;Hl&&(i=`/en-us/test/feature-rollout.json?branch=${ft()}`);try{let o=await M(i,{method:"GET"});if(!o.ok)return{failed:!0};let s=await o.json();return s.expiresAt=new Date(Date.now()+qFe).getTime(),X.setItem(Tbe,JSON.stringify(s)),s}catch{return{failed:!0}}}function jFe(e=!1){if(e)return null;let t=X.getItem(Tbe);if(!t)return null;let n;try{n=JSON.parse(t)}catch{return null}if(!n||"failed"in n||!n.expiresAt)return null;let i=n.expiresAt||0;return Date.now()>=i||!("activeFeatures"in n)||"failed"in n?null:n}function xbe(e,t){ve({content:{type:e,content:JSON.stringify(t)}})}var et=class{},Lg=class{};var Bl="ms--ai-summary-body",wbe="ms--ai-summary",lu="ms--ai-summary-header",Cbe="ms--ai-summary-cta",Ebe="ms--ai-summary-feedback",rp="ai-summary",Abe="ms--ai-summary-feedback-buttons",Pbe="ms--ai-summary-feedback-thanks";Ve();A();function Ibe(e){switch(e.state){case"ready":case"loading":return KFe(e);case"loaded":return zFe(e);case"errored":return YFe(e);default:return d``}}function hz(e,t){return d`

    ${t}

    `}function zFe(e){let t=d``;if(e.response){let{message:n}=e.response;n?t=d`${VFe(n)} ${GFe(e)} `:t=d`

    ${N0}

    `}return d`
    ${hz(e,oh)}
    ${t}
    `}function VFe(e){return d`
    ${U(e)}
    `}function GFe(e){return d`
    ${Uu} ${U(_se)} ${QFe(e)}
    `}function QFe(e){return d`
    ${rh}
    `}function KFe(e){return d`
    ${hz(e,oh)}

    ${D0}

    `}function YFe(e){let{errorCode:t}=e.response,i=GT[t]??Hp;return d`
    ${hz(e,oh)}
    ${i}
    `}function Lbe(e){return typeof e=="object"&&e!==null&&"message"in e&&"errorCode"in e}var jl,KT,YT,G_,Q_,K_,Y_,W_,J_,xR=class extends je{constructor(n){super();this.state="ready";Gt(this,jl,null);Gt(this,KT);Gt(this,YT);Gt(this,G_,!1);Gt(this,Q_,null);Gt(this,K_,null);Gt(this,Y_,!1);Gt(this,W_,!0);Gt(this,J_,!0);gt(this,YT,I("platform_id")??""),gt(this,KT,n)}set sessionId(n){gt(this,Q_,n)}get sessionId(){return Te(this,Q_)}set interactionId(n){gt(this,K_,n)}get interactionId(){return Te(this,K_)}get response(){return Te(this,jl)}set response(n){gt(this,jl,n)}get visible(){return Te(this,G_)}set visible(n){Te(this,G_)!==n&&(gt(this,G_,n),this.notifyStateChanged())}get showFeedbackThanks(){return Te(this,Y_)}set showFeedbackThanks(n){Te(this,Y_)!==n&&(gt(this,Y_,n),this.notifyStateChanged())}get showHeader(){return Te(this,W_)}set showHeader(n){Te(this,W_)!==n&&(gt(this,W_,n),this.notifyStateChanged())}get showCta(){return Te(this,J_)}set showCta(n){Te(this,J_)!==n&&(gt(this,J_,n),this.notifyStateChanged())}async fetch(){try{if(!this.response||Lbe(this.response)===!0){this.state="loading",this.notifyStateChanged();let n=new Date().toISOString(),i=await Te(this,KT).call(this,Te(this,YT));if(Lbe(i)){this.state="errored",gt(this,jl,i),this.notifyStateChanged();return}else{gt(this,jl,i),gt(this,Q_,i?.sessionId??null),gt(this,K_,i?.interactionId??null);let o=new Date().toISOString();this.timeToContentTelemetry(n,o);try{let r=new DOMParser().parseFromString(Te(this,jl).message??"","text/html");r.querySelectorAll("[id]").forEach(a=>{a.removeAttribute("id"),a.tagName.match(/^H[1-6]$/)&&a.classList.add("margin-top-xs")}),Te(this,jl).message=r.body.innerHTML}catch{}}}this.state="loaded",this.notifyStateChanged()}catch(n){this.state="errored",gt(this,jl,{message:n.message,errorCode:n.name}),this.notifyStateChanged()}}displayThanksForFeedback(n){this.showFeedbackThanks=!0,ve({behavior:le.OTHER,content:{autoIngest:!0,type:"ai-summary-feedback",aN:rp,timestamp:new Date().toISOString(),sessionId:this.sessionId,interactionId:this.interactionId,feedbackData:{sat:n?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(n,i){ve({behavior:le.OTHER,content:{autoIngest:!0,type:"ai-summary-request",aN:rp,sessionId:this.sessionId,interactionId:this.interactionId,triggeredTimestamp:n,returnedTimestamp:i}})}notifyStateChanged(){this.publish(new et)}};jl=new WeakMap,KT=new WeakMap,YT=new WeakMap,G_=new WeakMap,Q_=new WeakMap,K_=new WeakMap,Y_=new WeakMap,W_=new WeakMap,J_=new WeakMap;async function Rbe(){let e=S.aiSummary&&await Ss("ai-summary")||Qe("ai-summary",{require:!0}),t=document.querySelector('[data-id="ai-summary"]'),n=document.getElementById(wbe),i=document.getElementById(lu),o=document.getElementById(Cbe);if(!e||!t||!n||!i||!o)return;t.hidden=!1;let s=new xR(kbe),r=!1;n.addEventListener("click",async()=>{s.showHeader=!0,s.showCta=!1,s.visible=!0;let a=document.getElementById(lu);if(!a)return;let l=()=>{i.hidden=!s.showHeader,o.hidden=!s.showCta,v(Ibe(s),a)};r||(s.subscribe(et,l),r=!0),l(),s.state==="ready"&&await s.fetch()})}A();function bz(e){return new Promise((t,n)=>{let i=T.createElement("img");i.classList.add("visually-hidden"),i.setAttribute("aria-hidden","true"),i.src=e,i.onload=()=>{i.remove(),t(null)},i.onerror=()=>{i.remove(),n()},T.body.appendChild(i)})}function WT(e){let t=T.createElement("link");t.rel="preload",t.as="image",t.href=e,T.head.appendChild(t)}function Mbe(e,t,n,i=500){let o=0,s=(...r)=>{t(o),o=e.apply(null,[n.bind(null,...r),i])};return s.cancel=()=>t(o),s}var Z_={timeout:Mbe.bind(null,setTimeout,clearTimeout),animationFrame:Mbe.bind(null,H.requestAnimationFrame,H.cancelAnimationFrame)};function $be(){WFe()}var _z=!1;function yz(e,t,n=()=>{}){window.addEventListener("click",i=>{i.target instanceof HTMLElement&&i.target.closest(e)&&n(()=>t.show())})}function vz(e,t=()=>{},n=!1){window.addEventListener("click",i=>{let o=i.target instanceof HTMLElement&&i.target.closest(e);!o||!document.querySelector(".layout-body-flyout")||t(()=>{cu(o,n)})})}async function Dbe(e,t,n,i=()=>{}){window.addEventListener("click",s=>{let r=s.target instanceof HTMLElement&&s.target.closest(e);r&&(s.preventDefault(),i(()=>{Ao.matches?n(r,!0):t()}))}),await Se;let o=document.querySelector(e);o&&(o.hidden=!1)}function cu(e,t=!1){let n=document.querySelector(".layout-body-flyout");if(!n)return;_z=!_z;let i=document.documentElement.classList.contains("layout-flyout-active")?"remove":"add";if(i==="remove"?window.dispatchEvent(new CustomEvent("flyout-hide")):window.dispatchEvent(new CustomEvent("flyout-show")),!t||i==="add"){document.documentElement.classList[i]("layout-flyout-active"),e.classList[i]("is-selected");let o=i==="add"?"true":"false";e.setAttribute("aria-expanded",o),Pt()}if(t||i==="add"){e.dataset.flyoutReturnFocus="true";let o=n.querySelector('button[data-flyout-button="close"]');o&&o.focus()}}function WFe(){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 s=document.querySelector('[data-flyout-return-focus="true"]')||document.querySelector('[data-flyout-button="toggle"]');s&&(s.focus(),s.removeAttribute("data-flyout-return-focus"),s.hasAttribute("aria-expanded")&&s.setAttribute("aria-expanded","false"),s.classList.remove("is-selected")),_z=!1,document.documentElement.classList.remove("layout-flyout-active"),window.dispatchEvent(new CustomEvent("flyout-hide")),Pt()})}function Nbe(e,t){if(localStorage.getItem("playwrightActive"))return;let n=document.querySelector(t);if(!n)return;let i=Ao.matches,o=()=>!!document.querySelector('[data-chat-container-name="ask-learn-modal"]'),s=()=>document.documentElement.classList.contains("layout-flyout-active"),r=()=>{document.documentElement.classList.remove("layout-flyout-active"),n.classList.remove("is-selected")},a=()=>{let l=Ao.matches;!i&&l&&o()?(e.hide(),cu(n,!0)):i&&!l&&s()&&(e.show(),r()),i=l};window.addEventListener("resize",()=>{window.requestAnimationFrame(a)}),a()}var kz="[data-ask-learn-modal-entry]",JT="[data-ask-learn-flyout-entry]",TR="[data-ask-learn-modal-entry-feedback]",SR="[data-ask-learn-flyout-entry-show-only]",Fbe="[data-skip-to-ask-learn]",Ube=[kz,JT];function qbe(){Obe(),lt.subscribe(_n,Obe)}async function Obe(){await Se,Array.from(document.querySelectorAll(Ube.join(","))).forEach(n=>n.hidden=!1),Array.from(document.querySelectorAll("[data-chat-tutor-modal-entry]")).forEach(n=>n.hidden=!0)}A();A();function Hbe(e){let{text:t,biName:n,biTn:i,alignment:o,action:s}=e;return d` `}function JFe(e,t){let n=[];for(let o=0;o`)}let i=Qse.replace("{step-index}",e.toString()).replace("{step-count}",t.toString());return d`

    ${i}

    `}function ZFe(e){return d` `}function xz(e,t,n){let i=ZFe(e.imageSrc);return d` `}function wR(e,t,n){e0&&Bbe(e-1,t,n)}var XFe='[data-focus-on-button-click="true"]';function Bbe(e,t,n){let i=document.createElement("div"),o=xz(t[e],e,t.length);v(o,i),n.pushContent(i);let s=i.querySelector(XFe);s&&s.focus()}function ER(e){e.hide()}function Tz(e,t){e.hide(),localStorage.setItem(t,"2")}function AR(e,t,n,i,o,s,r,a,l,c,u){return{fetch:e,maxMessages:t,getContextIdType:n,getContextId:i,validate:o,errorMapping:s,starterPrompts:r,suggestionPills:a,companionActive:l,onFeedback:c,onTimeTelemetry:u}}var X_="/en-us/media/ask-learn/meet-ask-learn-base.png",XT="/en-us/media/ask-learn/check-for-accuracy-base.png",PR="ask-learn-history",Rg="ask-learn-history-last-interaction-time",Mg="ask-learn-open-status";function eUe(e){return/[\u{10000}-\u{10FFFF}]/u.test(e)}function tUe(e){return eUe(e)?"non_unicode_characters":null}var ZT={"validation-failure":kC,"session-not-found":Gi,"interaction-not-found":Gi,open_ai_content_filter:uN,copilot_content_filter:uN,knowledge_index_no_results:Mv,copilot_invalid_urls:Mv,open_ai_empty_message:Mv,failed_to_parse_open_ai_message:Mv,non_unicode_characters:QQ,open_ai_too_many_requests:vC},nUe=[{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: "}],iUe=[{name:"summarize",description:"Summarize this page",prompt:"Summarize this page"},{name:"troubleshoot",description:"Help me troubleshoot",prompt:"/troubleshoot"}],zbe={like:{[TQ]:"01-ai-positive-accurate-relevant",[SQ]:"02-ai-positive-complete-clear",[wQ]:"03-ai-positive-fast",[cN]:"00-ai-positive-other"},dislike:{[CQ]:"01-ai-negative-inaccurate-irrelevant",[EQ]:"02-ai-negative-incomplete-unclear",[PQ]:"03-ai-negative-slow",[AQ]:"04-ai-negative-offensive-inappropriate",[cN]:"00-ai-negative-other"}},oUe=120*1e3;async function sUe(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 n=await M(J($.copilot.chatAssistant,t,!0),{},oUe);if(n.status===401)return me(n),{message:$f,isError:!0};if(!n.ok)try{let o=await n.json();return{message:o.errorCode&&o.errorCode in ZT?ZT[o.errorCode]:Gi,interactionId:o.additionalData?.interactionId,isError:!0}}catch{return{message:Gi,isError:!0}}let i=await n.json();return"errorCode"in i?{message:i.errorCode&&i.errorCode in ZT?ZT[i.errorCode]:Gi,interactionId:i?.additionalData?.interactionId,isError:!0}:{sessionId:i.sessionId,interactionId:i.interactionId,message:i.message,responseCount:i.assistantMessageCount,citations:i.citations}}catch{return{message:Gi,isError:!0}}}var rUe=10;function jbe(){if(new URLSearchParams(window.location.search).has("excludeContext"))return{uid:void 0,contextIdType:void 0};if(b.data.pageTemplate==="ModuleUnit"){let i=I("uid");if(i)return{uid:qt?i.replace("learn-test","learn"):i,contextIdType:"unitUid"}}let n=I("platform_id");return n?{uid:n,contextIdType:"platformId"}:{uid:void 0,contextIdType:void 0}}async function aUe(){return AR(sUe,rUe,()=>jbe().contextIdType||"",()=>jbe().uid||"",tUe,ZT,nUe,iUe)}var Vbe=aUe();var $g="ask-learn-assistant",nr="learn-companion-fre";function ey(e=$g){let t=X.getItem(e);return t?Number(t):0}function lUe(e,t){let n=[{title:pN,imageSrc:X_,descriptions:[Rv],buttonLeft:{text:dN,biName:"01-not-now",biTn:$g,alignment:"left",action:()=>{ER(e),t?.()}},buttonRight:{text:Ko,biName:"01-next",biTn:$g,alignment:"right",action:()=>wR(0,n,e)}},{title:mN,imageSrc:XT,descriptions:[gN,fN],buttonLeft:{text:xr,biName:"02-previous",biTn:$g,alignment:"left",action:()=>CR(1,n,e)},buttonRight:{text:hN,biName:"try-cta",biTn:$g,alignment:"right",action:()=>{Tz(e,$g),t?.()}}}];return n}function cUe(e,t){let n=[{title:pN,imageSrc:X_,descriptions:[Rv],buttonLeft:{text:dN,biName:"01-not-now",biTn:nr,alignment:"left",action:()=>{ER(e),t?.()}},buttonRight:{text:Ko,biName:"01-next",biTn:nr,alignment:"right",action:()=>wR(0,n,e)}},{title:mN,imageSrc:XT,descriptions:[gN,fN],buttonLeft:{text:xr,biName:"02-previous",biTn:nr,alignment:"left",action:()=>CR(1,n,e)},buttonRight:{text:Ko,biName:"02-next",biTn:nr,alignment:"right",action:()=>wR(1,n,e)}},{title:LQ,imageSrc:X_,descriptions:[_C],acknowledgementCheckbox:{label:RQ},buttonLeft:{text:xr,biName:"03-previous",biTn:nr,alignment:"left",action:()=>CR(2,n,e)},buttonRight:{text:hN,biName:"03-try-ask-learn",biTn:nr,alignment:"right",action:()=>{document.querySelector(".fre-acknowledgement-checkbox")?.checked?(Tz(e,nr),t?.()):(ut(MQ,"assertive"),ER(e),t?.())}}}];return n}function Gbe(e,t,n,i=!1,o=!1){let s=ey(e);if(s>=2||!o&&document.documentElement.classList.contains("layout-flyout-active")){n?.();return}else i||(s++,X.setItem(e,s.toString()));let r=document.createElement("div");document.body.appendChild(r);let a=new ye(r,""),l=t(a,n),c=xz(l[0],0,l.length);v(c,r),a.show()}function Qbe(e){Gbe($g,lUe,e)}function IR(e,t=!1){Gbe(nr,cUe,e,!0,t)}var RR="learn-companion-history",Dg="learn-companion-history-last-interaction-time",du="learn-companion-open-status",LR="learn-companion-fre-synced",uUe=30*1e3,dUe=10,MR=100,uu=class extends Error{constructor(n,i){super(i);this.status=n}};async function eS(e,t,n,i){try{let o=await M(J(e,t,!0),{},n,i);if(o.status===401)throw me(o),new uu(401,$f);if(o.status===429)throw new uu(429,vC);if(!o.ok)throw new uu(o.status,Gi);return o}catch(o){throw o instanceof uu?o:new uu(0,Gi)}}function Kbe(e){let t="",n="";for(let o of e.split(` `))o.startsWith("event:")?t=o.slice(6).trim():o.startsWith("data:")&&(n=o.slice(5).trim());if(!t)return null;let i=n;try{let o=JSON.parse(n);i=o.d==="_"?"":o.d??""}catch{}return{event:t,data:i}}async function pUe(e,t){try{let n=await eS($.agentService.stream,{method:"POST",body:JSON.stringify(e)},uUe,t);if(!n.body)return{message:Gi,isError:!0};let i=n.body.getReader(),o=new TextDecoder,s="",r="",a=e.conversationId??null;for(;;){let{done:l,value:c}=await i.read();if(l)break;s+=o.decode(c,{stream:!0});let u=s.split(` `);s=u.pop()||"";for(let p of u){if(!p.trim())continue;let m=Kbe(p);if(m)switch(m.event){case"StreamStart":m.data&&m.data!=="_"&&(a=m.data);break;case"AgentResponse":r+=m.data;break;case"StreamEnd":return{sessionId:a??void 0,message:r};case"Error":return{message:m.data||Gi,isError:!0}}}}if(s.trim()){let l=Kbe(s);if(l?.event==="Error")return{message:l.data||Gi,isError:!0}}return{sessionId:a??void 0,message:r}}catch(n){return{message:n instanceof uu?n.message:Gi,isError:!0}}}async function Cz(e,t=dUe){let n=new URL($.agentService.conversations);n.searchParams.set("take",String(t)),e&&n.searchParams.set("continuationToken",e);let o=await(await eS(n.toString())).json();return{conversations:Array.isArray(o.conversations)?o.conversations:[],continuationToken:o.continuationToken??null,haAlpha XR:o.haAlpha XR===!0,totalConversations:typeof o.totalConversations=="number"?o.totalConversations:0}}async function Ybe(e){let t=`${$.agentService.conversations}/${encodeURIComponent(e)}`;await eS(t,{method:"DELETE"})}async function Wbe(e,t){let n=`${$.agentService.conversations}/${encodeURIComponent(e)}`;await eS(n,{method:"PATCH",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify({summary:t})})}function mUe(){return document.head.querySelector('link[rel="canonical"]')?.href??window.location.href}var Sz="Summarize this page",gUe=[{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: "}],fUe=100;async function Jbe(e){try{let t=new URL(`${$.agentService.conversations}/${encodeURIComponent(e)}`);t.searchParams.set("take",String(fUe));let i=await(await eS(t.toString())).json();return{messages:(i.messages??i.Messages??[]).flatMap(r=>{let a=(r.role??r.Role??"").toLowerCase(),l=r.content??r.Content??"";return a==="user"?[{type:"user",content:l}]:a==="assistant"?[{type:"ai",content:l}]:[]})}}catch(t){return{messages:[],error:t instanceof uu?t.message:Gi}}}async function hUe(){return AR(e=>{let t=e.message.trim().toLowerCase()===Sz.toLowerCase()?`${e.message.trim()}: ${mUe()}`:e.message;return pUe({query:t,conversationId:e.sessionId})},1/0,()=>"",()=>"",void 0,void 0,gUe,[{name:"summarize",description:Sz,prompt:Sz}],!0,bUe,_Ue)}function bUe({sessionId:e,feedbackData:t,consentProvided:n,authType:i}){ve({behavior:le.SURVEYCOMPLETE,actionType:Ce.OTHER,content:{autoIngest:!0,type:"learn-companion-feedback",timestamp:new Date().toISOString(),sessionId:e,feedbackData:t,authType:i,isUserConsent:n}})}function _Ue({triggeredTime:e,returnedTime:t,sessionId:n,interactionId:i}){ve({behavior:le.OTHER,actionType:Ce.OTHER,content:{autoIngest:!0,type:"learn-companion-request",an:"learn-companion-chat",name:"learn-companion-chat-request",triggeredTimestamp:e,returnedTimestamp:t,sessionId:n,interactionId:i}})}var Zbe=hUe();function $R(){return ey(nr)>=2||w.companionPreferences?.chatHistoryEnabled===!0}var yUe=3e4,wz;function vUe(){let e=w.companionPreferences,t={responseDetail:e?.responseDetail??50,teachingApproach:e?.teachingApproach??50,technicalDepth:e?.technicalDepth??50,chatHistoryEnabled:!0};return{userName:w.userName,displayName:w.displayName,email:w.email,locale:w.locale,country:w.country,contactPointTopicSetting:w.contactPointTopicSetting,isPrivate:w.isPrivate,source:w.source,interests:w.interests,qnaEmailPreferences:w.qnaEmailPreferences,isQnaModerator:w.isQnaModerator,companionPreferences:t}}async function DR(){if(!(!w.isAuthenticated||!w.userName))try{if(w.companionPreferences===void 0){let n=Xn();if(!n)return;let i=await tm(n);if(!i)return;w.readUserProfile(i)}let e=w.companionPreferences?.chatHistoryEnabled;if(e===!0){X.setItem(LR,"1");return}if(e===!1&&X.getItem(LR)){X.removeItem(nr),X.removeItem(LR);return}(await Sh(w.userName,vUe())).hasError?wz??(wz=setInterval(DR,yUe)):(X.setItem(LR,"1"),clearInterval(wz),wz=void 0)}catch{}}A();A();function Gr(){return d`
    ${dQ}
    `}A();function tS(e,t){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector(`[data-conversation-id="${CSS.escape(t)}"] [data-chat-history-row-overflow]`)?.focus()})}function kUe(e){requestAnimationFrame(()=>{let t=e.getActiveContainer();(t?.querySelector("[data-conversation-id] [data-chat-history-row-overflow]")??t?.querySelector("[data-chat-history-empty], [data-chat-history-error]"))?.focus()})}function Xbe(e){requestAnimationFrame(()=>{let t=e.getActiveContainer()?.querySelector("[data-chat-history-rename-input]");t?.focus(),t?.select()})}function e_e(e){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector("[data-chat-history-confirm-delete-yes]")?.focus()})}function xUe(e){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector("#chat-history-search-input")?.focus()})}function t_e(e,t){if(e.pendingDeleteId){let n=e.conversations.find(i=>i.conversationId===e.pendingDeleteId);return TUe(e,t,n)}return d`

    ${Mf}

    ${SUe(e,t)} ${e.isLoading?d`
    ${Qt}
    `:e.error&&!e.pendingRenameId?d`
    `:e.filteredConversations.length===0?d`
    ${yQ}
    `:d`
      ${bn(e.filteredConversations,n=>n.conversationId,n=>wUe(n,e,t))}
    `}
    `}function TUe(e,t,n){return d`

    ${rN}

    ${Xa}

    ${_Q.replace("{name}",()=>n?.summary??"")}

    ${e.error?d``:""}
    `}function SUe(e,t){return d`
    {n.preventDefault(),e.search(n.currentTarget.elements.namedItem("keyword").value)}} >
    `}function wUe(e,t,n){let i=t.pendingRenameId===e.conversationId;return d`
  • ${i?CUe(e,t,n):d`
    `}
  • `}function CUe(e,t,n){let i=async()=>{let o=t.pendingRenameDraft.trim();if(!o||o===e.summary){t.cancelRename(),tS(n,e.conversationId);return}await t.rename(e.conversationId,o)?tS(n,e.conversationId):Xbe(n)};return d`
    {o.preventDefault(),i()}} @keydown=${o=>{o.key==="Escape"&&(o.preventDefault(),t.cancelRename(),tS(n,e.conversationId))}} > {t.updateRenameDraft(o.currentTarget.value)}} aria-label="${vQ}" aria-invalid=${t.error?"true":"false"} aria-describedby=${t.error?`chat-history-rename-error-${e.conversationId}`:""} /> ${t.error?d``:""}
    `}A();A();function EUe(e,t,n){let i=pA(n);if(!i)return"";let o=ze(String(t??"")),s=ze(i);return`
    ${e}
    ${e}. ${o}
    `}function n_e(e){return e?Object.entries(e).map(([t,n])=>{let i=parseInt(t),{title:o,url:s}=n;return EUe(i,o,s)}):[]}function Ez(e,t){if(!e||!t.length)return;let n=i=>{if(!i.open)return;let o=i.querySelector(".popover-content"),s=i.querySelector(".tag-summary");if(!o||!s)return;i.classList.add("popover-left"),o.offsetHeight;let r=e.getBoundingClientRect(),a=s.getBoundingClientRect(),l=o.getBoundingClientRect();a.left+a.width/2-l.width/2>=r.left&&(i.classList.remove("popover-left"),o.offsetHeight)};t.forEach(i=>{i.querySelectorAll("details.popover.tag-popover").forEach(s=>{s.addEventListener("toggle",r=>{let a=r.target;a.open&&n(a)})})})}A();function AUe(e,t,n,i,o,s){let r=`${e}-${t}-msg${o}`,a=`${e}-${t}-msg${o}-choice${s}`;return d` `}function PUe(e,t,n){return Object.entries(zbe[n]).map(([s,r],a)=>AUe(t,n,s,r,e.index,a))}function IUe(e){return t=>{if(!t)return;let n=t.currentTarget;if(!n)return;let i=n.getAttribute("aria-expanded")==="true";n.setAttribute("aria-expanded",(!i).toString());let o=n.getAttribute("aria-controls");if(!o)return;e.previewPayload(t);let s=`${o}-disclaimer`,r=document.getElementById(s);if(!r)return;let a=Ai(i_e(!i),d``);v(a,r),n.textContent=i?Nu:ok}}async function i_e(e){return await _e,w&&w.authenticationMode==="AAD"?U(e?QC:zv):U(GC)}function LUe(e,t,n,i,o=i_e(!1)){let s=za(i,"disclaimer-see-more","link-button font-weight-semibold font-size-sm margin-top-xxs",IUe(e),Nu,!0,!1,`ask-learn-show-more-${e.index}-${n}`),r=`${t}-feedback-payload-${e.index}-${n}`;return d`
    ${Ai(o,d``)}
    ${RUe(e,r)}
    ${s}
    `}function RUe(e,t){return d` `}function MUe(e,t,n){let i=`${t}-feedback-textarea-${e.index}-${n}`,o=`${t}-see-more-${e.index}-${n}`;return d`
    e.handleSubmit(e,s)}>
    ${zQ}
    ${PUe(e,t,n)}

    ${LUe(e,t,n,o)}

    `}function o_e(e,t){let n;return e.state==="none"?"":(e.state==="submitted"||e.state==="cancelled"?n=d` ${Gr()}
    ${IQ}
    `:(e.state==="like"||e.state==="dislike")&&(n=MUe(e,t,e.state)),d`
    ${n}
    `)}var tM={};Dn(tM,{default:()=>eM});var Nz={};Dn(Nz,{arrayReplaceAt:()=>Dz,assign:()=>iy,escapeHtml:()=>mu,escapeRE:()=>hOe,fromCodePoint:()=>oS,has:()=>sOe,isMdAsciiPunct:()=>Ug,isPunctChar:()=>Fg,isSpace:()=>Lt,isString:()=>QR,isValidEntityCode:()=>KR,isWhiteSpace:()=>Ng,lib:()=>bOe,normalizeReference:()=>Og,unescapeAll:()=>pu,unescapeMd:()=>uOe});var qR={};Dn(qR,{decode:()=>nS,encode:()=>UR,format:()=>ty,parse:()=>iS});var s_e={};function $Ue(e){let t=s_e[e];if(t)return t;t=s_e[e]=[];for(let n=0;n<128;n++){let i=String.fromCharCode(n);t.push(i)}for(let n=0;n=55296&&u<=57343?o+="\uFFFD\uFFFD\uFFFD":o+=String.fromCharCode(u),s+=6;continue}}if((a&248)===240&&s+91114111?o+="\uFFFD\uFFFD\uFFFD\uFFFD":(p-=65536,o+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),s+=9;continue}}o+="\uFFFD"}return o})}NR.defaultChars=";/?:@&=+$,#";NR.componentChars="";var nS=NR;var r_e={};function DUe(e){let t=r_e[e];if(t)return t;t=r_e[e]=[];for(let n=0;n<128;n++){let i=String.fromCharCode(n);/^[0-9a-z]$/i.test(i)?t.push(i):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n"u"&&(n=!0);let i=DUe(t),o="";for(let s=0,r=e.length;s=55296&&a<=57343){if(a>=55296&&a<=56319&&s+1=56320&&l<=57343){o+=encodeURIComponent(e[s]+e[s+1]),s++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(e[s])}return o}FR.defaultChars=";/?:@&=+$,-_.!~*'()#";FR.componentChars="-_.!~*'()";var UR=FR;function ty(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 OR(){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 NUe=/^([a-z0-9.+-]+:)/i,FUe=/:[0-9]*$/,UUe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,OUe=["<",">",'"',"`"," ","\r",` `," "],qUe=["{","}","|","\\","^","`"].concat(OUe),HUe=["'"].concat(qUe),a_e=["%","/","?",";","#"].concat(HUe),l_e=["/","?","#"],BUe=255,c_e=/^[+a-z0-9A-Z_-]{0,63}$/,jUe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,u_e={javascript:!0,"javascript:":!0},d_e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function zUe(e,t){if(e&&e instanceof OR)return e;let n=new OR;return n.parse(e,t),n}OR.prototype.parse=function(e,t){let n,i,o,s=e;if(s=s.trim(),!t&&e.split("#").length===1){let c=UUe.exec(s);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let r=NUe.exec(s);if(r&&(r=r[0],n=r.toLowerCase(),this.protocol=r,s=s.substr(r.length)),(t||r||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=s.substr(0,2)==="//",o&&!(r&&u_e[r])&&(s=s.substr(2),this.slashes=!0)),!u_e[r]&&(o||r&&!d_e[r])){let c=-1;for(let f=0;f127?y+="x":y+=k[x];if(!y.match(c_e)){let x=f.slice(0,_),P=f.slice(_+1),C=k.match(jUe);C&&(x.push(C[1]),P.unshift(C[2])),P.length&&(s=P.join(".")+s),this.hostname=x.join(".");break}}}}this.hostname.length>BUe&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let a=s.indexOf("#");a!==-1&&(this.hash=s.substr(a),s=s.slice(0,a));let l=s.indexOf("?");return l!==-1&&(this.search=s.substr(l),s=s.slice(0,l)),s&&(this.pathname=s),d_e[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};OR.prototype.parseHost=function(e){let t=FUe.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 iS=zUe;var Az={};Dn(Az,{Any:()=>HR,Cc:()=>BR,Cf:()=>p_e,P:()=>ny,S:()=>jR,Z:()=>zR});var HR=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var BR=/[\0-\x1F\x7F-\x9F]/;var p_e=/[\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 ny=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 jR=/[\$\+<->\^`\|~\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 zR=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var m_e=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 g_e=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var Pz,VUe=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]]),Iz=(Pz=String.fromCodePoint)!==null&&Pz!==void 0?Pz: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 Lz(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=VUe.get(e))!==null&&t!==void 0?t:e}var Hi;(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"})(Hi||(Hi={}));var GUe=32,ap;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ap||(ap={}));function Rz(e){return e>=Hi.ZERO&&e<=Hi.NINE}function QUe(e){return e>=Hi.UPPER_A&&e<=Hi.UPPER_F||e>=Hi.LOWER_A&&e<=Hi.LOWER_F}function KUe(e){return e>=Hi.UPPER_A&&e<=Hi.UPPER_Z||e>=Hi.LOWER_A&&e<=Hi.LOWER_Z||Rz(e)}function YUe(e){return e===Hi.EQUALS||KUe(e)}var qi;(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"})(qi||(qi={}));var zl;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(zl||(zl={}));var VR=class{constructor(t,n,i){this.decodeTree=t,this.emitCodePoint=n,this.errors=i,this.state=qi.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=zl.Strict}startEntity(t){this.decodeMode=t,this.state=qi.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case qi.EntityStart:return t.charCodeAt(n)===Hi.NUM?(this.state=qi.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=qi.NamedEntity,this.stateNamedEntity(t,n));case qi.NumericStart:return this.stateNumericStart(t,n);case qi.NumericDecimal:return this.stateNumericDecimal(t,n);case qi.NumericHex:return this.stateNumericHex(t,n);case qi.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|GUe)===Hi.LOWER_X?(this.state=qi.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=qi.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,i,o){if(n!==i){let s=i-n;this.result=this.result*Math.pow(o,s)+parseInt(t.substr(n,s),o),this.consumed+=s}}stateNumericHex(t,n){let i=n;for(;n>14;for(;n>14,s!==0){if(r===Hi.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==zl.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:n,decodeTree:i}=this,o=(i[n]&ap.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,i){let{decodeTree:o}=this;return this.emitCodePoint(n===1?o[t]&~ap.VALUE_LENGTH:o[t+1],i),n===3&&this.emitCodePoint(o[t+2],i),i}end(){var t;switch(this.state){case qi.NamedEntity:return this.result!==0&&(this.decodeMode!==zl.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case qi.NumericDecimal:return this.emitNumericEntity(0,2);case qi.NumericHex:return this.emitNumericEntity(0,3);case qi.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case qi.EntityStart:return 0}}};function f_e(e){let t="",n=new VR(e,i=>t+=Iz(i));return function(o,s){let r=0,a=0;for(;(a=o.indexOf("&",a))>=0;){t+=o.slice(r,a),n.startEntity(s);let c=n.write(o,a+1);if(c<0){r=a+n.end();break}r=a+c,a=c===0?r+1:r}let l=t+o.slice(r);return t="",l}}function WUe(e,t,n,i){let o=(t&ap.BRANCH_LENGTH)>>7,s=t&ap.JUMP_TABLE;if(o===0)return s!==0&&i===s?n:-1;if(s){let l=i-s;return l<0||l>=o?-1:e[n+l]-1}let r=n,a=r+o-1;for(;r<=a;){let l=r+a>>>1,c=e[l];if(ci)a=l-1;else return e[l+o]}return-1}var JUe=f_e(m_e),OLt=f_e(g_e);function lp(e,t=zl.Legacy){return JUe(e,t)}function GR(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 Mz(e,t){return function(i){let o,s=0,r="";for(;o=e.exec(i);)s!==o.index&&(r+=i.substring(s,o.index)),r+=t.get(o[0].charCodeAt(0)),s=o.index+1;return r+i.substring(s)}}var h_e=Mz(/[&<>'"]/g,XUe),b_e=Mz(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),__e=Mz(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var y_e;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(y_e||(y_e={}));var v_e;(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"})(v_e||(v_e={}));function iOe(e){return Object.prototype.toString.call(e)}function QR(e){return iOe(e)==="[object String]"}var oOe=Object.prototype.hasOwnProperty;function sOe(e,t){return oOe.call(e,t)}function iy(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(i){e[i]=n[i]})}}),e}function Dz(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function KR(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 oS(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var T_e=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,rOe=/&([a-z#][a-z0-9]{1,31});/gi,aOe=new RegExp(T_e.source+"|"+rOe.source,"gi"),lOe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function cOe(e,t){if(t.charCodeAt(0)===35&&lOe.test(t)){let i=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return KR(i)?oS(i):e}let n=lp(e);return n!==e?n:e}function uOe(e){return e.indexOf("\\")<0?e:e.replace(T_e,"$1")}function pu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(aOe,function(t,n,i){return n||cOe(t,i)})}var dOe=/[&<>"]/,pOe=/[&<>"]/g,mOe={"&":"&","<":"<",">":">",'"':"""};function gOe(e){return mOe[e]}function mu(e){return dOe.test(e)?e.replace(pOe,gOe):e}var fOe=/[.?*+^$[\]\\(){}|-]/g;function hOe(e){return e.replace(fOe,"\\$&")}function Lt(e){switch(e){case 9:case 32:return!0}return!1}function Ng(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 Fg(e){return ny.test(e)||jR.test(e)}function Ug(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 Og(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}var bOe={mdurl:qR,ucmicro:Az};var qz={};Dn(qz,{parseLinkDestination:()=>Uz,parseLinkLabel:()=>Fz,parseLinkTitle:()=>Oz});function Fz(e,t,n){let i,o,s,r,a=e.posMax,l=e.pos;for(e.pos=t+1,i=1;e.pos32))return s;if(i===41){if(r===0)break;r--}o++}return t===o||r!==0||(s.str=pu(e.slice(t,o)),s.pos=o,s.ok=!0),s}function Oz(e,t,n,i){let o,s=t,r={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)r.str=i.str,r.marker=i.marker;else{if(s>=n)return r;let a=e.charCodeAt(s);if(a!==34&&a!==39&&a!==40)return r;t++,s++,a===40&&(a=41),r.marker=a}for(;s"+mu(s.content)+""};Vl.code_block=function(e,t,n,i,o){let s=e[t];return""+mu(e[t].content)+` `};Vl.fence=function(e,t,n,i,o){let s=e[t],r=s.info?pu(s.info).trim():"",a="",l="";if(r){let u=r.split(/(\s+)/g);a=u[0],l=u.slice(2).join("")}let c;if(n.highlight?c=n.highlight(s.content,a,l)||mu(s.content):c=mu(s.content),c.indexOf("${c} `}return`
    ${c}
    `};Vl.image=function(e,t,n,i,o){let s=e[t];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,n,i),o.renderToken(e,t,n)};Vl.hardbreak=function(e,t,n){return n.xhtmlOut?`
    `:`
    `};Vl.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`
    `:`
    `:` `};Vl.text=function(e,t){return mu(e[t].content)};Vl.html_block=function(e,t){return e[t].content};Vl.html_inline=function(e,t){return e[t].content};function oy(){this.rules=iy({},Vl)}oy.prototype.renderAttrs=function(t){let n,i,o;if(!t.attrs)return"";for(o="",n=0,i=t.attrs.length;n `:">",s};oy.prototype.renderInline=function(e,t,n){let i="",o=this.rules;for(let s=0,r=e.length;s=0&&(i=this.attrs[n][1]),i};sy.prototype.attrJoin=function(t,n){let i=this.attrIndex(t);i<0?this.attrPush([t,n]):this.attrs[i][1]=this.attrs[i][1]+" "+n};var gu=sy;function w_e(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}w_e.prototype.Token=gu;var C_e=w_e;var _Oe=/\r\n?|\n/g,yOe=/\0/g;function Hz(e){let t;t=e.src.replace(_Oe,` `),t=t.replace(yOe,"\uFFFD"),e.src=t}function Bz(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 jz(e){let t=e.tokens;for(let n=0,i=t.length;n\s]/i.test(e)}function kOe(e){return/^<\/a\s*>/i.test(e)}function zz(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,i=t.length;n=0;r--){let a=o[r];if(a.type==="link_close"){for(r--;o[r].level!==a.level&&o[r].type!=="link_open";)r--;continue}if(a.type==="html_inline"&&(vOe(a.content)&&s>0&&s--,kOe(a.content)&&s++),!(s>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&&r>0&&o[r-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,k),C.level=p,u.push(C)}let y=new e.Token("link_open","a",1);y.attrs=[["href",_]],y.level=p++,y.markup="linkify",y.info="auto",u.push(y);let x=new e.Token("text","",0);x.content=h,x.level=p,u.push(x);let P=new e.Token("link_close","a",-1);P.level=--p,P.markup="linkify",P.info="auto",u.push(P),m=c[g].lastIndex}if(m=0;n--){let i=e[n];i.type==="text"&&!t&&(i.content=i.content.replace(TOe,wOe)),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function EOe(e){let t=0;for(let n=e.length-1;n>=0;n--){let i=e[n];i.type==="text"&&!t&&E_e.test(i.content)&&(i.content=i.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")),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function Vz(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(xOe.test(e.tokens[t].content)&&COe(e.tokens[t].children),E_e.test(e.tokens[t].content)&&EOe(e.tokens[t].children))}var AOe=/['"]/,A_e=/['"]/g,P_e="\u2019";function YR(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function POe(e,t){let n,i=[];for(let o=0;o=0&&!(i[n].level<=r);n--);if(i.length=n+1,s.type!=="text")continue;let a=s.content,l=0,c=a.length;e:for(;l=0)f=a.charCodeAt(u.index-1);else for(n=o-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){f=e[n].content.charCodeAt(e[n].content.length-1);break}let _=32;if(l=48&&f<=57&&(m=p=!1),p&&m&&(p=h,m=k),!p&&!m){g&&(s.content=YR(s.content,u.index,P_e));continue}if(m)for(n=i.length-1;n>=0;n--){let P=i[n];if(i[n].level=0;t--)e.tokens[t].type!=="inline"||!AOe.test(e.tokens[t].content)||POe(e.tokens[t].children,e)}function Qz(e){let t,n,i=e.tokens,o=i.length;for(let s=0;s0&&this.level++,this.tokens.push(i),i};Gl.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Gl.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;tn;)if(!Lt(this.src.charCodeAt(--t)))return t+1;return t};Gl.prototype.skipChars=function(t,n){for(let i=this.src.length;ti;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Gl.prototype.getLines=function(t,n,i,o){if(t>=n)return"";let s=new Array(n-t);for(let r=0,a=t;ai?s[r]=new Array(l-i+1).join(" ")+this.src.slice(u,p):s[r]=this.src.slice(u,p)}return s.join("")};Gl.prototype.Token=gu;var L_e=Gl;var IOe=65536;function Wz(e,t){let n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return e.src.slice(n,i)}function R_e(e){let t=[],n=e.length,i=0,o=e.charCodeAt(i),s=!1,r=0,a="";for(;in)return!1;let o=t+1;if(e.sCount[o]=4)return!1;let s=e.bMarks[o]+e.tShift[o];if(s>=e.eMarks[o])return!1;let r=e.src.charCodeAt(s++);if(r!==124&&r!==45&&r!==58||s>=e.eMarks[o])return!1;let a=e.src.charCodeAt(s++);if(a!==124&&a!==45&&a!==58&&!Lt(a)||r===45&&Lt(a))return!1;for(;s=4)return!1;c=R_e(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(i)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 k=e.push("tr_open","tr",1);k.map=[t,t+1];for(let P=0;P=4||(c=R_e(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),x+=p-c.length,x>IOe))break;if(o===t+2){let j=e.push("tbody_open","tbody",1);j.map=y=[t+2,0]}let C=e.push("tr_open","tr",1);C.map=[o,o+1];for(let j=0;j=4){i++,o=i;continue}break}e.line=o;let s=e.push("code_block","code",0);return s.content=e.getLines(t,o,4+e.blkIndent,!1)+` `,s.map=[t,e.line],!0}function Xz(e,t,n,i){let o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||o+3>s)return!1;let r=e.src.charCodeAt(o);if(r!==126&&r!==96)return!1;let a=o;o=e.skipChars(o,r);let l=o-a;if(l<3)return!1;let c=e.src.slice(a,o),u=e.src.slice(o,s);if(r===96&&u.indexOf(String.fromCharCode(r))>=0)return!1;if(i)return!0;let p=t,m=!1;for(;p++,!(p>=n||(o=a=e.bMarks[p]+e.tShift[p],s=e.eMarks[p],o=4)&&(o=e.skipChars(o,r),!(o-a=4||e.src.charCodeAt(o)!==62)return!1;if(i)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=s)break;if(e.src.charCodeAt(o++)===62&&!x){let C=e.sCount[f]+1,j,O;e.src.charCodeAt(o)===32?(o++,C++,O=!1,j=!0):e.src.charCodeAt(o)===9?(j=!0,(e.bsCount[f]+C)%4===3?(o++,C++,O=!1):O=!0):j=!1;let pe=C;for(a.push(e.bMarks[f]),e.bMarks[f]=o;o=s,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(j?1:0),c.push(e.sCount[f]),e.sCount[f]=pe-C,u.push(e.tShift[f]),e.tShift[f]=o-e.bMarks[f];continue}if(g)break;let P=!1;for(let C=0,j=p.length;C";let k=[t,0];h.map=k,e.md.block.tokenize(e,t,f);let y=e.push("blockquote_close","blockquote",-1);y.markup=">",e.lineMax=r,e.parentType=m,k[1]=e.line;for(let x=0;x=4)return!1;let s=e.bMarks[t]+e.tShift[t],r=e.src.charCodeAt(s++);if(r!==42&&r!==45&&r!==95)return!1;let a=1;for(;s=i)return-1;let s=e.src.charCodeAt(o++);if(s<48||s>57)return-1;for(;;){if(o>=i)return-1;if(s=e.src.charCodeAt(o++),s>=48&&s<=57){if(o-n>=10)return-1;continue}if(s===41||s===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(u=!0);let p,m,g;if((g=$_e(e,l))>=0){if(p=!0,r=e.bMarks[l]+e.tShift[l],m=Number(e.src.slice(r,g-1)),u&&m!==1)return!1}else if((g=M_e(e,l))>=0)p=!1;else return!1;if(u&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(i)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 k=!1,y=e.md.block.ruler.getRules("list"),x=e.parentType;for(e.parentType="list";l=o?O=1:O=C-P,O>4&&(O=1);let pe=P+O;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(f);let Ee=[l,0];a.map=Ee,p&&(a.info=e.src.slice(r,g-1));let ce=e.tight,_t=e.tShift[l],Rt=e.sCount[l],zt=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=pe,e.tight=!0,e.tShift[l]=j-e.bMarks[l],e.sCount[l]=C,j>=o&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||k)&&(c=!1),k=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=zt,e.tShift[l]=_t,e.sCount[l]=Rt,e.tight=ce,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=e.line,Ee[1]=l,l>=n||e.sCount[l]=4)break;let fn=!1;for(let Vt=0,un=y.length;Vt=4||e.src.charCodeAt(o)!==91)return!1;function a(y){let x=e.lineMax;if(y>=x||e.isEmpty(y))return null;let P=!1;if(e.sCount[y]-e.blkIndent>3&&(P=!0),e.sCount[y]<0&&(P=!0),!P){let O=e.md.block.ruler.getRules("reference"),pe=e.parentType;e.parentType="reference";let Ee=!1;for(let ce=0,_t=O.length;ce<_t;ce++)if(O[ce](e,y,x,!0)){Ee=!0;break}if(e.parentType=pe,Ee)return null}let C=e.bMarks[y]+e.tShift[y],j=e.eMarks[y];return e.src.slice(C,j+1)}let l=e.src.slice(o,s+1);s=l.length;let c=-1;for(o=1;o"u"&&(e.env.references={}),typeof e.env.references[k]>"u"&&(e.env.references[k]={title:h,href:p}),e.line=r),!0):!1}var D_e=["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 ROe="[a-zA-Z_:][a-zA-Z0-9:._-]*",MOe="[^\"'=<>`\\x00-\\x20]+",$Oe="'[^']*'",DOe='"[^"]*"',NOe="(?:"+MOe+"|"+$Oe+"|"+DOe+")",FOe="(?:\\s+"+ROe+"(?:\\s*=\\s*"+NOe+")?)",N_e="<[A-Za-z][A-Za-z0-9\\-]*"+FOe+"*\\s*\\/?>",F_e="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",UOe="",OOe="<[?][\\s\\S]*?[?]>",qOe="]*>",HOe="",U_e=new RegExp("^(?:"+N_e+"|"+F_e+"|"+UOe+"|"+OOe+"|"+qOe+"|"+HOe+")"),O_e=new RegExp("^(?:"+N_e+"|"+F_e+")");var ry=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(O_e.source+"\\s*$"),/^$/,!1]];function o3(e,t,n,i){let o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(o)!==60)return!1;let r=e.src.slice(o,s),a=0;for(;a=4)return!1;let r=e.src.charCodeAt(o);if(r!==35||o>=s)return!1;let a=1;for(r=e.src.charCodeAt(++o);r===35&&o6||oo&&Lt(e.src.charCodeAt(l-1))&&(s=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(o,s).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 r3(e,t,n){let i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.parentType;e.parentType="paragraph";let s=0,r,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))){s=r===61?1:2;break}}if(e.sCount[a]<0)continue;let m=!1;for(let g=0,f=i.length;g3||e.sCount[s]<0)continue;let c=!1;for(let u=0,p=i.length;u=n||e.sCount[r]=s){e.line=n;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),r=e.line,r0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i};sS.prototype.scanDelims=function(e,t){let n=this.posMax,i=this.src.charCodeAt(e),o=e>0?this.src.charCodeAt(e-1):32,s=e;for(;s0)return!1;let n=e.pos,i=e.posMax;if(n+3>i||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let o=e.pending.match(jOe);if(!o)return!1;let s=o[1],r=e.md.linkify.matchAtStart(e.src.slice(n-s.length));if(!r)return!1;let a=r.url;if(a.length<=s.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,-s.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-s.length,!0}function u3(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let i=e.pending.length-1,o=e.posMax;if(!t)if(i>=0&&e.pending.charCodeAt(i)===32)if(i>=1&&e.pending.charCodeAt(i-1)===32){let s=i-1;for(;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),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(n++;n?@[]^_`{|}~-".split("").forEach(function(e){d3[e.charCodeAt(0)]=1});function p3(e,t){let n=e.pos,i=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=i))return!1;let o=e.src.charCodeAt(n);if(o===10){for(t||e.push("hardbreak","br",0),n++;n=55296&&o<=56319&&n+1=56320&&a<=57343&&(s+=e.src[n+1],n++)}let r="\\"+s;if(!t){let a=e.push("text_special","",0);o<256&&d3[o]!==0?a.content=s:a.content=r,a.markup=r,a.info="escape"}return e.pos=n+1,!0}function m3(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;let o=n;n++;let s=e.posMax;for(;n=0;i--){let o=t[i];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;let s=t[o.end],r=i>0&&t[i-1].end===o.end+1&&t[i-1].marker===o.marker&&t[i-1].token===o.token-1&&t[o.end+1].token===s.token+1,a=String.fromCharCode(o.marker),l=e.tokens[o.token];l.type=r?"strong_open":"em_open",l.tag=r?"strong":"em",l.nesting=1,l.markup=r?a+a:a,l.content="";let c=e.tokens[s.token];c.type=r?"strong_close":"em_close",c.tag=r?"strong":"em",c.nesting=-1,c.markup=r?a+a:a,c.content="",r&&(e.tokens[t[i-1].token].content="",e.tokens[t[o.end+1].token].content="",i--)}}function QOe(e){let t=e.tokens_meta,n=e.tokens_meta.length;j_e(e,e.delimiters);for(let i=0;i=p)return!1;if(l=f,o=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),o.ok){for(r=e.md.normalizeLink(o.str),e.md.validateLink(r)?f=o.pos:r="",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?i=e.src.slice(l,f++):f=g+1):f=g+1,i||(i=e.src.slice(m,g)),s=e.env.references[Og(i)],!s)return e.pos=u,!1;r=s.href,a=s.title}if(!t){e.pos=m,e.posMax=g;let _=e.push("link_open","a",1),h=[["href",r]];_.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 b3(e,t){let n,i,o,s,r,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(s=f+1,s=m)return!1;for(c=s,a=e.md.helpers.parseLinkDestination(e.src,s,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?s=a.pos:u=""),c=s;s=m||e.src.charCodeAt(s)!==41)return e.pos=p,!1;s++}else{if(typeof e.env.references>"u")return!1;if(s=0?o=e.src.slice(c,s++):s=f+1):s=f+1,o||(o=e.src.slice(g,f)),r=e.env.references[Og(o)],!r)return e.pos=p,!1;u=r.href,l=r.title}if(!t){i=e.src.slice(g,f);let _=[];e.md.inline.parse(i,e.md,e.env,_);let h=e.push("image","img",0),k=[["src",u],["alt",""]];h.attrs=k,h.children=_,h.content=i,l&&k.push(["title",l])}return e.pos=s,e.posMax=m,!0}var KOe=/^([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])?)*)$/,YOe=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function _3(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let i=e.pos,o=e.posMax;for(;;){if(++n>=o)return!1;let r=e.src.charCodeAt(n);if(r===60)return!1;if(r===62)break}let s=e.src.slice(i+1,n);if(YOe.test(s)){let r=e.md.normalizeLink(s);if(!e.md.validateLink(r))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",r]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}if(KOe.test(s)){let r=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(r))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",r]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}return!1}function WOe(e){return/^\s]/i.test(e)}function JOe(e){return/^<\/a\s*>/i.test(e)}function ZOe(e){let t=e|32;return t>=97&&t<=122}function y3(e,t){if(!e.md.options.html)return!1;let n=e.posMax,i=e.pos;if(e.src.charCodeAt(i)!==60||i+2>=n)return!1;let o=e.src.charCodeAt(i+1);if(o!==33&&o!==63&&o!==47&&!ZOe(o))return!1;let s=e.src.slice(i).match(U_e);if(!s)return!1;if(!t){let r=e.push("html_inline","",0);r.content=s[0],WOe(r.content)&&e.linkLevel++,JOe(r.content)&&e.linkLevel--}return e.pos+=s[0].length,!0}var XOe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,eqe=/^&([a-z][a-z0-9]{1,31});/i;function v3(e,t){let n=e.pos,i=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=i)return!1;if(e.src.charCodeAt(n+1)===35){let s=e.src.slice(n).match(XOe);if(s){if(!t){let r=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),a=e.push("text_special","",0);a.content=KR(r)?oS(r):oS(65533),a.markup=s[0],a.info="entity"}return e.pos+=s[0].length,!0}}else{let s=e.src.slice(n).match(eqe);if(s){let r=lp(s[0]);if(r!==s[0]){if(!t){let a=e.push("text_special","",0);a.content=r,a.markup=s[0],a.info="entity"}return e.pos+=s[0].length,!0}}}return!1}function z_e(e){let t={},n=e.length;if(!n)return;let i=0,o=-2,s=[];for(let r=0;rl;c-=s[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?s[c-1]+1:0;s[r]=r-c+g,s[c]=g,a.open=!1,p.end=r,p.close=!1,u=-1,o=-2;break}}}u!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=u)}}function k3(e){let t=e.tokens_meta,n=e.tokens_meta.length;z_e(e.delimiters);for(let i=0;i0&&i++,o[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;r||e.pos++,s[t]=e.pos};rS.prototype.tokenize=function(e){let t=this.ruler.getRules(""),n=t.length,i=e.posMax,o=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(r){if(e.pos>=i)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};rS.prototype.parse=function(e,t,n,i){let o=new this.State(e,t,n,i);this.tokenize(o);let s=this.ruler2.getRules(""),r=s.length;for(let a=0;a|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+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}function w3(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(i){e[i]=n[i]})}),e}function XR(e){return Object.prototype.toString.call(e)}function tqe(e){return XR(e)==="[object String]"}function nqe(e){return XR(e)==="[object Object]"}function iqe(e){return XR(e)==="[object RegExp]"}function Q_e(e){return XR(e)==="[object Function]"}function oqe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Y_e={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function sqe(e){return Object.keys(e||{}).reduce(function(t,n){return t||Y_e.hasOwnProperty(n)},!1)}var rqe={"http:":{validate:function(e,t,n){let i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){let i=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){let i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},aqe="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]",lqe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function cqe(e){return function(t,n){let i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}function K_e(){return function(e,t){t.normalize(e)}}function ZR(e){let t=e.re=G_e(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(aqe),n.push(t.src_xn),t.src_tlds=n.join("|");function i(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(i(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(i(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(i(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");let o=[];e.__compiled__={};function s(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){let l=e.__schemas__[a];if(l===null)return;let c={validate:null,link:null};if(e.__compiled__[a]=c,nqe(l)){iqe(l.validate)?c.validate=cqe(l.validate):Q_e(l.validate)?c.validate=l.validate:s(a,l),Q_e(l.normalize)?c.normalize=l.normalize:l.normalize?s(a,l):c.normalize=K_e();return}if(tqe(l)){o.push(a);return}s(a,l)}),o.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:K_e()};let r=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(oqe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+r+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+r+")","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")}function W_e(e,t,n,i){let o=e.slice(n,i);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=i,this.raw=o,this.text=o,this.url=o}function ir(e,t){if(!(this instanceof ir))return new ir(e,t);t||sqe(e)&&(t=e,e={}),this.__opts__=w3({},Y_e,t),this.__schemas__=w3({},rqe,e),this.__compiled__={},this.__tlds__=lqe,this.__tlds_replaced__=!1,this.re={},ZR(this)}ir.prototype.add=function(t,n){return this.__schemas__[t]=n,ZR(this),this};ir.prototype.set=function(t){return this.__opts__=w3(this.__opts__,t),this};ir.prototype.test=function(t){if(!t.length)return!1;let n,i;if(this.re.schema_test.test(t)){for(i=this.re.schema_search,i.lastIndex=0;(n=i.exec(t))!==null;)if(this.testSchemaAt(t,n[2],i.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&t.search(this.re.host_fuzzy_test)>=0&&t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&t.match(this.re.email_fuzzy)!==null)};ir.prototype.pretest=function(t){return this.re.pretest.test(t)};ir.prototype.testSchemaAt=function(t,n,i){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,i,this):0};ir.prototype.match=function(t){let n=[],i=[],o=[],s=[],r,a,l;function c(m,g){return m?g?m.index!==g.index?m.index=g.lastIndex?m:g:m:g}if(!t.length)return null;if(this.re.schema_test.test(t))for(l=this.re.schema_search,l.lastIndex=0;(r=l.exec(t))!==null;)a=this.testSchemaAt(t,r[2],l.lastIndex),a&&i.push({schema:r[2],index:r.index+r[1].length,lastIndex:r.index+r[0].length+a});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(l=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,l.lastIndex=0;(r=l.exec(t))!==null;)o.push({schema:"",index:r.index+r[1].length,lastIndex:r.index+r[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(l=this.re.email_fuzzy_global,l.lastIndex=0;(r=l.exec(t))!==null;)s.push({schema:"mailto:",index:r.index+r[1].length,lastIndex:r.index+r[0].length});let u=[0,0,0],p=0;for(;;){let m=[i[u[0]],s[u[1]],o[u[2]]],g=c(c(m[0],m[1]),m[2]);if(!g)break;if(g===m[0]?u[0]++:g===m[1]?u[1]++:u[2]++,g.index= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C3=35,Ql=Math.floor,E3=String.fromCharCode;function cp(e){throw new RangeError(mqe[e])}function gqe(e,t){let n=[],i=e.length;for(;i--;)n[i]=t(e[i]);return n}function eye(e,t){let n=e.split("@"),i="";n.length>1&&(i=n[0]+"@",e=n[1]),e=e.replace(pqe,".");let o=e.split("."),s=gqe(o,t).join(".");return i+s}function tye(e){let t=[],n=0,i=e.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...e),hqe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Z_e=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},nye=function(e,t,n){let i=0;for(e=n?Ql(e/700):e>>1,e+=Ql(e/t);e>C3*26>>1;i+=36)e=Ql(e/C3);return Ql(i+(C3+1)*e/(e+38))},iye=function(e){let t=[],n=e.length,i=0,o=128,s=72,r=e.lastIndexOf(X_e);r<0&&(r=0);for(let a=0;a=128&&cp("not-basic"),t.push(e.charCodeAt(a));for(let a=r>0?r+1:0;a=n&&cp("invalid-input");let m=hqe(e.charCodeAt(a++));m>=36&&cp("invalid-input"),m>Ql((2147483647-i)/u)&&cp("overflow"),i+=m*u;let g=p<=s?1:p>=s+26?26:p-s;if(mQl(2147483647/f)&&cp("overflow"),u*=f}let c=t.length+1;s=nye(i-l,c,l==0),Ql(i/c)>2147483647-o&&cp("overflow"),o+=Ql(i/c),i%=c,t.splice(i++,0,o)}return String.fromCodePoint(...t)},oye=function(e){let t=[];e=tye(e);let n=e.length,i=128,o=0,s=72;for(let l of e)l<128&&t.push(E3(l));let r=t.length,a=r;for(r&&t.push(X_e);a=i&&uQl((2147483647-o)/c)&&cp("overflow"),o+=(l-i)*c,i=l;for(let u of e)if(u2147483647&&cp("overflow"),u===i){let p=o;for(let m=36;;m+=36){let g=m<=s?1:m>=s+26?26:m-s;if(p=0))try{t.hostname=A3.toASCII(t.hostname)}catch{}return UR(ty(t))}function wqe(e){let t=iS(e,!0);if(t.hostname&&(!t.protocol||lye.indexOf(t.protocol)>=0))try{t.hostname=A3.toUnicode(t.hostname)}catch{}return nS(ty(t),nS.defaultChars+"%")}function Qr(e,t){if(!(this instanceof Qr))return new Qr(e,t);t||QR(e)||(t=e||{},e="default"),this.inline=new V_e,this.block=new q_e,this.core=new I_e,this.renderer=new S_e,this.linkify=new J_e,this.validateLink=Tqe,this.normalizeLink=Sqe,this.normalizeLinkText=wqe,this.utils=Nz,this.helpers=iy({},qz),this.options={},this.configure(e),t&&this.set(t)}Qr.prototype.set=function(e){return iy(this.options,e),this};Qr.prototype.configure=function(e){let t=this;if(QR(e)){let n=e;if(e=vqe[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", 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(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};Qr.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));let i=e.filter(function(o){return n.indexOf(o)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this};Qr.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));let i=e.filter(function(o){return n.indexOf(o)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this};Qr.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Qr.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Qr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Qr.prototype.parseInline=function(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Qr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var eM=Qr;var up=ay();up.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 ay(e="default",t){return"default"in tM?eM(e,t):new tM(e,t)}var Cqe=e=>{let t=/(]*?)>\^(\d+)\^(<\/a>)/g;return e.replace(t,(n,i,o,s)=>`${i} aria-label="link, ${o}">${o}${s}`)},cye=e=>{let t=ay("default",{html:!1,linkify:!0,typographer:!0}),n=t.render;return t.render=function(i){let o=String(n.call(t,i));if(!e||e.length===0)return Cqe(o);let s=o.replace(/

    /g,'

    ').replace(/<\/p>/g,"
    "),r=/]*?>(\^(\d+)\^)<\/a>/g;return s=s.replace(r,(a,l,c)=>{let u=parseInt(String(c));return u>0&&u<=e.length?e[u-1]:a}),s},t.renderer.rules.fence=function(i,o,s,r,a){let l=i[o],c=l.info?l.info.trim().split(/\s+/g)[0]:"",u=/^[A-Za-z0-9_-]+$/.test(c)?c:"",p=u?`class="lang-${u}"`:"",m=t.utils.escapeHtml(l.content||"");return`
    ${m}
    `},t};function uye(e,t,n){let i="color-success";t&&t>=n?i="color-danger":t&&t>=.5*n&&(i="color-warning");let o=e.skeletonHidden?"is-hidden":"",s=t?"":"is-hidden",r=t?"":"skeleton",a=d``;return d`
    ${t?YQ.replace("{count}",t.toString()).replace("{total}",n.toString()):a}
    `}function Eqe(){return d`
    ${Gr()}
    ${xQ}
    `}function Aqe(e){return d`
    ${e}
    `}function pye(e,t,n){return d`
    ${t?Eqe():Gr()}
    ${e}
    `}function Pqe(e,t){let n=e.contentIsHTML?"content first-p-top-margin-reset":"";return pye(t,!0,n)}function Iqe(e){let t=d`

    ${NQ}

    `;return pye(t,!1)}function dye(e){return d`
    `}function Lqe(e){return d`
    `}function Rqe(e){if(!e.citations||Object.keys(e.citations).length===0)return"";let t=Object.entries(e.citations).map(([n,i])=>({key:n,citation:i,safeUrl:pA(i.url)})).filter(n=>n.safeUrl!=="");return t.length===0?"":d`
    ${Jee}
      ${t.map(({citation:n,safeUrl:i})=>d`
    1. ${n.title}
    2. `)}
    `}function Mqe(e){return e.loaded?d` ${Rqe(e)}
    ${dye(e)} ${uye(e,e.responseCount,e.maxMessages)}
    `:e.errored?d`
    ${dye(e)}
    `:e.cancelled?d`
    ${uye(e,e.responseCount,e.maxMessages)}
    `:""}function $qe(e,t){if(e.allowLoadingView&&e.loading)return Dqe(e,t);let i=n_e(e.citations),o=cye(i),s=e.cancelled?d`${bC} ${e.content}`:e.type==="ai"&&e.contentIsHTML?U(o.render(e.content??"")):e.content,r=e.type==="ai"?Mqe(e):"",a=e.cancelled?Lqe(e):"",l=e.feedbackViewModel?o_e(e.feedbackViewModel,t):"",c=e.responseCount&&e.responseCount>=e.maxMessages?Iqe(e):"",u=d`
    ${s} ${r}
    `;return d`
    ${e.type==="user"?Aqe(u):Pqe(e,u)}
    ${a} ${l} ${c} `}function Dqe(e,t){return d`
    ${Gr()}

    ${xC}

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

    ${o}

    `})}
    `}function fye(){return b.data.pageTemplate!=="ModuleUnit"}function bye(e,t){if(!e.starterPrompts||e.starterPrompts.length===0)return"";let i=!fye()||!e.suggestionPills||e.suggestionPills.length===0||e.suggestionPills.every(o=>o.clicked)?yN:"";return d`
    ${fye()?gye(e):""}
    ${i}

    ${qQ}

    ${e.starterPrompts.map(({icon:o,header:s,prompt:r})=>{let a=s.toLowerCase();return d` `})}
    `}A();function _ye(e,t){return d` `}function Fqe(e){let i=parseInt(window.getComputedStyle(e).lineHeight,10);e.rows=1;let o=Math.floor(e.scrollHeight/i);o>6?(o=6,e.style.overflowY="auto"):e.style.overflowY="hidden",e.rows=o}function Uqe(e,t){return d`
    ${e.starterPrompts?hye(e,t):""} ${bn(e.messages,n=>n.index,n=>mye(n,t))}
    `}function P3(e,t){return d`${Uqe(e,t)} ${qqe(e,t)}`}function yye(){return d` `}function vye(e,t,n=!1){return d`

    ${Gr()}

    ${Nf}
    ${yye()}
    ${P3(e,t)}
    `}function Oqe(e){return e?d` ${e} `:d``}function qqe(e,t){return d`
    ${e.starterPrompts?bye(e,t):""}
    ${_ye(e,t)}
    ${Oqe(e.currentValidationMessage)}
    `}function kye(e,t=!1){return d`

    ${Gr()}

    ${Nf}
    ${yye()}

    ${Rv}

    ${$f}

    `}function xye(){return d` `}function Hqe(e,t,n){let i=()=>{document.querySelector('[data-flyout-button="close"]')?.click(),IR(()=>{e.notifyPropertyChanged();let o=document.querySelector("[data-ask-learn-flyout-entry]");o&&cu(o,!0)},!0)};return d`

    ${Gr()}

    ${Nf}
    ${xye()}

    ${_C}

    ${$Q}

    `}function Bqe(e,t){switch(e.currentView){case"history":return t_e(e.historyViewModel,e);default:return P3(e,t)}}function jqe(e,t,n){switch(e.currentView){case"history":return"";default:return d`
    ${Op}
    `}}function zqe(e,t){switch(e.currentView){case"history":let n=e.historyViewModel;return d`
    `;default:return""}}function Vqe(){let e=uA("me","settings"),t=e.searchParams.get("preview"),n=new Set(t?t.split(","):[]);return n.add("learn-companion"),e.searchParams.set("preview",[...n].join(",")),e.hash="ask-learn-settings-container",e.toString()}function Tye(e,t,n=!1){if(e.companionActive&&!$R())return Hqe(e,t,n);let i=e.navigator,o=Vqe();return d`

    ${Gr()}

    ${Nf}
    ${jqe(e,i,o)} ${xye()}
    ${zqe(e,i)}
    ${Bqe(e,t)}
    `}var fu=class{constructor(t={}){this.detail=t}},Kl=class{constructor(t={}){this.detail=t}},ly=class{constructor(t={}){this.detail=t}},cy=class{constructor(t={}){this.detail=t}},Yl=class{constructor(t={}){this.detail=t}},hu=class{constructor(t={}){this.detail=t}},uy=class{constructor(t={}){this.detail=t}},dy=class{constructor(t={}){this.detail=t}};var Sye={chat:hQ,history:Mf},nM=class{constructor(t){this.args=t;this.currentView="chat";this.previousView="chat";this.focusedElement=null;this.escController=null}goto(t,n){t!==this.currentView&&(this.focusedElement=n!==void 0?n:document.activeElement instanceof HTMLElement?document.activeElement:null,this.previousView=this.currentView,this.currentView=t,this.args.onChange(),t==="chat"?this.detachEscHandler():this.attachEscHandler(),requestAnimationFrame(()=>{ut(Sye[t]),this.args.getContainer()?.querySelector(ep.join(","))?.focus()}))}back(){if(this.currentView==="chat")return;let t=this.previousView;this.previousView=this.currentView,this.currentView=t,this.args.onChange(),this.detachEscHandler(),requestAnimationFrame(()=>{ut(Sye[t]),this.focusedElement?.focus(),document.activeElement!==this.focusedElement&&this.args.getContainer()?.querySelector(ep.join(","))?.focus()})}reset(){this.currentView="chat",this.previousView="chat",this.focusedElement=null,this.detachEscHandler()}attachEscHandler(){if(!this.escController){let t=this.args.getContainer();if(!t)return;this.escController=new AbortController,t.addEventListener("keydown",n=>{n.key==="Escape"&&(n.preventDefault(),this.back())},{signal:this.escController.signal})}}detachEscHandler(){this.escController?.abort(),this.escController=null}};var wye=en,Cye=ol,iM=class extends je{constructor(){super(...arguments);this.conversations=[];this.keyword="";this.isLoading=!1;this.isDeleting=!1;this.isRenaming=!1;this.error=null;this.continuationToken=null;this.haAlpha XR=!1;this.totalConversations=0;this.pendingRenameId=null;this.pendingRenameDraft="";this.pendingDeleteId=null;this.conversationsSnapshot=null}get filteredConversations(){if(!this.keyword)return this.conversations;let n=this.keyword.toLowerCase();return this.conversations.filter(i=>i.summary.toLowerCase().includes(n))}notifyPropertyChanged(){this.publish(new fu({}))}async search(n){let i=n.trim();if(this.keyword===i||!i)return;let o=!this.keyword;this.keyword=i,o?(this.conversationsSnapshot={conversations:this.conversations,continuationToken:this.continuationToken,haAlpha XR:this.haAlpha XR,totalConversations:this.totalConversations},await this.fetch(MR)):this.notifyPropertyChanged();let s=this.filteredConversations.length,r=s===0?hn:(s===1?hte:r0).replace("{numberOfResults}",`${s}`);ut(r)}clearSearch(){if(!this.keyword)return;this.keyword="";let n=this.conversationsSnapshot;n&&(this.conversations=n.conversations,this.continuationToken=n.continuationToken,this.haAlpha XR=n.haAlpha XR,this.totalConversations=n.totalConversations,this.conversationsSnapshot=null,this.error=null),this.notifyPropertyChanged()}startRename(n){let i=this.conversations.find(o=>o.conversationId===n);this.pendingRenameId=n,this.pendingRenameDraft=i?.summary??"",this.pendingDeleteId=null,this.error=null,this.notifyPropertyChanged()}cancelRename(){this.pendingRenameId=null,this.pendingRenameDraft="",this.error=null,this.notifyPropertyChanged()}updateRenameDraft(n){this.pendingRenameDraft=n}startConfirmDelete(n){this.pendingDeleteId=n,this.pendingRenameId=null,this.error=null,this.notifyPropertyChanged()}cancelConfirmDelete(){this.pendingDeleteId=null,this.error=null,this.notifyPropertyChanged()}async fetch(n){if(!this.isLoading){this.isLoading=!0,this.error=null,this.notifyPropertyChanged();try{let i=await Cz(void 0,n);this.conversations=i.conversations,this.continuationToken=i.continuationToken,this.haAlpha XR=i.haAlpha XR,this.totalConversations=i.totalConversations}catch{this.error=wye}finally{this.isLoading=!1,this.notifyPropertyChanged()}}}async fetchMore(){if(!(this.isLoading||!this.haAlpha XR||!this.continuationToken)){this.isLoading=!0,this.error=null,this.notifyPropertyChanged();try{let n=await Cz(this.continuationToken);this.conversations=[...this.conversations,...n.conversations],this.continuationToken=n.continuationToken,this.haAlpha XR=n.haAlpha XR,this.totalConversations=n.totalConversations}catch{this.error=wye}finally{this.isLoading=!1,this.notifyPropertyChanged()}}}async deleteOne(n){if(this.isDeleting)return!1;this.isDeleting=!0,this.notifyPropertyChanged();try{return await Ybe(n),this.conversations=this.conversations.filter(i=>i.conversationId!==n),this.updateSnapshot(i=>{let o=i.conversations.filter(s=>s.conversationId!==n);return o.length===i.conversations.length?null:{conversations:o,totalConversations:i.totalConversations-1}}),this.pendingDeleteId===n&&(this.pendingDeleteId=null),this.error=null,!0}catch{return this.error=Cye,!1}finally{this.isDeleting=!1,this.notifyPropertyChanged()}}async rename(n,i){if(this.isRenaming)return!1;let o=this.conversations.findIndex(r=>r.conversationId===n);if(o===-1)return!1;this.isRenaming=!0;let s=this.conversations[o];this.conversations=[...this.conversations.slice(0,o),{...s,summary:i},...this.conversations.slice(o+1)],this.notifyPropertyChanged();try{return await Wbe(n,i),this.updateSnapshot(r=>({conversations:r.conversations.map(a=>a.conversationId===n?{...a,summary:i}:a)})),this.pendingRenameId===n&&(this.pendingRenameId=null,this.pendingRenameDraft=""),this.error=null,!0}catch{return this.conversations=[...this.conversations.slice(0,o),s,...this.conversations.slice(o+1)],this.error=Cye,!1}finally{this.isRenaming=!1,this.notifyPropertyChanged()}}updateSnapshot(n){let i=this.conversationsSnapshot;if(!i)return;let o=n(i);o&&(this.conversationsSnapshot={...i,...o})}};var oM=class extends je{constructor(n){super();this.state="none";this.index=n}getSelectedOption(n){return n?.querySelector('input[type="radio"]:checked')}getVerbatimText(n){return n?.querySelector("textarea")?.value}previewPayload(n,i=!1){if(!n)return;let o=n.target.closest("form"),s=this.getSelectedOption(o),r=this.getVerbatimText(o);s&&(this.userRadioSelection=s.value,this.verbatim=r),this.publish(new hu({refresh:i,msgIndex:this.index}))}handleSubmit(n,i){i.preventDefault();let o=i.target.closest("form"),s=this.getSelectedOption(o),r=this.getVerbatimText(o);s&&(this.userRadioSelection=s.value,this.verbatim=r,this.state="submitted",n.notifyPropertyChanged(),this.publish(new Yl({consentProvided:!0})))}clearRadioSelection(){Array.from(document.querySelectorAll("[data-chat-container-name]")).forEach(i=>{i.querySelectorAll('input[type="radio"]').forEach(s=>{s.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 Kl({scroll:!1}))}};var Gqe={contentIsHTML:!1,type:"user"},ws,sM=class extends je{constructor(n,i={},o,s,r,a){super();Gt(this,ws,"loading");this.firstRender=!0;this.errorMapping={};this.skeletonHidden=!1;let{contentIsHTML:l,type:c}={...Gqe,...i};if(this.type=c||"user",this.contentIsHTML=l||!1,this.index=o,this.maxMessages=s,this.errorMapping=r||{},this.sessionId=a,n instanceof Promise)this.fetchInternal=n;else{let u=n;this.content=u.content,this.citations=u.citations,this.type=u.type,this.interactionId=u.interactionId,this.rating=u.rating,gt(this,ws,u.state||"loaded"),this.responseCount=u.responseCount,this.responseCount||(this.skeletonHidden=!0),this.fetchInternal=Promise.resolve({})}this.type==="ai"&&(ut(xC,"assertive"),this.feedbackViewModel=new oM(o),this.feedbackViewModel.subscribe(Kl,()=>this.notifyPropertyChanged()),this.feedbackViewModel.subscribe(Yl,u=>this.publish(new Yl(u.detail))),this.feedbackViewModel.subscribe(hu,u=>this.publish(new hu({refresh:u.detail.refresh,msgIndex:u.detail.msgIndex,likeOrDislike:this.rating})))),this.load().then(()=>{this.type==="ai"&&ut(UQ),this.notifyPropertyChanged()})}get loading(){return Te(this,ws)==="loading"}get cancelled(){return Te(this,ws)==="cancelled"}get loaded(){return Te(this,ws)==="loaded"}get errored(){return Te(this,ws)==="errored"}get allowLoadingView(){return Te(this,ws)==="loading"&&this.type==="ai"}updateResponseCount(n){this.responseCount=n,this.responseCount>=this.maxMessages&&this.chatSetBusy()}async load(){this.loading&&(await Promise.race([this.loadInternal(),this.awaitCancellation()]),this.publish(new dy),this.notifyPropertyChanged())}async awaitCancellation(){return new Promise(n=>{this.cancel=n}).then(n=>{this.contentIsHTML=!1,gt(this,ws,"cancelled"),ut(bC,"assertive"),this.focusElementOnCancel(n)})}focusElementOnCancel(n){let i=n.target instanceof HTMLElement&&n.target.closest("[data-chat-container-name]");if(!i)return;let o=i.dataset.containerName;if(!o)return;let s=document.querySelector(`[data-focus-on-cancel="${o}"]`);s&&s.focus()}async loadInternal(){if(this.loaded||this.errored)return;let n=await this.fetchInternal;if(n.responseCount===0&&(this.skeletonHidden=!0),!this.loading){n.responseCount&&this.updateResponseCount(n.responseCount),this.notifyPropertyChanged();return}n.message&&(this.content=n.message),n.citations&&(this.citations=n.citations),n.sessionId&&(this.sessionId=n.sessionId),n.interactionId&&(this.interactionId=n.interactionId),n.responseCount&&this.updateResponseCount(n.responseCount),n.isError?gt(this,ws,"errored"):this.loading&>(this,ws,"loaded")}resetChat(){this.publish(new cy)}chatSetBusy(){this.publish(new ly)}updateFeedback(n){this.rating===n?(this.rating=void 0,this.feedbackViewModel&&this.feedbackViewModel.undoFeedback()):(this.rating=n,this.feedbackViewModel&&(this.feedbackViewModel.state=n,this.feedbackViewModel.clearRadioSelection())),this.publish(new Yl),this.notifyPropertyChanged()}regenerateMessage(){this.cancelled&&(gt(this,ws,"loading"),this.contentIsHTML=!0,this.load(),this.notifyPropertyChanged())}notifyPropertyChanged(){let n=this.contentIsHTML&&this.firstRender&&this.loaded&&this.type==="ai";n&&(this.firstRender=!1),this.publish(new Kl({updateCodeBlocks:n,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"?Te(this,ws):void 0,rating:this.rating}}};ws=new WeakMap;var rM=class extends je{constructor(t,n,i){super(),this.name=t,this.description=n,this.prompt=i,this.clicked=!1}clickSuggestionPill(){this.clicked=!0,this.publish(new uy({prompt:this.prompt}))}resetSuggestionPill(){this.clicked=!1}};var aM={empty:KQ,short:kC,exceeded:_N},Qqe=8*60*60*1e3,Kqe="learn_companion_channel",aS,lS,cS,Mo,uS,dS,py,my,Hg,gy,lM=class extends je{constructor(n){super();this.textarea=null;this.navigator=null;Gt(this,aS,"");Gt(this,lS,"");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");Gt(this,cS);Gt(this,Mo,[]);Gt(this,uS);Gt(this,dS);Gt(this,py);Gt(this,my);Gt(this,Hg,null);this.initialized=new Promise(n=>{this.initialize=n});this._busy=!1;Gt(this,gy,null);gt(this,cS,n.fetch),gt(this,uS,n.getContextIdType),gt(this,dS,n.getContextId),this.maxMessages=n.maxMessages,this.validate=n.validate||(()=>null),this.errorMapping=n.errorMapping||{},this.starterPrompts=n.starterPrompts,gt(this,py,n.onFeedback),gt(this,my,n.onTimeTelemetry),this.initSuggestionPills(n),this.setUpTestKeyboardListener(),n.companionActive?(this.companionActive=!0,this.broadcastChannel.close(),this.broadcastChannel=new BroadcastChannel(Kqe),this.navigator=new nM({onChange:async()=>{this.navigator?.currentView==="history"&&await this.historyViewModel.fetch(),this.notifyPropertyChanged()},getContainer:()=>this.getActiveContainer()})):this.companionActive=!1,this.initUserInteractionListener(),this.handleInitialChatHistory(),this.initBroadcastChannel(),this.initialize()}get sessionId(){return Te(this,aS)}set sessionId(n){gt(this,aS,n||"")}get currentMessageLength(){return this.currentMessage.length}get currentMessage(){return Te(this,lS)||""}set currentMessage(n){gt(this,lS,n)}get historyViewModel(){return Te(this,Hg)||(gt(this,Hg,new iM),Te(this,Hg).subscribe(fu,n=>this.notifyPropertyChanged(n.detail))),Te(this,Hg)}get messages(){return Te(this,Mo)}get busy(){return this._busy}get currentView(){return this.navigator?.currentView??"chat"}async submit(n){n.preventDefault(),this.validateMinLength(),!(!this.canSubmit||!this.currentMessage)&&(this.resetTextAreaHeight(this.getActiveTextArea(this.getActiveContainerName())),this.userMessage(),await this.fetch(),this.notifyPropertyChanged())}async submitWithPrompt(n){this.currentMessage=n,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(n,i){this.currentMessage=n;let o=this.getActiveTextArea(i);this.notifyPropertyChanged(),o&&(o.focus(),o.dispatchEvent(new Event("input")))}initSuggestionPills(n){this.suggestionPills=n.suggestionPills?.map(i=>new rM(i.name,i.description,i.prompt))||[],this.suggestionPills.forEach(i=>{i.subscribe(uy,o=>{o.detail.prompt&&this.submitWithPrompt(o.detail.prompt)})})}resetSuggestionPills(){this.suggestionPills?.forEach(n=>n.resetSuggestionPill())}notifyPropertyChanged(n){this.publish(new fu({...n}))}populateForTest(n){gt(this,Mo,n),this.notifyPropertyChanged()}async loadConversation(n){if(!n)return;let i=()=>{requestAnimationFrame(()=>{this.currentView==="chat"&&this.getActiveTextArea()?.focus()})};if(this.sessionId===n&&Te(this,Mo).length>0&&Te(this,Mo).some(s=>!s.errored)){i();return}if(Te(this,gy))return;gt(this,gy,n),this.sessionId=n,gt(this,Mo,[]),this.indexCount=0,this.responseCount=0,this.setBusy(),this.notifyPropertyChanged(),i();let o=(s,r={})=>{this.pushMessage(s,r,this.createChildVmIndex(),this.maxMessages,this.errorMapping,this.sessionId)};try{let s=await Jbe(n);if(s.error){o({content:s.error,state:"errored",type:"ai"}),ut(s.error,"assertive");return}for(let r of s.messages)o({type:r.type,content:r.content,state:"loaded"},{contentIsHTML:!0,type:r.type});ut(gQ)}finally{gt(this,gy,null),this.setReady(),this.notifyPropertyChanged({scroll:!0})}}getActiveTextArea(n){if(n){let s=document.querySelector(`[data-chat-textarea-container-name="${n}"]`);if(s)return s}let i=this.getActiveContainer(n);if(!i)return null;let o=i.querySelector("[data-chat-textarea-container-name]");return o||null}getActiveContainer(n){if(n){let s=document.querySelector(`[data-chat-container-name="${n}"]`);if(s)return s}let i=Array.from(document.querySelectorAll("[data-chat-container-name]"));if(i.length===0)return null;let o=i.find(s=>getComputedStyle(s).display!=="none");return o||null}getActiveContainerName(){let n=this.getActiveContainer();return n&&n.getAttribute("data-chat-container-name")||""}validateMinLength(){this.currentMessage.length===0?(this.canSubmit=!1,this.currentValidationMessage=aM.empty):this.currentMessage.lengththis.MAX_CHAR_LENGTH&&(this.canSubmit=!1,this.currentValidationMessage=aM.exceeded,ut(_N)),this.notifyPropertyChanged()}handleKeyDown(n){n.key==="Enter"&&!n.shiftKey&&(n.preventDefault(),this.submit(n),ve({behavior:le.OTHER,actionType:Ce.KEYBOARDENTER,content:{autoIngest:!0,type:"ask-learn-assistant-submit-prompt",an:"ask-learn-assistant",name:"submit-enter"}}))}reset(n=!1){gt(this,Mo,[]),this.sessionId="",this.deleteChatHistory(),this.indexCount=0,this.responseCount=0,this.setReady(),this.canSubmit=!0,this.resetSuggestionPills(),this.navigator?.reset(),this.notifyPropertyChanged(),ut(mQ),n||this.broadcastChannel.postMessage({type:"reset"})}clearActiveChat(n=!1){gt(this,Mo,[]),this.sessionId="",this.deleteChatHistory(),this.notifyPropertyChanged(),n||this.broadcastChannel.postMessage({type:"clear-active-chat"})}scrollToActiveMessage(n,i="smooth"){let o=this.getActiveContainer(n);if(!o)return;let s=`[data-scroll-into-view="${this.scrollHandle}"]`,r=o.querySelector(s);if(!r){if(this.currentView!=="chat")return;throw new Error("No active scroll handle found for chat.")}r.scrollIntoView({block:"nearest",inline:"start",behavior:i})}createMessagesHistoryArray(n=!1){let i=[];for(let o=0;o0&&(this.messages[this.messages.length-1].skeletonHidden=!0,this.publish(new Kl({})))}finally{(this.responseCountthis.handleMessageChange(c.detail)),l.subscribe(ly,()=>this.setBusy()),l.subscribe(cy,()=>{this.reset()}),l.subscribe(Yl,c=>{this.sendTelemetryToOneDS(c.detail),this.saveChat()}),l.subscribe(hu,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(dy,()=>{this.saveChat()}),Te(this,Mo).push(l)}userMessage(){this.pushMessage(Promise.resolve({message:this.currentMessage}),{},this.createChildVmIndex(),this.maxMessages,{})}systemMessage(n){this.pushMessage(n,{contentIsHTML:!0,type:"ai"},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}errorMessage(n){let i;n in this.errorMapping?i=this.errorMapping[n]:i=Gi;let o={content:i,state:"errored",type:"ai"};this.pushMessage(o,{},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}handleMessageChange(n){this.notifyPropertyChanged(n)}createChildVmIndex(){return this.indexCount++}setUpTestKeyboardListener(){Hl&&window.addEventListener("keydown",n=>{n.ctrlKey&&n.shiftKey&&n.altKey&&n.key==="T"&&this.testPrompt()})}resetTextAreaHeight(n){n&&(n.rows=1,n.style.overflowY="hidden")}serializeChat(){return JSON.stringify({sessionId:this.sessionId,messages:this.messages.filter((n,i,o)=>{if(!n.loaded)return!1;if(n.type==="user"){let s=o[i+1];if(!s||!s.loaded)return!1}return!0}).map(n=>n.saveMessage())})}saveChat(n=!1){let i=this.serializeChat(),o={type:"history",payload:i,shouldScroll:n};this.broadcastChannel.postMessage(o),this.companionActive?(X.setItem(RR,i),X.setItem(Dg,Date.now().toString())):(X.setItem(PR,i),X.setItem(Rg,Date.now().toString()))}deleteChatHistory(){this.companionActive?(X.removeItem(RR),X.removeItem(Dg)):(X.removeItem(PR),X.removeItem(Rg))}getChatHistory(){let n=X.getItem(this.companionActive?RR:PR);return n?JSON.parse(n):null}restoreChatHistory(n,i=!1){n&&(this.sessionId=n.sessionId,gt(this,Mo,[]),n.messages.forEach(o=>{this.pushMessage(o,{contentIsHTML:!0,type:o.type},this.createChildVmIndex(),this.maxMessages,this.errorMapping,this.sessionId),this.responseCount=o.responseCount||0,this.responseCount>=this.maxMessages&&this.setBusy()}),this.notifyPropertyChanged({scroll:i}))}clearChatsUponInactive(){let n=X.getItem(this.companionActive?Dg:Rg);if(!n)return;let i=parseInt(n);Date.now()-i>Qqe&&(this.deleteChatHistory(),this.reset(),X.removeItem(this.companionActive?du:Mg))}handleInitialChatHistory(){if(!kR&&(this.clearChatsUponInactive(),this.restoreChatHistory(this.getChatHistory()),X.getItem(this.companionActive?du:Mg)==="true")){if(this.companionActive&&!$R()){X.removeItem(du);return}this.handleFlyoutOpenStateChange(!0)}}initBroadcastChannel(){kR||(this.broadcastChannel.onmessage=n=>{if(n.data)switch(n.data.type){case"history":try{let i=JSON.parse(n.data.payload||"{}");this.restoreChatHistory(i,n.data.shouldScroll)}catch{}break;case"reset":this.reset(!0);break;case"clear-active-chat":this.clearActiveChat(!0);break;case"open-state":this.handleFlyoutOpenStateChange(n.data.isOpen);break}})}initUserInteractionListener(){kR||(window.addEventListener("focusin",()=>{X.setItem(this.companionActive?Dg:Rg,Date.now().toString())}),this.companionActive&&document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&!this.busy&&this.restoreChatHistory(this.getChatHistory())}),window.addEventListener("flyout-show",()=>{X.setItem(this.companionActive?du:Mg,"true"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!0})}),window.addEventListener("flyout-hide",()=>{X.setItem(this.companionActive?du:Mg,"false"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!1})}))}handleFlyoutOpenStateChange(n){let i=document.querySelector("[data-ask-learn-flyout-entry]");if(!i)return;let o=document.documentElement.classList.contains("layout-flyout-active");if(n!==o)if(n)cu(i);else{let s=document.querySelector('button[data-flyout-button="close"]');s&&s.click()}}initialize(){}};aS=new WeakMap,lS=new WeakMap,cS=new WeakMap,Mo=new WeakMap,uS=new WeakMap,dS=new WeakMap,py=new WeakMap,my=new WeakMap,Hg=new WeakMap,gy=new WeakMap;var Bi,cM,Yqe=async e=>{await(cM??Promise.resolve()),IR(()=>{cM=DR(),Bi?.notifyPropertyChanged(),e()})},Wqe=(()=>{let e=new URLSearchParams(window.location.search),t=e.has("asklearn");if(t){e.delete("asklearn");let n=e.toString(),i=`${window.location.pathname}${n?"?"+n:""}${window.location.hash}`;window.history.replaceState(window.history.state,window.document.title,i)}return t})();function Jqe(e){return e.map(t=>WT(t))}function Zqe(e,t,n,i){return!!(e||t||n||i)}function Xqe(e){return e?Zbe:Vbe}function eHe(e){return e?{lastInteractionTimeKey:Dg,openStatusKey:du}:{lastInteractionTimeKey:Rg,openStatusKey:Mg}}function tHe(e,t){window.addEventListener("flyout-show",()=>{X.setItem(e,Date.now().toString()),X.setItem(t,"true")}),window.addEventListener("flyout-hide",()=>{X.setItem(e,Date.now().toString()),X.setItem(t,"false")})}async function Eye(){if(!S.chatTutor||b.data.isPermissioned&&b.data.permissionedType!=="public")return;let e=Qe("chat-tutor",{require:!0}),[t,n,i]=await Promise.all([Ss("ask-learn"),Ss("ask-learn-on-articles"),Ss("ask-learn-on-reference"),_e,Se]);if(!Zqe(e,t,n,i)){document.documentElement.classList.remove("layout-flyout-active");return}let s=Qe("learn-companion",{require:!0}),{lastInteractionTimeKey:r,openStatusKey:a}=eHe(s);z_("devlang");let l=w.isAuthenticated,c=s?ey(nr):ey();c<2&&Jqe([X_,XT]);let{chatContainer:u,chatModal:p}=nHe();if(!u||!p)return;let m=[],g=document.getElementById("ask-learn-flyout");g&&m.push({element:g,name:"ask-learn-flyout",sticky:!0});let f=s?Yqe:Qbe;yz(kz,p,f),yz(TR,p,f),vz(JT,f),vz(SR,f,!0),Dbe(Fbe,()=>p.show(),cu,f),Nbe(p,JT),qbe();let _=[{element:u,name:"ask-learn-modal"},...m];if(l){let h=await Xqe(s);s&&c>=2&&(cM=DR(),X.getItem(du)==="true"&&await cM),iHe(h,_)}else{for(let h of _)v(kye(h.name,!!h.sticky),h.element);tHe(r,a)}Wqe&&X.getItem(a)!=="true"&&f(()=>{if(Ao.matches){let k=document.querySelector(JT);k&&cu(k,!0)}else p.show()})}function nHe(){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 ye(e);return{chatContainer:e,chatModal:t}}async function iHe(e,t){if(!t||t.length===0)throw new Error("Invalid container provided to Chat View Model.");Bi=new lM(e);let n=e.companionActive?Tye:vye;Bi.subscribe(fu,async i=>{for(let o of t){v(n(Bi,o.name,!!o.sticky),o.element);let s=Array.from(o.element.querySelectorAll(`[data-interaction-id="${i.detail.interactionId}"]`));if(i.detail.updateCodeBlocks)for(let r of s)VT(r);Ez(o.element,s),i.detail.scroll&&Bi.scrollToActiveMessage(o.name)}}),await Bi.initialized,window.addEventListener("resize",Z_.timeout(()=>{for(let i of t){let o=Array.from(i.element.querySelectorAll("[data-interaction-id]"));Ez(i.element,o)}},250));for(let i of t)v(n(Bi,i.name,!!i.sticky),i.element);window.addEventListener("modal-show",()=>{Bi.scrollToActiveMessage("ask-learn-modal","instant")}),window.addEventListener("flyout-show",()=>{Bi.scrollToActiveMessage("ask-learn-flyout","instant")})}var I3,oHe="article-header-page-actions",sHe="article-header-page-actions-overflow",Aye="[data-page-action-item]";function R3(e=Array.from(document.querySelectorAll(Aye))){let t=document.getElementById(oHe);if(!t)return;I3&&I3.disconnect(),Pye(e);let n=new MutationObserver(()=>{Pye(Array.from(t.querySelectorAll(Aye)))});n.observe(t,{childList:!0,attributes:!0,attributeFilter:["hidden"],subtree:!0}),I3=n,t.classList.remove("opacity-none")}function rHe(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 Pye(e){let t=document.getElementById(sHe);if(!t)return;let n=t.getAttribute("data-reset-required");if(n)switch(n){case"display-none":t.classList.remove("display-none");case"display-none-tablet":t.classList.remove("display-none-tablet");default:break}let i=!1,o=!1,s=t.querySelector('[data-list-type="plan"]');s&&(s.hidden=!1);for(let r of e)if(r.dataset.pageActionItem){let a=r.dataset.pageActionItem;if(!a)continue;let l=r.dataset?.checkHidden==="true",c=r.hidden,u=rHe(a);if(u==="overflow-all"&&(!l||!c)){i=!0;break}if(u==="overflow-mobile"&&(!l||!c)){o=!0;continue}}t&&(!i&&o&&(t.classList.add("display-none-tablet"),t.setAttribute("data-reset-required","display-none-tablet")),!i&&!o&&(t.classList.add("display-none"),t.setAttribute("data-reset-required","display-none")))}function Iye(){document.documentElement.classList.contains("layout-focus-mode")&&L3({isLoad:!0}),document.addEventListener("click",t=>{t.target instanceof Element&&t.target.closest("[data-focus-mode]")&&L3()}),window.addEventListener("resize",()=>{Ta.matches||!document.documentElement.classList.contains("layout-focus-mode")||L3({isResize:!0})},{passive:!0})}function L3({isResize:e,isLoad:t}={}){if(!document.getElementById("ms--focus-mode-button"))return;if(e){document.documentElement.classList.remove("layout-focus-mode");return}let i=document.documentElement.classList.contains("layout-focus-mode"),o=t?i:!i,s="layout-menu-collapsed"in ju.getViewState()?ju.getViewState()["layout-menu-collapsed"]:o;document.documentElement.classList.toggle("layout-focus-mode",o),document.documentElement.classList.toggle("layout-menu-collapsed",s)}ju.subscribe("layout-focus-mode","always",e=>{let t=document.getElementById("ms--focus-mode-button");if(!t)return;let n=e.isApplied;t.classList.toggle("is-selected",n),t.setAttribute("aria-pressed",n.toString()),t.setAttribute("data-bi-name",n?"focus-mode-exit":"focus-mode-entry"),document.body.setAttribute("data-bi-name",n?"body-focus-mode":"body"),ut(n?XJ:eZ,"assertive"),Pt()});function aHe(){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 pS(e){return/^(?:android|ios|linux|macos|windows)$/.test(e)}var lHe=cHe();function cHe(){let e=!1,t=navigator.userAgent||navigator.vendor,n=/(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,i=/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(n.test(t)||i.test(t.substr(0,4)))&&(e=!0),e}var mS=aHe(),Lye="preferred-platform";function uHe(){let e=X.getItem(Lye);return e!==null&&pS(e)?e:null}var uM=uHe();function dM(e){X.setItem(Lye,e)}var M3=["button-primary","is-selected"],Mye=["previous-versions","archive"],dHe=({location:e,allowedPaths:t})=>{let n=ip(e).pathname.split("/"),i=t.includes(n[2])?4:3;return n.slice(0,i).join("/")},$3=dHe({location:ee,allowedPaths:Mye});function D3(){let e=N3();if(!e.length)return Promise.resolve();let t={get(n){return X.getItem(`zone-pivot${$3}/${n}`)},set(n,i){X.setItem(`zone-pivot${$3}/${n}`,i)}};return Promise.all([bHe(),Se]).then(([n])=>{let i=document.querySelector("[data-main-column] .top-alert")??document.querySelector("[data-main-column] .page-metadata-container")??document.querySelector("[data-main-column] .page-metadata"),o=document.querySelector('[data-id="ai-summary"]'),s=[i,o].filter(a=>a!==null);if(s.length===0)return;let r=s.reduce((a,l)=>a.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING?l:a);gHe(r,e,n,t)})}function N3(){return(I("zone_pivot_groups")||"").split(",").map(e=>e.trim()).filter(e=>e.length)}function pHe(e){document.querySelectorAll(`[data-pivot]${e.map(n=>`:not([data-pivot~='${n}'])`).join("")}`).forEach(n=>{Array.from(n.querySelectorAll("[id]")).forEach(o=>$ye(o))})}var mHe=e=>{e.forEach(t=>{document.querySelectorAll(`[data-pivot~='${t}'] [data-id]`).forEach(s=>{s.id=s.getAttribute("data-id"),s.removeAttribute("data-id")});let i=Array.from(document.querySelectorAll(`[data-pivot~='${t}'] [id]`)).map(s=>s.id);document.querySelectorAll(`[data-pivot]:not([data-pivot~='${t}']) [id]`).forEach(s=>{i.includes(s.id)&&$ye(s)})})};function $ye(e){e.setAttribute("data-id",e.id),e.removeAttribute("id")}function gHe(e,t,n,i){let o=oe().pivots,s=o?o.split(",").map(f=>f.trim().toLowerCase()):[],r=hHe(n,t,s,i,uM||mS),a=document.createElement("style");document.head.appendChild(a),Rye(a,r);let l=t.map(f=>n.find(_=>_.id===f)).filter(f=>f!==void 0);if(l.length===0)return;let c=fHe(e,l,r),u=Array.from(c.querySelectorAll('input[type="radio"]')).map(f=>({input:f,button:f.closest(".button")})),p=()=>{Rye(a,u.filter(f=>f.input.checked).map(f=>f.input.value)),u.forEach(({input:f,button:_})=>{f.checked?(_.classList.add(...M3),_.querySelector(".icon").classList.remove("is-hidden")):(_.classList.remove(...M3),_.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;i.set(_,h),pS(h)&&dM(h)};Ot(c,"change",p),Ot(c,"blur",m,!0),Ot(c,"focus",m,!0),Ot(c,"change",g),Sg(()=>a.remove())}function Rye(e,t){e.textContent=` [data-pivot]${t.map(n=>`:not([data-pivot~='${n}'])`).join("")} { display: none !important; }`,pHe(t),mHe(t),sp(),Pt(),jt({pivots:t.join()},"replaceState")}function fHe(e,t,n){let{userDir:i,userLocale:o}=b.data;return e.insertAdjacentHTML("afterend",`
    ${t.map(s=>`
    ${s.prompt}
    ${s.pivots.map(r=>` `).join(` `)}
    `).join(` `)}
    `),e.nextElementSibling}function hHe(e,t,n,i,o){let s=[];for(let r of t){let a=e.find(f=>f.id===r);if(!a)continue;let l=i.get(r),c=a.pivots,u,p,m,g;for(let f of c)g||(g=f.id),!u&&n.indexOf(f.id)!==-1&&(u=f.id),!p&&f.id===l&&(p=f.id),!m&&f.id===o&&(m=f.id);s.push(u||p||m||g)}return s}function bHe(){let e=_He();return M(e,{credentials:"include"}).then(t=>t.json()).then(t=>t.groups)}function _He(){let{branch:e}=oe(),t=I("zone_pivot_group_filename")||"zone-pivot-groups.json",n=e?"?"+re({branch:e}):"",i=["nb-no"],o=$3,s=o.split("/")[1],r=i.includes(s);r&&(o=o.replace(s,"en-us"));let a=`${o}/${t}${n}`,l=I("zone_pivot_groups_path");l&&(l=Bj(l));let c=l&&l.length>1,u=l&&l.startsWith("/"),p=Mye.filter(f=>ee.pathname.includes(`/${f}/`)),m=p.length>0?`/${p[0]}`:"",g=`/${r?"en-us":s}${m??""}${u?"":"/"}${l}`;return c?g:a}var yHe=["azure.microsoft.com/pricing/purchase-options/azure-account","azure.microsoft.com/free"];function gS(e){try{let t=new URL(e),n=t.hostname+ri(t.pathname);return yHe.some(i=>n.includes(i))}catch{return!1}}function pM(e,t){try{let n=new URL(e),i=n.searchParams.get("cid");if(i===null||i==="")return n.searchParams.set("cid",t?`msft_learn_${t}`:"msft_learn"),n.toString();if(i.includes("msft_learn")&&t&&!i.endsWith(`_${t}`))return n.searchParams.set("cid",`${i}_${t}`),n.toString()}catch{}return e}function Dye(e,t=I("platform_id")){let n=Array.from(e.querySelectorAll("a[href]")).filter(i=>{let o=i.getAttribute("href");return o&&gS(o)});for(let i of n){let o=i.getAttribute("href");!o||!gS(o)||i.setAttribute("href",pM(o,t))}}function Nye(e,t){let n=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?"]')),i;try{i=ri(new URL(t.href)?.pathname)}catch{return[]}for(let o of n){let s;try{s=new URL(o.src)}catch{continue}s.searchParams.set("locale",b.data.userLocale),s.searchParams.set("embedUrl",i),o.src=s.toString(),o.title||(o.title=zf)}return n??[]}function Fye(){if(N3().length)return;let t=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")),n=[],i=[];t.map(o=>n.includes(o.id)?i.push(o):n.push(o.id)),i.forEach(o=>{o.removeAttribute("id")})}A();var Uye="h1,h2,h3,h4,h5,h6",gM=e=>{e.forEach(t=>{let n=t.firstElementChild;t.clientWidth{let n=!1;return(...i)=>{n||(n=!0,H.requestAnimationFrame(()=>{e.apply(t,i),n=!1}))}},mM={definitions:["margin-bottom-sm"],nameValue:["table-stacked-mobile"],dataMatrix:["table-complex","margin-top-sm"],attributeList:["table-complex","width-auto"]};function vHe(e){let t=e.classList;if(t.contains("definitions")){e.classList.add(...mM.definitions);let n=Array.from(e.querySelectorAll("th"));for(let i=0;i{let i;e.parentElement.classList.contains("table-wrapper")?i=e.parentElement.previousElementSibling:i=e.previousElementSibling;let o=0;for(;i&&o<5;){if(i.matches(Uye))return Jp(i).trim();if(i.matches(".heading-wrapper")){let s=i.querySelector(Uye);if(s)return Jp(s).trim()}i=i.previousElementSibling,o++}return sre.replace("{index}",(t+1).toString())})()}function qye(e){Array.from(e.querySelectorAll(".content table")).forEach(n=>{let i=Array.from(n.querySelectorAll("thead tr > th")),o=n.querySelector("tbody");if(!o)return;let s=Array.from(o.children);if(xHe(i,s)){for(let r of s){let l=r.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=T.createElement("th");c.setAttribute("scope","row"),c.innerHTML=l.innerHTML,l.parentElement.replaceChild(c,l)}i.forEach(r=>{if(r.textContent==="")return;r.setAttribute("scope","col");let a=Array.from(n.querySelectorAll("thead tr > th"));if(!a.length||a[0].innerHTML!=="")return;Array.from(n.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 xHe(e,t){if(!(e.length&&e[0].firstElementChild===null&&e[0].textContent===""))return!1;for(let i of t){let s=i.firstElementChild,r=s.firstElementChild,a=s.lastElementChild;if(s.nodeName!=="TD"||!r||!(s.querySelector(".sxs-lookup")?THe(r):r===a&&s.textContent.trim()===r.textContent.trim()&&r.nodeName==="STRONG"))return!1}return!0}function THe(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 SHe(e){let t=T.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 n=d` `,i=d` `,o=c=>d` `,s,r,a;function l(){if(!s||!r){s=T.createElement("div"),a=e.cloneNode(!0);let c=o(a);v(c,s),r=new ye(s),a&&Ot(H,"resize",Oye(()=>gM([a])),{passive:!0})}r.show(),gM([a])}return v(n,t),t}function F3(e=!1,t){let n=Array.from((t??T).querySelectorAll(".content table"));if(!n.length)return;let i=n.map((s,r)=>{if(r<50&&!s.matches("[aria-label], [aria-labelledby]")&&!s.querySelector("caption")){let l=kHe(s,r);s.setAttribute("aria-label",l)}s.classList.add("table"),(b.data.pageTemplate==="Conceptual"||b.data.pageTemplate==="Reference")&&s.classList.add("table-sm","margin-top-none"),s.classList.length!==1&&vHe(s);let a;if(s.classList.contains("nameValue"))return null;if(s.parentElement.classList.contains("table-wrapper"))a=s.parentElement;else if(a=T.createElement("div"),a.classList.add("table-wrapper","inner-focus"),a.tabIndex=0,a.setAttribute("role","group"),a.setAttribute("aria-label",t2),s.parentElement.insertBefore(a,s),a.appendChild(s),!e){let l=SHe(a);a.parentElement&&a.parentElement.insertBefore(l,a)}return a}).filter(s=>s!==null),o=Oye(()=>gM(i));Ot(H,"resize",o,{passive:!0}),Ot(H,"content-update",o,{passive:!0}),gM(i)}function wHe(e){return Array.from(e.querySelectorAll('iframe[src^="https://www.microsoft.com"][src*="/videoplayer/"]'))}function CHe(e,t,n){let i=t.split("/").pop(),o=new URL(`http://approjects.co.za/?big=${e}/videoplayer/embed/${i}`);return n&&o.searchParams.set("postJsllMsg","true"),e!=="en-us"&&o.searchParams.set("autoCaptions",e),o.href}function EHe(e,t=window){t.addEventListener("message",n=>{if(n.origin!=="https://www.microsoft.com"||typeof n.data!="string")return;let i;try{i=JSON.parse(n.data)}catch{}!i||typeof i.eventName!="string"||i.eventName.toLowerCase()!=="postjsllmessage"||e(i.data)})}function Hye(){let t=wHe(document.body);for(let n of t){let i=CHe(b.data.userLocale,n.src,!0);n.src!==i&&(n.src=i),n.title=n.title||zf}t.length&&EHe(ve)}function O3(){AHe(),PHe(),IHe(document.body),Fye(),qye(document.body),Hye(),Nye(document.body,ee),Dye(document.body)}function AHe(){let e={TIP:{class:"is-success",docon:"lightbulb",title:gae},NOTE:{class:"is-info",docon:"status-error-outline",title:$X},IMPORTANT:{class:"is-primary",docon:"status-info-outline",title:PZ},WARNING:{class:"is-warning",docon:"status-warning-outline",title:Uae},CAUTION:{class:"is-danger",docon:"status-failure-outline",title:A9}};Array.from(document.querySelectorAll(".TIP, .NOTE, .IMPORTANT, .WARNING, .CAUTION")).forEach(n=>{let i=/TIP|NOTE|IMPORTANT|WARNING|CAUTION/.exec(n.className)[0];n.className=`alert ${e[i].class}`;let o=n.firstElementChild;!o||!(o instanceof HTMLParagraphElement)||(o.classList.add("alert-title"),o.textContent=e[i].title,o.insertAdjacentHTML("afterbegin",` `))})}function PHe(){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 IHe(e){Array.from(e.querySelectorAll(".break-text > .xref")).forEach(n=>{if(n.firstElementChild!==null)return;let o=n.parentElement.classList.contains("dots-only")?2:3,s=Pi(n.textContent.replace(//g,">"),o);n.innerHTML=s})}function Bye(){document.querySelectorAll("button[data-copy-markdown]").forEach(e=>{e.addEventListener("click",()=>LHe(e))})}async function LHe(e){if(e.dataset.copyState!=="idle")return;fS(e,"loading");let t=new URL(ee.href);t.searchParams.set("accept","text/markdown");try{let n=await fetch(t.toString());if(!n.ok)throw new Error(`Failed to fetch markdown: ${n.status}`);let i=await n.text();await iz(i,e)?(fS(e,"success"),ut(OC,"assertive",1e3),setTimeout(()=>fS(e,"idle"),1e3)):fS(e,"idle")}catch{fS(e,"idle")}}function fS(e,t){e.dataset.copyState=t,e.querySelectorAll("[data-show-when]").forEach(n=>{n.hidden=n.dataset.showWhen!==t})}function jye(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let n=t.closest("[data-dismissable]");n&&(n.classList.contains("notification")||n.classList.contains("banner")||fM(n))},{passive:!0})}async function fM(e){e.getAttribute("data-dismissable")==="disappearing"&&(e.classList.add("disappearing"),await new Promise(t=>setTimeout(t,500))),e.classList.remove("disappearing"),e.remove(),Pt()}function zye(e){e.addEventListener("click",t=>{if(!(t.target instanceof Element))return;let n=null;if(n=t.target.closest(".dropdown-trigger"),n||(n=t.target.shadowRoot?.activeElement?.closest(".dropdown-trigger")),!n)return;t.preventDefault();let i=n.parentElement,o=n.getAttribute("aria-expanded")!=="true";n.setAttribute("aria-expanded",o.toString());let s;if(o&&i){i.classList.contains("has-centered-menu")||RHe(i);let r=u=>{u.target instanceof Element&&(!i.contains(u.target)||u.type==="click"&&u.target.closest(".dropdown-menu-close"))&&(s(),u.target.classList.contains("dropdown-menu-close")&&n&&n.focus())},a=u=>{if(u instanceof KeyboardEvent&&u.keyCode===Pe.escape){u.stopImmediatePropagation();let m=Array.from(T.querySelectorAll('.dropdown-trigger[aria-expanded="true"]')).pop();m&&(m.setAttribute("aria-expanded","false"),m.focus())}},l=async()=>{T.activeElement?.nodeName?.toLowerCase()==="iframe"&&s()};s=()=>{e.removeEventListener("focus",r),e.removeEventListener("click",r),e.removeEventListener("touchstart",r),e.removeEventListener("keydown",a),H.removeEventListener("blur",l),n&&n.setAttribute("aria-expanded","false")},e.addEventListener("focus",r,!0),e.addEventListener("click",r),e.addEventListener("touchstart",r),e.addEventListener("keydown",a),e.addEventListener("collapse-dropdown",u=>{u.stopPropagation(),s()}),H.addEventListener("blur",l)}})}function q3(e){e.dispatchEvent(new CustomEvent("collapse-dropdown",{bubbles:!0}))}function RHe(e){let t=f=>H.getComputedStyle(f).overflowX,n=e.parentElement;for(;n&&n.nodeName!=="BODY"&&t(n)!=="hidden";)n=n.parentElement;if(n===null)return;let i=e.querySelector(".dropdown-trigger"),o=e.querySelector(".dropdown-menu"),s=e.closest(".dropdown-menu")!==null,r=o.classList.contains("is-vertically-scrollable");o.style.left="",o.style.right="",o.style.maxHeight="";let{left:a,right:l}=n.getBoundingClientRect(),{left:c,right:u,top:p,bottom:m}=i.getBoundingClientRect(),g=o.getBoundingClientRect().width;s?(o.style.top="-1px",b.data.userDir==="ltr"?u+g<=l?(o.style.right="0",o.style.transform="translateX(100%)"):(o.style.left="0",o.style.transform="translateX(-100%)"):u-g>=a?(o.style.left="0",o.style.transform="translateX(-100%)"):(o.style.right="0",o.style.transform="translateX(100%)"),r&&(o.style.maxHeight=`${H.innerHeight-p-8}px`)):(b.data.userDir==="ltr"?c+g<=l?o.style.left="0":o.style.right="0":u-g>=a?o.style.right="0":o.style.left="0",r&&(o.style.maxHeight=`${H.innerHeight-m-8}px`))}Ve();var Gye=$1(j3(),1);var bu=class extends Error{constructor(n,i,o){super(n,{cause:o.cause});Xt(this,"name");Xt(this,"status");Xt(this,"request");Xt(this,"response");this.name="HttpError",this.status=Number.parseInt(i),Number.isNaN(this.status)&&(this.status=0);"response"in o&&(this.response=o.response);let s=Object.assign({},o.request);o.request.headers.authorization&&(s.headers=Object.assign({},o.request.headers,{authorization:o.request.headers.authorization.replace(/(?=400&&!e.doNotRetry.includes(n.status)){let o=i.request.retries!=null?i.request.retries:e.retries,s=Math.pow((i.request.retryCount||0)+1,2);throw t.retry.retryRequest(n,o,s)}throw n}async function $He(e,t,n,i){let o=new Gye.default;return o.on("failed",function(s,r){let a=~~s.request.request.retries,l=~~s.request.request.retryAfter;if(i.request.retryCount=r.retryCount+1,a>r.retryCount)return l*e.retryAfterBaseValue}),o.schedule(DHe.bind(null,e,t,n),i)}async function DHe(e,t,n,i){let o=await n(n,i);if(o.data&&o.data.errors&&o.data.errors.length>0&&/Something went wrong while executing your query/.test(o.data.errors[0].message)){let s=new bu(o.data.errors[0].message,500,{request:i,response:o});return Vye(e,t,s,i)}return o}function z3(e,t){let n=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,410,422,451],retries:3},t.retry);return n.enabled&&(e.hook.error("request",Vye.bind(null,n,e)),e.hook.wrap("request",$He.bind(null,n,e))),{retry:{retryRequest:(i,o,s)=>(i.request.request=Object.assign({},i.request.request,{retries:o,retryAfter:s}),i)}}}z3.VERSION=MHe;var Kye=$1(j3(),1),NHe="0.0.0-development",V3=()=>Promise.resolve();function FHe(e,t,n){return e.retryLimiter.schedule(UHe,e,t,n)}async function UHe(e,t,n){let{pathname:i}=new URL(n.url,"http://github.test"),o=OHe(n.method,i),s=!o&&n.method!=="GET"&&n.method!=="HEAD",r=n.method==="GET"&&i.startsWith("/search/"),a=i.startsWith("/graphql"),c=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(c.expiration=1e3*60),(s||a)&&await e.write.key(e.id).schedule(c,V3),s&&e.triggersNotification(i)&&await e.notifications.key(e.id).schedule(c,V3),r&&await e.search.key(e.id).schedule(c,V3);let u=(o?e.auth:e.global).key(e.id).schedule(c,t,n);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 OHe(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 qHe=["/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 HHe(e){let n=`^(?:${e.map(i=>i.split("/").map(o=>o.startsWith("{")?"(?:.+?)":o).join("/")).map(i=>`(?:${i})`).join("|")})[^/]*$`;return new RegExp(n,"i")}var Qye=HHe(qHe),Yye=Qye.test.bind(Qye),Bg={},BHe=function(e,t){Bg.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),Bg.auth=new e.Group({id:"octokit-auth",maxConcurrent:1,...t}),Bg.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),Bg.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),Bg.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function hM(e,t){let{enabled:n=!0,Bottleneck:i=Kye.default,id:o="no-id",timeout:s=1e3*60*2,connection:r}=t.throttle||{};if(!n)return{};let a={timeout:s};typeof r<"u"&&(a.connection=r),Bg.global==null&&BHe(i,a);let l=Object.assign({clustering:r!=null,triggersNotification:Yye,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new i,id:o,...Bg},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 i.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 y=~~f.retryCount;f.retryCount=y,_.request.retryCount=y;let{wantRetry:x,retryAfter:P=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,y),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(),j=Math.max(Math.ceil((C-Date.now())/1e3)+1,0);return{wantRetry:await u.trigger("rate-limit",j,_,e,y),retryAfter:j}}return{}}();if(x)return f.retryCount++,P*g.retryAfterBaseValue}),e.hook.wrap("request",FHe.bind(null,l)),{}}hM.VERSION=NHe;hM.triggersNotification=Yye;function dp(){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 bM(e,t,n,i){if(typeof n!="function")throw new Error("method for before hook must be a function");return i||(i={}),Array.isArray(t)?t.reverse().reduce((o,s)=>bM.bind(null,e,s,o,i),n)():Promise.resolve().then(()=>e.registry[t]?e.registry[t].reduce((o,s)=>s.hook.bind(null,o,i),n)():n(i))}function Wye(e,t,n,i){let o=i;e.registry[n]||(e.registry[n]=[]),t==="before"&&(i=(s,r)=>Promise.resolve().then(o.bind(null,r)).then(s.bind(null,r))),t==="after"&&(i=(s,r)=>{let a;return Promise.resolve().then(s.bind(null,r)).then(l=>(a=l,o(a,r))).then(()=>a)}),t==="error"&&(i=(s,r)=>Promise.resolve().then(s.bind(null,r)).catch(a=>o(a,r))),e.registry[n].push({hook:i,orig:o})}function Jye(e,t,n){if(!e.registry[t])return;let i=e.registry[t].map(o=>o.orig).indexOf(n);i!==-1&&e.registry[t].splice(i,1)}var Zye=Function.bind,Xye=Zye.bind(Zye);function eve(e,t,n){let i=Xye(Jye,null).apply(null,n?[t,n]:[t]);e.api={remove:i},e.remove=i,["before","error","after","wrap"].forEach(o=>{let s=n?[t,o,n]:[t,o];e[o]=e.api[o]=Xye(Wye,null).apply(null,s)})}function jHe(){let e=Symbol("Singular"),t={registry:{}},n=bM.bind(null,t,e);return eve(n,t,e),n}function zHe(){let e={registry:{}},t=bM.bind(null,e);return eve(t,e),t}var tve={Singular:jHe,Collection:zHe};var VHe="0.0.0-development",GHe=`octokit-endpoint.js/${VHe} ${dp()}`,QHe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":GHe},mediaType:{format:""}};function KHe(e){return e?Object.keys(e).reduce((t,n)=>(t[n.toLowerCase()]=e[n],t),{}):{}}function YHe(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 n=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}function ove(e,t){let n=Object.assign({},e);return Object.keys(t).forEach(i=>{YHe(t[i])?i in e?n[i]=ove(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n}function nve(e){for(let t in e)e[t]===void 0&&delete e[t];return e}function Q3(e,t,n){if(typeof t=="string"){let[o,s]=t.split(" ");n=Object.assign(s?{method:o,url:s}:{url:o},n)}else n=Object.assign({},t);n.headers=KHe(n.headers),nve(n),nve(n.headers);let i=ove(e||{},n);return n.url==="/graphql"&&(e&&e.mediaType.previews?.length&&(i.mediaType.previews=e.mediaType.previews.filter(o=>!i.mediaType.previews.includes(o)).concat(i.mediaType.previews)),i.mediaType.previews=(i.mediaType.previews||[]).map(o=>o.replace(/-preview/,""))),i}function WHe(e,t){let n=/\?/.test(e)?"&":"?",i=Object.keys(t);return i.length===0?e:e+n+i.map(o=>o==="q"?"q="+t.q.split("+").map(encodeURIComponent).join("+"):`${o}=${encodeURIComponent(t[o])}`).join("&")}var JHe=/\{[^{}}]+\}/g;function ZHe(e){return e.replace(/(?:^\W+)|(?:(?n.concat(i),[]):[]}function ive(e,t){let n={__proto__:null};for(let i of Object.keys(e))t.indexOf(i)===-1&&(n[i]=e[i]);return n}function sve(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 hy(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function hS(e,t,n){return t=e==="+"||e==="#"?sve(t):hy(t),n?hy(n)+"="+t:t}function fy(e){return e!=null}function G3(e){return e===";"||e==="&"||e==="?"}function eBe(e,t,n,i){var o=e[n],s=[];if(fy(o)&&o!=="")if(typeof o=="string"||typeof o=="number"||typeof o=="bigint"||typeof o=="boolean")o=o.toString(),i&&i!=="*"&&(o=o.substring(0,parseInt(i,10))),s.push(hS(t,o,G3(t)?n:""));else if(i==="*")Array.isArray(o)?o.filter(fy).forEach(function(r){s.push(hS(t,r,G3(t)?n:""))}):Object.keys(o).forEach(function(r){fy(o[r])&&s.push(hS(t,o[r],r))});else{let r=[];Array.isArray(o)?o.filter(fy).forEach(function(a){r.push(hS(t,a))}):Object.keys(o).forEach(function(a){fy(o[a])&&(r.push(hy(a)),r.push(hS(t,o[a].toString())))}),G3(t)?s.push(hy(n)+"="+r.join(",")):r.length!==0&&s.push(r.join(","))}else t===";"?fy(o)&&s.push(hy(n)):o===""&&(t==="&"||t==="?")?s.push(hy(n)+"="):o===""&&s.push("");return s}function tBe(e){return{expand:nBe.bind(null,e)}}function nBe(e,t){var n=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(i,o,s){if(o){let a="",l=[];if(n.indexOf(o.charAt(0))!==-1&&(a=o.charAt(0),o=o.substr(1)),o.split(/,/g).forEach(function(c){var u=/([^:\*]*)(?::(\d+)|(\*))?/.exec(c);l.push(eBe(t,a,u[1],u[2]||u[3]))}),a&&a!=="+"){var r=",";return a==="?"?r="&":a!=="#"&&(r=a),(l.length!==0?a:"")+l.join(r)}else return l.join(",")}else return sve(s)}),e==="/"?e:e.replace(/\/$/,"")}function rve(e){let t=e.method.toUpperCase(),n=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),i=Object.assign({},e.headers),o,s=ive(e,["method","baseUrl","url","headers","request","mediaType"]),r=XHe(n);n=tBe(n).expand(s),/^http/.test(n)||(n=e.baseUrl+n);let a=Object.keys(e).filter(u=>r.includes(u)).concat("baseUrl"),l=ive(s,a);if(!/application\/octet-stream/i.test(i.accept)&&(e.mediaType.format&&(i.accept=i.accept.split(/,/).map(u=>u.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")),n.endsWith("/graphql")&&e.mediaType.previews?.length)){let u=i.accept.match(/(?{let m=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${p}-preview${m}`}).join(",")}return["GET","HEAD"].includes(t)?n=WHe(n,l):"data"in l?o=l.data:Object.keys(l).length&&(o=l),!i["content-type"]&&typeof o<"u"&&(i["content-type"]="applicationhttps://www.microsoft.com/json; charset=utf-8"),["PATCH","PUT"].includes(t)&&typeof o>"u"&&(o=""),Object.assign({method:t,url:n,headers:i},typeof o<"u"?{body:o}:null,e.request?{request:e.request}:null)}function iBe(e,t,n){return rve(Q3(e,t,n))}function ave(e,t){let n=Q3(e,t),i=iBe.bind(null,n);return Object.assign(i,{DEFAULTS:n,defaults:ave.bind(null,n),merge:Q3.bind(null,n),parse:rve})}var lve=ave(null,QHe);var Sve=$1(fve(),1);var mBe=/^-?\d+$/,_ve=/^-?\d+n+$/,J3=JSON.stringify,hve=JSON.parse,gBe=/^-?\d+n$/,fBe=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,hBe=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,yve=(e,t,n)=>"rawJSON"in JSON?J3(e,(r,a)=>typeof a=="bigint"?JSON.rawJSON(a.toString()):typeof t=="function"?t(r,a):(Array.isArray(t)&&t.includes(r),a),n):e?J3(e,(r,a)=>typeof a=="string"&&_ve.test(a)||typeof a=="bigint"?a.toString()+"n":typeof t=="function"?t(r,a):(Array.isArray(t)&&t.includes(r),a),n).replace(fBe,"$1$2$3").replace(hBe,"$1$2$3"):J3(e,t,n),yM=new Map,bBe=()=>{let e=JSON.parse.toString();if(yM.has(e))return yM.get(e);try{let t=JSON.parse("1",(n,i,o)=>!!o?.source&&o.source==="1");return yM.set(e,t),t}catch{return yM.set(e,!1),!1}},_Be=(e,t,n,i)=>typeof t=="string"&&gBe.test(t)?BigInt(t.slice(0,-1)):typeof t=="string"&&_ve.test(t)?t.slice(0,-1):typeof i!="function"?t:i(e,t,n),yBe=(e,t)=>JSON.parse(e,(n,i,o)=>{let s=typeof i=="number"&&(i>Number.MAX_SAFE_INTEGER||i{if(!e)return hve(e,t);if(bBe())return yBe(e,t);let n=e.replace(vBe,(i,o,s,r)=>{let a=i[0]==='"';if(a&&kBe.test(i))return i.substring(0,i.length-1)+'n"';let c=s||r,u=o&&(o.length_Be(i,o,s,t))};var xBe="10.0.9",TBe={headers:{"user-agent":`octokit-request.js/${xBe} ${dp()}`}};function SBe(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 n=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}var xve=()=>"";async function Tve(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 n=e.request?.log||console,i=e.request?.parseSuccessResponseBody!==!1,o=SBe(e.body)||Array.isArray(e.body)?yve(e.body):e.body,s=Object.fromEntries(Object.entries(e.headers).map(([p,m])=>[p,String(m)])),r;try{r=await t(e.url,{method:e.method,body:o,redirect:e.request?.redirect,headers:s,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 bu(m,500,{request:e});throw g.cause=p,g}let a=r.status,l=r.url,c={};for(let[p,m]of r.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();n.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 bu(r.statusText,a,{response:u,request:e})}if(a===304)throw u.data=await Z3(r),new bu("Not modified",a,{response:u,request:e});if(a>=400)throw u.data=await Z3(r),new bu(CBe(u.data),a,{response:u,request:e});return u.data=i?await Z3(r):r.body,u}async function Z3(e){let t=e.headers.get("content-type");if(!t)return e.text().catch(xve);let n=(0,Sve.parse)(t);if(wBe(n)){let i="";try{return i=await e.text(),kve(i)}catch{return i}}else return n.type.startsWith("text/")||n.parameters.charset?.toLowerCase()==="utf-8"?e.text().catch(xve):e.arrayBuffer().catch(()=>new ArrayBuffer(0))}function wBe(e){return e.type==="applicationhttps://www.microsoft.com/json"||e.type==="application/scim+json"}function CBe(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(n=>JSON.stringify(n)).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function X3(e,t){let n=e.defaults(t);return Object.assign(function(o,s){let r=n.merge(o,s);if(!r.request||!r.request.hook)return Tve(n.parse(r));let a=(l,c)=>Tve(n.parse(n.merge(l,c)));return Object.assign(a,{endpoint:n,defaults:X3.bind(null,n)}),r.request.hook(a,r)},{endpoint:n,defaults:X3.bind(null,n)})}var bS=X3(lve,TBe);var EBe="0.0.0-development";function ABe(e){return`Request failed due to following response errors: `+e.errors.map(t=>` - ${t.message}`).join(` `)}var PBe=class extends Error{constructor(t,n,i){super(ABe(i));Xt(this,"name","GraphqlResponseError");Xt(this,"errors");Xt(this,"data");this.request=t,this.headers=n,this.response=i,this.errors=i.errors,this.data=i.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},IBe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],LBe=["query","method","url"],wve=/\/api\/v3\/?$/;function RBe(e,t,n){if(n){if(typeof t=="string"&&"query"in n)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let r in n)if(LBe.includes(r))return Promise.reject(new Error(`[@octokit/graphql] "${r}" cannot be used as variable name`))}let i=typeof t=="string"?Object.assign({query:t},n):t,o=Object.keys(i).reduce((r,a)=>IBe.includes(a)?(r[a]=i[a],r):(r.variables||(r.variables={}),r.variables[a]=i[a],r),{}),s=i.baseUrl||e.endpoint.DEFAULTS.baseUrl;return wve.test(s)&&(o.url=s.replace(wve,"/api/graphql")),e(o).then(r=>{if(r.data.errors){let a={};for(let l of Object.keys(r.headers))a[l]=r.headers[l];throw new PBe(o,a,r.data)}return r.data.data})}function e4(e,t){let n=e.defaults(t);return Object.assign((o,s)=>RBe(n,o,s),{defaults:e4.bind(null,n),endpoint:n.endpoint})}var _2t=e4(bS,{headers:{"user-agent":`octokit-graphql.js/${EBe} ${dp()}`},method:"POST",url:"/graphql"});function Cve(e){return e4(e,{method:"POST",url:"/graphql"})}var t4="(?:[a-zA-Z0-9_-]+)",Eve="\\.",Ave=new RegExp(`^${t4}${Eve}${t4}${Eve}${t4}$`),MBe=Ave.test.bind(Ave);async function $Be(e){let t=MBe(e),n=e.startsWith("v1.")||e.startsWith("ghs_"),i=e.startsWith("ghu_");return{type:"token",token:e,tokenType:t?"app":n?"installation":i?"user-to-server":"oauth"}}function DBe(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function NBe(e,t,n,i){let o=t.endpoint.merge(n,i);return o.headers.authorization=DBe(e),t(o)}var Pve=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($Be.bind(null,t),{hook:NBe.bind(null,t)})};var n4="7.0.6";var Ive=()=>{},FBe=console.warn.bind(console),UBe=console.error.bind(console);function OBe(e={}){return typeof e.debug!="function"&&(e.debug=Ive),typeof e.info!="function"&&(e.info=Ive),typeof e.warn!="function"&&(e.warn=FBe),typeof e.error!="function"&&(e.error=UBe),e}var Lve=`octokit-core.js/${n4} ${dp()}`,by=class{constructor(t={}){Xt(this,"request");Xt(this,"graphql");Xt(this,"log");Xt(this,"hook");Xt(this,"auth");let n=new tve.Collection,i={baseUrl:bS.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:n.bind(null,"request")}),mediaType:{previews:[],format:""}};if(i.headers["user-agent"]=t.userAgent?`${t.userAgent} ${Lve}`:Lve,t.baseUrl&&(i.baseUrl=t.baseUrl),t.previews&&(i.mediaType.previews=t.previews),t.timeZone&&(i.headers["time-zone"]=t.timeZone),this.request=bS.defaults(i),this.graphql=Cve(this.request).defaults(i),this.log=OBe(t.log),this.hook=n,t.authStrategy){let{authStrategy:s,...r}=t,a=s(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:r},t.auth));n.wrap("request",a.hook),this.auth=a}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{let s=Pve(t.auth);n.wrap("request",s.hook),this.auth=s}let o=this.constructor;for(let s=0;s!n.includes(s)))),o}};Xt(by,"VERSION",n4),Xt(by,"plugins",[]);var Rve="6.0.0";function i4(e){e.hook.wrap("request",(t,n)=>{e.log.debug("request",n);let i=Date.now(),o=e.request.endpoint.parse(n),s=o.url.replace(n.baseUrl,"");return t(n).then(r=>{let a=r.headers["x-github-request-id"];return e.log.info(`${o.method} ${s} - ${r.status} with id ${a} in ${Date.now()-i}ms`),r}).catch(r=>{let a=r.response?.headers["x-github-request-id"]||"UNKNOWN";throw e.log.error(`${o.method} ${s} - ${r.status} with id ${a} in ${Date.now()-i}ms`),r})})}i4.VERSION=Rve;var qBe="0.0.0-development";function HBe(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 n=e.data.incomplete_results,i=e.data.repository_selection,o=e.data.total_count,s=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 r=Object.keys(e.data)[0],a=e.data[r];return e.data=a,typeof n<"u"&&(e.data.incomplete_results=n),typeof i<"u"&&(e.data.repository_selection=i),e.data.total_count=o,e.data.total_commits=s,e}function o4(e,t,n){let i=typeof t=="function"?t.endpoint(n):e.request.endpoint(t,n),o=typeof t=="function"?t:e.request,s=i.method,r=i.headers,a=i.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let l=await o({method:s,url:a,headers:r}),c=HBe(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(o.done)return t;let s=!1;function r(){s=!0}return t=t.concat(i?i(o.value,r):o.value.data),s?t:$ve(e,t,n,i)})}var F2t=Object.assign(Mve,{iterator:o4});function s4(e){return{paginate:Object.assign(Mve.bind(null,e),{iterator:o4.bind(null,e)})}}s4.VERSION=qBe;var r4="16.1.1";var BBe={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=BBe;var jg=new Map;for(let[e,t]of Object.entries(Dve))for(let[n,i]of Object.entries(t)){let[o,s,r]=i,[a,l]=o.split(/ /),c=Object.assign({method:a,url:l},s);jg.has(e)||jg.set(e,new Map),jg.get(e).set(n,{scope:e,methodName:n,endpointDefaults:c,decorations:r})}var jBe={has({scope:e},t){return jg.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:!0,writable:!0,enumerable:!0}},defineProperty(e,t,n){return Object.defineProperty(e.cache,t,n),!0},deleteProperty(e,t){return delete e.cache[t],!0},ownKeys({scope:e}){return[...jg.get(e).keys()]},set(e,t,n){return e.cache[t]=n},get({octokit:e,scope:t,cache:n},i){if(n[i])return n[i];let o=jg.get(t).get(i);if(!o)return;let{endpointDefaults:s,decorations:r}=o;return r?n[i]=zBe(e,t,i,s,r):n[i]=e.request.defaults(s),n[i]}};function a4(e){let t={};for(let n of jg.keys())t[n]=new Proxy({octokit:e,scope:n,cache:{}},jBe);return t}function zBe(e,t,n,i,o){let s=e.request.defaults(i);function r(...a){let l=s.endpoint.merge(...a);if(o.mapToData)return l=Object.assign({},l,{data:l[o.mapToData],[o.mapToData]:void 0}),s(l);if(o.renamed){let[c,u]=o.renamed;e.log.warn(`octokit.${t}.${n}() has been renamed to octokit.${c}.${u}()`)}if(o.deprecated&&e.log.warn(o.deprecated),o.renamedParameters){let c=s.endpoint.merge(...a);for(let[u,p]of Object.entries(o.renamedParameters))u in c&&(e.log.warn(`"${u}" parameter is deprecated for "octokit.${t}.${n}()". Use "${p}" instead`),p in c||(c[p]=c[u]),delete c[u]);return s(c)}return s(...a)}return Object.assign(r,s)}function VBe(e){return{rest:a4(e)}}VBe.VERSION=r4;function l4(e){let t=a4(e);return{...t,rest:t}}l4.VERSION=r4;var Nve="22.0.0";var Fve=by.plugin(i4,l4,s4).defaults({userAgent:`octokit-rest.js/${Nve}`});var _u=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{}}}();_u.trustedTypes===void 0&&(_u.trustedTypes={createPolicy:(e,t)=>t});var Uve={configurable:!1,enumerable:!1,writable:!1};_u.FAST===void 0&&Reflect.defineProperty(_u,"FAST",Object.assign({value:Object.create(null)},Uve));var zg=_u.FAST;if(zg.getById===void 0){let e=Object.create(null);Reflect.defineProperty(zg,"getById",Object.assign({value(t,n){let i=e[t];return i===void 0&&(i=n?e[t]=n():null),i}},Uve))}var vM=Object.freeze([]);function kM(){let e=new WeakMap;return function(t){let n=e.get(t);if(n===void 0){let i=Reflect.getPrototypeOf(t);for(;n===void 0&&i!==null;)n=e.get(i),i=Reflect.getPrototypeOf(i);n=n===void 0?[]:n.slice(0),e.set(t,n)}return n}}var c4=_u.FAST.getById(1,()=>{let e=[],t=[];function n(){if(t.length)throw t.shift()}function i(r){try{r.call()}catch(a){t.push(a),setTimeout(n,0)}}function o(){let a=0;for(;a1024){for(let l=0,c=e.length-a;le}),u4=Ove,_S=`fast-${Math.random().toString(36).substring(2,8)}`,d4=`${_S}{`,xM=`}${_S}`,At=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(u4!==Ove)throw new Error("The HTML policy can only be set once.");u4=e},createHTML(e){return u4.createHTML(e)},isMarker(e){return e&&e.nodeType===8&&e.data.startsWith(_S)},extractDirectiveIndexFromMarker(e){return parseInt(e.data.replace(`${_S}:`,""))},createInterpolationPlaceholder(e){return`${d4}${e}${xM}`},createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder(e){return``},queueUpdate:c4.enqueue,processUpdates:c4.process,nextUpdate(){return new Promise(c4.enqueue)},setAttribute(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)},setBooleanAttribute(e,t,n){n?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 pp=class{constructor(t,n){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=t,this.sub1=n}has(t){return this.spillover===void 0?this.sub1===t||this.sub2===t:this.spillover.indexOf(t)!==-1}subscribe(t){let n=this.spillover;if(n===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 n.indexOf(t)===-1&&n.push(t)}unsubscribe(t){let n=this.spillover;if(n===void 0)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0);else{let i=n.indexOf(t);i!==-1&&n.splice(i,1)}}notify(t){let n=this.spillover,i=this.source;if(n===void 0){let o=this.sub1,s=this.sub2;o!==void 0&&o.handleChange(i,t),s!==void 0&&s.handleChange(i,t)}else for(let o=0,s=n.length;o{let e=/(:|&&|\|\||if)/,t=new WeakMap,n=At.queueUpdate,i,o=c=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function s(c){let u=c.$fastController||t.get(c);return u===void 0&&(Array.isArray(c)?u=o(c):t.set(c,u=new _y(c))),u}let r=kM();class a{constructor(u){this.name=u,this.field=`_${u}`,this.callback=`${u}Changed`}getValue(u){return i!==void 0&&i.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),s(u).notify(this.name)}}}class l extends pp{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=i;i=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let g=this.binding(u,p);return i=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=s(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 _;i=void 0,_=m.propertySource[m.propertyName],i=this,u===_&&(this.needsRefresh=!0)}m.next=f}this.last=f}handleChange(){this.needsQueue&&(this.needsQueue=!1,n(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){o=c},getNotifier:s,track(c,u){i!==void 0&&i.watch(c,u)},trackVolatile(){i!==void 0&&(i.needsRefresh=!0)},notify(c,u){s(c).notify(u)},defineProperty(c,u){typeof u=="string"&&(u=new a(u)),r(c).push(u),Reflect.defineProperty(c,u.name,{enumerable:!0,get:function(){return u.getValue(this)},set:function(p){u.setValue(this,p)}})},getAccessors:r,binding(c,u,p=this.isVolatileBinding(c)){return new l(c,u,p)},isVolatileBinding(c){return e.test(c.toString())}})});function V(e,t){sn.defineProperty(e,t)}var qve=zg.getById(3,()=>{let e=null;return{get(){return e},set(t){e=t}}}),mp=class{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return qve.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){qve.set(t)}};sn.defineProperty(mp.prototype,"index");sn.defineProperty(mp.prototype,"length");var or=Object.seal(new mp);var Wl=class{constructor(){this.targetIndex=0}},yy=class extends Wl{constructor(){super(...arguments),this.createPlaceholder=At.createInterpolationPlaceholder}},TM=class extends Wl{constructor(t,n,i){super(),this.name=t,this.behavior=n,this.options=i}createPlaceholder(t){return At.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}};function GBe(e,t){this.source=e,this.context=t,this.bindingObserver===null&&(this.bindingObserver=sn.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function QBe(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function KBe(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function YBe(){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 WBe(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function JBe(e){At.setAttribute(this.target,this.targetName,e)}function ZBe(e){At.setBooleanAttribute(this.target,this.targetName,e)}function XBe(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 eje(e){this.target[this.targetName]=e}function tje(e){let t=this.classVersions||Object.create(null),n=this.target,i=this.version||0;if(e!=null&&e.length){let o=e.split(/\s+/);for(let s=0,r=o.length;sAt.createHTML(n(i,o))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=ZBe;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=QBe,this.unbind=WBe;break;default:this.cleanedTargetName=t,t==="class"&&(this.updateTarget=tje);break}}targetAtContent(){this.updateTarget=XBe,this.unbind=YBe}createBehavior(t){return new p4(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}},p4=class{constructor(t,n,i,o,s,r,a){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=n,this.isBindingVolatile=i,this.bind=o,this.unbind=s,this.updateTarget=r,this.targetName=a}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){mp.setEvent(t);let n=this.binding(this.source,this.context);mp.setEvent(null),n!==!0&&t.preventDefault()}};var m4=null,g4=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(){m4=this}static borrow(t){let n=m4||new e;return n.directives=t,n.reset(),m4=null,n}};function nje(e){if(e.length===1)return e[0];let t,n=e.length,i=e.map(r=>typeof r=="string"?()=>r:(t=r.targetName||t,r.binding)),o=(r,a)=>{let l="";for(let c=0;ca),c.targetName=r.name):c=nje(l),c!==null&&(t.removeAttributeNode(r),o--,s--,e.addFactory(c))}}function oje(e,t,n){let i=Bve(e,t.textContent);if(i!==null){let o=t;for(let s=0,r=i.length;s0}let n=this.fragment.cloneNode(!0),i=this.viewBehaviorFactories,o=new Array(this.behaviorCount),s=At.createTemplateWalker(n),r=0,a=this.targetOffset,l=s.nextNode();for(let c=i.length;r=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function W(e,...t){let n=[],i="";for(let o=0,s=e.length-1;ol}if(typeof a=="function"&&(a=new Vg(a)),a instanceof yy){let l=sje.exec(r);l!==null&&(a.targetName=l[2])}a instanceof Wl?(i+=a.createPlaceholder(n.length),n.push(a)):i+=a}return i+=e[e.length-1],new SM(i,n)}var Cs=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}};Cs.create=(()=>{if(At.supportsAdoptedStyleSheets){let e=new Map;return t=>new h4(t,e)}return e=>new b4(e)})();function _4(e){return e.map(t=>t instanceof Cs?_4(t.styles):[t]).reduce((t,n)=>t.concat(n),[])}function zve(e){return e.map(t=>t instanceof Cs?t.behaviors:null).reduce((t,n)=>n===null?t:(t===null&&(t=[]),t.concat(n)),null)}var Vve=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},Gve=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(n=>t.indexOf(n)===-1)};if(At.supportsAdoptedStyleSheets)try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Vve=(e,t)=>{e.adoptedStyleSheets.push(...t)},Gve=(e,t)=>{for(let n of t){let i=e.adoptedStyleSheets.indexOf(n);i!==-1&&e.adoptedStyleSheets.splice(i,1)}}}catch{}var h4=class extends Cs{constructor(t,n){super(),this.styles=t,this.styleSheetCache=n,this._styleSheets=void 0,this.behaviors=zve(t)}get styleSheets(){if(this._styleSheets===void 0){let t=this.styles,n=this.styleSheetCache;this._styleSheets=_4(t).map(i=>{if(i instanceof CSSStyleSheet)return i;let o=n.get(i);return o===void 0&&(o=new CSSStyleSheet,o.replaceSync(i),n.set(i,o)),o})}return this._styleSheets}addStylesTo(t){Vve(t,this.styleSheets),super.addStylesTo(t)}removeStylesFrom(t){Gve(t,this.styleSheets),super.removeStylesFrom(t)}},rje=0;function aje(){return`fast-style-class-${++rje}`}var b4=class extends Cs{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=zve(t),this.styleSheets=_4(t),this.styleClass=aje()}addStylesTo(t){let n=this.styleSheets,i=this.styleClass;t=this.normalizeTarget(t);for(let o=0;o{i.add(t);let o=t[this.fieldName];switch(n){case"reflect":let s=this.converter;At.setAttribute(t,this.attribute,s!==void 0?s.toView(o):o);break;case"boolean":At.setBooleanAttribute(t,this.attribute,o);break}i.delete(t)})}static collect(t,...n){let i=[];n.push(Qve.locate(t));for(let o=0,s=n.length;o1&&(n.property=s),Qve.locate(o.constructor).push(n)}if(arguments.length>1){n={},i(e,t);return}return n=e===void 0?{}:e,i}var Kve={mode:"open"},Yve={},y4=zg.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)}})}),Gg=class{constructor(t,n=t.definition){typeof n=="string"&&(n={name:n}),this.type=t,this.name=n.name,this.template=n.template;let i=wM.collect(t,n.attributes),o=new Array(i.length),s={},r={};for(let a=0,l=i.length;a0){let s=this.boundObservables=Object.create(null);for(let r=0,a=o.length;r0||n>0;){if(t===0){o.push(x4),n--;continue}if(n===0){o.push(T4),t--;continue}let s=e[t-1][n-1],r=e[t-1][n],a=e[t][n-1],l;r=0){e.splice(a,1),a--,r-=l.addedCount-l.removed.length,o.addedCount+=l.addedCount-c;let u=o.removed.length+l.removed.length-c;if(!o.addedCount&&!u)s=!0;else{let p=l.removed;if(o.indexl.index+l.addedCount){let m=o.removed.slice(l.index+l.addedCount-o.index);Xve.apply(p,m)}o.removed=p,l.indexi?n=i-e.addedCount:n<0&&(n=i+e.removed.length+n-e.addedCount),n<0&&(n=0),e.index=n,e}var C4=class extends pp{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,At.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,At.queueUpdate(this))}flush(){let t=this.splices,n=this.oldCollection;if(t===void 0&&n===void 0)return;this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0;let i=n===void 0?nke(this.source,t):S4(this.source,0,this.source.length,n,0,n.length);this.notify(i)}};function oke(){if(ike)return;ike=!0,sn.setArrayObserverFactory(l=>new C4(l));let e=Array.prototype;if(e.$fastPatch)return;Reflect.defineProperty(e,"$fastPatch",{value:1,enumerable:!1});let t=e.pop,n=e.push,i=e.reverse,o=e.shift,s=e.sort,r=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(Kr(this.length,[c],0)),c},e.push=function(){let l=n.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(w4(Kr(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=i.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.shift=function(){let l=this.length>0,c=o.apply(this,arguments),u=this.$fastController;return u!==void 0&&l&&u.addSplice(Kr(0,[c],0)),c},e.sort=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let u=s.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.splice=function(){let l=r.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(w4(Kr(+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(w4(Kr(0,[],arguments.length),this)),l}}var E4=class{constructor(t,n){this.target=t,this.propertyName=n}bind(t){t[this.propertyName]=this.target}unbind(){}};function Qg(e){return new TM("fast-ref",E4,e)}var A4=e=>typeof e=="function";var _je=()=>null;function ske(e){return e===void 0?_je:A4(e)?e:()=>e}function Re(e,t,n){let i=A4(e)?e:()=>e,o=ske(t),s=ske(n);return(r,a)=>i(r,a)?o(r,a):s(r,a)}var rke=Object.freeze({positioning:!1,recycle:!0});function yje(e,t,n,i){e.bind(t[n],i)}function vje(e,t,n,i){let o=Object.create(i);o.index=n,o.length=t.length,e.bind(t[n],o)}var P4=class{constructor(t,n,i,o,s,r){this.location=t,this.itemsBinding=n,this.templateBinding=o,this.options=r,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=yje,this.itemsBindingObserver=sn.binding(n,this,i),this.templateBindingObserver=sn.binding(o,this,s),r.positioning&&(this.bindView=vje)}bind(t,n){this.source=t,this.originalContext=n,this.childContext=Object.create(n),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,n){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(n)}observeItems(t=!1){if(!this.items){this.items=vM;return}let n=this.itemsObserver,i=this.itemsObserver=sn.getNotifier(this.items),o=n!==i;o&&n!==null&&n.unsubscribe(this),(o||t)&&i.subscribe(this)}updateViews(t){let n=this.childContext,i=this.views,o=this.bindView,s=this.items,r=this.template,a=this.options.recycle,l=[],c=0,u=0;for(let p=0,m=t.length;p0?(_<=x&&y.length>0?(j=y[_],_++):(j=l[c],c++),u--):j=r.create(),i.splice(h,0,j),o(j,s,h,n),j.insertBefore(C)}y[_]&&l.push(...y.slice(_))}for(let p=c,m=l.length;pt;return new I4(e,i,Object.assign(Object.assign({},rke),n))}var kje=k4` .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 ake(e,t,n,i){let o=["default-focus","button","font-weight-semibold","modal-close"],s=typeof t=="function"?t(e):t;s.classes&&o.push("button-filled");let r=new Set([...s.classes??[],...o]);if(s.url)return W` ${s.label} `;let a=s.object?`${s.action} - ${s.object}`:`${s.action}`;return W` `}function xje({message:e,title:t,confirmButton:n,cancelButton:i,align:o}){let s=r=>({action:Fe,label:Fe,...typeof i=="function"?i(r):i});return W` ${Re(r=>r.visible,W``)} `}var AM=class extends Zve{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(){At.queueUpdate(()=>{let n=document.getElementsByClassName("default-focus")[0];n&&n.focus();let i=".modal-close, .modal-card .button",o=document.querySelector(".modal-card");if(!o)return;let s=o.querySelectorAll(i),r=s[0],a=s[s.length-1];document.addEventListener("keydown",l=>{(l.key==="Tab"||l.keyCode===9)&&(l.shiftKey?(document.activeElement===r||s.length===1)&&(a.focus(),l.preventDefault()):(document.activeElement===a||s.length===1)&&(r.focus(),l.preventDefault()))})})}hideVerticalScrollbar(){document.getElementsByTagName("html")[0].style.overflowY="hidden"}showVerticalScrollbar(){document.getElementsByTagName("html")[0].removeAttribute("style")}};q([V],AM.prototype,"visible",2);var PM=class extends AM{showModal(t,n,i){this.visible=!0,this.hideVerticalScrollbar(),this.confirmCallback=t,this.cancelCallback=n,this.closeCallback=i,this.setFocus()}confirm(){super.confirm(),this.confirmCallback&&this.confirmCallback()}cancel(){super.cancel(),this.cancelCallback&&this.cancelCallback()}close(){super.close(),this.closeCallback&&this.closeCallback()}};function lke(e,t,n){return PM.define(class extends PM{},{name:e,template:xje(n),styles:kje,shadowOptions:null,attributes:t??[]})}var L4=0;function IM(e,t){if(typeof e!="string"){let o=e;e="";for(let s in o)e+=o[s]+"
    "}let n=document.getElementById("error-modal");n&&document.body.removeChild(n),lke(`error-modal-${L4}`,[],{message:W`

    ${e}

    `,title:"",confirmButton:t,align:"center"});let i=document.createElement(`error-modal-${L4}`);i.id="error-modal",document.body.appendChild(i),i.showModal(),L4++}function LM(...e){let t=a=>[...a].join("/"),n=(a,...l)=>{let c=new URLSearchParams;for(let u of l)a.searchParams.has(u)&&c.set(u,a.searchParams.get(u)??"");return c},i=new URL(location.href),o=n(i,"branch","themebranch","branchFallbackFrom","pr"),s=o.toString()!==""?"?"+o.toString():"",r=`/${b.data.userLocale}/editor/`+t(e)+s;return new URL(r,i)}function cke(e){e||(e=LM());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",`${$.githubOAuth}?client_id=${t}&scope=repo%20read:org%20workflow&redirect_uri=${encodeURIComponent(e.href)}`}var Tje=Fve.plugin(z3,hM),Sje={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.")}},wje={doNotRetry:[429,409,404]};function R4(){let e=localStorage.getItem("gitHubToken");return e?JSON.parse(e):null}var Cje=()=>{localStorage.removeItem("gitHubToken"),location.href=cke()};async function M4(e){let t=new Tje({auth:e,retry:wje,throttle:Sje});try{return(await t.users.getAuthenticated({headers:{"If-None-Match":""}})).data.login}catch(n){throw IM({message:c8},{label:m8,action:"",object:"",classes:["button-primary renew-github-token"]}),document.addEventListener("confirm",o=>Cje()),Eje({message:n.toString(),function:"getAuthenticatedUser"}),n}}async function uke(){let e={method:"GET"},t=await M(J(`${$.buildAuthAdmin}/opensource/link/github`,e,!0));return me(t),t.ok?await t.json():null}var RM=`pageInfo { endCursor hasNextPage hasPreviousPage startCursor }`,$4=`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 } ${RM} totalCount } head: headRef { name prefix repository { name nameWithOwner owner { login } } } isDraft merged mergedAt repository { name nameWithOwner owner { login } } state updatedAt url } }`,D4=`rateLimit { cost limit nodeCount remaining resetAt used }`,TOt=`query Drafts ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${$4} ${RM} } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${D4} }`,SOt=`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, ${$4} ${RM} } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${D4} }`,wOt=`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 ${$4} ${RM} } ${D4} }`;function Eje(e){ve({actionType:Ce.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",...e}})}Ve();Wp();var Aje=/https:\/\/github.com\/(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*\.[a-zA-Z]+)([?])?/;function dke(e,t=Aje){let n="",i="",o="",s="";try{let r=t.exec(e);r&&r.length>1&&(n=r[1]??""),r&&r.length>2&&(i=r[2]??""),r&&r.length>3&&(s=r[4]??""),r&&r.length>4&&(o=r[5]??"")}catch(r){IM(l8),ve({actionType:Ce.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",message:r}})}return{owner:n,repo:i,path:o,branch:s}}async function N4(e){let t=await M(e,{credentials:"include",redirect:"follow"});if(!t.ok)throw new Error(`Unexpected response status ${t.status} for ${e}`);let n=await t.text(),o=new DOMParser().parseFromString(n,"text/html");return{url:new URL(t.url||e,location.origin),document:o}}function MM(e){return Array.from(e?.querySelectorAll("meta")??[]).reduce((t,n)=>{let i=(n.name||n?.getAttribute("property"))??"";return t[i]=n.content,t},{})}var F4={template:"",forkUrl:"",branch:"",path:"",repo:"",owner:"",originalContent:""};function pke(e){let t="",n="",i="",o="",s="",a=MM(e)?.original_content_git_url??"";({branch:o,path:s,repo:i,owner:n}=dke(a)),F4={template:"",forkUrl:"",branch:o,path:s,repo:i,owner:n,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),[n,i]=(l?.getAttribute("data-pr_repo")??"")?.split("github.com/")?.pop()?.split("/")??["",""]);let m=c?.split("{branch}/")?.pop()??"";(l?.getAttribute("data-pr_branch")??"")&&(o=l?.getAttribute("data-pr_branch")??""),F4={template:c,forkUrl:t,branch:o,path:m,repo:i,owner:n,originalContent:a}}}return F4}function mke(e,t,n,i){return d` `}function gke(e,t){let n=d8,i=p8,o="",s=t.getAttribute("href")||"";switch(t.removeAttribute("href"),e){case 0:n=n.replace("{name}",Bp),i=i.replace("{name}",Bp).replace("{href}","https://learn.microsoft.com/en-us/contribute/");break;case 1:n=n.replace("{name}",Bp),i=i.replace("{name}",Bp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn");break;case 2:n=n.replace("{name}",Bp),i=i.replace("{name}",Bp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),o=u8;break;case 3:n=n.replace("{name}",JE),i=i.replace("{name}",JE).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),s=Pje().toString();break}return{title:n,description:i,link:s,moreInfo:o}}function Pje(){let e=MM(document),t=e.platform_id||"",n=e.monikers??"",{owner:i,repo:o,branch:s,path:r}=pke(document);return LM(`${i}/${o}/${encodeURIComponent(r)}/${encodeURIComponent(s)}${t?`/${t}/${n??""}`:""}`)}Ve();var Kg=class e extends Error{constructor(t,n,{errorCode:i,message:o},...s){super(...s),Object.setPrototypeOf(this,e.prototype),this.type=t,this.name=this.constructor.name,this.status=n,this.errorCode=i,this.message=o,this.detail={assessmentId:null,certificationUid:null,snapshotId:null}}};function yS(){let e="false";if(["AppliedSkills","AppliedSkillsAssessment","AppliedSkillsAssessmentReport"].find(t=>t===b.data.pageTemplate))return oe()["skip-verification"];if(S.stayCurrentAllowParam||S.practiceAssessmentsAllowParam){let t=oe()["skip-verification"];t===void 0||t.length&&t.toLowerCase()==="false"?e="false":e="true"}return e}function vS(){let e="live";if(S.stayCurrentAllowParam||S.practiceAssessmentsAllowParam){let t=oe()["snapshot-version"];t!==void 0&&t.toLowerCase()==="live"?e="live":e="preview"}return e}function fke(){let e="false";if(S.stayCurrentAllowParam||S.practiceAssessmentsAllowParam){let t=oe()["show-all-questions"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function hke(){let{accommodationRequested:e}=oe();if(S.stayCurrentAllowParam){let t=oe()["accommodation-requested"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function bke(){let e=!1;if(S.stayCurrentAllowParam||S.practiceAssessmentsAllowParam){let t=oe()["omit-scoring"];t!==void 0&&t.toLowerCase()==="true"?e=!0:e=!1}return e}function sr(e,t){return Math.round(Math.max(0,Math.min(1,e/t))*100)}var U4=class{constructor(t,n,i){let s=Th(t,["id","isCorrect","questionnaireId","text","textHTML"]);this.id=s.id,this.createdAtUTC="0001-01-01T00:00:00",this.isCorrect=s.isCorrect,this.locale=i,this.questionId=n,this.questionnaireId=s.questionnaireId,this.text=s.text,this.textHtml=s.textHTML}},kS=class{constructor(t,n,i){this.choices=dA(t.map(o=>new U4(o,n,i)))}},O4=class{constructor(t,n){let o=Th(t,["activityLog","id","choices","choiceCount","questionnaireId","text","type"]),s=["createdAtUTC"],r=Th(o.activityLog,s);this.id=o.id,this.createdAtUTC=r.createdAtUTC,this.choices=new kS(o.choices,o.id,n).choices,this.choiceCount=o.choiceCount,this.locale=n,this.questionnaireId=o.questionnaireId,this.text=o.text,this.type=o.type,o.rationale&&(this.rationale=o.rationale),o.rationaleHTML&&(this.rationaleHtml=o.rationaleHTML),o.textHTML&&(this.textHtml=o.textHTML)}};var q4=class{constructor(t,n){let o=Th(t,["correctChoice","question","userChoice"]),s=new O4(o.question,n);this.correctChoice=new kS(o.correctChoice,s.id,n).choices,this.question=s,this.userChoice=new kS(o.userChoice,s.id,n).choices}},$M=class{constructor(t,n){this.items=dA(t.map(i=>new q4(i,n)))}};var iHt=ft(),oHt=b.data.userLocale;function Yr(e){return JSON.parse(JSON.stringify(e))}function DM(e){let t=e&&e.skipVerification,n=e&&t?e.accomodationRequested??!1:!1,i=e&&t&&e.showAllQuestions;return{accomodationRequested:n,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"},...i?[{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 Mje(){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 yu={createSession:async e=>DM(e),getSessionAnswerSummary:async()=>Mje(),getSessionResult:async()=>DM(),getPreviousAttemptsByParentId:async()=>[DM()],getRenewalEligibility:async()=>{},submitSession:async()=>DM()};var FHt=ft(),UHt=b.data.userLocale;var ky={getStatus(e){let t=`${$.achievements}/xp/${e}`;return M(J(t,{mode:"cors"},!0)).then(me).then(i=>{if(i.ok)return i.json();throw new Jt(i)})},getAchievements(e,t){let n={locale:t},i=`${$.achievements}/user/${e}?${re(n,!1)}`;return M(J(i,{mode:"cors"},!0)).then(me).then(s=>{if(s.ok)return s.json();throw new Jt(s)})},redeemCode(e){let t={mode:"cors",method:"post",credentials:"include"},n=`${$.achievements}/redeem/${e}`,i={branch:R.supportLevel==="production"?"main":void 0},o=`${n}?${re(i,!1)}`,s=J(o,t,!0);return fetch(s,t).then(me).then(r=>r.json())},requestCode(e,t,n){let i={achievementCategory:e,courseId:t,useCount:n};e===6&&S.learningPathIlt&&(i.courseId=void 0,i.learningPathId=t);let s=`${$.achievements}/code`,r={branch:R.supportLevel==="production"?"main":void 0},a=`${s}?${re(r,!1)}`,l={mode:"cors",body:JSON.stringify(i),method:"put",credentials:"include"};return M(J(a,l,!0)).then(me).then(c=>c.json())}};Ve();function _ke(e){let t=Math.floor(e.videoTimeSeconds),n=e.startTime===e.eventTime||e.startTime===void 0?0:ai(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,i=e.freezeTimeAfterReplay??0,o=e.secondsNormalSpeedAfterReplay??0,s=e.secondsDiffSpeedAfterReplay??0,r=e.reStartTime!==void 0?ai(e.eventTime-e.reStartTime)-i-o+s:e.startTime===e.eventTime||e.startTime===void 0?0:ai(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,a=e.videoData.publicVideo.durationInMillisecond,l=ai(a),c=t>0?Math.floor(t/l*100):0,u=Math.floor(n/l*100);ve({behavior:e.behaviorCode,actionType:Ce.OTHER,content:{vidnm:e.videoData.title,vidid:e.videoData.id,vidpct:c,vidpctwtchd:u,vidwt:t,viddur:l,vidtimeseconds:r,sessiontimeseconds:n,live:!1,parentpage:location.origin,containerName:"learnvideoplayer",currentCaptions:e.languageCaptions}})}function yke(e,t,n,i,o){return e!==0&&t&&(n+=ee?se?s{i&&setTimeout(()=>{r(`${e} load timeout`)},i);let a=document.createElement("script");a.src=e,o&&a.setAttribute("data-callback","setupEnforcement"),a.async=!0,a.defer=!0,a.onload=s,t&&(a.integrity=t,a.crossOrigin="anonymous"),a.onerror=()=>{r(`Failed to load ${e}`)},(document.body||document.head).appendChild(a)}).then(()=>{if(n!==void 0){if(window[n]===void 0)throw new Error(`${e} loaded successfully but ${n} is undefined.`);return window[n]}})}var xke="2.3.11.2",rBt=`/static/third-party/azure-media-player/${xke}/azuremediaplayer.min.js`,aBt=`/static/third-party/azure-media-player/${xke}/azuremediaplayer.min.css`;var xy,B4;function $je(){let e=location.href,t="#time=";if(e.includes(t)){let n=e.substring(e.indexOf(t)+t.length);return F_(n)}return F_("0s")}function Dje(){if(!location.hash.startsWith("#time="))return;let e=xy.paused(),t=$je();t>0&&t{xy!==void 0&&Dje()});function xS(e){let t=new URL(e,location.origin),n=decodeURIComponent(t.pathname).toLowerCase().replace(OT,"$1").replace(np,"/"),i=t.searchParams.get("view");if(i&&(t.search="",t.searchParams.set("view",i),n+=t.search),n.indexOf("/learn/challenges")!==-1||n.indexOf("/training/challenges")!==-1){let o=t.searchParams.get("id");o&&(t.search="",t.searchParams.set("id",o),n+=t.search)}return n}function Tke(e){e.type!=="docs"&&e.type!=="qa"&&e.type!=="url"&&(e.type="docs"),e.type!=="url"&&e.data.url&&(e.data.url=xS(e.data.url))}function vo(e){e.items?.forEach(Tke),e.sections?.forEach(t=>t.items?.forEach(Tke))}var dt={baseUrl:$.lists,async getAllLists(e=!1){let t=J(`${this.baseUrl}${e?`?${re({ignoreEmptyLists:!0})}`:""}`,{}),n=await M(t);if(me(n),n.ok){let i=await n.json();return i.forEach(vo),i}throw n.status===401?new He(n,"UnauthorizedError"):new He(n,"UnexpectedError")},async getAllListsByUrl(e){let t=[];e.forEach(s=>{t.push(xS(s))});let n=JSON.stringify(t),i=J(`${this.baseUrl}/by-url`,{method:"POST",body:n}),o=await M(i);if(me(o),o.ok)return{hasError:!1,data:await o.json()};throw new He(o,"UnexpectedError")},async getList(e){let t={locale:b.data.userLocale,useNewFlow:!0},n=`${this.baseUrl}/${e}?${re(t)}`,i=J(n,{},!0),o=await M(i);if(me(o),o.ok){let s=await o.json();return vo(s),{hasError:!1,data:s}}throw o.status===401?new He(o,"UnauthorizedError"):o.status===404?new He(o,"NotFoundError"):o.status===403?new He(o,"ForbiddenError"):new He(o,"UnexpectedError")},async getStudyGuideList(e,t,n=oe().apiBranchParam){let i={locale:b.data.userLocale,branch:R.supportLevel==="production"&&R.reviewFeatures?n:null},o={credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":void 0},s=`${this.baseUrl}/studyguide/${e}/${t}?${re(i)}`,r=J(s,o,!0),a=await M(r);if(me(a),a.ok){let l=await a.json();return vo(l),l}throw a.status===404?new He(a,"NotFoundError"):new He(a,"UnexpectedError")},async createList(e){let t=JSON.stringify(e),n=J(this.baseUrl,{method:"POST",body:t},!0),i=await M(n);if(me(i),i.ok)return{hasError:!1,data:await i.json()};if(i.status===400)return{hasError:!0,error:await i.json()};throw i.status===401?new He(i,"UnauthorizedError"):new He(i,"UnexpectedError")},async deleteList(e){let t=J(this.baseUrl+"/"+e,{method:"DELETE"},!0),n=await M(t);if(me(n),n.ok)return{hasError:!1,data:void 0};throw new He(n,"UnexpectedError")},async copyList(e,t,n){let i=JSON.stringify({name:t,description:n}),o=J(`${this.baseUrl}/copy/${e}`,{method:"POST",body:i},!0),s=await M(o);if(me(s),s.ok){let r=await s.json();return vo(r),{hasError:!1,data:r}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new He(s,"UnexpectedError")},async submitForLocalize(e){let n=J(`${this.baseUrl}/${e}/localize`,{method:"PATCH",body:"true"},!0),i=await M(n);if(me(i),i.ok){let o=await i.json();return vo(o),{hasError:!1,data:o}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new He(i,"UnexpectedError")},async convertList(e){let n=J(`${this.baseUrl}/${e}/official`,{method:"PATCH",body:"true"},!0),i=await M(n);if(me(i),i.ok){let o=await i.json();return vo(o),{hasError:!1,data:o}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new He(i,"UnexpectedError")},async toggleListPrivacy(e,t){let n=t.toString(),i=J(`${this.baseUrl}/${e}/private`,{method:"PATCH",body:n},!0),o=await M(i);if(me(o),o.ok){let s=await o.json();return vo(s),{hasError:!1,data:s}}if(o.status===400)return{hasError:!0,error:await o.json()};throw new He(o,"UnexpectedError")},async toggleShowUserDisplayName(e,t){let n=t.toString(),i=J(`${this.baseUrl}/${e}/showuserdisplayname`,{method:"PATCH",body:n},!0),o=await M(i);if(me(o),o.ok){let s=await o.json();return vo(s),{hasError:!1,data:s}}if(o.status===400)return{hasError:!0,error:await o.json()};throw new He(o,"UnexpectedError")},async updateListMetadata(e,t){let n=JSON.stringify({name:t.name,description:t.description}),i={useNewFlow:!0},o=J(`${this.baseUrl}/${e}?${re(i)}`,{method:"PATCH",body:n},!0),s=await M(o);if(me(s),s.ok){let r=await s.json();return vo(r),{hasError:!1,data:r}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new He(s,"UnexpectedError")},async sortList(e,t){let n={locale:b.data.userLocale},i=`${this.baseUrl}/${e}?${re(n)}`,o=JSON.stringify(t),s=J(i,{method:"PUT",body:o},!0),r=await M(s);if(me(r),r.ok){let a=await r.json();return vo(a),{hasError:!1,data:a}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new He(r,"UnexpectedError")},async addItem(e,t){let n=JSON.stringify(t),i=J(this.baseUrl+"/"+e,{method:"POST",body:n},!0),o=await M(i);if(me(o),o.ok)return{hasError:!1,data:await o.json()};if(o.status===400||o.status===403)return{hasError:!0,error:await o.json()};throw new He(o,"UnexpectedError")},async deleteItem(e,t){let n=J(this.baseUrl+"/"+e+"/"+t,{method:"DELETE"},!0),i=await M(n);if(me(i),!(i.ok||i.status===204))throw new He(i,"UnexpectedError")},async updateItem(e,t,n){let i=JSON.stringify(n),o=J(`${this.baseUrl}/${e}/${t}`,{method:"PUT",body:i},!0),s=await M(o);if(me(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400||s.status===403)return{hasError:!0,error:await s.json()};throw new He(s,"UnexpectedError")},async getListsItems(e){let t={uid:e.join(","),locale:b.data.userLocale},n=J(`${this.baseUrl}/items/?${re(t)}`,{}),i=await M(n);if(me(i),i.ok)return(await i.json()).items;throw new He(i,"UnexpectedError")},async createSection(e,t,n,i){let o=JSON.stringify({name:t,description:n,daysToComplete:i}),s=J(`${this.baseUrl}/${e}/section`,{method:"POST",body:o},!0),r=await M(s);if(me(r),r.ok)return{hasError:!1,data:await r.json()};if(r.status===400)return{hasError:!0,error:await r.json()};throw new He(r,"UnexpectedError")},async updateSection(e,t,n,i,o){let s=JSON.stringify({name:n,description:i,daysToComplete:o}),r=J(`${this.baseUrl}/${e}/section/${t}`,{method:"PATCH",body:s},!0),a=await M(r);if(me(a),a.ok)return{hasError:!1,data:await a.json()};if(a.status===400)return{hasError:!0,error:await a.json()};throw new He(a,"UnexpectedError")},async deleteSection(e,t){let n=J(`${this.baseUrl}/${e}/section/${t}`,{method:"DELETE"},!0),i=await M(n);if(me(i),i.ok)return{hasError:!1,data:await i.json()};if(i.status===400)return{hasError:!0,error:await i.json()};throw new He(i,"UnexpectedError")},async getActiveTakedowns(e){if(e===null)return!1;let t=J(`${this.baseUrl}/takedown/active/${e}`,{method:"GET"},!1),n=await M(t);return n.ok?(await n.json()).hasContentTakedowns:!1},async getReportStatus(e){if(e===null)return"None";let t=J(`${this.baseUrl}/report/status/${e}`,{method:"GET"},!1),n=await M(t);return n.ok?await n.json():"Unknown"}};async function Ty(e=H.document,t=!1){let n;if(typeof e=="string")if(!t&&new URL(nt(e,b.data.userLocale),H.location.origin).href===H.location.href)e=H.document,n=new URL(H.location.href);else{let c=await N4(e);n=c.url,e=c.document}else n=new URL(e.URL);let i=W0(e),o=()=>i.page_type==="show"&&i.type?i.type:i.page_kind||"",s=new RegExp(`^/${b.data.userLocale}/answers[$/]`,"i"),r;n.pathname.match(s)?r="qa":r="docs";let a=n.toString(),l=null;return(n.pathname.indexOf("/learn/challenges")!==-1||n.pathname.indexOf("/training/challenges")!==-1)&&(l=lo().id),{type:r,data:{url:xS(a),rawUrl:a,title:i["og:title"]||e.title,docId:i.document_id||"",docVIId:i.document_version_independent_id||"",platformId:i.platform_id||"",pageType:i.page_type||"",pageKind:o(),uid:i.uid||"",challengeId:l,eventUid:i.eventUid||"",durationInMillisecond:B4||null,showId:i.showId||""}}}function Ske(e,t){return{type:"url",data:{url:e,rawUrl:"",title:t,docId:"",docVIId:"",platformId:"",pageType:"",pageKind:"",uid:"",challengeId:"",eventUid:"",durationInMillisecond:null,showId:""}}}var to={async getSkillingPlan(e){let t={locale:b.data.userLocale},n=`${$.lists}/skillingPlan/${e}?${re(t)}`,o=J(n,{method:"GET"}),s=await M(o);if(me(s),s.ok){let r=await s.json();return await gp(r),r}throw new Error(`${s.status}: ${s.statusText}`)},async completeSkillingPlan(e){let t=`${$.lists}/completeSkillingPlan`,i={method:"POST",body:JSON.stringify(e)},o=await M(J(t,i));if(me(o),o.ok){let s=await o.json();return await gp(s),{hasError:!1,data:s}}if(o.status===400)return{hasError:!0,error:await o.json()};throw new Error(`${o.status}: ${o.statusText}`)},async createSkillingPlan(e){let t=`${$.lists}/skillingPlan`,i={method:"POST",body:JSON.stringify(e)},o=await M(J(t,i));if(me(o),o.ok){let s=await o.json();return await gp(s),{hasError:!1,data:s}}if(o.status===400)return{hasError:!0,error:await o.json()};throw new Error(`${o.status}: ${o.statusText}`)},async updateSkillingPlan(e,t){let n=`${$.lists}/skillingPlan/${e}`,o={method:"PUT",body:JSON.stringify(t)},s=await M(J(n,o));if(me(s),s.ok){let r=await s.json();return await gp(r),{hasError:!1,data:r}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}: ${s.statusText}`)},async modifySkillingPlan(e,t){let n=`${$.lists}/skillingPlan/${e}`,o={method:"PATCH",body:JSON.stringify(t)},s=await M(J(n,o));if(me(s),s.ok){let r=await s.json();return await gp(r),{hasError:!1,data:r}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}: ${s.statusText}`)},async modifyPlanList(e,t){let n=`${$.lists}/skillingPlan/${e}/list`,o={method:"PATCH",body:JSON.stringify(t)},s=await M(J(n,o));if(me(s),s.ok){let r=await s.json();return await gp(r),{hasError:!1,data:r}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}: ${s.statusText}`)},async deleteSkillingPlan(e){let t=`${$.lists}/skillingPlan/${e}`,i=await M(J(t,{method:"DELETE"}));if(me(i),!i.ok)throw new Error(`${i.status}: ${i.statusText}`)},async getJoinedSkillingPlans(e=0,t=12,n){let i=`${$.lists}/skillingPlan/joined/${n}?${re({page:e+1,pageSize:t})}`,o=J(i,{},!0),s=await M(o);if(me(s),s.ok)return await s.json();throw new Error(`${s.status}:${s.statusText}`)},async getCreatedSkillingPlans(e=0,t=12){let n=t===-1?"":"?"+re({page:e+1,pageSize:t}),i=`${$.lists}/skillingPlan/created${n}`,o=J(i,{},!0),s=await M(o);if(me(s),s.ok)return await s.json();throw new Error(`${s.status}:${s.statusText}`)},async joinSkillingPlan(e){let n=oe(location.search).learnerGroupId,i=`${$.lists}/skillingPlan/${e}/join?${re({registrationType:1,learnerGroupId:n||""})}`,o=J(i,{method:"POST"},!0,!1),s=await M(o);if(me(s),s.ok){let r=await s.json();return gp(r),{hasError:!1,data:r}}throw new Error(`${s.status}:${s.statusText}`)},async leaveSkillingPlan(e){let t=`${$.lists}/skillingPlan/${e}/leave`,n=J(t,{method:"POST"},!0,!1),i=await M(n);if(me(i),i.ok){let o=await i.json();return gp(o),{hasError:!1,data:o}}throw new Error(`${i.status}:${i.statusText}`)},async trackClick(e,t){let n=`${$.lists}/skillingPlan/${e}/trackClick/${t}`,i=J(n,{method:"POST"},!0,!1),o=await M(i);if(me(o),o.ok)return{};throw new Error(`${o.status}:${o.statusText}`)},async getPlanStatistics(e){let t=`${$.lists}/skillingPlan/${e}/statistics`,n=J(t,{},!0),i=await M(n);if(me(i),i.ok)return await i.json();throw new Error(`${i.status}:${i.statusText}`)},async createLearnerGroup(e,t,n=""){let i=`${$.lists}/skillingPlan/${e}/learnerGroup`,s={method:"POST",body:JSON.stringify({name:t,description:n})},r=await M(J(i,s));if(me(r),r.ok)return{hasError:!1,data:await r.json()};if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}:${r.statusText}`)},async updateLearnerGroup(e,t,n,i=""){let o=`${$.lists}/skillingPlan/${e}/learnerGroup/${t}`,r={method:"PATCH",body:JSON.stringify({name:n,description:i})},a=await M(J(o,r));return me(a),a.ok?{hasError:!1,data:await a.json()}:{hasError:!0,error:await a.json()}},async deleteLearnerGroup(e,t){let n=`${$.lists}/skillingPlan/${e}/learnerGroup/${t}`,o=await M(J(n,{method:"DELETE"}));return me(o),o.ok?{hasError:!1}:{hasError:!0,error:await o.json()}}};async function gp(e){e.lastModified&&(e.publishedOn=e.lastModified),vo(e.contentList)}function Nje(e){return e.type==="bookmarks"&&(e.name=RC),e}var TS=null;async function Cke(e=()=>!0,t=!1){if(!TS)try{TS=(await dt.getAllLists(t)).map(Nje)}catch{TS=null}return TS?.filter(e)??null}async function Eke(){return w.isAuthenticated===!1?[]:(await to.getCreatedSkillingPlans(0,-1)).skillingPlans}function Ake(e){return TS=null,dt.createList(e)}async function NM(){let e=Xn()||"",t=await tm(e),n=["MicrosoftEmployee","MicrosoftAgencyTemporary","MicrosoftVendor","MicrosoftIntern"];return t?t.affiliations.some(i=>n.includes(i)):!1}function Fje(e,t=!1){switch(e){case"MicrosoftEmployee":return h8;case"MicrosoftAgencyTemporary":case"MicrosoftVendor":return b8;case"MicrosoftIntern":return _8;case"RegionalDirector":return y8;case"Mvp":return t?zre:f8;case"StudentAmbassador":return t?Vre:v8;default:return""}}function FM(e){let t=e?e[0]:"";return Fje(t)}function j4(e,t){e=decodeURIComponent(e);let n=Ts(e,t.target),i=d``,o=d``;if(n){let s=document.createElement("div");v(o,s),new ye(s).show()}}async function Pke(e){if(!R.reviewFeatures)return;let t=Array.from(e.querySelectorAll("[data-contenteditbtn] a, a[data-contenteditbtn]"));for(let n of t){Qe("edit-in-editor",{require:!0})||(n.hidden=!1);let i=n.dataset.original_content_git_url,o=n.dataset.original_content_git_url_template,s=n.dataset.pr_repo,r=n.dataset.pr_branch;o&&o.length&&s&&s.length&&r&&r.length?n.setAttribute("href",o.replace("{repo}",s).replace("{branch}",r)):i&&i.length&&n.setAttribute("href",i)}Oje(t)}async function Uje(e){let t=document.createElement("div");t.classList.add("modal-content");let n=new ye(t);return v(e,t),n.show()}async function Oje(e){if(!Qe("edit-in-editor",{require:!0}))return;console.log("edit-in-editor flag running.");let t=await qje();for(let n of e){let{title:i,description:o,link:s,moreInfo:r}=gke(t,n);n.addEventListener("click",function(a){a.preventDefault(),Uje(mke(i,o,s,r))}),n.hidden=!1}}async function qje(){if(!w.isAuthenticated||!await NM())return 0;if(!Hje())return 1;let e=R4();return await Bje(e)?3:2}function Hje(){let e=W0(document);return e?.original_content_git_url?e?.original_content_git_url?.endsWith(".md"):!1}async function Bje(e){if(!e)return!1;let t=e?await M4(e.access_token):null,n=await uke();return t&&n&&n.login&&n.login.toLowerCase()===t.toLowerCase()}async function Ike(e){let t={method:"POST",body:e,credentials:"same-origin"},n=new Request($.siteFeedback,t),i=await M(n);if(!i.ok)throw new Error(`Error fetching ${n.url}`);return i}var jje=["jpeg","jpg","png","gif"],zje=1024*1024*5;function Lke(e){let t=[];return Array.from(e).forEach(n=>{(n.type.split("/")[0]!=="image"||jje.indexOf(n.type.split("/")[1])===-1)&&t.push(cre.replace("{fileName}",n.name)),n.size>=zje&&t.push(ure.replace("{fileName}",n.name))}),t}A();A();var gn={"functionality-other":yJ,"learn-content-other":kJ,"feature-request":_J,"category-general":vJ,"tutorial-content-quality":gJ,"learn-credit-problem":TJ,"sandbox-problem":CJ,"registration-problem":wJ,"problem-with-cloudshell":dJ,"problem-with-install":mJ,"problem-with-dotnet-editor":pJ,"content-mistake":bJ,"content-question":xJ,"translation-quality":EJ,"category-other":SJ},Vje=[{icon:"docon-developer-tools",value:"Microsoft Learn/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Microsoft Learn/Customer Feedback/Engineering/Gamification",text:gn["learn-credit-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Interactivity",text:gn["sandbox-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Profile",text:gn["registration-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering",text:gn["category-other"]}],text:gn["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:gn["content-mistake"]},{value:"Microsoft Learn/Customer Feedback/Content/{{REPO-AREA}}",text:gn["content-question"]},{value:"Microsoft Learn/Customer Feedback/Localization/{{REPO-AREA}}",text:gn["translation-quality"]},{value:"Microsoft Learn/Customer Feedback/Content",text:gn["category-other"]}],text:gn["learn-content-other"]},{icon:"docon-web-components",value:"Microsoft Learn/Customer Feedback/Engineering/Experience",text:gn["feature-request"]},{icon:"docon-feedback",value:"Microsoft Learn/Customer Feedback",text:gn["category-general"]}],Gje={type:"reportIssue",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:Vje},Qje=[{icon:"docon-developer-tools",value:"Tutorial Feedback/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:gn["problem-with-cloudshell"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:gn["problem-with-install"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:gn["problem-with-dotnet-editor"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Profile",text:gn["registration-problem"]},{value:"Tutorial Feedback/Customer Feedback/Engineering",text:gn["category-other"]}],text:gn["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:gn["content-mistake"]},{value:"Tutorial Feedback/Customer Feedback/Content/{{REPO-AREA}}",text:gn["content-question"]},{value:"Tutorial Feedback/Customer Feedback/Localization/{{REPO-AREA}}",text:gn["translation-quality"]},{value:"Tutorial Feedback/Customer Feedback/Content",text:gn["category-other"]}],text:gn["tutorial-content-quality"]},{icon:"docon-web-components",value:"Tutorial Feedback/Customer Feedback/Engineering/Experience",text:gn["feature-request"]},{icon:"docon-feedback",value:"Tutorial Feedback/Customer Feedback",text:gn["category-general"]}],Kje={type:"tutorialFeedback",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:Qje};function Rke(e,t){let n=Yje(t),i=Wje(n);v(i,e)}function Yje(e){return e==="reportIssue"?Gje:Kje}function Wje(e){return d`

    ${aJ}

    ${PJ}
    ${e.categories.map(t=>d``)}
    ${e.categories.filter(t=>t.subCategories!==void 0).map(t=>d` `)}
    `}var z4=!1;lt.subscribe(_n,()=>{Q4("reportIssue")});var Mke=e=>{e.disabled=!1,e.classList.remove("is-loading")},G4=e=>e.querySelector("input:checked"),Jje=(e,t)=>{let n=!1,i=e!=null&&"subCategory"in e.dataset&&e.dataset.subCategory||null;for(let o in t){let s=i!==o,r=t[o].closest("div.field");t[o].disabled=s,r.hidden=s;let a=Array.from(r.querySelectorAll(".radio"));s?a.forEach(l=>{l.querySelector("input").removeAttribute("required")}):(n=!0,a.forEach(l=>{l.querySelector("input").setAttribute("required","")}))}return n},$ke=e=>e.dispatchEvent(new CustomEvent("opened",{bubbles:!1})),Zje=(e,t,n)=>{Jje(e,t)||$ke(n)},Xje=e=>{Array.from(e.querySelectorAll("[id^='feedback-report-category-'] .radio")).forEach(n=>{n.querySelector("input").setAttribute("required","")}),$ke(e)},eze=e=>{e.hidden=!1},tze=e=>{let t=e.target;if(!t.files||t.files.length===0)return;let n=document.querySelector("#attachment-validation"),i=Lke(t.files),o=t.parentElement.querySelector("#feedback-report-attachment-file-name");if(i.length){let r=i.map(a=>d`

    ${a}

    `);v(d`${r}`,n),n.hidden=!1,v(d``,o);return}let s=Array.from(t.files).map(r=>r.name).join(", ");v(d`${s}`,o),v(d``,n),n.hidden=!0},nze=e=>{e.disabled=!0,e.classList.add("is-loading")},V4=e=>e.hidden=!0,ize=()=>{let e=document.getElementById("feedback-report-category"),t=G4(e),n=t.value,i=t.parentElement.textContent.trim();return{value:n,text:i}},oze=e=>{let t=document.getElementById("feedback-report-category"),n=G4(t);if(n===null||!n.dataset.subCategory)return{valueSub:null,textSub:null};let o=Array.from(e[n.dataset.subCategory].querySelectorAll(".radio input")).filter(a=>a.checked)[0],s=o.value,r=o.parentElement.textContent.trim();return{valueSub:s,textSub:r}},sze=e=>new FormData(e),Dke=e=>e.hidden=!1,rze=(e,t,n,i)=>{e.classList.remove("is-hidden"),i.classList.add("is-hidden"),t.classList.add("is-hidden"),n.classList.add("is-hidden")},Nke=(e,t)=>{let n=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(o=>{let s=o.querySelector("input");s.setAttribute("required",""),s.checked=!1});for(let o in t){let s=t[o].closest("div.field"),r=e.querySelector("#feedback-form-info");s.hidden=!0,r.hidden=!0}v(d``,n)},aze=async(e,t,{successMessage:n})=>{let{value:i,text:o}=ize(),{valueSub:s,textSub:r}=oze(t);e.feedbackCategory&&(e.feedbackCategory.value=o),e.category.value=s||i,e.issueType&&(e.issueType.value=r),R.reviewFeatures&&(e.summary.value=`[TEST] ${e.summary.value}`),Ike(sze(e)),Dke(n),Nke(e,t)},lze=(e,t,n,i,{successMessage:o})=>{e.classList.add("is-hidden"),V4(o),i.classList.remove("is-hidden"),t.classList.remove("is-hidden"),t.disabled=!0,n.classList.remove("is-hidden")};async function Q4(e,t,n=!1){let i=document.querySelector(".feedback-report");if((!S.feedbackReport||!i)&&!n)return;Rke(i,e);let o=document.querySelector("#feedback-report-form");if(o===null||z4)return;z4=!0,Sg(()=>{z4=!1});let s=o.querySelector("#feedback-report-error-message"),r=o.querySelector("#feedback-report-category"),a={"feedback-report-category-product":o.querySelector("#feedback-report-category-product"),"feedback-report-category-content":o.querySelector("#feedback-report-category-content")},l=o.querySelector("#feedback-report-attachment"),c=o.querySelector("fieldset:nth-of-type(2)"),u=o.querySelector("button[type=submit]"),p=o.querySelector("#feedback-report-success-message"),m=o.querySelector("#feedback-report-feedbackTitle"),g=o.querySelector("#feedback-report-description"),f=o.querySelector("#submit-another-feedback-button"),_=o.querySelector("#clear-form-button"),h=o.querySelector("#feedback-type-selection");o.contentLocale.value=b.data.contentLocale,o.userLocale.value=b.data.userLocale,o.jsllImpressionGuid.value="";let k=ls.get("ai_session");o.aiSessionId.value=k!==void 0?k.split("|")[0]:"";let{uid:y,documentId:x,versionIndependentDocumentId:P,platformId:C,contentPath:j,url:O,author:pe}=oe(t);o.uid.value=y,o.documentId.value=x,o.versionIndependentDocumentId.value=P,o.platformId.value=C,o.contentPath.value=j,o.url.value=O,o.author.value=pe;let Ee=()=>{if(!o.checkValidity()){u.disabled=!0;return}Mke(u)};Ot(r,"change",()=>{let _t=G4(r);_t?_t.dispatchEvent(new CustomEvent("selected")):_t=null}),Ot(m,"input",()=>{Ee()}),Ot(g,"input",()=>{Ee()});let ce=Array.from(r.querySelectorAll("input"));Array.from(ce).forEach(_t=>Ot(_t,"selected",()=>Zje(_t,a,o))),Object.keys(a).forEach(_t=>Ot(a[_t],"change",()=>{Xje(o)})),Ot(o,"opened",()=>eze(c)),Ot(l,"change",tze),Ot(o,"submit",async _t=>{if(_t.preventDefault(),!u.disabled){nze(u),V4(s),V4(p);try{await aze(o,a,{successMessage:p}),rze(f,u,_,h)}catch{Dke(s)}Mke(u)}}),Ot(_,"click",()=>{Nke(o,a)}),Ot(f,"click",()=>{lze(f,u,_,h,{successMessage:p})})}A();A();var cze={"01-yes-content-easy":IJ,"02-yes-problem-solved":MJ,"03-yes-information-easy":DJ,"04-yes-learned-smth-new":$J,...b.data.userLocale!=="en-us"?{"05-yes-localization":GN}:{},"00-yes-other":ca},uze={"01-no-content-hard":LJ,"02-no-example-problem":QJ,"03-no-discovery-issue":RJ,"04-no-outdated-content":NJ,...b.data.userLocale!=="en-us"?{"05-no-localization":GN}:{},"00-no-other":ca},Oke={"ask-the-community":g9,"get-product-support":mZ,"get-help-at-qna":pZ};function qke(){let e=S.usingStandardFeedback||S.openSourceFeedback;return d` `}function Fke(){return!!(b.data.feedbackHelpLinkType&&b.data.feedbackHelpLinkType in Oke&&b.data.feedbackHelpLinkUrl)}function Hke(){return d`

    ${nae}

    ${tre}

    `}function K4(e,t,n,i,o){return d` `}function Uke(e,t){let n=[];for(let i in e)n.push(d` `);return n}function Bke(){window.addEventListener("form-validating",e=>{e.detail.errors?.length>=0&&(Y4(e.detail.form,e.detail.errors),dze(e.detail.form,e.detail.errors))}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;Sy(t)})}function Y4(e,t){let n=e.querySelector(".checkbox-group.required:not([hidden])");if(!n)return;let i=n.querySelectorAll('input[type="checkbox"]');if(!i)return;if(n.querySelectorAll('input[type="checkbox"]:checked').length<1){n.classList.add("errored"),i.forEach(l=>l.closest(".checkbox")?.classList.add("is-invalid"));let s=Vv,r=n.querySelector('input[type="checkbox"]');Ho(r,s),jke(t,r,s);let a=`${mi} ${iZ}`;ut(a,"assertive")}}function dze(e,t){let n=e.querySelector(".choice-selection.required");if(!n)return;let i=n.querySelectorAll(".thumb-rating-button");if(!i)return;if(!n.querySelector(".thumb-rating-button.button-selected")){n.classList.add("errored"),i.forEach(a=>{a.classList.add("button-danger"),a.querySelector(".icon")?.classList.add("color-danger")});let s=qf;Ho(i[0],s),jke(t,i[0],s);let r=`${mi} ${oZ}`;ut(r,"assertive")}}function jke(e,t,n){e.find(i=>i.message===n)||e.push({input:t,message:n})}function Sy(e){let t,n,i=e.closest("form");i&&(e instanceof HTMLInputElement?t=e.closest(".suggestions-list.errored"):e instanceof HTMLButtonElement&&(t=i.querySelector(".suggestions-list.errored"),n=i.querySelector(".choice-selection.errored")),!(!t&&!n)&&(t&&(t.classList.remove("errored"),t.querySelectorAll('input[type="checkbox"]').forEach(a=>a.closest(".checkbox").classList.remove("is-invalid")),i.querySelector("[data-feedback-suggestions] .field-error")?.remove(),i.querySelector("[module-assessment-ai-feedback-suggestions] .field-error")?.remove()),n&&(n.classList.remove("errored"),n.querySelectorAll(".thumb-rating-button").forEach(a=>{a.classList.remove("button-danger"),a.querySelector(".icon")?.classList.remove("color-danger")}),i.querySelector("[data-feedback-rating] .field-error")?.remove(),i.querySelector("[module-assessment-ai-feedback-rating] .field-error")?.remove())))}function pze(e){return e.querySelector("[data-feedback-suggestions]")}function UM(e){let t=pze(e)?.querySelectorAll(".suggestions-list:not([hidden]) .checkbox > input:checked")??[];return Array.from(t)}var OM=!1;function qM(){let e=location.pathname;return b.data.pageTemplate==="ModuleUnit"?e.substring(0,e.lastIndexOf("/")+1):e}async function HM(e){let t=document.getElementById("user-feedback"),n=document.getElementById("site-user-feedback-footer");if(e==="ModuleUnit"&&(OM=!1),!t&&!n)return;if(b.data.isArchived){let o=document.querySelector("[data-hide-on-archived]");o&&(o.hidden=!0);return}gze(),zke(),mze(),Bke(),kze();let i=fze();_ze(i,e==="Module"||e==="ModuleUnit"?"training-feedback":"standard-feedback"),await bze(i)}function zke(e=localStorage){let t=e.getItem(`binary-rating-${qM()}`);t!=="rating-yes"&&t!=="rating-no"||(SS(t),Yg(t))}function SS(e,t=Array.from(document.querySelectorAll("[data-binary-rating-response]"))){if(!OM)for(let n of t){let i=n.dataset.binaryRatingResponse===e;n.classList[i?"add":"remove"]("button-selected"),n.classList.contains("link-button")||n.classList[i?"add":"remove"]("is-selected"),n.setAttribute("aria-pressed",i?"true":"false")}}function mze(){let e=t=>{if(!(t.target instanceof HTMLElement&&t.target.closest("[data-user-feedback-button]")))return;let i=localStorage.getItem(`binary-rating-${qM()}`);!i||i!=="rating-no"&&i!=="rating-yes"||(SS(i),Yg(i))};window.addEventListener("click",e)}function gze(){let e=t=>{let n=t.target instanceof HTMLElement&&t.target.closest("[data-binary-rating-response]");if(!n)return;let i=n.dataset.binaryRatingResponse;i!=="rating-no"&&i!=="rating-yes"||(n.classList.contains("button-selected")||Sy(n),SS(i),Yg(i),OM||localStorage.setItem(`binary-rating-${qM()}`,i))};window.addEventListener("click",e)}function fze(){let e=document.createElement("div"),t=qke();return v(t,e),zke(),new ye(e)}async function hze(){let[e,t,n,i]=await Promise.all([Ss("ask-learn-on-articles"),Ss("ask-learn-on-reference"),Ss("ask-learn"),_e.then(()=>w.isAuthenticated)]);return Qe("ask-learn-popover",{require:!0})?{enabled:!0,userAuthenticated:i}:Qe("disable-ask-learn-popover",{require:!0})?{enabled:!1,userAuthenticated:i}:{enabled:e||t||n,userAuthenticated:i}}async function bze(e){let t=Array.from(document.querySelectorAll("[data-binary-rating-response]")),n=document.getElementById("user-feedback-button");n&&n.addEventListener("click",()=>e.show());let o=Array.from(t.filter(l=>l.dataset.binaryRatingResponse==="rating-yes")).length>0,{enabled:s,userAuthenticated:r}=await hze(),a=b.data.userLocale.substring(0,2).toLocaleLowerCase()==="en";if(s&&r&&a&&o){t.forEach(c=>c.addEventListener("click",()=>{c.dataset.binaryRatingResponse==="rating-yes"&&e.show();let u=localStorage.getItem(`binary-rating-${qM()}`);u&&(SS(u),Yg(u))})),window.addEventListener("click",async c=>{let p=c.target.closest("[data-bi-name]");if(!p)return;let m=p.dataset.biName;vze(c),m==="feedback-suggest"?(e.show(),SS("rating-no"),Yg("rating-no")):m==="ask-learn-assistant-entry-troubleshoot"&&Bi&&(await Bi.initialized,Bi.responseCount&&Bi.responseCount>=Bi.maxMessages&&Bi.reset(),Bi.submitWithPrompt("/troubleshoot"),Bi.getActiveTextArea()?.focus())});let l=Array.from(document.querySelectorAll(TR+","+SR));s&&(xze(),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 _ze(e,t="standard-feedback"){window.addEventListener("submit",n=>{let i=n.target instanceof HTMLElement&&n.target.closest("[data-feedback-verbatim-form]");if(!i||(n.preventDefault(),i.querySelector(".errored")))return;yze(n,i,t),OM=!0;let o=document.createElement("div");o.classList.add("modal-slide"),v(Hke(),o),e.updateContent(o,!1,!1)})}function yze(e,t,n){if(!e)return;let i=UM(t),o=t.querySelector("#user-feedback-textarea"),s=o?o.value:"",r=t.querySelector(".thumb-rating-button.button-selected"),a=r&&r.dataset.binaryRatingResponse==="rating-yes"?1:0,l=i.map(c=>c.value);e.target&&Yt(e.target,{behavior:le.SURVEYCOMPLETE,actionType:Ce.OTHER,content:{autoIngest:!0,type:n,sat:a,vtbm:s,reasons:l}})}function vze(e){let t=e.target;(t.closest('[data-test-id="feedback-popover"]')||t.closest('[data-test-id="footer-feedback-popover"]'))&&Yt(t,{actionType:Ce.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 Yg(e){let t=document.querySelector("[data-feedback-suggestions]");if(!t)return;t.hidden=!1;let n=document.querySelector("[data-feedback-options-yes]"),i=document.querySelector("[data-feedback-options-no]");!n||!i||(n.hidden=e!=="rating-yes",i.hidden=e!=="rating-no")}function kze(){let e=document.getElementById("ms--user-feedback-configurable-help-link");if(e){e.classList.remove("display-none");return}}function xze(){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 W4="v9",Tze=.03,BM=Qe("survey-popover",{require:!0}),Sze=new Set(["Architecture","CareerPath","Certification","CertificationRenewal","Conceptual","Course","FAQ","HowTo","KnownIssue","LearningPath","Lifecycle","Module","ModuleUnit","Question","QuestionList","Reference","Sample","Tag","TagList"]),wze=new Set(["en-us","de-at","de-ch","de-de","fr-be","fr-ca","fr-ch","fr-fr","es-es","es-mx"]),Vke=0,Gke=!1;function Cze(e=S.surveyPopover,t=b.data.pageTemplate,n=b.data.userLocale){return e&&Sze.has(t)&&wze.has(n)}function jM(e,t=0){try{let n=X.getItem(e);if(n===null)return t;let i=Number(n);return isNaN(i)?t:i}catch{return t}}function Eze(e=R.accessLevel!=="local"){let t=new URL("https://microsoft.qualtrics.com/jfe/form/SV_6hUVpRBU3hQVnZY");e&&t.searchParams.set("original_url",ee.href),t.searchParams.set("locale",b.data.userLocale),t.searchParams.set("pageTemplate",b.data.pageTemplate);let n=jM("hats_survey-pages-visited",0);t.searchParams.set("pagesVisited",n.toString());let i=jM("hats_survey-qualified-pages-visited",0);t.searchParams.set("qualifiedSurveyPagesVisited",i.toString());let o=Qke().slice(0,30);return t.searchParams.set("pageTemplatesVisited",o?o.join(","):""),t.href}function J4(){Aze(W4);let e=X.getItem("hats_survey-interacted");if(e){let u=Date.now(),p;try{if(p=new Date(e),isNaN(p.getTime())){zM(),X.setItem("hats_survey-version",W4);return}}catch{return}let m=1e3*60*60*24*30*6;if(u-p.getTime()

    ${eae}

    ${cee}

    `;return v(t,e),e.addEventListener("click",n=>{n.target instanceof HTMLElement&&n.target.closest("[data-dismiss]")&&X.setItem("hats_survey-interacted",new Date().toISOString())}),e}function Yke(){let e=document.querySelectorAll(".ccpa-privacy-link");S.thirdPartyDataSharingConsentFlag&&e.forEach(t=>{t.removeAttribute("hidden")})}var Es={repo:b.data.feedbackGitHubRepo,documentId:I("document_id")||btoa(location.pathname),versionIndependentDocumentId:I("document_version_independent_id")||btoa(location.pathname),platformId:I("platform_id")||btoa(location.pathname),documentSourceUrl:I("github_feedback_content_git_url")||I("original_content_git_url")||I("original_ref_skeleton_git_url")||"",service:I("ms.service"),subservice:I("ms.subservice"),product:I("ms.prod"),technology:I("ms.technology"),author:I("author"),msAuthor:I("ms.author"),contentTitle:I("og:title")||document.title};function Wke(e){let t=`${e} --- #### ${vW} \u26A0 *${kW}* `,n=location.href,{documentId:i,versionIndependentDocumentId:o,platformId:s,documentSourceUrl:r,contentTitle:a}=Es,l=r.replace(/^https:\/\/github.com\/[^/]+\/[^/]+\/blob\/[^/]+\//i,"").replace(/\[|\]/g,"\\$&");a=a.replace(/\[|\]/g,"\\$&"),t+=`* ID: ${i} * Version Independent ID: ${o} * Platform ID: ${s} * Content: [${a}](${n}) * Content Source: [${l}](${r})`;let{service:c,subservice:u,product:p,technology:m}=Es;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}=Es;return g!==void 0&&(/github\.com/.test(r)?t+=` * GitHub Login: @${g}`:t+=` * Git Login: **${g}**`),f!==void 0&&(t+=` * Microsoft Alias: **${f}**`),t=t.replace(//g,">"),t}function Jke(e,t,n,i,o,s,r,a,l,c,u,p,m,g,f="",_){let h=e.querySelector("[data-github-link]"),k=e.querySelector("[data-open-source-image-light]"),y=e.querySelector("[data-open-source-image-dark]"),x=e.querySelector("[data-open-source-image-container]"),P=e.querySelector("[data-open-source-product-title]"),C=e.querySelector("[data-open-source-product-description]");if(!h||!t||!n||!o||!c||!g)return;let j=u==="production"&&p?`\u{1F6A8} Looks like you arrived from the internal review site \u{1F6A8} Do not enter Microsoft confidential information here`:"",O=Rze(i,o,s,r,a,l),pe=/github\.com/.test(c)?`@${g}`:g,Ee=new URL(t),ce=new URLSearchParams;ce.set("pageUrl",m.href),ce.set("pageQueryParams",m.search),ce.set("contentSourceUrl",c),ce.set("documentVersionIndependentId",n),ce.set("platformId",o),ce.set("feedback",`${j} ${rJ} `),ce.set("author",pe),ce.set("metadata",O),f&&ce.set("title",f),_&&ce.set("labels",_),Ee.search+=`&${ce.toString()}`,h.href=Ee.toString(),Mze(P,C),k&&y&&x&&$ze(k,y,x),e.hidden=!1}function Rze(e,t,n,i,o,s){let r=`* ID: ${e} * PlatformId: ${t} ${i!==void 0?` * Service: **${i.toLowerCase()}**`:""}${o!==void 0?` * Sub-service: **${o.toLowerCase()}**`:""}${n!==void 0?` * Product: **${n.toLowerCase()}**`:""}${s!==void 0?` * Technology: **${s.toLowerCase()}**`:""}`;return r=r.replace(//g,">"),r}function Mze(e,t){if(!e)return;let n=e.textContent;e.textContent=QX.replace("{productName}",n),t&&(t.textContent=KX.replace("{productName}",n))}async function $ze(e,t,n){let[i,o]=await Promise.all([bz(e.src).then(()=>!0).catch(()=>!1),bz(t.src).then(()=>!0).catch(()=>!1)]);i&&o&&(n.hidden=!1)}function Zke(){let e=document.body.querySelector(".feedback-section");if(e){if(b.data.pageTemplate==="ModuleUnit"){S.moduleUnitFeedbackReport||Dze(e);return}if(S.openSourceFeedback&&b.data.openSourceFeedbackIssueUrl){let t=document.body.querySelector("[data-open-source-feedback-section]");t&&Jke(t,b.data.openSourceFeedbackIssueUrl,Es.versionIndependentDocumentId,Es.documentId,Es.platformId,Es.product,Es.service,Es.subservice,Es.technology,Es.documentSourceUrl,R.supportLevel,R.reviewFeatures,ee,Es.author,b.data.openSourceFeedbackIssueTitle,b.data.openSourceFeedbackIssueLabels)}addEventListener("keydown",({keyCode:t,altKey:n,ctrlKey:i})=>{t===71&&n&&i&&Ts(Wke(""),document.body)&&alert("\u2705 GitHub issue footer copied.")})}}function Dze(e){if(e){e.hidden=!0;for(let t of document.querySelectorAll("[data-feedback-section-link]"))t.hidden=!0}}A();var Nze=I("uhfHeaderId"),Fze=Nze,Dt=Uze({brand:b.data.brand,pathnameSegments:tR,page_kind:I("page_kind"),page_type:I("page_type"),headerId:Fze,isAdmin:I("is_admin"),isEditor:I("is_editor")??"false"});function Uze(e){let{brand:t,pathnameSegments:n,page_kind:i,page_type:o,headerId:s,isAdmin:r,isEditor:a}=e;if(r==="true")return"Admin";if(a==="true")return"Editor";if(s==="MSDocsHeader-Archive")return"Archive";if(i==="docs"&&o==="home"||o==="welcome")return"Docs_Home";if(o==="profile")return"Profile";if(o==="locale")return"Locale";if(o==="search")return"Search";if(i==="assessments")return"Assessments";switch(n[2]){case"docs":return"Documentation";case"training":return"Training";case"certifications":return S.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(n[2]==="training"&&R.siteName==="learn")return"Training";if(t==="mooncake")return"Mooncake";if(!s&&R.siteName==="learn")return"Learn";switch(s){case"answers":case"answersv2":case"answersv2MOD":case"answersv2ADMIN":return"Q&A";case"mooncake":return"Mooncake";case"MSDocsHeader-Credentials":return"Credentials";case"MSDocsHeader-Certifications":return S.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:Hn}=b.data,Xke={type:"static-header",brandLink:{displayName:"Learn",href:`/${Hn}/`,biName:"learn"},navLinks:[{title:aa,href:`/${Hn}/docs/`,biName:"documentation"},{title:Wo,href:`/${Hn}/training/`,biName:"training"},{title:S.previewCredentialsL1?pi:tl,href:S.previewCredentialsL1?`/${Hn}/credentials/`:`/${Hn}/certifications/`,biName:S.previewCredentialsL1?"credentials":"certifications"},{title:"Q&A",href:`/${Hn}/answers/`,biName:"qna"},{title:vN,href:`/${Hn}/samples/browse/`,biName:"code-samples"},{title:tC,href:`/${Hn}/assessments/`,biName:"assessments"},{title:To,href:`/${Hn}/shows/`,biName:"shows"}]},exe={type:"static-header",brandLink:{displayName:"Developer",href:`/${Hn}/`,biName:"developer"},navLinks:[{title:"Learn",href:`https://learn.microsoft.com/${Hn}/`,biName:"learn"},{title:aa,href:`https://learn.microsoft.com/${Hn}/docs/`,biName:"documentation"},{title:Wo,href:`https://learn.microsoft.com/${Hn}/training/`,biName:"training"},{title:"Q&A",href:`https://learn.microsoft.com/${Hn}/answers/`,biName:"qna"},{title:vN,href:`https://learn.microsoft.com/${Hn}/samples/browse/`,biName:"code-samples"},{title:To,href:`https://learn.microsoft.com/${Hn}/shows/`,biName:"shows"}]},txe={type:"static-header",brandLink:{displayName:"Learn",href:`/${Hn}/`,biName:"learn"},navLinks:[{title:Wo,href:`https://learn.microsoft.com/${Hn}/training/`,biName:"training"},{title:S.previewCredentialsL1?pi:tl,href:S.previewCredentialsL1?`https://learn.microsoft.com/${Hn}/credentials/`:`https://learn.microsoft.com/${Hn}/certifications/`,biName:S.previewCredentialsL1?"credentials":"certifications"},{title:ore,href:`https://support.azure.cn/${Hn}/support/contact/`,biName:"support"},{title:To,href:`https://learn.microsoft.com/${Hn}/shows/`,biName:"shows"}]};async function ixe(e=b.data.userLocale){let t=qze();if(t==="developer-header"||t==="mooncake-header")return nxe(t);let n=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",i={branch:ft(["contentnav-branch"],"main")},o=new URL(`/${e}/${n}content-nav/site-header/${t}.json?${re(i)}`,location.origin);try{let s=await M(o.href,{credentials:"include"});if(!s?.ok)throw new Error(`Site navigation JSON not found for ${t} in ${e}.`);return await s.json()}catch{return console.error(`Site navigation fetching error. Loading static version of ${t}.`),nxe(t)}}function qze(){return R.siteName==="mooncake"?"mooncake-header":Dt==="Developer"?"developer-header":"site-header"}function nxe(e){switch(e){case"mooncake-header":return txe;case"developer-header":return exe;default:return Xke}}var wy,oxe,Cy=new Promise(e=>oxe=e);async function sxe(){wy=await ixe(),oxe()}function rxe(){let e=document.getElementById("ms--search-expander-wrapper");if(!e||!e.classList.contains("overflow-x-hidden"))return;let t=e.querySelector("overflow-menu"),n=e.querySelector("search-expander");if(!t||!n)return;let i=n.querySelector("button[data-search-expander-trigger-open]"),o=n.querySelector("button[data-search-expander-trigger-close]");!i||!o||(i.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),o.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),n.addEventListener("keydown",s=>{s.key==="Escape"&&!e.classList.contains("overflow-x-hidden")&&e.classList.toggle("overflow-x-hidden")}),window.addEventListener("click",s=>{s.target instanceof Element&&s.type==="click"&&!n.contains(s.target)&&!e.classList.contains("overflow-x-hidden")&&(s.target.hasAttribute("data-search-expander-autocomplete-suggestion")||e.classList.toggle("overflow-x-hidden"))}))}var VM=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();Ve();var Ey=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&&fM(t),document.body.insertAdjacentElement("afterbegin",this.container),this.container.classList.add("appearing"),setTimeout(()=>{Pt()},10),setTimeout(()=>{fM(this.container)},3500)}};Ve();A();function GM(e){for(let t=0;tn.setCustomValidity(/^\s+$/.test(n.value)?gee:"")),n instanceof HTMLButtonElement&&n.type==="submit"&&(n.onclick=()=>e.classList.add("show-validation-status"))}}A();async function li(e,t=!1,n){let i=T.createElement("form");if(i.action="javascript:",e instanceof rl){if(v(e,i),t){let c=i.querySelectorAll("input.loc-checkbox"),u=0,p=i.querySelector("#loc-submit-button");c&&c.forEach(m=>m.addEventListener("change",()=>{m.checked?u++:u--,u===2?p.disabled=!1:p.disabled=!0}))}}else i.appendChild(e);Hze(i);let o=T.createElement("div");o.classList.add("modal-content"),o.appendChild(i);let s=new ye(o),r=!1,a={hasError:!1,data:null};return i.addEventListener("submit",async c=>{c.preventDefault(),a=n?await n(i):{hasError:!1,data:null},a.hasError===!1&&(r=!0,s.hide())}),GM(i),await s.show(),{submitted:r,form:i,data:a.hasError?null:a.data}}function Hze(e){if(e.querySelector("form"))throw new Error("The content argument should not contain a form")}function fp(e,t,n=Ei,i=!1,o=nY,s,r){return d` `}A();Ve();Ve();Ve();A();A();var no={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 axe=[{reason:ate,value:no[13]},{reason:ete,value:no[3]},{reason:ute,value:no[4]},{reason:ote,value:no[4]},{reason:tte,value:no[6]},{reason:ste,value:no[7]},{reason:ite,value:no[8]},{reason:Xee,value:no[9]},{reason:cte,value:no[10]},{reason:nte,value:no[11]},{reason:lte,value:no[15]},{reason:dte,value:no[16]},{reason:pte,value:no[17]},{reason:rte,value:no[14]}];function lxe(e){if(!e)return;let t=document.getElementById("tagHeading");if(!t)return;let n=t.getAttribute("data-tag-id"),i=t.innerText;e.primary.href.includes("/ask/")&&(e.primary.href=`${e.primary.href}?id=${n}&styleGuideLabel=${i}`)}function cxe(e){if(!e||Dt!=="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 QM=S.userServices&&R.siteName!=="mooncake"&&Dt!=="Developer"&&Dt!=="Regional Directors",Ay=Dt==="Third-Party"||Dt==="Admin"||Dt==="Developer"||Dt==="Assessments"||Dt==="Certifications"||Dt==="Credentials"||Dt==="Learn"||Dt==="Shows"||Dt==="Mooncake"||Dt==="Q&A"||Dt==="Training"||Dt==="Legal";function uxe(e){let t=Yze();if(!(!t||t==="exclude"))for(let n of e){let i=n?.id===t;if(i){n.current=i;break}}}var Gze={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"}}}},Qze={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"}}}}}}},Kze={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 Yze(e=I,t=Dt){let n;switch(t){case"Learn":case"Training":n=Qze;break;case"Q&A":n=Gze;break;case"Certifications":case"Credentials":n=Kze;break;default:return e("activeMenuId")}return Wze(n)}function Wze(e,t=ee.pathname){if(!e)return;let n,i=e;do{let o=!0;i.exclude&&t.includes(i.exclude)&&(o=!1),(i.exact&&t!==i.pattern||t.indexOf(i.pattern)===-1)&&(o=!1),o&&(n=i.id),i=i.next}while(i&&!n);return n}var Jze="DEV_Homeheader";function dxe(){let e=I("uhfHeaderId"),t=e&&e!==Jze?e:"";return(R.reviewFeatures?oe()["header-id"]:"")||b.data.context.uhfHeaderId||t}async function pxe(e,t=b.data.userLocale){let n={branch:ft(["contentnav-branch"],"main")},o=`${$.contentNav}/${t}/content-nav/${e}.json?${re(n)}`,s;try{s=await M(o,{credentials:"include"})}catch{return console.error("Content navigation fetching error."),null}if(!s.ok){let a=new Error(`Content navigation JSON not found for ${e} in ${t}.`);return a.headerId=e,console.error(a),null}let r=await s.json();return r.items.push({kind:"menu",title:Wv,biName:"more",items:[]}),r}function mxe(e,t=I("platform_id")){if(!e)return;let n=e.primary,i=e.secondary;n&&gS(n.href)&&(n.href=pM(n.href,t)),i&&gS(i.href)&&(i.href=pM(i.href,t))}var As,KM,Py=new Promise(e=>KM=e);async function gxe(){if(!Ay){As=null,KM();return}let e=dxe();if(!e){As=null,KM();return}As=await pxe(e),As&&(cxe(As.callToAction),lxe(As.callToAction),mxe(As.callToAction),uxe(As.items)),KM()}A();A();function Zze(e,t,n,i){let o;return n&&(o=[],o.push("font-weight-semibold","font-size-md")),e.kind==="link"?YM(e,`secondary-nav-link-${i+1}`,!1,o,n):Xze(e,t,o,i)}function YM({href:e,title:t,biName:n},i,o=!1,s=[],r=!1,a=!1){let l=o?"has-text-primary":"",c=r?"":"has-external-link-indicator",u;a?u=n?`secondary-nav-link-category-${n}-mobile`:"secondary-nav-link-category-mobile":u=n?`secondary-nav-link-${n}-mobile`:"secondary-nav-link-mobile",o&&(u=n?`${i}-${n}-mobile`:`${i}-mobile`);let p=nt(e,b.data.userLocale);return d`
  • ${t}
  • `}function Xze(e,t,n=[],i){let o=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",s=e.id?`ms--secondary-nav-btn-${e.id}`:`ms--secondary-nav-btn-${i+1}`,r=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 fxe(e,t){return d` `}function hxe(e,t,n,i,o,s,r,a,l,c,u){let p=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",m=n?"secondary-nav":"primary-nav";return d` ${o3e(r,n)&&i>=2&&u?d`
    `:null} ${r?d`
    `:null} `}function bxe(e,t){if(!e)throw new Error("Site header data is unavailable.");return e3e(e,t)}function e3e(e,t){if(e.type==="static-header")return t3e(e);if(!t)throw new Error("Menu handler is not available");return n3e(e,t)}function t3e(e){let t=e.navLinks.map(n=>{let i=nt(n.href,b.data.userLocale);return d`
  • ${n.title}
  • `});return d` `}function n3e(e,t){let n=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",i=e.navCategories.map(o=>{let s=`site-header-btn-${o.biName}-mobile`,r=`ms--${s}`;return d`
  • `});return d` `}function _xe(e,t,n,i,o,s){let r=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=nt(g.href,a);u=d` ${g.title} `}let p="";if(s){let g=s.map(f=>{let _=nt(f.href,a);return d` `});p=d`
    ${g}
    `}let m=[];return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(g=>{let f=nt(g.href,a),_=d`
  • `;m.push(_)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(g=>{let f=nt(g.href,a),_=d`
  • ${g.title}
  • `;m.push(_)}),d` ${l}
    ${c} ${u}
    ${p}
    `}function yxe(){let e="#",t=w.isAuthenticated?"button-clear inner-focus":"auth-status-determined not-authenticated button-filled button-primary";t=`docs-sign-${w.isAuthenticated?"out":"in"} `+t;let n=d`

    ${U(Bae)}

    `,i=d` ${w.isAuthenticated?i3e():n}
    ${w.isAuthenticated?d` ${Op} `:""} ${w.isAuthenticated?qp:Yo}
    `;return d`
    ${QM?i:n}
    `}function i3e(){return d` `}function o3e(e,t){return t||Dt!=="Docs_Home"&&e}async function kxe(e,t){if(await Cy,!t)throw new Error("Site header data is unavailable.");let n=T.createElement("div");n.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),n.setAttribute("data-test-id","global-navigation-mobile");let i=new VM;n.paint=()=>{v(d` ${fxe(e,t.brandLink.displayName)} ${yxe()} `,n)};function o(pe){n.paint();let Ee=n.querySelector("#modal-body");if(pe){let ce=Ee.querySelector(`#${pe}`);if(ce){ce.focus();return}}s3e(Ee)}function s(pe){let Ee=pe.target instanceof HTMLElement&&pe.target.closest("button");if(!Ee||!Ee.classList.contains("pop-content"))return;let ce=Ee.getAttribute("data-back-id");i.pop(),o(ce)}let r=e.subscribe(et,n.paint);n.dispose=()=>{i.dispose(),r(),n.removeEventListener("click",s)};let a=vxe(e.items),l,c,u,p,m,g,f,_,h,k,y;function x(pe,Ee,ce){a=pe.items,l=pe.title,g=Ee,f=ce,c=null,u=null,p=null,m=i.getTitle(),C(!0),o()}function P(pe,Ee,ce,_t,Rt,zt){h=pe,k=Ee,y=zt,g=ce,f=_t,_=Rt,C(!1,!0),o()}function C(pe=!1,Ee=!1){let ce;!pe&&!Ee&&t?ce=bxe(t,P):Ee?ce=_xe(h,k,g,_,dc,y):ce=hxe(a,x,pe,i.stackLength,g,f,l,c,u,p,m),i.push(ce),i.pushTitle(l)}function j(){C(),n.paint()}function O(){if(!(i.stackLength<=1)){for(;i.stackLength>1;)i.stackLength===2&&(e.secondaryNav=!1),i.pop();o()}}if(j(),n.addEventListener("click",s),Ay){await Py;let pe=As;pe&&(c=pe.category,u=pe.callToAction,p=pe.preview,l=pe.category?pe.category.title:null,a=vxe(pe.items),C(!0),o(),e.secondaryNav=!0,n.querySelector("#modal-header button.button").onclick=O)}return n}function s3e(e){let t=e.querySelector("[data-autofocus]");if(t&&JL(t)){t.focus();return}e.focus()}function vxe(e){return e.slice(0,e.length-1)}var Iy=class extends je{constructor(){super();this._items=[{title:Wv,kind:"menu",items:[],biName:"more"}];this._mobile=!1;this._desktop=!1;this._mobileNavExpanded=!1;this._secondaryNav=!1}get items(){return this._items}set items(n){this._items=n&&n.length?n:[{title:Wv,kind:"menu",items:[],id:"more",biName:"more"}],this.more.items=Yr(this._items.slice(0,this._items.length-1)),this.resetItemVisibility(),this.notifyPropertyChanged()}get mobile(){return this._mobile}set mobile(n){this._mobile=n,this._mobileNavExpanded=!1,this.notifyPropertyChanged()}get desktop(){return this._desktop}set desktop(n){this._desktop=n,this.notifyPropertyChanged()}get mobileNavExpanded(){return this._mobileNavExpanded}set mobileNavExpanded(n){this._mobileNavExpanded=n,this.notifyPropertyChanged()}get secondaryNav(){return this._secondaryNav}set secondaryNav(n){this._secondaryNav=n,this.notifyPropertyChanged()}get more(){let n=this._items.length;return n?this._items[n-1]:null}resetItemVisibility(){this.items.length!==0&&(this.items.forEach(n=>n.hidden=!1),this.more.hidden=!0,this.more.items.forEach(n=>n.hidden=!0))}notifyPropertyChanged(){this.publish(new et)}};function xxe(){let e=document.querySelector("#ms--site-header-hamburger > button");if(!e)return;let t=new Iy;e.addEventListener("click",()=>r3e(t))}async function r3e(e){await Cy;let t=await kxe(e,wy),n=new ye(t),i=window.outerWidth;function o(){t.dispose(),window.removeEventListener("resize",s),e.mobileNavExpanded=!1}function s(){n.hide(),o()}window.addEventListener("resize",()=>{window.outerWidth!==i&&s()},{passive:!0}),e.mobileNavExpanded=!0,await n.show()}A();var Z4;function Txe(){return Z4===void 0&&(Z4=(async()=>Qe("user-analytics",{require:!0})?!0:Ss("user-analytics-dashboard"))()),Z4}A();var Ga="autocomplete-change-event",wS="autocomplete-displayed-event";function Ps(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:n=Ne=>typeof Ne?.toString=="function"?Ne.toString():Ne,itemTemplate:i=n,noResultsTemplate:o=null,initialValue:s=null,input:{biName:r},exclude:a=Ne=>!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=Xe(),p=`${u}-listbox`,m=Ne=>Ne===-1?"":`${u}-option-${Ne}`,g=[],f=-1,_=s?n(s):"",h="",k=s,y=0,x=!1,P=!1,C="";e.input.size&&(C=e.input.size==="small"?"input-sm":"input-lg");let j=()=>{let Ne=c.querySelector(`#${p}`),D=Ne.children.item(f===-1?0:f);D?D.offsetTop+D.offsetHeight>Ne.offsetHeight?Ne.scrollTop=D.offsetTop-Ne.offsetHeight+D.offsetHeight+4:D.offsetTop{v(Mt(),c);let Ne=c.querySelector("input");Ne&&(Ne.value=_||h),j()},pe=()=>{g=[],f=-1,O()},Ee=(Ne,D)=>{let Q=h;if(k=Ne,_=Ne?n(Ne):"",h=_,pe(),D&&Ne){let F=new CustomEvent(Ga,{detail:{suggestion:Ne,term:Q},bubbles:!0});c.dispatchEvent(F)}};Object.defineProperty(c,"value",{get(){return k},set(Ne){Ee(Ne,!1)}});let ce=async()=>{if(h===""){x=!1,k=null,pe();return}g=await t(h),g=g.filter(D=>!a(D));let Ne=new CustomEvent(wS,{detail:g,bubbles:!0});c.dispatchEvent(Ne),g.length||ut(LX,"assertive",2e3),f=-1,x=!1,O()},_t=Ne=>{let Q=Ne?.url;Q&&Q.href&&window.open(Q.href,"_blank")},Rt=Ne=>{let D=Ne.target instanceof Element&&Ne.target.closest('[role="option"]');if(!D)return;Ne.preventDefault();let Q=D.parentElement,F=0;for(;F{clearTimeout(y),y=setTimeout(ce,250);let D=Ne.target;h=D.value,_="",!x&&D.value!==""&&!P&&(x=!0,O())},fn=()=>{P=!0},Vt=()=>{P=!1},un=()=>pe(),Jn=Ne=>{let{keyCode:D,shiftKey:Q,altKey:F,ctrlKey:ne}=Ne;if(!(Q||F||ne)){if(D===Pe.down){Ne.preventDefault(),f0?(f--,_=n(g[f])):(f=-1,_=h),O();return}if(D===Pe.escape){Ne.preventDefault(),Ee(k,!1);return}if(D===Pe.enter){if(f>=0){let be=g[f];Ee(be,!0)}return}}};function Mt(){let Ne=e.input.docon?d` `:"";return d`
    ${Ne} ${l?d` `:""}
      D.preventDefault()} @click=${Rt} @keyup=${D=>(D.key==="Enter"||D.key==="Spacebar")&&Rt} ?hidden=${!h.length||x||!o&&!g.length||_===h} > ${g.map((D,Q)=>d`
    • ${i(D)}
    • `)} ${!g.length&&o?d`
    • ${o}
    • `:""}
    `}return O(),c.addEventListener("compositionstart",fn),c.addEventListener("compositionend",Vt),c}var WM=["All","Ai","Documentation","Training","Credential","QnA","Reference","Show"];async function Sxe(e,t=b.data.userLocale){let n={query:e,suggestions:[]};if(!e)return Promise.resolve(n);let i=`${$.siteSearch}/autocomplete?${re({locale:t,query:e})}`,o={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},s=await M(i,o);if(s.ok)return s.json();if(s.status===403)return{query:e,suggestions:[]};throw new Jt(s)}function CS(e){let t=new URLSearchParams(e),n=t.get("category")||"All",i=WM.find(o=>o.localeCompare(n,void 0,{sensitivity:"base"})===0)||"All";return{dataSource:t.get("dataSource"),category:i,skip:parseInt(t.get("skip")||"0"),term:t.get("search"),scope:t.get("scope"),preview:t.get("preview")}}A();function wxe(){let e=b.data.context.searchScope||I("scope");if(b.data.pageTemplate==="SearchPage"&&(e=CS(location.search).scope),I("hideScope")==="true"||!e)return"";let i=e.split(",").map(o=>o.trim()).filter(o=>o.length);return i.length?i[i.length-1]:""}function X4(e=ee.pathname,t={}){let n=decodeURI(ri(e)).toLowerCase().split("/").slice(1),[i="",o=""]=n;return{parts:n,firstPart:i,secondPart:o,pageKind:Ds.kind,pageType:Ds.type,msTopic:I("ms.topic"),...t}}function JM(e,t=X4()){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 Cxe(e){let t={query:e,suggestions:[]};if(!e)return Promise.resolve(t);let n=`${$.siteSearch}/user?${re({query:e})}&$top=30&$skip=0&$filter=questionAuthor eq true`,i={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},o=await M(n,i);if(o.ok)return o.json();if(o.status===403)return{query:e,suggestions:[]};throw new Jt(o)}var Ly=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 a3e=1e4,l3e=4e3,Exe=Symbol("scenario timeout"),ko=class{constructor(t,n=32e3,i=window.fetch){this.scenario=t;this.timeLimitMs=n;this.fetch=i;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:dh.connection?.effectiveType??"unknown",endConnection:"unknown",wasHidden:T.visibilityState==="hidden",wentOffline:!dh.onLine,supportedBrowser:Ly,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,Exe),this.timeLimitMs),this._pingTimeoutHandle=setTimeout(()=>this.collectPingDiagnostics(),a3e)}handleEvent(){var t,n;(t=this._diagnostics).wasHidden||(t.wasHidden=T.visibilityState==="hidden"),(n=this._diagnostics).wentOffline||(n.wentOffline=!dh.onLine)}complete(t,n){this.unsubscribe();let i=this._start;if(i===0)return;this._start=0;let o=this._diagnostics;o.scenarioProgress=t?{progress:"Succeeded",duration:performance.now()-i}:o.scenarioProgress,o.endDateTime=new Date().toISOString(),o.succeeded=t,o.durationInMilliseconds=performance.now()-i,o.reason=t?void 0:c3e(n),o.endConnection=dh.connection?.effectiveType??"unknown",o.resources=Array.from(performance.getEntriesByType("resource")).filter(s=>s.startTime>=i).map(s=>s.toJSON()).filter(s=>s.initiatorType==="fetch"&&s.name.startsWith(location.origin)).map(s=>(s.connectEnd=Math.floor(s.connectEnd),s.connectStart=Math.floor(s.connectStart),s.domainLookupEnd=Math.floor(s.domainLookupEnd),s.domainLookupStart=Math.floor(s.domainLookupStart),s.duration=Math.floor(s.duration),s.fetchStart=Math.floor(s.fetchStart),s.redirectEnd=Math.floor(s.redirectEnd),s.redirectStart=Math.floor(s.redirectStart),s.requestStart=Math.floor(s.requestStart),s.responseEnd=Math.floor(s.responseEnd),s.responseStart=Math.floor(s.responseStart),s.secureConnectionStart=Math.floor(s.secureConnectionStart),s.startTime=Math.floor(s.startTime),s.workerStart=Math.floor(s.workerStart),s)),ve({actionType:Ce.OTHER,behavior:le.OTHER,content:o})}unsubscribe(){removeEventListener("visibilitychange",this),removeEventListener("offline",this),clearTimeout(this._timeoutHandle),clearTimeout(this._pingTimeoutHandle)}collectPingDiagnostics(){this._diagnostics.pingStartDateTime=new Date().toISOString();let t=new AbortController,n=t.signal;setTimeout(()=>t.abort(),l3e);let i=async(o,s)=>{let r=performance.now();try{await this.fetch.call(window,s,{cache:"no-store",mode:"no-cors",signal:n}),this._diagnostics.pings[o]={response:!0,duration:Math.floor(performance.now()-r)}}catch{this._diagnostics.pings[o]={response:!1,duration:Math.floor(performance.now()-r)}}};return Promise.all([i("docs",`${location.origin}/robots.txt`)])}};function c3e(e){return e===Exe?{type:"scenario-timeout"}:e instanceof Response||e instanceof Jt?{type:"dependency",url:e.url,status:e.status,statusText:e.statusText,headers:e.headers instanceof Headers?mz(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 My(e){if(S.disableSiteSearchSuggestions)return[];let t=new ko("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.replace(/^[\s`~!@^,]+/,"").replace(/[\s`~!@^,]+$/,""),e.length<2)return t.cancel(),[];let n=await Sxe(e,b.data.userLocale);return t.succeed(),n.suggestions}catch(n){return t.fail(n),[]}}async function Axe(e){let t=new ko("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.trim(),e.length<1)return t.cancel(),[];let n=await Cxe(e);t.succeed();let i=[],o=[];for(let s of n.suggestions)s.displayName.toLowerCase().startsWith(e)?i.push(s):o.push(s);return i.sort((s,r)=>s.displayName.localeCompare(r.displayName)),o.sort((s,r)=>s.displayName.localeCompare(r.displayName)),n.suggestions=i.concat(o),n.suggestions}catch(n){return t.fail(n),[]}}function Ixe(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};e6(t)}function ZM(e){let t=e.detail.map(n=>({title:n}));t6(t)}function e6({suggestion:e,term:t}){ve({behavior:le.SEARCHAUTOCOMPLETE,actionType:Ce.OTHER,content:{srchq:t,srchtype:"auto suggest",resultselected:e.title,resulttype:e.type||"",resulturl:e.url||""}})}function t6(e){let t=[{srchtype:"auto suggest"}];e.forEach((n,i)=>{t.push({cN:n.title,sN:i,type:n.type||"",url:n.url||""})}),ve({content:t})}var Pxe=!1;function Lxe(e,t,n,i,o,s,r,a){Pxe?OP():Pxe=!0,ve({behavior:le.OTHER,actionType:Ce.OTHER,content:{event:"uhf-search-results",category:i,term:e.terms,scope:e.scope||"",results:t.length,resultUrls:t,skip:e.skip,dataSource:e.dataSource||a||"",scoringProfileName:e.scoringProfile||"",experimentId:I("experiment_id"),hideCompleted:e.hideCompleted||"",count:n,scopeRemoved:o,spellingCorrection:s,semanticCaptions:r}})}function Rxe(e,t,n,i,o){let s=i===!0?1:0;ve({behavior:le.SURVEYCOMPLETE,actionType:Ce.OTHER,content:{autoIngest:!0,type:"search-answer-feedback",sat:s,searchTerm:e,question:t,answer:n,authType:o.toString()}})}function XM(e,t,n,i,o,s,r,a){!t||!n||(ve({behavior:le.OTHER,actionType:Ce.OTHER,content:{event:"search-answer-result",searchTerm:e,copilotQuestion:t,copilotAnswer:n,authType:i.toString()}}),a&&ve({content:{autoIngest:!0,type:"search-answer-request",name:"search-answer",triggeredTimestamp:o,returnedTimestamp:s,answerType:r}}))}function Mxe(e,t,n,i,o){ve({behavior:le.SURVEYCOMPLETE,actionType:Ce.OTHER,content:{autoIngest:!0,type:"deep-search-feedback",sat:t?1:0,query:e,reasons:i??"",verbatim:o??"",isEmptyResponse:0,authType:n.toString()}})}var u3e="https://www.azure.cn/searchresults/";function n6(){let e;return b.data.brand==="mooncake"?e=u3e:!R.systemContent&&R.accessLevel!=="local"?e=`https://learn.microsoft.com/${b.data.userLocale}/search/`:e=`/${b.data.userLocale}/${qt?"test/docs/search/search":"search/"}`,e}function i6(){let e=wxe(),t=d3e(),n=p3e();return{scope:e,category:t,dataSource:Zn()?"previousVersions":"",preview:n}}function d3e(){let e=CS(ee.search)?.category;if(e?.toLowerCase()!=="all")return e;let t=JM("site",X4());return t&&t!=="All"?t:""}function p3e(){return CS(ee.search).preview||""}function o6(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};e6(t)}function s6(e){let t=e.detail.map(n=>({title:n}));t6(t)}function e$(e,t,n,i){if(!e)return;let o=T.getElementById(n),s=o.placeholder,r=o.value,a=e.parentElement;if(!a)return;let l=i?`${i}-search`:void 0,c={input:{id:`${t}-autocomplete-input`,placeholder:s,size:"large",label:an,isFullWidth:!0,name:"terms",biName:l},initialValue:r,getSuggestions:My,itemTemplate:k=>d` ${k} `,showLoader:!S.disableSiteSearchSuggestions},u=Ps(c),{scope:p,category:m,dataSource:g,preview:f}=i6(),_=i?`${i}-search-form`:void 0,h=i?`${i}-search-submit`:void 0;v(d` `,a)}A();var hp="display-block font-size-sm padding-inline-xxs",t$;function n$(e,t){if(t$===void 0){let c=(I("scope")||"").split(",").map(u=>u.trim()).filter(u=>u.length);t$=c.length?c[c.length-1]:""}let n="";t$&&t&&(n=t$);let i=Zn()?"previousVersions":"",o=qt?"/test/docs/search/search":"/search/",s=JM("toc"),r=`${o}?${re({search:e,scope:n,dataSource:i,category:s==="All"?void 0:s})}`;return{title:n?PX.replace("{term}",e).replace("{searchScope}",n):IX.replace("{term}",e),url:r}}function ES(e){return e.indexOf("/search/?search")!==-1||qt&&e.indexOf("/search/search?search")!==-1}async function i$(e,t,n){Yt(e,{behavior:le.APPLY,targetUri:n,content:{event:"autocomplete",title:t,href:n}})}function $xe(e=!1){let{category:t,dataSource:n,preview:i}=i6(),o=Dt==="Search"?"":t,s=n6(),r=b.data.brand==="mooncake"?"q":"terms",a={input:{id:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input",type:"search",placeholder:Zn()?ik:an,label:an,isFullWidth:!0,name:r,biName:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input"},getSuggestions:My,itemTemplate:p=>d` ${p} `,showLoader:!S.disableSiteSearchSuggestions};e||(a.input.size="small");let l=Ps(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 Dxe(e){return e?d` ${Fxe()}
    ${Uxe(e.brandLink)}
    ${h3e(e)} ${Oxe()}
    ${qxe()} `:""}function Nxe(e){return e?d`
    ${Uxe(e.brandLink,!0)} ${Fxe(!0)} ${Oxe(!0)} ${qxe(!0)} `:""}function Fxe(e=!1){let t="site-header-microsoft-logo",n="site-header-microsoft-logo",i="";e&&(t="site-header-microsoft-logo-mobile",n="site-header-microsoft-logo-mobile",i="site-header-logo-centered");let o=d` `;return d` `}function Uxe(e,t=!1){if(!e)return"";let n=nt(e.href,b.data.userLocale),i=t?`site-header-brand-${e.biName}-mobile`:`site-header-brand-${e.biName}`;return d` `}function Oxe(e=!1){let t=$xe(e),n="flex-grow-1 margin-left-xxs";e&&(n="display-flex flex-grow-1 justify-content-flex-end");let i=e?"site-header-search-open-mobile":"site-header-search-open",o=e?"site-header-search-close-mobile":"site-header-search-close",s=e?"site-header-search-mobile":"site-header-search",r=e?"ms--site-header-search-mobile":"ms--site-header-search";return d` `}function qxe(e=!1){if(!QM)return"";let i=d` `,o=e?"site-header-user-mobile":"site-header-user",s=e?"site-header-user-mobile":"site-header-user",r=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`${i} ${u}`}function m3e(e,t){if(!e)return"";let n="";if(t){let o=t.map(s=>{let r=nt(s.href,b.data.userLocale);return d` `});n=d` `}let i=e.map((o,s)=>{let r=`ms--panel-${s+1}`;return d`
  • `});return d`
      ${i}
    `}function g3e(e,t){if(!e)return"";let n=b.data.userLocale,i="";if(e.panelLink){let r=e.panelLink,a=nt(r.href,n);i=d` ${r.title} `}let o=[],s="site-header-panel-links";return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(r=>{s="site-header-panel-cards";let a=nt(r.href,n),l=d`
  • `;o.push(l)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(r=>{let a=nt(r.href,n),l=d`
  • ${r.title}
  • `;o.push(l)}),d`
      ${o}
    ${i}
    ${t} `}function f3e(e){if(!e)return"";let t=e.map((n,i)=>{let o=nt(n.href,b.data.userLocale);return d`
  • ${n.title}
  • `});return d`
      ${t}
    `}function h3e(e){let t=e.type==="static-header"?f3e(e.navLinks):m3e(e.navCategories,e.featuredContent),n=b.data.userDir==="ltr"?"left":"right",i=b.data.userDir==="ltr"?"right":"left";return d` `}Ve();_h();A();A();function r6(e,t){let{leftTemplate:n,rightTemplate:i}=e;return d` ${n()} ${i(t)} `}function jxe(e){let t=document.createElement("div");t.classList.add("site-header","width-full");let n=new Iy;return t.paint=()=>Vxe(t,n,e),Object.defineProperty(t,"items",{enumerable:!0,get:()=>n.items,set:i=>n.items=i}),n.desktop=Ao.matches,n.mobile=!Ta.matches,Ao.addListener(()=>{n.desktop=Ao.matches}),Ta.addListener(()=>{n.mobile=!Ta.matches}),window.addEventListener("resize",()=>{Ta.matches&&b3e(t,n,e)},{passive:!0}),t.paint(),Se.then(()=>{let i=new MutationObserver(o=>{for(let s of o)for(let r=0;rt.paint()),window.addEventListener("content-update",()=>t.paint()),t}var zxe=0;function Vxe(e,t,n){if(zxe=Date.now(),t.resetItemVisibility(),v(r6(n,t),e),t.mobile)return;let i=e.querySelector(".nav-bar-spacer"),{more:o,items:s}=t,r=s.length-1;for(;r>0&&i.getBoundingClientRect().width===0;)r--,o.hidden=!1,s[r].hidden=!0,o.items[r].hidden=!1,v(r6(n,t),e)}var Hxe=0,Bxe=50;function b3e(e,t,n){clearTimeout(Hxe),Date.now()-zxe>Bxe?e.paint():Hxe=setTimeout(Vxe,Bxe,e,t,n)}async function Qxe(){if(await Py,!As)return null;let e=jxe(_3e(As));return e.items=As.items,e}function _3e(e){let{category:t,callToAction:n,preview:i}=e,o="";return n&&(o=y3e(n)),{leftTemplate:()=>v3e(t,i),rightTemplate:a=>d` ${x3e(a,ise)} ${o} ${k3e()} `}}function y3e(e){if(!e)return"";let{primary:t,secondary:n}=e,i="";return n&&(i=Gxe(n,!0)),d`
    ${i} ${Gxe(t)}
    `}function Gxe(e,t=!1){if(!e)return"";let{href:n,title:i}=e,o;return e.biName?o=t?`secondary-nav-cta-secondary-${e.biName}`:`secondary-nav-cta-primary-${e.biName}`:o=t?"secondary-nav-cta-secondary":"secondary-nav-cta-primary",d` ${i} `}function v3e(e,t){let{href:n,title:i,biName:o}=e,s=nt(n,b.data.userLocale),r=Yxe(s),a=o?`secondary-nav-link-category-${o}`:"secondary-nav-link-category";return d` `}function k3e(){return Dt!=="Learn"&&Dt!=="Training"?"":d` `}function x3e(e,t){let{items:n}=e;return d` `}function Kxe(e,t){return e.kind==="link"?T3e(e,t):S3e(e,t)}function T3e(e,t){let n=e.current?"is-active":"",i=nt(e.href,b.data.userLocale),o=Yxe(i,!!n),s=e.biName?`secondary-nav-link-${e.biName}`:"secondary-nav-link";return t?d`
  • ${e.title}
  • `:d`
  • ${e.title}
  • `}function S3e(e,t){let n=Cp(),i=t?b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light":"chevron-down-light",o=t?"":"expanded-indicator",s=e.current?"is-active":"",r=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 w3e(e,t=new URL(window.location.href)){return e.origin===t.origin&&e.pathname.toLowerCase().replace(/\//gi,"")===t.pathname.toLowerCase().replace(/\//gi,"")}function Yxe(e,t){let n=new URL(e,window.location.origin);if(w3e(n)&&t)return"page";if(t)return"true"}var $y,o$=new Promise(e=>$y=e);async function Wxe(){sxe(),gxe(),C3e()}async function C3e(){await Cy;let e=Dxe(wy),t=Nxe(wy);await Se;let n=T.querySelector("#ms--site-header");if(!n){$y();return}let i=n.querySelector("#ms--primary-nav");if(!i){$y();return}let o=n.querySelector("#ms--mobile-nav");if(!o){$y();return}v(e,i),v(t,o),rxe(),xxe();let s=n.querySelector("#ms--secondary-nav");if(!s){$y();return}if(Ay){await Py;let r=await Qxe();s.classList.contains("site-header")&&r?(s.classList.remove("site-header"),v(r,s)):s.remove()}else s.remove();$y()}var E3e=["Conceptual","ContentPage","Hub","Reference","Architecture","FAQ","HowTo"];function Dy(e){if(!e||!E3e.includes(b.data.pageTemplate))return;let t=[".content",".content section",".content [data-moniker]",".content [data-pivot]",".anchor-headings"],n=["h2","h3","h4","h5","h6"];Array.from(e.querySelectorAll(`${n.join(",")}`)).forEach(o=>{if(o.parentElement&&o.parentElement.matches(`${t.join(",")}`)){let s=o.tagName.toLowerCase(),r=document.createElement("div");r.classList.add("heading-wrapper"),r.setAttribute("data-heading-level",s);let a=Jp(o).trim(),l=o.id||On(a);o.id||(o.id=l),o.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",Yoe.replace("{title}",a)),r.appendChild(c),o.insertAdjacentElement("beforebegin",r),r.insertAdjacentElement("beforeend",o)}})}A();var A3e=["Conceptual","Episode","Module","Reference"],Jxe={Conceptual:{"ai-generated":UY,"ai-assisted":FY,"human-only":OY},Episode:{"ai-generated":qY,"ai-assisted":HY},Module:{"ai-generated":BY,"ai-assisted":jY},Reference:{"ai-generated":zY,"ai-assisted":VY}};function Zxe(){let e=Sr("ai-usage"),t=b.data.pageTemplate;!A3e.includes(t)||e.length===0||P3e(t,e)}function P3e(e,t){let n=document.getElementById("ms--inline-notifications"),i=I3e(e,t);if(!n||!i)return;let o=R3e(i);v(o,n)}function I3e(e,t){let n=new Set(t),i=[];for(let o of n)if(Jxe[e].hasOwnProperty(o)){let s=Jxe[e][o];s&&i.push(s)}return i}function L3e(e){return d`
    ${U(e)}
    `}function R3e(e){return d` ${bn(e,t=>L3e(t))} `}Object.defineProperty(HTMLElement.prototype,"inlineStyle",{set(e){this.style.cssText=e}});Object.defineProperty(HTMLInputElement.prototype,"customValidity",{set(e){this.setCustomValidity(e)}});function eTe(){let e=document.querySelector('script[src*=".index-"][src$=".js"]');return e?e.src:"unknown-script-src"}function tTe(){window.addEventListener("unhandledrejection",e=>{let t=Xxe(e.type,eTe(),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)}});ve({behavior:le.OTHER,content:t})}),window.onerror=(e,t,n,i,o)=>{let s=Xxe(e,t,n,i,o);ve({behavior:le.OTHER,content:s})}}function Xxe(e,t,n,i,o){let r=new Date().toString();return{type:"learn-client-error",event:e,source:t||eTe(),lineno:n||0,colno:i||0,message:o?.message||"Error message unavailable",stack:o?.stack||"Stack trace unavailable",name:o?.name||"Error name unavailable",timestamp:r,timeOrigin:window.performance.timeOrigin||void 0,userAgent:window.navigator.userAgent,connectionCategory:window.navigator.connection?.effectiveType||"Unknown",url:window.location.href,supportedBrowser:Ly,pageTemplate:b.data.pageTemplate}}var bp,PS,mTe,r$,u6,Fy=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},IS=function(e){if(document.readyState==="loading")return"loading";var t=Fy();if(t){if(e(t||100)-1)return n||o;if(n=n?o+">"+n:o,i.id)break;e=i.parentNode}}catch{}return n},gTe=-1,fTe=function(){return gTe},Wg=function(e){addEventListener("pageshow",function(t){t.persisted&&(gTe=t.timeStamp,e(t))},!0)},c$=function(){var e=Fy();return e&&e.activationStart||0},Jr=function(e,t){var n=Fy(),i="navigate";return fTe()>=0?i="back-forward-cache":n&&(i=document.prerendering||c$()>0?"prerender":document.wasDiscarded?"restore":n.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:i}},Uy=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var i=new PerformanceObserver(function(o){Promise.resolve().then(function(){t(o.getEntries())})});return i.observe(Object.assign({type:e,buffered:!0},n||{})),i}}catch{}},Zr=function(e,t,n,i){var o,s;return function(r){t.value>=0&&(r||i)&&((s=t.value-(o||0))||o===void 0)&&(o=t.value,t.delta=s,t.rating=function(a,l){return a>l[1]?"poor":a>l[0]?"needs-improvement":"good"}(t.value,n),e(t))}},d6=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},u$=function(e){var t=function(n){n.type!=="pagehide"&&document.visibilityState!=="hidden"||e(n)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},p6=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},Ny=-1,nTe=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},a$=function(e){document.visibilityState==="hidden"&&Ny>-1&&(Ny=e.type==="visibilitychange"?e.timeStamp:0,$3e())},iTe=function(){addEventListener("visibilitychange",a$,!0),addEventListener("prerenderingchange",a$,!0)},$3e=function(){removeEventListener("visibilitychange",a$,!0),removeEventListener("prerenderingchange",a$,!0)},m6=function(){return Ny<0&&(Ny=nTe(),iTe(),Wg(function(){setTimeout(function(){Ny=nTe(),iTe()},0)})),{get firstHiddenTime(){return Ny}}},LS=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},oTe=[1800,3e3],hTe=function(e,t){t=t||{},LS(function(){var n,i=m6(),o=Jr("FCP"),s=Uy("paint",function(r){r.forEach(function(a){a.name==="first-contentful-paint"&&(s.disconnect(),a.startTimes.value&&(s.value=r,s.entries=a,o())},c=Uy("layout-shift",l);c&&(o=Zr(n,s,sTe,i.reportAllChanges),u$(function(){l(c.takeRecords()),o(!0)}),Wg(function(){r=0,s=Jr("CLS",0),o=Zr(n,s,sTe,i.reportAllChanges),d6(function(){return o()})}),setTimeout(o,0))}))})(function(n){(function(i){if(i.entries.length){var o=i.entries.reduce(function(a,l){return a&&a.value>l.value?a:l});if(o&&o.sources&&o.sources.length){var s=(r=o.sources).find(function(a){return a.node&&a.node.nodeType===1})||r[0];if(s)return void(i.attribution={largestShiftTarget:l$(s.node),largestShiftTime:o.startTime,largestShiftValue:o.value,largestShiftSource:s,largestShiftEntry:o,loadState:IS(o.startTime)})}}var r;i.attribution={}})(n),e(n)},t)},_Te=function(e,t){hTe(function(n){(function(i){if(i.entries.length){var o=Fy(),s=i.entries[i.entries.length-1];if(o){var r=o.activationStart||0,a=Math.max(0,o.responseStart-r);return void(i.attribution={timeToFirstByte:a,firstByteToFCP:i.value-a,loadState:IS(i.entries[0].startTime),navigationEntry:o,fcpEntry:s})}}i.attribution={timeToFirstByte:0,firstByteToFCP:i.value,loadState:IS(fTe())}})(n),e(n)},t)},AS={passive:!0,capture:!0},D3e=new Date,rTe=function(e,t){bp||(bp=t,PS=e,mTe=new Date,vTe(removeEventListener),yTe())},yTe=function(){if(PS>=0&&PS1e12?new Date:performance.now())-e.timeStamp;e.type=="pointerdown"?function(n,i){var o=function(){rTe(n,i),r()},s=function(){r()},r=function(){removeEventListener("pointerup",o,AS),removeEventListener("pointercancel",s,AS)};addEventListener("pointerup",o,AS),addEventListener("pointercancel",s,AS)}(t,e):rTe(t,e)}},vTe=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,N3e,AS)})},aTe=[100,300],F3e=function(e,t){t=t||{},LS(function(){var n,i=m6(),o=Jr("FID"),s=function(l){l.startTimet.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var i={id:e.interactionId,latency:e.duration,entries:[e]};l6[i.id]=i,Jl.push(i)}Jl.sort(function(o,s){return s.latency-o.latency}),Jl.splice(10).forEach(function(o){delete l6[o.id]})}},q3e=function(e,t){t=t||{},LS(function(){O3e();var n,i=Jr("INP"),o=function(r){r.forEach(function(c){c.interactionId&&uTe(c),c.entryType==="first-input"&&!Jl.some(function(u){return u.entries.some(function(p){return c.duration===p.duration&&c.startTime===p.startTime})})&&uTe(c)});var a,l=(a=Math.min(Jl.length-1,Math.floor(cTe()/50)),Jl[a]);l&&l.latency!==i.value&&(i.value=l.latency,i.entries=l.entries,n())},s=Uy("event",o,{durationThreshold:t.durationThreshold||40});n=Zr(e,i,lTe,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),u$(function(){o(s.takeRecords()),i.value<0&&cTe()>0&&(i.value=0,i.entries=[]),n(!0)}),Wg(function(){Jl=[],STe=TTe(),i=Jr("INP"),n=Zr(e,i,lTe,t.reportAllChanges)}))})},wTe=function(e,t){q3e(function(n){(function(i){if(i.entries.length){var o=i.entries.sort(function(s,r){return r.duration-s.duration||r.processingEnd-r.processingStart-(s.processingEnd-s.processingStart)})[0];i.attribution={eventTarget:l$(o.target),eventType:o.name,eventTime:o.startTime,eventEntry:o,loadState:IS(o.startTime)}}else i.attribution={}})(n),e(n)},t)},dTe=[2500,4e3],c6={},CTe=function(e,t){(function(n,i){i=i||{},LS(function(){var o,s=m6(),r=Jr("LCP"),a=function(u){var p=u[u.length-1];p&&p.startTimeperformance.now())return;n.value=Math.max(s-c$(),0),n.entries=[o],i(!0),Wg(function(){n=Jr("TTFB",0),(i=Zr(e,n,pTe,t.reportAllChanges))(!0)})}})},ETe=function(e,t){B3e(function(n){(function(i){if(i.entries.length){var o=i.entries[0],s=o.activationStart||0,r=Math.max(o.domainLookupStart-s,0),a=Math.max(o.connectStart-s,0),l=Math.max(o.requestStart-s,0);i.attribution={waitingTime:r,dnsTime:a-r,connectionTime:l-a,requestTime:i.value-l,navigationEntry:o}}else i.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}})(n),e(n)},t)};var RS=I("learn-experiments")==="true"&&R.siteName!=="developer"&&R.siteName!=="mooncake",f6=RS?5*1e3:0,j3e="assignmentserviceapi.production.portalrp.azure.com",z3e=`https://${j3e}/api/mslearn/variants?api-version=1.0`;function V3e(){return z3e}var PTe=jde("MC1",f6),ITe={},p$,d$,ATe,g6=!1,LTe=DTe(),RTe=NTe(),MTe,h6=new Promise(e=>{MTe=e});async function Oy(e){return!RS||!await Pm?!1:(await h6,e in ITe)}async function $Te(){if(!RS||!await Pm)return;let t=await PTe,n=t?qTe(t):null;if(!n){ve({content:{type:"experiment-no-assignment",name:"experiment-platform-no-mc1-cookie",autoIngest:!0,timestamp:new Date().toISOString()}});return}await _e;let i={mc1:n,audience:{environment:R.supportLevel==="production"?"prod":"preprod",isAuthenticated:!1,locale:w.locale,referer:document.referrer}};w.isAuthenticated&&(i.userId=w.userId,i.audience.isAuthenticated=!0);let o=JSON.stringify(i),s=J(V3e(),{method:"POST",body:o},!1,!0),r=await M(s,{},f6);if(!r.ok)throw ve({content:{type:"experiment-platform-assignment",name:"assignment-error",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:o,error:`Experiment API failed with status ${r.status}`}}}),new Error(`Experiment API failed: ${r.status}`);let a=await r.json(),l=Object.keys(a.variants),c=new Date().toISOString();return ve({content:{type:"experiment-platform-assignment",name:"assignment-success",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:o,data:a,dataVersion:a.dataVersion}}}),{assignments:l,rawResponse:a,assignmentTimestamp:c}}function DTe(){return $Te().then(e=>(p$!==void 0&&(clearTimeout(p$),p$=void 0),e!==void 0&&(H.learnExperiments={loaded:!0,assignments:e.assignments,loadTime:performance.now()}),e))}function NTe(){return new Promise(e=>{p$=setTimeout(()=>{e(void 0)},f6)})}async function m$(){await FTe();let e=Pm;if(RS){if(!await e){ve({content:{type:"experiment-no-assignment",name:"experiment-platform-no-consent",autoIngest:!0,timestamp:new Date().toISOString()}});return}H.learnExperiments={...H.learnExperiments||{assignments:[]},loaded:!1};try{let t=await Promise.race([LTe,RTe]);t===void 0&&ve({content:{type:"experiment-platform-timeout"}}),t!=null&&typeof t=="object"&&"assignments"in t&&"rawResponse"in t&&"assignmentTimestamp"in t&&(ITe=t.assignments.reduce((n,i)=>(n[i]=!0,n),{}),d$=t.rawResponse,ATe=t.assignmentTimestamp),MTe?.(),d$&&await OTe("client-side",d$.assignmentContext,d$.dataVersion,ATe)}catch(t){ve({content:{type:"experiment-platform-error",content:{error:JSON.stringify(t)}}});return}}}async function FTe(){if(g6)return;let e=document.getElementById("learn-experiments-context");if(!e||e.tagName!=="SCRIPT")return;let t=e.textContent?.trim();if(!t)return;let n;try{n=JSON.parse(t),g6=!0}catch(i){ve({content:{type:"experiment-platform-error",content:{error:`learn-experiments-script-parse:${i.message}`}}});return}try{await OTe("server-side",n.assignmentContext,n.dataVersion,n.assignmentTimestamp)}catch(i){throw g6=!1,i}}lt.subscribe(_n,async()=>await UTe());lt.subscribe(Sn,async()=>await UTe());async function UTe(){!RS||!await Pm||(LTe=DTe(),RTe=NTe(),m$())}async function OTe(e,t,n,i){if(!t)return;let o=await PTe,s={actionType:"A",behavior:12,pageTags:{exp_context:t,exp_platform:"learn-experiments",exp_data_version:n?.toString()??"",exp_assignment_ts:i??"",exp_mc1:qTe(o??"")??"",exp_uri:H.location.href,exp_document_id:I("document_id")??"",exp_page_type:b?.data?.pageTemplate??"",exp_locale:I("locale")??document.documentElement.lang??"",exp_docs_ui_ver:G3e()}};gpe(s),ve({content:{type:"experiment-platform-telemetry",name:e+"-experiment",autoIngest:!0,timestamp:new Date().toISOString(),content:s}})}Hl&&(H.__learnExperimentsTestHooks={emitServerExperimentContext:FTe,loadExperimentAssignments:$Te,instrumentExperiments:m$});function qTe(e){let t=e.match(/GUID=([^&;]+)/);return t?t[1]:null}function G3e(){return document.querySelector('script[src*="index-"]')?.src??""}function HTe(e){ve({content:{type:"experiment-exposure",content:{variantName:e}}})}var Q3e=S.reportWebVitalsAlways?1:.1,g$=new Set;function Jg(e){g$.add(e)}function BTe(){if(g$.size>0){let e=Array.from(g$);Y3e(e),g$.clear()}}function K3e(e){let t={};for(let n of e){let{name:i,value:o}=n;t[i]=o}return t}function Y3e(e){let t=K3e(e);ve({content:{type:"web-vitals",version:"1",metrics:t}})}function jTe(){let e=S.reportWebVitalsAlways||Math.random()<=Q3e;!Ly||!e||(bTe(Jg),_Te(Jg),wTe(Jg),CTe(Jg),ETe(Jg),kTe(Jg),W3e(Jg),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&BTe()}),document.addEventListener("pagehide",BTe))}async function W3e(e){if(window.learnExperiments===void 0||(await h6,window.learnExperiments.loadTime===void 0))return;let t=window.learnExperiments.loadTime,n=t<2500?"good":t>4e3?"bad":"needs-improvement";e({value:t,id:crypto.randomUUID(),name:"learnExperimentsLoaded",rating:n,delta:0,entries:[],navigationType:"navigate"})}function zTe(){J3e(),Z3e(),X3e(),e4e(),t4e(),n4e(),i4e(),o4e(),r4e(),a4e(),jTe()}async function J3e(){let e=()=>ppe(w.authenticationMode,w.isAuthenticated);w.subscribe(Sn,e),e(),await w.whenAuthenticated(),ve({content:{event:"user-is-signed-in"}})}function Z3e(){function e(t){!t.isTrusted||!(t.target instanceof HTMLSelectElement)||!t.target.hasAttribute(An.name)||Yt(t.target,{actionType:Ce.OTHER,behavior:le.OTHER,content:{event:"select-value-changed",name:Uc(t.target),value:t.target.value}})}T.addEventListener("change",e,{passive:!0})}function X3e(){let e="";function t(o){!o.isTrusted||e===o.type||(e=o.type,ve({actionType:Ce.OTHER,behavior:le.OTHER,content:{event:"page-focus-changed",value:o.type}}))}let n=0;function i(o){clearTimeout(n),n=setTimeout(()=>t(o),50)}H.addEventListener("focus",i,{passive:!0}),H.addEventListener("blur",i,{passive:!0})}function e4e(){function e(){ve({actionType:Ce.OTHER,behavior:le.OTHER,content:{event:"page-visibility-changed",value:T.hidden?"hidden":"visible"}})}function t(){T.addEventListener("visibilitychange",e,{passive:!0})}T.readyState==="interactive"||T.readyState==="complete"?t():T.addEventListener("DOMContentLoaded",t)}function t4e(){zde&&Gde.addListener(e=>{e.matches&&ve({actionType:Ce.OTHER,behavior:le.PRINT,content:{event:"print"}})})}function n4e(){function e(n){if(!n.isTrusted||!(n.target instanceof HTMLElement))return;let{width:i,height:o}=n.target.getBoundingClientRect(),{scrollLeft:s,scrollTop:r,scrollWidth:a,scrollHeight:l}=n.target;Yt(n.target,{actionType:Ce.OTHER,behavior:le.OTHER,content:{event:"secondary-content-scroll",name:Uc(n.target),viewPortWidth:Math.floor(i),viewPortHeight:Math.floor(o),contentWidth:Math.floor(a),contentHeight:Math.floor(l),horizontalOffset:Math.floor(s),verticalOffset:Math.floor(r)}})}function t(n){if(n.target===T)return;let i=n.target;clearTimeout(i.reportScrollTimeout),i.reportScrollTimeout=setTimeout(()=>e(n),100)}H.addEventListener("scroll",t,{passive:!0,capture:!0})}function i4e(){let e=!1;function t(){ve({actionType:Ce.OTHER,behavior:le.OTHER,content:{event:"unload",anchor:e}})}function n(o){o.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}function i(o){o.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}H.addEventListener("keydown",i,{capture:!0,passive:!0}),H.addEventListener("click",n,{capture:!0,passive:!0}),H.addEventListener("beforeunload",t,{passive:!0})}function o4e(){function e(t){let n=t.target;if(n.id!=="ms--site-header-search-form"&&n.id!=="ms--site-header-search-form-mobile"&&n.id!=="welcome-page-search-form"&&n.id!=="directory-page-search-form"&&n.id!=="facet-search-form")return;s4e(n.id);let o=Array.from(n.querySelectorAll('input[name="terms"], input[name="facet-search-input"]'))[0].value,s=T.activeElement&&T.activeElement instanceof HTMLButtonElement&&T.activeElement.type==="submit"&&!!n.querySelector(`#${T.activeElement.id}`);Yt(n,{actionType:Ce.OTHER,behavior:le.SEARCH,content:{event:"uhf-search",value:o,submitButton:s}})}H.addEventListener("submit",e,{passive:!0,capture:!0})}function s4e(e){let n={"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];n&&ve({behavior:le.SEARCH,actionType:Ce.OTHER,content:{autoIngest:!0,type:"site-search-submit",name:n}})}function r4e(){function e(t){t.isTrusted&&t.keyCode===70&&t.ctrlKey&&!t.shiftKey&&!t.altKey&&!t.metaKey&&ve({actionType:Ce.OTHER,behavior:le.OTHER,content:{event:"ctrl-f"}})}H.addEventListener("keydown",e,{passive:!0})}function a4e(){function e(t){let n={referrerUri:t.referrerUrl.href,requestUri:t.url.href,title:t.title,pageName:I("document_id")||"missing document_id",pageType:I("page_type"),pageTags:{}};FP(n.pageTags),mpe(n),OP()}lt.subscribe(_n,e)}A();var VTe="azure-auth-complete";function l4e(){let e=oe(location.search);return e[VTe]==="true"?(e[VTe]=null,jt(e,"replaceState"),!0):!1}l4e()&&NT.tryLoadTokens().then(e=>{e&&g4e()});var c4e=d`

    ${ze(tse)}

    ${Dfe}`;async function f$(e){let t=d`
    ${c4e}
    `;v(t,e);let n=e.firstElementChild.firstElementChild,i=s=>new Promise(r=>{let a=l=>{e.innerHTML="",Mn.value=l,r(l)};s===null?(Mn.value=null,h$(n)):s.length===0?d4e(n):u4e(n,a,s)});Ui.trackEvent({name:"oauth-login-try-load-tokens"});let o=await NT.tryLoadTokens({noInteraction:!1});return i(o)}var b6={light:"light",dark:"dark","high-contrast":"high-contrast"};function GTe(e){let t=document.getElementById("mult-account");t&&(t.src=`/en-us/media/illustrations/multiple-accounts-${b6[e]}.svg?branch=live`);let n=document.getElementById("log-in-media");n&&(n.src=`/en-us/media/illustrations/lock-and-key-${b6[e]}.svg?branch=live`);let i=document.getElementById("profile-icon"),o=w.authenticationMode==="AAD"?"org":"personal";i&&(i.src=`/en-us/media/profile/${o}-account${b6[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`)}function h$(e){m4e(),lt.subscribe(yl,r=>GTe(r.currentTheme));let n=`/en-us/media/illustrations/lock-and-key-${ld()}.svg?branch=live`,o=d` `;v(o,e);let s=document.getElementById("try-it-sign-in");s&&s.addEventListener("click",()=>{let r=oe();r.tryIt="true",jt(r,"replaceState"),tr(null,!1,!0)})}function u4e(e,t,n){lt.subscribe(yl,c=>GTe(c.currentTheme));let i=ld(),o=`/en-us/media/illustrations/multiple-accounts-${i}.svg?branch=live`,r=`/en-us/media/profile/${w.authenticationMode==="AAD"?"org":"personal"}-account${i==="light"?"":"-dark-highcontrast"}.svg?branch=live`,l=d`
    ${bae}

    ${hae}


    ${w.upn}

    ${M0}


    `;v(l,e)}function d4e(e){let t="/en-us/media/illustrations/azure-subscription-alert.svg?branch=live",n=I("platform_id"),i=n?`msft_learn_${encodeURIComponent(n)}`:"msft_learn",o=d`
    ${kae}

    ${xae.replace("{email}",w.upn)}

    `;v(o,e)}function p4e(e,t,n){if(n.length===1)t(n[0]);else{let i=()=>{},s=d`
    ${yae}

    ${fae.replace("{email}",w.upn)}

      `;v(s,e);let r=e.firstElementChild.firstElementChild.querySelector("#token-list-container").querySelector("ul.azure-auth-tokens");for(let l of n){let c=`
      `;r.insertAdjacentHTML("beforeend",`
    • ${c}
    • `)}r.lastElementChild.querySelector("hr").hidden=!0;let a=r.querySelectorAll('input[name="tenant-name"]');a[0].checked=!0,i=()=>{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||o!==b$||t!=="portalConsole"||n!=="getToken"||(this.messageReceived||(Ui.trackEvent({name:"cloud-shell-message-received"}),this.messageReceived=!0),clearTimeout(this.messageHandlerTimeout),this.replyToken(i))};this.instrumentMessageHandler=()=>{!this.consoleFrame||!this.consoleFrame.contentWindow||(Ui.trackEvent({name:"cloud-shell-not-responsive"}),this.showTroubleshootingMessage())};this.showTroubleshootingMessage=()=>{this.element.innerHTML=`

      ${oK}

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

      Azure Cloud Shell

      `;let i=this.element.querySelector('button[data-bi-name="restart"]');i.onclick=()=>this.restart(),this.consoleFrame=this.element.querySelector("iframe"),this.messageHandlerTimeout=setTimeout(this.instrumentMessageHandler,f4e)})}setCode(){return Promise.resolve()}execute(){return Promise.resolve()}restart(){this.consoleFrame.hidden||this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"restart"},b$)}dispose(){H.removeEventListener("message",this.messageHandler)}replyToken(t){let n;switch(t){case"":n=Mn.value.access_token;break;case"microsoft.graph":n=Mn.value.msgraph_access_token,ve({content:{event:"cloud-shell-audience",value:"microsoft.graph"}});break;case"keyvault":n=Mn.value.key_vault_access_token,ve({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 ${n}`},b$)}whenPageVisible(){return T.visibilityState==="visible"?Promise.resolve():new Promise(t=>T.addEventListener("visibilitychange",()=>{T.visibilityState==="visible"&&t()}))}},QTe={name:YX,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};Pg({name:"bash",activateButtonConfig:QTe,create:()=>new _$(!1)});Pg({name:"powershell",activateButtonConfig:QTe,create:()=>new _$(!0)});function h4e(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(i=>e.indexOf(i)===0)||"en"}var MS=class{constructor(t,n,i=window){this.targetOrigin=n;this.subscriptions=[];this.messageHandler=({data:t,origin:n})=>{if(n!==this.targetOrigin)return;let i=this.subscriptions.filter(o=>o.predicate(t));for(let o of i)o.callback(t)};if(t)t instanceof HTMLIFrameElement?t.contentWindow?this.targetWindowLoaded=Promise.resolve({value:t.contentWindow}):this.targetWindowLoaded=new Promise(o=>{t.onload=()=>o({value:t.contentWindow})}):this.targetWindowLoaded=Promise.resolve({value:t});else throw new Error("target is required");i.addEventListener("message",this.messageHandler)}async publish(t){(await this.targetWindowLoaded).value.postMessage(t,this.targetOrigin)}subscribe(t,n=()=>!0){let i={predicate:n,callback:t};return this.subscriptions.push(i),()=>this.unsubscribe(i)}subscribeOnce(t=()=>!0,n){return new Promise((i,o)=>{let s={},r=n===void 0?0:setTimeout(l,n,s),a=this.subscribe(l,t);function l(c){clearTimeout(r),a(),c===s?o("timeout"):i(c)}})}unsubscribe(t){let n=this.subscriptions.indexOf(t);n!==-1&&this.subscriptions.splice(n,1)}};Ig();var y$=R.supportLevel==="production"&&R.reviewFeatures?"https://tryit.graphexplorerppe.microsoft.com":"https://tryit.graphexplorer.microsoft.com";function b4e(e){let t=_4e(e);if(!t)return[];let n=y4e(t);return v4e(n)}function _4e(e){return e.querySelector('h2[id="permissions"] ~ * table, h2[id="permissions"] ~ table')}function y4e(e){let t=e.cloneNode(!0),n=Array.from(t.childNodes);return Array.from(n[0].parentNode.querySelectorAll("[data-ttu-id]")).map(i=>{i.remove()}),t}function v4e(e){return Array.from(e.querySelectorAll("tr")).map(n=>Array.from(n.querySelectorAll("th,td")).map(i=>i.textContent.trim()))}var k4e={name:lh,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};Pg({name:"msgraph",activateButtonConfig:k4e,create:()=>{let e=new URL(y$),t=location.origin,n=document.getElementById("main"),i=b4e(n),o={type:"init",locale:b.data.userLocale,theme:ad,code:"",permissions:i};e.searchParams.set("locale",o.locale),e.searchParams.set("host-origin",t),e.searchParams.set("theme",o.theme);let s=document.createElement("iframe");s.classList.add("msgraph","is-full-height"),s.title=bX,s.src=e.toString();let r=new MS(s,y$),a,l=c=>{c.origin!==y$&&c.data.type!=="ready"||(s.contentWindow.postMessage(o,y$),a||(a=lt.subscribe(yl,u=>{r.publish({type:"theme-changed",theme:u.currentTheme})})),window.removeEventListener("message",l))};return{element:s,setCode:c=>(o.code=c,o.theme=ad,Promise.resolve()),execute:()=>window.addEventListener("message",l),dispose:()=>{a()}}}});Ve();async function KTe(e,t,n){Yt(e,{behavior:le.STARTPROCESS,contentTags:{scn:"Rest Try It",scnstp:"Request",scnnxtstp:"Response",isSuccess:!0},content:{event:"rest-tryit-run",authenticationMethod:t,fields:n}})}async function YTe(e,t){ve({behavior:le.COMPLETEPROCESS,actionType:Ce.OTHER,contentTags:{scn:"Rest Try It",scnstp:"Response",isSuccess:!0},content:{event:"rest-tryit-fetch-complete",status:t.status,method:e.method}})}function v$(e,t,n){n=n||{},n.mode="cors",n.cache="reload",n.method=e.httpVerb,e.body&&(n.body=e.body);let i=e.url,o=t.transform(new Request(i,n),e);return e.headers!==null&&e.headers.forEach(s=>{s.value!==""&&o.headers.set(s.name,s.value)}),o}function WTe(e){return fetch(e).then(t=>(YTe(e,t),t))}function JTe(e){let t={};t.statusCode=e.status.toString();let n=e.headers;return t.header="",n.forEach((i,o)=>{t.header+=`${o}: ${i} `}),/application\https://www.microsoft.com/json/i.test(e.headers.get("Content-Type")||"")&&t.statusCode!=="204"&&t.statusCode!=="404"?e.json().then(i=>(t.body=JSON.stringify(i,null,2),t)):e.text().then(i=>(t.body=i,t))}function ZTe(e,t,n=window){let i=n instanceof Window?window.pageYOffset:n.scrollTop,o=e-i,s;function r(a){s||(s=a);let l=a-s,c=Math.min(l/t,1);n instanceof Window?n.scrollTo(0,i+o*c):n.scrollTop=i+o*c,l
      ${n}
      ${a}
      ${i}
      `}function By(e,t){let n=e.querySelector(t);if(n&&dz(),n?.textContent){let i=n.getAttribute("data-language")||"";yR([{code:n.textContent,language:i,highlightLines:""}]).then(o=>{o[0]&&(n.innerHTML=o[0].html)})}}A();function eSe(e,t,n,i){let o=XTe(n,i),s=d`

      ${mte}

      ${k$({language:"http",code:o,attributes:{name:"http-request","aria-live":"polite","aria-atomic":"true",tabindex:"0"}})} `,r=document.createElement("div");v(s,r),e.appendChild(r),By(r,'pre[name="http-request"]');let a=r.querySelector('pre[name="http-request"]'),l=()=>{let c={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new rr(c));let u=XTe(c,i);a.textContent=u,By(r,'pre[name="http-request"]')};t.subscribe(Is,l)}function XTe(e,t){let n=v$(e,t),i=`${n.method} ${n.url} `;return n.headers.forEach((o,s)=>{i+=`${s[0].toUpperCase()}${s.substring(1)}: ${o} `}),i}var x4e="https://management.azure.com/subscriptions?api-version=2016-06-01",T4e=e=>{e.publish(new DS);let t=new Request(x4e,{mode:"cors"});if(Mn.value===null)throw e.publish(new Xg([])),new Error("error fetching subscription: authorization header no token");return t.headers.append("Authorization",`Bearer ${Mn.value.access_token}`),fetch(t).then(n=>n.ok?n.json().then(({value:i})=>(e.publish(new Xg(i)),!0)):(n.text().then(i=>{throw new Error(`error fetching subscriptions: ${i}`)}),e.publish(new Xg([])),!1),()=>!1)};function _6(e,t,n,i=!0,o={}){let s=document.createElement("div");s.classList.add("columns","field");let r=document.createElement("div");r.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 "+n.name),l.textContent=n.name,a.appendChild(l),r.appendChild(a),s.appendChild(r);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");n.type==="boolean"&&(g.push("True"),g.push("False"));let h=document.createElement("div");h.classList.add("subscription-id"),h.textContent="";let k=P=>{let C=P.restTryItRequest,j=n.type==="boolean"||n.type==="azure-subscriptions"||n.type==="enum"?_.value:m.value;i?C.headers.push({name:n.name,value:j,type:n.type,in:n.in,isRequired:n.isRequired,skipUrlEncoding:!1}):C.params.push({name:n.name,value:j,type:n.type,in:n.in,isRequired:n.isRequired,skipUrlEncoding:n.skipUrlEncoding})};switch(n.type){case"boolean":case"azure-subscriptions":case"enum":if(g.length>=1){let P=document.createElement("option");P.value="",P.selected=!0,P.disabled=!0,P.hidden=!0,P.text="Select",_.appendChild(P)}g.forEach(P=>{let C=document.createElement("option");C.value=P,C.text=P,_.appendChild(C)}),n.isRequired&&_.setAttribute("required","true"),_.setAttribute("aria-label","select parameter value option for "+n.name),_.onchange=()=>{t.publish(new Is),_.textContent!==_.value&&(h.textContent=_.value)},n.name==="subscriptionId"&&(_.disabled=!0,_.innerHTML=''),f.appendChild(_),c.appendChild(f);break;case"array":break;case"object":break;default:m.setAttribute("value",n.value),n.isRequired&&m.setAttribute("required","true"),m.setAttribute("aria-label","enter parameter value for "+n.name),m.onblur=()=>{t.publish(new Is)},p.appendChild(m),u.appendChild(p),c.appendChild(u);break}n.isRequired&&l.insertAdjacentHTML("beforeend",''),s.appendChild(c);let y=document.createElement("div");y.classList.add("column"),y.classList.add("is-2"),y.classList.add("delete-button");let x=document.createElement("button");return x.classList.add("button"),x.classList.add("docon"),x.classList.add("docon-navigate-close"),n.isRequired&&(x.style.visibility="hidden"),x.setAttribute("aria-label",XY),x.setAttribute("type","button"),y.appendChild(x),s.appendChild(y),x.onclick=P=>{s.parentElement.removeChild(s),t.unsubscribe(rr,k),t.publish(new Is),P.preventDefault()},e.appendChild(s),t.subscribe(rr,k),i||n.name==="subscriptionId"&&(t.subscribe(DS,()=>{_.innerHTML='',_.disabled=!1}),t.subscribe(Xg,P=>{let C=P.subscriptions;C.length===0?(_.innerHTML='',_.value=null):(_.innerHTML=C.map(({displayName:j,subscriptionId:O})=>``).join(` `),_.value=C[0].subscriptionId,_.hidden=!1,_.disabled=!1),h.textContent=C[0].subscriptionId,t.publish(new Is)})),n.type==="string"&&n.in==="query"&&o[n.name]!==void 0&&o[n.name].indexOf(n.name)===-1&&(m.value=o[n.name],t.publish(new Is)),n.name==="subscriptionId"&&T4e(t),{nameInput:l,valueInput:m,delButton:x,columnContainer:s}}function y6(e,t,n=!0){let i=document.createElement("div");i.classList.add("columns");let o=document.createElement("div");o.classList.add("column","is-5","param-name");let s=document.createElement("div");s.classList.add("field-body");let r=document.createElement("p");r.classList.add("control");let a=document.createElement("input");a.classList.add("input"),a.setAttribute("placeholder","name"),a.setAttribute("aria-label","add new parameter name"),r.appendChild(a),s.appendChild(r),o.appendChild(s);let l=document.createElement("div");l.classList.add("error-message"),l.setAttribute("role","alert"),o.appendChild(l),i.appendChild(o),a.onblur=()=>{a.value!==""&&l.textContent!==""&&o.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),i.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",T8),g.appendChild(f),i.appendChild(g),e.appendChild(i);let _=h=>{let k=a.value,y=m.value;if(k===""){l.textContent=CW,o.appendChild(l),h.preventDefault();return}let x;n?x="header":document.querySelector(".url-input").value.indexOf("{"+k+"}")!==-1?x="path":x="query",i.parentElement.removeChild(i),t.publish(new qy({name:k,value:y,type:"string",in:x,isRequired:!1,skipUrlEncoding:!1}))};return f.onclick=h=>{_(h)},{nameInput:a,valueInput:m,addButton:f,columnContainer:i}}function v6(e,t,n,i=!0,o={}){let s=document.createElement("div"),r=document.createElement("div");r.classList.add("columns");let a=document.createElement("div");a.classList.add("column","is-5","param-heading");let l=document.createElement("h3");i?l.textContent=YC:l.textContent=dee,a.appendChild(l),r.appendChild(a),s.appendChild(r);let c=document.createElement("div");c.classList.add("param-form-group");for(let p of n)_6(c,t,p,i,o);y6(c,t,i),s.appendChild(c),e.appendChild(s);let u=p=>{(p.param.in==="header"&&i||p.param.in!=="header"&&!i)&&(_6(c,t,p.param,i),y6(c,t,i),t.publish(new Is))};return t.subscribe(qy,u),c}var k6="";function nSe(e,t,n,i){let{url:o,urlParams:s}=S4e(n.url);k6=o;let r=document.createElement("div");r.classList.add("request-section"),w4e(r,t,o,n.httpVerb),v6(r,t,n.params,!1,s),v6(r,t,n.headers,!0),n.body!==null&&E4e(r,t,n.body),eSe(r,t,n,i);let a=document.createElement("div");a.classList.add("request-section"),r.appendChild(a);let l=A4e(a,t);return e.appendChild(r),l}function S4e(e){let t=e,n={},i=e.indexOf("?");if(i!==-1){let o=e.substr(i);t=e.substr(0,i),n=oe(o)}return{url:t,urlParams:n}}function w4e(e,t,n,i){let o=document.createElement("div");o.classList.add("field");let s=document.createElement("h3");s.classList.add("field-label","margin-bottom-none"),s.textContent=f2,o.appendChild(s);let r=document.createElement("div");r.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=i,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",f2),c.setAttribute("value",n),r.appendChild(a),r.appendChild(c),o.appendChild(r),e.appendChild(o),t.subscribe(rr,p=>{let m=p.restTryItRequest;m.url=n,m.httpVerb=l.textContent});let u=()=>{let p={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new rr(p)),n=k6;let m=k6;p.params.forEach(g=>{n=tSe(n,g),m=tSe(m,g)}),c.value=m};return t.subscribe(Is,u),{inputUrl:c}}function tSe(e,t){return t.in==="path"&&t.value!==""?e=e.replace("{"+t.name+"}",C4e(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 C4e(e){return e.skipUrlEncoding?e.value:encodeURIComponent(e.value)}function E4e(e,t,n){let i=document.createElement("div"),o=document.createElement("h3");o.textContent=Lf,i.appendChild(o);let s=document.createElement("textarea");return s.setAttribute("name",Lf),s.textContent=n,s.classList.add("textarea","request-body","tall","small"),s.setAttribute("aria-label",Lf),i.appendChild(s),e.appendChild(i),t.subscribe(rr,r=>{let a=r.restTryItRequest;a.body=s.value}),{bodyText:s}}function A4e(e,t){let n=d` `;v(n,e);let i=e.querySelector('button[type="submit"]');return t.subscribe(Zg,()=>{i.classList.remove("is-loading")}),i}A();var iSe;function sSe(e,t){iSe=e,t.subscribe(Hy,n=>{P4e(iSe,n.response)})}function P4e(e,t){let n=e.querySelector(".response-section");n&&n.remove();let i=d` ${I4e(t.statusCode)} ${oSe(YC,t.header,"http","response-header")} ${t.body!==null?oSe(Lf,t.body,"json","response-body"):""} `,o=document.createElement("div");o.classList.add("response-section"),v(i,o),e.appendChild(o),By(o,".response-header"),t.body!==null&&By(o,".response-body")}function I4e(e){return d`

      ${fte}: ${e}

      `}function oSe(e,t,n,i){return d`

      ${e}

      ${k$({language:n,code:t,cssClasses:i})}
      `}var rSe={prompt:Yo,type:"oauth2",login:async e=>{await f$(e)},transform:e=>(Mn.value!==null&&e.headers.set("Authorization",`Bearer ${Mn.value.access_token}`),e)},L4e={prompt:R8,type:"APIKey",login:async()=>{},transform:e=>e};function aSe(e){return{oauth2:rSe,apiKey:L4e}[e]||rSe}var cSe=null,x$,_p;function uSe(){return _p=T.createElement("div"),_p.style.height="100%",_p.setAttribute("aria-live","polite"),_p.setAttribute("aria-atomic","true"),_p.tabIndex=-1,cSe=$4e(b.data.restAPIData),x$=aSe("oauth2"),R4e(_p),_p}async function R4e(e){e.contains(T.activeElement)&&e.focus(),await x$.login(e),M4e(e)}function M4e(e){let t=T.createElement("form");t.classList.add("rest-tryit-form");let n=T.createElement("div");n.classList.add("signin-section"),N4e(n),t.appendChild(n),e.insertAdjacentElement("afterbegin",t);let i=new je;F4e(t,i,cSe),sSe(t,i),setTimeout(()=>{_p.setAttribute("aria-live","off")},0)}function $4e(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(n=>{n.in==="header"&&t.headers.push({name:n.name,value:"",type:n.type,in:n.in,isRequired:n.isRequired,skipUrlEncoding:!1})}),e.uriParameters.forEach(n=>{(n.in==="path"||n.in==="query"||n.in==="formData")&&t.params.push({name:n.name,value:"",type:n.type,in:n.in,isRequired:n.isRequired,skipUrlEncoding:n.skipUrlEncoding})}),t}var lSe={light:"light",dark:"dark","high-contrast":"high-contrast"};function D4e(e){let t=w.authenticationMode==="AAD"?"org":"personal",n=T.getElementById("profile-icon");n&&(n.src=`/en-us/media/profile/${t}-account${lSe[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`);let i=T.getElementById("exit-icon");i&&(i.src=`/en-us/media/profile/fluent-arrow-exit-20-regular${lSe[e]==="light"?"":"-dark-hc"}.svg?branch=live`)}function N4e(e){lt.subscribe(yl,r=>D4e(r.currentTheme));let t=ld(),i=`/en-us/media/profile/${w.authenticationMode==="AAD"?"org":"personal"}-account${t==="light"?"":"-dark-highcontrast"}.svg?branch=live`,o=`/en-us/media/profile/fluent-arrow-exit-20-regular${t==="light"?"":"-dark-hc"}.svg?branch=live`,s=d`

      REST API ${lh}

      ${wae}


      ${w.upn}

      ${M0}

      ${Mn.value.display_name}

      `;v(s,e)}function F4e(e,t,n){let i=nSe(e,t,n,x$);GM(e),e.onsubmit=s=>{U4e(i,t,x$),s.preventDefault()};let o=s=>{let r=s.restTryItRequest,a=s.security,l=v$(r,a);WTe(l).then(c=>{JTe(c).then(u=>{t.publish(new Hy(u)),t.publish(new Zg)}).then(()=>{let u=T.querySelector(".rest-tryit-form"),{scrollTop:p}=u,{height:m}=T.querySelector(".request-section").getBoundingClientRect();p>=m||ZTe(m,500,u)})}).catch(c=>{let u=e.querySelector('.request-section button[type="submit"]'),p=T.createElement("span");throw p.classList.add("border-none","color-danger","display-inline-block","font-size-medium","font-weight-semibold","padding-top-xxs"),p.textContent=Cae,u&&u.parentElement.append(p),t.publish(new Zg),c})};t.subscribe($S,o)}function U4e(e,t,n){e.classList.add("is-loading");let i={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new rr(i)),KTe(e,n.type,O4e(i)),t.publish(new $S(i,n))}function O4e(e){return e.headers.concat(e.params).map(t=>({[t.name]:!!t.value.length}))}Ig();Pg({name:"http",activateButtonConfig:{name:lh,iconClass:"docon docon-play",attributes:[]},create:()=>({element:uSe(),setCode:()=>Promise.resolve(),execute:()=>Promise.resolve(),dispose:()=>{}})});async function q4e(){let e={};b.data.mathjax?.macros&&(e=b.data.mathjax.macros),H.MathJax={showMathMenu:!1,showMathMenuMSIE:!1,tex:{inlineMath:[["$","$"],["\\(","\\)"]],processEscapes:!0,macros:e}}}async function H4e(){let e="/static/third-party/MathJax/3.2.2/tex-mml-chtml.js";return T.querySelector(`script[src="http://approjects.co.za/?big=${e}"]`)?.remove(),Wr(e,"sha384-Wuix6BuhrWbjDBs24bXrjf4ZQ5aFeFWBuKkFekO2t8xFU0iNaLQfp2K6/1Nxveei")}async function x6(){(I("show_latex")==="true"||b.data.pageTemplate==="ModuleUnit")&&Se.then(q4e).then(H4e)}function dSe(){let e=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||qt),t=document.querySelector("html");e&&t&&t.classList.add("show-deprecation-warning")}dSe();A();var CKt=new je,pSe,mSe=!1,gSe,fSe,hSe,S$=0,T$=0,NS=0,T6=.125,S6=!1,B4e=d` 1% `;async function bSe(){if(!S.gamification||S.chromeless)return;await o$;let e=document.querySelector("#level-status-container"),t=document.querySelector("#level-status");!e||!t||(v(B4e,t),Se.then(()=>{w.whenAuthenticated().then(()=>{let n;b.data.pageTemplate==="Module"?n=new ko("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressModule"):b.data.pageTemplate==="LearningPath"?n=new ko("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressLearningPath"):b.data.pageTemplate==="ModuleUnit"&&(n=new ko("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressUnit")),n?.start(),gSe=document.querySelector("#level-status-text"),fSe=document.querySelector("#level-status-progress"),hSe=document.querySelector("#level-status-points");let i=t.querySelector("a");i!==null&&i.setAttribute("href",dn(w.userName)),n?.updateProgress("Fetching game status"),ky.getStatus(w.userId).then(o=>{n?.updateProgress("Fetched game status"),ySe(o),mSe=!0,e.classList.remove("is-hidden"),n?.succeed()}).catch(o=>{n?.fail(o)})})}))}function j4e(e,t,n,i){e.currentLevel>pSe&&(S6=!0),pSe=e.currentLevel,z4e(t,e.currentLevel),V4e(n,e,mSe),Q4e(i,e.currentLevelHigh-e.currentLevelLow,e.currentLevelPointsEarned)}function z4e(e,t){e&&(e.textContent=`${GZ.replace("{number}",t.toString())}`)}function V4e(e,t,n){if(e){if(T$=K4e(t.currentLevelHigh,t.currentLevelLow,t.currentLevelPointsEarned),e.textContent=`${T$}%`,!n){H.cancelAnimationFrame(S$),e.value=NS=T$;return}G4e(e)}}function G4e(e){S$||(S$=_Se(e))}function _Se(e){return S6||e.value=100&&(S6=!1),NS=NS+T6,e.value=Math.floor(NS+T6)%100,H.requestAnimationFrame(()=>{S$=_Se(e)})):0}function Q4e(e,t,n){if(!e)return;let i=d` ${n} /${Z2.replace("{totalXP}",t.toString())}`;v(i,e)}function K4e(e,t,n){let i=e-t,o=n/i;return Math.floor(o*100)}function ySe(e){S.chromeless||j4e(e,gSe,fSe,hSe)}Ve();async function vSe(){if(!b.data.isPermissioned)return;let e=Y4e();e&&tn(e)}function Y4e(){return b.data.permissionedType==="secret"||b.data.permissionedType==="private"?aW:null}function W4e(e,t){return d` `}async function ef(e,t){let n=document.createElement("div");n.classList.add("modal-content");let i=new ye(n);return v(W4e(e,t),n),i.show()}function kSe(e,t,n){b.data.isPermissioned&&e.addEventListener("click",function(i){i.preventDefault(),ef(t,n)})}function xSe(){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 Zl,w6={},C6={},E6={},A6={},P6={},OS={};async function J4e(){let e=R.supportLevel==="production"&&!qt?"/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 US(e,t,n){let i={};return e.forEach(o=>{let s=o[t],r=o[n];i[s]=r}),i}function Z4e(e){let t={};return e.forEach(n=>{if(n.statesOrProvinces?.length>0){let i={};n.statesOrProvinces.forEach(o=>{i[o.code]=o.displayName}),t[n.ISOAlpha3Code]=i}}),t}async function TSe(){if(!(Zl&&Zl.length>0)&&(Zl=await J4e(),!!Zl))return w6=US(Zl,"ISOAlpha2Code","displayName"),C6=US(Zl,"ISOAlpha2Code","phoneCountryCode"),E6=US(Zl,"ISOAlpha3Code","displayName"),A6=US(Zl,"ISOAlpha3Code","ISOAlpha2Code"),P6=US(Zl,"ISOAlpha2Code","ISOAlpha3Code"),OS=Z4e(Zl),Promise.resolve()}A();var I6,SSe=()=>(I6===void 0&&(I6=Tg()),I6);A();function L6(e){return e.slice(-2).toUpperCase()}function e6e(e,t){let n=L6(e);return t.length===2?n===t:t.length===3?n===A6[t]:!1}function jy(e,t,n){let i=[],o=b.data.userLocale;for(let s in e){let r=e6e(o,s),a=s,l=e[s];t==="phone"&&n&&(a=e[s],l=`${n[s]} (+${e[s]})`),i.push(d``)}return i.length===0&&i.push(d``),i}A();function wSe(){window.addEventListener("form-validating",e=>{let t=qS(e.detail.form),n=C$(t);e.detail.errors?.length>=0&&($6(e.detail.form,e.detail.errors),t6e(e.detail.form,e.detail.errors),n6e(e.detail.form,e.detail.errors),u6e(e.detail.form,e.detail.errors),c6e(e.detail.form,e.detail.errors),p6e(e.detail.form,e.detail.errors),m6e(e.detail.form,e.detail.errors)),t&&!t.querySelector("[data-warning-icon-container]")&&w$(t),n&&R6(n)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;HS(t)}),window.addEventListener("submission-error",e=>{let t=qS(e.detail.form);r6e(e.detail.request,e.detail.response,e.detail.form),a6e(e.detail.request,e.detail.response,e.detail.form),w$(t),d6e(e.detail.request,e.detail.response,e.detail.form)})}function t6e(e,t){let n=e.querySelector("[data-tag-input]");if(n&&t.filter(i=>i.input===n).length===0){let i=i6e(n),o=ro(n).querySelector("[data-tag-input-holder]");i&&(vu(e,t,n,i,o),Ho(o,i));let s=o6e(n);s&&s.length>0&&s.forEach(r=>{vu(e,t,n,r,o),Ho(o,r)})}}function n6e(e,t){let n=e.querySelector("#attachment-count");if(n&&t.filter(i=>i.input===n).length===0){let i=s6e(n),o=ro(n);if(i){let s=o.querySelector('[data-id="docs-markdown-editor"]'),r=o.querySelector("#markdown-editor");vu(e,t,n,i,s??void 0,r?.id??void 0),ESe(n,i)}}}function w$(e){if(!e.querySelector(".docon-status-warning-outline-rounded")){let n=document.createElement("span");n.classList.add("docon","docon-status-warning-outline-rounded","margin-right-xxs"),n.ariaHidden="true",n.setAttribute("data-warning-icon-container",""),e.prepend(n)}}function R6(e){e.querySelectorAll("a").forEach(t=>t.classList.add("text-decoration-underline","has-line-height-reset"))}function i6e(e){let t=e.getAttribute("minTags"),n=e.getAttribute("maxTags"),i=e.value===""?0:e.value.split(",").length;if(!t||!n)return null;if(!i||iNumber(n)){let o=O1(e);return`${Kae.replace("{min}",t).replace("{max}",n).replace("{tagLabel}",o.toLocaleLowerCase())}`}return null}function o6e(e){let t=e.value.split(","),n=[];for(let i of t){let o=document.getElementById(i);if(!o)continue;let s=o.innerText;o.getAttribute("active")!=="false"||n.push(`${Yae.replace("{tagLabel}",s)}`)}return n.length>0?n:null}function s6e(e){if(e instanceof HTMLInputElement){let t=e.getAttribute("maxCount"),n=Number(e.value);if(t&&n&&n>Number(t))return Lee.replace("{maximumCount}",t)}return null}async function r6e(e,t,n){if(t.status===412&&e.url.includes("api/question"))try{if((await t.json()).code==="processed-attachment-failure"){M6(n);let i=[],o=n.querySelector("#attachment-count"),s=n.querySelector('textarea[name="body"]');Ho(s,KN),vu(n,i,o,KN,ro(o).querySelector('[data-id="docs-markdown-editor"]')??void 0)}}catch{}}async function a6e(e,t,n){if(t.status===400&&e.url.includes("api/question"))try{if((await t.json()).errorCode==="processed-user-mention-failure"){M6(n);let i=[],o=n.querySelector('textarea[name="body"]'),s=Ree.replace("{maximumCount}","10");Ho(o,s),vu(n,i,o,s,n.querySelector("#markdown-editor")??void 0)}}catch{}}function qS(e){return e.querySelector("[data-form-error-alert]")??null}function C$(e){return e.querySelector("ul")??null}function M6(e){let t=e.querySelector("[data-form-error-alert] > ul");t&&(t.innerHTML="")}function vu(e,t,n,i,o,s,r){if(t.find(m=>m.message===i))return;let a=CSe(e),c=n.hasAttribute("data-tag-input")?n.parentElement?.querySelector("input.autocomplete-input")?.id:n.id;ro(n).classList.add("errored");let p=document.createElement("a");p.href=`${r?"":"#"}${s||c}`,p.textContent=i,p.classList.add("help","help-danger","text-decoration-underline","has-line-height-reset"),a.append(p),o?.classList.add("border","border-color-danger"),t.push({input:n,message:i})}function CSe(e){let t=qS(e),n=C$(t),i=document.createElement("li");return i.classList.add("margin-bottom-xs"),t&&n&&(n.appendChild(i),t.hidden=!1,t.focus(),t.scrollIntoView()),i}function ESe(e,t){let i=ro(e).querySelector("[data-field-error-custom]")||l6e(e);i.textContent=t}function l6e(e){let t=document.createElement("p");return t.id=Xe(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("help","help-danger"),t.setAttribute("data-field-error-custom",""),Sf(e).after(t),t}function HS(e){if(e instanceof HTMLInputElement){let t=ro(e),n=e.hasAttribute("data-tag-input"),i=t.querySelector("docs-markdown-editor"),o=e.getAttribute("type")==="email";if(n){let s=t.querySelector("[data-tag-input-holder]");s&&s.classList.remove("border","border-color-danger")}if(i){let s=t.querySelector('[data-id="docs-markdown-editor"]');s&&s.classList.remove("border","border-color-danger")}o&&t.querySelector("[type=email]")?.classList?.remove("border","border-color-danger"),ESe(i??e,""),t.classList.remove("errored")}}function c6e(e,t){let n=e.querySelector("#question-body"),i=document.querySelector("docs-markdown-editor")?.parentElement,o=t.filter(s=>s.input===n);if(o&&o.length>0&&i){let s=e.querySelector('[data-form-error-container] a[href="http://approjects.co.za/?big=#question-body"]');if(s){s.addEventListener("click",()=>{setTimeout(()=>{window.location.hash="markdown-editor",i.focus()},0)});let r=e.querySelector('[data-id="docs-markdown-editor"]');r&&r.classList.add("border","border-color-danger")}}}function u6e(e,t){let n=e.querySelector('textarea[name="body"]');if(!n)return;let i=n.value.match(/(?:!\[(.*?)\]\((.*?)\))/gm);if(!i)return;let o=!1,s=[],r=[".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(i.forEach(l=>{let c=l.match(a);c&&!r.some(u=>c[0].includes(u))&&(o=!0,s.push(c[0]))}),o){let l=ro(n);vu(e,t,n,lre.replace("{urls}",s.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 d6e(e,t,n){if(n&&t.status===422&&e.url.includes("api/questions/admin/users"))try{if((await t.json()).errorCode==="validation-failure"){M6(n);let i=e.url.includes("/suspend")?Mee:$ee,o=CSe(n);o.innerText=i}}catch{}}async function p6e(e,t){if(!e?.getAttribute("data-suspended"))return;let i=e.querySelector('textarea[name="body"]');vu(e,t,i,Dee,void 0,"https://aka.ms/msftqacodeconduct",!0)}function $6(e,t){let n=e.querySelector("input[type=email]");n&&n.validity.typeMismatch&&(Ho(n,YN),vu(e,t,n,YN,n))}function m6e(e,t){let n=e.querySelector('input[data-lang*="en-"]'),i=b.data.userLocale||"en-us";if(!n||!i.startsWith("en-"))return;/[^\p{M}|\p{N}|\p{S}|\p{P}|\p{Z}|\p{C}|\p{Script=Latin}|\p{Emoji_Presentation}]/gu.test(n.value)&&(Ho(n,WN),vu(e,t,n,WN,n))}A();function g6e(e){let t=e.metadata.map(n=>d``);return d`${t}`}function ASe(e){let t=d`
      ${g6e(e)}
      `,n=document.createElement("div");v(t,n),document.body.appendChild(n),document.getElementById("pearson-vue-hidden-redirect-form").submit()}A();function Qa(e){return document.getElementById(e).value}function zy(e,t,n,i,o="text",s=50,r=0){return d`
      `}function D6(e,t,n){return d`
      `}function N6(e){return d`
      ${e}
      `}var f6e=()=>{let n=new URL(window.location.href).searchParams.get("examUrl")||"";n?location.href=ts(n).toString():window.history.back()};function PSe(){let e=L6(b.data.userLocale),t=P6[e],n=OS[t];return d`

      ${P9}

      ${I9}

      ${ua}

      ${zy("address1",N9,X1,!0,"text",40)}
      ${zy("address2",F9,X1,!1,"text",40)}
      ${zy("city",U9,B9,!0,"text",32)}
      ${D6("state",O9,jy(n,"country"))}
      ${D6("countryRegion",Uv,jy(E6,"country"))}
      ${zy("postalCode",q9,j9,!0,"text")}

      ${U(L9)}

      ${D6("phoneCountryCode",H9,jy(C6,"phone",w6))}
      ${zy("phoneNumber",mee,z9,!0,"tel")}
      ${zy("contactEmail",IN,V9,!0,"email",255,6)}

      ${R9}

      ${M9}

      ${$9}


      ${U(D9)}

      `}function h6e(e){return d`
      ${e}
      `}function F6(e,t){t&&v(h6e(e),t)}var ISe=!0;function LSe(e){window.addEventListener("form-validating",i=>{E6e(i.detail.errors),ISe=i.detail.errors.length===0}),e.addEventListener("beforesubmit",async i=>{if(!ISe){i.preventDefault();return}let o=i.detail.form.querySelector("#schedule-pearson-submit");i.detail&&(i.preventDefault(),i.detail.callback=async()=>{o?.classList.add("is-loading");try{await _6e(i)}catch{let r=i.detail.form.querySelector("#ms--error-container");F6(Go,r)}finally{o?.classList.remove("is-loading")}})}),window.addEventListener("clear-validation-errors",i=>{let o=i.detail.target;HS(o)});let t=document.getElementById("countryRegion"),n=document.getElementById("state");t.addEventListener("change",()=>{let i=Qa("countryRegion"),o=OS[i];v(jy(o,"country"),n)})}function b6e(e){let t=/^exam\.(.+)$|^(.+)$/,n=e.match(t);return n?n[1]||n[2]:""}async function _6e(e){let n=new URL(window.location.href).searchParams,i=n.get("examUrl")||"",o=n.get("examUid")||"",s=n.get("locale")||I("locale")||"en-us",r=n.get("action")||"",a={address1:Qa("address1"),address2:Qa("address2"),city:Qa("city"),state:Qa("state"),countryRegion:Qa("countryRegion"),postalCode:Qa("postalCode"),phoneCountryCode:Qa("phoneCountryCode"),phoneNumber:Qa("phoneNumber"),contactEmail:Qa("contactEmail")},l=r?{addressInfo:a,returnUrl:"placeholder",locale:"en-us",examUid:"placeholder"}:{addressInfo:a,returnUrl:i,locale:s,examUid:b6e(o)},c=Xn(),u=$.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=Go;try{let f=await fetch(u,p);if(!f.ok)f.status===400&&(g=aZ),F6(g,m);else{let _=await f.json();ASe(_)}}catch{F6(g,m)}}var y6e=new RegExp("^[\\x20-\\x21\\x23-\\x3B\\x3F-\\x5B\\x5D-\\x7F]+$"),v6e=new RegExp("^[0-9]{5}([0-9]{4})?$"),k6e=new RegExp("^[A-Za-z][0-9][A-Za-z][0-9][A-Za-z][0-9]$"),x6e=new RegExp("^(['A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*['.A-Za-z0-9_-]+@([A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*[A-Za-z0-9]\\.[a-zA-Z]{2,12}$"),T6e=new RegExp("^(?!0*$)[0-9]*$"),S6e=new RegExp("^(?!0*$)\\d{3}\\d{3}\\d{4}$"),w6e=new RegExp("^[^.].*[^.]$|^$");function C6e(e,t){return e?t.test(e):!0}function BS(e,t,n,i,o){if(!C6e(e,n)){let r=`${i.replace("{inputLabel}",document.querySelector(`label[for="${t.id}"]`)?.textContent||"")}`;Ho(t,r),A6e(o,t,r)}let s=`${mi} ${i}`;ut(s,"assertive")}function E6e(e){let t=document.getElementById("address1"),n=document.getElementById("address2"),i=document.getElementById("city"),o=document.getElementById("postalCode"),s=document.getElementById("phoneNumber"),r=document.getElementById("contactEmail"),a=document.getElementById("phoneCountryCode"),l=document.getElementById("countryRegion");[t,n,i].forEach(p=>BS(p.value,p,y6e,rZ,e)),BS(s.value,s,a.value==="1"?S6e:T6e,uZ,e),BS(o.value,o,l.value==="USA"?v6e:l.value==="CAN"?k6e:/.*/,l.value==="USA"?lZ:l.value==="CAN"?cZ:"",e),BS(r.value,r,x6e,nZ,e),[t,n,i,o,s,r].forEach(p=>BS(p.value,p,w6e,KC,e))}function A6e(e,t,n){e.find(i=>i.message===n)||e.push({input:t,message:n})}function P6e(e){try{return e.origin.includes("microsoft")}catch{return!1}}function I6e(e,t){let n=t.get("examUid"),i=t.get("examUrl");return!!(n&&i&&P6e(e))}function L6e(e,t){return!!t.get("action")}function RSe(e=new URL(location.href)){let t=new URLSearchParams(e.search);return I6e(e,t)||L6e(e,t)}function MSe(e,t){let n=new URL(dn("me","settings")),i=I("locale")||"en-us",o=oe(n.search),s=new URLSearchParams({examUrl:e,examUid:t,locale:i,context:"exam",...o});return n.search=s.toString(),n.toString()}async function R6e(){if(await SSe(),!w.legalName?.first){let e=new URLSearchParams(location.search),t=e.get("examUid")||"",n=e.get("examUrl")||"";return location.href=MSe(n,t),!0}return!1}async function M6e(){return _e.then(async()=>w.isAuthenticated?await R6e()?Promise.reject():N6(PSe()):(qn(location.href),Promise.reject()))}async function $Se(){if(!I("scheduleThroughPearsonVue"))return;let t=document.querySelector("[data-main-column]");if(!t)return;await TSe();let n=window.location.origin;if(!RSe()){location.href=`${n}/credentials`;return}let i=Ai(await M6e(),N6(d`${Qt}`));v(i,t);let o=document.getElementById("pearson-vue-registration");o&&LSe(o)}var E$="image-browser-close-event";function DSe(e,t){let i={horizontal:0,vertical:0};t.addEventListener("keypress",o=>{o.which===Pe.enter&&(o.preventDefault(),e.toggleExpand())}),t.addEventListener("keydown",o=>{let s=o.which||o.keyCode;switch(s){case Pe.left:o.preventDefault(),i.horizontal=1;break;case Pe.right:o.preventDefault(),i.horizontal=-1;break;case Pe.up:o.preventDefault(),i.vertical=1;break;case Pe.down:o.preventDefault(),i.vertical=-1;break}[Pe.left,Pe.right,Pe.up,Pe.down].indexOf(s)>-1&&e.panViewport(5*i.horizontal,5*i.vertical)}),t.addEventListener("keyup",o=>{switch(o.which||o.keyCode){case Pe.left:o.preventDefault(),i.horizontal=0;break;case Pe.right:o.preventDefault(),i.horizontal=0;break;case Pe.up:o.preventDefault(),i.vertical=0;break;case Pe.down:o.preventDefault(),i.vertical=0;break}})}var Ka={dragging:!1,prevX:0,prevY:0},A$=null;function NSe(e,t){A$=A$||(n=>{if(e.state.expanded)if(n.buttons%2){n.preventDefault(),Ka.dragging=!0;let i=n.movementX||!isNaN(Ka.prevX)?n.screenX-Ka.prevX:0,o=n.movementY||!isNaN(Ka.prevY)?n.screenY-Ka.prevY:0;e.panViewport(i,o)}else Ka.dragging&&setTimeout(()=>{Ka.dragging=!1},0);else Ka.dragging=!1;Ka.prevX=n.screenX,Ka.prevY=n.screenY}),T.removeEventListener("mousemove",A$),T.addEventListener("mousemove",A$),t.addEventListener("dragstart",n=>{n.preventDefault()}),t.addEventListener("click",n=>{Ka.dragging||(n.preventDefault(),e.toggleExpand(n.offsetX,n.offsetY))})}var FSe=`
      `;function USe(e,t){let n={touches:[]};t.addEventListener("touchstart",i=>{e.state.expanded&&(i.preventDefault(),Array.from(i.changedTouches).forEach(({identifier:o,screenX:s,screenY:r})=>{n.touches.push(Object.assign({},{identifier:o,screenX:s,screenY:r}))}))}),t.addEventListener("touchmove",i=>{if(e.state.expanded){i.preventDefault();let o=n.touches.map(l=>l.identifier),s=Array.from(i.changedTouches).filter(l=>l.identifier===n.touches[0].identifier);if(!s[0])return;let r=s[0].screenX-n.touches[0].screenX,a=s[0].screenY-n.touches[0].screenY;Array.from(i.changedTouches).forEach(l=>{let c=o.indexOf(l.identifier);c>=0&&(n.touches[c]=Object.assign({},{identifier:l.identifier,screenX:l.screenX,screenY:l.screenY}))}),e.panViewport(r,a)}}),t.addEventListener("touchend",i=>{let o=n.touches.map(s=>s.identifier);Array.from(i.changedTouches).forEach(({identifier:s})=>{n.touches.splice(o.indexOf(s),1)})})}function OSe(e,t,n){let i=Math.max(e,t);return Math.min(n,i)}var P$=class{constructor(){this.imageElement=null;this.imageContainer=null;this.state={expanded:!1}}open(t,{url:n,alt:i}){return new Promise(s=>{t.innerHTML=FSe,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&&(DSe(this,this.imageElement.parentElement),NSe(this,this.imageElement.parentElement),USe(this,this.imageElement.parentElement)),H.addEventListener("resize",()=>{this.state.expanded&&this.panViewport(0,0)},{passive:!0}),s(null))}),this.imageElement.src=n,this.imageElement.alt=i)})}close(){H.dispatchEvent(new CustomEvent(E$,{detail:{image:this.imageElement?.src}}))}toggleExpand(t=0,n=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 i=t/this.imageElement.clientWidth,o=n/this.imageElement.clientHeight,{naturalWidth:s,naturalHeight:r}=this.imageElement,a=Math.round(i*s),l=Math.round(o*r);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=OSe(0,c,s-this.imageContainer.clientWidth),m=OSe(0,u,r-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,n){if(!(!this.imageContainer||!this.imageElement)&&this.state.expanded){let i=this.state.translationX??0,o=this.state.translationY??0;this.state.translationX=Math.min(0,Math.max(this.imageElement.naturalWidth*-1+this.imageContainer.clientWidth,i+t)),this.state.translationY=Math.min(0,Math.max(this.imageElement.naturalHeight*-1+this.imageContainer.clientHeight,o+n)),this.imageElement.style.transform=`translate(${this.state.translationX}px, ${this.state.translationY}px)`}}};function qSe(){H.addEventListener(E$,e=>{let t=e.detail;ve({behavior:le.REDUCE,actionType:Ce.CLICKLEFT,content:{type:"lightbox-close",image:t.image}})})}function U6(e){qSe();let t="lightbox-enabled",n=Array.from(e.querySelectorAll('a[href$="#lightbox"]')),i=new P$;n.forEach(o=>{o.classList.add(t),o.setAttribute("data-bi-name","lightbox"),o.setAttribute("aria-haspopup","dialog"),Ot(o,"click",s=>{s.preventDefault();let r=document.createElement("div");r.classList.add("modal-content"),i.open(r,{url:o.href,alt:o.querySelector("img")?.alt??""}),new ye(r).show().then(()=>i.close()),r.insertAdjacentHTML("afterend",``)})})}A();var D6e=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/challenges":"/challenges"}`;function ci(e,t,n,i){let o=new URL(location.href),s=new URLSearchParams(o.search),r=o;if(r.pathname=`${D6e()}/${e}${t?`/${t}`:""}`,n){let a=new URLSearchParams(n);for(let[l,c]of a)r.searchParams.set(l,c)}return i&&(r.hash=i),s.has("preview")&&r.searchParams.set("preview",s.get("preview")??""),r.href}function HSe(){let e=document.getElementById("challenge-end-date"),t=document.getElementById("challenge-start-date"),n=document.getElementById("challenge-end-time"),i=document.getElementById("challenge-start-time"),o=document.getElementById("copy-challenge-form");return o&&(e=o.querySelector("#challenge-end-date"),t=o.querySelector("#challenge-start-date"),n=o.querySelector("#challenge-end-time"),i=o.querySelector("#challenge-start-time")),t&&e&&i&&n?{startDate:t,startTime:i,endDate:e,endTime:n}:null}function O6(e=!0){let{startDate:t,endDate:n}=HSe()||{};if(!(t&&n))return;let i=new Date(t.value);n.min=i.toISOString().split("T")[0],t.value&&n.value&&n.valued` `)}var BSe=b.data.userLocale,F6e=ft(),tf={async getChallenges(e,t,n=0,i=6){let o=`${$.lists}/challenge/${e}/${t}?${re({page:n+1,pageSize:i,locale:BSe})}`,r=J(o,{method:"GET"}),a=await M(r);return me(a),a.ok?await a.json():null},async getChallenge(e){let t=`${$.lists}/challenge/${e}`,i=J(t,{method:"GET"}),o=await M(i);return me(o),o.ok?await o.json():null},async getChallengeStatistics(e){let t=`${$.lists}/challenge/${e}/statistics`,i=J(t,{method:"GET"}),o=await M(i);return me(o),o.ok?await o.json():null},async getChallengeLeaderboard(e,t=0,n=5){let i=`${$.lists}/challenge/${e}/leaderboard?${re({page:t+1,pageSize:n})}`,s=J(i,{method:"GET"}),r=await M(s);return me(r),r.ok?await r.json():null},getChallengeCsv(e){return`${$.lists}/challenge/${e}/csv`},async createNewChallenge(e){let t=`${$.lists}/challenge`,i={method:"POST",body:JSON.stringify(e)},o=await M(J(t,i));if(me(o),o.ok){let s=await o.json();return vo(s.contentList),{hasError:!1,data:s}}return o.status===400?{hasError:!0,error:await o.json()}:null},async updateChallenge(e,t){let n=`${$.lists}/challenge/${e}`,o={method:"PATCH",body:JSON.stringify(t)},s=await M(J(n,o));if(me(s),s.ok){let r=await s.json();return vo(r.contentList),{hasError:!1,data:r}}return s.status===400?{hasError:!0,error:await s.json()}:null},async updateChallengeList(e,t){let n=`${$.lists}/challenge/${e}/list`,o={method:"PATCH",body:JSON.stringify(t)},s=await M(J(n,o));if(me(s),s.ok){let r=await s.json();return vo(r.contentList),{hasError:!1,data:r}}return s.status===400?{hasError:!0,error:await s.json()}:null},async deleteChallenge(e){let t=`${$.lists}/challenge/${e}`,n=await M(J(t,{method:"DELETE"}));if(me(n),!n.ok)throw new Error(`${n.status}: ${n.statusText}`)},async joinOrLeaveChallenge(e,t){let n=`${$.lists}/challenge/${e}/${t}`,i=J(n,{method:"POST"},!0,!1),o=await M(i);return me(o),o.ok?{}:null},async getFacetProducts(){let e={branch:F6e,locale:BSe,facet:"products"},t=`${$.browse.learn}?${re(e,!0)}`,i=await M(J(t,{method:"GET"}));if(i.ok){let o=await i.json();return!o||!o.facets||!o.facets.products?[]:o.facets.products}if(i.status===400){let o=await i.json();throw new Error(`${o.errorCode}: ${o.message}`)}return null}};A();A();A();A();var io=ao(e=>t=>{t.setValue(e)});function H6({origin:e,protocol:t,hostname:n,port:i}){return e||(t&&n?`${t}//${n}${i&&i!=="443"&&i!=="80"?":"+i:""}`:location.origin)}A();var Ltn=6*60*60*1e3,O6e,Rtn=new Promise(e=>O6e=e);function jSe(e,{compareOrigin:t}={compareOrigin:!0}){let n=e.target instanceof HTMLElement&&e.target.closest("a"),i=!!n&&H6(n)===ee.origin;return!n||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||n.target&&n.target!==window.name&&n.target!=="_self"||n.href.lastIndexOf("javascript:")===0||n.hasAttribute("download")?{anchor:n,shouldHandle:!1,differentOrigin:!i}:t&&!i||i&&n.classList.contains(au)||i&&/^#lightbox/.test(n.hash)||i&&n.closest("#docs-admin-editor .ProseMirror")||n.classList.contains("following-user-profile")?{anchor:n,shouldHandle:!1,differentOrigin:!i}:{anchor:n,shouldHandle:!0,differentOrigin:!i}}function zSe(){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 j6=class{constructor(){this.referrerStack=[];this.finished=Promise.resolve();this.handleClick=t=>{let{shouldHandle:n,anchor:i}=jSe(t);if(!n||!i.href)return;let o=new URL(i.href);this.delegate.canHandle(o)&&(t.preventDefault(),this.preserveBranch(this.currentUrl,o),this.navigateInternal(o,!0))};this.handlePopstate=()=>{let t=new URL(ee.href);this.routeChanged(t,this.currentUrl)?(this.referrerStack.pop(),this.navigateInternal(t,!1)):this.currentUrl=t};this.routeChanged=(t,n)=>{let i=t.pathname===n.pathname;for(let o of this.delegate.params)i=i&&t.searchParams.get(o)===n.searchParams.get(o);return!i}}enable(t,n=new URL(ee.href)){this.delegate=t,this.currentUrl=n,H.addEventListener("click",this.handleClick,!0),H.addEventListener("popstate",this.handlePopstate)}disable(){this.delegate=null,H.removeEventListener("click",this.handleClick,!0),H.removeEventListener("popstate",this.handlePopstate)}get enabled(){return!!this.delegate}async finishNavigating(){await this.finished}goto(t,n){if(!this.delegate)throw new Error("Router is not enabled.");if(t.origin!==ee.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,n==="pushState")}preserveBranch(t,n){(R.supportLevel==="production"&&R.reviewFeatures||R.supportLevel==="development"&&R.accessLevel==="online")&&B6(["branch","themebranch","api-branch"],t,n),B6(["preview"],t,n),B6(["variant"],t,n)}navigateInternal(t,n){let i=async()=>{XL.splice(0,XL.length).forEach(a=>a()),lt.publish(new yh(t));let s=zSe(),r=await this.delegate.handle(t);T.title=r.title,n?(Ki.pushState(void 0,r.title,r.url.href),this.referrerStack.push(r.url)):Ki.replaceState(void 0,r.title,r.url.href),H.scrollTo(0,0),jS(t.hash),lt.publish(new _n(r.title,r.url,this.currentUrl)),s.remove(),this.currentUrl=t},o=this.finished.then(i);return this.finished=o.catch(()=>{}),o}},Ls=new j6;function B6(e,t,n){for(let i of e){let o=t.searchParams.get(i);o&&n.searchParams.set(i,o)}}function jS(e){if(e.length<2)return;let t=T.body.querySelector(e);t&&t.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"})}function Xr(e){Array.from(e.querySelectorAll("[data-label]")).forEach(t=>{t.hidden=!0})}function $n(e,t){let n=e.querySelector(`[data-label="${t}"]`);n!==null&&(n.hidden=!1)}function Bn(e,t,n,i=H.location,o=b.data.userLocale,s){if(e=e.toLowerCase(),n&&!(t==="collections"||t==="training"||t==="achievements"||t==="transcript"||t==="certifications"||t==="credentials"||t==="challenges"||t==="settings"&&n==="interests"))throw new Error(`Detail url component is not supported in ${t} section.`);let r=new URL(i.origin+i.pathname+i.search).searchParams;r.delete("id");let a=r.toString();a=a.length?"?"+a:"";let l;return t&&t!=="activity"?l=new URL(`/${o}/users/${e}/${t}${n?`/${n}`:""}${s?`/${s}`:""}${a}`,i.origin):l=new URL(`/${o}/users/${e}/${a}`,i.origin),l}function ku(e){if(!e)throw new Error("The Collection ID does not exist and no linking URL will be created.");let t=new URL(ee.origin+ee.pathname+ee.search).searchParams,n=`/${b.data.userLocale}/${R.reviewFeatures?"test/":""}collections/${e}`;return new URL(n+"?"+t.toString(),ee.origin)}function z6(e){if(!e)throw new Error("The Plan ID does not exist and no linking URL will be created.");let t=new URL(ee.origin+ee.pathname+ee.search).searchParams,n=`/${b.data.userLocale}/${R.reviewFeatures?"test/":""}plans/${e}`;return new URL(n+"?"+t.toString(),ee.origin)}function V6(){return d`

      ${Ou}

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

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

      `}function QSe(e){return L$(e?oN:EX,e?void 0:{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Hl?"/test":""}/training/browse/`}})}A();async function R$(e,t){let n=e.elements.namedItem("collection-title").value,i=e.elements.namedItem("collection-description").value,o=e.elements.namedItem("collection-privacy-checkbox").checked;e.querySelector("button[type=submit]").classList.add("is-loading"),Xr(e);try{let s=await Ake({type:"collection",name:n,description:i,items:t,isPrivate:o});return KSe(s,e)}catch(s){let r=s;return KSe({hasError:!0,error:{errorCode:await em(r)||"UnexpectedError",message:r.message||""}},e)}}function KSe(e,t){if(e.hasError===!0){let n=t.querySelector("button[type=submit]");n&&n.classList.remove("is-loading");let{errorCode:i}=e.error;return i==="UnexpectedError"?$n(t,"somethingWentWrong"):H6e(i,t),{hasError:!0}}return{hasError:!1,data:e.data}}function H6e(e,t){let n=t.elements.namedItem("collection-title"),i=t.elements.namedItem("collection-description");switch(e){case"InvalidBody":case"MissingType":return;case"InvalidTitle":n.setCustomValidity(Pu),n.reportValidity();return;case"InvalidDescription":i.setCustomValidity($v),i.reportValidity();return;case"DuplicateTitle":let o=AC.replace("{title}",n.value);n.setCustomValidity(o),n.reportValidity();return;default:return}}function zS(e,t,n,i,o,s=bc,r=!0,a=!1,l="",c=""){return d`

      ${e}

      ${AY}

      ${Qo}
      `}var M$=[],nf={};function YSe(e,t,n,i="collection",o=()=>{}){return nf={},d` `}async function B6e(e,t,n){let i=document.createElement("div");i.classList.add("modal-content");let o=qK.replace("{userDisplayName}",w.displayName).replace("{index}",(n+1).toString()),r=d` `;return v(r,i),i.querySelector("button[type=submit]").onclick=async()=>{await j6e(e,t)},i}async function G6(e,t,n){let i=[],o="",s=[];if(n==="plan"){try{s=await Eke()}catch{s=[]}i=s?.map(m=>m.contentList)??[],o=Boe}else if(n==="challenge")i=(await tf.getChallenges("created","all",0,100))?.challenges.filter(f=>!f.earlyRegistrationEnabled&&new Date(f.starts)>new Date)?.map(f=>f.contentList)||[],o=N7;else{let m=await Cke(g=>g.type==="collection"||g.type==="bookmarks");m===null?o=Ou:(i=m??[],o=Qae)}let r=i.length===0,a=e.querySelector("#collections"),l=e.querySelector("#save-collection");if(l&&l.hasAttribute("data-autofocus")&&l.removeAttribute("data-autofocus"),r){let m=d`

      ${o}

      `;return l&&(l.setAttribute("data-autofocus","data-autofocus"),(n==="plan"||n==="challenge")&&l.setAttribute("disabled","disabled")),v(m,a),[]}let c;try{let m=await dt.getAllListsByUrl([t]);m.hasError===!1&&(c=m.data)}catch{c=void 0}let u=c&&c.length>0?c[0]?.lists.filter(m=>n==="plan"?!ht(m.skillingPlanId)&&i.find(g=>g.skillingPlanId===m.skillingPlanId):n==="challenge"?!ht(m.learnChallengeId)&&i.find(g=>g.learnChallengeId===m.learnChallengeId):ht(m.skillingPlanId)&&ht(m.learnChallengeId)):[];M$=u;let p=d` ${i.map(m=>{let g=m.skillingPlanId??"";return d`
      `})}`;if(v(p,a),i.length===1&&i[0].id==="bookmarks"&&M$.length===0){let m=await Ty(t);await dt.addItem("bookmarks",m)}return M$}async function j6e(e,t,n="collection"){event.preventDefault();let i=event.target;i.classList.add("is-loading");let o=Ty(t),s=document.getElementById("save-to-collection");await R$(s).then(async r=>{r.hasError?i.classList.remove("is-loading"):(r=r,nf[r.data.id]=o,WSe(e),M$=await G6(document.querySelector(".modal-card"),t,n))})}async function z6e(e,t,n){let i=event.target;if(i.checked){let o=Ty(e);n[i.id]=o}else{let o=t.find(s=>s.listId===i.id);o?n[i.id]=o.id:n[i.id]&&delete n[i.id]}}function V6e(e){let t=Object.keys(e);return Promise.all(t.map(async n=>typeof e[n]!="string"?dt.addItem(n,await e[n]):dt.deleteItem(n,e[n])))}async function G6e(e,t,n){e.pushContent(await B6e(e,t,n))}function WSe(e){e.popContent()}A();A();var Q6e=new Intl.NumberFormat(b.data.userLocale);function Do(e){return Q6e.format(e)}var VS=new Intl.NumberFormat(b.data.userLocale,{notation:"compact",compactDisplay:"short"}),GS=new Intl.NumberFormat(b.data.userLocale,{maximumFractionDigits:0}),K6e=new Intl.NumberFormat(b.data.userLocale,{style:"percent",maximumFractionDigits:0});var of="Applied Skills";function Yn(e){return e.replace("{AppliedSkills}",of)}var JSe={module:So,"learning path":o2,certification:mc,examination:eJ},$$={"applied skills":of,certification:mc,examination:Vo,course:Dp};var Q6=!1,ZSe={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"}},Y6e={bookmarks:{pressed:k9,unpressed:x9},collection:{pressed:CY,unpressed:EY},challenge:{pressed:q7,unpressed:H7},plan:{pressed:Tte,unpressed:Ste},studyguide:{pressed:Kse,unpressed:Yse}};function D$(e,t){return`docon-${t?ZSe[e].pressed:ZSe[e].unpressed}`}function W6e(e,t,n){return Y6e[e][t?"pressed":"unpressed"].replace(/\{title\}/g,n)}function J6e(e,t,n){let i=e?.querySelector("summary"),o=i?.querySelector(".add-to-collection-status");i?.querySelector(".docon")?.classList.remove(D$(n,!t)),i?.querySelector(".docon")?.classList.add(D$(n,t)),o&&(o.textContent=t?Vw:uc)}function Z6e(e,t,n,i){e.setAttribute("data-pressed",i.toString()),e.setAttribute("title",W6e(t,i,n));let o=e.querySelector(".docon");if(!o)throw new Error("Expected list button to contain a docon");if(o.classList.remove(D$(t,!i)),o.classList.add(D$(t,i)),e.closest(".popover")!==null){if(t==="collection"){let s=e.querySelector(".popover .collection-status");s&&(s.textContent=i?SN:wN)}else if(t==="plan"){let s=e.querySelector(".plan-status");s&&(s.textContent=i?y2:_2)}else if(t==="challenge"){let s=e.querySelector(".challenge-status");s&&(s.textContent=i?pC:iN)}}else{let s=e.querySelector(".collection-status:not(.popover *)");if(s){s.textContent=i?Vw:uc;return}let r=e.querySelector(".popover .add-to-collection-status");r&&(r.textContent=i?Vw:uc)}}async function No(e){if(!e)return;if(!S.userServices){Array.from(e.querySelectorAll("button[data-list-type]")).forEach(s=>s.hidden=!0);return}let n=ri(ee.pathname).indexOf("/training")!==-1||ee.href.indexOf("interests")!==-1;Array.from(e.querySelectorAll("button[data-list-type]:not(.popover *)")).forEach(o=>{X6e(o,n)}),KS(e),e.querySelectorAll("button[data-list-type]").forEach(o=>{o.addEventListener("click",n5e)})}function X6e(e,t){let n=Y6(e);if(n===null)return;let i=e.closest("#article-header"),o=t&&(n.resourceType==="learning path"||n.resourceType==="module"),s=T.createElement("details");s.classList.add("popover","popover-right","add-item-popover"),t&&e.parentElement&&e.parentElement.id==="module-actions"&&s.classList.remove("popover-right");let r=o?d` `:"",a=d`
      ${r}
      `;v(a,s),e.replaceWith(s)}var yp=[];async function KS(e,t=w.isAuthenticated){let n=Array.from(e.querySelectorAll("button[data-list-type]")).map(a=>Y6(a)).filter(a=>a!==null);if(n.length===0)return;let i=n.map(a=>a.url).filter((a,l,c)=>a&&c.indexOf(a)===l);if(t&&!yp?.length)try{let a=await dt.getAllListsByUrl(i);a.hasError===!1&&(yp=a.data)}catch{yp=void 0}let o=e5e(yp),s=a=>{a==="collection"?yp=Array.from(o.collectionAssociations):a==="plan"?yp=Array.from(o.planAssociations):a==="challenge"&&(yp=Array.from(o.challengeAssociations))};for(let{button:a,type:l,url:c,title:u}of n){s(l);let p=t5e(c,yp);Z6e(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===SN||c?.textContent===y2||u?.textContent===pC;J6e(a,p,"collection")})}function e5e(e){return(e??[]).reduce((t,n)=>(n.lists.forEach(i=>{!ht(i.skillingPlanId)&&ht(i.learnChallengeId)?t.planAssociations.add(n):!ht(i.learnChallengeId)&&ht(i.skillingPlanId)?t.challengeAssociations.add(n):ht(i.skillingPlanId)&&ht(i.learnChallengeId)&&t.collectionAssociations.add(n)}),t),{planAssociations:new Set,collectionAssociations:new Set,challengeAssociations:new Set})}function t5e(e,t){return t.findIndex(n=>n.url===e&&n.lists.length>0)!==-1}async function n5e(e,t=w.isAuthenticated){let n=Y6(e.target);if(n!==null){if(e.preventDefault(),b.data.isPermissioned){ef(SC,bY);return}if(!t){let i=n.type==="plan"?Hoe:n.type==="challenge"?oQ:PN;i5e(i);return}o5e(n)}}function Y6(e){let t=e instanceof Element&&e.closest("button");if(!t)return null;let n=t.getAttribute("data-list-type");if(n!=="collection"&&n!=="challenge"&&n!=="plan")return null;let i=t.getAttribute("data-list-item-url")||ee.href,o=t.getAttribute("data-list-item-title")||T.title,s=xS(i),r=t.getAttribute("data-pressed")==="true",a=t.getAttribute("data-list-source")||"module",l=t.getAttribute("data-resource-type")||"";return{button:t,type:n,url:s,title:o,pressed:r,source:a,resourceType:l}}async function i5e(e=PN){let n=fp(e,null,Yo);(await li(n)).submitted&&qn()}async function o5e({button:e,url:t,title:n,type:i}){e.classList.contains("is-loading")||(e.classList.add("is-loading"),s5e(t,n,i).catch().finally(()=>{e.classList.remove("is-loading")}))}function QS(e="added",t=[],n="collection"){let i=T.querySelectorAll("#collections input:checked"),o=f=>e==="removed"&&t.length===1?t[0]:ze(i.item(0).getAttribute(f)),s;n==="plan"?i.length===1&&e==="added"?s=z6(o("data-plan-id")).href:e==="removed"&&t.length!==0?s=z6(t[0]).href:s=Bn(w.userName,"plans").href:n==="challenge"?i.length===1?s=ci(o("data-challenge-id"),"details"):e==="removed"&&t.length!==0?s=ci(t[0],"details"):s=ci("home"):i.length===1?s=ku(o("id")).href:s=Bn(w.userName,"collections",e==="removed"&&t.length!==0?t.length===1?t[0]:"":i.length===1?ze(i.item(0).getAttribute("id")??""):"").href;let r=_Y,a=yY,l=fY,c=hY;n==="plan"?(r=Pte,a=Ite,l=Rte,c=Mte):n==="challenge"&&(r=nQ,a=iQ,l=sQ,c=rQ);let u={"is-hidden":!1},p;if(e==="added")p=(i.length!==1?a:r.replace("{collectionName}",ze(i.item(0).getAttribute("name")))).replace("{url}",s);else if(e==="removed"){let f=(T?.querySelector(`#collections input[${n==="plan"?"data-plan-":n==="challenge"?"data-challenge-":""}id="${t[0]}"]`)).getAttribute("name");p=(t.length>1?c:l.replace("{collectionName}",ze(f))).replace("{url}",s)}else p=n==="plan"?gie.replace("{url}",s):n==="challenge"?pC.replace("{url}",s):NK.replace("{url}",s);let m=d`
      ${U(p)}
      `,g=T.createElement("div");v(m,g),new Ey(g).show(),KS(T.body)}async function s5e(e,t,n){let i=T.querySelector(".modal");if(Q6||i&&!i.querySelector(".page-actions-menu"))return!1;Q6=!0;let o=T.createElement("div");o.classList.add("modal-content");let s=new ye(o),r=[];return v(YSe(s,t,e,n,()=>{r5e(r.map(a=>n==="plan"?a.skillingPlanId:n==="challenge"?a.learnChallengeId:a.listId),n)}),o),r=await G6(o,e,n),Q6=!1,s.show()}function r5e(e,t){KS(T.body);let n=Array.from(T.querySelectorAll("#collections input:checked")).map(s=>t==="plan"?s.attributes.getNamedItem("data-plan-id")?.value:t==="challenge"?s.attributes.getNamedItem("data-challenge-id")?.value:s.id),i=n.filter(s=>!e.includes(s)),o=e.filter(s=>!n.includes(s));i.length>0&&o.length===0?QS("added",void 0,t):i.length===0&&o.length>0?QS("removed",o,t):i.length>0&&o.length>0&&QS("updated",void 0,t),No(T.body)}A();function ewe(e){Ba().then(t=>{let n=[],i=0;for(let s of t.products){let r=[];for(let{moniker:l,versionDisplayName:c}of s.packages)Vr(l)&&ja[l]&&r.push(`${Pi(ze(c))}`);if(r.length===0)continue;let a=i===0?"propertyInfoTitle":"propertyInfoTitle stack";n.push(d`

      ${ze(s.displayName)}

      ${U(r.join(" "))}
      `),i++}let o=document.createElement("div");v(n,o),e.insertAdjacentElement("afterend",o)})}function twe(){let e=document.querySelector(".moniker-applies-to-table"),t=Array.from(document.querySelectorAll(".moniker-applies-to-overloadmember"));!e&&t.length===0||Ba().then(n=>{if(e){let i=e.parentElement?.parentElement?.getAttribute("data-moniker");(!i||i.trim()==="")&&(i=Sr("monikers").join(" "));let o="",s=e.parentElement?.parentElement?.querySelectorAll(".alert.is-danger");s&&s.length>0&&s.forEach(r=>{let a=r.getAttribute("data-moniker");a!==null&&a!==""&&(o+=a)}),XSe(e,n,i,o)}if(t.length!==0)for(let i of t){let o=i.parentElement.parentElement.parentElement.parentElement.getAttribute("data-moniker"),s=i.parentElement.parentElement.parentElement.parentElement.querySelectorAll(".alert.is-danger"),r="";s.forEach(a=>{let l=a.getAttribute("data-moniker");l!==null&&l!==""&&(r+=l)}),XSe(i,n,o,r)}})}function XSe(e,t,n,i){if(!e)return;let o=e.parentElement.querySelector("summary"),s=e.querySelector("thead"),r=[],a="",l="",c=0,u=!1;for(let f of t.products){let _=[],h=[],k="";for(let{moniker:y,versionDisplayName:x}of f.packages){let P=Pi(ze(x));i&&i.split(" ").indexOf(y)>0&&(h.push(P),u=!0),n&&n.split(" ").indexOf(y)>=0&&(c++,c===1?a=ze(f.displayName)+" "+P:c===2&&(l=ze(f.displayName)+" "+P),h.includes(P)||_.push(P))}_.length===0&&h.length===0||(_.length>0&&(_.reverse(),k=_.join(", ")+" "),h.length>0&&(h.reverse(),k=k+"("+h.join(", ")+")"),r.push(d` ${ze(f.displayName)} ${U(k)} `))}if(r.length===0)return;o&&(c===1?o.textContent=a:c===2?o.textContent=l9.replace("{version1}",a).replace("{version2}",l):c>=3&&(o.textContent=a9.replace("{version}",a)));let p=$ae;u&&(p=p+" "+r9+"");let m=d` ${Yf} ${U(p)} `;v(m,s);let g=document.createElement("tbody");v(r,g),s.insertAdjacentElement("afterend",g)}function nwe(){let e=rt();if(e==="")return;let t=document.querySelector(".moniker-display-boilerplate");t&&Ba().then(n=>{for(let i of n.products)for(let{moniker:o,isPrerelease:s}of i.packages)if(e===o&&Vr(o)&&ja[o]&&s){t.classList.remove("is-hidden");return}})}function N$(){let e=rt();if(!Vr(e))return!1;a5e(e);let t=l5e(T.body);return c5e(t,e),sp(),Pt(),!0}var iwe=T.createElement("style");T.head.appendChild(iwe);function a5e(e){iwe.textContent=` [data-moniker]:not([data-moniker~='${e}']) { display: none !important; } `;let t=T.querySelectorAll(`[data-moniker~='${e}'] [data-id]`);for(let i=0;id5e(e)),H.addEventListener(Uj,p5e)}var Fo={dotnet:{displayName:".NET",validSearchTerm:/^[A-Za-z_][A-Za-z0-9.<>,_]{2,255}$/,namespaceItemType:"Namespace",namespacesPath:"namespaces",monikerPickerLabel:Yw,allApisLabel:Qw,resultsHeadingTemplate:Ww,selectLabel:P0},java:{displayName:"Java",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,]{2,255}$/,namespaceItemType:"Package",namespacesPath:"namespaces",monikerPickerLabel:Yw,allApisLabel:Qw,resultsHeadingTemplate:Ww,selectLabel:P0},javascript:{displayName:"JavaScript",validSearchTerm:/^[A-Za-z@][A-Za-z0-9.<>,!\/\-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:n0,allApisLabel:Kw,resultsHeadingTemplate:a2,selectLabel:A0},powershell:{displayName:"PowerShell",validSearchTerm:/^[A-Za-z][A-Za-z0-9.-]{2,255}$/,namespaceItemType:"Module",namespacesPath:"modules",monikerPickerLabel:n0,allApisLabel:Kw,resultsHeadingTemplate:vX,selectLabel:A0},python:{displayName:"Python",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,_-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:n0,allApisLabel:Kw,resultsHeadingTemplate:a2,selectLabel:A0},rest:{displayName:"REST",validSearchTerm:/^[A-Za-z ]{3,255}$/,namespaceItemType:"",namespacesPath:"services",monikerPickerLabel:Yw,allApisLabel:Qw,resultsHeadingTemplate:Ww,selectLabel:P0}};var Nt=I("platform")||I("apiPlatform")||null,W6;function Xl(){return W6===void 0&&(W6=hhe(Nt).then(m5e)),W6}function m5e(e){let{platformId:t,families:n}=e,i=[],o={},s=[];for(let r of n)for(let a of r.products){s.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:r,product:a,moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f};i.push(_),o[_.moniker]=_}}return{platformId:t,families:n,products:s,packages:i,packagesByMoniker:o}}var YS=Fo[Nt],WS=!1;function cwe(e){let{element:t,button:n,buttonDisplayedValue:i,productList:o}=g5e();function s(c){c.target instanceof Element&&!t.contains(c.target)&&r()}function r(){T.documentElement.classList.remove("moniker-picker-expanded"),t.classList.remove("expanded"),n.setAttribute("aria-expanded","false"),H.removeEventListener("focus",s,{capture:!0}),H.removeEventListener("click",s),fb.removeListener(r)}function a(){r(),n.focus()}function l(){T.body.removeAttribute("style"),T.documentElement.classList.add("moniker-picker-expanded"),t.classList.add("expanded"),n.setAttribute("aria-expanded","true"),H.addEventListener("focus",s,{capture:!0}),H.addEventListener("click",s),fb.addListener(r)}return f5e(e,n,i,o),_5e(n,o,l,a),y5e(o,a),v5e(o,a),t}function g5e(){let e=T.createElement("div");e.classList.add("moniker-picker"),e.setAttribute(An.name,"moniker-picker"),e.setAttribute("role","application ");let t=Xe(),n=Xe();return e.innerHTML=` `,{element:e,button:e.firstElementChild,buttonDisplayedValue:e.firstElementChild.lastElementChild,productList:e.lastElementChild.lastElementChild}}function f5e(e,t,n,i){return Nt==="rest"&&(WS=!0),e?Xl().then(o=>{o.packagesByMoniker[rt()]===void 0&&tp("");let s=()=>{let r=rt();r===""?n.textContent=YS.allApisLabel:n.innerHTML=Pi(ze(o.packagesByMoniker[r].displayName))};H.addEventListener(Ro,s),s(),h5e(i);for(let r of o.families)rwe(r.products,i)}):Ba().then(o=>{WS=o.products.length===1,WS&&o.products[0].packages.length===1&&(t.disabled=!0);let s=()=>{let r=rt();n.innerHTML=Pi(ze(D_(o,r).displayName))};H.addEventListener(Ro,s),s(),rwe(o.products,i)})}function h5e(e){let t=YS.allApisLabel;e.insertAdjacentHTML("afterbegin",`
    • ${t}
    • `)}function rwe(e,t){if(WS){awe(e[0].packages,t);return}for(let{displayName:n,packages:i}of e){let o=Xe(),s=Xe();t.insertAdjacentHTML("beforeend",`
    • `);let r=t.lastElementChild.lastElementChild,a=r.lastElementChild;awe(i,a),r.insertAdjacentHTML("beforeend",'');let l=r.lastElementChild;i.find(u=>/^azurermps/.test(u.moniker))&&l.insertAdjacentHTML("beforeend",`${ze(hZ)}`);let c=I("archive_url");c&&l.insertAdjacentHTML("beforeend",`${ze(If)}`)}}function awe(e,t){for(let{moniker:n,isDefault:i,versionDisplayName:o}of e)t.insertAdjacentHTML("beforeend",`
    • ${ze(o)}
    • `)}function b5e(e){Array.from(e.querySelectorAll("button.versions")).forEach(n=>{n.setAttribute("aria-expanded","false")})}function U$(e,t,n){let i=e.querySelector('button[aria-expanded="true"]');i!==t&&(i!==null&&i.setAttribute("aria-expanded","false"),t!==null&&setTimeout(function(){t.setAttribute("aria-expanded","true"),n&&setTimeout(function(){let o=T.getElementById(t.getAttribute("aria-controls"));if(!o)return;let s=o.querySelector('a[role="menuitem"]');s!==null&&s.focus()},300)},100))}function uwe(e,t){return e.querySelector(`a[href="http://approjects.co.za/?big=?view=${t}"]`)}function lwe(e){let t=e.nextElementSibling,n=uwe(t,rt()),i=t.querySelector('a[href^="?view="][data-default="true"]'),o=t.querySelector('a[href^="?view="]');return n||i||o}function dwe(e){return e.search==="?view="||WS?null:e.parentElement.parentElement.parentElement.previousElementSibling}function _5e(e,t,n,i){let o=()=>{n();let s=rt(),r=uwe(t,s),a=dwe(r);U$(t,a,!1),setTimeout(()=>{a!==null&&a.scrollIntoView(!1),r.scrollIntoView(!1),setTimeout(()=>{r.focus()},100)})};e.addEventListener("click",()=>{e.getAttribute("aria-expanded")==="false"?o():i()}),e.addEventListener("keydown",s=>{let r=e.getAttribute("aria-expanded")==="true";r&&s.keyCode===Pe.up?(s.preventDefault(),i()):!r&&s.keyCode===Pe.down&&(s.preventDefault(),o())})}function y5e(e,t){e.addEventListener("keydown",n=>{let i=n.target;if(i.getAttribute("role")!=="menuitem")return;let o=n.keyCode,s;switch(o){case Pe.left:i instanceof HTMLAnchorElement&&i.search!=="?view="&&(n.preventDefault(),dwe(i).focus(),b5e(e));break;case Pe.right:i instanceof HTMLButtonElement&&i.hasAttribute("aria-controls")&&(n.preventDefault(),lwe(i).focus(),fb.matches||U$(e,i instanceof HTMLButtonElement?i:null,!0));break;case Pe.up:case Pe.down:n.preventDefault();let r=o===Pe.up?"previousElementSibling":"nextElementSibling",a=o===Pe.up?"lastElementChild":"firstElementChild";i.parentElement[r]===null?s=i.parentElement.parentElement[a].firstElementChild:s=i.parentElement[r].firstElementChild,s.focus(),!fb.matches&&i instanceof HTMLButtonElement&&i.getAttribute("aria-expanded")==="true"&&(n.preventDefault(),lwe(i).focus());break;case Pe.home:case Pe.end:n.preventDefault();let l=o===Pe.home?"firstElementChild":"lastElementChild";s=i.parentElement.parentElement[l].firstElementChild,s.focus(),s.parentElement.parentElement===e&&U$(e,s instanceof HTMLButtonElement?s:null,!0);break;case Pe.escape:n.preventDefault(),t();break}})}function v5e(e,t){e.addEventListener("click",n=>{let i=n.target;if(i.getAttribute("role")==="menuitem"){if(i instanceof HTMLAnchorElement){n.preventDefault();let o=oe(i.search).view;tp(o),t();return}i instanceof HTMLButtonElement&&(!fb.matches&&i.getAttribute("aria-expanded")==="true"?i.setAttribute("aria-expanded","false"):U$(e,i,!0),i.focus())}})}A();A();var ar=b.data.pageTemplate,xu=I("page_type"),k5e=I("page_kind"),J6=I("pagetype"),x5e=I("interactive_type"),sf=ja.any||ar==="Conceptual"&&J6==="Reference"&&Nt!==null||ar==="Conceptual"&&xu==="powershell"&&Nt!==null||ar==="Conceptual"&&J6==="Conceptual"&&Nt==="powershell"||ar==="Conceptual"&&xu==="conceptual"&&Nt==="powershell"||(ar==="Conceptual"&&xu==="conceptual"||ar==="Reference"&&xu==="python")&&Nt==="python"||(ar==="Conceptual"&&xu==="conceptual"||ar==="Reference"&&xu==="cli")&&x5e==="azurecli"||ar==="Reference"&&xu==="powershell"&&Nt!==null||ar==="Reference"&&xu==="azure-cli"&&k5e==="group",pwe=ar==="Reference"&&Nt!==null||ar==="Conceptual"&&J6==="Reference"&&Nt!==null||ar==="Conceptual"&&xu==="powershell"&&Nt!==null;function mwe(){sf&&F$(!0)}function T5e(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"),v(d`

      ${e||Bf}

      `,t),t}var ec;function Z6(e,t){if(t){let n=Array.from(document.getElementsByClassName("contents-expand-title"));for(let i of n)i.innerText=t}window.addEventListener("click",n=>{if(!(n.target instanceof Element&&n.target.closest("[data-contents-button]")))return;n.preventDefault();let o=T5e(t),s=["margin-xs"];sf&&rt()&&(s=["margin-inline-xs","margin-bottom-xs","margin-top-none"]),e(o,s,["padding-inline-xs","padding-top-xs"],["padding-inline-xs","padding-top-xs","border-top"],["modal-close","border"]);let c=new ye(o);ec=c,c.show().then(()=>{ec=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 fwe(){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",n=I("experimental_moniker_picker")==="true";return e&&(n||t)}function O$(e){let t=document.createElement("div");return t.classList.add("moniker-picker2","margin-right-sm"),t.setAttribute("data-bi-name","moniker-picker"),v(JS(e),t),e?Xl().then(n=>{v(JS(e,null,n),t),addEventListener(Ro,()=>v(JS(e,null,n),t))}):Ba().then(n=>{v(JS(e,n),t),addEventListener(Ro,()=>v(JS(e,n),t))}),t}function JS(e,t,n){let i=Xe(),o=`${i}-picker-label`,s=I("archive_url"),r=t&&t.products.length===1,a=c=>{if(ec){c.preventDefault(),c.stopPropagation();let u=document.createElement("div");u.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),v(S5e(t),u),ec.pushContent(u)}},l=c=>{let u,p=rt();return c&&p===""?u=Fo[Nt].allApisLabel:c?u=n.packagesByMoniker[p].displayName:u=t?D_(t,p).displayName:"",u};return d` ${ch} `}function gwe(e){let t=Xe(),n=b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light",i=b.data.userDir==="ltr"?"text-align-left":"is-text-right",o=I("archive_url");return d` ${e.packages.length!==1?d``:d`
    • ${e.packages[0].displayName}
    • `} `}function hwe(e){let t=b.data.userDir==="ltr"?"text-align-left":"is-text-right";return d`
    • ${e.versionDisplayName}
    • `}function S5e(e){let t=e&&e.products.length===1;return d` ${t?d`${bwe(e.products[0])}`:d` ${_we(Wf)} ${ywe(Bf)}
        ${e&&e.products?e.products.map(n=>w5e(n)):""}
      `} `}function w5e(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 bwe(e){let t=Xe(),n=I("archive_url");return d` ${_we(e.displayName)} ${ywe(Wf)}
      `}function _we(e){return d`

      ${e}

      `}function ywe(e){let t=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right";return d`
      `}function C5e(e){if(ec){let t=document.createElement("div");t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),v(bwe(e),t),ec.pushContent(t)}}function q$(e){let t=e.target;if(t instanceof HTMLAnchorElement){e.preventDefault();let n=oe(t.search).view;tp(n),ec?ec.hide():(q3(t),q3(t));return}}function H$(e){let t=rt();return e===t?"true":void 0}var vwe="api-search-quick-filter";function kwe(){return Xl().then(e=>{let t=e.packagesByMoniker,n=!1,i=s=>(I(s)||"").split(",").map(l=>l.trim()).filter(l=>t[l]===void 0?(console.warn(`Quick Filter: no package with moniker "${l}" was found.`),!1):(n=!0,!0)).map(l=>({moniker:l,displayName:t[l].displayName})),o=[i("quickFilterColumn1"),i("quickFilterColumn2"),i("quickFilterColumn3")];return{any:n,columns:o}})}function xwe(e){let t=T.createElement("div");t.classList.add(vwe),t.setAttribute(An.name,vwe);let n=T.createElement("h2");n.textContent=Kee,n.classList.add("api-search-heading","font-size-h3"),t.appendChild(n);for(let i of e.columns){let o=T.createElement("div");t.appendChild(o);for(let{moniker:s,displayName:r}of i){let a=T.createElement("button");a.classList.add("button","button-clear","has-text-wrap","text-align-left","display-block","button-block"),a.innerHTML=Pi(r),a.addEventListener("click",()=>{Yt(a,{actionType:Ce.OTHER,behavior:le.OTHER,content:{event:"api-browser-quickfilter",value:s,platform:Nt}}),tp(s)}),o.appendChild(a)}}return t}function Twe(e,t,n="en-us"){if(e==="rest")return E5e(t);let i=Fo[e].namespacesPath;return M(`${$.apiBrowser}/${encodeURIComponent(e)}/${i}?moniker=${encodeURIComponent(t)}&api-version=0.2&locale=${n}`).then(o=>o.json())}function E5e(e){return Nj().then(t=>A5e(t,e))}function A5e(e,t){return{apiItems:(e.filter(i=>(i.scope||"").toLowerCase()===(t||"").toLowerCase())[0].services||[]).map(i=>({displayName:i.name,url:i.url,description:i.description,itemKind:Woe}))}}function B$(e,t,n,i="en-us"){if(e==="rest")return P5e(i,"",t,n+"*",0,25);let o=`${$.apiBrowser}/${e}/search?api-version=0.2&search=${encodeURIComponent(n)}&locale=${i}`;return t!==""&&(o+=`&$filter=monikers/any(t: t eq '${encodeURIComponent(t)}')`),M(o).then(s=>s.json())}function P5e(e,t,n,i,o,s){let r=`${$.siteSearch}?locale=${e}&search=${i}&$skip=${o}&$top=${s}`,l=(n!==""?["REST"].concat([n]):["REST"]).map(c=>`scopes/any(t:t eq '${c}')`).join(" and ");return r+=`&$filter=${encodeURIComponent(l)}`,t!==""&&(r+=`&dataSource=${encodeURIComponent(t)}`),M(r).then(c=>c.json()).then(X6)}function X6(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 j$=Fo[Nt],ZS=[];function wwe(e,t){ZS.push({container:e,renderHeading:t})}function z$(e,t,n){T.documentElement.classList.add("api-search-has-results");for(let{container:i,renderHeading:o}of ZS){if(i.innerHTML="",t.length===0){let u=Nt==="rest"?AX:hn;i.insertAdjacentHTML("afterbegin",`
      ${u}
      `);return}o&&I5e(i,e);let s=T.createElement("table");s.classList.add("table","api-search-results"),s.setAttribute(An.name,"api-search-results");let r=T.createElement("thead");s.appendChild(r);let a=T.createElement("tr");r.appendChild(a);let l=T.createElement("th");l.textContent=TX,a.appendChild(l),l=T.createElement("th"),l.textContent=Uf,a.appendChild(l);let c=T.createElement("tbody");if(s.appendChild(c),Swe(c,t),i.appendChild(s),n&&o){let u=T.createElement("button");u.classList.add("more-button","button"),u.textContent=JZ,u.setAttribute(An.name,"api-browser-load-more-results"),u.addEventListener("click",()=>{M(n).then(p=>p.json()).then(p=>{e.platformId==="rest"&&(p=X6(p)),n=p["@nextLink"],n===void 0&&i.removeChild(u),Swe(c,p.results)})}),i.appendChild(u)}}}function Swe(e,t){let n=T.createElement("div"),i=s=>(v(d`${s}`,n),n.textContent!=="null"?n.textContent:""),o=rt();for(let s of t){let r=s.itemKind||s.itemType||j$.namespaceItemType,a=T.createElement("tr");e.appendChild(a);let l=T.createElement("td"),c=T.createElement("a");c.href=t5(s.url,o);let u=d`${U(Pi(s.displayName.replace(//g,">")))}`;v(u,c);let p=T.createElement("span");p.textContent=" "+r,l.appendChild(c),l.appendChild(p),a.appendChild(l),l=T.createElement("td"),l.textContent=i(s.description),a.appendChild(l),a.appendChild(l)}}function e5(){T.documentElement.classList.add("api-search-has-results");for(let{container:e}of ZS){let t=d`
      `;v(t,e)}}function V$(e){T.documentElement.classList.add("api-search-has-results");for(let{container:t}of ZS)t.textContent=e}function Cwe(){T.documentElement.classList.remove("api-search-has-results");for(let{container:e}of ZS)e.innerHTML=""}function I5e(e,t){let n=rt(),i,o;if(n==="")i=Fo[Nt].displayName,o=null;else{let a=t.packagesByMoniker[n];i=a.product.displayName,o=a.versionDisplayName}let s=T.createElement("h2");s.classList.add("api-search-results-heading","font-size-h3");let r=d`${j$.resultsHeadingTemplate.replace("{platformName}",i)}`;if(v(r,s),o!==null&&Nt==="rest"){let a=d`${U(`${ze(n)} REST ${j$.resultsHeadingTemplate.replace("{platformName}",i)}`)}`;v(a,s)}else if(o!==null){let a=d`${U(`${j$.resultsHeadingTemplate.replace("{platformName}",i)} version ${ze(o)}`)}`;v(a,s)}e.appendChild(s)}function t5(e,t){if(t!==""&&!/[?&]view=/i.test(e)){let[i,o]=e.split("#");o=o===void 0?"":"#"+o,e=Nt==="rest"?`${i}${o}`:`${i}?view=${encodeURIComponent(t)}${o}`}let n=new URL(e,location.origin);return e=`${n.pathname}${n.search}${n.hash}`,Nt!=="rest"&&(e=`/${b.data.userLocale}${e}`),e}var rf="api-search-term-changed",Gy="";function af(){return Gy}function n5(e){e=e.trim(),e!==Gy&&(Gy=e,(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&jt({term:Gy},"pushState"),window.dispatchEvent(new CustomEvent(rf,{detail:{term:Gy}})))}function Ewe(){let e=oe().term;return e===void 0?"":e.trim()}(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&(Gy=Ewe(),window.addEventListener("popstate",()=>n5(Ewe())));function Awe(){H.addEventListener(rf,i5),H.addEventListener(Ro,i5),b.data.pageTemplate==="ApiBrowserPage"&&i5()}var G$="";function i5(){let e=af(),t=rt(),n=`${e}/${t}`;return n===G$?Promise.resolve():(G$=n,b.data.pageTemplate==="ApiBrowserPage"&&t!==""&&e===""?(e5(),Promise.all([Twe(Nt,t,b.data.userLocale),Xl()]).then(([i,o])=>{if(n===G$){if(i.apiItems.length===0){V$(hn);return}z$(o,i.apiItems,null)}},()=>{V$(W1)})):e.length<3?(Cwe(),Promise.resolve()):Fo[Nt].validSearchTerm.test(e)?(e5(),Promise.all([B$(Nt,t,e,b.data.userLocale),Xl()]).then(([i,o])=>{n===G$&&(o5(t,e,i.results.length),z$(o,i.results,i["@nextLink"]))},()=>{V$(W1)})):Xl().then(i=>z$(i,[],null)))}function o5(e,t,n){ve({actionType:Ce.OTHER,behavior:le.SEARCH,content:{event:"api-browser-search",platform:Nt,moniker:e,term:t,results:n}})}var Pwe="api-search-field";function Iwe(){let e=T.createElement("form");e.classList.add(Pwe,"margin-top-xxs"),e.setAttribute(An.name,Pwe),e.action="javascript:",e.addEventListener("submit",l=>l.preventDefault());let t=T.createElement("label"),n=T.createElement("span");n.classList.add("visually-hidden"),n.textContent=an,t.appendChild(n),e.appendChild(t);let i=T.createElement("input");i.type="search",i.classList.add("input","input-lg","padding-right-sm"),i.value=af(),i.placeholder=an,t.appendChild(i);let o=T.createElement("a");o.href="http://approjects.co.za/?big=#",o.title=tK,o.classList.add("clear"),o.addEventListener("click",l=>{l.preventDefault(),i.value="",i.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}),t.appendChild(o);let s=()=>{i.value===""?i.classList.add("empty"):i.classList.remove("empty")};s();let r=0,a=()=>{s(),clearTimeout(r),r=setTimeout(()=>n5(i.value),500)};return i.addEventListener("change",a),i.addEventListener("input",a),H.addEventListener(rf,()=>{let l=af();i.value.trim()!==l&&(i.value=l,s())}),e}function Lwe(){if(!S.apiBrowser)return;F$(),Awe();let e=T.querySelector("#api-browser-search-field-container");if(!e)return;let t=!0;fwe()?e.appendChild(O$(t)):e.appendChild(cwe(t)),e.appendChild(Iwe()),kwe().then(s=>{if(!s.any)return;let r=xwe(s);e.appendChild(r)});let n=T.querySelector("#api-browser-results-container");if(!n)return;wwe(n,!0);let o=()=>{let s=rt()===""&&af()===""?"remove":"add";T.documentElement.classList[s]("has-moniker-or-term")};o(),window.addEventListener(Ro,o),window.addEventListener(rf,o)}var Rwe="renewalassessment-session-disclaimer",Mwe="https://review.learn.microsoft.com/en-us/rest/api/learn/?view=rest-learn-2023-11-01-preview&branch=main";var L5e=$.assessments,Drn=`${L5e}/sessions`;A();function Q$(e,t=Hf,n=_c,i=rae){return fp(Xa,e?t.replace("{itemTitle}",e):i,n)}function K$(e=Nn,t){return fp(sY,"",e,!0,t)}function Y$(e=lY){return d` `}function Nwe(e=EC,t=$p){return fp(UK,e,t)}function Fwe(e=MC,t=LC){return fp(lK,e,t)}var Z$=(s=>(s.facebook="facebook",s.twitter="twitter",s.linkedin="linkedin",s.email="email",s.weibo="weibo",s))(Z$||{}),O5e={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 ew(e,t,n){let i=encodeURIComponent(t),o=new URL(e);o.hostname="learn.microsoft.com";let s=o.href+=(e.indexOf("?")!==-1?"&":"?")+"WT.mc_id=",r=w.sharingId?`&sharingId=${w.sharingId}`:"",a=!!n?.achievementCopyTitle?.overrideTitle;return Object.values(Z$).reduce((c,u)=>{if(b.data.isPermissioned)return c[u]="#",c;let p=encodeURIComponent(s+u+r),m=n?.achievementCopyTitle?.overrideTitle??t,g=encodeURIComponent(Joe.replace("{achievementTitle}",n?.achievementCopyTitle?.isUnquoted?`${m}`:`"${m}"`)),f={achievementCopy:g,url:p,title:i,body:a?`${encodeURIComponent(` \r `)}${g}${encodeURIComponent(` \r `)}${p}`:`${encodeURIComponent(` \r `)}${p}`,subject:encodeURIComponent(L0).replace(encodeURIComponent("{articleTitle}"),i)},_=Object.entries(f).reduce((h,[k,y])=>h.replace(new RegExp(`{${k}}`,"g"),y),O5e[u]);return c[u]=_,c},{})}function X$(e,t,n){Object.values(Z$).forEach(i=>{let o=ew(t,n);e.querySelectorAll(`.share-${i}`).forEach(s=>{o[i]==="#"&&kSe(s,Xoe,ese),s.href=o[i]})})}function qwe(){document.querySelectorAll("div.sharing").forEach(e=>e.remove())}A();function lf(e,t="is-centered margin-top-sm margin-bottom-xs"){if(!e.pageCount)return null;let n=Array.from({length:e.pageCount},(m,g)=>g),i=e.pageIndex,o=!1,s=1,r={first:0,last:n.length-1};n.length>=7&&(o=!0,i<3?(s=3,r.first=0,r.last=3):i>n.length-4?(s=3,r.first=n.length-4,r.last=r.first+s):(s=1,r={first:Math.max(e.pageIndex-s,0),last:Math.min(e.pageIndex+s,n.length-2)}));let a=d` `,l=d` `,c=d` `,u=d` `,p=[];for(let m=r.first;m<=r.last;m++)p.push(d`
    • `);return d` `}A();A();function tD(e,t=zwe,n=B5e){if(!e)return;let i=j5e(e),o=t();i.length||(i=Array.from(document.querySelectorAll("body"))),i.forEach(s=>{let r=z5e(s),a=V5e(s),l=r.map(c=>c.id);r.forEach(c=>{typeof o=="string"?l.indexOf(o)!==-1&&eD(o,c,a):l.indexOf(o[s.id])!==-1?eD(o[s.id],c,a):l.indexOf(o.tab)!==-1?eD(o.tab,c,a):eD(r[0].id,c,a),c.onclick=()=>{H5e(c.id,s),n(c.id,s.id||"tab")},c.onkeydown=u=>{let p=u.which;if(!u.altKey&&(p===Pe.left||p===Pe.right||p===Pe.home||p===Pe.end)){u.preventDefault();let m=p===Pe.left||p===Pe.home,g;if(u.ctrlKey||p===Pe.home||p===Pe.end){let f=m?1:-1;for(g=m?0:r.length-1;r[g].parentElement.getAttribute("hidden");)g+=f}else{let f=m?-1:1;g=r.findIndex(_=>_.id===c.id);do g+=f,g===-1?g=r.length-1:g===r.length&&(g=0);while(r[g].parentElement.getAttribute("hidden"))}r[g].focus();return}}})})}function H5e(e,t){let n=t.querySelector(`#${e}`);if(n===null)return;let i=Array.from(t.querySelectorAll(":scope > .tabs .tab-control")),o=Array.from(t.querySelectorAll(":scope > [data-tab-content]"));i.forEach(s=>{s!==n&&(s.parentElement.classList.remove("is-active"),s.setAttribute("aria-selected","false"),s.setAttribute("tabindex","-1"))}),n.parentElement.classList.add("is-active"),n.setAttribute("aria-selected","true"),n.setAttribute("tabindex","0"),Vwe(n.getAttribute("aria-controls"),o)}function B5e(e,t){t||(t="tab");let n=`{"${t}": "${e}"}`;jt(JSON.parse(n),"replaceState")}function zwe(){let e=oe();for(let t in e)t.slice(0,3)!=="tab"&&delete e[t];return e}function eD(e,t,n){e===t.id?(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.parentElement.classList.add("is-active"),Vwe(t.getAttribute("aria-controls"),n)):(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),t.parentElement.classList.remove("is-active"))}function Vwe(e,t){t.forEach(n=>{n.dataset.tabContent===e?(n.hidden=!1,n.setAttribute("aria-hidden","false")):(n.hidden=!0,n.setAttribute("aria-hidden","true"))})}function j5e(e){return Array.from(e.querySelectorAll(".tabs-container"))}function z5e(e){return Array.from(e.querySelectorAll(":scope > .tabs .tab-control"))}function V5e(e){return Array.from(e.querySelectorAll(":scope > [data-tab-content]"))}A();var nc=class nc{static async render(t,n){return await nc.ensureFrappeChartsIsLoaded(),nc.frappeLibrary?new nc.frappeLibrary.Chart(t,n):null}static async ensureFrappeChartsIsLoaded(){let t=`${nc.thirdPartyUrl}/frappe-charts/1.5.2/frappe-charts.min.iife.js`;return nc.frappeLibrary||(nc.frappeLibrary=await Wr(t,"sha384-J742xhkMgA0pI8dwp+aANFethNYix5bapYzKZsz8z2Df+xqxLYImpGZddI2+ztIZ","frappe")),nc.frappeLibrary}};nc.thirdPartyUrl="/static/third-party";var nD=nc;A();Ve();A();Ve();A();var tVe=e=>e.isAnswered?"docon-check has-text-success":e.isRequired?"docon-asterisk-solid has-text-danger":"docon-location-circle",nVe=e=>e.isAnswered?Vee:e.isRequired?Gee:Qee,iVe=(e,t)=>d` ${nVe(e)} ${U(t.render(e.title||e.id))}`,iD=class{constructor(){this.md=up}hasChildren(t){return!!t.children}children(t){return t.children}htmlTitle(t,n=this.md){if(t.isCategory)return t.title;let i=document.createElement("span");return v(iVe(t,n),i),i.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,n){}};Ve();function Ywe(e,t,n){return oVe(e,t,n,!0)}function a5(e){let t=e.querySelector(".tree-item.is-selected");t||(t=Yy(e)?e.querySelector(".tree-item"):e.querySelector(".tree-item.tree-leaf")),t&&Ky(t)}function Wwe(e,t){e.addEventListener("focus",rVe,!0),e.addEventListener("click",n=>aVe(n,t),!0),e.addEventListener("keydown",n=>lVe(n,t),!0)}function oVe(e,t,n,i){let o=document.createElement("ul");return o.classList.add("tree"),o.setAttribute("role","tree"),o.setAttribute("aria-label",n),o.setAttribute("data-bi-name","tree"),o.setAttribute("data-is-collapsible",i?"true":"false"),Jwe(o,e,t),a5(o),Wwe(o,t),o}function Jwe(e,t,n,i=1,o){let s=Yy(e),r=1;for(let a of t){if(n.isHidden&&n.isHidden(a))continue;let l=document.createElement("li"),c=document.createElement("a");e.appendChild(l),n.isNewSection(a)&&l.classList.add("border-top"),n.setHtmlAttributes(a,(m,g)=>l.setAttribute(m,g));let u=n.htmlTitle(a);if(n.hasChildren(a)){let m=(o?`${o}_`:"title-")+`${r}-${i}`;Qwe(l,a),l.classList.add("tree-item"),l.setAttribute("aria-setsize",t.length.toString()),l.setAttribute("aria-level",i.toString()),l.setAttribute("aria-posinset",r.toString()),l.setAttribute("role","treeitem"),l.setAttribute("tabindex","-1"),l.setAttribute("id",m),s&&l.setAttribute("aria-expanded","false");let g=document.createElement("span");l.appendChild(g),g.setAttribute("data-bi-name","tree-expander"),s&&(g.className="tree-expander"),g.insertAdjacentHTML("beforeend",u),(!s||n.isExpanded(a))&&Qy(l,!0,n),r++;continue}c.setAttribute("aria-setsize",t.length.toString()),c.setAttribute("aria-level",i.toString()),c.setAttribute("aria-posinset",r.toString()),c.setAttribute("role","treeitem"),c.setAttribute("tabindex","-1"),!s&&e.parentElement&&e.parentElement.id&&c.setAttribute("aria-describedby",e.parentElement.id),l.setAttribute("role","none"),Qwe(c,a),l.appendChild(c),c.classList.add("tree-item","tree-leaf","has-external-link-indicator"),c.setAttribute("data-bi-name","tree-leaf"),c.href=n.href(a),c.innerHTML=u,n.isSelected(a)&&(c.classList.add("is-selected"),c.setAttribute("aria-current","page")),n.icon&&n.icon(a)&&sVe(c,n.icon(a)),r++}}function Qwe(e,t){e.node=t}function Zwe(e){return e.node}function sVe(e,t){if(!t||!t.screenReaderText||!t.classNames)return;let n=document.createElement("span");n.textContent=t.screenReaderText,n.classList.add("visually-hidden"),e.classList.add(...t.classNames),e.append(n)}function Yy(e){return e.closest(".tree").getAttribute("data-is-collapsible")!=="false"}function Xwe(e){return e?.getAttribute("aria-expanded")==="true"||!Yy(e)}function Qy(e,t,n){let i=e.getAttribute("aria-level"),s=(i?parseInt(i,10):1)+1;if(!Yy(e)&&!t||(e.setAttribute("aria-expanded",t.toString()),!t||e.lastElementChild instanceof HTMLUListElement))return;let a=Zwe(e),l=document.createElement("ul");l.classList.add("tree-group"),l.setAttribute("role","group"),e.appendChild(l);let c=e.getAttribute("id"),u=n.children(a);Jwe(l,u,n,s,c)}function Ky(e){let t=e.closest(".tree");Array.from(t.querySelectorAll('[tabindex="0"]')).forEach(n=>n.setAttribute("tabindex","-1")),e.setAttribute("tabindex","0")}function Kwe(e,t){let n=e.closest(".tree"),o=Yy(e)?':not([aria-expanded="false"]) [role="treeitem"]':'[role="treeitem"] .tree-leaf',s=Array.from(n.querySelectorAll(o));t==="preceding"&&s.reverse();let r=t==="preceding"?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING;return s.find(a=>e.compareDocumentPosition(a)&r&&a.closest('.tree [aria-expanded="false"] [role="treeitem"]')!==a&&eCe(a.closest("li")))}function eCe(e){return window.getComputedStyle(e).display!=="none"}function rVe({target:e}){let t=e instanceof HTMLElement&&e.closest('[role="treeitem"]');t&&Ky(t)}function aVe({target:e},t){let{REDUCE:n,EXPAND:i}=le,{CLICKLEFT:o}=Ce,s=e instanceof HTMLElement&&e.closest(".tree-expander, a");if(!s)return;let r;if(s instanceof HTMLAnchorElement)r=s;else{r=s.parentElement;let c=Xwe(r);Qy(r,!c,t),Yt(e,{behavior:c?n:i,actionType:o})}let a=Zwe(r),l=new CustomEvent("tree-item-clicked",{detail:a,bubbles:!0});s.closest(".tree").dispatchEvent(l)}function lVe(e,t){let{target:n,keyCode:i,shiftKey:o,altKey:s,ctrlKey:r}=e,{REDUCE:a,EXPAND:l}=le,{KEYBOARDENTER:c,KEYBOARDSPACE:u,OTHER:p}=Ce;if(s||r||o&&i!==Pe.eight&&!(i>=Pe.a&&i<=Pe.b))return;let m=n instanceof HTMLElement&&n.closest('[role="treeitem"]');if(!m)return;let g=m instanceof HTMLAnchorElement,f=!g&&Xwe(m),_=Yy(m);if(i===Pe.enter||i===Pe.space){if(g||!_)return;Qy(m,!f,t),Yt(e.target,{behavior:f?a:l,actionType:i===Pe.enter?c:u}),e.preventDefault();return}if(i===Pe.right){if(g||!_)return;if(f){let h=m.querySelector('[role="treeitem"]');h.focus(),Ky(h)}else Qy(m,!0,t),Yt(e.target,{behavior:l,actionType:p});e.preventDefault();return}if(i===Pe.left){if(!_)return;if(f)Qy(m,!1,t),Yt(e.target,{behavior:a,actionType:p}),e.preventDefault();else{let h=m.parentElement.closest('[role="treeitem"]');h&&(h.focus(),Ky(h),e.preventDefault())}return}if(i===Pe.down||i===Pe.up){let h=i===Pe.down?"following":"preceding",k=Kwe(m,h);k&&(k.focus(),Ky(k),e.preventDefault());return}if(i===Pe.home||i===Pe.end){let h=i===Pe.home,k=m.closest(".tree"),y;if(_)y=k[h?"firstElementChild":"lastElementChild"].firstElementChild.closest('[role="treeitem"]'),eCe(y)||(y=Kwe(y,h?"following":"preceding"));else{let x=k.querySelectorAll(".tree-item.tree-leaf"),P=h?0:x.length-1;y=x[P]}y.focus(),Ky(y),e.preventDefault();return}if(i===Pe.numPadAsterisk||i===Pe.eight&&o){if(!_)return;let h=m.closest("ul");for(let k=0;k
      ${WQ}
      `;A();Ve();_h();Ve();A();A();A();_h();A();function l5({changeHandler:e,expandedRows:t,id:n,maxCharacterCount:i,name:o,placeholder:s,readonly:r=!1,rows:a=1,value:l="",allowDoubleLength:c=!1}){return d`
      `}function tCe(e){let t=e.target,n=Number(t.getAttribute("data-max-character-count"));if(!t.parentElement)return;let i=t.parentElement.querySelector("span"),o=n-t.value.length;i.textContent=`${o}`,o<=1?i.setAttribute("aria-live","assertive"):i.setAttribute("aria-live","polite")}function c5(e){let t=e.target,n=Number(t.getAttribute("data-expanded-rows")),i=Number(t.getAttribute("data-max-character-count"));if(t.rows=n,t.style.height="auto",!t.parentElement)return;let o=t.parentElement.querySelector("span"),s=i-t.value.length;o.textContent=`${s}`,t.removeEventListener("focus",c5),t.addEventListener("blur",nCe),t.addEventListener("input",tCe)}function nCe(e){let t=e.target,n=Number(t.getAttribute("data-collapsed-rows"));if(t.rows=n,t.style.height="inherit",!t.parentElement)return;let i=t.parentElement.querySelector("span");i.textContent="",t.removeEventListener("blur",nCe),t.removeEventListener("input",tCe),t.addEventListener("focus",c5)}A();A();A();function xVe(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://channel9.msdn.com/"]'));t.length&&t.forEach(n=>{let i=n.src.split("/"),o=i[i.length-2],s=`${W2}: ${o}`;n.title=n.title||s})}function TVe(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://www.youtube"]'));t.length&&t.forEach(n=>{let i=n.src.split("/").pop(),o=`${W2}: ${i}`;n.title=n.title||o})}function SVe(e){let t=[],n=[];window.addEventListener("beforeprint",()=>{Array.from(e.querySelectorAll(".embeddedvideo iframe")).forEach(o=>{if(o.offsetParent!==null){let s=o.src,r=document.createElement("a");r.href=s,r.target="_blank",r.text=s,o.parentElement&&(o.parentElement.appendChild(r),o.hidden=!0,t.push(o),n.push(r))}})}),window.addEventListener("afterprint",()=>{t.forEach(i=>i.hidden=!1),n.forEach(i=>i.remove()),t=[],n=[]})}function u5(e){TVe(e),xVe(e),SVe(e)}A();A();async function d5(e,t,n){let i=await op(t);if(!(!i||!e)){switch(e){case"details":case"leaderboard":i.add({title:Rf,url:`/${i.basePath}/challenges`});break;case"content":n&&i.add({title:Rf,url:`/${i.basePath}/challenges`},{title:Lv,url:`/${i.basePath}/challenges/${n}/leaderboard`});break;default:throw new Error("Unsupported page.")}i.render()}}Ve();_h();var p5="5d6ea118-ff48-4612-a205-7c65e11e49ca",cf="379d1859-15d0-4803-81ed-eb51a2e4945d";var ji=class{constructor({errorCode:t}){this.errorCode=t}};A();Ve();dF();function m5(e){let n=/(?:status|code)[^\d]*(\d{3})/i.exec(e);return n?parseInt(n[1],10):null}var vp=class extends je{constructor(n=null,i=null,o=!0,s=!1,r="Unknown"){super();this.id=n;this.collectionOwner=i;this.isPublicView=o;this.hasActiveTakedowns=s;this.reportStatus=r;this.isUserAuthenticated=w.isAuthenticated;this.isUserChallengeAdmin=w.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(n){this._editingId=n,this.notifyPropertyChanged()}get editingSectionId(){return this._editingSectionId}set editingSectionId(n){let i=this._editingSectionId;this._editingSectionId=n,this.notifyPropertyChanged(),n?document.getElementById("add-edit-section-form")?.focus():document.getElementById(i===cf?"section":`edit-section-${i}`)?.focus()}get isEditingSummaryTitle(){return this._isEditingSummaryTitle}set isEditingSummaryTitle(n){this._isEditingSummaryTitle=n,this.notifyPropertyChanged()}get isEditingSummaryDescription(){return this._isEditingSummaryDescription}set isEditingSummaryDescription(n){this._isEditingSummaryDescription=n,this.notifyPropertyChanged()}get isEditing(){return this.editingId!==null||this.editingSectionId!==null||this.isEditingSummaryTitle||this.isEditingSummaryDescription}get isOfficialOrOverride(){return this._isOfficialOrOverride}set isOfficialOrOverride(n){this._isOfficialOrOverride=n,this.notifyPropertyChanged()}get isChallengeCollection(){return!ht(this.collection?.challengeId)||!ht(this.collection?.learnChallengeId)}get busy(){return this._busy}get showUserDisplayName(){return this._showUserDisplayName}async beforeActivate(n=null){try{if(!this.id)this.collection=n;else{let s=await dt.getList(this.id);s.hasError===!1&&(this.collection=s.data)}let i=new URLSearchParams(location.search),o=i.has("force-official-collection")?i.get("force-official-collection")==="true":!1;if(this._isOfficialOrOverride=this.collection?.isOfficial||o,this.isUserAuthenticated&&this.isUserChallengeAdmin===void 0&&(this.isUserChallengeAdmin=(await kc("me"))?.isChallengeAdmin??!1),this.collectionOwner===null){let s=await kc(`id:${this.collection.userId}`);this.setPublicCollectionOwner(s)}w.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await dt.getActiveTakedowns(this.id))):this.setReportStatus(await dt.getReportStatus(this.id)),this.notifyPropertyChanged()}catch(i){if(i instanceof Error){let o=m5(i.message);o&&(this.responseErrorCode=o)}}}async updateCollection(n,i,o){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=await dt.updateListMetadata(o??this.id,{name:n,description:i});if(s.hasError===!1){let{data:r}=s;this.collection=r}else throw new ji({errorCode:s.error.errorCode})}finally{this.setHasActiveTakedowns(!1),this.setReady()}}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let n=await dt.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(n.hasError===!1){let{data:i}=n;this.collection=i}else throw new ji({errorCode:n.error.errorCode})}finally{this.setReady()}}async setPublicCollectionOwner(n){this.collectionOwner=n}async setIsPublicView(n){this.isPublicView=n}async setHasActiveTakedowns(n){this.hasActiveTakedowns=n}async setReportStatus(n){this.reportStatus=n}async deleteCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:n}=await li(Q$(this.collection.name,Hf,_c));if(n){let i=await dt.deleteList(this.id);if(i.hasError===!1)location.href=`${dn(w.userName,"collections")}`;else throw new ji({errorCode:i.error.errorCode})}}finally{this.setReady()}}async localizeCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:n}=await li(K$(),!0);if(n){let i=li(Y$());await dt.submitForLocalize(this.id),await i;let o=document.getElementById("submit-loc"),s=document.createElement("p");s.classList.add("margin-top-sm"),s.setAttribute("id","loc-submitted-text");let r=d`${DC}`;v(r,s),document.getElementById("icon-list").parentElement.appendChild(s),o.hidden=!0}}finally{this.setReady()}}async copyCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let n=await dt.copyList(this.collection.id,this.collection.name,this.collection.description);if(n.hasError===!1){let{data:i}=n,{submitted:o}=await li(Fwe(MC,LC));o&&(location.href=ku(i.id).toString())}else throw new ji({errorCode:n.error.errorCode})}finally{this.setReady()}}async convertCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:n}=await li(Nwe(EC,$p));n&&(await dt.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 n=await dt.toggleListPrivacy(this.collection.id,!this.collection.isPrivate);if(n.hasError===!1){let{data:i}=n;this.collection=i}else throw new ji({errorCode:n.error.errorCode})}finally{this.setReady()}}async commitUrlItem(n,i,o=-1,s){if(this.busy)throw new Error("Busy");this.setBusy();try{let r=Ske(i,n),a=await(s?dt.updateItem(this.id,s,r):dt.addItem(this.id,r));if(a.hasError===!1){let{data:l}=a;if(this.collection.sectionCount){let c=o!==-1?o:this.collection.sectionCount-1;if(s){let u=this.collection.sections[c].items.findIndex(p=>p.id===s);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(s){let c=this.collection.items.findIndex(u=>u.id===s);this.collection.items[c]=l}else this.collection.items.push(l),this.collection.itemCount=this.collection.items.length}else throw new ji({errorCode:a.error.errorCode})}finally{this.setReady()}}async moveItem(n,i,o=-1,s){if(this.busy)throw new Error("Busy");this.setBusy();try{if(i===0)return;let r=o!==-1?{sectionId:this.collection.sections[o].id,items:this.collection.sections[o].items.map(u=>u.id)}:{sectionId:null,items:this.collection.items.map(u=>u.id)},a=o!==-1&&this.collection.sections[o+i]?{sectionId:this.collection.sections[o+i].id,items:this.collection.sections[o+i].items.map(u=>u.id)}:null,l=LVe(n,i,r,a),c=await dt.sortList(s??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(n,i,o){if(this.busy)throw new Error("Busy");this.setBusy();try{if(i===0)return;if(i===-1){if(n===0)return;let a=this.collection.sections[n],l=this.collection.sections[n-1];this.collection.sections[n]=l,this.collection.sections[n-1]=a}if(i===1&&this.collection.sections!==void 0){if(n===this.collection.sections.length-1)return;let a=this.collection.sections[n],l=this.collection.sections[n+1];this.collection.sections[n]=l,this.collection.sections[n+1]=a}let s=this.collection.sections.map(a=>({sectionId:a.id,items:a.items.map(l=>l.id)})),r=await dt.sortList(o??this.id,s);if(r.hasError===!1)this.syncProgress(r.data,this.collection),this.collection=r.data;else throw new Error(r.error.message)}finally{this.setReady()}}async moveItemToSection(n,i,o,s){if(this.busy)throw new Error("Busy");this.setBusy();try{if(i===o)return;let r=this.collection.sections.map(c=>({sectionId:c.id,items:[...(c.items??[]).map(u=>u.id)]})),[a]=r[i].items.splice(n,1);r[o].items.unshift(a);let l=await dt.sortList(s??this.id,r);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(n,i=-1,o){if(!this.busy){this.setBusy();try{let{submitted:s}=await li(Q$(n.data.title,Hf,_c));if(s){if(await dt.deleteItem(o??this.id,n.id),this.collection.sectionCount&&Array.isArray(this.collection.sections)&&i!==-1){let l=this.collection.sections[i];l.items=(l.items??[]).filter(c=>c.id!==n.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!==n.id),this.collection.itemCount=this.collection.items.length)}}finally{this.setReady()}}}async commitSection(n,i,o,s){if(this.busy)throw new Error("Busy");this.setBusy();try{let r=await(this.editingSectionId===cf?dt.createSection(s??this.id,[...n?.trim()].length!==0?n:this.getDefaultSectionName(),i,o):dt.updateSection(s??this.id,this.editingSectionId,n,i,o));if(r.hasError===!1){let{data:a}=r;this.syncProgress(a,this.collection),this.collection=a}else throw new ji({errorCode:r.error.errorCode})}finally{this.editingSectionId!==cf&&this.setHasActiveTakedowns(!1),this.setReady()}}async deleteSection(n,i){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await dt.deleteSection(i??this.id,n);if(o.hasError===!1){this.syncProgress(o.data,this.collection);let{data:s}=o;this.collection=s}}finally{this.setReady()}}getAmountStrings(){let n="",i="";if(this.collection.totalItems===0)return{pathCountFormat:n,moduleCountFormat:i};let{path:o,module:s}=this.getCollectionItemsAmount();return o!==0&&(n=(o===1?tY:eY).replace("{numberOf}",o.toString())),s!==0&&(i=(s===1?FC:NC).replace("{numberOf}",s.toString())),{pathCountFormat:n,moduleCountFormat:i}}getCollectionItemsAmount(){return this.collection.items.concat(...this.collection.sections?this.collection.sections.map(i=>i.items??[]):[]).reduce((i,o)=>((o.data.pageKind==="path"||o.data.pageKind==="module")&&i[o.data.pageKind]++,i),{path:0,module:0})}canCopyAsChallenge(){return(!!this.isUserChallengeAdmin||w.tenantId===es)&&(Object.values(this.getCollectionItemsAmount()).some(n=>n>0)||Object.values(this.getCollectionSectionItemsAmount()).some(n=>n>0))}setBusy(){this._busy=!0,this.notifyPropertyChanged()}setReady(){this._busy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new et)}getDefaultSectionName(n=TN){let[i,o]=[this.collection.sectionCount,this.collection.sections];if(!i||!Array.isArray(o))return n.replace("{number}",Do(1));let s=i+1;for(;o.some(r=>r.name===n.replace("{number}",Do(s)));)s++;return n.replace("{number}",Do(s))}syncProgress(n,i){let o=Object.fromEntries([...i?.items??[],...(i?.sections??[]).flatMap(s=>s.items??[])].filter(s=>s?.id).map(s=>[s.id,s]));for(let s of[...n?.items??[],...(n?.sections??[]).flatMap(r=>r.items??[])])s?.id&&s.data&&o[s.id]?.data&&(s.data.progress=o[s.id].data.progress)}getCollectionSectionItemsAmount(){return(this.collection.sections??[]).reduce((n,i)=>{let o=(i.items??[]).reduce((s,r)=>((r.data.pageKind==="path"||r.data.pageKind==="module")&&s[r.data.pageKind]++,s),{path:0,module:0});return n.path+=o.path,n.module+=o.module,n},{path:0,module:0})}};function LVe(e,t,n,i){if(!n)throw new Error("Initial section is undefined.");let o={sectionId:n.sectionId,items:Yr(n.items)},s=e+t;if(s>=0&&s
      `}function sCe(){let e=document.createElement("div"),t=RVe();return v(t,e),new ye(e)}function RVe(){return d` `}function g5(e){let t=document.createElement("div");v(e,t),Wy=new ye(t)}function tw(e,t,n="",i=Ei,o=Fe,s=!1,r=!1,a=""){return d` `}var Uo=class extends vp{constructor(n){super();this.id=n;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=n}get busy(){return this._planBusy}get planId(){return this._id}set planId(n){this._id=n}get plan(){return this._skillingPlan}set plan(n){this._skillingPlan=n,n&&(this.collection=n.contentList,this.isOfficialOrOverride=this.collection?.isOfficial??!1),this.notifyPropertyChanged()}get nextPlanItem(){return this._nextPlanItem}set nextPlanItem(n){this._nextPlanItem=n}get isNextPlanItemHighlighted(){return this._isNextPlanItemHighlighted}set isNextPlanItemHighlighted(n){this._isNextPlanItemHighlighted=n}get isEditing(){return super.isEditing||this.isEditingSummaryLearningOutcomes}get editResultCode(){return this._editResultCode}set editResultCode(n){this._editResultCode=n}get isEditingSummaryLearningOutcomes(){return this._isEditingSummaryLearningOutcomes}set isEditingSummaryLearningOutcomes(n){this._isEditingSummaryLearningOutcomes=n,this.notifyPropertyChanged()}async setIsPublicView(n){this.isPublicView=n}get stats(){return this._stats}set stats(n){this._stats=n}get csv(){return this._csv}set csv(n){this._csv=n}hasStarted(){return!ht(this.plan?.startedOn)}isCompleted(){return!ht(this.plan?.completedOn)||(this.plan?.itemsCompleted??0)===this.collection.totalItems}async moveItem(n,i,o){await super.moveItem(n,i,o,this.collection.id)}async moveItemToSection(n,i,o){await super.moveItemToSection(n,i,o,this.collection.id)}async deleteItem(n,i=-1){await super.deleteItem(n,i,this.collection.id)}async updateCollection(n,i){await super.updateCollection(n,i,this.collection.id)}async localizePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:n}=await li(K$(void 0,koe),!0);if(n){let i=li(Y$(xoe));await dt.submitForLocalize(this.collection?.id),await i;let o=document.getElementById("submit-loc"),s=document.createElement("p");s.classList.add("margin-top-sm"),s.setAttribute("id","loc-submitted-text");let r=d`${w0}`;v(r,s),document.getElementById("icon-list")?.parentElement?.appendChild(s),o&&(o.hidden=!0)}}finally{this.setReady()}}resumePlan(){let{item:n,elementToHighlight:i}=this.getFirstIncompleteItem(this.collection.sections??[]);location.hash=i,this.nextPlanItem=n,this.isNextPlanItemHighlighted=!0,setTimeout(()=>jS(location.hash)),this.notifyPropertyChanged()}setBusy(){this._planBusy=!0,this.notifyPropertyChanged()}setReady(){this._planBusy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new et)}async beforeActivate(){try{if(location.hash="",this.plan=await to.getSkillingPlan(this.planId),this.collectionOwner===null){let i=await kc(`id:${this.plan?.userId}`);this.setPublicCollectionOwner(i)}w.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await dt.getActiveTakedowns(this.collection?.id)),await this.getPlanStatistics(),this.csv=`${$.lists}/skillingPlan/${this.planId}/csv`):this.setReportStatus(await dt.getReportStatus(this.collection?.id)),oe(location.search).ref==="profile"&&this.hasStarted()?this.resumePlan():this.nextPlanItem=this.getFirstIncompleteItem(this.collection.sections??[]).item,this.notifyPropertyChanged()}catch{}}async joinPlan(n){if(this.busy)throw new Error("Busy");try{await li(oCe(),!1,async i=>{let o=i.querySelector("#save-plan-btn");o?.classList.add("is-loading"),this.setBusy();try{let s=await to.joinSkillingPlan(this.planId);return s.hasError===!1&&(this.plan=s.data),n?.onSuccess?.(),{hasError:!1,data:null}}catch{return $n(i,"somethingWentWrong"),{hasError:!0}}finally{o?.classList.remove("is-loading")}})}finally{this.setReady()}}async moveSection(n,i){await super.moveSection(n,i,this.collection.id)}async commitSection(n,i,o){await super.commitSection(n,i,o,this.collection.id)}async deleteSection(n,i){await super.deleteSection(n,i??this.collection.id)}async updatePlan(n){if(this.busy)throw new Error("Busy");this.setBusy();let i=null;try{i=await to.updateSkillingPlan(this.planId,n),i.hasError===!1&&(this.syncProgress(i.data.contentList,this.plan.contentList),this.plan=i.data,this.hasActiveTakedowns=!1,this.editResultCode=200)}catch{this.editResultCode=500}finally{this.setReady()}return i}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let n=await dt.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(n.hasError===!1){let{data:i}=n;this.collection=i}else throw new ji({errorCode:n.error.errorCode})}finally{this.setReady()}}async deletePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{await to.deleteSkillingPlan(this.planId)}finally{this.setReady()}}async dropPlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let n=await to.leaveSkillingPlan(this.planId);n.hasError===!1&&(this.plan=n.data)}finally{this.setReady()}}async trackClick(n,i){if(this.busy)throw new Error("Busy");if(i&&window.open(i,"_blank"),!!(!["module","path"].includes(n.data.pageKind)&&n.data.progress!==1&&this.hasStarted())){this.setBusy();try{await to.trackClick(this.planId,n.id),this.updateTrackedItemProgress(this.collection,n,this.plan)}finally{this.setReady()}}}async getPlanStatistics(){if(this.busy)throw new Error("Busy");this.setBusy();try{let n=await to.getPlanStatistics(this.planId);n!==null&&(this.stats=n)}finally{this.setReady()}}async addToLearnersGroups(n,i){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(n),this.setReady(),i(this)}async updateLearnerGroup(n){let{id:i,name:o}=n;if(this.plan===null)throw new Error("Plan not found");if(this.busy)throw new Error("Busy");this.setBusy();let s=await to.updateLearnerGroup(this.plan?.id,i,o);if(s.hasError===!1&&this.plan?.learnerGroups){let r=this.plan.learnerGroups.findIndex(l=>l.id===i),{data:a}=s;r!==-1&&(this.plan.learnerGroups[r]=a)}return this.setReady(),s}async deleteLearnerGroup(n){if(this.busy)throw new Error("Busy");this.setBusy();let i=await to.deleteLearnerGroup(this.plan?.id,n);return i.hasError===!1&&this.plan?.learnerGroups&&(this.plan.learnerGroups=this.plan?.learnerGroups?.filter(o=>o.id!==n)),this.setReady(),i}getDefaultSectionName(){return super.getDefaultSectionName(Ate)}updateTrackedItemProgress(n,i,o){let s=[...n.items??[],...(n.sections??[]).flatMap(r=>r.items??[])].find(r=>r?.id===i.id&&r.data);s&&(s.data.progress=1,o.itemsCompleted=(o.itemsCompleted??0)+1)}getFirstIncompleteItem(n){n=n.filter(a=>a.items?.length);let i=n[0],o=n[0]?.items?.[0]??null,s=0,r=0;for(let a of n){let l=a.items?.findIndex(c=>(c?.data.progress??0)<1)??-1;if(l!==-1&&a.items?.[l]){i=a,o=a.items[l],r=l,s=n.indexOf(a);break}}return{section:i,item:o,elementToHighlight:On(o?.data.uid??"")||`${o?.type+"-"||""}item-${s}${r}`}}};var rCe={architecture:eC,conceptual:p9,tutorial:Eae,certification:mc,appliedSkills:of,challenge:sa,sample:sK,course:Dp,examination:Vo,faq:nJ,path:jf,knownissue:JC,lifecycle:KZ,module:So,apiconnector:Qi,"azure-cli":Qi,cli:Qi,dotnet:Qi,java:Qi,javascript:Qi,odata:Qi,powerconnector:Qi,powershell:Qi,python:Qi,rest:Qi,typescript:Qi,show:s2,series:XC,episode:Qv};function Jy(e,t,n){return e==="appliedSkills"||e==="certification"||e==="challenge"||e==="course"||e==="examination"||e==="path"||e==="knownissue"||e==="lifecycle"||e==="module"||e==="series"?rCe[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"?rCe[t]:n&&n.startsWith("/answers/questions")?zee:""}A();var MVe=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/plans":"/plans"}`;function Zy(e,t,n){let i=new URL(location.href),o=new URLSearchParams(i.search),s=i;if(s.pathname=`${MVe()}/${e}`,t){let r=new URLSearchParams(t);for(let[a,l]of r)s.searchParams.set(a,l)}return n&&(s.hash=n),o.has("preview")&&s.searchParams.set("preview",o.get("preview")??""),s.href}function aCe(e){let t=e.items;if(!t)return 0;let n=t?.filter(o=>(o?.data.progress??0)===1);return n?.length?n.length/t?.length:0}function f5(e){if(location.hash){let t=e.querySelector(location.hash);t!==null&&scrollTo(window.scrollY+t.getBoundingClientRect().top,500)}}function lCe(e,t){let n="primary";return e.data.progress===1?n="accent":t&&(n="info"),`${n} border-radius`}function sD(e,t){let n={completionStatusTag:"",completionStatusTagStyle:"",progressBarLabelStyle:"",progressBarStyle:""};return e===1?(n.completionStatusTag=t==="milestone"?Ioe:jo,n.completionStatusTagStyle=t==="milestone"?"color-primary":"color-success"):n.progressBarLabelStyle=t==="milestone"?"font-weight-bold":"",n}function cCe(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 qae}}function uCe(e){return w.tenantId===es&&e!=="bookmarks"}function h5(e,t=""){let{id:n,contentList:{name:i},learningOutcomes:o}=e,s=i??"",r=Zy(n,t?`learnerGroupId=${t}`:""),a=encodeURIComponent(Yie).replace(encodeURIComponent("{planTitle}"),s),l=[Wie,String(Jie).replace("{planTitle}",s),Zie];return o.length!==0&&l.push(String(Xie)+` `+o.map(c=>`- ${c}`).join(` `)),l.push(String(eoe)+` `+r),{emailSubject:a,emailBody:encodeURIComponent(l.join(` `)),encodedPlanUrl:encodeURIComponent(r)}}function dCe(e,t){return t.some(n=>n.name.toLowerCase()===e.toLowerCase())}function nw(e,t){e.hidden=!e.hidden,t.hidden=!t.hidden}function b5(e,t,n=!1){return`

      ${e}

      ${n?``:""}
      `}function _5(e,t){let n=decodeURIComponent(e);if(Ts(n,t.target)){let o=document.querySelector("#notification-wrapper"),s=b5(Hie,"success",!0);o.innerHTML=s}}A();var y5={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 rD(e){return y5.email.test(e)}function aD(e){return y5.phone.test(e)}function lD(e){return y5.externalLink.test(e)}function iw(e,t,n,i){switch(e){case"InvalidTitle":t.setCustomValidity(vK),t.reportValidity();break;case"TitleMissing":t.setCustomValidity(yK),t.reportValidity();break;case"UrlFormatIncorrect":n.setCustomValidity(TK),n.reportValidity();break;case"Malformed":n.setCustomValidity(SK),n.reportValidity();break;case"Unofficial":if(i)i.textContent=xK,i.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(i)i.textContent=kK,i.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function $Ve(e,t){let o=[...e.value.trim()].length;return o===0?(iw("TitleMissing",e,t),!1):o<2||o>100?(iw("InvalidTitle",e,t),!1):t.value.startsWith("http://")||t.value.startsWith("https://")?!0:(iw("UrlFormatIncorrect",e,t),!1)}function dD(e,t=-1,n){let i=async r=>{r.preventDefault();let a=r.target,l=a.elements.namedItem("add-edit-url-title"),c=a.elements.namedItem("add-edit-url");if($Ve(l,c))try{let u=l.value.trim(),p=c.value.trim();await e.commitUrlItem(u,p,t,n?.id),e.editingId=null}catch(u){let p=a.querySelector("#generic-error-container");u instanceof ji?iw(u.errorCode,l,c,p):iw("UnexpectedError",l,c,p)}},o=()=>{e.editingId=null},s=r=>{r.key==="Escape"&&o(),r.target instanceof HTMLInputElement&&sw(r)};return d`
      r.target.setCustomValidity("")} />
      r.target.setCustomValidity("")} />
      `}function ow(e,t,n,i,o){switch(e){case"InvalidTitle":t.setCustomValidity(gK),t.reportValidity();break;case"DuplicateTitle":t.setCustomValidity(pK),t.reportValidity();break;case"InvalidDescription":n.setCustomValidity(dK),n.reportValidity();break;case"InvalidDaysToComplete":i?.setCustomValidity(cK),i?.reportValidity();break;case"Invalid":if(o)o.textContent=fK,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(o)o.textContent=hK,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function DVe(e,t,n){let s=[...e.value.trim()].length,r=[...t.value.trim()].length;if(s>100)return ow("InvalidTitle",e,t,n),!1;if(r>550)return ow("InvalidDescription",e,t,n),!1;if(n){let a=n.value.trim();if(a!==""){let l=Number(a);if(isNaN(l)||!Number.isInteger(l)||l<1)return ow("InvalidDaysToComplete",e,t,n),!1}}return!0}function v5(e,t){let n=async r=>{r.preventDefault();let a=r.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(DVe(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 ji?ow(p.errorCode,l,c,u,m):ow("UnexpectedError",l,c,u,m)}},i=()=>{e.editingSectionId=null},o=r=>{r.key==="Escape"&&i()},s=r=>{sw(r),r.target.setCustomValidity("")};return d`
      ${(()=>{let r=e instanceof Uo?"plan":"collection",a=t?"editSection":"newSection";return{collection:{newSection:xN,editSection:uK},plan:{newSection:Coe,editSection:woe}}[r][a]})()}
      ${e instanceof Uo?d`
      `:""}
      `}function sw(e){let n=e.target.closest("form").querySelector("#generic-error-container");n.hidden||(n.textContent="",n.hidden=!0)}function cD(e,t,n){switch(e){case"InvalidTitle":t.setCustomValidity(Pu),t.reportValidity();break;case"DuplicateTitle":let i=AC.replace("{title}",t.value.trim());t.setCustomValidity(i),t.reportValidity();break;case"InvalidContent":t.setCustomValidity(PC),t.reportValidity();break;default:if(n)n.textContent=KK,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function NVe(e){if(rD(e.value)||lD(e.value)||aD(e.value))return cD("InvalidContent",e),!1;let i=[...e.value.trim()].length;return i<1||i>100?(cD("InvalidTitle",e),!1):!0}function k5(e,t="",n=""){if(!e)return d``;let i=async r=>{r.preventDefault();let a=r.target,l=a.elements.namedItem("edit-summary-title");if(NVe(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 ji?cD(c.errorCode,l,u):cD("UnexpectedError",l,u)}},o=()=>{e.isEditingSummaryTitle=!1},s=r=>{r.key==="Escape"&&o(),r.target instanceof HTMLInputElement&&(sw(r),r.target.setCustomValidity(""),r.target.reportValidity())};return d`
      `}function uD(e,t,n){switch(e){case"InvalidContent":t.setCustomValidity(PC),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity($v),t.reportValidity();break;default:if(n)n.textContent=YK,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function FVe(e){return rD(e.value)||lD(e.value)||aD(e.value)?(uD("InvalidContent",e),!1):[...e.value.trim()].length>550?(uD("InvalidDescription",e),!1):!0}function x5(e,t="",n=""){if(!e)return d``;let i=async r=>{r.preventDefault();let a=r.target,l=a.elements.namedItem("edit-summary-description");if(FVe(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 ji?uD(c.errorCode,l,u):uD("UnexpectedError",l,u)}},o=()=>{e.isEditingSummaryDescription=!1},s=r=>{r.key==="Escape"&&o(),r.target instanceof HTMLTextAreaElement&&(sw(r),r.target.setCustomValidity(""),r.target.reportValidity())};return d`
      `}function pCe(e,t){if(t)switch(e){case"InvalidContent":t.setCustomValidity(PC),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity($v),t.reportValidity();break;case"Invalid":t.setCustomValidity(GK),t.reportValidity();break;default:break}}function UVe(e){e&&(e.textContent=WK,e.hidden=!1)}function OVe(e,t){let n=!1,i=!0;return t&&(t.textContent="",t.hidden=!0),e.forEach(o=>{o.setCustomValidity("");let s=o.value.trim();s.length>0&&(n=!0,(rD(s)||lD(s)||aD(s))&&(pCe("InvalidContent",o),i=!1))}),!n&&e.length>0&&(pCe("Invalid",e[0]),i=!1),i}function T5(e,t=""){if(!e||!e.isEditingSummaryLearningOutcomes||e.isPublicView)return"";let n=()=>{e.isEditingSummaryLearningOutcomes=!1},i=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(OVe(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),n()}catch{UVe(u)}},o=a=>{a.key==="Escape"&&n(),a.target instanceof HTMLTextAreaElement&&(sw(a),a.target.setCustomValidity(""),a.target.reportValidity())},s=e.plan.learningOutcomes,r=[...s,"","",""].slice(0,Math.max(3,s.length));return d`
      ${coe}
      ${r.map((a,l)=>d`
      `)}
      `}A();var mCe=ft(),gCe=b.data.contentLocale||b.data.userLocale;async function uf(e,t){let n=yF(e),i=[],o={method:"GET"},s=n.map(async r=>{let a={branch:mCe,uids:r.join(";"),locale:gCe},l=`${$.learn.progress.user}?${re(a)}`,c=J(l,o),u=await M(c);if(u.ok&&u.status!==204){let p=await u.json();i.push(...p)}if(!u.ok)throw new Jt(u)});try{t?.updateProgress("Getting user progress by uids"),await Promise.all(s),t?.updateProgress("Got user progress by uids")}catch(r){t?.fail(r)}return i}function fCe(e,t){let n={branch:mCe,locale:gCe},i=`${$.learn.progress.batchUnit}?${re(n)}`,s={method:"PUT",body:JSON.stringify(e)};return t?.updateProgress("Putting batch Progress"),M(J(i,s)).then(r=>me(r)).then(r=>{if(r.ok)return t?.updateProgress("Completed putting batch progress"),r.json();throw new Jt(r)}).catch(r=>(t?.fail(r),Promise.reject()))}A();var df={all:oa,ai:"AI search",documentation:aa,training:Wo,credential:pi,qna:Jv,reference:Qi,show:To};var hCe={...$$};var lr={all:oa,last24hours:Pae,last7days:Aae,last30days:Iae,last365days:Lae,custom:WY};var pD={advanced:S8,beginner:v9,intermediate:IZ};function S5(e){switch(e){case"beginner":return 0;case"intermediate":return 1;case"advanced":return 2;default:return 3}}var w5={ar:tE,"ar-sa":ZZ,bg:nE,"bg-bg":XZ,"bs-cyrl":eX,"bs-latn":iE,ca:oE,cs:sE,da:rE,de:aE,el:lE,"el-gr":tX,en:cE,"en-my":nX,es:uE,"es-mx":iX,et:dE,eu:pE,fi:mE,fil:gE,fr:fE,ga:hE,gl:bE,he:_E,hi:yE,hr:vE,hu:kE,"hu-hu":oX,id:xE,"id-id":sX,is:TE,it:SE,ja:wE,kk:CE,ko:EE,lb:AE,lt:PE,lv:IE,ms:LE,mt:RE,nb:ME,nl:$E,pl:DE,pt:NE,"pt-br":aX,"pt-pt":lX,ro:FE,ru:UE,sk:OE,sl:qE,"sr-cyrl":HE,"sr-latn":BE,sv:jE,th:zE,tr:VE,uk:GE,"uk-ua":cX,ur:uX,vi:QE,"vi-vn":dX,"zh-cn":KE,"zh-hk":YE,"zh-tw":WE};var bCe={event:HZ,series:XC,show:To};var Oo={category:df,credential_types:hCe,date:lr,levels:pD,locales:w5,resource_type:{...JSe,...$$},show_type:bCe,years:X2,author:Up,tags:V2},Xy={azure_categories:E9,category:LN,credential_types:KY,event_groups:MW,languages:Tee,date:qv,levels:QZ,locales:FZ,products:Wf,roles:yte,resource_type:gte,subjects:Jse,type:R7,show_type:OZ,years:X2,author:Up,tags:V2},_Ce={azure_categories:C9,category:LN,credential_types:QY,event_groups:RW,languages:xee,date:qv,levels:VZ,locales:i2,products:Yf,roles:bte,resource_type:Rae,subjects:Wse,type:L7,show_type:UZ,years:Gae,author:Up,tags:rre};function xn(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 jVe=parseInt(I("hoursToComplete"),10),bvn=dR(jVe).toLocaleLowerCase();A();A();var Me={ar:tE,bg:nE,"bs-latn":iE,ca:oE,cs:sE,da:rE,de:aE,el:lE,en:cE,es:uE,et:dE,eu:pE,fi:mE,fil:gE,fr:fE,ga:hE,gl:bE,he:_E,hi:yE,hr:vE,hu:kE,id:xE,is:TE,it:SE,ja:wE,ka:rX,kk:CE,ko:EE,lb:AE,lt:PE,lv:IE,ms:LE,mt:RE,nb:ME,nl:$E,pl:DE,pt:NE,ro:FE,ru:UE,sk:OE,sl:qE,"sr-cyrl":HE,"sr-latn":BE,sv:jE,th:zE,tr:VE,uk:GE,vi:QE,"zh-cn":KE,"zh-hk":YE,"zh-tw":WE},mD=new Map([["ar-sa",Me.ar],["bg-bg",Me.bg],["bs-latn-ba",Me["bs-latn"]],["ca-es",Me.ca],["cs-cz",Me.cs],["da-dk",Me.da],["de-at",`${Me.de} (${MN})`],["de-ch",`${Me.de} (${Fv})`],["de-de",Me.de],["el-gr",Me.el],["en-au",`${Me.en} (${RN})`],["en-ca",`${Me.en} (${HC})`],["en-gb",`${Me.en} (${BN})`],["en-ie",`${Me.en} (${NN})`],["en-in",`${Me.en} (${DN})`],["en-my",`${Me.en} (${BC})`],["en-nz",`${Me.en} (${UN})`],["en-sg",`${Me.en} (${qN})`],["en-us",`${Me.en} (${jN})`],["en-za",`${Me.en} (${HN})`],["es-es",`${Me.es}`],["es-mx",`${Me.es} (${FN})`],["et-ee",Me.et],["eu-es",Me.eu],["fi-fi",Me.fi],["fil-ph",Me.fil],["fr-be",`${Me.fr} (${qC})`],["fr-ca",`${Me.fr} (${HC})`],["fr-ch",`${Me.fr} (${Fv})`],["fr-fr",`${Me.fr}`],["ga-ie",Me.ga],["gl-es",Me.gl],["he-il",Me.he],["hi-in",Me.hi],["hr-hr",Me.hr],["hu-hu",Me.hu],["id-id",Me.id],["is-is",Me.is],["it-ch",`${Me.it} (${Fv})`],["it-it",`${Me.it}`],["ja-jp",Me.ja],["ka-ge",Me.ka],["kk-kz",Me.kk],["ko-kr",Me.ko],["lb-lu",Me.lb],["lt-lt",Me.lt],["lv-lv",Me.lv],["ms-my",`${Me.ms} (${BC})`],["mt-mt",Me.mt],["nb-no",Me.nb],["nl-be",`${Me.nl} (${qC})`],["nl-nl",`${Me.nl}`],["pl-pl",Me.pl],["pt-br",`${Me.pt} (${$N})`],["pt-pt",`${Me.pt} (${ON})`],["ro-ro",Me.ro],["ru-ru",Me.ru],["sk-sk",Me.sk],["sl-si",Me.sl],["sr-cyrl-rs",Me["sr-cyrl"]],["sr-latn-rs",Me["sr-latn"]],["sv-se",Me.sv],["th-th",Me.th],["tr-tr",Me.tr],["uk-ua",Me.uk],["vi-vn",Me.vi],["zh-cn",Me["zh-cn"]],["zh-tw",Me["zh-tw"]],["zh-hk",Me["zh-hk"]]]),zVe=e=>mD.get(e);zVe.keys=()=>mD.keys();var VVe=(()=>{let e=["de","en","es","fr","it"],t=n=>`${n} (${oa})`;return new Map([...mD,...Object.entries(Me).filter(([n])=>e.includes(n)).map(([n,i])=>[n,t(i)])])})();A();function GVe(){return Ds.template==="Course"?I("uid")??"":I("iltSchedulingId")??""}var gD=GVe();A();A();A();A();Ve();Ve();A();function _D(e,t="learningpath"){let n=oe();return n["ns-enrollment-type"]||(n["ns-enrollment-type"]=t),n["ns-enrollment-id"]||(n["ns-enrollment-id"]=e),n}var kCe="ModuleProgress",xCe="ModuleAssessmentProgress";async function ev(e){if(!S.gamification)return;await _e;let t=JSON.parse(X.getItem(kCe));if(I("page_type")!=="learn"||!w.isAuthenticated||!t||!t.progress)return;let n=t.progress.reduce((i,o)=>(i[o.unitUid]=o.detail||{},i),{});await fCe(n,e),X.removeItem(kCe)}async function rw(){await _e;let e=vh.getItem(xCe);I("page_type")!=="learn"||!w.isAuthenticated||!e||vh.removeItem(xCe)}A();Ve();A();Wp();A();var wCe=d`

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

      ${mX}

      ${U(gX)}

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

      ${xte}

      ${e}

      `,text:e,type:mGe};return MCe(t)}var ui=e=>{let{title:t,url:n,titleId:i,resourceType:o,label:s=wK,labelClass:r="is-visually-hidden",buttonExtraClasses:a="button-primary"}=e;return d` `};A();Ve();function P5(e,t=!1){let{pageKind:n,moduleCount:i,durationInMinutes:o}=e;if(n!=="module"&&n!=="path")return"";let s=i?d`
    • ${i} ${i===1?So.toLowerCase():Yv.toLowerCase()}
    • `:"",r=o?t?d`
    • ${Oi(o)}
    • `:d`
    • ${Oi(o)}
    • `:"";return d` ${s} ${r} `}function I5(e){let{pageKind:t,start:n,end:i,moduleCount:o}=e;if(t!=="challenge"||(!n||!i)&&o===void 0)return"";let s=n&&i?d`
    • ${M7.replace("{start}",zr.format(new Date(n))).replace("{end}",zr.format(new Date(i)))}
    • `:"",r=o?d`
    • ${o} ${o===1?So.toLowerCase():Yv.toLowerCase()}
    • `:"";return d`${s}${r}`}function L5(e){let{url:t,submitterUsername:n,answerCount:i,commentCount:o,votes:s}=e;if(!t||!t.startsWith("/answers/questions")||!n&&i===void 0&&o===void 0&&s===void 0)return"";let r=n?d`
    • ${n} ${wee}
    • `:"",a=s!==void 0?d`
    • ${s} ${Aee}
    • `:"",l=i!==void 0?d`
    • ${i} ${Cee}
    • `:"",c=o!==void 0?d`
    • ${o} ${Eee}
    • `:"";return d`${r}${a}${l}${c}`}function R5(e){let{pageKind:t,hoursToComplete:n}=e;return t!=="course"?"":n?d`
    • ${gGe(n)}
    • `:""}function M5(e){let{pageKind:t,start:n,end:i}=e;if(t!=="lifecycle"||!n&&!i)return"";let o=n?d`
    • ${jse.replace("{startDate}",new Date(n).toLocaleDateString())}
    • `:"",s=i?d`
    • ${PW.replace("{endDate}",new Date(i).toLocaleDateString())}
    • `:"";return d`${o}${s}`}function $5(e){let{pageKind:t,lastEpisode:n,episodeCount:i,pageType:o}=e;if(o!=="show"&&t!=="series"||!n&&!i)return"";let s=n?d`
    • ${jZ.replace("{date}",new Date(n).toLocaleDateString())}
    • `:"",r=i?d`
    • ${qZ.replace("{count}",i.toString())}
    • `:"";return d`${s}${r}`}function D5(e){let{showName:t,uploadDate:n,pageType:i,durationInMillisecond:o}=e;if(i!=="episode"||!t&&!n&&!o)return"";let s=o?$he(o):null,r=t?d`
    • ${t}
    • `:"",a=n?d`
    • ${zZ.replace("{date}",new Date(n).toLocaleDateString())}
    • `:"",l=s?d`
    • ${Oi(s)}
    • `:"";return d`${r}${a}${l}`}function gGe(e){let t=Math.floor(e/168),n=Math.floor(e%168/24),i=e-t*168-n*24,o=t>0?`${t.toString()} ${t===1?H0:B0}`:null,s=n>0?`${n.toString()} ${n===1?jC:Hv}`:null,r=i>0?`${i.toString()} ${i===1?WC:Ru}`:null;return[o,s,r].filter(a=>a!==null).join(", ")}Ve();function N5(){let e=Ag(new Date(Date.now()));return d`

      ${ua}

      `}A();A();var fGe=(e,t)=>e?(t.indexOf("?")!==-1?"&":"?")+`sharingId=${e}`:"",$Ce=(e,t,n)=>encodeURIComponent((n?n+` `+e.toString():e.href)+fGe(t,e.href));function DCe(e,t,n,i=!0,o=!1){let s=$Ce(t,n);return d` `}function aw(e,t,n,i,o,s){return d`
      ${e?d``:d`
      ${DCe(n||"",t,i)}
      `}
      `}function F5(e,t=!0,n=!1){let{displayName:i,userName:o,avatarUrl:s,avatarThumbnailUrl:r,userId:a}=e,l=Bn(o,"activity"),c=n?d` ${U(zae)} `:"";return t?d`
      ${zN} ${i} ${c}
      `:d`${HK}`}function NCe(e,t,n){let i=e??t??n;if(!i)return d``;let o=((e??t)?.collectionOwner??n?.challengeCreator).displayName;return d`
      ${FCe(o,i.collection.showUserDisplayName)}
      `}function FCe(e,t){return t?d` ${String(EN).replace("{name}",e)} `:d` ${mY} ${wj(!1)} `}function UCe(e,t,n){let i=e??t??n;return i?!(e??t)?.isPublicView&&!e?.isChallengeCollection?d`
      await i.toggleShowUserDisplayName()} .checked=${i.collection.showUserDisplayName} />
      `:d``:d``}function lw(e,t="",n=""){return d` ${`${Do(Math.floor(e*100))}%`} ${jo} `}function OCe(e,t){let{challengeId:n,learnChallengeId:i,name:o,isPrivate:s}=t.collection;return d` ${t?.isChallengeCollection?d` ${O7} `:""} ${aw(s,e,o,w.sharingId)}`}function qCe(e){return!e||!e?.collection?d``:d`
      e.updatePrivacy()} />
      ${OK}
      `}function HCe(e,t,n,i){if(!t&&!n&&!i)return d``;let o=ht(n)?ht(i)?d``:d` `:d` `,s=d`

      ${ht(n)?vY:qoe}

      `;return ht(t)?o:s}function hGe(){return d``}function U5(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} >

      ${Loe}

      `:d``}function BCe(e,t,n,i=0,o=-1,s="h3",r=!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 Uo,_=f?lCe(t,e.nextPlanItem?.id===t.id&&e.isNextPlanItemHighlighted):void 0,h=u?d``:"",k=S.trainingSkills&&t.data.pageKind==="path"&&t.data.display_skills?.length?d`
      ${vD(t.data.display_skills[0])}
      `:"",y=Rt=>{let zt=_D(Rt.id,"Collection");return l==="challenge"&&t.data.challengeId&&(zt.id=t.data.challengeId),`${re(zt)}`},x=Jy(l,c,m),P=t.type==="url"?`${cCe(m)}`:x,C=l==="challenge"&&t.data.challengeId?m.split("?")[0]:m,j=t.data.url&&t.data.url.includes("/answers/"),O=t.type==="url"?m:`/${j?t.data.rawUrl.split("/")[3]:a}${C}?${y(e.collection)}`,pe=async()=>{e.editingId=t.id},Ee=r?d` ${p} `:d` ${TGe(s,p)} `;f&&(Ee=e.hasStarted()?d` ${p}`:d` `);let ce=t.type==="url"?d`
      ${Ee}
      `:d` ${Ee} `,_t=Rt=>bGe(e,n,t,o,Rt);return e.editingId===t.id?dD(e,o,t):r?d`
    • ${P}

      ${ce} ${t.data.iconUrl?d``:""}
      ${h} ${k}
      ${_t(!0)}
    • `:d`
    • ${P}

      ${ce}
      ${h} ${k}
      ${_t(!1)}
    • `}function bGe(e,t,n,i=-1,o=!1){let{challengeId:s,userId:r}=e.collection;return d`${e.isPublicView||e.isOfficialOrOverride&&r!==w.userId||s?yGe(e.isUserAuthenticated,n,o,e):_Ge(e,t,n,i,o)}`}function _Ge(e,t,n,i=-1,o=!1){n.data.uid=n.data.uid;let s=i>=0?!(i===0&&t===0):t!==0,r=i>-1?!(i>=e.collection.sections?.length-1&&t>=e.collection.sections[i]?.items.length-1):t ${l} `:d``}function yGe(e,t,n=!1,i){let o=n?d``:void 0,s=jCe(i,t,e);return o||s?d` `:""}function vGe(e,t){if(!e||!t)return d``;let n=t.data.progress??0,i=!(t?.data?.pageKind==="path"||t?.data?.pageKind==="module"),{completionStatusTag:o,completionStatusTagStyle:s}=sD(n,"item");if(n===0){if(i){let r=kGe(e,t);return d` `}return d``}return n===1?d` ${o} `:n>0&&n<1?d` ${Gv} `:d``}function jCe(e,t,n){if(!n)return d``;let i=(()=>{let o=t.data.progress,s=e instanceof Uo,r=s&&e?.hasStarted?.(),a=!s&&typeof o=="number";if(r)return vGe(e,t);if(a)return lw(o)})();return i?d` `:""}function kGe(e,t){let n=document.createElement("div"),i=xGe(e,t);return v(i,n),new ye(n)}function xGe(e,t){return d` `}function TGe(e="h3",t){let n={h3:d`

      ${t}

      `,h4:d`

      ${t}

      `,h6:d`
      ${t}
      `};return n[e]||n.h3}function q5(e,t="collection"){let n=(t==="plan"?Cie:TY).replace("{url}",e),i=FK,o=xY,s=JK;return t==="plan"&&(i=Eie,o=Aie,s=Pie),d`

      ${i}

      ${o} ${s}

      ${U(n)}
      `}function zCe(){return d`

      ${wC}

      ${EK}


      1. ${AK}
      2. ${PK}
      3. ${U(IK)}

      ${LK}

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

      ${t}

      ${n}


      ${i}
      `}function H5(e,t){let n=(()=>{let o=e.collection.sections;if(Array.isArray(o)&&o.length>0)return d`
      ${o.map((r,a,l)=>d`
      ${SGe(e,r,a,l,t)} ${O5(e,r.items,void 0,a)}
      `)}
      `;let s=e.collection.items;return Array.isArray(s)&&s.length>0?O5(e,s,void 0,-1):L$(XK,{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Hl?"/test":""}/training/browse/`}})})(),i=d`${AGe(e)} ${EGe(e)} ${PGe(e)}`;return d`${n}${i}`}function SGe(e,t,n,i,o){return d`

      ${o} ${n+1}

      ${e.isPublicView?"":d` `}
      ${e.isPublicView?"":d`
      ${n>0?d` `:""} ${i.length>1&&n `:""} ${!(e instanceof Uo)||i.length>1?d` `:""}
      `}
      ${e instanceof Uo?d`Progress:${CGe(t)}`:""}
      ${(()=>{let s=e.editingSectionId===t.id,r=!ht(t.name),a=!ht(t.description),l=!ht(t.daysToComplete),c=r||a||l;return d`
      ${s?v5(e,t):c?d` ${r?d`

      ${t.name}

      `:""} ${a?d`

      ${t.description}

      `:""} ${l?wGe(t.daysToComplete):""} `:""}
      `})()}
      `}function O5(e,t,n=0,i=-1,o="h4",s=!1){return!t||t.length===0?QSe(e.isPublicView):d`
        ${t.map((r,a)=>BCe(e,r,a,n,i,o,s))}
      `}function wGe(e){return ht(e)?"":d`

      ${Eoe} ${e}

      `}function CGe(e){let t=aCe(e),{completionStatusTag:n,completionStatusTagStyle:i,progressBarLabelStyle:o,progressBarStyle:s}=sD(t,"milestone");return t===1?d` ${n} `:d`
      ${Do(Math.floor(t*100))}%
      `}function EGe(e){return e.editingSectionId===cf?v5(e):""}function AGe(e){return d`${e.editingId===p5?d`
      ${dD(e)}
      `:""}`}function PGe(e,t="margin-top-xl"){if(e.isPublicView)return"";let n={handleEvent(o){o.preventDefault(),e.editingId=p5}},i={handleEvent(o){o.preventDefault(),e.editingSectionId=cf}};return d` ${d`
      ${e.isOfficialOrOverride&&!(e instanceof Uo)?d``:""} ${(e.collection?.items?.length??0)>0||(e.collection?.sections?.length??0)>0?d``:""}
      `} `}A();function kD(...e){let[t,n,i=!0]=e,o=d` ${U(lQ)}
      • ${U(t)}
      • ${U(n)}
      `;return cw("ms--challenges-violation-banner",aQ,o,uQ,i)}A();var kIn=new Array(100).fill(0).map((e,t)=>({id:`team${t+1}`,name:`Team ${t+1}`,imageUrl:"",hasMembers:!!(t%3)}));A();var B5={"ar-sa":!0,"he-il":!0};var $Rn=Fl();A();A();A();Ve();A();A();var GCe=e=>[{id:"plan-title",name:"plan-title",title:bc,inputType:"text",dataBiName:"plan-title",value:e.title,placeholder:kie,required:!0},{id:"plan-description",name:"plan-description",title:kN,inputType:"textarea",dataBiName:"plan-description",cssClasses:"padding-bottom-xs",value:e.description,required:!1},{id:"learning-outcomes",title:Du,subtitle:uoe,tip:doe,cssClasses:"padding-top-xs border-top"},{id:"plan-outcome-1",name:"plan-learning-outcome-1",title:poe,inputType:"textarea",dataBiName:"plan-outcome-1",value:e.learningOutcomes?.[0]??"",required:!1},{id:"plan-outcome-2",name:"plan-learning-outcome-2",title:moe,inputType:"textarea",dataBiName:"plan-outcome-2",value:e.learningOutcomes?.[1]??"",required:!1},{id:"plan-outcome-3",name:"plan-learning-outcome-3",title:goe,inputType:"textarea",dataBiName:"plan-outcome-3",value:e.learningOutcomes?.[2]??"",required:!1},{id:"plan-official",name:"official-plan",title:hoe,inputType:"checkbox",dataBiName:"plan-official-checkbox",tip:yoe,value:e.isOfficial,isDirty:!1}];function QCe(e){let t=e.elements.namedItem("plan-title"),n=t.value;if(!n)return t.setCustomValidity(Pu),t.reportValidity(),$n(e,"planNewTitle"),null;let i=e.elements.namedItem("plan-description").value,o=[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(r=>r.trim()).filter(r=>r.length>0),s=e.elements.namedItem("official-plan")?.checked??!1;return{title:n,description:i,learningOutcomes:o,isOfficial:s}}var KCe;async function YCe(e,t){e.preventDefault();let n=document.getElementById("ms--create-plan"),i=e.target;Xr(n);let o=QCe(n);if(o===null)return;let{title:s,description:r,learningOutcomes:a,isOfficial:l}=o,u=n.elements.namedItem("official-plan")?.dataset.changed==="true",p={listId:n.dataset.listId??"",name:s,description:r,learningOutcomes:a??[],isOfficial:l};i.disabled=!0,i.classList.add("is-loading");try{let m=await to.createSkillingPlan(p);if(m.hasError===!0)$n(n,"somethingWentWrong");else{let g,f=Zy(m?.data?.id);if(l&&u&&(g=sCe()),g){t.hide(),g?.show();let _=g?.contentElement.querySelector(".modal-close");[g?.contentElement.querySelector("button#close-official-plan-modal"),_].forEach(k=>{if(!k)throw new Error("Something went wrong with the close buttons in the Official plan informative modal.");k.onclick=()=>{g?.hide(),location.href=f}})}else location.href=f}}catch(m){throw $n(n,"somethingWentWrong"),new Error(`error: ${m.message}`)}finally{i.disabled=!1,i.classList.remove("is-loading")}}async function WCe(e,t){if(!t)return;let n=e.contentElement.querySelector("button#ms--plan-modal-primary-btn");if(!n)throw new Error("Primary button not found");n.onclick=async()=>{n.disabled=!0,n.classList.add("is-loading"),Xr(e.contentElement);try{await t.deletePlan(),e.hide(),location.href=Bn("me","plans").toString()}catch(i){throw $n(e.contentElement,"somethingWentWrong"),new Error(`error: ${i.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}}async function JCe(e,t,n){let i=e.contentElement.querySelector("button#ms--plan-modal-primary-btn");if(!i)throw new Error("Primary button not found");i.onclick=async o=>{o.preventDefault(),i.disabled=!0,i.classList.add("is-loading"),Xr(e.contentElement);try{await t.dropPlan(),e.hide(),n()}catch(s){throw $n(e.contentElement,"somethingWentWrong"),new Error(`error: ${s.message}`)}finally{i.disabled=!1,i.classList.remove("is-loading")}}}async function ZCe(e){let t=e.elements.namedItem("plan-learner-group-name"),n=t.value,i=t.dataset.planId;t.classList.remove("input-danger"),e.querySelector("button[type=submit]")?.classList.add("is-loading");try{let o=await to.createLearnerGroup(i,n);return FGe(o,e)}catch(o){throw new Error(`error: ${o.message}`)}}function FGe(e,t){if(e.hasError===!0){e.error.errorCode==="AlreadyExists"?$n(t,"learnerGroupAlreadyExists"):$n(t,"somethingWentWrong");let n=t.elements.namedItem("plan-learner-group-name");n.focus(),n.classList.add("input-danger");let i=t.querySelector("button[type=submit]");return i&&i.classList.remove("is-loading"),{hasError:!0}}return{hasError:!1,data:e.data}}async function XCe(e){let t=e.closest(".learner-group-details");if(!t)throw new Error("Could not find the learner group details");let n=t.nextElementSibling,i=n.querySelector(".cancel"),o=n?.querySelector("input");nw(t,n),n.focus(),i&&(i.onclick=s=>{s.preventDefault(),nw(t,n),o&&(o.value=o?.dataset.originalName)})}async function eEe(e,t){let n=t.parentElement?.previousElementSibling,i=t.parentElement,o=i?.querySelector("input"),s=o?.dataset.groupId,r=i.querySelector("#learner-group-submit");if(r?.classList.add("is-loading"),o?.value===o?.dataset.originalName){r?.classList.remove("is-loading"),nw(n,i),o.value=o?.dataset.originalName;return}if(dCe(o?.value,e.plan?.learnerGroups??[])){$n(t,"learnerGroupAlreadyExists"),o?.focus(),o?.classList.add("input-danger"),r?.classList.remove("is-loading");return}Xr(t);let a=await e.updateLearnerGroup({id:s,name:o?.value});if(a.hasError===!1){let{data:l}=a,c=n.querySelector(".group-name");c&&(c.textContent=l.name,o.dataset.originalName=l.name),nw(n,i),o.classList.remove("input-danger"),r?.classList.remove("is-loading")}else $n(t,"somethingWentWrong"),o.focus(),o.classList.add("input-danger"),r?.classList.remove("is-loading")}async function tEe(e,t,n,i){KCe=e.contentElement.querySelector("#notification-wrapper");let o=tw(Bie,d`${U(jie.replace("{learningGroupName}",t.plan?.learnerGroups?.find(r=>r.id===n)?.name||nk))}`,void 0,zo,Fe,!0);if(e.hide(),(await li(o,!1,r=>UGe(r,t,n,i))).submitted){e.show();let r=b5(zie,"success",!0);KCe.innerHTML=r}}async function UGe(e,t,n,i){let o=e.querySelector("button[type=submit]");o?.classList.add("is-loading");let s={hasError:!1,data:null};try{await t.deleteLearnerGroup(n),s={hasError:!1,data:null}}catch{$n(e,"somethingWentWrong"),s={hasError:!0}}finally{i.closest(".card")?.remove(),o?.classList.remove("is-loading")}return s}A();var nEe;async function oEe(e,t=null,n=$.profile.reportConcern,i,o,s="description",r){let a=document.createElement("div");nEe=new ye(a);let l=d``;if(nEe.show(),e.isAuthenticated&&t===null){let u=d``;v(d` `,a);let p=Xn()??"";t=await tm(p)}l=d` ${jGe(OGe,r,c2,o,void 0,s)} ${zGe(t)}

      ${U(jee)}

      ${i||""} `,v(d` `,a);let c=a.querySelector("#report-content-form");BGe(),WGe(c),t!==null&&YGe(c,t)}function OGe(e,t,n="abuseCategory",i=!1){let o=t||axe;return d`
      `}function iEe(e){return d` `}function qGe(e,t,n,i,o){return d` `}function HGe(e,t){return d`
      `}function BGe(){window.addEventListener("form-validating",e=>{let t=qS(e.detail.form),n=C$(t);e.detail.errors?.length>=0&&$6(e.detail.form,e.detail.errors),t&&!t.querySelector("[data-warning-icon-container]")&&w$(t),n&&R6(n)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;HS(t)})}function jGe(e,t,n=c2,i,o,s,r,a=!1){return d`
      ${e(o,t,i,a)}
      `}function zGe(e){if(e===null)return d`

      ${U(Uee)}

      `;let[t,n]=sEe(e);return d`
      `}function VGe(e){return e.authenticationModes?e.authenticationModes.map(t=>t.type).includes("MSA"):!1}function GGe(e){let t=e.authenticationModes.find(n=>n.type==="MSA");return t?t.upn:null}function QGe(e){let t=e.authenticationModes.find(n=>n.type==="AAD");return t?t.upn:null}function KGe(e,t,n){return t??(ht(e.email)?n:e.email)??""}function sEe(e){let t=VGe(e),n=t?GGe(e):null,i=t?null:QGe(e),o=KGe(e,n,i);return[t,o]}function YGe(e,t){let[n,i]=sEe(t);if(n){let r=e.querySelector("#report-msa-email-account");r.innerText=i}let o=e.querySelector("#opt-into-email-checkbox"),s=e.querySelector("#submitter-info");o.addEventListener("change",()=>{o.checked?s.hidden=!1:s.hidden=!0})}function WGe(e){if(!e)return;let t=e.querySelector("#select-reason"),n=e.querySelector("#other-reason-textarea-container"),i=n.querySelector("textarea");if(!t||!n||!i)return;let o=t.value===no[14]||t.value===14 .toString();o&&(n.hidden=!1,i.required=!0),t.addEventListener("change",()=>{o=t.value===no[14]||t.value===14 .toString(),o?(n.hidden=!1,i.required=!0,i.disabled=!1):(n.hidden=!0,i.required=!1,i.disabled=!0)})}A();Ve();A();var xD;function rEe(e){xD=e}function aEe(e,t){let n=e.isOfficial?Tr:Rs,i=s=>{let r=s.target;n=r.checked?Tr:Rs;let a=document.querySelector("#toggle-text-plan-official");v(n,a),r.getAttribute("data-changed")==="false"&&r.setAttribute("data-changed","true")},o=GCe(e).map(s=>{let{id:r,name:a,title:l,subtitle:c,tip:u,inputType:p,dataBiName:m,cssClasses:g,required:f}=s;if(r==="plan-official"&&!t)return d``;let _=r==="plan-title"&&e.isNew===!0,h=p?p==="textarea"?d``:p==="checkbox"?d`
      ${n}
      `:d`{let y=k.target;r==="plan-title"&&(ZGe(y,Pu),y.classList.remove("input-danger"))}} /> ${_?d`

      ${fie}

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

      ${c}

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

      ${u}

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

      ${Lie}

      ${o}
      `}function JGe(){return d`
      ${U(_oe)}
      `}function ZGe(e,t){e.setCustomValidity(""),e.validity.valid||(t&&e.setCustomValidity(t),e.reportValidity())}function lEe(e){return e?d`
      • ${e.stats?.participantsStarted}

        ${Rie}

      • ${e.stats?.participantsJoined}

        ${Gv}

      • ${e.stats?.participantsCompleted}

        ${Iie}

      ${toe}

      ${noe}

      • ${ioe}
      • ${ooe}
      • ${soe}
      • ${roe}
      • ${aoe}
      • ${loe}
      `:d``}function cEe(e,t){if(!t?.plan)return d``;let{emailSubject:n,emailBody:i,encodedPlanUrl:o}=h5(t.plan);async function s(){xD.hide();let r=e8e(E2,Kie,t?.plan.id,Ov,!0),a=await li(r,!1,ZCe);return t&&a.submitted?t.addToLearnersGroups(a.data,l=>e(l)):xD.show(),d``}return d`
      ${Gie}
      ${Vie}
      ${U(Qie)}
      ${t.plan?.learnerGroups?.map(r=>XGe(t,r))}
      `}function XGe(e,t){let{emailSubject:n,emailBody:i,encodedPlanUrl:o}=h5(e.plan,t.id);return d`
      ${nk}: ${t.name}
      `}function e8e(e,t,n,i=Ei,o=!1){return n?d` `:d``}A();function uw(e,t){return d` `}function j5(e,t,n){return d`
      ${t}
      `}function z5(e,t,n){return d` `}var pf;function dw(e,t,n){if(!t&&!n?.plan)return;let i=d``,o=document.createElement("div");pf=new ye(o),rEe(pf);let s={title:t?.name??"",description:t?.description??"",isOfficial:t?.isOfficial??!1},r,a;switch(e){case"new":let l=t?.id;n?.plan&&(s.title=n?.plan?.contentList.name??"",s.description=n?.plan?.contentList.description??"",s.isOfficial=n?.plan?.contentList.isOfficial??!1,s.learningOutcomes=n?.plan?.learningOutcomes??[],l=n?.plan?.listId,s.isNew=!0),i=uw("plan",{title:Nie,body:j5("create-plan",aEe(s,uCe(n?.collection?.id)),l),footer:z5("plan",pf)}),v(i,o),r=o.querySelector("button[type=submit]"),r&&(r.innerText=Ov,r.setAttribute("aria-label",Ov),r.setAttribute("data-bi-name","create-plan-btn"),r.onclick=async c=>{await YCe(c,pf)}),a=o.querySelector("button#cancel-plan-btn"),a&&a.setAttribute("data-bi-name","cancel-create-plan-btn");break;case"invite":i=uw("plan",{title:th,body:cEe(c=>dw("invite",void 0,c),n),footer:d``}),v(i,o);break;case"progress":i=uw("plan",{title:nh,body:lEe(n),footer:d``}),v(i,o);break;default:break}if(i)pf.show();else throw new Error(`Invalid side panel content type: ${e}`)}function V5(e,t,n){if(!e&&!t&&!n)return d``;xv(T.body);let i=!ht(t),o=!ht(n),s={vm:e,vmPlans:t,vmChallenge:n},r=pw(s),{lastModified:a,totalDuration:l=0,shouldLocalize:c}=r,u=!!e?.isOfficialOrOverride||!!t?.collection.isOfficial||!!e?.isChallengeCollection,p=T.getElementById("loc-submitted-text"),m={pathCountFormat:"",moduleCountFormat:""};if(e){let{pathCountFormat:h,moduleCountFormat:k}=e.getAmountStrings();m.pathCountFormat=h,m.moduleCountFormat=k}let{pathCountFormat:g,moduleCountFormat:f}=m,_=e?.isChallengeCollection?d` ${l?d`
    • ${Oi(l)}
    • `:""} ${g?d`
    • ${g}
    • `:""} ${f?d`
    • ${f}
    • `:""} `:!t?.isPublicView&&a!==void 0?d`
    • ${wW} ${new Intl.DateTimeFormat(b.data.userLocale).format(new Date(a))}
    • `:"";return d`
      ${u||o?d`${NCe(e,t,n)}`:""}
      ${u||o?UCe(e,t,n):""} ${fEe(s)?qCe(e):""}
      ${p||o?"":d`

      ${c?i?w0:DC:""}

      `}
      `}function pw(e){return(e.vm??e.vmPlans??e.vmChallenge)?.collection}function TD(e){let{vm:t,vmPlans:n}=e;return t?.collectionOwner?.userId===w.userId||n?.plan?.userId===w.userId}function G5(e){return e.vmPlans?.hasStarted()===!0}function gEe(e){return e.vmPlans?.isCompleted()===!0}function t8e(e){let{vm:t,vmPlans:n}=e,i=!ht(t),o=!ht(n),s=n?.isPublicView||t?.isPublicView,r=pw(e),a=r?.isOfficial,l=r?.shouldLocalize;return(i||o)&&!(s||l||!a)&&TD(e)}function uEe(e){return!!e.vmPlans&&TD(e)}function n8e(e){return!!e.vmPlans&&TD(e)}function i8e(e){return!!e.vmPlans&&G5(e)&&!gEe(e)}function dEe(e){return!!e.vmPlans&&G5(e)&&!gEe(e)}function pEe(e){return!!e.vmPlans&&!G5(e)&&w.isAuthenticated}function mEe(e){return!!e.vmPlans&&!w.isAuthenticated}function o8e(e){let{vm:t,vmPlans:n}=e,i=pw(e);return!t?.isChallengeCollection&&!TD(e)&&!i?.isOfficial&&(!!t&&t?.reportStatus!=="Unknown"||!!n&&n?.reportStatus!=="Unknown")}function fEe(e){if(!e.vm&&!e.vmPlans)return!1;let{vm:t,vmChallenge:n}=e,i=!ht(t),o=!ht(n),r=pw(e)?.id;return i&&!(t?.isPublicView||t?.isOfficialOrOverride&&t?.collectionOwner?.userId!==w.userId||t?.isChallengeCollection||r==="bookmarks")||o&&!!n?.isChallengeOwner()&&!!n?.isChallengeUpcoming()}function s8e(e){let{vm:t,vmPlans:n,vmChallenge:i}=e,s=pw(e)?.id,r=ku(s),a=Ya("resume-plan-button",Zf,Zf,()=>n?.resumePlan(),"resume-plan-btn",Zf,"button-sm button-primary button-filled");function l(){function y(){let x=T.getElementById("start-or-resume");x&&v(a,x)}if(!w.isAuthenticated){qn(location.href);return}n?.joinPlan({onSuccess:()=>{y()}})}let c=Ya("start-plan-button",da,da,()=>l(),"start-plan-btn",da,"button-sm button-primary button-filled inner-focus"),u=Ya("sign-in-plan-button",rk,rk,()=>l(),"sign-in-plan-btn",rk,"button-sm button-primary button-filled",!n?.isPublicView),p=i?Ya("delete-challenge-button",K7,d` `,()=>i?.deleteChallenge(),"delete-challenge-btn",zo,"button-sm button-clear"):Ya("delete-collection-button",BK,d` `,()=>t?.deleteCollection(),"delete-collection-btn",zo,"button-sm button-clear");async function m(y){y&&(g5(tw(bie,d`${_ie}`,yie,vie,Rs)),Wy.show(),await JCe(Wy,y,()=>{let x=T.getElementById("start-or-resume");x&&v(c,x)}))}let g=()=>Ya("drop-plan-button",T0,d``,()=>m(n),"drop-plan-btn",T0,"button-sm button-clear"),f=d`
      ${Ya("submit-loc-button",$C,d` `,()=>t?.localizeCollection()??n?.localizePlan(),"localize-list-btn",$C,"button-sm button-clear margin-right-none")}
      ${oY}
      `,_=!S.shareLink||s==="bookmarks"?d``:t?d`${OCe(r,t)}`:n?d`${aw(!1,new URL(Zy(n?.plan?.id),location.origin),n?.collection?.name,w.sharingId,!1,"share-plan-btn")}`:i?d`${aw(!1,new URL(ci(i?.challengeDetails?.id),location.origin),i?.challengeDetails?.contentList.name,w.sharingId)}`:d``,h=t?.isChallengeCollection||!w.isAuthenticated||s==="bookmarks"?d``:HCe((y,x,P)=>dw(y,x,P),t,n,i);return d` ${dEe(e)||pEe(e)||mEe(e)?d`
      ${dEe(e)?a:""} ${pEe(e)?c:""} ${mEe(e)?u:""}
      `:""} ${_} ${h} ${o8e(e)?r8e(t,n):""} ${uEe(e)?d`${u8e(n)}`:""} ${t8e(e)?f:""} ${n8e(e)?d`${d8e()}`:""} ${fEe(e)?p:""} ${uEe(e)?d` ${a8e(n)}`:""} ${i8e(e)?g():""} `}function Q5(e,t,n){return!e&&!t&&!n?d``:d`
      ${s8e({vm:e,vmPlans:t,vmChallenge:n})}
      `}function Ya(e,t,n,i,o,s,r,a=!1){return d` `}function r8e(e,t){let n=d`${t?d``:""}`,i=e?.reportStatus==="Active"||t?.reportStatus==="Active",o=Ya("report-a-concern-btn",s0,d` `,()=>oEe(w,null,`${$.lists}/report/concern`,n),e?"collection-report-a-concern-btn":"plan-report-a-concern-btn",s0,"button-sm button-clear margin-right-none",i),s=d`
      ${e?d`

      ${RY}

      ${U(MY)}

      `:d`

      ${joe}

      ${U(zoe)}

      `}
      `;return d`
      ${o} ${i?s:""}
      `}function a8e(e){return e?Ya("delete-plan-button",zo,d` `,async()=>{g5(tw(Fie,Oie,d`${e.plan?.contentList.name??""}`,qie,void 0,void 0,e.plan?.hasParticipants,Uie)),Wy.show(),await WCe(Wy,e)},"delete-plan-btn",zo,"button-sm button-clear"):d``}function l8e(e){return Ya("plan-progress-button",nh,d``,()=>dw("progress",void 0,e),"view-plan-progress-btn",nh,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function c8e(e){return Ya("invite-learners-button",th,d``,()=>dw("invite",void 0,e),"plan-invite-learners-btn",th,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function u8e(e){return e?d`
      • ${l8e(e)}
      • ${c8e(e)}
      `:d``}function d8e(){return d`
        ${[{href:"/training/browse",label:Wo},{href:"/credentials/browse",label:pi},{href:"/docs",label:aa},{href:"/shows/browse",label:To}].map(t=>d`
      • ${t.label}
      • `)}
      `}function K5(e,t){if(!e&&!t)return d``;let n=(e??t)?.collection;if(!n)return d``;let i=e??t,{challengeId:o,learnChallengeId:s,description:r,totalItems:a,name:l,remainingDuration:c,totalDuration:u,isFallbackLocale:p,shouldLocalize:m,sectionCount:g}=n,f=!ht(t),_=t?"plan":i?.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"},k={challenge:"has-background-challenge",collection:"has-background-collection",plan:"has-background-plan"},y={challenge:$7,collection:aK,plan:Mie},x=!i?.isPublicView&&!i?.isChallengeCollection?d` `:"";return d` ${e?.isPublicView&&p&&m?tn(rY):""}

      ${y[_]}

      ${l} ${i?.collectionOwner?.userId===w.userId?d` `:""}

      ${f?bEe(g):""} ${i?.isEditingSummaryTitle?k5(i,i?.isOfficialOrOverride||i?.isChallengeCollection?"has-text-collection-invert":""):""} ${r?d`

      ${r} ${x}

      `:!i?.isEditingSummaryDescription&&!i?.isPublicView&&i?.isChallengeCollection===!1?d`
      ${AN} ${x}
      `:""} ${i?.isEditingSummaryDescription?x5(i,i?.isOfficialOrOverride||i?.isChallengeCollection?"has-text-collection-invert":""):""} ${V5(e,t)} ${e?.isUserAuthenticated&&a&&u&&c&&i?.isChallengeCollection?d`
      ${lw((u-c)/u,o||s,"width-150")}
      `:""}
      ${hEe(t)} ${T5(t)}
      ${Q5(e,t,void 0)}`}function SD(e,t,n){if(!e&&!t&&!n)return d``;let i=(e??t??n)?.collection;if(!i)return d``;let o=!ht(e),s=!ht(t),r=!ht(n);if(r&&n?.isPublicView)return d``;let{description:a,items:l,name:c,remainingDuration:u,totalDuration:p,type:m,challengeId:g,sectionCount:f}=i,_=e??n??t,h=m!=="bookmarks"&&!_?.isPublicView?d``:"",k=s?"plan":r?"challenge":"collection",y={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`

      ${s?Mu:r?sa:gr}

      ${m==="bookmarks"?RC:c} ${o||r||s?d` `:""}

      ${_?.isEditingSummaryTitle?k5(_):""} ${s?bEe(f):""} ${a?d`

      ${a} ${h}

      `:!_?.isEditingSummaryDescription&&m!=="bookmarks"?d`
      ${AN} ${h}
      `:""} ${_?.isEditingSummaryDescription?x5(_):""} ${V5(e,t,n)} ${e?p8e(e):""} ${e?.isUserAuthenticated&&l?.length&&p&&u&&g?d`
      ${lw((p-u)/p)}
      `:""}
      ${hEe(t)} ${T5(t)}
      ${Q5(e,t,n)} `}function hEe(e){return!e||!e.plan?d``:d`

      ${Du}

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

      ${m8e()}

      `:"":d``}function m8e(){return d`
      ${CN}
      `}function bEe(e){if(ht(e))return d``;let t="";switch(e){case 0:return d``;case 1:t=String(Aoe);break;default:t=String(Poe).replace("{numberOfMilestones}",(e??"").toString());break}return d`

      ${t}

      `}Ve();A();A();A();function g8e(e,t){let n=UC,i=kY,o=SY,s=wY,r=Bn("me","collections"),a=uC,l=`/${b.data.userLocale}/`;return e==="plan"&&(n=xie,i=Tie,o=Sie,s=wie,r=Bn("me","plans")),e==="challenge"&&(n=B7,i=j7,o=z7,s=V7,r=Bn("me","challenges"),t&&(a=G7,l=ci(t,"leaderboard"))),d`

      ${n}

      ${i}

      ${o}

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

      ${UC}

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

      ${wC}

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

      ${Ou}

      `;default:return d`

      ${en}

      `}}A();A();var bNn={input:{id:"challenge-primary-subject",name:"challenge-primary-subject",docon:"search",isFullWidth:!0,placeholder:D7,required:!0},getSuggestions:async()=>[],getTitle:e=>e.displayName||e.value,noResultsTemplate:d`${hn}`,itemTemplate:e=>d`${e.displayName||e.value}`};A();Ve();A();Ve();Ve();Wp();A();A();A();A();A();A();A();A();function kEe(e){let t=W5(e.responseErrorCode);if(t!==null)return t;if(!e.collection){let n=Bn("me","collections").toString();return q5(n,"collection")}return e.collection.learnChallengeId&&d5("content",document.getElementById("article-header-breadcrumbs")||void 0,e.collection.learnChallengeId),d` ${e.isOfficialOrOverride||e.collection.challengeId||e.collection.learnChallengeId?K5(e):SD(e)} ${N8e(e)} `}function N8e(e){if(!e.collection)return"";let t=d`

      ${ZK}

      `;return d`
      ${!e.isPublicView&&e.hasActiveTakedowns?U8e(e):""}
      ${t}
      ${H5(e,E0)}
      `}var F8e=cw("ms--lists-violation-banner",PY,d`${U(IY)}`,LY);function U8e(e){return e?.collection?.learnChallengeId?kD(sN.replace("{detailPageLink}",ci(e.collection.learnChallengeId,"details")),cQ):F8e}async function xEe(){let e=document.querySelector("[data-main-column] [data-page-content]");if(!e)return;let t=O8e(ee.pathname);await _e;let n=new vp(t,void 0,!0);await n.beforeActivate();let i=async()=>{v(kEe(n),e)};n.subscribe(et,i),w.subscribe(Sn,i),i()}function O8e(e){let t;if(!e)return t=void 0,t;let n=/collections\/([^\/]+)/,i=e.match(n);return i===null||i&&!i[1]?t=void 0:i&&i[1]&&(t=i[1]),t}function TEe(){let e=document.getElementById("filter-list");if(!e)return;let t=Array.from(document.querySelectorAll(".profile-component")),n=0,i=()=>{clearTimeout(n),n=setTimeout(()=>{q8e(Z0(e.value),t)},250)};e.addEventListener("input",i),e.addEventListener("change",i)}function q8e(e,t){let n=document.querySelector(".no-results"),i=new RegExp(e,"gi");n.hidden=!0;let o=t.filter(s=>(s.hidden=!s.textContent.match(i),s.hidden?!1:s));return o.length===0&&(n.hidden=!1,ut(la,"assertive",1e3)),o}A();A();A();A();var MHn=ft(),$Hn=b.data.userLocale;A();A();function ea(e){let t=[],n=e.display_products?.[0];n&&t.push(n);let i=e.display_roles?.[0];i&&t.push(i);let o=e.levels?.[0],s=e.display_levels?.[0];if(s)t.push(s);else if(o&&o in Oo.levels){let c=Oo.levels[o];t.push(c)}let r=e.display_event_groups?.[0];r&&t.push(r);let a=e.display_azure_categories?.[0];a&&t.push(a);let l=e.display_languages?.[0];return l&&t.push(l),t}function tv(e){return e.map(t=>d`
    • ${t}
    • `)}function J5(e,t){return e?Oi(e):t?dR(t):""}A();var mw=24*60*60*1e3;function fw(e,t,n){let i=oe(),o=S.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return d`
      {let r=s.target;r.type!=="date"&&e.selectByValue(r.value)}} >
      ${Q8e(e.facets)}
      s.value==="custom")?.isSelected}> ${EEe("starting-date",Vse,i.gt)} ${EEe("ending-date",AW,i.lt)}
        `}function Q8e(e){return Object.keys(lr).map(n=>{let i=e.find(o=>o.value.toLowerCase()===n);if(n==="all")return K8e("all",e);{let o=n==="custom"?YY:lr[n];return AEe(n,o,i.isSelected)}})}function AEe(e,t,n=!1){let i=S.enableNewSiteSearch?"font-size-sm":"";return d` `}function K8e(e,t){let n=t.reduce((i,o)=>(o.isSelected&&o.value!=="all"&&(i.selection=!0),i),{selection:!1});return AEe(e,oa,!n.selection)}function EEe(e,t,n){let i=S.enableNewSiteSearch?"font-size-sm font-weight-normal":"",o=S.enableNewSiteSearch?"margin-top-xxs":"";return d` Y8e()} value="${n}" /> `}function Y8e(){let e=document.querySelector("#custom-date-facet-button"),t=document.querySelector("#custom-date-facet-error"),n=[];if(W8e()&&n.push(IW.replace("{date}",new Date().toLocaleDateString())),J8e()&&n.push(LW),t.innerHTML="",n.length){for(let i of n){let o=document.createElement("li");o.innerText=i,t.appendChild(o)}e.disabled=!0}else e.disabled=!1}function W8e(){let e=Z8e().getTime(),t=new Date(document.querySelector("input[name=starting-date]").value).getTime(),n=new Date(document.querySelector("input[name=ending-date]").value).getTime();return t>e||n>e}function J8e(){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 Z8e(){let e=new Date,t=`0${e.getDate()}`.slice(-2),n=`0${e.getMonth()+1}`.slice(-2),i=e.getFullYear();return new Date(`${i}-${n}-${t}`)}function PEe(e,t=new Date(Date.now())){let n=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime();switch(e){case"all":return"";case"last24hours":return gw(t.getTime()-mw);case"last7days":return gw(n-7*mw);case"last30days":return gw(n-30*mw);case"last365days":return gw(n-365*mw);case"custom":return X8e();default:return""}}function X8e(){let e=oe(),t=e.gt,n=e.lt,i=null,o=null;if(t){let s=new Date(t),r=s.getTimezoneOffset()*6e4;i=s.getTime()+r}if(n){let s=new Date(n),r=s.getTimezoneOffset()*6e4;o=s.getTime()+r+mw}return gw(i,o)}function gw(e=null,t=null){let n=[];if(e){e=e<0?0:e;let i=new Date(e).toISOString();n.push(`lastUpdated gt ${i}`)}if(t){t=t<0?0:t;let i=new Date(t).toISOString();n.push(`lastUpdated lt ${i}`)}return n.join(" and ")}function zi(e){let t=[];for(let n in e){let i=Object.keys(e[n]);if(i.length>0){let o=n.charAt(0),s=n!=="resource_type"&&n!=="type"?`${n}/any(${o}: `+i.map(r=>`${o} eq '${r}'`).join(" or ")+")":i.map(r=>`${n} eq '${r.replace("_"," ")}'`).join(" or ");t.push(`(${s})`)}}return t.join(" and ")}function CD(e){let t=[],n=e.scope?`scopes/any(s: s eq '${e.scope}')`:"";n&&t.push("("+n+")");let i=[];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(S.enableNewSiteSearch){let m=c.charAt(0),g=p.map(f=>`(${c}/any(${m}: ${m} eq '${f}'))`).join(" and ");i.push(`(${g})`)}else{let m=c.charAt(0),g=p.map(_=>`${m} eq '${_}'`).join(" or "),f=`(${c}/any(${m}: ${g}))`;i.push(f)}}if(i.length>0){let c=i.join(" and ");t.push("("+c+")")}let o;for(let c in e.selectedFacets.date){o=c;break}let s=o?PEe(o):"";s&&t.push("(category eq 'QnA' and "+s+")");let r;for(let c in e.selectedFacets.author){r=c;break}r&&t.push(`(category eq 'QnA' and authorId eq '${r}')`);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 LEe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",hideCompleted:!0,fetch:e9e,resultTemplate:Z5,resultSortOptions:[{label:hee,orderBy:null},{label:Af,orderBy:"title"},{label:Pf,orderBy:"title desc"},{label:Gf,orderBy:"last_modified desc"},{label:Qf,orderBy:"last_modified"}]}}function Z5(e){let n=`learn-${e.uid?On(e.uid):Xe()}-title`;return d`

        ${Oo.resource_type[e.resource_type]}

        ${e.title}
        `}async function e9e(e){let[t]=await Promise.all([IEe(e,!1),_e]);if(t.count===0&&([t]=await Promise.all([IEe(e,!0),_e]),t.count!==0&&(t.isFuzzySearch=!0)),!S.certificationAndCourseUpdates&&(t.facets&&t.facets.resource_type&&(t.facets.resource_type=t.facets.resource_type.filter(o=>o.value!=="course")),t.results)){let o=t.results.filter(s=>s.resource_type!=="course");t.count<=t.results.length&&(t.count=o.length),t.results=o}let n=t.results.map(o=>o.uid),i;try{i=(await Promise.resolve(S.gamification&&w.isAuthenticated?uf(n):Promise.resolve([]))).reduce(REe("uid"),{})}catch{i={}}for(let o of t.results)o.icon_url&&(o.icon_url=nt(o.icon_url,"en-us")),o.url&&(o.url=nt(o.url,ct.userLocale)),o.uid in i&&(o.progress=i[o.uid]);return t}function t9e(e){return{branch:ft(),environment:"prod",locale:b.data.userLocale,terms:e.terms,facet:["roles","levels","products","subjects","resource_type"],$filter:zi(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 IEe(e,t){let n={...t9e(e),fuzzySearch:t},i=`${$.browse.learn}?${re(n,!0)}`;return M(J(i,{method:"GET"})).then(async s=>{if(s.ok)return await s.json();throw{error:s.json()}})}function REe(e){return(t,n)=>(t[n[e]]=n,t)}function n9e(e){let{progress:t}=e,n=e.duration_in_minutes??e.hours_to_complete;if(!t||t.status==="notStarted"||typeof n!="number")return"";if(t.status==="inProgress"&&n){let o=`${Math.floor((n-t.remainingTime)/n*100)}%`;return d``}return d` `}A();A();function ED(e,t){return(e==="lit"?d:W)`

        ${t?.title??Zoe}

        `}A();Ve();A();Ve();A();function $Ee(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:i9e,resultTemplate:DEe,resultSortOptions:[{label:Af,orderBy:"title"},{label:Pf,orderBy:"title desc"},{label:Gf,orderBy:"last_modified desc"},{label:Qf,orderBy:"last_modified"}]}}function DEe(e){let t=(e.exams||[]).filter(a=>!!a.display_name).map((a,l)=>l===0?d` ${a.display_name}`:d`, ${a.display_name}`),n=t.length>0?d``:"",i=Oo.resource_type[e.resource_type],o=e.resource_type==="examination"?`${Vo} ${e.exam_display_name}: ${e.title}`:e.title,r=`certifications-${e.uid?On(e.uid):Xe()}-title`;return d`

        ${i}

        ${o}
        ${n}
        `}async function i9e(e){let[t]=await Promise.all([MEe(e,!1),_e]);t.count===0&&([t]=await Promise.all([MEe(e,!0),_e]),t.count!==0&&(t.isFuzzySearch=!0));for(let n of t.results)n.icon_url&&(n.icon_url=nt(n.icon_url,"en-us")),n.url&&(n.url=nt(n.url,ct.userLocale));return t}function o9e(e){return{branch:ft(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","resource_type","type"],$filter:zi(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function MEe(e,t){let n={...o9e(e),fuzzySearch:t},i=`${$.browse.certification}?${re(n,!0)}`;return M(J(i,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}A();A();var s9e=Fl(),r9e={orderBy:"latest_episode_upload_at desc"};function FEe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:a9e,resultTemplate:UEe(),taxonomyFacetLookups:{type:"show_type"}}}async function a9e(e){let[t]=await Promise.all([NEe(e,!1),_e]);t.count===0&&([t]=await Promise.all([NEe(e,!0),_e]),t.count!==0&&(t.isFuzzySearch=!0));for(let n of t.results)n.url&&(n.url=nt(n.url,ct.userLocale));return t}function NEe(e,t){let n={...l9e(e),fuzzySearch:t},i=`${$.browse.shows}?${re(n,!0)}`;return M(J(i,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}function l9e(e){return{branch:ft(),locale:b.data.userLocale,terms:e.terms,facet:["products","type"],$filter:zi(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:r9e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function UEe(){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 c9e(e,t)}}function c9e(e,t){let n=e.latest_episode_upload_at?d`

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

        `:"";return d` `}Ig();A();A();Ve();A();var t5n=ft(),n5n=b.data.userLocale;A();Ve();A();A();A();var I9e=L9e();function L9e(){let e=vh.getItem("x-sid");return e||(e=ru(),vh.setItem("x-sid",e),e)}var AD={"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 HEe(){return R.supportLevel==="production"?"958652F9-1B3E-C23A-E908-CDFFFE508ECB":"4459FB26-0753-0E59-AA51-E12E04E8D946"}async function BEe(e){let t={timestamp:String(Date.now()),use_case:e,"HEADER_user-agent":navigator.userAgent,"HEADER_accept-language":AD[b.data.userLocale]??"default",HEADER_origin:location.origin,HEADER_referer:document.referrer},n={method:"POST",body:JSON.stringify(t)},i=J($.encryptCaptchaPayload,n),o=await M(i);if(o.ok)return{blob:(await o.json()).encodedData};throw o.status===400?new Error("Enhance detection payload invalid"):new Error("Failed to generate Arkose enhance detection data")}var jEe=["version","getConfig","reset","run","setConfig"];var R9e=S.chromeless||ile.getItem("playwrightActive"),hw;function zEe(){return hw}var M9e=!1;function $9e(){M9e=!0}async function D9e(){return R9e?!1:(await _e,w.isAuthenticated)}function bw(e){return hw!==void 0||(hw=D9e().then(t=>t?Wr("https://client-api.arkoselabs.com/v2/api.js",null,void 0,void 0,!0).then(()=>N9e(e)).then(U9e).catch(n=>{throw $9e(),new Error("Failed to load Arkose library")}):Promise.resolve())),hw}function N9e(e){return new Promise(t=>{H.setupEnforcement=function(n){F9e(n,e).then(t)}})}async function F9e(e,t){let n=AD[b.data.userLocale]||"default";return e.setConfig({language:n,publicKey:HEe(),data:await(async()=>{let i;try{S.arkoseEncrypt&&(i=await BEe(t))}catch{}return i})()}),O9e(e),e}function U9e(e){let t=jEe.filter(n=>e[n]===void 0);if(t.length>0)throw new Error(`Missing arkose dependencies: ${t.join(", ")}`)}function O9e(e){H.arkoseEnforcement=e}function iV(){return H.arkoseEnforcement}A();function _w(e){return encodeURIComponent(e==="high-contrast"?` `:e==="dark"?` `:` `)}var yw=class{};function PD(e,t){return W` `}A();var LD="captcha-container",WEe,JEe,VEe=0,q9e=3,ZEe=n0e(),ID=class{},oV=new je,GEe=e=>{t0e(e.token),WEe()},H9e={title:Lu,imgsrc:e=>`data:image/svg+xml,${_w(e)}`,message:ol,description:l0,buttonText:$u,event:ID,type:"static"},B9e={title:Y2,iframeContainerId:LD,type:"iframe"},QEe={mode:"inline",selector:"#"+LD,onCompleted:GEe,onSuppress(e){e.suppressed&&(GEe(e),KEe("suppressed",w.userId,I("lab-id")))},async onError(e){KEe("failed",w.userId,I("lab-id"));let t=await K9e(),n=iV();if(t&&VEe{QEe.onCompleted?.(n),e.onCaptchaCompleted?.()}}:{}}),t.run(),await ZEe,t.reset()}catch{e.renderError?.()}return z9e(),JEe}var U8n=d`

        ${Y2}

        `;async function e0e(){let e=null,t=await XEe({renderCaptcha:()=>{e=YEe(B9e),e.show()},renderError:()=>{e=YEe(H9e),e.show()}});if(typeof t!="string"||!t||t.trim()==="")throw new Error("Captcha failed");return e&&e.hide(),t}function t0e(e){JEe=e}function j9e(){t0e("")}function n0e(){return new Promise(e=>{WEe=e})}function z9e(){ZEe=n0e()}function V9e(){return T.querySelector("#"+LD)}function G9e(){let e=V9e();e&&e.replaceChildren()}function Q9e(e,t){e.setConfig({...e.getConfig(),...t})}function KEe(e,t,n){let i=n||null;ve({behavior:le.OTHER,actionType:Ce.OTHER,content:{event:"arkose-result",labInstanceId:i,userInstanceId:t,message:e}})}async function K9e(){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=T.createElement("div");t.classList.add("modal-content","margin-none","width-full"),t.tabIndex=-1;let n=PD(oV,e).create();return Bu(oV,ID,()=>{location.reload()}),n.bind(oV,or),n.appendTo(t),new ye(t)}A();var J9e=new Promise(()=>{});A();Ve();async function oc(e,t){let n=await op(t);if(!n||!e)return;let i=e.hasOwnProperty("parents");if(qt){let s=r=>"/"+r.split("/").slice(2).join("/");e&&(e=Yr(e),e.url=s(e.url)),i&&e&&e.parents&&(e.parents[0].url=s(e.parents[0].url))}let o=I("page_kind");switch(o){case"appliedSkills":n.add({title:pi,url:`/${n.basePath}/credentials`},{title:pc,url:`/${n.basePath}/credentials/browse/`});break;case"appliedSkillsAssessment":n.add({title:pi,url:`/${n.basePath}/credentials`},{title:pc,url:`/${n.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${n.basePath}${e.url}`});break;case"appliedSkillsAssessmentReport":n.add({title:pi,url:`/${n.basePath}/credentials`},{title:pc,url:`/${n.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${n.basePath}${e.url}`});break;case"role":case"certification":n.add({title:S.previewCredentialsL1?pi:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Au,url:S.previewCredentialsL1?`/${n.basePath}/credentials/browse/`:`/${n.basePath}/certifications/browse/`});break;case"certificationrenewal":n.add({title:S.previewCredentialsL1?pi:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Au,url:S.previewCredentialsL1?`/${n.basePath}/credentials/browse/`:`/${n.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${n.basePath}${e.url}`});break;case"certificationRenewalAssessment":case"certificationRenewalAssessmentReport":n.add({title:S.previewCredentialsL1?pi:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Au,url:S.previewCredentialsL1?`/${n.basePath}/credentials/browse/`:`/${n.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${n.basePath}${e?.url}/`},{title:g2,url:`/${n.basePath}${e?.url}/renew/`});break;case"examination":n.add({title:S.previewCredentialsL1?pi:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Au,url:S.previewCredentialsL1?`/${n.basePath}/credentials/browse/`:`/${n.basePath}/certifications/browse/`});break;case"practiceAssessmentReport":n.add({title:S.previewCredentialsL1?pi:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Au,url:S.previewCredentialsL1?`/${n.basePath}/credentials/browse/`:`/${n.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${n.basePath}${e.url}/`});break;default:throw new Error(`Unsupported page_kind "${o}".`)}n.render()}var kp=class{constructor(t,n=1){this.dateFormat=n;this.totalTimeLeft=0;this.isExpired=!1;this.endDate=t;let i=setInterval(()=>{this.setTotalTimeLeft(),this.isExpired=this.totalTimeLeft<=0,this.isExpired&&clearInterval(i)},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 n="dhms";if(this.dateFormat===1)return t.length>=2?t.substr(0,2):t.length===1&&"dh".indexOf(t)>-1?n.substr("dh".indexOf(t),2):"ms";if(this.dateFormat===0)return"hms";throw new Error("Invalid date format used in DateCountdown")}};q([V],kp.prototype,"endDate",2),q([V],kp.prototype,"totalTimeLeft",2),q([V],kp.prototype,"isExpired",2);var t7e=W` ${e=>e.displayFormat.indexOf("d")>-1?`${Bv.replace("{days}",e.days.toString())}`:null} ${e=>e.displayFormat.indexOf("h")>-1?`${EZ.replace("{hrs}",e.hrs.toString())}`:null} ${e=>e.displayFormat.indexOf("m")>-1?`${Fp.replace("{numberOfMinutes}",e.mins.toString())}`:null} ${e=>e.displayFormat.indexOf("s")>-1?`${Koe.replace("{seconds}",e.seconds.toString())}`:null} `,n7e=W` ${mn(e=>[{value:e.hrs,label:Ru},{value:e.mins,label:Kv},{value:e.seconds,label:C0}],W` ${(e,t)=>t.parent.addLeadingZero(e.value)} ${e=>e.label} ${Re((e,t)=>!t.isLast,W` : `)} `,{positioning:!0})} `,i0e=W` ${Re(e=>e.totalTimeLeft>0,W` ${Re(e=>e.dateFormat===1,t7e)} ${Re(e=>e.dateFormat===0,n7e)} `)} `;A();A();var o7e={"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 Tn(e){let t={"applied-skill":"credentials/applied-skills",practice:`credentials/certifications${oe()["practice-assessment-type"]==="certification"?"":"/exams"}`,renewal:"credentials/certifications"},n={"applied-skill":"applied-skill",practice:`${oe()["practice-assessment-type"]==="certification"?"certification":"exam"}`,renewal:"certification"},i={"applied-skill":[],practice:[1,2],renewal:[0,1,2]},o={"applied-skill":"",practice:"practice",renewal:"renew"},s={0:"",1:"assessment",2:"results"},r={accommodationRequested:hke(),"api-branch":oe()["api-branch"],assessmentid:e.query?.assessmentid,assessmentId:e.query?.assessmentId,"assessment-type":e.assessmentType,"certification-id":e.credentialId,"display-captcha":e.query?.["display-captcha"]??oe()["display-captcha"],"practice-assessment-type":oe()["practice-assessment-type"],preview:oe().preview,"skip-verification":e.query?.["skip-verification"]??yS(),snapshotId:e.query?.snapshotId,"snapshot-version":vS(),themebranch:oe().themebranch},a=o7e[e.assessmentType][e.pageType][R.reviewFeatures?0:1],l={origin:ee.origin+"/",locale:ct.userLocale+"/",test:qt?"test/training/":"",credentialType:t[e.assessmentType].replace(qt&&["practice","renewal"].includes(e.assessmentType)?"credentials/":"","")+"/",credentialId:e.credentialId.replace(new RegExp("^"+n[e.assessmentType]+"."),"").replace(qt?/\-test$/:"","")+"/",credentialPathname:e.credentialPathname?e.credentialPathname.replace(/^\/|\/$/g,"")+"/":null,subPath:i[e.assessmentType].includes(e.pageType)?o[e.assessmentType]+"/":"",pageType:s[e.pageType],query:a.length?"?"+re(a.reduce((u,p)=>(u[p]=r[p],u),{})):""};return`${l.origin}${l.locale}${l.credentialPathname??l.test+l.credentialType+l.credentialId}${l.subPath}${l.pageType}${l.query}`}A();var rV=class{constructor(t,n,i,o,s){this.location=t;this.dataBinding=n;this.templateBinding=o;this.source=null;this.view=null;this.data=null;this.originalContext=void 0;this.childContext=void 0;this.dataBindingObserver=sn.binding(n,this,i),this.templateBindingObserver=sn.binding(o,this,s)}bind(t,n){this.source=t,this.originalContext=n,this.childContext=Object.create(n),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)}},aV=class extends Wl{constructor(n,i){super();this.dataBinding=n;this.templateBinding=i;this.createPlaceholder=At.createBlockPlaceholder;this.isBindingVolatile=sn.isVolatileBinding(n),this.isTemplateBindingVolatile=sn.isVolatileBinding(i)}createBehavior(n){return new rV(n,this.dataBinding,this.isBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile)}};function rn(e,t){let n=typeof t=="function"?t:()=>t;return new aV(e,n)}A();function RD(e){let t=function(){let s=I("sourceContentUid");return s?s.split(".")[1]:e.pathname.split("/")[qt?6:4]}(),n=e.searchParams.get("display-captcha"),i=e.searchParams.get("snapshotId"),o=e.searchParams.get("skip-verification");return{credentialId:t,displayCaptcha:n,skipverification:o,snapshotId:i}}function MD(e,t,n){let o=T.title.split("|").pop();return`${t.replace(n,e)} | ${o}`}var lV=W`

        ${e=>e.title}

        ${e=>e.msg}

        ${e=>e.primaryButton.text} ${Re(e=>"secondaryButton"in e,W` ${e=>e.secondaryButton.text}`)}
        `;function cV(e){return a0e({buttonText:e,template:r0e(),hasPrimaryButton:!0,isDisabled:!0})}function r0e(){return W`

        ${G8}

        ${rn(e=>e,i0e)}

        `}function a0e(e){let t=e.isDisabled?"disabled":"",n=e.hasPrimaryButton?"button-primary":"";return W`
        ${rn(i=>i,e.template)}
        `}function s7e(e){let n=!(e.riskData?.appealStatus&&e.riskData?.appealStatus==="denied"),i=e.riskData?.appealStatus==="approved"?!1:!!(e.riskData?.appealStatus||e.isDisabled),o=i9;return{alertText:{approved:Yn(o9),new:s9,denied:b2,defaultMSg:o}[e.riskData?.userStatus==="NotAllowed"?e.riskData.appealStatus??"defaultMSg":"defaultMSg"],hasPrimaryButton:n,isDisabled:i}}function uV(e){let{alertText:t,hasPrimaryButton:n}=s7e({isDisabled:e.isDisabled,riskData:{appealStatus:e.riskData?.appealStatus,userStatus:e.riskData?.userStatus}});return a0e({buttonText:e.buttonText,template:W`
        ${At.createHTML(Yn(t))}
        `,hasPrimaryButton:n,isDisabled:!0})}A();var p0e={InvalidRequest:q8,LabError:H8,SubscriptionUnavailable:D8,NotAllowed:Yn(B8),InvalidCaptchaToken:l0,default:Ou};var $D=class{},nv=class{},DD=class{},kw=class{};var pV={title:Lu,type:"static",imgsrc:e=>`data:image/svg+xml,${_w(e)}`,message:ol,description:$8,buttonText:$u,event:nv};var m0e={title:N8,type:"static",imgsrc:e=>`data:image/svg+xml,${_w(e)}`,message:F8,description:U8,buttonText:O8,event:kw};var g0e="labStatusReporter",p7e="fullScreenMessageTitle",m7e="fullScreenProgressText",g7e="fullScreenProgressWrapper",oWn=`#${p7e}`,sWn=`#${g7e} > #${m7e}`,f0e="labclient.labondemand.com";var mV=(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))(mV||{}),gV=(n=>(n.labCouldNotBeLaunched="sorry, your lab could not be launched",n.launchError="launch error",n))(gV||{});function sc(e,t,n,i){switch(n&&e.updateProgress(n),t){case"labInitialized":e.start();break;case"successfullyLoaded":e.succeed();break;case"iframeFailure":case"serverBadRequest":e.fail(i);break;case"unauthorized":case"labNotFound":case"labPreviouslyScored":case"userNavigatedAway":e.cancel();break;case"reportLabProgress":case"labErrorFound":break}}var Wa=class extends je{constructor(n,i){super();this.appliedSkillAssessment=null;this.viewState=0;this.modal=null;this.hasLabConnected=!1;this.captchaToken="";this.mostRecentLabStatusMessage=null;this.appliedSkillScenarioTimeout=6e5;this.reportTelemetry=n=>{if(n.id){this._services.reportLabStatus({id:n.id,message:n.message??null});return}n.message&&(this.mostRecentLabStatusMessage=n.message)};this.urlContext=i,this._services=n,this.launchLabScenario=new ko("Commerce.Docs.LearnProgress_AppliedSkill_LaunchLab",this.appliedSkillScenarioTimeout),this.onMessageHandler=o=>{if(o&&o.origin.startsWith("https://")&&o.origin.endsWith(f0e)&&o.data)try{let s=JSON.parse(o.data);s.event_id===g0e&&(this.updateLabConnected(s),this.reportScenarioHealth(s),this.reportUpdatedTelemetry(s))}catch{}},this.onBeforeUnloadHandler=o=>{o.preventDefault(),o.returnValue=""},this.onUnloadHandler=()=>{this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId)},this.userNavigatedAway=()=>{sc(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(()=>{ee.href=ND(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(()=>{ee.href=ND(0,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}catch{window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.publish(new yw)}}async expireTime(){try{let n=await this._services.getAppliedSkillAssessment(this.appliedSkillAssessment.labSession.labSessionId,this.captchaToken),i=Date.parse(this.appliedSkillAssessment.labSession.expiresAt),o=Date.parse(n.labSession.expiresAt);if(o<=i){window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let s=Bu(this,kw,this.submit.bind(this));this.iframe.classList.add("display-none"),document.documentElement.focus(),this.showModal(m0e).then(()=>{s(),this.submit()})}else{this.appliedSkillAssessment.labSession.expiresAt=n.labSession.expiresAt;let s=o-Date.now();setTimeout(this.expireTime.bind(this),s)}}catch{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let n=Bu(this,nv,()=>{ee.reload()});this.showModal(pV).then(i=>{n()})}}showModal(n){let i=document.createElement("div");i.classList.add("modal-content","margin-none","width-full"),i.tabIndex=-1;let o=PD(this,n).create();return o.bind(this,or),o.appendTo(i),this.modal=new ye(i),this.modal.show()}async getCaptchaToken(){return bw("Applied Skills"),await e0e().catch(n=>{throw this.viewState=3,n})}reportScenarioHealth(n){if(n.errors.length>0&&sc(this.launchLabScenario,"labErrorFound",n.errors.join(", ")),n.currentConnectionState===1)sc(this.launchLabScenario,"successfullyLoaded");else if(n.messageProgressTitle){let i=this.getScenarioHealthEventFromMessageTitle(n.messageProgressTitle);i&&(i==="iframeFailure"?sc(this.launchLabScenario,i,void 0,n.messageProgressTitle):sc(this.launchLabScenario,i,n.messageProgressTitle))}}updateLabConnected(n){n.currentConnectionState===1&&(this.hasLabConnected=!0)}reportUpdatedTelemetry(n){n.currentConnectionState!==n.lastConnectionState&&this.reportTelemetry({id:this.appliedSkillAssessment?.labSession?.labSessionId,message:n})}getScenarioHealthEventFromMessageTitle(n){let i=new Map([[gV,"iframeFailure"],[mV,"reportLabProgress"]]);for(let[o,s]of i)if(Object.values(o).some(r=>n.includes(r)))return s;return null}async initAppliedSkillSession(n){try{sc(this.launchLabScenario,"labInitialized");let i=!!n.snapshotId;if(this.appliedSkillAssessment=i?await this._services.getAppliedSkillAssessment(n.snapshotId,this.captchaToken):await this._services.createAppliedSkillAssessment(n.credentialId,this.captchaToken,n.skipverification,R.reviewFeatures&&this.urlContext.displayCaptcha==="true").catch(async s=>{let r=s,a=await em(r);if(r.type==="BadRequestError"){if(a==="MissingCaptchaToken")return this.captchaToken=await this.getCaptchaToken(),this._services.createAppliedSkillAssessment(n.credentialId,this.captchaToken,n.skipverification);throw r.response.errorCode=a||void 0,r}throw s}),this.reportTelemetry({id:this.appliedSkillAssessment.labSession.labSessionId}),this.appliedSkillAssessment.labSession.scored==="Scored"||this.appliedSkillAssessment.labSession.scored==="ScoringInitiated"){sc(this.launchLabScenario,"labPreviouslyScored"),Promise.resolve().then(()=>{ee.href=ND(2,n,this.appliedSkillAssessment.appliedSkill.url)});return}this.urlContext.snapshotId=this.appliedSkillAssessment.labSession.labSessionId;let o=new URL(ee.href);o.searchParams.set("snapshotId",this.appliedSkillAssessment.labSession.labSessionId),Ki.replaceState(null,"",o),oc({title:this.appliedSkillAssessment.appliedSkill.title??Jw,url:this.appliedSkillAssessment.appliedSkill.url||""},document.getElementById("article-header-breadcrumbs")||void 0),this.subscribe($D,this.submit.bind(this)),this.subscribe(DD,this.cancel.bind(this)),document.title=MD(this.appliedSkillAssessment.appliedSkill.title??Jw,Yn(M8),"{appliedSkillTitle}"),this.checkEstimatedReadyAt(i)}catch(i){let o=i,s=await em(o)??o.response?.errorCode;if(o.type==="NotFoundError"){sc(this.launchLabScenario,"labNotFound");let r=new URL(ee.href);r.searchParams.delete("snapshotId"),Ki.replaceState(null,"",r),this.viewState=3;return}if(o.type==="UnauthorizedError"||s==="QuotaExceeded"||S.disabledAppliedSkills&&s==="AppliedSkillDisabled")sc(this.launchLabScenario,"unauthorized"),ee.href=ND(0,this.urlContext);else{sc(this.launchLabScenario,"serverBadRequest",void 0,i);let r=Bu(this,nv,()=>{ee.reload()}),a=Object.assign({},pV,{message:ol,description:p0e[s??"default"]});this.showModal(a).then(l=>{r()})}}}setTesting(){let i=Date.parse(this.appliedSkillAssessment.labSession.expiresAt)-Date.now();setTimeout(this.expireTime.bind(this),i),window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.viewState=2}checkEstimatedReadyAt(n=!1){let o=(Date.parse(this.appliedSkillAssessment.labSession.estimatedReadyAt)||-1/0)-Date.now();n||o<=0||this.hasLabConnected?this.setTesting():(this.viewState=1,setTimeout(this.checkEstimatedReadyAt.bind(this),1e3))}};q([V],Wa.prototype,"appliedSkillAssessment",2),q([V],Wa.prototype,"urlContext",2),q([V],Wa.prototype,"viewState",2),q([V],Wa.prototype,"modal",2),q([V],Wa.prototype,"hasLabConnected",2),q([V],Wa.prototype,"captchaToken",2),q([V],Wa.prototype,"mostRecentLabStatusMessage",2),q([V],Wa.prototype,"subscription",2);function ND(e,t,n){return Tn({credentialId:t.credentialId,credentialPathname:n??void 0,assessmentType:"applied-skill",pageType:e,query:{"display-captcha":t.displayCaptcha,snapshotId:e===2?t.snapshotId:void 0,"skip-verification":t.skipverification}})}var f7e={loadingContext:{loadingType:!T.referrer||new URL(T.referrer).pathname.match(/.*(assessment|results)$/gi)?.length?0:1,navigation:{assessmentPageUrl:(e,t,n,i)=>Tn({credentialId:e,assessmentType:"applied-skill",pageType:1,credentialPathname:n,query:{"display-captcha":i,snapshotId:void 0,"skip-verification":void 0}}),profileOverviewPageUrl:dn("me","certifications")}},loadedContext:{reportSummary:{passed:{titleDate:e=>e,imgSrc:e=>e||"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main",shareMsg:sk,supertitle:Yn(e9),title:e=>e||Z1},failed:{supertitle:Xw,title:e=>e||Z1}},reportScores:{scoresTitle:K8,scoreType:0,scoreGuidanceUrl:"https://learn.microsoft.com/credentials/support/assessment-scoring-reports#understand-an-assessment-lab-score-report"},reportStudyGuide:{guideType:0,studyGuideCollectionFormTitle:Yn(J8),studyGuideItemsTitle:W8}},errorContext:{reportError:e=>({NotFoundError:{title:la,msg:J1,primaryButton:{text:Zw,url:Tn({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}},UnexpectedError:{title:Lu,msg:t9,primaryButton:{text:Zw,url:Tn({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}}})}};var FD=W` ${Re(e=>e.viewConfig.loadingContext.loadingType===1,null)} ${Re(e=>e.viewConfig.loadingContext.loadingType===0,W`

        ${Y8}

        ${At.createHTML(Z8.replace("{duration}","60"))}

        `)} `;var xw=class{constructor(t){if(this.errorType=t.error.type,this.errorType==="UnauthorizedError"&&R.accessLevel!=="local"&&!w.isAuthenticated&&qn(),this.errorType==="NotFoundError"&&t.urlContext.snapshotId){let n=new URL(location.href);n.searchParams.delete("snapshotId"),Ki.replaceState(null,"",n)}}};q([V],xw.prototype,"errorType",2);var fV=e=>W`${rn(t=>t.viewConfig.errorContext.reportError(t.urlContext)[e??t.reportError.errorType],lV)}`,y0e=W` ${Re(e=>e.reportError.errorType==="NotFoundError",fV())} ${Re(e=>e.reportError.errorType==="UnauthorizedError",fV("UnexpectedError"))} ${Re(e=>e.reportError.errorType==="UnexpectedError",fV())} ${Re(e=>e.reportError.errorType==="TimeoutError",FD)} `;var rc=class{constructor({high:t=0,low:n=0,max:i=1,min:o=0,optimum:s=0,value:r=0,classModifiers:a=""}){this.high=t,this.low=n,this.max=i,this.min=o,this.optimum=s,this.value=r,this.classModifiers=a}};q([$o],rc.prototype,"high",2),q([$o],rc.prototype,"low",2),q([$o],rc.prototype,"max",2),q([$o],rc.prototype,"min",2),q([$o],rc.prototype,"optimum",2),q([$o],rc.prototype,"value",2),q([V],rc.prototype,"classModifiers",2);var ac=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,n,i){return new rc({high:100,low:n,max:100,optimum:n,value:t,classModifiers:i})}createMeters(t){return t.map(n=>({...n,meter:this.createMeter(n.correctPercent,n.passingPercent,"is-small")}))}};q([V],ac.prototype,"correctPercent",2),q([V],ac.prototype,"overallMeter",2),q([V],ac.prototype,"passed",2),q([V],ac.prototype,"passingPercent",2),q([V],ac.prototype,"scoredAt",2),q([V],ac.prototype,"scores",2);var v0e=W`
        `,k0e=W`

        ${e=>e.reportScores.passed?Pv:Av}

        ${v7} ${e=>zr.format(e.reportScores.scoredAt)}

        ${P7}${e=>dC.replace("{score}",e.reportScores.correctPercent.toString())}${e=>e.passed?Pv:Av}

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

        ${rn(e=>e.reportScores.overallMeter,v0e)}

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

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

        ${e=>e.title}

        ${Re((e,t)=>t.parent.viewConfig.loadedContext.reportScores.scoreType===1,W` ${rn(e=>e.meter,v0e)}`)}
        `,{positioning:!0})}
        ${Re(e=>e.viewConfig.loadedContext.reportScores.scoreGuidanceUrl,W` `)}
        `;A();async function UD(e,t,n=Q9){let i=document.createElement("div");i.classList.add("modal-content");let o=new ye(i),s=new Intl.DateTimeFormat(e).format(new Date).replace(/\//g,"-"),r=d` `;v(r,o.contentElement),o.contentElement.querySelector("button[type=submit]").onclick=async a=>{if(!w.isAuthenticated)return;a.preventDefault(),a.target.classList.add("is-loading");let c=document.getElementById("save-to-collection");(await R$(c,t)).hasError||(o.hide(),QS("added"))},o.show()}var iv=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],iv.prototype,"hasStudyGuideSummaries",2),q([V],iv.prototype,"studyGuide",2);var b7e=W`
        ${x7}
        ${Re(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,W` ${rC} `)} `,_7e=W`
        ${e=>e.type.toLowerCase()==="path"?jf:So} ${e=>e.data.title} ${e=>Oi(e.data.durationInMinutes)}
        `,y7e=W`

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

        `,v7e=W`

        ${X8}

        ${z8}

        ${mn(e=>e.reportStudyGuide.studyGuide.items,W` ${Re((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===0,_7e)} ${Re((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===1,y7e)} `)} `,x0e=W`

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

        ${Re(e=>!e.reportStudyGuide.hasStudyGuideSummaries,b7e)} ${Re(e=>e.reportStudyGuide.hasStudyGuideSummaries,v7e)}
        `;var Wn=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 kp(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],Wn.prototype,"assessmentId",2),q([V],Wn.prototype,"credentialExpiresOn",2),q([V],Wn.prototype,"credentialIcon",2),q([V],Wn.prototype,"credentialId",2),q([V],Wn.prototype,"credentialName",2),q([V],Wn.prototype,"credentialUrl",2),q([V],Wn.prototype,"dateCountdown",2),q([V],Wn.prototype,"eligibleToRenewByDate",2),q([V],Wn.prototype,"isCurrentlyEligible",2),q([V],Wn.prototype,"isDisabled",2),q([V],Wn.prototype,"passed",2),q([V],Wn.prototype,"profileUrl",2),q([V],Wn.prototype,"retakeEligibleOn",2),q([V],Wn.prototype,"scoredOn",2),q([V],Wn.prototype,"shareableUrl",2),q([V],Wn.prototype,"titleDate",2),q([V],Wn.prototype,"riskData",2);var k7e=W`
        ${Re(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||"")}

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

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

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

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

        `)} ${Re(e=>"profilePageBtnTxt"in e.viewConfig.loadedContext.reportSummary.passed,W` ${e=>e.viewConfig.loadedContext.reportSummary.passed.profilePageBtnTxt} `)} ${Re(e=>"shareMsg"in e.viewConfig.loadedContext.reportSummary.passed,W`
        ${Re(e=>"profileUrl"in e.reportSummary,W` ${j8} `)} ${Re(e=>S.appliedSkillsShare,W`
        ${e=>ED("fast",{extraClasses:{paragraph:"display-inline-block margin-right-xxs font-size-sm has-text-centered-mobile ",link:"margin-right-xxs font-size-md"},sharingLinks:ew(e.reportSummary?.shareableUrl||"",e.reportSummary?.credentialName??Yn(Q1),{achievementCopyTitle:{overrideTitle:e.reportSummary?.credentialName??Yn(G1),isUnquoted:!e.reportSummary?.credentialName}})})} `)}
        `)}
        `,x7e=W` ${Re(e=>!!e.reportSummary?.credentialName,W`

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

        `)}

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

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

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

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

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

        `)} ${Re(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))}

        `)} ${a0} `:W`${rn(t=>t.reportSummary.dateCountdown,cV(a0))}`}`,T0e=W`
        ${Re(e=>e.reportSummary?.passed,k7e)} ${Re(e=>!e.reportSummary?.passed,x7e)}
        `;var ta=class{constructor(t){this.viewState=2;(async()=>{let n=t.urlContext??RD(new URL(location.href));this.urlContext=n;let i;this.viewConfig=t.viewConfig;let o;try{i=await t.getAssessmentReport(n),this.reportSummary=new Wn(i),this.reportScores=new ac(i),this.reportStudyGuide=new iv(i),this.passed=i.passed,o=1}catch(s){let a=await em(s);if(a==="TimeoutError"||a==="ScoringTimeout"){location.reload();return}this.reportError=new xw({error:s,urlContext:n}),o=0}finally{this.viewState=o,t.afterActivated(i?{credentialName:i.credentialName,credentialUrl:i.credentialUrl}:null)}})()}};q([V],ta.prototype,"passed",2),q([V],ta.prototype,"reportError",2),q([V],ta.prototype,"reportScores",2),q([V],ta.prototype,"reportStudyGuide",2),q([V],ta.prototype,"reportSummary",2),q([V],ta.prototype,"urlContext",2),q([V],ta.prototype,"viewConfig",2),q([V],ta.prototype,"viewState",2);var S0e=W` ${Re(e=>e.viewState===2,FD)} ${Re(e=>e.viewState===1,W`
        ${rn(e=>e,T0e)} ${rn(e=>e,k0e)} ${Re(e=>!e.passed,W`${rn(e=>e,x0e)}`)}
        `)} ${Re(e=>e.viewState===0,y0e)} `;function w0e(){if(document.querySelectorAll("h1").length>1){let t=document.querySelector("[data-main-column] div:not(.content)>h1");t&&t.remove()}}var OD=class{constructor(t){this.sessionId=PF(t.sessionId)}};var hV={async createSession(e){if(!S.assessmentMergerLearnAssessment)return yu.createSession(e);let t=re({accommodationRequested:e.accommodationRequested,assessmentId:e.assessmentId,locale:e.locale,sessionVersion:e.sessionVersion,showAllQuestions:e.showAllQuestions,skipVerification:e.skipVerification}),n=`${$.learnAssessment}/rendering/assessments/${e.assessmentId}?${t}`,o=J(n,{method:"POST"}),s=await M(o);if(me(s),s.ok)return await s.json();throw s.status===400?new He(s,"BadRequestError"):s.status===401?new He(s,"UnauthorizedError"):s.status===404?new He(s,"NotFoundError"):new He(s,"UnexpectedError")},async getSessionAnswerSummary(e){if(!S.assessmentMergerLearnAssessment)return yu.getSessionAnswerSummary();let t=`${$.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result/answers`,i=J(t,{method:"GET"}),o=await M(i);if(me(o),o.ok)return await o.json();throw o.status===400?new He(o,"BadRequestError"):o.status===401?new He(o,"UnauthorizedError"):o.status===404?new He(o,"NotFoundError"):new He(o,"UnexpectedError")},async getPreviousAttemptsByParentId(e){if(!S.assessmentMergerLearnAssessment)return yu.getPreviousAttemptsByParentId();let t=`${$.learnAssessment}/rendering/assessments/linkedcontent/${e.parentId}/sessions/attempts`,i=J(t,{method:"GET"}),o=await M(i);if(me(o),o.ok)return await o.json();throw new He(o,"UnexpectedError")},async getRenewalEligibility(){if(!S.assessmentMergerLearnAssessment)return yu.getRenewalEligibility()},async getSessionResult(e){if(!S.assessmentMergerLearnAssessment)return yu.getSessionResult();let t=`${$.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result`,i=J(t,{method:"GET"}),o=await M(i);if(me(o),o.ok)return await o.json();throw o.status===400?new He(o,"BadRequestError"):o.status===401?new He(o,"UnauthorizedError"):o.status===404?new He(o,"NotFoundError"):new He(o,"UnexpectedError")},async submitSession(e){if(!S.assessmentMergerLearnAssessment)return yu.submitSession();let t=`${$.learnAssessment}/rendering/assessments/sessions/${e.sessionId}`,n={method:"PUT",body:JSON.stringify(e.userSelections)},i=J(t,n),o=await M(i);if(me(o),o.ok)return await o.json();throw o.status===400?new He(o,"BadRequestError"):o.status===401?new He(o,"UnauthorizedError"):o.status===404?new He(o,"NotFoundError"):new He(o,"UnexpectedError")}};var KXn=R.supportLevel==="production"&&R.reviewFeatures?"include":void 0;var C0e=async(e,t,n)=>{if(!S.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 i=`${$.learn.skillAssessment}/practice/assessments/${e}/sessions/${t}/result/answers?${re({locale:n})}`,s=J(i,{method:"GET",credentials:"include",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"}},!0),r=await M(s);if(me(r),r.ok)return await r.json();throw new Error(`get practice answer summary api responded with ${r.status} ${r.statusText}`)}return new $M(await hV.getSessionAnswerSummary(new OD({sessionId:t})),n).items};A();A();A();Ve();A();async function A0e(){let e=`${$.profile.reporting}/createInvitation`,n=await M(J(e,{method:"POST"}));if(n.ok)return await n.json();throw new Error(`createInvitation api responded with ${n.status} ${n.statusText}`)}async function P0e(){let e=`${$.profile.reporting}/status`,t=await M(J(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 R0e(){await Se,I("req_accommodation")==="true"&&C7e(),I("org_reporting")==="true"&&await E7e()}function C7e(){let e=document.getElementById("extend-time");if(!e)return;let{certificationUrl:t}=oe(),n=e.firstElementChild.firstElementChild;n.href=`${t}&accommodationRequested=true`}async function E7e(){let e=document.getElementById("org-reporting-container"),t=document.getElementById("org-reporting-button");if(!e||!t)return;let n=t.innerText;if(await _e,w.isAuthenticated){let i,o=oe().signInRedirect;if(w.userType==="standard")return o==="true"&&(jt({signInRedirect:null},"replaceState"),qD(null,L0e)),I0e("msa-error",L0e,e,n);try{i=await P0e()}catch{return I0e("error",$0e,e,n)}if(o==="true"&&M7e(i),i)return R7e(i,e,n);let s=d``;v(s,e)}else{let i=N0e(),o=d``;v(o,e)}}async function M0e(){let e=document.createElement("div"),t=new ye(e);return v(A7e(t),e),await t.show()}function A7e(e){let t=d`

        ${U(oee)}

        `,n=iee,i=d`
        `;return Tw(n,t,i)}async function P7e(e){I7e();try{let t=await A0e();ee.href=t.nextStepUrl}catch{qD(e,$0e)}}function I7e(){let e=document.getElementById("cancel-terms"),t=document.getElementById("continue-terms"),n=document.getElementById("create-invitation-alert");t&&(t.classList.add("is-loading"),n.setAttribute("role","alert"),n.textContent=nee,e.setAttribute("disabled",""))}async function qD(e,t){return(async i=>{e?e.pushContent(i):(e=new ye(i),await e.show())})(t()),await e.show()}function I0e(e,t,n,i){let o=d``;v(o,n),document.getElementById(e)?.addEventListener("click",()=>qD(null,t))}function $0e(){let e=document.createElement("div"),t=d`

        ${U(ZX)}

        `,n=JX,i=d` `;return v(Tw(n,t,i),e),e}function L0e(){let e=N0e(),t=document.createElement("div"),n=d`

        ${U(aee)}

        `,i=ree,o=d` `;return v(Tw(i,n,o),t),t}async function D0e(e){let t=document.createElement("div"),n=new ye(t);return v(L7e(e),t),await n.show()}function L7e(e){let t=d`

        ${U(eee)}

        `,n=XX,i=d` ${lee} `;return Tw(n,t,i)}function R7e(e,t,n){let i=e.status==="Accepted",o=e.nextStepUrl;if(i){let s=d``;v(s,t)}else{let s=d`${n}`;v(s,t)}}function M7e(e){let t=e&&e.status==="Accepted",n=e&&e.status==="Pending",i=e&&e.nextStepUrl;return jt({signInRedirect:null},"replaceState"),t?D0e(i):n?ee.href=e.nextStepUrl:M0e()}function N0e(){return ee.search?`${ee.pathname}${ee.search}&signInRedirect=true`:`${ee.pathname}?signInRedirect=true`}function Tw(e,t,n){return d` `}A();Wp();A();async function bV(e,t){let n=I("sourceContentUid"),i=t.searchParams.get("assessment-type"),o=await async function(){let l,c=i==="practice";if(n)try{l=(await dt.getListsItems([n]))[0]?.[c?"practiceAssessmentUid":"assessmentId"]}catch{}return l??t.searchParams.get("assessment-id")??t.searchParams.get("assessmentId")??null}(),s=function(){return n?n.split(".")[1]:!R.reviewFeatures||!qt?location.href.replace(`${location.origin}/${e}/credentials/certifications/`,"").split("/")[0]:t.searchParams.get("certification-id")}(),r=t.searchParams.get("practice-assessment-type"),a=yS();return{assessmentId:o,certificationId:s,assessmentType:i,practiceAssessmentType:r,skipVerification:a,isPreview:a==="true",omitScoring:bke(),snapshotVersion:vS(),showAllQuestions:fke()}}A();A();A();A();A();A();var Lsi={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 eri=new URL($.auth.partner).pathname;A();function q0e(){return d`
        ${Qre}
        • ${Kre}
        • ${Yre}
        • ${Wre}
        `}var Y7e={qna:{contextualCard:q0e(),cancelRegistrationMessage:String(Jre),isEnabled:I("page_kind")!=="register"}},qri=oe();A();var Sw=class{constructor(t,n){this.question=t;this.questionNumber=n}},ww=class{},mf=class{constructor(t){this.questionResponses=t}},Cw=class{};var B0e=W` ${Re(e=>e.scenarioDescription,W`
        `)}
        ${mn(e=>e.choices[0].choices,W``)} ${mn(e=>e.choices[0].choices,W` `)} ${mn(e=>e.choices,W` ${mn(e=>e.choices,W` `)} `,{positioning:!0})}
        `,ov=class{constructor(t){this.isSelected=!1;this.text=t.text,this.id=t.id}};q([V],ov.prototype,"id",2),q([V],ov.prototype,"text",2),q([V],ov.prototype,"isSelected",2);var gf=class{constructor(t){this.text=t.title,this.id=t.fullyQualifiedId,this.description=t.description,this.choices=t.choices.map(n=>new ov(n)),this.manualId=t.manualId}validate(){return this.choices.reduce((t,n)=>t||n.isSelected,!1)}};q([V],gf.prototype,"id",2),q([V],gf.prototype,"text",2),q([V],gf.prototype,"description",2),q([V],gf.prototype,"choices",2);var Tu=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(n=>new gf(n)),this.fullyQualifiedId=t.questions[0].fullyQualifiedId}validate(){return this.choices.reduce((t,n)=>t&&n.validate(),!0)}async checkUserAnswer(){}serialize(){return this.choices.map(t=>({fullyQualifiedQuestionId:t.id,value:t.choices.filter(n=>n.isSelected).map(n=>n.id)}))}};q([V],Tu.prototype,"uid",2),q([V],Tu.prototype,"questionType",2),q([V],Tu.prototype,"scenarioTitle",2),q([V],Tu.prototype,"scenarioDescription",2),q([V],Tu.prototype,"choices",2),q([V],Tu.prototype,"id",2);function HD(e){try{let t=document.createElement("template");return t.innerHTML=e,t.content.querySelectorAll("a").forEach(n=>n.target="_blank"),t.innerHTML}catch{return e}}var j0e=W`
        ${c7}
        ${mn(e=>e.choices,W`
        ${(e,t)=>W` ${Re(n=>t.parent.displayAnswer,W` ${n=>n.isSelected&&n.isCorrect===!1?W`${Rp}`:""} ${n=>n.isCorrect===!0?W`${Mp}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,sv=class{constructor(t){this.isSelected=!1;this.text=t}};q([V],sv.prototype,"id",2),q([V],sv.prototype,"text",2),q([V],sv.prototype,"isSelected",2),q([V],sv.prototype,"isCorrect",2);var dr=class{constructor(t,n){this.choices=[];this.displayAnswer=!1;this.question=n,this.choices=this.question.choices.map(i=>({id:i.id,text:i.text,isSelected:!1,isCorrect:i.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=HD(this.question.rationale)}validate(){return this.choices.reduce((t,n)=>t||n.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],dr.prototype,"uid",2),q([V],dr.prototype,"questionTitle",2),q([V],dr.prototype,"questionDescription",2),q([V],dr.prototype,"questionType",2),q([V],dr.prototype,"scenarioTitle",2),q([V],dr.prototype,"scenarioDescription",2),q([V],dr.prototype,"choices",2),q([V],dr.prototype,"id",2),q([V],dr.prototype,"rationale",2),q([V],dr.prototype,"displayAnswer",2);var z0e=W`
        ${s7}
        ${mn(e=>e.choices,W`
        ${(e,t)=>W` ${Re(n=>t.parent.displayAnswer,W` ${n=>n.isSelected&&n.isCorrect===!1?W`${Rp}`:""} ${n=>n.isCorrect===!0?W`${Mp}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,rv=class{constructor(t){this.isSelected=!1;this.text=t}};q([V],rv.prototype,"id",2),q([V],rv.prototype,"text",2),q([V],rv.prototype,"isSelected",2),q([V],rv.prototype,"isCorrect",2);var pr=class{constructor(t,n){this.choices=[];this.displayAnswer=!1;this.question=n,this.choices=this.question.choices.map(i=>({id:i.id,text:i.text,isSelected:!1,isCorrect:i.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=HD(this.question.rationale)}validate(){return this.choices.reduce((t,n)=>t||n.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],pr.prototype,"uid",2),q([V],pr.prototype,"questionTitle",2),q([V],pr.prototype,"questionDescription",2),q([V],pr.prototype,"questionType",2),q([V],pr.prototype,"scenarioTitle",2),q([V],pr.prototype,"scenarioDescription",2),q([V],pr.prototype,"choices",2),q([V],pr.prototype,"id",2),q([V],pr.prototype,"rationale",2),q([V],pr.prototype,"displayAnswer",2);var ff=class{constructor(t,n,i,o,s,r,a,l){this.assessmentId=t,this.certificationUid=n,this.skipVerification=o,this.snapshotVersion=s,this.error=a,this.retry=l||(()=>{}),this.reportPageUrl=Tn({assessmentType:r,pageType:2,credentialId:this.error.detail.certificationUid,credentialPathname:i,query:{assessmentid:this.error.detail.assessmentId,snapshotId:this.error.detail.snapshotId}}),this.recertDetailsUrl=Tn({assessmentType:r,pageType:0,credentialId:this.certificationUid,credentialPathname:i,query:{assessmentId:this.assessmentId}})}retryHandler(){this.retry()}};q([V],ff.prototype,"error",2),q([V],ff.prototype,"reportPageUrl",2),q([V],ff.prototype,"recertDetailsUrl",2);var V0e=W`
         

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

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

        ${g7}

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

        ${b7}

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

        ${p7}

        `)}
        `;var G0e=W`

        ${Qt}

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

        ${_7}

        00 : 00 : 00
        `,sQe=d` `,K0e=document.createElement("div"),Y0e=new ye(K0e),rQe=()=>{v(sQe,K0e)},aQe=()=>Y0e.hide(),lQe=()=>{document.querySelector(".modal-background").classList.remove("modal-close")},cQe=e=>{let{timeRemaining:t}=oe(),n=parseInt(t);return isNaN(n)?e:n},uQe=500,BD=class{constructor(){this.countdownTimerReference=null}clearTimeout(){this.countdownTimerReference&&clearTimeout(this.countdownTimerReference)}};q([V],BD.prototype,"countdownTimerReference",2);var yV=(e,t,n,i)=>{let o=e,s=Math.floor(o/1e3%60),r=Math.floor(o/1e3/60%60),a=Math.floor(o/(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=r.toString().padStart(2,"0"),p.textContent=s.toString().padStart(2,"0")}if(o<=0){let c=document.getElementById("next-button");return c.disabled!==null&&(c.disabled=!0),rQe(),Y0e.show(),document.getElementById("see-results-button").addEventListener("click",()=>{t.publish(new Cw),aQe()}),lQe()}else return i.countdownTimerReference=setTimeout(yV,uQe,Math.max(n-Date.now(),0),t,n,i)},lc=class{constructor(t,n,i=lt,o=!1,s=!1,r="false",a="preview"){this.bus=i;this.omitScoring=o;this.isPreview=s;this.showAllQuestions=r;this.snapshotVersion=a;this.countdownTimerReference=new BD;this.options={showcheckAnswer:!1};this.reRouteSession=()=>{let t=new URL(location.href),n=this.showAllQuestions==="true"?"false":"true";t.searchParams.set("show-all-questions",n),t.searchParams.set("omit-scoring",n),this.countdownTimerReference.clearTimeout(),Ls.goto(t,"replaceState")};this.title=t,this.service=n,this.numberOfScenarios=this.service.questionnaire.count,this.timer=this.service.snapshot.timer,this.bus.subscribe(Sw,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:[]});Ls.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",n="button",i=Rwe,o={id:"renewal-assessment-platform-api-link",url:Mwe,text:J9},s=new Date(Date.parse(this.service.snapshot.temporaryPreviewExpiresAt));tn(W9?.replace("{temporaryPreviewExpiresAt}",s.toString()),o,t,n,i)}if(this.timer!==null&&this.timer!==void 0){let t=this.timer*1e3*60;if(R.supportLevel==="production"){let n=Date.now()+t;yV(t,this.bus,n,this.countdownTimerReference)}else{let n=cQe(t),i=Date.now()+n;yV(n,this.bus,i,this.countdownTimerReference)}}}updateScenario(t,n){let[i,o,s]=t.fullyQualifiedId.split(".");this.questionnaireId=i,this.questionSetId=o,this.questionId=s,this.currentScenario=t,this.currentScenarioNumber=n,this.form&&this.form.focus()}next(){this.bus.publish(new ww)}checkUserAnswer(){if(this.form.checkValidity()){this.currentScenario.checkUserAnswer();return}this.form.reportValidity()}};q([V],lc.prototype,"numberOfScenarios",2),q([V],lc.prototype,"currentScenarioNumber",2),q([V],lc.prototype,"currentScenario",2),q([V],lc.prototype,"title",2),q([V],lc.prototype,"timer",2),q([V],lc.prototype,"countdownTimerReference",2);var W0e=W` ${Re(()=>R.reviewFeatures,W`
        e.reRouteSession()} />
        `)}
        ${Re(e=>e.isPreview,W` ${e=>e.manualId||e.renewalAssessmentUid} `)}

        ${e=>e.title}

        ${e=>e.timer!==null&&e.timer!==void 0?oQe:""}
        ${Re(e=>e.isPreview,W` (${e=>e.currentScenario.manualId||e.currentScenario.uid}) `)}
        ${rn(e=>e.currentScenario,e=>dQe(e.currentScenario))}
        ${Re(e=>e.options.showcheckAnswer,W` `)}
        `;function dQe(e){let t={SingleSelect:z0e,MultiSelect:j0e,Matrix:B0e},n=e.questionType.charAt(0).toUpperCase()+e.questionType.slice(1);return t[n]}function pQe(e){return e.currentScenarioNumber===e.numberOfScenarios?e.isPreview&&(e.omitScoring||e.snapshotVersion==="preview")?g8:Nn:u7}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 J0e=W`
         

        ${d7}

        `;var lv=class{constructor(t,n){this.scoredSnapshot=t,this.resultsUrl=n}};q([V],lv.prototype,"scoredSnapshot",2),q([V],lv.prototype,"resultsUrl",2);var Z0e=W` `;var jD=class extends je{constructor(n,i,o,s,r,a=lt,l=!1,c=!1){super();this.service=n;this.assessmentId=i;this.skipVerification=o;this.showAllQuestions=s;this.snapshotVersion=r;this.bus=a;this.omitScoring=l;this.isPreview=c;this.viewState="Loading";this.publish(new Lg)}async initializeAssessment(){let n=await bV(b.data.userLocale,new URL(location.href));try{await this.service.initSnapshot()}catch(i){X0e(i,this.service,n.certificationId)}T.title=this.service.type==="renewal"?this.createTitle(this.service.snapshot.certificationName,T.title):T.title,this.setTesting(),this.bus.subscribe(mf,async i=>{this.setScoring();try{await this.service.scoreSnapshot(i.questionResponses)&&this.service.type==="renewal"?this.setSuccess(this.service.scoredSnapshot,Tn({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(o){if(o instanceof Kg){this.setError(this.assessmentId,this.service.snapshot.certificationUid,this.service.contentSource?.url,this.skipVerification,this.snapshotVersion,this.service.type,o,()=>this.bus.publish(new mf(i.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 lc(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 et),this.assessmentStart=Date.now()}setScoring(){this.assessmentTime=(Date.now()-this.assessmentStart)/6e4,this.model=null,this.viewState="Scoring",this.publish(new et)}async setSuccess(n,i){this.model=new lv(n,i);try{await Promise.all([WT("/en-us/media/learn/certification/renew/fireworks.png?branch=main"),WT("/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main")])}finally{this.viewState="Success",this.publish(new et)}}setError(n,i,o,s,r,a,l,c){this.model=new ff(n,i,o,s,r,a,l,c),this.viewState="Error",this.publish(new et)}setFailed(){this.viewState="Failed",this.publish(new et)}createTitle(n=el,i=T.title){let o=i.split("|").pop();return`${X9.replace("{certificationName}",n||el)} | ${o}`}};q([V],jD.prototype,"viewState",2);var mQe=W` ${Re(e=>e.viewState==="Loading",G0e)} ${Re(e=>e.viewState==="Testing",W` ${rn(e=>e.model,e=>W0e)}`)} ${Re(e=>e.viewState==="Scoring",J0e)} ${Re(e=>e.viewState==="Success",W` ${rn(e=>e.model,e=>Z0e)}`)} ${Re(e=>e.viewState==="Error",W` ${rn(e=>e.model,e=>V0e)}`)} `;function X0e(e,t,n){if(e instanceof Kg){if(e.status===401){qn(location.href);return}t.snapshot?location.href=Tn({assessmentType:"renewal",pageType:0,credentialId:t.snapshot&&t.snapshot.certificationUid||n,credentialPathname:t.contentSource.url,query:{assessmentId:t.snapshot&&t.snapshot.renewalAssessmentUid||""}}):location.href=ts(T.referrer).href;return}else throw e}var gQe={loadingContext:{loadingType:1,navigation:{assessmentPageUrl:(e,t,n)=>Tn({credentialId:e,assessmentType:"renewal",pageType:1,credentialPathname:n,query:{assessmentId:t}}),detailsPageUrl:(e,t,n)=>Tn({credentialId:e,assessmentType:"renewal",pageType:0,credentialPathname:n,query:{assessmentId:t}}),profileDetailPageUrl:dn("me","certifications"),profileOverviewPageUrl:dn(w.userName),browsePageUrl:`/${b.data.userLocale}/certifications`}},loadedContext:{reportSummary:{passed:{title:e=>eN.replace("{certificationName}",e||el),imgSrc:e=>e||"/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",titleDate:e=>e,dateMsg:`${$Y} ${k7}`,profilePageBtnTxt:tN,supertitle:Xw},failed:{detailsPageBtnTxt:S7,eligibleTitle:C7,eligibleMsg:e=>E7.replace("{date}",zr.format(e)),supertitle:T7,title:e=>e||el}},reportScores:{scoresTitle:cC,scoreType:1},reportStudyGuide:{guideType:1,studyGuideCollectionFormTitle:Y9,studyGuideItemsTitle:aC}},errorContext:{reportError:e=>({NotFoundError:{title:la,msg:A7,primaryButton:{text:I7,url:`/${b.data.userLocale}/credentials`},secondaryButton:{text:tN,url:dn(w.userName)}}})}};A();var hf="facet-search-input";async function zD(e,t,n=null,i=60*1e3){let o=new URL(e).href;if(t.length>100)return{question:"",answer:""};let s=J(o,{mode:"cors",method:"POST",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin",body:JSON.stringify({Query:t}),signal:n||void 0}),r,a=new Promise((l,c)=>{r=window.setTimeout(()=>{c(new Jt(new Response("Timeout",{status:408})))},i)});try{let l=await Promise.race([fetch(s),a]);if(l.ok){let c=(await l.text()).trim();return c?JSON.parse(c):{question:"",answer:""}}throw new Jt(l)}finally{r!==void 0&&clearTimeout(r)}}function VD(e,t,n,i,o,s,r,a){if(isNaN(e))return"";if(!t)return r0.replace("{numberOfResults}",Do(e));let c=r?e===1?Pse:Ase:a?e===1?Tse:xse:e===1?kse:vse,u=a?e===1?Ese:Cse:e===1?wse:Sse,p=a?e===1?$se:Mse:e===1?Rse:Lse,m;switch(n){case"Documentation":case"documentation":m=p.replace("{pivotCategory}",aa);break;case"Training":case"training":m=p.replace("{pivotCategory}",Wo);break;case"Credential":case"credential":m=p.replace("{pivotCategory}",pi);break;case"Reference":case"reference":m=p.replace("{pivotCategory}",Qi);break;case"Show":case"show":m=p.replace("{pivotCategory}",To);break;case"QnA":case"qna":m=p.replace("{pivotCategory}",Jv);break;default:m=i&&!o?u:c}return m.replace("{count}",Do(e)).replace("{searchPhrase}",s&&s.length!==0?fQe(t,s):t).replace("{scope}",i&&!o?i:"").replace(/\s\s+/g," ")}function fQe(e,t){t.reverse();let n=e;for(let{start:i,length:o,correction:s}of t)n=`${n.substring(0,i)}${s}${n.substring(i+o)}`;return n}function eAe(e){if(e.busy)return;let n=(e.facetGroups?.category&&e.facetGroups.category.facets.find(s=>s.isSelected))?.value||"",i=VD(e.resultsCount,e.terms,n,e.scope,e.scopeRemoved,e.spellingCorrection),o=e.resultsCount===0?hn:i;e.getSelectedCategoryName()!=="Ai"&&ut(o,"assertive")}var Su=class{constructor(t){this.type=t}};var bf=class extends je{constructor(n,i,o,s,r,a,l,c,u,p,m){super();this.label=n;this.count=i;this.name=o;this.value=s;this._isSelected=r;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(n=>n.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(n=>!n.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 n of this.children)n.deselect();this._isSelected=!0}expand(){this.hasChildren&&(this._isExpanded=!0)}collapse(){this._isExpanded=!1}notifyFacetChange(n){this.publish(new Su(n))}};function tAe(e){let t={};for(let n in e){let i=n,o=e[i];t[i]=o.selected}return t}function nAe(e){let t={};for(let n in e){let o=e[n];t={...t,...o.expanded}}return t}function iAe(e,t,n){if(!t){let o=document.createElement("input");return n&&(o.pattern="(?!^\\s+$)^.*$",o.required=!0),o.setAttribute("type","text"),o.setAttribute("aria-label",an),o.setAttribute("maxlength","100"),o.dataset.biName="search-input",o.classList.add("input","input-lg"),o.placeholder=an,o.id=hf,o.name=hf,o.value="",o}t.input={...t.input,name:hf,id:hf,label:an,size:"large",required:!!n};let i=Ps({...t,initialValue:""});return i.addEventListener(Ga,()=>e()),i.addEventListener(Ga,Ixe),i.addEventListener(wS,ZM),i}function GD(e){document.getElementById(`facet-input-filter-${e}`).focus()}var Ew=class{constructor(t){this.skip=t}},QD=class extends je{constructor(n,i,o=0){super();this._top=i;this.pageIndex=Math.floor(o/i),this.pageCount=Math.min(Math.max(this.pageIndex+2,10),Math.ceil(n/i))}get displayRange(){return{first:Math.max(this.pageIndex-2,0),last:Math.min(this.pageIndex+2,this.pageCount)}}async setPage(n){let i=n*this._top;this.publish(new Ew(i))}};function hQe(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 n in e.selectedFacets)t[n]=Object.keys(e.selectedFacets[n]).join(",");e.expandedFacets&&(t.expanded=Object.keys(e.expandedFacets).join(","));for(let n in Xy){let i=`filter-${n}`,o=n in e.filters;t[i]=o?e.filters[n]:null}return t.search=null,t}function na(e,t="pushState"){let n=hQe(e);jt(n,t)}function oAe(e){for(let t in e){let n=t,i=bQe(n);e[n]=e[n].map(o=>sAe(o,n,i)),n!=="category"&&n!=="date"&&(e[n]=e[n].sort(i))}return e}function bQe(e){return e==="years"?(t,n)=>n.displayName.localeCompare(t.displayName,b.data.userLocale):e==="levels"?(t,n)=>S5(t.value)-S5(n.value):(t,n)=>t.displayName.localeCompare(n.displayName,b.data.userLocale)}function sAe(e,t,n){return e.displayName||(e.displayName=Oo?.[t]?.[e.value]||e.value),e.children&&e.children.length&&(e.children.map(i=>{sAe(i,t,n)}),e.children.length>1&&e.children.sort(n)),e}var vV=(e,t)=>t.hasChildren?t.children.reduce(vV,e)+1:e+1,KD=class extends je{constructor(n,i=""){super();this.key=n;this._filter=i;this._facets=[];this._totalFacets=0;this.name=Xy[n]}get facets(){return this._facets}set facets(n){this._facets=n,this._totalFacets=this._facets.reduce(vV,0),this.subscribeToChanges(this.facets)}get hasFilterInput(){return this.filterActive||this._totalFacets>14}get selected(){return this.facets.reduce(kV("isSelected"),{})}get expanded(){return this.facets.reduce(kV("isExpanded"),{})}set filter(n){this._filter=n}get filter(){return this._filter}get filterActive(){return this._filter!==""}get hasVisibleChild(){return!!this.facets.find(n=>!n.hidden)}get isEmpty(){return this._totalFacets===0}get allFacetsFilteredOut(){return this.hasFilterInput&&this.filterActive&&!this.hasVisibleChild}handleFilterInput(n){let i=n.target instanceof HTMLInputElement&&n.target;this.filter=i.value,this.notifyFacetChange("filter")}clearFilter(){this._filter="",GD(this.key),ut(QN,"assertive"),this.notifyFacetChange("filter")}clearFacet(){ut(QN,"assertive"),this.notifyFacetChange("facet_clear")}deselectAll(){this.facets.forEach(n=>n.deselect())}selectByValue(n){this.deselectAll();let i=this.facets.find(o=>o.value===n);i&&!i.isSelected&&i.select(),this.notifyFacetChange("select")}setFacets(n){this._facets=n,this._totalFacets=this._facets.reduce(vV,0),this.subscribeToChanges(this.facets)}subscribeToChanges(n){for(let i of n)i.subscribe(Su,o=>this.notifyFacetChange(o.type)),i.children&&this.subscribeToChanges(i.children)}notifyFacetChange(n){this.publish(new Su(n))}};function kV(e){return(t,n)=>{if(n[e])t[n.value]=!0;else if(n.hasChildren)return n.children.reduce(kV(e),t);return t}}function rAe(e){let t={};for(let n in e)if(n in Xy&&e[n]){let i=n,o=e[i].split(","),s=_Qe(i,o);s&&(t[i]=s.reduce((r,a)=>(r[a]=!0,r),{}))}return t}function aAe(e){return e.expanded?e.expanded.split(",").reduce((n,i)=>(n[i]=!0,n),{}):{}}function lAe(e,t,n,i){let o={};for(let s in e){let r=s,a=new KD(r,i[r]);a.facets=e[r].map(cAe(r,1,t,n,a)),o[r]=a}if(Dt==="Search"){let s=t.category&&Object.keys(t.category).length>0?Object.keys(t.category)[0]:void 0;for(let r of WM)r!=="All"&&!o?.category.facets.find(a=>a.name===r)&&(o.category.facets=o.category.facets.concat(new bf("category",0,r,r,r===s,!1,2,o.category.facets.length+1,o.category)))}return o}function cAe(e,t,n,i,o,s){return(r,a)=>{let l=e in n&&r.value in n[e],c=r.value in i,u=new bf(e,r.count,r.displayName||r.name,r.value,l,c,t+1,a+1,o,s,r.avatarUrl);return r.children&&r.children.length&&(u.children=r.children.map(cAe(e,t+1,n,i,o,u))),u}}function uAe(e){let t={};for(let n in e){let i=n,o=e[i];t[i]=o.filter||""}return t}function dAe(e){let t={};for(let n in e)t[e[n]]=n;return t}function _Qe(e,t){if(t.length===0)return[];if(e==="category"){if(t.length===1){let n=WM.find(i=>i.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return n==="Ai"&&(S.enableDeepSearch===!1||!w.isAuthenticated)?[]:n&&n!=="All"?[n]:null}return[]}else if(e==="date"){if(t.length===1){let n=Object.keys(lr).find(i=>i.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return n&&n!=="all"?[n]:null}return[]}return t}function Aw(e){return Object.keys(e||{}).length===0}var YD=class extends je{constructor(n,i,o={}){super();this._top=i;this.initialized=new Promise(n=>{this.initialize=n});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=(n,i)=>{if(n==="selectedFacets"){let o=i;for(let s in o)Aw(o[s])&&delete o[s];i=o}if(!(n==="expandedFacets"||!i))return i};this.toUrl=n=>n.url;if(o.blankSlateEnabled&&(this._blankSlateEnabled=!0),o.taxonomyFacetLookups&&(this.taxonomyFacetLookups=o.taxonomyFacetLookups,this.taxonomyFacetLookupsReversed=dAe(this.taxonomyFacetLookups)),o.syntheticFacets&&(this._syntheticFacets=o.syntheticFacets),o.facetSort&&(this.facetSort=o.facetSort),o.queryStringTransformer){let s=o.queryStringTransformer(new URL(ee.href));jt(s,"replaceState","")}if(this._pageStateHandler=o.pageStateHandler,this._fetch=n,o.hideCompleted&&w.isAuthenticated&&(this._hideCompletedEnabled=!0),this._scoringProfileEnabled=!!o.scoringProfile,this.scoringProfileEnabled&&(this._scoringProfile=o.scoringProfile),o.rss&&S.rss&&(this._rss=o.rss,this._rssEnabled=!0),o.resultSortOptions&&o.resultSortOptions.length>0){this._resultsSortOptions=o.resultSortOptions;let s=o.resultSortOptions.findIndex(r=>r?.default===!0);this._currentResultsSortOptionsIndex=s===-1?0:s}this._input=iAe(async()=>{await this.fetch(),na(this.createSearchArgs())},o.autocomplete,!!o.fetchRequiresTerms),this.readState(),!this.terms&&this.blankSlateEnabled?(this.setBusy(),this.setBlankData(),this.setReady()):(o.scenarioHealth&&(this._scenarioHealth=o.scenarioHealth,this.startScenario(this._scenarioHealth.viewResults)),this.fetch()),na(this.createSearchArgs(),"replaceState"),window.addEventListener("popstate",()=>this.handlePopState())}get selectedFacetsMinusCategory(){let n=Object.assign({},this._selectedFacets);n.category&&delete n.category;for(let i in n)Aw(n[i])&&delete n[i];return n}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(n){this.disallowBlankSlate||(this._disallowBlankSlate=n)}get hasActiveFilter(){for(let n in this._selectedFacets)if(this._selectedFacets[n]){for(let i in this._selectedFacets[n])if(i.toLowerCase()!=="all"){if(n==="category")return this.getSelectedCategoryName()===i;if(this._selectedFacets[n]?.[i])return!0}}return!1}get isBlank(){return!this.hasActiveFilter&&this.terms===""}get categoriesEnabled(){return!!this.facetGroups.category}get hasActiveFacets(){for(let n in this._facetGroups)if(this._facetGroups[n]?.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(n){n.preventDefault(),this._scenarioHealth&&this.startScenario(this._scenarioHealth.viewResults);let i=n.target.elements.namedItem(hf);i.value.length>100&&(i.value=i.value.trim().slice(0,100)),this.input.value=i.value.trim(),this._skip=0,this.fetch(),na(this.createSearchArgs())}async fetch(){this.setBusy();try{let n=this.createSearchArgs();this.taxonomyFacetLookups&&this._remapTaxonomyFacetNames(this.taxonomyFacetLookupsReversed,n.selectedFacets);let i;for(let c in n.selectedFacets.author){i=c;break}let[o,s,r,a]=await Promise.all([this.useCacheOrFetch(n),this.contentAreaNumberFetch(),IF(i),this.fetchGuestSearchAnswerResult(n)]);this.maintainCachedResults(n,o),s&&this.maintainCachedResults(this.createSearchArgs(!1),s);let l=this.combineResponse(o,s,r);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(n){this.setBlankData(),this._scenarioInstance?.fail(n)}finally{this.results&&this.results.length>0&&(this.disallowBlankSlate=!0),this.setReady(),this.initialize(),this._scenarioInstance?.succeed(),eAe(this),Lxe(this.createSearchArgs(),this._results.map(this.toUrl),this._resultCount,this.getSelectedCategoryName(),this._scopeRemoved,this._spellingCorrection.length>0,!0,this._srcheng)}}handleFacetChange(n,i){switch(n){case"select":this._scenarioHealth&&this.startScenario(this._scenarioHealth.facetChange),this._selectedFacets=tAe(this.facetGroups),this._skip=0,this.fetch(),na(this.createSearchArgs());break;case"expand":this._expandedFacets=nAe(this.facetGroups),na(this.createSearchArgs()),this.notifyPropertyChanged();break;case"filter":this._filters=uAe(this.facetGroups),na(this.createSearchArgs(),"replaceState"),this.facetGroups[i].allFacetsFilteredOut&&ut(hn,"assertive",2e3),this.notifyPropertyChanged();break;case"facet_clear":this.clearFacet(i),this.notifyPropertyChanged();break;default:break}}clearFacets(n=!1){this.hideCompletedEnabled&&(this._hideCompleted=!1);for(let i in this._selectedFacets)i==="category"&&n||(this._selectedFacets[i]={});this._facetsKnown=!1,this._skip=0,this.fetch(),na(this.createSearchArgs())}clearFacet(n){this._selectedFacets[n]={},this.fetch().then(()=>{GD(n)}),na(this.createSearchArgs())}selectMobileView(n,i){this._mobileMenuView=n,this.notifyPropertyChanged();let o=document.querySelector(".modal-content");if(i)this._selectedCategoryId=i;else if(this.selectedCategoryId){let s=o.querySelector(`#${this.selectedCategoryId}`);if(s){s.focus();return}}M_(o)}clearScope(){this._scope=null,this.fetch(),na(this.createSearchArgs()),this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new et)}resetAbortController(n){return n in this._abortController&&this._abortController[n].abort(),this._abortController[n]=new AbortController,this._abortController[n].signal}toggleHideCompleted(){this.hideCompletedEnabled&&(this._hideCompleted=!this._hideCompleted,this._skip=0,this.fetch(),na(this.createSearchArgs()))}getSelectedCategoryName(){if(!this._facetsKnown){if(this._selectedFacets?.category)for(let i in this._selectedFacets.category)return i;return""}return this.categoriesEnabled&&this.facetGroups.category.facets.find(i=>i.isSelected)?.name||""}async handleResultsSortOptionChange(n,i){if(this._currentResultsSortOptionsIndex===i){let o=n.target instanceof Element&&n.target.closest("details.popover")||n.target instanceof Element&&n.target.shadowRoot?.activeElement?.closest("details.popover");o?.hasAttribute("open")&&o.removeAttribute("open");return}this._currentResultsSortOptionsIndex=i,this.fetch()}queryCopilotQaCache(n){let i=this._copilotQaCache.find(o=>o.query===n);return i?i.response:null}addCopilotQaToCache(n,i){for(this._copilotQaCache=this._copilotQaCache.filter(o=>o.query!==n),this._copilotQaCache.push({query:n,response:i});this._copilotQaCache.length>this._maxCopilotQaCache;)this._copilotQaCache.shift()}queryDeepSearchCache(n){let i=this._deepSearchCache.find(o=>o.query===n);return i?i.response:null}addDeepSearchToCache(n,i){for(this._deepSearchCache=this._deepSearchCache.filter(o=>o.query!==n),this._deepSearchCache.push({query:n,response:i});this._deepSearchCache.length>this._maxDeepSearchCache;)this._deepSearchCache.shift()}async handlePageState(n){this._pageStateHandler&&await this._pageStateHandler(this,n)}startScenario(n){this._scenarioInstance&&this._scenarioInstance.cancel(),this._scenarioInstance=new ko(n),this._scenarioInstance.start()}setBlankData(){this._results=[],this._facetGroups={},this._resultCount=0,this.initialize()}initialize(){}_remapTaxonomyFacetNames(n,i){for(let o in n)if(o in i){let s=i[o],r=n[o];i[r]=s,delete i[o]}}async contentAreaNumberFetch(){return this.getSelectedCategoryName()?this.useCacheOrFetch(this.createSearchArgs(!1)):Promise.resolve(void 0)}async useCacheOrFetch(n){if(n?.selectedFacets?.date&&Object.keys(n.selectedFacets.date).length>0)return this._fetch(n);let i=JSON.stringify(n,this.argsStringifyFunc),o=this._cachedResponse.find(s=>s.args===i);return o?(await new Promise(s=>setTimeout(s,300)),o.response):this._fetch(n)}maintainCachedResults(n,i){let o=JSON.stringify(n,this.argsStringifyFunc);for(this._cachedResponse=this._cachedResponse.filter(s=>s.args!==o),this._cachedResponse.push({args:o,response:i});this._cachedResponse.length>this._maxCachedResponse;)this._cachedResponse.shift()}combineResponse(n,i,o){if(this.syntheticFacets&&this.dataSource!=="previousVersions"&&(n.facets={...n.facets,...this.syntheticFacets,author:o?[{type:"text",displayName:o.displayName||Bo,value:o.userId,avatarUrl:o.avatarUrl||gi(o.displayName,o.userId)}]:[]}),i&&n.facets?.category){if(this.getSelectedCategoryName()==="QnA"&&n.facets?.category.length===0){let s=i.facets?.category?.find(r=>r.value==="QnA");s&&(s.count=0)}for(let s of i.facets?.category??[]){let r=n.facets?.category.find(a=>a.value===s.value);r&&(s.count=r.count)}n.facets={...n.facets,category:i.facets.category},n.spellingCorrection?.length>0&&i.spellingCorrection?.length===0&&(n.count=0,n.results=[])}return n}updateAnswers(n){this.copilotQA=n??void 0}updateSrcheng(n){this._srcheng=n.srcheng?n.srcheng:""}updateResults(n){this._results=n.results,this._resultCount=n.count{this._skip=n.skip,this._scenarioHealth&&this.startScenario(this._scenarioHealth.pagination),this.fetch(),na(this.createSearchArgs()),pbe()})}updateRssUrl(){this._rssEnabled&&(this._rssUrl=this._rss(this.createSearchArgs()))}updateScopeRemoval(n){this._scopeRemoved=n.scopeRemoved||!1}updateSpellingCorrection(n){this._spellingCorrection=n.spellingCorrection||[]}updateSynonymCheckForSearchTerm(n){this._termHasSynonyms=n.termHasSynonyms||!1}createSearchArgs(n=!0){return Yr({terms:this.terms,scope:this.scope,selectedFacets:n?this._selectedFacets:this.selectedFacetsMinusCategory,expandedFacets:this._expandedFacets,skip:n&&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 n=lo(),i=n.terms||n.search||n.term;i&&(i.trim(),i.length>100&&(i=i.slice(0,100))),this.input.value=i||"",this._scope=n.scope||null,this._selectedFacets=rAe(n),this._expandedFacets=aAe(n),this._dataSource=n.dataSource,this.hideCompletedEnabled&&n.hideCompleted&&(this._hideCompleted=!0);try{this._skip=n.skip?parseInt(n.skip):0}catch{this._skip=0}}handlePopState(){!ee.search&&Dt==="Search"||(this._facetsKnown=!1,this.readState(),this.fetch())}subscribeFacetChanges(){for(let n in this._facetGroups)this._facetGroups[n].subscribe(Su,o=>this.handleFacetChange(o.type,n))}async fetchGuestSearchAnswerResult(n){if(!S.enableModernSearchAnswer||w.isAuthenticated||this.scope||!this.isFirstPage||this.hasActiveFilter)return null;try{if(!w.isAuthenticated&&this.scope===null){let i=n.terms.trim(),o=this.queryCopilotQaCache(i);if(o)return this.copilotQA=o,o;let s=await zD($.searchAnswer.guest,n.terms,null,3*1e3),r={question:s.question??"",answer:s.answer??"",responseType:s.responseType};return this.addCopilotQaToCache(i,r),r}else return null}catch(i){if(i instanceof Jt)return null;throw i}}};A();Ve();A();A();var xV="facet-group";function TV(e,t){return`${xV}-body--${e}${t?"--mobile":""}`}function cv(e,t){return`${xV}-expander--${e}${t?"--mobile":""}`}function SV(e,t){return`${xV}-container--${e}${t?"--mobile":""}`}var WD="deep-search-container",_f="desktop-filter-button",uv="desktop-filter-button-close",dv="search-filter-sidebar",wV="search-answer",JD="search-answer-header",Pw="toggle-search-answer-button",Iw="search-answer-body",CV="search-answer-rating",EV="more-content-areas-popover";function pv(e,t,n){return e?S.enableNewSiteSearch?d` ${kQe(`${e.key}${t}`,e)} `:d`
        {let o=i.target,s;if(o.value==="All")s="All";else if(e.facets.find(r=>r.name===o.value&&r.count>0))s=o.value;else{s=e.facets.find(a=>a.isSelected)?.value||"All";let r=Array.from(document.querySelectorAll('input[type="radio"]')).find(a=>a.value===s);r&&(r.checked=!0);return}Array.from(document.querySelectorAll('input[type="checkbox"]')).forEach(r=>r.checked=!1),e.selectByValue(s)}} >
        ${vQe(`${e.key}${t}`,e.facets)}
        `:d``}var AV=(e,t,n,i,o=!1)=>{let s=o?"badge-primary":"";return d``};function yQe(e,t){let n=t.reduce((i,o)=>(o.isSelected&&(i.selection=!0),i.count+=o.count,i),{count:0,selection:!1});return AV(e,"All",oa,n.count,!n.selection)}function vQe(e,t){return Object.keys(df).map(o=>{let s=t.find(r=>r.value.toLowerCase()===o);return o==="all"?yQe(e,t):s?AV(e,s.value,df[o],s.count,s.isSelected):AV(e,o,df[o],0,!1)})}function kQe(e,t){let n=["ai","documentation","training","credential","qna","reference","show"],i=!1,o=0,s=n.map(a=>{let l=t.facets.find(c=>c.value.toLowerCase()===a);return i=i||!!l?.isSelected,o+=l?.count??0,pAe(e,l?.value??a,a,!!l?.isSelected,t,l?.count===0)}),r=d`${pAe(e,"all","all",!i,t,o===0)}`;return d`
        ${r}${s}
        ${xQe()}`}function pAe(e,t,n,i,o,s){if(n==="ai"&&(S.enableDeepSearch===!1||!w.isAuthenticated))return d``;let r=n==="ai"?!1:s&&!i&&t!=="all",a=df[n],l=n==="ai"&&i;return d` `}function xQe(){return d`
        `}function PV(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 ZD(e){return!e.hasActiveFilter&&!e.hideCompleted?"":d` `}function IV(e){let t=S.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return e.facets?.length>0?d` `:""}A();function mAe(e,t){return!t&&!e.hasChildren?null:!e.hasChildren||e.hasSelectedChild||e.group.filterActive?d`
        `:d` `}A();function XD(e){return!e.hasFilterInput||!e.filterActive||e.hasVisibleChild?d``:d`

        ${hn}.

        `}function LV(){return d`

        ${e0}

        `}function e1(e){let t=document.getElementById(dv);if(t){t.classList.toggle("is-hidden");let n=t.classList.contains("is-hidden"),i=document.getElementById(_f);i&&(i.classList.toggle("background-color-body-medium"),i.setAttribute("aria-expanded",`${!n}`),e===uv&&n&&i.focus())}}A();function gAe(e){return e.hideCompletedEnabled?d`

        ${hAe(e)}
        `:""}function fAe(e){return e.hideCompletedEnabled?d`
      • ${hAe(e,!0)}
      • `:""}function hAe(e,t=!1){return d` `}A();function Lw(e,t){let n=Ps({input:{id:`facet-input-filter-${e.key}`,placeholder:ZJ,isFullWidth:!0,type:"search",name:`facet-${e.name}`,biName:`facet-${e.name}${t?`-${t}`:""}`},getSuggestions:Axe,getTitle:i=>i.displayName||Bo,itemTemplate:i=>d`
        ${i.displayName||Bo}
        ${TQe(i.reputationPoints)} ${FM(i.affiliations)}
        `,initialValue:e.facets.length>0?{displayName:e.facets[0].name,userId:e.facets[0].value}:null,noResultsTemplate:DX});return n.addEventListener(Ga,i=>{let o=i.detail.suggestion,s=new bf("author",1,o.displayName||Bo,o.userId,!0,!1,1,1,null,null,o.avatarUrl);e.setFacets([s]),e.selectByValue(o.userId)}),n.addEventListener(wS,ZM),n.addEventListener("keyup",i=>{i.key==="Enter"&&n.querySelector("input").value.trim()===""&&e.facets.length>0&&e.clearFacet()}),n.addEventListener("focusout",()=>{n.querySelector("input").value=e.facets?.length>0?e.facets[0].name:""}),n}function RV(e=!1){return S.enableNewSiteSearch?d`
        ${U(u2)}
        `:d`
        ${U(u2)}
        `}function TQe(e){return e>0?d` ${e} `:null}var SQe={title:!0,"is-3":!0,"margin-bottom-xxs":!0},t1={title:!0,"is-5":!0,"margin-bottom-xs":!0};function wQe(e){return e.hasActiveFilter||e.hasActiveFacets?"":d`

        ${e0}

        `}function MV(e){return S.enableNewSiteSearch?xp(e).length===0?d``:d``:e.facetsEnabled?d`

        ${nl}

        ${ZD(e)} ${gAe(e)}
        ${Dt==="Search"?"":wQe(e)} ${bAe(e)}
        `:""}function CQe(e){let t=Object.keys(e.facetGroups);return t=e.facetSort?t.sort(e.facetSort):t,t}function xp(e){if(Dt==="Search"){let t=e.getSelectedCategoryName().toLowerCase();if(S.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 CQe(e)}function yAe(e){let t=xp(e),n=t.length===1;return S.enableNewSiteSearch?d`
        ${t.length===0?d`
        ${LV()}
        `:d`${bn(t,i=>i,(i,o)=>n1(e.facetGroups[i],!0,!n,o===t.length-1))}`}
        `:d`${bn(t,i=>i,i=>n1(e.facetGroups[i],!0,!n))} `}function bAe(e){let t=xp(e),n=t.length===1;return S.enableNewSiteSearch?d`
        ${t.length===0?LV():d`${bn(t,i=>i,(i,o)=>n1(e.facetGroups[i],!1,!n,o===t.length-1))}`}
        `:d`${bn(t,i=>i,i=>n1(e.facetGroups[i],!1,!n))} `}function n1(e,t,n,i=!0){if(!e||Dt!=="Search"&&e.isEmpty)return d``;let o=`ms--facet-heading-${e.key}${t?"-mobile":""}`,s=n?`is-vertically-scrollable ${S.enableNewSiteSearch?"":"has-max-height-260"}`:"",r=!t||!n;return S.enableNewSiteSearch?d`
        ${EQe(e,t,r,o,i)} ${AQe(e,t,s,r,o)}
        `:e.key==="category"?d`

        ${e.name}

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

        ${qv}

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

        ${Up}

        ${RV()}
        ${IV(e)}
        ${Lw(e,t)}
        `:d`

        ${e.name}

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

        ${Up}

        ${RV(t)}
        ${IV(e)}
        `:d`

        ${a}

        `}function AQe(e,t,n,i,o){let s=e.key,r=`display-flex flex-direction-column padding-inline-xxs padding-top-xxs ${s==="author"?"":"has-overflow-hidden"} ${i?"":"is-hidden"}`,a=d``;return s==="date"?a=fw(e,t?"mobile":"",o):s==="author"?a=d`
        ${Lw(e,t)}
        `:a=e.facets.length>0?vAe(e,n,o):kAe(e.key),d`
        ${a}
        `}function $V(e){if(!e.hasFilterInput&&!e.filter)return"";let t=WJ.replace("{facet}",_Ce[e.key].toLowerCase()),n=Xe();return d`
        e.handleFilterInput(i))} placeholder=${t} .value=${e.filter} aria-describedby=${n} />
        `}function vAe(e,t,n){return d`${$V(e)}
        ${XD(e)}
          ${i1(e.facets,e.key)}
        `}function i1(e,t,n=!1,i=!1){let o=i||!!e.find(s=>s.hasChildren);return bn(e,s=>s.value,s=>PQe(s,t,e.length,o,n))}function kAe(e){let t=S.enableNewSiteSearch?"font-size-sm":"",n;switch(e){case"products":n=wX;break;case"tags":n=CX;break;default:n=hn}return d`

        ${n}

        `}function PQe(e,t,n,i,o){let s=mAe(e,i),r=S.enableNewSiteSearch?"font-size-sm":"";return d`
      • ${s}
        ${e.hasChildren?d`
          ${i1(e.children,t,!1,i)}
        `:null}
      • `}function IQe(){return"column is-hidden-mobile is-two-fifths-tablet is-one-quarter-desktop"}function _Ae(e,t,n=!1){let i=document.getElementById(TV(e,t));if(i&&(i.classList.toggle("is-hidden"),n)){let s=document.getElementById(SV(e,t));s&&s.classList.toggle("border-bottom")}let o=document.getElementById(cv(e,t));if(o){let s=o.getAttribute("aria-expanded")==="false";o.setAttribute("aria-expanded",s.toString())}}function xAe(e){return xp(e).length===0?d``:d` `}A();function Rw(e){return d`
        e.submit(t)} >
        ${e.input}
        `}A();function NV(e){return S.enableNewSiteSearch?xp(e).length===0?d``:d` `:d` `}function TAe(e){return e.mobileMenuView in e.facetGroups?e.facetGroups[e.mobileMenuView]?.name:S.enableNewSiteSearch?nl:L2}function o1(e){return e.mobileMenuView in e.facetGroups?`ms--${e.facetGroups[e.mobileMenuView]?.key||e.mobileMenuView}-mobile`:"ms--search-filters"}var mv,DV;async function SAe(){mv||(mv=document.createElement("div")),DV||(DV=new ye(mv)),await DV.show()}function EAe(e){return S.enableNewSiteSearch?d` `:d` `}function wAe(e){return S.enableNewSiteSearch?d` `:d`

        ${TAe(e)}

        ${LQe(e)} `}function LQe(e){return e.mobileMenuView==="top"?"":d`
        `}function RQe(e){switch(e.mobileMenuView){case"top":return MQe(e);default:return DQe(e.facetGroups[e.mobileMenuView])}}function MQe(e){return d`
          ${fAe(e)} ${$Qe(e)}
        `}function $Qe(e){let t=xp(e);return bn(t,n=>n,n=>{let i=e.facetGroups[n].facets.length>0||e.facetGroups?.category?.facets.find(o=>o.isSelected)?.name==="QnA"&&n==="author";if(S.enableNewSiteSearch&&n==="category")return"";if(i){let o=`ms--cat-btn-${n}`;return d`
      • `}return""})}function DQe(e){return e.key==="author"?d`
        ${Lw(e,!0)}
        `:e.key==="date"?d`
          ${fw(e,"")}
        `:d`
        ${$V(e)} ${XD(e)}
          ${e.key==="category"?pv(e,"mobile"):i1(e.facets,e.key,!0)}
        `}function CAe(e){return S.enableNewSiteSearch?d` `:d`
        `}function FV(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 lf(t)}A();var NQe=()=>{let e=[];for(let t=0;t<30;t++)e.push(d``);return e},FQe=()=>{let e=[];for(let t=0;t<10;t++)e.push(d``);return e};function AAe(e,t){return S.enableNewSiteSearch?d`
          ${t}
        `:d`
          ${t}
        `}function qV(e,t,n,i){if(e.getSelectedCategoryName()==="Ai")return d`
        `;if((!e.results||e.results.length===0||e.resultsCount===0)&&!e.busy)return i(e);if(t==="grid"||t==="grid-large"){let o=e.busy?NQe():e.results.map((s,r)=>d`
      • ${n(s,r)}
      • `);return AAe(t,o)}else if(t==="list"){let o=e.busy?FQe():e.results.map((s,r)=>d`
      • ${n(s,r)}
      • `);return AAe(t,o)}else throw new Error("Invalid layout property specified in View Model config.")}A();function HV(e){return!e.rssEnabled||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai"?"":d` `}A();function IAe(e){let t=e.getSelectedCategoryName().toLowerCase(),n=w.isAuthenticated,i=!w.isAuthenticated&&!e.busy&&e.resultsCount>0&&!!e.copilotQA?.answer;return S.enableModernSearchAnswer&&e.isFirstPage&&(t==="all"||t==="")&&Object.keys(e.selectedFacetsMinusCategory).length===0&&!e.scope&&(i||n)}function LAe(e,t){return d`
        ${ia(e,t)}
        `}function ia(e,t){if(t==="NotShown")return d``;let n=d``;return t==="Generating"?n=d`

        ${D0}

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

        ${yse}

        `:t==="ShowResult"&&(e.copilotQA?.answer?n=d` ${U(HQe(e.copilotQA.answer))} ${OQe(e)} `:n=d`

        ${N0}

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

        ${oh}

        `}function OQe(e){return d`
        ${Uu} ${U(sh)}
        `}function PAe(e,t,n,i){let o=document.getElementById(CV);o&&(o.innerHTML=` ${rh}`);try{let s=w.isAuthenticated?w.authenticationMode:"Anonymous";Rxe(e,t??"",n??"",i,s)}catch{}}function qQe(e){let t=document.getElementById(Iw),n=document.getElementById(Pw);t&&n&&(e.showSearchAnswer=!e.showSearchAnswer,t.hidden=!t.hidden,n.textContent=t.hidden?z2:ak)}function HQe(e){let t=document.createElement("div");t.innerHTML=e;let n=t.getElementsByTagName("a");Array.from(n).forEach((o,s)=>{o.setAttribute("data-bi-name",`search-answer-ref-${s}`)});let i=t.getElementsByTagName("pre");return Array.from(i).forEach(o=>{o.classList.add("white-space-pre-wrap")}),t.innerHTML}async function RAe(e,t){if(S.enableModernSearchAnswer===!1)return;let n=e.resetAbortController("SearchAnswer"),i=e.getSelectedCategoryName(),o=document.getElementById(wV);if(o){if(i!=="All"&&i){v(ia(e,"NotShown"),o);return}await _e,w.isAuthenticated?await BQe(e,t,n,o):await jQe(e,t,n,o)}}async function BQe(e,t,n,i){if(v(ia(e,"Generating"),i),t==="VmBusy"){e.copilotQA=void 0;return}try{if(e.resultsCount===0){e.copilotQA=void 0,v(ia(e,"ShowResult"),i);return}let o=e.queryCopilotQaCache(e.terms);if(o){let u=new Date().toISOString();e.copilotQA={answer:o.answer,question:o.question,responseType:o.responseType};let p=400+Math.random()*1e3;if(await new Promise(g=>setTimeout(g,p)),n.aborted)return;let m=new Date().toISOString();v(ia(e,"ShowResult"),i),XM(e.terms,e.copilotQA.question,e.copilotQA.answer,w.authenticationMode,u,m,e.copilotQA.responseType,!0);return}let s=e.terms.trim(),r=new Date().toISOString(),a=await zD($.searchAnswer.user,s,n),l=new Date().toISOString(),c={answer:a?.answer??"",question:a?.question??"",responseType:a?.responseType};if(e.addCopilotQaToCache(s,c),n.aborted)return;e.copilotQA=c,v(ia(e,"ShowResult"),i),XM(e.terms,c.question,c.answer,w.authenticationMode,r,l,a.responseType,!0)}catch{v(ia(e,"Error"),i)}}async function jQe(e,t,n,i){if(t==="VmBusy"){e.copilotQA=void 0,n.aborted===!1&&v(ia(e,"NotShown"),i);return}try{if(e.resultsCount>0&&e.copilotQA?.answer&&e.copilotQA.answer.length>0){v(ia(e,"Generating"),i);let o=new Date().toISOString(),s=600+Math.random()*1e3;if(await new Promise(a=>setTimeout(a,s)),n.aborted)return;let r=new Date().toISOString();v(ia(e,"ShowResult"),i),XM(e.terms,e.copilotQA?.question||"",e.copilotQA?.answer||"","Anonymous",o,r,e.copilotQA?.responseType,!0)}else v(ia(e,"NotShown"),i)}catch{v(ia(e,"NotShown"),i)}}A();function BV(e,t="h2"){let i=(e.facetGroups?.category&&e.facetGroups.category.facets.find(s=>s.isSelected))?.value||"";if(i==="Ai")return d``;let o=e.busy?"":VD(e.resultsCount,e.terms,i,e.scope,e.scopeRemoved,e.spellingCorrection,e.isFuzzySearch,e.termHasSynonyms);if(S.enableNewSiteSearch)return e.busy?d``:e.resultsCount===0?d``:d`

        ${o}

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

        ${o}

        `;default:return d`

        ${o}

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

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

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

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

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

        `:""}function MAe(e){return e.busy?"":e.hasSortableResults?d`
        ${Bse} ${e.resultsSortOptions[e.currentResultsSortOptionsIndex].label}
        `:""}A();function VV(e){let t=Object.keys(e.facetGroups).filter(n=>n!=="category");if(S.enableNewSiteSearch){let n=e.selectedFacetsMinusCategory;return Object.keys(n).length===0?d``:d`
        ${bn(t,i=>i,i=>zV(e.facetGroups[i]?.facets||[]))}
        `}return d`${bn(t,n=>n,n=>zV(e.facetGroups[n]?.facets||[]))}`}function zV(e){return d`${e.map(t=>!t.isSelected&&!t.hasSelectedChild?d``:t.hasSelectedChild?d`${zV(t.children)}`:zQe(t))}`}function zQe(e){return d` `}function VQe(e){return e.label==="author"?d` `:null}function GV(e,t,n,i,o,s){if(e.blankSlateEnabled&&e.showBlankSlate)return e.disallowBlankSlate=!0,s(e);if(S.enableNewSiteSearch){let a=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"",l="is-full is-three-fifths-desktop padding-inline-none";return d`
        ${Rw(e)}
        ${pv(e.facetGroups?.category,"-new-search")}
        ${NV(e)}
        ${BV(e,o)} ${xAe(e)}
        ${jV(e)}
        ${VV(e)} ${IAe(e)?d`${LAe(e,"ShowResult")}`:d``} ${qV(e,t,n,i)}
        ${FV(e)}
        ${HV(e)}
        `}let r=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"";return d`
        ${MV(e)}
        ${Rw(e)} ${e.hasActiveFacets?d`
        ${GQe(e)}
        ${VV(e)}
        `:""}
        ${BV(e,o)} ${jV(e)} ${MAe(e)}
        ${t==="list"&&e.resultsCount!==0?d`
        `:""} ${qV(e,t,n,i)}
        ${FV(e)}
        ${HV(e)}
        `}function GQe(e){return d`
        ${NV(e)}
        ${ZD(e)}
        `}A();function QV(e){return d`

        ${hn}

        ${ah}

        `}async function mr(e,t){if(!t)throw new Error("Invalid container provided to Facet Search.");let{fetch:n,autocomplete:i,layout:o,hideCompleted:s,resultTemplate:r,noResultsTemplate:a,scoringProfile:l,rss:c,headingLevel:u,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankTemplate:_,fetchRequiresTerms:h,syntheticFacets:k,resultSortOptions:y,pageStateHandler:x}=e,P;switch(o){case"grid":P=30;break;case"grid-large":P=6;break;case"list":default:P=10}let C=new YD(n,P,{autocomplete:i,hideCompleted:s,scoringProfile:l,rss:c,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankSlateEnabled:!!_,fetchRequiresTerms:h,syntheticFacets:k,resultSortOptions:y,pageStateHandler:x});await C.initialized,v(GV(C,o,r,a||QV,u,_),t),await No(t),C.handlePageState("VmReady"),C.subscribe(et,async()=>{v(GV(C,o,r,a||QV,u,_),t),await No(t),mv&&v(EAe(C),mv)})}A();function DAe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid-large",fetch:JQe,resultTemplate:XQe}}var KQe={orderBy:"last_modified desc"},YQe=eC,WQe={"solution-idea":u9};async function JQe(e){let[t]=await Promise.all([$Ae(e,!1),_e]);t.count===0&&([t]=await Promise.all([$Ae(e,!0),_e]),t.count!==0&&(t.isFuzzySearch=!0));for(let n of t.results)n.url&&(n.url=nt(n.url,ct.userLocale));return t}function ZQe(e){return{branch:ft(),locale:b.data.userLocale,terms:e.terms,facet:["products","azure_categories"],$filter:zi(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:KQe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function $Ae(e,t){let n={...ZQe(e),fuzzySearch:t},i=`${$.browse.architecture}?${re(n,!0)}`;return M(J(i,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}function XQe(e){let t=Xe();return d`

        ${WQe[e.content_type]||YQe}

        ${e.title}

        ${e.summary}

          ${tv(ea(e))}
        `}A();function NAe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:tKe,resultTemplate:eKe,resultSortOptions:[{label:Af,orderBy:"title"},{label:Pf,orderBy:"title desc"},{label:Gf,orderBy:"last_modified desc"},{label:Qf,orderBy:"last_modified"}]}}function eKe(e){let t=(e.exams||[]).filter(l=>!!l.display_name).map((l,c)=>c===0?d` ${l.display_name}`:d`, ${l.display_name}`),n=t.length>0?d``:"",i={"applied skills":of,examination:Oo.resource_type.examination,certification:Oo.resource_type.certification,course:Oo.resource_type.course}[e.credential_types[0]],o={"applied skills":e.title,examination:`${Vo} ${e.exam_display_name}: ${e.title}`,certification:e.title,course:e.title}[e.credential_types[0]],r=`credential-${e.uid?On(e.uid):Xe()}-title`,a=e.credential_types[0]==="applied skills"?"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main":e.icon_url;return d`

        ${i}

        ${o}
        ${n}
        `}async function tKe(e){let[t]=await Promise.all([s1(e,!1),_e]);t.count===0&&([t]=await Promise.all([s1(e,!0),_e]),t.count!==0&&(t.isFuzzySearch=!0));for(let n of t.results)n.icon_url&&(n.icon_url=nt(n.icon_url,"en-us")),n.url&&(n.url=nt(n.url,ct.userLocale));return t}function nKe(e){return{branch:ft(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","subjects","credential_types"],$filter:zi(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function s1(e,t){let n={...nKe(e),fuzzySearch:t},i=`${$.browse.credential}?${re(n,!0)}`;return M(J(i,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}A();function FAe(e){let t=lo(e);if(!t.osRelease&&!t.ReferenceIds)return{};let n={terms:null,products:null};return t.ReferenceIds&&(n.terms=`ref:${t.ReferenceIds.replace(/,/g," ref:")}`,t.terms&&(n.terms+=` ${t.terms}`)),t.osRelease&&(n.products=`windows-${t.osRelease.replace(/,/g,",windows-")}`),{terms:n.terms,products:n.products,osRelease:null,ReferenceIds:null}}function UAe(e){switch(e){case"Reported":return DZ;case"Under Investigation":case"Investigating":return MZ;case"Confirmed":return RZ;case"Mitigated":return $Z;case"Resolved":return NZ;default:throw new Error(`Unexpected status - ${e}`)}}var iKe={orderBy:"last_updated_date desc"};function qAe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:oKe,resultTemplate:lKe,noResultsTemplate:rKe,queryStringTransformer:FAe}}async function oKe(e){let[t]=await Promise.all([OAe(e,!1),_e]);t.count===0&&([t]=await Promise.all([OAe(e,!0),_e]),t.count!==0&&(t.isFuzzySearch=!0));for(let n of t.results)n.url&&(n.url=nt(n.url,ct.userLocale));return t}function sKe(e){return{branch:ft(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:zi(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:iKe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function OAe(e,t){let n={...sKe(e),fuzzySearch:t},i=`${$.browse.windowsSafeguards}?${re(n,!0)}`;return M(J(i,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}function rKe(e){return e.terms&&e.terms.includes("ref:")?aKe():d`

        ${hn}

        ${ah}

        `}function aKe(){return d`

        ${Fse}

        ${Nse}

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

        ${JC}

        ${e.title}
        ${e.status==="Resolved"?d` `:""} ${t}
        `}function cKe(e){if(!e.versions)return"";let t=e.versions.length===1?d`${e.versions[0]}`:e.versions.map(n=>d`${n}`);return d`
      • ${t}
      • `}A();function BAe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"list",fetch:dKe,resultTemplate:mKe}}var uKe={orderBy:"start desc"};async function dKe(e){let[t]=await Promise.all([HAe(e,!1),_e]);t.count===0&&([t]=await Promise.all([HAe(e,!0),_e]),t.count!==0&&(t.isFuzzySearch=!0));for(let n of t.results)n.url&&(n.url=nt(n.url,ct.userLocale));return t}function pKe(e){return{branch:ft(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:zi(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:uKe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function HAe(e,t){let n={...pKe(e),fuzzySearch:t},i=`${$.browse.lifecycle}?${re(n,!0)}`;return M(J(i,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}function mKe(e){let t=e.start,n=e.end&&e.end!=="0001-01-01T00:00:00"?e.end:"",i=Xe();return d`
        ${e.title}
        `}A();function zAe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:bKe,resultTemplate:fKe}}var gKe={orderBy:"last_modified desc"};function fKe(e){let t=Xo(new Date(e.last_modified),{year:"numeric",month:"2-digit",day:"2-digit"}),i=`sample-${e.uid?On(e.uid):Xe()}-title`;return d`
        ${e.title.replace(//g,">")}

        ${e.summary}

          ${tv(hKe(e))}
        `}function hKe(e){let t=[],n=e.display_products?.[0];n&&t.push(n);let i=e.display_languages?.[0];return i&&t.push(i),t}async function bKe(e){let[t]=await Promise.all([jAe(e,!1),_e]);t.count===0&&([t]=await Promise.all([jAe(e,!0),_e]),t.count!==0&&(t.isFuzzySearch=!0));for(let n of t.results)n.url&&(n.url=nt(n.url,ct.userLocale));return t}function _Ke(e){return{branch:ft(),environment:null,locale:b.data.userLocale,terms:e.terms,facet:["languages","products"],$filter:zi(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:gKe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function jAe(e,t){let n={..._Ke(e),fuzzySearch:t},i=`${$.browse.sample}?${re(n,!0)}`;return M(J(i,{method:"GET"})).then(s=>{if(s.ok)return s.json();throw{error:s.json()}})}async function VAe(){let e=yKe();if(S.contentBrowse){await Se;let t=document.getElementById("content-browser-container");switch(e){case"sample":mr(zAe(),t);break;case"learn":ev(),rw(),mr(LEe(),t);break;case"certification":mr($Ee(),t);break;case"credential":mr(NAe(),t);break;case"lifecycle":mr(BAe(),t);break;case"architecture":mr(DAe(),t);break;case"knownIssue":mr(qAe(),t);break;case"show":{mr(FEe(),t);break}}}}function yKe(){let e=I("page_type"),t=I("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 GAe(){await Se;let e=document.getElementById("directory-search-form-replacement");e$(e,"directory-page-search-form","facet-search-input","directory")}function vKe(e){return 400<=e&&e<500}async function QAe(e,t=!0){let n=t?"?isAMS=true":"?isAMS=false",i=`${$.learn.episode}/${e}${n}`,s=J(i,{method:"GET"}),r=await M(s);if(me(r),r.ok)return await r.json();if(vKe(r.status))return null;throw new Error(`Unexpected response status ${r.status}`)}function qo(e){return e?.textTracks?.length?[...e.textTracks].find(i=>i.mode==="showing")?.label||oC:oC}function KAe(e,t){let n=!1,i=e.video.volume===0||e.video.muted,o=e.video.currentTime,s=e.video.duration?o/e.video.duration:0,r,a,l,c,u,p=0,m=0,g,f=0,_,h=qo(e.video),k=0,y=0,x=0;function P(Q){_ke({behaviorCode:Q,videoData:t,videoTimeSeconds:o,eventTime:c,startTime:r,freezeTime:f,reStartTime:a,secondsDiffSpeed:p,secondsNormalSpeed:m,languageCaptions:h,secondsDiffSpeedAfterReplay:y,secondsNormalSpeedAfterReplay:k,freezeTimeAfterReplay:x})}function C(){p=yke(u,g,p,_,c),m=H4(u,g,m,_,c),y=vke(u,g,y,_,c,a),k=kke(u,g,k,_,c,a)}function j(){let Q=Date.now();c=Q,r=Q,o=e.video.currentTime,h=qo(e.video),P(le.VIDEOSTART)}function O(){let Q=Date.now();c=Q,l=Q,o=e.video.currentTime,h=qo(e.video),C(),P(le.VIDEOPAUSE),_=Q}function pe(){let Q=Date.now();c=Q,o=e.video.currentTime,h=qo(e.video);let F=!!l,ne=l>a,be=ai(Q-l);F&&(f+=be),ne&&(x+=be),P(le.VIDEOCONTINUE)}function Ee(){let Q=Date.now();c=Q,l=Q,o=e.video.currentTime,h=qo(e.video),m=H4(u,g,m,_,c),a=Q,x=0,y=0,k=0,P(le.VIDEOREPLAY)}function ce(){c=Date.now(),o=e.video.currentTime,h=qo(e.video),C(),P(le.VIDEOCOMPLETE)}function _t(){c=Date.now(),o=e.video.currentTime,h=qo(e.video),C(),P(le.VIDEOMUTE)}function Rt(){c=Date.now(),o=e.video.currentTime,h=qo(e.video),C(),P(le.VIDEOUNMUTE)}function zt(){c=Date.now(),o=e.video.currentTime,h=qo(e.video),C(),P(le.VIDEOERROR)}function fn(){c=Date.now(),o=e.video.currentTime,h=qo(e.video),C(),P(le.VIDEOFULLSCREEN)}function Vt(){c=Date.now(),o=e.video.currentTime,h=qo(e.video),C(),P(le.VIDEOUNFULLSCREEN)}function un(){let Q=Date.now();c=Q,o=e.video.currentTime,h=qo(e.video),u=Q,g=e.video.playbackRate,C(),P(le.VIDEOPLAYERCLICK)}function Jn(){let Q=Date.now();c=Q,o=e.video.currentTime,h=qo(e.video),C(),P(le.VIDEOBUFFERING),_=Q}function Mt(){c=Date.now(),o=e.video.currentTime,h=qo(e.video),C(),P(le.VIDEOPLAYERLOAD)}function Ne(){let Q=e.video.muted||e.video.volume===0;!i&&Q?_t():i&&!Q&&Rt(),i=Q}function D(){let Q=Date.now(),F=e.video.currentTime,ne=F/e.video.duration,be=s<.25&&ne>=.25,L=s<.5&&ne>=.5,K=s<.75&&ne>=.75;(be||L||K)&&(c=Q,o=F,h=qo(e.video),C(),P(le.VIDEOCHECKPOINT)),c=Q,s=ne}document.addEventListener("onestreamplayerstart",()=>{n?e.video.currentTime<.5?Ee():pe():(n=!0,j())}),document.addEventListener("onestreamplayererror",zt),e.video.addEventListener("pause",O),e.video.addEventListener("ended",ce),e.video.addEventListener("waiting",Jn),e.video.addEventListener("ratechange",un),e.video.addEventListener("loadstart",Mt),e.video.addEventListener("volumechange",Ne),e.video.addEventListener("timeupdate",D),e.onFullscreenChange((Q,F)=>{F?fn():Vt()})}A();var r1,YAe,kKe="4.9.4",xKe=`/static/third-party/onestream-player/shaka/${kKe}/shaka-player.ui.min.js`,KV=!1,TKe="6.2.0",SKe=`/static/third-party/onestream-player/mux-js/${TKe}/mux.min.js`,YV=!1,wKe="0.4.0",CKe=`/static/third-party/onestream-player/onestream/0.4.0/one_stream_player-v${wKe}.min.js`,WV=!1,JV={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 EKe(){return KV?Promise.resolve():Wr(xKe,null).then(()=>{KV=!0})}async function AKe(){return YV?Promise.resolve():Wr(SKe,null).then(()=>{YV=!0})}async function PKe(){return WV?Promise.resolve():Wr(CKe,null,"one_stream_player").then(()=>{WV=!0})}var IKe=(e=!1)=>e?d`