"use strict";(()=>{var dLe=Object.create;var yy=Object.defineProperty;var P8=Object.getOwnPropertyDescriptor;var pLe=Object.getOwnPropertyNames;var mLe=Object.getPrototypeOf,gLe=Object.prototype.hasOwnProperty;var L8=e=>{throw TypeError(e)};var fLe=(e,t,n)=>t in e?yy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ds=(e,t)=>()=>(e&&(t=e(e=0)),t);var R8=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$n=(e,t)=>{for(var n in t)yy(e,n,{get:t[n],enumerable:!0})},hLe=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of pLe(t))!gLe.call(e,o)&&o!==n&&yy(e,o,{get:()=>t[o],enumerable:!(s=P8(t,o))||s.enumerable});return e};var LD=(e,t,n)=>(n=e!=null?dLe(mLe(e)):{},hLe(t||!e||!e.__esModule?yy(n,"default",{value:e,enumerable:!0}):n,e));var U=(e,t,n,s)=>{for(var o=s>1?void 0:s?P8(t,n):t,r=e.length-1,i;r>=0;r--)(i=e[r])&&(o=(s?i(t,n,o):i(o))||o);return s&&o&&yy(t,n,o),o};var Xt=(e,t,n)=>fLe(e,typeof t!="symbol"?t+"":t,n),RD=(e,t,n)=>t.has(e)||L8("Cannot "+n);var Ee=(e,t,n)=>(RD(e,t,"read from private field"),n?n.call(e):t.get(e)),Yt=(e,t,n)=>t.has(e)?L8("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),_t=(e,t,n,s)=>(RD(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),wp=(e,t,n)=>(RD(e,t,"access private method"),n);var Xae,ao,Vp,WN=ds(()=>{Xae=new WeakMap,ao=e=>(...t)=>{let n=e(...t);return Xae.set(n,!0),n},Vp=e=>typeof e=="function"&&Xae.has(e)});var JN,UA,Gp,ph=ds(()=>{JN=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,UA=(e,t,n=null,s=null)=>{for(;t!==n;){let o=t.nextSibling;e.insertBefore(t,s),t=o}},Gp=(e,t,n=null)=>{for(;t!==n;){let s=t.nextSibling;e.removeChild(t),t=s}}});var Rr,OA,ZN=ds(()=>{Rr={},OA={}});var rl,XN,ele,mh,ax,tle,ej,Mr,qA,gh=ds(()=>{rl=`{{lit-${String(Math.random()).slice(2)}}}`,XN=``,ele=new RegExp(`${rl}|${XN}`),mh="$lit$",ax=class{constructor(t,n){this.parts=[],this.element=n;let s=[],o=[],r=document.createTreeWalker(n.content,133,null,!1),i=0,a=-1,l=0,{strings:c,values:{length:u}}=t;for(;l0;){let _=c[l],h=qA.exec(_)[2],x=h.toLowerCase()+mh,v=p.getAttribute(x);p.removeAttribute(x);let k=v.split(ele);this.parts.push({type:"attribute",index:a,name:h,strings:k}),l+=k.length-1}}p.tagName==="TEMPLATE"&&(o.push(p),r.currentNode=p.content)}else if(p.nodeType===3){let m=p.data;if(m.indexOf(rl)>=0){let g=p.parentNode,f=m.split(ele),_=f.length-1;for(let h=0;h<_;h++){let x,v=f[h];if(v==="")x=Mr();else{let k=qA.exec(v);k!==null&&tle(k[2],mh)&&(v=v.slice(0,k.index)+k[1]+k[2].slice(0,-mh.length)+k[3]),x=document.createTextNode(v)}g.insertBefore(x,p),this.parts.push({type:"node",index:++a})}f[_]===""?(g.insertBefore(Mr(),p),s.push(p)):p.data=f[_],l+=_}}else if(p.nodeType===8)if(p.data===rl){let m=p.parentNode;(p.previousSibling===null||a===i)&&(a++,m.insertBefore(Mr(),p)),i=a,this.parts.push({type:"node",index:a}),p.nextSibling===null?p.data="":(s.push(p),a--),l++}else{let m=-1;for(;(m=p.data.indexOf(rl,m+1))!==-1;)this.parts.push({type:"node",index:-1}),l++}}for(let p of s)p.parentNode.removeChild(p)}},tle=(e,t)=>{let n=e.length-t.length;return n>=0&&e.slice(n)===t},ej=e=>e.index!==-1,Mr=()=>document.createComment(""),qA=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/});var fh,tj=ds(()=>{ph();gh();fh=class{constructor(t,n,s){this.__parts=[],this.template=t,this.processor=n,this.options=s}update(t){let n=0;for(let s of this.__parts)s!==void 0&&s.setValue(t[n]),n++;for(let s of this.__parts)s!==void 0&&s.commit()}_clone(){let t=JN?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],s=this.template.parts,o=document.createTreeWalker(t,133,null,!1),r=0,i=0,a,l=o.nextNode();for(;r{ph();gh();nle=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),MLe=` ${rl} `,il=class{constructor(t,n,s,o){this.strings=t,this.values=n,this.type=s,this.processor=o}getHTML(){let t=this.strings.length-1,n="",s=!1;for(let o=0;o-1||s)&&r.indexOf("-->",i+1)===-1;let a=qA.exec(r);a===null?n+=r+(s?MLe:XN):n+=r.substr(0,a.index)+a[1]+a[2]+mh+a[3]+rl}return n+=this.strings[t],n}getTemplateElement(){let t=document.createElement("template"),n=this.getHTML();return nle!==void 0&&(n=nle.createHTML(n)),t.innerHTML=n,t}}});var Uu,BA,hh,pa,Wo,Qp,lx,Fu,sle,Yp,$Le,bh=ds(()=>{WN();ph();ZN();tj();HA();gh();Uu=e=>e===null||!(typeof e=="object"||typeof e=="function"),BA=e=>Array.isArray(e)||!!(e&&e[Symbol.iterator]),hh=class{constructor(t,n,s){this.dirty=!0,this.element=t,this.name=n,this.strings=s,this.parts=[];for(let o=0;o{try{let e={get capture(){return sle=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{}})();Yp=class{constructor(t,n,s){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=s,this.__boundHandleEvent=o=>this.handleEvent(o)}setValue(t){this.__pendingValue=t}commit(){for(;Vp(this.__pendingValue);){let r=this.__pendingValue;this.__pendingValue=Rr,r(this)}if(this.__pendingValue===Rr)return;let t=this.__pendingValue,n=this.value,s=t==null||n!=null&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),o=t!=null&&(n==null||s);s&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=$Le(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Rr}handleEvent(t){typeof this.value=="function"?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}},$Le=e=>e&&(sle?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)});var VA,GA,nj=ds(()=>{bh();VA=class{handleAttributeExpressions(t,n,s,o){let r=n[0];return r==="."?new lx(t,n.slice(1),s).parts:r==="@"?[new Yp(t,n.slice(1),o.eventContext)]:r==="?"?[new Qp(t,n.slice(1),s)]:new hh(t,n,s).parts}handleTextExpression(t){return new Wo(t)}},GA=new VA});function oj(e){let t=sj.get(e.type);t===void 0&&(t={stringsArray:new WeakMap,keyString:new Map},sj.set(e.type,t));let n=t.stringsArray.get(e.strings);if(n!==void 0)return n;let s=e.strings.join(rl);return n=t.keyString.get(s),n===void 0&&(n=new ax(e,e.getTemplateElement()),t.keyString.set(s,n)),t.stringsArray.set(e.strings,n),n}var sj,rj=ds(()=>{gh();sj=new Map});var ij,y,aj=ds(()=>{ph();bh();rj();ij=new WeakMap,y=(e,t,n)=>{let s=ij.get(t);s===void 0&&(Gp(t,t.firstChild),ij.set(t,s=new Wo(Object.assign({templateFactory:oj},n))),s.appendInto(t)),s.setValue(e),s.commit()}});var d,Ve=ds(()=>{nj();HA();nj();WN();ph();ZN();bh();aj();rj();tj();HA();gh();typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");d=(e,...t)=>new il(e,t,"html",GA)});var lj,ole,Jo,rle=ds(()=>{Ve();lj=class{constructor(t){this.classes=new Set,this.changed=!1,this.element=t;let n=(t.getAttribute("class")||"").split(/\s+/);for(let s of n)this.classes.add(s)}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)}}},ole=new WeakMap,Jo=ao(e=>t=>{if(!(t instanceof pa)||t instanceof Fu||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:s}=n,o=ole.get(t);o===void 0&&(s.setAttribute("class",n.strings.join(" ")),ole.set(t,o=new Set));let r=s.classList||new lj(s);o.forEach(i=>{i in e||(r.remove(i),o.delete(i))});for(let i in e){let a=e[i];a!=o.has(i)&&(a?(r.add(i),o.add(i)):(r.remove(i),o.delete(i)))}typeof r.commit=="function"&&r.commit()})});var cj,qe,_h=ds(()=>{Ve();cj=new WeakMap,qe=ao(e=>t=>{let n=cj.get(t);if(e===void 0&&t instanceof pa){if(n!==void 0||!cj.has(t)){let s=t.committer.name;t.committer.element.removeAttribute(s)}}else e!==n&&t.setValue(e);cj.set(t,e)})});var uj,ile,ale=ds(()=>{Ve();uj=ao(e=>t=>{let n;if(t instanceof Yp||t instanceof Wo)throw new Error("The `live` directive is not allowed on text or event bindings");if(t instanceof Qp)ile(t.strings),n=t.element.hasAttribute(t.name),t.value=n;else{let{element:s,name:o,strings:r}=t.committer;if(ile(r),t instanceof Fu){if(n=s[o],n===e)return}else t instanceof pa&&(n=s.getAttribute(o));if(n===String(e))return}t.setValue(e)}),ile=e=>{if(e.length!==2||e[0]!==""||e[1]!=="")throw new Error("`live` bindings can only contain a single expression")}});var lle,Kp,dj,pj,cle,ule,dle,hn,ple=ds(()=>{Ve();lle=(e,t)=>{let n=e.startNode.parentNode,s=t===void 0?e.endNode:t.startNode,o=n.insertBefore(Mr(),s);n.insertBefore(Mr(),s);let r=new Wo(e.options);return r.insertAfterNode(o),r},Kp=(e,t)=>(e.setValue(t),e.commit(),e),dj=(e,t,n)=>{let s=e.startNode.parentNode,o=n?n.startNode:e.endNode,r=t.endNode.nextSibling;r!==o&&UA(s,t.startNode,r,o)},pj=e=>{Gp(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},cle=(e,t,n)=>{let s=new Map;for(let o=t;o<=n;o++)s.set(e[o],o);return s},ule=new WeakMap,dle=new WeakMap,hn=ao((e,t,n)=>{let s;return n===void 0?n=t:t!==void 0&&(s=t),o=>{if(!(o instanceof Wo))throw new Error("repeat can only be used in text bindings");let r=ule.get(o)||[],i=dle.get(o)||[],a=[],l=[],c=[],u=0;for(let x of e)c[u]=s?s(x,u):u,l[u]=n(x,u),u++;let p,m,g=0,f=r.length-1,_=0,h=l.length-1;for(;g<=f&&_<=h;)if(r[g]===null)g++;else if(r[f]===null)f--;else if(i[g]===c[_])a[_]=Kp(r[g],l[_]),g++,_++;else if(i[f]===c[h])a[h]=Kp(r[f],l[h]),f--,h--;else if(i[g]===c[h])a[h]=Kp(r[g],l[h]),dj(o,r[g],a[h+1]),g++,h--;else if(i[f]===c[_])a[_]=Kp(r[f],l[_]),dj(o,r[f],r[g]),f--,_++;else if(p===void 0&&(p=cle(c,_,h),m=cle(i,g,f)),!p.has(i[g]))pj(r[g]),g++;else if(!p.has(i[f]))pj(r[f]),f--;else{let x=m.get(c[_]),v=x!==void 0?r[x]:null;if(v===null){let k=lle(o,r[g]);Kp(k,l[_]),a[_]=k}else a[_]=Kp(v,l[_]),dj(o,v,r[g]),r[x]=null;_++}for(;_<=h;){let x=lle(o,a[h+1]);Kp(x,l[_]),a[_++]=x}for(;g<=f;){let x=r[g++];x!==null&&pj(x)}ule.set(o,a),dle.set(o,c)}})});var mle,j,Wp=ds(()=>{bh();Ve();mle=new WeakMap,j=ao(e=>t=>{if(!(t instanceof Wo))throw new Error("unsafeHTML can only be used in text bindings");let n=mle.get(t);if(n!==void 0&&Uu(e)&&e===n.value&&t.value===n.fragment)return;let s=document.createElement("template");s.innerHTML=e;let o=document.importNode(s.content,!0);t.setValue(o),mle.set(t,{value:e,fragment:o})})});var gle,fle,As,hle=ds(()=>{bh();Ve();gle=new WeakMap,fle=2147483647,As=ao((...e)=>t=>{let n=gle.get(t);n===void 0&&(n={lastRenderedIndex:fle,values:[]},gle.set(t,n));let s=n.values,o=s.length;n.values=e;for(let r=0;rn.lastRenderedIndex);r++){let i=e[r];if(Uu(i)||typeof i.then!="function"){t.setValue(i),n.lastRenderedIndex=r;break}r{let l=n.values.indexOf(i);l>-1&&l{"use strict";Ve();rle();_h();ale();ple();Wp();hle()});function Ig(e){mR[e.name]=e}function tB(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)(?:-|$)/,(r,i)=>(n=i,"")),n===void 0)return null;let s=mR[n]?mR[n].activateButtonConfig:{name:"unknown",attributes:[],iconClass:""},o={name:n,flags:{isExternal:n==="lab-on-demand",requiresStructuredData:n==="http"},activateButtonConfig:s};return t=t.replace(/(\w+)$/g,(r,i)=>(o.flags[i]=!0,"")),o}function Khe(e){return Array.from(e.childNodes).map(t=>t.nodeName==="CODE"?t.getAttribute("data-interactive-mode"):null).pop()}function nB(e,t){let n=eB[e.name];return n||(n=eB[e.name]=mR[e.name].create()),t.firstElementChild!==n.element&&y(n.element,t),{element:n.element,setCode:(s,o)=>n.setCode(s,o),execute:()=>n.execute(),dispose:()=>{delete eB[e.name],n.dispose()}}}var mR,eB,Pg=ds(()=>{"use strict";A();mR={};eB={}});var F3=R8((N3,j3)=>{(function(e,t){typeof N3=="object"&&typeof j3<"u"?j3.exports=t():typeof define=="function"&&define.amd?define(t):e.Bottleneck=t()})(N3,function(){"use strict";var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t(Fe){return Fe&&Fe.default||Fe}var n=function(Fe,q,C={}){var K,se,re;for(K in q)re=q[K],C[K]=(se=Fe[K])!=null?se:re;return C},s=function(Fe,q,C={}){var K,se;for(K in Fe)se=Fe[K],q[K]!==void 0&&(C[K]=se);return C},o={load:n,overwrite:s},r;r=class{constructor(q,C){this.incr=q,this.decr=C,this._first=null,this._last=null,this.length=0}push(q){var C;this.length++,typeof this.incr=="function"&&this.incr(),C={value:q,prev:this._last,next:null},this._last!=null?(this._last.next=C,this._last=C):this._first=this._last=C}shift(){var q;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),q=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,q}first(){if(this._first!=null)return this._first.value}getArray(){var q,C,K;for(q=this._first,K=[];q!=null;)K.push((C=q,q=q.next,C.value));return K}forEachShift(q){var C;for(C=this.shift();C!=null;)q(C),C=this.shift()}debug(){var q,C,K,se,re;for(q=this._first,re=[];q!=null;)re.push((C=q,q=q.next,{value:C.value,prev:(K=C.prev)!=null?K.value:void 0,next:(se=C.next)!=null?se.value:void 0}));return re}};var i=r,a;a=class{constructor(q){if(this.instance=q,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=(C,K)=>this._addListener(C,"many",K),this.instance.once=(C,K)=>this._addListener(C,"once",K),this.instance.removeAllListeners=(C=null)=>C!=null?delete this._events[C]:this._events={}}_addListener(q,C,K){var se;return(se=this._events)[q]==null&&(se[q]=[]),this._events[q].push({cb:K,status:C}),this.instance}listenerCount(q){return this._events[q]!=null?this._events[q].length:0}async trigger(q,...C){var K,se;try{return q!=="debug"&&this.trigger("debug",`Event triggered: ${q}`,C),this._events[q]==null?void 0:(this._events[q]=this._events[q].filter(function(re){return re.status!=="none"}),se=this._events[q].map(async re=>{var Se,Ue;if(re.status!=="none"){re.status==="once"&&(re.status="none");try{return Ue=typeof re.cb=="function"?re.cb(...C):void 0,typeof Ue?.then=="function"?await Ue:Ue}catch(Zt){return Se=Zt,this.trigger("error",Se),null}}}),(await Promise.all(se)).find(function(re){return re!=null}))}catch(re){return K=re,this.trigger("error",K),null}}};var l=a,c,u,p;c=i,u=l,p=class{constructor(q){var C;this.Events=new u(this),this._length=0,this._lists=function(){var K,se,re;for(re=[],C=K=1,se=q;1<=se?K<=se:K>=se;C=1<=se?++K:--K)re.push(new c(()=>this.incr(),()=>this.decr()));return re}.call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(q){return this._lists[q.options.priority].push(q)}queued(q){return q!=null?this._lists[q].length:this._length}shiftAll(q){return this._lists.forEach(function(C){return C.forEachShift(q)})}getFirst(q=this._lists){var C,K,se;for(C=0,K=q.length;C0)return se;return[]}shiftLastFrom(q){return this.getFirst(this._lists.slice(q).reverse()).shift()}};var m=p,g;g=class extends Error{};var f=g,_,h,x,v,k;v=10,h=5,k=o,_=f,x=class{constructor(q,C,K,se,re,Se,Ue,Zt){this.task=q,this.args=C,this.rejectOnDrop=re,this.Events=Se,this._states=Ue,this.Promise=Zt,this.options=k.load(K,se),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===se.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((Vs,oo)=>{this._resolve=Vs,this._reject=oo}),this.retryCount=0}_sanitizePriority(q){var C;return C=~~q!==q?h:q,C<0?0:C>v-1?v-1:C}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:q,message:C="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(q??new _(C)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(q){var C;if(C=this._states.jobStatus(this.options.id),!(C===q||q==="DONE"&&C===null))throw new _(`Invalid job status ${C}, expected ${q}. 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(q,C){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:q,blocked:C})}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(q,C,K,se){var re,Se,Ue;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),Se={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",Se);try{if(Ue=await(q!=null?q.schedule(this.options,this.task,...this.args):this.task(...this.args)),C())return this.doDone(Se),await se(this.options,Se),this._assertStatus("DONE"),this._resolve(Ue)}catch(Zt){return re=Zt,this._onFailure(re,Se,C,K,se)}}doExpire(q,C,K){var se,re;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),re={args:this.args,options:this.options,retryCount:this.retryCount},se=new _(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(se,re,q,C,K)}async _onFailure(q,C,K,se,re){var Se,Ue;if(K())return Se=await this.Events.trigger("failed",q,C),Se!=null?(Ue=~~Se,this.Events.trigger("retry",`Retrying ${this.options.id} after ${Ue} ms`,C),this.retryCount++,se(Ue)):(this.doDone(C),await re(this.options,C),this._assertStatus("DONE"),this._reject(q))}doDone(q){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",q)}};var I=x,E,H,F;F=o,E=f,H=class{constructor(q,C,K){this.instance=q,this.storeOptions=C,this.clientId=this.instance._randomIndex(),F.load(K,K,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 q;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(q=this.heartbeat=setInterval(()=>{var C,K,se,re,Se;if(re=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&re>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=re,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&re>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:C,reservoirIncreaseMaximum:se,reservoir:Se}=this.storeOptions,this._lastReservoirIncrease=re,K=se!=null?Math.min(C,se-Se):C,K>0))return this.storeOptions.reservoir+=K,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?q.unref():void 0:clearInterval(this.heartbeat)}async __publish__(q){return await this.yieldLoop(),this.instance.Events.trigger("message",q.toString())}async __disconnect__(q){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(q=0){return new this.Promise(function(C,K){return setTimeout(C,q)})}computePenalty(){var q;return(q=this.storeOptions.penalty)!=null?q:15*this.storeOptions.minTime||5e3}async __updateSettings__(q){return await this.yieldLoop(),F.overwrite(q,q,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__(q){return await this.yieldLoop(),this._nextRequest+this.timeout=q}check(q,C){return this.conditionsCheck(q)&&this._nextRequest-C<=0}async __check__(q){var C;return await this.yieldLoop(),C=Date.now(),this.check(q,C)}async __register__(q,C,K){var se,re;return await this.yieldLoop(),se=Date.now(),this.conditionsCheck(C)?(this._running+=C,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=C),re=Math.max(this._nextRequest-se,0),this._nextRequest=se+re+this.storeOptions.minTime,{success:!0,wait:re,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(q,C){var K,se,re;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&C>this.storeOptions.maxConcurrent)throw new E(`Impossible to add a job having a weight of ${C} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return se=Date.now(),re=this.storeOptions.highWater!=null&&q===this.storeOptions.highWater&&!this.check(C,se),K=this.strategyIsBlock()&&(re||this.isBlocked(se)),K&&(this._unblockTime=se+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:re,blocked:K,strategy:this.storeOptions.strategy}}async __free__(q,C){return await this.yieldLoop(),this._running-=C,this._done+=C,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var pe=H,Ce,ce;Ce=f,ce=class{constructor(q){this.status=q,this._jobs={},this.counts=this.status.map(function(){return 0})}next(q){var C,K;if(C=this._jobs[q],K=C+1,C!=null&&K(q[this.status[K]]=C,q),{})}};var bt=ce,Rt,Bt;Rt=i,Bt=class{constructor(q,C){this.schedule=this.schedule.bind(this),this.name=q,this.Promise=C,this._running=0,this._queue=new Rt}isEmpty(){return this._queue.length===0}async _tryToRun(){var q,C,K,se,re,Se,Ue;if(this._running<1&&this._queue.length>0)return this._running++,{task:Ue,args:q,resolve:re,reject:se}=this._queue.shift(),C=await async function(){try{return Se=await Ue(...q),function(){return re(Se)}}catch(Zt){return K=Zt,function(){return se(K)}}}(),this._running--,this._tryToRun(),C()}schedule(q,...C){var K,se,re;return re=se=null,K=new this.Promise(function(Se,Ue){return re=Se,se=Ue}),this._queue.push({task:q,args:C,resolve:re,reject:se}),this._tryToRun(),K}};var fn=Bt,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."),ze=()=>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,N,ne,be,L,Y;Y=o,Q=l,be=Mt,ne=ze,L=D,N=function(){class Fe{constructor(C={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=C,Y.load(this.limiterOptions,this.defaults,this),this.Events=new Q(this),this.instances={},this.Bottleneck=so,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(C=""){var K;return(K=this.instances[C])!=null?K:(()=>{var se;return se=this.instances[C]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${C}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",se,C),se})()}async deleteKey(C=""){var K,se;return se=this.instances[C],this.connection&&(K=await this.connection.__runCommand__(["del",...L.allKeys(`${this.id}-${C}`)])),se!=null&&(delete this.instances[C],await se.disconnect()),se!=null||K>0}limiters(){var C,K,se,re;K=this.instances,se=[];for(C in K)re=K[C],se.push({key:C,limiter:re});return se}keys(){return Object.keys(this.instances)}async clusterKeys(){var C,K,se,re,Se,Ue,Zt,Vs,oo;if(this.connection==null)return this.Promise.resolve(this.keys());for(Ue=[],C=null,oo=`b_${this.id}-`.length,K=9;C!==0;)for([Vs,se]=await this.connection.__runCommand__(["scan",C??0,"match",`b_${this.id}-*_settings`,"count",1e4]),C=~~Vs,re=0,Zt=se.length;re{var K,se,re,Se,Ue,Zt;Ue=Date.now(),re=this.instances,Se=[];for(se in re){Zt=re[se];try{await Zt._store.__groupCheck__(Ue)?Se.push(this.deleteKey(se)):Se.push(void 0)}catch(Vs){K=Vs,Se.push(Zt.Events.trigger("error",K))}}return Se},this.timeout/2)).unref=="function"?C.unref():void 0}updateSettings(C={}){if(Y.overwrite(C,this.defaults,this),Y.overwrite(C,C,this.limiterOptions),C.timeout!=null)return this._startAutoCleanup()}disconnect(C=!0){var K;if(!this.sharedConnection)return(K=this.connection)!=null?K.disconnect(C):void 0}}return Fe.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},Fe}.call(e);var z=N,Z,ue,Pe;Pe=o,ue=l,Z=function(){class Fe{constructor(C={}){this.options=C,Pe.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((C,K)=>this._resolve=C)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(C){var K;return this._arr.push(C),K=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),K}}return Fe.prototype.defaults={maxTime:null,maxSize:null,Promise},Fe}.call(e);var Le=Z,xt=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),qt=t(Jn),Qt,B,ae,fe,ke,Ae,We,Je,Nt,rt,Ot,ko=[].splice;Ae=10,B=5,Ot=o,We=m,fe=I,ke=pe,Je=xt,ae=l,Nt=bt,rt=fn,Qt=function(){class Fe{constructor(C={},...K){var se,re;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(C,K),Ot.load(C,this.instanceDefaults,this),this._queues=new We(Ae),this._scheduled={},this._states=new Nt(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new ae(this),this._submitLock=new rt("submit",this.Promise),this._registerLock=new rt("register",this.Promise),re=Ot.load(C,this.storeDefaults,{}),this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return se=Ot.load(C,this.redisStoreDefaults,{}),new Je(this,re,se);if(this.datastore==="local")return se=Ot.load(C,this.localStoreDefaults,{}),new ke(this,re,se);throw new Fe.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}.call(this),this._queues.on("leftzero",()=>{var Se;return(Se=this._store.heartbeat)!=null&&typeof Se.ref=="function"?Se.ref():void 0}),this._queues.on("zero",()=>{var Se;return(Se=this._store.heartbeat)!=null&&typeof Se.unref=="function"?Se.unref():void 0})}_validateOptions(C,K){if(!(C!=null&&typeof C=="object"&&K.length===0))throw new Fe.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(C){return this._store.__publish__(C)}disconnect(C=!0){return this._store.__disconnect__(C)}chain(C){return this._limiter=C,this}queued(C){return this._queues.queued(C)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(C){return this._states.jobStatus(C)}jobs(C){return this._states.statusJobs(C)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(C=1){return this._store.__check__(C)}_clearGlobalState(C){return this._scheduled[C]!=null?(clearTimeout(this._scheduled[C].expiration),delete this._scheduled[C],!0):!1}async _free(C,K,se,re){var Se,Ue;try{if({running:Ue}=await this._store.__free__(C,se.weight),this.Events.trigger("debug",`Freed ${se.id}`,re),Ue===0&&this.empty())return this.Events.trigger("idle")}catch(Zt){return Se=Zt,this.Events.trigger("error",Se)}}_run(C,K,se){var re,Se,Ue;return K.doRun(),re=this._clearGlobalState.bind(this,C),Ue=this._run.bind(this,C,K),Se=this._free.bind(this,C,K),this._scheduled[C]={timeout:setTimeout(()=>K.doExecute(this._limiter,re,Ue,Se),se),expiration:K.options.expiration!=null?setTimeout(function(){return K.doExpire(re,Ue,Se)},se+K.options.expiration):void 0,job:K}}_drainOne(C){return this._registerLock.schedule(()=>{var K,se,re,Se,Ue;return this.queued()===0?this.Promise.resolve(null):(Ue=this._queues.getFirst(),{options:Se,args:K}=re=Ue.first(),C!=null&&Se.weight>C?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${Se.id}`,{args:K,options:Se}),se=this._randomIndex(),this._store.__register__(se,Se.weight,Se.expiration).then(({success:Zt,wait:Vs,reservoir:oo})=>{var vy;return this.Events.trigger("debug",`Drained ${Se.id}`,{success:Zt,args:K,options:Se}),Zt?(Ue.shift(),vy=this.empty(),vy&&this.Events.trigger("empty"),oo===0&&this.Events.trigger("depleted",vy),this._run(se,re,Vs),this.Promise.resolve(Se.weight)):this.Promise.resolve(null)})))})}_drainAll(C,K=0){return this._drainOne(C).then(se=>{var re;return se!=null?(re=C!=null?C-se:C,this._drainAll(re,K+se)):this.Promise.resolve(K)}).catch(se=>this.Events.trigger("error",se))}_dropAllQueued(C){return this._queues.shiftAll(function(K){return K.doDrop({message:C})})}stop(C={}){var K,se;return C=Ot.load(C,this.stopDefaults),se=re=>{var Se;return Se=()=>{var Ue;return Ue=this._states.counts,Ue[0]+Ue[1]+Ue[2]+Ue[3]===re},new this.Promise((Ue,Zt)=>Se()?Ue():this.on("done",()=>{if(Se())return this.removeAllListeners("done"),Ue()}))},K=C.dropWaitingJobs?(this._run=function(re,Se){return Se.doDrop({message:C.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var re,Se,Ue;Se=this._scheduled;for(re in Se)Ue=Se[re],this.jobStatus(Ue.job.options.id)==="RUNNING"&&(clearTimeout(Ue.timeout),clearTimeout(Ue.expiration),Ue.job.doDrop({message:C.dropErrorMessage}));return this._dropAllQueued(C.dropErrorMessage),se(0)}))):this.schedule({priority:Ae-1,weight:0},()=>se(1)),this._receive=function(re){return re._reject(new Fe.prototype.BottleneckError(C.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new Fe.prototype.BottleneckError("stop() has already been called")),K}async _addToQueue(C){var K,se,re,Se,Ue,Zt,Vs;({args:K,options:Se}=C);try{({reachedHWM:Ue,blocked:se,strategy:Vs}=await this._store.__submit__(this.queued(),Se.weight))}catch(oo){return re=oo,this.Events.trigger("debug",`Could not queue ${Se.id}`,{args:K,options:Se,error:re}),C.doDrop({error:re}),!1}return se?(C.doDrop(),!0):Ue&&(Zt=Vs===Fe.prototype.strategy.LEAK?this._queues.shiftLastFrom(Se.priority):Vs===Fe.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(Se.priority+1):Vs===Fe.prototype.strategy.OVERFLOW?C:void 0,Zt?.doDrop(),Zt==null||Vs===Fe.prototype.strategy.OVERFLOW)?(Zt==null&&C.doDrop(),Ue):(C.doQueue(Ue,se),this._queues.push(C),await this._drainAll(),Ue)}_receive(C){return this._states.jobStatus(C.options.id)!=null?(C._reject(new Fe.prototype.BottleneckError(`A job with the same id already exists (id=${C.options.id})`)),!1):(C.doReceive(),this._submitLock.schedule(this._addToQueue,C))}submit(...C){var K,se,re,Se,Ue,Zt,Vs;return typeof C[0]=="function"?(Ue=C,[se,...C]=Ue,[K]=ko.call(C,-1),Se=Ot.load({},this.jobDefaults)):(Zt=C,[Se,se,...C]=Zt,[K]=ko.call(C,-1),Se=Ot.load(Se,this.jobDefaults)),Vs=(...oo)=>new this.Promise(function(vy,uLe){return se(...oo,function(...I8){return(I8[0]!=null?uLe:vy)(I8)})}),re=new fe(Vs,C,Se,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),re.promise.then(function(oo){return typeof K=="function"?K(...oo):void 0}).catch(function(oo){return Array.isArray(oo)?typeof K=="function"?K(...oo):void 0:typeof K=="function"?K(oo):void 0}),this._receive(re)}schedule(...C){var K,se,re;return typeof C[0]=="function"?([re,...C]=C,se={}):[se,re,...C]=C,K=new fe(re,C,se,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(K),K.promise}wrap(C){var K,se;return K=this.schedule.bind(this),se=function(...re){return K(C.bind(this),...re)},se.withOptions=function(re,...Se){return K(re,C,...Se)},se}async updateSettings(C={}){return await this._store.__updateSettings__(Ot.overwrite(C,this.storeDefaults)),Ot.overwrite(C,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(C=0){return this._store.__incrementReservoir__(C)}}return Fe.default=Fe,Fe.Events=ae,Fe.version=Fe.prototype.version=qt.version,Fe.strategy=Fe.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},Fe.BottleneckError=Fe.prototype.BottleneckError=f,Fe.Group=Fe.prototype.Group=z,Fe.RedisConnection=Fe.prototype.RedisConnection=Mt,Fe.IORedisConnection=Fe.prototype.IORedisConnection=ze,Fe.Batcher=Fe.prototype.Batcher=Le,Fe.prototype.jobDefaults={priority:B,weight:1,expiration:null,id:""},Fe.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Fe.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},Fe.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},Fe.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},Fe.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},Fe.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},Fe}.call(e);var so=Qt,Sp=so;return Sp})});var cye=R8(fM=>{"use strict";Object.defineProperty(fM,"__esModule",{value:!0});fM.format=WOe;fM.parse=JOe;var QOe=/^[\u0009\u0020-\u007e\u0080-\u00ff]*$/,oye=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,YOe=/[\\"]/g,KOe=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,rye=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function WOe(e){let{type:t,parameters:n}=e;if(!t||!KOe.test(t))throw new TypeError(`Invalid type: ${t}`);let s=t;if(n)for(let o of Object.keys(n)){if(!oye.test(o))throw new TypeError(`Invalid parameter name: ${o}`);s+=`; ${o}=${tqe(n[o])}`}return s}function JOe(e,t){let n=e.length,s=V3(e,0,n),o=s;s=B3(e,s,n);let r=G3(e,o,s),i=e.slice(o,r).toLowerCase(),a=t?.parameters===!1?new rye:eqe(e,s,n);return{type:i,parameters:a}}var iye=32,aye=9,lye=59,ZOe=61,sye=34,XOe=92;function eqe(e,t,n){let s=new rye;e:for(;tt;){let s=e.charCodeAt(n-1);if(s!==iye&&s!==aye)break;n--}return n}function tqe(e){if(oye.test(e))return e;if(QOe.test(e))return`"${e.replace(YOe,"\\$&")}"`;throw new TypeError(`Invalid parameter value: ${e}`)}});function M8(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let n=t.closest("[data-dismissable]");n&&bLe(n)})}function bLe(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 xy(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 s=n.querySelector(".popover-content");if(!s)return;if(!n.open){s.style.visibility="hidden";return}requestAnimationFrame(()=>{D8(n),s.offsetHeight});let o=()=>{n.open&&D8(n)},r=c=>{c.key==="Escape"&&l()},i=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",i,!0),e.removeEventListener("click",i),e.removeEventListener("touchstart",i),e.removeEventListener("keydown",r),window.removeEventListener("blur",a),window.removeEventListener("resize",o),n?.open&&(n.removeAttribute("open"),s.style.visibility="hidden")};e.addEventListener("focus",i,!0),e.addEventListener("click",i),e.addEventListener("touchstart",i),e.addEventListener("keydown",r),window.addEventListener("blur",a),window.addEventListener("resize",o)},!0)}var $8=24,MD=8;function _Le(e){return window.getComputedStyle(e).direction==="rtl"}function vLe(e,t,n){let s=n.getBoundingClientRect(),o=window.innerHeight-s.bottom,r=s.top,i=e.classList.contains("popover-top"),a=e.classList.contains("popover-bottom"),l=t.offsetHeight,c=a||!i&&(l+MD>r||o>=l||o>=r),u=e.classList.contains("popover-caret");u&&e.classList.remove("popover-caret-bottom");let p=0;c?p=n.offsetTop+n.offsetHeight+MD:(p=n.offsetTop-t.offsetHeight-MD,u&&e.classList.add("popover-caret-bottom")),t.style.top=`${p}px`}function yLe(e,t,n,s){let o=t.offsetWidth,r=n.offsetWidth,i=window.innerWidth,l=t.offsetParent.getBoundingClientRect(),c=n.offsetLeft,u=c+r,p,m=e.classList.contains("popover-left"),g=e.classList.contains("popover-right");if(m)p=s?u-o:c;else if(g)p=s?c:u-o;else{p=c+r/2-o/2;let f=l.left+p,_=f+o;f<$8?p=c:_>i-$8&&(p=u-o)}return s?(t.style.setProperty("left",`${p}px`),t.style.setProperty("right","auto")):t.style.setProperty("inset-inline-start",`${p}px`),p}function xLe(e,t,n,s){let o=e.offsetWidth,r=t.offsetWidth,a=t.offsetLeft+r/2,l;s?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 D8(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 s=_Le(e);vLe(e,t,n);let o=yLe(e,t,n,s);e.classList.contains("popover-caret")&&xLe(t,n,o,s),t.style.visibility="visible"}var $D=!1;function z8(){TLe();let e=Array.from(document.querySelectorAll("[data-snap-scroll]"));for(let t of e)kLe(t)}function kLe(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]")),s={root:t,rootMargin:"0px",threshold:.8},o=new IntersectionObserver(r=>{if(!$D&&r[0].isIntersecting===!0){let i=r[0].target.getAttribute("data-snap-scroll-slide");if(!i)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="${i}"]`);if(!a)throw new Error("Anchor missing from snap scroll container");N8(e,a)}},s);n.forEach(r=>o.observe(r))}function TLe(){window.addEventListener("click",e=>{let t=e.target instanceof Element&&e.target.closest("[data-snap-scroll-nav-item]");if(!t)return;let n=t.closest("[data-snap-scroll]");if(!n)return;let s=t.dataset.snapScrollNavItem;if(!s)throw new Error('You need to add a value to the parent of your snap scroll: [data-snap-scroll="id-goes-here")');$D=!0,e.preventDefault();let o=n.querySelector(`[data-snap-scroll-slide="${s}"]`);N8(n,t),o.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),setTimeout(()=>$D=!1,500)})}function N8(e,t){let n=Array.from(e.querySelectorAll("[data-snap-scroll-nav-item]"));for(let s of n)s.classList.remove("is-current");t.classList.add("is-current")}var SLe=0;function Ep(){return`bx-${SLe++}`}function j8(e){return e.replace(/-./g,t=>t[1].toUpperCase())}var xJe=new Promise(e=>{document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>e()):e()});var F8={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."},Uw=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",F8);Xt(this,"validators",[this.validateMinLength.bind(this),this.validateRequired.bind(this),this.validateMaxLength.bind(this)]);Xt(this,"commit",n=>{!q8(n.target,this.form)||!n.target?.form||n.target?.form!==this.parentElement||(clearTimeout(this.commitTimeout),n.type==="change"&&wLe(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 s=document.createElement("div");s.setAttribute("data-form-error-container",""),n.hasAttribute("data-hide-validation-banner")&&(s.hidden=!0),this.insertAdjacentElement("afterend",s),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(s=>s.name.startsWith("loc-")).reduce((s,o)=>(s[j8(o.name.substring(4))]=o.value,s),{});return Object.assign({},F8,n)}subscribe(n,s,o){n.addEventListener(s,o),this.toDispose.push(()=>n.removeEventListener(s,o))}setDirty(){let n=new URLSearchParams(this.initialData).toString(),s=new URLSearchParams(new FormData(this.parentElement)).toString();this.isDirty=s!==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 CLe(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 s=n.currentTarget;if(!this.canSave){this.showNoChangesMessage(s);let r=new CustomEvent("form-validating",{detail:{form:s},bubbles:!0});this.dispatchEvent(r);return}let o=!1;try{if(this.submitting=!0,U8(n,s,this.submitting),!(await this.validateForm(s)).valid||this.noSubmit)return;let i=ILe(n)??s.action,a=new URL(i).searchParams,l=new FormData(s),c=new Headers;c.set("content-type","applicationhttps://www.microsoft.com/json");for(let{name:h,value:x}of this.attributes)h.startsWith("header-")&&c.set(h.substring(7),x);let p={method:a.get("_method")||s.method||"GET",body:JSON.stringify(Object.fromEntries(l)),headers:c},m=new CustomEvent("beforesubmit",{detail:{url:i,init:p,form:s,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(s,h,f,_)}}catch{this.submissionError(s,this.locStrings.weEncounteredAnUnexpectedError,f,_);return}}finally{this.submitting=o,U8(n,s,this.submitting)}}createErrorAlert(n){let s=n.querySelector("[data-form-error-container]")||n,o=Ep(),r=document.createElement("div");r.className="help help-danger background-color-danger-light border border-color-danger border-radius padding-xs margin-bottom-sm",r.setAttribute("data-form-error-alert",""),r.setAttribute("role","alert"),r.setAttribute("aria-labelledby",o),r.setAttribute("tabindex","-1"),r.hidden=!0;let i=document.createElement("p");i.id=o,i.className="font-size-md font-weight-semibold margin-bottom-xs display-inline-flex",i.innerText=this.locStrings.pleaseFixTheFollowingIssues;let a=document.createElement("ul");return a.setAttribute("aria-label","Validation errors"),a.classList.add("margin-left-sm-tablet"),r.append(i,a),s.appendChild(r),{errorAlert:r,errorList:a}}getErrorAlert(n){let s=n.querySelector("[data-form-error-alert]");return s?{errorAlert:s,errorList:s.lastElementChild}:this.createErrorAlert(n)}submissionError(n,s,o,r){let{errorAlert:i,errorList:a}=this.getErrorAlert(n),l=document.createElement("li");l.innerText=s,this.dispatchEvent(new CustomEvent("submission-error",{detail:{form:n,request:o,response:r},bubbles:!0})),a.appendChild(l),i.hidden=!1,i.focus()}validateRequired(n,s){return n.validity.valueMissing?this.locStrings.inputRequired.replace("{inputLabel}",customElements.get(n.localName)||n.type==="radio"?`A selection for "${s}"`:s):null}validateMinLength(n,s){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}",s).replace("{maxLength}",n.maxLength.toString()):null}async validateForm(n,s=!0,o=n){let r=[],{errorAlert:i,errorList:a}=this.getErrorAlert(n);(s||n.hasAttribute("data-hide-validation-banner"))&&(i.hidden=!0,a.innerHTML="");let l=ALe(n);for(let c of[...n.elements,...l]){if(!o.contains(c)||!DD(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:r,form:n},bubbles:!0});this.dispatchEvent(m);continue}let u=!!l.find(m=>m===c);this.runBasicValidation(c,s,r,a,u);let p=new CustomEvent("form-validating",{detail:{errors:r,form:n},bubbles:!0});this.dispatchEvent(p)}return r.length===0?{valid:!0}:(s&&(i.hidden=!1,i.focus()),{valid:!1,errors:r})}clearValidationErrors(n){if(!DD(n,this.form))return;if(O8(n),Uo(n,""),ro(n).classList.remove("errored"),n.form){let{errorAlert:o,errorList:r}=this.getErrorAlert(n.form);r.querySelectorAll(`a[href="http://approjects.co.za/?big=#${n.id}"]`).forEach(i=>i.parentElement?.remove()),r.querySelector("#no-edits-error")?.remove(),r.firstElementChild||(o.hidden=!0)}let s=new CustomEvent("clear-validation-errors",{detail:{target:n},bubbles:!0});this.dispatchEvent(s)}showNoChangesMessage(n){let{errorAlert:s,errorList:o}=this.getErrorAlert(n);if(o.childElementCount>0){for(;o.firstChild;)o.lastChild?.remove();o.querySelector("#no-edits-error")?.remove()}let r=document.createElement("li");r.id="no-edits-error",r.innerText=this.locStrings.thereAreNoEditsToSubmit,o.appendChild(r),s.hidden=!1,s.focus()}runBasicValidation(n,s=!0,o,r,i){if(!DD(n,this.form))return;let a=zD(n),l=ro(n);for(let c of this.validators){let u=c(n,a);if(!u){i||O8(n);continue}if(o.push({input:n,message:u}),s){if(!n.id)continue;Uo(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(i){let f=g.target.getAttribute("href");f&&document.querySelector(f).focus()}}),p.appendChild(m),r.appendChild(p),i||(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=Uw,window.customElements.define("form-behavior",Uw));function q8(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 wLe(e){(e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement&&(e.type==="text"||e.type==="email"))&&(e.value=e.value.trim())}function U8(e,t,n){let s=e.submitter;Array.from(t.elements).forEach(o=>{o instanceof HTMLButtonElement&&o.type==="submit"&&(s&&s===o?o.classList.toggle("is-loading",n):o.disabled=n)})}function zD(e){let t=null;if(e.type==="radio"){let s=ro(e).querySelector(".field-label");s?t=s.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 ELe(e){let t=document.createElement("p");return t.id=Ep(),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 Uo(e,t){let s=ro(e).querySelector("[data-field-error]")||ELe(e);s.textContent=t}function DD(e,t){return q8(e,t)&&e.type!=="hidden"}function CLe(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 s=history.state||{};window.history.pushState(s,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 ALe(e){let t=Object.fromEntries(new FormData(e)),n=[];return Object.keys(t).filter(o=>!e.elements.namedItem(o)).forEach(o=>{let r=e.querySelector(`[name="${o}"]`);r&&n.push(r)}),n}function O8(e){e.type==="checkbox"?e.closest("label.checkbox")?.classList.remove("is-invalid"):e.classList.remove(`${e.localName}-danger`)}function ILe(e){let t=e.submitter;return t instanceof HTMLButtonElement&&t.formAction!==window.location.href?t.formAction:null}var H8=globalThis.HTMLElement||null,Cp="assign"in(globalThis.HTMLSlotElement?.prototype||{})?(e,...t)=>{e.assign(...t)}:(e,...t)=>{let n=e.getRootNode().host;for(let s of n.querySelectorAll(`[slot="${e.name}"]`))s.removeAttribute("slot");for(let s of t)s.setAttribute("slot",e.name)},Ty,Sy,wy,qw=class extends Event{constructor(n,{tabIndex:s,tab:o,panel:r,...i}){super(n,i);Yt(this,Ty,null);Yt(this,Sy,null);Yt(this,wy,null);_t(this,wy,o||null),_t(this,Ty,s||null),_t(this,Sy,r||null)}get tabIndex(){return Ee(this,Ty)}get panel(){return Ee(this,Sy)}get tab(){return Ee(this,wy)}};Ty=new WeakMap,Sy=new WeakMap,wy=new WeakMap;var Ap,Ip,at,wf,B8,ky,V8,G8,Q8,Ow,ND,Eu,Pp,Lp,Y8,K8,jD,W8,J8,Ef=class extends H8{constructor(){super(...arguments);Yt(this,at);Yt(this,Ap,null);Yt(this,Ip,null);Yt(this,Pp,!1);Yt(this,Lp)}static define(n="tab-container",s=customElements){return s.define(n,this),this}get onChange(){return this.onTabContainerChange}set onChange(n){this.onTabContainerChange=n}get onTabContainerChange(){return Ee(this,Ap)}set onTabContainerChange(n){Ee(this,Ap)&&this.removeEventListener("tab-container-change",Ee(this,Ap)),_t(this,Ap,typeof n=="object"||typeof n=="function"?n:null),typeof n=="function"&&this.addEventListener("tab-container-change",n)}get onTabContainerChanged(){return Ee(this,Ip)}set onTabContainerChanged(n){Ee(this,Ip)&&this.removeEventListener("tab-container-changed",Ee(this,Ip)),_t(this,Ip,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 Ee(this,at,Eu)[this.selectedTabIndex]}get activePanel(){return Ee(this,at,ND).assignedNodes()[0]}get vertical(){return Ee(this,at,wf)?.getAttribute("aria-orientation")==="vertical"}set vertical(n){let s=Ee(this,at,wf);s&&n?s.setAttribute("aria-orientation","vertical"):s.setAttribute("aria-orientation","horizontal")}connectedCallback(){Ee(this,Lp)||_t(this,Lp,this.attachInternals?this.attachInternals():null);let n=this.shadowRoot||this.attachShadow({mode:"open",slotAssignment:"manual"}),s=document.createElement("slot");s.style.display="flex",s.setAttribute("part","tablist-wrapper"),s.setAttribute("name","tablist-wrapper");let o=document.createElement("div");o.setAttribute("part","tablist-tab-wrapper"),o.setAttribute("name","tablist-tab-wrapper");let r=document.createElement("slot");r.setAttribute("part","tablist"),r.setAttribute("name","tablist"),o.append(r);let i=document.createElement("slot");i.setAttribute("part","panel"),i.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"),s.append(a,o,l);let c=document.createElement("slot");c.setAttribute("part","after-panels"),c.setAttribute("name","after-panels"),n.replaceChildren(s,i,c),Ee(this,Lp)&&"role"in Ee(this,Lp)?Ee(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,W8)),this.addEventListener("click",wp(this,at,J8)),_t(this,Pp,!0)}attributeChangedCallback(n){!this.isConnected||!this.shadowRoot||n==="vertical"&&(this.vertical=this.hasAttribute("vertical"))}handleEvent(n){if(n.type==="click")return wp(this,at,K8).call(this,n);if(n.type==="keydown")return wp(this,at,Y8).call(this,n)}get selectedTabIndex(){return Ee(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(!Ee(this,Pp)){let a=Ee(this,at,Ow),l=Ee(this,at,B8),c=this.querySelector("[role=tablist]"),u=this.querySelector("[slot=tablist-wrapper]");u&&u.closest(this.tagName)===this?Cp(l,u):c&&c.closest(this.tagName)===this?Cp(a,c):(Ee(this,at,ky).role="tablist",Cp(a,...[...this.children].filter(_=>_.matches("[role=tab]"))));let p=Ee(this,at,wf);if(wp(this,at,jD).call(this,"aria-description",p),wp(this,at,jD).call(this,"aria-label",p),this.vertical&&Ee(this,at,wf).setAttribute("aria-orientation","vertical"),!(this.querySelector("[slot=tablist-wrapper]")?.closest(this.tagName)===this)){let _=[],h=[],x=[],v=_;for(let k of this.children){if(k.getAttribute("role")==="tab"||k.getAttribute("role")==="tablist"){v=h;continue}if(k.getAttribute("role")==="tabpanel"){v=x;continue}k.getAttribute("slot")==="before-tabs"?_.push(k):k.getAttribute("slot")==="after-tabs"?h.push(k):v.push(k)}Cp(Ee(this,at,V8),..._),Cp(Ee(this,at,G8),...h),Cp(Ee(this,at,Q8),...x)}let g=this.defaultTabIndex,f=g>=0?g:this.selectedTabIndex;n=n>=0?n:Math.max(0,f)}let s=Ee(this,at,Eu),o=Array.from(this.querySelectorAll('[role="tabpanel"]')).filter(a=>a.closest(this.tagName)===this);if(n>s.length-1)throw new RangeError(`Index "${n}" out of bounds`);let r=s[n],i=o[n];if(!(Ee(this,Pp)&&!this.dispatchEvent(new qw("tab-container-change",{tabIndex:n,bubbles:!0,cancelable:!0,tab:r,panel:i})))){for(let a of s)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");r.setAttribute("aria-selected","true"),r.setAttribute("tabindex","0"),Cp(Ee(this,at,ND),i),i.hidden=!1,Ee(this,Pp)&&(r.focus(),this.dispatchEvent(new qw("tab-container-changed",{tabIndex:n,bubbles:!0,tab:r,panel:i})))}}};Ap=new WeakMap,Ip=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 s=Ee(this,at,Ow);return Ee(this,at,ky).hasAttribute("role")?Ee(this,at,ky):s.assignedNodes()[0]},B8=function(){return this.shadowRoot.querySelector('slot[part="tablist-wrapper"]')},ky=function(){return this.shadowRoot.querySelector('div[part="tablist-tab-wrapper"]')},V8=function(){return this.shadowRoot.querySelector('slot[part="before-tabs"]')},G8=function(){return this.shadowRoot.querySelector('slot[part="after-tabs"]')},Q8=function(){return this.shadowRoot.querySelector('slot[part="after-panels"]')},Ow=function(){return this.shadowRoot.querySelector('slot[part="tablist"]')},ND=function(){return this.shadowRoot.querySelector('slot[part="panel"]')},Eu=function(){return Ee(this,at,ky).matches("[role=tablist]")?Ee(this,at,Ow).assignedNodes():Array.from(Ee(this,at,wf)?.querySelectorAll('[role="tab"]')||[]).filter(n=>n instanceof H8&&n.closest(this.tagName)===this)},Pp=new WeakMap,Lp=new WeakMap,Y8=function(n){let s=n.target?.closest?.('[role="tab"]');if(!s)return;let o=Ee(this,at,Eu);if(!o.includes(s))return;let r=this.selectedTabIndex,i=s.closest('[role="tablist"]')?.getAttribute("aria-orientation")==="vertical",a=n.code==="ArrowLeft"||i&&n.code==="ArrowUp";if(n.code==="ArrowRight"||i&&n.code==="ArrowDown"){let c=r+1;c>=o.length&&(c=0),this.selectTab(c)}else if(a){let c=r-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())},K8=function(n){let s=n.target?.closest?.("[role=tab]");if(!s)return;let r=Ee(this,at,Eu).indexOf(s);r>=0&&this.selectTab(r)},jD=function(n,s){this.hasAttribute(n)&&(s.setAttribute(n,this.getAttribute(n)),this.removeAttribute(n))},W8=function(n){let{tab:s}=n;s&&s.scrollIntoView({behavior:"auto",block:"nearest",inline:"center"})},J8=function(n){let s=n.target instanceof Element&&n.target.closest("[data-tab-container-nav]");if(!s)return;let o=(s.dataset.tabContainerNav==="next"||s.dataset.tabContainerNav==="previous")&&s.dataset.tabContainerNav;if(!o)throw new Error('Supported values of [data-tab-container-nav] are "previous" and "next"');let r=this.selectedTabIndex;if(o==="next"){let i=r+1;i>=Ee(this,at,Eu).length&&(i=0),this.selectTab(i)}else{let i=r-1;i<0&&(i=Ee(this,at,Eu).length-1),this.selectTab(i)}},Xt(Ef,"observedAttributes",["vertical"]);var Z8=typeof globalThis<"u"?globalThis:window;try{Z8.TabContainerElement=Ef.define()}catch(e){if(!(Z8.DOMException&&e instanceof DOMException&&e.name==="NotSupportedError")&&!(e instanceof ReferenceError))throw e}var Cf=document.documentElement,PLe=()=>{let e=document.querySelector(".layout-body-header"),t=e?.clientHeight||0,n=t?`${t}px`:"0px",s=e?.getBoundingClientRect().y||0,r=`${Math.max(0,s+t)}px`,i=document.querySelector(".layout-body-footer"),a=i?.clientHeight||0,l=a?`${a}px`:"0px",c=i?.getBoundingClientRect().y||0,p=`${c{window.dispatchEvent(new CustomEvent("atlas-layout-change-event"))};function e9(){window.addEventListener("atlas-layout-change-event",()=>{LLe(PLe)}),window.addEventListener("resize",Za,{passive:!0}),Cf.style.setProperty("--window-inner-height",`${window.innerHeight}px`),window.addEventListener("DOMContentLoaded",Za),window.addEventListener("scroll",Za,{passive:!0})}var FD="atlas-layout-exclusions";function RLe(e){return e==="__proto__"||e==="prototype"||e==="constructor"?"default":e}function UD(e={}){let{root:t=document.documentElement,storage:n=window.localStorage,storageKey:s="default",excludesKey:o,excludes:r,deferCallbacksUntil:i=Promise.resolve(),useViewTransitionOnRestore:a=!1}=e,l="layout-",c="atlas-layout-preferences",u="data-layout-restored";function p(z){return RLe(z)}function m(){let z=typeof s=="function"?s():s;return p(z)}function g(){if(o===void 0)return null;let z=typeof o=="function"?o():o;return p(z)}function f(){if(r===void 0)return;let z=g();if(z===null)return;let Z=n.getItem(FD),ue={};if(Z)try{let Le=JSON.parse(Z);Le&&typeof Le=="object"&&(ue=Le)}catch{}let Pe={};for(let Le of r)Pe[Le]=!0;ue[z]=Pe;try{n.setItem(FD,JSON.stringify(ue))}catch(Le){console.error("createLayoutState: failed to write atlas-layout-exclusions; in-memory exclusions still apply",Le)}}function _(){let z=g();if(z===null)return new Set;let Z=n.getItem(FD);if(!Z)return new Set;let ue;try{ue=JSON.parse(Z)}catch{return new Set}let Pe=ue&&Object.prototype.hasOwnProperty.call(ue,z)?ue[z]:null;return!Pe||typeof Pe!="object"?new Set:new Set(Object.keys(Pe))}f();let h=new Set,x=null,v=!1,k=[],I=0,E=[],H=!1;function F(z){v?z():k.push(z)}function pe(){t.setAttribute(u,"true")}function Ce(){v=!0;let z=k.splice(0);try{for(let Z of z)try{Z()}catch(ue){console.error("createLayoutState: a subscriber callback threw during initial flush",ue)}}finally{pe()}}function ce(z,Z,ue={}){if(!z){Z();return}ue.sync?bt(Z):Rt(Z)}function bt(z){let Z=document;if(typeof Z.startViewTransition!="function"){z();return}if(I>0){z();return}Bt(Z,z)}function Rt(z){let Z=document;if(typeof Z.startViewTransition!="function"||I>0){z();return}E.push(z),!H&&(H=!0,queueMicrotask(()=>{H=!1;let ue=E.splice(0);if(ue.length!==0){if(I>0){fn(ue);return}Bt(Z,()=>{fn(ue)})}}))}function Bt(z,Z){let ue;try{ue=z.startViewTransition(Z)}catch(xt){console.error("createLayoutState: startViewTransition threw",xt),Z();return}I++;let Pe=()=>{I=Math.max(0,I-1)},Le=ue?.finished;Le&&typeof Le.then=="function"?Le.then(Pe,Pe):Pe()}function fn(z){for(let Z of z)try{Z()}catch(ue){console.error("createLayoutState: view-transition callback threw",ue)}}function Vt(){let z=n.getItem(c);if(!z)return{};try{return JSON.parse(z)}catch{return{}}}function un(z){n.setItem(c,JSON.stringify(z))}function Jn(){return Vt()[m()]??{}}function Mt(z){return t.classList.contains(z)}function ze(z,Z){return z.when==="always"?!0:z.when==="added"?Z===!0:Z===!1}function D(z,Z){if(_().has(z))return;let ue=m();for(let Pe of h)if(Pe.className===z&&ze(Pe,Z)){let{callback:Le,useViewTransition:xt}=Pe;F(()=>{ce(xt,()=>{Le({className:z,isApplied:Z,storageKey:ue})})})}}function Q(z,Z,ue,Pe={}){let Le={className:z,when:Z,callback:ue,useViewTransition:!!Pe.useViewTransition};h.add(Le);let xt=Mt(z);if(ze(Le,xt)&&!_().has(z)){let qt=m(),{useViewTransition:Qt}=Le;F(()=>{ce(Qt,()=>{ue({className:z,isApplied:xt,storageKey:qt})})})}return()=>{h.delete(Le)}}function N(){let z=Jn(),Z=_();for(let ue of Object.keys(z))Z.has(ue)||t.classList.toggle(ue,z[ue])}function ne(z){return z.startsWith(l)}function be(z,Z){let ue=z.filter(ne),Pe=Z.filter(ne),Le=ue.filter(qt=>!Pe.includes(qt)),xt=Pe.filter(qt=>!ue.includes(qt));return{added:Le,removed:xt}}function L(z,Z){if(z.length+Z.length===0)return;let ue=_(),Pe=m(),Le=Vt(),xt=Le[Pe]??{},qt=!1;for(let Qt of z)ue.has(Qt)||(xt[Qt]=!0,qt=!0);for(let Qt of Z)ue.has(Qt)||(xt[Qt]=!1,qt=!0);qt&&(Le[Pe]=xt,un(Le))}function Y(){x?.disconnect(),x=null}try{ce(a,N,{sync:!0}),x=new MutationObserver(z=>{for(let Z of z){let ue=(Z.oldValue??"").split(/\s+/),Pe=Array.from(Z.target.classList),{added:Le,removed:xt}=be(Pe,ue);L(Le,xt);for(let qt of Le)D(qt,!0);for(let qt of xt)D(qt,!1)}}),x.observe(t,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}),i.then(Ce,z=>{console.error("createLayoutState: deferCallbacksUntil rejected; flushing pending callbacks anyway",z),Ce()})}catch(z){throw console.error("createLayoutState: setup failed; marking layout as restored anyway",z),pe(),z}return{subscribe:Q,getViewState:Jn,getState:Vt,stop:Y}}var t9="J\u016Bs esat pierakst\u012Bjies ar kontu, kas saist\u012Bts ar organiz\u0101ciju ({email}). K\u013C\u016Bstot par dal\u012Bbnieku, j\u016Bs saprotat un apliecin\u0101t, ka j\u016Bsu dal\u012Bba programm\u0101 Microsoft Learn noz\u012Bm\u0113, ka m\u016Bsu viet\u0146u un programmu t\u012Bkl\u0101 tiks re\u0123istr\u0113ti un uzskait\u012Bti j\u016Bsu sasniegumi un darb\u012Bbas, k\u0101 ar\u012B to, ka m\u0113s varam kop\u012Bgot j\u016Bsu rezult\u0101tus un darb\u012Bbas ar j\u016Bsu organiz\u0101ciju. Turkl\u0101t j\u016Bsu lietot\u0101jv\u0101rds, par\u0101d\u0101mais v\u0101rds, profila att\u0113ls, pieder\u012Bba, sasniegumi un darb\u012Bbas b\u016Bs publiski redzamas. Savus sasniegumus un darb\u012Bbas varat pasl\u0113pt iestat\u012Bjumos.

P\u0113c profila izveides iesak\u0101m piesaist\u012Bt k\u0101du personisko kontu, lai j\u016Bs var\u0113tu piek\u013C\u016Bt savai m\u0101c\u012Bbu norisei neatkar\u012Bgi no nodarbin\u0101t\u012Bbas statusa. Papildu kontus varat piesaist\u012Bt profila iestat\u012Bjumu sada\u013C\u0101 Kontu p\u0101rvald\u012Bba.";var OD="Piekr\u012Btu";var uc="Pievienot",n9="Pievienot sada\u013Cu",s9="Pievienot vietr\u0101di URL",Hw="Pievienots";var Ey="Papildinform\u0101cija";var Bw="Pievienot saturu";var o9="K\u013C\u016Bda, ieg\u016Bstot GitHub satura repozitoriju un ce\u013Cu";var r9="J\u016Bsu GitHub pilnvaras der\u012Bgums ir beidzies. Jums j\u0101atsvaidzina GitHub pilnvaras at\u013Caujas, noklik\u0161\u0137inot uz t\u0101l\u0101k nor\u0101d\u012Bt\u0101s pogas.";var i9='Vai v\u0113laties vienk\u0101r\u0161\u0101ku bag\u0101tin\u0101t\u0101 teksta redi\u0123\u0113\u0161anas pieredzi? Uzziniet par Microsoft Learn redaktoru!';var a9="Ieteikt labojumus \u0161eit: {name}",l9='Paldies, ka interes\u0113jaties par ieguld\u012Bjuma pakalpojum\u0101 Microsoft Learn iesp\u0113j\u0101m. Noklik\u0161\u0137iniet uz Redi\u0123\u0113t, lai atv\u0113rtu \u0161o rakstu \u0161eit: {name}. Papildinform\u0101ciju skatiet \u0161eit: ieguld\u012Bjuma snieg\u0161ana.';var c9="Atk\u0101rtoti autoriz\u0113t GitHub mar\u0137ieri ar visjaun\u0101kaj\u0101m at\u013Cauj\u0101m";var u9="S\u0101kt no jauna";var d9="MVP",p9="Microsoft darbinieks",m9="Microsoft \u0101r\u0161tata darbinieki";var g9="Microsoft interns";var f9="Microsoft re\u0123ion\u0101lais direktors",h9="Skol\u0113nu v\u0113stnieks",Af="Alfab\u0113tisk\u0101 sec\u012Bb\u0101 (A\u2013Z)",If="Alfab\u0113tisk\u0101 sec\u012Bb\u0101 (Z\u2013A)",qD="Anal\u012Bze";var HD="{AppliedSkills}",BD="{AppliedSkills} pabeigts";var b9="jaut\u0101ja plkst. {time}";var VD="Atskaites punkti";var _9="pirms dienas";var v9="Pievienot parametru",y9="Augst\u0101ks l\u012Bmenis";var oa="Visi",Vw="Visi API",x9="Visi filtri";var Gw="Visas pakotnes";var k9="Vai jums jau ir konts? Pierakst\u012Bties";var T9="pirms min\u016Btes",S9="pirms m\u0113ne\u0161a";var w9="pirms stundas",Oo="Anon\u012Bms";var E9="1 atbilde",C9="{count} atbildes";var GD="Vienu no atbild\u0113m jaut\u0101juma autors pie\u0146\u0113ma.";var Qw="API";var A9="API atsl\u0113ga",Yw="{platformName} API atsauce",QD="API mekl\u0113\u0161ana nav pieejama. L\u016Bdzu, v\u0113l\u0101k m\u0113\u0123iniet v\u0113lreiz.";var I9="{appliedSkillTitle} - {AppliedSkills} nov\u0113rt\u0113jums",P9="L\u016Bdzu, atsvaidziniet, lai turpin\u0101tu. J\u016Bsu laboratorija ats\u0101ks darbu tur, kur to p\u0101rtrauc\u0101t.";var L9="\u0160is nov\u0113rt\u0113jums ir \u013Coti popul\u0101rs, un m\u016Bsu noslodze jau darbojas maksim\u0101li, bet m\u0113s c\u012Bt\u012Bgi str\u0101d\u0101jam, lai uz\u0146emtu vair\u0101k izgl\u012Btojamo. L\u016Bdzu, atgriezieties p\u0113c 10 min\u016Bt\u0113m un m\u0113\u0123iniet v\u0113lreiz.",Kw="Microsoft akredit\u0101cijas dati",R9="Laiks ir beidzies.",M9="Esat sasniedzis laika ierobe\u017Eojumu.",$9="Tagad j\u016Bsu v\u0113rt\u0113jums tiks nov\u0113rt\u0113ts.",D9="Skat\u012Bt savus rezult\u0101tus",z9="Mums ir radusies k\u0101da probl\u0113ma, un m\u0113s veicam akt\u012Bvu izmekl\u0113\u0161anu. L\u016Bdzu, pagaid\u0101m izm\u0113\u0123iniet citu v\u0113rt\u0113jumu.",N9="Rad\u0101s probl\u0113ma. L\u016Bdzu, atk\u0101rtoti aktiviz\u0113jiet p\u0113c 10 min\u016Bt\u0113m.",j9="J\u016Bsu konts ir atz\u012Bm\u0113ts neparastu darb\u012Bbu d\u0113\u013C. L\u012Bdz ar to ir aptur\u0113ta piek\u013Cuve Microsoft {AppliedSkills}. L\u016Bdzu, izmantojiet pogu Atpaka\u013C, lai atgrieztos detaliz\u0113tas inform\u0101cijas par akredit\u0101cijas datiem lap\u0101.";var F9="Skat\u012Bt manus akredit\u0101cijas datus";var U9="Saglab\u0101jiet savu kolekciju, lai pie t\u0101s atgrieztos v\u0113l\u0101k. Der\u012Bgums var beigties, ja nov\u0113rt\u0113jums tiek atjaunin\u0101ts.",Ww="Doties uz detaliz\u0113tas inform\u0101cijas lapu",YD="Iepriek\u0161\u0113jos m\u0113\u0123in\u0101jumus varat skat\u012Bt akredit\u0101cijas datu inform\u0101cijas lap\u0101";var O9="Atsvaidziniet lapu",q9="Dr\u012Bkst\u0113sit atk\u0101rtoti veikt \u0161o nov\u0113rt\u0113\u0161anu p\u0113c:",H9="Saglab\u0101t savu kolekciju",B9="Veiktsp\u0113ja p\u0113c uzdevuma",V9="Joproj\u0101m notiek punktu skait\u012B\u0161ana",G9="Piel\u0101gota kolekcija, lai uzlabotu j\u016Bsu veiktsp\u0113ju",Q9="{AppliedSkills} materi\u0101ls - {date}",Y9='J\u016Bsu rezult\u0101ti joproj\u0101m tiek apstr\u0101d\u0101ti. Ja neredzat rezult\u0101tu p\u0113c {duration} sekund\u0113m, l\u016Bdzu, veiciet atsvaidzin\u0101\u0161anu.',K9="Pamatojoties uz j\u016Bsu rezult\u0101tiem, apkopoj\u0101m materi\u0101lus par jom\u0101m, kuras v\u0113l varat uzlabot. M\u0101c\u012Bbu materi\u0101li ietver:",W9="{AppliedSkills} akredit\u0101cijas dati ir ieg\u016Bti",J9="Diem\u017E\u0113l rad\u0101s k\u0101da probl\u0113ma; l\u016Bdzu, v\u0113l\u0101k m\u0113\u0123iniet v\u0113lreiz";var KD="J\u016Bsu nov\u0113rt\u0113juma rezult\u0101ti",Jw="J\u016Bsu nov\u0113rt\u0113juma rezult\u0101ti par",Z9="Uzziniet, k\u0101 tiek v\u0113rt\u0113ts \u0161is nov\u0113rt\u0113jums",X9='\u0160im nov\u0113rt\u0113jumam pa\u0161laik tiek veikta uztur\u0113\u0161ana. Tikm\u0113r p\u0101rl\u016Bkojiet citus Microsoft akredit\u0101cijas datus.',eG='J\u016Bsu konts vai savienojums tika atz\u012Bm\u0113ts neparastu darb\u012Bbu d\u0113\u013C. T\u0101d\u0113\u013C esam aptur\u0113ju\u0161i j\u016Bsu piek\u013Cuvi Microsoft {AppliedSkills}. Papildinform\u0101cija.',tG="J\u016Bsu apel\u0101cija tiek izskat\u012Bta";var nG="(novecojis)",sG="{version} un citas versijas",oG="{version1} un {version2}",rG="Lietot",Zw="Arhitekt\u016Bra",iG="Risin\u0101juma ideja",Pf="Iepriek\u0161\u0113j\u0101s versijas",Xa="Vai tie\u0161\u0101m veikt \u0161o darb\u012Bbu?",aG="Datu dz\u0113\u0161anu nevar atsaukt.";var lG="Raksts";var cG="pirms sekundes";var uG="Jaut\u0101t kopienai";var Xw="V\u0113rt\u0113jumi";var dG="Nepiecie\u0161ama autoriz\u0101cija";var pG="pirms ned\u0113\u013Cas";var mG="Azure dokument\u0101cija";var gG="-- Atlasiet v\u0113rt\u012Bbu --",dc="Atpaka\u013C";var fG="Atpaka\u013C uz atsauksm\u0113m";var hG="Ies\u0101c\u0113jiem";var Lf="Pamatteksts";var bG="No\u0146emt gr\u0101matz\u012Bmi lapai {title}",_G="Pievienot gr\u0101matz\u012Bmi lapai {title}";var vG="Rad\u0101s k\u0101da probl\u0113ma ar zaru {branchFallbackFrom}. T\u0101 viet\u0101 m\u0113s j\u016Bs novirz\u012Bj\u0101m uz zaru {branch}.",yG="Zara atlas\u012Bt\u0101js",eE="Atpaka\u013Cce\u013C\u0161";var tE="Visi atpaka\u013Cce\u013Ci";var xG="P\u0101rl\u016Bkot eks\u0101menus";var Cu="P\u0101rl\u016Bkot sertifik\u0101cijas",pc="P\u0101rl\u016Bkot akredit\u0101cijas datus";var kG="Kategorija",TG="Kategorijas",SG="Uzman\u012Bbu";var Ne="Atcelt",nE="Titri izsl\u0113gti";var mc="Sertifik\u0101cija";var wG="P\u0101rs\u016Bt\u012B\u0161ana uz Pearson Vue";var EG="L\u016Bdzu, ievadiet savu adresi, lai eks\u0101menu pieg\u0101des pakalpojumu sniedz\u0113js Pearson Vue var\u0113tu apstiprin\u0101t j\u016Bsu identit\u0101ti.",CG="L\u016Bdzu, ievadiet savu t\u0101lru\u0146a numuru un e-pastu sazi\u0146ai, lai eks\u0101menu pieg\u0101des pakalpojumu sniedz\u0113js Pearson Vue var\u0113tu ar jums sazin\u0101ties, ja eks\u0101mena k\u0101rto\u0161anas laik\u0101 rodas probl\u0113mas.",AG="Jebkuras atlaides tiks piem\u0113rotas Pearson Vue maks\u0101juma laik\u0101.",IG="Ja jums ir kupona kods, maks\u0101juma laik\u0101 ievadiet kodu Pearson Vue.",PG="L\u016Bdzu, dodieties uz Pearson Vue port\u0101lu, lai turpin\u0101tu re\u0123istr\u0101ciju eks\u0101menam.",LG='Microsoft nesaglab\u0101s j\u016Bsu nor\u0101d\u012Bto adresi un t\u0101lru\u0146a numuru. Tagad m\u0113s j\u016Bs p\u0101rvirz\u012Bsim uz Pearson Vue, lai pabeigtu re\u0123istr\u0101ciju eks\u0101menam. Microsoft pazi\u0146ojums par konfidencialit\u0101ti',RG="1. adrese",MG="2. adrese",$G="Pils\u0113ta",DG="Novads",zG="Pasta indekss",NG="Valsts/re\u0123iona kods",WD="Ievad\u012Bt adresi",jG="Ievad\u012Bt pils\u0113tu";var FG="Ievad\u012Bt pasta indeksu",UG="Ievad\u012Bt t\u0101lru\u0146a numuru",OG="Ievad\u012Bt e-pasta adresi";var qG="Kolekcijas nosaukums";var Cy="Nenok\u0101rtota";var sE="Rad\u0101s k\u0101da probl\u0113ma.",Ay="Nok\u0101rtota";var HG="Nov\u0113rt\u0113juma materi\u0101ls \u2014 {date}";var BG="Saglab\u0101t savu kolekciju";var VG="Atjauno\u0161anas materi\u0101ls \u2014 {date}";var GG="\u0160\u012B ir pagaidu priek\u0161skat\u012Bjuma lapa, kuras der\u012Bgums beigsies {temporaryPreviewExpiresAt}. Kad t\u0101s der\u012Bguma termi\u0146\u0161 beigsies, jums t\u0101 b\u016Bs j\u0101atjauno no vienumu darbn\u012Bcas, pirms to atkal priek\u0161skat\u012Bsit.",QG="Nov\u0113rt\u0113jumu platformas API",YG="P\u0101rbaudiet savu atbildi",KG="Atjauno\u0161anas nov\u0113rt\u0113jums sertifik\u0101tam {certificationName}",WG="Apsveicam, jums izdev\u0101s!",el="Microsoft sertifik\u0101cija",JG="Atjaunoj\u0101t savu sertifik\u0101tu {certificationName} un pagarin\u0101j\u0101t to par vienu gadu.",ZG="Skat\u012Bt savus rezult\u0101tus",XG="{current}. jaut\u0101jums no {total}",e7="{current}. no {total}",t7="Atlasiet tikai vienu atbildi.",n7="Laiks beidzies.",s7="Esat sasniedzis laika ierobe\u017Eojumu. Tagad j\u016Bsu v\u0113rt\u0113jums tiks nov\u0113rt\u0113ts.",o7="Skat\u012Bt savus rezult\u0101tus",r7="Atlasiet visas atbilsto\u0161\u0101s atbildes.",i7="T\u0101l\u0101k",a7="Notiek j\u016Bsu nov\u0113rt\u0113juma kompil\u0113\u0161ana...",l7="Rad\u0101s ar neparedz\u0113ta k\u013C\u016Bda. L\u016Bdzu, v\u0113l\u0101k m\u0113\u0123iniet v\u0113lreiz. Ja \u0161\u012B probl\u0113ma atk\u0101rtojas, l\u016Bdzu, sazinieties ar sertifik\u0101cijas atbalsta dienestu.",c7="Labi, sapratu",u7="L\u016Bdzu, atk\u0101rtoti m\u0113\u0123iniet iesniegt savu atjauno\u0161anas nov\u0113rt\u0113jumu. Ja \u0161\u012B probl\u0113ma atk\u0101rtojas, varat sazin\u0101ties ar sertifik\u0101cijas atbalsta dienestu.",d7="Sazin\u0101ties ar sertifik\u0101cijas atbalsta dienestu",p7="J\u016Bsu nov\u0113rt\u0113jumam jau bija v\u0113rt\u0113jums",m7="\u0160\u0137iet, ka jau iesniedz\u0101t \u0161o nov\u0113rt\u0113jumu. Sava nov\u0113rt\u0113juma rezult\u0101tus varat skat\u012Bt no sertifik\u0101cijas atjauno\u0161anas detaliz\u0113t\u0101s inform\u0101cijas lapas. Ja uzskat\u0101t, ka tas nav pareizi, un ja ir nepiecie\u0161ama pal\u012Bdz\u012Bba, l\u016Bdzu, sazinieties ar sertifik\u0101cijas atbalsta dienestu.",oE="Doties uz atjauno\u0161anas detaliz\u0113to inform\u0101ciju",g7="Atliku\u0161ais laiks",Rp="\u0160\u012B atbilde ir nepareiza.",Mp="\u0160\u012B atbilde ir pareiza.",f7="R\u0101d\u012Bt visus jaut\u0101jumus",h7="Nov\u0113rt\u0113juma datums:",b7="J\u016Bsu sertifik\u0101cija ir atjaunota uz vienu gadu. L\u016Bdzu, \u0146emiet v\u0113r\u0101, ka sertifik\u0101cijas der\u012Bguma termi\u0146a atjaunin\u0101\u0161ana var ilgt da\u017Eas min\u016Btes.",_7="Diem\u017E\u0113l \u0161is piel\u0101gotais m\u0101c\u012Bbu materi\u0101ls ir novecojis, sal\u012Bdzinot ar pa\u0161reiz\u0113jo nov\u0113rt\u0113jumu. L\u016Bdzu, apmekl\u0113jiet nov\u0113rt\u0113juma detaliz\u0113t\u0101s inform\u0101cijas lapu, lai ieg\u016Btu jaun\u0101ko sagatavo\u0161an\u0101s materi\u0101lu.";var rE="Piel\u0101goti m\u0101c\u012Bbu materi\u0101li, lai uzlabotu j\u016Bsu prasmes";var iE='T\u0101 k\u0101 j\u016Bsu rezult\u0101ts sada\u013C\u0101 "{section}" bija zem\u0101ks:',JD="J\u016Bsu atjauno\u0161anas nov\u0113rt\u0113juma rezult\u0101ti sertifik\u0101tam {certificationName}";var v7="J\u016Bsu atjauno\u0161anas nov\u0113rt\u0113juma rezult\u0101ti \u0161im:";var y7="Papildinform\u0101cija par \u0161\u012Bs sertifik\u0101cijas atjauno\u0161anu",x7="Nok\u0101rto\u0161anai ir nepiecie\u0161ami {percent}%",aE="Rezult\u0101ti pa v\u0113rt\u0113juma sada\u013C\u0101m",k7="Vai esat gatavs atk\u0101rtotai nov\u0113rt\u0113juma veik\u0161anai?";var T7="Dr\u012Bkstat atk\u0101rtoti veikt \u0161o nov\u0113rt\u0113\u0161anu. L\u012Bdz datumam {date} varat m\u0113\u0123in\u0101t tik daudz rei\u017Eu, cik nepiecie\u0161ams. P\u0113c otr\u0101 m\u0113\u0123in\u0101juma jums b\u016Bs j\u0101gaida 24 stundas starp atk\u0101rtotiem m\u0113\u0123in\u0101jumiem.",ZD="Skat\u012Bt savas sertifik\u0101cijas",S7="Varat sav\u0101 profil\u0101 mekl\u0113t iepriek\u0161\u0113jos nov\u0113rt\u0113\u0161anas m\u0113\u0123in\u0101jumus vai apmekl\u0113t sertifik\u0101cijas p\u0101rskatu",w7="J\u016Bsu visp\u0101r\u0113jie rezult\u0101ti:";var E7="Sertifik\u0101cijas p\u0101rskats";var tl="Sertifik\u0101cijas";var C7="Sertifik\u0101cijas veids",A7="Sertifik\u0101cijas veidi",ra="Uzdevums";var I7="Akt\u012Bvs no: {start} l\u012Bdz: {end}";var P7="Izaicin\u0101jumu kolekcija";var L7="Mekl\u0113t produktu";var R7="Jums v\u0113l nav izaicin\u0101jumu";var XD="Beigu datums nevar b\u016Bt pirms s\u0101kuma datuma. L\u016Bdzu, atk\u0101rtoti atlasiet beigu datumu.",M7="Beigu laiks nevar b\u016Bt pirms s\u0101kuma laika. L\u016Bdzu, atk\u0101rtoti atlasiet beigu laiku.",$7="S\u0101kuma laiks nevar b\u016Bt pirms pa\u0161reiz\u0113j\u0101 laika. L\u016Bdzu, atk\u0101rtoti atlasiet s\u0101kuma laiku.";var lE="Atrast kaut ko citu, ko apg\u016Bt";var cE="{score}%",D7="Skat\u012Bt izaicin\u0101jumu";var Rf="Izaicin\u0101jumi";var ez="Pievienot sada\u013Cai Izaicin\u0101jumi",uE="Pievienots sada\u013Cai Izaicin\u0101jumi";var z7="P\u0101rvald\u012Bt {title} sada\u013C\u0101 Izaicin\u0101jumi",N7="Pievienot {title} izaicin\u0101jumam";var tz="\u0160aj\u0101 sada\u013C\u0101 nav vienumu.";var dE="S\u0101kuma datums",pE="S\u0101kuma laiks",mE="Beigu datums",gE="Beigu laiks";var j7="Atvainojiet, \u0161is izaicin\u0101jums ir priv\u0101ts.",F7="\u0160is izaicin\u0101jums nav redzams citiem lietot\u0101jiem.",U7="J\u016Bs varat p\u0101rskat\u012Bt savas kolekcijas sav\u0101 lietot\u0101ja profil\u0101.",O7="Skatiet savus izaicin\u0101jumus",q7="Doties uz l\u012Bderu sarakstu";var Iy="Kop\u0113t izaicin\u0101jumu",H7="J\u016Bs gatavojaties kop\u0113t \u0161o izaicin\u0101jumu. Jaunajam izaicin\u0101jumam b\u016Bs t\u0101da pati inform\u0101cija un saturs. Kad tas b\u016Bs izveidots, j\u016Bs to var\u0113sit redi\u0123\u0113t, izmantojot t\u0101 inform\u0101cijas lapu.",B7="Dz\u0113st izaicin\u0101jumu",V7="S\u0101kuma datumam j\u0101b\u016Bt n\u0101kotn\u0113.",G7="Beigu datumam ir j\u0101b\u016Bt p\u0113c s\u0101kuma datuma vai pa\u0161reiz\u0113j\u0101 datuma.",Q7="L\u016Bdzu, izv\u0113lieties der\u012Bgu prim\u0101ro t\u0113mu.",Y7="L\u016Bdzu, ievadiet der\u012Bgu m\u0113r\u0137a nosaukumu.",K7="L\u016Bdzu, ievadiet der\u012Bgu ID, kas saist\u012Bts ar atlas\u012Bto \u0161\u012B izaicin\u0101juma m\u0113r\u0137auditoriju.",W7="L\u016Bdzu, ievadiet der\u012Bgu m\u0113r\u0137i \u0161im izaicin\u0101jumam.",J7="Jums nav at\u013Cauts veikt \u0161o darb\u012Bbu.";var Py="L\u012Bderu saraksts";var Z7='Pievienots: {collectionName}',X7='Pievienots Izaicin\u0101jumiem',eQ="Pierakstieties, lai pievienotu \u0161o savam izaicin\u0101jumam.",tQ='No\u0146emts no kolekcijas {collectionName}',nQ='No\u0146emts no Izaicin\u0101jumiem';var sQ="Konstat\u0113ts p\u0101rk\u0101pums",oQ='\u0160\u012Bs kolekcijas nosaukums vai apraksts, vai \u0161\u012Bs izaicin\u0101jumu kolekcijas sada\u013Cas nosaukums vai apraksts ir dz\u0113sts m\u016Bsu Lieto\u0161anas noteikumu p\u0101rk\u0101puma d\u0113\u013C. Tika zi\u0146ots manu\u0101li vai tas tika identific\u0113ts, izmantojot automatiz\u0113tu noteik\u0161anu, pirms tika veiktas darb\u012Bbas. Papildinform\u0101cijai, l\u016Bdzu, skatiet m\u016Bsu Lieto\u0161anas noteikumus.',nz='Ja \u0161\u012B izaicin\u0101juma nosaukums vai apraksts tika izdz\u0113sts, l\u016Bdzu, dodieties uz t\u0101 detaliz\u0113t\u0101s inform\u0101cijas lapu, lai atjaunin\u0101tu.';var rQ="Ja sada\u013Cas nosaukums vai \u0161\u012B izaicin\u0101juma kolekcijas apraksts ir dz\u0113sts, l\u016Bdzu, p\u0101rskatiet un atjauniniet zem\u0101k.",iQ="\u0160is br\u012Bdin\u0101jums joproj\u0101m tiks r\u0101d\u012Bts, l\u012Bdz tiks veikts atjaunin\u0101jums.";var aQ="Jaut\u0101t l\u012Bdzeklim Learn",lQ="Aprakstiet, ko v\u0113laties dar\u012Bt",cQ="T\u0113rz\u0113\u0161ana ir atiestat\u012Bta",uQ="Atpaka\u013C uz t\u0113rz\u0113\u0161anu",fE="Es p\u0101rtraucu atbildes \u0123ener\u0113\u0161anu. Vai v\u0113laties izm\u0113\u0123in\u0101t kaut ko citu? Izm\u0113\u0123iniet m\u016Bsu uzved\u0146u ce\u013Cvedi, atlasot pogu Skat\u012Bt uzvednes.",dQ="T\u0113rz\u0113\u0161ana",Mf="T\u0113rz\u0113\u0161anas v\u0113sture",pQ="Confirm",sz="Confirm delete",mQ='You requested to delete "{name}". This is an irreversible action. Are you sure you want to delete this?',gQ="No chats to display",oz="Rename",fQ="Rename conversation",hQ="AI \u0123ener\u0113ts saturs var b\u016Bt nepareizs",bQ="Prec\u012Bzs/atbilsto\u0161s saturs",_Q="Piln\u012Bgs/skaidrs saturs",vQ="\u0100tra atbilde",yQ="Neprec\u012Bzs/neatbilsto\u0161s saturs",xQ="Nepiln\u012Bgs/neskaidrs saturs",kQ="Aizvainojo\u0161s/nepiem\u0113rots saturs",TQ="L\u0113na atbilde",rz="Kaut kas cits",SQ="Paldies par atsauksm\u0113m!",iz="Diem\u017E\u0113l nevaru par to t\u0113rz\u0113t. L\u016Bdzu, ievadiet citu t\u0113mu vai izm\u0113\u0123iniet uzved\u0146u rokasgr\u0101matu, atlasot zem\u0101k eso\u0161o pogu Skat\u012Bt uzvednes.",az="Ne tagad",lz="Iepaz\u012Bstieties ar m\u016Bsu m\u0101ksl\u012Bg\u0101 intelekta pal\u012Bgu Ask Learn",Ly="Ask Learn ir m\u0101ksl\u012Bg\u0101 intelekta pal\u012Bgs, kas var atbild\u0113t uz jaut\u0101jumiem, preciz\u0113t j\u0113dzienus, izmantojot uzticamu Microsoft dokument\u0101cija.",cz="P\u0101rbaudiet precizit\u0101ti",uz="Ask Learn darbojas priek\u0161skat\u012Bjuma re\u017E\u012Bm\u0101. L\u016Bdzu, p\u0101rbaudiet atbildes, jo AI \u0123ener\u0113tais saturs var b\u016Bt neprec\u012Bzs. Izmantojiet atsauksmju pogas, lai pal\u012Bdz\u0113tu mums uzlabot \u0161o l\u012Bdzekli.",dz='L\u016Bdzu, izlasiet Ask Learn caursp\u012Bd\u012Bguma piez\u012Bmes, lai uzzin\u0101tu vair\u0101k par lieto\u0161anas gad\u012Bjumiem un ierobe\u017Eojumiem.',pz="Izm\u0113\u0123iniet Ask Learn",wQ="Apliecin\u0101jums",hE="Lai sniegtu atbilsto\u0161\u0101kas un personaliz\u0113t\u0101kas atbildes, Ask Learn saglab\u0101 j\u016Bsu t\u0113rz\u0113\u0161anas at\u0161ifr\u0113jumus.",EQ="\u013Baujiet Ask Learn lietot j\u016Bsu iepriek\u0161\u0113j\u0101s t\u0113rz\u0113\u0161anas sarunas, lai personaliz\u0113tu atbildes.",CQ="Atz\u012Bm\u0113jiet izv\u0113les r\u016Bti\u0146u, lai apstiprin\u0101tu vadl\u012Bnijas pirms turpin\u0101t.",AQ="Lai izmantotu Ask Learn, jums ir j\u0101apstiprina iepriek\u0161\u0113j\u0101 t\u0113rz\u0113\u0161anas izmanto\u0161ana. Vair\u0101k varat las\u012Bt Ask Learn caursp\u012Bd\u012Bguma piez\u012Bm\u0113s.",IQ="Atsauksmju apstiprin\u0101jumi",$f="L\u016Bdzu, pierakstieties, lai izmantotu Ask Learn.",PQ="Diem\u017E\u0113l sasniedzu maksim\u0101lo atbil\u017Eu skaitu, ko varu sniegt sarun\u0101. L\u016Bdzu, atlasiet \u201CJauna t\u0113rz\u0113\u0161ana\u201D, lai s\u0101ktu jaunu sarunu.",bE="Vair\u0101k iesp\u0113ju",LQ="Maksim\u0101li {max} rakstz\u012Bmes",Df="Jauna t\u0113rz\u0113\u0161ana",RQ="Jauns zi\u0146ojums no Ask Learn",zf="Priek\u0161skat\u012Bt",MQ="Priek\u0161skatiet, kas tiks kop\u012Bgots",$Q="Uzved\u0146u ce\u013Cvedis",mz="Sniedziet p\u0113c iesp\u0113jas detaliz\u0113t\u0101ku inform\u0101ciju, bet neiek\u013Caujiet nek\u0101du priv\u0101tu vai sensit\u012Bvu inform\u0101ciju";var DQ="P\u0101r\u0123ener\u0113t";var zQ="S\u016Bt\u012Bt",NQ="Aptur\u0113t \u0123ener\u0113\u0161anu",jQ="Past\u0101stiet mums vair\u0101k",_E="\u0160obr\u012Bd man ir liels piepras\u012Bjums. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz p\u0113c da\u017E\u0101m min\u016Bt\u0113m.",FQ="\u0160is zi\u0146ojums ir noder\u012Bgs",UQ="\u0160is zi\u0146ojums nav noder\u012Bgs",Ry="Diem\u017E\u0113l nevaru pal\u012Bdz\u0113t ar to. Izm\u0113\u0123iniet uzved\u0146u ce\u013Cvedi, zem\u0101k atlasot pogu Skat\u012Bt uzvednes.",io="Diem\u017E\u0113l rad\u0101s probl\u0113ma. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz vai kop\u012Bgojiet savas atsauksmes.",OQ="Da\u017Eas no j\u016Bsu zi\u0146ojuma rakstz\u012Bm\u0113m netiek atbalst\u012Btas. Vai varat, l\u016Bdzu, m\u0113\u0123in\u0101t v\u0113lreiz, izmantojot citas rakstz\u012Bmes?",qQ="L\u016Bdzu, ierakstiet zi\u0146ojumu, lai turpin\u0101tu",vE="Zi\u0146ojum\u0101 j\u0101b\u016Bt vismaz 10 rakstz\u012Bm\u0113m",gz="P\u0101rsniegts rakstz\u012Bmju skaita ierobe\u017Eojums",fz="Skat\u012Bt uzvednes",yE="Str\u0101d\u0101jam pie t\u0101...",HQ="{count} no {total} atbild\u0113m";var BQ="Tikai nov\u0113rt\u0113juma \u012Bpa\u0161nieks var skat\u012Bt piez\u012Bmes un atjaunin\u0101t kontrolsaraksta vienumus";var VQ="Cit\u0101ts";var Nf="Not\u012Br\u012Bt visu",GQ="Not\u012Br\u012Bt filtru",QQ="Not\u012Br\u012Bt veidlapu",YQ="Not\u012Br\u012Bt jaut\u0101juma autoru";var KQ="Not\u012Br\u012Bt terminu",WQ="Lai skat\u012Btu RSS pl\u016Bsmu, noklik\u0161\u0137iniet",he="Aizv\u0113rt";var JQ="Aizv\u0113rt mekl\u0113\u0161anu",ZQ='Neizdev\u0101s palaist Cloud Shell. P\u0101rskatiet probl\u0113mu nov\u0113r\u0161anas ce\u013Cvedi.';var XQ="Koda paraugs",hz="Koda paraugi";var xE="Sak\u013Caut",eY="Sak\u013Caut tabulu",mi="Kolekcija",tY="Ofici\u0101l\u0101 kolekcija";var nY="\u0160\u012Bs kolekcijas kopija ir saglab\u0101ta j\u016Bsu profil\u0101",sY="Dien\u0101m, lai pabeigtu pagrieziena punktu, j\u0101b\u016Bt skaitlim.",bz="Apraksts (nav oblig\u0101ts)";var oY="Redi\u0123\u0113t sada\u013Cu",rY="Maksim\u0101lais garums ir 550 rakstz\u012Bmes.",iY="Sada\u013Cas virsraksts nevar b\u016Bt t\u0101ds pats k\u0101 cits virsraksts kolekcij\u0101.",_z="Jauna sada\u013Ca",aY="Saglab\u0101t sada\u013Cu",vz="{number}. sada\u013Ca";var lY="Maksim\u0101lais garums ir 100 rakstz\u012Bmes.",cY="Sada\u013Cas virsraksts vai apraksts neiztur\u0113ja Microsoft valid\u0101cijas pakalpojuma p\u0101rbaudi.",uY="M\u0113s nevar\u0113j\u0101m saglab\u0101t j\u016Bsu sada\u013Cu. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz.",dY="Pievienot vietr\u0101di URL",pY="Lapas nosaukums",mY="Ievadiet savu virsrakstu.",gY="Virsakst\u0101 ir j\u0101b\u016Bt no 2 l\u012Bdz 100 rakstz\u012Bm\u0113m.",fY="Nevar\u0113j\u0101m saglab\u0101t j\u016Bsu URL. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz.",hY="\u0160ai kolekcijai nevar pievienot vietr\u0101\u017Eus URL.",bY="J\u016Bsu vietr\u0101dim URL ir j\u0101s\u0101kas ar http:// vai https://. AKA saites ir at\u013Cautas.",_Y="Vietr\u0101\u017Ea URL form\u0101ts nav der\u012Bgs.";var vY="Pievienot kolekcijai",yz="Pievienots kolekcijai",xz="Pievienot sada\u013Cai Kolekcijas",kE="Pievienot kolekcijai",yY='Pievienot "{pageName}" \u0161im:',TE="Kolekcija nav atrasta",xY="Atvainojiet! \u0160\u0137iet, ka \u0161\u012B kolekcija profils nepast\u0101v vai to nevar atrast saist\u012Bb\u0101 ar k\u0101du no \u0161iem iemesliem:",kY="Iesp\u0113jams, ka \u012Bpa\u0161nieks ir main\u012Bjis kolekcijas vietr\u0101di URL, k\u0101 rezult\u0101t\u0101 t\u0101 var netikt atrasta, ja lietot\u0101ji tai piek\u013C\u016Bst, izmantojot veco vietr\u0101di URL.",TY="Kolekcijas \u012Bpa\u0161nieks, iesp\u0113jams, to ir piln\u012Bb\u0101 izdz\u0113sis, padarot to nepieejamu.";var SY='Ja kolekcija vai t\u0101s saturs p\u0101rk\u0101pa Microsoft Learn lieto\u0161anas nosac\u012Bjumus.',wY="T\u0101 viet\u0101 \u0161eit ir da\u017Eas noder\u012Bgas saites:",EY="Microsoft Learn s\u0101kumlapa: veidojiet prasmes, kas atver j\u016Bsu karjeras durvis",CY="Mekl\u0113t | Microsoft Learn",AY="Microsoft Learn resursi | Microsoft Learn",IY="Izveidot Microsoft Learn kolekciju",PY='Kolekcijas atjaunin\u0101tas',kz="Microsoft darbinieki ir ties\u012Bgi atz\u012Bm\u0113t kolekciju ar atz\u012Bmi \u201CIzveidoja Microsoft\u201D.",SE="Papildinform\u0101cija",$p="P\u0101rv\u0113rst par ofici\u0101lu kolekciju",wE="Ofici\u0101la kolekcija p\u0101rst\u0101v korpor\u0101ciju Microsoft, t\u0101p\u0113c, l\u016Bdzu, p\u0101rliecinieties, vai j\u016Bsu kolekcija ir pabeigta, bez drukas k\u013C\u016Bd\u0101m un vai saturs ir pareiz\u0101 sec\u012Bb\u0101. Ja n\u0113, l\u016Bdzu, redi\u0123\u0113jiet savu kolekciju p\u0113c vajadz\u012Bbas. Tikl\u012Bdz kolekcija ir padar\u012Bta par ofici\u0101lu, to nevar revert\u0113t.";var LY="Kolekcija nav pieejama",RY="Vai esat gatavs p\u0101rv\u0113rst \u0161o kolekciju par ofici\u0101lu kolekciju?";var EE='Kolekcija ar nosaukumu "{title}" jau past\u0101v. Kolekciju nosaukumiem j\u0101b\u016Bt unik\u0101liem.',Au="Nosaukums ir oblig\u0101ts un nedr\u012Bkst p\u0101rsniegt 100 rakstz\u012Bmes.",My="Apraksts nav oblig\u0101ts un nedr\u012Bkst p\u0101rsniegt 550 rakstz\u012Bmes.",CE="Neder\u012Bgs saturs. L\u016Bdzu, no\u0146emiet visus t\u0101lru\u0146a numurus, e-pasta adreses un vietr\u0101\u017Eus URL.";var MY="Ja iestat\u012Bjums ir priv\u0101ts, \u0161o kolekciju varat skat\u012Bt tikai j\u016Bs. Kolekciju, kas nav priv\u0101ta, var apskat\u012Bt ikviens.",AE="Iestat\u012Bt k\u0101 priv\u0101tu",$Y="Lietot\u0101ja {userDisplayName} kolekcija {index}",Tz="Izveidoja {name}",DY="Izveidoja Microsoft Learn lietot\u0101js";var zY="Dz\u0113st kolekciju",NY="Par\u0101d\u012Bt manu v\u0101rdu";var IE="Redi\u0123\u0113t manu kolekciju",Sz="pievienot aprakstu",$y="Redi\u0123\u0113t aprakstu",Dy="Redi\u0123\u0113t virsrakstu",jY="Redi\u0123\u0113t M\u0101c\u012Bbu rezult\u0101tus",FY="\u0160\u012Bs kolekcijas apraksts",UY="Ir nepiecie\u0161ams vismaz viens rezult\u0101ts.",OY="\u0160\u012Bs kolekcijas virsraksts",qY="M\u0113s nevar\u0113j\u0101m saglab\u0101t j\u016Bsu virsrakstu. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz.",HY="M\u0113s nevar\u0113j\u0101m saglab\u0101t j\u016Bsu aprakstu. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz.",BY="M\u0113s nevar\u0113j\u0101m saglab\u0101t j\u016Bsu m\u0101c\u012Bbu rezult\u0101tus. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz.",PE="Izlase",VY="Ja \u0161\u012B saite tika kop\u012Bgota ar jums, pieprasiet jaunu saiti.",LE="Redi\u0123\u0113\u0161ana neietekm\u0113s s\u0101kotn\u0113jo kolekciju";var GY="Vienumi \u0161aj\u0101 kolekcij\u0101";var QY='\u0160aj\u0101 kolekcij\u0101 nav vienumu. Pievienojiet vienumus no Learn apm\u0101c\u012Bbu p\u0101rl\u016Bko\u0161anas lapas.',YY="{numberOf} m\u0101c\u012Bbu ce\u013Ci",KY="{numberOf} m\u0101c\u012Bbu ce\u013C\u0161",WY="Kolekcija ir pabeigta, un t\u0101s korekt\u016Bra ir veikta",JY="Tas pras\u012Bs l\u012Bdz 14 dien\u0101m, bet var\u0113tu tikt pabeigts \u0101tr\u0101k. P\u0113c lokaliz\u0113\u0161anas visi turpm\u0101kie j\u016Bsu veiktie labojumi tiks autom\u0101tiski iesniegti lokaliz\u0101cijas konveijer\u0101.",ZY="J\u016Bsu virsraksts, apraksts, sada\u013Cas un sada\u013Cu apraksti tiks tulkoti vis\u0101s valod\u0101s, ko atbalsta Microsoft Learn",RE="Lokaliz\u0113t",XY="L\u016Bdzu, nodro\u0161iniet t\u0101l\u0101k nor\u0101d\u012Bto:",eK="\u0160\u012B kolekcija v\u0113l nav lokaliz\u0113ta j\u016Bsu valod\u0101.",tK="Avota valoda ir ang\u013Cu valoda",ME="\u0160\u012B kolekcija ir iesniegta lokaliz\u0101cijai",nK="Paldies, ka savu ofici\u0101lo kolekciju iesniedz\u0101t lokaliz\u0101cijai.",$E="Modu\u013Cu skaits: {numberOf}",DE="{numberOf} modu\u013Ci";var sK="P\u0101rvietot vienumu lejup",oK="P\u0101rvietot vienumu aug\u0161up";var rK="P\u0101rvietot sada\u013Cu lejup",iK="P\u0101rvietot sada\u013Cu aug\u0161up",aK="Microsoft ofici\u0101l\u0101 kolekcija",lK="\u0161\u012Bs personas v\u0101rd\u0101:",cK='No\u0146emts no kolekcijas {collectionName}',uK='No\u0146emts: Kolekcijas';var dK="Saturam, kuram ir nepiecie\u0161ama autoriz\u0101cija, pievieno\u0161ana kolekcijai ir atsp\u0113jota.",pK='Pievienots: {collectionName}',mK='Pievienots: Kolekcijas',gK="Saglab\u0101t visus vienumus \u0161aj\u0101 kolekcij\u0101 k\u0101 jaunus";var wz="Pierakstieties, lai pievienotu \u0161o savai kolekcijai.",zE="Atvainojiet, \u0161\u012B kolekcija ir priv\u0101ta.",fK="\u0160\u012Bs kolekcijas veidot\u0101js to ir atz\u012Bm\u0113jis k\u0101 priv\u0101tu, un t\u0101 pa\u0161laik nav redzama citiem lietot\u0101jiem.",hK="\u0160\u012B kolekcija nepast\u0101v vai ir no\u0146emta.",bK='Varat ar\u012B atgriezties kolekcij\u0101s.',_K="J\u016Bs varat p\u0101rskat\u012Bt savas kolekcijas sav\u0101 lietot\u0101ja profil\u0101.",vK="Skat\u012Bt kolekcijas",yK="P\u0101rvald\u012Bt {title} kolekcij\u0101s",xK="Pievienot {title} kolekcijai",kK="\u0160o kolekciju varat atrast sav\u0101 Learn profil\u0101";var TK="Konstat\u0113ts p\u0101rk\u0101pums",SK='\u0160\u012Bs kolekcijas nosaukums vai apraksts, vai \u0161\u012Bs kolekcijas sada\u013Cas nosaukums vai apraksts ir dz\u0113sts m\u016Bsu Lieto\u0161anas noteikumu p\u0101rk\u0101puma d\u0113\u013C. Tika zi\u0146ots manu\u0101li vai tas tika identific\u0113ts, izmantojot automatiz\u0113tu noteik\u0161anu, pirms tika veiktas darb\u012Bbas. Papildinform\u0101cijai, l\u016Bdzu, skatiet m\u016Bsu Lieto\u0161anas noteikumus.',wK="\u0160is br\u012Bdin\u0101jums joproj\u0101m tiks r\u0101d\u012Bts, l\u012Bdz tiks veikts atjaunin\u0101jums.",EK="Zi\u0146ot\u0101 kolekcija",CK='Ir zi\u0146ots par ba\u017E\u0101m attiec\u012Bb\u0101 uz \u0161o kolekciju, un Microsoft pa\u0161laik to p\u0101rskata. Papildinform\u0101cijai, l\u016Bdzu, skatiet m\u016Bsu Lieto\u0161anas noteikumus.';var qo="Pabeigts";var AK="Apsveicam!";var IK="Sazin\u0101ties ar klientu atbalsta dienestu",Ez="Kontaktpersonas e-pasta adrese";var Cz="Satura apgabals",PK="Satura valodas atlas\u012Bt\u0101js. Pa\u0161laik iestat\u012Bts uz: {language}.";var LK='Piez\u012Bme. Autors izveidoja \u0161o rakstu ar AI pal\u012Bdz\u012Bbu. Uzzin\u0101t vair\u0101k',RK='Piez\u012Bme. \u0160aj\u0101 rakst\u0101 ir ietverts AI rad\u012Bts saturs. Uzzin\u0101t vair\u0101k',MK="Kopienas veidots saturs. \u0160o rakstu raksta un uztur m\u016Bsu Microsoft Learn kopienas eksperti.",$K='Piez\u012Bme. \u0160aj\u0101 s\u0113rij\u0101 ir ietverts AI rad\u012Bts saturs. Uzzin\u0101t vair\u0101k',DK='Piez\u012Bme. Autors izveidoja \u0161o epizodi ar AI pal\u012Bdz\u012Bbu. Uzzin\u0101t vair\u0101k';var zK='Piez\u012Bme. \u0160aj\u0101 modul\u012B ir ietverts AI rad\u012Bts saturs. Uzzin\u0101t vair\u0101k',NK='Piez\u012Bme. Autors izveidoja \u0161o moduli ar AI pal\u012Bdz\u012Bbu. Uzzin\u0101t vair\u0101k',jK='Piez\u012Bme. \u0160aj\u0101 lap\u0101 ir ietverts AI rad\u012Bts saturs. Uzzin\u0101t vair\u0101k',FK='Piez\u012Bme. \u0160\u012B lapa da\u013C\u0113ji tika izveidota ar AI pal\u012Bdz\u012Bbu. Uzzin\u0101t vair\u0101k',gc="Turpin\u0101t";var NE="Kop\u0113\u0161ana pabeigta",Iu="Kop\u0113t";var Dp="Kurss";var Az="Austr\u0101lija",Iz="Austrija";var jE="Be\u013C\u0123ija";var Pz="Braz\u012Blija";var FE="Kan\u0101da";var Lz="Indija";var Rz="\u012Arija";var UE="Malaizija";var Mz="Meksika";var $z="Jaunz\u0113lande";var Dz="Portug\u0101le";var zz="Singap\u016Bra";var Nz="Dienvid\u0101frikas Republika";var zy="\u0160veice";var jz="Apvienot\u0101 Karaliste",Fz="Amerikas Savienot\u0101s Valstis";var Ny="Valsts/re\u0123ions";var jy="Izveidot";var Uz="Izveidoja";var UK="K\u013C\u016Bstot par dal\u012Bbnieku, j\u016Bs saprotat un apliecin\u0101t, ka j\u016Bsu dal\u012Bba programm\u0101 Microsoft Learn noz\u012Bm\u0113, ka m\u016Bsu viet\u0146u un programmu t\u012Bkl\u0101 tiks re\u0123istr\u0113ti un uzskait\u012Bti j\u016Bsu sasniegumi un darb\u012Bbas.

Turkl\u0101t j\u016Bsu lietot\u0101jv\u0101rds, par\u0101d\u0101mais v\u0101rds, profila att\u0113ls, pieder\u012Bba, sasniegumi un darb\u012Bbas b\u016Bs publiski redzamas. Savus sasniegumus un darb\u012Bbas varat pasl\u0113pt iestat\u012Bjumos.";var ps="Akredit\u0101cijas dati",OK="Akredit\u0101cijas datu tips",qK="Akredit\u0101cijas datu tipi";var HK="piel\u0101gotu",BK="Piel\u0101gots datums";var VK="Tum\u0161s",Fy="Datums";var OE="Diena",Uy="Dienas",GK="pirms {duration} dien\u0101m",Oy="{days} dienas";var Ho="Dz\u0113st";var QK="Dz\u0113st parametru";var jf="Apraksts";var YK="\u0160is arhiv\u0113tais saturs vairs netiek uztur\u0113ts. Saites un inform\u0101cija var b\u016Bt novecoju\u0161as vai nedro\u0161as, un korpor\u0101cija Microsoft t\u0101s nav akt\u012Bvi p\u0101rskat\u012Bjusi.",KK="\u0160is raksts ir tulkots j\u016Bsu tirgum no ang\u013Cu valodas. Cik apmierin\u0101ts esat ar valodas kvalit\u0101ti?",WK="\u0160is raksts tika tulkots, izmantojot ma\u0161\u012Bntulko\u0161anu vai m\u0101ksl\u012Bgo intelektu. \u0160is arhiv\u0113tais saturs vairs netiek uztur\u0113ts. Saites un inform\u0101cija var b\u016Bt novecoju\u0161as vai nedro\u0161as, un korpor\u0101cija Microsoft t\u0101s nav akt\u012Bvi p\u0101rskat\u012Bjusi.",JK="\u0160is saturs ir sl\u0113gts un turpm\u0101k varb\u016Bt netiks atjaunin\u0101ts. \u0160aj\u0101 satur\u0101 min\u0113tais produkts, pakalpojums vai tehnolo\u0123ija vairs netiek atbalst\u012Bta.",ZK="\u0160is raksts tika tulkots, izmantojot ma\u0161\u012Bntulko\u0161anu vai m\u0101ksl\u012Bgo intelektu. \u0160is saturs ir sl\u0113gts un turpm\u0101k varb\u016Bt netiks atjaunin\u0101ts. \u0160aj\u0101 satur\u0101 min\u0113tais produkts, pakalpojums vai tehnolo\u0123ija vairs netiek atbalst\u012Bta.",ia="Atmest br\u012Bdin\u0101jumu";var XK="Da\u013Ca no \u0161\u012Bs t\u0113mas teksta var b\u016Bt ma\u0161\u012Bntulkojums vai m\u0101ksl\u012Bg\u0101 intelekta tulkojums.",eW="Da\u013Ca no \u0161\u012Bs t\u0113mas teksta var b\u016Bt ma\u0161\u012Bntulkojums vai m\u0101ksl\u012Bg\u0101 intelekta tulkojums.";var tW="Microsoft konfidenci\u0101li",nW="\u0160\u012B lapa tika neatgriezeniski novirz\u012Bta uz {url}",sW=`M\u0113s vairs neatjaunin\u0101m \u0161o saturu regul\u0101ri. Lai ieg\u016Btu papildinform\u0101ciju par \u0161\u012B produkta, pakalpojuma, tehnolo\u0123ijas vai API atbalstu, skatiet Microsoft produkta dz\u012Bves ciklu.`,oW=`\u0160is raksts tika tulkots, izmantojot ma\u0161\u012Bntulko\u0161anu vai m\u0101ksl\u012Bgo intelektu. M\u0113s vairs neatjaunin\u0101m \u0161o saturu regul\u0101ri. Lai ieg\u016Btu papildinform\u0101ciju par \u0161\u012B produkta, pakalpojuma, tehnolo\u0123ijas vai API atbalstu, skatiet Microsoft produkta dz\u012Bves ciklu.`,rW="Ieteikt\u0101 versija",Oz="Atgriezties galvenaj\u0101 vietn\u0113",iW="Saturu p\u0101rskat\u0101maj\u0101s vietn\u0113s var skat\u012Bt visi Microsoft pilnas slodzes darbinieki, pieg\u0101d\u0101t\u0101ji un LinkedIn darbinieki.",aW="\u0160is saturs nav pieejams j\u016Bsu valod\u0101. \u0160eit ir sniegta versija ang\u013Cu valod\u0101.",qy="Noraid\u012Bt";var lW="\u0160is m\u0101c\u012Bbu ce\u013C\u0161 dr\u012Bzum\u0101 b\u016Bs pieejams nor\u0101d\u012Btaj\u0101 valod\u0101: {language}.",cW="\u0160is m\u0101c\u012Bbu ce\u013C\u0161 nav pieejams nor\u0101d\u012Btaj\u0101 valod\u0101: {language}.";var uW="\u0160is modulis dr\u012Bzum\u0101 b\u016Bs pieejams nor\u0101d\u012Btaj\u0101 valod\u0101: {language}.",dW="\u0160is modulis nav pieejams nor\u0101d\u012Btaj\u0101 valod\u0101: {language}.";var pW="Mekl\u0113\u0161anas rezult\u0101ti ir ieg\u016Bti no iepriek\u0161\u0113jo versiju dokument\u0101cijas un netiek regul\u0101ri atjaunin\u0101ti.";var mW="Izpildes dienas";var aa="Dokument\u0101cija",gW="Detaliz\u0113ta inform\u0101cija par dokumentu",fW="Neredi\u0123\u0113jiet \u0161o sada\u013Cu. Tas ir nepiecie\u0161ams learn.microsoft.com \u279F GitHub probl\u0113mu saist\u012B\u0161anai.";var hW=".NET dokument\u0101cija";var qE="Lejupiel\u0101d\u0113t PDF failu",bW="PDF faila lejupiel\u0101de ir atsp\u0113jota saturam, kuram ir nepiecie\u0161ama autoriz\u0101cija.",_W="PDF faila \u0123ener\u0113\u0161ana var aiz\u0146emt da\u017Eas min\u016Btes. Varat turpin\u0101t vietnes lieto\u0161anu, kam\u0113r sagatavojam PDF failu.";var fc="Redi\u0123\u0113t";var vW="Redi\u0123\u0113\u0161anas datums";var hc="E-pasts";var yW="Nosaukuma lauks nedr\u012Bkst b\u016Bt tuk\u0161s";var xW="Beigu datums";var kW="Beigu datums",TW="Beidzas datum\u0101 {endDate}";var Pu="K\u013C\u016Bda",SW="V\u0113rt\u012Bb\u0101m j\u0101b\u016Bt ar datumu {date} vai vec\u0101k\u0101m.",wW="S\u0101kuma datumam j\u0101b\u016Bt agr\u0101kam par beigu datumu.";var EW="Pas\u0101kumu grupa",CW="Pas\u0101kumu grupas",AW="Notikumi";var Bo="Eks\u0101mens";var IW="Atbil\u017Eu kopsavilkums",PW="Atpaka\u013C uz atskaiti",LW="Zem\u0101k ir sniegts j\u016Bsu atbil\u017Eu kopsavilkums.",RW="Apsveicam, j\u016Bs nok\u0101rtoj\u0101t visas sada\u013Cas! Ja sekm\u012Bgi nok\u0101rtoj\u0101t vair\u0101kus m\u0113\u0123in\u0101jumus, apsveriet iesp\u0113ju iepl\u0101not eks\u0101menu.",MW="Diem\u017E\u0113l \u0161is piel\u0101gotais m\u0101c\u012Bbu materi\u0101ls ir novecojis, sal\u012Bdzinot ar pa\u0161reiz\u0113jo prakses nov\u0113rt\u0113jumu. L\u016Bdzu, apmekl\u0113jiet eks\u0101mena detaliz\u0113t\u0101s inform\u0101cijas lapu, lai ieg\u016Btu jaun\u0101ko sagatavo\u0161an\u0101s materi\u0101lu.",$W="Pareiz\u0101 atbilde";var DW="Lai pabeigtu \u0161o nov\u0113rt\u0113jumu, jums bija nepiecie\u0161amas {duration} min\u016Btes.";var zW="Vingrin\u0101\u0161an\u0101s nov\u0113rt\u0113juma rezult\u0101ti: {date}",NW="Visp\u0101r\u0113jie rezult\u0101ti",jW="Lai lab\u0101k sagatavotos eks\u0101menam, vair\u0101kos m\u0113\u0123in\u0101jumos centieties sasniegt vismaz {percent}% rezult\u0101tu.",FW="V\u0113rt\u0113jums: {percent}%";var UW="Lai pastiprin\u0101tu savas prasmes t\u0101l\u0101k nor\u0101d\u012Btaj\u0101s jom\u0101s, skatiet zem\u0101k pieejamo sada\u013Cu Piel\u0101gotie m\u0101c\u012Bbu materi\u0101li.",OW="{x}. jaut\u0101jums no {y}",qW="Vai esat gatavs eks\u0101menam?",HW="Iepriek\u0161\u0113jos nov\u0113rt\u0113juma m\u0113\u0123in\u0101jumus varat skat\u012Bt eks\u0101mena detaliz\u0113t\u0101s inform\u0101cijas lap\u0101.",BW="Prakses materi\u0101ls \u2014 {date}",VW="R\u0101d\u012Bt manas atbildes",GW="Veikt citu vingrin\u0101\u0161an\u0101s nov\u0113rt\u0113jumu.",QW="J\u016Bsu atbilde";var YW="Eks\u0101mens";var HE="Izv\u0113rst",KW="Izv\u0113rst tabulu";var Ff="Facebook";var WW="Bie\u017Ei uzdotie jaut\u0101jumi";var JW="Pie\u0146emams";var ZW='Korpor\u0101cijai Microsoft tiks nos\u016Bt\u012Btas atsauksmes: nospie\u017Eot iesnieg\u0161anas pogu, j\u016Bsu atsauksmes tiks izmantotas, lai uzlabotu Microsoft produktus un pakalpojumus. Konfidencialit\u0101tes politika.',BE='Nospie\u017Eot Iesniegt, j\u016Bsu atsauksmes tiks izmantotas, lai uzlabotu Microsoft produktus un pakalpojumus. Pazi\u0146ojums par konfidencialit\u0101ti',VE='Atsauksmes, ko iesniedzat saska\u0146\u0101 ar savas organiz\u0101cijas nor\u0101d\u012Bjumiem, Microsoft apstr\u0101d\u0101s, lai uzlabotu j\u016Bsu un organiz\u0101cijas pieredzi darb\u0101 ar \u0161o produktu. Ja jums ir k\u0101di jaut\u0101jumi par atsauksmju datu izmanto\u0161anu, l\u016Bdzu, sazinieties ar nomnieka administratoru. Atsauksmju datu apstr\u0101di nosaka Microsoft produktu un pakalpojumu datu aizsardz\u012Bbas pielikums, kas nosl\u0113gts starp j\u016Bsu organiz\u0101ciju un korpor\u0101ciju Microsoft, un j\u016Bsu iesniegt\u0101s atsauksmes saska\u0146\u0101 ar \u0161o pielikumu tiek uzskat\u012Btas par personas datiem. Pazi\u0146ojums par konfidencialit\u0101ti',Hy="Atsauksmes, ko iesniedzat saska\u0146\u0101 ar savas organiz\u0101cijas nor\u0101d\u012Bjumiem, Microsoft apstr\u0101d\u0101s, lai uzlabotu j\u016Bsu un organiz\u0101cijas pieredzi darb\u0101 ar \u0161o produktu.",XW='Atsauksmes, ko iesniedzat saska\u0146\u0101 ar savas organiz\u0101cijas nor\u0101d\u012Bjumiem, Microsoft apstr\u0101d\u0101s, lai uzlabotu j\u016Bsu un organiz\u0101cijas pieredzi darb\u0101 ar \u0161o produktu. Pazi\u0146ojums par konfidencialit\u0101ti';var eJ="[Ievadiet atsauksmi \u0161eit]";var tJ="Zi\u0146ot ar atsauksm\u0113m";var nJ="Pievienot ekr\u0101nuz\u0146\u0113mumu (neoblig\u0101ti)",sJ="Izv\u0113l\u0113ties failus...",oJ=".jpeg, .jpg, .png vai .gif";var rJ="Probl\u0113mas ar Cloud Shell";var iJ="Probl\u0113mas ar .NET redaktoru";var aJ="Probl\u0113mas ar atkar\u012Bbu instal\u0113\u0161anu";var lJ="Apm\u0101c\u012Bbu satura kvalit\u0101te";var cJ="Aprakstiet savas atsauksmes. Ja piem\u0113rojams, iek\u013Caujiet darb\u012Bbas, p\u0113c kuru izpildes var ieg\u016Bt probl\u0113mu",uJ="Ievadiet atsauksmes virsrakstu",dJ="Nepareiza inform\u0101cija/ pareizrakst\u012Bba/ satura k\u013C\u016Bda",pJ="L\u012Bdzek\u013Ca piepras\u012Bjums",mJ="Produkts vai funkcionalit\u0101te",gJ="Visp\u0101r\u012Bgas atsauksmes",fJ="M\u0101c\u012Bbu satura kvalit\u0101te",hJ="Man ir jaut\u0101jumi par m\u0101c\u012Bbu saturu",bJ="Man netiek pie\u0161\u0137irti kred\u012Btpunkti vai pieredzes punkti par pabeig\u0161anu",_J="Cita probl\u0113ma",vJ="Probl\u0113mas ar re\u0123istr\u0101ciju vai pierakst\u012B\u0161anos",yJ="Probl\u0113mas ar smil\u0161kasti",xJ="Probl\u0113mas ar tulkojuma kvalit\u0101ti",kJ="Atlasiet probl\u0113mu, kas attiecas uz jums",TJ="Atlasiet atsauksmes veidu";var SJ="Saturs ir viegli saprotams",wJ="Saturs ir gr\u016Bti saprotams",EJ="Nevar\u0113ju atrast nepiecie\u0161amo",CJ="Es izpild\u012Bju savu uzdevumu vai atrisin\u0101ju savu probl\u0113mu",AJ="Es uzzin\u0101ju kaut ko jaunu",IJ="Inform\u0101cija bija viegli atrodama",PJ="Novecojis",LJ="Pl\u0101na strukt\u016Bra",RJ="Satura p\u0101rkl\u0101jums",MJ="Personaliz\u0113\u0161ana",$J="Viegla lieto\u0161ana",DJ="Veicina karjeras izaugsmi",zJ="P\u0101r\u0101k sare\u017E\u0123\u012Bts",NJ="Tehniskas probl\u0113mas",jJ="Personaliz\u0101cijas tr\u016Bkums",FJ="Nav saist\u012Bts ar m\u0113r\u0137i",UJ="Nepareizi laika grafiki",OJ="Proced\u016Bra vai kods nedarbojas",qz="Tulkojuma kvalit\u0101te";var nl="Filtrs",qJ="Filtri";var Hz="Filtrs not\u012Br\u012Bts",HJ="Saturs tiks filtr\u0113ts rakstot";var BJ="Atrast: {facet}";var VJ="Atrast p\u0113c nosaukuma";var GJ="Atrast jaut\u0101juma autoru";var QJ="Las\u012B\u0161anas re\u017E\u012Bms ir iesp\u0113jots",YJ="Las\u012B\u0161anas re\u017E\u012Bms ir atsp\u0113jots";var KJ="Re\u0123istr\u0113ties t\u016Bl\u012Bt";var By="J\u0101atlasa vismaz viens vienums.",sl="Saturs ir main\u012Bts, l\u016Bdzu, p\u0101rl\u0101d\u0113jiet lapu, lai ieg\u016Btu jaun\u0101k\u0101s izmai\u0146as.",Bz="Mums ir probl\u0113ma ar j\u016Bsu pielikumiem. Atsvaidziniet vai no\u0146emiet pielikumus, lai turpin\u0101tu savas zi\u0146as izlik\u0161anu. Ja probl\u0113ma joproj\u0101m past\u0101v, sazinieties ar vietnes atbalsta dienestu.",Vz="E-pasta adrese nav der\u012Bga",WJ="E-pasta adrese nav der\u012Bga, un taj\u0101 ir j\u0101b\u016Bt vismaz 6 rakstz\u012Bm\u0113m.",JJ="Atlasiet vismaz vienu atsauksmju iemeslu.",ZJ="Vai \u0161\u012B lapa pal\u012Bdz\u0113ja? Atlasiet J\u0101 vai N\u0113.",XJ="Ir nepiecie\u0161ama vismaz viena atlase no {inputGroup}.",gi="Ievade {inputLabel} nevar b\u016Bt gar\u0101ka par {maxLength} rakstz\u012Bm\u0113m.",fi="{inputLabel} j\u0101b\u016Bt vismaz {minLength} rakstz\u012Bmju garam.",hi="Nepiecie\u0161ams {inputLabel}.",GE="{inputLabel} nedr\u012Bkst s\u0101kties vai beigties ar punktu.",eZ='{inputLabel} nevar satur\u0113t rakstz\u012Bmes \\ vai ".',tZ="Ievades lauks nav der\u012Bgs. L\u016Bdzu, p\u0101rbaudiet savus ievades laukus un m\u0113\u0123iniet v\u0113lreiz.",bi="J\u016Bs neesat autentific\u0113ts. L\u016Bdzu, atsvaidziniet lapu un m\u0113\u0123iniet v\u0113lreiz. Ja \u0161\u012B probl\u0113ma joproj\u0101m past\u0101v, l\u016Bdzu, izrakstieties un piesakieties v\u0113lreiz.",_i="J\u016Bs neesat pilnvarots sniegt \u0161\u0101du atbildi. Ja uzskat\u0101t, ka t\u0101 ir k\u013C\u016Bda, l\u016Bdzu, atsvaidziniet lapu un m\u0113\u0123iniet v\u0113lreiz.";var nZ="ASV pasta indeks\u0101 j\u0101b\u016Bt tikai 5 vai 9 cipariem.",sZ="Kan\u0101das pasta indeks\u0101 nedr\u012Bkst b\u016Bt atstarpes, un tam ir j\u0101b\u016Bt \u0161\u0101d\u0101 form\u0101t\u0101: A1A1A1.",oZ="T\u0101lru\u0146a numurs nav der\u012Bgs un taj\u0101 dr\u012Bkst b\u016Bt tikai cipari.",ms="Lai turpin\u0101tu, l\u016Bdzu, nov\u0113rsiet \u0161\u0101das probl\u0113mas:",Uf="L\u016Bdzu, veiciet atlasi.",Gz="Tekstam j\u0101b\u016Bt ang\u013Cu valod\u0101. Ja jums ir teksts vai simboli, kas nav ang\u013Cu valod\u0101, l\u016Bdzu, no\u0146emiet tos, lai turpin\u0101tu.",vi="Nav iesniedzamu labojumu.",yi="J\u016Bs nos\u016Bt\u012Bj\u0101t p\u0101r\u0101k daudz piepras\u012Bjumu. L\u016Bdzu, uzgaidiet da\u017Eas min\u016Btes un m\u0113\u0123iniet v\u0113lreiz.",Vo="Rad\u0101s ar neparedz\u0113ta k\u013C\u016Bda. L\u016Bdzu, v\u0113l\u0101k m\u0113\u0123iniet v\u0113lreiz. Ja \u0161\u012B probl\u0113ma atk\u0101rtojas, l\u016Bdzu, sazinieties ar vietnes atbalsta dienestu.";var rZ="PDF \u0123ener\u0113\u0161ana...";var iZ="Sa\u0146emt pal\u012Bdz\u012Bbu vietn\u0113 Microsoft Q&A",aZ="Sa\u0146emt produkta atbalstu",Qz="Darba s\u0101k\u0161ana";var zp="Glob\u0101la",Yz="Glob\u0101l\u0101 navig\u0101cija";var Kz="Atgriezties";var lZ="Labs";var Wz="Doties uz eks\u0101mena detaliz\u0113to inform\u0101ciju";var cZ="Izcils";var QE="Galvenes",uZ="Pal\u012Bdz\u0113t izv\u0113l\u0113ties";var dZ="\u0160eit",pZ="Pasl\u0113pt pabeigt\u0101s";var mZ='Sveiki, {user}';var gZ="Augsts kontrasts",fZ="S\u0101kums";var hZ="Horizont\u0101li ritin\u0101ms kods",Jz="Horizont\u0101li ritin\u0101mi dati",YE="Stunda",Lu="Stundas",bZ="Pirms {duration} stund\u0101m",_Z="K\u0101 mums sokas?";var vZ="Cik apmierin\u0101ts esat ar valodas kvalit\u0101ti?";var yZ="h";var xZ="{hrs} h",kZ="{numberOfHours} h {numberOfMinutes} min";var TZ="Svar\u012Bgi";var Vy="Notiek izpilde";var SZ="Vid\u0113js l\u012Bmenis";var Zz="\u0160aj\u0101 rakst\u0101";var Of='"{itemTitle}" tiks neatgriezeniski izdz\u0113sts.';var wZ="tikko";var KE="Zin\u0101ma probl\u0113ma",EZ="Apstiprin\u0101ts";var CZ="Notiek izmekl\u0113\u0161ana",AZ="Mazin\u0101ts",IZ="Zi\u0146ots",PZ="Nov\u0113rsts";var qf="Satura r\u0101d\u012Bt\u0101js";var Xz="Valoda",LZ="Valodas";var WE="P\u0113d\u0113joreiz atjaunin\u0101ts: {time}";var eN="M\u0101c\u012Bbu ce\u013C\u0161",Hf="M\u0101c\u012Bbu ce\u013C\u0161";var Go="Uzzin\u0101t vair\u0101k";var RZ="Satura veids",MZ="Satura veidi";var Gy="S\u0113rija";var $Z="{count} s\u0113rijas";var DZ="Notikumi",zZ="P\u0113d\u0113j\u0101 s\u0113rija",NZ="P\u0113d\u0113j\u0101 s\u0113rija: {date}";var jZ="Public\u0113ts datum\u0101 {date}",JE="S\u0113rija",tN="R\u0101d\u012Bt",To="Videodemonstr\u0101cija";var ZE="Video nav pieejams",nN="Diem\u017E\u0113l \u0161is video nav pieejams. L\u016Bdzu, v\u0113l\u0101k m\u0113\u0123iniet v\u0113lreiz, jo \u0161obr\u012Bd str\u0101d\u0101jam, lai to nov\u0113rstu.",Bf="Video atska\u0146ot\u0101js";var FZ="L\u012Bmenis",UZ="{number}. l\u012Bmenis";var OZ="L\u012Bme\u0146i",qZ="Dz\u012Bves cikls",HZ="Gai\u0161s";var Vf="LinkedIn";var Gt="Notiek iel\u0101de...";var BZ="V\u0113l…",VZ="Iel\u0101d\u0113t citus rezult\u0101tus",XE="Ar\u0101bu",GZ="Ar\u0101bu (Sa\u016Bda Ar\u0101bija)",eC="Bulg\u0101ru",QZ="Bulg\u0101ru (Bulg\u0101rija)";var tC="Bosnie\u0161u (lat\u012B\u0146u alfab\u0113ts)",YZ="Bosnie\u0161u (kirilica)",nC="Katal\u0101\u0146u",sC="\u010Cehu",oC="D\u0101\u0146u",rC="V\u0101cu";var iC="Grie\u0137u",KZ="Grie\u0137u (Grie\u0137ija)",aC="Ang\u013Cu",WZ="Ang\u013Cu (Malaizija)";var lC="Sp\u0101\u0146u",JZ="Sp\u0101\u0146u (Meksika)",cC="Igau\u0146u",uC="Basku",dC="Somu",pC="Filipino",mC="Fran\u010Du";var gC="\u012Aru",fC="Galisie\u0161u",hC="Ivrits",bC="Hindi",_C="Horv\u0101tu",vC="Ung\u0101ru",ZZ="Ung\u0101ru (Ung\u0101rija)",yC="Indon\u0113zie\u0161u",XZ="Indon\u0113zie\u0161u (Indon\u0113zija)",xC="Islandie\u0161u",kC="It\u0101\u013Cu";var TC="Jap\u0101\u0146u",eX="Gruz\u012Bnu",SC="Kazahu",wC="Korejie\u0161u",EC="Luksemburgie\u0161u",CC="Lietuvie\u0161u",AC="Latvie\u0161u",IC="Malaju",PC="Maltie\u0161u",LC="Norv\u0113\u0123u",RC="Holandie\u0161u",MC="Po\u013Cu",$C="Portug\u0101\u013Cu",tX="Portug\u0101\u013Cu (Braz\u012Blija)",nX="Portug\u0101\u013Cu (Portug\u0101le)",DC="Rum\u0101\u0146u",zC="Krievu",NC="Slov\u0101ku",jC="Slov\u0113\u0146u";var FC="Serbu (kirilica)",UC="Serbu (lat\u012B\u0146u alfab\u0113ts)",OC="Zviedru",qC="Taju",HC="Turku",BC="Ukrai\u0146u",sX="Ukrai\u0146u",oX="Urdu",VC="Vjetnamie\u0161u",rX="Vjetnamie\u0161u (Vjetnama)";var GC="\u0136\u012Bnie\u0161u (vienk\u0101r\u0161ot\u0101)",QC="\u0136\u012Bnie\u0161u (tradicion\u0101l\u0101, \u012Bpa\u0161ais administrat\u012Bvais re\u0123ions Honkonga)",YC="\u0136\u012Bnie\u0161u (tradicion\u0101l\u0101)";var iX="P\u0101rvald\u012Bt s\u012Bkfailus";var KC="Microsoft Learn redaktors",aX="M\u0113s c\u012Bt\u012Bgi str\u0101d\u0101jam, lai migr\u0113tu j\u016Bsu kursu v\u0113sturi un sasniegumus uz l\u012Bdzekli Learn. Tom\u0113r pagaid\u0101m \u0161eit tiks r\u0101d\u012Btas tikai l\u012Bdzekl\u012B Learn pabeigt\u0101s darb\u012Bbas.",lX='Lai skat\u012Btu pilnu norakstu un/vai \u017Eetonus, ko nopeln\u012Bj\u0101t vietn\u0113 Microsoft Educator Center un l\u012Bdzekl\u012B Learn, l\u016Bdzu, dodieties uz savu MEC profilu.';var cX="Pazi\u0146ojums par konfidencialit\u0101ti Microsoft darbiniekam",uX="J\u016Bs pierakst\u012Bj\u0101ties kont\u0101, kas ir saist\u012Bts ar organiz\u0101ciju ({email}). K\u013C\u016Bstot par dal\u012Bbnieku, j\u016Bs saprotat un apliecin\u0101t, ka j\u016Bsu dal\u012Bba programm\u0101 Microsoft Learn noz\u012Bm\u0113, ka m\u016Bsu viet\u0146u un programmu t\u012Bkl\u0101 tiks re\u0123istr\u0113ti un uzskait\u012Bti j\u016Bsu sasniegumi un darb\u012Bbas, k\u0101 ar\u012B to, ka m\u0113s varam kop\u012Bgot j\u016Bsu rezult\u0101tus un darb\u012Bbas ar j\u016Bsu organiz\u0101ciju. Turkl\u0101t j\u016Bsu lietot\u0101jv\u0101rds, par\u0101d\u0101mais v\u0101rds, profila att\u0113ls, pieder\u012Bba, sasniegumi un darb\u012Bbas b\u016Bs publiski redzamas. Savus sasniegumus un darb\u012Bbas varat pasl\u0113pt iestat\u012Bjumos.

P\u0113c profila izveides iesak\u0101m piesaist\u012Bt k\u0101du personisko kontu, lai j\u016Bs var\u0113tu piek\u013C\u016Bt savai m\u0101c\u012Bbu norisei neatkar\u012Bgi no nodarbin\u0101t\u012Bbas statusa. Papildu kontus varat piesaist\u012Bt profila iestat\u012Bjumu sada\u013C\u0101 Kontu p\u0101rvald\u012Bba.";var dX="Microsoft Graph redaktors";var WC="Microsoft pazi\u0146ojums par konfidencialit\u0101ti",pX="Lai patur\u0113tu savu profilu un ar to saist\u012Btos datus, jums ir j\u0101piekr\u012Bt Microsoft pazi\u0146ojumam par konfidencialit\u0101ti.";var JC="{numberOfMinutes} min";var Np="{numberOfMinutes} m";var Qy="Min\u016Btes";var mX="Pirms {duration} min\u016Bt\u0113m";var So="Modulis";var gX="{platformName} modu\u013Ca atsauce",Yy="Modu\u013Ci";var fX="J\u016Bs tik\u0101t novirz\u012Bts uz jaun\u0101ko produkta versiju, kas pieejama \u0161ai lapai.";var hX="Pirms {duration} m\u0113ne\u0161iem";var Ky="Vair\u0101k";var bX="Nosaukums";var Qo="T\u0101l\u0101k";var Lr="N\u0113",_X="Jauna kolekcija",Gf="Jaun\u0101kais",Qf="Vec\u0101kais";var vX="Nav pieejamu produktu",yX="Nav pieejamu atz\u012Bmju",ZC="Filtri nav pieejami",xX='\u0160aj\u0101 sada\u013C\u0101 nav vienumu. P\u0101rvietojiet vienumus \u0161eit no cit\u0101m sada\u013C\u0101m vai pievienojiet vienumus no Learn apm\u0101c\u012Bbu p\u0101rl\u016Bko\u0161anas lapas.';var Dn="Nav rezult\u0101tu",la="Rezult\u0101ti nav atrasti",kX="Pagaid\u0101m nav rezult\u0101tu, turpiniet ievadi...",TX='Mekl\u0113t terminu "{term}" vis\u0101 {searchScope} dokument\u0101cij\u0101',SX='Mekl\u0113t terminu "{term}" vis\u0101 dokument\u0101cij\u0101',wX="Nav ieteikumu",EX="Parasts";var CX="N\u0113, paldies",AX="Piez\u012Bmes";var IX="Nevar\u0113j\u0101m atrast nevienu lietot\u0101ju.";var PX="{number} vienums",LX="{number} vienumi";var RX="\u013Boti apmierin\u0101ts",MX="Apmierin\u0101ts",$X="Ne apmierin\u0101ts, ne neapmierin\u0101ts",DX="Neapmierin\u0101ts",zX="\u013Boti neapmierin\u0101ts";var NX="Office dokument\u0101cija";var Cs="Labi",jX="Labi, sapratu.";var FX="datums: {date}";var UX="Atv\u0113rt mekl\u0113\u0161anu";var OX="{productName} atsauksmes",qX="{productName} ir atkl\u0101t\u0101 pirmkoda projekts. Atlasiet saiti, lai sniegtu atsauksmes:";var HX="Atv\u0113rt Cloud Shell",BX="Neoblig\u0101ti";var XC="{label} (optional)";var VX="Rad\u0101s k\u013C\u016Bda",GX='Rad\u0101s neparedz\u0113ta k\u013C\u016Bda. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz. Ja uzskat\u0101t, ka \u0161\u012B ir k\u013C\u016Bme, sazinieties ar konta p\u0101rst\u0101vi vai klientu atbalsta dienestu.',QX="J\u016Bsu piepras\u012Btais datu koplietojums jau ir iestat\u012Bts",YX="Vai v\u0113laties skat\u012Bt \u0161o datu koplietojumu?",KX="\u0160obr\u012Bd ne",WX="Notiek datu koplieto\u0161anas uzaicin\u0101juma nos\u016Bt\u012B\u0161ana...",JX="Microsoft Learn datu koplieto\u0161anas l\u012Bgums",ZX='Es apliecinu un pie\u0146emu Microsoft Learn datu koplieto\u0161anas pilotversijas nosac\u012Bjumus, lai korpor\u0101cija Microsoft var\u0113tu koplietot Learn datus ar manu organiz\u0101ciju tiem Learn lietot\u0101jiem, kuri pierakst\u0101s ar manas organiz\u0101cijas nomnieka ID.',XX="M\u0113\u0123iniet v\u0113lreiz ar savu saist\u012Bto darba kontu",eee="Nevar\u0113j\u0101m verific\u0113t j\u016Bsu kontu",tee='Lai piek\u013C\u016Btu \u0161im datu koplietojumam, l\u016Bdzu, pierakstieties ar savu darba kontu. Ja uzskat\u0101t, ka \u0161\u012B ir k\u013C\u016Bda, l\u016Bdzu, sazinieties ar klientu atbalsta dienestu vai sava konta p\u0101rst\u0101vi.',nee="J\u0101, l\u016Bdzu",ca="Cita probl\u0113ma";var see="Cik kopum\u0101 apmierin\u0101ts vai neapmierin\u0101ts esat ar Microsoft Learn?";var eA="Pakotne",sN="{platformName} pakotnes atsauce";var tA="{pageNumber}. lpp. no {numberOfPages}";var oee="lapdale";var ree="Parametri";var iee="J\u016Bsu PDF fails ir \u0123ener\u0113ts. Notiek atv\u0113r\u0161ana...";var aee="T\u0101lru\u0146a numurs",Ru="Pl\u0101ns";var lee="L\u016Bdzu, aizpildiet \u0161o lauku.";var cee="L\u016Bdzu, sniedziet atsauksmes par to, k\u0101 varam uzlabot \u0161o saturu. Ja nepiecie\u0161ams, nor\u0101diet attiec\u012Bg\u0101 teikuma vai virknes pirmo da\u013Cu.";var uee="Popul\u0101rs";var dee="Druk\u0101t";var pee="Druk\u0101\u0161ana ir atsp\u0113jota saturam, kuram ir nepiecie\u0161ama autoriz\u0101cija.",nA="Konfidencialit\u0101tes politika",mee="V\u0101ji";var Yf="Priek\u0161skat\u012Bt";var xi="Iepriek\u0161\u0113jais";var Kf="Produkts",gee="{productName} lietot\u0101ji:";var Wf="Produkti",fee="Profils";var hee="Programm\u0113\u0161anas valoda",bee="Programm\u0113\u0161anas valodas";var _ee="Sniegt atsauksmes par produktu";var Wy="Q&A";var vee="uzdots";var yee="atbildes",xee="koment\u0101ri";var kee="balsis";var Tee='M\u0113s nov\u0113rt\u0113jam j\u016Bsu paciet\u012Bbu, kam\u0113r m\u0113s p\u0101rvietojam Microsoft atbalsta kopienas saturu uz Microsoft Q&A. M\u0113s nemigr\u0113jam visu saturu, un j\u016Bsu mekl\u0113tais jaut\u0101jums ir norakst\u012Bts. Papildinform\u0101ciju par migr\u0101ciju skatiet sada\u013C\u0101 Papildinform\u0101cija. Varat atk\u0101rtoti uzdot jaut\u0101jumu vai izp\u0113t\u012Bt citus jaut\u0101jumus {product} lap\u0101.',See="\u0160is jaut\u0101jums ir norakst\u012Bts";var wee="P\u0101rsniegts maksim\u0101lais pielikumu skaits. L\u016Bdzu, atlasiet l\u012Bdz {maximumCount} pielikumiem.";var Eee="P\u0101rsniegts maksim\u0101lais piemin\u0113\u0161anas gad\u012Bjumu skaits. L\u016Bdzu, atlasiet l\u012Bdz {maximumCount} piemin\u0113\u0161an\u0101m.";var Cee="Lietot\u0101js jau ir aiztur\u0113ts. L\u016Bdzu, atsvaidziniet lapu.",Aee="Lietot\u0101js nav aiztur\u0113ts. L\u016Bdzu, atsvaidziniet lapu.";var Iee="J\u016Bs nevarat veikt \u0161o darb\u012Bbu, jo j\u016Bsu konta darb\u012Bba tika aptur\u0113ta m\u016Bsu Uzved\u012Bbas kodeksa p\u0101rk\u0101puma d\u0113\u013C. Par \u0161o saturu tika zi\u0146ots manu\u0101li vai tas tika identific\u0113ts, izmantojot automatiz\u0113tu noteik\u0161anu, pirms tika veikta \u0161\u012B darb\u012Bba. Lai ieg\u016Btu pla\u0161\u0101ku inform\u0101ciju, l\u016Bdzu, skatiet m\u016Bsu Uzved\u012Bbas kodeksu.";var Pee="\u0160\u012B atbilde bija noder\u012Bga",Lee="\u0160\u012B atbilde nebija noder\u012Bga";var oN="Zi\u0146ot par probl\u0113mu",rN="Zi\u0146ot par iemeslu";var Ree=`, lai pieteiktos atjaunin\u0101jumiem pa e-pastu par j\u016Bsu zi\u0146oto probl\u0113mu`,Mee="At\u013Caut korpor\u0101cijai Microsoft sazin\u0101ties ar mani par \u0161o zi\u0146ojumu",$ee="V\u0101rds, uzv\u0101rds",Dee="E-pasts",zee='M\u0113s sazin\u0101simies ar jums, izmantojot j\u016Bsu person\u012Bgo kontu {email}',Nee='Korpor\u0101cija Microsoft ir ap\u0146\u0113musies pal\u012Bdz\u0113t saviem lietot\u0101jiem un aizsarg\u0101t j\u016Bsu konfidencialit\u0101ti. Ja v\u0113laties ieg\u016Bt papildinform\u0101ciju par to, k\u0101 aizsarg\u0101jam personas datus, varat izlas\u012Bt Microsoft pazi\u0146ojumu par konfidencialit\u0101ti.';var jee="Jaut\u0101jums",jp="Jaut\u0101juma autors",iN='

Jaut\u0101jumu autora filtr\u0113\u0161ana

Filtr\u0113jot p\u0113c jaut\u0101jumu autora, vienlaikus varat filtr\u0113t tikai p\u0113c viena lietot\u0101ja un filtr\u0113t tikai p\u0113c Learn lietot\u0101jiem.

',aN="Jaut\u0101jumi";var Fee="Jaut\u0101jums jau ir atbild\u0113ts.";var Uee="Oblig\u0101ts jaut\u0101jums.",Oee="Neoblig\u0101ts jaut\u0101jums.",qee="\u0100trie filtri";var lN="Las\u012Bt angliski",Hee="Las\u012Bt valod\u0101: {language}";var Bee="Ieteiktais saturs",Gs="Atsauce";var Vee="Atsauces";var Mu="Atsvaidzin\u0101t";var Jf="No\u0146emt",cN="No\u0146emt {itemName}";var uN="Atjaunot";var sA="Zi\u0146ot par probl\u0113mu",Gee="Atlasiet iemeslu",Qee="Pieaugu\u0161iem paredz\u0113ts un seksu\u0101ls saturs",Yee="Att\u0113li ar seksu\u0101lu izmanto\u0161anu un vardarb\u012Bbu pret b\u0113rniem",Kee="Kait\u0113juma koordin\u0113\u0161ana";var Wee="Iebied\u0113\u0161ana un uzm\u0101k\u0161an\u0101s",Jee="Vardarb\u012Bbas un asi\u0146ainu ainu att\u0113lojums",Zee="Naida kurin\u0101\u0161ana un diskrimin\u0101cija",Xee="Int\u012Bma satura att\u0113li bez piekri\u0161anas & int\u012Bm\u0101 izspie\u0161ana";var ete="Cits lieto\u0161anas nosac\u012Bjumu vai uzved\u012Bbas kodeksa p\u0101rk\u0101pums";var tte="Rupj\u012Bbas un vulgarit\u0101te",nte="Seksu\u0101la uzm\u0101k\u0161an\u0101s";var ste="Pa\u0161n\u0101v\u012Bba un pa\u0161kait\u0113jums",ote="Terorisms un vardarb\u012Bgs ekstr\u0113misms",rte="Cilv\u0113ku tirdzniec\u012Bba",ite="Vardarb\u012Bgi draudi, k\u016Bd\u012B\u0161ana un vardarb\u012Bbas slavin\u0101\u0161ana";var ate="Piepras\u012Bjuma priek\u0161skat\u012Bjums",dN="Piepras\u012Bjuma URL";var ua="Oblig\u0101ti aizpild\u0101mie lauki ir atz\u012Bm\u0113ti ar zvaigzn\u012Bti";var lte="Veidi";var cte="Atbildes kods";var pN="Restart\u0113t";var ute="{numberOfResults} rezult\u0101ti";var Zf="Ats\u0101kt",oA="Uz\u0146emt v\u0113lreiz";var dte="Loma";var pte="M\u0101c\u012Bbu ce\u013C\u0161";var mte="Lomas";var gte="RSS",fte="Izpild\u012Bt";var rA="Rad\u0101s probl\u0113ma ar dro\u0161\u012Bbas verifik\u0101cijas procesu, kas nepiecie\u0161ams resursa aktiviz\u0113\u0161anai. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz p\u0113c 10 min\u016Bt\u0113m.",mN='M\u0113s p\u0101rskat\u012Bj\u0101m j\u016Bsu apel\u0101ciju un konstat\u0113j\u0101m, ka j\u016Bsu konts ir p\u0101rk\u0101pis m\u016Bsu lieto\u0161anas noteikumus. J\u016Bsu piek\u013Cuve interakt\u012Bvajiem resursiem netiks atjaunota. Ta\u010Du varat turpin\u0101t piek\u013C\u016Bt Microsoft Learn apm\u0101c\u012Bbu saturam. Daudzus modu\u013Ca vingrin\u0101jumus var izpild\u012Bt, izmantojot savu personisko abonementu, ta\u010Du var b\u016Bt sp\u0113k\u0101 maksa, un var b\u016Bt nepiecie\u0161ams modific\u0113t instrukcijas, lai tas darbotos ar j\u016Bsu abonementu.';var st="Saglab\u0101t";var hte="Prasme";var gN="Pievienot pl\u0101nam",fN="Pievienots sada\u013Cai Pl\u0101ni",bte="P\u0101rvald\u012Bt {title} sada\u013C\u0101 Pl\u0101ni",_te="Pievienot {title} pl\u0101nam";var hN="Kop\u0113t pl\u0101nu",vte="Dienas l\u012Bdz atskaites punktam: {number}";var yte="Paredzamais ilgums pabeig\u0161anai: {time}";var xte="{number} atskaites punkts(i) \u0161aj\u0101 pl\u0101n\u0101";var kte="Atskaites punkts {number}",Tte='Pievienots: {collectionName}',Ste='Pievienots sada\u013Cai Pl\u0101ni',wte="Pierakstieties pakalpojum\u0101 Microsoft Learn, lai izmantojot m\u0101ksl\u012Bgo intelektu, veidotu personaliz\u0113tu un piel\u0101gotu m\u0101c\u012Bbu pl\u0101nu, kur\u0101 ir \u0146emtas v\u0113r\u0101 j\u016Bsu unik\u0101l\u0101s vajadz\u012Bbas un kur\u0161 nodro\u0161ina visatbilsto\u0161\u0101ko saturu.",Ete='No\u0146emts no kolekcijas {collectionName}',Cte='No\u0146emts no sada\u013Cas Pl\u0101ni',iA="Fons",Ate="Pa\u0161reiz\u0113j\u0101 loma",Ite="Izv\u0113l\u0113ties lomu",aA="Sniedziet pamatinform\u0101ciju par savu karjeru.",Pte="Nor\u0101diet savu detaliz\u0113to amatu un pien\u0101kumus",Lte="K\u0101ds ir j\u016Bsu karjeras posms?",Rte="Agr\u012Bna karjera (0\u20135 gadi)",Mte="Karjeras vidus (5\u201310 gadi)",$te="Karjeras augst\u0101kais posms (vair\u0101k nek\u0101 10 gadi)",Dte="Izveidojiet savu pl\u0101nu",zte="{AppliedSkills} (uz scen\u0101rijiem balst\u012Bti, interakt\u012Bvi uzdevumu nov\u0113rt\u0113jumi)",Nte="Pabeidziet izaicino\u0161u projektu darb\u0101",jte="Ieg\u016Bstiet profesion\u0101lus akredit\u0101cijas datus sav\u0101 jom\u0101",Fte="Uzlabojiet prasmju kopumu, piem\u0113ram, apg\u016Bstiet jaunu programmat\u016Bras r\u012Bku vai programm\u0113\u0161anas valodu",Ute="Ievadiet projekta tehnolo\u0123ijas, m\u0113r\u0137us un sekmju metrikas",Ote="Lai atlas\u012Btu vair\u0101kas opcijas, turiet nospiestu tausti\u0146u Ctrl oper\u0113t\u0101jsist\u0113m\u0101 Windows/komandpogu Mac dator\u0101.",qte="Sniedziet detaliz\u0113tu inform\u0101ciju par projektu",Hte="Uz scen\u0101rijiem balst\u012Bti akredit\u0101cijas dati, kas nopeln\u012Bti, izmantojot praktisku, interakt\u012Bvu uzdevumu nov\u0113rt\u0113jumus, kuri demonstr\u0113 j\u016Bsu lietprat\u012Bbu un sp\u0113ju ieviest re\u0101l\u0101s pasaules risin\u0101jumu.";var bN="Atlasiet kategoriju",Jy="Atlasiet sertifik\u0101ciju",Bte="Atlasiet akredit\u0101cijas datus",lA="Atlasiet prasmi",_N="Atlasiet t\u0113mu",Vte="Atlasiet akredit\u0101cijas datu veidu",Gte="K\u0101di ir j\u016Bsu karjeras m\u0113r\u0137i?",Qte="Izv\u0113lieties pl\u0101na m\u0113r\u0137i",cA="Pabeidziet konkr\u0113tu projektu",Yte="Sniedziet detaliz\u0113tu projekta aprakstu, tostarp probl\u0113mas p\u0101rskatu un paredzamo rezult\u0101tu, k\u0101 ar\u012B izmantot\u0101s tehnolo\u0123ijas, strukt\u016Bras, valodas vai pakalpojumus.",Kte="Nor\u0101diet savu detaliz\u0113to amatu un pien\u0101kumus",Wte="K\u0101ds ir projekta m\u0113r\u0137is, probl\u0113ma un paredzamais rezult\u0101ts? Iek\u013Caujiet visas tehnolo\u0123ijas, strukt\u016Bras, valodas un pakalpojumus, ko izmantojat.",Jte="Ko dar\u012Bt un ko nedar\u012Bt, aprakstot projektu",Zte="Ko dar\u012Bt: \u201CEs izstr\u0101d\u0101ju t\u012Bmek\u013Ca lietojumprogrammu, kas izmanto ma\u0161\u012Bnm\u0101c\u012B\u0161an\u0101s algoritmus, lai prognoz\u0113tu kr\u0101jumu vajadz\u012Bbas, re\u0101llaik\u0101 izsekotu kr\u0101jumu l\u012Bme\u0146us un automatiz\u0113tu p\u0101rk\u0101rto\u0161anas procesus.

Galven\u0101s iesp\u0113jas ir re\u0101llaika kr\u0101jumu izseko\u0161ana, prognoz\u0113jo\u0161\u0101 anal\u012Bze, automatiz\u0113ta p\u0101rk\u0101rto\u0161ana un p\u0101rskatu veido\u0161ana/anal\u012Bze.

Tehnolo\u0123ijas, ko lietosim, ir Microsoft Blazor priek\u0161gala lietot\u0101ja interfeisam, ASP.NET Core servera puses lo\u0123ikai un API piepras\u012Bjumiem, Azure Cosmos DB kr\u0101jumu datu un transakciju glab\u0101\u0161anai, Azure Machine Learning un Azure m\u0101ko\u0146pakalpojumi.\u201D",Xte="Ko nedar\u012Bt: \u201CMan ir j\u0101izveido kr\u0101jumu izseko\u0161anas t\u012Bmek\u013Ca lietojumprogramma.\u201D",ene='Veltiet da\u017Eas min\u016Btes, lai pal\u012Bdz\u0113tu mums izveidot j\u016Bsu m\u0101c\u012Bbu pl\u0101nu, izmantojot jums personaliz\u0113tu AI! Microsoft nekad nekop\u012Bgos \u0161os datus. L\u016Bdzu, izlasiet AI caursp\u012Bd\u012Bguma piez\u012Bmes, lai uzzin\u0101tu vair\u0101k par lieto\u0161anas gad\u012Bjumiem, ierobe\u017Eojumiem un konfidencialit\u0101tes politiku.',uA="Ieg\u016Bt akredit\u0101cijas datus",tne="K\u0101 v\u0113laties ieg\u016Bt akredit\u0101cijas datus?",nne="Valid\u0113jiet prasmes, izmantojot uz scen\u0101rijiem balst\u012Btu nov\u0113rt\u0113jumu",dA="Atlasiet visatbilsto\u0161\u0101k\u0101s {AppliedSkills}",sne="Ieg\u016Bstiet nozar\u0113 atz\u012Btu, uz lom\u0101m balst\u012Btu Microsoft sertifik\u0101tu",pA="Nozar\u0113 atz\u012Bti sertifik\u0101ti",mA="Rad\u0101s k\u0101da probl\u0113ma. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz.",one="Pl\u0101ns netika \u0123ener\u0113ts, jo veidlap\u0101, iesp\u0113jams, ir formul\u0113jums, kas var\u0113tu p\u0101rk\u0101pt Microsoft Learn uzved\u012Bbas kodeksu. L\u016Bdzu, s\u0101ciet no jauna un mainiet savas fr\u0101zes.",rne="Diem\u017E\u0113l nevar\u0113j\u0101m \u0123ener\u0113t j\u016Bsu pl\u0101nu. L\u016Bdzu, s\u0101ciet no jauna.",ine="Nevar\u0113j\u0101m atv\u0113rt j\u016Bsu pl\u0101nu. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz.",ane="M\u0113s nevar\u0113j\u0101m atrast akredit\u0101cijas datus \u0161ai lomai. L\u016Bdzu, atlasiet citu lomu un m\u0113\u0123iniet v\u0113lreiz.",gA="Ievadiet detaliz\u0113tu amatu un pien\u0101kumus, kas var pal\u012Bdz\u0113t m\u016Bsu AI sist\u0113mai lab\u0101k personaliz\u0113t j\u016Bsu m\u0101c\u012Bbu pl\u0101nu. Ieteicams pievienot amata nosaukumu un detaliz\u0113tu inform\u0101ciju par konkr\u0113tiem uzdevumiem, ko veicat un kas ir saist\u012Bti ar j\u016Bsu pl\u0101na m\u0113r\u0137i";var lne="Sniedziet p\u0113c iesp\u0113jas detaliz\u0113t\u0101ku inform\u0101ciju, bet neiek\u013Caujiet nek\u0101du priv\u0101tu vai sensit\u012Bvu inform\u0101ciju",vN="Vai \u0161is pl\u0101ns ir noder\u012Bgs?",cne="Uzvednes un \u0123ener\u0113t\u0101s atbildes tiks kop\u012Bgotas. Priek\u0161skatiet, kas tiks kop\u012Bgots {here}",yN="\u0160is pl\u0101ns ir noder\u012Bgs",xN="\u0160is pl\u0101ns nav noder\u012Bgs",une="M\u0113s nov\u0113rt\u0113jam, ka velt\u012Bj\u0101t laiku, lai nov\u0113rt\u0113tu ieteikto pl\u0101nu un sniegtu koment\u0101rus. J\u016Bsu ieguld\u012Bjums pal\u012Bdz\u0113s mums veikt uzlabojumus.",dne="K\u0101dus uzlabojumus pl\u0101n\u0101 var\u0113tu veikt?",pne="Kas jums patika pl\u0101n\u0101?",mne="M\u0113r\u0137is",gne="\u0122ener\u0113t pl\u0101nu",fA="Notiek j\u016Bsu pl\u0101na \u0123ener\u0113\u0161ana...",fne="Gandr\u012Bz pabeigts",hne="Gandr\u012Bz pabeigts \u2014 m\u0113s tikai pielabojam p\u0113d\u0113j\u0101s nianses, lai viss darbotos ide\u0101li!",bne="Pabeig\u0161anas laiks",_ne="Tagad nov\u0113rt\u0113jam atskaites punktu pabeig\u0161anas laiku, pamatojoties uz j\u016Bsu m\u0101c\u012Bbu tempu.",vne="P\u0113c tam ieskic\u0113jam j\u016Bsu m\u0101c\u012Bbu rezult\u0101tus.",yne="Visbeidzot, nosak\u0101m atskaites punktus, tostarp galvenos posmus un kontrolpunktus.",xne="Vispirms \u0123ener\u0113jam j\u016Bsu pl\u0101na virsrakstu un aprakstu, kas defin\u0113 j\u016Bsu projekta m\u0113r\u0137i un tv\u0113rumu.",kne="Virsraksts un apraksts",hA="Veiciniet izaugsmi pa\u0161reiz\u0113j\u0101 karjer\u0101",Tne="K\u0101 tas darbojas?",Sne='Katrs m\u0101ksl\u012Bg\u0101 intelekta \u0123ener\u0113tais pl\u0101ns ir balst\u012Bts uz j\u016Bsu atlasi un sniegto inform\u0101ciju. M\u0113s p\u0101rraug\u0101m atbilsto\u0161u Microsoft saturu, lai izveidotu personaliz\u0113tu pl\u0101nu. \u0160is pl\u0101ns ietver piel\u0101gotu apm\u0101c\u012Bbu un dokument\u0101ciju, organiz\u0113tus atskaites punktus, progresa izseko\u0161anas r\u012Bkus atsevi\u0161\u0137\u0101m person\u0101m vai grup\u0101m un atz\u012B\u0161anu p\u0113c pabeig\u0161anas. Uzziniet vair\u0101k par to, k\u0101 darbojas m\u0101ksl\u012Bg\u0101 intelekta pl\u0101na \u0123ener\u0113\u0161ana un k\u0101di ir ierobe\u017Eojumi.',Xf="M\u0113r\u0137i",bA="Sniedziet vair\u0101k inform\u0101cijas par saviem karjeras m\u0113r\u0137iem.",_A="S\u0101ciet jaunu karjeru",wne="Ievadiet detaliz\u0113tu amatu un pien\u0101kumus. M\u0113s iesak\u0101m izmantot konkr\u0113tu(s) amatu(s) un/vai detaliz\u0113tus pien\u0101kumus, kas saist\u012Bti ar j\u016Bsu pl\u0101na m\u0113r\u0137i. Tas pal\u012Bdz m\u016Bsu AI sist\u0113mai b\u016Bt personaliz\u0113t\u0101kai un prec\u012Bz\u0101kai.",Ene="Lomas apraksts",Cne="Atlasiet lomu",Ane="Atlasiet visatbilsto\u0161\u0101ko lomu",Ine="K\u0101du lomu j\u016Bs v\u0113laties izp\u0113t\u012Bt?",Pne="S\u0101kt no jauna nesaglab\u0101jot",Lne="Vai s\u0101kt no jauna, nesaglab\u0101jot savu pl\u0101nu?",Rne="Ja s\u0101ksit no jauna, ievad\u012Btais pl\u0101ns un inform\u0101cija netiks saglab\u0101ti, un jums b\u016Bs atk\u0101rtoti j\u0101ievada sava detaliz\u0113t\u0101 inform\u0101cija un preferences.",Mne="Veltiet da\u017Eas min\u016Btes, lai pal\u012Bdz\u0113tu mums izveidot j\u016Bsu m\u0101c\u012Bbu pl\u0101nu, izmantojot jums personaliz\u0113tu AI!",Zy="Past\u0101stiet mums savu m\u0113r\u0137i",$ne="Pievienojiet p\u0113c iesp\u0113jas vair\u0101k inform\u0101cijas un deta\u013Cu",Dne="Piem\u0113rs: \u201CMans m\u0113r\u0137is ir k\u013C\u016Bt par Azure AI pakalpojumu lietprat\u0113ju. Es v\u0113los iem\u0101c\u012Bties, k\u0101 veidot, izvietot un p\u0101rvald\u012Bt AI mode\u013Cus, izmantojot Azure Machine Learning. Turkl\u0101t mans m\u0113r\u0137is ir izprast, k\u0101 integr\u0113t \u0161os mode\u013Cus m\u016Bsu eso\u0161aj\u0101s lietojumprogramm\u0101s, lai uzlabotu to iesp\u0113jas un sniegtu lab\u0101kus ieskatus.\u201D",Xy="Laika josla",ex="Nor\u0101diet, cik daudz laika jums ir darbam ar savu pl\u0101nu.",zne="Cik daudz laika varat velt\u012Bt katru ned\u0113\u013Cu?",Nne="Kad v\u0113laties pabeigt savu m\u0101c\u012Bbu pl\u0101nu?",jne="Maz\u0101k par 1 stundu",Fne="1\u20132 stundas",Une="3\u20135 stundas",One="5\u201310 stundas",qne="Vair\u0101k nek\u0101 10 stundas",Hne="3 m\u0113ne\u0161u laik\u0101",Bne="3\u20136 m\u0113ne\u0161i",Vne="6\u201312 m\u0113ne\u0161i",Gne="Vair\u0101k nek\u0101 12 m\u0113ne\u0161i";var eh="P\u0101rskat\u012Bt pl\u0101nu";var Qne="Sekm\u012Bgi! J\u016Bsu jaunais pl\u0101ns ir gatavs. L\u016Bdzu, p\u0101rskatiet, jo AI \u0123ener\u0113ts saturs var b\u016Bt neprec\u012Bzs.";var Yne="Pl\u0101na piem\u0113rs",Kne="\u0160is prasmju pilnveides pl\u0101ns pal\u012Bdz izstr\u0101d\u0101t AI risin\u0101jumus, izmantojot Azure AI pakalpojumus, koncentr\u0113joties uz dabiskas valodas apstr\u0101di, \u0123enerat\u012Bvo m\u0101ksl\u012Bgo intelektu un piel\u0101got\u0101m AI lietojumprogramm\u0101m. J\u016Bs iem\u0101c\u012Bsities g\u016Bt labumu no Azure jaud\u012Bgajiem r\u012Bkiem un pakalpojumiem.";var Wne="L\u012Bdz \u0161\u012B pl\u0101na beig\u0101m j\u016Bs var\u0113sit izveidot un izvietot AI risin\u0101jumus, izmantojot Azure AI pakalpojumus, tostarp dabiskas valodas apstr\u0101di un \u0123enerat\u012Bv\u0101 m\u0101ksl\u012Bg\u0101 intelekta lietojumprogrammas.",Jne="L\u012Bdz \u0161\u012B pl\u0101na beig\u0101m j\u016Bs var\u0113sit ieviest piel\u0101gotas AI lietojumprogrammas, izmantojot Azure OpenAI pakalpojumu un Azure m\u0101ksl\u012Bg\u0101 intelekta studiju.",Zne="L\u012Bdz \u0161\u012B pl\u0101na beig\u0101m j\u016Bs var\u0113sit izstr\u0101d\u0101t intelektiskas lietojumprogrammas, kas izmanto Azure AI iesp\u0113jas da\u017E\u0101diem lieto\u0161anas gad\u012Bjumiem.",Xne="Apg\u016Bstiet Azure AI pamatpakalpojumus",ese="\u0160aj\u0101 sada\u013C\u0101 izgl\u012Btojamie p\u0101rl\u016Bkos Azure AI pakalpojumu pamatinform\u0101ciju, ieg\u016Bstot pamatzin\u0101\u0161anas, lai kompil\u0113tu AI risin\u0101jumus. Galven\u0101s tehnolo\u0123ijas ietver Azure AI pakalpojumus ar t\u0101diem uzdevumiem k\u0101 izpratne par pakalpojumu iesp\u0113j\u0101m un s\u0101kotn\u0113j\u0101 iestat\u012B\u0161ana.",tse="Darba s\u0101k\u0161ana ar Azure AI pakalpojumiem",nse="Izstr\u0101d\u0101jiet progres\u012Bvus AI risin\u0101jumus, izmantojot Azure",sse="\u0160aj\u0101 sada\u013C\u0101 galven\u0101 uzman\u012Bba ir piev\u0113rsta progres\u012Bvu AI risin\u0101jumu izstr\u0101dei, tostarp dabiskas valodas apstr\u0101dei un \u0123enerat\u012Bvajam m\u0101ksl\u012Bgajam intelektam. Izgl\u012Btojamie str\u0101d\u0101s ar Azure AI pakalpojumiem un Azure OpenAI pakalpojumu, iesaistoties t\u0101dos uzdevumos k\u0101 valodu mode\u013Cu veido\u0161ana un piel\u0101gotu pal\u012Bgu izveide.",ose="Izstr\u0101d\u0101jiet dabiskas valodas apstr\u0101des risin\u0101jumus, izmantojot Azure AI pakalpojumus",rse="Izstr\u0101d\u0101jiet lietojumprogrammas, izmantojot Azure OpenAI Foundry mode\u013Cos",ise="Izstr\u0101d\u0101jiet savus piel\u0101gotos pal\u012Bgus, izmantojot Azure m\u0101ksl\u012Bg\u0101 intelekta studiju",ase="Izstr\u0101d\u0101jiet AI risin\u0101jumus, izmantojot Azure AI pakalpojumus",lse='Sada\u013Ca Pl\u0101ni atjaunin\u0101ta';var cse="Izv\u0113lieties savam pl\u0101nam citu nosaukumu",use="Kop\u0113t saiti";var vA="P\u0101rvald\u012Bt";var yA="Atst\u0101t",dse="Pl\u0101na atst\u0101\u0161ana",pse="Vai tie\u0161\u0101m v\u0113laties atst\u0101t \u0161o pl\u0101nu?",mse="J\u016Bs zaud\u0113sit visus progresa ierakstus un j\u016Bs nepar\u0101d\u012Bsieties satura veidot\u0101ja p\u0101rskat\u0101.",gse="J\u0101, pamest",fse="L\u016Bdzu, ievadiet virsrakstu";var hse="Piedodiet, bet \u0161is pl\u0101ns ir priv\u0101ts.",bse="\u0160\u012B pl\u0101na veidot\u0101js to ir atz\u012Bm\u0113jis k\u0101 priv\u0101tu, un tas pa\u0161laik nav redzams citiem lietot\u0101jiem.",_se="J\u016Bs varat p\u0101rskat\u012Bt pl\u0101nus sav\u0101 lietot\u0101ja profil\u0101.",vse="Skat\u012Bt savus pl\u0101nus",yse='Varat ar\u012B atgriezties pie pl\u0101niem.',xse="Pl\u0101ns nav pieejams",kse="\u0160is pl\u0101ns nepast\u0101v vai ir no\u0146emts.",Tse="Ja \u0161\u012B saite tika kop\u012Bgota ar jums, pieprasiet jaunu saiti.",Sse="Pabeigts";var wse="Pl\u0101ns \u013Cauj izgl\u012Btojamajiem g\u016Bt pan\u0101kumus, izmantojot virkni atskaites punktu, lai sasniegtu m\u0101c\u012Bbu rezult\u0101tus. Varat uzaicin\u0101t audz\u0113k\u0146us uz savu pl\u0101nu un sekot l\u012Bdzi vi\u0146u progresam.",Ese="S\u0101kts";var Cse="Ofici\u0101lais pl\u0101ns";var Ase="Pl\u0101ns nav atrasts. L\u016Bdzu, atsvaidziniet lapu.",Ise="Viens vai vair\u0101ki atskaites punkti ir tuk\u0161i vai tr\u016Bkst ieteicamo dienu, kad tas ir j\u0101pabeidz. L\u016Bdzu, nov\u0113rsiet \u0161\u012Bs probl\u0113mas pirms pl\u0101na public\u0113\u0161anas.",Pse="Pl\u0101na detaliz\u0113t\u0101 inform\u0101cija";var Lse="Dz\u0113st pl\u0101nu",Rse="Lai izdz\u0113stu pl\u0101nu, p\u0101rliecinieties, ka tam nav pievienots neviens lietot\u0101js. Visiem lietot\u0101jiem vispirms ir j\u0101izdz\u0113\u0161 pl\u0101ns.",Mse="Vai tie\u0161\u0101m v\u0113laties izdz\u0113st \u0161o pl\u0101nu?",$se="J\u0101, dz\u0113st pl\u0101nu";var th="Uzaicin\u0101t apm\u0101c\u0101mos",kN="Kop\u0113t uzaicin\u0101juma saiti",Dse="Saite kop\u0113ta starpliktuv\u0113",zse="Dz\u0113st m\u0101c\u012Bbu grupu",Nse="J\u016Bs gatavojaties dz\u0113st \u0161\u0101du m\u0101c\u012Bbu grupu: {learningGroupName}. Vai v\u0113laties turpin\u0101t?",jse="Grupa izdz\u0113sta",Fse="Grupas",tx="Grupas nosaukums",Use="Personas";var Ose="M\u0101c\u012Bbu grupa ir nosaukums, kas \u013Cauj jums noteikt skol\u0113nu grupu sav\u0101 progresa atskait\u0113; skol\u0113ni \u0161o nosaukumu neredz\u0113s.

Izveidojot m\u0101c\u012Bbu grupu, tiek \u0123ener\u0113ta unik\u0101la saite uz j\u016Bsu pl\u0101nu konkr\u0113tajai skol\u0113nu grupai.";var TN="Jauna m\u0101c\u012Bbu grupa",qse="L\u016Bdzu, ievadiet \u0161\u012Bs m\u0101c\u012Bbu grupas nosaukumu",Hse="J\u016Bsu uzaicin\u0101jums s\u0101kt pl\u0101nu {planTitle} pakalpojum\u0101 Microsoft Learn",Bse="Start\u0113jiet savu pl\u0101nu un s\u0101ciet savu m\u0101c\u012Bbu ce\u013Cojumu jau \u0161odien.",Vse="J\u016Bs esat uzaicin\u0101ts s\u0101kt pl\u0101nu {planTitle} pakalpojum\u0101 Microsoft Learn.",Gse="Pl\u0101ns ir p\u0101rraudz\u012Bta un organiz\u0113ta satura kopa pakalpojum\u0101 Microsoft Learn ar atskaites punktiem, kas izstr\u0101d\u0101ti, lai pal\u012Bdz\u0113tu jums g\u016Bt m\u0101c\u012Bbu rezult\u0101tus.",Qse="Izpildot \u0161o pl\u0101nu, j\u016Bs g\u016Bsit \u0161\u0101dus m\u0101c\u012Bbu rezult\u0101tus:",Yse="Start\u0113jiet savu pl\u0101nu jau \u0161odien!",nh="Skat\u012Bt izpildi",Kse="Lejupiel\u0101d\u0113jiet \u0161o failu, lai skat\u012Btu skol\u0113nu sarakstu un vi\u0146u izpildi.",xA="Lejupiel\u0101d\u0113t CSV failu",Wse="Fail\u0101 ir \u0161\u0101da inform\u0101cija:",Jse="Skol\u0113nu grupa",Zse="Learn lietot\u0101jv\u0101rds",Xse="S\u0101kuma datums",eoe="Beigu datums",toe="Pabeigtie vienumi",noe="Vienumi kop\u0101",$u="M\u0101c\u012Bbu rezult\u0101ti",soe="Redi\u0123\u0113t m\u0101c\u012Bbu rezult\u0101tus",ooe="M\u0101c\u012Bbu rezult\u0101ts ir specifiskas zin\u0101\u0161anas, prasmes vai pieredze, ko izgl\u012Btojamais ieg\u016Bs, izpildot \u0161o pl\u0101nu.",roe="Padoms. S\u0101ciet katru m\u0101c\u012Bbu rezult\u0101tu ar darb\u012Bbas v\u0101rdu. Katrs rezult\u0101ts j\u0101izsaka t\u0101, lai tas turpin\u0101tu \u0161\u0101du teikumu: \u201CPabeidzot \u0161o pl\u0101nu, izgl\u012Btojamie var\u0113s...\u201D";var ioe="1\\. rezult\u0101ts",aoe="2\\. rezult\u0101ts (neoblig\u0101ti)",loe="3\\. rezult\u0101ts (neoblig\u0101ti)",coe="Rezult\u0101ts {number}",uoe="P\u0101rv\u0113rst par ofici\u0101lu pl\u0101nu",doe="P\u0101rveidot pl\u0101nu par ofici\u0101lu pl\u0101nu",poe="Ja v\u0113laties, lai j\u016Bsu pl\u0101ns p\u0101rst\u0101v Microsoft, un ja v\u0113laties iek\u013Caut saites, kas nav saist\u012Btas ar Microsoft Learn, izmantojiet ofici\u0101lo pl\u0101nu. Vienm\u0113r p\u0101rliecinieties, ka j\u016Bsu pl\u0101ns ir piln\u012Bgs, bez drukas k\u013C\u016Bd\u0101m un saturs ir pareiz\u0101 sec\u012Bb\u0101. Ofici\u0101lo pl\u0101nu nevar main\u012Bt p\u0113c public\u0113\u0161anas.",moe="Lai ofici\u0101l\u0101s kolekcijas vai pl\u0101na pamat\u0101 neb\u016Btu nek\u0101das \u0101r\u0113j\u0101s saites, l\u016Bdzu, p\u0101rv\u0113rtiet par ofici\u0101lo pl\u0101nu.",goe="Ofici\u0101lais pl\u0101ns p\u0101rst\u0101v korpor\u0101ciju Microsoft, t\u0101p\u0113c, l\u016Bdzu, p\u0101rliecinieties, vai j\u016Bsu public\u0113tais pl\u0101ns ir piln\u012Bgs, bez drukas k\u013C\u016Bd\u0101m un saturs ir pareiz\u0101 sec\u012Bb\u0101.";var kA="\u0160is pl\u0101ns ir iesniegts lokaliz\u0101cijai",foe="Pl\u0101ns ir pabeigts, un t\u0101 korekt\u016Bra ir veikta",hoe="Paldies, ka savu ofici\u0101lo pl\u0101nu iesniedz\u0101t lokaliz\u0101cijai.",boe="Atz\u012Bm\u0113t k\u0101 pabeigtu",SN="Atskaites punkts",_oe="Pievienot atskaites punktu",voe="Redi\u0123\u0113t atskaites punktu";var yoe="Jauns atskaites punkts",xoe="Dienas l\u012Bdz atskaites punktam:",koe="1 atskaites punkts",Toe="{numberOfMilestones} atskaites punkti";var Soe="Atskaites punkts pabeigts";var woe="P\u0101rvietot uz";var Eoe="L\u016Bdzu, apstipriniet, ka visiem atskaites punktiem ir nosaukums un dienas, kad j\u0101pabeidz. Iesp\u0113jams, jums b\u016Bs j\u0101papla\u0161ina katrs atskaites punkts.";var Coe="Atz\u012Bm\u0113t k\u0101 pabeigtu?",Aoe="Vai v\u0113laties to atz\u012Bm\u0113t k\u0101 pabeigtu? Kad b\u016Bsit atz\u012Bm\u0113jis to k\u0101 pabeigtu, nevar\u0113sit to p\u0101rskat\u012Bt v\u0113lreiz.",Ioe="Laipni l\u016Bdzam!",Poe="Lai s\u0101ktu \u0161o pl\u0101nu, jums ir j\u0101kop\u012Bgo pl\u0101na izpildes dati ar pl\u0101na izveidot\u0101ju. Dati, kas tiks kop\u012Bgoti: pl\u0101na s\u0101k\u0161anas un pabeig\u0161anas datumi, k\u0101 ar\u012B izpild\u012Bto vienumu kopskaits jebkur\u0101 laika br\u012Bd\u012B. J\u016Bsu dati tiks piesaist\u012Bti j\u016Bsu publiskajam Learn lietot\u0101jv\u0101rdam.",Loe="Vai j\u016Bs piekr\u012Btat kop\u012Bgot savu progresu?",Roe="J\u0101, es piekr\u012Btu kop\u012Bgot savu progresu",Moe="Ja v\u0113laties sa\u0146emt lietder\u012Bgus e-pasta zi\u0146ojumus, kas vad\u012Bs un iedro\u0161in\u0101s j\u016Bs pl\u0101na izpildes laik\u0101, l\u016Bdzu, dodieties uz savu profila iestat\u012Bjumu lapu un nor\u0101diet sazi\u0146as e-pastu pazi\u0146ojumiem.",$oe="Saglab\u0101t visus vienumus \u0161aj\u0101 pl\u0101n\u0101 k\u0101 jaunus",Doe="Pierakstieties, lai pievienotu \u0161o savam pl\u0101nam.";var zoe="Jums v\u0113l nav nek\u0101du pl\u0101nu.",wN="Izgl\u012Btojamo grupa ar \u0161\u0101du nosaukumu jau past\u0101v. L\u016Bdzu, ievadiet citu nosaukumu";var Noe="Pl\u0101ns, par kuru ir zi\u0146ots",joe='Ir zi\u0146ots par ba\u017E\u0101m attiec\u012Bb\u0101 uz \u0161o pl\u0101nu, un pa\u0161laik Microsoft to p\u0101rskata. Papildinform\u0101cijai, l\u016Bdzu, skatiet m\u016Bsu Lieto\u0161anas noteikumus.';var Foe="Saglab\u0101t savu piel\u0101goto kolekciju";var EN="Iepl\u0101not eks\u0101menu";var an="Mekl\u0113t";var Uoe="Mekl\u0113t vis\u0101 pakalpojum\u0101 Microsoft Learn";var CN="Mekl\u0113\u0161anas filtri";var nx="Mekl\u0113t iepriek\u0161\u0113j\u0101s versijas";var TA="Sekundes",Ooe="Pirms {duration} sekund\u0113m",qoe="{seconds} sekundes",SA="Sada\u013Ca",Hoe="Sada\u013Cas nosaukums: {title}";var sx="Skat\u012Bt maz\u0101k";var Du="Skat\u012Bt vair\u0101k";var wA="Atlas\u012Bt pakotni";var EA="Atlas\u012Bt versiju";var Boe="Pakalpojums";var Fp="Iestat\u012Bjumi",CA="Kop\u012Bgot";var AA="[Kop\u012Bgots raksts] {articleTitle}",Voe="Es pabeidzu {achievementTitle}! Ar lepnumu nosvin\u0113\u0161u \u0161o sasniegumu un ceru, ka tas iedvesmos j\u016Bs s\u0101kt savu @MicrosoftLearn ce\u013Cojumu!";var ox="Kop\u012Bgot sav\u0101 pl\u016Bsm\u0101:";var AN="Kop\u012Bgot, izmantojot";var Goe="Kop\u012Bgojiet savu sasniegumu:",Qoe="Koplieto\u0161ana",Yoe="Koplieto\u0161ana ir atsp\u0113jota saturam, kuram ir nepiecie\u0161ama autoriz\u0101cija.";var sh="R\u0101d\u012Bt maz\u0101k",zu="R\u0101d\u012Bt vair\u0101k",IA="R\u0101d\u012Bt v\u0113l {number}",PA="Pierakst\u012Bjies",Yo="Pierakst\u012Bties";var Koe="Notiek pierakst\u012B\u0161an\u0101s...";var Woe='Pierakst\u012Bties pakalpojum\u0101 Microsoft Learn';var rx="Pierakstieties, lai s\u0101ktu",Up="Izrakst\u012Bties";var Joe="Vietne";var Zoe="V\u0113l {count}",LA="Not\u012Br\u012Bt filtrus",Xoe="Pasl\u0113pt filtru",IN="{filter} opcijas";var ere="Jaut\u0101tie termini:",PN="Dom\u0101\u0161ana...",LN="Rezult\u0101ta \u0123ener\u0113\u0161ana...",RN="Mekl\u0113\u0161ana...",tre="Mekl\u0113\u0161anas rezult\u0101ti",MN="Diem\u017E\u0113l ar \u0161o es nevaru pal\u012Bdz\u0113t. L\u016Bdzu, iesniedziet jaunu piepras\u012Bjumu vai dalieties ar sav\u0101m atsauksm\u0113m.",$N="Diem\u017E\u0113l \u012Bs\u0101 laika posm\u0101 j\u016Bs nos\u016Bt\u012Bj\u0101t p\u0101r\u0101k daudz piepras\u012Bjumu. L\u016Bdzu, br\u012Bdi uzgaidiet un m\u0113\u0123iniet v\u0113lreiz.",nre="Prec\u012Bzs/atbilsto\u0161s saturs",sre="Piln\u012Bgs/skaidrs saturs",ore="\u0100tra atbilde",rre="Neprec\u012Bzs/neatbilsto\u0161s saturs",ire="Nepiln\u012Bgs/neskaidrs saturs",are="Aizvainojo\u0161s/nepiem\u0113rots saturs",lre="L\u0113na atbilde",DN="Kaut kas cits",zN="Sniedziet p\u0113c iesp\u0113jas detaliz\u0113t\u0101ku inform\u0101ciju, bet neiek\u013Caujiet nek\u0101du priv\u0101tu vai sensit\u012Bvu inform\u0101ciju",cre="Past\u0101stiet mums vair\u0101k",ure="\u0160\u012B atbilde bija noder\u012Bga",dre="\u0160\u012B atbilde nebija noder\u012Bga",oh="AI kopsavilkums",Op="Diem\u017E\u0113l rad\u0101s probl\u0113ma. L\u016Bdzu, v\u0113l\u0101k m\u0113\u0123iniet v\u0113lreiz.",NN="Kopsavilkumi pagaid\u0101m nav pieejami, l\u016Bdzu, m\u0113\u0123iniet v\u0113l\u0101k.";var jN="Neizdev\u0101s ienest kopsavilkumu",FN="Neder\u012Bga kopsavilkuma atbilde";var Nu="M\u0101ksl\u012Bg\u0101 intelekta \u0123ener\u0113tais saturs var b\u016Bt nepareizs.",rh='Lai ieg\u016Btu papildinform\u0101ciju, izlasiet m\u016Bsu piez\u012Bmes par AI caursp\u012Bd\u012Bgumu.',pre='Lai ieg\u016Btu papildinform\u0101ciju, izlasiet m\u016Bsu piez\u012Bmes par AI caursp\u012Bd\u012Bgumu.',ih="Paldies par atsauksm\u0113m!",ix="Sl\u0113pt",UN="R\u0101d\u012Bt",RA="Notiek \u0123ener\u0113\u0161ana...",mre="L\u016Bdzu, br\u012Bdi uzgaidiet un m\u0113\u0123iniet v\u0113lreiz.",MA="Mums v\u0113l nav \u0161\u012Bs inform\u0101cijas.",gre="Rezult\u0101tu skaits: {count}, mekl\u0113jot fr\u0101zi \u201C{searchPhrase}\u201D",fre="Rezult\u0101tu skaits: {count}, mekl\u0113jot fr\u0101zi \u201C{searchPhrase}\u201D",hre="{count} l\u012Bdz\u012Bgi rezult\u0101ti fr\u0101zei \u201C{searchPhrase}\u201D",bre="{count} l\u012Bdz\u012Bgs rezult\u0101ts fr\u0101zei \u201C{searchPhrase}\u201D",_re="Rezult\u0101tu skaits: {count}, mekl\u0113jot fr\u0101zi \u201C{searchPhrase}\u201D tv\u0113rum\u0101 {scope}",vre="Rezult\u0101tu skaits: {count}, mekl\u0113jot fr\u0101zi \u201C{searchPhrase}\u201D tv\u0113rum\u0101 {scope}",yre="{count} l\u012Bdz\u012Bgi rezult\u0101ti fr\u0101zei \u201C{searchPhrase}\u201D tv\u0113rum\u0101 {scope}",xre="{count} l\u012Bdz\u012Bgs rezult\u0101ts fr\u0101zei \u201C{searchPhrase}\u201D tv\u0113rum\u0101 {scope}",kre="Atbilst\u012Bba nav atrasta; tiek r\u0101d\u012Bti {count} rezult\u0101ti, kas ir l\u012Bdz\u012Bgi fr\u0101zei \u201C{searchPhrase}\u201D.",Tre="Atbilst\u012Bba nav atrasta; tiek r\u0101d\u012Btis {count} rezult\u0101ts, kas ir l\u012Bdz\u012Bgs fr\u0101zei \u201C{searchPhrase}\u201D.";var Sre="vai skatiet visus rezult\u0101tus vietn\u0113 Microsoft Learn",wre="Rezult\u0101tu skaits: {count}, mekl\u0113jot fr\u0101zi \u201C{searchPhrase}\u201D tv\u0113rum\u0101 {scope} {pivotCategory}",Ere="Rezult\u0101tu skaits: {count}, mekl\u0113jot fr\u0101zi \u201C{searchPhrase}\u201D tv\u0113rum\u0101 {scope} {pivotCategory}",Cre="{count} l\u012Bdz\u012Bgi rezult\u0101ti fr\u0101zei \u201C{searchPhrase}\u201D tv\u0113rum\u0101 {scope} {pivotCategory}",Are="{count} l\u012Bdz\u012Bgs rezult\u0101ts fr\u0101zei \u201C{searchPhrase}\u201D tv\u0113rum\u0101 {scope} {pivotCategory}",ah="Diem\u017E\u0113l nevar\u0113j\u0101m atrast neko, kas atbilstu j\u016Bsu mekl\u0113\u0161anai.",Ire="Izm\u0113\u0123in\u0101j\u0101m j\u016Bsu mekl\u0113\u0161anas pareizrakst\u012Bbas p\u0101rbaudi un tv\u0113ruma papla\u0161in\u0101\u0161anu, bet joproj\u0101m neko nevar\u0113j\u0101m atrast. Izm\u0113\u0123iniet citu atsl\u0113gv\u0101rdu vai fr\u0101zi.",Pre="J\u016Bsu ier\u012Bc\u0113 \u0161obr\u012Bd tiek izmantota aizsardz\u012Bbas aiztur\u0113\u0161ana. S\u012Bk\u0101ka inform\u0101cija pa\u0161laik nav pieejama. Kad atjaunin\u0101jums b\u016Bs pieejams, tas tiks r\u0101d\u012Bts sada\u013Cas Iestat\u012Bjumi lap\u0101 Windows atjaunin\u0101\u0161ana.",Lre="J\u016Bsu ier\u012Bcei atjaunin\u0101jums v\u0113l nav pieejams",Rre="Diem\u017E\u0113l nevar\u0113j\u0101m atrast neko, kas atbilstu j\u016Bsu mekl\u0113\u0161anai tv\u0113rum\u0101 {scope}.",Mre='Joproj\u0101m varat .',$re="Nevar\u0113j\u0101m atrast rezult\u0101tus, kas atbilstu fr\u0101zei \u201C{searchPhrase}\u201D",Dre="Nevar\u0113j\u0101m atrast rezult\u0101tus, kas atbilstu fr\u0101zei \u201C{searchPhrase}\u201D tv\u0113rum\u0101 {scope}";var ol="Kaut kas nog\u0101ja greizi...",en="Rad\u0101s probl\u0113ma. L\u016Bdzu, m\u0113\u0123iniet v\u0113lreiz.";var qp="GitHub";var zre="K\u0101rtot p\u0113c:";var da="S\u0101kt",Nre="S\u0101kas datum\u0101 {startDate}",jre="S\u0101kuma datums";var Fre="S\u0101kuma datums";var Ure="S\u0101kt no jauna";var Ore="{step-index}. darb\u012Bba no {step-count}",qre="P\u0101rvald\u012Bt \u201C{title}\u201D m\u0101c\u012Bbu ce\u013Cve\u017Eos",Hre="Pievienot \u201C{title}\u201D m\u0101c\u012Bbu ce\u013Cve\u017Eos";var Bre="T\u0113ma",Vre="T\u0113mas",zn="Iesniegt";var Gre="Iesniegt citu atsauksmi";var Qre="Veiksm\u012Bgi iesniegts!",Yre="Pateicamies par iesniegto atsauksmi. M\u0113s to dr\u012Bz p\u0101rskat\u012Bsim. \u0145emiet v\u0113r\u0101, ka atsauksmju snieg\u0161ana ir vienpus\u0113ja sazi\u0146a un \u0161oreiz m\u0113s neatbild\u0113sim.",Kre="L\u016Bdzu, \u0146emiet v\u0113r\u0101, ka, lai gan m\u0113s nevaram atbild\u0113t uz atsauksm\u0113m, m\u016Bsu komanda izmantos j\u016Bsu koment\u0101rus, lai uzlabotu l\u012Bdzek\u013Cus.";var Wre="ieteikumiem",Jre="Ieteikumi tiks filtr\u0113ti rakst\u012B\u0161anas laik\u0101";var Zre="Atbalsts";var Xre="{index}. tabula";var eie="Atz\u012Bme";var ON="Atz\u012Bmes";var tie="Atliku\u0161\u0101s rakstz\u012Bmes";var nie="\u0100r\u0113jos att\u0113lus var saist\u012Bt tikai no noteikt\u0101m t\u012Bmek\u013Ca vietn\u0113m. \u0160ie att\u0113lu vietr\u0101\u017Ei URL nav at\u013Cauti: {urls}. Noklik\u0161\u0137iniet, lai skat\u012Btu pilnu at\u013Cauto dom\u0113nu sarakstu.",sie="Fails {fileName} ir neder\u012Bgs. Failam j\u0101b\u016Bt der\u012Bgam att\u0113lam ar tipu GIF, JPG, JPEG vai PNG.",oie="Fails {fileName} ir p\u0101r\u0101k liels. Faila lielums nedr\u012Bkst p\u0101rsniegt piecus megabaitus.";var rie="Cloud Shell";var iie="Kontam {account} jau ir izveidots profils",aie="Esat sasniedzis kontu ierobe\u017Eojumu",lie="Ar vienu profilu var saist\u012Bt ne vair\u0101k k\u0101 piecus m\u0101c\u012Bbu vai darba kontus. L\u016Bdzu, no\u0146emiet vienu kontu un m\u0113\u0123iniet v\u0113lreiz.";var cie="Jums jau ir piesaist\u012Bts konts taj\u0101 pa\u0161\u0101 organiz\u0101cij\u0101";var uie="Pievienojiet citu kontu un m\u0113\u0123iniet v\u0113lreiz.";var die='Var saist\u012Bt tikai t\u0101dus kontus, kuriem nav re\u0123istr\u0113ts profils. L\u016Bdzu, atlasiet citu kontu vai papildinform\u0101cijai skatiet m\u016Bsu probl\u0113mu nov\u0113r\u0161anas ce\u013Cvedi .';var pie="\u0160o kontu jau saist\u012Bj\u0101t",mie="{account} ir personisks konts. L\u016Bdzu, atlasiet m\u0101c\u012Bbu vai darba kontu.";var gie="Ar profilu j\u0101saista vismaz viens konts.";var fie="Tiek atbalst\u012Bts tikai viens konts katr\u0101 organiz\u0101cij\u0101.",hie="Dr\u012Bkst saist\u012Bt tikai vienu personisko kontu",bie="\u0160obr\u012Bd notiek profila sapludin\u0101\u0161ana",_ie="Varat atsvaidzin\u0101t lapu, lai p\u0101rbaud\u012Btu sapludin\u0101\u0161anas statusu.";var vie="Atlasiet kontu",qN="L\u016Bdzu, atlasiet citu kontu";var yie="\u0160im profilam jau ir pievienots sertifik\u0101cijas profils",xie="Lai turpin\u0101tu, sazinieties ar klientu atbalsta dienestu, lai no\u0146emtu pa\u0161reiz\u0113jo sertifik\u0101cijas profilu.";var kie="\u0160is profils ir blo\u0137\u0113ts",Tie="\u0160is profils pa\u0161laik ir blo\u0137\u0113ts un tiek sapludin\u0101ts ar citu profilu. Pierakstieties cit\u0101 profil\u0101.",HN="V\u0113lreiz m\u0113\u0123in\u0101t sapludin\u0101t",BN="Izbeigt sapludin\u0101\u0161anu";var Sie="Sapludin\u0101\u0161ana pabeigta";var wie="Varat atsvaidzin\u0101t lapu, lai p\u0101rbaud\u012Btu sapludin\u0101\u0161anas statusu.",Eie="Profila sapludin\u0101\u0161anas ieraksts nav atrasts",Cie='Nevar atrast j\u016Bsu profila sapludin\u0101\u0161anu. L\u016Bdzu, atsvaidziniet lapu. Ja probl\u0113ma joproj\u0101m past\u0101v, l\u016Bdzu, sazinieties ar klientu atbalsta dienestu.',Aie="Iepriek\u0161\u0113jais apvieno\u0161anas m\u0113\u0123in\u0101jums ne\u013Cauj veikt \u0161o darb\u012Bbu",Iie="Viens no profiliem, kuru m\u0113\u0123in\u0101t apvienot, pa\u0161laik tiek apvienots ar citu profilu. L\u016Bdzu, piesakieties abos profilos, lai p\u0101rbaud\u012Btu statusu.";var Pie="J\u016Bsu profili ir sekm\u012Bgi sapludin\u0101ti.",Lie="Sapludinot j\u016Bsu avota profilu (lietot\u0101jv\u0101rds: {sourceUser}) ar j\u016Bsu m\u0113r\u0137a profilu (lietot\u0101jv\u0101rds: {destinationUser}), rad\u0101s probl\u0113ma.",Rie="Da\u013Ca j\u016Bsu datu, iesp\u0113jams, ir sapludin\u0101ti \u0161aj\u0101 proces\u0101, t\u0101p\u0113c ir sagaid\u0101ms, ka da\u013Ca datu no j\u016Bsu avota profila b\u016Bs zudusi un b\u016Bs redzama j\u016Bsu m\u0113r\u0137a profil\u0101.",Mie="Varat izv\u0113l\u0113ties k\u0101du no \u0161\u012Bm darb\u012Bb\u0101m:",$ie="{terminateMergeText}: Tiks aptur\u0113ts un izbeigts sapludin\u0101\u0161anas process. Var\u0113sit izmantot abus profilus k\u0101 parasti un jebkur\u0101 laik\u0101 var\u0113sit aktiviz\u0113t jaunu sapludin\u0101\u0161anu. Dati, kas jau ir sapludin\u0101ti, paliks j\u016Bsu m\u0113r\u0137a profil\u0101.",Die="{retryMergeText}: Sapludin\u0101\u0161anas process tiks palaists v\u0113lreiz. Sapludin\u0101\u0161anas procesa laik\u0101 j\u016Bsu avota profils b\u016Bs blo\u0137\u0113ts.",zie="Notiek sapludin\u0101\u0161ana. Darb\u012Bbas pabeig\u0161ana var aiz\u0146emt vair\u0101kas min\u016Btes.",Nie="J\u016Bsu sapludin\u0101\u0161ana ir izbeigta.";var jie="Microsoft MVP";var Fie="Microsoft Learn studentu v\u0113stnieks";var Uie="Pierakst\u012Bties cit\u0101 kont\u0101";var Oie="Laipni l\u016Bdzam Q&A!",qie="Sa\u0146emiet personaliz\u0113tus jaunumus par jums svar\u012Bg\u0101m t\u0113m\u0101m",Hie="Veidojiet savu reput\u0101ciju, vienlaikus pal\u012Bdzot citiem",Bie="Nekav\u0113joties sazinieties ar cilv\u0113kiem, kuriem ir t\u0101das pa\u0161as intereses";var Vie="Bez re\u0123istr\u0101cijas pabeig\u0161anas j\u016Bs nevar\u0113siet ierakst\u012Bt vai uzdot jaut\u0101jumu Q&A.";var Gie="Past\u0101stiet mums",$A="Past\u0101stiet mums vair\u0101k.",Qie="Izsakiet savus viedokli.",Yie="Izsakiet savu viedokli! J\u016Bsu atsauksmes ir mums svar\u012Bgas.";var Kie="\u013Boti slikts";var DA="Pateicamies par atsauksmi.",Wie="Paldies par v\u0113rt\u012Bgaj\u0101m atsauksm\u0113m!";var Jie="\u0160is raksts ir noder\u012Bgs",Zie="\u0160is raksts nav noder\u012Bgs";var Xie="\u0160\u012B lapa";var eae="\u0160\u012B sada\u013Ca tiks neatgriezeniski dz\u0113sta.";var tae="Microsoft Build 2026";var nae="M\u0101ksl\u012Bg\u0101 intelekta prasmju festiv\u0101ls";var sae="2026.\xA0gada 2.\u20133.\xA0j\u016Bnijs",oae="Iepaz\u012Bstieties vair\u0101k ar re\u0101lu kodu un re\u0101l\u0101m sist\u0113m\u0101m Sanfrancisko un tie\u0161saist\u0113",rae="Uzzin\u0101t vair\u0101k",iae="2026.\xA0gada 8.\u201312.\xA0j\u016Bnijs",aae="Att\u012Bstiet savas m\u0101ksl\u012Bg\u0101 intelekta prasmes ar iesp\u0113j\u0101m nopeln\u012Bt balvas un sertifik\u0101cijas kuponus",lae="Sa\u0146emiet bezmaksas caurlaidi",cae="Padoms";var bc="Virsraksts";var uae="J\u016Bsu Azure kontam {email} ir vair\u0101ki nomnieki. Izv\u0113lieties vienu, ko izmantot \u0161ai pieredzei:",dae="J\u016Bs jau esat pierakst\u012Bjies pakalpojum\u0101 Learn, izmantojot t\u0101l\u0101k nor\u0101d\u012Bto kontu. Vai v\u0113laties turpin\u0101t pa\u0161reiz\u0113jo pieredzi ar \u0161o kontu?",pae="Apstiprin\u0101t kontu",mae="Turpin\u0101t ar kontu",gae="Izv\u0113lieties vienu no saviem Azure nomniekiem",fae="Bezmaksas Azure izm\u0113\u0123in\u0101jumversija",hae="Ak vai! \u0160aj\u0101 kont\u0101 nav pieejams neviens Azure abonements",bae="J\u016Bsu kontam {email} nav saist\u012Bta Azure abonementa. L\u016Bdzu, izmantojiet bezmaksas Azure izm\u0113\u0123in\u0101jumversiju vai pierakstieties cit\u0101 kont\u0101.",_ae="Ja j\u016Bsu kontam nav re\u0123istr\u0113ta profila pakalpojum\u0101 Learn, \u0161is process pabeigs \u0161o darb\u012Bbu j\u016Bsu viet\u0101.";var vae="Pierakstieties ar savu kontu.",zA="Izmantot citu kontu";var Ko="Apm\u0101c\u012Bba";var ju="Rad\u0101s k\u0101da probl\u0113ma. L\u016Bdzu, atk\u0101rtoti iel\u0101d\u0113jiet lapu un m\u0113\u0123iniet v\u0113lreiz.";var Hp="M\u0113\u0123in\u0101t v\u0113lreiz";var lh="Izm\u0113\u0123in\u0101t",yae="Izm\u0113\u0123iniet REST API, izmantojot t\u0101l\u0101k nor\u0101d\u012Bt\u0101s ievades.",xae="Apstr\u0101d\u0101jot j\u016Bsu piepras\u012Bjumu, rad\u0101s probl\u0113ma",kae="Apm\u0101c\u012Bba";var Tae="P\u0113d\u0113j\u0101s 7 dienas",Sae="P\u0113d\u0113j\u0101s 24 stundas",wae="P\u0113d\u0113j\u0101s 30 dienas",Eae="P\u0113d\u0113j\u0101s 365 dienas";var Cae="tips";var Aae="URL",NA="Vietr\u0101dis URL nokop\u0113ts";var VN="Verific\u0113jiet savu kontu",ch="Versija",Iae="Versijas";var GN="Video";var QN="Skat\u012Bt rezult\u0101tus ({totalResults})";var Pae="Ieteicams izmantot Visual Studio 2019.",Lae="Lejupiel\u0101d\u0113t t\u016Bl\u012Bt",Rae="Visual Studio dokument\u0101cija";var Mae="Br\u012Bdin\u0101jums";var $ae="Vai \u0161\u012B lapa pal\u012Bdz\u0113ja?";var Dae="T\u012Bmek\u013Ca lapa";var jA="Ned\u0113\u013Ca";var FA="Ned\u0113\u013Cas";var zae="Pirms {duration} ned\u0113\u013C\u0101m";var Nae='J\u016Bs izmantojat Microsoft Learn';var jae="K\u0101ds ir j\u016Bsu atsauksmju iemesls?";var Fae='ar AI pakalpojum\u0101 Microsoft Learn ';var Uae="Windows dokument\u0101cija";var uh="x.com",YN="{totalXP} pieredzes punkti";var Oae="Gads",KN="Gadi";var ki="J\u0101",_c="J\u0101, izdz\u0113st";var qae="Jums v\u0113l nav kolekciju.";var Hae="Jum ir j\u0101b\u016Bt no {min} l\u012Bdz {max} eti\u0137et\u0113m {tagLabel}.",Bae="`{tagLabel}` vairs netiek izmantots. Izmantojiet citu atz\u012Bmi, kas attiecas uz j\u016Bsu scen\u0101riju.";var Vae="J\u016Bsu konts";var Gae="MSDN TechNet darb\u012Bba ir p\u0101rtraukta, un \u0161is raksts vairs nepast\u0101v. Ar \u0161\u012Bm sait\u0113m ir saist\u012Bta inform\u0101cija:",Qae="Arhiv\u0113ts TechNet vikivietnes saturs",Yae="Arhiv\u0113tie MSDN un TechNet forumi";var Kae="Microsoft Learn dokument\u0101cija",Wae="Microsoft Learn s\u0101kumlapa",Jae="Microsoft Q&A";var Bp=window;var O=Bp,dh=Bp.navigator,T=Bp.document,Zae=Bp.localStorage,Qs=Bp.history,ee=Bp.location,b=O.msDocs,Te=new Promise(e=>{T.readyState==="loading"?T.addEventListener("DOMContentLoaded",()=>e()):e()});A();function It(){window.dispatchEvent(new CustomEvent("content-update"))}function tn(e,t,n="",s="button-info",o="banner",r){let i=r||T.getElementById("disclaimer-holder");if(!i||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 y(d` `,i),It(),i}var cx="__event_type_id__",zLe=0,He=class{constructor(){this.callbacks={}}publish(t){let n=t.constructor[cx];if(n===void 0||this.callbacks[n]===void 0)return;let s=this.callbacks[n].slice(0);for(let o of s)o(t)}subscribe(t,n){t.hasOwnProperty(cx)||(t[cx]=zLe++);let s=t[cx];this.callbacks[s]===void 0&&(this.callbacks[s]=[]);let o=this.callbacks[s];return o.indexOf(n)===-1&&o.push(n),()=>this.unsubscribe(t,n)}unsubscribe(t,n){let s=t[cx];if(s===void 0||this.callbacks[s]===void 0)return;let o=this.callbacks[s],r=o.indexOf(n);r!==-1&&o.splice(r,1)}dispose(){this.callbacks={}}},lt=new He;function Ou(e,t,n){let s=()=>{},o=r=>{n(r),s()};return s=e.subscribe(t,o),s}var vh=class{constructor(t){this.url=t}},bn=class{constructor(t,n,s){this.title=t;this.url=n;this.referrerUrl=s}};var al;function mj(){al={};let e=T.head.querySelectorAll("meta[name],meta[property]");for(let t=0;t{let s=n.name||n.getAttribute("property");return t[s]=n.content,t},{})}function P(e){return al===void 0&&mj(),al[e]===void 0?void 0:al[e][0]}function Ti(e){return al===void 0&&mj(),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 P("enable_loc_sxs")==="true"||P("bilingual_type")==="hover over"}static get translationType(){return P("ms.translationtype")?.toUpperCase()}static get machineTranslated(){return this.translationType?/^(?:MT|MTE|MTE75|MTE95)$/i.test(this.translationType):!1}},$r=class{static get brand(){return b.data.brand}static get kind(){return P("page_kind")}static get type(){return P("page_type")}static get template(){return b.data.pageTemplate}};function oe(e){let t,n=/\+/g,s=/([^&=]+)=?([^&]*)/g,o=i=>decodeURIComponent(i.replace(n," "));e===void 0&&(e=ee.search),e=e.substring(1);let r={};for(;t=s.exec(e);)r[o(t[1])]=o(t[2]);return r}function ie(e,t=!1){let n=[];for(let s in e)e.hasOwnProperty(s)&&e[s]!==""&&e[s]!==null&&e[s]!==void 0&&(t&&Array.isArray(e[s])?e[s].forEach(o=>{n.push(encodeURIComponent(s)+"="+encodeURIComponent(o))}):n.push(encodeURIComponent(s)+"="+encodeURIComponent(e[s].toString())));return n.join("&")}function Ht(e,t,n){let s=oe(),o=!1;for(let c in e)e.hasOwnProperty(c)&&s[c]!==String(e[c])&&(s[c]=e[c],o=!0);let r=ee.hash;if(typeof n=="string"&&(n=n.trim(),n.substr(0,1)!=="#"&&n!==""&&(n=`#${n}`),r!==n&&(r=n,o=!0)),!o)return;let i=ie(s);i.length>0&&(i="?"+i);let a=`${ee.protocol}//${ee.host}${ee.pathname}${i}${r}`,l=Qs.state||{};t==="pushState"?Qs.pushState(l,T.title,a):t==="replaceState"?Qs.replaceState(l,T.title,a):ee.href=a}function gj(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,s=t.host.replace(/:443$|:80$/,""),o=t.hostname.replace(/:443$|:80$/,"");return{hash:t.hash,host:s,hostname:o,href:t.href,origin:`${t.protocol}//${s}`,pathname:n,protocol:t.protocol,search:t.search}}function fj(e,t=2e3,n=";"){let s=encodeURIComponent(n).length,o=[],r,i;for(let a of e){let l=encodeURIComponent(a).length;if(l>t)throw new Error(`The encoded length of "${a}" (${l}) is greater than the max partition length (${t}).`);(!r||i+l>t)&&(r=[],o.push(r),i=0),r.push(a),i+=l+s}return o}function lo(e=new URL(ee.href)){let t=new URLSearchParams(e.search),n={};return t.forEach((s,o)=>n[o]=s),n}var Zn=(()=>{let e;return t=>{if(!t&&e!==void 0)return e;let n=oe().dataSource;return e=P("is_archived")==="true"||b.data.pageTemplate==="SearchPage"&&n==="previousVersions",e}})();function jLe(){return P("is_retired")==="true"}function FLe(){let e=location.pathname.split("/").filter(t=>t!=="");return e.length>=2&&e[1]==="previous-versions"}function ULe(){if(!Zn())return;let e=ct.machineTranslated,t=e?ZK:JK,n=FLe(),s=e?n?oW:WK:n?sW:YK,o=P("current_version_url"),r=jLe()?t:s;if(P("vs_archive")==="true"){let a=Pae,l=Lae;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(r,{url:o,text:rW});else if(b.data.pageTemplate==="SearchPage"){let a=Oz;tn(pW,{url:location.origin,text:a})}else{let a=Oz;tn(r,{url:location.origin,text:a})}}function ble(){Zn()&&ULe()}function OLe(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:OLe(location.hostname);var X={setItem(e,t){try{O.localStorage.setItem(e,t)}catch{}},getItem(e){try{return O.localStorage.getItem(e)}catch{return null}},removeItem(e){try{O.localStorage.removeItem(e)}catch{}},clear(){try{O.localStorage.clear()}catch{}}},yh={setItem(e,t){try{O.sessionStorage.setItem(e,t)}catch{}},getItem(e){try{return O.sessionStorage.getItem(e)}catch{return null}},removeItem(e){try{O.sessionStorage.removeItem(e)}catch{}}};var hj="docs.preview",bj=(new URLSearchParams(ee.search).get("preview")||"").split(",").map(e=>e.trim().toLowerCase()).reduce((e,t)=>(t!==""&&(e[t]=1),e),{}),ux,qLe=()=>{let e;return X.getItem(hj)?e=JSON.parse(X.getItem(hj)):e={},e},HLe=(e,t)=>{ux=qLe();let n=bj[e]===1,s=!isNaN(ux[e]),o=n||s,r=bj[`x-${e}`];return n?console.log(`Preview ${e} via query string`):s&&console.log(`Preview ${e} via local storage`),t&&(o||r)&&(o&&(ux[e]=Date.now()),r&&delete ux[e],X.setItem(hj,JSON.stringify(ux))),o},Qe=(e,t={require:!1,persist:!1})=>{let{require:n,persist:s}=t;return R.reviewFeatures&&Object.keys(bj).length===0&&!n?!0:(e=e.toLowerCase(),HLe(e,s))};function xh(e=ee.search,t=R.reviewFeatures){let n="preview-date",s=new URLSearchParams(e),o=new Date(s.get(n)).getTime();return t&&!isNaN(o)&&o!==0?o:Date.now()}var BLe=["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 _le(){let e=P("original_content_git_url");return BLe.some(n=>e?.startsWith(n))}function vle(){let e=P("page_type"),t=P("page_kind"),n=P("is_admin")==="true",s=P("is_editor")==="true";return e==="learn"||e==="profile"||n||s||t==="learn"&&(e==="browse"||e==="home")}var S=VLe();function VLe(){return{aiSummary:b.data.pageTemplate==="Conceptual"&&b.data.userLocale?.startsWith("en"),arkoseEncrypt:R.reviewFeatures,apiBrowser:!0,applicationInsights:vle(),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"&&P("page_type")==="search"&&Zn()===!1,enableNewSiteSearch:P("page_type")==="search"&&Zn()===!1,enableModernSearchAnswer:(R.supportLevel==="development"||R.supportLevel==="production"&&R.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&P("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&&(P("page_type")==="conceptual"||["FAQ","Architecture","Sample"].includes(b.data.pageTemplate))&&!["reference","managed-reference","ui-reference","language-reference","error-reference","reference-internal","hub-page","landing-page","archived"].some(e=>e===P("ms.topic")?.toLowerCase())&&P("ROBOTS")!=="NOINDEX,NOFOLLOW"&&!_le(),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&&(P("page_kind")==="practiceAssessment"||P("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:P("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&&(P("page_kind")==="certification"||P("page_kind")==="certificationrenewal"||P("page_kind")==="certificationRenewalAssessment"||P("page_kind")==="certificationRenewalAssessmentReport"),surveyPopover:R.siteName==="learn"||R.accessLevel==="local",systemDrivenAchievement:!0,temporaryClientSideEventBanners:R.siteName==="learn"||R.siteName==="developer",thirdPartyDataSharingConsentFlag:!0,tocSearch:b.data.brand!=="mooncake",translationFeedback:b.data.userLocale!=="en-us"&&P("ocv-translation-feedback")==="true"&&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})&&P("page_type")==="search"&&Zn()===!1,supportsSharing:P("page_type")!=="learn"&&!(b.data.contentLocale==="en-us"&&b.data.brand==="mooncake")}}function yle(e,t){let n=document.querySelector("#side-doc-outline li > a[aria-current='true']"),s=GLe(e),o=s===null?null:document.querySelector(`#side-doc-outline li > a[href="http://approjects.co.za/?big=#${s}"]`);n!==o&&(n&&QLe(n),o&&(YLe(o),KLe(o,t)))}function GLe(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 QLe(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 YLe(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 KLe(e,t){(e.offsetTopt.scrollTop+t.clientHeight)&&(t.scrollTop=e.offsetTop-t.clientHeight/2)}var qu=UD({storageKey:b.data.layoutStateStorageKey,excludesKey:b.data.layoutStateExcludesKey,excludes:b.data.layoutStateExcludes,useViewTransitionOnRestore:!1,storage:localStorage});lt.subscribe(vh,()=>{document.documentElement.removeAttribute("data-layout-restored"),qu.stop()});lt.subscribe(bn,()=>{qu=UD({storageKey:b.data.layoutStateStorageKey,excludesKey:b.data.layoutStateExcludesKey,excludes:b.data.layoutStateExcludes,useViewTransitionOnRestore:!1,storage:localStorage})});function xle(){e9(),lt.subscribe(bn,Za),window.addEventListener("content-update",Za);let e=["[data-dismissable]"];window.addEventListener("click",WLe(e))}function WLe(e){return t=>{t.target instanceof Element&&t.target.closest(e.join(","))&&Za()}}function kle(){return document.querySelector("[data-collapsible-toc-toggle]")}var JLe=async(e=!document.documentElement.classList.contains("layout-menu-collapsed"))=>{await Te;let t=kle(),n=document.getElementById("left-container"),s=document.getElementById("ms--toc-content");if(!t||!n||!s)return;let o=e?xE:HE;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),s.classList.toggle("padding-left-sm",e),s.classList.toggle("padding-left-xxs",!e),t.hidden=!1};async function Tle(){let e=kle();e&&(qu.subscribe("layout-menu-collapsed","always",t=>JLe(!t.isApplied),{useViewTransition:!1}),e.addEventListener("click",()=>{document.documentElement.classList.toggle("layout-menu-collapsed")}))}async function Sle(){await Tle();let e=T.getElementById("affixed-left-container"),t=T.getElementById("affixed-right-container");if((S.connectedExperiences||S.rightRailSticky)&&t&&ZLe(t),e===null)return;let n=T.getElementById("footer"),s=T.querySelector(".layout-body-header"),o=8,r=1;e.style.top=`${o}px`;function i(){if(e==null||e.hasAttribute("disable-affix"))return;let c=O.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=s.getBoundingClientRect().height,g=m===0?0:Math.max(0,s.getBoundingClientRect().bottom),f=T.body.scrollHeight;e.classList.add("position-sticky"),e.style.maxHeight=`${f-(2*o+m+u+r)}px`,e.style.height=`calc(100vh - ${o+g+p+r}px)`}}let a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(i)}O.addEventListener("scroll",l,{passive:!0}),O.addEventListener("resize",l,{passive:!0}),O.addEventListener("content-update",l),O.addEventListener("dismiss-content-update",l),i(),O.addEventListener("load",i,!1),O.addEventListener("pageshow",i,!1),O.addEventListener("DOMContentLoaded",i,!1)}function ZLe(e){let n=T.getElementById("footer");e.classList.add("position-sticky"),e.style.top="8px";function s(){let i=8,a=e.offsetHeight;if(a>O.innerHeight){let l=a-O.innerHeight;i=-1*(8/2+Math.min(O.scrollY,l))}if(e.style.top=`${i}px`,S.rightRailSticky){e.style.removeProperty("bottom"),e.style.top=`${i}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,O.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 x="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",v=S.referenceRightRailH3?`#main h2:not(${x}), #main h3`:`#main h2:not(${x})`,k=Array.from(T.querySelectorAll(v)).filter(I=>!!I.id&&I.offsetParent!==null);yle(k,e)}}}let o=0;function r(){cancelAnimationFrame(o),o=requestAnimationFrame(s)}O.addEventListener("scroll",r,{passive:!0}),O.addEventListener("resize",r,{passive:!0}),O.addEventListener("content-update",r),s(),O.addEventListener("load",s,!1),O.addEventListener("DOMContentLoaded",s,!1)}var XLe=/([a-z]\.)([a-z])/gi,eRe=/([a-z])([A-Z]+[a-z])/g,tRe=/(\w\/)(\S?)/gi,YA="",_j=`$1${YA}$2`,nRe=/\u200B/g;function Is(e,t=3){return!e||!e.length||t===0||(t&2&&(e=e.replace(XLe,_j)),t&1&&(e=e.replace(eRe,_j)),t&4&&(e=e.replace(tRe,_j))),e}function wle(e,t){let n=[];if(!e||t===0)return n;e=Is(e,t);let s=0,o=e.indexOf(YA,s);for(;o!==-1;)n.push(e.substring(s,o)),n.push(document.createElement("wbr")),s=o+YA.length,o=e.indexOf(YA,s);return n.push(e.substring(s)),n}function Ele(e){return e.replace(nRe,"")}var sRe={"&":"&","<":"<",">":">",'"':""","'":"'"},Cle=/[&<>"']/g,oRe=RegExp(Cle.source);function Be(e){return e&&oRe.test(e)?e.replace(Cle,t=>sRe[t]):e}function KA(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Jp(e){let t=e.cloneNode(!0);t.hidden=!0,document.body.appendChild(t);function n(s){s!==null&&(n(s.nextElementSibling),window.getComputedStyle(s,null).getPropertyValue("display")==="none"?s.parentElement.removeChild(s):n(s.firstElementChild))}return n(t.firstElementChild),document.body.removeChild(t),t.textContent}function Zo(e,t={year:"numeric",month:"short",day:"numeric"},n=b.data.userLocale){return new Date(e).toLocaleDateString(n,t).replace(/\u200E/g,"")}function WA(e){Array.from(document.querySelectorAll("span[data-localize-date]")).forEach(n=>{if(n.textContent!==""){let s=Zo(new Date(n.textContent),e);n.textContent=s}})}var rRe=/(^|\s)(C#|F#|C\+\+)($|\s|[.,!?;:])/g;function JA(e,t="text"){let n=`$1$2${t==="text"?"\u200E":"‎"}$3`;return e.replace(rRe,n)}function Ale(e=document.body,t=b.data.userLocale){e.querySelectorAll("time[data-article-date]").forEach(s=>{s.classList.remove("is-invisible");let o;try{if(o=new Date(s.getAttribute("datetime")),isNaN(o.getTime()))return}catch{return}s.setAttribute("datetime",o.toISOString());let r={year:"numeric",month:"2-digit",day:"2-digit"};s.getAttribute("data-article-date-source")==="ms.date"&&(r.timeZone="UTC");let a=Zo(o,r,t);s.textContent=a})}function vj(e){return decodeURIComponent(atob(iRe(e).replace(/_/g,"/").replace(/-/g,"+")).split("").map(t=>`%${("00"+t.charCodeAt(0).toString(16)).slice(-2)}`).join(""))}function iRe(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 yj="id_token",XA="docsAuthToken",aRe="account_linking_token",dx=class{constructor({detail:t}){this.message="invalid token",this.detail=t}},ll=class{constructor({detail:t}){this.message="invalid claim",this.detail=t}},ZA=class{constructor({detail:t}){this.message="malformed claim",this.detail=t}};function e0(e){X.setItem(yj,e)}function Hu(){return X.getItem(yj)}function t0(){X.removeItem(yj)}function n0(e){X.setItem(XA,e)}function Xn(){return X.getItem(XA)}function s0(){X.removeItem(XA)}function kh(){X.removeItem(aRe)}function Zp(e,t={nbfClockSkewInMilliseconds:2500}){try{if(!(e&&e.length&&e.indexOf(".")>-1))throw new dx({detail:"Invalid JWT - no separators found."});let s=e.split("."),o=JSON.parse(vj(s[1]));if(!o)throw new dx({detail:"Invalid JWT - payload is missing."});if(o.hasOwnProperty("nbf")){let r=o.nbf;if(isNaN(r))throw new ZA({detail:"Invalid NBF claim - claim is malformed."});let i=new Date(0);i.setUTCSeconds(o.nbf);let a=new Date(Date.now()+t.nbfClockSkewInMilliseconds);if(i>a)throw new ll({detail:"Invalid NBF claim - token not yet valid."})}if(o.hasOwnProperty("exp")){let r=o.exp;if(isNaN(r))throw new ZA({detail:"Invalid EXP claim - claim is malformed."});let i=new Date(0);i.setUTCSeconds(o.exp);let a=new Date(Date.now());if(i<=a)throw new ll({detail:"Invalid EXP claim - token has expired."})}return o}finally{}}var o0=e=>{if(!(e&&e.length&&e.indexOf(".")>-1))throw new dx({detail:"Invalid JWT - no separators found."});let n=e.split(".");return JSON.parse(vj(n[1]))};var Ple=`data:image/svg+xml;base64,${btoa('')}`,Lle=`data:image/svg+xml;base64,${btoa('')}`,Rle="a4d008df-4ece-4cb3-b7c9-d1be5ac4cacf",lRe=(e,t)=>{e||(e=Oo);let n=t.replace(/\D/g,""),s=parseInt(n.slice(0,2))*.01,o=parseInt(n.slice(2,4))*.01,r=s*320,i=o*100,a=Math.floor(s*31+10),l=`hsl(${r}, ${i}%, ${a}%)`,c=(e.match(/\b(\w)/g)||["A"]).join("").substring(0,2).toUpperCase();return{backgroundColor:l,initials:c}},gs=(e,t)=>{let{backgroundColor:n,initials:s}=lRe(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${s}%3C/text%3E%3C/svg%3E`}`},Tn=class{},Xo="72f988bf-86f1-41af-91ab-2d7cd011db47",i0="9188040d-6c67-4c5b-b112-36a304b66dad",Mle="1a092f68-5741-455a-8057-2acdb897a850",$le="604c1504-c6a3-4080-81aa-b33091104187",Dle="ada63eea-fd1c-4d79-b40a-41d1380df7a5",xj={[Xo]:"microsoft",[i0]:"standard"},kj=new Date("2019-11-21T00:00:00.000Z"),dn=(e,t)=>a0(e,t).toString(),r0=class extends He{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=gs(this.displayName,this.userId),this.avatarThumbnailUrl=gs(this.displayName,this.userId),this.profileUrl="#",this.createdOn=null,this.userType="standard",this.acceptedPrivacyNotice=kj,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 Tn))}mapIdTokenToProfile(n){this.email=n.email||n.preferred_username,this.upn=n.preferred_username,this.userName=n.name,this.displayName=n.name,this.authenticationMode=xj[n.tid]==="standard"?"MSA":"AAD",this.userType=xj[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 Tn)}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||gs(this.displayName,this.userId),this.avatarThumbnailUrl=n.avatarThumbnailUrl||n.avatarUrl||gs(this.displayName,this.userId),this.profileUrl=dn(n.userName),this.authenticationModes=n.authenticationModes,this.userType=cRe(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 Tn)}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||gs(this.displayName,this.userId),this.avatarThumbnailUrl=n.thumbnail||n.picture||gs(this.displayName,this.userId),this.authenticationMode=n.cred_type,this.locale=n.locale,this.acceptedPrivacyNotice=new Date(n.accepted_privacy_notice),this.userType=xj[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 Tn)}whenAuthenticated(){return w.isAuthenticated?Promise.resolve():new Promise(n=>this.subscribe(Tn,()=>{this.isAuthenticated&&n()}))}},w=new r0;function Tj(e,t){e&&Array.from(e.querySelectorAll("[data-profile-property]")).forEach(n=>{let s=n.getAttribute("data-profile-property"),o=t,r=t.profileUrl;n instanceof HTMLImageElement&&s==="avatarUrl"?(n.onerror=()=>n.src=gs(t.displayName,t.userId),n.src=o[s]):n instanceof HTMLImageElement&&s==="avatarThumbnailUrl"?(n.onerror=()=>n.src=t.avatarUrl||gs(t.displayName,t.userId),n.src=o[s]):n instanceof HTMLAnchorElement&&s==="profileUrl"?(n.href=dn("me","activity"),r==="#"&&(n.href=new URL("./register",vc()).toString())):n instanceof HTMLAnchorElement&&s==="bookmarksUrl"?(n.href=r+(R.reviewFeatures?"§ion=collections&detail=bookmarks":"collections/bookmarks"),r==="#"&&n.parentElement.remove()):n instanceof HTMLAnchorElement&&s==="collectionsUrl"?(n.href=r+(R.reviewFeatures?"§ion=collections":"collections"),r==="#"&&n.parentElement.remove()):n instanceof HTMLAnchorElement&&s==="settingsUrl"?n.href=dn("me","settings"):n instanceof HTMLInputElement?n.type!=="file"&&(n.value=o[s]):s==="createdOn"?n.textContent=Zo(o[s]):n.textContent=o[s]})}function a0(e,t){let n=vc(),s=new URLSearchParams(ee.search);P("page_type")==="profile"&&(n.hash=ee.hash),R.reviewFeatures&&(s.has("branch")&&n.searchParams.set("branch",s.get("branch")),s.has("themebranch")&&n.searchParams.set("themebranch",s.get("themebranch")),s.has("preview")&&n.searchParams.set("preview",s.get("preview")));let o=`./${e}/`;t&&(o+=`${t}/`);let r=new URL(o,n);return r.hash=n.hash,r.search=n.search,n=r,n}function vc(e=b.data.userLocale){let t=new URL(`${e&&e.length?`/${e}`:""}/`,ee.origin);return new URL("./users/",t)}function cRe(e){let t="standard";return e&&e.length&&(e.find(n=>n.tenantId===Xo)!==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 uRe={"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"}},dRe={"https://review.learn.microsoft.com":{stayCurrent:"https://review.learn.microsoft.com/api/certification",skillAssessment:"https://review.learn.microsoft.com/api/skillassessment"}};function pRe(e,t){let n=e,s=t.systemContent?e:n,o=t.supportLevel==="production"?"https://api.ilt.learningcredentials.microsoft.com":"https://api.dev.ilt.learningcredentials.microsoft.com",r=uRe[e]||{},i=dRe[e]||{};return{admin:`${n}/api/admin`,selfAssessmentsAdmin:mRe(),apiBrowser:`${n}/api/apibrowser`,assessments:`${s}/api/assessments`,assessmentsAuthoring:`${s}/api/assessments/authoring`,learnAssessment:`${s}/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:s,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`,...i},lists:`${n}/api/lists`,metadata:{platformId:`${n}/api/mms/document/platformId`,metadata:`${n}/api/mms/document/`,schema:`${n}/api/mms/contentTypes/`},monikers:`${s}/_api/familyTrees`,nextSteps:`${n}/api/nextsteps`,ocvFeedback:"https://petrol.office.microsoft.com/v1/feedback",pdf:`${e}/pdf`,privacy:{cookieConsentDeleteService:`${e}/api/privacy/cookieDelete`,delete:`${s}/api/privacy/delete`,partialDelete:`${s}/api/privacy/partialdelete`,export:`${s}/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:`${zle()}/chat/threads/{communicationChatThreadId}/messages/{messageId}?api-version=2023-11-07`,chatThread:`${zle()}/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`,reject:`${n}/api/questions/aiAnswers/{answerId}/delete`},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`,...r}}function mRe(){return"https://docs-rcs-pubdev.azurewebsites.net"}function zle(){return R.supportLevel==="production"?"https://docsquestions-acs-public.unitedstates.communication.azure.com":"https://docsquestions-acs-pubdev.unitedstates.communication.azure.com"}var $=pRe(location.origin,R);var gRe=30*1e3,M=async(e,t,n=gRe,s)=>{t=t||{};let o=new AbortController,r=()=>o.abort();s?.addEventListener("abort",r),t.signal=o.signal;try{let i=setTimeout(()=>o.abort(),n),a=await fetch(e,t);return clearTimeout(i),a}finally{s?.removeEventListener("abort",r)}};function J(e,t,n=!0,s=!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")&&s&&o.headers.set("Content-Type","applicationhttps://www.microsoft.com/json"),o}var px=class{};function Sj(e){let t={method:"GET"},n=J($.auth.docs,t,!1);return n.headers.set("Authorization",`Bearer ${e}`),M(n).then(s=>{if(s.ok)return s.text();throw s.status===404||s.status===204?new px:s.status===401?new ll({detail:"token not accepted"}):new Error(`get docs auth token failed (${s.status} ${s.statusText})`)})}function Xp(e,t=!0){try{if(e.ok&&e.headers.has("Authorization")){let n=e.headers.get("Authorization");if(n){let s=Zp(n);n0(n),t&&w.readUserFromToken(s)}}return e}catch{return e}}function mt(e=["api-branch","branch"],t=""){if(R.accessLevel==="local")return"main";if(R.reviewFeatures===!0){let n=oe(ee.search);return e.reduce((s,o)=>s||n[o],"")||t}return null}var Oe=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 l0(e){if(!Array.isArray(e))throw new Oe({statusText:"Value must be an array"},"InvalidTypeError");return e}function Th(e,t){let n=t.filter(s=>e[s]===null||e[s]===void 0);if(n.length>0)throw new Oe({statusText:`Missing required fields in object: ${n.join(", ")}`},"MissingRequiredApiAttribute");return e}function Nle(e,t){throw new Oe({statusText:`Type Conversion Error: converting type ${typeof e} to ${t} failed for value ${e.toString()}`},"TypeConversionError")}function wj(e){let t;try{t=parseInt(e)}catch{Nle(e,"number")}return isNaN(t)&&Nle(e,"number"),t}function yc(e,t,n=!0,s="applicationhttps://www.microsoft.com/json",o="",r=!0){t=t||{},t.mode="cors",t.credentials="same-origin";let i=new Request(e,t);return n&&i.headers.set("Authorization",`Bearer ${o||Xn()}`),(i.method==="PUT"||i.method==="POST")&&r&&s!=="multipart/form-data"&&i.headers.set("Content-Type",s),i}async function xc(e){let t=`${$.profile.profiles}/${e}`,s=await M(yc(t,{method:"GET"},!1));return me(s),s.ok?await s.json():(s.status===204,null)}async function Ej(e){if(!e)return null;if(e===Rle)return{displayName:Oo,userId:e,avatarUrl:gs(Oo,e)};let t=`${$.profile.profiles}/id:${e}`,s=await M(yc(t,{method:"GET"},!1));return me(s),s.ok?await s.json():(s.status===204,null)}async function tm(e){try{let t=await fetch(yc($.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)},r=await M(yc(n,o));if(me(r),r.ok){Xp(r,!1);let i=await r.json();return w.readUserProfile(i),{hasError:!1,profile:i}}else if(r.status===400){let i=await r.json();return{hasError:!0,message:i.message,errors:i.errorCode.split(",")}}return{hasError:!0,message:r.statusText,errors:["somethingWentWrong"]}}async function jle(){let e=$.privacy.delete,n=await M(yc(e,{credentials:"include",method:"POST"},!0,"","",!1));return me(n),n.ok}async function Fle(){let e=$.profile.acknowledgePrivacyNotice,n=await M(yc(e,{method:"POST"}));if(me(n),Xp(n,!1),!n.ok)throw new Error(`Unexpected response status ${n.status} for ${e}`)}async function Cj(){let e=$.profile.merge,n=await M(yc(e,{method:"GET"}));if(me(n),n.ok){let{status:s}=await n.json();return s}return null}async function Ule(){let e=$.profile.mergeDetails,n=await M(yc(e,{method:"GET"}));return me(n),n.ok?await n.json():null}async function Ole(){let e=$.profile.acknowledgeMergeStatus,n=await M(yc(e,{method:"POST"}));if(me(n),Xp(n,!1),!n.ok)throw new Error(`Unexpected response status ${n.status} for ${e}`)}var fRe=["vscode://docsmsft.learn-tutor","vscode-insiders://docsmsft.learn-tutor"];function qle(e){return e?fRe.some(t=>e.toLowerCase().startsWith(t)):!1}var hRe="https://sanitize-url.invalid/";function c0(e){if(!e)return"";let t=String(e).trim();if(!t)return"";let n;try{n=new URL(t,hRe)}catch{return""}return n.protocol==="http:"||n.protocol==="https:"?t:""}function er(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 s=`${ee.origin}${ee.pathname}`;return t===s?new URL(`${n.pathname}${n.search}${n.hash}`,`${ee.origin}`):er(t)}var _n={};$n(_n,{addApplicationTelemetry:()=>Ax,addAuthorizationCode:()=>AF,addBrokerParameters:()=>wc,addCcsOid:()=>Tc,addCcsUpn:()=>Gu,addClaims:()=>um,addCliData:()=>LF,addClientAssertion:()=>Lx,addClientAssertionType:()=>Rx,addClientCapabilitiesToClaims:()=>Qle,addClientId:()=>lm,addClientInfo:()=>pm,addClientSecret:()=>Px,addCodeChallengeParams:()=>kMe,addCodeVerifier:()=>PF,addCorrelationId:()=>dm,addDeviceCode:()=>TMe,addDomainHint:()=>wF,addEARParameters:()=>AMe,addExtraParameters:()=>Sc,addGrantType:()=>Mx,addIdTokenHint:()=>SF,addInstanceAware:()=>$x,addLibraryInfo:()=>Cx,addLoginHint:()=>Dh,addLogoutHint:()=>RF,addNativeBroker:()=>xMe,addNonce:()=>CF,addOboAssertion:()=>SMe,addPassword:()=>CMe,addPopToken:()=>Dx,addPostLogoutRedirectUri:()=>TF,addPrompt:()=>EF,addRedirectUri:()=>cm,addRefreshToken:()=>IF,addRequestTokenUse:()=>wMe,addResource:()=>Fx,addResponseMode:()=>kF,addResponseType:()=>yMe,addScopes:()=>am,addServerTelemetry:()=>Nx,addSid:()=>M0,addSshJwk:()=>zx,addState:()=>Ix,addThrottling:()=>jx,addUsername:()=>EMe,instrumentBrokerParams:()=>im});var $e={};$n($e,{AADAuthority:()=>ma,AAD_INSTANCE_DISCOVERY_ENDPT:()=>Rj,AAD_TENANT_DOMAIN_SUFFIX:()=>Mj,ADFS:()=>Pj,APP_METADATA:()=>Ih,AUTHORITY_METADATA_CACHE_KEY:()=>Ph,AUTHORITY_METADATA_REFRESH_TIME_SECONDS:()=>Kj,AUTHORIZATION_PENDING:()=>yRe,AZURE_REGION_AUTO_DISCOVER_FLAG:()=>Nj,AuthenticationScheme:()=>Sn,AuthorityMetadataSource:()=>Dr,CACHE_ACCOUNT_TYPE_ADFS:()=>Qj,CACHE_ACCOUNT_TYPE_GENERIC:()=>h0,CACHE_ACCOUNT_TYPE_MSAV1:()=>URe,CACHE_ACCOUNT_TYPE_MSSTS:()=>Gj,CACHE_KEY_SEPARATOR:()=>sm,CIAM_AUTH_URL:()=>u0,CLIENT_INFO:()=>Yj,CLIENT_INFO_SEPARATOR:()=>Ah,CLIENT_MISMATCH_ERROR:()=>r2,CODE_GRANT_TYPE:()=>_Re,CONSUMER_UTID:()=>bRe,CacheOutcome:()=>ga,CacheType:()=>ORe,ClaimsRequestKeys:()=>Ch,CodeChallengeMethodValues:()=>jRe,CredentialType:()=>fs,DEFAULT_AUTHORITY:()=>Hle,DEFAULT_AUTHORITY_HOST:()=>Ij,DEFAULT_COMMON_TENANT:()=>mx,DEFAULT_MAX_THROTTLE_TIME_SECONDS:()=>n2,DEFAULT_THROTTLE_TIME_SECONDS:()=>t2,DEFAULT_TOKEN_RENEWAL_OFFSET_SEC:()=>a2,DSTS:()=>Lj,EMAIL_SCOPE:()=>Gle,EncodingTypes:()=>BRe,FORWARD_SLASH:()=>wh,GrantType:()=>hx,HTTP_BAD_REQUEST:()=>g0,HTTP_CLIENT_ERROR:()=>ERe,HTTP_CLIENT_ERROR_RANGE_END:()=>qj,HTTP_CLIENT_ERROR_RANGE_START:()=>Oj,HTTP_GATEWAY_TIMEOUT:()=>$Re,HTTP_GONE:()=>PRe,HTTP_MULTI_SIDED_ERROR:()=>DRe,HTTP_NOT_FOUND:()=>ARe,HTTP_REDIRECT:()=>wRe,HTTP_REQUEST_TIMEOUT:()=>IRe,HTTP_SERVER_ERROR:()=>RRe,HTTP_SERVER_ERROR_RANGE_END:()=>Bj,HTTP_SERVER_ERROR_RANGE_START:()=>Hj,HTTP_SERVICE_UNAVAILABLE:()=>MRe,HTTP_SUCCESS:()=>m0,HTTP_SUCCESS_RANGE_END:()=>SRe,HTTP_SUCCESS_RANGE_START:()=>TRe,HTTP_TOO_MANY_REQUESTS:()=>LRe,HTTP_UNAUTHORIZED:()=>CRe,HeaderNames:()=>Hn,HttpMethod:()=>zRe,IMDS_ENDPOINT:()=>p0,IMDS_TIMEOUT:()=>zj,IMDS_VERSION:()=>Dj,INVALID_GRANT_ERROR:()=>o2,INVALID_INSTANCE:()=>Uj,JsonWebTokenTypes:()=>i2,KNOWN_PUBLIC_CLOUDS:()=>Fj,NOT_APPLICABLE:()=>xRe,NOT_AVAILABLE:()=>nm,OAuthResponseType:()=>FRe,OFFLINE_ACCESS_SCOPE:()=>d0,OIDC_DEFAULT_SCOPES:()=>Eh,OIDC_SCOPES:()=>f0,ONE_DAY_IN_MS:()=>HRe,OPENID_SCOPE:()=>Ble,PROFILE_SCOPE:()=>Vle,PasswordGrantConstants:()=>v0,PersistentCacheKeys:()=>NRe,PromptValue:()=>fx,REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:()=>jj,RESOURCE_DELIM:()=>gx,RegionDiscoveryOutcomes:()=>vx,RegionDiscoverySources:()=>Vu,ResponseMode:()=>Vj,S256_CODE_CHALLENGE_METHOD:()=>vRe,SERVER_TELEM_CACHE_KEY:()=>bx,SERVER_TELEM_CATEGORY_SEPARATOR:()=>_0,SERVER_TELEM_MAX_CACHED_ERRORS:()=>Jj,SERVER_TELEM_MAX_CUR_HEADER_BYTES:()=>qRe,SERVER_TELEM_MAX_LAST_HEADER_BYTES:()=>Wj,SERVER_TELEM_OVERFLOW_FALSE:()=>Xj,SERVER_TELEM_OVERFLOW_TRUE:()=>Zj,SERVER_TELEM_SCHEMA_VERSION:()=>b0,SERVER_TELEM_UNKNOWN_ERROR:()=>e2,SERVER_TELEM_VALUE_SEPARATOR:()=>Bu,SHR_NONCE_VALIDITY:()=>kRe,SKU:()=>Aj,THE_FAMILY_ID:()=>om,THROTTLING_PREFIX:()=>_x,URL_FORM_CONTENT_TYPE:()=>$j,X_MS_LIB_CAPABILITY_VALUE:()=>s2});var Aj="msal.js.common",Hle="https://login.microsoftonline.com/common/",Ij="login.microsoftonline.com",mx="common",Pj="adfs",Lj="dstsv2",Rj=`${Hle}discovery/instance?api-version=1.1&authorization_endpoint=`,u0=".ciamlogin.com",Mj=".onmicrosoft.com",gx="|",bRe="9188040d-6c67-4c5b-b112-36a304b66dad",Ble="openid",Vle="profile",d0="offline_access",Gle="email",_Re="authorization_code",vRe="S256",$j="application/x-www-form-urlencoded;charset=utf-8",yRe="authorization_pending",xRe="N/A",nm="Not Available",wh="/",p0="http://169.254.169.254/metadata/instance/compute/location",Dj="2020-06-01",zj=2e3,Nj="TryAutoDetect",jj="login.microsoft.com",Fj=["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],kRe=240,Uj="invalid_instance",m0=200,TRe=200,SRe=299,wRe=302,ERe=400,Oj=400,g0=400,CRe=401,ARe=404,IRe=408,PRe=410,LRe=429,qj=499,RRe=500,Hj=500,MRe=503,$Re=504,Bj=599,DRe=600,zRe={GET:"GET",POST:"POST"},Eh=[Ble,Vle,d0],f0=[...Eh,Gle],Hn={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"},NRe={ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},ma={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},Ch={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},fx={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},jRe={PLAIN:"plain",S256:"S256"},FRe={CODE:"code",IDTOKEN_TOKEN:"id_token token",IDTOKEN_TOKEN_REFRESHTOKEN:"id_token token refresh_token"},Vj={QUERY:"query",FRAGMENT:"fragment",FORM_POST:"form_post"},hx={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"},Gj="MSSTS",Qj="ADFS",URe="MSA",h0="Generic",sm="-",Ah=".",fs={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},ORe={ADFS:1001,MSA:1002,MSSTS:1003,GENERIC:1004,ACCESS_TOKEN:2001,REFRESH_TOKEN:2002,ID_TOKEN:2003,APP_METADATA:3001,UNDEFINED:9999},Ih="appmetadata",Yj="client_info",om="1",Ph="authority-metadata",Kj=3600*24,Dr={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},b0=5,qRe=80,Wj=330,Jj=50,bx="server-telemetry",_0="|",Bu=",",Zj="1",Xj="0",e2="unknown_error",Sn={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},t2=60,n2=3600,_x="throttling",s2="retry-after, h429",o2="invalid_grant",r2="client_mismatch",v0={username:"username",password:"password"},Vu={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},vx={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"},i2={Jwt:"JWT",Jwk:"JWK",Pop:"pop"},HRe=864e5,a2=300,BRe={BASE64:"base64",HEX:"hex",UTF8:"utf-8"};var kc={};$n(kc,{ACCESS_TOKEN:()=>QRe,BROKER_CLIENT_ID:()=>yx,BROKER_REDIRECT_URI:()=>S0,CCS_HEADER:()=>tMe,CLAIMS:()=>d2,CLIENT_ASSERTION:()=>D2,CLIENT_ASSERTION_TYPE:()=>z2,CLIENT_ID:()=>cl,CLIENT_INFO:()=>ZRe,CLIENT_REQUEST_ID:()=>x2,CLIENT_SECRET:()=>$2,CLI_DATA:()=>Q2,CODE:()=>b2,CODE_CHALLENGE:()=>_2,CODE_CHALLENGE_METHOD:()=>v2,CODE_VERIFIER:()=>y2,DEVICE_CODE:()=>M2,DOMAIN_HINT:()=>H2,EAR_JWE_CRYPTO:()=>V2,EAR_JWK:()=>B2,ERROR:()=>VRe,ERROR_DESCRIPTION:()=>GRe,EXPIRES_IN:()=>KRe,FOCI:()=>eMe,GRANT_TYPE:()=>u2,ID_TOKEN:()=>YRe,ID_TOKEN_HINT:()=>R2,INSTANCE_AWARE:()=>Lh,LOGIN_HINT:()=>q2,LOGOUT_HINT:()=>U2,NATIVE_BROKER:()=>F2,NONCE:()=>f2,OBO_ASSERTION:()=>N2,ON_BEHALF_OF:()=>XRe,POST_LOGOUT_URI:()=>L2,PROMPT:()=>h2,REDIRECT_URI:()=>y0,REFRESH_TOKEN:()=>m2,REFRESH_TOKEN_EXPIRES_IN:()=>WRe,REQUESTED_TOKEN_USE:()=>j2,REQ_CNF:()=>k0,RESOURCE:()=>G2,RESPONSE_MODE:()=>c2,RESPONSE_TYPE:()=>l2,RETURN_SPA_CODE:()=>T0,SCOPE:()=>p2,SESSION_STATE:()=>JRe,SID:()=>O2,STATE:()=>g2,TOKEN_TYPE:()=>x0,X_APP_NAME:()=>I2,X_APP_VER:()=>P2,X_CLIENT_CPU:()=>w2,X_CLIENT_CURR_TELEM:()=>E2,X_CLIENT_EXTRA_SKU:()=>nMe,X_CLIENT_LAST_TELEM:()=>C2,X_CLIENT_OS:()=>S2,X_CLIENT_SKU:()=>k2,X_CLIENT_VER:()=>T2,X_MS_LIB_CAPABILITY:()=>A2});var cl="client_id",y0="redirect_uri",l2="response_type",c2="response_mode",u2="grant_type",d2="claims",p2="scope",VRe="error",GRe="error_description",QRe="access_token",YRe="id_token",m2="refresh_token",KRe="expires_in",WRe="refresh_token_expires_in",g2="state",f2="nonce",h2="prompt",JRe="session_state",ZRe="client_info",b2="code",_2="code_challenge",v2="code_challenge_method",y2="code_verifier",x2="client-request-id",k2="x-client-SKU",T2="x-client-VER",S2="x-client-OS",w2="x-client-CPU",E2="x-client-current-telemetry",C2="x-client-last-telemetry",A2="x-ms-lib-capability",I2="x-app-name",P2="x-app-ver",L2="post_logout_redirect_uri",R2="id_token_hint",M2="device_code",$2="client_secret",D2="client_assertion",z2="client_assertion_type",x0="token_type",k0="req_cnf",N2="assertion",j2="requested_token_use",XRe="on_behalf_of",eMe="foci",tMe="X-AnchorMailbox",T0="return_spa_code",F2="nativebroker",U2="logout_hint",O2="sid",q2="login_hint",H2="domain_hint",nMe="x-client-xtra-sku",yx="brk_client_id",S0="brk_redirect_uri",Lh="instance_aware",B2="ear_jwk",V2="ear_jwe_crypto",G2="resource",Q2="clidata";function w0(e){return`See https://aka.ms/msal.js.errors#${e} for details`}var ot=class e extends Error{constructor(t,n,s){let o=n||(t?w0(t):""),r=o?`${t}: ${o}`:t;super(r),Object.setPrototypeOf(this,e.prototype),this.errorCode=t||"",this.errorMessage=o||"",this.subError=s||"",this.name="AuthError"}setCorrelationId(t){this.correlationId=t}};function Rh(e,t){return new ot(e,t||w0(e))}var xx=class e extends ot{constructor(t){super(t),this.name="ClientConfigurationError",Object.setPrototypeOf(this,e.prototype)}};function Pt(e){return new xx(e)}var Nn=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={},s=t.split("&"),o=r=>decodeURIComponent(r.replace(/\+/g," "));return s.forEach(r=>{if(r.trim()){let[i,a]=r.split(/=(.+)/g,2);i&&a&&(n[o(i)]=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 kx=class e extends ot{constructor(t,n){super(t,n),this.name="ClientAuthError",Object.setPrototypeOf(this,e.prototype)}};function te(e,t){return new kx(e,t)}var tr={};$n(tr,{authorityMismatch:()=>uMe,authorityUriInsecure:()=>K2,cannotAllowPlatformBroker:()=>cMe,cannotSetOIDCOptions:()=>lMe,claimsRequestParsingError:()=>sMe,emptyInputScopesError:()=>J2,invalidAuthenticationHeader:()=>aMe,invalidAuthorityMetadata:()=>tF,invalidClaims:()=>E0,invalidCloudDiscoveryMetadata:()=>C0,invalidCodeChallengeMethod:()=>oMe,invalidRequestMethodForEAR:()=>dMe,logoutRequestEmpty:()=>X2,missingNonceAuthenticationHeader:()=>iMe,missingSshJwk:()=>Tx,missingSshKid:()=>rMe,pkceParamsMissing:()=>eF,redirectUriEmpty:()=>Y2,tokenRequestEmpty:()=>Z2,untrustedAuthority:()=>nF,urlEmptyError:()=>W2,urlParseError:()=>Mh});var Y2="redirect_uri_empty",sMe="claims_request_parsing_error",K2="authority_uri_insecure",Mh="url_parse_error",W2="empty_url_error",J2="empty_input_scopes_error",E0="invalid_claims",Z2="token_request_empty",X2="logout_request_empty",oMe="invalid_code_challenge_method",eF="pkce_params_missing",C0="invalid_cloud_discovery_metadata",tF="invalid_authority_metadata",nF="untrusted_authority",Tx="missing_ssh_jwk",rMe="missing_ssh_kid",iMe="missing_nonce_authentication_header",aMe="invalid_authentication_header",lMe="cannot_set_OIDCOptions",cMe="cannot_allow_platform_broker",uMe="authority_mismatch",dMe="invalid_request_method_for_EAR";var hs={};$n(hs,{authTimeNotFound:()=>Sx,authorizationCodeMissingFromServerResponse:()=>bF,bindingKeyNotRemoved:()=>fMe,cannotAppendScopeSet:()=>gF,cannotRemoveEmptyScope:()=>mF,clientInfoDecodingError:()=>A0,clientInfoEmptyError:()=>sF,emptyInputScopeSet:()=>L0,endSessionEndpointNotSupported:()=>_F,endpointResolutionError:()=>fa,hashNotDeserialized:()=>aF,invalidCacheEnvironment:()=>Ex,invalidCacheRecord:()=>fF,invalidState:()=>rm,keyIdMissing:()=>vF,maxAgeTranspired:()=>uF,methodNotImplemented:()=>vt,misplacedResourceParam:()=>xF,multipleMatchingAppMetadata:()=>dF,multipleMatchingTokens:()=>pMe,nestedAppAuthBridgeDisabled:()=>_Me,networkError:()=>rF,noAccountFound:()=>mMe,noAccountInSilentRequest:()=>wx,noCryptoObject:()=>R0,noNetworkConnectivity:()=>hMe,nonceMismatch:()=>cF,nullOrEmptyToken:()=>oF,openIdConfigError:()=>iF,platformBrokerError:()=>vMe,requestCannotBeMade:()=>pF,resourceParameterRequired:()=>yF,stateMismatch:()=>lF,stateNotFound:()=>P0,tokenClaimsCnfRequiredForSignedJwt:()=>hF,tokenParsingError:()=>I0,tokenRefreshRequired:()=>$h,unexpectedCredentialType:()=>gMe,userCanceled:()=>bMe});var A0="client_info_decoding_error",sF="client_info_empty_error",I0="token_parsing_error",oF="null_or_empty_token",fa="endpoints_resolution_error",rF="network_error",iF="openid_config_error",aF="hash_not_deserialized",rm="invalid_state",lF="state_mismatch",P0="state_not_found",cF="nonce_mismatch",Sx="auth_time_not_found",uF="max_age_transpired",pMe="multiple_matching_tokens",dF="multiple_matching_appMetadata",pF="request_cannot_be_made",mF="cannot_remove_empty_scope",gF="cannot_append_scopeset",L0="empty_input_scopeset",wx="no_account_in_silent_request",fF="invalid_cache_record",Ex="invalid_cache_environment",mMe="no_account_found",R0="no_crypto_object",gMe="unexpected_credential_type",$h="token_refresh_required",hF="token_claims_cnf_required_for_signedjwt",bF="authorization_code_missing_from_server_response",fMe="binding_key_not_removed",_F="end_session_endpoint_not_supported",vF="key_id_missing",hMe="no_network_connectivity",bMe="user_canceled",vt="method_not_implemented",_Me="nested_app_auth_bridge_disabled",vMe="platform_broker_error",yF="resource_parameter_required",xF="misplaced_resource_parameter";var bs=class e{constructor(t){let n=t?Nn.trimArrayEntries([...t]):[],s=n?Nn.removeEmptyStringsFromArray(n):[];if(!s||!s.length)throw Pt(J2);this.scopes=new Set,s.forEach(o=>this.scopes.add(o))}static fromString(t){let s=(t||"").split(" ");return new e(s)}static createSearchScopes(t){let n=t&&t.length>0?t:[...Eh],s=new e(n);return s.containsOnlyOIDCScopes()?s.removeScope(d0):s.removeOIDCScopes(),s}containsScope(t){let n=this.printScopesLowerCase().split(" "),s=new e(n);return t?s.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 f0.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(gF)}}removeScope(t){if(!t)throw te(mF);this.scopes.delete(t.trim())}removeOIDCScopes(){f0.forEach(t=>{this.scopes.delete(t)})}unionScopeSets(t){if(!t)throw te(L0);let n=new Set;return t.scopes.forEach(s=>n.add(s.toLowerCase())),this.scopes.forEach(s=>n.add(s.toLowerCase())),n}intersectingScopeSets(t){if(!t)throw te(L0);t.containsOnlyOIDCScopes()||t.removeOIDCScopes();let n=this.unionScopeSets(t),s=t.getScopeCount(),o=this.getScopeCount();return n.sizet.push(n)),t}printScopes(){return this.scopes?this.asArray().join(" "):""}printScopesLowerCase(){return this.printScopes().toLowerCase()}};function im(e,t,n){if(!t)return;let s=e.get(cl);s&&e.has(yx)&&n?.addFields({embeddedClientId:s,embeddedRedirectUri:e.get(y0)},t)}function yMe(e,t){e.set(l2,t)}function kF(e,t){e.set(c2,t||Vj.QUERY)}function xMe(e){e.set(F2,"1")}function am(e,t,n=!0,s=Eh){n&&!s.includes("openid")&&!t.includes("openid")&&s.push("openid");let o=n?[...t||[],...s]:t||[],r=new bs(o);e.set(p2,r.printScopes())}function lm(e,t){e.set(cl,t)}function cm(e,t){e.set(y0,t)}function TF(e,t){e.set(L2,t)}function SF(e,t){e.set(R2,t)}function wF(e,t){e.set(H2,t)}function Dh(e,t){e.set(q2,t)}function Gu(e,t){e.set(Hn.CCS_HEADER,`UPN:${t}`)}function Tc(e,t){e.set(Hn.CCS_HEADER,`Oid:${t.uid}@${t.utid}`)}function M0(e,t){e.set(O2,t)}function um(e,t,n){let s=Qle(t,n);try{JSON.parse(s)}catch{throw Pt(E0)}e.set(d2,s)}function dm(e,t){e.set(x2,t)}function Cx(e,t){e.set(k2,t.sku),e.set(T2,t.version),t.os&&e.set(S2,t.os),t.cpu&&e.set(w2,t.cpu)}function Ax(e,t){t?.appName&&e.set(I2,t.appName),t?.appVersion&&e.set(P2,t.appVersion)}function EF(e,t){e.set(h2,t)}function Ix(e,t){t&&e.set(g2,t)}function CF(e,t){e.set(f2,t)}function kMe(e,t,n){if(t&&n)e.set(_2,t),e.set(v2,n);else throw Pt(eF)}function AF(e,t){e.set(b2,t)}function TMe(e,t){e.set(M2,t)}function IF(e,t){e.set(m2,t)}function PF(e,t){e.set(y2,t)}function Px(e,t){e.set($2,t)}function Lx(e,t){t&&e.set(D2,t)}function Rx(e,t){t&&e.set(z2,t)}function SMe(e,t){e.set(N2,t)}function wMe(e,t){e.set(j2,t)}function Mx(e,t){e.set(u2,t)}function pm(e){e.set(Yj,"1")}function LF(e){e.set(Q2,"1")}function $x(e){e.has(Lh)||e.set(Lh,"true")}function Sc(e,t){Object.entries(t).forEach(([n,s])=>{!e.has(n)&&s&&e.set(n,s)})}function Qle(e,t){let n;if(!e)n={};else try{n=JSON.parse(e)}catch{throw Pt(E0)}return t&&t.length>0&&(n.hasOwnProperty(Ch.ACCESS_TOKEN)||(n[Ch.ACCESS_TOKEN]={}),n[Ch.ACCESS_TOKEN][Ch.XMS_CC]={values:t}),JSON.stringify(n)}function EMe(e,t){e.set(v0.username,t)}function CMe(e,t){e.set(v0.password,t)}function Dx(e,t){t&&(e.set(x0,Sn.POP),e.set(k0,t))}function zx(e,t){t&&(e.set(x0,Sn.SSH),e.set(k0,t))}function Nx(e,t){e.set(E2,t.generateCurrentRequestHeaderValue()),e.set(C2,t.generateLastRequestHeaderValue())}function jx(e){e.set(A2,s2)}function RF(e,t){e.set(U2,t)}function wc(e,t,n){e.has(yx)||e.set(yx,t),e.has(S0)||e.set(S0,n)}function AMe(e,t){e.set(B2,encodeURIComponent(t)),e.set(V2,"eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0")}function Fx(e,t){t&&e.set(G2,t)}var Si={};$n(Si,{getDeserializedResponse:()=>IMe,mapToQueryString:()=>ul,normalizeUrlForComparison:()=>PMe,stripLeadingHashOrQuery:()=>Kle});function Yle(e){if(!e)return e;let t=e.toLowerCase();return Nn.endsWith(t,"?")?t=t.slice(0,-1):Nn.endsWith(t,"?/")&&(t=t.slice(0,-2)),Nn.endsWith(t,"/")||(t+="/"),t}function Kle(e){return e.startsWith("#/")?e.substring(2):e.startsWith("#")||e.startsWith("?")?e.substring(1):e}function IMe(e){if(!e||e.indexOf("=")<0)return null;try{let t=Kle(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(aF)}return null}function ul(e){let t=new Array;return e.forEach((n,s)=>{t.push(`${s}=${encodeURIComponent(n)}`)}),t.join("&")}function PMe(e){if(!e)return e;let t=e.split("#")[0];try{let n=new URL(t),s=n.origin+n.pathname+n.search;return Yle(s)}catch{return Yle(t)}}var Qu={createNewGuid:()=>{throw te(vt)},base64Decode:()=>{throw te(vt)},base64Encode:()=>{throw te(vt)},base64UrlEncode:()=>{throw te(vt)},encodeKid:()=>{throw te(vt)},async getPublicKeyThumbprint(){throw te(vt)},async removeTokenBindingKey(){throw te(vt)},async clearKeystore(){throw te(vt)},async signJwt(){throw te(vt)},async hashString(){throw te(vt)}};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 LMe=50,RMe=500,mm=new Map;function MMe(e,t){mm.delete(e),mm.set(e,t)}function $Me(e,t){let n=Date.now(),s=mm.get(e);if(s)MMe(e,s);else if(s={logs:[],firstEventTime:n},mm.set(e,s),mm.size>LMe){let o=mm.keys().next().value;o&&mm.delete(o)}s.logs.push({...t,milliseconds:n-s.firstEventTime}),s.logs.length>RMe&&s.logs.shift()}function DMe(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 _s=class e{constructor(t,n,s){this.level=$t.Info;let o=()=>{},r=t||e.createDefaultLoggerOptions();this.localCallback=r.loggerCallback||o,this.piiLoggingEnabled=r.piiLoggingEnabled||!1,this.level=typeof r.logLevel=="number"?r.logLevel:$t.Info,this.packageName=n||"",this.packageVersion=s||""}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 s=n.correlationId;if(DMe(t)){let l={hash:t,level:n.logLevel,containsPii:n.containsPii||!1,milliseconds:0};$Me(s,l)}if(n.logLevel>this.level||!this.piiLoggingEnabled&&n.containsPii)return;let a=`${`[${new Date().toUTCString()}] : [${s}]`} : ${this.packageName}@${this.packageVersion} : ${$t[n.logLevel]} - ${t}`;this.executeCallback(n.logLevel,a,n.containsPii||!1)}executeCallback(t,n,s){this.localCallback&&this.localCallback(t,n,s)}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 Ku={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 MF(e,t){return!!e&&!!t&&e===t.split(".")[1]}function pl(e,t,n,s){if(s){let{oid:o,sub:r,tid:i,name:a,tfp:l,acr:c,preferred_username:u,upn:p,login_hint:m}=s,g=i||l||c||"";return{tenantId:g,localAccountId:o||r||"",name:a,username:u||p||"",loginHint:m,isHomeTenant:MF(g,e)}}else return{tenantId:n,localAccountId:t,username:"",isHomeTenant:MF(n,e)}}function gm(e,t,n,s){let o=e;if(t){let{isHomeTenant:r,...i}=t;o={...e,...i}}if(n){let{isHomeTenant:r,...i}=pl(e.homeAccountId,e.localAccountId,e.tenantId,n);return o={...o,...i,idTokenClaims:n,idToken:s},o}return o}var uo={};$n(uo,{checkMaxAge:()=>Ux,extractTokenClaims:()=>Ec,getJWSPayload:()=>Wle,isKmsi:()=>$F});function Ec(e,t){let n=Wle(e);try{let s=t(n);return JSON.parse(s)}catch{throw te(I0)}}function $F(e){if(!e.signin_state)return!1;let t=["kmsi","dvc_dmjd"];return e.signin_state.some(n=>t.includes(n.trim().toLowerCase()))}function Wle(e){if(!e)throw te(oF);let n=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!n||n.length<4)throw te(I0);return n[2]}function Ux(e,t){if(t===0||Date.now()-3e5>e+t)throw te(uF)}var St=class e{get urlString(){return this._urlString}constructor(t){if(this._urlString=t,!this._urlString)throw Pt(W2);t.includes("#")||(this._urlString=e.canonicalizeUri(t))}static canonicalizeUri(t){if(t){let n=t.toLowerCase();return Nn.endsWith(n,"?")?n=n.slice(0,-1):Nn.endsWith(n,"?/")&&(n=n.slice(0,-2)),Nn.endsWith(n,"/")||(n+="/"),n}return t}validateAsUri(){let t;try{t=this.getUrlComponents()}catch{throw Pt(Mh)}if(!t.HostNameAndPort||!t.PathSegments)throw Pt(Mh);if(!t.Protocol||t.Protocol.toLowerCase()!=="https:")throw Pt(K2)}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(),s=n.PathSegments;return t&&s.length!==0&&(s[0]===ma.COMMON||s[0]===ma.ORGANIZATIONS)&&(s[0]=t),e.constructAuthorityUriFromObject(n)}getUrlComponents(){let t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),n=this.urlString.match(t);if(!n)throw Pt(Mh);let s={Protocol:n[1],HostNameAndPort:n[4],AbsolutePath:n[5],QueryString:n[7]},o=s.AbsolutePath.split("/");return o=o.filter(r=>r&&r.length>0),s.PathSegments=o,s.QueryString&&s.QueryString.endsWith("/")&&(s.QueryString=s.QueryString.substring(0,s.QueryString.length-1)),s}static getDomainFromUrl(t){let n=RegExp("^([^:/?#]+://)?([^/?#]*)"),s=t.match(n);if(!s)throw Pt(Mh);return s[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 zMe=[{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 NMe(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 jMe=zMe.reduce((e,{host:t,issuerHost:n})=>(e[t]=NMe(t,n||t),e),{}),Zle={endpointMetadata:jMe,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"]}]}},DF=Zle.endpointMetadata,zF=Zle.instanceDiscoveryMetadata,NF=new Set;zF.metadata.forEach(e=>{e.aliases.forEach(t=>{NF.add(t)})});function Xle(e,t,n){let s,o=e.canonicalAuthority;if(o){let r=new St(o).getUrlComponents().HostNameAndPort;s=Jle(t,n,r,e.cloudDiscoveryMetadata?.metadata)||Jle(t,n,r,zF.metadata)||e.knownAuthorities}return s||[]}function Jle(e,t,n,s,o){if(e.trace("1bmquz",t),n&&s){let r=Ox(s,n);if(r)return e.trace("1fotbt",t),r.aliases;e.trace("14avvj",t)}return null}function ece(e){return Ox(zF.metadata,e)}function Ox(e,t){for(let n=0;nFF,cacheQuotaExceeded:()=>jF});var jF="cache_quota_exceeded",FF="cache_error_unknown";var Wu=class e extends Error{constructor(t,n){let s=n||w0(t);super(s),Object.setPrototypeOf(this,e.prototype),this.name="CacheError",this.errorCode=t,this.errorMessage=s}};function zh(e){return e instanceof Error?e.name==="QuotaExceededError"||e.name==="NS_ERROR_DOM_QUOTA_REACHED"||e.message.includes("exceeded the quota")?new Wu(jF):new Wu(e.name,e.message):new Wu(FF)}var wi={};$n(wi,{createAccountEntity:()=>UF,createAccountEntityFromAccountInfo:()=>OMe,generateAccountId:()=>FMe,generateHomeAccountId:()=>OF,getAccountInfo:()=>jh,isAccountEntity:()=>qMe,isSingleTenant:()=>UMe});function Nh(e,t){if(!e)throw te(sF);try{let n=t(e);return JSON.parse(n)}catch{throw te(A0)}}function ml(e){if(!e)throw te(A0);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 FMe(e){return[e.homeAccountId,e.environment].join(sm).toLowerCase()}function jh(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 UMe(e){return!e.tenantProfiles}function UF(e,t,n){let s;t.authorityType===wo.Adfs?s=Qj:t.protocolMode===pn.OIDC?s=h0:s=Gj;let o,r;e.clientInfo&&n&&(o=Nh(e.clientInfo,n),o.xms_tdbr&&(r=o.xms_tdbr==="EU"?"EU":"None"));let i=e.environment||t&&t.getPreferredCache();if(!i)throw te(Ex);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:i,realm:p,localAccountId:m,username:c,authorityType:s,loginHint:u,clientInfo:e.clientInfo,name:e.idTokenClaims?.name||"",lastModificationTime:void 0,lastModificationApp:void 0,cloudGraphHostName:e.cloudGraphHostName,msGraphHost:e.msGraphHost,nativeAccountId:e.nativeAccountId,tenantProfiles:g,dataBoundary:r}}function OMe(e,t,n){let s=Array.from(e.tenantProfiles?.values()||[]);return s.length===0&&e.tenantId&&e.localAccountId&&s.push(pl(e.homeAccountId,e.localAccountId,e.tenantId,e.idTokenClaims)),{authorityType:e.authorityType||h0,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:s,dataBoundary:e.dataBoundary}}function OF(e,t,n,s,o,r){if(!(t===wo.Adfs||t===wo.Dsts)){if(e)try{let i=Nh(e,s.base64Decode);if(i.uid&&i.utid)return`${i.uid}.${i.utid}`}catch{}n.warning("1ub6wv",o)}return r?.sub||""}function qMe(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,s,o,r){this.clientId=t,this.cryptoImpl=n,this.commonLogger=s.clone(Yu,dl),this.staticAuthorityOptions=r,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 s=this.getAllAccounts(t,n);return s.length>1?s.sort(r=>r.idTokenClaims?-1:1)[0]:s.length===1?s[0]:null}getBaseAccountInfo(t,n){let s=this.getAccountsFilteredBy(t,n);return s.length>0?jh(s[0]):null}buildTenantProfiles(t,n,s){return t.flatMap(o=>this.getTenantProfilesFromAccountEntity(o,n,s?.tenantId,s))}getTenantedAccountInfoByFilter(t,n,s,o,r){let i=null,a;if(r&&!this.tenantProfileMatchesFilter(s,r))return null;let l=this.getIdToken(t,o,n,s.tenantId);return l&&(a=Ec(l.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(a,r))?null:(i=gm(t,s,a,l?.secret),i)}getTenantProfilesFromAccountEntity(t,n,s,o){let r=jh(t),i=r.tenantProfiles||new Map,a=this.getTokenKeys();if(s){let c=i.get(s);if(c)i=new Map([[s,c]]);else return[]}let l=[];return i.forEach(c=>{let u=this.getTenantedAccountInfoByFilter(r,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,s,o,r){if(!t)throw te(fF);try{t.account&&await this.setAccount(t.account,n,s,o),t.idToken&&r?.idToken!==!1&&await this.setIdTokenCredential(t.idToken,n,s),t.accessToken&&r?.accessToken!==!1&&await this.saveAccessToken(t.accessToken,n,s),t.refreshToken&&r?.refreshToken!==!1&&await this.setRefreshTokenCredential(t.refreshToken,n,s),t.appMetadata&&this.setAppMetadata(t.appMetadata,n)}catch(i){throw this.commonLogger?.error("0j476p",n),i instanceof ot?i:zh(i)}}async saveAccessToken(t,n,s){let o={clientId:t.clientId,credentialType:t.credentialType,environment:t.environment,homeAccountId:t.homeAccountId,realm:t.realm,tokenType:t.tokenType},r=this.getTokenKeys(),i=bs.fromString(t.target);r.accessToken.forEach(a=>{if(!this.accessTokenKeyMatchesFilter(a,o,!1))return;let l=this.getAccessTokenCredential(a,n);l&&this.credentialMatchesFilter(l,o,n)&&bs.fromString(l.target).intersectingScopeSets(i)&&this.removeAccessToken(a,n)}),await this.setAccessTokenCredential(t,n,s)}getAccountsFilteredBy(t,n){let s=this.getAccountKeys(),o=[];return s.forEach(r=>{let i=this.getAccount(r,n);if(!i||t.homeAccountId&&!this.matchHomeAccountId(i,t.homeAccountId)||t.username&&!this.matchUsername(i.username,t.username)||t.environment&&!this.matchEnvironment(i,t.environment,n)||t.realm&&!this.matchRealm(i,t.realm)||t.nativeAccountId&&!this.matchNativeAccountId(i,t.nativeAccountId)||t.authorityType&&!this.matchAuthorityType(i,t.authorityType))return;let a={localAccountId:t?.localAccountId,name:t?.name},l=i.tenantProfiles?.filter(c=>this.tenantProfileMatchesFilter(c,a));l&&l.length===0||o.push(i)}),o}credentialMatchesFilter(t,n,s){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,s)||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===fs.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(n.tokenType&&!this.matchTokenType(t,n.tokenType)||n.tokenType===Sn.SSH&&n.keyId&&!this.matchKeyId(t,n.keyId)))}getAppMetadataFilteredBy(t,n){let s=this.getKeys(),o={};return s.forEach(r=>{if(!this.isAppMetadata(r))return;let i=this.getAppMetadata(r,n);i&&(t.environment&&!this.matchEnvironment(i,t.environment,n)||t.clientId&&!this.matchClientId(i,t.clientId)||(o[r]=i))}),o}getAuthorityMetadataByAlias(t,n){let s=this.getAuthorityMetadataKeys(),o=null;return s.forEach(r=>{if(!this.isAuthorityMetadata(r)||r.indexOf(this.clientId)===-1)return;let i=this.getAuthorityMetadata(r,n);i&&i.aliases.indexOf(t)!==-1&&(o=i)}),o}removeAllAccounts(t){this.getAllAccounts({},t).forEach(s=>{this.removeAccount(s,t)})}removeAccount(t,n){this.removeAccountContext(t,n);let s=this.getAccountKeys(),o=r=>r.includes(t.homeAccountId)&&r.includes(t.environment);s.filter(o).forEach(r=>{this.removeItem(r,n),this.performanceClient.incrementFields({accountsRemoved:1},n)})}removeAccountContext(t,n){let s=this.getTokenKeys(),o=r=>r.includes(t.homeAccountId)&&r.includes(t.environment);s.idToken.filter(o).forEach(r=>{this.removeIdToken(r,n)}),s.accessToken.filter(o).forEach(r=>{this.removeAccessToken(r,n)}),s.refreshToken.filter(o).forEach(r=>{this.removeRefreshToken(r,n)})}removeAccessToken(t,n){let s=this.getAccessTokenCredential(t,n);if(s&&(this.removeItem(t,n),this.performanceClient.incrementFields({accessTokensRemoved:1},n),s.credentialType.toLowerCase()===fs.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&s.tokenType===Sn.POP)){let r=s.keyId;r&&this.cryptoImpl.removeTokenBindingKey(r,n).catch(()=>{this.commonLogger.error("0cx291",n),this.performanceClient?.incrementFields({removeTokenBindingKeyFailure:1},n)})}}removeAppMetadata(t){return this.getKeys().forEach(s=>{this.isAppMetadata(s)&&this.removeItem(s,t)}),!0}getIdToken(t,n,s,o){this.commonLogger.trace("1drz22",n);let r={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:fs.ID_TOKEN,clientId:this.clientId,realm:o},i=this.getIdTokensByFilter(r,n,s),a=i.size;if(a<1)return this.commonLogger.info("1atvtd",n),null;if(a>1){let l=i;if(!o){let c=new Map;i.forEach((p,m)=>{p.realm===t.tenantId&&c.set(m,p)});let u=c.size;if(u<1)return this.commonLogger.info("0ooalx",n),i.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:i.size},n),null}return this.commonLogger.info("1sm769",n),i.values().next().value}getIdTokensByFilter(t,n,s){let o=s&&s.idToken||this.getTokenKeys().idToken,r=new Map;return o.forEach(i=>{if(!this.idTokenKeyMatchesFilter(i,{clientId:this.clientId,...t}))return;let a=this.getIdTokenCredential(i,n);a&&this.credentialMatchesFilter(a,t,n)&&r.set(i,a)}),r}idTokenKeyMatchesFilter(t,n){let s=t.toLowerCase();return!(n.clientId&&s.indexOf(n.clientId.toLowerCase())===-1||n.homeAccountId&&s.indexOf(n.homeAccountId.toLowerCase())===-1)}removeIdToken(t,n){this.removeItem(t,n)}removeRefreshToken(t,n){this.removeItem(t,n)}getAccessToken(t,n,s,o){let r=n.correlationId;this.commonLogger.trace("1t7hz1",r);let i=bs.createSearchScopes(n.scopes),a=n.authenticationScheme||Sn.BEARER,l=a&&a.toLowerCase()!==Sn.BEARER.toLowerCase()?fs.ACCESS_TOKEN_WITH_AUTH_SCHEME:fs.ACCESS_TOKEN,c={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:l,clientId:this.clientId,realm:o||t.tenantId,target:i,tokenType:a,keyId:n.sshKid},u=s&&s.accessToken||this.getTokenKeys().accessToken,p=[];u.forEach(g=>{if(this.accessTokenKeyMatchesFilter(g,c,!0)){let f=this.getAccessTokenCredential(g,r);f&&this.credentialMatchesFilter(f,c,r)&&p.push(f)}});let m=p.length;return m<1?(this.commonLogger.info("1nckna",r),null):m>1?(this.commonLogger.info("1wkfwp",r),p.forEach(g=>{this.removeAccessToken(this.generateCredentialKey(g),r)}),this.performanceClient.addFields({multiMatchedAT:p.length},r),null):(this.commonLogger.info("06yt98",r),p[0])}accessTokenKeyMatchesFilter(t,n,s){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 r=n.target.asArray();for(let i=0;i{if(!this.accessTokenKeyMatchesFilter(r,t,!0))return;let i=this.getAccessTokenCredential(r,n);i&&this.credentialMatchesFilter(i,t,n)&&o.push(i)}),o}getRefreshToken(t,n,s,o){this.commonLogger.trace("0x53vi",s);let r=n?om:void 0,i={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:fs.REFRESH_TOKEN,clientId:this.clientId,familyId:r},a=o&&o.refreshToken||this.getTokenKeys().refreshToken,l=[];a.forEach(u=>{if(this.refreshTokenKeyMatchesFilter(u,i)){let p=this.getRefreshTokenCredential(u,s);p&&this.credentialMatchesFilter(p,i,s)&&l.push(p)}});let c=l.length;return c<1?(this.commonLogger.info("0dlw11",s),null):(c>1&&this.performanceClient.addFields({multiMatchedRT:c},s),this.commonLogger.info("0wcnep",s),l[0])}refreshTokenKeyMatchesFilter(t,n){let s=t.toLowerCase();return!(n.familyId&&s.indexOf(n.familyId.toLowerCase())===-1||!n.familyId&&n.clientId&&s.indexOf(n.clientId.toLowerCase())===-1||n.homeAccountId&&s.indexOf(n.homeAccountId.toLowerCase())===-1)}readAppMetadataFromCache(t,n){let s={environment:t,clientId:this.clientId},o=this.getAppMetadataFilteredBy(s,n),r=Object.keys(o).map(a=>o[a]),i=r.length;if(i<1)return null;if(i>1)throw te(dF);return r[0]}isAppMetadataFOCI(t,n){let s=this.readAppMetadataFromCache(t,n);return!!(s&&s.familyId===om)}matchHomeAccountId(t,n){return typeof t.homeAccountId=="string"&&n===t.homeAccountId}matchLocalAccountIdFromTokenClaims(t,n){let s=t.oid||t.sub;return n===s}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,s){if(this.staticAuthorityOptions){let r=Xle(this.staticAuthorityOptions,this.commonLogger,s);if(r.includes(n)&&r.includes(t.environment))return!0}let o=this.getAuthorityMetadataByAlias(n,s);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!==fs.ACCESS_TOKEN&&t.credentialType!==fs.ACCESS_TOKEN_WITH_AUTH_SCHEME||!t.target?!1:bs.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(Ih)!==-1}isAuthorityMetadata(t){return t.indexOf(Ph)!==-1}generateAuthorityMetadataCacheKey(t){return`${Ph}-${this.clientId}-${t}`}static toObject(t,n){for(let s in n)t[s]=n[s];return t}},Hx=class extends hm{async setAccount(){throw te(vt)}getAccount(){throw te(vt)}async setIdTokenCredential(){throw te(vt)}getIdTokenCredential(){throw te(vt)}async setAccessTokenCredential(){throw te(vt)}getAccessTokenCredential(){throw te(vt)}async setRefreshTokenCredential(){throw te(vt)}getRefreshTokenCredential(){throw te(vt)}setAppMetadata(){throw te(vt)}getAppMetadata(){throw te(vt)}setServerTelemetry(){throw te(vt)}getServerTelemetry(){throw te(vt)}setAuthorityMetadata(){throw te(vt)}getAuthorityMetadata(){throw te(vt)}getAuthorityMetadataKeys(){throw te(vt)}setThrottlingCache(){throw te(vt)}getThrottlingCache(){throw te(vt)}removeItem(){throw te(vt)}getKeys(){throw te(vt)}getAccountKeys(){throw te(vt)}getTokenKeys(){throw te(vt)}generateCredentialKey(){throw te(vt)}generateAccountKey(){throw te(vt)}};var tce={NotStarted:0,InProgress:1,Completed:2};var Cc=class{generateId(){return"callback-id"}startMeasurement(t,n){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:tce.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 $0={tokenRenewalOffsetSeconds:a2,preventCorsPreflight:!1},HMe={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:$t.Info,correlationId:""},BMe={async sendGetRequestAsync(){throw te(vt)},async sendPostRequestAsync(){throw te(vt)}},VMe={sku:Aj,version:dl,cpu:"",os:""},GMe={clientSecret:"",clientAssertion:void 0},QMe={azureCloudInstance:Ku.None,tenant:`${mx}`},YMe={application:{appName:"",appVersion:""}};function Fh({authOptions:e,systemOptions:t,loggerOptions:n,storageInterface:s,networkInterface:o,cryptoInterface:r,clientCredentials:i,libraryInfo:a,telemetry:l,serverTelemetryManager:c,persistencePlugin:u,serializableCache:p}){let m={...HMe,...n};return{authOptions:KMe(e),systemOptions:{...$0,...t},loggerOptions:m,storageInterface:s||new Hx(e.clientId,Qu,new _s(m),new Cc),networkInterface:o||BMe,cryptoInterface:r||Qu,clientCredentials:i||GMe,libraryInfo:{...VMe,...a},telemetry:{...YMe,...l},serverTelemetryManager:c||null,persistencePlugin:u||null,serializableCache:p||null}}function KMe(e){return{clientCapabilities:[],azureCloudOptions:QMe,instanceAware:!1,isMcp:!1,...e}}function D0(e){return e.authOptions.authority.options.protocolMode===pn.OIDC}var z0=class{constructor(t,n){this.cache=t,this.hasChanged=n}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}};var vs={};$n(vs,{createAccessTokenEntity:()=>BF,createIdTokenEntity:()=>HF,createRefreshTokenEntity:()=>VF,generateAppMetadataKey:()=>o$e,generateAuthorityMetadataExpiresAt:()=>j0,isAccessTokenEntity:()=>XMe,isAppMetadataEntity:()=>r$e,isAuthorityMetadataEntity:()=>i$e,isAuthorityMetadataExpired:()=>F0,isCredentialEntity:()=>N0,isIdTokenEntity:()=>e$e,isRefreshTokenEntity:()=>t$e,isServerTelemetryEntity:()=>n$e,isThrottlingEntity:()=>s$e,updateAuthorityEndpointMetadata:()=>Oh,updateCloudDiscoveryMetadata:()=>Vx});var nr={};$n(nr,{delay:()=>ZMe,isCacheExpired:()=>JMe,isTokenExpired:()=>Uh,nowSeconds:()=>zr,toDateFromSeconds:()=>Bx,toSecondsFromDate:()=>WMe,wasClockTurnedBack:()=>qF});function zr(){return Math.round(new Date().getTime()/1e3)}function WMe(e){return e.getTime()/1e3}function Bx(e){return e?new Date(Number(e)*1e3):new Date}function Uh(e,t){let n=Number(e)||0;return zr()+t>n}function JMe(e,t){let n=Number(e)+t*24*60*60*1e3;return Date.now()>n}function qF(e){return Number(e)>zr()}function ZMe(e,t){return new Promise(n=>setTimeout(()=>n(t),e))}function HF(e,t,n,s,o){return{credentialType:fs.ID_TOKEN,homeAccountId:e,environment:t,clientId:s,secret:n,realm:o,lastUpdatedAt:Date.now().toString()}}function BF(e,t,n,s,o,r,i,a,l,c,u,p,m){let g={homeAccountId:e,credentialType:fs.ACCESS_TOKEN,secret:n,cachedAt:zr().toString(),expiresOn:i.toString(),extendedExpiresOn:a.toString(),environment:t,clientId:s,realm:o,target:r,tokenType:u||Sn.BEARER,lastUpdatedAt:Date.now().toString()};if(p&&(g.userAssertionHash=p),c&&(g.refreshOn=c.toString()),g.tokenType?.toLowerCase()!==Sn.BEARER.toLowerCase())switch(g.credentialType=fs.ACCESS_TOKEN_WITH_AUTH_SCHEME,g.tokenType){case Sn.POP:let f=Ec(n,l);if(!f?.cnf?.kid)throw te(hF);g.keyId=f.cnf.kid;break;case Sn.SSH:g.keyId=m}return g}function VF(e,t,n,s,o,r,i){let a={credentialType:fs.REFRESH_TOKEN,homeAccountId:e,environment:t,clientId:s,secret:n,lastUpdatedAt:Date.now().toString()};return r&&(a.userAssertionHash=r),o&&(a.familyId=o),i&&(a.expiresOn=i.toString()),a}function N0(e){return e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")}function XMe(e){return e?N0(e)&&e.hasOwnProperty("realm")&&e.hasOwnProperty("target")&&(e.credentialType===fs.ACCESS_TOKEN||e.credentialType===fs.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1}function e$e(e){return e?N0(e)&&e.hasOwnProperty("realm")&&e.credentialType===fs.ID_TOKEN:!1}function t$e(e){return e?N0(e)&&e.credentialType===fs.REFRESH_TOKEN:!1}function n$e(e,t){let n=e.indexOf(bx)===0,s=!0;return t&&(s=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),n&&s}function s$e(e,t){let n=!1;e&&(n=e.indexOf(_x)===0);let s=!0;return t&&(s=t.hasOwnProperty("throttleTime")),n&&s}function o$e({environment:e,clientId:t}){return[Ih,e,t].join(sm).toLowerCase()}function r$e(e,t){return t?e.indexOf(Ih)===0&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment"):!1}function i$e(e,t){return t?e.indexOf(Ph)===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 j0(){return zr()+Kj}function Oh(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 Vx(e,t,n){e.aliases=t.aliases,e.preferred_cache=t.preferred_cache,e.preferred_network=t.preferred_network,e.aliasesFromNetwork=n}function F0(e){return e.expiresAt<=zr()}var ys={};$n(ys,{AuthClientCreateTokenRequestBody:()=>eU,AuthClientExecuteTokenRequest:()=>XF,AuthorityGetCloudDiscoveryMetadataFromNetwork:()=>sU,AuthorityGetEndpointMetadataFromNetwork:()=>rU,AuthorityResolveEndpointsAsync:()=>nU,AuthorityUpdateCloudDiscoveryMetadata:()=>oU,AuthorityUpdateEndpointMetadata:()=>iU,AuthorityUpdateMetadataWithRegionalInformation:()=>U0,AuthorizationCodeClientExecutePostToTokenEndpoint:()=>YF,CacheManagerGetRefreshToken:()=>cU,GetAuthCodeUrl:()=>a$e,HandleCodeResponseFromServer:()=>l$e,HandleServerTokenResponse:()=>Qx,NetworkClientSendPostRequestAsync:()=>GF,PopTokenGenerateCnf:()=>bm,RefreshTokenClientAcquireToken:()=>WF,RefreshTokenClientAcquireTokenWithCachedRefreshToken:()=>Gx,RefreshTokenClientCreateTokenRequestBody:()=>JF,RefreshTokenClientExecutePostToTokenEndpoint:()=>QF,RefreshTokenClientExecuteTokenRequest:()=>KF,RegionDiscoveryDetectRegion:()=>aU,RegionDiscoveryGetCurrentVersion:()=>lU,RegionDiscoveryGetRegionFromIMDS:()=>O0,SetUserData:()=>c$e,SilentFlowClientGenerateResultFromCacheRecord:()=>ZF,UpdateTokenEndpointAuthority:()=>tU});var GF="networkClientSendPostRequestAsync",QF="refreshTokenClientExecutePostToTokenEndpoint",YF="authorizationCodeClientExecutePostToTokenEndpoint",KF="refreshTokenClientExecuteTokenRequest",WF="refreshTokenClientAcquireToken",Gx="refreshTokenClientAcquireTokenWithCachedRefreshToken",JF="refreshTokenClientCreateTokenRequestBody",ZF="silentFlowClientGenerateResultFromCacheRecord",a$e="getAuthCodeUrl",l$e="handleCodeResponseFromServer",XF="authClientExecuteTokenRequest",eU="authClientCreateTokenRequestBody",tU="updateTokenEndpointAuthority",bm="popTokenGenerateCnf",Qx="handleServerTokenResponse",nU="authorityResolveEndpointsAsync",sU="authorityGetCloudDiscoveryMetadataFromNetwork",oU="authorityUpdateCloudDiscoveryMetadata",rU="authorityGetEndpointMetadataFromNetwork",iU="authorityUpdateEndpointMetadata",U0="authorityUpdateMetadataWithRegionalInformation",aU="regionDiscoveryDetectRegion",O0="regionDiscoveryGetRegionFromIMDS",lU="regionDiscoveryGetCurrentVersion",cU="cacheManagerGetRefreshToken",c$e="setUserData";var es=(e,t,n,s,o)=>(...r)=>{n.trace("1plfzx",o);let i=s.startMeasurement(t,o);o&&s.incrementFields({[`ext.${t}CallCount`]:1},o);try{let a=e(...r);return i.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 i.end({success:!1},a),a}},G=(e,t,n,s,o)=>(...r)=>{n.trace("1plfzx",o);let i=s.startMeasurement(t,o);return o&&s.incrementFields({[`ext.${t}CallCount`]:1},o),e(...r).then(a=>(n.trace("1g8n6a",o),i.end({success:!0}),a)).catch(a=>{n.trace("0cfd8i",o);try{n.trace(JSON.stringify(a),o)}catch{n.trace("00dty7",o)}throw i.end({success:!1},a),a})};var u$e={SW:"sw"},sr=class{constructor(t,n){this.cryptoUtils=t,this.performanceClient=n}async generateCnf(t,n){let s=await G(this.generateKid.bind(this),bm,n,this.performanceClient,t.correlationId)(t),o=this.cryptoUtils.base64UrlEncode(JSON.stringify(s));return{kid:s.kid,reqCnfString:o}}async generateKid(t){return{kid:await this.cryptoUtils.getPublicKeyThumbprint(t),xms_ksl:u$e.SW}}async signPopToken(t,n,s){return this.signPayload(t,n,s)}async signPayload(t,n,s,o){let{resourceRequestMethod:r,resourceRequestUri:i,shrClaims:a,shrNonce:l,shrOptions:c}=s,p=(i?new St(i):void 0)?.getUrlComponents();return this.cryptoUtils.signJwt({at:t,ts:zr(),m:r?.toUpperCase(),u:p?.HostNameAndPort,nonce:l||this.cryptoUtils.createNewGuid(),p:p?.AbsolutePath,q:p?.QueryString?[[],p.QueryString]:void 0,client_claims:a||void 0,...o},n,c,s.correlationId)}};var gl={};$n(gl,{badToken:()=>Yx,consentRequired:()=>mU,interactionRequired:()=>pU,interruptedUser:()=>fU,loginRequired:()=>gU,nativeAccountUnavailable:()=>d$e,noTokensFound:()=>q0,refreshTokenExpired:()=>uU,uxNotAllowed:()=>dU});var q0="no_tokens_found",d$e="native_account_unavailable",uU="refresh_token_expired",dU="ux_not_allowed",pU="interaction_required",mU="consent_required",gU="login_required",Yx="bad_token",fU="interrupted_user";var nce=[pU,mU,gU,Yx,dU,fU],p$e=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token","ux_not_allowed","interrupted_user"],wn=class e extends ot{constructor(t,n,s,o,r,i,a,l){super(t,n,s),Object.setPrototypeOf(this,e.prototype),this.timestamp=o||"",this.traceId=r||"",this.correlationId=i||"",this.claims=a||"",this.name="InteractionRequiredAuthError",this.errorNo=l}};function H0(e,t,n){let s=!!e&&nce.indexOf(e)>-1,o=!!n&&p$e.indexOf(n)>-1,r=!!t&&nce.some(i=>t.indexOf(i)>-1);return s||r||o}function _m(e,t){return new wn(e,t)}var or=class e extends ot{constructor(t,n,s,o,r){super(t,n,s),this.name="ServerError",this.errorNo=o,this.status=r,Object.setPrototypeOf(this,e.prototype)}};var ha={};$n(ha,{generateLibraryState:()=>sce,parseRequestState:()=>hU,setRequestState:()=>m$e});function m$e(e,t,n){let s=sce(e,n);return t?`${s}${gx}${t}`:s}function sce(e,t){if(!e)throw te(R0);let n={id:e.createNewGuid()};t&&(n.meta=t);let s=JSON.stringify(n);return e.base64Encode(s)}function hU(e,t){if(!e)throw te(R0);if(!t)throw te(rm);try{let n=t.split(gx),s=n[0],o=n.length>1?n.slice(1).join(gx):"",r=e(s),i=JSON.parse(r);return{userRequestState:o||"",libraryState:i}}catch{throw te(rm)}}var ba=class e{constructor(t,n,s,o,r,i,a){this.clientId=t,this.cacheStorage=n,this.cryptoObj=s,this.logger=o,this.performanceClient=r,this.serializableCache=i,this.persistencePlugin=a}validateTokenResponse(t,n,s){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}`,r=t.error_codes?.length?t.error_codes[0]:void 0,i=new or(t.error,o,t.suberror,r,t.status);if(s&&t.status&&t.status>=Hj&&t.status<=Bj){this.logger.warning("16ks7j",n);return}else if(s&&t.status&&t.status>=Oj&&t.status<=qj){this.logger.warning("0g61x3",n);return}throw H0(t.error,t.error_description,t.suberror)?new wn(t.error,t.error_description,t.suberror,t.timestamp||"",t.trace_id||"",t.correlation_id||"",t.claims||"",r):i}}async handleServerTokenResponse(t,n,s,o,r,i,a,l,c,u){let p;if(t.id_token){if(p=Ec(t.id_token||"",this.cryptoObj.base64Decode),i&&i.nonce&&p.nonce!==i.nonce)throw te(cF);if(o.maxAge||o.maxAge===0){let _=p.auth_time;if(!_)throw te(Sx);Ux(_,o.maxAge)}}this.homeAccountIdentifier=OF(t.client_info||"",n.authorityType,this.logger,this.cryptoObj,o.correlationId,p);let m;i&&i.state&&(m=hU(this.cryptoObj.base64Decode,i.state)),t.key_id=t.key_id||o.sshKid||void 0;let g=this.generateCacheRecord(t,n,s,o,p,a,i),f;try{if(this.persistencePlugin&&this.serializableCache&&(this.logger.verbose("0jbz5k",o.correlationId),f=new z0(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,$F(p||{}),r,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,s,o,r,i,a){let l=n.getPreferredCache();if(!l)throw te(Ex);let c=fm(r),u,p;t.id_token&&r&&(u=HF(this.homeAccountIdentifier,l,t.id_token,this.clientId,c||""),p=B0(this.cacheStorage,n,this.homeAccountIdentifier,this.cryptoObj.base64Decode,o.correlationId,r,t.client_info,l,c,a,void 0,this.logger,this.performanceClient));let m=null;if(t.access_token){let _=t.scope?bs.fromString(t.scope):new bs(o.scopes||[]),h=(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,x=(typeof t.ext_expires_in=="string"?parseInt(t.ext_expires_in,10):t.ext_expires_in)||0,v=(typeof t.refresh_in=="string"?parseInt(t.refresh_in,10):t.refresh_in)||void 0,k=s+h,I=k+x,E=v&&v>0?s+v:void 0;m=BF(this.homeAccountIdentifier,l,t.access_token,this.clientId,c||n.tenant||"",_.printScopes(),k,I,this.cryptoObj.base64Decode,E,t.token_type,i,t.key_id);let H=o.resource||null;H&&(m.resource=H)}let g=null;if(t.refresh_token){let _;if(t.refresh_token_expires_in){let h=typeof t.refresh_token_expires_in=="string"?parseInt(t.refresh_token_expires_in,10):t.refresh_token_expires_in;_=s+h,this.performanceClient?.addFields({ntwkRtExpiresOnSeconds:_},o.correlationId)}g=VF(this.homeAccountIdentifier,l,t.refresh_token,this.clientId,t.foci,i,_)}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,s,o,r,i,a,l,c,u){let p="",m=[],g=null,f,_,h="";if(s.accessToken){if(s.accessToken.tokenType===Sn.POP&&!r.popKid){let I=new sr(t,i),{secret:E,keyId:H}=s.accessToken;if(!H)throw te(vF);p=await I.signPopToken(E,H,r)}else p=s.accessToken.secret;m=bs.fromString(s.accessToken.target).asArray(),g=Bx(s.accessToken.expiresOn),f=Bx(s.accessToken.extendedExpiresOn),s.accessToken.refreshOn&&(_=Bx(s.accessToken.refreshOn))}s.appMetadata&&(h=s.appMetadata.familyId===om?om:"");let x=a?.oid||a?.sub||"",v=a?.tid||"";c?.spa_accountid&&s.account&&(s.account.nativeAccountId=c?.spa_accountid);let k=s.account?gm(jh(s.account),void 0,a,s.idToken?.secret):null;return{authority:n.canonicalAuthority,uniqueId:x,tenantId:v,scopes:m,account:k,idToken:s?.idToken?.secret||"",idTokenClaims:a||{},accessToken:p,fromCache:o,expiresOn:g,extExpiresOn:f,refreshOn:_,correlationId:r.correlationId,requestId:u||"",familyId:h,tokenType:s.accessToken?.tokenType||"",state:l?l.userRequestState:"",cloudGraphHostName:s.account?.cloudGraphHostName||"",msGraphHost:s.account?.msGraphHost||"",code:c?.spa_code,fromPlatformBroker:!1}}};function B0(e,t,n,s,o,r,i,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)||UF({homeAccountId:n,idTokenClaims:r,clientInfo:i,environment:a,cloudGraphHostName:c?.cloud_graph_host_name,msGraphHost:c?.msgraph_host,nativeAccountId:u},t,s),x=h.tenantProfiles||[],v=l||h.realm;if(v&&!x.find(k=>k.tenantId===v)){let k=pl(n,h.localAccountId,v,r);x.push(k)}return h.tenantProfiles=x,h}var po={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"};async function V0(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 Ic=class e{static generateThrottlingStorageKey(t){return`${_x}.${JSON.stringify(t)}`}static preProcess(t,n,s){let o=e.generateThrottlingStorageKey(n),r=t.getThrottlingCache(o,s);if(r){if(r.throttleTime=500&&t.status<600}static checkResponseForRetryAfter(t){return t.headers?t.headers.hasOwnProperty(Hn.RETRY_AFTER)&&(t.status<200||t.status>=300):!1}static calculateThrottleTime(t){let n=t<=0?0:t,s=Date.now()/1e3;return Math.floor(Math.min(s+(n||t2),s+n2)*1e3)}static removeThrottle(t,n,s,o){let r=Ac(n,s,o),i=this.generateThrottlingStorageKey(r);t.removeItem(i,s.correlationId)}};var qh=class e extends ot{constructor(t,n,s){super(t.errorCode,t.errorMessage,t.subError),Object.setPrototypeOf(this,e.prototype),this.name="NetworkError",this.error=t,this.httpStatus=n,this.responseHeaders=s}};function vm(e,t,n,s){return e.errorMessage=`${e.errorMessage}, additionalErrorInfo: error.name:${s?.name}, error.message:${s?.message}`,new qh(e,t,n)}function G0(e,t,n){let s={};if(s[Hn.CONTENT_TYPE]=$j,!t&&n)switch(n.type){case po.HOME_ACCOUNT_ID:try{let o=ml(n.credential);s[Hn.CCS_HEADER]=`Oid:${o.uid}@${o.utid}`}catch{e.verbose("1qhtee","")}break;case po.UPN:s[Hn.CCS_HEADER]=`UPN: ${n.credential}`;break}return s}function Q0(e,t,n,s){let o=new Map;return e.embeddedClientId&&wc(o,t,n),e.extraQueryParameters&&Sc(o,e.extraQueryParameters),dm(o,e.correlationId),im(o,e.correlationId,s),ul(o)}async function Y0(e,t,n,s,o,r,i,a,l,c){let u=await g$e(s,e,{body:t,headers:n},o,r,i,a,l);return c&&u.status<500&&u.status!==429&&c.clearTelemetryCache(),u}async function g$e(e,t,n,s,o,r,i,a){Ic.preProcess(o,e,s);let l;try{l=await G(r.sendPostRequestAsync.bind(r),GF,i,a,s)(t,n);let c=l.headers||{};a?.addFields({refreshTokenSize:l.body.refresh_token?.length||0,httpVerToken:c[Hn.X_MS_HTTP_VERSION]||"",requestId:c[Hn.X_MS_REQUEST_ID]||""},s)}catch(c){if(c instanceof qh){let u=c.responseHeaders;throw u&&a?.addFields({httpVerToken:u[Hn.X_MS_HTTP_VERSION]||"",requestId:u[Hn.X_MS_REQUEST_ID]||"",contentTypeHeader:u[Hn.CONTENT_TYPE]||void 0,contentLengthHeader:u[Hn.CONTENT_LENGTH]||void 0,httpStatus:c.httpStatus},s),c.error}throw c instanceof ot?c:te(rF)}return Ic.postProcess(o,e,l,s),l}var W0={};$n(W0,{createDiscoveredInstance:()=>_U});function oce(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}function rce(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}function ice(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}var Kx=class e{constructor(t,n,s,o){this.networkInterface=t,this.logger=n,this.performanceClient=s,this.correlationId=o}async detectRegion(t,n){let s=t;if(s)n.region_source=Vu.ENVIRONMENT_VARIABLE;else{let o=e.IMDS_OPTIONS;try{let r=await G(this.getRegionFromIMDS.bind(this),O0,this.logger,this.performanceClient,this.correlationId)(Dj,o);if(r.status===m0&&(s=r.body,n.region_source=Vu.IMDS),r.status===g0){let i=await G(this.getCurrentVersion.bind(this),lU,this.logger,this.performanceClient,this.correlationId)(o);if(!i)return n.region_source=Vu.FAILED_AUTO_DETECTION,null;let a=await G(this.getRegionFromIMDS.bind(this),O0,this.logger,this.performanceClient,this.correlationId)(i,o);a.status===m0&&(s=a.body,n.region_source=Vu.IMDS)}}catch{return n.region_source=Vu.FAILED_AUTO_DETECTION,null}}return s||(n.region_source=Vu.FAILED_AUTO_DETECTION),s||null}async getRegionFromIMDS(t,n){return this.networkInterface.sendGetRequestAsync(`${p0}?api-version=${t}&format=text`,n,zj)}async getCurrentVersion(t){try{let n=await this.networkInterface.sendGetRequestAsync(`${p0}?format=json`,t);return n.status===g0&&n.body&&n.body["newest-versions"]&&n.body["newest-versions"].length>0?n.body["newest-versions"][0]:null}catch{return null}}};Kx.IMDS_OPTIONS={headers:{Metadata:"true"}};var Pc=class e{constructor(t,n,s,o,r,i,a,l){this.canonicalAuthority=t,this._canonicalAuthority.validateAsUri(),this.networkInterface=n,this.cacheManager=s,this.authorityOptions=o,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=r,this.performanceClient=a,this.correlationId=i,this.managedIdentity=l||!1,this.regionDiscovery=new Kx(n,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(t){if(t.HostNameAndPort.endsWith(u0))return wo.Ciam;let n=t.PathSegments;if(n.length)switch(n[0].toLowerCase()){case Pj:return wo.Adfs;case Lj: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(_F);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(),r=o.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((a,l)=>{let c=r[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),oU,this.logger,this.performanceClient,this.correlationId)(t);this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,t.preferred_network);let s=await G(this.updateEndpointMetadata.bind(this),iU,this.logger,this.performanceClient,this.correlationId)(t);this.updateCachedMetadata(t,n,{source:s}),this.performanceClient?.addFields({cloudDiscoverySource:n,authorityEndpointSource:s},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:j0(),jwks_uri:""}),t}updateCachedMetadata(t,n,s){n!==Dr.CACHE&&s?.source!==Dr.CACHE&&(t.expiresAt=j0(),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===Dr.HARDCODED_VALUES&&this.authorityOptions.azureRegionConfiguration?.azureRegion&&n.metadata){let o=await G(this.updateMetadataWithRegionalInformation.bind(this),U0,this.logger,this.performanceClient,this.correlationId)(n.metadata);Oh(t,o,!1),t.canonical_authority=this.canonicalAuthority}return n.source}let s=await G(this.getEndpointMetadataFromNetwork.bind(this),rU,this.logger,this.performanceClient,this.correlationId)();if(s)return this.authorityOptions.azureRegionConfiguration?.azureRegion&&(s=await G(this.updateMetadataWithRegionalInformation.bind(this),U0,this.logger,this.performanceClient,this.correlationId)(s)),Oh(t,s,!0),Dr.NETWORK;throw te(iF,this.defaultOpenIdConfigurationEndpoint)}updateEndpointMetadataFromLocalSources(t){this.logger.verbose("1fi0kc",this.correlationId);let n=this.getEndpointMetadataFromConfig();if(n)return this.logger.verbose("06t0uj",this.correlationId),Oh(t,n,!1),{source:Dr.CONFIG};this.logger.verbose("151k0p",this.correlationId);let s=this.getEndpointMetadataFromHardcodedValues();if(s)return Oh(t,s,!1),{source:Dr.HARDCODED_VALUES,metadata:s};this.logger.verbose("1imop5",this.correlationId);let o=F0(t);return this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!o?(this.logger.verbose("16uq31",""),{source:Dr.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 Pt(tF)}return null}async getEndpointMetadataFromNetwork(){let t={},n=this.defaultOpenIdConfigurationEndpoint;this.logger.verbose("1y65x6",this.correlationId);try{let s=await this.networkInterface.sendGetRequestAsync(n,t);return oce(s.body)?s.body:(this.logger.verbose("1koyv8",this.correlationId),null)}catch{return this.logger.verbose("0a9wik",this.correlationId),null}}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in DF?DF[this.hostnameAndPort]:null}async updateMetadataWithRegionalInformation(t){let n=this.authorityOptions.azureRegionConfiguration?.azureRegion;if(n){if(n!==Nj)return this.regionDiscoveryMetadata.region_outcome=vx.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=n,e.replaceWithRegionalInformation(t,n);let s=await G(this.regionDiscovery.detectRegion.bind(this.regionDiscovery),aU,this.logger,this.performanceClient,this.correlationId)(this.authorityOptions.azureRegionConfiguration?.environmentRegion,this.regionDiscoveryMetadata);if(s)return this.regionDiscoveryMetadata.region_outcome=vx.AUTO_DETECTION_REQUESTED_SUCCESSFUL,this.regionDiscoveryMetadata.region_used=s,e.replaceWithRegionalInformation(t,s);this.regionDiscoveryMetadata.region_outcome=vx.AUTO_DETECTION_REQUESTED_FAILED}return t}async updateCloudDiscoveryMetadata(t){let n=this.updateCloudDiscoveryMetadataFromLocalSources(t);if(n)return n;let s=await G(this.getCloudDiscoveryMetadataFromNetwork.bind(this),sU,this.logger,this.performanceClient,this.correlationId)();if(s)return Vx(t,s,!0),Dr.NETWORK;throw Pt(nF)}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),Vx(t,n,!1),Dr.CONFIG;this.logger.verbose("1x74aj",this.correlationId);let s=ece(this.hostnameAndPort);if(s)return this.logger.verbose("0by47c",this.correlationId),Vx(t,s,!1),Dr.HARDCODED_VALUES;this.logger.verbose("0r2fzy",this.correlationId);let o=F0(t);return this.isAuthoritySameType(t)&&t.aliasesFromNetwork&&!o?(this.logger.verbose("1uffgh",""),Dr.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=Ox(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),Pt(C0)}}return this.isInKnownAuthorities()?(this.logger.verbose("0mt9al",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}async getCloudDiscoveryMetadataFromNetwork(){let t=`${Rj}${this.canonicalAuthority}oauth2/v2.0/authorize`,n={},s=null;try{let o=await this.networkInterface.sendGetRequestAsync(t,n),r,i;if(rce(o.body))r=o.body,i=r.metadata,this.logger.verbosePii("1vglyt",this.correlationId);else if(ice(o.body)){if(this.logger.warning("062uto",this.correlationId),r=o.body,r.error===Uj)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),i=[]}else return this.logger.error("0768g0",this.correlationId),null;this.logger.verbose("1lrobr",this.correlationId),s=Ox(i,this.hostnameAndPort)}catch(o){return o instanceof ot?this.logger.error("0vwhc7",this.correlationId):this.logger.error("0s2z41",this.correlationId),null}return s||(this.logger.warning("0jp28q",this.correlationId),this.logger.verbose("130sd8",this.correlationId),s=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),s}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(n=>n&&St.getDomainFromUrl(n).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(t,n){let s;if(n&&n.azureCloudInstance!==Ku.None){let o=n.tenant?n.tenant:mx;s=`${n.azureCloudInstance}/${o}/`}return s||t}static createCloudDiscoveryMetadataFromHost(t){return{preferred_network:t,preferred_cache:t,aliases:[t]}}getPreferredCache(){if(this.managedIdentity)return Ij;if(this.discoveryComplete())return this.metadata.preferred_cache;throw te(fa)}isAlias(t){return this.metadata.aliases.indexOf(t)>-1}isAliasOfKnownMicrosoftAuthority(t){return NF.has(t)}static isPublicCloudAuthority(t){return Fj.indexOf(t)>=0}static buildRegionalAuthorityString(t,n,s){let o=new St(t);o.validateAsUri();let r=o.getUrlComponents(),i=`${n}.${r.HostNameAndPort}`;this.isPublicCloudAuthority(r.HostNameAndPort)&&(i=`${n}.${jj}`);let a=St.constructAuthorityUriFromObject({...o.getUrlComponents(),HostNameAndPort:i}).urlString;return s?`${a}?${s}`:a}static replaceWithRegionalInformation(t,n){let s={...t};return s.authorization_endpoint=e.buildRegionalAuthorityString(s.authorization_endpoint,n),s.token_endpoint=e.buildRegionalAuthorityString(s.token_endpoint,n),s.end_session_endpoint&&(s.end_session_endpoint=e.buildRegionalAuthorityString(s.end_session_endpoint,n)),s}static transformCIAMAuthority(t){let n=t,o=new St(t).getUrlComponents();if(o.PathSegments.length===0&&o.HostNameAndPort.endsWith(u0)){let r=o.HostNameAndPort.split(".")[0];n=`${n}${r}${Mj}`}return n}};Pc.reservedTenantDomains=new Set(["{tenant}","{tenantid}",ma.COMMON,ma.CONSUMERS,ma.ORGANIZATIONS]);function ace(e){let s=new St(e).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(s){case ma.COMMON:case ma.ORGANIZATIONS:case ma.CONSUMERS:return;default:return s}}function K0(e){return e.endsWith(wh)?e:`${e}${wh}`}function bU(e){let t=e.cloudDiscoveryMetadata,n;if(t)try{n=JSON.parse(t)}catch{throw Pt(C0)}return{canonicalAuthority:e.authority?K0(e.authority):void 0,knownAuthorities:e.knownAuthorities,cloudDiscoveryMetadata:n}}async function _U(e,t,n,s,o,r,i){let a=Pc.transformCIAMAuthority(K0(e)),l=new Pc(a,t,n,s,o,r,i);try{return await G(l.resolveEndpointsAsync.bind(l),nU,o,i,r)(),l}catch{throw te(fa)}}var ym=class{constructor(t,n){this.includeRedirectUri=!0,this.config=Fh(t),this.logger=new _s(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,s){if(!t.code)throw te(pF);s&&s.cloud_instance_host_name&&await G(this.updateTokenEndpointAuthority.bind(this),tU,this.logger,this.performanceClient,t.correlationId)(s.cloud_instance_host_name,t.correlationId);let o=zr(),r=await G(this.executeTokenRequest.bind(this),XF,this.logger,this.performanceClient,t.correlationId)(this.authority,t,this.serverTelemetryManager),i=r.headers?.[Hn.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(r.body,t.correlationId),G(a.handleServerTokenResponse.bind(a),Qx,this.logger,this.performanceClient,t.correlationId)(r.body,this.authority,o,t,n,s,void 0,void 0,void 0,i)}getLogoutUri(t){if(!t)throw Pt(X2);let n=this.createLogoutUrlQueryString(t);return St.appendQueryString(this.authority.endSessionEndpoint,n)}async executeTokenRequest(t,n,s){let o=Q0(n,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),r=St.appendQueryString(t.tokenEndpoint,o),i=await G(this.createTokenRequestBody.bind(this),eU,this.logger,this.performanceClient,n.correlationId)(n),a;if(n.clientInfo)try{let u=Nh(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=G0(this.logger,this.config.systemOptions.preventCorsPreflight,a||n.ccsCredential),c=Ac(this.config.authOptions.clientId,n);return G(Y0,YF,this.logger,this.performanceClient,n.correlationId)(r,i,l,c,n.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,s)}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 Pt(Y2);if(am(n,t.scopes,!0,this.oidcDefaultScopes),Fx(n,t.resource),AF(n,t.code),Cx(n,this.config.libraryInfo),Ax(n,this.config.telemetry.application),jx(n),this.serverTelemetryManager&&!D0(this.config)&&Nx(n,this.serverTelemetryManager),t.codeVerifier&&PF(n,t.codeVerifier),this.config.clientCredentials.clientSecret&&Px(n,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let o=this.config.clientCredentials.clientAssertion;Lx(n,await V0(o.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),Rx(n,o.assertionType)}if(Mx(n,hx.AUTHORIZATION_CODE_GRANT),pm(n),t.authenticationScheme===Sn.POP){let o=new sr(this.cryptoUtils,this.performanceClient),r;t.popKid?r=this.cryptoUtils.encodeKid(t.popKid):r=(await G(o.generateCnf.bind(o),bm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,Dx(n,r)}else if(t.authenticationScheme===Sn.SSH)if(t.sshJwk)zx(n,t.sshJwk);else throw Pt(Tx);(!Nn.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&um(n,t.claims,this.config.authOptions.clientCapabilities);let s;if(t.clientInfo)try{let o=Nh(t.clientInfo,this.cryptoUtils.base64Decode);s={credential:`${o.uid}${Ah}${o.utid}`,type:po.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",t.correlationId)}else s=t.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&s)switch(s.type){case po.HOME_ACCOUNT_ID:try{let o=ml(s.credential);Tc(n,o)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case po.UPN:Gu(n,s.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[T0])&&Sc(n,{[T0]:"1"}),im(n,t.correlationId,this.performanceClient),ul(n)}createLogoutUrlQueryString(t){let n=new Map;return t.postLogoutRedirectUri&&TF(n,t.postLogoutRedirectUri),t.correlationId&&dm(n,t.correlationId),t.idTokenHint&&SF(n,t.idTokenHint),t.state&&Ix(n,t.state),t.logoutHint&&RF(n,t.logoutHint),t.extraQueryParameters&&Sc(n,t.extraQueryParameters),this.config.authOptions.instanceAware&&$x(n),ul(n)}async updateTokenEndpointAuthority(t,n){let s=`https://${t}/${this.authority.tenant}/`,o=await _U(s,this.networkClient,this.cacheManager,this.authority.options,this.logger,n,this.performanceClient);this.authority=o}};var f$e=300,Wx=class{constructor(t,n){this.config=Fh(t),this.logger=new _s(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 s=zr(),o=await G(this.executeTokenRequest.bind(this),KF,this.logger,this.performanceClient,t.correlationId)(t,this.authority),r=o.headers?.[Hn.X_MS_REQUEST_ID],i=new ba(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return i.validateTokenResponse(o.body,t.correlationId),G(i.handleServerTokenResponse.bind(i),Qx,this.logger,this.performanceClient,t.correlationId)(o.body,this.authority,s,t,n,void 0,void 0,!0,t.forceCache,r)}async acquireTokenByRefreshToken(t,n){if(!t)throw Pt(Z2);if(!t.account)throw te(wx);if(this.cacheManager.isAppMetadataFOCI(t.account.environment,t.correlationId))try{return await G(this.acquireTokenWithCachedRefreshToken.bind(this),Gx,this.logger,this.performanceClient,t.correlationId)(t,!0,n)}catch(o){let r=o instanceof wn&&o.errorCode===q0,i=o instanceof or&&o.errorCode===o2&&o.subError===r2;if(r||i)return G(this.acquireTokenWithCachedRefreshToken.bind(this),Gx,this.logger,this.performanceClient,t.correlationId)(t,!1,n);throw o}return G(this.acquireTokenWithCachedRefreshToken.bind(this),Gx,this.logger,this.performanceClient,t.correlationId)(t,!1,n)}async acquireTokenWithCachedRefreshToken(t,n,s){let o=es(this.cacheManager.getRefreshToken.bind(this.cacheManager),cU,this.logger,this.performanceClient,t.correlationId)(t.account,n,t.correlationId,void 0);if(!o)throw _m(q0);if(o.expiresOn){let i=t.refreshTokenExpirationOffsetSeconds||f$e;if(this.performanceClient?.addFields({cacheRtExpiresOnSeconds:Number(o.expiresOn),rtOffsetSeconds:i},t.correlationId),Uh(o.expiresOn,i))throw _m(uU)}let r={...t,refreshToken:o.secret,authenticationScheme:t.authenticationScheme||Sn.BEARER,ccsCredential:{credential:t.account.homeAccountId,type:po.HOME_ACCOUNT_ID}};try{return await G(this.acquireToken.bind(this),WF,this.logger,this.performanceClient,t.correlationId)(r,s)}catch(i){if(i instanceof wn&&i.subError===Yx){this.logger.verbose("1pg3ap",t.correlationId);let a=this.cacheManager.generateCredentialKey(o);this.cacheManager.removeRefreshToken(a,t.correlationId)}throw i}}async executeTokenRequest(t,n){let s=Q0(t,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),o=St.appendQueryString(n.tokenEndpoint,s),r=await G(this.createTokenRequestBody.bind(this),JF,this.logger,this.performanceClient,t.correlationId)(t),i=G0(this.logger,this.config.systemOptions.preventCorsPreflight,t.ccsCredential),a=Ac(this.config.authOptions.clientId,t);return G(Y0,QF,this.logger,this.performanceClient,t.correlationId)(o,r,i,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),Mx(n,hx.REFRESH_TOKEN_GRANT),pm(n),Cx(n,this.config.libraryInfo),Ax(n,this.config.telemetry.application),jx(n),this.serverTelemetryManager&&!D0(this.config)&&Nx(n,this.serverTelemetryManager),IF(n,t.refreshToken),this.config.clientCredentials.clientSecret&&Px(n,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let s=this.config.clientCredentials.clientAssertion;Lx(n,await V0(s.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),Rx(n,s.assertionType)}if(t.authenticationScheme===Sn.POP){let s=new sr(this.cryptoUtils,this.performanceClient),o;t.popKid?o=this.cryptoUtils.encodeKid(t.popKid):o=(await G(s.generateCnf.bind(s),bm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,Dx(n,o)}else if(t.authenticationScheme===Sn.SSH)if(t.sshJwk)zx(n,t.sshJwk);else throw Pt(Tx);if((!Nn.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 s=ml(t.ccsCredential.credential);Tc(n,s)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case po.UPN:Gu(n,t.ccsCredential.credential);break}return t.embeddedClientId&&wc(n,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&Sc(n,{...t.extraParameters}),im(n,t.correlationId,this.performanceClient),ul(n)}};var Jx=class{constructor(t,n){this.config=Fh(t),this.logger=new _s(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||!Nn.isEmptyObj(t.claims))throw this.setCacheOutcome(ga.FORCE_REFRESH_OR_CLAIMS,t.correlationId),te($h);if(!t.account)throw te(wx);let s=t.account.tenantId||ace(t.authority),o=this.cacheManager.getTokenKeys(),r=this.cacheManager.getAccessToken(t.account,t,o,s);if(r){if(qF(r.cachedAt)||Uh(r.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw this.setCacheOutcome(ga.CACHED_ACCESS_TOKEN_EXPIRED,t.correlationId),te($h);if(t.resource){if(r.resource!==t.resource)throw this.setCacheOutcome(ga.NO_CACHED_ACCESS_TOKEN,t.correlationId),te($h)}else r.refreshOn&&Uh(r.refreshOn,0)&&(n=ga.PROACTIVELY_REFRESHED)}else throw this.setCacheOutcome(ga.NO_CACHED_ACCESS_TOKEN,t.correlationId),te($h);let i=t.authority||this.authority.getPreferredCache(),a={account:this.cacheManager.getAccount(this.cacheManager.generateAccountKey(t.account),t.correlationId),accessToken:r,idToken:this.cacheManager.getIdToken(t.account,t.correlationId,o,s),refreshToken:null,appMetadata:this.cacheManager.readAppMetadataFromCache(i,t.correlationId)};return this.setCacheOutcome(n,t.correlationId),this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[await G(this.generateResultFromCacheRecord.bind(this),ZF,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 s;if(t.idToken&&(s=Ec(t.idToken.secret,this.config.cryptoInterface.base64Decode)),n.maxAge||n.maxAge===0){let o=s?.auth_time;if(!o)throw te(Sx);Ux(o,n.maxAge)}return ba.generateAuthenticationResult(this.cryptoUtils,this.authority,t,!0,n,this.performanceClient,s)}};var vU={sendGetRequestAsync:()=>Promise.reject(te(vt)),sendPostRequestAsync:()=>Promise.reject(te(vt))};var fl={};$n(fl,{getAuthorizationCodePayload:()=>_$e,getAuthorizeUrl:()=>b$e,getStandardAuthorizeRequestParameters:()=>h$e,validateAuthorizationResponse:()=>lce});function h$e(e,t,n,s){let o=t.correlationId,r=new Map;lm(r,t.embeddedClientId||t.extraQueryParameters?.[cl]||e.clientId);let i=[...t.scopes||[],...t.extraScopesToConsent||[]];if(am(r,i,!0,e.authority.options.OIDCOptions?.defaultScopes),Fx(r,t.resource),cm(r,t.redirectUri),dm(r,o),kF(r,t.responseMode),pm(r),LF(r),t.prompt&&(EF(r,t.prompt),s?.addFields({prompt:t.prompt},o)),t.domainHint&&(wF(r,t.domainHint),s?.addFields({domainHintFromRequest:!0},o)),t.prompt!==fx.SELECT_ACCOUNT)if(t.sid&&t.prompt===fx.NONE)n.verbose("1tvqyx",t.correlationId),M0(r,t.sid),s?.addFields({sidFromRequest:!0},o);else if(t.account){let a=y$e(t.account),l=x$e(t.account);if(l&&t.domainHint&&(n.warning("0wkg3v",t.correlationId),l=null),l){n.verbose("1eyfsw",t.correlationId),Dh(r,l),s?.addFields({loginHintFromClaim:!0},o);try{let c=ml(t.account.homeAccountId);Tc(r,c)}catch{n.verbose("12ugck",t.correlationId)}}else if(a&&t.prompt===fx.NONE){n.verbose("1rmd8s",t.correlationId),M0(r,a),s?.addFields({sidFromClaim:!0},o);try{let c=ml(t.account.homeAccountId);Tc(r,c)}catch{n.verbose("12ugck",t.correlationId)}}else if(t.loginHint)n.verbose("0y3007",t.correlationId),Dh(r,t.loginHint),Gu(r,t.loginHint),s?.addFields({loginHintFromRequest:!0},o);else if(t.account.username){n.verbose("02f507",t.correlationId),Dh(r,t.account.username),s?.addFields({loginHintFromUpn:!0},o);try{let c=ml(t.account.homeAccountId);Tc(r,c)}catch{n.verbose("12ugck",t.correlationId)}}}else t.loginHint&&(n.verbose("0g01ey",t.correlationId),Dh(r,t.loginHint),Gu(r,t.loginHint),s?.addFields({loginHintFromRequest:!0},o));else n.verbose("169k9v",t.correlationId);return t.nonce&&CF(r,t.nonce),t.state&&Ix(r,t.state),(t.claims||e.clientCapabilities&&e.clientCapabilities.length>0)&&um(r,t.claims,e.clientCapabilities),t.embeddedClientId&&wc(r,e.clientId,e.redirectUri),e.instanceAware&&(!t.extraQueryParameters||!Object.keys(t.extraQueryParameters).includes(Lh))&&$x(r),r}function b$e(e,t){let n=ul(t);return St.appendQueryString(e.authorizationEndpoint,n)}function _$e(e,t){if(lce(e,t),!e.code)throw te(bF);return e}function lce(e,t){if(!e.state||!t)throw e.state?te(P0,"Cached State"):te(P0,"Server State");let n,s;try{n=decodeURIComponent(e.state)}catch{throw te(rm,e.state)}try{s=decodeURIComponent(t)}catch{throw te(rm,e.state)}if(n!==s)throw te(lF);if(e.error||e.error_description||e.suberror){let o=v$e(e);throw H0(e.error,e.error_description,e.suberror)?new wn(e.error||"",e.error_description,e.suberror,e.timestamp||"",e.trace_id||"",e.correlation_id||"",e.claims||"",o):new or(e.error||"",e.error_description,e.suberror,o)}}function v$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 y$e(e){return e.idTokenClaims?.sid||null}function x$e(e){return e.loginHint||e.idTokenClaims?.login_hint||null}function Zx(e,t){if(e){if(t.resource&&(cce(t.extraParameters)||cce(t.extraQueryParameters)))throw te(xF);if(!t.resource)throw te(yF)}}function cce(e){return e?Object.prototype.hasOwnProperty.call(e,"resource"):!1}var Ju={};$n(Ju,{postRequestFailed:()=>T$e,unexpectedError:()=>k$e});var k$e="unexpected_error",T$e="post_request_failed";var uce=",",dce="|";function S$e(e){let{skus:t,libraryName:n,libraryVersion:s,extensionName:o,extensionVersion:r}=e,i=new Map([[0,[n,s]],[2,[o,r]]]),a=[];if(t?.length){if(a=t.split(uce),a.length<4)return t}else a=Array.from({length:4},()=>dce);return i.forEach((l,c)=>{l.length===2&&l[0]?.length&&l[1]?.length&&w$e({skuArr:a,index:c,skuName:l[0],skuVersion:l[1]})}),a.join(uce)}function w$e(e){let{skuArr:t,index:n,skuName:s,skuVersion:o}=e;n>=t.length||(t[n]=[s,o].join(dce))}var xm=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=bx+sm+t.clientId}generateCurrentRequestHeaderValue(){let t=`${this.apiId}${Bu}${this.cacheOutcome}`,n=[this.wrapperSKU,this.wrapperVer],s=this.getNativeBrokerErrorCode();s?.length&&n.push(`broker_error=${s}`);let o=n.join(Bu),r=this.getRegionDiscoveryFields(),i=[t,r].join(Bu);return[b0,i,o].join(_0)}generateLastRequestHeaderValue(){let t=this.getLastRequests(),n=e.maxErrorsToSend(t),s=t.failedRequests.slice(0,2*n).join(Bu),o=t.errors.slice(0,n).join(Bu),r=t.errors.length,i=n=Jj&&(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(e2),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),s=t.errors.length;if(n===s)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,s=0,o=0,r=t.errors.length;for(n=0;ntypeof e=="number"&&e in Qce?Qce[e]:"unknown",Ye;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(Ye||(Ye={}));var IU={scopes:$e.OIDC_DEFAULT_SCOPES},PU="jwk";var X0="msal.db",Kce=1,Wce=`${X0}.keys`,Ys={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},Jce=[Ys.Default,Ys.Skip,Ys.RefreshTokenAndNetwork];function tk(e){return encodeURIComponent(ed(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function Ei(e){return Zce(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function ed(e){return Zce(new TextEncoder().encode(e))}function Zce(e){let t=Array.from(e,n=>String.fromCodePoint(n)).join("");return btoa(t)}var LU="pkce_not_created",RU="ear_jwk_empty",Xce="ear_jwe_empty",MU="crypto_nonexistent",Kh="empty_navigate_uri",eue="hash_empty_error",Wh="no_state_in_hash",tue="hash_does_not_contain_known_properties",eI="unable_to_parse_state",nue="state_interaction_type_mismatch",sue="interaction_in_progress",oue="interaction_in_progress_cancelled",rue="popup_window_error",iue="empty_window_error",nk="user_cancelled",aue="redirect_bridge_empty_response",lue="redirect_in_iframe",cue="block_iframe_reload",uue="block_nested_popups";var Jh="silent_logout_unsupported",due="no_account_error";var pue="no_token_request_cache_error",mue="unable_to_parse_token_request_cache_error";var tI="non_browser_environment",Zh="database_not_open",sk="no_network_connectivity",gue="post_request_failed",fue="get_request_failed",$U="failed_to_parse_response";var nI="crypto_key_not_found",hue="auth_code_required",bue="auth_code_or_nativeAccountId_required",_ue="spa_code_and_nativeAccountId_present",sI="database_unavailable",vue="unable_to_acquire_token_from_native_platform",yue="native_handshake_timeout",xue="native_extension_not_installed",oI="native_connection_not_established",Xh="uninitialized_public_client_application",kue="native_prompt_not_supported",Tue="invalid_base64_string",Sue="invalid_pop_token_request",wue="failed_to_build_headers",Eue="failed_to_parse_headers",rI="failed_to_decrypt_ear_response",Sm="timed_out",Cue="empty_response";function Ls(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(Tue)}let n=atob(t);return Uint8Array.from(n,s=>s.codePointAt(0)||0)}var E$e="RSASSA-PKCS1-v1_5",eb="AES-GCM",Pue="HKDF",zU="SHA-256",C$e=2048,A$e=new Uint8Array([1,0,1]),Aue="0123456789abcdef",Iue=new Uint32Array(1),NU="raw",Lue="encrypt",jU="decrypt",I$e="deriveKey",P$e="crypto_subtle_undefined",FU={name:E$e,hash:zU,modulusLength:C$e,publicExponent:A$e};function Rue(e){if(!window)throw ge(tI);if(!window.crypto)throw ge(MU);if(!e&&!window.crypto.subtle)throw ge(MU,P$e)}async function UU(e){let n=new TextEncoder().encode(e);return window.crypto.subtle.digest(zU,n)}function Mue(e){return window.crypto.getRandomValues(e)}function DU(){return window.crypto.getRandomValues(Iue),Iue[0]}function Nr(){let e=Date.now(),t=DU()*1024+(DU()&1023),n=new Uint8Array(16),s=Math.trunc(t/2**30),o=t&2**30-1,r=DU();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|s>>>8,n[7]=s,n[8]=128|o>>>24,n[9]=o>>>16,n[10]=o>>>8,n[11]=o,n[12]=r>>>24,n[13]=r>>>16,n[14]=r>>>8,n[15]=r;let i="";for(let a=0;a>>4),i+=Aue.charAt(n[a]&15),(a===3||a===5||a===7||a===9)&&(i+="-");return i}async function $ue(e,t){return window.crypto.subtle.generateKey(FU,e,t)}async function iI(e){return window.crypto.subtle.exportKey(PU,e)}async function Due(e,t,n){return window.crypto.subtle.importKey(PU,e,FU,t,n)}async function zue(e,t){return window.crypto.subtle.sign(FU,e,t)}async function tb(){let e=await OU(),n={alg:"dir",kty:"oct",k:Ei(new Uint8Array(e))};return ed(JSON.stringify(n))}async function L$e(e){let t=Ls(e),s=JSON.parse(t).k,o=hl(s);return window.crypto.subtle.importKey(NU,o,eb,!1,[jU])}async function Nue(e,t){let n=t.split(".");if(n.length!==5)throw ge(rI,"jwe_length");let s=await L$e(e).catch(()=>{throw ge(rI,"import_key")});try{let o=new TextEncoder().encode(n[0]),r=hl(n[2]),i=hl(n[3]),a=hl(n[4]),l=a.byteLength*8,c=new Uint8Array(i.length+a.length);c.set(i),c.set(a,i.length);let u=await window.crypto.subtle.decrypt({name:eb,iv:r,tagLength:l,additionalData:o},s,c);return new TextDecoder().decode(u)}catch{throw ge(rI,"decrypt")}}async function OU(){let e=await window.crypto.subtle.generateKey({name:eb,length:256},!0,[Lue,jU]);return window.crypto.subtle.exportKey(NU,e)}async function qU(e){return window.crypto.subtle.importKey(NU,e,Pue,!1,[I$e])}async function jue(e,t,n){return window.crypto.subtle.deriveKey({name:Pue,salt:t,hash:zU,info:new TextEncoder().encode(n)},e,{name:eb,length:256},!1,[Lue,jU])}async function Fue(e,t,n){let s=new TextEncoder().encode(t),o=window.crypto.getRandomValues(new Uint8Array(16)),r=await jue(e,o,n),i=await window.crypto.subtle.encrypt({name:eb,iv:new Uint8Array(12)},r,s);return{data:Ei(new Uint8Array(i)),nonce:Ei(o)}}async function HU(e,t,n,s){let o=hl(s),r=await jue(e,hl(t),n),i=await window.crypto.subtle.decrypt({name:eb,iv:new Uint8Array(12)},r,o);return new TextDecoder().decode(i)}async function Uue(e){let t=await UU(e),n=new Uint8Array(t);return Ei(n)}var BU=class e extends ot{constructor(t,n){super(t,n),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,e.prototype)}};function nb(e){return new BU(e,Qh(e))}var aI="storage_not_supported";var Oue="in_mem_redirect_unavailable";function R$e(){let e=window.location.hash,t=window.location.search,n=!1,s=!1,o="",r;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,r=p)}if(t&&t.length>1){let u=t.charAt(0)==="?"?t.substring(1):t,p=new URLSearchParams(u);p.has("state")&&(s=!0,o=u,r=p)}if(n&&s){let u=t.charAt(0)==="?"?t.substring(1):t,p=e.charAt(0)==="#"?e.substring(1):e;o=`${u}${p}`,r=new URLSearchParams(o)}if(!o||!r)throw ge(Cue);let i=r.get("state");if(!i)throw ge(Wh);let{libraryState:a}=ha.parseRequestState(Ls,i),{id:l,meta:c}=a;if(!l||!c)throw ge(eI,"missing_library_state");return{params:r,payload:o,urlHash:e,urlQuery:t,hasResponseInHash:n,hasResponseInQuery:s,libraryState:{id:l,meta:c}}}function lI(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 ok(){return window.parent!==window}function M$e(){if(ok())return!1;try{let{libraryState:e}=R$e(),{meta:t}=e;return t.interactionType===Ye.Popup}catch{return!1}}var td=null;function Hue(e,t){td&&(e.verbose("18y01k",t),clearTimeout(td.timeoutId),td.channel.close(),td.reject(ge(oue)),td=null)}async function nd(e,t,n,s,o,r){return new Promise((i,a)=>{t.verbose("1rf6em",s.correlationId);let l=s.correlationId;o.addFields({redirectBridgeTimeoutMs:e,lateResponseExperimentEnabled:r?.iframeTimeoutTelemetry||!1},l);let{libraryState:c}=ha.parseRequestState(n.base64Decode,s.state||""),u=new BroadcastChannel(c.id),p,m=!1,g,f,_=window.setTimeout(()=>{td=null,r?.iframeTimeoutTelemetry?(f=o.startMeasurement(Gce,l),m=!0,g=window.setTimeout(()=>{f?.end({success:!1}),clearTimeout(g),u.close()},6e4)):u.close(),a(ge(Sm,"redirect_bridge_timeout"))},e);td={timeoutId:_,channel:u,reject:a},u.onmessage=h=>{p=h.data.payload;let x=h?.data&&typeof h.data.v=="number"?h.data.v:void 0;if(m){f?.end({success:!!p}),clearTimeout(g),u.close();return}o.addFields({redirectBridgeMessageVersion:x},l),td=null,clearTimeout(_),u.close(),p?i(p):a(ge(aue))}})}function Ci(){return typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:""}function Bue(){let t=new St(window.location.href).getUrlComponents();return`${t.Protocol}//${t.HostNameAndPort}/`}function $$e(){if(Si.getDeserializedResponse(window.location.hash)&&ok())throw ge(cue)}function D$e(e){if(ok()&&!e)throw ge(lue)}function z$e(){if(M$e())throw ge(uue)}function VU(){if(typeof window>"u")throw ge(tI)}function GU(e){if(!e)throw ge(Xh)}function cI(e){VU(),$$e(),z$e(),GU(e)}function QU(e,t){if(cI(e),D$e(t.system.allowRedirectInIframe),t.cache.cacheLocation===Ps.MemoryStorage)throw nb(Oue)}function uI(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 rk(){return Nr()}var uat=_n.addClientCapabilitiesToClaims;var dI=class{constructor(){this.dbName=X0,this.version=Kce,this.tableName=Wce,this.dbOpen=!1}async open(){return new Promise((t,n)=>{let s=window.indexedDB.open(this.dbName,this.version);s.addEventListener("upgradeneeded",o=>{o.target.result.createObjectStore(this.tableName)}),s.addEventListener("success",o=>{let r=o;this.db=r.target.result,this.dbOpen=!0,t()}),s.addEventListener("error",()=>n(ge(sI)))})}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,s)=>{if(!this.db)return s(ge(Zh));let i=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).get(t);i.addEventListener("success",a=>{let l=a;this.closeConnection(),n(l.target.result)}),i.addEventListener("error",a=>{this.closeConnection(),s(a)})})}async setItem(t,n){return await this.validateDbIsOpen(),new Promise((s,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(),s()}),a.addEventListener("error",l=>{this.closeConnection(),o(l)})})}async removeItem(t){return await this.validateDbIsOpen(),new Promise((n,s)=>{if(!this.db)return s(ge(Zh));let i=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).delete(t);i.addEventListener("success",()=>{this.closeConnection(),n()}),i.addEventListener("error",a=>{this.closeConnection(),s(a)})})}async getKeys(){return await this.validateDbIsOpen(),new Promise((t,n)=>{if(!this.db)return n(ge(Zh));let r=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).getAllKeys();r.addEventListener("success",i=>{let a=i;this.closeConnection(),t(a.target.result)}),r.addEventListener("error",i=>{this.closeConnection(),n(i)})})}async containsKey(t){return await this.validateDbIsOpen(),new Promise((n,s)=>{if(!this.db)return s(ge(Zh));let i=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).count(t);i.addEventListener("success",a=>{let l=a;this.closeConnection(),n(l.target.result===1)}),i.addEventListener("error",a=>{this.closeConnection(),s(a)})})}async deleteDatabase(){return this.db&&this.dbOpen&&this.closeConnection(),new Promise((t,n)=>{let s=window.indexedDB.deleteDatabase(X0),o=setTimeout(()=>n(!1),200);s.addEventListener("success",()=>(clearTimeout(o),t(!0))),s.addEventListener("blocked",()=>(clearTimeout(o),t(!0))),s.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,s)=>{t.push(s)}),t}containsKey(t){return this.cache.has(t)}clear(){this.cache.clear()}decryptData(){return Promise.resolve(null)}};var pI=class{constructor(t){this.inMemoryCache=new Rc,this.indexedDBCache=new dI,this.logger=t}handleDatabaseAccessError(t,n){if(t instanceof Tm&&t.errorCode===sI)this.logger.error("1wx7zz",n);else throw t}async getItem(t,n){let s=this.inMemoryCache.getItem(t);if(!s)try{return this.logger.verbose("0naxpl",n),await this.indexedDBCache.getItem(t)}catch(o){this.handleDatabaseAccessError(o,n)}return s}async setItem(t,n,s){this.inMemoryCache.setItem(t,n);try{await this.indexedDBCache.setItem(t,n)}catch(o){this.handleDatabaseAccessError(o,s)}}async removeItem(t,n){this.inMemoryCache.removeItem(t);try{await this.indexedDBCache.removeItem(t)}catch(s){this.handleDatabaseAccessError(s,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(s){this.handleDatabaseAccessError(s,t)}return n}async containsKey(t,n){let s=this.inMemoryCache.containsKey(t);if(!s)try{return this.logger.verbose("03zl2j",n),await this.indexedDBCache.containsKey(t)}catch(o){this.handleDatabaseAccessError(o,n)}return s}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,s){this.logger=t,Rue(s??!1),this.cache=new pI(this.logger),this.performanceClient=n}createNewGuid(){return Nr()}base64Encode(t){return ed(t)}base64Decode(t){return Ls(t)}base64UrlEncode(t){return tk(t)}encodeKid(t){return this.base64UrlEncode(JSON.stringify({kid:t}))}async getPublicKeyThumbprint(t){let n=this.performanceClient?.startMeasurement(bce,t.correlationId),s=await $ue(e.EXTRACTABLE,e.POP_KEY_USAGES),o=await iI(s.publicKey),r={e:o.e,kty:o.kty,n:o.n},i=Vue(r),a=await this.hashString(i),l=await iI(s.privateKey),c=await Due(l,!1,["sign"]);return await this.cache.setItem(a,{privateKey:c,publicKey:s.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(hs.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,s,o){let r=this.performanceClient?.startMeasurement(_ce,o),i=await this.cache.getItem(n,o||"");if(!i)throw ge(nI);let a=await iI(i.publicKey),l=Vue(a),c=tk(JSON.stringify({kid:n})),u=Xx.getShrHeaderString({...s?.header,alg:a.alg,kid:c}),p=tk(u);t.cnf={jwk:JSON.parse(l)};let m=tk(JSON.stringify(t)),g=`${p}.${m}`,_=new TextEncoder().encode(g),h=await zue(i.privateKey,_),x=Ei(new Uint8Array(h)),v=`${g}.${x}`;return r&&r.end({success:!0}),v}async hashString(t){return Uue(t)}};bl.POP_KEY_USAGES=["sign","verify"];bl.EXTRACTABLE=!0;function Vue(e){return JSON.stringify(e,Object.keys(e).sort())}var Gue="acquireTokenSilent",Que="acquireTokenByCode",Yue="acquireTokenPopup",Kue="acquireTokenPreRedirect",mI="acquireTokenRedirect",Wue="ssoSilent",Jue="initializeClientApplication",Zue="localStorageUpdated";var ts="msal",gI="browser",YU="|";var tde=`${ts}.${gI}.log.level`,nde=`${ts}.${gI}.log.pii`,Rat=`${ts}.${gI}.performance.enabled`,sde=`${ts}.${gI}.platform.auth.dom`,KU=`${ts}.version`,Xue="account.keys",ede="token.keys";function Mc(e=2){return e<1?`${ts}.${Xue}`:`${ts}.${e}.${Xue}`}function $c(e,t=2){return t<1?`${ts}.${ede}.${e}`:`${ts}.${t}.${ede}.${e}`}var N$e=24*60*60*1e3,fI={Lax:"Lax",None:"None"},sb=class{initialize(){return Promise.resolve()}getItem(t){let n=`${encodeURIComponent(t)}`,s=document.cookie.split(";");for(let o=0;o{let o=decodeURIComponent(s).trim().split("=");n.push(o[0])}),n}containsKey(t){return this.getKeys().includes(t)}decryptData(){return Promise.resolve(null)}};function j$e(e){let t=new Date;return new Date(t.getTime()+e*N$e).toUTCString()}function _l(e,t){let n=e.getItem(Mc(t));return n?JSON.parse(n):[]}function jr(e,t,n){let s=t.getItem($c(e,n));if(s){let o=JSON.parse(s);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 ode="msal.cache.encryption",F$e="msal.broadcast.cache",hI=class{constructor(t,n,s){if(!window.localStorage)throw nb(aI);this.memoryStorage=new Rc,this.initialized=!1,this.clientId=t,this.logger=n,this.performanceClient=s,this.broadcast=new BroadcastChannel(F$e)}async initialize(t){let n=new sb,s=n.getItem(ode),o={key:"",id:""};if(s)try{o=JSON.parse(s)}catch{}if(o.key&&o.id){let r=es(hl,qce,this.logger,this.performanceClient,t)(o.key);this.encryptionCookie={id:o.id,key:await G(qU,EU,this.logger,this.performanceClient,t)(r)}}else{let r=Nr(),i=await G(OU,Oce,this.logger,this.performanceClient,t)(),a=es(Ei,Hce,this.logger,this.performanceClient,t)(new Uint8Array(i));this.encryptionCookie={id:r,key:await G(qU,EU,this.logger,this.performanceClient,t)(i)};let l={id:r,key:a};n.setItem(ode,JSON.stringify(l),0,!0,fI.None)}await G(this.importExistingCache.bind(this),zce,this.logger,this.performanceClient,t)(t),this.broadcast.addEventListener("message",r=>{this.updateCache(r,t)}),this.initialized=!0}getItem(t){return window.localStorage.getItem(t)}getUserData(t){if(!this.initialized)throw ge(Xh);return this.memoryStorage.getItem(t)}async decryptData(t,n,s){if(!this.initialized||!this.encryptionCookie)throw ge(Xh);if(n.id!==this.encryptionCookie.id)return this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},s),null;let o=await G(HU,CU,this.logger,this.performanceClient,s)(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},s),null}}setItem(t,n){window.localStorage.setItem(t,n)}async setUserData(t,n,s,o,r){if(!this.initialized||!this.encryptionCookie)throw ge(Xh);if(r)this.setItem(t,n);else{let{data:i,nonce:a}=await G(Fue,Bce,this.logger,this.performanceClient,s)(this.encryptionCookie.key,n,this.getContext(t)),l={id:this.encryptionCookie.id,nonce:a,data:i,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(s=>this.removeItem(s));let n=jr(this.clientId,this);n.idToken.forEach(s=>this.removeItem(s)),n.accessToken.forEach(s=>this.removeItem(s)),n.refreshToken.forEach(s=>this.removeItem(s)),this.getKeys().forEach(s=>{(s.startsWith(ts)||s.indexOf(this.clientId)!==-1)&&this.removeItem(s)})}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 s=jr(this.clientId,this);s.idToken=await this.importArray(s.idToken,t),s.accessToken=await this.importArray(s.accessToken,t),s.refreshToken=await this.importArray(s.refreshToken,t),s.idToken.length||s.accessToken.length||s.refreshToken.length?this.setItem($c(this.clientId),JSON.stringify(s)):this.removeItem($c(this.clientId))}async getItemFromEncryptedCache(t,n){if(!this.encryptionCookie)return null;let s=this.getItem(t);if(!s)return null;let o;try{o=JSON.parse(s)}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(HU,CU,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o.nonce,this.getContext(t),o.data)):(this.performanceClient.incrementFields({unencryptedCacheCount:1},n),s)}async importArray(t,n){let s=[],o=[];return t.forEach(r=>{let i=this.getItemFromEncryptedCache(r,n).then(a=>{a?(this.memoryStorage.setItem(r,a),s.push(r)):this.removeItem(r)});o.push(i)}),await Promise.all(o),s}getContext(t){let n="";return t.includes(this.clientId)&&(n=this.clientId),n}updateCache(t,n){this.logger.trace("17cxcm",n);let s=this.performanceClient.startMeasurement(Zue);s.add({isBackground:!0});let{key:o,value:r,context:i}=t.data;if(!o){this.logger.error("0e10qr",n),s.end({success:!1,errorCode:"noKey"});return}if(i&&i!==this.clientId){this.logger.trace("04rtdy",n),s.end({success:!1,errorCode:"contextMismatch"});return}r?(this.memoryStorage.setItem(o,r),this.logger.verbose("1vzsgt",n)):(this.memoryStorage.removeItem(o),this.logger.verbose("04ypih",n)),s.end({success:!0})}};var bI=class{constructor(){if(!window.sessionStorage)throw nb(aI)}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 rde="@azure/msal-browser",Fr="5.6.3";function Dc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var rb=class extends hm{constructor(t,n,s,o,r,i,a){super(t,s,o,r,a),this.cacheConfig=n,this.logger=o,this.internalStorage=new Rc,this.browserStorage=ide(t,n.cacheLocation,o,r),this.temporaryCacheStorage=ide(t,Ps.SessionStorage,o,r),this.cookieStorage=new sb,this.eventHandler=i}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),s=jr(this.clientId,this.browserStorage);this.performanceClient.addFields({preMigrateAcntCount:n.length,preMigrateATCount:s.accessToken.length,preMigrateITCount:s.idToken.length,preMigrateRTCount:s.refreshToken.length},t);for(let r=0;r<2;r++){let i=r;await this.removeStaleAccounts(r,i,t)}for(let r=0;r<2;r++){let i=r;await this.migrateIdTokens(r,i,t)}let o=this.getKMSIValues();for(let r=0;r<2;r++)await this.migrateAccessTokens(r,o,t),await this.migrateRefreshTokens(r,o,t);n=_l(this.browserStorage),s=jr(this.clientId,this.browserStorage),this.performanceClient.addFields({postMigrateAcntCount:n.length,postMigrateATCount:s.accessToken.length,postMigrateITCount:s.idToken.length,postMigrateRTCount:s.refreshToken.length},t)}async updateOldEntry(t,n){let s=this.browserStorage.getItem(t),o=this.validateAndParseJson(s||"");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(nr.isCacheExpired(o.lastUpdatedAt,this.cacheConfig.cacheRetentionDays))return this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},n),null;let r=ob(o)?await this.browserStorage.decryptData(t,o,n):o;return!r||!vs.isCredentialEntity(r)?(this.performanceClient.incrementFields({invalidCacheCount:1},n),null):(vs.isAccessTokenEntity(r)||vs.isRefreshTokenEntity(r))&&r.expiresOn&&nr.isTokenExpired(r.expiresOn,$e.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC)?(this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},n),null):r}async removeStaleAccounts(t,n,s){let o=_l(this.browserStorage,t);if(o.length!==0){for(let r of[...o]){this.performanceClient.incrementFields({oldAcntCount:1},s);let i=this.browserStorage.getItem(r),a=this.validateAndParseJson(i||"");if(!a){Dc(o,r);continue}if(a.lastUpdatedAt)nr.isCacheExpired(a.lastUpdatedAt,this.cacheConfig.cacheRetentionDays)&&(await this.removeAccountOldSchema(r,a,n,s),Dc(o,r));else{a.lastUpdatedAt=Date.now().toString(),this.setItem(r,JSON.stringify(a),s);continue}}this.setAccountKeys(o,s,t)}}async removeAccountOldSchema(t,n,s,o){let i=(ob(n)?await this.browserStorage.decryptData(t,n,o):n)?.homeAccountId;if(i){let a=this.getTokenKeys(s);[...a.idToken].filter(l=>l.includes(i)).forEach(l=>{this.browserStorage.removeItem(l),Dc(a.idToken,l)}),[...a.accessToken].filter(l=>l.includes(i)).forEach(l=>{this.browserStorage.removeItem(l),Dc(a.accessToken,l)}),[...a.refreshToken].filter(l=>l.includes(i)).forEach(l=>{this.browserStorage.removeItem(l),Dc(a.refreshToken,l)}),this.setTokenKeys(a,o,s)}this.performanceClient.incrementFields({expiredAcntRemovedCount:1},o),this.browserStorage.removeItem(t)}getKMSIValues(){let t={},n=this.getTokenKeys().idToken;for(let s of n){let o=this.browserStorage.getUserData(s);if(o){let r=JSON.parse(o),i=uo.extractTokenClaims(r.secret,Ls);i&&(t[r.homeAccountId]=uo.isKmsi(i))}}return t}async migrateIdTokens(t,n,s){let o=jr(this.clientId,this.browserStorage,t);if(o.idToken.length===0)return;let r=jr(this.clientId,this.browserStorage,2),i=_l(this.browserStorage),a=_l(this.browserStorage,n);for(let l of[...o.idToken]){this.performanceClient.incrementFields({oldITCount:1},s);let c=await this.updateOldEntry(l,s);if(!c){Dc(o.idToken,l);continue}let u=i.find(v=>v.includes(c.homeAccountId)),p=a.find(v=>v.includes(c.homeAccountId)),m=null;if(u)m=this.getAccount(u,s);else if(p){let v=this.browserStorage.getItem(p),k=this.validateAndParseJson(v||"");m=k&&ob(k)?await this.browserStorage.decryptData(p,k,s):k}if(!m){this.performanceClient.incrementFields({skipITMigrateCount:1},s);continue}let g=uo.extractTokenClaims(c.secret,Ls),f=this.generateCredentialKey(c),_=this.getIdTokenCredential(f,s),h=Object.keys(g).includes("signin_state"),x=_&&Object.keys(uo.extractTokenClaims(_.secret,Ls)||{}).includes("signin_state");if(!_||c.lastUpdatedAt>_.lastUpdatedAt&&(h||!x)){let v=m.tenantProfiles||[],k=fm(g)||m.realm;if(k&&!v.find(H=>H.tenantId===k)){let H=pl(m.homeAccountId,m.localAccountId,k,g);v.push(H)}m.tenantProfiles=v;let I=this.generateAccountKey(wi.getAccountInfo(m)),E=uo.isKmsi(g);await this.setUserData(I,JSON.stringify(m),s,m.lastUpdatedAt,E),i.includes(I)||i.push(I),await this.setUserData(f,JSON.stringify(c),s,c.lastUpdatedAt,E),this.performanceClient.incrementFields({migratedITCount:1},s),r.idToken.push(f)}}this.setTokenKeys(o,s,t),this.setTokenKeys(r,s),this.setAccountKeys(i,s)}async migrateAccessTokens(t,n,s){let o=jr(this.clientId,this.browserStorage,t);if(o.accessToken.length===0)return;let r=jr(this.clientId,this.browserStorage,2);for(let i of[...o.accessToken]){this.performanceClient.incrementFields({oldATCount:1},s);let a=await this.updateOldEntry(i,s);if(!a){Dc(o.accessToken,i);continue}if(!(a.homeAccountId in n)){this.performanceClient.incrementFields({skipATMigrateCount:1},s);continue}let l=this.generateCredentialKey(a),c=n[a.homeAccountId];if(!r.accessToken.includes(l))await this.setUserData(l,JSON.stringify(a),s,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},s),r.accessToken.push(l);else{let u=this.getAccessTokenCredential(l,s);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),s,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},s))}}this.setTokenKeys(o,s,t),this.setTokenKeys(r,s)}async migrateRefreshTokens(t,n,s){let o=jr(this.clientId,this.browserStorage,t);if(o.refreshToken.length===0)return;let r=jr(this.clientId,this.browserStorage,2);for(let i of[...o.refreshToken]){this.performanceClient.incrementFields({oldRTCount:1},s);let a=await this.updateOldEntry(i,s);if(!a){Dc(o.refreshToken,i);continue}if(!(a.homeAccountId in n)){this.performanceClient.incrementFields({skipRTMigrateCount:1},s);continue}let l=this.generateCredentialKey(a),c=n[a.homeAccountId];if(!r.refreshToken.includes(l))await this.setUserData(l,JSON.stringify(a),s,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},s),r.refreshToken.push(l);else{let u=this.getRefreshTokenCredential(l,s);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),s,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},s))}}this.setTokenKeys(o,s,t),this.setTokenKeys(r,s)}trackVersionChanges(t){let n=this.browserStorage.getItem(KU);n&&(this.logger.info("1wuc87",t),this.performanceClient.addFields({previousLibraryVersion:n},t)),n!==Fr&&this.setItem(KU,Fr,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,s){let o=new Array(3).fill(0),r=[],i=20;for(let a=0;a<=i;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(r.slice(c,u),s,l)}break}catch(l){let c=zh(l);if(c.errorCode===qx.cacheQuotaExceeded&&a0)for(let u=0;u<=2;u++){let p=i.slice(0,u).reduce((g,f)=>g+f,0);if(p>=c)break;let m=c>p+i[u]?p+i[u]:c;c>p&&i[u]>0&&this.removeAccessTokenKeys(a.slice(p,m),s,u)}break}catch(u){let p=zh(u);if(p.errorCode===qx.cacheQuotaExceeded&&c-1?(s.splice(o,1),this.setAccountKeys(s,n)):this.logger.trace("1dytu2",n)}removeAccount(t,n){let s=this.getActiveAccount(n);s?.homeAccountId===t.homeAccountId&&s?.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 s=this.getTokenKeys(),o=s.idToken.indexOf(t);o>-1&&(this.logger.info("05udv9",n),s.idToken.splice(o,1),this.setTokenKeys(s,n))}removeAccessToken(t,n,s=!0){super.removeAccessToken(t,n),s&&this.removeAccessTokenKeys([t],n)}removeAccessTokenKeys(t,n,s=2){this.logger.trace("17o18n",n);let o=this.getTokenKeys(s),r=0;if(t.forEach(i=>{let a=o.accessToken.indexOf(i);a>-1&&(o.accessToken.splice(a,1),r++)}),r>0){this.logger.info("15i5d5",n),this.setTokenKeys(o,n,s);return}}removeRefreshToken(t,n){super.removeRefreshToken(t,n);let s=this.getTokenKeys(),o=s.refreshToken.indexOf(t);o>-1&&(this.logger.info("1f4fq3",n),s.refreshToken.splice(o,1),this.setTokenKeys(s,n))}getTokenKeys(t=2){return jr(this.clientId,this.browserStorage,t)}setTokenKeys(t,n,s=2){if(t.idToken.length===0&&t.accessToken.length===0&&t.refreshToken.length===0){this.removeItem($c(this.clientId,s));return}else this.setItem($c(this.clientId,s),JSON.stringify(t),n)}getIdTokenCredential(t,n){let s=this.browserStorage.getUserData(t);if(!s)return this.logger.trace("1jukz6",n),this.removeIdToken(t,n),null;let o=this.validateAndParseJson(s);return!o||!vs.isIdTokenEntity(o)?(this.logger.trace("1jukz6",n),null):(this.logger.trace("01ju66",n),o)}async setIdTokenCredential(t,n,s){this.logger.trace("13hjll",n);let o=this.generateCredentialKey(t),r=Date.now().toString();t.lastUpdatedAt=r,await this.setUserData(o,JSON.stringify(t),n,r,s);let i=this.getTokenKeys();i.idToken.indexOf(o)===-1&&(this.logger.info("07jy92",n),i.idToken.push(o),this.setTokenKeys(i,n))}getAccessTokenCredential(t,n){let s=this.browserStorage.getUserData(t);if(!s)return this.logger.trace("0bqvx8",n),this.removeAccessTokenKeys([t],n),null;let o=this.validateAndParseJson(s);return!o||!vs.isAccessTokenEntity(o)?(this.logger.trace("0bqvx8",n),null):(this.logger.trace("1o81rl",n),o)}async setAccessTokenCredential(t,n,s){this.logger.trace("1pondb",n);let o=this.generateCredentialKey(t),r=Date.now().toString();t.lastUpdatedAt=r,await this.setUserData(o,JSON.stringify(t),n,r,s);let i=this.getTokenKeys(),a=i.accessToken.indexOf(o);a!==-1&&i.accessToken.splice(a,1),this.logger.trace("1onhey",n),i.accessToken.push(o),this.setTokenKeys(i,n)}getRefreshTokenCredential(t,n){let s=this.browserStorage.getUserData(t);if(!s)return this.logger.trace("0jlizt",n),this.removeRefreshToken(t,n),null;let o=this.validateAndParseJson(s);return!o||!vs.isRefreshTokenEntity(o)?(this.logger.trace("0jlizt",n),null):(this.logger.trace("0nokxi",n),o)}async setRefreshTokenCredential(t,n,s){this.logger.trace("0tcg8d",n);let o=this.generateCredentialKey(t),r=Date.now().toString();t.lastUpdatedAt=r,await this.setUserData(o,JSON.stringify(t),n,r,s);let i=this.getTokenKeys();i.refreshToken.indexOf(o)===-1&&(this.logger.info("0eckjs",n),i.refreshToken.push(o),this.setTokenKeys(i,n))}getAppMetadata(t,n){let s=this.browserStorage.getItem(t);if(!s)return this.logger.trace("1q101h",n),null;let o=this.validateAndParseJson(s);return!o||!vs.isAppMetadataEntity(t,o)?(this.logger.trace("1q101h",n),null):(this.logger.trace("19pvg2",n),o)}setAppMetadata(t,n){this.logger.trace("0cyma6",n);let s=vs.generateAppMetadataKey(t);this.setItem(s,JSON.stringify(t),n)}getServerTelemetry(t,n){let s=this.browserStorage.getItem(t);if(!s)return this.logger.trace("0jk19c",n),null;let o=this.validateAndParseJson(s);return!o||!vs.isServerTelemetryEntity(t,o)?(this.logger.trace("0jk19c",n),null):(this.logger.trace("12jguk",n),o)}setServerTelemetry(t,n,s){this.logger.trace("1poh61",s),this.setItem(t,JSON.stringify(n),s)}getAuthorityMetadata(t,n){let s=this.internalStorage.getItem(t);if(!s)return this.logger.trace("1r39oe",n),null;let o=this.validateAndParseJson(s);return o&&vs.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(ek.WRAPPER_SKU,t),this.internalStorage.setItem(ek.WRAPPER_VER,n)}getWrapperMetadata(){let t=this.internalStorage.getItem(ek.WRAPPER_SKU)||"",n=this.internalStorage.getItem(ek.WRAPPER_VER)||"";return[t,n]}setAuthorityMetadata(t,n,s){this.logger.trace("07w8n2",s),this.internalStorage.setItem(t,JSON.stringify(n))}getActiveAccount(t){let n=this.generateCacheKey($e.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS),s=this.browserStorage.getItem(n);if(!s)return this.logger.trace("08gw0e",t),null;let o=this.validateAndParseJson(s);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 s=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(s,JSON.stringify(o),n)}else this.logger.verbose("1bp5z5",n),this.browserStorage.removeItem(s);this.eventHandler.emitEvent(Ze.ACTIVE_ACCOUNT_CHANGED,n)}getThrottlingCache(t,n){let s=this.browserStorage.getItem(t);if(!s)return this.logger.trace("1h4wa6",n),null;let o=this.validateAndParseJson(s);return!o||!vs.isThrottlingEntity(t,o)?(this.logger.trace("1h4wa6",n),null):(this.logger.trace("0of6n8",n),o)}setThrottlingCache(t,n,s){this.logger.trace("0wfgh6",s),this.setItem(t,JSON.stringify(n),s)}getTemporaryCache(t,n,s){let o=s?this.generateCacheKey(t):t,r=this.temporaryCacheStorage.getItem(o);if(!r){if(this.cacheConfig.cacheLocation===Ps.LocalStorage){let i=this.browserStorage.getItem(o);if(i)return this.logger.trace("1yt61y",n),i}return this.logger.trace("1qhy81",n),null}return r}setTemporaryCache(t,n,s){let o=s?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(ts)!==-1||n.indexOf(this.clientId)!==-1)&&this.removeTemporaryItem(n)}),this.browserStorage.getKeys().forEach(n=>{(n.indexOf(ts)!==-1||n.indexOf(this.clientId)!==-1)&&this.browserStorage.removeItem(n)}),this.internalStorage.clear()}generateCacheKey(t){return Nn.startsWith(t,ts)?t:`${ts}.${this.clientId}.${t}`}generateCredentialKey(t){let n=t.credentialType===$e.CredentialType.REFRESH_TOKEN&&t.familyId||t.clientId,s=t.tokenType&&t.tokenType.toLowerCase()!==$e.AuthenticationScheme.BEARER.toLowerCase()?t.tokenType.toLowerCase():"";return[`${ts}.${2}`,t.homeAccountId,t.environment,t.credentialType,n,t.realm||"",t.target||"",s].join(YU).toLowerCase()}generateAccountKey(t){let n=t.homeAccountId.split(".")[1];return[`${ts}.${2}`,t.homeAccountId,t.environment,n||t.tenantId||""].join(YU).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,s){this.logger.trace("1tzef5",n);let o=ed(JSON.stringify(t));if(this.setTemporaryCache(En.REQUEST_PARAMS,o,!0),s){let r=ed(s);this.setTemporaryCache(En.VERIFIER,r,!0)}}getCachedRequest(t){this.logger.trace("0uen20",t);let n=this.getTemporaryCache(En.REQUEST_PARAMS,t,!0);if(!n)throw ge(pue);let s=this.getTemporaryCache(En.VERIFIER,t,!0),o,r="";try{o=JSON.parse(Ls(n)),s&&(r=Ls(s))}catch{throw this.logger.errorPii("0ewsey",t),this.logger.error("0tvdic",t),ge(mue)}return[o,r]}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=`${ts}.${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(""),lI(window),null}}setInteractionInProgress(t,n=xa.SIGNIN,s=!1,o=""){let r=`${ts}.${En.INTERACTION_STATUS_KEY}`;if(t){if(this.getInteractionInProgress())if(s)this.logger.warning("1pmscr",o),Hue(this.logger,o),this.removeTemporaryItem(r);else throw ge(sue);this.setTemporaryCache(r,JSON.stringify({clientId:this.clientId,type:n}),!1)}else!t&&this.getInteractionInProgress()?.clientId===this.clientId&&this.removeTemporaryItem(r)}async hydrateCache(t,n){let s=vs.createIdTokenEntity(t.account.homeAccountId,t.account.environment,t.idToken,this.clientId,t.tenantId),o=vs.createAccessTokenEntity(t.account.homeAccountId,t.account.environment,t.accessToken,this.clientId,t.tenantId,t.scopes.join(" "),t.expiresOn?nr.toSecondsFromDate(t.expiresOn):0,t.extExpiresOn?nr.toSecondsFromDate(t.extExpiresOn):0,Ls,void 0,t.tokenType,void 0,n.sshKid);n.resource&&(o.resource=n.resource);let r={idToken:s,accessToken:o};return this.saveCacheRecord(r,t.correlationId,uo.isKmsi(uo.extractTokenClaims(t.idToken,Ls)),wt.hydrateCache)}async saveCacheRecord(t,n,s,o,r){try{await super.saveCacheRecord(t,n,s,o,r)}catch(i){if(i instanceof Wu&&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 i}}};function ide(e,t,n,s){try{switch(t){case Ps.LocalStorage:return new hI(e,n,s);case Ps.SessionStorage:return new bI;case Ps.MemoryStorage:default:break}}catch(o){n.error(o,"")}return new Rc}var ade=(e,t,n,s)=>{let o={cacheLocation:Ps.MemoryStorage,cacheRetentionDays:5};return new rb(e,o,Qu,t,n,s)};function lde(e,t,n,s,o){return e.verbose("1yd030",s),n?t.getAllAccounts(o,s):[]}function cde(e,t,n,s){t.trace("0u7b90",s);let o=n.getAccountInfoFilteredBy(e,s);return o?(t.verbose("0btgll",s),o):(t.verbose("0ltaj5",s),null)}function ude(e,t,n){t.setActiveAccount(e,n)}function dde(e,t){return e.getActiveAccount(t)}var U$e="msal.broadcast.event",_I=class{constructor(t){this.eventCallbacks=new Map,this.logger=t||new _s({}),typeof BroadcastChannel<"u"&&(this.broadcastChannel=new BroadcastChannel(U$e)),this.invokeCrossTabCallbacks=this.invokeCrossTabCallbacks.bind(this)}addEventCallback(t,n,s){if(typeof window<"u"){let o=s||rk();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,s,o,r){let i={eventType:t,interactionType:s||null,payload:o||null,error:r||null,correlationId:n,timestamp:Date.now()};switch(t){case Ze.LOGIN_SUCCESS:case Ze.LOGOUT_SUCCESS:case Ze.ACTIVE_ACCOUNT_CHANGED:this.broadcastChannel?.postMessage(i)}this.invokeCallbacks(i)}invokeCallbacks(t){this.eventCallbacks.forEach(([n,s],o)=>{(s.length===0||s.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 ib=class{constructor(t,n,s,o,r,i,a,l,c){this.config=t,this.browserStorage=n,this.browserCrypto=s,this.networkClient=this.config.system.networkClient,this.eventHandler=r,this.navigationClient=i,this.platformAuthProvider=c,this.correlationId=l,this.logger=o.clone(xs.MSAL_SKU,Fr),this.performanceClient=a}};function wm(e,t,n,s){n.verbose("0bd1la",s);let o=e||t||"";return St.getAbsoluteUrl(o,Ci())}function Bn(e,t,n,s,o,r){o.verbose("1p12tq",n);let i={clientId:t,correlationId:n,apiId:e,forceRefresh:!1,wrapperSKU:s.getWrapperMetadata()[0],wrapperVer:s.getWrapperMetadata()[1]};return new xm(i,s)}async function rr(e,t,n,s,o,r,i,a,l){let c=a&&a.hasOwnProperty("instance_aware")?a.instance_aware:void 0,u={protocolMode:e.system.protocolMode,OIDCOptions:e.auth.OIDCOptions,knownAuthorities:e.auth.knownAuthorities,cloudDiscoveryMetadata:e.auth.cloudDiscoveryMetadata,authorityMetadata:e.auth.authorityMetadata},p=r||e.auth.authority,m=c?.length?c==="true":e.auth.instanceAware,g=l&&m?e.auth.authority.replace(St.getDomainFromUrl(p),l.environment):p,f=Pc.generateAuthority(g,i||e.auth.azureCloudOptions),_=await G(W0.createDiscoveredInstance,Lce,o,n,t)(f,e.system.networkClient,s,u,o,t,n);if(l&&!_.isAlias(l.environment))throw Pt(tr.authorityMismatch);return _}async function ab(e,t,n,s,o){if(o)try{e.removeAccount(o,s),n.verbose("0s4z6h",s)}catch{n.error("0mgg1d",s)}else try{n.verbose("0zj631",s),e.clear(s),await t.clearKeystore(s)}catch{n.error("12ih0c",s)}}async function ik(e,t,n,s,o){let r=e.authority||t.auth.authority,i=[...e&&e.scopes||[]],a={...e,correlationId:e.correlationId,authority:r,scopes:i};if(!a.authenticationScheme)a.authenticationScheme=$e.AuthenticationScheme.BEARER,s.verbose("1l4fwv",o);else{if(a.authenticationScheme===$e.AuthenticationScheme.SSH){if(!e.sshJwk)throw Pt(tr.missingSshJwk);if(!e.sshKid)throw Pt(tr.missingSshKid)}s.verbose("1ecmns",o)}return a}async function pde(e,t,n,s,o){let r=await G(ik,Hh,o,s,e.correlationId)(e,n,s,o,e.correlationId);return{...e,...r,account:t,forceRefresh:e.forceRefresh||!1}}function vI(e,t){let n,s=e.httpMethod;if(t===pn.EAR){if(s&&s!==$e.HttpMethod.POST)throw Pt(tr.invalidRequestMethodForEAR);n=$e.HttpMethod.POST}else n=s||$e.HttpMethod.GET;return n}var ir=class extends ib{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 s=this.getLogoutHintFromIdTokenClaims(t.account);s&&(this.logger.verbose("0st5di",this.correlationId),n.logoutHint=s)}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,Ci())):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,Ci())):(this.logger.verbose("17s5rf",n.correlationId),n.postLogoutRedirectUri=St.getAbsoluteUrl(Ci(),Ci())):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),Zu,this.logger,this.performanceClient,this.correlationId)(t);return new ym(n,this.performanceClient)}async getClientConfiguration(t){let{serverTelemetryManager:n,requestAuthority:s,requestAzureCloudOptions:o,requestExtraQueryParameters:r,account:i}=t,a=t.authority||await G(rr,_a,this.logger,this.performanceClient,this.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,s,o,r,i),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:xs.MSAL_SKU,version:Fr,cpu:"",os:""},telemetry:this.config.telemetry}}};async function sd(e,t,n,s,o,r,i,a){let l=wm(e.redirectUri,n.auth.redirectUri,r,a);new URL(l).origin!==new URL(window.location.href).origin&&(r.warning("08qbvw",a),i.addFields({isRedirectUriCrossOrigin:!0},a));let c={interactionType:t},u=ha.setRequestState(s,e&&e.state||"",c),m={...await G(ik,Hh,r,i,a)({...e,correlationId:a},n,i,r,a),redirectUri:l,state:u,nonce:e.nonce||Nr(),responseMode:n.auth.OIDCOptions.responseMode},g={...m,httpMethod:vI(m,n.system.protocolMode)};if(e.loginHint||e.sid)return g;let f=e.account||o.getActiveAccount(a);return f&&(r.verbose("1eqlb3",a),r.verbosePii("0tf99t",a),g.account=f),g}function mde(e,t){if(!t)return null;try{return ha.parseRequestState(e.base64Decode,t).libraryState.meta}catch{throw te(hs.invalidState)}}function Em(e,t,n,s){let o=Si.getDeserializedResponse(e);if(!o)throw Si.stripLeadingHashOrQuery(e)?(n.error("13pl0s",s),n.errorPii("1097vx",s),ge(tue)):(n.error("18h0l1",s),ge(eue));return o}function gde(e,t,n){if(!e.state)throw ge(Wh);let s=mde(t,e.state);if(!s)throw ge(eI);if(s.interactionType!==n)throw ge(nue)}var lb=class{constructor(t,n,s,o,r){this.authModule=t,this.browserStorage=n,this.authCodeRequest=s,this.logger=o,this.performanceClient=r}async handleCodeResponse(t,n,s){let o;try{o=fl.getAuthorizationCodePayload(t,n.state)}catch(r){throw r instanceof or&&r.subError===nk?ge(nk):r}return G(this.handleCodeResponseFromServer.bind(this),ys.HandleCodeResponseFromServer,this.logger,this.performanceClient,n.correlationId)(o,n,s)}async handleCodeResponseFromServer(t,n,s,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 i=this.createCcsCredentials(n);i&&(this.authCodeRequest.ccsCredential=i)}return await G(this.authModule.acquireToken.bind(this.authModule),Pce,this.logger,this.performanceClient,n.correlationId)(this.authCodeRequest,s,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 fde="ContentError",hde="PageException",bde="user_switch";var _de="USER_INTERACTION_REQUIRED",vde="USER_CANCEL",yde="NO_NETWORK",xde="PERSISTENT_ERROR",kde="DISABLED",Tde="ACCOUNT_UNAVAILABLE",Sde="UX_NOT_ALLOWED";var O$e=-2147186943,Ai=class e extends ot{constructor(t,n,s){super(t,n||Qh(t)),Object.setPrototypeOf(this,e.prototype),this.name="NativeAuthError",this.ext=s}};function od(e){if(e.ext&&e.ext.status&&(e.ext.status===xde||e.ext.status===kde)||e.ext&&e.ext.error&&e.ext.error===O$e)return!0;switch(e.errorCode){case fde:case hde:return!0;default:return!1}}function Cm(e,t,n){if(n&&n.status)switch(n.status){case Tde:return _m(gl.nativeAccountUnavailable,Qh(e));case _de:return new wn(e,t);case vde:return ge(nk);case yde:return ge(sk);case Sde:return _m(gl.uxNotAllowed)}return new Ai(e,t,n)}var cb=class extends ir{async acquireToken(t){let n=Bn(wt.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=await G(this.getClientConfiguration.bind(this),Zu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,account:t.account}),o=new Jx(s,this.performanceClient);this.logger.verbose("0wa871",this.correlationId);try{let i=(await G(o.acquireCachedToken.bind(o),Cce,this.logger,this.performanceClient,t.correlationId)(t))[0];return this.performanceClient.addFields({fromCache:!0},t.correlationId),i}catch(r){throw r instanceof Tm&&r.errorCode===nI&&this.logger.verbose("06wena",this.correlationId),r}}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 ib{constructor(t,n,s,o,r,i,a,l,c,u,p,m){super(t,n,s,o,r,i,l,m,c),this.apiId=a,this.accountId=u,this.platformAuthProvider=c,this.nativeStorageManager=p,this.silentCacheClient=new cb(t,this.nativeStorageManager,s,o,r,i,l,m,c);let g=this.platformAuthProvider.getExtensionName();this.skus=xm.makeExtraSkuString({libraryName:xs.MSAL_SKU,libraryVersion:Fr,extensionName:g,extensionVersion:this.platformAuthProvider.getExtensionVersion()})}addRequestSKUs(t){t.extraParameters={...t.extraParameters,[kc.X_CLIENT_EXTRA_SKU]:this.skus}}async acquireToken(t,n){this.logger.trace("03qeos",this.correlationId);let s=this.performanceClient.startMeasurement(J0,t.correlationId),o=nr.nowSeconds(),r=Bn(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let i=await this.initializeNativeRequest(t);try{let l=await this.acquireTokensFromCache(this.accountId,i);return s.end({success:!0,isNativeBroker:!1,fromCache:!0}),l}catch(l){if(n===Ys.AccessToken)throw this.logger.info("0eitbc",this.correlationId),l;this.logger.info("0957j1",this.correlationId)}let a=await this.platformAuthProvider.sendMessage(i);return await this.handleNativeResponse(a,i,o).then(l=>(s.end({success:!0,isNativeBroker:!0,requestId:l.requestId}),r.clearNativeBrokerErrorCode(),l)).catch(l=>{throw s.end({success:!1,errorCode:l.errorCode,subErrorCode:l.subError,isNativeBroker:!0}),l})}catch(i){throw i instanceof Ai&&r.setNativeBrokerErrorCode(i.errorCode),i}}createSilentCacheRequest(t,n){return{authority:t.authority,correlationId:this.correlationId,scopes:bs.fromString(t.scope).asArray(),account:n,forceRefresh:!1}}async acquireTokensFromCache(t,n){if(!t)throw this.logger.warning("1ndf3e",this.correlationId),te(hs.noAccountFound);let s=this.browserStorage.getBaseAccountInfo({nativeAccountId:t},n.correlationId);if(!s)throw te(hs.noAccountFound);try{let o=this.createSilentCacheRequest(n,s),r=await this.silentCacheClient.acquireToken(o),i={...s,idTokenClaims:r?.idTokenClaims,idToken:r?.idToken};return{...r,account:i}}catch(o){throw o}}async acquireTokenRedirect(t,n,s){this.logger.trace("0luikq",this.correlationId);let o=await this.initializeNativeRequest(t),r=s?.navigateToLoginRequestUrl??!0;try{await this.platformAuthProvider.sendMessage(o)}catch(l){if(l instanceof Ai&&(Bn(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).setNativeBrokerErrorCode(l.errorCode),od(l)))throw l}this.browserStorage.setTemporaryCache(En.NATIVE_REQUEST,JSON.stringify(o),!0);let i={apiId:wt.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},a=r?window.location.href:wm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId);n.end({success:!0}),await this.navigationClient.navigateExternal(a,i)}async handleRedirectPromise(t,n){if(this.logger.trace("1c5lhw",this.correlationId),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("0le6uv",this.correlationId),null;let s=this.browserStorage.getCachedNativeRequest();if(!s)return this.logger.verbose("0a6zjb",this.correlationId),t&&n&&t?.addFields({errorCode:"no_cached_request"},n),null;let{prompt:o,...r}=s;o&&this.logger.verbose("0ac34v",this.correlationId),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(En.NATIVE_REQUEST));let i=nr.nowSeconds();try{this.logger.verbose("003x5a",this.correlationId);let a=await this.platformAuthProvider.sendMessage(r),l=await this.handleNativeResponse(a,r,i);return Bn(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,s){this.logger.trace("1bojln",this.correlationId);let o=uo.extractTokenClaims(t.id_token,Ls),r=this.createHomeAccountIdentifier(t,o),i=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(r!==i&&t.account.id!==n.accountId)throw Cm(bde);let a=await rr(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n.authority),l=B0(this.browserStorage,a,r,Ls,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,s);return await this.cacheAccount(l,uo.isKmsi(o)),await this.cacheNativeTokens(t,n,r,o,t.access_token,c.tenantId,s),c}createHomeAccountIdentifier(t,n){return wi.generateHomeAccountId(t.client_info||"",wo.Default,this.logger,this.browserCrypto,this.correlationId,n)}generateScopes(t,n){return n?bs.fromString(n):bs.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 s=new sr(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(hs.keyIdMissing);return s.signPopToken(t.access_token,n.keyId,o)}else return t.access_token}async generateAuthenticationResult(t,n,s,o,r,i){let a=this.addTelemetryFromNativeResponse(t.properties.MATS),l=this.generateScopes(n.scope,t.scope),c=t.account.properties||{},u=c.UID||s.oid||s.sub||"",p=c.TenantId||s.tid||"",m=gm(wi.getAccountInfo(o),void 0,s,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:r,uniqueId:u,tenantId:p,scopes:l.asArray(),account:m,idToken:t.id_token,idTokenClaims:s,accessToken:g,fromCache:a?this.isResponseFromCache(a):!1,expiresOn:nr.toDateFromSeconds(i+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(wi.getAccountInfo(t),this.correlationId)}cacheNativeTokens(t,n,s,o,r,i,a){let l=vs.createIdTokenEntity(s,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=vs.createAccessTokenEntity(s,n.authority,r,n.clientId,o.tid||i,p.printScopes(),u,0,Ls,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:s,...o}=t,r=new bs(s||[]);r.appendScopes($e.OIDC_DEFAULT_SCOPES);let i={...o,accountId:this.accountId,clientId:this.config.auth.clientId,authority:n.urlString,scope:r.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(i.signPopToken&&t.popKid)throw ge(Sue);if(this.handleExtraBrokerParams(i),i.extraParameters=i.extraParameters||{},i.extraParameters.telemetry=Eo.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 sr(this.browserCrypto,this.performanceClient),c;if(i.keyId)c=this.browserCrypto.base64UrlEncode(JSON.stringify({kid:i.keyId})),i.signPopToken=!1;else{let u=await G(l.generateCnf.bind(l),ys.PopTokenGenerateCnf,this.logger,this.performanceClient,this.correlationId)(a,this.logger);c=u.reqCnfString,i.keyId=u.kid,i.signPopToken=!0}i.reqCnf=c}return this.addRequestSKUs(i),i}async getCanonicalAuthority(t){let n=t.authority||this.config.auth.authority,{azureCloudOptions:s,account:o}=t;o&&await rr(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,s,void 0,o);let r=new St(n);return r.validateAsUri(),r}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(kue)}}handleExtraBrokerParams(t){let n=t.extraParameters&&t.extraParameters.hasOwnProperty(kc.BROKER_CLIENT_ID)&&t.extraParameters.hasOwnProperty(kc.BROKER_REDIRECT_URI)&&t.extraParameters.hasOwnProperty(kc.CLIENT_ID);if(!t.embeddedClientId&&!n)return;let s="",o=t.redirectUri;t.embeddedClientId?(t.redirectUri=this.config.auth.redirectUri,s=t.embeddedClientId):t.extraParameters&&(t.redirectUri=t.extraParameters[kc.BROKER_REDIRECT_URI],s=t.extraParameters[kc.CLIENT_ID]),t.extraParameters={child_client_id:s,child_redirect_uri:o},this.performanceClient?.addFields({embeddedClientId:s,embeddedRedirectUri:o},t.correlationId)}};var q$e=new Map([["e","AAD"],["m","MSA"]]);function H$e(e){if(!e)return null;try{let s=(/%(?:[0-9A-Fa-f]{2})/.test(e)?decodeURIComponent(e):e).split("|");return s.length<5?null:{accountType:q$e.get(s[0]?.trim()||"")||"",error:s[1]?.trim()||"",subError:s[2]?.trim()||"",cloudInstance:s[3]?.trim()||"",callerDataBoundary:s[4]?.trim()||""}}catch{return null}}function wde(e,t,n){let s=H$e(e.clientdata);s?.accountType&&n.addFields({accountType:s.accountType},t),s?.error&&n.addFields({serverErrorNo:s.error},t),s?.subError&&n.addFields({serverSubErrorNo:s.subError},t)}async function JU(e,t,n,s,o){let r=fl.getStandardAuthorizeRequestParameters({...e.auth,authority:t},n,s,o);if(_n.addLibraryInfo(r,{sku:xs.MSAL_SKU,version:Fr,os:"",cpu:""}),e.system.protocolMode!==pn.OIDC&&_n.addApplicationTelemetry(r,e.telemetry.application),n.platformBroker&&(_n.addNativeBroker(r),n.authenticationScheme===$e.AuthenticationScheme.POP)){let i=new bl(s,o),a=new sr(i,o),l;n.popKid?l=i.encodeKid(n.popKid):l=(await G(a.generateCnf.bind(a),ys.PopTokenGenerateCnf,s,o,n.correlationId)(n,s)).reqCnfString,_n.addPopToken(r,l)}return _n.instrumentBrokerParams(r,n.correlationId,o),r}async function ub(e,t,n,s,o){if(!n.codeChallenge)throw Pt(tr.pkceParamsMissing);let r=await G(JU,Ace,s,o,n.correlationId)(e,t,n,s,o);return _n.addResponseType(r,$e.OAuthResponseType.CODE),_n.addCodeChallengeParams(r,n.codeChallenge,$e.S256_CODE_CHALLENGE_METHOD),_n.addExtraParameters(r,{...n.extraQueryParameters,...n.extraParameters}),fl.getAuthorizeUrl(t,r)}async function db(e,t,n,s,o,r){if(!s.earJwk)throw ge(RU);let i=await JU(t,n,s,o,r);_n.addResponseType(i,$e.OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN),_n.addEARParameters(i,s.earJwk),_n.addCodeChallengeParams(i,s.codeChallenge,$e.S256_CODE_CHALLENGE_METHOD),_n.addExtraParameters(i,{...s.extraParameters});let a=new Map;_n.addExtraParameters(a,s.extraQueryParameters||{}),_n.addCorrelationId(a,s.correlationId);let l=fl.getAuthorizeUrl(n,a);return Ede(e,l,i)}async function pb(e,t,n,s,o,r){let i=await JU(t,n,s,o,r);_n.addResponseType(i,$e.OAuthResponseType.CODE),_n.addCodeChallengeParams(i,s.codeChallenge,s.codeChallengeMethod||$e.S256_CODE_CHALLENGE_METHOD),_n.addExtraParameters(i,{...s.extraParameters});let a=new Map;_n.addExtraParameters(a,s.extraQueryParameters||{}),_n.addCorrelationId(a,s.correlationId);let l=fl.getAuthorizeUrl(n,a);return Ede(e,l,i)}function Ede(e,t,n){let s=e.createElement("form");return s.method="post",s.action=t,n.forEach((o,r)=>{let i=e.createElement("input");i.hidden=!0,i.name=r,i.value=o,s.appendChild(i)}),e.body.appendChild(s),s}async function Cde(e,t,n,s,o,r,i,a,l,c){if(a.verbose("11qcow",e.correlationId),!c)throw ge(oI);let u=new bl(a,l),p=new rd(s,o,u,a,i,s.system.navigationClient,n,l,c,t,r,e.correlationId),{userRequestState:m}=ha.parseRequestState(u.base64Decode,e.state);return G(p.acquireToken.bind(p),J0,a,l,e.correlationId)({...e,state:m,prompt:void 0})}async function zc(e,t,n,s,o,r,i,a,l,c,u,p){if(Ic.removeThrottle(i,o.auth.clientId,e),wde(t,e.correlationId,u),t.accountId)return G(Cde,SU,c,u,e.correlationId)(e,t.accountId,s,o,i,a,l,c,u,p);let m={...e,code:t.code||"",codeVerifier:n},g=new lb(r,i,m,c,u);return await G(g.handleCodeResponse.bind(g),Ice,c,u,e.correlationId)(t,e,s)}async function mb(e,t,n,s,o,r,i,a,l,c,u){if(Ic.removeThrottle(r,s.auth.clientId,e),wde(t,e.correlationId,c),fl.validateAuthorizationResponse(t,e.state),!t.ear_jwe)throw ge(Xce);if(!e.earJwk)throw ge(RU);let p=JSON.parse(await G(Nue,Vce,l,c,e.correlationId)(e.earJwk,t.ear_jwe));if(p.accountId)return G(Cde,SU,l,c,e.correlationId)(e,p.accountId,n,s,r,i,a,l,c,u);let m=new ba(s.auth.clientId,r,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),ys.HandleServerTokenResponse,l,c,e.correlationId)(p,o,nr.nowSeconds(),e,n,g,void 0,void 0,void 0,void 0)}var B$e=32;async function ka(e,t,n){let s=es(V$e,Nce,t,e,n)(e,t,n),o=await G(G$e,jce,t,e,n)(s,e,t,n);return{verifier:s,challenge:o}}function V$e(e,t,n){try{let s=new Uint8Array(B$e);return es(Mue,Uce,t,e,n)(s),Ei(s)}catch{throw ge(LU)}}async function G$e(e,t,n,s){try{let o=await G(UU,Fce,n,t,s)(e);return Ei(new Uint8Array(o))}catch{throw ge(LU)}}var yI=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((s,o)=>{setTimeout(()=>{o(ge(Sm,"failed_to_redirect"))},n.timeout)})}};var xI=class{async sendGetRequestAsync(t,n){let s,o={},r=0,i=Ade(n);try{s=await fetch(t,{method:AU.GET,headers:i})}catch(a){throw vm(ge(window.navigator.onLine?fue:sk),void 0,void 0,a)}o=Ide(s.headers);try{return r=s.status,{headers:o,body:await s.json(),status:r}}catch(a){throw vm(ge($U),r,o,a)}}async sendPostRequestAsync(t,n){let s=n&&n.body||"",o=Ade(n),r,i=0,a={};try{r=await fetch(t,{method:AU.POST,headers:o,body:s})}catch(l){throw vm(ge(window.navigator.onLine?gue:sk),void 0,void 0,l)}a=Ide(r.headers);try{return i=r.status,{headers:a,body:await r.json(),status:i}}catch(l){throw vm(ge($U),i,a,l)}}};function Ade(e){try{let t=new Headers;if(!(e&&e.headers))return t;let n=e.headers;return Object.entries(n).forEach(([s,o])=>{t.append(s,o)}),t}catch(t){throw vm(ge(wue),void 0,void 0,t)}}function Ide(e){try{let t={};return e.forEach((n,s)=>{t[s]=n}),t}catch{throw ge(Eue)}}var Q$e=6e4,Y$e=1e4,K$e=3e4,ZU=2e3;function Pde({auth:e,cache:t,system:n,experimental:s,telemetry:o},r){let i={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:Ku.None,tenant:""},instanceAware:!1,isMcp:!1},a={cacheLocation:Ps.SessionStorage,cacheRetentionDays:5},l={loggerCallback:()=>{},logLevel:$t.Info,piiLoggingEnabled:!1},u={...{...$0,loggerOptions:l,networkClient:r?new xI:vU,navigationClient:new yI,popupBridgeTimeout:n?.popupBridgeTimeout||Q$e,iframeBridgeTimeout:n?.iframeBridgeTimeout||Y$e,redirectNavigationTimeout:K$e,allowRedirectInIframe:!1,navigatePopups:!0,allowPlatformBroker:!1,nativeBrokerHandshakeTimeout:n?.nativeBrokerHandshakeTimeout||ZU,protocolMode:pn.AAD},...n,loggerOptions:n?.loggerOptions||l},p={application:{appName:"",appVersion:""},client:new Cc},m={iframeTimeoutTelemetry:!1};if(n?.protocolMode!==pn.OIDC&&e?.OIDCOptions&&new _s(u.loggerOptions).warning(JSON.stringify(Pt(tr.cannotSetOIDCOptions)),""),n?.protocolMode&&n.protocolMode===pn.OIDC&&u?.allowPlatformBroker)throw Pt(tr.cannotAllowPlatformBroker);return{auth:{...i,...e,OIDCOptions:{...i.OIDCOptions,...e?.OIDCOptions}},cache:{...a,...t},system:u,experimental:{...m,...s},telemetry:{...p,...o}}}var kI=class e{constructor(t,n,s,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=s,this.handshakeEvent=s.startMeasurement(Dce),this.platformAuthType=Eo.PLATFORM_EXTENSION_PROVIDER}async sendMessage(t){this.logger.trace("0on4p2",t.correlationId);let n={method:Yh.GetToken,request:t},s={channel:Eo.CHANNEL_ID,extensionId:this.extensionId,responseId:Nr(),body:n};this.logger.trace("1qadfi",t.correlationId),this.logger.tracePii("1xm533",t.correlationId),this.messageChannel.port1.postMessage(s);let o=await new Promise((i,a)=>{this.resolvers.set(s.responseId,{resolve:i,reject:a})});return this.validatePlatformBrokerResponse(o)}static async createProvider(t,n,s,o){t.trace("15zfnw",o);try{let r=new e(t,n,s,Eo.PREFERRED_EXTENSION_ID);return await r.sendHandshakeRequest(o),r}catch{let i=new e(t,n,s);return await i.sendHandshakeRequest(o),i}}async sendHandshakeRequest(t){this.logger.trace("1dpg9o",t),window.addEventListener("message",this.windowListener,!1);let n={channel:Eo.CHANNEL_ID,extensionId:this.extensionId,responseId:Nr(),body:{method:Yh.HandshakeRequest}};return this.handshakeEvent.add({extensionId:this.extensionId,extensionHandshakeTimeoutMs:this.handshakeTimeoutMs}),this.messageChannel.port1.onmessage=s=>{this.onChannelMessage(s)},window.postMessage(n,window.origin,[this.messageChannel.port2]),new Promise((s,o)=>{this.handshakeResolvers.set(n.responseId,{resolve:s,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(yue)),this.handshakeResolvers.delete(n.responseId)},this.handshakeTimeoutMs)})}onWindowMessage(t){let n=rk();if(this.logger.trace("0jpn5u",n),t.source!==window)return;let s=t.data;if(!(!s.channel||s.channel!==Eo.CHANNEL_ID)&&!(s.extensionId&&s.extensionId!==this.extensionId)&&s.body.method===Yh.HandshakeRequest){let o=this.handshakeResolvers.get(s.responseId);if(!o){this.logger.trace("07buhm",n);return}this.logger.verbose(s.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(xue))}}onChannelMessage(t){let n=rk();this.logger.trace("1py8yf",n);let s=t.data,o=this.resolvers.get(s.responseId),r=this.handshakeResolvers.get(s.responseId);try{let i=s.body.method;if(i===Yh.Response){if(!o)return;let a=s.body.response;if(this.logger.trace("19hpgm",n),this.logger.tracePii("179a24",n),a.status!=="Success")o.reject(Cm(a.code,a.description,a.ext));else if(a.result)a.result.code&&a.result.description?o.reject(Cm(a.result.code,a.result.description,a.result.ext)):o.resolve(a.result);else throw Rh(Ju.unexpectedError,"Event does not contain result.");this.resolvers.delete(s.responseId)}else if(i===Yh.HandshakeResponse){if(!r){this.logger.trace("082qnt",n);return}clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=s.extensionId,this.extensionVersion=s.body.version,this.logger.verbose("0yf5ib",n),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),r.resolve(),this.handshakeResolvers.delete(s.responseId)}}catch(i){this.logger.error("0xf978",n),this.logger.errorPii("04i99o",n),this.logger.errorPii("0xdvsy",n),o?o.reject(i):r&&r.reject(i)}}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(Ju.unexpectedError,"Response missing expected properties.")}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}getExtensionName(){return this.getExtensionId()===Eo.PREFERRED_EXTENSION_ID?"chrome":this.getExtensionId()?.length?"unknown":void 0}};var TI=class e{constructor(t,n,s){this.logger=t,this.performanceClient=n,this.correlationId=s,this.platformAuthType=Eo.PLATFORM_DOM_PROVIDER}static async createProvider(t,n,s){if(t.trace("12mj4a",s),window.navigator?.platformAuthentication&&(await window.navigator.platformAuthentication.getSupportedContracts(Eo.MICROSOFT_ENTRA_BROKERID))?.includes(Eo.PLATFORM_DOM_APIS))return t.trace("1h5q1r",s),new e(t,n,s)}getExtensionId(){return Eo.MICROSOFT_ENTRA_BROKERID}getExtensionVersion(){return""}getExtensionName(){return Eo.DOM_API_NAME}async sendMessage(t){this.logger.trace("02bcil",t.correlationId);try{let n=this.initializePlatformDOMRequest(t),s=await window.navigator.platformAuthentication.executeGetToken(n);return this.validatePlatformBrokerResponse(s,t.correlationId)}catch(n){throw this.logger.error("11im7g",t.correlationId),n}}initializePlatformDOMRequest(t){this.logger.trace("15d6yv",t.correlationId);let{accountId:n,clientId:s,authority:o,scope:r,redirectUri:i,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:s,correlationId:a||this.correlationId,extraParameters:{...p,...g},isSecurityTokenService:!1,redirectUri:i,scope:r,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 s=t;if(s.isSuccess===!1&&s.error&&s.error.code)throw this.logger.trace("0g92vm",n),Cm(s.error.code,s.error.description,{error:parseInt(s.error.errorCode),protocol_error:s.error.protocolError,status:s.error.status,properties:s.error.properties})}}throw Rh(Ju.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 s={};for(let[o,r]of Object.entries(t))r&&(typeof r=="object"?s[o]=JSON.stringify(r):s[o]=String(r));return s}catch{return this.logger.error("0eu9o3",n),this.logger.errorPii("17rpl5",n),{}}}};async function Lde(e,t,n,s){e.trace("134j0v",n);let o=W$e();e.trace("04c81g",n);let r;try{o&&(r=await TI.createProvider(e,t,n)),r||(e.trace("0l3na8",n),r=await kI.createProvider(e,s||ZU,t,n))}catch(i){e.trace("0icbd7",i)}return r}function W$e(){let e;try{return e=window[Ps.SessionStorage],e?.getItem(sde)==="true"}catch{return!1}}function Nc(e,t,n,s,o){if(t.trace("0uko3r",n),!e.system.allowPlatformBroker)return t.trace("04hozs",n),!1;if(!s)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 SI=class extends ir{constructor(t,n,s,o,r,i,a,l,c,u){super(t,n,s,o,r,i,a,c,u),this.nativeStorage=l,this.eventHandler=r}acquireToken(t,n){let s;try{if(s={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 r={...t,httpMethod:vI(t,this.config.system.protocolMode)};return this.logger.verbose("1f9ok3",this.correlationId),s.popup=this.openSizedPopup("about:blank",s),this.acquireTokenPopupAsync(r,s,n)}else return this.logger.verbose("162h4u",this.correlationId),this.acquireTokenPopupAsync(t,s,n)}catch(o){return Promise.reject(o)}}logout(t){try{this.logger.verbose("068rup",this.correlationId);let n=this.initializeLogoutRequest(t),s={popupName:this.generateLogoutPopupName(n),popupWindowAttributes:t?.popupWindowAttributes||{},popupWindowParent:t?.popupWindowParent??window},o=t&&t.authority,r=t&&t.mainWindowRedirectUri;return this.config.system.navigatePopups?(this.logger.verbose("1a28da",this.correlationId),s.popup=this.openSizedPopup("about:blank",s),this.logoutPopupAsync(n,s,o,r)):(this.logger.verbose("1phd8u",this.correlationId),this.logoutPopupAsync(n,s,o,r))}catch(n){return Promise.reject(n)}}async acquireTokenPopupAsync(t,n,s){this.logger.verbose("1g77pg",this.correlationId);let o=await G(sd,Xu,this.logger,this.performanceClient,this.correlationId)(t,Ye.Popup,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);n.popup&&uI(o.authority);let r=Nc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);return o.platformBroker=r,this.config.system.protocolMode===pn.EAR?this.executeEarFlow(o,n,s):this.executeCodeFlow(o,n,s)}async executeCodeFlow(t,n,s){let o=t.correlationId,r=Bn(wt.acquireTokenPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),i=s||await G(ka,ya,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),a={...t,codeChallenge:i.challenge};try{let l=await G(this.createAuthCodeClient.bind(this),va,this.logger,this.performanceClient,o)({serverTelemetryManager:r,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,i.verifier);{let c=await G(ub,ys.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,Ye.Popup,{popupWindow:u},null);let p=await nd(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),m=es(Em,km,this.logger,this.performanceClient,this.correlationId)(p,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return await G(zc,Lc,this.logger,this.performanceClient,o)(t,m,i.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),r.cacheFailedRequest(l)),l}}async executeEarFlow(t,n,s){let{correlationId:o,authority:r,azureCloudOptions:i,extraQueryParameters:a,account:l}=t,c=await G(rr,_a,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,r,i,a,l),u=await G(tb,Gh,this.logger,this.performanceClient,o)(),p=s||await G(ka,ya,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(nd,Bh,this.logger,this.performanceClient,o)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,m,this.performanceClient),h=es(Em,km,this.logger,this.performanceClient,this.correlationId)(_,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);if(!h.ear_jwe&&h.code){let x=await G(this.createAuthCodeClient.bind(this),va,this.logger,this.performanceClient,o)({serverTelemetryManager:Bn(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(zc,Lc,this.logger,this.performanceClient,o)(m,h,p.verifier,wt.acquireTokenPopup,this.config,x,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,s,o){let r=t.correlationId,i=await G(rr,_a,this.logger,this.performanceClient,r)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger),a=n.popup||this.openPopup("about:blank",n);(await pb(a.document,this.config,i,t,this.logger,this.performanceClient)).submit();let c=await G(nd,Bh,this.logger,this.performanceClient,r)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),u=es(Em,km,this.logger,this.performanceClient,this.correlationId)(c,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return G(zc,Lc,this.logger,this.performanceClient,r)(t,u,o,wt.acquireTokenPopup,this.config,s,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async logoutPopupAsync(t,n,s,o){this.logger.verbose("0b7yrk",this.correlationId),this.eventHandler.emitEvent(Ze.LOGOUT_START,this.correlationId,Ye.Popup,t);let r=Bn(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 i=await G(this.createAuthCodeClient.bind(this),va,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:r,requestAuthority:s,account:t.account||void 0});try{i.authority.endSessionEndpoint}catch{if(t.account?.homeAccountId&&t.postLogoutRedirectUri&&i.authority.protocolMode===pn.OIDC){if(this.eventHandler.emitEvent(Ze.LOGOUT_SUCCESS,t.correlationId,Ye.Popup,t),o){let c={apiId:wt.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=St.getAbsoluteUrl(o,Ci());await this.navigationClient.navigateInternal(u,c)}n.popup?.close();return}}let a=i.getLogoutUri(t);this.eventHandler.emitEvent(Ze.LOGOUT_SUCCESS,t.correlationId,Ye.Popup,t);let l=this.openPopup(a,n);if(this.eventHandler.emitEvent(Ze.POPUP_OPENED,t.correlationId,Ye.Popup,{popupWindow:l},null),await nd(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,Ci());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(i){throw n.popup?.close(),i instanceof ot&&(i.setCorrelationId(this.correlationId),r.cacheFailedRequest(i)),this.eventHandler.emitEvent(Ze.LOGOUT_FAILURE,this.correlationId,Ye.Popup,null,i),this.eventHandler.emitEvent(Ze.LOGOUT_END,this.correlationId,Ye.Popup),i}this.eventHandler.emitEvent(Ze.LOGOUT_END,this.correlationId,Ye.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(Kh)}openPopup(t,n){try{let s;if(n.popup?(s=n.popup,this.logger.verbosePii("0cgeo7",this.correlationId),s.location.assign(t)):typeof n.popup>"u"&&(this.logger.verbosePii("0c2awd",this.correlationId),s=this.openSizedPopup(t,n)),!s)throw ge(iue);return s.focus&&s.focus(),this.currentWindow=s,s}catch{throw this.logger.error("0dxfb9",this.correlationId),ge(rue)}}openSizedPopup(t,{popupName:n,popupWindowAttributes:s,popupWindowParent:o}){let r=o.screenLeft?o.screenLeft:o.screenX,i=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=s.popupSize?.width,u=s.popupSize?.height,p=s.popupPosition?.top,m=s.popupPosition?.left;return(!c||c<0||c>a)&&(this.logger.verbose("08vfmo",this.correlationId),c=xs.POPUP_WIDTH),(!u||u<0||u>l)&&(this.logger.verbose("09cxa0",this.correlationId),u=xs.POPUP_HEIGHT),(!p||p<0||p>l)&&(this.logger.verbose("1qh4wo",this.correlationId),p=Math.max(0,l/2-xs.POPUP_HEIGHT/2+i)),(!m||m<0||m>a)&&(this.logger.verbose("1sz3en",this.correlationId),m=Math.max(0,a/2-xs.POPUP_WIDTH/2+r)),o.open(t,n,`width=${c}, height=${u}, top=${p}, left=${m}, scrollbars=yes`)}generatePopupName(t,n){return`${xs.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${t.join("-")}.${n}.${this.correlationId}`}generateLogoutPopupName(t){let n=t.account&&t.account.homeAccountId;return`${xs.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${n}.${this.correlationId}`}};function J$e(){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 wI=class extends ir{constructor(t,n,s,o,r,i,a,l,c,u){super(t,n,s,o,r,i,a,c,u),this.nativeStorage=l}async acquireToken(t){let n=await G(sd,Xu,this.logger,this.performanceClient,this.correlationId)(t,Ye.Redirect,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);n.platformBroker=Nc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);let s=r=>{r.persisted&&(this.logger.verbose("0udvtt",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),this.eventHandler.emitEvent(Ze.RESTORE_FROM_BFCACHE,this.correlationId,Ye.Redirect))},o=this.getRedirectStartPage(t.redirectStartPage);this.logger.verbosePii("0zao0a",this.correlationId),this.browserStorage.setTemporaryCache(En.ORIGIN_URI,o,!0),window.addEventListener("pageshow",s);try{this.config.system.protocolMode===pn.EAR?await this.executeEarFlow(n):await this.executeCodeFlow(n)}catch(r){throw r instanceof ot&&r.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",s),r}}async executeCodeFlow(t){let n=t.correlationId,s=Bn(wt.acquireTokenRedirect,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),o=await G(ka,ya,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),r={...t,codeChallenge:o.challenge};this.browserStorage.cacheAuthorizeRequest(r,this.correlationId,o.verifier);try{if(r.httpMethod===$e.HttpMethod.POST)return await this.executeCodeFlowWithPost(r);{let i=await G(this.createAuthCodeClient.bind(this),va,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:s,requestAuthority:r.authority,requestAzureCloudOptions:r.azureCloudOptions,requestExtraQueryParameters:r.extraQueryParameters,account:r.account}),a=await G(ub,ys.GetAuthCodeUrl,this.logger,this.performanceClient,t.correlationId)(this.config,i.authority,r,this.logger,this.performanceClient);return await this.initiateAuthRequest(a)}}catch(i){throw i instanceof ot&&(i.setCorrelationId(this.correlationId),s.cacheFailedRequest(i)),i}}async executeEarFlow(t){let{correlationId:n,authority:s,azureCloudOptions:o,extraQueryParameters:r,account:i}=t,a=await G(rr,_a,this.logger,this.performanceClient,n)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,s,o,r,i),l=await G(tb,Gh,this.logger,this.performanceClient,n)(),c=await G(ka,ya,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,s=await G(rr,_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,s,t,this.logger,this.performanceClient)).submit(),new Promise((r,i)=>{setTimeout(()=>{i(ge(Sm,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async handleRedirectPromise(t,n,s,o){let r=Bn(wt.handleRedirectPromise,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),i=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),J$e()!=="back_forward"?s.event.errorCode="no_server_response":this.logger.verbose("1eqegq",this.correlationId),null;let c=this.browserStorage.getTemporaryCache(En.ORIGIN_URI,this.correlationId,!0)||"",u=Si.normalizeUrlForComparison(c),p=Si.normalizeUrlForComparison(window.location.href);if(u===p&&i)return this.logger.verbose("11yred",this.correlationId),c.indexOf("#")>-1&&que(c),await this.handleResponse(a,t,n,r);if(i){if(!ok()||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=Bue();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,r)}}else return this.logger.verbose("0v4sdv",this.correlationId),await this.handleResponse(a,t,n,r);return null}catch(a){throw a instanceof ot&&(a.setCorrelationId(this.correlationId),r.cacheFailedRequest(a)),a}}getRedirectResponse(t){this.logger.verbose("1c5i8m",this.correlationId);let n=t;n||(this.config.auth.OIDCOptions.responseMode===$e.ResponseMode.QUERY?n=window.location.search:n=window.location.hash);let s=Si.getDeserializedResponse(n);if(s){try{gde(s,this.browserCrypto,Ye.Redirect)}catch(r){return r instanceof ot&&this.logger.error("0bkq6p",this.correlationId),[null,""]}return lI(window),this.logger.verbose("00uvho",this.correlationId),[s,n]}let o=this.browserStorage.getTemporaryCache(En.URL_HASH,this.correlationId,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(En.URL_HASH)),o&&(s=Si.getDeserializedResponse(o),s)?(this.logger.verbose("001671",this.correlationId),[s,o]):[null,""]}async handleResponse(t,n,s,o){if(!t.state)throw ge(Wh);let{authority:i,azureCloudOptions:a,extraQueryParameters:l,account:c}=n;if(t.ear_jwe){let p=await G(rr,_a,this.logger,this.performanceClient,n.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,i,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),va,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:o,requestAuthority:n.authority});return G(zc,Lc,this.logger,this.performanceClient,n.correlationId)(n,t,s,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},s=this.config.auth.onRedirectNavigate;if(typeof s=="function")if(this.logger.verbose("1nehvl",this.correlationId),s(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(Kh)}async logout(t){this.logger.verbose("1rkurh",this.correlationId);let n=this.initializeLogoutRequest(t),s=Bn(wt.logout,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{this.eventHandler.emitEvent(Ze.LOGOUT_START,this.correlationId,Ye.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},r=await G(this.createAuthCodeClient.bind(this),va,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:s,requestAuthority:t&&t.authority,requestExtraQueryParameters:t?.extraQueryParameters,account:t&&t.account||void 0});if(r.authority.protocolMode===pn.OIDC)try{r.authority.endSessionEndpoint}catch{if(n.account?.homeAccountId){this.eventHandler.emitEvent(Ze.LOGOUT_SUCCESS,this.correlationId,Ye.Redirect,n);return}}let i=r.getLogoutUri(n);n.account?.homeAccountId&&this.eventHandler.emitEvent(Ze.LOGOUT_SUCCESS,this.correlationId,Ye.Redirect,n);let a=this.config.auth.onRedirectNavigate;if(typeof a=="function")if(a(i)!==!1){this.logger.verbose("06v57e",this.correlationId),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,xa.SIGNOUT),await this.navigationClient.navigateExternal(i,o);return}else this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("0xqes1",this.correlationId);else{this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,xa.SIGNOUT),await this.navigationClient.navigateExternal(i,o);return}}catch(o){throw o instanceof ot&&(o.setCorrelationId(this.correlationId),s.cacheFailedRequest(o)),this.eventHandler.emitEvent(Ze.LOGOUT_FAILURE,this.correlationId,Ye.Redirect,null,o),this.eventHandler.emitEvent(Ze.LOGOUT_END,this.correlationId,Ye.Redirect),o}this.eventHandler.emitEvent(Ze.LOGOUT_END,this.correlationId,Ye.Redirect)}getRedirectStartPage(t){let n=t||window.location.href;return St.getAbsoluteUrl(n,Ci())}};async function Rde(e,t,n,s){if(!e)throw n.info("1l7hyp",s),ge(Kh);return es(Z$e,Ece,n,t,s)(e)}async function Mde(e,t,n,s,o){let r=XU();if(!r.contentDocument)throw"No document associated with iframe!";return(await pb(r.contentDocument,e,t,n,s,o)).submit(),r}async function $de(e,t,n,s,o){let r=XU();if(!r.contentDocument)throw"No document associated with iframe!";return(await db(r.contentDocument,e,t,n,s,o)).submit(),r}function Z$e(e){let t=XU();return t.src=e,t}function XU(){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 eO(e){document.body===e.parentNode&&document.body.removeChild(e)}var EI=class extends ir{constructor(t,n,s,o,r,i,a,l,c,u,p){super(t,n,s,o,r,i,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 s=await G(sd,Xu,this.logger,this.performanceClient,this.correlationId)(n,Ye.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);return s.platformBroker=Nc(this.config,this.logger,this.correlationId,this.platformAuthProvider,s.authenticationScheme),uI(s.authority),this.config.system.protocolMode===pn.EAR?this.executeEarFlow(s):this.executeCodeFlow(s)}async executeCodeFlow(t){let n,s=Bn(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{return n=await G(this.createAuthCodeClient.bind(this),va,this.logger,this.performanceClient,t.correlationId)({serverTelemetryManager:s,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account}),await G(this.silentTokenHelper.bind(this),TU,this.logger,this.performanceClient,t.correlationId)(n,t)}catch(o){if(o instanceof ot&&(o.setCorrelationId(this.correlationId),s.cacheFailedRequest(o)),!n||!(o instanceof ot)||o.errorCode!==xs.INVALID_GRANT_ERROR)throw o;return this.performanceClient.addFields({retryError:o.errorCode},this.correlationId),await G(this.silentTokenHelper.bind(this),TU,this.logger,this.performanceClient,this.correlationId)(n,t)}}async executeEarFlow(t){let{correlationId:n,authority:s,azureCloudOptions:o,extraQueryParameters:r,account:i}=t,a=await G(rr,_a,this.logger,this.performanceClient,n)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,s,o,r,i),l=await G(tb,Gh,this.logger,this.performanceClient,n)(),c=await G(ka,ya,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),u={...t,earJwk:l,codeChallenge:c.challenge},p=await G($de,Z0,this.logger,this.performanceClient,n)(this.config,a,u,this.logger,this.performanceClient),m=this.config.auth.OIDCOptions.responseMode,g;try{g=await G(nd,Bh,this.logger,this.performanceClient,n)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient,this.config.experimental)}finally{es(eO,wU,this.logger,this.performanceClient,n)(p)}let f=es(Em,km,this.logger,this.performanceClient,n)(g,m,this.logger,this.correlationId);if(!f.ear_jwe&&f.code){let _=await G(this.createAuthCodeClient.bind(this),va,this.logger,this.performanceClient,n)({serverTelemetryManager:Bn(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(zc,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 s=n.correlationId,o=await G(ka,ya,this.logger,this.performanceClient,s)(this.performanceClient,this.logger,s),r={...n,codeChallenge:o.challenge},i;if(n.httpMethod===$e.HttpMethod.POST)i=await G(Mde,Z0,this.logger,this.performanceClient,s)(this.config,t.authority,r,this.logger,this.performanceClient);else{let u=await G(ub,ys.GetAuthCodeUrl,this.logger,this.performanceClient,s)(this.config,t.authority,r,this.logger,this.performanceClient);i=await G(Rde,Z0,this.logger,this.performanceClient,s)(u,this.performanceClient,this.logger,s)}let a=this.config.auth.OIDCOptions.responseMode,l;try{l=await G(nd,Bh,this.logger,this.performanceClient,s)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,n,this.performanceClient,this.config.experimental)}finally{es(eO,wU,this.logger,this.performanceClient,s)(i)}let c=es(Em,km,this.logger,this.performanceClient,s)(l,a,this.logger,this.correlationId);return G(zc,Lc,this.logger,this.performanceClient,s)(n,c,o.verifier,this.apiId,this.config,t,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}};var CI=class extends ir{async acquireToken(t){let n=await G(ik,Hh,this.logger,this.performanceClient,t.correlationId)(t,this.config,this.performanceClient,this.logger,this.correlationId),s={...t,...n};t.redirectUri&&(s.redirectUri=wm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId));let o=Bn(wt.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),r=await this.createRefreshTokenClient({serverTelemetryManager:o,authorityUrl:s.authority,azureCloudOptions:s.azureCloudOptions,account:s.account});return G(r.acquireTokenByRefreshToken.bind(r),Tce,this.logger,this.performanceClient,t.correlationId)(s,wt.acquireTokenSilent_silentFlow).catch(i=>{throw i.setCorrelationId(this.correlationId),o.cacheFailedRequest(i),i})}logout(){return Promise.reject(ge(Jh))}async createRefreshTokenClient(t){let n=await G(this.getClientConfiguration.bind(this),Zu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:t.serverTelemetryManager,requestAuthority:t.authorityUrl,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account});return new Wx(n,this.performanceClient)}};var AI=class extends ym{constructor(t,n){super(t,n),this.includeRedirectUri=!1}};var II=class extends ir{constructor(t,n,s,o,r,i,a,l,c,u){super(t,n,s,o,r,i,l,c,u),this.apiId=a}async acquireToken(t){if(!t.code)throw ge(hue);let n=await G(sd,Xu,this.logger,this.performanceClient,this.correlationId)(t,Ye.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId),s=Bn(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let o={...n,code:t.code},r=await G(this.getClientConfiguration.bind(this),Zu,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:s,requestAuthority:n.authority,requestAzureCloudOptions:n.azureCloudOptions,requestExtraQueryParameters:n.extraQueryParameters,account:n.account}),i=new AI(r,this.performanceClient);this.logger.verbose("1uic5e",this.correlationId);let a=new lb(i,this.browserStorage,o,this.logger,this.performanceClient);return await G(a.handleCodeResponseFromServer.bind(a),ys.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),s.cacheFailedRequest(o)),o}}logout(){return Promise.reject(ge(Jh))}};function Dde(e,t,n,s){let o=window.msal?.clientIds||[],r=o.length,i=o.filter(a=>a===e).length;i>1&&n.warning("1e88vg",s),t.add({msalInstanceCount:r,sameClientIdInstanceCount:i})}function PI(e,t,n,s){try{cI(e),Zx(n.auth.isMcp,s)}catch(o){throw t.end({success:!1},o,s.account),o}}var LI=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):Qu,this.eventHandler=new _I(this.logger),this.browserStorage=this.isBrowserEnvironment?new rb(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,this.performanceClient,this.eventHandler,bU(this.config.auth)):ade(this.config.auth.clientId,this.logger,this.performanceClient,this.eventHandler);let n={cacheLocation:Ps.MemoryStorage,cacheRetentionDays:5};this.nativeInternalStorage=new rb(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 s=new e(t);return await s.initialize(n),s}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 s=this.config.system.allowPlatformBroker,o=this.performanceClient.startMeasurement(Jue,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),wce,this.logger,this.performanceClient,n)(n),s)try{this.platformAuthProvider=await Lde(this.logger,this.performanceClient,n,this.config.system.nativeBrokerHandshakeTimeout)}catch(r){this.logger.verbose(r,n)}this.config.cache.cacheLocation===Ps.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:s,success:!0})}async handleRedirectPromise(t){if(this.logger.verbose("02l8bm",""),GU(this.initialized),this.isBrowserEnvironment){let n=t?.hash||"",s=this.redirectResponse.get(n);return typeof s>"u"?(s=this.handleRedirectPromiseInternal(t),this.redirectResponse.set(n,s),this.logger.verbose("1wn9kp","")):this.logger.verbose("0w0gm3",""),s}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===xa.SIGNOUT)return this.logger.verbose("1ywcv2",""),this.browserStorage.setInteractionInProgress(!1),Promise.resolve(null);let s=this.getAllAccounts(),o=this.browserStorage.getCachedNativeRequest(),r=o&&this.platformAuthProvider&&!t?.hash,i,a;try{if(r&&this.platformAuthProvider){let l=o?.correlationId||"";this.eventHandler.emitEvent(Ze.HANDLE_REDIRECT_START,l,Ye.Redirect),i=this.performanceClient.startMeasurement(mI,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),$ce,this.logger,this.performanceClient,i.event.correlationId)(this.performanceClient,i.event.correlationId)}else{let[l,c]=this.browserStorage.getCachedRequest(""),u=l.correlationId;this.eventHandler.emitEvent(Ze.HANDLE_REDIRECT_START,u,Ye.Redirect),i=this.performanceClient.startMeasurement(mI,u),this.logger.trace("0znzs5",u);let p=this.createRedirectClient(u);a=G(p.handleRedirectPromise.bind(p),Mce,this.logger,this.performanceClient,i.event.correlationId)(l,c,i,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,Ye.Redirect,l),this.logger.verbose("0ui8f5",l.correlationId),s.length{this.browserStorage.resetRequestCache(i.event.correlationId);let c=l;throw this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,i.event.correlationId,Ye.Redirect,null,c),this.eventHandler.emitEvent(Ze.HANDLE_REDIRECT_END,i.event.correlationId,Ye.Redirect),i.end({success:!1},c),l})}async acquireTokenRedirect(t){let n=this.getRequestCorrelationId(t);this.logger.verbose("0os66p",n);let s=this.performanceClient.startMeasurement(Kue,n);s.add({scenarioId:t.scenarioId});let o=this.config.auth.onRedirectNavigate;this.config.auth.onRedirectNavigate=r=>{let i=typeof o=="function"?o(r):void 0;return s.add({navigateCallbackResult:i!==!1}),s.event=s.end({success:!0},void 0,t.account)||s.event,i};try{QU(this.initialized,this.config),Zx(this.config.auth.isMcp,t),this.browserStorage.setInteractionInProgress(!0,xa.SIGNIN),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_START,n,Ye.Redirect,t);let r;return this.platformAuthProvider&&this.canUsePlatformBroker(t)?r=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,s).catch(a=>{if(a instanceof Ai&&od(a))return this.platformAuthProvider=void 0,this.createRedirectClient(n).acquireToken(t);if(a instanceof wn)return this.logger.verbose("1ipyz4",n),this.createRedirectClient(n).acquireToken(t);throw a}):r=this.createRedirectClient(n).acquireToken(t),await r}catch(r){throw this.browserStorage.resetRequestCache(n),s.event.status===2?this.performanceClient.startMeasurement(mI,n).end({success:!1},r,t.account):s.end({success:!1},r,t.account),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ye.Redirect,null,r),r}}acquireTokenPopup(t){let n=this.getRequestCorrelationId(t),s=this.performanceClient.startMeasurement(Yue,n);s.add({scenarioId:t.scenarioId});try{this.logger.verbose("0ch87b",n),PI(this.initialized,s,this.config,t),this.browserStorage.setInteractionInProgress(!0,xa.SIGNIN,t.overrideInteractionInProgress,n)}catch(a){return Promise.reject(a)}let o=this.getAllAccounts();this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_START,n,Ye.Popup,t);let r,i=this.getPreGeneratedPkceCodes(n);return this.canUsePlatformBroker(t)?r=this.acquireTokenNative({...t,correlationId:n},wt.acquireTokenPopup).then(a=>(s.end({success:!0,isNativeBroker:!0},void 0,a.account),a)).catch(a=>{if(a instanceof Ai&&od(a))return this.platformAuthProvider=void 0,this.createPopupClient(n).acquireToken(t,i);if(a instanceof wn)return this.logger.verbose("0yy5fw",n),this.createPopupClient(n).acquireToken(t,i);throw a}):r=this.createPopupClient(n).acquireToken(t,i),r.then(a=>{let l=o.length(this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ye.Popup,null,a),s.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),s={...t,prompt:t.prompt,correlationId:n};this.ssoSilentMeasurement=this.performanceClient.startMeasurement(Wue,n),this.ssoSilentMeasurement?.add({scenarioId:t.scenarioId}),PI(this.initialized,this.ssoSilentMeasurement,this.config,s),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,Ye.Silent,s);let r;return this.canUsePlatformBroker(s)?r=this.acquireTokenNative(s,wt.ssoSilent).catch(i=>{if(i instanceof Ai&&od(i))return this.platformAuthProvider=void 0,this.createSilentIframeClient(s.correlationId).acquireToken(s);throw i}):r=this.createSilentIframeClient(s.correlationId).acquireToken(s),r.then(i=>{let a=o.length{throw this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ye.Silent,null,i),this.ssoSilentMeasurement?.end({success:!1},i,t.account),i}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenByCode(t){let n=this.getRequestCorrelationId(t);this.logger.trace("0ch6ga",n);let s=this.performanceClient.startMeasurement(Que,n);PI(this.initialized,s,this.config,t),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_START,n,Ye.Silent,t),s.add({scenarioId:t.scenarioId});try{if(t.code&&t.nativeAccountId)throw ge(_ue);if(t.code){let o=t.code,r=this.hybridAuthCodeResponses.get(o);return r?(this.logger.verbose("0qgp28",n),s.discard()):(this.logger.verbose("06eh73",n),r=this.acquireTokenByCodeAsync({...t,correlationId:n}).then(i=>(this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_SUCCESS,n,Ye.Silent,i),this.hybridAuthCodeResponses.delete(o),s.end({success:!0,isNativeBroker:i.fromPlatformBroker,accessTokenSize:i.accessToken.length,idTokenSize:i.idToken.length},void 0,i.account),i)).catch(i=>{throw this.hybridAuthCodeResponses.delete(o),this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ye.Silent,null,i),s.end({success:!1},i),i}),this.hybridAuthCodeResponses.set(o,r)),await r}else if(t.nativeAccountId)if(this.canUsePlatformBroker(t,t.nativeAccountId)){let o=await this.acquireTokenNative({...t,correlationId:n},wt.acquireTokenByCode,t.nativeAccountId).catch(r=>{throw r instanceof Ai&&od(r)&&(this.platformAuthProvider=void 0),r});return s.end({success:!0},void 0,o.account),o}else throw ge(vue);else throw ge(bue)}catch(o){throw this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_FAILURE,n,Ye.Silent,null,o),s.end({success:!1},o),o}}async acquireTokenByCodeAsync(t){let n=this.getRequestCorrelationId(t);return this.logger.trace("10d9hy",n),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(Rce,n),this.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement),await this.createSilentAuthCodeClient(n).acquireToken(t).then(r=>(this.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:r.fromCache,isNativeBroker:r.fromPlatformBroker}),r)).catch(r=>{throw this.acquireTokenByCodeAsyncMeasurement?.end({success:!1},r),r}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenFromCache(t,n){switch(n){case Ys.Default:case Ys.AccessToken:case Ys.AccessTokenAndRefreshToken:let s=this.createSilentCacheClient(t.correlationId);return G(s.acquireToken.bind(s),vce,this.logger,this.performanceClient,t.correlationId)(t);default:throw te(hs.tokenRefreshRequired)}}async acquireTokenByRefreshToken(t,n){switch(n){case Ys.Default:case Ys.AccessTokenAndRefreshToken:case Ys.RefreshToken:case Ys.RefreshTokenAndNetwork:let s=this.createSilentRefreshClient(t.correlationId);return G(s.acquireToken.bind(s),kce,this.logger,this.performanceClient,t.correlationId)(t);default:throw te(hs.tokenRefreshRequired)}}async acquireTokenBySilentIframe(t){let n=this.createSilentIframeClient(t.correlationId);return G(n.acquireToken.bind(n),yce,this.logger,this.performanceClient,t.correlationId)(t)}async logoutRedirect(t){let n=this.getRequestCorrelationId(t);return QU(this.initialized,this.config),this.browserStorage.setInteractionInProgress(!0,xa.SIGNOUT),this.createRedirectClient(n).logout(t)}logoutPopup(t){try{let n=this.getRequestCorrelationId(t);return cI(this.initialized),this.browserStorage.setInteractionInProgress(!0,xa.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 lde(this.logger,this.browserStorage,this.isBrowserEnvironment,this.getRequestCorrelationId(),t)}getAccount(t){return cde(t,this.logger,this.browserStorage,this.getRequestCorrelationId())}setActiveAccount(t){ude(t,this.browserStorage,this.getRequestCorrelationId())}getActiveAccount(){return dde(this.browserStorage,this.getRequestCorrelationId())}async hydrateCache(t,n){this.logger.verbose("16jycr",t.correlationId);let s=wi.createAccountEntityFromAccountInfo(t.account,t.cloudGraphHostName,t.msGraphHost);return await this.browserStorage.setAccount(s,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,s,o){let r=this.getRequestCorrelationId(t);if(this.logger.trace("0b9y3p",r),!this.platformAuthProvider)throw ge(oI);return new rd(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,n,this.performanceClient,this.platformAuthProvider,s||this.getNativeAccountId(t),this.nativeInternalStorage,r).acquireToken(t,o)}canUsePlatformBroker(t,n){let s=this.getRequestCorrelationId(t);if(this.logger.trace("1n9lbl",s),!this.platformAuthProvider)return this.logger.trace("0vnu11",s),!1;if(!Nc(this.config,this.logger,s,this.platformAuthProvider,t.authenticationScheme))return this.logger.trace("1m4bzf",s),!1;if(t.prompt)switch(t.prompt){case $e.PromptValue.NONE:case $e.PromptValue.CONSENT:case $e.PromptValue.LOGIN:this.logger.trace("0vdv8e",s);break;default:return this.logger.trace("0pdzw6",s),!1}return!n&&!this.getNativeAccountId(t)?(this.logger.trace("16lbtk",s),!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 SI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createRedirectClient(t){return new wI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentIframeClient(t){return new EI(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 CI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentAuthCodeClient(t){return new II(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 VU(),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?Nr():""}async loginRedirect(t){let n=this.getRequestCorrelationId(t);return this.logger.verbose("0lz9hf",n),this.acquireTokenRedirect({correlationId:n,...t||IU})}loginPopup(t){let n=this.getRequestCorrelationId(t);return this.logger.verbose("0qw7v5",n),this.acquireTokenPopup({correlationId:n,...t||IU})}async acquireTokenSilent(t){let n=this.getRequestCorrelationId(t),s=this.performanceClient.startMeasurement(Gue,n);s.add({cacheLookupPolicy:t.cacheLookupPolicy,scenarioId:t.scenarioId}),PI(this.initialized,s,this.config,t),this.logger.verbose("0x1c4s",n);let o=t.account||this.getActiveAccount();if(!o)throw ge(due);return this.acquireTokenSilentDeduped(t,o,n).then(r=>(s.end({success:!0,fromCache:r.fromCache,isNativeBroker:r.fromPlatformBroker,accessTokenSize:r.accessToken.length,idTokenSize:r.idToken.length},void 0,r.account),{...r,state:t.state,correlationId:n})).catch(r=>{throw r instanceof ot&&r.setCorrelationId(n),s.end({success:!1},r,o),r})}async acquireTokenSilentDeduped(t,n,s){let o=Ac(this.config.auth.clientId,{...t,authority:t.authority||this.config.auth.authority,correlationId:s},n.homeAccountId),r=JSON.stringify(o),i=this.activeSilentTokenRequests.get(r);if(typeof i>"u"){this.logger.verbose("0fcjbk",s),this.performanceClient.addFields({deduped:!1},s);let a=G(this.acquireTokenSilentAsync.bind(this),hce,this.logger,this.performanceClient,s)({...t,correlationId:s},n);return this.activeSilentTokenRequests.set(r,a),a.finally(()=>{this.activeSilentTokenRequests.delete(r)})}else return this.logger.verbose("1yq7nb",s),this.performanceClient.addFields({deduped:!0},s),i}async acquireTokenSilentAsync(t,n){let s=a=>this.trackStateChange(t.correlationId,a);this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_START,t.correlationId,Ye.Silent,t),t.correlationId&&this.performanceClient.incrementFields({visibilityChangeCount:0,onlineStatusChangeCount:0},t.correlationId),this.addStateChangeListeners(s);let o=await G(pde,Sce,this.logger,this.performanceClient,t.correlationId)(t,n,this.config,this.performanceClient,this.logger),r=t.cacheLookupPolicy||Ys.Default;return this.acquireTokenSilentNoIframe(o,r).catch(async a=>{if(X$e(a,r)){let c=`${a.errorCode}${a.subError?`|${a.subError}`:""}`;if(this.performanceClient.addFields({silentRefreshReason:c},t.correlationId),this.activeIframeRequest)if(r!==Ys.Skip){let[u,p]=this.activeIframeRequest;this.logger.verbose("1w8fso",o.correlationId);let m=this.performanceClient.startMeasurement(xce,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,r);throw this.logger.info("17y14q",o.correlationId),a}else return this.logger.warning("1bd4p8",o.correlationId),G(this.acquireTokenBySilentIframe.bind(this),kU,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),kU,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,Ye.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,Ye.Silent,null,a),a}).finally(()=>{this.removeStateChangeListeners(s)})}async acquireTokenSilentNoIframe(t,n){return Nc(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 s=>{throw s instanceof Ai&&od(s)?(this.logger.verbose("07rkmb",t.correlationId),this.platformAuthProvider=void 0,te(hs.tokenRefreshRequired)):s})):(this.logger.verbose("0ox81t",t.correlationId),n===Ys.AccessToken&&this.logger.verbose("0fvwxe",t.correlationId),G(this.acquireTokenFromCache.bind(this),gce,this.logger,this.performanceClient,t.correlationId)(t,n).catch(s=>{if(n===Ys.AccessToken)throw s;return this.eventHandler.emitEvent(Ze.ACQUIRE_TOKEN_NETWORK_START,t.correlationId,Ye.Silent,t),G(this.acquireTokenByRefreshToken.bind(this),fce,this.logger,this.performanceClient,t.correlationId)(t,n)}))}async preGeneratePkceCodes(t){return this.logger.verbose("1x6uj6",t),this.pkceCode=await G(ka,ya,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 s=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(s),Dde(s,t,this.logger,n)}};function X$e(e,t){let n=!(e instanceof wn&&e.subError!==gl.badToken),s=e.errorCode===xs.INVALID_GRANT_ERROR||e.errorCode===hs.tokenRefreshRequired,o=n&&s||e.errorCode===gl.noTokensFound||e.errorCode===gl.refreshTokenExpired,r=Jce.includes(t);return o&&r}var RI=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=Pde(t,this.browserEnvironment);let n;try{n=window[Ps.SessionStorage]}catch{}let s=n?.getItem(tde),o=n?.getItem(nde)?.toLowerCase(),r=o==="true"?!0:o==="false"?!1:void 0,i={...this.config.system.loggerOptions},a=s&&Object.keys($t).includes(s)?$t[s]:void 0;a&&(i.loggerCallback=e.loggerCallback,i.logLevel=a),r!==void 0&&(i.piiLoggingEnabled=r),this.logger=new _s(i,rde,Fr),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}};var gb=class e extends RI{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 ak=class{constructor(t,n){this.controller=n||new LI(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 jpt=$e.AuthenticationScheme,Fpt=$e.ResponseMode,Upt=$e.PromptValue,Opt=$e.JsonWebTokenTypes,qpt=$e.OIDC_DEFAULT_SCOPES;async function zde(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 Nde;(function(e){Nde=e()})(function(){let e=function(){let n=0,s={};for(;n"u")return;if(arguments.length>1){if(i=e({path:"/"},s.defaults,i),typeof i.expires=="number"){let m=new Date;m.setMilliseconds(m.getMilliseconds()+i.expires*864e5),i.expires=m}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(r),/^[\{\[]/.test(a)&&(r=a)}catch{}n.write?r=n.write(r,o):r=encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),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 i)i[m]&&(p+="; "+m,i[m]!==!0&&(p+="="+i[m]));return document.cookie=o+"="+r+p}o||(a={});let l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,u=0;for(;u{let o=performance.now(),r=setInterval(()=>{let i=ar.get(e);i?(clearInterval(r),s(i)):performance.now()-o>=t&&(clearInterval(r),s(null))},200)})}var Fde=!!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)"),Ude=window.matchMedia("screen and (max-width: 768px)"),Ode=window.matchMedia("print"),qde=window.matchMedia("(prefers-color-scheme: dark)"),Hde=window.matchMedia("(prefers-contrast: more)");var id="light",MI={light:{documentClass:"theme-light",name:"light",text:HZ,icon:"docon-sun"},dark:{documentClass:"theme-dark",name:"dark",text:VK,icon:"docon-clear-night"},"high-contrast":{documentClass:"theme-high-contrast",name:"high-contrast",text:gZ,icon:"docon-clear-night"}},e1e=Object.keys(MI),Bde=e1e.map(e=>MI[e].documentClass),vl=class{constructor(t,n){this.currentTheme=t;this.previousTheme=n}};function t1e(e,t,n){e.publish(new vl(t,n)),window.dispatchEvent(new CustomEvent("theme-changed",{detail:{currentTheme:t,previousTheme:n}}))}function n1e(e){let t=document.documentElement.classList;for(let n of Bde)t.remove(n);t.add(MI[e].documentClass)}function s1e(e){return id=e}function Vde(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 o1e(e){X.setItem("theme",e)}function r1e(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 Gde(e){tO(lt,e)}function tO(e,t){let n=id;s1e(t),n1e(t),n!==t&&t1e(e,t,n)}async function Qde(e){let t=ad();tO(e,t),i1e(e),await Te,Vde(t),window.setTheme=Gde}function ad(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"&&Hde.matches;return r1e(e,n)}function i1e(e){window.addEventListener("click",({target:t})=>{let n=t instanceof Element&&t.closest(".theme-control[data-theme-to]");if(!n)return;let s=n.dataset.themeTo;Vde(s),o1e(s),tO(e,s)})}var lk,Kde=new Promise(e=>lk=e),Am,Im=new Promise(e=>Am=e),Wde,Jde=()=>Wde,Yde=e=>{for(let t of Object.values(e))if(!t)return!1;return!0};async function Zde(){if(!S.cookieConsent)return;if(S.chromeless){Am(!0),lk();return}let e=()=>ar.get("MSCC")!==void 0,t=O.WcpConsent;if(t===void 0||typeof t.init!="function"){Am(!1);return}await Te;let n=document.getElementById("cookie-consent-holder"),s=Array.from(document.querySelectorAll(".manage-cookies-holder"));if(!n||!s.length){console.log("No container for cookie banner");return}t.init(b.data.userLocale,n,function(o,r){if(o!==void 0){Am(!1);return}if(Wde=r,!r.isConsentRequired){Am(!0),lk();return}let i=document.createElement("button");if(i.setAttribute("data-bi-name","manageCookies"),i.textContent=iX,s.forEach(a=>{a.appendChild(i.cloneNode(!0)).addEventListener("click",()=>{r.manageConsent()}),a.hidden=!1}),n.hidden=!1,It(),Yde(r.getConsent())){Am(!0),lk();return}Am(!1)},async function(o){if(Yde(o)){lk(),Za();return}if(await zde({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"),O.location.href=O.location.pathname+O.location.search+O.location.hash;return}Za()},id)}function Xde(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 epe(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 tpe="3PAdsOptOut";var nO=!1;function npe(){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=O.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",nO=!0)}var a1e={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 $I(e){let t=document.querySelectorAll("meta");for(let n=0;nw.isAuthenticated&&(w.authenticationMode==="MSA"||w.tenantId===Xo),pageViewPageTags:DI,pageActionPageTags:DI,contentUpdatePageTags:DI,pageActionContentTags:DI,userConsentDetailsCallback:rpe},advancedConfig:{propertyConfiguration:{gpcDataSharingOptIn:S.thirdPartyDataSharingConsentFlag?c1e():null}},shareAuthStatus:!0,isLoggedIn:!1};$I(n.coreData.pageTags),n.coreData.pageTags.pageTemplate=b.data.pageTemplate,e.init(n),u1e(e)}function DI(){return w.isAuthenticated?{"ext-app-user-id":`c:${w.userId}`}:{}}var ld=new Promise(e=>spe=e);function c1e(){let e=p1e(),t=d1e(),n=!!navigator.globalPrivacyControl,s=ar.get(tpe)==="1";return!(e||t||n||s)}function u1e(e){var n,s;(n=e.sku.config).extensionConfig??(n.extensionConfig={});let t=e.sku.config.extensionConfig;t.SystemPropertiesCollector??(t.SystemPropertiesCollector={}),(s=t.SystemPropertiesCollector).callback??(s.callback={}),t.SystemPropertiesCollector.callback.userConsentDetails=rpe}function rpe(){return Jde()?.getConsent()||null}function d1e(){let e=window.self!==window.top,t=!!window.frameElement;return e&&!t}function p1e(e=window.location.hostname){return!e.endsWith(".microsoft.com")}var we={CLICKLEFT:"CL",CLICKRIGHT:"CR",CLICKMIDDLE:"CM",SCROLL:"S",ZOOM:"Z",RESIZE:"R",KEYBOARDENTER:"KE",KEYBOARDSPACE:"KS",GAMEPADA:"CGA",GAMEPADMENU:"CGM",OTHER:"O",AUTO:"A"},le={UNDEFINED:0,NAVIGATIONBACK:1,NAVIGATION:2,NAVIGATIONFORWARD:3,APPLY:4,REMOVE:5,SORT:6,EXPAND:7,REDUCE:8,CONTEXTMENU:9,TAB:10,COPY:11,EXPERIMENTATION:12,PRINT:13,SHOW:14,HIDE:15,MAXIMIZE:16,MINIMIZE:17,BACKBUTTON:18,STARTPROCESS:20,PROCESSCHECKPOINT:21,COMPLETEPROCESS:22,SCENARIOCANCEL:23,DOWNLOADCOMMIT:40,DOWNLOAD:41,SEARCHAUTOCOMPLETE:60,SEARCH:61,SEARCHINITIATE:62,TEXTBOXINPUT:63,PURCHASE:80,ADDTOCART:81,VIEWCART:82,ADDWISHLIST:83,FINDSTORE:84,CHECKOUT:85,REMOVEFROMCART:86,PURCHASECOMPLETE:87,VIEWCHECKOUTPAGE:88,VIEWCARTPAGE:89,VIEWPDP:90,UPDATEITEMQUANTITY:91,INTENTTOBUY:92,PUSHTOINSTALL:93,SIGNIN:100,SIGNOUT:101,SOCIALSHARE:120,SOCIALLIKE:121,SOCIALREPLY:122,CALL:123,EMAIL:124,COMMUNITY:125,SOCIALFOLLOW:126,VOTE:140,SURVEYINITIATE:141,SURVEYCOMPLETE:142,REPORTAPPLICATION:143,REPORTREVIEW:144,SURVEYCHECKPOINT:145,CONTACT:160,REGISTRATIONINITIATE:161,REGISTRATIONCOMPLETE:162,CANCELSUBSCRIPTION:163,RENEWSUBSCRIPTION:164,CHANGESUBSCRIPTION:165,REGISTRATIONCHECKPOINT:166,CHATINITIATE:180,CHATEND:181,TRIALSIGNUP:200,TRIALINITIATE:201,SIGNUP:210,FREESIGNUP:211,PARTNERREFERRAL:220,LEARNLOWFUNNEL:230,LEARNHIGHFUNNEL:231,SHOPPINGINTENT:232,VIDEOSTART:240,VIDEOPAUSE:241,VIDEOCONTINUE:242,VIDEOCHECKPOINT:243,VIDEOJUMP:244,VIDEOCOMPLETE:245,VIDEOBUFFERING:246,VIDEOERROR:247,VIDEOMUTE:248,VIDEOUNMUTE:249,VIDEOFULLSCREEN:250,VIDEOUNFULLSCREEN:251,VIDEOREPLAY:252,VIDEOPLAYERLOAD:253,VIDEOPLAYERCLICK:254,VIDEOVOLUMECONTROL:255,VIDEOAUDIOTRACKCONTROL:256,VIDEOCLOSEDCAPTIONCONTROL:257,VIDEOCLOSEDCAPTIONSTYLE:258,VIDEORESOLUTIONCONTROL:259,VIRTUALEVENTJOIN:260,VIRTUALEVENTEND:261,IMPRESSION:280,CLICK:281,RICHMEDIACOMPLETE:282,ADBUFFERING:283,ADERROR:284,ADSTART:285,ADCOMPLETE:286,ADSKIP:287,ADTIMEOUT:288,OTHER:300},Cn={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"},ck={id:"id",name:"name",type:"type",scenario:"scn",scenarioStep:"scnstp",scenarioStepNumber:"subnm"},jc=e=>{let t=e.closest(`[${Cn.name}]`);return t?t.getAttribute(Cn.name):""},ipe=()=>{ld.then(e=>{e.sku.getAuthExtension().signOut()})},ape=(e,t)=>{ld.then(n=>{let s=n.sku.getAuthExtension();if(!t){s.setAuthType(0);return}s.setAuthType(e==="MSA"?1:e==="AAD"?2:0)})},lpe=e=>{ld.then(t=>t.extendCoreData(e))},Kt=(e,t)=>{ld.then(n=>n.ct.capturePageAction(e,t))},ye=e=>{ld.then(t=>t.ct.captureContentPageAction(e))},cpe=e=>{ld.then(t=>t.ct.captureContentUpdate(e))},zI=e=>{ld.then(t=>t.ct.capturePageView(e||{}))};var NI,jI="undefined",qI="constructor",yl="prototype",HI="function",BI="_dynInstFuncs",rO="_isDynProxy",hb="_dynClass",m1e="_dynCls$",iO="_dynInstChk",uk=iO,gpe="_dfOpts",upe="_unknown_",cO="__proto__",FI="_dyn"+cO,dpe="__dynProto$Gbl",sO="_dynInstProto",UI="useBaseInst",aO="setInstFuncs",QI=Object,dk=QI.getPrototypeOf,ppe=QI.getOwnPropertyNames;function g1e(){var e;return typeof globalThis!==jI&&(e=globalThis),!e&&typeof self!==jI&&(e=self),!e&&typeof window!==jI&&(e=window),!e&&typeof global!==jI&&(e=global),e||{}}var mpe=g1e(),lO=mpe[dpe]||(mpe[dpe]={o:(NI={},NI[aO]=!0,NI[UI]=!0,NI),n:1e3});function Fc(e,t){return e&&QI[yl].hasOwnProperty.call(e,t)}function OI(e){return e&&(e===QI[yl]||e===Array[yl])}function uO(e){return OI(e)||e===Function[yl]}function Pm(e){var t;if(e){if(dk)return dk(e);var n=e[cO]||e[yl]||(e[qI]?e[qI][yl]:null);t=e[FI]||n,Fc(e,FI)||(delete e[sO],t=e[FI]=e[sO]||e[FI],e[sO]=n)}return t}function VI(e,t){var n=[];if(ppe)n=ppe(e);else for(var s in e)typeof s=="string"&&Fc(e,s)&&n.push(s);if(n&&n.length>0)for(var o=0;o=0;n--)if(e[n]===t)return!0;return!1}function h1e(e,t,n,s){function o(l,c,u){var p=c[u];if(p[rO]&&s){var m=l[BI]||{};m[uk]!==!1&&(p=(m[c[hb]]||{})[u]||p)}return function(){return p.apply(l,arguments)}}var r=bb();VI(n,function(l){r[l]=o(t,n,l)});for(var i=Pm(e),a=[];i&&!uO(i)&&!pO(a,i);)VI(i,function(l){!r[l]&&dO(i,l,!dk)&&(r[l]=o(t,i,l))}),a.push(i),i=Pm(i);return r}function b1e(e,t,n,s){var o=null;if(e&&Fc(n,hb)){var r=e[BI]||bb();if(o=(r[n[hb]]||bb())[t],o||GI("Missing ["+t+"] "+HI),!o[iO]&&r[uk]!==!1){for(var i=!Fc(e,t),a=Pm(e),l=[];i&&a&&!uO(a)&&!pO(l,a);){var c=a[t];if(c){i=c===s;break}l.push(a),a=Pm(a)}try{i&&(e[t]=o),o[iO]=1}catch{r[uk]=!1}}}return o}function _1e(e,t,n){var s=t[e];return s===n&&(s=Pm(t)[e]),typeof s!==HI&&GI("["+e+"] is not a "+HI),s}function v1e(e,t,n,s,o){function r(l,c){var u=function(){var p=b1e(this,c,l,u)||_1e(c,l,u);return p.apply(this,arguments)};return u[rO]=1,u}if(!OI(e)){var i=n[BI]=n[BI]||bb();if(!OI(i)){var a=i[t]=i[t]||bb();i[uk]!==!1&&(i[uk]=!!o),OI(a)||VI(n,function(l){dO(n,l,!1)&&n[l]!==s[l]&&(a[l]=n[l],delete n[l],(!Fc(e,l)||e[l]&&!e[l][rO])&&(e[l]=r(e,l)))})}}}function y1e(e,t){if(dk){for(var n=[],s=Pm(t);s&&!uO(s)&&!pO(n,s);){if(s===e)return!0;n.push(s),s=Pm(s)}return!1}return!0}function oO(e,t){return Fc(e,yl)?e.name||t||upe:((e||{})[qI]||{}).name||t||upe}function dt(e,t,n,s){Fc(e,yl)||GI("theClass is an invalid class definition.");var o=e[yl];y1e(o,t)||GI("["+oO(e)+"] not in hierarchy of ["+oO(t)+"]");var r=null;Fc(o,hb)?r=o[hb]:(r=m1e+oO(e,"_")+"$"+lO.n,lO.n++,o[hb]=r);var i=dt[gpe],a=!!i[UI];a&&s&&s[UI]!==void 0&&(a=!!s[UI]);var l=f1e(t),c=h1e(o,t,l,a);n(t,c);var u=!!dk&&!!i[aO];u&&s&&(u=!!s[aO]),v1e(o,r,t,l,u!==!1)}dt[gpe]=lO.o;var Ii="function",lr="object",cr="undefined",An="prototype",pk="hasOwnProperty";var Ur=Object,_b=Ur[An],vb=Ur.assign,YI=Ur.create,yb=Ur.defineProperty,xl=_b[pk];var fpe=null;function Pi(e){e===void 0&&(e=!0);var t=e===!1?null:fpe;return t||(typeof globalThis!==cr&&(t=globalThis),!t&&typeof self!==cr&&(t=self),!t&&typeof window!==cr&&(t=window),!t&&typeof global!==cr&&(t=global),fpe=t),t}function xb(e){throw new TypeError(e)}function kb(e){var t=YI;if(t)return t(e);if(e==null)return{};var n=typeof e;n!==lr&&n!==Ii&&xb("Object prototype may only be an Object:"+e);function s(){}return s[An]=e,new s}var Fmt=(Pi()||{}).Symbol,Umt=(Pi()||{}).Reflect;var k1e=function(e){for(var t,n=1,s=arguments.length;n=s&&!(n=e===t)){for(var r=o-1,i=s-1;i>=0;i--){if(e[r]!=t[i])return!1;r--}n=!0}return n}function Ts(e,t){return e&&t?e[dd](t)!==-1:!1}var Et=I1e||D1e;function D1e(e){return!!(e&&Cpe[ks](e)==="[object Array]")}function Om(e){return!!(e&&Cpe[ks](e)==="[object Error]")}function Ge(e){return typeof e=="string"}function xk(e){return typeof e=="number"}function Ipe(e){return typeof e=="boolean"}function kpe(e){var t=!1;if(e&&typeof e=="object"){var n=iP?iP(e):SO(e);n?(n[rP]&&xl[ks](n,rP)&&(n=n[rP]),t=typeof n===Ii&&Ape[ks](n)===P1e):t=!0}return t}function Br(e){if(e)return A1e?e[Spe]():z1e(e)}function z1e(e){if(e&&e.getUTCFullYear){var t=function(n){var s=String(n);return s[tt]===1&&(s="0"+s),s};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 s=e[tt];try{for(var o=0;o=0?o:s-Math.abs(o),0);r=3)s=arguments[2];else{for(;r0&&Ipe(a)&&(c=a,a=i[u]||{},u++),go(a)||(a={});u=g&&(l[k](v[cd]),s[I]=!0)}else o>=g&&l[k](v[cd]);c(g,v)}},l[yk]=function(g){Npe("warn",g),m("warning",g)},l[oP]=function(g){Npe("error",g),m("error",g)},l.resetInternalMessageCount=function(){n=0,s={}},l[hO]=c;function c(g,f){if(!p()){var _=!0,h=X1e+f[Sb];if(s[h]?_=!1:s[h]=!0,_&&(g<=r&&(l.queue[kt](f),n++,m(g===1?"error":"warn",f)),n===i)){var x="Internal events throttle limit per PageView reached for this app.",v=new Hc(23,x,!1);l.queue[kt](v),g===1?l[oP](x):l[yk](x)}}}function u(g){o=Vr(g.loggingLevelConsole,0),r=Vr(g.loggingLevelTelemetry,1),i=Vr(g.maxMessageLimit,25),a=Vr(g.enableDebug,Vr(g[fO],!1))}function p(){return n>=i}function m(g,f){var _=HO(t||{});_&&_[Li]&&_[Li](g,f)}})}return e.__ieDyn=1,e}();function BO(e){return e||new Bm}function xe(e,t,n,s,o,r){r===void 0&&(r=!1),BO(e).throwInternal(t,n,s,o,r)}function Di(e,t){BO(e)[yk](t)}function VO(e,t,n){BO(e)[hO](t,n)}var jb="ctx",QO="ParentContextKey",kk="ChildrenContextKey",eDe=null,Tk=function(){function e(t,n,s){var o=this,r=!1;if(o.start=Ds(),o[mo]=t,o[Ca]=s,o[hk]=function(){return!1},Ke(n)){var i;r=Mi(o,"payload",function(){return!i&&Ke(n)&&(i=n(),n=null),i})}o[jm]=function(a){return a?a===e[QO]||a===e[kk]?o[a]:(o[jb]||{})[a]:null},o[Ia]=function(a,l){if(a)if(a===e[QO])o[a]||(o[hk]=function(){return!0}),o[a]=l;else if(a===e[kk])o[a]=l;else{var c=o[jb]=o[jb]||{};c[a]=l}},o[nP]=function(){var a=0,l=o[jm](e[kk]);if(Et(l))for(var c=0;c>>=0),Sk=123456789+e&Vm,wk=987654321-e&Vm,Fpe=!0}function nDe(){try{var e=Ds()&2147483647;tDe((Math.random()*jpe^e)+e)}catch{}}function Gm(e){var t=0,n=FO()||UO();return n&&n.getRandomValues&&(t=n.getRandomValues(new Uint32Array(1))[0]&Vm),t===0&&zb()&&(Fpe||nDe(),t=WO()&Vm),t===0&&(t=Math.floor(jpe*Math.random()|0)),e||(t>>>=0),t}function WO(e){wk=36969*(wk&65535)+(wk>>16)&Vm,Sk=18e3*(Sk&65535)+(Sk>>16)&Vm;var t=(wk<<16)+(Sk&65535)>>>0&Vm|0;return e||(t>>>=0),t}function Bc(e){e===void 0&&(e=22);for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=Gm()>>>0,s=0,o=ft;o[tt]>>=6,s===5&&(n=(Gm()<<2&4294967295|n&3)>>>0,s=0);return o}var Upe=yb,Ope="2.8.13",sDe="."+Bc(6),oDe=0;function rDe(e,t,n){if(Upe)try{return Upe(e,t,{value:n,enumerable:!1,configurable:!0}),!0}catch{}return!1}function qpe(e){return e[XI]===1||e[XI]===9||!+e[XI]}function iDe(e,t){var n=t[e.id];if(!n){n={};try{qpe(t)&&(rDe(t,e.id,n)||(t[e.id]=n))}catch{}}return n}function Ks(e,t){return t===void 0&&(t=!1),Um(e+oDe+++(t?"."+Ope:ft)+sDe)}function hP(e){var t={id:Ks("_aiData-"+(e||ft)+"."+Ope),accept:function(n){return qpe(n)},get:function(n,s,o,r){var i=n[t.id];return i?i[Um(s)]:(r&&(i=iDe(t,n),i[Um(s)]=o),o)},kill:function(n,s){if(n&&n[s])try{delete n[s]}catch{}}};return t}var Hpe="toGMTString",Bpe="toUTCString",tq="cookie",JO="expires",XO="enabled",Vpe="isCookieUseDisabled",Gpe="disableCookiesUsage",_d="_ckMgr",bP=null,ZO=null,Qpe=null,Ek=Qn(),Ype={},vP={};function aDe(e,t){var n=Qm[_d]||vP[_d];return n||(n=Qm[_d]=Qm(e,t),vP[_d]=n),n}function _P(e){return e?e.isEnabled():!0}function lDe(e){var t=e[ZI]=e[ZI]||{};if(jt(t,"domain",e.cookieDomain,wO,de),jt(t,"path",e.cookiePath||"/",null,de),de(t[XO])){var n=void 0;vn(e[Vpe])||(n=!e[Vpe]),vn(e[Gpe])||(n=!e[Gpe]),t[XO]=n}return t}function Zpe(e,t){return t&&e&&Et(e.ignoreCookies)?e.ignoreCookies[dd](t)!==-1:!1}function cDe(e,t){return t&&e&&Et(e.blockedCookies)&&e.blockedCookies[dd](t)!==-1?!0:Zpe(e,t)}function Ym(e,t){var n;if(e)n=e.getCookieMgr();else if(t){var s=t[ZI];s[_d]?n=s[_d]:n=Qm(t)}return n||(n=aDe(t,(e||{})[Ms])),n}function Qm(e,t){var n,s=lDe(e||vP),o=s.path||"/",r=s.domain,i=s[XO]!==!1,a=(n={isEnabled:function(){var l=i&&eq(t),c=vP[_d];return l&&c&&a!==c&&(l=_P(c)),l}},n[fk]=function(l){i=l!==!1},n.set=function(l,c,u,p,m){var g=!1;if(_P(a)&&!cDe(s,l)){var f={},_=Gn(c||ft),h=_[dd](";");if(h!==-1&&(_=Gn(c[Eb](0,h)),f=Xpe(c[Eb](h+1))),jt(f,"domain",p||r,Rb,vn),!de(u)){var x=zb();if(vn(f[JO])){var v=Ds(),k=v+u*1e3;if(k>0){var I=new Date;I.setTime(k),jt(f,JO,Kpe(I,x?Hpe:Bpe)||Kpe(I,x?Hpe:Bpe)||ft,Rb)}}x||jt(f,"max-age",ft+u,null,vn)}var E=pr();E&&E.protocol==="https:"&&(jt(f,"secure",null,null,vn),ZO===null&&(ZO=!nq((Io()||{})[Cb])),ZO&&jt(f,"SameSite","None",null,vn)),jt(f,"path",m||o,null,vn);var H=s.setCookie||Jpe;H(l,Wpe(_,f)),g=!0}return g},n.get=function(l){var c=ft;return _P(a)&&!Zpe(s,l)&&(c=(s.getCookie||uDe)(l)),c},n.del=function(l,c){var u=!1;return _P(a)&&(u=a.purge(l,c)),u},n.purge=function(l,c){var u,p=!1;if(eq(t)){var m=(u={},u.path=c||"/",u[JO]="Thu, 01 Jan 1970 00:00:01 GMT",u);zb()||(m["max-age"]="0");var g=s.delCookie||Jpe;g(l,Wpe(ft,m)),p=!0}return p},n);return a[_d]=a,a}function eq(e){if(bP===null){bP=!1;try{var t=Ek||{};bP=t[tq]!==void 0}catch(n){xe(e,2,68,"Cannot access document.cookie - "+yt(n),{exception:je(n)})}}return bP}function Xpe(e){var t={};if(e&&e[tt]){var n=Gn(e)[pd](";");De(n,function(s){if(s=Gn(s||ft),s){var o=s[dd]("=");o===-1?t[s]=null:t[Gn(s[Eb](0,o))]=Gn(s[Eb](o+1))}})}return t}function Kpe(e,t){return Ke(e[t])?e[t]():null}function Wpe(e,t){var n=e||ft;return Ct(t,function(s,o){n+="; "+s+(de(o)?ft:"="+o)}),n}function uDe(e){var t=ft;if(Ek){var n=Ek[tq]||ft;Qpe!==n&&(Ype=Xpe(n),Qpe=n),t=Gn(Ype[e]||ft)}return t}function Jpe(e,t){Ek&&(Ek[tq]=e+"="+t)}function nq(e){return Ge(e)?!!(Ts(e,"CPU iPhone OS 12")||Ts(e,"iPad; CPU OS 12")||Ts(e,"Macintosh; Intel Mac OS X 10_14")&&Ts(e,"Version/")&&Ts(e,"Safari")||Ts(e,"Macintosh; Intel Mac OS X 10_14")&&EO(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Ts(e,"Chrome/5")||Ts(e,"Chrome/6")||Ts(e,"UnrealEngine")&&!Ts(e,"Chrome")||Ts(e,"UCBrowser/12")||Ts(e,"UCBrowser/11")):!1}var ime="on",eme="attachEvent",tme="addEventListener",nme="detachEvent",sme="removeEventListener",sq="events",oq="visibilitychange",TP="pagehide";var ame="unload",lme="beforeunload",cme=Ks("aiEvtPageHide"),rft=Ks("aiEvtPageShow"),dDe=/\.[\.]+/g,pDe=/[\.]+$/,mDe=1,yP=hP("events"),gDe=/^([^.]*)(?:\.(.+)|)/;function ome(e){return e&&e[Aa]?e[Aa](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,ft):e}function rq(e,t){var n;if(t){var s=ft;Et(t)?(s=ft,De(t,function(r){r=ome(r),r&&(r[0]!=="."&&(r="."+r),s+=r)})):s=ome(t),s&&(s[0]!=="."&&(s="."+s),e=(e||ft)+s)}var o=gDe.exec(e||ft)||[];return n={},n[Sl]=o[1],n.ns=(o[2]||ft).replace(dDe,".").replace(pDe,ft)[pd](".").sort().join("."),n}function ume(e,t,n){n===void 0&&(n=!0);var s=yP.get(e,sq,{},n),o=s[t];return o||(o=s[t]=[]),o}function dme(e,t,n,s){e&&t&&t[Sl]&&(e[sme]?e[sme](t[Sl],n,s):e[nme]&&e[nme](ime+t[Sl],n))}function fDe(e,t,n,s){var o=!1;return e&&t&&t[Sl]&&n&&(e[tme]?(e[tme](t[Sl],n,s),o=!0):e[eme]&&(e[eme](ime+t[Sl],n),o=!0)),o}function rme(e,t,n,s){for(var o=t[tt];o--;){var r=t[o];r&&(!n.ns||n.ns===r.evtName.ns)&&(!s||s(r))&&(dme(e,r.evtName,r[tP],r.capture),t[Ea](o,1))}}function hDe(e,t,n){if(t[Sl])rme(e,ume(e,t[Sl]),t,n);else{var s=yP.get(e,sq,{});Ct(s,function(o,r){rme(e,r,t,n)}),dr(s)[tt]===0&&yP.kill(e,sq)}}function Qr(e,t){var n;return t?(Et(t)?n=[e].concat(t):n=[e,t],n=rq("xx",n).ns[pd](".")):n=e,n}function zi(e,t,n,s,o){var r;o===void 0&&(o=!1);var i=!1;if(e)try{var a=rq(t,s);if(i=fDe(e,a,n,o),i&&yP.accept(e)){var l=(r={guid:mDe++,evtName:a},r[tP]=n,r.capture=o,r);ume(e,a.type)[kt](l)}}catch{}return i}function vd(e,t,n,s,o){if(o===void 0&&(o=!1),e)try{var r=rq(t,s),i=!1;hDe(e,r,function(a){return r.ns&&!n||a[tP]===n?(i=!0,!0):!1}),i||dme(e,r,n,o)}catch{}}function pme(e,t,n){var s=!1,o=Gr();o&&(s=zi(o,e,t,n),s=zi(o.body,e,t,n)||s);var r=Qn();return r&&(s=zi(r,e,t,n)||s),s}function mme(e,t,n){var s=Gr();s&&(vd(s,e,t,n),vd(s.body,e,t,n));var o=Qn();o&&vd(o,e,t,n)}function xP(e,t,n,s){var o=!1;return t&&e&&e[tt]>0&&De(e,function(r){r&&(!n||$s(n,r)===-1)&&(o=pme(r,t,s)||o)}),o}function gme(e,t,n,s){var o=!1;return t&&e&&Et(e)&&(o=xP(e,t,n,s),!o&&n&&n[tt]>0&&(o=xP(e,t,null,s))),o}function kP(e,t,n){e&&Et(e)&&De(e,function(s){s&&mme(s,t,n)})}function iq(e,t,n){return gme([lme,ame,TP],e,t,n)}function aq(e,t){kP([lme,ame,TP],e,t)}function Ck(e,t,n){function s(i){var a=Qn();e&&a&&a.visibilityState==="hidden"&&e(i)}var o=Qr(cme,n),r=xP([TP],e,t,o);return(!t||$s(t,oq)===-1)&&(r=xP([oq],s,t,o)||r),!r&&t&&(r=Ck(e,null,n)),r}function lq(e,t){var n=Qr(cme,t);kP([TP],e,n),kP([oq],null,n)}function mr(){for(var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=ft,n,s=0;s<4;s++)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[md](0,8)+t[md](9,4)+"4"+t[md](13,3)+o+t[md](16,3)+t[md](19,12)}var cq="00",vDe="ff",hme="00000000000000000000000000000000",bme="0000000000000000";function Ak(e,t,n){return e&&e[tt]===t&&e!==n?!!e.match(/^[\da-f]*$/):!1}function fme(e,t,n){return Ak(e,t)?e:n}function yDe(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[tt]<2;)t="0"+t;return t}function Ik(e,t,n,s){var o;return o={},o[bO]=Ak(s,2,vDe)?s:cq,o[bk]=Km(e)?e:mr(),o.spanId=Wm(t)?t:mr()[md](0,16),o.traceFlags=n>=0&&n<=255?n:1,o}function Km(e){return Ak(e,32,hme)}function Wm(e){return Ak(e,16,bme)}function Pk(e){if(e){var t=yDe(e[_k]);Ak(t,2)||(t="01");var n=e[bO]||cq;return n!=="00"&&n!=="ff"&&(n=cq),"".concat(n,"-").concat(fme(e.traceId,32,hme),"-").concat(fme(e.spanId,16,bme),"-").concat(t)}return""}var xDe=hP("plugin");function Vc(e){return xDe.get(e,"state",{},!0)}function SP(e,t){for(var n=[],s=null,o=e[Hr](),r;o;){var i=o[Dm]();if(i){s&&Ke(s[ud])&&Ke(i[ur])&&s[ud](i);var a=!1;Ke(i[Or])?a=i[Or]():(r=Vc(i),a=r[Or]),a||n[kt](i),s=i,o=o[Hr]()}}De(n,function(l){var c=e[In]();l[Sa](e.getCfg(),c,t,e[Hr]()),r=Vc(l),!l[In]&&!r[In]&&(r[In]=c),r[Or]=!0,delete r[qr]})}function wP(e){return e.sort(function(t,n){var s=0;if(n){var o=Ke(n[ur]);Ke(t[ur])?s=o?t[Ri]-n[Ri]:1:o&&(s=-1)}else s=t?1:-1;return s})}function _me(e){var t={};return{getName:function(){return t[mo]},setName:function(n){e&&e.setName(n),t[mo]=n},getTraceId:function(){return t[bk]},setTraceId:function(n){e&&e.setTraceId(n),Km(n)&&(t[bk]=n)},getSpanId:function(){return t[sP]},setSpanId:function(n){e&&e.setSpanId(n),Wm(n)&&(t[sP]=n)},getTraceFlags:function(){return t[_k]},setTraceFlags:function(n){e&&e.setTraceFlags(n),t[_k]=n}}}var kDe="TelemetryPluginChain",vme="_hasRun",yme="_getTelCtx",xme=0;function TDe(e,t,n){for(;e;){if(e[Dm]()===n)return e;e=e[Hr]()}return El([n],t[kl]||{},t)}function uq(e,t,n,s){var o=null,r=[];s!==null&&(o=s?TDe(e,n,s):e);var i={_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[ks](f.self,f.args)}catch(_){xe(n[Ms],2,73,"Unexpected Exception during onComplete - "+je(_))}}),r=[])}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 x=$b(!0,g,_);t&&f===2&&Ct(g,function(v){if(de(x[v])){var k=t[v];de(k)||(x[v]=k)}}),_=x}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=i._next();){var f=g[Dm]();f&&m(f)}}return i}function Ws(e,t,n,s){var o=uq(e,t,n,s),r=o.ctx;function i(l){var c=o._next();return c&&c[ur](l,r),!c}function a(l,c){return l===void 0&&(l=null),Et(l)&&(l=El(l,t,n,c)),Ws(l||r[Hr](),t,n,c)}return r[ln]=i,r[Uc]=a,r}function Fb(e,t,n){var s=t[kl]||{},o=uq(e,s,t,n),r=o.ctx;function i(l){var c=o._next();return c&&c.unload(r,l),!c}function a(l,c){return l===void 0&&(l=null),Et(l)&&(l=El(l,s,t,c)),Fb(l||r[Hr](),t,c)}return r[ln]=i,r[Uc]=a,r}function Lk(e,t,n){var s=t[kl]||{},o=uq(e,s,t,n),r=o.ctx;function i(l){return r.iterate(function(c){Ke(c[zm])&&c[zm](r,l)})}function a(l,c){return l===void 0&&(l=null),Et(l)&&(l=El(l,s,t,c)),Lk(l||r[Hr](),t,c)}return r[ln]=i,r[Uc]=a,r}function El(e,t,n,s){var o=null,r=!s;if(Et(e)&&e[tt]>0){var i=null;De(e,function(a){if(!r&&s===a&&(r=!0),r&&a&&Ke(a[ur])){var l=SDe(a,t,n);o||(o=l),i&&i._setNext(l),i=l}})}return s&&!o?El([s],t,n):o}function SDe(e,t,n){var s=null,o=Ke(e[ur]),r=Ke(e[ud]),i;e?i=e[wa]+"-"+e[Ri]+"-"+xme++:i="Unknown-0-"+xme++;var a={getPlugin:function(){return e},getNext:function(){return s},processTelemetry:u,unload:p,update:m,_id:i,_setNext:function(g){s=g}};function l(){var g;return e&&Ke(e[yme])&&(g=e[yme]()),g||(g=Ws(a,t,n)),g}function c(g,f,_,h,x){var v=!1,k=e?e[wa]:kDe,I=g[vme];return I||(I=g[vme]={}),g.setNext(s),e&&bd(g[In](),function(){return k+":"+_},function(){I[i]=!0;try{var E=s?s._id:ft;E&&(I[E]=!1),v=f(g)}catch(F){var H=s?I[s._id]:!0;H&&(v=!0),(!s||!H)&&xe(g[Li](),1,73,"Plugin ["+k+"] failed during "+_+" - "+je(F)+", run flags: "+je(I))}},h,x),v}function u(g,f){f=f||l();function _(h){if(!e||!o)return!1;var x=Vc(e);return x[qr]||x[vk]?!1:(r&&e[ud](s),e[ur](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 x=Vc(e),v=e[In]||x[In];e&&(!v||v===g.core())&&!x[qr]&&(x[In]=null,x[qr]=!0,x[Or]=!1,e[qr]&&e[qr](g,f)===!0&&(h=!0))}return h}c(g,_,"unload",function(){},f[Ca])||g[ln](f)}function m(g,f){function _(){var h=!1;if(e){var x=Vc(e),v=e[In]||x[In];e&&(!v||v===g.core())&&!x[qr]&&e[zm]&&e[zm](g,f)===!0&&(h=!0)}return h}c(g,_,"update",function(){},!1)||g[ln](f)}return wl(a)}var Rk=500,wDe="Channel has invalid priority - ";function kme(e,t,n){t&&Et(t)&&t[tt]>0&&(t=t.sort(function(s,o){return s[Ri]-o[Ri]}),De(t,function(s){s[Ri]0&&De(c,function(_){if(_&&_.queue[tt]>0){var h=_.chain,x=u[Uc](h);x[$m](f),p(x)}else g--}),f()}function o(c,u){var p=u||{reason:0};return s(e,c,function(m){m[ln](p)},function(){c[ln](p)}),!0}function r(c,u){var p=u||{reason:0,isAsync:!1};return s(e,c,function(m){m[ln](p)},function(){c[ln](p),a=!1}),!0}function i(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:Rk,initialize:function(c,u,p,m){a=!0,De(e,function(g){g&&g.queue[tt]>0&&SP(Ws(g.chain,c,u),p)})},isInitialized:function(){return a},processTelemetry:function(c,u){s(e,u||n(),function(p){p[ln](c)},function(){u[ln](c)})},update:o,pause:function(){s(e,n(),function(c){c.iterate(function(u){u.pause&&u.pause()})},null)},resume:function(){s(e,n(),function(c){c.iterate(function(u){u.resume&&u.resume()})},null)},teardown:r,getChannel:i,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 s(e,n(),function(x){x.iterate(function(v){if(v[Tb]){g++;var k=!1;v[Tb](c,function(){k=!0,h()},p)||k||(c&&_==null?_=setTimeout(function(){_=null,h()},m):h())}})},function(){f=!0,h()}),!0},_setQueue:function(c){e=c}};return l}function Sme(e,t,n){var s=[];if(e&&De(e,function(r){return kme(s,r,n)}),t){var o=[];De(t,function(r){r[Ri]>Rk&&o[kt](r)}),kme(s,o,n)}return s}function EP(){var e=[];function t(s){s&&e[kt](s)}function n(s,o){De(e,function(r){try{r(s,o)}catch(i){xe(s[Li](),2,73,"Unexpected error calling unload handler - "+je(i))}}),e=[]}return{add:t,run:n}}var yd="getPlugin",Ra=function(){function e(){var t=this,n,s,o,r,i;c(),dt(e,t,function(u){u[Sa]=function(p,m,g,f){l(p,m,f),n=!0},u[qr]=function(p,m){var g,f=u[In];if(!f||p&&f!==p[In]())return;var _,h=!1,x=p||Fb(null,f,o&&o[yd]?o[yd]():o),v=m||(g={reason:0},g[Ca]=!1,g);function k(){if(!h){h=!0,r.run(x,m);var I=i;i=[],De(I,function(E){E.rm()}),_===!0&&x[ln](v),c()}}return!u[wb]||u[wb](x,v,k)!==!0?k():_=!0,_},u[zm]=function(p,m){var g=u[In];if(!g||p&&g!==p[In]())return;var f,_=!1,h=p||Lk(null,g,o&&o[yd]?o[yd]():o),x=m||{reason:0};function v(){_||(_=!0,l(h.getCfg(),h.core(),h[Hr]()))}return!u._doUpdate||u._doUpdate(h,x,v)!==!0?v():f=!0,f},u._addHook=function(p){p&&(Et(p)?i=i.concat(p):i[kt](p))},Mb(u,"_addUnloadCb",function(){return r},"add")}),t[Li]=function(u){return a(u)[Li]()},t[Or]=function(){return n},t.setInitialized=function(u){n=u},t[ud]=function(u){o=u},t[ln]=function(u,p){p?p[ln](u):o&&Ke(o[ur])&&o[ur](u,null)},t._getTelCtx=a;function a(u){u===void 0&&(u=null);var p=u;if(!p){var m=s||Ws(null,{},t[In]);o&&o[yd]?p=m[Uc](null,o[yd]):p=m[Uc](null,o)}return p}function l(u,p,m){u&&jt(u,Ab,[],null,de),!m&&p&&(m=p[JI]()[Hr]());var g=o;o&&o[yd]&&(g=o[yd]()),t[In]=p,s=Ws(m,u,p,g)}function c(){n=!1,t[In]=null,s=null,o=null,i=[],r=EP()}}return e.__ieDyn=1,e}();var wme=function(e){Rs(t,e);function t(){var n=e.call(this)||this;n.identifier="TelemetryInitializerPlugin",n.priority=199;var s,o;r(),dt(t,n,function(i,a){i.addTelemetryInitializer=function(l){var c={id:s++,fn:l};o[kt](c);var u={remove:function(){De(o,function(p,m){if(p.id===c.id)return o[Ea](m,1),-1})}};return u},i[ur]=function(l,c){for(var u=!1,p=o[tt],m=0;m0){var N=s;s=[],De(N,function(ne){ce()[ln](ne)})}},F.pollInternalLogs=function(N){return h=N||null,H=!1,E&&(clearInterval(E),E=null),pe(!0)};function pe(N){if(!E&&!H){var ne=N||F[Ms]&&F[Ms].queue[tt]>0;if(ne){var be=Vr(t.diagnosticLogInterval);(!be||!(be>0))&&(be=1e4),E=setInterval(function(){clearInterval(E),E=0,Vt()},be)}}return E}F[gO]=function(){H=!0,E&&(clearInterval(E),E=0,Vt())},Oc(F,function(){return _},["addTelemetryInitializer"]),F.unload=function(N,ne,be){var L;N===void 0&&(N=!0),n||Pn(EDe),f&&Pn(Cme);var Y=(L={reason:50},L[Ca]=N,L.flushComplete=!1,L),z=Fb(Bt(),F);z[$m](function(){Ce(),ne&&ne(Y)},F);function Z(ue){Y.flushComplete=ue,f=!0,v.run(z,Y),F[gO](),z[ln](Y)}Vt(),un(N,Z,6,be)||Z(!1)},F[Dm]=Rt,F.addPlugin=function(N,ne,be,L){if(!N){L&&L(!1),Q(Ime);return}var Y=Rt(N[wa]);if(Y&&!ne){L&&L(!1),Q("Plugin ["+N[wa]+"] is already loaded!");return}var z={reason:16};function Z(Le){c[kt](N),z.added=[N],bt(z),L&&L(!0)}if(Y){var ue=[Y.plugin],Pe={reason:2,isAsync:!!be};fn(ue,Pe,function(Le){Le?(z.removed=ue,z.reason|=32,Z(!0)):L&&L(!1)})}else Z(!1)},F.evtNamespace=function(){return x},F[Tb]=un,F.getTraceCtx=function(N){return I||(I=_me()),I},F.setTraceCtx=function(N){I=N||null},Mb(F,"addUnloadCb",function(){return v},"add");function Ce(){n=!1,t=$b(!0,{},CDe),F[kl]=t,F[Ms]=new Bm(t),F[gk]=[],_=new wme,s=[],o=null,r=null,i=null,a=null,l=null,u=null,c=[],p=null,m=null,g=null,f=!1,h=null,x=Ks("AIBaseCore",!0),v=EP(),I=null}function ce(){var N=Ws(Bt(),t,F);return N[$m](pe),N}function bt(N){var ne=IDe(F[Ms],Rk,c);u=ne[In],l=null;var be=ne.all;if(g=wl(Sme(m,be,F)),p){var L=$s(be,p);L!==-1&&be[Ea](L,1),L=$s(u,p),L!==-1&&u[Ea](L,1),p._setQueue(g)}else p=Tme(g,F);be[kt](p),u[kt](p),F[gk]=wP(be),p[Sa](t,F,be);var Y=ce();SP(Y,be),F[gk]=wl(wP(u||[])).slice(),N&&D(N)}function Rt(N){var ne,be=null,L=null;return De(F[gk],function(Y){if(Y[wa]===N&&Y!==p&&Y!==_)return L=Y,-1}),!L&&p&&(L=p.getChannel(N)),L&&(be=(ne={plugin:L},ne[fk]=function(Y){Vc(L)[vk]=!Y},ne.isEnabled=function(){var Y=Vc(L);return!Y[qr]&&!Y[vk]},ne.remove=function(Y,z){var Z;Y===void 0&&(Y=!0);var ue=[L],Pe=(Z={reason:1},Z[Ca]=Y,Z);fn(ue,Pe,function(Le){Le&&bt({reason:32,removed:ue}),z&&z(Le)})},ne)),be}function Bt(){if(!l){var N=(u||[]).slice();$s(N,_)===-1&&N[kt](_),l=El(wP(N),t,F)}return l}function fn(N,ne,be){if(N&&N[tt]>0){var L=El(N,t,F),Y=Fb(L,F);Y[$m](function(){var z=!1,Z=[];De(c,function(Pe,Le){Ame(Pe,N)?z=!0:Z[kt](Pe)}),c=Z;var ue=[];m&&(De(m,function(Pe,Le){var xt=[];De(Pe,function(qt){Ame(qt,N)?z=!0:xt[kt](qt)}),ue[kt](xt)}),m=ue),be&&be(z),pe()}),Y[ln](ne)}else be(!1)}function Vt(){if(F[Ms]&&F[Ms].queue){var N=F[Ms].queue.slice(0);F[Ms].queue[tt]=0,De(N,function(ne){var be,L=(be={},be[mo]=h||"InternalMessageId: "+ne[Sb],be.iKey=Vr(t[WI]),be.time=Br(new Date),be.baseType=Hc.dataType,be.baseData={message:ne[cd]},be);F.track(L)})}}function un(N,ne,be,L){return p?p[Tb](N,ne,be||6,L):(ne&&ne(!1),!0)}function Jn(){var N=Vr(t.disableDbgExt);N===!0&&k&&(o[Mm](k),k=null),o&&!k&&N!==!0&&(k=Dpe(t),o[Rm](k))}function Mt(){var N=Vr(t.enablePerfMgr);!N&&i&&(i=null),N&&jn(t,vO,ADe)}function ze(){var N=jn(t,Ab,{});N.NotificationManager=o}function D(N){var ne=Lk(Bt(),F);ne[$m](pe),(!F._updateHook||F._updateHook(ne,N)!==!0)&&ne[ln](N)}function Q(N){var ne=F[Ms];ne?(xe(ne,2,73,N),pe()):Pn(N)}})}return e.__ieDyn=1,e}();function CP(e,t,n,s){De(e,function(o){if(o&&o[t])if(n)setTimeout(function(){return s(o)},0);else try{s(o)}catch{}})}var Lme=function(){function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;dt(e,this,function(s){s[Rm]=function(o){s.listeners[kt](o)},s[Mm]=function(o){for(var r=$s(s[Nm],o);r>-1;)s.listeners[Ea](r,1),r=$s(s[Nm],o)},s[Ib]=function(o){CP(s[Nm],Ib,!0,function(r){r[Ib](o)})},s[gd]=function(o,r){CP(s[Nm],gd,!0,function(i){i[gd](o,r)})},s[Pb]=function(o,r){CP(s[Nm],Pb,r,function(i){i[Pb](o,r)})},s[fd]=function(o){o&&(n||!o[hk]())&&CP(s[Nm],fd,!1,function(r){o[Ca]?setTimeout(function(){return r[fd](o)},0):r[fd](o)})}})}return e.__ieDyn=1,e}();var dq=function(e){Rs(t,e);function t(){var n=e.call(this)||this;return dt(t,n,function(s,o){s[Sa]=function(a,l,c,u){o[Sa](a,l,c||new Bm(a),u||new Lme(a))},s.track=function(a){bd(s[Fm](),function(){return"AppInsightsCore:track"},function(){a===null&&(i(a),Pn("Invalid telemetry item")),r(a),o.track(a)},function(){return{item:a}},!a.sync)};function r(a){de(a[mo])&&(i(a),Pn("telemetry name required"))}function i(a){var l=s[mk]();l&&l[gd]([a],2)}}),n}return t.__ieDyn=1,t}(Pme);var Rme="_aiHooks",Mme=["req","rsp","hkErr","fnErr"];function mq(e,t){if(e)for(var n=0;n=0&&o<=2&&mq(e,function(r,i){var a=r.cbks,l=a[Mme[o]];if(l){t.ctx=function(){var p=s[i]=s[i]||{};return p};try{l[Tl](t.inst,n)}catch(p){var c=t.err;try{var u=a[Mme[2]];u&&(t.err=p,u[Tl](t.inst,n))}catch{}finally{t.err=c}}}})}function LDe(e){return function(){var t,n=this,s=arguments,o=e.h,r=(t={},t[mo]=e.n,t.inst=n,t.ctx=null,t.set=c,t),i=[],a=l([r],s);r.evt=Ln("event");function l(p,m){return mq(m,function(g){p[kt](g)}),p}function c(p,m){s=l([],s),s[p]=m,a=l([r],s)}pq(o,r,a,i,0);var u=e.f;if(u)try{r.rslt=u[Tl](n,s)}catch(p){throw r.err=p,pq(o,r,a,i,3),p}return pq(o,r,a,i,1),r.rslt}}function gq(e,t,n,s){var o=null;return e&&(aP(e,t)?o=e:n&&(o=gq(SO(e),t,s,!1))),o}function fq(e,t,n){return e?Mk(e[An],t,n,!1):null}function $me(e,t,n,s){var o=n&&n[Rme];if(!o){o={i:0,n:t,f:n,h:[]};var r=LDe(o);r[Rme]=o,e[t]=r}var i={id:o.i,cbks:s,rm:function(){var a=this.id;mq(o.h,function(l,c){if(l.id===a)return o.h[Ea](c,1),1})}};return o.i++,o.h[kt](i),i}function Mk(e,t,n,s,o){if(s===void 0&&(s=!0),e&&t&&n){var r=gq(e,t,s,o);if(r){var i=r[t];if(typeof i===Ii)return $me(r,t,i,n)}}return null}function Ub(e,t,n,s,o){if(e&&t&&n){var r=gq(e,t,s,o)||e;if(r)return $me(r,t,r[t],n)}return null}var Ma="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Ob="sampleRate",qb="ProcessLegacy",$k="http.method",xd="https://dc.services.visualstudio.com",Gc="/v2/track",Yn="not_specified",AP="iKey";function Jm(e){var t=null;if(Ke(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",pt="length",Cl="toLowerCase",Dk="ingestionendpoint",$a="toString",IP="removeItem",ns="name",Yc="message",Dme="count";var zk="stringify",Nk="pathname",hq="correlationHeaderExcludePatterns",Hb="indexOf";var Zm="exceptions",Ni="parsedStack",fo="properties",ho="measurements",Xm="sizeInBytes",Al="typeName",eg="severityLevel",PP="problemGroup",LP="isManual",bq="CreateFromInterface",tg="assembly",jk="hasFullStack",Fk="level",ng="method",Bb="fileName",Vb="line",sg="duration",_q="receivedResponse",og="substring",zme="sanitizeKeyAndAddUniqueness",Nme="sanitizeException",jme="sanitizeProperties",Fme="sanitizeMeasurements";var Uk="";function ji(e,t){return t===void 0&&(t=!1),e==null?t:e.toString()[Cl]()==="true"}function Yr(e){(isNaN(e)||e<0)&&(e=0),e=Math.round(e);var t=Uk+e%1e3,n=Uk+Math.floor(e/1e3)%60,s=Uk+Math.floor(e/(1e3*60))%60,o=Uk+Math.floor(e/(1e3*60*60))%24,r=Math.floor(e/(1e3*60*60*24));return t=t[pt]===1?"00"+t:t[pt]===2?"0"+t:t,n=n[pt]<2?"0"+n:n,s=s[pt]<2?"0"+s:s,o=o[pt]<2?"0"+o:o,(r>0?r+".":Uk)+o+":"+s+":"+n+"."+t}function vq(e,t,n,s,o){return!o&&Ge(e)&&(e==="Script error."||e==="Script error")}var nn=PO({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=cP({LocalStorage:0,SessionStorage:1}),HDe=cP({AI:0,AI_AND_W3C:1,W3C:2});var kd=void 0,Td=void 0;function yq(){return Ok()?RP(Gb.LocalStorage):null}function RP(e){try{if(de(Pi()))return null;var t=new Date()[$a](),n=Ln(e===Gb.LocalStorage?"localStorage":"sessionStorage");n.setItem(t,t);var s=n.getItem(t)!==t;if(n[IP](t),!s)return n}catch{}return null}function xq(){return Sd()?RP(Gb.SessionStorage):null}function kq(){kd=!1,Td=!1}function Tq(){kd=Ok(!0),Td=Sd(!0)}function Ok(e){return(e||kd===void 0)&&(kd=!!RP(Gb.LocalStorage)),kd}function Sq(e,t){var n=yq();if(n!==null)try{return n.getItem(t)}catch(s){kd=!1,xe(e,2,1,"Browser failed read of local storage. "+yt(s),{exception:je(s)})}return null}function wq(e,t,n){var s=yq();if(s!==null)try{return s.setItem(t,n),!0}catch(o){kd=!1,xe(e,2,3,"Browser failed write to local storage. "+yt(o),{exception:je(o)})}return!1}function Eq(e,t){var n=yq();if(n!==null)try{return n[IP](t),!0}catch(s){kd=!1,xe(e,2,5,"Browser failed removal of local storage item. "+yt(s),{exception:je(s)})}return!1}function Sd(e){return(e||Td===void 0)&&(Td=!!RP(Gb.SessionStorage)),Td}function Qb(e,t){var n=xq();if(n!==null)try{return n.getItem(t)}catch(s){Td=!1,xe(e,2,2,"Browser failed read of session storage. "+yt(s),{exception:je(s)})}return null}function qk(e,t,n){var s=xq();if(s!==null)try{return s.setItem(t,n),!0}catch(o){Td=!1,xe(e,2,4,"Browser failed write to session storage. "+yt(o),{exception:je(o)})}return!1}function Cq(e,t){var n=xq();if(n!==null)try{return n[IP](t),!0}catch(s){Td=!1,xe(e,2,6,"Browser failed removal of session storage item. "+yt(s),{exception:je(s)})}return!1}var gr;function MP(e,t,n){var s=t[pt],o=Aq(e,t);if(o[pt]!==s){for(var r=0,i=o;n[i]!==void 0;)r++,i=o[og](0,147)+Iq(r);o=i}return o}function Aq(e,t){var n;return t&&(t=Gn(t[$a]()),t[pt]>150&&(n=t[og](0,150),xe(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 s;return t&&(n=n||1024,t=Gn(t),t.toString()[pt]>n&&(s=t[$a]()[og](0,n),xe(e,2,61,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),s||t}function Il(e,t){return zP(e,t,2048,66)}function Yb(e,t){var n;return t&&t[pt]>32768&&(n=t[og](0,32768),xe(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function $P(e,t){var n;if(t){var s=""+t;s[pt]>32768&&(n=s[og](0,32768),xe(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={};Ct(t,function(s,o){if(go(o)&&Pa())try{o=Ss()[zk](o)}catch(r){xe(e,2,49,"custom property is not valid",{exception:r},!0)}o=Wt(e,o,8192),s=MP(e,s,n),n[s]=o}),t=n}return t}function _o(e,t){if(t){var n={};Ct(t,function(s,o){s=MP(e,s,n),n[s]=o}),t=n}return t}function DP(e,t){return t&&zP(e,t,128,69)[$a]()}function zP(e,t,n,s){var o;return t&&(t=Gn(t),t[pt]>n&&(o=t[og](0,n),xe(e,2,s,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0))),o||t}function Iq(e){var t="00"+e;return t.substr(t[pt]-3)}var Ume=(gr={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},gr[zme]=MP,gr.sanitizeKey=Aq,gr.sanitizeString=Wt,gr.sanitizeUrl=Il,gr.sanitizeMessage=Yb,gr[Nme]=$P,gr[jme]=bo,gr[Fme]=_o,gr.sanitizeId=DP,gr.sanitizeInput=zP,gr.padNumber=Iq,gr.trim=Gn,gr);var Ome=Qn()||{},qme=0,BDe=[null,null,null,null,null];function Hk(e){var t=qme,n=BDe,s=n[t];return Ome.createElement?n[t]||(s=n[t]=Ome.createElement("a")):s={host:Pq(e,!0)},s.href=e,t++,t>=n[pt]&&(t=0),qme=t,s}function NP(e){var t,n=Hk(e);return n&&(t=n.href),t}function jP(e,t){return e?e.toUpperCase()+" "+t:t}function Pq(e,t){var n=FP(e,t)||"";if(n){var s=n.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(s!=null&&s[pt]>3&&Ge(s[2])&&s[2][pt]>0)return s[2]+(s[3]||"")}return n}function FP(e,t){var n=null;if(e){var s=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(s!=null&&s[pt]>2&&Ge(s[2])&&s[2][pt]>0&&(n=s[2]||"",t&&s[pt]>2)){var o=(s[1]||"")[Cl](),r=s[3]||"";(o==="http"&&r===":80"||o==="https"&&r===":443")&&(r=""),n+=r}}return n}var GDe=[xd+Gc,"https://breeze.aimon.applicationinsights.io"+Gc,"https://dc-int.services.visualstudio.com"+Gc];function rg(e){return $s(GDe,e[Cl]())!==-1}var Kc={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,n){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e[hq]){for(var s=0;s0},getCorrelationContext:function(e){if(e){var t=Kc.getCorrelationContextValue(e,nn[1]);if(t&&t!==Kc.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var n=e[Qc](","),s=0;s0){var a=Hk(t);if(o=a.host,!r)if(a[Nk]!=null){var l=a.pathname[pt]===0?"/":a[Nk];l.charAt(0)!=="/"&&(l="/"+l),i=a[Nk],r=Wt(e,n?n+" "+l:l)}else r=Wt(e,t)}else o=s,r=s;return{target:o,name:r,data:i}}function Kb(){var e=$i();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return Ds()}function ws(e,t){var n=null;return e!==0&&t!==0&&!de(e)&&!de(t)&&(n=t-e),n}function ig(e,t){var n=e||{};return{getName:function(){return n[ns]},setName:function(s){t&&t.setName(s),n[ns]=s},getTraceId:function(){return n.traceID},setTraceId:function(s){t&&t.setTraceId(s),Km(s)&&(n.traceID=s)},getSpanId:function(){return n.parentID},setSpanId:function(s){t&&t.setSpanId(s),Wm(s)&&(n.parentID=s)},getTraceFlags:function(){return n.traceFlags},setTraceFlags:function(s){t&&t.setTraceFlags(s),n.traceFlags=s}}}var QDe=";",YDe="=";function Lq(e){if(!e)return{};var t=e[Qc](QDe),n=CO(t,function(o,r){var i=r[Qc](YDe);if(i[pt]===2){var a=i[0][Cl](),l=i[1];o[a]=l}return o},{});if(dr(n)[pt]>0){if(n.endpointsuffix){var s=n.location?n.location+".":"";n[Dk]=n[Dk]||"https://"+s+"dc."+n.endpointsuffix}n[Dk]=n[Dk]||xd}return n}var UP=function(){function e(t,n,s){var o=this,r=this;r.ver=1,r.sampleRate=100,r.tags={},r[ns]=Wt(t,s)||Yn,r.data=n,r.time=Br(new Date),r.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return o.sampleRate===100?4:1},tags:1,data:1}}return e}();var Kr=function(){function e(t,n,s,o){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var r=this;r.ver=2,r[ns]=Wt(t,n)||Yn,r[fo]=bo(t,s),r[ho]=_o(t,o)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Event",e.dataType="EventData",e}();var KDe="",Wb="error",fr="stack",Mq="stackDetails",Bme="errorSrc",$q="message",Qme="description";function Dq(e,t){var n=e;return n&&!Ge(n)&&(JSON&&JSON[zk]?(n=JSON[zk](e),t&&(!n||n==="{}")&&(Ke(e[$a])?n=e[$a]():n=""+e)):n=""+e+" - (Missing JSON.stringify)"),n||""}function Yme(e,t){var n=e;return e&&(n&&!Ge(n)&&(n=e[$q]||e[Qme]||n),n&&!Ge(n)&&(n=Dq(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),t&&t!=="String"&&t!=="Object"&&t!=="Error"&&(n||"")[Hb](t)===-1&&(n=t+": "+n),n||""}function WDe(e){try{if(go(e))return"hasFullStack"in e&&"typeName"in e}catch{}return!1}function JDe(e){try{if(go(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch{}return!1}function Vme(e){return e&&e.src&&Ge(e.src)&&e.obj&&Et(e.obj)}function ag(e){var t=e||"";Ge(t)||(Ge(t[fr])?t=t[fr]:t=""+t);var n=t[Qc](` `);return{src:t,obj:n}}function ZDe(e){for(var t=[],n=e[Qc](` `),s=0;s0){t=[];var s=0,o=0;De(n,function(f){var _=f[$a]();if(zq.regex.test(_)){var h=new zq(_,s++);o+=h[Xm],t.push(h)}});var r=32*1024;if(o>r)for(var i=0,a=t[pt]-1,l=0,c=i,u=a;ir){var g=u-c+1;t.splice(c,g);break}c=i,u=a,i++,a--}}return t}function OP(e){var t="";if(e&&(t=e.typeName||e[ns]||"",!t))try{var n=/function (.{1,200})\(/,s=n.exec(e.constructor[$a]());t=s&&s[pt]>1?s[1]:""}catch{}return t}function Rq(e){if(e)try{if(!Ge(e)){var t=OP(e),n=Dq(e,!1);return(!n||n==="{}")&&(e[Wb]&&(e=e[Wb],t=OP(e)),n=Dq(e,!0)),n[Hb](t)!==0&&t!=="String"?t+":"+n:n}}catch{}return""+(e||"")}var Js=function(){function e(t,n,s,o,r,i){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,JDe(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[PP]&&(a[PP]=n[PP]),de(n[LP])||(a[LP]=n[LP])):(s||(s={}),a[Zm]=[new Gme(t,n,s)],a[fo]=bo(t,s),a[ho]=_o(t,o),r&&(a[eg]=r),i&&(a.id=i))}return e.CreateAutoException=function(t,n,s,o,r,i,a,l){var c,u=OP(r||i||t);return c={},c[Yc]=Yme(t,u),c.url=n,c.lineNumber=s,c.columnNumber=o,c.error=Rq(r||i||t),c.evt=Rq(i||t),c[Al]=u,c.stackDetails=Kme(a||r||i),c.errorSrc=l,c},e.CreateFromInterface=function(t,n,s,o){var r=n[Zm]&&qm(n[Zm],function(a){return Gme[bq](t,a)}),i=new e(t,Vn(Vn({},n),{exceptions:r}),s,o);return i},e.prototype.toInterface=function(){var t,n=this,s=n.exceptions,o=n.properties,r=n.measurements,i=n.severityLevel,a=n.problemGroup,l=n.id,c=n.isManual,u=s instanceof Array&&qm(s,function(p){return p.toInterface()})||void 0;return t={ver:"4.0"},t[Zm]=u,t.severityLevel=i,t.properties=o,t.measurements=r,t.problemGroup=a,t.id=l,t.isManual=c,t},e.CreateSimpleException=function(t,n,s,o,r,i){var a;return{exceptions:[(a={},a[jk]=!0,a.message=t,a.stack=r,a.typeName=n,a)]}},e.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",e.dataType="ExceptionData",e.formatError=Rq,e}();var Gme=function(){function e(t,n,s){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var o=this;if(WDe(n))o[Al]=n[Al],o[Yc]=n[Yc],o[fr]=n[fr],o[Ni]=n[Ni]||[],o[jk]=n[jk];else{var r=n,i=r&&r.evt;Om(r)||(r=r[Wb]||i||r),o[Al]=Wt(t,OP(r))||Yn,o[Yc]=Yb(t,Yme(n||r,o[Al]))||Yn;var a=n[Mq]||Kme(n);o[Ni]=eze(a),Et(o[Ni])&&qm(o[Ni],function(l){return l[tg]=Wt(t,l[tg])}),o[fr]=$P(t,XDe(a)),o.hasFullStack=Et(o.parsedStack)&&o.parsedStack[pt]>0,s&&(s[Al]=s[Al]||o[Al])}}return e.prototype.toInterface=function(){var t,n=this,s=n[Ni]instanceof Array&&qm(n[Ni],function(r){return r.toInterface()}),o=(t={id:n.id,outerId:n.outerId,typeName:n[Al],message:n[Yc],hasFullStack:n[jk],stack:n[fr]},t[Ni]=s||void 0,t);return o},e.CreateFromInterface=function(t,n){var s=n[Ni]instanceof Array&&qm(n[Ni],function(r){return zq[bq](r)})||n[Ni],o=new e(t,Vn(Vn({},n),{parsedStack:s}));return o},e}();var zq=function(){function e(t,n){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var s=this;if(s[Xm]=0,typeof t=="string"){var o=t;s[Fk]=n,s[ng]=KDe,s[tg]=Gn(o),s[Bb]="",s[Vb]=0;var r=o.match(e.regex);r&&r[pt]>=5&&(s[ng]=Gn(r[2])||s[ng],s[Bb]=Gn(r[4]),s[Vb]=parseInt(r[5])||0)}else s[Fk]=t[Fk],s[ng]=t[ng],s[tg]=t[tg],s[Bb]=t[Bb],s[Vb]=t[Vb],s[Xm]=0;s.sizeInBytes+=s.method[pt],s.sizeInBytes+=s.fileName[pt],s.sizeInBytes+=s.assembly[pt],s[Xm]+=e.baseSize,s.sizeInBytes+=s.level.toString()[pt],s.sizeInBytes+=s.line.toString()[pt]}return e.CreateFromInterface=function(t){return new e(t,null)},e.prototype.toInterface=function(){var t=this;return{level:t[Fk],method:t[ng],assembly:t[tg],fileName:t[Bb],line:t[Vb]}},e.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,e.baseSize=58,e}();var Wme=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 Wr=function(){function e(t,n,s,o,r,i,a,l,c){this.aiDataContract={ver:1,metrics:1,properties:0};var u=this;u.ver=2;var p=new Wme;p[Dme]=o>0?o:void 0,p.max=isNaN(i)||i===null?void 0:i,p.min=isNaN(r)||r===null?void 0:r,p[ns]=Wt(t,n)||Yn,p.value=s,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 Po=function(){function e(t,n,s,o,r,i,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=DP(t,a),l.url=Il(t,s),l[ns]=Wt(t,n)||Yn,isNaN(o)||(l[sg]=Yr(o)),l[fo]=bo(t,r),l[ho]=_o(t,i)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",e.dataType="PageviewData",e}();var Jr=function(){function e(t,n,s,o,r,i,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[sg]=Yr(r),g.success=i,g.resultCode=a+"",g.type=Wt(t,c);var f=Hme(t,s,l,o);g.data=Il(t,o)||f.data,g.target=Wt(t,f.target),u&&(g.target="".concat(g.target," | ").concat(u)),g[ns]=Wt(t,f[ns]),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,s,o,r){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var i=this;i.ver=2,n=n||Yn,i[Yc]=Yb(t,n),i[fo]=bo(t,o),i[ho]=_o(t,r),s&&(i[eg]=s)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Message",e.dataType="MessageData",e}();var za=function(){function e(t,n,s,o,r,i,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=Il(t,s),l[ns]=Wt(t,n)||Yn,l[fo]=bo(t,r),l[ho]=_o(t,i),a&&(l.domProcessing=a.domProcessing,l[sg]=a[sg],l.networkConnect=a.networkConnect,l.perfTotal=a.perfTotal,l[_q]=a[_q],l.sentRequest=a.sentRequest)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",e.dataType="PageviewPerformanceData",e}();var Pl=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 Bk=Ed("application"),Es=Ed("device"),qP=Ed("location"),Jb=Ed("operation"),Nq=Ed("session"),wd=Ed("user"),lg=Ed("cloud"),Vk=Ed("internal"),Zb=function(e){Rs(t,e);function t(){return e.call(this)||this}return t}(IO({applicationVersion:Bk("ver"),applicationBuild:Bk("build"),applicationTypeId:Bk("typeId"),applicationId:Bk("applicationId"),applicationLayer:Bk("layer"),deviceId:Es("id"),deviceIp:Es("ip"),deviceLanguage:Es("language"),deviceLocale:Es("locale"),deviceModel:Es("model"),deviceFriendlyName:Es("friendlyName"),deviceNetwork:Es("network"),deviceNetworkName:Es("networkName"),deviceOEMName:Es("oemName"),deviceOS:Es("os"),deviceOSVersion:Es("osVersion"),deviceRoleInstance:Es("roleInstance"),deviceRoleName:Es("roleName"),deviceScreenResolution:Es("screenResolution"),deviceType:Es("type"),deviceMachineName:Es("machineName"),deviceVMName:Es("vmName"),deviceBrowser:Es("browser"),deviceBrowserVersion:Es("browserVersion"),locationIp:qP("ip"),locationCountry:qP("country"),locationProvince:qP("province"),locationCity:qP("city"),operationId:Jb("id"),operationName:Jb("name"),operationParentId:Jb("parentId"),operationRootId:Jb("rootId"),operationSyntheticSource:Jb("syntheticSource"),operationCorrelationVector:Jb("correlationVector"),sessionId:Nq("id"),sessionIsFirst:Nq("isFirst"),sessionIsNew:Nq("isNew"),userAccountAcquisitionDate:wd("accountAcquisitionDate"),userAccountId:wd("accountId"),userAgent:wd("userAgent"),userId:wd("id"),userStoreRegion:wd("storeRegion"),userAuthUserId:wd("authUserId"),userAnonymousUserAcquisitionDate:wd("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:wd("authUserAcquisitionDate"),cloudName:lg("name"),cloudRole:lg("role"),cloudRoleVer:lg("roleVer"),cloudRoleInstance:lg("roleInstance"),cloudEnvironment:lg("environment"),cloudLocation:lg("location"),cloudDeploymentUnit:lg("deploymentUnit"),internalNodeName:Vk("nodeName"),internalSdkVersion:Vk("sdkVersion"),internalAgentVersion:Vk("agentVersion"),internalSnippet:Vk("snippet"),internalSdkSrc:Vk("sdkSrc")}));function Fi(e,t,n,s,o,r){var i;n=Wt(s,n)||Yn,(de(e)||de(t)||de(n))&&Pn("Input doesn't contain all required fields");var a="";e[AP]&&(a=e[AP],delete e[AP]);var l=(i={},i[ns]=n,i.time=Br(new Date),i.iKey=a,i.ext=r||{},i.tags=[],i.data={},i.baseType=t,i.baseData=e,i);return de(o)||Ct(o,function(c,u){l.data[c]=u}),l}var Jme=function(){function e(){}return e.create=Fi,e}();var Zs={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},sn=new Zb;var Cd="AppInsightsPropertiesPlugin",Gk="AppInsightsChannelPlugin",jq="ApplicationInsightsAnalytics";var Qk="toString",HP="disableExceptionTracking",Yk="autoTrackPageVisitTime",BP="overridePageViewDuration",VP="enableUnhandledPromiseRejectionTracking",Kk="samplingPercentage",Wk="isStorageUseDisabled",Jk="isBrowserLinkTrackingEnabled",GP="enableAutoRouteTracking",QP="namePrefix",YP="disableFlushOnBeforeUnload";var zs="core",Wc="dataType",Ad="envelopeType",hr="diagLog",Id="track",Xb="trackPageView",Zk="trackPreviousPageVisit",Jc="sendPageViewInternal",Xk="sendPageViewPerformanceInternal",e_="populatePageViewPerformanceEvent",Pd="href",Fq="sendExceptionInternal",KP="exception",t_="error",WP="_onerror",JP="errorSrc",ZP="lineNumber",XP="columnNumber",Uq="message",eL="CreateAutoException",eT="addTelemetryInitializer",Ll="duration",Ld="length",tL="isPerformanceTimingSupported",nL="getPerformanceTiming",n_="navigationStart",tT="shouldCollectDuration",sL="isPerformanceTimingDataReady",Zme="getEntriesByType",s_="responseStart",Xme="requestStart",nT="loadEventEnd",oL="responseEnd",sT="connectEnd",Oq="pageVisitStartTime";var rL=null;function rze(){if(rL==null)try{rL=!!(self&&self instanceof WorkerGlobalScope)}catch{rL=!1}return rL}var ege=function(){function e(t,n,s,o){dt(e,this,function(r){var i=null,a=[],l=!1,c;s&&(c=s.logger);function u(g){s&&s.flush(g)}function p(){i||(i=setTimeout(function(){i=null;var g=a.slice(0),f=!1;a=[],De(g,function(_){_()?f=!0:a.push(_)}),a[Ld]>0&&p(),f&&u(!0)},100))}function m(g){a.push(g),p()}r[Xb]=function(g,f){var _=g.name;if(de(_)||typeof _!="string"){var h=Qn();_=g.name=h&&h.title||""}var x=g.uri;if(de(x)||typeof x!="string"){var v=pr();x=g.uri=v&&v[Pd]||""}if(!o[tL]()){t[Jc](g,f),u(!0),rze()||xe(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 k=!1,I,E=o[nL]()[n_];E>0&&(I=ws(E,+new Date),o[tT](I)||(I=void 0));var H;!de(f)&&!de(f[Ll])&&(H=f[Ll]),(n||!isNaN(H))&&(isNaN(H)&&(f||(f={}),f[Ll]=I),t[Jc](g,f),u(!0),k=!0);var F=6e4;f||(f={}),m(function(){var pe=!1;try{if(o[sL]()){pe=!0;var Ce={name:_,uri:x};o[e_](Ce),!Ce.isValid&&!k?(f[Ll]=I,t[Jc](g,f)):(k||(f[Ll]=Ce.durationMs,t[Jc](g,f)),l||(t[Xk](Ce,f),l=!0))}else E>0&&ws(E,+new Date)>F&&(pe=!0,k||(f[Ll]=F,t[Jc](g,f)))}catch(ce){xe(c,1,38,"trackPageView failed on page load calculation: "+yt(ce),{exception:je(ce)})}return pe})},r.teardown=function(g,f){if(i){clearTimeout(i),i=null;var _=a.slice(0),h=!1;a=[],De(_,function(x){x()&&(h=!0)})}}})}return e.__ieDyn=1,e}();var ize=36e5,tge=["googlebot","adsbot-google","apis-google","mediapartners-google"];function sge(){var e=$i();return e&&!!e.timing}function aze(){var e=$i();return e&&e.getEntriesByType&&e.getEntriesByType("navigation")[Ld]>0}function lze(){var e=$i(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t[n_]>0&&t[s_]>0&&t[Xme]>0&&t[nT]>0&&t[oL]>0&&t[sT]>0&&t.domLoading>0}function nge(){return sge()?$i().timing:null}function cze(){return aze()?$i()[Zme]("navigation")[0]:null}function uze(){for(var e=[],t=0;t=ize)return!1;return!0}var oge=function(){function e(t){var n=this,s=La(t);dt(e,this,function(o){o[e_]=function(r){r.isValid=!1;var i=cze(),a=nge(),l=0,c=0,u=0,p=0,m=0;(i||a)&&(i?(l=i[Ll],c=i.startTime===0?i[sT]:ws(i.startTime,i[sT]),u=ws(i.requestStart,i[s_]),p=ws(i[s_],i[oL]),m=ws(i.responseEnd,i[nT])):(l=ws(a[n_],a[nT]),c=ws(a[n_],a[sT]),u=ws(a.requestStart,a[s_]),p=ws(a[s_],a[oL]),m=ws(a.responseEnd,a[nT])),l===0?xe(s,2,10,"error calculating page view performance.",{total:l,network:c,request:u,response:p,dom:m}):n[tT](l,c,u,p,m)?l=100)&&(e[Kk]=100),e[Wk]=ji(e[Wk]),e[Jk]=ji(e[Jk]),e[GP]=ji(e[GP]),e[QP]=e[QP]||"",e.enableDebug=ji(e.enableDebug),e[YP]=ji(e[YP]),e.disableFlushOnUnload=ji(e.disableFlushOnUnload,e[YP]),e}function gze(e){vn(e[Wk])||(e[Wk]?kq():Tq())}var iL=function(e){Rs(t,e);function t(){var n=e.call(this)||this;n.identifier=jq,n.priority=180,n.autoRoutePVDelay=500;var s,o,r,i,a,l,c,u,p,m,g,f,_,h,x=0,v,k,I;return dt(t,n,function(E,H){var F=H._addHook;ze(),E.getCookieMgr=function(){return Ym(E[zs])},E.processTelemetry=function(D,Q){E.processNext(D,Q)},E.trackEvent=function(D,Q){try{var N=Fi(D,Kr[Wc],Kr[Ad],E[hr](),Q);E[zs][Id](N)}catch(ne){Mt(2,39,"trackTrace failed, trace will not be collected: "+yt(ne),{exception:je(ne)})}},E.startTrackEvent=function(D){try{s.start(D)}catch(Q){Mt(1,29,"startTrackEvent failed, event will not be collected: "+yt(Q),{exception:je(Q)})}},E.stopTrackEvent=function(D,Q,N){try{s.stop(D,void 0,Q,N)}catch(ne){Mt(1,30,"stopTrackEvent failed, event will not be collected: "+yt(ne),{exception:je(ne)})}},E.trackTrace=function(D,Q){try{var N=Fi(D,Da[Wc],Da[Ad],E[hr](),Q);E[zs][Id](N)}catch(ne){Mt(2,39,"trackTrace failed, trace will not be collected: "+yt(ne),{exception:je(ne)})}},E.trackMetric=function(D,Q){try{var N=Fi(D,Wr[Wc],Wr[Ad],E[hr](),Q);E[zs][Id](N)}catch(ne){Mt(1,36,"trackMetric failed, metric will not be collected: "+yt(ne),{exception:je(ne)})}},E[Xb]=function(D,Q){try{var N=D||{};r[Xb](N,Vn(Vn(Vn({},N.properties),N.measurements),Q)),E.config[Yk]&&a[Zk](N.name,N.uri)}catch(ne){Mt(1,37,"trackPageView failed, page view will not be collected: "+yt(ne),{exception:je(ne)})}},E[Jc]=function(D,Q,N){var ne=Qn();ne&&(D.refUri=D.refUri===void 0?ne.referrer:D.refUri);var be=Fi(D,Po[Wc],Po[Ad],E[hr](),Q,N);E[zs][Id](be),x=0},E[Xk]=function(D,Q,N){var ne=Fi(D,za[Wc],za[Ad],E[hr](),Q,N);E[zs][Id](ne)},E.trackPageViewPerformance=function(D,Q){var N=D||{};try{i[e_](N),E[Xk](N,Q)}catch(ne){Mt(1,37,"trackPageViewPerformance failed, page view will not be collected: "+yt(ne),{exception:je(ne)})}},E.startTrackPage=function(D){try{if(typeof D!="string"){var Q=Qn();D=Q&&Q.title||""}o.start(D)}catch(N){Mt(1,31,"startTrackPage failed, page view may not be collected: "+yt(N),{exception:je(N)})}},E.stopTrackPage=function(D,Q,N,ne){try{if(typeof D!="string"){var be=Qn();D=be&&be.title||""}if(typeof Q!="string"){var L=pr();Q=L&&L[Pd]||""}o.stop(D,Q,N,ne),E.config[Yk]&&a[Zk](D,Q)}catch(Y){Mt(1,32,"stopTrackPage failed, page view will not be collected: "+yt(Y),{exception:je(Y)})}},E[Fq]=function(D,Q,N){var ne=D&&(D[KP]||D[t_])||Om(D)&&D||{name:D&&typeof D,message:D||Yn};D=D||{};var be=new Js(E[hr](),ne,D.properties||Q,D.measurements,D.severityLevel,D.id).toInterface(),L=Fi(be,Js[Wc],Js[Ad],E[hr](),Q,N);E[zs][Id](L)},E.trackException=function(D,Q){D&&!D[KP]&&D[t_]&&(D[KP]=D[t_]);try{E[Fq](D,Q)}catch(N){Mt(1,35,"trackException failed, exception will not be collected: "+yt(N),{exception:je(N)})}},E[WP]=function(D){var Q=D&&D[t_],N=D&&D.evt;try{if(!N){var ne=Gr();ne&&(N=ne[pze])}var be=D&&D.url||(Qn()||{}).URL,L=D[JP]||"window.onerror@"+be+":"+(D[ZP]||0)+":"+(D[XP]||0),Y={errorSrc:L,url:be,lineNumber:D[ZP]||0,columnNumber:D[XP]||0,message:D[Uq]};vq(D.message,D.url,D.lineNumber,D.columnNumber,D[t_])?Rt(Js[eL]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",be,D[ZP]||0,D[XP]||0,Q,N,null,L),Y):(D[JP]||(D[JP]=L),E.trackException({exception:D,severityLevel:3},Y))}catch(Z){var z=Q?Q.name+", "+Q[Uq]:"null";Mt(1,11,"_onError threw exception while logging error, error will not be collected: "+yt(Z),{exception:je(Z),errorString:z})}},E[eT]=function(D){if(E[zs])return E[zs][eT](D);l||(l=[]),l.push(D)},E.initialize=function(D,Q,N,ne){if(!E.isInitialized()){de(Q)&&Pn("Error initializing"),H.initialize(D,Q,N,ne);try{I=Qr(Ks(E.identifier),Q.evtNamespace&&Q.evtNamespace()),l&&(De(l,function(L){Q[eT](L)}),l=null);var be=pe(D);gze(be),i=new oge(E[zs]),r=new ege(n,be[BP],E[zs],i),a=new rge(E[hr](),function(L,Y,z){return ce(L,Y,z)}),Ce(be,D),s=new qq(E[hr](),"trackEvent"),s.action=function(L,Y,z,Z,ue){Z||(Z={}),ue||(ue={}),Z.duration=z[Qk](),E.trackEvent({name:L,properties:Z,measurements:ue})},o=new qq(E[hr](),"trackPageView"),o.action=function(L,Y,z,Z,ue){de(Z)&&(Z={}),Z.duration=z[Qk]();var Pe={name:L,uri:Y,properties:Z,measurements:ue};E[Jc](Pe,Z)},qc()&&(Bt(be),fn(be))}catch(L){throw E.setInitialized(!1),L}}},E._doTeardown=function(D,Q){r&&r.teardown(D,Q),vd(window,null,null,I),ze()};function pe(D){var Q=Ws(null,D,E[zs]),N=E.identifier,ne=lge(D),be=E.config=Q.getExtCfg(N);return ne!==void 0&&Ct(ne,function(L,Y){be[L]=Q.getConfig(N,L,Y),be[L]===void 0&&(be=Y)}),be}function Ce(D,Q){c=D[Jk]||Q[Jk],bt()}function ce(D,Q,N){var ne={PageName:D,PageUrl:Q};E.trackMetric({name:"PageVisitTime",average:N,max:N,min:N,sampleCount:1},ne)}function bt(){if(!u&&c){var D=["/browserLinkSignalR/","/__browserLink/"],Q=function(N){if(c&&N.baseType===Jr[Wc]){var ne=N.baseData;if(ne){for(var be=0;be=0)return!1}}return!0};E[eT](Q),u=!0}}function Rt(D,Q){var N=Fi(D,Js[Wc],Js[Ad],E[hr](),Q);E[zs][Id](N)}function Bt(D){var Q=Gr(),N=pr(!0);g=D[HP],!g&&!f&&!D.autoExceptionInstrumented&&(F(Ub(Q,"onerror",{ns:I,rsp:function(ne,be,L,Y,z,Z){!g&&ne.rslt!==!0&&E[WP](Js[eL](be,L,Y,z,Z,ne.evt))}},!1)),f=!0),Jn(D,Q,N)}function fn(D){var Q=Gr(),N=pr(!0);if(p=D[GP]===!0,Q&&p&&dP()){var ne=NO();Ke(ne.pushState)&&Ke(ne.replaceState)&&typeof Event!==cr&&un(D,Q,ne,N)}}function Vt(){var D=null;if(E[zs]&&E[zs].getTraceCtx&&(D=E[zs].getTraceCtx(!1)),!D){var Q=E[zs].getPlugin(Cd);if(Q){var N=Q.plugin.context;N&&(D=ig(N.telemetryTrace))}}return D}function un(D,Q,N,ne){var be=D[QP]||"";function L(){p&&oT(Q,Jm(be+"locationchange"))}function Y(){if(k?(v=k,k=ne&&ne[Pd]||""):k=ne&&ne[Pd]||"",p){var z=Vt();if(z){z.setTraceId(mr());var Z="_unknown_";ne&&ne.pathname&&(Z=ne.pathname+(ne.hash||"")),z.setName(Wt(E[hr](),Z))}setTimeout(function(ue){E[Xb]({refUri:ue,properties:{duration:0}})}.bind(this,v),E.autoRoutePVDelay)}}m||(F(Ub(N,"pushState",{ns:I,rsp:function(){p&&(oT(Q,Jm(be+"pushState")),oT(Q,Jm(be+"locationchange")))}},!0)),F(Ub(N,"replaceState",{ns:I,rsp:function(){p&&(oT(Q,Jm(be+"replaceState")),oT(Q,Jm(be+"locationchange")))}},!0)),zi(Q,be+"popstate",L,I),zi(Q,be+"locationchange",Y,I),m=!0)}function Jn(D,Q,N){_=D[VP]===!0,_&&!h&&(F(Ub(Q,"onunhandledrejection",{ns:I,rsp:function(ne,be){_&&ne.rslt!==!0&&E[WP](Js[eL](mze(be),N?N[Pd]:"",0,0,be,ne.evt))}},!1)),h=!0,D.autoUnhandledPromiseInstrumented=h)}function Mt(D,Q,N,ne,be){E[hr]().throwInternal(D,Q,N,ne,be)}function ze(){s=null,o=null,r=null,i=null,a=null,l=null,c=!1,u=!1,p=!1,m=!1,g=!1,f=!1,_=!1,h=!1,x=0;var D=pr(!0);v=D&&D[Pd]||"",k=null,I=null}Mi(E,"_pageViewManager",function(){return r}),Mi(E,"_pageViewPerformanceManager",function(){return i}),Mi(E,"_pageVisitTimeManager",function(){return a}),Mi(E,"_evtNamespace",function(){return"."+I})}),n}return t.Version="2.8.13",t.getDefaultConfig=lge,t}(Ra);var Rd="duration";var ss="tags",aL="deviceType",br="data",Rl="name",cg="traceID",Tt="length",Md="stringify",$d="measurements",Ui="dataType",Dd="envelopeType",Zc="toString",rT="onLine",iT="isOnline",ug="enqueue",zd="count",Xc="push",aT="emitLineDelimitedJson",Nd="clear",dg="batchPayloads",jd="markAsSent",pg="clearSent",lT="bufferOverride",o_="BUFFER_KEY",Fd="SENT_BUFFER_KEY",r_="MAX_BUFFER_SIZE",eu="namePrefix",lL="maxBatchSizeInBytes",mg="triggerSend",vo="diagLog",Hq="onunloadDisableBeacon",cL="isBeaconApiDisabled",i_="_sender",cn="_senderConfig",Bq="enableSessionStorageBuffer",Ud="_buffer",Vq="samplingPercentage",cT="instrumentationKey",Od="endpointUrl",Gq="customHeaders",a_="disableXhr",Qq="onunloadDisableFetch",uL="disableTelemetry",dL="baseType",l_="sampleRate",Yq="convertUndefined",cge="_xhrReadyStateChange",Oi="_onError",pL="_onPartialSuccess",uT="_onSuccess",dT="itemsAccepted",uge="itemsReceived",c_="isRetryDisabled",mL="setRequestHeader",Kq="maxBatchInterval",Wq="eventsSendRequest",Jq="disableInstrumentationKeyValidation",gL="getSamplingScore",dge="getHashCodeScore";var Zq="baseType",yn="baseData",Ns="properties",pge="true";function os(e,t,n){return jt(e,t,n,Rb)}function fze(e,t,n){var s=n[ss]=n[ss]||{},o=t.ext=t.ext||{},r=t[ss]=t[ss]||[],i=o.user;i&&(os(s,sn.userAuthUserId,i.authId),os(s,sn.userId,i.id||i.localId));var a=o.app;a&&os(s,sn.sessionId,a.sesId);var l=o.device;l&&(os(s,sn.deviceId,l.id||l.localId),os(s,sn[aL],l.deviceClass),os(s,sn.deviceIp,l.ip),os(s,sn.deviceModel,l.model),os(s,sn[aL],l[aL]));var c=t.ext.web;if(c){os(s,sn.deviceLanguage,c.browserLang),os(s,sn.deviceBrowserVersion,c.browserVer),os(s,sn.deviceBrowser,c.browser);var u=n[br]=n[br]||{},p=u[yn]=u[yn]||{},m=p[Ns]=p[Ns]||{};os(m,"domain",c.domain),os(m,"isManual",c.isManual?pge:null),os(m,"screenRes",c.screenRes),os(m,"userConsent",c.userConsent?pge:null)}var g=o.os;g&&os(s,sn.deviceOS,g[Rl]);var f=o.trace;f&&(os(s,sn.operationParentId,f.parentID),os(s,sn.operationName,Wt(e,f[Rl])),os(s,sn.operationId,f[cg]));for(var _={},h=r[Tt]-1;h>=0;h--){var x=r[h];Ct(x,function(k,I){_[k]=I}),r.splice(h,1)}Ct(r,function(k,I){_[k]=I});var v=Vn(Vn({},s),_);v[sn.internalSdkVersion]||(v[sn.internalSdkVersion]="javascript:".concat(hze.Version)),n[ss]=lP(v)}function qd(e,t,n){de(e)||Ct(e,function(s,o){xk(o)?n[s]=o:Ge(o)?t[s]=o:Pa()&&(t[s]=Ss()[Md](o))})}function gg(e,t){de(e)||Ct(e,function(n,s){e[n]=s||t})}function fg(e,t,n,s){var o=new UP(e,s,t);os(o,"sampleRate",n[Ob]),(n[yn]||{}).startTime&&(o.time=Br(n[yn].startTime)),o.iKey=n.iKey;var r=n.iKey.replace(/-/g,"");return o[Rl]=o[Rl].replace("{0}",r),fze(e,n,o),n[ss]=n[ss]||[],lP(o)}function hg(e,t){de(t[yn])&&xe(e,1,46,"telemetryItem.baseData cannot be null.")}var hze={Version:"2.8.13"};function mge(e,t,n){hg(e,t);var s=t[yn][$d]||{},o=t[yn][Ns]||{};qd(t[br],o,s),de(n)||gg(o,n);var r=t[yn];if(de(r))return Di(e,"Invalid input for dependency data"),null;var i=r[Ns]&&r[Ns][$k]?r[Ns][$k]:"GET",a=new Jr(e,r.id,r.target,r[Rl],r[Rd],r.success,r.responseCode,i,r.type,r.correlationContext,o,s),l=new Pl(Jr[Ui],a);return fg(e,Jr[Dd],t,l)}function Xq(e,t,n){hg(e,t);var s={},o={};t[Zq]!==Kr[Ui]&&(s.baseTypeSource=t[Zq]),t[Zq]===Kr[Ui]?(s=t[yn][Ns]||{},o=t[yn][$d]||{}):t[yn]&&qd(t[yn],s,o),qd(t[br],s,o),de(n)||gg(s,n);var r=t[yn][Rl],i=new Kr(e,r,s,o),a=new Pl(Kr[Ui],i);return fg(e,Kr[Dd],t,a)}function gge(e,t,n){hg(e,t);var s=t[yn][$d]||{},o=t[yn][Ns]||{};qd(t[br],o,s),de(n)||gg(o,n);var r=t[yn],i=Js.CreateFromInterface(e,r,o,s),a=new Pl(Js[Ui],i);return fg(e,Js[Dd],t,a)}function fge(e,t,n){hg(e,t);var s=t[yn],o=s[Ns]||{},r=s[$d]||{};qd(t[br],o,r),de(n)||gg(o,n);var i=new Wr(e,s[Rl],s.average,s.sampleCount,s.min,s.max,s.stdDev,o,r),a=new Pl(Wr[Ui],i);return fg(e,Wr[Dd],t,a)}function hge(e,t,n){hg(e,t);var s,o=t[yn];!de(o)&&!de(o[Ns])&&!de(o[Ns][Rd])?(s=o[Ns][Rd],delete o[Ns][Rd]):!de(t[br])&&!de(t[br][Rd])&&(s=t[br][Rd],delete t[br][Rd]);var r=t[yn],i;((t.ext||{}).trace||{})[cg]&&(i=t.ext.trace[cg]);var a=r.id||i,l=r[Rl],c=r.uri,u=r[Ns]||{},p=r[$d]||{};if(de(r.refUri)||(u.refUri=r.refUri),de(r.pageType)||(u.pageType=r.pageType),de(r.isLoggedIn)||(u.isLoggedIn=r.isLoggedIn[Zc]()),!de(r[Ns])){var m=r[Ns];Ct(m,function(_,h){u[_]=h})}qd(t[br],u,p),de(n)||gg(u,n);var g=new Po(e,l,c,s,u,p,a),f=new Pl(Po[Ui],g);return fg(e,Po[Dd],t,f)}function bge(e,t,n){hg(e,t);var s=t[yn],o=s[Rl],r=s.uri||s.url,i=s[Ns]||{},a=s[$d]||{};qd(t[br],i,a),de(n)||gg(i,n);var l=new za(e,o,r,void 0,i,a,s),c=new Pl(za[Ui],l);return fg(e,za[Dd],t,c)}function _ge(e,t,n){hg(e,t);var s=t[yn].message,o=t[yn].severityLevel,r=t[yn][Ns]||{},i=t[yn][$d]||{};qd(t[br],r,i),de(n)||gg(r,n);var a=new Da(e,s,o,r,i),l=new Pl(Da[Ui],a);return fg(e,Da[Dd],t,l)}function vge(e,t){vd(e,null,null,t)}function yge(e){var t,n=Qn(),s=Io(),o=!1,r=!0,i=Qr(Ks("OfflineListener"),e);try{if(l(Gr())&&(o=!0),n){var a=n.body||n;a.ononline&&l(a)&&(o=!0)}o&&s&&!de(s[rT])&&(r=s[rT])}catch{o=!1}function l(g){var f=!1;return g&&(f=zi(g,"online",c,i),f&&zi(g,"offline",u,i)),f}function c(){r=!0}function u(){r=!1}function p(){var g=!0;return o?g=r:s&&!de(s[rT])&&(g=s[rT]),g}function m(){var g=Gr();if(g&&o){if(vge(g,i),n){var f=n.body||n;vn(f.ononline)||vge(f,i)}o=!1}}return t={},t[iT]=p,t.isListening=function(){return o},t.unload=m,t}var xge=function(){function e(t,n){var s=[],o=!1;this._get=function(){return s},this._set=function(r){return s=r,s},dt(e,this,function(r){r[ug]=function(i){if(r[zd]()>=n.eventsLimitInMem()){o||(xe(t,2,105,"Maximum in-memory buffer size reached: "+r[zd](),!0),o=!0);return}s[Xc](i)},r[zd]=function(){return s[Tt]},r.size=function(){for(var i=s[Tt],a=0;a0){var a=n[aT]()?i.join(` `):"["+i.join(",")+"]";return a}return null}})}return e.__ieDyn=1,e}(),kge=function(e){Rs(t,e);function t(n,s){var o=e.call(this,n,s)||this;return dt(t,o,function(r,i){r[jd]=function(a){i[Nd]()},r[pg]=function(a){}}),o}return t.__ieDyn=1,t}(xge);var Tge=function(e){Rs(t,e);function t(n,s){var o=e.call(this,n,s)||this,r=!1,i=s[lT]()||{getItem:Qb,setItem:qk},a=i.getItem,l=i.setItem;return dt(t,o,function(c,u){var p=_(t[o_]),m=_(t[Fd]),g=c._set(p.concat(m));g[Tt]>t[r_]&&(g[Tt]=t[r_]),h(t[Fd],[]),h(t[o_],g),c[ug]=function(x){if(c[zd]()>=t[r_]){r||(xe(n,2,67,"Maximum buffer size reached: "+c[zd](),!0),r=!0);return}u[ug](x),h(t[o_],c._get())},c[Nd]=function(){u[Nd](),h(t[o_],c._get()),h(t[Fd],[]),r=!1},c[jd]=function(x){h(t[o_],c._set(f(x,c._get())));var v=_(t[Fd]);v instanceof Array&&x instanceof Array&&(v=v.concat(x),v[Tt]>t[r_]&&(xe(n,1,67,"Sent buffer reached its maximum size: "+v[Tt],!0),v[Tt]=t[r_]),h(t[Fd],v))},c[pg]=function(x){var v=_(t[Fd]);v=f(x,v),h(t[Fd],v)};function f(x,v){var k=[];return De(v,function(I){!Ke(I)&&$s(x,I)===-1&&k[Xc](I)}),k}function _(x){var v=x;try{v=s[eu]&&s[eu]()?s[eu]()+"_"+v:v;var k=a(n,v);if(k){var I=Ss().parse(k);if(Ge(I)&&(I=Ss().parse(I)),I&&Et(I))return I}}catch(E){xe(n,1,42," storage key: "+v+", "+yt(E),{exception:je(E)})}return[]}function h(x,v){var k=x;try{k=s[eu]&&s[eu]()?s[eu]()+"_"+k:k;var I=JSON[Md](v);l(n,k,I)}catch(E){l(n,k,JSON[Md]([])),xe(n,2,41," storage key: "+k+", "+yt(E)+". Buffer cleared",{exception:je(E)})}}}),o}return t.BUFFER_KEY="AI_buffer",t.SENT_BUFFER_KEY="AI_sentBuffer",t.MAX_BUFFER_SIZE=2e3,t}(xge);var Sge=function(){function e(t){dt(e,this,function(n){n.serialize=function(i){var a=s(i,"root");try{return Ss()[Md](a)}catch(l){xe(t,1,48,l&&Ke(l[Zc])?l[Zc]():"Error serializing object",null,!0)}};function s(i,a){var l="__aiCircularRefCheck",c={};if(!i)return xe(t,1,48,"cannot serialize object because it is null or undefined",{name:a},!0),c;if(i[l])return xe(t,2,50,"Circular reference detected while serializing object",{name:a},!0),c;if(!i.aiDataContract){if(a==="measurements")c=r(i,"number",a);else if(a==="properties")c=r(i,"string",a);else if(a==="tags")c=r(i,"string",a);else if(Et(i))c=o(i,a);else{xe(t,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:a},!0);try{Ss()[Md](i),c=i}catch(u){xe(t,1,48,u&&Ke(u[Zc])?u[Zc]():"Error serializing object",null,!0)}}return c}return i[l]=!0,Ct(i.aiDataContract,function(u,p){var m=Ke(p)?p()&1:p&1,g=Ke(p)?p()&4:p&4,f=p&2,_=i[u]!==void 0,h=go(i[u])&&i[u]!==null;if(m&&!_&&!f)xe(t,1,24,"Missing required field specification. The field is required but not present on source",{field:u,name:a});else if(!g){var x=void 0;h?f?x=o(i[u],u):x=s(i[u],u):x=i[u],x!==void 0&&(c[u]=x)}}),delete i[l],c}function o(i,a){var l;if(i)if(!Et(i))xe(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)&&(s.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 Ege}return e.prototype.isSampledIn=function(t){var n=this[l_],s=!1;return n==null||n>=100||t.baseType===Wr[Ui]?!0:(s=this.samplingScoreGenerator[gL](t)h._senderConfig[lL]()&&h[mg](!0,null,10),Vt())},h.flush=function(L,Y,z){if(L===void 0&&(L=!0),!i){un();try{h[mg](L,null,z||1)}catch(Z){xe(h[vo](),1,22,"flush failed, telemetry will not be collected: "+yt(Z),{exception:je(Z)})}}},h.onunloadFlush=function(){if(!i)if((h._senderConfig[Hq]()===!1||h[cn][cL]()===!1)&&hd())try{h[mg](!0,E,2)}catch(L){xe(h[vo](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+yt(L),{exception:je(L)})}else h.flush()},h.addHeader=function(L,Y){u[L]=Y},h.initialize=function(L,Y,z,Z){h.isInitialized()&&xe(h[vo](),1,28,"Sender is already initialized"),x.initialize(L,Y,z,Z);var ue=h._getTelCtx(),Pe=h.identifier;l=new Sge(Y.logger),s=0,o=null,r=0,h[i_]=null,c=0;var Le=h[vo]();_=Qr(Ks("Sender"),Y.evtNamespace&&Y.evtNamespace()),f=yge(_);var xt=Age();Ct(xt,function(ae,fe){h[cn][ae]=function(){var ke=ue.getConfig(Pe,ae,fe());return!ke&&ae==="endpointUrl"&&(ke=fe()),ke}});var qt=h[cn][Bq]()&&!!(h._senderConfig[lT]()||Sd());h[Ud]=qt?new Tge(Le,h[cn]):new kge(Le,h[cn]),h._sample=new Cge(h[cn][Vq](),Le),ne(L)||xe(Le,1,100,"Invalid Instrumentation key "+L[cT]),!rg(h._senderConfig.endpointUrl())&&h._senderConfig.customHeaders()&&h._senderConfig.customHeaders()[Tt]>0&&De(h[cn][Gq](),function(ae){n.addHeader(ae.header,ae.value)});var Qt=h[cn],B=null;!Qt[a_]()&&mP()?B=ze:!Qt[a_]()&&Hm()&&(B=pe),!B&&pP()&&(B=ce),m=B||pe,!Qt[cL]()&&hd()&&(B=F),h[i_]=B||pe,!Qt[Qq]()&&pP(!0)?g=Ce:hd()?g=F:!Qt[a_]()&&mP()?g=ze:!Qt[a_]()&&Hm()?g=pe:g=m},h.processTelemetry=function(L,Y){Y=h._getTelCtx(Y);var z=Y[vo]();try{if(h[cn][uL]())return;if(!L){xe(z,1,7,"Cannot send empty telemetry");return}if(L.baseData&&!L[dL]){xe(z,1,70,"Cannot send telemetry without baseData and baseType");return}if(L[dL]||(L[dL]="EventData"),!h[i_]){xe(z,1,28,"Sender was not initialized");return}if(v(L))L[Ob]=h._sample[l_];else{xe(z,2,33,"Telemetry item was sampled out and not sent",{SampleRate:h._sample[l_]});return}var Z=h[cn][Yq]()||void 0,ue=L.iKey||h[cn][cT](),Pe=t.constructEnvelope(L,ue,z,Z);if(!Pe){xe(z,1,47,"Unable to create an AppInsights envelope");return}var Le=!1;if(L[ss]&&L[ss][qb]&&(De(L[ss][qb],function(B){try{B&&B(Pe)===!1&&(Le=!0,Di(z,"Telemetry processor check returns false"))}catch(ae){xe(z,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+yt(ae),{exception:je(ae)},!0)}}),delete L[ss][qb]),Le)return;var xt=l.serialize(Pe),qt=h[Ud],Qt=qt.size();Qt+xt[Tt]>h[cn][lL]()&&(!f||f[iT]())&&h[mg](!0,null,10),qt[ug](xt),Vt()}catch(B){xe(z,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+yt(B),{exception:je(B)})}h.processNext(L,Y)},h[cge]=function(L,Y,z){L.readyState===4&&k(L.status,Y,L.responseURL,z,Mt(L),fL(L)||L.response)},h[mg]=function(L,Y,z){if(L===void 0&&(L=!0),!i)try{var Z=h[Ud];if(h[cn][uL]())Z[Nd]();else{if(Z[zd]()>0){var ue=Z.getItems();N(z||0,L),Y?Y.call(n,ue,L):h[i_](ue,L)}r=+new Date}un()}catch(Le){var Pe=Nb();(!Pe||Pe>9)&&xe(h[vo](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+yt(Le),{exception:je(Le)})}},h._doTeardown=function(L,Y){h.onunloadFlush(),f.unload(),be()},h[Oi]=function(L,Y,z){xe(h[vo](),2,26,"Failed to send telemetry.",{message:Y}),h._buffer[pg](L)},h[pL]=function(L,Y){for(var z=[],Z=[],ue=Y.errors.reverse(),Pe=0,Le=ue;Pe0&&h[uT](L,Y[dT]),z[Tt]>0&&h[Oi](z,Mt(null,["partial success",Y[dT],"of",Y.itemsReceived].join(" "))),Z[Tt]>0&&(Bt(Z),xe(h[vo](),2,40,"Partial success. Delivered: "+L[Tt]+", Failed: "+z[Tt]+". Will retry to send "+Z[Tt]+" our of "+Y[uge]+" items"))},h[uT]=function(L,Y){h._buffer[pg](L)},h._xdrOnLoad=function(L,Y){var z=fL(L);if(L&&(z+""=="200"||z===""))s=0,h[uT](Y,0);else{var Z=Rt(z);Z&&Z.itemsReceived&&Z.itemsReceived>Z[dT]&&!h[cn][c_]()?h[pL](Y,Z):h[Oi](Y,D(L))}};function v(L){return h._sample.isSampledIn(L)}function k(L,Y,z,Z,ue,Pe){var Le=null;if(h._appId||(Le=Rt(Pe),Le&&Le.appId&&(h._appId=Le.appId)),(L<200||L>=300)&&L!==0){if((L===301||L===307||L===308)&&!I(z)){h[Oi](Y,ue);return}!h[cn][c_]()&&Jn(L)?(Bt(Y),xe(h[vo](),2,40,". Response code "+L+". Will retry to send "+Y[Tt]+" items.")):h[Oi](Y,ue)}else if(f&&!f[iT]()){if(!h[cn][c_]()){var xt=10;Bt(Y,xt),xe(h[vo](),2,40,". Offline - Response Code: ".concat(L,". Offline status: ").concat(!f.isOnline(),". Will retry to send ").concat(Y.length," items."))}}else I(z),L===206?(Le||(Le=Rt(Pe)),Le&&!h[cn][c_]()?h[pL](Y,Le):h[Oi](Y,ue)):(s=0,h[uT](Y,Z))}function I(L){return c>=10?!1:!de(L)&&L!==""&&L!==h[cn][Od]()?(h[cn][Od]=function(){return L},++c,!0):!1}function E(L,Y){g?g(L,!1):F(L,Y)}function H(L){var Y=Io(),z=h[Ud],Z=h[cn][Od](),ue=h._buffer[dg](L),Pe=new Blob([ue],{type:"text/plain;charset=UTF-8"}),Le=Y.sendBeacon(Z,Pe);return Le&&(z[jd](L),h._onSuccess(L,L[Tt])),Le}function F(L,Y){if(Et(L)&&L[Tt]>0&&!H(L)){for(var z=[],Z=0;Z0&&(m&&m(z,!0),xe(h[vo](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function pe(L,Y){var z=new XMLHttpRequest,Z=h[cn][Od]();try{z[Ma]=!0}catch{}z.open("POST",Z,Y),z[mL]("Content-type","applicationhttps://www.microsoft.com/json"),rg(Z)&&z[mL](nn[6],nn[7]),De(dr(u),function(Pe){z[mL](Pe,u[Pe])}),z.onreadystatechange=function(){return h._xhrReadyStateChange(z,L,L[Tt])},z.onerror=function(Pe){return h[Oi](L,Mt(z),Pe)};var ue=h._buffer[dg](L);z.send(ue),h._buffer[jd](L)}function Ce(L,Y){if(Et(L)){for(var z=L[Tt],Z=0;Z=Y[dT]&&Y.itemsReceived-Y.itemsAccepted===Y.errors[Tt])return Y}}catch(z){xe(h[vo](),1,43,"Cannot parse the response. "+yt(z),{response:L})}return null}function Bt(L,Y){if(Y===void 0&&(Y=1),!(!L||L[Tt]===0)){var z=h[Ud];z[pg](L),s++;for(var Z=0,ue=L;Z=200&&+c[Zr]<400,g.responseCode=+c[Zr],g[Hd]={HttpMethod:c[$l]},g),_=f[Hd];if(c[Bd]&&(_[Bd]=!0),c[ou]&&(f[nu]=new Date,f[nu].setTime(c[ou])),yze(c,f),p&&dr(c.requestHeaders)[Na]>0&&(_[yr]=c[yr]),m){var h=m();if(h){var x=h[Uge];if(x&&(f.correlationContext=x),h[g_]&&dr(h.headerMap)[Na]>0&&(_.responseHeaders=h[g_]),c[vT])if(c[Zr]>=400){var v=h.type;(v===""||v==="text")&&(_.responseText=h.responseText?h[su]+" - "+h[l]:h[su]),v==="json"&&(_.responseText=h.response?h[su]+" - "+JSON.stringify(h[yL]):h[su])}else c[Zr]===0&&(_.responseText=h[su]||"")}}return f},c[xT]=function(){var u,p=null,m=c[kL];if(m&&(m[p_]||m[m_])){p={};var g=p[Zs.TraceExt]=(u={},u[ja]=m[p_],u.parentID=m[m_],u);de(m[vr])||(g[vr]=m[vr])}return p}})}return e.__ieDyn=1,e}();var qge="ai.ajxmn.",wT="diagLog",Xr="ajaxData",yg="fetch",TT="Failed to monitor XMLHttpRequest",Wge=", monitoring data for this ajax call ",h_=Wge+"may be incorrect.",Hge=Wge+"won't be sent.",Bge="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",Vge="Failed to add custom defined request context as configured call back may missing a null check.",Gge="Failed to calculate the duration of the ",Qge=0;function kze(){var e=Pi();return!e||de(e.Request)||de(e.Request[An])||de(e[yg])?null:e[yg]}var TL=null;function Tze(){if(TL==null)try{TL=!!(self&&self instanceof WorkerGlobalScope)}catch{TL=!1}return TL}function Sze(e){var t=!1;if(Hm()){var n=XMLHttpRequest[An];t=!de(n)&&!de(n.open)&&!de(n.send)&&!de(n.abort)}var s=Nb();if(s&&s<9&&(t=!1),t)try{var o=new XMLHttpRequest;o[Xr]={};var r=XMLHttpRequest[An].open;XMLHttpRequest[An].open=r}catch(i){t=!1,ET(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:je(i)})}return t}function wL(e){var t="";try{e&&e[Xr]&&e[Xr][_r]&&(t+="(url: '"+e[Xr][_r]+"')")}catch{}return t}function ET(e,t,n,s,o){xe(e[wT](),1,t,n,s,o)}function b_(e,t,n,s,o){xe(e[wT](),2,t,n,s,o)}function ST(e,t,n){return function(s){ET(e,t,n,{ajaxDiagnosticsMessage:wL(s[u_]),exception:je(s.err)})}}function __(e,t){return e&&t?e.indexOf(t):-1}function Yge(e,t,n){var s={id:t,fn:n};return e.push(s),{remove:function(){De(e,function(o,r){if(o.id===s.id)return e.splice(r,1),-1})}}}function Jge(e,t,n,s){var o=!0;return De(t,function(r,i){try{r.fn.call(null,n)===!1&&(o=!1)}catch(a){xe(e&&e.logger,1,64,"Dependency "+s+" [#"+i+"] failed: "+yt(a),{exception:je(a)},!0)}}),o}function wze(e,t,n,s,o,r){var i=e[Na];if(i>0){var a={core:t,xhr:s,input:o,init:r,traceId:n[ja],spanId:n[Ml],traceFlags:n[vr],context:n[d_]||{},aborted:!!n[Bd]};Jge(t,e,a,"listener"),n[ja]=a[p_],n[Ml]=a[m_],n[vr]=a[vr],n[d_]=a[d_]}}var SL="*.blob.core.",Zge=Lb([SL+"windows.net",SL+"chinacloudapi.cn",SL+"cloudapi.de",SL+"usgovcloudapi.net"]),Eze=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function aH(){var e={maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:Zge,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 Kge(){var e=aH();return Ct(e,function(t){e[t]=void 0}),e}var lH=function(e){Rs(t,e);function t(){var n=e.call(this)||this;n.identifier=t.identifier,n.priority=120;var s,o,r,i,a,l,c,u,p,m,g,f,_,h,x,v,k,I,E,H,F,pe,Ce;return dt(t,n,function(ce,bt){var Rt=bt._addHook;Bt(),ce.initialize=function(B,ae,fe,ke){ce.isInitialized()||(bt.initialize(B,ae,fe,ke),H=Qr(Ks("ajax"),ae&&ae.evtNamespace&&ae.evtNamespace()),fn(B),ze(),Jn(),Vt())},ce._doTeardown=function(){Bt()},ce.trackDependencyData=function(B,ae){Qt(Ce,ce[Fa],null,B,ae)},ce[hL]=function(B,ae,fe,ke){var Ae=ce._currentWindowHost||r;if(wze(pe,ce[Fa],B,ke,ae,fe),ae){if(Kc[nH](i,B[pT](),Ae)){fe||(fe={});var We=new Headers(fe[Vd]||(ae instanceof Request?ae[Vd]||{}:{}));if(m){var Je="|"+B[ja]+"."+B[Ml];We.set(nn[3],Je),a&&(B[yr][nn[3]]=Je)}var Nt=i[mT]||u&&u[mT]();if(Nt&&(We.set(nn[0],nn[2]+Nt),a&&(B[yr][nn[0]]=nn[2]+Nt)),p){var rt=B[vr];de(rt)&&(rt=1);var Ot=Pk(Ik(B[ja],B[Ml],rt));We.set(nn[4],Ot),a&&(B[yr][nn[4]]=Ot)}fe[Vd]=We}return fe}else if(ke){if(Kc[nH](i,B[pT](),Ae)){if(m){var Je="|"+B[ja]+"."+B[Ml];ke[bL](nn[3],Je),a&&(B[yr][nn[3]]=Je)}var Nt=i[mT]||u&&u[mT]();if(Nt&&(ke[bL](nn[0],nn[2]+Nt),a&&(B[yr][nn[0]]=nn[2]+Nt)),p){var rt=B[vr];de(rt)&&(rt=1);var Ot=Pk(Ik(B[ja],B[Ml],rt));ke[bL](nn[4],Ot),a&&(B[yr][nn[4]]=Ot)}}return ke}},ce[sH]=function(B,ae,fe){if(_===-1||c<_){(i[_L]===2||i[_L]===1)&&typeof B.id=="string"&&B.id[B.id[Na]-1]!=="."&&(B.id+="."),de(B[nu])&&(B[nu]=new Date);var ke=Fi(B,Jr.dataType,Jr.envelopeType,ce[wT](),ae,fe);ce[Fa].track(ke)}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(B){return Yge(pe,F++,B)},ce.addDependencyInitializer=function(B){return Yge(Ce,F++,B)};function Bt(){var B=pr();s=!1,o=!1,r=B&&B.host&&B.host[bg](),i=t.getEmptyConfig(),a=!1,l=!1,c=0,u=null,p=!1,m=!1,g=null,f=!1,_=0,h=!1,x={},v=!1,k=!1,I=null,E=null,H=null,F=0,pe=[],Ce=[]}function fn(B){var ae=Ws(null,B,ce[Fa]);i=Kge();var fe=aH();Ct(fe,function(We,Je){i[We]=ae.getConfig(t.identifier,We,Je)});var ke=i[_L];if(a=i[Ige],l=i[Pge],f=i[Lge],_=i[Rge],h=i[Mge],I=[].concat(i[$ge]||[],i.addIntEndpoints!==!1?Eze:[]),E=i[Dge],m=ke===0||ke===1,p=ke===1||ke===2,f){var Ae=B.instrumentationKey||"unkwn";Ae[Na]>5?g=qge+Ae.substring(Ae[Na]-5)+".":g=qge+Ae+"."}v=!!i[zge],k=!!i[Nge]}function Vt(){var B=ce[Fa].getPlugin(Cd);B&&(u=B.plugin[d_])}function un(B){var ae=!0;return(B||i.ignoreHeaders)&&De(i.ignoreHeaders,function(fe){if(fe[bg]()===B[bg]())return ae=!1,-1}),ae}function Jn(){var B=kze();if(B){var ae=Pi(),fe=B.polyfill;!k&&!s?(Rt(Mk(ae,yg,{ns:H,req:function(ke,Ae,We){var Je;if(!k&&s&&!D(null,Ae,We)&&!(fe&&o)){var Nt=ke.ctx();Je=Pe(Ae,We);var rt=ce[hL](Je,Ae,We);rt!==We&&ke.set(1,rt),Nt.data=Je}},rsp:function(ke,Ae){if(!k){var We=ke.ctx().data;We&&(ke.rslt=ke.rslt.then(function(Je){return xt(ke,(Je||{})[Zr],Ae,Je,We,function(){var Nt={statusText:(Je||{})[su],headerMap:null,correlationContext:qt(Je)};if(h&&Je){var rt={};Je.headers.forEach(function(Ot,ko){un(ko)&&(rt[ko]=Ot)}),Nt[g_]=rt}return Nt}),Je}).catch(function(Je){throw xt(ke,0,Ae,null,We,null,{error:Je.message||je(Je)}),Je}))}},hkErr:ST(ce,15,"Failed to monitor Window.fetch"+h_)},!0,Tze())),s=!0):fe&&Rt(Mk(ae,yg,{ns:H,req:function(ke,Ae,We){D(null,Ae,We)}})),fe&&(ae[yg].polyfill=fe)}}function Mt(B,ae,fe){Rt(fq(B,ae,fe))}function ze(){Sze(ce)&&!v&&!o&&(Mt(XMLHttpRequest,"open",{ns:H,req:function(B,ae,fe,ke){if(!v){var Ae=B[u_],We=Ae[Xr];!D(Ae,fe)&&Q(Ae,!0)&&((!We||!We.xhrMonitoringState[gT])&&ne(Ae,ae,fe,ke),be(Ae))}},hkErr:ST(ce,15,TT+".open"+h_)}),Mt(XMLHttpRequest,"send",{ns:H,req:function(B,ae){if(!v){var fe=B[u_],ke=fe[Xr];Q(fe)&&!ke.xhrMonitoringState[fT]&&(Z("xhr",ke),ke[ou]=Kb(),ce[hL](ke,void 0,void 0,fe),ke.xhrMonitoringState[fT]=!0)}},hkErr:ST(ce,17,TT+h_)}),Mt(XMLHttpRequest,"abort",{ns:H,req:function(B){if(!v){var ae=B[u_],fe=ae[Xr];Q(ae)&&!fe.xhrMonitoringState[hT]&&(fe[Bd]=1,fe.xhrMonitoringState[hT]=!0)}},hkErr:ST(ce,13,TT+".abort"+h_)}),Mt(XMLHttpRequest,"setRequestHeader",{ns:H,req:function(B,ae,fe){if(!v&&a){var ke=B[u_];Q(ke)&&un(ae)&&(ke[Xr][yr][ae]=fe)}},hkErr:ST(ce,71,TT+".setRequestHeader"+h_)}),o=!0)}function D(B,ae,fe){var ke=!1,Ae=((Ge(ae)?ae:(ae||{}).url||"")||"")[bg]();if(De(I,function(Nt){var rt=Nt;Ge(Nt)&&(rt=new RegExp(Nt)),ke||(ke=rt.test(Ae))}),ke)return ke;var We=__(Ae,"?"),Je=__(Ae,"#");return(We===-1||Je!==-1&&Je=0;Fe--){var q=Sp[Fe];if(q){if(q.entryType==="resource")q.initiatorType===B&&(__(q[Gd],rt)!==-1||__(rt,q[Gd])!==-1)&&(so=q);else if(q.entryType==="mark"&&q[Gd]===Ae[Gd]){ae[kT]=so;break}if(q[nu]=Je||ae.async===!1?(Ae&&Ke(We.clearMarks)&&We.clearMarks(Ae[Gd]),ae.perfAttempts=Ot,fe()):setTimeout(ko,Nt)}catch(C){ke(C)}})()}function Pe(B,ae){var fe,ke=N(),Ae=ke&&ke[bT]()||mr(),We=mr().substr(0,16),Je=new iH(Ae,We,ce[wT](),(fe=ce.core)===null||fe===void 0?void 0:fe.getTraceCtx());Je[vr]=ke&&ke[_T](),Je[ou]=Kb(),Je[vT]=l,B instanceof Request?Je[_r]=B?B.url:"":Je[_r]=B;var Nt="GET";ae&&ae[$l]?Nt=ae[$l]:B&&B instanceof Request&&(Nt=B[$l]),Je[$l]=Nt;var rt={};if(a){var Ot=new Headers((ae?ae[Vd]:0)||(B instanceof Request?B[Vd]||{}:{}));Ot.forEach(function(ko,so){un(so)&&(rt[so]=ko)})}return Je[yr]=rt,Z(yg,Je),Je}function Le(B){var ae="";try{de(B)||(typeof B=="string"?ae+="(url: '".concat(B,"')"):ae+="(url: '".concat(B.url,"')"))}catch(fe){ET(ce,15,"Failed to grab failed fetch diagnostics message",{exception:je(fe)})}return ae}function xt(B,ae,fe,ke,Ae,We,Je){if(!Ae)return;function Nt(rt,Ot,ko){var so=ko||{};so.fetchDiagnosticsMessage=Le(fe),Ot&&(so.exception=je(Ot)),b_(ce,rt,Gge+"fetch call"+Hge,so)}Ae[_g]=Kb(),Ae[Zr]=ae,ue(yg,Ae,function(){var rt=Ae[yT]("Fetch",a,We),Ot;try{E&&(Ot=E({status:ae,request:fe,response:ke}))}catch{b_(ce,104,Vge)}if(rt){Ot!==void 0&&(rt[Hd]=Vn(Vn({},rt.properties),Ot));var ko=Ae[xT]();Qt(Ce,ce[Fa],Ae,rt,null,ko)}else Nt(14,null,{requestSentTime:Ae[ou],responseFinishedTime:Ae[_g]})},function(rt){Nt(18,rt,null)})}function qt(B){if(B&&B[Vd])try{var ae=B[Vd].get(nn[0]);return Kc[rH](ae)}catch(fe){b_(ce,18,Bge,{fetchDiagnosticsMessage:Le(B),exception:je(fe)})}}function Qt(B,ae,fe,ke,Ae,We){var Je=!0,Nt=B[Na];if(Nt>0){var rt={item:ke,properties:Ae,sysProperties:We,context:fe?fe[d_]:null,aborted:fe?!!fe[Bd]:!1};Je=Jge(ae,B,rt,"initializer")}Je&&ce[sH](ke,Ae,We)}}),n}return t.prototype.processTelemetry=function(n,s){this.processNext(n,s)},t.prototype.addDependencyInitializer=function(n){return null},t.identifier="AjaxDependencyPlugin",t.getDefaultConfig=aH,t.getEmptyConfig=Kge,t}(Ra);var Xge=function(){function e(){}return e}();var efe=function(){function e(){this.id="browser",this.deviceClass="Browser"}return e}();var v_="sessionManager",xg="update",y_="isUserCookieSet",x_="isNewUser",EL="getTraceCtx",CT="telemetryTrace",CL="applySessionContext",AL="applyApplicationContext",IL="applyDeviceContext",PL="applyOperationContext",LL="applyUserContext",RL="applyOperatingSystemContxt",ML="applyLocationContext",$L="applyInternalContext",Ua="accountId",k_="sdkExtension",T_="getSessionId",Dl="namePrefix",S_="sessionCookiePostfix",w_="userCookiePostfix",Yd="idLength",Kd="getNewId",kg="length",Wd="automaticSession",Jd="authenticatedId",E_="sessionExpirationMs",AT="sessionRenewalMs",Oa="config",C_="acquisitionDate",IT="renewalDate",PT="cookieDomain",A_="join",I_="cookieSeparator",DL="authUserCookieName";var Cze="2.8.13",tfe=function(){function e(t){this.sdkVersion=(t[k_]&&t[k_]()?t[k_]()+"_":"")+"javascript:"+Cze}return e}();var nfe=function(){function e(){}return e}();var Aze="ai_session",cH=function(){function e(){}return e}();var sfe=function(){function e(t,n){var s=this,o,r,i=La(n),a=Ym(n);dt(e,s,function(l){t||(t={}),Ke(t[E_])||(t[E_]=function(){return e.acquisitionSpan}),Ke(t[AT])||(t[AT]=function(){return e.renewalSpan}),l[Oa]=t;var c=l.config[S_]&&l[Oa][S_]()?l.config[S_]():l.config[Dl]&&l[Oa][Dl]()?l[Oa][Dl]():"";o=function(){return Aze+c},l[Wd]=new cH,l[xg]=function(){var _=Ds(),h=!1,x=l[Wd];x.id||(h=!u(x,_));var v=l.config[E_]();if(!h&&v>0){var k=l.config[AT](),I=_-x[C_],E=_-x[IT];h=I<0||E<0,h=h||I>v,h=h||E>k}h?m(_):(!r||_-r>e.cookieUpdateInterval)&&g(x,_)},l.backup=function(){var _=l[Wd];f(_.id,_[C_],_[IT])};function u(_,h){var x=!1,v=a.get(o());if(v&&Ke(v.split))x=p(_,v);else{var k=Sq(i,o());k&&(x=p(_,k))}return x||!!_.id}function p(_,h){var x=!1,v=", session will be reset",k=h.split("|");if(k[kg]>=2)try{var I=+k[1]||0,E=+k[2]||0;isNaN(I)||I<=0?xe(i,2,27,"AI session acquisition date is 0"+v):isNaN(E)||E<=0?xe(i,2,27,"AI session renewal date is 0"+v):k[0]&&(_.id=k[0],_[C_]=I,_[IT]=E,x=!0)}catch(H){xe(i,1,9,"Error parsing ai_session value ["+(h||"")+"]"+v+" - "+yt(H),{exception:je(H)})}return x}function m(_){var h=l[Oa]||{},x=(h[Kd]?h[Kd]():null)||Bc;l.automaticSession.id=x(h[Yd]?h[Yd]():22),l[Wd][C_]=_,g(l[Wd],_),Ok()||xe(i,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function g(_,h){var x=_[C_];_[IT]=h;var v=l[Oa],k=v[AT](),I=x+v[E_]()-h,E=[_.id,x,h],H=0;I0?H:null,F),r=h}function f(_,h,x){wq(i,o(),[_,h,x][A_]("|"))}})}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}();var ofe=function(){function e(t,n,s,o){var r=this;r.traceID=t||mr(),r.parentID=n;var i=pr();!s&&i&&i.pathname&&(s=i.pathname),r.name=Wt(o,s)}return e}();function rfe(e){return!(typeof e!="string"||!e||e.match(/,|;|=| |\|/))}var ife=function(){function e(t,n){this.isNewUser=!1,this.isUserCookieSet=!1;var s=La(n),o=Ym(n),r;dt(e,this,function(i){i[Oa]=t;var a=i.config[w_]&&i[Oa][w_]()?i[Oa][w_]():"";r=function(){return e.userCookieName+a};var l=o.get(r());if(l){i[x_]=!1;var c=l.split(e[I_]);c[kg]>0&&(i.id=c[0],i[y_]=!!i.id)}function u(){var x=t||{},v=(x[Kd]?x[Kd]():null)||Bc,k=v(x[Yd]?t[Yd]():22);return k}function p(x){var v=Br(new Date);i.accountAcquisitionDate=v,i[x_]=!0;var k=[x,v];return k}function m(x){var v=31536e3;i[y_]=o.set(r(),x,v)}if(!i.id){i.id=u();var g=p(i.id);m(g[A_](e[I_]));var f=t[Dl]&&t[Dl]()?t[Dl]()+"ai_session":"ai_session";Eq(s,f)}i[Ua]=t[Ua]?t[Ua]():void 0;var _=o.get(e[DL]);if(_){_=decodeURI(_);var h=_.split(e[I_]);h[0]&&(i[Jd]=h[0]),h[kg]>1&&h[1]&&(i[Ua]=h[1])}i.setAuthenticatedUserContext=function(x,v,k){k===void 0&&(k=!1);var I=!rfe(x)||v&&!rfe(v);if(I){xe(s,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}i[Jd]=x;var E=i[Jd];v&&(i[Ua]=v,E=[i[Jd],i.accountId][A_](e[I_])),k&&o.set(e[DL],encodeURI(E))},i.clearAuthenticatedUserContext=function(){i[Jd]=null,i[Ua]=null,o.del(e[DL])},i[xg]=function(x){if(i.id!==x||!i[y_]){var v=x||u(),k=p(v);m(k[A_](e[I_]))}}})}return e.cookieSeparator="|",e.userCookieName="ai_user",e.authUserCookieName="ai_authUser",e}();var zL="ext",NL="tags";function P_(e,t){e&&e[t]&&dr(e[t])[kg]===0&&delete e[t]}var afe=function(){function e(t,n,s){var o=this,r=t.logger;this.appId=function(){return null},this[T_]=function(){return null},dt(e,this,function(i){if(i.application=new Xge,i.internal=new tfe(n),qc()){i[v_]=new sfe(n,t),i.device=new efe,i.location=new nfe,i.user=new ife(n,t);var a=void 0,l=void 0,c;s&&(a=s.getTraceId(),l=s.getSpanId(),c=s.getName()),i[CT]=new ofe(a,l,c,r),i.session=new cH}i[T_]=function(){var u=i.session,p=null;if(u&&Ge(u.id))p=u.id;else{var m=(i[v_]||{})[Wd];p=m&&Ge(m.id)?m.id:null}return p},i[CL]=function(u,p){jt(jn(u.ext,Zs.AppExt),"sesId",i[T_](),Ge)},i[RL]=function(u,p){jt(u.ext,Zs.OSExt,i.os)},i[AL]=function(u,p){var m=i.application;if(m){var g=jn(u,NL);jt(g,sn.applicationVersion,m.ver,Ge),jt(g,sn.applicationBuild,m.build,Ge)}},i[IL]=function(u,p){var m=i.device;if(m){var g=jn(jn(u,zL),Zs.DeviceExt);jt(g,"localId",m.id,Ge),jt(g,"ip",m.ip,Ge),jt(g,"model",m.model,Ge),jt(g,"deviceClass",m.deviceClass,Ge)}},i[$L]=function(u,p){var m=i.internal;if(m){var g=jn(u,NL);jt(g,sn.internalAgentVersion,m.agentVersion,Ge),jt(g,sn.internalSdkVersion,m.sdkVersion,Ge),(u.baseType===Hc.dataType||u.baseType===Po.dataType)&&(jt(g,sn.internalSnippet,m.snippetVer,Ge),jt(g,sn.internalSdkSrc,m.sdkSrc,Ge))}},i[ML]=function(u,p){var m=o.location;m&&jt(jn(u,NL,[]),sn.locationIp,m.ip,Ge)},i[PL]=function(u,p){var m=i[CT];if(m){var g=jn(jn(u,zL),Zs.TraceExt,{traceID:void 0,parentID:void 0});jt(g,"traceID",m.traceID,Ge,de),jt(g,"name",m.name,Ge,de),jt(g,"parentID",m.parentID,Ge,de)}},i.applyWebContext=function(u,p){var m=o.web;m&&jt(jn(u,zL),Zs.WebExt,m)},i[LL]=function(u,p){var m=i.user;if(m){var g=jn(u,NL,[]);jt(g,sn.userAccountId,m[Ua],Ge);var f=jn(jn(u,zL),Zs.UserExt);jt(f,"id",m.id,Ge),jt(f,"authId",m[Jd],Ge)}},i.cleanUp=function(u,p){var m=u.ext;m&&(P_(m,Zs.DeviceExt),P_(m,Zs.UserExt),P_(m,Zs.WebExt),P_(m,Zs.OSExt),P_(m,Zs.AppExt),P_(m,Zs.TraceExt))}})}return e.__ieDyn=1,e}();var Ize=function(e){Rs(t,e);function t(){var n=e.call(this)||this;n.priority=110,n.identifier=Cd;var s,o,r;return dt(t,n,function(i,a){l(),i.initialize=function(p,m,g,f){a.initialize(p,m,g,f),c(p)},i.processTelemetry=function(p,m){if(!de(p)){m=i._getTelCtx(m),p.name===Po.envelopeType&&m.diagLog().resetInternalMessageCount();var g=i.context||{};g.session&&typeof i.context.session.id!="string"&&g[v_]&&g[v_][xg]();var f=g.user;if(f&&!f[y_]&&f[xg](g.user.id),u(p,m),f&&f[x_]){f[x_]=!1;var _=new Hc(72,(Io()||{}).userAgent||"");VO(m.diagLog(),1,_)}i.processNext(p,m)}},i._doTeardown=function(p,m){var g=(p||{}).core();if(g&&g[EL]){var f=g[EL](!1);f===o&&g.setTraceCtx(r)}l()};function l(){s=null,o=null,r=null}function c(p){var m=i.identifier,g=i.core,f=Ws(null,p,g),_=t.getDefaultConfig();s=s||{},Ct(_,function(h,x){s[h]=function(){return f.getConfig(m,h,x())}}),r=g[EL](!1),i.context=new afe(g,s,r),o=ig(i.context[CT],r),g.setTraceCtx(o),i.context.appId=function(){var h=g.getPlugin(Gk);return h?h.plugin._appId:null},i._extConfig=s}function u(p,m){jn(p,"tags",[]),jn(p,"ext",{});var g=i.context;g[CL](p,m),g[AL](p,m),g[IL](p,m),g[PL](p,m),g[LL](p,m),g[RL](p,m),g.applyWebContext(p,m),g[ML](p,m),g[$L](p,m),g.cleanUp(p,m)}}),n}return t.getDefaultConfig=function(){var n,s,o=null,r=(n={instrumentationKey:function(){return s}},n[Ua]=function(){return o},n.sessionRenewalMs=function(){return 30*60*1e3},n.samplingPercentage=function(){return 100},n.sessionExpirationMs=function(){return 24*60*60*1e3},n[PT]=function(){return o},n[k_]=function(){return o},n.isBrowserLinkTrackingEnabled=function(){return!1},n.appId=function(){return o},n[T_]=function(){return o},n[Dl]=function(){return s},n[S_]=function(){return s},n[w_]=function(){return s},n[Yd]=function(){return 22},n[Kd]=function(){return o},n);return r},t}(Ra),uH=Ize;var lfe="AuthenticatedUserContext",L_="track";var jL="snippet",cfe="getCookieMgr",ufe="startTrackPage",dfe="stopTrackPage",FL="flush",pfe="startTrackEvent",mfe="stopTrackEvent",dH="addTelemetryInitializer",Zxt=dH+"s",pH="pollInternalLogs",UL="getPlugin",OL="evtNamespace",gfe=L_+"Event",ffe=L_+"Trace",hfe=L_+"Metric",bfe=L_+"PageView",_fe=L_+"Exception",vfe=L_+"DependencyData",yfe="set"+lfe,xfe="clear"+lfe;var kfe="updateSnippetDefinitions",Tfe="loadAppInsights",mH="endpointUrl";var LT="diagnosticLogInterval";var Sfe="disableFlushOnBeforeUnload",wfe="disableFlushOnUnload";var ru="config",qi="context",RT="push",qL="version",Zd="queue",HL="connectionString",gH="instrumentationKey",MT="appInsights",fH="disableIkeyDeprecationMessage",hH="getTransmissionControls",R_="onunloadFlush",bH="addHousekeepingBeforeUnload",$T="indexOf";var _H,Efe=[jL,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"];var vH=function(){function e(t){var n=this,s,o,r,i,a,l,c;dt(e,this,function(u){x(),i=""+(t.sv||t[qL]||""),t[Zd]=t[Zd]||[],t[qL]=t[qL]||2;var p=t[ru]||{};if(p[HL]){var m=Lq(p[HL]),g=m.ingestionendpoint;p[mH]=g?g+Gc:p[mH],p[gH]=m.instrumentationkey||p[gH]}u[MT]=new iL,o=new uH,s=new lH,r=new eH,c=new dq,u.core=c;var f=de(p[fH])?!0:p[fH];!p[HL]&&!f&&xe(c.logger,1,106,"Instrumentation key support will end soon, see aka.ms/IkeyMigrate"),u[jL]=t,u[ru]=p,_(),u[FL]=function(v){v===void 0&&(v=!0),bd(c,function(){return"AISKU.flush"},function(){De(c[hH](),function(k){De(k,function(I){I[FL](v)})})},null,v)},u[R_]=function(v){v===void 0&&(v=!0),De(c[hH](),function(k){De(k,function(I){I[R_]?I[R_]():I[FL](v)})})},u[Tfe]=function(v,k,I){v===void 0&&(v=!1);function E(H){if(H){var F="";de(i)||(F+=i),v&&(F+=".lg"),u[qi]&&u[qi].internal&&(u[qi].internal.snippetVer=F||"-"),Ct(u,function(pe,Ce){Ge(pe)&&!Ke(Ce)&&pe&&pe[0]!=="_"&&$s(Efe,pe)===-1&&(H[pe]=Ce)})}}return v&&u[ru].extensions&&u[ru].extensions.length>0&&Pn("Extensions not allowed in legacy mode"),bd(u.core,function(){return"AISKU.loadAppInsights"},function(){var H=[];H[RT](r),H[RT](o),H[RT](s),H[RT](u[MT]),c.initialize(u[ru],H,k,I),u[qi]=o[qi],_H&&u[qi]&&(u[qi].internal.sdkSrc=_H),E(u[jL]),u.emptyQueue(),u[pH](),u[bH](n)}),u},u[kfe]=function(v){AO(v,u,function(k){return k&&$s(Efe,k)===-1})},u.emptyQueue=function(){try{if(Et(u.snippet[Zd])){for(var v=u.snippet[Zd].length,k=0;k0?u[ru][LT]:1e4}function h(){return s}function x(){a=Ks("AISKU"),l=null,s=null,o=null,r=null,i=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 s=(document||{}).currentScript;s&&(e=s.src)}catch{}if(e)try{var o=e.toLowerCase();if(o){for(var r="",i=0;i{},trackException:()=>{},trackTrace:()=>{}};function Cfe(){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 vH({config:{instrumentationKey:e,disableFetchTracking:!1}});t.loadAppInsights();let n=()=>{w.isAuthenticated?t.setAuthenticatedUserContext(w.userId):t.clearAuthenticatedUserContext()};w.subscribe(Tn,n),n(),t.trackPageView(),lt.subscribe(bn,()=>{t.trackPageView({properties:{syntheticPageView:!0}})}),js=t}function yH(e,t){return async function(...n){let s=t;for(;;)try{return await e.apply(null,n)}catch(o){if(s<=0)throw o;s--}}}async function Afe(){let e={method:"POST"},t=J($.contentAuthorizationService.deleteCasTokenCookie,e,!0,!1);await yH(async()=>{(await M(t)).ok},10)()}A();Ve();var Pze=0;function Xe(){return`ax-${Pze++}`}function iu(){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 Fn(e){return e?e.toLowerCase().replace(/_/g,"-").replace(/\W/g,"-"):""}var Pfe=d`
`;function xH(e=!0){let t=e?"color-text-subtle":"white-static-text";return e?d` `:d``}function Ife(e){return d` `}var Lze="casSignIn",BL=class e{constructor(t,n=!1){this.url=er(t),n&&this.url.searchParams.set(Lze,"true"),this.source=this.url.searchParams.get("source"),this.source||(this.source=P("page_type")==="learn"||P("page_kind")==="learn"?"learn":"docs",P("uhfHeaderId")!=="answers"&&this.url.searchParams.set("source",this.source))}static getProfileContext(t){try{let n=t||location.href,s=new e(n),o=er(n);return o.searchParams.delete("source"),{redirectUrl:o.href,source:s.source,microsoftUser:void 0}}catch{return{redirectUrl:void 0,source:void 0,microsoftUser:void 0}}}toString(){return this.url.href}};function Lfe(e,t=!1){let n=null;try{n=new BL(e,t).toString()}catch{n=location.href}return n}var Zkt=new URL("./register",vc()).toString(),VL=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`,Xkt=Mfe(),eTt=location.origin,Rze=R.supportLevel==="production"?"18fbca16-2224-45f6-85b0-f7bf2b39b3f3":"f602d4fb-244f-48be-a746-435fac3917df",Mze="https://login.microsoftonline.com",$ze="common",Lo,Rfe=async()=>{let e={auth:{clientId:Rze,authority:`${Mze}/${$ze}`,redirectUri:VL},cache:{cacheLocation:"localStorage"},system:{loggerOptions:{loggerCallback:(t,n,s)=>{if(!s)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):js.trackTrace({message:n,severityLevel:$t.Warning,iKey:"learn.msal"});return;case $t.Error:R.reviewFeatures?console.error(n):js.trackTrace({message:n,severityLevel:$t.Error,iKey:"learn.msal"});return}}}}};Lo=new ak(e),await Lo.initialize()};function Mfe(){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 Dze(e,t=null,n=!1){let s=Lfe(e,n),o=Mfe(),r=encodeURIComponent(s),i=iu();return{scopes:["openid","profile","email"],prompt:t,redirectStartPage:o,nonce:i,redirectUri:VL,state:r}}function $fe(e,t=null,n=!1){return Lo.setActiveAccount(null),Lo.loginRedirect(Dze(e,t,n))}var zze={scopes:["openid","profile","email"]};function Dfe(){try{let e=Nze();return e?Lo.acquireTokenSilent(Object.assign({},zze,{prompt:"none",account:e})).then(t=>(e0(t.idToken),!0)).catch(()=>(t0(),!1)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}function Nze(e=Hu()){if(!e)return null;let n=o0(e).preferred_username;return n?Lo.getAccount({username:n}):null}function Un(e=location.href,t="select_account",n=!1){$fe(e,t,n)}var jze=location.origin;async function ei(e=location.href,t=!1,n=!1){if(Fze(),t&&await M($.auth.signOut),ipe(),Xn()&&await Afe(),s0(),t0(),!n){let s=er(e,jze);location.href=`${s.origin}${s.pathname}${s.search}`}}function Fze(){localStorage.removeItem("gitHubToken")}async function kH(e,t,n,s){return ye({behavior:le.SIGNIN,actionType:we.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:s}})}function zfe({sso:e,loginHint:t}={}){return async function(n=()=>!1){if(e)try{await Te,kH("started",t),Ht({context:"sso",source:e},"replaceState");let s={scopes:["openid","profile","email"]};t&&(s.loginHint=t);let o=await Lo.ssoSilent(s);if(o)return s0(),e0(o.idToken),kH("completed",t),!0}catch(s){return s instanceof ot&&await kH("error",t,s.errorCode,s.errorMessage),s instanceof wn&&(ei("",!1,!0),Un(window.location.href,"select_account")),n()}return n()}}function Nfe(e=oe().sso,t=oe().login_hint){return(e||t)&&Ht({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"),s=n.searchParams.get("sso")??void 0,o=n.searchParams.get("login_hint")??void 0;return{sso:s,loginHint:o}}catch{return{}}}var GL=class{},QL=class{constructor(t,n,s=new He){this.stack=t,this.final=n,this.bus=s}async run(){let t=0,n=!0,s=this.final,o=[],r=this.bus.subscribe(GL,()=>n=!1),i=a=>(this.bus.publish(new GL),s=a||s,!1);try{for(;n&&this.stack[t];){let a=await this.stack[t](i);if(a||o[t]!==!1){o[t]=a,t+=a?-1:1;continue}n=!1}t>=0&&s(),r()}catch(a){throw r(),this.final(),a}}};var Ufe=$.profile.me,Ofe=Nfe(),Ffe=jfe(),FTt=Ffe.sso?Ffe:Ofe,Uze=`${Ufe}?isCPMCalled=true`,qfe=new URL("./register",vc()).toString();async function Tg(){let t=location.pathname.split("/").indexOf("edit")!==-1?Uze:Ufe;try{let s=await fetch(J(t,{credentials:"include"}));if(s.ok&&s.status!==204){let o=await s.json();w.readUserProfile(o)}else w.setAnonymous()}catch{w.setAnonymous()}}async function Hfe(e=()=>{w.setAnonymous()}){if(!S.userServices)return w.setAnonymous(),Promise.resolve();await new QL([Oze,qze,zfe(Ofe),Dfe],e).run()}async function Oze(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 qze(e=()=>!1){try{let t=Hu();if(t){Zp(t);let n=await Sj(t);return n0(n),!0}return!1}catch(t){return t instanceof ll?!1:t instanceof px?location.pathname.endsWith("/external-sign-in.html")?!1:e(Hze):e()}}function Hze(){if(P("page_kind")!=="register"&&(w.setAnonymous(),!location.href.includes("/answers"))){let n=ie({redirectUrl:location.href});location.href=er(`${qfe}?${n}`).href;return}let e=Hu();if(!e)return;let t=Zp(e);w.mapIdTokenToProfile(t)}function Bfe(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 Xd=["a","area","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","summary","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'];function YL(e){return e.matches(Xd.join(","))}function KL(e,t=!0){return n=>{if(n.target instanceof Element&&!e.contains(n.target)){n.preventDefault();let s,o=Array.from(e.querySelectorAll(Xd.join(",")));n.target.compareDocumentPosition(e)&(t?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING)&&o.reverse();let r=o.length;for(;r--;){let i=o[r],a=getComputedStyle(i);if(!i.hidden&&a.display!=="none"&&a.visibility!=="hidden"&&(i.offsetWidth>0||i.offsetHeight>0)){s=i;break}}s=s||e,s.focus()}}}function TH(e){let t=e.createElement("span");return t.setAttribute("tabindex","0"),t.classList.add("modal-tab-sentinel"),t}A();var WL=[];function Sg(e){WL.push(e)}function Ft(e,t,n,s){e.addEventListener(t,n,s);let o=()=>e.removeEventListener(t,n,s);return Sg(o),o}function Vfe(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",(s=!0)=>{t.style.left="",t.style.right="",t.style.top="",t.style.position="",s&&(e.scrollTop=n)}}var M_=e=>{let t=e.querySelector("[data-autofocus]");if(t&&YL(t)){t.focus();return}e.focus()},ve=class e{constructor(t,n="visibility-hidden-visual-diff"){this.restoreScrollbar=()=>{};this.clickHandler=t=>{let n=t.target,s=n.closest(".modal-pop-content"),o=n.closest(".modal-close");o?(t.preventDefault(),this.hide(o.getAttribute("data-modal-result"))):s&&(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"),y(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",TH(T)),T.body.insertAdjacentElement("afterbegin",this.wrapper),this.wrapper.addEventListener("click",this.clickHandler),this.wrapper.addEventListener("keydown",this.escHandler),this.restoreScrollbar=Vfe(T.documentElement,T.scrollingElement||T.documentElement,(T.scrollingElement||T.documentElement||T.body).scrollTop),this.container.classList.add("is-active"),T.body.insertAdjacentElement("afterbegin",TH(T)),this.setAriaLabelledBy(this.container),window.dispatchEvent(new CustomEvent("modal-show",{detail:{container:this.container}})),this.lastFocus=T.activeElement,this.focusHandler=KL(this.wrapper),Ft(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,s=!1){let o=this.container.querySelector(".modal-slide-container"),r=o.querySelector(".modal-slide:first-of-type");if(o===null||r===null)throw new Error(`The ${o===null?"modal-slide-container":"modal-slide"} class is missing!`);o.appendChild(t);let i={forward:ct.userDir==="ltr"?"slide-right":"slide-left",backward:ct.userDir==="ltr"?"slide-left":"slide-right"},a=s?i.forward:i.backward;n?(setTimeout(()=>{r.classList.add(a),t.classList.add(a)},50),setTimeout(()=>{t.classList.remove(a),l(this)},250)):l(this);function l(c){o.removeChild(r),M_(c.container),c.setAriaLabelledBy(c.container)}}pushContent(t){this.contentStack.push(t),y(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(),y(d` ${this.contentElement} `,this.container),M_(this.contentElement)}get contentElement(){return this.contentStack[this.contentStack.length-1]}};A();var JL={setItem(e,t,n){try{let s=n.getTime();if(Date.now()>=s)return;let o={value:t,expiry:s};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 ZL=location.pathname.split("/").map(e=>e.toLowerCase()),Bze=ZL.length>2?ZL[2]:"",Ut=Bze==="test";function Gfe(){let e=P("original_content_git_url")||P("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 XL(){let e=Vze(),t;return Ut?t=`/${b.data.userLocale}/test/training/support/troubleshooting${e}`:t=`/${b.data.userLocale}/training/support/troubleshooting${e}`,t}function Vze(){let e={uid:P("uid")||"",documentId:P("document_id")||"",versionIndependentDocumentId:P("document_version_independent_id")||"",platformId:P("platform_id")||"",contentPath:Gfe(),url:location.href,author:P("ms.author")||""},t=Object.keys(e).reduce((n,s)=>{let o=e[s];return o===void 0||o.trim().length===0||n.push(`${s}=${encodeURIComponent(o)}`),n},[]);return t.length===0?"":`?${t.join("&")}`}function eR(e,t=Un){let n=new URL(e||location.href);n.searchParams.set("account-linking","1"),t(n.href,"login")}var xr={Cancel:{text:Ne,clickHandler:kh,modifiers:"button-primary",biName:"add-account-error-cancel"},ContactCustomerSupport:{text:IK,clickHandler:()=>{location.href=XL()},modifiers:"button-primary button-filled",biName:"add-account-error-contact-support"},Ok:{text:Cs,clickHandler:kh,modifiers:"button-primary button-filled",biName:"add-account-error-ok"},SelectAccount:{text:vie,clickHandler:()=>eR(),modifiers:"button-primary button-filled",biName:"add-account-error-select-account"}};function Gze(e){return{accountAlreadyRegistered:{title:iie.replace("{account}",e),description:die,buttons:[xr.Cancel,xr.SelectAccount]},alreadyHasCertProfileConnected:{title:yie,description:xie,buttons:[xr.ContactCustomerSupport]},alreadyLinked:{title:pie,description:qN,buttons:[xr.Cancel,xr.SelectAccount]},moreThanOneAccountPerTenant:{title:cie,description:`${fie} ${qN}.`,buttons:[xr.Ok]},moreThanOneMSAAccount:{title:hie,description:mie.replace("{account}",e),buttons:[xr.Ok]},needAtLeastOneAccountLinked:{title:gie,description:uie,buttons:[xr.Ok]},numberOfAccounts:{title:aie,description:lie,buttons:[xr.Ok]},profileMergeRunning:{title:bie,description:_ie,buttons:[xr.Ok]},profileMergeAlreadyComplete:{title:Sie,description:wie,buttons:[xr.Ok]},profileMergeRecordNotFound:{title:Eie,description:Cie,buttons:[xr.Ok]},previousMergeAttemptPreventsAction:{title:Aie,description:Iie,buttons:[xr.Ok]},unexpectedError:{title:en,buttons:[xr.Ok]}}}function SH(e,t){let n=Gze(e)[t];return d` ${n.title?d`

${n.title}

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

${j(n.description)}

`:null} ${n.buttons?d`
${n.buttons.map(s=>d``)}
`:null} `}var Qze={Complete:{color:"success",icon:"docon-status-success-outline",text:Pie},Failed:{color:"danger",icon:"docon-status-failure-outline",text:Lie},Running:{color:"warning",icon:"docon-status-info-outline",text:zie},Terminated:{color:"success",icon:"docon-status-success-outline",text:Nie}};function Yze(){return JL.getItem("check-merge-status")!==null}function Kze(){JL.removeItem("check-merge-status")}async function tR(e=!1){if(!(!e&&!Yze()))try{let t=await Cj();if(t===null||(wH(t),t!=="Running"))return;let n=setInterval(async()=>{t=await Cj(),t!==null&&(wH(t),t!=="Running"&&(clearInterval(n),Kze()))},3e4)}catch{}}async function Wze(){try{await Ole()}catch{}}function Jze(e){return d`
`}async function wH(e){if(e==="Acknowledged")return;if(e==="Locked"){Zze();return}e==="Complete"&&$r.type==="profile"&&await Tg();let t=Qze[e];if(!t)return;let n=$ie,s=Die;if(e==="Failed"){let l=await Ule();if(!l)return;let c=l.sourceUserName,u=l.destinationUserName;t.text=t.text.replace("{sourceUser}",Be(c)),t.text=t.text.replace("{destinationUser}",Be(u)),n=n.replace("{terminateMergeText}",BN),s=s.replace("{retryMergeText}",HN)}let o=d`

${Rie}


${Mie}

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

${t.text}

${e==="Failed"?d`${o} ${Jze(a)}`:""}
${e==="Complete"?d``:null}
`,a))}function Zze(){let e=document.createElement("div"),t=new ve(e);y(d` `,e),t.show(),document.querySelector(".modal").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation(),ei(location.origin,!0)})}async function Xze(e){Yfe(e,"Terminate")}async function eNe(e){Yfe(e,"Retry")}async function Qfe(e,t){e.classList.remove("is-loading");let n=document.createElement("div"),s=new ve(n);Kfe(s,t),await s.show(),e.disabled=!1}async function Yfe(e,t){let n,s;t==="Terminate"?(n=e.querySelector("#terminate-failed-merge"),s=$.profile.userCancelMerge):(n=e.querySelector("#retry-failed-merge"),s=$.profile.userRetryMerge);try{n.classList.add("is-loading"),n.disabled=!0;let o=await tNe(s);if(o.hasError){let r=o.errors[0]||"unexpectedError";await Qfe(n,r)}else t==="Terminate"?wH("Terminated"):location.reload()}catch{await Qfe(n,"unexpectedError")}}async function tNe(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 s=await n.json();if(s.errorCode==="ProfileMergeRunning")return{hasError:!0,message:n.statusText,errors:["profileMergeRunning"]};if(s.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 Kfe(e,t="unexpectedError",n=""){y(d` `,e.contentElement),e.show()}A();var nR,sR;async function Wfe(e){EH(e)&&await nNe()}function EH(e){let t=P("page_type")==="profile",n=P("page_kind");if(!e.isAuthenticated||t&&n!=="register")return!1;let s=!1;return e.acceptedPrivacyNotice.getTime()&&(s=e.userType==="standard"||new Date(e.acceptedPrivacyNotice)>=kj),!s}async function nNe(){if(!nR){let e=T.createElement("div");e.classList.add("modal-content"),y(d` `,e),nR=new ve(e),sR=e.querySelector("#consentModal"),Jfe()}await Te,nR.show()}function Jfe(){let e=w.userType==="microsoft"?cX:WC,t=()=>Fle(),n=d` `;y(n,sR)}function sNe(){let e=d` `;y(e,sR),oNe(sR)}async function oNe(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()?(nR.hide(),await ei(location.origin,!0)):t.removeAttribute("hidden")}catch(s){throw t.removeAttribute("hidden"),new Error(`error: ${s.message}`)}finally{n.classList.remove("is-loading")}}}function rNe(e,t,n,s){return s&&s.length!==0||e==="microsoft"?uX.replace("{email}",s||n):t==="AAD"||e==="aad"?t9.replace("{email}",n):UK}async function Zfe(e,t,n){let s=()=>n.setAttribute("data-authenticated",e.isAuthenticated.toString());s(),e.subscribe(Tn,s),await t,n.setAttribute("data-auth-status-determined","true")}var Ie={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",CH="docs-sign-out",Xfe="docs-change-directory";function ehe(e){aNe(e),e.addEventListener("click",iNe)}function iNe(e){if(!(e.target instanceof Element))return;let t=e.target.closest(`.${au}, .${CH}, .${Xfe}`);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(Xfe))Bfe(o);else if(n){let r=b.data.isPermissioned;Un(o,"select_account",r)}else ei(o,!0)}function aNe(e){let t=n=>{if(!(n.target instanceof Element))return;let s=n.target.closest(`.${au}, .${CH}`);if(!s)return;let o=s.classList.contains(au);n.target.setAttribute("data-m",JSON.stringify({cN:o?au:CH,bhvr:o?100:101}))};e.addEventListener("touchstart",t,!0),e.addEventListener("pointerdown",t,!0),e.addEventListener("keyup",n=>{n.which===Ie.enter&&t(n)},!0)}var AH,_e=new Promise(e=>AH=e);async function the(e){if(!S.userServices){AH(),Te.then(()=>{let t=T.getElementById("docs-sign-in-container-item");t&&(t.hidden=!0)});return}await Rfe(),await Lo.handleRedirectPromise(),Zfe(w,_e,T.documentElement),ehe(T.documentElement),S.permissionedContent&&Te.then(t=>{T.documentElement.querySelectorAll("[data-permissioned-content]").forEach(n=>n.hidden=!1)}),w.subscribe(Tn,async()=>{await Promise.all([e.siteHeaderRendered,Te]),Tj(T.documentElement,w)}),Hfe().then(AH),_e.then(async()=>{if(w.userType!=="standard"&&Wfe(w),!w.isAuthenticated)return;if(!EH(w)){await Te,tR();return}let t=new URL("./register",vc(b.data.userLocale));if(location.pathname===t.pathname)return;let n=ie({redirectUrl:location.href});location.href=`${t.toString()}?${n}`})}A();function nhe(){let e=location.pathname.toLowerCase();if(Ut&&e!==`/${b.data.userLocale}/test/docs/architecture/icons/`)return;if(!Ut&&e!==`/${b.data.userLocale}/azure/architecture/icons/`&&e!==`/${b.data.userLocale}/power-platform/guidance/icons`&&e!==`/${b.data.userLocale}/dynamics365/get-started/icons`)return;let t=T.querySelector(".content a.button"),n=t.href;t.parentElement.parentElement.classList.add("margin-bottom-lg");let s=()=>{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")&&s()},r=T.getElementById("consent-checkbox");r.classList.add("margin-block-sm");let i=r.textContent;y(lNe(i),r),s(),O.addEventListener("change",o)}function lNe(e){return d` `}A();function cNe(e,t){let n={};return e.querySelectorAll("li > a").forEach(o=>{if(o.textContent){let r=t?o.textContent="default":o.textContent.trim().slice(1,-1).split("|");if(r.length===2){let i=r[0].trim(),a=r[1].trim(),l=o.href;i&&a&&l&&(n[i]||(n[i]={}),n[i][a]=l)}}}),n}function she(e){let t=document.createElement("a");return t.href=e,t.host===""&&(t.href=t.href),t.protocol+"//"+t.host+t.pathname}function uNe(e){let t=window.location.href.toLowerCase(),n=she(t);for(let s in e)for(let o in e[s]){let r=e[s][o].toLowerCase();if(she(r).localeCompare(n,void 0,{sensitivity:"base"})===0)return[s,o]}return null}function dNe(e,t,n){function s(u){return[u,u]}function o(u){window.location.href=u}let r=cNe(e,t),i=uNe(r),a=document.createElement("div");a.classList.add("azureselector"),a.classList.add("display-none-print");let l=e.getAttribute("title1"),c=ohe(a,l);if(IH(c,r,s,!1,n),i&&(c.value=i[0]),t)c.addEventListener("change",()=>{c.value&&o(r[c.value].default)});else{let u=e.getAttribute("title2"),p=ohe(a,u);c.addEventListener("change",()=>{IH(p,c.value?r[c.value]:{},s,!1,n)}),p.addEventListener("change",()=>{c.value&&p.value&&o(r[c.value][p.value])}),IH(p,c.value?r[c.value]:{},s,!1,n),i&&(p.value=i[1])}e.insertAdjacentElement("afterend",a)}function rhe(){let e=gG,t=document.querySelector(".op_single_selector"),n=document.querySelectorAll(".op_multi_selector");t&&pNe(t),n.forEach(s=>{dNe(s,!1,e)})}function pNe(e){let t=e.parentNode,n=e.getAttribute("title1"),s=Array.from(document.querySelectorAll(".op_single_selector > ul > li")),o=Array.from(document.querySelectorAll(".op_single_selector > ul > li > a")),r=[];o.map(c=>{let u={title:c.textContent,href:c.href};r.push(u)});let i=s[0].firstElementChild.getAttribute("href")?mNe(r):s.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=gNe(i,r,n);y(l,a)}function mNe(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 gNe(e,t,n){let s=d``,o=[];n&&(s=d`${n}`);let r="padding-xxs";for(let i of t)o.push(d`
  • ${i.title}
  • `);return d` ${s} `}function ohe(e,t){let n=document.createElement("div");n.classList.add("display-inline-block-tablet","margin-block-xxs","margin-right-xs-tablet");let s=Xe(),o=d`
    ${t?d` `:""}
    `;return y(o,n),e.appendChild(n),n.querySelector("select")}function IH(e,t,n,s,o){let r=[];s||r.push(d``);for(let i in t){let a=n(i,t[i]);a&&a.length===2&&r.push(d``)}y(r,e)}var Rn={value:null};async function PH(e,t,n){let s={scopes:[e],forceRefresh:!0,authority:`https://login.microsoftonline.com/${t}`};return await ihe(s,n)}async function ihe(e,t){try{return await Lo.acquireTokenSilent(e)}catch(n){if(js.trackTrace({message:`Acquire Token Silent Failure - ${w?.userName} - ${e.scopes.toString()} - ${e.authority} - ${n?.message}`}),js.trackException(n),n instanceof wn&&t.noInteraction===!1)try{return await Lo.acquireTokenPopup(e)}catch(s){return js.trackTrace({message:`Acquire Token Popup Failure - ${w?.userName} - ${e.scopes.toString()} - ${e.authority} - ${s?.message}`}),js.trackException(s),null}return null}}async function fNe(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`,i=await(await M(o,{method:"GET"})).json();if("error"in i&&i.error==="invalid_tenant")throw new Error(`${i.error}: ${i.error_description}`);if("issuer"in i)return i.issuer.split("/")[3];throw new Error("Issuer not found in OpenID configuration")}function hNe(e){return![$le,Dle,Mle].includes(e)}var DT={async tryLoadTokens(e={noInteraction:!0}){if(await _e,!w.isAuthenticated)return js.trackTrace({message:`Try Load Token User Not Authenticated - ${w?.userName}`}),null;try{let t=Hu(),s=o0(t).preferred_username,o=Lo.getAccount({username:s});Lo.setActiveAccount(o);let r=P("interactive")?.toLowerCase(),i=r&&(r==="powershell"||r==="bash"),a=P("rest_product")?.toLowerCase()??"",l=o?.tenantId===i0||o?.homeAccountId.split(".")[1]===i0,c=[],u="",p=null;try{u=l?await fNe(o):"organizations"}catch{return c}let m={scopes:["https://management.azure.com/user_impersonation"],forceRefresh:!0,authority:`https://login.microsoftonline.com/${u}`,redirectUri:VL},g=await ihe(m,e),f="https://management.azure.com/tenants?api-version=2020-01-01",_={method:"GET",headers:{Authorization:`Bearer ${g.accessToken}`}};if(p=await(await M(f,_)).json(),!p||!p.value)return c;p.value=p.value.filter(x=>hNe(x.tenantId));for(let x of p.value){if(!x.tenantId)continue;let v={access_token:"",access_token_type:"",expires_at:"",msgraph_access_token:"",msgraph_access_token_type:"",msgraph_expires_at:"",key_vault_access_token:"",key_vault_access_token_type:"",key_vault_expires_at:"",display_name:x.displayName,default_domain:x.defaultDomain,tenant_id:x.tenantId},k={arm:"https://management.core.windows.net/user_impersonation","business-assist-api":"https://business-assist.microsoft.com/.default","dev-center":"https://devcenter.azure.com/.default",learn:"https://learn.microsoft.com/.default",fabric:"https://api.fabric.microsoft.com/.default","partner-center-rest":"https://api.partnercenter.microsoft.com/.default","power bi":"https://analysis.windows.net/powerbi/api/.default","health-dataplane":"https://deid.azure.com/.default"},I=await PH(k[a]??k.arm,x.tenantId,e);if(v.access_token=I?.accessToken,v.access_token_type=I?.tokenType,v.expires_at=I?.expiresOn?.valueOf().toString()??"",i){let E=await PH("https://vault.azure.net/user_impersonation",x.tenantId,e);v.key_vault_access_token=E?.accessToken,v.key_vault_access_token_type=E?.tokenType,v.key_vault_expires_at=E?.expiresOn.valueOf().toString();let H=await PH("https://graph.microsoft.com/.default",x.tenantId,e);v.msgraph_access_token=H?.accessToken,v.msgraph_access_token_type=H?.tokenType,v.msgraph_expires_at=H?.expiresOn.valueOf.toString()}c.push(v)}return c}catch(t){return js.trackTrace({message:`Try Load Token Failure - ${w?.userName} - ${t?.message}`}),js.trackException(t),null}}};var bNe=5*60*1e3,ahe=0;function che(){document.addEventListener("visibilitychange",lhe,{passive:!0}),lhe()}function lhe(){document.visibilityState==="visible"?ahe=setInterval(_Ne,bNe):clearInterval(ahe)}function _Ne(){Rn.value&&DT.tryLoadTokens().then(e=>{let t=e.find(n=>n.default_domain===Rn.value.default_domain);t&&(Rn.value=t)})}function uhe(){return S.banner?(document.querySelectorAll("[data-banner-dismiss]").forEach(t=>{let n=t.closest(".banner");n&&(n.hidden=yNe(t.getAttribute("data-banner-dismiss")))}),document.addEventListener("click",vNe)):void 0}function vNe(e){let t=e.target instanceof HTMLElement&&e.target.closest("button[data-banner-dismiss]");if(!t)return;let n=t.getAttribute("data-banner-dismiss"),s=JSON.parse(X.getItem("dismissed-banners"));return s?(s.push(n),X.setItem("dismissed-banners",JSON.stringify(s))):X.setItem("dismissed-banners",JSON.stringify([n]))}function yNe(e){let t=JSON.parse(X.getItem("dismissed-banners"));return t?t.some(n=>n===e):!1}var LH;function RH(){if(LH===void 0){let e=P("api")||"/en-us/rest/api/rest-products.json";LH=M(e,{credentials:"include"}).then(t=>t.json())}return LH}function dhe(e){return e==="rest"?RH().then(t=>SNe(t,e)).catch(()=>({platformId:e,displayName:e,families:[]})):M(`${$.monikers}/byPlatform/${encodeURIComponent(e)}`).then(t=>t.json()).then(t=>kNe(t,e)).catch(()=>({platformId:e,displayName:e,families:[]}))}function phe(e){return M(`${$.monikers}/bymoniker/${encodeURIComponent(e)}`).then(t=>t.ok?t.json().then(n=>(TNe(e,n),n)):Promise.reject(null)).then(t=>mhe(t)).catch(()=>MH(e))}function MH(e){return{displayName:e,products:[{displayName:e,packages:[{displayName:e,isDefault:!0,moniker:e,versionDisplayName:e,isDeprecated:!1,isPrerelease:!1}]}]}}function mhe(e){return{displayName:e.familyName,products:e.products.map(({productName:t,packages:n})=>({displayName:t,packages:n.sort((s,o)=>o.order-s.order).filter(s=>xNe(s)).map(s=>({displayName:s.monikerDisplayName,isDefault:s.isDefault,moniker:s.monikerName,versionDisplayName:s.versionDisplayName,isDeprecated:s.isDeprecated,isPrerelease:s.isPrerelease}))}))}}function xNe(e){return b.data.brand==="mooncake"?e.monikerName!=="azure-cli-2017-03-09-profile":!0}function kNe(e,t){return{platformId:t,families:e.map(mhe)}}function TNe(e,t){if(!t.products.find(n=>!!n.packages.find(s=>s.monikerName===e)))throw new Error(`The family "${t.familyName}" does not contain the moniker "${e}".`)}function SNe(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 rs(e,t,n=0,s=[]){for(let o of e){s.length=n;let r=t(o,s);if(!r)return 0;if(r!==2&&(s[n]=o,o.children&&!rs(o.children,t,n+1,s)))return 0}return 1}var Ro="moniker-changed",$H="same-moniker-selected",ghe=()=>{let e=oe().view;return e===void 0?"":e.toLowerCase()},zT=ghe();function it(){return zT}function ep(e){if(e===zT){O.dispatchEvent(new CustomEvent($H,{detail:{moniker:zT}}));return}zT=e,O.dispatchEvent(new CustomEvent(Ro,{detail:{moniker:zT}}))}O.addEventListener("popstate",()=>ep(ghe()));var zl={"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 tp=/^\/([a-z]{2,3}-(?:[a-z]{4}-)?[a-z]{2})(\/|$)/i,wNe="MarketplaceSelectedLocale",ENe=["ContentPage","Conceptual","Module","ModuleUnit","LearningPath"];function DH(e){return!!zl[e]}function NT(e){let t=tp.exec(e);return t===null?"en-us":t[1].toLowerCase()}function nt(e,t,n=!0){return!e||!DH(t)||e.indexOf("http://")===0||e.indexOf("https://")===0||e.indexOf("//")===0?e:tp.test(e)?n?wg(e,t):e:"/"+t+e}function is(e){return e.replace(tp,"/")}function wg(e,t){return e.replace(tp,`/${t}$2`)}async function fhe(){let e=b.data.userLocale,t=b.data.contentLocale,n=ct.machineTranslated;b.data.userLocaleName=zl[e],await Te,t!==e&&/^en/.test(t)&&!/^en/.test(e)&&!n&&ENe.indexOf(b.data.pageTemplate)!==-1&&tn(INe(b.data.pageTemplate,e)),zH(e)}function hhe(e){ar.set(wNe,e,{expires:365*10})}function zH(e){Array.from(document.querySelectorAll(".locale-selector-link")).forEach(t=>CNe(t,e))}function CNe(e,t){let n=e.querySelector(".local-selector-link-text"),s=zl[t];n?n.textContent=s:e.textContent=s,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=PK.replace("{language}",s);e.setAttribute("aria-label",o)}function ANe(e){return Ti("localization_scopes").indexOf(e)!==-1}function INe(e,t){let n=ANe(t),s=zl[t];return e==="LearningPath"?n?lW.replace("{language}",s):cW.replace("{language}",s):e==="Module"||e==="ModuleUnit"?n?uW.replace("{language}",s):dW.replace("{language}",s):aW}var PNe=/^([.\/]*\/)?([^\?#]*)?(\?[^#]*)?(#.*)?$/,jT=/(^|\/)index$/i,LNe=R.accessLevel==="local"&&b.environment===void 0,NH={};function RNe(e,t){let{origin:n,pathname:s}=gj(e),o={"/":`/${t}/`},r=s.split("/"),i="";for(;r.length>2;){r.pop();let a=r.join("/")+"/";o[i]=a,o["./"+i]=a,i+="../"}return{origin:n,relMap:o}}var $_=class{constructor(t,n,s,o,r){this.external=t;this.origin=n;this.pathname=s;this.search=o;this.hash=r}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 Xs(e,t,n=b.data.userLocale,s=ee.origin){let[o,r,,,i,a]=e;if(o==="/"&&r==="/"||i===":"||a===":"){let{origin:v,pathname:k,search:I,hash:E}=gj(e);if(v!==s)return new $_(!0,v,k,I,E);let H=tp.exec(k);return(!H||!DH(H[1]))&&(k="/"+n+k),k=decodeURIComponent(k.replace(jT,"$1")),new $_(!1,v,k,I,E)}NH[t]===void 0&&(NH[t]=RNe(t,n));let{origin:l,relMap:c}=NH[t],u=PNe.exec(e),[,p="",m="",g="",f=""]=u,_=c[p];LNe&&(m=m.replace(/\.html$/i,""));let h=m.replace(jT,"$1");h.indexOf("%")!==-1&&(h=decodeURIComponent(h));let x=_+h;return new $_(!1,l,x,g,f)}function np({origin:e,pathname:t,search:n,hash:s}=ee){return t=jH(t),t=decodeURIComponent(t).toLowerCase().replace(jT,"$1"),new $_(!1,e,t,n,s)}function jH(e){return e.replace(/\/+/g,"/")}var MNe=np(),rR=P("moniker_definition_rel"),oR,FH=new Map,Eg=!!rR&&rR.endsWith(".json");function UH(){if(!rR)return null;let e=Xs(rR,MNe.href);return vhe(e.href)}async function _he(e){let t=[],n=it();for(let s of e)if(s.metadata?.moniker_definition_rel){let o=Xs(s.metadata.moniker_definition_rel,s.url);t.push(vhe(o.href).then(({monikerSet:r})=>bhe(s.nodes,r)))}else n&&t.push(Promise.resolve(bhe(s.nodes,new Set([n]))));await Promise.all(t)}function bhe(e,t){t?.size&&rs(e,(n,s)=>{if(n.monikers===void 0&&s&&s.length){let o=s[s.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(r=>t.has(r));n.selectedMoniker=o===void 0?null:o}return!0})}function vhe(e){let t={family:null,monikerSet:new Set};if(!e)return Promise.resolve(t);let n;return FH.has(e)?n=FH.get(e):(n=M(e,{credentials:"include"}).then(s=>s.json()).then(s=>$Ne(s)).catch(()=>t),FH.set(e,n)),n}function $Ne(e){let t=null,n=new Set,s=it(),o=e.products.reduce((r,i)=>{let a=i.familyName;return r[a]=r[a]||[],r[a].push(i),r},{});return Object.keys(o).forEach(r=>{let i="",a=!1,l=o[r];l.forEach(u=>{u.monikers.forEach(p=>{p.isDefault&&(i=p.monikerName),p.monikerName===s&&(a=!0,t=DNe(r,l))})});let c=a?s:i;c&&n.add(c)}),{family:t,monikerSet:n}}async function yhe(){if(oR===void 0){let e=it();if(Eg){let t=await UH();oR=Promise.resolve(t?.family??MH(e))}else oR=phe(e)}return oR}function DNe(e,t){return{displayName:e,products:t.map(n=>({displayName:n.productName,packages:n.monikers.sort((s,o)=>o.order-s.order).map(s=>({moniker:s.monikerName,displayName:s.monikerDisplayName??s.monikerName,versionDisplayName:s.versionDisplayName??s.monikerName,isDefault:s.isDefault??!1,isDeprecated:s.isDeprecated??!1,isPrerelease:s.isPrerelease??!1}))}))}}var OH;function qa(){return OH===void 0&&(OH=yhe()),OH}function D_(e,t){for(let n of e.products)for(let s of n.packages)if(s.moniker===t)return s;return null}var z_=null;async function xhe(e=b.data.pageTemplate){iR();let t=oe(),n=t.viewFallbackFrom,s=t.branchFallbackFrom,o=t.branch;if(n&&e!=="NotFound"){zNe(n);return}s&&o&&NNe(s,o)}async function zNe(e){let t=await qa(),n=D_(t,e);n&&(z_=tn(fX.replace("{moniker}",Be(n.displayName))))}function NNe(e,t){z_=tn(vG.replace("{branchFallbackFrom}",Be(e)).replace("{branch}",Be(t)))}function iR(){if(z_){let e=z_.firstElementChild;if(!e)return;z_.removeChild(e),z_=null,It()}}function khe(){R.supportLevel==="production"&&R.reviewFeatures&&tn(iW)}A();var aR=[];var FT="banner-instructions",UT="banner-instructions-locale",jNe=1e3*60*60;function The(e=S.temporaryClientSideEventBanners){if(e){try{HH()}catch{X.removeItem(FT),X.removeItem(UT)}qH()}}async function qH(e=M,t=new Date){let n=She();if(n&&n.date.getTime()+jNe>Date.now())return;let s=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",o=new URL(`/${b.data.userLocale}/${s}banners/index.json`,location.origin);if(R.reviewFeatures){let a=new URLSearchParams(location.search).get("api-branch")??"main";o.searchParams.set("branch",a)}let r=await e(o.href),{banners:i=[]}=r.ok?await r.json():{};X.setItem(FT,JSON.stringify({date:t,banners:i})),X.setItem(UT,b.data.userLocale)}function HH(){let e=She();if(!e)return;let t=b.data.userLocale,n=e.banners.filter(s=>s.location==="sectional"&&s.scope.accessLevels.includes("online")&&s.content.text&&(!s.scope.locales||s.scope.locales.includes(t))).map(({uid:s,scope:o,content:r,displayType:i})=>{let[a,l]=r.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 r.link&&(u=r.link.title,p=r.link.href.startsWith("/")?`/${t}${is(r.link.href)}`:r.link.href),{id:s,startTime:o.startDate,endTime:o.endDate,bannerPaths:c,eventTitle:a,eventDescription:l,linkHref:p,linkText:u,imageUrl:r.imageUrl,displayType:i,displayedEventStartDate:o.displayedEventStartDate,displayedEventEndDate:o.displayedEventEndDate}});aR.push(...n)}function She(e=b.data.userLocale){let t=X.getItem(FT),n=X.getItem(UT);if(n&&n!==e||!t)return X.removeItem(FT),X.removeItem(UT),null;try{let o=JSON.parse(t);if(o.date=new Date(o.date),isNaN(o.date.getTime()))return null;for(let r of o.banners){if(r.scope.startDate=new Date(r.scope.startDate),r.scope.endDate=new Date(r.scope.endDate),isNaN(r.scope.startDate.getTime())||isNaN(r.scope.endDate.getTime()))return null;r.scope.displayedEventStartDate&&r.scope.displayedEventEndDate&&(r.scope.displayedEventStartDate=new Date(r.scope.displayedEventStartDate),r.scope.displayedEventEndDate=new Date(r.scope.displayedEventEndDate))}return o}catch{X.removeItem(FT),X.removeItem(UT)}return null}A();var Cg=Intl.DateTimeFormat().resolvedOptions().timeZone;function Fs(e){let t=Math.floor(e/60),n=e%60;return t===0?JC.replace("{numberOfMinutes}",n.toString()):n===0?`${t} ${yZ}`:kZ.replace("{numberOfHours}",t.toString()).replace("{numberOfMinutes}",n.toString())}var whe=new Intl.DateTimeFormat(b.data.userLocale,{hour:"numeric",minute:"numeric"}),UEt=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric"}),OEt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric"}),qEt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",year:"2-digit"}),UNe=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",year:"numeric"}),HEt=new Intl.DateTimeFormat(b.data.userLocale,{day:"numeric"}),BEt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short"}),VEt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"short"}),GEt=new Intl.DateTimeFormat(b.data.userLocale,{year:"numeric"}),Hi=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric"}),QEt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"long",month:"long",day:"numeric",year:"numeric"});function Ehe(e=Cg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric",timeZone:e})}function Nl(e=Cg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",timeZone:e})}function Che(e=Cg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"2-digit",day:"2-digit",year:"numeric",timeZone:e})}function Ahe(e=Cg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",timeZone:e})}function VH(e=Cg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",hour:"numeric",timeZone:e})}function as(e){return Math.floor(e/1e3)}function Ihe(e){return Math.floor(e/1e3/60)}function GH(e){let t=e/1e3,n=Math.floor(t/3600),s=BH(Math.floor(t%3600/60)),o=BH(Math.floor(t%3600%60));return n<1?`${s}:${o}`:`${BH(n)}:${s}:${o}`}function lR(e){let t="",n=0,s="",o=Math.floor(e/168),r=Math.floor(e%168/24),i=e-o*168-r*24;if(o>0&&n++,r>0&&n++,i>0&&n++,n>0&&n--,o>0){let l=o===1?jA:FA;a(),t+=o.toString()+" "+l+s,s=""}if(r>0){let l=r===1?OE:Uy;a(),t+=r.toString()+" "+l+s,s=""}if(i>0){let l=i===1?YE:Lu;t+=i.toString()+" "+l}return t;function a(){n>0&&(s=", ",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 BH(e){return e<10?`0${e}`:`${e}`}function Phe(e){if(e===0)return"PT0S";let t=Math.floor(e/864e5);e=e-t*864e5;let n=e,s=Math.floor(e/36e5);e=e-s*36e5;let o=Math.floor(e/6e4);e=e-o*6e4;let r=Math.floor(e/1e3);e=e-r*1e3;let i="P";return t>0&&(i+=t.toString()+"D"),n>0&&(i+="T"),s>0&&(i+=s.toString()+"H"),o>0&&(i+=o.toString()+"M"),r>0&&(i+=r.toString()+"S"),i}function N_(e){let t="h",n="m",s="s",o=0,r=e.indexOf(t)!==-1,i=e.indexOf(n)!==-1,a=e.indexOf(s)!==-1;return o+=r?Number(e.substring(0,e.indexOf(t)))*3600:0,o+=i?r?Number(e.substring(e.indexOf(t)+1,e.indexOf(n)))*60:Number(e.substring(0,e.indexOf(n)))*60:0,o+=a?Number(i?e.substring(e.indexOf(n)+1,e.indexOf(s)):r?e.substring(e.indexOf(t)+1,e.indexOf(s)):e.substring(0,e.indexOf(s))):0,o}function QH(e){let t="",n="",s="";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&&(s=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"),s+n+t)}A();function j_(e,t,n,s){let o=s?d`${s}`:"",r=S.rightRailSticky?"":d``;return d` ${r}
    ${e}
    ${t}
    ${o}
    `}function F_(e,t){return d`

    ${t}

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

    ${s}

    `:"",a=n?d`

    ${e}

    `:d`

    ${e}

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

    ${e}

    `}function Lhe(e){return d` `}function q_(){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 ONe(e){let t=VH().format(e.displayedEventStartDate),n=VH().format(e.displayedEventEndDate),s=F_("docon-special-event",AW),o=e.eventTitle?U_(e.eventTitle,!1,e.linkHref):"",r=e.eventTitle?"margin-top-xs":"",i=d` ${e.displayType==="event-image-card"&&e.imageUrl?Lhe(e.imageUrl):""} ${o}

    ${t} - ${n}

    ${O_(e.eventDescription,!1)} ${e.linkText} `;return j_(s,i,!1)}async function Rhe(){!S.connectedExperiences&&!S.temporaryClientSideEventBanners||(await qH(),HH())}function Mhe(e){let t=Array.from(document.querySelectorAll("#right-rail-events, #right-rail-events-mobile"));q_();for(let n of t)y(ONe(e[0]),n),n.hidden=!1,It()}var qNe=["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"],HNe=["/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 cR(e=location.pathname,t=$r.template){return e=is(e),HNe.includes(e)?!1:qNe.includes(t)||!t&&e.startsWith("/answers/")}function uR(){let e=document.getElementById("cookie-consent-holder");return!e||document.getElementById("banner-holder")?null:(e.insertAdjacentHTML("afterend",''),e.nextElementSibling)}function $he(e,t,n,s){let o=xh(),r=o>t.getTime()&&o<=n.getTime(),i=localStorage.getItem(e)==="hide",a=is(location.pathname).toLowerCase();a=a.startsWith("/")?a.substring(1):a;let l=s.some(c=>c.fullPathMatch?a===c.path:a.startsWith(c.path));return r&&!i&&l}A();function Dhe({uid:e,startDate:t,endDate:n,cssClass:s,title:o,subtitle:r,description:i,cta:a,theme:l,buttonCss:c=""},u=Date.now(),p=location.pathname){if(p=is(p),!S.marketing||u=n.getTime()||!cR()||X.getItem(e)==="hide")return!1;let m=uR();if(!m)return!1;m.classList.add(`theme-${l}`);let g=d`

    ${o}

    ${r?d`

    ${r}

    `:""}
    ${a.title}
    `;return y(g,m),!0}function BNe(e=xh()){return Dhe({uid:"2026-03--build",title:tae,description:oae,subtitle:sae,cta:{href:"https://aka.ms/MSBuild_FY26_BN_MSLearn_Hero",title:rae},cssClass:"build-banner",theme:"light",startDate:new Date("2026-03-13T15:00:00.000Z"),endDate:new Date("2026-06-01T00:00:00.000Z")},e)}function VNe(e=xh()){return Dhe({uid:"2026-06--ai-skills-fest",title:nae,description:aae,subtitle:iae,cta:{href:"https://aka.ms/AISkillsFest_LearnPromoBanner",title:lae},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 zhe(){let e=xh();return BNe(e)||VNe(e)}async function Nhe(){if(!cR())return;S.connectedExperiences&&S.temporaryClientSideEventBanners?await Rhe():The();let e=aR.filter(n=>{let{id:s,startTime:o,endTime:r,bannerPaths:i}=n;return $he(s,o,r,i)}),t=!1;if(!(zhe()&&(t=!0,!S.connectedExperiences))&&!(e.length<1)){if(S.connectedExperiences&&e[0].displayType)Mhe(e);else if(!t)for(let n of e){let s=uR();if(!s)return;let{id:o,eventTitle:r,eventDescription:i,linkHref:a,linkText:l}=n,c=GNe(`${o}-banner`,`${o}-event`,r,i,a,l);y(c,s);let u=s.querySelector("[data-dismiss]");u.onclick=()=>X.setItem(o,"hide")}}}function GNe(e,t,n,s,o,r){let i=o&&r?d` ${r} `:"";return d` `}Wp();async function QNe(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");QNe(e,t);let n={method:"POST",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify(e)},s=J(`${$.ocvFeedback}`,n),o=await M(s),r;if(o.ok)return r=await o.json(),r;throw new Error(`ocv api responded with ${o.status} ${o.statusText}`)}A();Ve();var YNe=[Kie,mee,JW,lZ,cZ];function Fhe(e,t,n,s,o,r,i=YNe,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=s==="display-inline-flex"?"":s;for(let k=0;k<5;k++){let I=Xe();g.push(d` `)}let _=o?d`
    ${_Z}
    `:"",h=d` ${_}
    ${g}
    `,x=s==="display-inline-flex"?d`
    ${h}
    `:h;y(x,c);let v=c.querySelector(".rating-output");if(e!==0){let k=c.querySelector(`input[value="${e}"]`);k.checked=!0,v.textContent=k.nextElementSibling.textContent}return c.onmouseover=k=>{let I=k.target.closest("label");I&&(v.textContent=I.textContent)},c.onmouseleave=()=>{v.textContent=""},c.onchange=k=>{let I=k.target,E=parseInt(I.value),H=c.querySelectorAll(".star-collection input");for(let F=0;F=F?H[F].classList.add("is-selected"):H[F].classList.remove("is-selected");r(E),I.nextElementSibling&&(v.textContent=I.nextElementSibling.textContent)},c}var KNe=2539,WNe=50033,Uhe=R.reviewFeatures?WNe:KNe;var Ohe="a6b7c4ac-4c15-426f-b054-42341177dffc";var qhe=[zX,DX,$X,MX,RX];function Hhe(){tn(KK,{text:Gie,clickHandler:tje},void 0,void 0,"mt-csat-banner")}var dR,YH,OT;function JNe(){return d` `}function ZNe(){let e=Fhe(0,"m","m","",!1,t=>dR=t,qhe,!0);return d` `}function XNe(){ye({actionType:we.OTHER,behavior:le.OTHER,content:{type:"translation-csat-feedback",score:dR,verbatim:YH}})}function eje(e){if(e.preventDefault(),OT){XNe(),jhe({manifestType:"Psat",appId:Uhe,submitTime:new Date().toISOString(),source:"Client",type:"Survey",telemetry:{featureArea:"Docs"},clientFeedbackId:iu(),survey:{surveyId:Ohe},rating:dR,comment:YH||"",web:{sourcePageURI:location.origin+location.pathname}});let t=document.createElement("div");t.classList.add("modal-slide"),y(JNe(),t),OT.pushContent(t)}}function tje(){let e=document.createElement("div");y(ZNe(),e),OT=null,dR=null,OT=new ve(e),OT.show()}var nje=ct.machineTranslated;function Vhe(e){let t=e.toLowerCase(),n=b.data.isEditDisplayable;if(S.translationFeedback){Hhe();return}Zn()||t.startsWith("en-")||!nje||(n?tn(XK):tn(eW))}function Ghe(){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(KH()){let o=new URL(document.referrer),r=NT(o.pathname),i=Hee.replace("{language}",zl[r]);n.innerText=i,t.title=i,t.hidden=!1}else b.data.userLocale.includes("en-")||(n.innerText=lN,t.title=lN,t.hidden=!1);Bhe(t),window.addEventListener("popstate",()=>Bhe(t))}}function KH(e=location.href,t=document.referrer){if(!t)return!1;let n=new URL(e),s=new URL(t),o=NT(n.pathname),r=NT(s.pathname),i=wg(s.pathname,"en-us");return!(n.origin!==s.origin||n.pathname!==i||o===r)}function Bhe(e){let t=new URL(location.href);if(KH()){let n=new URL(document.referrer),s=NT(n.pathname);t.pathname=wg(t.pathname,s)}else t.pathname=wg(t.pathname,"en-us");e.href=t.href,sje(e)}function sje(e,t=KH()){let n=t?"on":"off";e.setAttribute("data-bi",JSON.stringify({cN:"language-toggle",value:n}))}A();function oje(e){let t=oe().branch||ar.get("CONTENT_BRANCH")||"",n=e.sort().map(s=>``).join("");return`
    `}function WH(){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=oje(t);let s=n.querySelector("select"),o=oe().view||"",r=o?`view=${encodeURIComponent(o)}&`:"";s&&(s.onchange=()=>{let a=s.value;ar.set("CONTENT_BRANCH",a),window.location.search=`?${r}branch=${encodeURIComponent(a)}`}),e.insertAdjacentElement("afterbegin",n),n.classList.remove("control"),n.classList.add("display-flex","align-items-center")}A();var JH=class{constructor(t,n=[]){this.breadcrumbsWrapper=t,this.basePath=b.data.userLocale,this.baseTitle="Learn",Ut&&(this.baseTitle="Test",this.basePath+="/test"),this.breadcrumbsList=[{title:this.baseTitle,url:`/${this.basePath}/`},...n]}add(...t){t.forEach(n=>this.breadcrumbsList.push(n))}render(){ZH(this.breadcrumbsList);let t=this.breadcrumbsWrapper;if(!t)return;y(d` `,t);let n=document.getElementById("article-header-breadcrumbs-overflow"),s=document.querySelectorAll(".has-interactive section.primary-holder"),o=document.getElementById("branch-selector"),r;o&&(r=rje(s,o)),n&&y(d` ${r} `,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 rje(e,t){let n;if(e.length&&t){n=document.getElementById("branch-selector-container"),n&&n.classList.add("padding-xxs");let s=document.getElementById("article-header-breadcrumbs-overflow-popover");s&&s.setAttribute("style","display: inline-block !important")}return n}async function sp(e){if(b.data.context.chromeless)return;await Te;let t=e||document.getElementById("article-header-breadcrumbs");return t?new JH(t):void 0}function ZH(e){let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[]},n=e.filter((s,o)=>s.url||o+1===e.length).map((s,o)=>{let r={name:s.title,position:o+1,"@type":"ListItem"};return s.url&&(r.item=s.url),r});if(t.itemListElement=n,t.itemListElement.length){let s=document.createElement("script");s.setAttribute("type","application/ld+json"),s.textContent=JSON.stringify(t),document.head.appendChild(s)}}function Qhe(){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{r.getBoundingClientRect().width{T.body.removeChild(n)},()=>{T.body.removeChild(n),s=!1}),s}function XH(e,t){return navigator.clipboard?navigator.clipboard.writeText(e).then(()=>!0,()=>!1):Promise.resolve(kr(e,t))}var pR=!1;function Yhe(){function e(t){let n=O.getSelection();if(!n)return;let s=n.toString(),o=Ele(s);if(qT&&s!==o&&!pR){pR=!0,kr(o,t.target);return}Kt(t.target,{actionType:we.OTHER,behavior:le.COPY,content:{event:"copy",name:jc(t.target),value:s,unprintable:pR}}),pR=!1}T.addEventListener("copy",e,{passive:!0})}Pg();var Ha={any:!1};function ije(){let e=Ti("monikers");Ha.any=e.length>0;for(let t of e)Ha[t]=!0}ije();function Bi(e){return e!==""&&Ha[e]!==void 0}A();function jl(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 s=n.getAttribute("aria-controls"),o=document.getElementById(s);if(o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest(`[id='${s}']`)),o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest(`[id='${s}']`)),!o)return;let r=n.getAttribute("aria-expanded")==="true";n.setAttribute("aria-expanded",(!r).toString());let i=Array.from(o.querySelectorAll(".expandable")),a=Array.from(document.querySelectorAll(`#${CSS.escape(s)} .expandable .expandable`));i=i.filter(u=>!a.includes(u));for(let u of i)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(Xd.join(","));p&&p.focus();return}let l=n.querySelector(".show-more-text");if(!l)return;let c={show:n.getAttribute("data-title")||zu,hide:n.getAttribute("data-expanded-title")||sh};if(l.innerText=r?c.show:c.hide,!r){let u=o.querySelector(".is-expanded");if(!u)return;let p=u.querySelector(Xd.join(","));p?n.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING||p.focus():u.focus()}})}function Ba(e,t="show-more-btn",n,s,o,r,i,a,l){let c=n||"button button-primary",u=o||zu;return d` `}A();var Jhe=6,Zhe=4,Xhe=11,ebe=9,aje=9,Whe=!1;function op(){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",s=S.referenceRightRailH3?`#main h2:not(${n}), #main h3`:`#main h2:not(${n})`,o=Array.from(T.querySelectorAll(s)),r=[];if(o.forEach(i=>{let a=i.tagName.toLowerCase(),l=i.offsetParent!==null,c=Jp(i).trim();l&&c.length>0&&(i.id||(i.id=c.toLowerCase().replace(/\s+/g,"-")),a==="h2"?r.push({text:c,id:i.id,children:[]}):a==="h3"&&r[r.length-1].children?.push({text:c,id:i.id}))}),r.length<2){e.hidden=!0,t.hidden=!0;return}e.hidden=!1,lje(r,e),cje(r,t)}function lje(e,t){let n=b.data.pageTemplate==="Reference",s="content-well-in-this-article-list",o=n?tbe(e,s,"content-well"):nbe(e,s,"content-well");y(d`

    ${Zz}

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

    ${Zz}

    ${i} `,t),s&&!Whe&&(jl(t),Whe=!0)}function tbe(e,t,n){let s=n==="content-well"?"border-left padding-left-xxs":"",o=n==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",r=n==="content-well"?"":"color-text-subtle",i=n==="content-well"?Jhe:Xhe,a=n==="content-well"?Zhe:ebe,l=e.length>=i,c=d`
      ${e.map(({text:p,id:m,children:g},f)=>{let _=g?.length?d`
      1. ${p}
      2. ${g?.map(({text:v,id:k})=>d`
      3. ${v}
      4. `)}
      `:"",x=l&&f>=a?"expandable":"";return _?d`
    1. ${p} ${_}
    2. `:d`
    3. ${p}
    4. `})}
    `;return l?d` ${c} ${sbe(e,t,a,n)} `:c}function nbe(e,t,n){let s=n==="content-well"?"border-left padding-left-xxs":"padding-right-xxs",o=n==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",r=n==="content-well"?"":"color-text-subtle",i=n==="content-well"?Jhe:Xhe,a=n==="content-well"?Zhe:ebe,l=e.length>=i,c=d`
      ${e.map(({text:p,id:m},g)=>{let _=l&&g>=a?"expandable":"";return d`
    1. ${p}
    2. `})}
    `;return l?d` ${c} ${sbe(e,t,a,n)} `:c}function sbe(e,t,n,s){let o=e.length-n,r=IA.replace("{number}",o.toString());return Ba(t,"show-more-btn",`link-button font-weight-semibold font-size-sm margin-top-xxs ${s==="content-well"?"margin-left-xs":"margin-left-xxs"}`,void 0,r,!0)}var Fl,Ul;function sB(){let e=document.getElementById("assertive-live-region"),t=document.getElementById("polite-live-region");e?Fl=e:(Fl=document.createElement("div"),Fl.setAttribute("role","alert"),Fl.setAttribute("aria-live","assertive"),Fl.setAttribute("aria-relevant","additions"),Fl.setAttribute("aria-atomic","true"),Fl.classList.add("visually-hidden"),Fl.setAttribute("id","assertive-live-region"),document.body.appendChild(Fl)),t?Ul=t:(Ul=document.createElement("div"),Ul.setAttribute("role","status"),Ul.setAttribute("aria-live","polite"),Ul.setAttribute("aria-relevant","additions"),Ul.setAttribute("aria-atomic","true"),Ul.classList.add("visually-hidden"),Ul.setAttribute("id","polite-live-region"),document.body.appendChild(Ul))}function uje(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 dje(e){sB();let t;try{t=document.querySelector(".modal.is-active, :modal")}catch{t=document.querySelector(".modal.is-active")}if(!t)return e==="assertive"?Fl:Ul;let{contextualAssertiveRegion:n,contextualPoliteRegion:s}=uje(t);return e==="assertive"?n:s}function ht(e,t="polite",n=5e3){let s=dje(t);s.innerHTML="";let o=document.createElement("div");o.setAttribute("role","none"),o.textContent=e,s.appendChild(o),setTimeout(()=>{o?.remove()},n)}var gR=class{constructor(t){this.expanded=t}},oB={expanded:"ap-expanded",collapsed:"ap-collapsed",expandButton:"ap-expand-behavior",collapseButton:"ap-collapse-behavior"},rB;function iB(e,t){rB=t;let n=document.documentElement.classList,s=document.querySelector(".action-panel");if(n.contains("ap-layout")||e==="none")return s;let o=document.querySelector("[data-main-column]"),r=rbe();n.add("ap-layout"),e==="animate"&&n.add("ap-layout-animates"),setTimeout(()=>n.add("ap-layout-in"),20);let i=()=>{s.removeEventListener("transitionend",i),n.remove("ap-layout-animates"),n.add("ap-layout-finished"),pje(s),It(),r(o),s?.setAttribute("aria-expanded","true"),s?.focus(),lt.publish(new gR(!0))};return s.addEventListener("transitionend",i),s}function pje(e){let t=(()=>{let s=document.querySelector(".ap-layout-finished .content-header");return window.getComputedStyle(s).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 obe(){let e=document.documentElement.classList;if(!e.contains("ap-layout"))return;let t=rbe(),n=document.querySelector(".action-panel");e.remove("ap-layout"),e.remove("ap-layout-animates"),e.remove("ap-layout-in"),e.remove("ap-layout-finished"),It(),t(document.documentElement),rB&&rB.focus(),n?.setAttribute("aria-expanded","false"),lt.publish(new gR(!1)),document.querySelector("[data-main-column]")?.classList.remove("padding-top-none")}function rbe(){let e=document.querySelector("main");if(!e||!e.children)return()=>{};let t=e.children;for(let n=t.length-1;n>=0;n--){let s=t.item(n);if(s.hasAttribute("hidden"))continue;let{top:o}=s.getBoundingClientRect();if(o<=5||n===0){let r=s.clientWidth;return i=>{s.scrollIntoView(!0),i.scrollTop-=o*r/s.clientWidth}}}return()=>{}}function ibe(){addEventListener("click",e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`.${oB.expandButton}, .${oB.collapseButton}`);t&&(t.classList.contains(oB.expandButton)?iB("animate",t):obe())}),Ude.addListener(obe)}function abe(){if(window.scrollTo(0,0),!S.chromeless){let e=document.querySelector("[data-main-column]");e&&(e.scrollTop=0)}}Pg();A();var mje=0,cbe="code-try-",gje=(()=>{let e=location.hash.split(cbe)[1];if(e===void 0)return-1;let t=parseInt(e,10);return t>=-1?t:-1})(),fje=()=>mje++,hje=e=>e===gje,lbe=!1;function aB(){lbe||(lbe=!0,T.addEventListener("click",e=>{let n=e.target.closest("[data-code-header-copy-button]");n&&(e.preventDefault(),bje(n))}))}function bje(e){if(!qT||!e||!Tje(e))return;let t=e.closest("[data-code-block-header]"),n=_je(t);if(!n)return;let s=n.getAttribute("data-language")||"",o=n.firstElementChild||n;kje(o,s)&&Kt(e,{actionType:we.OTHER,behavior:le.COPY,content:{event:"copy",name:jc(t)}}),e.focus()}function _je(e){let t=e?.nextElementSibling;return t?t.hasAttribute("data-language")?t:t.querySelector("pre[data-language]"):null}function vje(e,t){return t==="rtl"?Be(e).replace(/(^|\s|\>)(C#|F#|C\+\+)(\s*|[.!?;:]*)(\<|[\n\r]|$)/gi,"$1$2‎$3$4"):e}function ube(e,t){aB();let n=T.createElement("div"),s=fje(),o=`${cbe}${s}`;n.classList.add("code-block-header","margin-top-sm"),n.setAttribute("data-code-block-header",""),n.setAttribute("id",o),n.setAttribute(Cn.name,"code-header"),e.monikers&&n.setAttribute("data-moniker",e.monikers);let r=e.interactiveType&&!(e.interactiveType.flags.requiresStructuredData&&b.data.pageTemplate==="Conceptual"),i=qT?lB():"",a=r&&e.interactiveType?yje(e.interactiveType):"",l=d` ${j(vje(e.displayName,t))}
    ${i} ${a}
    `;y(l,n),e.element&&e.element.setAttribute("data-language",e.language);let c=e.interactiveType,u=e.scaffoldingType;if(r){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()||"",x;if(c){if(b.data.pageTemplate==="ModuleUnit"){let v=T.getElementById("interactive-container");x=nB(c,v)}else{let v=iB("animate",p);x=nB(c,v)}x.setCode(h,u).then(()=>x.execute()).catch(()=>{}).then(()=>{p.classList.remove("is-loading"),p.disabled=!1})}};p.addEventListener("click",g),hje(s)&&g(null,!0)}}e.element.classList.remove("loading"),e.element.insertAdjacentElement("beforebegin",n),e.header=n}function lB(){return d` `}function yje(e){let t=e.activateButtonConfig;return d` `}var H_=e=>e.split(/\n\n/).map(t=>t.split(/[\\`][\s]*$/gm).map(n=>n.trim()).join(" ")).join(` `),xje={powershell:e=>H_(e.replace(/\bPS [a-z]:\\>\s?/gi,"")),azurecli:H_,azurepowershell:H_,"azurepowershell-interactive":H_,"cloudshell-powershell":H_,ps:H_};function kje(e,t){let s=(xje[t]||(o=>o))(e.textContent?.trim()||"");return kr(s,e)}function Tje(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"),ht(NE,"assertive",1e3),setTimeout(()=>{t?.classList.add("is-transparent"),e.removeAttribute("debounce")},1e3),!0}var Jt=class extends Error{constructor(t){let{status:n,statusText:s,url:o}=t,r=cB(t.headers);super(`Unexpected response status ${n}: ${s} from "${o}". Headers: ${JSON.stringify(r,null,2)}`),this.name=this.constructor.name,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,this.constructor),this.status=n,this.statusText=s,this.url=o,this.headers=r}};function cB(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 B_(e,t=b.data.userLocale){let n=`${$.taxonomy}?${ie({name:e,locale:t})}`,s=await M(n);if(s.ok)return(await s.json())[e].map(r=>({value:r.slug,displayName:r.styleGuideLabel||r.label,level:r.level?+r.level:r.level,parent:r?.parentSlug}));throw new Jt(s)}var uB=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((s,o)=>((!n||o.level===n)&&(s[o.value]=o.displayName),s),{})}async getInternal(t,n){let s=[];try{t in this.cache||(this.cache[t]=B_(t)),s=await this.cache[t]}catch{delete this.cache[t]}return this.taxonomyTermsToTaxonomyMap(s,n)}},HT=new uB;var dbe="proglang",V_={getDisplayNames:()=>HT.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:Sje(),get preferred(){return(X.getItem(dbe)||V_.unset).substr(5)},set preferred(e){X.setItem(dbe,"lang-"+e)}};function Sje(){return b&&b.data&&b.data.defaultDevLang?b.data.defaultDevLang:""}var fR,wje=0,pbe={};function hR(e){fR===void 0&&Eje();let t={id:wje++,instructions:e};return fR.postMessage(t),new Promise(n=>pbe[t.id]=n)}function Eje(){let e=location.origin+"/static/third-party/highlight.js/9.15.25/highlight.pack.js",t=new Blob([`(${Cje.toString()})('${e}') //# sourceURL=syntax-highlighter.js`],{type:"application/javascript"}),n=URL.createObjectURL(t);fR=new Worker(n),fR.onmessage=s=>{let o=s.data;pbe[o.id](o.results)}}function Cje(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,s=/RGNPLACEHOLDER/g,o="RGNPLACEHOLDER";function r(l,c){return l.replace(n,u=>(c.push(u),o))}function i(l,c){return l.replace(s,()=>c.shift())}function a(l){let{id:c,instructions:u}=l.data,p=[];for(let{language:g,code:f,highlightLines:_}of u){let h={code:f,html:"",success:!1};try{let x=[],v=r(f,x),k=[],I=t(f,_);if(I.length){let F=v.split(` `),pe=0;I.forEach(Ce=>{Ce.start>pe&&k.push({highlight:!1,lines:F.slice(pe,Ce.start).join(` `)}),k.push({highlight:!0,lines:F.slice(Ce.start,Ce.end+1).join(` `)}),pe=Ce.end+1}),pe<=F.length&&k.push({highlight:!1,lines:F.slice(pe).join(` `)})}else k.push({highlight:!1,lines:v});let E=null,H="";do{let F=k.shift(),{value:pe,top:Ce}=hljs.highlight(g,F.lines,!0,E);E=Ce,H+=F.highlight?`${pe}`:`${pe}`,k.length&&(H+=` `)}while(k.length);h.html=i(H,x),h.success=!0}catch{}p.push(h)}let m={id:c,results:p};self.postMessage(m,void 0)}self.importScripts(e),self.addEventListener("message",l=>{a(l)})}function Aje(e,t){for(let n=0;n code, span[class*="lang-"]'),r=[],i;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=>{ube(o,t)}),hR(s).then(o=>{for(let r=0;r{s.element.hidden=!o,s.header&&(s.header.hidden=!o)};for(let s of e){let o=!1;for(let r of s.members){let i=r.visibilityLanguage===t||r.element.classList.toString().indexOf(`lang-${t}`)!==-1;n(r,i),o=o||i}o||n(s.default,!0)}It()}function Pje(e,t,n=location.search){let s=Rje(e,n),o=t.preferred;return o!==t.unset&&e.indexOf(o)!==-1&&(s.length===0||s.indexOf(o)!==-1)?o:t.default!==t.unset&&e.indexOf(t.default)!==-1&&(s.length===0||s.indexOf(t.default)!==-1)?t.default:s.length!==0?s[0]:e[0]}var Lje=["Architecture","Conceptual","FAQ","HowTo","Marketing","ModuleUnit","Question","QuestionEdit","Reference","Sample","Welcome"];function bR(){T.querySelectorAll(".cdlHolder .cdlLastVisible").forEach(function(n){n.classList.remove("cdlLastVisible")});let e=it(),t=T.querySelectorAll(".cdlHolder");Bi(e)&&t.forEach(function(n){let s=n.querySelectorAll(`.cdl[data-moniker~='${e}']:not([hidden]),.cdl:not([data-moniker]):not([hidden])`);s.length>0&&s[s.length-1].classList.add("cdlLastVisible")})}async function BT(e){if(Lje.indexOf(b.data.pageTemplate)===-1)return;let t=Array.from(T.querySelectorAll(".lang-title")),n=Array.from(T.querySelectorAll(".language-selector button")),s=[];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],s.push(p)}})}let o=n!==null&&s.length>0,r=await Ije(e??T.body,V_,s);if(o){let c=Pje(s,V_),u=T.querySelector('[data-bi-name="lang-'+c+'"]');t.forEach(p=>{p.textContent=u.textContent}),gbe(r,c),bR(),n.forEach(p=>{p===u&&p.setAttribute("aria-pressed","true"),Ft(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,gbe(r,m)}bR(),op(),mbe(r,b.data.contentDir)})})}let i=r.flatMap(c=>c.members),a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(()=>fbe(i))}return window.addEventListener("resize",l,{passive:!0}),fbe(i),mbe(r,b.data.contentDir)}function fbe(e){e.forEach(t=>{let{type:n,element:s}=t;if(n!=="precode")return;s.scrollWidth>s.clientWidth?(s.setAttribute("role","group"),s.setAttribute("aria-label",hZ),s.tabIndex=0):(s.removeAttribute("role"),s.removeAttribute("aria-label"),s.removeAttribute("tabindex"))})}function Rje(e,t=location.search){return new URLSearchParams(t).get("devlangs")?.split(",").filter(n=>e.includes(n))??[]}Ve();var VT={401:Op,403:NN,404:Op,422:Op,429:NN,500:Op};async function hbe(e){let t={payload:{platformId:e}};try{let n=await M(J($.copilot.summarize,{body:JSON.stringify(t),method:"POST"},!1)),s=n.status.toString();if(s in VT)try{return{message:(await n.json())?.message||VT[s],errorCode:s}}catch{return{message:VT[s],errorCode:s}}if(n.ok)try{let o=await n.json();return"errorCode"in o||o?.message?o:{message:FN,errorCode:"500"}}catch{return{message:FN,errorCode:"500"}}return{message:jN,errorCode:n.status.toString()}}catch{return{message:jN,errorCode:"500"}}}var Ol=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||Ut),_R=typeof __karma__<"u";var Mje=1e3*60*5,$je=new URL(window.location.href).pathname.replace(new RegExp(`^/${b.data.userLocale}`),""),_be="rollout-status",GT;async function Tr(e){GT===void 0&&(GT=dB());let t=await GT;if(t&&"failed"in t&&(GT=dB()),!t||"failed"in t)return bbe("feature-rollout-failure",{featureName:e}),!1;let n=t.activeFeatures.find(o=>"name"in o?o.name===e:!1);if(!n)return!1;let s=await Dje(n);return bbe("feature-rollout-activated",{featureName:e,isActive:s}),s}async function Dje(e,t=b.data.userLocale,n=$je,s=b.data.pageTemplate,o=_e.then(()=>w.isAuthenticated)){if(!e.conditions)return!0;let r=e.conditions.find(g=>g.limitTo==="locale");if(!(r?r.locales.includes(t):!0))return!1;let a=e.conditions.find(g=>g.limitTo==="pathname");if(!(a?!!a.startsWith.find(g=>n.startsWith(g)):!0))return!1;let c=e.conditions.find(g=>g.limitTo==="pageTemplate");return(c?!!c.pageTemplates.find(g=>g===s):!0)?e.conditions.find(g=>g.limitTo==="authenticated")?await o:!0:!1}async function vbe(){GT=dB()}async function dB(e=oe()["refresh-rollout"]==="true"){let t=zje(e);if(t)return t;let s=`/en-us/feature-rollout.json${R.reviewFeatures?"?branch=main":""}`;Ol&&(s=`/en-us/test/feature-rollout.json?branch=${mt()}`);try{let o=await M(s,{method:"GET"});if(!o.ok)return{failed:!0};let r=await o.json();return r.expiresAt=new Date(Date.now()+Mje).getTime(),X.setItem(_be,JSON.stringify(r)),r}catch{return{failed:!0}}}function zje(e=!1){if(e)return null;let t=X.getItem(_be);if(!t)return null;let n;try{n=JSON.parse(t)}catch{return null}if(!n||"failed"in n||!n.expiresAt)return null;let s=n.expiresAt||0;return Date.now()>=s||!("activeFeatures"in n)||"failed"in n?null:n}function bbe(e,t){ye({content:{type:e,content:JSON.stringify(t)}})}var et=class{},Lg=class{};var ql="ms--ai-summary-body",ybe="ms--ai-summary",lu="ms--ai-summary-header",xbe="ms--ai-summary-cta",kbe="ms--ai-summary-feedback",rp="ai-summary",Tbe="ms--ai-summary-feedback-buttons",Sbe="ms--ai-summary-feedback-thanks";Ve();A();function wbe(e){switch(e.state){case"ready":case"loading":return Oje(e);case"loaded":return Nje(e);case"errored":return qje(e);default:return d``}}function pB(e,t){return d`

    ${t}

    `}function Nje(e){let t=d``;if(e.response){let{message:n}=e.response;n?t=d`${jje(n)} ${Fje(e)} `:t=d`

    ${MA}

    `}return d`
    ${pB(e,oh)}
    ${t}
    `}function jje(e){return d`
    ${j(e)}
    `}function Fje(e){return d`
    ${Nu} ${j(pre)} ${Uje(e)}
    `}function Uje(e){return d`
    ${ih}
    `}function Oje(e){return d`
    ${pB(e,oh)}

    ${RA}

    `}function qje(e){let{errorCode:t}=e.response,s=VT[t]??Op;return d`
    ${pB(e,oh)}
    ${s}
    `}function Ebe(e){return typeof e=="object"&&e!==null&&"message"in e&&"errorCode"in e}var Hl,QT,YT,G_,Q_,Y_,K_,W_,J_,vR=class extends He{constructor(n){super();this.state="ready";Yt(this,Hl,null);Yt(this,QT);Yt(this,YT);Yt(this,G_,!1);Yt(this,Q_,null);Yt(this,Y_,null);Yt(this,K_,!1);Yt(this,W_,!0);Yt(this,J_,!0);_t(this,YT,P("platform_id")??""),_t(this,QT,n)}set sessionId(n){_t(this,Q_,n)}get sessionId(){return Ee(this,Q_)}set interactionId(n){_t(this,Y_,n)}get interactionId(){return Ee(this,Y_)}get response(){return Ee(this,Hl)}set response(n){_t(this,Hl,n)}get visible(){return Ee(this,G_)}set visible(n){Ee(this,G_)!==n&&(_t(this,G_,n),this.notifyStateChanged())}get showFeedbackThanks(){return Ee(this,K_)}set showFeedbackThanks(n){Ee(this,K_)!==n&&(_t(this,K_,n),this.notifyStateChanged())}get showHeader(){return Ee(this,W_)}set showHeader(n){Ee(this,W_)!==n&&(_t(this,W_,n),this.notifyStateChanged())}get showCta(){return Ee(this,J_)}set showCta(n){Ee(this,J_)!==n&&(_t(this,J_,n),this.notifyStateChanged())}async fetch(){try{if(!this.response||Ebe(this.response)===!0){this.state="loading",this.notifyStateChanged();let n=new Date().toISOString(),s=await Ee(this,QT).call(this,Ee(this,YT));if(Ebe(s)){this.state="errored",_t(this,Hl,s),this.notifyStateChanged();return}else{_t(this,Hl,s),_t(this,Q_,s?.sessionId??null),_t(this,Y_,s?.interactionId??null);let o=new Date().toISOString();this.timeToContentTelemetry(n,o);try{let i=new DOMParser().parseFromString(Ee(this,Hl).message??"","text/html");i.querySelectorAll("[id]").forEach(a=>{a.removeAttribute("id"),a.tagName.match(/^H[1-6]$/)&&a.classList.add("margin-top-xs")}),Ee(this,Hl).message=i.body.innerHTML}catch{}}}this.state="loaded",this.notifyStateChanged()}catch(n){this.state="errored",_t(this,Hl,{message:n.message,errorCode:n.name}),this.notifyStateChanged()}}displayThanksForFeedback(n){this.showFeedbackThanks=!0,ye({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,s){ye({behavior:le.OTHER,content:{autoIngest:!0,type:"ai-summary-request",aN:rp,sessionId:this.sessionId,interactionId:this.interactionId,triggeredTimestamp:n,returnedTimestamp:s}})}notifyStateChanged(){this.publish(new et)}};Hl=new WeakMap,QT=new WeakMap,YT=new WeakMap,G_=new WeakMap,Q_=new WeakMap,Y_=new WeakMap,K_=new WeakMap,W_=new WeakMap,J_=new WeakMap;async function Cbe(){let e=S.aiSummary&&await Tr("ai-summary")||Qe("ai-summary",{require:!0}),t=document.querySelector('[data-id="ai-summary"]'),n=document.getElementById(ybe),s=document.getElementById(lu),o=document.getElementById(xbe);if(!e||!t||!n||!s||!o)return;t.hidden=!1;let r=new vR(hbe),i=!1;n.addEventListener("click",async()=>{r.showHeader=!0,r.showCta=!1,r.visible=!0;let a=document.getElementById(lu);if(!a)return;let l=()=>{s.hidden=!r.showHeader,o.hidden=!r.showCta,y(wbe(r),a)};i||(r.subscribe(et,l),i=!0),l(),r.state==="ready"&&await r.fetch()})}A();function mB(e){return new Promise((t,n)=>{let s=T.createElement("img");s.classList.add("visually-hidden"),s.setAttribute("aria-hidden","true"),s.src=e,s.onload=()=>{s.remove(),t(null)},s.onerror=()=>{s.remove(),n()},T.body.appendChild(s)})}function KT(e){let t=T.createElement("link");t.rel="preload",t.as="image",t.href=e,T.head.appendChild(t)}function Abe(e,t,n,s=500){let o=0,r=(...i)=>{t(o),o=e.apply(null,[n.bind(null,...i),s])};return r.cancel=()=>t(o),r}var Z_={timeout:Abe.bind(null,setTimeout,clearTimeout),animationFrame:Abe.bind(null,O.requestAnimationFrame,O.cancelAnimationFrame)};function Ibe(){Hje()}var gB=!1;function fB(e,t,n=()=>{}){window.addEventListener("click",s=>{s.target instanceof HTMLElement&&s.target.closest(e)&&n(()=>t.show())})}function hB(e,t=()=>{},n=!1){window.addEventListener("click",s=>{let o=s.target instanceof HTMLElement&&s.target.closest(e);!o||!document.querySelector(".layout-body-flyout")||t(()=>{cu(o,n)})})}async function Pbe(e,t,n,s=()=>{}){window.addEventListener("click",r=>{let i=r.target instanceof HTMLElement&&r.target.closest(e);i&&(r.preventDefault(),s(()=>{Ao.matches?n(i,!0):t()}))}),await Te;let o=document.querySelector(e);o&&(o.hidden=!1)}function cu(e,t=!1){let n=document.querySelector(".layout-body-flyout");if(!n)return;gB=!gB;let s=document.documentElement.classList.contains("layout-flyout-active")?"remove":"add";if(s==="remove"?window.dispatchEvent(new CustomEvent("flyout-hide")):window.dispatchEvent(new CustomEvent("flyout-show")),!t||s==="add"){document.documentElement.classList[s]("layout-flyout-active"),e.classList[s]("is-selected");let o=s==="add"?"true":"false";e.setAttribute("aria-expanded",o),It()}if(t||s==="add"){e.dataset.flyoutReturnFocus="true";let o=n.querySelector('button[data-flyout-button="close"]');o&&o.focus()}}function Hje(){window.addEventListener("click",e=>{let t=e.target instanceof HTMLElement&&e.target.closest('[data-flyout-button="close"]');if(!t||t.closest(".modal")||!document.querySelector(".layout-body-flyout"))return;let r=document.querySelector('[data-flyout-return-focus="true"]')||document.querySelector('[data-flyout-button="toggle"]');r&&(r.focus(),r.removeAttribute("data-flyout-return-focus"),r.hasAttribute("aria-expanded")&&r.setAttribute("aria-expanded","false"),r.classList.remove("is-selected")),gB=!1,document.documentElement.classList.remove("layout-flyout-active"),window.dispatchEvent(new CustomEvent("flyout-hide")),It()})}function Lbe(e,t){if(localStorage.getItem("playwrightActive"))return;let n=document.querySelector(t);if(!n)return;let s=Ao.matches,o=()=>!!document.querySelector('[data-chat-container-name="ask-learn-modal"]'),r=()=>document.documentElement.classList.contains("layout-flyout-active"),i=()=>{document.documentElement.classList.remove("layout-flyout-active"),n.classList.remove("is-selected")},a=()=>{let l=Ao.matches;!s&&l&&o()?(e.hide(),cu(n,!0)):s&&!l&&r()&&(e.show(),i()),s=l};window.addEventListener("resize",()=>{window.requestAnimationFrame(a)}),a()}var bB="[data-ask-learn-modal-entry]",WT="[data-ask-learn-flyout-entry]",yR="[data-ask-learn-modal-entry-feedback]",xR="[data-ask-learn-flyout-entry-show-only]",Rbe="[data-skip-to-ask-learn]",Mbe=[bB,WT];function Dbe(){$be(),lt.subscribe(bn,$be)}async function $be(){await Te,Array.from(document.querySelectorAll(Mbe.join(","))).forEach(n=>n.hidden=!1),Array.from(document.querySelectorAll("[data-chat-tutor-modal-entry]")).forEach(n=>n.hidden=!0)}A();A();function zbe(e){let{text:t,biName:n,biTn:s,alignment:o,action:r}=e;return d` `}function Bje(e,t){let n=[];for(let o=0;o`)}let s=Ore.replace("{step-index}",e.toString()).replace("{step-count}",t.toString());return d`

    ${s}

    `}function Vje(e){return d` `}function _B(e,t,n){let s=Vje(e.imageSrc);return d` `}function kR(e,t,n){e0&&Nbe(e-1,t,n)}var Gje='[data-focus-on-button-click="true"]';function Nbe(e,t,n){let s=document.createElement("div"),o=_B(t[e],e,t.length);y(o,s),n.pushContent(s);let r=s.querySelector(Gje);r&&r.focus()}function SR(e){e.hide()}function vB(e,t){e.hide(),localStorage.setItem(t,"2")}function wR(e,t,n,s,o,r,i,a,l,c,u){return{fetch:e,maxMessages:t,getContextIdType:n,getContextId:s,validate:o,errorMapping:r,starterPrompts:i,suggestionPills:a,companionActive:l,onFeedback:c,onTimeTelemetry:u}}var X_="/en-us/media/ask-learn/meet-ask-learn-base.png",ZT="/en-us/media/ask-learn/check-for-accuracy-base.png",ER="ask-learn-history",Rg="ask-learn-history-last-interaction-time",Mg="ask-learn-open-status";function Qje(e){return/[\u{10000}-\u{10FFFF}]/u.test(e)}function Yje(e){return Qje(e)?"non_unicode_characters":null}var JT={"validation-failure":vE,"session-not-found":io,"interaction-not-found":io,open_ai_content_filter:iz,copilot_content_filter:iz,knowledge_index_no_results:Ry,copilot_invalid_urls:Ry,open_ai_empty_message:Ry,failed_to_parse_open_ai_message:Ry,non_unicode_characters:OQ,open_ai_too_many_requests:_E},Kje=[{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: "}],Wje=[{name:"summarize",description:"Summarize this page",prompt:"Summarize this page"},{name:"troubleshoot",description:"Help me troubleshoot",prompt:"/troubleshoot"}],Fbe={like:{[bQ]:"01-ai-positive-accurate-relevant",[_Q]:"02-ai-positive-complete-clear",[vQ]:"03-ai-positive-fast",[rz]:"00-ai-positive-other"},dislike:{[yQ]:"01-ai-negative-inaccurate-irrelevant",[xQ]:"02-ai-negative-incomplete-unclear",[TQ]:"03-ai-negative-slow",[kQ]:"04-ai-negative-offensive-inappropriate",[rz]:"00-ai-negative-other"}},Jje=120*1e3;async function Zje(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),{},Jje);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 JT?JT[o.errorCode]:io,interactionId:o.additionalData?.interactionId,isError:!0}}catch{return{message:io,isError:!0}}let s=await n.json();return"errorCode"in s?{message:s.errorCode&&s.errorCode in JT?JT[s.errorCode]:io,interactionId:s?.additionalData?.interactionId,isError:!0}:{sessionId:s.sessionId,interactionId:s.interactionId,message:s.message,responseCount:s.assistantMessageCount,citations:s.citations}}catch{return{message:io,isError:!0}}}var Xje=10;function jbe(){if(new URLSearchParams(window.location.search).has("excludeContext"))return{uid:void 0,contextIdType:void 0};if(b.data.pageTemplate==="ModuleUnit"){let s=P("uid");if(s)return{uid:Ut?s.replace("learn-test","learn"):s,contextIdType:"unitUid"}}let n=P("platform_id");return n?{uid:n,contextIdType:"platformId"}:{uid:void 0,contextIdType:void 0}}async function e2e(){return wR(Zje,Xje,()=>jbe().contextIdType||"",()=>jbe().uid||"",Yje,JT,Kje,Wje)}var Ube=e2e();var $g="ask-learn-assistant",ti="learn-companion-fre";function ev(e=$g){let t=X.getItem(e);return t?Number(t):0}function t2e(e,t){let n=[{title:lz,imageSrc:X_,descriptions:[Ly],buttonLeft:{text:az,biName:"01-not-now",biTn:$g,alignment:"left",action:()=>{SR(e),t?.()}},buttonRight:{text:Qo,biName:"01-next",biTn:$g,alignment:"right",action:()=>kR(0,n,e)}},{title:cz,imageSrc:ZT,descriptions:[uz,dz],buttonLeft:{text:xi,biName:"02-previous",biTn:$g,alignment:"left",action:()=>TR(1,n,e)},buttonRight:{text:pz,biName:"try-cta",biTn:$g,alignment:"right",action:()=>{vB(e,$g),t?.()}}}];return n}function n2e(e,t){let n=[{title:lz,imageSrc:X_,descriptions:[Ly],buttonLeft:{text:az,biName:"01-not-now",biTn:ti,alignment:"left",action:()=>{SR(e),t?.()}},buttonRight:{text:Qo,biName:"01-next",biTn:ti,alignment:"right",action:()=>kR(0,n,e)}},{title:cz,imageSrc:ZT,descriptions:[uz,dz],buttonLeft:{text:xi,biName:"02-previous",biTn:ti,alignment:"left",action:()=>TR(1,n,e)},buttonRight:{text:Qo,biName:"02-next",biTn:ti,alignment:"right",action:()=>kR(1,n,e)}},{title:wQ,imageSrc:X_,descriptions:[hE],acknowledgementCheckbox:{label:EQ},buttonLeft:{text:xi,biName:"03-previous",biTn:ti,alignment:"left",action:()=>TR(2,n,e)},buttonRight:{text:pz,biName:"03-try-ask-learn",biTn:ti,alignment:"right",action:()=>{document.querySelector(".fre-acknowledgement-checkbox")?.checked?(vB(e,ti),t?.()):(ht(CQ,"assertive"),SR(e),t?.())}}}];return n}function Obe(e,t,n,s=!1,o=!1){let r=ev(e);if(r>=2||!o&&document.documentElement.classList.contains("layout-flyout-active")){n?.();return}else s||(r++,X.setItem(e,r.toString()));let i=document.createElement("div");document.body.appendChild(i);let a=new ve(i,""),l=t(a,n),c=_B(l[0],0,l.length);y(c,i),a.show()}function qbe(e){Obe($g,t2e,e)}function CR(e,t=!1){Obe(ti,n2e,e,!0,t)}var IR="learn-companion-history",Dg="learn-companion-history-last-interaction-time",uu="learn-companion-open-status",AR="learn-companion-fre-synced",s2e=30*1e3,o2e=10,ip=class extends Error{constructor(n,s){super(s);this.status=n}};async function PR(e,t,n,s){try{let o=await M(J(e,t,!0),{},n,s);if(o.status===401)throw me(o),new ip(401,$f);if(o.status===429)throw new ip(429,_E);if(!o.ok)throw new ip(o.status,io);return o}catch(o){throw o instanceof ip?o:new ip(0,io)}}function Hbe(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 s=n;try{let o=JSON.parse(n);s=o.d==="_"?"":o.d??""}catch{}return{event:t,data:s}}async function r2e(e,t){try{let n=await PR($.agentService.stream,{method:"POST",body:JSON.stringify(e)},s2e,t);if(!n.body)return{message:io,isError:!0};let s=n.body.getReader(),o=new TextDecoder,r="",i="",a=e.conversationId??null;for(;;){let{done:l,value:c}=await s.read();if(l)break;r+=o.decode(c,{stream:!0});let u=r.split(` `);r=u.pop()||"";for(let p of u){if(!p.trim())continue;let m=Hbe(p);if(m)switch(m.event){case"StreamStart":m.data&&m.data!=="_"&&(a=m.data);break;case"AgentResponse":i+=m.data;break;case"StreamEnd":return{sessionId:a??void 0,message:i};case"Error":return{message:m.data||io,isError:!0}}}}if(r.trim()){let l=Hbe(r);if(l?.event==="Error")return{message:l.data||io,isError:!0}}return{sessionId:a??void 0,message:i}}catch(n){return{message:n instanceof ip?n.message:io,isError:!0}}}async function kB(e){let t=new URL($.agentService.conversations);t.searchParams.set("take",String(o2e)),e&&t.searchParams.set("continuationToken",e);let s=await(await PR(t.toString())).json();return{conversations:Array.isArray(s.conversations)?s.conversations:[],continuationToken:s.continuationToken??null,haAlpha XR:s.haAlpha XR===!0,totalConversations:typeof s.totalConversations=="number"?s.totalConversations:0}}async function Bbe(e){let t=`${$.agentService.conversations}/${encodeURIComponent(e)}`;await PR(t,{method:"DELETE"})}async function Vbe(e,t){let n=`${$.agentService.conversations}/${encodeURIComponent(e)}`;await PR(n,{method:"PATCH",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify({summary:t})})}function i2e(){return document.head.querySelector('link[rel="canonical"]')?.href??window.location.href}var yB="Summarize this page",a2e=[{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: "}];async function l2e(){return wR(e=>{let t=e.message.trim().toLowerCase()===yB.toLowerCase()?`${e.message.trim()}: ${i2e()}`:e.message;return r2e({query:t,conversationId:e.sessionId})},1/0,()=>"",()=>"",void 0,void 0,a2e,[{name:"summarize",description:yB,prompt:yB}],!0,c2e,u2e)}function c2e({sessionId:e,feedbackData:t,consentProvided:n,authType:s}){ye({behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:"learn-companion-feedback",timestamp:new Date().toISOString(),sessionId:e,feedbackData:t,authType:s,isUserConsent:n}})}function u2e({triggeredTime:e,returnedTime:t,sessionId:n,interactionId:s}){ye({behavior:le.OTHER,actionType:we.OTHER,content:{autoIngest:!0,type:"learn-companion-request",an:"learn-companion-chat",name:"learn-companion-chat-request",triggeredTimestamp:e,returnedTimestamp:t,sessionId:n,interactionId:s}})}var Gbe=l2e();function LR(){return ev(ti)>=2||w.companionPreferences?.chatHistoryEnabled===!0}var d2e=3e4,xB;function p2e(){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 RR(){if(!(!w.isAuthenticated||!w.userName))try{if(w.companionPreferences===void 0){let n=Xn();if(!n)return;let s=await tm(n);if(!s)return;w.readUserProfile(s)}let e=w.companionPreferences?.chatHistoryEnabled;if(e===!0){X.setItem(AR,"1");return}if(e===!1&&X.getItem(AR)){X.removeItem(ti),X.removeItem(AR);return}(await Sh(w.userName,p2e())).hasError?xB??(xB=setInterval(RR,d2e)):(X.setItem(AR,"1"),clearInterval(xB),xB=void 0)}catch{}}A();A();function Vi(){return d`
    ${aQ}
    `}A();function XT(e,t){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector(`[data-conversation-id="${CSS.escape(t)}"] [data-chat-history-row-overflow]`)?.focus()})}function m2e(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 Qbe(e){requestAnimationFrame(()=>{let t=e.getActiveContainer()?.querySelector("[data-chat-history-rename-input]");t?.focus(),t?.select()})}function Ybe(e){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector("[data-chat-history-confirm-delete-yes]")?.focus()})}function Kbe(e,t){if(e.pendingDeleteId){let n=e.conversations.find(s=>s.conversationId===e.pendingDeleteId);return g2e(e,t,n)}return d`

    ${Mf}

    ${e.isLoading?d`
    ${Gt}
    `:e.error&&!e.pendingRenameId?d`
    `:e.conversations.length===0?d`
    ${gQ}
    `:d`
      ${hn(e.conversations,n=>n.conversationId,n=>f2e(n,e,t))}
    `}
    `}function g2e(e,t,n){return d`

    ${sz}

    ${Xa}

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

    ${e.error?d``:""}
    `}function f2e(e,t,n){let s=t.pendingRenameId===e.conversationId;return d`
  • ${s?h2e(e,t,n):d`
    `}
  • `}function h2e(e,t,n){let s=async()=>{let o=t.pendingRenameDraft.trim();if(!o||o===e.summary){t.cancelRename(),XT(n,e.conversationId);return}await t.rename(e.conversationId,o)?XT(n,e.conversationId):Qbe(n)};return d`
    {o.preventDefault(),s()}} @keydown=${o=>{o.key==="Escape"&&(o.preventDefault(),t.cancelRename(),XT(n,e.conversationId))}} > {t.updateRenameDraft(o.currentTarget.value)}} aria-label="${fQ}" aria-invalid=${t.error?"true":"false"} aria-describedby=${t.error?`chat-history-rename-error-${e.conversationId}`:""} /> ${t.error?d``:""}
    `}A();A();function b2e(e,t,n){let s=c0(n);if(!s)return"";let o=Be(String(t??"")),r=Be(s);return`
    ${e}
    ${e}. ${o}
    `}function Wbe(e){return e?Object.entries(e).map(([t,n])=>{let s=parseInt(t),{title:o,url:r}=n;return b2e(s,o,r)}):[]}function TB(e,t){if(!e||!t.length)return;let n=s=>{if(!s.open)return;let o=s.querySelector(".popover-content"),r=s.querySelector(".tag-summary");if(!o||!r)return;s.classList.add("popover-left"),o.offsetHeight;let i=e.getBoundingClientRect(),a=r.getBoundingClientRect(),l=o.getBoundingClientRect();a.left+a.width/2-l.width/2>=i.left&&(s.classList.remove("popover-left"),o.offsetHeight)};t.forEach(s=>{s.querySelectorAll("details.popover.tag-popover").forEach(r=>{r.addEventListener("toggle",i=>{let a=i.target;a.open&&n(a)})})})}A();function _2e(e,t,n,s,o,r){let i=`${e}-${t}-msg${o}`,a=`${e}-${t}-msg${o}-choice${r}`;return d` `}function v2e(e,t,n){return Object.entries(Fbe[n]).map(([r,i],a)=>_2e(t,n,r,i,e.index,a))}function y2e(e){return t=>{if(!t)return;let n=t.currentTarget;if(!n)return;let s=n.getAttribute("aria-expanded")==="true";n.setAttribute("aria-expanded",(!s).toString());let o=n.getAttribute("aria-controls");if(!o)return;e.previewPayload(t);let r=`${o}-disclaimer`,i=document.getElementById(r);if(!i)return;let a=As(Jbe(!s),d``);y(a,i),n.textContent=s?Du:sx}}async function Jbe(e){return await _e,w&&w.authenticationMode==="AAD"?j(e?VE:Hy):j(BE)}function x2e(e,t,n,s,o=Jbe(!1)){let r=Ba(s,"disclaimer-see-more","link-button font-weight-semibold font-size-sm margin-top-xxs",y2e(e),Du,!0,!1,`ask-learn-show-more-${e.index}-${n}`),i=`${t}-feedback-payload-${e.index}-${n}`;return d`
    ${As(o,d``)}
    ${k2e(e,i)}
    ${r}
    `}function k2e(e,t){return d` `}function T2e(e,t,n){let s=`${t}-feedback-textarea-${e.index}-${n}`,o=`${t}-see-more-${e.index}-${n}`;return d`
    e.handleSubmit(e,r)}>
    ${jQ}
    ${v2e(e,t,n)}

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

    `}function Zbe(e,t){let n;return e.state==="none"?"":(e.state==="submitted"||e.state==="cancelled"?n=d` ${Vi()}
    ${SQ}
    `:(e.state==="like"||e.state==="dislike")&&(n=T2e(e,t,e.state)),d`
    ${n}
    `)}var ZR={};$n(ZR,{default:()=>JR});var RB={};$n(RB,{arrayReplaceAt:()=>LB,assign:()=>sv,escapeHtml:()=>pu,escapeRE:()=>iFe,fromCodePoint:()=>nS,has:()=>K2e,isMdAsciiPunct:()=>jg,isPunctChar:()=>Ng,isSpace:()=>Lt,isString:()=>BR,isValidEntityCode:()=>VR,isWhiteSpace:()=>zg,lib:()=>aFe,normalizeReference:()=>Fg,unescapeAll:()=>du,unescapeMd:()=>eFe});var NR={};$n(NR,{decode:()=>eS,encode:()=>DR,format:()=>tv,parse:()=>tS});var Xbe={};function S2e(e){let t=Xbe[e];if(t)return t;t=Xbe[e]=[];for(let n=0;n<128;n++){let s=String.fromCharCode(n);t.push(s)}for(let n=0;n=55296&&u<=57343?o+="\uFFFD\uFFFD\uFFFD":o+=String.fromCharCode(u),r+=6;continue}}if((a&248)===240&&r+91114111?o+="\uFFFD\uFFFD\uFFFD\uFFFD":(p-=65536,o+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),r+=9;continue}}o+="\uFFFD"}return o})}MR.defaultChars=";/?:@&=+$,#";MR.componentChars="";var eS=MR;var e_e={};function w2e(e){let t=e_e[e];if(t)return t;t=e_e[e]=[];for(let n=0;n<128;n++){let s=String.fromCharCode(n);/^[0-9a-z]$/i.test(s)?t.push(s):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n"u"&&(n=!0);let s=w2e(t),o="";for(let r=0,i=e.length;r=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1=56320&&l<=57343){o+=encodeURIComponent(e[r]+e[r+1]),r++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(e[r])}return o}$R.defaultChars=";/?:@&=+$,-_.!~*'()#";$R.componentChars="-_.!~*'()";var DR=$R;function tv(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 zR(){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 E2e=/^([a-z0-9.+-]+:)/i,C2e=/:[0-9]*$/,A2e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,I2e=["<",">",'"',"`"," ","\r",` `," "],P2e=["{","}","|","\\","^","`"].concat(I2e),L2e=["'"].concat(P2e),t_e=["%","/","?",";","#"].concat(L2e),n_e=["/","?","#"],R2e=255,s_e=/^[+a-z0-9A-Z_-]{0,63}$/,M2e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,o_e={javascript:!0,"javascript:":!0},r_e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function $2e(e,t){if(e&&e instanceof zR)return e;let n=new zR;return n.parse(e,t),n}zR.prototype.parse=function(e,t){let n,s,o,r=e;if(r=r.trim(),!t&&e.split("#").length===1){let c=A2e.exec(r);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let i=E2e.exec(r);if(i&&(i=i[0],n=i.toLowerCase(),this.protocol=i,r=r.substr(i.length)),(t||i||r.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=r.substr(0,2)==="//",o&&!(i&&o_e[i])&&(r=r.substr(2),this.slashes=!0)),!o_e[i]&&(o||i&&!r_e[i])){let c=-1;for(let f=0;f127?v+="x":v+=x[k];if(!v.match(s_e)){let k=f.slice(0,_),I=f.slice(_+1),E=x.match(M2e);E&&(k.push(E[1]),I.unshift(E[2])),I.length&&(r=I.join(".")+r),this.hostname=k.join(".");break}}}}this.hostname.length>R2e&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let a=r.indexOf("#");a!==-1&&(this.hash=r.substr(a),r=r.slice(0,a));let l=r.indexOf("?");return l!==-1&&(this.search=r.substr(l),r=r.slice(0,l)),r&&(this.pathname=r),r_e[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};zR.prototype.parseHost=function(e){let t=C2e.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 tS=$2e;var SB={};$n(SB,{Any:()=>jR,Cc:()=>FR,Cf:()=>i_e,P:()=>nv,S:()=>UR,Z:()=>OR});var jR=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var FR=/[\0-\x1F\x7F-\x9F]/;var i_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 nv=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 UR=/[\$\+<->\^`\|~\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 OR=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var a_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 l_e=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var wB,D2e=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]]),EB=(wB=String.fromCodePoint)!==null&&wB!==void 0?wB: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 CB(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=D2e.get(e))!==null&&t!==void 0?t:e}var Os;(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"})(Os||(Os={}));var z2e=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 AB(e){return e>=Os.ZERO&&e<=Os.NINE}function N2e(e){return e>=Os.UPPER_A&&e<=Os.UPPER_F||e>=Os.LOWER_A&&e<=Os.LOWER_F}function j2e(e){return e>=Os.UPPER_A&&e<=Os.UPPER_Z||e>=Os.LOWER_A&&e<=Os.LOWER_Z||AB(e)}function F2e(e){return e===Os.EQUALS||j2e(e)}var Us;(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"})(Us||(Us={}));var Bl;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Bl||(Bl={}));var qR=class{constructor(t,n,s){this.decodeTree=t,this.emitCodePoint=n,this.errors=s,this.state=Us.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Bl.Strict}startEntity(t){this.decodeMode=t,this.state=Us.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Us.EntityStart:return t.charCodeAt(n)===Os.NUM?(this.state=Us.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Us.NamedEntity,this.stateNamedEntity(t,n));case Us.NumericStart:return this.stateNumericStart(t,n);case Us.NumericDecimal:return this.stateNumericDecimal(t,n);case Us.NumericHex:return this.stateNumericHex(t,n);case Us.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|z2e)===Os.LOWER_X?(this.state=Us.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Us.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,s,o){if(n!==s){let r=s-n;this.result=this.result*Math.pow(o,r)+parseInt(t.substr(n,r),o),this.consumed+=r}}stateNumericHex(t,n){let s=n;for(;n>14;for(;n>14,r!==0){if(i===Os.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==Bl.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:n,decodeTree:s}=this,o=(s[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,s){let{decodeTree:o}=this;return this.emitCodePoint(n===1?o[t]&~ap.VALUE_LENGTH:o[t+1],s),n===3&&this.emitCodePoint(o[t+2],s),s}end(){var t;switch(this.state){case Us.NamedEntity:return this.result!==0&&(this.decodeMode!==Bl.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Us.NumericDecimal:return this.emitNumericEntity(0,2);case Us.NumericHex:return this.emitNumericEntity(0,3);case Us.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Us.EntityStart:return 0}}};function c_e(e){let t="",n=new qR(e,s=>t+=EB(s));return function(o,r){let i=0,a=0;for(;(a=o.indexOf("&",a))>=0;){t+=o.slice(i,a),n.startEntity(r);let c=n.write(o,a+1);if(c<0){i=a+n.end();break}i=a+c,a=c===0?i+1:i}let l=t+o.slice(i);return t="",l}}function U2e(e,t,n,s){let o=(t&ap.BRANCH_LENGTH)>>7,r=t&ap.JUMP_TABLE;if(o===0)return r!==0&&s===r?n:-1;if(r){let l=s-r;return l<0||l>=o?-1:e[n+l]-1}let i=n,a=i+o-1;for(;i<=a;){let l=i+a>>>1,c=e[l];if(cs)a=l-1;else return e[l+o]}return-1}var O2e=c_e(a_e),ALt=c_e(l_e);function lp(e,t=Bl.Legacy){return O2e(e,t)}function HR(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 IB(e,t){return function(s){let o,r=0,i="";for(;o=e.exec(s);)r!==o.index&&(i+=s.substring(r,o.index)),i+=t.get(o[0].charCodeAt(0)),r=o.index+1;return i+s.substring(r)}}var u_e=IB(/[&<>'"]/g,H2e),d_e=IB(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),p_e=IB(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var m_e;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(m_e||(m_e={}));var g_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"})(g_e||(g_e={}));function Q2e(e){return Object.prototype.toString.call(e)}function BR(e){return Q2e(e)==="[object String]"}var Y2e=Object.prototype.hasOwnProperty;function K2e(e,t){return Y2e.call(e,t)}function sv(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(s){e[s]=n[s]})}}),e}function LB(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function VR(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function nS(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var b_e=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,W2e=/&([a-z#][a-z0-9]{1,31});/gi,J2e=new RegExp(b_e.source+"|"+W2e.source,"gi"),Z2e=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function X2e(e,t){if(t.charCodeAt(0)===35&&Z2e.test(t)){let s=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return VR(s)?nS(s):e}let n=lp(e);return n!==e?n:e}function eFe(e){return e.indexOf("\\")<0?e:e.replace(b_e,"$1")}function du(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(J2e,function(t,n,s){return n||X2e(t,s)})}var tFe=/[&<>"]/,nFe=/[&<>"]/g,sFe={"&":"&","<":"<",">":">",'"':"""};function oFe(e){return sFe[e]}function pu(e){return tFe.test(e)?e.replace(nFe,oFe):e}var rFe=/[.?*+^$[\]\\(){}|-]/g;function iFe(e){return e.replace(rFe,"\\$&")}function Lt(e){switch(e){case 9:case 32:return!0}return!1}function zg(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 Ng(e){return nv.test(e)||UR.test(e)}function jg(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 Fg(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}var aFe={mdurl:NR,ucmicro:SB};var zB={};$n(zB,{parseLinkDestination:()=>$B,parseLinkLabel:()=>MB,parseLinkTitle:()=>DB});function MB(e,t,n){let s,o,r,i,a=e.posMax,l=e.pos;for(e.pos=t+1,s=1;e.pos32))return r;if(s===41){if(i===0)break;i--}o++}return t===o||i!==0||(r.str=du(e.slice(t,o)),r.pos=o,r.ok=!0),r}function DB(e,t,n,s){let o,r=t,i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(s)i.str=s.str,i.marker=s.marker;else{if(r>=n)return i;let a=e.charCodeAt(r);if(a!==34&&a!==39&&a!==40)return i;t++,r++,a===40&&(a=41),i.marker=a}for(;r"+pu(r.content)+""};Vl.code_block=function(e,t,n,s,o){let r=e[t];return""+pu(e[t].content)+` `};Vl.fence=function(e,t,n,s,o){let r=e[t],i=r.info?du(r.info).trim():"",a="",l="";if(i){let u=i.split(/(\s+)/g);a=u[0],l=u.slice(2).join("")}let c;if(n.highlight?c=n.highlight(r.content,a,l)||pu(r.content):c=pu(r.content),c.indexOf("${c} `}return`
    ${c}
    `};Vl.image=function(e,t,n,s,o){let r=e[t];return r.attrs[r.attrIndex("alt")][1]=o.renderInlineAsText(r.children,n,s),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 pu(e[t].content)};Vl.html_block=function(e,t){return e[t].content};Vl.html_inline=function(e,t){return e[t].content};function ov(){this.rules=sv({},Vl)}ov.prototype.renderAttrs=function(t){let n,s,o;if(!t.attrs)return"";for(o="",n=0,s=t.attrs.length;n `:">",r};ov.prototype.renderInline=function(e,t,n){let s="",o=this.rules;for(let r=0,i=e.length;r=0&&(s=this.attrs[n][1]),s};rv.prototype.attrJoin=function(t,n){let s=this.attrIndex(t);s<0?this.attrPush([t,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};var mu=rv;function v_e(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}v_e.prototype.Token=mu;var y_e=v_e;var lFe=/\r\n?|\n/g,cFe=/\0/g;function NB(e){let t;t=e.src.replace(lFe,` `),t=t.replace(cFe,"\uFFFD"),e.src=t}function jB(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 FB(e){let t=e.tokens;for(let n=0,s=t.length;n\s]/i.test(e)}function dFe(e){return/^<\/a\s*>/i.test(e)}function UB(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,s=t.length;n=0;i--){let a=o[i];if(a.type==="link_close"){for(i--;o[i].level!==a.level&&o[i].type!=="link_open";)i--;continue}if(a.type==="html_inline"&&(uFe(a.content)&&r>0&&r--,dFe(a.content)&&r++),!(r>0)&&a.type==="text"&&e.md.linkify.test(a.content)){let l=a.content,c=e.md.linkify.match(l),u=[],p=a.level,m=0;c.length>0&&c[0].index===0&&i>0&&o[i-1].type==="text_special"&&(c=c.slice(1));for(let g=0;gm){let E=new e.Token("text","",0);E.content=l.slice(m,x),E.level=p,u.push(E)}let v=new e.Token("link_open","a",1);v.attrs=[["href",_]],v.level=p++,v.markup="linkify",v.info="auto",u.push(v);let k=new e.Token("text","",0);k.content=h,k.level=p,u.push(k);let I=new e.Token("link_close","a",-1);I.level=--p,I.markup="linkify",I.info="auto",u.push(I),m=c[g].lastIndex}if(m=0;n--){let s=e[n];s.type==="text"&&!t&&(s.content=s.content.replace(mFe,fFe)),s.type==="link_open"&&s.info==="auto"&&t--,s.type==="link_close"&&s.info==="auto"&&t++}}function bFe(e){let t=0;for(let n=e.length-1;n>=0;n--){let s=e[n];s.type==="text"&&!t&&x_e.test(s.content)&&(s.content=s.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")),s.type==="link_open"&&s.info==="auto"&&t--,s.type==="link_close"&&s.info==="auto"&&t++}}function OB(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(pFe.test(e.tokens[t].content)&&hFe(e.tokens[t].children),x_e.test(e.tokens[t].content)&&bFe(e.tokens[t].children))}var _Fe=/['"]/,k_e=/['"]/g,T_e="\u2019";function GR(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function vFe(e,t){let n,s=[];for(let o=0;o=0&&!(s[n].level<=i);n--);if(s.length=n+1,r.type!=="text")continue;let a=r.content,l=0,c=a.length;e:for(;l=0)f=a.charCodeAt(u.index-1);else for(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=x),!p&&!m){g&&(r.content=GR(r.content,u.index,T_e));continue}if(m)for(n=s.length-1;n>=0;n--){let I=s[n];if(s[n].level=0;t--)e.tokens[t].type!=="inline"||!_Fe.test(e.tokens[t].content)||vFe(e.tokens[t].children,e)}function HB(e){let t,n,s=e.tokens,o=s.length;for(let r=0;r0&&this.level++,this.tokens.push(s),s};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 s=this.src.length;ts;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Gl.prototype.getLines=function(t,n,s,o){if(t>=n)return"";let r=new Array(n-t);for(let i=0,a=t;as?r[i]=new Array(l-s+1).join(" ")+this.src.slice(u,p):r[i]=this.src.slice(u,p)}return r.join("")};Gl.prototype.Token=mu;var w_e=Gl;var yFe=65536;function GB(e,t){let n=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];return e.src.slice(n,s)}function E_e(e){let t=[],n=e.length,s=0,o=e.charCodeAt(s),r=!1,i=0,a="";for(;sn)return!1;let o=t+1;if(e.sCount[o]=4)return!1;let r=e.bMarks[o]+e.tShift[o];if(r>=e.eMarks[o])return!1;let i=e.src.charCodeAt(r++);if(i!==124&&i!==45&&i!==58||r>=e.eMarks[o])return!1;let a=e.src.charCodeAt(r++);if(a!==124&&a!==45&&a!==58&&!Lt(a)||i===45&&Lt(a))return!1;for(;r=4)return!1;c=E_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(s)return!0;let m=e.parentType;e.parentType="table";let g=e.md.block.ruler.getRules("blockquote"),f=e.push("table_open","table",1),_=[t,0];f.map=_;let h=e.push("thead_open","thead",1);h.map=[t,t+1];let x=e.push("tr_open","tr",1);x.map=[t,t+1];for(let I=0;I=4||(c=E_e(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),k+=p-c.length,k>yFe))break;if(o===t+2){let H=e.push("tbody_open","tbody",1);H.map=v=[t+2,0]}let E=e.push("tr_open","tr",1);E.map=[o,o+1];for(let H=0;H=4){s++,o=s;continue}break}e.line=o;let r=e.push("code_block","code",0);return r.content=e.getLines(t,o,4+e.blkIndent,!1)+` `,r.map=[t,e.line],!0}function KB(e,t,n,s){let o=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||o+3>r)return!1;let i=e.src.charCodeAt(o);if(i!==126&&i!==96)return!1;let a=o;o=e.skipChars(o,i);let l=o-a;if(l<3)return!1;let c=e.src.slice(a,o),u=e.src.slice(o,r);if(i===96&&u.indexOf(String.fromCharCode(i))>=0)return!1;if(s)return!0;let p=t,m=!1;for(;p++,!(p>=n||(o=a=e.bMarks[p]+e.tShift[p],r=e.eMarks[p],o=4)&&(o=e.skipChars(o,i),!(o-a=4||e.src.charCodeAt(o)!==62)return!1;if(s)return!0;let a=[],l=[],c=[],u=[],p=e.md.block.ruler.getRules("blockquote"),m=e.parentType;e.parentType="blockquote";let g=!1,f;for(f=t;f=r)break;if(e.src.charCodeAt(o++)===62&&!k){let E=e.sCount[f]+1,H,F;e.src.charCodeAt(o)===32?(o++,E++,F=!1,H=!0):e.src.charCodeAt(o)===9?(H=!0,(e.bsCount[f]+E)%4===3?(o++,E++,F=!1):F=!0):H=!1;let pe=E;for(a.push(e.bMarks[f]),e.bMarks[f]=o;o=r,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(H?1:0),c.push(e.sCount[f]),e.sCount[f]=pe-E,u.push(e.tShift[f]),e.tShift[f]=o-e.bMarks[f];continue}if(g)break;let I=!1;for(let E=0,H=p.length;E";let x=[t,0];h.map=x,e.md.block.tokenize(e,t,f);let v=e.push("blockquote_close","blockquote",-1);v.markup=">",e.lineMax=i,e.parentType=m,x[1]=e.line;for(let k=0;k=4)return!1;let r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);if(i!==42&&i!==45&&i!==95)return!1;let a=1;for(;r=s)return-1;let r=e.src.charCodeAt(o++);if(r<48||r>57)return-1;for(;;){if(o>=s)return-1;if(r=e.src.charCodeAt(o++),r>=48&&r<=57){if(o-n>=10)return-1;continue}if(r===41||r===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=A_e(e,l))>=0){if(p=!0,i=e.bMarks[l]+e.tShift[l],m=Number(e.src.slice(i,g-1)),u&&m!==1)return!1}else if((g=C_e(e,l))>=0)p=!1;else return!1;if(u&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(s)return!0;let f=e.src.charCodeAt(g-1),_=e.tokens.length;p?(a=e.push("ordered_list_open","ol",1),m!==1&&(a.attrs=[["start",m]])):a=e.push("bullet_list_open","ul",1);let h=[l,0];a.map=h,a.markup=String.fromCharCode(f);let x=!1,v=e.md.block.ruler.getRules("list"),k=e.parentType;for(e.parentType="list";l=o?F=1:F=E-I,F>4&&(F=1);let pe=I+F;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(f);let Ce=[l,0];a.map=Ce,p&&(a.info=e.src.slice(i,g-1));let ce=e.tight,bt=e.tShift[l],Rt=e.sCount[l],Bt=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=pe,e.tight=!0,e.tShift[l]=H-e.bMarks[l],e.sCount[l]=E,H>=o&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||x)&&(c=!1),x=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Bt,e.tShift[l]=bt,e.sCount[l]=Rt,e.tight=ce,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=e.line,Ce[1]=l,l>=n||e.sCount[l]=4)break;let fn=!1;for(let Vt=0,un=v.length;Vt=4||e.src.charCodeAt(o)!==91)return!1;function a(v){let k=e.lineMax;if(v>=k||e.isEmpty(v))return null;let I=!1;if(e.sCount[v]-e.blkIndent>3&&(I=!0),e.sCount[v]<0&&(I=!0),!I){let F=e.md.block.ruler.getRules("reference"),pe=e.parentType;e.parentType="reference";let Ce=!1;for(let ce=0,bt=F.length;ce"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:h,href:p}),e.line=i),!0):!1}var I_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 kFe="[a-zA-Z_:][a-zA-Z0-9:._-]*",TFe="[^\"'=<>`\\x00-\\x20]+",SFe="'[^']*'",wFe='"[^"]*"',EFe="(?:"+TFe+"|"+SFe+"|"+wFe+")",CFe="(?:\\s+"+kFe+"(?:\\s*=\\s*"+EFe+")?)",P_e="<[A-Za-z][A-Za-z0-9\\-]*"+CFe+"*\\s*\\/?>",L_e="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",AFe="",IFe="<[?][\\s\\S]*?[?]>",PFe="]*>",LFe="",R_e=new RegExp("^(?:"+P_e+"|"+L_e+"|"+AFe+"|"+IFe+"|"+PFe+"|"+LFe+")"),M_e=new RegExp("^(?:"+P_e+"|"+L_e+")");var iv=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(M_e.source+"\\s*$"),/^$/,!1]];function e3(e,t,n,s){let o=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(o)!==60)return!1;let i=e.src.slice(o,r),a=0;for(;a=4)return!1;let i=e.src.charCodeAt(o);if(i!==35||o>=r)return!1;let a=1;for(i=e.src.charCodeAt(++o);i===35&&o6||oo&&Lt(e.src.charCodeAt(l-1))&&(r=l),e.line=t+1;let c=e.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[t,e.line];let u=e.push("inline","",0);u.content=e.src.slice(o,r).trim(),u.map=[t,e.line],u.children=[];let p=e.push("heading_close","h"+String(a),-1);return p.markup="########".slice(0,a),!0}function n3(e,t,n){let s=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.parentType;e.parentType="paragraph";let r=0,i,a=t+1;for(;a3)continue;if(e.sCount[a]>=e.blkIndent){let g=e.bMarks[a]+e.tShift[a],f=e.eMarks[a];if(g=f))){r=i===61?1:2;break}}if(e.sCount[a]<0)continue;let m=!1;for(let g=0,f=s.length;g3||e.sCount[r]<0)continue;let c=!1;for(let u=0,p=s.length;u=n||e.sCount[i]=r){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),i=e.line,i0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};sS.prototype.scanDelims=function(e,t){let n=this.posMax,s=this.src.charCodeAt(e),o=e>0?this.src.charCodeAt(e-1):32,r=e;for(;r0)return!1;let n=e.pos,s=e.posMax;if(n+3>s||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let o=e.pending.match(MFe);if(!o)return!1;let r=o[1],i=e.md.linkify.matchAtStart(e.src.slice(n-r.length));if(!i)return!1;let a=i.url;if(a.length<=r.length)return!1;a=a.replace(/\*+$/,"");let l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-r.length);let c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";let u=e.push("text","",0);u.content=e.md.normalizeLinkText(a);let p=e.push("link_close","a",-1);p.markup="linkify",p.info="auto"}return e.pos+=a.length-r.length,!0}function i3(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let s=e.pending.length-1,o=e.posMax;if(!t)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){let r=s-1;for(;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n?@[]^_`{|}~-".split("").forEach(function(e){a3[e.charCodeAt(0)]=1});function l3(e,t){let n=e.pos,s=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=s))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&&(r+=e.src[n+1],n++)}let i="\\"+r;if(!t){let a=e.push("text_special","",0);o<256&&a3[o]!==0?a.content=r:a.content=i,a.markup=i,a.info="escape"}return e.pos=n+1,!0}function c3(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;let o=n;n++;let r=e.posMax;for(;n=0;s--){let o=t[s];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;let r=t[o.end],i=s>0&&t[s-1].end===o.end+1&&t[s-1].marker===o.marker&&t[s-1].token===o.token-1&&t[o.end+1].token===r.token+1,a=String.fromCharCode(o.marker),l=e.tokens[o.token];l.type=i?"strong_open":"em_open",l.tag=i?"strong":"em",l.nesting=1,l.markup=i?a+a:a,l.content="";let c=e.tokens[r.token];c.type=i?"strong_close":"em_close",c.tag=i?"strong":"em",c.nesting=-1,c.markup=i?a+a:a,c.content="",i&&(e.tokens[t[s-1].token].content="",e.tokens[t[o.end+1].token].content="",s--)}}function NFe(e){let t=e.tokens_meta,n=e.tokens_meta.length;N_e(e,e.delimiters);for(let s=0;s=p)return!1;if(l=f,o=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),o.ok){for(i=e.md.normalizeLink(o.str),e.md.validateLink(i)?f=o.pos:i="",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?s=e.src.slice(l,f++):f=g+1):f=g+1,s||(s=e.src.slice(m,g)),r=e.env.references[Fg(s)],!r)return e.pos=u,!1;i=r.href,a=r.title}if(!t){e.pos=m,e.posMax=g;let _=e.push("link_open","a",1),h=[["href",i]];_.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 m3(e,t){let n,s,o,r,i,a,l,c,u="",p=e.pos,m=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let g=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if(r=f+1,r=m)return!1;for(c=r,a=e.md.helpers.parseLinkDestination(e.src,r,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?r=a.pos:u=""),c=r;r=m||e.src.charCodeAt(r)!==41)return e.pos=p,!1;r++}else{if(typeof e.env.references>"u")return!1;if(r=0?o=e.src.slice(c,r++):r=f+1):r=f+1,o||(o=e.src.slice(g,f)),i=e.env.references[Fg(o)],!i)return e.pos=p,!1;u=i.href,l=i.title}if(!t){s=e.src.slice(g,f);let _=[];e.md.inline.parse(s,e.md,e.env,_);let h=e.push("image","img",0),x=[["src",u],["alt",""]];h.attrs=x,h.children=_,h.content=s,l&&x.push(["title",l])}return e.pos=r,e.posMax=m,!0}var jFe=/^([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])?)*)$/,FFe=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function g3(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let s=e.pos,o=e.posMax;for(;;){if(++n>=o)return!1;let i=e.src.charCodeAt(n);if(i===60)return!1;if(i===62)break}let r=e.src.slice(s+1,n);if(FFe.test(r)){let i=e.md.normalizeLink(r);if(!e.md.validateLink(i))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",i]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(r);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=r.length+2,!0}if(jFe.test(r)){let i=e.md.normalizeLink("mailto:"+r);if(!e.md.validateLink(i))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",i]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(r);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=r.length+2,!0}return!1}function UFe(e){return/^\s]/i.test(e)}function OFe(e){return/^<\/a\s*>/i.test(e)}function qFe(e){let t=e|32;return t>=97&&t<=122}function f3(e,t){if(!e.md.options.html)return!1;let n=e.posMax,s=e.pos;if(e.src.charCodeAt(s)!==60||s+2>=n)return!1;let o=e.src.charCodeAt(s+1);if(o!==33&&o!==63&&o!==47&&!qFe(o))return!1;let r=e.src.slice(s).match(R_e);if(!r)return!1;if(!t){let i=e.push("html_inline","",0);i.content=r[0],UFe(i.content)&&e.linkLevel++,OFe(i.content)&&e.linkLevel--}return e.pos+=r[0].length,!0}var HFe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,BFe=/^&([a-z][a-z0-9]{1,31});/i;function h3(e,t){let n=e.pos,s=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=s)return!1;if(e.src.charCodeAt(n+1)===35){let r=e.src.slice(n).match(HFe);if(r){if(!t){let i=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),a=e.push("text_special","",0);a.content=VR(i)?nS(i):nS(65533),a.markup=r[0],a.info="entity"}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(BFe);if(r){let i=lp(r[0]);if(i!==r[0]){if(!t){let a=e.push("text_special","",0);a.content=i,a.markup=r[0],a.info="entity"}return e.pos+=r[0].length,!0}}}return!1}function j_e(e){let t={},n=e.length;if(!n)return;let s=0,o=-2,r=[];for(let i=0;il;c-=r[c]+1){let p=e[c];if(p.marker===a.marker&&p.open&&p.end<0){let m=!1;if((p.close||a.open)&&(p.length+a.length)%3===0&&(p.length%3!==0||a.length%3!==0)&&(m=!0),!m){let g=c>0&&!e[c-1].open?r[c-1]+1:0;r[i]=i-c+g,r[c]=g,a.open=!1,p.end=i,p.close=!1,u=-1,o=-2;break}}}u!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=u)}}function b3(e){let t=e.tokens_meta,n=e.tokens_meta.length;j_e(e.delimiters);for(let s=0;s0&&s++,o[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,r[t]=e.pos};oS.prototype.tokenize=function(e){let t=this.ruler.getRules(""),n=t.length,s=e.posMax,o=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(i){if(e.pos>=s)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};oS.prototype.parse=function(e,t,n,s){let o=new this.State(e,t,n,s);this.tokenize(o);let r=this.ruler2.getRules(""),i=r.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 x3(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(s){e[s]=n[s]})}),e}function WR(e){return Object.prototype.toString.call(e)}function VFe(e){return WR(e)==="[object String]"}function GFe(e){return WR(e)==="[object Object]"}function QFe(e){return WR(e)==="[object RegExp]"}function O_e(e){return WR(e)==="[object Function]"}function YFe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var H_e={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function KFe(e){return Object.keys(e||{}).reduce(function(t,n){return t||H_e.hasOwnProperty(n)},!1)}var WFe={"http:":{validate:function(e,t,n){let s=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(s)?s.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){let s=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(s)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:s.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){let s=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(s)?s.match(n.re.mailto)[0].length:0}}},JFe="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]",ZFe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function XFe(e){return function(t,n){let s=t.slice(n);return e.test(s)?s.match(e)[0].length:0}}function q_e(){return function(e,t){t.normalize(e)}}function KR(e){let t=e.re=U_e(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(JFe),n.push(t.src_xn),t.src_tlds=n.join("|");function s(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(s(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(s(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(s(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");let o=[];e.__compiled__={};function r(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,GFe(l)){QFe(l.validate)?c.validate=XFe(l.validate):O_e(l.validate)?c.validate=l.validate:r(a,l),O_e(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=q_e();return}if(VFe(l)){o.push(a);return}r(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:q_e()};let i=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(YFe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+i+")","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 B_e(e,t,n,s){let o=e.slice(n,s);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=s,this.raw=o,this.text=o,this.url=o}function ni(e,t){if(!(this instanceof ni))return new ni(e,t);t||KFe(e)&&(t=e,e={}),this.__opts__=x3({},H_e,t),this.__schemas__=x3({},WFe,e),this.__compiled__={},this.__tlds__=ZFe,this.__tlds_replaced__=!1,this.re={},KR(this)}ni.prototype.add=function(t,n){return this.__schemas__[t]=n,KR(this),this};ni.prototype.set=function(t){return this.__opts__=x3(this.__opts__,t),this};ni.prototype.test=function(t){if(!t.length)return!1;let n,s;if(this.re.schema_test.test(t)){for(s=this.re.schema_search,s.lastIndex=0;(n=s.exec(t))!==null;)if(this.testSchemaAt(t,n[2],s.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)};ni.prototype.pretest=function(t){return this.re.pretest.test(t)};ni.prototype.testSchemaAt=function(t,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,s,this):0};ni.prototype.match=function(t){let n=[],s=[],o=[],r=[],i,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;(i=l.exec(t))!==null;)a=this.testSchemaAt(t,i[2],l.lastIndex),a&&s.push({schema:i[2],index:i.index+i[1].length,lastIndex:i.index+i[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;(i=l.exec(t))!==null;)o.push({schema:"",index:i.index+i[1].length,lastIndex:i.index+i[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(l=this.re.email_fuzzy_global,l.lastIndex=0;(i=l.exec(t))!==null;)r.push({schema:"mailto:",index:i.index+i[1].length,lastIndex:i.index+i[0].length});let u=[0,0,0],p=0;for(;;){let m=[s[u[0]],r[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"},k3=35,Ql=Math.floor,T3=String.fromCharCode;function cp(e){throw new RangeError(sUe[e])}function oUe(e,t){let n=[],s=e.length;for(;s--;)n[s]=t(e[s]);return n}function Y_e(e,t){let n=e.split("@"),s="";n.length>1&&(s=n[0]+"@",e=n[1]),e=e.replace(nUe,".");let o=e.split("."),r=oUe(o,t).join(".");return s+r}function K_e(e){let t=[],n=0,s=e.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...e),iUe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},G_e=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},W_e=function(e,t,n){let s=0;for(e=n?Ql(e/700):e>>1,e+=Ql(e/t);e>k3*26>>1;s+=36)e=Ql(e/k3);return Ql(s+(k3+1)*e/(e+38))},J_e=function(e){let t=[],n=e.length,s=0,o=128,r=72,i=e.lastIndexOf(Q_e);i<0&&(i=0);for(let a=0;a=128&&cp("not-basic"),t.push(e.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&cp("invalid-input");let m=iUe(e.charCodeAt(a++));m>=36&&cp("invalid-input"),m>Ql((2147483647-s)/u)&&cp("overflow"),s+=m*u;let g=p<=r?1:p>=r+26?26:p-r;if(mQl(2147483647/f)&&cp("overflow"),u*=f}let c=t.length+1;r=W_e(s-l,c,l==0),Ql(s/c)>2147483647-o&&cp("overflow"),o+=Ql(s/c),s%=c,t.splice(s++,0,o)}return String.fromCodePoint(...t)},Z_e=function(e){let t=[];e=K_e(e);let n=e.length,s=128,o=0,r=72;for(let l of e)l<128&&t.push(T3(l));let i=t.length,a=i;for(i&&t.push(Q_e);a=s&&uQl((2147483647-o)/c)&&cp("overflow"),o+=(l-s)*c,s=l;for(let u of e)if(u2147483647&&cp("overflow"),u===s){let p=o;for(let m=36;;m+=36){let g=m<=r?1:m>=r+26?26:m-r;if(p=0))try{t.hostname=S3.toASCII(t.hostname)}catch{}return DR(tv(t))}function fUe(e){let t=tS(e,!0);if(t.hostname&&(!t.protocol||nve.indexOf(t.protocol)>=0))try{t.hostname=S3.toUnicode(t.hostname)}catch{}return eS(tv(t),eS.defaultChars+"%")}function Gi(e,t){if(!(this instanceof Gi))return new Gi(e,t);t||BR(e)||(t=e||{},e="default"),this.inline=new F_e,this.block=new $_e,this.core=new S_e,this.renderer=new __e,this.linkify=new V_e,this.validateLink=mUe,this.normalizeLink=gUe,this.normalizeLinkText=fUe,this.utils=RB,this.helpers=sv({},zB),this.options={},this.configure(e),t&&this.set(t)}Gi.prototype.set=function(e){return sv(this.options,e),this};Gi.prototype.configure=function(e){let t=this;if(BR(e)){let n=e;if(e=uUe[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};Gi.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 s=e.filter(function(o){return n.indexOf(o)<0});if(s.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};Gi.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 s=e.filter(function(o){return n.indexOf(o)<0});if(s.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};Gi.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Gi.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};Gi.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Gi.prototype.parseInline=function(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Gi.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var JR=Gi;var up=av();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 av(e="default",t){return"default"in ZR?JR(e,t):new ZR(e,t)}var hUe=e=>{let t=/(]*?)>\^(\d+)\^(<\/a>)/g;return e.replace(t,(n,s,o,r)=>`${s} aria-label="link, ${o}">${o}${r}`)},sve=e=>{let t=av("default",{html:!1,linkify:!0,typographer:!0}),n=t.render;return t.render=function(s){let o=String(n.call(t,s));if(!e||e.length===0)return hUe(o);let r=o.replace(/

    /g,'

    ').replace(/<\/p>/g,"
    "),i=/]*?>(\^(\d+)\^)<\/a>/g;return r=r.replace(i,(a,l,c)=>{let u=parseInt(String(c));return u>0&&u<=e.length?e[u-1]:a}),r},t.renderer.rules.fence=function(s,o,r,i,a){let l=s[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 ove(e,t,n){let s="color-success";t&&t>=n?s="color-danger":t&&t>=.5*n&&(s="color-warning");let o=e.skeletonHidden?"is-hidden":"",r=t?"":"is-hidden",i=t?"":"skeleton",a=d``;return d`
    ${t?HQ.replace("{count}",t.toString()).replace("{total}",n.toString()):a}
    `}function bUe(){return d`
    ${Vi()}
    ${hQ}
    `}function _Ue(e){return d`
    ${e}
    `}function ive(e,t,n){return d`
    ${t?bUe():Vi()}
    ${e}
    `}function vUe(e,t){let n=e.contentIsHTML?"content first-p-top-margin-reset":"";return ive(t,!0,n)}function yUe(e){let t=d`

    ${PQ}

    `;return ive(t,!1)}function rve(e){return d`
    `}function xUe(e){return d`
    `}function kUe(e){if(!e.citations||Object.keys(e.citations).length===0)return"";let t=Object.entries(e.citations).map(([n,s])=>({key:n,citation:s,safeUrl:c0(s.url)})).filter(n=>n.safeUrl!=="");return t.length===0?"":d`
    ${Vee}
      ${t.map(({citation:n,safeUrl:s})=>d`
    1. ${n.title}
    2. `)}
    `}function TUe(e){return e.loaded?d` ${kUe(e)}
    ${rve(e)} ${ove(e,e.responseCount,e.maxMessages)}
    `:e.errored?d`
    ${rve(e)}
    `:e.cancelled?d`
    ${ove(e,e.responseCount,e.maxMessages)}
    `:""}function SUe(e,t){if(e.allowLoadingView&&e.loading)return wUe(e,t);let s=Wbe(e.citations),o=sve(s),r=e.cancelled?d`${fE} ${e.content}`:e.type==="ai"&&e.contentIsHTML?j(o.render(e.content??"")):e.content,i=e.type==="ai"?TUe(e):"",a=e.cancelled?xUe(e):"",l=e.feedbackViewModel?Zbe(e.feedbackViewModel,t):"",c=e.responseCount&&e.responseCount>=e.maxMessages?yUe(e):"",u=d`
    ${r} ${i}
    `;return d`
    ${e.type==="user"?_Ue(u):vUe(e,u)}
    ${a} ${l} ${c} `}function wUe(e,t){return d`
    ${Vi()}

    ${yE}

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

    ${o}

    `})}
    `}function cve(){return b.data.pageTemplate!=="ModuleUnit"}function dve(e,t){if(!e.starterPrompts||e.starterPrompts.length===0)return"";let s=!cve()||!e.suggestionPills||e.suggestionPills.length===0||e.suggestionPills.every(o=>o.clicked)?fz:"";return d`
    ${cve()?lve(e):""}
    ${s}

    ${$Q}

    ${e.starterPrompts.map(({icon:o,header:r,prompt:i})=>{let a=r.toLowerCase();return d` `})}
    `}A();function pve(e,t){return d` `}function CUe(e){let s=parseInt(window.getComputedStyle(e).lineHeight,10);e.rows=1;let o=Math.floor(e.scrollHeight/s);o>6?(o=6,e.style.overflowY="auto"):e.style.overflowY="hidden",e.rows=o}function AUe(e,t){return d`
    ${e.starterPrompts?uve(e,t):""} ${hn(e.messages,n=>n.index,n=>ave(n,t))}
    `}function w3(e,t){return d`${AUe(e,t)} ${PUe(e,t)}`}function mve(){return d` `}function gve(e,t,n=!1){return d`

    ${Vi()}

    ${zf}
    ${mve()}
    ${w3(e,t)}
    `}function IUe(e){return e?d` ${e} `:d``}function PUe(e,t){return d`
    ${e.starterPrompts?dve(e,t):""}
    ${pve(e,t)}
    ${IUe(e.currentValidationMessage)}
    `}function fve(e,t=!1){return d`

    ${Vi()}

    ${zf}
    ${mve()}

    ${Ly}

    ${$f}

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

    ${Vi()}

    ${zf}
    ${hve()}

    ${hE}

    ${AQ}

    `}function RUe(e,t){switch(e.currentView){case"history":return Kbe(e.historyViewModel,e);default:return w3(e,t)}}function MUe(e,t,n){switch(e.currentView){case"history":return"";default:return d`
    ${Fp}
    `}}function $Ue(e,t){switch(e.currentView){case"history":let n=e.historyViewModel;return d`
    `;default:return""}}function bve(e,t,n=!1){if(e.companionActive&&!LR())return LUe(e,t,n);let s=e.navigator,o=(()=>{let r=a0("me","settings"),i=r.searchParams.get("preview");return r.searchParams.set("preview",i?`${i},learn-companion`:"learn-companion"),r.toString()})();return d`

    ${Vi()}

    ${zf}
    ${MUe(e,s,o)} ${hve()}
    ${$Ue(e,s)}
    ${RUe(e,t)}
    `}var gu=class{constructor(t={}){this.detail=t}},Yl=class{constructor(t={}){this.detail=t}},lv=class{constructor(t={}){this.detail=t}},cv=class{constructor(t={}){this.detail=t}},Kl=class{constructor(t={}){this.detail=t}},fu=class{constructor(t={}){this.detail=t}},uv=class{constructor(t={}){this.detail=t}},dv=class{constructor(t={}){this.detail=t}};var _ve={chat:dQ,history:Mf},XR=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(()=>{ht(_ve[t]),this.args.getContainer()?.querySelector(Xd.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(()=>{ht(_ve[t]),this.focusedElement?.focus(),document.activeElement!==this.focusedElement&&this.args.getContainer()?.querySelector(Xd.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 vve=en,yve=ol,eM=class extends He{constructor(){super(...arguments);this.conversations=[];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}notifyPropertyChanged(){this.publish(new gu({}))}startRename(n){let s=this.conversations.find(o=>o.conversationId===n);this.pendingRenameId=n,this.pendingRenameDraft=s?.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(){if(!this.isLoading){this.isLoading=!0,this.error=null,this.notifyPropertyChanged();try{let n=await kB();this.conversations=n.conversations,this.continuationToken=n.continuationToken,this.haAlpha XR=n.haAlpha XR,this.totalConversations=n.totalConversations}catch{this.error=vve}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 kB(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=vve}finally{this.isLoading=!1,this.notifyPropertyChanged()}}}async deleteOne(n){if(this.isDeleting)return!1;this.isDeleting=!0,this.notifyPropertyChanged();try{return await Bbe(n),this.conversations=this.conversations.filter(s=>s.conversationId!==n),this.pendingDeleteId===n&&(this.pendingDeleteId=null),this.error=null,!0}catch{return this.error=yve,!1}finally{this.isDeleting=!1,this.notifyPropertyChanged()}}async rename(n,s){if(this.isRenaming)return!1;let o=this.conversations.findIndex(i=>i.conversationId===n);if(o===-1)return!1;this.isRenaming=!0;let r=this.conversations[o];this.conversations=[...this.conversations.slice(0,o),{...r,summary:s},...this.conversations.slice(o+1)],this.notifyPropertyChanged();try{return await Vbe(n,s),this.pendingRenameId===n&&(this.pendingRenameId=null,this.pendingRenameDraft=""),this.error=null,!0}catch{return this.conversations=[...this.conversations.slice(0,o),r,...this.conversations.slice(o+1)],this.error=yve,!1}finally{this.isRenaming=!1,this.notifyPropertyChanged()}}};var tM=class extends He{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,s=!1){if(!n)return;let o=n.target.closest("form"),r=this.getSelectedOption(o),i=this.getVerbatimText(o);r&&(this.userRadioSelection=r.value,this.verbatim=i),this.publish(new fu({refresh:s,msgIndex:this.index}))}handleSubmit(n,s){s.preventDefault();let o=s.target.closest("form"),r=this.getSelectedOption(o),i=this.getVerbatimText(o);r&&(this.userRadioSelection=r.value,this.verbatim=i,this.state="submitted",n.notifyPropertyChanged(),this.publish(new Kl({consentProvided:!0})))}clearRadioSelection(){Array.from(document.querySelectorAll("[data-chat-container-name]")).forEach(s=>{s.querySelectorAll('input[type="radio"]').forEach(r=>{r.checked=!1})})}cancelFeedback(){this.state="cancelled",this.userRadioSelection=void 0,this.verbatim=void 0,this.notifyPropertyChanged()}undoFeedback(){this.state="none",this.userRadioSelection=void 0,this.verbatim=void 0,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Yl({scroll:!1}))}};var DUe={contentIsHTML:!1,type:"user"},Sr,nM=class extends He{constructor(n,s={},o,r,i,a){super();Yt(this,Sr,"loading");this.firstRender=!0;this.errorMapping={};this.skeletonHidden=!1;let{contentIsHTML:l,type:c}={...DUe,...s};if(this.type=c||"user",this.contentIsHTML=l||!1,this.index=o,this.maxMessages=r,this.errorMapping=i||{},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,_t(this,Sr,u.state||"loaded"),this.responseCount=u.responseCount,this.responseCount||(this.skeletonHidden=!0),this.fetchInternal=Promise.resolve({})}this.type==="ai"&&(ht(yE,"assertive"),this.feedbackViewModel=new tM(o),this.feedbackViewModel.subscribe(Yl,()=>this.notifyPropertyChanged()),this.feedbackViewModel.subscribe(Kl,u=>this.publish(new Kl(u.detail))),this.feedbackViewModel.subscribe(fu,u=>this.publish(new fu({refresh:u.detail.refresh,msgIndex:u.detail.msgIndex,likeOrDislike:this.rating})))),this.load().then(()=>{this.type==="ai"&&ht(RQ),this.notifyPropertyChanged()})}get loading(){return Ee(this,Sr)==="loading"}get cancelled(){return Ee(this,Sr)==="cancelled"}get loaded(){return Ee(this,Sr)==="loaded"}get errored(){return Ee(this,Sr)==="errored"}get allowLoadingView(){return Ee(this,Sr)==="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 dv),this.notifyPropertyChanged())}async awaitCancellation(){return new Promise(n=>{this.cancel=n}).then(n=>{this.contentIsHTML=!1,_t(this,Sr,"cancelled"),ht(fE,"assertive"),this.focusElementOnCancel(n)})}focusElementOnCancel(n){let s=n.target instanceof HTMLElement&&n.target.closest("[data-chat-container-name]");if(!s)return;let o=s.dataset.containerName;if(!o)return;let r=document.querySelector(`[data-focus-on-cancel="${o}"]`);r&&r.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?_t(this,Sr,"errored"):this.loading&&_t(this,Sr,"loaded")}resetChat(){this.publish(new cv)}chatSetBusy(){this.publish(new lv)}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 Kl),this.notifyPropertyChanged()}regenerateMessage(){this.cancelled&&(_t(this,Sr,"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 Yl({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"?Ee(this,Sr):void 0,rating:this.rating}}};Sr=new WeakMap;var sM=class extends He{constructor(t,n,s){super(),this.name=t,this.description=n,this.prompt=s,this.clicked=!1}clickSuggestionPill(){this.clicked=!0,this.publish(new uv({prompt:this.prompt}))}resetSuggestionPill(){this.clicked=!1}};var oM={empty:qQ,short:vE,exceeded:gz},zUe=8*60*60*1e3,NUe="learn_companion_channel",rS,iS,aS,Qi,lS,cS,pv,mv,Og,rM=class extends He{constructor(n){super();this.textarea=null;this.navigator=null;Yt(this,rS,"");Yt(this,iS,"");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");Yt(this,aS);Yt(this,Qi,[]);Yt(this,lS);Yt(this,cS);Yt(this,pv);Yt(this,mv);Yt(this,Og,null);this.initialized=new Promise(n=>{this.initialize=n});this._busy=!1;_t(this,aS,n.fetch),_t(this,lS,n.getContextIdType),_t(this,cS,n.getContextId),this.maxMessages=n.maxMessages,this.validate=n.validate||(()=>null),this.errorMapping=n.errorMapping||{},this.starterPrompts=n.starterPrompts,_t(this,pv,n.onFeedback),_t(this,mv,n.onTimeTelemetry),this.initSuggestionPills(n),this.setUpTestKeyboardListener(),n.companionActive?(this.companionActive=!0,this.broadcastChannel.close(),this.broadcastChannel=new BroadcastChannel(NUe),this.navigator=new XR({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 Ee(this,rS)}set sessionId(n){_t(this,rS,n||"")}get currentMessageLength(){return this.currentMessage.length}get currentMessage(){return Ee(this,iS)||""}set currentMessage(n){_t(this,iS,n)}get historyViewModel(){return Ee(this,Og)||(_t(this,Og,new eM),Ee(this,Og).subscribe(gu,n=>this.notifyPropertyChanged(n.detail))),Ee(this,Og)}get messages(){return Ee(this,Qi)}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,s){this.currentMessage=n;let o=this.getActiveTextArea(s);this.notifyPropertyChanged(),o&&(o.focus(),o.dispatchEvent(new Event("input")))}initSuggestionPills(n){this.suggestionPills=n.suggestionPills?.map(s=>new sM(s.name,s.description,s.prompt))||[],this.suggestionPills.forEach(s=>{s.subscribe(uv,o=>{o.detail.prompt&&this.submitWithPrompt(o.detail.prompt)})})}resetSuggestionPills(){this.suggestionPills?.forEach(n=>n.resetSuggestionPill())}notifyPropertyChanged(n){this.publish(new gu({...n}))}populateForTest(n){_t(this,Qi,n),this.notifyPropertyChanged()}getActiveTextArea(n){if(n){let r=document.querySelector(`[data-chat-textarea-container-name="${n}"]`);if(r)return r}let s=this.getActiveContainer(n);if(!s)return null;let o=s.querySelector("[data-chat-textarea-container-name]");return o||null}getActiveContainer(n){if(n){let r=document.querySelector(`[data-chat-container-name="${n}"]`);if(r)return r}let s=Array.from(document.querySelectorAll("[data-chat-container-name]"));if(s.length===0)return null;let o=s.find(r=>getComputedStyle(r).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=oM.empty):this.currentMessage.lengththis.MAX_CHAR_LENGTH&&(this.canSubmit=!1,this.currentValidationMessage=oM.exceeded,ht(gz)),this.notifyPropertyChanged()}handleKeyDown(n){n.key==="Enter"&&!n.shiftKey&&(n.preventDefault(),this.submit(n),ye({behavior:le.OTHER,actionType:we.KEYBOARDENTER,content:{autoIngest:!0,type:"ask-learn-assistant-submit-prompt",an:"ask-learn-assistant",name:"submit-enter"}}))}reset(n=!1){_t(this,Qi,[]),this.sessionId="",this.deleteChatHistory(),this.indexCount=0,this.responseCount=0,this.setReady(),this.canSubmit=!0,this.resetSuggestionPills(),this.navigator?.reset(),this.notifyPropertyChanged(),ht(cQ),n||this.broadcastChannel.postMessage({type:"reset"})}clearActiveChat(n=!1){_t(this,Qi,[]),this.sessionId="",this.deleteChatHistory(),this.notifyPropertyChanged(),n||this.broadcastChannel.postMessage({type:"clear-active-chat"})}scrollToActiveMessage(n,s="smooth"){let o=this.getActiveContainer(n);if(!o)return;let r=`[data-scroll-into-view="${this.scrollHandle}"]`,i=o.querySelector(r);if(!i){if(this.currentView!=="chat")return;throw new Error("No active scroll handle found for chat.")}i.scrollIntoView({block:"nearest",inline:"start",behavior:s})}createMessagesHistoryArray(n=!1){let s=[];for(let o=0;o0&&(this.messages[this.messages.length-1].skeletonHidden=!0,this.publish(new Yl({})))}finally{(this.responseCountthis.handleMessageChange(c.detail)),l.subscribe(lv,()=>this.setBusy()),l.subscribe(cv,()=>{this.reset()}),l.subscribe(Kl,c=>{this.sendTelemetryToOneDS(c.detail),this.saveChat()}),l.subscribe(fu,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(dv,()=>{this.saveChat()}),Ee(this,Qi).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 s;n in this.errorMapping?s=this.errorMapping[n]:s=io;let o={content:s,state:"errored",type:"ai"};this.pushMessage(o,{},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}handleMessageChange(n){this.notifyPropertyChanged(n)}createChildVmIndex(){return this.indexCount++}setUpTestKeyboardListener(){Ol&&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,s,o)=>{if(!n.loaded)return!1;if(n.type==="user"){let r=o[s+1];if(!r||!r.loaded)return!1}return!0}).map(n=>n.saveMessage())})}saveChat(n=!1){let s=this.serializeChat(),o={type:"history",payload:s,shouldScroll:n};this.broadcastChannel.postMessage(o),this.companionActive?(X.setItem(IR,s),X.setItem(Dg,Date.now().toString())):(X.setItem(ER,s),X.setItem(Rg,Date.now().toString()))}deleteChatHistory(){this.companionActive?(X.removeItem(IR),X.removeItem(Dg)):(X.removeItem(ER),X.removeItem(Rg))}getChatHistory(){let n=X.getItem(this.companionActive?IR:ER);return n?JSON.parse(n):null}restoreChatHistory(n,s=!1){n&&(this.sessionId=n.sessionId,_t(this,Qi,[]),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:s}))}clearChatsUponInactive(){let n=X.getItem(this.companionActive?Dg:Rg);if(!n)return;let s=parseInt(n);Date.now()-s>zUe&&(this.deleteChatHistory(),this.reset(),X.removeItem(this.companionActive?uu:Mg))}handleInitialChatHistory(){if(!_R&&(this.clearChatsUponInactive(),this.restoreChatHistory(this.getChatHistory()),X.getItem(this.companionActive?uu:Mg)==="true")){if(this.companionActive&&!LR()){X.removeItem(uu);return}this.handleFlyoutOpenStateChange(!0)}}initBroadcastChannel(){_R||(this.broadcastChannel.onmessage=n=>{if(n.data)switch(n.data.type){case"history":try{let s=JSON.parse(n.data.payload||"{}");this.restoreChatHistory(s,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(){_R||(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?uu:Mg,"true"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!0})}),window.addEventListener("flyout-hide",()=>{X.setItem(this.companionActive?uu:Mg,"false"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!1})}))}handleFlyoutOpenStateChange(n){let s=document.querySelector("[data-ask-learn-flyout-entry]");if(!s)return;let o=document.documentElement.classList.contains("layout-flyout-active");if(n!==o)if(n)cu(s);else{let r=document.querySelector('button[data-flyout-button="close"]');r&&r.click()}}initialize(){}};rS=new WeakMap,iS=new WeakMap,aS=new WeakMap,Qi=new WeakMap,lS=new WeakMap,cS=new WeakMap,pv=new WeakMap,mv=new WeakMap,Og=new WeakMap;var qs,iM,jUe=async e=>{await(iM??Promise.resolve()),CR(()=>{iM=RR(),qs?.notifyPropertyChanged(),e()})},FUe=(()=>{let e=new URLSearchParams(window.location.search),t=e.has("asklearn");if(t){e.delete("asklearn");let n=e.toString(),s=`${window.location.pathname}${n?"?"+n:""}${window.location.hash}`;window.history.replaceState(window.history.state,window.document.title,s)}return t})();function UUe(e){return e.map(t=>KT(t))}function OUe(e,t,n,s){return!!(e||t||n||s)}function qUe(e){return e?Gbe:Ube}function HUe(e){return e?{lastInteractionTimeKey:Dg,openStatusKey:uu}:{lastInteractionTimeKey:Rg,openStatusKey:Mg}}function BUe(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 xve(){if(!S.chatTutor||b.data.isPermissioned&&b.data.permissionedType!=="public")return;let e=Qe("chat-tutor",{require:!0}),[t,n,s]=await Promise.all([Tr("ask-learn"),Tr("ask-learn-on-articles"),Tr("ask-learn-on-reference"),_e,Te]);if(!OUe(e,t,n,s)){document.documentElement.classList.remove("layout-flyout-active");return}let r=Qe("learn-companion",{require:!0}),{lastInteractionTimeKey:i,openStatusKey:a}=HUe(r);B_("devlang");let l=w.isAuthenticated,c=r?ev(ti):ev();c<2&&UUe([X_,ZT]);let{chatContainer:u,chatModal:p}=VUe();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=r?jUe:qbe;fB(bB,p,f),fB(yR,p,f),hB(WT,f),hB(xR,f,!0),Pbe(Rbe,()=>p.show(),cu,f),Lbe(p,WT),Dbe();let _=[{element:u,name:"ask-learn-modal"},...m];if(l){let h=await qUe(r);r&&c>=2&&(iM=RR(),X.getItem(uu)==="true"&&await iM),GUe(h,_)}else{for(let h of _)y(fve(h.name,!!h.sticky),h.element);BUe(i,a)}FUe&&X.getItem(a)!=="true"&&f(()=>{if(Ao.matches){let x=document.querySelector(WT);x&&cu(x,!0)}else p.show()})}function VUe(){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 ve(e);return{chatContainer:e,chatModal:t}}async function GUe(e,t){if(!t||t.length===0)throw new Error("Invalid container provided to Chat View Model.");qs=new rM(e);let n=e.companionActive?bve:gve;qs.subscribe(gu,async s=>{for(let o of t){y(n(qs,o.name,!!o.sticky),o.element);let r=Array.from(o.element.querySelectorAll(`[data-interaction-id="${s.detail.interactionId}"]`));if(s.detail.updateCodeBlocks)for(let i of r)BT(i);TB(o.element,r),s.detail.scroll&&qs.scrollToActiveMessage(o.name)}}),await qs.initialized,window.addEventListener("resize",Z_.timeout(()=>{for(let s of t){let o=Array.from(s.element.querySelectorAll("[data-interaction-id]"));TB(s.element,o)}},250));for(let s of t)y(n(qs,s.name,!!s.sticky),s.element);window.addEventListener("modal-show",()=>{qs.scrollToActiveMessage("ask-learn-modal","instant")}),window.addEventListener("flyout-show",()=>{qs.scrollToActiveMessage("ask-learn-flyout","instant")})}var E3,QUe="article-header-page-actions",YUe="article-header-page-actions-overflow",kve="[data-page-action-item]";function A3(e=Array.from(document.querySelectorAll(kve))){let t=document.getElementById(QUe);if(!t)return;E3&&E3.disconnect(),Tve(e);let n=new MutationObserver(()=>{Tve(Array.from(t.querySelectorAll(kve)))});n.observe(t,{childList:!0,attributes:!0,attributeFilter:["hidden"],subtree:!0}),E3=n,t.classList.remove("opacity-none")}function KUe(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 Tve(e){let t=document.getElementById(YUe);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 s=!1,o=!1,r=t.querySelector('[data-list-type="plan"]');r&&(r.hidden=!1);for(let i of e)if(i.dataset.pageActionItem){let a=i.dataset.pageActionItem;if(!a)continue;let l=i.dataset?.checkHidden==="true",c=i.hidden,u=KUe(a);if(u==="overflow-all"&&(!l||!c)){s=!0;break}if(u==="overflow-mobile"&&(!l||!c)){o=!0;continue}}t&&(!s&&o&&(t.classList.add("display-none-tablet"),t.setAttribute("data-reset-required","display-none-tablet")),!s&&!o&&(t.classList.add("display-none"),t.setAttribute("data-reset-required","display-none")))}function Sve(){document.documentElement.classList.contains("layout-focus-mode")&&C3({isLoad:!0}),document.addEventListener("click",t=>{t.target instanceof Element&&t.target.closest("[data-focus-mode]")&&C3()}),window.addEventListener("resize",()=>{Ta.matches||!document.documentElement.classList.contains("layout-focus-mode")||C3({isResize:!0})},{passive:!0})}function C3({isResize:e,isLoad:t}={}){if(!document.getElementById("ms--focus-mode-button"))return;if(e){document.documentElement.classList.remove("layout-focus-mode");return}let s=t?document.documentElement.classList.contains("layout-focus-mode"):!document.documentElement.classList.contains("layout-focus-mode"),o="layout-menu-collapsed"in qu.getViewState()?qu.getViewState()["layout-menu-collapsed"]:s;document.documentElement.classList.toggle("layout-focus-mode",s),document.documentElement.classList.toggle("layout-menu-collapsed",o)}qu.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"),ht(n?QJ:YJ,"assertive"),It()});function WUe(){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 uS(e){return/^(?:android|ios|linux|macos|windows)$/.test(e)}var JUe=ZUe();function ZUe(){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,s=/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)||s.test(t.substr(0,4)))&&(e=!0),e}var dS=WUe(),wve="preferred-platform";function XUe(){let e=X.getItem(wve);return e!==null&&uS(e)?e:null}var aM=XUe();function lM(e){X.setItem(wve,e)}var I3=["button-primary","is-selected"],Cve=["previous-versions","archive"],eOe=({location:e,allowedPaths:t})=>{let n=np(e).pathname.split("/"),s=t.includes(n[2])?4:3;return n.slice(0,s).join("/")},P3=eOe({location:ee,allowedPaths:Cve});function L3(){let e=R3();if(!e.length)return Promise.resolve();let t={get(n){return X.getItem(`zone-pivot${P3}/${n}`)},set(n,s){X.setItem(`zone-pivot${P3}/${n}`,s)}};return Promise.all([iOe(),Te]).then(([n])=>{let s=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"]'),r=[s,o].filter(a=>a!==null);if(r.length===0)return;let i=r.reduce((a,l)=>a.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING?l:a);sOe(i,e,n,t)})}function R3(){return(P("zone_pivot_groups")||"").split(",").map(e=>e.trim()).filter(e=>e.length)}function tOe(e){document.querySelectorAll(`[data-pivot]${e.map(n=>`:not([data-pivot~='${n}'])`).join("")}`).forEach(n=>{Array.from(n.querySelectorAll("[id]")).forEach(o=>Ave(o))})}var nOe=e=>{e.forEach(t=>{document.querySelectorAll(`[data-pivot~='${t}'] [data-id]`).forEach(r=>{r.id=r.getAttribute("data-id"),r.removeAttribute("data-id")});let s=Array.from(document.querySelectorAll(`[data-pivot~='${t}'] [id]`)).map(r=>r.id);document.querySelectorAll(`[data-pivot]:not([data-pivot~='${t}']) [id]`).forEach(r=>{s.includes(r.id)&&Ave(r)})})};function Ave(e){e.setAttribute("data-id",e.id),e.removeAttribute("id")}function sOe(e,t,n,s){let o=oe().pivots,r=o?o.split(",").map(f=>f.trim().toLowerCase()):[],i=rOe(n,t,r,s,aM||dS),a=document.createElement("style");document.head.appendChild(a),Eve(a,i);let l=t.map(f=>n.find(_=>_.id===f)).filter(f=>f!==void 0);if(l.length===0)return;let c=oOe(e,l,i),u=Array.from(c.querySelectorAll('input[type="radio"]')).map(f=>({input:f,button:f.closest(".button")})),p=()=>{Eve(a,u.filter(f=>f.input.checked).map(f=>f.input.value)),u.forEach(({input:f,button:_})=>{f.checked?(_.classList.add(...I3),_.querySelector(".icon").classList.remove("is-hidden")):(_.classList.remove(...I3),_.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;s.set(_,h),uS(h)&&lM(h)};Ft(c,"change",p),Ft(c,"blur",m,!0),Ft(c,"focus",m,!0),Ft(c,"change",g),Sg(()=>a.remove())}function Eve(e,t){e.textContent=` [data-pivot]${t.map(n=>`:not([data-pivot~='${n}'])`).join("")} { display: none !important; }`,tOe(t),nOe(t),op(),It(),Ht({pivots:t.join()},"replaceState")}function oOe(e,t,n){let{userDir:s,userLocale:o}=b.data;return e.insertAdjacentHTML("afterend",`
    ${t.map(r=>`
    ${r.prompt}
    ${r.pivots.map(i=>` `).join(` `)}
    `).join(` `)}
    `),e.nextElementSibling}function rOe(e,t,n,s,o){let r=[];for(let i of t){let a=e.find(f=>f.id===i);if(!a)continue;let l=s.get(i),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);r.push(u||p||m||g)}return r}function iOe(){let e=aOe();return M(e,{credentials:"include"}).then(t=>t.json()).then(t=>t.groups)}function aOe(){let{branch:e}=oe(),t=P("zone_pivot_group_filename")||"zone-pivot-groups.json",n=e?"?"+ie({branch:e}):"",s=["nb-no"],o=P3,r=o.split("/")[1],i=s.includes(r);i&&(o=o.replace(r,"en-us"));let a=`${o}/${t}${n}`,l=P("zone_pivot_groups_path");l&&(l=jH(l));let c=l&&l.length>1,u=l&&l.startsWith("/"),p=Cve.filter(f=>ee.pathname.includes(`/${f}/`)),m=p.length>0?`/${p[0]}`:"",g=`/${i?"en-us":r}${m??""}${u?"":"/"}${l}`;return c?g:a}var lOe=["azure.microsoft.com/pricing/purchase-options/azure-account","azure.microsoft.com/free"];function pS(e){try{let t=new URL(e),n=t.hostname+is(t.pathname);return lOe.some(s=>n.includes(s))}catch{return!1}}function cM(e,t){try{let n=new URL(e),s=n.searchParams.get("cid");if(s===null||s==="")return n.searchParams.set("cid",t?`msft_learn_${t}`:"msft_learn"),n.toString();if(s.includes("msft_learn")&&t&&!s.endsWith(`_${t}`))return n.searchParams.set("cid",`${s}_${t}`),n.toString()}catch{}return e}function Ive(e,t=P("platform_id")){let n=Array.from(e.querySelectorAll("a[href]")).filter(s=>{let o=s.getAttribute("href");return o&&pS(o)});for(let s of n){let o=s.getAttribute("href");!o||!pS(o)||s.setAttribute("href",cM(o,t))}}function Pve(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?"]')),s;try{s=is(new URL(t.href)?.pathname)}catch{return[]}for(let o of n){let r;try{r=new URL(o.src)}catch{continue}r.searchParams.set("locale",b.data.userLocale),r.searchParams.set("embedUrl",s),o.src=r.toString(),o.title||(o.title=Bf)}return n??[]}function Lve(){if(R3().length)return;let t=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")),n=[],s=[];t.map(o=>n.includes(o.id)?s.push(o):n.push(o.id)),s.forEach(o=>{o.removeAttribute("id")})}A();var Rve="h1,h2,h3,h4,h5,h6",dM=e=>{e.forEach(t=>{let n=t.firstElementChild;t.clientWidth{let n=!1;return(...s)=>{n||(n=!0,O.requestAnimationFrame(()=>{e.apply(t,s),n=!1}))}},uM={definitions:["margin-bottom-sm"],nameValue:["table-stacked-mobile"],dataMatrix:["table-complex","margin-top-sm"],attributeList:["table-complex","width-auto"]};function cOe(e){let t=e.classList;if(t.contains("definitions")){e.classList.add(...uM.definitions);let n=Array.from(e.querySelectorAll("th"));for(let s=0;s{let s;e.parentElement.classList.contains("table-wrapper")?s=e.parentElement.previousElementSibling:s=e.previousElementSibling;let o=0;for(;s&&o<5;){if(s.matches(Rve))return Jp(s).trim();if(s.matches(".heading-wrapper")){let r=s.querySelector(Rve);if(r)return Jp(r).trim()}s=s.previousElementSibling,o++}return Xre.replace("{index}",(t+1).toString())})()}function $ve(e){Array.from(e.querySelectorAll(".content table")).forEach(n=>{let s=Array.from(n.querySelectorAll("thead tr > th")),o=n.querySelector("tbody");if(!o)return;let r=Array.from(o.children);if(dOe(s,r)){for(let i of r){let l=i.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)}s.forEach(i=>{if(i.textContent==="")return;i.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 dOe(e,t){if(!(e.length&&e[0].firstElementChild===null&&e[0].textContent===""))return!1;for(let s of t){let r=s.firstElementChild,i=r.firstElementChild,a=r.lastElementChild;if(r.nodeName!=="TD"||!i||!(r.querySelector(".sxs-lookup")?pOe(i):i===a&&r.textContent.trim()===i.textContent.trim()&&i.nodeName==="STRONG"))return!1}return!0}function pOe(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 mOe(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` `,s=d` `,o=c=>d` `,r,i,a;function l(){if(!r||!i){r=T.createElement("div"),a=e.cloneNode(!0);let c=o(a);y(c,r),i=new ve(r),a&&Ft(O,"resize",Mve(()=>dM([a])),{passive:!0})}i.show(),dM([a])}return y(n,t),t}function M3(e=!1,t){let n=Array.from((t??T).querySelectorAll(".content table"));if(!n.length)return;let s=n.map((r,i)=>{if(i<50&&!r.matches("[aria-label], [aria-labelledby]")&&!r.querySelector("caption")){let l=uOe(r,i);r.setAttribute("aria-label",l)}r.classList.add("table"),(b.data.pageTemplate==="Conceptual"||b.data.pageTemplate==="Reference")&&r.classList.add("table-sm","margin-top-none"),r.classList.length!==1&&cOe(r);let a;if(r.classList.contains("nameValue"))return null;if(r.parentElement.classList.contains("table-wrapper"))a=r.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",Jz),r.parentElement.insertBefore(a,r),a.appendChild(r),!e){let l=mOe(a);a.parentElement&&a.parentElement.insertBefore(l,a)}return a}).filter(r=>r!==null),o=Mve(()=>dM(s));Ft(O,"resize",o,{passive:!0}),Ft(O,"content-update",o,{passive:!0}),dM(s)}function gOe(e){return Array.from(e.querySelectorAll('iframe[src^="https://www.microsoft.com"][src*="/videoplayer/"]'))}function fOe(e,t,n){let s=t.split("/").pop(),o=new URL(`http://approjects.co.za/?big=${e}/videoplayer/embed/${s}`);return n&&o.searchParams.set("postJsllMsg","true"),e!=="en-us"&&o.searchParams.set("autoCaptions",e),o.href}function hOe(e,t=window){t.addEventListener("message",n=>{if(n.origin!=="https://www.microsoft.com"||typeof n.data!="string")return;let s;try{s=JSON.parse(n.data)}catch{}!s||typeof s.eventName!="string"||s.eventName.toLowerCase()!=="postjsllmessage"||e(s.data)})}function Dve(){let t=gOe(document.body);for(let n of t){let s=fOe(b.data.userLocale,n.src,!0);n.src!==s&&(n.src=s),n.title=n.title||Bf}t.length&&hOe(ye)}function D3(){bOe(),_Oe(),vOe(document.body),Lve(),$ve(document.body),Dve(),Pve(document.body,ee),Ive(document.body)}function bOe(){let e={TIP:{class:"is-success",docon:"lightbulb",title:cae},NOTE:{class:"is-info",docon:"status-error-outline",title:AX},IMPORTANT:{class:"is-primary",docon:"status-info-outline",title:TZ},WARNING:{class:"is-warning",docon:"status-warning-outline",title:Mae},CAUTION:{class:"is-danger",docon:"status-failure-outline",title:SG}};Array.from(document.querySelectorAll(".TIP, .NOTE, .IMPORTANT, .WARNING, .CAUTION")).forEach(n=>{let s=/TIP|NOTE|IMPORTANT|WARNING|CAUTION/.exec(n.className)[0];n.className=`alert ${e[s].class}`;let o=n.firstElementChild;!o||!(o instanceof HTMLParagraphElement)||(o.classList.add("alert-title"),o.textContent=e[s].title,o.insertAdjacentHTML("afterbegin",` `))})}function _Oe(){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 vOe(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,r=Is(n.textContent.replace(//g,">"),o);n.innerHTML=r})}function zve(){document.querySelectorAll("button[data-copy-markdown]").forEach(e=>{e.addEventListener("click",()=>yOe(e))})}async function yOe(e){if(e.dataset.copyState!=="idle")return;mS(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 s=await n.text();await XH(s,e)?(mS(e,"success"),ht(NE,"assertive",1e3),setTimeout(()=>mS(e,"idle"),1e3)):mS(e,"idle")}catch{mS(e,"idle")}}function mS(e,t){e.dataset.copyState=t,e.querySelectorAll("[data-show-when]").forEach(n=>{n.hidden=n.dataset.showWhen!==t})}function Nve(){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")||pM(n))},{passive:!0})}async function pM(e){e.getAttribute("data-dismissable")==="disappearing"&&(e.classList.add("disappearing"),await new Promise(t=>setTimeout(t,500))),e.classList.remove("disappearing"),e.remove(),It()}function jve(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 s=n.parentElement,o=n.getAttribute("aria-expanded")!=="true";n.setAttribute("aria-expanded",o.toString());let r;if(o&&s){s.classList.contains("has-centered-menu")||xOe(s);let i=u=>{u.target instanceof Element&&(!s.contains(u.target)||u.type==="click"&&u.target.closest(".dropdown-menu-close"))&&(r(),u.target.classList.contains("dropdown-menu-close")&&n&&n.focus())},a=u=>{if(u instanceof KeyboardEvent&&u.keyCode===Ie.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"&&r()};r=()=>{e.removeEventListener("focus",i),e.removeEventListener("click",i),e.removeEventListener("touchstart",i),e.removeEventListener("keydown",a),O.removeEventListener("blur",l),n&&n.setAttribute("aria-expanded","false")},e.addEventListener("focus",i,!0),e.addEventListener("click",i),e.addEventListener("touchstart",i),e.addEventListener("keydown",a),e.addEventListener("collapse-dropdown",u=>{u.stopPropagation(),r()}),O.addEventListener("blur",l)}})}function z3(e){e.dispatchEvent(new CustomEvent("collapse-dropdown",{bubbles:!0}))}function xOe(e){let t=f=>O.getComputedStyle(f).overflowX,n=e.parentElement;for(;n&&n.nodeName!=="BODY"&&t(n)!=="hidden";)n=n.parentElement;if(n===null)return;let s=e.querySelector(".dropdown-trigger"),o=e.querySelector(".dropdown-menu"),r=e.closest(".dropdown-menu")!==null,i=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}=s.getBoundingClientRect(),g=o.getBoundingClientRect().width;r?(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%)"),i&&(o.style.maxHeight=`${O.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",i&&(o.style.maxHeight=`${O.innerHeight-m-8}px`))}Ve();var Uve=LD(F3(),1);var hu=class extends Error{constructor(n,s,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(s),Number.isNaN(this.status)&&(this.status=0);"response"in o&&(this.response=o.response);let r=Object.assign({},o.request);o.request.headers.authorization&&(r.headers=Object.assign({},o.request.headers,{authorization:o.request.headers.authorization.replace(/(?=400&&!e.doNotRetry.includes(n.status)){let o=s.request.retries!=null?s.request.retries:e.retries,r=Math.pow((s.request.retryCount||0)+1,2);throw t.retry.retryRequest(n,o,r)}throw n}async function TOe(e,t,n,s){let o=new Uve.default;return o.on("failed",function(r,i){let a=~~r.request.request.retries,l=~~r.request.request.retryAfter;if(s.request.retryCount=i.retryCount+1,a>i.retryCount)return l*e.retryAfterBaseValue}),o.schedule(SOe.bind(null,e,t,n),s)}async function SOe(e,t,n,s){let o=await n(n,s);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 r=new hu(o.data.errors[0].message,500,{request:s,response:o});return Fve(e,t,r,s)}return o}function U3(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",Fve.bind(null,n,e)),e.hook.wrap("request",TOe.bind(null,n,e))),{retry:{retryRequest:(s,o,r)=>(s.request.request=Object.assign({},s.request.request,{retries:o,retryAfter:r}),s)}}}U3.VERSION=kOe;var qve=LD(F3(),1),wOe="0.0.0-development",O3=()=>Promise.resolve();function EOe(e,t,n){return e.retryLimiter.schedule(COe,e,t,n)}async function COe(e,t,n){let{pathname:s}=new URL(n.url,"http://github.test"),o=AOe(n.method,s),r=!o&&n.method!=="GET"&&n.method!=="HEAD",i=n.method==="GET"&&s.startsWith("/search/"),a=s.startsWith("/graphql"),c=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(c.expiration=1e3*60),(r||a)&&await e.write.key(e.id).schedule(c,O3),r&&e.triggersNotification(s)&&await e.notifications.key(e.id).schedule(c,O3),i&&await e.search.key(e.id).schedule(c,O3);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 AOe(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 IOe=["/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 POe(e){let n=`^(?:${e.map(s=>s.split("/").map(o=>o.startsWith("{")?"(?:.+?)":o).join("/")).map(s=>`(?:${s})`).join("|")})[^/]*$`;return new RegExp(n,"i")}var Ove=POe(IOe),Hve=Ove.test.bind(Ove),qg={},LOe=function(e,t){qg.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),qg.auth=new e.Group({id:"octokit-auth",maxConcurrent:1,...t}),qg.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),qg.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),qg.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function mM(e,t){let{enabled:n=!0,Bottleneck:s=qve.default,id:o="no-id",timeout:r=1e3*60*2,connection:i}=t.throttle||{};if(!n)return{};let a={timeout:r};typeof i<"u"&&(a.connection=i),qg.global==null&&LOe(s,a);let l=Object.assign({clustering:i!=null,triggersNotification:Hve,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new s,id:o,...qg},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 s.Events(c);return c.on("secondary-limit",l.onSecondaryRateLimit),c.on("rate-limit",l.onRateLimit),c.on("error",p=>e.log.warn("Error in throttling-plugin limit handler",p)),l.retryLimiter.on("failed",async function(p,m){let[g,f,_]=m.args,{pathname:h}=new URL(_.url,"http://github.test");if(!(h.startsWith("/graphql")&&p.status!==401||p.status===403||p.status===429))return;let v=~~f.retryCount;f.retryCount=v,_.request.retryCount=v;let{wantRetry:k,retryAfter:I=0}=await async function(){if(/\bsecondary rate\b/i.test(p.message)){let E=Number(p.response.headers["retry-after"])||g.fallbackSecondaryRateRetryAfter;return{wantRetry:await u.trigger("secondary-limit",E,_,e,v),retryAfter:E}}if(p.response.headers!=null&&p.response.headers["x-ratelimit-remaining"]==="0"||(p.response.data?.errors??[]).some(E=>E.type==="RATE_LIMITED")){let E=new Date(~~p.response.headers["x-ratelimit-reset"]*1e3).getTime(),H=Math.max(Math.ceil((E-Date.now())/1e3)+1,0);return{wantRetry:await u.trigger("rate-limit",H,_,e,v),retryAfter:H}}return{}}();if(k)return f.retryCount++,I*g.retryAfterBaseValue}),e.hook.wrap("request",EOe.bind(null,l)),{}}mM.VERSION=wOe;mM.triggersNotification=Hve;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 gM(e,t,n,s){if(typeof n!="function")throw new Error("method for before hook must be a function");return s||(s={}),Array.isArray(t)?t.reverse().reduce((o,r)=>gM.bind(null,e,r,o,s),n)():Promise.resolve().then(()=>e.registry[t]?e.registry[t].reduce((o,r)=>r.hook.bind(null,o,s),n)():n(s))}function Bve(e,t,n,s){let o=s;e.registry[n]||(e.registry[n]=[]),t==="before"&&(s=(r,i)=>Promise.resolve().then(o.bind(null,i)).then(r.bind(null,i))),t==="after"&&(s=(r,i)=>{let a;return Promise.resolve().then(r.bind(null,i)).then(l=>(a=l,o(a,i))).then(()=>a)}),t==="error"&&(s=(r,i)=>Promise.resolve().then(r.bind(null,i)).catch(a=>o(a,i))),e.registry[n].push({hook:s,orig:o})}function Vve(e,t,n){if(!e.registry[t])return;let s=e.registry[t].map(o=>o.orig).indexOf(n);s!==-1&&e.registry[t].splice(s,1)}var Gve=Function.bind,Qve=Gve.bind(Gve);function Yve(e,t,n){let s=Qve(Vve,null).apply(null,n?[t,n]:[t]);e.api={remove:s},e.remove=s,["before","error","after","wrap"].forEach(o=>{let r=n?[t,o,n]:[t,o];e[o]=e.api[o]=Qve(Bve,null).apply(null,r)})}function ROe(){let e=Symbol("Singular"),t={registry:{}},n=gM.bind(null,t,e);return Yve(n,t,e),n}function MOe(){let e={registry:{}},t=gM.bind(null,e);return Yve(t,e),t}var Kve={Singular:ROe,Collection:MOe};var $Oe="0.0.0-development",DOe=`octokit-endpoint.js/${$Oe} ${dp()}`,zOe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":DOe},mediaType:{format:""}};function NOe(e){return e?Object.keys(e).reduce((t,n)=>(t[n.toLowerCase()]=e[n],t),{}):{}}function jOe(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 Zve(e,t){let n=Object.assign({},e);return Object.keys(t).forEach(s=>{jOe(t[s])?s in e?n[s]=Zve(e[s],t[s]):Object.assign(n,{[s]:t[s]}):Object.assign(n,{[s]:t[s]})}),n}function Wve(e){for(let t in e)e[t]===void 0&&delete e[t];return e}function H3(e,t,n){if(typeof t=="string"){let[o,r]=t.split(" ");n=Object.assign(r?{method:o,url:r}:{url:o},n)}else n=Object.assign({},t);n.headers=NOe(n.headers),Wve(n),Wve(n.headers);let s=Zve(e||{},n);return n.url==="/graphql"&&(e&&e.mediaType.previews?.length&&(s.mediaType.previews=e.mediaType.previews.filter(o=>!s.mediaType.previews.includes(o)).concat(s.mediaType.previews)),s.mediaType.previews=(s.mediaType.previews||[]).map(o=>o.replace(/-preview/,""))),s}function FOe(e,t){let n=/\?/.test(e)?"&":"?",s=Object.keys(t);return s.length===0?e:e+n+s.map(o=>o==="q"?"q="+t.q.split("+").map(encodeURIComponent).join("+"):`${o}=${encodeURIComponent(t[o])}`).join("&")}var UOe=/\{[^{}}]+\}/g;function OOe(e){return e.replace(/(?:^\W+)|(?:(?n.concat(s),[]):[]}function Jve(e,t){let n={__proto__:null};for(let s of Object.keys(e))t.indexOf(s)===-1&&(n[s]=e[s]);return n}function Xve(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 fv(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function gS(e,t,n){return t=e==="+"||e==="#"?Xve(t):fv(t),n?fv(n)+"="+t:t}function gv(e){return e!=null}function q3(e){return e===";"||e==="&"||e==="?"}function HOe(e,t,n,s){var o=e[n],r=[];if(gv(o)&&o!=="")if(typeof o=="string"||typeof o=="number"||typeof o=="bigint"||typeof o=="boolean")o=o.toString(),s&&s!=="*"&&(o=o.substring(0,parseInt(s,10))),r.push(gS(t,o,q3(t)?n:""));else if(s==="*")Array.isArray(o)?o.filter(gv).forEach(function(i){r.push(gS(t,i,q3(t)?n:""))}):Object.keys(o).forEach(function(i){gv(o[i])&&r.push(gS(t,o[i],i))});else{let i=[];Array.isArray(o)?o.filter(gv).forEach(function(a){i.push(gS(t,a))}):Object.keys(o).forEach(function(a){gv(o[a])&&(i.push(fv(a)),i.push(gS(t,o[a].toString())))}),q3(t)?r.push(fv(n)+"="+i.join(",")):i.length!==0&&r.push(i.join(","))}else t===";"?gv(o)&&r.push(fv(n)):o===""&&(t==="&"||t==="?")?r.push(fv(n)+"="):o===""&&r.push("");return r}function BOe(e){return{expand:VOe.bind(null,e)}}function VOe(e,t){var n=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(s,o,r){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(HOe(t,a,u[1],u[2]||u[3]))}),a&&a!=="+"){var i=",";return a==="?"?i="&":a!=="#"&&(i=a),(l.length!==0?a:"")+l.join(i)}else return l.join(",")}else return Xve(r)}),e==="/"?e:e.replace(/\/$/,"")}function eye(e){let t=e.method.toUpperCase(),n=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},e.headers),o,r=Jve(e,["method","baseUrl","url","headers","request","mediaType"]),i=qOe(n);n=BOe(n).expand(r),/^http/.test(n)||(n=e.baseUrl+n);let a=Object.keys(e).filter(u=>i.includes(u)).concat("baseUrl"),l=Jve(r,a);if(!/application\/octet-stream/i.test(s.accept)&&(e.mediaType.format&&(s.accept=s.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=s.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=FOe(n,l):"data"in l?o=l.data:Object.keys(l).length&&(o=l),!s["content-type"]&&typeof o<"u"&&(s["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:s},typeof o<"u"?{body:o}:null,e.request?{request:e.request}:null)}function GOe(e,t,n){return eye(H3(e,t,n))}function tye(e,t){let n=H3(e,t),s=GOe.bind(null,n);return Object.assign(s,{DEFAULTS:n,defaults:tye.bind(null,n),merge:H3.bind(null,n),parse:eye})}var nye=tye(null,zOe);var _ye=LD(cye(),1);var nqe=/^-?\d+$/,pye=/^-?\d+n+$/,Q3=JSON.stringify,uye=JSON.parse,sqe=/^-?\d+n$/,oqe=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,rqe=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,mye=(e,t,n)=>"rawJSON"in JSON?Q3(e,(i,a)=>typeof a=="bigint"?JSON.rawJSON(a.toString()):typeof t=="function"?t(i,a):(Array.isArray(t)&&t.includes(i),a),n):e?Q3(e,(i,a)=>typeof a=="string"&&pye.test(a)||typeof a=="bigint"?a.toString()+"n":typeof t=="function"?t(i,a):(Array.isArray(t)&&t.includes(i),a),n).replace(oqe,"$1$2$3").replace(rqe,"$1$2$3"):Q3(e,t,n),hM=new Map,iqe=()=>{let e=JSON.parse.toString();if(hM.has(e))return hM.get(e);try{let t=JSON.parse("1",(n,s,o)=>!!o?.source&&o.source==="1");return hM.set(e,t),t}catch{return hM.set(e,!1),!1}},aqe=(e,t,n,s)=>typeof t=="string"&&sqe.test(t)?BigInt(t.slice(0,-1)):typeof t=="string"&&pye.test(t)?t.slice(0,-1):typeof s!="function"?t:s(e,t,n),lqe=(e,t)=>JSON.parse(e,(n,s,o)=>{let r=typeof s=="number"&&(s>Number.MAX_SAFE_INTEGER||s{if(!e)return uye(e,t);if(iqe())return lqe(e,t);let n=e.replace(cqe,(s,o,r,i)=>{let a=s[0]==='"';if(a&&uqe.test(s))return s.substring(0,s.length-1)+'n"';let c=r||i,u=o&&(o.lengthaqe(s,o,r,t))};var dqe="10.0.9",pqe={headers:{"user-agent":`octokit-request.js/${dqe} ${dp()}`}};function mqe(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 hye=()=>"";async function bye(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,s=e.request?.parseSuccessResponseBody!==!1,o=mqe(e.body)||Array.isArray(e.body)?mye(e.body):e.body,r=Object.fromEntries(Object.entries(e.headers).map(([p,m])=>[p,String(m)])),i;try{i=await t(e.url,{method:e.method,body:o,redirect:e.request?.redirect,headers:r,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(p){let m="Unknown Error";if(p instanceof Error){if(p.name==="AbortError")throw p.status=500,p;m=p.message,p.name==="TypeError"&&"cause"in p&&(p.cause instanceof Error?m=p.cause.message:typeof p.cause=="string"&&(m=p.cause))}let g=new hu(m,500,{request:e});throw g.cause=p,g}let a=i.status,l=i.url,c={};for(let[p,m]of i.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 hu(i.statusText,a,{response:u,request:e})}if(a===304)throw u.data=await Y3(i),new hu("Not modified",a,{response:u,request:e});if(a>=400)throw u.data=await Y3(i),new hu(fqe(u.data),a,{response:u,request:e});return u.data=s?await Y3(i):i.body,u}async function Y3(e){let t=e.headers.get("content-type");if(!t)return e.text().catch(hye);let n=(0,_ye.parse)(t);if(gqe(n)){let s="";try{return s=await e.text(),fye(s)}catch{return s}}else return n.type.startsWith("text/")||n.parameters.charset?.toLowerCase()==="utf-8"?e.text().catch(hye):e.arrayBuffer().catch(()=>new ArrayBuffer(0))}function gqe(e){return e.type==="applicationhttps://www.microsoft.com/json"||e.type==="application/scim+json"}function fqe(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 K3(e,t){let n=e.defaults(t);return Object.assign(function(o,r){let i=n.merge(o,r);if(!i.request||!i.request.hook)return bye(n.parse(i));let a=(l,c)=>bye(n.parse(n.merge(l,c)));return Object.assign(a,{endpoint:n,defaults:K3.bind(null,n)}),i.request.hook(a,i)},{endpoint:n,defaults:K3.bind(null,n)})}var fS=K3(nye,pqe);var hqe="0.0.0-development";function bqe(e){return`Request failed due to following response errors: `+e.errors.map(t=>` - ${t.message}`).join(` `)}var _qe=class extends Error{constructor(t,n,s){super(bqe(s));Xt(this,"name","GraphqlResponseError");Xt(this,"errors");Xt(this,"data");this.request=t,this.headers=n,this.response=s,this.errors=s.errors,this.data=s.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},vqe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],yqe=["query","method","url"],vye=/\/api\/v3\/?$/;function xqe(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 i in n)if(yqe.includes(i))return Promise.reject(new Error(`[@octokit/graphql] "${i}" cannot be used as variable name`))}let s=typeof t=="string"?Object.assign({query:t},n):t,o=Object.keys(s).reduce((i,a)=>vqe.includes(a)?(i[a]=s[a],i):(i.variables||(i.variables={}),i.variables[a]=s[a],i),{}),r=s.baseUrl||e.endpoint.DEFAULTS.baseUrl;return vye.test(r)&&(o.url=r.replace(vye,"/api/graphql")),e(o).then(i=>{if(i.data.errors){let a={};for(let l of Object.keys(i.headers))a[l]=i.headers[l];throw new _qe(o,a,i.data)}return i.data.data})}function W3(e,t){let n=e.defaults(t);return Object.assign((o,r)=>xqe(n,o,r),{defaults:W3.bind(null,n),endpoint:n.endpoint})}var rNt=W3(fS,{headers:{"user-agent":`octokit-graphql.js/${hqe} ${dp()}`},method:"POST",url:"/graphql"});function yye(e){return W3(e,{method:"POST",url:"/graphql"})}var J3="(?:[a-zA-Z0-9_-]+)",xye="\\.",kye=new RegExp(`^${J3}${xye}${J3}${xye}${J3}$`),kqe=kye.test.bind(kye);async function Tqe(e){let t=kqe(e),n=e.startsWith("v1.")||e.startsWith("ghs_"),s=e.startsWith("ghu_");return{type:"token",token:e,tokenType:t?"app":n?"installation":s?"user-to-server":"oauth"}}function Sqe(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function wqe(e,t,n,s){let o=t.endpoint.merge(n,s);return o.headers.authorization=Sqe(e),t(o)}var Tye=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(Tqe.bind(null,t),{hook:wqe.bind(null,t)})};var Z3="7.0.6";var Sye=()=>{},Eqe=console.warn.bind(console),Cqe=console.error.bind(console);function Aqe(e={}){return typeof e.debug!="function"&&(e.debug=Sye),typeof e.info!="function"&&(e.info=Sye),typeof e.warn!="function"&&(e.warn=Eqe),typeof e.error!="function"&&(e.error=Cqe),e}var wye=`octokit-core.js/${Z3} ${dp()}`,hv=class{constructor(t={}){Xt(this,"request");Xt(this,"graphql");Xt(this,"log");Xt(this,"hook");Xt(this,"auth");let n=new Kve.Collection,s={baseUrl:fS.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:n.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=t.userAgent?`${t.userAgent} ${wye}`:wye,t.baseUrl&&(s.baseUrl=t.baseUrl),t.previews&&(s.mediaType.previews=t.previews),t.timeZone&&(s.headers["time-zone"]=t.timeZone),this.request=fS.defaults(s),this.graphql=yye(this.request).defaults(s),this.log=Aqe(t.log),this.hook=n,t.authStrategy){let{authStrategy:r,...i}=t,a=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:i},t.auth));n.wrap("request",a.hook),this.auth=a}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{let r=Tye(t.auth);n.wrap("request",r.hook),this.auth=r}let o=this.constructor;for(let r=0;r!n.includes(r)))),o}};Xt(hv,"VERSION",Z3),Xt(hv,"plugins",[]);var Eye="6.0.0";function X3(e){e.hook.wrap("request",(t,n)=>{e.log.debug("request",n);let s=Date.now(),o=e.request.endpoint.parse(n),r=o.url.replace(n.baseUrl,"");return t(n).then(i=>{let a=i.headers["x-github-request-id"];return e.log.info(`${o.method} ${r} - ${i.status} with id ${a} in ${Date.now()-s}ms`),i}).catch(i=>{let a=i.response?.headers["x-github-request-id"]||"UNKNOWN";throw e.log.error(`${o.method} ${r} - ${i.status} with id ${a} in ${Date.now()-s}ms`),i})})}X3.VERSION=Eye;var Iqe="0.0.0-development";function Pqe(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,s=e.data.repository_selection,o=e.data.total_count,r=e.data.total_commits;delete e.data.incomplete_results,delete e.data.repository_selection,delete e.data.total_count,delete e.data.total_commits;let i=Object.keys(e.data)[0],a=e.data[i];return e.data=a,typeof n<"u"&&(e.data.incomplete_results=n),typeof s<"u"&&(e.data.repository_selection=s),e.data.total_count=o,e.data.total_commits=r,e}function e4(e,t,n){let s=typeof t=="function"?t.endpoint(n):e.request.endpoint(t,n),o=typeof t=="function"?t:e.request,r=s.method,i=s.headers,a=s.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let l=await o({method:r,url:a,headers:i}),c=Pqe(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 r=!1;function i(){r=!0}return t=t.concat(s?s(o.value,i):o.value.data),r?t:Aye(e,t,n,s)})}var SNt=Object.assign(Cye,{iterator:e4});function t4(e){return{paginate:Object.assign(Cye.bind(null,e),{iterator:e4.bind(null,e)})}}t4.VERSION=Iqe;var n4="16.1.1";var Lqe={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"]}},Iye=Lqe;var Hg=new Map;for(let[e,t]of Object.entries(Iye))for(let[n,s]of Object.entries(t)){let[o,r,i]=s,[a,l]=o.split(/ /),c=Object.assign({method:a,url:l},r);Hg.has(e)||Hg.set(e,new Map),Hg.get(e).set(n,{scope:e,methodName:n,endpointDefaults:c,decorations:i})}var Rqe={has({scope:e},t){return Hg.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[...Hg.get(e).keys()]},set(e,t,n){return e.cache[t]=n},get({octokit:e,scope:t,cache:n},s){if(n[s])return n[s];let o=Hg.get(t).get(s);if(!o)return;let{endpointDefaults:r,decorations:i}=o;return i?n[s]=Mqe(e,t,s,r,i):n[s]=e.request.defaults(r),n[s]}};function s4(e){let t={};for(let n of Hg.keys())t[n]=new Proxy({octokit:e,scope:n,cache:{}},Rqe);return t}function Mqe(e,t,n,s,o){let r=e.request.defaults(s);function i(...a){let l=r.endpoint.merge(...a);if(o.mapToData)return l=Object.assign({},l,{data:l[o.mapToData],[o.mapToData]:void 0}),r(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=r.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 r(c)}return r(...a)}return Object.assign(i,r)}function $qe(e){return{rest:s4(e)}}$qe.VERSION=n4;function o4(e){let t=s4(e);return{...t,rest:t}}o4.VERSION=n4;var Pye="22.0.0";var Lye=hv.plugin(X3,o4,t4).defaults({userAgent:`octokit-rest.js/${Pye}`});var bu=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{}}}();bu.trustedTypes===void 0&&(bu.trustedTypes={createPolicy:(e,t)=>t});var Rye={configurable:!1,enumerable:!1,writable:!1};bu.FAST===void 0&&Reflect.defineProperty(bu,"FAST",Object.assign({value:Object.create(null)},Rye));var Bg=bu.FAST;if(Bg.getById===void 0){let e=Object.create(null);Reflect.defineProperty(Bg,"getById",Object.assign({value(t,n){let s=e[t];return s===void 0&&(s=n?e[t]=n():null),s}},Rye))}var bM=Object.freeze([]);function _M(){let e=new WeakMap;return function(t){let n=e.get(t);if(n===void 0){let s=Reflect.getPrototypeOf(t);for(;n===void 0&&s!==null;)n=e.get(s),s=Reflect.getPrototypeOf(s);n=n===void 0?[]:n.slice(0),e.set(t,n)}return n}}var r4=bu.FAST.getById(1,()=>{let e=[],t=[];function n(){if(t.length)throw t.shift()}function s(i){try{i.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}),i4=Mye,hS=`fast-${Math.random().toString(36).substring(2,8)}`,a4=`${hS}{`,vM=`}${hS}`,At=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(i4!==Mye)throw new Error("The HTML policy can only be set once.");i4=e},createHTML(e){return i4.createHTML(e)},isMarker(e){return e&&e.nodeType===8&&e.data.startsWith(hS)},extractDirectiveIndexFromMarker(e){return parseInt(e.data.replace(`${hS}:`,""))},createInterpolationPlaceholder(e){return`${a4}${e}${vM}`},createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder(e){return``},queueUpdate:r4.enqueue,processUpdates:r4.process,nextUpdate(){return new Promise(r4.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 s=n.indexOf(t);s!==-1&&n.splice(s,1)}}notify(t){let n=this.spillover,s=this.source;if(n===void 0){let o=this.sub1,r=this.sub2;o!==void 0&&o.handleChange(s,t),r!==void 0&&r.handleChange(s,t)}else for(let o=0,r=n.length;o{let e=/(:|&&|\|\||if)/,t=new WeakMap,n=At.queueUpdate,s,o=c=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function r(c){let u=c.$fastController||t.get(c);return u===void 0&&(Array.isArray(c)?u=o(c):t.set(c,u=new bv(c))),u}let i=_M();class a{constructor(u){this.name=u,this.field=`_${u}`,this.callback=`${u}Changed`}getValue(u){return s!==void 0&&s.watch(u,this.name),u[this.field]}setValue(u,p){let m=this.field,g=u[m];if(g!==p){u[m]=p;let f=u[this.callback];typeof f=="function"&&f.call(u,g,p),r(u).notify(this.name)}}}class l extends 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=s;s=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let g=this.binding(u,p);return s=m,g}disconnect(){if(this.last!==null){let u=this.first;for(;u!==void 0;)u.notifier.unsubscribe(this,u.propertyName),u=u.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(u,p){let m=this.last,g=r(u),f=m===null?this.first:{};if(f.propertySource=u,f.propertyName=p,f.notifier=g,g.subscribe(this,p),m!==null){if(!this.needsRefresh){let _;s=void 0,_=m.propertySource[m.propertyName],s=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:r,track(c,u){s!==void 0&&s.watch(c,u)},trackVolatile(){s!==void 0&&(s.needsRefresh=!0)},notify(c,u){r(c).notify(u)},defineProperty(c,u){typeof u=="string"&&(u=new a(u)),i(c).push(u),Reflect.defineProperty(c,u.name,{enumerable:!0,get:function(){return u.getValue(this)},set:function(p){u.setValue(this,p)}})},getAccessors:i,binding(c,u,p=this.isVolatileBinding(c)){return new l(c,u,p)},isVolatileBinding(c){return e.test(c.toString())}})});function V(e,t){on.defineProperty(e,t)}var $ye=Bg.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 $ye.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){$ye.set(t)}};on.defineProperty(mp.prototype,"index");on.defineProperty(mp.prototype,"length");var si=Object.seal(new mp);var Wl=class{constructor(){this.targetIndex=0}},_v=class extends Wl{constructor(){super(...arguments),this.createPlaceholder=At.createInterpolationPlaceholder}},yM=class extends Wl{constructor(t,n,s){super(),this.name=t,this.behavior=n,this.options=s}createPlaceholder(t){return At.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}};function Dqe(e,t){this.source=e,this.context=t,this.bindingObserver===null&&(this.bindingObserver=on.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function zqe(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function Nqe(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function jqe(){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 Fqe(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function Uqe(e){At.setAttribute(this.target,this.targetName,e)}function Oqe(e){At.setBooleanAttribute(this.target,this.targetName,e)}function qqe(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 Hqe(e){this.target[this.targetName]=e}function Bqe(e){let t=this.classVersions||Object.create(null),n=this.target,s=this.version||0;if(e!=null&&e.length){let o=e.split(/\s+/);for(let r=0,i=o.length;rAt.createHTML(n(s,o))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=Oqe;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=zqe,this.unbind=Fqe;break;default:this.cleanedTargetName=t,t==="class"&&(this.updateTarget=Bqe);break}}targetAtContent(){this.updateTarget=qqe,this.unbind=jqe}createBehavior(t){return new l4(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}},l4=class{constructor(t,n,s,o,r,i,a){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=n,this.isBindingVolatile=s,this.bind=o,this.unbind=r,this.updateTarget=i,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 c4=null,u4=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(){c4=this}static borrow(t){let n=c4||new e;return n.directives=t,n.reset(),c4=null,n}};function Vqe(e){if(e.length===1)return e[0];let t,n=e.length,s=e.map(i=>typeof i=="string"?()=>i:(t=i.targetName||t,i.binding)),o=(i,a)=>{let l="";for(let c=0;ca),c.targetName=i.name):c=Vqe(l),c!==null&&(t.removeAttributeNode(i),o--,r--,e.addFactory(c))}}function Qqe(e,t,n){let s=zye(e,t.textContent);if(s!==null){let o=t;for(let r=0,i=s.length;r0}let n=this.fragment.cloneNode(!0),s=this.viewBehaviorFactories,o=new Array(this.behaviorCount),r=At.createTemplateWalker(n),i=0,a=this.targetOffset,l=r.nextNode();for(let c=s.length;i=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function W(e,...t){let n=[],s="";for(let o=0,r=e.length-1;ol}if(typeof a=="function"&&(a=new Vg(a)),a instanceof _v){let l=Yqe.exec(i);l!==null&&(a.targetName=l[2])}a instanceof Wl?(s+=a.createPlaceholder(n.length),n.push(a)):s+=a}return s+=e[e.length-1],new xM(s,n)}var wr=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}};wr.create=(()=>{if(At.supportsAdoptedStyleSheets){let e=new Map;return t=>new p4(t,e)}return e=>new m4(e)})();function g4(e){return e.map(t=>t instanceof wr?g4(t.styles):[t]).reduce((t,n)=>t.concat(n),[])}function jye(e){return e.map(t=>t instanceof wr?t.behaviors:null).reduce((t,n)=>n===null?t:(t===null&&(t=[]),t.concat(n)),null)}var Fye=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},Uye=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(n=>t.indexOf(n)===-1)};if(At.supportsAdoptedStyleSheets)try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Fye=(e,t)=>{e.adoptedStyleSheets.push(...t)},Uye=(e,t)=>{for(let n of t){let s=e.adoptedStyleSheets.indexOf(n);s!==-1&&e.adoptedStyleSheets.splice(s,1)}}}catch{}var p4=class extends wr{constructor(t,n){super(),this.styles=t,this.styleSheetCache=n,this._styleSheets=void 0,this.behaviors=jye(t)}get styleSheets(){if(this._styleSheets===void 0){let t=this.styles,n=this.styleSheetCache;this._styleSheets=g4(t).map(s=>{if(s instanceof CSSStyleSheet)return s;let o=n.get(s);return o===void 0&&(o=new CSSStyleSheet,o.replaceSync(s),n.set(s,o)),o})}return this._styleSheets}addStylesTo(t){Fye(t,this.styleSheets),super.addStylesTo(t)}removeStylesFrom(t){Uye(t,this.styleSheets),super.removeStylesFrom(t)}},Kqe=0;function Wqe(){return`fast-style-class-${++Kqe}`}var m4=class extends wr{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=jye(t),this.styleSheets=g4(t),this.styleClass=Wqe()}addStylesTo(t){let n=this.styleSheets,s=this.styleClass;t=this.normalizeTarget(t);for(let o=0;o{s.add(t);let o=t[this.fieldName];switch(n){case"reflect":let r=this.converter;At.setAttribute(t,this.attribute,r!==void 0?r.toView(o):o);break;case"boolean":At.setBooleanAttribute(t,this.attribute,o);break}s.delete(t)})}static collect(t,...n){let s=[];n.push(Oye.locate(t));for(let o=0,r=n.length;o1&&(n.property=r),Oye.locate(o.constructor).push(n)}if(arguments.length>1){n={},s(e,t);return}return n=e===void 0?{}:e,s}var qye={mode:"open"},Hye={},f4=Bg.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 s=kM.collect(t,n.attributes),o=new Array(s.length),r={},i={};for(let a=0,l=s.length;a0){let r=this.boundObservables=Object.create(null);for(let i=0,a=o.length;i0||n>0;){if(t===0){o.push(_4),n--;continue}if(n===0){o.push(v4),t--;continue}let r=e[t-1][n-1],i=e[t-1][n],a=e[t][n-1],l;i=0){e.splice(a,1),a--,i-=l.addedCount-l.removed.length,o.addedCount+=l.addedCount-c;let u=o.removed.length+l.removed.length-c;if(!o.addedCount&&!u)r=!0;else{let p=l.removed;if(o.indexl.index+l.addedCount){let m=o.removed.slice(l.index+l.addedCount-o.index);Qye.apply(p,m)}o.removed=p,l.indexs?n=s-e.addedCount:n<0&&(n=s+e.removed.length+n-e.addedCount),n<0&&(n=0),e.index=n,e}var k4=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 s=n===void 0?Wye(this.source,t):y4(this.source,0,this.source.length,n,0,n.length);this.notify(s)}};function Zye(){if(Jye)return;Jye=!0,on.setArrayObserverFactory(l=>new k4(l));let e=Array.prototype;if(e.$fastPatch)return;Reflect.defineProperty(e,"$fastPatch",{value:1,enumerable:!1});let t=e.pop,n=e.push,s=e.reverse,o=e.shift,r=e.sort,i=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(Yi(this.length,[c],0)),c},e.push=function(){let l=n.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(x4(Yi(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=s.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(Yi(0,[c],0)),c},e.sort=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let u=r.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.splice=function(){let l=i.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(x4(Yi(+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(x4(Yi(0,[],arguments.length),this)),l}}var T4=class{constructor(t,n){this.target=t,this.propertyName=n}bind(t){t[this.propertyName]=this.target}unbind(){}};function Qg(e){return new yM("fast-ref",T4,e)}var S4=e=>typeof e=="function";var aHe=()=>null;function Xye(e){return e===void 0?aHe:S4(e)?e:()=>e}function Re(e,t,n){let s=S4(e)?e:()=>e,o=Xye(t),r=Xye(n);return(i,a)=>s(i,a)?o(i,a):r(i,a)}var exe=Object.freeze({positioning:!1,recycle:!0});function lHe(e,t,n,s){e.bind(t[n],s)}function cHe(e,t,n,s){let o=Object.create(s);o.index=n,o.length=t.length,e.bind(t[n],o)}var w4=class{constructor(t,n,s,o,r,i){this.location=t,this.itemsBinding=n,this.templateBinding=o,this.options=i,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=lHe,this.itemsBindingObserver=on.binding(n,this,s),this.templateBindingObserver=on.binding(o,this,r),i.positioning&&(this.bindView=cHe)}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=bM;return}let n=this.itemsObserver,s=this.itemsObserver=on.getNotifier(this.items),o=n!==s;o&&n!==null&&n.unsubscribe(this),(o||t)&&s.subscribe(this)}updateViews(t){let n=this.childContext,s=this.views,o=this.bindView,r=this.items,i=this.template,a=this.options.recycle,l=[],c=0,u=0;for(let p=0,m=t.length;p0?(_<=k&&v.length>0?(H=v[_],_++):(H=l[c],c++),u--):H=i.create(),s.splice(h,0,H),o(H,r,h,n),H.insertBefore(E)}v[_]&&l.push(...v.slice(_))}for(let p=c,m=l.length;pt;return new E4(e,s,Object.assign(Object.assign({},exe),n))}var uHe=b4` .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 txe(e,t,n,s){let o=["default-focus","button","font-weight-semibold","modal-close"],r=typeof t=="function"?t(e):t;r.classes&&o.push("button-filled");let i=new Set([...r.classes??[],...o]);if(r.url)return W` ${r.label} `;let a=r.object?`${r.action} - ${r.object}`:`${r.action}`;return W` `}function dHe({message:e,title:t,confirmButton:n,cancelButton:s,align:o}){let r=i=>({action:Ne,label:Ne,...typeof s=="function"?s(i):s});return W` ${Re(i=>i.visible,W``)} `}var wM=class extends Gye{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 s=".modal-close, .modal-card .button",o=document.querySelector(".modal-card");if(!o)return;let r=o.querySelectorAll(s),i=r[0],a=r[r.length-1];document.addEventListener("keydown",l=>{(l.key==="Tab"||l.keyCode===9)&&(l.shiftKey?(document.activeElement===i||r.length===1)&&(a.focus(),l.preventDefault()):(document.activeElement===a||r.length===1)&&(i.focus(),l.preventDefault()))})})}hideVerticalScrollbar(){document.getElementsByTagName("html")[0].style.overflowY="hidden"}showVerticalScrollbar(){document.getElementsByTagName("html")[0].removeAttribute("style")}};U([V],wM.prototype,"visible",2);var EM=class extends wM{showModal(t,n,s){this.visible=!0,this.hideVerticalScrollbar(),this.confirmCallback=t,this.cancelCallback=n,this.closeCallback=s,this.setFocus()}confirm(){super.confirm(),this.confirmCallback&&this.confirmCallback()}cancel(){super.cancel(),this.cancelCallback&&this.cancelCallback()}close(){super.close(),this.closeCallback&&this.closeCallback()}};function nxe(e,t,n){return EM.define(class extends EM{},{name:e,template:dHe(n),styles:uHe,shadowOptions:null,attributes:t??[]})}var C4=0;function CM(e,t){if(typeof e!="string"){let o=e;e="";for(let r in o)e+=o[r]+"
    "}let n=document.getElementById("error-modal");n&&document.body.removeChild(n),nxe(`error-modal-${C4}`,[],{message:W`

    ${e}

    `,title:"",confirmButton:t,align:"center"});let s=document.createElement(`error-modal-${C4}`);s.id="error-modal",document.body.appendChild(s),s.showModal(),C4++}function AM(...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},s=new URL(location.href),o=n(s,"branch","themebranch","branchFallbackFrom","pr"),r=o.toString()!==""?"?"+o.toString():"",i=`/${b.data.userLocale}/editor/`+t(e)+r;return new URL(i,s)}function sxe(e){e||(e=AM());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 pHe=Lye.plugin(U3,mM),mHe={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.")}},gHe={doNotRetry:[429,409,404]};function A4(){let e=localStorage.getItem("gitHubToken");return e?JSON.parse(e):null}var fHe=()=>{localStorage.removeItem("gitHubToken"),location.href=sxe()};async function I4(e){let t=new pHe({auth:e,retry:gHe,throttle:mHe});try{return(await t.users.getAuthenticated({headers:{"If-None-Match":""}})).data.login}catch(n){throw CM({message:r9},{label:c9,action:"",object:"",classes:["button-primary renew-github-token"]}),document.addEventListener("confirm",o=>fHe()),hHe({message:n.toString(),function:"getAuthenticatedUser"}),n}}async function oxe(){let e={method:"GET"},t=await M(J(`${$.buildAuthAdmin}/opensource/link/github`,e,!0));return me(t),t.ok?await t.json():null}var IM=`pageInfo { endCursor hasNextPage hasPreviousPage startCursor }`,P4=`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 } ${IM} totalCount } head: headRef { name prefix repository { name nameWithOwner owner { login } } } isDraft merged mergedAt repository { name nameWithOwner owner { login } } state updatedAt url } }`,L4=`rateLimit { cost limit nodeCount remaining resetAt used }`,uFt=`query Drafts ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${P4} ${IM} } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${L4} }`,dFt=`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, ${P4} ${IM} } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${L4} }`,pFt=`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 ${P4} ${IM} } ${L4} }`;function hHe(e){ye({actionType:we.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",...e}})}Ve();Wp();var bHe=/https:\/\/github.com\/(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*\.[a-zA-Z]+)([?])?/;function rxe(e,t=bHe){let n="",s="",o="",r="";try{let i=t.exec(e);i&&i.length>1&&(n=i[1]??""),i&&i.length>2&&(s=i[2]??""),i&&i.length>3&&(r=i[4]??""),i&&i.length>4&&(o=i[5]??"")}catch(i){CM(o9),ye({actionType:we.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",message:i}})}return{owner:n,repo:s,path:o,branch:r}}async function R4(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 PM(e){return Array.from(e?.querySelectorAll("meta")??[]).reduce((t,n)=>{let s=(n.name||n?.getAttribute("property"))??"";return t[s]=n.content,t},{})}var M4={template:"",forkUrl:"",branch:"",path:"",repo:"",owner:"",originalContent:""};function ixe(e){let t="",n="",s="",o="",r="",a=PM(e)?.original_content_git_url??"";({branch:o,path:r,repo:s,owner:n}=rxe(a)),M4={template:"",forkUrl:"",branch:o,path:r,repo:s,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,s]=(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")??""),M4={template:c,forkUrl:t,branch:o,path:m,repo:s,owner:n,originalContent:a}}}return M4}function axe(e,t,n,s){return d` `}function lxe(e,t){let n=a9,s=l9,o="",r=t.getAttribute("href")||"";switch(t.removeAttribute("href"),e){case 0:n=n.replace("{name}",qp),s=s.replace("{name}",qp).replace("{href}","https://learn.microsoft.com/en-us/contribute/");break;case 1:n=n.replace("{name}",qp),s=s.replace("{name}",qp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn");break;case 2:n=n.replace("{name}",qp),s=s.replace("{name}",qp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),o=i9;break;case 3:n=n.replace("{name}",KC),s=s.replace("{name}",KC).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),r=_He().toString();break}return{title:n,description:s,link:r,moreInfo:o}}function _He(){let e=PM(document),t=e.platform_id||"",n=e.monikers??"",{owner:s,repo:o,branch:r,path:i}=ixe(document);return AM(`${s}/${o}/${encodeURIComponent(i)}/${encodeURIComponent(r)}${t?`/${t}/${n??""}`:""}`)}Ve();var Yg=class e extends Error{constructor(t,n,{errorCode:s,message:o},...r){super(...r),Object.setPrototypeOf(this,e.prototype),this.type=t,this.name=this.constructor.name,this.status=n,this.errorCode=s,this.message=o,this.detail={assessmentId:null,certificationUid:null,snapshotId:null}}};function bS(){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 _S(){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 cxe(){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 uxe(){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 dxe(){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 oi(e,t){return Math.round(Math.max(0,Math.min(1,e/t))*100)}var $4=class{constructor(t,n,s){let r=Th(t,["id","isCorrect","questionnaireId","text","textHTML"]);this.id=r.id,this.createdAtUTC="0001-01-01T00:00:00",this.isCorrect=r.isCorrect,this.locale=s,this.questionId=n,this.questionnaireId=r.questionnaireId,this.text=r.text,this.textHtml=r.textHTML}},vS=class{constructor(t,n,s){this.choices=l0(t.map(o=>new $4(o,n,s)))}},D4=class{constructor(t,n){let o=Th(t,["activityLog","id","choices","choiceCount","questionnaireId","text","type"]),r=["createdAtUTC"],i=Th(o.activityLog,r);this.id=o.id,this.createdAtUTC=i.createdAtUTC,this.choices=new vS(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 z4=class{constructor(t,n){let o=Th(t,["correctChoice","question","userChoice"]),r=new D4(o.question,n);this.correctChoice=new vS(o.correctChoice,r.id,n).choices,this.question=r,this.userChoice=new vS(o.userChoice,r.id,n).choices}},LM=class{constructor(t,n){this.items=l0(t.map(s=>new z4(s,n)))}};var BUt=mt(),VUt=b.data.userLocale;function Ki(e){return JSON.parse(JSON.stringify(e))}function RM(e){let t=e&&e.skipVerification,n=e&&t?e.accomodationRequested??!1:!1,s=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"},...s?[{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 kHe(){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 _u={createSession:async e=>RM(e),getSessionAnswerSummary:async()=>kHe(),getSessionResult:async()=>RM(),getPreviousAttemptsByParentId:async()=>[RM()],getRenewalEligibility:async()=>{},submitSession:async()=>RM()};var SOt=mt(),wOt=b.data.userLocale;var yv={getStatus(e){let t=`${$.achievements}/xp/${e}`;return M(J(t,{mode:"cors"},!0)).then(me).then(s=>{if(s.ok)return s.json();throw new Jt(s)})},getAchievements(e,t){let n={locale:t},s=`${$.achievements}/user/${e}?${ie(n,!1)}`;return M(J(s,{mode:"cors"},!0)).then(me).then(r=>{if(r.ok)return r.json();throw new Jt(r)})},redeemCode(e){let t={mode:"cors",method:"post",credentials:"include"},n=`${$.achievements}/redeem/${e}`,s={branch:R.supportLevel==="production"?"main":void 0},o=`${n}?${ie(s,!1)}`,r=J(o,t,!0);return fetch(r,t).then(me).then(i=>i.json())},requestCode(e,t,n){let s={achievementCategory:e,courseId:t,useCount:n};e===6&&S.learningPathIlt&&(s.courseId=void 0,s.learningPathId=t);let r=`${$.achievements}/code`,i={branch:R.supportLevel==="production"?"main":void 0},a=`${r}?${ie(i,!1)}`,l={mode:"cors",body:JSON.stringify(s),method:"put",credentials:"include"};return M(J(a,l,!0)).then(me).then(c=>c.json())}};Ve();function pxe(e){let t=Math.floor(e.videoTimeSeconds),n=e.startTime===e.eventTime||e.startTime===void 0?0:as(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,s=e.freezeTimeAfterReplay??0,o=e.secondsNormalSpeedAfterReplay??0,r=e.secondsDiffSpeedAfterReplay??0,i=e.reStartTime!==void 0?as(e.eventTime-e.reStartTime)-s-o+r:e.startTime===e.eventTime||e.startTime===void 0?0:as(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,a=e.videoData.publicVideo.durationInMillisecond,l=as(a),c=t>0?Math.floor(t/l*100):0,u=Math.floor(n/l*100);ye({behavior:e.behaviorCode,actionType:we.OTHER,content:{vidnm:e.videoData.title,vidid:e.videoData.id,vidpct:c,vidpctwtchd:u,vidwt:t,viddur:l,vidtimeseconds:i,sessiontimeseconds:n,live:!1,parentpage:location.origin,containerName:"learnvideoplayer",currentCaptions:e.languageCaptions}})}function mxe(e,t,n,s,o){return e!==0&&t&&(n+=ee?re?r{s&&setTimeout(()=>{i(`${e} load timeout`)},s);let a=document.createElement("script");a.src=e,o&&a.setAttribute("data-callback","setupEnforcement"),a.async=!0,a.defer=!0,a.onload=r,t&&(a.integrity=t,a.crossOrigin="anonymous"),a.onerror=()=>{i(`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 hxe="2.3.11.2",QOt=`/static/third-party/azure-media-player/${hxe}/azuremediaplayer.min.js`,YOt=`/static/third-party/azure-media-player/${hxe}/azuremediaplayer.min.css`;var xv,j4;function THe(){let e=location.href,t="#time=";if(e.includes(t)){let n=e.substring(e.indexOf(t)+t.length);return N_(n)}return N_("0s")}function SHe(){if(!location.hash.startsWith("#time="))return;let e=xv.paused(),t=THe();t>0&&t{xv!==void 0&&SHe()});function yS(e){let t=new URL(e,location.origin),n=decodeURIComponent(t.pathname).toLowerCase().replace(jT,"$1").replace(tp,"/"),s=t.searchParams.get("view");if(s&&(t.search="",t.searchParams.set("view",s),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 bxe(e){e.type!=="docs"&&e.type!=="qa"&&e.type!=="url"&&(e.type="docs"),e.type!=="url"&&e.data.url&&(e.data.url=yS(e.data.url))}function yo(e){e.items?.forEach(bxe),e.sections?.forEach(t=>t.items?.forEach(bxe))}var ut={baseUrl:$.lists,async getAllLists(e=!1){let t=J(`${this.baseUrl}${e?`?${ie({ignoreEmptyLists:!0})}`:""}`,{}),n=await M(t);if(me(n),n.ok){let s=await n.json();return s.forEach(yo),s}throw n.status===401?new Oe(n,"UnauthorizedError"):new Oe(n,"UnexpectedError")},async getAllListsByUrl(e){let t=[];e.forEach(r=>{t.push(yS(r))});let n=JSON.stringify(t),s=J(`${this.baseUrl}/by-url`,{method:"POST",body:n}),o=await M(s);if(me(o),o.ok)return{hasError:!1,data:await o.json()};throw new Oe(o,"UnexpectedError")},async getList(e){let t={locale:b.data.userLocale,useNewFlow:!0},n=`${this.baseUrl}/${e}?${ie(t)}`,s=J(n,{},!0),o=await M(s);if(me(o),o.ok){let r=await o.json();return yo(r),{hasError:!1,data:r}}throw o.status===401?new Oe(o,"UnauthorizedError"):o.status===404?new Oe(o,"NotFoundError"):o.status===403?new Oe(o,"ForbiddenError"):new Oe(o,"UnexpectedError")},async getStudyGuideList(e,t,n=oe().apiBranchParam){let s={locale:b.data.userLocale,branch:R.supportLevel==="production"&&R.reviewFeatures?n:null},o={credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":void 0},r=`${this.baseUrl}/studyguide/${e}/${t}?${ie(s)}`,i=J(r,o,!0),a=await M(i);if(me(a),a.ok){let l=await a.json();return yo(l),l}throw a.status===404?new Oe(a,"NotFoundError"):new Oe(a,"UnexpectedError")},async createList(e){let t=JSON.stringify(e),n=J(this.baseUrl,{method:"POST",body:t},!0),s=await M(n);if(me(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw s.status===401?new Oe(s,"UnauthorizedError"):new Oe(s,"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 Oe(n,"UnexpectedError")},async copyList(e,t,n){let s=JSON.stringify({name:t,description:n}),o=J(`${this.baseUrl}/copy/${e}`,{method:"POST",body:s},!0),r=await M(o);if(me(r),r.ok){let i=await r.json();return yo(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Oe(r,"UnexpectedError")},async submitForLocalize(e){let n=J(`${this.baseUrl}/${e}/localize`,{method:"PATCH",body:"true"},!0),s=await M(n);if(me(s),s.ok){let o=await s.json();return yo(o),{hasError:!1,data:o}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Oe(s,"UnexpectedError")},async convertList(e){let n=J(`${this.baseUrl}/${e}/official`,{method:"PATCH",body:"true"},!0),s=await M(n);if(me(s),s.ok){let o=await s.json();return yo(o),{hasError:!1,data:o}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Oe(s,"UnexpectedError")},async toggleListPrivacy(e,t){let n=t.toString(),s=J(`${this.baseUrl}/${e}/private`,{method:"PATCH",body:n},!0),o=await M(s);if(me(o),o.ok){let r=await o.json();return yo(r),{hasError:!1,data:r}}if(o.status===400)return{hasError:!0,error:await o.json()};throw new Oe(o,"UnexpectedError")},async toggleShowUserDisplayName(e,t){let n=t.toString(),s=J(`${this.baseUrl}/${e}/showuserdisplayname`,{method:"PATCH",body:n},!0),o=await M(s);if(me(o),o.ok){let r=await o.json();return yo(r),{hasError:!1,data:r}}if(o.status===400)return{hasError:!0,error:await o.json()};throw new Oe(o,"UnexpectedError")},async updateListMetadata(e,t){let n=JSON.stringify({name:t.name,description:t.description}),s={useNewFlow:!0},o=J(`${this.baseUrl}/${e}?${ie(s)}`,{method:"PATCH",body:n},!0),r=await M(o);if(me(r),r.ok){let i=await r.json();return yo(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Oe(r,"UnexpectedError")},async sortList(e,t){let n={locale:b.data.userLocale},s=`${this.baseUrl}/${e}?${ie(n)}`,o=JSON.stringify(t),r=J(s,{method:"PUT",body:o},!0),i=await M(r);if(me(i),i.ok){let a=await i.json();return yo(a),{hasError:!1,data:a}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Oe(i,"UnexpectedError")},async addItem(e,t){let n=JSON.stringify(t),s=J(this.baseUrl+"/"+e,{method:"POST",body:n},!0),o=await M(s);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 Oe(o,"UnexpectedError")},async deleteItem(e,t){let n=J(this.baseUrl+"/"+e+"/"+t,{method:"DELETE"},!0),s=await M(n);if(me(s),!(s.ok||s.status===204))throw new Oe(s,"UnexpectedError")},async updateItem(e,t,n){let s=JSON.stringify(n),o=J(`${this.baseUrl}/${e}/${t}`,{method:"PUT",body:s},!0),r=await M(o);if(me(r),r.ok)return{hasError:!1,data:await r.json()};if(r.status===400||r.status===403)return{hasError:!0,error:await r.json()};throw new Oe(r,"UnexpectedError")},async getListsItems(e){let t={uid:e.join(","),locale:b.data.userLocale},n=J(`${this.baseUrl}/items/?${ie(t)}`,{}),s=await M(n);if(me(s),s.ok)return(await s.json()).items;throw new Oe(s,"UnexpectedError")},async createSection(e,t,n,s){let o=JSON.stringify({name:t,description:n,daysToComplete:s}),r=J(`${this.baseUrl}/${e}/section`,{method:"POST",body:o},!0),i=await M(r);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 Oe(i,"UnexpectedError")},async updateSection(e,t,n,s,o){let r=JSON.stringify({name:n,description:s,daysToComplete:o}),i=J(`${this.baseUrl}/${e}/section/${t}`,{method:"PATCH",body:r},!0),a=await M(i);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 Oe(a,"UnexpectedError")},async deleteSection(e,t){let n=J(`${this.baseUrl}/${e}/section/${t}`,{method:"DELETE"},!0),s=await M(n);if(me(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw new Oe(s,"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 kv(e=O.document,t=!1){let n;if(typeof e=="string")if(!t&&new URL(nt(e,b.data.userLocale),O.location.origin).href===O.location.href)e=O.document,n=new URL(O.location.href);else{let c=await R4(e);n=c.url,e=c.document}else n=new URL(e.URL);let s=QA(e),o=()=>s.page_type==="show"&&s.type?s.type:s.page_kind||"",r=new RegExp(`^/${b.data.userLocale}/answers[$/]`,"i"),i;n.pathname.match(r)?i="qa":i="docs";let a=n.toString(),l=null;return(n.pathname.indexOf("/learn/challenges")!==-1||n.pathname.indexOf("/training/challenges")!==-1)&&(l=lo().id),{type:i,data:{url:yS(a),rawUrl:a,title:s["og:title"]||e.title,docId:s.document_id||"",docVIId:s.document_version_independent_id||"",platformId:s.platform_id||"",pageType:s.page_type||"",pageKind:o(),uid:s.uid||"",challengeId:l,eventUid:s.eventUid||"",durationInMillisecond:j4||null,showId:s.showId||""}}}function _xe(e,t){return{type:"url",data:{url:e,rawUrl:"",title:t,docId:"",docVIId:"",platformId:"",pageType:"",pageKind:"",uid:"",challengeId:"",eventUid:"",durationInMillisecond:null,showId:""}}}var eo={async getSkillingPlan(e){let t={locale:b.data.userLocale},n=`${$.lists}/skillingPlan/${e}?${ie(t)}`,o=J(n,{method:"GET"}),r=await M(o);if(me(r),r.ok){let i=await r.json();return await gp(i),i}throw new Error(`${r.status}: ${r.statusText}`)},async completeSkillingPlan(e){let t=`${$.lists}/completeSkillingPlan`,s={method:"POST",body:JSON.stringify(e)},o=await M(J(t,s));if(me(o),o.ok){let r=await o.json();return await gp(r),{hasError:!1,data:r}}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`,s={method:"POST",body:JSON.stringify(e)},o=await M(J(t,s));if(me(o),o.ok){let r=await o.json();return await gp(r),{hasError:!1,data:r}}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)},r=await M(J(n,o));if(me(r),r.ok){let i=await r.json();return await gp(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async modifySkillingPlan(e,t){let n=`${$.lists}/skillingPlan/${e}`,o={method:"PATCH",body:JSON.stringify(t)},r=await M(J(n,o));if(me(r),r.ok){let i=await r.json();return await gp(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async modifyPlanList(e,t){let n=`${$.lists}/skillingPlan/${e}/list`,o={method:"PATCH",body:JSON.stringify(t)},r=await M(J(n,o));if(me(r),r.ok){let i=await r.json();return await gp(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async deleteSkillingPlan(e){let t=`${$.lists}/skillingPlan/${e}`,s=await M(J(t,{method:"DELETE"}));if(me(s),!s.ok)throw new Error(`${s.status}: ${s.statusText}`)},async getJoinedSkillingPlans(e=0,t=12,n){let s=`${$.lists}/skillingPlan/joined/${n}?${ie({page:e+1,pageSize:t})}`,o=J(s,{},!0),r=await M(o);if(me(r),r.ok)return await r.json();throw new Error(`${r.status}:${r.statusText}`)},async getCreatedSkillingPlans(e=0,t=12){let n=t===-1?"":"?"+ie({page:e+1,pageSize:t}),s=`${$.lists}/skillingPlan/created${n}`,o=J(s,{},!0),r=await M(o);if(me(r),r.ok)return await r.json();throw new Error(`${r.status}:${r.statusText}`)},async joinSkillingPlan(e){let n=oe(location.search).learnerGroupId,s=`${$.lists}/skillingPlan/${e}/join?${ie({registrationType:1,learnerGroupId:n||""})}`,o=J(s,{method:"POST"},!0,!1),r=await M(o);if(me(r),r.ok){let i=await r.json();return gp(i),{hasError:!1,data:i}}throw new Error(`${r.status}:${r.statusText}`)},async leaveSkillingPlan(e){let t=`${$.lists}/skillingPlan/${e}/leave`,n=J(t,{method:"POST"},!0,!1),s=await M(n);if(me(s),s.ok){let o=await s.json();return gp(o),{hasError:!1,data:o}}throw new Error(`${s.status}:${s.statusText}`)},async trackClick(e,t){let n=`${$.lists}/skillingPlan/${e}/trackClick/${t}`,s=J(n,{method:"POST"},!0,!1),o=await M(s);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),s=await M(n);if(me(s),s.ok)return await s.json();throw new Error(`${s.status}:${s.statusText}`)},async createLearnerGroup(e,t,n=""){let s=`${$.lists}/skillingPlan/${e}/learnerGroup`,r={method:"POST",body:JSON.stringify({name:t,description:n})},i=await M(J(s,r));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 Error(`${i.status}:${i.statusText}`)},async updateLearnerGroup(e,t,n,s=""){let o=`${$.lists}/skillingPlan/${e}/learnerGroup/${t}`,i={method:"PATCH",body:JSON.stringify({name:n,description:s})},a=await M(J(o,i));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),yo(e.contentList)}function wHe(e){return e.type==="bookmarks"&&(e.name=PE),e}var xS=null;async function yxe(e=()=>!0,t=!1){if(!xS)try{xS=(await ut.getAllLists(t)).map(wHe)}catch{xS=null}return xS?.filter(e)??null}async function xxe(){return w.isAuthenticated===!1?[]:(await eo.getCreatedSkillingPlans(0,-1)).skillingPlans}function kxe(e){return xS=null,ut.createList(e)}async function MM(){let e=Xn()||"",t=await tm(e),n=["MicrosoftEmployee","MicrosoftAgencyTemporary","MicrosoftVendor","MicrosoftIntern"];return t?t.affiliations.some(s=>n.includes(s)):!1}function EHe(e,t=!1){switch(e){case"MicrosoftEmployee":return p9;case"MicrosoftAgencyTemporary":case"MicrosoftVendor":return m9;case"MicrosoftIntern":return g9;case"RegionalDirector":return f9;case"Mvp":return t?jie:d9;case"StudentAmbassador":return t?Fie:h9;default:return""}}function $M(e){let t=e?e[0]:"";return EHe(t)}function F4(e,t){e=decodeURIComponent(e);let n=kr(e,t.target),s=d``,o=d``;if(n){let r=document.createElement("div");y(o,r),new ve(r).show()}}async function Txe(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 s=n.dataset.original_content_git_url,o=n.dataset.original_content_git_url_template,r=n.dataset.pr_repo,i=n.dataset.pr_branch;o&&o.length&&r&&r.length&&i&&i.length?n.setAttribute("href",o.replace("{repo}",r).replace("{branch}",i)):s&&s.length&&n.setAttribute("href",s)}AHe(t)}async function CHe(e){let t=document.createElement("div");t.classList.add("modal-content");let n=new ve(t);return y(e,t),n.show()}async function AHe(e){if(!Qe("edit-in-editor",{require:!0}))return;console.log("edit-in-editor flag running.");let t=await IHe();for(let n of e){let{title:s,description:o,link:r,moreInfo:i}=lxe(t,n);n.addEventListener("click",function(a){a.preventDefault(),CHe(axe(s,o,r,i))}),n.hidden=!1}}async function IHe(){if(!w.isAuthenticated||!await MM())return 0;if(!PHe())return 1;let e=A4();return await LHe(e)?3:2}function PHe(){let e=QA(document);return e?.original_content_git_url?e?.original_content_git_url?.endsWith(".md"):!1}async function LHe(e){if(!e)return!1;let t=e?await I4(e.access_token):null,n=await oxe();return t&&n&&n.login&&n.login.toLowerCase()===t.toLowerCase()}async function Sxe(e){let t={method:"POST",body:e,credentials:"same-origin"},n=new Request($.siteFeedback,t),s=await M(n);if(!s.ok)throw new Error(`Error fetching ${n.url}`);return s}var RHe=["jpeg","jpg","png","gif"],MHe=1024*1024*5;function wxe(e){let t=[];return Array.from(e).forEach(n=>{(n.type.split("/")[0]!=="image"||RHe.indexOf(n.type.split("/")[1])===-1)&&t.push(sie.replace("{fileName}",n.name)),n.size>=MHe&&t.push(oie.replace("{fileName}",n.name))}),t}A();A();var gn={"functionality-other":mJ,"learn-content-other":fJ,"feature-request":pJ,"category-general":gJ,"tutorial-content-quality":lJ,"learn-credit-problem":bJ,"sandbox-problem":yJ,"registration-problem":vJ,"problem-with-cloudshell":rJ,"problem-with-install":aJ,"problem-with-dotnet-editor":iJ,"content-mistake":dJ,"content-question":hJ,"translation-quality":xJ,"category-other":_J},$He=[{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"]}],DHe={type:"reportIssue",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:$He},zHe=[{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"]}],NHe={type:"tutorialFeedback",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:zHe};function Exe(e,t){let n=jHe(t),s=FHe(n);y(s,e)}function jHe(e){return e==="reportIssue"?DHe:NHe}function FHe(e){return d`

    ${tJ}

    ${TJ}
    ${e.categories.map(t=>d``)}
    ${e.categories.filter(t=>t.subCategories!==void 0).map(t=>d` `)}
    `}var U4=!1;lt.subscribe(bn,()=>{H4("reportIssue")});var Cxe=e=>{e.disabled=!1,e.classList.remove("is-loading")},q4=e=>e.querySelector("input:checked"),UHe=(e,t)=>{let n=!1,s=e!=null&&"subCategory"in e.dataset&&e.dataset.subCategory||null;for(let o in t){let r=s!==o,i=t[o].closest("div.field");t[o].disabled=r,i.hidden=r;let a=Array.from(i.querySelectorAll(".radio"));r?a.forEach(l=>{l.querySelector("input").removeAttribute("required")}):(n=!0,a.forEach(l=>{l.querySelector("input").setAttribute("required","")}))}return n},Axe=e=>e.dispatchEvent(new CustomEvent("opened",{bubbles:!1})),OHe=(e,t,n)=>{UHe(e,t)||Axe(n)},qHe=e=>{Array.from(e.querySelectorAll("[id^='feedback-report-category-'] .radio")).forEach(n=>{n.querySelector("input").setAttribute("required","")}),Axe(e)},HHe=e=>{e.hidden=!1},BHe=e=>{let t=e.target;if(!t.files||t.files.length===0)return;let n=document.querySelector("#attachment-validation"),s=wxe(t.files),o=t.parentElement.querySelector("#feedback-report-attachment-file-name");if(s.length){let i=s.map(a=>d`

    ${a}

    `);y(d`${i}`,n),n.hidden=!1,y(d``,o);return}let r=Array.from(t.files).map(i=>i.name).join(", ");y(d`${r}`,o),y(d``,n),n.hidden=!0},VHe=e=>{e.disabled=!0,e.classList.add("is-loading")},O4=e=>e.hidden=!0,GHe=()=>{let e=document.getElementById("feedback-report-category"),t=q4(e),n=t.value,s=t.parentElement.textContent.trim();return{value:n,text:s}},QHe=e=>{let t=document.getElementById("feedback-report-category"),n=q4(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],r=o.value,i=o.parentElement.textContent.trim();return{valueSub:r,textSub:i}},YHe=e=>new FormData(e),Ixe=e=>e.hidden=!1,KHe=(e,t,n,s)=>{e.classList.remove("is-hidden"),s.classList.add("is-hidden"),t.classList.add("is-hidden"),n.classList.add("is-hidden")},Pxe=(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 r=o.querySelector("input");r.setAttribute("required",""),r.checked=!1});for(let o in t){let r=t[o].closest("div.field"),i=e.querySelector("#feedback-form-info");r.hidden=!0,i.hidden=!0}y(d``,n)},WHe=async(e,t,{successMessage:n})=>{let{value:s,text:o}=GHe(),{valueSub:r,textSub:i}=QHe(t);e.feedbackCategory&&(e.feedbackCategory.value=o),e.category.value=r||s,e.issueType&&(e.issueType.value=i),R.reviewFeatures&&(e.summary.value=`[TEST] ${e.summary.value}`),Sxe(YHe(e)),Ixe(n),Pxe(e,t)},JHe=(e,t,n,s,{successMessage:o})=>{e.classList.add("is-hidden"),O4(o),s.classList.remove("is-hidden"),t.classList.remove("is-hidden"),t.disabled=!0,n.classList.remove("is-hidden")};async function H4(e,t,n=!1){let s=document.querySelector(".feedback-report");if((!S.feedbackReport||!s)&&!n)return;Exe(s,e);let o=document.querySelector("#feedback-report-form");if(o===null||U4)return;U4=!0,Sg(()=>{U4=!1});let r=o.querySelector("#feedback-report-error-message"),i=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 x=ar.get("ai_session");o.aiSessionId.value=x!==void 0?x.split("|")[0]:"";let{uid:v,documentId:k,versionIndependentDocumentId:I,platformId:E,contentPath:H,url:F,author:pe}=oe(t);o.uid.value=v,o.documentId.value=k,o.versionIndependentDocumentId.value=I,o.platformId.value=E,o.contentPath.value=H,o.url.value=F,o.author.value=pe;let Ce=()=>{if(!o.checkValidity()){u.disabled=!0;return}Cxe(u)};Ft(i,"change",()=>{let bt=q4(i);bt?bt.dispatchEvent(new CustomEvent("selected")):bt=null}),Ft(m,"input",()=>{Ce()}),Ft(g,"input",()=>{Ce()});let ce=Array.from(i.querySelectorAll("input"));Array.from(ce).forEach(bt=>Ft(bt,"selected",()=>OHe(bt,a,o))),Object.keys(a).forEach(bt=>Ft(a[bt],"change",()=>{qHe(o)})),Ft(o,"opened",()=>HHe(c)),Ft(l,"change",BHe),Ft(o,"submit",async bt=>{if(bt.preventDefault(),!u.disabled){VHe(u),O4(r),O4(p);try{await WHe(o,a,{successMessage:p}),KHe(f,u,_,h)}catch{Ixe(r)}Cxe(u)}}),Ft(_,"click",()=>{Pxe(o,a)}),Ft(f,"click",()=>{JHe(f,u,_,h,{successMessage:p})})}A();A();var ZHe={"01-yes-content-easy":SJ,"02-yes-problem-solved":CJ,"03-yes-information-easy":IJ,"04-yes-learned-smth-new":AJ,...b.data.userLocale!=="en-us"?{"05-yes-localization":qz}:{},"00-yes-other":ca},XHe={"01-no-content-hard":wJ,"02-no-example-problem":OJ,"03-no-discovery-issue":EJ,"04-no-outdated-content":PJ,...b.data.userLocale!=="en-us"?{"05-no-localization":qz}:{},"00-no-other":ca},Mxe={"ask-the-community":uG,"get-product-support":aZ,"get-help-at-qna":iZ};function $xe(){let e=S.usingStandardFeedback||S.openSourceFeedback;return d` `}function Lxe(){return!!(b.data.feedbackHelpLinkType&&b.data.feedbackHelpLinkType in Mxe&&b.data.feedbackHelpLinkUrl)}function Dxe(){return d`

    ${Wie}

    ${Kre}

    `}function B4(e,t,n,s,o){return d` `}function Rxe(e,t){let n=[];for(let s in e)n.push(d` `);return n}function zxe(){window.addEventListener("form-validating",e=>{e.detail.errors?.length>=0&&(V4(e.detail.form,e.detail.errors),eBe(e.detail.form,e.detail.errors))}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;Tv(t)})}function V4(e,t){let n=e.querySelector(".checkbox-group.required:not([hidden])");if(!n)return;let s=n.querySelectorAll('input[type="checkbox"]');if(!s)return;if(n.querySelectorAll('input[type="checkbox"]:checked').length<1){n.classList.add("errored"),s.forEach(l=>l.closest(".checkbox")?.classList.add("is-invalid"));let r=By,i=n.querySelector('input[type="checkbox"]');Uo(i,r),Nxe(t,i,r);let a=`${ms} ${JJ}`;ht(a,"assertive")}}function eBe(e,t){let n=e.querySelector(".choice-selection.required");if(!n)return;let s=n.querySelectorAll(".thumb-rating-button");if(!s)return;if(!n.querySelector(".thumb-rating-button.button-selected")){n.classList.add("errored"),s.forEach(a=>{a.classList.add("button-danger"),a.querySelector(".icon")?.classList.add("color-danger")});let r=Uf;Uo(s[0],r),Nxe(t,s[0],r);let i=`${ms} ${ZJ}`;ht(i,"assertive")}}function Nxe(e,t,n){e.find(s=>s.message===n)||e.push({input:t,message:n})}function Tv(e){let t,n,s=e.closest("form");s&&(e instanceof HTMLInputElement?t=e.closest(".suggestions-list.errored"):e instanceof HTMLButtonElement&&(t=s.querySelector(".suggestions-list.errored"),n=s.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")),s.querySelector("[data-feedback-suggestions] .field-error")?.remove(),s.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")}),s.querySelector("[data-feedback-rating] .field-error")?.remove(),s.querySelector("[module-assessment-ai-feedback-rating] .field-error")?.remove())))}function tBe(e){return e.querySelector("[data-feedback-suggestions]")}function DM(e){let t=tBe(e)?.querySelectorAll(".suggestions-list:not([hidden]) .checkbox > input:checked")??[];return Array.from(t)}var zM=!1;function NM(){let e=location.pathname;return b.data.pageTemplate==="ModuleUnit"?e.substring(0,e.lastIndexOf("/")+1):e}async function jM(e){let t=document.getElementById("user-feedback"),n=document.getElementById("site-user-feedback-footer");if(e==="ModuleUnit"&&(zM=!1),!t&&!n)return;if(b.data.isArchived){let o=document.querySelector("[data-hide-on-archived]");o&&(o.hidden=!0);return}sBe(),jxe(),nBe(),zxe(),uBe();let s=oBe();aBe(s,e==="Module"||e==="ModuleUnit"?"training-feedback":"standard-feedback"),await iBe(s)}function jxe(e=localStorage){let t=e.getItem(`binary-rating-${NM()}`);t!=="rating-yes"&&t!=="rating-no"||(kS(t),Kg(t))}function kS(e,t=Array.from(document.querySelectorAll("[data-binary-rating-response]"))){if(!zM)for(let n of t){let s=n.dataset.binaryRatingResponse===e;n.classList[s?"add":"remove"]("button-selected"),n.classList.contains("link-button")||n.classList[s?"add":"remove"]("is-selected"),n.setAttribute("aria-pressed",s?"true":"false")}}function nBe(){let e=t=>{if(!(t.target instanceof HTMLElement&&t.target.closest("[data-user-feedback-button]")))return;let s=localStorage.getItem(`binary-rating-${NM()}`);!s||s!=="rating-no"&&s!=="rating-yes"||(kS(s),Kg(s))};window.addEventListener("click",e)}function sBe(){let e=t=>{let n=t.target instanceof HTMLElement&&t.target.closest("[data-binary-rating-response]");if(!n)return;let s=n.dataset.binaryRatingResponse;s!=="rating-no"&&s!=="rating-yes"||(n.classList.contains("button-selected")||Tv(n),kS(s),Kg(s),zM||localStorage.setItem(`binary-rating-${NM()}`,s))};window.addEventListener("click",e)}function oBe(){let e=document.createElement("div"),t=$xe();return y(t,e),jxe(),new ve(e)}async function rBe(){let[e,t,n,s]=await Promise.all([Tr("ask-learn-on-articles"),Tr("ask-learn-on-reference"),Tr("ask-learn"),_e.then(()=>w.isAuthenticated)]);return Qe("ask-learn-popover",{require:!0})?{enabled:!0,userAuthenticated:s}:Qe("disable-ask-learn-popover",{require:!0})?{enabled:!1,userAuthenticated:s}:{enabled:e||t||n,userAuthenticated:s}}async function iBe(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:r,userAuthenticated:i}=await rBe(),a=b.data.userLocale.substring(0,2).toLocaleLowerCase()==="en";if(r&&i&&a&&o){t.forEach(c=>c.addEventListener("click",()=>{c.dataset.binaryRatingResponse==="rating-yes"&&e.show();let u=localStorage.getItem(`binary-rating-${NM()}`);u&&(kS(u),Kg(u))})),window.addEventListener("click",async c=>{let p=c.target.closest("[data-bi-name]");if(!p)return;let m=p.dataset.biName;cBe(c),m==="feedback-suggest"?(e.show(),kS("rating-no"),Kg("rating-no")):m==="ask-learn-assistant-entry-troubleshoot"&&qs&&(await qs.initialized,qs.responseCount&&qs.responseCount>=qs.maxMessages&&qs.reset(),qs.submitWithPrompt("/troubleshoot"),qs.getActiveTextArea()?.focus())});let l=Array.from(document.querySelectorAll(yR+","+xR));r&&(dBe(),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 aBe(e,t="standard-feedback"){window.addEventListener("submit",n=>{let s=n.target instanceof HTMLElement&&n.target.closest("[data-feedback-verbatim-form]");if(!s||(n.preventDefault(),s.querySelector(".errored")))return;lBe(n,s,t),zM=!0;let o=document.createElement("div");o.classList.add("modal-slide"),y(Dxe(),o),e.updateContent(o,!1,!1)})}function lBe(e,t,n){if(!e)return;let s=DM(t),o=t.querySelector("#user-feedback-textarea"),r=o?o.value:"",i=t.querySelector(".thumb-rating-button.button-selected"),a=i&&i.dataset.binaryRatingResponse==="rating-yes"?1:0,l=s.map(c=>c.value);e.target&&Kt(e.target,{behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:n,sat:a,vtbm:r,reasons:l}})}function cBe(e){let t=e.target;(t.closest('[data-test-id="feedback-popover"]')||t.closest('[data-test-id="footer-feedback-popover"]'))&&Kt(t,{actionType:we.CLICKLEFT,behavior:le.VOTE,content:{autoIngest:!0,event:"feedback-thumbs-down-details-clicked",cN:"details-rating-no",type:"popover-interaction"},contentTags:{feedbackType:"negative",feedbackMethod:"details-popover",aN:"feedback-unhelpful-popover"}})}function Kg(e){let t=document.querySelector("[data-feedback-suggestions]");if(!t)return;t.hidden=!1;let n=document.querySelector("[data-feedback-options-yes]"),s=document.querySelector("[data-feedback-options-no]");!n||!s||(n.hidden=e!=="rating-yes",s.hidden=e!=="rating-no")}function uBe(){let e=document.getElementById("ms--user-feedback-configurable-help-link");if(e){e.classList.remove("display-none");return}}function dBe(){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 G4="v9",pBe=.03,FM=Qe("survey-popover",{require:!0}),mBe=new Set(["Architecture","CareerPath","Certification","CertificationRenewal","Conceptual","Course","FAQ","HowTo","KnownIssue","LearningPath","Lifecycle","Module","ModuleUnit","Question","QuestionList","Reference","Sample","Tag","TagList"]),gBe=new Set(["en-us","de-at","de-ch","de-de","fr-be","fr-ca","fr-ch","fr-fr","es-es","es-mx"]),Fxe=0,Uxe=!1;function fBe(e=S.surveyPopover,t=b.data.pageTemplate,n=b.data.userLocale){return e&&mBe.has(t)&&gBe.has(n)}function UM(e,t=0){try{let n=X.getItem(e);if(n===null)return t;let s=Number(n);return isNaN(s)?t:s}catch{return t}}function hBe(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=UM("hats_survey-pages-visited",0);t.searchParams.set("pagesVisited",n.toString());let s=UM("hats_survey-qualified-pages-visited",0);t.searchParams.set("qualifiedSurveyPagesVisited",s.toString());let o=Oxe().slice(0,30);return t.searchParams.set("pageTemplatesVisited",o?o.join(","):""),t.href}function Q4(){bBe(G4);let e=X.getItem("hats_survey-interacted");if(e){let u=Date.now(),p;try{if(p=new Date(e),isNaN(p.getTime())){OM(),X.setItem("hats_survey-version",G4);return}}catch{return}let m=1e3*60*60*24*30*6;if(u-p.getTime()

    ${Yie}

    ${see}

    `;return y(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 Hxe(){let e=document.querySelectorAll(".ccpa-privacy-link");S.thirdPartyDataSharingConsentFlag&&e.forEach(t=>{t.removeAttribute("hidden")})}var Er={repo:b.data.feedbackGitHubRepo,documentId:P("document_id")||btoa(location.pathname),versionIndependentDocumentId:P("document_version_independent_id")||btoa(location.pathname),platformId:P("platform_id")||btoa(location.pathname),documentSourceUrl:P("github_feedback_content_git_url")||P("original_content_git_url")||P("original_ref_skeleton_git_url")||"",service:P("ms.service"),subservice:P("ms.subservice"),product:P("ms.prod"),technology:P("ms.technology"),author:P("author"),msAuthor:P("ms.author"),contentTitle:P("og:title")||document.title};function Bxe(e){let t=`${e} --- #### ${gW} \u26A0 *${fW}* `,n=location.href,{documentId:s,versionIndependentDocumentId:o,platformId:r,documentSourceUrl:i,contentTitle:a}=Er,l=i.replace(/^https:\/\/github.com\/[^/]+\/[^/]+\/blob\/[^/]+\//i,"").replace(/\[|\]/g,"\\$&");a=a.replace(/\[|\]/g,"\\$&"),t+=`* ID: ${s} * Version Independent ID: ${o} * Platform ID: ${r} * Content: [${a}](${n}) * Content Source: [${l}](${i})`;let{service:c,subservice:u,product:p,technology:m}=Er;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}=Er;return g!==void 0&&(/github\.com/.test(i)?t+=` * GitHub Login: @${g}`:t+=` * Git Login: **${g}**`),f!==void 0&&(t+=` * Microsoft Alias: **${f}**`),t=t.replace(//g,">"),t}function Vxe(e,t,n,s,o,r,i,a,l,c,u,p,m,g,f="",_){let h=e.querySelector("[data-github-link]"),x=e.querySelector("[data-open-source-image-light]"),v=e.querySelector("[data-open-source-image-dark]"),k=e.querySelector("[data-open-source-image-container]"),I=e.querySelector("[data-open-source-product-title]"),E=e.querySelector("[data-open-source-product-description]");if(!h||!t||!n||!o||!c||!g)return;let H=u==="production"&&p?`\u{1F6A8} Looks like you arrived from the internal review site \u{1F6A8} Do not enter Microsoft confidential information here`:"",F=xBe(s,o,r,i,a,l),pe=/github\.com/.test(c)?`@${g}`:g,Ce=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",`${H} ${eJ} `),ce.set("author",pe),ce.set("metadata",F),f&&ce.set("title",f),_&&ce.set("labels",_),Ce.search+=`&${ce.toString()}`,h.href=Ce.toString(),kBe(I,E),x&&v&&k&&TBe(x,v,k),e.hidden=!1}function xBe(e,t,n,s,o,r){let i=`* ID: ${e} * PlatformId: ${t} ${s!==void 0?` * Service: **${s.toLowerCase()}**`:""}${o!==void 0?` * Sub-service: **${o.toLowerCase()}**`:""}${n!==void 0?` * Product: **${n.toLowerCase()}**`:""}${r!==void 0?` * Technology: **${r.toLowerCase()}**`:""}`;return i=i.replace(//g,">"),i}function kBe(e,t){if(!e)return;let n=e.textContent;e.textContent=OX.replace("{productName}",n),t&&(t.textContent=qX.replace("{productName}",n))}async function TBe(e,t,n){let[s,o]=await Promise.all([mB(e.src).then(()=>!0).catch(()=>!1),mB(t.src).then(()=>!0).catch(()=>!1)]);s&&o&&(n.hidden=!1)}function Gxe(){let e=document.body.querySelector(".feedback-section");if(e){if(b.data.pageTemplate==="ModuleUnit"){S.moduleUnitFeedbackReport||SBe(e);return}if(S.openSourceFeedback&&b.data.openSourceFeedbackIssueUrl){let t=document.body.querySelector("[data-open-source-feedback-section]");t&&Vxe(t,b.data.openSourceFeedbackIssueUrl,Er.versionIndependentDocumentId,Er.documentId,Er.platformId,Er.product,Er.service,Er.subservice,Er.technology,Er.documentSourceUrl,R.supportLevel,R.reviewFeatures,ee,Er.author,b.data.openSourceFeedbackIssueTitle,b.data.openSourceFeedbackIssueLabels)}addEventListener("keydown",({keyCode:t,altKey:n,ctrlKey:s})=>{t===71&&n&&s&&kr(Bxe(""),document.body)&&alert("\u2705 GitHub issue footer copied.")})}}function SBe(e){if(e){e.hidden=!0;for(let t of document.querySelectorAll("[data-feedback-section-link]"))t.hidden=!0}}A();var wBe=P("uhfHeaderId"),EBe=wBe,Dt=CBe({brand:b.data.brand,pathnameSegments:ZL,page_kind:P("page_kind"),page_type:P("page_type"),headerId:EBe,isAdmin:P("is_admin"),isEditor:P("is_editor")??"false"});function CBe(e){let{brand:t,pathnameSegments:n,page_kind:s,page_type:o,headerId:r,isAdmin:i,isEditor:a}=e;if(i==="true")return"Admin";if(a==="true")return"Editor";if(r==="MSDocsHeader-Archive")return"Archive";if(s==="docs"&&o==="home"||o==="welcome")return"Docs_Home";if(o==="profile")return"Profile";if(o==="locale")return"Locale";if(o==="search")return"Search";if(s==="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(!r&&R.siteName==="learn")return"Learn";switch(r){case"answers":case"answersv2":case"answersv2MOD":case"answersv2ADMIN":return"Q&A";case"mooncake":return"Mooncake";case"MSDocsHeader-Credentials":return"Credentials";case"MSDocsHeader-Certifications":return 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:On}=b.data,Qxe={type:"static-header",brandLink:{displayName:"Learn",href:`/${On}/`,biName:"learn"},navLinks:[{title:aa,href:`/${On}/docs/`,biName:"documentation"},{title:Ko,href:`/${On}/training/`,biName:"training"},{title:S.previewCredentialsL1?ps:tl,href:S.previewCredentialsL1?`/${On}/credentials/`:`/${On}/certifications/`,biName:S.previewCredentialsL1?"credentials":"certifications"},{title:"Q&A",href:`/${On}/answers/`,biName:"qna"},{title:hz,href:`/${On}/samples/browse/`,biName:"code-samples"},{title:Xw,href:`/${On}/assessments/`,biName:"assessments"},{title:To,href:`/${On}/shows/`,biName:"shows"}]},Yxe={type:"static-header",brandLink:{displayName:"Developer",href:`/${On}/`,biName:"developer"},navLinks:[{title:"Learn",href:`https://learn.microsoft.com/${On}/`,biName:"learn"},{title:aa,href:`https://learn.microsoft.com/${On}/docs/`,biName:"documentation"},{title:Ko,href:`https://learn.microsoft.com/${On}/training/`,biName:"training"},{title:"Q&A",href:`https://learn.microsoft.com/${On}/answers/`,biName:"qna"},{title:hz,href:`https://learn.microsoft.com/${On}/samples/browse/`,biName:"code-samples"},{title:To,href:`https://learn.microsoft.com/${On}/shows/`,biName:"shows"}]},Kxe={type:"static-header",brandLink:{displayName:"Learn",href:`/${On}/`,biName:"learn"},navLinks:[{title:Ko,href:`https://learn.microsoft.com/${On}/training/`,biName:"training"},{title:S.previewCredentialsL1?ps:tl,href:S.previewCredentialsL1?`https://learn.microsoft.com/${On}/credentials/`:`https://learn.microsoft.com/${On}/certifications/`,biName:S.previewCredentialsL1?"credentials":"certifications"},{title:Zre,href:`https://support.azure.cn/${On}/support/contact/`,biName:"support"},{title:To,href:`https://learn.microsoft.com/${On}/shows/`,biName:"shows"}]};async function Jxe(e=b.data.userLocale){let t=IBe();if(t==="developer-header"||t==="mooncake-header")return Wxe(t);let n=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",s={branch:mt(["contentnav-branch"],"main")},o=new URL(`/${e}/${n}content-nav/site-header/${t}.json?${ie(s)}`,location.origin);try{let r=await M(o.href,{credentials:"include"});if(!r?.ok)throw new Error(`Site navigation JSON not found for ${t} in ${e}.`);return await r.json()}catch{return console.error(`Site navigation fetching error. Loading static version of ${t}.`),Wxe(t)}}function IBe(){return R.siteName==="mooncake"?"mooncake-header":Dt==="Developer"?"developer-header":"site-header"}function Wxe(e){switch(e){case"mooncake-header":return Kxe;case"developer-header":return Yxe;default:return Qxe}}var Sv,Zxe,wv=new Promise(e=>Zxe=e);async function Xxe(){Sv=await Jxe(),Zxe()}function eke(){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 s=n.querySelector("button[data-search-expander-trigger-open]"),o=n.querySelector("button[data-search-expander-trigger-close]");!s||!o||(s.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),o.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),n.addEventListener("keydown",r=>{r.key==="Escape"&&!e.classList.contains("overflow-x-hidden")&&e.classList.toggle("overflow-x-hidden")}),window.addEventListener("click",r=>{r.target instanceof Element&&r.type==="click"&&!n.contains(r.target)&&!e.classList.contains("overflow-x-hidden")&&(r.target.hasAttribute("data-search-expander-autocomplete-suggestion")||e.classList.toggle("overflow-x-hidden"))}))}var qM=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 Ev=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&&pM(t),document.body.insertAdjacentElement("afterbegin",this.container),this.container.classList.add("appearing"),setTimeout(()=>{It()},10),setTimeout(()=>{pM(this.container)},3500)}};Ve();A();function HM(e){for(let t=0;tn.setCustomValidity(/^\s+$/.test(n.value)?lee:"")),n instanceof HTMLButtonElement&&n.type==="submit"&&(n.onclick=()=>e.classList.add("show-validation-status"))}}A();async function ls(e,t=!1,n){let s=T.createElement("form");if(s.action="javascript:",e instanceof il){if(y(e,s),t){let c=s.querySelectorAll("input.loc-checkbox"),u=0,p=s.querySelector("#loc-submit-button");c&&c.forEach(m=>m.addEventListener("change",()=>{m.checked?u++:u--,u===2?p.disabled=!1:p.disabled=!0}))}}else s.appendChild(e);PBe(s);let o=T.createElement("div");o.classList.add("modal-content"),o.appendChild(s);let r=new ve(o),i=!1,a={hasError:!1,data:null};return s.addEventListener("submit",async c=>{c.preventDefault(),a=n?await n(s):{hasError:!1,data:null},a.hasError===!1&&(i=!0,r.hide())}),HM(s),await r.show(),{submitted:i,form:s,data:a.hasError?null:a.data}}function PBe(e){if(e.querySelector("form"))throw new Error("The content argument should not contain a form")}function fp(e,t,n=Cs,s=!1,o=WY,r,i){return d` `}A();Ve();Ve();Ve();A();A();var to={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 tke=[{reason:tte,value:to[13]},{reason:Yee,value:to[3]},{reason:ote,value:to[4]},{reason:Zee,value:to[4]},{reason:Kee,value:to[6]},{reason:Xee,value:to[7]},{reason:Jee,value:to[8]},{reason:Qee,value:to[9]},{reason:ste,value:to[10]},{reason:Wee,value:to[11]},{reason:nte,value:to[15]},{reason:rte,value:to[16]},{reason:ite,value:to[17]},{reason:ete,value:to[14]}];function nke(e){if(!e)return;let t=document.getElementById("tagHeading");if(!t)return;let n=t.getAttribute("data-tag-id"),s=t.innerText;e.primary.href.includes("/ask/")&&(e.primary.href=`${e.primary.href}?id=${n}&styleGuideLabel=${s}`)}function ske(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 BM=S.userServices&&R.siteName!=="mooncake"&&Dt!=="Developer"&&Dt!=="Regional Directors",Cv=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 oke(e){let t=jBe();if(!(!t||t==="exclude"))for(let n of e){let s=n?.id===t;if(s){n.current=s;break}}}var DBe={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"}}}},zBe={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"}}}}}}},NBe={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 jBe(e=P,t=Dt){let n;switch(t){case"Learn":case"Training":n=zBe;break;case"Q&A":n=DBe;break;case"Certifications":case"Credentials":n=NBe;break;default:return e("activeMenuId")}return FBe(n)}function FBe(e,t=ee.pathname){if(!e)return;let n,s=e;do{let o=!0;s.exclude&&t.includes(s.exclude)&&(o=!1),(s.exact&&t!==s.pattern||t.indexOf(s.pattern)===-1)&&(o=!1),o&&(n=s.id),s=s.next}while(s&&!n);return n}var UBe="DEV_Homeheader";function rke(){let e=P("uhfHeaderId"),t=e&&e!==UBe?e:"";return(R.reviewFeatures?oe()["header-id"]:"")||b.data.context.uhfHeaderId||t}async function ike(e,t=b.data.userLocale){let n={branch:mt(["contentnav-branch"],"main")},o=`${$.contentNav}/${t}/content-nav/${e}.json?${ie(n)}`,r;try{r=await M(o,{credentials:"include"})}catch{return console.error("Content navigation fetching error."),null}if(!r.ok){let a=new Error(`Content navigation JSON not found for ${e} in ${t}.`);return a.headerId=e,console.error(a),null}let i=await r.json();return i.items.push({kind:"menu",title:Ky,biName:"more",items:[]}),i}function ake(e,t=P("platform_id")){if(!e)return;let n=e.primary,s=e.secondary;n&&pS(n.href)&&(n.href=cM(n.href,t)),s&&pS(s.href)&&(s.href=cM(s.href,t))}var Cr,VM,Av=new Promise(e=>VM=e);async function lke(){if(!Cv){Cr=null,VM();return}let e=rke();if(!e){Cr=null,VM();return}Cr=await ike(e),Cr&&(ske(Cr.callToAction),nke(Cr.callToAction),ake(Cr.callToAction),oke(Cr.items)),VM()}A();A();function OBe(e,t,n,s){let o;return n&&(o=[],o.push("font-weight-semibold","font-size-md")),e.kind==="link"?GM(e,`secondary-nav-link-${s+1}`,!1,o,n):qBe(e,t,o,s)}function GM({href:e,title:t,biName:n},s,o=!1,r=[],i=!1,a=!1){let l=o?"has-text-primary":"",c=i?"":"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?`${s}-${n}-mobile`:`${s}-mobile`);let p=nt(e,b.data.userLocale);return d`
  • ${t}
  • `}function qBe(e,t,n=[],s){let o=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",r=e.id?`ms--secondary-nav-btn-${e.id}`:`ms--secondary-nav-btn-${s+1}`,i=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 cke(e,t){return d` `}function uke(e,t,n,s,o,r,i,a,l,c,u){let p=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",m=n?"secondary-nav":"primary-nav";return d` ${QBe(i,n)&&s>=2&&u?d`
    `:null} ${i?d`
    `:null} `}function dke(e,t){if(!e)throw new Error("Site header data is unavailable.");return HBe(e,t)}function HBe(e,t){if(e.type==="static-header")return BBe(e);if(!t)throw new Error("Menu handler is not available");return VBe(e,t)}function BBe(e){let t=e.navLinks.map(n=>{let s=nt(n.href,b.data.userLocale);return d`
  • ${n.title}
  • `});return d` `}function VBe(e,t){let n=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",s=e.navCategories.map(o=>{let r=`site-header-btn-${o.biName}-mobile`,i=`ms--${r}`;return d`
  • `});return d` `}function pke(e,t,n,s,o,r){let i=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(r){let g=r.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 mke(){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`

    ${j(Nae)}

    `,s=d` ${w.isAuthenticated?GBe():n}
    ${w.isAuthenticated?d` ${Fp} `:""} ${w.isAuthenticated?Up:Yo}
    `;return d`
    ${BM?s:n}
    `}function GBe(){return d` `}function QBe(e,t){return t||Dt!=="Docs_Home"&&e}async function fke(e,t){if(await wv,!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 s=new qM;n.paint=()=>{y(d` ${cke(e,t.brandLink.displayName)} ${mke()} `,n)};function o(pe){n.paint();let Ce=n.querySelector("#modal-body");if(pe){let ce=Ce.querySelector(`#${pe}`);if(ce){ce.focus();return}}YBe(Ce)}function r(pe){let Ce=pe.target instanceof HTMLElement&&pe.target.closest("button");if(!Ce||!Ce.classList.contains("pop-content"))return;let ce=Ce.getAttribute("data-back-id");s.pop(),o(ce)}let i=e.subscribe(et,n.paint);n.dispose=()=>{s.dispose(),i(),n.removeEventListener("click",r)};let a=gke(e.items),l,c,u,p,m,g,f,_,h,x,v;function k(pe,Ce,ce){a=pe.items,l=pe.title,g=Ce,f=ce,c=null,u=null,p=null,m=s.getTitle(),E(!0),o()}function I(pe,Ce,ce,bt,Rt,Bt){h=pe,x=Ce,v=Bt,g=ce,f=bt,_=Rt,E(!1,!0),o()}function E(pe=!1,Ce=!1){let ce;!pe&&!Ce&&t?ce=dke(t,I):Ce?ce=pke(h,x,g,_,dc,v):ce=uke(a,k,pe,s.stackLength,g,f,l,c,u,p,m),s.push(ce),s.pushTitle(l)}function H(){E(),n.paint()}function F(){if(!(s.stackLength<=1)){for(;s.stackLength>1;)s.stackLength===2&&(e.secondaryNav=!1),s.pop();o()}}if(H(),n.addEventListener("click",r),Cv){await Av;let pe=Cr;pe&&(c=pe.category,u=pe.callToAction,p=pe.preview,l=pe.category?pe.category.title:null,a=gke(pe.items),E(!0),o(),e.secondaryNav=!0,n.querySelector("#modal-header button.button").onclick=F)}return n}function YBe(e){let t=e.querySelector("[data-autofocus]");if(t&&YL(t)){t.focus();return}e.focus()}function gke(e){return e.slice(0,e.length-1)}var Iv=class extends He{constructor(){super();this._items=[{title:Ky,kind:"menu",items:[],biName:"more"}];this._mobile=!1;this._desktop=!1;this._mobileNavExpanded=!1;this._secondaryNav=!1}get items(){return this._items}set items(n){this._items=n&&n.length?n:[{title:Ky,kind:"menu",items:[],id:"more",biName:"more"}],this.more.items=Ki(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 hke(){let e=document.querySelector("#ms--site-header-hamburger > button");if(!e)return;let t=new Iv;e.addEventListener("click",()=>KBe(t))}async function KBe(e){await wv;let t=await fke(e,Sv),n=new ve(t),s=window.outerWidth;function o(){t.dispose(),window.removeEventListener("resize",r),e.mobileNavExpanded=!1}function r(){n.hide(),o()}window.addEventListener("resize",()=>{window.outerWidth!==s&&r()},{passive:!0}),e.mobileNavExpanded=!0,await n.show()}A();var Y4;function bke(){return Y4===void 0&&(Y4=(async()=>Qe("user-analytics",{require:!0})?!0:Tr("user-analytics-dashboard"))()),Y4}A();var Ga="autocomplete-change-event",TS="autocomplete-displayed-event";function Ar(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=ze=>typeof ze?.toString=="function"?ze.toString():ze,itemTemplate:s=n,noResultsTemplate:o=null,initialValue:r=null,input:{biName:i},exclude:a=ze=>!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=ze=>ze===-1?"":`${u}-option-${ze}`,g=[],f=-1,_=r?n(r):"",h="",x=r,v=0,k=!1,I=!1,E="";e.input.size&&(E=e.input.size==="small"?"input-sm":"input-lg");let H=()=>{let ze=c.querySelector(`#${p}`),D=ze.children.item(f===-1?0:f);D?D.offsetTop+D.offsetHeight>ze.offsetHeight?ze.scrollTop=D.offsetTop-ze.offsetHeight+D.offsetHeight+4:D.offsetTop{y(Mt(),c);let ze=c.querySelector("input");ze&&(ze.value=_||h),H()},pe=()=>{g=[],f=-1,F()},Ce=(ze,D)=>{let Q=h;if(x=ze,_=ze?n(ze):"",h=_,pe(),D&&ze){let N=new CustomEvent(Ga,{detail:{suggestion:ze,term:Q},bubbles:!0});c.dispatchEvent(N)}};Object.defineProperty(c,"value",{get(){return x},set(ze){Ce(ze,!1)}});let ce=async()=>{if(h===""){k=!1,x=null,pe();return}g=await t(h),g=g.filter(D=>!a(D));let ze=new CustomEvent(TS,{detail:g,bubbles:!0});c.dispatchEvent(ze),g.length||ht(wX,"assertive",2e3),f=-1,k=!1,F()},bt=ze=>{let Q=ze?.url;Q&&Q.href&&window.open(Q.href,"_blank")},Rt=ze=>{let D=ze.target instanceof Element&&ze.target.closest('[role="option"]');if(!D)return;ze.preventDefault();let Q=D.parentElement,N=0;for(;N{clearTimeout(v),v=setTimeout(ce,250);let D=ze.target;h=D.value,_="",!k&&D.value!==""&&!I&&(k=!0,F())},fn=()=>{I=!0},Vt=()=>{I=!1},un=()=>pe(),Jn=ze=>{let{keyCode:D,shiftKey:Q,altKey:N,ctrlKey:ne}=ze;if(!(Q||N||ne)){if(D===Ie.down){ze.preventDefault(),f0?(f--,_=n(g[f])):(f=-1,_=h),F();return}if(D===Ie.escape){ze.preventDefault(),Ce(x,!1);return}if(D===Ie.enter){if(f>=0){let be=g[f];Ce(be,!0)}return}}};function Mt(){let ze=e.input.docon?d` `:"";return d`
    ${ze} ${l?d` `:""}
      D.preventDefault()} @click=${Rt} @keyup=${D=>(D.key==="Enter"||D.key==="Spacebar")&&Rt} ?hidden=${!h.length||k||!o&&!g.length||_===h} > ${g.map((D,Q)=>d`
    • ${s(D)}
    • `)} ${!g.length&&o?d`
    • ${o}
    • `:""}
    `}return F(),c.addEventListener("compositionstart",fn),c.addEventListener("compositionend",Vt),c}var QM=["All","Ai","Documentation","Training","Credential","QnA","Reference","Show"];async function _ke(e,t=b.data.userLocale){let n={query:e,suggestions:[]};if(!e)return Promise.resolve(n);let s=`${$.siteSearch}/autocomplete?${ie({locale:t,query:e})}`,o={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},r=await M(s,o);if(r.ok)return r.json();if(r.status===403)return{query:e,suggestions:[]};throw new Jt(r)}function SS(e){let t=new URLSearchParams(e),n=t.get("category")||"All",s=QM.find(o=>o.localeCompare(n,void 0,{sensitivity:"base"})===0)||"All";return{dataSource:t.get("dataSource"),category:s,skip:parseInt(t.get("skip")||"0"),term:t.get("search"),scope:t.get("scope"),preview:t.get("preview")}}A();function vke(){let e=b.data.context.searchScope||P("scope");if(b.data.pageTemplate==="SearchPage"&&(e=SS(location.search).scope),P("hideScope")==="true"||!e)return"";let s=e.split(",").map(o=>o.trim()).filter(o=>o.length);return s.length?s[s.length-1]:""}function K4(e=ee.pathname,t={}){let n=decodeURI(is(e)).toLowerCase().split("/").slice(1),[s="",o=""]=n;return{parts:n,firstPart:s,secondPart:o,pageKind:$r.kind,pageType:$r.type,msTopic:P("ms.topic"),...t}}function YM(e,t=K4()){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 yke(e){let t={query:e,suggestions:[]};if(!e)return Promise.resolve(t);let n=`${$.siteSearch}/user?${ie({query:e})}&$top=30&$skip=0&$filter=questionAuthor eq true`,s={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},o=await M(n,s);if(o.ok)return o.json();if(o.status===403)return{query:e,suggestions:[]};throw new Jt(o)}var Pv=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 WBe=1e4,JBe=4e3,xke=Symbol("scenario timeout"),xo=class{constructor(t,n=32e3,s=window.fetch){this.scenario=t;this.timeLimitMs=n;this.fetch=s;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:Pv,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,xke),this.timeLimitMs),this._pingTimeoutHandle=setTimeout(()=>this.collectPingDiagnostics(),WBe)}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 s=this._start;if(s===0)return;this._start=0;let o=this._diagnostics;o.scenarioProgress=t?{progress:"Succeeded",duration:performance.now()-s}:o.scenarioProgress,o.endDateTime=new Date().toISOString(),o.succeeded=t,o.durationInMilliseconds=performance.now()-s,o.reason=t?void 0:ZBe(n),o.endConnection=dh.connection?.effectiveType??"unknown",o.resources=Array.from(performance.getEntriesByType("resource")).filter(r=>r.startTime>=s).map(r=>r.toJSON()).filter(r=>r.initiatorType==="fetch"&&r.name.startsWith(location.origin)).map(r=>(r.connectEnd=Math.floor(r.connectEnd),r.connectStart=Math.floor(r.connectStart),r.domainLookupEnd=Math.floor(r.domainLookupEnd),r.domainLookupStart=Math.floor(r.domainLookupStart),r.duration=Math.floor(r.duration),r.fetchStart=Math.floor(r.fetchStart),r.redirectEnd=Math.floor(r.redirectEnd),r.redirectStart=Math.floor(r.redirectStart),r.requestStart=Math.floor(r.requestStart),r.responseEnd=Math.floor(r.responseEnd),r.responseStart=Math.floor(r.responseStart),r.secureConnectionStart=Math.floor(r.secureConnectionStart),r.startTime=Math.floor(r.startTime),r.workerStart=Math.floor(r.workerStart),r)),ye({actionType:we.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(),JBe);let s=async(o,r)=>{let i=performance.now();try{await this.fetch.call(window,r,{cache:"no-store",mode:"no-cors",signal:n}),this._diagnostics.pings[o]={response:!0,duration:Math.floor(performance.now()-i)}}catch{this._diagnostics.pings[o]={response:!1,duration:Math.floor(performance.now()-i)}}};return Promise.all([s("docs",`${location.origin}/robots.txt`)])}};function ZBe(e){return e===xke?{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?cB(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 Rv(e){if(S.disableSiteSearchSuggestions)return[];let t=new xo("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.replace(/^[\s`~!@^,]+/,"").replace(/[\s`~!@^,]+$/,""),e.length<2)return t.cancel(),[];let n=await _ke(e,b.data.userLocale);return t.succeed(),n.suggestions}catch(n){return t.fail(n),[]}}async function kke(e){let t=new xo("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.trim(),e.length<1)return t.cancel(),[];let n=await yke(e);t.succeed();let s=[],o=[];for(let r of n.suggestions)r.displayName.toLowerCase().startsWith(e)?s.push(r):o.push(r);return s.sort((r,i)=>r.displayName.localeCompare(i.displayName)),o.sort((r,i)=>r.displayName.localeCompare(i.displayName)),n.suggestions=s.concat(o),n.suggestions}catch(n){return t.fail(n),[]}}function Ske(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};W4(t)}function KM(e){let t=e.detail.map(n=>({title:n}));J4(t)}function W4({suggestion:e,term:t}){ye({behavior:le.SEARCHAUTOCOMPLETE,actionType:we.OTHER,content:{srchq:t,srchtype:"auto suggest",resultselected:e.title,resulttype:e.type||"",resulturl:e.url||""}})}function J4(e){let t=[{srchtype:"auto suggest"}];e.forEach((n,s)=>{t.push({cN:n.title,sN:s,type:n.type||"",url:n.url||""})}),ye({content:t})}var Tke=!1;function wke(e,t,n,s,o,r,i,a){Tke?zI():Tke=!0,ye({behavior:le.OTHER,actionType:we.OTHER,content:{event:"uhf-search-results",category:s,term:e.terms,scope:e.scope||"",results:t.length,resultUrls:t,skip:e.skip,dataSource:e.dataSource||a||"",scoringProfileName:e.scoringProfile||"",experimentId:P("experiment_id"),hideCompleted:e.hideCompleted||"",count:n,scopeRemoved:o,spellingCorrection:r,semanticCaptions:i}})}function Eke(e,t,n,s,o){let r=s===!0?1:0;ye({behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:"search-answer-feedback",sat:r,searchTerm:e,question:t,answer:n,authType:o.toString()}})}function WM(e,t,n,s,o,r,i,a){!t||!n||(ye({behavior:le.OTHER,actionType:we.OTHER,content:{event:"search-answer-result",searchTerm:e,copilotQuestion:t,copilotAnswer:n,authType:s.toString()}}),a&&ye({content:{autoIngest:!0,type:"search-answer-request",name:"search-answer",triggeredTimestamp:o,returnedTimestamp:r,answerType:i}}))}function Cke(e,t,n,s,o){ye({behavior:le.SURVEYCOMPLETE,actionType:we.OTHER,content:{autoIngest:!0,type:"deep-search-feedback",sat:t?1:0,query:e,reasons:s??"",verbatim:o??"",isEmptyResponse:0,authType:n.toString()}})}var XBe="https://www.azure.cn/searchresults/";function Z4(){let e;return b.data.brand==="mooncake"?e=XBe:!R.systemContent&&R.accessLevel!=="local"?e=`https://learn.microsoft.com/${b.data.userLocale}/search/`:e=`/${b.data.userLocale}/${Ut?"test/docs/search/search":"search/"}`,e}function X4(){let e=vke(),t=e3e(),n=t3e();return{scope:e,category:t,dataSource:Zn()?"previousVersions":"",preview:n}}function e3e(){let e=SS(ee.search)?.category;if(e?.toLowerCase()!=="all")return e;let t=YM("site",K4());return t&&t!=="All"?t:""}function t3e(){return SS(ee.search).preview||""}function e6(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};W4(t)}function t6(e){let t=e.detail.map(n=>({title:n}));J4(t)}function JM(e,t,n,s){if(!e)return;let o=T.getElementById(n),r=o.placeholder,i=o.value,a=e.parentElement;if(!a)return;let l=s?`${s}-search`:void 0,c={input:{id:`${t}-autocomplete-input`,placeholder:r,size:"large",label:an,isFullWidth:!0,name:"terms",biName:l},initialValue:i,getSuggestions:Rv,itemTemplate:x=>d` ${x} `,showLoader:!S.disableSiteSearchSuggestions},u=Ar(c),{scope:p,category:m,dataSource:g,preview:f}=X4(),_=s?`${s}-search-form`:void 0,h=s?`${s}-search-submit`:void 0;y(d` `,a)}A();var hp="display-block font-size-sm padding-inline-xxs",ZM;function XM(e,t){if(ZM===void 0){let c=(P("scope")||"").split(",").map(u=>u.trim()).filter(u=>u.length);ZM=c.length?c[c.length-1]:""}let n="";ZM&&t&&(n=ZM);let s=Zn()?"previousVersions":"",o=Ut?"/test/docs/search/search":"/search/",r=YM("toc"),i=`${o}?${ie({search:e,scope:n,dataSource:s,category:r==="All"?void 0:r})}`;return{title:n?TX.replace("{term}",e).replace("{searchScope}",n):SX.replace("{term}",e),url:i}}function wS(e){return e.indexOf("/search/?search")!==-1||Ut&&e.indexOf("/search/search?search")!==-1}async function e$(e,t,n){Kt(e,{behavior:le.APPLY,targetUri:n,content:{event:"autocomplete",title:t,href:n}})}function Ake(e=!1){let{category:t,dataSource:n,preview:s}=X4(),o=Dt==="Search"?"":t,r=Z4(),i=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()?nx:an,label:an,isFullWidth:!0,name:i,biName:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input"},getSuggestions:Rv,itemTemplate:p=>d` ${p} `,showLoader:!S.disableSiteSearchSuggestions};e||(a.input.size="small");let l=Ar(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 Ike(e){return e?d` ${Lke()}
    ${Rke(e.brandLink)}
    ${r3e(e)} ${Mke()}
    ${$ke()} `:""}function Pke(e){return e?d`
    ${Rke(e.brandLink,!0)} ${Lke(!0)} ${Mke(!0)} ${$ke(!0)} `:""}function Lke(e=!1){let t="site-header-microsoft-logo",n="site-header-microsoft-logo",s="";e&&(t="site-header-microsoft-logo-mobile",n="site-header-microsoft-logo-mobile",s="site-header-logo-centered");let o=d` `;return d` `}function Rke(e,t=!1){if(!e)return"";let n=nt(e.href,b.data.userLocale),s=t?`site-header-brand-${e.biName}-mobile`:`site-header-brand-${e.biName}`;return d` `}function Mke(e=!1){let t=Ake(e),n="flex-grow-1 margin-left-xxs";e&&(n="display-flex flex-grow-1 justify-content-flex-end");let s=e?"site-header-search-open-mobile":"site-header-search-open",o=e?"site-header-search-close-mobile":"site-header-search-close",r=e?"site-header-search-mobile":"site-header-search",i=e?"ms--site-header-search-mobile":"ms--site-header-search";return d` `}function $ke(e=!1){if(!BM)return"";let s=d` `,o=e?"site-header-user-mobile":"site-header-user",r=e?"site-header-user-mobile":"site-header-user",i=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`${s} ${u}`}function n3e(e,t){if(!e)return"";let n="";if(t){let o=t.map(r=>{let i=nt(r.href,b.data.userLocale);return d` `});n=d` `}let s=e.map((o,r)=>{let i=`ms--panel-${r+1}`;return d`
  • `});return d`
      ${s}
    `}function s3e(e,t){if(!e)return"";let n=b.data.userLocale,s="";if(e.panelLink){let i=e.panelLink,a=nt(i.href,n);s=d` ${i.title} `}let o=[],r="site-header-panel-links";return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(i=>{r="site-header-panel-cards";let a=nt(i.href,n),l=d`
  • `;o.push(l)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(i=>{let a=nt(i.href,n),l=d`
  • ${i.title}
  • `;o.push(l)}),d`
      ${o}
    ${s}
    ${t} `}function o3e(e){if(!e)return"";let t=e.map((n,s)=>{let o=nt(n.href,b.data.userLocale);return d`
  • ${n.title}
  • `});return d`
      ${t}
    `}function r3e(e){let t=e.type==="static-header"?o3e(e.navLinks):n3e(e.navCategories,e.featuredContent),n=b.data.userDir==="ltr"?"left":"right",s=b.data.userDir==="ltr"?"right":"left";return d` `}Ve();_h();A();A();function n6(e,t){let{leftTemplate:n,rightTemplate:s}=e;return d` ${n()} ${s(t)} `}function Nke(e){let t=document.createElement("div");t.classList.add("site-header","width-full");let n=new Iv;return t.paint=()=>Fke(t,n,e),Object.defineProperty(t,"items",{enumerable:!0,get:()=>n.items,set:s=>n.items=s}),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&&i3e(t,n,e)},{passive:!0}),t.paint(),Te.then(()=>{let s=new MutationObserver(o=>{for(let r of o)for(let i=0;it.paint()),window.addEventListener("content-update",()=>t.paint()),t}var jke=0;function Fke(e,t,n){if(jke=Date.now(),t.resetItemVisibility(),y(n6(n,t),e),t.mobile)return;let s=e.querySelector(".nav-bar-spacer"),{more:o,items:r}=t,i=r.length-1;for(;i>0&&s.getBoundingClientRect().width===0;)i--,o.hidden=!1,r[i].hidden=!0,o.items[i].hidden=!1,y(n6(n,t),e)}var Dke=0,zke=50;function i3e(e,t,n){clearTimeout(Dke),Date.now()-jke>zke?e.paint():Dke=setTimeout(Fke,zke,e,t,n)}async function Oke(){if(await Av,!Cr)return null;let e=Nke(a3e(Cr));return e.items=Cr.items,e}function a3e(e){let{category:t,callToAction:n,preview:s}=e,o="";return n&&(o=l3e(n)),{leftTemplate:()=>c3e(t,s),rightTemplate:a=>d` ${d3e(a,Joe)} ${o} ${u3e()} `}}function l3e(e){if(!e)return"";let{primary:t,secondary:n}=e,s="";return n&&(s=Uke(n,!0)),d`
    ${s} ${Uke(t)}
    `}function Uke(e,t=!1){if(!e)return"";let{href:n,title:s}=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` ${s} `}function c3e(e,t){let{href:n,title:s,biName:o}=e,r=nt(n,b.data.userLocale),i=Hke(r),a=o?`secondary-nav-link-category-${o}`:"secondary-nav-link-category";return d` `}function u3e(){return Dt!=="Learn"&&Dt!=="Training"?"":d` `}function d3e(e,t){let{items:n}=e;return d` `}function qke(e,t){return e.kind==="link"?p3e(e,t):m3e(e,t)}function p3e(e,t){let n=e.current?"is-active":"",s=nt(e.href,b.data.userLocale),o=Hke(s,!!n),r=e.biName?`secondary-nav-link-${e.biName}`:"secondary-nav-link";return t?d`
  • ${e.title}
  • `:d`
  • ${e.title}
  • `}function m3e(e,t){let n=Ep(),s=t?b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light":"chevron-down-light",o=t?"":"expanded-indicator",r=e.current?"is-active":"",i=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 g3e(e,t=new URL(window.location.href)){return e.origin===t.origin&&e.pathname.toLowerCase().replace(/\//gi,"")===t.pathname.toLowerCase().replace(/\//gi,"")}function Hke(e,t){let n=new URL(e,window.location.origin);if(g3e(n)&&t)return"page";if(t)return"true"}var Mv,t$=new Promise(e=>Mv=e);async function Bke(){Xxe(),lke(),f3e()}async function f3e(){await wv;let e=Ike(Sv),t=Pke(Sv);await Te;let n=T.querySelector("#ms--site-header");if(!n){Mv();return}let s=n.querySelector("#ms--primary-nav");if(!s){Mv();return}let o=n.querySelector("#ms--mobile-nav");if(!o){Mv();return}y(e,s),y(t,o),eke(),hke();let r=n.querySelector("#ms--secondary-nav");if(!r){Mv();return}if(Cv){await Av;let i=await Oke();r.classList.contains("site-header")&&i?(r.classList.remove("site-header"),y(i,r)):r.remove()}else r.remove();Mv()}var h3e=["Conceptual","ContentPage","Hub","Reference","Architecture","FAQ","HowTo"];function $v(e){if(!e||!h3e.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 r=o.tagName.toLowerCase(),i=document.createElement("div");i.classList.add("heading-wrapper"),i.setAttribute("data-heading-level",r);let a=Jp(o).trim(),l=o.id||Fn(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",Hoe.replace("{title}",a)),i.appendChild(c),o.insertAdjacentElement("beforebegin",i),i.insertAdjacentElement("beforeend",o)}})}A();var b3e=["Conceptual","Episode","Module","Reference"],Vke={Conceptual:{"ai-generated":RK,"ai-assisted":LK,"human-only":MK},Episode:{"ai-generated":$K,"ai-assisted":DK},Module:{"ai-generated":zK,"ai-assisted":NK},Reference:{"ai-generated":jK,"ai-assisted":FK}};function Gke(){let e=Ti("ai-usage"),t=b.data.pageTemplate;!b3e.includes(t)||e.length===0||_3e(t,e)}function _3e(e,t){let n=document.getElementById("ms--inline-notifications"),s=v3e(e,t);if(!n||!s)return;let o=x3e(s);y(o,n)}function v3e(e,t){let n=new Set(t),s=[];for(let o of n)if(Vke[e].hasOwnProperty(o)){let r=Vke[e][o];r&&s.push(r)}return s}function y3e(e){return d`
    ${j(e)}
    `}function x3e(e){return d` ${hn(e,t=>y3e(t))} `}Object.defineProperty(HTMLElement.prototype,"inlineStyle",{set(e){this.style.cssText=e}});Object.defineProperty(HTMLInputElement.prototype,"customValidity",{set(e){this.setCustomValidity(e)}});function Yke(){let e=document.querySelector('script[src*=".index-"][src$=".js"]');return e?e.src:"unknown-script-src"}function Kke(){window.addEventListener("unhandledrejection",e=>{let t=Qke(e.type,Yke(),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)}});ye({behavior:le.OTHER,content:t})}),window.onerror=(e,t,n,s,o)=>{let r=Qke(e,t,n,s,o);ye({behavior:le.OTHER,content:r})}}function Qke(e,t,n,s,o){let i=new Date().toString();return{type:"learn-client-error",event:e,source:t||Yke(),lineno:n||0,colno:s||0,message:o?.message||"Error message unavailable",stack:o?.stack||"Stack trace unavailable",name:o?.name||"Error name unavailable",timestamp:i,timeOrigin:window.performance.timeOrigin||void 0,userAgent:window.navigator.userAgent,connectionCategory:window.navigator.connection?.effectiveType||"Unknown",url:window.location.href,supportedBrowser:Pv,pageTemplate:b.data.pageTemplate}}var bp,CS,aTe,s$,i6,zv=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},AS=function(e){if(document.readyState==="loading")return"loading";var t=zv();if(t){if(e(t||100)-1)return n||o;if(n=n?o+">"+n:o,s.id)break;e=s.parentNode}}catch{}return n},lTe=-1,cTe=function(){return lTe},Wg=function(e){addEventListener("pageshow",function(t){t.persisted&&(lTe=t.timeStamp,e(t))},!0)},i$=function(){var e=zv();return e&&e.activationStart||0},Ji=function(e,t){var n=zv(),s="navigate";return cTe()>=0?s="back-forward-cache":n&&(s=document.prerendering||i$()>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:s}},Nv=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var s=new PerformanceObserver(function(o){Promise.resolve().then(function(){t(o.getEntries())})});return s.observe(Object.assign({type:e,buffered:!0},n||{})),s}}catch{}},Zi=function(e,t,n,s){var o,r;return function(i){t.value>=0&&(i||s)&&((r=t.value-(o||0))||o===void 0)&&(o=t.value,t.delta=r,t.rating=function(a,l){return a>l[1]?"poor":a>l[0]?"needs-improvement":"good"}(t.value,n),e(t))}},a6=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},a$=function(e){var t=function(n){n.type!=="pagehide"&&document.visibilityState!=="hidden"||e(n)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},l6=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},Dv=-1,Wke=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},o$=function(e){document.visibilityState==="hidden"&&Dv>-1&&(Dv=e.type==="visibilitychange"?e.timeStamp:0,T3e())},Jke=function(){addEventListener("visibilitychange",o$,!0),addEventListener("prerenderingchange",o$,!0)},T3e=function(){removeEventListener("visibilitychange",o$,!0),removeEventListener("prerenderingchange",o$,!0)},c6=function(){return Dv<0&&(Dv=Wke(),Jke(),Wg(function(){setTimeout(function(){Dv=Wke(),Jke()},0)})),{get firstHiddenTime(){return Dv}}},IS=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},Zke=[1800,3e3],uTe=function(e,t){t=t||{},IS(function(){var n,s=c6(),o=Ji("FCP"),r=Nv("paint",function(i){i.forEach(function(a){a.name==="first-contentful-paint"&&(r.disconnect(),a.startTimer.value&&(r.value=i,r.entries=a,o())},c=Nv("layout-shift",l);c&&(o=Zi(n,r,Xke,s.reportAllChanges),a$(function(){l(c.takeRecords()),o(!0)}),Wg(function(){i=0,r=Ji("CLS",0),o=Zi(n,r,Xke,s.reportAllChanges),a6(function(){return o()})}),setTimeout(o,0))}))})(function(n){(function(s){if(s.entries.length){var o=s.entries.reduce(function(a,l){return a&&a.value>l.value?a:l});if(o&&o.sources&&o.sources.length){var r=(i=o.sources).find(function(a){return a.node&&a.node.nodeType===1})||i[0];if(r)return void(s.attribution={largestShiftTarget:r$(r.node),largestShiftTime:o.startTime,largestShiftValue:o.value,largestShiftSource:r,largestShiftEntry:o,loadState:AS(o.startTime)})}}var i;s.attribution={}})(n),e(n)},t)},pTe=function(e,t){uTe(function(n){(function(s){if(s.entries.length){var o=zv(),r=s.entries[s.entries.length-1];if(o){var i=o.activationStart||0,a=Math.max(0,o.responseStart-i);return void(s.attribution={timeToFirstByte:a,firstByteToFCP:s.value-a,loadState:AS(s.entries[0].startTime),navigationEntry:o,fcpEntry:r})}}s.attribution={timeToFirstByte:0,firstByteToFCP:s.value,loadState:AS(cTe())}})(n),e(n)},t)},ES={passive:!0,capture:!0},S3e=new Date,eTe=function(e,t){bp||(bp=t,CS=e,aTe=new Date,gTe(removeEventListener),mTe())},mTe=function(){if(CS>=0&&CS1e12?new Date:performance.now())-e.timeStamp;e.type=="pointerdown"?function(n,s){var o=function(){eTe(n,s),i()},r=function(){i()},i=function(){removeEventListener("pointerup",o,ES),removeEventListener("pointercancel",r,ES)};addEventListener("pointerup",o,ES),addEventListener("pointercancel",r,ES)}(t,e):eTe(t,e)}},gTe=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,w3e,ES)})},tTe=[100,300],E3e=function(e,t){t=t||{},IS(function(){var n,s=c6(),o=Ji("FID"),r=function(l){l.startTimet.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var s={id:e.interactionId,latency:e.duration,entries:[e]};o6[s.id]=s,Jl.push(s)}Jl.sort(function(o,r){return r.latency-o.latency}),Jl.splice(10).forEach(function(o){delete o6[o.id]})}},I3e=function(e,t){t=t||{},IS(function(){A3e();var n,s=Ji("INP"),o=function(i){i.forEach(function(c){c.interactionId&&oTe(c),c.entryType==="first-input"&&!Jl.some(function(u){return u.entries.some(function(p){return c.duration===p.duration&&c.startTime===p.startTime})})&&oTe(c)});var a,l=(a=Math.min(Jl.length-1,Math.floor(sTe()/50)),Jl[a]);l&&l.latency!==s.value&&(s.value=l.latency,s.entries=l.entries,n())},r=Nv("event",o,{durationThreshold:t.durationThreshold||40});n=Zi(e,s,nTe,t.reportAllChanges),r&&(r.observe({type:"first-input",buffered:!0}),a$(function(){o(r.takeRecords()),s.value<0&&sTe()>0&&(s.value=0,s.entries=[]),n(!0)}),Wg(function(){Jl=[],_Te=bTe(),s=Ji("INP"),n=Zi(e,s,nTe,t.reportAllChanges)}))})},vTe=function(e,t){I3e(function(n){(function(s){if(s.entries.length){var o=s.entries.sort(function(r,i){return i.duration-r.duration||i.processingEnd-i.processingStart-(r.processingEnd-r.processingStart)})[0];s.attribution={eventTarget:r$(o.target),eventType:o.name,eventTime:o.startTime,eventEntry:o,loadState:AS(o.startTime)}}else s.attribution={}})(n),e(n)},t)},rTe=[2500,4e3],r6={},yTe=function(e,t){(function(n,s){s=s||{},IS(function(){var o,r=c6(),i=Ji("LCP"),a=function(u){var p=u[u.length-1];p&&p.startTimeperformance.now())return;n.value=Math.max(r-i$(),0),n.entries=[o],s(!0),Wg(function(){n=Ji("TTFB",0),(s=Zi(e,n,iTe,t.reportAllChanges))(!0)})}})},xTe=function(e,t){L3e(function(n){(function(s){if(s.entries.length){var o=s.entries[0],r=o.activationStart||0,i=Math.max(o.domainLookupStart-r,0),a=Math.max(o.connectStart-r,0),l=Math.max(o.requestStart-r,0);s.attribution={waitingTime:i,dnsTime:a-i,connectionTime:l-a,requestTime:s.value-l,navigationEntry:o}}else s.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}})(n),e(n)},t)};var PS=P("learn-experiments")==="true"&&R.siteName!=="developer"&&R.siteName!=="mooncake",d6=PS?5*1e3:0,R3e="assignmentserviceapi.wus2.dogfood.portalrp.azure-test.net",M3e="assignmentserviceapi.production.portalrp.azure.com",$3e=R.supportLevel==="development"?`https://${R3e}/api/mslearn/variants?api-version=1.0`:`https://${M3e}/api/mslearn/variants?api-version=1.0`;function D3e(){return $3e}var TTe=jde("MC1",d6),STe={},c$,l$,kTe,u6=!1,wTe=ITe(),ETe=PTe(),CTe,p6=new Promise(e=>{CTe=e});async function jv(e){return!PS||!await Im?!1:(await p6,e in STe)}async function ATe(){if(!PS||!await Im)return;let t=await TTe,n=t?$Te(t):null;if(!n){ye({content:{type:"experiment-no-assignment",name:"experiment-platform-no-mc1-cookie",autoIngest:!0,timestamp:new Date().toISOString()}});return}await _e;let s={mc1:n,audience:{environment:"prod",isAuthenticated:!1,locale:w.locale,referer:document.referrer}};w.isAuthenticated&&(s.userId=w.userId,s.audience.isAuthenticated=!0);let o=JSON.stringify(s),r=J(D3e(),{method:"POST",body:o},!1,!0),i=await M(r,{},d6);if(!i.ok)throw ye({content:{type:"experiment-platform-assignment",name:"assignment-error",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:o,error:`Experiment API failed with status ${i.status}`}}}),new Error(`Experiment API failed: ${i.status}`);let a=await i.json(),l=Object.keys(a.variants),c=new Date().toISOString();return ye({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 ITe(){return ATe().then(e=>(c$!==void 0&&(clearTimeout(c$),c$=void 0),e!==void 0&&(O.learnExperiments={loaded:!0,assignments:e.assignments,loadTime:performance.now()}),e))}function PTe(){return new Promise(e=>{c$=setTimeout(()=>{e(void 0)},d6)})}async function u$(){await LTe();let e=Im;if(PS){if(!await e){ye({content:{type:"experiment-no-assignment",name:"experiment-platform-no-consent",autoIngest:!0,timestamp:new Date().toISOString()}});return}O.learnExperiments={...O.learnExperiments||{assignments:[]},loaded:!1};try{let t=await Promise.race([wTe,ETe]);t===void 0&&ye({content:{type:"experiment-platform-timeout"}}),t!=null&&typeof t=="object"&&"assignments"in t&&"rawResponse"in t&&"assignmentTimestamp"in t&&(STe=t.assignments.reduce((n,s)=>(n[s]=!0,n),{}),l$=t.rawResponse,kTe=t.assignmentTimestamp),CTe?.(),l$&&await MTe("client-side",l$.assignmentContext,l$.dataVersion,kTe)}catch(t){ye({content:{type:"experiment-platform-error",content:{error:JSON.stringify(t)}}});return}}}async function LTe(){if(u6)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),u6=!0}catch(s){ye({content:{type:"experiment-platform-error",content:{error:`learn-experiments-script-parse:${s.message}`}}});return}try{await MTe("server-side",n.assignmentContext,n.dataVersion,n.assignmentTimestamp)}catch(s){throw u6=!1,s}}lt.subscribe(bn,async()=>await RTe());lt.subscribe(Tn,async()=>await RTe());async function RTe(){!PS||!await Im||(wTe=ITe(),ETe=PTe(),u$())}async function MTe(e,t,n,s){if(!t)return;let o=await TTe,r={actionType:"A",behavior:12,pageTags:{exp_context:t,exp_platform:"learn-experiments",exp_data_version:n?.toString()??"",exp_assignment_ts:s??"",exp_mc1:$Te(o??"")??"",exp_uri:O.location.href,exp_document_id:P("document_id")??"",exp_page_type:b?.data?.pageTemplate??"",exp_locale:P("locale")??document.documentElement.lang??"",exp_docs_ui_ver:z3e()}};cpe(r),ye({content:{type:"experiment-platform-telemetry",name:e+"-experiment",autoIngest:!0,timestamp:new Date().toISOString(),content:r}})}Ol&&(O.__learnExperimentsTestHooks={emitServerExperimentContext:LTe,loadExperimentAssignments:ATe,instrumentExperiments:u$});function $Te(e){let t=e.match(/GUID=([^&;]+)/);return t?t[1]:null}function z3e(){return document.querySelector('script[src*="index-"]')?.src??""}function DTe(e){ye({content:{type:"experiment-exposure",content:{variantName:e}}})}var N3e=S.reportWebVitalsAlways?1:.1,d$=new Set;function Jg(e){d$.add(e)}function zTe(){if(d$.size>0){let e=Array.from(d$);F3e(e),d$.clear()}}function j3e(e){let t={};for(let n of e){let{name:s,value:o}=n;t[s]=o}return t}function F3e(e){let t=j3e(e);ye({content:{type:"web-vitals",version:"1",metrics:t}})}function NTe(){let e=S.reportWebVitalsAlways||Math.random()<=N3e;!Pv||!e||(dTe(Jg),pTe(Jg),vTe(Jg),yTe(Jg),xTe(Jg),fTe(Jg),U3e(Jg),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&zTe()}),document.addEventListener("pagehide",zTe))}async function U3e(e){if(window.learnExperiments===void 0||(await p6,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 jTe(){O3e(),q3e(),H3e(),B3e(),V3e(),G3e(),Q3e(),Y3e(),W3e(),J3e(),NTe()}async function O3e(){let e=()=>ape(w.authenticationMode,w.isAuthenticated);w.subscribe(Tn,e),e(),await w.whenAuthenticated(),ye({content:{event:"user-is-signed-in"}})}function q3e(){function e(t){!t.isTrusted||!(t.target instanceof HTMLSelectElement)||!t.target.hasAttribute(Cn.name)||Kt(t.target,{actionType:we.OTHER,behavior:le.OTHER,content:{event:"select-value-changed",name:jc(t.target),value:t.target.value}})}T.addEventListener("change",e,{passive:!0})}function H3e(){let e="";function t(o){!o.isTrusted||e===o.type||(e=o.type,ye({actionType:we.OTHER,behavior:le.OTHER,content:{event:"page-focus-changed",value:o.type}}))}let n=0;function s(o){clearTimeout(n),n=setTimeout(()=>t(o),50)}O.addEventListener("focus",s,{passive:!0}),O.addEventListener("blur",s,{passive:!0})}function B3e(){function e(){ye({actionType:we.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 V3e(){Fde&&Ode.addListener(e=>{e.matches&&ye({actionType:we.OTHER,behavior:le.PRINT,content:{event:"print"}})})}function G3e(){function e(n){if(!n.isTrusted||!(n.target instanceof HTMLElement))return;let{width:s,height:o}=n.target.getBoundingClientRect(),{scrollLeft:r,scrollTop:i,scrollWidth:a,scrollHeight:l}=n.target;Kt(n.target,{actionType:we.OTHER,behavior:le.OTHER,content:{event:"secondary-content-scroll",name:jc(n.target),viewPortWidth:Math.floor(s),viewPortHeight:Math.floor(o),contentWidth:Math.floor(a),contentHeight:Math.floor(l),horizontalOffset:Math.floor(r),verticalOffset:Math.floor(i)}})}function t(n){if(n.target===T)return;let s=n.target;clearTimeout(s.reportScrollTimeout),s.reportScrollTimeout=setTimeout(()=>e(n),100)}O.addEventListener("scroll",t,{passive:!0,capture:!0})}function Q3e(){let e=!1;function t(){ye({actionType:we.OTHER,behavior:le.OTHER,content:{event:"unload",anchor:e}})}function n(o){o.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}function s(o){o.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}O.addEventListener("keydown",s,{capture:!0,passive:!0}),O.addEventListener("click",n,{capture:!0,passive:!0}),O.addEventListener("beforeunload",t,{passive:!0})}function Y3e(){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;K3e(n.id);let o=Array.from(n.querySelectorAll('input[name="terms"], input[name="facet-search-input"]'))[0].value,r=T.activeElement&&T.activeElement instanceof HTMLButtonElement&&T.activeElement.type==="submit"&&!!n.querySelector(`#${T.activeElement.id}`);Kt(n,{actionType:we.OTHER,behavior:le.SEARCH,content:{event:"uhf-search",value:o,submitButton:r}})}O.addEventListener("submit",e,{passive:!0,capture:!0})}function K3e(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&&ye({behavior:le.SEARCH,actionType:we.OTHER,content:{autoIngest:!0,type:"site-search-submit",name:n}})}function W3e(){function e(t){t.isTrusted&&t.keyCode===70&&t.ctrlKey&&!t.shiftKey&&!t.altKey&&!t.metaKey&&ye({actionType:we.OTHER,behavior:le.OTHER,content:{event:"ctrl-f"}})}O.addEventListener("keydown",e,{passive:!0})}function J3e(){function e(t){let n={referrerUri:t.referrerUrl.href,requestUri:t.url.href,title:t.title,pageName:P("document_id")||"missing document_id",pageType:P("page_type"),pageTags:{}};$I(n.pageTags),lpe(n),zI()}lt.subscribe(bn,e)}A();var FTe="azure-auth-complete";function Z3e(){let e=oe(location.search);return e[FTe]==="true"?(e[FTe]=null,Ht(e,"replaceState"),!0):!1}Z3e()&&DT.tryLoadTokens().then(e=>{e&&o4e()});var X3e=d`

    ${Be(Koe)}

    ${Pfe}`;async function p$(e){let t=d`
    ${X3e}
    `;y(t,e);let n=e.firstElementChild.firstElementChild,s=r=>new Promise(i=>{let a=l=>{e.innerHTML="",Rn.value=l,i(l)};r===null?(Rn.value=null,m$(n)):r.length===0?t4e(n):e4e(n,a,r)});js.trackEvent({name:"oauth-login-try-load-tokens"});let o=await DT.tryLoadTokens({noInteraction:!1});return s(o)}var m6={light:"light",dark:"dark","high-contrast":"high-contrast"};function UTe(e){let t=document.getElementById("mult-account");t&&(t.src=`/en-us/media/illustrations/multiple-accounts-${m6[e]}.svg?branch=live`);let n=document.getElementById("log-in-media");n&&(n.src=`/en-us/media/illustrations/lock-and-key-${m6[e]}.svg?branch=live`);let s=document.getElementById("profile-icon"),o=w.authenticationMode==="AAD"?"org":"personal";s&&(s.src=`/en-us/media/profile/${o}-account${m6[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`)}function m$(e){s4e(),lt.subscribe(vl,i=>UTe(i.currentTheme));let n=`/en-us/media/illustrations/lock-and-key-${ad()}.svg?branch=live`,o=d` `;y(o,e);let r=document.getElementById("try-it-sign-in");r&&r.addEventListener("click",()=>{let i=oe();i.tryIt="true",Ht(i,"replaceState"),ei(null,!1,!0)})}function e4e(e,t,n){lt.subscribe(vl,c=>UTe(c.currentTheme));let s=ad(),o=`/en-us/media/illustrations/multiple-accounts-${s}.svg?branch=live`,i=`/en-us/media/profile/${w.authenticationMode==="AAD"?"org":"personal"}-account${s==="light"?"":"-dark-highcontrast"}.svg?branch=live`,l=d`
    ${pae}

    ${dae}


    ${w.upn}

    ${PA}


    `;y(l,e)}function t4e(e){let t="/en-us/media/illustrations/azure-subscription-alert.svg?branch=live",n=P("platform_id"),s=n?`msft_learn_${encodeURIComponent(n)}`:"msft_learn",o=d`
    ${hae}

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

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

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

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

      ${ZQ}

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

      Azure Cloud Shell

      `;let s=this.element.querySelector('button[data-bi-name="restart"]');s.onclick=()=>this.restart(),this.consoleFrame=this.element.querySelector("iframe"),this.messageHandlerTimeout=setTimeout(this.instrumentMessageHandler,r4e)})}setCode(){return Promise.resolve()}execute(){return Promise.resolve()}restart(){this.consoleFrame.hidden||this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"restart"},g$)}dispose(){O.removeEventListener("message",this.messageHandler)}replyToken(t){let n;switch(t){case"":n=Rn.value.access_token;break;case"microsoft.graph":n=Rn.value.msgraph_access_token,ye({content:{event:"cloud-shell-audience",value:"microsoft.graph"}});break;case"keyvault":n=Rn.value.key_vault_access_token,ye({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}`},g$)}whenPageVisible(){return T.visibilityState==="visible"?Promise.resolve():new Promise(t=>T.addEventListener("visibilitychange",()=>{T.visibilityState==="visible"&&t()}))}},OTe={name:HX,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};Ig({name:"bash",activateButtonConfig:OTe,create:()=>new f$(!1)});Ig({name:"powershell",activateButtonConfig:OTe,create:()=>new f$(!0)});function i4e(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(s=>e.indexOf(s)===0)||"en"}var LS=class{constructor(t,n,s=window){this.targetOrigin=n;this.subscriptions=[];this.messageHandler=({data:t,origin:n})=>{if(n!==this.targetOrigin)return;let s=this.subscriptions.filter(o=>o.predicate(t));for(let o of s)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");s.addEventListener("message",this.messageHandler)}async publish(t){(await this.targetWindowLoaded).value.postMessage(t,this.targetOrigin)}subscribe(t,n=()=>!0){let s={predicate:n,callback:t};return this.subscriptions.push(s),()=>this.unsubscribe(s)}subscribeOnce(t=()=>!0,n){return new Promise((s,o)=>{let r={},i=n===void 0?0:setTimeout(l,n,r),a=this.subscribe(l,t);function l(c){clearTimeout(i),a(),c===r?o("timeout"):s(c)}})}unsubscribe(t){let n=this.subscriptions.indexOf(t);n!==-1&&this.subscriptions.splice(n,1)}};Pg();var h$=R.supportLevel==="production"&&R.reviewFeatures?"https://tryit.graphexplorerppe.microsoft.com":"https://tryit.graphexplorer.microsoft.com";function a4e(e){let t=l4e(e);if(!t)return[];let n=c4e(t);return u4e(n)}function l4e(e){return e.querySelector('h2[id="permissions"] ~ * table, h2[id="permissions"] ~ table')}function c4e(e){let t=e.cloneNode(!0),n=Array.from(t.childNodes);return Array.from(n[0].parentNode.querySelectorAll("[data-ttu-id]")).map(s=>{s.remove()}),t}function u4e(e){return Array.from(e.querySelectorAll("tr")).map(n=>Array.from(n.querySelectorAll("th,td")).map(s=>s.textContent.trim()))}var d4e={name:lh,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};Ig({name:"msgraph",activateButtonConfig:d4e,create:()=>{let e=new URL(h$),t=location.origin,n=document.getElementById("main"),s=a4e(n),o={type:"init",locale:b.data.userLocale,theme:id,code:"",permissions:s};e.searchParams.set("locale",o.locale),e.searchParams.set("host-origin",t),e.searchParams.set("theme",o.theme);let r=document.createElement("iframe");r.classList.add("msgraph","is-full-height"),r.title=dX,r.src=e.toString();let i=new LS(r,h$),a,l=c=>{c.origin!==h$&&c.data.type!=="ready"||(r.contentWindow.postMessage(o,h$),a||(a=lt.subscribe(vl,u=>{i.publish({type:"theme-changed",theme:u.currentTheme})})),window.removeEventListener("message",l))};return{element:r,setCode:c=>(o.code=c,o.theme=id,Promise.resolve()),execute:()=>window.addEventListener("message",l),dispose:()=>{a()}}}});Ve();async function qTe(e,t,n){Kt(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 HTe(e,t){ye({behavior:le.COMPLETEPROCESS,actionType:we.OTHER,contentTags:{scn:"Rest Try It",scnstp:"Response",isSuccess:!0},content:{event:"rest-tryit-fetch-complete",status:t.status,method:e.method}})}function b$(e,t,n){n=n||{},n.mode="cors",n.cache="reload",n.method=e.httpVerb,e.body&&(n.body=e.body);let s=e.url,o=t.transform(new Request(s,n),e);return e.headers!==null&&e.headers.forEach(r=>{r.value!==""&&o.headers.set(r.name,r.value)}),o}function BTe(e){return fetch(e).then(t=>(HTe(e,t),t))}function VTe(e){let t={};t.statusCode=e.status.toString();let n=e.headers;return t.header="",n.forEach((s,o)=>{t.header+=`${o}: ${s} `}),/application\https://www.microsoft.com/json/i.test(e.headers.get("Content-Type")||"")&&t.statusCode!=="204"&&t.statusCode!=="404"?e.json().then(s=>(t.body=JSON.stringify(s,null,2),t)):e.text().then(s=>(t.body=s,t))}function GTe(e,t,n=window){let s=n instanceof Window?window.pageYOffset:n.scrollTop,o=e-s,r;function i(a){r||(r=a);let l=a-r,c=Math.min(l/t,1);n instanceof Window?n.scrollTo(0,s+o*c):n.scrollTop=s+o*c,l
      ${n}
      ${a}
      ${s}
      `}function Ov(e,t){let n=e.querySelector(t);if(n&&aB(),n?.textContent){let s=n.getAttribute("data-language")||"";hR([{code:n.textContent,language:s,highlightLines:""}]).then(o=>{o[0]&&(n.innerHTML=o[0].html)})}}A();function YTe(e,t,n,s){let o=QTe(n,s),r=d`

      ${ate}

      ${_$({language:"http",code:o,attributes:{name:"http-request","aria-live":"polite","aria-atomic":"true",tabindex:"0"}})} `,i=document.createElement("div");y(r,i),e.appendChild(i),Ov(i,'pre[name="http-request"]');let a=i.querySelector('pre[name="http-request"]'),l=()=>{let c={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new ri(c));let u=QTe(c,s);a.textContent=u,Ov(i,'pre[name="http-request"]')};t.subscribe(Ir,l)}function QTe(e,t){let n=b$(e,t),s=`${n.method} ${n.url} `;return n.headers.forEach((o,r)=>{s+=`${r[0].toUpperCase()}${r.substring(1)}: ${o} `}),s}var p4e="https://management.azure.com/subscriptions?api-version=2016-06-01",m4e=e=>{e.publish(new MS);let t=new Request(p4e,{mode:"cors"});if(Rn.value===null)throw e.publish(new Xg([])),new Error("error fetching subscription: authorization header no token");return t.headers.append("Authorization",`Bearer ${Rn.value.access_token}`),fetch(t).then(n=>n.ok?n.json().then(({value:s})=>(e.publish(new Xg(s)),!0)):(n.text().then(s=>{throw new Error(`error fetching subscriptions: ${s}`)}),e.publish(new Xg([])),!1),()=>!1)};function g6(e,t,n,s=!0,o={}){let r=document.createElement("div");r.classList.add("columns","field");let i=document.createElement("div");i.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),i.appendChild(a),r.appendChild(i);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 x=I=>{let E=I.restTryItRequest,H=n.type==="boolean"||n.type==="azure-subscriptions"||n.type==="enum"?_.value:m.value;s?E.headers.push({name:n.name,value:H,type:n.type,in:n.in,isRequired:n.isRequired,skipUrlEncoding:!1}):E.params.push({name:n.name,value:H,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 I=document.createElement("option");I.value="",I.selected=!0,I.disabled=!0,I.hidden=!0,I.text="Select",_.appendChild(I)}g.forEach(I=>{let E=document.createElement("option");E.value=I,E.text=I,_.appendChild(E)}),n.isRequired&&_.setAttribute("required","true"),_.setAttribute("aria-label","select parameter value option for "+n.name),_.onchange=()=>{t.publish(new Ir),_.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 Ir)},p.appendChild(m),u.appendChild(p),c.appendChild(u);break}n.isRequired&&l.insertAdjacentHTML("beforeend",''),r.appendChild(c);let v=document.createElement("div");v.classList.add("column"),v.classList.add("is-2"),v.classList.add("delete-button");let k=document.createElement("button");return k.classList.add("button"),k.classList.add("docon"),k.classList.add("docon-navigate-close"),n.isRequired&&(k.style.visibility="hidden"),k.setAttribute("aria-label",QK),k.setAttribute("type","button"),v.appendChild(k),r.appendChild(v),k.onclick=I=>{r.parentElement.removeChild(r),t.unsubscribe(ri,x),t.publish(new Ir),I.preventDefault()},e.appendChild(r),t.subscribe(ri,x),s||n.name==="subscriptionId"&&(t.subscribe(MS,()=>{_.innerHTML='',_.disabled=!1}),t.subscribe(Xg,I=>{let E=I.subscriptions;E.length===0?(_.innerHTML='',_.value=null):(_.innerHTML=E.map(({displayName:H,subscriptionId:F})=>``).join(` `),_.value=E[0].subscriptionId,_.hidden=!1,_.disabled=!1),h.textContent=E[0].subscriptionId,t.publish(new Ir)})),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 Ir)),n.name==="subscriptionId"&&m4e(t),{nameInput:l,valueInput:m,delButton:k,columnContainer:r}}function f6(e,t,n=!0){let s=document.createElement("div");s.classList.add("columns");let o=document.createElement("div");o.classList.add("column","is-5","param-name");let r=document.createElement("div");r.classList.add("field-body");let i=document.createElement("p");i.classList.add("control");let a=document.createElement("input");a.classList.add("input"),a.setAttribute("placeholder","name"),a.setAttribute("aria-label","add new parameter name"),i.appendChild(a),r.appendChild(i),o.appendChild(r);let l=document.createElement("div");l.classList.add("error-message"),l.setAttribute("role","alert"),o.appendChild(l),s.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),s.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",v9),g.appendChild(f),s.appendChild(g),e.appendChild(s);let _=h=>{let x=a.value,v=m.value;if(x===""){l.textContent=yW,o.appendChild(l),h.preventDefault();return}let k;n?k="header":document.querySelector(".url-input").value.indexOf("{"+x+"}")!==-1?k="path":k="query",s.parentElement.removeChild(s),t.publish(new Fv({name:x,value:v,type:"string",in:k,isRequired:!1,skipUrlEncoding:!1}))};return f.onclick=h=>{_(h)},{nameInput:a,valueInput:m,addButton:f,columnContainer:s}}function h6(e,t,n,s=!0,o={}){let r=document.createElement("div"),i=document.createElement("div");i.classList.add("columns");let a=document.createElement("div");a.classList.add("column","is-5","param-heading");let l=document.createElement("h3");s?l.textContent=QE:l.textContent=ree,a.appendChild(l),i.appendChild(a),r.appendChild(i);let c=document.createElement("div");c.classList.add("param-form-group");for(let p of n)g6(c,t,p,s,o);f6(c,t,s),r.appendChild(c),e.appendChild(r);let u=p=>{(p.param.in==="header"&&s||p.param.in!=="header"&&!s)&&(g6(c,t,p.param,s),f6(c,t,s),t.publish(new Ir))};return t.subscribe(Fv,u),c}var b6="";function WTe(e,t,n,s){let{url:o,urlParams:r}=g4e(n.url);b6=o;let i=document.createElement("div");i.classList.add("request-section"),f4e(i,t,o,n.httpVerb),h6(i,t,n.params,!1,r),h6(i,t,n.headers,!0),n.body!==null&&b4e(i,t,n.body),YTe(i,t,n,s);let a=document.createElement("div");a.classList.add("request-section"),i.appendChild(a);let l=_4e(a,t);return e.appendChild(i),l}function g4e(e){let t=e,n={},s=e.indexOf("?");if(s!==-1){let o=e.substr(s);t=e.substr(0,s),n=oe(o)}return{url:t,urlParams:n}}function f4e(e,t,n,s){let o=document.createElement("div");o.classList.add("field");let r=document.createElement("h3");r.classList.add("field-label","margin-bottom-none"),r.textContent=dN,o.appendChild(r);let i=document.createElement("div");i.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=s,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",dN),c.setAttribute("value",n),i.appendChild(a),i.appendChild(c),o.appendChild(i),e.appendChild(o),t.subscribe(ri,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 ri(p)),n=b6;let m=b6;p.params.forEach(g=>{n=KTe(n,g),m=KTe(m,g)}),c.value=m};return t.subscribe(Ir,u),{inputUrl:c}}function KTe(e,t){return t.in==="path"&&t.value!==""?e=e.replace("{"+t.name+"}",h4e(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 h4e(e){return e.skipUrlEncoding?e.value:encodeURIComponent(e.value)}function b4e(e,t,n){let s=document.createElement("div"),o=document.createElement("h3");o.textContent=Lf,s.appendChild(o);let r=document.createElement("textarea");return r.setAttribute("name",Lf),r.textContent=n,r.classList.add("textarea","request-body","tall","small"),r.setAttribute("aria-label",Lf),s.appendChild(r),e.appendChild(s),t.subscribe(ri,i=>{let a=i.restTryItRequest;a.body=r.value}),{bodyText:r}}function _4e(e,t){let n=d` `;y(n,e);let s=e.querySelector('button[type="submit"]');return t.subscribe(Zg,()=>{s.classList.remove("is-loading")}),s}A();var JTe;function XTe(e,t){JTe=e,t.subscribe(Uv,n=>{v4e(JTe,n.response)})}function v4e(e,t){let n=e.querySelector(".response-section");n&&n.remove();let s=d` ${y4e(t.statusCode)} ${ZTe(QE,t.header,"http","response-header")} ${t.body!==null?ZTe(Lf,t.body,"json","response-body"):""} `,o=document.createElement("div");o.classList.add("response-section"),y(s,o),e.appendChild(o),Ov(o,".response-header"),t.body!==null&&Ov(o,".response-body")}function y4e(e){return d`

      ${cte}: ${e}

      `}function ZTe(e,t,n,s){return d`

      ${e}

      ${_$({language:n,code:t,cssClasses:s})}
      `}var eSe={prompt:Yo,type:"oauth2",login:async e=>{await p$(e)},transform:e=>(Rn.value!==null&&e.headers.set("Authorization",`Bearer ${Rn.value.access_token}`),e)},x4e={prompt:A9,type:"APIKey",login:async()=>{},transform:e=>e};function tSe(e){return{oauth2:eSe,apiKey:x4e}[e]||eSe}var sSe=null,v$,_p;function oSe(){return _p=T.createElement("div"),_p.style.height="100%",_p.setAttribute("aria-live","polite"),_p.setAttribute("aria-atomic","true"),_p.tabIndex=-1,sSe=S4e(b.data.restAPIData),v$=tSe("oauth2"),k4e(_p),_p}async function k4e(e){e.contains(T.activeElement)&&e.focus(),await v$.login(e),T4e(e)}function T4e(e){let t=T.createElement("form");t.classList.add("rest-tryit-form");let n=T.createElement("div");n.classList.add("signin-section"),E4e(n),t.appendChild(n),e.insertAdjacentElement("afterbegin",t);let s=new He;C4e(t,s,sSe),XTe(t,s),setTimeout(()=>{_p.setAttribute("aria-live","off")},0)}function S4e(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 nSe={light:"light",dark:"dark","high-contrast":"high-contrast"};function w4e(e){let t=w.authenticationMode==="AAD"?"org":"personal",n=T.getElementById("profile-icon");n&&(n.src=`/en-us/media/profile/${t}-account${nSe[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`);let s=T.getElementById("exit-icon");s&&(s.src=`/en-us/media/profile/fluent-arrow-exit-20-regular${nSe[e]==="light"?"":"-dark-hc"}.svg?branch=live`)}function E4e(e){lt.subscribe(vl,i=>w4e(i.currentTheme));let t=ad(),s=`/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`,r=d`

      REST API ${lh}

      ${yae}


      ${w.upn}

      ${PA}

      ${Rn.value.display_name}

      `;y(r,e)}function C4e(e,t,n){let s=WTe(e,t,n,v$);HM(e),e.onsubmit=r=>{A4e(s,t,v$),r.preventDefault()};let o=r=>{let i=r.restTryItRequest,a=r.security,l=b$(i,a);BTe(l).then(c=>{VTe(c).then(u=>{t.publish(new Uv(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||GTe(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=xae,u&&u.parentElement.append(p),t.publish(new Zg),c})};t.subscribe(RS,o)}function A4e(e,t,n){e.classList.add("is-loading");let s={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new ri(s)),qTe(e,n.type,I4e(s)),t.publish(new RS(s,n))}function I4e(e){return e.headers.concat(e.params).map(t=>({[t.name]:!!t.value.length}))}Pg();Ig({name:"http",activateButtonConfig:{name:lh,iconClass:"docon docon-play",attributes:[]},create:()=>({element:oSe(),setCode:()=>Promise.resolve(),execute:()=>Promise.resolve(),dispose:()=>{}})});async function P4e(){let e={};b.data.mathjax?.macros&&(e=b.data.mathjax.macros),O.MathJax={showMathMenu:!1,showMathMenuMSIE:!1,tex:{inlineMath:[["$","$"],["\\(","\\)"]],processEscapes:!0,macros:e}}}async function L4e(){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(),Wi(e,"sha384-Wuix6BuhrWbjDBs24bXrjf4ZQ5aFeFWBuKkFekO2t8xFU0iNaLQfp2K6/1Nxveei")}async function _6(){(P("show_latex")==="true"||b.data.pageTemplate==="ModuleUnit")&&Te.then(P4e).then(L4e)}function rSe(){let e=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||Ut),t=document.querySelector("html");e&&t&&t.classList.add("show-deprecation-warning")}rSe();A();var mYt=new He,iSe,aSe=!1,lSe,cSe,uSe,x$=0,y$=0,$S=0,v6=.125,y6=!1,R4e=d` 1% `;async function dSe(){if(!S.gamification||S.chromeless)return;await t$;let e=document.querySelector("#level-status-container"),t=document.querySelector("#level-status");!e||!t||(y(R4e,t),Te.then(()=>{w.whenAuthenticated().then(()=>{let n;b.data.pageTemplate==="Module"?n=new xo("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressModule"):b.data.pageTemplate==="LearningPath"?n=new xo("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressLearningPath"):b.data.pageTemplate==="ModuleUnit"&&(n=new xo("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressUnit")),n?.start(),lSe=document.querySelector("#level-status-text"),cSe=document.querySelector("#level-status-progress"),uSe=document.querySelector("#level-status-points");let s=t.querySelector("a");s!==null&&s.setAttribute("href",dn(w.userName)),n?.updateProgress("Fetching game status"),yv.getStatus(w.userId).then(o=>{n?.updateProgress("Fetched game status"),mSe(o),aSe=!0,e.classList.remove("is-hidden"),n?.succeed()}).catch(o=>{n?.fail(o)})})}))}function M4e(e,t,n,s){e.currentLevel>iSe&&(y6=!0),iSe=e.currentLevel,$4e(t,e.currentLevel),D4e(n,e,aSe),N4e(s,e.currentLevelHigh-e.currentLevelLow,e.currentLevelPointsEarned)}function $4e(e,t){e&&(e.textContent=`${UZ.replace("{number}",t.toString())}`)}function D4e(e,t,n){if(e){if(y$=j4e(t.currentLevelHigh,t.currentLevelLow,t.currentLevelPointsEarned),e.textContent=`${y$}%`,!n){O.cancelAnimationFrame(x$),e.value=$S=y$;return}z4e(e)}}function z4e(e){x$||(x$=pSe(e))}function pSe(e){return y6||e.value=100&&(y6=!1),$S=$S+v6,e.value=Math.floor($S+v6)%100,O.requestAnimationFrame(()=>{x$=pSe(e)})):0}function N4e(e,t,n){if(!e)return;let s=d` ${n} /${YN.replace("{totalXP}",t.toString())}`;y(s,e)}function j4e(e,t,n){let s=e-t,o=n/s;return Math.floor(o*100)}function mSe(e){S.chromeless||M4e(e,lSe,cSe,uSe)}Ve();async function gSe(){if(!b.data.isPermissioned)return;let e=F4e();e&&tn(e)}function F4e(){return b.data.permissionedType==="secret"||b.data.permissionedType==="private"?tW:null}function U4e(e,t){return d` `}async function ef(e,t){let n=document.createElement("div");n.classList.add("modal-content");let s=new ve(n);return y(U4e(e,t),n),s.show()}function fSe(e,t,n){b.data.isPermissioned&&e.addEventListener("click",function(s){s.preventDefault(),ef(t,n)})}function hSe(){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,x6={},k6={},T6={},S6={},w6={},NS={};async function O4e(){let e=R.supportLevel==="production"&&!Ut?"/country/countryRegion.json":"/test/country/countryRegion-dev.json",t=await M(e);if(!t.ok||t.status!==200)return[];try{return(await t.json()).countries}catch{return[]}}function zS(e,t,n){let s={};return e.forEach(o=>{let r=o[t],i=o[n];s[r]=i}),s}function q4e(e){let t={};return e.forEach(n=>{if(n.statesOrProvinces?.length>0){let s={};n.statesOrProvinces.forEach(o=>{s[o.code]=o.displayName}),t[n.ISOAlpha3Code]=s}}),t}async function bSe(){if(!(Zl&&Zl.length>0)&&(Zl=await O4e(),!!Zl))return x6=zS(Zl,"ISOAlpha2Code","displayName"),k6=zS(Zl,"ISOAlpha2Code","phoneCountryCode"),T6=zS(Zl,"ISOAlpha3Code","displayName"),S6=zS(Zl,"ISOAlpha3Code","ISOAlpha2Code"),w6=zS(Zl,"ISOAlpha2Code","ISOAlpha3Code"),NS=q4e(Zl),Promise.resolve()}A();var E6,_Se=()=>(E6===void 0&&(E6=Tg()),E6);A();function C6(e){return e.slice(-2).toUpperCase()}function B4e(e,t){let n=C6(e);return t.length===2?n===t:t.length===3?n===S6[t]:!1}function qv(e,t,n){let s=[],o=b.data.userLocale;for(let r in e){let i=B4e(o,r),a=r,l=e[r];t==="phone"&&n&&(a=e[r],l=`${n[r]} (+${e[r]})`),s.push(d``)}return s.length===0&&s.push(d``),s}A();function vSe(){window.addEventListener("form-validating",e=>{let t=jS(e.detail.form),n=T$(t);e.detail.errors?.length>=0&&(P6(e.detail.form,e.detail.errors),V4e(e.detail.form,e.detail.errors),G4e(e.detail.form,e.detail.errors),e6e(e.detail.form,e.detail.errors),X4e(e.detail.form,e.detail.errors),n6e(e.detail.form,e.detail.errors),s6e(e.detail.form,e.detail.errors)),t&&!t.querySelector("[data-warning-icon-container]")&&k$(t),n&&A6(n)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;FS(t)}),window.addEventListener("submission-error",e=>{let t=jS(e.detail.form);W4e(e.detail.request,e.detail.response,e.detail.form),J4e(e.detail.request,e.detail.response,e.detail.form),k$(t),t6e(e.detail.request,e.detail.response,e.detail.form)})}function V4e(e,t){let n=e.querySelector("[data-tag-input]");if(n&&t.filter(s=>s.input===n).length===0){let s=Q4e(n),o=ro(n).querySelector("[data-tag-input-holder]");s&&(vu(e,t,n,s,o),Uo(o,s));let r=Y4e(n);r&&r.length>0&&r.forEach(i=>{vu(e,t,n,i,o),Uo(o,i)})}}function G4e(e,t){let n=e.querySelector("#attachment-count");if(n&&t.filter(s=>s.input===n).length===0){let s=K4e(n),o=ro(n);if(s){let r=o.querySelector('[data-id="docs-markdown-editor"]'),i=o.querySelector("#markdown-editor");vu(e,t,n,s,r??void 0,i?.id??void 0),xSe(n,s)}}}function k$(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 A6(e){e.querySelectorAll("a").forEach(t=>t.classList.add("text-decoration-underline","has-line-height-reset"))}function Q4e(e){let t=e.getAttribute("minTags"),n=e.getAttribute("maxTags"),s=e.value===""?0:e.value.split(",").length;if(!t||!n)return null;if(!s||sNumber(n)){let o=zD(e);return`${Hae.replace("{min}",t).replace("{max}",n).replace("{tagLabel}",o.toLocaleLowerCase())}`}return null}function Y4e(e){let t=e.value.split(","),n=[];for(let s of t){let o=document.getElementById(s);if(!o)continue;let r=o.innerText;o.getAttribute("active")!=="false"||n.push(`${Bae.replace("{tagLabel}",r)}`)}return n.length>0?n:null}function K4e(e){if(e instanceof HTMLInputElement){let t=e.getAttribute("maxCount"),n=Number(e.value);if(t&&n&&n>Number(t))return wee.replace("{maximumCount}",t)}return null}async function W4e(e,t,n){if(t.status===412&&e.url.includes("api/question"))try{if((await t.json()).code==="processed-attachment-failure"){I6(n);let s=[],o=n.querySelector("#attachment-count"),r=n.querySelector('textarea[name="body"]');Uo(r,Bz),vu(n,s,o,Bz,ro(o).querySelector('[data-id="docs-markdown-editor"]')??void 0)}}catch{}}async function J4e(e,t,n){if(t.status===400&&e.url.includes("api/question"))try{if((await t.json()).errorCode==="processed-user-mention-failure"){I6(n);let s=[],o=n.querySelector('textarea[name="body"]'),r=Eee.replace("{maximumCount}","10");Uo(o,r),vu(n,s,o,r,n.querySelector("#markdown-editor")??void 0)}}catch{}}function jS(e){return e.querySelector("[data-form-error-alert]")??null}function T$(e){return e.querySelector("ul")??null}function I6(e){let t=e.querySelector("[data-form-error-alert] > ul");t&&(t.innerHTML="")}function vu(e,t,n,s,o,r,i){if(t.find(m=>m.message===s))return;let a=ySe(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=`${i?"":"#"}${r||c}`,p.textContent=s,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:s})}function ySe(e){let t=jS(e),n=T$(t),s=document.createElement("li");return s.classList.add("margin-bottom-xs"),t&&n&&(n.appendChild(s),t.hidden=!1,t.focus(),t.scrollIntoView()),s}function xSe(e,t){let s=ro(e).querySelector("[data-field-error-custom]")||Z4e(e);s.textContent=t}function Z4e(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 FS(e){if(e instanceof HTMLInputElement){let t=ro(e),n=e.hasAttribute("data-tag-input"),s=t.querySelector("docs-markdown-editor"),o=e.getAttribute("type")==="email";if(n){let r=t.querySelector("[data-tag-input-holder]");r&&r.classList.remove("border","border-color-danger")}if(s){let r=t.querySelector('[data-id="docs-markdown-editor"]');r&&r.classList.remove("border","border-color-danger")}o&&t.querySelector("[type=email]")?.classList?.remove("border","border-color-danger"),xSe(s??e,""),t.classList.remove("errored")}}function X4e(e,t){let n=e.querySelector("#question-body"),s=document.querySelector("docs-markdown-editor")?.parentElement,o=t.filter(r=>r.input===n);if(o&&o.length>0&&s){let r=e.querySelector('[data-form-error-container] a[href="http://approjects.co.za/?big=#question-body"]');if(r){r.addEventListener("click",()=>{setTimeout(()=>{window.location.hash="markdown-editor",s.focus()},0)});let i=e.querySelector('[data-id="docs-markdown-editor"]');i&&i.classList.add("border","border-color-danger")}}}function e6e(e,t){let n=e.querySelector('textarea[name="body"]');if(!n)return;let s=n.value.match(/(?:!\[(.*?)\]\((.*?)\))/gm);if(!s)return;let o=!1,r=[],i=[".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(s.forEach(l=>{let c=l.match(a);c&&!i.some(u=>c[0].includes(u))&&(o=!0,r.push(c[0]))}),o){let l=ro(n);vu(e,t,n,nie.replace("{urls}",r.join(", ")),l.querySelector('[data-id="docs-markdown-editor"]')??void 0,"https://learn.microsoft.com/en-us/answers/support/attachments#inserting-images-from-the-web",!0)}}async function t6e(e,t,n){if(n&&t.status===422&&e.url.includes("api/questions/admin/users"))try{if((await t.json()).errorCode==="validation-failure"){I6(n);let s=e.url.includes("/suspend")?Cee:Aee,o=ySe(n);o.innerText=s}}catch{}}async function n6e(e,t){if(!e?.getAttribute("data-suspended"))return;let s=e.querySelector('textarea[name="body"]');vu(e,t,s,Iee,void 0,"https://aka.ms/msftqacodeconduct",!0)}function P6(e,t){let n=e.querySelector("input[type=email]");n&&n.validity.typeMismatch&&(Uo(n,Vz),vu(e,t,n,Vz,n))}function s6e(e,t){let n=e.querySelector('input[data-lang*="en-"]'),s=b.data.userLocale||"en-us";if(!n||!s.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)&&(Uo(n,Gz),vu(e,t,n,Gz,n))}A();function o6e(e){let t=e.metadata.map(n=>d``);return d`${t}`}function kSe(e){let t=d`
      ${o6e(e)}
      `,n=document.createElement("div");y(t,n),document.body.appendChild(n),document.getElementById("pearson-vue-hidden-redirect-form").submit()}A();function Qa(e){return document.getElementById(e).value}function Hv(e,t,n,s,o="text",r=50,i=0){return d`
      `}function L6(e,t,n){return d`
      `}function R6(e){return d`
      ${e}
      `}var r6e=()=>{let n=new URL(window.location.href).searchParams.get("examUrl")||"";n?location.href=er(n).toString():window.history.back()};function TSe(){let e=C6(b.data.userLocale),t=w6[e],n=NS[t];return d`

      ${wG}

      ${EG}

      ${ua}

      ${Hv("address1",RG,WD,!0,"text",40)}
      ${Hv("address2",MG,WD,!1,"text",40)}
      ${Hv("city",$G,jG,!0,"text",32)}
      ${L6("state",DG,qv(n,"country"))}
      ${L6("countryRegion",Ny,qv(T6,"country"))}
      ${Hv("postalCode",zG,FG,!0,"text")}

      ${j(CG)}

      ${L6("phoneCountryCode",NG,qv(k6,"phone",x6))}
      ${Hv("phoneNumber",aee,UG,!0,"tel")}
      ${Hv("contactEmail",Ez,OG,!0,"email",255,6)}

      ${AG}

      ${IG}

      ${PG}


      ${j(LG)}

      `}function i6e(e){return d`
      ${e}
      `}function M6(e,t){t&&y(i6e(e),t)}var SSe=!0;function wSe(e){window.addEventListener("form-validating",s=>{b6e(s.detail.errors),SSe=s.detail.errors.length===0}),e.addEventListener("beforesubmit",async s=>{if(!SSe){s.preventDefault();return}let o=s.detail.form.querySelector("#schedule-pearson-submit");s.detail&&(s.preventDefault(),s.detail.callback=async()=>{o?.classList.add("is-loading");try{await l6e(s)}catch{let i=s.detail.form.querySelector("#ms--error-container");M6(Vo,i)}finally{o?.classList.remove("is-loading")}})}),window.addEventListener("clear-validation-errors",s=>{let o=s.detail.target;FS(o)});let t=document.getElementById("countryRegion"),n=document.getElementById("state");t.addEventListener("change",()=>{let s=Qa("countryRegion"),o=NS[s];y(qv(o,"country"),n)})}function a6e(e){let t=/^exam\.(.+)$|^(.+)$/,n=e.match(t);return n?n[1]||n[2]:""}async function l6e(e){let n=new URL(window.location.href).searchParams,s=n.get("examUrl")||"",o=n.get("examUid")||"",r=n.get("locale")||P("locale")||"en-us",i=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=i?{addressInfo:a,returnUrl:"placeholder",locale:"en-us",examUid:"placeholder"}:{addressInfo:a,returnUrl:s,locale:r,examUid:a6e(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=Vo;try{let f=await fetch(u,p);if(!f.ok)f.status===400&&(g=tZ),M6(g,m);else{let _=await f.json();kSe(_)}}catch{M6(g,m)}}var c6e=new RegExp("^[\\x20-\\x21\\x23-\\x3B\\x3F-\\x5B\\x5D-\\x7F]+$"),u6e=new RegExp("^[0-9]{5}([0-9]{4})?$"),d6e=new RegExp("^[A-Za-z][0-9][A-Za-z][0-9][A-Za-z][0-9]$"),p6e=new RegExp("^(['A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*['.A-Za-z0-9_-]+@([A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*[A-Za-z0-9]\\.[a-zA-Z]{2,12}$"),m6e=new RegExp("^(?!0*$)[0-9]*$"),g6e=new RegExp("^(?!0*$)\\d{3}\\d{3}\\d{4}$"),f6e=new RegExp("^[^.].*[^.]$|^$");function h6e(e,t){return e?t.test(e):!0}function US(e,t,n,s,o){if(!h6e(e,n)){let i=`${s.replace("{inputLabel}",document.querySelector(`label[for="${t.id}"]`)?.textContent||"")}`;Uo(t,i),_6e(o,t,i)}let r=`${ms} ${s}`;ht(r,"assertive")}function b6e(e){let t=document.getElementById("address1"),n=document.getElementById("address2"),s=document.getElementById("city"),o=document.getElementById("postalCode"),r=document.getElementById("phoneNumber"),i=document.getElementById("contactEmail"),a=document.getElementById("phoneCountryCode"),l=document.getElementById("countryRegion");[t,n,s].forEach(p=>US(p.value,p,c6e,eZ,e)),US(r.value,r,a.value==="1"?g6e:m6e,oZ,e),US(o.value,o,l.value==="USA"?u6e:l.value==="CAN"?d6e:/.*/,l.value==="USA"?nZ:l.value==="CAN"?sZ:"",e),US(i.value,i,p6e,WJ,e),[t,n,s,o,r,i].forEach(p=>US(p.value,p,f6e,GE,e))}function _6e(e,t,n){e.find(s=>s.message===n)||e.push({input:t,message:n})}function v6e(e){try{return e.origin.includes("microsoft")}catch{return!1}}function y6e(e,t){let n=t.get("examUid"),s=t.get("examUrl");return!!(n&&s&&v6e(e))}function x6e(e,t){return!!t.get("action")}function ESe(e=new URL(location.href)){let t=new URLSearchParams(e.search);return y6e(e,t)||x6e(e,t)}function CSe(e,t){let n=new URL(dn("me","settings")),s=P("locale")||"en-us",o=oe(n.search),r=new URLSearchParams({examUrl:e,examUid:t,locale:s,context:"exam",...o});return n.search=r.toString(),n.toString()}async function k6e(){if(await _Se(),!w.legalName?.first){let e=new URLSearchParams(location.search),t=e.get("examUid")||"",n=e.get("examUrl")||"";return location.href=CSe(n,t),!0}return!1}async function T6e(){return _e.then(async()=>w.isAuthenticated?await k6e()?Promise.reject():R6(TSe()):(Un(location.href),Promise.reject()))}async function ASe(){if(!P("scheduleThroughPearsonVue"))return;let t=document.querySelector("[data-main-column]");if(!t)return;await bSe();let n=window.location.origin;if(!ESe()){location.href=`${n}/credentials`;return}let s=As(await T6e(),R6(d`${Gt}`));y(s,t);let o=document.getElementById("pearson-vue-registration");o&&wSe(o)}var S$="image-browser-close-event";function ISe(e,t){let s={horizontal:0,vertical:0};t.addEventListener("keypress",o=>{o.which===Ie.enter&&(o.preventDefault(),e.toggleExpand())}),t.addEventListener("keydown",o=>{let r=o.which||o.keyCode;switch(r){case Ie.left:o.preventDefault(),s.horizontal=1;break;case Ie.right:o.preventDefault(),s.horizontal=-1;break;case Ie.up:o.preventDefault(),s.vertical=1;break;case Ie.down:o.preventDefault(),s.vertical=-1;break}[Ie.left,Ie.right,Ie.up,Ie.down].indexOf(r)>-1&&e.panViewport(5*s.horizontal,5*s.vertical)}),t.addEventListener("keyup",o=>{switch(o.which||o.keyCode){case Ie.left:o.preventDefault(),s.horizontal=0;break;case Ie.right:o.preventDefault(),s.horizontal=0;break;case Ie.up:o.preventDefault(),s.vertical=0;break;case Ie.down:o.preventDefault(),s.vertical=0;break}})}var Ya={dragging:!1,prevX:0,prevY:0},w$=null;function PSe(e,t){w$=w$||(n=>{if(e.state.expanded)if(n.buttons%2){n.preventDefault(),Ya.dragging=!0;let s=n.movementX||!isNaN(Ya.prevX)?n.screenX-Ya.prevX:0,o=n.movementY||!isNaN(Ya.prevY)?n.screenY-Ya.prevY:0;e.panViewport(s,o)}else Ya.dragging&&setTimeout(()=>{Ya.dragging=!1},0);else Ya.dragging=!1;Ya.prevX=n.screenX,Ya.prevY=n.screenY}),T.removeEventListener("mousemove",w$),T.addEventListener("mousemove",w$),t.addEventListener("dragstart",n=>{n.preventDefault()}),t.addEventListener("click",n=>{Ya.dragging||(n.preventDefault(),e.toggleExpand(n.offsetX,n.offsetY))})}var LSe=`
      `;function RSe(e,t){let n={touches:[]};t.addEventListener("touchstart",s=>{e.state.expanded&&(s.preventDefault(),Array.from(s.changedTouches).forEach(({identifier:o,screenX:r,screenY:i})=>{n.touches.push(Object.assign({},{identifier:o,screenX:r,screenY:i}))}))}),t.addEventListener("touchmove",s=>{if(e.state.expanded){s.preventDefault();let o=n.touches.map(l=>l.identifier),r=Array.from(s.changedTouches).filter(l=>l.identifier===n.touches[0].identifier);if(!r[0])return;let i=r[0].screenX-n.touches[0].screenX,a=r[0].screenY-n.touches[0].screenY;Array.from(s.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(i,a)}}),t.addEventListener("touchend",s=>{let o=n.touches.map(r=>r.identifier);Array.from(s.changedTouches).forEach(({identifier:r})=>{n.touches.splice(o.indexOf(r),1)})})}function MSe(e,t,n){let s=Math.max(e,t);return Math.min(n,s)}var E$=class{constructor(){this.imageElement=null;this.imageContainer=null;this.state={expanded:!1}}open(t,{url:n,alt:s}){return new Promise(r=>{t.innerHTML=LSe,this.imageContainer=t.querySelector("div"),this.imageElement=t.querySelector("#image-browser-image"),!(!this.imageContainer||!this.imageElement)&&(this.imageContainer.dir="ltr",this.imageElement.style.opacity="0",this.imageElement.style.transformOrigin="0 0",this.imageElement.addEventListener("error",()=>{}),this.imageElement.addEventListener("load",()=>{!this.imageContainer||!this.imageElement||(this.imageElement.classList.add("image-browser-expandable"),this.imageElement.style.width="",this.imageElement.style.height="",this.imageContainer.classList.add("image-browser-transition"),this.imageContainer.addEventListener("transitionend",()=>{this.imageContainer?.classList.remove("image-browser-transition")}),this.imageElement.style.opacity="1",this.imageElement.parentElement&&(ISe(this,this.imageElement.parentElement),PSe(this,this.imageElement.parentElement),RSe(this,this.imageElement.parentElement)),O.addEventListener("resize",()=>{this.state.expanded&&this.panViewport(0,0)},{passive:!0}),r(null))}),this.imageElement.src=n,this.imageElement.alt=s)})}close(){O.dispatchEvent(new CustomEvent(S$,{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 s=t/this.imageElement.clientWidth,o=n/this.imageElement.clientHeight,{naturalWidth:r,naturalHeight:i}=this.imageElement,a=Math.round(s*r),l=Math.round(o*i);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=MSe(0,c,r-this.imageContainer.clientWidth),m=MSe(0,u,i-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 s=this.state.translationX??0,o=this.state.translationY??0;this.state.translationX=Math.min(0,Math.max(this.imageElement.naturalWidth*-1+this.imageContainer.clientWidth,s+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 $Se(){O.addEventListener(S$,e=>{let t=e.detail;ye({behavior:le.REDUCE,actionType:we.CLICKLEFT,content:{type:"lightbox-close",image:t.image}})})}function $6(e){$Se();let t="lightbox-enabled",n=Array.from(e.querySelectorAll('a[href$="#lightbox"]')),s=new E$;n.forEach(o=>{o.classList.add(t),o.setAttribute("data-bi-name","lightbox"),o.setAttribute("aria-haspopup","dialog"),Ft(o,"click",r=>{r.preventDefault();let i=document.createElement("div");i.classList.add("modal-content"),s.open(i,{url:o.href,alt:o.querySelector("img")?.alt??""}),new ve(i).show().then(()=>s.close()),i.insertAdjacentHTML("afterend",``)})})}A();var w6e=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/challenges":"/challenges"}`;function cs(e,t,n,s){let o=new URL(location.href),r=new URLSearchParams(o.search),i=o;if(i.pathname=`${w6e()}/${e}${t?`/${t}`:""}`,n){let a=new URLSearchParams(n);for(let[l,c]of a)i.searchParams.set(l,c)}return s&&(i.hash=s),r.has("preview")&&i.searchParams.set("preview",r.get("preview")??""),i.href}function DSe(){let e=document.getElementById("challenge-end-date"),t=document.getElementById("challenge-start-date"),n=document.getElementById("challenge-end-time"),s=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"),s=o.querySelector("#challenge-start-time")),t&&e&&s&&n?{startDate:t,startTime:s,endDate:e,endTime:n}:null}function D6(e=!0){let{startDate:t,endDate:n}=DSe()||{};if(!(t&&n))return;let s=new Date(t.value);n.min=s.toISOString().split("T")[0],t.value&&n.value&&n.valued` `)}var zSe=b.data.userLocale,C6e=mt(),tf={async getChallenges(e,t,n=0,s=6){let o=`${$.lists}/challenge/${e}/${t}?${ie({page:n+1,pageSize:s,locale:zSe})}`,i=J(o,{method:"GET"}),a=await M(i);return me(a),a.ok?await a.json():null},async getChallenge(e){let t=`${$.lists}/challenge/${e}`,s=J(t,{method:"GET"}),o=await M(s);return me(o),o.ok?await o.json():null},async getChallengeStatistics(e){let t=`${$.lists}/challenge/${e}/statistics`,s=J(t,{method:"GET"}),o=await M(s);return me(o),o.ok?await o.json():null},async getChallengeLeaderboard(e,t=0,n=5){let s=`${$.lists}/challenge/${e}/leaderboard?${ie({page:t+1,pageSize:n})}`,r=J(s,{method:"GET"}),i=await M(r);return me(i),i.ok?await i.json():null},getChallengeCsv(e){return`${$.lists}/challenge/${e}/csv`},async createNewChallenge(e){let t=`${$.lists}/challenge`,s={method:"POST",body:JSON.stringify(e)},o=await M(J(t,s));if(me(o),o.ok){let r=await o.json();return yo(r.contentList),{hasError:!1,data:r}}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)},r=await M(J(n,o));if(me(r),r.ok){let i=await r.json();return yo(i.contentList),{hasError:!1,data:i}}return r.status===400?{hasError:!0,error:await r.json()}:null},async updateChallengeList(e,t){let n=`${$.lists}/challenge/${e}/list`,o={method:"PATCH",body:JSON.stringify(t)},r=await M(J(n,o));if(me(r),r.ok){let i=await r.json();return yo(i.contentList),{hasError:!1,data:i}}return r.status===400?{hasError:!0,error:await r.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}`,s=J(n,{method:"POST"},!0,!1),o=await M(s);return me(o),o.ok?{}:null},async getFacetProducts(){let e={branch:C6e,locale:zSe,facet:"products"},t=`${$.browse.learn}?${ie(e,!0)}`,s=await M(J(t,{method:"GET"}));if(s.ok){let o=await s.json();return!o||!o.facets||!o.facets.products?[]:o.facets.products}if(s.status===400){let o=await s.json();throw new Error(`${o.errorCode}: ${o.message}`)}return null}};A();A();A();A();var no=ao(e=>t=>{t.setValue(e)});function N6({origin:e,protocol:t,hostname:n,port:s}){return e||(t&&n?`${t}//${n}${s&&s!=="443"&&s!=="80"?":"+s:""}`:location.origin)}A();var _tn=6*60*60*1e3,I6e,vtn=new Promise(e=>I6e=e);function NSe(e,{compareOrigin:t}={compareOrigin:!0}){let n=e.target instanceof HTMLElement&&e.target.closest("a"),s=!!n&&N6(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:!s}:t&&!s||s&&n.classList.contains(au)||s&&/^#lightbox/.test(n.hash)||s&&n.closest("#docs-admin-editor .ProseMirror")||n.classList.contains("following-user-profile")?{anchor:n,shouldHandle:!1,differentOrigin:!s}:{anchor:n,shouldHandle:!0,differentOrigin:!s}}function jSe(){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 F6=class{constructor(){this.referrerStack=[];this.finished=Promise.resolve();this.handleClick=t=>{let{shouldHandle:n,anchor:s}=NSe(t);if(!n||!s.href)return;let o=new URL(s.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 s=t.pathname===n.pathname;for(let o of this.delegate.params)s=s&&t.searchParams.get(o)===n.searchParams.get(o);return!s}}enable(t,n=new URL(ee.href)){this.delegate=t,this.currentUrl=n,O.addEventListener("click",this.handleClick,!0),O.addEventListener("popstate",this.handlePopstate)}disable(){this.delegate=null,O.removeEventListener("click",this.handleClick,!0),O.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")&&j6(["branch","themebranch","api-branch"],t,n),j6(["preview"],t,n),j6(["variant"],t,n)}navigateInternal(t,n){let s=async()=>{WL.splice(0,WL.length).forEach(a=>a()),lt.publish(new vh(t));let r=jSe(),i=await this.delegate.handle(t);T.title=i.title,n?(Qs.pushState(void 0,i.title,i.url.href),this.referrerStack.push(i.url)):Qs.replaceState(void 0,i.title,i.url.href),O.scrollTo(0,0),OS(t.hash),lt.publish(new bn(i.title,i.url,this.currentUrl)),r.remove(),this.currentUrl=t},o=this.finished.then(s);return this.finished=o.catch(()=>{}),o}},Pr=new F6;function j6(e,t,n){for(let s of e){let o=t.searchParams.get(s);o&&n.searchParams.set(s,o)}}function OS(e){if(e.length<2)return;let t=T.body.querySelector(e);t&&t.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"})}function Xi(e){Array.from(e.querySelectorAll("[data-label]")).forEach(t=>{t.hidden=!0})}function Mn(e,t){let n=e.querySelector(`[data-label="${t}"]`);n!==null&&(n.hidden=!1)}function qn(e,t,n,s=O.location,o=b.data.userLocale,r){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 i=new URL(s.origin+s.pathname+s.search).searchParams;i.delete("id");let a=i.toString();a=a.length?"?"+a:"";let l;return t&&t!=="activity"?l=new URL(`/${o}/users/${e}/${t}${n?`/${n}`:""}${r?`/${r}`:""}${a}`,s.origin):l=new URL(`/${o}/users/${e}/${a}`,s.origin),l}function yu(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 U6(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 O6(){return d`

      ${ju}

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

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

      `}function OSe(e){return A$(e?tz:xX,e?void 0:{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Ol?"/test":""}/training/browse/`}})}A();async function I$(e,t){let n=e.elements.namedItem("collection-title").value,s=e.elements.namedItem("collection-description").value,o=e.elements.namedItem("collection-privacy-checkbox").checked;e.querySelector("button[type=submit]").classList.add("is-loading"),Xi(e);try{let r=await kxe({type:"collection",name:n,description:s,items:t,isPrivate:o});return qSe(r,e)}catch(r){let i=r;return qSe({hasError:!0,error:{errorCode:await em(i)||"UnexpectedError",message:i.message||""}},e)}}function qSe(e,t){if(e.hasError===!0){let n=t.querySelector("button[type=submit]");n&&n.classList.remove("is-loading");let{errorCode:s}=e.error;return s==="UnexpectedError"?Mn(t,"somethingWentWrong"):L6e(s,t),{hasError:!0}}return{hasError:!1,data:e.data}}function L6e(e,t){let n=t.elements.namedItem("collection-title"),s=t.elements.namedItem("collection-description");switch(e){case"InvalidBody":case"MissingType":return;case"InvalidTitle":n.setCustomValidity(Au),n.reportValidity();return;case"InvalidDescription":s.setCustomValidity(My),s.reportValidity();return;case"DuplicateTitle":let o=EE.replace("{title}",n.value);n.setCustomValidity(o),n.reportValidity();return;default:return}}function qS(e,t,n,s,o,r=bc,i=!0,a=!1,l="",c=""){return d`

      ${e}

      ${kK}

      ${Go}
      `}var P$=[],nf={};function HSe(e,t,n,s="collection",o=()=>{}){return nf={},d` `}async function R6e(e,t,n){let s=document.createElement("div");s.classList.add("modal-content");let o=$Y.replace("{userDisplayName}",w.displayName).replace("{index}",(n+1).toString()),i=d` `;return y(i,s),s.querySelector("button[type=submit]").onclick=async()=>{await M6e(e,t)},s}async function q6(e,t,n){let s=[],o="",r=[];if(n==="plan"){try{r=await xxe()}catch{r=[]}s=r?.map(m=>m.contentList)??[],o=zoe}else if(n==="challenge")s=(await tf.getChallenges("created","all",0,100))?.challenges.filter(f=>!f.earlyRegistrationEnabled&&new Date(f.starts)>new Date)?.map(f=>f.contentList)||[],o=R7;else{let m=await yxe(g=>g.type==="collection"||g.type==="bookmarks");m===null?o=ju:(s=m??[],o=qae)}let i=s.length===0,a=e.querySelector("#collections"),l=e.querySelector("#save-collection");if(l&&l.hasAttribute("data-autofocus")&&l.removeAttribute("data-autofocus"),i){let m=d`

      ${o}

      `;return l&&(l.setAttribute("data-autofocus","data-autofocus"),(n==="plan"||n==="challenge")&&l.setAttribute("disabled","disabled")),y(m,a),[]}let c;try{let m=await ut.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"?!gt(m.skillingPlanId)&&s.find(g=>g.skillingPlanId===m.skillingPlanId):n==="challenge"?!gt(m.learnChallengeId)&&s.find(g=>g.learnChallengeId===m.learnChallengeId):gt(m.skillingPlanId)&>(m.learnChallengeId)):[];P$=u;let p=d` ${s.map(m=>{let g=m.skillingPlanId??"";return d`
      `})}`;if(y(p,a),s.length===1&&s[0].id==="bookmarks"&&P$.length===0){let m=await kv(t);await ut.addItem("bookmarks",m)}return P$}async function M6e(e,t,n="collection"){event.preventDefault();let s=event.target;s.classList.add("is-loading");let o=kv(t),r=document.getElementById("save-to-collection");await I$(r).then(async i=>{i.hasError?s.classList.remove("is-loading"):(i=i,nf[i.data.id]=o,BSe(e),P$=await q6(document.querySelector(".modal-card"),t,n))})}async function $6e(e,t,n){let s=event.target;if(s.checked){let o=kv(e);n[s.id]=o}else{let o=t.find(r=>r.listId===s.id);o?n[s.id]=o.id:n[s.id]&&delete n[s.id]}}function D6e(e){let t=Object.keys(e);return Promise.all(t.map(async n=>typeof e[n]!="string"?ut.addItem(n,await e[n]):ut.deleteItem(n,e[n])))}async function z6e(e,t,n){e.pushContent(await R6e(e,t,n))}function BSe(e){e.popContent()}A();A();var N6e=new Intl.NumberFormat(b.data.userLocale);function $o(e){return N6e.format(e)}var HS=new Intl.NumberFormat(b.data.userLocale,{notation:"compact",compactDisplay:"short"}),BS=new Intl.NumberFormat(b.data.userLocale,{maximumFractionDigits:0}),j6e=new Intl.NumberFormat(b.data.userLocale,{style:"percent",maximumFractionDigits:0});var sf="Applied Skills";function Kn(e){return e.replace("{AppliedSkills}",sf)}var VSe={module:So,"learning path":eN,certification:mc,examination:YW},L$={"applied skills":sf,certification:mc,examination:Bo,course:Dp};var H6=!1,GSe={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"}},F6e={bookmarks:{pressed:bG,unpressed:_G},collection:{pressed:yK,unpressed:xK},challenge:{pressed:z7,unpressed:N7},plan:{pressed:bte,unpressed:_te},studyguide:{pressed:qre,unpressed:Hre}};function R$(e,t){return`docon-${t?GSe[e].pressed:GSe[e].unpressed}`}function U6e(e,t,n){return F6e[e][t?"pressed":"unpressed"].replace(/\{title\}/g,n)}function O6e(e,t,n){let s=e?.querySelector("summary"),o=s?.querySelector(".add-to-collection-status");s?.querySelector(".docon")?.classList.remove(R$(n,!t)),s?.querySelector(".docon")?.classList.add(R$(n,t)),o&&(o.textContent=t?Hw:uc)}function q6e(e,t,n,s){e.setAttribute("data-pressed",s.toString()),e.setAttribute("title",U6e(t,s,n));let o=e.querySelector(".docon");if(!o)throw new Error("Expected list button to contain a docon");if(o.classList.remove(R$(t,!s)),o.classList.add(R$(t,s)),e.closest(".popover")!==null){if(t==="collection"){let r=e.querySelector(".popover .collection-status");r&&(r.textContent=s?yz:xz)}else if(t==="plan"){let r=e.querySelector(".plan-status");r&&(r.textContent=s?fN:gN)}else if(t==="challenge"){let r=e.querySelector(".challenge-status");r&&(r.textContent=s?uE:ez)}}else{let r=e.querySelector(".collection-status:not(.popover *)");if(r){r.textContent=s?Hw:uc;return}let i=e.querySelector(".popover .add-to-collection-status");i&&(i.textContent=s?Hw:uc)}}async function Do(e){if(!e)return;if(!S.userServices){Array.from(e.querySelectorAll("button[data-list-type]")).forEach(r=>r.hidden=!0);return}let n=is(ee.pathname).indexOf("/training")!==-1||ee.href.indexOf("interests")!==-1;Array.from(e.querySelectorAll("button[data-list-type]:not(.popover *)")).forEach(o=>{H6e(o,n)}),GS(e),e.querySelectorAll("button[data-list-type]").forEach(o=>{o.addEventListener("click",G6e)})}function H6e(e,t){let n=V6(e);if(n===null)return;let s=e.closest("#article-header"),o=t&&(n.resourceType==="learning path"||n.resourceType==="module"),r=T.createElement("details");r.classList.add("popover","popover-right","add-item-popover"),t&&e.parentElement&&e.parentElement.id==="module-actions"&&r.classList.remove("popover-right");let i=o?d` `:"",a=d`
      ${i}
      `;y(a,r),e.replaceWith(r)}var vp=[];async function GS(e,t=w.isAuthenticated){let n=Array.from(e.querySelectorAll("button[data-list-type]")).map(a=>V6(a)).filter(a=>a!==null);if(n.length===0)return;let s=n.map(a=>a.url).filter((a,l,c)=>a&&c.indexOf(a)===l);if(t&&!vp?.length)try{let a=await ut.getAllListsByUrl(s);a.hasError===!1&&(vp=a.data)}catch{vp=void 0}let o=B6e(vp),r=a=>{a==="collection"?vp=Array.from(o.collectionAssociations):a==="plan"?vp=Array.from(o.planAssociations):a==="challenge"&&(vp=Array.from(o.challengeAssociations))};for(let{button:a,type:l,url:c,title:u}of n){r(l);let p=V6e(c,vp);q6e(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===yz||c?.textContent===fN||u?.textContent===uE;O6e(a,p,"collection")})}function B6e(e){return(e??[]).reduce((t,n)=>(n.lists.forEach(s=>{!gt(s.skillingPlanId)&>(s.learnChallengeId)?t.planAssociations.add(n):!gt(s.learnChallengeId)&>(s.skillingPlanId)?t.challengeAssociations.add(n):gt(s.skillingPlanId)&>(s.learnChallengeId)&&t.collectionAssociations.add(n)}),t),{planAssociations:new Set,collectionAssociations:new Set,challengeAssociations:new Set})}function V6e(e,t){return t.findIndex(n=>n.url===e&&n.lists.length>0)!==-1}async function G6e(e,t=w.isAuthenticated){let n=V6(e.target);if(n!==null){if(e.preventDefault(),b.data.isPermissioned){ef(kE,dK);return}if(!t){let s=n.type==="plan"?Doe:n.type==="challenge"?eQ:wz;Q6e(s);return}Y6e(n)}}function V6(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 s=t.getAttribute("data-list-item-url")||ee.href,o=t.getAttribute("data-list-item-title")||T.title,r=yS(s),i=t.getAttribute("data-pressed")==="true",a=t.getAttribute("data-list-source")||"module",l=t.getAttribute("data-resource-type")||"";return{button:t,type:n,url:r,title:o,pressed:i,source:a,resourceType:l}}async function Q6e(e=wz){let n=fp(e,null,Yo);(await ls(n)).submitted&&Un()}async function Y6e({button:e,url:t,title:n,type:s}){e.classList.contains("is-loading")||(e.classList.add("is-loading"),K6e(t,n,s).catch().finally(()=>{e.classList.remove("is-loading")}))}function VS(e="added",t=[],n="collection"){let s=T.querySelectorAll("#collections input:checked"),o=f=>e==="removed"&&t.length===1?t[0]:Be(s.item(0).getAttribute(f)),r;n==="plan"?s.length===1&&e==="added"?r=U6(o("data-plan-id")).href:e==="removed"&&t.length!==0?r=U6(t[0]).href:r=qn(w.userName,"plans").href:n==="challenge"?s.length===1?r=cs(o("data-challenge-id"),"details"):e==="removed"&&t.length!==0?r=cs(t[0],"details"):r=cs("home"):s.length===1?r=yu(o("id")).href:r=qn(w.userName,"collections",e==="removed"&&t.length!==0?t.length===1?t[0]:"":s.length===1?Be(s.item(0).getAttribute("id")??""):"").href;let i=pK,a=mK,l=cK,c=uK;n==="plan"?(i=Tte,a=Ste,l=Ete,c=Cte):n==="challenge"&&(i=Z7,a=X7,l=tQ,c=nQ);let u={"is-hidden":!1},p;if(e==="added")p=(s.length!==1?a:i.replace("{collectionName}",Be(s.item(0).getAttribute("name")))).replace("{url}",r);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}",Be(f))).replace("{url}",r)}else p=n==="plan"?lse.replace("{url}",r):n==="challenge"?uE.replace("{url}",r):PY.replace("{url}",r);let m=d`
      ${j(p)}
      `,g=T.createElement("div");y(m,g),new Ev(g).show(),GS(T.body)}async function K6e(e,t,n){let s=T.querySelector(".modal");if(H6||s&&!s.querySelector(".page-actions-menu"))return!1;H6=!0;let o=T.createElement("div");o.classList.add("modal-content");let r=new ve(o),i=[];return y(HSe(r,t,e,n,()=>{W6e(i.map(a=>n==="plan"?a.skillingPlanId:n==="challenge"?a.learnChallengeId:a.listId),n)}),o),i=await q6(o,e,n),H6=!1,r.show()}function W6e(e,t){GS(T.body);let n=Array.from(T.querySelectorAll("#collections input:checked")).map(r=>t==="plan"?r.attributes.getNamedItem("data-plan-id")?.value:t==="challenge"?r.attributes.getNamedItem("data-challenge-id")?.value:r.id),s=n.filter(r=>!e.includes(r)),o=e.filter(r=>!n.includes(r));s.length>0&&o.length===0?VS("added",void 0,t):s.length===0&&o.length>0?VS("removed",o,t):s.length>0&&o.length>0&&VS("updated",void 0,t),Do(T.body)}A();function YSe(e){qa().then(t=>{let n=[],s=0;for(let r of t.products){let i=[];for(let{moniker:l,versionDisplayName:c}of r.packages)Bi(l)&&Ha[l]&&i.push(`${Is(Be(c))}`);if(i.length===0)continue;let a=s===0?"propertyInfoTitle":"propertyInfoTitle stack";n.push(d`

      ${Be(r.displayName)}

      ${j(i.join(" "))}
      `),s++}let o=document.createElement("div");y(n,o),e.insertAdjacentElement("afterend",o)})}function KSe(){let e=document.querySelector(".moniker-applies-to-table"),t=Array.from(document.querySelectorAll(".moniker-applies-to-overloadmember"));!e&&t.length===0||qa().then(n=>{if(e){let s=e.parentElement?.parentElement?.getAttribute("data-moniker");(!s||s.trim()==="")&&(s=Ti("monikers").join(" "));let o="",r=e.parentElement?.parentElement?.querySelectorAll(".alert.is-danger");r&&r.length>0&&r.forEach(i=>{let a=i.getAttribute("data-moniker");a!==null&&a!==""&&(o+=a)}),QSe(e,n,s,o)}if(t.length!==0)for(let s of t){let o=s.parentElement.parentElement.parentElement.parentElement.getAttribute("data-moniker"),r=s.parentElement.parentElement.parentElement.parentElement.querySelectorAll(".alert.is-danger"),i="";r.forEach(a=>{let l=a.getAttribute("data-moniker");l!==null&&l!==""&&(i+=l)}),QSe(s,n,o,i)}})}function QSe(e,t,n,s){if(!e)return;let o=e.parentElement.querySelector("summary"),r=e.querySelector("thead"),i=[],a="",l="",c=0,u=!1;for(let f of t.products){let _=[],h=[],x="";for(let{moniker:v,versionDisplayName:k}of f.packages){let I=Is(Be(k));s&&s.split(" ").indexOf(v)>0&&(h.push(I),u=!0),n&&n.split(" ").indexOf(v)>=0&&(c++,c===1?a=Be(f.displayName)+" "+I:c===2&&(l=Be(f.displayName)+" "+I),h.includes(I)||_.push(I))}_.length===0&&h.length===0||(_.length>0&&(_.reverse(),x=_.join(", ")+" "),h.length>0&&(h.reverse(),x=x+"("+h.join(", ")+")"),i.push(d` ${Be(f.displayName)} ${j(x)} `))}if(i.length===0)return;o&&(c===1?o.textContent=a:c===2?o.textContent=oG.replace("{version1}",a).replace("{version2}",l):c>=3&&(o.textContent=sG.replace("{version}",a)));let p=Iae;u&&(p=p+" "+nG+"");let m=d` ${Kf} ${j(p)} `;y(m,r);let g=document.createElement("tbody");y(i,g),r.insertAdjacentElement("afterend",g)}function WSe(){let e=it();if(e==="")return;let t=document.querySelector(".moniker-display-boilerplate");t&&qa().then(n=>{for(let s of n.products)for(let{moniker:o,isPrerelease:r}of s.packages)if(e===o&&Bi(o)&&Ha[o]&&r){t.classList.remove("is-hidden");return}})}function M$(){let e=it();if(!Bi(e))return!1;J6e(e);let t=Z6e(T.body);return X6e(t,e),op(),It(),!0}var JSe=T.createElement("style");T.head.appendChild(JSe);function J6e(e){JSe.textContent=` [data-moniker]:not([data-moniker~='${e}']) { display: none !important; } `;let t=T.querySelectorAll(`[data-moniker~='${e}'] [data-id]`);for(let s=0;stVe(e)),O.addEventListener($H,nVe)}var zo={dotnet:{displayName:".NET",validSearchTerm:/^[A-Za-z_][A-Za-z0-9.<>,_]{2,255}$/,namespaceItemType:"Namespace",namespacesPath:"namespaces",monikerPickerLabel:Qw,allApisLabel:Vw,resultsHeadingTemplate:Yw,selectLabel:EA},java:{displayName:"Java",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,]{2,255}$/,namespaceItemType:"Package",namespacesPath:"namespaces",monikerPickerLabel:Qw,allApisLabel:Vw,resultsHeadingTemplate:Yw,selectLabel:EA},javascript:{displayName:"JavaScript",validSearchTerm:/^[A-Za-z@][A-Za-z0-9.<>,!\/\-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:eA,allApisLabel:Gw,resultsHeadingTemplate:sN,selectLabel:wA},powershell:{displayName:"PowerShell",validSearchTerm:/^[A-Za-z][A-Za-z0-9.-]{2,255}$/,namespaceItemType:"Module",namespacesPath:"modules",monikerPickerLabel:eA,allApisLabel:Gw,resultsHeadingTemplate:gX,selectLabel:wA},python:{displayName:"Python",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,_-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:eA,allApisLabel:Gw,resultsHeadingTemplate:sN,selectLabel:wA},rest:{displayName:"REST",validSearchTerm:/^[A-Za-z ]{3,255}$/,namespaceItemType:"",namespacesPath:"services",monikerPickerLabel:Qw,allApisLabel:Vw,resultsHeadingTemplate:Yw,selectLabel:EA}};var zt=P("platform")||P("apiPlatform")||null,G6;function Xl(){return G6===void 0&&(G6=dhe(zt).then(sVe)),G6}function sVe(e){let{platformId:t,families:n}=e,s=[],o={},r=[];for(let i of n)for(let a of i.products){r.push(a);for(let l of a.packages){let{moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f}=l,_={platform:e,family:i,product:a,moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f};s.push(_),o[_.moniker]=_}}return{platformId:t,families:n,products:r,packages:s,packagesByMoniker:o}}var QS=zo[zt],YS=!1;function swe(e){let{element:t,button:n,buttonDisplayedValue:s,productList:o}=oVe();function r(c){c.target instanceof Element&&!t.contains(c.target)&&i()}function i(){T.documentElement.classList.remove("moniker-picker-expanded"),t.classList.remove("expanded"),n.setAttribute("aria-expanded","false"),O.removeEventListener("focus",r,{capture:!0}),O.removeEventListener("click",r),fb.removeListener(i)}function a(){i(),n.focus()}function l(){T.body.removeAttribute("style"),T.documentElement.classList.add("moniker-picker-expanded"),t.classList.add("expanded"),n.setAttribute("aria-expanded","true"),O.addEventListener("focus",r,{capture:!0}),O.addEventListener("click",r),fb.addListener(i)}return rVe(e,n,s,o),lVe(n,o,l,a),cVe(o,a),uVe(o,a),t}function oVe(){let e=T.createElement("div");e.classList.add("moniker-picker"),e.setAttribute(Cn.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 rVe(e,t,n,s){return zt==="rest"&&(YS=!0),e?Xl().then(o=>{o.packagesByMoniker[it()]===void 0&&ep("");let r=()=>{let i=it();i===""?n.textContent=QS.allApisLabel:n.innerHTML=Is(Be(o.packagesByMoniker[i].displayName))};O.addEventListener(Ro,r),r(),iVe(s);for(let i of o.families)ewe(i.products,s)}):qa().then(o=>{YS=o.products.length===1,YS&&o.products[0].packages.length===1&&(t.disabled=!0);let r=()=>{let i=it();n.innerHTML=Is(Be(D_(o,i).displayName))};O.addEventListener(Ro,r),r(),ewe(o.products,s)})}function iVe(e){let t=QS.allApisLabel;e.insertAdjacentHTML("afterbegin",`
    • ${t}
    • `)}function ewe(e,t){if(YS){twe(e[0].packages,t);return}for(let{displayName:n,packages:s}of e){let o=Xe(),r=Xe();t.insertAdjacentHTML("beforeend",`
    • `);let i=t.lastElementChild.lastElementChild,a=i.lastElementChild;twe(s,a),i.insertAdjacentHTML("beforeend",'');let l=i.lastElementChild;s.find(u=>/^azurermps/.test(u.moniker))&&l.insertAdjacentHTML("beforeend",`${Be(uZ)}`);let c=P("archive_url");c&&l.insertAdjacentHTML("beforeend",`${Be(Pf)}`)}}function twe(e,t){for(let{moniker:n,isDefault:s,versionDisplayName:o}of e)t.insertAdjacentHTML("beforeend",`
    • ${Be(o)}
    • `)}function aVe(e){Array.from(e.querySelectorAll("button.versions")).forEach(n=>{n.setAttribute("aria-expanded","false")})}function D$(e,t,n){let s=e.querySelector('button[aria-expanded="true"]');s!==t&&(s!==null&&s.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 r=o.querySelector('a[role="menuitem"]');r!==null&&r.focus()},300)},100))}function owe(e,t){return e.querySelector(`a[href="http://approjects.co.za/?big=?view=${t}"]`)}function nwe(e){let t=e.nextElementSibling,n=owe(t,it()),s=t.querySelector('a[href^="?view="][data-default="true"]'),o=t.querySelector('a[href^="?view="]');return n||s||o}function rwe(e){return e.search==="?view="||YS?null:e.parentElement.parentElement.parentElement.previousElementSibling}function lVe(e,t,n,s){let o=()=>{n();let r=it(),i=owe(t,r),a=rwe(i);D$(t,a,!1),setTimeout(()=>{a!==null&&a.scrollIntoView(!1),i.scrollIntoView(!1),setTimeout(()=>{i.focus()},100)})};e.addEventListener("click",()=>{e.getAttribute("aria-expanded")==="false"?o():s()}),e.addEventListener("keydown",r=>{let i=e.getAttribute("aria-expanded")==="true";i&&r.keyCode===Ie.up?(r.preventDefault(),s()):!i&&r.keyCode===Ie.down&&(r.preventDefault(),o())})}function cVe(e,t){e.addEventListener("keydown",n=>{let s=n.target;if(s.getAttribute("role")!=="menuitem")return;let o=n.keyCode,r;switch(o){case Ie.left:s instanceof HTMLAnchorElement&&s.search!=="?view="&&(n.preventDefault(),rwe(s).focus(),aVe(e));break;case Ie.right:s instanceof HTMLButtonElement&&s.hasAttribute("aria-controls")&&(n.preventDefault(),nwe(s).focus(),fb.matches||D$(e,s instanceof HTMLButtonElement?s:null,!0));break;case Ie.up:case Ie.down:n.preventDefault();let i=o===Ie.up?"previousElementSibling":"nextElementSibling",a=o===Ie.up?"lastElementChild":"firstElementChild";s.parentElement[i]===null?r=s.parentElement.parentElement[a].firstElementChild:r=s.parentElement[i].firstElementChild,r.focus(),!fb.matches&&s instanceof HTMLButtonElement&&s.getAttribute("aria-expanded")==="true"&&(n.preventDefault(),nwe(s).focus());break;case Ie.home:case Ie.end:n.preventDefault();let l=o===Ie.home?"firstElementChild":"lastElementChild";r=s.parentElement.parentElement[l].firstElementChild,r.focus(),r.parentElement.parentElement===e&&D$(e,r instanceof HTMLButtonElement?r:null,!0);break;case Ie.escape:n.preventDefault(),t();break}})}function uVe(e,t){e.addEventListener("click",n=>{let s=n.target;if(s.getAttribute("role")==="menuitem"){if(s instanceof HTMLAnchorElement){n.preventDefault();let o=oe(s.search).view;ep(o),t();return}s instanceof HTMLButtonElement&&(!fb.matches&&s.getAttribute("aria-expanded")==="true"?s.setAttribute("aria-expanded","false"):D$(e,s,!0),s.focus())}})}A();A();var ii=b.data.pageTemplate,xu=P("page_type"),dVe=P("page_kind"),Q6=P("pagetype"),pVe=P("interactive_type"),of=Ha.any||ii==="Conceptual"&&Q6==="Reference"&&zt!==null||ii==="Conceptual"&&xu==="powershell"&&zt!==null||ii==="Conceptual"&&Q6==="Conceptual"&&zt==="powershell"||ii==="Conceptual"&&xu==="conceptual"&&zt==="powershell"||(ii==="Conceptual"&&xu==="conceptual"||ii==="Reference"&&xu==="python")&&zt==="python"||(ii==="Conceptual"&&xu==="conceptual"||ii==="Reference"&&xu==="cli")&&pVe==="azurecli"||ii==="Reference"&&xu==="powershell"&&zt!==null||ii==="Reference"&&xu==="azure-cli"&&dVe==="group",iwe=ii==="Reference"&&zt!==null||ii==="Conceptual"&&Q6==="Reference"&&zt!==null||ii==="Conceptual"&&xu==="powershell"&&zt!==null;function awe(){of&&$$(!0)}function mVe(e){let t=document.createElement("div");return t.setAttribute("data-bi-name","left toc"),t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(d`

      ${e||qf}

      `,t),t}var ec;function Y6(e,t){if(t){let n=Array.from(document.getElementsByClassName("contents-expand-title"));for(let s of n)s.innerText=t}window.addEventListener("click",n=>{if(!(n.target instanceof Element&&n.target.closest("[data-contents-button]")))return;n.preventDefault();let o=mVe(t),r=["margin-xs"];of&&it()&&(r=["margin-inline-xs","margin-bottom-xs","margin-top-none"]),e(o,r,["padding-inline-xs","padding-top-xs"],["padding-inline-xs","padding-top-xs","border-top"],["modal-close","border"]);let c=new ve(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 cwe(){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=P("experimental_moniker_picker")==="true";return e&&(n||t)}function z$(e){let t=document.createElement("div");return t.classList.add("moniker-picker2","margin-right-sm"),t.setAttribute("data-bi-name","moniker-picker"),y(KS(e),t),e?Xl().then(n=>{y(KS(e,null,n),t),addEventListener(Ro,()=>y(KS(e,null,n),t))}):qa().then(n=>{y(KS(e,n),t),addEventListener(Ro,()=>y(KS(e,n),t))}),t}function KS(e,t,n){let s=Xe(),o=`${s}-picker-label`,r=P("archive_url"),i=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"),y(gVe(t),u),ec.pushContent(u)}},l=c=>{let u,p=it();return c&&p===""?u=zo[zt].allApisLabel:c?u=n.packagesByMoniker[p].displayName:u=t?D_(t,p).displayName:"",u};return d` ${ch} `}function lwe(e){let t=Xe(),n=b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light",s=b.data.userDir==="ltr"?"text-align-left":"is-text-right",o=P("archive_url");return d` ${e.packages.length!==1?d``:d`
    • ${e.packages[0].displayName}
    • `} `}function uwe(e){let t=b.data.userDir==="ltr"?"text-align-left":"is-text-right";return d`
    • ${e.versionDisplayName}
    • `}function gVe(e){let t=e&&e.products.length===1;return d` ${t?d`${dwe(e.products[0])}`:d` ${pwe(Wf)} ${mwe(qf)}
        ${e&&e.products?e.products.map(n=>fVe(n)):""}
      `} `}function fVe(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 dwe(e){let t=Xe(),n=P("archive_url");return d` ${pwe(e.displayName)} ${mwe(Wf)}
      `}function pwe(e){return d`

      ${e}

      `}function mwe(e){let t=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right";return d`
      `}function hVe(e){if(ec){let t=document.createElement("div");t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),y(dwe(e),t),ec.pushContent(t)}}function N$(e){let t=e.target;if(t instanceof HTMLAnchorElement){e.preventDefault();let n=oe(t.search).view;ep(n),ec?ec.hide():(z3(t),z3(t));return}}function j$(e){let t=it();return e===t?"true":void 0}var gwe="api-search-quick-filter";function fwe(){return Xl().then(e=>{let t=e.packagesByMoniker,n=!1,s=r=>(P(r)||"").split(",").map(l=>l.trim()).filter(l=>t[l]===void 0?(console.warn(`Quick Filter: no package with moniker "${l}" was found.`),!1):(n=!0,!0)).map(l=>({moniker:l,displayName:t[l].displayName})),o=[s("quickFilterColumn1"),s("quickFilterColumn2"),s("quickFilterColumn3")];return{any:n,columns:o}})}function hwe(e){let t=T.createElement("div");t.classList.add(gwe),t.setAttribute(Cn.name,gwe);let n=T.createElement("h2");n.textContent=qee,n.classList.add("api-search-heading","font-size-h3"),t.appendChild(n);for(let s of e.columns){let o=T.createElement("div");t.appendChild(o);for(let{moniker:r,displayName:i}of s){let a=T.createElement("button");a.classList.add("button","button-clear","has-text-wrap","text-align-left","display-block","button-block"),a.innerHTML=Is(i),a.addEventListener("click",()=>{Kt(a,{actionType:we.OTHER,behavior:le.OTHER,content:{event:"api-browser-quickfilter",value:r,platform:zt}}),ep(r)}),o.appendChild(a)}}return t}function bwe(e,t,n="en-us"){if(e==="rest")return bVe(t);let s=zo[e].namespacesPath;return M(`${$.apiBrowser}/${encodeURIComponent(e)}/${s}?moniker=${encodeURIComponent(t)}&api-version=0.2&locale=${n}`).then(o=>o.json())}function bVe(e){return RH().then(t=>_Ve(t,e))}function _Ve(e,t){return{apiItems:(e.filter(s=>(s.scope||"").toLowerCase()===(t||"").toLowerCase())[0].services||[]).map(s=>({displayName:s.name,url:s.url,description:s.description,itemKind:Boe}))}}function F$(e,t,n,s="en-us"){if(e==="rest")return vVe(s,"",t,n+"*",0,25);let o=`${$.apiBrowser}/${e}/search?api-version=0.2&search=${encodeURIComponent(n)}&locale=${s}`;return t!==""&&(o+=`&$filter=monikers/any(t: t eq '${encodeURIComponent(t)}')`),M(o).then(r=>r.json())}function vVe(e,t,n,s,o,r){let i=`${$.siteSearch}?locale=${e}&search=${s}&$skip=${o}&$top=${r}`,l=(n!==""?["REST"].concat([n]):["REST"]).map(c=>`scopes/any(t:t eq '${c}')`).join(" and ");return i+=`&$filter=${encodeURIComponent(l)}`,t!==""&&(i+=`&dataSource=${encodeURIComponent(t)}`),M(i).then(c=>c.json()).then(K6)}function K6(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 U$=zo[zt],WS=[];function vwe(e,t){WS.push({container:e,renderHeading:t})}function O$(e,t,n){T.documentElement.classList.add("api-search-has-results");for(let{container:s,renderHeading:o}of WS){if(s.innerHTML="",t.length===0){let u=zt==="rest"?kX:Dn;s.insertAdjacentHTML("afterbegin",`
      ${u}
      `);return}o&&yVe(s,e);let r=T.createElement("table");r.classList.add("table","api-search-results"),r.setAttribute(Cn.name,"api-search-results");let i=T.createElement("thead");r.appendChild(i);let a=T.createElement("tr");i.appendChild(a);let l=T.createElement("th");l.textContent=bX,a.appendChild(l),l=T.createElement("th"),l.textContent=jf,a.appendChild(l);let c=T.createElement("tbody");if(r.appendChild(c),_we(c,t),s.appendChild(r),n&&o){let u=T.createElement("button");u.classList.add("more-button","button"),u.textContent=VZ,u.setAttribute(Cn.name,"api-browser-load-more-results"),u.addEventListener("click",()=>{M(n).then(p=>p.json()).then(p=>{e.platformId==="rest"&&(p=K6(p)),n=p["@nextLink"],n===void 0&&s.removeChild(u),_we(c,p.results)})}),s.appendChild(u)}}}function _we(e,t){let n=T.createElement("div"),s=r=>(y(d`${r}`,n),n.textContent!=="null"?n.textContent:""),o=it();for(let r of t){let i=r.itemKind||r.itemType||U$.namespaceItemType,a=T.createElement("tr");e.appendChild(a);let l=T.createElement("td"),c=T.createElement("a");c.href=J6(r.url,o);let u=d`${j(Is(r.displayName.replace(//g,">")))}`;y(u,c);let p=T.createElement("span");p.textContent=" "+i,l.appendChild(c),l.appendChild(p),a.appendChild(l),l=T.createElement("td"),l.textContent=s(r.description),a.appendChild(l),a.appendChild(l)}}function W6(){T.documentElement.classList.add("api-search-has-results");for(let{container:e}of WS){let t=d`
      `;y(t,e)}}function q$(e){T.documentElement.classList.add("api-search-has-results");for(let{container:t}of WS)t.textContent=e}function ywe(){T.documentElement.classList.remove("api-search-has-results");for(let{container:e}of WS)e.innerHTML=""}function yVe(e,t){let n=it(),s,o;if(n==="")s=zo[zt].displayName,o=null;else{let a=t.packagesByMoniker[n];s=a.product.displayName,o=a.versionDisplayName}let r=T.createElement("h2");r.classList.add("api-search-results-heading","font-size-h3");let i=d`${U$.resultsHeadingTemplate.replace("{platformName}",s)}`;if(y(i,r),o!==null&&zt==="rest"){let a=d`${j(`${Be(n)} REST ${U$.resultsHeadingTemplate.replace("{platformName}",s)}`)}`;y(a,r)}else if(o!==null){let a=d`${j(`${U$.resultsHeadingTemplate.replace("{platformName}",s)} version ${Be(o)}`)}`;y(a,r)}e.appendChild(r)}function J6(e,t){if(t!==""&&!/[?&]view=/i.test(e)){let[s,o]=e.split("#");o=o===void 0?"":"#"+o,e=zt==="rest"?`${s}${o}`:`${s}?view=${encodeURIComponent(t)}${o}`}let n=new URL(e,location.origin);return e=`${n.pathname}${n.search}${n.hash}`,zt!=="rest"&&(e=`/${b.data.userLocale}${e}`),e}var rf="api-search-term-changed",Vv="";function af(){return Vv}function Z6(e){e=e.trim(),e!==Vv&&(Vv=e,(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&Ht({term:Vv},"pushState"),window.dispatchEvent(new CustomEvent(rf,{detail:{term:Vv}})))}function xwe(){let e=oe().term;return e===void 0?"":e.trim()}(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&(Vv=xwe(),window.addEventListener("popstate",()=>Z6(xwe())));function kwe(){O.addEventListener(rf,X6),O.addEventListener(Ro,X6),b.data.pageTemplate==="ApiBrowserPage"&&X6()}var H$="";function X6(){let e=af(),t=it(),n=`${e}/${t}`;return n===H$?Promise.resolve():(H$=n,b.data.pageTemplate==="ApiBrowserPage"&&t!==""&&e===""?(W6(),Promise.all([bwe(zt,t,b.data.userLocale),Xl()]).then(([s,o])=>{if(n===H$){if(s.apiItems.length===0){q$(Dn);return}O$(o,s.apiItems,null)}},()=>{q$(QD)})):e.length<3?(ywe(),Promise.resolve()):zo[zt].validSearchTerm.test(e)?(W6(),Promise.all([F$(zt,t,e,b.data.userLocale),Xl()]).then(([s,o])=>{n===H$&&(eV(t,e,s.results.length),O$(o,s.results,s["@nextLink"]))},()=>{q$(QD)})):Xl().then(s=>O$(s,[],null)))}function eV(e,t,n){ye({actionType:we.OTHER,behavior:le.SEARCH,content:{event:"api-browser-search",platform:zt,moniker:e,term:t,results:n}})}var Twe="api-search-field";function Swe(){let e=T.createElement("form");e.classList.add(Twe,"margin-top-xxs"),e.setAttribute(Cn.name,Twe),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 s=T.createElement("input");s.type="search",s.classList.add("input","input-lg","padding-right-sm"),s.value=af(),s.placeholder=an,t.appendChild(s);let o=T.createElement("a");o.href="http://approjects.co.za/?big=#",o.title=KQ,o.classList.add("clear"),o.addEventListener("click",l=>{l.preventDefault(),s.value="",s.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}),t.appendChild(o);let r=()=>{s.value===""?s.classList.add("empty"):s.classList.remove("empty")};r();let i=0,a=()=>{r(),clearTimeout(i),i=setTimeout(()=>Z6(s.value),500)};return s.addEventListener("change",a),s.addEventListener("input",a),O.addEventListener(rf,()=>{let l=af();s.value.trim()!==l&&(s.value=l,r())}),e}function wwe(){if(!S.apiBrowser)return;$$(),kwe();let e=T.querySelector("#api-browser-search-field-container");if(!e)return;let t=!0;cwe()?e.appendChild(z$(t)):e.appendChild(swe(t)),e.appendChild(Swe()),fwe().then(r=>{if(!r.any)return;let i=hwe(r);e.appendChild(i)});let n=T.querySelector("#api-browser-results-container");if(!n)return;vwe(n,!0);let o=()=>{let r=it()===""&&af()===""?"remove":"add";T.documentElement.classList[r]("has-moniker-or-term")};o(),window.addEventListener(Ro,o),window.addEventListener(rf,o)}var Ewe="renewalassessment-session-disclaimer",Cwe="https://review.learn.microsoft.com/en-us/rest/api/learn/?view=rest-learn-2023-11-01-preview&branch=main";var xVe=$.assessments,kin=`${xVe}/sessions`;A();function B$(e,t=Of,n=_c,s=eae){return fp(Xa,e?t.replace("{itemTitle}",e):s,n)}function V$(e=zn,t){return fp(XY,"",e,!0,t)}function G$(e=nK){return d` `}function Pwe(e=wE,t=$p){return fp(RY,e,t)}function Lwe(e=LE,t=IE){return fp(nY,e,t)}var K$=(r=>(r.facebook="facebook",r.twitter="twitter",r.linkedin="linkedin",r.email="email",r.weibo="weibo",r))(K$||{}),IVe={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 ZS(e,t,n){let s=encodeURIComponent(t),o=new URL(e);o.hostname="learn.microsoft.com";let r=o.href+=(e.indexOf("?")!==-1?"&":"?")+"WT.mc_id=",i=w.sharingId?`&sharingId=${w.sharingId}`:"",a=!!n?.achievementCopyTitle?.overrideTitle;return Object.values(K$).reduce((c,u)=>{if(b.data.isPermissioned)return c[u]="#",c;let p=encodeURIComponent(r+u+i),m=n?.achievementCopyTitle?.overrideTitle??t,g=encodeURIComponent(Voe.replace("{achievementTitle}",n?.achievementCopyTitle?.isUnquoted?`${m}`:`"${m}"`)),f={achievementCopy:g,url:p,title:s,body:a?`${encodeURIComponent(` \r `)}${g}${encodeURIComponent(` \r `)}${p}`:`${encodeURIComponent(` \r `)}${p}`,subject:encodeURIComponent(AA).replace(encodeURIComponent("{articleTitle}"),s)},_=Object.entries(f).reduce((h,[x,v])=>h.replace(new RegExp(`{${x}}`,"g"),v),IVe[u]);return c[u]=_,c},{})}function W$(e,t,n){Object.values(K$).forEach(s=>{let o=ZS(t,n);e.querySelectorAll(`.share-${s}`).forEach(r=>{o[s]==="#"&&fSe(r,Qoe,Yoe),r.href=o[s]})})}function $we(){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),s=e.pageIndex,o=!1,r=1,i={first:0,last:n.length-1};n.length>=7&&(o=!0,s<3?(r=3,i.first=0,i.last=3):s>n.length-4?(r=3,i.first=n.length-4,i.last=i.first+r):(r=1,i={first:Math.max(e.pageIndex-r,0),last:Math.min(e.pageIndex+r,n.length-2)}));let a=d` `,l=d` `,c=d` `,u=d` `,p=[];for(let m=i.first;m<=i.last;m++)p.push(d`
    • `);return d` `}A();A();function Z$(e,t=jwe,n=RVe){if(!e)return;let s=MVe(e),o=t();s.length||(s=Array.from(document.querySelectorAll("body"))),s.forEach(r=>{let i=$Ve(r),a=DVe(r),l=i.map(c=>c.id);i.forEach(c=>{typeof o=="string"?l.indexOf(o)!==-1&&J$(o,c,a):l.indexOf(o[r.id])!==-1?J$(o[r.id],c,a):l.indexOf(o.tab)!==-1?J$(o.tab,c,a):J$(i[0].id,c,a),c.onclick=()=>{LVe(c.id,r),n(c.id,r.id||"tab")},c.onkeydown=u=>{let p=u.which;if(!u.altKey&&(p===Ie.left||p===Ie.right||p===Ie.home||p===Ie.end)){u.preventDefault();let m=p===Ie.left||p===Ie.home,g;if(u.ctrlKey||p===Ie.home||p===Ie.end){let f=m?1:-1;for(g=m?0:i.length-1;i[g].parentElement.getAttribute("hidden");)g+=f}else{let f=m?-1:1;g=i.findIndex(_=>_.id===c.id);do g+=f,g===-1?g=i.length-1:g===i.length&&(g=0);while(i[g].parentElement.getAttribute("hidden"))}i[g].focus();return}}})})}function LVe(e,t){let n=t.querySelector(`#${e}`);if(n===null)return;let s=Array.from(t.querySelectorAll(":scope > .tabs .tab-control")),o=Array.from(t.querySelectorAll(":scope > [data-tab-content]"));s.forEach(r=>{r!==n&&(r.parentElement.classList.remove("is-active"),r.setAttribute("aria-selected","false"),r.setAttribute("tabindex","-1"))}),n.parentElement.classList.add("is-active"),n.setAttribute("aria-selected","true"),n.setAttribute("tabindex","0"),Fwe(n.getAttribute("aria-controls"),o)}function RVe(e,t){t||(t="tab");let n=`{"${t}": "${e}"}`;Ht(JSON.parse(n),"replaceState")}function jwe(){let e=oe();for(let t in e)t.slice(0,3)!=="tab"&&delete e[t];return e}function J$(e,t,n){e===t.id?(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.parentElement.classList.add("is-active"),Fwe(t.getAttribute("aria-controls"),n)):(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),t.parentElement.classList.remove("is-active"))}function Fwe(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 MVe(e){return Array.from(e.querySelectorAll(".tabs-container"))}function $Ve(e){return Array.from(e.querySelectorAll(":scope > .tabs .tab-control"))}function DVe(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 Wi(t,"sha384-J742xhkMgA0pI8dwp+aANFethNYix5bapYzKZsz8z2Df+xqxLYImpGZddI2+ztIZ","frappe")),nc.frappeLibrary}};nc.thirdPartyUrl="/static/third-party";var X$=nc;A();Ve();A();Ve();A();var VVe=e=>e.isAnswered?"docon-check has-text-success":e.isRequired?"docon-asterisk-solid has-text-danger":"docon-location-circle",GVe=e=>e.isAnswered?Fee:e.isRequired?Uee:Oee,QVe=(e,t)=>d` ${GVe(e)} ${j(t.render(e.title||e.id))}`,e1=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 s=document.createElement("span");return y(QVe(t,n),s),s.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 Hwe(e,t,n){return YVe(e,t,n,!0)}function sV(e){let t=e.querySelector(".tree-item.is-selected");t||(t=Yv(e)?e.querySelector(".tree-item"):e.querySelector(".tree-item.tree-leaf")),t&&Qv(t)}function Bwe(e,t){e.addEventListener("focus",WVe,!0),e.addEventListener("click",n=>JVe(n,t),!0),e.addEventListener("keydown",n=>ZVe(n,t),!0)}function YVe(e,t,n,s){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",s?"true":"false"),Vwe(o,e,t),sV(o),Bwe(o,t),o}function Vwe(e,t,n,s=1,o){let r=Yv(e),i=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-")+`${i}-${s}`;Owe(l,a),l.classList.add("tree-item"),l.setAttribute("aria-setsize",t.length.toString()),l.setAttribute("aria-level",s.toString()),l.setAttribute("aria-posinset",i.toString()),l.setAttribute("role","treeitem"),l.setAttribute("tabindex","-1"),l.setAttribute("id",m),r&&l.setAttribute("aria-expanded","false");let g=document.createElement("span");l.appendChild(g),g.setAttribute("data-bi-name","tree-expander"),r&&(g.className="tree-expander"),g.insertAdjacentHTML("beforeend",u),(!r||n.isExpanded(a))&&Gv(l,!0,n),i++;continue}c.setAttribute("aria-setsize",t.length.toString()),c.setAttribute("aria-level",s.toString()),c.setAttribute("aria-posinset",i.toString()),c.setAttribute("role","treeitem"),c.setAttribute("tabindex","-1"),!r&&e.parentElement&&e.parentElement.id&&c.setAttribute("aria-describedby",e.parentElement.id),l.setAttribute("role","none"),Owe(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)&&KVe(c,n.icon(a)),i++}}function Owe(e,t){e.node=t}function Gwe(e){return e.node}function KVe(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 Yv(e){return e.closest(".tree").getAttribute("data-is-collapsible")!=="false"}function Qwe(e){return e?.getAttribute("aria-expanded")==="true"||!Yv(e)}function Gv(e,t,n){let s=e.getAttribute("aria-level"),r=(s?parseInt(s,10):1)+1;if(!Yv(e)&&!t||(e.setAttribute("aria-expanded",t.toString()),!t||e.lastElementChild instanceof HTMLUListElement))return;let a=Gwe(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);Vwe(l,u,n,r,c)}function Qv(e){let t=e.closest(".tree");Array.from(t.querySelectorAll('[tabindex="0"]')).forEach(n=>n.setAttribute("tabindex","-1")),e.setAttribute("tabindex","0")}function qwe(e,t){let n=e.closest(".tree"),o=Yv(e)?':not([aria-expanded="false"]) [role="treeitem"]':'[role="treeitem"] .tree-leaf',r=Array.from(n.querySelectorAll(o));t==="preceding"&&r.reverse();let i=t==="preceding"?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING;return r.find(a=>e.compareDocumentPosition(a)&i&&a.closest('.tree [aria-expanded="false"] [role="treeitem"]')!==a&&Ywe(a.closest("li")))}function Ywe(e){return window.getComputedStyle(e).display!=="none"}function WVe({target:e}){let t=e instanceof HTMLElement&&e.closest('[role="treeitem"]');t&&Qv(t)}function JVe({target:e},t){let{REDUCE:n,EXPAND:s}=le,{CLICKLEFT:o}=we,r=e instanceof HTMLElement&&e.closest(".tree-expander, a");if(!r)return;let i;if(r instanceof HTMLAnchorElement)i=r;else{i=r.parentElement;let c=Qwe(i);Gv(i,!c,t),Kt(e,{behavior:c?n:s,actionType:o})}let a=Gwe(i),l=new CustomEvent("tree-item-clicked",{detail:a,bubbles:!0});r.closest(".tree").dispatchEvent(l)}function ZVe(e,t){let{target:n,keyCode:s,shiftKey:o,altKey:r,ctrlKey:i}=e,{REDUCE:a,EXPAND:l}=le,{KEYBOARDENTER:c,KEYBOARDSPACE:u,OTHER:p}=we;if(r||i||o&&s!==Ie.eight&&!(s>=Ie.a&&s<=Ie.b))return;let m=n instanceof HTMLElement&&n.closest('[role="treeitem"]');if(!m)return;let g=m instanceof HTMLAnchorElement,f=!g&&Qwe(m),_=Yv(m);if(s===Ie.enter||s===Ie.space){if(g||!_)return;Gv(m,!f,t),Kt(e.target,{behavior:f?a:l,actionType:s===Ie.enter?c:u}),e.preventDefault();return}if(s===Ie.right){if(g||!_)return;if(f){let h=m.querySelector('[role="treeitem"]');h.focus(),Qv(h)}else Gv(m,!0,t),Kt(e.target,{behavior:l,actionType:p});e.preventDefault();return}if(s===Ie.left){if(!_)return;if(f)Gv(m,!1,t),Kt(e.target,{behavior:a,actionType:p}),e.preventDefault();else{let h=m.parentElement.closest('[role="treeitem"]');h&&(h.focus(),Qv(h),e.preventDefault())}return}if(s===Ie.down||s===Ie.up){let h=s===Ie.down?"following":"preceding",x=qwe(m,h);x&&(x.focus(),Qv(x),e.preventDefault());return}if(s===Ie.home||s===Ie.end){let h=s===Ie.home,x=m.closest(".tree"),v;if(_)v=x[h?"firstElementChild":"lastElementChild"].firstElementChild.closest('[role="treeitem"]'),Ywe(v)||(v=qwe(v,h?"following":"preceding"));else{let k=x.querySelectorAll(".tree-item.tree-leaf"),I=h?0:k.length-1;v=k[I]}v.focus(),Qv(v),e.preventDefault();return}if(s===Ie.numPadAsterisk||s===Ie.eight&&o){if(!_)return;let h=m.closest("ul");for(let x=0;x
      ${BQ}
      `;A();Ve();_h();Ve();A();A();A();_h();A();function oV({changeHandler:e,expandedRows:t,id:n,maxCharacterCount:s,name:o,placeholder:r,readonly:i=!1,rows:a=1,value:l="",allowDoubleLength:c=!1}){return d`
      `}function Kwe(e){let t=e.target,n=Number(t.getAttribute("data-max-character-count"));if(!t.parentElement)return;let s=t.parentElement.querySelector("span"),o=n-t.value.length;s.textContent=`${o}`,o<=1?s.setAttribute("aria-live","assertive"):s.setAttribute("aria-live","polite")}function rV(e){let t=e.target,n=Number(t.getAttribute("data-expanded-rows")),s=Number(t.getAttribute("data-max-character-count"));if(t.rows=n,t.style.height="auto",!t.parentElement)return;let o=t.parentElement.querySelector("span"),r=s-t.value.length;o.textContent=`${r}`,t.removeEventListener("focus",rV),t.addEventListener("blur",Wwe),t.addEventListener("input",Kwe)}function Wwe(e){let t=e.target,n=Number(t.getAttribute("data-collapsed-rows"));if(t.rows=n,t.style.height="inherit",!t.parentElement)return;let s=t.parentElement.querySelector("span");s.textContent="",t.removeEventListener("blur",Wwe),t.removeEventListener("input",Kwe),t.addEventListener("focus",rV)}A();A();A();function p5e(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://channel9.msdn.com/"]'));t.length&&t.forEach(n=>{let s=n.src.split("/"),o=s[s.length-2],r=`${GN}: ${o}`;n.title=n.title||r})}function m5e(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://www.youtube"]'));t.length&&t.forEach(n=>{let s=n.src.split("/").pop(),o=`${GN}: ${s}`;n.title=n.title||o})}function g5e(e){let t=[],n=[];window.addEventListener("beforeprint",()=>{Array.from(e.querySelectorAll(".embeddedvideo iframe")).forEach(o=>{if(o.offsetParent!==null){let r=o.src,i=document.createElement("a");i.href=r,i.target="_blank",i.text=r,o.parentElement&&(o.parentElement.appendChild(i),o.hidden=!0,t.push(o),n.push(i))}})}),window.addEventListener("afterprint",()=>{t.forEach(s=>s.hidden=!1),n.forEach(s=>s.remove()),t=[],n=[]})}function iV(e){m5e(e),p5e(e),g5e(e)}A();A();async function aV(e,t,n){let s=await sp(t);if(!(!s||!e)){switch(e){case"details":case"leaderboard":s.add({title:Rf,url:`/${s.basePath}/challenges`});break;case"content":n&&s.add({title:Rf,url:`/${s.basePath}/challenges`},{title:Py,url:`/${s.basePath}/challenges/${n}/leaderboard`});break;default:throw new Error("Unsupported page.")}s.render()}}Ve();_h();var lV="5d6ea118-ff48-4612-a205-7c65e11e49ca",cf="379d1859-15d0-4803-81ed-eb51a2e4945d";var Hs=class{constructor({errorCode:t}){this.errorCode=t}};A();Ve();aj();function cV(e){let n=/(?:status|code)[^\d]*(\d{3})/i.exec(e);return n?parseInt(n[1],10):null}var yp=class extends He{constructor(n=null,s=null,o=!0,r=!1,i="Unknown"){super();this.id=n;this.collectionOwner=s;this.isPublicView=o;this.hasActiveTakedowns=r;this.reportStatus=i;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 s=this._editingSectionId;this._editingSectionId=n,this.notifyPropertyChanged(),n?document.getElementById("add-edit-section-form")?.focus():document.getElementById(s===cf?"section":`edit-section-${s}`)?.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!gt(this.collection?.challengeId)||!gt(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 r=await ut.getList(this.id);r.hasError===!1&&(this.collection=r.data)}let s=new URLSearchParams(location.search),o=s.has("force-official-collection")?s.get("force-official-collection")==="true":!1;if(this._isOfficialOrOverride=this.collection?.isOfficial||o,this.isUserAuthenticated&&this.isUserChallengeAdmin===void 0&&(this.isUserChallengeAdmin=(await xc("me"))?.isChallengeAdmin??!1),this.collectionOwner===null){let r=await xc(`id:${this.collection.userId}`);this.setPublicCollectionOwner(r)}w.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await ut.getActiveTakedowns(this.id))):this.setReportStatus(await ut.getReportStatus(this.id)),this.notifyPropertyChanged()}catch(s){if(s instanceof Error){let o=cV(s.message);o&&(this.responseErrorCode=o)}}}async updateCollection(n,s,o){if(this.busy)throw new Error("Busy");this.setBusy();try{let r=await ut.updateListMetadata(o??this.id,{name:n,description:s});if(r.hasError===!1){let{data:i}=r;this.collection=i}else throw new Hs({errorCode:r.error.errorCode})}finally{this.setHasActiveTakedowns(!1),this.setReady()}}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let n=await ut.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(n.hasError===!1){let{data:s}=n;this.collection=s}else throw new Hs({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 ls(B$(this.collection.name,Of,_c));if(n){let s=await ut.deleteList(this.id);if(s.hasError===!1)location.href=`${dn(w.userName,"collections")}`;else throw new Hs({errorCode:s.error.errorCode})}}finally{this.setReady()}}async localizeCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:n}=await ls(V$(),!0);if(n){let s=ls(G$());await ut.submitForLocalize(this.id),await s;let o=document.getElementById("submit-loc"),r=document.createElement("p");r.classList.add("margin-top-sm"),r.setAttribute("id","loc-submitted-text");let i=d`${ME}`;y(i,r),document.getElementById("icon-list").parentElement.appendChild(r),o.hidden=!0}}finally{this.setReady()}}async copyCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let n=await ut.copyList(this.collection.id,this.collection.name,this.collection.description);if(n.hasError===!1){let{data:s}=n,{submitted:o}=await ls(Lwe(LE,IE));o&&(location.href=yu(s.id).toString())}else throw new Hs({errorCode:n.error.errorCode})}finally{this.setReady()}}async convertCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:n}=await ls(Pwe(wE,$p));n&&(await ut.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 ut.toggleListPrivacy(this.collection.id,!this.collection.isPrivate);if(n.hasError===!1){let{data:s}=n;this.collection=s}else throw new Hs({errorCode:n.error.errorCode})}finally{this.setReady()}}async commitUrlItem(n,s,o=-1,r){if(this.busy)throw new Error("Busy");this.setBusy();try{let i=_xe(s,n),a=await(r?ut.updateItem(this.id,r,i):ut.addItem(this.id,i));if(a.hasError===!1){let{data:l}=a;if(this.collection.sectionCount){let c=o!==-1?o:this.collection.sectionCount-1;if(r){let u=this.collection.sections[c].items.findIndex(p=>p.id===r);this.collection.sections[c].items[u]=l}else this.collection.sections[c].items.push(l),this.collection.sections[c].itemCount=this.collection.sections[c].items.length;return}if(r){let c=this.collection.items.findIndex(u=>u.id===r);this.collection.items[c]=l}else this.collection.items.push(l),this.collection.itemCount=this.collection.items.length}else throw new Hs({errorCode:a.error.errorCode})}finally{this.setReady()}}async moveItem(n,s,o=-1,r){if(this.busy)throw new Error("Busy");this.setBusy();try{if(s===0)return;let i=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+s]?{sectionId:this.collection.sections[o+s].id,items:this.collection.sections[o+s].items.map(u=>u.id)}:null,l=x5e(n,s,i,a),c=await ut.sortList(r??this.id,l);if(c.hasError===!1)this.syncProgress(c.data,this.collection),this.collection=c.data;else throw new Error(c.error.message)}finally{this.setReady()}}async moveSection(n,s,o){if(this.busy)throw new Error("Busy");this.setBusy();try{if(s===0)return;if(s===-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(s===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 r=this.collection.sections.map(a=>({sectionId:a.id,items:a.items.map(l=>l.id)})),i=await ut.sortList(o??this.id,r);if(i.hasError===!1)this.syncProgress(i.data,this.collection),this.collection=i.data;else throw new Error(i.error.message)}finally{this.setReady()}}async moveItemToSection(n,s,o,r){if(this.busy)throw new Error("Busy");this.setBusy();try{if(s===o)return;let i=this.collection.sections.map(c=>({sectionId:c.id,items:[...(c.items??[]).map(u=>u.id)]})),[a]=i[s].items.splice(n,1);i[o].items.unshift(a);let l=await ut.sortList(r??this.id,i);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,s=-1,o){if(!this.busy){this.setBusy();try{let{submitted:r}=await ls(B$(n.data.title,Of,_c));if(r){if(await ut.deleteItem(o??this.id,n.id),this.collection.sectionCount&&Array.isArray(this.collection.sections)&&s!==-1){let l=this.collection.sections[s];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,s,o,r){if(this.busy)throw new Error("Busy");this.setBusy();try{let i=await(this.editingSectionId===cf?ut.createSection(r??this.id,[...n?.trim()].length!==0?n:this.getDefaultSectionName(),s,o):ut.updateSection(r??this.id,this.editingSectionId,n,s,o));if(i.hasError===!1){let{data:a}=i;this.syncProgress(a,this.collection),this.collection=a}else throw new Hs({errorCode:i.error.errorCode})}finally{this.editingSectionId!==cf&&this.setHasActiveTakedowns(!1),this.setReady()}}async deleteSection(n,s){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await ut.deleteSection(s??this.id,n);if(o.hasError===!1){this.syncProgress(o.data,this.collection);let{data:r}=o;this.collection=r}}finally{this.setReady()}}getAmountStrings(){let n="",s="";if(this.collection.totalItems===0)return{pathCountFormat:n,moduleCountFormat:s};let{path:o,module:r}=this.getCollectionItemsAmount();return o!==0&&(n=(o===1?KY:YY).replace("{numberOf}",o.toString())),r!==0&&(s=(r===1?DE:$E).replace("{numberOf}",r.toString())),{pathCountFormat:n,moduleCountFormat:s}}getCollectionItemsAmount(){return this.collection.items.concat(...this.collection.sections?this.collection.sections.map(s=>s.items??[]):[]).reduce((s,o)=>((o.data.pageKind==="path"||o.data.pageKind==="module")&&s[o.data.pageKind]++,s),{path:0,module:0})}canCopyAsChallenge(){return(!!this.isUserChallengeAdmin||w.tenantId===Xo)&&(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=vz){let[s,o]=[this.collection.sectionCount,this.collection.sections];if(!s||!Array.isArray(o))return n.replace("{number}",$o(1));let r=s+1;for(;o.some(i=>i.name===n.replace("{number}",$o(r)));)r++;return n.replace("{number}",$o(r))}syncProgress(n,s){let o=Object.fromEntries([...s?.items??[],...(s?.sections??[]).flatMap(r=>r.items??[])].filter(r=>r?.id).map(r=>[r.id,r]));for(let r of[...n?.items??[],...(n?.sections??[]).flatMap(i=>i.items??[])])r?.id&&r.data&&o[r.id]?.data&&(r.data.progress=o[r.id].data.progress)}getCollectionSectionItemsAmount(){return(this.collection.sections??[]).reduce((n,s)=>{let o=(s.items??[]).reduce((r,i)=>((i.data.pageKind==="path"||i.data.pageKind==="module")&&r[i.data.pageKind]++,r),{path:0,module:0});return n.path+=o.path,n.module+=o.module,n},{path:0,module:0})}};function x5e(e,t,n,s){if(!n)throw new Error("Initial section is undefined.");let o={sectionId:n.sectionId,items:Ki(n.items)},r=e+t;if(r>=0&&r
      `}function Xwe(){let e=document.createElement("div"),t=k5e();return y(t,e),new ve(e)}function k5e(){return d` `}function uV(e){let t=document.createElement("div");y(e,t),Kv=new ve(t)}function XS(e,t,n="",s=Cs,o=Ne,r=!1,i=!1,a=""){return d` `}var No=class extends yp{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!gt(this.plan?.startedOn)}isCompleted(){return!gt(this.plan?.completedOn)||(this.plan?.itemsCompleted??0)===this.collection.totalItems}async moveItem(n,s,o){await super.moveItem(n,s,o,this.collection.id)}async moveItemToSection(n,s,o){await super.moveItemToSection(n,s,o,this.collection.id)}async deleteItem(n,s=-1){await super.deleteItem(n,s,this.collection.id)}async updateCollection(n,s){await super.updateCollection(n,s,this.collection.id)}async localizePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:n}=await ls(V$(void 0,foe),!0);if(n){let s=ls(G$(hoe));await ut.submitForLocalize(this.collection?.id),await s;let o=document.getElementById("submit-loc"),r=document.createElement("p");r.classList.add("margin-top-sm"),r.setAttribute("id","loc-submitted-text");let i=d`${kA}`;y(i,r),document.getElementById("icon-list")?.parentElement?.appendChild(r),o&&(o.hidden=!0)}}finally{this.setReady()}}resumePlan(){let{item:n,elementToHighlight:s}=this.getFirstIncompleteItem(this.collection.sections??[]);location.hash=s,this.nextPlanItem=n,this.isNextPlanItemHighlighted=!0,setTimeout(()=>OS(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 eo.getSkillingPlan(this.planId),this.collectionOwner===null){let s=await xc(`id:${this.plan?.userId}`);this.setPublicCollectionOwner(s)}w.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await ut.getActiveTakedowns(this.collection?.id)),await this.getPlanStatistics(),this.csv=`${$.lists}/skillingPlan/${this.planId}/csv`):this.setReportStatus(await ut.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 ls(Zwe(),!1,async s=>{let o=s.querySelector("#save-plan-btn");o?.classList.add("is-loading"),this.setBusy();try{let r=await eo.joinSkillingPlan(this.planId);return r.hasError===!1&&(this.plan=r.data),n?.onSuccess?.(),{hasError:!1,data:null}}catch{return Mn(s,"somethingWentWrong"),{hasError:!0}}finally{o?.classList.remove("is-loading")}})}finally{this.setReady()}}async moveSection(n,s){await super.moveSection(n,s,this.collection.id)}async commitSection(n,s,o){await super.commitSection(n,s,o,this.collection.id)}async deleteSection(n,s){await super.deleteSection(n,s??this.collection.id)}async updatePlan(n){if(this.busy)throw new Error("Busy");this.setBusy();let s=null;try{s=await eo.updateSkillingPlan(this.planId,n),s.hasError===!1&&(this.syncProgress(s.data.contentList,this.plan.contentList),this.plan=s.data,this.hasActiveTakedowns=!1,this.editResultCode=200)}catch{this.editResultCode=500}finally{this.setReady()}return s}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let n=await ut.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(n.hasError===!1){let{data:s}=n;this.collection=s}else throw new Hs({errorCode:n.error.errorCode})}finally{this.setReady()}}async deletePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{await eo.deleteSkillingPlan(this.planId)}finally{this.setReady()}}async dropPlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let n=await eo.leaveSkillingPlan(this.planId);n.hasError===!1&&(this.plan=n.data)}finally{this.setReady()}}async trackClick(n,s){if(this.busy)throw new Error("Busy");if(s&&window.open(s,"_blank"),!!(!["module","path"].includes(n.data.pageKind)&&n.data.progress!==1&&this.hasStarted())){this.setBusy();try{await eo.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 eo.getPlanStatistics(this.planId);n!==null&&(this.stats=n)}finally{this.setReady()}}async addToLearnersGroups(n,s){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(),s(this)}async updateLearnerGroup(n){let{id:s,name:o}=n;if(this.plan===null)throw new Error("Plan not found");if(this.busy)throw new Error("Busy");this.setBusy();let r=await eo.updateLearnerGroup(this.plan?.id,s,o);if(r.hasError===!1&&this.plan?.learnerGroups){let i=this.plan.learnerGroups.findIndex(l=>l.id===s),{data:a}=r;i!==-1&&(this.plan.learnerGroups[i]=a)}return this.setReady(),r}async deleteLearnerGroup(n){if(this.busy)throw new Error("Busy");this.setBusy();let s=await eo.deleteLearnerGroup(this.plan?.id,n);return s.hasError===!1&&this.plan?.learnerGroups&&(this.plan.learnerGroups=this.plan?.learnerGroups?.filter(o=>o.id!==n)),this.setReady(),s}getDefaultSectionName(){return super.getDefaultSectionName(kte)}updateTrackedItemProgress(n,s,o){let r=[...n.items??[],...(n.sections??[]).flatMap(i=>i.items??[])].find(i=>i?.id===s.id&&i.data);r&&(r.data.progress=1,o.itemsCompleted=(o.itemsCompleted??0)+1)}getFirstIncompleteItem(n){n=n.filter(a=>a.items?.length);let s=n[0],o=n[0]?.items?.[0]??null,r=0,i=0;for(let a of n){let l=a.items?.findIndex(c=>(c?.data.progress??0)<1)??-1;if(l!==-1&&a.items?.[l]){s=a,o=a.items[l],i=l,r=n.indexOf(a);break}}return{section:s,item:o,elementToHighlight:Fn(o?.data.uid??"")||`${o?.type+"-"||""}item-${r}${i}`}}};var eEe={architecture:Zw,conceptual:lG,tutorial:kae,certification:mc,appliedSkills:sf,challenge:ra,sample:XQ,course:Dp,examination:Bo,faq:WW,path:Hf,knownissue:KE,lifecycle:qZ,module:So,apiconnector:Gs,"azure-cli":Gs,cli:Gs,dotnet:Gs,java:Gs,javascript:Gs,odata:Gs,powerconnector:Gs,powershell:Gs,python:Gs,rest:Gs,typescript:Gs,show:tN,series:JE,episode:Gy};function Wv(e,t,n){return e==="appliedSkills"||e==="certification"||e==="challenge"||e==="course"||e==="examination"||e==="path"||e==="knownissue"||e==="lifecycle"||e==="module"||e==="series"?eEe[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"?eEe[t]:n&&n.startsWith("/answers/questions")?jee:""}A();var T5e=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/plans":"/plans"}`;function Jv(e,t,n){let s=new URL(location.href),o=new URLSearchParams(s.search),r=s;if(r.pathname=`${T5e()}/${e}`,t){let i=new URLSearchParams(t);for(let[a,l]of i)r.searchParams.set(a,l)}return n&&(r.hash=n),o.has("preview")&&r.searchParams.set("preview",o.get("preview")??""),r.href}function tEe(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 dV(e){if(location.hash){let t=e.querySelector(location.hash);t!==null&&scrollTo(window.scrollY+t.getBoundingClientRect().top,500)}}function nEe(e,t){let n="primary";return e.data.progress===1?n="accent":t&&(n="info"),`${n} border-radius`}function n1(e,t){let n={completionStatusTag:"",completionStatusTagStyle:"",progressBarLabelStyle:"",progressBarStyle:""};return e===1?(n.completionStatusTag=t==="milestone"?Soe:qo,n.completionStatusTagStyle=t==="milestone"?"color-primary":"color-success"):n.progressBarLabelStyle=t==="milestone"?"font-weight-bold":"",n}function sEe(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 Dae}}function oEe(e){return w.tenantId===Xo&&e!=="bookmarks"}function pV(e,t=""){let{id:n,contentList:{name:s},learningOutcomes:o}=e,r=s??"",i=Jv(n,t?`learnerGroupId=${t}`:""),a=encodeURIComponent(Hse).replace(encodeURIComponent("{planTitle}"),r),l=[Bse,String(Vse).replace("{planTitle}",r),Gse];return o.length!==0&&l.push(String(Qse)+` `+o.map(c=>`- ${c}`).join(` `)),l.push(String(Yse)+` `+i),{emailSubject:a,emailBody:encodeURIComponent(l.join(` `)),encodedPlanUrl:encodeURIComponent(i)}}function rEe(e,t){return t.some(n=>n.name.toLowerCase()===e.toLowerCase())}function ew(e,t){e.hidden=!e.hidden,t.hidden=!t.hidden}function mV(e,t,n=!1){return`

      ${e}

      ${n?``:""}
      `}function gV(e,t){let n=decodeURIComponent(e);if(kr(n,t.target)){let o=document.querySelector("#notification-wrapper"),r=mV(Dse,"success",!0);o.innerHTML=r}}A();var fV={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 s1(e){return fV.email.test(e)}function o1(e){return fV.phone.test(e)}function r1(e){return fV.externalLink.test(e)}function tw(e,t,n,s){switch(e){case"InvalidTitle":t.setCustomValidity(gY),t.reportValidity();break;case"TitleMissing":t.setCustomValidity(mY),t.reportValidity();break;case"UrlFormatIncorrect":n.setCustomValidity(bY),n.reportValidity();break;case"Malformed":n.setCustomValidity(_Y),n.reportValidity();break;case"Unofficial":if(s)s.textContent=hY,s.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(s)s.textContent=fY,s.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function S5e(e,t){let o=[...e.value.trim()].length;return o===0?(tw("TitleMissing",e,t),!1):o<2||o>100?(tw("InvalidTitle",e,t),!1):t.value.startsWith("http://")||t.value.startsWith("https://")?!0:(tw("UrlFormatIncorrect",e,t),!1)}function l1(e,t=-1,n){let s=async i=>{i.preventDefault();let a=i.target,l=a.elements.namedItem("add-edit-url-title"),c=a.elements.namedItem("add-edit-url");if(S5e(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 Hs?tw(u.errorCode,l,c,p):tw("UnexpectedError",l,c,p)}},o=()=>{e.editingId=null},r=i=>{i.key==="Escape"&&o(),i.target instanceof HTMLInputElement&&sw(i)};return d`
      i.target.setCustomValidity("")} />
      i.target.setCustomValidity("")} />
      `}function nw(e,t,n,s,o){switch(e){case"InvalidTitle":t.setCustomValidity(lY),t.reportValidity();break;case"DuplicateTitle":t.setCustomValidity(iY),t.reportValidity();break;case"InvalidDescription":n.setCustomValidity(rY),n.reportValidity();break;case"InvalidDaysToComplete":s?.setCustomValidity(sY),s?.reportValidity();break;case"Invalid":if(o)o.textContent=cY,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(o)o.textContent=uY,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function w5e(e,t,n){let r=[...e.value.trim()].length,i=[...t.value.trim()].length;if(r>100)return nw("InvalidTitle",e,t,n),!1;if(i>550)return nw("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 nw("InvalidDaysToComplete",e,t,n),!1}}return!0}function hV(e,t){let n=async i=>{i.preventDefault();let a=i.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(w5e(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 Hs?nw(p.errorCode,l,c,u,m):nw("UnexpectedError",l,c,u,m)}},s=()=>{e.editingSectionId=null},o=i=>{i.key==="Escape"&&s()},r=i=>{sw(i),i.target.setCustomValidity("")};return d`
      ${(()=>{let i=e instanceof No?"plan":"collection",a=t?"editSection":"newSection";return{collection:{newSection:_z,editSection:oY},plan:{newSection:yoe,editSection:voe}}[i][a]})()}
      ${e instanceof No?d`
      `:""}
      `}function sw(e){let n=e.target.closest("form").querySelector("#generic-error-container");n.hidden||(n.textContent="",n.hidden=!0)}function i1(e,t,n){switch(e){case"InvalidTitle":t.setCustomValidity(Au),t.reportValidity();break;case"DuplicateTitle":let s=EE.replace("{title}",t.value.trim());t.setCustomValidity(s),t.reportValidity();break;case"InvalidContent":t.setCustomValidity(CE),t.reportValidity();break;default:if(n)n.textContent=qY,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function E5e(e){if(s1(e.value)||r1(e.value)||o1(e.value))return i1("InvalidContent",e),!1;let s=[...e.value.trim()].length;return s<1||s>100?(i1("InvalidTitle",e),!1):!0}function bV(e,t="",n=""){if(!e)return d``;let s=async i=>{i.preventDefault();let a=i.target,l=a.elements.namedItem("edit-summary-title");if(E5e(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 Hs?i1(c.errorCode,l,u):i1("UnexpectedError",l,u)}},o=()=>{e.isEditingSummaryTitle=!1},r=i=>{i.key==="Escape"&&o(),i.target instanceof HTMLInputElement&&(sw(i),i.target.setCustomValidity(""),i.target.reportValidity())};return d`
      `}function a1(e,t,n){switch(e){case"InvalidContent":t.setCustomValidity(CE),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(My),t.reportValidity();break;default:if(n)n.textContent=HY,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function C5e(e){return s1(e.value)||r1(e.value)||o1(e.value)?(a1("InvalidContent",e),!1):[...e.value.trim()].length>550?(a1("InvalidDescription",e),!1):!0}function _V(e,t="",n=""){if(!e)return d``;let s=async i=>{i.preventDefault();let a=i.target,l=a.elements.namedItem("edit-summary-description");if(C5e(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 Hs?a1(c.errorCode,l,u):a1("UnexpectedError",l,u)}},o=()=>{e.isEditingSummaryDescription=!1},r=i=>{i.key==="Escape"&&o(),i.target instanceof HTMLTextAreaElement&&(sw(i),i.target.setCustomValidity(""),i.target.reportValidity())};return d`
      `}function iEe(e,t){if(t)switch(e){case"InvalidContent":t.setCustomValidity(CE),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(My),t.reportValidity();break;case"Invalid":t.setCustomValidity(UY),t.reportValidity();break;default:break}}function A5e(e){e&&(e.textContent=BY,e.hidden=!1)}function I5e(e,t){let n=!1,s=!0;return t&&(t.textContent="",t.hidden=!0),e.forEach(o=>{o.setCustomValidity("");let r=o.value.trim();r.length>0&&(n=!0,(s1(r)||r1(r)||o1(r))&&(iEe("InvalidContent",o),s=!1))}),!n&&e.length>0&&(iEe("Invalid",e[0]),s=!1),s}function vV(e,t=""){if(!e||!e.isEditingSummaryLearningOutcomes||e.isPublicView)return"";let n=()=>{e.isEditingSummaryLearningOutcomes=!1},s=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(I5e(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{A5e(u)}},o=a=>{a.key==="Escape"&&n(),a.target instanceof HTMLTextAreaElement&&(sw(a),a.target.setCustomValidity(""),a.target.reportValidity())},r=e.plan.learningOutcomes,i=[...r,"","",""].slice(0,Math.max(3,r.length));return d`
      ${soe}
      ${i.map((a,l)=>d`
      `)}
      `}A();var aEe=mt(),lEe=b.data.contentLocale||b.data.userLocale;async function uf(e,t){let n=fj(e),s=[],o={method:"GET"},r=n.map(async i=>{let a={branch:aEe,uids:i.join(";"),locale:lEe},l=`${$.learn.progress.user}?${ie(a)}`,c=J(l,o),u=await M(c);if(u.ok&&u.status!==204){let p=await u.json();s.push(...p)}if(!u.ok)throw new Jt(u)});try{t?.updateProgress("Getting user progress by uids"),await Promise.all(r),t?.updateProgress("Got user progress by uids")}catch(i){t?.fail(i)}return s}function cEe(e,t){let n={branch:aEe,locale:lEe},s=`${$.learn.progress.batchUnit}?${ie(n)}`,r={method:"PUT",body:JSON.stringify(e)};return t?.updateProgress("Putting batch Progress"),M(J(s,r)).then(i=>me(i)).then(i=>{if(i.ok)return t?.updateProgress("Completed putting batch progress"),i.json();throw new Jt(i)}).catch(i=>(t?.fail(i),Promise.reject()))}A();var df={all:oa,ai:"AI search",documentation:aa,training:Ko,credential:ps,qna:Wy,reference:Gs,show:To};var uEe={...L$};var ai={all:oa,last24hours:Sae,last7days:Tae,last30days:wae,last365days:Eae,custom:BK};var c1={advanced:y9,beginner:hG,intermediate:SZ};function yV(e){switch(e){case"beginner":return 0;case"intermediate":return 1;case"advanced":return 2;default:return 3}}var xV={ar:XE,"ar-sa":GZ,bg:eC,"bg-bg":QZ,"bs-cyrl":YZ,"bs-latn":tC,ca:nC,cs:sC,da:oC,de:rC,el:iC,"el-gr":KZ,en:aC,"en-my":WZ,es:lC,"es-mx":JZ,et:cC,eu:uC,fi:dC,fil:pC,fr:mC,ga:gC,gl:fC,he:hC,hi:bC,hr:_C,hu:vC,"hu-hu":ZZ,id:yC,"id-id":XZ,is:xC,it:kC,ja:TC,kk:SC,ko:wC,lb:EC,lt:CC,lv:AC,ms:IC,mt:PC,nb:LC,nl:RC,pl:MC,pt:$C,"pt-br":tX,"pt-pt":nX,ro:DC,ru:zC,sk:NC,sl:jC,"sr-cyrl":FC,"sr-latn":UC,sv:OC,th:qC,tr:HC,uk:BC,"uk-ua":sX,ur:oX,vi:VC,"vi-vn":rX,"zh-cn":GC,"zh-hk":QC,"zh-tw":YC};var dEe={event:DZ,series:JE,show:To};var jo={category:df,credential_types:uEe,date:ai,levels:c1,locales:xV,resource_type:{...VSe,...L$},show_type:dEe,years:KN,author:jp,tags:ON},Zv={azure_categories:TG,category:Cz,credential_types:qK,event_groups:CW,languages:bee,date:Fy,levels:OZ,locales:LZ,products:Wf,roles:mte,resource_type:lte,subjects:Vre,type:A7,show_type:MZ,years:KN,author:jp,tags:ON},pEe={azure_categories:kG,category:Cz,credential_types:OK,event_groups:EW,languages:hee,date:Fy,levels:FZ,locales:Xz,products:Kf,roles:dte,resource_type:Cae,subjects:Bre,type:C7,show_type:RZ,years:Oae,author:jp,tags:eie};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 M5e=parseInt(P("hoursToComplete"),10),oyn=lR(M5e).toLocaleLowerCase();A();A();var Me={ar:XE,bg:eC,"bs-latn":tC,ca:nC,cs:sC,da:oC,de:rC,el:iC,en:aC,es:lC,et:cC,eu:uC,fi:dC,fil:pC,fr:mC,ga:gC,gl:fC,he:hC,hi:bC,hr:_C,hu:vC,id:yC,is:xC,it:kC,ja:TC,ka:eX,kk:SC,ko:wC,lb:EC,lt:CC,lv:AC,ms:IC,mt:PC,nb:LC,nl:RC,pl:MC,pt:$C,ro:DC,ru:zC,sk:NC,sl:jC,"sr-cyrl":FC,"sr-latn":UC,sv:OC,th:qC,tr:HC,uk:BC,vi:VC,"zh-cn":GC,"zh-hk":QC,"zh-tw":YC},u1=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} (${Iz})`],["de-ch",`${Me.de} (${zy})`],["de-de",Me.de],["el-gr",Me.el],["en-au",`${Me.en} (${Az})`],["en-ca",`${Me.en} (${FE})`],["en-gb",`${Me.en} (${jz})`],["en-ie",`${Me.en} (${Rz})`],["en-in",`${Me.en} (${Lz})`],["en-my",`${Me.en} (${UE})`],["en-nz",`${Me.en} (${$z})`],["en-sg",`${Me.en} (${zz})`],["en-us",`${Me.en} (${Fz})`],["en-za",`${Me.en} (${Nz})`],["es-es",`${Me.es}`],["es-mx",`${Me.es} (${Mz})`],["et-ee",Me.et],["eu-es",Me.eu],["fi-fi",Me.fi],["fil-ph",Me.fil],["fr-be",`${Me.fr} (${jE})`],["fr-ca",`${Me.fr} (${FE})`],["fr-ch",`${Me.fr} (${zy})`],["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} (${zy})`],["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} (${UE})`],["mt-mt",Me.mt],["nb-no",Me.nb],["nl-be",`${Me.nl} (${jE})`],["nl-nl",`${Me.nl}`],["pl-pl",Me.pl],["pt-br",`${Me.pt} (${Pz})`],["pt-pt",`${Me.pt} (${Dz})`],["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"]]]),$5e=e=>u1.get(e);$5e.keys=()=>u1.keys();var D5e=(()=>{let e=["de","en","es","fr","it"],t=n=>`${n} (${oa})`;return new Map([...u1,...Object.entries(Me).filter(([n])=>e.includes(n)).map(([n,s])=>[n,t(s)])])})();A();function z5e(){return $r.template==="Course"?P("uid")??"":P("iltSchedulingId")??""}var d1=z5e();A();A();A();A();Ve();Ve();A();function f1(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 fEe="ModuleProgress",hEe="ModuleAssessmentProgress";async function Xv(e){if(!S.gamification)return;await _e;let t=JSON.parse(X.getItem(fEe));if(P("page_type")!=="learn"||!w.isAuthenticated||!t||!t.progress)return;let n=t.progress.reduce((s,o)=>(s[o.unitUid]=o.detail||{},s),{});await cEe(n,e),X.removeItem(fEe)}async function ow(){await _e;let e=yh.getItem(hEe);P("page_type")!=="learn"||!w.isAuthenticated||!e||yh.removeItem(hEe)}A();Ve();A();Wp();A();var vEe=d`

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

      ${aX}

      ${j(lX)}

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

      ${hte}

      ${e}

      `,text:e,type:s8e};return CEe(t)}var us=e=>{let{title:t,url:n,titleId:s,resourceType:o,label:r=vY,labelClass:i="is-visually-hidden",buttonExtraClasses:a="button-primary"}=e;return d` `};A();Ve();function wV(e,t=!1){let{pageKind:n,moduleCount:s,durationInMinutes:o}=e;if(n!=="module"&&n!=="path")return"";let r=s?d`
    • ${s} ${s===1?So.toLowerCase():Yy.toLowerCase()}
    • `:"",i=o?t?d`
    • ${Fs(o)}
    • `:d`
    • ${Fs(o)}
    • `:"";return d` ${r} ${i} `}function EV(e){let{pageKind:t,start:n,end:s,moduleCount:o}=e;if(t!=="challenge"||(!n||!s)&&o===void 0)return"";let r=n&&s?d`
    • ${I7.replace("{start}",Hi.format(new Date(n))).replace("{end}",Hi.format(new Date(s)))}
    • `:"",i=o?d`
    • ${o} ${o===1?So.toLowerCase():Yy.toLowerCase()}
    • `:"";return d`${r}${i}`}function CV(e){let{url:t,submitterUsername:n,answerCount:s,commentCount:o,votes:r}=e;if(!t||!t.startsWith("/answers/questions")||!n&&s===void 0&&o===void 0&&r===void 0)return"";let i=n?d`
    • ${n} ${vee}
    • `:"",a=r!==void 0?d`
    • ${r} ${kee}
    • `:"",l=s!==void 0?d`
    • ${s} ${yee}
    • `:"",c=o!==void 0?d`
    • ${o} ${xee}
    • `:"";return d`${i}${a}${l}${c}`}function AV(e){let{pageKind:t,hoursToComplete:n}=e;return t!=="course"?"":n?d`
    • ${o8e(n)}
    • `:""}function IV(e){let{pageKind:t,start:n,end:s}=e;if(t!=="lifecycle"||!n&&!s)return"";let o=n?d`
    • ${Nre.replace("{startDate}",new Date(n).toLocaleDateString())}
    • `:"",r=s?d`
    • ${TW.replace("{endDate}",new Date(s).toLocaleDateString())}
    • `:"";return d`${o}${r}`}function PV(e){let{pageKind:t,lastEpisode:n,episodeCount:s,pageType:o}=e;if(o!=="show"&&t!=="series"||!n&&!s)return"";let r=n?d`
    • ${NZ.replace("{date}",new Date(n).toLocaleDateString())}
    • `:"",i=s?d`
    • ${$Z.replace("{count}",s.toString())}
    • `:"";return d`${r}${i}`}function LV(e){let{showName:t,uploadDate:n,pageType:s,durationInMillisecond:o}=e;if(s!=="episode"||!t&&!n&&!o)return"";let r=o?Ihe(o):null,i=t?d`
    • ${t}
    • `:"",a=n?d`
    • ${jZ.replace("{date}",new Date(n).toLocaleDateString())}
    • `:"",l=r?d`
    • ${Fs(r)}
    • `:"";return d`${i}${a}${l}`}function o8e(e){let t=Math.floor(e/168),n=Math.floor(e%168/24),s=e-t*168-n*24,o=t>0?`${t.toString()} ${t===1?jA:FA}`:null,r=n>0?`${n.toString()} ${n===1?OE:Uy}`:null,i=s>0?`${s.toString()} ${s===1?YE:Lu}`:null;return[o,r,i].filter(a=>a!==null).join(", ")}Ve();function RV(){let e=Ag(new Date(Date.now()));return d`

      ${ua}

      `}A();A();var r8e=(e,t)=>e?(t.indexOf("?")!==-1?"&":"?")+`sharingId=${e}`:"",AEe=(e,t,n)=>encodeURIComponent((n?n+` `+e.toString():e.href)+r8e(t,e.href));function IEe(e,t,n,s=!0,o=!1){let r=AEe(t,n);return d` `}function rw(e,t,n,s,o,r){return d`
      ${e?d``:d`
      ${IEe(n||"",t,s)}
      `}
      `}function MV(e,t=!0,n=!1){let{displayName:s,userName:o,avatarUrl:r,avatarThumbnailUrl:i,userId:a}=e,l=qn(o,"activity"),c=n?d` ${j(Fae)} `:"";return t?d`
      ${Uz} ${s} ${c}
      `:d`${DY}`}function PEe(e,t,n){let s=e??t??n;if(!s)return d``;let o=((e??t)?.collectionOwner??n?.challengeCreator).displayName;return d`
      ${LEe(o,s.collection.showUserDisplayName)}
      `}function LEe(e,t){return t?d` ${String(Tz).replace("{name}",e)} `:d` ${aK} ${xH(!1)} `}function REe(e,t,n){let s=e??t??n;return s?!(e??t)?.isPublicView&&!e?.isChallengeCollection?d`
      await s.toggleShowUserDisplayName()} .checked=${s.collection.showUserDisplayName} />
      `:d``:d``}function iw(e,t="",n=""){return d` ${`${$o(Math.floor(e*100))}%`} ${qo} `}function MEe(e,t){let{challengeId:n,learnChallengeId:s,name:o,isPrivate:r}=t.collection;return d` ${t?.isChallengeCollection?d` ${D7} `:""} ${rw(r,e,o,w.sharingId)}`}function $Ee(e){return!e||!e?.collection?d``:d`
      e.updatePrivacy()} />
      ${MY}
      `}function DEe(e,t,n,s){if(!t&&!n&&!s)return d``;let o=gt(n)?gt(s)?d``:d` `:d` `,r=d`

      ${gt(n)?gK:$oe}

      `;return gt(t)?o:r}function i8e(){return d``}function $V(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} >

      ${woe}

      `:d``}function zEe(e,t,n,s=0,o=-1,r="h3",i=!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 No,_=f?nEe(t,e.nextPlanItem?.id===t.id&&e.isNextPlanItemHighlighted):void 0,h=u?d``:"",x=S.trainingSkills&&t.data.pageKind==="path"&&t.data.display_skills?.length?d`
      ${b1(t.data.display_skills[0])}
      `:"",v=Rt=>{let Bt=f1(Rt.id,"Collection");return l==="challenge"&&t.data.challengeId&&(Bt.id=t.data.challengeId),`${ie(Bt)}`},k=Wv(l,c,m),I=t.type==="url"?`${sEe(m)}`:k,E=l==="challenge"&&t.data.challengeId?m.split("?")[0]:m,H=t.data.url&&t.data.url.includes("/answers/"),F=t.type==="url"?m:`/${H?t.data.rawUrl.split("/")[3]:a}${E}?${v(e.collection)}`,pe=async()=>{e.editingId=t.id},Ce=i?d` ${p} `:d` ${m8e(r,p)} `;f&&(Ce=e.hasStarted()?d` ${p}`:d` `);let ce=t.type==="url"?d`
      ${Ce}
      `:d` ${Ce} `,bt=Rt=>a8e(e,n,t,o,Rt);return e.editingId===t.id?l1(e,o,t):i?d`
    • ${I}

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

      ${ce}
      ${h} ${x}
      ${bt(!1)}
    • `}function a8e(e,t,n,s=-1,o=!1){let{challengeId:r,userId:i}=e.collection;return d`${e.isPublicView||e.isOfficialOrOverride&&i!==w.userId||r?c8e(e.isUserAuthenticated,n,o,e):l8e(e,t,n,s,o)}`}function l8e(e,t,n,s=-1,o=!1){n.data.uid=n.data.uid;let r=s>=0?!(s===0&&t===0):t!==0,i=s>-1?!(s>=e.collection.sections?.length-1&&t>=e.collection.sections[s]?.items.length-1):t ${l} `:d``}function c8e(e,t,n=!1,s){let o=n?d``:void 0,r=NEe(s,t,e);return o||r?d` `:""}function u8e(e,t){if(!e||!t)return d``;let n=t.data.progress??0,s=!(t?.data?.pageKind==="path"||t?.data?.pageKind==="module"),{completionStatusTag:o,completionStatusTagStyle:r}=n1(n,"item");if(n===0){if(s){let i=d8e(e,t);return d` `}return d``}return n===1?d` ${o} `:n>0&&n<1?d` ${Vy} `:d``}function NEe(e,t,n){if(!n)return d``;let s=(()=>{let o=t.data.progress,r=e instanceof No,i=r&&e?.hasStarted?.(),a=!r&&typeof o=="number";if(i)return u8e(e,t);if(a)return iw(o)})();return s?d` `:""}function d8e(e,t){let n=document.createElement("div"),s=p8e(e,t);return y(s,n),new ve(n)}function p8e(e,t){return d` `}function m8e(e="h3",t){let n={h3:d`

      ${t}

      `,h4:d`

      ${t}

      `,h6:d`
      ${t}
      `};return n[e]||n.h3}function zV(e,t="collection"){let n=(t==="plan"?yse:bK).replace("{url}",e),s=LY,o=hK,r=VY;return t==="plan"&&(s=xse,o=kse,r=Tse),d`

      ${s}

      ${o} ${r}

      ${j(n)}
      `}function jEe(){return d`

      ${TE}

      ${xY}


      1. ${kY}
      2. ${TY}
      3. ${j(SY)}

      ${wY}

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

      ${t}

      ${n}


      ${s}
      `}function NV(e,t){let n=(()=>{let o=e.collection.sections;if(Array.isArray(o)&&o.length>0)return d`
      ${o.map((i,a,l)=>d`
      ${g8e(e,i,a,l,t)} ${DV(e,i.items,void 0,a)}
      `)}
      `;let r=e.collection.items;return Array.isArray(r)&&r.length>0?DV(e,r,void 0,-1):A$(QY,{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Ol?"/test":""}/training/browse/`}})})(),s=d`${_8e(e)} ${b8e(e)} ${v8e(e)}`;return d`${n}${s}`}function g8e(e,t,n,s,o){return d`

      ${o} ${n+1}

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

      ${t.name}

      `:""} ${a?d`

      ${t.description}

      `:""} ${l?f8e(t.daysToComplete):""} `:""}
      `})()}
      `}function DV(e,t,n=0,s=-1,o="h4",r=!1){return!t||t.length===0?OSe(e.isPublicView):d`
        ${t.map((i,a)=>zEe(e,i,a,n,s,o,r))}
      `}function f8e(e){return gt(e)?"":d`

      ${xoe} ${e}

      `}function h8e(e){let t=tEe(e),{completionStatusTag:n,completionStatusTagStyle:s,progressBarLabelStyle:o,progressBarStyle:r}=n1(t,"milestone");return t===1?d` ${n} `:d`
      ${$o(Math.floor(t*100))}%
      `}function b8e(e){return e.editingSectionId===cf?hV(e):""}function _8e(e){return d`${e.editingId===lV?d`
      ${l1(e)}
      `:""}`}function v8e(e,t="margin-top-xl"){if(e.isPublicView)return"";let n={handleEvent(o){o.preventDefault(),e.editingId=lV}},s={handleEvent(o){o.preventDefault(),e.editingSectionId=cf}};return d` ${d`
      ${e.isOfficialOrOverride&&!(e instanceof No)?d``:""} ${(e.collection?.items?.length??0)>0||(e.collection?.sections?.length??0)>0?d``:""}
      `} `}A();function _1(...e){let[t,n,s=!0]=e,o=d` ${j(oQ)}
      • ${j(t)}
      • ${j(n)}
      `;return aw("ms--challenges-violation-banner",sQ,o,iQ,s)}A();var lPn=new Array(100).fill(0).map((e,t)=>({id:`team${t+1}`,name:`Team ${t+1}`,imageUrl:"",hasMembers:!!(t%3)}));A();var jV={"ar-sa":!0,"he-il":!0};var xRn=Nl();A();A();A();Ve();A();A();var UEe=e=>[{id:"plan-title",name:"plan-title",title:bc,inputType:"text",dataBiName:"plan-title",value:e.title,placeholder:fse,required:!0},{id:"plan-description",name:"plan-description",title:bz,inputType:"textarea",dataBiName:"plan-description",cssClasses:"padding-bottom-xs",value:e.description,required:!1},{id:"learning-outcomes",title:$u,subtitle:ooe,tip:roe,cssClasses:"padding-top-xs border-top"},{id:"plan-outcome-1",name:"plan-learning-outcome-1",title:ioe,inputType:"textarea",dataBiName:"plan-outcome-1",value:e.learningOutcomes?.[0]??"",required:!1},{id:"plan-outcome-2",name:"plan-learning-outcome-2",title:aoe,inputType:"textarea",dataBiName:"plan-outcome-2",value:e.learningOutcomes?.[1]??"",required:!1},{id:"plan-outcome-3",name:"plan-learning-outcome-3",title:loe,inputType:"textarea",dataBiName:"plan-outcome-3",value:e.learningOutcomes?.[2]??"",required:!1},{id:"plan-official",name:"official-plan",title:uoe,inputType:"checkbox",dataBiName:"plan-official-checkbox",tip:moe,value:e.isOfficial,isDirty:!1}];function OEe(e){let t=e.elements.namedItem("plan-title"),n=t.value;if(!n)return t.setCustomValidity(Au),t.reportValidity(),Mn(e,"planNewTitle"),null;let s=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(i=>i.trim()).filter(i=>i.length>0),r=e.elements.namedItem("official-plan")?.checked??!1;return{title:n,description:s,learningOutcomes:o,isOfficial:r}}var qEe;async function HEe(e,t){e.preventDefault();let n=document.getElementById("ms--create-plan"),s=e.target;Xi(n);let o=OEe(n);if(o===null)return;let{title:r,description:i,learningOutcomes:a,isOfficial:l}=o,u=n.elements.namedItem("official-plan")?.dataset.changed==="true",p={listId:n.dataset.listId??"",name:r,description:i,learningOutcomes:a??[],isOfficial:l};s.disabled=!0,s.classList.add("is-loading");try{let m=await eo.createSkillingPlan(p);if(m.hasError===!0)Mn(n,"somethingWentWrong");else{let g,f=Jv(m?.data?.id);if(l&&u&&(g=Xwe()),g){t.hide(),g?.show();let _=g?.contentElement.querySelector(".modal-close");[g?.contentElement.querySelector("button#close-official-plan-modal"),_].forEach(x=>{if(!x)throw new Error("Something went wrong with the close buttons in the Official plan informative modal.");x.onclick=()=>{g?.hide(),location.href=f}})}else location.href=f}}catch(m){throw Mn(n,"somethingWentWrong"),new Error(`error: ${m.message}`)}finally{s.disabled=!1,s.classList.remove("is-loading")}}async function BEe(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"),Xi(e.contentElement);try{await t.deletePlan(),e.hide(),location.href=qn("me","plans").toString()}catch(s){throw Mn(e.contentElement,"somethingWentWrong"),new Error(`error: ${s.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}}async function VEe(e,t,n){let s=e.contentElement.querySelector("button#ms--plan-modal-primary-btn");if(!s)throw new Error("Primary button not found");s.onclick=async o=>{o.preventDefault(),s.disabled=!0,s.classList.add("is-loading"),Xi(e.contentElement);try{await t.dropPlan(),e.hide(),n()}catch(r){throw Mn(e.contentElement,"somethingWentWrong"),new Error(`error: ${r.message}`)}finally{s.disabled=!1,s.classList.remove("is-loading")}}}async function GEe(e){let t=e.elements.namedItem("plan-learner-group-name"),n=t.value,s=t.dataset.planId;t.classList.remove("input-danger"),e.querySelector("button[type=submit]")?.classList.add("is-loading");try{let o=await eo.createLearnerGroup(s,n);return C8e(o,e)}catch(o){throw new Error(`error: ${o.message}`)}}function C8e(e,t){if(e.hasError===!0){e.error.errorCode==="AlreadyExists"?Mn(t,"learnerGroupAlreadyExists"):Mn(t,"somethingWentWrong");let n=t.elements.namedItem("plan-learner-group-name");n.focus(),n.classList.add("input-danger");let s=t.querySelector("button[type=submit]");return s&&s.classList.remove("is-loading"),{hasError:!0}}return{hasError:!1,data:e.data}}async function QEe(e){let t=e.closest(".learner-group-details");if(!t)throw new Error("Could not find the learner group details");let n=t.nextElementSibling,s=n.querySelector(".cancel"),o=n?.querySelector("input");ew(t,n),n.focus(),s&&(s.onclick=r=>{r.preventDefault(),ew(t,n),o&&(o.value=o?.dataset.originalName)})}async function YEe(e,t){let n=t.parentElement?.previousElementSibling,s=t.parentElement,o=s?.querySelector("input"),r=o?.dataset.groupId,i=s.querySelector("#learner-group-submit");if(i?.classList.add("is-loading"),o?.value===o?.dataset.originalName){i?.classList.remove("is-loading"),ew(n,s),o.value=o?.dataset.originalName;return}if(rEe(o?.value,e.plan?.learnerGroups??[])){Mn(t,"learnerGroupAlreadyExists"),o?.focus(),o?.classList.add("input-danger"),i?.classList.remove("is-loading");return}Xi(t);let a=await e.updateLearnerGroup({id:r,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),ew(n,s),o.classList.remove("input-danger"),i?.classList.remove("is-loading")}else Mn(t,"somethingWentWrong"),o.focus(),o.classList.add("input-danger"),i?.classList.remove("is-loading")}async function KEe(e,t,n,s){qEe=e.contentElement.querySelector("#notification-wrapper");let o=XS(zse,d`${j(Nse.replace("{learningGroupName}",t.plan?.learnerGroups?.find(i=>i.id===n)?.name||tx))}`,void 0,Ho,Ne,!0);if(e.hide(),(await ls(o,!1,i=>A8e(i,t,n,s))).submitted){e.show();let i=mV(jse,"success",!0);qEe.innerHTML=i}}async function A8e(e,t,n,s){let o=e.querySelector("button[type=submit]");o?.classList.add("is-loading");let r={hasError:!1,data:null};try{await t.deleteLearnerGroup(n),r={hasError:!1,data:null}}catch{Mn(e,"somethingWentWrong"),r={hasError:!0}}finally{s.closest(".card")?.remove(),o?.classList.remove("is-loading")}return r}A();var WEe;async function ZEe(e,t=null,n=$.profile.reportConcern,s,o,r="description",i){let a=document.createElement("div");WEe=new ve(a);let l=d``;if(WEe.show(),e.isAuthenticated&&t===null){let u=d``;y(d` `,a);let p=Xn()??"";t=await tm(p)}l=d` ${M8e(I8e,i,rN,o,void 0,r)} ${$8e(t)}

      ${j(Nee)}

      ${s||""} `,y(d` `,a);let c=a.querySelector("#report-content-form");R8e(),U8e(c),t!==null&&F8e(c,t)}function I8e(e,t,n="abuseCategory",s=!1){let o=t||tke;return d`
      `}function JEe(e){return d` `}function P8e(e,t,n,s,o){return d` `}function L8e(e,t){return d`
      `}function R8e(){window.addEventListener("form-validating",e=>{let t=jS(e.detail.form),n=T$(t);e.detail.errors?.length>=0&&P6(e.detail.form,e.detail.errors),t&&!t.querySelector("[data-warning-icon-container]")&&k$(t),n&&A6(n)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;FS(t)})}function M8e(e,t,n=rN,s,o,r,i,a=!1){return d`
      ${e(o,t,s,a)}
      `}function $8e(e){if(e===null)return d`

      ${j(Ree)}

      `;let[t,n]=XEe(e);return d`
      `}function D8e(e){return e.authenticationModes?e.authenticationModes.map(t=>t.type).includes("MSA"):!1}function z8e(e){let t=e.authenticationModes.find(n=>n.type==="MSA");return t?t.upn:null}function N8e(e){let t=e.authenticationModes.find(n=>n.type==="AAD");return t?t.upn:null}function j8e(e,t,n){return t??(gt(e.email)?n:e.email)??""}function XEe(e){let t=D8e(e),n=t?z8e(e):null,s=t?null:N8e(e),o=j8e(e,n,s);return[t,o]}function F8e(e,t){let[n,s]=XEe(t);if(n){let i=e.querySelector("#report-msa-email-account");i.innerText=s}let o=e.querySelector("#opt-into-email-checkbox"),r=e.querySelector("#submitter-info");o.addEventListener("change",()=>{o.checked?r.hidden=!1:r.hidden=!0})}function U8e(e){if(!e)return;let t=e.querySelector("#select-reason"),n=e.querySelector("#other-reason-textarea-container"),s=n.querySelector("textarea");if(!t||!n||!s)return;let o=t.value===to[14]||t.value===14 .toString();o&&(n.hidden=!1,s.required=!0),t.addEventListener("change",()=>{o=t.value===to[14]||t.value===14 .toString(),o?(n.hidden=!1,s.required=!0,s.disabled=!1):(n.hidden=!0,s.required=!1,s.disabled=!0)})}A();Ve();A();var v1;function eCe(e){v1=e}function tCe(e,t){let n=e.isOfficial?ki:Lr,s=r=>{let i=r.target;n=i.checked?ki:Lr;let a=document.querySelector("#toggle-text-plan-official");y(n,a),i.getAttribute("data-changed")==="false"&&i.setAttribute("data-changed","true")},o=UEe(e).map(r=>{let{id:i,name:a,title:l,subtitle:c,tip:u,inputType:p,dataBiName:m,cssClasses:g,required:f}=r;if(i==="plan-official"&&!t)return d``;let _=i==="plan-title"&&e.isNew===!0,h=p?p==="textarea"?d``:p==="checkbox"?d`
      ${n}
      `:d`{let v=x.target;i==="plan-title"&&(q8e(v,Au),v.classList.remove("input-danger"))}} /> ${_?d`

      ${cse}

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

      ${c}

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

      ${u}

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

      ${wse}

      ${o}
      `}function O8e(){return d`
      ${j(poe)}
      `}function q8e(e,t){e.setCustomValidity(""),e.validity.valid||(t&&e.setCustomValidity(t),e.reportValidity())}function nCe(e){return e?d`
      • ${e.stats?.participantsStarted}

        ${Ese}

      • ${e.stats?.participantsJoined}

        ${Vy}

      • ${e.stats?.participantsCompleted}

        ${Sse}

      ${Kse}

      ${Wse}

      • ${Jse}
      • ${Zse}
      • ${Xse}
      • ${eoe}
      • ${toe}
      • ${noe}
      `:d``}function sCe(e,t){if(!t?.plan)return d``;let{emailSubject:n,emailBody:s,encodedPlanUrl:o}=pV(t.plan);async function r(){v1.hide();let i=B8e(TN,qse,t?.plan.id,jy,!0),a=await ls(i,!1,GEe);return t&&a.submitted?t.addToLearnersGroups(a.data,l=>e(l)):v1.show(),d``}return d`
      ${Use}
      ${Fse}
      ${j(Ose)}
      ${t.plan?.learnerGroups?.map(i=>H8e(t,i))}
      `}function H8e(e,t){let{emailSubject:n,emailBody:s,encodedPlanUrl:o}=pV(e.plan,t.id);return d`
      ${tx}: ${t.name}
      `}function B8e(e,t,n,s=Cs,o=!1){return n?d` `:d``}A();function lw(e,t){return d` `}function FV(e,t,n){return d`
      ${t}
      `}function UV(e,t,n){return d` `}var pf;function cw(e,t,n){if(!t&&!n?.plan)return;let s=d``,o=document.createElement("div");pf=new ve(o),eCe(pf);let r={title:t?.name??"",description:t?.description??"",isOfficial:t?.isOfficial??!1},i,a;switch(e){case"new":let l=t?.id;n?.plan&&(r.title=n?.plan?.contentList.name??"",r.description=n?.plan?.contentList.description??"",r.isOfficial=n?.plan?.contentList.isOfficial??!1,r.learningOutcomes=n?.plan?.learningOutcomes??[],l=n?.plan?.listId,r.isNew=!0),s=lw("plan",{title:Pse,body:FV("create-plan",tCe(r,oEe(n?.collection?.id)),l),footer:UV("plan",pf)}),y(s,o),i=o.querySelector("button[type=submit]"),i&&(i.innerText=jy,i.setAttribute("aria-label",jy),i.setAttribute("data-bi-name","create-plan-btn"),i.onclick=async c=>{await HEe(c,pf)}),a=o.querySelector("button#cancel-plan-btn"),a&&a.setAttribute("data-bi-name","cancel-create-plan-btn");break;case"invite":s=lw("plan",{title:th,body:sCe(c=>cw("invite",void 0,c),n),footer:d``}),y(s,o);break;case"progress":s=lw("plan",{title:nh,body:nCe(n),footer:d``}),y(s,o);break;default:break}if(s)pf.show();else throw new Error(`Invalid side panel content type: ${e}`)}function OV(e,t,n){if(!e&&!t&&!n)return d``;xy(T.body);let s=!gt(t),o=!gt(n),r={vm:e,vmPlans:t,vmChallenge:n},i=uw(r),{lastModified:a,totalDuration:l=0,shouldLocalize:c}=i,u=!!e?.isOfficialOrOverride||!!t?.collection.isOfficial||!!e?.isChallengeCollection,p=T.getElementById("loc-submitted-text"),m={pathCountFormat:"",moduleCountFormat:""};if(e){let{pathCountFormat:h,moduleCountFormat:x}=e.getAmountStrings();m.pathCountFormat=h,m.moduleCountFormat=x}let{pathCountFormat:g,moduleCountFormat:f}=m,_=e?.isChallengeCollection?d` ${l?d`
    • ${Fs(l)}
    • `:""} ${g?d`
    • ${g}
    • `:""} ${f?d`
    • ${f}
    • `:""} `:!t?.isPublicView&&a!==void 0?d`
    • ${vW} ${new Intl.DateTimeFormat(b.data.userLocale).format(new Date(a))}
    • `:"";return d`
      ${u||o?d`${PEe(e,t,n)}`:""}
      ${u||o?REe(e,t,n):""} ${cCe(r)?$Ee(e):""}
      ${p||o?"":d`

      ${c?s?kA:ME:""}

      `}
      `}function uw(e){return(e.vm??e.vmPlans??e.vmChallenge)?.collection}function y1(e){let{vm:t,vmPlans:n}=e;return t?.collectionOwner?.userId===w.userId||n?.plan?.userId===w.userId}function qV(e){return e.vmPlans?.hasStarted()===!0}function lCe(e){return e.vmPlans?.isCompleted()===!0}function V8e(e){let{vm:t,vmPlans:n}=e,s=!gt(t),o=!gt(n),r=n?.isPublicView||t?.isPublicView,i=uw(e),a=i?.isOfficial,l=i?.shouldLocalize;return(s||o)&&!(r||l||!a)&&y1(e)}function oCe(e){return!!e.vmPlans&&y1(e)}function G8e(e){return!!e.vmPlans&&y1(e)}function Q8e(e){return!!e.vmPlans&&qV(e)&&!lCe(e)}function rCe(e){return!!e.vmPlans&&qV(e)&&!lCe(e)}function iCe(e){return!!e.vmPlans&&!qV(e)&&w.isAuthenticated}function aCe(e){return!!e.vmPlans&&!w.isAuthenticated}function Y8e(e){let{vm:t,vmPlans:n}=e,s=uw(e);return!t?.isChallengeCollection&&!y1(e)&&!s?.isOfficial&&(!!t&&t?.reportStatus!=="Unknown"||!!n&&n?.reportStatus!=="Unknown")}function cCe(e){if(!e.vm&&!e.vmPlans)return!1;let{vm:t,vmChallenge:n}=e,s=!gt(t),o=!gt(n),i=uw(e)?.id;return s&&!(t?.isPublicView||t?.isOfficialOrOverride&&t?.collectionOwner?.userId!==w.userId||t?.isChallengeCollection||i==="bookmarks")||o&&!!n?.isChallengeOwner()&&!!n?.isChallengeUpcoming()}function K8e(e){let{vm:t,vmPlans:n,vmChallenge:s}=e,r=uw(e)?.id,i=yu(r),a=Ka("resume-plan-button",Zf,Zf,()=>n?.resumePlan(),"resume-plan-btn",Zf,"button-sm button-primary button-filled");function l(){function v(){let k=T.getElementById("start-or-resume");k&&y(a,k)}if(!w.isAuthenticated){Un(location.href);return}n?.joinPlan({onSuccess:()=>{v()}})}let c=Ka("start-plan-button",da,da,()=>l(),"start-plan-btn",da,"button-sm button-primary button-filled inner-focus"),u=Ka("sign-in-plan-button",rx,rx,()=>l(),"sign-in-plan-btn",rx,"button-sm button-primary button-filled",!n?.isPublicView),p=s?Ka("delete-challenge-button",B7,d` `,()=>s?.deleteChallenge(),"delete-challenge-btn",Ho,"button-sm button-clear"):Ka("delete-collection-button",zY,d` `,()=>t?.deleteCollection(),"delete-collection-btn",Ho,"button-sm button-clear");async function m(v){v&&(uV(XS(dse,d`${pse}`,mse,gse,Lr)),Kv.show(),await VEe(Kv,v,()=>{let k=T.getElementById("start-or-resume");k&&y(c,k)}))}let g=()=>Ka("drop-plan-button",yA,d``,()=>m(n),"drop-plan-btn",yA,"button-sm button-clear"),f=d`
      ${Ka("submit-loc-button",RE,d` `,()=>t?.localizeCollection()??n?.localizePlan(),"localize-list-btn",RE,"button-sm button-clear margin-right-none")}
      ${ZY}
      `,_=!S.shareLink||r==="bookmarks"?d``:t?d`${MEe(i,t)}`:n?d`${rw(!1,new URL(Jv(n?.plan?.id),location.origin),n?.collection?.name,w.sharingId,!1,"share-plan-btn")}`:s?d`${rw(!1,new URL(cs(s?.challengeDetails?.id),location.origin),s?.challengeDetails?.contentList.name,w.sharingId)}`:d``,h=t?.isChallengeCollection||!w.isAuthenticated||r==="bookmarks"?d``:DEe((v,k,I)=>cw(v,k,I),t,n,s);return d` ${rCe(e)||iCe(e)||aCe(e)?d`
      ${rCe(e)?a:""} ${iCe(e)?c:""} ${aCe(e)?u:""}
      `:""} ${_} ${h} ${Y8e(e)?W8e(t,n):""} ${oCe(e)?d`${e9e(n)}`:""} ${V8e(e)?f:""} ${G8e(e)?d`${t9e()}`:""} ${cCe(e)?p:""} ${oCe(e)?d` ${J8e(n)}`:""} ${Q8e(e)?g():""} `}function HV(e,t,n){return!e&&!t&&!n?d``:d`
      ${K8e({vm:e,vmPlans:t,vmChallenge:n})}
      `}function Ka(e,t,n,s,o,r,i,a=!1){return d` `}function W8e(e,t){let n=d`${t?d``:""}`,s=e?.reportStatus==="Active"||t?.reportStatus==="Active",o=Ka("report-a-concern-btn",sA,d` `,()=>ZEe(w,null,`${$.lists}/report/concern`,n),e?"collection-report-a-concern-btn":"plan-report-a-concern-btn",sA,"button-sm button-clear margin-right-none",s),r=d`
      ${e?d`

      ${EK}

      ${j(CK)}

      `:d`

      ${Noe}

      ${j(joe)}

      `}
      `;return d`
      ${o} ${s?r:""}
      `}function J8e(e){return e?Ka("delete-plan-button",Ho,d` `,async()=>{uV(XS(Lse,Mse,d`${e.plan?.contentList.name??""}`,$se,void 0,void 0,e.plan?.hasParticipants,Rse)),Kv.show(),await BEe(Kv,e)},"delete-plan-btn",Ho,"button-sm button-clear"):d``}function Z8e(e){return Ka("plan-progress-button",nh,d``,()=>cw("progress",void 0,e),"view-plan-progress-btn",nh,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function X8e(e){return Ka("invite-learners-button",th,d``,()=>cw("invite",void 0,e),"plan-invite-learners-btn",th,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function e9e(e){return e?d`
      • ${Z8e(e)}
      • ${X8e(e)}
      `:d``}function t9e(){return d`
        ${[{href:"/training/browse",label:Ko},{href:"/credentials/browse",label:ps},{href:"/docs",label:aa},{href:"/shows/browse",label:To}].map(t=>d`
      • ${t.label}
      • `)}
      `}function BV(e,t){if(!e&&!t)return d``;let n=(e??t)?.collection;if(!n)return d``;let s=e??t,{challengeId:o,learnChallengeId:r,description:i,totalItems:a,name:l,remainingDuration:c,totalDuration:u,isFallbackLocale:p,shouldLocalize:m,sectionCount:g}=n,f=!gt(t),_=t?"plan":s?.isChallengeCollection?"challenge":"collection",h={challenge:"--hero-background-image-light: url('/en-us/media/profile/CSCCollectionHeroImage.png?branch=main');--hero-background-image-dark: url('/en-us/media/profile/CSCCollectionHeroImage.png?branch=main'); --border-gradient-end-color: #271e6d",collection:"--hero-background-image-light: url('/en-us/media/profile/OfficialCollectionsHeroImage.png?branch=main');--hero-background-image-dark: url('/en-us/media/profile/OfficialCollectionsHeroImage.png?branch=main'); --border-gradient-end-color: #053986",plan:"--hero-background-image-light: url(/media/learn/plans/skilling_plan_hero.png?branch=main);--hero-background-image-dark: url(/media/learn/plans/skilling_plan_hero.png?branch=main);--border-gradient-end-color: #152c75"},x={challenge:"has-background-challenge",collection:"has-background-collection",plan:"has-background-plan"},v={challenge:P7,collection:tY,plan:Cse},k=!s?.isPublicView&&!s?.isChallengeCollection?d` `:"";return d` ${e?.isPublicView&&p&&m?tn(eK):""}

      ${v[_]}

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

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

      ${i} ${k}

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

      ${r?Ru:i?ra:mi}

      ${m==="bookmarks"?PE:c} ${o||i||r?d` `:""}

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

      ${a} ${h}

      `:!_?.isEditingSummaryDescription&&m!=="bookmarks"?d`
      ${Sz} ${h}
      `:""} ${_?.isEditingSummaryDescription?_V(_):""} ${OV(e,t,n)} ${e?n9e(e):""} ${e?.isUserAuthenticated&&l?.length&&p&&u&&g?d`
      ${iw((p-u)/p)}
      `:""}
      ${uCe(t)} ${vV(t)}
      ${HV(e,t,n)} `}function uCe(e){return!e||!e.plan?d``:d`

      ${$u}

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

      ${s9e()}

      `:"":d``}function s9e(){return d`
      ${kz}
      `}function dCe(e){if(gt(e))return d``;let t="";switch(e){case 0:return d``;case 1:t=String(koe);break;default:t=String(Toe).replace("{numberOfMilestones}",(e??"").toString());break}return d`

      ${t}

      `}Ve();A();A();A();function o9e(e,t){let n=zE,s=fK,o=_K,r=vK,i=qn("me","collections"),a=lE,l=`/${b.data.userLocale}/`;return e==="plan"&&(n=hse,s=bse,o=_se,r=vse,i=qn("me","plans")),e==="challenge"&&(n=j7,s=F7,o=U7,r=O7,i=qn("me","challenges"),t&&(a=q7,l=cs(t,"leaderboard"))),d`

      ${n}

      ${s}

      ${o}

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

      ${zE}

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

      ${TE}

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

      ${ju}

      `;default:return d`

      ${en}

      `}}A();A();var ozn={input:{id:"challenge-primary-subject",name:"challenge-primary-subject",docon:"search",isFullWidth:!0,placeholder:L7,required:!0},getSuggestions:async()=>[],getTitle:e=>e.displayName||e.value,noResultsTemplate:d`${Dn}`,itemTemplate:e=>d`${e.displayName||e.value}`};A();Ve();A();Ve();Ve();Wp();A();A();A();A();A();A();A();A();function fCe(e){let t=GV(e.responseErrorCode);if(t!==null)return t;if(!e.collection){let n=qn("me","collections").toString();return zV(n,"collection")}return e.collection.learnChallengeId&&aV("content",document.getElementById("article-header-breadcrumbs")||void 0,e.collection.learnChallengeId),d` ${e.isOfficialOrOverride||e.collection.challengeId||e.collection.learnChallengeId?BV(e):x1(e)} ${E9e(e)} `}function E9e(e){if(!e.collection)return"";let t=d`

      ${GY}

      `;return d`
      ${!e.isPublicView&&e.hasActiveTakedowns?A9e(e):""}
      ${t}
      ${NV(e,SA)}
      `}var C9e=aw("ms--lists-violation-banner",TK,d`${j(SK)}`,wK);function A9e(e){return e?.collection?.learnChallengeId?_1(nz.replace("{detailPageLink}",cs(e.collection.learnChallengeId,"details")),rQ):C9e}async function hCe(){let e=document.querySelector("[data-main-column] [data-page-content]");if(!e)return;let t=I9e(ee.pathname);await _e;let n=new yp(t,void 0,!0);await n.beforeActivate();let s=async()=>{y(fCe(n),e)};n.subscribe(et,s),w.subscribe(Tn,s),s()}function I9e(e){let t;if(!e)return t=void 0,t;let n=/collections\/([^\/]+)/,s=e.match(n);return s===null||s&&!s[1]?t=void 0:s&&s[1]&&(t=s[1]),t}function bCe(){let e=document.getElementById("filter-list");if(!e)return;let t=Array.from(document.querySelectorAll(".profile-component")),n=0,s=()=>{clearTimeout(n),n=setTimeout(()=>{P9e(KA(e.value),t)},250)};e.addEventListener("input",s),e.addEventListener("change",s)}function P9e(e,t){let n=document.querySelector(".no-results"),s=new RegExp(e,"gi");n.hidden=!0;let o=t.filter(r=>(r.hidden=!r.textContent.match(s),r.hidden?!1:r));return o.length===0&&(n.hidden=!1,ht(la,"assertive",1e3)),o}A();A();A();A();var yOn=mt(),xOn=b.data.userLocale;A();A();function ea(e){let t=[],n=e.display_products?.[0];n&&t.push(n);let s=e.display_roles?.[0];s&&t.push(s);let o=e.levels?.[0],r=e.display_levels?.[0];if(r)t.push(r);else if(o&&o in jo.levels){let c=jo.levels[o];t.push(c)}let i=e.display_event_groups?.[0];i&&t.push(i);let a=e.display_azure_categories?.[0];a&&t.push(a);let l=e.display_languages?.[0];return l&&t.push(l),t}function ey(e){return e.map(t=>d`
    • ${t}
    • `)}function QV(e,t){return e?Fs(e):t?lR(t):""}A();var dw=24*60*60*1e3;function mw(e,t,n){let s=oe(),o=S.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return d`
      {let i=r.target;i.type!=="date"&&e.selectByValue(i.value)}} >
      ${N9e(e.facets)}
      r.value==="custom")?.isSelected}> ${xCe("starting-date",Fre,s.gt)} ${xCe("ending-date",kW,s.lt)}
        `}function N9e(e){return Object.keys(ai).map(n=>{let s=e.find(o=>o.value.toLowerCase()===n);if(n==="all")return j9e("all",e);{let o=n==="custom"?HK:ai[n];return kCe(n,o,s.isSelected)}})}function kCe(e,t,n=!1){let s=S.enableNewSiteSearch?"font-size-sm":"";return d` `}function j9e(e,t){let n=t.reduce((s,o)=>(o.isSelected&&o.value!=="all"&&(s.selection=!0),s),{selection:!1});return kCe(e,oa,!n.selection)}function xCe(e,t,n){let s=S.enableNewSiteSearch?"font-size-sm font-weight-normal":"",o=S.enableNewSiteSearch?"margin-top-xxs":"";return d` F9e()} value="${n}" /> `}function F9e(){let e=document.querySelector("#custom-date-facet-button"),t=document.querySelector("#custom-date-facet-error"),n=[];if(U9e()&&n.push(SW.replace("{date}",new Date().toLocaleDateString())),O9e()&&n.push(wW),t.innerHTML="",n.length){for(let s of n){let o=document.createElement("li");o.innerText=s,t.appendChild(o)}e.disabled=!0}else e.disabled=!1}function U9e(){let e=q9e().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 O9e(){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 q9e(){let e=new Date,t=`0${e.getDate()}`.slice(-2),n=`0${e.getMonth()+1}`.slice(-2),s=e.getFullYear();return new Date(`${s}-${n}-${t}`)}function TCe(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 pw(t.getTime()-dw);case"last7days":return pw(n-7*dw);case"last30days":return pw(n-30*dw);case"last365days":return pw(n-365*dw);case"custom":return H9e();default:return""}}function H9e(){let e=oe(),t=e.gt,n=e.lt,s=null,o=null;if(t){let r=new Date(t),i=r.getTimezoneOffset()*6e4;s=r.getTime()+i}if(n){let r=new Date(n),i=r.getTimezoneOffset()*6e4;o=r.getTime()+i+dw}return pw(s,o)}function pw(e=null,t=null){let n=[];if(e){e=e<0?0:e;let s=new Date(e).toISOString();n.push(`lastUpdated gt ${s}`)}if(t){t=t<0?0:t;let s=new Date(t).toISOString();n.push(`lastUpdated lt ${s}`)}return n.join(" and ")}function Bs(e){let t=[];for(let n in e){let s=Object.keys(e[n]);if(s.length>0){let o=n.charAt(0),r=n!=="resource_type"&&n!=="type"?`${n}/any(${o}: `+s.map(i=>`${o} eq '${i}'`).join(" or ")+")":s.map(i=>`${n} eq '${i.replace("_"," ")}'`).join(" or ");t.push(`(${r})`)}}return t.join(" and ")}function T1(e){let t=[],n=e.scope?`scopes/any(s: s eq '${e.scope}')`:"";n&&t.push("("+n+")");let s=[];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 ");s.push(`(${g})`)}else{let m=c.charAt(0),g=p.map(_=>`${m} eq '${_}'`).join(" or "),f=`(${c}/any(${m}: ${g}))`;s.push(f)}}if(s.length>0){let c=s.join(" and ");t.push("("+c+")")}let o;for(let c in e.selectedFacets.date){o=c;break}let r=o?TCe(o):"";r&&t.push("(category eq 'QnA' and "+r+")");let i;for(let c in e.selectedFacets.author){i=c;break}i&&t.push(`(category eq 'QnA' and authorId eq '${i}')`);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 wCe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",hideCompleted:!0,fetch:B9e,resultTemplate:YV,resultSortOptions:[{label:uee,orderBy:null},{label:Af,orderBy:"title"},{label:If,orderBy:"title desc"},{label:Gf,orderBy:"last_modified desc"},{label:Qf,orderBy:"last_modified"}]}}function YV(e){let n=`learn-${e.uid?Fn(e.uid):Xe()}-title`;return d`

        ${jo.resource_type[e.resource_type]}

        ${e.title}
        `}async function B9e(e){let[t]=await Promise.all([SCe(e,!1),_e]);if(t.count===0&&([t]=await Promise.all([SCe(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(r=>r.resource_type!=="course");t.count<=t.results.length&&(t.count=o.length),t.results=o}let n=t.results.map(o=>o.uid),s;try{s=(await Promise.resolve(S.gamification&&w.isAuthenticated?uf(n):Promise.resolve([]))).reduce(ECe("uid"),{})}catch{s={}}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 s&&(o.progress=s[o.uid]);return t}function V9e(e){return{branch:mt(),environment:"prod",locale:b.data.userLocale,terms:e.terms,facet:["roles","levels","products","subjects","resource_type"],$filter:Bs(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 SCe(e,t){let n={...V9e(e),fuzzySearch:t},s=`${$.browse.learn}?${ie(n,!0)}`;return M(J(s,{method:"GET"})).then(async r=>{if(r.ok)return await r.json();throw{error:r.json()}})}function ECe(e){return(t,n)=>(t[n[e]]=n,t)}function G9e(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 S1(e,t){return(e==="lit"?d:W)`

        ${t?.title??Goe}

        `}A();Ve();A();Ve();A();function ACe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:Q9e,resultTemplate:ICe,resultSortOptions:[{label:Af,orderBy:"title"},{label:If,orderBy:"title desc"},{label:Gf,orderBy:"last_modified desc"},{label:Qf,orderBy:"last_modified"}]}}function ICe(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``:"",s=jo.resource_type[e.resource_type],o=e.resource_type==="examination"?`${Bo} ${e.exam_display_name}: ${e.title}`:e.title,i=`certifications-${e.uid?Fn(e.uid):Xe()}-title`;return d`

        ${s}

        ${o}
        ${n}
        `}async function Q9e(e){let[t]=await Promise.all([CCe(e,!1),_e]);t.count===0&&([t]=await Promise.all([CCe(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 Y9e(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","resource_type","type"],$filter:Bs(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function CCe(e,t){let n={...Y9e(e),fuzzySearch:t},s=`${$.browse.certification}?${ie(n,!0)}`;return M(J(s,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}A();A();var K9e=Nl(),W9e={orderBy:"latest_episode_upload_at desc"};function LCe(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:J9e,resultTemplate:RCe(),taxonomyFacetLookups:{type:"show_type"}}}async function J9e(e){let[t]=await Promise.all([PCe(e,!1),_e]);t.count===0&&([t]=await Promise.all([PCe(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 PCe(e,t){let n={...Z9e(e),fuzzySearch:t},s=`${$.browse.shows}?${ie(n,!0)}`;return M(J(s,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function Z9e(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["products","type"],$filter:Bs(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:W9e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function RCe(){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 X9e(e,t)}}function X9e(e,t){let n=e.latest_episode_upload_at?d`

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

        `:"";return d` `}Pg();A();A();Ve();A();var q6n=mt(),H6n=b.data.userLocale;A();Ve();A();A();A();var yGe=xGe();function xGe(){let e=yh.getItem("x-sid");return e||(e=iu(),yh.setItem("x-sid",e),e)}var w1={"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 DCe(){return R.supportLevel==="production"?"958652F9-1B3E-C23A-E908-CDFFFE508ECB":"4459FB26-0753-0E59-AA51-E12E04E8D946"}async function zCe(e){let t={timestamp:String(Date.now()),use_case:e,"HEADER_user-agent":navigator.userAgent,"HEADER_accept-language":w1[b.data.userLocale]??"default",HEADER_origin:location.origin,HEADER_referer:document.referrer},n={method:"POST",body:JSON.stringify(t)},s=J($.encryptCaptchaPayload,n),o=await M(s);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 NCe=["version","getConfig","reset","run","setConfig"];var kGe=S.chromeless||Zae.getItem("playwrightActive"),gw;function jCe(){return gw}var TGe=!1;function SGe(){TGe=!0}async function wGe(){return kGe?!1:(await _e,w.isAuthenticated)}function fw(e){return gw!==void 0||(gw=wGe().then(t=>t?Wi("https://client-api.arkoselabs.com/v2/api.js",null,void 0,void 0,!0).then(()=>EGe(e)).then(AGe).catch(n=>{throw SGe(),new Error("Failed to load Arkose library")}):Promise.resolve())),gw}function EGe(e){return new Promise(t=>{O.setupEnforcement=function(n){CGe(n,e).then(t)}})}async function CGe(e,t){let n=w1[b.data.userLocale]||"default";return e.setConfig({language:n,publicKey:DCe(),data:await(async()=>{let s;try{S.arkoseEncrypt&&(s=await zCe(t))}catch{}return s})()}),IGe(e),e}function AGe(e){let t=NCe.filter(n=>e[n]===void 0);if(t.length>0)throw new Error(`Missing arkose dependencies: ${t.join(", ")}`)}function IGe(e){O.arkoseEnforcement=e}function XV(){return O.arkoseEnforcement}A();function hw(e){return encodeURIComponent(e==="high-contrast"?` `:e==="dark"?` `:` `)}var bw=class{};function E1(e,t){return W` `}A();var A1="captcha-container",BCe,VCe,FCe=0,PGe=3,GCe=WCe(),C1=class{},e5=new He,UCe=e=>{KCe(e.token),BCe()},LGe={title:Pu,imgsrc:e=>`data:image/svg+xml,${hw(e)}`,message:ol,description:rA,buttonText:Mu,event:C1,type:"static"},RGe={title:VN,iframeContainerId:A1,type:"iframe"},OCe={mode:"inline",selector:"#"+A1,onCompleted:UCe,onSuppress(e){e.suppressed&&(UCe(e),qCe("suppressed",w.userId,P("lab-id")))},async onError(e){qCe("failed",w.userId,P("lab-id"));let t=await jGe(),n=XV();if(t&&FCe{OCe.onCompleted?.(n),e.onCaptchaCompleted?.()}}:{}}),t.run(),await GCe,t.reset()}catch{e.renderError?.()}return $Ge(),VCe}var w9n=d`

        ${VN}

        `;async function YCe(){let e=null,t=await QCe({renderCaptcha:()=>{e=HCe(RGe),e.show()},renderError:()=>{e=HCe(LGe),e.show()}});if(typeof t!="string"||!t||t.trim()==="")throw new Error("Captcha failed");return e&&e.hide(),t}function KCe(e){VCe=e}function MGe(){KCe("")}function WCe(){return new Promise(e=>{BCe=e})}function $Ge(){GCe=WCe()}function DGe(){return T.querySelector("#"+A1)}function zGe(){let e=DGe();e&&e.replaceChildren()}function NGe(e,t){e.setConfig({...e.getConfig(),...t})}function qCe(e,t,n){let s=n||null;ye({behavior:le.OTHER,actionType:we.OTHER,content:{event:"arkose-result",labInstanceId:s,userInstanceId:t,message:e}})}async function jGe(){try{return(await(await fetch("https://status.arkoselabs.com/api/v2/status.json")).json()).status.indicator==="none"}catch{return!1}}function HCe(e){let t=T.createElement("div");t.classList.add("modal-content","margin-none","width-full"),t.tabIndex=-1;let n=E1(e5,e).create();return Ou(e5,C1,()=>{location.reload()}),n.bind(e5,si),n.appendTo(t),new ve(t)}A();var OGe=new Promise(()=>{});A();Ve();async function oc(e,t){let n=await sp(t);if(!n||!e)return;let s=e.hasOwnProperty("parents");if(Ut){let r=i=>"/"+i.split("/").slice(2).join("/");e&&(e=Ki(e),e.url=r(e.url)),s&&e&&e.parents&&(e.parents[0].url=r(e.parents[0].url))}let o=P("page_kind");switch(o){case"appliedSkills":n.add({title:ps,url:`/${n.basePath}/credentials`},{title:pc,url:`/${n.basePath}/credentials/browse/`});break;case"appliedSkillsAssessment":n.add({title:ps,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:ps,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?ps:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Cu,url:S.previewCredentialsL1?`/${n.basePath}/credentials/browse/`:`/${n.basePath}/certifications/browse/`});break;case"certificationrenewal":n.add({title:S.previewCredentialsL1?ps:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Cu,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?ps:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Cu,url:S.previewCredentialsL1?`/${n.basePath}/credentials/browse/`:`/${n.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${n.basePath}${e?.url}/`},{title:uN,url:`/${n.basePath}${e?.url}/renew/`});break;case"examination":n.add({title:S.previewCredentialsL1?ps:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Cu,url:S.previewCredentialsL1?`/${n.basePath}/credentials/browse/`:`/${n.basePath}/certifications/browse/`});break;case"practiceAssessmentReport":n.add({title:S.previewCredentialsL1?ps:tl,url:S.previewCredentialsL1?`/${n.basePath}/credentials`:`/${n.basePath}/certifications`},{title:S.previewCredentialsL1?pc:Cu,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 xp=class{constructor(t,n=1){this.dateFormat=n;this.totalTimeLeft=0;this.isExpired=!1;this.endDate=t;let s=setInterval(()=>{this.setTotalTimeLeft(),this.isExpired=this.totalTimeLeft<=0,this.isExpired&&clearInterval(s)},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")}};U([V],xp.prototype,"endDate",2),U([V],xp.prototype,"totalTimeLeft",2),U([V],xp.prototype,"isExpired",2);var VGe=W` ${e=>e.displayFormat.indexOf("d")>-1?`${Oy.replace("{days}",e.days.toString())}`:null} ${e=>e.displayFormat.indexOf("h")>-1?`${xZ.replace("{hrs}",e.hrs.toString())}`:null} ${e=>e.displayFormat.indexOf("m")>-1?`${Np.replace("{numberOfMinutes}",e.mins.toString())}`:null} ${e=>e.displayFormat.indexOf("s")>-1?`${qoe.replace("{seconds}",e.seconds.toString())}`:null} `,GGe=W` ${mn(e=>[{value:e.hrs,label:Lu},{value:e.mins,label:Qy},{value:e.seconds,label:TA}],W` ${(e,t)=>t.parent.addLeadingZero(e.value)} ${e=>e.label} ${Re((e,t)=>!t.isLast,W` : `)} `,{positioning:!0})} `,JCe=W` ${Re(e=>e.totalTimeLeft>0,W` ${Re(e=>e.dateFormat===1,VGe)} ${Re(e=>e.dateFormat===0,GGe)} `)} `;A();A();var YGe={"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 kn(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"},s={"applied-skill":[],practice:[1,2],renewal:[0,1,2]},o={"applied-skill":"",practice:"practice",renewal:"renew"},r={0:"",1:"assessment",2:"results"},i={accommodationRequested:uxe(),"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"]??bS(),snapshotId:e.query?.snapshotId,"snapshot-version":_S(),themebranch:oe().themebranch},a=YGe[e.assessmentType][e.pageType][R.reviewFeatures?0:1],l={origin:ee.origin+"/",locale:ct.userLocale+"/",test:Ut?"test/training/":"",credentialType:t[e.assessmentType].replace(Ut&&["practice","renewal"].includes(e.assessmentType)?"credentials/":"","")+"/",credentialId:e.credentialId.replace(new RegExp("^"+n[e.assessmentType]+"."),"").replace(Ut?/\-test$/:"","")+"/",credentialPathname:e.credentialPathname?e.credentialPathname.replace(/^\/|\/$/g,"")+"/":null,subPath:s[e.assessmentType].includes(e.pageType)?o[e.assessmentType]+"/":"",pageType:r[e.pageType],query:a.length?"?"+ie(a.reduce((u,p)=>(u[p]=i[p],u),{})):""};return`${l.origin}${l.locale}${l.credentialPathname??l.test+l.credentialType+l.credentialId}${l.subPath}${l.pageType}${l.query}`}A();var n5=class{constructor(t,n,s,o,r){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=on.binding(n,this,s),this.templateBindingObserver=on.binding(o,this,r)}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)}},s5=class extends Wl{constructor(n,s){super();this.dataBinding=n;this.templateBinding=s;this.createPlaceholder=At.createBlockPlaceholder;this.isBindingVolatile=on.isVolatileBinding(n),this.isTemplateBindingVolatile=on.isVolatileBinding(s)}createBehavior(n){return new n5(n,this.dataBinding,this.isBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile)}};function rn(e,t){let n=typeof t=="function"?t:()=>t;return new s5(e,n)}A();function I1(e){let t=function(){let r=P("sourceContentUid");return r?r.split(".")[1]:e.pathname.split("/")[Ut?6:4]}(),n=e.searchParams.get("display-captcha"),s=e.searchParams.get("snapshotId"),o=e.searchParams.get("skip-verification");return{credentialId:t,displayCaptcha:n,skipverification:o,snapshotId:s}}function P1(e,t,n){let o=T.title.split("|").pop();return`${t.replace(n,e)} | ${o}`}var o5=W`

        ${e=>e.title}

        ${e=>e.msg}

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

        ${q9}

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

        `}function tAe(e){let t=e.isDisabled?"disabled":"",n=e.hasPrimaryButton?"button-primary":"";return W`
        ${rn(s=>s,e.template)}
        `}function KGe(e){let n=!(e.riskData?.appealStatus&&e.riskData?.appealStatus==="denied"),s=e.riskData?.appealStatus==="approved"?!1:!!(e.riskData?.appealStatus||e.isDisabled),o=X9;return{alertText:{approved:Kn(eG),new:tG,denied:mN,defaultMSg:o}[e.riskData?.userStatus==="NotAllowed"?e.riskData.appealStatus??"defaultMSg":"defaultMSg"],hasPrimaryButton:n,isDisabled:s}}function i5(e){let{alertText:t,hasPrimaryButton:n}=KGe({isDisabled:e.isDisabled,riskData:{appealStatus:e.riskData?.appealStatus,userStatus:e.riskData?.userStatus}});return tAe({buttonText:e.buttonText,template:W`
        ${At.createHTML(Kn(t))}
        `,hasPrimaryButton:n,isDisabled:!0})}A();var iAe={InvalidRequest:z9,LabError:N9,SubscriptionUnavailable:L9,NotAllowed:Kn(j9),InvalidCaptchaToken:rA,default:ju};var L1=class{},ty=class{},R1=class{},vw=class{};var l5={title:Pu,type:"static",imgsrc:e=>`data:image/svg+xml,${hw(e)}`,message:ol,description:P9,buttonText:Mu,event:ty};var aAe={title:R9,type:"static",imgsrc:e=>`data:image/svg+xml,${hw(e)}`,message:M9,description:$9,buttonText:D9,event:vw};var lAe="labStatusReporter",n7e="fullScreenMessageTitle",s7e="fullScreenProgressText",o7e="fullScreenProgressWrapper",VKn=`#${n7e}`,GKn=`#${o7e} > #${s7e}`,cAe="labclient.labondemand.com";var c5=(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))(c5||{}),u5=(n=>(n.labCouldNotBeLaunched="sorry, your lab could not be launched",n.launchError="launch error",n))(u5||{});function rc(e,t,n,s){switch(n&&e.updateProgress(n),t){case"labInitialized":e.start();break;case"successfullyLoaded":e.succeed();break;case"iframeFailure":case"serverBadRequest":e.fail(s);break;case"unauthorized":case"labNotFound":case"labPreviouslyScored":case"userNavigatedAway":e.cancel();break;case"reportLabProgress":case"labErrorFound":break}}var Wa=class extends He{constructor(n,s){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=s,this._services=n,this.launchLabScenario=new xo("Commerce.Docs.LearnProgress_AppliedSkill_LaunchLab",this.appliedSkillScenarioTimeout),this.onMessageHandler=o=>{if(o&&o.origin.startsWith("https://")&&o.origin.endsWith(cAe)&&o.data)try{let r=JSON.parse(o.data);r.event_id===lAe&&(this.updateLabConnected(r),this.reportScenarioHealth(r),this.reportUpdatedTelemetry(r))}catch{}},this.onBeforeUnloadHandler=o=>{o.preventDefault(),o.returnValue=""},this.onUnloadHandler=()=>{this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId)},this.userNavigatedAway=()=>{rc(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=M1(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=M1(0,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}catch{window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.publish(new bw)}}async expireTime(){try{let n=await this._services.getAppliedSkillAssessment(this.appliedSkillAssessment.labSession.labSessionId,this.captchaToken),s=Date.parse(this.appliedSkillAssessment.labSession.expiresAt),o=Date.parse(n.labSession.expiresAt);if(o<=s){window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let r=Ou(this,vw,this.submit.bind(this));this.iframe.classList.add("display-none"),document.documentElement.focus(),this.showModal(aAe).then(()=>{r(),this.submit()})}else{this.appliedSkillAssessment.labSession.expiresAt=n.labSession.expiresAt;let r=o-Date.now();setTimeout(this.expireTime.bind(this),r)}}catch{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let n=Ou(this,ty,()=>{ee.reload()});this.showModal(l5).then(s=>{n()})}}showModal(n){let s=document.createElement("div");s.classList.add("modal-content","margin-none","width-full"),s.tabIndex=-1;let o=E1(this,n).create();return o.bind(this,si),o.appendTo(s),this.modal=new ve(s),this.modal.show()}async getCaptchaToken(){return fw("Applied Skills"),await YCe().catch(n=>{throw this.viewState=3,n})}reportScenarioHealth(n){if(n.errors.length>0&&rc(this.launchLabScenario,"labErrorFound",n.errors.join(", ")),n.currentConnectionState===1)rc(this.launchLabScenario,"successfullyLoaded");else if(n.messageProgressTitle){let s=this.getScenarioHealthEventFromMessageTitle(n.messageProgressTitle);s&&(s==="iframeFailure"?rc(this.launchLabScenario,s,void 0,n.messageProgressTitle):rc(this.launchLabScenario,s,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 s=new Map([[u5,"iframeFailure"],[c5,"reportLabProgress"]]);for(let[o,r]of s)if(Object.values(o).some(i=>n.includes(i)))return r;return null}async initAppliedSkillSession(n){try{rc(this.launchLabScenario,"labInitialized");let s=!!n.snapshotId;if(this.appliedSkillAssessment=s?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 r=>{let i=r,a=await em(i);if(i.type==="BadRequestError"){if(a==="MissingCaptchaToken")return this.captchaToken=await this.getCaptchaToken(),this._services.createAppliedSkillAssessment(n.credentialId,this.captchaToken,n.skipverification);throw i.response.errorCode=a||void 0,i}throw r}),this.reportTelemetry({id:this.appliedSkillAssessment.labSession.labSessionId}),this.appliedSkillAssessment.labSession.scored==="Scored"||this.appliedSkillAssessment.labSession.scored==="ScoringInitiated"){rc(this.launchLabScenario,"labPreviouslyScored"),Promise.resolve().then(()=>{ee.href=M1(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),Qs.replaceState(null,"",o),oc({title:this.appliedSkillAssessment.appliedSkill.title??Kw,url:this.appliedSkillAssessment.appliedSkill.url||""},document.getElementById("article-header-breadcrumbs")||void 0),this.subscribe(L1,this.submit.bind(this)),this.subscribe(R1,this.cancel.bind(this)),document.title=P1(this.appliedSkillAssessment.appliedSkill.title??Kw,Kn(I9),"{appliedSkillTitle}"),this.checkEstimatedReadyAt(s)}catch(s){let o=s,r=await em(o)??o.response?.errorCode;if(o.type==="NotFoundError"){rc(this.launchLabScenario,"labNotFound");let i=new URL(ee.href);i.searchParams.delete("snapshotId"),Qs.replaceState(null,"",i),this.viewState=3;return}if(o.type==="UnauthorizedError"||r==="QuotaExceeded"||S.disabledAppliedSkills&&r==="AppliedSkillDisabled")rc(this.launchLabScenario,"unauthorized"),ee.href=M1(0,this.urlContext);else{rc(this.launchLabScenario,"serverBadRequest",void 0,s);let i=Ou(this,ty,()=>{ee.reload()}),a=Object.assign({},l5,{message:ol,description:iAe[r??"default"]});this.showModal(a).then(l=>{i()})}}}setTesting(){let s=Date.parse(this.appliedSkillAssessment.labSession.expiresAt)-Date.now();setTimeout(this.expireTime.bind(this),s),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))}};U([V],Wa.prototype,"appliedSkillAssessment",2),U([V],Wa.prototype,"urlContext",2),U([V],Wa.prototype,"viewState",2),U([V],Wa.prototype,"modal",2),U([V],Wa.prototype,"hasLabConnected",2),U([V],Wa.prototype,"captchaToken",2),U([V],Wa.prototype,"mostRecentLabStatusMessage",2),U([V],Wa.prototype,"subscription",2);function M1(e,t,n){return kn({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 r7e={loadingContext:{loadingType:!T.referrer||new URL(T.referrer).pathname.match(/.*(assessment|results)$/gi)?.length?0:1,navigation:{assessmentPageUrl:(e,t,n,s)=>kn({credentialId:e,assessmentType:"applied-skill",pageType:1,credentialPathname:n,query:{"display-captcha":s,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:ox,supertitle:Kn(W9),title:e=>e||KD},failed:{supertitle:Jw,title:e=>e||KD}},reportScores:{scoresTitle:B9,scoreType:0,scoreGuidanceUrl:"https://learn.microsoft.com/credentials/support/assessment-scoring-reports#understand-an-assessment-lab-score-report"},reportStudyGuide:{guideType:0,studyGuideCollectionFormTitle:Kn(Q9),studyGuideItemsTitle:G9}},errorContext:{reportError:e=>({NotFoundError:{title:la,msg:YD,primaryButton:{text:Ww,url:kn({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}},UnexpectedError:{title:Pu,msg:J9,primaryButton:{text:Ww,url:kn({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}}})}};var $1=W` ${Re(e=>e.viewConfig.loadingContext.loadingType===1,null)} ${Re(e=>e.viewConfig.loadingContext.loadingType===0,W`

        ${V9}

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

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

        ${e=>e.reportScores.passed?Ay:Cy}

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

        ${w7}${e=>cE.replace("{score}",e.reportScores.correctPercent.toString())}${e=>e.passed?Ay:Cy}

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

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

        ${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,gAe)}`)}
        `,{positioning:!0})}
        ${Re(e=>e.viewConfig.loadedContext.reportScores.scoreGuidanceUrl,W` `)}
        `;A();async function D1(e,t,n=HG){let s=document.createElement("div");s.classList.add("modal-content");let o=new ve(s),r=new Intl.DateTimeFormat(e).format(new Date).replace(/\//g,"-"),i=d` `;y(i,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 I$(c,t)).hasError||(o.hide(),VS("added"))},o.show()}var ny=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}};U([V],ny.prototype,"hasStudyGuideSummaries",2),U([V],ny.prototype,"studyGuide",2);var a7e=W`
        ${_7}
        ${Re(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,W` ${oE} `)} `,l7e=W`
        ${e=>e.type.toLowerCase()==="path"?Hf:So} ${e=>e.data.title} ${e=>Fs(e.data.durationInMinutes)}
        `,c7e=W`

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

        `,u7e=W`

        ${K9}

        ${U9}

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

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

        ${Re(e=>!e.reportStudyGuide.hasStudyGuideSummaries,a7e)} ${Re(e=>e.reportStudyGuide.hasStudyGuideSummaries,u7e)}
        `;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 xp(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}};U([V],Wn.prototype,"assessmentId",2),U([V],Wn.prototype,"credentialExpiresOn",2),U([V],Wn.prototype,"credentialIcon",2),U([V],Wn.prototype,"credentialId",2),U([V],Wn.prototype,"credentialName",2),U([V],Wn.prototype,"credentialUrl",2),U([V],Wn.prototype,"dateCountdown",2),U([V],Wn.prototype,"eligibleToRenewByDate",2),U([V],Wn.prototype,"isCurrentlyEligible",2),U([V],Wn.prototype,"isDisabled",2),U([V],Wn.prototype,"passed",2),U([V],Wn.prototype,"profileUrl",2),U([V],Wn.prototype,"retakeEligibleOn",2),U([V],Wn.prototype,"scoredOn",2),U([V],Wn.prototype,"shareableUrl",2),U([V],Wn.prototype,"titleDate",2),U([V],Wn.prototype,"riskData",2);var d7e=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` ${F9} `)} ${Re(e=>S.appliedSkillsShare,W`
        ${e=>S1("fast",{extraClasses:{paragraph:"display-inline-block margin-right-xxs font-size-sm has-text-centered-mobile ",link:"margin-right-xxs font-size-md"},sharingLinks:ZS(e.reportSummary?.shareableUrl||"",e.reportSummary?.credentialName??Kn(BD),{achievementCopyTitle:{overrideTitle:e.reportSummary?.credentialName??Kn(HD),isUnquoted:!e.reportSummary?.credentialName}})})} `)}
        `)}
        `,p7e=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")?i5({buttonText:oA,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))}

        `)} ${oA} `:W`${rn(t=>t.reportSummary.dateCountdown,r5(oA))}`}`,bAe=W`
        ${Re(e=>e.reportSummary?.passed,d7e)} ${Re(e=>!e.reportSummary?.passed,p7e)}
        `;var ta=class{constructor(t){this.viewState=2;(async()=>{let n=t.urlContext??I1(new URL(location.href));this.urlContext=n;let s;this.viewConfig=t.viewConfig;let o;try{s=await t.getAssessmentReport(n),this.reportSummary=new Wn(s),this.reportScores=new ac(s),this.reportStudyGuide=new ny(s),this.passed=s.passed,o=1}catch(r){let a=await em(r);if(a==="TimeoutError"||a==="ScoringTimeout"){location.reload();return}this.reportError=new yw({error:r,urlContext:n}),o=0}finally{this.viewState=o,t.afterActivated(s?{credentialName:s.credentialName,credentialUrl:s.credentialUrl}:null)}})()}};U([V],ta.prototype,"passed",2),U([V],ta.prototype,"reportError",2),U([V],ta.prototype,"reportScores",2),U([V],ta.prototype,"reportStudyGuide",2),U([V],ta.prototype,"reportSummary",2),U([V],ta.prototype,"urlContext",2),U([V],ta.prototype,"viewConfig",2),U([V],ta.prototype,"viewState",2);var _Ae=W` ${Re(e=>e.viewState===2,$1)} ${Re(e=>e.viewState===1,W`
        ${rn(e=>e,bAe)} ${rn(e=>e,fAe)} ${Re(e=>!e.passed,W`${rn(e=>e,hAe)}`)}
        `)} ${Re(e=>e.viewState===0,mAe)} `;function vAe(){if(document.querySelectorAll("h1").length>1){let t=document.querySelector("[data-main-column] div:not(.content)>h1");t&&t.remove()}}var z1=class{constructor(t){this.sessionId=wj(t.sessionId)}};var p5={async createSession(e){if(!S.assessmentMergerLearnAssessment)return _u.createSession(e);let t=ie({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"}),r=await M(o);if(me(r),r.ok)return await r.json();throw r.status===400?new Oe(r,"BadRequestError"):r.status===401?new Oe(r,"UnauthorizedError"):r.status===404?new Oe(r,"NotFoundError"):new Oe(r,"UnexpectedError")},async getSessionAnswerSummary(e){if(!S.assessmentMergerLearnAssessment)return _u.getSessionAnswerSummary();let t=`${$.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result/answers`,s=J(t,{method:"GET"}),o=await M(s);if(me(o),o.ok)return await o.json();throw o.status===400?new Oe(o,"BadRequestError"):o.status===401?new Oe(o,"UnauthorizedError"):o.status===404?new Oe(o,"NotFoundError"):new Oe(o,"UnexpectedError")},async getPreviousAttemptsByParentId(e){if(!S.assessmentMergerLearnAssessment)return _u.getPreviousAttemptsByParentId();let t=`${$.learnAssessment}/rendering/assessments/linkedcontent/${e.parentId}/sessions/attempts`,s=J(t,{method:"GET"}),o=await M(s);if(me(o),o.ok)return await o.json();throw new Oe(o,"UnexpectedError")},async getRenewalEligibility(){if(!S.assessmentMergerLearnAssessment)return _u.getRenewalEligibility()},async getSessionResult(e){if(!S.assessmentMergerLearnAssessment)return _u.getSessionResult();let t=`${$.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result`,s=J(t,{method:"GET"}),o=await M(s);if(me(o),o.ok)return await o.json();throw o.status===400?new Oe(o,"BadRequestError"):o.status===401?new Oe(o,"UnauthorizedError"):o.status===404?new Oe(o,"NotFoundError"):new Oe(o,"UnexpectedError")},async submitSession(e){if(!S.assessmentMergerLearnAssessment)return _u.submitSession();let t=`${$.learnAssessment}/rendering/assessments/sessions/${e.sessionId}`,n={method:"PUT",body:JSON.stringify(e.userSelections)},s=J(t,n),o=await M(s);if(me(o),o.ok)return await o.json();throw o.status===400?new Oe(o,"BadRequestError"):o.status===401?new Oe(o,"UnauthorizedError"):o.status===404?new Oe(o,"NotFoundError"):new Oe(o,"UnexpectedError")}};var DXn=R.supportLevel==="production"&&R.reviewFeatures?"include":void 0;var yAe=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 s=`${$.learn.skillAssessment}/practice/assessments/${e}/sessions/${t}/result/answers?${ie({locale:n})}`,r=J(s,{method:"GET",credentials:"include",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"}},!0),i=await M(r);if(me(i),i.ok)return await i.json();throw new Error(`get practice answer summary api responded with ${i.status} ${i.statusText}`)}return new LM(await p5.getSessionAnswerSummary(new z1({sessionId:t})),n).items};A();A();A();Ve();A();async function kAe(){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 TAe(){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 EAe(){await Te,P("req_accommodation")==="true"&&h7e(),P("org_reporting")==="true"&&await b7e()}function h7e(){let e=document.getElementById("extend-time");if(!e)return;let{certificationUrl:t}=oe(),n=e.firstElementChild.firstElementChild;n.href=`${t}&accommodationRequested=true`}async function b7e(){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 s,o=oe().signInRedirect;if(w.userType==="standard")return o==="true"&&(Ht({signInRedirect:null},"replaceState"),N1(null,wAe)),SAe("msa-error",wAe,e,n);try{s=await TAe()}catch{return SAe("error",AAe,e,n)}if(o==="true"&&T7e(s),s)return k7e(s,e,n);let r=d``;y(r,e)}else{let s=PAe(),o=d``;y(o,e)}}async function CAe(){let e=document.createElement("div"),t=new ve(e);return y(_7e(t),e),await t.show()}function _7e(e){let t=d`

        ${j(ZX)}

        `,n=JX,s=d`
        `;return xw(n,t,s)}async function v7e(e){y7e();try{let t=await kAe();ee.href=t.nextStepUrl}catch{N1(e,AAe)}}function y7e(){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=WX,e.setAttribute("disabled",""))}async function N1(e,t){return(async s=>{e?e.pushContent(s):(e=new ve(s),await e.show())})(t()),await e.show()}function SAe(e,t,n,s){let o=d``;y(o,n),document.getElementById(e)?.addEventListener("click",()=>N1(null,t))}function AAe(){let e=document.createElement("div"),t=d`

        ${j(GX)}

        `,n=VX,s=d` `;return y(xw(n,t,s),e),e}function wAe(){let e=PAe(),t=document.createElement("div"),n=d`

        ${j(tee)}

        `,s=eee,o=d` `;return y(xw(s,n,o),t),t}async function IAe(e){let t=document.createElement("div"),n=new ve(t);return y(x7e(e),t),await n.show()}function x7e(e){let t=d`

        ${j(YX)}

        `,n=QX,s=d` ${nee} `;return xw(n,t,s)}function k7e(e,t,n){let s=e.status==="Accepted",o=e.nextStepUrl;if(s){let r=d``;y(r,t)}else{let r=d`${n}`;y(r,t)}}function T7e(e){let t=e&&e.status==="Accepted",n=e&&e.status==="Pending",s=e&&e.nextStepUrl;return Ht({signInRedirect:null},"replaceState"),t?IAe(s):n?ee.href=e.nextStepUrl:CAe()}function PAe(){return ee.search?`${ee.pathname}${ee.search}&signInRedirect=true`:`${ee.pathname}?signInRedirect=true`}function xw(e,t,n){return d` `}A();Wp();A();async function m5(e,t){let n=P("sourceContentUid"),s=t.searchParams.get("assessment-type"),o=await async function(){let l,c=s==="practice";if(n)try{l=(await ut.getListsItems([n]))[0]?.[c?"practiceAssessmentUid":"assessmentId"]}catch{}return l??t.searchParams.get("assessment-id")??t.searchParams.get("assessmentId")??null}(),r=function(){return n?n.split(".")[1]:!R.reviewFeatures||!Ut?location.href.replace(`${location.origin}/${e}/credentials/certifications/`,"").split("/")[0]:t.searchParams.get("certification-id")}(),i=t.searchParams.get("practice-assessment-type"),a=bS();return{assessmentId:o,certificationId:r,assessmentType:s,practiceAssessmentType:i,skipVerification:a,isPreview:a==="true",omitScoring:dxe(),snapshotVersion:_S(),showAllQuestions:cxe()}}A();A();A();A();A();A();var _rs={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 Ors=new URL($.auth.partner).pathname;A();function $Ae(){return d`
        ${Oie}
        • ${qie}
        • ${Hie}
        • ${Bie}
        `}var F7e={qna:{contextualCard:$Ae(),cancelRegistrationMessage:String(Vie),isEnabled:P("page_kind")!=="register"}},Cis=oe();A();var kw=class{constructor(t,n){this.question=t;this.questionNumber=n}},Tw=class{},mf=class{constructor(t){this.questionResponses=t}},Sw=class{};var zAe=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})}
        `,sy=class{constructor(t){this.isSelected=!1;this.text=t.text,this.id=t.id}};U([V],sy.prototype,"id",2),U([V],sy.prototype,"text",2),U([V],sy.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 sy(n)),this.manualId=t.manualId}validate(){return this.choices.reduce((t,n)=>t||n.isSelected,!1)}};U([V],gf.prototype,"id",2),U([V],gf.prototype,"text",2),U([V],gf.prototype,"description",2),U([V],gf.prototype,"choices",2);var ku=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)}))}};U([V],ku.prototype,"uid",2),U([V],ku.prototype,"questionType",2),U([V],ku.prototype,"scenarioTitle",2),U([V],ku.prototype,"scenarioDescription",2),U([V],ku.prototype,"choices",2),U([V],ku.prototype,"id",2);function j1(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 NAe=W`
        ${r7}
        ${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||""}>
        `,oy=class{constructor(t){this.isSelected=!1;this.text=t}};U([V],oy.prototype,"id",2),U([V],oy.prototype,"text",2),U([V],oy.prototype,"isSelected",2),U([V],oy.prototype,"isCorrect",2);var ui=class{constructor(t,n){this.choices=[];this.displayAnswer=!1;this.question=n,this.choices=this.question.choices.map(s=>({id:s.id,text:s.text,isSelected:!1,isCorrect:s.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=j1(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)}]}};U([V],ui.prototype,"uid",2),U([V],ui.prototype,"questionTitle",2),U([V],ui.prototype,"questionDescription",2),U([V],ui.prototype,"questionType",2),U([V],ui.prototype,"scenarioTitle",2),U([V],ui.prototype,"scenarioDescription",2),U([V],ui.prototype,"choices",2),U([V],ui.prototype,"id",2),U([V],ui.prototype,"rationale",2),U([V],ui.prototype,"displayAnswer",2);var jAe=W`
        ${t7}
        ${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||""}>
        `,ry=class{constructor(t){this.isSelected=!1;this.text=t}};U([V],ry.prototype,"id",2),U([V],ry.prototype,"text",2),U([V],ry.prototype,"isSelected",2),U([V],ry.prototype,"isCorrect",2);var di=class{constructor(t,n){this.choices=[];this.displayAnswer=!1;this.question=n,this.choices=this.question.choices.map(s=>({id:s.id,text:s.text,isSelected:!1,isCorrect:s.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=j1(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)}]}};U([V],di.prototype,"uid",2),U([V],di.prototype,"questionTitle",2),U([V],di.prototype,"questionDescription",2),U([V],di.prototype,"questionType",2),U([V],di.prototype,"scenarioTitle",2),U([V],di.prototype,"scenarioDescription",2),U([V],di.prototype,"choices",2),U([V],di.prototype,"id",2),U([V],di.prototype,"rationale",2),U([V],di.prototype,"displayAnswer",2);var ff=class{constructor(t,n,s,o,r,i,a,l){this.assessmentId=t,this.certificationUid=n,this.skipVerification=o,this.snapshotVersion=r,this.error=a,this.retry=l||(()=>{}),this.reportPageUrl=kn({assessmentType:i,pageType:2,credentialId:this.error.detail.certificationUid,credentialPathname:s,query:{assessmentid:this.error.detail.assessmentId,snapshotId:this.error.detail.snapshotId}}),this.recertDetailsUrl=kn({assessmentType:i,pageType:0,credentialId:this.certificationUid,credentialPathname:s,query:{assessmentId:this.assessmentId}})}retryHandler(){this.retry()}};U([V],ff.prototype,"error",2),U([V],ff.prototype,"reportPageUrl",2),U([V],ff.prototype,"recertDetailsUrl",2);var FAe=W`
         

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

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

        ${u7}

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

        ${m7}

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

        ${l7}

        `)}
        `;var UAe=W`

        ${Gt}

        ....
        `;var g5=class{constructor(){this.fileIsDirty=!1}static get admin(){return this._instance||(this._instance=new this)}},OAe=g5.admin;OAe.fileIsDirty=!1;function Q7e(e,...t){let n=new URLSearchParams;for(let s of t){let o=e.searchParams.get(s);o!==null&&n.set(s,o)}return n}function iy(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 s=new URL(ee.href),o=Q7e(s,"branch","themebranch","branchFallbackFrom","pr"),r=o.toString()!==""?"?"+o.toString():"",i=`/${b.data.userLocale}/admin/`+n(e,t)+r;return new URL(i,s)}A();var Y7e=W`

        ${g7}

        00 : 00 : 00
        `,K7e=d` `,qAe=document.createElement("div"),HAe=new ve(qAe),W7e=()=>{y(K7e,qAe)},J7e=()=>HAe.hide(),Z7e=()=>{document.querySelector(".modal-background").classList.remove("modal-close")},X7e=e=>{let{timeRemaining:t}=oe(),n=parseInt(t);return isNaN(n)?e:n},eQe=500,F1=class{constructor(){this.countdownTimerReference=null}clearTimeout(){this.countdownTimerReference&&clearTimeout(this.countdownTimerReference)}};U([V],F1.prototype,"countdownTimerReference",2);var f5=(e,t,n,s)=>{let o=e,r=Math.floor(o/1e3%60),i=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=i.toString().padStart(2,"0"),p.textContent=r.toString().padStart(2,"0")}if(o<=0){let c=document.getElementById("next-button");return c.disabled!==null&&(c.disabled=!0),W7e(),HAe.show(),document.getElementById("see-results-button").addEventListener("click",()=>{t.publish(new Sw),J7e()}),Z7e()}else return s.countdownTimerReference=setTimeout(f5,eQe,Math.max(n-Date.now(),0),t,n,s)},lc=class{constructor(t,n,s=lt,o=!1,r=!1,i="false",a="preview"){this.bus=s;this.omitScoring=o;this.isPreview=r;this.showAllQuestions=i;this.snapshotVersion=a;this.countdownTimerReference=new F1;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(),Pr.goto(t,"replaceState")};this.title=t,this.service=n,this.numberOfScenarios=this.service.questionnaire.count,this.timer=this.service.snapshot.timer,this.bus.subscribe(kw,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:[]});Pr.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",s=Ewe,o={id:"renewal-assessment-platform-api-link",url:Cwe,text:QG},r=new Date(Date.parse(this.service.snapshot.temporaryPreviewExpiresAt));tn(GG?.replace("{temporaryPreviewExpiresAt}",r.toString()),o,t,n,s)}if(this.timer!==null&&this.timer!==void 0){let t=this.timer*1e3*60;if(R.supportLevel==="production"){let n=Date.now()+t;f5(t,this.bus,n,this.countdownTimerReference)}else{let n=X7e(t),s=Date.now()+n;f5(n,this.bus,s,this.countdownTimerReference)}}}updateScenario(t,n){let[s,o,r]=t.fullyQualifiedId.split(".");this.questionnaireId=s,this.questionSetId=o,this.questionId=r,this.currentScenario=t,this.currentScenarioNumber=n,this.form&&this.form.focus()}next(){this.bus.publish(new Tw)}checkUserAnswer(){if(this.form.checkValidity()){this.currentScenario.checkUserAnswer();return}this.form.reportValidity()}};U([V],lc.prototype,"numberOfScenarios",2),U([V],lc.prototype,"currentScenarioNumber",2),U([V],lc.prototype,"currentScenario",2),U([V],lc.prototype,"title",2),U([V],lc.prototype,"timer",2),U([V],lc.prototype,"countdownTimerReference",2);var BAe=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?Y7e:""}
        ${Re(e=>e.isPreview,W` (${e=>e.currentScenario.manualId||e.currentScenario.uid}) `)}
        ${rn(e=>e.currentScenario,e=>tQe(e.currentScenario))}
        ${Re(e=>e.options.showcheckAnswer,W` `)}
        `;function tQe(e){let t={SingleSelect:jAe,MultiSelect:NAe,Matrix:zAe},n=e.questionType.charAt(0).toUpperCase()+e.questionType.slice(1);return t[n]}function nQe(e){return e.currentScenarioNumber===e.numberOfScenarios?e.isPreview&&(e.omitScoring||e.snapshotVersion==="preview")?u9:zn:i7}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 VAe=W`
         

        ${a7}

        `;var ay=class{constructor(t,n){this.scoredSnapshot=t,this.resultsUrl=n}};U([V],ay.prototype,"scoredSnapshot",2),U([V],ay.prototype,"resultsUrl",2);var GAe=W` `;var U1=class extends He{constructor(n,s,o,r,i,a=lt,l=!1,c=!1){super();this.service=n;this.assessmentId=s;this.skipVerification=o;this.showAllQuestions=r;this.snapshotVersion=i;this.bus=a;this.omitScoring=l;this.isPreview=c;this.viewState="Loading";this.publish(new Lg)}async initializeAssessment(){let n=await m5(b.data.userLocale,new URL(location.href));try{await this.service.initSnapshot()}catch(s){QAe(s,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 s=>{this.setScoring();try{await this.service.scoreSnapshot(s.questionResponses)&&this.service.type==="renewal"?this.setSuccess(this.service.scoredSnapshot,kn({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 Yg){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(s.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,s){this.model=new ay(n,s);try{await Promise.all([KT("/en-us/media/learn/certification/renew/fireworks.png?branch=main"),KT("/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main")])}finally{this.viewState="Success",this.publish(new et)}}setError(n,s,o,r,i,a,l,c){this.model=new ff(n,s,o,r,i,a,l,c),this.viewState="Error",this.publish(new et)}setFailed(){this.viewState="Failed",this.publish(new et)}createTitle(n=el,s=T.title){let o=s.split("|").pop();return`${KG.replace("{certificationName}",n||el)} | ${o}`}};U([V],U1.prototype,"viewState",2);var sQe=W` ${Re(e=>e.viewState==="Loading",UAe)} ${Re(e=>e.viewState==="Testing",W` ${rn(e=>e.model,e=>BAe)}`)} ${Re(e=>e.viewState==="Scoring",VAe)} ${Re(e=>e.viewState==="Success",W` ${rn(e=>e.model,e=>GAe)}`)} ${Re(e=>e.viewState==="Error",W` ${rn(e=>e.model,e=>FAe)}`)} `;function QAe(e,t,n){if(e instanceof Yg){if(e.status===401){Un(location.href);return}t.snapshot?location.href=kn({assessmentType:"renewal",pageType:0,credentialId:t.snapshot&&t.snapshot.certificationUid||n,credentialPathname:t.contentSource.url,query:{assessmentId:t.snapshot&&t.snapshot.renewalAssessmentUid||""}}):location.href=er(T.referrer).href;return}else throw e}var oQe={loadingContext:{loadingType:1,navigation:{assessmentPageUrl:(e,t,n)=>kn({credentialId:e,assessmentType:"renewal",pageType:1,credentialPathname:n,query:{assessmentId:t}}),detailsPageUrl:(e,t,n)=>kn({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=>JD.replace("{certificationName}",e||el),imgSrc:e=>e||"/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",titleDate:e=>e,dateMsg:`${AK} ${b7}`,profilePageBtnTxt:ZD,supertitle:Jw},failed:{detailsPageBtnTxt:y7,eligibleTitle:k7,eligibleMsg:e=>T7.replace("{date}",Hi.format(e)),supertitle:v7,title:e=>e||el}},reportScores:{scoresTitle:aE,scoreType:1},reportStudyGuide:{guideType:1,studyGuideCollectionFormTitle:VG,studyGuideItemsTitle:rE}},errorContext:{reportError:e=>({NotFoundError:{title:la,msg:S7,primaryButton:{text:E7,url:`/${b.data.userLocale}/credentials`},secondaryButton:{text:ZD,url:dn(w.userName)}}})}};A();var hf="facet-search-input";async function O1(e,t,n=null,s=60*1e3){let o=new URL(e).href;if(t.length>100)return{question:"",answer:""};let r=J(o,{mode:"cors",method:"POST",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin",body:JSON.stringify({Query:t}),signal:n||void 0}),i,a=new Promise((l,c)=>{i=window.setTimeout(()=>{c(new Jt(new Response("Timeout",{status:408})))},s)});try{let l=await Promise.race([fetch(r),a]);if(l.ok){let c=(await l.text()).trim();return c?JSON.parse(c):{question:"",answer:""}}throw new Jt(l)}finally{i!==void 0&&clearTimeout(i)}}function q1(e,t,n,s,o,r,i,a){if(isNaN(e))return"";if(!t)return ute.replace("{numberOfResults}",$o(e));let c=i?e===1?Tre:kre:a?e===1?bre:hre:e===1?fre:gre,u=a?e===1?xre:yre:e===1?vre:_re,p=a?e===1?Are:Cre:e===1?Ere:wre,m;switch(n){case"Documentation":case"documentation":m=p.replace("{pivotCategory}",aa);break;case"Training":case"training":m=p.replace("{pivotCategory}",Ko);break;case"Credential":case"credential":m=p.replace("{pivotCategory}",ps);break;case"Reference":case"reference":m=p.replace("{pivotCategory}",Gs);break;case"Show":case"show":m=p.replace("{pivotCategory}",To);break;case"QnA":case"qna":m=p.replace("{pivotCategory}",Wy);break;default:m=s&&!o?u:c}return m.replace("{count}",$o(e)).replace("{searchPhrase}",r&&r.length!==0?rQe(t,r):t).replace("{scope}",s&&!o?s:"").replace(/\s\s+/g," ")}function rQe(e,t){t.reverse();let n=e;for(let{start:s,length:o,correction:r}of t)n=`${n.substring(0,s)}${r}${n.substring(s+o)}`;return n}function YAe(e){if(e.busy)return;let n=(e.facetGroups?.category&&e.facetGroups.category.facets.find(r=>r.isSelected))?.value||"",s=q1(e.resultsCount,e.terms,n,e.scope,e.scopeRemoved,e.spellingCorrection),o=e.resultsCount===0?Dn:s;e.getSelectedCategoryName()!=="Ai"&&ht(o,"assertive")}var Tu=class{constructor(t){this.type=t}};var bf=class extends He{constructor(n,s,o,r,i,a,l,c,u,p,m){super();this.label=n;this.count=s;this.name=o;this.value=r;this._isSelected=i;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 Tu(n))}};function KAe(e){let t={};for(let n in e){let s=n,o=e[s];t[s]=o.selected}return t}function WAe(e){let t={};for(let n in e){let o=e[n];t={...t,...o.expanded}}return t}function JAe(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 s=Ar({...t,initialValue:""});return s.addEventListener(Ga,()=>e()),s.addEventListener(Ga,Ske),s.addEventListener(TS,KM),s}function H1(e){document.getElementById(`facet-input-filter-${e}`).focus()}var ww=class{constructor(t){this.skip=t}},B1=class extends He{constructor(n,s,o=0){super();this._top=s;this.pageIndex=Math.floor(o/s),this.pageCount=Math.min(Math.max(this.pageIndex+2,10),Math.ceil(n/s))}get displayRange(){return{first:Math.max(this.pageIndex-2,0),last:Math.min(this.pageIndex+2,this.pageCount)}}async setPage(n){let s=n*this._top;this.publish(new ww(s))}};function iQe(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 Zv){let s=`filter-${n}`,o=n in e.filters;t[s]=o?e.filters[n]:null}return t.search=null,t}function na(e,t="pushState"){let n=iQe(e);Ht(n,t)}function ZAe(e){for(let t in e){let n=t,s=aQe(n);e[n]=e[n].map(o=>XAe(o,n,s)),n!=="category"&&n!=="date"&&(e[n]=e[n].sort(s))}return e}function aQe(e){return e==="years"?(t,n)=>n.displayName.localeCompare(t.displayName,b.data.userLocale):e==="levels"?(t,n)=>yV(t.value)-yV(n.value):(t,n)=>t.displayName.localeCompare(n.displayName,b.data.userLocale)}function XAe(e,t,n){return e.displayName||(e.displayName=jo?.[t]?.[e.value]||e.value),e.children&&e.children.length&&(e.children.map(s=>{XAe(s,t,n)}),e.children.length>1&&e.children.sort(n)),e}var h5=(e,t)=>t.hasChildren?t.children.reduce(h5,e)+1:e+1,V1=class extends He{constructor(n,s=""){super();this.key=n;this._filter=s;this._facets=[];this._totalFacets=0;this.name=Zv[n]}get facets(){return this._facets}set facets(n){this._facets=n,this._totalFacets=this._facets.reduce(h5,0),this.subscribeToChanges(this.facets)}get hasFilterInput(){return this.filterActive||this._totalFacets>14}get selected(){return this.facets.reduce(b5("isSelected"),{})}get expanded(){return this.facets.reduce(b5("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 s=n.target instanceof HTMLInputElement&&n.target;this.filter=s.value,this.notifyFacetChange("filter")}clearFilter(){this._filter="",H1(this.key),ht(Hz,"assertive"),this.notifyFacetChange("filter")}clearFacet(){ht(Hz,"assertive"),this.notifyFacetChange("facet_clear")}deselectAll(){this.facets.forEach(n=>n.deselect())}selectByValue(n){this.deselectAll();let s=this.facets.find(o=>o.value===n);s&&!s.isSelected&&s.select(),this.notifyFacetChange("select")}setFacets(n){this._facets=n,this._totalFacets=this._facets.reduce(h5,0),this.subscribeToChanges(this.facets)}subscribeToChanges(n){for(let s of n)s.subscribe(Tu,o=>this.notifyFacetChange(o.type)),s.children&&this.subscribeToChanges(s.children)}notifyFacetChange(n){this.publish(new Tu(n))}};function b5(e){return(t,n)=>{if(n[e])t[n.value]=!0;else if(n.hasChildren)return n.children.reduce(b5(e),t);return t}}function e0e(e){let t={};for(let n in e)if(n in Zv&&e[n]){let s=n,o=e[s].split(","),r=lQe(s,o);r&&(t[s]=r.reduce((i,a)=>(i[a]=!0,i),{}))}return t}function t0e(e){return e.expanded?e.expanded.split(",").reduce((n,s)=>(n[s]=!0,n),{}):{}}function n0e(e,t,n,s){let o={};for(let r in e){let i=r,a=new V1(i,s[i]);a.facets=e[i].map(s0e(i,1,t,n,a)),o[i]=a}if(Dt==="Search"){let r=t.category&&Object.keys(t.category).length>0?Object.keys(t.category)[0]:void 0;for(let i of QM)i!=="All"&&!o?.category.facets.find(a=>a.name===i)&&(o.category.facets=o.category.facets.concat(new bf("category",0,i,i,i===r,!1,2,o.category.facets.length+1,o.category)))}return o}function s0e(e,t,n,s,o,r){return(i,a)=>{let l=e in n&&i.value in n[e],c=i.value in s,u=new bf(e,i.count,i.displayName||i.name,i.value,l,c,t+1,a+1,o,r,i.avatarUrl);return i.children&&i.children.length&&(u.children=i.children.map(s0e(e,t+1,n,s,o,u))),u}}function o0e(e){let t={};for(let n in e){let s=n,o=e[s];t[s]=o.filter||""}return t}function r0e(e){let t={};for(let n in e)t[e[n]]=n;return t}function lQe(e,t){if(t.length===0)return[];if(e==="category"){if(t.length===1){let n=QM.find(s=>s.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(ai).find(s=>s.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return n&&n!=="all"?[n]:null}return[]}return t}function Ew(e){return Object.keys(e||{}).length===0}var G1=class extends He{constructor(n,s,o={}){super();this._top=s;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,s)=>{if(n==="selectedFacets"){let o=s;for(let r in o)Ew(o[r])&&delete o[r];s=o}if(!(n==="expandedFacets"||!s))return s};this.toUrl=n=>n.url;if(o.blankSlateEnabled&&(this._blankSlateEnabled=!0),o.taxonomyFacetLookups&&(this.taxonomyFacetLookups=o.taxonomyFacetLookups,this.taxonomyFacetLookupsReversed=r0e(this.taxonomyFacetLookups)),o.syntheticFacets&&(this._syntheticFacets=o.syntheticFacets),o.facetSort&&(this.facetSort=o.facetSort),o.queryStringTransformer){let r=o.queryStringTransformer(new URL(ee.href));Ht(r,"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 r=o.resultSortOptions.findIndex(i=>i?.default===!0);this._currentResultsSortOptionsIndex=r===-1?0:r}this._input=JAe(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 s in n)Ew(n[s])&&delete n[s];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 s in this._selectedFacets[n])if(s.toLowerCase()!=="all"){if(n==="category")return this.getSelectedCategoryName()===s;if(this._selectedFacets[n]?.[s])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 s=n.target.elements.namedItem(hf);s.value.length>100&&(s.value=s.value.trim().slice(0,100)),this.input.value=s.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 s;for(let c in n.selectedFacets.author){s=c;break}let[o,r,i,a]=await Promise.all([this.useCacheOrFetch(n),this.contentAreaNumberFetch(),Ej(s),this.fetchGuestSearchAnswerResult(n)]);this.maintainCachedResults(n,o),r&&this.maintainCachedResults(this.createSearchArgs(!1),r);let l=this.combineResponse(o,r,i);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(),YAe(this),wke(this.createSearchArgs(),this._results.map(this.toUrl),this._resultCount,this.getSelectedCategoryName(),this._scopeRemoved,this._spellingCorrection.length>0,!0,this._srcheng)}}handleFacetChange(n,s){switch(n){case"select":this._scenarioHealth&&this.startScenario(this._scenarioHealth.facetChange),this._selectedFacets=KAe(this.facetGroups),this._skip=0,this.fetch(),na(this.createSearchArgs());break;case"expand":this._expandedFacets=WAe(this.facetGroups),na(this.createSearchArgs()),this.notifyPropertyChanged();break;case"filter":this._filters=o0e(this.facetGroups),na(this.createSearchArgs(),"replaceState"),this.facetGroups[s].allFacetsFilteredOut&&ht(Dn,"assertive",2e3),this.notifyPropertyChanged();break;case"facet_clear":this.clearFacet(s),this.notifyPropertyChanged();break;default:break}}clearFacets(n=!1){this.hideCompletedEnabled&&(this._hideCompleted=!1);for(let s in this._selectedFacets)s==="category"&&n||(this._selectedFacets[s]={});this._facetsKnown=!1,this._skip=0,this.fetch(),na(this.createSearchArgs())}clearFacet(n){this._selectedFacets[n]={},this.fetch().then(()=>{H1(n)}),na(this.createSearchArgs())}selectMobileView(n,s){this._mobileMenuView=n,this.notifyPropertyChanged();let o=document.querySelector(".modal-content");if(s)this._selectedCategoryId=s;else if(this.selectedCategoryId){let r=o.querySelector(`#${this.selectedCategoryId}`);if(r){r.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 s in this._selectedFacets.category)return s;return""}return this.categoriesEnabled&&this.facetGroups.category.facets.find(s=>s.isSelected)?.name||""}async handleResultsSortOptionChange(n,s){if(this._currentResultsSortOptionsIndex===s){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=s,this.fetch()}queryCopilotQaCache(n){let s=this._copilotQaCache.find(o=>o.query===n);return s?s.response:null}addCopilotQaToCache(n,s){for(this._copilotQaCache=this._copilotQaCache.filter(o=>o.query!==n),this._copilotQaCache.push({query:n,response:s});this._copilotQaCache.length>this._maxCopilotQaCache;)this._copilotQaCache.shift()}queryDeepSearchCache(n){let s=this._deepSearchCache.find(o=>o.query===n);return s?s.response:null}addDeepSearchToCache(n,s){for(this._deepSearchCache=this._deepSearchCache.filter(o=>o.query!==n),this._deepSearchCache.push({query:n,response:s});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 xo(n),this._scenarioInstance.start()}setBlankData(){this._results=[],this._facetGroups={},this._resultCount=0,this.initialize()}initialize(){}_remapTaxonomyFacetNames(n,s){for(let o in n)if(o in s){let r=s[o],i=n[o];s[i]=r,delete s[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 s=JSON.stringify(n,this.argsStringifyFunc),o=this._cachedResponse.find(r=>r.args===s);return o?(await new Promise(r=>setTimeout(r,300)),o.response):this._fetch(n)}maintainCachedResults(n,s){let o=JSON.stringify(n,this.argsStringifyFunc);for(this._cachedResponse=this._cachedResponse.filter(r=>r.args!==o),this._cachedResponse.push({args:o,response:s});this._cachedResponse.length>this._maxCachedResponse;)this._cachedResponse.shift()}combineResponse(n,s,o){if(this.syntheticFacets&&this.dataSource!=="previousVersions"&&(n.facets={...n.facets,...this.syntheticFacets,author:o?[{type:"text",displayName:o.displayName||Oo,value:o.userId,avatarUrl:o.avatarUrl||gs(o.displayName,o.userId)}]:[]}),s&&n.facets?.category){if(this.getSelectedCategoryName()==="QnA"&&n.facets?.category.length===0){let r=s.facets?.category?.find(i=>i.value==="QnA");r&&(r.count=0)}for(let r of s.facets?.category??[]){let i=n.facets?.category.find(a=>a.value===r.value);i&&(r.count=i.count)}n.facets={...n.facets,category:s.facets.category},n.spellingCorrection?.length>0&&s.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()),abe()})}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 Ki({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(),s=n.terms||n.search||n.term;s&&(s.trim(),s.length>100&&(s=s.slice(0,100))),this.input.value=s||"",this._scope=n.scope||null,this._selectedFacets=e0e(n),this._expandedFacets=t0e(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(Tu,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 s=n.terms.trim(),o=this.queryCopilotQaCache(s);if(o)return this.copilotQA=o,o;let r=await O1($.searchAnswer.guest,n.terms,null,3*1e3),i={question:r.question??"",answer:r.answer??"",responseType:r.responseType};return this.addCopilotQaToCache(s,i),i}else return null}catch(s){if(s instanceof Jt)return null;throw s}}};A();Ve();A();A();var _5="facet-group";function v5(e,t){return`${_5}-body--${e}${t?"--mobile":""}`}function ly(e,t){return`${_5}-expander--${e}${t?"--mobile":""}`}function y5(e,t){return`${_5}-container--${e}${t?"--mobile":""}`}var Q1="deep-search-container",_f="desktop-filter-button",cy="desktop-filter-button-close",uy="search-filter-sidebar",x5="search-answer",Y1="search-answer-header",Cw="toggle-search-answer-button",Aw="search-answer-body",k5="search-answer-rating",T5="more-content-areas-popover";function dy(e,t,n){return e?S.enableNewSiteSearch?d` ${dQe(`${e.key}${t}`,e)} `:d`
        {let o=s.target,r;if(o.value==="All")r="All";else if(e.facets.find(i=>i.name===o.value&&i.count>0))r=o.value;else{r=e.facets.find(a=>a.isSelected)?.value||"All";let i=Array.from(document.querySelectorAll('input[type="radio"]')).find(a=>a.value===r);i&&(i.checked=!0);return}Array.from(document.querySelectorAll('input[type="checkbox"]')).forEach(i=>i.checked=!1),e.selectByValue(r)}} >
        ${uQe(`${e.key}${t}`,e.facets)}
        `:d``}var S5=(e,t,n,s,o=!1)=>{let r=o?"badge-primary":"";return d``};function cQe(e,t){let n=t.reduce((s,o)=>(o.isSelected&&(s.selection=!0),s.count+=o.count,s),{count:0,selection:!1});return S5(e,"All",oa,n.count,!n.selection)}function uQe(e,t){return Object.keys(df).map(o=>{let r=t.find(i=>i.value.toLowerCase()===o);return o==="all"?cQe(e,t):r?S5(e,r.value,df[o],r.count,r.isSelected):S5(e,o,df[o],0,!1)})}function dQe(e,t){let n=["ai","documentation","training","credential","qna","reference","show"],s=!1,o=0,r=n.map(a=>{let l=t.facets.find(c=>c.value.toLowerCase()===a);return s=s||!!l?.isSelected,o+=l?.count??0,i0e(e,l?.value??a,a,!!l?.isSelected,t,l?.count===0)}),i=d`${i0e(e,"all","all",!s,t,o===0)}`;return d`
        ${i}${r}
        ${pQe()}`}function i0e(e,t,n,s,o,r){if(n==="ai"&&(S.enableDeepSearch===!1||!w.isAuthenticated))return d``;let i=n==="ai"?!1:r&&!s&&t!=="all",a=df[n],l=n==="ai"&&s;return d` `}function pQe(){return d`
        `}function w5(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 K1(e){return!e.hasActiveFilter&&!e.hideCompleted?"":d` `}function E5(e){let t=S.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return e.facets?.length>0?d` `:""}A();function a0e(e,t){return!t&&!e.hasChildren?null:!e.hasChildren||e.hasSelectedChild||e.group.filterActive?d`
        `:d` `}A();function W1(e){return!e.hasFilterInput||!e.filterActive||e.hasVisibleChild?d``:d`

        ${Dn}.

        `}function C5(){return d`

        ${ZC}

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

        ${u0e(e)}
        `:""}function c0e(e){return e.hideCompletedEnabled?d`
      • ${u0e(e,!0)}
      • `:""}function u0e(e,t=!1){return d` `}A();function Iw(e,t){let n=Ar({input:{id:`facet-input-filter-${e.key}`,placeholder:GJ,isFullWidth:!0,type:"search",name:`facet-${e.name}`,biName:`facet-${e.name}${t?`-${t}`:""}`},getSuggestions:kke,getTitle:s=>s.displayName||Oo,itemTemplate:s=>d`
        ${s.displayName||Oo}
        ${mQe(s.reputationPoints)} ${$M(s.affiliations)}
        `,initialValue:e.facets.length>0?{displayName:e.facets[0].name,userId:e.facets[0].value}:null,noResultsTemplate:IX});return n.addEventListener(Ga,s=>{let o=s.detail.suggestion,r=new bf("author",1,o.displayName||Oo,o.userId,!0,!1,1,1,null,null,o.avatarUrl);e.setFacets([r]),e.selectByValue(o.userId)}),n.addEventListener(TS,KM),n.addEventListener("keyup",s=>{s.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 A5(e=!1){return S.enableNewSiteSearch?d`
        ${j(iN)}
        `:d`
        ${j(iN)}
        `}function mQe(e){return e>0?d` ${e} `:null}var gQe={title:!0,"is-3":!0,"margin-bottom-xxs":!0},Z1={title:!0,"is-5":!0,"margin-bottom-xs":!0};function fQe(e){return e.hasActiveFilter||e.hasActiveFacets?"":d`

        ${ZC}

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

        ${nl}

        ${K1(e)} ${l0e(e)}
        ${Dt==="Search"?"":fQe(e)} ${d0e(e)}
        `:""}function hQe(e){let t=Object.keys(e.facetGroups);return t=e.facetSort?t.sort(e.facetSort):t,t}function kp(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 hQe(e)}function m0e(e){let t=kp(e),n=t.length===1;return S.enableNewSiteSearch?d`
        ${t.length===0?d`
        ${C5()}
        `:d`${hn(t,s=>s,(s,o)=>X1(e.facetGroups[s],!0,!n,o===t.length-1))}`}
        `:d`${hn(t,s=>s,s=>X1(e.facetGroups[s],!0,!n))} `}function d0e(e){let t=kp(e),n=t.length===1;return S.enableNewSiteSearch?d`
        ${t.length===0?C5():d`${hn(t,s=>s,(s,o)=>X1(e.facetGroups[s],!1,!n,o===t.length-1))}`}
        `:d`${hn(t,s=>s,s=>X1(e.facetGroups[s],!1,!n))} `}function X1(e,t,n,s=!0){if(!e||Dt!=="Search"&&e.isEmpty)return d``;let o=`ms--facet-heading-${e.key}${t?"-mobile":""}`,r=n?`is-vertically-scrollable ${S.enableNewSiteSearch?"":"has-max-height-260"}`:"",i=!t||!n;return S.enableNewSiteSearch?d`
        ${bQe(e,t,i,o,s)} ${_Qe(e,t,r,i,o)}
        `:e.key==="category"?d`

        ${e.name}

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

        ${Fy}

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

        ${jp}

        ${A5()}
        ${E5(e)}
        ${Iw(e,t)}
        `:d`

        ${e.name}

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

        ${jp}

        ${A5(t)}
        ${E5(e)}
        `:d`

        ${a}

        `}function _Qe(e,t,n,s,o){let r=e.key,i=`display-flex flex-direction-column padding-inline-xxs padding-top-xxs ${r==="author"?"":"has-overflow-hidden"} ${s?"":"is-hidden"}`,a=d``;return r==="date"?a=mw(e,t?"mobile":"",o):r==="author"?a=d`
        ${Iw(e,t)}
        `:a=e.facets.length>0?g0e(e,n,o):f0e(e.key),d`
        ${a}
        `}function P5(e){if(!e.hasFilterInput&&!e.filter)return"";let t=BJ.replace("{facet}",pEe[e.key].toLowerCase()),n=Xe();return d`
        e.handleFilterInput(s))} placeholder=${t} .value=${e.filter} aria-describedby=${n} />
        `}function g0e(e,t,n){return d`${P5(e)}
        ${W1(e)}
          ${eD(e.facets,e.key)}
        `}function eD(e,t,n=!1,s=!1){let o=s||!!e.find(r=>r.hasChildren);return hn(e,r=>r.value,r=>vQe(r,t,e.length,o,n))}function f0e(e){let t=S.enableNewSiteSearch?"font-size-sm":"",n;switch(e){case"products":n=vX;break;case"tags":n=yX;break;default:n=Dn}return d`

        ${n}

        `}function vQe(e,t,n,s,o){let r=a0e(e,s),i=S.enableNewSiteSearch?"font-size-sm":"";return d`
      • ${r}
        ${e.hasChildren?d`
          ${eD(e.children,t,!1,s)}
        `:null}
      • `}function yQe(){return"column is-hidden-mobile is-two-fifths-tablet is-one-quarter-desktop"}function p0e(e,t,n=!1){let s=document.getElementById(v5(e,t));if(s&&(s.classList.toggle("is-hidden"),n)){let r=document.getElementById(y5(e,t));r&&r.classList.toggle("border-bottom")}let o=document.getElementById(ly(e,t));if(o){let r=o.getAttribute("aria-expanded")==="false";o.setAttribute("aria-expanded",r.toString())}}function h0e(e){return kp(e).length===0?d``:d` `}A();function Pw(e){return d`
        e.submit(t)} >
        ${e.input}
        `}A();function R5(e){return S.enableNewSiteSearch?kp(e).length===0?d``:d` `:d` `}function b0e(e){return e.mobileMenuView in e.facetGroups?e.facetGroups[e.mobileMenuView]?.name:S.enableNewSiteSearch?nl:CN}function tD(e){return e.mobileMenuView in e.facetGroups?`ms--${e.facetGroups[e.mobileMenuView]?.key||e.mobileMenuView}-mobile`:"ms--search-filters"}var py,L5;async function _0e(){py||(py=document.createElement("div")),L5||(L5=new ve(py)),await L5.show()}function x0e(e){return S.enableNewSiteSearch?d` `:d` `}function v0e(e){return S.enableNewSiteSearch?d` `:d`

        ${b0e(e)}

        ${xQe(e)} `}function xQe(e){return e.mobileMenuView==="top"?"":d`
        `}function kQe(e){switch(e.mobileMenuView){case"top":return TQe(e);default:return wQe(e.facetGroups[e.mobileMenuView])}}function TQe(e){return d`
          ${c0e(e)} ${SQe(e)}
        `}function SQe(e){let t=kp(e);return hn(t,n=>n,n=>{let s=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(s){let o=`ms--cat-btn-${n}`;return d`
      • `}return""})}function wQe(e){return e.key==="author"?d`
        ${Iw(e,!0)}
        `:e.key==="date"?d`
          ${mw(e,"")}
        `:d`
        ${P5(e)} ${W1(e)}
          ${e.key==="category"?dy(e,"mobile"):eD(e.facets,e.key,!0)}
        `}function y0e(e){return S.enableNewSiteSearch?d` `:d`
        `}function M5(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 EQe=()=>{let e=[];for(let t=0;t<30;t++)e.push(d``);return e},CQe=()=>{let e=[];for(let t=0;t<10;t++)e.push(d``);return e};function k0e(e,t){return S.enableNewSiteSearch?d`
          ${t}
        `:d`
          ${t}
        `}function z5(e,t,n,s){if(e.getSelectedCategoryName()==="Ai")return d`
        `;if((!e.results||e.results.length===0||e.resultsCount===0)&&!e.busy)return s(e);if(t==="grid"||t==="grid-large"){let o=e.busy?EQe():e.results.map((r,i)=>d`
      • ${n(r,i)}
      • `);return k0e(t,o)}else if(t==="list"){let o=e.busy?CQe():e.results.map((r,i)=>d`
      • ${n(r,i)}
      • `);return k0e(t,o)}else throw new Error("Invalid layout property specified in View Model config.")}A();function N5(e){return!e.rssEnabled||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai"?"":d` `}A();function S0e(e){let t=e.getSelectedCategoryName().toLowerCase(),n=w.isAuthenticated,s=!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&&(s||n)}function w0e(e,t){return d`
        ${sa(e,t)}
        `}function sa(e,t){if(t==="NotShown")return d``;let n=d``;return t==="Generating"?n=d`

        ${RA}

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

        ${mre}

        `:t==="ShowResult"&&(e.copilotQA?.answer?n=d` ${j(LQe(e.copilotQA.answer))} ${IQe(e)} `:n=d`

        ${MA}

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

        ${oh}

        `}function IQe(e){return d`
        ${Nu} ${j(rh)}
        `}function T0e(e,t,n,s){let o=document.getElementById(k5);o&&(o.innerHTML=` ${ih}`);try{let r=w.isAuthenticated?w.authenticationMode:"Anonymous";Eke(e,t??"",n??"",s,r)}catch{}}function PQe(e){let t=document.getElementById(Aw),n=document.getElementById(Cw);t&&n&&(e.showSearchAnswer=!e.showSearchAnswer,t.hidden=!t.hidden,n.textContent=t.hidden?UN:ix)}function LQe(e){let t=document.createElement("div");t.innerHTML=e;let n=t.getElementsByTagName("a");Array.from(n).forEach((o,r)=>{o.setAttribute("data-bi-name",`search-answer-ref-${r}`)});let s=t.getElementsByTagName("pre");return Array.from(s).forEach(o=>{o.classList.add("white-space-pre-wrap")}),t.innerHTML}async function E0e(e,t){if(S.enableModernSearchAnswer===!1)return;let n=e.resetAbortController("SearchAnswer"),s=e.getSelectedCategoryName(),o=document.getElementById(x5);if(o){if(s!=="All"&&s){y(sa(e,"NotShown"),o);return}await _e,w.isAuthenticated?await RQe(e,t,n,o):await MQe(e,t,n,o)}}async function RQe(e,t,n,s){if(y(sa(e,"Generating"),s),t==="VmBusy"){e.copilotQA=void 0;return}try{if(e.resultsCount===0){e.copilotQA=void 0,y(sa(e,"ShowResult"),s);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();y(sa(e,"ShowResult"),s),WM(e.terms,e.copilotQA.question,e.copilotQA.answer,w.authenticationMode,u,m,e.copilotQA.responseType,!0);return}let r=e.terms.trim(),i=new Date().toISOString(),a=await O1($.searchAnswer.user,r,n),l=new Date().toISOString(),c={answer:a?.answer??"",question:a?.question??"",responseType:a?.responseType};if(e.addCopilotQaToCache(r,c),n.aborted)return;e.copilotQA=c,y(sa(e,"ShowResult"),s),WM(e.terms,c.question,c.answer,w.authenticationMode,i,l,a.responseType,!0)}catch{y(sa(e,"Error"),s)}}async function MQe(e,t,n,s){if(t==="VmBusy"){e.copilotQA=void 0,n.aborted===!1&&y(sa(e,"NotShown"),s);return}try{if(e.resultsCount>0&&e.copilotQA?.answer&&e.copilotQA.answer.length>0){y(sa(e,"Generating"),s);let o=new Date().toISOString(),r=600+Math.random()*1e3;if(await new Promise(a=>setTimeout(a,r)),n.aborted)return;let i=new Date().toISOString();y(sa(e,"ShowResult"),s),WM(e.terms,e.copilotQA?.question||"",e.copilotQA?.answer||"","Anonymous",o,i,e.copilotQA?.responseType,!0)}else y(sa(e,"NotShown"),s)}catch{y(sa(e,"NotShown"),s)}}A();function j5(e,t="h2"){let s=(e.facetGroups?.category&&e.facetGroups.category.facets.find(r=>r.isSelected))?.value||"";if(s==="Ai")return d``;let o=e.busy?"":q1(e.resultsCount,e.terms,s,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 F5(e){return e.busy?"":e.scope&&!e.scopeRemoved&&e.resultsCount!==0&&e.spellingCorrection.length===0?d`

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

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

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

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

        `:""}function C0e(e){return e.busy?"":e.hasSortableResults?d`
        ${zre} ${e.resultsSortOptions[e.currentResultsSortOptionsIndex].label}
        `:""}A();function O5(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`
        ${hn(t,s=>s,s=>U5(e.facetGroups[s]?.facets||[]))}
        `}return d`${hn(t,n=>n,n=>U5(e.facetGroups[n]?.facets||[]))}`}function U5(e){return d`${e.map(t=>!t.isSelected&&!t.hasSelectedChild?d``:t.hasSelectedChild?d`${U5(t.children)}`:$Qe(t))}`}function $Qe(e){return d` `}function DQe(e){return e.label==="author"?d` `:null}function q5(e,t,n,s,o,r){if(e.blankSlateEnabled&&e.showBlankSlate)return e.disallowBlankSlate=!0,r(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`
        ${Pw(e)}
        ${dy(e.facetGroups?.category,"-new-search")}
        ${R5(e)}
        ${j5(e,o)} ${h0e(e)}
        ${F5(e)}
        ${O5(e)} ${S0e(e)?d`${w0e(e,"ShowResult")}`:d``} ${z5(e,t,n,s)}
        ${M5(e)}
        ${N5(e)}
        `}let i=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"";return d`
        ${I5(e)}
        ${Pw(e)} ${e.hasActiveFacets?d`
        ${zQe(e)}
        ${O5(e)}
        `:""}
        ${j5(e,o)} ${F5(e)} ${C0e(e)}
        ${t==="list"&&e.resultsCount!==0?d`
        `:""} ${z5(e,t,n,s)}
        ${M5(e)}
        ${N5(e)}
        `}function zQe(e){return d`
        ${R5(e)}
        ${K1(e)}
        `}A();function H5(e){return d`

        ${Dn}

        ${ah}

        `}async function pi(e,t){if(!t)throw new Error("Invalid container provided to Facet Search.");let{fetch:n,autocomplete:s,layout:o,hideCompleted:r,resultTemplate:i,noResultsTemplate:a,scoringProfile:l,rss:c,headingLevel:u,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankTemplate:_,fetchRequiresTerms:h,syntheticFacets:x,resultSortOptions:v,pageStateHandler:k}=e,I;switch(o){case"grid":I=30;break;case"grid-large":I=6;break;case"list":default:I=10}let E=new G1(n,I,{autocomplete:s,hideCompleted:r,scoringProfile:l,rss:c,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankSlateEnabled:!!_,fetchRequiresTerms:h,syntheticFacets:x,resultSortOptions:v,pageStateHandler:k});await E.initialized,y(q5(E,o,i,a||H5,u,_),t),await Do(t),E.handlePageState("VmReady"),E.subscribe(et,async()=>{y(q5(E,o,i,a||H5,u,_),t),await Do(t),py&&y(x0e(E),py)})}A();function I0e(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid-large",fetch:OQe,resultTemplate:HQe}}var jQe={orderBy:"last_modified desc"},FQe=Zw,UQe={"solution-idea":iG};async function OQe(e){let[t]=await Promise.all([A0e(e,!1),_e]);t.count===0&&([t]=await Promise.all([A0e(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 qQe(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["products","azure_categories"],$filter:Bs(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:jQe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function A0e(e,t){let n={...qQe(e),fuzzySearch:t},s=`${$.browse.architecture}?${ie(n,!0)}`;return M(J(s,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function HQe(e){let t=Xe();return d`

        ${UQe[e.content_type]||FQe}

        ${e.title}

        ${e.summary}

          ${ey(ea(e))}
        `}A();function P0e(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:VQe,resultTemplate:BQe,resultSortOptions:[{label:Af,orderBy:"title"},{label:If,orderBy:"title desc"},{label:Gf,orderBy:"last_modified desc"},{label:Qf,orderBy:"last_modified"}]}}function BQe(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``:"",s={"applied skills":sf,examination:jo.resource_type.examination,certification:jo.resource_type.certification,course:jo.resource_type.course}[e.credential_types[0]],o={"applied skills":e.title,examination:`${Bo} ${e.exam_display_name}: ${e.title}`,certification:e.title,course:e.title}[e.credential_types[0]],i=`credential-${e.uid?Fn(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`

        ${s}

        ${o}
        ${n}
        `}async function VQe(e){let[t]=await Promise.all([nD(e,!1),_e]);t.count===0&&([t]=await Promise.all([nD(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 GQe(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","subjects","credential_types"],$filter:Bs(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function nD(e,t){let n={...GQe(e),fuzzySearch:t},s=`${$.browse.credential}?${ie(n,!0)}`;return M(J(s,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}A();function L0e(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 R0e(e){switch(e){case"Reported":return IZ;case"Under Investigation":case"Investigating":return CZ;case"Confirmed":return EZ;case"Mitigated":return AZ;case"Resolved":return PZ;default:throw new Error(`Unexpected status - ${e}`)}}var QQe={orderBy:"last_updated_date desc"};function $0e(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:YQe,resultTemplate:ZQe,noResultsTemplate:WQe,queryStringTransformer:L0e}}async function YQe(e){let[t]=await Promise.all([M0e(e,!1),_e]);t.count===0&&([t]=await Promise.all([M0e(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 KQe(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Bs(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:QQe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function M0e(e,t){let n={...KQe(e),fuzzySearch:t},s=`${$.browse.windowsSafeguards}?${ie(n,!0)}`;return M(J(s,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function WQe(e){return e.terms&&e.terms.includes("ref:")?JQe():d`

        ${Dn}

        ${ah}

        `}function JQe(){return d`

        ${Lre}

        ${Pre}

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

        ${KE}

        ${e.title}
        ${e.status==="Resolved"?d` `:""} ${t}
        `}function XQe(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 z0e(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"list",fetch:tYe,resultTemplate:sYe}}var eYe={orderBy:"start desc"};async function tYe(e){let[t]=await Promise.all([D0e(e,!1),_e]);t.count===0&&([t]=await Promise.all([D0e(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 nYe(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Bs(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:eYe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function D0e(e,t){let n={...nYe(e),fuzzySearch:t},s=`${$.browse.lifecycle}?${ie(n,!0)}`;return M(J(s,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function sYe(e){let t=e.start,n=e.end&&e.end!=="0001-01-01T00:00:00"?e.end:"",s=Xe();return d`
        ${e.title}
        `}A();function j0e(){return{facetSort:(e,t)=>xn(e)-xn(t),layout:"grid",fetch:aYe,resultTemplate:rYe}}var oYe={orderBy:"last_modified desc"};function rYe(e){let t=Zo(new Date(e.last_modified),{year:"numeric",month:"2-digit",day:"2-digit"}),s=`sample-${e.uid?Fn(e.uid):Xe()}-title`;return d`
        ${e.title.replace(//g,">")}

        ${e.summary}

          ${ey(iYe(e))}
        `}function iYe(e){let t=[],n=e.display_products?.[0];n&&t.push(n);let s=e.display_languages?.[0];return s&&t.push(s),t}async function aYe(e){let[t]=await Promise.all([N0e(e,!1),_e]);t.count===0&&([t]=await Promise.all([N0e(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 lYe(e){return{branch:mt(),environment:null,locale:b.data.userLocale,terms:e.terms,facet:["languages","products"],$filter:Bs(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:oYe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function N0e(e,t){let n={...lYe(e),fuzzySearch:t},s=`${$.browse.sample}?${ie(n,!0)}`;return M(J(s,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}async function F0e(){let e=cYe();if(S.contentBrowse){await Te;let t=document.getElementById("content-browser-container");switch(e){case"sample":pi(j0e(),t);break;case"learn":Xv(),ow(),pi(wCe(),t);break;case"certification":pi(ACe(),t);break;case"credential":pi(P0e(),t);break;case"lifecycle":pi(z0e(),t);break;case"architecture":pi(I0e(),t);break;case"knownIssue":pi($0e(),t);break;case"show":{pi(LCe(),t);break}}}}function cYe(){let e=P("page_type"),t=P("page_kind");if(e==="browse"&&(t==="learn"||t==="sample"||t==="certification"||t==="credential"||t==="knownIssue"||t==="lifecycle"||t==="architecture"||t==="show"))return t;throw new Error(`The page configuration (page_kind: ${t} and page_type: ${e}) does not support browse functionality`)}A();async function U0e(){await Te;let e=document.getElementById("directory-search-form-replacement");JM(e,"directory-page-search-form","facet-search-input","directory")}function uYe(e){return 400<=e&&e<500}async function O0e(e,t=!0){let n=t?"?isAMS=true":"?isAMS=false",s=`${$.learn.episode}/${e}${n}`,r=J(s,{method:"GET"}),i=await M(r);if(me(i),i.ok)return await i.json();if(uYe(i.status))return null;throw new Error(`Unexpected response status ${i.status}`)}function Fo(e){return e?.textTracks?.length?[...e.textTracks].find(s=>s.mode==="showing")?.label||nE:nE}function q0e(e,t){let n=!1,s=e.video.volume===0||e.video.muted,o=e.video.currentTime,r=e.video.duration?o/e.video.duration:0,i,a,l,c,u,p=0,m=0,g,f=0,_,h=Fo(e.video),x=0,v=0,k=0;function I(Q){pxe({behaviorCode:Q,videoData:t,videoTimeSeconds:o,eventTime:c,startTime:i,freezeTime:f,reStartTime:a,secondsDiffSpeed:p,secondsNormalSpeed:m,languageCaptions:h,secondsDiffSpeedAfterReplay:v,secondsNormalSpeedAfterReplay:x,freezeTimeAfterReplay:k})}function E(){p=mxe(u,g,p,_,c),m=N4(u,g,m,_,c),v=gxe(u,g,v,_,c,a),x=fxe(u,g,x,_,c,a)}function H(){let Q=Date.now();c=Q,i=Q,o=e.video.currentTime,h=Fo(e.video),I(le.VIDEOSTART)}function F(){let Q=Date.now();c=Q,l=Q,o=e.video.currentTime,h=Fo(e.video),E(),I(le.VIDEOPAUSE),_=Q}function pe(){let Q=Date.now();c=Q,o=e.video.currentTime,h=Fo(e.video);let N=!!l,ne=l>a,be=as(Q-l);N&&(f+=be),ne&&(k+=be),I(le.VIDEOCONTINUE)}function Ce(){let Q=Date.now();c=Q,l=Q,o=e.video.currentTime,h=Fo(e.video),m=N4(u,g,m,_,c),a=Q,k=0,v=0,x=0,I(le.VIDEOREPLAY)}function ce(){c=Date.now(),o=e.video.currentTime,h=Fo(e.video),E(),I(le.VIDEOCOMPLETE)}function bt(){c=Date.now(),o=e.video.currentTime,h=Fo(e.video),E(),I(le.VIDEOMUTE)}function Rt(){c=Date.now(),o=e.video.currentTime,h=Fo(e.video),E(),I(le.VIDEOUNMUTE)}function Bt(){c=Date.now(),o=e.video.currentTime,h=Fo(e.video),E(),I(le.VIDEOERROR)}function fn(){c=Date.now(),o=e.video.currentTime,h=Fo(e.video),E(),I(le.VIDEOFULLSCREEN)}function Vt(){c=Date.now(),o=e.video.currentTime,h=Fo(e.video),E(),I(le.VIDEOUNFULLSCREEN)}function un(){let Q=Date.now();c=Q,o=e.video.currentTime,h=Fo(e.video),u=Q,g=e.video.playbackRate,E(),I(le.VIDEOPLAYERCLICK)}function Jn(){let Q=Date.now();c=Q,o=e.video.currentTime,h=Fo(e.video),E(),I(le.VIDEOBUFFERING),_=Q}function Mt(){c=Date.now(),o=e.video.currentTime,h=Fo(e.video),E(),I(le.VIDEOPLAYERLOAD)}function ze(){let Q=e.video.muted||e.video.volume===0;!s&&Q?bt():s&&!Q&&Rt(),s=Q}function D(){let Q=Date.now(),N=e.video.currentTime,ne=N/e.video.duration,be=r<.25&&ne>=.25,L=r<.5&&ne>=.5,Y=r<.75&&ne>=.75;(be||L||Y)&&(c=Q,o=N,h=Fo(e.video),E(),I(le.VIDEOCHECKPOINT)),c=Q,r=ne}document.addEventListener("onestreamplayerstart",()=>{n?e.video.currentTime<.5?Ce():pe():(n=!0,H())}),document.addEventListener("onestreamplayererror",Bt),e.video.addEventListener("pause",F),e.video.addEventListener("ended",ce),e.video.addEventListener("waiting",Jn),e.video.addEventListener("ratechange",un),e.video.addEventListener("loadstart",Mt),e.video.addEventListener("volumechange",ze),e.video.addEventListener("timeupdate",D),e.onFullscreenChange((Q,N)=>{N?fn():Vt()})}A();var sD,H0e,dYe="4.9.4",pYe=`/static/third-party/onestream-player/shaka/${dYe}/shaka-player.ui.min.js`,B5=!1,mYe="6.2.0",gYe=`/static/third-party/onestream-player/mux-js/${mYe}/mux.min.js`,V5=!1,fYe="0.4.0",hYe=`/static/third-party/onestream-player/onestream/0.4.0/one_stream_player-v${fYe}.min.js`,G5=!1,Q5={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 bYe(){return B5?Promise.resolve():Wi(pYe,null).then(()=>{B5=!0})}async function _Ye(){return V5?Promise.resolve():Wi(gYe,null).then(()=>{V5=!0})}async function vYe(){return G5?Promise.resolve():Wi(hYe,null,"one_stream_player").then(()=>{G5=!0})}var yYe=(e=!1)=>e?d`