"use strict";(()=>{var GLe=Object.create;var Iy=Object.defineProperty;var jG=Object.getOwnPropertyDescriptor;var QLe=Object.getOwnPropertyNames;var jLe=Object.getPrototypeOf,YLe=Object.prototype.hasOwnProperty;var YG=e=>{throw TypeError(e)};var WLe=(e,t,o)=>t in e?Iy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var pn=(e,t)=>()=>(e&&(t=e(e=0)),t);var WG=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Do=(e,t)=>{for(var o in t)Iy(e,o,{get:t[o],enumerable:!0})},KLe=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of QLe(t))!YLe.call(e,i)&&i!==o&&Iy(e,i,{get:()=>t[i],enumerable:!(n=jG(t,i))||n.enumerable});return e};var X1=(e,t,o)=>(o=e!=null?GLe(jLe(e)):{},KLe(t||!e||!e.__esModule?Iy(o,"default",{value:e,enumerable:!0}):o,e));var U=(e,t,o,n)=>{for(var i=n>1?void 0:n?jG(t,o):t,r=e.length-1,s;r>=0;r--)(s=e[r])&&(i=(n?s(t,o,i):s(i))||i);return n&&i&&Iy(t,o,i),i};var Wt=(e,t,o)=>WLe(e,typeof t!="symbol"?t+"":t,o),ez=(e,t,o)=>t.has(e)||YG("Cannot "+o);var ve=(e,t,o)=>(ez(e,t,"read from private field"),o?o.call(e):t.get(e)),Bt=(e,t,o)=>t.has(e)?YG("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),gt=(e,t,o,n)=>(ez(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o),Ip=(e,t,o)=>(ez(e,t,"access private method"),o);var Py=(e,t,o,n)=>({set _(i){gt(e,t,i,o)},get _(){return ve(e,t,n)}});var Tle,ci,Yp,_2=pn(()=>{Tle=new WeakMap,ci=e=>(...t)=>{let o=e(...t);return Tle.set(o,!0),o},Yp=e=>typeof e=="function"&&Tle.has(e)});var v2,J0,Wp,yh=pn(()=>{v2=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,J0=(e,t,o=null,n=null)=>{for(;t!==o;){let i=t.nextSibling;e.insertBefore(t,n),t=i}},Wp=(e,t,o=null)=>{for(;t!==o;){let n=t.nextSibling;e.removeChild(t),t=n}}});var Dr,Z0,y2=pn(()=>{Dr={},Z0={}});var sl,x2,Sle,xh,bx,wle,T2,zr,X0,Th=pn(()=>{sl=`{{lit-${String(Math.random()).slice(2)}}}`,x2=``,Sle=new RegExp(`${sl}|${x2}`),xh="$lit$",bx=class{constructor(t,o){this.parts=[],this.element=o;let n=[],i=[],r=document.createTreeWalker(o.content,133,null,!1),s=0,a=-1,l=0,{strings:c,values:{length:u}}=t;for(;l0;){let _=c[l],h=X0.exec(_)[2],y=h.toLowerCase()+xh,v=p.getAttribute(y);p.removeAttribute(y);let T=v.split(Sle);this.parts.push({type:"attribute",index:a,name:h,strings:T}),l+=T.length-1}}p.tagName==="TEMPLATE"&&(i.push(p),r.currentNode=p.content)}else if(p.nodeType===3){let m=p.data;if(m.indexOf(sl)>=0){let g=p.parentNode,f=m.split(Sle),_=f.length-1;for(let h=0;h<_;h++){let y,v=f[h];if(v==="")y=zr();else{let T=X0.exec(v);T!==null&&wle(T[2],xh)&&(v=v.slice(0,T.index)+T[1]+T[2].slice(0,-xh.length)+T[3]),y=document.createTextNode(v)}g.insertBefore(y,p),this.parts.push({type:"node",index:++a})}f[_]===""?(g.insertBefore(zr(),p),n.push(p)):p.data=f[_],l+=_}}else if(p.nodeType===8)if(p.data===sl){let m=p.parentNode;(p.previousSibling===null||a===s)&&(a++,m.insertBefore(zr(),p)),s=a,this.parts.push({type:"node",index:a}),p.nextSibling===null?p.data="":(n.push(p),a--),l++}else{let m=-1;for(;(m=p.data.indexOf(sl,m+1))!==-1;)this.parts.push({type:"node",index:-1}),l++}}for(let p of n)p.parentNode.removeChild(p)}},wle=(e,t)=>{let o=e.length-t.length;return o>=0&&e.slice(o)===t},T2=e=>e.index!==-1,zr=()=>document.createComment(""),X0=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/});var Sh,S2=pn(()=>{yh();Th();Sh=class{constructor(t,o,n){this.__parts=[],this.template=t,this.processor=o,this.options=n}update(t){let o=0;for(let n of this.__parts)n!==void 0&&n.setValue(t[o]),o++;for(let n of this.__parts)n!==void 0&&n.commit()}_clone(){let t=v2?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),o=[],n=this.template.parts,i=document.createTreeWalker(t,133,null,!1),r=0,s=0,a,l=i.nextNode();for(;r{yh();Th();Cle=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),mRe=` ${sl} `,al=class{constructor(t,o,n,i){this.strings=t,this.values=o,this.type=n,this.processor=i}getHTML(){let t=this.strings.length-1,o="",n=!1;for(let i=0;i-1||n)&&r.indexOf("-->",s+1)===-1;let a=X0.exec(r);a===null?o+=r+(n?mRe:x2):o+=r.substr(0,a.index)+a[1]+a[2]+xh+a[3]+sl}return o+=this.strings[t],o}getTemplateElement(){let t=document.createElement("template"),o=this.getHTML();return Cle!==void 0&&(o=Cle.createHTML(o)),t.innerHTML=o,t}}});var Qu,tk,wh,fa,er,Kp,_x,Gu,Ele,Jp,gRe,Ch=pn(()=>{_2();yh();y2();S2();ek();Th();Qu=e=>e===null||!(typeof e=="object"||typeof e=="function"),tk=e=>Array.isArray(e)||!!(e&&e[Symbol.iterator]),wh=class{constructor(t,o,n){this.dirty=!0,this.element=t,this.name=o,this.strings=n,this.parts=[];for(let i=0;i{try{let e={get capture(){return Ele=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{}})();Jp=class{constructor(t,o,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=o,this.eventContext=n,this.__boundHandleEvent=i=>this.handleEvent(i)}setValue(t){this.__pendingValue=t}commit(){for(;Yp(this.__pendingValue);){let r=this.__pendingValue;this.__pendingValue=Dr,r(this)}if(this.__pendingValue===Dr)return;let t=this.__pendingValue,o=this.value,n=t==null||o!=null&&(t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive),i=t!=null&&(o==null||n);n&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=gRe(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Dr}handleEvent(t){typeof this.value=="function"?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}},gRe=e=>e&&(Ele?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)});var ok,nk,w2=pn(()=>{Ch();ok=class{handleAttributeExpressions(t,o,n,i){let r=o[0];return r==="."?new _x(t,o.slice(1),n).parts:r==="@"?[new Jp(t,o.slice(1),i.eventContext)]:r==="?"?[new Kp(t,o.slice(1),n)]:new wh(t,o,n).parts}handleTextExpression(t){return new er(t)}},nk=new ok});function E2(e){let t=C2.get(e.type);t===void 0&&(t={stringsArray:new WeakMap,keyString:new Map},C2.set(e.type,t));let o=t.stringsArray.get(e.strings);if(o!==void 0)return o;let n=e.strings.join(sl);return o=t.keyString.get(n),o===void 0&&(o=new bx(e,e.getTemplateElement()),t.keyString.set(n,o)),t.stringsArray.set(e.strings,o),o}var C2,A2=pn(()=>{Th();C2=new Map});var k2,x,I2=pn(()=>{yh();Ch();A2();k2=new WeakMap,x=(e,t,o)=>{let n=k2.get(t);n===void 0&&(Wp(t,t.firstChild),k2.set(t,n=new er(Object.assign({templateFactory:E2},o))),n.appendInto(t)),n.setValue(e),n.commit()}});var d,We=pn(()=>{w2();ek();w2();_2();yh();y2();Ch();I2();A2();S2();ek();Th();typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");d=(e,...t)=>new al(e,t,"html",nk)});var P2,Ale,tr,kle=pn(()=>{We();P2=class{constructor(t){this.classes=new Set,this.changed=!1,this.element=t;let o=(t.getAttribute("class")||"").split(/\s+/);for(let n of o)this.classes.add(n)}add(t){this.classes.add(t),this.changed=!0}remove(t){this.classes.delete(t),this.changed=!0}commit(){if(this.changed){let t="";this.classes.forEach(o=>t+=o+" "),this.element.setAttribute("class",t)}}},Ale=new WeakMap,tr=ci(e=>t=>{if(!(t instanceof fa)||t instanceof Gu||t.committer.name!=="class"||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");let{committer:o}=t,{element:n}=o,i=Ale.get(t);i===void 0&&(n.setAttribute("class",o.strings.join(" ")),Ale.set(t,i=new Set));let r=n.classList||new P2(n);i.forEach(s=>{s in e||(r.remove(s),i.delete(s))});for(let s in e){let a=e[s];a!=i.has(s)&&(a?(r.add(s),i.add(s)):(r.remove(s),i.delete(s)))}typeof r.commit=="function"&&r.commit()})});var L2,Qe,Eh=pn(()=>{We();L2=new WeakMap,Qe=ci(e=>t=>{let o=L2.get(t);if(e===void 0&&t instanceof fa){if(o!==void 0||!L2.has(t)){let n=t.committer.name;t.committer.element.removeAttribute(n)}}else e!==o&&t.setValue(e);L2.set(t,e)})});var R2,Ile,Ple=pn(()=>{We();R2=ci(e=>t=>{let o;if(t instanceof Jp||t instanceof er)throw new Error("The `live` directive is not allowed on text or event bindings");if(t instanceof Kp)Ile(t.strings),o=t.element.hasAttribute(t.name),t.value=o;else{let{element:n,name:i,strings:r}=t.committer;if(Ile(r),t instanceof Gu){if(o=n[i],o===e)return}else t instanceof fa&&(o=n.getAttribute(i));if(o===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,Zp,M2,$2,Rle,Mle,$le,ho,Dle=pn(()=>{We();Lle=(e,t)=>{let o=e.startNode.parentNode,n=t===void 0?e.endNode:t.startNode,i=o.insertBefore(zr(),n);o.insertBefore(zr(),n);let r=new er(e.options);return r.insertAfterNode(i),r},Zp=(e,t)=>(e.setValue(t),e.commit(),e),M2=(e,t,o)=>{let n=e.startNode.parentNode,i=o?o.startNode:e.endNode,r=t.endNode.nextSibling;r!==i&&J0(n,t.startNode,r,i)},$2=e=>{Wp(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},Rle=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Mle=new WeakMap,$le=new WeakMap,ho=ci((e,t,o)=>{let n;return o===void 0?o=t:t!==void 0&&(n=t),i=>{if(!(i instanceof er))throw new Error("repeat can only be used in text bindings");let r=Mle.get(i)||[],s=$le.get(i)||[],a=[],l=[],c=[],u=0;for(let y of e)c[u]=n?n(y,u):u,l[u]=o(y,u),u++;let p,m,g=0,f=r.length-1,_=0,h=l.length-1;for(;g<=f&&_<=h;)if(r[g]===null)g++;else if(r[f]===null)f--;else if(s[g]===c[_])a[_]=Zp(r[g],l[_]),g++,_++;else if(s[f]===c[h])a[h]=Zp(r[f],l[h]),f--,h--;else if(s[g]===c[h])a[h]=Zp(r[g],l[h]),M2(i,r[g],a[h+1]),g++,h--;else if(s[f]===c[_])a[_]=Zp(r[f],l[_]),M2(i,r[f],r[g]),f--,_++;else if(p===void 0&&(p=Rle(c,_,h),m=Rle(s,g,f)),!p.has(s[g]))$2(r[g]),g++;else if(!p.has(s[f]))$2(r[f]),f--;else{let y=m.get(c[_]),v=y!==void 0?r[y]:null;if(v===null){let T=Lle(i,r[g]);Zp(T,l[_]),a[_]=T}else a[_]=Zp(v,l[_]),M2(i,v,r[g]),r[y]=null;_++}for(;_<=h;){let y=Lle(i,a[h+1]);Zp(y,l[_]),a[_++]=y}for(;g<=f;){let y=r[g++];y!==null&&$2(y)}Mle.set(i,a),$le.set(i,c)}})});var zle,N,Xp=pn(()=>{Ch();We();zle=new WeakMap,N=ci(e=>t=>{if(!(t instanceof er))throw new Error("unsafeHTML can only be used in text bindings");let o=zle.get(t);if(o!==void 0&&Qu(e)&&e===o.value&&t.value===o.fragment)return;let n=document.createElement("template");n.innerHTML=e;let i=document.importNode(n.content,!0);t.setValue(i),zle.set(t,{value:e,fragment:i})})});var Nle,Fle,In,qle=pn(()=>{Ch();We();Nle=new WeakMap,Fle=2147483647,In=ci((...e)=>t=>{let o=Nle.get(t);o===void 0&&(o={lastRenderedIndex:Fle,values:[]},Nle.set(t,o));let n=o.values,i=n.length;o.values=e;for(let r=0;ro.lastRenderedIndex);r++){let s=e[r];if(Qu(s)||typeof s.then!="function"){t.setValue(s),o.lastRenderedIndex=r;break}r{let l=o.values.indexOf(s);l>-1&&l{"use strict";We();kle();Eh();Ple();Dle();Xp();qle()});function Rg(e){CR[e.name]=e}function S3(e){if(!e)return null;let t=e.replace(/^azurecli/,"bash").replace(/^azurepowershell/,"powershell"),o;if(t=t.replace(/^(bash|http|powershell|lab-on-demand|msgraph)(?:-|$)/,(r,s)=>(o=s,"")),o===void 0)return null;let n=CR[o]?CR[o].activateButtonConfig:{name:"unknown",attributes:[],iconClass:""},i={name:o,flags:{isExternal:o==="lab-on-demand",requiresStructuredData:o==="http"},activateButtonConfig:n};return t=t.replace(/(\w+)$/g,(r,s)=>(i.flags[s]=!0,"")),i}function xbe(e){return Array.from(e.childNodes).map(t=>t.nodeName==="CODE"?t.getAttribute("data-interactive-mode"):null).pop()}function w3(e,t){let o=T3[e.name];return o||(o=T3[e.name]=CR[e.name].create()),t.firstElementChild!==o.element&&x(o.element,t),{element:o.element,setCode:(n,i)=>o.setCode(n,i),execute:()=>o.execute(),dispose:()=>{delete T3[e.name],o.dispose()}}}var CR,T3,Mg=pn(()=>{"use strict";k();CR={};T3={}});var s6=WG((i6,r6)=>{(function(e,t){typeof i6=="object"&&typeof r6<"u"?r6.exports=t():typeof define=="function"&&define.amd?define(t):e.Bottleneck=t()})(i6,function(){"use strict";var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t(Oe){return Oe&&Oe.default||Oe}var o=function(Oe,B,E={}){var Y,ie,de;for(Y in B)de=B[Y],E[Y]=(ie=Oe[Y])!=null?ie:de;return E},n=function(Oe,B,E={}){var Y,ie;for(Y in Oe)ie=Oe[Y],B[Y]!==void 0&&(E[Y]=ie);return E},i={load:o,overwrite:n},r;r=class{constructor(B,E){this.incr=B,this.decr=E,this._first=null,this._last=null,this.length=0}push(B){var E;this.length++,typeof this.incr=="function"&&this.incr(),E={value:B,prev:this._last,next:null},this._last!=null?(this._last.next=E,this._last=E):this._first=this._last=E}shift(){var B;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),B=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,B}first(){if(this._first!=null)return this._first.value}getArray(){var B,E,Y;for(B=this._first,Y=[];B!=null;)Y.push((E=B,B=B.next,E.value));return Y}forEachShift(B){var E;for(E=this.shift();E!=null;)B(E),E=this.shift()}debug(){var B,E,Y,ie,de;for(B=this._first,de=[];B!=null;)de.push((E=B,B=B.next,{value:E.value,prev:(Y=E.prev)!=null?Y.value:void 0,next:(ie=E.next)!=null?ie.value:void 0}));return de}};var s=r,a;a=class{constructor(B){if(this.instance=B,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw new Error("An Emitter already exists for this object");this.instance.on=(E,Y)=>this._addListener(E,"many",Y),this.instance.once=(E,Y)=>this._addListener(E,"once",Y),this.instance.removeAllListeners=(E=null)=>E!=null?delete this._events[E]:this._events={}}_addListener(B,E,Y){var ie;return(ie=this._events)[B]==null&&(ie[B]=[]),this._events[B].push({cb:Y,status:E}),this.instance}listenerCount(B){return this._events[B]!=null?this._events[B].length:0}async trigger(B,...E){var Y,ie;try{return B!=="debug"&&this.trigger("debug",`Event triggered: ${B}`,E),this._events[B]==null?void 0:(this._events[B]=this._events[B].filter(function(de){return de.status!=="none"}),ie=this._events[B].map(async de=>{var Ae,He;if(de.status!=="none"){de.status==="once"&&(de.status="none");try{return He=typeof de.cb=="function"?de.cb(...E):void 0,typeof He?.then=="function"?await He:He}catch(Yt){return Ae=Yt,this.trigger("error",Ae),null}}}),(await Promise.all(ie)).find(function(de){return de!=null}))}catch(de){return Y=de,this.trigger("error",Y),null}}};var l=a,c,u,p;c=s,u=l,p=class{constructor(B){var E;this.Events=new u(this),this._length=0,this._lists=function(){var Y,ie,de;for(de=[],E=Y=1,ie=B;1<=ie?Y<=ie:Y>=ie;E=1<=ie?++Y:--Y)de.push(new c(()=>this.incr(),()=>this.decr()));return de}.call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(B){return this._lists[B.options.priority].push(B)}queued(B){return B!=null?this._lists[B].length:this._length}shiftAll(B){return this._lists.forEach(function(E){return E.forEachShift(B)})}getFirst(B=this._lists){var E,Y,ie;for(E=0,Y=B.length;E0)return ie;return[]}shiftLastFrom(B){return this.getFirst(this._lists.slice(B).reverse()).shift()}};var m=p,g;g=class extends Error{};var f=g,_,h,y,v,T;v=10,h=5,T=i,_=f,y=class{constructor(B,E,Y,ie,de,Ae,He,Yt){this.task=B,this.args=E,this.rejectOnDrop=de,this.Events=Ae,this._states=He,this.Promise=Yt,this.options=T.load(Y,ie),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===ie.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((Qn,ai)=>{this._resolve=Qn,this._reject=ai}),this.retryCount=0}_sanitizePriority(B){var E;return E=~~B!==B?h:B,E<0?0:E>v-1?v-1:E}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:B,message:E="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(B??new _(E)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(B){var E;if(E=this._states.jobStatus(this.options.id),!(E===B||B==="DONE"&&E===null))throw new _(`Invalid job status ${E}, expected ${B}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(B,E){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:B,blocked:E})}doRun(){return this.retryCount===0?(this._assertStatus("QUEUED"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(B,E,Y,ie){var de,Ae,He;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),Ae={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",Ae);try{if(He=await(B!=null?B.schedule(this.options,this.task,...this.args):this.task(...this.args)),E())return this.doDone(Ae),await ie(this.options,Ae),this._assertStatus("DONE"),this._resolve(He)}catch(Yt){return de=Yt,this._onFailure(de,Ae,E,Y,ie)}}doExpire(B,E,Y){var ie,de;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),de={args:this.args,options:this.options,retryCount:this.retryCount},ie=new _(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(ie,de,B,E,Y)}async _onFailure(B,E,Y,ie,de){var Ae,He;if(Y())return Ae=await this.Events.trigger("failed",B,E),Ae!=null?(He=~~Ae,this.Events.trigger("retry",`Retrying ${this.options.id} after ${He} ms`,E),this.retryCount++,ie(He)):(this.doDone(E),await de(this.options,E),this._assertStatus("DONE"),this._reject(B))}doDone(B){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",B)}};var I=y,A,O,D;D=i,A=f,O=class{constructor(B,E,Y){this.instance=B,this.storeOptions=E,this.clientId=this.instance._randomIndex(),D.load(Y,Y,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var B;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(B=this.heartbeat=setInterval(()=>{var E,Y,ie,de,Ae;if(de=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&de>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=de,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&de>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:E,reservoirIncreaseMaximum:ie,reservoir:Ae}=this.storeOptions,this._lastReservoirIncrease=de,Y=ie!=null?Math.min(E,ie-Ae):E,Y>0))return this.storeOptions.reservoir+=Y,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?B.unref():void 0:clearInterval(this.heartbeat)}async __publish__(B){return await this.yieldLoop(),this.instance.Events.trigger("message",B.toString())}async __disconnect__(B){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(B=0){return new this.Promise(function(E,Y){return setTimeout(E,B)})}computePenalty(){var B;return(B=this.storeOptions.penalty)!=null?B:15*this.storeOptions.minTime||5e3}async __updateSettings__(B){return await this.yieldLoop(),D.overwrite(B,B,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(B){return await this.yieldLoop(),this._nextRequest+this.timeout=B}check(B,E){return this.conditionsCheck(B)&&this._nextRequest-E<=0}async __check__(B){var E;return await this.yieldLoop(),E=Date.now(),this.check(B,E)}async __register__(B,E,Y){var ie,de;return await this.yieldLoop(),ie=Date.now(),this.conditionsCheck(E)?(this._running+=E,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=E),de=Math.max(this._nextRequest-ie,0),this._nextRequest=ie+de+this.storeOptions.minTime,{success:!0,wait:de,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(B,E){var Y,ie,de;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&E>this.storeOptions.maxConcurrent)throw new A(`Impossible to add a job having a weight of ${E} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return ie=Date.now(),de=this.storeOptions.highWater!=null&&B===this.storeOptions.highWater&&!this.check(E,ie),Y=this.strategyIsBlock()&&(de||this.isBlocked(ie)),Y&&(this._unblockTime=ie+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:de,blocked:Y,strategy:this.storeOptions.strategy}}async __free__(B,E){return await this.yieldLoop(),this._running-=E,this._done+=E,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var le=O,ye,J;ye=f,J=class{constructor(B){this.status=B,this._jobs={},this.counts=this.status.map(function(){return 0})}next(B){var E,Y;if(E=this._jobs[B],Y=E+1,E!=null&&Y(B[this.status[Y]]=E,B),{})}};var Le=J,Ve,Ct;Ve=s,Ct=class{constructor(B,E){this.schedule=this.schedule.bind(this),this.name=B,this.Promise=E,this._running=0,this._queue=new Ve}isEmpty(){return this._queue.length===0}async _tryToRun(){var B,E,Y,ie,de,Ae,He;if(this._running<1&&this._queue.length>0)return this._running++,{task:He,args:B,resolve:de,reject:ie}=this._queue.shift(),E=await async function(){try{return Ae=await He(...B),function(){return de(Ae)}}catch(Yt){return Y=Yt,function(){return ie(Y)}}}(),this._running--,this._tryToRun(),E()}schedule(B,...E){var Y,ie,de;return de=ie=null,Y=new this.Promise(function(Ae,He){return de=Ae,ie=He}),this._queue.push({task:B,args:E,resolve:de,reject:ie}),this._tryToRun(),Y}};var oo=Ct,qt="2.19.5",ro={version:qt},dn=Object.freeze({version:qt,default:ro}),Lt=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),lo=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),j=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),X,q,re,fe,L,M;M=i,X=l,fe=Lt,re=lo,L=j,q=function(){class Oe{constructor(E={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=E,M.load(this.limiterOptions,this.defaults,this),this.Events=new X(this),this.instances={},this.Bottleneck=si,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new fe(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new re(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(E=""){var Y;return(Y=this.instances[E])!=null?Y:(()=>{var ie;return ie=this.instances[E]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${E}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",ie,E),ie})()}async deleteKey(E=""){var Y,ie;return ie=this.instances[E],this.connection&&(Y=await this.connection.__runCommand__(["del",...L.allKeys(`${this.id}-${E}`)])),ie!=null&&(delete this.instances[E],await ie.disconnect()),ie!=null||Y>0}limiters(){var E,Y,ie,de;Y=this.instances,ie=[];for(E in Y)de=Y[E],ie.push({key:E,limiter:de});return ie}keys(){return Object.keys(this.instances)}async clusterKeys(){var E,Y,ie,de,Ae,He,Yt,Qn,ai;if(this.connection==null)return this.Promise.resolve(this.keys());for(He=[],E=null,ai=`b_${this.id}-`.length,Y=9;E!==0;)for([Qn,ie]=await this.connection.__runCommand__(["scan",E??0,"match",`b_${this.id}-*_settings`,"count",1e4]),E=~~Qn,de=0,Yt=ie.length;de{var Y,ie,de,Ae,He,Yt;He=Date.now(),de=this.instances,Ae=[];for(ie in de){Yt=de[ie];try{await Yt._store.__groupCheck__(He)?Ae.push(this.deleteKey(ie)):Ae.push(void 0)}catch(Qn){Y=Qn,Ae.push(Yt.Events.trigger("error",Y))}}return Ae},this.timeout/2)).unref=="function"?E.unref():void 0}updateSettings(E={}){if(M.overwrite(E,this.defaults,this),M.overwrite(E,E,this.limiterOptions),E.timeout!=null)return this._startAutoCleanup()}disconnect(E=!0){var Y;if(!this.sharedConnection)return(Y=this.connection)!=null?Y.disconnect(E):void 0}}return Oe.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},Oe}.call(e);var Z=q,ae,Pe,Je;Je=i,Pe=l,ae=function(){class Oe{constructor(E={}){this.options=E,Je.load(this.options,this.defaults,this),this.Events=new Pe(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((E,Y)=>this._resolve=E)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(E){var Y;return this._arr.push(E),Y=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),Y}}return Oe.prototype.defaults={maxTime:null,maxSize:null,Promise},Oe}.call(e);var st=ae,no=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),$o=t(dn),co,V,ue,F,ee,se,ke,Ie,Ue,qe,yt,wi=[].splice;se=10,V=5,yt=i,ke=m,F=I,ee=le,Ie=no,ue=l,Ue=Le,qe=oo,co=function(){class Oe{constructor(E={},...Y){var ie,de;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(E,Y),yt.load(E,this.instanceDefaults,this),this._queues=new ke(se),this._scheduled={},this._states=new Ue(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new ue(this),this._submitLock=new qe("submit",this.Promise),this._registerLock=new qe("register",this.Promise),de=yt.load(E,this.storeDefaults,{}),this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return ie=yt.load(E,this.redisStoreDefaults,{}),new Ie(this,de,ie);if(this.datastore==="local")return ie=yt.load(E,this.localStoreDefaults,{}),new ee(this,de,ie);throw new Oe.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}.call(this),this._queues.on("leftzero",()=>{var Ae;return(Ae=this._store.heartbeat)!=null&&typeof Ae.ref=="function"?Ae.ref():void 0}),this._queues.on("zero",()=>{var Ae;return(Ae=this._store.heartbeat)!=null&&typeof Ae.unref=="function"?Ae.unref():void 0})}_validateOptions(E,Y){if(!(E!=null&&typeof E=="object"&&Y.length===0))throw new Oe.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(E){return this._store.__publish__(E)}disconnect(E=!0){return this._store.__disconnect__(E)}chain(E){return this._limiter=E,this}queued(E){return this._queues.queued(E)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(E){return this._states.jobStatus(E)}jobs(E){return this._states.statusJobs(E)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(E=1){return this._store.__check__(E)}_clearGlobalState(E){return this._scheduled[E]!=null?(clearTimeout(this._scheduled[E].expiration),delete this._scheduled[E],!0):!1}async _free(E,Y,ie,de){var Ae,He;try{if({running:He}=await this._store.__free__(E,ie.weight),this.Events.trigger("debug",`Freed ${ie.id}`,de),He===0&&this.empty())return this.Events.trigger("idle")}catch(Yt){return Ae=Yt,this.Events.trigger("error",Ae)}}_run(E,Y,ie){var de,Ae,He;return Y.doRun(),de=this._clearGlobalState.bind(this,E),He=this._run.bind(this,E,Y),Ae=this._free.bind(this,E,Y),this._scheduled[E]={timeout:setTimeout(()=>Y.doExecute(this._limiter,de,He,Ae),ie),expiration:Y.options.expiration!=null?setTimeout(function(){return Y.doExpire(de,He,Ae)},ie+Y.options.expiration):void 0,job:Y}}_drainOne(E){return this._registerLock.schedule(()=>{var Y,ie,de,Ae,He;return this.queued()===0?this.Promise.resolve(null):(He=this._queues.getFirst(),{options:Ae,args:Y}=de=He.first(),E!=null&&Ae.weight>E?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${Ae.id}`,{args:Y,options:Ae}),ie=this._randomIndex(),this._store.__register__(ie,Ae.weight,Ae.expiration).then(({success:Yt,wait:Qn,reservoir:ai})=>{var ky;return this.Events.trigger("debug",`Drained ${Ae.id}`,{success:Yt,args:Y,options:Ae}),Yt?(He.shift(),ky=this.empty(),ky&&this.Events.trigger("empty"),ai===0&&this.Events.trigger("depleted",ky),this._run(ie,de,Qn),this.Promise.resolve(Ae.weight)):this.Promise.resolve(null)})))})}_drainAll(E,Y=0){return this._drainOne(E).then(ie=>{var de;return ie!=null?(de=E!=null?E-ie:E,this._drainAll(de,Y+ie)):this.Promise.resolve(Y)}).catch(ie=>this.Events.trigger("error",ie))}_dropAllQueued(E){return this._queues.shiftAll(function(Y){return Y.doDrop({message:E})})}stop(E={}){var Y,ie;return E=yt.load(E,this.stopDefaults),ie=de=>{var Ae;return Ae=()=>{var He;return He=this._states.counts,He[0]+He[1]+He[2]+He[3]===de},new this.Promise((He,Yt)=>Ae()?He():this.on("done",()=>{if(Ae())return this.removeAllListeners("done"),He()}))},Y=E.dropWaitingJobs?(this._run=function(de,Ae){return Ae.doDrop({message:E.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var de,Ae,He;Ae=this._scheduled;for(de in Ae)He=Ae[de],this.jobStatus(He.job.options.id)==="RUNNING"&&(clearTimeout(He.timeout),clearTimeout(He.expiration),He.job.doDrop({message:E.dropErrorMessage}));return this._dropAllQueued(E.dropErrorMessage),ie(0)}))):this.schedule({priority:se-1,weight:0},()=>ie(1)),this._receive=function(de){return de._reject(new Oe.prototype.BottleneckError(E.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new Oe.prototype.BottleneckError("stop() has already been called")),Y}async _addToQueue(E){var Y,ie,de,Ae,He,Yt,Qn;({args:Y,options:Ae}=E);try{({reachedHWM:He,blocked:ie,strategy:Qn}=await this._store.__submit__(this.queued(),Ae.weight))}catch(ai){return de=ai,this.Events.trigger("debug",`Could not queue ${Ae.id}`,{args:Y,options:Ae,error:de}),E.doDrop({error:de}),!1}return ie?(E.doDrop(),!0):He&&(Yt=Qn===Oe.prototype.strategy.LEAK?this._queues.shiftLastFrom(Ae.priority):Qn===Oe.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(Ae.priority+1):Qn===Oe.prototype.strategy.OVERFLOW?E:void 0,Yt?.doDrop(),Yt==null||Qn===Oe.prototype.strategy.OVERFLOW)?(Yt==null&&E.doDrop(),He):(E.doQueue(He,ie),this._queues.push(E),await this._drainAll(),He)}_receive(E){return this._states.jobStatus(E.options.id)!=null?(E._reject(new Oe.prototype.BottleneckError(`A job with the same id already exists (id=${E.options.id})`)),!1):(E.doReceive(),this._submitLock.schedule(this._addToQueue,E))}submit(...E){var Y,ie,de,Ae,He,Yt,Qn;return typeof E[0]=="function"?(He=E,[ie,...E]=He,[Y]=wi.call(E,-1),Ae=yt.load({},this.jobDefaults)):(Yt=E,[Ae,ie,...E]=Yt,[Y]=wi.call(E,-1),Ae=yt.load(Ae,this.jobDefaults)),Qn=(...ai)=>new this.Promise(function(ky,VLe){return ie(...ai,function(...QG){return(QG[0]!=null?VLe:ky)(QG)})}),de=new F(Qn,E,Ae,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),de.promise.then(function(ai){return typeof Y=="function"?Y(...ai):void 0}).catch(function(ai){return Array.isArray(ai)?typeof Y=="function"?Y(...ai):void 0:typeof Y=="function"?Y(ai):void 0}),this._receive(de)}schedule(...E){var Y,ie,de;return typeof E[0]=="function"?([de,...E]=E,ie={}):[ie,de,...E]=E,Y=new F(de,E,ie,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(Y),Y.promise}wrap(E){var Y,ie;return Y=this.schedule.bind(this),ie=function(...de){return Y(E.bind(this),...de)},ie.withOptions=function(de,...Ae){return Y(de,E,...Ae)},ie}async updateSettings(E={}){return await this._store.__updateSettings__(yt.overwrite(E,this.storeDefaults)),yt.overwrite(E,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(E=0){return this._store.__incrementReservoir__(E)}}return Oe.default=Oe,Oe.Events=ue,Oe.version=Oe.prototype.version=$o.version,Oe.strategy=Oe.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},Oe.BottleneckError=Oe.prototype.BottleneckError=f,Oe.Group=Oe.prototype.Group=Z,Oe.RedisConnection=Oe.prototype.RedisConnection=Lt,Oe.IORedisConnection=Oe.prototype.IORedisConnection=lo,Oe.Batcher=Oe.prototype.Batcher=st,Oe.prototype.jobDefaults={priority:V,weight:1,expiration:null,id:""},Oe.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Oe.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},Oe.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},Oe.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},Oe.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},Oe.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},Oe}.call(e);var si=co,kp=si;return kp})});var Dye=WG(AM=>{"use strict";Object.defineProperty(AM,"__esModule",{value:!0});AM.format=OHe;AM.parse=UHe;var NHe=/^[\u0009\u0020-\u007e\u0080-\u00ff]*$/,Pye=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,FHe=/[\\"]/g,qHe=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,Lye=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function OHe(e){let{type:t,parameters:o}=e;if(!t||!qHe.test(t))throw new TypeError(`Invalid type: ${t}`);let n=t;if(o)for(let i of Object.keys(o)){if(!Pye.test(i))throw new TypeError(`Invalid parameter name: ${i}`);n+=`; ${i}=${GHe(o[i])}`}return n}function UHe(e,t){let o=e.length,n=p6(e,0,o),i=n;n=d6(e,n,o);let r=m6(e,i,n),s=e.slice(i,r).toLowerCase(),a=t?.parameters===!1?new Lye:VHe(e,n,o);return{type:s,parameters:a}}var Rye=32,Mye=9,$ye=59,HHe=61,Iye=34,BHe=92;function VHe(e,t,o){let n=new Lye;e:for(;tt;){let n=e.charCodeAt(o-1);if(n!==Rye&&n!==Mye)break;o--}return o}function GHe(e){if(Pye.test(e))return e;if(NHe.test(e))return`"${e.replace(FHe,"\\$&")}"`;throw new TypeError(`Invalid parameter value: ${e}`)}});function KG(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&JLe(o)})}function JLe(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 Ly(e=document.body){e.addEventListener("toggle",t=>{let o=t.target instanceof Element&&t.target.closest("details.popover")||t.target instanceof Element&&t.target.shadowRoot?.activeElement?.closest("details.popover");if(!o)return;let n=o.querySelector(".popover-content");if(!n)return;if(!o.open){n.style.visibility="hidden";return}requestAnimationFrame(()=>{ZG(o),n.offsetHeight});let i=()=>{o.open&&ZG(o)},r=c=>{c.key==="Escape"&&l()},s=c=>{c.target instanceof Element&&(o?.contains(c.target)||l(),c.type==="click"&&c.target.closest("[data-popover-close]")&&l())},a=()=>{document.activeElement?.nodeName?.toLowerCase()==="iframe"&&l()},l=()=>{e.removeEventListener("focus",s,!0),e.removeEventListener("click",s),e.removeEventListener("touchstart",s),e.removeEventListener("keydown",r),window.removeEventListener("blur",a),window.removeEventListener("resize",i),o?.open&&(o.removeAttribute("open"),n.style.visibility="hidden")};e.addEventListener("focus",s,!0),e.addEventListener("click",s),e.addEventListener("touchstart",s),e.addEventListener("keydown",r),window.addEventListener("blur",a),window.addEventListener("resize",i)},!0)}var JG=24,tz=8;function ZLe(e){return window.getComputedStyle(e).direction==="rtl"}function XLe(e,t,o){let n=o.getBoundingClientRect(),i=window.innerHeight-n.bottom,r=n.top,s=e.classList.contains("popover-top"),a=e.classList.contains("popover-bottom"),l=t.offsetHeight,c=a||!s&&(l+tz>r||i>=l||i>=r),u=e.classList.contains("popover-caret");u&&e.classList.remove("popover-caret-bottom");let p=0;c?p=o.offsetTop+o.offsetHeight+tz:(p=o.offsetTop-t.offsetHeight-tz,u&&e.classList.add("popover-caret-bottom")),t.style.top=`${p}px`}function eRe(e,t,o,n){let i=t.offsetWidth,r=o.offsetWidth,s=window.innerWidth,l=t.offsetParent.getBoundingClientRect(),c=o.offsetLeft,u=c+r,p,m=e.classList.contains("popover-left"),g=e.classList.contains("popover-right");if(m)p=n?u-i:c;else if(g)p=n?c:u-i;else{p=c+r/2-i/2;let f=l.left+p,_=f+i;fs-JG&&(p=u-i)}return n?(t.style.setProperty("left",`${p}px`),t.style.setProperty("right","auto")):t.style.setProperty("inset-inline-start",`${p}px`),p}function tRe(e,t,o,n){let i=e.offsetWidth,r=t.offsetWidth,a=t.offsetLeft+r/2,l;n?l=100-(a-o+4)/i*100:l=(a-o-4)/i*100;let c=Math.min(Math.max(l,10),90);e.style.setProperty("--caret-left",`${c}%`)}function ZG(e){let t=e.querySelector(".popover-content"),o=e.querySelector("summary");if(!t||!o)return;t.style.top="",t.style.left="",t.style.right="",t.style.setProperty("inset-inline-start","");let n=ZLe(e);XLe(e,t,o);let i=eRe(e,t,o,n);e.classList.contains("popover-caret")&&tRe(t,o,i,n),t.style.visibility="visible"}var oz=!1;function XG(){nRe();let e=Array.from(document.querySelectorAll("[data-snap-scroll]"));for(let t of e)oRe(t)}function oRe(e){let t=e.querySelector("[data-snap-scroll-slides]");if(!t)throw new Error('Your snap scroll element must contain a scrollable element with "data-snap-scroll-slides" attribute.');let o=Array.from(t.querySelectorAll("[data-snap-scroll-slide]")),n={root:t,rootMargin:"0px",threshold:.8},i=new IntersectionObserver(r=>{if(!oz&&r[0].isIntersecting===!0){let s=r[0].target.getAttribute("data-snap-scroll-slide");if(!s)throw new Error("The [data-snap-scroll-slide] clicked does not correspond to a [data-snap-scroll-nav-item]");let a=e.querySelector(`[data-snap-scroll-nav-item="${s}"]`);if(!a)throw new Error("Anchor missing from snap scroll container");e9(e,a)}},n);o.forEach(r=>i.observe(r))}function nRe(){window.addEventListener("click",e=>{let t=e.target instanceof Element&&e.target.closest("[data-snap-scroll-nav-item]");if(!t)return;let o=t.closest("[data-snap-scroll]");if(!o)return;let n=t.dataset.snapScrollNavItem;if(!n)throw new Error('You need to add a value to the parent of your snap scroll: [data-snap-scroll="id-goes-here")');oz=!0,e.preventDefault();let i=o.querySelector(`[data-snap-scroll-slide="${n}"]`);e9(o,t),i.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),setTimeout(()=>oz=!1,500)})}function e9(e,t){let o=Array.from(e.querySelectorAll("[data-snap-scroll-nav-item]"));for(let n of o)n.classList.remove("is-current");t.classList.add("is-current")}var iRe=0;function Pp(){return`bx-${iRe++}`}function t9(e){return e.replace(/-./g,t=>t[1].toUpperCase())}var NZe=new Promise(e=>{document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>e()):e()});var o9={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."},JC=class extends HTMLElement{constructor(){super();Wt(this,"submitting",!1);Wt(this,"initialData",new FormData);Wt(this,"toDispose",[]);Wt(this,"isDirty",!1);Wt(this,"commitTimeout",0);Wt(this,"locStrings",o9);Wt(this,"validators",[this.validateMinLength.bind(this),this.validateRequired.bind(this),this.validateMaxLength.bind(this)]);Wt(this,"commit",o=>{!r9(o.target,this.form)||!o.target?.form||o.target?.form!==this.parentElement||(clearTimeout(this.commitTimeout),o.type==="change"&&rRe(o.target),this.setDirty())});this.locStrings=this.locStrings}get canSave(){return this.isDirty||this.isNew}get form(){return this.closest("form")}get hideUnloadMessage(){return this.hasAttribute("nounload")}get isNew(){return this.hasAttribute("new")}get noSubmit(){return this.hasAttribute("nosubmit")}connectedCallback(){let o=this.parentElement;if(!(o instanceof HTMLFormElement))return;this.locStrings=this.getLocaleStrings(),o.setAttribute("novalidate","");let n=document.createElement("div");n.setAttribute("data-form-error-container",""),o.hasAttribute("data-hide-validation-banner")&&(n.hidden=!0),this.insertAdjacentElement("afterend",n),this.initialData=new FormData(o),this.ownerDocument.readyState==="loading"&&this.ownerDocument.addEventListener("readystatechange",()=>this.initialData=new FormData(o)),this.subscribe(o,"input",this),this.subscribe(o,"change",this),this.subscribe(o,"submit",this),this.subscribe(window,"beforeunload",this)}disconnectedCallback(){for(let o of this.toDispose)o()}getLocaleStrings(){let o=Array.from(this.attributes).filter(n=>n.name.startsWith("loc-")).reduce((n,i)=>(n[t9(i.name.substring(4))]=i.value,n),{});return Object.assign({},o9,o)}subscribe(o,n,i){o.addEventListener(n,i),this.toDispose.push(()=>o.removeEventListener(n,i))}setDirty(){let o=new URLSearchParams(this.initialData).toString(),n=new URLSearchParams(new FormData(this.parentElement)).toString();this.isDirty=n!==o}handleEvent(o){switch(o.type){case"submit":this.handleSubmitEvent(o);break;case"beforeunload":this.handleUnloadEvent(o);break;case"input":this.clearValidationErrors(o.target),this.scheduleCommit(o);break;case"change":this.clearValidationErrors(o.target),this.commit(o);break;default:throw new Error(`Unexpected event ${o.type}.`)}}navigate(o){return aRe(o,this.getAttribute("navigation"))}scheduleCommit(o){clearTimeout(this.commitTimeout),setTimeout(this.commit,300,o)}async handleUnloadEvent(o){this.setDirty(),!(!this.isDirty||this.hideUnloadMessage)&&(o.preventDefault(),o.returnValue="You have unsaved work.")}async handleSubmitEvent(o){if(o.preventDefault(),this.submitting)return;let n=o.currentTarget;if(!this.canSave){this.showNoChangesMessage(n);let r=new CustomEvent("form-validating",{detail:{form:n},bubbles:!0});this.dispatchEvent(r);return}let i=!1;try{if(this.submitting=!0,n9(o,n,this.submitting),!(await this.validateForm(n)).valid||this.noSubmit)return;let s=cRe(o)??n.action,a=new URL(s).searchParams,l=new FormData(n),c=new Headers;c.set("content-type","applicationhttps://www.microsoft.com/json");for(let{name:h,value:y}of this.attributes)h.startsWith("header-")&&c.set(h.substring(7),y);let p={method:a.get("_method")||n.method||"GET",body:JSON.stringify(Object.fromEntries(l)),headers:c},m=new CustomEvent("beforesubmit",{detail:{url:s,init:p,form:n,callback:async()=>{}},bubbles:!0,cancelable:!0}),g=!this.dispatchEvent(m);if(m.detail.callback)try{await m.detail.callback()}catch{return}if(g)return;let f,_;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})),i=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(n,h,f,_)}}catch{this.submissionError(n,this.locStrings.weEncounteredAnUnexpectedError,f,_);return}}finally{this.submitting=i,n9(o,n,this.submitting)}}createErrorAlert(o){let n=o.querySelector("[data-form-error-container]")||o,i=Pp(),r=document.createElement("div");r.className="help help-danger background-color-danger-light border border-color-danger border-radius padding-xs margin-bottom-sm",r.setAttribute("data-form-error-alert",""),r.setAttribute("role","alert"),r.setAttribute("aria-labelledby",i),r.setAttribute("tabindex","-1"),r.hidden=!0;let s=document.createElement("p");s.id=i,s.className="font-size-md font-weight-semibold margin-bottom-xs display-inline-flex",s.innerText=this.locStrings.pleaseFixTheFollowingIssues;let a=document.createElement("ul");return a.setAttribute("aria-label","Validation errors"),a.classList.add("margin-left-sm-tablet"),r.append(s,a),n.appendChild(r),{errorAlert:r,errorList:a}}getErrorAlert(o){let n=o.querySelector("[data-form-error-alert]");return n?{errorAlert:n,errorList:n.lastElementChild}:this.createErrorAlert(o)}submissionError(o,n,i,r){let{errorAlert:s,errorList:a}=this.getErrorAlert(o),l=document.createElement("li");l.innerText=n,this.dispatchEvent(new CustomEvent("submission-error",{detail:{form:o,request:i,response:r},bubbles:!0})),a.appendChild(l),s.hidden=!1,s.focus()}validateRequired(o,n){return o.validity.valueMissing?this.locStrings.inputRequired.replace("{inputLabel}",customElements.get(o.localName)||o.type==="radio"?`A selection for "${n}"`:n):null}validateMinLength(o,n){return(o instanceof HTMLTextAreaElement||o instanceof HTMLInputElement)&&(o.validity.tooShort||o.minLength>0&&o.value.length0&&o.value.length>o.maxLength)?this.locStrings.inputMaxLength.replace("{inputLabel}",n).replace("{maxLength}",o.maxLength.toString()):null}async validateForm(o,n=!0,i=o){let r=[],{errorAlert:s,errorList:a}=this.getErrorAlert(o);(n||o.hasAttribute("data-hide-validation-banner"))&&(s.hidden=!0,a.innerHTML="");let l=lRe(o);for(let c of[...o.elements,...l]){if(!i.contains(c)||!nz(c,o))continue;if(c.type==="radio"){let m=o.querySelectorAll(`input[name="${c.name}"]`);if(m.length>1&&m[0]!==c)continue}if(c.hasAttribute("aria-hidden")===!0||c.getAttribute("role")==="combobox"||c.closest("docs-markdown-editor"))continue;if(c.hasAttribute("data-skip-validation")){let m=new CustomEvent("form-validating",{detail:{errors:r,form:o},bubbles:!0});this.dispatchEvent(m);continue}let u=!!l.find(m=>m===c);this.runBasicValidation(c,n,r,a,u);let p=new CustomEvent("form-validating",{detail:{errors:r,form:o},bubbles:!0});this.dispatchEvent(p)}return r.length===0?{valid:!0}:(n&&(s.hidden=!1,s.focus()),{valid:!1,errors:r})}clearValidationErrors(o){if(!nz(o,this.form))return;if(i9(o),Vi(o,""),li(o).classList.remove("errored"),o.form){let{errorAlert:i,errorList:r}=this.getErrorAlert(o.form);r.querySelectorAll(`a[href="http://approjects.co.za/?big=#${o.id}"]`).forEach(s=>s.parentElement?.remove()),r.querySelector("#no-edits-error")?.remove(),r.firstElementChild||(i.hidden=!0)}let n=new CustomEvent("clear-validation-errors",{detail:{target:o},bubbles:!0});this.dispatchEvent(n)}showNoChangesMessage(o){let{errorAlert:n,errorList:i}=this.getErrorAlert(o);if(i.childElementCount>0){for(;i.firstChild;)i.lastChild?.remove();i.querySelector("#no-edits-error")?.remove()}let r=document.createElement("li");r.id="no-edits-error",r.innerText=this.locStrings.thereAreNoEditsToSubmit,i.appendChild(r),n.hidden=!1,n.focus()}runBasicValidation(o,n=!0,i,r,s){if(!nz(o,this.form))return;let a=iz(o),l=li(o);for(let c of this.validators){let u=c(o,a);if(!u){s||i9(o);continue}if(i.push({input:o,message:u}),n){if(!o.id)continue;Vi(o,u),l.classList.add("errored");let p=document.createElement("li");p.classList.add("margin-bottom-xs");let m=document.createElement("a");m.href=`#${o.id}`,m.textContent=u,m.classList.add("help","help-danger"),m.addEventListener("click",g=>{if(s){let f=g.target.getAttribute("href");f&&document.querySelector(f).focus()}}),p.appendChild(m),r.appendChild(p),s||(o.type==="checkbox"?o.closest("label.checkbox")?.classList.add("is-invalid"):o.type==="radio"?o.closest("label.radio")?.classList.add("is-invalid"):o.classList.add(`${o.localName}-danger`))}break}}};window.customElements.get("form-behavior")||(window.FormBehaviorElement=JC,window.customElements.define("form-behavior",JC));function r9(e,t){let o=e;return o?o instanceof HTMLElement&&"form"in o&&o.form===t&&"validity"in o&&o.validity instanceof ValidityState&&"value"in o&&typeof o.value=="string"&&"type"in o&&typeof o.type=="string"&&!["button","submit"].includes(o.type):!1}function rRe(e){(e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement&&(e.type==="text"||e.type==="email"))&&(e.value=e.value.trim())}function n9(e,t,o){let n=e.submitter;Array.from(t.elements).forEach(i=>{i instanceof HTMLButtonElement&&i.type==="submit"&&(n&&n===i?i.classList.toggle("is-loading",o):i.disabled=o)})}function iz(e){let t=null;if(e.type==="radio"){let n=li(e).querySelector(".field-label");n?t=n.textContent:t=e.getAttribute("aria-label")}else e.labels?.length?t=e.labels[0].textContent:t=e.getAttribute("aria-label");if(!t)throw new Error(`${e.nodeName} name="${e.name}" id="${e.id}" has no associated label.`);return t.trim()}function li(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 Pf(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 sRe(e){let t=document.createElement("p");return t.id=Pp(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("field-error"),t.setAttribute("data-field-error",""),Pf(e).after(t),t}function Vi(e,t){let n=li(e).querySelector("[data-field-error]")||sRe(e);n.textContent=t}function nz(e,t){return r9(e,t)&&e.type!=="hidden"}function aRe(e,t){switch(t){case null:return!1;case"follow":return e?(location.href=e,!0):!1;case"hash-reload":if(e){let o=e.includes("?")?"":window.location.search;if(e!==o+window.location.hash){let n=history.state||{};window.history.pushState(n,document.title,window.location.pathname+o+e)}return location.reload(),!0}return!1;case"replace":return e?(location.replace(e),!0):!1;case"reload":return location.reload(),!0;default:throw new Error("Unexpected navigation attribute value.")}}function lRe(e){let t=Object.fromEntries(new FormData(e)),o=[];return Object.keys(t).filter(i=>!e.elements.namedItem(i)).forEach(i=>{let r=e.querySelector(`[name="${i}"]`);r&&o.push(r)}),o}function i9(e){e.type==="checkbox"?e.closest("label.checkbox")?.classList.remove("is-invalid"):e.classList.remove(`${e.localName}-danger`)}function cRe(e){let t=e.submitter;return t instanceof HTMLButtonElement&&t.formAction!==window.location.href?t.formAction:null}var s9=globalThis.HTMLElement||null,Lp="assign"in(globalThis.HTMLSlotElement?.prototype||{})?(e,...t)=>{e.assign(...t)}:(e,...t)=>{let o=e.getRootNode().host;for(let n of o.querySelectorAll(`[slot="${e.name}"]`))n.removeAttribute("slot");for(let n of t)n.setAttribute("slot",e.name)},My,$y,Dy,XC=class extends Event{constructor(o,{tabIndex:n,tab:i,panel:r,...s}){super(o,s);Bt(this,My,null);Bt(this,$y,null);Bt(this,Dy,null);gt(this,Dy,i||null),gt(this,My,n||null),gt(this,$y,r||null)}get tabIndex(){return ve(this,My)}get panel(){return ve(this,$y)}get tab(){return ve(this,Dy)}};My=new WeakMap,$y=new WeakMap,Dy=new WeakMap;var Rp,Mp,ct,Lf,a9,Ry,l9,c9,u9,ZC,rz,Pu,$p,Dp,d9,p9,sz,m9,g9,Rf=class extends s9{constructor(){super(...arguments);Bt(this,ct);Bt(this,Rp,null);Bt(this,Mp,null);Bt(this,$p,!1);Bt(this,Dp)}static define(o="tab-container",n=customElements){return n.define(o,this),this}get onChange(){return this.onTabContainerChange}set onChange(o){this.onTabContainerChange=o}get onTabContainerChange(){return ve(this,Rp)}set onTabContainerChange(o){ve(this,Rp)&&this.removeEventListener("tab-container-change",ve(this,Rp)),gt(this,Rp,typeof o=="object"||typeof o=="function"?o:null),typeof o=="function"&&this.addEventListener("tab-container-change",o)}get onTabContainerChanged(){return ve(this,Mp)}set onTabContainerChanged(o){ve(this,Mp)&&this.removeEventListener("tab-container-changed",ve(this,Mp)),gt(this,Mp,typeof o=="object"||typeof o=="function"?o:null),typeof o=="function"&&this.addEventListener("tab-container-changed",o)}get onChanged(){return this.onTabContainerChanged}set onChanged(o){this.onTabContainerChanged=o}get activeTab(){return ve(this,ct,Pu)[this.selectedTabIndex]}get activePanel(){return ve(this,ct,rz).assignedNodes()[0]}get vertical(){return ve(this,ct,Lf)?.getAttribute("aria-orientation")==="vertical"}set vertical(o){let n=ve(this,ct,Lf);n&&o?n.setAttribute("aria-orientation","vertical"):n.setAttribute("aria-orientation","horizontal")}connectedCallback(){ve(this,Dp)||gt(this,Dp,this.attachInternals?this.attachInternals():null);let o=this.shadowRoot||this.attachShadow({mode:"open",slotAssignment:"manual"}),n=document.createElement("slot");n.style.display="flex",n.setAttribute("part","tablist-wrapper"),n.setAttribute("name","tablist-wrapper");let i=document.createElement("div");i.setAttribute("part","tablist-tab-wrapper"),i.setAttribute("name","tablist-tab-wrapper");let r=document.createElement("slot");r.setAttribute("part","tablist"),r.setAttribute("name","tablist"),i.append(r);let s=document.createElement("slot");s.setAttribute("part","panel"),s.setAttribute("name","panel");let a=document.createElement("slot");a.setAttribute("part","before-tabs"),a.setAttribute("name","before-tabs");let l=document.createElement("slot");l.setAttribute("part","after-tabs"),l.setAttribute("name","after-tabs"),n.append(a,i,l);let c=document.createElement("slot");c.setAttribute("part","after-panels"),c.setAttribute("name","after-panels"),o.replaceChildren(n,s,c),ve(this,Dp)&&"role"in ve(this,Dp)?ve(this,Dp).role="presentation":this.setAttribute("role","presentation"),this.addEventListener("keydown",this),this.addEventListener("click",this),this.selectTab(-1),this.addEventListener("tab-container-change",Ip(this,ct,m9)),this.addEventListener("click",Ip(this,ct,g9)),gt(this,$p,!0)}attributeChangedCallback(o){!this.isConnected||!this.shadowRoot||o==="vertical"&&(this.vertical=this.hasAttribute("vertical"))}handleEvent(o){if(o.type==="click")return Ip(this,ct,p9).call(this,o);if(o.type==="keydown")return Ip(this,ct,d9).call(this,o)}get selectedTabIndex(){return ve(this,ct,Pu).findIndex(o=>o.matches("[aria-selected=true]"))}set selectedTabIndex(o){this.selectTab(o)}get defaultTabIndex(){return Number(this.getAttribute("default-tab")||-1)}set defaultTabIndex(o){this.setAttribute("default-tab",String(o))}selectTab(o){if(!ve(this,$p)){let a=ve(this,ct,ZC),l=ve(this,ct,a9),c=this.querySelector("[role=tablist]"),u=this.querySelector("[slot=tablist-wrapper]");u&&u.closest(this.tagName)===this?Lp(l,u):c&&c.closest(this.tagName)===this?Lp(a,c):(ve(this,ct,Ry).role="tablist",Lp(a,...[...this.children].filter(_=>_.matches("[role=tab]"))));let p=ve(this,ct,Lf);if(Ip(this,ct,sz).call(this,"aria-description",p),Ip(this,ct,sz).call(this,"aria-label",p),this.vertical&&ve(this,ct,Lf).setAttribute("aria-orientation","vertical"),!(this.querySelector("[slot=tablist-wrapper]")?.closest(this.tagName)===this)){let _=[],h=[],y=[],v=_;for(let T of this.children){if(T.getAttribute("role")==="tab"||T.getAttribute("role")==="tablist"){v=h;continue}if(T.getAttribute("role")==="tabpanel"){v=y;continue}T.getAttribute("slot")==="before-tabs"?_.push(T):T.getAttribute("slot")==="after-tabs"?h.push(T):v.push(T)}Lp(ve(this,ct,l9),..._),Lp(ve(this,ct,c9),...h),Lp(ve(this,ct,u9),...y)}let g=this.defaultTabIndex,f=g>=0?g:this.selectedTabIndex;o=o>=0?o:Math.max(0,f)}let n=ve(this,ct,Pu),i=Array.from(this.querySelectorAll('[role="tabpanel"]')).filter(a=>a.closest(this.tagName)===this);if(o>n.length-1)throw new RangeError(`Index "${o}" out of bounds`);let r=n[o],s=i[o];if(!(ve(this,$p)&&!this.dispatchEvent(new XC("tab-container-change",{tabIndex:o,bubbles:!0,cancelable:!0,tab:r,panel:s})))){for(let a of n)a.setAttribute("aria-selected","false"),a.setAttribute("tabindex","-1");for(let a of i)!a.hasAttribute("tabindex")&&!a.hasAttribute("data-tab-container-no-tabstop")&&a.setAttribute("tabindex","0");r.setAttribute("aria-selected","true"),r.setAttribute("tabindex","0"),Lp(ve(this,ct,rz),s),s.hidden=!1,ve(this,$p)&&(r.focus(),this.dispatchEvent(new XC("tab-container-changed",{tabIndex:o,bubbles:!0,tab:r,panel:s})))}}};Rp=new WeakMap,Mp=new WeakMap,ct=new WeakSet,Lf=function(){let o=this.querySelector("[slot=tablist-wrapper]");if(o?.closest(this.tagName)===this)return o.querySelector("[role=tablist]");let n=ve(this,ct,ZC);return ve(this,ct,Ry).hasAttribute("role")?ve(this,ct,Ry):n.assignedNodes()[0]},a9=function(){return this.shadowRoot.querySelector('slot[part="tablist-wrapper"]')},Ry=function(){return this.shadowRoot.querySelector('div[part="tablist-tab-wrapper"]')},l9=function(){return this.shadowRoot.querySelector('slot[part="before-tabs"]')},c9=function(){return this.shadowRoot.querySelector('slot[part="after-tabs"]')},u9=function(){return this.shadowRoot.querySelector('slot[part="after-panels"]')},ZC=function(){return this.shadowRoot.querySelector('slot[part="tablist"]')},rz=function(){return this.shadowRoot.querySelector('slot[part="panel"]')},Pu=function(){return ve(this,ct,Ry).matches("[role=tablist]")?ve(this,ct,ZC).assignedNodes():Array.from(ve(this,ct,Lf)?.querySelectorAll('[role="tab"]')||[]).filter(o=>o instanceof s9&&o.closest(this.tagName)===this)},$p=new WeakMap,Dp=new WeakMap,d9=function(o){let n=o.target?.closest?.('[role="tab"]');if(!n)return;let i=ve(this,ct,Pu);if(!i.includes(n))return;let r=this.selectedTabIndex,s=n.closest('[role="tablist"]')?.getAttribute("aria-orientation")==="vertical",a=o.code==="ArrowLeft"||s&&o.code==="ArrowUp";if(o.code==="ArrowRight"||s&&o.code==="ArrowDown"){let c=r+1;c>=i.length&&(c=0),this.selectTab(c)}else if(a){let c=r-1;c<0&&(c=i.length-1),this.selectTab(c)}else o.code==="Home"?(this.selectTab(0),o.preventDefault()):o.code==="End"&&(this.selectTab(i.length-1),o.preventDefault())},p9=function(o){let n=o.target?.closest?.("[role=tab]");if(!n)return;let r=ve(this,ct,Pu).indexOf(n);r>=0&&this.selectTab(r)},sz=function(o,n){this.hasAttribute(o)&&(n.setAttribute(o,this.getAttribute(o)),this.removeAttribute(o))},m9=function(o){let{tab:n}=o;n&&n.scrollIntoView({behavior:"auto",block:"nearest",inline:"center"})},g9=function(o){let n=o.target instanceof Element&&o.target.closest("[data-tab-container-nav]");if(!n)return;let i=(n.dataset.tabContainerNav==="next"||n.dataset.tabContainerNav==="previous")&&n.dataset.tabContainerNav;if(!i)throw new Error('Supported values of [data-tab-container-nav] are "previous" and "next"');let r=this.selectedTabIndex;if(i==="next"){let s=r+1;s>=ve(this,ct,Pu).length&&(s=0),this.selectTab(s)}else{let s=r-1;s<0&&(s=ve(this,ct,Pu).length-1),this.selectTab(s)}},Wt(Rf,"observedAttributes",["vertical"]);var f9=typeof globalThis<"u"?globalThis:window;try{f9.TabContainerElement=Rf.define()}catch(e){if(!(f9.DOMException&&e instanceof DOMException&&e.name==="NotSupportedError")&&!(e instanceof ReferenceError))throw e}var Mf=document.documentElement,uRe=()=>{let e=document.querySelector(".layout-body-header"),t=e?.clientHeight||0,o=t?`${t}px`:"0px",n=e?.getBoundingClientRect().y||0,r=`${Math.max(0,n+t)}px`,s=document.querySelector(".layout-body-footer"),a=s?.clientHeight||0,l=a?`${a}px`:"0px",c=s?.getBoundingClientRect().y||0,p=`${c{window.dispatchEvent(new CustomEvent("atlas-layout-change-event"))};function b9(){window.addEventListener("atlas-layout-change-event",()=>{dRe(uRe)}),window.addEventListener("resize",el,{passive:!0}),Mf.style.setProperty("--window-inner-height",`${window.innerHeight}px`),window.addEventListener("DOMContentLoaded",el),window.addEventListener("scroll",el,{passive:!0})}var az="atlas-layout-exclusions";function pRe(e){return e==="__proto__"||e==="prototype"||e==="constructor"?"default":e}function _9(e={}){let{root:t=document.documentElement,storage:o=window.localStorage,storageKey:n="default",excludesKey:i,excludes:r,deferCallbacksUntil:s=Promise.resolve(),useViewTransitionOnRestore:a=!1}=e,l="layout-",c="atlas-layout-preferences",u="data-layout-restored",p="LayoutStateInstance has been disposed; create a new instance with createLayoutState()";function m(F){return F==null?"default":pRe(F)}function g(){let F=typeof n=="function"?n():n;return m(F)}function f(){if(i===void 0)return null;let F=typeof i=="function"?i():i;return F==null?null:m(F)}function _(){if(r!==void 0)return typeof r=="function"?r():r}function h(){let F=_();if(F===void 0)return;let ee=f();if(ee===null)return;let se=o.getItem(az),ke={};if(se)try{let Ue=JSON.parse(se);Ue&&typeof Ue=="object"&&(ke=Ue)}catch{}let Ie={};for(let Ue of F)Ie[Ue]=!0;ke[ee]=Ie;try{o.setItem(az,JSON.stringify(ke))}catch(Ue){console.error("createLayoutState: failed to write atlas-layout-exclusions; in-memory exclusions still apply",Ue)}}function y(){let F=f();if(F===null)return new Set;let ee=o.getItem(az);if(!ee)return new Set;let se;try{se=JSON.parse(ee)}catch{return new Set}let ke=se&&Object.prototype.hasOwnProperty.call(se,F)?se[F]:null;return!ke||typeof ke!="object"?new Set:new Set(Object.keys(ke))}let v=new Set,T=null,I=!1,A=[],O=!1,D=!1,le=0,ye=[],J=!1;function Le(F){I?F():A.push(F)}function Ve(){t.setAttribute(u,"true")}function Ct(){t.removeAttribute(u)}function oo(){if(D){A=[];return}if(O)return;I=!0;let F=A;A=[];try{for(let ee of F){if(D)return;try{ee()}catch(se){console.error("createLayoutState: a subscriber callback threw during initial flush",se)}}}finally{D||Ve()}}function qt(F,ee,se={}){if(!F){ee();return}se.sync?ro(ee):dn(ee)}function ro(F){let ee=document;if(typeof ee.startViewTransition!="function"){F();return}if(le>0){F();return}Lt(ee,F)}function dn(F){let ee=document;if(typeof ee.startViewTransition!="function"||le>0){F();return}ye.push(F),!J&&(J=!0,queueMicrotask(()=>{if(J=!1,D||O)return;let se=ye;if(ye=[],se.length!==0){if(le>0){lo(se);return}Lt(ee,()=>{lo(se)})}}))}function Lt(F,ee){let se;try{se=F.startViewTransition(ee)}catch(Ue){console.error("createLayoutState: startViewTransition threw",Ue),ee();return}le++;let ke=()=>{le=Math.max(0,le-1)},Ie=se?.finished;Ie&&typeof Ie.then=="function"?Ie.then(ke,ke):ke()}function lo(F){for(let ee of F)try{ee()}catch(se){console.error("createLayoutState: view-transition callback threw",se)}}function j(){let F=o.getItem(c);if(!F)return{};try{return JSON.parse(F)}catch{return{}}}function X(F){o.setItem(c,JSON.stringify(F))}function q(){return j()[g()]??{}}function re(F){return t.classList.contains(F)}function fe(F,ee){return F.when==="always"?!0:F.when==="added"?ee===!0:ee===!1}function L(F,ee){if(y().has(F))return;let se=g();for(let ke of v)if(ke.className===F&&fe(ke,ee)){let{callback:Ie,useViewTransition:Ue}=ke;Le(()=>{qt(Ue,()=>{Ie({className:F,isApplied:ee,storageKey:se})})})}}function M(){let F=y(),ee=g();for(let se of v){if(F.has(se.className))continue;let ke=re(se.className);if(!fe(se,ke))continue;let{callback:Ie,useViewTransition:Ue,className:qe}=se;Le(()=>{qt(Ue,()=>{Ie({className:qe,isApplied:ke,storageKey:ee})})})}}function Z(F,ee,se,ke={}){if(D)throw new Error(p);let Ie={className:F,when:ee,callback:se,useViewTransition:!!ke.useViewTransition};v.add(Ie);let Ue=re(F);if(fe(Ie,Ue)&&!y().has(F)){let qe=g(),{useViewTransition:yt}=Ie;Le(()=>{qt(yt,()=>{se({className:F,isApplied:Ue,storageKey:qe})})})}return()=>{v.delete(Ie)}}function ae(){let F=q(),ee=y();for(let se of Object.keys(F))ee.has(se)||t.classList.toggle(se,F[se])}function Pe(F){return F.startsWith(l)}function Je(F,ee){let se=F.filter(Pe),ke=ee.filter(Pe),Ie=se.filter(qe=>!ke.includes(qe)),Ue=ke.filter(qe=>!se.includes(qe));return{added:Ie,removed:Ue}}function st(F,ee){if(F.length+ee.length===0)return;let se=y(),ke=g(),Ie=j(),Ue=Ie[ke]??{},qe=!1;for(let yt of F)se.has(yt)||(Ue[yt]=!0,qe=!0);for(let yt of ee)se.has(yt)||(Ue[yt]=!1,qe=!0);qe&&(Ie[ke]=Ue,X(Ie))}function no(F){if(!D)for(let ee of F){if(D)return;let se=(ee.oldValue??"").split(/\s+/),ke=Array.from(ee.target.classList),{added:Ie,removed:Ue}=Je(ke,se);st(Ie,Ue);for(let qe of Ie)L(qe,!0);for(let qe of Ue)L(qe,!1)}}function $o(){T=new MutationObserver(no),T.observe(t,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0})}function co(){if(D)throw new Error(p);O||(O=!0,T?.disconnect(),T=null,Ct(),ye=[])}function V(){if(D)throw new Error(p);O&&(O=!1,h(),qt(a,ae,{sync:!0}),I=!1,A=[],M(),$o(),Promise.resolve().then(oo,F=>{D||(console.error("createLayoutState: resume flush rejected; flushing anyway",F),oo())}))}function ue(){D||(D=!0,T?.disconnect(),T=null,Ct(),v.clear(),A=[],ye=[])}h();try{qt(a,ae,{sync:!0}),$o(),s.then(oo,F=>{D||(console.error("createLayoutState: deferCallbacksUntil rejected; flushing pending callbacks anyway",F),oo())})}catch(F){throw console.error("createLayoutState: setup failed; marking layout as restored anyway",F),Ve(),F}return{subscribe:Z,getViewState:q,getState:j,suspend:co,resume:V,dispose:ue}}var v9="Hai eseguito l'accesso con un account associato a un'organizzazione ({email}). Se diventi un membro, dichiari di comprendere e accettare che la tua appartenenza a Microsoft Learn comporta la registrazione e la verifica dei tuoi obiettivi e delle tue attivit\xE0 da parte della nostra rete di siti e di applicazioni e che i tuoi risultati e le tue attivit\xE0 potrebbero essere condivisi con l'organizzazione. Il tuo nome utente, il tuo nome visualizzato, l'immagine del profilo, le tue affiliazioni, i tuoi obiettivi e le tue attivit\xE0 saranno inoltre visibili pubblicamente. Puoi nascondere le attestazioni digitali e le attivit\xE0 in Impostazioni.

Dopo aver creato il profilo, ti consigliamo di collegare un account personale in modo da poter accedere all'avanzamento dell'apprendimento indipendentemente dal tuo stato lavorativo. Puoi collegare account aggiuntivi nella sezione Gestione account delle impostazioni del profilo.";var lz="Accetta";var mc="Aggiungi",y9="Aggiungi sezione",x9="Aggiungere URL",eE="Aggiunta";var zy="Informazioni aggiuntive";var tE="Aggiungere contenuto";var T9="Errore durante il recupero del repository e del percorso del contenuto di GitHub";var S9="Il token GitHub \xE8 scaduto. \xC8 necessario aggiornare le autorizzazioni del token GitHub facendo clic sul pulsante seguente.";var w9=`Si sta cercando un'esperienza di modifica RTF pi\xF9 semplice? Informazioni su Microsoft Learn Editor!`;var C9="Suggerire modifiche in {name}",E9=`Grazie per l'interesse dimostrato a fornire il proprio contributo a Microsoft Learn. Fare clic su Modifica per aprire questo articolo in {name}. Per altre informazioni, vedere Contribuire.`;var A9="Riautorizzare il token GitHub con autorizzazioni pi\xF9 recenti";var k9="Ricomincia";var I9="MVP",P9="Dipendente Microsoft",L9="Personale Esterno Microsoft";var R9="Dipendente interno Microsoft";var M9="Microsoft Regional Director",$9="Student Ambassador",$f="Ordine alfabetico (A-Z)",Df="Ordine alfabetico (Z-A)",cz="Analisi";var uz="{AppliedSkills}",dz="{AppliedSkills} completata";var D9="Domanda posta alle ore {time}";var pz="Attivit\xE0 cardine";var z9="un giorno fa";var N9="Aggiungi parametro",F9="Avanzato";var aa="Tutte le date",oE="Tutte le API",q9="Tutti i filtri";var nE="Tutti i pacchetti";var O9="Hai gi\xE0 un account? Effettuare l'accesso";var U9="un minuto fa",H9="un mese fa";var B9="un'ora fa",Gi="Anonimo";var V9="1 risposta",G9="{count} risposte";var mz="Una delle risposte \xE8 stata accettata dall'autore della domanda.";var iE="API";var Q9="Chiave API",rE="Informazioni di riferimento sull'API {platformName}",gz="La ricerca di API non \xE8 disponibile. Riprova pi\xF9 tardi.";var j9="{appliedSkillTitle} - Valutazione {AppliedSkills}",Y9="Aggiorna per continuare. Il lab riprender\xE0 da dove lo hai interrotto.";var W9="Questa valutazione \xE8 molto popolare e siamo al limite della capacit\xE0, ma stiamo lavorando con impegno per accogliere un maggior numero di studenti. Riprovare tra 10 minuti.",sE="Microsoft Credential",K9="Il tempo \xE8 scaduto.",J9="Hai raggiunto il limite di tempo.",Z9="Verr\xE0 ora assegnato un punteggio alla valutazione.",X9="Visualizza i risultati personali",e7="Stiamo riscontrando un problema e lo stiamo esaminando attivamente. Prova una valutazione diversa per il momento.",t7="Si \xE8 verificato un errore. Riattiva tra 10 minuti.",o7="L'account \xE8 stato contrassegnato per attivit\xE0 insolite. Di conseguenza, l'accesso a Microsoft {AppliedSkills} \xE8 stato sospeso. Usare il pulsante Indietro per tornare alla pagina dei dettagli delle credenziali.";var n7="Visualizza la verifica dei titoli";var i7="Salva la tua raccolta per tornare alla raccolta in seguito. Se la valutazione per viene aggiornata, potrebbe scadere.",aE="Vai alla pagina Dettagli",fz="Puoi visualizzare i tentativi precedenti nella pagina dei dettagli delle credenziali";var r7="Aggiornare la pagina",s7="Sarai idoneo per ripetere la valutazione tra:",a7="Salva la raccolta",l7="Prestazioni per attivit\xE0",c7="Assegnazione di punteggi ancora in corso",u7="Raccolta personalizzata per migliorare le prestazioni",d7="Materiale {AppliedSkills} - {date}",p7='I risultati sono ancora in fase di elaborazione. Se non viene visualizzato un risultato tra {duration} secondi, aggiorna.',m7="In base ai tuoi risultati, abbiamo riunito materiali correlati alle aree in cui puoi migliorare. Il materiale per l'apprendimento include:",g7="Titolo ottenuto per le {AppliedSkills}",f7="Si \xE8 verificato un errore. Riprova pi\xF9 tardi";var hz="Risultati della valutazione",lE="Risultati della tua valutazione per",h7="Informazioni sull'assegnazione del punteggio per questa valutazione",b7='Questa valutazione \xE8 attualmente in fase di manutenzione. Esplorare altre credenziali Microsoft nel frattempo.',_7=`La tua connessione o il tuo account \xE8 stato contrassegnato a causa di attivit\xE0 insolita. Per questo motivo, l'accesso a Microsoft {AppliedSkills}\xE8 stato sospeso. Altre informazioni.`,v7="Il ricorso \xE8 in fase di revisione";var y7="(Obsoleto)",x7="{version} e altre versioni",T7="{version1} e {version2}",S7="Applica",cE="Architettura",w7="Idea per soluzione",zf="Versioni precedenti",tl="Continuare?",C7="Non \xE8 possibile annullare l'eliminazione dei dati.";var E7="Articolo";var A7="un secondo fa";var k7="Contattare la community";var uE="Valutazioni";var I7="Autorizzazione obbligatoria";var P7="una settimana fa";var L7="Documentazione di Azure";var R7="-- Seleziona valore --",gc="Indietro";var M7="Torna al feedback";var $7="Principiante";var Nf="Corpo";var D7="Rimuovi il segnalibro per {title}",z7="Aggiungi un segnalibro per {title}";var N7='Si \xE8 verificato un problema con il ramo "{branchFallbackFrom}". Sei stato reindirizzato al ramo "{branch}".',F7="Selettore di ramo",dE="Navigazione";var pE="Tutti i percorsi di navigazione";var q7="Esplora gli esami";var Lu="Sfoglia le certificazioni",fc="Sfoglia titolo";var O7="Category",U7="Categorie",H7="Attenzione";var Ne="Annulla",mE="Disattiva didascalie";var hc="Certificazione";var B7="Trasferimento a Pearson Vue";var V7="Immettere il proprio indirizzo in modo che Pearson Vue, il provider del servizio esami, possa convalidare l'identit\xE0.",G7="Inserire un numero di telefono e un indirizzo e-mail a cui poter essere contattato da Pearson Vue, il provider del servizio esami, nel caso in cui si verifichino problemi durante l'esame.",Q7="Eventuali sconti verranno applicati a Pearson Vue durante il pagamento.",j7="Se si dispone di un codice voucher, immettere il codice su Pearson Vue durante la procedura di pagamento.",Y7="Accedere al portale Pearson Vue per procedere con la registrazione dell'esame.",W7=`Microsoft non memorizzer\xE0 il numero di telefono e l'indirizzo e-mail forniti. Si verr\xE0 trasferiti ora a Pearson Vue per completare la registrazione dell'esame. Informativa sulla privacy Microsoft`,K7="Indirizzo 1",J7="Indirizzo 2",Z7="City",X7="Provincia",eQ="Postal code",tQ="Codice paese/area geografica",bz="Immettere indirizzo",oQ="Immettere citt\xE0";var nQ="Immettere CAP",iQ="Immettere il numero di telefono",rQ="Immettere l'e-mail di contatto";var sQ="Nome raccolta";var Ny="Esito negativo";var gE="Si \xE8 verificato un errore.",Fy="Pass";var aQ="Materiale per la valutazione - {date}";var lQ="Salva la raccolta";var cQ="Materiale rinnovo - {date}";var uQ="Si tratta di una pagina di anteprima temporanea che scadr\xE0 il {temporaryPreviewExpiresAt}. Una volta scaduta, sar\xE0 necessario rigenerarla da Item Workshop prima di visualizzarne nuovamente l'anteprima.",dQ="API della piattaforma di valutazioni",pQ="Controlla la risposta",mQ="Valutazione per il rinnovo per {certificationName}",gQ="Congratulazione, hai superato l'esame!",ol="Certificazione Microsoft",fQ="Hai rinnovato {certificationName} e hai esteso la certificazione per un anno.",hQ="Vedi i risultati",bQ="Domanda {current} di {total}",_Q="{current} di {total}",vQ="Seleziona solo una risposta.",yQ="Tempo scaduto.",xQ="Hai raggiunto il limite di tempo. Verr\xE0 ora assegnato un punteggio alla valutazione.",TQ="Visualizza i risultati personali",SQ="Seleziona tutte le risposte applicabili.",wQ="Prossima",CQ="Compilazione della valutazione...",EQ="Si \xE8 verificato un errore imprevisto. Riprova pi\xF9 tardi. Se il problema persiste, contatta il supporto tecnico per la certificazione.",AQ="OK, chiaro",kQ="Riprova a inviare la valutazione per il rinnovo. Se il problema persiste, puoi contattare il supporto tecnico per la certificazione.",IQ="Contatta il supporto tecnico per la certificazione",PQ="\xC8 gi\xE0 stato assegnato un punteggio alla tua valutazione",LQ="Hai gi\xE0 inviato questa valutazione. Puoi visualizzare i risultati della tua valutazione dalla pagina dei dettagli del rinnovo della certificazione. Se ritieni che si tratti di un errore e ti serve assistenza, contatta il supporto tecnico per la certificazione.",fE="Vai a i dettagli del rinnovo",RQ="Tempo rimanente",zp="Risposta errata.",Np="Risposta esatta.",MQ="Mostra tutte le domande",$Q="Data della valutazione:",DQ="La tua certificazione \xE8 stata rinnovata per un anno. Nota che l'aggiornamento della data di scadenza della certificazione potrebbe richiedere qualche minuto.",zQ="Siamo spiacenti. Questo materiale per l'apprendimento \xE8 obsoleto rispetto alla valutazione corrente. Visita la pagina dei dettagli della valutazione per ottenere il materiale pi\xF9 recente per la preparazione.";var hE="Materiale per l'apprendimento personalizzato per migliorare le tue competenze";var bE='Poich\xE9 hai ottenuto un punteggio inferiore in "{section}":',_z="Risultati della valutazione per il rinnovo per {certificationName}";var NQ="Risultati della valutazione per il rinnovo per";var FQ="Scopri di pi\xF9 sul rinnovo di questa certificazione",qQ="{percent}% necessario per il superamento",_E="Prestazioni in base alla sezione della valutazione",OQ="Sei pronto per ripetere la valutazione?";var UQ="Sei idoneo per la ripetizione della valutazione. Puoi eseguire tutti i tentativi necessari prima del giorno {date}. Dopo il secondo tentativo dovrai aspettare 24 ore prima di eseguire un nuovo tentativo.",vz="Vedi le certificazioni",HQ="Puoi cercare i tentativi precedenti per le valutazioni nel profilo o puoi visitare la panoramica delle certificazioni",BQ="Risultati complessivi:";var VQ="Panoramica delle certificazioni";var nl="Certificazioni";var GQ="Tipi di certificazione",QQ="Tipi di certificazione",la="Sfida";var jQ="Attiva da {start} a {end}";var YQ="Raccolta di sfide";var WQ="Trova un prodotto";var KQ="Non ci sono ancora sfide";var yz="La data di fine non pu\xF2 essere precedente alla data di inizio. Selezionare di nuovo una data di fine.",JQ="L'ora di fine non pu\xF2 essere precedente all'ora di inizio. Selezionare di nuovo un'ora di fine.",ZQ="L'ora di inizio non pu\xF2 essere precedente all'ora corrente. Selezionare nuovamente un'ora di inizio.";var vE="Trova altro da imparare";var yE="{score}%",XQ="Visualizza la verifica";var Ff="Problematiche";var xz="Aggiungere alle sfide",xE="Aggiunto/a alle sfide";var ej="Gestire {title} nelle sfide",tj="Aggiungere {title} a una sfda";var Tz="Nessun elemento in questa sezione.";var TE="Data di inizio",SE="Ora di avvio",wE="Data di fine",CE="Ora di fine";var oj="Questa sfida \xE8 privata.",nj="Questa sfida non \xE8 visibile ad altri utenti.",ij="\xC8 possibile esaminare le sfide nel profilo utente.",rj="Visualizzare le sfide",sj="Vai alla classifica";var qy="Copia sfida",aj="Si sta per copiare questa sfida. La nuova sfida avr\xE0 gli stessi dettagli e contenuto. Una volta creato, sar\xE0 possibile modificarlo tramite la relativa pagina dei dettagli.",lj="Eliminare la richiesta di verifica",cj="La data di inizio deve essere nel futuro.",uj="La data di fine deve essere successiva alla data di inizio o alla data corrente.",dj="Selezionare un oggetto principale valido.",pj="Immettere un nome di destinazione valido.",mj="Immettere un ID valido associato al pubblico selezionato di questa sfida.",gj="Immettere uno scopo valido per questa sfida.",fj="Non si dispone dell'autorizzazione per eseguire questa azione.";var Oy="Tabellone punteggi";var hj=`L'aggiunta a {collectionName} \xE8 stata completata`,bj='Aggiunto/a alle sfide',_j="Accedi per aggiungere questo elemento al tuo test.",vj='Rimosso da {collectionName}',yj='Rimosso/a dalle sfide';var xj="Violazione rilevata",Tj=`Il titolo o la descrizione di questa sfida, oppure il titolo di una sezione o la descrizione della raccolta di questa sfida \xE8 stato eliminato a causa di una violazione dei nostri Condizioni d'uso. Questi sono stati segnalati o identificati manualmente tramite il rilevamento automatizzato prima dell'esecuzione dell'azione. Per ulteriori informazioni, fare riferimento alle condizioni per l'utilizzo.`,Sz='Se il titolo o la descrizione di questa sfida sono stati eliminati, passare alla relativa pagina dei dettagli per aggiornarli.';var Sj="Se \xE8 stato eliminato un titolo o una descrizione della raccolta di questa sfida, rivedere e aggiornare di seguito.",wj="Si continuer\xE0 a visualizzare questo avviso fino a quando non viene eseguito un aggiornamento.";var Cj="Chiedi a Learn",Ej="Scegliere quale operazione effettuare",Aj="La chat \xE8 stata reimpostata",kj="Conversazione caricata",Ij="Tornare alla chat",EE=`Ho smesso di generare la risposta. Vuoi provare qualcos'altro? Provare la guida alla richiesta selezionando il pulsante "Visualizza richieste".`,Pj="Chat",qf="Cronologia chat",Lj="Conferma",wz="Conferma dell'eliminazione",Rj=`Hai richiesto di eliminare "{name}". Questa \xE8 un'azione irreversibile. Eliminarlo?`,Mj="Nessuna chat da visualizzare",Cz="Rinomina",$j="Rinominare la conversazione",Ez="Cerca tutte le chat",Dj="Cancella la ricerca",zj="Il contenuto generato dall'intelligenza artificiale potrebbe non essere corretto",Nj="Contenuto accurato/pertinente",Fj="Contenuto completo/non crittografato",qj="Risposta rapida",Oj="Contenuto impreciso/non pertinente",Uj="Contenuto incompleto/non chiaro",Hj="Contenuto offensivo/inappropriato",Bj="Risposta lenta",Az="Qualcos'altro",Vj="Grazie per il feedback.",kz='Spiacente, non posso chattare su questo argomento. Immettere un altro argomento o provare la guida alla richiesta selezionando il pulsante "Visualizza richieste" di seguito.',Iz="Non ora",Pz="Incontra l'assistente IA, Ask Learn",Uy="Ask Learn \xE8 un assistente IA che pu\xF2 rispondere a domande, chiarire i concetti e definire i termini usando la documentazione Microsoft attendibile.",Lz="Verificare l'accuratezza",Rz="Ask Learn \xE8 in anteprima. Controllare le risposte perch\xE9 il contenuto generato dall'intelligenza artificiale potrebbe non essere accurato. Usare i pulsanti di feedback per migliorare l'esperienza.",Mz=`Per altre informazioni sui casi d'uso e sulle limitazioni, leggere le note la trasparenza di Ask Learn.`,$z="Provare Ask Learn",Gj="Acknowledgement",AE="Per fornire risposte pi\xF9 pertinenti e personalizzate, Ask Learn archivia le trascrizioni delle chat.",Qj="Chiedere a Ask Learn di usare le chat precedenti per personalizzare le risposte.",jj="Selezionare la casella per confermare le linee guida prima di continuare.",Yj="Per usare Ask Learn, \xE8 necessario confermare l'utilizzo precedente della chat. Per altre informazioni, vedere le note sulla trasparenza di Ask Learn.",Wj="Esaminare i riconoscimenti",Of="Accedi per usare Ask Learn.",Kj='Mi dispiace, ho raggiunto il numero massimo di risposte che posso dare in una conversazione. Selezionare "Nuova chat" per avviare una nuova conversazione.',kE="Altre opzioni",Jj="Massimo {max} caratteri",Uf="Nuova chat",Zj="Vedi altro",Xj="Nuovo messaggio da Ask Learn";var Hf="Anteprima",eY="Anteprima di ci\xF2 che verr\xE0 condiviso",tY="Guida alla richiesta",Dz="Fornire tutti i dettagli possibili, ma non includere informazioni private o riservate";var oY="Rigenera";var nY="Invia",iY="Interrompi la generazione",rY="Parla con noi",IE="Sto riscontrando una domanda elevata. Riprovare tra alcuni minuti.",sY="Questo messaggio \xE8 utile",aY="Questo messaggio non \xE8 utile",Hy='Spiacente, non posso aiutarti con questo. Provare la guida alla richiesta selezionando il pulsante "Visualizza richieste" di seguito.',jn="Si \xE8 verificato un errore. Riprovare o condividere il feedback.",lY="Alcuni caratteri nel messaggio non sono supportati. Puoi riprovare usando caratteri diversi?",cY="Digita un messaggio per continuare",PE="Il messaggio deve contenere almeno 10 caratteri",zz="Limite di caratteri superato",Nz="Visualizza prompt",LE="Ci sto lavorando...",uY="{count} di {total} risposte";var dY="Solo il proprietario della valutazione pu\xF2 visualizzare le note e gli elementi dell'elenco di controllo per l'aggiornamento";var pY="Citazione";var Bf="Cancella tutto",mY="Cancella filtro",gY="Cancella il modulo",fY="Cancella l'autore della domanda";var hY="Cancella termine",bY="Fare clic per visualizzare il feed RSS",_e="Chiudi";var _Y="Chiudi ricerca",vY='Non \xE8 possibile avviare Cloud Shell. Consulta la guida alla risoluzione dei problemi.';var yY="Codice di esempio",Fz="Esempi di codice";var Ru="Comprimi",xY="Comprimi la tabella",bs="Raccolta",TY="Raccolta ufficiale";var SY="Una copia di questa raccolta \xE8 stata salvata nel profilo",wY="I giorni per completare un\u2019attivit\xE0 cardine devono corrispondere a un numero.",qz="Descrizione (facoltativa)";var CY="Modifica la sezione",EY="La lunghezza massima \xE8 di 550 caratteri.",AY="Il titolo della sezione non pu\xF2 essere uguale a un altro titolo nella raccolta.",Oz="Nuova sezione",kY="Salva la sezione",Uz="Sezione {number}";var IY="La lunghezza massima \xE8 di 100 caratteri.",PY="Il titolo o la descrizione della sezione non ha superato il servizio di convalida Microsoft.",LY="Non \xE8 stato possibile salvare la sezione. Riprova.",RY="Aggiungere URL",MY="Nome pagina",$Y="Immetti il titolo.",DY="Il titolo deve avere una lunghezza compresa tra 2 e 100 caratteri.",zY="Non \xE8 stato possibile salvare l'URL. Riprova.",NY="Non \xE8 possibile aggiungere URL a questa raccolta.",FY="L'URL deve iniziare con http:// o https://. Sono consentiti i collegamenti AKA.",qY="Il formato dell'URL non \xE8 valido.";var OY="Aggiungi alla raccolta",Hz="Aggiunto/a alla raccolta",Bz="Aggiungi a raccolte",RE="Aggiungi a una raccolta",UY='Aggiungi "{pageName}" a:',ME="Raccolta non trovata",HY="Come si pu\xF2 osservare, Sembra che questa raccolta non esista o non possa essere trovata per uno dei motivi seguenti:",BY="Il proprietario pu\xF2 aver cambiato l'URL della Raccolta, che pu\xF2 impedire la sua individuazione se gli utenti accedono usando l'URL precedente.",VY="Il proprietario della Raccolta potrebbe averla eliminata completamente, rendendola inaccessibile.";var GY=`Se la raccolta o suoi contenuti hanno violato le Condizioni per l'utilizzo di Microsoft Learn.`,QY="Ecco alcuni collegamenti utili:",jY="Home page di Microsoft Learn: sviluppa competenze che offrono nuove opportunit\xE0 di carriera",YY="Cerca | Microsoft Learn",WY="Risorse di Microsoft Learn | Microsoft Learn",KY="Creare una raccolta Microsoft Learn",JY='Raccolte aggiornate',Vz=`I dipendenti Microsoft sono autorizzati ad assegnare a una raccolta l'etichetta "Creata da Microsoft".`,$E="Altre informazioni",Fp="Converti in una raccolta ufficiale",DE="Una raccolta ufficiale rappresenta Microsoft, quindi assicurati che la raccolta sia completa, non includa errori tipografici e che la sequenza del contenuto sia corretta. In caso contrario, modifica la raccolta in base alla necessit\xE0. Quando una raccolta viene resa ufficiale, non \xE8 possibile annullare il processo.";var ZY="La raccolta non \xE8 disponibile",XY="\xC8 tutto pronto per convertire questa raccolta in una raccolta ufficiale?";var zE='Esiste gi\xE0 una raccolta con titolo "{title}". I titoli delle raccolte devono essere univoci.',Mu="Il titolo \xE8 obbligatorio e deve contenere al massimo 100 caratteri.",By="La descrizione \xE8 facoltativa e deve contenere al massimo 550 caratteri.",NE="Contenuto non valido. Rimuovere tutti i numeri di telefono, gli indirizzi di posta elettronica o gli URL.";var eW="Se impostata su privata, questa raccolta pu\xF2 essere visualizzata solo dall'utente. Una raccolta non privata pu\xF2 essere visualizzata da chiunque.",FE="Impostare come privata",tW="Raccolta di {userDisplayName} - {index}",Gz="Creata da {name}",oW="Creazione completata da un utente di Microsoft Learn";var nW="Elimina raccolta",iW="Visualizza il mio nome";var qE="Modifica la mia raccolta",Qz="aggiungi una descrizione",Vy="Modifica la descrizione",Gy="Modifica il titolo",rW="Modifica i risultati di apprendimento",sW="Descrizione di questa raccolta",aW="\xC8 necessario almeno un risultato.",lW="Titolo di questa raccolta",cW="Non \xE8 stato possibile salvare il titolo. Riprova.",uW="Non \xE8 stato possibile salvare la descrizione. Riprovare.",dW="Non \xE8 stato possibile salvare i risultati dell\u2019apprendimento. Riprovare.",OE="Preferiti",pW="Se questo collegamento \xE8 stato condiviso con te, richiedi un nuovo collegamento.",UE="Eventuali modifiche non influiranno sulla raccolta originale";var mW="Elementi in questa raccolta";var gW='Nessun elemento nella raccolta. Aggiungi elementi dalla pagina di esplorazione dell\u2019allenamento Learn.',fW="{numberOf} percorsi di apprendimento",hW="{numberOf} percorso di apprendimento",bW="La raccolta \xE8 completa e l'ortografia \xE8 stata controllata",_W="La procedura potr\xE0 richiedere fino a 14 giorni, ma potrebbe essere completata prima. Dopo la localizzazione, eventuali modifiche future apportate verranno inviate automaticamente alla pipeline di localizzazione.",vW="Il titolo, la descrizione, le sezioni e le descrizioni delle sezioni verranno tradotti in ogni lingua supportata da Microsoft Learn",HE="Localize",yW="Assicurati che siano rispettati i requisiti seguenti:",xW="La raccolta non \xE8 stata ancora localizzata nella tua lingua.",TW="La lingua di origine \xE8 l'inglese",BE="Questa raccolta \xE8 stata inviata per la localizzazione",SW="Grazie per avere inviato la tua raccolta ufficiale per la localizzazione.",VE="Numero di moduli: {numberOf}",GE="{numberOf} modulo";var wW="Sposta l'elemento verso il basso",CW="Sposta l'elemento verso l'alto";var EW="Sposta sezione in basso",AW="Sposta sezione in alto",kW="Raccolta ufficiale di Microsoft",IW="per conto di",PW='Rimosso da {collectionName}',LW='Rimosso da Raccolte';var RW="L'aggiunta a una raccolta \xE8 disabilitata per il contenuto che richiede l'autorizzazione.",MW=`L'aggiunta a {collectionName} \xE8 stata completata`,$W=`L'aggiunta a Raccolte \xE8 stata completata`,DW="Salva tutti gli elementi in questa raccolta come nuovi";var jz="Accedi per aggiungere questo elemento alla raccolta.",QE="Questa raccolta \xE8 privata.",zW="L'autore di questa raccolta l\u2019ha contrassegnata come privata e non \xE8 attualmente visibile ad altri utenti.",NW="Questa raccolta non esiste o \xE8 stata rimossa.",FW='\xC8 anche possibile tornare a Raccolte.',qW="\xC8 possibile esaminare le raccolte nel profilo utente.",OW="Visualizza raccolte",UW="Gestisci {title} nelle raccolte",HW="Aggiungi {title} a una raccolta",BW="Puoi trovare questa raccolta nel tuo profilo di Learn";var VW="Violazione rilevata",GW=`Il titolo o la descrizione di questa raccolta o un titolo di sezione o una descrizione di questa raccolta sono stati eliminati a causa di una violazione delle condizioni per l'utilizzo. Questi sono stati segnalati o identificati manualmente tramite il rilevamento automatizzato prima dell'esecuzione dell'azione. Per ulteriori informazioni, fare riferimento alle condizioni per l'utilizzo.`,QW="Si continuer\xE0 a visualizzare questo avviso fino a quando non viene eseguito un aggiornamento.",jW="Raccolta segnalata",YW=`\xC8 stato segnalato un problema su questa raccolta, che al momento \xE8 in revisione da parte di Microsoft. Per ulteriori informazioni, fare riferimento alle condizioni per l'utilizzo.`;var Qi="Completato";var WW="Complimenti.";var KW="Contatta il supporto tecnico",Yz="Indirizzo di posta elettronica di contatto";var Wz="Area di contenuto",JW="Selettore della lingua del contenuto. Impostato attualmente su {language}.";var ZW=`Nota: L'autore ha creato questo articolo con l\u2019assistenza dell'intelligenza artificiale. Ulteriori informazioni`,XW=`Nota: Questo articolo contiene contenuti creati con l'IA. Ulteriori informazioni`,eK="Contenuto creato dalla community. Questo articolo \xE8 stato scritto ed \xE8 gestito da esperti della community di Microsoft Learn.",tK=`Nota: Questo episodio contiene contenuti creati con l'IA. Ulteriori informazioni`,oK=`Nota: L'autore ha creato questo episodio con l\u2019assistenza dell'intelligenza artificiale. Ulteriori informazioni`;var nK=`Nota: Questo modulo contiene contenuti creati con l'IA. Ulteriori informazioni`,iK=`Nota: L'autore ha creato questo modulo con l\u2019assistenza dell'intelligenza artificiale. Ulteriori informazioni`,rK=`Nota: Questa pagina contiene contenuti creati con l'IA. Ulteriori informazioni`,sK=`Nota: Questa parzialmente \xE8 stata parzialmente creata con l'aiuto dell'intelligenza artificiale. Ulteriori informazioni`,bc="Continua";var jE="Copiato",$u="Copia";var qp="Corso";var Kz="Australia",Jz="Austria";var YE="Belgio";var Zz="Brasile";var WE="Canada";var Xz="India";var eN="Irlanda";var KE="Malaysia";var tN="Messico";var oN="Nuova Zelanda";var nN="Portogallo";var iN="Singapore";var rN="Sudafrica";var Qy="Svizzera";var sN="Regno Unito",aN="Stati Uniti";var jy="Paese/area geografica";var Yy="Crea";var lN="Creato da";var aK="Se diventi un membro, dichiari di comprendere e accettare che la tua appartenenza a Microsoft Learn comporta la registrazione e la verifica dei tuoi obiettivi e delle tue attivit\xE0 da parte della nostra rete di siti e di applicazioni.

Il tuo nome utente, il tuo nome visualizzato, l'immagine del profilo, le tue affiliazioni, i tuoi obiettivi e le tue attivit\xE0 saranno inoltre visibili pubblicamente. Puoi nascondere le attestazioni digitali e le attivit\xE0 in Impostazioni.";var mn="Titolo",lK="Tipo di credenziali",cK="Tipi di credenziale";var uK="Personalizzato",dK="Data personalizzata";var pK="Scuro",Wy="Data";var JE="Giorno",Ky="Giorni",mK="{duration} giorni fa",Jy="{days} giorni";var ji="Elimina";var gK="Elimina parametro";var Vf="Descrizione";var fK="Questo contenuto archiviato non \xE8 pi\xF9 mantenuto. I collegamenti e le informazioni potrebbero essere obsoleti o non sicuri e non sono stati esaminati attivamente da Microsoft.",hK="Questo articolo \xE8 stato tradotto per il tuo mercato dall'inglese. Quanto sei soddisfatto della qualit\xE0 della lingua usata?",bK="Questo articolo \xE8 stato tradotto automaticamente o con l\u2019intelligenza artificiale. Questo contenuto archiviato non \xE8 pi\xF9 mantenuto. I collegamenti e le informazioni potrebbero essere obsoleti o non sicuri e non sono stati esaminati attivamente da Microsoft.",_K="Questo contenuto \xE8 stato ritirato e potrebbe non essere aggiornato in futuro. Il prodotto, il servizio o la tecnologia citati in questo contenuto non sono pi\xF9 supportati.",vK="Questo articolo \xE8 stato tradotto automaticamente o con l\u2019intelligenza artificiale. Questo contenuto \xE8 stato ritirato e potrebbe non essere aggiornato in futuro. Il prodotto, il servizio o la tecnologia citati in questo contenuto non sono pi\xF9 supportati.",ca="Ignora l'avviso";var yK="Parti di questo argomento potrebbero essere state tradotte automaticamente o con l\u2019intelligenza artificiale.",xK="Parti di questo argomento potrebbero essere state tradotte automaticamente o con l\u2019intelligenza artificiale.";var TK="Informazioni riservate Microsoft",SK="Questa pagina \xE8 stata reindirizzata definitivamente a {url}",wK=`Questo contenuto non viene pi\xF9 aggiornato regolarmente. Controlla il ciclo di vita dei prodotti Microsoft per ottenere informazioni sul modo in cui viene supportato questo prodotto, servizio, tecnologia o API.`,CK=`Questo articolo \xE8 stato tradotto automaticamente o con l\u2019intelligenza artificiale. Questo contenuto non viene pi\xF9 aggiornato regolarmente. Controlla il ciclo di vita dei prodotti Microsoft per ottenere informazioni sul modo in cui viene supportato questo prodotto, servizio, tecnologia o API.`,EK="Versione consigliata",cN="Torna al sito principale",AK="I contenuti nei siti di revisione possono essere visualizzati da tutti i dipendenti (FTE) e fornitori di Microsoft e dai dipendenti di LinkedIn.",kK="Questo contenuto non \xE8 disponibile nella tua lingua. Ecco la versione in lingua inglese.",Zy="Elimina";var IK="Questo percorso di apprendimento sar\xE0 presto disponibile nelle lingue seguenti: {language}.",PK="Questo percorso di apprendimento non \xE8 disponibile nelle lingue seguenti: {language}.";var LK="Questo modulo sar\xE0 presto disponibile nelle lingue seguenti: {language}.",RK="Questo modulo non \xE8 disponibile nelle lingue seguenti: {language}.";var MK="I risultati della ricerca derivano dalla documentazione delle versioni precedenti e non sono aggiornati regolarmente.";var $K="Giorni per il completamento";var ua="Documentazione",DK="Dettagli del documento",zK="Non modificare questa sezione. \xC8 necessaria per i collegamenti relativi ai problemi tra learn.microsoft.com \u279F GitHub.";var NK="Documentazione di .NET";var ZE="Scarica il PDF",FK="L'opzione Scarica il PDF \xE8 disabilitata per il contenuto che richiede l'autorizzazione.",qK="La generazione del PDF potrebbe richiedere alcuni minuti. Puoi continuare a usare il sito durante la preparazione del PDF.";var _c="Modifica";var OK="Data modifica";var vc="E-mail";var UK="Un nome vuoto non \xE8 consentito";var HK="Data di fine";var BK="Data di fine",VK="Termina {endDate}";var Du="Errore",GK="I valori devono essere {date} o precedenti.",QK="La data di inizio deve essere precedente alla data di fine.";var jK="Gruppo di eventi",YK="Gruppi di eventi",WK="Eventi";var Yi="Esame";var KK="Riepilogo delle risposte",JK="Torna al report",ZK="Di seguito \xE8 disponibile un riepilogo delle tue risposte.",XK="Congratulazioni, hai superato tutte le sezioni! Se hai superato pi\xF9 tentativi, prendi in considerazione la pianificazione di un esame.",eJ="Siamo spiacenti. Questo materiale per l'apprendimento \xE8 obsoleto rispetto alla valutazione di prova corrente. Visita la pagina dei dettagli dell'esame per ottenere il materiale pi\xF9 recente per la preparazione.",tJ="Risposta corretta";var oJ="Il completamento di questa valutazione ha richiesto {duration} minuti.";var nJ="Risultati della valutazione di prova: {date}",iJ="Risultati complessivi",rJ="Per migliorare la preparazione per l'esame, prova a ottenere un punteggio pari a {percent}% o superiore con pi\xF9 tentativi.",sJ="Punteggio: {percent}%";var aJ="Per migliorare ulteriormente le tue competenze nelle aree seguenti, vedi la sezione Materiale per l'apprendimento personalizzato pi\xF9 avanti.",lJ="Domanda {x} di {y}",cJ="Sei pronto per iniziare l'esame?",uJ="Puoi visualizzare i tentativi di valutazione precedenti nella pagina dei dettagli dell'esame.",dJ="Materiale per esercitazionel - {date}",pJ="Mostra le mie risposte",mJ="Inizia un'altra valutazione di prova.",gJ="Risposta";var fJ="Esame";var Gf="Espandere",hJ="Espandi la tabella";var Qf="Facebook";var bJ="Domande frequenti";var _J="Sufficiente";var vJ='Il feedback verr\xE0 inviato a Microsoft: se selezioni il pulsante Invia, il tuo feedback verr\xE0 usato per migliorare i prodotti e i servizi Microsoft. Informativa sulla privacy.',XE='Premendo Invia, il tuo feedback verr\xE0 utilizzato per migliorare i prodotti e i servizi Microsoft. Informativa sulla privacy',eA=`Microsoft elaborer\xE0 il feedback inviato in base alle istruzioni dell'organizzazione per migliorare l'esperienza dell'utente e dell'organizzazione con questo prodotto. Per eventuali domande sull'uso dei dati di feedback, contattare l'amministratore del tenant. L'elaborazione dei dati di feedback \xE8 disciplinata dall'addendum sulla protezione dei dati dei prodotti e dei servizi Microsoft tra l'organizzazione e Microsoft e il feedback inviato \xE8 considerato fare parte dei dati personali in tale addendum. Informativa sulla privacy`,Xy="Microsoft elaborer\xE0 il feedback inviato in base alle istruzioni dell'organizzazione per migliorare l'esperienza dell'utente e dell'organizzazione con questo prodotto.",yJ=`Microsoft elaborer\xE0 il feedback inviato in base alle istruzioni dell'organizzazione per migliorare l'esperienza dell'utente e dell'organizzazione con questo prodotto. Informativa sulla privacy`;var xJ="[Immetti qui i commenti]";var TJ="Condividi feedback";var SJ="Allega uno screenshot (facoltativo)",wJ="Scegli i file...",CJ="JPEG, JPG, PNG o GIF";var EJ="Problemi con Cloud Shell";var AJ="Problemi con .NET Editor";var kJ="Problemi con l'installazione delle dipendenze";var IJ="Qualit\xE0 dei contenuti dell'esercitazione";var PJ="Descrivi il tuo feedback. Se applicabile, includi i passaggi per riprodurre il problema",LJ="Immetti un titolo per il feedback",RJ="Informazioni non corrette/Errore di ortografia/Errore nei contenuti",MJ="Richiesta di funzionalit\xE0",$J="Prodotto o funzionalit\xE0",DJ="Feedback generale",zJ="Qualit\xE0 dei contenuti per la formazione",NJ="Ho domande sui contenuti per la formazione",FJ="Non mi vengono concessi crediti/punti esperienza per il completamento",qJ="Altro",OJ="Problemi con la registrazione o l'accesso",UJ="Problemi con la sandbox",HJ="Problemi con la qualit\xE0 della traduzione",BJ="Seleziona un problema applicabile alla tua situazione",VJ="Seleziona il tipo di feedback";var GJ="Il contenuto \xE8 facile da capire",QJ="Il contenuto \xE8 difficile da capire",jJ="Non ho trovato quello che mi serve",YJ="Ho completato l'attivit\xE0 o risolto il problema",WJ="Ho imparato qualcosa di nuovo",KJ="Le informazioni sono state facili da trovare",JJ="Non aggiornato/obsoleto",ZJ="Struttura piano",XJ="Copertura contenuto",eZ="Personalizzazione",tZ="Facile da usare",oZ="Aiuta nella crescita della carriera",nZ="Troppo complesso",iZ="Problemi tecnici",rZ="Mancanza di personalizzazione",sZ="Non rilevante per l'obiettivo",aZ="Sequenze temporali errate",lZ="La procedura o il codice non funziona",uN="Qualit\xE0 di traduzione";var Mr="Filtra",cZ="Filtri";var dN="Filtro cancellato",uZ="Il contenuto verr\xE0 filtrato durante la digitazione";var dZ="Trova {facet}";var pZ="Trova in base al titolo";var mZ="Trova un autore di domande";var gZ="Modalit\xE0 di lettura abilitata",fZ="Modalit\xE0 di lettura disabilitata";var hZ="Iscriversi ora";var ex="Devi selezionare almeno un elemento.",il="Il contenuto \xE8 stato modificato. Ricarica la pagina per ottenere le modifiche pi\xF9 recenti.",pN="Si \xE8 verificato un problema relativo a uno o pi\xF9 allegati. Aggiorna o rimuovi uno o pi\xF9 allegati per continuare la pubblicazione. Se il problema persiste, contatta il supporto del sito.",mN="L'indirizzo e-mail non \xE8 valido",bZ="L'e-mail non \xE8 valida e deve contenere almeno 6 caratteri.",_Z="Seleziona almeno un motivo per il feedback.",vZ="Questa pagina \xE8 stata utile? Selezionare S\xEC o No.",yZ="\xC8 necessaria almeno una selezione da {inputGroup}.",_s="{inputLabel} non pu\xF2 contenere pi\xF9 di {maxLength} caratteri.",vs="{inputLabel} deve contenere almeno {minLength} caratteri.",ys="\xC8 obbligatorio specificare {inputLabel}.",tA="{inputLabel} non deve iniziare o terminare con un punto.",xZ='{inputLabel} non pu\xF2 contenere i caratteri \\ o ".',TZ="Un campo di input non \xE8 valido. Controllare i campi di input e riprovare.",xs="Non hai eseguito l'autenticazione. Aggiorna la pagina e riprova. Se il problema persiste, disconnettiti e accedi di nuovo.",Ts="Non sei autorizzato a effettuare questa risposta. Se ritieni che si tratti di un errore, aggiorna la pagina e riprova.";var SZ="Il codice postale statunitense deve contenere solo cifre numeriche e deve essere composto da 5 o 9 cifre.",wZ="Il codice postale canadese non deve contenere spazi e deve essere nel formato A1A1A1.",CZ="Il numero di telefono non \xE8 valido e deve contenere solo cifre numeriche.",gn="Per continuare, correggi i problemi seguenti:",jf="Effettua una selezione.",gN="Il testo deve essere in inglese. Nel caso in cui siano presenti simboli o testo non in inglese, rimuoverli per continuare.",Ss="Non sono presenti modifiche da inviare.",ws="Hai inviato troppe richieste. Attendere qualche minuto e riprovare pi\xF9 tardi.",Wi="Si \xE8 verificato un errore imprevisto. Riprova pi\xF9 tardi. Se il problema persiste, contatta il supporto per il sito.";var EZ="Generazione del PDF...";var AZ="Ottieni assistenza in Microsoft Q&A",kZ="Ottieni assistenza per il prodotto",fN="Introduzione";var Op="Globale",hN="Spostamento globale";var bN="Indietro";var IZ="Buono";var _N="Vai ai dettagli dell'esame";var PZ="Ottimo";var oA="Intestazioni",LZ="Informazioni su come scegliere";var RZ="Qui",MZ="Nascondi elementi completati";var $Z='Ciao, {user}';var DZ="Contrasto elevato",zZ="Home";var NZ="Codice scorrevole orizzontalmente",vN="Dati scorrevoli orizzontalmente",nA="Ora",zu="Ore",FZ="{duration} ore fa",qZ="Qual \xE8 la tua opinione su questo prodotto?";var OZ="Quanto sei soddisfatto della qualit\xE0 della lingua usata?";var UZ="h";var HZ="{hrs} ore",BZ="{numberOfHours} h {numberOfMinutes} min";var VZ="Importante";var tx="In corso";var GZ="Intermedio";var yN="In questo articolo";var Yf=`L'elemento "{itemTitle}" verr\xE0 eliminato definitivamente.`;var QZ="adesso";var iA="Problema noto",jZ="Confermato";var YZ="Analisi in corso",WZ="Mitigato",KZ="Segnalato",JZ="Risolto";var Wf="Sommario";var xN="Linguaggio",ZZ="Linguaggi";var rA="Ultimo aggiornamento: {time}";var TN="Percorso di apprendimento",Kf="Percorso di apprendimento";var Ki="Altre informazioni";var XZ="Tipo di contenuto",eX="Tipi di contenuto";var ox="Episodio";var tX="{count} episodi";var oX="Eventi",nX="Ultimo episodio",iX="Ultimo episodio {date}";var rX="Data di pubblicazione: {date}",sA="Serie",SN="Mostra",Ci="Mostra";var aA="Il video non \xE8 disponibile",wN="Questo video non \xE8 disponibile. Stiamo lavorando per risolvere il problema. Riprova pi\xF9 tardi.",Jf="Lettore video";var sX="Level",aX="Livello {number}";var lX="Livelli",cX="Ciclo di vita",uX="Chiaro";var Zf="LinkedIn";var Dt="Caricamento in corso...";var dX="Altro…",pX="Carica altri risultati",lA="Arabo",mX="Arabo (Arabia Saudita)",cA="Bulgaro",gX="Bulgaro (Bulgaria)";var uA="Bosniaco (latino)",fX="Bosniaco (alfabeto cirillico)",dA="Catalano",pA="Ceco",mA="Danese",gA="Tedesco";var fA="Greco",hX="Greco (Grecia)",hA="Inglese",bX="Inglese (Malaysia)";var bA="Spagnolo",_X="Spagnolo (Messico)",_A="Estone",vA="Basco",yA="Finlandese",xA="Filippino",TA="Francese";var SA="Irlandese",wA="Galiziano",CA="Ebraico",EA="Hindi",AA="Croato",kA="Ungherese",vX="Ungherese (Ungheria)",IA="Indonesiano",yX="Indonesiano (Indonesia)",PA="Islandese",LA="Italiano";var RA="Giapponese",xX="Georgiano",MA="Kazako",$A="Coreano",DA="Lussemburghese",zA="Lituano",NA="Lettone",FA="Malese",qA="Maltese",OA="Norvegese",UA="Olandese",HA="Polacco",BA="Portoghese",TX="Portoghese (Brasile)",SX="Portoghese (Portogallo)",VA="Rumeno",GA="Russo",QA="Slovacco",jA="Sloveno";var YA="Serbo (alfabeto cirillico)",WA="Serbo (alfabeto latino)",KA="Svedese",JA="Thai",ZA="Turco",XA="Ucraino",wX="Ucraino",CX="Urdu",e0="Vietnamita",EX="Vietnamita (Vietnam)";var t0="Cinese (semplificato)",o0="Cinese (tradizionale, Hong Kong SAR)",n0="Cinese (tradizionale)";var AX="Gestisci i cookie";var i0="Editor di Microsoft Learn",kX="Ci stiamo impegnando per eseguire la migrazione della tua cronologia dei corsi e delle tue attestazioni digitali a Learn. Al momento verranno tuttavia visualizzate qui solo le attivit\xE0 completate in Learn.",IX='Per visualizzare la trascrizione completa e/o i badge che hai ottenuto in Microsoft Educator Center e Learn, passa al tuo profilo di Microsoft Educator Center.';var PX="Informativa sulla privacy per i dipendenti Microsoft",LX="Hai eseguito l'accesso con un account associato a un'organizzazione ({email}). Se diventi un membro, dichiari di comprendere e accettare che la tua appartenenza a Microsoft Learn comporta la registrazione e la verifica dei tuoi obiettivi e delle tue attivit\xE0 da parte della nostra rete di siti e di applicazioni e che i tuoi risultati e le tue attivit\xE0 potrebbero essere condivisi con l'organizzazione. Il tuo nome utente, il tuo nome visualizzato, l'immagine del profilo, le tue affiliazioni, i tuoi obiettivi e le tue attivit\xE0 saranno inoltre visibili pubblicamente. Puoi nascondere le attestazioni digitali e le attivit\xE0 in Impostazioni.

Dopo aver creato il profilo, ti consigliamo di collegare un account personale in modo da poter accedere all'avanzamento dell'apprendimento indipendentemente dal tuo stato lavorativo. Puoi collegare account aggiuntivi nella sezione Gestione account delle impostazioni del profilo.";var RX="Microsoft Graph Editor";var r0="Informativa sulla privacy Microsoft",MX="Devi accettare l'Informativa sulla privacy Microsoft per conservare il tuo profilo e i dati correlati.";var s0="{numberOfMinutes} min";var Up="{numberOfMinutes} min";var nx="Minuti";var $X="{duration} minuti fa";var Ei="Modulo";var DX="Informazioni di riferimento sul modulo per {platformName}",ix="Moduli";var zX="\xC8 stato eseguito il reindirizzamento alla versione pi\xF9 recente del prodotto disponibile per questa pagina.";var NX="{duration} mesi fa";var rx="Pi\xF9 informazioni";var FX="Nome";var Ji="Prossima";var qX="Pagina successiva";var $r="No",OX="Nuova raccolta",Xf="Pi\xF9 recente",eh="Meno recente";var UX="Nessun prodotto disponibile",HX="Nessun tag disponibile",a0="Nessun filtro disponibile",BX='Nessun elemento in questa sezione. Spostare gli elementi qui dalle altre sezioni oppure aggiungere elementi dalla pagina di esplorazione del training su Learn.';var fo="Nessun risultato",da="Nessun risultato restituito",VX="Ancora nessun risultato, continua a digitare\u2026",GX='Cerca "{term}" in tutta la documentazione di {searchScope}',QX='Cerca "{term}" in tutta la documentazione',jX="Nessun suggerimento",YX="Normale";var l0="Non sono state trovate sottoscrizioni",WX="No, grazie",KX="Nota";var JX="Non \xE8 stato possibile trovare alcun utente.";var ZX="{number} elemento",XX="{number} elementi";var eee="Molto soddisfatto",tee="Soddisfatto",oee="N\xE9 soddisfatto n\xE9 insoddisfatto",nee="Insoddisfatto",iee="Molto insoddisfatto";var ree="Documentazione di Office";var kn="OK",see="OK, chiaro.";var aee="in data {date}";var lee="Apri ricerca";var cee="Feedback su {productName}",uee="{productName} \xE8 un progetto di open source. Selezionare un collegamento per fornire feedback:";var dee="Aprire Cloud Shell",pee="Facoltativo";var c0="{label} (facoltativo)";var mee="Si \xE8 verificato un errore",gee=`Si \xE8 verificato un errore imprevisto. Riprova. Se ritieni che si tratti di un errore, contatta un rappresentante dell'account o l'assistenza clienti.`,fee="La condivisione dati che hai richiesto \xE8 gi\xE0 configurata",hee="Vuoi continuare per visualizzare questa condivisione dati?",bee="Non attualmente",_ee="Invio dell'invito alla condivisione dati...",vee="Accordo per la condivisione di dati di Microsoft Learn",yee=`Confermo e accetto le condizioni pilota per la condivisione di dati di Microsoft Learn per consentire a Microsoft di condividere i dati di Learn con la mia organizzazione per gli utenti di Learn che accedono con l'ID tenant della mia organizzazione.`,xee="Riprova con l'account aziendale collegato",Tee="Non \xE8 stato possibile verificare l'account",See=`Accedi con il tuo account aziendale per accedere a questa condivisione dati. Se ritieni che si tratti di un errore, contatta l'assistenza clienti o il rappresentante dell'account.`,wee="S\xEC, grazie",pa="Altro";var Cee="In generale, quanto sei soddisfatto o insoddisfatto di Microsoft Learn?";var u0="Pacchetto",CN="Informazioni di riferimento sul pacchetto per {platformName}";var th="Pagina {pageNumber} di {numberOfPages}";var d0="Paginazione";var Eee="Parametri";var Aee="Il PDF \xE8 stato generato. \xC8 in corso l'apertura automatica...";var kee="Numero di telefono",Nu="Piano";var Iee="Compila questo campo.";var Pee="Si prega di fornire un feedback su come possiamo migliorare questo contenuto. Se applicabile, fornire la prima parte della frase o della stringa in questione.";var Lee="Argomenti generali";var Ree="Stampa";var Mee="La stampa \xE8 disabilitata per il contenuto che richiede l'autorizzazione.",p0="Informativa sulla privacy",$ee="Scarso";var oh="Anteprima";var Cs="Indietro",Dee="Pagina precedente";var nh="Prodotto",zee="Utenti di {productName}:";var ih="Prodotti",Nee="Profilo";var Fee="Linguaggio di programmazione",qee="Linguaggi di programmazione";var Oee="Inviare commenti e suggerimenti per il prodotto";var sx="Domande & risposte";var Uee="domanda posta";var Hee="risposte",Bee="comments";var Vee="voti";var Gee='Apprezziamo la pazienza durante la migrazione del contenuto della community del Supporto tecnico Microsoft a Microsoft Q&A. Non viene eseguita la migrazione di tutto il contenuto e la domanda che si sta cercando \xE8 stata ritirata. Per altre informazioni sulla migrazione, vedere Altre informazioni. \xC8 possibile porre nuovamente la domanda o esplorare altre domande nella pagina di {product}.',Qee="Questa domanda \xE8 stata ritirata";var jee="Hai superato il numero massimo di allegati consentiti. Seleziona al massimo {maximumCount} allegati.";var Yee="Numero massimo di menzioni superato. Selezionare al massimo {maximumCount} menzioni.";var Wee="L'utente \xE8 gi\xE0 sospeso. Aggiorna la pagina.",Kee="L'utente non \xE8 sospeso. Aggiorna la pagina.";var Jee="Non \xE8 possibile eseguire questa azione perch\xE9 l'account \xE8 stato sospeso a causa di una violazione del codice di comportamento. L'account \xE8 stato segnalato manualmente o identificato tramite il rilevamento automatizzato prima dell'esecuzione dell'azione. Per ulteriori informazioni, fai riferimento al codice di comportamento.";var Zee="Questa risposta \xE8 stata utile",Xee="Questa risposta non \xE8 stata utile";var EN="Segnala un problema",AN="Motivo della segnalazione";var ete=` per acconsentire esplicitamente agli aggiornamenti tramite posta elettronica in relazione ai problemi segnalati`,tte="Consenti a Microsoft di contattarmi in relazione a questo report",ote="Nome completo",nte="E-mail",ite='Ti contatteremo tramite il tuo account personale {email}',rte=`Microsoft si impegna ad aiutare gli utenti e a proteggere la privacy. \xC8 possibile leggere l'Informativa sulla privacy di Microsoft se si desidera ottenere altre informazioni su come proteggere i dati personali.`;var ste="Domanda",Hp="Autore di domande",kN=`

Filtro in base ad autore di domande

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

`,IN="Domande";var ate="Domanda per cui \xE8 gi\xE0 disponibile una risposta.";var lte="Domanda obbligatoria.",cte="Domanda facoltativa.",ute="Filtri rapidi";var PN="Leggere in inglese",dte="Leggi in {language}";var pte="Contenuto consigliato",Yn="Riferimento";var mte="Riferimenti";var Fu="Aggiorna";var rh="Rimuovi",LN="Rimuovi {itemName}";var RN="Renew";var m0="Segnala un problema",gte="Seleziona un motivo",fte="Contenuto per adulti e a sfondo sessuale",hte="Sfruttamento sessuale di minori e immagini di abusi",bte="Coordinamento del danno";var _te="Bullismo e molestie",vte="Violenza grafica e spargimento di sangue",yte="Odio e discriminazione",xte="Immagine intima non consensuale & estorsione intima";var Tte="Un'altra violazione delle condizioni per l'utilizzo o del codice di comportamento";var Ste="Bestemmie e volgarit\xE0",wte="Richiesta sessuale";var Cte="Suicidio e autolesionismo",Ete="Terrorismo ed estremismo violento",Ate="Traffico",kte="Minacce violente, incitamento e glorificazione della violenza";var Ite="Richiedi l'anteprima",MN="URL richiesta";var ma="I campi obbligatori sono contrassegnati da un asterisco";var Pte="Tipi";var Lte="Codice risposta";var $N="Riavvia";var Rte="{numberOfResults} risultati",g0="{numberOfResults} risultati";var sh="Riprendi",f0="Ripeti";var Mte="Ruolo";var $te="Percorso di apprendimento";var Dte="Ruoli";var zte="RSS",Nte="Esegui";var h0="Stiamo riscontrando un problema con il processo di verifica della sicurezza necessario per attivare la risorsa. Riprovare tra 10 minuti.",DN=`Abbiamo esaminato la tua contestazione e abbiamo stabilito che il tuo account ha violato le Condizioni per l'utilizzo. L'accesso alle risorse interattivo non verr\xE0 ripristinato. Puoi tuttavia continuare ad accedere ai contenuti per la formazione di Microsoft Learn. Molti esercizi del modulo possono essere completati con la tua sottoscrizione personale, ma \xE8 possibile che vengano applicati addebiti e potrebbe essere necessario modificare le istruzioni in modo da usare la tua sottoscrizione.`;var at="Salva";var Fte="Competenza";var zN="Aggiungi ai piani",NN="Aggiunto/a ai piani",qte="Gestire {title} nei piani",Ote="Aggiungere {title} a un piano";var FN="Copiare piano",Ute="Giorni per l'attivit\xE0 cardine: {number}";var Hte="Tempo stimato per il completamento: {time}";var Bte="{number} attivit\xE0 cardine in questo piano";var Vte="Attivit\xE0 cardine {number}",Gte=`L'aggiunta a {collectionName} \xE8 stata completata`,Qte='Aggiunto/a ai piani',jte="Accedi a Microsoft Learn per usare l'intelligenza artificiale per creare un piano di apprendimento personalizzato che tenga conto delle tue esigenze specifiche e fornisca i contenuti pi\xF9 pertinenti.",Yte='Rimosso da {collectionName}',Wte='Rimosso/a dai piani',b0="Sfondo",Kte="Ruolo corrente",Jte="Scegli un ruolo",_0="Fornire informazioni sulla propria carriera.",Zte="Specificare il titolo e le responsabilit\xE0 dettagliati",Xte="In che fase \xE8 la carriera personale?",eoe="Fase iniziale della carriera (0 - 5 anni)",toe="A met\xE0 della carriera (5 - 10 anni)",ooe="Carriera avanzata (10+ anni)",noe="Crea il tuo piano",ioe="{AppliedSkills} (valutazioni di lab interattive basate su scenari)",roe="Completare un progetto complesso al lavoro",soe="Ottenere credenziali professionali nel proprio campo",aoe="Migliorare un set di competenze, ad esempio imparare un nuovo strumento software o un nuovo linguaggio di programmazione",loe="Immettere tecnologie, obiettivi e metriche di successo del progetto",coe="Tenere premuto CTRL sul pulsante Windows/Comando in Mac per selezionare pi\xF9 opzioni.",uoe="Specificare i dettagli del progetto",doe="Credenziali basate su scenari ottenute tramite valutazioni pratiche e interattive del lab che dimostrano la competenza e la capacit\xE0 di implementare una soluzione reale.";var qN="Seleziona categoria",ax="Seleziona certificazione",poe="Seleziona credenziali",v0="Selezionare una competenza",ON="Selezionar oggetto",moe="Seleziona tipo di credenziali",goe="Quali sono i tuoi obiettivi di carriera?",foe="Scegliere l'obiettivo del piano",y0="Completare un progetto specifico",hoe="Fornire una descrizione dettagliata del progetto, tra cui un'istruzione del problema e il risultato previsto insieme a tecnologie, framework, linguaggi o servizi in uso.",boe="Specificare il titolo e le responsabilit\xE0 dettagliati",_oe="Quali sono l'obiettivo, il problema e il risultato previsto del progetto? Includere tecnologie, framework, linguaggi e servizi in uso.",voe="Cosa fare e non fare quando si descrive il progetto",yoe=`Che cosa fare: "Sto sviluppando un'applicazione basata sul Web che sfrutta gli algoritmi di Machine Learning per stimare le esigenze di inventario, tenere traccia dei livelli delle scorte in tempo reale e automatizzare i processi di riordinamento.

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

Le tecnologie che verranno usate sono Microsoft Blazor per l'interfaccia utente front-end, ASP.NET Core per la logica lato server e le richieste API, Azure Cosmos DB per l'archiviazione di dati e transazioni di inventario, Azure Machine Learning e servizi cloud di Azure."`,xoe=`Che cosa non fare: "\xC8 necessario creare un'app Web di rilevamento inventario".`,Toe=`Dedicare alcuni minuti per creare il piano di apprendimento con l'intelligenza artificiale, personalizzato per l'utente. Microsoft non condivider\xE0 mai questi dati. Leggere le note sulla trasparenza dell'intelligenza artificiale per altre informazioni su casi d'uso, limitazioni e informativa sulla privacy.`,x0="Ottieni una verifica dei titoli",Soe="Come si vogliono ottenere le credenziali?",woe="Convalidare le competenze tramite una valutazione basata su scenari",T0="Selezionare le co{AppliedSkills} pi\xF9 rilevanti",Coe="Ottenere una certificazione Microsoft riconosciuta dal settore e basata sui ruoli",S0="Certificazioni riconosciute dal settore",w0="Si \xE8 verificato un errore. Riprovare.",Eoe="Il piano non \xE8 stato generato perch\xE9 il modulo potrebbe includere la formulazione che potrebbe essere violazione del codice di comportamento di Microsoft Learn. Si prega di ricominciare e modificare la formulazione.",Aoe="Sfortunatamente, non \xE8 stato possibile generare il piano. Si prega di ricominciare.",koe="Non \xE8 possibile aprire il piano. Riprovare.",Ioe="Non \xE8 stato possibile trovare le credenziali per questo ruolo. Selezionare un ruolo diverso e riprovare.",C0="Immettere la posizione e le responsabilit\xE0 dettagliate che possono aiutare il sistema di intelligenza artificiale a personalizzare meglio il piano di apprendimento. \xC8 consigliabile aggiungere la posizione e i dettagli sulle attivit\xE0 specifiche eseguite in relazione all'obiettivo del piano";var Poe="Fornire tutti i dettagli possibili, ma non includere informazioni private o riservate",UN="Questo piano \xE8 stato utile?",Loe="I prompt e le risposte generate verranno condivisi. Anteprima di ci\xF2 che verr\xE0 condiviso {here}",HN="Questo piano \xE8 utile",BN="Questo piano non \xE8 utile",Roe="Apprezziamo che venga preso il tempo per valutare il piano suggerito e fornire commenti. L'input ci aiuter\xE0 a migliorare l'esperienza.",Moe="Quale aspetto del piano potrebbe essere migliorato?",$oe="Quali sono gli elementi che sono stati apprezzati di questo piano?",Doe="Obiettivo",zoe="Generare il piano",E0="Generazione del piano in corso...",Noe="Ci siamo quasi",Foe="\xC8 quasi tutto pronto: mancano solo gli ultimi ritocchi per garantire che tutto sia perfetto!",qoe="Tempo di completamento",Ooe="Attualmente \xE8 in corso la stima del tempo di completamento delle attivit\xE0 cardine in base al ritmo di apprendimento.",Uoe="Successivamente verranno delineati i risultati dell\u2019apprendimento.",Hoe="Infine verranno impostate le attivit\xE0 cardine, tra cui le fasi chiave e quelle di verifica.",Boe="Prima di tutto verranno generati il titolo e la descrizione del piano che definiranno lo scopo e l'ambito del progetto.",Voe="Titolo e descrizione",A0="Crescere nella carriera attuale",Goe="Come funziona?",Qoe=`Ogni piano generato dall'IA si basa sulle selezioni e sulle informazioni fornite. I contenuti pertinenti di Microsoft vengono curati per creare un piano personalizzato. Questo piano include formazione e documentazione su misura, attivit\xE0 cardine organizzate, strumenti di rilevamento dello stato per singoli utenti o gruppi e riconoscimento al completamento. Altre informazioni sul funzionamento della generazione del piano di IA e sulle relative limitazioni.`,ah="Obiettivi",k0="Fornire maggiori informazioni sui propri obiettivi di carriera.",I0="Iniziare una nuova carriera",joe="Immettere la posizione e le responsabilit\xE0 dettagliate. \xC8 consigliabile usare posizioni specifiche e/o responsabilit\xE0 dettagliate correlate all'obiettivo del piano. Ci\xF2 consente al sistema di intelligenza artificiale di essere pi\xF9 personalizzato e accurato.",Yoe="Descrizione del ruolo",Woe="Seleziona il ruolo",Koe="Selezionare il ruolo pi\xF9 rilevante",Joe="Quale ruolo si vuole esplorare?",Zoe="Ricomincia senza salvare",Xoe="Ricominciare senza salvare il piano?",ene="Se si ricomincia, il piano e le informazioni immesse non verranno salvate e sar\xE0 necessario immettere di nuovo i dettagli e le preferenze.",tne="Dedicare alcuni minuti per creare il piano di apprendimento con l'intelligenza artificiale, personalizzato per l'utente.",lx="Comunicare l'obiettivo",one="Aggiungere il maggior numero possibile di informazioni e dettagli",nne=`Esempio: "Il mio obiettivo \xE8 diventare esperto nei servizi di intelligenza artificiale di Azure. Si vuole imparare a creare, distribuire e gestire modelli di intelligenza artificiale usando Azure Machine Learning. Inoltre, ho l'obiettivo di comprendere come integrare questi modelli nelle applicazioni esistenti per migliorare le proprie funzionalit\xE0 e fornire informazioni pi\xF9 dettagliate."`,cx="Sequenza temporale",ux="Facci sapere quanto tempo hai a disposizione per lavorare al tuo piano.",ine="Quanto tempo si pu\xF2 dedicare settimanalmente?",rne="Quando si vuole completare il piano di apprendimento?",sne="Meno di 1 ore",ane="1-2 ore",lne="3 - 5 ore",cne="5 - 10 ore",une="Pi\xF9 di 10 ore",dne="Entro 3 mesi",pne="3-6 mesi",mne="6-12 mesi",gne="Pi\xF9 di 12 mesi";var lh="Rivedere il piano";var fne="L'operazione \xE8 stata completata. Il nuovo piano \xE8 pronto. Rivedere perch\xE9 il contenuto generato da IA potrebbe non essere accurato.";var hne="Piano di esempio",bne="Questo piano di capacit\xE0 illustra lo sviluppo di soluzioni IA usando Servizi di Azure AI, concentrandosi sull'elaborazione del linguaggio naturale, sulla IA generativa e sulle applicazioni di intelligenza artificiale personalizzate. Si apprender\xE0 a sfruttare i potenti strumenti e servizi di Azure.";var _ne="Al termine di questo piano, sar\xE0 possibile creare e implementare soluzioni di intelligenza artificiale usando Servizi di Azure AI, tra cui l'elaborazione del linguaggio naturale e le applicazioni di IA generativa.",vne="Al termine di questo piano, sar\xE0 possibile implementare applicazioni di intelligenza artificiale personalizzate usando Azure OpenAI e Studio AI della piattaforma Azure.",yne="Al termine di questo piano, sar\xE0 possibile sviluppare applicazioni intelligenti che usano le funzionalit\xE0 di Azure per intelligenza artificiale in diversi casi d'uso.",xne="Informazioni su Servizi di Azure AI",Tne="In questa sezione si esploreranno i dati principali di Servizi di Azure AI, ottenendo la conoscenza fondamentale per creare soluzioni di IA. Le tecnologie chiave includono Servizi di Azure AI, con attivit\xE0 quali la comprensione delle funzionalit\xE0 del servizio e la configurazione iniziale.",Sne="Introduzione a Servizi di Azure AI",wne="Sviluppare soluzioni di IA avanzata con Azure",Cne="Questa sezione \xE8 incentrata sullo sviluppo di soluzioni di IA avanzata, tra cui elaborazione del linguaggio naturale e IA generativa. Gli studenti lavoreranno con Servizi di Azure AI e Servizio OpenAI, impegnandosi in attivit\xE0 quali la creazione di modelli linguistici e la creazione di copiloti personalizzati.",Ene="Sviluppare soluzioni di elaborazione del linguaggio naturale con Servizi di Azure AI",Ane="Sviluppa applicazioni con Azure OpenAI nei modelli di Foundry",kne="Sviluppare copiloti personalizzati con Studio AI della piattaforma Azure",Ine="Sviluppare soluzioni di IA con Servizi di Azure AI",Pne='Piani aggiornati';var Lne="Scegliere un nome diverso per il piano",Rne="Copia collegamento";var P0="Gestione";var L0="Esci",Mne="Rimuovi dal piano",$ne="Confermi di voler uscire da questo piano?",Dne="Tutti i record dello stato di avanzamento andranno persi e non verranno visualizzati nel report dell'autore.",zne="S\xEC, chiudi",Nne="Immettere un titolo";var Fne="Questo piano \xE8 privato.",qne="L'autore di questo piano lo ha contrassegnato come privato e non \xE8 attualmente visibile ad altri utenti.",One="Puoi esaminare i piani nel profilo utente.",Une="Visualizzare i piani",Hne='Puoi anche tornare ai piani.',Bne="Piano non disponibile",Vne="Questo piano non esiste o \xE8 stato rimosso.",Gne="Se questo collegamento \xE8 stato condiviso con te, richiedi un nuovo collegamento.",Qne="Completato";var jne="Un piano consente ai discenti di procedere attraverso una serie di attivit\xE0 cardine per ottenere risultati di apprendimento. \xC8 possibile invitare i discenti al proprio piano e tenere traccia dei loro progressi.",Yne="Avviato";var Wne="Piano ufficiale";var Kne="Pagina non trovata. Aggiorna la pagina.",Jne="Una o pi\xF9 attivit\xE0 cardine sono vuote o mancano i giorni consigliati per il completamento. Risolvere questi problemi prima di pubblicare il piano.",Zne="Dettagli piano";var Xne="Elimina piano",eie="Per eliminare il piano, assicurarsi che non contenga alcun utente aggiunto. Tutti gli utenti devono prima rimuovere il piano.",tie="Eliminare il piano seguente?",oie="S\xEC, eliminare il piano";var ch="Invita studenti",VN="Copia il link di partecipazione",nie="Collegamento copiato negli Appunti",iie="Elimina gruppo di apprendimento",rie="Si sta per eliminare il gruppo di apprendimento seguente: {learningGroupName}. Continuare?",sie="Gruppo eliminato",aie="Gruppi",dx="Nome del gruppo",lie="Privati";var cie="Un gruppo di apprendimento \xE8 un nome che consente di identificare un gruppo di studenti nel rapporto sullo stato di avanzamento; gli studenti non vedranno questo nome.

La creazione di un gruppo di apprendimento genera un collegamento univoco al piano per il gruppo specifico di studenti.";var GN="Nuovo gruppo di apprendimento",uie="Immetti un nome per questo gruppo di apprendimento",die="Invito per avviare il piano {planTitle} su Microsoft Learn",pie="Avviare il piano e iniziare il percorso di apprendimento oggi stesso.",mie="\xC8 stato ricevuto un invito per avviare il piano {planTitle} su Microsoft Learn.",gie="Un piano \xE8 un set di contenuti curati e organizzati su Microsoft Learn con attivit\xE0 cardine concepite per raggiungere i propri obiettivi di apprendimento.",fie="Completando questo piano, si raggiungeranno i risultati di apprendimento seguenti:",hie="\xC8 possibile avviare il piano oggi stesso!",uh="Visualizzare lo stato",bie="Scaricare questo file per visualizzare un elenco di discenti e i relativi progressi.",R0="Scarica CSV",_ie="Il file contiene le informazioni seguenti:",vie="Gruppo di discenti",yie="Nome utente Learn",xie="Data di inizio",Tie="Data di fine",Sie="Elementi completati",wie="Elementi in totale",qu="Risultati di apprendimento",Cie="Modifica i risultati di apprendimento",Eie="Un risultato di apprendimento \xE8 una conoscenza o competenze specifiche che il discente otterr\xE0 in seguito al completamento di questo piano.",Aie='Suggerimento: iniziare ogni risultato di apprendimento con un verbo. Ogni risultato dovrebbe terminare la frase "Al termine di questo piano, gli studenti saranno in grado di..."';var kie="Risultato 1",Iie="Risultato 2 (facoltativo)",Pie="Risultato 3 (facoltativo)",Lie="Risultato {number}",Rie="Convertire in un piano ufficiale",Mie="Convertire un piano in un piano ufficiale",$ie="\xC8 consigliabile usare un piano ufficiale quando si vuole che il piano rappresenti Microsoft e se si desidera includere collegamenti esterni a Microsoft Learn. Assicurarsi sempre che il piano sia completo, privo di errori tipografici e che il contenuto si trova nella sequenza corretta. Una volta pubblicato un piano ufficiale, non pu\xF2 essere modificato.",Die="Per mantenere i collegamenti esterni da una raccolta o un piano ufficiale sottostante, convertirlo in un piano ufficiale.",zie="Un piano ufficiale rappresenta Microsoft, quindi \xE8 necessario assicurarsi che il piano pubblicato sia completo, privo di errori tipografici e che il contenuto si trovi nella sequenza corretta.";var M0="Questo piano \xE8 stato inviato per la localizzazione",Nie="Il piano \xE8 completo e corretto",Fie="Grazie per aver inviato il piano ufficiale per la localizzazione.",qie="Contrassegna come completato",QN="Passaggio fondamentale",Oie="Aggiungi attivit\xE0 cardine",Uie="Modifica attivit\xE0 cardine";var Hie="Nuova attivit\xE0 cardine",Bie="Giorni per l\u2019attivit\xE0 cardine:",Vie="1 attivit\xE0 cardine",Gie="{numberOfMilestones} attivit\xE0 cardine";var Qie="Attivit\xE0 cardine completata";var jie="Sposta in";var Yie="Verificare che tutte le attivit\xE0 cardine abbiano un titolo e i giorni per il completamento. Potrebbe essere necessario espandere ogni attivit\xE0 cardine.";var Wie="Contrassegnare come completato?",Kie="Contrassegnarlo completo? Dopo averlo contrassegnato come completato, non sar\xE0 possibile esaminarlo di nuovo.",Jie="Benvenuto!",Zie="Per avviare questo piano, \xE8 necessario condividere i dati sullo stato del piano con l'autore del piano. I dati che verranno condivisi sono: le date di inizio e di completamento del piano e il numero di elementi del totale completato in qualsiasi momento. I dati verranno associati al nome utente di Learn pubblico.",Xie="Si accetta di condividere i progressi?",ere="S\xEC, accetto di condividere l\u2019avanzamento",tre="Se desideri ricevere email utili per guidare e incoraggiare l'utente durante il tuo percorso relativo ai piani, vai alla pagina Impostazioni profilo e fornisci un\u2019email di contatto per le notifiche.",ore="Salvare tutti gli elementi in questo piano come nuovi",nre="Eseguire l'accesso per aggiungere questo elemento al piano.";var ire="Non sono ancora presenti piani.",jN="Esiste gi\xE0 un gruppo di apprendimento con questo nome. Immetti un nome diverso.";var rre="Piano segnalato",sre=`\xC8 stato segnalato un problema su questo piano, che al momento \xE8 in revisione da parte di Microsoft. Per ulteriori informazioni, fare riferimento alle condizioni per l'utilizzo.`;var are="Salva la raccolta personalizzata";var YN="Pianifica l'esame";var io="Ricerca";var lre="Cerca in Microsoft Learn";var WN="Filtri di ricerca";var cre="Cerca in Microsoft Learn",ure="Cerca la documentazione",px="Cerca nelle versioni precedenti";var $0="Secondi",dre="{duration} secondi fa",pre="{seconds} secondi",D0="Sezione",mre="Sezione intitolata: {title}";var mx="Comprimi";var Ou="Altre informazioni";var z0="Seleziona il pacchetto";var N0="Seleziona la versione";var gre="Servizio";var Bp="Impostazioni",F0="Condividi";var q0="[Articolo condiviso] {articleTitle}",fre="Ho completato {achievementTitle}! Festeggio con orgoglio questo obiettivo raggiunto e spero che sia l'ispirazione per iniziare il tuo processo per @MicrosoftLearn!";var gx="Condividi nel tuo feed:";var KN="Condividi tramite";var hre="Condividi il risultato ottenuto:",bre="Condivisione",_re="La condivisione \xE8 disabilitata per il contenuto che richiede l'autorizzazione.";var dh="Mostra meno",Uu="Mostra altro",O0="Mostra {number} in pi\xF9",U0="Connesso",Zi="Accedi";var vre="Accesso...";var yre='Accedi a Microsoft Learn';var fx="Accedi per iniziare",Vp="Disconnetti";var xre="Sito";var Tre="altri {count}",H0="Cancella filtri",Sre="Nascondi filtro",JN="Opzioni {filter}";var wre="Termini oggetto di query:",ZN="Sto pensando...",XN="Sto generando un risultato...",e2="Sto cercando...",Cre="Risultati ricerca",t2="Purtroppo non posso esserti d'aiuto. Invia una nuova richiesta o condividi il feedback.",o2="Hai inviato troppe richieste in poco tempo. Attendi qualche minuto e riprova.",Ere="Contenuto accurato/pertinente",Are="Contenuto completo/non crittografato",kre="Risposta rapida",Ire="Contenuto impreciso/non pertinente",Pre="Contenuto incompleto/non chiaro",Lre="Contenuto offensivo/inappropriato",Rre="Risposta lenta",n2="Qualcos'altro",i2="Fornire tutti i dettagli possibili, ma non includere informazioni private o riservate",Mre="Parla con noi",$re="Questa risposta \xE8 stata utile",Dre="Questa risposta non \xE8 stata utile",ph="Riepilogo IA",Gp="Si \xE8 verificato un errore. Riprova pi\xF9 tardi.",r2="I riepiloghi non sono temporaneamente disponibili. Riprovare pi\xF9 tardi.";var s2="Recupero del riepilogo non riuscito",a2="Risposta del riepilogo non valida";var Hu="Il contenuto generato dall'IA potrebbe non essere corretto.",mh=`Leggere le note sulla trasparenza dell'IA per altre informazioni.`,zre=`Leggere le note sulla trasparenza dell'IA per altre informazioni.`,gh="Grazie per aver inviato il feedback.",hx="Nascondi",l2="Mostra",B0="Generazione in corso...",Nre="Attendi qualche minuto e riprova.",V0="Queste informazioni non sono ancora disponibili.",Fre='{count} risultati per "{searchPhrase}"',qre='{count} risultato per "{searchPhrase}"',Ore='{count} risultati simili per "{searchPhrase}"',Ure='{count} risultato simile per "{searchPhrase}"',Hre='{count} risultati per "{searchPhrase}" in {scope}',Bre='{count} risultato per "{searchPhrase}" in {scope}',Vre='{count} risultati simili per "{searchPhrase}" in {scope}',Gre='{count} risultato simile per "{searchPhrase}" in {scope}',Qre='Non \xE8 stata trovata alcuna corrispondenza. Vengono visualizzati {count} risultati simili a "{searchPhrase}".',jre='Non \xE8 stata trovata alcuna corrispondenza. Viene visualizzato {count} risultato simile a "{searchPhrase}".';var Yre="oppure visualizza tutti i risultati in Microsoft Learn",Wre='{count} risultati per "{searchPhrase}" in {scope} {pivotCategory}',Kre='{count} risultato per "{searchPhrase}" in {scope} {pivotCategory}',Jre='{count} risultati simili per "{searchPhrase}" in {scope} {pivotCategory}',Zre='{count} risultato simile per "{searchPhrase}" in {scope} {pivotCategory}',fh="Non siamo riusciti a trovare elementi corrispondenti alla tua ricerca.",Xre="Abbiamo provato a eseguire il controllo ortografico e ad ampliare l'ambito della ricerca, ma non sono stati comunque trovati risultati. Prova a usare una parola chiave o una frase diversa.",ese="Nel dispositivo \xE8 attualmente presente un blocco di protezione. I dettagli non sono attualmente disponibili. Quando l'aggiornamento \xE8 disponibile, verr\xE0 visualizzato nella pagina di Windows Update in Impostazioni.",tse="L'aggiornamento non \xE8 ancora disponibile per il dispositivo",ose="Non siamo riusciti a trovare elementi corrispondenti alla tua ricerca in {scope}.",nse='Puoi comunque .',ise='Non sono stati trovati risultati corrispondenti a "{searchPhrase}"',rse='Non sono stati trovati risultati corrispondenti a "{searchPhrase}" in {scope}';var rl="Si \xE8 verificato un errore",Kt="Si \xE8 verificato un errore. Riprova.";var Qp="GitHub";var sse="Ordina per:";var ga="Avvio",ase="Inizia {startDate}",lse="Data di inizio";var cse="Data di inizio";var use="Ricomincia da capo";var dse="Passaggio {step-index} di {step-count}",pse="Gestisci {title} nelle guide allo studio",mse="Aggiungi {title} nelle guide allo studio";var gse="Oggetto",fse="Oggetti",zo="Invia";var hse="Invia un altro feedback";var bse="L'invio \xE8 stato completato!",_se="L'invio di feedback \xE8 molto apprezzato. Lo esamineremo a breve. Nota che l'invio di feedback \xE8 una comunicazione unidirezionale e non risponderemo in questo momento.",vse="Nota che, anche se non possiamo rispondere al feedback, il nostro team user\xE0 i tuoi commenti per migliorare l'esperienza.";var yse="Suggerimenti",xse="I suggerimenti verranno filtrati durante la digitazione";var Tse="Supporto";var Sse="Tabella {index}";var wse="Tag";var c2="Tag";var Cse="Caratteri rimanenti";var Ese="Le immagini esterne possono essere collegate solo da determinati siti Web. Questi URL di immagine non sono consentiti: {urls}. Fai clic pe visualizzare l'elenco completo di domini consentiti.",Ase="Il file {fileName} non \xE8 valido. Il tipo di file deve essere un'immagine con formato GIF, JPG, JPEG o PNG valido.",kse="Il file {fileName} \xE8 troppo grande. Le dimensioni del file non possono superare 5 MB.";var Ise="Cloud Shell";var Pse="{account} ha gi\xE0 un profilo",Lse="Hai raggiunto il limite di account",Rse="Non \xE8 possibile collegare pi\xF9 di cinque account aziendali o dell'istituto di istruzione a un profilo. Rimuovi un account e riprova.";var Mse="Hai gi\xE0 un account collegato nella stessa organizzazione";var $se="Aggiungi un altro account e riprova.";var Dse='Puoi collegare solo account che non hanno un profilo registrato. Seleziona un account diverso o vedi le indicazioni per la risoluzione dei problemi per altri dettagli.';var zse="Hai gi\xE0 collegato questo account",Nse="{account} \xE8 un account personale. Seleziona un account aziendale o dell'istituto di istruzione.";var Fse="Devi avere almeno un account collegato al profilo.";var qse="\xC8 supportato solo un account per organizzazione.",Ose="Puoi avere solo un account personale collegato",Use="\xC8 attualmente in corso l'unione di questo profilo",Hse="Puoi aggiornare la pagina per controllare lo stato dell'unione.";var Bse="Seleziona un account",u2="Seleziona un account diverso";var Vse="Un profilo di certificazione \xE8 gi\xE0 connesso a questo profilo",Gse="Per continuare, contatta il supporto tecnico per rimuovere il profilo di certificazione corrente e continuare.";var Qse="Questo profilo \xE8 stato bloccato",jse="Questo profilo \xE8 attualmente bloccato e verr\xE0 unito a un altro profilo. Accedi a un profilo diverso.",d2="Riprova a eseguire l'unione",p2="Termina unione";var Yse="L'unione \xE8 stata completata";var Wse="Puoi aggiornare la pagina per controllare lo stato dell'unione.",Kse="Il record dell'unione dei profili non \xE8 stato trovato",Jse=`Non \xE8 possibile trovare l'unione del profilo. Aggiorna la pagina. Se il problema persiste, contatta l'assistenza clienti.`,Zse="Un precedente tentativo di unione impedisce questa azione",Xse="Uno dei profili che si sta tentando di unire \xE8 attualmente in fase di unione con un altro profilo. Accedere a entrambi i profili per controllare lo stato.";var eae="I profili sono stati uniti.",tae="Si \xE8 verificato un problema durante l'unione del profilo di origine (nome utente: {sourceUser}) con il profilo di destinazione (nome utente: {destinationUser}).",oae="\xC8 possibile che alcuni dati siano stati uniti durante il processo, quindi si prevede che alcuni dati scompaiano dal profilo di origine e vengano visualizzati nel profilo di destinazione.",nae="Puoi scegliere una delle azioni seguenti:",iae="{terminateMergeText}: Verr\xE0 arrestato e chiuso il processo di merge. Potrai usare normalmente entrambi i profili e attivare una nuova unione in qualsiasi momento. I dati gi\xE0 uniti rimarranno nel profilo di destinazione.",rae="{retryMergeText}: Verr\xE0 eseguito di nuovo il processo di merge per l'utente. Il profilo di origine verr\xE0 bloccato durante il processo di unione.",sae="Unione in corso. pu\xF2 richiede alcuni minuti.",aae="L'unione \xE8 stata interrotta.";var lae="Microsoft MVP";var cae="Student Ambassadors di Microsoft Learn";var uae="Accedi con un altro account";var dae="Ti diamo il benvenuto in Domande & risposte!",pae="Ottieni aggiornamenti personalizzati sugli argomenti che ti interessano",mae="Costruisci la tua reputazione aiutando gli altri",gae="Connettiti immediatamente con le persone che condividono i tuoi interessi";var fae="Senza completare la registrazione, non sar\xE0 possibile pubblicare o porre una domanda in Domande & risposte.";var hae="Condividi la tua opinione",G0="Condividi altre informazioni.",bae="Condividi la tua opinione.",_ae="Condividi la tua opinione! I tuoi commenti sono essenziali per noi.";var vae="Terribile";var Q0="Grazie per il feedback.",yae="Grazie per il feedback interessante!";var xae="Questo articolo \xE8 utile",Tae="Questo articolo non \xE8 utile";var Sae="Questa pagina";var wae="Questa sezione verr\xE0 eliminata definitivamente.";var Cae="Microsoft Build 2026";var Eae="AI Skills Fest";var Aae="Aggiornati su keynote, sessioni e annunci. Impara in qualsiasi momento, a richiesta, al tuo ritmo.",kae="Guarda i video on demand",Iae="8-12 giugno 2026",Pae="Creare competenze di intelligenza artificiale con possibilit\xE0 di ottenere premi e voucher di certificazione",Lae="Ottieni il tuo pass gratuito",Rae="Suggerimento";var yc="Titolo";var Mae="Il tuo account {email} di Azure ha pi\xF9 tenant. Scegline uno da usare per questa esperienza.",$ae="Hai gi\xE0 eseguito l'accesso a Learn con l'account seguente. Vuoi continuare l'esperienza corrente con questo account?",Dae="Conferma l'account",zae="Continua con l'account",Nae="Scegli uno dei tuoi tenant di Azure",Fae="Versione di valutazione gratuita di Azure",qae="Si \xE8 verificato un problema! In questo account non \xE8 disponibile alcuna sottoscrizione di Azure",Oae="Il tuo account {email} non ha alcuna sottoscrizione di Azure associata. Puoi provare una versione di valutazione gratuita di Azure o accedere con un account diverso!",Uae="Se il tuo account non ha un profilo di Learn registrato, questo processo completer\xE0 la procedura per conto tuo.";var Hae="Accedi con il tuo account.",j0="Usa un account diverso";var Xi="Formazione";var Bu="Si \xE8 verificato un errore. Ricarica la pagina per riprovare.";var Vu="Riprova";var hh="Prova",Bae="Prova l'API REST con gli input riportati pi\xF9 avanti.",Vae="Si \xE8 verificato un problema durante l'elaborazione della richiesta",Gae="Esercitazione";var Qae="Ultimi 7 giorni",jae="Ultime 24 ore",Yae="Ultimi 30 giorni",Wae="Ultimi 365 giorni";var Kae="tipo";var Jae="URL",Y0="URL copiato!";var m2="Verifica l'account",bh="Versione",Zae="Versioni";var g2="Video";var f2="Visualizza i risultati ({totalResults})";var Xae="\xC8 consigliabile usare Visual Studio 2019.",ele="Scarica ora",tle="Documentazione di Visual Studio";var ole="Avviso";var nle="Questa pagina \xE8 stata utile?";var ile="Pagina Web";var W0="Settimana";var K0="Settimane";var rle="{duration} settimane fa";var sle='Benvenuto in Microsoft Learn!';var ale="Qual \xE8 il motivo per il feedback?";var lle='con intelligenza artificiale in Microsoft Learn ';var cle="Documentazione di Windows";var _h="x.com",h2="{totalXP} XP";var ule="Year",b2="Anni";var Es="S\xEC",xc="S\xEC, elimina";var dle="Non sono ancora presenti raccolte.";var ple="Devi selezionare tra {min} e {max} {tagLabel}.",mle="`{tagLabel}` non \xE8 pi\xF9 in uso. Usare un tag diverso che si applica allo scenario.";var gle="Account";var fle="MSDN TechNet \xE8 stato ritirato e questo articolo non esiste pi\xF9. I collegamenti seguenti contengono informazioni correlate:",hle="Contenuto wiki di TechNet archiviato",ble="Forum MSDN e TechNet archiviati";var _le="Documentazione di Microsoft Learn",vle="Home page di Microsoft Learn",yle="Microsoft Q&A";var jp=window;var H=jp,vh=jp.navigator,S=jp.document,xle=jp.localStorage,Wn=jp.history,te=jp.location,b=H.msDocs,xe=new Promise(e=>{S.readyState==="loading"?S.addEventListener("DOMContentLoaded",()=>e()):e()});k();function Rt(){window.dispatchEvent(new CustomEvent("content-update"))}function Jt(e,t,o="",n="button-info",i="banner",r){let s=r||S.getElementById("disclaimer-holder");if(!s||S.getElementById("server-disclaimer-holder"))return null;let l=t&&t.url?d`${t.text}`:"",c=t&&t.clickHandler?d``:"",u=t?d`
${l||c}
`:"";return x(d``,s),Rt(),s}var vx="__event_type_id__",hRe=0,Be=class{constructor(){this.callbacks={}}publish(t){let o=t.constructor[vx];if(o===void 0||this.callbacks[o]===void 0)return;let n=this.callbacks[o].slice(0);for(let i of n)i(t)}subscribe(t,o){t.hasOwnProperty(vx)||(t[vx]=hRe++);let n=t[vx];this.callbacks[n]===void 0&&(this.callbacks[n]=[]);let i=this.callbacks[n];return i.indexOf(o)===-1&&i.push(o),()=>this.unsubscribe(t,o)}unsubscribe(t,o){let n=t[vx];if(n===void 0||this.callbacks[n]===void 0)return;let i=this.callbacks[n],r=i.indexOf(o);r!==-1&&i.splice(r,1)}dispose(){this.callbacks={}}},ut=new Be;function ju(e,t,o){let n=()=>{},i=r=>{o(r),n()};return n=e.subscribe(t,i),n}var Ah=class{constructor(t){this.url=t}},bo=class{constructor(t,o,n){this.title=t;this.url=o;this.referrerUrl=n}};var ll;function D2(){ll={};let e=S.head.querySelectorAll("meta[name],meta[property]");for(let t=0;t{let n=o.name||o.getAttribute("property");return t[n]=o.content,t},{})}function P(e){return ll===void 0&&D2(),ll[e]===void 0?void 0:ll[e][0]}function As(e){return ll===void 0&&D2(),ll[e]?ll[e].slice():[]}var dt=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}},Nr=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 ce(e){let t,o=/\+/g,n=/([^&=]+)=?([^&]*)/g,i=s=>decodeURIComponent(s.replace(o," "));e===void 0&&(e=te.search),e=e.substring(1);let r={};for(;t=n.exec(e);)r[i(t[1])]=i(t[2]);return r}function pe(e,t=!1){let o=[];for(let n in e)e.hasOwnProperty(n)&&e[n]!==""&&e[n]!==null&&e[n]!==void 0&&(t&&Array.isArray(e[n])?e[n].forEach(i=>{o.push(encodeURIComponent(n)+"="+encodeURIComponent(i))}):o.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n].toString())));return o.join("&")}function Vt(e,t,o){let n=ce(),i=!1;for(let c in e)e.hasOwnProperty(c)&&n[c]!==String(e[c])&&(n[c]=e[c],i=!0);let r=te.hash;if(typeof o=="string"&&(o=o.trim(),o.substr(0,1)!=="#"&&o!==""&&(o=`#${o}`),r!==o&&(r=o,i=!0)),!i)return;let s=pe(n);s.length>0&&(s="?"+s);let a=`${te.protocol}//${te.host}${te.pathname}${s}${r}`,l=Wn.state||{};t==="pushState"?Wn.pushState(l,S.title,a):t==="replaceState"?Wn.replaceState(l,S.title,a):te.href=a}function z2(e){let t=S.createElement("a");/^https:\/\/|^http:\/\//.test(e)?t.href=e:/^\/\//.test(e)?t.href=te.protocol+e:t.href=te.origin+e;let o=t.pathname[0]==="/"?t.pathname:"/"+t.pathname,n=t.host.replace(/:443$|:80$/,""),i=t.hostname.replace(/:443$|:80$/,"");return{hash:t.hash,host:n,hostname:i,href:t.href,origin:`${t.protocol}//${n}`,pathname:o,protocol:t.protocol,search:t.search}}function N2(e,t=2e3,o=";"){let n=encodeURIComponent(o).length,i=[],r,s;for(let a of e){let l=encodeURIComponent(a).length;if(l>t)throw new Error(`The encoded length of "${a}" (${l}) is greater than the max partition length (${t}).`);(!r||s+l>t)&&(r=[],i.push(r),s=0),r.push(a),s+=l+n}return i}function ui(e=new URL(te.href)){let t=new URLSearchParams(e.search),o={};return t.forEach((n,i)=>o[i]=n),o}var Bo=(()=>{let e;return t=>{if(!t&&e!==void 0)return e;let o=ce().dataSource;return e=P("is_archived")==="true"||b.data.pageTemplate==="SearchPage"&&o==="previousVersions",e}})();function _Re(){return P("is_retired")==="true"}function vRe(){let e=location.pathname.split("/").filter(t=>t!=="");return e.length>=2&&e[1]==="previous-versions"}function yRe(){if(!Bo())return;let e=dt.machineTranslated,t=e?vK:_K,o=vRe(),n=e?o?CK:bK:o?wK:fK,i=P("current_version_url"),r=_Re()?t:n;if(P("vs_archive")==="true"){let a=Xae,l=ele;Jt(a,{url:`https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=${location.host}&utm_campaign=button+cta&utm_content=download+vs2019`,text:l})}if(i)Jt(r,{url:i,text:EK});else if(b.data.pageTemplate==="SearchPage"){let a=cN;Jt(MK,{url:location.origin,text:a})}else{let a=cN;Jt(r,{url:location.origin,text:a})}}function Ole(){Bo()&&yRe()}function xRe(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:xRe(location.hostname);var oe={setItem(e,t){try{H.localStorage.setItem(e,t)}catch{}},getItem(e){try{return H.localStorage.getItem(e)}catch{return null}},removeItem(e){try{H.localStorage.removeItem(e)}catch{}},clear(){try{H.localStorage.clear()}catch{}}},kh={setItem(e,t){try{H.sessionStorage.setItem(e,t)}catch{}},getItem(e){try{return H.sessionStorage.getItem(e)}catch{return null}},removeItem(e){try{H.sessionStorage.removeItem(e)}catch{}}};var F2="docs.preview",q2=(new URLSearchParams(te.search).get("preview")||"").split(",").map(e=>e.trim().toLowerCase()).reduce((e,t)=>(t!==""&&(e[t]=1),e),{}),yx,TRe=()=>{let e;return oe.getItem(F2)?e=JSON.parse(oe.getItem(F2)):e={},e},SRe=(e,t)=>{yx=TRe();let o=q2[e]===1,n=!isNaN(yx[e]),i=o||n,r=q2[`x-${e}`];return o?console.log(`Preview ${e} via query string`):n&&console.log(`Preview ${e} via local storage`),t&&(i||r)&&(i&&(yx[e]=Date.now()),r&&delete yx[e],oe.setItem(F2,JSON.stringify(yx))),i},je=(e,t={require:!1,persist:!1})=>{let{require:o,persist:n}=t;return R.reviewFeatures&&Object.keys(q2).length===0&&!o?!0:(e=e.toLowerCase(),SRe(e,n))};function Ih(e=te.search,t=R.reviewFeatures){let o="preview-date",n=new URLSearchParams(e),i=new Date(n.get(o)).getTime();return t&&!isNaN(i)&&i!==0?i:Date.now()}var wRe=["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 Ule(){let e=P("original_content_git_url");return wRe.some(o=>e?.startsWith(o))}function Hle(){let e=P("page_type"),t=P("page_kind"),o=P("is_admin")==="true",n=P("is_editor")==="true";return e==="learn"||e==="profile"||o||n||t==="learn"&&(e==="browse"||e==="home")}var C=CRe();function CRe(){return{aiSummary:b.data.pageTemplate==="Conceptual"&&b.data.userLocale?.startsWith("en"),arkoseEncrypt:R.reviewFeatures,apiBrowser:!0,applicationInsights:Hle(),appliedSkills:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||je("applied-skills",{require:!0})||je("applied-skills-share",{require:!0}),appliedSkillsManager:!0,appliedSkillsShare:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||je("applied-skills-share",{require:!0}),assessmentBranches:R.supportLevel==="production"&&R.reviewFeatures,assessmentMergerLearnAssessment:je("assessment-merger-learn-assessment",{require:!0}),assessmentMergerPracticeAssessment:je("assessment-merger-practice-assessment",{require:!0}),assessmentMergerRenewalAssessment:je("assessment-merger-renewal-assessment",{require:!0}),assessments:R.siteName==="learn",assessmentsEmail:je("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()||je("certification-and-course-updates",{require:!0}),certificationUpdates:Date.now()>=new Date("2023-10-06T17:00:00.000Z").getTime()||je("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"&&Bo()===!1,enableNewSiteSearch:P("page_type")==="search"&&Bo()===!1,enableSearchFilterLeftRail:P("page_type")==="search"&&Bo()===!1,enableModernSearchAnswer:(R.supportLevel==="development"||R.supportLevel==="production"&&R.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&P("page_type")==="search"&&Bo()===!1,enableSiteSearchExperiment:R.siteName==="learn"&&R.supportLevel==="production",feedbackReport:b.data.showFeedbackReport,formAdvisor:b.data.userLocale?.startsWith("en"),formAdvisorCredential:je("form-advisor-credential",{require:!0}),gamification:!0,gitContributors:!0,graphOriginUpdate:je("graph-origin-update",{require:!0}),hubUpdate:b.data.pageTemplate==="Hub"&&je("hub-update",{require:!0}),inlineEdit:je("inline-edit",{require:!0}),inlineFeedback:!0,interactivity:!0,labsOnDemand:!0,learnAssessments:!0,skipAssessmentDualWrite:je("assessment-v0",{require:!0}),learnEventRebrand:je("learn-rebrand",{require:!0}),learningPathIlt:!0,learningPathIltSearch:je("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"&&!Ule(),pdfDownload:R.siteName==="learn",permissionedContent:R.reviewFeatures&&je("permissioned-content"),personalChallenge:Date.now()>=new Date("2024-05-28T19:00:00.000Z").getTime()||je("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()||je("credentials-L1",{require:!0}),previewOneStreamPlayerNextVersion:je("one-stream-player-next-version",{require:!0}),previewRailEventCard:je("rail-event-card",{require:!0}),previewQnaAiAdmin:je("qna-ai-admin",{require:!0}),previewQnaAiDemo:je("qna-ai-demo",{require:!0}),qna:!0,qnaCaptchaBypass:je("qna-captcha-bypass",{require:!0}),qnaStackResults:je("qna-stack-results",{require:!0}),quickWins:je("quick-wins",{require:!0}),referenceRightRailH3:P("in_right_rail")==="h2h3",referenceRightRailSticky:["Reference"].includes(b.data.pageTemplate),reportWebVitalsAlways:je("report-web-vitals",{require:!0}),rightRailSticky:["Conceptual","FAQ","HowTo","Reference","Architecture"].includes(b.data.pageTemplate),rss:!0,shareLink:!0,siteSearchProducts:je("site-search-products",{require:!0}),skipToCompletedModal:je("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"&&dt.machineTranslated,trainingSkills:b.data.userLocale?.startsWith("en"),tenantManager:je("tenant-manager",{require:!0}),userFeedback:je("user-feedback",{require:!0}),planGenV2:je("plan-gen-v2",{require:!0}),userAnalyticsMocks:je("user-analytics-mocks",{require:!0}),userServices:!0,usingStandardFeedback:b.data.standardFeedback||b.data.pageTemplate==="ModuleUnit"||b.data.pageTemplate==="Module",unifiedSearchResults:je("unified-search-results",{require:!0})&&P("page_type")==="search"&&Bo()===!1,supportsSharing:P("page_type")!=="learn"&&!(b.data.contentLocale==="en-us"&&b.data.brand==="mooncake")}}function Ble(e,t){let o=document.querySelector("#side-doc-outline li > a[aria-current='true']"),n=ERe(e),i=n===null?null:document.querySelector(`#side-doc-outline li > a[href="http://approjects.co.za/?big=#${n}"]`);o!==i&&(o&&ARe(o),i&&(kRe(i),IRe(i,t)))}function ERe(e){if(e.length>0){let t=e.length-1;for(let o=0;o0){t=o;break}if(e[t].getBoundingClientRect().top>=window.innerHeight&&(t-=1),t>=0)return e[t].id}return null}function ARe(e){let t=e.closest("details"),o=t?t.parentElement:e.parentElement;o&&(o.classList.toggle("border-color-transparent"),o.classList.toggle("border-color-primary")),e.classList.remove("font-weight-semibold","color-text"),e.classList.add("color-text-subtle"),e.setAttribute("aria-current","false")}function kRe(e){let t=e.closest("details"),o=t?t.parentElement:e.parentElement;o&&(o.classList.toggle("border-color-transparent"),o.classList.toggle("border-color-primary")),e.classList.remove("color-text-subtle"),e.classList.add("font-weight-semibold","color-text"),e.setAttribute("aria-current","true")}function IRe(e,t){(e.offsetTopt.scrollTop+t.clientHeight)&&(t.scrollTop=e.offsetTop-t.clientHeight/2)}var cl=_9({storageKey:b.data.layoutStateStorageKey,excludesKey:b.data.layoutStateExcludesKey,excludes:b.data.layoutStateExcludes,useViewTransitionOnRestore:!1,storage:localStorage});ut.subscribe(Ah,()=>{cl.suspend()});ut.subscribe(bo,()=>{cl.resume()});function Vle(){b9(),ut.subscribe(bo,el),window.addEventListener("content-update",el);let e=["[data-dismissable]"];window.addEventListener("click",PRe(e))}function PRe(e){return t=>{t.target instanceof Element&&t.target.closest(e.join(","))&&el()}}function Gle(){return document.querySelector("[data-collapsible-toc-toggle]")}var LRe=async(e=!document.documentElement.classList.contains("layout-menu-collapsed"))=>{await xe;let t=Gle(),o=document.getElementById("left-container"),n=document.getElementById("ms--toc-content");if(!t||!o||!n)return;let i=e?Ru:Gf;t.setAttribute("aria-expanded",String(e)),t.setAttribute("aria-label",i),t.title=i,o.setAttribute("data-toc-collapsed",String(!e)),t.setAttribute("data-bi-name",e?"toc-collapse":"toc-expand"),o.classList.toggle("width-full",!0),n.classList.toggle("padding-left-sm",e),n.classList.toggle("padding-left-xxs",!e),t.hidden=!1};async function Qle(){let e=Gle();e&&(cl.subscribe("layout-menu-collapsed","always",t=>LRe(!t.isApplied),{useViewTransition:!1}),e.addEventListener("click",()=>{document.documentElement.classList.toggle("layout-menu-collapsed")}))}async function jle(){await Qle();let e=S.getElementById("affixed-left-container"),t=S.getElementById("affixed-right-container");if((C.connectedExperiences||C.rightRailSticky)&&t&&RRe(t),e===null)return;let o=S.getElementById("footer"),n=S.querySelector(".layout-body-header"),i=8,r=1;e.style.top=`${i}px`;function s(){if(e==null||e.hasAttribute("disable-affix"))return;let c=H.innerHeight;if(c<450)e.classList.remove("position-sticky"),e.style.maxHeight="";else{e.style.height="0";let u=o.getBoundingClientRect().height,p=u===0?0:Math.max(0,c-o.getBoundingClientRect().top),m=n.getBoundingClientRect().height,g=m===0?0:Math.max(0,n.getBoundingClientRect().bottom),f=S.body.scrollHeight;e.classList.add("position-sticky"),e.style.maxHeight=`${f-(2*i+m+u+r)}px`,e.style.height=`calc(100vh - ${i+g+p+r}px)`}}let a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(s)}H.addEventListener("scroll",l,{passive:!0}),H.addEventListener("resize",l,{passive:!0}),H.addEventListener("content-update",l),H.addEventListener("dismiss-content-update",l),s(),xe.then(s),H.addEventListener("pageshow",s,!1)}function RRe(e){let o=S.getElementById("footer");e.classList.add("position-sticky"),e.style.top="8px";function n(){let s=8,a=e.offsetHeight;if(a>H.innerHeight){let l=a-H.innerHeight;s=-1*(8/2+Math.min(H.scrollY,l))}if(e.style.top=`${s}px`,C.rightRailSticky){e.style.removeProperty("bottom"),e.style.top=`${s}px`;let l=S.getElementById("side-doc-outline"),c=S.getElementById("ms--site-user-feedback-right-rail");if(!l&&!c)return;let u=o.getBoundingClientRect().height,p=S.querySelector(".header-holder"),m=p.getBoundingClientRect().height,g=c?c.getBoundingClientRect().height:0,f=S.body.scrollHeight;e.style.maxHeight=`${f-(2*8+m+u)}px`;let _=u===0?0:Math.max(0,H.innerHeight-o.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 y="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",v=C.referenceRightRailH3?`#main h2:not(${y}), #main h3`:`#main h2:not(${y})`,T=Array.from(S.querySelectorAll(v)).filter(I=>!!I.id&&I.offsetParent!==null);Ble(T,e)}}}let i=0;function r(){cancelAnimationFrame(i),i=requestAnimationFrame(n)}H.addEventListener("scroll",r,{passive:!0}),H.addEventListener("resize",r,{passive:!0}),H.addEventListener("content-update",r),n(),xe.then(n)}var MRe=/([a-z]\.)([a-z])/gi,$Re=/([a-z])([A-Z]+[a-z])/g,DRe=/(\w\/)(\S?)/gi,rk="",O2=`$1${rk}$2`,zRe=/\u200B/g;function Pn(e,t=3){return!e||!e.length||t===0||(t&2&&(e=e.replace(MRe,O2)),t&1&&(e=e.replace($Re,O2)),t&4&&(e=e.replace(DRe,O2))),e}function Yle(e,t){let o=[];if(!e||t===0)return o;e=Pn(e,t);let n=0,i=e.indexOf(rk,n);for(;i!==-1;)o.push(e.substring(n,i)),o.push(document.createElement("wbr")),n=i+rk.length,i=e.indexOf(rk,n);return o.push(e.substring(n)),o}function Wle(e){return e.replace(zRe,"")}var NRe={"&":"&","<":"<",">":">",'"':""","'":"'"},Kle=/[&<>"']/g,FRe=RegExp(Kle.source);function Ye(e){return e&&FRe.test(e)?e.replace(Kle,t=>NRe[t]):e}function sk(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function em(e){let t=e.cloneNode(!0);t.hidden=!0,document.body.appendChild(t);function o(n){n!==null&&(o(n.nextElementSibling),window.getComputedStyle(n,null).getPropertyValue("display")==="none"?n.parentElement.removeChild(n):o(n.firstElementChild))}return o(t.firstElementChild),document.body.removeChild(t),t.textContent}function or(e,t={year:"numeric",month:"short",day:"numeric"},o=b.data.userLocale){return new Date(e).toLocaleDateString(o,t).replace(/\u200E/g,"")}function ak(e){Array.from(document.querySelectorAll("span[data-localize-date]")).forEach(o=>{if(o.textContent!==""){let n=or(new Date(o.textContent),e);o.textContent=n}})}var qRe=/(^|\s)(C#|F#|C\+\+)($|\s|[.,!?;:])/g;function lk(e,t="text"){let o=`$1$2${t==="text"?"\u200E":"‎"}$3`;return e.replace(qRe,o)}function Jle(e=document.body,t=b.data.userLocale){e.querySelectorAll("time[data-article-date]").forEach(n=>{n.classList.remove("is-invisible");let i;try{if(i=new Date(n.getAttribute("datetime")),isNaN(i.getTime()))return}catch{return}n.setAttribute("datetime",i.toISOString());let r={year:"numeric",month:"2-digit",day:"2-digit"};n.getAttribute("data-article-date-source")==="ms.date"&&(r.timeZone="UTC");let a=or(i,r,t);n.textContent=a})}function U2(e){return decodeURIComponent(atob(ORe(e).replace(/_/g,"/").replace(/-/g,"+")).split("").map(t=>`%${("00"+t.charCodeAt(0).toString(16)).slice(-2)}`).join(""))}function ORe(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 H2="id_token",uk="docsAuthToken",URe="account_linking_token",xx=class{constructor({detail:t}){this.message="invalid token",this.detail=t}},ul=class{constructor({detail:t}){this.message="invalid claim",this.detail=t}},ck=class{constructor({detail:t}){this.message="malformed claim",this.detail=t}};function dk(e){oe.setItem(H2,e)}function Yu(){return oe.getItem(H2)}function pk(){oe.removeItem(H2)}function mk(e){oe.setItem(uk,e)}function Zo(){return oe.getItem(uk)}function gk(){oe.removeItem(uk)}function Ph(){oe.removeItem(URe)}function tm(e,t={nbfClockSkewInMilliseconds:2500}){try{if(!(e&&e.length&&e.indexOf(".")>-1))throw new xx({detail:"Invalid JWT - no separators found."});let n=e.split("."),i=JSON.parse(U2(n[1]));if(!i)throw new xx({detail:"Invalid JWT - payload is missing."});if(i.hasOwnProperty("nbf")){let r=i.nbf;if(isNaN(r))throw new ck({detail:"Invalid NBF claim - claim is malformed."});let s=new Date(0);s.setUTCSeconds(i.nbf);let a=new Date(Date.now()+t.nbfClockSkewInMilliseconds);if(s>a)throw new ul({detail:"Invalid NBF claim - token not yet valid."})}if(i.hasOwnProperty("exp")){let r=i.exp;if(isNaN(r))throw new ck({detail:"Invalid EXP claim - claim is malformed."});let s=new Date(0);s.setUTCSeconds(i.exp);let a=new Date(Date.now());if(s<=a)throw new ul({detail:"Invalid EXP claim - token has expired."})}return i}finally{}}var fk=e=>{if(!(e&&e.length&&e.indexOf(".")>-1))throw new xx({detail:"Invalid JWT - no separators found."});let o=e.split(".");return JSON.parse(U2(o[1]))};var Xle=`data:image/svg+xml;base64,${btoa('')}`,ece=`data:image/svg+xml;base64,${btoa('')}`,tce="a4d008df-4ece-4cb3-b7c9-d1be5ac4cacf",HRe=(e,t)=>{e||(e=Gi);let o=t.replace(/\D/g,""),n=parseInt(o.slice(0,2))*.01,i=parseInt(o.slice(2,4))*.01,r=n*320,s=i*100,a=Math.floor(n*31+10),l=`hsl(${r}, ${s}%, ${a}%)`,c=(e.match(/\b(\w)/g)||["A"]).join("").substring(0,2).toUpperCase();return{backgroundColor:l,initials:c}},fn=(e,t)=>{let{backgroundColor:o,initials:n}=HRe(e,t);return`data:image/svg+xml,${` %3Csvg xmlns='http://www.w3.org/2000/svg' height='64' class='font-weight-bold' style='font: 600 ${64/2.125}px "SegoeUI", Arial' width='64'%3E%3Ccircle fill='${o}' cx='32' cy='32' r='32' /%3E%3Ctext x='50%25' y='55%25' dominant-baseline='middle' text-anchor='middle' fill='%23FFF' %3E${n}%3C/text%3E%3C/svg%3E`}`},So=class{},nr="72f988bf-86f1-41af-91ab-2d7cd011db47",bk="9188040d-6c67-4c5b-b112-36a304b66dad",oce="1a092f68-5741-455a-8057-2acdb897a850",nce="604c1504-c6a3-4080-81aa-b33091104187",ice="ada63eea-fd1c-4d79-b40a-41d1380df7a5",B2={[nr]:"microsoft",[bk]:"standard"},V2=new Date("2019-11-21T00:00:00.000Z"),uo=(e,t)=>_k(e,t).toString(),hk=class extends Be{constructor(){super();this.idTokenEmail="";this.legalName=null;this.setAnonymous()}setAnonymous(){this.isAuthenticated!==!1&&(this.userId="00000000-0000-0000-0000-000000000000",this.upn="anonymous@anonymous.com",this.email="anonymous@anonymous.com",this.idTokenEmail="anonymous@anonymous.com",this.userName="Anonymous",this.displayName="Anonymous",this.locale="en-us",this.country=null,this.contactPointTopicSetting=null,this.authenticationMode="AAD",this.authenticationModes=[],this.isAuthenticated=!1,this.avatarUrl=fn(this.displayName,this.userId),this.avatarThumbnailUrl=fn(this.displayName,this.userId),this.profileUrl="#",this.createdOn=null,this.userType="standard",this.acceptedPrivacyNotice=V2,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 So))}mapIdTokenToProfile(o){this.email=o.email||o.preferred_username,this.upn=o.preferred_username,this.userName=o.name,this.displayName=o.name,this.authenticationMode=B2[o.tid]==="standard"?"MSA":"AAD",this.userType=B2[o.tid]||"aad",this.isAuthenticated=!0,this.country="",this.credentialId=this.authenticationMode==="AAD"?o.oid:o.puid,this.authenticationModes=[{id:this.credentialId,type:this.authenticationMode,tenantId:o.tid,upn:this.upn}],this.publish(new So)}readUserProfile(o){this.userId=o.userId,this.email=o.email||"",this.userName=o.userName,this.displayName=o.displayName||o.userName||o.email,this.locale=o.locale,this.country=o.country,this.contactPointTopicSetting=o.contactPointTopicSetting,this.isAuthenticated=!0,this.avatarUrl=o.avatarUrl||fn(this.displayName,this.userId),this.avatarThumbnailUrl=o.avatarThumbnailUrl||o.avatarUrl||fn(this.displayName,this.userId),this.profileUrl=uo(o.userName),this.authenticationModes=o.authenticationModes,this.userType=BRe(o.authenticationModes),this.acceptedPrivacyNotice=new Date(o.acceptedPrivacyNotice),this.isAvatarTakenDown=o.isAvatarTakenDown,this.followingCount=o.followingCount,this.followerCount=o.followerCount,this.answersAccepted=o.answersAccepted,this.affiliations=o.affiliations,this.reputationPoints=o.reputationPoints,this.createdOn=new Date(o.createdOn),this.qnaUserId=o.qnaUserId,this.interests=o.interests,this.isPrivate=o.isPrivate,this.source=o.source,this.certificationSettings=o.certificationSettings,this.transcriptSettings=o.transcriptSettings,this.qnaEmailPreferences=o.qnaEmailPreferences,this.companionPreferences=o.companionPreferences,this.isQnaModerator=o.isQnaModerator,this.sharingId=o.sharingId,this.isChallengeAdmin=o.isChallengeAdmin,this.legalName=o.legalName||null,this.publish(new So)}readUserFromToken(o){this.isAuthenticated=!0,this.instructor=o.instructor,this.isChallengeAdmin=o.is_challenge_admin,this.isMecUser=o.is_mec_user,this.userId=o.sub,this.upn=o.cred_upn,this.tenantId=o.tid,this.credentialId=o.cred_id,this.userName=o.preferred_username,this.displayName=o.name||o.preferred_username||o.email,this.avatarUrl=o.picture||fn(this.displayName,this.userId),this.avatarThumbnailUrl=o.thumbnail||o.picture||fn(this.displayName,this.userId),this.authenticationMode=o.cred_type,this.locale=o.locale,this.acceptedPrivacyNotice=new Date(o.accepted_privacy_notice),this.userType=B2[o.tid]||"aad",this.profileUrl=uo(o.preferred_username),this.email=o.email||"",this.idTokenEmail=o.id_token_email||"",this.sharingId=o.sharing_id||"",this.publish(new So)}whenAuthenticated(){return w.isAuthenticated?Promise.resolve():new Promise(o=>this.subscribe(So,()=>{this.isAuthenticated&&o()}))}},w=new hk;function G2(e,t){e&&Array.from(e.querySelectorAll("[data-profile-property]")).forEach(o=>{let n=o.getAttribute("data-profile-property"),i=t,r=t.profileUrl;o instanceof HTMLImageElement&&n==="avatarUrl"?(o.onerror=()=>o.src=fn(t.displayName,t.userId),o.src=i[n]):o instanceof HTMLImageElement&&n==="avatarThumbnailUrl"?(o.onerror=()=>o.src=t.avatarUrl||fn(t.displayName,t.userId),o.src=i[n]):o instanceof HTMLAnchorElement&&n==="profileUrl"?(o.href=uo("me","activity"),r==="#"&&(o.href=new URL("./register",Tc()).toString())):o instanceof HTMLAnchorElement&&n==="bookmarksUrl"?(o.href=r+(R.reviewFeatures?"§ion=collections&detail=bookmarks":"collections/bookmarks"),r==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="collectionsUrl"?(o.href=r+(R.reviewFeatures?"§ion=collections":"collections"),r==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="settingsUrl"?o.href=uo("me","settings"):o instanceof HTMLInputElement?o.type!=="file"&&(o.value=i[n]):n==="createdOn"?o.textContent=or(i[n]):o.textContent=i[n]})}function _k(e,t){let o=Tc(),n=new URLSearchParams(te.search);P("page_type")==="profile"&&(o.hash=te.hash),R.reviewFeatures&&(n.has("branch")&&o.searchParams.set("branch",n.get("branch")),n.has("themebranch")&&o.searchParams.set("themebranch",n.get("themebranch")),n.has("preview")&&o.searchParams.set("preview",n.get("preview")));let i=`./${e}/`;t&&(i+=`${t}/`);let r=new URL(i,o);return r.hash=o.hash,r.search=o.search,o=r,o}function Tc(e=b.data.userLocale){let t=new URL(`${e&&e.length?`/${e}`:""}/`,te.origin);return new URL("./users/",t)}function BRe(e){let t="standard";return e&&e.length&&(e.find(o=>o.tenantId===nr)!==void 0?t="microsoft":e.find(o=>o.type==="AAD")!==void 0&&(t="aad")),t}function he(e){return e.status===401&&w.setAnonymous(),e}var VRe={"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"}},GRe={"https://review.learn.microsoft.com":{stayCurrent:"https://review.learn.microsoft.com/api/certification",skillAssessment:"https://review.learn.microsoft.com/api/skillassessment"}};function QRe(e,t){let o=e,n=t.systemContent?e:o,i=t.supportLevel==="production"?"https://api.ilt.learningcredentials.microsoft.com":"https://api.dev.ilt.learningcredentials.microsoft.com",r=VRe[e]||{},s=GRe[e]||{};return{admin:`${o}/api/admin`,selfAssessmentsAdmin:jRe(),apiBrowser:`${o}/api/apibrowser`,assessments:`${n}/api/assessments`,assessmentsAuthoring:`${n}/api/assessments/authoring`,learnAssessment:`${n}/api/assessment`,assessmentsBranch:"https://review.learn.microsoft.com/api/assessments/branches",attachment:`${o}/api/attachments`,azureManagement:"https://management.azure.com",auth:{docs:`${o}/api/profiles/auth`,identityPlatform:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",signOut:`${o}/api/profiles/signout`,partner:`${o}/api/profiles/partnerAuth/authorize`},blogs:`${o}/api/archives/blogs/comments`,browse:{certification:`${o}/api/contentbrowser/search/certifications`,credential:`${o}/api/contentbrowser/search/credentials`,course:`${o}/api/contentbrowser/search/certifications/courses`,events:`${o}/api/contentbrowser/search/events`,learn:`${o}/api/contentbrowser/search`,learnHome:`${o}/api/contentbrowser/home/learn`,learnHomePersonalized:`${o}/api/contentbrowser/home/personalized/learn`,sample:`${o}/api/contentbrowser/search/samples`,lifecycle:`${o}/api/contentbrowser/search/lifecycles`,architecture:`${o}/api/contentbrowser/search/architectures`,windowsSafeguards:`${o}/api/contentbrowser/search/windowsSafeguards`,shows:`${o}/api/contentbrowser/search/shows`},buildAuthAdmin:`${o}/api/build`,prDevBuildAuthAdmin:"https://docs-buildauth-locdev-wus.azurewebsites.net",certification:{appointments:`${o}/api/certification/appointments`,certification:`${o}/api/certification`,certifications:`${o}/api/certification/certifications`,dashboardSummary:`${o}/api/certification/dashboardsummary`,exams:`${o}/api/certification/exams`,linkedAccount:`${o}/api/certification/linkedAccount`,linkedMcId:`${o}/api/certification/linkedMcId`,printableCertification:`${o}/api/certification/printableCertification`,pvuetransfer:`${o}/api/certification/pvuetransfer`,renewalAssessments:`${o}/api/certification/scoredsnapshots`},cloudShell:"https://ux.console.azure.com",contentNav:e,contentOrigin:n,contentAuthorizationService:{setCasTokenCookie:`${o}/api/cas/user/token`,deleteCasTokenCookie:`${o}/api/cas/user/signout`},agentService:{stream:`${o}/api/agentservice/completion/stream`,conversations:`${o}/api/companion/conversations`},copilot:{chatAssistant:`${o}/api/copilot/chat/assistant?responseFormat=Markdown&preview=citations`,summarize:`${o}/api/copilot/content/summarize`,chatPlanGeneration:`${o}/api/copilot/chat/plangeneration`},encryptCaptchaPayload:`${o}/api/resources/captcha/encrypt`,forumSearch:{azureKbQuestionSuggestions:`${o}/api/questions/azurekb/searchMSDNThreads/v1.0`},achievements:`${o}/api/achievements`,github:"https://api.github.com",githubOAuth:"https://github.com/login/oauth/authorize",adoOAuth:"https://login.microsoftonline.com",labOnDemand:`${o}/api/resources/labondemand`,learn:{achievementsByUids:`${o}/api/hierarchy/achievements`,batchItemSummaries:`${o}/api/hierarchy/items`,certification:`${o}/api/hierarchy/certification`,challenge:`${o}/api/challenges`,episode:`${o}/api/video/public/v1/entries`,exams:`${o}/api/hierarchy/exams`,iltCourses:{scheduling:`${i}/ilt-scheduling/offerings`,location:`${i}/ilt-scheduling/offerings/location`,languages:`${i}/ilt-scheduling/languages`,duration:`${i}/ilt-scheduling/duration`},learningPath:`${o}/api/hierarchy/paths`,module:`${o}/api/hierarchy/modules`,unit:`${o}/api/hierarchy/units`,progress:{batchUnit:`${o}/api/progress/units`,learningPathPass:`${o}/api/progress/learningPathPass`,moduleAssessment:`${o}/api/progress/moduleAssessment`,unit:`${o}/api/progress/units`,user:`${o}/api/progress`},show:{episodes:`${o}/api/hierarchy/shows`,videos:`${o}/api/video/public/v1/entries/batch`},skillAssessment:`${o}/api/skillassessment`,stayCurrent:`${o}/api/certification`,...s},lists:`${o}/api/lists`,metadata:{platformId:`${o}/api/mms/document/platformId`,metadata:`${o}/api/mms/document/`,schema:`${o}/api/mms/contentTypes/`},monikers:`${n}/_api/familyTrees`,nextSteps:`${o}/api/nextsteps`,ocvFeedback:"https://petrol.office.microsoft.com/v1/feedback",pdf:`${e}/pdf`,privacy:{cookieConsentDeleteService:`${e}/api/privacy/cookieDelete`,delete:`${n}/api/privacy/delete`,partialDelete:`${n}/api/privacy/partialdelete`,export:`${n}/api/privacy/export`},profile:{acknowledgeMergeStatus:`${o}/api/profiles/merge/acknowledge`,acknowledgePrivacyNotice:`${o}/api/profiles/me/acknowledgePrivacyNotice`,avatar:`${o}/api/profiles/me/avatar`,avert:`${o}/api/profiles/avert`,certification:`${o}/api/profiles/certification/certifications`,credential:{private:`${o}/api/credentials/credential`,public:`${o}/api/credentials/{credentialId}`,list:`${o}/api/credentials/me`},challenge:`${o}/api/profiles/challenge`,groups:{users:`${o}/api/profiles/groups/{groupId}/users`,manage:`${o}/api/profiles/groups/{groupId}/users/{userId}`},deleteMecUserData:`${o}/api/profiles/mec/delete`,follow:`${o}/api/profiles/follow/{type}/{id}`,unfollow:`${o}/api/profiles/unfollow/{type}/{id}`,follows:`${o}/api/profiles/follows`,followsIds:`${o}/api/profiles/follows/ids`,userFollows:`${o}/api/profiles/userfollows/{userId}`,link:`${o}/api/profiles/link`,me:`${o}/api/profiles/me`,merge:`${o}/api/profiles/merge`,mergeDetails:`${o}/api/profiles/merge/details`,user:`${o}/api/profiles/{username}`,userRetryMerge:`${o}/api/profiles/merge/userretry`,userCancelMerge:`${o}/api/profiles/merge/usercancel`,migrateMecUserData:`${o}/api/profiles/mec/migrate`,profiles:`${o}/api/profiles`,qnaFollowing:`${o}/api/qna/following`,reporting:`${o}/api/profiles/reporting`,validateMerge:`${o}/api/profiles/merge/validate`,transcript:{private:`${o}/api/profiles/transcript/me`,public:`${o}/api/profiles/transcript/share`,settings:{publicLink:`${o}/api/profiles/transcript/share`,transcript:`${o}/api/profiles/transcript/me/settings`}},activeTakedowns:`${o}/api/profiles/takedown/active`,reportStatus:`${o}/api/profiles/report/status/{userId}`,reportConcern:`${o}/api/profiles/report/concern`,contributorEngagement:`${o}/api/profiles/contributor/engagement`},qna:{communication:{getToken:`${o}/api/questions/user/communication_token`,createJoinThread:`${o}/api/questions/admin/private_conversation/{questionId}`,render:`${o}/api/questions/markdown-to-html`,chatMessage:`${rce()}/chat/threads/{communicationChatThreadId}/messages/{messageId}?api-version=2023-11-07`,chatThread:`${rce()}/chat/threads/{communicationChatThreadId}/messages?api-version=2023-11-07`},analyticsSummary:`${o}/api/questions/dashboard/metrics`,analyticsQuestions:`${o}/api/questions/answered`,questionAnswerCommentVote:`${o}/api/questions/answers/comments/{commentId}/vote`,questionCommentVote:`${o}/api/questions/comments/{commentId}/vote`,questionDetails:`${o}/api/questions/{questionId}/details`,questionAiAnswer:{generate:`${o}/api/questions/{questionId}/aiAnswer`},questionAgentAnswer:`${o}/api/agentic/answer`,questionAutoTagging:{generate:`${o}/api/questions/autotagging`},threadHistory:`${o}/api/questions/admin/questions/{questionId}/history`,questionVote:`${o}/api/questions/{questionId}/vote`,rateAnswerHelpful:`${o}/api/questions/answers/{answerId}/helpful/yes?_method=PUT`,rateAnswerUnhelpful:`${o}/api/questions/answers/{answerId}/helpful/no?_method=PUT`,rateAnswerReset:`${o}/api/questions/answers/{answerId}/helpful/notSet?_method=PUT`,suspended:`${o}/api/questions/users/suspended`,tags:`${o}/api/questions/tags/autocomplete`,tagsNextLevelV2:`${o}/api/questions/tags/nextlevelv2`,admin:{suspend:`${o}/api/questions/admin/users/{userId}/suspend`,unsuspend:`${o}/api/questions/admin/users/{userId}/unsuspend`,suspended:`${o}/api/questions/admin/users/{userId}/suspended`,blockedcontent:`${o}/api/questions/admin/blockedcontent`,updateBlockedContent:`${o}/api/questions/admin/blockedcontent/{contentId}`,deleteAllUserContent:`${o}/api/questions/admin/users/{userId}/deleteAllUserContent`}},qnaSettings:`${o}/en-us/answers/users/{qnaId}/{username}/preferences.html`,recommendations:`${o}/api/recommendations`,sandbox:`${o}/api/resources/sandbox`,sandboxManager:`${o}/api/resources/admin`,siteFeedback:`${o}/api/feedback/report`,siteSearch:`${e}/api/search`,searchAnswer:{user:`${o}/api/aisearch/answers/user/html`,guest:`${o}/api/aisearch/answers/guest/html`},deepSearch:`${o}/api/aisearch/deepsearch/stream`,taxonomy:`${o}/api/taxonomies`,tenantManager:`${o}/api/resources/tenant`,uhf:{consentBanner:`${o}/api/GetConsentBanner`},video:`${o}/api/admin`,...r}}function jRe(){return"https://docs-rcs-pubdev.azurewebsites.net"}function rce(){return R.supportLevel==="production"?"https://docsquestions-acs-public.unitedstates.communication.azure.com":"https://docsquestions-acs-pubdev.unitedstates.communication.azure.com"}var z=QRe(location.origin,R);var YRe=30*1e3,$=async(e,t,o=YRe,n)=>{t=t||{};let i=new AbortController,r=()=>i.abort();n?.addEventListener("abort",r),t.signal=i.signal;try{let s=setTimeout(()=>i.abort(),o),a=await fetch(e,t);return clearTimeout(s),a}finally{n?.removeEventListener("abort",r)}};function K(e,t,o=!0,n=!0){t=t||{},t.mode="cors",t.credentials!=="omit"&&(t.credentials="same-origin");let i=new Request(e,t);return o&&Zo()&&i.headers.set("Authorization",`Bearer ${Zo()}`),(i.method==="PUT"||i.method==="POST")&&n&&i.headers.set("Content-Type","applicationhttps://www.microsoft.com/json"),i}var Tx=class{};function Q2(e){let t={method:"GET"},o=K(z.auth.docs,t,!1);return o.headers.set("Authorization",`Bearer ${e}`),$(o).then(n=>{if(n.ok)return n.text();throw n.status===404||n.status===204?new Tx:n.status===401?new ul({detail:"token not accepted"}):new Error(`get docs auth token failed (${n.status} ${n.statusText})`)})}function om(e,t=!0){try{if(e.ok&&e.headers.has("Authorization")){let o=e.headers.get("Authorization");if(o){let n=tm(o);mk(o),t&&w.readUserFromToken(n)}}return e}catch{return e}}function bt(e=["api-branch","branch"],t=""){if(R.accessLevel==="local")return"main";if(R.reviewFeatures===!0){let o=ce(te.search);return e.reduce((n,i)=>n||o[i],"")||t}return null}var Ge=class extends Error{constructor(t,o){super(`Unexpected response status ${t?.status??""}: ${t?.statusText??""} from "${t?.url??""} with error type of ${o}".`),this.status=t?.status,this.statusText=t?.statusText,this.url=t?.url,this.type=o,this.response=t,R.reviewFeatures&&console.error(this)}};async function nm(e){let t;try{t=e.response.json?(await e.response.json()).errorCode:null}catch{t=null}return t}function vk(e){if(!Array.isArray(e))throw new Ge({statusText:"Value must be an array"},"InvalidTypeError");return e}function Lh(e,t){let o=t.filter(n=>e[n]===null||e[n]===void 0);if(o.length>0)throw new Ge({statusText:`Missing required fields in object: ${o.join(", ")}`},"MissingRequiredApiAttribute");return e}function sce(e,t){throw new Ge({statusText:`Type Conversion Error: converting type ${typeof e} to ${t} failed for value ${e.toString()}`},"TypeConversionError")}function j2(e){let t;try{t=parseInt(e)}catch{sce(e,"number")}return isNaN(t)&&sce(e,"number"),t}function Sc(e,t,o=!0,n="applicationhttps://www.microsoft.com/json",i="",r=!0){t=t||{},t.mode="cors",t.credentials="same-origin";let s=new Request(e,t);return o&&s.headers.set("Authorization",`Bearer ${i||Zo()}`),(s.method==="PUT"||s.method==="POST")&&r&&n!=="multipart/form-data"&&s.headers.set("Content-Type",n),s}async function wc(e){let t=`${z.profile.profiles}/${e}`,n=await $(Sc(t,{method:"GET"},!1));return he(n),n.ok?await n.json():(n.status===204,null)}async function Y2(e){if(!e)return null;if(e===tce)return{displayName:Gi,userId:e,avatarUrl:fn(Gi,e)};let t=`${z.profile.profiles}/id:${e}`,n=await $(Sc(t,{method:"GET"},!1));return he(n),n.ok?await n.json():(n.status===204,null)}async function im(e){try{let t=await fetch(Sc(z.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 Rh(e,t){let o=`${z.profile.profiles}/${e}`,i={credentials:"include",method:"PUT",body:JSON.stringify(t)},r=await $(Sc(o,i));if(he(r),r.ok){om(r,!1);let s=await r.json();return w.readUserProfile(s),{hasError:!1,profile:s}}else if(r.status===400){let s=await r.json();return{hasError:!0,message:s.message,errors:s.errorCode.split(",")}}return{hasError:!0,message:r.statusText,errors:["somethingWentWrong"]}}async function ace(){let e=z.privacy.delete,o=await $(Sc(e,{credentials:"include",method:"POST"},!0,"","",!1));return he(o),o.ok}async function lce(){let e=z.profile.acknowledgePrivacyNotice,o=await $(Sc(e,{method:"POST"}));if(he(o),om(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}async function W2(){let e=z.profile.merge,o=await $(Sc(e,{method:"GET"}));if(he(o),o.ok){let{status:n}=await o.json();return n}return null}async function cce(){let e=z.profile.mergeDetails,o=await $(Sc(e,{method:"GET"}));return he(o),o.ok?await o.json():null}async function uce(){let e=z.profile.acknowledgeMergeStatus,o=await $(Sc(e,{method:"POST"}));if(he(o),om(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}var WRe=["vscode://docsmsft.learn-tutor","vscode-insiders://docsmsft.learn-tutor"];function dce(e){return e?WRe.some(t=>e.toLowerCase().startsWith(t)):!1}var KRe="https://sanitize-url.invalid/";function yk(e){if(!e)return"";let t=String(e).trim();if(!t)return"";let o;try{o=new URL(t,KRe)}catch{return""}return o.protocol==="http:"||o.protocol==="https:"?t:""}function ir(e="",t=`${te.origin}${te.pathname}`){let o=e?new URL(e,te.href):new URL(t);if(o.href.toLowerCase().indexOf("javascript:")!==-1)return new URL(te.origin);if(o.protocol==="https:"&&(o.hostname===te.hostname||o.hostname.endsWith(".microsoft.com")||o.hostname==="microsoft.com")||dce(o.href))return o;let n=`${te.origin}${te.pathname}`;return t===n?new URL(`${o.pathname}${o.search}${o.hash}`,`${te.origin}`):ir(t)}var _o={};Do(_o,{addApplicationTelemetry:()=>Fx,addAuthorizationCode:()=>Kq,addBrokerParameters:()=>kc,addCcsOid:()=>Ec,addCcsUpn:()=>Ju,addClaims:()=>mm,addCliData:()=>Xq,addClientAssertion:()=>Ux,addClientAssertionType:()=>Hx,addClientCapabilitiesToClaims:()=>hce,addClientId:()=>dm,addClientInfo:()=>fm,addClientSecret:()=>Ox,addCodeChallengeParams:()=>o$e,addCodeVerifier:()=>Zq,addCorrelationId:()=>gm,addDeviceCode:()=>n$e,addDomainHint:()=>jq,addEARParameters:()=>l$e,addExtraParameters:()=>Ac,addGrantType:()=>Bx,addIdTokenHint:()=>Qq,addInstanceAware:()=>Vx,addLibraryInfo:()=>Nx,addLoginHint:()=>Bh,addLogoutHint:()=>eO,addNativeBroker:()=>t$e,addNonce:()=>Wq,addOboAssertion:()=>i$e,addPassword:()=>a$e,addPopToken:()=>Gx,addPostLogoutRedirectUri:()=>Gq,addPrompt:()=>Yq,addRedirectUri:()=>pm,addRefreshToken:()=>Jq,addRequestTokenUse:()=>r$e,addResource:()=>Wx,addResponseMode:()=>Vq,addResponseType:()=>e$e,addScopes:()=>um,addServerTelemetry:()=>jx,addSid:()=>Vk,addSshJwk:()=>Qx,addState:()=>qx,addThrottling:()=>Yx,addUsername:()=>s$e,instrumentBrokerParams:()=>cm});var De={};Do(De,{AADAuthority:()=>ha,AAD_INSTANCE_DISCOVERY_ENDPT:()=>eF,AAD_TENANT_DOMAIN_SUFFIX:()=>tF,ADFS:()=>Z2,APP_METADATA:()=>Nh,AUTHORITY_METADATA_CACHE_KEY:()=>Fh,AUTHORITY_METADATA_REFRESH_TIME_SECONDS:()=>bF,AUTHORIZATION_PENDING:()=>eMe,AZURE_REGION_AUTO_DISCOVER_FLAG:()=>rF,AuthenticationScheme:()=>wo,AuthorityMetadataSource:()=>Fr,CACHE_ACCOUNT_TYPE_ADFS:()=>fF,CACHE_ACCOUNT_TYPE_GENERIC:()=>Ak,CACHE_ACCOUNT_TYPE_MSAV1:()=>yMe,CACHE_ACCOUNT_TYPE_MSSTS:()=>gF,CACHE_KEY_SEPARATOR:()=>sm,CIAM_AUTH_URL:()=>xk,CLIENT_INFO:()=>hF,CLIENT_INFO_SEPARATOR:()=>zh,CLIENT_MISMATCH_ERROR:()=>AF,CODE_GRANT_TYPE:()=>ZRe,CONSUMER_UTID:()=>JRe,CacheOutcome:()=>ba,CacheType:()=>xMe,ClaimsRequestKeys:()=>Dh,CodeChallengeMethodValues:()=>_Me,CredentialType:()=>hn,DEFAULT_AUTHORITY:()=>pce,DEFAULT_AUTHORITY_HOST:()=>J2,DEFAULT_COMMON_TENANT:()=>Sx,DEFAULT_MAX_THROTTLE_TIME_SECONDS:()=>wF,DEFAULT_THROTTLE_TIME_SECONDS:()=>SF,DEFAULT_TOKEN_RENEWAL_OFFSET_SEC:()=>IF,DSTS:()=>X2,EMAIL_SCOPE:()=>fce,EncodingTypes:()=>wMe,FORWARD_SLASH:()=>Mh,GrantType:()=>Ex,HTTP_BAD_REQUEST:()=>Ck,HTTP_CLIENT_ERROR:()=>sMe,HTTP_CLIENT_ERROR_RANGE_END:()=>uF,HTTP_CLIENT_ERROR_RANGE_START:()=>cF,HTTP_GATEWAY_TIMEOUT:()=>gMe,HTTP_GONE:()=>uMe,HTTP_MULTI_SIDED_ERROR:()=>fMe,HTTP_NOT_FOUND:()=>lMe,HTTP_REDIRECT:()=>rMe,HTTP_REQUEST_TIMEOUT:()=>cMe,HTTP_SERVER_ERROR:()=>pMe,HTTP_SERVER_ERROR_RANGE_END:()=>pF,HTTP_SERVER_ERROR_RANGE_START:()=>dF,HTTP_SERVICE_UNAVAILABLE:()=>mMe,HTTP_SUCCESS:()=>wk,HTTP_SUCCESS_RANGE_END:()=>iMe,HTTP_SUCCESS_RANGE_START:()=>nMe,HTTP_TOO_MANY_REQUESTS:()=>dMe,HTTP_UNAUTHORIZED:()=>aMe,HeaderNames:()=>Vo,HttpMethod:()=>hMe,IMDS_ENDPOINT:()=>Sk,IMDS_TIMEOUT:()=>iF,IMDS_VERSION:()=>nF,INVALID_GRANT_ERROR:()=>EF,INVALID_INSTANCE:()=>lF,JsonWebTokenTypes:()=>kF,KNOWN_PUBLIC_CLOUDS:()=>aF,NOT_APPLICABLE:()=>tMe,NOT_AVAILABLE:()=>rm,OAuthResponseType:()=>vMe,OFFLINE_ACCESS_SCOPE:()=>Tk,OIDC_DEFAULT_SCOPES:()=>$h,OIDC_SCOPES:()=>Ek,ONE_DAY_IN_MS:()=>SMe,OPENID_SCOPE:()=>mce,PROFILE_SCOPE:()=>gce,PasswordGrantConstants:()=>Pk,PersistentCacheKeys:()=>bMe,PromptValue:()=>Cx,REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:()=>sF,RESOURCE_DELIM:()=>wx,RegionDiscoveryOutcomes:()=>Ix,RegionDiscoverySources:()=>Ku,ResponseMode:()=>mF,S256_CODE_CHALLENGE_METHOD:()=>XRe,SERVER_TELEM_CACHE_KEY:()=>Ax,SERVER_TELEM_CATEGORY_SEPARATOR:()=>Ik,SERVER_TELEM_MAX_CACHED_ERRORS:()=>vF,SERVER_TELEM_MAX_CUR_HEADER_BYTES:()=>TMe,SERVER_TELEM_MAX_LAST_HEADER_BYTES:()=>_F,SERVER_TELEM_OVERFLOW_FALSE:()=>xF,SERVER_TELEM_OVERFLOW_TRUE:()=>yF,SERVER_TELEM_SCHEMA_VERSION:()=>kk,SERVER_TELEM_UNKNOWN_ERROR:()=>TF,SERVER_TELEM_VALUE_SEPARATOR:()=>Wu,SHR_NONCE_VALIDITY:()=>oMe,SKU:()=>K2,THE_FAMILY_ID:()=>am,THROTTLING_PREFIX:()=>kx,URL_FORM_CONTENT_TYPE:()=>oF,X_MS_LIB_CAPABILITY_VALUE:()=>CF});var K2="msal.js.common",pce="https://login.microsoftonline.com/common/",J2="login.microsoftonline.com",Sx="common",Z2="adfs",X2="dstsv2",eF=`${pce}discovery/instance?api-version=1.1&authorization_endpoint=`,xk=".ciamlogin.com",tF=".onmicrosoft.com",wx="|",JRe="9188040d-6c67-4c5b-b112-36a304b66dad",mce="openid",gce="profile",Tk="offline_access",fce="email",ZRe="authorization_code",XRe="S256",oF="application/x-www-form-urlencoded;charset=utf-8",eMe="authorization_pending",tMe="N/A",rm="Not Available",Mh="/",Sk="http://169.254.169.254/metadata/instance/compute/location",nF="2020-06-01",iF=2e3,rF="TryAutoDetect",sF="login.microsoft.com",aF=["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],oMe=240,lF="invalid_instance",wk=200,nMe=200,iMe=299,rMe=302,sMe=400,cF=400,Ck=400,aMe=401,lMe=404,cMe=408,uMe=410,dMe=429,uF=499,pMe=500,dF=500,mMe=503,gMe=504,pF=599,fMe=600,hMe={GET:"GET",POST:"POST"},$h=[mce,gce,Tk],Ek=[...$h,fce],Vo={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"},bMe={ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},ha={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},Dh={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},Cx={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},_Me={PLAIN:"plain",S256:"S256"},vMe={CODE:"code",IDTOKEN_TOKEN:"id_token token",IDTOKEN_TOKEN_REFRESHTOKEN:"id_token token refresh_token"},mF={QUERY:"query",FRAGMENT:"fragment",FORM_POST:"form_post"},Ex={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"},gF="MSSTS",fF="ADFS",yMe="MSA",Ak="Generic",sm="-",zh=".",hn={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},xMe={ADFS:1001,MSA:1002,MSSTS:1003,GENERIC:1004,ACCESS_TOKEN:2001,REFRESH_TOKEN:2002,ID_TOKEN:2003,APP_METADATA:3001,UNDEFINED:9999},Nh="appmetadata",hF="client_info",am="1",Fh="authority-metadata",bF=3600*24,Fr={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},kk=5,TMe=80,_F=330,vF=50,Ax="server-telemetry",Ik="|",Wu=",",yF="1",xF="0",TF="unknown_error",wo={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},SF=60,wF=3600,kx="throttling",CF="retry-after, h429",EF="invalid_grant",AF="client_mismatch",Pk={username:"username",password:"password"},Ku={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},Ix={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},ba={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},kF={Jwt:"JWT",Jwk:"JWK",Pop:"pop"},SMe=864e5,IF=300,wMe={BASE64:"base64",HEX:"hex",UTF8:"utf-8"};var Cc={};Do(Cc,{ACCESS_TOKEN:()=>AMe,BROKER_CLIENT_ID:()=>Px,BROKER_REDIRECT_URI:()=>Dk,CCS_HEADER:()=>DMe,CLAIMS:()=>MF,CLIENT_ASSERTION:()=>nq,CLIENT_ASSERTION_TYPE:()=>iq,CLIENT_ID:()=>dl,CLIENT_INFO:()=>RMe,CLIENT_REQUEST_ID:()=>BF,CLIENT_SECRET:()=>oq,CLI_DATA:()=>fq,CODE:()=>qF,CODE_CHALLENGE:()=>OF,CODE_CHALLENGE_METHOD:()=>UF,CODE_VERIFIER:()=>HF,DEVICE_CODE:()=>tq,DOMAIN_HINT:()=>dq,EAR_JWE_CRYPTO:()=>mq,EAR_JWK:()=>pq,ERROR:()=>CMe,ERROR_DESCRIPTION:()=>EMe,EXPIRES_IN:()=>IMe,FOCI:()=>$Me,GRANT_TYPE:()=>RF,ID_TOKEN:()=>kMe,ID_TOKEN_HINT:()=>eq,INSTANCE_AWARE:()=>qh,LOGIN_HINT:()=>uq,LOGOUT_HINT:()=>lq,NATIVE_BROKER:()=>aq,NONCE:()=>NF,OBO_ASSERTION:()=>rq,ON_BEHALF_OF:()=>MMe,POST_LOGOUT_URI:()=>XF,PROMPT:()=>FF,REDIRECT_URI:()=>Lk,REFRESH_TOKEN:()=>DF,REFRESH_TOKEN_EXPIRES_IN:()=>PMe,REQUESTED_TOKEN_USE:()=>sq,REQ_CNF:()=>Mk,RESOURCE:()=>gq,RESPONSE_MODE:()=>LF,RESPONSE_TYPE:()=>PF,RETURN_SPA_CODE:()=>$k,SCOPE:()=>$F,SESSION_STATE:()=>LMe,SID:()=>cq,STATE:()=>zF,TOKEN_TYPE:()=>Rk,X_APP_NAME:()=>JF,X_APP_VER:()=>ZF,X_CLIENT_CPU:()=>jF,X_CLIENT_CURR_TELEM:()=>YF,X_CLIENT_EXTRA_SKU:()=>zMe,X_CLIENT_LAST_TELEM:()=>WF,X_CLIENT_OS:()=>QF,X_CLIENT_SKU:()=>VF,X_CLIENT_VER:()=>GF,X_MS_LIB_CAPABILITY:()=>KF});var dl="client_id",Lk="redirect_uri",PF="response_type",LF="response_mode",RF="grant_type",MF="claims",$F="scope",CMe="error",EMe="error_description",AMe="access_token",kMe="id_token",DF="refresh_token",IMe="expires_in",PMe="refresh_token_expires_in",zF="state",NF="nonce",FF="prompt",LMe="session_state",RMe="client_info",qF="code",OF="code_challenge",UF="code_challenge_method",HF="code_verifier",BF="client-request-id",VF="x-client-SKU",GF="x-client-VER",QF="x-client-OS",jF="x-client-CPU",YF="x-client-current-telemetry",WF="x-client-last-telemetry",KF="x-ms-lib-capability",JF="x-app-name",ZF="x-app-ver",XF="post_logout_redirect_uri",eq="id_token_hint",tq="device_code",oq="client_secret",nq="client_assertion",iq="client_assertion_type",Rk="token_type",Mk="req_cnf",rq="assertion",sq="requested_token_use",MMe="on_behalf_of",$Me="foci",DMe="X-AnchorMailbox",$k="return_spa_code",aq="nativebroker",lq="logout_hint",cq="sid",uq="login_hint",dq="domain_hint",zMe="x-client-xtra-sku",Px="brk_client_id",Dk="brk_redirect_uri",qh="instance_aware",pq="ear_jwk",mq="ear_jwe_crypto",gq="resource",fq="clidata";function zk(e){return`See https://aka.ms/msal.js.errors#${e} for details`}var rt=class e extends Error{constructor(t,o,n){let i=o||(t?zk(t):""),r=i?`${t}: ${i}`:t;super(r),Object.setPrototypeOf(this,e.prototype),this.errorCode=t||"",this.errorMessage=i||"",this.subError=n||"",this.name="AuthError"}setCorrelationId(t){this.correlationId=t}};function Oh(e,t){return new rt(e,t||zk(e))}var Lx=class e extends rt{constructor(t){super(t),this.name="ClientConfigurationError",Object.setPrototypeOf(this,e.prototype)}};function Mt(e){return new Lx(e)}var No=class{static isEmptyObj(t){if(t)try{let o=JSON.parse(t);return Object.keys(o).length===0}catch{}return!0}static startsWith(t,o){return t.indexOf(o)===0}static endsWith(t,o){return t.length>=o.length&&t.lastIndexOf(o)===t.length-o.length}static queryStringToObject(t){let o={},n=t.split("&"),i=r=>decodeURIComponent(r.replace(/\+/g," "));return n.forEach(r=>{if(r.trim()){let[s,a]=r.split(/=(.+)/g,2);s&&a&&(o[i(s)]=i(a))}}),o}static trimArrayEntries(t){return t.map(o=>o.trim())}static removeEmptyStringsFromArray(t){return t.filter(o=>!!o)}static jsonParseHelper(t){try{return JSON.parse(t)}catch{return null}}};var Rx=class e extends rt{constructor(t,o){super(t,o),this.name="ClientAuthError",Object.setPrototypeOf(this,e.prototype)}};function ne(e,t){return new Rx(e,t)}var rr={};Do(rr,{authorityMismatch:()=>VMe,authorityUriInsecure:()=>bq,cannotAllowPlatformBroker:()=>BMe,cannotSetOIDCOptions:()=>HMe,claimsRequestParsingError:()=>NMe,emptyInputScopesError:()=>vq,invalidAuthenticationHeader:()=>UMe,invalidAuthorityMetadata:()=>Sq,invalidClaims:()=>Nk,invalidCloudDiscoveryMetadata:()=>Fk,invalidCodeChallengeMethod:()=>FMe,invalidRequestMethodForEAR:()=>GMe,logoutRequestEmpty:()=>xq,missingNonceAuthenticationHeader:()=>OMe,missingSshJwk:()=>Mx,missingSshKid:()=>qMe,pkceParamsMissing:()=>Tq,redirectUriEmpty:()=>hq,tokenRequestEmpty:()=>yq,untrustedAuthority:()=>wq,urlEmptyError:()=>_q,urlParseError:()=>Uh});var hq="redirect_uri_empty",NMe="claims_request_parsing_error",bq="authority_uri_insecure",Uh="url_parse_error",_q="empty_url_error",vq="empty_input_scopes_error",Nk="invalid_claims",yq="token_request_empty",xq="logout_request_empty",FMe="invalid_code_challenge_method",Tq="pkce_params_missing",Fk="invalid_cloud_discovery_metadata",Sq="invalid_authority_metadata",wq="untrusted_authority",Mx="missing_ssh_jwk",qMe="missing_ssh_kid",OMe="missing_nonce_authentication_header",UMe="invalid_authentication_header",HMe="cannot_set_OIDCOptions",BMe="cannot_allow_platform_broker",VMe="authority_mismatch",GMe="invalid_request_method_for_EAR";var bn={};Do(bn,{authTimeNotFound:()=>$x,authorizationCodeMissingFromServerResponse:()=>qq,bindingKeyNotRemoved:()=>WMe,cannotAppendScopeSet:()=>zq,cannotRemoveEmptyScope:()=>Dq,clientInfoDecodingError:()=>qk,clientInfoEmptyError:()=>Cq,emptyInputScopeSet:()=>Hk,endSessionEndpointNotSupported:()=>Oq,endpointResolutionError:()=>_a,hashNotDeserialized:()=>Iq,invalidCacheEnvironment:()=>zx,invalidCacheRecord:()=>Nq,invalidState:()=>lm,keyIdMissing:()=>Uq,maxAgeTranspired:()=>Rq,methodNotImplemented:()=>xt,misplacedResourceParam:()=>Bq,multipleMatchingAppMetadata:()=>Mq,multipleMatchingTokens:()=>QMe,nestedAppAuthBridgeDisabled:()=>ZMe,networkError:()=>Aq,noAccountFound:()=>jMe,noAccountInSilentRequest:()=>Dx,noCryptoObject:()=>Bk,noNetworkConnectivity:()=>KMe,nonceMismatch:()=>Lq,nullOrEmptyToken:()=>Eq,openIdConfigError:()=>kq,platformBrokerError:()=>XMe,requestCannotBeMade:()=>$q,resourceParameterRequired:()=>Hq,stateMismatch:()=>Pq,stateNotFound:()=>Uk,tokenClaimsCnfRequiredForSignedJwt:()=>Fq,tokenParsingError:()=>Ok,tokenRefreshRequired:()=>Hh,unexpectedCredentialType:()=>YMe,userCanceled:()=>JMe});var qk="client_info_decoding_error",Cq="client_info_empty_error",Ok="token_parsing_error",Eq="null_or_empty_token",_a="endpoints_resolution_error",Aq="network_error",kq="openid_config_error",Iq="hash_not_deserialized",lm="invalid_state",Pq="state_mismatch",Uk="state_not_found",Lq="nonce_mismatch",$x="auth_time_not_found",Rq="max_age_transpired",QMe="multiple_matching_tokens",Mq="multiple_matching_appMetadata",$q="request_cannot_be_made",Dq="cannot_remove_empty_scope",zq="cannot_append_scopeset",Hk="empty_input_scopeset",Dx="no_account_in_silent_request",Nq="invalid_cache_record",zx="invalid_cache_environment",jMe="no_account_found",Bk="no_crypto_object",YMe="unexpected_credential_type",Hh="token_refresh_required",Fq="token_claims_cnf_required_for_signedjwt",qq="authorization_code_missing_from_server_response",WMe="binding_key_not_removed",Oq="end_session_endpoint_not_supported",Uq="key_id_missing",KMe="no_network_connectivity",JMe="user_canceled",xt="method_not_implemented",ZMe="nested_app_auth_bridge_disabled",XMe="platform_broker_error",Hq="resource_parameter_required",Bq="misplaced_resource_parameter";var _n=class e{constructor(t){let o=t?No.trimArrayEntries([...t]):[],n=o?No.removeEmptyStringsFromArray(o):[];if(!n||!n.length)throw Mt(vq);this.scopes=new Set,n.forEach(i=>this.scopes.add(i))}static fromString(t){let n=(t||"").split(" ");return new e(n)}static createSearchScopes(t){let o=t&&t.length>0?t:[...$h],n=new e(o);return n.containsOnlyOIDCScopes()?n.removeScope(Tk):n.removeOIDCScopes(),n}containsScope(t){let o=this.printScopesLowerCase().split(" "),n=new e(o);return t?n.scopes.has(t.toLowerCase()):!1}containsScopeSet(t){return!t||t.scopes.size<=0?!1:this.scopes.size>=t.scopes.size&&t.asArray().every(o=>this.containsScope(o))}containsOnlyOIDCScopes(){let t=0;return Ek.forEach(o=>{this.containsScope(o)&&(t+=1)}),this.scopes.size===t}appendScope(t){t&&this.scopes.add(t.trim())}appendScopes(t){try{t.forEach(o=>this.appendScope(o))}catch{throw ne(zq)}}removeScope(t){if(!t)throw ne(Dq);this.scopes.delete(t.trim())}removeOIDCScopes(){Ek.forEach(t=>{this.scopes.delete(t)})}unionScopeSets(t){if(!t)throw ne(Hk);let o=new Set;return t.scopes.forEach(n=>o.add(n.toLowerCase())),this.scopes.forEach(n=>o.add(n.toLowerCase())),o}intersectingScopeSets(t){if(!t)throw ne(Hk);t.containsOnlyOIDCScopes()||t.removeOIDCScopes();let o=this.unionScopeSets(t),n=t.getScopeCount(),i=this.getScopeCount();return o.sizet.push(o)),t}printScopes(){return this.scopes?this.asArray().join(" "):""}printScopesLowerCase(){return this.printScopes().toLowerCase()}};function cm(e,t,o){if(!t)return;let n=e.get(dl);n&&e.has(Px)&&o?.addFields({embeddedClientId:n,embeddedRedirectUri:e.get(Lk)},t)}function e$e(e,t){e.set(PF,t)}function Vq(e,t){e.set(LF,t||mF.QUERY)}function t$e(e){e.set(aq,"1")}function um(e,t,o=!0,n=$h){o&&!n.includes("openid")&&!t.includes("openid")&&n.push("openid");let i=o?[...t||[],...n]:t||[],r=new _n(i);e.set($F,r.printScopes())}function dm(e,t){e.set(dl,t)}function pm(e,t){e.set(Lk,t)}function Gq(e,t){e.set(XF,t)}function Qq(e,t){e.set(eq,t)}function jq(e,t){e.set(dq,t)}function Bh(e,t){e.set(uq,t)}function Ju(e,t){e.set(Vo.CCS_HEADER,`UPN:${t}`)}function Ec(e,t){e.set(Vo.CCS_HEADER,`Oid:${t.uid}@${t.utid}`)}function Vk(e,t){e.set(cq,t)}function mm(e,t,o){let n=hce(t,o);try{JSON.parse(n)}catch{throw Mt(Nk)}e.set(MF,n)}function gm(e,t){e.set(BF,t)}function Nx(e,t){e.set(VF,t.sku),e.set(GF,t.version),t.os&&e.set(QF,t.os),t.cpu&&e.set(jF,t.cpu)}function Fx(e,t){t?.appName&&e.set(JF,t.appName),t?.appVersion&&e.set(ZF,t.appVersion)}function Yq(e,t){e.set(FF,t)}function qx(e,t){t&&e.set(zF,t)}function Wq(e,t){e.set(NF,t)}function o$e(e,t,o){if(t&&o)e.set(OF,t),e.set(UF,o);else throw Mt(Tq)}function Kq(e,t){e.set(qF,t)}function n$e(e,t){e.set(tq,t)}function Jq(e,t){e.set(DF,t)}function Zq(e,t){e.set(HF,t)}function Ox(e,t){e.set(oq,t)}function Ux(e,t){t&&e.set(nq,t)}function Hx(e,t){t&&e.set(iq,t)}function i$e(e,t){e.set(rq,t)}function r$e(e,t){e.set(sq,t)}function Bx(e,t){e.set(RF,t)}function fm(e){e.set(hF,"1")}function Xq(e){e.set(fq,"1")}function Vx(e){e.has(qh)||e.set(qh,"true")}function Ac(e,t){Object.entries(t).forEach(([o,n])=>{!e.has(o)&&n&&e.set(o,n)})}function hce(e,t){let o;if(!e)o={};else try{o=JSON.parse(e)}catch{throw Mt(Nk)}return t&&t.length>0&&(o.hasOwnProperty(Dh.ACCESS_TOKEN)||(o[Dh.ACCESS_TOKEN]={}),o[Dh.ACCESS_TOKEN][Dh.XMS_CC]={values:t}),JSON.stringify(o)}function s$e(e,t){e.set(Pk.username,t)}function a$e(e,t){e.set(Pk.password,t)}function Gx(e,t){t&&(e.set(Rk,wo.POP),e.set(Mk,t))}function Qx(e,t){t&&(e.set(Rk,wo.SSH),e.set(Mk,t))}function jx(e,t){e.set(YF,t.generateCurrentRequestHeaderValue()),e.set(WF,t.generateLastRequestHeaderValue())}function Yx(e){e.set(KF,CF)}function eO(e,t){e.set(lq,t)}function kc(e,t,o){e.has(Px)||e.set(Px,t),e.has(Dk)||e.set(Dk,o)}function l$e(e,t){e.set(pq,encodeURIComponent(t)),e.set(mq,"eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0")}function Wx(e,t){t&&e.set(gq,t)}var ks={};Do(ks,{getDeserializedResponse:()=>c$e,mapToQueryString:()=>pl,normalizeUrlForComparison:()=>u$e,stripLeadingHashOrQuery:()=>_ce});function bce(e){if(!e)return e;let t=e.toLowerCase();return No.endsWith(t,"?")?t=t.slice(0,-1):No.endsWith(t,"?/")&&(t=t.slice(0,-2)),No.endsWith(t,"/")||(t+="/"),t}function _ce(e){return e.startsWith("#/")?e.substring(2):e.startsWith("#")||e.startsWith("?")?e.substring(1):e}function c$e(e){if(!e||e.indexOf("=")<0)return null;try{let t=_ce(e),o=Object.fromEntries(new URLSearchParams(t));if(o.code||o.ear_jwe||o.error||o.error_description||o.state)return o}catch{throw ne(Iq)}return null}function pl(e){let t=new Array;return e.forEach((o,n)=>{t.push(`${n}=${encodeURIComponent(o)}`)}),t.join("&")}function u$e(e){if(!e)return e;let t=e.split("#")[0];try{let o=new URL(t),n=o.origin+o.pathname+o.search;return bce(n)}catch{return bce(t)}}var Zu={createNewGuid:()=>{throw ne(xt)},base64Decode:()=>{throw ne(xt)},base64Encode:()=>{throw ne(xt)},base64UrlEncode:()=>{throw ne(xt)},encodeKid:()=>{throw ne(xt)},async getPublicKeyThumbprint(){throw ne(xt)},async removeTokenBindingKey(){throw ne(xt)},async clearKeystore(){throw ne(xt)},async signJwt(){throw ne(xt)},async hashString(){throw ne(xt)}};var zt;(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"})(zt||(zt={}));var d$e=50,p$e=500,hm=new Map;function m$e(e,t){hm.delete(e),hm.set(e,t)}function g$e(e,t){let o=Date.now(),n=hm.get(e);if(n)m$e(e,n);else if(n={logs:[],firstEventTime:o},hm.set(e,n),hm.size>d$e){let i=hm.keys().next().value;i&&hm.delete(i)}n.logs.push({...t,milliseconds:o-n.firstEventTime}),n.logs.length>p$e&&n.logs.shift()}function f$e(e){if(e.length!==6)return!1;for(let t=0;t="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"))return!1}return!0}var vn=class e{constructor(t,o,n){this.level=zt.Info;let i=()=>{},r=t||e.createDefaultLoggerOptions();this.localCallback=r.loggerCallback||i,this.piiLoggingEnabled=r.piiLoggingEnabled||!1,this.level=typeof r.logLevel=="number"?r.logLevel:zt.Info,this.packageName=o||"",this.packageVersion=n||""}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:zt.Info}}clone(t,o){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level},t,o)}logMessage(t,o){let n=o.correlationId;if(f$e(t)){let l={hash:t,level:o.logLevel,containsPii:o.containsPii||!1,milliseconds:0};g$e(n,l)}if(o.logLevel>this.level||!this.piiLoggingEnabled&&o.containsPii)return;let a=`${`[${new Date().toUTCString()}] : [${n}]`} : ${this.packageName}@${this.packageVersion} : ${zt[o.logLevel]} - ${t}`;this.executeCallback(o.logLevel,a,o.containsPii||!1)}executeCallback(t,o,n){this.localCallback&&this.localCallback(t,o,n)}error(t,o){this.logMessage(t,{logLevel:zt.Error,containsPii:!1,correlationId:o})}errorPii(t,o){this.logMessage(t,{logLevel:zt.Error,containsPii:!0,correlationId:o})}warning(t,o){this.logMessage(t,{logLevel:zt.Warning,containsPii:!1,correlationId:o})}warningPii(t,o){this.logMessage(t,{logLevel:zt.Warning,containsPii:!0,correlationId:o})}info(t,o){this.logMessage(t,{logLevel:zt.Info,containsPii:!1,correlationId:o})}infoPii(t,o){this.logMessage(t,{logLevel:zt.Info,containsPii:!0,correlationId:o})}verbose(t,o){this.logMessage(t,{logLevel:zt.Verbose,containsPii:!1,correlationId:o})}verbosePii(t,o){this.logMessage(t,{logLevel:zt.Verbose,containsPii:!0,correlationId:o})}trace(t,o){this.logMessage(t,{logLevel:zt.Trace,containsPii:!1,correlationId:o})}tracePii(t,o){this.logMessage(t,{logLevel:zt.Trace,containsPii:!0,correlationId:o})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}};var Xu="@azure/msal-common",ml="16.4.1";var ed={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 tO(e,t){return!!e&&!!t&&e===t.split(".")[1]}function gl(e,t,o,n){if(n){let{oid:i,sub:r,tid:s,name:a,tfp:l,acr:c,preferred_username:u,upn:p,login_hint:m}=n,g=s||l||c||"";return{tenantId:g,localAccountId:i||r||"",name:a,username:u||p||"",loginHint:m,isHomeTenant:tO(g,e)}}else return{tenantId:o,localAccountId:t,username:"",isHomeTenant:tO(o,e)}}function bm(e,t,o,n){let i=e;if(t){let{isHomeTenant:r,...s}=t;i={...e,...s}}if(o){let{isHomeTenant:r,...s}=gl(e.homeAccountId,e.localAccountId,e.tenantId,o);return i={...i,...s,idTokenClaims:o,idToken:n},i}return i}var pi={};Do(pi,{checkMaxAge:()=>Kx,extractTokenClaims:()=>Ic,getJWSPayload:()=>vce,isKmsi:()=>oO});function Ic(e,t){let o=vce(e);try{let n=t(o);return JSON.parse(n)}catch{throw ne(Ok)}}function oO(e){if(!e.signin_state)return!1;let t=["kmsi","dvc_dmjd"];return e.signin_state.some(o=>t.includes(o.trim().toLowerCase()))}function vce(e){if(!e)throw ne(Eq);let o=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!o||o.length<4)throw ne(Ok);return o[2]}function Kx(e,t){if(t===0||Date.now()-3e5>e+t)throw ne(Rq)}var Et=class e{get urlString(){return this._urlString}constructor(t){if(this._urlString=t,!this._urlString)throw Mt(_q);t.includes("#")||(this._urlString=e.canonicalizeUri(t))}static canonicalizeUri(t){if(t){let o=t.toLowerCase();return No.endsWith(o,"?")?o=o.slice(0,-1):No.endsWith(o,"?/")&&(o=o.slice(0,-2)),No.endsWith(o,"/")||(o+="/"),o}return t}validateAsUri(){let t;try{t=this.getUrlComponents()}catch{throw Mt(Uh)}if(!t.HostNameAndPort||!t.PathSegments)throw Mt(Uh);if(!t.Protocol||t.Protocol.toLowerCase()!=="https:")throw Mt(bq)}static appendQueryString(t,o){return o?t.indexOf("?")<0?`${t}?${o}`:`${t}&${o}`:t}static removeHashFromUrl(t){return e.canonicalizeUri(t.split("#")[0])}replaceTenantPath(t){let o=this.getUrlComponents(),n=o.PathSegments;return t&&n.length!==0&&(n[0]===ha.COMMON||n[0]===ha.ORGANIZATIONS)&&(n[0]=t),e.constructAuthorityUriFromObject(o)}getUrlComponents(){let t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),o=this.urlString.match(t);if(!o)throw Mt(Uh);let n={Protocol:o[1],HostNameAndPort:o[4],AbsolutePath:o[5],QueryString:o[7]},i=n.AbsolutePath.split("/");return i=i.filter(r=>r&&r.length>0),n.PathSegments=i,n.QueryString&&n.QueryString.endsWith("/")&&(n.QueryString=n.QueryString.substring(0,n.QueryString.length-1)),n}static getDomainFromUrl(t){let o=RegExp("^([^:/?#]+://)?([^/?#]*)"),n=t.match(o);if(!n)throw Mt(Uh);return n[2]}static getAbsoluteUrl(t,o){if(t[0]===Mh){let i=new e(o).getUrlComponents();return i.Protocol+"//"+i.HostNameAndPort+t}return t}static constructAuthorityUriFromObject(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))}};var h$e=[{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 b$e(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 _$e=h$e.reduce((e,{host:t,issuerHost:o})=>(e[t]=b$e(t,o||t),e),{}),xce={endpointMetadata:_$e,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"]}]}},nO=xce.endpointMetadata,iO=xce.instanceDiscoveryMetadata,rO=new Set;iO.metadata.forEach(e=>{e.aliases.forEach(t=>{rO.add(t)})});function Tce(e,t,o){let n,i=e.canonicalAuthority;if(i){let r=new Et(i).getUrlComponents().HostNameAndPort;n=yce(t,o,r,e.cloudDiscoveryMetadata?.metadata)||yce(t,o,r,iO.metadata)||e.knownAuthorities}return n||[]}function yce(e,t,o,n,i){if(e.trace("1bmquz",t),o&&n){let r=Jx(n,o);if(r)return e.trace("1fotbt",t),r.aliases;e.trace("14avvj",t)}return null}function Sce(e){return Jx(iO.metadata,e)}function Jx(e,t){for(let o=0;oaO,cacheQuotaExceeded:()=>sO});var sO="cache_quota_exceeded",aO="cache_error_unknown";var td=class e extends Error{constructor(t,o){let n=o||zk(t);super(n),Object.setPrototypeOf(this,e.prototype),this.name="CacheError",this.errorCode=t,this.errorMessage=n}};function Vh(e){return e instanceof Error?e.name==="QuotaExceededError"||e.name==="NS_ERROR_DOM_QUOTA_REACHED"||e.message.includes("exceeded the quota")?new td(sO):new td(e.name,e.message):new td(aO)}var Is={};Do(Is,{createAccountEntity:()=>lO,createAccountEntityFromAccountInfo:()=>x$e,generateAccountId:()=>v$e,generateHomeAccountId:()=>cO,getAccountInfo:()=>Qh,isAccountEntity:()=>T$e,isSingleTenant:()=>y$e});function Gh(e,t){if(!e)throw ne(Cq);try{let o=t(e);return JSON.parse(o)}catch{throw ne(qk)}}function fl(e){if(!e)throw ne(qk);let t=e.split(zh,2);return{uid:t[0],utid:t.length<2?"":t[1]}}var Ai={Default:0,Adfs:1,Dsts:2,Ciam:3};function _m(e){return e&&(e.tid||e.tfp||e.acr)||null}var po={AAD:"AAD",OIDC:"OIDC",EAR:"EAR"};function v$e(e){return[e.homeAccountId,e.environment].join(sm).toLowerCase()}function Qh(e){let t=e.tenantProfiles||[];return t.length===0&&e.realm&&e.localAccountId&&t.push(gl(e.homeAccountId,e.localAccountId,e.realm)),{homeAccountId:e.homeAccountId,environment:e.environment,tenantId:e.realm,username:e.username,localAccountId:e.localAccountId,loginHint:e.loginHint,name:e.name,nativeAccountId:e.nativeAccountId,authorityType:e.authorityType,tenantProfiles:new Map(t.map(o=>[o.tenantId,o])),dataBoundary:e.dataBoundary}}function y$e(e){return!e.tenantProfiles}function lO(e,t,o){let n;t.authorityType===Ai.Adfs?n=fF:t.protocolMode===po.OIDC?n=Ak:n=gF;let i,r;e.clientInfo&&o&&(i=Gh(e.clientInfo,o),i.xms_tdbr&&(r=i.xms_tdbr==="EU"?"EU":"None"));let s=e.environment||t&&t.getPreferredCache();if(!s)throw ne(zx);let a=e.idTokenClaims?.preferred_username||e.idTokenClaims?.upn,l=e.idTokenClaims?.emails?e.idTokenClaims.emails[0]:null,c=a||l||"",u=e.idTokenClaims?.login_hint,p=i?.utid||_m(e.idTokenClaims)||"",m=i?.uid||e.idTokenClaims?.oid||e.idTokenClaims?.sub||"",g;return e.tenantProfiles?g=e.tenantProfiles:g=[gl(e.homeAccountId,m,p,e.idTokenClaims)],{homeAccountId:e.homeAccountId,environment:s,realm:p,localAccountId:m,username:c,authorityType:n,loginHint:u,clientInfo:e.clientInfo,name:e.idTokenClaims?.name||"",lastModificationTime:void 0,lastModificationApp:void 0,cloudGraphHostName:e.cloudGraphHostName,msGraphHost:e.msGraphHost,nativeAccountId:e.nativeAccountId,tenantProfiles:g,dataBoundary:r}}function x$e(e,t,o){let n=Array.from(e.tenantProfiles?.values()||[]);return n.length===0&&e.tenantId&&e.localAccountId&&n.push(gl(e.homeAccountId,e.localAccountId,e.tenantId,e.idTokenClaims)),{authorityType:e.authorityType||Ak,homeAccountId:e.homeAccountId,localAccountId:e.localAccountId,nativeAccountId:e.nativeAccountId,realm:e.tenantId,environment:e.environment,username:e.username,loginHint:e.loginHint,name:e.name,cloudGraphHostName:t,msGraphHost:o,tenantProfiles:n,dataBoundary:e.dataBoundary}}function cO(e,t,o,n,i,r){if(!(t===Ai.Adfs||t===Ai.Dsts)){if(e)try{let s=Gh(e,n.base64Decode);if(s.uid&&s.utid)return`${s.uid}.${s.utid}`}catch{}o.warning("1ub6wv",i)}return r?.sub||""}function T$e(e){return e?e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"):!1}var vm=class{constructor(t,o,n,i,r){this.clientId=t,this.cryptoImpl=o,this.commonLogger=n.clone(Xu,ml),this.staticAuthorityOptions=r,this.performanceClient=i}getAllAccounts(t={},o){return this.buildTenantProfiles(this.getAccountsFilteredBy(t,o),o,t)}getAccountInfoFilteredBy(t,o){if(Object.keys(t).length===0||Object.values(t).every(i=>i==null||i===""))return this.commonLogger.warning("1skb02",o),null;let n=this.getAllAccounts(t,o);return n.length>1?n.sort(r=>r.idTokenClaims?-1:1)[0]:n.length===1?n[0]:null}getBaseAccountInfo(t,o){let n=this.getAccountsFilteredBy(t,o);return n.length>0?Qh(n[0]):null}buildTenantProfiles(t,o,n){return t.flatMap(i=>this.getTenantProfilesFromAccountEntity(i,o,n?.tenantId,n))}getTenantedAccountInfoByFilter(t,o,n,i,r){let s=null,a;if(r&&!this.tenantProfileMatchesFilter(n,r))return null;let l=this.getIdToken(t,i,o,n.tenantId);return l&&(a=Ic(l.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(a,r))?null:(s=bm(t,n,a,l?.secret),s)}getTenantProfilesFromAccountEntity(t,o,n,i){let r=Qh(t),s=r.tenantProfiles||new Map,a=this.getTokenKeys();if(n){let c=s.get(n);if(c)s=new Map([[n,c]]);else return[]}let l=[];return s.forEach(c=>{let u=this.getTenantedAccountInfoByFilter(r,a,c,o,i);u&&l.push(u)}),l}tenantProfileMatchesFilter(t,o){return!(o.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(t,o.localAccountId)||o.name&&t.name!==o.name||o.isHomeTenant!==void 0&&t.isHomeTenant!==o.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(t,o){return!(o&&(o.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(t,o.localAccountId)||o.loginHint&&!this.matchLoginHintFromTokenClaims(t,o.loginHint)||o.username&&!this.matchUsername(t.preferred_username,o.username)||o.name&&!this.matchName(t,o.name)||o.sid&&!this.matchSid(t,o.sid)))}async saveCacheRecord(t,o,n,i,r){if(!t)throw ne(Nq);try{t.account&&await this.setAccount(t.account,o,n,i),t.idToken&&r?.idToken!==!1&&await this.setIdTokenCredential(t.idToken,o,n),t.accessToken&&r?.accessToken!==!1&&await this.saveAccessToken(t.accessToken,o,n),t.refreshToken&&r?.refreshToken!==!1&&await this.setRefreshTokenCredential(t.refreshToken,o,n),t.appMetadata&&this.setAppMetadata(t.appMetadata,o)}catch(s){throw this.commonLogger?.error("0j476p",o),s instanceof rt?s:Vh(s)}}async saveAccessToken(t,o,n){let i={clientId:t.clientId,credentialType:t.credentialType,environment:t.environment,homeAccountId:t.homeAccountId,realm:t.realm,tokenType:t.tokenType},r=this.getTokenKeys(),s=_n.fromString(t.target);r.accessToken.forEach(a=>{if(!this.accessTokenKeyMatchesFilter(a,i,!1))return;let l=this.getAccessTokenCredential(a,o);l&&this.credentialMatchesFilter(l,i,o)&&_n.fromString(l.target).intersectingScopeSets(s)&&this.removeAccessToken(a,o)}),await this.setAccessTokenCredential(t,o,n)}getAccountsFilteredBy(t,o){let n=this.getAccountKeys(),i=[];return n.forEach(r=>{let s=this.getAccount(r,o);if(!s||t.homeAccountId&&!this.matchHomeAccountId(s,t.homeAccountId)||t.username&&!this.matchUsername(s.username,t.username)||t.environment&&!this.matchEnvironment(s,t.environment,o)||t.realm&&!this.matchRealm(s,t.realm)||t.nativeAccountId&&!this.matchNativeAccountId(s,t.nativeAccountId)||t.authorityType&&!this.matchAuthorityType(s,t.authorityType))return;let a={localAccountId:t?.localAccountId,name:t?.name},l=s.tenantProfiles?.filter(c=>this.tenantProfileMatchesFilter(c,a));l&&l.length===0||i.push(s)}),i}credentialMatchesFilter(t,o,n){return!(o.clientId&&!this.matchClientId(t,o.clientId)||o.userAssertionHash&&!this.matchUserAssertionHash(t,o.userAssertionHash)||typeof o.homeAccountId=="string"&&!this.matchHomeAccountId(t,o.homeAccountId)||o.environment&&!this.matchEnvironment(t,o.environment,n)||o.realm&&!this.matchRealm(t,o.realm)||o.credentialType&&!this.matchCredentialType(t,o.credentialType)||o.familyId&&!this.matchFamilyId(t,o.familyId)||o.target&&!this.matchTarget(t,o.target)||t.credentialType===hn.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(o.tokenType&&!this.matchTokenType(t,o.tokenType)||o.tokenType===wo.SSH&&o.keyId&&!this.matchKeyId(t,o.keyId)))}getAppMetadataFilteredBy(t,o){let n=this.getKeys(),i={};return n.forEach(r=>{if(!this.isAppMetadata(r))return;let s=this.getAppMetadata(r,o);s&&(t.environment&&!this.matchEnvironment(s,t.environment,o)||t.clientId&&!this.matchClientId(s,t.clientId)||(i[r]=s))}),i}getAuthorityMetadataByAlias(t,o){let n=this.getAuthorityMetadataKeys(),i=null;return n.forEach(r=>{if(!this.isAuthorityMetadata(r)||r.indexOf(this.clientId)===-1)return;let s=this.getAuthorityMetadata(r,o);s&&s.aliases.indexOf(t)!==-1&&(i=s)}),i}removeAllAccounts(t){this.getAllAccounts({},t).forEach(n=>{this.removeAccount(n,t)})}removeAccount(t,o){this.removeAccountContext(t,o);let n=this.getAccountKeys(),i=r=>r.includes(t.homeAccountId)&&r.includes(t.environment);n.filter(i).forEach(r=>{this.removeItem(r,o),this.performanceClient.incrementFields({accountsRemoved:1},o)})}removeAccountContext(t,o){let n=this.getTokenKeys(),i=r=>r.includes(t.homeAccountId)&&r.includes(t.environment);n.idToken.filter(i).forEach(r=>{this.removeIdToken(r,o)}),n.accessToken.filter(i).forEach(r=>{this.removeAccessToken(r,o)}),n.refreshToken.filter(i).forEach(r=>{this.removeRefreshToken(r,o)})}removeAccessToken(t,o){let n=this.getAccessTokenCredential(t,o);if(n&&(this.removeItem(t,o),this.performanceClient.incrementFields({accessTokensRemoved:1},o),n.credentialType.toLowerCase()===hn.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&n.tokenType===wo.POP)){let r=n.keyId;r&&this.cryptoImpl.removeTokenBindingKey(r,o).catch(()=>{this.commonLogger.error("0cx291",o),this.performanceClient?.incrementFields({removeTokenBindingKeyFailure:1},o)})}}removeAppMetadata(t){return this.getKeys().forEach(n=>{this.isAppMetadata(n)&&this.removeItem(n,t)}),!0}getIdToken(t,o,n,i){this.commonLogger.trace("1drz22",o);let r={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:hn.ID_TOKEN,clientId:this.clientId,realm:i},s=this.getIdTokensByFilter(r,o,n),a=s.size;if(a<1)return this.commonLogger.info("1atvtd",o),null;if(a>1){let l=s;if(!i){let c=new Map;s.forEach((p,m)=>{p.realm===t.tenantId&&c.set(m,p)});let u=c.size;if(u<1)return this.commonLogger.info("0ooalx",o),s.values().next().value;if(u===1)return this.commonLogger.info("1eq2vc",o),c.values().next().value;l=c}return this.commonLogger.info("1ws328",o),l.forEach((c,u)=>{this.removeIdToken(u,o)}),this.performanceClient.addFields({multiMatchedID:s.size},o),null}return this.commonLogger.info("1sm769",o),s.values().next().value}getIdTokensByFilter(t,o,n){let i=n&&n.idToken||this.getTokenKeys().idToken,r=new Map;return i.forEach(s=>{if(!this.idTokenKeyMatchesFilter(s,{clientId:this.clientId,...t}))return;let a=this.getIdTokenCredential(s,o);a&&this.credentialMatchesFilter(a,t,o)&&r.set(s,a)}),r}idTokenKeyMatchesFilter(t,o){let n=t.toLowerCase();return!(o.clientId&&n.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&n.indexOf(o.homeAccountId.toLowerCase())===-1)}removeIdToken(t,o){this.removeItem(t,o)}removeRefreshToken(t,o){this.removeItem(t,o)}getAccessToken(t,o,n,i){let r=o.correlationId;this.commonLogger.trace("1t7hz1",r);let s=_n.createSearchScopes(o.scopes),a=o.authenticationScheme||wo.BEARER,l=a&&a.toLowerCase()!==wo.BEARER.toLowerCase()?hn.ACCESS_TOKEN_WITH_AUTH_SCHEME:hn.ACCESS_TOKEN,c={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:l,clientId:this.clientId,realm:i||t.tenantId,target:s,tokenType:a,keyId:o.sshKid},u=n&&n.accessToken||this.getTokenKeys().accessToken,p=[];u.forEach(g=>{if(this.accessTokenKeyMatchesFilter(g,c,!0)){let f=this.getAccessTokenCredential(g,r);f&&this.credentialMatchesFilter(f,c,r)&&p.push(f)}});let m=p.length;return m<1?(this.commonLogger.info("1nckna",r),null):m>1?(this.commonLogger.info("1wkfwp",r),p.forEach(g=>{this.removeAccessToken(this.generateCredentialKey(g),r)}),this.performanceClient.addFields({multiMatchedAT:p.length},r),null):(this.commonLogger.info("06yt98",r),p[0])}accessTokenKeyMatchesFilter(t,o,n){let i=t.toLowerCase();if(o.clientId&&i.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&i.indexOf(o.homeAccountId.toLowerCase())===-1||o.realm&&i.indexOf(o.realm.toLowerCase())===-1)return!1;if(o.target){let r=o.target.asArray();for(let s=0;s{if(!this.accessTokenKeyMatchesFilter(r,t,!0))return;let s=this.getAccessTokenCredential(r,o);s&&this.credentialMatchesFilter(s,t,o)&&i.push(s)}),i}getRefreshToken(t,o,n,i){this.commonLogger.trace("0x53vi",n);let r=o?am:void 0,s={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:hn.REFRESH_TOKEN,clientId:this.clientId,familyId:r},a=i&&i.refreshToken||this.getTokenKeys().refreshToken,l=[];a.forEach(u=>{if(this.refreshTokenKeyMatchesFilter(u,s)){let p=this.getRefreshTokenCredential(u,n);p&&this.credentialMatchesFilter(p,s,n)&&l.push(p)}});let c=l.length;return c<1?(this.commonLogger.info("0dlw11",n),null):(c>1&&this.performanceClient.addFields({multiMatchedRT:c},n),this.commonLogger.info("0wcnep",n),l[0])}refreshTokenKeyMatchesFilter(t,o){let n=t.toLowerCase();return!(o.familyId&&n.indexOf(o.familyId.toLowerCase())===-1||!o.familyId&&o.clientId&&n.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&n.indexOf(o.homeAccountId.toLowerCase())===-1)}readAppMetadataFromCache(t,o){let n={environment:t,clientId:this.clientId},i=this.getAppMetadataFilteredBy(n,o),r=Object.keys(i).map(a=>i[a]),s=r.length;if(s<1)return null;if(s>1)throw ne(Mq);return r[0]}isAppMetadataFOCI(t,o){let n=this.readAppMetadataFromCache(t,o);return!!(n&&n.familyId===am)}matchHomeAccountId(t,o){return typeof t.homeAccountId=="string"&&o===t.homeAccountId}matchLocalAccountIdFromTokenClaims(t,o){let n=t.oid||t.sub;return o===n}matchLocalAccountIdFromTenantProfile(t,o){return t.localAccountId===o}matchName(t,o){return o.toLowerCase()===t.name?.toLowerCase()}matchUsername(t,o){return!!(t&&typeof t=="string"&&o?.toLowerCase()===t.toLowerCase())}matchUserAssertionHash(t,o){return!!(t.userAssertionHash&&o===t.userAssertionHash)}matchEnvironment(t,o,n){if(this.staticAuthorityOptions){let r=Tce(this.staticAuthorityOptions,this.commonLogger,n);if(r.includes(o)&&r.includes(t.environment))return!0}let i=this.getAuthorityMetadataByAlias(o,n);return!!(i&&i.aliases.indexOf(t.environment)>-1)}matchCredentialType(t,o){return t.credentialType&&o.toLowerCase()===t.credentialType.toLowerCase()}matchClientId(t,o){return!!(t.clientId&&o===t.clientId)}matchFamilyId(t,o){return!!(t.familyId&&o===t.familyId)}matchRealm(t,o){return t.realm?.toLowerCase()===o.toLowerCase()}matchNativeAccountId(t,o){return!!(t.nativeAccountId&&o===t.nativeAccountId)}matchLoginHintFromTokenClaims(t,o){return t.login_hint===o||t.preferred_username===o||t.upn===o}matchSid(t,o){return t.sid===o}matchAuthorityType(t,o){return!!(t.authorityType&&o.toLowerCase()===t.authorityType.toLowerCase())}matchTarget(t,o){return t.credentialType!==hn.ACCESS_TOKEN&&t.credentialType!==hn.ACCESS_TOKEN_WITH_AUTH_SCHEME||!t.target?!1:_n.fromString(t.target).containsScopeSet(o)}matchTokenType(t,o){return!!(t.tokenType&&t.tokenType===o)}matchKeyId(t,o){return!!(t.keyId&&t.keyId===o)}isAppMetadata(t){return t.indexOf(Nh)!==-1}isAuthorityMetadata(t){return t.indexOf(Fh)!==-1}generateAuthorityMetadataCacheKey(t){return`${Fh}-${this.clientId}-${t}`}static toObject(t,o){for(let n in o)t[n]=o[n];return t}},Xx=class extends vm{async setAccount(){throw ne(xt)}getAccount(){throw ne(xt)}async setIdTokenCredential(){throw ne(xt)}getIdTokenCredential(){throw ne(xt)}async setAccessTokenCredential(){throw ne(xt)}getAccessTokenCredential(){throw ne(xt)}async setRefreshTokenCredential(){throw ne(xt)}getRefreshTokenCredential(){throw ne(xt)}setAppMetadata(){throw ne(xt)}getAppMetadata(){throw ne(xt)}setServerTelemetry(){throw ne(xt)}getServerTelemetry(){throw ne(xt)}setAuthorityMetadata(){throw ne(xt)}getAuthorityMetadata(){throw ne(xt)}getAuthorityMetadataKeys(){throw ne(xt)}setThrottlingCache(){throw ne(xt)}getThrottlingCache(){throw ne(xt)}removeItem(){throw ne(xt)}getKeys(){throw ne(xt)}getAccountKeys(){throw ne(xt)}getTokenKeys(){throw ne(xt)}generateCredentialKey(){throw ne(xt)}generateAccountKey(){throw ne(xt)}};var wce={NotStarted:0,InProgress:1,Completed:2};var Pc=class{generateId(){return"callback-id"}startMeasurement(t,o){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:wce.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:t,startTimeMs:Date.now(),correlationId:o||""}}}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}};var Gk={tokenRenewalOffsetSeconds:IF,preventCorsPreflight:!1},S$e={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:zt.Info,correlationId:""},w$e={async sendGetRequestAsync(){throw ne(xt)},async sendPostRequestAsync(){throw ne(xt)}},C$e={sku:K2,version:ml,cpu:"",os:""},E$e={clientSecret:"",clientAssertion:void 0},A$e={azureCloudInstance:ed.None,tenant:`${Sx}`},k$e={application:{appName:"",appVersion:""}};function jh({authOptions:e,systemOptions:t,loggerOptions:o,storageInterface:n,networkInterface:i,cryptoInterface:r,clientCredentials:s,libraryInfo:a,telemetry:l,serverTelemetryManager:c,persistencePlugin:u,serializableCache:p}){let m={...S$e,...o};return{authOptions:I$e(e),systemOptions:{...Gk,...t},loggerOptions:m,storageInterface:n||new Xx(e.clientId,Zu,new vn(m),new Pc),networkInterface:i||w$e,cryptoInterface:r||Zu,clientCredentials:s||E$e,libraryInfo:{...C$e,...a},telemetry:{...k$e,...l},serverTelemetryManager:c||null,persistencePlugin:u||null,serializableCache:p||null}}function I$e(e){return{clientCapabilities:[],azureCloudOptions:A$e,instanceAware:!1,isMcp:!1,...e}}function Qk(e){return e.authOptions.authority.options.protocolMode===po.OIDC}var jk=class{constructor(t,o){this.cache=t,this.hasChanged=o}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}};var yn={};Do(yn,{createAccessTokenEntity:()=>pO,createIdTokenEntity:()=>dO,createRefreshTokenEntity:()=>mO,generateAppMetadataKey:()=>F$e,generateAuthorityMetadataExpiresAt:()=>Wk,isAccessTokenEntity:()=>M$e,isAppMetadataEntity:()=>q$e,isAuthorityMetadataEntity:()=>O$e,isAuthorityMetadataExpired:()=>Kk,isCredentialEntity:()=>Yk,isIdTokenEntity:()=>$$e,isRefreshTokenEntity:()=>D$e,isServerTelemetryEntity:()=>z$e,isThrottlingEntity:()=>N$e,updateAuthorityEndpointMetadata:()=>Wh,updateCloudDiscoveryMetadata:()=>tT});var sr={};Do(sr,{delay:()=>R$e,isCacheExpired:()=>L$e,isTokenExpired:()=>Yh,nowSeconds:()=>qr,toDateFromSeconds:()=>eT,toSecondsFromDate:()=>P$e,wasClockTurnedBack:()=>uO});function qr(){return Math.round(new Date().getTime()/1e3)}function P$e(e){return e.getTime()/1e3}function eT(e){return e?new Date(Number(e)*1e3):new Date}function Yh(e,t){let o=Number(e)||0;return qr()+t>o}function L$e(e,t){let o=Number(e)+t*24*60*60*1e3;return Date.now()>o}function uO(e){return Number(e)>qr()}function R$e(e,t){return new Promise(o=>setTimeout(()=>o(t),e))}function dO(e,t,o,n,i){return{credentialType:hn.ID_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,realm:i,lastUpdatedAt:Date.now().toString()}}function pO(e,t,o,n,i,r,s,a,l,c,u,p,m){let g={homeAccountId:e,credentialType:hn.ACCESS_TOKEN,secret:o,cachedAt:qr().toString(),expiresOn:s.toString(),extendedExpiresOn:a.toString(),environment:t,clientId:n,realm:i,target:r,tokenType:u||wo.BEARER,lastUpdatedAt:Date.now().toString()};if(p&&(g.userAssertionHash=p),c&&(g.refreshOn=c.toString()),g.tokenType?.toLowerCase()!==wo.BEARER.toLowerCase())switch(g.credentialType=hn.ACCESS_TOKEN_WITH_AUTH_SCHEME,g.tokenType){case wo.POP:let f=Ic(o,l);if(!f?.cnf?.kid)throw ne(Fq);g.keyId=f.cnf.kid;break;case wo.SSH:g.keyId=m}return g}function mO(e,t,o,n,i,r,s){let a={credentialType:hn.REFRESH_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,lastUpdatedAt:Date.now().toString()};return r&&(a.userAssertionHash=r),i&&(a.familyId=i),s&&(a.expiresOn=s.toString()),a}function Yk(e){return e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")}function M$e(e){return e?Yk(e)&&e.hasOwnProperty("realm")&&e.hasOwnProperty("target")&&(e.credentialType===hn.ACCESS_TOKEN||e.credentialType===hn.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1}function $$e(e){return e?Yk(e)&&e.hasOwnProperty("realm")&&e.credentialType===hn.ID_TOKEN:!1}function D$e(e){return e?Yk(e)&&e.credentialType===hn.REFRESH_TOKEN:!1}function z$e(e,t){let o=e.indexOf(Ax)===0,n=!0;return t&&(n=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),o&&n}function N$e(e,t){let o=!1;e&&(o=e.indexOf(kx)===0);let n=!0;return t&&(n=t.hasOwnProperty("throttleTime")),o&&n}function F$e({environment:e,clientId:t}){return[Nh,e,t].join(sm).toLowerCase()}function q$e(e,t){return t?e.indexOf(Nh)===0&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment"):!1}function O$e(e,t){return t?e.indexOf(Fh)===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 Wk(){return qr()+bF}function Wh(e,t,o){e.authorization_endpoint=t.authorization_endpoint,e.token_endpoint=t.token_endpoint,e.end_session_endpoint=t.end_session_endpoint,e.issuer=t.issuer,e.endpointsFromNetwork=o,e.jwks_uri=t.jwks_uri}function tT(e,t,o){e.aliases=t.aliases,e.preferred_cache=t.preferred_cache,e.preferred_network=t.preferred_network,e.aliasesFromNetwork=o}function Kk(e){return e.expiresAt<=qr()}var xn={};Do(xn,{AuthClientCreateTokenRequestBody:()=>TO,AuthClientExecuteTokenRequest:()=>xO,AuthorityGetCloudDiscoveryMetadataFromNetwork:()=>CO,AuthorityGetEndpointMetadataFromNetwork:()=>AO,AuthorityResolveEndpointsAsync:()=>wO,AuthorityUpdateCloudDiscoveryMetadata:()=>EO,AuthorityUpdateEndpointMetadata:()=>kO,AuthorityUpdateMetadataWithRegionalInformation:()=>Jk,AuthorizationCodeClientExecutePostToTokenEndpoint:()=>hO,CacheManagerGetRefreshToken:()=>LO,GetAuthCodeUrl:()=>U$e,HandleCodeResponseFromServer:()=>H$e,HandleServerTokenResponse:()=>nT,NetworkClientSendPostRequestAsync:()=>gO,PopTokenGenerateCnf:()=>ym,RefreshTokenClientAcquireToken:()=>_O,RefreshTokenClientAcquireTokenWithCachedRefreshToken:()=>oT,RefreshTokenClientCreateTokenRequestBody:()=>vO,RefreshTokenClientExecutePostToTokenEndpoint:()=>fO,RefreshTokenClientExecuteTokenRequest:()=>bO,RegionDiscoveryDetectRegion:()=>IO,RegionDiscoveryGetCurrentVersion:()=>PO,RegionDiscoveryGetRegionFromIMDS:()=>Zk,SetUserData:()=>B$e,SilentFlowClientGenerateResultFromCacheRecord:()=>yO,UpdateTokenEndpointAuthority:()=>SO});var gO="networkClientSendPostRequestAsync",fO="refreshTokenClientExecutePostToTokenEndpoint",hO="authorizationCodeClientExecutePostToTokenEndpoint",bO="refreshTokenClientExecuteTokenRequest",_O="refreshTokenClientAcquireToken",oT="refreshTokenClientAcquireTokenWithCachedRefreshToken",vO="refreshTokenClientCreateTokenRequestBody",yO="silentFlowClientGenerateResultFromCacheRecord",U$e="getAuthCodeUrl",H$e="handleCodeResponseFromServer",xO="authClientExecuteTokenRequest",TO="authClientCreateTokenRequestBody",SO="updateTokenEndpointAuthority",ym="popTokenGenerateCnf",nT="handleServerTokenResponse",wO="authorityResolveEndpointsAsync",CO="authorityGetCloudDiscoveryMetadataFromNetwork",EO="authorityUpdateCloudDiscoveryMetadata",AO="authorityGetEndpointMetadataFromNetwork",kO="authorityUpdateEndpointMetadata",Jk="authorityUpdateMetadataWithRegionalInformation",IO="regionDiscoveryDetectRegion",Zk="regionDiscoveryGetRegionFromIMDS",PO="regionDiscoveryGetCurrentVersion",LO="cacheManagerGetRefreshToken",B$e="setUserData";var Xo=(e,t,o,n,i)=>(...r)=>{o.trace("1plfzx",i);let s=n.startMeasurement(t,i);i&&n.incrementFields({[`ext.${t}CallCount`]:1},i);try{let a=e(...r);return s.end({success:!0}),o.trace("1g8n6a",i),a}catch(a){o.trace("0cfd8i",i);try{o.trace(JSON.stringify(a),i)}catch{o.trace("00dty7",i)}throw s.end({success:!1},a),a}},Q=(e,t,o,n,i)=>(...r)=>{o.trace("1plfzx",i);let s=n.startMeasurement(t,i);return i&&n.incrementFields({[`ext.${t}CallCount`]:1},i),e(...r).then(a=>(o.trace("1g8n6a",i),s.end({success:!0}),a)).catch(a=>{o.trace("0cfd8i",i);try{o.trace(JSON.stringify(a),i)}catch{o.trace("00dty7",i)}throw s.end({success:!1},a),a})};var V$e={SW:"sw"},ar=class{constructor(t,o){this.cryptoUtils=t,this.performanceClient=o}async generateCnf(t,o){let n=await Q(this.generateKid.bind(this),ym,o,this.performanceClient,t.correlationId)(t),i=this.cryptoUtils.base64UrlEncode(JSON.stringify(n));return{kid:n.kid,reqCnfString:i}}async generateKid(t){return{kid:await this.cryptoUtils.getPublicKeyThumbprint(t),xms_ksl:V$e.SW}}async signPopToken(t,o,n){return this.signPayload(t,o,n)}async signPayload(t,o,n,i){let{resourceRequestMethod:r,resourceRequestUri:s,shrClaims:a,shrNonce:l,shrOptions:c}=n,p=(s?new Et(s):void 0)?.getUrlComponents();return this.cryptoUtils.signJwt({at:t,ts:qr(),m:r?.toUpperCase(),u:p?.HostNameAndPort,nonce:l||this.cryptoUtils.createNewGuid(),p:p?.AbsolutePath,q:p?.QueryString?[[],p.QueryString]:void 0,client_claims:a||void 0,...i},o,c,n.correlationId)}};var hl={};Do(hl,{badToken:()=>iT,consentRequired:()=>DO,interactionRequired:()=>$O,interruptedUser:()=>NO,loginRequired:()=>zO,nativeAccountUnavailable:()=>G$e,noTokensFound:()=>Xk,refreshTokenExpired:()=>RO,uxNotAllowed:()=>MO});var Xk="no_tokens_found",G$e="native_account_unavailable",RO="refresh_token_expired",MO="ux_not_allowed",$O="interaction_required",DO="consent_required",zO="login_required",iT="bad_token",NO="interrupted_user";var Cce=[$O,DO,zO,iT,MO,NO],Q$e=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token","ux_not_allowed","interrupted_user"],Co=class e extends rt{constructor(t,o,n,i,r,s,a,l){super(t,o,n),Object.setPrototypeOf(this,e.prototype),this.timestamp=i||"",this.traceId=r||"",this.correlationId=s||"",this.claims=a||"",this.name="InteractionRequiredAuthError",this.errorNo=l}};function eI(e,t,o){let n=!!e&&Cce.indexOf(e)>-1,i=!!o&&Q$e.indexOf(o)>-1,r=!!t&&Cce.some(s=>t.indexOf(s)>-1);return n||r||i}function xm(e,t){return new Co(e,t)}var lr=class e extends rt{constructor(t,o,n,i,r){super(t,o,n),this.name="ServerError",this.errorNo=i,this.status=r,Object.setPrototypeOf(this,e.prototype)}};var va={};Do(va,{generateLibraryState:()=>Ece,parseRequestState:()=>FO,setRequestState:()=>j$e});function j$e(e,t,o){let n=Ece(e,o);return t?`${n}${wx}${t}`:n}function Ece(e,t){if(!e)throw ne(Bk);let o={id:e.createNewGuid()};t&&(o.meta=t);let n=JSON.stringify(o);return e.base64Encode(n)}function FO(e,t){if(!e)throw ne(Bk);if(!t)throw ne(lm);try{let o=t.split(wx),n=o[0],i=o.length>1?o.slice(1).join(wx):"",r=e(n),s=JSON.parse(r);return{userRequestState:i||"",libraryState:s}}catch{throw ne(lm)}}var ya=class e{constructor(t,o,n,i,r,s,a){this.clientId=t,this.cacheStorage=o,this.cryptoObj=n,this.logger=i,this.performanceClient=r,this.serializableCache=s,this.persistencePlugin=a}validateTokenResponse(t,o,n){if(t.error||t.error_description||t.suberror){let i=`Error(s): ${t.error_codes||rm} - Timestamp: ${t.timestamp||rm} - Description: ${t.error_description||rm} - Correlation ID: ${t.correlation_id||rm} - Trace ID: ${t.trace_id||rm}`,r=t.error_codes?.length?t.error_codes[0]:void 0,s=new lr(t.error,i,t.suberror,r,t.status);if(n&&t.status&&t.status>=dF&&t.status<=pF){this.logger.warning("16ks7j",o);return}else if(n&&t.status&&t.status>=cF&&t.status<=uF){this.logger.warning("0g61x3",o);return}throw eI(t.error,t.error_description,t.suberror)?new Co(t.error,t.error_description,t.suberror,t.timestamp||"",t.trace_id||"",t.correlation_id||"",t.claims||"",r):s}}async handleServerTokenResponse(t,o,n,i,r,s,a,l,c,u){let p;if(t.id_token){if(p=Ic(t.id_token||"",this.cryptoObj.base64Decode),s&&s.nonce&&p.nonce!==s.nonce)throw ne(Lq);if(i.maxAge||i.maxAge===0){let _=p.auth_time;if(!_)throw ne($x);Kx(_,i.maxAge)}}this.homeAccountIdentifier=cO(t.client_info||"",o.authorityType,this.logger,this.cryptoObj,i.correlationId,p);let m;s&&s.state&&(m=FO(this.cryptoObj.base64Decode,s.state)),t.key_id=t.key_id||i.sshKid||void 0;let g=this.generateCacheRecord(t,o,n,i,p,a,s),f;try{if(this.persistencePlugin&&this.serializableCache&&(this.logger.verbose("0jbz5k",i.correlationId),f=new jk(this.serializableCache,!0),await this.persistencePlugin.beforeCacheAccess(f)),l&&!c&&g.account&&this.cacheStorage.getAllAccounts({homeAccountId:g.account.homeAccountId,environment:g.account.environment},i.correlationId).length<1)return this.logger.warning("1gmt66",i.correlationId),this.performanceClient?.addFields({acntLoggedOut:!0},i.correlationId),await e.generateAuthenticationResult(this.cryptoObj,o,g,!1,i,this.performanceClient,p,m,void 0,u);await this.cacheStorage.saveCacheRecord(g,i.correlationId,oO(p||{}),r,i.storeInCache)}finally{this.persistencePlugin&&this.serializableCache&&f&&(this.logger.verbose("1bh17u",i.correlationId),await this.persistencePlugin.afterCacheAccess(f))}return e.generateAuthenticationResult(this.cryptoObj,o,g,!1,i,this.performanceClient,p,m,t,u)}generateCacheRecord(t,o,n,i,r,s,a){let l=o.getPreferredCache();if(!l)throw ne(zx);let c=_m(r),u,p;t.id_token&&r&&(u=dO(this.homeAccountIdentifier,l,t.id_token,this.clientId,c||""),p=tI(this.cacheStorage,o,this.homeAccountIdentifier,this.cryptoObj.base64Decode,i.correlationId,r,t.client_info,l,c,a,void 0,this.logger,this.performanceClient));let m=null;if(t.access_token){let _=t.scope?_n.fromString(t.scope):new _n(i.scopes||[]),h=(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,y=(typeof t.ext_expires_in=="string"?parseInt(t.ext_expires_in,10):t.ext_expires_in)||0,v=(typeof t.refresh_in=="string"?parseInt(t.refresh_in,10):t.refresh_in)||void 0,T=n+h,I=T+y,A=v&&v>0?n+v:void 0;m=pO(this.homeAccountIdentifier,l,t.access_token,this.clientId,c||o.tenant||"",_.printScopes(),T,I,this.cryptoObj.base64Decode,A,t.token_type,s,t.key_id);let O=i.resource||null;O&&(m.resource=O)}let g=null;if(t.refresh_token){let _;if(t.refresh_token_expires_in){let h=typeof t.refresh_token_expires_in=="string"?parseInt(t.refresh_token_expires_in,10):t.refresh_token_expires_in;_=n+h,this.performanceClient?.addFields({ntwkRtExpiresOnSeconds:_},i.correlationId)}g=mO(this.homeAccountIdentifier,l,t.refresh_token,this.clientId,t.foci,s,_)}let f=null;return t.foci&&(f={clientId:this.clientId,environment:l,familyId:t.foci}),{account:p,idToken:u,accessToken:m,refreshToken:g,appMetadata:f}}static async generateAuthenticationResult(t,o,n,i,r,s,a,l,c,u){let p="",m=[],g=null,f,_,h="";if(n.accessToken){if(n.accessToken.tokenType===wo.POP&&!r.popKid){let I=new ar(t,s),{secret:A,keyId:O}=n.accessToken;if(!O)throw ne(Uq);p=await I.signPopToken(A,O,r)}else p=n.accessToken.secret;m=_n.fromString(n.accessToken.target).asArray(),g=eT(n.accessToken.expiresOn),f=eT(n.accessToken.extendedExpiresOn),n.accessToken.refreshOn&&(_=eT(n.accessToken.refreshOn))}n.appMetadata&&(h=n.appMetadata.familyId===am?am:"");let y=a?.oid||a?.sub||"",v=a?.tid||"";c?.spa_accountid&&n.account&&(n.account.nativeAccountId=c?.spa_accountid);let T=n.account?bm(Qh(n.account),void 0,a,n.idToken?.secret):null;return{authority:o.canonicalAuthority,uniqueId:y,tenantId:v,scopes:m,account:T,idToken:n?.idToken?.secret||"",idTokenClaims:a||{},accessToken:p,fromCache:i,expiresOn:g,extExpiresOn:f,refreshOn:_,correlationId:r.correlationId,requestId:u||"",familyId:h,tokenType:n.accessToken?.tokenType||"",state:l?l.userRequestState:"",cloudGraphHostName:n.account?.cloudGraphHostName||"",msGraphHost:n.account?.msGraphHost||"",code:c?.spa_code,fromPlatformBroker:!1}}};function tI(e,t,o,n,i,r,s,a,l,c,u,p,m){p?.verbose("09jz0t",i);let g=a||t.getPreferredCache(),f=e.getAccountsFilteredBy({homeAccountId:o,environment:g},i);m?.addFields({cacheMatchedAccounts:f.length},i),f.length>1&&p?.warning("0x7ad1",i);let h=(f.length===1?f[0]:null)||lO({homeAccountId:o,idTokenClaims:r,clientInfo:s,environment:a,cloudGraphHostName:c?.cloud_graph_host_name,msGraphHost:c?.msgraph_host,nativeAccountId:u},t,n),y=h.tenantProfiles||[],v=l||h.realm;if(v&&!y.find(T=>T.tenantId===v)){let T=gl(o,h.localAccountId,v,r);y.push(T)}return h.tenantProfiles=y,h}var mi={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"};async function oI(e,t,o){return typeof e=="string"?e:e({clientId:t,tokenEndpoint:o})}function Lc(e,t,o){return{clientId:e,authority:t.authority,scopes:t.scopes,homeAccountIdentifier:o,claims:t.claims,authenticationScheme:t.authenticationScheme,resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,sshKid:t.sshKid,embeddedClientId:t.embeddedClientId||t.extraParameters?.clientId}}var Rc=class e{static generateThrottlingStorageKey(t){return`${kx}.${JSON.stringify(t)}`}static preProcess(t,o,n){let i=e.generateThrottlingStorageKey(o),r=t.getThrottlingCache(i,n);if(r){if(r.throttleTime=500&&t.status<600}static checkResponseForRetryAfter(t){return t.headers?t.headers.hasOwnProperty(Vo.RETRY_AFTER)&&(t.status<200||t.status>=300):!1}static calculateThrottleTime(t){let o=t<=0?0:t,n=Date.now()/1e3;return Math.floor(Math.min(n+(o||SF),n+wF)*1e3)}static removeThrottle(t,o,n,i){let r=Lc(o,n,i),s=this.generateThrottlingStorageKey(r);t.removeItem(s,n.correlationId)}};var Kh=class e extends rt{constructor(t,o,n){super(t.errorCode,t.errorMessage,t.subError),Object.setPrototypeOf(this,e.prototype),this.name="NetworkError",this.error=t,this.httpStatus=o,this.responseHeaders=n}};function Tm(e,t,o,n){return e.errorMessage=`${e.errorMessage}, additionalErrorInfo: error.name:${n?.name}, error.message:${n?.message}`,new Kh(e,t,o)}function nI(e,t,o){let n={};if(n[Vo.CONTENT_TYPE]=oF,!t&&o)switch(o.type){case mi.HOME_ACCOUNT_ID:try{let i=fl(o.credential);n[Vo.CCS_HEADER]=`Oid:${i.uid}@${i.utid}`}catch{e.verbose("1qhtee","")}break;case mi.UPN:n[Vo.CCS_HEADER]=`UPN: ${o.credential}`;break}return n}function iI(e,t,o,n){let i=new Map;return e.embeddedClientId&&kc(i,t,o),e.extraQueryParameters&&Ac(i,e.extraQueryParameters),gm(i,e.correlationId),cm(i,e.correlationId,n),pl(i)}async function rI(e,t,o,n,i,r,s,a,l,c){let u=await Y$e(n,e,{body:t,headers:o},i,r,s,a,l);return c&&u.status<500&&u.status!==429&&c.clearTelemetryCache(),u}async function Y$e(e,t,o,n,i,r,s,a){Rc.preProcess(i,e,n);let l;try{l=await Q(r.sendPostRequestAsync.bind(r),gO,s,a,n)(t,o);let c=l.headers||{};a?.addFields({refreshTokenSize:l.body.refresh_token?.length||0,httpVerToken:c[Vo.X_MS_HTTP_VERSION]||"",requestId:c[Vo.X_MS_REQUEST_ID]||""},n)}catch(c){if(c instanceof Kh){let u=c.responseHeaders;throw u&&a?.addFields({httpVerToken:u[Vo.X_MS_HTTP_VERSION]||"",requestId:u[Vo.X_MS_REQUEST_ID]||"",contentTypeHeader:u[Vo.CONTENT_TYPE]||void 0,contentLengthHeader:u[Vo.CONTENT_LENGTH]||void 0,httpStatus:c.httpStatus},n),c.error}throw c instanceof rt?c:ne(Aq)}return Rc.postProcess(i,e,l,n),l}var aI={};Do(aI,{createDiscoveredInstance:()=>OO});function Ace(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}function kce(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}function Ice(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}var rT=class e{constructor(t,o,n,i){this.networkInterface=t,this.logger=o,this.performanceClient=n,this.correlationId=i}async detectRegion(t,o){let n=t;if(n)o.region_source=Ku.ENVIRONMENT_VARIABLE;else{let i=e.IMDS_OPTIONS;try{let r=await Q(this.getRegionFromIMDS.bind(this),Zk,this.logger,this.performanceClient,this.correlationId)(nF,i);if(r.status===wk&&(n=r.body,o.region_source=Ku.IMDS),r.status===Ck){let s=await Q(this.getCurrentVersion.bind(this),PO,this.logger,this.performanceClient,this.correlationId)(i);if(!s)return o.region_source=Ku.FAILED_AUTO_DETECTION,null;let a=await Q(this.getRegionFromIMDS.bind(this),Zk,this.logger,this.performanceClient,this.correlationId)(s,i);a.status===wk&&(n=a.body,o.region_source=Ku.IMDS)}}catch{return o.region_source=Ku.FAILED_AUTO_DETECTION,null}}return n||(o.region_source=Ku.FAILED_AUTO_DETECTION),n||null}async getRegionFromIMDS(t,o){return this.networkInterface.sendGetRequestAsync(`${Sk}?api-version=${t}&format=text`,o,iF)}async getCurrentVersion(t){try{let o=await this.networkInterface.sendGetRequestAsync(`${Sk}?format=json`,t);return o.status===Ck&&o.body&&o.body["newest-versions"]&&o.body["newest-versions"].length>0?o.body["newest-versions"][0]:null}catch{return null}}};rT.IMDS_OPTIONS={headers:{Metadata:"true"}};var Mc=class e{constructor(t,o,n,i,r,s,a,l){this.canonicalAuthority=t,this._canonicalAuthority.validateAsUri(),this.networkInterface=o,this.cacheManager=n,this.authorityOptions=i,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=r,this.performanceClient=a,this.correlationId=s,this.managedIdentity=l||!1,this.regionDiscovery=new rT(o,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(t){if(t.HostNameAndPort.endsWith(xk))return Ai.Ciam;let o=t.PathSegments;if(o.length)switch(o[0].toLowerCase()){case Z2:return Ai.Adfs;case X2:return Ai.Dsts}return Ai.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 Et(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 ne(_a)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw ne(_a)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw ne(_a)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw ne(Oq);return this.replacePath(this.metadata.end_session_endpoint)}else throw ne(_a)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw ne(_a)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw ne(_a)}canReplaceTenant(t){return t.PathSegments.length===1&&!e.reservedTenantDomains.has(t.PathSegments[0])&&this.getAuthorityType(t)===Ai.Default&&this.protocolMode!==po.OIDC}replaceTenant(t){return t.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(t){let o=t,i=new Et(this.metadata.canonical_authority).getUrlComponents(),r=i.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((a,l)=>{let c=r[l];if(l===0&&this.canReplaceTenant(i)){let u=new Et(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];c!==u&&(this.logger.verbose("1q3g2x",this.correlationId),c=u)}a!==c&&(o=o.replace(`/${c}/`,`/${a}/`))}),this.replaceTenant(o)}get defaultOpenIdConfigurationEndpoint(){let t=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===Ai.Adfs||this.protocolMode===po.OIDC&&!this.isAliasOfKnownMicrosoftAuthority(t)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}async resolveEndpointsAsync(){let t=this.getCurrentMetadataEntity(),o=await Q(this.updateCloudDiscoveryMetadata.bind(this),EO,this.logger,this.performanceClient,this.correlationId)(t);this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,t.preferred_network);let n=await Q(this.updateEndpointMetadata.bind(this),kO,this.logger,this.performanceClient,this.correlationId)(t);this.updateCachedMetadata(t,o,{source:n}),this.performanceClient?.addFields({cloudDiscoverySource:o,authorityEndpointSource:n},this.correlationId)}getCurrentMetadataEntity(){let t=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort,this.correlationId);return t||(t={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:Wk(),jwks_uri:""}),t}updateCachedMetadata(t,o,n){o!==Fr.CACHE&&n?.source!==Fr.CACHE&&(t.expiresAt=Wk(),t.canonical_authority=this.canonicalAuthority);let i=this.cacheManager.generateAuthorityMetadataCacheKey(t.preferred_cache,this.correlationId);this.cacheManager.setAuthorityMetadata(i,t,this.correlationId),this.metadata=t}async updateEndpointMetadata(t){let o=this.updateEndpointMetadataFromLocalSources(t);if(o){if(o.source===Fr.HARDCODED_VALUES&&this.authorityOptions.azureRegionConfiguration?.azureRegion&&o.metadata){let i=await Q(this.updateMetadataWithRegionalInformation.bind(this),Jk,this.logger,this.performanceClient,this.correlationId)(o.metadata);Wh(t,i,!1),t.canonical_authority=this.canonicalAuthority}return o.source}let n=await Q(this.getEndpointMetadataFromNetwork.bind(this),AO,this.logger,this.performanceClient,this.correlationId)();if(n)return this.authorityOptions.azureRegionConfiguration?.azureRegion&&(n=await Q(this.updateMetadataWithRegionalInformation.bind(this),Jk,this.logger,this.performanceClient,this.correlationId)(n)),Wh(t,n,!0),Fr.NETWORK;throw ne(kq,this.defaultOpenIdConfigurationEndpoint)}updateEndpointMetadataFromLocalSources(t){this.logger.verbose("1fi0kc",this.correlationId);let o=this.getEndpointMetadataFromConfig();if(o)return this.logger.verbose("06t0uj",this.correlationId),Wh(t,o,!1),{source:Fr.CONFIG};this.logger.verbose("151k0p",this.correlationId);let n=this.getEndpointMetadataFromHardcodedValues();if(n)return Wh(t,n,!1),{source:Fr.HARDCODED_VALUES,metadata:n};this.logger.verbose("1imop5",this.correlationId);let i=Kk(t);return this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!i?(this.logger.verbose("16uq31",""),{source:Fr.CACHE}):(i&&this.logger.verbose("0uoibc",""),null)}isAuthoritySameType(t){return new Et(t.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw Mt(Sq)}return null}async getEndpointMetadataFromNetwork(){let t={},o=this.defaultOpenIdConfigurationEndpoint;this.logger.verbose("1y65x6",this.correlationId);try{let n=await this.networkInterface.sendGetRequestAsync(o,t);return Ace(n.body)?n.body:(this.logger.verbose("1koyv8",this.correlationId),null)}catch{return this.logger.verbose("0a9wik",this.correlationId),null}}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in nO?nO[this.hostnameAndPort]:null}async updateMetadataWithRegionalInformation(t){let o=this.authorityOptions.azureRegionConfiguration?.azureRegion;if(o){if(o!==rF)return this.regionDiscoveryMetadata.region_outcome=Ix.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=o,e.replaceWithRegionalInformation(t,o);let n=await Q(this.regionDiscovery.detectRegion.bind(this.regionDiscovery),IO,this.logger,this.performanceClient,this.correlationId)(this.authorityOptions.azureRegionConfiguration?.environmentRegion,this.regionDiscoveryMetadata);if(n)return this.regionDiscoveryMetadata.region_outcome=Ix.AUTO_DETECTION_REQUESTED_SUCCESSFUL,this.regionDiscoveryMetadata.region_used=n,e.replaceWithRegionalInformation(t,n);this.regionDiscoveryMetadata.region_outcome=Ix.AUTO_DETECTION_REQUESTED_FAILED}return t}async updateCloudDiscoveryMetadata(t){let o=this.updateCloudDiscoveryMetadataFromLocalSources(t);if(o)return o;let n=await Q(this.getCloudDiscoveryMetadataFromNetwork.bind(this),CO,this.logger,this.performanceClient,this.correlationId)();if(n)return tT(t,n,!0),Fr.NETWORK;throw Mt(wq)}updateCloudDiscoveryMetadataFromLocalSources(t){this.logger.verbose("0jhlgt",this.correlationId),this.logger.verbosePii("1fy7uz",this.correlationId),this.logger.verbosePii("08zabj",this.correlationId),this.logger.verbosePii("1o1kv3",this.correlationId);let o=this.getCloudDiscoveryMetadataFromConfig();if(o)return this.logger.verbose("1nakio",this.correlationId),tT(t,o,!1),Fr.CONFIG;this.logger.verbose("1x74aj",this.correlationId);let n=Sce(this.hostnameAndPort);if(n)return this.logger.verbose("0by47c",this.correlationId),tT(t,n,!1),Fr.HARDCODED_VALUES;this.logger.verbose("0r2fzy",this.correlationId);let i=Kk(t);return this.isAuthoritySameType(t)&&t.aliasesFromNetwork&&!i?(this.logger.verbose("1uffgh",""),Fr.CACHE):(i&&this.logger.verbose("0uoibc",""),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===Ai.Ciam)return this.logger.verbose("04y84h",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("0gszr3",this.correlationId);try{this.logger.verbose("1iifkx",this.correlationId);let t=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),o=Jx(t.metadata,this.hostnameAndPort);if(this.logger.verbose("0q67e3",""),o)return this.logger.verbose("0hzfao",this.correlationId),o;this.logger.verbose("1ajz3u",this.correlationId)}catch{throw this.logger.verbose("1wq5tu",this.correlationId),Mt(Fk)}}return this.isInKnownAuthorities()?(this.logger.verbose("0mt9al",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}async getCloudDiscoveryMetadataFromNetwork(){let t=`${eF}${this.canonicalAuthority}oauth2/v2.0/authorize`,o={},n=null;try{let i=await this.networkInterface.sendGetRequestAsync(t,o),r,s;if(kce(i.body))r=i.body,s=r.metadata,this.logger.verbosePii("1vglyt",this.correlationId);else if(Ice(i.body)){if(this.logger.warning("062uto",this.correlationId),r=i.body,r.error===lF)return this.logger.error("1x90tm",this.correlationId),null;this.logger.warning("0wchdm",this.correlationId),this.logger.warning("1s5mpv",this.correlationId),this.logger.warning("1yhqpw",this.correlationId),s=[]}else return this.logger.error("0768g0",this.correlationId),null;this.logger.verbose("1lrobr",this.correlationId),n=Jx(s,this.hostnameAndPort)}catch(i){return i instanceof rt?this.logger.error("0vwhc7",this.correlationId):this.logger.error("0s2z41",this.correlationId),null}return n||(this.logger.warning("0jp28q",this.correlationId),this.logger.verbose("130sd8",this.correlationId),n=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),n}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(o=>o&&Et.getDomainFromUrl(o).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(t,o){let n;if(o&&o.azureCloudInstance!==ed.None){let i=o.tenant?o.tenant:Sx;n=`${o.azureCloudInstance}/${i}/`}return n||t}static createCloudDiscoveryMetadataFromHost(t){return{preferred_network:t,preferred_cache:t,aliases:[t]}}getPreferredCache(){if(this.managedIdentity)return J2;if(this.discoveryComplete())return this.metadata.preferred_cache;throw ne(_a)}isAlias(t){return this.metadata.aliases.indexOf(t)>-1}isAliasOfKnownMicrosoftAuthority(t){return rO.has(t)}static isPublicCloudAuthority(t){return aF.indexOf(t)>=0}static buildRegionalAuthorityString(t,o,n){let i=new Et(t);i.validateAsUri();let r=i.getUrlComponents(),s=`${o}.${r.HostNameAndPort}`;this.isPublicCloudAuthority(r.HostNameAndPort)&&(s=`${o}.${sF}`);let a=Et.constructAuthorityUriFromObject({...i.getUrlComponents(),HostNameAndPort:s}).urlString;return n?`${a}?${n}`:a}static replaceWithRegionalInformation(t,o){let n={...t};return n.authorization_endpoint=e.buildRegionalAuthorityString(n.authorization_endpoint,o),n.token_endpoint=e.buildRegionalAuthorityString(n.token_endpoint,o),n.end_session_endpoint&&(n.end_session_endpoint=e.buildRegionalAuthorityString(n.end_session_endpoint,o)),n}static transformCIAMAuthority(t){let o=t,i=new Et(t).getUrlComponents();if(i.PathSegments.length===0&&i.HostNameAndPort.endsWith(xk)){let r=i.HostNameAndPort.split(".")[0];o=`${o}${r}${tF}`}return o}};Mc.reservedTenantDomains=new Set(["{tenant}","{tenantid}",ha.COMMON,ha.CONSUMERS,ha.ORGANIZATIONS]);function Pce(e){let n=new Et(e).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(n){case ha.COMMON:case ha.ORGANIZATIONS:case ha.CONSUMERS:return;default:return n}}function sI(e){return e.endsWith(Mh)?e:`${e}${Mh}`}function qO(e){let t=e.cloudDiscoveryMetadata,o;if(t)try{o=JSON.parse(t)}catch{throw Mt(Fk)}return{canonicalAuthority:e.authority?sI(e.authority):void 0,knownAuthorities:e.knownAuthorities,cloudDiscoveryMetadata:o}}async function OO(e,t,o,n,i,r,s){let a=Mc.transformCIAMAuthority(sI(e)),l=new Mc(a,t,o,n,i,r,s);try{return await Q(l.resolveEndpointsAsync.bind(l),wO,i,s,r)(),l}catch{throw ne(_a)}}var Sm=class{constructor(t,o){this.includeRedirectUri=!0,this.config=jh(t),this.logger=new vn(this.config.loggerOptions,Xu,ml),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}async acquireToken(t,o,n){if(!t.code)throw ne($q);n&&n.cloud_instance_host_name&&await Q(this.updateTokenEndpointAuthority.bind(this),SO,this.logger,this.performanceClient,t.correlationId)(n.cloud_instance_host_name,t.correlationId);let i=qr(),r=await Q(this.executeTokenRequest.bind(this),xO,this.logger,this.performanceClient,t.correlationId)(this.authority,t,this.serverTelemetryManager),s=r.headers?.[Vo.X_MS_REQUEST_ID],a=new ya(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),Q(a.handleServerTokenResponse.bind(a),nT,this.logger,this.performanceClient,t.correlationId)(r.body,this.authority,i,t,o,n,void 0,void 0,void 0,s)}getLogoutUri(t){if(!t)throw Mt(xq);let o=this.createLogoutUrlQueryString(t);return Et.appendQueryString(this.authority.endSessionEndpoint,o)}async executeTokenRequest(t,o,n){let i=iI(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),r=Et.appendQueryString(t.tokenEndpoint,i),s=await Q(this.createTokenRequestBody.bind(this),TO,this.logger,this.performanceClient,o.correlationId)(o),a;if(o.clientInfo)try{let u=Gh(o.clientInfo,this.cryptoUtils.base64Decode);a={credential:`${u.uid}${zh}${u.utid}`,type:mi.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",o.correlationId)}let l=nI(this.logger,this.config.systemOptions.preventCorsPreflight,a||o.ccsCredential),c=Lc(this.config.authOptions.clientId,o);return Q(rI,hO,this.logger,this.performanceClient,o.correlationId)(r,s,l,c,o.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,n)}async createTokenRequestBody(t){let o=new Map;if(dm(o,t.embeddedClientId||t.extraParameters?.[dl]||this.config.authOptions.clientId),this.includeRedirectUri)pm(o,t.redirectUri);else if(!t.redirectUri)throw Mt(hq);if(um(o,t.scopes,!0,this.oidcDefaultScopes),Wx(o,t.resource),Kq(o,t.code),Nx(o,this.config.libraryInfo),Fx(o,this.config.telemetry.application),Yx(o),this.serverTelemetryManager&&!Qk(this.config)&&jx(o,this.serverTelemetryManager),t.codeVerifier&&Zq(o,t.codeVerifier),this.config.clientCredentials.clientSecret&&Ox(o,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let i=this.config.clientCredentials.clientAssertion;Ux(o,await oI(i.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),Hx(o,i.assertionType)}if(Bx(o,Ex.AUTHORIZATION_CODE_GRANT),fm(o),t.authenticationScheme===wo.POP){let i=new ar(this.cryptoUtils,this.performanceClient),r;t.popKid?r=this.cryptoUtils.encodeKid(t.popKid):r=(await Q(i.generateCnf.bind(i),ym,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,Gx(o,r)}else if(t.authenticationScheme===wo.SSH)if(t.sshJwk)Qx(o,t.sshJwk);else throw Mt(Mx);(!No.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&mm(o,t.claims,this.config.authOptions.clientCapabilities);let n;if(t.clientInfo)try{let i=Gh(t.clientInfo,this.cryptoUtils.base64Decode);n={credential:`${i.uid}${zh}${i.utid}`,type:mi.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",t.correlationId)}else n=t.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&n)switch(n.type){case mi.HOME_ACCOUNT_ID:try{let i=fl(n.credential);Ec(o,i)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case mi.UPN:Ju(o,n.credential);break}return t.embeddedClientId&&kc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&Ac(o,t.extraParameters),t.enableSpaAuthorizationCode&&(!t.extraParameters||!t.extraParameters[$k])&&Ac(o,{[$k]:"1"}),cm(o,t.correlationId,this.performanceClient),pl(o)}createLogoutUrlQueryString(t){let o=new Map;return t.postLogoutRedirectUri&&Gq(o,t.postLogoutRedirectUri),t.correlationId&&gm(o,t.correlationId),t.idTokenHint&&Qq(o,t.idTokenHint),t.state&&qx(o,t.state),t.logoutHint&&eO(o,t.logoutHint),t.extraQueryParameters&&Ac(o,t.extraQueryParameters),this.config.authOptions.instanceAware&&Vx(o),pl(o)}async updateTokenEndpointAuthority(t,o){let n=`https://${t}/${this.authority.tenant}/`,i=await OO(n,this.networkClient,this.cacheManager,this.authority.options,this.logger,o,this.performanceClient);this.authority=i}};var W$e=300,sT=class{constructor(t,o){this.config=jh(t),this.logger=new vn(this.config.loggerOptions,Xu,ml),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o}async acquireToken(t,o){let n=qr(),i=await Q(this.executeTokenRequest.bind(this),bO,this.logger,this.performanceClient,t.correlationId)(t,this.authority),r=i.headers?.[Vo.X_MS_REQUEST_ID],s=new ya(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return s.validateTokenResponse(i.body,t.correlationId),Q(s.handleServerTokenResponse.bind(s),nT,this.logger,this.performanceClient,t.correlationId)(i.body,this.authority,n,t,o,void 0,void 0,!0,t.forceCache,r)}async acquireTokenByRefreshToken(t,o){if(!t)throw Mt(yq);if(!t.account)throw ne(Dx);if(this.cacheManager.isAppMetadataFOCI(t.account.environment,t.correlationId))try{return await Q(this.acquireTokenWithCachedRefreshToken.bind(this),oT,this.logger,this.performanceClient,t.correlationId)(t,!0,o)}catch(i){let r=i instanceof Co&&i.errorCode===Xk,s=i instanceof lr&&i.errorCode===EF&&i.subError===AF;if(r||s)return Q(this.acquireTokenWithCachedRefreshToken.bind(this),oT,this.logger,this.performanceClient,t.correlationId)(t,!1,o);throw i}return Q(this.acquireTokenWithCachedRefreshToken.bind(this),oT,this.logger,this.performanceClient,t.correlationId)(t,!1,o)}async acquireTokenWithCachedRefreshToken(t,o,n){let i=Xo(this.cacheManager.getRefreshToken.bind(this.cacheManager),LO,this.logger,this.performanceClient,t.correlationId)(t.account,o,t.correlationId,void 0);if(!i)throw xm(Xk);if(i.expiresOn){let s=t.refreshTokenExpirationOffsetSeconds||W$e;if(this.performanceClient?.addFields({cacheRtExpiresOnSeconds:Number(i.expiresOn),rtOffsetSeconds:s},t.correlationId),Yh(i.expiresOn,s))throw xm(RO)}let r={...t,refreshToken:i.secret,authenticationScheme:t.authenticationScheme||wo.BEARER,ccsCredential:{credential:t.account.homeAccountId,type:mi.HOME_ACCOUNT_ID}};try{return await Q(this.acquireToken.bind(this),_O,this.logger,this.performanceClient,t.correlationId)(r,n)}catch(s){if(s instanceof Co&&s.subError===iT){this.logger.verbose("1pg3ap",t.correlationId);let a=this.cacheManager.generateCredentialKey(i);this.cacheManager.removeRefreshToken(a,t.correlationId)}throw s}}async executeTokenRequest(t,o){let n=iI(t,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),i=Et.appendQueryString(o.tokenEndpoint,n),r=await Q(this.createTokenRequestBody.bind(this),vO,this.logger,this.performanceClient,t.correlationId)(t),s=nI(this.logger,this.config.systemOptions.preventCorsPreflight,t.ccsCredential),a=Lc(this.config.authOptions.clientId,t);return Q(rI,fO,this.logger,this.performanceClient,t.correlationId)(i,r,s,a,t.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,this.serverTelemetryManager)}async createTokenRequestBody(t){let o=new Map;if(dm(o,t.embeddedClientId||t.extraParameters?.[dl]||this.config.authOptions.clientId),t.redirectUri&&pm(o,t.redirectUri),um(o,t.scopes,!0,this.config.authOptions.authority.options.OIDCOptions?.defaultScopes),Bx(o,Ex.REFRESH_TOKEN_GRANT),fm(o),Nx(o,this.config.libraryInfo),Fx(o,this.config.telemetry.application),Yx(o),this.serverTelemetryManager&&!Qk(this.config)&&jx(o,this.serverTelemetryManager),Jq(o,t.refreshToken),this.config.clientCredentials.clientSecret&&Ox(o,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let n=this.config.clientCredentials.clientAssertion;Ux(o,await oI(n.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),Hx(o,n.assertionType)}if(t.authenticationScheme===wo.POP){let n=new ar(this.cryptoUtils,this.performanceClient),i;t.popKid?i=this.cryptoUtils.encodeKid(t.popKid):i=(await Q(n.generateCnf.bind(n),ym,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,Gx(o,i)}else if(t.authenticationScheme===wo.SSH)if(t.sshJwk)Qx(o,t.sshJwk);else throw Mt(Mx);if((!No.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&mm(o,t.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&t.ccsCredential)switch(t.ccsCredential.type){case mi.HOME_ACCOUNT_ID:try{let n=fl(t.ccsCredential.credential);Ec(o,n)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case mi.UPN:Ju(o,t.ccsCredential.credential);break}return t.embeddedClientId&&kc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&Ac(o,{...t.extraParameters}),cm(o,t.correlationId,this.performanceClient),pl(o)}};var aT=class{constructor(t,o){this.config=jh(t),this.logger=new vn(this.config.loggerOptions,Xu,ml),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o}async acquireCachedToken(t){let o=ba.NOT_APPLICABLE;if(t.forceRefresh||!No.isEmptyObj(t.claims))throw this.setCacheOutcome(ba.FORCE_REFRESH_OR_CLAIMS,t.correlationId),ne(Hh);if(!t.account)throw ne(Dx);let n=t.account.tenantId||Pce(t.authority),i=this.cacheManager.getTokenKeys(),r=this.cacheManager.getAccessToken(t.account,t,i,n);if(r){if(uO(r.cachedAt)||Yh(r.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw this.setCacheOutcome(ba.CACHED_ACCESS_TOKEN_EXPIRED,t.correlationId),ne(Hh);if(t.resource){if(r.resource!==t.resource)throw this.setCacheOutcome(ba.NO_CACHED_ACCESS_TOKEN,t.correlationId),ne(Hh)}else r.refreshOn&&Yh(r.refreshOn,0)&&(o=ba.PROACTIVELY_REFRESHED)}else throw this.setCacheOutcome(ba.NO_CACHED_ACCESS_TOKEN,t.correlationId),ne(Hh);let s=t.authority||this.authority.getPreferredCache(),a={account:this.cacheManager.getAccount(this.cacheManager.generateAccountKey(t.account),t.correlationId),accessToken:r,idToken:this.cacheManager.getIdToken(t.account,t.correlationId,i,n),refreshToken:null,appMetadata:this.cacheManager.readAppMetadataFromCache(s,t.correlationId)};return this.setCacheOutcome(o,t.correlationId),this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[await Q(this.generateResultFromCacheRecord.bind(this),yO,this.logger,this.performanceClient,t.correlationId)(a,t),o]}setCacheOutcome(t,o){this.serverTelemetryManager?.setCacheOutcome(t),this.performanceClient?.addFields({cacheOutcome:t},o),t!==ba.NOT_APPLICABLE&&this.logger.info("09ingz",o)}async generateResultFromCacheRecord(t,o){let n;if(t.idToken&&(n=Ic(t.idToken.secret,this.config.cryptoInterface.base64Decode)),o.maxAge||o.maxAge===0){let i=n?.auth_time;if(!i)throw ne($x);Kx(i,o.maxAge)}return ya.generateAuthenticationResult(this.cryptoUtils,this.authority,t,!0,o,this.performanceClient,n)}};var UO={sendGetRequestAsync:()=>Promise.reject(ne(xt)),sendPostRequestAsync:()=>Promise.reject(ne(xt))};var bl={};Do(bl,{getAuthorizationCodePayload:()=>Z$e,getAuthorizeUrl:()=>J$e,getStandardAuthorizeRequestParameters:()=>K$e,validateAuthorizationResponse:()=>Lce});function K$e(e,t,o,n){let i=t.correlationId,r=new Map;dm(r,t.embeddedClientId||t.extraQueryParameters?.[dl]||e.clientId);let s=[...t.scopes||[],...t.extraScopesToConsent||[]];if(um(r,s,!0,e.authority.options.OIDCOptions?.defaultScopes),Wx(r,t.resource),pm(r,t.redirectUri),gm(r,i),Vq(r,t.responseMode),fm(r),Xq(r),t.prompt&&(Yq(r,t.prompt),n?.addFields({prompt:t.prompt},i)),t.domainHint&&(jq(r,t.domainHint),n?.addFields({domainHintFromRequest:!0},i)),t.prompt!==Cx.SELECT_ACCOUNT)if(t.sid&&t.prompt===Cx.NONE)o.verbose("1tvqyx",t.correlationId),Vk(r,t.sid),n?.addFields({sidFromRequest:!0},i);else if(t.account){let a=eDe(t.account),l=tDe(t.account);if(l&&t.domainHint&&(o.warning("0wkg3v",t.correlationId),l=null),l){o.verbose("1eyfsw",t.correlationId),Bh(r,l),n?.addFields({loginHintFromClaim:!0},i);try{let c=fl(t.account.homeAccountId);Ec(r,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(a&&t.prompt===Cx.NONE){o.verbose("1rmd8s",t.correlationId),Vk(r,a),n?.addFields({sidFromClaim:!0},i);try{let c=fl(t.account.homeAccountId);Ec(r,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(t.loginHint)o.verbose("0y3007",t.correlationId),Bh(r,t.loginHint),Ju(r,t.loginHint),n?.addFields({loginHintFromRequest:!0},i);else if(t.account.username){o.verbose("02f507",t.correlationId),Bh(r,t.account.username),n?.addFields({loginHintFromUpn:!0},i);try{let c=fl(t.account.homeAccountId);Ec(r,c)}catch{o.verbose("12ugck",t.correlationId)}}}else t.loginHint&&(o.verbose("0g01ey",t.correlationId),Bh(r,t.loginHint),Ju(r,t.loginHint),n?.addFields({loginHintFromRequest:!0},i));else o.verbose("169k9v",t.correlationId);return t.nonce&&Wq(r,t.nonce),t.state&&qx(r,t.state),(t.claims||e.clientCapabilities&&e.clientCapabilities.length>0)&&mm(r,t.claims,e.clientCapabilities),t.embeddedClientId&&kc(r,e.clientId,e.redirectUri),e.instanceAware&&(!t.extraQueryParameters||!Object.keys(t.extraQueryParameters).includes(qh))&&Vx(r),r}function J$e(e,t){let o=pl(t);return Et.appendQueryString(e.authorizationEndpoint,o)}function Z$e(e,t){if(Lce(e,t),!e.code)throw ne(qq);return e}function Lce(e,t){if(!e.state||!t)throw e.state?ne(Uk,"Cached State"):ne(Uk,"Server State");let o,n;try{o=decodeURIComponent(e.state)}catch{throw ne(lm,e.state)}try{n=decodeURIComponent(t)}catch{throw ne(lm,e.state)}if(o!==n)throw ne(Pq);if(e.error||e.error_description||e.suberror){let i=X$e(e);throw eI(e.error,e.error_description,e.suberror)?new Co(e.error||"",e.error_description,e.suberror,e.timestamp||"",e.trace_id||"",e.correlation_id||"",e.claims||"",i):new lr(e.error||"",e.error_description,e.suberror,i)}}function X$e(e){let t="code=",o=e.error_uri?.lastIndexOf(t);return o&&o>=0?e.error_uri?.substring(o+t.length):void 0}function eDe(e){return e.idTokenClaims?.sid||null}function tDe(e){return e.loginHint||e.idTokenClaims?.login_hint||null}function lT(e,t){if(e){if(t.resource&&(Rce(t.extraParameters)||Rce(t.extraQueryParameters)))throw ne(Bq);if(!t.resource)throw ne(Hq)}}function Rce(e){return e?Object.prototype.hasOwnProperty.call(e,"resource"):!1}var od={};Do(od,{postRequestFailed:()=>nDe,unexpectedError:()=>oDe});var oDe="unexpected_error",nDe="post_request_failed";var Mce=",",$ce="|";function iDe(e){let{skus:t,libraryName:o,libraryVersion:n,extensionName:i,extensionVersion:r}=e,s=new Map([[0,[o,n]],[2,[i,r]]]),a=[];if(t?.length){if(a=t.split(Mce),a.length<4)return t}else a=Array.from({length:4},()=>$ce);return s.forEach((l,c)=>{l.length===2&&l[0]?.length&&l[1]?.length&&rDe({skuArr:a,index:c,skuName:l[0],skuVersion:l[1]})}),a.join(Mce)}function rDe(e){let{skuArr:t,index:o,skuName:n,skuVersion:i}=e;o>=t.length||(t[o]=[n,i].join($ce))}var wm=class e{constructor(t,o){this.cacheOutcome=ba.NOT_APPLICABLE,this.cacheManager=o,this.apiId=t.apiId,this.correlationId=t.correlationId,this.wrapperSKU=t.wrapperSKU||"",this.wrapperVer=t.wrapperVer||"",this.telemetryCacheKey=Ax+sm+t.clientId}generateCurrentRequestHeaderValue(){let t=`${this.apiId}${Wu}${this.cacheOutcome}`,o=[this.wrapperSKU,this.wrapperVer],n=this.getNativeBrokerErrorCode();n?.length&&o.push(`broker_error=${n}`);let i=o.join(Wu),r=this.getRegionDiscoveryFields(),s=[t,r].join(Wu);return[kk,s,i].join(Ik)}generateLastRequestHeaderValue(){let t=this.getLastRequests(),o=e.maxErrorsToSend(t),n=t.failedRequests.slice(0,2*o).join(Wu),i=t.errors.slice(0,o).join(Wu),r=t.errors.length,s=o=vF&&(o.failedRequests.shift(),o.failedRequests.shift(),o.errors.shift()),o.failedRequests.push(this.apiId,this.correlationId),t instanceof Error&&t&&t.toString()?t instanceof rt?t.subError?o.errors.push(t.subError):t.errorCode?o.errors.push(t.errorCode):o.errors.push(t.toString()):o.errors.push(t.toString()):o.errors.push(TF),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,o,this.correlationId)}incrementCacheHits(){let t=this.getLastRequests();return t.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t,this.correlationId),t.cacheHits}getLastRequests(){let t={failedRequests:[],errors:[],cacheHits:0};return this.cacheManager.getServerTelemetry(this.telemetryCacheKey,this.correlationId)||t}clearTelemetryCache(){let t=this.getLastRequests(),o=e.maxErrorsToSend(t),n=t.errors.length;if(o===n)this.cacheManager.removeItem(this.telemetryCacheKey,this.correlationId);else{let i={failedRequests:t.failedRequests.slice(o*2),errors:t.errors.slice(o),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,i,this.correlationId)}}static maxErrorsToSend(t){let o,n=0,i=0,r=t.errors.length;for(o=0;otypeof e=="number"&&e in hue?hue[e]:"unknown",Ze;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(Ze||(Ze={}));var JO={scopes:De.OIDC_DEFAULT_SCOPES},ZO="jwk";var uI="msal.db",_ue=1,vue=`${uI}.keys`,Kn={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},yue=[Kn.Default,Kn.Skip,Kn.RefreshTokenAndNetwork];function dT(e){return encodeURIComponent(rd(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function Ps(e){return xue(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function rd(e){return xue(new TextEncoder().encode(e))}function xue(e){let t=Array.from(e,o=>String.fromCodePoint(o)).join("");return btoa(t)}var XO="pkce_not_created",eU="ear_jwk_empty",Tue="ear_jwe_empty",tU="crypto_nonexistent",nb="empty_navigate_uri",Sue="hash_empty_error",ib="no_state_in_hash",wue="hash_does_not_contain_known_properties",dI="unable_to_parse_state",Cue="state_interaction_type_mismatch",Eue="interaction_in_progress",Aue="interaction_in_progress_cancelled",kue="popup_window_error",Iue="empty_window_error",pT="user_cancelled",Pue="redirect_bridge_empty_response",Lue="redirect_in_iframe",Rue="block_iframe_reload",Mue="block_nested_popups";var rb="silent_logout_unsupported",$ue="no_account_error";var Due="no_token_request_cache_error",zue="unable_to_parse_token_request_cache_error";var pI="non_browser_environment",sb="database_not_open",mT="no_network_connectivity",Nue="post_request_failed",Fue="get_request_failed",oU="failed_to_parse_response";var mI="crypto_key_not_found",que="auth_code_required",Oue="auth_code_or_nativeAccountId_required",Uue="spa_code_and_nativeAccountId_present",gI="database_unavailable",Hue="unable_to_acquire_token_from_native_platform",Bue="native_handshake_timeout",Vue="native_extension_not_installed",fI="native_connection_not_established",ab="uninitialized_public_client_application",Gue="native_prompt_not_supported",Que="invalid_base64_string",jue="invalid_pop_token_request",Yue="failed_to_build_headers",Wue="failed_to_parse_headers",hI="failed_to_decrypt_ear_response",Am="timed_out",Kue="empty_response";function Rn(e){return new TextDecoder().decode(_l(e))}function _l(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 be(Que)}let o=atob(t);return Uint8Array.from(o,n=>n.codePointAt(0)||0)}var sDe="RSASSA-PKCS1-v1_5",lb="AES-GCM",Xue="HKDF",iU="SHA-256",aDe=2048,lDe=new Uint8Array([1,0,1]),Jue="0123456789abcdef",Zue=new Uint32Array(1),rU="raw",ede="encrypt",sU="decrypt",cDe="deriveKey",uDe="crypto_subtle_undefined",aU={name:sDe,hash:iU,modulusLength:aDe,publicExponent:lDe};function tde(e){if(!window)throw be(pI);if(!window.crypto)throw be(tU);if(!e&&!window.crypto.subtle)throw be(tU,uDe)}async function lU(e){let o=new TextEncoder().encode(e);return window.crypto.subtle.digest(iU,o)}function ode(e){return window.crypto.getRandomValues(e)}function nU(){return window.crypto.getRandomValues(Zue),Zue[0]}function Or(){let e=Date.now(),t=nU()*1024+(nU()&1023),o=new Uint8Array(16),n=Math.trunc(t/2**30),i=t&2**30-1,r=nU();o[0]=e/2**40,o[1]=e/2**32,o[2]=e/2**24,o[3]=e/2**16,o[4]=e/2**8,o[5]=e,o[6]=112|n>>>8,o[7]=n,o[8]=128|i>>>24,o[9]=i>>>16,o[10]=i>>>8,o[11]=i,o[12]=r>>>24,o[13]=r>>>16,o[14]=r>>>8,o[15]=r;let s="";for(let a=0;a>>4),s+=Jue.charAt(o[a]&15),(a===3||a===5||a===7||a===9)&&(s+="-");return s}async function nde(e,t){return window.crypto.subtle.generateKey(aU,e,t)}async function bI(e){return window.crypto.subtle.exportKey(ZO,e)}async function ide(e,t,o){return window.crypto.subtle.importKey(ZO,e,aU,t,o)}async function rde(e,t){return window.crypto.subtle.sign(aU,e,t)}async function cb(){let e=await cU(),o={alg:"dir",kty:"oct",k:Ps(new Uint8Array(e))};return rd(JSON.stringify(o))}async function dDe(e){let t=Rn(e),n=JSON.parse(t).k,i=_l(n);return window.crypto.subtle.importKey(rU,i,lb,!1,[sU])}async function sde(e,t){let o=t.split(".");if(o.length!==5)throw be(hI,"jwe_length");let n=await dDe(e).catch(()=>{throw be(hI,"import_key")});try{let i=new TextEncoder().encode(o[0]),r=_l(o[2]),s=_l(o[3]),a=_l(o[4]),l=a.byteLength*8,c=new Uint8Array(s.length+a.length);c.set(s),c.set(a,s.length);let u=await window.crypto.subtle.decrypt({name:lb,iv:r,tagLength:l,additionalData:i},n,c);return new TextDecoder().decode(u)}catch{throw be(hI,"decrypt")}}async function cU(){let e=await window.crypto.subtle.generateKey({name:lb,length:256},!0,[ede,sU]);return window.crypto.subtle.exportKey(rU,e)}async function uU(e){return window.crypto.subtle.importKey(rU,e,Xue,!1,[cDe])}async function ade(e,t,o){return window.crypto.subtle.deriveKey({name:Xue,salt:t,hash:iU,info:new TextEncoder().encode(o)},e,{name:lb,length:256},!1,[ede,sU])}async function lde(e,t,o){let n=new TextEncoder().encode(t),i=window.crypto.getRandomValues(new Uint8Array(16)),r=await ade(e,i,o),s=await window.crypto.subtle.encrypt({name:lb,iv:new Uint8Array(12)},r,n);return{data:Ps(new Uint8Array(s)),nonce:Ps(i)}}async function dU(e,t,o,n){let i=_l(n),r=await ade(e,_l(t),o),s=await window.crypto.subtle.decrypt({name:lb,iv:new Uint8Array(12)},r,i);return new TextDecoder().decode(s)}async function cde(e){let t=await lU(e),o=new Uint8Array(t);return Ps(o)}var pU=class e extends rt{constructor(t,o){super(t,o),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,e.prototype)}};function ub(e){return new pU(e,tb(e))}var _I="storage_not_supported";var ude="in_mem_redirect_unavailable";function pDe(){let e=window.location.hash,t=window.location.search,o=!1,n=!1,i="",r;if(e&&e.length>1){let u=e.charAt(0)==="#"?e.substring(1):e,p=new URLSearchParams(u);p.has("state")&&(o=!0,i=u,r=p)}if(t&&t.length>1){let u=t.charAt(0)==="?"?t.substring(1):t,p=new URLSearchParams(u);p.has("state")&&(n=!0,i=u,r=p)}if(o&&n){let u=t.charAt(0)==="?"?t.substring(1):t,p=e.charAt(0)==="#"?e.substring(1):e;i=`${u}${p}`,r=new URLSearchParams(i)}if(!i||!r)throw be(Kue);let s=r.get("state");if(!s)throw be(ib);let{libraryState:a}=va.parseRequestState(Rn,s),{id:l,meta:c}=a;if(!l||!c)throw be(dI,"missing_library_state");return{params:r,payload:i,urlHash:e,urlQuery:t,hasResponseInHash:o,hasResponseInQuery:n,libraryState:{id:l,meta:c}}}function vI(e){e.location.hash="",typeof e.history.replaceState=="function"&&e.history.replaceState(null,"",`${e.location.origin}${e.location.pathname}${e.location.search}`)}function dde(e){let t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):""}function gT(){return window.parent!==window}function mDe(){if(gT())return!1;try{let{libraryState:e}=pDe(),{meta:t}=e;return t.interactionType===Ze.Popup}catch{return!1}}var sd=null;function pde(e,t){sd&&(e.verbose("18y01k",t),clearTimeout(sd.timeoutId),sd.channel.close(),sd.reject(be(Aue)),sd=null)}async function ad(e,t,o,n,i,r){return new Promise((s,a)=>{t.verbose("1rf6em",n.correlationId);let l=n.correlationId;i.addFields({redirectBridgeTimeoutMs:e,lateResponseExperimentEnabled:r?.iframeTimeoutTelemetry||!1},l);let{libraryState:c}=va.parseRequestState(o.base64Decode,n.state||""),u=new BroadcastChannel(c.id),p,m=!1,g,f,_=window.setTimeout(()=>{sd=null,r?.iframeTimeoutTelemetry?(f=i.startMeasurement(fue,l),m=!0,g=window.setTimeout(()=>{f?.end({success:!1}),clearTimeout(g),u.close()},6e4)):u.close(),a(be(Am,"redirect_bridge_timeout"))},e);sd={timeoutId:_,channel:u,reject:a},u.onmessage=h=>{p=h.data.payload;let y=h?.data&&typeof h.data.v=="number"?h.data.v:void 0;if(m){f?.end({success:!!p}),clearTimeout(g),u.close();return}i.addFields({redirectBridgeMessageVersion:y},l),sd=null,clearTimeout(_),u.close(),p?s(p):a(be(Pue))}})}function Ls(){return typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:""}function mde(){let t=new Et(window.location.href).getUrlComponents();return`${t.Protocol}//${t.HostNameAndPort}/`}function gDe(){if(ks.getDeserializedResponse(window.location.hash)&&gT())throw be(Rue)}function fDe(e){if(gT()&&!e)throw be(Lue)}function hDe(){if(mDe())throw be(Mue)}function mU(){if(typeof window>"u")throw be(pI)}function gU(e){if(!e)throw be(ab)}function yI(e){mU(),gDe(),hDe(),gU(e)}function fU(e,t){if(yI(e),fDe(t.system.allowRedirectInIframe),t.cache.cacheLocation===Ln.MemoryStorage)throw ub(ude)}function xI(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 fT(){return Or()}var Elt=_o.addClientCapabilitiesToClaims;var TI=class{constructor(){this.dbName=uI,this.version=_ue,this.tableName=vue,this.dbOpen=!1}async open(){return new Promise((t,o)=>{let n=window.indexedDB.open(this.dbName,this.version);n.addEventListener("upgradeneeded",i=>{i.target.result.createObjectStore(this.tableName)}),n.addEventListener("success",i=>{let r=i;this.db=r.target.result,this.dbOpen=!0,t()}),n.addEventListener("error",()=>o(be(gI)))})}closeConnection(){let t=this.db;t&&this.dbOpen&&(t.close(),this.dbOpen=!1)}async validateDbIsOpen(){if(!this.dbOpen)return this.open()}async getItem(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(be(sb));let s=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).get(t);s.addEventListener("success",a=>{let l=a;this.closeConnection(),o(l.target.result)}),s.addEventListener("error",a=>{this.closeConnection(),n(a)})})}async setItem(t,o){return await this.validateDbIsOpen(),new Promise((n,i)=>{if(!this.db)return i(be(sb));let a=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).put(o,t);a.addEventListener("success",()=>{this.closeConnection(),n()}),a.addEventListener("error",l=>{this.closeConnection(),i(l)})})}async removeItem(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(be(sb));let s=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).delete(t);s.addEventListener("success",()=>{this.closeConnection(),o()}),s.addEventListener("error",a=>{this.closeConnection(),n(a)})})}async getKeys(){return await this.validateDbIsOpen(),new Promise((t,o)=>{if(!this.db)return o(be(sb));let r=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).getAllKeys();r.addEventListener("success",s=>{let a=s;this.closeConnection(),t(a.target.result)}),r.addEventListener("error",s=>{this.closeConnection(),o(s)})})}async containsKey(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(be(sb));let s=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).count(t);s.addEventListener("success",a=>{let l=a;this.closeConnection(),o(l.target.result===1)}),s.addEventListener("error",a=>{this.closeConnection(),n(a)})})}async deleteDatabase(){return this.db&&this.dbOpen&&this.closeConnection(),new Promise((t,o)=>{let n=window.indexedDB.deleteDatabase(uI),i=setTimeout(()=>o(!1),200);n.addEventListener("success",()=>(clearTimeout(i),t(!0))),n.addEventListener("blocked",()=>(clearTimeout(i),t(!0))),n.addEventListener("error",()=>(clearTimeout(i),o(!1)))})}};var Dc=class{constructor(){this.cache=new Map}async initialize(){}getItem(t){return this.cache.get(t)||null}getUserData(t){return this.getItem(t)}setItem(t,o){this.cache.set(t,o)}async setUserData(t,o){this.setItem(t,o)}removeItem(t){this.cache.delete(t)}getKeys(){let t=[];return this.cache.forEach((o,n)=>{t.push(n)}),t}containsKey(t){return this.cache.has(t)}clear(){this.cache.clear()}decryptData(){return Promise.resolve(null)}};var SI=class{constructor(t){this.inMemoryCache=new Dc,this.indexedDBCache=new TI,this.logger=t}handleDatabaseAccessError(t,o){if(t instanceof Em&&t.errorCode===gI)this.logger.error("1wx7zz",o);else throw t}async getItem(t,o){let n=this.inMemoryCache.getItem(t);if(!n)try{return this.logger.verbose("0naxpl",o),await this.indexedDBCache.getItem(t)}catch(i){this.handleDatabaseAccessError(i,o)}return n}async setItem(t,o,n){this.inMemoryCache.setItem(t,o);try{await this.indexedDBCache.setItem(t,o)}catch(i){this.handleDatabaseAccessError(i,n)}}async removeItem(t,o){this.inMemoryCache.removeItem(t);try{await this.indexedDBCache.removeItem(t)}catch(n){this.handleDatabaseAccessError(n,o)}}async getKeys(t){let o=this.inMemoryCache.getKeys();if(o.length===0)try{return this.logger.verbose("1iqrbq",t),await this.indexedDBCache.getKeys()}catch(n){this.handleDatabaseAccessError(n,t)}return o}async containsKey(t,o){let n=this.inMemoryCache.containsKey(t);if(!n)try{return this.logger.verbose("03zl2j",o),await this.indexedDBCache.containsKey(t)}catch(i){this.handleDatabaseAccessError(i,o)}return n}clearInMemory(t){this.logger.verbose("03r21p",t),this.inMemoryCache.clear(),this.logger.verbose("0uksk1",t)}async clearPersistent(t){try{this.logger.verbose("0rdqut",t);let o=await this.indexedDBCache.deleteDatabase();return o&&this.logger.verbose("149ouc",t),o}catch(o){return this.handleDatabaseAccessError(o,t),!1}}};var vl=class e{constructor(t,o,n){this.logger=t,tde(n??!1),this.cache=new SI(this.logger),this.performanceClient=o}createNewGuid(){return Or()}base64Encode(t){return rd(t)}base64Decode(t){return Rn(t)}base64UrlEncode(t){return dT(t)}encodeKid(t){return this.base64UrlEncode(JSON.stringify({kid:t}))}async getPublicKeyThumbprint(t){let o=this.performanceClient?.startMeasurement(Oce,t.correlationId),n=await nde(e.EXTRACTABLE,e.POP_KEY_USAGES),i=await bI(n.publicKey),r={e:i.e,kty:i.kty,n:i.n},s=gde(r),a=await this.hashString(s),l=await bI(n.privateKey),c=await ide(l,!1,["sign"]);return await this.cache.setItem(a,{privateKey:c,publicKey:n.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri},t.correlationId),o&&o.end({success:!0}),a}async removeTokenBindingKey(t,o){if(await this.cache.removeItem(t,o),await this.cache.containsKey(t,o))throw ne(bn.bindingKeyNotRemoved)}async clearKeystore(t){this.cache.clearInMemory(t);try{return await this.cache.clearPersistent(t),!0}catch(o){return o instanceof Error?this.logger.error("1owpn8",t):this.logger.error("0yrmwo",t),!1}}async signJwt(t,o,n,i){let r=this.performanceClient?.startMeasurement(Uce,i),s=await this.cache.getItem(o,i||"");if(!s)throw be(mI);let a=await bI(s.publicKey),l=gde(a),c=dT(JSON.stringify({kid:o})),u=cT.getShrHeaderString({...n?.header,alg:a.alg,kid:c}),p=dT(u);t.cnf={jwk:JSON.parse(l)};let m=dT(JSON.stringify(t)),g=`${p}.${m}`,_=new TextEncoder().encode(g),h=await rde(s.privateKey,_),y=Ps(new Uint8Array(h)),v=`${g}.${y}`;return r&&r.end({success:!0}),v}async hashString(t){return cde(t)}};vl.POP_KEY_USAGES=["sign","verify"];vl.EXTRACTABLE=!0;function gde(e){return JSON.stringify(e,Object.keys(e).sort())}var fde="acquireTokenSilent",hde="acquireTokenByCode",bde="acquireTokenPopup",_de="acquireTokenPreRedirect",wI="acquireTokenRedirect",vde="ssoSilent",yde="initializeClientApplication",xde="localStorageUpdated";var en="msal",CI="browser",hU="|";var wde=`${en}.${CI}.log.level`,Cde=`${en}.${CI}.log.pii`,Ylt=`${en}.${CI}.performance.enabled`,Ede=`${en}.${CI}.platform.auth.dom`,bU=`${en}.version`,Tde="account.keys",Sde="token.keys";function zc(e=2){return e<1?`${en}.${Tde}`:`${en}.${e}.${Tde}`}function Nc(e,t=2){return t<1?`${en}.${Sde}.${e}`:`${en}.${t}.${Sde}.${e}`}var bDe=24*60*60*1e3,EI={Lax:"Lax",None:"None"},db=class{initialize(){return Promise.resolve()}getItem(t){let o=`${encodeURIComponent(t)}`,n=document.cookie.split(";");for(let i=0;i{let i=decodeURIComponent(n).trim().split("=");o.push(i[0])}),o}containsKey(t){return this.getKeys().includes(t)}decryptData(){return Promise.resolve(null)}};function _De(e){let t=new Date;return new Date(t.getTime()+e*bDe).toUTCString()}function yl(e,t){let o=e.getItem(zc(t));return o?JSON.parse(o):[]}function Ur(e,t,o){let n=t.getItem(Nc(e,o));if(n){let i=JSON.parse(n);if(i&&i.hasOwnProperty("idToken")&&i.hasOwnProperty("accessToken")&&i.hasOwnProperty("refreshToken"))return i}return{idToken:[],accessToken:[],refreshToken:[]}}function pb(e){return e.hasOwnProperty("id")&&e.hasOwnProperty("nonce")&&e.hasOwnProperty("data")}var Ade="msal.cache.encryption",vDe="msal.broadcast.cache",AI=class{constructor(t,o,n){if(!window.localStorage)throw ub(_I);this.memoryStorage=new Dc,this.initialized=!1,this.clientId=t,this.logger=o,this.performanceClient=n,this.broadcast=new BroadcastChannel(vDe)}async initialize(t){let o=new db,n=o.getItem(Ade),i={key:"",id:""};if(n)try{i=JSON.parse(n)}catch{}if(i.key&&i.id){let r=Xo(_l,due,this.logger,this.performanceClient,t)(i.key);this.encryptionCookie={id:i.id,key:await Q(uU,YO,this.logger,this.performanceClient,t)(r)}}else{let r=Or(),s=await Q(cU,uue,this.logger,this.performanceClient,t)(),a=Xo(Ps,pue,this.logger,this.performanceClient,t)(new Uint8Array(s));this.encryptionCookie={id:r,key:await Q(uU,YO,this.logger,this.performanceClient,t)(s)};let l={id:r,key:a};o.setItem(Ade,JSON.stringify(l),0,!0,EI.None)}await Q(this.importExistingCache.bind(this),rue,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 be(ab);return this.memoryStorage.getItem(t)}async decryptData(t,o,n){if(!this.initialized||!this.encryptionCookie)throw be(ab);if(o.id!==this.encryptionCookie.id)return this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},n),null;let i=await Q(dU,WO,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o.nonce,this.getContext(t),o.data);if(!i)return null;try{return{...JSON.parse(i),lastUpdatedAt:o.lastUpdatedAt}}catch{return this.performanceClient.incrementFields({encryptedCacheCorruptionCount:1},n),null}}setItem(t,o){window.localStorage.setItem(t,o)}async setUserData(t,o,n,i,r){if(!this.initialized||!this.encryptionCookie)throw be(ab);if(r)this.setItem(t,o);else{let{data:s,nonce:a}=await Q(lde,mue,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o,this.getContext(t)),l={id:this.encryptionCookie.id,nonce:a,data:s,lastUpdatedAt:i};this.setItem(t,JSON.stringify(l))}this.memoryStorage.setItem(t,o),this.broadcast.postMessage({key:t,value:o,context:this.getContext(t)})}removeItem(t){this.memoryStorage.containsKey(t)&&(this.memoryStorage.removeItem(t),this.broadcast.postMessage({key:t,value:null,context:this.getContext(t)})),window.localStorage.removeItem(t)}getKeys(){return Object.keys(window.localStorage)}containsKey(t){return window.localStorage.hasOwnProperty(t)}clear(){this.memoryStorage.clear(),yl(this).forEach(n=>this.removeItem(n));let o=Ur(this.clientId,this);o.idToken.forEach(n=>this.removeItem(n)),o.accessToken.forEach(n=>this.removeItem(n)),o.refreshToken.forEach(n=>this.removeItem(n)),this.getKeys().forEach(n=>{(n.startsWith(en)||n.indexOf(this.clientId)!==-1)&&this.removeItem(n)})}async importExistingCache(t){if(!this.encryptionCookie)return;let o=yl(this);o=await this.importArray(o,t),o.length?this.setItem(zc(),JSON.stringify(o)):this.removeItem(zc());let n=Ur(this.clientId,this);n.idToken=await this.importArray(n.idToken,t),n.accessToken=await this.importArray(n.accessToken,t),n.refreshToken=await this.importArray(n.refreshToken,t),n.idToken.length||n.accessToken.length||n.refreshToken.length?this.setItem(Nc(this.clientId),JSON.stringify(n)):this.removeItem(Nc(this.clientId))}async getItemFromEncryptedCache(t,o){if(!this.encryptionCookie)return null;let n=this.getItem(t);if(!n)return null;let i;try{i=JSON.parse(n)}catch{return null}return pb(i)?i.id!==this.encryptionCookie.id?(this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},o),null):(this.performanceClient.incrementFields({encryptedCacheCount:1},o),Q(dU,WO,this.logger,this.performanceClient,o)(this.encryptionCookie.key,i.nonce,this.getContext(t),i.data)):(this.performanceClient.incrementFields({unencryptedCacheCount:1},o),n)}async importArray(t,o){let n=[],i=[];return t.forEach(r=>{let s=this.getItemFromEncryptedCache(r,o).then(a=>{a?(this.memoryStorage.setItem(r,a),n.push(r)):this.removeItem(r)});i.push(s)}),await Promise.all(i),n}getContext(t){let o="";return t.includes(this.clientId)&&(o=this.clientId),o}updateCache(t,o){this.logger.trace("17cxcm",o);let n=this.performanceClient.startMeasurement(xde);n.add({isBackground:!0});let{key:i,value:r,context:s}=t.data;if(!i){this.logger.error("0e10qr",o),n.end({success:!1,errorCode:"noKey"});return}if(s&&s!==this.clientId){this.logger.trace("04rtdy",o),n.end({success:!1,errorCode:"contextMismatch"});return}r?(this.memoryStorage.setItem(i,r),this.logger.verbose("1vzsgt",o)):(this.memoryStorage.removeItem(i),this.logger.verbose("04ypih",o)),n.end({success:!0})}};var kI=class{constructor(){if(!window.sessionStorage)throw ub(_I)}async initialize(){}getItem(t){return window.sessionStorage.getItem(t)}getUserData(t){return this.getItem(t)}setItem(t,o){window.sessionStorage.setItem(t,o)}async setUserData(t,o){this.setItem(t,o)}removeItem(t){window.sessionStorage.removeItem(t)}getKeys(){return Object.keys(window.sessionStorage)}containsKey(t){return window.sessionStorage.hasOwnProperty(t)}decryptData(){return Promise.resolve(null)}};var et={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 kde="@azure/msal-browser",Hr="5.6.3";function Fc(e,t){let o=e.indexOf(t);o>-1&&e.splice(o,1)}var mb=class extends vm{constructor(t,o,n,i,r,s,a){super(t,n,i,r,a),this.cacheConfig=o,this.logger=i,this.internalStorage=new Dc,this.browserStorage=Ide(t,o.cacheLocation,i,r),this.temporaryCacheStorage=Ide(t,Ln.SessionStorage,i,r),this.cookieStorage=new db,this.eventHandler=s}async initialize(t){this.performanceClient.addFields({cacheLocation:this.cacheConfig.cacheLocation,cacheRetentionDays:this.cacheConfig.cacheRetentionDays},t),await this.browserStorage.initialize(t),await this.migrateExistingCache(t),this.trackVersionChanges(t)}async migrateExistingCache(t){let o=yl(this.browserStorage),n=Ur(this.clientId,this.browserStorage);this.performanceClient.addFields({preMigrateAcntCount:o.length,preMigrateATCount:n.accessToken.length,preMigrateITCount:n.idToken.length,preMigrateRTCount:n.refreshToken.length},t);for(let r=0;r<2;r++){let s=r;await this.removeStaleAccounts(r,s,t)}for(let r=0;r<2;r++){let s=r;await this.migrateIdTokens(r,s,t)}let i=this.getKMSIValues();for(let r=0;r<2;r++)await this.migrateAccessTokens(r,i,t),await this.migrateRefreshTokens(r,i,t);o=yl(this.browserStorage),n=Ur(this.clientId,this.browserStorage),this.performanceClient.addFields({postMigrateAcntCount:o.length,postMigrateATCount:n.accessToken.length,postMigrateITCount:n.idToken.length,postMigrateRTCount:n.refreshToken.length},t)}async updateOldEntry(t,o){let n=this.browserStorage.getItem(t),i=this.validateAndParseJson(n||"");if(!i)return this.browserStorage.removeItem(t),null;if(!i.lastUpdatedAt)i.lastUpdatedAt=Date.now().toString(),this.setItem(t,JSON.stringify(i),o);else if(sr.isCacheExpired(i.lastUpdatedAt,this.cacheConfig.cacheRetentionDays))return this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null;let r=pb(i)?await this.browserStorage.decryptData(t,i,o):i;return!r||!yn.isCredentialEntity(r)?(this.performanceClient.incrementFields({invalidCacheCount:1},o),null):(yn.isAccessTokenEntity(r)||yn.isRefreshTokenEntity(r))&&r.expiresOn&&sr.isTokenExpired(r.expiresOn,De.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC)?(this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null):r}async removeStaleAccounts(t,o,n){let i=yl(this.browserStorage,t);if(i.length!==0){for(let r of[...i]){this.performanceClient.incrementFields({oldAcntCount:1},n);let s=this.browserStorage.getItem(r),a=this.validateAndParseJson(s||"");if(!a){Fc(i,r);continue}if(a.lastUpdatedAt)sr.isCacheExpired(a.lastUpdatedAt,this.cacheConfig.cacheRetentionDays)&&(await this.removeAccountOldSchema(r,a,o,n),Fc(i,r));else{a.lastUpdatedAt=Date.now().toString(),this.setItem(r,JSON.stringify(a),n);continue}}this.setAccountKeys(i,n,t)}}async removeAccountOldSchema(t,o,n,i){let s=(pb(o)?await this.browserStorage.decryptData(t,o,i):o)?.homeAccountId;if(s){let a=this.getTokenKeys(n);[...a.idToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),Fc(a.idToken,l)}),[...a.accessToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),Fc(a.accessToken,l)}),[...a.refreshToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),Fc(a.refreshToken,l)}),this.setTokenKeys(a,i,n)}this.performanceClient.incrementFields({expiredAcntRemovedCount:1},i),this.browserStorage.removeItem(t)}getKMSIValues(){let t={},o=this.getTokenKeys().idToken;for(let n of o){let i=this.browserStorage.getUserData(n);if(i){let r=JSON.parse(i),s=pi.extractTokenClaims(r.secret,Rn);s&&(t[r.homeAccountId]=pi.isKmsi(s))}}return t}async migrateIdTokens(t,o,n){let i=Ur(this.clientId,this.browserStorage,t);if(i.idToken.length===0)return;let r=Ur(this.clientId,this.browserStorage,2),s=yl(this.browserStorage),a=yl(this.browserStorage,o);for(let l of[...i.idToken]){this.performanceClient.incrementFields({oldITCount:1},n);let c=await this.updateOldEntry(l,n);if(!c){Fc(i.idToken,l);continue}let u=s.find(v=>v.includes(c.homeAccountId)),p=a.find(v=>v.includes(c.homeAccountId)),m=null;if(u)m=this.getAccount(u,n);else if(p){let v=this.browserStorage.getItem(p),T=this.validateAndParseJson(v||"");m=T&&pb(T)?await this.browserStorage.decryptData(p,T,n):T}if(!m){this.performanceClient.incrementFields({skipITMigrateCount:1},n);continue}let g=pi.extractTokenClaims(c.secret,Rn),f=this.generateCredentialKey(c),_=this.getIdTokenCredential(f,n),h=Object.keys(g).includes("signin_state"),y=_&&Object.keys(pi.extractTokenClaims(_.secret,Rn)||{}).includes("signin_state");if(!_||c.lastUpdatedAt>_.lastUpdatedAt&&(h||!y)){let v=m.tenantProfiles||[],T=_m(g)||m.realm;if(T&&!v.find(O=>O.tenantId===T)){let O=gl(m.homeAccountId,m.localAccountId,T,g);v.push(O)}m.tenantProfiles=v;let I=this.generateAccountKey(Is.getAccountInfo(m)),A=pi.isKmsi(g);await this.setUserData(I,JSON.stringify(m),n,m.lastUpdatedAt,A),s.includes(I)||s.push(I),await this.setUserData(f,JSON.stringify(c),n,c.lastUpdatedAt,A),this.performanceClient.incrementFields({migratedITCount:1},n),r.idToken.push(f)}}this.setTokenKeys(i,n,t),this.setTokenKeys(r,n),this.setAccountKeys(s,n)}async migrateAccessTokens(t,o,n){let i=Ur(this.clientId,this.browserStorage,t);if(i.accessToken.length===0)return;let r=Ur(this.clientId,this.browserStorage,2);for(let s of[...i.accessToken]){this.performanceClient.incrementFields({oldATCount:1},n);let a=await this.updateOldEntry(s,n);if(!a){Fc(i.accessToken,s);continue}if(!(a.homeAccountId in o)){this.performanceClient.incrementFields({skipATMigrateCount:1},n);continue}let l=this.generateCredentialKey(a),c=o[a.homeAccountId];if(!r.accessToken.includes(l))await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},n),r.accessToken.push(l);else{let u=this.getAccessTokenCredential(l,n);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},n))}}this.setTokenKeys(i,n,t),this.setTokenKeys(r,n)}async migrateRefreshTokens(t,o,n){let i=Ur(this.clientId,this.browserStorage,t);if(i.refreshToken.length===0)return;let r=Ur(this.clientId,this.browserStorage,2);for(let s of[...i.refreshToken]){this.performanceClient.incrementFields({oldRTCount:1},n);let a=await this.updateOldEntry(s,n);if(!a){Fc(i.refreshToken,s);continue}if(!(a.homeAccountId in o)){this.performanceClient.incrementFields({skipRTMigrateCount:1},n);continue}let l=this.generateCredentialKey(a),c=o[a.homeAccountId];if(!r.refreshToken.includes(l))await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},n),r.refreshToken.push(l);else{let u=this.getRefreshTokenCredential(l,n);(!u||a.lastUpdatedAt>u.lastUpdatedAt)&&(await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},n))}}this.setTokenKeys(i,n,t),this.setTokenKeys(r,n)}trackVersionChanges(t){let o=this.browserStorage.getItem(bU);o&&(this.logger.info("1wuc87",t),this.performanceClient.addFields({previousLibraryVersion:o},t)),o!==Hr&&this.setItem(bU,Hr,t)}validateAndParseJson(t){if(!t)return null;try{let o=JSON.parse(t);return o&&typeof o=="object"?o:null}catch{return null}}setItem(t,o,n){let i=new Array(3).fill(0),r=[],s=20;for(let a=0;a<=s;a++)try{if(this.browserStorage.setItem(t,o),a>0)for(let l=0;l<=2;l++){let c=i.slice(0,l).reduce((p,m)=>p+m,0);if(c>=a)break;let u=a>c+i[l]?c+i[l]:a;a>c&&i[l]>0&&this.removeAccessTokenKeys(r.slice(c,u),n,l)}break}catch(l){let c=Vh(l);if(c.errorCode===Zx.cacheQuotaExceeded&&a0)for(let u=0;u<=2;u++){let p=s.slice(0,u).reduce((g,f)=>g+f,0);if(p>=c)break;let m=c>p+s[u]?p+s[u]:c;c>p&&s[u]>0&&this.removeAccessTokenKeys(a.slice(p,m),n,u)}break}catch(u){let p=Vh(u);if(p.errorCode===Zx.cacheQuotaExceeded&&c-1?(n.splice(i,1),this.setAccountKeys(n,o)):this.logger.trace("1dytu2",o)}removeAccount(t,o){let n=this.getActiveAccount(o);n?.homeAccountId===t.homeAccountId&&n?.environment===t.environment&&this.setActiveAccount(null,o),super.removeAccount(t,o),this.removeAccountKeyFromMap(this.generateAccountKey(t),o),this.browserStorage.getKeys().forEach(i=>{i.includes(t.homeAccountId)&&i.includes(t.environment)&&this.browserStorage.removeItem(i)})}removeIdToken(t,o){super.removeIdToken(t,o);let n=this.getTokenKeys(),i=n.idToken.indexOf(t);i>-1&&(this.logger.info("05udv9",o),n.idToken.splice(i,1),this.setTokenKeys(n,o))}removeAccessToken(t,o,n=!0){super.removeAccessToken(t,o),n&&this.removeAccessTokenKeys([t],o)}removeAccessTokenKeys(t,o,n=2){this.logger.trace("17o18n",o);let i=this.getTokenKeys(n),r=0;if(t.forEach(s=>{let a=i.accessToken.indexOf(s);a>-1&&(i.accessToken.splice(a,1),r++)}),r>0){this.logger.info("15i5d5",o),this.setTokenKeys(i,o,n);return}}removeRefreshToken(t,o){super.removeRefreshToken(t,o);let n=this.getTokenKeys(),i=n.refreshToken.indexOf(t);i>-1&&(this.logger.info("1f4fq3",o),n.refreshToken.splice(i,1),this.setTokenKeys(n,o))}getTokenKeys(t=2){return Ur(this.clientId,this.browserStorage,t)}setTokenKeys(t,o,n=2){if(t.idToken.length===0&&t.accessToken.length===0&&t.refreshToken.length===0){this.removeItem(Nc(this.clientId,n));return}else this.setItem(Nc(this.clientId,n),JSON.stringify(t),o)}getIdTokenCredential(t,o){let n=this.browserStorage.getUserData(t);if(!n)return this.logger.trace("1jukz6",o),this.removeIdToken(t,o),null;let i=this.validateAndParseJson(n);return!i||!yn.isIdTokenEntity(i)?(this.logger.trace("1jukz6",o),null):(this.logger.trace("01ju66",o),i)}async setIdTokenCredential(t,o,n){this.logger.trace("13hjll",o);let i=this.generateCredentialKey(t),r=Date.now().toString();t.lastUpdatedAt=r,await this.setUserData(i,JSON.stringify(t),o,r,n);let s=this.getTokenKeys();s.idToken.indexOf(i)===-1&&(this.logger.info("07jy92",o),s.idToken.push(i),this.setTokenKeys(s,o))}getAccessTokenCredential(t,o){let n=this.browserStorage.getUserData(t);if(!n)return this.logger.trace("0bqvx8",o),this.removeAccessTokenKeys([t],o),null;let i=this.validateAndParseJson(n);return!i||!yn.isAccessTokenEntity(i)?(this.logger.trace("0bqvx8",o),null):(this.logger.trace("1o81rl",o),i)}async setAccessTokenCredential(t,o,n){this.logger.trace("1pondb",o);let i=this.generateCredentialKey(t),r=Date.now().toString();t.lastUpdatedAt=r,await this.setUserData(i,JSON.stringify(t),o,r,n);let s=this.getTokenKeys(),a=s.accessToken.indexOf(i);a!==-1&&s.accessToken.splice(a,1),this.logger.trace("1onhey",o),s.accessToken.push(i),this.setTokenKeys(s,o)}getRefreshTokenCredential(t,o){let n=this.browserStorage.getUserData(t);if(!n)return this.logger.trace("0jlizt",o),this.removeRefreshToken(t,o),null;let i=this.validateAndParseJson(n);return!i||!yn.isRefreshTokenEntity(i)?(this.logger.trace("0jlizt",o),null):(this.logger.trace("0nokxi",o),i)}async setRefreshTokenCredential(t,o,n){this.logger.trace("0tcg8d",o);let i=this.generateCredentialKey(t),r=Date.now().toString();t.lastUpdatedAt=r,await this.setUserData(i,JSON.stringify(t),o,r,n);let s=this.getTokenKeys();s.refreshToken.indexOf(i)===-1&&(this.logger.info("0eckjs",o),s.refreshToken.push(i),this.setTokenKeys(s,o))}getAppMetadata(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("1q101h",o),null;let i=this.validateAndParseJson(n);return!i||!yn.isAppMetadataEntity(t,i)?(this.logger.trace("1q101h",o),null):(this.logger.trace("19pvg2",o),i)}setAppMetadata(t,o){this.logger.trace("0cyma6",o);let n=yn.generateAppMetadataKey(t);this.setItem(n,JSON.stringify(t),o)}getServerTelemetry(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("0jk19c",o),null;let i=this.validateAndParseJson(n);return!i||!yn.isServerTelemetryEntity(t,i)?(this.logger.trace("0jk19c",o),null):(this.logger.trace("12jguk",o),i)}setServerTelemetry(t,o,n){this.logger.trace("1poh61",n),this.setItem(t,JSON.stringify(o),n)}getAuthorityMetadata(t,o){let n=this.internalStorage.getItem(t);if(!n)return this.logger.trace("1r39oe",o),null;let i=this.validateAndParseJson(n);return i&&yn.isAuthorityMetadataEntity(t,i)?(this.logger.trace("1ohvk3",o),i):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(o=>this.isAuthorityMetadata(o))}setWrapperMetadata(t,o){this.internalStorage.setItem(uT.WRAPPER_SKU,t),this.internalStorage.setItem(uT.WRAPPER_VER,o)}getWrapperMetadata(){let t=this.internalStorage.getItem(uT.WRAPPER_SKU)||"",o=this.internalStorage.getItem(uT.WRAPPER_VER)||"";return[t,o]}setAuthorityMetadata(t,o,n){this.logger.trace("07w8n2",n),this.internalStorage.setItem(t,JSON.stringify(o))}getActiveAccount(t){let o=this.generateCacheKey(De.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS),n=this.browserStorage.getItem(o);if(!n)return this.logger.trace("08gw0e",t),null;let i=this.validateAndParseJson(n);return i?(this.logger.trace("1t3ch7",t),this.getAccountInfoFilteredBy({homeAccountId:i.homeAccountId,localAccountId:i.localAccountId,tenantId:i.tenantId},t)):(this.logger.trace("0me1up",t),null)}setActiveAccount(t,o){let n=this.generateCacheKey(De.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);if(t){this.logger.verbose("0rsj80",o);let i={homeAccountId:t.homeAccountId,localAccountId:t.localAccountId,tenantId:t.tenantId};this.setItem(n,JSON.stringify(i),o)}else this.logger.verbose("1bp5z5",o),this.browserStorage.removeItem(n);this.eventHandler.emitEvent(et.ACTIVE_ACCOUNT_CHANGED,o)}getThrottlingCache(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("1h4wa6",o),null;let i=this.validateAndParseJson(n);return!i||!yn.isThrottlingEntity(t,i)?(this.logger.trace("1h4wa6",o),null):(this.logger.trace("0of6n8",o),i)}setThrottlingCache(t,o,n){this.logger.trace("0wfgh6",n),this.setItem(t,JSON.stringify(o),n)}getTemporaryCache(t,o,n){let i=n?this.generateCacheKey(t):t,r=this.temporaryCacheStorage.getItem(i);if(!r){if(this.cacheConfig.cacheLocation===Ln.LocalStorage){let s=this.browserStorage.getItem(i);if(s)return this.logger.trace("1yt61y",o),s}return this.logger.trace("1qhy81",o),null}return r}setTemporaryCache(t,o,n){let i=n?this.generateCacheKey(t):t;this.temporaryCacheStorage.setItem(i,o)}removeItem(t){this.browserStorage.removeItem(t)}removeTemporaryItem(t){this.temporaryCacheStorage.removeItem(t)}getKeys(){return this.browserStorage.getKeys()}clear(t){this.removeAllAccounts(t),this.removeAppMetadata(t),this.temporaryCacheStorage.getKeys().forEach(o=>{(o.indexOf(en)!==-1||o.indexOf(this.clientId)!==-1)&&this.removeTemporaryItem(o)}),this.browserStorage.getKeys().forEach(o=>{(o.indexOf(en)!==-1||o.indexOf(this.clientId)!==-1)&&this.browserStorage.removeItem(o)}),this.internalStorage.clear()}generateCacheKey(t){return No.startsWith(t,en)?t:`${en}.${this.clientId}.${t}`}generateCredentialKey(t){let o=t.credentialType===De.CredentialType.REFRESH_TOKEN&&t.familyId||t.clientId,n=t.tokenType&&t.tokenType.toLowerCase()!==De.AuthenticationScheme.BEARER.toLowerCase()?t.tokenType.toLowerCase():"";return[`${en}.${2}`,t.homeAccountId,t.environment,t.credentialType,o,t.realm||"",t.target||"",n].join(hU).toLowerCase()}generateAccountKey(t){let o=t.homeAccountId.split(".")[1];return[`${en}.${2}`,t.homeAccountId,t.environment,o||t.tenantId||""].join(hU).toLowerCase()}resetRequestCache(t){this.logger.trace("0h0ynu",t),this.removeTemporaryItem(this.generateCacheKey(Eo.REQUEST_PARAMS)),this.removeTemporaryItem(this.generateCacheKey(Eo.VERIFIER)),this.removeTemporaryItem(this.generateCacheKey(Eo.ORIGIN_URI)),this.removeTemporaryItem(this.generateCacheKey(Eo.URL_HASH)),this.removeTemporaryItem(this.generateCacheKey(Eo.NATIVE_REQUEST)),this.setInteractionInProgress(!1,void 0)}cacheAuthorizeRequest(t,o,n){this.logger.trace("1tzef5",o);let i=rd(JSON.stringify(t));if(this.setTemporaryCache(Eo.REQUEST_PARAMS,i,!0),n){let r=rd(n);this.setTemporaryCache(Eo.VERIFIER,r,!0)}}getCachedRequest(t){this.logger.trace("0uen20",t);let o=this.getTemporaryCache(Eo.REQUEST_PARAMS,t,!0);if(!o)throw be(Due);let n=this.getTemporaryCache(Eo.VERIFIER,t,!0),i,r="";try{i=JSON.parse(Rn(o)),n&&(r=Rn(n))}catch{throw this.logger.errorPii("0ewsey",t),this.logger.error("0tvdic",t),be(zue)}return[i,r]}getCachedNativeRequest(){this.logger.trace("1yxcdm","");let t=this.getTemporaryCache(Eo.NATIVE_REQUEST,"",!0);if(!t)return this.logger.trace("0mnxd4",""),null;let o=this.validateAndParseJson(t);return o||(this.logger.error("0rrkip",""),null)}isInteractionInProgress(t){let o=this.getInteractionInProgress()?.clientId;return t?o===this.clientId:!!o}getInteractionInProgress(){let t=`${en}.${Eo.INTERACTION_STATUS_KEY}`,o=this.getTemporaryCache(t,"",!1);try{return o?JSON.parse(o):null}catch{return this.logger.error("0jjyys",""),this.removeTemporaryItem(t),this.resetRequestCache(""),vI(window),null}}setInteractionInProgress(t,o=wa.SIGNIN,n=!1,i=""){let r=`${en}.${Eo.INTERACTION_STATUS_KEY}`;if(t){if(this.getInteractionInProgress())if(n)this.logger.warning("1pmscr",i),pde(this.logger,i),this.removeTemporaryItem(r);else throw be(Eue);this.setTemporaryCache(r,JSON.stringify({clientId:this.clientId,type:o}),!1)}else!t&&this.getInteractionInProgress()?.clientId===this.clientId&&this.removeTemporaryItem(r)}async hydrateCache(t,o){let n=yn.createIdTokenEntity(t.account.homeAccountId,t.account.environment,t.idToken,this.clientId,t.tenantId),i=yn.createAccessTokenEntity(t.account.homeAccountId,t.account.environment,t.accessToken,this.clientId,t.tenantId,t.scopes.join(" "),t.expiresOn?sr.toSecondsFromDate(t.expiresOn):0,t.extExpiresOn?sr.toSecondsFromDate(t.extExpiresOn):0,Rn,void 0,t.tokenType,void 0,o.sshKid);o.resource&&(i.resource=o.resource);let r={idToken:n,accessToken:i};return this.saveCacheRecord(r,t.correlationId,pi.isKmsi(pi.extractTokenClaims(t.idToken,Rn)),At.hydrateCache)}async saveCacheRecord(t,o,n,i,r){try{await super.saveCacheRecord(t,o,n,i,r)}catch(s){if(s instanceof td&&this.performanceClient&&o)try{let a=this.getTokenKeys();this.performanceClient.addFields({cacheRtCount:a.refreshToken.length,cacheIdCount:a.idToken.length,cacheAtCount:a.accessToken.length},o)}catch{}throw s}}};function Ide(e,t,o,n){try{switch(t){case Ln.LocalStorage:return new AI(e,o,n);case Ln.SessionStorage:return new kI;case Ln.MemoryStorage:default:break}}catch(i){o.error(i,"")}return new Dc}var Pde=(e,t,o,n)=>{let i={cacheLocation:Ln.MemoryStorage,cacheRetentionDays:5};return new mb(e,i,Zu,t,o,n)};function Lde(e,t,o,n,i){return e.verbose("1yd030",n),o?t.getAllAccounts(i,n):[]}function Rde(e,t,o,n){t.trace("0u7b90",n);let i=o.getAccountInfoFilteredBy(e,n);return i?(t.verbose("0btgll",n),i):(t.verbose("0ltaj5",n),null)}function Mde(e,t,o){t.setActiveAccount(e,o)}function $de(e,t){return e.getActiveAccount(t)}var yDe="msal.broadcast.event",II=class{constructor(t){this.eventCallbacks=new Map,this.logger=t||new vn({}),typeof BroadcastChannel<"u"&&(this.broadcastChannel=new BroadcastChannel(yDe)),this.invokeCrossTabCallbacks=this.invokeCrossTabCallbacks.bind(this)}addEventCallback(t,o,n){if(typeof window<"u"){let i=n||fT();return this.eventCallbacks.has(i)?(this.logger.error("1578i0",""),null):(this.eventCallbacks.set(i,[t,o||[]]),this.logger.verbose("1cnec4",""),i)}return null}removeEventCallback(t){this.eventCallbacks.delete(t),this.logger.verbose("12zotd","")}emitEvent(t,o,n,i,r){let s={eventType:t,interactionType:n||null,payload:i||null,error:r||null,correlationId:o,timestamp:Date.now()};switch(t){case et.LOGIN_SUCCESS:case et.LOGOUT_SUCCESS:case et.ACTIVE_ACCOUNT_CHANGED:this.broadcastChannel?.postMessage(s)}this.invokeCallbacks(s)}invokeCallbacks(t){this.eventCallbacks.forEach(([o,n],i)=>{(n.length===0||n.includes(t.eventType))&&(this.logger.verbose("15jpwk",""),o.apply(null,[t]))})}invokeCrossTabCallbacks(t){let o=t.data;this.invokeCallbacks(o)}subscribeCrossTab(){this.broadcastChannel?.addEventListener("message",this.invokeCrossTabCallbacks)}unsubscribeCrossTab(){this.broadcastChannel?.removeEventListener("message",this.invokeCrossTabCallbacks)}};var gb=class{constructor(t,o,n,i,r,s,a,l,c){this.config=t,this.browserStorage=o,this.browserCrypto=n,this.networkClient=this.config.system.networkClient,this.eventHandler=r,this.navigationClient=s,this.platformAuthProvider=c,this.correlationId=l,this.logger=i.clone(Tn.MSAL_SKU,Hr),this.performanceClient=a}};function km(e,t,o,n){o.verbose("0bd1la",n);let i=e||t||"";return Et.getAbsoluteUrl(i,Ls())}function Go(e,t,o,n,i,r){i.verbose("1p12tq",o);let s={clientId:t,correlationId:o,apiId:e,forceRefresh:!1,wrapperSKU:n.getWrapperMetadata()[0],wrapperVer:n.getWrapperMetadata()[1]};return new wm(s,n)}async function cr(e,t,o,n,i,r,s,a,l){let c=a&&a.hasOwnProperty("instance_aware")?a.instance_aware:void 0,u={protocolMode:e.system.protocolMode,OIDCOptions:e.auth.OIDCOptions,knownAuthorities:e.auth.knownAuthorities,cloudDiscoveryMetadata:e.auth.cloudDiscoveryMetadata,authorityMetadata:e.auth.authorityMetadata},p=r||e.auth.authority,m=c?.length?c==="true":e.auth.instanceAware,g=l&&m?e.auth.authority.replace(Et.getDomainFromUrl(p),l.environment):p,f=Mc.generateAuthority(g,s||e.auth.azureCloudOptions),_=await Q(aI.createDiscoveredInstance,eue,i,o,t)(f,e.system.networkClient,n,u,i,t,o);if(l&&!_.isAlias(l.environment))throw Mt(rr.authorityMismatch);return _}async function fb(e,t,o,n,i){if(i)try{e.removeAccount(i,n),o.verbose("0s4z6h",n)}catch{o.error("0mgg1d",n)}else try{o.verbose("0zj631",n),e.clear(n),await t.clearKeystore(n)}catch{o.error("12ih0c",n)}}async function hT(e,t,o,n,i){let r=e.authority||t.auth.authority,s=[...e&&e.scopes||[]],a={...e,correlationId:e.correlationId,authority:r,scopes:s};if(!a.authenticationScheme)a.authenticationScheme=De.AuthenticationScheme.BEARER,n.verbose("1l4fwv",i);else{if(a.authenticationScheme===De.AuthenticationScheme.SSH){if(!e.sshJwk)throw Mt(rr.missingSshJwk);if(!e.sshKid)throw Mt(rr.missingSshKid)}n.verbose("1ecmns",i)}return a}async function Dde(e,t,o,n,i){let r=await Q(hT,Jh,i,n,e.correlationId)(e,o,n,i,e.correlationId);return{...e,...r,account:t,forceRefresh:e.forceRefresh||!1}}function PI(e,t){let o,n=e.httpMethod;if(t===po.EAR){if(n&&n!==De.HttpMethod.POST)throw Mt(rr.invalidRequestMethodForEAR);o=De.HttpMethod.POST}else o=n||De.HttpMethod.GET;return o}var ur=class extends gb{initializeLogoutRequest(t){this.logger.verbose("0546u4",this.correlationId);let o={correlationId:this.correlationId,...t};if(t)if(t.logoutHint)this.logger.verbose("12k4l4",this.correlationId);else if(t.account){let n=this.getLogoutHintFromIdTokenClaims(t.account);n&&(this.logger.verbose("0st5di",this.correlationId),o.logoutHint=n)}else this.logger.verbose("0pdtc3",this.correlationId);else this.logger.verbose("07ndze",this.correlationId);return!t||t.postLogoutRedirectUri!==null?t&&t.postLogoutRedirectUri?(this.logger.verbose("1vamm6",o.correlationId),o.postLogoutRedirectUri=Et.getAbsoluteUrl(t.postLogoutRedirectUri,Ls())):this.config.auth.postLogoutRedirectUri===null?this.logger.verbose("15m5g7",o.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("1f4xlz",o.correlationId),o.postLogoutRedirectUri=Et.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,Ls())):(this.logger.verbose("17s5rf",o.correlationId),o.postLogoutRedirectUri=Et.getAbsoluteUrl(Ls(),Ls())):this.logger.verbose("0ljv63",o.correlationId),o}getLogoutHintFromIdTokenClaims(t){let o=t.idTokenClaims;if(o){if(o.login_hint)return o.login_hint;this.logger.verbose("0mvp54",this.correlationId)}else this.logger.verbose("1e7bdp",this.correlationId);return null}async createAuthCodeClient(t){let o=await Q(this.getClientConfiguration.bind(this),nd,this.logger,this.performanceClient,this.correlationId)(t);return new Sm(o,this.performanceClient)}async getClientConfiguration(t){let{serverTelemetryManager:o,requestAuthority:n,requestAzureCloudOptions:i,requestExtraQueryParameters:r,account:s}=t,a=t.authority||await Q(cr,xa,this.logger,this.performanceClient,this.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,i,r,s),l=this.config.system.loggerOptions;return{authOptions:{clientId:this.config.auth.clientId,authority:a,clientCapabilities:this.config.auth.clientCapabilities,redirectUri:this.config.auth.redirectUri,isMcp:this.config.auth.isMcp},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:l.loggerCallback,piiLoggingEnabled:l.piiLoggingEnabled,logLevel:l.logLevel,correlationId:this.correlationId},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:o,libraryInfo:{sku:Tn.MSAL_SKU,version:Hr,cpu:"",os:""},telemetry:this.config.telemetry}}};async function ld(e,t,o,n,i,r,s,a){let l=km(e.redirectUri,o.auth.redirectUri,r,a);new URL(l).origin!==new URL(window.location.href).origin&&(r.warning("08qbvw",a),s.addFields({isRedirectUriCrossOrigin:!0},a));let c={interactionType:t},u=va.setRequestState(n,e&&e.state||"",c),m={...await Q(hT,Jh,r,s,a)({...e,correlationId:a},o,s,r,a),redirectUri:l,state:u,nonce:e.nonce||Or(),responseMode:o.auth.OIDCOptions.responseMode},g={...m,httpMethod:PI(m,o.system.protocolMode)};if(e.loginHint||e.sid)return g;let f=e.account||i.getActiveAccount(a);return f&&(r.verbose("1eqlb3",a),r.verbosePii("0tf99t",a),g.account=f),g}function zde(e,t){if(!t)return null;try{return va.parseRequestState(e.base64Decode,t).libraryState.meta}catch{throw ne(bn.invalidState)}}function Im(e,t,o,n){let i=ks.getDeserializedResponse(e);if(!i)throw ks.stripLeadingHashOrQuery(e)?(o.error("13pl0s",n),o.errorPii("1097vx",n),be(wue)):(o.error("18h0l1",n),be(Sue));return i}function Nde(e,t,o){if(!e.state)throw be(ib);let n=zde(t,e.state);if(!n)throw be(dI);if(n.interactionType!==o)throw be(Cue)}var hb=class{constructor(t,o,n,i,r){this.authModule=t,this.browserStorage=o,this.authCodeRequest=n,this.logger=i,this.performanceClient=r}async handleCodeResponse(t,o,n){let i;try{i=bl.getAuthorizationCodePayload(t,o.state)}catch(r){throw r instanceof lr&&r.subError===pT?be(pT):r}return Q(this.handleCodeResponseFromServer.bind(this),xn.HandleCodeResponseFromServer,this.logger,this.performanceClient,o.correlationId)(i,o,n)}async handleCodeResponseFromServer(t,o,n,i=!0){if(this.logger.trace("0mf2hb",o.correlationId),this.authCodeRequest.code=t.code,i&&(t.nonce=o.nonce||void 0),t.state=o.state,t.client_info)this.authCodeRequest.clientInfo=t.client_info;else{let s=this.createCcsCredentials(o);s&&(this.authCodeRequest.ccsCredential=s)}return await Q(this.authModule.acquireToken.bind(this.authModule),Xce,this.logger,this.performanceClient,o.correlationId)(this.authCodeRequest,n,t)}createCcsCredentials(t){return t.account?{credential:t.account.homeAccountId,type:mi.HOME_ACCOUNT_ID}:t.loginHint?{credential:t.loginHint,type:mi.UPN}:null}};var Fde="ContentError",qde="PageException",Ode="user_switch";var Ude="USER_INTERACTION_REQUIRED",Hde="USER_CANCEL",Bde="NO_NETWORK",Vde="PERSISTENT_ERROR",Gde="DISABLED",Qde="ACCOUNT_UNAVAILABLE",jde="UX_NOT_ALLOWED";var xDe=-2147186943,Rs=class e extends rt{constructor(t,o,n){super(t,o||tb(t)),Object.setPrototypeOf(this,e.prototype),this.name="NativeAuthError",this.ext=n}};function cd(e){if(e.ext&&e.ext.status&&(e.ext.status===Vde||e.ext.status===Gde)||e.ext&&e.ext.error&&e.ext.error===xDe)return!0;switch(e.errorCode){case Fde:case qde:return!0;default:return!1}}function Pm(e,t,o){if(o&&o.status)switch(o.status){case Qde:return xm(hl.nativeAccountUnavailable,tb(e));case Ude:return new Co(e,t);case Hde:return be(pT);case Bde:return be(mT);case jde:return xm(hl.uxNotAllowed)}return new Rs(e,t,o)}var bb=class extends ur{async acquireToken(t){let o=Go(At.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),n=await Q(this.getClientConfiguration.bind(this),nd,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:o,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,account:t.account}),i=new aT(n,this.performanceClient);this.logger.verbose("0wa871",this.correlationId);try{let s=(await Q(i.acquireCachedToken.bind(i),Kce,this.logger,this.performanceClient,t.correlationId)(t))[0];return this.performanceClient.addFields({fromCache:!0},t.correlationId),s}catch(r){throw r instanceof Em&&r.errorCode===mI&&this.logger.verbose("06wena",this.correlationId),r}}logout(t){this.logger.verbose("1rkurh",this.correlationId);let o=this.initializeLogoutRequest(t);return fb(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,o.account)}};var ud=class extends gb{constructor(t,o,n,i,r,s,a,l,c,u,p,m){super(t,o,n,i,r,s,l,m,c),this.apiId=a,this.accountId=u,this.platformAuthProvider=c,this.nativeStorageManager=p,this.silentCacheClient=new bb(t,this.nativeStorageManager,n,i,r,s,l,m,c);let g=this.platformAuthProvider.getExtensionName();this.skus=wm.makeExtraSkuString({libraryName:Tn.MSAL_SKU,libraryVersion:Hr,extensionName:g,extensionVersion:this.platformAuthProvider.getExtensionVersion()})}addRequestSKUs(t){t.extraParameters={...t.extraParameters,[Cc.X_CLIENT_EXTRA_SKU]:this.skus}}async acquireToken(t,o){this.logger.trace("03qeos",this.correlationId);let n=this.performanceClient.startMeasurement(lI,t.correlationId),i=sr.nowSeconds(),r=Go(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let s=await this.initializeNativeRequest(t);try{let l=await this.acquireTokensFromCache(this.accountId,s);return n.end({success:!0,isNativeBroker:!1,fromCache:!0}),l}catch(l){if(o===Kn.AccessToken)throw this.logger.info("0eitbc",this.correlationId),l;this.logger.info("0957j1",this.correlationId)}let a=await this.platformAuthProvider.sendMessage(s);return await this.handleNativeResponse(a,s,i).then(l=>(n.end({success:!0,isNativeBroker:!0,requestId:l.requestId}),r.clearNativeBrokerErrorCode(),l)).catch(l=>{throw n.end({success:!1,errorCode:l.errorCode,subErrorCode:l.subError,isNativeBroker:!0}),l})}catch(s){throw s instanceof Rs&&r.setNativeBrokerErrorCode(s.errorCode),s}}createSilentCacheRequest(t,o){return{authority:t.authority,correlationId:this.correlationId,scopes:_n.fromString(t.scope).asArray(),account:o,forceRefresh:!1}}async acquireTokensFromCache(t,o){if(!t)throw this.logger.warning("1ndf3e",this.correlationId),ne(bn.noAccountFound);let n=this.browserStorage.getBaseAccountInfo({nativeAccountId:t},o.correlationId);if(!n)throw ne(bn.noAccountFound);try{let i=this.createSilentCacheRequest(o,n),r=await this.silentCacheClient.acquireToken(i),s={...n,idTokenClaims:r?.idTokenClaims,idToken:r?.idToken};return{...r,account:s}}catch(i){throw i}}async acquireTokenRedirect(t,o,n){this.logger.trace("0luikq",this.correlationId);let i=await this.initializeNativeRequest(t),r=n?.navigateToLoginRequestUrl??!0;try{await this.platformAuthProvider.sendMessage(i)}catch(l){if(l instanceof Rs&&(Go(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).setNativeBrokerErrorCode(l.errorCode),cd(l)))throw l}this.browserStorage.setTemporaryCache(Eo.NATIVE_REQUEST,JSON.stringify(i),!0);let s={apiId:At.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},a=r?window.location.href:km(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId);o.end({success:!0}),await this.navigationClient.navigateExternal(a,s)}async handleRedirectPromise(t,o){if(this.logger.trace("1c5lhw",this.correlationId),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("0le6uv",this.correlationId),null;let n=this.browserStorage.getCachedNativeRequest();if(!n)return this.logger.verbose("0a6zjb",this.correlationId),t&&o&&t?.addFields({errorCode:"no_cached_request"},o),null;let{prompt:i,...r}=n;i&&this.logger.verbose("0ac34v",this.correlationId),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Eo.NATIVE_REQUEST));let s=sr.nowSeconds();try{this.logger.verbose("003x5a",this.correlationId);let a=await this.platformAuthProvider.sendMessage(r),l=await this.handleNativeResponse(a,r,s);return Go(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).clearNativeBrokerErrorCode(),l}catch(a){throw a}}logout(){return this.logger.trace("0u2sjm",this.correlationId),Promise.reject("Logout not implemented yet")}async handleNativeResponse(t,o,n){this.logger.trace("1bojln",this.correlationId);let i=pi.extractTokenClaims(t.id_token,Rn),r=this.createHomeAccountIdentifier(t,i),s=this.browserStorage.getAccountInfoFilteredBy({nativeAccountId:o.accountId},this.correlationId)?.homeAccountId;if(o.extraParameters?.child_client_id&&t.account.id!==o.accountId)this.logger.info("1ub1in",this.correlationId);else if(r!==s&&t.account.id!==o.accountId)throw Pm(Ode);let a=await cr(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o.authority),l=tI(this.browserStorage,a,r,Rn,this.correlationId,i,t.client_info,a.getPreferredCache(),i.tid,void 0,t.account.id,this.logger,this.performanceClient);t.expires_in=Number(t.expires_in);let c=await this.generateAuthenticationResult(t,o,i,l,a.canonicalAuthority,n);return await this.cacheAccount(l,pi.isKmsi(i)),await this.cacheNativeTokens(t,o,r,i,t.access_token,c.tenantId,n),c}createHomeAccountIdentifier(t,o){return Is.generateHomeAccountId(t.client_info||"",Ai.Default,this.logger,this.browserCrypto,this.correlationId,o)}generateScopes(t,o){return o?_n.fromString(o):_n.fromString(t)}async generatePopAccessToken(t,o){if(o.tokenType===De.AuthenticationScheme.POP&&o.signPopToken){if(t.shr)return this.logger.trace("0coqhu",this.correlationId),t.shr;let n=new ar(this.browserCrypto,this.performanceClient),i={resourceRequestMethod:o.resourceRequestMethod,resourceRequestUri:o.resourceRequestUri,shrClaims:o.shrClaims,shrNonce:o.shrNonce,correlationId:this.correlationId};if(!o.keyId)throw ne(bn.keyIdMissing);return n.signPopToken(t.access_token,o.keyId,i)}else return t.access_token}async generateAuthenticationResult(t,o,n,i,r,s){let a=this.addTelemetryFromNativeResponse(t.properties.MATS),l=this.generateScopes(o.scope,t.scope),c=t.account.properties||{},u=c.UID||n.oid||n.sub||"",p=c.TenantId||n.tid||"",m=bm(Is.getAccountInfo(i),void 0,n,t.id_token);m.nativeAccountId!==t.account.id&&(m.nativeAccountId=t.account.id);let g=await this.generatePopAccessToken(t,o),f=o.tokenType===De.AuthenticationScheme.POP?De.AuthenticationScheme.POP:De.AuthenticationScheme.BEARER;return{authority:r,uniqueId:u,tenantId:p,scopes:l.asArray(),account:m,idToken:t.id_token,idTokenClaims:n,accessToken:g,fromCache:a?this.isResponseFromCache(a):!1,expiresOn:sr.toDateFromSeconds(s+t.expires_in),tokenType:f,correlationId:this.correlationId,state:t.state,fromPlatformBroker:!0,...o.resource&&{resource:o.resource}}}async cacheAccount(t,o){await this.browserStorage.setAccount(t,this.correlationId,o,this.apiId),this.browserStorage.removeAccountContext(Is.getAccountInfo(t),this.correlationId)}cacheNativeTokens(t,o,n,i,r,s,a){let l=yn.createIdTokenEntity(n,o.authority,t.id_token||"",o.clientId,i.tid||""),c=o.tokenType===De.AuthenticationScheme.POP?De.SHR_NONCE_VALIDITY:(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,u=a+c,p=this.generateScopes(t.scope,o.scope),m=yn.createAccessTokenEntity(n,o.authority,r,o.clientId,i.tid||s,p.printScopes(),u,0,Rn,void 0,o.tokenType,void 0,o.keyId),g={idToken:l,accessToken:m};return this.nativeStorageManager.saveCacheRecord(g,this.correlationId,pi.isKmsi(i),this.apiId,o.storeInCache)}getExpiresInValue(t,o){return t===De.AuthenticationScheme.POP?De.SHR_NONCE_VALIDITY:(typeof o=="string"?parseInt(o,10):o)||0}addTelemetryFromNativeResponse(t){let o=this.getMATSFromResponse(t);return o?(this.performanceClient.addFields({extensionId:this.platformAuthProvider.getExtensionId(),extensionVersion:this.platformAuthProvider.getExtensionVersion(),matsBrokerVersion:o.broker_version,matsAccountJoinOnStart:o.account_join_on_start,matsAccountJoinOnEnd:o.account_join_on_end,matsDeviceJoin:o.device_join,matsPromptBehavior:o.prompt_behavior,matsApiErrorCode:o.api_error_code,matsUiVisible:o.ui_visible,matsSilentCode:o.silent_code,matsSilentBiSubCode:o.silent_bi_sub_code,matsSilentMessage:o.silent_message,matsSilentStatus:o.silent_status,matsHttpStatus:o.http_status,matsHttpEventCount:o.http_event_count},this.correlationId),o):null}getMATSFromResponse(t){if(t)try{return JSON.parse(t)}catch{this.logger.error("0b3l57",this.correlationId)}return null}isResponseFromCache(t){return typeof t.is_cached>"u"?(this.logger.verbose("1okqev",this.correlationId),!1):!!t.is_cached}async initializeNativeRequest(t){this.logger.trace("04j6wj",this.correlationId);let o=await this.getCanonicalAuthority(t),{scopes:n,...i}=t,r=new _n(n||[]);r.appendScopes(De.OIDC_DEFAULT_SCOPES);let s={...i,accountId:this.accountId,clientId:this.config.auth.clientId,authority:o.urlString,scope:r.printScopes(),redirectUri:km(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId),prompt:this.getPrompt(t.prompt),correlationId:this.correlationId,tokenType:t.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...t.extraParameters},extendedExpiryToken:!1,keyId:t.popKid};if(s.signPopToken&&t.popKid)throw be(jue);if(this.handleExtraBrokerParams(s),s.extraParameters=s.extraParameters||{},s.extraParameters.telemetry=ki.MATS_TELEMETRY,t.authenticationScheme===De.AuthenticationScheme.POP){let a={resourceRequestUri:t.resourceRequestUri,resourceRequestMethod:t.resourceRequestMethod,shrClaims:t.shrClaims,shrNonce:t.shrNonce,correlationId:this.correlationId},l=new ar(this.browserCrypto,this.performanceClient),c;if(s.keyId)c=this.browserCrypto.base64UrlEncode(JSON.stringify({kid:s.keyId})),s.signPopToken=!1;else{let u=await Q(l.generateCnf.bind(l),xn.PopTokenGenerateCnf,this.logger,this.performanceClient,this.correlationId)(a,this.logger);c=u.reqCnfString,s.keyId=u.kid,s.signPopToken=!0}s.reqCnf=c}return this.addRequestSKUs(s),s}async getCanonicalAuthority(t){let o=t.authority||this.config.auth.authority,{azureCloudOptions:n,account:i}=t;i&&await cr(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o,n,void 0,i);let r=new Et(o);return r.validateAsUri(),r}getPrompt(t){switch(this.apiId){case At.ssoSilent:case At.acquireTokenSilent_silentFlow:return this.logger.trace("1hiwaz",this.correlationId),De.PromptValue.NONE}if(!t){this.logger.trace("1qlu04",this.correlationId);return}switch(t){case De.PromptValue.NONE:case De.PromptValue.CONSENT:case De.PromptValue.LOGIN:return this.logger.trace("1ynje4",this.correlationId),t;default:throw this.logger.trace("0nkr6q",this.correlationId),be(Gue)}}handleExtraBrokerParams(t){let o=t.extraParameters&&t.extraParameters.hasOwnProperty(Cc.BROKER_CLIENT_ID)&&t.extraParameters.hasOwnProperty(Cc.BROKER_REDIRECT_URI)&&t.extraParameters.hasOwnProperty(Cc.CLIENT_ID);if(!t.embeddedClientId&&!o)return;let n="",i=t.redirectUri;t.embeddedClientId?(t.redirectUri=this.config.auth.redirectUri,n=t.embeddedClientId):t.extraParameters&&(t.redirectUri=t.extraParameters[Cc.BROKER_REDIRECT_URI],n=t.extraParameters[Cc.CLIENT_ID]),t.extraParameters={child_client_id:n,child_redirect_uri:i},this.performanceClient?.addFields({embeddedClientId:n,embeddedRedirectUri:i},t.correlationId)}};var TDe=new Map([["e","AAD"],["m","MSA"]]);function SDe(e){if(!e)return null;try{let n=(/%(?:[0-9A-Fa-f]{2})/.test(e)?decodeURIComponent(e):e).split("|");return n.length<5?null:{accountType:TDe.get(n[0]?.trim()||"")||"",error:n[1]?.trim()||"",subError:n[2]?.trim()||"",cloudInstance:n[3]?.trim()||"",callerDataBoundary:n[4]?.trim()||""}}catch{return null}}function Yde(e,t,o){let n=SDe(e.clientdata);n?.accountType&&o.addFields({accountType:n.accountType},t),n?.error&&o.addFields({serverErrorNo:n.error},t),n?.subError&&o.addFields({serverSubErrorNo:n.subError},t)}async function vU(e,t,o,n,i){let r=bl.getStandardAuthorizeRequestParameters({...e.auth,authority:t},o,n,i);if(_o.addLibraryInfo(r,{sku:Tn.MSAL_SKU,version:Hr,os:"",cpu:""}),e.system.protocolMode!==po.OIDC&&_o.addApplicationTelemetry(r,e.telemetry.application),o.platformBroker&&(_o.addNativeBroker(r),o.authenticationScheme===De.AuthenticationScheme.POP)){let s=new vl(n,i),a=new ar(s,i),l;o.popKid?l=s.encodeKid(o.popKid):l=(await Q(a.generateCnf.bind(a),xn.PopTokenGenerateCnf,n,i,o.correlationId)(o,n)).reqCnfString,_o.addPopToken(r,l)}return _o.instrumentBrokerParams(r,o.correlationId,i),r}async function _b(e,t,o,n,i){if(!o.codeChallenge)throw Mt(rr.pkceParamsMissing);let r=await Q(vU,Jce,n,i,o.correlationId)(e,t,o,n,i);return _o.addResponseType(r,De.OAuthResponseType.CODE),_o.addCodeChallengeParams(r,o.codeChallenge,De.S256_CODE_CHALLENGE_METHOD),_o.addExtraParameters(r,{...o.extraQueryParameters,...o.extraParameters}),bl.getAuthorizeUrl(t,r)}async function vb(e,t,o,n,i,r){if(!n.earJwk)throw be(eU);let s=await vU(t,o,n,i,r);_o.addResponseType(s,De.OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN),_o.addEARParameters(s,n.earJwk),_o.addCodeChallengeParams(s,n.codeChallenge,De.S256_CODE_CHALLENGE_METHOD),_o.addExtraParameters(s,{...n.extraParameters});let a=new Map;_o.addExtraParameters(a,n.extraQueryParameters||{}),_o.addCorrelationId(a,n.correlationId);let l=bl.getAuthorizeUrl(o,a);return Wde(e,l,s)}async function yb(e,t,o,n,i,r){let s=await vU(t,o,n,i,r);_o.addResponseType(s,De.OAuthResponseType.CODE),_o.addCodeChallengeParams(s,n.codeChallenge,n.codeChallengeMethod||De.S256_CODE_CHALLENGE_METHOD),_o.addExtraParameters(s,{...n.extraParameters});let a=new Map;_o.addExtraParameters(a,n.extraQueryParameters||{}),_o.addCorrelationId(a,n.correlationId);let l=bl.getAuthorizeUrl(o,a);return Wde(e,l,s)}function Wde(e,t,o){let n=e.createElement("form");return n.method="post",n.action=t,o.forEach((i,r)=>{let s=e.createElement("input");s.hidden=!0,s.name=r,s.value=i,n.appendChild(s)}),e.body.appendChild(n),n}async function Kde(e,t,o,n,i,r,s,a,l,c){if(a.verbose("11qcow",e.correlationId),!c)throw be(fI);let u=new vl(a,l),p=new ud(n,i,u,a,s,n.system.navigationClient,o,l,c,t,r,e.correlationId),{userRequestState:m}=va.parseRequestState(u.base64Decode,e.state);return Q(p.acquireToken.bind(p),lI,a,l,e.correlationId)({...e,state:m,prompt:void 0})}async function qc(e,t,o,n,i,r,s,a,l,c,u,p){if(Rc.removeThrottle(s,i.auth.clientId,e),Yde(t,e.correlationId,u),t.accountId)return Q(Kde,QO,c,u,e.correlationId)(e,t.accountId,n,i,s,a,l,c,u,p);let m={...e,code:t.code||"",codeVerifier:o},g=new hb(r,s,m,c,u);return await Q(g.handleCodeResponse.bind(g),Zce,c,u,e.correlationId)(t,e,n)}async function xb(e,t,o,n,i,r,s,a,l,c,u){if(Rc.removeThrottle(r,n.auth.clientId,e),Yde(t,e.correlationId,c),bl.validateAuthorizationResponse(t,e.state),!t.ear_jwe)throw be(Tue);if(!e.earJwk)throw be(eU);let p=JSON.parse(await Q(sde,gue,l,c,e.correlationId)(e.earJwk,t.ear_jwe));if(p.accountId)return Q(Kde,QO,l,c,e.correlationId)(e,p.accountId,o,n,r,s,a,l,c,u);let m=new ya(n.auth.clientId,r,new vl(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 Q(m.handleServerTokenResponse.bind(m),xn.HandleServerTokenResponse,l,c,e.correlationId)(p,i,sr.nowSeconds(),e,o,g,void 0,void 0,void 0,void 0)}var wDe=32;async function Ca(e,t,o){let n=Xo(CDe,sue,t,e,o)(e,t,o),i=await Q(EDe,aue,t,e,o)(n,e,t,o);return{verifier:n,challenge:i}}function CDe(e,t,o){try{let n=new Uint8Array(wDe);return Xo(ode,cue,t,e,o)(n),Ps(n)}catch{throw be(XO)}}async function EDe(e,t,o,n){try{let i=await Q(lU,lue,o,t,n)(e);return Ps(new Uint8Array(i))}catch{throw be(XO)}}var LI=class e{navigateInternal(t,o){return e.defaultNavigateWindow(t,o)}navigateExternal(t,o){return e.defaultNavigateWindow(t,o)}static defaultNavigateWindow(t,o){return o.noHistory?window.location.replace(t):window.location.assign(t),new Promise((n,i)=>{setTimeout(()=>{i(be(Am,"failed_to_redirect"))},o.timeout)})}};var RI=class{async sendGetRequestAsync(t,o){let n,i={},r=0,s=Jde(o);try{n=await fetch(t,{method:KO.GET,headers:s})}catch(a){throw Tm(be(window.navigator.onLine?Fue:mT),void 0,void 0,a)}i=Zde(n.headers);try{return r=n.status,{headers:i,body:await n.json(),status:r}}catch(a){throw Tm(be(oU),r,i,a)}}async sendPostRequestAsync(t,o){let n=o&&o.body||"",i=Jde(o),r,s=0,a={};try{r=await fetch(t,{method:KO.POST,headers:i,body:n})}catch(l){throw Tm(be(window.navigator.onLine?Nue:mT),void 0,void 0,l)}a=Zde(r.headers);try{return s=r.status,{headers:a,body:await r.json(),status:s}}catch(l){throw Tm(be(oU),s,a,l)}}};function Jde(e){try{let t=new Headers;if(!(e&&e.headers))return t;let o=e.headers;return Object.entries(o).forEach(([n,i])=>{t.append(n,i)}),t}catch(t){throw Tm(be(Yue),void 0,void 0,t)}}function Zde(e){try{let t={};return e.forEach((o,n)=>{t[n]=o}),t}catch{throw be(Wue)}}var ADe=6e4,kDe=1e4,IDe=3e4,yU=2e3;function Xde({auth:e,cache:t,system:o,experimental:n,telemetry:i},r){let s={clientId:"",authority:`${De.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:"",authorityMetadata:"",redirectUri:typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:"",postLogoutRedirectUri:"",clientCapabilities:[],OIDCOptions:{responseMode:De.ResponseMode.FRAGMENT,defaultScopes:[De.OPENID_SCOPE,De.PROFILE_SCOPE,De.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:ed.None,tenant:""},instanceAware:!1,isMcp:!1},a={cacheLocation:Ln.SessionStorage,cacheRetentionDays:5},l={loggerCallback:()=>{},logLevel:zt.Info,piiLoggingEnabled:!1},u={...{...Gk,loggerOptions:l,networkClient:r?new RI:UO,navigationClient:new LI,popupBridgeTimeout:o?.popupBridgeTimeout||ADe,iframeBridgeTimeout:o?.iframeBridgeTimeout||kDe,redirectNavigationTimeout:IDe,allowRedirectInIframe:!1,navigatePopups:!0,allowPlatformBroker:!1,nativeBrokerHandshakeTimeout:o?.nativeBrokerHandshakeTimeout||yU,protocolMode:po.AAD},...o,loggerOptions:o?.loggerOptions||l},p={application:{appName:"",appVersion:""},client:new Pc},m={iframeTimeoutTelemetry:!1};if(o?.protocolMode!==po.OIDC&&e?.OIDCOptions&&new vn(u.loggerOptions).warning(JSON.stringify(Mt(rr.cannotSetOIDCOptions)),""),o?.protocolMode&&o.protocolMode===po.OIDC&&u?.allowPlatformBroker)throw Mt(rr.cannotAllowPlatformBroker);return{auth:{...s,...e,OIDCOptions:{...s.OIDCOptions,...e?.OIDCOptions}},cache:{...a,...t},system:u,experimental:{...m,...n},telemetry:{...p,...i}}}var MI=class e{constructor(t,o,n,i){this.logger=t,this.handshakeTimeoutMs=o,this.extensionId=i,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=n,this.handshakeEvent=n.startMeasurement(iue),this.platformAuthType=ki.PLATFORM_EXTENSION_PROVIDER}async sendMessage(t){this.logger.trace("0on4p2",t.correlationId);let o={method:ob.GetToken,request:t},n={channel:ki.CHANNEL_ID,extensionId:this.extensionId,responseId:Or(),body:o};this.logger.trace("1qadfi",t.correlationId),this.logger.tracePii("1xm533",t.correlationId),this.messageChannel.port1.postMessage(n);let i=await new Promise((s,a)=>{this.resolvers.set(n.responseId,{resolve:s,reject:a})});return this.validatePlatformBrokerResponse(i)}static async createProvider(t,o,n,i){t.trace("15zfnw",i);try{let r=new e(t,o,n,ki.PREFERRED_EXTENSION_ID);return await r.sendHandshakeRequest(i),r}catch{let s=new e(t,o,n);return await s.sendHandshakeRequest(i),s}}async sendHandshakeRequest(t){this.logger.trace("1dpg9o",t),window.addEventListener("message",this.windowListener,!1);let o={channel:ki.CHANNEL_ID,extensionId:this.extensionId,responseId:Or(),body:{method:ob.HandshakeRequest}};return this.handshakeEvent.add({extensionId:this.extensionId,extensionHandshakeTimeoutMs:this.handshakeTimeoutMs}),this.messageChannel.port1.onmessage=n=>{this.onChannelMessage(n)},window.postMessage(o,window.origin,[this.messageChannel.port2]),new Promise((n,i)=>{this.handshakeResolvers.set(o.responseId,{resolve:n,reject:i}),this.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",this.windowListener,!1),this.messageChannel.port1.close(),this.messageChannel.port2.close(),this.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),i(be(Bue)),this.handshakeResolvers.delete(o.responseId)},this.handshakeTimeoutMs)})}onWindowMessage(t){let o=fT();if(this.logger.trace("0jpn5u",o),t.source!==window)return;let n=t.data;if(!(!n.channel||n.channel!==ki.CHANNEL_ID)&&!(n.extensionId&&n.extensionId!==this.extensionId)&&n.body.method===ob.HandshakeRequest){let i=this.handshakeResolvers.get(n.responseId);if(!i){this.logger.trace("07buhm",o);return}this.logger.verbose(n.extensionId?"0xrkug":"No extension installed",o),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),i.reject(be(Vue))}}onChannelMessage(t){let o=fT();this.logger.trace("1py8yf",o);let n=t.data,i=this.resolvers.get(n.responseId),r=this.handshakeResolvers.get(n.responseId);try{let s=n.body.method;if(s===ob.Response){if(!i)return;let a=n.body.response;if(this.logger.trace("19hpgm",o),this.logger.tracePii("179a24",o),a.status!=="Success")i.reject(Pm(a.code,a.description,a.ext));else if(a.result)a.result.code&&a.result.description?i.reject(Pm(a.result.code,a.result.description,a.result.ext)):i.resolve(a.result);else throw Oh(od.unexpectedError,"Event does not contain result.");this.resolvers.delete(n.responseId)}else if(s===ob.HandshakeResponse){if(!r){this.logger.trace("082qnt",o);return}clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=n.extensionId,this.extensionVersion=n.body.version,this.logger.verbose("0yf5ib",o),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),r.resolve(),this.handshakeResolvers.delete(n.responseId)}}catch(s){this.logger.error("0xf978",o),this.logger.errorPii("04i99o",o),this.logger.errorPii("0xdvsy",o),i?i.reject(s):r&&r.reject(s)}}validatePlatformBrokerResponse(t){if(t.hasOwnProperty("access_token")&&t.hasOwnProperty("id_token")&&t.hasOwnProperty("client_info")&&t.hasOwnProperty("account")&&t.hasOwnProperty("scope")&&t.hasOwnProperty("expires_in"))return t;throw Oh(od.unexpectedError,"Response missing expected properties.")}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}getExtensionName(){return this.getExtensionId()===ki.PREFERRED_EXTENSION_ID?"chrome":this.getExtensionId()?.length?"unknown":void 0}};var $I=class e{constructor(t,o,n){this.logger=t,this.performanceClient=o,this.correlationId=n,this.platformAuthType=ki.PLATFORM_DOM_PROVIDER}static async createProvider(t,o,n){if(t.trace("12mj4a",n),window.navigator?.platformAuthentication&&(await window.navigator.platformAuthentication.getSupportedContracts(ki.MICROSOFT_ENTRA_BROKERID))?.includes(ki.PLATFORM_DOM_APIS))return t.trace("1h5q1r",n),new e(t,o,n)}getExtensionId(){return ki.MICROSOFT_ENTRA_BROKERID}getExtensionVersion(){return""}getExtensionName(){return ki.DOM_API_NAME}async sendMessage(t){this.logger.trace("02bcil",t.correlationId);try{let o=this.initializePlatformDOMRequest(t),n=await window.navigator.platformAuthentication.executeGetToken(o);return this.validatePlatformBrokerResponse(n,t.correlationId)}catch(o){throw this.logger.error("11im7g",t.correlationId),o}}initializePlatformDOMRequest(t){this.logger.trace("15d6yv",t.correlationId);let{accountId:o,clientId:n,authority:i,scope:r,redirectUri:s,correlationId:a,state:l,storeInCache:c,embeddedClientId:u,extraParameters:p,...m}=t,g=this.getDOMExtraParams(m,a);return{accountId:o,brokerId:this.getExtensionId(),authority:i,clientId:n,correlationId:a||this.correlationId,extraParameters:{...p,...g},isSecurityTokenService:!1,redirectUri:s,scope:r,state:l,storeInCache:c,embeddedClientId:u}}validatePlatformBrokerResponse(t,o){if(t.hasOwnProperty("isSuccess")){if(t.hasOwnProperty("accessToken")&&t.hasOwnProperty("idToken")&&t.hasOwnProperty("clientInfo")&&t.hasOwnProperty("account")&&t.hasOwnProperty("scopes")&&t.hasOwnProperty("expiresIn"))return this.logger.trace("0h4vei",o),this.convertToPlatformBrokerResponse(t,o);if(t.hasOwnProperty("error")){let n=t;if(n.isSuccess===!1&&n.error&&n.error.code)throw this.logger.trace("0g92vm",o),Pm(n.error.code,n.error.description,{error:parseInt(n.error.errorCode),protocol_error:n.error.protocolError,status:n.error.status,properties:n.error.properties})}}throw Oh(od.unexpectedError,"Response missing expected properties.")}convertToPlatformBrokerResponse(t,o){return this.logger.trace("14913t",o),{access_token:t.accessToken,id_token:t.idToken,client_info:t.clientInfo,account:t.account,expires_in:t.expiresIn,scope:t.scopes,state:t.state||"",properties:t.properties||{},extendedLifetimeToken:t.extendedLifetimeToken??!1,shr:t.proofOfPossessionPayload}}getDOMExtraParams(t,o){try{let n={};for(let[i,r]of Object.entries(t))r&&(typeof r=="object"?n[i]=JSON.stringify(r):n[i]=String(r));return n}catch{return this.logger.error("0eu9o3",o),this.logger.errorPii("17rpl5",o),{}}}};async function epe(e,t,o,n){e.trace("134j0v",o);let i=PDe();e.trace("04c81g",o);let r;try{i&&(r=await $I.createProvider(e,t,o)),r||(e.trace("0l3na8",o),r=await MI.createProvider(e,n||yU,t,o))}catch(s){e.trace("0icbd7",s)}return r}function PDe(){let e;try{return e=window[Ln.SessionStorage],e?.getItem(Ede)==="true"}catch{return!1}}function Oc(e,t,o,n,i){if(t.trace("0uko3r",o),!e.system.allowPlatformBroker)return t.trace("04hozs",o),!1;if(!n)return t.trace("0kvv1r",o),!1;if(i)switch(i){case De.AuthenticationScheme.BEARER:case De.AuthenticationScheme.POP:return t.trace("18tev1",o),!0;default:return t.trace("1dd2nh",o),!1}return!0}var DI=class extends ur{constructor(t,o,n,i,r,s,a,l,c,u){super(t,o,n,i,r,s,a,c,u),this.nativeStorage=l,this.eventHandler=r}acquireToken(t,o){let n;try{if(n={popupName:this.generatePopupName(t.scopes||De.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:PI(t,this.config.system.protocolMode)};return this.logger.verbose("1f9ok3",this.correlationId),n.popup=this.openSizedPopup("about:blank",n),this.acquireTokenPopupAsync(r,n,o)}else return this.logger.verbose("162h4u",this.correlationId),this.acquireTokenPopupAsync(t,n,o)}catch(i){return Promise.reject(i)}}logout(t){try{this.logger.verbose("068rup",this.correlationId);let o=this.initializeLogoutRequest(t),n={popupName:this.generateLogoutPopupName(o),popupWindowAttributes:t?.popupWindowAttributes||{},popupWindowParent:t?.popupWindowParent??window},i=t&&t.authority,r=t&&t.mainWindowRedirectUri;return this.config.system.navigatePopups?(this.logger.verbose("1a28da",this.correlationId),n.popup=this.openSizedPopup("about:blank",n),this.logoutPopupAsync(o,n,i,r)):(this.logger.verbose("1phd8u",this.correlationId),this.logoutPopupAsync(o,n,i,r))}catch(o){return Promise.reject(o)}}async acquireTokenPopupAsync(t,o,n){this.logger.verbose("1g77pg",this.correlationId);let i=await Q(ld,id,this.logger,this.performanceClient,this.correlationId)(t,Ze.Popup,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.popup&&xI(i.authority);let r=Oc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);return i.platformBroker=r,this.config.system.protocolMode===po.EAR?this.executeEarFlow(i,o,n):this.executeCodeFlow(i,o,n)}async executeCodeFlow(t,o,n){let i=t.correlationId,r=Go(At.acquireTokenPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=n||await Q(Ca,Sa,this.logger,this.performanceClient,i)(this.performanceClient,this.logger,i),a={...t,codeChallenge:s.challenge};try{let l=await Q(this.createAuthCodeClient.bind(this),Ta,this.logger,this.performanceClient,i)({serverTelemetryManager:r,requestAuthority:a.authority,requestAzureCloudOptions:a.azureCloudOptions,requestExtraQueryParameters:a.extraQueryParameters,account:a.account});if(a.httpMethod===De.HttpMethod.POST)return await this.executeCodeFlowWithPost(a,o,l,s.verifier);{let c=await Q(_b,xn.GetAuthCodeUrl,this.logger,this.performanceClient,i)(this.config,l.authority,a,this.logger,this.performanceClient),u=this.initiateAuthRequest(c,o);this.eventHandler.emitEvent(et.POPUP_OPENED,i,Ze.Popup,{popupWindow:u},null);let p=await ad(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),m=Xo(Im,Cm,this.logger,this.performanceClient,this.correlationId)(p,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return await Q(qc,$c,this.logger,this.performanceClient,i)(t,m,s.verifier,At.acquireTokenPopup,this.config,l,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}}catch(l){throw o.popup?.close(),l instanceof rt&&(l.setCorrelationId(this.correlationId),r.cacheFailedRequest(l)),l}}async executeEarFlow(t,o,n){let{correlationId:i,authority:r,azureCloudOptions:s,extraQueryParameters:a,account:l}=t,c=await Q(cr,xa,this.logger,this.performanceClient,i)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,r,s,a,l),u=await Q(cb,eb,this.logger,this.performanceClient,i)(),p=n||await Q(Ca,Sa,this.logger,this.performanceClient,i)(this.performanceClient,this.logger,i),m={...t,earJwk:u,codeChallenge:p.challenge},g=o.popup||this.openPopup("about:blank",o);(await vb(g.document,this.config,c,m,this.logger,this.performanceClient)).submit();let _=await Q(ad,Zh,this.logger,this.performanceClient,i)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,m,this.performanceClient),h=Xo(Im,Cm,this.logger,this.performanceClient,this.correlationId)(_,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);if(!h.ear_jwe&&h.code){let y=await Q(this.createAuthCodeClient.bind(this),Ta,this.logger,this.performanceClient,i)({serverTelemetryManager:Go(At.acquireTokenPopup,this.config.auth.clientId,i,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:c});return Q(qc,$c,this.logger,this.performanceClient,i)(m,h,p.verifier,At.acquireTokenPopup,this.config,y,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return Q(xb,Xh,this.logger,this.performanceClient,i)(m,h,At.acquireTokenPopup,this.config,c,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async executeCodeFlowWithPost(t,o,n,i){let r=t.correlationId,s=await Q(cr,xa,this.logger,this.performanceClient,r)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger),a=o.popup||this.openPopup("about:blank",o);(await yb(a.document,this.config,s,t,this.logger,this.performanceClient)).submit();let c=await Q(ad,Zh,this.logger,this.performanceClient,r)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),u=Xo(Im,Cm,this.logger,this.performanceClient,this.correlationId)(c,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return Q(qc,$c,this.logger,this.performanceClient,r)(t,u,i,At.acquireTokenPopup,this.config,n,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async logoutPopupAsync(t,o,n,i){this.logger.verbose("0b7yrk",this.correlationId),this.eventHandler.emitEvent(et.LOGOUT_START,this.correlationId,Ze.Popup,t);let r=Go(At.logoutPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{await fb(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,t.account);let s=await Q(this.createAuthCodeClient.bind(this),Ta,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:r,requestAuthority:n,account:t.account||void 0});try{s.authority.endSessionEndpoint}catch{if(t.account?.homeAccountId&&t.postLogoutRedirectUri&&s.authority.protocolMode===po.OIDC){if(this.eventHandler.emitEvent(et.LOGOUT_SUCCESS,t.correlationId,Ze.Popup,t),i){let c={apiId:At.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=Et.getAbsoluteUrl(i,Ls());await this.navigationClient.navigateInternal(u,c)}o.popup?.close();return}}let a=s.getLogoutUri(t);this.eventHandler.emitEvent(et.LOGOUT_SUCCESS,t.correlationId,Ze.Popup,t);let l=this.openPopup(a,o);if(this.eventHandler.emitEvent(et.POPUP_OPENED,t.correlationId,Ze.Popup,{popupWindow:l},null),await ad(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient).catch(()=>{}),i){let c={apiId:At.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=Et.getAbsoluteUrl(i,Ls());this.logger.verbose("0qcur2",this.correlationId),this.logger.verbosePii("0oj7lk",this.correlationId),await this.navigationClient.navigateInternal(u,c)}else this.logger.verbose("03zgcf",this.correlationId)}catch(s){throw o.popup?.close(),s instanceof rt&&(s.setCorrelationId(this.correlationId),r.cacheFailedRequest(s)),this.eventHandler.emitEvent(et.LOGOUT_FAILURE,this.correlationId,Ze.Popup,null,s),this.eventHandler.emitEvent(et.LOGOUT_END,this.correlationId,Ze.Popup),s}this.eventHandler.emitEvent(et.LOGOUT_END,this.correlationId,Ze.Popup)}initiateAuthRequest(t,o){if(t)return this.logger.infoPii("1kcr9k",this.correlationId),this.openPopup(t,o);throw this.logger.error("1l7hyp",this.correlationId),be(nb)}openPopup(t,o){try{let n;if(o.popup?(n=o.popup,this.logger.verbosePii("0cgeo7",this.correlationId),n.location.assign(t)):typeof o.popup>"u"&&(this.logger.verbosePii("0c2awd",this.correlationId),n=this.openSizedPopup(t,o)),!n)throw be(Iue);return n.focus&&n.focus(),this.currentWindow=n,n}catch{throw this.logger.error("0dxfb9",this.correlationId),be(kue)}}openSizedPopup(t,{popupName:o,popupWindowAttributes:n,popupWindowParent:i}){let r=i.screenLeft?i.screenLeft:i.screenX,s=i.screenTop?i.screenTop:i.screenY,a=i.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,l=i.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,c=n.popupSize?.width,u=n.popupSize?.height,p=n.popupPosition?.top,m=n.popupPosition?.left;return(!c||c<0||c>a)&&(this.logger.verbose("08vfmo",this.correlationId),c=Tn.POPUP_WIDTH),(!u||u<0||u>l)&&(this.logger.verbose("09cxa0",this.correlationId),u=Tn.POPUP_HEIGHT),(!p||p<0||p>l)&&(this.logger.verbose("1qh4wo",this.correlationId),p=Math.max(0,l/2-Tn.POPUP_HEIGHT/2+s)),(!m||m<0||m>a)&&(this.logger.verbose("1sz3en",this.correlationId),m=Math.max(0,a/2-Tn.POPUP_WIDTH/2+r)),i.open(t,o,`width=${c}, height=${u}, top=${p}, left=${m}, scrollbars=yes`)}generatePopupName(t,o){return`${Tn.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${t.join("-")}.${o}.${this.correlationId}`}generateLogoutPopupName(t){let o=t.account&&t.account.homeAccountId;return`${Tn.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${o}.${this.correlationId}`}};function LDe(){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 zI=class extends ur{constructor(t,o,n,i,r,s,a,l,c,u){super(t,o,n,i,r,s,a,c,u),this.nativeStorage=l}async acquireToken(t){let o=await Q(ld,id,this.logger,this.performanceClient,this.correlationId)(t,Ze.Redirect,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.platformBroker=Oc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);let n=r=>{r.persisted&&(this.logger.verbose("0udvtt",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),this.eventHandler.emitEvent(et.RESTORE_FROM_BFCACHE,this.correlationId,Ze.Redirect))},i=this.getRedirectStartPage(t.redirectStartPage);this.logger.verbosePii("0zao0a",this.correlationId),this.browserStorage.setTemporaryCache(Eo.ORIGIN_URI,i,!0),window.addEventListener("pageshow",n);try{this.config.system.protocolMode===po.EAR?await this.executeEarFlow(o):await this.executeCodeFlow(o)}catch(r){throw r instanceof rt&&r.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",n),r}}async executeCodeFlow(t){let o=t.correlationId,n=Go(At.acquireTokenRedirect,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),i=await Q(Ca,Sa,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),r={...t,codeChallenge:i.challenge};this.browserStorage.cacheAuthorizeRequest(r,this.correlationId,i.verifier);try{if(r.httpMethod===De.HttpMethod.POST)return await this.executeCodeFlowWithPost(r);{let s=await Q(this.createAuthCodeClient.bind(this),Ta,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:r.authority,requestAzureCloudOptions:r.azureCloudOptions,requestExtraQueryParameters:r.extraQueryParameters,account:r.account}),a=await Q(_b,xn.GetAuthCodeUrl,this.logger,this.performanceClient,t.correlationId)(this.config,s.authority,r,this.logger,this.performanceClient);return await this.initiateAuthRequest(a)}}catch(s){throw s instanceof rt&&(s.setCorrelationId(this.correlationId),n.cacheFailedRequest(s)),s}}async executeEarFlow(t){let{correlationId:o,authority:n,azureCloudOptions:i,extraQueryParameters:r,account:s}=t,a=await Q(cr,xa,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,i,r,s),l=await Q(cb,eb,this.logger,this.performanceClient,o)(),c=await Q(Ca,Sa,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),u={...t,earJwk:l,codeChallenge:c.challenge};return this.browserStorage.cacheAuthorizeRequest(u,this.correlationId,c.verifier),(await vb(document,this.config,a,u,this.logger,this.performanceClient)).submit(),new Promise((m,g)=>{setTimeout(()=>{g(be(Am,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async executeCodeFlowWithPost(t){let o=t.correlationId,n=await Q(cr,xa,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger);return this.browserStorage.cacheAuthorizeRequest(t,this.correlationId),(await yb(document,this.config,n,t,this.logger,this.performanceClient)).submit(),new Promise((r,s)=>{setTimeout(()=>{s(be(Am,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async handleRedirectPromise(t,o,n,i){let r=Go(At.handleRedirectPromise,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=i?.navigateToLoginRequestUrl??!0;try{let[a,l]=this.getRedirectResponse(i?.hash||"");if(!a)return this.logger.info("1qmv0q",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),LDe()!=="back_forward"?n.event.errorCode="no_server_response":this.logger.verbose("1eqegq",this.correlationId),null;let c=this.browserStorage.getTemporaryCache(Eo.ORIGIN_URI,this.correlationId,!0)||"",u=ks.normalizeUrlForComparison(c),p=ks.normalizeUrlForComparison(window.location.href);if(u===p&&s)return this.logger.verbose("11yred",this.correlationId),c.indexOf("#")>-1&&dde(c),await this.handleResponse(a,t,o,r);if(s){if(!gT()||this.config.system.allowRedirectInIframe){this.browserStorage.setTemporaryCache(Eo.URL_HASH,l,!0);let m={apiId:At.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},g=!0;if(!c||c==="null"){let f=mde();this.browserStorage.setTemporaryCache(Eo.ORIGIN_URI,f,!0),this.logger.warning("1dutq1",this.correlationId),g=await this.navigationClient.navigateInternal(f,m)}else this.logger.verbose("08jpy1",this.correlationId),g=await this.navigationClient.navigateInternal(c,m);if(!g)return await this.handleResponse(a,t,o,r)}}else return this.logger.verbose("0v4sdv",this.correlationId),await this.handleResponse(a,t,o,r);return null}catch(a){throw a instanceof rt&&(a.setCorrelationId(this.correlationId),r.cacheFailedRequest(a)),a}}getRedirectResponse(t){this.logger.verbose("1c5i8m",this.correlationId);let o=t;o||(this.config.auth.OIDCOptions.responseMode===De.ResponseMode.QUERY?o=window.location.search:o=window.location.hash);let n=ks.getDeserializedResponse(o);if(n){try{Nde(n,this.browserCrypto,Ze.Redirect)}catch(r){return r instanceof rt&&this.logger.error("0bkq6p",this.correlationId),[null,""]}return vI(window),this.logger.verbose("00uvho",this.correlationId),[n,o]}let i=this.browserStorage.getTemporaryCache(Eo.URL_HASH,this.correlationId,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Eo.URL_HASH)),i&&(n=ks.getDeserializedResponse(i),n)?(this.logger.verbose("001671",this.correlationId),[n,i]):[null,""]}async handleResponse(t,o,n,i){if(!t.state)throw be(ib);let{authority:s,azureCloudOptions:a,extraQueryParameters:l,account:c}=o;if(t.ear_jwe){let p=await Q(cr,xa,this.logger,this.performanceClient,o.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,s,a,l,c);return Q(xb,Xh,this.logger,this.performanceClient,o.correlationId)(o,t,At.acquireTokenRedirect,this.config,p,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}let u=await Q(this.createAuthCodeClient.bind(this),Ta,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:i,requestAuthority:o.authority});return Q(qc,$c,this.logger,this.performanceClient,o.correlationId)(o,t,n,At.acquireTokenRedirect,this.config,u,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async initiateAuthRequest(t){if(this.logger.verbose("0yaw2e",this.correlationId),t){this.logger.infoPii("1luf83",this.correlationId);let o={apiId:At.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},n=this.config.auth.onRedirectNavigate;if(typeof n=="function")if(this.logger.verbose("1nehvl",this.correlationId),n(t)!==!1){this.logger.verbose("1a0jxh",this.correlationId),await this.navigationClient.navigateExternal(t,o);return}else{this.logger.verbose("09k5h5",this.correlationId);return}else{this.logger.verbose("0klwf7",this.correlationId),await this.navigationClient.navigateExternal(t,o);return}}else throw this.logger.info("0rlh4e",this.correlationId),be(nb)}async logout(t){this.logger.verbose("1rkurh",this.correlationId);let o=this.initializeLogoutRequest(t),n=Go(At.logout,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{this.eventHandler.emitEvent(et.LOGOUT_START,this.correlationId,Ze.Redirect,t),await fb(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,o.account);let i={apiId:At.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},r=await Q(this.createAuthCodeClient.bind(this),Ta,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:t&&t.authority,requestExtraQueryParameters:t?.extraQueryParameters,account:t&&t.account||void 0});if(r.authority.protocolMode===po.OIDC)try{r.authority.endSessionEndpoint}catch{if(o.account?.homeAccountId){this.eventHandler.emitEvent(et.LOGOUT_SUCCESS,this.correlationId,Ze.Redirect,o);return}}let s=r.getLogoutUri(o);o.account?.homeAccountId&&this.eventHandler.emitEvent(et.LOGOUT_SUCCESS,this.correlationId,Ze.Redirect,o);let a=this.config.auth.onRedirectNavigate;if(typeof a=="function")if(a(s)!==!1){this.logger.verbose("06v57e",this.correlationId),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,wa.SIGNOUT),await this.navigationClient.navigateExternal(s,i);return}else this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("0xqes1",this.correlationId);else{this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,wa.SIGNOUT),await this.navigationClient.navigateExternal(s,i);return}}catch(i){throw i instanceof rt&&(i.setCorrelationId(this.correlationId),n.cacheFailedRequest(i)),this.eventHandler.emitEvent(et.LOGOUT_FAILURE,this.correlationId,Ze.Redirect,null,i),this.eventHandler.emitEvent(et.LOGOUT_END,this.correlationId,Ze.Redirect),i}this.eventHandler.emitEvent(et.LOGOUT_END,this.correlationId,Ze.Redirect)}getRedirectStartPage(t){let o=t||window.location.href;return Et.getAbsoluteUrl(o,Ls())}};async function tpe(e,t,o,n){if(!e)throw o.info("1l7hyp",n),be(nb);return Xo(RDe,Wce,o,t,n)(e)}async function ope(e,t,o,n,i){let r=xU();if(!r.contentDocument)throw"No document associated with iframe!";return(await yb(r.contentDocument,e,t,o,n,i)).submit(),r}async function npe(e,t,o,n,i){let r=xU();if(!r.contentDocument)throw"No document associated with iframe!";return(await vb(r.contentDocument,e,t,o,n,i)).submit(),r}function RDe(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 TU(e){document.body===e.parentNode&&document.body.removeChild(e)}var NI=class extends ur{constructor(t,o,n,i,r,s,a,l,c,u,p){super(t,o,n,i,r,s,l,u,p),this.apiId=a,this.nativeStorage=c}async acquireToken(t){!t.loginHint&&!t.sid&&(!t.account||!t.account.username)&&this.logger.warning("1kl318",this.correlationId);let o={...t};o.prompt?o.prompt!==De.PromptValue.NONE&&o.prompt!==De.PromptValue.NO_SESSION&&(this.logger.warning("0bmctg",this.correlationId),o.prompt=De.PromptValue.NONE):o.prompt=De.PromptValue.NONE;let n=await Q(ld,id,this.logger,this.performanceClient,this.correlationId)(o,Ze.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);return n.platformBroker=Oc(this.config,this.logger,this.correlationId,this.platformAuthProvider,n.authenticationScheme),xI(n.authority),this.config.system.protocolMode===po.EAR?this.executeEarFlow(n):this.executeCodeFlow(n)}async executeCodeFlow(t){let o,n=Go(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{return o=await Q(this.createAuthCodeClient.bind(this),Ta,this.logger,this.performanceClient,t.correlationId)({serverTelemetryManager:n,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account}),await Q(this.silentTokenHelper.bind(this),GO,this.logger,this.performanceClient,t.correlationId)(o,t)}catch(i){if(i instanceof rt&&(i.setCorrelationId(this.correlationId),n.cacheFailedRequest(i)),!o||!(i instanceof rt)||i.errorCode!==Tn.INVALID_GRANT_ERROR)throw i;return this.performanceClient.addFields({retryError:i.errorCode},this.correlationId),await Q(this.silentTokenHelper.bind(this),GO,this.logger,this.performanceClient,this.correlationId)(o,t)}}async executeEarFlow(t){let{correlationId:o,authority:n,azureCloudOptions:i,extraQueryParameters:r,account:s}=t,a=await Q(cr,xa,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,i,r,s),l=await Q(cb,eb,this.logger,this.performanceClient,o)(),c=await Q(Ca,Sa,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),u={...t,earJwk:l,codeChallenge:c.challenge},p=await Q(npe,cI,this.logger,this.performanceClient,o)(this.config,a,u,this.logger,this.performanceClient),m=this.config.auth.OIDCOptions.responseMode,g;try{g=await Q(ad,Zh,this.logger,this.performanceClient,o)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient,this.config.experimental)}finally{Xo(TU,jO,this.logger,this.performanceClient,o)(p)}let f=Xo(Im,Cm,this.logger,this.performanceClient,o)(g,m,this.logger,this.correlationId);if(!f.ear_jwe&&f.code){let _=await Q(this.createAuthCodeClient.bind(this),Ta,this.logger,this.performanceClient,o)({serverTelemetryManager:Go(this.apiId,this.config.auth.clientId,o,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:a});return Q(qc,$c,this.logger,this.performanceClient,o)(u,f,c.verifier,this.apiId,this.config,_,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return Q(xb,Xh,this.logger,this.performanceClient,o)(u,f,this.apiId,this.config,a,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}logout(){return Promise.reject(be(rb))}async silentTokenHelper(t,o){let n=o.correlationId,i=await Q(Ca,Sa,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),r={...o,codeChallenge:i.challenge},s;if(o.httpMethod===De.HttpMethod.POST)s=await Q(ope,cI,this.logger,this.performanceClient,n)(this.config,t.authority,r,this.logger,this.performanceClient);else{let u=await Q(_b,xn.GetAuthCodeUrl,this.logger,this.performanceClient,n)(this.config,t.authority,r,this.logger,this.performanceClient);s=await Q(tpe,cI,this.logger,this.performanceClient,n)(u,this.performanceClient,this.logger,n)}let a=this.config.auth.OIDCOptions.responseMode,l;try{l=await Q(ad,Zh,this.logger,this.performanceClient,n)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,o,this.performanceClient,this.config.experimental)}finally{Xo(TU,jO,this.logger,this.performanceClient,n)(s)}let c=Xo(Im,Cm,this.logger,this.performanceClient,n)(l,a,this.logger,this.correlationId);return Q(qc,$c,this.logger,this.performanceClient,n)(o,c,i.verifier,this.apiId,this.config,t,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}};var FI=class extends ur{async acquireToken(t){let o=await Q(hT,Jh,this.logger,this.performanceClient,t.correlationId)(t,this.config,this.performanceClient,this.logger,this.correlationId),n={...t,...o};t.redirectUri&&(n.redirectUri=km(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId));let i=Go(At.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),r=await this.createRefreshTokenClient({serverTelemetryManager:i,authorityUrl:n.authority,azureCloudOptions:n.azureCloudOptions,account:n.account});return Q(r.acquireTokenByRefreshToken.bind(r),Qce,this.logger,this.performanceClient,t.correlationId)(n,At.acquireTokenSilent_silentFlow).catch(s=>{throw s.setCorrelationId(this.correlationId),i.cacheFailedRequest(s),s})}logout(){return Promise.reject(be(rb))}async createRefreshTokenClient(t){let o=await Q(this.getClientConfiguration.bind(this),nd,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:t.serverTelemetryManager,requestAuthority:t.authorityUrl,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account});return new sT(o,this.performanceClient)}};var qI=class extends Sm{constructor(t,o){super(t,o),this.includeRedirectUri=!1}};var OI=class extends ur{constructor(t,o,n,i,r,s,a,l,c,u){super(t,o,n,i,r,s,l,c,u),this.apiId=a}async acquireToken(t){if(!t.code)throw be(que);let o=await Q(ld,id,this.logger,this.performanceClient,this.correlationId)(t,Ze.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId),n=Go(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let i={...o,code:t.code},r=await Q(this.getClientConfiguration.bind(this),nd,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:o.authority,requestAzureCloudOptions:o.azureCloudOptions,requestExtraQueryParameters:o.extraQueryParameters,account:o.account}),s=new qI(r,this.performanceClient);this.logger.verbose("1uic5e",this.correlationId);let a=new hb(s,this.browserStorage,i,this.logger,this.performanceClient);return await Q(a.handleCodeResponseFromServer.bind(a),xn.HandleCodeResponseFromServer,this.logger,this.performanceClient,this.correlationId)({code:t.code,msgraph_host:t.msGraphHost,cloud_graph_host_name:t.cloudGraphHostName,cloud_instance_host_name:t.cloudInstanceHostName},o,this.apiId,!1)}catch(i){throw i instanceof rt&&(i.setCorrelationId(this.correlationId),n.cacheFailedRequest(i)),i}}logout(){return Promise.reject(be(rb))}};function ipe(e,t,o,n){let i=window.msal?.clientIds||[],r=i.length,s=i.filter(a=>a===e).length;s>1&&o.warning("1e88vg",n),t.add({msalInstanceCount:r,sameClientIdInstanceCount:s})}function UI(e,t,o,n){try{yI(e),lT(o.auth.isMcp,n)}catch(i){throw t.end({success:!1},i,n.account),i}}var HI=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 vl(this.logger,this.performanceClient):Zu,this.eventHandler=new II(this.logger),this.browserStorage=this.isBrowserEnvironment?new mb(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,this.performanceClient,this.eventHandler,qO(this.config.auth)):Pde(this.config.auth.clientId,this.logger,this.performanceClient,this.eventHandler);let o={cacheLocation:Ln.MemoryStorage,cacheRetentionDays:5};this.nativeInternalStorage=new mb(this.config.auth.clientId,o,this.browserCrypto,this.logger,this.performanceClient,this.eventHandler),this.activeSilentTokenRequests=new Map,this.trackStateChange=this.trackStateChange.bind(this),this.trackStateChangeWithMeasurement=this.trackStateChangeWithMeasurement.bind(this)}static async createController(t,o){let n=new e(t);return await n.initialize(o),n}trackStateChange(t,o){t&&(o.type==="visibilitychange"?(this.logger.info("16v6hv",t),this.performanceClient.incrementFields({visibilityChangeCount:1},t)):o.type==="online"?(this.logger.info("0zirfd",t),this.performanceClient.incrementFields({onlineStatusChangeCount:1},t)):o.type==="offline"&&(this.logger.info("1xk9ef",t),this.performanceClient.incrementFields({onlineStatusChangeCount:1},t)))}async initialize(t){let o=this.getRequestCorrelationId(t);if(this.logger.trace("1f7joy",o),this.initialized){this.logger.info("061m5x",o);return}if(!this.isBrowserEnvironment){this.logger.info("19fvpi",o),this.initialized=!0,this.eventHandler.emitEvent(et.INITIALIZE_END,o);return}let n=this.config.system.allowPlatformBroker,i=this.performanceClient.startMeasurement(yde,o);if(this.eventHandler.emitEvent(et.INITIALIZE_START,o),this.logMultipleInstances(i,o),i.add({isMcp:this.config.auth.isMcp}),await Q(this.browserStorage.initialize.bind(this.browserStorage),Yce,this.logger,this.performanceClient,o)(o),n)try{this.platformAuthProvider=await epe(this.logger,this.performanceClient,o,this.config.system.nativeBrokerHandshakeTimeout)}catch(r){this.logger.verbose(r,o)}this.config.cache.cacheLocation===Ln.LocalStorage&&this.eventHandler.subscribeCrossTab(),!this.config.system.navigatePopups&&await this.preGeneratePkceCodes(o),this.initialized=!0,this.eventHandler.emitEvent(et.INITIALIZE_END,o),i.end({allowPlatformBroker:n,success:!0})}async handleRedirectPromise(t){if(this.logger.verbose("02l8bm",""),gU(this.initialized),this.isBrowserEnvironment){let o=t?.hash||"",n=this.redirectResponse.get(o);return typeof n>"u"?(n=this.handleRedirectPromiseInternal(t),this.redirectResponse.set(o,n),this.logger.verbose("1wn9kp","")):this.logger.verbose("0w0gm3",""),n}return this.logger.verbose("12xi63",""),null}async handleRedirectPromiseInternal(t){if(!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("0le6uv",""),null;if(this.browserStorage.getInteractionInProgress()?.type===wa.SIGNOUT)return this.logger.verbose("1ywcv2",""),this.browserStorage.setInteractionInProgress(!1),Promise.resolve(null);let n=this.getAllAccounts(),i=this.browserStorage.getCachedNativeRequest(),r=i&&this.platformAuthProvider&&!t?.hash,s,a;try{if(r&&this.platformAuthProvider){let l=i?.correlationId||"";this.eventHandler.emitEvent(et.HANDLE_REDIRECT_START,l,Ze.Redirect),s=this.performanceClient.startMeasurement(wI,l),this.logger.trace("12v7is",l);let c=new ud(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,At.handleRedirectPromise,this.performanceClient,this.platformAuthProvider,i.accountId,this.nativeInternalStorage,i.correlationId);a=Q(c.handleRedirectPromise.bind(c),nue,this.logger,this.performanceClient,s.event.correlationId)(this.performanceClient,s.event.correlationId)}else{let[l,c]=this.browserStorage.getCachedRequest(""),u=l.correlationId;this.eventHandler.emitEvent(et.HANDLE_REDIRECT_START,u,Ze.Redirect),s=this.performanceClient.startMeasurement(wI,u),this.logger.trace("0znzs5",u);let p=this.createRedirectClient(u);a=Q(p.handleRedirectPromise.bind(p),oue,this.logger,this.performanceClient,s.event.correlationId)(l,c,s,t)}}catch(l){throw this.browserStorage.resetRequestCache(""),l}return a.then(l=>(l?(this.browserStorage.resetRequestCache(l.correlationId),this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_SUCCESS,l.correlationId,Ze.Redirect,l),this.logger.verbose("0ui8f5",l.correlationId),n.length{this.browserStorage.resetRequestCache(s.event.correlationId);let c=l;throw this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_FAILURE,s.event.correlationId,Ze.Redirect,null,c),this.eventHandler.emitEvent(et.HANDLE_REDIRECT_END,s.event.correlationId,Ze.Redirect),s.end({success:!1},c),l})}async acquireTokenRedirect(t){let o=this.getRequestCorrelationId(t);this.logger.verbose("0os66p",o);let n=this.performanceClient.startMeasurement(_de,o);n.add({scenarioId:t.scenarioId});let i=this.config.auth.onRedirectNavigate;this.config.auth.onRedirectNavigate=r=>{let s=typeof i=="function"?i(r):void 0;return n.add({navigateCallbackResult:s!==!1}),n.event=n.end({success:!0},void 0,t.account)||n.event,s};try{fU(this.initialized,this.config),lT(this.config.auth.isMcp,t),this.browserStorage.setInteractionInProgress(!0,wa.SIGNIN),this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_START,o,Ze.Redirect,t);let r;return this.platformAuthProvider&&this.canUsePlatformBroker(t)?r=new ud(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,At.acquireTokenRedirect,this.performanceClient,this.platformAuthProvider,this.getNativeAccountId(t),this.nativeInternalStorage,o).acquireTokenRedirect(t,n).catch(a=>{if(a instanceof Rs&&cd(a))return this.platformAuthProvider=void 0,this.createRedirectClient(o).acquireToken(t);if(a instanceof Co)return this.logger.verbose("1ipyz4",o),this.createRedirectClient(o).acquireToken(t);throw a}):r=this.createRedirectClient(o).acquireToken(t),await r}catch(r){throw this.browserStorage.resetRequestCache(o),n.event.status===2?this.performanceClient.startMeasurement(wI,o).end({success:!1},r,t.account):n.end({success:!1},r,t.account),this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_FAILURE,o,Ze.Redirect,null,r),r}}acquireTokenPopup(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(bde,o);n.add({scenarioId:t.scenarioId});try{this.logger.verbose("0ch87b",o),UI(this.initialized,n,this.config,t),this.browserStorage.setInteractionInProgress(!0,wa.SIGNIN,t.overrideInteractionInProgress,o)}catch(a){return Promise.reject(a)}let i=this.getAllAccounts();this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_START,o,Ze.Popup,t);let r,s=this.getPreGeneratedPkceCodes(o);return this.canUsePlatformBroker(t)?r=this.acquireTokenNative({...t,correlationId:o},At.acquireTokenPopup).then(a=>(n.end({success:!0,isNativeBroker:!0},void 0,a.account),a)).catch(a=>{if(a instanceof Rs&&cd(a))return this.platformAuthProvider=void 0,this.createPopupClient(o).acquireToken(t,s);if(a instanceof Co)return this.logger.verbose("0yy5fw",o),this.createPopupClient(o).acquireToken(t,s);throw a}):r=this.createPopupClient(o).acquireToken(t,s),r.then(a=>{let l=i.length(this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_FAILURE,o,Ze.Popup,null,a),n.end({success:!1},a,t.account),Promise.reject(a))).finally(async()=>{this.browserStorage.setInteractionInProgress(!1),this.config.system.navigatePopups||await this.preGeneratePkceCodes(o)})}trackStateChangeWithMeasurement(t){let o=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;o&&(t.type==="visibilitychange"?(this.logger.info("0yzimq",o.event.correlationId),o.increment({visibilityChangeCount:1})):t.type==="online"?(this.logger.info("1caf53",o.event.correlationId),o.increment({onlineStatusChangeCount:1})):t.type==="offline"&&(this.logger.info("0fdyk7",o.event.correlationId),o.increment({onlineStatusChangeCount:1})))}addStateChangeListeners(t){document.addEventListener("visibilitychange",t),window.addEventListener("online",t),window.addEventListener("offline",t)}removeStateChangeListeners(t){document.removeEventListener("visibilitychange",t),window.removeEventListener("online",t),window.removeEventListener("offline",t)}async ssoSilent(t){let o=this.getRequestCorrelationId(t),n={...t,prompt:t.prompt,correlationId:o};this.ssoSilentMeasurement=this.performanceClient.startMeasurement(vde,o),this.ssoSilentMeasurement?.add({scenarioId:t.scenarioId}),UI(this.initialized,this.ssoSilentMeasurement,this.config,n),this.ssoSilentMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement);let i=this.getAllAccounts();this.logger.verbose("0w1b45",o),this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_START,o,Ze.Silent,n);let r;return this.canUsePlatformBroker(n)?r=this.acquireTokenNative(n,At.ssoSilent).catch(s=>{if(s instanceof Rs&&cd(s))return this.platformAuthProvider=void 0,this.createSilentIframeClient(n.correlationId).acquireToken(n);throw s}):r=this.createSilentIframeClient(n.correlationId).acquireToken(n),r.then(s=>{let a=i.length{throw this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_FAILURE,o,Ze.Silent,null,s),this.ssoSilentMeasurement?.end({success:!1},s,t.account),s}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenByCode(t){let o=this.getRequestCorrelationId(t);this.logger.trace("0ch6ga",o);let n=this.performanceClient.startMeasurement(hde,o);UI(this.initialized,n,this.config,t),this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_START,o,Ze.Silent,t),n.add({scenarioId:t.scenarioId});try{if(t.code&&t.nativeAccountId)throw be(Uue);if(t.code){let i=t.code,r=this.hybridAuthCodeResponses.get(i);return r?(this.logger.verbose("0qgp28",o),n.discard()):(this.logger.verbose("06eh73",o),r=this.acquireTokenByCodeAsync({...t,correlationId:o}).then(s=>(this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_SUCCESS,o,Ze.Silent,s),this.hybridAuthCodeResponses.delete(i),n.end({success:!0,isNativeBroker:s.fromPlatformBroker,accessTokenSize:s.accessToken.length,idTokenSize:s.idToken.length},void 0,s.account),s)).catch(s=>{throw this.hybridAuthCodeResponses.delete(i),this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_FAILURE,o,Ze.Silent,null,s),n.end({success:!1},s),s}),this.hybridAuthCodeResponses.set(i,r)),await r}else if(t.nativeAccountId)if(this.canUsePlatformBroker(t,t.nativeAccountId)){let i=await this.acquireTokenNative({...t,correlationId:o},At.acquireTokenByCode,t.nativeAccountId).catch(r=>{throw r instanceof Rs&&cd(r)&&(this.platformAuthProvider=void 0),r});return n.end({success:!0},void 0,i.account),i}else throw be(Hue);else throw be(Oue)}catch(i){throw this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_FAILURE,o,Ze.Silent,null,i),n.end({success:!1},i),i}}async acquireTokenByCodeAsync(t){let o=this.getRequestCorrelationId(t);return this.logger.trace("10d9hy",o),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(tue,o),this.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement),await this.createSilentAuthCodeClient(o).acquireToken(t).then(r=>(this.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:r.fromCache,isNativeBroker:r.fromPlatformBroker}),r)).catch(r=>{throw this.acquireTokenByCodeAsyncMeasurement?.end({success:!1},r),r}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenFromCache(t,o){switch(o){case Kn.Default:case Kn.AccessToken:case Kn.AccessTokenAndRefreshToken:let n=this.createSilentCacheClient(t.correlationId);return Q(n.acquireToken.bind(n),Hce,this.logger,this.performanceClient,t.correlationId)(t);default:throw ne(bn.tokenRefreshRequired)}}async acquireTokenByRefreshToken(t,o){switch(o){case Kn.Default:case Kn.AccessTokenAndRefreshToken:case Kn.RefreshToken:case Kn.RefreshTokenAndNetwork:let n=this.createSilentRefreshClient(t.correlationId);return Q(n.acquireToken.bind(n),Gce,this.logger,this.performanceClient,t.correlationId)(t);default:throw ne(bn.tokenRefreshRequired)}}async acquireTokenBySilentIframe(t){let o=this.createSilentIframeClient(t.correlationId);return Q(o.acquireToken.bind(o),Bce,this.logger,this.performanceClient,t.correlationId)(t)}async logoutRedirect(t){let o=this.getRequestCorrelationId(t);return fU(this.initialized,this.config),this.browserStorage.setInteractionInProgress(!0,wa.SIGNOUT),this.createRedirectClient(o).logout(t)}logoutPopup(t){try{let o=this.getRequestCorrelationId(t);return yI(this.initialized),this.browserStorage.setInteractionInProgress(!0,wa.SIGNOUT),this.createPopupClient(o).logout(t).finally(()=>{this.browserStorage.setInteractionInProgress(!1)})}catch(o){return Promise.reject(o)}}async clearCache(t){if(!this.isBrowserEnvironment)return;let o=this.getRequestCorrelationId(t);return this.createSilentCacheClient(o).logout(t)}getAllAccounts(t){return Lde(this.logger,this.browserStorage,this.isBrowserEnvironment,this.getRequestCorrelationId(),t)}getAccount(t){return Rde(t,this.logger,this.browserStorage,this.getRequestCorrelationId())}setActiveAccount(t){Mde(t,this.browserStorage,this.getRequestCorrelationId())}getActiveAccount(){return $de(this.browserStorage,this.getRequestCorrelationId())}async hydrateCache(t,o){this.logger.verbose("16jycr",t.correlationId);let n=Is.createAccountEntityFromAccountInfo(t.account,t.cloudGraphHostName,t.msGraphHost);return await this.browserStorage.setAccount(n,t.correlationId,pi.isKmsi(t.idTokenClaims),At.hydrateCache),t.fromPlatformBroker?(this.logger.verbose("1fxyu8",t.correlationId),this.nativeInternalStorage.hydrateCache(t,o)):this.browserStorage.hydrateCache(t,o)}async acquireTokenNative(t,o,n,i){let r=this.getRequestCorrelationId(t);if(this.logger.trace("0b9y3p",r),!this.platformAuthProvider)throw be(fI);return new ud(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,o,this.performanceClient,this.platformAuthProvider,n||this.getNativeAccountId(t),this.nativeInternalStorage,r).acquireToken(t,i)}canUsePlatformBroker(t,o){let n=this.getRequestCorrelationId(t);if(this.logger.trace("1n9lbl",n),!this.platformAuthProvider)return this.logger.trace("0vnu11",n),!1;if(!Oc(this.config,this.logger,n,this.platformAuthProvider,t.authenticationScheme))return this.logger.trace("1m4bzf",n),!1;if(t.prompt)switch(t.prompt){case De.PromptValue.NONE:case De.PromptValue.CONSENT:case De.PromptValue.LOGIN:this.logger.trace("0vdv8e",n);break;default:return this.logger.trace("0pdzw6",n),!1}return!o&&!this.getNativeAccountId(t)?(this.logger.trace("16lbtk",n),!1):!0}getNativeAccountId(t){let o=t.account||this.getAccount({loginHint:t.loginHint,sid:t.sid})||this.getActiveAccount();return o&&o.nativeAccountId||""}createPopupClient(t){return new DI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createRedirectClient(t){return new zI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentIframeClient(t){return new NI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,At.ssoSilent,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentCacheClient(t){return new bb(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentRefreshClient(t){return new FI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentAuthCodeClient(t){return new OI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,At.acquireTokenByCode,this.performanceClient,t,this.platformAuthProvider)}addEventCallback(t,o){return this.eventHandler.addEventCallback(t,o)}removeEventCallback(t){this.eventHandler.removeEventCallback(t)}addPerformanceCallback(t){return mU(),this.performanceClient.addPerformanceCallback(t)}removePerformanceCallback(t){return this.performanceClient.removePerformanceCallback(t)}getLogger(){return this.logger}setLogger(t){this.logger=t}initializeWrapperLibrary(t,o){this.browserStorage.setWrapperMetadata(t,o)}setNavigationClient(t){this.navigationClient=t}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}isBrowserEnv(){return this.isBrowserEnvironment}getRequestCorrelationId(t){return t?.correlationId?t.correlationId:this.isBrowserEnvironment?Or():""}async loginRedirect(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0lz9hf",o),this.acquireTokenRedirect({correlationId:o,...t||JO})}loginPopup(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0qw7v5",o),this.acquireTokenPopup({correlationId:o,...t||JO})}async acquireTokenSilent(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(fde,o);n.add({cacheLookupPolicy:t.cacheLookupPolicy,scenarioId:t.scenarioId}),UI(this.initialized,n,this.config,t),this.logger.verbose("0x1c4s",o);let i=t.account||this.getActiveAccount();if(!i)throw be($ue);return this.acquireTokenSilentDeduped(t,i,o).then(r=>(n.end({success:!0,fromCache:r.fromCache,isNativeBroker:r.fromPlatformBroker,accessTokenSize:r.accessToken.length,idTokenSize:r.idToken.length},void 0,r.account),{...r,state:t.state,correlationId:o})).catch(r=>{throw r instanceof rt&&r.setCorrelationId(o),n.end({success:!1},r,i),r})}async acquireTokenSilentDeduped(t,o,n){let i=Lc(this.config.auth.clientId,{...t,authority:t.authority||this.config.auth.authority,correlationId:n},o.homeAccountId),r=JSON.stringify(i),s=this.activeSilentTokenRequests.get(r);if(typeof s>"u"){this.logger.verbose("0fcjbk",n),this.performanceClient.addFields({deduped:!1},n);let a=Q(this.acquireTokenSilentAsync.bind(this),qce,this.logger,this.performanceClient,n)({...t,correlationId:n},o);return this.activeSilentTokenRequests.set(r,a),a.finally(()=>{this.activeSilentTokenRequests.delete(r)})}else return this.logger.verbose("1yq7nb",n),this.performanceClient.addFields({deduped:!0},n),s}async acquireTokenSilentAsync(t,o){let n=a=>this.trackStateChange(t.correlationId,a);this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_START,t.correlationId,Ze.Silent,t),t.correlationId&&this.performanceClient.incrementFields({visibilityChangeCount:0,onlineStatusChangeCount:0},t.correlationId),this.addStateChangeListeners(n);let i=await Q(Dde,jce,this.logger,this.performanceClient,t.correlationId)(t,o,this.config,this.performanceClient,this.logger),r=t.cacheLookupPolicy||Kn.Default;return this.acquireTokenSilentNoIframe(i,r).catch(async a=>{if(MDe(a,r)){let c=`${a.errorCode}${a.subError?`|${a.subError}`:""}`;if(this.performanceClient.addFields({silentRefreshReason:c},t.correlationId),this.activeIframeRequest)if(r!==Kn.Skip){let[u,p]=this.activeIframeRequest;this.logger.verbose("1w8fso",i.correlationId);let m=this.performanceClient.startMeasurement(Vce,i.correlationId);m.add({awaitIframeCorrelationId:p});let g=await u;if(m.end({success:g}),g)return this.logger.verbose("0ywzzi",i.correlationId),this.acquireTokenSilentNoIframe(i,r);throw this.logger.info("17y14q",i.correlationId),a}else return this.logger.warning("1bd4p8",i.correlationId),Q(this.acquireTokenBySilentIframe.bind(this),VO,this.logger,this.performanceClient,i.correlationId)(i);else{let u;return this.activeIframeRequest=[new Promise(p=>{u=p}),i.correlationId],this.logger.verbose("0rh08z",i.correlationId),Q(this.acquireTokenBySilentIframe.bind(this),VO,this.logger,this.performanceClient,i.correlationId)(i).then(p=>(u(!0),p)).catch(p=>{throw u(!1),p}).finally(()=>{this.activeIframeRequest=void 0})}}else throw a}).then(a=>(this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_SUCCESS,t.correlationId,Ze.Silent,a),t.correlationId&&this.performanceClient.addFields({fromCache:a.fromCache,isNativeBroker:a.fromPlatformBroker},t.correlationId),a)).catch(a=>{throw this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_FAILURE,t.correlationId,Ze.Silent,null,a),a}).finally(()=>{this.removeStateChangeListeners(n)})}async acquireTokenSilentNoIframe(t,o){return Oc(this.config,this.logger,t.correlationId,this.platformAuthProvider,t.authenticationScheme)&&t.account.nativeAccountId?(this.logger.verbose("0sczo4",t.correlationId),this.acquireTokenNative(t,At.acquireTokenSilent_silentFlow,t.account.nativeAccountId,o).catch(async n=>{throw n instanceof Rs&&cd(n)?(this.logger.verbose("07rkmb",t.correlationId),this.platformAuthProvider=void 0,ne(bn.tokenRefreshRequired)):n})):(this.logger.verbose("0ox81t",t.correlationId),o===Kn.AccessToken&&this.logger.verbose("0fvwxe",t.correlationId),Q(this.acquireTokenFromCache.bind(this),Nce,this.logger,this.performanceClient,t.correlationId)(t,o).catch(n=>{if(o===Kn.AccessToken)throw n;return this.eventHandler.emitEvent(et.ACQUIRE_TOKEN_NETWORK_START,t.correlationId,Ze.Silent,t),Q(this.acquireTokenByRefreshToken.bind(this),Fce,this.logger,this.performanceClient,t.correlationId)(t,o)}))}async preGeneratePkceCodes(t){return this.logger.verbose("1x6uj6",t),this.pkceCode=await Q(Ca,Sa,this.logger,this.performanceClient,t)(this.performanceClient,this.logger,t),Promise.resolve()}getPreGeneratedPkceCodes(t){let o=this.pkceCode?{...this.pkceCode}:void 0;return this.pkceCode=void 0,o?this.logger.verbose("12js1o",t):this.logger.verbose("1oe9ci",t),this.performanceClient.addFields({usePreGeneratedPkce:!!o},t),o}logMultipleInstances(t,o){let n=this.config.auth.clientId;if(!window)return;window.msal=window.msal||{},window.msal.clientIds=window.msal.clientIds||[],window.msal.clientIds.length>0&&this.logger.verbose("1qtz3l",o),window.msal.clientIds.push(n),ipe(n,t,this.logger,o)}};function MDe(e,t){let o=!(e instanceof Co&&e.subError!==hl.badToken),n=e.errorCode===Tn.INVALID_GRANT_ERROR||e.errorCode===bn.tokenRefreshRequired,i=o&&n||e.errorCode===hl.noTokensFound||e.errorCode===hl.refreshTokenExpired,r=yue.includes(t);return i&&r}var BI=class e{static loggerCallback(t,o){switch(t){case zt.Error:console.error(o);return;case zt.Info:console.info(o);return;case zt.Verbose:console.debug(o);return;case zt.Warning:console.warn(o);return;default:console.log(o);return}}constructor(t){this.browserEnvironment=typeof window<"u",this.config=Xde(t,this.browserEnvironment);let o;try{o=window[Ln.SessionStorage]}catch{}let n=o?.getItem(wde),i=o?.getItem(Cde)?.toLowerCase(),r=i==="true"?!0:i==="false"?!1:void 0,s={...this.config.system.loggerOptions},a=n&&Object.keys(zt).includes(n)?zt[n]:void 0;a&&(s.loggerCallback=e.loggerCallback,s.logLevel=a),r!==void 0&&(s.piiLoggingEnabled=r),this.logger=new vn(s,kde,Hr),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}};var Tb=class e extends BI{getModuleName(){return e.MODULE_NAME}getId(){return e.ID}async initialize(t){return this.available=typeof window<"u",this.available}};Tb.MODULE_NAME="";Tb.ID="StandardOperatingContext";var bT=class{constructor(t,o){this.controller=o||new HI(new Tb(t))}async initialize(t){return this.controller.initialize(t)}async acquireTokenPopup(t){return this.controller.acquireTokenPopup(t)}acquireTokenRedirect(t){return this.controller.acquireTokenRedirect(t)}acquireTokenSilent(t){return this.controller.acquireTokenSilent(t)}acquireTokenByCode(t){return this.controller.acquireTokenByCode(t)}addEventCallback(t,o){return this.controller.addEventCallback(t,o)}removeEventCallback(t){return this.controller.removeEventCallback(t)}addPerformanceCallback(t){return this.controller.addPerformanceCallback(t)}removePerformanceCallback(t){return this.controller.removePerformanceCallback(t)}getAccount(t){return this.controller.getAccount(t)}getAllAccounts(t){return this.controller.getAllAccounts(t)}handleRedirectPromise(t){return this.controller.handleRedirectPromise(t)}loginPopup(t){return this.controller.loginPopup(t)}loginRedirect(t){return this.controller.loginRedirect(t)}logoutRedirect(t){return this.controller.logoutRedirect(t)}logoutPopup(t){return this.controller.logoutPopup(t)}ssoSilent(t){return this.controller.ssoSilent(t)}getLogger(){return this.controller.getLogger()}setLogger(t){this.controller.setLogger(t)}setActiveAccount(t){this.controller.setActiveAccount(t)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(t,o){return this.controller.initializeWrapperLibrary(t,o)}setNavigationClient(t){this.controller.setNavigationClient(t)}getConfiguration(){return this.controller.getConfiguration()}async hydrateCache(t,o){return this.controller.hydrateCache(t,o)}clearCache(t){return this.controller.clearCache(t)}};var egt=De.AuthenticationScheme,tgt=De.ResponseMode,ogt=De.PromptValue,ngt=De.JsonWebTokenTypes,igt=De.OIDC_DEFAULT_SCOPES;async function rpe(e){let t={method:"POST",body:JSON.stringify(e)},o=await $(K(z.privacy.cookieConsentDeleteService,t));if(!o.ok)throw new Error(`Cookie Deletion Error ${o.status}: ${o.statusText}`)}var spe;(function(e){spe=e()})(function(){let e=function(){let o=0,n={};for(;o"u")return;if(arguments.length>1){if(s=e({path:"/"},n.defaults,s),typeof s.expires=="number"){let m=new Date;m.setMilliseconds(m.getMilliseconds()+s.expires*864e5),s.expires=m}s.expires=s.expires?s.expires.toUTCString():"";try{a=JSON.stringify(r),/^[\{\[]/.test(a)&&(r=a)}catch{}o.write?r=o.write(r,i):r=encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),i=encodeURIComponent(String(i)),i=i.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),i=i.replace(/[\(\)]/g,escape);let p="";for(let m in s)s[m]&&(p+="; "+m,s[m]!==!0&&(p+="="+s[m]));return document.cookie=i+"="+r+p}i||(a={});let l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,u=0;for(;u{let i=performance.now(),r=setInterval(()=>{let s=dr.get(e);s?(clearInterval(r),n(s)):performance.now()-i>=t&&(clearInterval(r),n(null))},200)})}var lpe=!!window.matchMedia,Sb=window.matchMedia("screen and (min-width: 768px), screen and (min-height: 1024px)"),Pi=window.matchMedia("screen and (min-width: 1088px)"),Ea=window.matchMedia("screen and (min-width: 768px)"),cpe=window.matchMedia("screen and (max-width: 768px)"),upe=window.matchMedia("print"),dpe=window.matchMedia("(prefers-color-scheme: dark)"),ppe=window.matchMedia("(prefers-contrast: more)");var Re={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};function mpe(e){e.addEventListener("click",t=>{if(!(t.target instanceof Element))return;let o=null;if(o=t.target.closest(".dropdown-trigger"),o||(o=t.target.shadowRoot?.activeElement?.closest(".dropdown-trigger")),!o)return;t.preventDefault();let n=o.parentElement,i=o.getAttribute("aria-expanded")!=="true";o.setAttribute("aria-expanded",i.toString());let r,s=!0;if(i&&n){n.classList.contains("has-centered-menu")||$De(n);let a=u=>{u.target instanceof Element&&(!n.contains(u.target)||u.type==="click"&&u.target.closest(".dropdown-menu-close"))&&(r(),u.target.classList.contains("dropdown-menu-close")&&o&&o.focus())},l=u=>{if(u instanceof KeyboardEvent&&u.keyCode===Re.escape){u.stopImmediatePropagation();let m=Array.from(S.querySelectorAll('.dropdown-trigger[aria-expanded="true"]')).pop();m&&(m.setAttribute("aria-expanded","false"),m.focus())}},c=async()=>{S.activeElement?.nodeName?.toLowerCase()==="iframe"&&r()};r=()=>{e.removeEventListener("focus",a,s),e.removeEventListener("click",a),e.removeEventListener("touchstart",a),e.removeEventListener("keydown",l),H.removeEventListener("blur",c),o&&o.setAttribute("aria-expanded","false")},e.addEventListener("focus",a,s),e.addEventListener("click",a),e.addEventListener("touchstart",a),e.addEventListener("keydown",l),e.addEventListener("collapse-dropdown",u=>{u.stopPropagation(),r()}),H.addEventListener("blur",c)}})}function _T(e){e.dispatchEvent(new CustomEvent("collapse-dropdown",{bubbles:!0}))}function $De(e){let t=f=>H.getComputedStyle(f).overflowX,o=e.parentElement;for(;o&&o.nodeName!=="BODY"&&t(o)!=="hidden";)o=o.parentElement;if(o===null)return;let n=e.querySelector(".dropdown-trigger"),i=e.querySelector(".dropdown-menu"),r=e.closest(".dropdown-menu")!==null,s=i.classList.contains("is-vertically-scrollable");i.style.left="",i.style.right="",i.style.maxHeight="";let{left:a,right:l}=o.getBoundingClientRect(),{left:c,right:u,top:p,bottom:m}=n.getBoundingClientRect(),g=i.getBoundingClientRect().width;r?(i.style.top="-1px",b.data.userDir==="ltr"?u+g<=l?(i.style.right="0",i.style.transform="translateX(100%)"):(i.style.left="0",i.style.transform="translateX(-100%)"):u-g>=a?(i.style.left="0",i.style.transform="translateX(-100%)"):(i.style.right="0",i.style.transform="translateX(100%)"),s&&(i.style.maxHeight=`${H.innerHeight-p-8}px`)):(b.data.userDir==="ltr"?c+g<=l?i.style.left="0":i.style.right="0":u-g>=a?i.style.right="0":i.style.left="0",s&&(i.style.maxHeight=`${H.innerHeight-m-8}px`))}var dd="light",GI={light:{documentClass:"theme-light",name:"light",text:uX,icon:"docon-sun"},dark:{documentClass:"theme-dark",name:"dark",text:pK,icon:"docon-clear-night"},"high-contrast":{documentClass:"theme-high-contrast",name:"high-contrast",text:DZ,icon:"docon-clear-night"}},DDe=Object.keys(GI),gpe=DDe.map(e=>GI[e].documentClass),xl=class{constructor(t,o){this.currentTheme=t;this.previousTheme=o}};function zDe(e,t,o){e.publish(new xl(t,o)),window.dispatchEvent(new CustomEvent("theme-changed",{detail:{currentTheme:t,previousTheme:o}}))}function NDe(e){let t=document.documentElement.classList;for(let o of gpe)t.remove(o);t.add(GI[e].documentClass)}function FDe(e){return dd=e}function fpe(e){let t=Array.from(document.querySelectorAll(".theme-control[data-theme-to]"));for(let o of t)o.dataset.themeTo===e?(o.classList.add("is-selected"),o.setAttribute("aria-checked","true")):(o.classList.remove("is-selected"),o.setAttribute("aria-checked","false"))}function qDe(e){oe.setItem("theme",e)}function ODe(e=!1,t=!1){let o=oe.getItem("theme");return o&&/^light|dark|high-contrast$/.test(o)?o:t?"high-contrast":e?"dark":"light"}function hpe(e){SU(ut,e)}function SU(e,t){let o=dd;FDe(t),NDe(t),o!==t&&zDe(e,t,o)}async function bpe(e){let t=pd();SU(e,t),VDe(e),await xe,fpe(t),window.setTheme=hpe}function pd(e=dpe.matches){let t=ce();if(t.theme==="light"||t.theme==="dark"||t.theme==="high-contrast")return t.theme;let o=t.checkPrefersContrast==="true"&&ppe.matches;return ODe(e,o)}function _pe(e){return Array.from(e.querySelectorAll(".theme-control[data-theme-to]"))}function VI(e,t){let o=e.length;o!==0&&e[(t%o+o)%o].focus()}function vpe(e,t){let o=e.closest(".dropdown")?.querySelector(".dropdown-trigger");_T(e),t&&o?.focus()}function UDe(e,t,o){let n=o.indexOf(t);switch(e.key){case"ArrowDown":e.preventDefault(),VI(o,n+1);break;case"ArrowUp":e.preventDefault(),VI(o,n-1);break;case"Home":e.preventDefault(),VI(o,0);break;case"End":e.preventDefault(),VI(o,o.length-1);break;case"Tab":vpe(t,!1);break}}function HDe(e){let t=e.target;if(!(t instanceof HTMLElement))return;let o=t.closest(".theme-dropdown-trigger");if(o){(e.key==="ArrowDown"||e.key==="ArrowUp")&&o.getAttribute("aria-expanded")!=="true"&&(e.preventDefault(),o.click());return}let n=t.closest(".theme-control[data-theme-to]"),i=n?.closest('[role="menu"]');n&&i&&UDe(e,n,_pe(i))}function BDe({target:e}){let t=e instanceof Element?e.closest(".theme-dropdown-trigger"):null;if(t?.getAttribute("aria-expanded")!=="true")return;let o=t.parentElement?.querySelector('[role="menu"]');if(!o)return;let n=_pe(o);(n.find(r=>r.getAttribute("aria-checked")==="true")??n[0])?.focus()}function VDe(e){window.addEventListener("click",({target:t})=>{let o=t instanceof Element&&t.closest(".theme-control[data-theme-to]");if(!o)return;let n=o.dataset.themeTo;fpe(n),qDe(n),SU(e,n),vpe(o,!0)}),window.addEventListener("click",BDe),window.addEventListener("keydown",HDe)}var vT,xpe=new Promise(e=>vT=e),Lm,Rm=new Promise(e=>Lm=e),Tpe,Spe=()=>Tpe,ype=e=>{for(let t of Object.values(e))if(!t)return!1;return!0};async function wpe(){if(!C.cookieConsent)return;if(C.chromeless){Lm(!0),vT();return}let e=()=>dr.get("MSCC")!==void 0,t=H.WcpConsent;if(t===void 0||typeof t.init!="function"){Lm(!1);return}await xe;let o=document.getElementById("cookie-consent-holder"),n=Array.from(document.querySelectorAll(".manage-cookies-holder"));if(!o||!n.length){console.log("No container for cookie banner");return}t.init(b.data.userLocale,o,function(i,r){if(i!==void 0){Lm(!1);return}if(Tpe=r,!r.isConsentRequired){Lm(!0),vT();return}let s=document.createElement("button");if(s.setAttribute("data-bi-name","manageCookies"),s.textContent=AX,n.forEach(a=>{a.appendChild(s.cloneNode(!0)).addEventListener("click",()=>{r.manageConsent()}),a.hidden=!1}),o.hidden=!1,Rt(),ype(r.getConsent())){Lm(!0),vT();return}Lm(!1)},async function(i){if(ype(i)){vT(),el();return}if(await rpe({domain:document.location.hostname,analytics:!i.Analytics,advertising:!i.Advertising,social:!i.SocialMedia}),e()){i.Analytics||(document.cookie="mbox=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=.microsoft.com"),H.location.href=H.location.pathname+H.location.search+H.location.hash;return}el()},dd)}function Cpe(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 Ape="3PAdsOptOut";var wU=!1;function kpe(){let e=S.createElement("div");e.style.cssText="position:absolute;top:0;left:-2300px;background-color:#878787",e.textContent="hc",S.body.appendChild(e);let t=H.getComputedStyle(e).backgroundColor.toLowerCase();S.body.removeChild(e),t!=="#878787"&&t!=="rgb(135, 135, 135)"&&(S.documentElement.className+=" os-high-contrast-enabled theme-high-contrast",wU=!0)}var GDe={audience:"aud",author:"author",manager:"manager","ms.assetid":"asst","ms.author":"pgauth","ms.contentsource":"pgpubl","ms.custom":"custom","ms.date":"date",depot_name:"depotname","ms.devlang":"pgdevlng",gitcommit:"gitcommit",original_content_git_url:"giturl",updated_at:"publishtime","ms.lasthandoff":"lasthandoff","ms.locfileid":"locfileid","ms.prod":"product","ms.reviewer":"reviewer","ms.service":"pgsrvcs","ms.suite":"suite","ms.technology":"technology","ms.tgt_pltfrm":"pgtrgtplf","ms.topic":"pgtop","ms.workload":"workload","ms.search.region":"searchregion","ms.prod_service":"prod_service","ms.component":"component",experimental:"experimental",experiment_id:"experiment_id","ms.assigned_experiments":"assigned_experiments","ms.translationtype":"translationtype",document_version_independent_id:"document_version_independent_id",platform_id:"platform_id","ms.collection":"collection","ms.subservice":"subservice"};function QI(e){let t=document.querySelectorAll("meta");for(let o=0;ow.isAuthenticated&&(w.authenticationMode==="MSA"||w.tenantId===nr),pageViewPageTags:jI,pageActionPageTags:jI,contentUpdatePageTags:jI,pageActionContentTags:jI,userConsentDetailsCallback:Lpe},advancedConfig:{propertyConfiguration:{gpcDataSharingOptIn:C.thirdPartyDataSharingConsentFlag?jDe():null}},shareAuthStatus:!0,isLoggedIn:!1};QI(o.coreData.pageTags),o.coreData.pageTags.pageTemplate=b.data.pageTemplate,e.init(o),YDe(e)}function jI(){return w.isAuthenticated?{"ext-app-user-id":`c:${w.userId}`}:{}}var md=new Promise(e=>Ipe=e);function jDe(){let e=KDe(),t=WDe(),o=!!navigator.globalPrivacyControl,n=dr.get(Ape)==="1";return!(e||t||o||n)}function YDe(e){var o,n;(o=e.sku.config).extensionConfig??(o.extensionConfig={});let t=e.sku.config.extensionConfig;t.SystemPropertiesCollector??(t.SystemPropertiesCollector={}),(n=t.SystemPropertiesCollector).callback??(n.callback={}),t.SystemPropertiesCollector.callback.userConsentDetails=Lpe}function Lpe(){return Spe()?.getConsent()||null}function WDe(){let e=window.self!==window.top,t=!!window.frameElement;return e&&!t}function KDe(e=window.location.hostname){return!e.endsWith(".microsoft.com")}var Ee={CLICKLEFT:"CL",CLICKRIGHT:"CR",CLICKMIDDLE:"CM",SCROLL:"S",ZOOM:"Z",RESIZE:"R",KEYBOARDENTER:"KE",KEYBOARDSPACE:"KS",GAMEPADA:"CGA",GAMEPADMENU:"CGM",OTHER:"O",AUTO:"A"},me={UNDEFINED:0,NAVIGATIONBACK:1,NAVIGATION:2,NAVIGATIONFORWARD:3,APPLY:4,REMOVE:5,SORT:6,EXPAND:7,REDUCE:8,CONTEXTMENU:9,TAB:10,COPY:11,EXPERIMENTATION:12,PRINT:13,SHOW:14,HIDE:15,MAXIMIZE:16,MINIMIZE:17,BACKBUTTON:18,STARTPROCESS:20,PROCESSCHECKPOINT:21,COMPLETEPROCESS:22,SCENARIOCANCEL:23,DOWNLOADCOMMIT:40,DOWNLOAD:41,SEARCHAUTOCOMPLETE:60,SEARCH:61,SEARCHINITIATE:62,TEXTBOXINPUT:63,PURCHASE:80,ADDTOCART:81,VIEWCART:82,ADDWISHLIST:83,FINDSTORE:84,CHECKOUT:85,REMOVEFROMCART:86,PURCHASECOMPLETE:87,VIEWCHECKOUTPAGE:88,VIEWCARTPAGE:89,VIEWPDP:90,UPDATEITEMQUANTITY:91,INTENTTOBUY:92,PUSHTOINSTALL:93,SIGNIN:100,SIGNOUT:101,SOCIALSHARE:120,SOCIALLIKE:121,SOCIALREPLY:122,CALL:123,EMAIL:124,COMMUNITY:125,SOCIALFOLLOW:126,VOTE:140,SURVEYINITIATE:141,SURVEYCOMPLETE:142,REPORTAPPLICATION:143,REPORTREVIEW:144,SURVEYCHECKPOINT:145,CONTACT:160,REGISTRATIONINITIATE:161,REGISTRATIONCOMPLETE:162,CANCELSUBSCRIPTION:163,RENEWSUBSCRIPTION:164,CHANGESUBSCRIPTION:165,REGISTRATIONCHECKPOINT:166,CHATINITIATE:180,CHATEND:181,TRIALSIGNUP:200,TRIALINITIATE:201,SIGNUP:210,FREESIGNUP:211,PARTNERREFERRAL:220,LEARNLOWFUNNEL:230,LEARNHIGHFUNNEL:231,SHOPPINGINTENT:232,VIDEOSTART:240,VIDEOPAUSE:241,VIDEOCONTINUE:242,VIDEOCHECKPOINT:243,VIDEOJUMP:244,VIDEOCOMPLETE:245,VIDEOBUFFERING:246,VIDEOERROR:247,VIDEOMUTE:248,VIDEOUNMUTE:249,VIDEOFULLSCREEN:250,VIDEOUNFULLSCREEN:251,VIDEOREPLAY:252,VIDEOPLAYERLOAD:253,VIDEOPLAYERCLICK:254,VIDEOVOLUMECONTROL:255,VIDEOAUDIOTRACKCONTROL:256,VIDEOCLOSEDCAPTIONCONTROL:257,VIDEOCLOSEDCAPTIONSTYLE:258,VIDEORESOLUTIONCONTROL:259,VIRTUALEVENTJOIN:260,VIRTUALEVENTEND:261,IMPRESSION:280,CLICK:281,RICHMEDIACOMPLETE:282,ADBUFFERING:283,ADERROR:284,ADSTART:285,ADCOMPLETE:286,ADSKIP:287,ADTIMEOUT:288,OTHER:300},Ao={id:"data-bi-id",name:"data-bi-name",type:"data-bi-type",scenario:"data-bi-scn",scenarioStep:"data-bi-scnstp",scenarioStepNumber:"data-bi-subnm",satisfaction:"data-bi-sat"},yT={id:"id",name:"name",type:"type",scenario:"scn",scenarioStep:"scnstp",scenarioStepNumber:"subnm"},Uc=e=>{let t=e.closest(`[${Ao.name}]`);return t?t.getAttribute(Ao.name):""},Rpe=()=>{md.then(e=>{e.sku.getAuthExtension().signOut()})},Mpe=(e,t)=>{md.then(o=>{let n=o.sku.getAuthExtension();if(!t){n.setAuthType(0);return}n.setAuthType(e==="MSA"?1:e==="AAD"?2:0)})},$pe=e=>{md.then(t=>t.extendCoreData(e))},Gt=(e,t)=>{md.then(o=>o.ct.capturePageAction(e,t))},Se=e=>{md.then(t=>t.ct.captureContentPageAction(e))},Dpe=e=>{md.then(t=>t.ct.captureContentUpdate(e))},YI=e=>{md.then(t=>t.ct.capturePageView(e||{}))};var WI,KI="undefined",eP="constructor",Tl="prototype",tP="function",oP="_dynInstFuncs",AU="_isDynProxy",wb="_dynClass",JDe="_dynCls$",kU="_dynInstChk",xT=kU,Ope="_dfOpts",zpe="_unknown_",LU="__proto__",JI="_dyn"+LU,Npe="__dynProto$Gbl",CU="_dynInstProto",ZI="useBaseInst",IU="setInstFuncs",rP=Object,TT=rP.getPrototypeOf,Fpe=rP.getOwnPropertyNames;function ZDe(){var e;return typeof globalThis!==KI&&(e=globalThis),!e&&typeof self!==KI&&(e=self),!e&&typeof window!==KI&&(e=window),!e&&typeof global!==KI&&(e=global),e||{}}var qpe=ZDe(),PU=qpe[Npe]||(qpe[Npe]={o:(WI={},WI[IU]=!0,WI[ZI]=!0,WI),n:1e3});function Hc(e,t){return e&&rP[Tl].hasOwnProperty.call(e,t)}function XI(e){return e&&(e===rP[Tl]||e===Array[Tl])}function RU(e){return XI(e)||e===Function[Tl]}function Mm(e){var t;if(e){if(TT)return TT(e);var o=e[LU]||e[Tl]||(e[eP]?e[eP][Tl]:null);t=e[JI]||o,Hc(e,JI)||(delete e[CU],t=e[JI]=e[CU]||e[JI],e[CU]=o)}return t}function nP(e,t){var o=[];if(Fpe)o=Fpe(e);else for(var n in e)typeof n=="string"&&Hc(e,n)&&o.push(n);if(o&&o.length>0)for(var i=0;i=0;o--)if(e[o]===t)return!0;return!1}function e1e(e,t,o,n){function i(l,c,u){var p=c[u];if(p[AU]&&n){var m=l[oP]||{};m[xT]!==!1&&(p=(m[c[wb]]||{})[u]||p)}return function(){return p.apply(l,arguments)}}var r=Cb();nP(o,function(l){r[l]=i(t,o,l)});for(var s=Mm(e),a=[];s&&!RU(s)&&!$U(a,s);)nP(s,function(l){!r[l]&&MU(s,l,!TT)&&(r[l]=i(t,s,l))}),a.push(s),s=Mm(s);return r}function t1e(e,t,o,n){var i=null;if(e&&Hc(o,wb)){var r=e[oP]||Cb();if(i=(r[o[wb]]||Cb())[t],i||iP("Missing ["+t+"] "+tP),!i[kU]&&r[xT]!==!1){for(var s=!Hc(e,t),a=Mm(e),l=[];s&&a&&!RU(a)&&!$U(l,a);){var c=a[t];if(c){s=c===n;break}l.push(a),a=Mm(a)}try{s&&(e[t]=i),i[kU]=1}catch{r[xT]=!1}}}return i}function o1e(e,t,o){var n=t[e];return n===o&&(n=Mm(t)[e]),typeof n!==tP&&iP("["+e+"] is not a "+tP),n}function n1e(e,t,o,n,i){function r(l,c){var u=function(){var p=t1e(this,c,l,u)||o1e(c,l,u);return p.apply(this,arguments)};return u[AU]=1,u}if(!XI(e)){var s=o[oP]=o[oP]||Cb();if(!XI(s)){var a=s[t]=s[t]||Cb();s[xT]!==!1&&(s[xT]=!!i),XI(a)||nP(o,function(l){MU(o,l,!1)&&o[l]!==n[l]&&(a[l]=o[l],delete o[l],(!Hc(e,l)||e[l]&&!e[l][AU])&&(e[l]=r(e,l)))})}}}function i1e(e,t){if(TT){for(var o=[],n=Mm(t);n&&!RU(n)&&!$U(o,n);){if(n===e)return!0;o.push(n),n=Mm(n)}return!1}return!0}function EU(e,t){return Hc(e,Tl)?e.name||t||zpe:((e||{})[eP]||{}).name||t||zpe}function ft(e,t,o,n){Hc(e,Tl)||iP("theClass is an invalid class definition.");var i=e[Tl];i1e(i,t)||iP("["+EU(e)+"] not in hierarchy of ["+EU(t)+"]");var r=null;Hc(i,wb)?r=i[wb]:(r=JDe+EU(e,"_")+"$"+PU.n,PU.n++,i[wb]=r);var s=ft[Ope],a=!!s[ZI];a&&n&&n[ZI]!==void 0&&(a=!!n[ZI]);var l=XDe(t),c=e1e(i,t,l,a);o(t,c);var u=!!TT&&!!s[IU];u&&n&&(u=!!n[IU]),n1e(i,r,t,l,u!==!1)}ft[Ope]=PU.o;var Ms="function",pr="object",mr="undefined",ko="prototype",ST="hasOwnProperty";var Br=Object,Eb=Br[ko],Ab=Br.assign,sP=Br.create,kb=Br.defineProperty,Sl=Eb[ST];var Upe=null;function $s(e){e===void 0&&(e=!0);var t=e===!1?null:Upe;return t||(typeof globalThis!==mr&&(t=globalThis),!t&&typeof self!==mr&&(t=self),!t&&typeof window!==mr&&(t=window),!t&&typeof global!==mr&&(t=global),Upe=t),t}function Ib(e){throw new TypeError(e)}function Pb(e){var t=sP;if(t)return t(e);if(e==null)return{};var o=typeof e;o!==pr&&o!==Ms&&Ib("Object prototype may only be an Object:"+e);function n(){}return n[ko]=e,new n}var sft=($s()||{}).Symbol,aft=($s()||{}).Reflect;var s1e=function(e){for(var t,o=1,n=arguments.length;o=n&&!(o=e===t)){for(var r=i-1,s=n-1;s>=0;s--){if(e[r]!=t[s])return!1;r--}o=!0}return o}function wn(e,t){return e&&t?e[hd](t)!==-1:!1}var kt=m1e||v1e;function v1e(e){return!!(e&&Xpe[Sn](e)==="[object Array]")}function Vm(e){return!!(e&&Xpe[Sn](e)==="[object Error]")}function Ke(e){return typeof e=="string"}function RT(e){return typeof e=="number"}function tme(e){return typeof e=="boolean"}function Ype(e){var t=!1;if(e&&typeof e=="object"){var o=_P?_P(e):QU(e);o?(o[bP]&&Sl[Sn](o,bP)&&(o=o[bP]),t=typeof o===Ms&&eme[Sn](o)===g1e):t=!0}return t}function jr(e){if(e)return p1e?e[Kpe]():y1e(e)}function y1e(e){if(e&&e.getUTCFullYear){var t=function(o){var n=String(o);return n[nt]===1&&(n="0"+n),n};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}function ze(e,t,o){var n=e[nt];try{for(var i=0;i=0?i:n-Math.abs(i),0);r=3)n=arguments[2];else{for(;r0&&tme(a)&&(c=a,a=s[u]||{},u++),fi(a)||(a={});u=g&&(l[T](v[gd]),n[I]=!0)}else i>=g&&l[T](v[gd]);c(g,v)}},l[LT]=function(g){cme("warn",g),m("warning",g)},l[hP]=function(g){cme("error",g),m("error",g)},l.resetInternalMessageCount=function(){o=0,n={}},l[FU]=c;function c(g,f){if(!p()){var _=!0,h=N1e+f[Rb];if(n[h]?_=!1:n[h]=!0,_&&(g<=r&&(l.queue[St](f),o++,m(g===1?"error":"warn",f)),o===s)){var y="Internal events throttle limit per PageView reached for this app.",v=new Qc(23,y,!1);l.queue[St](v),g===1?l[hP](y):l[LT](y)}}}function u(g){i=Yr(g.loggingLevelConsole,0),r=Yr(g.loggingLevelTelemetry,1),s=Yr(g.maxMessageLimit,25),a=Yr(g.enableDebug,Yr(g[NU],!1))}function p(){return o>=s}function m(g,f){var _=dH(t||{});_&&_[Ds]&&_[Ds](g,f)}})}return e.__ieDyn=1,e}();function pH(e){return e||new jm}function Ce(e,t,o,n,i,r){r===void 0&&(r=!1),pH(e).throwInternal(t,o,n,i,r)}function qs(e,t){pH(e)[LT](t)}function mH(e,t,o){pH(e)[FU](t,o)}var Qb="ctx",fH="ParentContextKey",MT="ChildrenContextKey",F1e=null,$T=function(){function e(t,o,n){var i=this,r=!1;if(i.start=zn(),i[gi]=t,i[Pa]=n,i[AT]=function(){return!1},Xe(o)){var s;r=Ns(i,"payload",function(){return!s&&Xe(o)&&(s=o(),o=null),s})}i[Um]=function(a){return a?a===e[fH]||a===e[MT]?i[a]:(i[Qb]||{})[a]:null},i[Ra]=function(a,l){if(a)if(a===e[fH])i[a]||(i[AT]=function(){return!0}),i[a]=l;else if(a===e[MT])i[a]=l;else{var c=i[Qb]=i[Qb]||{};c[a]=l}},i[gP]=function(){var a=0,l=i[Um](e[MT]);if(kt(l))for(var c=0;c>>=0),DT=123456789+e&Ym,zT=987654321-e&Ym,dme=!0}function O1e(){try{var e=zn()&2147483647;q1e((Math.random()*ume^e)+e)}catch{}}function Wm(e){var t=0,o=aH()||lH();return o&&o.getRandomValues&&(t=o.getRandomValues(new Uint32Array(1))[0]&Ym),t===0&&Vb()&&(dme||O1e(),t=_H()&Ym),t===0&&(t=Math.floor(ume*Math.random()|0)),e||(t>>>=0),t}function _H(e){zT=36969*(zT&65535)+(zT>>16)&Ym,DT=18e3*(DT&65535)+(DT>>16)&Ym;var t=(zT<<16)+(DT&65535)>>>0&Ym|0;return e||(t>>>=0),t}function jc(e){e===void 0&&(e=22);for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=Wm()>>>0,n=0,i=vt;i[nt]>>=6,n===5&&(o=(Wm()<<2&4294967295|o&3)>>>0,n=0);return i}var pme=kb,mme="2.8.13",U1e="."+jc(6),H1e=0;function B1e(e,t,o){if(pme)try{return pme(e,t,{value:o,enumerable:!1,configurable:!0}),!0}catch{}return!1}function gme(e){return e[dP]===1||e[dP]===9||!+e[dP]}function V1e(e,t){var o=t[e.id];if(!o){o={};try{gme(t)&&(B1e(t,e.id,o)||(t[e.id]=o))}catch{}}return o}function Jn(e,t){return t===void 0&&(t=!1),Bm(e+H1e+++(t?"."+mme:vt)+U1e)}function kP(e){var t={id:Jn("_aiData-"+(e||vt)+"."+mme),accept:function(o){return gme(o)},get:function(o,n,i,r){var s=o[t.id];return s?s[Bm(n)]:(r&&(s=V1e(t,o),s[Bm(n)]=i),i)},kill:function(o,n){if(o&&o[n])try{delete o[n]}catch{}}};return t}var fme="toGMTString",hme="toUTCString",SH="cookie",vH="expires",xH="enabled",bme="isCookieUseDisabled",_me="disableCookiesUsage",Sd="_ckMgr",IP=null,yH=null,vme=null,NT=Yo(),yme={},LP={};function G1e(e,t){var o=Km[Sd]||LP[Sd];return o||(o=Km[Sd]=Km(e,t),LP[Sd]=o),o}function PP(e){return e?e.isEnabled():!0}function Q1e(e){var t=e[uP]=e[uP]||{};if(Ot(t,"domain",e.cookieDomain,jU,ge),Ot(t,"path",e.cookiePath||"/",null,ge),ge(t[xH])){var o=void 0;vo(e[bme])||(o=!e[bme]),vo(e[_me])||(o=!e[_me]),t[xH]=o}return t}function wme(e,t){return t&&e&&kt(e.ignoreCookies)?e.ignoreCookies[hd](t)!==-1:!1}function j1e(e,t){return t&&e&&kt(e.blockedCookies)&&e.blockedCookies[hd](t)!==-1?!0:wme(e,t)}function Jm(e,t){var o;if(e)o=e.getCookieMgr();else if(t){var n=t[uP];n[Sd]?o=n[Sd]:o=Km(t)}return o||(o=G1e(t,(e||{})[$n])),o}function Km(e,t){var o,n=Q1e(e||LP),i=n.path||"/",r=n.domain,s=n[xH]!==!1,a=(o={isEnabled:function(){var l=s&&TH(t),c=LP[Sd];return l&&c&&a!==c&&(l=PP(c)),l}},o[ET]=function(l){s=l!==!1},o.set=function(l,c,u,p,m){var g=!1;if(PP(a)&&!j1e(n,l)){var f={},_=jo(c||vt),h=_[hd](";");if(h!==-1&&(_=jo(c[$b](0,h)),f=Cme(c[$b](h+1))),Ot(f,"domain",p||r,Ob,vo),!ge(u)){var y=Vb();if(vo(f[vH])){var v=zn(),T=v+u*1e3;if(T>0){var I=new Date;I.setTime(T),Ot(f,vH,xme(I,y?fme:hme)||xme(I,y?fme:hme)||vt,Ob)}}y||Ot(f,"max-age",vt+u,null,vo)}var A=hr();A&&A.protocol==="https:"&&(Ot(f,"secure",null,null,vo),yH===null&&(yH=!wH((Li()||{})[Db])),yH&&Ot(f,"SameSite","None",null,vo)),Ot(f,"path",m||i,null,vo);var O=n.setCookie||Sme;O(l,Tme(_,f)),g=!0}return g},o.get=function(l){var c=vt;return PP(a)&&!wme(n,l)&&(c=(n.getCookie||Y1e)(l)),c},o.del=function(l,c){var u=!1;return PP(a)&&(u=a.purge(l,c)),u},o.purge=function(l,c){var u,p=!1;if(TH(t)){var m=(u={},u.path=c||"/",u[vH]="Thu, 01 Jan 1970 00:00:01 GMT",u);Vb()||(m["max-age"]="0");var g=n.delCookie||Sme;g(l,Tme(vt,m)),p=!0}return p},o);return a[Sd]=a,a}function TH(e){if(IP===null){IP=!1;try{var t=NT||{};IP=t[SH]!==void 0}catch(o){Ce(e,2,68,"Cannot access document.cookie - "+Tt(o),{exception:Fe(o)})}}return IP}function Cme(e){var t={};if(e&&e[nt]){var o=jo(e)[bd](";");ze(o,function(n){if(n=jo(n||vt),n){var i=n[hd]("=");i===-1?t[n]=null:t[jo(n[$b](0,i))]=jo(n[$b](i+1))}})}return t}function xme(e,t){return Xe(e[t])?e[t]():null}function Tme(e,t){var o=e||vt;return It(t,function(n,i){o+="; "+n+(ge(i)?vt:"="+i)}),o}function Y1e(e){var t=vt;if(NT){var o=NT[SH]||vt;vme!==o&&(yme=Cme(o),vme=o),t=jo(yme[e]||vt)}return t}function Sme(e,t){NT&&(NT[SH]=e+"="+t)}function wH(e){return Ke(e)?!!(wn(e,"CPU iPhone OS 12")||wn(e,"iPad; CPU OS 12")||wn(e,"Macintosh; Intel Mac OS X 10_14")&&wn(e,"Version/")&&wn(e,"Safari")||wn(e,"Macintosh; Intel Mac OS X 10_14")&&YU(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||wn(e,"Chrome/5")||wn(e,"Chrome/6")||wn(e,"UnrealEngine")&&!wn(e,"Chrome")||wn(e,"UCBrowser/12")||wn(e,"UCBrowser/11")):!1}var Rme="on",Eme="attachEvent",Ame="addEventListener",kme="detachEvent",Ime="removeEventListener",CH="events",EH="visibilitychange",DP="pagehide";var Mme="unload",$me="beforeunload",Dme=Jn("aiEvtPageHide"),Eht=Jn("aiEvtPageShow"),W1e=/\.[\.]+/g,K1e=/[\.]+$/,J1e=1,RP=kP("events"),Z1e=/^([^.]*)(?:\.(.+)|)/;function Pme(e){return e&&e[La]?e[La](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,vt):e}function AH(e,t){var o;if(t){var n=vt;kt(t)?(n=vt,ze(t,function(r){r=Pme(r),r&&(r[0]!=="."&&(r="."+r),n+=r)})):n=Pme(t),n&&(n[0]!=="."&&(n="."+n),e=(e||vt)+n)}var i=Z1e.exec(e||vt)||[];return o={},o[El]=i[1],o.ns=(i[2]||vt).replace(W1e,".").replace(K1e,vt)[bd](".").sort().join("."),o}function zme(e,t,o){o===void 0&&(o=!0);var n=RP.get(e,CH,{},o),i=n[t];return i||(i=n[t]=[]),i}function Nme(e,t,o,n){e&&t&&t[El]&&(e[Ime]?e[Ime](t[El],o,n):e[kme]&&e[kme](Rme+t[El],o))}function X1e(e,t,o,n){var i=!1;return e&&t&&t[El]&&o&&(e[Ame]?(e[Ame](t[El],o,n),i=!0):e[Eme]&&(e[Eme](Rme+t[El],o),i=!0)),i}function Lme(e,t,o,n){for(var i=t[nt];i--;){var r=t[i];r&&(!o.ns||o.ns===r.evtName.ns)&&(!n||n(r))&&(Nme(e,r.evtName,r[mP],r.capture),t[Ia](i,1))}}function eze(e,t,o){if(t[El])Lme(e,zme(e,t[El]),t,o);else{var n=RP.get(e,CH,{});It(n,function(i,r){Lme(e,r,t,o)}),fr(n)[nt]===0&&RP.kill(e,CH)}}function Kr(e,t){var o;return t?(kt(t)?o=[e].concat(t):o=[e,t],o=AH("xx",o).ns[bd](".")):o=e,o}function Os(e,t,o,n,i){var r;i===void 0&&(i=!1);var s=!1;if(e)try{var a=AH(t,n);if(s=X1e(e,a,o,i),s&&RP.accept(e)){var l=(r={guid:J1e++,evtName:a},r[mP]=o,r.capture=i,r);zme(e,a.type)[St](l)}}catch{}return s}function wd(e,t,o,n,i){if(i===void 0&&(i=!1),e)try{var r=AH(t,n),s=!1;eze(e,r,function(a){return r.ns&&!o||a[mP]===o?(s=!0,!0):!1}),s||Nme(e,r,o,i)}catch{}}function Fme(e,t,o){var n=!1,i=Wr();i&&(n=Os(i,e,t,o),n=Os(i.body,e,t,o)||n);var r=Yo();return r&&(n=Os(r,e,t,o)||n),n}function qme(e,t,o){var n=Wr();n&&(wd(n,e,t,o),wd(n.body,e,t,o));var i=Yo();i&&wd(i,e,t,o)}function MP(e,t,o,n){var i=!1;return t&&e&&e[nt]>0&&ze(e,function(r){r&&(!o||Dn(o,r)===-1)&&(i=Fme(r,t,n)||i)}),i}function Ome(e,t,o,n){var i=!1;return t&&e&&kt(e)&&(i=MP(e,t,o,n),!i&&o&&o[nt]>0&&(i=MP(e,t,null,n))),i}function $P(e,t,o){e&&kt(e)&&ze(e,function(n){n&&qme(n,t,o)})}function kH(e,t,o){return Ome([$me,Mme,DP],e,t,o)}function IH(e,t){$P([$me,Mme,DP],e,t)}function FT(e,t,o){function n(s){var a=Yo();e&&a&&a.visibilityState==="hidden"&&e(s)}var i=Kr(Dme,o),r=MP([DP],e,t,i);return(!t||Dn(t,EH)===-1)&&(r=MP([EH],n,t,i)||r),!r&&t&&(r=FT(e,null,o)),r}function PH(e,t){var o=Kr(Dme,t);$P([DP],e,o),$P([EH],null,o)}function br(){for(var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=vt,o,n=0;n<4;n++)o=Wm(),t+=e[o&15]+e[o>>4&15]+e[o>>8&15]+e[o>>12&15]+e[o>>16&15]+e[o>>20&15]+e[o>>24&15]+e[o>>28&15];var i=e[8+(Wm()&3)|0];return t[_d](0,8)+t[_d](9,4)+"4"+t[_d](13,3)+i+t[_d](16,3)+t[_d](19,12)}var LH="00",nze="ff",Hme="00000000000000000000000000000000",Bme="0000000000000000";function qT(e,t,o){return e&&e[nt]===t&&e!==o?!!e.match(/^[\da-f]*$/):!1}function Ume(e,t,o){return qT(e,t)?e:o}function ize(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[nt]<2;)t="0"+t;return t}function OT(e,t,o,n){var i;return i={},i[qU]=qT(n,2,nze)?n:LH,i[kT]=Zm(e)?e:br(),i.spanId=Xm(t)?t:br()[_d](0,16),i.traceFlags=o>=0&&o<=255?o:1,i}function Zm(e){return qT(e,32,Hme)}function Xm(e){return qT(e,16,Bme)}function UT(e){if(e){var t=ize(e[IT]);qT(t,2)||(t="01");var o=e[qU]||LH;return o!=="00"&&o!=="ff"&&(o=LH),"".concat(o,"-").concat(Ume(e.traceId,32,Hme),"-").concat(Ume(e.spanId,16,Bme),"-").concat(t)}return""}var rze=kP("plugin");function Yc(e){return rze.get(e,"state",{},!0)}function zP(e,t){for(var o=[],n=null,i=e[Qr](),r;i;){var s=i[Fm]();if(s){n&&Xe(n[fd])&&Xe(s[gr])&&n[fd](s);var a=!1;Xe(s[Vr])?a=s[Vr]():(r=Yc(s),a=r[Vr]),a||o[St](s),n=s,i=i[Qr]()}}ze(o,function(l){var c=e[Io]();l[Aa](e.getCfg(),c,t,e[Qr]()),r=Yc(l),!l[Io]&&!r[Io]&&(r[Io]=c),r[Vr]=!0,delete r[Gr]})}function NP(e){return e.sort(function(t,o){var n=0;if(o){var i=Xe(o[gr]);Xe(t[gr])?n=i?t[zs]-o[zs]:1:i&&(n=-1)}else n=t?1:-1;return n})}function Vme(e){var t={};return{getName:function(){return t[gi]},setName:function(o){e&&e.setName(o),t[gi]=o},getTraceId:function(){return t[kT]},setTraceId:function(o){e&&e.setTraceId(o),Zm(o)&&(t[kT]=o)},getSpanId:function(){return t[fP]},setSpanId:function(o){e&&e.setSpanId(o),Xm(o)&&(t[fP]=o)},getTraceFlags:function(){return t[IT]},setTraceFlags:function(o){e&&e.setTraceFlags(o),t[IT]=o}}}var sze="TelemetryPluginChain",Gme="_hasRun",Qme="_getTelCtx",jme=0;function aze(e,t,o){for(;e;){if(e[Fm]()===o)return e;e=e[Qr]()}return kl([o],t[wl]||{},t)}function RH(e,t,o,n){var i=null,r=[];n!==null&&(i=n?aze(e,o,n):e);var s={_next:l,ctx:{core:function(){return o},diagLog:function(){return $a(o,t)},getCfg:function(){return t},getExtCfg:c,getConfig:u,hasNext:function(){return!!i},getNext:function(){return i},setNext:function(m){i=m},iterate:p,onComplete:a}};function a(m,g){for(var f=[],_=2;_0&&(ze(g,function(f){try{f.func[Sn](f.self,f.args)}catch(_){Ce(o[$n],2,73,"Unexpected Exception during onComplete - "+Fe(_))}}),r=[])}return m}function c(m,g,f){g===void 0&&(g={}),f===void 0&&(f=0);var _;if(t){var h=t[zb];h&&m&&(_=h[m])}if(!_)_=g;else if(fi(g)&&f!==0){var y=Hb(!0,g,_);t&&f===2&&It(g,function(v){if(ge(y[v])){var T=t[v];ge(T)||(y[v]=T)}}),_=y}return _}function u(m,g,f){f===void 0&&(f=!1);var _,h=c(m,null);return h&&!ge(h[g])?_=h[g]:t&&!ge(t[g])&&(_=t[g]),ge(_)?f:_}function p(m){for(var g;g=s._next();){var f=g[Fm]();f&&m(f)}}return s}function Zn(e,t,o,n){var i=RH(e,t,o,n),r=i.ctx;function s(l){var c=i._next();return c&&c[gr](l,r),!c}function a(l,c){return l===void 0&&(l=null),kt(l)&&(l=kl(l,t,o,c)),Zn(l||r[Qr](),t,o,c)}return r[so]=s,r[Bc]=a,r}function jb(e,t,o){var n=t[wl]||{},i=RH(e,n,t,o),r=i.ctx;function s(l){var c=i._next();return c&&c.unload(r,l),!c}function a(l,c){return l===void 0&&(l=null),kt(l)&&(l=kl(l,n,t,c)),jb(l||r[Qr](),t,c)}return r[so]=s,r[Bc]=a,r}function HT(e,t,o){var n=t[wl]||{},i=RH(e,n,t,o),r=i.ctx;function s(l){return r.iterate(function(c){Xe(c[qm])&&c[qm](r,l)})}function a(l,c){return l===void 0&&(l=null),kt(l)&&(l=kl(l,n,t,c)),HT(l||r[Qr](),t,c)}return r[so]=s,r[Bc]=a,r}function kl(e,t,o,n){var i=null,r=!n;if(kt(e)&&e[nt]>0){var s=null;ze(e,function(a){if(!r&&n===a&&(r=!0),r&&a&&Xe(a[gr])){var l=lze(a,t,o);i||(i=l),s&&s._setNext(l),s=l}})}return n&&!i?kl([n],t,o):i}function lze(e,t,o){var n=null,i=Xe(e[gr]),r=Xe(e[fd]),s;e?s=e[ka]+"-"+e[zs]+"-"+jme++:s="Unknown-0-"+jme++;var a={getPlugin:function(){return e},getNext:function(){return n},processTelemetry:u,unload:p,update:m,_id:s,_setNext:function(g){n=g}};function l(){var g;return e&&Xe(e[Qme])&&(g=e[Qme]()),g||(g=Zn(a,t,o)),g}function c(g,f,_,h,y){var v=!1,T=e?e[ka]:sze,I=g[Gme];return I||(I=g[Gme]={}),g.setNext(n),e&&Td(g[Io](),function(){return T+":"+_},function(){I[s]=!0;try{var A=n?n._id:vt;A&&(I[A]=!1),v=f(g)}catch(D){var O=n?I[n._id]:!0;O&&(v=!0),(!n||!O)&&Ce(g[Ds](),1,73,"Plugin ["+T+"] failed during "+_+" - "+Fe(D)+", run flags: "+Fe(I))}},h,y),v}function u(g,f){f=f||l();function _(h){if(!e||!i)return!1;var y=Yc(e);return y[Gr]||y[PT]?!1:(r&&e[fd](n),e[gr](g,h),!0)}c(f,_,"processTelemetry",function(){return{item:g}},!g.sync)||f[so](g)}function p(g,f){function _(){var h=!1;if(e){var y=Yc(e),v=e[Io]||y[Io];e&&(!v||v===g.core())&&!y[Gr]&&(y[Io]=null,y[Gr]=!0,y[Vr]=!1,e[Gr]&&e[Gr](g,f)===!0&&(h=!0))}return h}c(g,_,"unload",function(){},f[Pa])||g[so](f)}function m(g,f){function _(){var h=!1;if(e){var y=Yc(e),v=e[Io]||y[Io];e&&(!v||v===g.core())&&!y[Gr]&&e[qm]&&e[qm](g,f)===!0&&(h=!0)}return h}c(g,_,"update",function(){},!1)||g[so](f)}return Al(a)}var BT=500,cze="Channel has invalid priority - ";function Yme(e,t,o){t&&kt(t)&&t[nt]>0&&(t=t.sort(function(n,i){return n[zs]-i[zs]}),ze(t,function(n){n[zs]0&&ze(c,function(_){if(_&&_.queue[nt]>0){var h=_.chain,y=u[Bc](h);y[Nm](f),p(y)}else g--}),f()}function i(c,u){var p=u||{reason:0};return n(e,c,function(m){m[so](p)},function(){c[so](p)}),!0}function r(c,u){var p=u||{reason:0,isAsync:!1};return n(e,c,function(m){m[so](p)},function(){c[so](p),a=!1}),!0}function s(c){var u=null;return e&&e[nt]>0&&ze(e,function(p){if(p&&p.queue[nt]>0&&(ze(p.queue,function(m){if(m[ka]===c)return u=m,-1}),u))return-1}),u}var a=!1,l={identifier:"ChannelControllerPlugin",priority:BT,initialize:function(c,u,p,m){a=!0,ze(e,function(g){g&&g.queue[nt]>0&&zP(Zn(g.chain,c,u),p)})},isInitialized:function(){return a},processTelemetry:function(c,u){n(e,u||o(),function(p){p[so](c)},function(){u[so](c)})},update:i,pause:function(){n(e,o(),function(c){c.iterate(function(u){u.pause&&u.pause()})},null)},resume:function(){n(e,o(),function(c){c.iterate(function(u){u.resume&&u.resume()})},null)},teardown:r,getChannel:s,flush:function(c,u,p,m){var g=1,f=!1,_=null;m=m||5e3;function h(){g--,f&&g===0&&(_&&(clearTimeout(_),_=null),u&&u(f),u=null)}return n(e,o(),function(y){y.iterate(function(v){if(v[Lb]){g++;var T=!1;v[Lb](c,function(){T=!0,h()},p)||T||(c&&_==null?_=setTimeout(function(){_=null,h()},m):h())}})},function(){f=!0,h()}),!0},_setQueue:function(c){e=c}};return l}function Kme(e,t,o){var n=[];if(e&&ze(e,function(r){return Yme(n,r,o)}),t){var i=[];ze(t,function(r){r[zs]>BT&&i[St](r)}),Yme(n,i,o)}return n}function FP(){var e=[];function t(n){n&&e[St](n)}function o(n,i){ze(e,function(r){try{r(n,i)}catch(s){Ce(n[Ds](),2,73,"Unexpected error calling unload handler - "+Fe(s))}}),e=[]}return{add:t,run:o}}var Cd="getPlugin",Da=function(){function e(){var t=this,o,n,i,r,s;c(),ft(e,t,function(u){u[Aa]=function(p,m,g,f){l(p,m,f),o=!0},u[Gr]=function(p,m){var g,f=u[Io];if(!f||p&&f!==p[Io]())return;var _,h=!1,y=p||jb(null,f,i&&i[Cd]?i[Cd]():i),v=m||(g={reason:0},g[Pa]=!1,g);function T(){if(!h){h=!0,r.run(y,m);var I=s;s=[],ze(I,function(A){A.rm()}),_===!0&&y[so](v),c()}}return!u[Mb]||u[Mb](y,v,T)!==!0?T():_=!0,_},u[qm]=function(p,m){var g=u[Io];if(!g||p&&g!==p[Io]())return;var f,_=!1,h=p||HT(null,g,i&&i[Cd]?i[Cd]():i),y=m||{reason:0};function v(){_||(_=!0,l(h.getCfg(),h.core(),h[Qr]()))}return!u._doUpdate||u._doUpdate(h,y,v)!==!0?v():f=!0,f},u._addHook=function(p){p&&(kt(p)?s=s.concat(p):s[St](p))},Ub(u,"_addUnloadCb",function(){return r},"add")}),t[Ds]=function(u){return a(u)[Ds]()},t[Vr]=function(){return o},t.setInitialized=function(u){o=u},t[fd]=function(u){i=u},t[so]=function(u,p){p?p[so](u):i&&Xe(i[gr])&&i[gr](u,null)},t._getTelCtx=a;function a(u){u===void 0&&(u=null);var p=u;if(!p){var m=n||Zn(null,{},t[Io]);i&&i[Cd]?p=m[Bc](null,i[Cd]):p=m[Bc](null,i)}return p}function l(u,p,m){u&&Ot(u,zb,[],null,ge),!m&&p&&(m=p[cP]()[Qr]());var g=i;i&&i[Cd]&&(g=i[Cd]()),t[Io]=p,n=Zn(m,u,p,g)}function c(){o=!1,t[Io]=null,n=null,i=null,s=[],r=FP()}}return e.__ieDyn=1,e}();var Jme=function(e){Mn(t,e);function t(){var o=e.call(this)||this;o.identifier="TelemetryInitializerPlugin",o.priority=199;var n,i;r(),ft(t,o,function(s,a){s.addTelemetryInitializer=function(l){var c={id:n++,fn:l};i[St](c);var u={remove:function(){ze(i,function(p,m){if(p.id===c.id)return i[Ia](m,1),-1})}};return u},s[gr]=function(l,c){for(var u=!1,p=i[nt],m=0;m0){var q=n;n=[],ze(q,function(re){J()[so](re)})}},D.pollInternalLogs=function(q){return h=q||null,O=!1,A&&(clearInterval(A),A=null),le(!0)};function le(q){if(!A&&!O){var re=q||D[$n]&&D[$n].queue[nt]>0;if(re){var fe=Yr(t.diagnosticLogInterval);(!fe||!(fe>0))&&(fe=1e4),A=setInterval(function(){clearInterval(A),A=0,qt()},fe)}}return A}D[zU]=function(){O=!0,A&&(clearInterval(A),A=0,qt())},Vc(D,function(){return _},["addTelemetryInitializer"]),D.unload=function(q,re,fe){var L;q===void 0&&(q=!0),o||Po(uze),f&&Po(Xme);var M=(L={reason:50},L[Pa]=q,L.flushComplete=!1,L),Z=jb(Ct(),D);Z[Nm](function(){ye(),re&&re(M)},D);function ae(Pe){M.flushComplete=Pe,f=!0,v.run(Z,M),D[zU](),Z[so](M)}qt(),ro(q,ae,6,fe)||ae(!1)},D[Fm]=Ve,D.addPlugin=function(q,re,fe,L){if(!q){L&&L(!1),X(tge);return}var M=Ve(q[ka]);if(M&&!re){L&&L(!1),X("Plugin ["+q[ka]+"] is already loaded!");return}var Z={reason:16};function ae(st){c[St](q),Z.added=[q],Le(Z),L&&L(!0)}if(M){var Pe=[M.plugin],Je={reason:2,isAsync:!!fe};oo(Pe,Je,function(st){st?(Z.removed=Pe,Z.reason|=32,ae(!0)):L&&L(!1)})}else ae(!1)},D.evtNamespace=function(){return y},D[Lb]=ro,D.getTraceCtx=function(q){return I||(I=Vme()),I},D.setTraceCtx=function(q){I=q||null},Ub(D,"addUnloadCb",function(){return v},"add");function ye(){o=!1,t=Hb(!0,{},dze),D[wl]=t,D[$n]=new jm(t),D[CT]=[],_=new Jme,n=[],i=null,r=null,s=null,a=null,l=null,u=null,c=[],p=null,m=null,g=null,f=!1,h=null,y=Jn("AIBaseCore",!0),v=FP(),I=null}function J(){var q=Zn(Ct(),t,D);return q[Nm](le),q}function Le(q){var re=mze(D[$n],BT,c);u=re[Io],l=null;var fe=re.all;if(g=Al(Kme(m,fe,D)),p){var L=Dn(fe,p);L!==-1&&fe[Ia](L,1),L=Dn(u,p),L!==-1&&u[Ia](L,1),p._setQueue(g)}else p=Wme(g,D);fe[St](p),u[St](p),D[CT]=NP(fe),p[Aa](t,D,fe);var M=J();zP(M,fe),D[CT]=Al(NP(u||[])).slice(),q&&j(q)}function Ve(q){var re,fe=null,L=null;return ze(D[CT],function(M){if(M[ka]===q&&M!==p&&M!==_)return L=M,-1}),!L&&p&&(L=p.getChannel(q)),L&&(fe=(re={plugin:L},re[ET]=function(M){Yc(L)[PT]=!M},re.isEnabled=function(){var M=Yc(L);return!M[Gr]&&!M[PT]},re.remove=function(M,Z){var ae;M===void 0&&(M=!0);var Pe=[L],Je=(ae={reason:1},ae[Pa]=M,ae);oo(Pe,Je,function(st){st&&Le({reason:32,removed:Pe}),Z&&Z(st)})},re)),fe}function Ct(){if(!l){var q=(u||[]).slice();Dn(q,_)===-1&&q[St](_),l=kl(NP(q),t,D)}return l}function oo(q,re,fe){if(q&&q[nt]>0){var L=kl(q,t,D),M=jb(L,D);M[Nm](function(){var Z=!1,ae=[];ze(c,function(Je,st){ege(Je,q)?Z=!0:ae[St](Je)}),c=ae;var Pe=[];m&&(ze(m,function(Je,st){var no=[];ze(Je,function($o){ege($o,q)?Z=!0:no[St]($o)}),Pe[St](no)}),m=Pe),fe&&fe(Z),le()}),M[so](re)}else fe(!1)}function qt(){if(D[$n]&&D[$n].queue){var q=D[$n].queue.slice(0);D[$n].queue[nt]=0,ze(q,function(re){var fe,L=(fe={},fe[gi]=h||"InternalMessageId: "+re[Rb],fe.iKey=Yr(t[lP]),fe.time=jr(new Date),fe.baseType=Qc.dataType,fe.baseData={message:re[gd]},fe);D.track(L)})}}function ro(q,re,fe,L){return p?p[Lb](q,re,fe||6,L):(re&&re(!1),!0)}function dn(){var q=Yr(t.disableDbgExt);q===!0&&T&&(i[zm](T),T=null),i&&!T&&q!==!0&&(T=ame(t),i[Dm](T))}function Lt(){var q=Yr(t.enablePerfMgr);!q&&s&&(s=null),q&&Fo(t,UU,pze)}function lo(){var q=Fo(t,zb,{});q.NotificationManager=i}function j(q){var re=HT(Ct(),D);re[Nm](le),(!D._updateHook||D._updateHook(re,q)!==!0)&&re[so](q)}function X(q){var re=D[$n];re?(Ce(re,2,73,q),le()):Po(q)}})}return e.__ieDyn=1,e}();function qP(e,t,o,n){ze(e,function(i){if(i&&i[t])if(o)setTimeout(function(){return n(i)},0);else try{n(i)}catch{}})}var nge=function(){function e(t){this.listeners=[];var o=!!(t||{}).perfEvtsSendAll;ft(e,this,function(n){n[Dm]=function(i){n.listeners[St](i)},n[zm]=function(i){for(var r=Dn(n[Om],i);r>-1;)n.listeners[Ia](r,1),r=Dn(n[Om],i)},n[Nb]=function(i){qP(n[Om],Nb,!0,function(r){r[Nb](i)})},n[vd]=function(i,r){qP(n[Om],vd,!0,function(s){s[vd](i,r)})},n[Fb]=function(i,r){qP(n[Om],Fb,r,function(s){s[Fb](i,r)})},n[yd]=function(i){i&&(o||!i[AT]())&&qP(n[Om],yd,!1,function(r){i[Pa]?setTimeout(function(){return r[yd](i)},0):r[yd](i)})}})}return e.__ieDyn=1,e}();var MH=function(e){Mn(t,e);function t(){var o=e.call(this)||this;return ft(t,o,function(n,i){n[Aa]=function(a,l,c,u){i[Aa](a,l,c||new jm(a),u||new nge(a))},n.track=function(a){Td(n[Hm](),function(){return"AppInsightsCore:track"},function(){a===null&&(s(a),Po("Invalid telemetry item")),r(a),i.track(a)},function(){return{item:a}},!a.sync)};function r(a){ge(a[gi])&&(s(a),Po("telemetry name required"))}function s(a){var l=n[wT]();l&&l[vd]([a],2)}}),o}return t.__ieDyn=1,t}(oge);var ige="_aiHooks",rge=["req","rsp","hkErr","fnErr"];function DH(e,t){if(e)for(var o=0;o=0&&i<=2&&DH(e,function(r,s){var a=r.cbks,l=a[rge[i]];if(l){t.ctx=function(){var p=n[s]=n[s]||{};return p};try{l[Cl](t.inst,o)}catch(p){var c=t.err;try{var u=a[rge[2]];u&&(t.err=p,u[Cl](t.inst,o))}catch{}finally{t.err=c}}}})}function fze(e){return function(){var t,o=this,n=arguments,i=e.h,r=(t={},t[gi]=e.n,t.inst=o,t.ctx=null,t.set=c,t),s=[],a=l([r],n);r.evt=Lo("event");function l(p,m){return DH(m,function(g){p[St](g)}),p}function c(p,m){n=l([],n),n[p]=m,a=l([r],n)}$H(i,r,a,s,0);var u=e.f;if(u)try{r.rslt=u[Cl](o,n)}catch(p){throw r.err=p,$H(i,r,a,s,3),p}return $H(i,r,a,s,1),r.rslt}}function zH(e,t,o,n){var i=null;return e&&(vP(e,t)?i=e:o&&(i=zH(QU(e),t,n,!1))),i}function NH(e,t,o){return e?VT(e[ko],t,o,!1):null}function sge(e,t,o,n){var i=o&&o[ige];if(!i){i={i:0,n:t,f:o,h:[]};var r=fze(i);r[ige]=i,e[t]=r}var s={id:i.i,cbks:n,rm:function(){var a=this.id;DH(i.h,function(l,c){if(l.id===a)return i.h[Ia](c,1),1})}};return i.i++,i.h[St](s),s}function VT(e,t,o,n,i){if(n===void 0&&(n=!0),e&&t&&o){var r=zH(e,t,n,i);if(r){var s=r[t];if(typeof s===Ms)return sge(r,t,s,o)}}return null}function Yb(e,t,o,n,i){if(e&&t&&o){var r=zH(e,t,n,i)||e;if(r)return sge(r,t,r[t],o)}return null}var za="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Wb="sampleRate",Kb="ProcessLegacy",GT="http.method",Ed="https://dc.services.visualstudio.com",Wc="/v2/track",Wo="not_specified",OP="iKey";function eg(e){var t=null;if(Xe(Event))t=new Event(e);else{var o=Yo();o&&o.createEvent&&(t=o.createEvent("Event"),t.initEvent(e,!0,!0))}return t}var Kc="split",ht="length",Il="toLowerCase",QT="ingestionendpoint",Na="toString",UP="removeItem",tn="name",Jc="message",age="count";var jT="stringify",YT="pathname",FH="correlationHeaderExcludePatterns",Jb="indexOf";var tg="exceptions",Us="parsedStack",hi="properties",bi="measurements",og="sizeInBytes",Pl="typeName",ng="severityLevel",HP="problemGroup",BP="isManual",qH="CreateFromInterface",ig="assembly",WT="hasFullStack",KT="level",rg="method",Zb="fileName",Xb="line",sg="duration",OH="receivedResponse",ag="substring",lge="sanitizeKeyAndAddUniqueness",cge="sanitizeException",uge="sanitizeProperties",dge="sanitizeMeasurements";var JT="";function Hs(e,t){return t===void 0&&(t=!1),e==null?t:e.toString()[Il]()==="true"}function Jr(e){(isNaN(e)||e<0)&&(e=0),e=Math.round(e);var t=JT+e%1e3,o=JT+Math.floor(e/1e3)%60,n=JT+Math.floor(e/(1e3*60))%60,i=JT+Math.floor(e/(1e3*60*60))%24,r=Math.floor(e/(1e3*60*60*24));return t=t[ht]===1?"00"+t:t[ht]===2?"0"+t:t,o=o[ht]<2?"0"+o:o,n=n[ht]<2?"0"+n:n,i=i[ht]<2?"0"+i:i,(r>0?r+".":JT)+i+":"+n+":"+o+"."+t}function UH(e,t,o,n,i){return!i&&Ke(e)&&(e==="Script error."||e==="Script error")}var Zt=ZU({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 e_=xP({LocalStorage:0,SessionStorage:1}),Aze=xP({AI:0,AI_AND_W3C:1,W3C:2});var Ad=void 0,kd=void 0;function HH(){return ZT()?VP(e_.LocalStorage):null}function VP(e){try{if(ge($s()))return null;var t=new Date()[Na](),o=Lo(e===e_.LocalStorage?"localStorage":"sessionStorage");o.setItem(t,t);var n=o.getItem(t)!==t;if(o[UP](t),!n)return o}catch{}return null}function BH(){return Id()?VP(e_.SessionStorage):null}function VH(){Ad=!1,kd=!1}function GH(){Ad=ZT(!0),kd=Id(!0)}function ZT(e){return(e||Ad===void 0)&&(Ad=!!VP(e_.LocalStorage)),Ad}function QH(e,t){var o=HH();if(o!==null)try{return o.getItem(t)}catch(n){Ad=!1,Ce(e,2,1,"Browser failed read of local storage. "+Tt(n),{exception:Fe(n)})}return null}function jH(e,t,o){var n=HH();if(n!==null)try{return n.setItem(t,o),!0}catch(i){Ad=!1,Ce(e,2,3,"Browser failed write to local storage. "+Tt(i),{exception:Fe(i)})}return!1}function YH(e,t){var o=HH();if(o!==null)try{return o[UP](t),!0}catch(n){Ad=!1,Ce(e,2,5,"Browser failed removal of local storage item. "+Tt(n),{exception:Fe(n)})}return!1}function Id(e){return(e||kd===void 0)&&(kd=!!VP(e_.SessionStorage)),kd}function t_(e,t){var o=BH();if(o!==null)try{return o.getItem(t)}catch(n){kd=!1,Ce(e,2,2,"Browser failed read of session storage. "+Tt(n),{exception:Fe(n)})}return null}function XT(e,t,o){var n=BH();if(n!==null)try{return n.setItem(t,o),!0}catch(i){kd=!1,Ce(e,2,4,"Browser failed write to session storage. "+Tt(i),{exception:Fe(i)})}return!1}function WH(e,t){var o=BH();if(o!==null)try{return o[UP](t),!0}catch(n){kd=!1,Ce(e,2,6,"Browser failed removal of session storage item. "+Tt(n),{exception:Fe(n)})}return!1}var _r;function GP(e,t,o){var n=t[ht],i=KH(e,t);if(i[ht]!==n){for(var r=0,s=i;o[s]!==void 0;)r++,s=i[ag](0,147)+JH(r);i=s}return i}function KH(e,t){var o;return t&&(t=jo(t[Na]()),t[ht]>150&&(o=t[ag](0,150),Ce(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:t},!0))),o||t}function Qt(e,t,o){o===void 0&&(o=1024);var n;return t&&(o=o||1024,t=jo(t),t.toString()[ht]>o&&(n=t[Na]()[ag](0,o),Ce(e,2,61,"string value is too long. It has been truncated to "+o+" characters.",{value:t},!0))),n||t}function Ll(e,t){return YP(e,t,2048,66)}function o_(e,t){var o;return t&&t[ht]>32768&&(o=t[ag](0,32768),Ce(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),o||t}function QP(e,t){var o;if(t){var n=""+t;n[ht]>32768&&(o=n[ag](0,32768),Ce(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0))}return o||t}function _i(e,t){if(t){var o={};It(t,function(n,i){if(fi(i)&&Ma())try{i=Cn()[jT](i)}catch(r){Ce(e,2,49,"custom property is not valid",{exception:r},!0)}i=Qt(e,i,8192),n=GP(e,n,o),o[n]=i}),t=o}return t}function vi(e,t){if(t){var o={};It(t,function(n,i){n=GP(e,n,o),o[n]=i}),t=o}return t}function jP(e,t){return t&&YP(e,t,128,69)[Na]()}function YP(e,t,o,n){var i;return t&&(t=jo(t),t[ht]>o&&(i=t[ag](0,o),Ce(e,2,n,"input is too long, it has been truncated to "+o+" characters.",{data:t},!0))),i||t}function JH(e){var t="00"+e;return t.substr(t[ht]-3)}var pge=(_r={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},_r[lge]=GP,_r.sanitizeKey=KH,_r.sanitizeString=Qt,_r.sanitizeUrl=Ll,_r.sanitizeMessage=o_,_r[cge]=QP,_r[uge]=_i,_r[dge]=vi,_r.sanitizeId=jP,_r.sanitizeInput=YP,_r.padNumber=JH,_r.trim=jo,_r);var mge=Yo()||{},gge=0,kze=[null,null,null,null,null];function eS(e){var t=gge,o=kze,n=o[t];return mge.createElement?o[t]||(n=o[t]=mge.createElement("a")):n={host:ZH(e,!0)},n.href=e,t++,t>=o[ht]&&(t=0),gge=t,n}function WP(e){var t,o=eS(e);return o&&(t=o.href),t}function KP(e,t){return e?e.toUpperCase()+" "+t:t}function ZH(e,t){var o=JP(e,t)||"";if(o){var n=o.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[ht]>3&&Ke(n[2])&&n[2][ht]>0)return n[2]+(n[3]||"")}return o}function JP(e,t){var o=null;if(e){var n=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[ht]>2&&Ke(n[2])&&n[2][ht]>0&&(o=n[2]||"",t&&n[ht]>2)){var i=(n[1]||"")[Il](),r=n[3]||"";(i==="http"&&r===":80"||i==="https"&&r===":443")&&(r=""),o+=r}}return o}var Pze=[Ed+Wc,"https://breeze.aimon.applicationinsights.io"+Wc,"https://dc-int.services.visualstudio.com"+Wc];function lg(e){return Dn(Pze,e[Il]())!==-1}var Zc={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,o){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e[FH]){for(var n=0;n0},getCorrelationContext:function(e){if(e){var t=Zc.getCorrelationContextValue(e,Zt[1]);if(t&&t!==Zc.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var o=e[Kc](","),n=0;n0){var a=eS(t);if(i=a.host,!r)if(a[YT]!=null){var l=a.pathname[ht]===0?"/":a[YT];l.charAt(0)!=="/"&&(l="/"+l),s=a[YT],r=Qt(e,o?o+" "+l:l)}else r=Qt(e,t)}else i=n,r=n;return{target:i,name:r,data:s}}function n_(){var e=Fs();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return zn()}function En(e,t){var o=null;return e!==0&&t!==0&&!ge(e)&&!ge(t)&&(o=t-e),o}function cg(e,t){var o=e||{};return{getName:function(){return o[tn]},setName:function(n){t&&t.setName(n),o[tn]=n},getTraceId:function(){return o.traceID},setTraceId:function(n){t&&t.setTraceId(n),Zm(n)&&(o.traceID=n)},getSpanId:function(){return o.parentID},setSpanId:function(n){t&&t.setSpanId(n),Xm(n)&&(o.parentID=n)},getTraceFlags:function(){return o.traceFlags},setTraceFlags:function(n){t&&t.setTraceFlags(n),o.traceFlags=n}}}var Lze=";",Rze="=";function XH(e){if(!e)return{};var t=e[Kc](Lze),o=WU(t,function(i,r){var s=r[Kc](Rze);if(s[ht]===2){var a=s[0][Il](),l=s[1];i[a]=l}return i},{});if(fr(o)[ht]>0){if(o.endpointsuffix){var n=o.location?o.location+".":"";o[QT]=o[QT]||"https://"+n+"dc."+o.endpointsuffix}o[QT]=o[QT]||Ed}return o}var ZP=function(){function e(t,o,n){var i=this,r=this;r.ver=1,r.sampleRate=100,r.tags={},r[tn]=Qt(t,n)||Wo,r.data=o,r.time=jr(new Date),r.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return i.sampleRate===100?4:1},tags:1,data:1}}return e}();var Zr=function(){function e(t,o,n,i){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var r=this;r.ver=2,r[tn]=Qt(t,o)||Wo,r[hi]=_i(t,n),r[bi]=vi(t,i)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Event",e.dataType="EventData",e}();var Mze="",i_="error",vr="stack",tB="stackDetails",hge="errorSrc",oB="message",vge="description";function nB(e,t){var o=e;return o&&!Ke(o)&&(JSON&&JSON[jT]?(o=JSON[jT](e),t&&(!o||o==="{}")&&(Xe(e[Na])?o=e[Na]():o=""+e)):o=""+e+" - (Missing JSON.stringify)"),o||""}function yge(e,t){var o=e;return e&&(o&&!Ke(o)&&(o=e[oB]||e[vge]||o),o&&!Ke(o)&&(o=nB(o,!0)),e.filename&&(o=o+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),t&&t!=="String"&&t!=="Object"&&t!=="Error"&&(o||"")[Jb](t)===-1&&(o=t+": "+o),o||""}function $ze(e){try{if(fi(e))return"hasFullStack"in e&&"typeName"in e}catch{}return!1}function Dze(e){try{if(fi(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch{}return!1}function bge(e){return e&&e.src&&Ke(e.src)&&e.obj&&kt(e.obj)}function ug(e){var t=e||"";Ke(t)||(Ke(t[vr])?t=t[vr]:t=""+t);var o=t[Kc](` `);return{src:t,obj:o}}function zze(e){for(var t=[],o=e[Kc](` `),n=0;n0){t=[];var n=0,i=0;ze(o,function(f){var _=f[Na]();if(iB.regex.test(_)){var h=new iB(_,n++);i+=h[og],t.push(h)}});var r=32*1024;if(i>r)for(var s=0,a=t[ht]-1,l=0,c=s,u=a;sr){var g=u-c+1;t.splice(c,g);break}c=s,u=a,s++,a--}}return t}function XP(e){var t="";if(e&&(t=e.typeName||e[tn]||"",!t))try{var o=/function (.{1,200})\(/,n=o.exec(e.constructor[Na]());t=n&&n[ht]>1?n[1]:""}catch{}return t}function eB(e){if(e)try{if(!Ke(e)){var t=XP(e),o=nB(e,!1);return(!o||o==="{}")&&(e[i_]&&(e=e[i_],t=XP(e)),o=nB(e,!0)),o[Jb](t)!==0&&t!=="String"?t+":"+o:o}}catch{}return""+(e||"")}var Xn=function(){function e(t,o,n,i,r,s){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,Dze(o)?(a[tg]=o[tg]||[],a[hi]=o[hi],a[bi]=o[bi],o[ng]&&(a[ng]=o[ng]),o.id&&(a.id=o.id),o[HP]&&(a[HP]=o[HP]),ge(o[BP])||(a[BP]=o[BP])):(n||(n={}),a[tg]=[new _ge(t,o,n)],a[hi]=_i(t,n),a[bi]=vi(t,i),r&&(a[ng]=r),s&&(a.id=s))}return e.CreateAutoException=function(t,o,n,i,r,s,a,l){var c,u=XP(r||s||t);return c={},c[Jc]=yge(t,u),c.url=o,c.lineNumber=n,c.columnNumber=i,c.error=eB(r||s||t),c.evt=eB(s||t),c[Pl]=u,c.stackDetails=xge(a||r||s),c.errorSrc=l,c},e.CreateFromInterface=function(t,o,n,i){var r=o[tg]&&Gm(o[tg],function(a){return _ge[qH](t,a)}),s=new e(t,Qo(Qo({},o),{exceptions:r}),n,i);return s},e.prototype.toInterface=function(){var t,o=this,n=o.exceptions,i=o.properties,r=o.measurements,s=o.severityLevel,a=o.problemGroup,l=o.id,c=o.isManual,u=n instanceof Array&&Gm(n,function(p){return p.toInterface()})||void 0;return t={ver:"4.0"},t[tg]=u,t.severityLevel=s,t.properties=i,t.measurements=r,t.problemGroup=a,t.id=l,t.isManual=c,t},e.CreateSimpleException=function(t,o,n,i,r,s){var a;return{exceptions:[(a={},a[WT]=!0,a.message=t,a.stack=r,a.typeName=o,a)]}},e.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",e.dataType="ExceptionData",e.formatError=eB,e}();var _ge=function(){function e(t,o,n){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var i=this;if($ze(o))i[Pl]=o[Pl],i[Jc]=o[Jc],i[vr]=o[vr],i[Us]=o[Us]||[],i[WT]=o[WT];else{var r=o,s=r&&r.evt;Vm(r)||(r=r[i_]||s||r),i[Pl]=Qt(t,XP(r))||Wo,i[Jc]=o_(t,yge(o||r,i[Pl]))||Wo;var a=o[tB]||xge(o);i[Us]=Fze(a),kt(i[Us])&&Gm(i[Us],function(l){return l[ig]=Qt(t,l[ig])}),i[vr]=QP(t,Nze(a)),i.hasFullStack=kt(i.parsedStack)&&i.parsedStack[ht]>0,n&&(n[Pl]=n[Pl]||i[Pl])}}return e.prototype.toInterface=function(){var t,o=this,n=o[Us]instanceof Array&&Gm(o[Us],function(r){return r.toInterface()}),i=(t={id:o.id,outerId:o.outerId,typeName:o[Pl],message:o[Jc],hasFullStack:o[WT],stack:o[vr]},t[Us]=n||void 0,t);return i},e.CreateFromInterface=function(t,o){var n=o[Us]instanceof Array&&Gm(o[Us],function(r){return iB[qH](r)})||o[Us],i=new e(t,Qo(Qo({},o),{parsedStack:n}));return i},e}();var iB=function(){function e(t,o){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var n=this;if(n[og]=0,typeof t=="string"){var i=t;n[KT]=o,n[rg]=Mze,n[ig]=jo(i),n[Zb]="",n[Xb]=0;var r=i.match(e.regex);r&&r[ht]>=5&&(n[rg]=jo(r[2])||n[rg],n[Zb]=jo(r[4]),n[Xb]=parseInt(r[5])||0)}else n[KT]=t[KT],n[rg]=t[rg],n[ig]=t[ig],n[Zb]=t[Zb],n[Xb]=t[Xb],n[og]=0;n.sizeInBytes+=n.method[ht],n.sizeInBytes+=n.fileName[ht],n.sizeInBytes+=n.assembly[ht],n[og]+=e.baseSize,n.sizeInBytes+=n.level.toString()[ht],n.sizeInBytes+=n.line.toString()[ht]}return e.CreateFromInterface=function(t){return new e(t,null)},e.prototype.toInterface=function(){var t=this;return{level:t[KT],method:t[rg],assembly:t[ig],fileName:t[Zb],line:t[Xb]}},e.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,e.baseSize=58,e}();var Tge=function(){function e(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0}return e}();var Xr=function(){function e(t,o,n,i,r,s,a,l,c){this.aiDataContract={ver:1,metrics:1,properties:0};var u=this;u.ver=2;var p=new Tge;p[age]=i>0?i:void 0,p.max=isNaN(s)||s===null?void 0:s,p.min=isNaN(r)||r===null?void 0:r,p[tn]=Qt(t,o)||Wo,p.value=n,p.stdDev=isNaN(a)||a===null?void 0:a,u.metrics=[p],u[hi]=_i(t,l),u[bi]=vi(t,c)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",e.dataType="MetricData",e}();var Ri=function(){function e(t,o,n,i,r,s,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var l=this;l.ver=2,l.id=jP(t,a),l.url=Ll(t,n),l[tn]=Qt(t,o)||Wo,isNaN(i)||(l[sg]=Jr(i)),l[hi]=_i(t,r),l[bi]=vi(t,s)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",e.dataType="PageviewData",e}();var es=function(){function e(t,o,n,i,r,s,a,l,c,u,p,m){c===void 0&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var g=this;g.ver=2,g.id=o,g[sg]=Jr(r),g.success=s,g.resultCode=a+"",g.type=Qt(t,c);var f=fge(t,n,l,i);g.data=Ll(t,i)||f.data,g.target=Qt(t,f.target),u&&(g.target="".concat(g.target," | ").concat(u)),g[tn]=Qt(t,f[tn]),g[hi]=_i(t,p),g[bi]=vi(t,m)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",e.dataType="RemoteDependencyData",e}();var Fa=function(){function e(t,o,n,i,r){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var s=this;s.ver=2,o=o||Wo,s[Jc]=o_(t,o),s[hi]=_i(t,i),s[bi]=vi(t,r),n&&(s[ng]=n)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Message",e.dataType="MessageData",e}();var qa=function(){function e(t,o,n,i,r,s,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var l=this;l.ver=2,l.url=Ll(t,n),l[tn]=Qt(t,o)||Wo,l[hi]=_i(t,r),l[bi]=vi(t,s),a&&(l.domProcessing=a.domProcessing,l[sg]=a[sg],l.networkConnect=a.networkConnect,l.perfTotal=a.perfTotal,l[OH]=a[OH],l.sentRequest=a.sentRequest)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",e.dataType="PageviewPerformanceData",e}();var Rl=function(){function e(t,o){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=o}return e}();function Ld(e){var t="ai."+e+".";return function(o){return t+o}}var tS=Ld("application"),An=Ld("device"),eL=Ld("location"),r_=Ld("operation"),rB=Ld("session"),Pd=Ld("user"),dg=Ld("cloud"),oS=Ld("internal"),s_=function(e){Mn(t,e);function t(){return e.call(this)||this}return t}(JU({applicationVersion:tS("ver"),applicationBuild:tS("build"),applicationTypeId:tS("typeId"),applicationId:tS("applicationId"),applicationLayer:tS("layer"),deviceId:An("id"),deviceIp:An("ip"),deviceLanguage:An("language"),deviceLocale:An("locale"),deviceModel:An("model"),deviceFriendlyName:An("friendlyName"),deviceNetwork:An("network"),deviceNetworkName:An("networkName"),deviceOEMName:An("oemName"),deviceOS:An("os"),deviceOSVersion:An("osVersion"),deviceRoleInstance:An("roleInstance"),deviceRoleName:An("roleName"),deviceScreenResolution:An("screenResolution"),deviceType:An("type"),deviceMachineName:An("machineName"),deviceVMName:An("vmName"),deviceBrowser:An("browser"),deviceBrowserVersion:An("browserVersion"),locationIp:eL("ip"),locationCountry:eL("country"),locationProvince:eL("province"),locationCity:eL("city"),operationId:r_("id"),operationName:r_("name"),operationParentId:r_("parentId"),operationRootId:r_("rootId"),operationSyntheticSource:r_("syntheticSource"),operationCorrelationVector:r_("correlationVector"),sessionId:rB("id"),sessionIsFirst:rB("isFirst"),sessionIsNew:rB("isNew"),userAccountAcquisitionDate:Pd("accountAcquisitionDate"),userAccountId:Pd("accountId"),userAgent:Pd("userAgent"),userId:Pd("id"),userStoreRegion:Pd("storeRegion"),userAuthUserId:Pd("authUserId"),userAnonymousUserAcquisitionDate:Pd("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Pd("authUserAcquisitionDate"),cloudName:dg("name"),cloudRole:dg("role"),cloudRoleVer:dg("roleVer"),cloudRoleInstance:dg("roleInstance"),cloudEnvironment:dg("environment"),cloudLocation:dg("location"),cloudDeploymentUnit:dg("deploymentUnit"),internalNodeName:oS("nodeName"),internalSdkVersion:oS("sdkVersion"),internalAgentVersion:oS("agentVersion"),internalSnippet:oS("snippet"),internalSdkSrc:oS("sdkSrc")}));function Bs(e,t,o,n,i,r){var s;o=Qt(n,o)||Wo,(ge(e)||ge(t)||ge(o))&&Po("Input doesn't contain all required fields");var a="";e[OP]&&(a=e[OP],delete e[OP]);var l=(s={},s[tn]=o,s.time=jr(new Date),s.iKey=a,s.ext=r||{},s.tags=[],s.data={},s.baseType=t,s.baseData=e,s);return ge(i)||It(i,function(c,u){l.data[c]=u}),l}var Sge=function(){function e(){}return e.create=Bs,e}();var ei={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},Xt=new s_;var Rd="AppInsightsPropertiesPlugin",nS="AppInsightsChannelPlugin",sB="ApplicationInsightsAnalytics";var iS="toString",tL="disableExceptionTracking",rS="autoTrackPageVisitTime",oL="overridePageViewDuration",nL="enableUnhandledPromiseRejectionTracking",sS="samplingPercentage",aS="isStorageUseDisabled",lS="isBrowserLinkTrackingEnabled",iL="enableAutoRouteTracking",rL="namePrefix",sL="disableFlushOnBeforeUnload";var Nn="core",Xc="dataType",Md="envelopeType",yr="diagLog",$d="track",a_="trackPageView",cS="trackPreviousPageVisit",eu="sendPageViewInternal",uS="sendPageViewPerformanceInternal",l_="populatePageViewPerformanceEvent",Dd="href",aB="sendExceptionInternal",aL="exception",c_="error",lL="_onerror",cL="errorSrc",uL="lineNumber",dL="columnNumber",lB="message",pL="CreateAutoException",dS="addTelemetryInitializer",Ml="duration",zd="length",mL="isPerformanceTimingSupported",gL="getPerformanceTiming",u_="navigationStart",pS="shouldCollectDuration",fL="isPerformanceTimingDataReady",wge="getEntriesByType",d_="responseStart",Cge="requestStart",mS="loadEventEnd",hL="responseEnd",gS="connectEnd",cB="pageVisitStartTime";var bL=null;function Bze(){if(bL==null)try{bL=!!(self&&self instanceof WorkerGlobalScope)}catch{bL=!1}return bL}var Ege=function(){function e(t,o,n,i){ft(e,this,function(r){var s=null,a=[],l=!1,c;n&&(c=n.logger);function u(g){n&&n.flush(g)}function p(){s||(s=setTimeout(function(){s=null;var g=a.slice(0),f=!1;a=[],ze(g,function(_){_()?f=!0:a.push(_)}),a[zd]>0&&p(),f&&u(!0)},100))}function m(g){a.push(g),p()}r[a_]=function(g,f){var _=g.name;if(ge(_)||typeof _!="string"){var h=Yo();_=g.name=h&&h.title||""}var y=g.uri;if(ge(y)||typeof y!="string"){var v=hr();y=g.uri=v&&v[Dd]||""}if(!i[mL]()){t[eu](g,f),u(!0),Bze()||Ce(c,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");return}var T=!1,I,A=i[gL]()[u_];A>0&&(I=En(A,+new Date),i[pS](I)||(I=void 0));var O;!ge(f)&&!ge(f[Ml])&&(O=f[Ml]),(o||!isNaN(O))&&(isNaN(O)&&(f||(f={}),f[Ml]=I),t[eu](g,f),u(!0),T=!0);var D=6e4;f||(f={}),m(function(){var le=!1;try{if(i[fL]()){le=!0;var ye={name:_,uri:y};i[l_](ye),!ye.isValid&&!T?(f[Ml]=I,t[eu](g,f)):(T||(f[Ml]=ye.durationMs,t[eu](g,f)),l||(t[uS](ye,f),l=!0))}else A>0&&En(A,+new Date)>D&&(le=!0,T||(f[Ml]=D,t[eu](g,f)))}catch(J){Ce(c,1,38,"trackPageView failed on page load calculation: "+Tt(J),{exception:Fe(J)})}return le})},r.teardown=function(g,f){if(s){clearTimeout(s),s=null;var _=a.slice(0),h=!1;a=[],ze(_,function(y){y()&&(h=!0)})}}})}return e.__ieDyn=1,e}();var Vze=36e5,Age=["googlebot","adsbot-google","apis-google","mediapartners-google"];function Ige(){var e=Fs();return e&&!!e.timing}function Gze(){var e=Fs();return e&&e.getEntriesByType&&e.getEntriesByType("navigation")[zd]>0}function Qze(){var e=Fs(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t[u_]>0&&t[d_]>0&&t[Cge]>0&&t[mS]>0&&t[hL]>0&&t[gS]>0&&t.domLoading>0}function kge(){return Ige()?Fs().timing:null}function jze(){return Gze()?Fs()[wge]("navigation")[0]:null}function Yze(){for(var e=[],t=0;t=Vze)return!1;return!0}var Pge=function(){function e(t){var o=this,n=$a(t);ft(e,this,function(i){i[l_]=function(r){r.isValid=!1;var s=jze(),a=kge(),l=0,c=0,u=0,p=0,m=0;(s||a)&&(s?(l=s[Ml],c=s.startTime===0?s[gS]:En(s.startTime,s[gS]),u=En(s.requestStart,s[d_]),p=En(s[d_],s[hL]),m=En(s.responseEnd,s[mS])):(l=En(a[u_],a[mS]),c=En(a[u_],a[gS]),u=En(a.requestStart,a[d_]),p=En(a[d_],a[hL]),m=En(a.responseEnd,a[mS])),l===0?Ce(n,2,10,"error calculating page view performance.",{total:l,network:c,request:u,response:p,dom:m}):o[pS](l,c,u,p,m)?l=100)&&(e[sS]=100),e[aS]=Hs(e[aS]),e[lS]=Hs(e[lS]),e[iL]=Hs(e[iL]),e[rL]=e[rL]||"",e.enableDebug=Hs(e.enableDebug),e[sL]=Hs(e[sL]),e.disableFlushOnUnload=Hs(e.disableFlushOnUnload,e[sL]),e}function Zze(e){vo(e[aS])||(e[aS]?VH():GH())}var _L=function(e){Mn(t,e);function t(){var o=e.call(this)||this;o.identifier=sB,o.priority=180,o.autoRoutePVDelay=500;var n,i,r,s,a,l,c,u,p,m,g,f,_,h,y=0,v,T,I;return ft(t,o,function(A,O){var D=O._addHook;lo(),A.getCookieMgr=function(){return Jm(A[Nn])},A.processTelemetry=function(j,X){A.processNext(j,X)},A.trackEvent=function(j,X){try{var q=Bs(j,Zr[Xc],Zr[Md],A[yr](),X);A[Nn][$d](q)}catch(re){Lt(2,39,"trackTrace failed, trace will not be collected: "+Tt(re),{exception:Fe(re)})}},A.startTrackEvent=function(j){try{n.start(j)}catch(X){Lt(1,29,"startTrackEvent failed, event will not be collected: "+Tt(X),{exception:Fe(X)})}},A.stopTrackEvent=function(j,X,q){try{n.stop(j,void 0,X,q)}catch(re){Lt(1,30,"stopTrackEvent failed, event will not be collected: "+Tt(re),{exception:Fe(re)})}},A.trackTrace=function(j,X){try{var q=Bs(j,Fa[Xc],Fa[Md],A[yr](),X);A[Nn][$d](q)}catch(re){Lt(2,39,"trackTrace failed, trace will not be collected: "+Tt(re),{exception:Fe(re)})}},A.trackMetric=function(j,X){try{var q=Bs(j,Xr[Xc],Xr[Md],A[yr](),X);A[Nn][$d](q)}catch(re){Lt(1,36,"trackMetric failed, metric will not be collected: "+Tt(re),{exception:Fe(re)})}},A[a_]=function(j,X){try{var q=j||{};r[a_](q,Qo(Qo(Qo({},q.properties),q.measurements),X)),A.config[rS]&&a[cS](q.name,q.uri)}catch(re){Lt(1,37,"trackPageView failed, page view will not be collected: "+Tt(re),{exception:Fe(re)})}},A[eu]=function(j,X,q){var re=Yo();re&&(j.refUri=j.refUri===void 0?re.referrer:j.refUri);var fe=Bs(j,Ri[Xc],Ri[Md],A[yr](),X,q);A[Nn][$d](fe),y=0},A[uS]=function(j,X,q){var re=Bs(j,qa[Xc],qa[Md],A[yr](),X,q);A[Nn][$d](re)},A.trackPageViewPerformance=function(j,X){var q=j||{};try{s[l_](q),A[uS](q,X)}catch(re){Lt(1,37,"trackPageViewPerformance failed, page view will not be collected: "+Tt(re),{exception:Fe(re)})}},A.startTrackPage=function(j){try{if(typeof j!="string"){var X=Yo();j=X&&X.title||""}i.start(j)}catch(q){Lt(1,31,"startTrackPage failed, page view may not be collected: "+Tt(q),{exception:Fe(q)})}},A.stopTrackPage=function(j,X,q,re){try{if(typeof j!="string"){var fe=Yo();j=fe&&fe.title||""}if(typeof X!="string"){var L=hr();X=L&&L[Dd]||""}i.stop(j,X,q,re),A.config[rS]&&a[cS](j,X)}catch(M){Lt(1,32,"stopTrackPage failed, page view will not be collected: "+Tt(M),{exception:Fe(M)})}},A[aB]=function(j,X,q){var re=j&&(j[aL]||j[c_])||Vm(j)&&j||{name:j&&typeof j,message:j||Wo};j=j||{};var fe=new Xn(A[yr](),re,j.properties||X,j.measurements,j.severityLevel,j.id).toInterface(),L=Bs(fe,Xn[Xc],Xn[Md],A[yr](),X,q);A[Nn][$d](L)},A.trackException=function(j,X){j&&!j[aL]&&j[c_]&&(j[aL]=j[c_]);try{A[aB](j,X)}catch(q){Lt(1,35,"trackException failed, exception will not be collected: "+Tt(q),{exception:Fe(q)})}},A[lL]=function(j){var X=j&&j[c_],q=j&&j.evt;try{if(!q){var re=Wr();re&&(q=re[Kze])}var fe=j&&j.url||(Yo()||{}).URL,L=j[cL]||"window.onerror@"+fe+":"+(j[uL]||0)+":"+(j[dL]||0),M={errorSrc:L,url:fe,lineNumber:j[uL]||0,columnNumber:j[dL]||0,message:j[lB]};UH(j.message,j.url,j.lineNumber,j.columnNumber,j[c_])?Ve(Xn[pL]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",fe,j[uL]||0,j[dL]||0,X,q,null,L),M):(j[cL]||(j[cL]=L),A.trackException({exception:j,severityLevel:3},M))}catch(ae){var Z=X?X.name+", "+X[lB]:"null";Lt(1,11,"_onError threw exception while logging error, error will not be collected: "+Tt(ae),{exception:Fe(ae),errorString:Z})}},A[dS]=function(j){if(A[Nn])return A[Nn][dS](j);l||(l=[]),l.push(j)},A.initialize=function(j,X,q,re){if(!A.isInitialized()){ge(X)&&Po("Error initializing"),O.initialize(j,X,q,re);try{I=Kr(Jn(A.identifier),X.evtNamespace&&X.evtNamespace()),l&&(ze(l,function(L){X[dS](L)}),l=null);var fe=le(j);Zze(fe),s=new Pge(A[Nn]),r=new Ege(o,fe[oL],A[Nn],s),a=new Lge(A[yr](),function(L,M,Z){return J(L,M,Z)}),ye(fe,j),n=new uB(A[yr](),"trackEvent"),n.action=function(L,M,Z,ae,Pe){ae||(ae={}),Pe||(Pe={}),ae.duration=Z[iS](),A.trackEvent({name:L,properties:ae,measurements:Pe})},i=new uB(A[yr](),"trackPageView"),i.action=function(L,M,Z,ae,Pe){ge(ae)&&(ae={}),ae.duration=Z[iS]();var Je={name:L,uri:M,properties:ae,measurements:Pe};A[eu](Je,ae)},Gc()&&(Ct(fe),oo(fe))}catch(L){throw A.setInitialized(!1),L}}},A._doTeardown=function(j,X){r&&r.teardown(j,X),wd(window,null,null,I),lo()};function le(j){var X=Zn(null,j,A[Nn]),q=A.identifier,re=$ge(j),fe=A.config=X.getExtCfg(q);return re!==void 0&&It(re,function(L,M){fe[L]=X.getConfig(q,L,M),fe[L]===void 0&&(fe=M)}),fe}function ye(j,X){c=j[lS]||X[lS],Le()}function J(j,X,q){var re={PageName:j,PageUrl:X};A.trackMetric({name:"PageVisitTime",average:q,max:q,min:q,sampleCount:1},re)}function Le(){if(!u&&c){var j=["/browserLinkSignalR/","/__browserLink/"],X=function(q){if(c&&q.baseType===es[Xc]){var re=q.baseData;if(re){for(var fe=0;fe=0)return!1}}return!0};A[dS](X),u=!0}}function Ve(j,X){var q=Bs(j,Xn[Xc],Xn[Md],A[yr](),X);A[Nn][$d](q)}function Ct(j){var X=Wr(),q=hr(!0);g=j[tL],!g&&!f&&!j.autoExceptionInstrumented&&(D(Yb(X,"onerror",{ns:I,rsp:function(re,fe,L,M,Z,ae){!g&&re.rslt!==!0&&A[lL](Xn[pL](fe,L,M,Z,ae,re.evt))}},!1)),f=!0),dn(j,X,q)}function oo(j){var X=Wr(),q=hr(!0);if(p=j[iL]===!0,X&&p&&SP()){var re=rH();Xe(re.pushState)&&Xe(re.replaceState)&&typeof Event!==mr&&ro(j,X,re,q)}}function qt(){var j=null;if(A[Nn]&&A[Nn].getTraceCtx&&(j=A[Nn].getTraceCtx(!1)),!j){var X=A[Nn].getPlugin(Rd);if(X){var q=X.plugin.context;q&&(j=cg(q.telemetryTrace))}}return j}function ro(j,X,q,re){var fe=j[rL]||"";function L(){p&&fS(X,eg(fe+"locationchange"))}function M(){if(T?(v=T,T=re&&re[Dd]||""):T=re&&re[Dd]||"",p){var Z=qt();if(Z){Z.setTraceId(br());var ae="_unknown_";re&&re.pathname&&(ae=re.pathname+(re.hash||"")),Z.setName(Qt(A[yr](),ae))}setTimeout(function(Pe){A[a_]({refUri:Pe,properties:{duration:0}})}.bind(this,v),A.autoRoutePVDelay)}}m||(D(Yb(q,"pushState",{ns:I,rsp:function(){p&&(fS(X,eg(fe+"pushState")),fS(X,eg(fe+"locationchange")))}},!0)),D(Yb(q,"replaceState",{ns:I,rsp:function(){p&&(fS(X,eg(fe+"replaceState")),fS(X,eg(fe+"locationchange")))}},!0)),Os(X,fe+"popstate",L,I),Os(X,fe+"locationchange",M,I),m=!0)}function dn(j,X,q){_=j[nL]===!0,_&&!h&&(D(Yb(X,"onunhandledrejection",{ns:I,rsp:function(re,fe){_&&re.rslt!==!0&&A[lL](Xn[pL](Jze(fe),q?q[Dd]:"",0,0,fe,re.evt))}},!1)),h=!0,j.autoUnhandledPromiseInstrumented=h)}function Lt(j,X,q,re,fe){A[yr]().throwInternal(j,X,q,re,fe)}function lo(){n=null,i=null,r=null,s=null,a=null,l=null,c=!1,u=!1,p=!1,m=!1,g=!1,f=!1,_=!1,h=!1,y=0;var j=hr(!0);v=j&&j[Dd]||"",T=null,I=null}Ns(A,"_pageViewManager",function(){return r}),Ns(A,"_pageViewPerformanceManager",function(){return s}),Ns(A,"_pageVisitTimeManager",function(){return a}),Ns(A,"_evtNamespace",function(){return"."+I})}),o}return t.Version="2.8.13",t.getDefaultConfig=$ge,t}(Da);var Nd="duration";var on="tags",vL="deviceType",xr="data",$l="name",pg="traceID",wt="length",Fd="stringify",qd="measurements",Vs="dataType",Od="envelopeType",tu="toString",hS="onLine",bS="isOnline",mg="enqueue",Ud="count",ou="push",_S="emitLineDelimitedJson",Hd="clear",gg="batchPayloads",Bd="markAsSent",fg="clearSent",vS="bufferOverride",p_="BUFFER_KEY",Vd="SENT_BUFFER_KEY",m_="MAX_BUFFER_SIZE",nu="namePrefix",yL="maxBatchSizeInBytes",hg="triggerSend",yi="diagLog",dB="onunloadDisableBeacon",xL="isBeaconApiDisabled",g_="_sender",ao="_senderConfig",pB="enableSessionStorageBuffer",Gd="_buffer",mB="samplingPercentage",yS="instrumentationKey",Qd="endpointUrl",gB="customHeaders",f_="disableXhr",fB="onunloadDisableFetch",TL="disableTelemetry",SL="baseType",h_="sampleRate",hB="convertUndefined",Dge="_xhrReadyStateChange",Gs="_onError",wL="_onPartialSuccess",xS="_onSuccess",TS="itemsAccepted",zge="itemsReceived",b_="isRetryDisabled",CL="setRequestHeader",bB="maxBatchInterval",_B="eventsSendRequest",vB="disableInstrumentationKeyValidation",EL="getSamplingScore",Nge="getHashCodeScore";var yB="baseType",yo="baseData",Fn="properties",Fge="true";function nn(e,t,o){return Ot(e,t,o,Ob)}function Xze(e,t,o){var n=o[on]=o[on]||{},i=t.ext=t.ext||{},r=t[on]=t[on]||[],s=i.user;s&&(nn(n,Xt.userAuthUserId,s.authId),nn(n,Xt.userId,s.id||s.localId));var a=i.app;a&&nn(n,Xt.sessionId,a.sesId);var l=i.device;l&&(nn(n,Xt.deviceId,l.id||l.localId),nn(n,Xt[vL],l.deviceClass),nn(n,Xt.deviceIp,l.ip),nn(n,Xt.deviceModel,l.model),nn(n,Xt[vL],l[vL]));var c=t.ext.web;if(c){nn(n,Xt.deviceLanguage,c.browserLang),nn(n,Xt.deviceBrowserVersion,c.browserVer),nn(n,Xt.deviceBrowser,c.browser);var u=o[xr]=o[xr]||{},p=u[yo]=u[yo]||{},m=p[Fn]=p[Fn]||{};nn(m,"domain",c.domain),nn(m,"isManual",c.isManual?Fge:null),nn(m,"screenRes",c.screenRes),nn(m,"userConsent",c.userConsent?Fge:null)}var g=i.os;g&&nn(n,Xt.deviceOS,g[$l]);var f=i.trace;f&&(nn(n,Xt.operationParentId,f.parentID),nn(n,Xt.operationName,Qt(e,f[$l])),nn(n,Xt.operationId,f[pg]));for(var _={},h=r[wt]-1;h>=0;h--){var y=r[h];It(y,function(T,I){_[T]=I}),r.splice(h,1)}It(r,function(T,I){_[T]=I});var v=Qo(Qo({},n),_);v[Xt.internalSdkVersion]||(v[Xt.internalSdkVersion]="javascript:".concat(eNe.Version)),o[on]=yP(v)}function jd(e,t,o){ge(e)||It(e,function(n,i){RT(i)?o[n]=i:Ke(i)?t[n]=i:Ma()&&(t[n]=Cn()[Fd](i))})}function bg(e,t){ge(e)||It(e,function(o,n){e[o]=n||t})}function _g(e,t,o,n){var i=new ZP(e,n,t);nn(i,"sampleRate",o[Wb]),(o[yo]||{}).startTime&&(i.time=jr(o[yo].startTime)),i.iKey=o.iKey;var r=o.iKey.replace(/-/g,"");return i[$l]=i[$l].replace("{0}",r),Xze(e,o,i),o[on]=o[on]||[],yP(i)}function vg(e,t){ge(t[yo])&&Ce(e,1,46,"telemetryItem.baseData cannot be null.")}var eNe={Version:"2.8.13"};function qge(e,t,o){vg(e,t);var n=t[yo][qd]||{},i=t[yo][Fn]||{};jd(t[xr],i,n),ge(o)||bg(i,o);var r=t[yo];if(ge(r))return qs(e,"Invalid input for dependency data"),null;var s=r[Fn]&&r[Fn][GT]?r[Fn][GT]:"GET",a=new es(e,r.id,r.target,r[$l],r[Nd],r.success,r.responseCode,s,r.type,r.correlationContext,i,n),l=new Rl(es[Vs],a);return _g(e,es[Od],t,l)}function xB(e,t,o){vg(e,t);var n={},i={};t[yB]!==Zr[Vs]&&(n.baseTypeSource=t[yB]),t[yB]===Zr[Vs]?(n=t[yo][Fn]||{},i=t[yo][qd]||{}):t[yo]&&jd(t[yo],n,i),jd(t[xr],n,i),ge(o)||bg(n,o);var r=t[yo][$l],s=new Zr(e,r,n,i),a=new Rl(Zr[Vs],s);return _g(e,Zr[Od],t,a)}function Oge(e,t,o){vg(e,t);var n=t[yo][qd]||{},i=t[yo][Fn]||{};jd(t[xr],i,n),ge(o)||bg(i,o);var r=t[yo],s=Xn.CreateFromInterface(e,r,i,n),a=new Rl(Xn[Vs],s);return _g(e,Xn[Od],t,a)}function Uge(e,t,o){vg(e,t);var n=t[yo],i=n[Fn]||{},r=n[qd]||{};jd(t[xr],i,r),ge(o)||bg(i,o);var s=new Xr(e,n[$l],n.average,n.sampleCount,n.min,n.max,n.stdDev,i,r),a=new Rl(Xr[Vs],s);return _g(e,Xr[Od],t,a)}function Hge(e,t,o){vg(e,t);var n,i=t[yo];!ge(i)&&!ge(i[Fn])&&!ge(i[Fn][Nd])?(n=i[Fn][Nd],delete i[Fn][Nd]):!ge(t[xr])&&!ge(t[xr][Nd])&&(n=t[xr][Nd],delete t[xr][Nd]);var r=t[yo],s;((t.ext||{}).trace||{})[pg]&&(s=t.ext.trace[pg]);var a=r.id||s,l=r[$l],c=r.uri,u=r[Fn]||{},p=r[qd]||{};if(ge(r.refUri)||(u.refUri=r.refUri),ge(r.pageType)||(u.pageType=r.pageType),ge(r.isLoggedIn)||(u.isLoggedIn=r.isLoggedIn[tu]()),!ge(r[Fn])){var m=r[Fn];It(m,function(_,h){u[_]=h})}jd(t[xr],u,p),ge(o)||bg(u,o);var g=new Ri(e,l,c,n,u,p,a),f=new Rl(Ri[Vs],g);return _g(e,Ri[Od],t,f)}function Bge(e,t,o){vg(e,t);var n=t[yo],i=n[$l],r=n.uri||n.url,s=n[Fn]||{},a=n[qd]||{};jd(t[xr],s,a),ge(o)||bg(s,o);var l=new qa(e,i,r,void 0,s,a,n),c=new Rl(qa[Vs],l);return _g(e,qa[Od],t,c)}function Vge(e,t,o){vg(e,t);var n=t[yo].message,i=t[yo].severityLevel,r=t[yo][Fn]||{},s=t[yo][qd]||{};jd(t[xr],r,s),ge(o)||bg(r,o);var a=new Fa(e,n,i,r,s),l=new Rl(Fa[Vs],a);return _g(e,Fa[Od],t,l)}function Gge(e,t){wd(e,null,null,t)}function Qge(e){var t,o=Yo(),n=Li(),i=!1,r=!0,s=Kr(Jn("OfflineListener"),e);try{if(l(Wr())&&(i=!0),o){var a=o.body||o;a.ononline&&l(a)&&(i=!0)}i&&n&&!ge(n[hS])&&(r=n[hS])}catch{i=!1}function l(g){var f=!1;return g&&(f=Os(g,"online",c,s),f&&Os(g,"offline",u,s)),f}function c(){r=!0}function u(){r=!1}function p(){var g=!0;return i?g=r:n&&!ge(n[hS])&&(g=n[hS]),g}function m(){var g=Wr();if(g&&i){if(Gge(g,s),o){var f=o.body||o;vo(f.ononline)||Gge(f,s)}i=!1}}return t={},t[bS]=p,t.isListening=function(){return i},t.unload=m,t}var jge=function(){function e(t,o){var n=[],i=!1;this._get=function(){return n},this._set=function(r){return n=r,n},ft(e,this,function(r){r[mg]=function(s){if(r[Ud]()>=o.eventsLimitInMem()){i||(Ce(t,2,105,"Maximum in-memory buffer size reached: "+r[Ud](),!0),i=!0);return}n[ou](s)},r[Ud]=function(){return n[wt]},r.size=function(){for(var s=n[wt],a=0;a0){var a=o[_S]()?s.join(` `):"["+s.join(",")+"]";return a}return null}})}return e.__ieDyn=1,e}(),Yge=function(e){Mn(t,e);function t(o,n){var i=e.call(this,o,n)||this;return ft(t,i,function(r,s){r[Bd]=function(a){s[Hd]()},r[fg]=function(a){}}),i}return t.__ieDyn=1,t}(jge);var Wge=function(e){Mn(t,e);function t(o,n){var i=e.call(this,o,n)||this,r=!1,s=n[vS]()||{getItem:t_,setItem:XT},a=s.getItem,l=s.setItem;return ft(t,i,function(c,u){var p=_(t[p_]),m=_(t[Vd]),g=c._set(p.concat(m));g[wt]>t[m_]&&(g[wt]=t[m_]),h(t[Vd],[]),h(t[p_],g),c[mg]=function(y){if(c[Ud]()>=t[m_]){r||(Ce(o,2,67,"Maximum buffer size reached: "+c[Ud](),!0),r=!0);return}u[mg](y),h(t[p_],c._get())},c[Hd]=function(){u[Hd](),h(t[p_],c._get()),h(t[Vd],[]),r=!1},c[Bd]=function(y){h(t[p_],c._set(f(y,c._get())));var v=_(t[Vd]);v instanceof Array&&y instanceof Array&&(v=v.concat(y),v[wt]>t[m_]&&(Ce(o,1,67,"Sent buffer reached its maximum size: "+v[wt],!0),v[wt]=t[m_]),h(t[Vd],v))},c[fg]=function(y){var v=_(t[Vd]);v=f(y,v),h(t[Vd],v)};function f(y,v){var T=[];return ze(v,function(I){!Xe(I)&&Dn(y,I)===-1&&T[ou](I)}),T}function _(y){var v=y;try{v=n[nu]&&n[nu]()?n[nu]()+"_"+v:v;var T=a(o,v);if(T){var I=Cn().parse(T);if(Ke(I)&&(I=Cn().parse(I)),I&&kt(I))return I}}catch(A){Ce(o,1,42," storage key: "+v+", "+Tt(A),{exception:Fe(A)})}return[]}function h(y,v){var T=y;try{T=n[nu]&&n[nu]()?n[nu]()+"_"+T:T;var I=JSON[Fd](v);l(o,T,I)}catch(A){l(o,T,JSON[Fd]([])),Ce(o,2,41," storage key: "+T+", "+Tt(A)+". Buffer cleared",{exception:Fe(A)})}}}),i}return t.BUFFER_KEY="AI_buffer",t.SENT_BUFFER_KEY="AI_sentBuffer",t.MAX_BUFFER_SIZE=2e3,t}(jge);var Kge=function(){function e(t){ft(e,this,function(o){o.serialize=function(s){var a=n(s,"root");try{return Cn()[Fd](a)}catch(l){Ce(t,1,48,l&&Xe(l[tu])?l[tu]():"Error serializing object",null,!0)}};function n(s,a){var l="__aiCircularRefCheck",c={};if(!s)return Ce(t,1,48,"cannot serialize object because it is null or undefined",{name:a},!0),c;if(s[l])return Ce(t,2,50,"Circular reference detected while serializing object",{name:a},!0),c;if(!s.aiDataContract){if(a==="measurements")c=r(s,"number",a);else if(a==="properties")c=r(s,"string",a);else if(a==="tags")c=r(s,"string",a);else if(kt(s))c=i(s,a);else{Ce(t,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:a},!0);try{Cn()[Fd](s),c=s}catch(u){Ce(t,1,48,u&&Xe(u[tu])?u[tu]():"Error serializing object",null,!0)}}return c}return s[l]=!0,It(s.aiDataContract,function(u,p){var m=Xe(p)?p()&1:p&1,g=Xe(p)?p()&4:p&4,f=p&2,_=s[u]!==void 0,h=fi(s[u])&&s[u]!==null;if(m&&!_&&!f)Ce(t,1,24,"Missing required field specification. The field is required but not present on source",{field:u,name:a});else if(!g){var y=void 0;h?f?y=i(s[u],u):y=n(s[u],u):y=s[u],y!==void 0&&(c[u]=y)}}),delete s[l],c}function i(s,a){var l;if(s)if(!kt(s))Ce(t,1,54,`This field was specified as an array in the contract but the item is not an array.\r `,{name:a},!0);else{l=[];for(var c=0;c100||t<0)&&(n.throwInternal(2,58,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:t},!0),t=100),this[h_]=t,this.samplingScoreGenerator=new Zge}return e.prototype.isSampledIn=function(t){var o=this[h_],n=!1;return o==null||o>=100||t.baseType===Xr[Vs]?!0:(n=this.samplingScoreGenerator[EL](t)h._senderConfig[yL]()&&h[hg](!0,null,10),qt())},h.flush=function(L,M,Z){if(L===void 0&&(L=!0),!s){ro();try{h[hg](L,null,Z||1)}catch(ae){Ce(h[yi](),1,22,"flush failed, telemetry will not be collected: "+Tt(ae),{exception:Fe(ae)})}}},h.onunloadFlush=function(){if(!s)if((h._senderConfig[dB]()===!1||h[ao][xL]()===!1)&&xd())try{h[hg](!0,A,2)}catch(L){Ce(h[yi](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+Tt(L),{exception:Fe(L)})}else h.flush()},h.addHeader=function(L,M){u[L]=M},h.initialize=function(L,M,Z,ae){h.isInitialized()&&Ce(h[yi](),1,28,"Sender is already initialized"),y.initialize(L,M,Z,ae);var Pe=h._getTelCtx(),Je=h.identifier;l=new Kge(M.logger),n=0,i=null,r=0,h[g_]=null,c=0;var st=h[yi]();_=Kr(Jn("Sender"),M.evtNamespace&&M.evtNamespace()),f=Qge(_);var no=efe();It(no,function(ue,F){h[ao][ue]=function(){var ee=Pe.getConfig(Je,ue,F());return!ee&&ue==="endpointUrl"&&(ee=F()),ee}});var $o=h[ao][pB]()&&!!(h._senderConfig[vS]()||Id());h[Gd]=$o?new Wge(st,h[ao]):new Yge(st,h[ao]),h._sample=new Xge(h[ao][mB](),st),re(L)||Ce(st,1,100,"Invalid Instrumentation key "+L[yS]),!lg(h._senderConfig.endpointUrl())&&h._senderConfig.customHeaders()&&h._senderConfig.customHeaders()[wt]>0&&ze(h[ao][gB](),function(ue){o.addHeader(ue.header,ue.value)});var co=h[ao],V=null;!co[f_]()&&CP()?V=lo:!co[f_]()&&Qm()&&(V=le),!V&&wP()&&(V=J),m=V||le,!co[xL]()&&xd()&&(V=D),h[g_]=V||le,!co[fB]()&&wP(!0)?g=ye:xd()?g=D:!co[f_]()&&CP()?g=lo:!co[f_]()&&Qm()?g=le:g=m},h.processTelemetry=function(L,M){M=h._getTelCtx(M);var Z=M[yi]();try{if(h[ao][TL]())return;if(!L){Ce(Z,1,7,"Cannot send empty telemetry");return}if(L.baseData&&!L[SL]){Ce(Z,1,70,"Cannot send telemetry without baseData and baseType");return}if(L[SL]||(L[SL]="EventData"),!h[g_]){Ce(Z,1,28,"Sender was not initialized");return}if(v(L))L[Wb]=h._sample[h_];else{Ce(Z,2,33,"Telemetry item was sampled out and not sent",{SampleRate:h._sample[h_]});return}var ae=h[ao][hB]()||void 0,Pe=L.iKey||h[ao][yS](),Je=t.constructEnvelope(L,Pe,Z,ae);if(!Je){Ce(Z,1,47,"Unable to create an AppInsights envelope");return}var st=!1;if(L[on]&&L[on][Kb]&&(ze(L[on][Kb],function(V){try{V&&V(Je)===!1&&(st=!0,qs(Z,"Telemetry processor check returns false"))}catch(ue){Ce(Z,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+Tt(ue),{exception:Fe(ue)},!0)}}),delete L[on][Kb]),st)return;var no=l.serialize(Je),$o=h[Gd],co=$o.size();co+no[wt]>h[ao][yL]()&&(!f||f[bS]())&&h[hg](!0,null,10),$o[mg](no),qt()}catch(V){Ce(Z,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+Tt(V),{exception:Fe(V)})}h.processNext(L,M)},h[Dge]=function(L,M,Z){L.readyState===4&&T(L.status,M,L.responseURL,Z,Lt(L),AL(L)||L.response)},h[hg]=function(L,M,Z){if(L===void 0&&(L=!0),!s)try{var ae=h[Gd];if(h[ao][TL]())ae[Hd]();else{if(ae[Ud]()>0){var Pe=ae.getItems();q(Z||0,L),M?M.call(o,Pe,L):h[g_](Pe,L)}r=+new Date}ro()}catch(st){var Je=Gb();(!Je||Je>9)&&Ce(h[yi](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+Tt(st),{exception:Fe(st)})}},h._doTeardown=function(L,M){h.onunloadFlush(),f.unload(),fe()},h[Gs]=function(L,M,Z){Ce(h[yi](),2,26,"Failed to send telemetry.",{message:M}),h._buffer[fg](L)},h[wL]=function(L,M){for(var Z=[],ae=[],Pe=M.errors.reverse(),Je=0,st=Pe;Je0&&h[xS](L,M[TS]),Z[wt]>0&&h[Gs](Z,Lt(null,["partial success",M[TS],"of",M.itemsReceived].join(" "))),ae[wt]>0&&(Ct(ae),Ce(h[yi](),2,40,"Partial success. Delivered: "+L[wt]+", Failed: "+Z[wt]+". Will retry to send "+ae[wt]+" our of "+M[zge]+" items"))},h[xS]=function(L,M){h._buffer[fg](L)},h._xdrOnLoad=function(L,M){var Z=AL(L);if(L&&(Z+""=="200"||Z===""))n=0,h[xS](M,0);else{var ae=Ve(Z);ae&&ae.itemsReceived&&ae.itemsReceived>ae[TS]&&!h[ao][b_]()?h[wL](M,ae):h[Gs](M,j(L))}};function v(L){return h._sample.isSampledIn(L)}function T(L,M,Z,ae,Pe,Je){var st=null;if(h._appId||(st=Ve(Je),st&&st.appId&&(h._appId=st.appId)),(L<200||L>=300)&&L!==0){if((L===301||L===307||L===308)&&!I(Z)){h[Gs](M,Pe);return}!h[ao][b_]()&&dn(L)?(Ct(M),Ce(h[yi](),2,40,". Response code "+L+". Will retry to send "+M[wt]+" items.")):h[Gs](M,Pe)}else if(f&&!f[bS]()){if(!h[ao][b_]()){var no=10;Ct(M,no),Ce(h[yi](),2,40,". Offline - Response Code: ".concat(L,". Offline status: ").concat(!f.isOnline(),". Will retry to send ").concat(M.length," items."))}}else I(Z),L===206?(st||(st=Ve(Je)),st&&!h[ao][b_]()?h[wL](M,st):h[Gs](M,Pe)):(n=0,h[xS](M,ae))}function I(L){return c>=10?!1:!ge(L)&&L!==""&&L!==h[ao][Qd]()?(h[ao][Qd]=function(){return L},++c,!0):!1}function A(L,M){g?g(L,!1):D(L,M)}function O(L){var M=Li(),Z=h[Gd],ae=h[ao][Qd](),Pe=h._buffer[gg](L),Je=new Blob([Pe],{type:"text/plain;charset=UTF-8"}),st=M.sendBeacon(ae,Je);return st&&(Z[Bd](L),h._onSuccess(L,L[wt])),st}function D(L,M){if(kt(L)&&L[wt]>0&&!O(L)){for(var Z=[],ae=0;ae0&&(m&&m(Z,!0),Ce(h[yi](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function le(L,M){var Z=new XMLHttpRequest,ae=h[ao][Qd]();try{Z[za]=!0}catch{}Z.open("POST",ae,M),Z[CL]("Content-type","applicationhttps://www.microsoft.com/json"),lg(ae)&&Z[CL](Zt[6],Zt[7]),ze(fr(u),function(Je){Z[CL](Je,u[Je])}),Z.onreadystatechange=function(){return h._xhrReadyStateChange(Z,L,L[wt])},Z.onerror=function(Je){return h[Gs](L,Lt(Z),Je)};var Pe=h._buffer[gg](L);Z.send(Pe),h._buffer[Bd](L)}function ye(L,M){if(kt(L)){for(var Z=L[wt],ae=0;ae=M[TS]&&M.itemsReceived-M.itemsAccepted===M.errors[wt])return M}}catch(Z){Ce(h[yi](),1,43,"Cannot parse the response. "+Tt(Z),{response:L})}return null}function Ct(L,M){if(M===void 0&&(M=1),!(!L||L[wt]===0)){var Z=h[Gd];Z[fg](L),n++;for(var ae=0,Pe=L;ae=200&&+c[ts]<400,g.responseCode=+c[ts],g[Yd]={HttpMethod:c[zl]},g),_=f[Yd];if(c[Wd]&&(_[Wd]=!0),c[au]&&(f[ru]=new Date,f[ru].setTime(c[au])),iNe(c,f),p&&fr(c.requestHeaders)[Oa]>0&&(_[wr]=c[wr]),m){var h=m();if(h){var y=h[pfe];if(y&&(f.correlationContext=y),h[T_]&&fr(h.headerMap)[Oa]>0&&(_.responseHeaders=h[T_]),c[PS])if(c[ts]>=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[RL]):h[su])}else c[ts]===0&&(_.responseText=h[su]||"")}}return f},c[RS]=function(){var u,p=null,m=c[$L];if(m&&(m[y_]||m[x_])){p={};var g=p[ei.TraceExt]=(u={},u[Ua]=m[y_],u.parentID=m[x_],u);ge(m[Sr])||(g[Sr]=m[Sr])}return p}})}return e.__ieDyn=1,e}();var gfe="ai.ajxmn.",zS="diagLog",os="ajaxData",Sg="fetch",$S="Failed to monitor XMLHttpRequest",Tfe=", monitoring data for this ajax call ",w_=Tfe+"may be incorrect.",ffe=Tfe+"won't be sent.",hfe="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",bfe="Failed to add custom defined request context as configured call back may missing a null check.",_fe="Failed to calculate the duration of the ",vfe=0;function sNe(){var e=$s();return!e||ge(e.Request)||ge(e.Request[ko])||ge(e[Sg])?null:e[Sg]}var DL=null;function aNe(){if(DL==null)try{DL=!!(self&&self instanceof WorkerGlobalScope)}catch{DL=!1}return DL}function lNe(e){var t=!1;if(Qm()){var o=XMLHttpRequest[ko];t=!ge(o)&&!ge(o.open)&&!ge(o.send)&&!ge(o.abort)}var n=Gb();if(n&&n<9&&(t=!1),t)try{var i=new XMLHttpRequest;i[os]={};var r=XMLHttpRequest[ko].open;XMLHttpRequest[ko].open=r}catch(s){t=!1,NS(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:Fe(s)})}return t}function NL(e){var t="";try{e&&e[os]&&e[os][Tr]&&(t+="(url: '"+e[os][Tr]+"')")}catch{}return t}function NS(e,t,o,n,i){Ce(e[zS](),1,t,o,n,i)}function C_(e,t,o,n,i){Ce(e[zS](),2,t,o,n,i)}function DS(e,t,o){return function(n){NS(e,t,o,{ajaxDiagnosticsMessage:NL(n[__]),exception:Fe(n.err)})}}function E_(e,t){return e&&t?e.indexOf(t):-1}function yfe(e,t,o){var n={id:t,fn:o};return e.push(n),{remove:function(){ze(e,function(i,r){if(i.id===n.id)return e.splice(r,1),-1})}}}function Sfe(e,t,o,n){var i=!0;return ze(t,function(r,s){try{r.fn.call(null,o)===!1&&(i=!1)}catch(a){Ce(e&&e.logger,1,64,"Dependency "+n+" [#"+s+"] failed: "+Tt(a),{exception:Fe(a)},!0)}}),i}function cNe(e,t,o,n,i,r){var s=e[Oa];if(s>0){var a={core:t,xhr:n,input:i,init:r,traceId:o[Ua],spanId:o[Dl],traceFlags:o[Sr],context:o[v_]||{},aborted:!!o[Wd]};Sfe(t,e,a,"listener"),o[Ua]=a[y_],o[Dl]=a[x_],o[Sr]=a[Sr],o[v_]=a[v_]}}var zL="*.blob.core.",wfe=qb([zL+"windows.net",zL+"chinacloudapi.cn",zL+"cloudapi.de",zL+"usgovcloudapi.net"]),uNe=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function IB(){var e={maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:wfe,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 xfe(){var e=IB();return It(e,function(t){e[t]=void 0}),e}var PB=function(e){Mn(t,e);function t(){var o=e.call(this)||this;o.identifier=t.identifier,o.priority=120;var n,i,r,s,a,l,c,u,p,m,g,f,_,h,y,v,T,I,A,O,D,le,ye;return ft(t,o,function(J,Le){var Ve=Le._addHook;Ct(),J.initialize=function(V,ue,F,ee){J.isInitialized()||(Le.initialize(V,ue,F,ee),O=Kr(Jn("ajax"),ue&&ue.evtNamespace&&ue.evtNamespace()),oo(V),lo(),dn(),qt())},J._doTeardown=function(){Ct()},J.trackDependencyData=function(V,ue){co(ye,J[Ha],null,V,ue)},J[kL]=function(V,ue,F,ee){var se=J._currentWindowHost||r;if(cNe(le,J[Ha],V,ee,ue,F),ue){if(Zc[wB](s,V[SS](),se)){F||(F={});var ke=new Headers(F[Kd]||(ue instanceof Request?ue[Kd]||{}:{}));if(m){var Ie="|"+V[Ua]+"."+V[Dl];ke.set(Zt[3],Ie),a&&(V[wr][Zt[3]]=Ie)}var Ue=s[wS]||u&&u[wS]();if(Ue&&(ke.set(Zt[0],Zt[2]+Ue),a&&(V[wr][Zt[0]]=Zt[2]+Ue)),p){var qe=V[Sr];ge(qe)&&(qe=1);var yt=UT(OT(V[Ua],V[Dl],qe));ke.set(Zt[4],yt),a&&(V[wr][Zt[4]]=yt)}F[Kd]=ke}return F}else if(ee){if(Zc[wB](s,V[SS](),se)){if(m){var Ie="|"+V[Ua]+"."+V[Dl];ee[IL](Zt[3],Ie),a&&(V[wr][Zt[3]]=Ie)}var Ue=s[wS]||u&&u[wS]();if(Ue&&(ee[IL](Zt[0],Zt[2]+Ue),a&&(V[wr][Zt[0]]=Zt[2]+Ue)),p){var qe=V[Sr];ge(qe)&&(qe=1);var yt=UT(OT(V[Ua],V[Dl],qe));ee[IL](Zt[4],yt),a&&(V[wr][Zt[4]]=yt)}}return ee}},J[CB]=function(V,ue,F){if(_===-1||c<_){(s[PL]===2||s[PL]===1)&&typeof V.id=="string"&&V.id[V.id[Oa]-1]!=="."&&(V.id+="."),ge(V[ru])&&(V[ru]=new Date);var ee=Bs(V,es.dataType,es.envelopeType,J[zS](),ue,F);J[Ha].track(ee)}else c===_&&NS(J,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},J.addDependencyListener=function(V){return yfe(le,D++,V)},J.addDependencyInitializer=function(V){return yfe(ye,D++,V)};function Ct(){var V=hr();n=!1,i=!1,r=V&&V.host&&V.host[yg](),s=t.getEmptyConfig(),a=!1,l=!1,c=0,u=null,p=!1,m=!1,g=null,f=!1,_=0,h=!1,y={},v=!1,T=!1,I=null,A=null,O=null,D=0,le=[],ye=[]}function oo(V){var ue=Zn(null,V,J[Ha]);s=xfe();var F=IB();It(F,function(ke,Ie){s[ke]=ue.getConfig(t.identifier,ke,Ie)});var ee=s[PL];if(a=s[tfe],l=s[ofe],f=s[nfe],_=s[ife],h=s[rfe],I=[].concat(s[sfe]||[],s.addIntEndpoints!==!1?uNe:[]),A=s[afe],m=ee===0||ee===1,p=ee===1||ee===2,f){var se=V.instrumentationKey||"unkwn";se[Oa]>5?g=gfe+se.substring(se[Oa]-5)+".":g=gfe+se+"."}v=!!s[lfe],T=!!s[cfe]}function qt(){var V=J[Ha].getPlugin(Rd);V&&(u=V.plugin[v_])}function ro(V){var ue=!0;return(V||s.ignoreHeaders)&&ze(s.ignoreHeaders,function(F){if(F[yg]()===V[yg]())return ue=!1,-1}),ue}function dn(){var V=sNe();if(V){var ue=$s(),F=V.polyfill;!T&&!n?(Ve(VT(ue,Sg,{ns:O,req:function(ee,se,ke){var Ie;if(!T&&n&&!j(null,se,ke)&&!(F&&i)){var Ue=ee.ctx();Ie=Je(se,ke);var qe=J[kL](Ie,se,ke);qe!==ke&&ee.set(1,qe),Ue.data=Ie}},rsp:function(ee,se){if(!T){var ke=ee.ctx().data;ke&&(ee.rslt=ee.rslt.then(function(Ie){return no(ee,(Ie||{})[ts],se,Ie,ke,function(){var Ue={statusText:(Ie||{})[su],headerMap:null,correlationContext:$o(Ie)};if(h&&Ie){var qe={};Ie.headers.forEach(function(yt,wi){ro(wi)&&(qe[wi]=yt)}),Ue[T_]=qe}return Ue}),Ie}).catch(function(Ie){throw no(ee,0,se,null,ke,null,{error:Ie.message||Fe(Ie)}),Ie}))}},hkErr:DS(J,15,"Failed to monitor Window.fetch"+w_)},!0,aNe())),n=!0):F&&Ve(VT(ue,Sg,{ns:O,req:function(ee,se,ke){j(null,se,ke)}})),F&&(ue[Sg].polyfill=F)}}function Lt(V,ue,F){Ve(NH(V,ue,F))}function lo(){lNe(J)&&!v&&!i&&(Lt(XMLHttpRequest,"open",{ns:O,req:function(V,ue,F,ee){if(!v){var se=V[__],ke=se[os];!j(se,F)&&X(se,!0)&&((!ke||!ke.xhrMonitoringState[CS])&&re(se,ue,F,ee),fe(se))}},hkErr:DS(J,15,$S+".open"+w_)}),Lt(XMLHttpRequest,"send",{ns:O,req:function(V,ue){if(!v){var F=V[__],ee=F[os];X(F)&&!ee.xhrMonitoringState[ES]&&(ae("xhr",ee),ee[au]=n_(),J[kL](ee,void 0,void 0,F),ee.xhrMonitoringState[ES]=!0)}},hkErr:DS(J,17,$S+w_)}),Lt(XMLHttpRequest,"abort",{ns:O,req:function(V){if(!v){var ue=V[__],F=ue[os];X(ue)&&!F.xhrMonitoringState[AS]&&(F[Wd]=1,F.xhrMonitoringState[AS]=!0)}},hkErr:DS(J,13,$S+".abort"+w_)}),Lt(XMLHttpRequest,"setRequestHeader",{ns:O,req:function(V,ue,F){if(!v&&a){var ee=V[__];X(ee)&&ro(ue)&&(ee[os][wr][ue]=F)}},hkErr:DS(J,71,$S+".setRequestHeader"+w_)}),i=!0)}function j(V,ue,F){var ee=!1,se=((Ke(ue)?ue:(ue||{}).url||"")||"")[yg]();if(ze(I,function(Ue){var qe=Ue;Ke(Ue)&&(qe=new RegExp(Ue)),ee||(ee=qe.test(se))}),ee)return ee;var ke=E_(se,"?"),Ie=E_(se,"#");return(ke===-1||Ie!==-1&&Ie=0;Oe--){var B=kp[Oe];if(B){if(B.entryType==="resource")B.initiatorType===V&&(E_(B[Jd],qe)!==-1||E_(qe,B[Jd])!==-1)&&(si=B);else if(B.entryType==="mark"&&B[Jd]===se[Jd]){ue[MS]=si;break}if(B[ru]=Ie||ue.async===!1?(se&&Xe(ke.clearMarks)&&ke.clearMarks(se[Jd]),ue.perfAttempts=yt,F()):setTimeout(wi,Ue)}catch(E){ee(E)}})()}function Je(V,ue){var F,ee=q(),se=ee&&ee[kS]()||br(),ke=br().substr(0,16),Ie=new kB(se,ke,J[zS](),(F=J.core)===null||F===void 0?void 0:F.getTraceCtx());Ie[Sr]=ee&&ee[IS](),Ie[au]=n_(),Ie[PS]=l,V instanceof Request?Ie[Tr]=V?V.url:"":Ie[Tr]=V;var Ue="GET";ue&&ue[zl]?Ue=ue[zl]:V&&V instanceof Request&&(Ue=V[zl]),Ie[zl]=Ue;var qe={};if(a){var yt=new Headers((ue?ue[Kd]:0)||(V instanceof Request?V[Kd]||{}:{}));yt.forEach(function(wi,si){ro(si)&&(qe[si]=wi)})}return Ie[wr]=qe,ae(Sg,Ie),Ie}function st(V){var ue="";try{ge(V)||(typeof V=="string"?ue+="(url: '".concat(V,"')"):ue+="(url: '".concat(V.url,"')"))}catch(F){NS(J,15,"Failed to grab failed fetch diagnostics message",{exception:Fe(F)})}return ue}function no(V,ue,F,ee,se,ke,Ie){if(!se)return;function Ue(qe,yt,wi){var si=wi||{};si.fetchDiagnosticsMessage=st(F),yt&&(si.exception=Fe(yt)),C_(J,qe,_fe+"fetch call"+ffe,si)}se[xg]=n_(),se[ts]=ue,Pe(Sg,se,function(){var qe=se[LS]("Fetch",a,ke),yt;try{A&&(yt=A({status:ue,request:F,response:ee}))}catch{C_(J,104,bfe)}if(qe){yt!==void 0&&(qe[Yd]=Qo(Qo({},qe.properties),yt));var wi=se[RS]();co(ye,J[Ha],se,qe,null,wi)}else Ue(14,null,{requestSentTime:se[au],responseFinishedTime:se[xg]})},function(qe){Ue(18,qe,null)})}function $o(V){if(V&&V[Kd])try{var ue=V[Kd].get(Zt[0]);return Zc[AB](ue)}catch(F){C_(J,18,hfe,{fetchDiagnosticsMessage:st(V),exception:Fe(F)})}}function co(V,ue,F,ee,se,ke){var Ie=!0,Ue=V[Oa];if(Ue>0){var qe={item:ee,properties:se,sysProperties:ke,context:F?F[v_]:null,aborted:F?!!F[Wd]:!1};Ie=Sfe(ue,V,qe,"initializer")}Ie&&J[CB](ee,se,ke)}}),o}return t.prototype.processTelemetry=function(o,n){this.processNext(o,n)},t.prototype.addDependencyInitializer=function(o){return null},t.identifier="AjaxDependencyPlugin",t.getDefaultConfig=IB,t.getEmptyConfig=xfe,t}(Da);var Cfe=function(){function e(){}return e}();var Efe=function(){function e(){this.id="browser",this.deviceClass="Browser"}return e}();var A_="sessionManager",wg="update",k_="isUserCookieSet",I_="isNewUser",FL="getTraceCtx",FS="telemetryTrace",qL="applySessionContext",OL="applyApplicationContext",UL="applyDeviceContext",HL="applyOperationContext",BL="applyUserContext",VL="applyOperatingSystemContxt",GL="applyLocationContext",QL="applyInternalContext",Ba="accountId",P_="sdkExtension",L_="getSessionId",Nl="namePrefix",R_="sessionCookiePostfix",M_="userCookiePostfix",Xd="idLength",ep="getNewId",Cg="length",tp="automaticSession",op="authenticatedId",$_="sessionExpirationMs",qS="sessionRenewalMs",Va="config",D_="acquisitionDate",OS="renewalDate",US="cookieDomain",z_="join",N_="cookieSeparator",jL="authUserCookieName";var dNe="2.8.13",Afe=function(){function e(t){this.sdkVersion=(t[P_]&&t[P_]()?t[P_]()+"_":"")+"javascript:"+dNe}return e}();var kfe=function(){function e(){}return e}();var pNe="ai_session",LB=function(){function e(){}return e}();var Ife=function(){function e(t,o){var n=this,i,r,s=$a(o),a=Jm(o);ft(e,n,function(l){t||(t={}),Xe(t[$_])||(t[$_]=function(){return e.acquisitionSpan}),Xe(t[qS])||(t[qS]=function(){return e.renewalSpan}),l[Va]=t;var c=l.config[R_]&&l[Va][R_]()?l.config[R_]():l.config[Nl]&&l[Va][Nl]()?l[Va][Nl]():"";i=function(){return pNe+c},l[tp]=new LB,l[wg]=function(){var _=zn(),h=!1,y=l[tp];y.id||(h=!u(y,_));var v=l.config[$_]();if(!h&&v>0){var T=l.config[qS](),I=_-y[D_],A=_-y[OS];h=I<0||A<0,h=h||I>v,h=h||A>T}h?m(_):(!r||_-r>e.cookieUpdateInterval)&&g(y,_)},l.backup=function(){var _=l[tp];f(_.id,_[D_],_[OS])};function u(_,h){var y=!1,v=a.get(i());if(v&&Xe(v.split))y=p(_,v);else{var T=QH(s,i());T&&(y=p(_,T))}return y||!!_.id}function p(_,h){var y=!1,v=", session will be reset",T=h.split("|");if(T[Cg]>=2)try{var I=+T[1]||0,A=+T[2]||0;isNaN(I)||I<=0?Ce(s,2,27,"AI session acquisition date is 0"+v):isNaN(A)||A<=0?Ce(s,2,27,"AI session renewal date is 0"+v):T[0]&&(_.id=T[0],_[D_]=I,_[OS]=A,y=!0)}catch(O){Ce(s,1,9,"Error parsing ai_session value ["+(h||"")+"]"+v+" - "+Tt(O),{exception:Fe(O)})}return y}function m(_){var h=l[Va]||{},y=(h[ep]?h[ep]():null)||jc;l.automaticSession.id=y(h[Xd]?h[Xd]():22),l[tp][D_]=_,g(l[tp],_),ZT()||Ce(s,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function g(_,h){var y=_[D_];_[OS]=h;var v=l[Va],T=v[qS](),I=y+v[$_]()-h,A=[_.id,y,h],O=0;I0?O:null,D),r=h}function f(_,h,y){jH(s,i(),[_,h,y][z_]("|"))}})}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}();var Pfe=function(){function e(t,o,n,i){var r=this;r.traceID=t||br(),r.parentID=o;var s=hr();!n&&s&&s.pathname&&(n=s.pathname),r.name=Qt(i,n)}return e}();function Lfe(e){return!(typeof e!="string"||!e||e.match(/,|;|=| |\|/))}var Rfe=function(){function e(t,o){this.isNewUser=!1,this.isUserCookieSet=!1;var n=$a(o),i=Jm(o),r;ft(e,this,function(s){s[Va]=t;var a=s.config[M_]&&s[Va][M_]()?s[Va][M_]():"";r=function(){return e.userCookieName+a};var l=i.get(r());if(l){s[I_]=!1;var c=l.split(e[N_]);c[Cg]>0&&(s.id=c[0],s[k_]=!!s.id)}function u(){var y=t||{},v=(y[ep]?y[ep]():null)||jc,T=v(y[Xd]?t[Xd]():22);return T}function p(y){var v=jr(new Date);s.accountAcquisitionDate=v,s[I_]=!0;var T=[y,v];return T}function m(y){var v=31536e3;s[k_]=i.set(r(),y,v)}if(!s.id){s.id=u();var g=p(s.id);m(g[z_](e[N_]));var f=t[Nl]&&t[Nl]()?t[Nl]()+"ai_session":"ai_session";YH(n,f)}s[Ba]=t[Ba]?t[Ba]():void 0;var _=i.get(e[jL]);if(_){_=decodeURI(_);var h=_.split(e[N_]);h[0]&&(s[op]=h[0]),h[Cg]>1&&h[1]&&(s[Ba]=h[1])}s.setAuthenticatedUserContext=function(y,v,T){T===void 0&&(T=!1);var I=!Lfe(y)||v&&!Lfe(v);if(I){Ce(n,2,60,"Setting auth user context failed. User auth/account id should be of type string, and not contain commas, semi-colons, equal signs, spaces, or vertical-bars.",!0);return}s[op]=y;var A=s[op];v&&(s[Ba]=v,A=[s[op],s.accountId][z_](e[N_])),T&&i.set(e[jL],encodeURI(A))},s.clearAuthenticatedUserContext=function(){s[op]=null,s[Ba]=null,i.del(e[jL])},s[wg]=function(y){if(s.id!==y||!s[k_]){var v=y||u(),T=p(v);m(T[z_](e[N_]))}}})}return e.cookieSeparator="|",e.userCookieName="ai_user",e.authUserCookieName="ai_authUser",e}();var YL="ext",WL="tags";function F_(e,t){e&&e[t]&&fr(e[t])[Cg]===0&&delete e[t]}var Mfe=function(){function e(t,o,n){var i=this,r=t.logger;this.appId=function(){return null},this[L_]=function(){return null},ft(e,this,function(s){if(s.application=new Cfe,s.internal=new Afe(o),Gc()){s[A_]=new Ife(o,t),s.device=new Efe,s.location=new kfe,s.user=new Rfe(o,t);var a=void 0,l=void 0,c;n&&(a=n.getTraceId(),l=n.getSpanId(),c=n.getName()),s[FS]=new Pfe(a,l,c,r),s.session=new LB}s[L_]=function(){var u=s.session,p=null;if(u&&Ke(u.id))p=u.id;else{var m=(s[A_]||{})[tp];p=m&&Ke(m.id)?m.id:null}return p},s[qL]=function(u,p){Ot(Fo(u.ext,ei.AppExt),"sesId",s[L_](),Ke)},s[VL]=function(u,p){Ot(u.ext,ei.OSExt,s.os)},s[OL]=function(u,p){var m=s.application;if(m){var g=Fo(u,WL);Ot(g,Xt.applicationVersion,m.ver,Ke),Ot(g,Xt.applicationBuild,m.build,Ke)}},s[UL]=function(u,p){var m=s.device;if(m){var g=Fo(Fo(u,YL),ei.DeviceExt);Ot(g,"localId",m.id,Ke),Ot(g,"ip",m.ip,Ke),Ot(g,"model",m.model,Ke),Ot(g,"deviceClass",m.deviceClass,Ke)}},s[QL]=function(u,p){var m=s.internal;if(m){var g=Fo(u,WL);Ot(g,Xt.internalAgentVersion,m.agentVersion,Ke),Ot(g,Xt.internalSdkVersion,m.sdkVersion,Ke),(u.baseType===Qc.dataType||u.baseType===Ri.dataType)&&(Ot(g,Xt.internalSnippet,m.snippetVer,Ke),Ot(g,Xt.internalSdkSrc,m.sdkSrc,Ke))}},s[GL]=function(u,p){var m=i.location;m&&Ot(Fo(u,WL,[]),Xt.locationIp,m.ip,Ke)},s[HL]=function(u,p){var m=s[FS];if(m){var g=Fo(Fo(u,YL),ei.TraceExt,{traceID:void 0,parentID:void 0});Ot(g,"traceID",m.traceID,Ke,ge),Ot(g,"name",m.name,Ke,ge),Ot(g,"parentID",m.parentID,Ke,ge)}},s.applyWebContext=function(u,p){var m=i.web;m&&Ot(Fo(u,YL),ei.WebExt,m)},s[BL]=function(u,p){var m=s.user;if(m){var g=Fo(u,WL,[]);Ot(g,Xt.userAccountId,m[Ba],Ke);var f=Fo(Fo(u,YL),ei.UserExt);Ot(f,"id",m.id,Ke),Ot(f,"authId",m[op],Ke)}},s.cleanUp=function(u,p){var m=u.ext;m&&(F_(m,ei.DeviceExt),F_(m,ei.UserExt),F_(m,ei.WebExt),F_(m,ei.OSExt),F_(m,ei.AppExt),F_(m,ei.TraceExt))}})}return e.__ieDyn=1,e}();var mNe=function(e){Mn(t,e);function t(){var o=e.call(this)||this;o.priority=110,o.identifier=Rd;var n,i,r;return ft(t,o,function(s,a){l(),s.initialize=function(p,m,g,f){a.initialize(p,m,g,f),c(p)},s.processTelemetry=function(p,m){if(!ge(p)){m=s._getTelCtx(m),p.name===Ri.envelopeType&&m.diagLog().resetInternalMessageCount();var g=s.context||{};g.session&&typeof s.context.session.id!="string"&&g[A_]&&g[A_][wg]();var f=g.user;if(f&&!f[k_]&&f[wg](g.user.id),u(p,m),f&&f[I_]){f[I_]=!1;var _=new Qc(72,(Li()||{}).userAgent||"");mH(m.diagLog(),1,_)}s.processNext(p,m)}},s._doTeardown=function(p,m){var g=(p||{}).core();if(g&&g[FL]){var f=g[FL](!1);f===i&&g.setTraceCtx(r)}l()};function l(){n=null,i=null,r=null}function c(p){var m=s.identifier,g=s.core,f=Zn(null,p,g),_=t.getDefaultConfig();n=n||{},It(_,function(h,y){n[h]=function(){return f.getConfig(m,h,y())}}),r=g[FL](!1),s.context=new Mfe(g,n,r),i=cg(s.context[FS],r),g.setTraceCtx(i),s.context.appId=function(){var h=g.getPlugin(nS);return h?h.plugin._appId:null},s._extConfig=n}function u(p,m){Fo(p,"tags",[]),Fo(p,"ext",{});var g=s.context;g[qL](p,m),g[OL](p,m),g[UL](p,m),g[HL](p,m),g[BL](p,m),g[VL](p,m),g.applyWebContext(p,m),g[GL](p,m),g[QL](p,m),g.cleanUp(p,m)}}),o}return t.getDefaultConfig=function(){var o,n,i=null,r=(o={instrumentationKey:function(){return n}},o[Ba]=function(){return i},o.sessionRenewalMs=function(){return 30*60*1e3},o.samplingPercentage=function(){return 100},o.sessionExpirationMs=function(){return 24*60*60*1e3},o[US]=function(){return i},o[P_]=function(){return i},o.isBrowserLinkTrackingEnabled=function(){return!1},o.appId=function(){return i},o[L_]=function(){return i},o[Nl]=function(){return n},o[R_]=function(){return n},o[M_]=function(){return n},o[Xd]=function(){return 22},o[ep]=function(){return i},o);return r},t}(Da),RB=mNe;var $fe="AuthenticatedUserContext",q_="track";var KL="snippet",Dfe="getCookieMgr",zfe="startTrackPage",Nfe="stopTrackPage",JL="flush",Ffe="startTrackEvent",qfe="stopTrackEvent",MB="addTelemetryInitializer",vSt=MB+"s",$B="pollInternalLogs",ZL="getPlugin",XL="evtNamespace",Ofe=q_+"Event",Ufe=q_+"Trace",Hfe=q_+"Metric",Bfe=q_+"PageView",Vfe=q_+"Exception",Gfe=q_+"DependencyData",Qfe="set"+$fe,jfe="clear"+$fe;var Yfe="updateSnippetDefinitions",Wfe="loadAppInsights",DB="endpointUrl";var HS="diagnosticLogInterval";var Kfe="disableFlushOnBeforeUnload",Jfe="disableFlushOnUnload";var lu="config",Qs="context",BS="push",eR="version",np="queue",tR="connectionString",zB="instrumentationKey",VS="appInsights",NB="disableIkeyDeprecationMessage",FB="getTransmissionControls",O_="onunloadFlush",qB="addHousekeepingBeforeUnload",GS="indexOf";var OB,Zfe=[KL,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"];var UB=function(){function e(t){var o=this,n,i,r,s,a,l,c;ft(e,this,function(u){y(),s=""+(t.sv||t[eR]||""),t[np]=t[np]||[],t[eR]=t[eR]||2;var p=t[lu]||{};if(p[tR]){var m=XH(p[tR]),g=m.ingestionendpoint;p[DB]=g?g+Wc:p[DB],p[zB]=m.instrumentationkey||p[zB]}u[VS]=new _L,i=new RB,n=new PB,r=new TB,c=new MH,u.core=c;var f=ge(p[NB])?!0:p[NB];!p[tR]&&!f&&Ce(c.logger,1,106,"Instrumentation key support will end soon, see aka.ms/IkeyMigrate"),u[KL]=t,u[lu]=p,_(),u[JL]=function(v){v===void 0&&(v=!0),Td(c,function(){return"AISKU.flush"},function(){ze(c[FB](),function(T){ze(T,function(I){I[JL](v)})})},null,v)},u[O_]=function(v){v===void 0&&(v=!0),ze(c[FB](),function(T){ze(T,function(I){I[O_]?I[O_]():I[JL](v)})})},u[Wfe]=function(v,T,I){v===void 0&&(v=!1);function A(O){if(O){var D="";ge(s)||(D+=s),v&&(D+=".lg"),u[Qs]&&u[Qs].internal&&(u[Qs].internal.snippetVer=D||"-"),It(u,function(le,ye){Ke(le)&&!Xe(ye)&&le&&le[0]!=="_"&&Dn(Zfe,le)===-1&&(O[le]=ye)})}}return v&&u[lu].extensions&&u[lu].extensions.length>0&&Po("Extensions not allowed in legacy mode"),Td(u.core,function(){return"AISKU.loadAppInsights"},function(){var O=[];O[BS](r),O[BS](i),O[BS](n),O[BS](u[VS]),c.initialize(u[lu],O,T,I),u[Qs]=i[Qs],OB&&u[Qs]&&(u[Qs].internal.sdkSrc=OB),A(u[KL]),u.emptyQueue(),u[$B](),u[qB](o)}),u},u[Yfe]=function(v){KU(v,u,function(T){return T&&Dn(Zfe,T)===-1})},u.emptyQueue=function(){try{if(kt(u.snippet[np])){for(var v=u.snippet[np].length,T=0;T0?u[lu][HS]:1e4}function h(){return n}function y(){a=Jn("AISKU"),l=null,n=null,i=null,r=null,s=null}})}return e.prototype.addDependencyInitializer=function(t){return null},e}();(function(){var e=null,t=!1,o=[":/https://www.microsoft.com/js.monitor.azure.com/","://az416426.vo.msecnd.net/"];try{var n=(document||{}).currentScript;n&&(e=n.src)}catch{}if(e)try{var i=e.toLowerCase();if(i){for(var r="",s=0;s{},trackException:()=>{},trackTrace:()=>{}};function Xfe(){if(!C.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"}[te.hostname];if(!e)return;let t=new UB({config:{instrumentationKey:e,disableFetchTracking:!1}});t.loadAppInsights();let o=()=>{w.isAuthenticated?t.setAuthenticatedUserContext(w.userId):t.clearAuthenticatedUserContext()};w.subscribe(So,o),o(),t.trackPageView(),ut.subscribe(bo,()=>{t.trackPageView({properties:{syntheticPageView:!0}})}),qn=t}function HB(e,t){return async function(...o){let n=t;for(;;)try{return await e.apply(null,o)}catch(i){if(n<=0)throw i;n--}}}async function ehe(){let e={method:"POST"},t=K(z.contentAuthorizationService.deleteCasTokenCookie,e,!0,!1);await HB(async()=>{(await $(t)).ok},10)()}k();We();var gNe=0;function tt(){return`ax-${gNe++}`}function cu(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map(e=>{if(e==="-"||e==="4")return e;let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}).join("")}function qo(e){return e?e.toLowerCase().replace(/_/g,"-").replace(/\W/g,"-"):""}var ohe=d`
`;function BB(e=!0){let t=e?"color-text-subtle":"white-static-text";return e?d``:d``}function the(e){return d``}var fNe="casSignIn",oR=class e{constructor(t,o=!1){this.url=ir(t),o&&this.url.searchParams.set(fNe,"true"),this.source=this.url.searchParams.get("source"),this.source||(this.source=P("page_type")==="learn"||P("page_kind")==="learn"?"learn":"docs",P("uhfHeaderId")!=="answers"&&this.url.searchParams.set("source",this.source))}static getProfileContext(t){try{let o=t||location.href,n=new e(o),i=ir(o);return i.searchParams.delete("source"),{redirectUrl:i.href,source:n.source,microsoftUser:void 0}}catch{return{redirectUrl:void 0,source:void 0,microsoftUser:void 0}}}toString(){return this.url.href}};function nhe(e,t=!1){let o=null;try{o=new oR(e,t).toString()}catch{o=location.href}return o}var vwt=new URL("./register",Tc()).toString(),nR=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`,ywt=rhe(),xwt=location.origin,hNe=R.supportLevel==="production"?"18fbca16-2224-45f6-85b0-f7bf2b39b3f3":"f602d4fb-244f-48be-a746-435fac3917df",bNe="https://login.microsoftonline.com",_Ne="common",Mi,ihe=async()=>{let e={auth:{clientId:hNe,authority:`${bNe}/${_Ne}`,redirectUri:nR},cache:{cacheLocation:"localStorage"},system:{loggerOptions:{loggerCallback:(t,o,n)=>{if(!n)switch(t){case zt.Info:R.reviewFeatures&&console.info(o);return;case zt.Verbose:R.reviewFeatures&&console.debug(o);return;case zt.Warning:R.reviewFeatures?console.warn(o):qn.trackTrace({message:o,severityLevel:zt.Warning,iKey:"learn.msal"});return;case zt.Error:R.reviewFeatures?console.error(o):qn.trackTrace({message:o,severityLevel:zt.Error,iKey:"learn.msal"});return}}}}};Mi=new bT(e),await Mi.initialize()};function rhe(){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 vNe(e,t=null,o=!1){let n=nhe(e,o),i=rhe(),r=encodeURIComponent(n),s=cu();return{scopes:["openid","profile","email"],prompt:t,redirectStartPage:i,nonce:s,redirectUri:nR,state:r}}function she(e,t=null,o=!1){return Mi.setActiveAccount(null),Mi.loginRedirect(vNe(e,t,o))}var yNe={scopes:["openid","profile","email"]};function ahe(){try{let e=xNe();return e?Mi.acquireTokenSilent(Object.assign({},yNe,{prompt:"none",account:e})).then(t=>(dk(t.idToken),!0)).catch(()=>(pk(),!1)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}function xNe(e=Yu()){if(!e)return null;let o=fk(e).preferred_username;return o?Mi.getAccount({username:o}):null}function Oo(e=location.href,t="select_account",o=!1){she(e,t,o)}var TNe=location.origin;async function ns(e=location.href,t=!1,o=!1){if(SNe(),wNe(),t&&await $(z.auth.signOut),Rpe(),Zo()&&await ehe(),gk(),pk(),!o){let n=ir(e,TNe);location.href=`${n.origin}${n.pathname}${n.search}`}}function SNe(){localStorage.removeItem("gitHubToken")}function wNe(){localStorage.removeItem("adoToken")}async function VB(e,t,o,n){return Se({behavior:me.SIGNIN,actionType:Ee.OTHER,content:{autoIngest:!0,type:"learn-sso-attempt",loadTime:performance.now(),timeStamp:new Date().toISOString(),referrer:S.referrer,hasLoginHint:!!t,status:e,uuid:crypto.randomUUID(),errorCode:o,errorMessage:n}})}function lhe({sso:e,loginHint:t}={}){return async function(o=()=>!1){if(e)try{await xe,VB("started",t),Vt({context:"sso",source:e},"replaceState");let n={scopes:["openid","profile","email"]};t&&(n.loginHint=t);let i=await Mi.ssoSilent(n);if(i)return gk(),dk(i.idToken),VB("completed",t),!0}catch(n){return n instanceof rt&&await VB("error",t,n.errorCode,n.errorMessage),n instanceof Co&&(ns("",!1,!0),Oo(window.location.href,"select_account")),o()}return o()}}function che(e=ce().sso,t=ce().login_hint){return(e||t)&&Vt({sso:null,login_hint:null},"replaceState"),{sso:e,loginHint:t}}function uhe(e=new URL(window.location.href)){let t=e.searchParams.get("redirectUrl");if(!t)return{};try{let o=new URL(t,"https://fakeurl.com"),n=o.searchParams.get("sso")??void 0,i=o.searchParams.get("login_hint")??void 0;return{sso:n,loginHint:i}}catch{return{}}}var iR=class{},rR=class{constructor(t,o,n=new Be){this.stack=t,this.final=o,this.bus=n}async run(){let t=0,o=!0,n=this.final,i=[],r=this.bus.subscribe(iR,()=>o=!1),s=a=>(this.bus.publish(new iR),n=a||n,!1);try{for(;o&&this.stack[t];){let a=await this.stack[t](s);if(a||i[t]!==!1){i[t]=a,t+=a?-1:1;continue}o=!1}t>=0&&n(),r()}catch(a){throw r(),this.final(),a}}};var phe=z.profile.me,mhe=che(),dhe=uhe(),sCt=dhe.sso?dhe:mhe,CNe=`${phe}?isCPMCalled=true`,ghe=new URL("./register",Tc()).toString();async function Eg(){let t=location.pathname.split("/").indexOf("edit")!==-1?CNe:phe;try{let n=await fetch(K(t,{credentials:"include"}));if(n.ok&&n.status!==204){let i=await n.json();w.readUserProfile(i)}else w.setAnonymous()}catch{w.setAnonymous()}}async function fhe(e=()=>{w.setAnonymous()}){if(!C.userServices)return w.setAnonymous(),Promise.resolve();await new rR([ENe,ANe,lhe(mhe),ahe],e).run()}async function ENe(e=()=>!1){try{let t=Zo();if(t){let o=tm(t);return w.readUserFromToken(o),!0}return!1}catch(t){return t instanceof ul?!1:e()}}async function ANe(e=()=>!1){try{let t=Yu();if(t){tm(t);let o=await Q2(t);return mk(o),!0}return!1}catch(t){return t instanceof ul?!1:t instanceof Tx?location.pathname.endsWith("/external-sign-in.html")?!1:e(kNe):e()}}function kNe(){if(P("page_kind")!=="register"&&(w.setAnonymous(),!location.href.includes("/answers"))){let o=pe({redirectUrl:location.href});location.href=ir(`${ghe}?${o}`).href;return}let e=Yu();if(!e)return;let t=tm(e);w.mapIdTokenToProfile(t)}function hhe(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 ip=["a","area","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","summary","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'];function sR(e){return e.matches(ip.join(","))}function aR(e,t=!0){return o=>{if(o.target instanceof Element&&!e.contains(o.target)){o.preventDefault();let n,i=Array.from(e.querySelectorAll(ip.join(",")));o.target.compareDocumentPosition(e)&(t?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING)&&i.reverse();let r=i.length;for(;r--;){let s=i[r],a=getComputedStyle(s);if(!s.hidden&&a.display!=="none"&&a.visibility!=="hidden"&&(s.offsetWidth>0||s.offsetHeight>0)){n=s;break}}n=n||e,n.focus()}}}function GB(e){let t=e.createElement("span");return t.setAttribute("tabindex","0"),t.classList.add("modal-tab-sentinel"),t}k();var lR=[];function Ag(e){lR.push(e)}function Ut(e,t,o,n){e.addEventListener(t,o,n);let i=()=>e.removeEventListener(t,o,n);return Ag(i),i}function bhe(e=document.documentElement,t=document.documentElement||document.body,o=(document.documentElement||document.body).scrollTop){return t.style.left="0",t.style.right="0",t.style.top=`-${o}px`,t.style.position="fixed",(n=!0)=>{t.style.left="",t.style.right="",t.style.top="",t.style.position="",n&&(e.scrollTop=o)}}var U_=e=>{let t=e.querySelector("[data-autofocus]");if(t&&sR(t)){t.focus();return}e.focus()},we=class e{constructor(t,o="visibility-hidden-visual-diff"){this.restoreScrollbar=()=>{};this.clickHandler=t=>{let o=t.target,n=o.closest(".modal-pop-content"),i=o.closest(".modal-close");i?(t.preventDefault(),this.hide(i.getAttribute("data-modal-result"))):n&&(t.preventDefault(),this.popContent())};this.escHandler=t=>{if(t.key==="Escape"){if(S.activeElement&&S.activeElement.closest(".popover[open]"))return;t.preventDefault(),this.hide()}};this.setAriaLabelledBy=t=>{let o=t.querySelector("h1")||t.querySelector("h2")||t.querySelector("h3")||t.querySelector("h4")||t.querySelector("p")||t.querySelector("figcaption");o&&(o.id||(o.id="modal-heading"),t.setAttribute("aria-labelledby",o.id))};this.container=S.createElement("div"),this.container.setAttribute("tabindex","-1"),this.container.setAttribute("role","dialog"),this.container.setAttribute("aria-modal","true"),this.container.classList.add("modal","has-default-focus"),o&&this.container.classList.add(o),this.container.setAttribute("data-test-id","modal-container"),x(d`${t} `,this.container),window.addEventListener("close-modals",()=>{this.hide()}),this.wrapper=S.createElement("div"),this.wrapper.setAttribute("data-bi-name","modal"),this.wrapper.insertAdjacentElement("afterbegin",this.container),this.contentStack=[t]}static get openCount(){return window.openModalCount||0}static set openCount(t){window.openModalCount=t}show(){return this.container.classList.contains("is-active")?this.openPromise:(e.openCount++,S.body.insertAdjacentElement("afterbegin",GB(S)),S.body.insertAdjacentElement("afterbegin",this.wrapper),this.wrapper.addEventListener("click",this.clickHandler),this.wrapper.addEventListener("keydown",this.escHandler),this.restoreScrollbar=bhe(S.documentElement,S.scrollingElement||S.documentElement,(S.scrollingElement||S.documentElement||S.body).scrollTop),this.container.classList.add("is-active"),S.body.insertAdjacentElement("afterbegin",GB(S)),this.setAriaLabelledBy(this.container),window.dispatchEvent(new CustomEvent("modal-show",{detail:{container:this.container}})),this.lastFocus=S.activeElement,this.focusHandler=aR(this.wrapper),Ut(window,"focus",this.focusHandler,!0),U_(this.container),this.openPromise=new Promise(t=>this.resolveOpen=t),this.openPromise)}hide(t=null){this.container.classList.contains("is-active")&&(e.openCount--,this.restoreScrollbar(),this.container.classList.remove("is-active"),this.wrapper.parentElement.removeChild(this.wrapper),Array.from(S.body.querySelectorAll(".modal-tab-sentinel")).forEach(o=>{S.body.removeChild(o)}),window.removeEventListener("focus",this.focusHandler),this.wrapper.removeEventListener("click",this.clickHandler),this.wrapper.removeEventListener("keydown",this.escHandler),this.lastFocus&&this.lastFocus instanceof HTMLElement&&this.lastFocus.focus(),this.lastFocus.closest("details")&&this.lastFocus.closest("details").querySelector("summary").focus(),this.resolveOpen(t),this.resolveOpen=void 0,this.openPromise=void 0)}updateContent(t,o=!0,n=!1){let i=this.container.querySelector(".modal-slide-container"),r=i.querySelector(".modal-slide:first-of-type");if(i===null||r===null)throw new Error(`The ${i===null?"modal-slide-container":"modal-slide"} class is missing!`);i.appendChild(t);let s={forward:dt.userDir==="ltr"?"slide-right":"slide-left",backward:dt.userDir==="ltr"?"slide-left":"slide-right"},a=n?s.forward:s.backward;o?(setTimeout(()=>{r.classList.add(a),t.classList.add(a)},50),setTimeout(()=>{t.classList.remove(a),l(this)},250)):l(this);function l(c){i.removeChild(r),U_(c.container),c.setAriaLabelledBy(c.container)}}pushContent(t){this.contentStack.push(t),x(d`${this.contentElement} `,this.container),this.setAriaLabelledBy(this.container),U_(this.contentElement)}popContent(){if(this.contentStack&&this.contentStack.length<=1)throw new Error("Error getting modal content");this.contentStack.pop(),x(d`${this.contentElement} `,this.container),U_(this.contentElement)}get contentElement(){return this.contentStack[this.contentStack.length-1]}};k();var cR={setItem(e,t,o){try{let n=o.getTime();if(Date.now()>=n)return;let i={value:t,expiry:n};oe.setItem(e,JSON.stringify(i))}catch{}},getItem(e){try{let t=oe.getItem(e);if(!t)return null;let o=JSON.parse(t);return typeof o.expiry!="number"||isNaN(o.expiry)||Date.now()>=o.expiry?(oe.removeItem(e),null):o.value}catch{return null}},removeItem(e){oe.removeItem(e)},clear(){oe.clear()}};k();var uR=location.pathname.split("/").map(e=>e.toLowerCase()),INe=uR.length>2?uR[2]:"",Ht=INe==="test";function _he(){let e=P("original_content_git_url")||P("original_ref_skeleton_git_url")||"",t=e;if(t!==""&&t.substring(0,8)==="https://")try{let o=new URL(e);t=`${o.pathname}${o.search}`}catch{t=t.substring(8)}return t}function dR(){let e=PNe(),t;return Ht?t=`/${b.data.userLocale}/test/training/support/troubleshooting${e}`:t=`/${b.data.userLocale}/training/support/troubleshooting${e}`,t}function PNe(){let e={uid:P("uid")||"",documentId:P("document_id")||"",versionIndependentDocumentId:P("document_version_independent_id")||"",platformId:P("platform_id")||"",contentPath:_he(),url:location.href,author:P("ms.author")||""},t=Object.keys(e).reduce((o,n)=>{let i=e[n];return i===void 0||i.trim().length===0||o.push(`${n}=${encodeURIComponent(i)}`),o},[]);return t.length===0?"":`?${t.join("&")}`}function pR(e,t=Oo){let o=new URL(e||location.href);o.searchParams.set("account-linking","1"),t(o.href,"login")}var Cr={Cancel:{text:Ne,clickHandler:Ph,modifiers:"button-primary",biName:"add-account-error-cancel"},ContactCustomerSupport:{text:KW,clickHandler:()=>{location.href=dR()},modifiers:"button-primary button-filled",biName:"add-account-error-contact-support"},Ok:{text:kn,clickHandler:Ph,modifiers:"button-primary button-filled",biName:"add-account-error-ok"},SelectAccount:{text:Bse,clickHandler:()=>pR(),modifiers:"button-primary button-filled",biName:"add-account-error-select-account"}};function LNe(e){return{accountAlreadyRegistered:{title:Pse.replace("{account}",e),description:Dse,buttons:[Cr.Cancel,Cr.SelectAccount]},alreadyHasCertProfileConnected:{title:Vse,description:Gse,buttons:[Cr.ContactCustomerSupport]},alreadyLinked:{title:zse,description:u2,buttons:[Cr.Cancel,Cr.SelectAccount]},moreThanOneAccountPerTenant:{title:Mse,description:`${qse} ${u2}.`,buttons:[Cr.Ok]},moreThanOneMSAAccount:{title:Ose,description:Nse.replace("{account}",e),buttons:[Cr.Ok]},needAtLeastOneAccountLinked:{title:Fse,description:$se,buttons:[Cr.Ok]},numberOfAccounts:{title:Lse,description:Rse,buttons:[Cr.Ok]},profileMergeRunning:{title:Use,description:Hse,buttons:[Cr.Ok]},profileMergeAlreadyComplete:{title:Yse,description:Wse,buttons:[Cr.Ok]},profileMergeRecordNotFound:{title:Kse,description:Jse,buttons:[Cr.Ok]},previousMergeAttemptPreventsAction:{title:Zse,description:Xse,buttons:[Cr.Ok]},unexpectedError:{title:Kt,buttons:[Cr.Ok]}}}function QB(e,t){let o=LNe(e)[t];return d`${o.title?d`

${o.title}

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

${N(o.description)}

`:null} ${o.buttons?d`
${o.buttons.map(n=>d``)}
`:null} `}var RNe={Complete:{color:"success",icon:"docon-status-success-outline",text:eae},Failed:{color:"danger",icon:"docon-status-failure-outline",text:tae},Running:{color:"warning",icon:"docon-status-info-outline",text:sae},Terminated:{color:"success",icon:"docon-status-success-outline",text:aae}};function MNe(){return cR.getItem("check-merge-status")!==null}function $Ne(){cR.removeItem("check-merge-status")}async function mR(e=!1){if(!(!e&&!MNe()))try{let t=await W2();if(t===null||(jB(t),t!=="Running"))return;let o=setInterval(async()=>{t=await W2(),t!==null&&(jB(t),t!=="Running"&&(clearInterval(o),$Ne()))},3e4)}catch{}}async function DNe(){try{await uce()}catch{}}function zNe(e){return d`
`}async function jB(e){if(e==="Acknowledged")return;if(e==="Locked"){NNe();return}e==="Complete"&&Nr.type==="profile"&&await Eg();let t=RNe[e];if(!t)return;let o=iae,n=rae;if(e==="Failed"){let l=await cce();if(!l)return;let c=l.sourceUserName,u=l.destinationUserName;t.text=t.text.replace("{sourceUser}",Ye(c)),t.text=t.text.replace("{destinationUser}",Ye(u)),o=o.replace("{terminateMergeText}",p2),n=n.replace("{retryMergeText}",d2)}let i=d`

${oae}


${nae}

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

${t.text}

${e==="Failed"?d`${i} ${zNe(a)}`:""}
${e==="Complete"?d``:null}
`,a))}function NNe(){let e=document.createElement("div"),t=new we(e);x(d``,e),t.show(),document.querySelector(".modal").addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),ns(location.origin,!0)})}async function FNe(e){yhe(e,"Terminate")}async function qNe(e){yhe(e,"Retry")}async function vhe(e,t){e.classList.remove("is-loading");let o=document.createElement("div"),n=new we(o);xhe(n,t),await n.show(),e.disabled=!1}async function yhe(e,t){let o,n;t==="Terminate"?(o=e.querySelector("#terminate-failed-merge"),n=z.profile.userCancelMerge):(o=e.querySelector("#retry-failed-merge"),n=z.profile.userRetryMerge);try{o.classList.add("is-loading"),o.disabled=!0;let i=await ONe(n);if(i.hasError){let r=i.errors[0]||"unexpectedError";await vhe(o,r)}else t==="Terminate"?jB("Terminated"):location.reload()}catch{await vhe(o,"unexpectedError")}}async function ONe(e){let o=await $(K(e,{method:"POST"}));if(he(o),o.ok)return om(o,!1),{hasError:!1};if(o.status===400){let n=await o.json();if(n.errorCode==="ProfileMergeRunning")return{hasError:!0,message:o.statusText,errors:["profileMergeRunning"]};if(n.errorCode==="ProfileMergeComplete")return{hasError:!0,message:o.statusText,errors:["profileMergeAlreadyComplete"]};throw new Error(`Unexpected response status ${o.status} for ${e}`)}else{if(o.status===404)return{hasError:!0,message:o.statusText,errors:["profileMergeRecordNotFound"]};throw new Error(`Unexpected response status ${o.status} for ${e}`)}}function xhe(e,t="unexpectedError",o=""){x(d``,e.contentElement),e.show()}k();var gR,fR;async function The(e){YB(e)&&await UNe()}function YB(e){let t=P("page_type")==="profile",o=P("page_kind");if(!e.isAuthenticated||t&&o!=="register")return!1;let n=!1;return e.acceptedPrivacyNotice.getTime()&&(n=e.userType==="standard"||new Date(e.acceptedPrivacyNotice)>=V2),!n}async function UNe(){if(!gR){let e=S.createElement("div");e.classList.add("modal-content"),x(d``,e),gR=new we(e),fR=e.querySelector("#consentModal"),She()}await xe,gR.show()}function She(){let e=w.userType==="microsoft"?PX:r0,t=()=>lce(),o=d``;x(o,fR)}function HNe(){let e=d``;x(e,fR),BNe(fR)}async function BNe(e){let t=e.querySelector("#error-message"),o=e.querySelector("#consent-delete-acct");t.setAttribute("hidden","hidden"),o.onclick=async()=>{o.classList.add("is-loading");try{await ace()?(gR.hide(),await ns(location.origin,!0)):t.removeAttribute("hidden")}catch(n){throw t.removeAttribute("hidden"),new Error(`error: ${n.message}`)}finally{o.classList.remove("is-loading")}}}function VNe(e,t,o,n){return n&&n.length!==0||e==="microsoft"?LX.replace("{email}",n||o):t==="AAD"||e==="aad"?v9.replace("{email}",o):aK}async function whe(e,t,o){let n=()=>o.setAttribute("data-authenticated",e.isAuthenticated.toString());n(),e.subscribe(So,n),await t,o.setAttribute("data-auth-status-determined","true")}var uu="docs-sign-in",WB="docs-sign-out",Che="docs-change-directory";function Ehe(e){QNe(e),e.addEventListener("click",GNe)}function GNe(e){if(!(e.target instanceof Element))return;let t=e.target.closest(`.${uu}, .${WB}, .${Che}`);if(!t)return;let o=t.classList.contains(uu);e.preventDefault();let i=t instanceof HTMLAnchorElement&&t.matches('a[href]:not([href="http://approjects.co.za/?big="]):not([href="http://approjects.co.za/?big=#"])')?t.href:location.href;if(t.classList.contains(Che))hhe(i);else if(o){let r=b.data.isPermissioned;Oo(i,"select_account",r)}else ns(i,!0)}function QNe(e){let t=o=>{if(!(o.target instanceof Element))return;let n=o.target.closest(`.${uu}, .${WB}`);if(!n)return;let i=n.classList.contains(uu);o.target.setAttribute("data-m",JSON.stringify({cN:i?uu:WB,bhvr:i?100:101}))};e.addEventListener("touchstart",t,!0),e.addEventListener("pointerdown",t,!0),e.addEventListener("keyup",o=>{o.which===Re.enter&&t(o)},!0)}var KB,Te=new Promise(e=>KB=e);async function Ahe(e){if(!C.userServices){KB(),xe.then(()=>{let t=S.getElementById("docs-sign-in-container-item");t&&(t.hidden=!0)});return}await ihe(),await Mi.handleRedirectPromise(),whe(w,Te,S.documentElement),Ehe(S.documentElement),C.permissionedContent&&xe.then(t=>{S.documentElement.querySelectorAll("[data-permissioned-content]").forEach(o=>o.hidden=!1)}),w.subscribe(So,async()=>{await Promise.all([e.siteHeaderRendered,xe]),G2(S.documentElement,w)}),fhe().then(KB),Te.then(async()=>{if(w.userType!=="standard"&&The(w),!w.isAuthenticated)return;if(!YB(w)){await xe,mR();return}let t=new URL("./register",Tc(b.data.userLocale));if(location.pathname===t.pathname)return;let o=pe({redirectUrl:location.href});location.href=`${t.toString()}?${o}`})}k();function khe(){let e=location.pathname.toLowerCase();if(Ht&&e!==`/${b.data.userLocale}/test/docs/architecture/icons/`)return;if(!Ht&&e!==`/${b.data.userLocale}/azure/architecture/icons/`&&e!==`/${b.data.userLocale}/power-platform/guidance/icons`&&e!==`/${b.data.userLocale}/dynamics365/get-started/icons`)return;let t=S.querySelector(".content a.button"),o=t.href;t.parentElement.parentElement.classList.add("margin-bottom-lg");let n=()=>{S.querySelector('.azure-icons-consent input[type="checkbox"]').checked?(t.href=o,t.removeAttribute("disabled")):(t.href="http://approjects.co.za/?big=javascript:void(0)",t.setAttribute("disabled","disabled"))},i=a=>{let l=a.target instanceof HTMLElement&&a.target;l&&l.parentElement.classList.contains("azure-icons-consent")&&n()},r=S.getElementById("consent-checkbox");r.classList.add("margin-block-sm");let s=r.textContent;x(jNe(s),r),n(),H.addEventListener("change",i)}function jNe(e){return d``}k();function YNe(e,t){let o={};return e.querySelectorAll("li > a").forEach(i=>{if(i.textContent){let r=t?i.textContent="default":i.textContent.trim().slice(1,-1).split("|");if(r.length===2){let s=r[0].trim(),a=r[1].trim(),l=i.href;s&&a&&l&&(o[s]||(o[s]={}),o[s][a]=l)}}}),o}function Ihe(e){let t=document.createElement("a");return t.href=e,t.host===""&&(t.href=t.href),t.protocol+"//"+t.host+t.pathname}function WNe(e){let t=window.location.href.toLowerCase(),o=Ihe(t);for(let n in e)for(let i in e[n]){let r=e[n][i].toLowerCase();if(Ihe(r).localeCompare(o,void 0,{sensitivity:"base"})===0)return[n,i]}return null}function KNe(e,t,o){function n(u){return[u,u]}function i(u){window.location.href=u}let r=YNe(e,t),s=WNe(r),a=document.createElement("div");a.classList.add("azureselector"),a.classList.add("display-none-print");let l=e.getAttribute("title1"),c=Phe(a,l);if(JB(c,r,n,!1,o),s&&(c.value=s[0]),t)c.addEventListener("change",()=>{c.value&&i(r[c.value].default)});else{let u=e.getAttribute("title2"),p=Phe(a,u);c.addEventListener("change",()=>{JB(p,c.value?r[c.value]:{},n,!1,o)}),p.addEventListener("change",()=>{c.value&&p.value&&i(r[c.value][p.value])}),JB(p,c.value?r[c.value]:{},n,!1,o),s&&(p.value=s[1])}e.insertAdjacentElement("afterend",a)}function Lhe(){let e=R7,t=document.querySelector(".op_single_selector"),o=document.querySelectorAll(".op_multi_selector");t&&JNe(t),o.forEach(n=>{KNe(n,!1,e)})}function JNe(e){let t=e.parentNode,o=e.getAttribute("title1"),n=Array.from(document.querySelectorAll(".op_single_selector > ul > li")),i=Array.from(document.querySelectorAll(".op_single_selector > ul > li > a")),r=[];i.map(c=>{let u={title:c.textContent,href:c.href};r.push(u)});let s=n[0].firstElementChild.getAttribute("href")?ZNe(r):n.shift().textContent,a=document.createElement("nav");a.classList.add("margin-top-xxs","display-none-print"),a.setAttribute("aria-label",o||"Dropdown menu"),t.replaceChild(a,e);let l=XNe(s,r,o);x(l,a)}function ZNe(e){let t=decodeURI(location.pathname).toLowerCase();for(let o of e)if(new URL(o.href,location.href).pathname.toLowerCase()===t)return o.title;return e[0].title}function XNe(e,t,o){let n=d``,i=[];o&&(n=d`${o}`);let r="padding-xxs";for(let s of t)i.push(d`
  • ${s.title}
  • `);return d` ${n}`}function Phe(e,t){let o=document.createElement("div");o.classList.add("display-inline-block-tablet","margin-block-xxs","margin-right-xs-tablet");let n=tt(),i=d`
    ${t?d``:""}
    `;return x(i,o),e.appendChild(o),o.querySelector("select")}function JB(e,t,o,n,i){let r=[];n||r.push(d``);for(let s in t){let a=o(s,t[s]);a&&a.length===2&&r.push(d``)}x(r,e)}var Ro={value:null};async function ZB(e,t,o){let n={scopes:[e],forceRefresh:!0,authority:`https://login.microsoftonline.com/${t}`};return await Rhe(n,o)}async function Rhe(e,t){try{return await Mi.acquireTokenSilent(e)}catch(o){if(qn.trackTrace({message:`Acquire Token Silent Failure - ${w?.userName} - ${e.scopes.toString()} - ${e.authority} - ${o?.message}`}),qn.trackException(o),o instanceof Co&&t.noInteraction===!1)try{return await Mi.acquireTokenPopup(e)}catch(n){return qn.trackTrace({message:`Acquire Token Popup Failure - ${w?.userName} - ${e.scopes.toString()} - ${e.authority} - ${n?.message}`}),qn.trackException(n),null}return null}}async function e2e(e){if(!(e.username.includes("@")&&e.username.includes(".")))throw new Error(`Account username is not an email address: ${e.username}`);let t=e.username.split("@"),o=t[1]?t[1].split(".")[0]:"",i=`https://login.windows.net/${`${t[0]}${o}.onmicrosoft.com`}/.well-known/openid-configuration`,s=await(await $(i,{method:"GET"})).json();if("error"in s&&s.error==="invalid_tenant")throw new Error(`${s.error}: ${s.error_description}`);if("issuer"in s)return s.issuer.split("/")[3];throw new Error("Issuer not found in OpenID configuration")}function t2e(e){return![nce,ice,oce].includes(e)}var QS={async tryLoadTokens(e={noInteraction:!0}){if(await Te,!w.isAuthenticated)return qn.trackTrace({message:`Try Load Token User Not Authenticated - ${w?.userName}`}),null;try{let t=Yu(),n=fk(t).preferred_username,i=Mi.getAccount({username:n});Mi.setActiveAccount(i);let r=P("interactive")?.toLowerCase(),s=r&&(r==="powershell"||r==="bash"),a=P("rest_product")?.toLowerCase()??"",l=i?.tenantId===bk||i?.homeAccountId.split(".")[1]===bk,c=[],u="",p=null;try{u=l?await e2e(i):"organizations"}catch{return c}let m={scopes:["https://management.azure.com/user_impersonation"],forceRefresh:!0,authority:`https://login.microsoftonline.com/${u}`,redirectUri:nR},g=await Rhe(m,e),f="https://management.azure.com/tenants?api-version=2020-01-01",_={method:"GET",headers:{Authorization:`Bearer ${g.accessToken}`}};if(p=await(await $(f,_)).json(),!p||!p.value)return c;p.value=p.value.filter(y=>t2e(y.tenantId));for(let y of p.value){if(!y.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:y.displayName,default_domain:y.defaultDomain,tenant_id:y.tenantId},T={arm:"https://management.core.windows.net/user_impersonation","business-assist-api":"https://business-assist.microsoft.com/.default","dev-center":"https://devcenter.azure.com/.default",learn:"https://learn.microsoft.com/.default",fabric:"https://api.fabric.microsoft.com/.default","partner-center-rest":"https://api.partnercenter.microsoft.com/.default","power bi":"https://analysis.windows.net/powerbi/api/.default","health-dataplane":"https://deid.azure.com/.default"},I=await ZB(T[a]??T.arm,y.tenantId,e);if(v.access_token=I?.accessToken,v.access_token_type=I?.tokenType,v.expires_at=I?.expiresOn?.valueOf().toString()??"",s){let A=await ZB("https://vault.azure.net/user_impersonation",y.tenantId,e);v.key_vault_access_token=A?.accessToken,v.key_vault_access_token_type=A?.tokenType,v.key_vault_expires_at=A?.expiresOn.valueOf().toString();let O=await ZB("https://graph.microsoft.com/.default",y.tenantId,e);v.msgraph_access_token=O?.accessToken,v.msgraph_access_token_type=O?.tokenType,v.msgraph_expires_at=O?.expiresOn.valueOf.toString()}c.push(v)}return c}catch(t){return qn.trackTrace({message:`Try Load Token Failure - ${w?.userName} - ${t?.message}`}),qn.trackException(t),null}}};var o2e=5*60*1e3,Mhe=0;function Dhe(){document.addEventListener("visibilitychange",$he,{passive:!0}),$he()}function $he(){document.visibilityState==="visible"?Mhe=setInterval(n2e,o2e):clearInterval(Mhe)}function n2e(){Ro.value&&QS.tryLoadTokens().then(e=>{let t=e.find(o=>o.default_domain===Ro.value.default_domain);t&&(Ro.value=t)})}function zhe(){return C.banner?(document.querySelectorAll("[data-banner-dismiss]").forEach(t=>{let o=t.closest(".banner");o&&(o.hidden=r2e(t.getAttribute("data-banner-dismiss")))}),document.addEventListener("click",i2e)):void 0}function i2e(e){let t=e.target instanceof HTMLElement&&e.target.closest("button[data-banner-dismiss]");if(!t)return;let o=t.getAttribute("data-banner-dismiss"),n=JSON.parse(oe.getItem("dismissed-banners"));return n?(n.push(o),oe.setItem("dismissed-banners",JSON.stringify(n))):oe.setItem("dismissed-banners",JSON.stringify([o]))}function r2e(e){let t=JSON.parse(oe.getItem("dismissed-banners"));return t?t.some(o=>o===e):!1}var XB;function e3(){if(XB===void 0){let e=P("api")||"/en-us/rest/api/rest-products.json";XB=$(e,{credentials:"include"}).then(t=>t.json())}return XB}function Nhe(e){return e==="rest"?e3().then(t=>c2e(t,e)).catch(()=>({platformId:e,displayName:e,families:[]})):$(`${z.monikers}/byPlatform/${encodeURIComponent(e)}`).then(t=>t.json()).then(t=>a2e(t,e)).catch(()=>({platformId:e,displayName:e,families:[]}))}function Fhe(e){return $(`${z.monikers}/bymoniker/${encodeURIComponent(e)}`).then(t=>t.ok?t.json().then(o=>(l2e(e,o),o)):Promise.reject(null)).then(t=>qhe(t)).catch(()=>t3(e))}function t3(e){return{displayName:e,products:[{displayName:e,packages:[{displayName:e,isDefault:!0,moniker:e,versionDisplayName:e,isDeprecated:!1,isPrerelease:!1}]}]}}function qhe(e){return{displayName:e.familyName,products:e.products.map(({productName:t,packages:o})=>({displayName:t,packages:o.sort((n,i)=>i.order-n.order).filter(n=>s2e(n)).map(n=>({displayName:n.monikerDisplayName,isDefault:n.isDefault,moniker:n.monikerName,versionDisplayName:n.versionDisplayName,isDeprecated:n.isDeprecated,isPrerelease:n.isPrerelease}))}))}}function s2e(e){return b.data.brand==="mooncake"?e.monikerName!=="azure-cli-2017-03-09-profile":!0}function a2e(e,t){return{platformId:t,families:e.map(qhe)}}function l2e(e,t){if(!t.products.find(o=>!!o.packages.find(n=>n.monikerName===e)))throw new Error(`The family "${t.familyName}" does not contain the moniker "${e}".`)}function c2e(e,t){return{platformId:t,families:[{displayName:"",products:[{displayName:"",packages:e.map(o=>({displayName:o.name,moniker:o.scope,versionDisplayName:o.name,isDefault:!1,isDeprecated:!1,isPrerelease:!1}))}]}]}}function rn(e,t,o=0,n=[]){for(let i of e){n.length=o;let r=t(i,n);if(!r)return 0;if(r!==2&&(n[o]=i,i.children&&!rn(i.children,t,o+1,n)))return 0}return 1}var $i="moniker-changed",o3="same-moniker-selected",Ohe=()=>{let e=ce().view;return e===void 0?"":e.toLowerCase()},jS=Ohe();function lt(){return jS}function rp(e){if(e===jS){H.dispatchEvent(new CustomEvent(o3,{detail:{moniker:jS}}));return}jS=e,H.dispatchEvent(new CustomEvent($i,{detail:{moniker:jS}}))}H.addEventListener("popstate",()=>rp(Ohe()));var Fl={"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 sp=/^\/([a-z]{2,3}-(?:[a-z]{4}-)?[a-z]{2})(\/|$)/i,u2e="MarketplaceSelectedLocale",d2e=["ContentPage","Conceptual","Module","ModuleUnit","LearningPath"];function n3(e){return!!Fl[e]}function YS(e){let t=sp.exec(e);return t===null?"en-us":t[1].toLowerCase()}function it(e,t,o=!0){return!e||!n3(t)||e.indexOf("http://")===0||e.indexOf("https://")===0||e.indexOf("//")===0?e:sp.test(e)?o?kg(e,t):e:"/"+t+e}function sn(e){return e.replace(sp,"/")}function kg(e,t){return e.replace(sp,`/${t}$2`)}async function Uhe(){let e=b.data.userLocale,t=b.data.contentLocale,o=dt.machineTranslated;b.data.userLocaleName=Fl[e],await xe,t!==e&&/^en/.test(t)&&!/^en/.test(e)&&!o&&d2e.indexOf(b.data.pageTemplate)!==-1&&Jt(g2e(b.data.pageTemplate,e)),i3(e)}function Hhe(e){dr.set(u2e,e,{expires:365*10})}function i3(e){Array.from(document.querySelectorAll(".locale-selector-link")).forEach(t=>p2e(t,e))}function p2e(e,t){let o=e.querySelector(".local-selector-link-text"),n=Fl[t];o?o.textContent=n:e.textContent=n,e.addEventListener("mousedown",()=>e.href=`/${t}/locale?target=${encodeURIComponent(location.href)}`),e.addEventListener("keydown",()=>e.href=`/${t}/locale?target=${encodeURIComponent(location.href)}`),e.href=`/${t}/locale?target=${encodeURIComponent(location.href)}`;let i=JW.replace("{language}",n);e.setAttribute("aria-label",i)}function m2e(e){return As("localization_scopes").indexOf(e)!==-1}function g2e(e,t){let o=m2e(t),n=Fl[t];return e==="LearningPath"?o?IK.replace("{language}",n):PK.replace("{language}",n):e==="Module"||e==="ModuleUnit"?o?LK.replace("{language}",n):RK.replace("{language}",n):kK}var f2e=/^([.\/]*\/)?([^\?#]*)?(\?[^#]*)?(#.*)?$/,WS=/(^|\/)index$/i,h2e=R.accessLevel==="local"&&b.environment===void 0,r3={};function b2e(e,t){let{origin:o,pathname:n}=z2(e),i={"/":`/${t}/`},r=n.split("/"),s="";for(;r.length>2;){r.pop();let a=r.join("/")+"/";i[s]=a,i["./"+s]=a,s+="../"}return{origin:o,relMap:i}}var H_=class{constructor(t,o,n,i,r){this.external=t;this.origin=o;this.pathname=n;this.search=i;this.hash=r}get href(){return this.origin+this.pathname+this.search+this.hash}originAndPathnameEquals({origin:t,pathname:o}){return this.pathname.length===o.length&&this.origin.length===this.origin.length&&this.pathname.localeCompare(o,void 0,{sensitivity:"base"})===0&&this.origin.localeCompare(t,void 0,{sensitivity:"base"})===0}originAndPathnameStartsWith({origin:t,pathname:o}){return this.pathname.length>=o.length&&(o[o.length-1]==="/"||this.pathname[o.length]===void 0||this.pathname[o.length]==="/")&&this.origin.length===t.length&&this.pathname.substr(0,o.length).localeCompare(o,void 0,{sensitivity:"base"})===0&&this.origin.localeCompare(t,void 0,{sensitivity:"base"})===0}};function ti(e,t,o=b.data.userLocale,n=te.origin){let[i,r,,,s,a]=e;if(i==="/"&&r==="/"||s===":"||a===":"){let{origin:v,pathname:T,search:I,hash:A}=z2(e);if(v!==n)return new H_(!0,v,T,I,A);let O=sp.exec(T);return(!O||!n3(O[1]))&&(T="/"+o+T),T=decodeURIComponent(T.replace(WS,"$1")),new H_(!1,v,T,I,A)}r3[t]===void 0&&(r3[t]=b2e(t,o));let{origin:l,relMap:c}=r3[t],u=f2e.exec(e),[,p="",m="",g="",f=""]=u,_=c[p];h2e&&(m=m.replace(/\.html$/i,""));let h=m.replace(WS,"$1");h.indexOf("%")!==-1&&(h=decodeURIComponent(h));let y=_+h;return new H_(!1,l,y,g,f)}function ap({origin:e,pathname:t,search:o,hash:n}=te){return t=s3(t),t=decodeURIComponent(t).toLowerCase().replace(WS,"$1"),new H_(!1,e,t,o,n)}function s3(e){return e.replace(/\/+/g,"/")}var _2e=ap(),bR=P("moniker_definition_rel"),hR,a3=new Map,Ig=!!bR&&bR.endsWith(".json");function l3(){if(!bR)return null;let e=ti(bR,_2e.href);return Ghe(e.href)}async function Vhe(e){let t=[],o=lt();for(let n of e)if(n.metadata?.moniker_definition_rel){let i=ti(n.metadata.moniker_definition_rel,n.url);t.push(Ghe(i.href).then(({monikerSet:r})=>Bhe(n.nodes,r)))}else o&&t.push(Promise.resolve(Bhe(n.nodes,new Set([o]))));await Promise.all(t)}function Bhe(e,t){t?.size&&rn(e,(o,n)=>{if(o.monikers===void 0&&n&&n.length){let i=n[n.length-1];i.monikers&&i.monikers.length&&(o.monikers=i.monikers)}if(o.monikers&&o.monikers.length&&o.selectedMoniker===void 0){let i=o.monikers.find(r=>t.has(r));o.selectedMoniker=i===void 0?null:i}return!0})}function Ghe(e){let t={family:null,monikerSet:new Set};if(!e)return Promise.resolve(t);let o;return a3.has(e)?o=a3.get(e):(o=$(e,{credentials:"include"}).then(n=>n.json()).then(n=>v2e(n)).catch(()=>t),a3.set(e,o)),o}function v2e(e){let t=null,o=new Set,n=lt(),i=e.products.reduce((r,s)=>{let a=s.familyName;return r[a]=r[a]||[],r[a].push(s),r},{});return Object.keys(i).forEach(r=>{let s="",a=!1,l=i[r];l.forEach(u=>{u.monikers.forEach(p=>{p.isDefault&&(s=p.monikerName),p.monikerName===n&&(a=!0,t=y2e(r,l))})});let c=a?n:s;c&&o.add(c)}),{family:t,monikerSet:o}}async function Qhe(){if(hR===void 0){let e=lt();if(Ig){let t=await l3();hR=Promise.resolve(t?.family??t3(e))}else hR=Fhe(e)}return hR}function y2e(e,t){return{displayName:e,products:t.map(o=>({displayName:o.productName,packages:o.monikers.sort((n,i)=>i.order-n.order).map(n=>({moniker:n.monikerName,displayName:n.monikerDisplayName??n.monikerName,versionDisplayName:n.versionDisplayName??n.monikerName,isDefault:n.isDefault??!1,isDeprecated:n.isDeprecated??!1,isPrerelease:n.isPrerelease??!1}))}))}}var c3;function Ga(){return c3===void 0&&(c3=Qhe()),c3}function B_(e,t){for(let o of e.products)for(let n of o.packages)if(n.moniker===t)return n;return null}var V_=null;async function jhe(e=b.data.pageTemplate){_R();let t=ce(),o=t.viewFallbackFrom,n=t.branchFallbackFrom,i=t.branch;if(o&&e!=="NotFound"){x2e(o);return}n&&i&&T2e(n,i)}async function x2e(e){let t=await Ga(),o=B_(t,e);o&&(V_=Jt(zX.replace("{moniker}",Ye(o.displayName))))}function T2e(e,t){V_=Jt(N7.replace("{branchFallbackFrom}",Ye(e)).replace("{branch}",Ye(t)))}function _R(){if(V_){let e=V_.firstElementChild;if(!e)return;V_.removeChild(e),V_=null,Rt()}}function Yhe(){R.supportLevel==="production"&&R.reviewFeatures&&Jt(AK)}k();var vR=[];var KS="banner-instructions",JS="banner-instructions-locale",S2e=1e3*60*60;function Whe(e=C.temporaryClientSideEventBanners){if(e){try{d3()}catch{oe.removeItem(KS),oe.removeItem(JS)}u3()}}async function u3(e=$,t=new Date){let o=Khe();if(o&&o.date.getTime()+S2e>Date.now())return;let n=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",i=new URL(`/${b.data.userLocale}/${n}banners/index.json`,location.origin);if(R.reviewFeatures){let a=new URLSearchParams(location.search).get("api-branch")??"main";i.searchParams.set("branch",a)}let r=await e(i.href),{banners:s=[]}=r.ok?await r.json():{};oe.setItem(KS,JSON.stringify({date:t,banners:s})),oe.setItem(JS,b.data.userLocale)}function d3(){let e=Khe();if(!e)return;let t=b.data.userLocale,o=e.banners.filter(n=>n.location==="sectional"&&n.scope.accessLevels.includes("online")&&n.content.text&&(!n.scope.locales||n.scope.locales.includes(t))).map(({uid:n,scope:i,content:r,displayType:s})=>{let[a,l]=r.text.split("|");l||(l=a,a=""),a=a.trim(),l=l.trim();let c=i.paths.map(g=>{let f=!g.endsWith("*");return{path:g.substring(1).replace(/\*/g,""),fullPathMatch:f}}),u="",p="";return r.link&&(u=r.link.title,p=r.link.href.startsWith("/")?`/${t}${sn(r.link.href)}`:r.link.href),{id:n,startTime:i.startDate,endTime:i.endDate,bannerPaths:c,eventTitle:a,eventDescription:l,linkHref:p,linkText:u,imageUrl:r.imageUrl,displayType:s,displayedEventStartDate:i.displayedEventStartDate,displayedEventEndDate:i.displayedEventEndDate}});vR.push(...o)}function Khe(e=b.data.userLocale){let t=oe.getItem(KS),o=oe.getItem(JS);if(o&&o!==e||!t)return oe.removeItem(KS),oe.removeItem(JS),null;try{let i=JSON.parse(t);if(i.date=new Date(i.date),isNaN(i.date.getTime()))return null;for(let r of i.banners){if(r.scope.startDate=new Date(r.scope.startDate),r.scope.endDate=new Date(r.scope.endDate),isNaN(r.scope.startDate.getTime())||isNaN(r.scope.endDate.getTime()))return null;r.scope.displayedEventStartDate&&r.scope.displayedEventEndDate&&(r.scope.displayedEventStartDate=new Date(r.scope.displayedEventStartDate),r.scope.displayedEventEndDate=new Date(r.scope.displayedEventEndDate))}return i}catch{oe.removeItem(KS),oe.removeItem(JS)}return null}k();var Pg=Intl.DateTimeFormat().resolvedOptions().timeZone;function On(e){let t=Math.floor(e/60),o=e%60;return t===0?s0.replace("{numberOfMinutes}",o.toString()):o===0?`${t} ${UZ}`:BZ.replace("{numberOfHours}",t.toString()).replace("{numberOfMinutes}",o.toString())}var Jhe=new Intl.DateTimeFormat(b.data.userLocale,{hour:"numeric",minute:"numeric"}),s0t=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric"}),a0t=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric"}),l0t=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",year:"2-digit"}),C2e=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",year:"numeric"}),c0t=new Intl.DateTimeFormat(b.data.userLocale,{day:"numeric"}),u0t=new Intl.DateTimeFormat(b.data.userLocale,{month:"short"}),d0t=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"short"}),p0t=new Intl.DateTimeFormat(b.data.userLocale,{year:"numeric"}),js=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric"}),m0t=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"long",month:"long",day:"numeric",year:"numeric"});function Zhe(e=Pg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric",timeZone:e})}function ql(e=Pg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",timeZone:e})}function Xhe(e=Pg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"2-digit",day:"2-digit",year:"numeric",timeZone:e})}function ebe(e=Pg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",timeZone:e})}function m3(e=Pg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",hour:"numeric",timeZone:e})}function an(e){return Math.floor(e/1e3)}function tbe(e){return Math.floor(e/1e3/60)}function g3(e){let t=e/1e3,o=Math.floor(t/3600),n=p3(Math.floor(t%3600/60)),i=p3(Math.floor(t%3600%60));return o<1?`${n}:${i}`:`${p3(o)}:${n}:${i}`}function yR(e){let t="",o=0,n="",i=Math.floor(e/168),r=Math.floor(e%168/24),s=e-i*168-r*24;if(i>0&&o++,r>0&&o++,s>0&&o++,o>0&&o--,i>0){let l=i===1?W0:K0;a(),t+=i.toString()+" "+l+n,n=""}if(r>0){let l=r===1?JE:Ky;a(),t+=r.toString()+" "+l+n,n=""}if(s>0){let l=s===1?nA:zu;t+=s.toString()+" "+l}return t;function a(){o>0&&(n=", ",o--)}}function Lg(e){if(!e)return"";let t=e.getMonth()+1,o=e.getDate();return`${e.getFullYear()}-${t>9?t:`0${t}`}-${o>9?o:`0${o}`}`}function p3(e){return e<10?`0${e}`:`${e}`}function obe(e){if(e===0)return"PT0S";let t=Math.floor(e/864e5);e=e-t*864e5;let o=e,n=Math.floor(e/36e5);e=e-n*36e5;let i=Math.floor(e/6e4);e=e-i*6e4;let r=Math.floor(e/1e3);e=e-r*1e3;let s="P";return t>0&&(s+=t.toString()+"D"),o>0&&(s+="T"),n>0&&(s+=n.toString()+"H"),i>0&&(s+=i.toString()+"M"),r>0&&(s+=r.toString()+"S"),s}function G_(e){let t="h",o="m",n="s",i=0,r=e.indexOf(t)!==-1,s=e.indexOf(o)!==-1,a=e.indexOf(n)!==-1;return i+=r?Number(e.substring(0,e.indexOf(t)))*3600:0,i+=s?r?Number(e.substring(e.indexOf(t)+1,e.indexOf(o)))*60:Number(e.substring(0,e.indexOf(o)))*60:0,i+=a?Number(s?e.substring(e.indexOf(o)+1,e.indexOf(n)):r?e.substring(e.indexOf(t)+1,e.indexOf(n)):e.substring(0,e.indexOf(n))):0,i}function f3(e){let t="",o="",n="";if(e.indexOf(":")===-1)return Number(e)>0?e+"s":t;let i=e.split(":");return isNaN(Number(i[0]))||isNaN(Number(i[1]))||isNaN(Number(i[2]))&&i.length===3||i.length>3?"":(Number(i[0])>0&&(n=i.length===2?Number(i[0]).toString()+"m":Number(i[0]).toString()+"h"),Number(i[1])>0&&(o=i.length===2?Number(i[1]).toString()+"s":Number(i[1]).toString()+"m"),Number(i[2])>0&&(t=i.length===2?"":Number(i[2]).toString()+"s"),n+o+t)}k();function Q_(e,t,o,n){let i=n?d`${n}`:"",r=C.rightRailSticky?"":d``;return d` ${r}
    ${e}
    ${t}
    ${i}
    `}function j_(e,t){return d`

    ${t}

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

    ${n}

    `:"",a=o?d`

    ${e}

    `:d`

    ${e}

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

    ${e}

    `}function nbe(e){return d``}function K_(){if(!C.connectedExperiences)return;let e=document.getElementById("ms--additional-resources-heading");e&&(e.hidden=!1);let t=document.getElementById("ms--additional-resources-mobile-heading"),o=document.querySelector("#ms--additional-resources-mobile > hr");t&&o&&(o.hidden=!1,t.hidden=!1)}function E2e(e){let t=m3().format(e.displayedEventStartDate),o=m3().format(e.displayedEventEndDate),n=j_("docon-special-event",WK),i=e.eventTitle?Y_(e.eventTitle,!1,e.linkHref):"",r=e.eventTitle?"margin-top-xs":"",s=d` ${e.displayType==="event-image-card"&&e.imageUrl?nbe(e.imageUrl):""} ${i}

    ${t} - ${o}

    ${W_(e.eventDescription,!1)}${e.linkText}`;return Q_(n,s,!1)}async function ibe(){!C.connectedExperiences&&!C.temporaryClientSideEventBanners||(await u3(),d3())}function rbe(e){let t=Array.from(document.querySelectorAll("#right-rail-events, #right-rail-events-mobile"));K_();for(let o of t)x(E2e(e[0]),o),o.hidden=!1,Rt()}var A2e=["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"],k2e=["/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 xR(e=location.pathname,t=Nr.template){return e=sn(e),k2e.includes(e)?!1:A2e.includes(t)||!t&&e.startsWith("/answers/")}function TR(){let e=document.getElementById("cookie-consent-holder");return!e||document.getElementById("banner-holder")?null:(e.insertAdjacentHTML("afterend",''),e.nextElementSibling)}function sbe(e,t,o,n){let i=Ih(),r=i>t.getTime()&&i<=o.getTime(),s=localStorage.getItem(e)==="hide",a=sn(location.pathname).toLowerCase();a=a.startsWith("/")?a.substring(1):a;let l=n.some(c=>c.fullPathMatch?a===c.path:a.startsWith(c.path));return r&&!s&&l}k();function abe({uid:e,startDate:t,endDate:o,cssClass:n,title:i,subtitle:r,description:s,cta:a,theme:l,buttonCss:c=""},u=Date.now(),p=location.pathname){if(p=sn(p),!C.marketing||u=o.getTime()||!xR()||oe.getItem(e)==="hide")return!1;let m=TR();if(!m)return!1;m.classList.add(`theme-${l}`);let g=d`

    ${i}

    ${r?d`

    ${r}

    `:""}
    ${a.title}
    `;return x(g,m),!0}function I2e(e=Ih()){return abe({uid:"2026-06--post-build",title:Cae,description:Aae,cta:{href:"https://aka.ms/MSBuild_FY26_BN_MSLearn_Hero",title:kae},cssClass:"build-banner",theme:"light",startDate:new Date("2026-06-13T07:00:00.000Z"),endDate:new Date("2026-06-30T07:00:00.000Z")},e)}function P2e(e=Ih()){return abe({uid:"2026-06--ai-skills-fest",title:Eae,description:Pae,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 lbe(){let e=Ih();return P2e(e)||I2e(e)}async function cbe(){if(!xR())return;C.connectedExperiences&&C.temporaryClientSideEventBanners?await ibe():Whe();let e=vR.filter(o=>{let{id:n,startTime:i,endTime:r,bannerPaths:s}=o;return sbe(n,i,r,s)}),t=!1;if(!(lbe()&&(t=!0,!C.connectedExperiences))&&!(e.length<1)){if(C.connectedExperiences&&e[0].displayType)rbe(e);else if(!t)for(let o of e){let n=TR();if(!n)return;let{id:i,eventTitle:r,eventDescription:s,linkHref:a,linkText:l}=o,c=L2e(`${i}-banner`,`${i}-event`,r,s,a,l);x(c,n);let u=n.querySelector("[data-dismiss]");u.onclick=()=>oe.setItem(i,"hide")}}}function L2e(e,t,o,n,i,r){let s=i&&r?d`${r}`:"";return d``}Xp();async function R2e(e,t="fiveStar"){e.rating&&(t==="binary"?e.rating=(e.rating-1)/4:e.rating/=5)}async function ube(e,t="fiveStar"){if(e.rating===null||e.rating===void 0||isNaN(e.rating))throw new Error("No rating was selected by the user");R2e(e,t);let o={method:"POST",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify(e)},n=K(`${z.ocvFeedback}`,o),i=await $(n),r;if(i.ok)return r=await i.json(),r;throw new Error(`ocv api responded with ${i.status} ${i.statusText}`)}k();We();var M2e=[vae,$ee,_J,IZ,PZ];function dbe(e,t,o,n,i,r,s=M2e,a=!1,l="star-rating-control"){let c=document.createElement("fieldset");c.classList.add("star-rating-control"),c.setAttribute("data-bi-name",l);let u=`font-size-${t}`,p=`font-size-${o}`,m=tt(),g=[],f=n==="display-inline-flex"?"":n;for(let T=0;T<5;T++){let I=tt();g.push(d``)}let _=i?d`
    ${qZ}
    `:"",h=d` ${_}
    ${g}
    `,y=n==="display-inline-flex"?d`
    ${h}
    `:h;x(y,c);let v=c.querySelector(".rating-output");if(e!==0){let T=c.querySelector(`input[value="${e}"]`);T.checked=!0,v.textContent=T.nextElementSibling.textContent}return c.onmouseover=T=>{let I=T.target.closest("label");I&&(v.textContent=I.textContent)},c.onmouseleave=()=>{v.textContent=""},c.onchange=T=>{let I=T.target,A=parseInt(I.value),O=c.querySelectorAll(".star-collection input");for(let D=0;D=D?O[D].classList.add("is-selected"):O[D].classList.remove("is-selected");r(A),I.nextElementSibling&&(v.textContent=I.nextElementSibling.textContent)},c}var $2e=2539,D2e=50033,pbe=R.reviewFeatures?D2e:$2e;var mbe="a6b7c4ac-4c15-426f-b054-42341177dffc";var gbe=[iee,nee,oee,tee,eee];function fbe(){Jt(hK,{text:hae,clickHandler:O2e},void 0,void 0,"mt-csat-banner")}var SR,h3,ZS;function z2e(){return d``}function N2e(){let e=dbe(0,"m","m","",!1,t=>SR=t,gbe,!0);return d``}function F2e(){Se({actionType:Ee.OTHER,behavior:me.OTHER,content:{type:"translation-csat-feedback",score:SR,verbatim:h3}})}function q2e(e){if(e.preventDefault(),ZS){F2e(),ube({manifestType:"Psat",appId:pbe,submitTime:new Date().toISOString(),source:"Client",type:"Survey",telemetry:{featureArea:"Docs"},clientFeedbackId:cu(),survey:{surveyId:mbe},rating:SR,comment:h3||"",web:{sourcePageURI:location.origin+location.pathname}});let t=document.createElement("div");t.classList.add("modal-slide"),x(z2e(),t),ZS.pushContent(t)}}function O2e(){let e=document.createElement("div");x(N2e(),e),ZS=null,SR=null,ZS=new we(e),ZS.show()}var U2e=dt.machineTranslated;function bbe(e){let t=e.toLowerCase(),o=b.data.isEditDisplayable;if(C.translationFeedback){fbe();return}Bo()||t.startsWith("en-")||!U2e||(o?Jt(yK):Jt(xK))}function _be(){let e=Array.from(document.querySelectorAll("[data-read-in-link]"));for(let t of e){let o=t.querySelector("[data-read-in-link-text]");if(b3()){let i=new URL(document.referrer),r=YS(i.pathname),s=dte.replace("{language}",Fl[r]);o.innerText=s,t.title=s,t.hidden=!1}else b.data.userLocale.includes("en-")||(o.innerText=PN,t.title=PN,t.hidden=!1);hbe(t),window.addEventListener("popstate",()=>hbe(t))}}function b3(e=location.href,t=document.referrer){if(!t)return!1;let o=new URL(e),n=new URL(t),i=YS(o.pathname),r=YS(n.pathname),s=kg(n.pathname,"en-us");return!(o.origin!==n.origin||o.pathname!==s||i===r)}function hbe(e){let t=new URL(location.href);if(b3()){let o=new URL(document.referrer),n=YS(o.pathname);t.pathname=kg(t.pathname,n)}else t.pathname=kg(t.pathname,"en-us");e.href=t.href,H2e(e)}function H2e(e,t=b3()){let o=t?"on":"off";e.setAttribute("data-bi",JSON.stringify({cN:"language-toggle",value:o}))}k();function B2e(e){let t=ce().branch||dr.get("CONTENT_BRANCH")||"",o=e.sort().map(n=>``).join("");return`
    `}function _3(){if(!R.reviewFeatures)return;let e=document.getElementById("article-header-page-actions");if(e===null)return;let t=document.querySelector('meta[name="branches"]')?.content.split(",")??[];if(t.length===0)return;let o=document.createElement("div");o.classList.add("control"),o.id="branch-selector-container",o.innerHTML=B2e(t);let n=o.querySelector("select"),i=ce().view||"",r=i?`view=${encodeURIComponent(i)}&`:"";n&&(n.onchange=()=>{let a=n.value;dr.set("CONTENT_BRANCH",a),window.location.search=`?${r}branch=${encodeURIComponent(a)}`}),e.insertAdjacentElement("afterbegin",o),o.classList.remove("control"),o.classList.add("display-flex","align-items-center")}k();var v3=class{constructor(t,o=[]){this.breadcrumbsWrapper=t,this.basePath=b.data.userLocale,this.baseTitle="Learn",Ht&&(this.baseTitle="Test",this.basePath+="/test"),this.breadcrumbsList=[{title:this.baseTitle,url:`/${this.basePath}/`},...o]}add(...t){t.forEach(o=>this.breadcrumbsList.push(o))}render(){y3(this.breadcrumbsList);let t=this.breadcrumbsWrapper;if(!t)return;x(d``,t);let o=document.getElementById("article-header-breadcrumbs-overflow"),n=document.querySelectorAll(".has-interactive section.primary-holder"),i=document.getElementById("branch-selector"),r;i&&(r=V2e(n,i)),o&&x(d`${r} `,o)}breadcrumbsTemplate(){return this.breadcrumbsList.map(t=>{let o;return t.url?(t.url=t.url.replace(/\/index$/i,"/"),o=d`${t.title}`):o=d`${t.title}`,d`
  • ${o}
  • `})}};function V2e(e,t){let o;if(e.length&&t){o=document.getElementById("branch-selector-container"),o&&o.classList.add("padding-xxs");let n=document.getElementById("article-header-breadcrumbs-overflow-popover");n&&n.setAttribute("style","display: inline-block !important")}return o}async function lp(e){if(b.data.context.chromeless)return;await xe;let t=e||document.getElementById("article-header-breadcrumbs");return t?new v3(t):void 0}function y3(e){let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[]},o=e.filter((n,i)=>n.url||i+1===e.length).map((n,i)=>{let r={name:n.title,position:i+1,"@type":"ListItem"};return n.url&&(r.item=n.url),r});if(t.itemListElement=o,t.itemListElement.length){let n=document.createElement("script");n.setAttribute("type","application/ld+json"),n.textContent=JSON.stringify(t),document.head.appendChild(n)}}function vbe(){let e=Array.from(document.querySelectorAll(".has-interactive section.primary-holder"));if(!e.length)return;let t=e[0],o=document.getElementById("article-header-breadcrumbs-overflow-popover");if(o){let i=document.getElementById("article-header-breadcrumbs-overflow");if(!i)return;o.addEventListener("toggle",()=>{i.getBoundingClientRect().width{r.getBoundingClientRect().width{S.body.removeChild(o)},()=>{S.body.removeChild(o),n=!1}),n}function x3(e,t){return navigator.clipboard?navigator.clipboard.writeText(e).then(()=>!0,()=>!1):Promise.resolve(Er(e,t))}var wR=!1;function ybe(){function e(t){let o=H.getSelection();if(!o)return;let n=o.toString(),i=Wle(n);if(XS&&n!==i&&!wR){wR=!0,Er(i,t.target);return}Gt(t.target,{actionType:Ee.OTHER,behavior:me.COPY,content:{event:"copy",name:Uc(t.target),value:n,unprintable:wR}}),wR=!1}S.addEventListener("copy",e,{passive:!0})}Mg();var Qa={any:!1};function G2e(){let e=As("monikers");Qa.any=e.length>0;for(let t of e)Qa[t]=!0}G2e();function Ys(e){return e!==""&&Qa[e]!==void 0}k();function Ol(e){e&&e.addEventListener("click",t=>{let o=t.target instanceof HTMLElement&&t.target.closest("button[data-show-more]");if(o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest("button[data-show-more]")),o||(o=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest("button[data-show-more]")),!o)return;let n=o.getAttribute("aria-controls"),i=document.getElementById(n);if(i||(i=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest(`[id='${n}']`)),i||(i=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest(`[id='${n}']`)),!i)return;let r=o.getAttribute("aria-expanded")==="true";o.setAttribute("aria-expanded",(!r).toString());let s=Array.from(i.querySelectorAll(".expandable")),a=Array.from(document.querySelectorAll(`#${CSS.escape(n)} .expandable .expandable`));s=s.filter(u=>!a.includes(u));for(let u of s)u.classList.toggle("is-expanded");if(o.hasAttribute("data-show-once")){o.remove();let u=i.querySelector("[data-autofocus]");if(u){u.focus();return}let p=i.querySelector(ip.join(","));p&&p.focus();return}let l=o.querySelector(".show-more-text");if(!l)return;let c={show:o.getAttribute("data-title")||Uu,hide:o.getAttribute("data-expanded-title")||dh};if(l.innerText=r?c.show:c.hide,!r){let u=i.querySelector(".is-expanded");if(!u)return;let p=u.querySelector(ip.join(","));p?o.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING||p.focus():u.focus()}})}function ja(e,t="show-more-btn",o,n,i,r,s,a,l){let c=o||"button button-primary",u=i||Uu;return d``}k();var Sbe=6,wbe=4,Cbe=11,Ebe=9,Q2e=9,Tbe=!1;function cp(){let e=S.getElementById("center-doc-outline"),t=S.getElementById("side-doc-outline");if(e===null||t===null){e?.remove(),t?.remove();return}let o="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",n=C.referenceRightRailH3?`#main h2:not(${o}), #main h3`:`#main h2:not(${o})`,i=Array.from(S.querySelectorAll(n)),r=[];if(i.forEach(s=>{let a=s.tagName.toLowerCase(),l=s.offsetParent!==null,c=em(s).trim();l&&c.length>0&&(s.id||(s.id=c.toLowerCase().replace(/\s+/g,"-")),a==="h2"?r.push({text:c,id:s.id,children:[]}):a==="h3"&&r[r.length-1].children?.push({text:c,id:s.id}))}),r.length<2){e.hidden=!0,t.hidden=!0;return}e.hidden=!1,j2e(r,e),Y2e(r,t)}function j2e(e,t){let o=b.data.pageTemplate==="Reference",n="content-well-in-this-article-list",i=o?Abe(e,n,"content-well"):kbe(e,n,"content-well");x(d`

    ${yN}

    ${i} `,t)}function Y2e(e,t,o=b.data.pageTemplate){let n=e.length>Q2e,i=o==="Reference",r="right-rail-in-this-article-list",s=i?Abe(e,r,"right-rail"):kbe(e,r,"right-rail");x(d`

    ${yN}

    ${s} `,t),n&&!Tbe&&(Ol(t),Tbe=!0)}function Abe(e,t,o){let n=o==="content-well"?"border-left padding-left-xxs":"",i=o==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",r=o==="content-well"?"":"color-text-subtle",s=o==="content-well"?Sbe:Cbe,a=o==="content-well"?wbe:Ebe,l=e.length>=s,c=d`
      ${e.map(({text:p,id:m,children:g},f)=>{let _=g?.length?d`
      1. ${p}
      2. ${g?.map(({text:v,id:T})=>d`
      3. ${v}
      4. `)}
      `:"",y=l&&f>=a?"expandable":"";return _?d`
    1. ${p}${_}
    2. `:d`
    3. ${p}
    4. `})}
    `;return l?d` ${c} ${Ibe(e,t,a,o)} `:c}function kbe(e,t,o){let n=o==="content-well"?"border-left padding-left-xxs":"padding-right-xxs",i=o==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",r=o==="content-well"?"":"color-text-subtle",s=o==="content-well"?Sbe:Cbe,a=o==="content-well"?wbe:Ebe,l=e.length>=s,c=d`
      ${e.map(({text:p,id:m},g)=>{let _=l&&g>=a?"expandable":"";return d`
    1. ${p}
    2. `})}
    `;return l?d` ${c} ${Ibe(e,t,a,o)} `:c}function Ibe(e,t,o,n){let i=e.length-o,r=O0.replace("{number}",i.toString());return ja(t,"show-more-btn",`link-button font-weight-semibold font-size-sm margin-top-xxs ${n==="content-well"?"margin-left-xs":"margin-left-xxs"}`,void 0,r,!0)}var Ul,Hl;function C3(){let e=document.getElementById("assertive-live-region"),t=document.getElementById("polite-live-region");e?Ul=e:(Ul=document.createElement("div"),Ul.setAttribute("role","alert"),Ul.setAttribute("aria-live","assertive"),Ul.setAttribute("aria-relevant","additions"),Ul.setAttribute("aria-atomic","true"),Ul.classList.add("visually-hidden"),Ul.setAttribute("id","assertive-live-region"),document.body.appendChild(Ul)),t?Hl=t:(Hl=document.createElement("div"),Hl.setAttribute("role","status"),Hl.setAttribute("aria-live","polite"),Hl.setAttribute("aria-relevant","additions"),Hl.setAttribute("aria-atomic","true"),Hl.classList.add("visually-hidden"),Hl.setAttribute("id","polite-live-region"),document.body.appendChild(Hl))}function W2e(e){let t=e.querySelector('.contextual-live-region[aria-live="assertive"]'),o=e.querySelector('.contextual-live-region[aria-live="polite"]');return t||(t=document.createElement("div"),t.setAttribute("role","alert"),t.setAttribute("aria-live","assertive"),t.setAttribute("aria-relevant","additions"),t.setAttribute("aria-atomic","true"),t.classList.add("contextual-live-region","visually-hidden"),e.appendChild(t)),o||(o=document.createElement("div"),o.setAttribute("role","status"),o.setAttribute("aria-live","polite"),o.setAttribute("aria-relevant","additions"),o.setAttribute("aria-atomic","true"),o.classList.add("contextual-live-region","visually-hidden"),e.appendChild(o)),{contextualAssertiveRegion:t,contextualPoliteRegion:o}}function K2e(e){C3();let t;try{t=document.querySelector(".modal.is-active, :modal")}catch{t=document.querySelector(".modal.is-active")}if(!t)return e==="assertive"?Ul:Hl;let{contextualAssertiveRegion:o,contextualPoliteRegion:n}=W2e(t);return e==="assertive"?o:n}function pt(e,t="polite",o=5e3){let n=K2e(t);n.innerHTML="";let i=document.createElement("div");i.setAttribute("role","none"),i.textContent=e,n.appendChild(i),setTimeout(()=>{i?.remove()},o)}var ER=class{constructor(t){this.expanded=t}},E3={expanded:"ap-expanded",collapsed:"ap-collapsed",expandButton:"ap-expand-behavior",collapseButton:"ap-collapse-behavior"},A3;function k3(e,t){A3=t;let o=document.documentElement.classList,n=document.querySelector(".action-panel");if(o.contains("ap-layout")||e==="none")return n;let i=document.querySelector("[data-main-column]"),r=Lbe();o.add("ap-layout"),e==="animate"&&o.add("ap-layout-animates"),setTimeout(()=>o.add("ap-layout-in"),20);let s=()=>{n.removeEventListener("transitionend",s),o.remove("ap-layout-animates"),o.add("ap-layout-finished"),J2e(n),Rt(),r(i),n?.setAttribute("aria-expanded","true"),n?.focus(),ut.publish(new ER(!0))};return n.addEventListener("transitionend",s),n}function J2e(e){let t=(()=>{let n=document.querySelector(".ap-layout-finished .content-header");return window.getComputedStyle(n).getPropertyValue("height")})(),o=document.querySelector(".ap-layout-finished [data-main-column]");e.style.top=t,o.style.top=t,o.classList.add("padding-top-none")}function Pbe(){let e=document.documentElement.classList;if(!e.contains("ap-layout"))return;let t=Lbe(),o=document.querySelector(".action-panel");e.remove("ap-layout"),e.remove("ap-layout-animates"),e.remove("ap-layout-in"),e.remove("ap-layout-finished"),Rt(),t(document.documentElement),A3&&A3.focus(),o?.setAttribute("aria-expanded","false"),ut.publish(new ER(!1)),document.querySelector("[data-main-column]")?.classList.remove("padding-top-none")}function Lbe(){let e=document.querySelector("main");if(!e||!e.children)return()=>{};let t=e.children;for(let o=t.length-1;o>=0;o--){let n=t.item(o);if(n.hasAttribute("hidden"))continue;let{top:i}=n.getBoundingClientRect();if(i<=5||o===0){let r=n.clientWidth;return s=>{n.scrollIntoView(!0),s.scrollTop-=i*r/n.clientWidth}}}return()=>{}}function Rbe(){addEventListener("click",e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`.${E3.expandButton}, .${E3.collapseButton}`);t&&(t.classList.contains(E3.expandButton)?k3("animate",t):Pbe())}),cpe.addListener(Pbe)}function Mbe(){if(window.scrollTo(0,0),!C.chromeless){let e=document.querySelector("[data-main-column]");e&&(e.scrollTop=0)}}Mg();k();var Z2e=0,Dbe="code-try-",X2e=(()=>{let e=location.hash.split(Dbe)[1];if(e===void 0)return-1;let t=parseInt(e,10);return t>=-1?t:-1})(),eFe=()=>Z2e++,tFe=e=>e===X2e,$be=!1;function I3(){$be||($be=!0,S.addEventListener("click",e=>{let o=e.target.closest("[data-code-header-copy-button]");o&&(e.preventDefault(),oFe(o))}))}function oFe(e){if(!XS||!e||!lFe(e))return;let t=e.closest("[data-code-block-header]"),o=nFe(t);if(!o)return;let n=o.getAttribute("data-language")||"",i=o.firstElementChild||o;aFe(i,n)&&Gt(e,{actionType:Ee.OTHER,behavior:me.COPY,content:{event:"copy",name:Uc(t)}}),e.focus()}function nFe(e){let t=e?.nextElementSibling;return t?t.hasAttribute("data-language")?t:t.querySelector("pre[data-language]"):null}function iFe(e,t){return t==="rtl"?Ye(e).replace(/(^|\s|\>)(C#|F#|C\+\+)(\s*|[.!?;:]*)(\<|[\n\r]|$)/gi,"$1$2‎$3$4"):e}function zbe(e,t){I3();let o=S.createElement("div"),n=eFe(),i=`${Dbe}${n}`;o.classList.add("code-block-header","margin-top-sm"),o.setAttribute("data-code-block-header",""),o.setAttribute("id",i),o.setAttribute(Ao.name,"code-header"),e.monikers&&o.setAttribute("data-moniker",e.monikers);let r=e.interactiveType&&!(e.interactiveType.flags.requiresStructuredData&&b.data.pageTemplate==="Conceptual"),s=XS?P3():"",a=r&&e.interactiveType?rFe(e.interactiveType):"",l=d`${N(iFe(e.displayName,t))}
    ${s} ${a}
    `;x(l,o),e.element&&e.element.setAttribute("data-language",e.language);let c=e.interactiveType,u=e.scaffoldingType;if(r){let p=o.querySelector("button[data-code-header-action-button]");if(p){let m=c?.activateButtonConfig;for(let f of m?.attributes||[])p.setAttribute(f.name,f.value);let g=(f,_=!1)=>{_!==!0&&history.replaceState(null,"",`#${i}`),p.classList.add("is-loading"),p.disabled=!0;let h=e.element.textContent?.trim()||"",y;if(c){if(b.data.pageTemplate==="ModuleUnit"){let v=S.getElementById("interactive-container");y=w3(c,v)}else{let v=k3("animate",p);y=w3(c,v)}y.setCode(h,u).then(()=>y.execute()).catch(()=>{}).then(()=>{p.classList.remove("is-loading"),p.disabled=!1})}};p.addEventListener("click",g),tFe(n)&&g(null,!0)}}e.element.classList.remove("loading"),e.element.insertAdjacentElement("beforebegin",o),e.header=o}function P3(){return d``}function rFe(e){let t=e.activateButtonConfig;return d``}var J_=e=>e.split(/\n\n/).map(t=>t.split(/[\\`][\s]*$/gm).map(o=>o.trim()).join(" ")).join(` `),sFe={powershell:e=>J_(e.replace(/\bPS [a-z]:\\>\s?/gi,"")),azurecli:J_,azurepowershell:J_,"azurepowershell-interactive":J_,"cloudshell-powershell":J_,ps:J_};function aFe(e,t){let n=(sFe[t]||(i=>i))(e.textContent?.trim()||"");return Er(n,e)}function lFe(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"),pt(jE,"assertive",1e3),setTimeout(()=>{t?.classList.add("is-transparent"),e.removeAttribute("debounce")},1e3),!0}var jt=class extends Error{constructor(t){let{status:o,statusText:n,url:i}=t,r=L3(t.headers);super(`Unexpected response status ${o}: ${n} from "${i}". Headers: ${JSON.stringify(r,null,2)}`),this.name=this.constructor.name,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,this.constructor),this.status=o,this.statusText=n,this.url=i,this.headers=r}};function L3(e){let t;try{t=Object.fromEntries(e)}catch{t={error:"Unable to serialize headers"}}if("set-cookie"in t){let o=t["set-cookie"];t["set-cookie"]=`[Redacted. Length=${o.length}]`}return t}async function Z_(e,t=b.data.userLocale){let o=`${z.taxonomy}?${pe({name:e,locale:t})}`,n=await $(o);if(n.ok)return(await n.json())[e].map(r=>({value:r.slug,displayName:r.styleGuideLabel||r.label,level:r.level?+r.level:r.level,parent:r?.parentSlug}));throw new jt(n)}var R3=class{constructor(){this.cache={}}async get(t){return await this.getInternal(t)}async getFamily(t){return await this.getInternal(t,1)}taxonomyTermsToTaxonomyMap(t,o){return t.reduce((n,i)=>((!o||i.level===o)&&(n[i.value]=i.displayName),n),{})}async getInternal(t,o){let n=[];try{t in this.cache||(this.cache[t]=Z_(t)),n=await this.cache[t]}catch{delete this.cache[t]}return this.taxonomyTermsToTaxonomyMap(n,o)}},ew=new R3;var Nbe="proglang",X_={getDisplayNames:()=>ew.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","powerquery-m":"fsharp"},unset:"",default:cFe(),get preferred(){return(oe.getItem(Nbe)||X_.unset).substr(5)},set preferred(e){oe.setItem(Nbe,"lang-"+e)}};function cFe(){return b&&b.data&&b.data.defaultDevLang?b.data.defaultDevLang:""}var AR,uFe=0,Fbe={};function kR(e){AR===void 0&&dFe();let t={id:uFe++,instructions:e};return AR.postMessage(t),new Promise(o=>Fbe[t.id]=o)}function dFe(){let e=location.origin+"/static/third-party/highlight.js/9.15.25/highlight.pack.js",t=new Blob([`(${pFe.toString()})('${e}') //# sourceURL=syntax-highlighter.js`],{type:"application/javascript"}),o=URL.createObjectURL(t);AR=new Worker(o),AR.onmessage=n=>{let i=n.data;Fbe[i.id](i.results)}}function pFe(e){function t(l,c){let u=[];if(c===null)return u;let p=/\n/g,m=1;for(;p.exec(l);)m++;let g=/(\d+)(?:\s*-\s*(\d+))?/g,f;for(;f=g.exec(c);){let _=+f[1]-1;if(isNaN(_)||_>=m)continue;let h=f[2]===void 0?_:+f[2]-1;isNaN(h)||h<_||(h=Math.min(h,m-1),u.push({start:_,end:h}))}return u}let o=/.*<\/rgn>/gi,n=/RGNPLACEHOLDER/g,i="RGNPLACEHOLDER";function r(l,c){return l.replace(o,u=>(c.push(u),i))}function s(l,c){return l.replace(n,()=>c.shift())}function a(l){let{id:c,instructions:u}=l.data,p=[];for(let{language:g,code:f,highlightLines:_}of u){let h={code:f,html:"",success:!1};try{let y=[],v=r(f,y),T=[],I=t(f,_);if(I.length){let D=v.split(` `),le=0;I.forEach(ye=>{ye.start>le&&T.push({highlight:!1,lines:D.slice(le,ye.start).join(` `)}),T.push({highlight:!0,lines:D.slice(ye.start,ye.end+1).join(` `)}),le=ye.end+1}),le<=D.length&&T.push({highlight:!1,lines:D.slice(le).join(` `)})}else T.push({highlight:!1,lines:v});let A=null,O="";do{let D=T.shift(),{value:le,top:ye}=hljs.highlight(g,D.lines,!0,A);A=ye,O+=D.highlight?`${le}`:`${le}`,T.length&&(O+=` `)}while(T.length);h.html=s(O,y),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 mFe(e,t){for(let o=0;o code, span[class*="lang-"]'),r=[],s;if(i.length>0){let a=await t.getDisplayNames();for(let l=0;l({language:i.syntaxLanguage,code:i.code,highlightLines:i.highlightLines}));return o.forEach(i=>{zbe(i,t)}),kR(n).then(i=>{for(let r=0;r{n.element.hidden=!i,n.header&&(n.header.hidden=!i)};for(let n of e){let i=!1;for(let r of n.members){let s=r.visibilityLanguage===t||r.element.classList.toString().indexOf(`lang-${t}`)!==-1;o(r,s),i=i||s}i||o(n.default,!0)}Rt()}function fFe(e,t,o=location.search){let n=bFe(e,o),i=t.preferred;return i!==t.unset&&e.indexOf(i)!==-1&&(n.length===0||n.indexOf(i)!==-1)?i:t.default!==t.unset&&e.indexOf(t.default)!==-1&&(n.length===0||n.indexOf(t.default)!==-1)?t.default:n.length!==0?n[0]:e[0]}var hFe=["Architecture","Conceptual","FAQ","HowTo","Marketing","ModuleUnit","Question","QuestionEdit","Reference","Sample","Welcome"];function IR(){S.querySelectorAll(".cdlHolder .cdlLastVisible").forEach(function(o){o.classList.remove("cdlLastVisible")});let e=lt(),t=S.querySelectorAll(".cdlHolder");Ys(e)&&t.forEach(function(o){let n=o.querySelectorAll(`.cdl[data-moniker~='${e}']:not([hidden]),.cdl:not([data-moniker]):not([hidden])`);n.length>0&&n[n.length-1].classList.add("cdlLastVisible")})}async function tw(e){if(hFe.indexOf(b.data.pageTemplate)===-1)return;let t=Array.from(S.querySelectorAll(".lang-title")),o=Array.from(S.querySelectorAll(".language-selector button")),n=[];if(o.length>0){let c=await X_.getDisplayNames();o.forEach(u=>{if(b.data.userDir==="rtl"?u.classList.add("justify-content-flex-end"):u.classList.add("justify-content-flex-start"),u.dataset.biName){let p=u.dataset.biName.substr(5);u.textContent=c[p],n.push(p)}})}let i=o!==null&&n.length>0,r=await gFe(e??S.body,X_,n);if(i){let c=fFe(n,X_),u=S.querySelector('[data-bi-name="lang-'+c+'"]');t.forEach(p=>{p.textContent=u.textContent}),Obe(r,c),IR(),o.forEach(p=>{p===u&&p.setAttribute("aria-pressed","true"),Ut(p,"click",()=>{if(o.forEach(m=>{m.setAttribute("aria-pressed","false")}),p.setAttribute("aria-pressed","true"),t.forEach(m=>{m.textContent=p.textContent}),p.dataset.biName){let m=p.dataset.biName.substr(5);X_.preferred=m,Obe(r,m)}IR(),cp(),qbe(r,b.data.contentDir)})})}let s=r.flatMap(c=>c.members),a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(()=>Ube(s))}return window.addEventListener("resize",l,{passive:!0}),Ube(s),qbe(r,b.data.contentDir)}function Ube(e){e.forEach(t=>{let{type:o,element:n}=t;if(o!=="precode")return;n.scrollWidth>n.clientWidth?(n.setAttribute("role","group"),n.setAttribute("aria-label",NZ),n.tabIndex=0):(n.removeAttribute("role"),n.removeAttribute("aria-label"),n.removeAttribute("tabindex"))})}function bFe(e,t=location.search){return new URLSearchParams(t).get("devlangs")?.split(",").filter(o=>e.includes(o))??[]}We();var ow={401:Gp,403:r2,404:Gp,422:Gp,429:r2,500:Gp};async function Hbe(e){let t={payload:{platformId:e}};try{let o=await $(K(z.copilot.summarize,{body:JSON.stringify(t),method:"POST"},!1)),n=o.status.toString();if(n in ow)try{return{message:(await o.json())?.message||ow[n],errorCode:n}}catch{return{message:ow[n],errorCode:n}}if(o.ok)try{let i=await o.json();return"errorCode"in i||i?.message?i:{message:a2,errorCode:"500"}}catch{return{message:a2,errorCode:"500"}}return{message:s2,errorCode:o.status.toString()}}catch{return{message:s2,errorCode:"500"}}}var Bl=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||Ht),PR=typeof __karma__<"u";var _Fe=1e3*60*5,vFe=new URL(window.location.href).pathname.replace(new RegExp(`^/${b.data.userLocale}`),""),Vbe="rollout-status",nw;async function Di(e){nw===void 0&&(nw=M3());let t=await nw;if(t&&"failed"in t&&(nw=M3()),!t||"failed"in t)return Bbe("feature-rollout-failure",{featureName:e}),!1;let o=t.activeFeatures.find(i=>"name"in i?i.name===e:!1);if(!o)return!1;let n=await yFe(o);return Bbe("feature-rollout-activated",{featureName:e,isActive:n}),n}async function yFe(e,t=b.data.userLocale,o=vFe,n=b.data.pageTemplate,i=Te.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=>o.startsWith(g)):!0))return!1;let c=e.conditions.find(g=>g.limitTo==="pageTemplate");return(c?!!c.pageTemplates.find(g=>g===n):!0)?e.conditions.find(g=>g.limitTo==="authenticated")?await i:!0:!1}async function Gbe(){nw=M3()}async function M3(e=ce()["refresh-rollout"]==="true"){let t=xFe(e);if(t)return t;let n=`/en-us/feature-rollout.json${R.reviewFeatures?"?branch=main":""}`;Bl&&(n=`/en-us/test/feature-rollout.json?branch=${bt()}`);try{let i=await $(n,{method:"GET"});if(!i.ok)return{failed:!0};let r=await i.json();return r.expiresAt=new Date(Date.now()+_Fe).getTime(),oe.setItem(Vbe,JSON.stringify(r)),r}catch{return{failed:!0}}}function xFe(e=!1){if(e)return null;let t=oe.getItem(Vbe);if(!t)return null;let o;try{o=JSON.parse(t)}catch{return null}if(!o||"failed"in o||!o.expiresAt)return null;let n=o.expiresAt||0;return Date.now()>=n||!("activeFeatures"in o)||"failed"in o?null:o}function Bbe(e,t){Se({content:{type:e,content:JSON.stringify(t)}})}var ot=class{},$g=class{};var Vl="ms--ai-summary-body",Qbe="ms--ai-summary",du="ms--ai-summary-header",jbe="ms--ai-summary-cta",Ybe="ms--ai-summary-feedback",up="ai-summary",Wbe="ms--ai-summary-feedback-buttons",Kbe="ms--ai-summary-feedback-thanks";We();k();function Jbe(e){switch(e.state){case"ready":case"loading":return EFe(e);case"loaded":return TFe(e);case"errored":return AFe(e);default:return d``}}function $3(e,t){return d`

    ${t}

    `}function TFe(e){let t=d``;if(e.response){let{message:o}=e.response;o?t=d`${SFe(o)} ${wFe(e)} `:t=d`

    ${V0}

    `}return d`
    ${$3(e,ph)}
    ${t}
    `}function SFe(e){return d`
    ${N(e)}
    `}function wFe(e){return d`
    ${Hu} ${N(zre)}${CFe(e)}
    `}function CFe(e){return d`
    ${gh}
    `}function EFe(e){return d`
    ${$3(e,ph)}

    ${B0}

    `}function AFe(e){let{errorCode:t}=e.response,n=ow[t]??Gp;return d`
    ${$3(e,ph)}
    ${n}
    `}function Zbe(e){return typeof e=="object"&&e!==null&&"message"in e&&"errorCode"in e}var Gl,iw,rw,ev,tv,ov,nv,iv,rv,LR=class extends Be{constructor(o){super();this.state="ready";Bt(this,Gl,null);Bt(this,iw);Bt(this,rw);Bt(this,ev,!1);Bt(this,tv,null);Bt(this,ov,null);Bt(this,nv,!1);Bt(this,iv,!0);Bt(this,rv,!0);gt(this,rw,P("platform_id")??""),gt(this,iw,o)}set sessionId(o){gt(this,tv,o)}get sessionId(){return ve(this,tv)}set interactionId(o){gt(this,ov,o)}get interactionId(){return ve(this,ov)}get response(){return ve(this,Gl)}set response(o){gt(this,Gl,o)}get visible(){return ve(this,ev)}set visible(o){ve(this,ev)!==o&&(gt(this,ev,o),this.notifyStateChanged())}get showFeedbackThanks(){return ve(this,nv)}set showFeedbackThanks(o){ve(this,nv)!==o&&(gt(this,nv,o),this.notifyStateChanged())}get showHeader(){return ve(this,iv)}set showHeader(o){ve(this,iv)!==o&&(gt(this,iv,o),this.notifyStateChanged())}get showCta(){return ve(this,rv)}set showCta(o){ve(this,rv)!==o&&(gt(this,rv,o),this.notifyStateChanged())}async fetch(){try{if(!this.response||Zbe(this.response)===!0){this.state="loading",this.notifyStateChanged();let o=new Date().toISOString(),n=await ve(this,iw).call(this,ve(this,rw));if(Zbe(n)){this.state="errored",gt(this,Gl,n),this.notifyStateChanged();return}else{gt(this,Gl,n),gt(this,tv,n?.sessionId??null),gt(this,ov,n?.interactionId??null);let i=new Date().toISOString();this.timeToContentTelemetry(o,i);try{let s=new DOMParser().parseFromString(ve(this,Gl).message??"","text/html");s.querySelectorAll("[id]").forEach(a=>{a.removeAttribute("id"),a.tagName.match(/^H[1-6]$/)&&a.classList.add("margin-top-xs")}),ve(this,Gl).message=s.body.innerHTML}catch{}}}this.state="loaded",this.notifyStateChanged()}catch(o){this.state="errored",gt(this,Gl,{message:o.message,errorCode:o.name}),this.notifyStateChanged()}}displayThanksForFeedback(o){this.showFeedbackThanks=!0,Se({behavior:me.OTHER,content:{autoIngest:!0,type:"ai-summary-feedback",aN:up,timestamp:new Date().toISOString(),sessionId:this.sessionId,interactionId:this.interactionId,feedbackData:{sat:o?1:0}}})}toggleAiSummaryVisibility(){this.visible=!this.visible,this.showHeader=!1,this.showCta=!0,this.visible||(this.showFeedbackThanks=!1),this.state==="errored"&&(this.state="ready")}timeToContentTelemetry(o,n){Se({behavior:me.OTHER,content:{autoIngest:!0,type:"ai-summary-request",aN:up,sessionId:this.sessionId,interactionId:this.interactionId,triggeredTimestamp:o,returnedTimestamp:n}})}notifyStateChanged(){this.publish(new ot)}};Gl=new WeakMap,iw=new WeakMap,rw=new WeakMap,ev=new WeakMap,tv=new WeakMap,ov=new WeakMap,nv=new WeakMap,iv=new WeakMap,rv=new WeakMap;async function Xbe(){let e=C.aiSummary&&await Di("ai-summary")||je("ai-summary",{require:!0}),t=document.querySelector('[data-id="ai-summary"]'),o=document.getElementById(Qbe),n=document.getElementById(du),i=document.getElementById(jbe);if(!e||!t||!o||!n||!i)return;t.hidden=!1;let r=new LR(Hbe),s=!1;o.addEventListener("click",async()=>{r.showHeader=!0,r.showCta=!1,r.visible=!0;let a=document.getElementById(du);if(!a)return;let l=()=>{n.hidden=!r.showHeader,i.hidden=!r.showCta,x(Jbe(r),a)};s||(r.subscribe(ot,l),s=!0),l(),r.state==="ready"&&await r.fetch()})}k();function D3(e){return new Promise((t,o)=>{let n=S.createElement("img");n.classList.add("visually-hidden"),n.setAttribute("aria-hidden","true"),n.src=e,n.onload=()=>{n.remove(),t(null)},n.onerror=()=>{n.remove(),o()},S.body.appendChild(n)})}function sw(e){let t=S.createElement("link");t.rel="preload",t.as="image",t.href=e,S.head.appendChild(t)}function e_e(e,t,o,n=500){let i=0,r=(...s)=>{t(i),i=e.apply(null,[o.bind(null,...s),n])};return r.cancel=()=>t(i),r}var sv={timeout:e_e.bind(null,setTimeout,clearTimeout),animationFrame:e_e.bind(null,H.requestAnimationFrame,H.cancelAnimationFrame)};function t_e(){kFe()}var z3=!1;function N3(e,t,o=()=>{}){window.addEventListener("click",n=>{n.target instanceof HTMLElement&&n.target.closest(e)&&o(()=>t.show())})}function F3(e,t=()=>{},o=!1){window.addEventListener("click",n=>{let i=n.target instanceof HTMLElement&&n.target.closest(e);!i||!document.querySelector(".layout-body-flyout")||t(()=>{pu(i,o)})})}async function o_e(e,t,o,n=()=>{}){window.addEventListener("click",r=>{let s=r.target instanceof HTMLElement&&r.target.closest(e);s&&(r.preventDefault(),n(()=>{Pi.matches?o(s,!0):t()}))}),await xe;let i=document.querySelector(e);i&&(i.hidden=!1)}function pu(e,t=!1){let o=document.querySelector(".layout-body-flyout");if(!o)return;z3=!z3;let n=document.documentElement.classList.contains("layout-flyout-active")?"remove":"add",i=n==="add"?"flyout-show":"flyout-hide";if(window.dispatchEvent(new CustomEvent(i)),(!t||n==="add")&&(document.documentElement.classList[n]("layout-flyout-active"),Rt()),t||n==="add"){e.dataset.flyoutReturnFocus="true";let r=o.querySelector('button[data-flyout-button="close"]');r&&r.focus()}}cl.subscribe("layout-flyout-active","always",async e=>{let t=e.isApplied,o=t?"add":"remove";await xe;let n=document.querySelectorAll('[data-flyout-button="toggle"]');for(let i of n)i.classList[o]("is-selected"),i.setAttribute("aria-expanded",t.toString())});function kFe(){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")),z3=!1,document.documentElement.classList.remove("layout-flyout-active"),window.dispatchEvent(new CustomEvent("flyout-hide")),Rt()})}function n_e(e,t){if(localStorage.getItem("playwrightActive"))return;let o=document.querySelector(t);if(!o)return;let n=Pi.matches,i=()=>!!document.querySelector('[data-chat-container-name="ask-learn-modal"]'),r=()=>document.documentElement.classList.contains("layout-flyout-active"),s=()=>{document.documentElement.classList.remove("layout-flyout-active"),o.classList.remove("is-selected")},a=()=>{let l=Pi.matches;!n&&l&&i()?(e.hide(),pu(o,!0)):n&&!l&&r()&&(e.show(),s()),n=l};window.addEventListener("resize",()=>{window.requestAnimationFrame(a)}),a()}var q3="[data-ask-learn-modal-entry]",aw="[data-ask-learn-flyout-entry]",RR="[data-ask-learn-modal-entry-feedback]",MR="[data-ask-learn-flyout-entry-show-only]",i_e="[data-skip-to-ask-learn]",r_e=[q3,aw];function a_e(){s_e(),ut.subscribe(bo,s_e)}async function s_e(){await xe,Array.from(document.querySelectorAll(r_e.join(","))).forEach(o=>o.hidden=!1),Array.from(document.querySelectorAll("[data-chat-tutor-modal-entry]")).forEach(o=>o.hidden=!0)}k();k();function l_e(e){let{text:t,biName:o,biTn:n,alignment:i,action:r}=e;return d``}function IFe(e,t){let o=[];for(let i=0;i`)}let n=dse.replace("{step-index}",e.toString()).replace("{step-count}",t.toString());return d`

    ${n}

    `}function PFe(e){return d``}function O3(e,t,o){let n=PFe(e.imageSrc);return d``}function $R(e,t,o){e0&&c_e(e-1,t,o)}var LFe='[data-focus-on-button-click="true"]';function c_e(e,t,o){let n=document.createElement("div"),i=O3(t[e],e,t.length);x(i,n),o.pushContent(n);let r=n.querySelector(LFe);r&&r.focus()}function zR(e){e.hide()}function U3(e,t){e.hide(),localStorage.setItem(t,"2")}function NR(e,t,o,n,i,r,s,a,l,c,u){return{fetch:e,maxMessages:t,getContextIdType:o,getContextId:n,validate:i,errorMapping:r,starterPrompts:s,suggestionPills:a,companionActive:l,onFeedback:c,onTimeTelemetry:u}}var av="/en-us/media/ask-learn/meet-ask-learn-base.png",cw="/en-us/media/ask-learn/check-for-accuracy-base.png",FR="ask-learn-history",Dg="ask-learn-history-last-interaction-time",zg="ask-learn-open-status";function RFe(e){return/[\u{10000}-\u{10FFFF}]/u.test(e)}function MFe(e){return RFe(e)?"non_unicode_characters":null}var lw={"validation-failure":PE,"session-not-found":jn,"interaction-not-found":jn,open_ai_content_filter:kz,copilot_content_filter:kz,knowledge_index_no_results:Hy,copilot_invalid_urls:Hy,open_ai_empty_message:Hy,failed_to_parse_open_ai_message:Hy,non_unicode_characters:lY,open_ai_too_many_requests:IE},$Fe=[{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: "}],DFe=[{name:"summarize",description:"Summarize this page",prompt:"Summarize this page"},{name:"troubleshoot",description:"Help me troubleshoot",prompt:"/troubleshoot"}],d_e={like:{[Nj]:"01-ai-positive-accurate-relevant",[Fj]:"02-ai-positive-complete-clear",[qj]:"03-ai-positive-fast",[Az]:"00-ai-positive-other"},dislike:{[Oj]:"01-ai-negative-inaccurate-irrelevant",[Uj]:"02-ai-negative-incomplete-unclear",[Bj]:"03-ai-negative-slow",[Hj]:"04-ai-negative-offensive-inappropriate",[Az]:"00-ai-negative-other"}},zFe=120*1e3;async function NFe(e){let t={body:JSON.stringify({message:e.message,payload:{message:e.message,pageTemplate:e.pageTemplate,idType:e.idType,id:e.id},...e.sessionId?{sessionId:e.sessionId}:{}}),headers:{Accept:"applicationhttps://www.microsoft.com/json","Content-Type":"applicationhttps://www.microsoft.com/json"},method:"POST"};try{let o=await $(K(z.copilot.chatAssistant,t,!0),{},zFe);if(o.status===401)return he(o),{message:Of,isError:!0};if(!o.ok)try{let i=await o.json();return{message:i.errorCode&&i.errorCode in lw?lw[i.errorCode]:jn,interactionId:i.additionalData?.interactionId,isError:!0}}catch{return{message:jn,isError:!0}}let n=await o.json();return"errorCode"in n?{message:n.errorCode&&n.errorCode in lw?lw[n.errorCode]:jn,interactionId:n?.additionalData?.interactionId,isError:!0}:{sessionId:n.sessionId,interactionId:n.interactionId,message:n.message,responseCount:n.assistantMessageCount,citations:n.citations}}catch{return{message:jn,isError:!0}}}var FFe=10;function u_e(){if(new URLSearchParams(window.location.search).has("excludeContext"))return{uid:void 0,contextIdType:void 0};if(b.data.pageTemplate==="ModuleUnit"){let n=P("uid");if(n)return{uid:Ht?n.replace("learn-test","learn"):n,contextIdType:"unitUid"}}let o=P("platform_id");return o?{uid:o,contextIdType:"platformId"}:{uid:void 0,contextIdType:void 0}}async function qFe(){return NR(NFe,FFe,()=>u_e().contextIdType||"",()=>u_e().uid||"",MFe,lw,$Fe,DFe)}var p_e=qFe();var Ng="ask-learn-assistant",Ar="learn-companion-fre";function Fg(e=Ng){let t=oe.getItem(e);return t?Number(t):0}function OFe(e,t){let o=[{title:Pz,imageSrc:av,descriptions:[Uy],buttonLeft:{text:Iz,biName:"01-not-now",biTn:Ng,alignment:"left",action:()=>{zR(e),t?.()}},buttonRight:{text:Ji,biName:"01-next",biTn:Ng,alignment:"right",action:()=>$R(0,o,e)}},{title:Lz,imageSrc:cw,descriptions:[Rz,Mz],buttonLeft:{text:Cs,biName:"02-previous",biTn:Ng,alignment:"left",action:()=>DR(1,o,e)},buttonRight:{text:$z,biName:"try-cta",biTn:Ng,alignment:"right",action:()=>{U3(e,Ng),t?.()}}}];return o}function UFe(e,t){let o=[{title:Pz,imageSrc:av,descriptions:[Uy],buttonLeft:{text:Iz,biName:"01-not-now",biTn:Ar,alignment:"left",action:()=>{zR(e),t?.()}},buttonRight:{text:Ji,biName:"01-next",biTn:Ar,alignment:"right",action:()=>$R(0,o,e)}},{title:Lz,imageSrc:cw,descriptions:[Rz,Mz],buttonLeft:{text:Cs,biName:"02-previous",biTn:Ar,alignment:"left",action:()=>DR(1,o,e)},buttonRight:{text:Ji,biName:"02-next",biTn:Ar,alignment:"right",action:()=>$R(1,o,e)}},{title:Gj,imageSrc:av,descriptions:[AE],acknowledgementCheckbox:{label:Qj},buttonLeft:{text:Cs,biName:"03-previous",biTn:Ar,alignment:"left",action:()=>DR(2,o,e)},buttonRight:{text:$z,biName:"03-try-ask-learn",biTn:Ar,alignment:"right",action:()=>{document.querySelector(".fre-acknowledgement-checkbox")?.checked?(U3(e,Ar),t?.()):(pt(jj,"assertive"),zR(e),t?.())}}}];return o}function m_e(e,t,o,n=!1,i=!1){let r=Fg(e);if(r>=2||!i&&document.documentElement.classList.contains("layout-flyout-active")){o?.();return}else n||(r++,oe.setItem(e,r.toString()));let s=document.createElement("div");document.body.appendChild(s);let a=new we(s,""),l=t(a,o),c=O3(l[0],0,l.length);x(c,s),a.show()}function g_e(e){m_e(Ng,OFe,e)}function qR(e,t=!1){m_e(Ar,UFe,e,!0,t)}var UR="learn-companion-history",qg="learn-companion-history-last-interaction-time",gu="learn-companion-open-status",OR="learn-companion-fre-synced",HFe=30*1e3,BFe=10,HR=100,mu=class extends Error{constructor(o,n){super(n);this.status=o}};async function uw(e,t,o,n){try{let i=await $(K(e,t,!0),{},o,n);if(i.status===401)throw he(i),new mu(401,Of);if(i.status===429)throw new mu(429,IE);if(!i.ok)throw new mu(i.status,jn);return i}catch(i){throw i instanceof mu?i:new mu(0,jn)}}function f_e(e){let t="",o="";for(let i of e.split(` `))i.startsWith("event:")?t=i.slice(6).trim():i.startsWith("data:")&&(o=i.slice(5).trim());if(!t)return null;let n=o;try{let i=JSON.parse(o);n=i.d==="_"?"":i.d??""}catch{}return{event:t,data:n}}async function VFe(e,t){try{let o=await uw(z.agentService.stream,{method:"POST",body:JSON.stringify(e)},HFe,t);if(!o.body)return{message:jn,isError:!0};let n=o.body.getReader(),i=new TextDecoder,r="",s="",a=e.conversationId??null;for(;;){let{done:l,value:c}=await n.read();if(l)break;r+=i.decode(c,{stream:!0});let u=r.split(` `);r=u.pop()||"";for(let p of u){if(!p.trim())continue;let m=f_e(p);if(m)switch(m.event){case"StreamStart":m.data&&m.data!=="_"&&(a=m.data);break;case"AgentResponse":s+=m.data;break;case"StreamEnd":return{sessionId:a??void 0,message:s};case"Error":return{message:m.data||jn,isError:!0}}}}if(r.trim()){let l=f_e(r);if(l?.event==="Error")return{message:l.data||jn,isError:!0}}return{sessionId:a??void 0,message:s}}catch(o){return{message:o instanceof mu?o.message:jn,isError:!0}}}async function V3(e,t=BFe){let o=new URL(z.agentService.conversations);o.searchParams.set("take",String(t)),e&&o.searchParams.set("continuationToken",e);let i=await(await uw(o.toString())).json(),r=i.continuationToken??null;return{conversations:Array.isArray(i.conversations)?i.conversations:[],continuationToken:r,haAlpha XR:r!==null,totalConversations:typeof i.totalConversations=="number"?i.totalConversations:0}}async function h_e(e){let t=`${z.agentService.conversations}/${encodeURIComponent(e)}`;await uw(t,{method:"DELETE"})}async function b_e(e,t){let o=`${z.agentService.conversations}/${encodeURIComponent(e)}`;await uw(o,{method:"PATCH",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify({summary:t})})}function GFe(){return document.head.querySelector('link[rel="canonical"]')?.href??window.location.href}var H3="Summarize this page",QFe=[{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: "}],jFe=100;async function __e(e){try{let t=new URL(`${z.agentService.conversations}/${encodeURIComponent(e)}`);return t.searchParams.set("take",String(jFe)),{messages:((await(await uw(t.toString())).json()).messages??[]).flatMap(s=>{let a=(s.role??"").toLowerCase(),l=s.content??"";return a==="user"?[{type:"user",content:l}]:a==="assistant"?[{type:"ai",content:l}]:[]})}}catch(t){return{messages:[],error:t instanceof mu?t.message:jn}}}async function YFe(){return NR(e=>{let t=e.message.trim().toLowerCase()===H3.toLowerCase()?`${e.message.trim()}: ${GFe()}`:e.message;return VFe({query:t,conversationId:e.sessionId})},1/0,()=>"",()=>"",void 0,void 0,QFe,[{name:"summarize",description:H3,prompt:H3}],!0,WFe,KFe)}function WFe({sessionId:e,feedbackData:t,consentProvided:o,authType:n}){Se({behavior:me.SURVEYCOMPLETE,actionType:Ee.OTHER,content:{autoIngest:!0,type:"learn-companion-feedback",timestamp:new Date().toISOString(),sessionId:e,feedbackData:t,authType:n,isUserConsent:o}})}function KFe({triggeredTime:e,returnedTime:t,sessionId:o,interactionId:n}){Se({behavior:me.OTHER,actionType:Ee.OTHER,content:{autoIngest:!0,type:"learn-companion-request",an:"learn-companion-chat",name:"learn-companion-chat-request",triggeredTimestamp:e,returnedTimestamp:t,sessionId:o,interactionId:n}})}var v_e=YFe();function BR(){return Fg(Ar)>=2||w.companionPreferences?.chatHistoryEnabled===!0}var JFe=3e4,B3;function ZFe(){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 VR(){if(!(!w.isAuthenticated||!w.userName)&&!(Fg(Ar)<2))try{if(w.companionPreferences===void 0){let o=Zo();if(!o)return;let n=await im(o);if(!n)return;w.readUserProfile(n)}let e=w.companionPreferences?.chatHistoryEnabled;if(e===!0){oe.setItem(OR,"1");return}if(e===!1&&oe.getItem(OR)){oe.removeItem(Ar),oe.removeItem(OR);return}(await Rh(w.userName,ZFe())).hasError?B3??(B3=setInterval(VR,JFe)):(oe.setItem(OR,"1"),clearInterval(B3),B3=void 0)}catch{}}k();k();function Ws(){return d`
    ${Cj}
    `}k();function dw(e,t){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector(`[data-conversation-id="${CSS.escape(t)}"] [data-chat-history-row-overflow]`)?.focus()})}function XFe(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 y_e(e){requestAnimationFrame(()=>{let t=e.getActiveContainer()?.querySelector("[data-chat-history-rename-input]");t?.focus(),t?.select()})}function x_e(e){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector("[data-chat-history-confirm-delete-yes]")?.focus()})}function eqe(e){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector("#chat-history-search-input")?.focus()})}function T_e(e,t){if(e.pendingDeleteId){let o=e.conversations.find(n=>n.conversationId===e.pendingDeleteId);return tqe(e,t,o)}return d`

    ${qf}

    ${oqe(e,t)} ${e.isLoading?d`
    ${Dt}
    `:e.error&&!e.pendingRenameId?d`
    `:e.filteredConversations.length===0?d`
    ${Mj}
    `:d`
      ${ho(e.filteredConversations,o=>o.conversationId,o=>nqe(o,e,t))}
    ${e.isLoadingMore?d`
    ${Dt}
    `:e.loadMoreError?d`

    ${e.loadMoreError}

    `:e.haAlpha XR?d`
    `:""} `}
    `}function tqe(e,t,o){return d`

    ${wz}

    ${tl}

    ${Rj.replace("{name}",()=>o?.summary??"")}

    ${e.error?d``:""}
    `}function oqe(e,t){return d`
    {o.preventDefault(),e.search(o.currentTarget.elements.namedItem("keyword").value)}} >
    `}function nqe(e,t,o){let n=t.pendingRenameId===e.conversationId;return d`
  • ${n?iqe(e,t,o):d`
    `}
  • `}function iqe(e,t,o){let n=async()=>{let i=t.pendingRenameDraft.trim();if(!i||i===e.summary){t.cancelRename(),dw(o,e.conversationId);return}await t.rename(e.conversationId,i)?dw(o,e.conversationId):y_e(o)};return d`
    {i.preventDefault(),n()}} @keydown=${i=>{i.key==="Escape"&&(i.preventDefault(),t.cancelRename(),dw(o,e.conversationId))}} >{t.updateRenameDraft(i.currentTarget.value)}} aria-label="${$j}" aria-invalid=${t.error?"true":"false"} aria-describedby=${t.error?`chat-history-rename-error-${e.conversationId}`:""} />${t.error?d``:""}
    `}k();k();function rqe(e,t,o){let n=yk(o);if(!n)return"";let i=Ye(String(t??"")),r=Ye(n);return`
    ${e}
    ${e}. ${i}
    `}function S_e(e){return e?Object.entries(e).map(([t,o])=>{let n=parseInt(t),{title:i,url:r}=o;return rqe(n,i,r)}):[]}function G3(e,t){if(!e||!t.length)return;let o=n=>{if(!n.open)return;let i=n.querySelector(".popover-content"),r=n.querySelector(".tag-summary");if(!i||!r)return;n.classList.add("popover-left"),i.offsetHeight;let s=e.getBoundingClientRect(),a=r.getBoundingClientRect(),l=i.getBoundingClientRect();a.left+a.width/2-l.width/2>=s.left&&(n.classList.remove("popover-left"),i.offsetHeight)};t.forEach(n=>{n.querySelectorAll("details.popover.tag-popover").forEach(r=>{r.addEventListener("toggle",s=>{let a=s.target;a.open&&o(a)})})})}k();function sqe(e,t,o,n,i,r){let s=`${e}-${t}-msg${i}`,a=`${e}-${t}-msg${i}-choice${r}`;return d``}function aqe(e,t,o){return Object.entries(d_e[o]).map(([r,s],a)=>sqe(t,o,r,s,e.index,a))}function lqe(e){return t=>{if(!t)return;let o=t.currentTarget;if(!o)return;let n=o.getAttribute("aria-expanded")==="true";o.setAttribute("aria-expanded",(!n).toString());let i=o.getAttribute("aria-controls");if(!i)return;e.previewPayload(t);let r=`${i}-disclaimer`,s=document.getElementById(r);if(!s)return;let a=In(w_e(!n),d``);x(a,s),o.textContent=n?Ou:mx}}async function w_e(e){return await Te,w&&w.authenticationMode==="AAD"?N(e?eA:Xy):N(XE)}function cqe(e,t,o,n,i=w_e(!1)){let r=ja(n,"disclaimer-see-more","link-button font-weight-semibold font-size-sm margin-top-xxs",lqe(e),Ou,!0,!1,`ask-learn-show-more-${e.index}-${o}`),s=`${t}-feedback-payload-${e.index}-${o}`;return d`
    ${In(i,d``)}
    ${uqe(e,s)}
    ${r}
    `}function uqe(e,t){return d``}function dqe(e,t,o){let n=`${t}-feedback-textarea-${e.index}-${o}`,i=`${t}-see-more-${e.index}-${o}`;return d`
    e.handleSubmit(e,r)}>
    ${rY}
    ${aqe(e,t,o)}

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

    `}function C_e(e,t){let o;return e.state==="none"?"":(e.state==="submitted"||e.state==="cancelled"?o=d` ${Ws()}
    ${Vj}
    `:(e.state==="like"||e.state==="dislike")&&(o=dqe(e,t,e.state)),d`
    ${o}
    `)}var uM={};Do(uM,{default:()=>cM});var e4={};Do(e4,{arrayReplaceAt:()=>X3,assign:()=>uv,escapeHtml:()=>hu,escapeRE:()=>Yqe,fromCodePoint:()=>gw,has:()=>Nqe,isMdAsciiPunct:()=>Hg,isPunctChar:()=>Ug,isSpace:()=>$t,isString:()=>oM,isValidEntityCode:()=>nM,isWhiteSpace:()=>Og,lib:()=>Wqe,normalizeReference:()=>Bg,unescapeAll:()=>fu,unescapeMd:()=>Hqe});var WR={};Do(WR,{decode:()=>pw,encode:()=>jR,format:()=>lv,parse:()=>mw});var E_e={};function pqe(e){let t=E_e[e];if(t)return t;t=E_e[e]=[];for(let o=0;o<128;o++){let n=String.fromCharCode(o);t.push(n)}for(let o=0;o=55296&&u<=57343?i+="\uFFFD\uFFFD\uFFFD":i+=String.fromCharCode(u),r+=6;continue}}if((a&248)===240&&r+91114111?i+="\uFFFD\uFFFD\uFFFD\uFFFD":(p-=65536,i+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),r+=9;continue}}i+="\uFFFD"}return i})}GR.defaultChars=";/?:@&=+$,#";GR.componentChars="";var pw=GR;var A_e={};function mqe(e){let t=A_e[e];if(t)return t;t=A_e[e]=[];for(let o=0;o<128;o++){let n=String.fromCharCode(o);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+o.toString(16).toUpperCase()).slice(-2))}for(let o=0;o"u"&&(o=!0);let n=mqe(t),i="";for(let r=0,s=e.length;r=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1=56320&&l<=57343){i+=encodeURIComponent(e[r]+e[r+1]),r++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[r])}return i}QR.defaultChars=";/?:@&=+$,-_.!~*'()#";QR.componentChars="-_.!~*'()";var jR=QR;function lv(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 YR(){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 gqe=/^([a-z0-9.+-]+:)/i,fqe=/:[0-9]*$/,hqe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,bqe=["<",">",'"',"`"," ","\r",` `," "],_qe=["{","}","|","\\","^","`"].concat(bqe),vqe=["'"].concat(_qe),k_e=["%","/","?",";","#"].concat(vqe),I_e=["/","?","#"],yqe=255,P_e=/^[+a-z0-9A-Z_-]{0,63}$/,xqe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,L_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 Tqe(e,t){if(e&&e instanceof YR)return e;let o=new YR;return o.parse(e,t),o}YR.prototype.parse=function(e,t){let o,n,i,r=e;if(r=r.trim(),!t&&e.split("#").length===1){let c=hqe.exec(r);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let s=gqe.exec(r);if(s&&(s=s[0],o=s.toLowerCase(),this.protocol=s,r=r.substr(s.length)),(t||s||r.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=r.substr(0,2)==="//",i&&!(s&&L_e[s])&&(r=r.substr(2),this.slashes=!0)),!L_e[s]&&(i||s&&!R_e[s])){let c=-1;for(let f=0;f127?v+="x":v+=y[T];if(!v.match(P_e)){let T=f.slice(0,_),I=f.slice(_+1),A=y.match(xqe);A&&(T.push(A[1]),I.unshift(A[2])),I.length&&(r=I.join(".")+r),this.hostname=T.join(".");break}}}}this.hostname.length>yqe&&(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[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};YR.prototype.parseHost=function(e){let t=fqe.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 mw=Tqe;var Q3={};Do(Q3,{Any:()=>KR,Cc:()=>JR,Cf:()=>M_e,P:()=>cv,S:()=>ZR,Z:()=>XR});var KR=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var JR=/[\0-\x1F\x7F-\x9F]/;var M_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 cv=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 ZR=/[\$\+<->\^`\|~\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 XR=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var $_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 D_e=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var j3,Sqe=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]]),Y3=(j3=String.fromCodePoint)!==null&&j3!==void 0?j3: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 W3(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Sqe.get(e))!==null&&t!==void 0?t:e}var Hn;(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"})(Hn||(Hn={}));var wqe=32,dp;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(dp||(dp={}));function K3(e){return e>=Hn.ZERO&&e<=Hn.NINE}function Cqe(e){return e>=Hn.UPPER_A&&e<=Hn.UPPER_F||e>=Hn.LOWER_A&&e<=Hn.LOWER_F}function Eqe(e){return e>=Hn.UPPER_A&&e<=Hn.UPPER_Z||e>=Hn.LOWER_A&&e<=Hn.LOWER_Z||K3(e)}function Aqe(e){return e===Hn.EQUALS||Eqe(e)}var Un;(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"})(Un||(Un={}));var Ql;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ql||(Ql={}));var eM=class{constructor(t,o,n){this.decodeTree=t,this.emitCodePoint=o,this.errors=n,this.state=Un.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ql.Strict}startEntity(t){this.decodeMode=t,this.state=Un.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,o){switch(this.state){case Un.EntityStart:return t.charCodeAt(o)===Hn.NUM?(this.state=Un.NumericStart,this.consumed+=1,this.stateNumericStart(t,o+1)):(this.state=Un.NamedEntity,this.stateNamedEntity(t,o));case Un.NumericStart:return this.stateNumericStart(t,o);case Un.NumericDecimal:return this.stateNumericDecimal(t,o);case Un.NumericHex:return this.stateNumericHex(t,o);case Un.NamedEntity:return this.stateNamedEntity(t,o)}}stateNumericStart(t,o){return o>=t.length?-1:(t.charCodeAt(o)|wqe)===Hn.LOWER_X?(this.state=Un.NumericHex,this.consumed+=1,this.stateNumericHex(t,o+1)):(this.state=Un.NumericDecimal,this.stateNumericDecimal(t,o))}addToNumericResult(t,o,n,i){if(o!==n){let r=n-o;this.result=this.result*Math.pow(i,r)+parseInt(t.substr(o,r),i),this.consumed+=r}}stateNumericHex(t,o){let n=o;for(;o>14;for(;o>14,r!==0){if(s===Hn.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==Ql.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:o,decodeTree:n}=this,i=(n[o]&dp.VALUE_LENGTH)>>14;return this.emitNamedEntityData(o,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,o,n){let{decodeTree:i}=this;return this.emitCodePoint(o===1?i[t]&~dp.VALUE_LENGTH:i[t+1],n),o===3&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case Un.NamedEntity:return this.result!==0&&(this.decodeMode!==Ql.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Un.NumericDecimal:return this.emitNumericEntity(0,2);case Un.NumericHex:return this.emitNumericEntity(0,3);case Un.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Un.EntityStart:return 0}}};function z_e(e){let t="",o=new eM(e,n=>t+=Y3(n));return function(i,r){let s=0,a=0;for(;(a=i.indexOf("&",a))>=0;){t+=i.slice(s,a),o.startEntity(r);let c=o.write(i,a+1);if(c<0){s=a+o.end();break}s=a+c,a=c===0?s+1:s}let l=t+i.slice(s);return t="",l}}function kqe(e,t,o,n){let i=(t&dp.BRANCH_LENGTH)>>7,r=t&dp.JUMP_TABLE;if(i===0)return r!==0&&n===r?o:-1;if(r){let l=n-r;return l<0||l>=i?-1:e[o+l]-1}let s=o,a=s+i-1;for(;s<=a;){let l=s+a>>>1,c=e[l];if(cn)a=l-1;else return e[l+i]}return-1}var Iqe=z_e($_e),KRt=z_e(D_e);function pp(e,t=Ql.Legacy){return Iqe(e,t)}function tM(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 J3(e,t){return function(n){let i,r=0,s="";for(;i=e.exec(n);)r!==i.index&&(s+=n.substring(r,i.index)),s+=t.get(i[0].charCodeAt(0)),r=i.index+1;return s+n.substring(r)}}var N_e=J3(/[&<>'"]/g,Lqe),F_e=J3(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),q_e=J3(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var O_e;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(O_e||(O_e={}));var U_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"})(U_e||(U_e={}));function Dqe(e){return Object.prototype.toString.call(e)}function oM(e){return Dqe(e)==="[object String]"}var zqe=Object.prototype.hasOwnProperty;function Nqe(e,t){return zqe.call(e,t)}function uv(e){return Array.prototype.slice.call(arguments,1).forEach(function(o){if(o){if(typeof o!="object")throw new TypeError(o+"must be object");Object.keys(o).forEach(function(n){e[n]=o[n]})}}),e}function X3(e,t,o){return[].concat(e.slice(0,t),o,e.slice(t+1))}function nM(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 gw(e){if(e>65535){e-=65536;let t=55296+(e>>10),o=56320+(e&1023);return String.fromCharCode(t,o)}return String.fromCharCode(e)}var V_e=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Fqe=/&([a-z#][a-z0-9]{1,31});/gi,qqe=new RegExp(V_e.source+"|"+Fqe.source,"gi"),Oqe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Uqe(e,t){if(t.charCodeAt(0)===35&&Oqe.test(t)){let n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return nM(n)?gw(n):e}let o=pp(e);return o!==e?o:e}function Hqe(e){return e.indexOf("\\")<0?e:e.replace(V_e,"$1")}function fu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(qqe,function(t,o,n){return o||Uqe(t,n)})}var Bqe=/[&<>"]/,Vqe=/[&<>"]/g,Gqe={"&":"&","<":"<",">":">",'"':"""};function Qqe(e){return Gqe[e]}function hu(e){return Bqe.test(e)?e.replace(Vqe,Qqe):e}var jqe=/[.?*+^$[\]\\(){}|-]/g;function Yqe(e){return e.replace(jqe,"\\$&")}function $t(e){switch(e){case 9:case 32:return!0}return!1}function Og(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 Ug(e){return cv.test(e)||ZR.test(e)}function Hg(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 Bg(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}var Wqe={mdurl:WR,ucmicro:Q3};var i4={};Do(i4,{parseLinkDestination:()=>o4,parseLinkLabel:()=>t4,parseLinkTitle:()=>n4});function t4(e,t,o){let n,i,r,s,a=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos32))return r;if(n===41){if(s===0)break;s--}i++}return t===i||s!==0||(r.str=fu(e.slice(t,i)),r.pos=i,r.ok=!0),r}function n4(e,t,o,n){let i,r=t,s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)s.str=n.str,s.marker=n.marker;else{if(r>=o)return s;let a=e.charCodeAt(r);if(a!==34&&a!==39&&a!==40)return s;t++,r++,a===40&&(a=41),s.marker=a}for(;r"+hu(r.content)+""};jl.code_block=function(e,t,o,n,i){let r=e[t];return""+hu(e[t].content)+` `};jl.fence=function(e,t,o,n,i){let r=e[t],s=r.info?fu(r.info).trim():"",a="",l="";if(s){let u=s.split(/(\s+)/g);a=u[0],l=u.slice(2).join("")}let c;if(o.highlight?c=o.highlight(r.content,a,l)||hu(r.content):c=hu(r.content),c.indexOf("${c} `}return`
    ${c}
    `};jl.image=function(e,t,o,n,i){let r=e[t];return r.attrs[r.attrIndex("alt")][1]=i.renderInlineAsText(r.children,o,n),i.renderToken(e,t,o)};jl.hardbreak=function(e,t,o){return o.xhtmlOut?`
    `:`
    `};jl.softbreak=function(e,t,o){return o.breaks?o.xhtmlOut?`
    `:`
    `:` `};jl.text=function(e,t){return hu(e[t].content)};jl.html_block=function(e,t){return e[t].content};jl.html_inline=function(e,t){return e[t].content};function dv(){this.rules=uv({},jl)}dv.prototype.renderAttrs=function(t){let o,n,i;if(!t.attrs)return"";for(i="",o=0,n=t.attrs.length;o `:">",r};dv.prototype.renderInline=function(e,t,o){let n="",i=this.rules;for(let r=0,s=e.length;r=0&&(n=this.attrs[o][1]),n};pv.prototype.attrJoin=function(t,o){let n=this.attrIndex(t);n<0?this.attrPush([t,o]):this.attrs[n][1]=this.attrs[n][1]+" "+o};var bu=pv;function Q_e(e,t,o){this.src=e,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=t}Q_e.prototype.Token=bu;var j_e=Q_e;var Kqe=/\r\n?|\n/g,Jqe=/\0/g;function r4(e){let t;t=e.src.replace(Kqe,` `),t=t.replace(Jqe,"\uFFFD"),e.src=t}function s4(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 a4(e){let t=e.tokens;for(let o=0,n=t.length;o\s]/i.test(e)}function Xqe(e){return/^<\/a\s*>/i.test(e)}function l4(e){let t=e.tokens;if(e.md.options.linkify)for(let o=0,n=t.length;o=0;s--){let a=i[s];if(a.type==="link_close"){for(s--;i[s].level!==a.level&&i[s].type!=="link_open";)s--;continue}if(a.type==="html_inline"&&(Zqe(a.content)&&r>0&&r--,Xqe(a.content)&&r++),!(r>0)&&a.type==="text"&&e.md.linkify.test(a.content)){let l=a.content,c=e.md.linkify.match(l),u=[],p=a.level,m=0;c.length>0&&c[0].index===0&&s>0&&i[s-1].type==="text_special"&&(c=c.slice(1));for(let g=0;gm){let A=new e.Token("text","",0);A.content=l.slice(m,y),A.level=p,u.push(A)}let v=new e.Token("link_open","a",1);v.attrs=[["href",_]],v.level=p++,v.markup="linkify",v.info="auto",u.push(v);let T=new e.Token("text","",0);T.content=h,T.level=p,u.push(T);let I=new e.Token("link_close","a",-1);I.level=--p,I.markup="linkify",I.info="auto",u.push(I),m=c[g].lastIndex}if(m=0;o--){let n=e[o];n.type==="text"&&!t&&(n.content=n.content.replace(tOe,nOe)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function rOe(e){let t=0;for(let o=e.length-1;o>=0;o--){let n=e[o];n.type==="text"&&!t&&Y_e.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function c4(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(eOe.test(e.tokens[t].content)&&iOe(e.tokens[t].children),Y_e.test(e.tokens[t].content)&&rOe(e.tokens[t].children))}var sOe=/['"]/,W_e=/['"]/g,K_e="\u2019";function iM(e,t,o){return e.slice(0,t)+o+e.slice(t+1)}function aOe(e,t){let o,n=[];for(let i=0;i=0&&!(n[o].level<=s);o--);if(n.length=o+1,r.type!=="text")continue;let a=r.content,l=0,c=a.length;e:for(;l=0)f=a.charCodeAt(u.index-1);else for(o=i-1;o>=0&&!(e[o].type==="softbreak"||e[o].type==="hardbreak");o--)if(e[o].content){f=e[o].content.charCodeAt(e[o].content.length-1);break}let _=32;if(l=48&&f<=57&&(m=p=!1),p&&m&&(p=h,m=y),!p&&!m){g&&(r.content=iM(r.content,u.index,K_e));continue}if(m)for(o=n.length-1;o>=0;o--){let I=n[o];if(n[o].level=0;t--)e.tokens[t].type!=="inline"||!sOe.test(e.tokens[t].content)||aOe(e.tokens[t].children,e)}function d4(e){let t,o,n=e.tokens,i=n.length;for(let r=0;r0&&this.level++,this.tokens.push(n),n};Yl.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Yl.prototype.skipEmptyLines=function(t){for(let o=this.lineMax;to;)if(!$t(this.src.charCodeAt(--t)))return t+1;return t};Yl.prototype.skipChars=function(t,o){for(let n=this.src.length;tn;)if(o!==this.src.charCodeAt(--t))return t+1;return t};Yl.prototype.getLines=function(t,o,n,i){if(t>=o)return"";let r=new Array(o-t);for(let s=0,a=t;an?r[s]=new Array(l-n+1).join(" ")+this.src.slice(u,p):r[s]=this.src.slice(u,p)}return r.join("")};Yl.prototype.Token=bu;var Z_e=Yl;var lOe=65536;function g4(e,t){let o=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(o,n)}function X_e(e){let t=[],o=e.length,n=0,i=e.charCodeAt(n),r=!1,s=0,a="";for(;no)return!1;let i=t+1;if(e.sCount[i]=4)return!1;let r=e.bMarks[i]+e.tShift[i];if(r>=e.eMarks[i])return!1;let s=e.src.charCodeAt(r++);if(s!==124&&s!==45&&s!==58||r>=e.eMarks[i])return!1;let a=e.src.charCodeAt(r++);if(a!==124&&a!==45&&a!==58&&!$t(a)||s===45&&$t(a))return!1;for(;r=4)return!1;c=X_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(n)return!0;let m=e.parentType;e.parentType="table";let g=e.md.block.ruler.getRules("blockquote"),f=e.push("table_open","table",1),_=[t,0];f.map=_;let h=e.push("thead_open","thead",1);h.map=[t,t+1];let y=e.push("tr_open","tr",1);y.map=[t,t+1];for(let I=0;I=4||(c=X_e(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),T+=p-c.length,T>lOe))break;if(i===t+2){let O=e.push("tbody_open","tbody",1);O.map=v=[t+2,0]}let A=e.push("tr_open","tr",1);A.map=[i,i+1];for(let O=0;O=4){n++,i=n;continue}break}e.line=i;let r=e.push("code_block","code",0);return r.content=e.getLines(t,i,4+e.blkIndent,!1)+` `,r.map=[t,e.line],!0}function b4(e,t,o,n){let i=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>r)return!1;let s=e.src.charCodeAt(i);if(s!==126&&s!==96)return!1;let a=i;i=e.skipChars(i,s);let l=i-a;if(l<3)return!1;let c=e.src.slice(a,i),u=e.src.slice(i,r);if(s===96&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;let p=t,m=!1;for(;p++,!(p>=o||(i=a=e.bMarks[p]+e.tShift[p],r=e.eMarks[p],i=4)&&(i=e.skipChars(i,s),!(i-a=4||e.src.charCodeAt(i)!==62)return!1;if(n)return!0;let a=[],l=[],c=[],u=[],p=e.md.block.ruler.getRules("blockquote"),m=e.parentType;e.parentType="blockquote";let g=!1,f;for(f=t;f=r)break;if(e.src.charCodeAt(i++)===62&&!T){let A=e.sCount[f]+1,O,D;e.src.charCodeAt(i)===32?(i++,A++,D=!1,O=!0):e.src.charCodeAt(i)===9?(O=!0,(e.bsCount[f]+A)%4===3?(i++,A++,D=!1):D=!0):O=!1;let le=A;for(a.push(e.bMarks[f]),e.bMarks[f]=i;i=r,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(O?1:0),c.push(e.sCount[f]),e.sCount[f]=le-A,u.push(e.tShift[f]),e.tShift[f]=i-e.bMarks[f];continue}if(g)break;let I=!1;for(let A=0,O=p.length;A";let y=[t,0];h.map=y,e.md.block.tokenize(e,t,f);let v=e.push("blockquote_close","blockquote",-1);v.markup=">",e.lineMax=s,e.parentType=m,y[1]=e.line;for(let T=0;T=4)return!1;let r=e.bMarks[t]+e.tShift[t],s=e.src.charCodeAt(r++);if(s!==42&&s!==45&&s!==95)return!1;let a=1;for(;r=n)return-1;let r=e.src.charCodeAt(i++);if(r<48||r>57)return-1;for(;;){if(i>=n)return-1;if(r=e.src.charCodeAt(i++),r>=48&&r<=57){if(i-o>=10)return-1;continue}if(r===41||r===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(u=!0);let p,m,g;if((g=tve(e,l))>=0){if(p=!0,s=e.bMarks[l]+e.tShift[l],m=Number(e.src.slice(s,g-1)),u&&m!==1)return!1}else if((g=eve(e,l))>=0)p=!1;else return!1;if(u&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(n)return!0;let f=e.src.charCodeAt(g-1),_=e.tokens.length;p?(a=e.push("ordered_list_open","ol",1),m!==1&&(a.attrs=[["start",m]])):a=e.push("bullet_list_open","ul",1);let h=[l,0];a.map=h,a.markup=String.fromCharCode(f);let y=!1,v=e.md.block.ruler.getRules("list"),T=e.parentType;for(e.parentType="list";l=i?D=1:D=A-I,D>4&&(D=1);let le=I+D;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(f);let ye=[l,0];a.map=ye,p&&(a.info=e.src.slice(s,g-1));let J=e.tight,Le=e.tShift[l],Ve=e.sCount[l],Ct=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=le,e.tight=!0,e.tShift[l]=O-e.bMarks[l],e.sCount[l]=A,O>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,o):e.md.block.tokenize(e,l,o,!0),(!e.tight||y)&&(c=!1),y=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Ct,e.tShift[l]=Le,e.sCount[l]=Ve,e.tight=J,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=e.line,ye[1]=l,l>=o||e.sCount[l]=4)break;let oo=!1;for(let qt=0,ro=v.length;qt=4||e.src.charCodeAt(i)!==91)return!1;function a(v){let T=e.lineMax;if(v>=T||e.isEmpty(v))return null;let I=!1;if(e.sCount[v]-e.blkIndent>3&&(I=!0),e.sCount[v]<0&&(I=!0),!I){let D=e.md.block.ruler.getRules("reference"),le=e.parentType;e.parentType="reference";let ye=!1;for(let J=0,Le=D.length;J"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:h,href:p}),e.line=s),!0):!1}var ove=["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 uOe="[a-zA-Z_:][a-zA-Z0-9:._-]*",dOe="[^\"'=<>`\\x00-\\x20]+",pOe="'[^']*'",mOe='"[^"]*"',gOe="(?:"+dOe+"|"+pOe+"|"+mOe+")",fOe="(?:\\s+"+uOe+"(?:\\s*=\\s*"+gOe+")?)",nve="<[A-Za-z][A-Za-z0-9\\-]*"+fOe+"*\\s*\\/?>",ive="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",hOe="",bOe="<[?][\\s\\S]*?[?]>",_Oe="]*>",vOe="",rve=new RegExp("^(?:"+nve+"|"+ive+"|"+hOe+"|"+bOe+"|"+_Oe+"|"+vOe+")"),sve=new RegExp("^(?:"+nve+"|"+ive+")");var mv=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(sve.source+"\\s*$"),/^$/,!1]];function T4(e,t,o,n){let i=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let s=e.src.slice(i,r),a=0;for(;a=4)return!1;let s=e.src.charCodeAt(i);if(s!==35||i>=r)return!1;let a=1;for(s=e.src.charCodeAt(++i);s===35&&i6||ii&&$t(e.src.charCodeAt(l-1))&&(r=l),e.line=t+1;let c=e.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[t,e.line];let u=e.push("inline","",0);u.content=e.src.slice(i,r).trim(),u.map=[t,e.line],u.children=[];let p=e.push("heading_close","h"+String(a),-1);return p.markup="########".slice(0,a),!0}function w4(e,t,o){let n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType="paragraph";let r=0,s,a=t+1;for(;a3)continue;if(e.sCount[a]>=e.blkIndent){let g=e.bMarks[a]+e.tShift[a],f=e.eMarks[a];if(g=f))){r=s===61?1:2;break}}if(e.sCount[a]<0)continue;let m=!1;for(let g=0,f=n.length;g3||e.sCount[r]<0)continue;let c=!1;for(let u=0,p=n.length;u=o||e.sCount[s]=r){e.line=o;break}let l=e.line,c=!1;for(let u=0;u=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),s=e.line,s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n};fw.prototype.scanDelims=function(e,t){let o=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,r=e;for(;r0)return!1;let o=e.pos,n=e.posMax;if(o+3>n||e.src.charCodeAt(o)!==58||e.src.charCodeAt(o+1)!==47||e.src.charCodeAt(o+2)!==47)return!1;let i=e.pending.match(xOe);if(!i)return!1;let r=i[1],s=e.md.linkify.matchAtStart(e.src.slice(o-r.length));if(!s)return!1;let a=s.url;if(a.length<=r.length)return!1;a=a.replace(/\*+$/,"");let l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-r.length);let c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";let u=e.push("text","",0);u.content=e.md.normalizeLinkText(a);let p=e.push("link_close","a",-1);p.markup="linkify",p.info="auto"}return e.pos+=a.length-r.length,!0}function k4(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;let n=e.pending.length-1,i=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let r=n-1;for(;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(o++;o?@[]^_`{|}~-".split("").forEach(function(e){I4[e.charCodeAt(0)]=1});function P4(e,t){let o=e.pos,n=e.posMax;if(e.src.charCodeAt(o)!==92||(o++,o>=n))return!1;let i=e.src.charCodeAt(o);if(i===10){for(t||e.push("hardbreak","br",0),o++;o=55296&&i<=56319&&o+1=56320&&a<=57343&&(r+=e.src[o+1],o++)}let s="\\"+r;if(!t){let a=e.push("text_special","",0);i<256&&I4[i]!==0?a.content=r:a.content=s,a.markup=s,a.info="escape"}return e.pos=o+1,!0}function L4(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==96)return!1;let i=o;o++;let r=e.posMax;for(;o=0;n--){let i=t[n];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;let r=t[i.end],s=n>0&&t[n-1].end===i.end+1&&t[n-1].marker===i.marker&&t[n-1].token===i.token-1&&t[i.end+1].token===r.token+1,a=String.fromCharCode(i.marker),l=e.tokens[i.token];l.type=s?"strong_open":"em_open",l.tag=s?"strong":"em",l.nesting=1,l.markup=s?a+a:a,l.content="";let c=e.tokens[r.token];c.type=s?"strong_close":"em_close",c.tag=s?"strong":"em",c.nesting=-1,c.markup=s?a+a:a,c.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[i.end+1].token].content="",n--)}}function COe(e){let t=e.tokens_meta,o=e.tokens_meta.length;uve(e,e.delimiters);for(let n=0;n=p)return!1;if(l=f,i=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),i.ok){for(s=e.md.normalizeLink(i.str),e.md.validateLink(s)?f=i.pos:s="",l=f;f=p||e.src.charCodeAt(f)!==41)&&(c=!0),f++}if(c){if(typeof e.env.references>"u")return!1;if(f=0?n=e.src.slice(l,f++):f=g+1):f=g+1,n||(n=e.src.slice(m,g)),r=e.env.references[Bg(n)],!r)return e.pos=u,!1;s=r.href,a=r.title}if(!t){e.pos=m,e.posMax=g;let _=e.push("link_open","a",1),h=[["href",s]];_.attrs=h,a&&h.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=p,!0}function D4(e,t){let o,n,i,r,s,a,l,c,u="",p=e.pos,m=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let g=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if(r=f+1,r=m)return!1;for(c=r,a=e.md.helpers.parseLinkDestination(e.src,r,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?r=a.pos:u=""),c=r;r=m||e.src.charCodeAt(r)!==41)return e.pos=p,!1;r++}else{if(typeof e.env.references>"u")return!1;if(r=0?i=e.src.slice(c,r++):r=f+1):r=f+1,i||(i=e.src.slice(g,f)),s=e.env.references[Bg(i)],!s)return e.pos=p,!1;u=s.href,l=s.title}if(!t){n=e.src.slice(g,f);let _=[];e.md.inline.parse(n,e.md,e.env,_);let h=e.push("image","img",0),y=[["src",u],["alt",""]];h.attrs=y,h.children=_,h.content=n,l&&y.push(["title",l])}return e.pos=r,e.posMax=m,!0}var EOe=/^([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])?)*)$/,AOe=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function z4(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==60)return!1;let n=e.pos,i=e.posMax;for(;;){if(++o>=i)return!1;let s=e.src.charCodeAt(o);if(s===60)return!1;if(s===62)break}let r=e.src.slice(n+1,o);if(AOe.test(r)){let s=e.md.normalizeLink(r);if(!e.md.validateLink(s))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",s]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(r);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=r.length+2,!0}if(EOe.test(r)){let s=e.md.normalizeLink("mailto:"+r);if(!e.md.validateLink(s))return!1;if(!t){let a=e.push("link_open","a",1);a.attrs=[["href",s]],a.markup="autolink",a.info="auto";let l=e.push("text","",0);l.content=e.md.normalizeLinkText(r);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=r.length+2,!0}return!1}function kOe(e){return/^\s]/i.test(e)}function IOe(e){return/^<\/a\s*>/i.test(e)}function POe(e){let t=e|32;return t>=97&&t<=122}function N4(e,t){if(!e.md.options.html)return!1;let o=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=o)return!1;let i=e.src.charCodeAt(n+1);if(i!==33&&i!==63&&i!==47&&!POe(i))return!1;let r=e.src.slice(n).match(rve);if(!r)return!1;if(!t){let s=e.push("html_inline","",0);s.content=r[0],kOe(s.content)&&e.linkLevel++,IOe(s.content)&&e.linkLevel--}return e.pos+=r[0].length,!0}var LOe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,ROe=/^&([a-z][a-z0-9]{1,31});/i;function F4(e,t){let o=e.pos,n=e.posMax;if(e.src.charCodeAt(o)!==38||o+1>=n)return!1;if(e.src.charCodeAt(o+1)===35){let r=e.src.slice(o).match(LOe);if(r){if(!t){let s=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),a=e.push("text_special","",0);a.content=nM(s)?gw(s):gw(65533),a.markup=r[0],a.info="entity"}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(o).match(ROe);if(r){let s=pp(r[0]);if(s!==r[0]){if(!t){let a=e.push("text_special","",0);a.content=s,a.markup=r[0],a.info="entity"}return e.pos+=r[0].length,!0}}}return!1}function dve(e){let t={},o=e.length;if(!o)return;let n=0,i=-2,r=[];for(let s=0;sl;c-=r[c]+1){let p=e[c];if(p.marker===a.marker&&p.open&&p.end<0){let m=!1;if((p.close||a.open)&&(p.length+a.length)%3===0&&(p.length%3!==0||a.length%3!==0)&&(m=!0),!m){let g=c>0&&!e[c-1].open?r[c-1]+1:0;r[s]=s-c+g,r[c]=g,a.open=!1,p.end=s,p.close=!1,u=-1,i=-2;break}}}u!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=u)}}function q4(e){let t=e.tokens_meta,o=e.tokens_meta.length;dve(e.delimiters);for(let n=0;n0&&n++,i[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;s||e.pos++,r[t]=e.pos};hw.prototype.tokenize=function(e){let t=this.ruler.getRules(""),o=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};hw.prototype.parse=function(e,t,o,n){let i=new this.State(e,t,o,n);this.tokenize(i);let r=this.ruler2.getRules(""),s=r.length;for(let a=0;a|$))",t.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function B4(e){return Array.prototype.slice.call(arguments,1).forEach(function(o){o&&Object.keys(o).forEach(function(n){e[n]=o[n]})}),e}function lM(e){return Object.prototype.toString.call(e)}function MOe(e){return lM(e)==="[object String]"}function $Oe(e){return lM(e)==="[object Object]"}function DOe(e){return lM(e)==="[object RegExp]"}function gve(e){return lM(e)==="[object Function]"}function zOe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var hve={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function NOe(e){return Object.keys(e||{}).reduce(function(t,o){return t||hve.hasOwnProperty(o)},!1)}var FOe={"http:":{validate:function(e,t,o){let n=e.slice(t);return o.re.http||(o.re.http=new RegExp("^\\/\\/"+o.re.src_auth+o.re.src_host_port_strict+o.re.src_path,"i")),o.re.http.test(n)?n.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,o){let n=e.slice(t);return o.re.no_http||(o.re.no_http=new RegExp("^"+o.re.src_auth+"(?:localhost|(?:(?:"+o.re.src_domain+")\\.)+"+o.re.src_domain_root+")"+o.re.src_port+o.re.src_host_terminator+o.re.src_path,"i")),o.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,o){let n=e.slice(t);return o.re.mailto||(o.re.mailto=new RegExp("^"+o.re.src_email_name+"@"+o.re.src_host_strict,"i")),o.re.mailto.test(n)?n.match(o.re.mailto)[0].length:0}}},qOe="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]",OOe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function UOe(e){return function(t,o){let n=t.slice(o);return e.test(n)?n.match(e)[0].length:0}}function fve(){return function(e,t){t.normalize(e)}}function aM(e){let t=e.re=mve(e.__opts__),o=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||o.push(qOe),o.push(t.src_xn),t.src_tlds=o.join("|");function n(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(n(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(n(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(n(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");let i=[];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,$Oe(l)){DOe(l.validate)?c.validate=UOe(l.validate):gve(l.validate)?c.validate=l.validate:r(a,l),gve(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=fve();return}if(MOe(l)){i.push(a);return}r(a,l)}),i.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:fve()};let s=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(zOe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i")}function bve(e,t,o,n){let i=e.slice(o,n);this.schema=t.toLowerCase(),this.index=o,this.lastIndex=n,this.raw=i,this.text=i,this.url=i}function is(e,t){if(!(this instanceof is))return new is(e,t);t||NOe(e)&&(t=e,e={}),this.__opts__=B4({},hve,t),this.__schemas__=B4({},FOe,e),this.__compiled__={},this.__tlds__=OOe,this.__tlds_replaced__=!1,this.re={},aM(this)}is.prototype.add=function(t,o){return this.__schemas__[t]=o,aM(this),this};is.prototype.set=function(t){return this.__opts__=B4(this.__opts__,t),this};is.prototype.test=function(t){if(!t.length)return!1;let o,n;if(this.re.schema_test.test(t)){for(n=this.re.schema_search,n.lastIndex=0;(o=n.exec(t))!==null;)if(this.testSchemaAt(t,o[2],n.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)};is.prototype.pretest=function(t){return this.re.pretest.test(t)};is.prototype.testSchemaAt=function(t,o,n){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(t,n,this):0};is.prototype.match=function(t){let o=[],n=[],i=[],r=[],s,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;(s=l.exec(t))!==null;)a=this.testSchemaAt(t,s[2],l.lastIndex),a&&n.push({schema:s[2],index:s.index+s[1].length,lastIndex:s.index+s[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;(s=l.exec(t))!==null;)i.push({schema:"",index:s.index+s[1].length,lastIndex:s.index+s[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(l=this.re.email_fuzzy_global,l.lastIndex=0;(s=l.exec(t))!==null;)r.push({schema:"mailto:",index:s.index+s[1].length,lastIndex:s.index+s[0].length});let u=[0,0,0],p=0;for(;;){let m=[n[u[0]],r[u[1]],i[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"},V4=35,Wl=Math.floor,G4=String.fromCharCode;function mp(e){throw new RangeError(GOe[e])}function QOe(e,t){let o=[],n=e.length;for(;n--;)o[n]=t(e[n]);return o}function xve(e,t){let o=e.split("@"),n="";o.length>1&&(n=o[0]+"@",e=o[1]),e=e.replace(VOe,".");let i=e.split("."),r=QOe(i,t).join(".");return n+r}function Tve(e){let t=[],o=0,n=e.length;for(;o=55296&&i<=56319&&oString.fromCodePoint(...e),YOe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},vve=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Sve=function(e,t,o){let n=0;for(e=o?Wl(e/700):e>>1,e+=Wl(e/t);e>V4*26>>1;n+=36)e=Wl(e/V4);return Wl(n+(V4+1)*e/(e+38))},wve=function(e){let t=[],o=e.length,n=0,i=128,r=72,s=e.lastIndexOf(yve);s<0&&(s=0);for(let a=0;a=128&&mp("not-basic"),t.push(e.charCodeAt(a));for(let a=s>0?s+1:0;a=o&&mp("invalid-input");let m=YOe(e.charCodeAt(a++));m>=36&&mp("invalid-input"),m>Wl((2147483647-n)/u)&&mp("overflow"),n+=m*u;let g=p<=r?1:p>=r+26?26:p-r;if(mWl(2147483647/f)&&mp("overflow"),u*=f}let c=t.length+1;r=Sve(n-l,c,l==0),Wl(n/c)>2147483647-i&&mp("overflow"),i+=Wl(n/c),n%=c,t.splice(n++,0,i)}return String.fromCodePoint(...t)},Cve=function(e){let t=[];e=Tve(e);let o=e.length,n=128,i=0,r=72;for(let l of e)l<128&&t.push(G4(l));let s=t.length,a=s;for(s&&t.push(yve);a=n&&uWl((2147483647-i)/c)&&mp("overflow"),i+=(l-n)*c,n=l;for(let u of e)if(u2147483647&&mp("overflow"),u===n){let p=i;for(let m=36;;m+=36){let g=m<=r?1:m>=r+26?26:m-r;if(p=0))try{t.hostname=Q4.toASCII(t.hostname)}catch{}return jR(lv(t))}function nUe(e){let t=mw(e,!0);if(t.hostname&&(!t.protocol||Ive.indexOf(t.protocol)>=0))try{t.hostname=Q4.toUnicode(t.hostname)}catch{}return pw(lv(t),pw.defaultChars+"%")}function Ks(e,t){if(!(this instanceof Ks))return new Ks(e,t);t||oM(e)||(t=e||{},e="default"),this.inline=new pve,this.block=new ave,this.core=new J_e,this.renderer=new G_e,this.linkify=new _ve,this.validateLink=tUe,this.normalizeLink=oUe,this.normalizeLinkText=nUe,this.utils=e4,this.helpers=uv({},i4),this.options={},this.configure(e),t&&this.set(t)}Ks.prototype.set=function(e){return uv(this.options,e),this};Ks.prototype.configure=function(e){let t=this;if(oM(e)){let o=e;if(e=ZOe[o],!e)throw new Error('Wrong `markdown-it` preset "'+o+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};Ks.prototype.enable=function(e,t){let o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){o=o.concat(this[i].ruler.enable(e,!0))},this),o=o.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(i){return o.indexOf(i)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Ks.prototype.disable=function(e,t){let o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){o=o.concat(this[i].ruler.disable(e,!0))},this),o=o.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(i){return o.indexOf(i)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Ks.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Ks.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");let o=new this.core.State(e,this,t);return this.core.process(o),o.tokens};Ks.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Ks.prototype.parseInline=function(e,t){let o=new this.core.State(e,this,t);return o.inlineMode=!0,this.core.process(o),o.tokens};Ks.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var cM=Ks;var gp=gv();gp.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 gv(e="default",t){return"default"in uM?cM(e,t):new uM(e,t)}var iUe=e=>{let t=/(]*?)>\^(\d+)\^(<\/a>)/g;return e.replace(t,(o,n,i,r)=>`${n} aria-label="link, ${i}">${i}${r}`)},Pve=e=>{let t=gv("default",{html:!1,linkify:!0,typographer:!0}),o=t.render;return t.render=function(n){let i=String(o.call(t,n));if(!e||e.length===0)return iUe(i);let r=i.replace(/

    /g,'

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

    ${Kj}

    `;return Mve(t,!1)}function Rve(e){return d`
    `}function cUe(e){return d`
    `}function uUe(e){if(!e.citations||Object.keys(e.citations).length===0)return"";let t=Object.entries(e.citations).map(([o,n])=>({key:o,citation:n,safeUrl:yk(n.url)})).filter(o=>o.safeUrl!=="");return t.length===0?"":d`
    ${mte}
      ${t.map(({citation:o,safeUrl:n})=>d`
    1. ${o.title}
    2. `)}
    `}function dUe(e){return e.loaded?d` ${uUe(e)}
    ${Rve(e)} ${Lve(e,e.responseCount,e.maxMessages)}
    `:e.errored?d`
    ${Rve(e)}
    `:e.cancelled?d`
    ${Lve(e,e.responseCount,e.maxMessages)}
    `:""}function pUe(e,t){if(e.allowLoadingView&&e.loading)return mUe(e,t);let n=S_e(e.citations),i=Pve(n),r=e.cancelled?d`${EE} ${e.content}`:e.type==="ai"&&e.contentIsHTML?N(i.render(e.content??"")):e.content,s=e.type==="ai"?dUe(e):"",a=e.cancelled?cUe(e):"",l=e.feedbackViewModel?C_e(e.feedbackViewModel,t):"",c=e.responseCount&&e.responseCount>=e.maxMessages?lUe(e):"",u=d`
    ${r} ${s}
    `;return d`
    ${e.type==="user"?sUe(u):aUe(e,u)}
    ${a} ${l} ${c} `}function mUe(e,t){return d`
    ${Ws()}

    ${LE}

    `}function $ve(e,t){return pUe(e,t)}k();k();function gUe(e){return d``}function Dve(e){return!e.suggestionPills||e.suggestionPills.length===0||!e.canSubmit?"":d` ${e.suggestionPills.filter(t=>!t.clicked).map(t=>gUe(t))} `}function Nve(e,t){return!e.starterPrompts||e.starterPrompts.length===0?"":d`
    ${e.starterPrompts.map(({icon:o,header:n,description:i,prompt:r})=>{let s=n.charAt(0).toLowerCase()+n.slice(1);return d`

    ${i}

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

    ${tY}

    ${e.starterPrompts.map(({icon:i,header:r,prompt:s})=>{let a=r.toLowerCase();return d``})}
    `}k();function qve(e,t){return d``}function fUe(e){let n=parseInt(window.getComputedStyle(e).lineHeight,10);e.rows=1;let i=Math.floor(e.scrollHeight/n);i>6?(i=6,e.style.overflowY="auto"):e.style.overflowY="hidden",e.rows=i}function hUe(e,t){return d`
    ${e.starterPrompts?Nve(e,t):""} ${ho(e.messages,o=>o.index,o=>$ve(o,t))}
    `}function j4(e,t){return d`${hUe(e,t)} ${_Ue(e,t)}`}function Ove(){return d``}function Uve(e,t,o=!1){return d`

    ${Ws()}

    ${Hf}
    ${Ove()}
    ${j4(e,t)}
    `}function bUe(e){return e?d`${e}`:d``}function _Ue(e,t){return d`
    ${e.starterPrompts?Fve(e,t):""}
    ${qve(e,t)}
    ${bUe(e.currentValidationMessage)}
    `}function Hve(e,t=!1){return d`

    ${Ws()}

    ${Hf}
    ${Ove()}

    ${Uy}

    ${Of}

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

    ${Ws()}

    ${Hf}
    ${Bve()}

    ${AE}

    ${Yj}

    `}function yUe(e,t){switch(e.currentView){case"history":return T_e(e.historyViewModel,e);default:return j4(e,t)}}function xUe(e,t,o){switch(e.currentView){case"history":return"";default:return d`
    ${Bp}
    `}}function TUe(e,t){switch(e.currentView){case"history":let o=e.historyViewModel;return d`
    `;default:return""}}function SUe(){let e=_k("me","settings"),t=e.searchParams.get("preview"),o=new Set(t?t.split(","):[]);return o.add("learn-companion"),e.searchParams.set("preview",[...o].join(",")),e.hash="ask-learn-settings-container",e.toString()}function Vve(e,t,o=!1){if(e.companionActive&&!BR())return vUe(e,t,o);let n=e.navigator,i=SUe();return d`

    ${Ws()}

    ${Hf}
    ${xUe(e,n,i)} ${Bve()}
    ${TUe(e,n)}
    ${yUe(e,t)}
    `}var _u=class{constructor(t={}){this.detail=t}},Kl=class{constructor(t={}){this.detail=t}},fv=class{constructor(t={}){this.detail=t}},hv=class{constructor(t={}){this.detail=t}},Jl=class{constructor(t={}){this.detail=t}},vu=class{constructor(t={}){this.detail=t}},bv=class{constructor(t={}){this.detail=t}},_v=class{constructor(t={}){this.detail=t}};var Gve={chat:Pj,history:qf},dM=class{constructor(t){this.args=t;this.currentView="chat";this.previousView="chat";this.focusedElement=null;this.escController=null}goto(t,o){t!==this.currentView&&(this.focusedElement=o!==void 0?o:document.activeElement instanceof HTMLElement?document.activeElement:null,this.previousView=this.currentView,this.currentView=t,this.args.onChange(),t==="chat"?this.detachEscHandler():this.attachEscHandler(),requestAnimationFrame(()=>{pt(Gve[t]),this.args.getContainer()?.querySelector(ip.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(()=>{pt(Gve[t]),this.focusedElement?.focus(),document.activeElement!==this.focusedElement&&this.args.getContainer()?.querySelector(ip.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",o=>{o.key==="Escape"&&(o.preventDefault(),this.back())},{signal:this.escController.signal})}}detachEscHandler(){this.escController?.abort(),this.escController=null}};var Qve=Kt,jve=rl,rs,pM=class extends Be{constructor(){super(...arguments);this.conversations=[];this.keyword="";this.isLoading=!1;this.isLoadingMore=!1;this.isDeleting=!1;this.isRenaming=!1;this.error=null;this.loadMoreError=null;this.continuationToken=null;this.haAlpha XR=!1;this.totalConversations=0;this.pendingRenameId=null;this.pendingRenameDraft="";this.pendingDeleteId=null;this.conversationsSnapshot=null;Bt(this,rs,0)}get filteredConversations(){if(!this.keyword)return this.conversations;let o=this.keyword.toLowerCase();return this.conversations.filter(n=>n.summary.toLowerCase().includes(o))}async search(o){let n=o.trim();if(this.keyword===n||!n)return;let i=!this.keyword;this.keyword=n,i?(this.conversationsSnapshot={conversations:this.conversations,continuationToken:this.continuationToken,haAlpha XR:this.haAlpha XR,totalConversations:this.totalConversations},await this.fetch(HR)):this.notifyPropertyChanged();let r=this.filteredConversations.length,s=r===0?fo:(r===1?Rte:g0).replace("{numberOfResults}",`${r}`);pt(s)}clearSearch(){if(!this.keyword)return;this.keyword="";let o=this.conversationsSnapshot;o&&(this.conversations=o.conversations,this.continuationToken=o.continuationToken,this.haAlpha XR=o.haAlpha XR,this.totalConversations=o.totalConversations,this.conversationsSnapshot=null,this.error=null),this.notifyPropertyChanged()}startRename(o){let n=this.conversations.find(i=>i.conversationId===o);this.pendingRenameId=o,this.pendingRenameDraft=n?.summary??"",this.pendingDeleteId=null,this.error=null,this.notifyPropertyChanged()}cancelRename(){this.pendingRenameId=null,this.pendingRenameDraft="",this.error=null,this.notifyPropertyChanged()}updateRenameDraft(o){this.pendingRenameDraft=o}startConfirmDelete(o){this.pendingDeleteId=o,this.pendingRenameId=null,this.error=null,this.notifyPropertyChanged()}cancelConfirmDelete(){this.pendingDeleteId=null,this.error=null,this.notifyPropertyChanged()}async fetch(o){if(this.isLoading)return;let n=++Py(this,rs)._;this.isLoading=!0,this.error=null,this.loadMoreError=null,this.notifyPropertyChanged();try{let i=await V3(void 0,o);if(n!==ve(this,rs))return;this.conversations=i.conversations,this.continuationToken=i.continuationToken,this.haAlpha XR=i.haAlpha XR,this.totalConversations=i.totalConversations}catch{if(n!==ve(this,rs))return;this.error=Qve}finally{n===ve(this,rs)&&(this.isLoading=!1,this.notifyPropertyChanged())}}async fetchMore(){if(this.isLoading||this.isLoadingMore||!this.haAlpha XR||!this.continuationToken)return;let o=++Py(this,rs)._,n=this.continuationToken;this.isLoadingMore=!0,this.loadMoreError=null,this.notifyPropertyChanged();try{let i=await V3(n);if(o!==ve(this,rs))return;this.conversations=[...this.conversations,...i.conversations],i.continuationToken&&i.continuationToken===n?(this.continuationToken=null,this.haAlpha XR=!1):(this.continuationToken=i.continuationToken,this.haAlpha XR=i.haAlpha XR)}catch{if(o!==ve(this,rs))return;this.loadMoreError=Qve}finally{o===ve(this,rs)&&(this.isLoadingMore=!1,this.notifyPropertyChanged())}}async deleteOne(o){if(this.isDeleting)return!1;this.isDeleting=!0,this.notifyPropertyChanged();try{await h_e(o);let n=this.conversations.length;return this.conversations=this.conversations.filter(i=>i.conversationId!==o),this.updateSnapshot(i=>{let r=i.conversations.filter(s=>s.conversationId!==o);return r.length===i.conversations.length?null:{conversations:r,totalConversations:i.totalConversations-1}}),this.conversations.lengths.conversationId===o);if(i===-1)return!1;this.isRenaming=!0;let r=this.conversations[i];this.conversations=[...this.conversations.slice(0,i),{...r,summary:n},...this.conversations.slice(i+1)],this.notifyPropertyChanged();try{return await b_e(o,n),this.updateSnapshot(s=>({conversations:s.conversations.map(a=>a.conversationId===o?{...a,summary:n}:a)})),this.pendingRenameId===o&&(this.pendingRenameId=null,this.pendingRenameDraft=""),this.error=null,++Py(this,rs)._,!0}catch{return this.conversations=[...this.conversations.slice(0,i),r,...this.conversations.slice(i+1)],this.error=jve,!1}finally{this.isRenaming=!1,this.notifyPropertyChanged()}}updateSnapshot(o){let n=this.conversationsSnapshot;if(!n)return;let i=o(n);i&&(this.conversationsSnapshot={...n,...i})}notifyPropertyChanged(){this.publish(new _u({}))}};rs=new WeakMap;var mM=class extends Be{constructor(o){super();this.state="none";this.index=o}getSelectedOption(o){return o?.querySelector('input[type="radio"]:checked')}getVerbatimText(o){return o?.querySelector("textarea")?.value}previewPayload(o,n=!1){if(!o)return;let i=o.target.closest("form"),r=this.getSelectedOption(i),s=this.getVerbatimText(i);r&&(this.userRadioSelection=r.value,this.verbatim=s),this.publish(new vu({refresh:n,msgIndex:this.index}))}handleSubmit(o,n){n.preventDefault();let i=n.target.closest("form"),r=this.getSelectedOption(i),s=this.getVerbatimText(i);r&&(this.userRadioSelection=r.value,this.verbatim=s,this.state="submitted",o.notifyPropertyChanged(),this.publish(new Jl({consentProvided:!0})))}clearRadioSelection(){Array.from(document.querySelectorAll("[data-chat-container-name]")).forEach(n=>{n.querySelectorAll('input[type="radio"]').forEach(r=>{r.checked=!1})})}cancelFeedback(){this.state="cancelled",this.userRadioSelection=void 0,this.verbatim=void 0,this.notifyPropertyChanged()}undoFeedback(){this.state="none",this.userRadioSelection=void 0,this.verbatim=void 0,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new Kl({scroll:!1}))}};var wUe={contentIsHTML:!1,type:"user"},kr,gM=class extends Be{constructor(o,n={},i,r,s,a){super();Bt(this,kr,"loading");this.firstRender=!0;this.errorMapping={};this.skeletonHidden=!1;let{contentIsHTML:l,type:c}={...wUe,...n};if(this.type=c||"user",this.contentIsHTML=l||!1,this.index=i,this.maxMessages=r,this.errorMapping=s||{},this.sessionId=a,o instanceof Promise)this.fetchInternal=o;else{let u=o;this.content=u.content,this.citations=u.citations,this.type=u.type,this.interactionId=u.interactionId,this.rating=u.rating,gt(this,kr,u.state||"loaded"),this.responseCount=u.responseCount,this.responseCount||(this.skeletonHidden=!0),this.fetchInternal=Promise.resolve({})}this.type==="ai"&&(pt(LE,"assertive"),this.feedbackViewModel=new mM(i),this.feedbackViewModel.subscribe(Kl,()=>this.notifyPropertyChanged()),this.feedbackViewModel.subscribe(Jl,u=>this.publish(new Jl(u.detail))),this.feedbackViewModel.subscribe(vu,u=>this.publish(new vu({refresh:u.detail.refresh,msgIndex:u.detail.msgIndex,likeOrDislike:this.rating})))),this.load().then(()=>{this.type==="ai"&&pt(Xj),this.notifyPropertyChanged()})}get loading(){return ve(this,kr)==="loading"}get cancelled(){return ve(this,kr)==="cancelled"}get loaded(){return ve(this,kr)==="loaded"}get errored(){return ve(this,kr)==="errored"}get allowLoadingView(){return ve(this,kr)==="loading"&&this.type==="ai"}updateResponseCount(o){this.responseCount=o,this.responseCount>=this.maxMessages&&this.chatSetBusy()}async load(){this.loading&&(await Promise.race([this.loadInternal(),this.awaitCancellation()]),this.publish(new _v),this.notifyPropertyChanged())}async awaitCancellation(){return new Promise(o=>{this.cancel=o}).then(o=>{this.contentIsHTML=!1,gt(this,kr,"cancelled"),pt(EE,"assertive"),this.focusElementOnCancel(o)})}focusElementOnCancel(o){let n=o.target instanceof HTMLElement&&o.target.closest("[data-chat-container-name]");if(!n)return;let i=n.dataset.containerName;if(!i)return;let r=document.querySelector(`[data-focus-on-cancel="${i}"]`);r&&r.focus()}async loadInternal(){if(this.loaded||this.errored)return;let o=await this.fetchInternal;if(o.responseCount||(this.skeletonHidden=!0),!this.loading){o.responseCount&&this.updateResponseCount(o.responseCount),this.notifyPropertyChanged();return}o.message&&(this.content=o.message),o.citations&&(this.citations=o.citations),o.sessionId&&(this.sessionId=o.sessionId),o.interactionId&&(this.interactionId=o.interactionId),o.responseCount&&this.updateResponseCount(o.responseCount),o.isError?gt(this,kr,"errored"):this.loading&>(this,kr,"loaded")}resetChat(){this.publish(new hv)}chatSetBusy(){this.publish(new fv)}updateFeedback(o){this.rating===o?(this.rating=void 0,this.feedbackViewModel&&this.feedbackViewModel.undoFeedback()):(this.rating=o,this.feedbackViewModel&&(this.feedbackViewModel.state=o,this.feedbackViewModel.clearRadioSelection())),this.publish(new Jl),this.notifyPropertyChanged()}regenerateMessage(){this.cancelled&&(gt(this,kr,"loading"),this.contentIsHTML=!0,this.load(),this.notifyPropertyChanged())}notifyPropertyChanged(){let o=this.contentIsHTML&&this.firstRender&&this.loaded&&this.type==="ai";o&&(this.firstRender=!1),this.publish(new Kl({updateCodeBlocks:o,scroll:!1,interactionId:this.interactionId}))}saveMessage(){return{content:this.content,citations:this.citations,type:this.type,interactionId:this.interactionId,responseCount:this.responseCount,state:this.type==="ai"?ve(this,kr):void 0,rating:this.rating}}};kr=new WeakMap;var fM=class extends Be{constructor(t,o,n){super(),this.name=t,this.description=o,this.prompt=n,this.clicked=!1}clickSuggestionPill(){this.clicked=!0,this.publish(new bv({prompt:this.prompt}))}resetSuggestionPill(){this.clicked=!1}};var hM={empty:cY,short:PE,exceeded:zz},CUe=8*60*60*1e3,EUe="learn_companion_channel",bw,_w,vw,zi,yw,xw,vv,yv,Gg,xv,bM=class extends Be{constructor(o){super();this.textarea=null;this.navigator=null;Bt(this,bw,"");Bt(this,_w,"");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");Bt(this,vw);Bt(this,zi,[]);Bt(this,yw);Bt(this,xw);Bt(this,vv);Bt(this,yv);Bt(this,Gg,null);this.initialized=new Promise(o=>{this.initialize=o});this._busy=!1;Bt(this,xv,null);gt(this,vw,o.fetch),gt(this,yw,o.getContextIdType),gt(this,xw,o.getContextId),this.maxMessages=o.maxMessages,this.validate=o.validate||(()=>null),this.errorMapping=o.errorMapping||{},this.starterPrompts=o.starterPrompts,gt(this,vv,o.onFeedback),gt(this,yv,o.onTimeTelemetry),this.initSuggestionPills(o),this.setUpTestKeyboardListener(),o.companionActive?(this.companionActive=!0,this.broadcastChannel.close(),this.broadcastChannel=new BroadcastChannel(EUe),this.navigator=new dM({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 ve(this,bw)}set sessionId(o){gt(this,bw,o||"")}get currentMessageLength(){return this.currentMessage.length}get currentMessage(){return ve(this,_w)||""}set currentMessage(o){gt(this,_w,o)}get historyViewModel(){return ve(this,Gg)||(gt(this,Gg,new pM),ve(this,Gg).subscribe(_u,o=>this.notifyPropertyChanged(o.detail))),ve(this,Gg)}get messages(){return ve(this,zi)}get busy(){return this._busy}get currentView(){return this.navigator?.currentView??"chat"}async submit(o){o.preventDefault(),this.validateMinLength(),!(!this.canSubmit||!this.currentMessage)&&(this.resetTextAreaHeight(this.getActiveTextArea(this.getActiveContainerName())),this.userMessage(),await this.fetch(),this.notifyPropertyChanged())}async submitWithPrompt(o){this.currentMessage=o,this.submit(new Event("submit"))}async testPrompt(){this.currentMessage="How do I write a test in C#?",this.userMessage(),await this.fetch(),this.notifyPropertyChanged()}async applyStarterPrompt(o,n){this.currentMessage=o;let i=this.getActiveTextArea(n);this.notifyPropertyChanged(),i&&(i.focus(),i.dispatchEvent(new Event("input")))}initSuggestionPills(o){this.suggestionPills=o.suggestionPills?.map(n=>new fM(n.name,n.description,n.prompt))||[],this.suggestionPills.forEach(n=>{n.subscribe(bv,i=>{i.detail.prompt&&this.submitWithPrompt(i.detail.prompt)})})}resetSuggestionPills(){this.suggestionPills?.forEach(o=>o.resetSuggestionPill())}notifyPropertyChanged(o){this.publish(new _u({...o}))}populateForTest(o){gt(this,zi,o),this.notifyPropertyChanged()}async loadConversation(o){if(!o)return;let n=()=>{requestAnimationFrame(()=>{this.currentView==="chat"&&this.getActiveTextArea()?.focus()})};if(this.sessionId===o&&ve(this,zi).length>0&&ve(this,zi).some(r=>!r.errored)){n();return}if(ve(this,xv))return;gt(this,xv,o),this.sessionId=o,gt(this,zi,[]),this.indexCount=0,this.responseCount=0,this.setBusy(),this.notifyPropertyChanged(),n();let i=(r,s={})=>{this.pushMessage(r,s,this.createChildVmIndex(),this.maxMessages,this.errorMapping,this.sessionId)};try{let r=await __e(o);if(r.error){i({content:r.error,state:"errored",type:"ai"}),pt(r.error,"assertive");return}for(let s of r.messages)i({type:s.type,content:s.content,state:"loaded"},{contentIsHTML:!0,type:s.type});pt(kj)}finally{gt(this,xv,null),this.setReady(),this.notifyPropertyChanged({scroll:!0})}}getActiveTextArea(o){if(o){let r=document.querySelector(`[data-chat-textarea-container-name="${o}"]`);if(r)return r}let n=this.getActiveContainer(o);if(!n)return null;let i=n.querySelector("[data-chat-textarea-container-name]");return i||null}getActiveContainer(o){if(o){let r=document.querySelector(`[data-chat-container-name="${o}"]`);if(r)return r}let n=Array.from(document.querySelectorAll("[data-chat-container-name]"));if(n.length===0)return null;let i=n.find(r=>getComputedStyle(r).display!=="none");return i||null}getActiveContainerName(){let o=this.getActiveContainer();return o&&o.getAttribute("data-chat-container-name")||""}validateMinLength(){this.currentMessage.length===0?(this.canSubmit=!1,this.currentValidationMessage=hM.empty):this.currentMessage.lengththis.MAX_CHAR_LENGTH&&(this.canSubmit=!1,this.currentValidationMessage=hM.exceeded,pt(zz)),this.notifyPropertyChanged()}handleKeyDown(o){o.key==="Enter"&&!o.shiftKey&&(o.preventDefault(),this.submit(o),Se({behavior:me.OTHER,actionType:Ee.KEYBOARDENTER,content:{autoIngest:!0,type:"ask-learn-assistant-submit-prompt",an:"ask-learn-assistant",name:"submit-enter"}}))}reset(o=!1){gt(this,zi,[]),this.sessionId="",this.deleteChatHistory(),this.indexCount=0,this.responseCount=0,this.setReady(),this.canSubmit=!0,this.resetSuggestionPills(),this.navigator?.reset(),this.notifyPropertyChanged(),pt(Aj),o||this.broadcastChannel.postMessage({type:"reset"})}clearActiveChat(o=!1){gt(this,zi,[]),this.sessionId="",this.deleteChatHistory(),this.notifyPropertyChanged(),o||this.broadcastChannel.postMessage({type:"clear-active-chat"})}scrollToActiveMessage(o,n="smooth",i=!1){let r=this.getActiveContainer(o);if(!r)return;let s=`[data-scroll-into-view="${this.scrollHandle}"]`,a=r.querySelector(s);if(!a){if(!i)return;throw new Error("No active scroll handle found for chat.")}a.scrollIntoView({block:"nearest",inline:"start",behavior:n})}createMessagesHistoryArray(o=!1){let n=[];for(let i=0;i0&&(this.messages[this.messages.length-1].skeletonHidden=!0,this.publish(new Kl({})))}finally{(this.responseCountthis.handleMessageChange(c.detail)),l.subscribe(fv,()=>this.setBusy()),l.subscribe(hv,()=>{this.reset()}),l.subscribe(Jl,c=>{this.sendTelemetryToOneDS(c.detail),this.saveChat()}),l.subscribe(vu,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(_v,()=>{this.saveChat()}),ve(this,zi).push(l)}userMessage(){this.pushMessage(Promise.resolve({message:this.currentMessage}),{},this.createChildVmIndex(),this.maxMessages,{})}systemMessage(o){this.pushMessage(o,{contentIsHTML:!0,type:"ai"},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}errorMessage(o){let n;o in this.errorMapping?n=this.errorMapping[o]:n=jn;let i={content:n,state:"errored",type:"ai"};this.pushMessage(i,{},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}handleMessageChange(o){this.notifyPropertyChanged(o)}createChildVmIndex(){return this.indexCount++}setUpTestKeyboardListener(){Bl&&window.addEventListener("keydown",o=>{o.ctrlKey&&o.shiftKey&&o.altKey&&o.key==="T"&&this.testPrompt()})}resetTextAreaHeight(o){o&&(o.rows=1,o.style.overflowY="hidden")}serializeChat(){return JSON.stringify({sessionId:this.sessionId,messages:this.messages.filter((o,n,i)=>{if(!o.loaded)return!1;if(o.type==="user"){let r=i[n+1];if(!r||!r.loaded)return!1}return!0}).map(o=>o.saveMessage())})}saveChat(o=!1){let n=this.serializeChat(),i={type:"history",payload:n,shouldScroll:o};this.broadcastChannel.postMessage(i),this.companionActive?(oe.setItem(UR,n),oe.setItem(qg,Date.now().toString())):(oe.setItem(FR,n),oe.setItem(Dg,Date.now().toString()))}deleteChatHistory(){this.companionActive?(oe.removeItem(UR),oe.removeItem(qg)):(oe.removeItem(FR),oe.removeItem(Dg))}getChatHistory(){let o=oe.getItem(this.companionActive?UR:FR);return o?JSON.parse(o):null}restoreChatHistory(o,n=!1){o&&(this.sessionId=o.sessionId,gt(this,zi,[]),o.messages.forEach(i=>{this.pushMessage(i,{contentIsHTML:!0,type:i.type},this.createChildVmIndex(),this.maxMessages,this.errorMapping,this.sessionId),this.responseCount=i.responseCount||0,this.responseCount>=this.maxMessages&&this.setBusy()}),this.notifyPropertyChanged({scroll:n}))}clearChatsUponInactive(){let o=oe.getItem(this.companionActive?qg:Dg);if(!o)return;let n=parseInt(o);Date.now()-n>CUe&&(this.deleteChatHistory(),this.reset(),oe.removeItem(this.companionActive?gu:zg))}handleInitialChatHistory(){if(!PR&&(this.clearChatsUponInactive(),this.restoreChatHistory(this.getChatHistory()),oe.getItem(this.companionActive?gu:zg)==="true")){if(this.companionActive&&!BR()){oe.removeItem(gu);return}this.handleFlyoutOpenStateChange(!0)}}initBroadcastChannel(){PR||(this.broadcastChannel.onmessage=o=>{if(o.data)switch(o.data.type){case"history":try{let n=JSON.parse(o.data.payload||"{}");this.restoreChatHistory(n,o.data.shouldScroll)}catch{}break;case"reset":this.reset(!0);break;case"clear-active-chat":this.clearActiveChat(!0);break;case"open-state":this.handleFlyoutOpenStateChange(o.data.isOpen);break}})}initUserInteractionListener(){PR||(window.addEventListener("focusin",()=>{oe.setItem(this.companionActive?qg:Dg,Date.now().toString())}),this.companionActive&&document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&!this.busy&&this.restoreChatHistory(this.getChatHistory())}),window.addEventListener("flyout-show",()=>{oe.setItem(this.companionActive?gu:zg,"true"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!0})}),window.addEventListener("flyout-hide",()=>{oe.setItem(this.companionActive?gu:zg,"false"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!1})}))}handleFlyoutOpenStateChange(o){let n=document.querySelector("[data-ask-learn-flyout-entry]");if(!n)return;let i=document.documentElement.classList.contains("layout-flyout-active");if(o!==i)if(o)pu(n);else{let r=document.querySelector('button[data-flyout-button="close"]');r&&r.click()}}initialize(){}};bw=new WeakMap,_w=new WeakMap,vw=new WeakMap,zi=new WeakMap,yw=new WeakMap,xw=new WeakMap,vv=new WeakMap,yv=new WeakMap,Gg=new WeakMap,xv=new WeakMap;var Bn,_M,AUe=async e=>{await(_M??Promise.resolve()),qR(()=>{_M=VR(),Bn?.notifyPropertyChanged(),e()})},kUe=(()=>{let e=new URLSearchParams(window.location.search),t=e.has("asklearn");if(t){e.delete("asklearn");let o=e.toString(),n=`${window.location.pathname}${o?"?"+o:""}${window.location.hash}`;window.history.replaceState(window.history.state,window.document.title,n)}return t})();function IUe(e){return e.map(t=>sw(t))}function PUe(e,t,o,n){return!!(e||t||o||n)}function LUe(e){return e?v_e:p_e}function RUe(e,t){return e||t}function MUe(e){return e?{lastInteractionTimeKey:qg,openStatusKey:gu}:{lastInteractionTimeKey:Dg,openStatusKey:zg}}function $Ue(e,t){window.addEventListener("flyout-show",()=>{oe.setItem(e,Date.now().toString()),oe.setItem(t,"true")}),window.addEventListener("flyout-hide",()=>{oe.setItem(e,Date.now().toString()),oe.setItem(t,"false")})}async function Yve(){if(!C.chatTutor||b.data.isPermissioned&&b.data.permissionedType!=="public")return;let e=je("chat-tutor",{require:!0}),[t,o,n,i]=await Promise.all([Di("ask-learn"),Di("ask-learn-on-articles"),Di("ask-learn-on-reference"),Di("learn-companion"),Te,xe]);if(!PUe(e,t,o,n)){document.documentElement.classList.remove("layout-flyout-active");return}let s=RUe(je("learn-companion",{require:!0}),i),{lastInteractionTimeKey:a,openStatusKey:l}=MUe(s);Z_("devlang");let c=w.isAuthenticated,u=s?Fg(Ar):Fg();u<2&&IUe([av,cw]);let{chatContainer:p,chatModal:m}=DUe();if(!p||!m)return;let g=[],f=document.getElementById("ask-learn-flyout");f&&g.push({element:f,name:"ask-learn-flyout",sticky:!0});let _=s?AUe:g_e;N3(q3,m,_),N3(RR,m,_),F3(aw,_),F3(MR,_,!0),o_e(i_e,()=>m.show(),pu,_),n_e(m,aw),a_e();let h=[{element:p,name:"ask-learn-modal"},...g];if(c){let y=await LUe(s);s&&u>=2&&(_M=VR(),oe.getItem(gu)==="true"&&await _M),NUe(y,h)}else{for(let y of h)x(Hve(y.name,!!y.sticky),y.element);$Ue(a,l)}kUe&&oe.getItem(l)!=="true"&&_(()=>{if(Pi.matches){let v=document.querySelector(aw);v&&pu(v,!0)}else m.show()})}function DUe(){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 we(e);return{chatContainer:e,chatModal:t}}function zUe(e,t){e.scrollToActiveMessage(t,"smooth",e.currentView==="chat")}async function NUe(e,t){if(!t||t.length===0)throw new Error("Invalid container provided to Chat View Model.");Bn=new bM(e);let o=e.companionActive?Vve:Uve;Bn.subscribe(_u,async n=>{for(let i of t){x(o(Bn,i.name,!!i.sticky),i.element);let r=Array.from(i.element.querySelectorAll(`[data-interaction-id="${n.detail.interactionId}"]`));if(n.detail.updateCodeBlocks)for(let s of r)tw(s);G3(i.element,r),n.detail.scroll&&zUe(Bn,i.name)}}),await Bn.initialized,window.addEventListener("resize",sv.timeout(()=>{for(let n of t){let i=Array.from(n.element.querySelectorAll("[data-interaction-id]"));G3(n.element,i)}},250));for(let n of t)x(o(Bn,n.name,!!n.sticky),n.element);window.addEventListener("modal-show",()=>{Bn.scrollToActiveMessage("ask-learn-modal","instant")}),window.addEventListener("flyout-show",()=>{Bn.scrollToActiveMessage("ask-learn-flyout","instant")})}var Y4,FUe="article-header-page-actions",qUe="article-header-page-actions-overflow",Wve="[data-page-action-item]";function K4(e=Array.from(document.querySelectorAll(Wve))){let t=document.getElementById(FUe);if(!t)return;Y4&&Y4.disconnect(),Kve(e);let o=new MutationObserver(()=>{Kve(Array.from(t.querySelectorAll(Wve)))});o.observe(t,{childList:!0,attributes:!0,attributeFilter:["hidden"],subtree:!0}),Y4=o,t.classList.remove("opacity-none")}function OUe(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 Kve(e){let t=document.getElementById(qUe);if(!t)return;let o=t.getAttribute("data-reset-required");if(o)switch(o){case"display-none":t.classList.remove("display-none");case"display-none-tablet":t.classList.remove("display-none-tablet");default:break}let n=!1,i=!1,r=t.querySelector('[data-list-type="plan"]');r&&(r.hidden=!1);for(let s of e)if(s.dataset.pageActionItem){let a=s.dataset.pageActionItem;if(!a)continue;let l=s.dataset?.checkHidden==="true",c=s.hidden,u=OUe(a);if(u==="overflow-all"&&(!l||!c)){n=!0;break}if(u==="overflow-mobile"&&(!l||!c)){i=!0;continue}}t&&(!n&&i&&(t.classList.add("display-none-tablet"),t.setAttribute("data-reset-required","display-none-tablet")),!n&&!i&&(t.classList.add("display-none"),t.setAttribute("data-reset-required","display-none")))}function Jve(){document.documentElement.classList.contains("layout-focus-mode")&&W4({isLoad:!0}),document.addEventListener("click",t=>{t.target instanceof Element&&t.target.closest("[data-focus-mode]")&&W4()}),window.addEventListener("resize",()=>{Ea.matches||!document.documentElement.classList.contains("layout-focus-mode")||W4({isResize:!0})},{passive:!0})}function W4({isResize:e,isLoad:t}={}){if(!document.getElementById("ms--focus-mode-button"))return;if(e){document.documentElement.classList.remove("layout-focus-mode");return}let n=document.documentElement.classList.contains("layout-focus-mode"),i=t?n:!n,r="layout-menu-collapsed"in cl.getViewState()?cl.getViewState()["layout-menu-collapsed"]:i;document.documentElement.classList.toggle("layout-focus-mode",i),document.documentElement.classList.toggle("layout-menu-collapsed",r)}cl.subscribe("layout-focus-mode","always",e=>{let t=document.getElementById("ms--focus-mode-button");if(!t)return;let o=e.isApplied;t.classList.toggle("is-selected",o),t.setAttribute("aria-pressed",o.toString()),t.setAttribute("data-bi-name",o?"focus-mode-exit":"focus-mode-entry"),document.body.setAttribute("data-bi-name",o?"body-focus-mode":"body"),pt(o?gZ:fZ,"assertive"),Rt()});function UUe(){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 Tw(e){return/^(?:android|ios|linux|macos|windows)$/.test(e)}var HUe=BUe();function BUe(){let e=!1,t=navigator.userAgent||navigator.vendor,o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,n=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;return(o.test(t)||n.test(t.substr(0,4)))&&(e=!0),e}var Sw=UUe(),Zve="preferred-platform";function VUe(){let e=oe.getItem(Zve);return e!==null&&Tw(e)?e:null}var vM=VUe();function yM(e){oe.setItem(Zve,e)}var J4=["button-primary","is-selected"],eye=["previous-versions","archive"],GUe=({location:e,allowedPaths:t})=>{let o=ap(e).pathname.split("/"),n=t.includes(o[2])?4:3;return o.slice(0,n).join("/")},Z4=GUe({location:te,allowedPaths:eye});function X4(){let e=e6();if(!e.length)return Promise.resolve();let t={get(o){return oe.getItem(`zone-pivot${Z4}/${o}`)},set(o,n){oe.setItem(`zone-pivot${Z4}/${o}`,n)}};return Promise.all([JUe(),xe]).then(([o])=>{let n=document.querySelector("[data-main-column] .top-alert")??document.querySelector("[data-main-column] .page-metadata-container")??document.querySelector("[data-main-column] .page-metadata"),i=document.querySelector('[data-id="ai-summary"]'),r=[n,i].filter(a=>a!==null);if(r.length===0)return;let s=r.reduce((a,l)=>a.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING?l:a);YUe(s,e,o,t)})}function e6(){return(P("zone_pivot_groups")||"").split(",").map(e=>e.trim()).filter(e=>e.length)}function QUe(e){document.querySelectorAll(`[data-pivot]${e.map(o=>`:not([data-pivot~='${o}'])`).join("")}`).forEach(o=>{Array.from(o.querySelectorAll("[id]")).forEach(i=>tye(i))})}var jUe=e=>{e.forEach(t=>{document.querySelectorAll(`[data-pivot~='${t}'] [data-id]`).forEach(r=>{r.id=r.getAttribute("data-id"),r.removeAttribute("data-id")});let n=Array.from(document.querySelectorAll(`[data-pivot~='${t}'] [id]`)).map(r=>r.id);document.querySelectorAll(`[data-pivot]:not([data-pivot~='${t}']) [id]`).forEach(r=>{n.includes(r.id)&&tye(r)})})};function tye(e){e.setAttribute("data-id",e.id),e.removeAttribute("id")}function YUe(e,t,o,n){let i=ce().pivots,r=i?i.split(",").map(f=>f.trim().toLowerCase()):[],s=KUe(o,t,r,n,vM||Sw),a=document.createElement("style");document.head.appendChild(a),Xve(a,s);let l=t.map(f=>o.find(_=>_.id===f)).filter(f=>f!==void 0);if(l.length===0)return;let c=WUe(e,l,s),u=Array.from(c.querySelectorAll('input[type="radio"]')).map(f=>({input:f,button:f.closest(".button")})),p=()=>{Xve(a,u.filter(f=>f.input.checked).map(f=>f.input.value)),u.forEach(({input:f,button:_})=>{f.checked?(_.classList.add(...J4),_.querySelector(".icon").classList.remove("is-hidden")):(_.classList.remove(...J4),_.querySelector(".icon").classList.add("is-hidden"))})},m=()=>u.forEach(({input:f,button:_})=>{let h=f.matches(":focus-visible")?"add":"remove";_.classList[h]("is-focused")}),g=f=>{let{name:_,value:h}=f.target;n.set(_,h),Tw(h)&&yM(h)};Ut(c,"change",p),Ut(c,"blur",m,!0),Ut(c,"focus",m,!0),Ut(c,"change",g),Ag(()=>a.remove())}function Xve(e,t){e.textContent=` [data-pivot]${t.map(o=>`:not([data-pivot~='${o}'])`).join("")} { display: none !important; }`,QUe(t),jUe(t),cp(),Rt(),Vt({pivots:t.join()},"replaceState")}function WUe(e,t,o){let{userDir:n,userLocale:i}=b.data;return e.insertAdjacentHTML("afterend",`
    ${t.map(r=>`
    ${r.prompt}
    ${r.pivots.map(s=>` `).join(` `)}
    `).join(` `)}
    `),e.nextElementSibling}function KUe(e,t,o,n,i){let r=[];for(let s of t){let a=e.find(f=>f.id===s);if(!a)continue;let l=n.get(s),c=a.pivots,u,p,m,g;for(let f of c)g||(g=f.id),!u&&o.indexOf(f.id)!==-1&&(u=f.id),!p&&f.id===l&&(p=f.id),!m&&f.id===i&&(m=f.id);r.push(u||p||m||g)}return r}function JUe(){let e=ZUe();return $(e,{credentials:"include"}).then(t=>t.json()).then(t=>t.groups)}function ZUe(){let{branch:e}=ce(),t=P("zone_pivot_group_filename")||"zone-pivot-groups.json",o=e?"?"+pe({branch:e}):"",n=["nb-no"],i=Z4,r=i.split("/")[1],s=n.includes(r);s&&(i=i.replace(r,"en-us"));let a=`${i}/${t}${o}`,l=P("zone_pivot_groups_path");l&&(l=s3(l));let c=l&&l.length>1,u=l&&l.startsWith("/"),p=eye.filter(f=>te.pathname.includes(`/${f}/`)),m=p.length>0?`/${p[0]}`:"",g=`/${s?"en-us":r}${m??""}${u?"":"/"}${l}`;return c?g:a}var XUe=["azure.microsoft.com/pricing/purchase-options/azure-account","azure.microsoft.com/free"];function ww(e){try{let t=new URL(e),o=t.hostname+sn(t.pathname);return XUe.some(n=>o.includes(n))}catch{return!1}}function xM(e,t){try{let o=new URL(e),n=o.searchParams.get("cid");if(n===null||n==="")return o.searchParams.set("cid",t?`msft_learn_${t}`:"msft_learn"),o.toString();if(n.includes("msft_learn")&&t&&!n.endsWith(`_${t}`))return o.searchParams.set("cid",`${n}_${t}`),o.toString()}catch{}return e}function oye(e,t=P("platform_id")){let o=Array.from(e.querySelectorAll("a[href]")).filter(n=>{let i=n.getAttribute("href");return i&&ww(i)});for(let n of o){let i=n.getAttribute("href");!i||!ww(i)||n.setAttribute("href",xM(i,t))}}function nye(e,t){let o=Array.from(e.querySelectorAll('iframe[src^="https://learn-video.azurefd.net/"], iframe[src^="https://channel9.msdn.com/"], iframe[src*="/video-embed.html?"], iframe[src*="/video-embed-one-stream.html?"]')),n;try{n=sn(new URL(t.href)?.pathname)}catch{return[]}for(let i of o){let r;try{r=new URL(i.src)}catch{continue}r.searchParams.set("locale",b.data.userLocale),r.searchParams.set("embedUrl",n),i.src=r.toString(),i.title||(i.title=Jf)}return o??[]}function iye(){if(e6().length)return;let t=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")),o=[],n=[];t.map(i=>o.includes(i.id)?n.push(i):o.push(i.id)),n.forEach(i=>{i.removeAttribute("id")})}k();var rye="h1,h2,h3,h4,h5,h6",SM=e=>{e.forEach(t=>{let o=t.firstElementChild;t.clientWidth{let o=!1;return(...n)=>{o||(o=!0,H.requestAnimationFrame(()=>{e.apply(t,n),o=!1}))}},TM={definitions:["margin-bottom-sm"],nameValue:["table-stacked-mobile"],dataMatrix:["table-complex","margin-top-sm"],attributeList:["table-complex","width-auto"]};function eHe(e){let t=e.classList;if(t.contains("definitions")){e.classList.add(...TM.definitions);let o=Array.from(e.querySelectorAll("th"));for(let n=0;n{let n;e.parentElement.classList.contains("table-wrapper")?n=e.parentElement.previousElementSibling:n=e.previousElementSibling;let i=0;for(;n&&i<5;){if(n.matches(rye))return em(n).trim();if(n.matches(".heading-wrapper")){let r=n.querySelector(rye);if(r)return em(r).trim()}n=n.previousElementSibling,i++}return Sse.replace("{index}",(t+1).toString())})()}function aye(e){Array.from(e.querySelectorAll(".content table")).forEach(o=>{let n=Array.from(o.querySelectorAll("thead tr > th")),i=o.querySelector("tbody");if(!i)return;let r=Array.from(i.children);if(oHe(n,r)){for(let s of r){let l=s.firstElementChild;l.firstElementChild.nodeName==="SPAN"?(l.firstElementChild.textContent=l.firstElementChild.textContent,l.lastElementChild.firstElementChild.textContent=l.lastElementChild.firstElementChild.textContent):l.innerHTML=l.firstElementChild.innerHTML;let c=S.createElement("th");c.setAttribute("scope","row"),c.innerHTML=l.innerHTML,l.parentElement.replaceChild(c,l)}n.forEach(s=>{if(s.textContent==="")return;s.setAttribute("scope","col");let a=Array.from(o.querySelectorAll("thead tr > th"));if(!a.length||a[0].innerHTML!=="")return;Array.from(o.querySelectorAll("tbody tr > td:first-child > strong")).forEach(c=>{let u=c.parentElement.parentElement.innerHTML.replace("",'').replace("","");c.parentElement.parentElement.innerHTML=u}),a.forEach(c=>{c.innerHTML!==""&&c.setAttribute("scope","col")})})}})}function oHe(e,t){if(!(e.length&&e[0].firstElementChild===null&&e[0].textContent===""))return!1;for(let n of t){let r=n.firstElementChild,s=r.firstElementChild,a=r.lastElementChild;if(r.nodeName!=="TD"||!s||!(r.querySelector(".sxs-lookup")?nHe(s):s===a&&r.textContent.trim()===s.textContent.trim()&&s.nodeName==="STRONG"))return!1}return!0}function nHe(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 iHe(e){let t=S.createElement("div");if(t.classList.add("buttons","buttons-right","margin-bottom-none","margin-top-sm"),e.previousElementSibling&&e.previousElementSibling.classList.contains("heading-wrapper")){let c=e.previousElementSibling.querySelector("[data-moniker]");if(c){let u=c.getAttribute("data-moniker");u&&t.setAttribute("data-moniker",u)}}let o=d``,n=d``,i=c=>d``,r,s,a;function l(){if(!r||!s){r=S.createElement("div"),a=e.cloneNode(!0);let c=i(a);x(c,r),s=new we(r),a&&Ut(H,"resize",sye(()=>SM([a])),{passive:!0})}s.show(),SM([a])}return x(o,t),t}function t6(e=!1,t){let o=Array.from((t??S).querySelectorAll(".content table"));if(!o.length)return;let n=o.map((r,s)=>{if(s<50&&!r.matches("[aria-label], [aria-labelledby]")&&!r.querySelector("caption")){let l=tHe(r,s);r.setAttribute("aria-label",l)}r.classList.add("table"),(b.data.pageTemplate==="Conceptual"||b.data.pageTemplate==="Reference")&&r.classList.add("table-sm","margin-top-none"),r.classList.length!==1&&eHe(r);let a;if(r.classList.contains("nameValue"))return null;if(r.parentElement.classList.contains("table-wrapper"))a=r.parentElement;else if(a=S.createElement("div"),a.classList.add("table-wrapper","inner-focus"),a.tabIndex=0,a.setAttribute("role","group"),a.setAttribute("aria-label",vN),r.parentElement.insertBefore(a,r),a.appendChild(r),!e){let l=iHe(a);a.parentElement&&a.parentElement.insertBefore(l,a)}return a}).filter(r=>r!==null),i=sye(()=>SM(n));Ut(H,"resize",i,{passive:!0}),Ut(H,"content-update",i,{passive:!0}),SM(n)}function rHe(e){return Array.from(e.querySelectorAll('iframe[src^="https://www.microsoft.com"][src*="/videoplayer/"]'))}function sHe(e,t,o){let n=t.split("/").pop(),i=new URL(`http://approjects.co.za/?big=${e}/videoplayer/embed/${n}`);return o&&i.searchParams.set("postJsllMsg","true"),e!=="en-us"&&i.searchParams.set("autoCaptions",e),i.href}function aHe(e,t=window){t.addEventListener("message",o=>{if(o.origin!=="https://www.microsoft.com"||typeof o.data!="string")return;let n;try{n=JSON.parse(o.data)}catch{}!n||typeof n.eventName!="string"||n.eventName.toLowerCase()!=="postjsllmessage"||e(n.data)})}function lye(){let t=rHe(document.body);for(let o of t){let n=sHe(b.data.userLocale,o.src,!0);o.src!==n&&(o.src=n),o.title=o.title||Jf}t.length&&aHe(Se)}function n6(){lHe(),cHe(),uHe(document.body),iye(),aye(document.body),lye(),nye(document.body,te),oye(document.body)}function lHe(){let e={TIP:{class:"is-success",docon:"lightbulb",title:Rae},NOTE:{class:"is-info",docon:"status-error-outline",title:KX},IMPORTANT:{class:"is-primary",docon:"status-info-outline",title:VZ},WARNING:{class:"is-warning",docon:"status-warning-outline",title:ole},CAUTION:{class:"is-danger",docon:"status-failure-outline",title:H7}};Array.from(document.querySelectorAll(".TIP, .NOTE, .IMPORTANT, .WARNING, .CAUTION")).forEach(o=>{let n=/TIP|NOTE|IMPORTANT|WARNING|CAUTION/.exec(o.className)[0];o.className=`alert ${e[n].class}`;let i=o.firstElementChild;!i||!(i instanceof HTMLParagraphElement)||(i.classList.add("alert-title"),i.textContent=e[n].title,i.insertAdjacentHTML("afterbegin",` `))})}function cHe(){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 uHe(e){Array.from(e.querySelectorAll(".break-text > .xref")).forEach(o=>{if(o.firstElementChild!==null)return;let i=o.parentElement.classList.contains("dots-only")?2:3,r=Pn(o.textContent.replace(//g,">"),i);o.innerHTML=r})}function cye(){document.querySelectorAll("button[data-copy-markdown]").forEach(e=>{e.addEventListener("click",()=>dHe(e))})}async function dHe(e){if(e.dataset.copyState!=="idle")return;Cw(e,"loading");let t=new URL(te.href);t.searchParams.set("accept","text/markdown");try{let o=await fetch(t.toString());if(!o.ok)throw new Error(`Failed to fetch markdown: ${o.status}`);let n=await o.text();await x3(n,e)?(Cw(e,"success"),pt(jE,"assertive",1e3),setTimeout(()=>Cw(e,"idle"),1e3)):Cw(e,"idle")}catch{Cw(e,"idle")}}function Cw(e,t){e.dataset.copyState=t,e.querySelectorAll("[data-show-when]").forEach(o=>{o.hidden=o.dataset.showWhen!==t})}function uye(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&(o.classList.contains("notification")||o.classList.contains("banner")||wM(o))},{passive:!0})}async function wM(e){e.getAttribute("data-dismissable")==="disappearing"&&(e.classList.add("disappearing"),await new Promise(t=>setTimeout(t,500))),e.classList.remove("disappearing"),e.remove(),Rt()}We();var pye=X1(s6(),1);var yu=class extends Error{constructor(o,n,i){super(o,{cause:i.cause});Wt(this,"name");Wt(this,"status");Wt(this,"request");Wt(this,"response");this.name="HttpError",this.status=Number.parseInt(n),Number.isNaN(this.status)&&(this.status=0);"response"in i&&(this.response=i.response);let r=Object.assign({},i.request);i.request.headers.authorization&&(r.headers=Object.assign({},i.request.headers,{authorization:i.request.headers.authorization.replace(/(?=400&&!e.doNotRetry.includes(o.status)){let i=n.request.retries!=null?n.request.retries:e.retries,r=Math.pow((n.request.retryCount||0)+1,2);throw t.retry.retryRequest(o,i,r)}throw o}async function mHe(e,t,o,n){let i=new pye.default;return i.on("failed",function(r,s){let a=~~r.request.request.retries,l=~~r.request.request.retryAfter;if(n.request.retryCount=s.retryCount+1,a>s.retryCount)return l*e.retryAfterBaseValue}),i.schedule(gHe.bind(null,e,t,o),n)}async function gHe(e,t,o,n){let i=await o(o,n);if(i.data&&i.data.errors&&i.data.errors.length>0&&/Something went wrong while executing your query/.test(i.data.errors[0].message)){let r=new yu(i.data.errors[0].message,500,{request:n,response:i});return dye(e,t,r,n)}return i}function a6(e,t){let o=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,410,422,451],retries:3},t.retry);return o.enabled&&(e.hook.error("request",dye.bind(null,o,e)),e.hook.wrap("request",mHe.bind(null,o,e))),{retry:{retryRequest:(n,i,r)=>(n.request.request=Object.assign({},n.request.request,{retries:i,retryAfter:r}),n)}}}a6.VERSION=pHe;var gye=X1(s6(),1),fHe="0.0.0-development",l6=()=>Promise.resolve();function hHe(e,t,o){return e.retryLimiter.schedule(bHe,e,t,o)}async function bHe(e,t,o){let{pathname:n}=new URL(o.url,"http://github.test"),i=_He(o.method,n),r=!i&&o.method!=="GET"&&o.method!=="HEAD",s=o.method==="GET"&&n.startsWith("/search/"),a=n.startsWith("/graphql"),c=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(c.expiration=1e3*60),(r||a)&&await e.write.key(e.id).schedule(c,l6),r&&e.triggersNotification(n)&&await e.notifications.key(e.id).schedule(c,l6),s&&await e.search.key(e.id).schedule(c,l6);let u=(i?e.auth:e.global).key(e.id).schedule(c,t,o);if(a){let p=await u;if(p.data.errors!=null&&p.data.errors.some(m=>m.type==="RATE_LIMITED"))throw Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:p,data:p.data})}return u}function _He(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 vHe=["/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 yHe(e){let o=`^(?:${e.map(n=>n.split("/").map(i=>i.startsWith("{")?"(?:.+?)":i).join("/")).map(n=>`(?:${n})`).join("|")})[^/]*$`;return new RegExp(o,"i")}var mye=yHe(vHe),fye=mye.test.bind(mye),Qg={},xHe=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 CM(e,t){let{enabled:o=!0,Bottleneck:n=gye.default,id:i="no-id",timeout:r=1e3*60*2,connection:s}=t.throttle||{};if(!o)return{};let a={timeout:r};typeof s<"u"&&(a.connection=s),Qg.global==null&&xHe(n,a);let l=Object.assign({clustering:s!=null,triggersNotification:fye,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new n,id:i,...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 n.Events(c);return c.on("secondary-limit",l.onSecondaryRateLimit),c.on("rate-limit",l.onRateLimit),c.on("error",p=>e.log.warn("Error in throttling-plugin limit handler",p)),l.retryLimiter.on("failed",async function(p,m){let[g,f,_]=m.args,{pathname:h}=new URL(_.url,"http://github.test");if(!(h.startsWith("/graphql")&&p.status!==401||p.status===403||p.status===429))return;let v=~~f.retryCount;f.retryCount=v,_.request.retryCount=v;let{wantRetry:T,retryAfter:I=0}=await async function(){if(/\bsecondary rate\b/i.test(p.message)){let A=Number(p.response.headers["retry-after"])||g.fallbackSecondaryRateRetryAfter;return{wantRetry:await u.trigger("secondary-limit",A,_,e,v),retryAfter:A}}if(p.response.headers!=null&&p.response.headers["x-ratelimit-remaining"]==="0"||(p.response.data?.errors??[]).some(A=>A.type==="RATE_LIMITED")){let A=new Date(~~p.response.headers["x-ratelimit-reset"]*1e3).getTime(),O=Math.max(Math.ceil((A-Date.now())/1e3)+1,0);return{wantRetry:await u.trigger("rate-limit",O,_,e,v),retryAfter:O}}return{}}();if(T)return f.retryCount++,I*g.retryAfterBaseValue}),e.hook.wrap("request",hHe.bind(null,l)),{}}CM.VERSION=fHe;CM.triggersNotification=fye;function fp(){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 EM(e,t,o,n){if(typeof o!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(t)?t.reverse().reduce((i,r)=>EM.bind(null,e,r,i,n),o)():Promise.resolve().then(()=>e.registry[t]?e.registry[t].reduce((i,r)=>r.hook.bind(null,i,n),o)():o(n))}function hye(e,t,o,n){let i=n;e.registry[o]||(e.registry[o]=[]),t==="before"&&(n=(r,s)=>Promise.resolve().then(i.bind(null,s)).then(r.bind(null,s))),t==="after"&&(n=(r,s)=>{let a;return Promise.resolve().then(r.bind(null,s)).then(l=>(a=l,i(a,s))).then(()=>a)}),t==="error"&&(n=(r,s)=>Promise.resolve().then(r.bind(null,s)).catch(a=>i(a,s))),e.registry[o].push({hook:n,orig:i})}function bye(e,t,o){if(!e.registry[t])return;let n=e.registry[t].map(i=>i.orig).indexOf(o);n!==-1&&e.registry[t].splice(n,1)}var _ye=Function.bind,vye=_ye.bind(_ye);function yye(e,t,o){let n=vye(bye,null).apply(null,o?[t,o]:[t]);e.api={remove:n},e.remove=n,["before","error","after","wrap"].forEach(i=>{let r=o?[t,i,o]:[t,i];e[i]=e.api[i]=vye(hye,null).apply(null,r)})}function THe(){let e=Symbol("Singular"),t={registry:{}},o=EM.bind(null,t,e);return yye(o,t,e),o}function SHe(){let e={registry:{}},t=EM.bind(null,e);return yye(t,e),t}var xye={Singular:THe,Collection:SHe};var wHe="0.0.0-development",CHe=`octokit-endpoint.js/${wHe} ${fp()}`,EHe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":CHe},mediaType:{format:""}};function AHe(e){return e?Object.keys(e).reduce((t,o)=>(t[o.toLowerCase()]=e[o],t),{}):{}}function kHe(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let o=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Function.prototype.call(o)===Function.prototype.call(e)}function wye(e,t){let o=Object.assign({},e);return Object.keys(t).forEach(n=>{kHe(t[n])?n in e?o[n]=wye(e[n],t[n]):Object.assign(o,{[n]:t[n]}):Object.assign(o,{[n]:t[n]})}),o}function Tye(e){for(let t in e)e[t]===void 0&&delete e[t];return e}function u6(e,t,o){if(typeof t=="string"){let[i,r]=t.split(" ");o=Object.assign(r?{method:i,url:r}:{url:i},o)}else o=Object.assign({},t);o.headers=AHe(o.headers),Tye(o),Tye(o.headers);let n=wye(e||{},o);return o.url==="/graphql"&&(e&&e.mediaType.previews?.length&&(n.mediaType.previews=e.mediaType.previews.filter(i=>!n.mediaType.previews.includes(i)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(i=>i.replace(/-preview/,""))),n}function IHe(e,t){let o=/\?/.test(e)?"&":"?",n=Object.keys(t);return n.length===0?e:e+o+n.map(i=>i==="q"?"q="+t.q.split("+").map(encodeURIComponent).join("+"):`${i}=${encodeURIComponent(t[i])}`).join("&")}var PHe=/\{[^{}}]+\}/g;function LHe(e){return e.replace(/(?:^\W+)|(?:(?o.concat(n),[]):[]}function Sye(e,t){let o={__proto__:null};for(let n of Object.keys(e))t.indexOf(n)===-1&&(o[n]=e[n]);return o}function Cye(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 Sv(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function Ew(e,t,o){return t=e==="+"||e==="#"?Cye(t):Sv(t),o?Sv(o)+"="+t:t}function Tv(e){return e!=null}function c6(e){return e===";"||e==="&"||e==="?"}function MHe(e,t,o,n){var i=e[o],r=[];if(Tv(i)&&i!=="")if(typeof i=="string"||typeof i=="number"||typeof i=="bigint"||typeof i=="boolean")i=i.toString(),n&&n!=="*"&&(i=i.substring(0,parseInt(n,10))),r.push(Ew(t,i,c6(t)?o:""));else if(n==="*")Array.isArray(i)?i.filter(Tv).forEach(function(s){r.push(Ew(t,s,c6(t)?o:""))}):Object.keys(i).forEach(function(s){Tv(i[s])&&r.push(Ew(t,i[s],s))});else{let s=[];Array.isArray(i)?i.filter(Tv).forEach(function(a){s.push(Ew(t,a))}):Object.keys(i).forEach(function(a){Tv(i[a])&&(s.push(Sv(a)),s.push(Ew(t,i[a].toString())))}),c6(t)?r.push(Sv(o)+"="+s.join(",")):s.length!==0&&r.push(s.join(","))}else t===";"?Tv(i)&&r.push(Sv(o)):i===""&&(t==="&"||t==="?")?r.push(Sv(o)+"="):i===""&&r.push("");return r}function $He(e){return{expand:DHe.bind(null,e)}}function DHe(e,t){var o=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,i,r){if(i){let a="",l=[];if(o.indexOf(i.charAt(0))!==-1&&(a=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(c){var u=/([^:\*]*)(?::(\d+)|(\*))?/.exec(c);l.push(MHe(t,a,u[1],u[2]||u[3]))}),a&&a!=="+"){var s=",";return a==="?"?s="&":a!=="#"&&(s=a),(l.length!==0?a:"")+l.join(s)}else return l.join(",")}else return Cye(r)}),e==="/"?e:e.replace(/\/$/,"")}function Eye(e){let t=e.method.toUpperCase(),o=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},e.headers),i,r=Sye(e,["method","baseUrl","url","headers","request","mediaType"]),s=RHe(o);o=$He(o).expand(r),/^http/.test(o)||(o=e.baseUrl+o);let a=Object.keys(e).filter(u=>s.includes(u)).concat("baseUrl"),l=Sye(r,a);if(!/application\/octet-stream/i.test(n.accept)&&(e.mediaType.format&&(n.accept=n.accept.split(/,/).map(u=>u.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")),o.endsWith("/graphql")&&e.mediaType.previews?.length)){let u=n.accept.match(/(?{let m=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${p}-preview${m}`}).join(",")}return["GET","HEAD"].includes(t)?o=IHe(o,l):"data"in l?i=l.data:Object.keys(l).length&&(i=l),!n["content-type"]&&typeof i<"u"&&(n["content-type"]="applicationhttps://www.microsoft.com/json; charset=utf-8"),["PATCH","PUT"].includes(t)&&typeof i>"u"&&(i=""),Object.assign({method:t,url:o,headers:n},typeof i<"u"?{body:i}:null,e.request?{request:e.request}:null)}function zHe(e,t,o){return Eye(u6(e,t,o))}function Aye(e,t){let o=u6(e,t),n=zHe.bind(null,o);return Object.assign(n,{DEFAULTS:o,defaults:Aye.bind(null,o),merge:u6.bind(null,o),parse:Eye})}var kye=Aye(null,EHe);var Vye=X1(Dye(),1);var QHe=/^-?\d+$/,Fye=/^-?\d+n+$/,g6=JSON.stringify,zye=JSON.parse,jHe=/^-?\d+n$/,YHe=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,WHe=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,qye=(e,t,o)=>"rawJSON"in JSON?g6(e,(s,a)=>typeof a=="bigint"?JSON.rawJSON(a.toString()):typeof t=="function"?t(s,a):(Array.isArray(t)&&t.includes(s),a),o):e?g6(e,(s,a)=>typeof a=="string"&&Fye.test(a)||typeof a=="bigint"?a.toString()+"n":typeof t=="function"?t(s,a):(Array.isArray(t)&&t.includes(s),a),o).replace(YHe,"$1$2$3").replace(WHe,"$1$2$3"):g6(e,t,o),kM=new Map,KHe=()=>{let e=JSON.parse.toString();if(kM.has(e))return kM.get(e);try{let t=JSON.parse("1",(o,n,i)=>!!i?.source&&i.source==="1");return kM.set(e,t),t}catch{return kM.set(e,!1),!1}},JHe=(e,t,o,n)=>typeof t=="string"&&jHe.test(t)?BigInt(t.slice(0,-1)):typeof t=="string"&&Fye.test(t)?t.slice(0,-1):typeof n!="function"?t:n(e,t,o),ZHe=(e,t)=>JSON.parse(e,(o,n,i)=>{let r=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n{if(!e)return zye(e,t);if(KHe())return ZHe(e,t);let o=e.replace(XHe,(n,i,r,s)=>{let a=n[0]==='"';if(a&&eBe.test(n))return n.substring(0,n.length-1)+'n"';let c=r||s,u=i&&(i.lengthJHe(n,i,r,t))};var tBe="10.0.9",oBe={headers:{"user-agent":`octokit-request.js/${tBe} ${fp()}`}};function nBe(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let o=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Function.prototype.call(o)===Function.prototype.call(e)}var 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 o=e.request?.log||console,n=e.request?.parseSuccessResponseBody!==!1,i=nBe(e.body)||Array.isArray(e.body)?qye(e.body):e.body,r=Object.fromEntries(Object.entries(e.headers).map(([p,m])=>[p,String(m)])),s;try{s=await t(e.url,{method:e.method,body:i,redirect:e.request?.redirect,headers:r,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(p){let m="Unknown Error";if(p instanceof Error){if(p.name==="AbortError")throw p.status=500,p;m=p.message,p.name==="TypeError"&&"cause"in p&&(p.cause instanceof Error?m=p.cause.message:typeof p.cause=="string"&&(m=p.cause))}let g=new yu(m,500,{request:e});throw g.cause=p,g}let a=s.status,l=s.url,c={};for(let[p,m]of s.headers)c[p]=m;let u={url:l,status:a,headers:c,data:""};if("deprecation"in c){let p=c.link&&c.link.match(/<([^<>]+)>; rel="deprecation"/),m=p&&p.pop();o.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${c.sunset}${m?`. See ${m}`:""}`)}if(a===204||a===205)return u;if(e.method==="HEAD"){if(a<400)return u;throw new yu(s.statusText,a,{response:u,request:e})}if(a===304)throw u.data=await f6(s),new yu("Not modified",a,{response:u,request:e});if(a>=400)throw u.data=await f6(s),new yu(rBe(u.data),a,{response:u,request:e});return u.data=n?await f6(s):s.body,u}async function f6(e){let t=e.headers.get("content-type");if(!t)return e.text().catch(Hye);let o=(0,Vye.parse)(t);if(iBe(o)){let n="";try{return n=await e.text(),Uye(n)}catch{return n}}else return o.type.startsWith("text/")||o.parameters.charset?.toLowerCase()==="utf-8"?e.text().catch(Hye):e.arrayBuffer().catch(()=>new ArrayBuffer(0))}function iBe(e){return e.type==="applicationhttps://www.microsoft.com/json"||e.type==="application/scim+json"}function rBe(e){if(typeof e=="string")return e;if(e instanceof ArrayBuffer)return"Unknown error";if("message"in e){let t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map(o=>JSON.stringify(o)).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function h6(e,t){let o=e.defaults(t);return Object.assign(function(i,r){let s=o.merge(i,r);if(!s.request||!s.request.hook)return Bye(o.parse(s));let a=(l,c)=>Bye(o.parse(o.merge(l,c)));return Object.assign(a,{endpoint:o,defaults:h6.bind(null,o)}),s.request.hook(a,s)},{endpoint:o,defaults:h6.bind(null,o)})}var Aw=h6(kye,oBe);var sBe="0.0.0-development";function aBe(e){return`Request failed due to following response errors: `+e.errors.map(t=>` - ${t.message}`).join(` `)}var lBe=class extends Error{constructor(t,o,n){super(aBe(n));Wt(this,"name","GraphqlResponseError");Wt(this,"errors");Wt(this,"data");this.request=t,this.headers=o,this.response=n,this.errors=n.errors,this.data=n.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},cBe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],uBe=["query","method","url"],Gye=/\/api\/v3\/?$/;function dBe(e,t,o){if(o){if(typeof t=="string"&&"query"in o)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let s in o)if(uBe.includes(s))return Promise.reject(new Error(`[@octokit/graphql] "${s}" cannot be used as variable name`))}let n=typeof t=="string"?Object.assign({query:t},o):t,i=Object.keys(n).reduce((s,a)=>cBe.includes(a)?(s[a]=n[a],s):(s.variables||(s.variables={}),s.variables[a]=n[a],s),{}),r=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;return Gye.test(r)&&(i.url=r.replace(Gye,"/api/graphql")),e(i).then(s=>{if(s.data.errors){let a={};for(let l of Object.keys(s.headers))a[l]=s.headers[l];throw new lBe(i,a,s.data)}return s.data.data})}function b6(e,t){let o=e.defaults(t);return Object.assign((i,r)=>dBe(o,i,r),{defaults:b6.bind(null,o),endpoint:o.endpoint})}var A2t=b6(Aw,{headers:{"user-agent":`octokit-graphql.js/${sBe} ${fp()}`},method:"POST",url:"/graphql"});function Qye(e){return b6(e,{method:"POST",url:"/graphql"})}var _6="(?:[a-zA-Z0-9_-]+)",jye="\\.",Yye=new RegExp(`^${_6}${jye}${_6}${jye}${_6}$`),pBe=Yye.test.bind(Yye);async function mBe(e){let t=pBe(e),o=e.startsWith("v1.")||e.startsWith("ghs_"),n=e.startsWith("ghu_");return{type:"token",token:e,tokenType:t?"app":o?"installation":n?"user-to-server":"oauth"}}function gBe(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function fBe(e,t,o,n){let i=t.endpoint.merge(o,n);return i.headers.authorization=gBe(e),t(i)}var Wye=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(mBe.bind(null,t),{hook:fBe.bind(null,t)})};var v6="7.0.6";var Kye=()=>{},hBe=console.warn.bind(console),bBe=console.error.bind(console);function _Be(e={}){return typeof e.debug!="function"&&(e.debug=Kye),typeof e.info!="function"&&(e.info=Kye),typeof e.warn!="function"&&(e.warn=hBe),typeof e.error!="function"&&(e.error=bBe),e}var Jye=`octokit-core.js/${v6} ${fp()}`,wv=class{constructor(t={}){Wt(this,"request");Wt(this,"graphql");Wt(this,"log");Wt(this,"hook");Wt(this,"auth");let o=new xye.Collection,n={baseUrl:Aw.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:o.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=t.userAgent?`${t.userAgent} ${Jye}`:Jye,t.baseUrl&&(n.baseUrl=t.baseUrl),t.previews&&(n.mediaType.previews=t.previews),t.timeZone&&(n.headers["time-zone"]=t.timeZone),this.request=Aw.defaults(n),this.graphql=Qye(this.request).defaults(n),this.log=_Be(t.log),this.hook=o,t.authStrategy){let{authStrategy:r,...s}=t,a=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},t.auth));o.wrap("request",a.hook),this.auth=a}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{let r=Wye(t.auth);o.wrap("request",r.hook),this.auth=r}let i=this.constructor;for(let r=0;r!o.includes(r)))),i}};Wt(wv,"VERSION",v6),Wt(wv,"plugins",[]);var Zye="6.0.0";function y6(e){e.hook.wrap("request",(t,o)=>{e.log.debug("request",o);let n=Date.now(),i=e.request.endpoint.parse(o),r=i.url.replace(o.baseUrl,"");return t(o).then(s=>{let a=s.headers["x-github-request-id"];return e.log.info(`${i.method} ${r} - ${s.status} with id ${a} in ${Date.now()-n}ms`),s}).catch(s=>{let a=s.response?.headers["x-github-request-id"]||"UNKNOWN";throw e.log.error(`${i.method} ${r} - ${s.status} with id ${a} in ${Date.now()-n}ms`),s})})}y6.VERSION=Zye;var vBe="0.0.0-development";function yBe(e){if(!e.data)return{...e,data:[]};if(!(("total_count"in e.data||"total_commits"in e.data)&&!("url"in e.data)))return e;let o=e.data.incomplete_results,n=e.data.repository_selection,i=e.data.total_count,r=e.data.total_commits;delete e.data.incomplete_results,delete e.data.repository_selection,delete e.data.total_count,delete e.data.total_commits;let s=Object.keys(e.data)[0],a=e.data[s];return e.data=a,typeof o<"u"&&(e.data.incomplete_results=o),typeof n<"u"&&(e.data.repository_selection=n),e.data.total_count=i,e.data.total_commits=r,e}function x6(e,t,o){let n=typeof t=="function"?t.endpoint(o):e.request.endpoint(t,o),i=typeof t=="function"?t:e.request,r=n.method,s=n.headers,a=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let l=await i({method:r,url:a,headers:s}),c=yBe(l);if(a=((c.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!a&&"total_commits"in c.data){let u=new URL(c.url),p=u.searchParams,m=parseInt(p.get("page")||"1",10),g=parseInt(p.get("per_page")||"250",10);m*g{if(i.done)return t;let r=!1;function s(){r=!0}return t=t.concat(n?n(i.value,s):i.value.data),r?t:exe(e,t,o,n)})}var Q2t=Object.assign(Xye,{iterator:x6});function T6(e){return{paginate:Object.assign(Xye.bind(null,e),{iterator:x6.bind(null,e)})}}T6.VERSION=vBe;var S6="16.1.1";var xBe={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"]}},txe=xBe;var jg=new Map;for(let[e,t]of Object.entries(txe))for(let[o,n]of Object.entries(t)){let[i,r,s]=n,[a,l]=i.split(/ /),c=Object.assign({method:a,url:l},r);jg.has(e)||jg.set(e,new Map),jg.get(e).set(o,{scope:e,methodName:o,endpointDefaults:c,decorations:s})}var TBe={has({scope:e},t){return jg.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:!0,writable:!0,enumerable:!0}},defineProperty(e,t,o){return Object.defineProperty(e.cache,t,o),!0},deleteProperty(e,t){return delete e.cache[t],!0},ownKeys({scope:e}){return[...jg.get(e).keys()]},set(e,t,o){return e.cache[t]=o},get({octokit:e,scope:t,cache:o},n){if(o[n])return o[n];let i=jg.get(t).get(n);if(!i)return;let{endpointDefaults:r,decorations:s}=i;return s?o[n]=SBe(e,t,n,r,s):o[n]=e.request.defaults(r),o[n]}};function w6(e){let t={};for(let o of jg.keys())t[o]=new Proxy({octokit:e,scope:o,cache:{}},TBe);return t}function SBe(e,t,o,n,i){let r=e.request.defaults(n);function s(...a){let l=r.endpoint.merge(...a);if(i.mapToData)return l=Object.assign({},l,{data:l[i.mapToData],[i.mapToData]:void 0}),r(l);if(i.renamed){let[c,u]=i.renamed;e.log.warn(`octokit.${t}.${o}() has been renamed to octokit.${c}.${u}()`)}if(i.deprecated&&e.log.warn(i.deprecated),i.renamedParameters){let c=r.endpoint.merge(...a);for(let[u,p]of Object.entries(i.renamedParameters))u in c&&(e.log.warn(`"${u}" parameter is deprecated for "octokit.${t}.${o}()". Use "${p}" instead`),p in c||(c[p]=c[u]),delete c[u]);return r(c)}return r(...a)}return Object.assign(s,r)}function wBe(e){return{rest:w6(e)}}wBe.VERSION=S6;function C6(e){let t=w6(e);return{...t,rest:t}}C6.VERSION=S6;var oxe="22.0.0";var nxe=wv.plugin(y6,C6,T6).defaults({userAgent:`octokit-rest.js/${oxe}`});var xu=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{}}}();xu.trustedTypes===void 0&&(xu.trustedTypes={createPolicy:(e,t)=>t});var ixe={configurable:!1,enumerable:!1,writable:!1};xu.FAST===void 0&&Reflect.defineProperty(xu,"FAST",Object.assign({value:Object.create(null)},ixe));var Yg=xu.FAST;if(Yg.getById===void 0){let e=Object.create(null);Reflect.defineProperty(Yg,"getById",Object.assign({value(t,o){let n=e[t];return n===void 0&&(n=o?e[t]=o():null),n}},ixe))}var IM=Object.freeze([]);function PM(){let e=new WeakMap;return function(t){let o=e.get(t);if(o===void 0){let n=Reflect.getPrototypeOf(t);for(;o===void 0&&n!==null;)o=e.get(n),n=Reflect.getPrototypeOf(n);o=o===void 0?[]:o.slice(0),e.set(t,o)}return o}}var E6=xu.FAST.getById(1,()=>{let e=[],t=[];function o(){if(t.length)throw t.shift()}function n(s){try{s.call()}catch(a){t.push(a),setTimeout(o,0)}}function i(){let a=0;for(;a1024){for(let l=0,c=e.length-a;le}),A6=rxe,kw=`fast-${Math.random().toString(36).substring(2,8)}`,k6=`${kw}{`,LM=`}${kw}`,Pt=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(A6!==rxe)throw new Error("The HTML policy can only be set once.");A6=e},createHTML(e){return A6.createHTML(e)},isMarker(e){return e&&e.nodeType===8&&e.data.startsWith(kw)},extractDirectiveIndexFromMarker(e){return parseInt(e.data.replace(`${kw}:`,""))},createInterpolationPlaceholder(e){return`${k6}${e}${LM}`},createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder(e){return``},queueUpdate:E6.enqueue,processUpdates:E6.process,nextUpdate(){return new Promise(E6.enqueue)},setAttribute(e,t,o){o==null?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)},removeChildNodes(e){for(let t=e.firstChild;t!==null;t=e.firstChild)e.removeChild(t)},createTemplateWalker(e){return document.createTreeWalker(e,133,null,!1)}});var hp=class{constructor(t,o){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=t,this.sub1=o}has(t){return this.spillover===void 0?this.sub1===t||this.sub2===t:this.spillover.indexOf(t)!==-1}subscribe(t){let o=this.spillover;if(o===void 0){if(this.has(t))return;if(this.sub1===void 0){this.sub1=t;return}if(this.sub2===void 0){this.sub2=t;return}this.spillover=[this.sub1,this.sub2,t],this.sub1=void 0,this.sub2=void 0}else o.indexOf(t)===-1&&o.push(t)}unsubscribe(t){let o=this.spillover;if(o===void 0)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0);else{let n=o.indexOf(t);n!==-1&&o.splice(n,1)}}notify(t){let o=this.spillover,n=this.source;if(o===void 0){let i=this.sub1,r=this.sub2;i!==void 0&&i.handleChange(n,t),r!==void 0&&r.handleChange(n,t)}else for(let i=0,r=o.length;i{let e=/(:|&&|\|\||if)/,t=new WeakMap,o=Pt.queueUpdate,n,i=c=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function r(c){let u=c.$fastController||t.get(c);return u===void 0&&(Array.isArray(c)?u=i(c):t.set(c,u=new Cv(c))),u}let s=PM();class a{constructor(u){this.name=u,this.field=`_${u}`,this.callback=`${u}Changed`}getValue(u){return n!==void 0&&n.watch(u,this.name),u[this.field]}setValue(u,p){let m=this.field,g=u[m];if(g!==p){u[m]=p;let f=u[this.callback];typeof f=="function"&&f.call(u,g,p),r(u).notify(this.name)}}}class l extends hp{constructor(u,p,m=!1){super(u,p),this.binding=u,this.isVolatileBinding=m,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(u,p){this.needsRefresh&&this.last!==null&&this.disconnect();let m=n;n=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let g=this.binding(u,p);return n=m,g}disconnect(){if(this.last!==null){let u=this.first;for(;u!==void 0;)u.notifier.unsubscribe(this,u.propertyName),u=u.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(u,p){let m=this.last,g=r(u),f=m===null?this.first:{};if(f.propertySource=u,f.propertyName=p,f.notifier=g,g.subscribe(this,p),m!==null){if(!this.needsRefresh){let _;n=void 0,_=m.propertySource[m.propertyName],n=this,u===_&&(this.needsRefresh=!0)}m.next=f}this.last=f}handleChange(){this.needsQueue&&(this.needsQueue=!1,o(this))}call(){this.last!==null&&(this.needsQueue=!0,this.notify(this))}records(){let u=this.first;return{next:()=>{let p=u;return p===void 0?{value:void 0,done:!0}:(u=u.next,{value:p,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(c){i=c},getNotifier:r,track(c,u){n!==void 0&&n.watch(c,u)},trackVolatile(){n!==void 0&&(n.needsRefresh=!0)},notify(c,u){r(c).notify(u)},defineProperty(c,u){typeof u=="string"&&(u=new a(u)),s(c).push(u),Reflect.defineProperty(c,u.name,{enumerable:!0,get:function(){return u.getValue(this)},set:function(p){u.setValue(this,p)}})},getAccessors:s,binding(c,u,p=this.isVolatileBinding(c)){return new l(c,u,p)},isVolatileBinding(c){return e.test(c.toString())}})});function G(e,t){eo.defineProperty(e,t)}var sxe=Yg.getById(3,()=>{let e=null;return{get(){return e},set(t){e=t}}}),bp=class{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return sxe.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){sxe.set(t)}};eo.defineProperty(bp.prototype,"index");eo.defineProperty(bp.prototype,"length");var ss=Object.seal(new bp);var Zl=class{constructor(){this.targetIndex=0}},Ev=class extends Zl{constructor(){super(...arguments),this.createPlaceholder=Pt.createInterpolationPlaceholder}},RM=class extends Zl{constructor(t,o,n){super(),this.name=t,this.behavior=o,this.options=n}createPlaceholder(t){return Pt.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}};function CBe(e,t){this.source=e,this.context=t,this.bindingObserver===null&&(this.bindingObserver=eo.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function EBe(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function ABe(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function kBe(){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 IBe(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function PBe(e){Pt.setAttribute(this.target,this.targetName,e)}function LBe(e){Pt.setBooleanAttribute(this.target,this.targetName,e)}function RBe(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 MBe(e){this.target[this.targetName]=e}function $Be(e){let t=this.classVersions||Object.create(null),o=this.target,n=this.version||0;if(e!=null&&e.length){let i=e.split(/\s+/);for(let r=0,s=i.length;rPt.createHTML(o(n,i))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=LBe;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=EBe,this.unbind=IBe;break;default:this.cleanedTargetName=t,t==="class"&&(this.updateTarget=$Be);break}}targetAtContent(){this.updateTarget=RBe,this.unbind=kBe}createBehavior(t){return new I6(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}},I6=class{constructor(t,o,n,i,r,s,a){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=o,this.isBindingVolatile=n,this.bind=i,this.unbind=r,this.updateTarget=s,this.targetName=a}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){bp.setEvent(t);let o=this.binding(this.source,this.context);bp.setEvent(null),o!==!0&&t.preventDefault()}};var P6=null,L6=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(){P6=this}static borrow(t){let o=P6||new e;return o.directives=t,o.reset(),P6=null,o}};function DBe(e){if(e.length===1)return e[0];let t,o=e.length,n=e.map(s=>typeof s=="string"?()=>s:(t=s.targetName||t,s.binding)),i=(s,a)=>{let l="";for(let c=0;ca),c.targetName=s.name):c=DBe(l),c!==null&&(t.removeAttributeNode(s),i--,r--,e.addFactory(c))}}function NBe(e,t,o){let n=lxe(e,t.textContent);if(n!==null){let i=t;for(let r=0,s=n.length;r0}let o=this.fragment.cloneNode(!0),n=this.viewBehaviorFactories,i=new Array(this.behaviorCount),r=Pt.createTemplateWalker(o),s=0,a=this.targetOffset,l=r.nextNode();for(let c=n.length;s=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function W(e,...t){let o=[],n="";for(let i=0,r=e.length-1;il}if(typeof a=="function"&&(a=new Wg(a)),a instanceof Ev){let l=FBe.exec(s);l!==null&&(a.targetName=l[2])}a instanceof Zl?(n+=a.createPlaceholder(o.length),o.push(a)):n+=a}return n+=e[e.length-1],new MM(n,o)}var Ir=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}};Ir.create=(()=>{if(Pt.supportsAdoptedStyleSheets){let e=new Map;return t=>new M6(t,e)}return e=>new $6(e)})();function D6(e){return e.map(t=>t instanceof Ir?D6(t.styles):[t]).reduce((t,o)=>t.concat(o),[])}function uxe(e){return e.map(t=>t instanceof Ir?t.behaviors:null).reduce((t,o)=>o===null?t:(t===null&&(t=[]),t.concat(o)),null)}var dxe=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},pxe=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(o=>t.indexOf(o)===-1)};if(Pt.supportsAdoptedStyleSheets)try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),dxe=(e,t)=>{e.adoptedStyleSheets.push(...t)},pxe=(e,t)=>{for(let o of t){let n=e.adoptedStyleSheets.indexOf(o);n!==-1&&e.adoptedStyleSheets.splice(n,1)}}}catch{}var M6=class extends Ir{constructor(t,o){super(),this.styles=t,this.styleSheetCache=o,this._styleSheets=void 0,this.behaviors=uxe(t)}get styleSheets(){if(this._styleSheets===void 0){let t=this.styles,o=this.styleSheetCache;this._styleSheets=D6(t).map(n=>{if(n instanceof CSSStyleSheet)return n;let i=o.get(n);return i===void 0&&(i=new CSSStyleSheet,i.replaceSync(n),o.set(n,i)),i})}return this._styleSheets}addStylesTo(t){dxe(t,this.styleSheets),super.addStylesTo(t)}removeStylesFrom(t){pxe(t,this.styleSheets),super.removeStylesFrom(t)}},qBe=0;function OBe(){return`fast-style-class-${++qBe}`}var $6=class extends Ir{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=uxe(t),this.styleSheets=D6(t),this.styleClass=OBe()}addStylesTo(t){let o=this.styleSheets,n=this.styleClass;t=this.normalizeTarget(t);for(let i=0;i{n.add(t);let i=t[this.fieldName];switch(o){case"reflect":let r=this.converter;Pt.setAttribute(t,this.attribute,r!==void 0?r.toView(i):i);break;case"boolean":Pt.setBooleanAttribute(t,this.attribute,i);break}n.delete(t)})}static collect(t,...o){let n=[];o.push(mxe.locate(t));for(let i=0,r=o.length;i1&&(o.property=r),mxe.locate(i.constructor).push(o)}if(arguments.length>1){o={},n(e,t);return}return o=e===void 0?{}:e,n}var gxe={mode:"open"},fxe={},z6=Yg.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)}})}),Kg=class{constructor(t,o=t.definition){typeof o=="string"&&(o={name:o}),this.type=t,this.name=o.name,this.template=o.template;let n=$M.collect(t,o.attributes),i=new Array(n.length),r={},s={};for(let a=0,l=n.length;a0){let r=this.boundObservables=Object.create(null);for(let s=0,a=i.length;s0||o>0;){if(t===0){i.push(q6),o--;continue}if(o===0){i.push(O6),t--;continue}let r=e[t-1][o-1],s=e[t-1][o],a=e[t][o-1],l;s=0){e.splice(a,1),a--,s-=l.addedCount-l.removed.length,i.addedCount+=l.addedCount-c;let u=i.removed.length+l.removed.length-c;if(!i.addedCount&&!u)r=!0;else{let p=l.removed;if(i.indexl.index+l.addedCount){let m=i.removed.slice(l.index+l.addedCount-i.index);vxe.apply(p,m)}i.removed=p,l.indexn?o=n-e.addedCount:o<0&&(o=n+e.removed.length+o-e.addedCount),o<0&&(o=0),e.index=o,e}var B6=class extends hp{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,Pt.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,Pt.queueUpdate(this))}flush(){let t=this.splices,o=this.oldCollection;if(t===void 0&&o===void 0)return;this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0;let n=o===void 0?Txe(this.source,t):U6(this.source,0,this.source.length,o,0,o.length);this.notify(n)}};function wxe(){if(Sxe)return;Sxe=!0,eo.setArrayObserverFactory(l=>new B6(l));let e=Array.prototype;if(e.$fastPatch)return;Reflect.defineProperty(e,"$fastPatch",{value:1,enumerable:!1});let t=e.pop,o=e.push,n=e.reverse,i=e.shift,r=e.sort,s=e.splice,a=e.unshift;e.pop=function(){let l=this.length>0,c=t.apply(this,arguments),u=this.$fastController;return u!==void 0&&l&&u.addSplice(Js(this.length,[c],0)),c},e.push=function(){let l=o.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(H6(Js(this.length-arguments.length,[],arguments.length),this)),l},e.reverse=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let u=n.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.shift=function(){let l=this.length>0,c=i.apply(this,arguments),u=this.$fastController;return u!==void 0&&l&&u.addSplice(Js(0,[c],0)),c},e.sort=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let u=r.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.splice=function(){let l=s.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(H6(Js(+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(H6(Js(0,[],arguments.length),this)),l}}var V6=class{constructor(t,o){this.target=t,this.propertyName=o}bind(t){t[this.propertyName]=this.target}unbind(){}};function Jg(e){return new RM("fast-ref",V6,e)}var G6=e=>typeof e=="function";var JBe=()=>null;function Cxe(e){return e===void 0?JBe:G6(e)?e:()=>e}function Me(e,t,o){let n=G6(e)?e:()=>e,i=Cxe(t),r=Cxe(o);return(s,a)=>n(s,a)?i(s,a):r(s,a)}var Exe=Object.freeze({positioning:!1,recycle:!0});function ZBe(e,t,o,n){e.bind(t[o],n)}function XBe(e,t,o,n){let i=Object.create(n);i.index=o,i.length=t.length,e.bind(t[o],i)}var Q6=class{constructor(t,o,n,i,r,s){this.location=t,this.itemsBinding=o,this.templateBinding=i,this.options=s,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=ZBe,this.itemsBindingObserver=eo.binding(o,this,n),this.templateBindingObserver=eo.binding(i,this,r),s.positioning&&(this.bindView=XBe)}bind(t,o){this.source=t,this.originalContext=o,this.childContext=Object.create(o),this.childContext.parent=t,this.childContext.parentContext=this.originalContext,this.items=this.itemsBindingObserver.observe(t,this.originalContext),this.template=this.templateBindingObserver.observe(t,this.originalContext),this.observeItems(!0),this.refreshAllViews()}unbind(){this.source=null,this.items=null,this.itemsObserver!==null&&this.itemsObserver.unsubscribe(this),this.unbindAllViews(),this.itemsBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(t,o){t===this.itemsBinding?(this.items=this.itemsBindingObserver.observe(this.source,this.originalContext),this.observeItems(),this.refreshAllViews()):t===this.templateBinding?(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshAllViews(!0)):this.updateViews(o)}observeItems(t=!1){if(!this.items){this.items=IM;return}let o=this.itemsObserver,n=this.itemsObserver=eo.getNotifier(this.items),i=o!==n;i&&o!==null&&o.unsubscribe(this),(i||t)&&n.subscribe(this)}updateViews(t){let o=this.childContext,n=this.views,i=this.bindView,r=this.items,s=this.template,a=this.options.recycle,l=[],c=0,u=0;for(let p=0,m=t.length;p0?(_<=T&&v.length>0?(O=v[_],_++):(O=l[c],c++),u--):O=s.create(),n.splice(h,0,O),i(O,r,h,o),O.insertBefore(A)}v[_]&&l.push(...v.slice(_))}for(let p=c,m=l.length;pt;return new j6(e,n,Object.assign(Object.assign({},Exe),o))}var e3e=F6` .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 Axe(e,t,o,n){let i=["default-focus","button","font-weight-semibold","modal-close"],r=typeof t=="function"?t(e):t;r.classes&&i.push("button-filled");let s=new Set([...r.classes??[],...i]);if(r.url)return W`${r.label}`;let a=r.object?`${r.action} - ${r.object}`:`${r.action}`;return W``}function t3e({message:e,title:t,confirmButton:o,cancelButton:n,align:i}){let r=s=>({action:Ne,label:Ne,...typeof n=="function"?n(s):n});return W` ${Me(s=>s.visible,W``)} `}var NM=class extends _xe{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(){Pt.queueUpdate(()=>{let o=document.getElementsByClassName("default-focus")[0];o&&o.focus();let n=".modal-close, .modal-card .button",i=document.querySelector(".modal-card");if(!i)return;let r=i.querySelectorAll(n),s=r[0],a=r[r.length-1];document.addEventListener("keydown",l=>{(l.key==="Tab"||l.keyCode===9)&&(l.shiftKey?(document.activeElement===s||r.length===1)&&(a.focus(),l.preventDefault()):(document.activeElement===a||r.length===1)&&(s.focus(),l.preventDefault()))})})}hideVerticalScrollbar(){document.getElementsByTagName("html")[0].style.overflowY="hidden"}showVerticalScrollbar(){document.getElementsByTagName("html")[0].removeAttribute("style")}};U([G],NM.prototype,"visible",2);var FM=class extends NM{showModal(t,o,n){this.visible=!0,this.hideVerticalScrollbar(),this.confirmCallback=t,this.cancelCallback=o,this.closeCallback=n,this.setFocus()}confirm(){super.confirm(),this.confirmCallback&&this.confirmCallback()}cancel(){super.cancel(),this.cancelCallback&&this.cancelCallback()}close(){super.close(),this.closeCallback&&this.closeCallback()}};function kxe(e,t,o){return FM.define(class extends FM{},{name:e,template:t3e(o),styles:e3e,shadowOptions:null,attributes:t??[]})}var Y6=0;function qM(e,t){if(typeof e!="string"){let i=e;e="";for(let r in i)e+=i[r]+"
    "}let o=document.getElementById("error-modal");o&&document.body.removeChild(o),kxe(`error-modal-${Y6}`,[],{message:W`

    ${e}

    `,title:"",confirmButton:t,align:"center"});let n=document.createElement(`error-modal-${Y6}`);n.id="error-modal",document.body.appendChild(n),n.showModal(),Y6++}function OM(...e){let t=a=>[...a].join("/"),o=(a,...l)=>{let c=new URLSearchParams;for(let u of l)a.searchParams.has(u)&&c.set(u,a.searchParams.get(u)??"");return c},n=new URL(location.href),i=o(n,"branch","themebranch","branchFallbackFrom","pr"),r=i.toString()!==""?"?"+i.toString():"",s=`/${b.data.userLocale}/editor/`+t(e)+r;return new URL(s,n)}function Ixe(e){e||(e=OM());let t="";return R.supportLevel==="development"&&R.accessLevel==="online"&&te.hostname.startsWith("ppe.preview")?t="630f400e5ecc44019564":R.supportLevel==="development"&&R.accessLevel==="online"?t="3e1dd7a2769cc245c17d":t="7f9273caa02d97194b28",`${z.githubOAuth}?client_id=${t}&scope=repo%20read:org%20workflow&redirect_uri=${encodeURIComponent(e.href)}`}var o3e=nxe.plugin(a6,CM),n3e={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.")}},i3e={doNotRetry:[429,409,404]};function W6(){let e=localStorage.getItem("gitHubToken");return e?JSON.parse(e):null}var r3e=()=>{localStorage.removeItem("gitHubToken"),location.href=Ixe()};async function K6(e){let t=new o3e({auth:e,retry:i3e,throttle:n3e});try{return(await t.users.getAuthenticated({headers:{"If-None-Match":""}})).data.login}catch(o){throw qM({message:S9},{label:A9,action:"",object:"",classes:["button-primary renew-github-token"]}),document.addEventListener("confirm",i=>r3e()),s3e({message:o.toString(),function:"getAuthenticatedUser"}),o}}async function Pxe(){let e={method:"GET"},t=await $(K(`${z.buildAuthAdmin}/opensource/link/github`,e,!0));return he(t),t.ok?await t.json():null}var UM=`pageInfo { endCursor hasNextPage hasPreviousPage startCursor }`,J6=`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 } ${UM} totalCount } head: headRef { name prefix repository { name nameWithOwner owner { login } } } isDraft merged mergedAt repository { name nameWithOwner owner { login } } state updatedAt url } }`,Z6=`rateLimit { cost limit nodeCount remaining resetAt used }`,MOt=`query Drafts ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${J6} ${UM} } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${Z6} }`,$Ot=`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, ${J6} ${UM} } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${Z6} }`,DOt=`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 ${J6} ${UM} } ${Z6} }`;function s3e(e){Se({actionType:Ee.OTHER,behavior:me.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",...e}})}We();Xp();var a3e=/https:\/\/github.com\/(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*\.[a-zA-Z]+)([?])?/;function Lxe(e,t=a3e){let o="",n="",i="",r="";try{let s=t.exec(e);s&&s.length>1&&(o=s[1]??""),s&&s.length>2&&(n=s[2]??""),s&&s.length>3&&(r=s[4]??""),s&&s.length>4&&(i=s[5]??"")}catch(s){qM(T9),Se({actionType:Ee.OTHER,behavior:me.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",message:s}})}return{owner:o,repo:n,path:i,branch:r}}async function X6(e){let t=await $(e,{credentials:"include",redirect:"follow"});if(!t.ok)throw new Error(`Unexpected response status ${t.status} for ${e}`);let o=await t.text(),i=new DOMParser().parseFromString(o,"text/html");return{url:new URL(t.url||e,location.origin),document:i}}function HM(e){return Array.from(e?.querySelectorAll("meta")??[]).reduce((t,o)=>{let n=(o.name||o?.getAttribute("property"))??"";return t[n]=o.content,t},{})}var e5={template:"",forkUrl:"",branch:"",path:"",repo:"",owner:"",originalContent:""};function Rxe(e){let t="",o="",n="",i="",r="",a=HM(e)?.original_content_git_url??"";({branch:i,path:r,repo:n,owner:o}=Lxe(a)),e5={template:"",forkUrl:"",branch:i,path:r,repo:n,owner:o,originalContent:a};let l=e.querySelector("a[data-contenteditbtn]");if(l){let c=l?.getAttribute("data-original_content_git_url_template")??"";if(c){let u=l?.getAttribute("data-pr_repo")??"",p=l?.getAttribute("data-pr_branch")??"";u&&p&&(t=c.replace("{repo}",u).replace("{branch}",p),[o,n]=(l?.getAttribute("data-pr_repo")??"")?.split("github.com/")?.pop()?.split("/")??["",""]);let m=c?.split("{branch}/")?.pop()??"";(l?.getAttribute("data-pr_branch")??"")&&(i=l?.getAttribute("data-pr_branch")??""),e5={template:c,forkUrl:t,branch:i,path:m,repo:n,owner:o,originalContent:a}}}return e5}function Mxe(e,t,o,n){return d``}function $xe(e,t){let o=C9,n=E9,i="",r=t.getAttribute("href")||"";switch(t.removeAttribute("href"),e){case 0:o=o.replace("{name}",Qp),n=n.replace("{name}",Qp).replace("{href}","https://learn.microsoft.com/en-us/contribute/");break;case 1:o=o.replace("{name}",Qp),n=n.replace("{name}",Qp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn");break;case 2:o=o.replace("{name}",Qp),n=n.replace("{name}",Qp).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),i=w9;break;case 3:o=o.replace("{name}",i0),n=n.replace("{name}",i0).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),r=l3e().toString();break}return{title:o,description:n,link:r,moreInfo:i}}function l3e(){let e=HM(document),t=e.platform_id||"",o=e.monikers??"",{owner:n,repo:i,branch:r,path:s}=Rxe(document);return OM(`${n}/${i}/${encodeURIComponent(s)}/${encodeURIComponent(r)}${t?`/${t}/${o??""}`:""}`)}We();var Zg=class e extends Error{constructor(t,o,{errorCode:n,message:i},...r){super(...r),Object.setPrototypeOf(this,e.prototype),this.type=t,this.name=this.constructor.name,this.status=o,this.errorCode=n,this.message=i,this.detail={assessmentId:null,certificationUid:null,snapshotId:null}}};function Iw(){let e="false";if(["AppliedSkills","AppliedSkillsAssessment","AppliedSkillsAssessmentReport"].find(t=>t===b.data.pageTemplate))return ce()["skip-verification"];if(C.stayCurrentAllowParam||C.practiceAssessmentsAllowParam){let t=ce()["skip-verification"];t===void 0||t.length&&t.toLowerCase()==="false"?e="false":e="true"}return e}function Pw(){let e="live";if(C.stayCurrentAllowParam||C.practiceAssessmentsAllowParam){let t=ce()["snapshot-version"];t!==void 0&&t.toLowerCase()==="live"?e="live":e="preview"}return e}function Dxe(){let e="false";if(C.stayCurrentAllowParam||C.practiceAssessmentsAllowParam){let t=ce()["show-all-questions"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function zxe(){let{accommodationRequested:e}=ce();if(C.stayCurrentAllowParam){let t=ce()["accommodation-requested"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function Nxe(){let e=!1;if(C.stayCurrentAllowParam||C.practiceAssessmentsAllowParam){let t=ce()["omit-scoring"];t!==void 0&&t.toLowerCase()==="true"?e=!0:e=!1}return e}function as(e,t){return Math.round(Math.max(0,Math.min(1,e/t))*100)}var t5=class{constructor(t,o,n){let r=Lh(t,["id","isCorrect","questionnaireId","text","textHTML"]);this.id=r.id,this.createdAtUTC="0001-01-01T00:00:00",this.isCorrect=r.isCorrect,this.locale=n,this.questionId=o,this.questionnaireId=r.questionnaireId,this.text=r.text,this.textHtml=r.textHTML}},Lw=class{constructor(t,o,n){this.choices=vk(t.map(i=>new t5(i,o,n)))}},o5=class{constructor(t,o){let i=Lh(t,["activityLog","id","choices","choiceCount","questionnaireId","text","type"]),r=["createdAtUTC"],s=Lh(i.activityLog,r);this.id=i.id,this.createdAtUTC=s.createdAtUTC,this.choices=new Lw(i.choices,i.id,o).choices,this.choiceCount=i.choiceCount,this.locale=o,this.questionnaireId=i.questionnaireId,this.text=i.text,this.type=i.type,i.rationale&&(this.rationale=i.rationale),i.rationaleHTML&&(this.rationaleHtml=i.rationaleHTML),i.textHTML&&(this.textHtml=i.textHTML)}};var n5=class{constructor(t,o){let i=Lh(t,["correctChoice","question","userChoice"]),r=new o5(i.question,o);this.correctChoice=new Lw(i.correctChoice,r.id,o).choices,this.question=r,this.userChoice=new Lw(i.userChoice,r.id,o).choices}},BM=class{constructor(t,o){this.items=vk(t.map(n=>new n5(n,o)))}};var mHt=bt(),gHt=b.data.userLocale;function Zs(e){return JSON.parse(JSON.stringify(e))}function VM(e){let t=e&&e.skipVerification,o=e&&t?e.accomodationRequested??!1:!1,n=e&&t&&e.showAllQuestions;return{accomodationRequested:o,activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",createdBy:"user1",updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"user1",publishedAtUTC:"2022-01-01T00:00:00Z",publishedBy:"user1",publishedVersion:1},assessmentId:"1",assessmentType:"Renewal",assessmentVersion:1,branch:"Main",correctPercent:100,docsId:"docs1",endTime:"2022-01-01T00:00:00Z",expirationTime:"2022-01-01T00:00:00Z",id:1765,locale:"en-US",linkedContent:{id:1,assessmentType:"Renewal",activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",createdBy:"user1",publishedAtUTC:"2022-01-01T00:00:00Z",publishedBy:"user1",publishedVersion:1,updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"user1"},linkedContentCertificationExpirationDate:"2022-01-01T00:00:00Z",linkedContentCertificationPartOfStayCurrent:!0,linkedContentEligibleForRecertification:!0,linkedContentIconURL:"https://review.learn.microsoft.com/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",linkedContentId:"exam.ai-102",linkedContentName:"Content1",linkedContentSnapshotRetakeEligibleDate:"2022-01-01T00:00:00Z",linkedContentStudyGuide:{type:"studyguide",items:[{listId:"module",id:"learn.host-a-web-application-with-azure-web-apps",type:"module",data:{docId:"null",docVIId:"null",platformId:"null",pageKind:"module",pageType:"learn",eventUid:"null",rawUrl:"null",title:"Host a web application with Azure App Service",uid:"learn.host-a-web-application-with-azure-web-apps",url:"/training/modules/host-a-web-app-with-azure-app-service/",iconUrl:"/training/achievements/host-a-web-app-with-azure-app-service.svg",durationInMinutes:31,moduleCount:0,products:["azure","azure-app-service","azure-portal"],levels:["beginner"],roles:["developer","solution-architect","student"],childUids:["learn.host-a-web-application-with-azure-web-apps.1-introduction","learn.host-a-web-application-with-azure-web-apps.2-create-a-web-app-in-the-azure-portal","learn.host-a-web-application-with-azure-web-apps.3-exercise-create-a-web-app-in-the-azure-portal","learn.host-a-web-application-with-azure-web-apps.4-exercise-implement-a-web-application","learn.host-a-web-application-with-azure-web-apps.5-deploying-code-to-app-service","learn.host-a-web-application-with-azure-web-apps.6-exercise-deploy-your-code-to-app-service","learn.host-a-web-application-with-azure-web-apps.7-summary","learn.host-a-web-application-with-azure-web-apps.8"],completedChildUids:[],display_products:["Azure","Azure App Service","Azure Portal"],display_levels:["Beginner"],display_roles:["Developer","Solution Architect","Student"],remainingTime:31},lastModified:"0001-01-01T00:00:00+00:00"}],moduleCount:7,completedModuleCount:0,remainingDuration:324,totalDuration:324,totalItems:1},linkedContentTitle:"Content1",linkedContentType:"Exam",linkedContentURL:"http://review.learn.microsoft.com",sequence:1},manualId:"manual1",assessmentName:`${t?"Preview ":""} Session1`,passingPercent:50,questionnaires:[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",updatedAtUTC:"2024-02-01T00:00:00Z",publishedVersion:1},assessmentType:"Self",description:"Questionnaire A Description",groupId:"dc2c0287-a37d-49a0-bd42-9283acac7f61",id:91,locale:"en-us",name:"Optional Questionnaire A Name",questionsToPass:2,questionsToTake:4,questions:[{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Practice",choiceCount:3,choices:[{questionId:4916,id:20604,isCorrect:!0,questionnaireId:130,text:"`facetable`",textHTML:"facetable"},{questionId:4916,id:20605,isCorrect:!0,questionnaireId:130,text:"`filterable`",textHTML:"filterable"},{questionId:4916,id:20606,isCorrect:!1,questionnaireId:130,text:"`key`",textHTML:"key"}],id:4916,isRequired:!0,questionnaireId:130,manualId:"manual1",sequence:1,rationale:"`facetable` is typically used in a presentation of search results that includes a hit count by category.\n\n`Filterable` is referenced in `$filter` queries, and `key` is a unique identifier for documents within the index.\n\n[Index overview - Azure Cognitive Search | Microsoft Learn](https://learn.microsoft.com/azure/search/search-what-is-an-index)\n\n[Create an Azure Cognitive Search solution - Training | Microsoft Learn](https://learn.microsoft.com/training/modules/create-azure-cognitive-search-solution/)\n\n",rationaleHTML:`

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

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

    Index overview - Azure Cognitive Search | Microsoft Learn

    Create an Azure Cognitive Search solution - Training | Microsoft Learn

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

    You are building a solution that uses Azure AI Search.

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

    Which attribute should you assign to the field?

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

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

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

    Index overview - Azure Cognitive Search | Microsoft Learn

    Create an Azure Cognitive Search solution - Training | Microsoft Learn

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

    You are building a solution that uses Azure AI Search.

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

    Which attribute should you assign to the field?

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

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

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

    Index overview - Azure Cognitive Search | Microsoft Learn

    Create an Azure Cognitive Search solution - Training | Microsoft Learn

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

    You are building a solution that uses Azure AI Search.

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

    Which attribute should you assign to the field?

    `,type:"MultiSelect"},{activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",choiceCount:3,choices:[{questionId:4916,id:20610,isCorrect:!0,questionnaireId:12,text:"files (correct)",textHTML:"files (correct)"},{questionId:4916,id:20611,isCorrect:!1,questionnaireId:12,text:"objects",textHTML:"objects"},{questionId:4916,id:20612,isCorrect:!1,questionnaireId:12,text:"tables",textHTML:"tables"}],id:4917,isRequired:!0,questionnaireId:130,rationale:"First question rationale",sequence:1,text:"Second question",textHTML:"Second question",type:"SingleSelect"}],rationale:"Question Set 1 Rationale",rationaleHTML:"Question Set 1 Rationale HTML",sequence:1,text:"Question Set 1 Text",textHTML:"Question Set 1 Text HTML"}],title:"Questionnaire A",totalQuestionCount:2,totalQuestionSetCount:0}],questionsAnswered:2,questionsAnsweredCorrectly:1,questionsToPass:1,questionsToTake:2,questionTotal:2,result:{sessionId:1765,questionnaireSessions:[{questionnaireId:130,questionnaireVersion:100,responses:[{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4916,choiceId:20604},{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20610},{isCorrect:!1,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20611}],score:{questionnaireId:130,resultStatus:"Passed",questionsToTake:2,questionsToPass:1,questionsAnsweredCorrectly:1,actionItems:[{iconUrl:"string",description:"string",title:"string",type:"StudyMaterialModule",links:[{existed:"string",choiceOptions:[],scoreOptions:[],title:"string",url:"string",context:"string",priority:1,reportingCategory:"string",reportingSubCategory:"string",id:1234,assessmentType:"Practice"}],id:1234,assessmentType:"Practice"}],title:"string"}}],studyGuide:{type:"studyguide",totalItems:1,items:[{id:"studyguide.id",listId:"list.id",type:"module",data:{docId:"docId-string",docVIId:"docVIId-string",platformId:"platformId-string",pageKind:"module",pageType:"learn",title:"Study Guide Item Title",uid:"learn-test.control-azure-services-with-cli.1-introduction",iconUrl:"/learn/achievements/align-requirements-in-azure.svg",progress:.2,durationInMinutes:60,moduleCount:2,rawUrl:"https://review.learn.microsoft.com/en-us/test/learn/azure/align-requirements-in-azure/",url:"/learn/azure/align-requirements-in-azure/"},lastModified:"2024-01-15T00:00:00Z"}],moduleCount:6,completedModuleCount:4,remainingDuration:35,totalDuration:240},studyGuidesByFailedQuestionnaires:[{questionnaireId:130,questionnaireTitle:"string",studyGuides:[{id:"string",title:"string",durationInMinutes:120}]}]},startTime:"2022-01-01T00:00:00Z",status:"NotStarted",timer:60,userResponseUpdatedAt:"2022-01-01T00:00:00Z",userChoices:[{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T00:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4916,choiceId:20604},{isCorrect:!0,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20610},{isCorrect:!1,activityLog:{createdAtUTC:"2022-01-01T03:00:00Z",createdBy:"bill.gates",updatedAtUTC:"2022-01-01T03:00:00Z",updatedBy:"bill.gates"},questionnaireId:130,questionId:4917,choiceId:20611}],wasAssessmentVersionUpdated:!1,certificationPartOfStayCurrent:!1,eligibleForRecertification:!1}}function p3e(){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 Tu={createSession:async e=>VM(e),getSessionAnswerSummary:async()=>p3e(),getSessionResult:async()=>VM(),getPreviousAttemptsByParentId:async()=>[VM()],getRenewalEligibility:async()=>{},submitSession:async()=>VM()};var jHt=bt(),YHt=b.data.userLocale;var kv={getStatus(e){let t=`${z.achievements}/xp/${e}`;return $(K(t,{mode:"cors"},!0)).then(he).then(n=>{if(n.ok)return n.json();throw new jt(n)})},getAchievements(e,t){let o={locale:t},n=`${z.achievements}/user/${e}?${pe(o,!1)}`;return $(K(n,{mode:"cors"},!0)).then(he).then(r=>{if(r.ok)return r.json();throw new jt(r)})},redeemCode(e){let t={mode:"cors",method:"post",credentials:"include"},o=`${z.achievements}/redeem/${e}`,n={branch:R.supportLevel==="production"?"main":void 0},i=`${o}?${pe(n,!1)}`,r=K(i,t,!0);return fetch(r,t).then(he).then(s=>s.json())},requestCode(e,t,o){let n={achievementCategory:e,courseId:t,useCount:o};e===6&&C.learningPathIlt&&(n.courseId=void 0,n.learningPathId=t);let r=`${z.achievements}/code`,s={branch:R.supportLevel==="production"?"main":void 0},a=`${r}?${pe(s,!1)}`,l={mode:"cors",body:JSON.stringify(n),method:"put",credentials:"include"};return $(K(a,l,!0)).then(he).then(c=>c.json())}};We();function Fxe(e){let t=Math.floor(e.videoTimeSeconds),o=e.startTime===e.eventTime||e.startTime===void 0?0:an(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,n=e.freezeTimeAfterReplay??0,i=e.secondsNormalSpeedAfterReplay??0,r=e.secondsDiffSpeedAfterReplay??0,s=e.reStartTime!==void 0?an(e.eventTime-e.reStartTime)-n-i+r:e.startTime===e.eventTime||e.startTime===void 0?0:an(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,a=e.videoData.publicVideo.durationInMillisecond,l=an(a),c=t>0?Math.floor(t/l*100):0,u=Math.floor(o/l*100);Se({behavior:e.behaviorCode,actionType:Ee.OTHER,content:{vidnm:e.videoData.title,vidid:e.videoData.id,vidpct:c,vidpctwtchd:u,vidwt:t,viddur:l,vidtimeseconds:s,sessiontimeseconds:o,live:!1,parentpage:location.origin,containerName:"learnvideoplayer",currentCaptions:e.languageCaptions}})}function qxe(e,t,o,n,i){return e!==0&&t&&(o+=ee?re?r{n&&setTimeout(()=>{s(`${e} load timeout`)},n);let a=document.createElement("script");a.src=e,i&&a.setAttribute("data-callback","setupEnforcement"),a.async=!0,a.defer=!0,a.onload=r,t&&(a.integrity=t,a.crossOrigin="anonymous"),a.onerror=()=>{s(`Failed to load ${e}`)},(document.body||document.head).appendChild(a)}).then(()=>{if(o!==void 0){if(window[o]===void 0)throw new Error(`${e} loaded successfully but ${o} is undefined.`);return window[o]}})}var Hxe="2.3.11.2",hBt=`/static/third-party/azure-media-player/${Hxe}/azuremediaplayer.min.js`,bBt=`/static/third-party/azure-media-player/${Hxe}/azuremediaplayer.min.css`;var Iv,r5;function m3e(){let e=location.href,t="#time=";if(e.includes(t)){let o=e.substring(e.indexOf(t)+t.length);return G_(o)}return G_("0s")}function g3e(){if(!location.hash.startsWith("#time="))return;let e=Iv.paused(),t=m3e();t>0&&t{Iv!==void 0&&g3e()});function Rw(e){let t=new URL(e,location.origin),o=decodeURIComponent(t.pathname).toLowerCase().replace(WS,"$1").replace(sp,"/"),n=t.searchParams.get("view");if(n&&(t.search="",t.searchParams.set("view",n),o+=t.search),o.indexOf("/learn/challenges")!==-1||o.indexOf("/training/challenges")!==-1){let i=t.searchParams.get("id");i&&(t.search="",t.searchParams.set("id",i),o+=t.search)}return o}function Bxe(e){e.type!=="docs"&&e.type!=="qa"&&e.type!=="url"&&(e.type="docs"),e.type!=="url"&&e.data.url&&(e.data.url=Rw(e.data.url))}function xi(e){e.items?.forEach(Bxe),e.sections?.forEach(t=>t.items?.forEach(Bxe))}var mt={baseUrl:z.lists,async getAllLists(e=!1){let t=K(`${this.baseUrl}${e?`?${pe({ignoreEmptyLists:!0})}`:""}`,{}),o=await $(t);if(he(o),o.ok){let n=await o.json();return n.forEach(xi),n}throw o.status===401?new Ge(o,"UnauthorizedError"):new Ge(o,"UnexpectedError")},async getAllListsByUrl(e){let t=[];e.forEach(r=>{t.push(Rw(r))});let o=JSON.stringify(t),n=K(`${this.baseUrl}/by-url`,{method:"POST",body:o}),i=await $(n);if(he(i),i.ok)return{hasError:!1,data:await i.json()};throw new Ge(i,"UnexpectedError")},async getList(e){let t={locale:b.data.userLocale,useNewFlow:!0},o=`${this.baseUrl}/${e}?${pe(t)}`,n=K(o,{},!0),i=await $(n);if(he(i),i.ok){let r=await i.json();return xi(r),{hasError:!1,data:r}}throw i.status===401?new Ge(i,"UnauthorizedError"):i.status===404?new Ge(i,"NotFoundError"):i.status===403?new Ge(i,"ForbiddenError"):new Ge(i,"UnexpectedError")},async getStudyGuideList(e,t,o=ce().apiBranchParam){let n={locale:b.data.userLocale,branch:R.supportLevel==="production"&&R.reviewFeatures?o:null},i={credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":void 0},r=`${this.baseUrl}/studyguide/${e}/${t}?${pe(n)}`,s=K(r,i,!0),a=await $(s);if(he(a),a.ok){let l=await a.json();return xi(l),l}throw a.status===404?new Ge(a,"NotFoundError"):new Ge(a,"UnexpectedError")},async createList(e){let t=JSON.stringify(e),o=K(this.baseUrl,{method:"POST",body:t},!0),n=await $(o);if(he(n),n.ok)return{hasError:!1,data:await n.json()};if(n.status===400)return{hasError:!0,error:await n.json()};throw n.status===401?new Ge(n,"UnauthorizedError"):new Ge(n,"UnexpectedError")},async deleteList(e){let t=K(this.baseUrl+"/"+e,{method:"DELETE"},!0),o=await $(t);if(he(o),o.ok)return{hasError:!1,data:void 0};throw new Ge(o,"UnexpectedError")},async copyList(e,t,o){let n=JSON.stringify({name:t,description:o}),i=K(`${this.baseUrl}/copy/${e}`,{method:"POST",body:n},!0),r=await $(i);if(he(r),r.ok){let s=await r.json();return xi(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Ge(r,"UnexpectedError")},async submitForLocalize(e){let o=K(`${this.baseUrl}/${e}/localize`,{method:"PATCH",body:"true"},!0),n=await $(o);if(he(n),n.ok){let i=await n.json();return xi(i),{hasError:!1,data:i}}if(n.status===400)return{hasError:!0,error:await n.json()};throw new Ge(n,"UnexpectedError")},async convertList(e){let o=K(`${this.baseUrl}/${e}/official`,{method:"PATCH",body:"true"},!0),n=await $(o);if(he(n),n.ok){let i=await n.json();return xi(i),{hasError:!1,data:i}}if(n.status===400)return{hasError:!0,error:await n.json()};throw new Ge(n,"UnexpectedError")},async toggleListPrivacy(e,t){let o=t.toString(),n=K(`${this.baseUrl}/${e}/private`,{method:"PATCH",body:o},!0),i=await $(n);if(he(i),i.ok){let r=await i.json();return xi(r),{hasError:!1,data:r}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Ge(i,"UnexpectedError")},async toggleShowUserDisplayName(e,t){let o=t.toString(),n=K(`${this.baseUrl}/${e}/showuserdisplayname`,{method:"PATCH",body:o},!0),i=await $(n);if(he(i),i.ok){let r=await i.json();return xi(r),{hasError:!1,data:r}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Ge(i,"UnexpectedError")},async updateListMetadata(e,t){let o=JSON.stringify({name:t.name,description:t.description}),n={useNewFlow:!0},i=K(`${this.baseUrl}/${e}?${pe(n)}`,{method:"PATCH",body:o},!0),r=await $(i);if(he(r),r.ok){let s=await r.json();return xi(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Ge(r,"UnexpectedError")},async sortList(e,t){let o={locale:b.data.userLocale},n=`${this.baseUrl}/${e}?${pe(o)}`,i=JSON.stringify(t),r=K(n,{method:"PUT",body:i},!0),s=await $(r);if(he(s),s.ok){let a=await s.json();return xi(a),{hasError:!1,data:a}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Ge(s,"UnexpectedError")},async addItem(e,t){let o=JSON.stringify(t),n=K(this.baseUrl+"/"+e,{method:"POST",body:o},!0),i=await $(n);if(he(i),i.ok)return{hasError:!1,data:await i.json()};if(i.status===400||i.status===403)return{hasError:!0,error:await i.json()};throw new Ge(i,"UnexpectedError")},async deleteItem(e,t){let o=K(this.baseUrl+"/"+e+"/"+t,{method:"DELETE"},!0),n=await $(o);if(he(n),!(n.ok||n.status===204))throw new Ge(n,"UnexpectedError")},async updateItem(e,t,o){let n=JSON.stringify(o),i=K(`${this.baseUrl}/${e}/${t}`,{method:"PUT",body:n},!0),r=await $(i);if(he(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 Ge(r,"UnexpectedError")},async getListsItems(e){let t={uid:e.join(","),locale:b.data.userLocale},o=K(`${this.baseUrl}/items/?${pe(t)}`,{}),n=await $(o);if(he(n),n.ok)return(await n.json()).items;throw new Ge(n,"UnexpectedError")},async createSection(e,t,o,n){let i=JSON.stringify({name:t,description:o,daysToComplete:n}),r=K(`${this.baseUrl}/${e}/section`,{method:"POST",body:i},!0),s=await $(r);if(he(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw new Ge(s,"UnexpectedError")},async updateSection(e,t,o,n,i){let r=JSON.stringify({name:o,description:n,daysToComplete:i}),s=K(`${this.baseUrl}/${e}/section/${t}`,{method:"PATCH",body:r},!0),a=await $(s);if(he(a),a.ok)return{hasError:!1,data:await a.json()};if(a.status===400)return{hasError:!0,error:await a.json()};throw new Ge(a,"UnexpectedError")},async deleteSection(e,t){let o=K(`${this.baseUrl}/${e}/section/${t}`,{method:"DELETE"},!0),n=await $(o);if(he(n),n.ok)return{hasError:!1,data:await n.json()};if(n.status===400)return{hasError:!0,error:await n.json()};throw new Ge(n,"UnexpectedError")},async getActiveTakedowns(e){if(e===null)return!1;let t=K(`${this.baseUrl}/takedown/active/${e}`,{method:"GET"},!1),o=await $(t);return o.ok?(await o.json()).hasContentTakedowns:!1},async getReportStatus(e){if(e===null)return"None";let t=K(`${this.baseUrl}/report/status/${e}`,{method:"GET"},!1),o=await $(t);return o.ok?await o.json():"Unknown"}};async function Pv(e=H.document,t=!1){let o;if(typeof e=="string")if(!t&&new URL(it(e,b.data.userLocale),H.location.origin).href===H.location.href)e=H.document,o=new URL(H.location.href);else{let c=await X6(e);o=c.url,e=c.document}else o=new URL(e.URL);let n=ik(e),i=()=>n.page_type==="show"&&n.type?n.type:n.page_kind||"",r=new RegExp(`^/${b.data.userLocale}/answers[$/]`,"i"),s;o.pathname.match(r)?s="qa":s="docs";let a=o.toString(),l=null;return(o.pathname.indexOf("/learn/challenges")!==-1||o.pathname.indexOf("/training/challenges")!==-1)&&(l=ui().id),{type:s,data:{url:Rw(a),rawUrl:a,title:n["og:title"]||e.title,docId:n.document_id||"",docVIId:n.document_version_independent_id||"",platformId:n.platform_id||"",pageType:n.page_type||"",pageKind:i(),uid:n.uid||"",challengeId:l,eventUid:n.eventUid||"",durationInMillisecond:r5||null,showId:n.showId||""}}}function Vxe(e,t){return{type:"url",data:{url:e,rawUrl:"",title:t,docId:"",docVIId:"",platformId:"",pageType:"",pageKind:"",uid:"",challengeId:"",eventUid:"",durationInMillisecond:null,showId:""}}}var oi={async getSkillingPlan(e){let t={locale:b.data.userLocale},o=`${z.lists}/skillingPlan/${e}?${pe(t)}`,i=K(o,{method:"GET"}),r=await $(i);if(he(r),r.ok){let s=await r.json();return await _p(s),s}throw new Error(`${r.status}: ${r.statusText}`)},async completeSkillingPlan(e){let t=`${z.lists}/completeSkillingPlan`,n={method:"POST",body:JSON.stringify(e)},i=await $(K(t,n));if(he(i),i.ok){let r=await i.json();return await _p(r),{hasError:!1,data:r}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async createSkillingPlan(e){let t=`${z.lists}/skillingPlan`,n={method:"POST",body:JSON.stringify(e)},i=await $(K(t,n));if(he(i),i.ok){let r=await i.json();return await _p(r),{hasError:!1,data:r}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async updateSkillingPlan(e,t){let o=`${z.lists}/skillingPlan/${e}`,i={method:"PUT",body:JSON.stringify(t)},r=await $(K(o,i));if(he(r),r.ok){let s=await r.json();return await _p(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async modifySkillingPlan(e,t){let o=`${z.lists}/skillingPlan/${e}`,i={method:"PATCH",body:JSON.stringify(t)},r=await $(K(o,i));if(he(r),r.ok){let s=await r.json();return await _p(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async modifyPlanList(e,t){let o=`${z.lists}/skillingPlan/${e}/list`,i={method:"PATCH",body:JSON.stringify(t)},r=await $(K(o,i));if(he(r),r.ok){let s=await r.json();return await _p(s),{hasError:!1,data:s}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async deleteSkillingPlan(e){let t=`${z.lists}/skillingPlan/${e}`,n=await $(K(t,{method:"DELETE"}));if(he(n),!n.ok)throw new Error(`${n.status}: ${n.statusText}`)},async getJoinedSkillingPlans(e=0,t=12,o){let n=`${z.lists}/skillingPlan/joined/${o}?${pe({page:e+1,pageSize:t})}`,i=K(n,{},!0),r=await $(i);if(he(r),r.ok)return await r.json();throw new Error(`${r.status}:${r.statusText}`)},async getCreatedSkillingPlans(e=0,t=12){let o=t===-1?"":"?"+pe({page:e+1,pageSize:t}),n=`${z.lists}/skillingPlan/created${o}`,i=K(n,{},!0),r=await $(i);if(he(r),r.ok)return await r.json();throw new Error(`${r.status}:${r.statusText}`)},async joinSkillingPlan(e){let o=ce(location.search).learnerGroupId,n=`${z.lists}/skillingPlan/${e}/join?${pe({registrationType:1,learnerGroupId:o||""})}`,i=K(n,{method:"POST"},!0,!1),r=await $(i);if(he(r),r.ok){let s=await r.json();return _p(s),{hasError:!1,data:s}}throw new Error(`${r.status}:${r.statusText}`)},async leaveSkillingPlan(e){let t=`${z.lists}/skillingPlan/${e}/leave`,o=K(t,{method:"POST"},!0,!1),n=await $(o);if(he(n),n.ok){let i=await n.json();return _p(i),{hasError:!1,data:i}}throw new Error(`${n.status}:${n.statusText}`)},async trackClick(e,t){let o=`${z.lists}/skillingPlan/${e}/trackClick/${t}`,n=K(o,{method:"POST"},!0,!1),i=await $(n);if(he(i),i.ok)return{};throw new Error(`${i.status}:${i.statusText}`)},async getPlanStatistics(e){let t=`${z.lists}/skillingPlan/${e}/statistics`,o=K(t,{},!0),n=await $(o);if(he(n),n.ok)return await n.json();throw new Error(`${n.status}:${n.statusText}`)},async createLearnerGroup(e,t,o=""){let n=`${z.lists}/skillingPlan/${e}/learnerGroup`,r={method:"POST",body:JSON.stringify({name:t,description:o})},s=await $(K(n,r));if(he(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}:${s.statusText}`)},async updateLearnerGroup(e,t,o,n=""){let i=`${z.lists}/skillingPlan/${e}/learnerGroup/${t}`,s={method:"PATCH",body:JSON.stringify({name:o,description:n})},a=await $(K(i,s));return he(a),a.ok?{hasError:!1,data:await a.json()}:{hasError:!0,error:await a.json()}},async deleteLearnerGroup(e,t){let o=`${z.lists}/skillingPlan/${e}/learnerGroup/${t}`,i=await $(K(o,{method:"DELETE"}));return he(i),i.ok?{hasError:!1}:{hasError:!0,error:await i.json()}}};async function _p(e){e.lastModified&&(e.publishedOn=e.lastModified),xi(e.contentList)}function f3e(e){return e.type==="bookmarks"&&(e.name=OE),e}var Mw=null;async function Qxe(e=()=>!0,t=!1){if(!Mw)try{Mw=(await mt.getAllLists(t)).map(f3e)}catch{Mw=null}return Mw?.filter(e)??null}async function jxe(){return w.isAuthenticated===!1?[]:(await oi.getCreatedSkillingPlans(0,-1)).skillingPlans}function Yxe(e){return Mw=null,mt.createList(e)}async function GM(){let e=Zo()||"",t=await im(e),o=["MicrosoftEmployee","MicrosoftAgencyTemporary","MicrosoftVendor","MicrosoftIntern"];return t?t.affiliations.some(n=>o.includes(n)):!1}function h3e(e,t=!1){switch(e){case"MicrosoftEmployee":return P9;case"MicrosoftAgencyTemporary":case"MicrosoftVendor":return L9;case"MicrosoftIntern":return R9;case"RegionalDirector":return M9;case"Mvp":return t?lae:I9;case"StudentAmbassador":return t?cae:$9;default:return""}}function QM(e){let t=e?e[0]:"";return h3e(t)}function s5(e,t){e=decodeURIComponent(e);let o=Er(e,t.target),n=d``,i=d``;if(o){let r=document.createElement("div");x(i,r),new we(r).show()}}async function Wxe(e){if(!R.reviewFeatures)return;let t=Array.from(e.querySelectorAll("[data-contenteditbtn] a, a[data-contenteditbtn]"));for(let o of t){je("edit-in-editor",{require:!0})||(o.hidden=!1);let n=o.dataset.original_content_git_url,i=o.dataset.original_content_git_url_template,r=o.dataset.pr_repo,s=o.dataset.pr_branch;i&&i.length&&r&&r.length&&s&&s.length?o.setAttribute("href",i.replace("{repo}",r).replace("{branch}",s)):n&&n.length&&o.setAttribute("href",n)}_3e(t)}async function b3e(e){let t=document.createElement("div");t.classList.add("modal-content");let o=new we(t);return x(e,t),o.show()}async function _3e(e){if(!je("edit-in-editor",{require:!0}))return;console.log("edit-in-editor flag running.");let t=await v3e();for(let o of e){let{title:n,description:i,link:r,moreInfo:s}=$xe(t,o);o.addEventListener("click",function(a){a.preventDefault(),b3e(Mxe(n,i,r,s))}),o.hidden=!1}}async function v3e(){if(!w.isAuthenticated||!await GM())return 0;if(!y3e())return 1;let e=W6();return await x3e(e)?3:2}function y3e(){let e=ik(document);return e?.original_content_git_url?e?.original_content_git_url?.endsWith(".md"):!1}async function x3e(e){if(!e)return!1;let t=e?await K6(e.access_token):null,o=await Pxe();return t&&o&&o.login&&o.login.toLowerCase()===t.toLowerCase()}async function Kxe(e){let t={method:"POST",body:e,credentials:"same-origin"},o=new Request(z.siteFeedback,t),n=await $(o);if(!n.ok)throw new Error(`Error fetching ${o.url}`);return n}var T3e=["jpeg","jpg","png","gif"],S3e=1024*1024*5;function Jxe(e){let t=[];return Array.from(e).forEach(o=>{(o.type.split("/")[0]!=="image"||T3e.indexOf(o.type.split("/")[1])===-1)&&t.push(Ase.replace("{fileName}",o.name)),o.size>=S3e&&t.push(kse.replace("{fileName}",o.name))}),t}k();k();var go={"functionality-other":$J,"learn-content-other":zJ,"feature-request":MJ,"category-general":DJ,"tutorial-content-quality":IJ,"learn-credit-problem":FJ,"sandbox-problem":UJ,"registration-problem":OJ,"problem-with-cloudshell":EJ,"problem-with-install":kJ,"problem-with-dotnet-editor":AJ,"content-mistake":RJ,"content-question":NJ,"translation-quality":HJ,"category-other":qJ},w3e=[{icon:"docon-developer-tools",value:"Microsoft Learn/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Microsoft Learn/Customer Feedback/Engineering/Gamification",text:go["learn-credit-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Interactivity",text:go["sandbox-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering/Profile",text:go["registration-problem"]},{value:"Microsoft Learn/Customer Feedback/Engineering",text:go["category-other"]}],text:go["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:go["content-mistake"]},{value:"Microsoft Learn/Customer Feedback/Content/{{REPO-AREA}}",text:go["content-question"]},{value:"Microsoft Learn/Customer Feedback/Localization/{{REPO-AREA}}",text:go["translation-quality"]},{value:"Microsoft Learn/Customer Feedback/Content",text:go["category-other"]}],text:go["learn-content-other"]},{icon:"docon-web-components",value:"Microsoft Learn/Customer Feedback/Engineering/Experience",text:go["feature-request"]},{icon:"docon-feedback",value:"Microsoft Learn/Customer Feedback",text:go["category-general"]}],C3e={type:"reportIssue",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:w3e},E3e=[{icon:"docon-developer-tools",value:"Tutorial Feedback/Customer Feedback/Engineering",id:"feedback-report-category-product",subCategories:[{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:go["problem-with-cloudshell"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:go["problem-with-install"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Interactivity",text:go["problem-with-dotnet-editor"]},{value:"Tutorial Feedback/Customer Feedback/Engineering/Profile",text:go["registration-problem"]},{value:"Tutorial Feedback/Customer Feedback/Engineering",text:go["category-other"]}],text:go["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:go["content-mistake"]},{value:"Tutorial Feedback/Customer Feedback/Content/{{REPO-AREA}}",text:go["content-question"]},{value:"Tutorial Feedback/Customer Feedback/Localization/{{REPO-AREA}}",text:go["translation-quality"]},{value:"Tutorial Feedback/Customer Feedback/Content",text:go["category-other"]}],text:go["tutorial-content-quality"]},{icon:"docon-web-components",value:"Tutorial Feedback/Customer Feedback/Engineering/Experience",text:go["feature-request"]},{icon:"docon-feedback",value:"Tutorial Feedback/Customer Feedback",text:go["category-general"]}],A3e={type:"tutorialFeedback",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:E3e};function Zxe(e,t){let o=k3e(t),n=I3e(o);x(n,e)}function k3e(e){return e==="reportIssue"?C3e:A3e}function I3e(e){return d`

    ${TJ}

    ${VJ}
    ${e.categories.map(t=>d``)}
    ${e.categories.filter(t=>t.subCategories!==void 0).map(t=>d``)}
    `}var a5=!1;ut.subscribe(bo,()=>{u5("reportIssue")});var Xxe=e=>{e.disabled=!1,e.classList.remove("is-loading")},c5=e=>e.querySelector("input:checked"),P3e=(e,t)=>{let o=!1,n=e!=null&&"subCategory"in e.dataset&&e.dataset.subCategory||null;for(let i in t){let r=n!==i,s=t[i].closest("div.field");t[i].disabled=r,s.hidden=r;let a=Array.from(s.querySelectorAll(".radio"));r?a.forEach(l=>{l.querySelector("input").removeAttribute("required")}):(o=!0,a.forEach(l=>{l.querySelector("input").setAttribute("required","")}))}return o},eTe=e=>e.dispatchEvent(new CustomEvent("opened",{bubbles:!1})),L3e=(e,t,o)=>{P3e(e,t)||eTe(o)},R3e=e=>{Array.from(e.querySelectorAll("[id^='feedback-report-category-'] .radio")).forEach(o=>{o.querySelector("input").setAttribute("required","")}),eTe(e)},M3e=e=>{e.hidden=!1},$3e=e=>{let t=e.target;if(!t.files||t.files.length===0)return;let o=document.querySelector("#attachment-validation"),n=Jxe(t.files),i=t.parentElement.querySelector("#feedback-report-attachment-file-name");if(n.length){let s=n.map(a=>d`

    ${a}

    `);x(d`${s}`,o),o.hidden=!1,x(d``,i);return}let r=Array.from(t.files).map(s=>s.name).join(", ");x(d`${r}`,i),x(d``,o),o.hidden=!0},D3e=e=>{e.disabled=!0,e.classList.add("is-loading")},l5=e=>e.hidden=!0,z3e=()=>{let e=document.getElementById("feedback-report-category"),t=c5(e),o=t.value,n=t.parentElement.textContent.trim();return{value:o,text:n}},N3e=e=>{let t=document.getElementById("feedback-report-category"),o=c5(t);if(o===null||!o.dataset.subCategory)return{valueSub:null,textSub:null};let i=Array.from(e[o.dataset.subCategory].querySelectorAll(".radio input")).filter(a=>a.checked)[0],r=i.value,s=i.parentElement.textContent.trim();return{valueSub:r,textSub:s}},F3e=e=>new FormData(e),tTe=e=>e.hidden=!1,q3e=(e,t,o,n)=>{e.classList.remove("is-hidden"),n.classList.add("is-hidden"),t.classList.add("is-hidden"),o.classList.add("is-hidden")},oTe=(e,t)=>{let o=e.querySelector("#feedback-report-attachment-file-name");document.getElementById("feedback-report-category-product").setAttribute("value",""),document.getElementById("feedback-report-category-content").setAttribute("value",""),e.category.value="",e.summary.value="",e.description.value="",e.attachment.value="",e.reset(),Array.from(e.querySelectorAll(".radio")).forEach(i=>{let r=i.querySelector("input");r.setAttribute("required",""),r.checked=!1});for(let i in t){let r=t[i].closest("div.field"),s=e.querySelector("#feedback-form-info");r.hidden=!0,s.hidden=!0}x(d``,o)},O3e=async(e,t,{successMessage:o})=>{let{value:n,text:i}=z3e(),{valueSub:r,textSub:s}=N3e(t);e.feedbackCategory&&(e.feedbackCategory.value=i),e.category.value=r||n,e.issueType&&(e.issueType.value=s),R.reviewFeatures&&(e.summary.value=`[TEST] ${e.summary.value}`),Kxe(F3e(e)),tTe(o),oTe(e,t)},U3e=(e,t,o,n,{successMessage:i})=>{e.classList.add("is-hidden"),l5(i),n.classList.remove("is-hidden"),t.classList.remove("is-hidden"),t.disabled=!0,o.classList.remove("is-hidden")};async function u5(e,t,o=!1){let n=document.querySelector(".feedback-report");if((!C.feedbackReport||!n)&&!o)return;Zxe(n,e);let i=document.querySelector("#feedback-report-form");if(i===null||a5)return;a5=!0,Ag(()=>{a5=!1});let r=i.querySelector("#feedback-report-error-message"),s=i.querySelector("#feedback-report-category"),a={"feedback-report-category-product":i.querySelector("#feedback-report-category-product"),"feedback-report-category-content":i.querySelector("#feedback-report-category-content")},l=i.querySelector("#feedback-report-attachment"),c=i.querySelector("fieldset:nth-of-type(2)"),u=i.querySelector("button[type=submit]"),p=i.querySelector("#feedback-report-success-message"),m=i.querySelector("#feedback-report-feedbackTitle"),g=i.querySelector("#feedback-report-description"),f=i.querySelector("#submit-another-feedback-button"),_=i.querySelector("#clear-form-button"),h=i.querySelector("#feedback-type-selection");i.contentLocale.value=b.data.contentLocale,i.userLocale.value=b.data.userLocale,i.jsllImpressionGuid.value="";let y=dr.get("ai_session");i.aiSessionId.value=y!==void 0?y.split("|")[0]:"";let{uid:v,documentId:T,versionIndependentDocumentId:I,platformId:A,contentPath:O,url:D,author:le}=ce(t);i.uid.value=v,i.documentId.value=T,i.versionIndependentDocumentId.value=I,i.platformId.value=A,i.contentPath.value=O,i.url.value=D,i.author.value=le;let ye=()=>{if(!i.checkValidity()){u.disabled=!0;return}Xxe(u)};Ut(s,"change",()=>{let Le=c5(s);Le?Le.dispatchEvent(new CustomEvent("selected")):Le=null}),Ut(m,"input",()=>{ye()}),Ut(g,"input",()=>{ye()});let J=Array.from(s.querySelectorAll("input"));Array.from(J).forEach(Le=>Ut(Le,"selected",()=>L3e(Le,a,i))),Object.keys(a).forEach(Le=>Ut(a[Le],"change",()=>{R3e(i)})),Ut(i,"opened",()=>M3e(c)),Ut(l,"change",$3e),Ut(i,"submit",async Le=>{if(Le.preventDefault(),!u.disabled){D3e(u),l5(r),l5(p);try{await O3e(i,a,{successMessage:p}),q3e(f,u,_,h)}catch{tTe(r)}Xxe(u)}}),Ut(_,"click",()=>{oTe(i,a)}),Ut(f,"click",()=>{U3e(f,u,_,h,{successMessage:p})})}k();k();var H3e={"01-yes-content-easy":GJ,"02-yes-problem-solved":YJ,"03-yes-information-easy":KJ,"04-yes-learned-smth-new":WJ,...b.data.userLocale!=="en-us"?{"05-yes-localization":uN}:{},"00-yes-other":pa},B3e={"01-no-content-hard":QJ,"02-no-example-problem":lZ,"03-no-discovery-issue":jJ,"04-no-outdated-content":JJ,...b.data.userLocale!=="en-us"?{"05-no-localization":uN}:{},"00-no-other":pa},rTe={"ask-the-community":k7,"get-product-support":kZ,"get-help-at-qna":AZ};function sTe(){let e=C.usingStandardFeedback||C.openSourceFeedback;return d``}function nTe(){return!!(b.data.feedbackHelpLinkType&&b.data.feedbackHelpLinkType in rTe&&b.data.feedbackHelpLinkUrl)}function aTe(){return d`

    ${yae}

    ${vse}

    `}function d5(e,t,o,n,i){return d``}function iTe(e,t){let o=[];for(let n in e)o.push(d``);return o}function lTe(){window.addEventListener("form-validating",e=>{e.detail.errors?.length>=0&&(p5(e.detail.form,e.detail.errors),V3e(e.detail.form,e.detail.errors))}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;Lv(t)})}function p5(e,t){let o=e.querySelector(".checkbox-group.required:not([hidden])");if(!o)return;let n=o.querySelectorAll('input[type="checkbox"]');if(!n)return;if(o.querySelectorAll('input[type="checkbox"]:checked').length<1){o.classList.add("errored"),n.forEach(l=>l.closest(".checkbox")?.classList.add("is-invalid"));let r=ex,s=o.querySelector('input[type="checkbox"]');Vi(s,r),cTe(t,s,r);let a=`${gn} ${_Z}`;pt(a,"assertive")}}function V3e(e,t){let o=e.querySelector(".choice-selection.required");if(!o)return;let n=o.querySelectorAll(".thumb-rating-button");if(!n)return;if(!o.querySelector(".thumb-rating-button.button-selected")){o.classList.add("errored"),n.forEach(a=>{a.classList.add("button-danger"),a.querySelector(".icon")?.classList.add("color-danger")});let r=jf;Vi(n[0],r),cTe(t,n[0],r);let s=`${gn} ${vZ}`;pt(s,"assertive")}}function cTe(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function Lv(e){let t,o,n=e.closest("form");n&&(e instanceof HTMLInputElement?t=e.closest(".suggestions-list.errored"):e instanceof HTMLButtonElement&&(t=n.querySelector(".suggestions-list.errored"),o=n.querySelector(".choice-selection.errored")),!(!t&&!o)&&(t&&(t.classList.remove("errored"),t.querySelectorAll('input[type="checkbox"]').forEach(a=>a.closest(".checkbox").classList.remove("is-invalid")),n.querySelector("[data-feedback-suggestions] .field-error")?.remove(),n.querySelector("[module-assessment-ai-feedback-suggestions] .field-error")?.remove()),o&&(o.classList.remove("errored"),o.querySelectorAll(".thumb-rating-button").forEach(a=>{a.classList.remove("button-danger"),a.querySelector(".icon")?.classList.remove("color-danger")}),n.querySelector("[data-feedback-rating] .field-error")?.remove(),n.querySelector("[module-assessment-ai-feedback-rating] .field-error")?.remove())))}function G3e(e){return e.querySelector("[data-feedback-suggestions]")}function jM(e){let t=G3e(e)?.querySelectorAll(".suggestions-list:not([hidden]) .checkbox > input:checked")??[];return Array.from(t)}var YM=!1;function WM(){let e=location.pathname;return b.data.pageTemplate==="ModuleUnit"?e.substring(0,e.lastIndexOf("/")+1):e}async function KM(e){let t=document.getElementById("user-feedback"),o=document.getElementById("site-user-feedback-footer");if(e==="ModuleUnit"&&(YM=!1),!t&&!o)return;if(b.data.isArchived){let i=document.querySelector("[data-hide-on-archived]");i&&(i.hidden=!0);return}j3e(),uTe(),Q3e(),lTe(),e4e();let n=Y3e();J3e(n,e==="Module"||e==="ModuleUnit"?"training-feedback":"standard-feedback"),await K3e(n)}function uTe(e=localStorage){let t=e.getItem(`binary-rating-${WM()}`);t!=="rating-yes"&&t!=="rating-no"||($w(t),Xg(t))}function $w(e,t=Array.from(document.querySelectorAll("[data-binary-rating-response]"))){if(!YM)for(let o of t){let n=o.dataset.binaryRatingResponse===e;o.classList[n?"add":"remove"]("button-selected"),o.classList.contains("link-button")||o.classList[n?"add":"remove"]("is-selected"),o.setAttribute("aria-pressed",n?"true":"false")}}function Q3e(){let e=t=>{if(!(t.target instanceof HTMLElement&&t.target.closest("[data-user-feedback-button]")))return;let n=localStorage.getItem(`binary-rating-${WM()}`);!n||n!=="rating-no"&&n!=="rating-yes"||($w(n),Xg(n))};window.addEventListener("click",e)}function j3e(){let e=t=>{let o=t.target instanceof HTMLElement&&t.target.closest("[data-binary-rating-response]");if(!o)return;let n=o.dataset.binaryRatingResponse;n!=="rating-no"&&n!=="rating-yes"||(o.classList.contains("button-selected")||Lv(o),$w(n),Xg(n),YM||localStorage.setItem(`binary-rating-${WM()}`,n))};window.addEventListener("click",e)}function Y3e(){let e=document.createElement("div"),t=sTe();return x(t,e),uTe(),new we(e)}async function W3e(){let[e,t,o,n]=await Promise.all([Di("ask-learn-on-articles"),Di("ask-learn-on-reference"),Di("ask-learn"),Te.then(()=>w.isAuthenticated)]);return je("ask-learn-popover",{require:!0})?{enabled:!0,userAuthenticated:n}:je("disable-ask-learn-popover",{require:!0})?{enabled:!1,userAuthenticated:n}:{enabled:e||t||o,userAuthenticated:n}}async function K3e(e){let t=Array.from(document.querySelectorAll("[data-binary-rating-response]")),o=document.getElementById("user-feedback-button");o&&o.addEventListener("click",()=>e.show());let i=Array.from(t.filter(l=>l.dataset.binaryRatingResponse==="rating-yes")).length>0,{enabled:r,userAuthenticated:s}=await W3e(),a=b.data.userLocale.substring(0,2).toLocaleLowerCase()==="en";if(r&&s&&a&&i){t.forEach(c=>c.addEventListener("click",()=>{c.dataset.binaryRatingResponse==="rating-yes"&&e.show();let u=localStorage.getItem(`binary-rating-${WM()}`);u&&($w(u),Xg(u))})),window.addEventListener("click",async c=>{let p=c.target.closest("[data-bi-name]");if(!p)return;let m=p.dataset.biName;X3e(c),m==="feedback-suggest"?(e.show(),$w("rating-no"),Xg("rating-no")):m==="ask-learn-assistant-entry-troubleshoot"&&Bn&&(await Bn.initialized,Bn.responseCount&&Bn.responseCount>=Bn.maxMessages&&Bn.reset(),Bn.submitWithPrompt("/troubleshoot"),Bn.getActiveTextArea()?.focus())});let l=Array.from(document.querySelectorAll(RR+","+MR));r&&(t4e(),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 J3e(e,t="standard-feedback"){window.addEventListener("submit",o=>{let n=o.target instanceof HTMLElement&&o.target.closest("[data-feedback-verbatim-form]");if(!n||(o.preventDefault(),n.querySelector(".errored")))return;Z3e(o,n,t),YM=!0;let i=document.createElement("div");i.classList.add("modal-slide"),x(aTe(),i),e.updateContent(i,!1,!1)})}function Z3e(e,t,o){if(!e)return;let n=jM(t),i=t.querySelector("#user-feedback-textarea"),r=i?i.value:"",s=t.querySelector(".thumb-rating-button.button-selected"),a=s&&s.dataset.binaryRatingResponse==="rating-yes"?1:0,l=n.map(c=>c.value);e.target&&Gt(e.target,{behavior:me.SURVEYCOMPLETE,actionType:Ee.OTHER,content:{autoIngest:!0,type:o,sat:a,vtbm:r,reasons:l}})}function X3e(e){let t=e.target;(t.closest('[data-test-id="feedback-popover"]')||t.closest('[data-test-id="footer-feedback-popover"]'))&&Gt(t,{actionType:Ee.CLICKLEFT,behavior:me.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 Xg(e){let t=document.querySelector("[data-feedback-suggestions]");if(!t)return;t.hidden=!1;let o=document.querySelector("[data-feedback-options-yes]"),n=document.querySelector("[data-feedback-options-no]");!o||!n||(o.hidden=e!=="rating-yes",n.hidden=e!=="rating-no")}function e4e(){let e=document.getElementById("ms--user-feedback-configurable-help-link");if(e){e.classList.remove("display-none");return}}function t4e(){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")}}k();var m5="v9",o4e=.03,JM=je("survey-popover",{require:!0}),n4e=new Set(["Architecture","CareerPath","Certification","CertificationRenewal","Conceptual","Course","FAQ","HowTo","KnownIssue","LearningPath","Lifecycle","Module","ModuleUnit","Question","QuestionList","Reference","Sample","Tag","TagList"]),i4e=new Set(["en-us","de-at","de-ch","de-de","fr-be","fr-ca","fr-ch","fr-fr","es-es","es-mx"]),dTe=0,pTe=!1;function r4e(e=C.surveyPopover,t=b.data.pageTemplate,o=b.data.userLocale){return e&&n4e.has(t)&&i4e.has(o)}function ZM(e,t=0){try{let o=oe.getItem(e);if(o===null)return t;let n=Number(o);return isNaN(n)?t:n}catch{return t}}function s4e(e=R.accessLevel!=="local"){let t=new URL("https://microsoft.qualtrics.com/jfe/form/SV_6hUVpRBU3hQVnZY");e&&t.searchParams.set("original_url",te.href),t.searchParams.set("locale",b.data.userLocale),t.searchParams.set("pageTemplate",b.data.pageTemplate);let o=ZM("hats_survey-pages-visited",0);t.searchParams.set("pagesVisited",o.toString());let n=ZM("hats_survey-qualified-pages-visited",0);t.searchParams.set("qualifiedSurveyPagesVisited",n.toString());let i=mTe().slice(0,30);return t.searchParams.set("pageTemplatesVisited",i?i.join(","):""),t.href}function g5(){a4e(m5);let e=oe.getItem("hats_survey-interacted");if(e){let u=Date.now(),p;try{if(p=new Date(e),isNaN(p.getTime())){XM(),oe.setItem("hats_survey-version",m5);return}}catch{return}let m=1e3*60*60*24*30*6;if(u-p.getTime()

    ${_ae}

    ${Cee}

    `;return x(t,e),e.addEventListener("click",o=>{o.target instanceof HTMLElement&&o.target.closest("[data-dismiss]")&&oe.setItem("hats_survey-interacted",new Date().toISOString())}),e}function fTe(){let e=document.querySelectorAll(".ccpa-privacy-link");C.thirdPartyDataSharingConsentFlag&&e.forEach(t=>{t.removeAttribute("hidden")})}var Pr={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 hTe(e){let t=`${e} --- #### ${DK} \u26A0 *${zK}* `,o=location.href,{documentId:n,versionIndependentDocumentId:i,platformId:r,documentSourceUrl:s,contentTitle:a}=Pr,l=s.replace(/^https:\/\/github.com\/[^/]+\/[^/]+\/blob\/[^/]+\//i,"").replace(/\[|\]/g,"\\$&");a=a.replace(/\[|\]/g,"\\$&"),t+=`* ID: ${n} * Version Independent ID: ${i} * Platform ID: ${r} * Content: [${a}](${o}) * Content Source: [${l}](${s})`;let{service:c,subservice:u,product:p,technology:m}=Pr;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}=Pr;return g!==void 0&&(/github\.com/.test(s)?t+=` * GitHub Login: @${g}`:t+=` * Git Login: **${g}**`),f!==void 0&&(t+=` * Microsoft Alias: **${f}**`),t=t.replace(//g,">"),t}function bTe(e,t,o,n,i,r,s,a,l,c,u,p,m,g,f="",_){let h=e.querySelector("[data-github-link]"),y=e.querySelector("[data-open-source-image-light]"),v=e.querySelector("[data-open-source-image-dark]"),T=e.querySelector("[data-open-source-image-container]"),I=e.querySelector("[data-open-source-product-title]"),A=e.querySelector("[data-open-source-product-description]");if(!h||!t||!o||!i||!c||!g)return;let O=u==="production"&&p?`\u{1F6A8} Looks like you arrived from the internal review site \u{1F6A8} Do not enter Microsoft confidential information here`:"",D=d4e(n,i,r,s,a,l),le=/github\.com/.test(c)?`@${g}`:g,ye=new URL(t),J=new URLSearchParams;J.set("pageUrl",m.href),J.set("pageQueryParams",m.search),J.set("contentSourceUrl",c),J.set("documentVersionIndependentId",o),J.set("platformId",i),J.set("feedback",`${O} ${xJ} `),J.set("author",le),J.set("metadata",D),f&&J.set("title",f),_&&J.set("labels",_),ye.search+=`&${J.toString()}`,h.href=ye.toString(),p4e(I,A),y&&v&&T&&m4e(y,v,T),e.hidden=!1}function d4e(e,t,o,n,i,r){let s=`* ID: ${e} * PlatformId: ${t} ${n!==void 0?` * Service: **${n.toLowerCase()}**`:""}${i!==void 0?` * Sub-service: **${i.toLowerCase()}**`:""}${o!==void 0?` * Product: **${o.toLowerCase()}**`:""}${r!==void 0?` * Technology: **${r.toLowerCase()}**`:""}`;return s=s.replace(//g,">"),s}function p4e(e,t){if(!e)return;let o=e.textContent;e.textContent=cee.replace("{productName}",o),t&&(t.textContent=uee.replace("{productName}",o))}async function m4e(e,t,o){let[n,i]=await Promise.all([D3(e.src).then(()=>!0).catch(()=>!1),D3(t.src).then(()=>!0).catch(()=>!1)]);n&&i&&(o.hidden=!1)}function _Te(){let e=document.body.querySelector(".feedback-section");if(e){if(b.data.pageTemplate==="ModuleUnit"){C.moduleUnitFeedbackReport||g4e(e);return}if(C.openSourceFeedback&&b.data.openSourceFeedbackIssueUrl){let t=document.body.querySelector("[data-open-source-feedback-section]");t&&bTe(t,b.data.openSourceFeedbackIssueUrl,Pr.versionIndependentDocumentId,Pr.documentId,Pr.platformId,Pr.product,Pr.service,Pr.subservice,Pr.technology,Pr.documentSourceUrl,R.supportLevel,R.reviewFeatures,te,Pr.author,b.data.openSourceFeedbackIssueTitle,b.data.openSourceFeedbackIssueLabels)}addEventListener("keydown",({keyCode:t,altKey:o,ctrlKey:n})=>{t===71&&o&&n&&Er(hTe(""),document.body)&&alert("\u2705 GitHub issue footer copied.")})}}function g4e(e){if(e){e.hidden=!0;for(let t of document.querySelectorAll("[data-feedback-section-link]"))t.hidden=!0}}k();var f4e=P("uhfHeaderId"),h4e=f4e,Nt=b4e({brand:b.data.brand,pathnameSegments:uR,page_kind:P("page_kind"),page_type:P("page_type"),headerId:h4e,isAdmin:P("is_admin"),isEditor:P("is_editor")??"false"});function b4e(e){let{brand:t,pathnameSegments:o,page_kind:n,page_type:i,headerId:r,isAdmin:s,isEditor:a}=e;if(s==="true")return"Admin";if(a==="true")return"Editor";if(r==="MSDocsHeader-Archive")return"Archive";if(n==="docs"&&i==="home"||i==="welcome")return"Docs_Home";if(i==="profile")return"Profile";if(i==="locale")return"Locale";if(i==="search")return"Search";if(n==="assessments")return"Assessments";switch(o[2]){case"docs":return"Documentation";case"training":return"Training";case"certifications":return C.previewCredentialsL1?"Credentials":"Certifications";case"credentials":return"Credentials";case"answers":return"Q&A";case"samples":return"Code Samples";case"assessments":return"Assessments";case"shows":return"Shows";case"events":return"Events";case"legal":return"Legal"}if(o[2]==="training"&&R.siteName==="learn")return"Training";if(t==="mooncake")return"Mooncake";if(!r&&R.siteName==="learn")return"Learn";switch(r){case"answers":case"answersv2":case"answersv2MOD":case"answersv2ADMIN":return"Q&A";case"mooncake":return"Mooncake";case"MSDocsHeader-Credentials":return"Credentials";case"MSDocsHeader-Certifications":return C.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:Uo}=b.data,vTe={type:"static-header",brandLink:{displayName:"Learn",href:`/${Uo}/`,biName:"learn"},navLinks:[{title:ua,href:`/${Uo}/docs/`,biName:"documentation"},{title:Xi,href:`/${Uo}/training/`,biName:"training"},{title:C.previewCredentialsL1?mn:nl,href:C.previewCredentialsL1?`/${Uo}/credentials/`:`/${Uo}/certifications/`,biName:C.previewCredentialsL1?"credentials":"certifications"},{title:"Q&A",href:`/${Uo}/answers/`,biName:"qna"},{title:Fz,href:`/${Uo}/samples/browse/`,biName:"code-samples"},{title:uE,href:`/${Uo}/assessments/`,biName:"assessments"},{title:Ci,href:`/${Uo}/shows/`,biName:"shows"}]},yTe={type:"static-header",brandLink:{displayName:"Developer",href:`/${Uo}/`,biName:"developer"},navLinks:[{title:"Learn",href:`https://learn.microsoft.com/${Uo}/`,biName:"learn"},{title:ua,href:`https://learn.microsoft.com/${Uo}/docs/`,biName:"documentation"},{title:Xi,href:`https://learn.microsoft.com/${Uo}/training/`,biName:"training"},{title:"Q&A",href:`https://learn.microsoft.com/${Uo}/answers/`,biName:"qna"},{title:Fz,href:`https://learn.microsoft.com/${Uo}/samples/browse/`,biName:"code-samples"},{title:Ci,href:`https://learn.microsoft.com/${Uo}/shows/`,biName:"shows"}]},xTe={type:"static-header",brandLink:{displayName:"Learn",href:`/${Uo}/`,biName:"learn"},navLinks:[{title:Xi,href:`https://learn.microsoft.com/${Uo}/training/`,biName:"training"},{title:C.previewCredentialsL1?mn:nl,href:C.previewCredentialsL1?`https://learn.microsoft.com/${Uo}/credentials/`:`https://learn.microsoft.com/${Uo}/certifications/`,biName:C.previewCredentialsL1?"credentials":"certifications"},{title:Tse,href:`https://support.azure.cn/${Uo}/support/contact/`,biName:"support"},{title:Ci,href:`https://learn.microsoft.com/${Uo}/shows/`,biName:"shows"}]};async function STe(e=b.data.userLocale){let t=v4e();if(t==="developer-header"||t==="mooncake-header")return TTe(t);let o=R.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",n={branch:bt(["contentnav-branch"],"main")},i=new URL(`/${e}/${o}content-nav/site-header/${t}.json?${pe(n)}`,location.origin);try{let r=await $(i.href,{credentials:"include"});if(!r?.ok)throw new Error(`Site navigation JSON not found for ${t} in ${e}.`);return await r.json()}catch{return console.error(`Site navigation fetching error. Loading static version of ${t}.`),TTe(t)}}function v4e(){return R.siteName==="mooncake"?"mooncake-header":Nt==="Developer"?"developer-header":"site-header"}function TTe(e){switch(e){case"mooncake-header":return xTe;case"developer-header":return yTe;default:return vTe}}var Rv,wTe,Mv=new Promise(e=>wTe=e);async function CTe(){Rv=await STe(),wTe()}function ETe(){let e=document.getElementById("ms--search-expander-wrapper");if(!e||!e.classList.contains("overflow-x-hidden"))return;let t=e.querySelector("overflow-menu"),o=e.querySelector("search-expander");if(!t||!o)return;let n=o.querySelector("button[data-search-expander-trigger-open]"),i=o.querySelector("button[data-search-expander-trigger-close]");!n||!i||(n.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),i.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),o.addEventListener("keydown",r=>{r.key==="Escape"&&!e.classList.contains("overflow-x-hidden")&&e.classList.toggle("overflow-x-hidden")}),window.addEventListener("click",r=>{r.target instanceof Element&&r.type==="click"&&!o.contains(r.target)&&!e.classList.contains("overflow-x-hidden")&&(r.target.hasAttribute("data-search-expander-autocomplete-suggestion")||e.classList.toggle("overflow-x-hidden"))}))}var e$=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}};k();We();var $v=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&&wM(t),document.body.insertAdjacentElement("afterbegin",this.container),this.container.classList.add("appearing"),setTimeout(()=>{Rt()},10),setTimeout(()=>{wM(this.container)},3500)}};We();k();function t$(e){for(let t=0;to.setCustomValidity(/^\s+$/.test(o.value)?Iee:"")),o instanceof HTMLButtonElement&&o.type==="submit"&&(o.onclick=()=>e.classList.add("show-validation-status"))}}k();async function ln(e,t=!1,o){let n=S.createElement("form");if(n.action="javascript:",e instanceof al){if(x(e,n),t){let c=n.querySelectorAll("input.loc-checkbox"),u=0,p=n.querySelector("#loc-submit-button");c&&c.forEach(m=>m.addEventListener("change",()=>{m.checked?u++:u--,u===2?p.disabled=!1:p.disabled=!0}))}}else n.appendChild(e);y4e(n);let i=S.createElement("div");i.classList.add("modal-content"),i.appendChild(n);let r=new we(i),s=!1,a={hasError:!1,data:null};return n.addEventListener("submit",async c=>{c.preventDefault(),a=o?await o(n):{hasError:!1,data:null},a.hasError===!1&&(s=!0,r.hide())}),t$(n),await r.show(),{submitted:s,form:n,data:a.hasError?null:a.data}}function y4e(e){if(e.querySelector("form"))throw new Error("The content argument should not contain a form")}function vp(e,t,o=kn,n=!1,i=bW,r,s){return d``}k();We();We();We();k();k();var ni={0:"Spam",1:"OffTopicIrrelevantPosts",2:"SensitiveInformation",3:"ChildEndangermentExploitation",4:"Terrorism",5:"HateSpeech",6:"CoordinationOfHarm",7:"NonConsensualAdultImages",8:"GraphicViolenceHumanGore",9:"AdultNudity",10:"SuicideSelfHarm",11:"ThreatsCyberbullyingHarassment",12:"Defamation",13:"ProfanityVulgarity",14:"Other",15:"SexualSolicitation",16:"Trafficking",17:"ThreatsOrPraiseOfViolence"};var ATe=[{reason:Ste,value:ni[13]},{reason:hte,value:ni[3]},{reason:Ete,value:ni[4]},{reason:yte,value:ni[5]},{reason:bte,value:ni[6]},{reason:xte,value:ni[7]},{reason:vte,value:ni[8]},{reason:fte,value:ni[9]},{reason:Cte,value:ni[10]},{reason:_te,value:ni[11]},{reason:wte,value:ni[15]},{reason:Ate,value:ni[16]},{reason:kte,value:ni[17]},{reason:Tte,value:ni[14]}];function kTe(e){if(!e)return;let t=document.getElementById("tagHeading");if(!t)return;let o=t.getAttribute("data-tag-id"),n=t.innerText;e.primary.href.includes("/ask/")&&(e.primary.href=`${e.primary.href}?id=${o}&styleGuideLabel=${n}`)}function ITe(e){if(!e||Nt!=="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 o$=C.userServices&&R.siteName!=="mooncake"&&Nt!=="Developer"&&Nt!=="Regional Directors",Dv=Nt==="Third-Party"||Nt==="Admin"||Nt==="Developer"||Nt==="Assessments"||Nt==="Certifications"||Nt==="Credentials"||Nt==="Learn"||Nt==="Shows"||Nt==="Mooncake"||Nt==="Q&A"||Nt==="Training"||Nt==="Legal";function PTe(e){let t=k4e();if(!(!t||t==="exclude"))for(let o of e){let n=o?.id===t;if(n){o.current=n;break}}}var C4e={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"}}}},E4e={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"}}}}}}},A4e={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 k4e(e=P,t=Nt){let o;switch(t){case"Learn":case"Training":o=E4e;break;case"Q&A":o=C4e;break;case"Certifications":case"Credentials":o=A4e;break;default:return e("activeMenuId")}return I4e(o)}function I4e(e,t=te.pathname){if(!e)return;let o,n=e;do{let i=!0;n.exclude&&t.includes(n.exclude)&&(i=!1),(n.exact&&t!==n.pattern||t.indexOf(n.pattern)===-1)&&(i=!1),i&&(o=n.id),n=n.next}while(n&&!o);return o}var P4e="DEV_Homeheader";function LTe(){let e=P("uhfHeaderId"),t=e&&e!==P4e?e:"";return(R.reviewFeatures?ce()["header-id"]:"")||b.data.context.uhfHeaderId||t}async function RTe(e,t=b.data.userLocale){let o={branch:bt(["contentnav-branch"],"main")},i=`${z.contentNav}/${t}/content-nav/${e}.json?${pe(o)}`,r;try{r=await $(i,{credentials:"include"})}catch{return console.error("Content navigation fetching error."),null}if(!r.ok){let a=new Error(`Content navigation JSON not found for ${e} in ${t}.`);return a.headerId=e,console.error(a),null}let s=await r.json();return s.items.push({kind:"menu",title:rx,biName:"more",items:[]}),s}function MTe(e,t=P("platform_id")){if(!e)return;let o=e.primary,n=e.secondary;o&&ww(o.href)&&(o.href=xM(o.href,t)),n&&ww(n.href)&&(n.href=xM(n.href,t))}var Lr,n$,zv=new Promise(e=>n$=e);async function $Te(){if(!Dv){Lr=null,n$();return}let e=LTe();if(!e){Lr=null,n$();return}Lr=await RTe(e),Lr&&(ITe(Lr.callToAction),kTe(Lr.callToAction),MTe(Lr.callToAction),PTe(Lr.items)),n$()}k();k();function L4e(e,t,o,n){let i;return o&&(i=[],i.push("font-weight-semibold","font-size-md")),e.kind==="link"?i$(e,`secondary-nav-link-${n+1}`,!1,i,o):R4e(e,t,i,n)}function i$({href:e,title:t,biName:o},n,i=!1,r=[],s=!1,a=!1){let l=i?"has-text-primary":"",c=s?"":"has-external-link-indicator",u;a?u=o?`secondary-nav-link-category-${o}-mobile`:"secondary-nav-link-category-mobile":u=o?`secondary-nav-link-${o}-mobile`:"secondary-nav-link-mobile",i&&(u=o?`${n}-${o}-mobile`:`${n}-mobile`);let p=it(e,b.data.userLocale);return d`
  • ${t}
  • `}function R4e(e,t,o=[],n){let i=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",r=e.id?`ms--secondary-nav-btn-${e.id}`:`ms--secondary-nav-btn-${n+1}`,s=e.biName?`secondary-nav-btn-${e.biName}-mobile`:"secondary-nav-btn-mobile",a=e.biName?`secondary-nav-menu-${e.biName}-mobile`:"secondary-nav-menu-mobile";return d`
  • `}function DTe(e,t){return d``}function zTe(e,t,o,n,i,r,s,a,l,c,u){let p=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",m=o?"secondary-nav":"primary-nav";return d` ${N4e(s,o)&&n>=2&&u?d`
    `:null} ${s?d`
    `:null}`}function NTe(e,t){if(!e)throw new Error("Site header data is unavailable.");return M4e(e,t)}function M4e(e,t){if(e.type==="static-header")return $4e(e);if(!t)throw new Error("Menu handler is not available");return D4e(e,t)}function $4e(e){let t=e.navLinks.map(o=>{let n=it(o.href,b.data.userLocale);return d`
  • ${o.title}
  • `});return d``}function D4e(e,t){let o=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",n=e.navCategories.map(i=>{let r=`site-header-btn-${i.biName}-mobile`,s=`ms--${r}`;return d`
  • `});return d``}function FTe(e,t,o,n,i,r){let s=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",a=b.data.userLocale,l=d`
    `,c=d`
    `,u="";if(e.panelLink){let g=e.panelLink,f=it(g.href,a);u=d`${g.title}`}let p="";if(r){let g=r.map(f=>{let _=it(f.href,a);return d``});p=d`
    ${g}
    `}let m=[];return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(g=>{let f=it(g.href,a),_=d`
  • `;m.push(_)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(g=>{let f=it(g.href,a),_=d`
  • ${g.title}
  • `;m.push(_)}),d` ${l}
    ${c}${u}
    ${p}
    `}function qTe(){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 o=d`

    ${N(sle)}

    `,n=d` ${w.isAuthenticated?z4e():o}
    ${w.isAuthenticated?d`${Bp}`:""}${w.isAuthenticated?Vp:Zi}
    `;return d`
    ${o$?n:o}
    `}function z4e(){return d``}function N4e(e,t){return t||Nt!=="Docs_Home"&&e}async function UTe(e,t){if(await Mv,!t)throw new Error("Site header data is unavailable.");let o=S.createElement("div");o.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),o.setAttribute("data-test-id","global-navigation-mobile");let n=new e$;o.paint=()=>{x(d` ${DTe(e,t.brandLink.displayName)}${qTe()} `,o)};function i(le){o.paint();let ye=o.querySelector("#modal-body");if(le){let J=ye.querySelector(`#${le}`);if(J){J.focus();return}}F4e(ye)}function r(le){let ye=le.target instanceof HTMLElement&&le.target.closest("button");if(!ye||!ye.classList.contains("pop-content"))return;let J=ye.getAttribute("data-back-id");n.pop(),i(J)}let s=e.subscribe(ot,o.paint);o.dispose=()=>{n.dispose(),s(),o.removeEventListener("click",r)};let a=OTe(e.items),l,c,u,p,m,g,f,_,h,y,v;function T(le,ye,J){a=le.items,l=le.title,g=ye,f=J,c=null,u=null,p=null,m=n.getTitle(),A(!0),i()}function I(le,ye,J,Le,Ve,Ct){h=le,y=ye,v=Ct,g=J,f=Le,_=Ve,A(!1,!0),i()}function A(le=!1,ye=!1){let J;!le&&!ye&&t?J=NTe(t,I):ye?J=FTe(h,y,g,_,gc,v):J=zTe(a,T,le,n.stackLength,g,f,l,c,u,p,m),n.push(J),n.pushTitle(l)}function O(){A(),o.paint()}function D(){if(!(n.stackLength<=1)){for(;n.stackLength>1;)n.stackLength===2&&(e.secondaryNav=!1),n.pop();i()}}if(O(),o.addEventListener("click",r),Dv){await zv;let le=Lr;le&&(c=le.category,u=le.callToAction,p=le.preview,l=le.category?le.category.title:null,a=OTe(le.items),A(!0),i(),e.secondaryNav=!0,o.querySelector("#modal-header button.button").onclick=D)}return o}function F4e(e){let t=e.querySelector("[data-autofocus]");if(t&&sR(t)){t.focus();return}e.focus()}function OTe(e){return e.slice(0,e.length-1)}var Nv=class extends Be{constructor(){super();this._items=[{title:rx,kind:"menu",items:[],biName:"more"}];this._mobile=!1;this._desktop=!1;this._mobileNavExpanded=!1;this._secondaryNav=!1}get items(){return this._items}set items(o){this._items=o&&o.length?o:[{title:rx,kind:"menu",items:[],id:"more",biName:"more"}],this.more.items=Zs(this._items.slice(0,this._items.length-1)),this.resetItemVisibility(),this.notifyPropertyChanged()}get mobile(){return this._mobile}set mobile(o){this._mobile=o,this._mobileNavExpanded=!1,this.notifyPropertyChanged()}get desktop(){return this._desktop}set desktop(o){this._desktop=o,this.notifyPropertyChanged()}get mobileNavExpanded(){return this._mobileNavExpanded}set mobileNavExpanded(o){this._mobileNavExpanded=o,this.notifyPropertyChanged()}get secondaryNav(){return this._secondaryNav}set secondaryNav(o){this._secondaryNav=o,this.notifyPropertyChanged()}get more(){let o=this._items.length;return o?this._items[o-1]:null}resetItemVisibility(){this.items.length!==0&&(this.items.forEach(o=>o.hidden=!1),this.more.hidden=!0,this.more.items.forEach(o=>o.hidden=!0))}notifyPropertyChanged(){this.publish(new ot)}};function HTe(){let e=document.querySelector("#ms--site-header-hamburger > button");if(!e)return;let t=new Nv;e.addEventListener("click",()=>q4e(t))}async function q4e(e){await Mv;let t=await UTe(e,Rv),o=new we(t),n=window.outerWidth;function i(){t.dispose(),window.removeEventListener("resize",r),e.mobileNavExpanded=!1}function r(){o.hide(),i()}window.addEventListener("resize",()=>{window.outerWidth!==n&&r()},{passive:!0}),e.mobileNavExpanded=!0,await o.show()}k();var f5;function BTe(){return f5===void 0&&(f5=(async()=>je("user-analytics",{require:!0})?!0:Di("user-analytics-dashboard"))()),f5}k();var ls="autocomplete-change-event",Dw="autocomplete-displayed-event";function Ti(e){e.input.placeholder=e.input.placeholder||"",e.input.type=e.input.type||"text",e.input.required=e.input.required||!1,e.input.disabled=e.input.disabled||!1;let{getSuggestions:t,getTitle:o=M=>typeof M?.toString=="function"?M.toString():M,itemTemplate:n=o,noResultsTemplate:i=null,initialValue:r=null,input:{biName:s},exclude:a=M=>!1,showLoader:l=!0,showOnFocus:c=!1,selectOnBlur:u=!1}=e,p=document.createElement("div");p.classList.add("autocomplete"),e.input.isFullWidth&&p.classList.add("display-block"),p.setAttribute("data-bi-name","autocomplete");let m=tt(),g=`${m}-listbox`,f=M=>M===-1?"":`${m}-option-${M}`,_=[],h=-1,y=r?o(r):"",v="",T=r,I=0,A=!1,O=!1,D=!1,le=!1,ye="";e.input.size&&(ye=e.input.size==="small"?"input-sm":"input-lg");let J=()=>{let M=p.querySelector(`#${g}`),Z=M.children.item(h===-1?0:h);Z?Z.offsetTop+Z.offsetHeight>M.offsetHeight?M.scrollTop=Z.offsetTop-M.offsetHeight+Z.offsetHeight+4:Z.offsetTop{x(L(),p);let M=p.querySelector("input");M&&(M.value=y||v),J()},Ve=()=>{_=[],h=-1,D=!1,Le()},Ct=(M,Z)=>{let ae=v;if(T=M,y=M?o(M):"",v=y,Ve(),Z&&M){let Pe=new CustomEvent(ls,{detail:{suggestion:M,term:ae},bubbles:!0});p.dispatchEvent(Pe)}};p.clear=()=>Ct(null,!1),Object.defineProperty(p,"value",{get(){return T},set(M){Ct(M,!1)}});let oo=()=>{let M=new CustomEvent(Dw,{detail:_,bubbles:!0});p.dispatchEvent(M)},qt=async()=>{if(v===""){A=!1,T=null,Ve();return}_=await t(v),_=_.filter(M=>!a(M)),oo(),_.length||pt(jX,"assertive",2e3),h=-1,A=!1,Le()},ro=async()=>{A=!1,_=(await t("")).filter(M=>!a(M)),oo(),D=!0,h=T?_.indexOf(T):-1,Le()},dn=()=>{if(le=!0,c&&(v===""||y===v)){ro();return}qt()},Lt=M=>{let ae=M?.url;ae&&ae.href&&window.open(ae.href,"_blank")},lo=M=>{let Z=M.target instanceof Element&&M.target.closest('[role="option"]');if(!Z)return;M.preventDefault();let ae=Z.parentElement,Pe=0;for(;Pe{clearTimeout(I);let Z=M.target;if(le=!0,v=Z.value,T&&v!==o(T)&&(T=null),y="",_=[],h=-1,D=!1,c&&v===""){await ro();return}I=setTimeout(qt,250),!A&&Z.value!==""&&!O&&(A=!0,Le())},X=()=>{O=!0},q=()=>{O=!1},re=()=>{le=!1;let M=h>=0?_[h]:_.length===1?_[0]:null;u&&M?Ct(M,!0):Ve()},fe=M=>{let{keyCode:Z,shiftKey:ae,altKey:Pe,ctrlKey:Je}=M;if(!(ae||Pe||Je)){if(Z===Re.down){M.preventDefault(),h<_.length-1?(h++,y=o(_[h])):(h=-1,y=v),Le();return}if(Z===Re.up){if(M.preventDefault(),!_.length)return;h===-1?(h=_.length-1,y=o(_[h])):h>0?(h--,y=o(_[h])):(h=-1,y=v),Le();return}if(Z===Re.escape){M.preventDefault(),y=T?o(T):v,Ve();return}if(Z===Re.enter){if(h>=0){M.preventDefault();let st=_[h];Ct(st,!0)}return}}};function L(){let M=le&&!A&&(D||v.length>0)&&(!!i||_.length>0)&&(D||y!==v),Z=e.input.docon?d``:"";return d`
    ${Z} ${l?d``:""}
      ae.preventDefault()} @click=${lo} @keyup=${ae=>(ae.key==="Enter"||ae.key==="Spacebar")&&lo} ?hidden=${!M} >${_.map((ae,Pe)=>d`
    • ${n(ae)}
    • `)} ${!_.length&&i?d`
    • ${i}
    • `:""}
    `}return Le(),p.addEventListener("compositionstart",X),p.addEventListener("compositionend",q),p}var r$=["All","Ai","Documentation","Training","Credential","QnA","Reference","Show"];async function VTe(e,t=b.data.userLocale){let o={query:e,suggestions:[]};if(!e)return Promise.resolve(o);let n=`${z.siteSearch}/autocomplete?${pe({locale:t,query:e})}`,i={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},r=await $(n,i);if(r.ok)return r.json();if(r.status===403)return{query:e,suggestions:[]};throw new jt(r)}function zw(e){let t=new URLSearchParams(e),o=t.get("category")||"All",n=r$.find(i=>i.localeCompare(o,void 0,{sensitivity:"base"})===0)||"All";return{dataSource:t.get("dataSource"),category:n,skip:parseInt(t.get("skip")||"0"),term:t.get("search"),scope:t.get("scope"),preview:t.get("preview")}}k();function GTe(){let e=b.data.context.searchScope||P("scope");if(b.data.pageTemplate==="SearchPage"&&(e=zw(location.search).scope),P("hideScope")==="true"||!e)return"";let n=e.split(",").map(i=>i.trim()).filter(i=>i.length);return n.length?n[n.length-1]:""}function h5(e=te.pathname,t={}){let o=decodeURI(sn(e)).toLowerCase().split("/").slice(1),[n="",i=""]=o;return{parts:o,firstPart:n,secondPart:i,pageKind:Nr.kind,pageType:Nr.type,msTopic:P("ms.topic"),...t}}function s$(e,t=h5()){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 QTe(e){let t={query:e,suggestions:[]};if(!e)return Promise.resolve(t);let o=`${z.siteSearch}/user?${pe({query:e})}&$top=30&$skip=0&$filter=questionAuthor eq true`,n={mode:"cors",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin"},i=await $(o,n);if(i.ok)return i.json();if(i.status===403)return{query:e,suggestions:[]};throw new jt(i)}var yp=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 O4e=1e4,U4e=4e3,jTe=Symbol("scenario timeout"),Si=class{constructor(t,o=32e3,n=window.fetch){this.scenario=t;this.timeLimitMs=o;this.fetch=n;this._timeoutHandle=0;this._pingTimeoutHandle=0;this._start=0}succeed(){this.complete(!0,void 0)}updateProgress(t){this._start!==0&&(this._diagnostics.scenarioProgress={progress:t,duration:performance.now()-this._start})}fail(t){this.complete(!1,t)}cancel(){this.unsubscribe(),this._start=0,this._diagnostics=null}start(){this.cancel(),this._diagnostics={type:"scenario-health",version:"1",scenario:this.scenario,durationInMilliseconds:0,succeeded:!0,reason:void 0,startConnection:vh.connection?.effectiveType??"unknown",endConnection:"unknown",wasHidden:S.visibilityState==="hidden",wentOffline:!vh.onLine,supportedBrowser:yp,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,jTe),this.timeLimitMs),this._pingTimeoutHandle=setTimeout(()=>this.collectPingDiagnostics(),O4e)}handleEvent(){var t,o;(t=this._diagnostics).wasHidden||(t.wasHidden=S.visibilityState==="hidden"),(o=this._diagnostics).wentOffline||(o.wentOffline=!vh.onLine)}complete(t,o){this.unsubscribe();let n=this._start;if(n===0)return;this._start=0;let i=this._diagnostics;i.scenarioProgress=t?{progress:"Succeeded",duration:performance.now()-n}:i.scenarioProgress,i.endDateTime=new Date().toISOString(),i.succeeded=t,i.durationInMilliseconds=performance.now()-n,i.reason=t?void 0:H4e(o),i.endConnection=vh.connection?.effectiveType??"unknown",i.resources=Array.from(performance.getEntriesByType("resource")).filter(r=>r.startTime>=n).map(r=>r.toJSON()).filter(r=>r.initiatorType==="fetch"&&r.name.startsWith(location.origin)).map(r=>(r.connectEnd=Math.floor(r.connectEnd),r.connectStart=Math.floor(r.connectStart),r.domainLookupEnd=Math.floor(r.domainLookupEnd),r.domainLookupStart=Math.floor(r.domainLookupStart),r.duration=Math.floor(r.duration),r.fetchStart=Math.floor(r.fetchStart),r.redirectEnd=Math.floor(r.redirectEnd),r.redirectStart=Math.floor(r.redirectStart),r.requestStart=Math.floor(r.requestStart),r.responseEnd=Math.floor(r.responseEnd),r.responseStart=Math.floor(r.responseStart),r.secureConnectionStart=Math.floor(r.secureConnectionStart),r.startTime=Math.floor(r.startTime),r.workerStart=Math.floor(r.workerStart),r)),Se({actionType:Ee.OTHER,behavior:me.OTHER,content:i})}unsubscribe(){removeEventListener("visibilitychange",this),removeEventListener("offline",this),clearTimeout(this._timeoutHandle),clearTimeout(this._pingTimeoutHandle)}collectPingDiagnostics(){this._diagnostics.pingStartDateTime=new Date().toISOString();let t=new AbortController,o=t.signal;setTimeout(()=>t.abort(),U4e);let n=async(i,r)=>{let s=performance.now();try{await this.fetch.call(window,r,{cache:"no-store",mode:"no-cors",signal:o}),this._diagnostics.pings[i]={response:!0,duration:Math.floor(performance.now()-s)}}catch{this._diagnostics.pings[i]={response:!1,duration:Math.floor(performance.now()-s)}}};return Promise.all([n("docs",`${location.origin}/robots.txt`)])}};function H4e(e){return e===jTe?{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?L3(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 qv(e){if(C.disableSiteSearchSuggestions)return[];let t=new Si("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.replace(/^[\s`~!@^,]+/,"").replace(/[\s`~!@^,]+$/,""),e.length<2)return t.cancel(),[];let o=await VTe(e,b.data.userLocale);return t.succeed(),o.suggestions}catch(o){return t.fail(o),[]}}async function YTe(e){let t=new Si("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.trim(),e.length<1)return t.cancel(),[];let o=await QTe(e);t.succeed();let n=[],i=[];for(let r of o.suggestions)r.displayName.toLowerCase().startsWith(e)?n.push(r):i.push(r);return n.sort((r,s)=>r.displayName.localeCompare(s.displayName)),i.sort((r,s)=>r.displayName.localeCompare(s.displayName)),o.suggestions=n.concat(i),o.suggestions}catch(o){return t.fail(o),[]}}function KTe(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};b5(t)}function a$(e){let t=e.detail.map(o=>({title:o}));_5(t)}function b5({suggestion:e,term:t}){Se({behavior:me.SEARCHAUTOCOMPLETE,actionType:Ee.OTHER,content:{srchq:t,srchtype:"auto suggest",resultselected:e.title,resulttype:e.type||"",resulturl:e.url||""}})}function _5(e){let t=[{srchtype:"auto suggest"}];e.forEach((o,n)=>{t.push({cN:o.title,sN:n,type:o.type||"",url:o.url||""})}),Se({content:t})}var WTe=!1;function JTe(e,t,o,n,i,r,s,a){WTe?YI():WTe=!0,Se({behavior:me.OTHER,actionType:Ee.OTHER,content:{event:"uhf-search-results",category:n,term:e.terms,scope:e.scope||"",results:t.length,resultUrls:t,skip:e.skip,dataSource:e.dataSource||a||"",scoringProfileName:e.scoringProfile||"",experimentId:P("experiment_id"),hideCompleted:e.hideCompleted||"",count:o,scopeRemoved:i,spellingCorrection:r,semanticCaptions:s}})}function ZTe(e,t,o,n,i){let r=n===!0?1:0;Se({behavior:me.SURVEYCOMPLETE,actionType:Ee.OTHER,content:{autoIngest:!0,type:"search-answer-feedback",sat:r,searchTerm:e,question:t,answer:o,authType:i.toString()}})}function l$(e,t,o,n,i,r,s,a){!t||!o||(Se({behavior:me.OTHER,actionType:Ee.OTHER,content:{event:"search-answer-result",searchTerm:e,copilotQuestion:t,copilotAnswer:o,authType:n.toString()}}),a&&Se({content:{autoIngest:!0,type:"search-answer-request",name:"search-answer",triggeredTimestamp:i,returnedTimestamp:r,answerType:s}}))}function XTe(e,t,o,n,i){Se({behavior:me.SURVEYCOMPLETE,actionType:Ee.OTHER,content:{autoIngest:!0,type:"deep-search-feedback",sat:t?1:0,query:e,reasons:n??"",verbatim:i??"",isEmptyResponse:0,authType:o.toString()}})}function Ov(e,t){Se({behavior:me.OTHER,actionType:Ee.OTHER,content:{autoIngest:!0,type:e,aN:"search-filter",timestamp:new Date().toISOString(),feedbackData:{filter:t??""}}})}var B4e="https://www.azure.cn/searchresults/";function v5(){let e;return b.data.brand==="mooncake"?e=B4e:!R.systemContent&&R.accessLevel!=="local"?e=`https://learn.microsoft.com/${b.data.userLocale}/search/`:e=`/${b.data.userLocale}/${Ht?"test/docs/search/search":"search/"}`,e}function y5(){let e=GTe(),t=V4e(),o=G4e();return{scope:e,category:t,dataSource:Bo()?"previousVersions":"",preview:o}}function V4e(){let e=zw(te.search)?.category;if(e?.toLowerCase()!=="all")return e;let t=s$("site",h5());return t&&t!=="All"?t:""}function G4e(){return zw(te.search).preview||""}function x5(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};b5(t)}function T5(e){let t=e.detail.map(o=>({title:o}));_5(t)}function c$(e,t,o,n,i){if(!e)return;let r=S.getElementById(o),s=r.placeholder,a=r.value,l=e.parentElement;if(!l)return;let c=i?`${i}-search`:void 0,u={input:{id:`${t}-autocomplete-input`,placeholder:s,size:"large",label:n,isFullWidth:!0,name:"terms",biName:c},initialValue:a,getSuggestions:qv,itemTemplate:v=>d`${v}`,showLoader:!C.disableSiteSearchSuggestions},p=Ti(u),{scope:m,category:g,dataSource:f,preview:_}=y5(),h=i?`${i}-search-form`:void 0,y=i?`${i}-search-submit`:void 0;x(d``,l)}k();var xp="display-block font-size-sm padding-inline-xxs",u$;function d$(e,t){if(u$===void 0){let c=(P("scope")||"").split(",").map(u=>u.trim()).filter(u=>u.length);u$=c.length?c[c.length-1]:""}let o="";u$&&t&&(o=u$);let n=Bo()?"previousVersions":"",i=Ht?"/test/docs/search/search":"/search/",r=s$("toc"),s=`${i}?${pe({search:e,scope:o,dataSource:n,category:r==="All"?void 0:r})}`;return{title:o?GX.replace("{term}",e).replace("{searchScope}",o):QX.replace("{term}",e),url:s}}function Nw(e){return e.indexOf("/search/?search")!==-1||Ht&&e.indexOf("/search/search?search")!==-1}async function p$(e,t,o){Gt(e,{behavior:me.APPLY,targetUri:o,content:{event:"autocomplete",title:t,href:o}})}function eSe(e=!1){let{category:t,dataSource:o,preview:n}=y5(),i=Nt==="Search"?"":t,r=v5(),s=b.data.brand==="mooncake"?"q":"terms",a={input:{id:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input",type:"search",placeholder:Bo()?px:io,label:io,isFullWidth:!0,name:s,biName:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input"},getSuggestions:qv,itemTemplate:p=>d`${p}`,showLoader:!C.disableSiteSearchSuggestions};e||(a.input.size="small");let l=Ti(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 tSe(e){return e?d`${nSe()}
    ${iSe(e.brandLink)}
    ${W4e(e)}${rSe()}
    ${sSe()} `:""}function oSe(e){return e?d`
    ${iSe(e.brandLink,!0)}${nSe(!0)}${rSe(!0)}${sSe(!0)} `:""}function nSe(e=!1){let t="site-header-microsoft-logo",o="site-header-microsoft-logo",n="";e&&(t="site-header-microsoft-logo-mobile",o="site-header-microsoft-logo-mobile",n="site-header-logo-centered");let i=d``;return d``}function iSe(e,t=!1){if(!e)return"";let o=it(e.href,b.data.userLocale),n=t?`site-header-brand-${e.biName}-mobile`:`site-header-brand-${e.biName}`;return d``}function rSe(e=!1){let t=eSe(e),o="flex-grow-1 margin-left-xxs";e&&(o="display-flex flex-grow-1 justify-content-flex-end");let n=e?"site-header-search-open-mobile":"site-header-search-open",i=e?"site-header-search-close-mobile":"site-header-search-close",r=e?"site-header-search-mobile":"site-header-search",s=e?"ms--site-header-search-mobile":"ms--site-header-search";return d``}function sSe(e=!1){if(!o$)return"";let n=d``,i=e?"site-header-user-mobile":"site-header-user",r=e?"site-header-user-mobile":"site-header-user",s=e?"site-header-sign-out-mobile":"site-header-sign-out",a=e?"site-header-user-sign-out-mobile":"site-header-user-sign-out",l=e?"ms--user-display-name-mobile":"ms--user-display-name",u=d`

    `;return d`${n} ${u}`}function Q4e(e,t){if(!e)return"";let o="";if(t){let i=t.map(r=>{let s=it(r.href,b.data.userLocale);return d``});o=d``}let n=e.map((i,r)=>{let s=`ms--panel-${r+1}`;return d`
  • `});return d`
      ${n}
    `}function j4e(e,t){if(!e)return"";let o=b.data.userLocale,n="";if(e.panelLink){let s=e.panelLink,a=it(s.href,o);n=d`${s.title}`}let i=[],r="site-header-panel-links";return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(s=>{r="site-header-panel-cards";let a=it(s.href,o),l=d`
  • `;i.push(l)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(s=>{let a=it(s.href,o),l=d`
  • ${s.title}
  • `;i.push(l)}),d`
      ${i}
    ${n}
    ${t} `}function Y4e(e){if(!e)return"";let t=e.map((o,n)=>{let i=it(o.href,b.data.userLocale);return d`
  • ${o.title}
  • `});return d`
      ${t}
    `}function W4e(e){let t=e.type==="static-header"?Y4e(e.navLinks):Q4e(e.navCategories,e.featuredContent),o=b.data.userDir==="ltr"?"left":"right",n=b.data.userDir==="ltr"?"right":"left";return d``}We();Eh();k();k();function S5(e,t){let{leftTemplate:o,rightTemplate:n}=e;return d` ${o()} ${n(t)} `}function cSe(e){let t=document.createElement("div");t.classList.add("site-header","width-full");let o=new Nv;return t.paint=()=>dSe(t,o,e),Object.defineProperty(t,"items",{enumerable:!0,get:()=>o.items,set:n=>o.items=n}),o.desktop=Pi.matches,o.mobile=!Ea.matches,Pi.addListener(()=>{o.desktop=Pi.matches}),Ea.addListener(()=>{o.mobile=!Ea.matches}),window.addEventListener("resize",()=>{Ea.matches&&K4e(t,o,e)},{passive:!0}),t.paint(),xe.then(()=>{let n=new MutationObserver(i=>{for(let r of i)for(let s=0;st.paint()),window.addEventListener("content-update",()=>t.paint()),t}var uSe=0;function dSe(e,t,o){if(uSe=Date.now(),t.resetItemVisibility(),x(S5(o,t),e),t.mobile)return;let n=e.querySelector(".nav-bar-spacer"),{more:i,items:r}=t,s=r.length-1;for(;s>0&&n.getBoundingClientRect().width===0;)s--,i.hidden=!1,r[s].hidden=!0,i.items[s].hidden=!1,x(S5(o,t),e)}var aSe=0,lSe=50;function K4e(e,t,o){clearTimeout(aSe),Date.now()-uSe>lSe?e.paint():aSe=setTimeout(dSe,lSe,e,t,o)}async function mSe(){if(await zv,!Lr)return null;let e=cSe(J4e(Lr));return e.items=Lr.items,e}function J4e(e){let{category:t,callToAction:o,preview:n}=e,i="";return o&&(i=Z4e(o)),{leftTemplate:()=>X4e(t,n),rightTemplate:a=>d` ${t6e(a,xre)}${i} ${e6e()} `}}function Z4e(e){if(!e)return"";let{primary:t,secondary:o}=e,n="";return o&&(n=pSe(o,!0)),d`
    ${n} ${pSe(t)}
    `}function pSe(e,t=!1){if(!e)return"";let{href:o,title:n}=e,i;return e.biName?i=t?`secondary-nav-cta-secondary-${e.biName}`:`secondary-nav-cta-primary-${e.biName}`:i=t?"secondary-nav-cta-secondary":"secondary-nav-cta-primary",d`${n}`}function X4e(e,t){let{href:o,title:n,biName:i}=e,r=it(o,b.data.userLocale),s=fSe(r),a=i?`secondary-nav-link-category-${i}`:"secondary-nav-link-category";return d``}function e6e(){return Nt!=="Learn"&&Nt!=="Training"?"":d``}function t6e(e,t){let{items:o}=e;return d``}function gSe(e,t){return e.kind==="link"?o6e(e,t):n6e(e,t)}function o6e(e,t){let o=e.current?"is-active":"",n=it(e.href,b.data.userLocale),i=fSe(n,!!o),r=e.biName?`secondary-nav-link-${e.biName}`:"secondary-nav-link";return t?d`
  • ${e.title}
  • `:d`
  • ${e.title}
  • `}function n6e(e,t){let o=Pp(),n=t?b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light":"chevron-down-light",i=t?"":"expanded-indicator",r=e.current?"is-active":"",s=e.current?"true":void 0,a=e.biName?`secondary-nav-btn-${e.biName}`:"secondary-nav-btn",l=e.biName?`secondary-nav-menu-${e.biName}`:"secondary-nav-menu";return d``}function i6e(e,t=new URL(window.location.href)){return e.origin===t.origin&&e.pathname.toLowerCase().replace(/\//gi,"")===t.pathname.toLowerCase().replace(/\//gi,"")}function fSe(e,t){let o=new URL(e,window.location.origin);if(i6e(o)&&t)return"page";if(t)return"true"}var Uv,m$=new Promise(e=>Uv=e);async function hSe(){CTe(),$Te(),r6e()}async function r6e(){await Mv;let e=tSe(Rv),t=oSe(Rv);await xe;let o=S.querySelector("#ms--site-header");if(!o){Uv();return}let n=o.querySelector("#ms--primary-nav");if(!n){Uv();return}let i=o.querySelector("#ms--mobile-nav");if(!i){Uv();return}x(e,n),x(t,i),ETe(),HTe();let r=o.querySelector("#ms--secondary-nav");if(!r){Uv();return}if(Dv){await zv;let s=await mSe();r.classList.contains("site-header")&&s?(r.classList.remove("site-header"),x(s,r)):r.remove()}else r.remove();Uv()}var s6e=["Conceptual","ContentPage","Hub","Reference","Architecture","FAQ","HowTo"];function Hv(e){if(!e||!s6e.includes(b.data.pageTemplate))return;let t=[".content",".content section",".content [data-moniker]",".content [data-pivot]",".anchor-headings"],o=["h2","h3","h4","h5","h6"];Array.from(e.querySelectorAll(`${o.join(",")}`)).forEach(i=>{if(i.parentElement&&i.parentElement.matches(`${t.join(",")}`)){let r=i.tagName.toLowerCase(),s=document.createElement("div");s.classList.add("heading-wrapper"),s.setAttribute("data-heading-level",r);let a=em(i).trim(),l=i.id||qo(a);i.id||(i.id=l),i.classList.add("heading-anchor");let c=document.createElement("a");c.classList.add("anchor-link","docon","docon-link"),c.href="http://approjects.co.za/?big=#"+l,c.setAttribute("aria-label",mre.replace("{title}",a)),s.appendChild(c),i.insertAdjacentElement("beforebegin",s),s.insertAdjacentElement("beforeend",i)}})}k();var a6e=["Conceptual","Episode","Module","Reference"],bSe={Conceptual:{"ai-generated":XW,"ai-assisted":ZW,"human-only":eK},Episode:{"ai-generated":tK,"ai-assisted":oK},Module:{"ai-generated":nK,"ai-assisted":iK},Reference:{"ai-generated":rK,"ai-assisted":sK}};function _Se(){let e=As("ai-usage"),t=b.data.pageTemplate;!a6e.includes(t)||e.length===0||l6e(t,e)}function l6e(e,t){let o=document.getElementById("ms--inline-notifications"),n=c6e(e,t);if(!o||!n)return;let i=d6e(n);x(i,o)}function c6e(e,t){let o=new Set(t),n=[];for(let i of o)if(bSe[e].hasOwnProperty(i)){let r=bSe[e][i];r&&n.push(r)}return n}function u6e(e){return d`
    ${N(e)}
    `}function d6e(e){return d` ${ho(e,t=>u6e(t))} `}Object.defineProperty(HTMLElement.prototype,"inlineStyle",{set(e){this.style.cssText=e}});Object.defineProperty(HTMLInputElement.prototype,"customValidity",{set(e){this.setCustomValidity(e)}});function ySe(){let e=document.querySelector('script[src*=".index-"][src$=".js"]');return e?e.src:"unknown-script-src"}function xSe(){window.addEventListener("unhandledrejection",e=>{let t=vSe(e.type,ySe(),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)}});Se({behavior:me.OTHER,content:t})}),window.onerror=(e,t,o,n,i)=>{let r=vSe(e,t,o,n,i);Se({behavior:me.OTHER,content:r})}}function vSe(e,t,o,n,i){let s=new Date().toString();return{type:"learn-client-error",event:e,source:t||ySe(),lineno:o||0,colno:n||0,message:i?.message||"Error message unavailable",stack:i?.stack||"Stack trace unavailable",name:i?.name||"Error name unavailable",timestamp:s,timeOrigin:window.performance.timeOrigin||void 0,userAgent:window.navigator.userAgent,connectionCategory:window.navigator.connection?.effectiveType||"Unknown",url:window.location.href,supportedBrowser:yp,pageTemplate:b.data.pageTemplate}}var Tp,qw,MSe,f$,A5,Vv=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},Ow=function(e){if(document.readyState==="loading")return"loading";var t=Vv();if(t){if(e(t||100)-1)return o||i;if(o=o?i+">"+o:i,n.id)break;e=n.parentNode}}catch{}return o},$Se=-1,DSe=function(){return $Se},ef=function(e){addEventListener("pageshow",function(t){t.persisted&&($Se=t.timeStamp,e(t))},!0)},_$=function(){var e=Vv();return e&&e.activationStart||0},ea=function(e,t){var o=Vv(),n="navigate";return DSe()>=0?n="back-forward-cache":o&&(n=document.prerendering||_$()>0?"prerender":document.wasDiscarded?"restore":o.type.replace(/_/g,"-")),{name:e,value:t===void 0?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},Gv=function(e,t,o){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(i){Promise.resolve().then(function(){t(i.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},o||{})),n}}catch{}},ta=function(e,t,o,n){var i,r;return function(s){t.value>=0&&(s||n)&&((r=t.value-(i||0))||i===void 0)&&(i=t.value,t.delta=r,t.rating=function(a,l){return a>l[1]?"poor":a>l[0]?"needs-improvement":"good"}(t.value,o),e(t))}},k5=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},v$=function(e){var t=function(o){o.type!=="pagehide"&&document.visibilityState!=="hidden"||e(o)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},I5=function(e){var t=!1;return function(o){t||(e(o),t=!0)}},Bv=-1,TSe=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},h$=function(e){document.visibilityState==="hidden"&&Bv>-1&&(Bv=e.type==="visibilitychange"?e.timeStamp:0,m6e())},SSe=function(){addEventListener("visibilitychange",h$,!0),addEventListener("prerenderingchange",h$,!0)},m6e=function(){removeEventListener("visibilitychange",h$,!0),removeEventListener("prerenderingchange",h$,!0)},P5=function(){return Bv<0&&(Bv=TSe(),SSe(),ef(function(){setTimeout(function(){Bv=TSe(),SSe()},0)})),{get firstHiddenTime(){return Bv}}},Uw=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},wSe=[1800,3e3],zSe=function(e,t){t=t||{},Uw(function(){var o,n=P5(),i=ea("FCP"),r=Gv("paint",function(s){s.forEach(function(a){a.name==="first-contentful-paint"&&(r.disconnect(),a.startTimer.value&&(r.value=s,r.entries=a,i())},c=Gv("layout-shift",l);c&&(i=ta(o,r,CSe,n.reportAllChanges),v$(function(){l(c.takeRecords()),i(!0)}),ef(function(){s=0,r=ea("CLS",0),i=ta(o,r,CSe,n.reportAllChanges),k5(function(){return i()})}),setTimeout(i,0))}))})(function(o){(function(n){if(n.entries.length){var i=n.entries.reduce(function(a,l){return a&&a.value>l.value?a:l});if(i&&i.sources&&i.sources.length){var r=(s=i.sources).find(function(a){return a.node&&a.node.nodeType===1})||s[0];if(r)return void(n.attribution={largestShiftTarget:b$(r.node),largestShiftTime:i.startTime,largestShiftValue:i.value,largestShiftSource:r,largestShiftEntry:i,loadState:Ow(i.startTime)})}}var s;n.attribution={}})(o),e(o)},t)},FSe=function(e,t){zSe(function(o){(function(n){if(n.entries.length){var i=Vv(),r=n.entries[n.entries.length-1];if(i){var s=i.activationStart||0,a=Math.max(0,i.responseStart-s);return void(n.attribution={timeToFirstByte:a,firstByteToFCP:n.value-a,loadState:Ow(n.entries[0].startTime),navigationEntry:i,fcpEntry:r})}}n.attribution={timeToFirstByte:0,firstByteToFCP:n.value,loadState:Ow(DSe())}})(o),e(o)},t)},Fw={passive:!0,capture:!0},g6e=new Date,ESe=function(e,t){Tp||(Tp=t,qw=e,MSe=new Date,OSe(removeEventListener),qSe())},qSe=function(){if(qw>=0&&qw1e12?new Date:performance.now())-e.timeStamp;e.type=="pointerdown"?function(o,n){var i=function(){ESe(o,n),s()},r=function(){s()},s=function(){removeEventListener("pointerup",i,Fw),removeEventListener("pointercancel",r,Fw)};addEventListener("pointerup",i,Fw),addEventListener("pointercancel",r,Fw)}(t,e):ESe(t,e)}},OSe=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,f6e,Fw)})},ASe=[100,300],h6e=function(e,t){t=t||{},Uw(function(){var o,n=P5(),i=ea("FID"),r=function(l){l.startTimet.latency){if(o)o.entries.push(e),o.latency=Math.max(o.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};C5[n.id]=n,Xl.push(n)}Xl.sort(function(i,r){return r.latency-i.latency}),Xl.splice(10).forEach(function(i){delete C5[i.id]})}},v6e=function(e,t){t=t||{},Uw(function(){_6e();var o,n=ea("INP"),i=function(s){s.forEach(function(c){c.interactionId&&PSe(c),c.entryType==="first-input"&&!Xl.some(function(u){return u.entries.some(function(p){return c.duration===p.duration&&c.startTime===p.startTime})})&&PSe(c)});var a,l=(a=Math.min(Xl.length-1,Math.floor(ISe()/50)),Xl[a]);l&&l.latency!==n.value&&(n.value=l.latency,n.entries=l.entries,o())},r=Gv("event",i,{durationThreshold:t.durationThreshold||40});o=ta(e,n,kSe,t.reportAllChanges),r&&(r.observe({type:"first-input",buffered:!0}),v$(function(){i(r.takeRecords()),n.value<0&&ISe()>0&&(n.value=0,n.entries=[]),o(!0)}),ef(function(){Xl=[],VSe=BSe(),n=ea("INP"),o=ta(e,n,kSe,t.reportAllChanges)}))})},GSe=function(e,t){v6e(function(o){(function(n){if(n.entries.length){var i=n.entries.sort(function(r,s){return s.duration-r.duration||s.processingEnd-s.processingStart-(r.processingEnd-r.processingStart)})[0];n.attribution={eventTarget:b$(i.target),eventType:i.name,eventTime:i.startTime,eventEntry:i,loadState:Ow(i.startTime)}}else n.attribution={}})(o),e(o)},t)},LSe=[2500,4e3],E5={},QSe=function(e,t){(function(o,n){n=n||{},Uw(function(){var i,r=P5(),s=ea("LCP"),a=function(u){var p=u[u.length-1];p&&p.startTimeperformance.now())return;o.value=Math.max(r-_$(),0),o.entries=[i],n(!0),ef(function(){o=ea("TTFB",0),(n=ta(e,o,RSe,t.reportAllChanges))(!0)})}})},jSe=function(e,t){x6e(function(o){(function(n){if(n.entries.length){var i=n.entries[0],r=i.activationStart||0,s=Math.max(i.domainLookupStart-r,0),a=Math.max(i.connectStart-r,0),l=Math.max(i.requestStart-r,0);n.attribution={waitingTime:s,dnsTime:a-s,connectionTime:l-a,requestTime:n.value-l,navigationEntry:i}}else n.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}})(o),e(o)},t)};var Hw=P("learn-experiments")==="true"&&R.siteName!=="developer"&&R.siteName!=="mooncake",R5=Hw?5*1e3:0,T6e="assignmentserviceapi.production.portalrp.azure.com",S6e=`https://${T6e}/api/mslearn/variants?api-version=1.0`;function w6e(){return S6e}var WSe=ape("MC1",R5),KSe={},x$,y$,YSe,L5=!1,JSe=twe(),ZSe=owe(),XSe,M5=new Promise(e=>{XSe=e});async function Qv(e,t="treatment"){return!Hw||!await Rm?!1:(await M5,`${e}-${t}`in KSe)}async function ewe(){if(!Hw||!await Rm)return;let t=await WSe,o=t?swe(t):null;if(!o){Se({content:{type:"experiment-no-assignment",name:"experiment-platform-no-mc1-cookie",autoIngest:!0,timestamp:new Date().toISOString()}});return}await Te;let n={mc1:o,audience:{environment:R.supportLevel==="production"?"prod":"preprod",isAuthenticated:!1,locale:w.locale,referer:document.referrer}};w.isAuthenticated&&(n.userId=w.userId,n.audience.isAuthenticated=!0);let i=JSON.stringify(n),r=K(w6e(),{method:"POST",body:i},!1,!0),s=await $(r,{},R5);if(!s.ok)throw Se({content:{type:"experiment-platform-assignment",name:"assignment-error",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:i,error:`Experiment API failed with status ${s.status}`}}}),new Error(`Experiment API failed: ${s.status}`);let a=await s.json(),l=Object.keys(a.variants),c=new Date().toISOString();return Se({content:{type:"experiment-platform-assignment",name:"assignment-success",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:i,data:a,dataVersion:a.dataVersion}}}),{assignments:l,rawResponse:a,assignmentTimestamp:c}}function twe(){return ewe().then(e=>(x$!==void 0&&(clearTimeout(x$),x$=void 0),e!==void 0&&(H.learnExperiments={loaded:!0,assignments:e.assignments,loadTime:performance.now()}),e))}function owe(){return new Promise(e=>{x$=setTimeout(()=>{e(void 0)},R5)})}async function T$(){await nwe();let e=Rm;if(Hw){if(!await e){Se({content:{type:"experiment-no-assignment",name:"experiment-platform-no-consent",autoIngest:!0,timestamp:new Date().toISOString()}});return}H.learnExperiments={...H.learnExperiments||{assignments:[]},loaded:!1};try{let t=await Promise.race([JSe,ZSe]);t===void 0&&Se({content:{type:"experiment-platform-timeout"}}),t!=null&&typeof t=="object"&&"assignments"in t&&"rawResponse"in t&&"assignmentTimestamp"in t&&(KSe=t.assignments.reduce((o,n)=>(o[n]=!0,o),{}),y$=t.rawResponse,YSe=t.assignmentTimestamp),XSe?.(),y$&&await rwe("client-side",y$.assignmentContext,y$.dataVersion,YSe)}catch(t){Se({content:{type:"experiment-platform-error",content:{error:JSON.stringify(t)}}});return}}}async function nwe(){if(L5)return;let e=document.getElementById("learn-experiments-context");if(!e||e.tagName!=="SCRIPT")return;let t=e.textContent?.trim();if(!t)return;let o;try{o=JSON.parse(t),L5=!0}catch(n){Se({content:{type:"experiment-platform-error",content:{error:`learn-experiments-script-parse:${n.message}`}}});return}try{await rwe("server-side",o.assignmentContext,o.dataVersion,o.assignmentTimestamp)}catch(n){throw L5=!1,n}}ut.subscribe(bo,async()=>await iwe());ut.subscribe(So,async()=>await iwe());async function iwe(){!Hw||!await Rm||(JSe=twe(),ZSe=owe(),T$())}async function rwe(e,t,o,n){if(!t)return;let i=await WSe,r={actionType:"A",behavior:12,pageTags:{exp_context:t,exp_platform:"learn-experiments",exp_data_version:o?.toString()??"",exp_assignment_ts:n??"",exp_mc1:swe(i??"")??"",exp_uri:H.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:C6e()}};Dpe(r),Se({content:{type:"experiment-platform-telemetry",name:e+"-experiment",autoIngest:!0,timestamp:new Date().toISOString(),content:r}})}Bl&&(H.__learnExperimentsTestHooks={emitServerExperimentContext:nwe,loadExperimentAssignments:ewe,instrumentExperiments:T$});function swe(e){let t=e.match(/GUID=([^&;]+)/);return t?t[1]:null}function C6e(){return document.querySelector('script[src*="index-"]')?.src??""}function awe(e){Se({content:{type:"experiment-exposure",content:{variantName:e}}})}var E6e=C.reportWebVitalsAlways?1:.1,S$=new Set;function tf(e){S$.add(e)}function lwe(){if(S$.size>0){let e=Array.from(S$);k6e(e),S$.clear()}}function A6e(e){let t={};for(let o of e){let{name:n,value:i}=o;t[n]=i}return t}function k6e(e){let t=A6e(e);Se({content:{type:"web-vitals",version:"1",metrics:t}})}function cwe(){let e=C.reportWebVitalsAlways||Math.random()<=E6e;!yp||!e||(NSe(tf),FSe(tf),GSe(tf),QSe(tf),jSe(tf),USe(tf),I6e(tf),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&lwe()}),document.addEventListener("pagehide",lwe))}async function I6e(e){if(window.learnExperiments===void 0||(await M5,window.learnExperiments.loadTime===void 0))return;let t=window.learnExperiments.loadTime,o=t<2500?"good":t>4e3?"bad":"needs-improvement";e({value:t,id:crypto.randomUUID(),name:"learnExperimentsLoaded",rating:o,delta:0,entries:[],navigationType:"navigate"})}function uwe(){P6e(),L6e(),R6e(),M6e(),$6e(),D6e(),z6e(),N6e(),q6e(),O6e(),cwe()}async function P6e(){let e=()=>Mpe(w.authenticationMode,w.isAuthenticated);w.subscribe(So,e),e(),await w.whenAuthenticated(),Se({content:{event:"user-is-signed-in"}})}function L6e(){function e(t){!t.isTrusted||!(t.target instanceof HTMLSelectElement)||!t.target.hasAttribute(Ao.name)||Gt(t.target,{actionType:Ee.OTHER,behavior:me.OTHER,content:{event:"select-value-changed",name:Uc(t.target),value:t.target.value}})}S.addEventListener("change",e,{passive:!0})}function R6e(){let e="";function t(i){!i.isTrusted||e===i.type||(e=i.type,Se({actionType:Ee.OTHER,behavior:me.OTHER,content:{event:"page-focus-changed",value:i.type}}))}let o=0;function n(i){clearTimeout(o),o=setTimeout(()=>t(i),50)}H.addEventListener("focus",n,{passive:!0}),H.addEventListener("blur",n,{passive:!0})}function M6e(){function e(){Se({actionType:Ee.OTHER,behavior:me.OTHER,content:{event:"page-visibility-changed",value:S.hidden?"hidden":"visible"}})}function t(){S.addEventListener("visibilitychange",e,{passive:!0})}S.readyState==="interactive"||S.readyState==="complete"?t():S.addEventListener("DOMContentLoaded",t)}function $6e(){lpe&&upe.addListener(e=>{e.matches&&Se({actionType:Ee.OTHER,behavior:me.PRINT,content:{event:"print"}})})}function D6e(){function e(o){if(!o.isTrusted||!(o.target instanceof HTMLElement))return;let{width:n,height:i}=o.target.getBoundingClientRect(),{scrollLeft:r,scrollTop:s,scrollWidth:a,scrollHeight:l}=o.target;Gt(o.target,{actionType:Ee.OTHER,behavior:me.OTHER,content:{event:"secondary-content-scroll",name:Uc(o.target),viewPortWidth:Math.floor(n),viewPortHeight:Math.floor(i),contentWidth:Math.floor(a),contentHeight:Math.floor(l),horizontalOffset:Math.floor(r),verticalOffset:Math.floor(s)}})}function t(o){if(o.target===S)return;let n=o.target;clearTimeout(n.reportScrollTimeout),n.reportScrollTimeout=setTimeout(()=>e(o),100)}H.addEventListener("scroll",t,{passive:!0,capture:!0})}function z6e(){let e=!1;function t(){Se({actionType:Ee.OTHER,behavior:me.OTHER,content:{event:"unload",anchor:e}})}function o(i){i.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}function n(i){i.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}H.addEventListener("keydown",n,{capture:!0,passive:!0}),H.addEventListener("click",o,{capture:!0,passive:!0}),H.addEventListener("beforeunload",t,{passive:!0})}function N6e(){function e(t){let o=t.target;if(o.id!=="ms--site-header-search-form"&&o.id!=="ms--site-header-search-form-mobile"&&o.id!=="welcome-page-search-form"&&o.id!=="directory-page-search-form"&&o.id!=="facet-search-form")return;F6e(o.id);let i=Array.from(o.querySelectorAll('input[name="terms"], input[name="facet-search-input"]'))[0].value,r=S.activeElement&&S.activeElement instanceof HTMLButtonElement&&S.activeElement.type==="submit"&&!!o.querySelector(`#${S.activeElement.id}`);Gt(o,{actionType:Ee.OTHER,behavior:me.SEARCH,content:{event:"uhf-search",value:i,submitButton:r}})}H.addEventListener("submit",e,{passive:!0,capture:!0})}function F6e(e){let o={"ms--site-header-search-form":"nav-search-enter","ms--site-header-search-form-mobile":"nav-search-enter","welcome-page-search-form":"hero-search-enter"}[e];o&&Se({behavior:me.SEARCH,actionType:Ee.OTHER,content:{autoIngest:!0,type:"site-search-submit",name:o}})}function q6e(){function e(t){t.isTrusted&&t.keyCode===70&&t.ctrlKey&&!t.shiftKey&&!t.altKey&&!t.metaKey&&Se({actionType:Ee.OTHER,behavior:me.OTHER,content:{event:"ctrl-f"}})}H.addEventListener("keydown",e,{passive:!0})}function O6e(){function e(t){let o={referrerUri:t.referrerUrl.href,requestUri:t.url.href,title:t.title,pageName:P("document_id")||"missing document_id",pageType:P("page_type"),pageTags:{}};QI(o.pageTags),$pe(o),YI()}ut.subscribe(bo,e)}k();var dwe="azure-auth-complete";function U6e(){let e=ce(location.search);return e[dwe]==="true"?(e[dwe]=null,Vt(e,"replaceState"),!0):!1}U6e()&&QS.tryLoadTokens().then(e=>{e&&j6e()});var H6e=d`

    ${Ye(vre)}

    ${ohe}`;async function w$(e){let t=d`
    ${H6e}
    `;x(t,e);let o=e.firstElementChild.firstElementChild,n=r=>new Promise(s=>{let a=l=>{e.innerHTML="",Ro.value=l,s(l)};r===null?(Ro.value=null,C$(o)):r.length===0?V6e(o):B6e(o,a,r)});qn.trackEvent({name:"oauth-login-try-load-tokens"});let i=await QS.tryLoadTokens({noInteraction:!1});return n(i)}var $5={light:"light",dark:"dark","high-contrast":"high-contrast"};function pwe(e){let t=document.getElementById("mult-account");t&&(t.src=`/en-us/media/illustrations/multiple-accounts-${$5[e]}.svg?branch=live`);let o=document.getElementById("log-in-media");o&&(o.src=`/en-us/media/illustrations/lock-and-key-${$5[e]}.svg?branch=live`);let n=document.getElementById("profile-icon"),i=w.authenticationMode==="AAD"?"org":"personal";n&&(n.src=`/en-us/media/profile/${i}-account${$5[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`)}function C$(e){Q6e(),ut.subscribe(xl,s=>pwe(s.currentTheme));let o=`/en-us/media/illustrations/lock-and-key-${pd()}.svg?branch=live`,i=d``;x(i,e);let r=document.getElementById("try-it-sign-in");r&&r.addEventListener("click",()=>{let s=ce();s.tryIt="true",Vt(s,"replaceState"),ns(null,!1,!0)})}function B6e(e,t,o){ut.subscribe(xl,c=>pwe(c.currentTheme));let n=pd(),i=`/en-us/media/illustrations/multiple-accounts-${n}.svg?branch=live`,s=`/en-us/media/profile/${w.authenticationMode==="AAD"?"org":"personal"}-account${n==="light"?"":"-dark-highcontrast"}.svg?branch=live`,l=d`
    ${Dae}

    ${$ae}


    ${w.upn}

    ${U0}


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

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

    `;x(i,e)}function G6e(e,t,o){if(o.length===1)t(o[0]);else{let n=()=>{},r=d`
    ${Nae}

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

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

      ${vY}

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

      Azure Cloud Shell

      `;let n=this.element.querySelector('button[data-bi-name="restart"]');n.onclick=()=>this.restart(),this.consoleFrame=this.element.querySelector("iframe"),this.messageHandlerTimeout=setTimeout(this.instrumentMessageHandler,Y6e)})}setCode(){return Promise.resolve()}execute(){return Promise.resolve()}restart(){this.consoleFrame.hidden||this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"restart"},E$)}dispose(){H.removeEventListener("message",this.messageHandler)}replyToken(t){let o;switch(t){case"":o=Ro.value.access_token;break;case"microsoft.graph":o=Ro.value.msgraph_access_token,Se({content:{event:"cloud-shell-audience",value:"microsoft.graph"}});break;case"keyvault":o=Ro.value.key_vault_access_token,Se({content:{event:"cloud-shell-audience",value:"keyvault"}});break;default:throw new Error(`Unsupported token audience: "${t}".`)}this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"postToken",audience:t,message:`Bearer ${o}`},E$)}whenPageVisible(){return S.visibilityState==="visible"?Promise.resolve():new Promise(t=>S.addEventListener("visibilitychange",()=>{S.visibilityState==="visible"&&t()}))}},mwe={name:dee,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};Rg({name:"bash",activateButtonConfig:mwe,create:()=>new A$(!1)});Rg({name:"powershell",activateButtonConfig:mwe,create:()=>new A$(!0)});function W6e(e){switch(e){case"zh-cn":return"zh-hans";case"zh-hk":return"zh-hans";case"zh-tw":return"zh-hant"}return["en","cs","de","es","fr","hu","it","ja","ko","nl","pl","pt-br","pt-pt","ru","sv","tr","zh-hans","zh-hant"].find(n=>e.indexOf(n)===0)||"en"}var Bw=class{constructor(t,o,n=window){this.targetOrigin=o;this.subscriptions=[];this.messageHandler=({data:t,origin:o})=>{if(o!==this.targetOrigin)return;let n=this.subscriptions.filter(i=>i.predicate(t));for(let i of n)i.callback(t)};if(t)t instanceof HTMLIFrameElement?t.contentWindow?this.targetWindowLoaded=Promise.resolve({value:t.contentWindow}):this.targetWindowLoaded=new Promise(i=>{t.onload=()=>i({value:t.contentWindow})}):this.targetWindowLoaded=Promise.resolve({value:t});else throw new Error("target is required");n.addEventListener("message",this.messageHandler)}async publish(t){(await this.targetWindowLoaded).value.postMessage(t,this.targetOrigin)}subscribe(t,o=()=>!0){let n={predicate:o,callback:t};return this.subscriptions.push(n),()=>this.unsubscribe(n)}subscribeOnce(t=()=>!0,o){return new Promise((n,i)=>{let r={},s=o===void 0?0:setTimeout(l,o,r),a=this.subscribe(l,t);function l(c){clearTimeout(s),a(),c===r?i("timeout"):n(c)}})}unsubscribe(t){let o=this.subscriptions.indexOf(t);o!==-1&&this.subscriptions.splice(o,1)}};Mg();var k$=R.supportLevel==="production"&&R.reviewFeatures?"https://tryit.graphexplorerppe.microsoft.com":"https://tryit.graphexplorer.microsoft.com";function K6e(e){let t=J6e(e);if(!t)return[];let o=Z6e(t);return X6e(o)}function J6e(e){return e.querySelector('h2[id="permissions"] ~ * table, h2[id="permissions"] ~ table')}function Z6e(e){let t=e.cloneNode(!0),o=Array.from(t.childNodes);return Array.from(o[0].parentNode.querySelectorAll("[data-ttu-id]")).map(n=>{n.remove()}),t}function X6e(e){return Array.from(e.querySelectorAll("tr")).map(o=>Array.from(o.querySelectorAll("th,td")).map(n=>n.textContent.trim()))}var e5e={name:hh,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};Rg({name:"msgraph",activateButtonConfig:e5e,create:()=>{let e=new URL(k$),t=location.origin,o=document.getElementById("main"),n=K6e(o),i={type:"init",locale:b.data.userLocale,theme:dd,code:"",permissions:n};e.searchParams.set("locale",i.locale),e.searchParams.set("host-origin",t),e.searchParams.set("theme",i.theme);let r=document.createElement("iframe");r.classList.add("msgraph","is-full-height"),r.title=RX,r.src=e.toString();let s=new Bw(r,k$),a,l=c=>{c.origin!==k$&&c.data.type!=="ready"||(r.contentWindow.postMessage(i,k$),a||(a=ut.subscribe(xl,u=>{s.publish({type:"theme-changed",theme:u.currentTheme})})),window.removeEventListener("message",l))};return{element:r,setCode:c=>(i.code=c,i.theme=dd,Promise.resolve()),execute:()=>window.addEventListener("message",l),dispose:()=>{a()}}}});We();async function gwe(e,t,o){Gt(e,{behavior:me.STARTPROCESS,contentTags:{scn:"Rest Try It",scnstp:"Request",scnnxtstp:"Response",isSuccess:!0},content:{event:"rest-tryit-run",authenticationMethod:t,fields:o}})}async function fwe(e,t){Se({behavior:me.COMPLETEPROCESS,actionType:Ee.OTHER,contentTags:{scn:"Rest Try It",scnstp:"Response",isSuccess:!0},content:{event:"rest-tryit-fetch-complete",status:t.status,method:e.method}})}function I$(e,t,o){o=o||{},o.mode="cors",o.cache="reload",o.method=e.httpVerb,e.body&&(o.body=e.body);let n=e.url,i=t.transform(new Request(n,o),e);return e.headers!==null&&e.headers.forEach(r=>{r.value!==""&&i.headers.set(r.name,r.value)}),i}function hwe(e){return fetch(e).then(t=>(fwe(e,t),t))}function bwe(e){let t={};t.statusCode=e.status.toString();let o=e.headers;return t.header="",o.forEach((n,i)=>{t.header+=`${i}: ${n} `}),/application\https://www.microsoft.com/json/i.test(e.headers.get("Content-Type")||"")&&t.statusCode!=="204"&&t.statusCode!=="404"?e.json().then(n=>(t.body=JSON.stringify(n,null,2),t)):e.text().then(n=>(t.body=n,t))}function P$(e,t,o=window){let n=o instanceof Window?window.pageYOffset:o.scrollTop,i=e-n,r;function s(a){r||(r=a);let l=a-r,c=Math.min(l/t,1);o instanceof Window?o.scrollTo(0,n+i*c):o.scrollTop=n+i*c,l
      ${o}
      ${a}
      ${n}
      `}function Wv(e,t){let o=e.querySelector(t);if(o&&I3(),o?.textContent){let n=o.getAttribute("data-language")||"";kR([{code:o.textContent,language:n,highlightLines:""}]).then(i=>{i[0]&&(o.innerHTML=i[0].html)})}}k();function vwe(e,t,o,n){let i=_we(o,n),r=d`

      ${Ite}

      ${L$({language:"http",code:i,attributes:{name:"http-request","aria-live":"polite","aria-atomic":"true",tabindex:"0"}})} `,s=document.createElement("div");x(r,s),e.appendChild(s),Wv(s,'pre[name="http-request"]');let a=s.querySelector('pre[name="http-request"]'),l=()=>{let c={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new cs(c));let u=_we(c,n);a.textContent=u,Wv(s,'pre[name="http-request"]')};t.subscribe(ii,l)}function _we(e,t){let o=I$(e,t),n=`${o.method} ${o.url} `;return o.headers.forEach((i,r)=>{n+=`${r[0].toUpperCase()}${r.substring(1)}: ${i} `}),n}k();var t5e="https://management.azure.com/subscriptions?api-version=2016-06-01",o5e=e=>{e.publish(new Gw);let t=new Request(t5e,{mode:"cors"});if(Ro.value===null)throw e.publish(new nf([])),new Error("error fetching subscription: authorization header no token");return t.headers.append("Authorization",`Bearer ${Ro.value.access_token}`),fetch(t).then(o=>o.ok?o.json().then(({value:n})=>(e.publish(new nf(n)),!0)):(o.text().then(n=>{throw new Error(`error fetching subscriptions: ${n}`)}),e.publish(new nf([])),!1),()=>!1)};function ywe(e,t){if(!t)return e;let o=e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase());if(o===-1)return e;let n=e.slice(0,o),i=e.slice(o,o+t.length),r=e.slice(o+t.length);return d`${n}${i}${r}`}function n5e(e,t){return d`${ywe(e.displayName,t)}${ywe(e.subscriptionId,t)}`}function R$(e,t){let o=t.map(({value:n,text:i,disabled:r,hidden:s,selected:a})=>{let l=document.createElement("option");return l.value=n,l.text=i,l.disabled=r??!1,l.hidden=s??!1,l.selected=a??!1,l});e.replaceChildren(...o)}function D5(e,t,o,n=!0,i={}){let r=document.createElement("div");r.classList.add("columns","field");let s=document.createElement("div");s.classList.add("column","is-5","param-name","field-label","margin-bottom-none","align-self-center");let a=document.createElement("div");a.classList.add("font-family-monospace","margin-right-none","font-size-xs");let l=document.createElement("label");l.classList.add("font-size-xs"),l.setAttribute("aria-label","parameter name "+o.name),l.textContent=o.name,a.appendChild(l),s.appendChild(a),r.appendChild(s);let c=document.createElement("div");c.classList.add("column","is-5","param-value","field-body","margin-top-none","align-self-center");let u=document.createElement("div"),p=document.createElement("p");p.classList.add("margin-block-none");let m=document.createElement("input");m.classList.add("input");let g=[],f=document.createElement("div");f.classList.add("select");let _=document.createElement("select");o.type==="boolean"&&(g.push("True"),g.push("False"));let h=o.type==="azure-subscriptions"&&o.name==="subscriptionId",y=[],v="",T=null,I=null,A=()=>{let J=I,Le=J?.querySelector("input");if(!(!J||!Le)){if(y.length===0||Le.value&&!J.value){Le.setCustomValidity(l0);return}Le.setCustomValidity("")}},O=document.createElement("div");O.classList.add("subscription-id"),O.textContent="";let D=J=>{let Le=J.restTryItRequest,Ve;h?Ve=I?.value?.subscriptionId??"":o.type==="boolean"||o.type==="azure-subscriptions"||o.type==="enum"?Ve=_.value:Ve=m.value,n?Le.headers.push({name:o.name,value:Ve,type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:!1}):Le.params.push({name:o.name,value:Ve,type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:o.skipUrlEncoding})};switch(o.type){case"boolean":case"azure-subscriptions":case"enum":if(h){T={input:{id:o.name+"-autocomplete",placeholder:Dt,label:"select parameter value option for "+o.name,isFullWidth:!0,required:o.isRequired,disabled:!0},getSuggestions:J=>{v=J.trim();let Le=v.toLowerCase();return Promise.resolve(y.filter(Ve=>Ve.normalizedDisplayName.includes(Le)||Ve.normalizedSubscriptionId.includes(Le)))},getTitle:J=>J.displayName,itemTemplate:J=>n5e(J,v),noResultsTemplate:l0,showOnFocus:!0,selectOnBlur:!0},I=Ti(T),I.addEventListener(ls,()=>{A(),t.publish(new ii)}),I.addEventListener("input",()=>{A(),t.publish(new ii)}),c.appendChild(I);break}if(g.length>=1){let J=document.createElement("option");J.value="",J.selected=!0,J.disabled=!0,J.hidden=!0,J.text="Select",_.appendChild(J)}g.forEach(J=>{let Le=document.createElement("option");Le.value=J,Le.text=J,_.appendChild(Le)}),o.isRequired&&_.setAttribute("required","true"),_.setAttribute("aria-label","select parameter value option for "+o.name),_.onchange=()=>{t.publish(new ii),_.textContent!==_.value&&(O.textContent=_.value)},o.name==="subscriptionId"&&(_.disabled=!0,R$(_,[{value:"",text:"Login to load..."}])),f.appendChild(_),c.appendChild(f);break;case"array":break;case"object":break;default:m.setAttribute("value",o.value),o.isRequired&&m.setAttribute("required","true"),m.setAttribute("aria-label","enter parameter value for "+o.name),m.onblur=()=>{t.publish(new ii)},p.appendChild(m),u.appendChild(p),c.appendChild(u);break}o.isRequired&&l.insertAdjacentHTML("beforeend",''),r.appendChild(c);let le=document.createElement("div");le.classList.add("column"),le.classList.add("is-2"),le.classList.add("delete-button");let ye=document.createElement("button");return ye.classList.add("button"),ye.classList.add("docon"),ye.classList.add("docon-navigate-close"),o.isRequired&&(ye.style.visibility="hidden"),ye.setAttribute("aria-label",gK),ye.setAttribute("type","button"),le.appendChild(ye),r.appendChild(le),ye.onclick=J=>{r.parentElement.removeChild(r),t.unsubscribe(cs,D),t.publish(new ii),J.preventDefault()},e.appendChild(r),t.subscribe(cs,D),n||o.name==="subscriptionId"&&(t.subscribe(Gw,()=>{h?(y=[],T&&(T.input.disabled=!0,T.input.placeholder=Dt),I&&(I.clear(),A())):(R$(_,[{value:"",text:""}]),_.disabled=!1)}),t.subscribe(nf,J=>{let Le=[...J.subscriptions].sort((Ve,Ct)=>Ve.displayName.localeCompare(Ct.displayName,void 0,{sensitivity:"base"})).map(Ve=>({...Ve,normalizedDisplayName:Ve.displayName.toLowerCase(),normalizedSubscriptionId:Ve.subscriptionId.toLowerCase()}));if(h){y=Le;let Ve=Le.length>0;T&&(T.input.disabled=!1,T.input.placeholder=Ve?io:l0),I&&(Ve?I.value=Le[0]:I.clear(),A()),t.publish(new ii);return}Le.length===0?(R$(_,[{value:"",text:"Error"}]),_.value=""):(R$(_,Le.map(({displayName:Ve,subscriptionId:Ct})=>({value:Ct,text:Ve}))),_.value=Le[0].subscriptionId,_.hidden=!1,_.disabled=!1),O.textContent=Le[0]?.subscriptionId??"",t.publish(new ii)})),o.type==="string"&&o.in==="query"&&i[o.name]!==void 0&&i[o.name].indexOf(o.name)===-1&&(m.value=i[o.name],t.publish(new ii)),o.name==="subscriptionId"&&o5e(t),{nameInput:l,valueInput:m,delButton:ye,columnContainer:r}}function z5(e,t,o=!0){let n=document.createElement("div");n.classList.add("columns");let i=document.createElement("div");i.classList.add("column","is-5","param-name");let r=document.createElement("div");r.classList.add("field-body");let s=document.createElement("p");s.classList.add("control");let a=document.createElement("input");a.classList.add("input"),a.setAttribute("placeholder","name"),a.setAttribute("aria-label","add new parameter name"),s.appendChild(a),r.appendChild(s),i.appendChild(r);let l=document.createElement("div");l.classList.add("error-message"),l.setAttribute("role","alert"),i.appendChild(l),n.appendChild(i),a.onblur=()=>{a.value!==""&&l.textContent!==""&&i.removeChild(l)};let c=document.createElement("div");c.classList.add("column","is-5","param-value");let u=document.createElement("div");u.classList.add("field-body");let p=document.createElement("p");p.classList.add("control");let m=document.createElement("input");m.classList.add("input"),m.setAttribute("type","text"),m.setAttribute("placeholder","value"),m.setAttribute("aria-label","add new parameter value"),p.appendChild(m),u.appendChild(p),c.appendChild(u),n.appendChild(c);let g=document.createElement("div");g.classList.add("column","is-2","add-button");let f=document.createElement("button");f.classList.add("button","button-clear","button-success","docon","docon-math-plus"),f.setAttribute("type","button"),f.setAttribute("aria-label",N9),g.appendChild(f),n.appendChild(g),e.appendChild(n);let _=h=>{let y=a.value,v=m.value;if(y===""){l.textContent=UK,i.appendChild(l),h.preventDefault();return}let T;o?T="header":document.querySelector(".url-input").value.indexOf("{"+y+"}")!==-1?T="path":T="query",n.parentElement.removeChild(n),t.publish(new jv({name:y,value:v,type:"string",in:T,isRequired:!1,skipUrlEncoding:!1}))};return f.onclick=h=>{_(h)},{nameInput:a,valueInput:m,addButton:f,columnContainer:n}}function N5(e,t,o,n=!0,i={}){let r=document.createElement("div"),s=document.createElement("div");s.classList.add("columns");let a=document.createElement("div");a.classList.add("column","is-5","param-heading");let l=document.createElement("h3");n?l.textContent=oA:l.textContent=Eee,a.appendChild(l),s.appendChild(a),r.appendChild(s);let c=document.createElement("div");c.classList.add("param-form-group");for(let p of o)D5(c,t,p,n,i);z5(c,t,n),r.appendChild(c),e.appendChild(r);let u=p=>{(p.param.in==="header"&&n||p.param.in!=="header"&&!n)&&(D5(c,t,p.param,n),z5(c,t,n),t.publish(new ii))};return t.subscribe(jv,u),c}var F5="";function Twe(e,t,o,n){let{url:i,urlParams:r}=i5e(o.url);F5=i;let s=document.createElement("div");s.classList.add("request-section"),r5e(s,t,i,o.httpVerb),N5(s,t,o.params,!1,r),N5(s,t,o.headers,!0),o.body!==null&&a5e(s,t,o.body),vwe(s,t,o,n);let a=document.createElement("div");a.classList.add("request-section"),s.appendChild(a);let l=l5e(a,t);return e.appendChild(s),l}function i5e(e){let t=e,o={},n=e.indexOf("?");if(n!==-1){let i=e.substr(n);t=e.substr(0,n),o=ce(i)}return{url:t,urlParams:o}}function r5e(e,t,o,n){let i=document.createElement("div");i.classList.add("field");let r=document.createElement("h3");r.classList.add("field-label","margin-bottom-none"),r.textContent=MN,i.appendChild(r);let s=document.createElement("div");s.classList.add("field-body","url-group","margin-top-none");let a=document.createElement("div");a.classList.add("http-verb");let l=document.createElement("span");l.textContent=n,a.appendChild(l);let c=document.createElement("input");c.setAttribute("name","url"),c.readOnly=!0,c.classList.add("url-input","input"),c.setAttribute("aria-label",MN),c.setAttribute("value",o),s.appendChild(a),s.appendChild(c),i.appendChild(s),e.appendChild(i),t.subscribe(cs,p=>{let m=p.restTryItRequest;m.url=o,m.httpVerb=l.textContent});let u=()=>{let p={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new cs(p)),o=F5;let m=F5;p.params.forEach(g=>{o=xwe(o,g),m=xwe(m,g)}),c.value=m};return t.subscribe(ii,u),{inputUrl:c}}function xwe(e,t){return t.in==="path"&&t.value!==""?e=e.replace("{"+t.name+"}",s5e(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 s5e(e){return e.skipUrlEncoding?e.value:encodeURIComponent(e.value)}function a5e(e,t,o){let n=document.createElement("div"),i=document.createElement("h3");i.textContent=Nf,n.appendChild(i);let r=document.createElement("textarea");return r.setAttribute("name",Nf),r.textContent=o,r.classList.add("textarea","request-body","tall","small"),r.setAttribute("aria-label",Nf),n.appendChild(r),e.appendChild(n),t.subscribe(cs,s=>{let a=s.restTryItRequest;a.body=r.value}),{bodyText:r}}function l5e(e,t){let o=d``;x(o,e);let n=e.querySelector('button[type="submit"]');return t.subscribe(of,()=>{n.classList.remove("is-loading")}),n}k();var Swe;function Cwe(e,t){Swe=e,t.subscribe(Yv,o=>{c5e(Swe,o.response)})}function c5e(e,t){let o=e.querySelector(".response-section");o&&o.remove();let n=d` ${u5e(t.statusCode)} ${wwe(oA,t.header,"http","response-header")} ${t.body!==null?wwe(Nf,t.body,"json","response-body"):""} `,i=document.createElement("div");i.classList.add("response-section"),x(n,i),e.appendChild(i),Wv(i,".response-header"),t.body!==null&&Wv(i,".response-body")}function u5e(e){return d`

      ${Lte}: ${e}

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

      ${e}

      ${L$({language:o,code:t,cssClasses:n})}
      `}var Ewe={prompt:Zi,type:"oauth2",login:async e=>{await w$(e)},transform:e=>(Ro.value!==null&&e.headers.set("Authorization",`Bearer ${Ro.value.access_token}`),e)},d5e={prompt:Q9,type:"APIKey",login:async()=>{},transform:e=>e};function Awe(e){return{oauth2:Ewe,apiKey:d5e}[e]||Ewe}var Iwe=null,M$,Sp;function Pwe(){return Sp=S.createElement("div"),Sp.style.height="100%",Sp.setAttribute("aria-live","polite"),Sp.setAttribute("aria-atomic","true"),Sp.tabIndex=-1,Iwe=g5e(b.data.restAPIData),M$=Awe("oauth2"),p5e(Sp),Sp}async function p5e(e){e.contains(S.activeElement)&&e.focus(),await M$.login(e),m5e(e)}function m5e(e){let t=S.createElement("form");t.classList.add("rest-tryit-form");let o=S.createElement("div");o.classList.add("signin-section"),h5e(o),t.appendChild(o),e.insertAdjacentElement("afterbegin",t);let n=new Be;b5e(t,n,Iwe),Cwe(t,n),setTimeout(()=>{Sp.setAttribute("aria-live","off")},0)}function g5e(e){let t={url:e.path,httpVerb:e.httpVerb,headers:[],params:[],body:e.requestBody};return(e.httpVerb==="PUT"||e.httpVerb==="POST"||e.httpVerb==="PATCH")&&t.headers.push({name:"Content-Type",value:"applicationhttps://www.microsoft.com/json",type:"string",in:"header",isRequired:!0,skipUrlEncoding:!1}),e.requestHeader.forEach(o=>{o.in==="header"&&t.headers.push({name:o.name,value:"",type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:!1})}),e.uriParameters.forEach(o=>{(o.in==="path"||o.in==="query"||o.in==="formData")&&t.params.push({name:o.name,value:"",type:o.type,in:o.in,isRequired:o.isRequired,skipUrlEncoding:o.skipUrlEncoding})}),t}var kwe={light:"light",dark:"dark","high-contrast":"high-contrast"};function f5e(e){let t=w.authenticationMode==="AAD"?"org":"personal",o=S.getElementById("profile-icon");o&&(o.src=`/en-us/media/profile/${t}-account${kwe[e]==="light"?"":"-dark-highcontrast"}.svg?branch=live`);let n=S.getElementById("exit-icon");n&&(n.src=`/en-us/media/profile/fluent-arrow-exit-20-regular${kwe[e]==="light"?"":"-dark-hc"}.svg?branch=live`)}function h5e(e){ut.subscribe(xl,s=>f5e(s.currentTheme));let t=pd(),n=`/en-us/media/profile/${w.authenticationMode==="AAD"?"org":"personal"}-account${t==="light"?"":"-dark-highcontrast"}.svg?branch=live`,i=`/en-us/media/profile/fluent-arrow-exit-20-regular${t==="light"?"":"-dark-hc"}.svg?branch=live`,r=d`

      REST API ${hh}

      ${Bae}


      ${w.upn}

      ${U0}

      ${Ro.value.display_name}

      `;x(r,e)}function b5e(e,t,o){let n=Twe(e,t,o,M$);t$(e),e.onsubmit=r=>{_5e(n,t,M$),r.preventDefault()};let i=r=>{let s=r.restTryItRequest,a=r.security,l=I$(s,a);hwe(l).then(c=>{bwe(c).then(u=>{t.publish(new Yv(u)),t.publish(new of)}).then(()=>{let u=S.querySelector(".rest-tryit-form"),{scrollTop:p}=u,{height:m}=S.querySelector(".request-section").getBoundingClientRect();p>=m||P$(m,500,u)})}).catch(c=>{let u=e.querySelector('.request-section button[type="submit"]'),p=S.createElement("span");throw p.classList.add("border-none","color-danger","display-inline-block","font-size-medium","font-weight-semibold","padding-top-xxs"),p.textContent=Vae,u&&u.parentElement.append(p),t.publish(new of),c})};t.subscribe(Vw,i)}function _5e(e,t,o){e.classList.add("is-loading");let n={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new cs(n)),gwe(e,o.type,v5e(n)),t.publish(new Vw(n,o))}function v5e(e){return e.headers.concat(e.params).map(t=>({[t.name]:!!t.value.length}))}Mg();Rg({name:"http",activateButtonConfig:{name:hh,iconClass:"docon docon-play",attributes:[]},create:()=>({element:Pwe(),setCode:()=>Promise.resolve(),execute:()=>Promise.resolve(),dispose:()=>{}})});async function y5e(){let e={};b.data.mathjax?.macros&&(e=b.data.mathjax.macros),H.MathJax={showMathMenu:!1,showMathMenuMSIE:!1,tex:{inlineMath:[["$","$"],["\\(","\\)"]],processEscapes:!0,macros:e}}}async function x5e(){let e="/static/third-party/MathJax/3.2.2/tex-mml-chtml.js";return S.querySelector(`script[src="http://approjects.co.za/?big=${e}"]`)?.remove(),Xs(e,"sha384-Wuix6BuhrWbjDBs24bXrjf4ZQ5aFeFWBuKkFekO2t8xFU0iNaLQfp2K6/1Nxveei")}async function q5(){(P("show_latex")==="true"||b.data.pageTemplate==="ModuleUnit")&&xe.then(y5e).then(x5e)}function Lwe(){let e=R.reviewFeatures===!0&&(R.accessLevel==="local"||R.supportLevel==="development"&&R.accessLevel==="online"||Ht),t=document.querySelector("html");e&&t&&t.classList.add("show-deprecation-warning")}Lwe();k();var UWt=new Be,Rwe,Mwe=!1,$we,Dwe,zwe,D$=0,$$=0,Qw=0,O5=.125,U5=!1,T5e=d` 1% `;async function Nwe(){if(!C.gamification||C.chromeless)return;await m$;let e=document.querySelector("#level-status-container"),t=document.querySelector("#level-status");!e||!t||(x(T5e,t),xe.then(()=>{w.whenAuthenticated().then(()=>{let o;b.data.pageTemplate==="Module"?o=new Si("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressModule"):b.data.pageTemplate==="LearningPath"?o=new Si("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressLearningPath"):b.data.pageTemplate==="ModuleUnit"&&(o=new Si("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressUnit")),o?.start(),$we=document.querySelector("#level-status-text"),Dwe=document.querySelector("#level-status-progress"),zwe=document.querySelector("#level-status-points");let n=t.querySelector("a");n!==null&&n.setAttribute("href",uo(w.userName)),o?.updateProgress("Fetching game status"),kv.getStatus(w.userId).then(i=>{o?.updateProgress("Fetched game status"),qwe(i),Mwe=!0,e.classList.remove("is-hidden"),o?.succeed()}).catch(i=>{o?.fail(i)})})}))}function S5e(e,t,o,n){e.currentLevel>Rwe&&(U5=!0),Rwe=e.currentLevel,w5e(t,e.currentLevel),C5e(o,e,Mwe),A5e(n,e.currentLevelHigh-e.currentLevelLow,e.currentLevelPointsEarned)}function w5e(e,t){e&&(e.textContent=`${aX.replace("{number}",t.toString())}`)}function C5e(e,t,o){if(e){if($$=k5e(t.currentLevelHigh,t.currentLevelLow,t.currentLevelPointsEarned),e.textContent=`${$$}%`,!o){H.cancelAnimationFrame(D$),e.value=Qw=$$;return}E5e(e)}}function E5e(e){D$||(D$=Fwe(e))}function Fwe(e){return U5||e.value<$$?(Math.floor(Qw+O5)>=100&&(U5=!1),Qw=Qw+O5,e.value=Math.floor(Qw+O5)%100,H.requestAnimationFrame(()=>{D$=Fwe(e)})):0}function A5e(e,t,o){if(!e)return;let n=d`${o}/${h2.replace("{totalXP}",t.toString())}`;x(n,e)}function k5e(e,t,o){let n=e-t,i=o/n;return Math.floor(i*100)}function qwe(e){C.chromeless||S5e(e,$we,Dwe,zwe)}We();async function Owe(){if(!b.data.isPermissioned)return;let e=I5e();e&&Jt(e)}function I5e(){return b.data.permissionedType==="secret"||b.data.permissionedType==="private"?TK:null}function P5e(e,t){return d``}async function rf(e,t){let o=document.createElement("div");o.classList.add("modal-content");let n=new we(o);return x(P5e(e,t),o),n.show()}function Uwe(e,t,o){b.data.isPermissioned&&e.addEventListener("click",function(n){n.preventDefault(),rf(t,o)})}function Hwe(){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 ec,H5={},B5={},V5={},G5={},Q5={},Ww={};async function L5e(){let e=R.supportLevel==="production"&&!Ht?"/country/countryRegion.json":"/test/country/countryRegion-dev.json",t=await $(e);if(!t.ok||t.status!==200)return[];try{return(await t.json()).countries}catch{return[]}}function Yw(e,t,o){let n={};return e.forEach(i=>{let r=i[t],s=i[o];n[r]=s}),n}function R5e(e){let t={};return e.forEach(o=>{if(o.statesOrProvinces?.length>0){let n={};o.statesOrProvinces.forEach(i=>{n[i.code]=i.displayName}),t[o.ISOAlpha3Code]=n}}),t}async function Bwe(){if(!(ec&&ec.length>0)&&(ec=await L5e(),!!ec))return H5=Yw(ec,"ISOAlpha2Code","displayName"),B5=Yw(ec,"ISOAlpha2Code","phoneCountryCode"),V5=Yw(ec,"ISOAlpha3Code","displayName"),G5=Yw(ec,"ISOAlpha3Code","ISOAlpha2Code"),Q5=Yw(ec,"ISOAlpha2Code","ISOAlpha3Code"),Ww=R5e(ec),Promise.resolve()}k();var j5,Vwe=()=>(j5===void 0&&(j5=Eg()),j5);k();function Y5(e){return e.slice(-2).toUpperCase()}function $5e(e,t){let o=Y5(e);return t.length===2?o===t:t.length===3?o===G5[t]:!1}function Kv(e,t,o){let n=[],i=b.data.userLocale;for(let r in e){let s=$5e(i,r),a=r,l=e[r];t==="phone"&&o&&(a=e[r],l=`${o[r]} (+${e[r]})`),n.push(d``)}return n.length===0&&n.push(d``),n}k();function Gwe(){window.addEventListener("form-validating",e=>{let t=Kw(e.detail.form),o=N$(t);e.detail.errors?.length>=0&&(J5(e.detail.form,e.detail.errors),D5e(e.detail.form,e.detail.errors),z5e(e.detail.form,e.detail.errors),V5e(e.detail.form,e.detail.errors),B5e(e.detail.form,e.detail.errors),Q5e(e.detail.form,e.detail.errors),j5e(e.detail.form,e.detail.errors)),t&&!t.querySelector("[data-warning-icon-container]")&&z$(t),o&&W5(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;Jw(t)}),window.addEventListener("submission-error",e=>{let t=Kw(e.detail.form);O5e(e.detail.request,e.detail.response,e.detail.form),U5e(e.detail.request,e.detail.response,e.detail.form),z$(t),G5e(e.detail.request,e.detail.response,e.detail.form)})}function D5e(e,t){let o=e.querySelector("[data-tag-input]");if(o&&t.filter(n=>n.input===o).length===0){let n=N5e(o),i=li(o).querySelector("[data-tag-input-holder]");n&&(Su(e,t,o,n,i),Vi(i,n));let r=F5e(o);r&&r.length>0&&r.forEach(s=>{Su(e,t,o,s,i),Vi(i,s)})}}function z5e(e,t){let o=e.querySelector("#attachment-count");if(o&&t.filter(n=>n.input===o).length===0){let n=q5e(o),i=li(o);if(n){let r=i.querySelector('[data-id="docs-markdown-editor"]'),s=i.querySelector("#markdown-editor");Su(e,t,o,n,r??void 0,s?.id??void 0),jwe(o,n)}}}function z$(e){if(!e.querySelector(".docon-status-warning-outline-rounded")){let o=document.createElement("span");o.classList.add("docon","docon-status-warning-outline-rounded","margin-right-xxs"),o.ariaHidden="true",o.setAttribute("data-warning-icon-container",""),e.prepend(o)}}function W5(e){e.querySelectorAll("a").forEach(t=>t.classList.add("text-decoration-underline","has-line-height-reset"))}function N5e(e){let t=e.getAttribute("minTags"),o=e.getAttribute("maxTags"),n=e.value===""?0:e.value.split(",").length;if(!t||!o)return null;if(!n||nNumber(o)){let i=iz(e);return`${ple.replace("{min}",t).replace("{max}",o).replace("{tagLabel}",i.toLocaleLowerCase())}`}return null}function F5e(e){let t=e.value.split(","),o=[];for(let n of t){let i=document.getElementById(n);if(!i)continue;let r=i.innerText;i.getAttribute("active")!=="false"||o.push(`${mle.replace("{tagLabel}",r)}`)}return o.length>0?o:null}function q5e(e){if(e instanceof HTMLInputElement){let t=e.getAttribute("maxCount"),o=Number(e.value);if(t&&o&&o>Number(t))return jee.replace("{maximumCount}",t)}return null}async function O5e(e,t,o){if(t.status===412&&e.url.includes("api/question"))try{if((await t.json()).code==="processed-attachment-failure"){K5(o);let n=[],i=o.querySelector("#attachment-count"),r=o.querySelector('textarea[name="body"]');Vi(r,pN),Su(o,n,i,pN,li(i).querySelector('[data-id="docs-markdown-editor"]')??void 0)}}catch{}}async function U5e(e,t,o){if(t.status===400&&e.url.includes("api/question"))try{if((await t.json()).errorCode==="processed-user-mention-failure"){K5(o);let n=[],i=o.querySelector('textarea[name="body"]'),r=Yee.replace("{maximumCount}","10");Vi(i,r),Su(o,n,i,r,o.querySelector("#markdown-editor")??void 0)}}catch{}}function Kw(e){return e.querySelector("[data-form-error-alert]")??null}function N$(e){return e.querySelector("ul")??null}function K5(e){let t=e.querySelector("[data-form-error-alert] > ul");t&&(t.innerHTML="")}function Su(e,t,o,n,i,r,s){if(t.find(m=>m.message===n))return;let a=Qwe(e),c=o.hasAttribute("data-tag-input")?o.parentElement?.querySelector("input.autocomplete-input")?.id:o.id;li(o).classList.add("errored");let p=document.createElement("a");p.href=`${s?"":"#"}${r||c}`,p.textContent=n,p.classList.add("help","help-danger","text-decoration-underline","has-line-height-reset"),a.append(p),i?.classList.add("border","border-color-danger"),t.push({input:o,message:n})}function Qwe(e){let t=Kw(e),o=N$(t),n=document.createElement("li");return n.classList.add("margin-bottom-xs"),t&&o&&(o.appendChild(n),t.hidden=!1,t.focus(),t.scrollIntoView()),n}function jwe(e,t){let n=li(e).querySelector("[data-field-error-custom]")||H5e(e);n.textContent=t}function H5e(e){let t=document.createElement("p");return t.id=tt(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("help","help-danger"),t.setAttribute("data-field-error-custom",""),Pf(e).after(t),t}function Jw(e){if(e instanceof HTMLInputElement){let t=li(e),o=e.hasAttribute("data-tag-input"),n=t.querySelector("docs-markdown-editor"),i=e.getAttribute("type")==="email";if(o){let r=t.querySelector("[data-tag-input-holder]");r&&r.classList.remove("border","border-color-danger")}if(n){let r=t.querySelector('[data-id="docs-markdown-editor"]');r&&r.classList.remove("border","border-color-danger")}i&&t.querySelector("[type=email]")?.classList?.remove("border","border-color-danger"),jwe(n??e,""),t.classList.remove("errored")}}function B5e(e,t){let o=e.querySelector("#question-body"),n=document.querySelector("docs-markdown-editor")?.parentElement,i=t.filter(r=>r.input===o);if(i&&i.length>0&&n){let r=e.querySelector('[data-form-error-container] a[href="http://approjects.co.za/?big=#question-body"]');if(r){r.addEventListener("click",()=>{setTimeout(()=>{window.location.hash="markdown-editor",n.focus()},0)});let s=e.querySelector('[data-id="docs-markdown-editor"]');s&&s.classList.add("border","border-color-danger")}}}function V5e(e,t){let o=e.querySelector('textarea[name="body"]');if(!o)return;let n=o.value.match(/(?:!\[(.*?)\]\((.*?)\))/gm);if(!n)return;let i=!1,r=[],s=[".microsoft.com/",".githubusercontent.com/",".github.com/","azure.net/",".azureedge.net/",".windows.net/",".office.net/",".visualstudio.com/",".linkedin.com/",".imgur.com/",".giphy.com/"],a=new RegExp("https?://.*.(?:png|jpg|jpeg|gif|svg|webp)","gi");if(n.forEach(l=>{let c=l.match(a);c&&!s.some(u=>c[0].includes(u))&&(i=!0,r.push(c[0]))}),i){let l=li(o);Su(e,t,o,Ese.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 G5e(e,t,o){if(o&&t.status===422&&e.url.includes("api/questions/admin/users"))try{if((await t.json()).errorCode==="validation-failure"){K5(o);let n=e.url.includes("/suspend")?Wee:Kee,i=Qwe(o);i.innerText=n}}catch{}}async function Q5e(e,t){if(!e?.getAttribute("data-suspended"))return;let n=e.querySelector('textarea[name="body"]');Su(e,t,n,Jee,void 0,"https://aka.ms/msftqacodeconduct",!0)}function J5(e,t){let o=e.querySelector("input[type=email]");o&&o.validity.typeMismatch&&(Vi(o,mN),Su(e,t,o,mN,o))}function j5e(e,t){let o=e.querySelector('input[data-lang*="en-"]'),n=b.data.userLocale||"en-us";if(!o||!n.startsWith("en-"))return;/[^\p{M}|\p{N}|\p{S}|\p{P}|\p{Z}|\p{C}|\p{Script=Latin}|\p{Emoji_Presentation}]/gu.test(o.value)&&(Vi(o,gN),Su(e,t,o,gN,o))}k();function Y5e(e){let t=e.metadata.map(o=>d``);return d`${t}`}function Ywe(e){let t=d`
      ${Y5e(e)}
      `,o=document.createElement("div");x(t,o),document.body.appendChild(o),document.getElementById("pearson-vue-hidden-redirect-form").submit()}k();function Wa(e){return document.getElementById(e).value}function Jv(e,t,o,n,i="text",r=50,s=0){return d`
      `}function Z5(e,t,o){return d`
      `}function X5(e){return d`
      ${e}
      `}var W5e=()=>{let o=new URL(window.location.href).searchParams.get("examUrl")||"";o?location.href=ir(o).toString():window.history.back()};function Wwe(){let e=Y5(b.data.userLocale),t=Q5[e],o=Ww[t];return d`

      ${B7}

      ${V7}

      ${ma}

      ${Jv("address1",K7,bz,!0,"text",40)}
      ${Jv("address2",J7,bz,!1,"text",40)}
      ${Jv("city",Z7,oQ,!0,"text",32)}
      ${Z5("state",X7,Kv(o,"country"))}
      ${Z5("countryRegion",jy,Kv(V5,"country"))}
      ${Jv("postalCode",eQ,nQ,!0,"text")}

      ${N(G7)}

      ${Z5("phoneCountryCode",tQ,Kv(B5,"phone",H5))}
      ${Jv("phoneNumber",kee,iQ,!0,"tel")}
      ${Jv("contactEmail",Yz,rQ,!0,"email",255,6)}

      ${Q7}

      ${j7}

      ${Y7}


      ${N(W7)}

      `}function K5e(e){return d`
      ${e}
      `}function eV(e,t){t&&x(K5e(e),t)}var Kwe=!0;function Jwe(e){window.addEventListener("form-validating",n=>{aVe(n.detail.errors),Kwe=n.detail.errors.length===0}),e.addEventListener("beforesubmit",async n=>{if(!Kwe){n.preventDefault();return}let i=n.detail.form.querySelector("#schedule-pearson-submit");n.detail&&(n.preventDefault(),n.detail.callback=async()=>{i?.classList.add("is-loading");try{await Z5e(n)}catch{let s=n.detail.form.querySelector("#ms--error-container");eV(Wi,s)}finally{i?.classList.remove("is-loading")}})}),window.addEventListener("clear-validation-errors",n=>{let i=n.detail.target;Jw(i)});let t=document.getElementById("countryRegion"),o=document.getElementById("state");t.addEventListener("change",()=>{let n=Wa("countryRegion"),i=Ww[n];x(Kv(i,"country"),o)})}function J5e(e){let t=/^exam\.(.+)$|^(.+)$/,o=e.match(t);return o?o[1]||o[2]:""}async function Z5e(e){let o=new URL(window.location.href).searchParams,n=o.get("examUrl")||"",i=o.get("examUid")||"",r=o.get("locale")||P("locale")||"en-us",s=o.get("action")||"",a={address1:Wa("address1"),address2:Wa("address2"),city:Wa("city"),state:Wa("state"),countryRegion:Wa("countryRegion"),postalCode:Wa("postalCode"),phoneCountryCode:Wa("phoneCountryCode"),phoneNumber:Wa("phoneNumber"),contactEmail:Wa("contactEmail")},l=s?{addressInfo:a,returnUrl:"placeholder",locale:"en-us",examUid:"placeholder"}:{addressInfo:a,returnUrl:n,locale:r,examUid:J5e(i)},c=Zo(),u=z.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=Wi;try{let f=await fetch(u,p);if(!f.ok)f.status===400&&(g=TZ),eV(g,m);else{let _=await f.json();Ywe(_)}}catch{eV(g,m)}}var X5e=new RegExp("^[\\x20-\\x21\\x23-\\x3B\\x3F-\\x5B\\x5D-\\x7F]+$"),eVe=new RegExp("^[0-9]{5}([0-9]{4})?$"),tVe=new RegExp("^[A-Za-z][0-9][A-Za-z][0-9][A-Za-z][0-9]$"),oVe=new RegExp("^(['A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*['.A-Za-z0-9_-]+@([A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*[A-Za-z0-9]\\.[a-zA-Z]{2,12}$"),nVe=new RegExp("^(?!0*$)[0-9]*$"),iVe=new RegExp("^(?!0*$)\\d{3}\\d{3}\\d{4}$"),rVe=new RegExp("^[^.].*[^.]$|^$");function sVe(e,t){return e?t.test(e):!0}function Zw(e,t,o,n,i){if(!sVe(e,o)){let s=`${n.replace("{inputLabel}",document.querySelector(`label[for="${t.id}"]`)?.textContent||"")}`;Vi(t,s),lVe(i,t,s)}let r=`${gn} ${n}`;pt(r,"assertive")}function aVe(e){let t=document.getElementById("address1"),o=document.getElementById("address2"),n=document.getElementById("city"),i=document.getElementById("postalCode"),r=document.getElementById("phoneNumber"),s=document.getElementById("contactEmail"),a=document.getElementById("phoneCountryCode"),l=document.getElementById("countryRegion");[t,o,n].forEach(p=>Zw(p.value,p,X5e,xZ,e)),Zw(r.value,r,a.value==="1"?iVe:nVe,CZ,e),Zw(i.value,i,l.value==="USA"?eVe:l.value==="CAN"?tVe:/.*/,l.value==="USA"?SZ:l.value==="CAN"?wZ:"",e),Zw(s.value,s,oVe,bZ,e),[t,o,n,i,r,s].forEach(p=>Zw(p.value,p,rVe,tA,e))}function lVe(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function cVe(e){try{return e.origin.includes("microsoft")}catch{return!1}}function uVe(e,t){let o=t.get("examUid"),n=t.get("examUrl");return!!(o&&n&&cVe(e))}function dVe(e,t){return!!t.get("action")}function Zwe(e=new URL(location.href)){let t=new URLSearchParams(e.search);return uVe(e,t)||dVe(e,t)}function Xwe(e,t){let o=new URL(uo("me","settings")),n=P("locale")||"en-us",i=ce(o.search),r=new URLSearchParams({examUrl:e,examUid:t,locale:n,context:"exam",...i});return o.search=r.toString(),o.toString()}async function pVe(){if(await Vwe(),!w.legalName?.first){let e=new URLSearchParams(location.search),t=e.get("examUid")||"",o=e.get("examUrl")||"";return location.href=Xwe(o,t),!0}return!1}async function mVe(){return Te.then(async()=>w.isAuthenticated?await pVe()?Promise.reject():X5(Wwe()):(Oo(location.href),Promise.reject()))}async function eCe(){if(!P("scheduleThroughPearsonVue"))return;let t=document.querySelector("[data-main-column]");if(!t)return;await Bwe();let o=window.location.origin;if(!Zwe()){location.href=`${o}/credentials`;return}let n=In(await mVe(),X5(d`${Dt}`));x(n,t);let i=document.getElementById("pearson-vue-registration");i&&Jwe(i)}var F$="image-browser-close-event";function tCe(e,t){let n={horizontal:0,vertical:0};t.addEventListener("keypress",i=>{i.which===Re.enter&&(i.preventDefault(),e.toggleExpand())}),t.addEventListener("keydown",i=>{let r=i.which||i.keyCode;switch(r){case Re.left:i.preventDefault(),n.horizontal=1;break;case Re.right:i.preventDefault(),n.horizontal=-1;break;case Re.up:i.preventDefault(),n.vertical=1;break;case Re.down:i.preventDefault(),n.vertical=-1;break}[Re.left,Re.right,Re.up,Re.down].indexOf(r)>-1&&e.panViewport(5*n.horizontal,5*n.vertical)}),t.addEventListener("keyup",i=>{switch(i.which||i.keyCode){case Re.left:i.preventDefault(),n.horizontal=0;break;case Re.right:i.preventDefault(),n.horizontal=0;break;case Re.up:i.preventDefault(),n.vertical=0;break;case Re.down:i.preventDefault(),n.vertical=0;break}})}var Ka={dragging:!1,prevX:0,prevY:0},q$=null;function oCe(e,t){q$=q$||(o=>{if(e.state.expanded)if(o.buttons%2){o.preventDefault(),Ka.dragging=!0;let n=o.movementX||!isNaN(Ka.prevX)?o.screenX-Ka.prevX:0,i=o.movementY||!isNaN(Ka.prevY)?o.screenY-Ka.prevY:0;e.panViewport(n,i)}else Ka.dragging&&setTimeout(()=>{Ka.dragging=!1},0);else Ka.dragging=!1;Ka.prevX=o.screenX,Ka.prevY=o.screenY}),S.removeEventListener("mousemove",q$),S.addEventListener("mousemove",q$),t.addEventListener("dragstart",o=>{o.preventDefault()}),t.addEventListener("click",o=>{Ka.dragging||(o.preventDefault(),e.toggleExpand(o.offsetX,o.offsetY))})}var nCe=`
      `;function iCe(e,t){let o={touches:[]};t.addEventListener("touchstart",n=>{e.state.expanded&&(n.preventDefault(),Array.from(n.changedTouches).forEach(({identifier:i,screenX:r,screenY:s})=>{o.touches.push(Object.assign({},{identifier:i,screenX:r,screenY:s}))}))}),t.addEventListener("touchmove",n=>{if(e.state.expanded){n.preventDefault();let i=o.touches.map(l=>l.identifier),r=Array.from(n.changedTouches).filter(l=>l.identifier===o.touches[0].identifier);if(!r[0])return;let s=r[0].screenX-o.touches[0].screenX,a=r[0].screenY-o.touches[0].screenY;Array.from(n.changedTouches).forEach(l=>{let c=i.indexOf(l.identifier);c>=0&&(o.touches[c]=Object.assign({},{identifier:l.identifier,screenX:l.screenX,screenY:l.screenY}))}),e.panViewport(s,a)}}),t.addEventListener("touchend",n=>{let i=o.touches.map(r=>r.identifier);Array.from(n.changedTouches).forEach(({identifier:r})=>{o.touches.splice(i.indexOf(r),1)})})}function rCe(e,t,o){let n=Math.max(e,t);return Math.min(o,n)}var O$=class{constructor(){this.imageElement=null;this.imageContainer=null;this.state={expanded:!1}}open(t,{url:o,alt:n}){return new Promise(r=>{t.innerHTML=nCe,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&&(tCe(this,this.imageElement.parentElement),oCe(this,this.imageElement.parentElement),iCe(this,this.imageElement.parentElement)),H.addEventListener("resize",()=>{this.state.expanded&&this.panViewport(0,0)},{passive:!0}),r(null))}),this.imageElement.src=o,this.imageElement.alt=n)})}close(){H.dispatchEvent(new CustomEvent(F$,{detail:{image:this.imageElement?.src}}))}toggleExpand(t=0,o=0){if(!(!this.imageContainer||!this.imageElement))if(this.state.expanded)this.imageElement.style.transform="",this.imageElement.classList.remove("image-browser-pannable"),this.imageElement.classList.add("image-browser-expandable"),this.imageContainer.style.width="",this.imageContainer.style.height="",this.state.expanded=!1;else{this.imageContainer.style.width=`${this.imageElement.clientWidth}px`,this.imageContainer.style.height=`${this.imageElement.clientHeight}px`;let n=t/this.imageElement.clientWidth,i=o/this.imageElement.clientHeight,{naturalWidth:r,naturalHeight:s}=this.imageElement,a=Math.round(n*r),l=Math.round(i*s);this.state.expanded=!0,this.imageElement.classList.add("image-browser-pannable"),this.imageElement.classList.remove("image-browser-expandable");let c=a-this.imageContainer.clientWidth/2,u=l-this.imageContainer.clientHeight/2,p=rCe(0,c,r-this.imageContainer.clientWidth),m=rCe(0,u,s-this.imageContainer.clientHeight);this.state.translationX=-1*p,this.state.translationY=-1*m,this.imageElement.style.transform=`translate(${this.state.translationX}px, ${this.state.translationY}px)`}}panViewport(t,o){if(!(!this.imageContainer||!this.imageElement)&&this.state.expanded){let n=this.state.translationX??0,i=this.state.translationY??0;this.state.translationX=Math.min(0,Math.max(this.imageElement.naturalWidth*-1+this.imageContainer.clientWidth,n+t)),this.state.translationY=Math.min(0,Math.max(this.imageElement.naturalHeight*-1+this.imageContainer.clientHeight,i+o)),this.imageElement.style.transform=`translate(${this.state.translationX}px, ${this.state.translationY}px)`}}};function sCe(){H.addEventListener(F$,e=>{let t=e.detail;Se({behavior:me.REDUCE,actionType:Ee.CLICKLEFT,content:{type:"lightbox-close",image:t.image}})})}function tV(e){sCe();let t="lightbox-enabled",o=Array.from(e.querySelectorAll('a[href$="#lightbox"]')),n=new O$;o.forEach(i=>{i.classList.add(t),i.setAttribute("data-bi-name","lightbox"),i.setAttribute("aria-haspopup","dialog"),Ut(i,"click",r=>{r.preventDefault();let s=document.createElement("div");s.classList.add("modal-content"),n.open(s,{url:i.href,alt:i.querySelector("img")?.alt??""}),new we(s).show().then(()=>n.close()),s.insertAdjacentHTML("afterend",``)})})}k();var fVe=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/challenges":"/challenges"}`;function cn(e,t,o,n){let i=new URL(location.href),r=new URLSearchParams(i.search),s=i;if(s.pathname=`${fVe()}/${e}${t?`/${t}`:""}`,o){let a=new URLSearchParams(o);for(let[l,c]of a)s.searchParams.set(l,c)}return n&&(s.hash=n),r.has("preview")&&s.searchParams.set("preview",r.get("preview")??""),s.href}function aCe(){let e=document.getElementById("challenge-end-date"),t=document.getElementById("challenge-start-date"),o=document.getElementById("challenge-end-time"),n=document.getElementById("challenge-start-time"),i=document.getElementById("copy-challenge-form");return i&&(e=i.querySelector("#challenge-end-date"),t=i.querySelector("#challenge-start-date"),o=i.querySelector("#challenge-end-time"),n=i.querySelector("#challenge-start-time")),t&&e&&n&&o?{startDate:t,startTime:n,endDate:e,endTime:o}:null}function oV(e=!0){let{startDate:t,endDate:o}=aCe()||{};if(!(t&&o))return;let n=new Date(t.value);o.min=n.toISOString().split("T")[0],t.value&&o.value&&o.valued``)}var lCe=b.data.userLocale,bVe=bt(),sf={async getChallenges(e,t,o=0,n=6){let i=`${z.lists}/challenge/${e}/${t}?${pe({page:o+1,pageSize:n,locale:lCe})}`,s=K(i,{method:"GET"}),a=await $(s);return he(a),a.ok?await a.json():null},async getChallenge(e){let t=`${z.lists}/challenge/${e}`,n=K(t,{method:"GET"}),i=await $(n);return he(i),i.ok?await i.json():null},async getChallengeStatistics(e){let t=`${z.lists}/challenge/${e}/statistics`,n=K(t,{method:"GET"}),i=await $(n);return he(i),i.ok?await i.json():null},async getChallengeLeaderboard(e,t=0,o=5){let n=`${z.lists}/challenge/${e}/leaderboard?${pe({page:t+1,pageSize:o})}`,r=K(n,{method:"GET"}),s=await $(r);return he(s),s.ok?await s.json():null},getChallengeCsv(e){return`${z.lists}/challenge/${e}/csv`},async createNewChallenge(e){let t=`${z.lists}/challenge`,n={method:"POST",body:JSON.stringify(e)},i=await $(K(t,n));if(he(i),i.ok){let r=await i.json();return xi(r.contentList),{hasError:!1,data:r}}return i.status===400?{hasError:!0,error:await i.json()}:null},async updateChallenge(e,t){let o=`${z.lists}/challenge/${e}`,i={method:"PATCH",body:JSON.stringify(t)},r=await $(K(o,i));if(he(r),r.ok){let s=await r.json();return xi(s.contentList),{hasError:!1,data:s}}return r.status===400?{hasError:!0,error:await r.json()}:null},async updateChallengeList(e,t){let o=`${z.lists}/challenge/${e}/list`,i={method:"PATCH",body:JSON.stringify(t)},r=await $(K(o,i));if(he(r),r.ok){let s=await r.json();return xi(s.contentList),{hasError:!1,data:s}}return r.status===400?{hasError:!0,error:await r.json()}:null},async deleteChallenge(e){let t=`${z.lists}/challenge/${e}`,o=await $(K(t,{method:"DELETE"}));if(he(o),!o.ok)throw new Error(`${o.status}: ${o.statusText}`)},async joinOrLeaveChallenge(e,t){let o=`${z.lists}/challenge/${e}/${t}`,n=K(o,{method:"POST"},!0,!1),i=await $(n);return he(i),i.ok?{}:null},async getFacetProducts(){let e={branch:bVe,locale:lCe,facet:"products"},t=`${z.browse.learn}?${pe(e,!0)}`,n=await $(K(t,{method:"GET"}));if(n.ok){let i=await n.json();return!i||!i.facets||!i.facets.products?[]:i.facets.products}if(n.status===400){let i=await n.json();throw new Error(`${i.errorCode}: ${i.message}`)}return null}};k();k();k();k();var ri=ci(e=>t=>{t.setValue(e)});function iV({origin:e,protocol:t,hostname:o,port:n}){return e||(t&&o?`${t}//${o}${n&&n!=="443"&&n!=="80"?":"+n:""}`:location.origin)}k();var Qoo=6*60*60*1e3,vVe,joo=new Promise(e=>vVe=e);function cCe(e,{compareOrigin:t}={compareOrigin:!0}){let o=e.target instanceof HTMLElement&&e.target.closest("a"),n=!!o&&iV(o)===te.origin;return!o||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||o.target&&o.target!==window.name&&o.target!=="_self"||o.href.lastIndexOf("javascript:")===0||o.hasAttribute("download")?{anchor:o,shouldHandle:!1,differentOrigin:!n}:t&&!n||n&&o.classList.contains(uu)||n&&/^#lightbox/.test(o.hash)||n&&o.closest("#docs-admin-editor .ProseMirror")||o.classList.contains("following-user-profile")?{anchor:o,shouldHandle:!1,differentOrigin:!n}:{anchor:o,shouldHandle:!0,differentOrigin:!n}}function uCe(){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 sV=class{constructor(){this.referrerStack=[];this.finished=Promise.resolve();this.handleClick=t=>{let{shouldHandle:o,anchor:n}=cCe(t);if(!o||!n.href)return;let i=new URL(n.href);this.delegate.canHandle(i)&&(t.preventDefault(),this.preserveBranch(this.currentUrl,i),this.navigateInternal(i,!0))};this.handlePopstate=()=>{let t=new URL(te.href);this.routeChanged(t,this.currentUrl)?(this.referrerStack.pop(),this.navigateInternal(t,!1)):this.currentUrl=t};this.routeChanged=(t,o)=>{let n=t.pathname===o.pathname;for(let i of this.delegate.params)n=n&&t.searchParams.get(i)===o.searchParams.get(i);return!n}}enable(t,o=new URL(te.href)){this.delegate=t,this.currentUrl=o,H.addEventListener("click",this.handleClick,!0),H.addEventListener("popstate",this.handlePopstate)}disable(){this.delegate=null,H.removeEventListener("click",this.handleClick,!0),H.removeEventListener("popstate",this.handlePopstate)}get enabled(){return!!this.delegate}async finishNavigating(){await this.finished}goto(t,o){if(!this.delegate)throw new Error("Router is not enabled.");if(t.origin!==te.origin)throw new Error("Cross-origin navigation is not permitted");if(!this.delegate.canHandle(t))throw new Error(`Router delegate cannot handle "${t.href}".`);return this.preserveBranch(this.currentUrl,t),this.navigateInternal(t,o==="pushState")}preserveBranch(t,o){(R.supportLevel==="production"&&R.reviewFeatures||R.supportLevel==="development"&&R.accessLevel==="online")&&rV(["branch","themebranch","api-branch"],t,o),rV(["preview"],t,o),rV(["variant"],t,o)}navigateInternal(t,o){let n=async()=>{lR.splice(0,lR.length).forEach(a=>a()),ut.publish(new Ah(t));let r=uCe(),s=await this.delegate.handle(t);S.title=s.title,o?(Wn.pushState(void 0,s.title,s.url.href),this.referrerStack.push(s.url)):Wn.replaceState(void 0,s.title,s.url.href),H.scrollTo(0,0),Xw(t.hash),ut.publish(new bo(s.title,s.url,this.currentUrl)),r.remove(),this.currentUrl=t},i=this.finished.then(n);return this.finished=i.catch(()=>{}),i}},Rr=new sV;function rV(e,t,o){for(let n of e){let i=t.searchParams.get(n);i&&o.searchParams.set(n,i)}}function Xw(e){if(e.length<2)return;let t=S.body.querySelector(e);t&&t.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"})}function oa(e){Array.from(e.querySelectorAll("[data-label]")).forEach(t=>{t.hidden=!0})}function Mo(e,t){let o=e.querySelector(`[data-label="${t}"]`);o!==null&&(o.hidden=!1)}function Ho(e,t,o,n=H.location,i=b.data.userLocale,r){if(e=e.toLowerCase(),o&&!(t==="collections"||t==="training"||t==="achievements"||t==="transcript"||t==="certifications"||t==="credentials"||t==="challenges"||t==="settings"&&o==="interests"))throw new Error(`Detail url component is not supported in ${t} section.`);let s=new URL(n.origin+n.pathname+n.search).searchParams;s.delete("id");let a=s.toString();a=a.length?"?"+a:"";let l;return t&&t!=="activity"?l=new URL(`/${i}/users/${e}/${t}${o?`/${o}`:""}${r?`/${r}`:""}${a}`,n.origin):l=new URL(`/${i}/users/${e}/${a}`,n.origin),l}function wu(e){if(!e)throw new Error("The Collection ID does not exist and no linking URL will be created.");let t=new URL(te.origin+te.pathname+te.search).searchParams,o=`/${b.data.userLocale}/${R.reviewFeatures?"test/":""}collections/${e}`;return new URL(o+"?"+t.toString(),te.origin)}function aV(e){if(!e)throw new Error("The Plan ID does not exist and no linking URL will be created.");let t=new URL(te.origin+te.pathname+te.search).searchParams,o=`/${b.data.userLocale}/${R.reviewFeatures?"test/":""}plans/${e}`;return new URL(o+"?"+t.toString(),te.origin)}function lV(){return d`

      ${Bu}

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

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

      `}function mCe(e){return H$(e?Tz:BX,e?void 0:{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Bl?"/test":""}/training/browse/`}})}k();async function B$(e,t){let o=e.elements.namedItem("collection-title").value,n=e.elements.namedItem("collection-description").value,i=e.elements.namedItem("collection-privacy-checkbox").checked;e.querySelector("button[type=submit]").classList.add("is-loading"),oa(e);try{let r=await Yxe({type:"collection",name:o,description:n,items:t,isPrivate:i});return gCe(r,e)}catch(r){let s=r;return gCe({hasError:!0,error:{errorCode:await nm(s)||"UnexpectedError",message:s.message||""}},e)}}function gCe(e,t){if(e.hasError===!0){let o=t.querySelector("button[type=submit]");o&&o.classList.remove("is-loading");let{errorCode:n}=e.error;return n==="UnexpectedError"?Mo(t,"somethingWentWrong"):xVe(n,t),{hasError:!0}}return{hasError:!1,data:e.data}}function xVe(e,t){let o=t.elements.namedItem("collection-title"),n=t.elements.namedItem("collection-description");switch(e){case"InvalidBody":case"MissingType":return;case"InvalidTitle":o.setCustomValidity(Mu),o.reportValidity();return;case"InvalidDescription":n.setCustomValidity(By),n.reportValidity();return;case"DuplicateTitle":let i=zE.replace("{title}",o.value);o.setCustomValidity(i),o.reportValidity();return;default:return}}function eC(e,t,o,n,i,r=yc,s=!0,a=!1,l="",c=""){return d`

      ${e}

      ${BW}

      ${Ki}
      `}var V$=[],af={};function fCe(e,t,o,n="collection",i=()=>{}){return af={},d``}async function TVe(e,t,o){let n=document.createElement("div");n.classList.add("modal-content");let i=tW.replace("{userDisplayName}",w.displayName).replace("{index}",(o+1).toString()),s=d``;return x(s,n),n.querySelector("button[type=submit]").onclick=async()=>{await SVe(e,t)},n}async function cV(e,t,o){let n=[],i="",r=[];if(o==="plan"){try{r=await jxe()}catch{r=[]}n=r?.map(m=>m.contentList)??[],i=ire}else if(o==="challenge")n=(await sf.getChallenges("created","all",0,100))?.challenges.filter(f=>!f.earlyRegistrationEnabled&&new Date(f.starts)>new Date)?.map(f=>f.contentList)||[],i=KQ;else{let m=await Qxe(g=>g.type==="collection"||g.type==="bookmarks");m===null?i=Bu:(n=m??[],i=dle)}let s=n.length===0,a=e.querySelector("#collections"),l=e.querySelector("#save-collection");if(l&&l.hasAttribute("data-autofocus")&&l.removeAttribute("data-autofocus"),s){let m=d`

      ${i}

      `;return l&&(l.setAttribute("data-autofocus","data-autofocus"),(o==="plan"||o==="challenge")&&l.setAttribute("disabled","disabled")),x(m,a),[]}let c;try{let m=await mt.getAllListsByUrl([t]);m.hasError===!1&&(c=m.data)}catch{c=void 0}let u=c&&c.length>0?c[0]?.lists.filter(m=>o==="plan"?!_t(m.skillingPlanId)&&n.find(g=>g.skillingPlanId===m.skillingPlanId):o==="challenge"?!_t(m.learnChallengeId)&&n.find(g=>g.learnChallengeId===m.learnChallengeId):_t(m.skillingPlanId)&&_t(m.learnChallengeId)):[];V$=u;let p=d` ${n.map(m=>{let g=m.skillingPlanId??"";return d`
      `})}`;if(x(p,a),n.length===1&&n[0].id==="bookmarks"&&V$.length===0){let m=await Pv(t);await mt.addItem("bookmarks",m)}return V$}async function SVe(e,t,o="collection"){event.preventDefault();let n=event.target;n.classList.add("is-loading");let i=Pv(t),r=document.getElementById("save-to-collection");await B$(r).then(async s=>{s.hasError?n.classList.remove("is-loading"):(s=s,af[s.data.id]=i,hCe(e),V$=await cV(document.querySelector(".modal-card"),t,o))})}async function wVe(e,t,o){let n=event.target;if(n.checked){let i=Pv(e);o[n.id]=i}else{let i=t.find(r=>r.listId===n.id);i?o[n.id]=i.id:o[n.id]&&delete o[n.id]}}function CVe(e){let t=Object.keys(e);return Promise.all(t.map(async o=>typeof e[o]!="string"?mt.addItem(o,await e[o]):mt.deleteItem(o,e[o])))}async function EVe(e,t,o){e.pushContent(await TVe(e,t,o))}function hCe(e){e.popContent()}k();k();var AVe=new Intl.NumberFormat(b.data.userLocale);function Fi(e){return AVe.format(e)}var lf=new Intl.NumberFormat(b.data.userLocale,{notation:"compact",compactDisplay:"short"}),tC=new Intl.NumberFormat(b.data.userLocale,{maximumFractionDigits:0}),kVe=new Intl.NumberFormat(b.data.userLocale,{style:"percent",maximumFractionDigits:0});var cf="Applied Skills";function Ko(e){return e.replace("{AppliedSkills}",cf)}var bCe={module:Ei,"learning path":TN,certification:hc,examination:fJ},G$={"applied skills":cf,certification:hc,examination:Yi,course:qp};var uV=!1,_Ce={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"}},IVe={bookmarks:{pressed:D7,unpressed:z7},collection:{pressed:UW,unpressed:HW},challenge:{pressed:ej,unpressed:tj},plan:{pressed:qte,unpressed:Ote},studyguide:{pressed:pse,unpressed:mse}};function Q$(e,t){return`docon-${t?_Ce[e].pressed:_Ce[e].unpressed}`}function PVe(e,t,o){return IVe[e][t?"pressed":"unpressed"].replace(/\{title\}/g,o)}function LVe(e,t,o){let n=e?.querySelector("summary"),i=n?.querySelector(".add-to-collection-status");n?.querySelector(".docon")?.classList.remove(Q$(o,!t)),n?.querySelector(".docon")?.classList.add(Q$(o,t)),i&&(i.textContent=t?eE:mc)}function RVe(e,t,o,n){e.setAttribute("data-pressed",n.toString()),e.setAttribute("title",PVe(t,n,o));let i=e.querySelector(".docon");if(!i)throw new Error("Expected list button to contain a docon");if(i.classList.remove(Q$(t,!n)),i.classList.add(Q$(t,n)),e.closest(".popover")!==null){if(t==="collection"){let r=e.querySelector(".popover .collection-status");r&&(r.textContent=n?Hz:Bz)}else if(t==="plan"){let r=e.querySelector(".plan-status");r&&(r.textContent=n?NN:zN)}else if(t==="challenge"){let r=e.querySelector(".challenge-status");r&&(r.textContent=n?xE:xz)}}else{let r=e.querySelector(".collection-status:not(.popover *)");if(r){r.textContent=n?eE:mc;return}let s=e.querySelector(".popover .add-to-collection-status");s&&(s.textContent=n?eE:mc)}}async function qi(e){if(!e)return;if(!C.userServices){Array.from(e.querySelectorAll("button[data-list-type]")).forEach(r=>r.hidden=!0);return}let o=sn(te.pathname).indexOf("/training")!==-1||te.href.indexOf("interests")!==-1;Array.from(e.querySelectorAll("button[data-list-type]:not(.popover *)")).forEach(i=>{MVe(i,o)}),nC(e),e.querySelectorAll("button[data-list-type]").forEach(i=>{i.addEventListener("click",zVe)})}function MVe(e,t){let o=pV(e);if(o===null)return;let n=e.closest("#article-header"),i=t&&(o.resourceType==="learning path"||o.resourceType==="module"),r=S.createElement("details");r.classList.add("popover","popover-right","add-item-popover"),t&&e.parentElement&&e.parentElement.id==="module-actions"&&r.classList.remove("popover-right");let s=i?d``:"",a=d`${mc}
      ${s}
      `;x(a,r),e.replaceWith(r)}var wp=[];async function nC(e,t=w.isAuthenticated){let o=Array.from(e.querySelectorAll("button[data-list-type]")).map(a=>pV(a)).filter(a=>a!==null);if(o.length===0)return;let n=o.map(a=>a.url).filter((a,l,c)=>a&&c.indexOf(a)===l);if(t&&!wp?.length)try{let a=await mt.getAllListsByUrl(n);a.hasError===!1&&(wp=a.data)}catch{wp=void 0}let i=$Ve(wp),r=a=>{a==="collection"?wp=Array.from(i.collectionAssociations):a==="plan"?wp=Array.from(i.planAssociations):a==="challenge"&&(wp=Array.from(i.challengeAssociations))};for(let{button:a,type:l,url:c,title:u}of o){r(l);let p=DVe(c,wp);RVe(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===Hz||c?.textContent===NN||u?.textContent===xE;LVe(a,p,"collection")})}function $Ve(e){return(e??[]).reduce((t,o)=>(o.lists.forEach(n=>{!_t(n.skillingPlanId)&&_t(n.learnChallengeId)?t.planAssociations.add(o):!_t(n.learnChallengeId)&&_t(n.skillingPlanId)?t.challengeAssociations.add(o):_t(n.skillingPlanId)&&_t(n.learnChallengeId)&&t.collectionAssociations.add(o)}),t),{planAssociations:new Set,collectionAssociations:new Set,challengeAssociations:new Set})}function DVe(e,t){return t.findIndex(o=>o.url===e&&o.lists.length>0)!==-1}async function zVe(e,t=w.isAuthenticated){let o=pV(e.target);if(o!==null){if(e.preventDefault(),b.data.isPermissioned){rf(RE,RW);return}if(!t){let n=o.type==="plan"?nre:o.type==="challenge"?_j:jz;NVe(n);return}FVe(o)}}function pV(e){let t=e instanceof Element&&e.closest("button");if(!t)return null;let o=t.getAttribute("data-list-type");if(o!=="collection"&&o!=="challenge"&&o!=="plan")return null;let n=t.getAttribute("data-list-item-url")||te.href,i=t.getAttribute("data-list-item-title")||S.title,r=Rw(n),s=t.getAttribute("data-pressed")==="true",a=t.getAttribute("data-list-source")||"module",l=t.getAttribute("data-resource-type")||"";return{button:t,type:o,url:r,title:i,pressed:s,source:a,resourceType:l}}async function NVe(e=jz){let o=vp(e,null,Zi);(await ln(o)).submitted&&Oo()}async function FVe({button:e,url:t,title:o,type:n}){e.classList.contains("is-loading")||(e.classList.add("is-loading"),qVe(t,o,n).catch().finally(()=>{e.classList.remove("is-loading")}))}function oC(e="added",t=[],o="collection"){let n=S.querySelectorAll("#collections input:checked"),i=f=>e==="removed"&&t.length===1?t[0]:Ye(n.item(0).getAttribute(f)),r;o==="plan"?n.length===1&&e==="added"?r=aV(i("data-plan-id")).href:e==="removed"&&t.length!==0?r=aV(t[0]).href:r=Ho(w.userName,"plans").href:o==="challenge"?n.length===1?r=cn(i("data-challenge-id"),"details"):e==="removed"&&t.length!==0?r=cn(t[0],"details"):r=cn("home"):n.length===1?r=wu(i("id")).href:r=Ho(w.userName,"collections",e==="removed"&&t.length!==0?t.length===1?t[0]:"":n.length===1?Ye(n.item(0).getAttribute("id")??""):"").href;let s=MW,a=$W,l=PW,c=LW;o==="plan"?(s=Gte,a=Qte,l=Yte,c=Wte):o==="challenge"&&(s=hj,a=bj,l=vj,c=yj);let u={"is-hidden":!1},p;if(e==="added")p=(n.length!==1?a:s.replace("{collectionName}",Ye(n.item(0).getAttribute("name")))).replace("{url}",r);else if(e==="removed"){let f=(S?.querySelector(`#collections input[${o==="plan"?"data-plan-":o==="challenge"?"data-challenge-":""}id="${t[0]}"]`)).getAttribute("name");p=(t.length>1?c:l.replace("{collectionName}",Ye(f))).replace("{url}",r)}else p=o==="plan"?Pne.replace("{url}",r):o==="challenge"?xE.replace("{url}",r):JY.replace("{url}",r);let m=d`
      ${N(p)}
      `,g=S.createElement("div");x(m,g),new $v(g).show(),nC(S.body)}async function qVe(e,t,o){let n=S.querySelector(".modal");if(uV||n&&!n.querySelector(".page-actions-menu"))return!1;uV=!0;let i=S.createElement("div");i.classList.add("modal-content");let r=new we(i),s=[];return x(fCe(r,t,e,o,()=>{OVe(s.map(a=>o==="plan"?a.skillingPlanId:o==="challenge"?a.learnChallengeId:a.listId),o)}),i),s=await cV(i,e,o),uV=!1,r.show()}function OVe(e,t){nC(S.body);let o=Array.from(S.querySelectorAll("#collections input:checked")).map(r=>t==="plan"?r.attributes.getNamedItem("data-plan-id")?.value:t==="challenge"?r.attributes.getNamedItem("data-challenge-id")?.value:r.id),n=o.filter(r=>!e.includes(r)),i=e.filter(r=>!o.includes(r));n.length>0&&i.length===0?oC("added",void 0,t):n.length===0&&i.length>0?oC("removed",i,t):n.length>0&&i.length>0&&oC("updated",void 0,t),qi(S.body)}k();function yCe(e){Ga().then(t=>{let o=[],n=0;for(let r of t.products){let s=[];for(let{moniker:l,versionDisplayName:c}of r.packages)Ys(l)&&Qa[l]&&s.push(`${Pn(Ye(c))}`);if(s.length===0)continue;let a=n===0?"propertyInfoTitle":"propertyInfoTitle stack";o.push(d`

      ${Ye(r.displayName)}

      ${N(s.join(" "))}
      `),n++}let i=document.createElement("div");x(o,i),e.insertAdjacentElement("afterend",i)})}function xCe(){let e=document.querySelector(".moniker-applies-to-table"),t=Array.from(document.querySelectorAll(".moniker-applies-to-overloadmember"));!e&&t.length===0||Ga().then(o=>{if(e){let n=e.parentElement?.parentElement?.getAttribute("data-moniker");(!n||n.trim()==="")&&(n=As("monikers").join(" "));let i="",r=e.parentElement?.parentElement?.querySelectorAll(".alert.is-danger");r&&r.length>0&&r.forEach(s=>{let a=s.getAttribute("data-moniker");a!==null&&a!==""&&(i+=a)}),vCe(e,o,n,i)}if(t.length!==0)for(let n of t){let i=n.parentElement.parentElement.parentElement.parentElement.getAttribute("data-moniker"),r=n.parentElement.parentElement.parentElement.parentElement.querySelectorAll(".alert.is-danger"),s="";r.forEach(a=>{let l=a.getAttribute("data-moniker");l!==null&&l!==""&&(s+=l)}),vCe(n,o,i,s)}})}function vCe(e,t,o,n){if(!e)return;let i=e.parentElement.querySelector("summary"),r=e.querySelector("thead"),s=[],a="",l="",c=0,u=!1;for(let f of t.products){let _=[],h=[],y="";for(let{moniker:v,versionDisplayName:T}of f.packages){let I=Pn(Ye(T));n&&n.split(" ").indexOf(v)>0&&(h.push(I),u=!0),o&&o.split(" ").indexOf(v)>=0&&(c++,c===1?a=Ye(f.displayName)+" "+I:c===2&&(l=Ye(f.displayName)+" "+I),h.includes(I)||_.push(I))}_.length===0&&h.length===0||(_.length>0&&(_.reverse(),y=_.join(", ")+" "),h.length>0&&(h.reverse(),y=y+"("+h.join(", ")+")"),s.push(d`${Ye(f.displayName)}${N(y)}`))}if(s.length===0)return;i&&(c===1?i.textContent=a:c===2?i.textContent=T7.replace("{version1}",a).replace("{version2}",l):c>=3&&(i.textContent=x7.replace("{version}",a)));let p=Zae;u&&(p=p+" "+y7+"");let m=d`${nh}${N(p)}`;x(m,r);let g=document.createElement("tbody");x(s,g),r.insertAdjacentElement("afterend",g)}function TCe(){let e=lt();if(e==="")return;let t=document.querySelector(".moniker-display-boilerplate");t&&Ga().then(o=>{for(let n of o.products)for(let{moniker:i,isPrerelease:r}of n.packages)if(e===i&&Ys(i)&&Qa[i]&&r){t.classList.remove("is-hidden");return}})}function j$(){let e=lt();if(!Ys(e))return!1;UVe(e);let t=HVe(S.body);return BVe(t,e),cp(),Rt(),!0}var SCe=S.createElement("style");S.head.appendChild(SCe);function UVe(e){SCe.textContent=` [data-moniker]:not([data-moniker~='${e}']) { display: none !important; } `;let t=S.querySelectorAll(`[data-moniker~='${e}'] [data-id]`);for(let n=0;nGVe(e)),H.addEventListener(o3,QVe)}var Oi={dotnet:{displayName:".NET",validSearchTerm:/^[A-Za-z_][A-Za-z0-9.<>,_]{2,255}$/,namespaceItemType:"Namespace",namespacesPath:"namespaces",monikerPickerLabel:iE,allApisLabel:oE,resultsHeadingTemplate:rE,selectLabel:N0},java:{displayName:"Java",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,]{2,255}$/,namespaceItemType:"Package",namespacesPath:"namespaces",monikerPickerLabel:iE,allApisLabel:oE,resultsHeadingTemplate:rE,selectLabel:N0},javascript:{displayName:"JavaScript",validSearchTerm:/^[A-Za-z@][A-Za-z0-9.<>,!\/\-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:u0,allApisLabel:nE,resultsHeadingTemplate:CN,selectLabel:z0},powershell:{displayName:"PowerShell",validSearchTerm:/^[A-Za-z][A-Za-z0-9.-]{2,255}$/,namespaceItemType:"Module",namespacesPath:"modules",monikerPickerLabel:u0,allApisLabel:nE,resultsHeadingTemplate:DX,selectLabel:z0},python:{displayName:"Python",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,_-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:u0,allApisLabel:nE,resultsHeadingTemplate:CN,selectLabel:z0},rest:{displayName:"REST",validSearchTerm:/^[A-Za-z ]{3,255}$/,namespaceItemType:"",namespacesPath:"services",monikerPickerLabel:iE,allApisLabel:oE,resultsHeadingTemplate:rE,selectLabel:N0}};var Ft=P("platform")||P("apiPlatform")||null,mV;function tc(){return mV===void 0&&(mV=Nhe(Ft).then(jVe)),mV}function jVe(e){let{platformId:t,families:o}=e,n=[],i={},r=[];for(let s of o)for(let a of s.products){r.push(a);for(let l of a.packages){let{moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f}=l,_={platform:e,family:s,product:a,moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f};n.push(_),i[_.moniker]=_}}return{platformId:t,families:o,products:r,packages:n,packagesByMoniker:i}}var iC=Oi[Ft],rC=!1;function ICe(e){let{element:t,button:o,buttonDisplayedValue:n,productList:i}=YVe();function r(c){c.target instanceof Element&&!t.contains(c.target)&&s()}function s(){S.documentElement.classList.remove("moniker-picker-expanded"),t.classList.remove("expanded"),o.setAttribute("aria-expanded","false"),H.removeEventListener("focus",r,{capture:!0}),H.removeEventListener("click",r),Sb.removeListener(s)}function a(){s(),o.focus()}function l(){S.body.removeAttribute("style"),S.documentElement.classList.add("moniker-picker-expanded"),t.classList.add("expanded"),o.setAttribute("aria-expanded","true"),H.addEventListener("focus",r,{capture:!0}),H.addEventListener("click",r),Sb.addListener(s)}return WVe(e,o,n,i),ZVe(o,i,l,a),XVe(i,a),e8e(i,a),t}function YVe(){let e=S.createElement("div");e.classList.add("moniker-picker"),e.setAttribute(Ao.name,"moniker-picker"),e.setAttribute("role","application ");let t=tt(),o=tt();return e.innerHTML=` `,{element:e,button:e.firstElementChild,buttonDisplayedValue:e.firstElementChild.lastElementChild,productList:e.lastElementChild.lastElementChild}}function WVe(e,t,o,n){return Ft==="rest"&&(rC=!0),e?tc().then(i=>{i.packagesByMoniker[lt()]===void 0&&rp("");let r=()=>{let s=lt();s===""?o.textContent=iC.allApisLabel:o.innerHTML=Pn(Ye(i.packagesByMoniker[s].displayName))};H.addEventListener($i,r),r(),KVe(n);for(let s of i.families)ECe(s.products,n)}):Ga().then(i=>{rC=i.products.length===1,rC&&i.products[0].packages.length===1&&(t.disabled=!0);let r=()=>{let s=lt();o.innerHTML=Pn(Ye(B_(i,s).displayName))};H.addEventListener($i,r),r(),ECe(i.products,n)})}function KVe(e){let t=iC.allApisLabel;e.insertAdjacentHTML("afterbegin",`
    • ${t}
    • `)}function ECe(e,t){if(rC){ACe(e[0].packages,t);return}for(let{displayName:o,packages:n}of e){let i=tt(),r=tt();t.insertAdjacentHTML("beforeend",`
    • `);let s=t.lastElementChild.lastElementChild,a=s.lastElementChild;ACe(n,a),s.insertAdjacentHTML("beforeend",'');let l=s.lastElementChild;n.find(u=>/^azurermps/.test(u.moniker))&&l.insertAdjacentHTML("beforeend",`${Ye(LZ)}`);let c=P("archive_url");c&&l.insertAdjacentHTML("beforeend",`${Ye(zf)}`)}}function ACe(e,t){for(let{moniker:o,isDefault:n,versionDisplayName:i}of e)t.insertAdjacentHTML("beforeend",`
    • ${Ye(i)}
    • `)}function JVe(e){Array.from(e.querySelectorAll("button.versions")).forEach(o=>{o.setAttribute("aria-expanded","false")})}function W$(e,t,o){let n=e.querySelector('button[aria-expanded="true"]');n!==t&&(n!==null&&n.setAttribute("aria-expanded","false"),t!==null&&setTimeout(function(){t.setAttribute("aria-expanded","true"),o&&setTimeout(function(){let i=S.getElementById(t.getAttribute("aria-controls"));if(!i)return;let r=i.querySelector('a[role="menuitem"]');r!==null&&r.focus()},300)},100))}function PCe(e,t){return e.querySelector(`a[href="http://approjects.co.za/?big=?view=${t}"]`)}function kCe(e){let t=e.nextElementSibling,o=PCe(t,lt()),n=t.querySelector('a[href^="?view="][data-default="true"]'),i=t.querySelector('a[href^="?view="]');return o||n||i}function LCe(e){return e.search==="?view="||rC?null:e.parentElement.parentElement.parentElement.previousElementSibling}function ZVe(e,t,o,n){let i=()=>{o();let r=lt(),s=PCe(t,r),a=LCe(s);W$(t,a,!1),setTimeout(()=>{a!==null&&a.scrollIntoView(!1),s.scrollIntoView(!1),setTimeout(()=>{s.focus()},100)})};e.addEventListener("click",()=>{e.getAttribute("aria-expanded")==="false"?i():n()}),e.addEventListener("keydown",r=>{let s=e.getAttribute("aria-expanded")==="true";s&&r.keyCode===Re.up?(r.preventDefault(),n()):!s&&r.keyCode===Re.down&&(r.preventDefault(),i())})}function XVe(e,t){e.addEventListener("keydown",o=>{let n=o.target;if(n.getAttribute("role")!=="menuitem")return;let i=o.keyCode,r;switch(i){case Re.left:n instanceof HTMLAnchorElement&&n.search!=="?view="&&(o.preventDefault(),LCe(n).focus(),JVe(e));break;case Re.right:n instanceof HTMLButtonElement&&n.hasAttribute("aria-controls")&&(o.preventDefault(),kCe(n).focus(),Sb.matches||W$(e,n instanceof HTMLButtonElement?n:null,!0));break;case Re.up:case Re.down:o.preventDefault();let s=i===Re.up?"previousElementSibling":"nextElementSibling",a=i===Re.up?"lastElementChild":"firstElementChild";n.parentElement[s]===null?r=n.parentElement.parentElement[a].firstElementChild:r=n.parentElement[s].firstElementChild,r.focus(),!Sb.matches&&n instanceof HTMLButtonElement&&n.getAttribute("aria-expanded")==="true"&&(o.preventDefault(),kCe(n).focus());break;case Re.home:case Re.end:o.preventDefault();let l=i===Re.home?"firstElementChild":"lastElementChild";r=n.parentElement.parentElement[l].firstElementChild,r.focus(),r.parentElement.parentElement===e&&W$(e,r instanceof HTMLButtonElement?r:null,!0);break;case Re.escape:o.preventDefault(),t();break}})}function e8e(e,t){e.addEventListener("click",o=>{let n=o.target;if(n.getAttribute("role")==="menuitem"){if(n instanceof HTMLAnchorElement){o.preventDefault();let i=ce(n.search).view;rp(i),t();return}n instanceof HTMLButtonElement&&(!Sb.matches&&n.getAttribute("aria-expanded")==="true"?n.setAttribute("aria-expanded","false"):W$(e,n,!0),n.focus())}})}k();k();var us=b.data.pageTemplate,Cu=P("page_type"),t8e=P("page_kind"),gV=P("pagetype"),o8e=P("interactive_type"),uf=Qa.any||us==="Conceptual"&&gV==="Reference"&&Ft!==null||us==="Conceptual"&&Cu==="powershell"&&Ft!==null||us==="Conceptual"&&gV==="Conceptual"&&Ft==="powershell"||us==="Conceptual"&&Cu==="conceptual"&&Ft==="powershell"||(us==="Conceptual"&&Cu==="conceptual"||us==="Reference"&&Cu==="python")&&Ft==="python"||(us==="Conceptual"&&Cu==="conceptual"||us==="Reference"&&Cu==="cli")&&o8e==="azurecli"||us==="Reference"&&Cu==="powershell"&&Ft!==null||us==="Reference"&&Cu==="azure-cli"&&t8e==="group",RCe=us==="Reference"&&Ft!==null||us==="Conceptual"&&gV==="Reference"&&Ft!==null||us==="Conceptual"&&Cu==="powershell"&&Ft!==null;function MCe(){uf&&Y$(!0)}function n8e(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"),x(d`

      ${e||Wf}

      `,t),t}var oc;function fV(e,t){if(t){let o=Array.from(document.getElementsByClassName("contents-expand-title"));for(let n of o)n.innerText=t}window.addEventListener("click",o=>{if(!(o.target instanceof Element&&o.target.closest("[data-contents-button]")))return;o.preventDefault();let i=n8e(t),r=["margin-xs"];uf&<()&&(r=["margin-inline-xs","margin-bottom-xs","margin-top-none"]),e(i,r,["padding-inline-xs","padding-top-xs"],["padding-inline-xs","padding-top-xs","border-top"],["modal-close","border"]);let c=new we(i);oc=c,c.show().then(()=>{oc=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 DCe(){let e=R.supportLevel==="production"&&R.reviewFeatures||R.supportLevel==="development"&&R.accessLevel==="online"||R.accessLevel==="local",t=new URLSearchParams(location.search).get("experimental_moniker_picker")==="true",o=P("experimental_moniker_picker")==="true";return e&&(o||t)}function K$(e){let t=document.createElement("div");return t.classList.add("moniker-picker2","margin-right-sm"),t.setAttribute("data-bi-name","moniker-picker"),x(sC(e),t),e?tc().then(o=>{x(sC(e,null,o),t),addEventListener($i,()=>x(sC(e,null,o),t))}):Ga().then(o=>{x(sC(e,o),t),addEventListener($i,()=>x(sC(e,o),t))}),t}function sC(e,t,o){let n=tt(),i=`${n}-picker-label`,r=P("archive_url"),s=t&&t.products.length===1,a=c=>{if(oc){c.preventDefault(),c.stopPropagation();let u=document.createElement("div");u.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),x(i8e(t),u),oc.pushContent(u)}},l=c=>{let u,p=lt();return c&&p===""?u=Oi[Ft].allApisLabel:c?u=o.packagesByMoniker[p].displayName:u=t?B_(t,p).displayName:"",u};return d`${bh}`}function $Ce(e){let t=tt(),o=b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light",n=b.data.userDir==="ltr"?"text-align-left":"is-text-right",i=P("archive_url");return d` ${e.packages.length!==1?d``:d`
    • ${e.packages[0].displayName}
    • `} `}function zCe(e){let t=b.data.userDir==="ltr"?"text-align-left":"is-text-right";return d`
    • ${e.versionDisplayName}
    • `}function i8e(e){let t=e&&e.products.length===1;return d` ${t?d`${NCe(e.products[0])}`:d` ${FCe(ih)} ${qCe(Wf)}
        ${e&&e.products?e.products.map(o=>r8e(o)):""}
      `} `}function r8e(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 NCe(e){let t=tt(),o=P("archive_url");return d` ${FCe(e.displayName)} ${qCe(ih)}
      `}function FCe(e){return d`

      ${e}

      `}function qCe(e){let t=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right";return d`
      `}function s8e(e){if(oc){let t=document.createElement("div");t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),x(NCe(e),t),oc.pushContent(t)}}function J$(e){let t=e.target;if(t instanceof HTMLAnchorElement){e.preventDefault();let o=ce(t.search).view;rp(o),oc?oc.hide():(_T(t),_T(t));return}}function Z$(e){let t=lt();return e===t?"true":void 0}var OCe="api-search-quick-filter";function UCe(){return tc().then(e=>{let t=e.packagesByMoniker,o=!1,n=r=>(P(r)||"").split(",").map(l=>l.trim()).filter(l=>t[l]===void 0?(console.warn(`Quick Filter: no package with moniker "${l}" was found.`),!1):(o=!0,!0)).map(l=>({moniker:l,displayName:t[l].displayName})),i=[n("quickFilterColumn1"),n("quickFilterColumn2"),n("quickFilterColumn3")];return{any:o,columns:i}})}function HCe(e){let t=S.createElement("div");t.classList.add(OCe),t.setAttribute(Ao.name,OCe);let o=S.createElement("h2");o.textContent=ute,o.classList.add("api-search-heading","font-size-h3"),t.appendChild(o);for(let n of e.columns){let i=S.createElement("div");t.appendChild(i);for(let{moniker:r,displayName:s}of n){let a=S.createElement("button");a.classList.add("button","button-clear","has-text-wrap","text-align-left","display-block","button-block"),a.innerHTML=Pn(s),a.addEventListener("click",()=>{Gt(a,{actionType:Ee.OTHER,behavior:me.OTHER,content:{event:"api-browser-quickfilter",value:r,platform:Ft}}),rp(r)}),i.appendChild(a)}}return t}function BCe(e,t,o="en-us"){if(e==="rest")return a8e(t);let n=Oi[e].namespacesPath;return $(`${z.apiBrowser}/${encodeURIComponent(e)}/${n}?moniker=${encodeURIComponent(t)}&api-version=0.2&locale=${o}`).then(i=>i.json())}function a8e(e){return e3().then(t=>l8e(t,e))}function l8e(e,t){return{apiItems:(e.filter(n=>(n.scope||"").toLowerCase()===(t||"").toLowerCase())[0].services||[]).map(n=>({displayName:n.name,url:n.url,description:n.description,itemKind:gre}))}}function X$(e,t,o,n="en-us"){if(e==="rest")return c8e(n,"",t,o+"*",0,25);let i=`${z.apiBrowser}/${e}/search?api-version=0.2&search=${encodeURIComponent(o)}&locale=${n}`;return t!==""&&(i+=`&$filter=monikers/any(t: t eq '${encodeURIComponent(t)}')`),$(i).then(r=>r.json())}function c8e(e,t,o,n,i,r){let s=`${z.siteSearch}?locale=${e}&search=${n}&$skip=${i}&$top=${r}`,l=(o!==""?["REST"].concat([o]):["REST"]).map(c=>`scopes/any(t:t eq '${c}')`).join(" and ");return s+=`&$filter=${encodeURIComponent(l)}`,t!==""&&(s+=`&dataSource=${encodeURIComponent(t)}`),$(s).then(c=>c.json()).then(hV)}function hV(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}))}}k();var eD=Oi[Ft],aC=[];function GCe(e,t){aC.push({container:e,renderHeading:t})}function tD(e,t,o){S.documentElement.classList.add("api-search-has-results");for(let{container:n,renderHeading:i}of aC){if(n.innerHTML="",t.length===0){let u=Ft==="rest"?VX:fo;n.insertAdjacentHTML("afterbegin",`
      ${u}
      `);return}i&&u8e(n,e);let r=S.createElement("table");r.classList.add("table","api-search-results"),r.setAttribute(Ao.name,"api-search-results");let s=S.createElement("thead");r.appendChild(s);let a=S.createElement("tr");s.appendChild(a);let l=S.createElement("th");l.textContent=FX,a.appendChild(l),l=S.createElement("th"),l.textContent=Vf,a.appendChild(l);let c=S.createElement("tbody");if(r.appendChild(c),VCe(c,t),n.appendChild(r),o&&i){let u=S.createElement("button");u.classList.add("more-button","button"),u.textContent=pX,u.setAttribute(Ao.name,"api-browser-load-more-results"),u.addEventListener("click",()=>{$(o).then(p=>p.json()).then(p=>{e.platformId==="rest"&&(p=hV(p)),o=p["@nextLink"],o===void 0&&n.removeChild(u),VCe(c,p.results)})}),n.appendChild(u)}}}function VCe(e,t){let o=S.createElement("div"),n=r=>(x(d`${r}`,o),o.textContent!=="null"?o.textContent:""),i=lt();for(let r of t){let s=r.itemKind||r.itemType||eD.namespaceItemType,a=S.createElement("tr");e.appendChild(a);let l=S.createElement("td"),c=S.createElement("a");c.href=_V(r.url,i);let u=d`${N(Pn(r.displayName.replace(//g,">")))}`;x(u,c);let p=S.createElement("span");p.textContent=" "+s,l.appendChild(c),l.appendChild(p),a.appendChild(l),l=S.createElement("td"),l.textContent=n(r.description),a.appendChild(l),a.appendChild(l)}}function bV(){S.documentElement.classList.add("api-search-has-results");for(let{container:e}of aC){let t=d`
      `;x(t,e)}}function oD(e){S.documentElement.classList.add("api-search-has-results");for(let{container:t}of aC)t.textContent=e}function QCe(){S.documentElement.classList.remove("api-search-has-results");for(let{container:e}of aC)e.innerHTML=""}function u8e(e,t){let o=lt(),n,i;if(o==="")n=Oi[Ft].displayName,i=null;else{let a=t.packagesByMoniker[o];n=a.product.displayName,i=a.versionDisplayName}let r=S.createElement("h2");r.classList.add("api-search-results-heading","font-size-h3");let s=d`${eD.resultsHeadingTemplate.replace("{platformName}",n)}`;if(x(s,r),i!==null&&Ft==="rest"){let a=d`${N(`${Ye(o)} REST ${eD.resultsHeadingTemplate.replace("{platformName}",n)}`)}`;x(a,r)}else if(i!==null){let a=d`${N(`${eD.resultsHeadingTemplate.replace("{platformName}",n)} version ${Ye(i)}`)}`;x(a,r)}e.appendChild(r)}function _V(e,t){if(t!==""&&!/[?&]view=/i.test(e)){let[n,i]=e.split("#");i=i===void 0?"":"#"+i,e=Ft==="rest"?`${n}${i}`:`${n}?view=${encodeURIComponent(t)}${i}`}let o=new URL(e,location.origin);return e=`${o.pathname}${o.search}${o.hash}`,Ft!=="rest"&&(e=`/${b.data.userLocale}${e}`),e}var df="api-search-term-changed",Xv="";function pf(){return Xv}function vV(e){e=e.trim(),e!==Xv&&(Xv=e,(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&Vt({term:Xv},"pushState"),window.dispatchEvent(new CustomEvent(df,{detail:{term:Xv}})))}function jCe(){let e=ce().term;return e===void 0?"":e.trim()}(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&(Xv=jCe(),window.addEventListener("popstate",()=>vV(jCe())));function YCe(){H.addEventListener(df,yV),H.addEventListener($i,yV),b.data.pageTemplate==="ApiBrowserPage"&&yV()}var nD="";function yV(){let e=pf(),t=lt(),o=`${e}/${t}`;return o===nD?Promise.resolve():(nD=o,b.data.pageTemplate==="ApiBrowserPage"&&t!==""&&e===""?(bV(),Promise.all([BCe(Ft,t,b.data.userLocale),tc()]).then(([n,i])=>{if(o===nD){if(n.apiItems.length===0){oD(fo);return}tD(i,n.apiItems,null)}},()=>{oD(gz)})):e.length<3?(QCe(),Promise.resolve()):Oi[Ft].validSearchTerm.test(e)?(bV(),Promise.all([X$(Ft,t,e,b.data.userLocale),tc()]).then(([n,i])=>{o===nD&&(xV(t,e,n.results.length),tD(i,n.results,n["@nextLink"]))},()=>{oD(gz)})):tc().then(n=>tD(n,[],null)))}function xV(e,t,o){Se({actionType:Ee.OTHER,behavior:me.SEARCH,content:{event:"api-browser-search",platform:Ft,moniker:e,term:t,results:o}})}var WCe="api-search-field";function KCe(){let e=S.createElement("form");e.classList.add(WCe,"margin-top-xxs"),e.setAttribute(Ao.name,WCe),e.action="javascript:",e.addEventListener("submit",l=>l.preventDefault());let t=S.createElement("label"),o=S.createElement("span");o.classList.add("visually-hidden"),o.textContent=io,t.appendChild(o),e.appendChild(t);let n=S.createElement("input");n.type="search",n.classList.add("input","input-lg","padding-right-sm"),n.value=pf(),n.placeholder=io,t.appendChild(n);let i=S.createElement("a");i.href="http://approjects.co.za/?big=#",i.title=hY,i.classList.add("clear"),i.addEventListener("click",l=>{l.preventDefault(),n.value="",n.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}),t.appendChild(i);let r=()=>{n.value===""?n.classList.add("empty"):n.classList.remove("empty")};r();let s=0,a=()=>{r(),clearTimeout(s),s=setTimeout(()=>vV(n.value),500)};return n.addEventListener("change",a),n.addEventListener("input",a),H.addEventListener(df,()=>{let l=pf();n.value.trim()!==l&&(n.value=l,r())}),e}function JCe(){if(!C.apiBrowser)return;Y$(),YCe();let e=S.querySelector("#api-browser-search-field-container");if(!e)return;let t=!0;DCe()?e.appendChild(K$(t)):e.appendChild(ICe(t)),e.appendChild(KCe()),UCe().then(r=>{if(!r.any)return;let s=HCe(r);e.appendChild(s)});let o=S.querySelector("#api-browser-results-container");if(!o)return;GCe(o,!0);let i=()=>{let r=lt()===""&&pf()===""?"remove":"add";S.documentElement.classList[r]("has-moniker-or-term")};i(),window.addEventListener($i,i),window.addEventListener(df,i)}var ZCe="renewalassessment-session-disclaimer",XCe="https://review.learn.microsoft.com/en-us/rest/api/learn/?view=rest-learn-2023-11-01-preview&branch=main";var d8e=z.assessments,Kao=`${d8e}/sessions`;k();function iD(e,t=Yf,o=xc,n=wae){return vp(tl,e?t.replace("{itemTitle}",e):n,o)}function rD(e=zo,t){return vp(yW,"",e,!0,t)}function sD(e=SW){return d``}function oEe(e=DE,t=Fp){return vp(XY,e,t)}function nEe(e=UE,t=qE){return vp(SY,e,t)}var cD=(r=>(r.facebook="facebook",r.twitter="twitter",r.linkedin="linkedin",r.email="email",r.weibo="weibo",r))(cD||{}),v8e={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 cC(e,t,o){let n=encodeURIComponent(t),i=new URL(e);i.hostname="learn.microsoft.com";let r=i.href+=(e.indexOf("?")!==-1?"&":"?")+"WT.mc_id=",s=w.sharingId?`&sharingId=${w.sharingId}`:"",a=!!o?.achievementCopyTitle?.overrideTitle;return Object.values(cD).reduce((c,u)=>{if(b.data.isPermissioned)return c[u]="#",c;let p=encodeURIComponent(r+u+s),m=o?.achievementCopyTitle?.overrideTitle??t,g=encodeURIComponent(fre.replace("{achievementTitle}",o?.achievementCopyTitle?.isUnquoted?`${m}`:`"${m}"`)),f={achievementCopy:g,url:p,title:n,body:a?`${encodeURIComponent(` \r `)}${g}${encodeURIComponent(` \r `)}${p}`:`${encodeURIComponent(` \r `)}${p}`,subject:encodeURIComponent(q0).replace(encodeURIComponent("{articleTitle}"),n)},_=Object.entries(f).reduce((h,[y,v])=>h.replace(new RegExp(`{${y}}`,"g"),v),v8e[u]);return c[u]=_,c},{})}function uD(e,t,o){Object.values(cD).forEach(n=>{let i=cC(t,o);e.querySelectorAll(`.share-${n}`).forEach(r=>{i[n]==="#"&&Uwe(r,bre,_re),r.href=i[n]})})}function sEe(){document.querySelectorAll("div.sharing").forEach(e=>e.remove())}k();function mf(e,t="is-centered margin-top-sm margin-bottom-xs"){if(!e.pageCount)return null;let o=Array.from({length:e.pageCount},(m,g)=>g),n=e.pageIndex,i=!1,r=1,s={first:0,last:o.length-1};o.length>=7&&(i=!0,n<3?(r=3,s.first=0,s.last=3):n>o.length-4?(r=3,s.first=o.length-4,s.last=s.first+r):(r=1,s={first:Math.max(e.pageIndex-r,0),last:Math.min(e.pageIndex+r,o.length-2)}));let a=d``,l=d``,c=d``,u=d``,p=[];for(let m=s.first;m<=s.last;m++)p.push(d`
    • `);return d``}k();k();function ey(e,t=uEe,o=T8e){if(!e)return;let n=S8e(e),i=t();n.length||(n=Array.from(document.querySelectorAll("body"))),n.forEach(r=>{let s=w8e(r),a=C8e(r),l=s.map(c=>c.id);s.forEach(c=>{typeof i=="string"?l.indexOf(i)!==-1&&dD(i,c,a):l.indexOf(i[r.id])!==-1?dD(i[r.id],c,a):l.indexOf(i.tab)!==-1?dD(i.tab,c,a):dD(s[0].id,c,a),c.onclick=()=>{x8e(c.id,r),o(c.id,r.id||"tab")},c.onkeydown=u=>{let p=u.which;if(!u.altKey&&(p===Re.left||p===Re.right||p===Re.home||p===Re.end)){u.preventDefault();let m=p===Re.left||p===Re.home,g;if(u.ctrlKey||p===Re.home||p===Re.end){let f=m?1:-1;for(g=m?0:s.length-1;s[g].parentElement.getAttribute("hidden");)g+=f}else{let f=m?-1:1;g=s.findIndex(_=>_.id===c.id);do g+=f,g===-1?g=s.length-1:g===s.length&&(g=0);while(s[g].parentElement.getAttribute("hidden"))}s[g].focus();return}}})})}function x8e(e,t){let o=t.querySelector(`#${e}`);if(o===null)return;let n=Array.from(t.querySelectorAll(":scope > .tabs .tab-control")),i=Array.from(t.querySelectorAll(":scope > [data-tab-content]"));n.forEach(r=>{r!==o&&(r.parentElement.classList.remove("is-active"),r.setAttribute("aria-selected","false"),r.setAttribute("tabindex","-1"))}),o.parentElement.classList.add("is-active"),o.setAttribute("aria-selected","true"),o.setAttribute("tabindex","0"),dEe(o.getAttribute("aria-controls"),i)}function T8e(e,t){t||(t="tab");let o=`{"${t}": "${e}"}`;Vt(JSON.parse(o),"replaceState")}function uEe(){let e=ce();for(let t in e)t.slice(0,3)!=="tab"&&delete e[t];return e}function dD(e,t,o){e===t.id?(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.parentElement.classList.add("is-active"),dEe(t.getAttribute("aria-controls"),o)):(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),t.parentElement.classList.remove("is-active"))}function dEe(e,t){t.forEach(o=>{o.dataset.tabContent===e?(o.hidden=!1,o.setAttribute("aria-hidden","false")):(o.hidden=!0,o.setAttribute("aria-hidden","true"))})}function S8e(e){return Array.from(e.querySelectorAll(".tabs-container"))}function w8e(e){return Array.from(e.querySelectorAll(":scope > .tabs .tab-control"))}function C8e(e){return Array.from(e.querySelectorAll(":scope > [data-tab-content]"))}k();var ic=class ic{static async render(t,o){return await ic.ensureFrappeChartsIsLoaded(),ic.frappeLibrary?new ic.frappeLibrary.Chart(t,o):null}static async ensureFrappeChartsIsLoaded(){let t=`${ic.thirdPartyUrl}/frappe-charts/1.5.2/frappe-charts.min.iife.js`;return ic.frappeLibrary||(ic.frappeLibrary=await Xs(t,"sha384-J742xhkMgA0pI8dwp+aANFethNYix5bapYzKZsz8z2Df+xqxLYImpGZddI2+ztIZ","frappe")),ic.frappeLibrary}};ic.thirdPartyUrl="/static/third-party";var pD=ic;k();We();k();We();k();var D8e=e=>e.isAnswered?"docon-check has-text-success":e.isRequired?"docon-asterisk-solid has-text-danger":"docon-location-circle",z8e=e=>e.isAnswered?ate:e.isRequired?lte:cte,N8e=(e,t)=>d`${z8e(e)}${N(t.render(e.title||e.id))}`,mD=class{constructor(){this.md=gp}hasChildren(t){return!!t.children}children(t){return t.children}htmlTitle(t,o=this.md){if(t.isCategory)return t.title;let n=document.createElement("span");return x(N8e(t,o),n),n.innerHTML}textTitle(t){return t.title||t.id}href(t){return t.href.toString()}isNewSection(t){return!1}isExpanded(t){return!!t.children}isSelected(t){return t.isSelected}setHtmlAttributes(t,o){}};We();function fEe(e,t,o){return F8e(e,t,o,!0)}function wV(e){let t=e.querySelector(".tree-item.is-selected");t||(t=ny(e)?e.querySelector(".tree-item"):e.querySelector(".tree-item.tree-leaf")),t&&oy(t)}function hEe(e,t){e.addEventListener("focus",O8e,!0),e.addEventListener("click",o=>U8e(o,t),!0),e.addEventListener("keydown",o=>H8e(o,t),!0)}function F8e(e,t,o,n){let i=document.createElement("ul");return i.classList.add("tree"),i.setAttribute("role","tree"),i.setAttribute("aria-label",o),i.setAttribute("data-bi-name","tree"),i.setAttribute("data-is-collapsible",n?"true":"false"),bEe(i,e,t),wV(i),hEe(i,t),i}function bEe(e,t,o,n=1,i){let r=ny(e),s=1;for(let a of t){if(o.isHidden&&o.isHidden(a))continue;let l=document.createElement("li"),c=document.createElement("a");e.appendChild(l),o.isNewSection(a)&&l.classList.add("border-top"),o.setHtmlAttributes(a,(m,g)=>l.setAttribute(m,g));let u=o.htmlTitle(a);if(o.hasChildren(a)){let m=(i?`${i}_`:"title-")+`${s}-${n}`;mEe(l,a),l.classList.add("tree-item"),l.setAttribute("aria-setsize",t.length.toString()),l.setAttribute("aria-level",n.toString()),l.setAttribute("aria-posinset",s.toString()),l.setAttribute("role","treeitem"),l.setAttribute("tabindex","-1"),l.setAttribute("id",m),r&&l.setAttribute("aria-expanded","false");let g=document.createElement("span");l.appendChild(g),g.setAttribute("data-bi-name","tree-expander"),r&&(g.className="tree-expander"),g.insertAdjacentHTML("beforeend",u),(!r||o.isExpanded(a))&&ty(l,!0,o),s++;continue}c.setAttribute("aria-setsize",t.length.toString()),c.setAttribute("aria-level",n.toString()),c.setAttribute("aria-posinset",s.toString()),c.setAttribute("role","treeitem"),c.setAttribute("tabindex","-1"),!r&&e.parentElement&&e.parentElement.id&&c.setAttribute("aria-describedby",e.parentElement.id),l.setAttribute("role","none"),mEe(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=o.href(a),c.innerHTML=u,o.isSelected(a)&&(c.classList.add("is-selected"),c.setAttribute("aria-current","page")),o.icon&&o.icon(a)&&q8e(c,o.icon(a)),s++}}function mEe(e,t){e.node=t}function _Ee(e){return e.node}function q8e(e,t){if(!t||!t.screenReaderText||!t.classNames)return;let o=document.createElement("span");o.textContent=t.screenReaderText,o.classList.add("visually-hidden"),e.classList.add(...t.classNames),e.append(o)}function ny(e){return e.closest(".tree").getAttribute("data-is-collapsible")!=="false"}function vEe(e){return e?.getAttribute("aria-expanded")==="true"||!ny(e)}function ty(e,t,o){let n=e.getAttribute("aria-level"),r=(n?parseInt(n,10):1)+1;if(!ny(e)&&!t||(e.setAttribute("aria-expanded",t.toString()),!t||e.lastElementChild instanceof HTMLUListElement))return;let a=_Ee(e),l=document.createElement("ul");l.classList.add("tree-group"),l.setAttribute("role","group"),e.appendChild(l);let c=e.getAttribute("id"),u=o.children(a);bEe(l,u,o,r,c)}function oy(e){let t=e.closest(".tree");Array.from(t.querySelectorAll('[tabindex="0"]')).forEach(o=>o.setAttribute("tabindex","-1")),e.setAttribute("tabindex","0")}function gEe(e,t){let o=e.closest(".tree"),i=ny(e)?':not([aria-expanded="false"]) [role="treeitem"]':'[role="treeitem"] .tree-leaf',r=Array.from(o.querySelectorAll(i));t==="preceding"&&r.reverse();let s=t==="preceding"?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING;return r.find(a=>e.compareDocumentPosition(a)&s&&a.closest('.tree [aria-expanded="false"] [role="treeitem"]')!==a&&yEe(a.closest("li")))}function yEe(e){return window.getComputedStyle(e).display!=="none"}function O8e({target:e}){let t=e instanceof HTMLElement&&e.closest('[role="treeitem"]');t&&oy(t)}function U8e({target:e},t){let{REDUCE:o,EXPAND:n}=me,{CLICKLEFT:i}=Ee,r=e instanceof HTMLElement&&e.closest(".tree-expander, a");if(!r)return;let s;if(r instanceof HTMLAnchorElement)s=r;else{s=r.parentElement;let c=vEe(s);ty(s,!c,t),Gt(e,{behavior:c?o:n,actionType:i})}let a=_Ee(s),l=new CustomEvent("tree-item-clicked",{detail:a,bubbles:!0});r.closest(".tree").dispatchEvent(l)}function H8e(e,t){let{target:o,keyCode:n,shiftKey:i,altKey:r,ctrlKey:s}=e,{REDUCE:a,EXPAND:l}=me,{KEYBOARDENTER:c,KEYBOARDSPACE:u,OTHER:p}=Ee;if(r||s||i&&n!==Re.eight&&!(n>=Re.a&&n<=Re.b))return;let m=o instanceof HTMLElement&&o.closest('[role="treeitem"]');if(!m)return;let g=m instanceof HTMLAnchorElement,f=!g&&vEe(m),_=ny(m);if(n===Re.enter||n===Re.space){if(g||!_)return;ty(m,!f,t),Gt(e.target,{behavior:f?a:l,actionType:n===Re.enter?c:u}),e.preventDefault();return}if(n===Re.right){if(g||!_)return;if(f){let h=m.querySelector('[role="treeitem"]');h.focus(),oy(h)}else ty(m,!0,t),Gt(e.target,{behavior:l,actionType:p});e.preventDefault();return}if(n===Re.left){if(!_)return;if(f)ty(m,!1,t),Gt(e.target,{behavior:a,actionType:p}),e.preventDefault();else{let h=m.parentElement.closest('[role="treeitem"]');h&&(h.focus(),oy(h),e.preventDefault())}return}if(n===Re.down||n===Re.up){let h=n===Re.down?"following":"preceding",y=gEe(m,h);y&&(y.focus(),oy(y),e.preventDefault());return}if(n===Re.home||n===Re.end){let h=n===Re.home,y=m.closest(".tree"),v;if(_)v=y[h?"firstElementChild":"lastElementChild"].firstElementChild.closest('[role="treeitem"]'),yEe(v)||(v=gEe(v,h?"following":"preceding"));else{let T=y.querySelectorAll(".tree-item.tree-leaf"),I=h?0:T.length-1;v=T[I]}v.focus(),oy(v),e.preventDefault();return}if(n===Re.numPadAsterisk||n===Re.eight&&i){if(!_)return;let h=m.closest("ul");for(let y=0;y
      ${dY}
      `;k();We();Eh();We();k();k();k();Eh();k();function CV({changeHandler:e,expandedRows:t,id:o,maxCharacterCount:n,name:i,placeholder:r,readonly:s=!1,rows:a=1,value:l="",allowDoubleLength:c=!1}){return d`
      `}function xEe(e){let t=e.target,o=Number(t.getAttribute("data-max-character-count"));if(!t.parentElement)return;let n=t.parentElement.querySelector("span"),i=o-t.value.length;n.textContent=`${i}`,i<=1?n.setAttribute("aria-live","assertive"):n.setAttribute("aria-live","polite")}function EV(e){let t=e.target,o=Number(t.getAttribute("data-expanded-rows")),n=Number(t.getAttribute("data-max-character-count"));if(t.rows=o,t.style.height="auto",!t.parentElement)return;let i=t.parentElement.querySelector("span"),r=n-t.value.length;i.textContent=`${r}`,t.removeEventListener("focus",EV),t.addEventListener("blur",TEe),t.addEventListener("input",xEe)}function TEe(e){let t=e.target,o=Number(t.getAttribute("data-collapsed-rows"));if(t.rows=o,t.style.height="inherit",!t.parentElement)return;let n=t.parentElement.querySelector("span");n.textContent="",t.removeEventListener("blur",TEe),t.removeEventListener("input",xEe),t.addEventListener("focus",EV)}k();k();k();function oGe(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://channel9.msdn.com/"]'));t.length&&t.forEach(o=>{let n=o.src.split("/"),i=n[n.length-2],r=`${g2}: ${i}`;o.title=o.title||r})}function nGe(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://www.youtube"]'));t.length&&t.forEach(o=>{let n=o.src.split("/").pop(),i=`${g2}: ${n}`;o.title=o.title||i})}function iGe(e){let t=[],o=[];window.addEventListener("beforeprint",()=>{Array.from(e.querySelectorAll(".embeddedvideo iframe")).forEach(i=>{if(i.offsetParent!==null){let r=i.src,s=document.createElement("a");s.href=r,s.target="_blank",s.text=r,i.parentElement&&(i.parentElement.appendChild(s),i.hidden=!0,t.push(i),o.push(s))}})}),window.addEventListener("afterprint",()=>{t.forEach(n=>n.hidden=!1),o.forEach(n=>n.remove()),t=[],o=[]})}function AV(e){nGe(e),oGe(e),iGe(e)}k();k();async function kV(e,t,o){let n=await lp(t);if(!(!n||!e)){switch(e){case"details":case"leaderboard":n.add({title:Ff,url:`/${n.basePath}/challenges`});break;case"content":o&&n.add({title:Ff,url:`/${n.basePath}/challenges`},{title:Oy,url:`/${n.basePath}/challenges/${o}/leaderboard`});break;default:throw new Error("Unsupported page.")}n.render()}}We();Eh();var IV="5d6ea118-ff48-4612-a205-7c65e11e49ca",gf="379d1859-15d0-4803-81ed-eb51a2e4945d";var Vn=class{constructor({errorCode:t}){this.errorCode=t}};k();We();I2();function PV(e){let o=/(?:status|code)[^\d]*(\d{3})/i.exec(e);return o?parseInt(o[1],10):null}var Cp=class extends Be{constructor(o=null,n=null,i=!0,r=!1,s="Unknown"){super();this.id=o;this.collectionOwner=n;this.isPublicView=i;this.hasActiveTakedowns=r;this.reportStatus=s;this.isUserAuthenticated=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(o){this._editingId=o,this.notifyPropertyChanged()}get editingSectionId(){return this._editingSectionId}set editingSectionId(o){let n=this._editingSectionId;this._editingSectionId=o,this.notifyPropertyChanged(),o?document.getElementById("add-edit-section-form")?.focus():document.getElementById(n===gf?"section":`edit-section-${n}`)?.focus()}get isEditingSummaryTitle(){return this._isEditingSummaryTitle}set isEditingSummaryTitle(o){this._isEditingSummaryTitle=o,this.notifyPropertyChanged()}get isEditingSummaryDescription(){return this._isEditingSummaryDescription}set isEditingSummaryDescription(o){this._isEditingSummaryDescription=o,this.notifyPropertyChanged()}get isEditing(){return this.editingId!==null||this.editingSectionId!==null||this.isEditingSummaryTitle||this.isEditingSummaryDescription}get isOfficialOrOverride(){return this._isOfficialOrOverride}set isOfficialOrOverride(o){this._isOfficialOrOverride=o,this.notifyPropertyChanged()}get isChallengeCollection(){return!_t(this.collection?.challengeId)||!_t(this.collection?.learnChallengeId)}get busy(){return this._busy}get showUserDisplayName(){return this._showUserDisplayName}async beforeActivate(o=null){try{if(!this.id)this.collection=o;else{let r=await mt.getList(this.id);r.hasError===!1&&(this.collection=r.data)}let n=new URLSearchParams(location.search),i=n.has("force-official-collection")?n.get("force-official-collection")==="true":!1;if(this._isOfficialOrOverride=this.collection?.isOfficial||i,this.isUserAuthenticated&&this.isUserChallengeAdmin===void 0&&(this.isUserChallengeAdmin=(await wc("me"))?.isChallengeAdmin??!1),this.collectionOwner===null){let r=await wc(`id:${this.collection.userId}`);this.setPublicCollectionOwner(r)}w.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await mt.getActiveTakedowns(this.id))):this.setReportStatus(await mt.getReportStatus(this.id)),this.notifyPropertyChanged()}catch(n){if(n instanceof Error){let i=PV(n.message);i&&(this.responseErrorCode=i)}}}async updateCollection(o,n,i){if(this.busy)throw new Error("Busy");this.setBusy();try{let r=await mt.updateListMetadata(i??this.id,{name:o,description:n});if(r.hasError===!1){let{data:s}=r;this.collection=s}else throw new Vn({errorCode:r.error.errorCode})}finally{this.setHasActiveTakedowns(!1),this.setReady()}}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await mt.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async setPublicCollectionOwner(o){this.collectionOwner=o}async setIsPublicView(o){this.isPublicView=o}async setHasActiveTakedowns(o){this.hasActiveTakedowns=o}async setReportStatus(o){this.reportStatus=o}async deleteCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await ln(iD(this.collection.name,Yf,xc));if(o){let n=await mt.deleteList(this.id);if(n.hasError===!1)location.href=`${uo(w.userName,"collections")}`;else throw new Vn({errorCode:n.error.errorCode})}}finally{this.setReady()}}async localizeCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await ln(rD(),!0);if(o){let n=ln(sD());await mt.submitForLocalize(this.id),await n;let i=document.getElementById("submit-loc"),r=document.createElement("p");r.classList.add("margin-top-sm"),r.setAttribute("id","loc-submitted-text");let s=d`${BE}`;x(s,r),document.getElementById("icon-list").parentElement.appendChild(r),i.hidden=!0}}finally{this.setReady()}}async copyCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await mt.copyList(this.collection.id,this.collection.name,this.collection.description);if(o.hasError===!1){let{data:n}=o,{submitted:i}=await ln(nEe(UE,qE));i&&(location.href=wu(n.id).toString())}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async convertCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await ln(oEe(DE,Fp));o&&(await mt.convertList(this.collection.id),location.reload())}finally{this.setReady()}}async updatePrivacy(){if(this.busy)throw new Error("Busy");if(!this.collection||!this.collection.id)throw new Error("Invalid Collection");this.setBusy();try{let o=await mt.toggleListPrivacy(this.collection.id,!this.collection.isPrivate);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async commitUrlItem(o,n,i=-1,r){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=Vxe(n,o),a=await(r?mt.updateItem(this.id,r,s):mt.addItem(this.id,s));if(a.hasError===!1){let{data:l}=a;if(this.collection.sectionCount){let c=i!==-1?i:this.collection.sectionCount-1;if(r){let u=this.collection.sections[c].items.findIndex(p=>p.id===r);this.collection.sections[c].items[u]=l}else this.collection.sections[c].items.push(l),this.collection.sections[c].itemCount=this.collection.sections[c].items.length;return}if(r){let c=this.collection.items.findIndex(u=>u.id===r);this.collection.items[c]=l}else this.collection.items.push(l),this.collection.itemCount=this.collection.items.length}else throw new Vn({errorCode:a.error.errorCode})}finally{this.setReady()}}async moveItem(o,n,i=-1,r){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===0)return;let s=i!==-1?{sectionId:this.collection.sections[i].id,items:this.collection.sections[i].items.map(u=>u.id)}:{sectionId:null,items:this.collection.items.map(u=>u.id)},a=i!==-1&&this.collection.sections[i+n]?{sectionId:this.collection.sections[i+n].id,items:this.collection.sections[i+n].items.map(u=>u.id)}:null,l=dGe(o,n,s,a),c=await mt.sortList(r??this.id,l);if(c.hasError===!1)this.syncProgress(c.data,this.collection),this.collection=c.data;else throw new Error(c.error.message)}finally{this.setReady()}}async moveSection(o,n,i){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===0)return;if(n===-1){if(o===0)return;let a=this.collection.sections[o],l=this.collection.sections[o-1];this.collection.sections[o]=l,this.collection.sections[o-1]=a}if(n===1&&this.collection.sections!==void 0){if(o===this.collection.sections.length-1)return;let a=this.collection.sections[o],l=this.collection.sections[o+1];this.collection.sections[o]=l,this.collection.sections[o+1]=a}let r=this.collection.sections.map(a=>({sectionId:a.id,items:a.items.map(l=>l.id)})),s=await mt.sortList(i??this.id,r);if(s.hasError===!1)this.syncProgress(s.data,this.collection),this.collection=s.data;else throw new Error(s.error.message)}finally{this.setReady()}}async moveItemToSection(o,n,i,r){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===i)return;let s=this.collection.sections.map(c=>({sectionId:c.id,items:[...(c.items??[]).map(u=>u.id)]})),[a]=s[n].items.splice(o,1);s[i].items.unshift(a);let l=await mt.sortList(r??this.id,s);if(l.hasError===!1)this.syncProgress(l.data,this.collection),this.collection=l.data;else throw new Error(l.error.message)}finally{this.setReady()}}async deleteItem(o,n=-1,i){if(!this.busy){this.setBusy();try{let{submitted:r}=await ln(iD(o.data.title,Yf,xc));if(r){if(await mt.deleteItem(i??this.id,o.id),this.collection.sectionCount&&Array.isArray(this.collection.sections)&&n!==-1){let l=this.collection.sections[n];l.items=(l.items??[]).filter(c=>c.id!==o.id),l.itemCount=l.items.length;return}this.collection.itemCount&&Array.isArray(this.collection.items)&&(this.collection.items=this.collection.items.filter(l=>l.id!==o.id),this.collection.itemCount=this.collection.items.length)}}finally{this.setReady()}}}async commitSection(o,n,i,r){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=await(this.editingSectionId===gf?mt.createSection(r??this.id,[...o?.trim()].length!==0?o:this.getDefaultSectionName(),n,i):mt.updateSection(r??this.id,this.editingSectionId,o,n,i));if(s.hasError===!1){let{data:a}=s;this.syncProgress(a,this.collection),this.collection=a}else throw new Vn({errorCode:s.error.errorCode})}finally{this.editingSectionId!==gf&&this.setHasActiveTakedowns(!1),this.setReady()}}async deleteSection(o,n){if(this.busy)throw new Error("Busy");this.setBusy();try{let i=await mt.deleteSection(n??this.id,o);if(i.hasError===!1){this.syncProgress(i.data,this.collection);let{data:r}=i;this.collection=r}}finally{this.setReady()}}getAmountStrings(){let o="",n="";if(this.collection.totalItems===0)return{pathCountFormat:o,moduleCountFormat:n};let{path:i,module:r}=this.getCollectionItemsAmount();return i!==0&&(o=(i===1?hW:fW).replace("{numberOf}",i.toString())),r!==0&&(n=(r===1?GE:VE).replace("{numberOf}",r.toString())),{pathCountFormat:o,moduleCountFormat:n}}getCollectionItemsAmount(){return this.collection.items.concat(...this.collection.sections?this.collection.sections.map(n=>n.items??[]):[]).reduce((n,i)=>((i.data.pageKind==="path"||i.data.pageKind==="module")&&n[i.data.pageKind]++,n),{path:0,module:0})}canCopyAsChallenge(){return(!!this.isUserChallengeAdmin||w.tenantId===nr)&&(Object.values(this.getCollectionItemsAmount()).some(o=>o>0)||Object.values(this.getCollectionSectionItemsAmount()).some(o=>o>0))}setBusy(){this._busy=!0,this.notifyPropertyChanged()}setReady(){this._busy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new ot)}getDefaultSectionName(o=Uz){let[n,i]=[this.collection.sectionCount,this.collection.sections];if(!n||!Array.isArray(i))return o.replace("{number}",Fi(1));let r=n+1;for(;i.some(s=>s.name===o.replace("{number}",Fi(r)));)r++;return o.replace("{number}",Fi(r))}syncProgress(o,n){let i=Object.fromEntries([...n?.items??[],...(n?.sections??[]).flatMap(r=>r.items??[])].filter(r=>r?.id).map(r=>[r.id,r]));for(let r of[...o?.items??[],...(o?.sections??[]).flatMap(s=>s.items??[])])r?.id&&r.data&&i[r.id]?.data&&(r.data.progress=i[r.id].data.progress)}getCollectionSectionItemsAmount(){return(this.collection.sections??[]).reduce((o,n)=>{let i=(n.items??[]).reduce((r,s)=>((s.data.pageKind==="path"||s.data.pageKind==="module")&&r[s.data.pageKind]++,r),{path:0,module:0});return o.path+=i.path,o.module+=i.module,o},{path:0,module:0})}};function dGe(e,t,o,n){if(!o)throw new Error("Initial section is undefined.");let i={sectionId:o.sectionId,items:Zs(o.items)},r=e+t;if(r>=0&&r
      `}function CEe(){let e=document.createElement("div"),t=pGe();return x(t,e),new we(e)}function pGe(){return d``}function LV(e){let t=document.createElement("div");x(e,t),iy=new we(t)}function uC(e,t,o="",n=kn,i=Ne,r=!1,s=!1,a=""){return d``}var Ui=class extends Cp{constructor(o){super();this.id=o;this.returnedForbidden=!1;this._planBusy=!1;this._skillingPlan=null;this._nextPlanItem=null;this._isNextPlanItemHighlighted=!1;this._isEditingSummaryLearningOutcomes=!1;this._stats=null;this._csv=null;this._editResultCode=-1;this._id=o}get busy(){return this._planBusy}get planId(){return this._id}set planId(o){this._id=o}get plan(){return this._skillingPlan}set plan(o){this._skillingPlan=o,o&&(this.collection=o.contentList,this.isOfficialOrOverride=this.collection?.isOfficial??!1),this.notifyPropertyChanged()}get nextPlanItem(){return this._nextPlanItem}set nextPlanItem(o){this._nextPlanItem=o}get isNextPlanItemHighlighted(){return this._isNextPlanItemHighlighted}set isNextPlanItemHighlighted(o){this._isNextPlanItemHighlighted=o}get isEditing(){return super.isEditing||this.isEditingSummaryLearningOutcomes}get editResultCode(){return this._editResultCode}set editResultCode(o){this._editResultCode=o}get isEditingSummaryLearningOutcomes(){return this._isEditingSummaryLearningOutcomes}set isEditingSummaryLearningOutcomes(o){this._isEditingSummaryLearningOutcomes=o,this.notifyPropertyChanged()}async setIsPublicView(o){this.isPublicView=o}get stats(){return this._stats}set stats(o){this._stats=o}get csv(){return this._csv}set csv(o){this._csv=o}hasStarted(){return!_t(this.plan?.startedOn)}isCompleted(){return!_t(this.plan?.completedOn)||(this.plan?.itemsCompleted??0)===this.collection.totalItems}async moveItem(o,n,i){await super.moveItem(o,n,i,this.collection.id)}async moveItemToSection(o,n,i){await super.moveItemToSection(o,n,i,this.collection.id)}async deleteItem(o,n=-1){await super.deleteItem(o,n,this.collection.id)}async updateCollection(o,n){await super.updateCollection(o,n,this.collection.id)}async localizePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await ln(rD(void 0,Nie),!0);if(o){let n=ln(sD(Fie));await mt.submitForLocalize(this.collection?.id),await n;let i=document.getElementById("submit-loc"),r=document.createElement("p");r.classList.add("margin-top-sm"),r.setAttribute("id","loc-submitted-text");let s=d`${M0}`;x(s,r),document.getElementById("icon-list")?.parentElement?.appendChild(r),i&&(i.hidden=!0)}}finally{this.setReady()}}resumePlan(){let{item:o,elementToHighlight:n}=this.getFirstIncompleteItem(this.collection.sections??[]);location.hash=n,this.nextPlanItem=o,this.isNextPlanItemHighlighted=!0,setTimeout(()=>Xw(location.hash)),this.notifyPropertyChanged()}setBusy(){this._planBusy=!0,this.notifyPropertyChanged()}setReady(){this._planBusy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new ot)}async beforeActivate(){try{if(location.hash="",this.plan=await oi.getSkillingPlan(this.planId),this.collectionOwner===null){let n=await wc(`id:${this.plan?.userId}`);this.setPublicCollectionOwner(n)}w.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await mt.getActiveTakedowns(this.collection?.id)),await this.getPlanStatistics(),this.csv=`${z.lists}/skillingPlan/${this.planId}/csv`):this.setReportStatus(await mt.getReportStatus(this.collection?.id)),ce(location.search).ref==="profile"&&this.hasStarted()?this.resumePlan():this.nextPlanItem=this.getFirstIncompleteItem(this.collection.sections??[]).item,this.notifyPropertyChanged()}catch{}}async joinPlan(o){if(this.busy)throw new Error("Busy");try{await ln(wEe(),!1,async n=>{let i=n.querySelector("#save-plan-btn");i?.classList.add("is-loading"),this.setBusy();try{let r=await oi.joinSkillingPlan(this.planId);return r.hasError===!1&&(this.plan=r.data),o?.onSuccess?.(),{hasError:!1,data:null}}catch{return Mo(n,"somethingWentWrong"),{hasError:!0}}finally{i?.classList.remove("is-loading")}})}finally{this.setReady()}}async moveSection(o,n){await super.moveSection(o,n,this.collection.id)}async commitSection(o,n,i){await super.commitSection(o,n,i,this.collection.id)}async deleteSection(o,n){await super.deleteSection(o,n??this.collection.id)}async updatePlan(o){if(this.busy)throw new Error("Busy");this.setBusy();let n=null;try{n=await oi.updateSkillingPlan(this.planId,o),n.hasError===!1&&(this.syncProgress(n.data.contentList,this.plan.contentList),this.plan=n.data,this.hasActiveTakedowns=!1,this.editResultCode=200)}catch{this.editResultCode=500}finally{this.setReady()}return n}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await mt.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Vn({errorCode:o.error.errorCode})}finally{this.setReady()}}async deletePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{await oi.deleteSkillingPlan(this.planId)}finally{this.setReady()}}async dropPlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await oi.leaveSkillingPlan(this.planId);o.hasError===!1&&(this.plan=o.data)}finally{this.setReady()}}async trackClick(o,n){if(this.busy)throw new Error("Busy");if(n&&window.open(n,"_blank"),!!(!["module","path"].includes(o.data.pageKind)&&o.data.progress!==1&&this.hasStarted())){this.setBusy();try{await oi.trackClick(this.planId,o.id),this.updateTrackedItemProgress(this.collection,o,this.plan)}finally{this.setReady()}}}async getPlanStatistics(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await oi.getPlanStatistics(this.planId);o!==null&&(this.stats=o)}finally{this.setReady()}}async addToLearnersGroups(o,n){if(this.busy)throw new Error("Busy");this.setBusy(),this.plan!==null&&(this.plan?.learnerGroups===void 0||this.plan?.learnerGroups===null)&&(this.plan.learnerGroups=[]),this.plan?.learnerGroups?.push(o),this.setReady(),n(this)}async updateLearnerGroup(o){let{id:n,name:i}=o;if(this.plan===null)throw new Error("Plan not found");if(this.busy)throw new Error("Busy");this.setBusy();let r=await oi.updateLearnerGroup(this.plan?.id,n,i);if(r.hasError===!1&&this.plan?.learnerGroups){let s=this.plan.learnerGroups.findIndex(l=>l.id===n),{data:a}=r;s!==-1&&(this.plan.learnerGroups[s]=a)}return this.setReady(),r}async deleteLearnerGroup(o){if(this.busy)throw new Error("Busy");this.setBusy();let n=await oi.deleteLearnerGroup(this.plan?.id,o);return n.hasError===!1&&this.plan?.learnerGroups&&(this.plan.learnerGroups=this.plan?.learnerGroups?.filter(i=>i.id!==o)),this.setReady(),n}getDefaultSectionName(){return super.getDefaultSectionName(Vte)}updateTrackedItemProgress(o,n,i){let r=[...o.items??[],...(o.sections??[]).flatMap(s=>s.items??[])].find(s=>s?.id===n.id&&s.data);r&&(r.data.progress=1,i.itemsCompleted=(i.itemsCompleted??0)+1)}getFirstIncompleteItem(o){o=o.filter(a=>a.items?.length);let n=o[0],i=o[0]?.items?.[0]??null,r=0,s=0;for(let a of o){let l=a.items?.findIndex(c=>(c?.data.progress??0)<1)??-1;if(l!==-1&&a.items?.[l]){n=a,i=a.items[l],s=l,r=o.indexOf(a);break}}return{section:n,item:i,elementToHighlight:qo(i?.data.uid??"")||`${i?.type+"-"||""}item-${r}${s}`}}};var EEe={architecture:cE,conceptual:E7,tutorial:Gae,certification:hc,appliedSkills:cf,challenge:la,sample:yY,course:qp,examination:Yi,faq:bJ,path:Kf,knownissue:iA,lifecycle:cX,module:Ei,apiconnector:Yn,"azure-cli":Yn,cli:Yn,dotnet:Yn,java:Yn,javascript:Yn,odata:Yn,powerconnector:Yn,powershell:Yn,python:Yn,rest:Yn,typescript:Yn,show:SN,series:sA,episode:ox};function ry(e,t,o){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]:o&&o.startsWith("/answers/questions")?ste:""}k();var mGe=()=>`/${b.data.userLocale}${R.reviewFeatures?"/test/plans":"/plans"}`;function sy(e,t,o){let n=new URL(location.href),i=new URLSearchParams(n.search),r=n;if(r.pathname=`${mGe()}/${e}`,t){let s=new URLSearchParams(t);for(let[a,l]of s)r.searchParams.set(a,l)}return o&&(r.hash=o),i.has("preview")&&r.searchParams.set("preview",i.get("preview")??""),r.href}function AEe(e){let t=e.items;if(!t)return 0;let o=t?.filter(i=>(i?.data.progress??0)===1);return o?.length?o.length/t?.length:0}function RV(e){if(location.hash){let t=e.querySelector(location.hash);t!==null&&scrollTo(window.scrollY+t.getBoundingClientRect().top,500)}}function kEe(e,t){let o="primary";return e.data.progress===1?o="accent":t&&(o="info"),`${o} border-radius`}function fD(e,t){let o={completionStatusTag:"",completionStatusTagStyle:"",progressBarLabelStyle:"",progressBarStyle:""};return e===1?(o.completionStatusTag=t==="milestone"?Qie:Qi,o.completionStatusTagStyle=t==="milestone"?"color-primary":"color-success"):o.progressBarLabelStyle=t==="milestone"?"font-weight-bold":"",o}function IEe(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 ile}}function PEe(e){return w.tenantId===nr&&e!=="bookmarks"}function MV(e,t=""){let{id:o,contentList:{name:n},learningOutcomes:i}=e,r=n??"",s=sy(o,t?`learnerGroupId=${t}`:""),a=encodeURIComponent(die).replace(encodeURIComponent("{planTitle}"),r),l=[pie,String(mie).replace("{planTitle}",r),gie];return i.length!==0&&l.push(String(fie)+` `+i.map(c=>`- ${c}`).join(` `)),l.push(String(hie)+` `+s),{emailSubject:a,emailBody:encodeURIComponent(l.join(` `)),encodedPlanUrl:encodeURIComponent(s)}}function LEe(e,t){return t.some(o=>o.name.toLowerCase()===e.toLowerCase())}function dC(e,t){e.hidden=!e.hidden,t.hidden=!t.hidden}function $V(e,t,o=!1){return`

      ${e}

      ${o?``:""}
      `}function DV(e,t){let o=decodeURIComponent(e);if(Er(o,t.target)){let i=document.querySelector("#notification-wrapper"),r=$V(nie,"success",!0);i.innerHTML=r}}k();var zV={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 hD(e){return zV.email.test(e)}function bD(e){return zV.phone.test(e)}function _D(e){return zV.externalLink.test(e)}function pC(e,t,o,n){switch(e){case"InvalidTitle":t.setCustomValidity(DY),t.reportValidity();break;case"TitleMissing":t.setCustomValidity($Y),t.reportValidity();break;case"UrlFormatIncorrect":o.setCustomValidity(FY),o.reportValidity();break;case"Malformed":o.setCustomValidity(qY),o.reportValidity();break;case"Unofficial":if(n)n.textContent=NY,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(n)n.textContent=zY,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function gGe(e,t){let i=[...e.value.trim()].length;return i===0?(pC("TitleMissing",e,t),!1):i<2||i>100?(pC("InvalidTitle",e,t),!1):t.value.startsWith("http://")||t.value.startsWith("https://")?!0:(pC("UrlFormatIncorrect",e,t),!1)}function xD(e,t=-1,o){let n=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("add-edit-url-title"),c=a.elements.namedItem("add-edit-url");if(gGe(l,c))try{let u=l.value.trim(),p=c.value.trim();await e.commitUrlItem(u,p,t,o?.id),e.editingId=null}catch(u){let p=a.querySelector("#generic-error-container");u instanceof Vn?pC(u.errorCode,l,c,p):pC("UnexpectedError",l,c,p)}},i=()=>{e.editingId=null},r=s=>{s.key==="Escape"&&i(),s.target instanceof HTMLInputElement&&gC(s)};return d`
      s.target.setCustomValidity("")} />
      s.target.setCustomValidity("")} />
      `}function mC(e,t,o,n,i){switch(e){case"InvalidTitle":t.setCustomValidity(IY),t.reportValidity();break;case"DuplicateTitle":t.setCustomValidity(AY),t.reportValidity();break;case"InvalidDescription":o.setCustomValidity(EY),o.reportValidity();break;case"InvalidDaysToComplete":n?.setCustomValidity(wY),n?.reportValidity();break;case"Invalid":if(i)i.textContent=PY,i.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(i)i.textContent=LY,i.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function fGe(e,t,o){let r=[...e.value.trim()].length,s=[...t.value.trim()].length;if(r>100)return mC("InvalidTitle",e,t,o),!1;if(s>550)return mC("InvalidDescription",e,t,o),!1;if(o){let a=o.value.trim();if(a!==""){let l=Number(a);if(isNaN(l)||!Number.isInteger(l)||l<1)return mC("InvalidDaysToComplete",e,t,o),!1}}return!0}function NV(e,t){let o=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("add-edit-section-title"),c=a.elements.namedItem("add-edit-section-description"),u=a.elements.namedItem("add-edit-section-days-to-complete");if(fGe(l,c,u))try{let p=l.value.trim(),m=c.value.trim(),g=(()=>{let f=u?.value.trim();if(f)return parseInt(f)})();await e.commitSection(p,m,g),e.editingSectionId=null}catch(p){let m=a.querySelector("#generic-error-container");p instanceof Vn?mC(p.errorCode,l,c,u,m):mC("UnexpectedError",l,c,u,m)}},n=()=>{e.editingSectionId=null},i=s=>{s.key==="Escape"&&n()},r=s=>{gC(s),s.target.setCustomValidity("")};return d`
      ${(()=>{let s=e instanceof Ui?"plan":"collection",a=t?"editSection":"newSection";return{collection:{newSection:Oz,editSection:CY},plan:{newSection:Hie,editSection:Uie}}[s][a]})()}
      ${e instanceof Ui?d`
      `:""}
      `}function gC(e){let o=e.target.closest("form").querySelector("#generic-error-container");o.hidden||(o.textContent="",o.hidden=!0)}function vD(e,t,o){switch(e){case"InvalidTitle":t.setCustomValidity(Mu),t.reportValidity();break;case"DuplicateTitle":let n=zE.replace("{title}",t.value.trim());t.setCustomValidity(n),t.reportValidity();break;case"InvalidContent":t.setCustomValidity(NE),t.reportValidity();break;default:if(o)o.textContent=cW,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function hGe(e){if(hD(e.value)||_D(e.value)||bD(e.value))return vD("InvalidContent",e),!1;let n=[...e.value.trim()].length;return n<1||n>100?(vD("InvalidTitle",e),!1):!0}function FV(e,t="",o=""){if(!e)return d``;let n=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("edit-summary-title");if(hGe(l))try{let c=l.value.trim(),u=e.collection.description?.trim()||"";await e.updateCollection(c,u),e.isEditingSummaryTitle=!1}catch(c){let u=a.querySelector("#generic-error-container");c instanceof Vn?vD(c.errorCode,l,u):vD("UnexpectedError",l,u)}},i=()=>{e.isEditingSummaryTitle=!1},r=s=>{s.key==="Escape"&&i(),s.target instanceof HTMLInputElement&&(gC(s),s.target.setCustomValidity(""),s.target.reportValidity())};return d`
      `}function yD(e,t,o){switch(e){case"InvalidContent":t.setCustomValidity(NE),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(By),t.reportValidity();break;default:if(o)o.textContent=uW,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function bGe(e){return hD(e.value)||_D(e.value)||bD(e.value)?(yD("InvalidContent",e),!1):[...e.value.trim()].length>550?(yD("InvalidDescription",e),!1):!0}function qV(e,t="",o=""){if(!e)return d``;let n=async s=>{s.preventDefault();let a=s.target,l=a.elements.namedItem("edit-summary-description");if(bGe(l))try{let c=e.collection.name?.trim()||"",u=l.value.trim()||"";await e.updateCollection(c,u),e.isEditingSummaryDescription=!1}catch(c){let u=a.querySelector("#generic-error-container");c instanceof Vn?yD(c.errorCode,l,u):yD("UnexpectedError",l,u)}},i=()=>{e.isEditingSummaryDescription=!1},r=s=>{s.key==="Escape"&&i(),s.target instanceof HTMLTextAreaElement&&(gC(s),s.target.setCustomValidity(""),s.target.reportValidity())};return d`
      `}function REe(e,t){if(t)switch(e){case"InvalidContent":t.setCustomValidity(NE),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(By),t.reportValidity();break;case"Invalid":t.setCustomValidity(aW),t.reportValidity();break;default:break}}function _Ge(e){e&&(e.textContent=dW,e.hidden=!1)}function vGe(e,t){let o=!1,n=!0;return t&&(t.textContent="",t.hidden=!0),e.forEach(i=>{i.setCustomValidity("");let r=i.value.trim();r.length>0&&(o=!0,(hD(r)||_D(r)||bD(r))&&(REe("InvalidContent",i),n=!1))}),!o&&e.length>0&&(REe("Invalid",e[0]),n=!1),n}function OV(e,t=""){if(!e||!e.isEditingSummaryLearningOutcomes||e.isPublicView)return"";let o=()=>{e.isEditingSummaryLearningOutcomes=!1},n=async a=>{a.preventDefault();let l=a.target,c=Array.from(l.querySelectorAll('textarea[id^="edit-summary-learning-outcomes"]')),u=l.querySelector("#generic-error-container");if(vGe(c,u))try{let p=e.collection.name?.trim()||"",m=e.collection.description?.trim()||"",g=c.map(_=>_.value.trim()).filter(_=>_.length>0),f={metadata:{name:p,description:m,learningOutcomes:g,listId:e.collection.id??"",isOfficial:e.collection.isOfficial??!1}};await e.updatePlan(f),o()}catch{_Ge(u)}},i=a=>{a.key==="Escape"&&o(),a.target instanceof HTMLTextAreaElement&&(gC(a),a.target.setCustomValidity(""),a.target.reportValidity())},r=e.plan.learningOutcomes,s=[...r,"","",""].slice(0,Math.max(3,r.length));return d`
      ${Cie}
      ${s.map((a,l)=>d`
      `)}
      `}k();var MEe=bt(),$Ee=b.data.contentLocale||b.data.userLocale;async function ff(e,t){let o=N2(e),n=[],i={method:"GET"},r=o.map(async s=>{let a={branch:MEe,uids:s.join(";"),locale:$Ee},l=`${z.learn.progress.user}?${pe(a)}`,c=K(l,i),u=await $(c);if(u.ok&&u.status!==204){let p=await u.json();n.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(s){t?.fail(s)}return n}function DEe(e,t){let o={branch:MEe,locale:$Ee},n=`${z.learn.progress.batchUnit}?${pe(o)}`,r={method:"PUT",body:JSON.stringify(e)};return t?.updateProgress("Putting batch Progress"),$(K(n,r)).then(s=>he(s)).then(s=>{if(s.ok)return t?.updateProgress("Completed putting batch progress"),s.json();throw new jt(s)}).catch(s=>(t?.fail(s),Promise.reject()))}k();var hf={all:aa,ai:"AI search",documentation:ua,training:Xi,credential:mn,qna:sx,reference:Yn,show:Ci};var zEe={...G$};var ds={all:aa,last24hours:jae,last7days:Qae,last30days:Yae,last365days:Wae,custom:dK};var TD={advanced:F9,beginner:$7,intermediate:GZ};function UV(e){switch(e){case"beginner":return 0;case"intermediate":return 1;case"advanced":return 2;default:return 3}}var HV={ar:lA,"ar-sa":mX,bg:cA,"bg-bg":gX,"bs-cyrl":fX,"bs-latn":uA,ca:dA,cs:pA,da:mA,de:gA,el:fA,"el-gr":hX,en:hA,"en-my":bX,es:bA,"es-mx":_X,et:_A,eu:vA,fi:yA,fil:xA,fr:TA,ga:SA,gl:wA,he:CA,hi:EA,hr:AA,hu:kA,"hu-hu":vX,id:IA,"id-id":yX,is:PA,it:LA,ja:RA,kk:MA,ko:$A,lb:DA,lt:zA,lv:NA,ms:FA,mt:qA,nb:OA,nl:UA,pl:HA,pt:BA,"pt-br":TX,"pt-pt":SX,ro:VA,ru:GA,sk:QA,sl:jA,"sr-cyrl":YA,"sr-latn":WA,sv:KA,th:JA,tr:ZA,uk:XA,"uk-ua":wX,ur:CX,vi:e0,"vi-vn":EX,"zh-cn":t0,"zh-hk":o0,"zh-tw":n0};var NEe={event:oX,series:sA,show:Ci};var Hi={category:hf,credential_types:zEe,date:ds,levels:TD,locales:HV,resource_type:{...bCe,...G$},show_type:NEe,years:b2,author:Hp,tags:c2},ay={azure_categories:U7,category:Wz,credential_types:cK,event_groups:YK,languages:qee,date:Wy,levels:lX,locales:ZZ,products:ih,roles:Dte,resource_type:Pte,subjects:fse,type:QQ,show_type:eX,years:b2,author:Hp,tags:c2},FEe={azure_categories:O7,category:Wz,credential_types:lK,event_groups:jK,languages:Fee,date:Wy,levels:sX,locales:xN,products:nh,roles:Mte,resource_type:Kae,subjects:gse,type:GQ,show_type:XZ,years:ule,author:Hp,tags:wse};function xo(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}}k();k();k();var SGe=parseInt(P("hoursToComplete"),10),Rxo=yR(SGe).toLocaleLowerCase();k();k();var $e={ar:lA,bg:cA,"bs-latn":uA,ca:dA,cs:pA,da:mA,de:gA,el:fA,en:hA,es:bA,et:_A,eu:vA,fi:yA,fil:xA,fr:TA,ga:SA,gl:wA,he:CA,hi:EA,hr:AA,hu:kA,id:IA,is:PA,it:LA,ja:RA,ka:xX,kk:MA,ko:$A,lb:DA,lt:zA,lv:NA,ms:FA,mt:qA,nb:OA,nl:UA,pl:HA,pt:BA,ro:VA,ru:GA,sk:QA,sl:jA,"sr-cyrl":YA,"sr-latn":WA,sv:KA,th:JA,tr:ZA,uk:XA,vi:e0,"zh-cn":t0,"zh-hk":o0,"zh-tw":n0},SD=new Map([["ar-sa",$e.ar],["bg-bg",$e.bg],["bs-latn-ba",$e["bs-latn"]],["ca-es",$e.ca],["cs-cz",$e.cs],["da-dk",$e.da],["de-at",`${$e.de} (${Jz})`],["de-ch",`${$e.de} (${Qy})`],["de-de",$e.de],["el-gr",$e.el],["en-au",`${$e.en} (${Kz})`],["en-ca",`${$e.en} (${WE})`],["en-gb",`${$e.en} (${sN})`],["en-ie",`${$e.en} (${eN})`],["en-in",`${$e.en} (${Xz})`],["en-my",`${$e.en} (${KE})`],["en-nz",`${$e.en} (${oN})`],["en-sg",`${$e.en} (${iN})`],["en-us",`${$e.en} (${aN})`],["en-za",`${$e.en} (${rN})`],["es-es",`${$e.es}`],["es-mx",`${$e.es} (${tN})`],["et-ee",$e.et],["eu-es",$e.eu],["fi-fi",$e.fi],["fil-ph",$e.fil],["fr-be",`${$e.fr} (${YE})`],["fr-ca",`${$e.fr} (${WE})`],["fr-ch",`${$e.fr} (${Qy})`],["fr-fr",`${$e.fr}`],["ga-ie",$e.ga],["gl-es",$e.gl],["he-il",$e.he],["hi-in",$e.hi],["hr-hr",$e.hr],["hu-hu",$e.hu],["id-id",$e.id],["is-is",$e.is],["it-ch",`${$e.it} (${Qy})`],["it-it",`${$e.it}`],["ja-jp",$e.ja],["ka-ge",$e.ka],["kk-kz",$e.kk],["ko-kr",$e.ko],["lb-lu",$e.lb],["lt-lt",$e.lt],["lv-lv",$e.lv],["ms-my",`${$e.ms} (${KE})`],["mt-mt",$e.mt],["nb-no",$e.nb],["nl-be",`${$e.nl} (${YE})`],["nl-nl",`${$e.nl}`],["pl-pl",$e.pl],["pt-br",`${$e.pt} (${Zz})`],["pt-pt",`${$e.pt} (${nN})`],["ro-ro",$e.ro],["ru-ru",$e.ru],["sk-sk",$e.sk],["sl-si",$e.sl],["sr-cyrl-rs",$e["sr-cyrl"]],["sr-latn-rs",$e["sr-latn"]],["sv-se",$e.sv],["th-th",$e.th],["tr-tr",$e.tr],["uk-ua",$e.uk],["vi-vn",$e.vi],["zh-cn",$e["zh-cn"]],["zh-tw",$e["zh-tw"]],["zh-hk",$e["zh-hk"]]]),wGe=e=>SD.get(e);wGe.keys=()=>SD.keys();var CGe=(()=>{let e=["de","en","es","fr","it"],t=o=>`${o} (${aa})`;return new Map([...SD,...Object.entries($e).filter(([o])=>e.includes(o)).map(([o,n])=>[o,t(n)])])})();k();function EGe(){return Nr.template==="Course"?P("uid")??"":P("iltSchedulingId")??""}var wD=EGe();k();k();k();k();We();We();k();function kD(e,t="learningpath"){let o=ce();return o["ns-enrollment-type"]||(o["ns-enrollment-type"]=t),o["ns-enrollment-id"]||(o["ns-enrollment-id"]=e),o}var UEe="ModuleProgress",HEe="ModuleAssessmentProgress";async function ly(e){if(!C.gamification)return;await Te;let t=JSON.parse(oe.getItem(UEe));if(P("page_type")!=="learn"||!w.isAuthenticated||!t||!t.progress)return;let o=t.progress.reduce((n,i)=>(n[i.unitUid]=i.detail||{},n),{});await DEe(o,e),oe.removeItem(UEe)}async function fC(){await Te;let e=kh.getItem(HEe);P("page_type")!=="learn"||!w.isAuthenticated||!e||kh.removeItem(HEe)}k();We();k();Xp();k();var GEe=d`

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

      ${kX}

      ${N(IX)}

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

      ${Fte}

      ${e}

      `,text:e,type:jGe};return XEe(t)}var un=e=>{let{title:t,url:o,titleId:n,resourceType:i,label:r=OY,labelClass:s="is-visually-hidden",buttonExtraClasses:a="button-primary"}=e;return d``};k();We();function QV(e,t=!1){let{pageKind:o,moduleCount:n,durationInMinutes:i}=e;if(o!=="module"&&o!=="path")return"";let r=n?d`
    • ${n} ${n===1?Ei.toLowerCase():ix.toLowerCase()}
    • `:"",s=i?t?d`
    • ${On(i)}
    • `:d`
    • ${On(i)}
    • `:"";return d` ${r} ${s} `}function jV(e){let{pageKind:t,start:o,end:n,moduleCount:i}=e;if(t!=="challenge"||(!o||!n)&&i===void 0)return"";let r=o&&n?d`
    • ${jQ.replace("{start}",js.format(new Date(o))).replace("{end}",js.format(new Date(n)))}
    • `:"",s=i?d`
    • ${i} ${i===1?Ei.toLowerCase():ix.toLowerCase()}
    • `:"";return d`${r}${s}`}function YV(e){let{url:t,submitterUsername:o,answerCount:n,commentCount:i,votes:r}=e;if(!t||!t.startsWith("/answers/questions")||!o&&n===void 0&&i===void 0&&r===void 0)return"";let s=o?d`
    • ${o} ${Uee}
    • `:"",a=r!==void 0?d`
    • ${r} ${Vee}
    • `:"",l=n!==void 0?d`
    • ${n} ${Hee}
    • `:"",c=i!==void 0?d`
    • ${i} ${Bee}
    • `:"";return d`${s}${a}${l}${c}`}function WV(e){let{pageKind:t,hoursToComplete:o}=e;return t!=="course"?"":o?d`
    • ${YGe(o)}
    • `:""}function KV(e){let{pageKind:t,start:o,end:n}=e;if(t!=="lifecycle"||!o&&!n)return"";let i=o?d`
    • ${ase.replace("{startDate}",new Date(o).toLocaleDateString())}
    • `:"",r=n?d`
    • ${VK.replace("{endDate}",new Date(n).toLocaleDateString())}
    • `:"";return d`${i}${r}`}function JV(e){let{pageKind:t,lastEpisode:o,episodeCount:n,pageType:i}=e;if(i!=="show"&&t!=="series"||!o&&!n)return"";let r=o?d`
    • ${iX.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",s=n?d`
    • ${tX.replace("{count}",n.toString())}
    • `:"";return d`${r}${s}`}function ZV(e){let{showName:t,uploadDate:o,pageType:n,durationInMillisecond:i}=e;if(n!=="episode"||!t&&!o&&!i)return"";let r=i?tbe(i):null,s=t?d`
    • ${t}
    • `:"",a=o?d`
    • ${rX.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",l=r?d`
    • ${On(r)}
    • `:"";return d`${s}${a}${l}`}function YGe(e){let t=Math.floor(e/168),o=Math.floor(e%168/24),n=e-t*168-o*24,i=t>0?`${t.toString()} ${t===1?W0:K0}`:null,r=o>0?`${o.toString()} ${o===1?JE:Ky}`:null,s=n>0?`${n.toString()} ${n===1?nA:zu}`:null;return[i,r,s].filter(a=>a!==null).join(", ")}We();function XV(){let e=Lg(new Date(Date.now()));return d`

      ${ma}

      `}k();k();var WGe=(e,t)=>e?(t.indexOf("?")!==-1?"&":"?")+`sharingId=${e}`:"",eAe=(e,t,o)=>encodeURIComponent((o?o+` `+e.toString():e.href)+WGe(t,e.href));function tAe(e,t,o,n=!0,i=!1){let r=eAe(t,o);return d``}function hC(e,t,o,n,i,r){return d`
      ${e?d``:d`
      ${tAe(o||"",t,n)}
      `}
      `}function e8(e,t=!0,o=!1){let{displayName:n,userName:i,avatarUrl:r,avatarThumbnailUrl:s,userId:a}=e,l=Ho(i,"activity"),c=o?d`${N(lle)}`:"";return t?d`
      ${lN}${n}${c}
      `:d`${oW}`}function oAe(e,t,o){let n=e??t??o;if(!n)return d``;let i=((e??t)?.collectionOwner??o?.challengeCreator).displayName;return d`
      ${nAe(i,n.collection.showUserDisplayName)}
      `}function nAe(e,t){return t?d`${String(Gz).replace("{name}",e)}`:d`${kW}${BB(!1)} `}function iAe(e,t,o){let n=e??t??o;return n?!(e??t)?.isPublicView&&!e?.isChallengeCollection?d`
      await n.toggleShowUserDisplayName()} .checked=${n.collection.showUserDisplayName} />
      `:d``:d``}function bC(e,t="",o=""){return d`${`${Fi(Math.floor(e*100))}%`}${Qi}`}function rAe(e,t){let{challengeId:o,learnChallengeId:n,name:i,isPrivate:r}=t.collection;return d` ${t?.isChallengeCollection?d`${XQ}`:""} ${hC(r,e,i,w.sharingId)}`}function sAe(e){return!e||!e?.collection?d``:d`
      e.updatePrivacy()} />
      ${eW}
      `}function aAe(e,t,o,n){if(!t&&!o&&!n)return d``;let i=_t(o)?_t(n)?d``:d``:d``,r=d`

      ${_t(o)?DW:ore}

      `;return _t(t)?i:r}function KGe(){return d``}function t8(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} >

      ${jie}

      `:d``}function lAe(e,t,o,n=0,i=-1,r="h3",s=!1){let{userLocale:a}=b.data,{pageKind:l,pageType:c,rating:u,title:p,url:m,uid:g}=t.data;m=m,p=p;let f=e instanceof Ui,_=f?kEe(t,e.nextPlanItem?.id===t.id&&e.isNextPlanItemHighlighted):void 0,h=u?d``:"",y=C.trainingSkills&&t.data.pageKind==="path"&&t.data.display_skills?.length?d`
      ${PD(t.data.display_skills[0])}
      `:"",v=Ve=>{let Ct=kD(Ve.id,"Collection");return l==="challenge"&&t.data.challengeId&&(Ct.id=t.data.challengeId),`${pe(Ct)}`},T=ry(l,c,m),I=t.type==="url"?`${IEe(m)}`:T,A=l==="challenge"&&t.data.challengeId?m.split("?")[0]:m,O=t.data.url&&t.data.url.includes("/answers/"),D=t.type==="url"?m:`/${O?t.data.rawUrl.split("/")[3]:a}${A}?${v(e.collection)}`,le=async()=>{e.editingId=t.id},ye=s?d`${p}`:d`${n9e(r,p)}`;f&&(ye=e.hasStarted()?d`${p}`:d``);let J=t.type==="url"?d`
      ${ye}
      `:d` ${ye} `,Le=Ve=>JGe(e,o,t,i,Ve);return e.editingId===t.id?xD(e,i,t):s?d`
    • ${I}

      ${J} ${t.data.iconUrl?d``:""}
      ${h}${y}
      ${Le(!0)}
    • `:d`
    • ${I}

      ${J}
      ${h} ${y}
      ${Le(!1)}
    • `}function JGe(e,t,o,n=-1,i=!1){let{challengeId:r,userId:s}=e.collection;return d`${e.isPublicView||e.isOfficialOrOverride&&s!==w.userId||r?XGe(e.isUserAuthenticated,o,i,e):ZGe(e,t,o,n,i)}`}function ZGe(e,t,o,n=-1,i=!1){o.data.uid=o.data.uid;let r=n>=0?!(n===0&&t===0):t!==0,s=n>-1?!(n>=e.collection.sections?.length-1&&t>=e.collection.sections[n]?.items.length-1):t${l}`:d``}function XGe(e,t,o=!1,n){let i=o?d``:void 0,r=cAe(n,t,e);return i||r?d``:""}function e9e(e,t){if(!e||!t)return d``;let o=t.data.progress??0,n=!(t?.data?.pageKind==="path"||t?.data?.pageKind==="module"),{completionStatusTag:i,completionStatusTagStyle:r}=fD(o,"item");if(o===0){if(n){let s=t9e(e,t);return d``}return d``}return o===1?d`${i}`:o>0&&o<1?d`${tx}`:d``}function cAe(e,t,o){if(!o)return d``;let n=(()=>{let i=t.data.progress,r=e instanceof Ui,s=r&&e?.hasStarted?.(),a=!r&&typeof i=="number";if(s)return e9e(e,t);if(a)return bC(i)})();return n?d``:""}function t9e(e,t){let o=document.createElement("div"),n=o9e(e,t);return x(n,o),new we(o)}function o9e(e,t){return d``}function n9e(e="h3",t){let o={h3:d`

      ${t}

      `,h4:d`

      ${t}

      `,h6:d`
      ${t}
      `};return o[e]||o.h3}function n8(e,t="collection"){let o=(t==="plan"?Hne:FW).replace("{url}",e),n=ZY,i=NW,r=pW;return t==="plan"&&(n=Bne,i=Vne,r=Gne),d`

      ${n}

      ${i} ${r}

      ${N(o)}
      `}function uAe(){return d`

      ${ME}

      ${HY}


      1. ${BY}
      2. ${VY}
      3. ${N(GY)}

      ${QY}

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

      ${t}

      ${o}


      ${n}
      `}function i8(e,t){let o=(()=>{let i=e.collection.sections;if(Array.isArray(i)&&i.length>0)return d`
      ${i.map((s,a,l)=>d`
      ${i9e(e,s,a,l,t)} ${o8(e,s.items,void 0,a)}
      `)}
      `;let r=e.collection.items;return Array.isArray(r)&&r.length>0?o8(e,r,void 0,-1):H$(gW,{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Bl?"/test":""}/training/browse/`}})})(),n=d`${l9e(e)} ${a9e(e)} ${c9e(e)}`;return d`${o}${n}`}function i9e(e,t,o,n,i){return d`

      ${i} ${o+1}

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

      ${t.name}

      `:""} ${a?d`

      ${t.description}

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

      ${Bie}${e}

      `}function s9e(e){let t=AEe(e),{completionStatusTag:o,completionStatusTagStyle:n,progressBarLabelStyle:i,progressBarStyle:r}=fD(t,"milestone");return t===1?d`${o}`:d`
      ${Fi(Math.floor(t*100))}%
      `}function a9e(e){return e.editingSectionId===gf?NV(e):""}function l9e(e){return d`${e.editingId===IV?d`
      ${xD(e)}
      `:""}`}function c9e(e,t="margin-top-xl"){if(e.isPublicView)return"";let o={handleEvent(i){i.preventDefault(),e.editingId=IV}},n={handleEvent(i){i.preventDefault(),e.editingSectionId=gf}};return d` ${d`
      ${e.isOfficialOrOverride&&!(e instanceof Ui)?d``:""} ${(e.collection?.items?.length??0)>0||(e.collection?.sections?.length??0)>0?d``:""}
      `} `}k();function LD(...e){let[t,o,n=!0]=e,i=d` ${N(Tj)}
      • ${N(t)}
      • ${N(o)}
      `;return _C("ms--challenges-violation-banner",xj,i,wj,n)}k();var zLo=new Array(100).fill(0).map((e,t)=>({id:`team${t+1}`,name:`Team ${t+1}`,imageUrl:"",hasMembers:!!(t%3)}));k();var r8={"ar-sa":!0,"he-il":!0};var WMo=ql();k();k();k();We();k();k();var pAe=e=>[{id:"plan-title",name:"plan-title",title:yc,inputType:"text",dataBiName:"plan-title",value:e.title,placeholder:Nne,required:!0},{id:"plan-description",name:"plan-description",title:qz,inputType:"textarea",dataBiName:"plan-description",cssClasses:"padding-bottom-xs",value:e.description,required:!1},{id:"learning-outcomes",title:qu,subtitle:Eie,tip:Aie,cssClasses:"padding-top-xs border-top"},{id:"plan-outcome-1",name:"plan-learning-outcome-1",title:kie,inputType:"textarea",dataBiName:"plan-outcome-1",value:e.learningOutcomes?.[0]??"",required:!1},{id:"plan-outcome-2",name:"plan-learning-outcome-2",title:Iie,inputType:"textarea",dataBiName:"plan-outcome-2",value:e.learningOutcomes?.[1]??"",required:!1},{id:"plan-outcome-3",name:"plan-learning-outcome-3",title:Pie,inputType:"textarea",dataBiName:"plan-outcome-3",value:e.learningOutcomes?.[2]??"",required:!1},{id:"plan-official",name:"official-plan",title:Rie,inputType:"checkbox",dataBiName:"plan-official-checkbox",tip:Die,value:e.isOfficial,isDirty:!1}];function mAe(e){let t=e.elements.namedItem("plan-title"),o=t.value;if(!o)return t.setCustomValidity(Mu),t.reportValidity(),Mo(e,"planNewTitle"),null;let n=e.elements.namedItem("plan-description").value,i=[e.elements.namedItem("plan-learning-outcome-1").value,e.elements.namedItem("plan-learning-outcome-2").value,e.elements.namedItem("plan-learning-outcome-3").value].map(s=>s.trim()).filter(s=>s.length>0),r=e.elements.namedItem("official-plan")?.checked??!1;return{title:o,description:n,learningOutcomes:i,isOfficial:r}}var gAe;async function fAe(e,t){e.preventDefault();let o=document.getElementById("ms--create-plan"),n=e.target;oa(o);let i=mAe(o);if(i===null)return;let{title:r,description:s,learningOutcomes:a,isOfficial:l}=i,u=o.elements.namedItem("official-plan")?.dataset.changed==="true",p={listId:o.dataset.listId??"",name:r,description:s,learningOutcomes:a??[],isOfficial:l};n.disabled=!0,n.classList.add("is-loading");try{let m=await oi.createSkillingPlan(p);if(m.hasError===!0)Mo(o,"somethingWentWrong");else{let g,f=sy(m?.data?.id);if(l&&u&&(g=CEe()),g){t.hide(),g?.show();let _=g?.contentElement.querySelector(".modal-close");[g?.contentElement.querySelector("button#close-official-plan-modal"),_].forEach(y=>{if(!y)throw new Error("Something went wrong with the close buttons in the Official plan informative modal.");y.onclick=()=>{g?.hide(),location.href=f}})}else location.href=f}}catch(m){throw Mo(o,"somethingWentWrong"),new Error(`error: ${m.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}async function hAe(e,t){if(!t)return;let o=e.contentElement.querySelector("button#ms--plan-modal-primary-btn");if(!o)throw new Error("Primary button not found");o.onclick=async()=>{o.disabled=!0,o.classList.add("is-loading"),oa(e.contentElement);try{await t.deletePlan(),e.hide(),location.href=Ho("me","plans").toString()}catch(n){throw Mo(e.contentElement,"somethingWentWrong"),new Error(`error: ${n.message}`)}finally{o.disabled=!1,o.classList.remove("is-loading")}}}async function bAe(e,t,o){let n=e.contentElement.querySelector("button#ms--plan-modal-primary-btn");if(!n)throw new Error("Primary button not found");n.onclick=async i=>{i.preventDefault(),n.disabled=!0,n.classList.add("is-loading"),oa(e.contentElement);try{await t.dropPlan(),e.hide(),o()}catch(r){throw Mo(e.contentElement,"somethingWentWrong"),new Error(`error: ${r.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}}async function _Ae(e){let t=e.elements.namedItem("plan-learner-group-name"),o=t.value,n=t.dataset.planId;t.classList.remove("input-danger"),e.querySelector("button[type=submit]")?.classList.add("is-loading");try{let i=await oi.createLearnerGroup(n,o);return b9e(i,e)}catch(i){throw new Error(`error: ${i.message}`)}}function b9e(e,t){if(e.hasError===!0){e.error.errorCode==="AlreadyExists"?Mo(t,"learnerGroupAlreadyExists"):Mo(t,"somethingWentWrong");let o=t.elements.namedItem("plan-learner-group-name");o.focus(),o.classList.add("input-danger");let n=t.querySelector("button[type=submit]");return n&&n.classList.remove("is-loading"),{hasError:!0}}return{hasError:!1,data:e.data}}async function vAe(e){let t=e.closest(".learner-group-details");if(!t)throw new Error("Could not find the learner group details");let o=t.nextElementSibling,n=o.querySelector(".cancel"),i=o?.querySelector("input");dC(t,o),o.focus(),n&&(n.onclick=r=>{r.preventDefault(),dC(t,o),i&&(i.value=i?.dataset.originalName)})}async function yAe(e,t){let o=t.parentElement?.previousElementSibling,n=t.parentElement,i=n?.querySelector("input"),r=i?.dataset.groupId,s=n.querySelector("#learner-group-submit");if(s?.classList.add("is-loading"),i?.value===i?.dataset.originalName){s?.classList.remove("is-loading"),dC(o,n),i.value=i?.dataset.originalName;return}if(LEe(i?.value,e.plan?.learnerGroups??[])){Mo(t,"learnerGroupAlreadyExists"),i?.focus(),i?.classList.add("input-danger"),s?.classList.remove("is-loading");return}oa(t);let a=await e.updateLearnerGroup({id:r,name:i?.value});if(a.hasError===!1){let{data:l}=a,c=o.querySelector(".group-name");c&&(c.textContent=l.name,i.dataset.originalName=l.name),dC(o,n),i.classList.remove("input-danger"),s?.classList.remove("is-loading")}else Mo(t,"somethingWentWrong"),i.focus(),i.classList.add("input-danger"),s?.classList.remove("is-loading")}async function xAe(e,t,o,n){gAe=e.contentElement.querySelector("#notification-wrapper");let i=uC(iie,d`${N(rie.replace("{learningGroupName}",t.plan?.learnerGroups?.find(s=>s.id===o)?.name||dx))}`,void 0,ji,Ne,!0);if(e.hide(),(await ln(i,!1,s=>_9e(s,t,o,n))).submitted){e.show();let s=$V(sie,"success",!0);gAe.innerHTML=s}}async function _9e(e,t,o,n){let i=e.querySelector("button[type=submit]");i?.classList.add("is-loading");let r={hasError:!1,data:null};try{await t.deleteLearnerGroup(o),r={hasError:!1,data:null}}catch{Mo(e,"somethingWentWrong"),r={hasError:!0}}finally{n.closest(".card")?.remove(),i?.classList.remove("is-loading")}return r}k();var TAe;async function wAe(e,t=null,o=z.profile.reportConcern,n,i,r="description",s){let a=document.createElement("div");TAe=new we(a);let l=d``;if(TAe.show(),e.isAuthenticated&&t===null){let u=d``;x(d``,a);let p=Zo()??"";t=await im(p)}l=d` ${S9e(v9e,s,AN,i,void 0,r)} ${w9e(t)}

      ${N(rte)}

      ${n||""} `,x(d``,a);let c=a.querySelector("#report-content-form");T9e(),P9e(c),t!==null&&I9e(c,t)}function v9e(e,t,o="abuseCategory",n=!1){let i=t||ATe;return d`
      `}function SAe(e){return d``}function y9e(e,t,o,n,i){return d``}function x9e(e,t){return d`
      `}function T9e(){window.addEventListener("form-validating",e=>{let t=Kw(e.detail.form),o=N$(t);e.detail.errors?.length>=0&&J5(e.detail.form,e.detail.errors),t&&!t.querySelector("[data-warning-icon-container]")&&z$(t),o&&W5(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;Jw(t)})}function S9e(e,t,o=AN,n,i,r,s,a=!1){return d`
      ${e(i,t,n,a)}
      `}function w9e(e){if(e===null)return d`

      ${N(ete)}

      `;let[t,o]=CAe(e);return d`
      `}function C9e(e){return e.authenticationModes?e.authenticationModes.map(t=>t.type).includes("MSA"):!1}function E9e(e){let t=e.authenticationModes.find(o=>o.type==="MSA");return t?t.upn:null}function A9e(e){let t=e.authenticationModes.find(o=>o.type==="AAD");return t?t.upn:null}function k9e(e,t,o){return t??(_t(e.email)?o:e.email)??""}function CAe(e){let t=C9e(e),o=t?E9e(e):null,n=t?null:A9e(e),i=k9e(e,o,n);return[t,i]}function I9e(e,t){let[o,n]=CAe(t);if(o){let s=e.querySelector("#report-msa-email-account");s.innerText=n}let i=e.querySelector("#opt-into-email-checkbox"),r=e.querySelector("#submitter-info");i.addEventListener("change",()=>{i.checked?r.hidden=!1:r.hidden=!0})}function P9e(e){if(!e)return;let t=e.querySelector("#select-reason"),o=e.querySelector("#other-reason-textarea-container"),n=o.querySelector("textarea");if(!t||!o||!n)return;let i=t.value===ni[14]||t.value===14 .toString();i&&(o.hidden=!1,n.required=!0),t.addEventListener("change",()=>{i=t.value===ni[14]||t.value===14 .toString(),i?(o.hidden=!1,n.required=!0,n.disabled=!1):(o.hidden=!0,n.required=!1,n.disabled=!0)})}k();We();k();var RD;function EAe(e){RD=e}function AAe(e,t){let o=e.isOfficial?Es:$r,n=r=>{let s=r.target;o=s.checked?Es:$r;let a=document.querySelector("#toggle-text-plan-official");x(o,a),s.getAttribute("data-changed")==="false"&&s.setAttribute("data-changed","true")},i=pAe(e).map(r=>{let{id:s,name:a,title:l,subtitle:c,tip:u,inputType:p,dataBiName:m,cssClasses:g,required:f}=r;if(s==="plan-official"&&!t)return d``;let _=s==="plan-title"&&e.isNew===!0,h=p?p==="textarea"?d``:p==="checkbox"?d`
      ${o}
      `:d`{let v=y.target;s==="plan-title"&&(R9e(v,Mu),v.classList.remove("input-danger"))}} />${_?d`

      ${Lne}

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

      ${c}

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

      ${u}

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

      ${jne}

      ${i}
      `}function L9e(){return d`
      ${N($ie)}
      `}function R9e(e,t){e.setCustomValidity(""),e.validity.valid||(t&&e.setCustomValidity(t),e.reportValidity())}function kAe(e){return e?d`
      • ${e.stats?.participantsStarted}

        ${Yne}

      • ${e.stats?.participantsJoined}

        ${tx}

      • ${e.stats?.participantsCompleted}

        ${Qne}

      ${bie}

      ${_ie}

      • ${vie}
      • ${yie}
      • ${xie}
      • ${Tie}
      • ${Sie}
      • ${wie}
      `:d``}function IAe(e,t){if(!t?.plan)return d``;let{emailSubject:o,emailBody:n,encodedPlanUrl:i}=MV(t.plan);async function r(){RD.hide();let s=$9e(GN,uie,t?.plan.id,Yy,!0),a=await ln(s,!1,_Ae);return t&&a.submitted?t.addToLearnersGroups(a.data,l=>e(l)):RD.show(),d``}return d`
      ${lie}
      ${aie}
      ${N(cie)}
      ${t.plan?.learnerGroups?.map(s=>M9e(t,s))}
      `}function M9e(e,t){let{emailSubject:o,emailBody:n,encodedPlanUrl:i}=MV(e.plan,t.id);return d`
      ${dx}:${t.name}
      `}function $9e(e,t,o,n=kn,i=!1){return o?d``:d``}k();function vC(e,t){return d``}function s8(e,t,o){return d`
      ${t}
      `}function a8(e,t,o){return d``}var bf;function yC(e,t,o){if(!t&&!o?.plan)return;let n=d``,i=document.createElement("div");bf=new we(i),EAe(bf);let r={title:t?.name??"",description:t?.description??"",isOfficial:t?.isOfficial??!1},s,a;switch(e){case"new":let l=t?.id;o?.plan&&(r.title=o?.plan?.contentList.name??"",r.description=o?.plan?.contentList.description??"",r.isOfficial=o?.plan?.contentList.isOfficial??!1,r.learningOutcomes=o?.plan?.learningOutcomes??[],l=o?.plan?.listId,r.isNew=!0),n=vC("plan",{title:Zne,body:s8("create-plan",AAe(r,PEe(o?.collection?.id)),l),footer:a8("plan",bf)}),x(n,i),s=i.querySelector("button[type=submit]"),s&&(s.innerText=Yy,s.setAttribute("aria-label",Yy),s.setAttribute("data-bi-name","create-plan-btn"),s.onclick=async c=>{await fAe(c,bf)}),a=i.querySelector("button#cancel-plan-btn"),a&&a.setAttribute("data-bi-name","cancel-create-plan-btn");break;case"invite":n=vC("plan",{title:ch,body:IAe(c=>yC("invite",void 0,c),o),footer:d``}),x(n,i);break;case"progress":n=vC("plan",{title:uh,body:kAe(o),footer:d``}),x(n,i);break;default:break}if(n)bf.show();else throw new Error(`Invalid side panel content type: ${e}`)}function l8(e,t,o){if(!e&&!t&&!o)return d``;Ly(S.body);let n=!_t(t),i=!_t(o),r={vm:e,vmPlans:t,vmChallenge:o},s=xC(r),{lastModified:a,totalDuration:l=0,shouldLocalize:c}=s,u=!!e?.isOfficialOrOverride||!!t?.collection.isOfficial||!!e?.isChallengeCollection,p=S.getElementById("loc-submitted-text"),m={pathCountFormat:"",moduleCountFormat:""};if(e){let{pathCountFormat:h,moduleCountFormat:y}=e.getAmountStrings();m.pathCountFormat=h,m.moduleCountFormat=y}let{pathCountFormat:g,moduleCountFormat:f}=m,_=e?.isChallengeCollection?d` ${l?d`
    • ${On(l)}
    • `:""} ${g?d`
    • ${g}
    • `:""} ${f?d`
    • ${f}
    • `:""} `:!t?.isPublicView&&a!==void 0?d`
    • ${OK} ${new Intl.DateTimeFormat(b.data.userLocale).format(new Date(a))}
    • `:"";return d`
      ${u||i?d`${oAe(e,t,o)}`:""}
      ${u||i?iAe(e,t,o):""} ${DAe(r)?sAe(e):""}
      ${p||i?"":d`

      ${c?n?M0:BE:""}

      `}
      `}function xC(e){return(e.vm??e.vmPlans??e.vmChallenge)?.collection}function MD(e){let{vm:t,vmPlans:o}=e;return t?.collectionOwner?.userId===w.userId||o?.plan?.userId===w.userId}function c8(e){return e.vmPlans?.hasStarted()===!0}function $Ae(e){return e.vmPlans?.isCompleted()===!0}function D9e(e){let{vm:t,vmPlans:o}=e,n=!_t(t),i=!_t(o),r=o?.isPublicView||t?.isPublicView,s=xC(e),a=s?.isOfficial,l=s?.shouldLocalize;return(n||i)&&!(r||l||!a)&&MD(e)}function PAe(e){return!!e.vmPlans&&MD(e)}function z9e(e){return!!e.vmPlans&&MD(e)}function N9e(e){return!!e.vmPlans&&c8(e)&&!$Ae(e)}function LAe(e){return!!e.vmPlans&&c8(e)&&!$Ae(e)}function RAe(e){return!!e.vmPlans&&!c8(e)&&w.isAuthenticated}function MAe(e){return!!e.vmPlans&&!w.isAuthenticated}function F9e(e){let{vm:t,vmPlans:o}=e,n=xC(e);return!t?.isChallengeCollection&&!MD(e)&&!n?.isOfficial&&(!!t&&t?.reportStatus!=="Unknown"||!!o&&o?.reportStatus!=="Unknown")}function DAe(e){if(!e.vm&&!e.vmPlans)return!1;let{vm:t,vmChallenge:o}=e,n=!_t(t),i=!_t(o),s=xC(e)?.id;return n&&!(t?.isPublicView||t?.isOfficialOrOverride&&t?.collectionOwner?.userId!==w.userId||t?.isChallengeCollection||s==="bookmarks")||i&&!!o?.isChallengeOwner()&&!!o?.isChallengeUpcoming()}function q9e(e){let{vm:t,vmPlans:o,vmChallenge:n}=e,r=xC(e)?.id,s=wu(r),a=Ja("resume-plan-button",sh,sh,()=>o?.resumePlan(),"resume-plan-btn",sh,"button-sm button-primary button-filled");function l(){function v(){let T=S.getElementById("start-or-resume");T&&x(a,T)}if(!w.isAuthenticated){Oo(location.href);return}o?.joinPlan({onSuccess:()=>{v()}})}let c=Ja("start-plan-button",ga,ga,()=>l(),"start-plan-btn",ga,"button-sm button-primary button-filled inner-focus"),u=Ja("sign-in-plan-button",fx,fx,()=>l(),"sign-in-plan-btn",fx,"button-sm button-primary button-filled",!o?.isPublicView),p=n?Ja("delete-challenge-button",lj,d``,()=>n?.deleteChallenge(),"delete-challenge-btn",ji,"button-sm button-clear"):Ja("delete-collection-button",nW,d``,()=>t?.deleteCollection(),"delete-collection-btn",ji,"button-sm button-clear");async function m(v){v&&(LV(uC(Mne,d`${$ne}`,Dne,zne,$r)),iy.show(),await bAe(iy,v,()=>{let T=S.getElementById("start-or-resume");T&&x(c,T)}))}let g=()=>Ja("drop-plan-button",L0,d``,()=>m(o),"drop-plan-btn",L0,"button-sm button-clear"),f=d`
      ${Ja("submit-loc-button",HE,d``,()=>t?.localizeCollection()??o?.localizePlan(),"localize-list-btn",HE,"button-sm button-clear margin-right-none")}
      ${vW}
      `,_=!C.shareLink||r==="bookmarks"?d``:t?d`${rAe(s,t)}`:o?d`${hC(!1,new URL(sy(o?.plan?.id),location.origin),o?.collection?.name,w.sharingId,!1,"share-plan-btn")}`:n?d`${hC(!1,new URL(cn(n?.challengeDetails?.id),location.origin),n?.challengeDetails?.contentList.name,w.sharingId)}`:d``,h=t?.isChallengeCollection||!w.isAuthenticated||r==="bookmarks"?d``:aAe((v,T,I)=>yC(v,T,I),t,o,n);return d` ${LAe(e)||RAe(e)||MAe(e)?d`
      ${LAe(e)?a:""} ${RAe(e)?c:""} ${MAe(e)?u:""}
      `:""} ${_} ${h} ${F9e(e)?O9e(t,o):""} ${PAe(e)?d`${V9e(o)}`:""} ${D9e(e)?f:""} ${z9e(e)?d`${G9e()}`:""} ${DAe(e)?p:""} ${PAe(e)?d` ${U9e(o)}`:""} ${N9e(e)?g():""} `}function u8(e,t,o){return!e&&!t&&!o?d``:d`
      ${q9e({vm:e,vmPlans:t,vmChallenge:o})}
      `}function Ja(e,t,o,n,i,r,s,a=!1){return d``}function O9e(e,t){let o=d`${t?d``:""}`,n=e?.reportStatus==="Active"||t?.reportStatus==="Active",i=Ja("report-a-concern-btn",m0,d``,()=>wAe(w,null,`${z.lists}/report/concern`,o),e?"collection-report-a-concern-btn":"plan-report-a-concern-btn",m0,"button-sm button-clear margin-right-none",n),r=d`
      ${e?d`

      ${jW}

      ${N(YW)}

      `:d`

      ${rre}

      ${N(sre)}

      `}
      `;return d`
      ${i} ${n?r:""}
      `}function U9e(e){return e?Ja("delete-plan-button",ji,d``,async()=>{LV(uC(Xne,tie,d`${e.plan?.contentList.name??""}`,oie,void 0,void 0,e.plan?.hasParticipants,eie)),iy.show(),await hAe(iy,e)},"delete-plan-btn",ji,"button-sm button-clear"):d``}function H9e(e){return Ja("plan-progress-button",uh,d``,()=>yC("progress",void 0,e),"view-plan-progress-btn",uh,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function B9e(e){return Ja("invite-learners-button",ch,d``,()=>yC("invite",void 0,e),"plan-invite-learners-btn",ch,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function V9e(e){return e?d`
      • ${H9e(e)}
      • ${B9e(e)}
      `:d``}function G9e(){return d`
        ${[{href:"/training/browse",label:Xi},{href:"/credentials/browse",label:mn},{href:"/docs",label:ua},{href:"/shows/browse",label:Ci}].map(t=>d`
      • ${t.label}
      • `)}
      `}function d8(e,t){if(!e&&!t)return d``;let o=(e??t)?.collection;if(!o)return d``;let n=e??t,{challengeId:i,learnChallengeId:r,description:s,totalItems:a,name:l,remainingDuration:c,totalDuration:u,isFallbackLocale:p,shouldLocalize:m,sectionCount:g}=o,f=!_t(t),_=t?"plan":n?.isChallengeCollection?"challenge":"collection",h={challenge:"--hero-background-image-light: url('/en-us/media/profile/CSCCollectionHeroImage.png?branch=main');--hero-background-image-dark: url('/en-us/media/profile/CSCCollectionHeroImage.png?branch=main'); --border-gradient-end-color: #271e6d",collection:"--hero-background-image-light: url('/en-us/media/profile/OfficialCollectionsHeroImage.png?branch=main');--hero-background-image-dark: url('/en-us/media/profile/OfficialCollectionsHeroImage.png?branch=main'); --border-gradient-end-color: #053986",plan:"--hero-background-image-light: url(/media/learn/plans/skilling_plan_hero.png?branch=main);--hero-background-image-dark: url(/media/learn/plans/skilling_plan_hero.png?branch=main);--border-gradient-end-color: #152c75"},y={challenge:"has-background-challenge",collection:"has-background-collection",plan:"has-background-plan"},v={challenge:YQ,collection:TY,plan:Wne},T=!n?.isPublicView&&!n?.isChallengeCollection?d``:"";return d` ${e?.isPublicView&&p&&m?Jt(xW):""}

      ${v[_]}

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

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

      ${s} ${T}

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

      ${r?Nu:s?la:bs}

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

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

      ${a} ${h}

      `:!_?.isEditingSummaryDescription&&m!=="bookmarks"?d`
      ${Qz} ${h}
      `:""} ${_?.isEditingSummaryDescription?qV(_):""} ${l8(e,t,o)} ${e?Q9e(e):""} ${e?.isUserAuthenticated&&l?.length&&p&&u&&g?d`
      ${bC((p-u)/p)}
      `:""}
      ${zAe(t)} ${OV(t)}
      ${u8(e,t,o)} `}function zAe(e){return!e||!e.plan?d``:d`

      ${qu}

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

      ${j9e()}

      `:"":d``}function j9e(){return d`
      ${Vz}
      `}function NAe(e){if(_t(e))return d``;let t="";switch(e){case 0:return d``;case 1:t=String(Vie);break;default:t=String(Gie).replace("{numberOfMilestones}",(e??"").toString());break}return d`

      ${t}

      `}We();k();k();k();function Y9e(e,t){let o=QE,n=zW,i=qW,r=OW,s=Ho("me","collections"),a=vE,l=`/${b.data.userLocale}/`;return e==="plan"&&(o=Fne,n=qne,i=One,r=Une,s=Ho("me","plans")),e==="challenge"&&(o=oj,n=nj,i=ij,r=rj,s=Ho("me","challenges"),t&&(a=sj,l=cn(t,"leaderboard"))),d`

      ${o}

      ${n}

      ${i}

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

      ${QE}

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

      ${ME}

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

      ${Bu}

      `;default:return d`

      ${Kt}

      `}}k();k();var RNo={input:{id:"challenge-primary-subject",name:"challenge-primary-subject",docon:"search",isFullWidth:!0,placeholder:WQ,required:!0},getSuggestions:async()=>[],getTitle:e=>e.displayName||e.value,noResultsTemplate:d`${fo}`,itemTemplate:e=>d`${e.displayName||e.value}`};k();We();k();We();We();Xp();k();k();k();k();k();k();k();k();function UAe(e){let t=m8(e.responseErrorCode);if(t!==null)return t;if(!e.collection){let o=Ho("me","collections").toString();return n8(o,"collection")}return e.collection.learnChallengeId&&kV("content",document.getElementById("article-header-breadcrumbs")||void 0,e.collection.learnChallengeId),d` ${e.isOfficialOrOverride||e.collection.challengeId||e.collection.learnChallengeId?d8(e):$D(e)} ${h7e(e)} `}function h7e(e){if(!e.collection)return"";let t=d`

      ${mW}

      `;return d`
      ${!e.isPublicView&&e.hasActiveTakedowns?_7e(e):""}
      ${t}
      ${i8(e,D0)}
      `}var b7e=_C("ms--lists-violation-banner",VW,d`${N(GW)}`,QW);function _7e(e){return e?.collection?.learnChallengeId?LD(Sz.replace("{detailPageLink}",cn(e.collection.learnChallengeId,"details")),Sj):b7e}async function HAe(){let e=document.querySelector("[data-main-column] [data-page-content]");if(!e)return;let t=v7e(te.pathname);await Te;let o=new Cp(t,void 0,!0);await o.beforeActivate();let n=async()=>{x(UAe(o),e)};o.subscribe(ot,n),w.subscribe(So,n),n()}function v7e(e){let t;if(!e)return t=void 0,t;let o=/collections\/([^\/]+)/,n=e.match(o);return n===null||n&&!n[1]?t=void 0:n&&n[1]&&(t=n[1]),t}function BAe(){let e=document.getElementById("filter-list");if(!e)return;let t=Array.from(document.querySelectorAll(".profile-component")),o=0,n=()=>{clearTimeout(o),o=setTimeout(()=>{y7e(sk(e.value),t)},250)};e.addEventListener("input",n),e.addEventListener("change",n)}function y7e(e,t){let o=document.querySelector(".no-results"),n=new RegExp(e,"gi");o.hidden=!0;let i=t.filter(r=>(r.hidden=!r.textContent.match(n),r.hidden?!1:r));return i.length===0&&(o.hidden=!1,pt(da,"assertive",1e3)),i}k();k();k();k();var YHo=bt(),WHo=b.data.userLocale;k();k();function na(e){let t=[],o=e.display_products?.[0];o&&t.push(o);let n=e.display_roles?.[0];n&&t.push(n);let i=e.levels?.[0],r=e.display_levels?.[0];if(r)t.push(r);else if(i&&i in Hi.levels){let c=Hi.levels[i];t.push(c)}let s=e.display_event_groups?.[0];s&&t.push(s);let a=e.display_azure_categories?.[0];a&&t.push(a);let l=e.display_languages?.[0];return l&&t.push(l),t}function cy(e){return e.map(t=>d`
    • ${t}
    • `)}function g8(e,t){return e?On(e):t?yR(t):""}k();var TC=24*60*60*1e3;function wC(e,t,o){let n=ce(),i=C.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return d`
      {let s=r.target;s.type!=="date"&&e.selectByValue(s.value)}} >
      ${A7e(e.facets)}
      r.value==="custom")?.isSelected}>${jAe("starting-date",cse,n.gt)} ${jAe("ending-date",BK,n.lt)}
        `}function A7e(e){return Object.keys(ds).map(o=>{let n=e.find(i=>i.value.toLowerCase()===o);if(o==="all")return k7e("all",e);{let i=o==="custom"?uK:ds[o];return YAe(o,i,n.isSelected)}})}function YAe(e,t,o=!1){let n=C.enableNewSiteSearch?"font-size-sm":"";return d``}function k7e(e,t){let o=t.reduce((n,i)=>(i.isSelected&&i.value!=="all"&&(n.selection=!0),n),{selection:!1});return YAe(e,aa,!o.selection)}function jAe(e,t,o){let n=C.enableNewSiteSearch?"font-size-sm font-weight-normal":"",i=C.enableNewSiteSearch?"margin-top-xxs":"";return d`I7e()} value="${o}" />`}function I7e(){let e=document.querySelector("#custom-date-facet-button"),t=document.querySelector("#custom-date-facet-error"),o=[];if(P7e()&&o.push(GK.replace("{date}",new Date().toLocaleDateString())),L7e()&&o.push(QK),t.innerHTML="",o.length){for(let n of o){let i=document.createElement("li");i.innerText=n,t.appendChild(i)}e.disabled=!0}else e.disabled=!1}function P7e(){let e=R7e().getTime(),t=new Date(document.querySelector("input[name=starting-date]").value).getTime(),o=new Date(document.querySelector("input[name=ending-date]").value).getTime();return t>e||o>e}function L7e(){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 R7e(){let e=new Date,t=`0${e.getDate()}`.slice(-2),o=`0${e.getMonth()+1}`.slice(-2),n=e.getFullYear();return new Date(`${n}-${o}-${t}`)}function WAe(e,t=new Date(Date.now())){let o=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime();switch(e){case"all":return"";case"last24hours":return SC(t.getTime()-TC);case"last7days":return SC(o-7*TC);case"last30days":return SC(o-30*TC);case"last365days":return SC(o-365*TC);case"custom":return M7e();default:return""}}function M7e(){let e=ce(),t=e.gt,o=e.lt,n=null,i=null;if(t){let r=new Date(t),s=r.getTimezoneOffset()*6e4;n=r.getTime()+s}if(o){let r=new Date(o),s=r.getTimezoneOffset()*6e4;i=r.getTime()+s+TC}return SC(n,i)}function SC(e=null,t=null){let o=[];if(e){e=e<0?0:e;let n=new Date(e).toISOString();o.push(`lastUpdated gt ${n}`)}if(t){t=t<0?0:t;let n=new Date(t).toISOString();o.push(`lastUpdated lt ${n}`)}return o.join(" and ")}function Gn(e){let t=[];for(let o in e){let n=Object.keys(e[o]);if(n.length>0){let i=o.charAt(0),r=o!=="resource_type"&&o!=="type"?`${o}/any(${i}: `+n.map(s=>`${i} eq '${s}'`).join(" or ")+")":n.map(s=>`${o} eq '${s.replace("_"," ")}'`).join(" or ");t.push(`(${r})`)}}return t.join(" and ")}function zD(e){let t=[],o=e.scope?`scopes/any(s: s eq '${e.scope}')`:"";o&&t.push("("+o+")");let n=[];for(let c in e.selectedFacets){if(c==="category"||c==="date"||c==="author")continue;let u=e.selectedFacets[c],p=Object.keys(u);if(p.length>0)if(C.enableNewSiteSearch){let m=c.charAt(0),g=p.map(f=>`(${c}/any(${m}: ${m} eq '${f}'))`).join(" and ");n.push(`(${g})`)}else{let m=c.charAt(0),g=p.map(_=>`${m} eq '${_}'`).join(" or "),f=`(${c}/any(${m}: ${g}))`;n.push(f)}}if(n.length>0){let c=n.join(" and ");t.push("("+c+")")}let i;for(let c in e.selectedFacets.date){i=c;break}let r=i?WAe(i):"";r&&t.push("(category eq 'QnA' and "+r+")");let s;for(let c in e.selectedFacets.author){s=c;break}s&&t.push(`(category eq 'QnA' and authorId eq '${s}')`);let a="";for(let c in e.selectedFacets.category){a=c;break}let l=a?`category eq '${a}'`:"";return l&&t.push("("+l+")"),t.join(" and ")}function JAe(){return{facetSort:(e,t)=>xo(e)-xo(t),layout:"grid",hideCompleted:!0,fetch:$7e,resultTemplate:f8,resultSortOptions:[{label:Lee,orderBy:null},{label:$f,orderBy:"title"},{label:Df,orderBy:"title desc"},{label:Xf,orderBy:"last_modified desc"},{label:eh,orderBy:"last_modified"}]}}function f8(e){let o=`learn-${e.uid?qo(e.uid):tt()}-title`;return d`

        ${Hi.resource_type[e.resource_type]}

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

        ${t?.title??hre}

        `}k();We();k();We();k();function e0e(){return{facetSort:(e,t)=>xo(e)-xo(t),layout:"grid",fetch:N7e,resultTemplate:t0e,resultSortOptions:[{label:$f,orderBy:"title"},{label:Df,orderBy:"title desc"},{label:Xf,orderBy:"last_modified desc"},{label:eh,orderBy:"last_modified"}]}}function t0e(e){let t=(e.exams||[]).filter(a=>!!a.display_name).map((a,l)=>l===0?d` ${a.display_name}`:d`, ${a.display_name}`),o=t.length>0?d``:"",n=Hi.resource_type[e.resource_type],i=e.resource_type==="examination"?`${Yi} ${e.exam_display_name}: ${e.title}`:e.title,s=`certifications-${e.uid?qo(e.uid):tt()}-title`;return d`

        ${n}

        ${i}
        ${o}
        `}async function N7e(e){let[t]=await Promise.all([XAe(e,!1),Te]);t.count===0&&([t]=await Promise.all([XAe(e,!0),Te]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.icon_url&&(o.icon_url=it(o.icon_url,"en-us")),o.url&&(o.url=it(o.url,dt.userLocale));return t}function F7e(e){return{branch:bt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","resource_type","type"],$filter:Gn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function XAe(e,t){let o={...F7e(e),fuzzySearch:t},n=`${z.browse.certification}?${pe(o,!0)}`;return $(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}k();k();var q7e=ql(),O7e={orderBy:"latest_episode_upload_at desc"};function n0e(){return{facetSort:(e,t)=>xo(e)-xo(t),layout:"grid",fetch:U7e,resultTemplate:i0e(),taxonomyFacetLookups:{type:"show_type"}}}async function U7e(e){let[t]=await Promise.all([o0e(e,!1),Te]);t.count===0&&([t]=await Promise.all([o0e(e,!0),Te]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=it(o.url,dt.userLocale));return t}function o0e(e,t){let o={...H7e(e),fuzzySearch:t},n=`${z.browse.shows}?${pe(o,!0)}`;return $(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function H7e(e){return{branch:bt(),locale:b.data.userLocale,terms:e.terms,facet:["products","type"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:O7e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function i0e(){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 B7e(e,t)}}function B7e(e,t){let o=e.latest_episode_upload_at?d`

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

        `:"";return d``}Mg();k();k();We();k();var f8o=bt(),h8o=b.data.userLocale;k();We();k();k();k();var uQe=dQe();function dQe(){let e=kh.getItem("x-sid");return e||(e=cu(),kh.setItem("x-sid",e),e)}var FD={"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 a0e(){return R.supportLevel==="production"?"958652F9-1B3E-C23A-E908-CDFFFE508ECB":"4459FB26-0753-0E59-AA51-E12E04E8D946"}var pQe="00000000-0000-0000-0000-000000000000";async function mQe(){let e=w.userId;if(!e||e===pQe)return;let t=await crypto.subtle.digest("SHA-256",new TextEncoder().encode(e));return Array.from(new Uint8Array(t)).map(o=>o.toString(16).padStart(2,"0")).join("")}async function l0e(e){let t=await mQe(),o={timestamp:String(Date.now()),use_case:e,"HEADER_user-agent":navigator.userAgent,"HEADER_accept-language":FD[b.data.userLocale]??"default",HEADER_origin:location.origin,HEADER_referer:document.referrer,...t?{user_identifier:t}:{}},n={method:"POST",body:JSON.stringify(o)},i=K(z.encryptCaptchaPayload,n),r=await $(i);if(r.ok)return{blob:(await r.json()).encodedData};throw r.status===400?new Error("Enhance detection payload invalid"):new Error("Failed to generate Arkose enhance detection data")}var c0e=["version","getConfig","reset","run","setConfig"];var gQe=C.chromeless||xle.getItem("playwrightActive"),CC;function u0e(){return CC}var fQe=!1;function hQe(){fQe=!0}async function bQe(){return gQe?!1:(await Te,w.isAuthenticated)}function EC(e){return CC!==void 0||(CC=bQe().then(t=>t?Xs("https://client-api.arkoselabs.com/v2/api.js",null,void 0,void 0,!0).then(()=>_Qe(e)).then(yQe).catch(o=>{throw hQe(),new Error("Failed to load Arkose library")}):Promise.resolve())),CC}function _Qe(e){return new Promise(t=>{H.setupEnforcement=function(o){vQe(o,e).then(t)}})}async function vQe(e,t){let o=FD[b.data.userLocale]||"default";return e.setConfig({language:o,publicKey:a0e(),data:await(async()=>{let n;try{C.arkoseEncrypt&&(n=await l0e(t))}catch{}return n})()}),xQe(e),e}function yQe(e){let t=c0e.filter(o=>e[o]===void 0);if(t.length>0)throw new Error(`Missing arkose dependencies: ${t.join(", ")}`)}function xQe(e){H.arkoseEnforcement=e}function y8(){return H.arkoseEnforcement}k();function AC(e){return encodeURIComponent(e==="high-contrast"?` `:e==="dark"?` `:` `)}var kC=class{};function qD(e,t){return W``}k();var UD="captcha-container",h0e,b0e,d0e=0,TQe=3,_0e=T0e(),OD=class{},x8=new Be,p0e=e=>{x0e(e.token),h0e()},SQe={title:Du,imgsrc:e=>`data:image/svg+xml,${AC(e)}`,message:rl,description:h0,buttonText:Fu,event:OD,type:"static"},wQe={title:m2,iframeContainerId:UD,type:"iframe"},m0e={mode:"inline",selector:"#"+UD,onCompleted:p0e,onSuppress(e){e.suppressed&&(p0e(e),g0e("suppressed",w.userId,P("lab-id")))},async onError(e){g0e("failed",w.userId,P("lab-id"));let t=await PQe(),o=y8();if(t&&d0e{m0e.onCompleted?.(o),e.onCaptchaCompleted?.()}}:{}}),t.run(),await _0e,t.reset()}catch{e.renderError?.()}return EQe(),b0e}var X7o=d`

        ${m2}

        `;async function y0e(){let e=null,t=await v0e({renderCaptcha:()=>{e=f0e(wQe),e.show()},renderError:()=>{e=f0e(SQe),e.show()}});if(typeof t!="string"||!t||t.trim()==="")throw new Error("Captcha failed");return e&&e.hide(),t}function x0e(e){b0e=e}function CQe(){x0e("")}function T0e(){return new Promise(e=>{h0e=e})}function EQe(){_0e=T0e()}function AQe(){return S.querySelector("#"+UD)}function kQe(){let e=AQe();e&&e.replaceChildren()}function IQe(e,t){e.setConfig({...e.getConfig(),...t})}function g0e(e,t,o){let n=o||null;Se({behavior:me.OTHER,actionType:Ee.OTHER,content:{event:"arkose-result",labInstanceId:n,userInstanceId:t,message:e}})}async function PQe(){try{return(await(await fetch("https://status.arkoselabs.com/api/v2/status.json")).json()).status.indicator==="none"}catch{return!1}}function f0e(e){let t=S.createElement("div");t.classList.add("modal-content","margin-none","width-full"),t.tabIndex=-1;let o=qD(x8,e).create();return ju(x8,OD,()=>{location.reload()}),o.bind(x8,ss),o.appendTo(t),new we(t)}k();var MQe=new Promise(()=>{});k();We();async function sc(e,t){let o=await lp(t);if(!o||!e)return;let n=e.hasOwnProperty("parents");if(Ht){let r=s=>"/"+s.split("/").slice(2).join("/");e&&(e=Zs(e),e.url=r(e.url)),n&&e&&e.parents&&(e.parents[0].url=r(e.parents[0].url))}let i=P("page_kind");switch(i){case"appliedSkills":o.add({title:mn,url:`/${o.basePath}/credentials`},{title:fc,url:`/${o.basePath}/credentials/browse/`});break;case"appliedSkillsAssessment":o.add({title:mn,url:`/${o.basePath}/credentials`},{title:fc,url:`/${o.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"appliedSkillsAssessmentReport":o.add({title:mn,url:`/${o.basePath}/credentials`},{title:fc,url:`/${o.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"role":case"certification":o.add({title:C.previewCredentialsL1?mn:nl,url:C.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:C.previewCredentialsL1?fc:Lu,url:C.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"certificationrenewal":o.add({title:C.previewCredentialsL1?mn:nl,url:C.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:C.previewCredentialsL1?fc:Lu,url:C.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"certificationRenewalAssessment":case"certificationRenewalAssessmentReport":o.add({title:C.previewCredentialsL1?mn:nl,url:C.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:C.previewCredentialsL1?fc:Lu,url:C.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e?.url}/`},{title:RN,url:`/${o.basePath}${e?.url}/renew/`});break;case"examination":o.add({title:C.previewCredentialsL1?mn:nl,url:C.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:C.previewCredentialsL1?fc:Lu,url:C.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"practiceAssessmentReport":o.add({title:C.previewCredentialsL1?mn:nl,url:C.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:C.previewCredentialsL1?fc:Lu,url:C.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}/`});break;default:throw new Error(`Unsupported page_kind "${i}".`)}o.render()}var Ep=class{constructor(t,o=1){this.dateFormat=o;this.totalTimeLeft=0;this.isExpired=!1;this.endDate=t;let n=setInterval(()=>{this.setTotalTimeLeft(),this.isExpired=this.totalTimeLeft<=0,this.isExpired&&clearInterval(n)},1e3)}setTotalTimeLeft(){this.totalTimeLeft=this.endDate.getTime()-new Date().getTime()}get seconds(){return Math.floor(this.totalTimeLeft/1e3%60)}get mins(){return Math.floor(this.totalTimeLeft/1e3/60%60)}get hrs(){return this.dateFormat===0?Math.floor(this.totalTimeLeft/(1e3*60*60)):Math.floor(this.totalTimeLeft/(1e3*60*60)%24)}get days(){return Math.floor(this.totalTimeLeft/(1e3*60*60*24))}get displayFormat(){let t="";return this.days>0&&(t+="d"),this.hrs>0&&(t+="h"),this.mins>0&&(t+="m"),this.seconds>0&&(t+="s"),this.getDateFormat(t)}addLeadingZero(t){return t<10?`0${t}`:t}getDateFormat(t){let o="dhms";if(this.dateFormat===1)return t.length>=2?t.substr(0,2):t.length===1&&"dh".indexOf(t)>-1?o.substr("dh".indexOf(t),2):"ms";if(this.dateFormat===0)return"hms";throw new Error("Invalid date format used in DateCountdown")}};U([G],Ep.prototype,"endDate",2),U([G],Ep.prototype,"totalTimeLeft",2),U([G],Ep.prototype,"isExpired",2);var NQe=W` ${e=>e.displayFormat.indexOf("d")>-1?`${Jy.replace("{days}",e.days.toString())}`:null} ${e=>e.displayFormat.indexOf("h")>-1?`${HZ.replace("{hrs}",e.hrs.toString())}`:null} ${e=>e.displayFormat.indexOf("m")>-1?`${Up.replace("{numberOfMinutes}",e.mins.toString())}`:null} ${e=>e.displayFormat.indexOf("s")>-1?`${pre.replace("{seconds}",e.seconds.toString())}`:null} `,FQe=W`${mo(e=>[{value:e.hrs,label:zu},{value:e.mins,label:nx},{value:e.seconds,label:$0}],W`${(e,t)=>t.parent.addLeadingZero(e.value)}${e=>e.label}${Me((e,t)=>!t.isLast,W`:`)} `,{positioning:!0})}`,S0e=W`${Me(e=>e.totalTimeLeft>0,W` ${Me(e=>e.dateFormat===1,NQe)} ${Me(e=>e.dateFormat===0,FQe)} `)}`;k();k();var OQe={"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 To(e){let t={"applied-skill":"credentials/applied-skills",practice:`credentials/certifications${ce()["practice-assessment-type"]==="certification"?"":"/exams"}`,renewal:"credentials/certifications"},o={"applied-skill":"applied-skill",practice:`${ce()["practice-assessment-type"]==="certification"?"certification":"exam"}`,renewal:"certification"},n={"applied-skill":[],practice:[1,2],renewal:[0,1,2]},i={"applied-skill":"",practice:"practice",renewal:"renew"},r={0:"",1:"assessment",2:"results"},s={accommodationRequested:zxe(),"api-branch":ce()["api-branch"],assessmentid:e.query?.assessmentid,assessmentId:e.query?.assessmentId,"assessment-type":e.assessmentType,"certification-id":e.credentialId,"display-captcha":e.query?.["display-captcha"]??ce()["display-captcha"],"practice-assessment-type":ce()["practice-assessment-type"],preview:ce().preview,"skip-verification":e.query?.["skip-verification"]??Iw(),snapshotId:e.query?.snapshotId,"snapshot-version":Pw(),themebranch:ce().themebranch},a=OQe[e.assessmentType][e.pageType][R.reviewFeatures?0:1],l={origin:te.origin+"/",locale:dt.userLocale+"/",test:Ht?"test/training/":"",credentialType:t[e.assessmentType].replace(Ht&&["practice","renewal"].includes(e.assessmentType)?"credentials/":"","")+"/",credentialId:e.credentialId.replace(new RegExp("^"+o[e.assessmentType]+"."),"").replace(Ht?/\-test$/:"","")+"/",credentialPathname:e.credentialPathname?e.credentialPathname.replace(/^\/|\/$/g,"")+"/":null,subPath:n[e.assessmentType].includes(e.pageType)?i[e.assessmentType]+"/":"",pageType:r[e.pageType],query:a.length?"?"+pe(a.reduce((u,p)=>(u[p]=s[p],u),{})):""};return`${l.origin}${l.locale}${l.credentialPathname??l.test+l.credentialType+l.credentialId}${l.subPath}${l.pageType}${l.query}`}k();var S8=class{constructor(t,o,n,i,r){this.location=t;this.dataBinding=o;this.templateBinding=i;this.source=null;this.view=null;this.data=null;this.originalContext=void 0;this.childContext=void 0;this.dataBindingObserver=eo.binding(o,this,n),this.templateBindingObserver=eo.binding(i,this,r)}bind(t,o){this.source=t,this.originalContext=o,this.childContext=Object.create(o),this.childContext.parent=t,this.childContext.parentContext=this.originalContext,this.data=this.dataBindingObserver.observe(t,this.originalContext),this.template=this.templateBindingObserver.observe(t,this.originalContext),this.refreshView()}unbind(){this.source=null,this.data=null,this.view!==null&&this.view.unbind(),this.dataBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(t){t===this.dataBinding?(this.data=this.dataBindingObserver.observe(this.source,this.originalContext),this.refreshView()):t===this.templateBinding&&(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshView())}refreshView(){this.view!==null&&this.view.dispose(),this.view=this.template.create(),this.view.bind(this.data,this.childContext),this.view.insertBefore(this.location)}},w8=class extends Zl{constructor(o,n){super();this.dataBinding=o;this.templateBinding=n;this.createPlaceholder=Pt.createBlockPlaceholder;this.isBindingVolatile=eo.isVolatileBinding(o),this.isTemplateBindingVolatile=eo.isVolatileBinding(n)}createBehavior(o){return new S8(o,this.dataBinding,this.isBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile)}};function to(e,t){let o=typeof t=="function"?t:()=>t;return new w8(e,o)}k();function HD(e){let t=function(){let r=P("sourceContentUid");return r?r.split(".")[1]:e.pathname.split("/")[Ht?6:4]}(),o=e.searchParams.get("display-captcha"),n=e.searchParams.get("snapshotId"),i=e.searchParams.get("skip-verification");return{credentialId:t,displayCaptcha:o,skipverification:i,snapshotId:n}}function BD(e,t,o){let i=S.title.split("|").pop();return`${t.replace(o,e)} | ${i}`}var C8=W`

        ${e=>e.title}

        ${e=>e.msg}

        `;function E8(e){return A0e({buttonText:e,template:E0e(),hasPrimaryButton:!0,isDisabled:!0})}function E0e(){return W`

        ${s7}

        ${to(e=>e,S0e)}

        `}function A0e(e){let t=e.isDisabled?"disabled":"",o=e.hasPrimaryButton?"button-primary":"";return W`
        ${to(n=>n,e.template)}
        `}function UQe(e){let o=!(e.riskData?.appealStatus&&e.riskData?.appealStatus==="denied"),n=e.riskData?.appealStatus==="approved"?!1:!!(e.riskData?.appealStatus||e.isDisabled),i=b7;return{alertText:{approved:Ko(_7),new:v7,denied:DN,defaultMSg:i}[e.riskData?.userStatus==="NotAllowed"?e.riskData.appealStatus??"defaultMSg":"defaultMSg"],hasPrimaryButton:o,isDisabled:n}}function A8(e){let{alertText:t,hasPrimaryButton:o}=UQe({isDisabled:e.isDisabled,riskData:{appealStatus:e.riskData?.appealStatus,userStatus:e.riskData?.userStatus}});return A0e({buttonText:e.buttonText,template:W`
        ${Pt.createHTML(Ko(t))}
        `,hasPrimaryButton:o,isDisabled:!0})}k();var R0e={InvalidRequest:e7,LabError:t7,SubscriptionUnavailable:W9,NotAllowed:Ko(o7),InvalidCaptchaToken:h0,default:Bu};var VD=class{},uy=class{},GD=class{},PC=class{};var I8={title:Du,type:"static",imgsrc:e=>`data:image/svg+xml,${AC(e)}`,message:rl,description:Y9,buttonText:Fu,event:uy};var M0e={title:K9,type:"static",imgsrc:e=>`data:image/svg+xml,${AC(e)}`,message:J9,description:Z9,buttonText:X9,event:PC};var $0e="labStatusReporter",YQe="fullScreenMessageTitle",WQe="fullScreenProgressText",KQe="fullScreenProgressWrapper",vJo=`#${YQe}`,yJo=`#${KQe} > #${WQe}`,D0e="labclient.labondemand.com";var P8=(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))(P8||{}),L8=(o=>(o.labCouldNotBeLaunched="sorry, your lab could not be launched",o.launchError="launch error",o))(L8||{});function ac(e,t,o,n){switch(o&&e.updateProgress(o),t){case"labInitialized":e.start();break;case"successfullyLoaded":e.succeed();break;case"iframeFailure":case"serverBadRequest":e.fail(n);break;case"unauthorized":case"labNotFound":case"labPreviouslyScored":case"userNavigatedAway":e.cancel();break;case"reportLabProgress":case"labErrorFound":break}}var Za=class extends Be{constructor(o,n){super();this.appliedSkillAssessment=null;this.viewState=0;this.modal=null;this.hasLabConnected=!1;this.captchaToken="";this.mostRecentLabStatusMessage=null;this.appliedSkillScenarioTimeout=6e5;this.reportTelemetry=o=>{if(o.id){this._services.reportLabStatus({id:o.id,message:o.message??null});return}o.message&&(this.mostRecentLabStatusMessage=o.message)};this.urlContext=n,this._services=o,this.launchLabScenario=new Si("Commerce.Docs.LearnProgress_AppliedSkill_LaunchLab",this.appliedSkillScenarioTimeout),this.onMessageHandler=i=>{if(i&&i.origin.startsWith("https://")&&i.origin.endsWith(D0e)&&i.data)try{let r=JSON.parse(i.data);r.event_id===$0e&&(this.updateLabConnected(r),this.reportScenarioHealth(r),this.reportUpdatedTelemetry(r))}catch{}},this.onBeforeUnloadHandler=i=>{i.preventDefault(),i.returnValue=""},this.onUnloadHandler=()=>{this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId)},this.userNavigatedAway=()=>{ac(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(()=>{te.href=QD(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(()=>{te.href=QD(0,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}catch{window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.publish(new kC)}}async expireTime(){try{let o=await this._services.getAppliedSkillAssessment(this.appliedSkillAssessment.labSession.labSessionId,this.captchaToken),n=Date.parse(this.appliedSkillAssessment.labSession.expiresAt),i=Date.parse(o.labSession.expiresAt);if(i<=n){window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let r=ju(this,PC,this.submit.bind(this));this.iframe.classList.add("display-none"),document.documentElement.focus(),this.showModal(M0e).then(()=>{r(),this.submit()})}else{this.appliedSkillAssessment.labSession.expiresAt=o.labSession.expiresAt;let r=i-Date.now();setTimeout(this.expireTime.bind(this),r)}}catch{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let o=ju(this,uy,()=>{te.reload()});this.showModal(I8).then(n=>{o()})}}showModal(o){let n=document.createElement("div");n.classList.add("modal-content","margin-none","width-full"),n.tabIndex=-1;let i=qD(this,o).create();return i.bind(this,ss),i.appendTo(n),this.modal=new we(n),this.modal.show()}async getCaptchaToken(){return EC("Applied Skills"),await y0e().catch(o=>{throw this.viewState=3,o})}reportScenarioHealth(o){if(o.errors.length>0&&ac(this.launchLabScenario,"labErrorFound",o.errors.join(", ")),o.currentConnectionState===1)ac(this.launchLabScenario,"successfullyLoaded");else if(o.messageProgressTitle){let n=this.getScenarioHealthEventFromMessageTitle(o.messageProgressTitle);n&&(n==="iframeFailure"?ac(this.launchLabScenario,n,void 0,o.messageProgressTitle):ac(this.launchLabScenario,n,o.messageProgressTitle))}}updateLabConnected(o){o.currentConnectionState===1&&(this.hasLabConnected=!0)}reportUpdatedTelemetry(o){o.currentConnectionState!==o.lastConnectionState&&this.reportTelemetry({id:this.appliedSkillAssessment?.labSession?.labSessionId,message:o})}getScenarioHealthEventFromMessageTitle(o){let n=new Map([[L8,"iframeFailure"],[P8,"reportLabProgress"]]);for(let[i,r]of n)if(Object.values(i).some(s=>o.includes(s)))return r;return null}async initAppliedSkillSession(o){try{ac(this.launchLabScenario,"labInitialized");let n=!!o.snapshotId;if(this.appliedSkillAssessment=n?await this._services.getAppliedSkillAssessment(o.snapshotId,this.captchaToken):await this._services.createAppliedSkillAssessment(o.credentialId,this.captchaToken,o.skipverification,R.reviewFeatures&&this.urlContext.displayCaptcha==="true").catch(async r=>{let s=r,a=await nm(s);if(s.type==="BadRequestError"){if(a==="MissingCaptchaToken")return this.captchaToken=await this.getCaptchaToken(),this._services.createAppliedSkillAssessment(o.credentialId,this.captchaToken,o.skipverification);throw s.response.errorCode=a||void 0,s}throw r}),this.reportTelemetry({id:this.appliedSkillAssessment.labSession.labSessionId}),this.appliedSkillAssessment.labSession.scored==="Scored"||this.appliedSkillAssessment.labSession.scored==="ScoringInitiated"){ac(this.launchLabScenario,"labPreviouslyScored"),Promise.resolve().then(()=>{te.href=QD(2,o,this.appliedSkillAssessment.appliedSkill.url)});return}this.urlContext.snapshotId=this.appliedSkillAssessment.labSession.labSessionId;let i=new URL(te.href);i.searchParams.set("snapshotId",this.appliedSkillAssessment.labSession.labSessionId),Wn.replaceState(null,"",i),sc({title:this.appliedSkillAssessment.appliedSkill.title??sE,url:this.appliedSkillAssessment.appliedSkill.url||""},document.getElementById("article-header-breadcrumbs")||void 0),this.subscribe(VD,this.submit.bind(this)),this.subscribe(GD,this.cancel.bind(this)),document.title=BD(this.appliedSkillAssessment.appliedSkill.title??sE,Ko(j9),"{appliedSkillTitle}"),this.checkEstimatedReadyAt(n)}catch(n){let i=n,r=await nm(i)??i.response?.errorCode;if(i.type==="NotFoundError"){ac(this.launchLabScenario,"labNotFound");let s=new URL(te.href);s.searchParams.delete("snapshotId"),Wn.replaceState(null,"",s),this.viewState=3;return}if(i.type==="UnauthorizedError"||r==="QuotaExceeded"||C.disabledAppliedSkills&&r==="AppliedSkillDisabled")ac(this.launchLabScenario,"unauthorized"),te.href=QD(0,this.urlContext);else{ac(this.launchLabScenario,"serverBadRequest",void 0,n);let s=ju(this,uy,()=>{te.reload()}),a=Object.assign({},I8,{message:rl,description:R0e[r??"default"]});this.showModal(a).then(l=>{s()})}}}setTesting(){let n=Date.parse(this.appliedSkillAssessment.labSession.expiresAt)-Date.now();setTimeout(this.expireTime.bind(this),n),window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.viewState=2}checkEstimatedReadyAt(o=!1){let i=(Date.parse(this.appliedSkillAssessment.labSession.estimatedReadyAt)||-1/0)-Date.now();o||i<=0||this.hasLabConnected?this.setTesting():(this.viewState=1,setTimeout(this.checkEstimatedReadyAt.bind(this),1e3))}};U([G],Za.prototype,"appliedSkillAssessment",2),U([G],Za.prototype,"urlContext",2),U([G],Za.prototype,"viewState",2),U([G],Za.prototype,"modal",2),U([G],Za.prototype,"hasLabConnected",2),U([G],Za.prototype,"captchaToken",2),U([G],Za.prototype,"mostRecentLabStatusMessage",2),U([G],Za.prototype,"subscription",2);function QD(e,t,o){return To({credentialId:t.credentialId,credentialPathname:o??void 0,assessmentType:"applied-skill",pageType:e,query:{"display-captcha":t.displayCaptcha,snapshotId:e===2?t.snapshotId:void 0,"skip-verification":t.skipverification}})}var JQe={loadingContext:{loadingType:!S.referrer||new URL(S.referrer).pathname.match(/.*(assessment|results)$/gi)?.length?0:1,navigation:{assessmentPageUrl:(e,t,o,n)=>To({credentialId:e,assessmentType:"applied-skill",pageType:1,credentialPathname:o,query:{"display-captcha":n,snapshotId:void 0,"skip-verification":void 0}}),profileOverviewPageUrl:uo("me","certifications")}},loadedContext:{reportSummary:{passed:{titleDate:e=>e,imgSrc:e=>e||"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main",shareMsg:gx,supertitle:Ko(g7),title:e=>e||hz},failed:{supertitle:lE,title:e=>e||hz}},reportScores:{scoresTitle:l7,scoreType:0,scoreGuidanceUrl:"https://learn.microsoft.com/credentials/support/assessment-scoring-reports#understand-an-assessment-lab-score-report"},reportStudyGuide:{guideType:0,studyGuideCollectionFormTitle:Ko(d7),studyGuideItemsTitle:u7}},errorContext:{reportError:e=>({NotFoundError:{title:da,msg:fz,primaryButton:{text:aE,url:To({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}},UnexpectedError:{title:Du,msg:f7,primaryButton:{text:aE,url:To({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}}})}};var jD=W` ${Me(e=>e.viewConfig.loadingContext.loadingType===1,null)} ${Me(e=>e.viewConfig.loadingContext.loadingType===0,W`

        ${c7}

        ${Pt.createHTML(p7.replace("{duration}","60"))}

        `)} `;var LC=class{constructor(t){if(this.errorType=t.error.type,this.errorType==="UnauthorizedError"&&R.accessLevel!=="local"&&!w.isAuthenticated&&Oo(),this.errorType==="NotFoundError"&&t.urlContext.snapshotId){let o=new URL(location.href);o.searchParams.delete("snapshotId"),Wn.replaceState(null,"",o)}}};U([G],LC.prototype,"errorType",2);var R8=e=>W`${to(t=>t.viewConfig.errorContext.reportError(t.urlContext)[e??t.reportError.errorType],C8)}`,q0e=W` ${Me(e=>e.reportError.errorType==="NotFoundError",R8())} ${Me(e=>e.reportError.errorType==="UnauthorizedError",R8("UnexpectedError"))} ${Me(e=>e.reportError.errorType==="UnexpectedError",R8())} ${Me(e=>e.reportError.errorType==="TimeoutError",jD)} `;var lc=class{constructor({high:t=0,low:o=0,max:n=1,min:i=0,optimum:r=0,value:s=0,classModifiers:a=""}){this.high=t,this.low=o,this.max=n,this.min=i,this.optimum=r,this.value=s,this.classModifiers=a}};U([Ni],lc.prototype,"high",2),U([Ni],lc.prototype,"low",2),U([Ni],lc.prototype,"max",2),U([Ni],lc.prototype,"min",2),U([Ni],lc.prototype,"optimum",2),U([Ni],lc.prototype,"value",2),U([G],lc.prototype,"classModifiers",2);var cc=class{constructor(t){this.correctPercent=t.correctPercent,this.overallMeter=this.createMeter(t.correctPercent,t.passingPercent),this.passed=t.passed,this.passingPercent=t.passingPercent,this.scoredAt=t.scoredOn,this.scores=this.createMeters(t.scores)}createMeter(t,o,n){return new lc({high:100,low:o,max:100,optimum:o,value:t,classModifiers:n})}createMeters(t){return t.map(o=>({...o,meter:this.createMeter(o.correctPercent,o.passingPercent,"is-small")}))}};U([G],cc.prototype,"correctPercent",2),U([G],cc.prototype,"overallMeter",2),U([G],cc.prototype,"passed",2),U([G],cc.prototype,"passingPercent",2),U([G],cc.prototype,"scoredAt",2),U([G],cc.prototype,"scores",2);var O0e=W`
        `,U0e=W`

        ${e=>e.reportScores.passed?Fy:Ny}

        ${$Q} ${e=>js.format(e.reportScores.scoredAt)}

        ${BQ}${e=>yE.replace("{score}",e.reportScores.correctPercent.toString())}${e=>e.passed?Fy:Ny}

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

        ${to(e=>e.reportScores.overallMeter,O0e)}

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

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

        ${e=>e.title}

        ${Me((e,t)=>t.parent.viewConfig.loadedContext.reportScores.scoreType===1,W` ${to(e=>e.meter,O0e)}`)}
        `,{positioning:!0})}
        ${Me(e=>e.viewConfig.loadedContext.reportScores.scoreGuidanceUrl,W``)}
        `;k();async function YD(e,t,o=aQ){let n=document.createElement("div");n.classList.add("modal-content");let i=new we(n),r=new Intl.DateTimeFormat(e).format(new Date).replace(/\//g,"-"),s=d``;x(s,i.contentElement),i.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 B$(c,t)).hasError||(i.hide(),oC("added"))},i.show()}var dy=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([G],dy.prototype,"hasStudyGuideSummaries",2),U([G],dy.prototype,"studyGuide",2);var XQe=W`
        ${zQ}
        ${Me(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,W`${fE}`)} `,eje=W`
        ${e=>e.type.toLowerCase()==="path"?Kf:Ei}${e=>e.data.title}${e=>On(e.data.durationInMinutes)}
        `,tje=W`

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

        `,oje=W`

        ${m7}

        ${i7}

        ${mo(e=>e.reportStudyGuide.studyGuide.items,W` ${Me((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===0,eje)} ${Me((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===1,tje)} `)} `,H0e=W`

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

        ${Me(e=>!e.reportStudyGuide.hasStudyGuideSummaries,XQe)} ${Me(e=>e.reportStudyGuide.hasStudyGuideSummaries,oje)}
        `;var Jo=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 Ep(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([G],Jo.prototype,"assessmentId",2),U([G],Jo.prototype,"credentialExpiresOn",2),U([G],Jo.prototype,"credentialIcon",2),U([G],Jo.prototype,"credentialId",2),U([G],Jo.prototype,"credentialName",2),U([G],Jo.prototype,"credentialUrl",2),U([G],Jo.prototype,"dateCountdown",2),U([G],Jo.prototype,"eligibleToRenewByDate",2),U([G],Jo.prototype,"isCurrentlyEligible",2),U([G],Jo.prototype,"isDisabled",2),U([G],Jo.prototype,"passed",2),U([G],Jo.prototype,"profileUrl",2),U([G],Jo.prototype,"retakeEligibleOn",2),U([G],Jo.prototype,"scoredOn",2),U([G],Jo.prototype,"shareableUrl",2),U([G],Jo.prototype,"titleDate",2),U([G],Jo.prototype,"riskData",2);var nje=W`
        ${Me(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||"")}

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

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

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

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

        `)} ${Me(e=>"profilePageBtnTxt"in e.viewConfig.loadedContext.reportSummary.passed,W`${e=>e.viewConfig.loadedContext.reportSummary.passed.profilePageBtnTxt}`)} ${Me(e=>"shareMsg"in e.viewConfig.loadedContext.reportSummary.passed,W`
        ${Me(e=>"profileUrl"in e.reportSummary,W`${n7}`)} ${Me(e=>C.appliedSkillsShare,W`
        ${e=>ND("fast",{extraClasses:{paragraph:"display-inline-block margin-right-xxs font-size-sm has-text-centered-mobile ",link:"margin-right-xxs font-size-md"},sharingLinks:cC(e.reportSummary?.shareableUrl||"",e.reportSummary?.credentialName??Ko(dz),{achievementCopyTitle:{overrideTitle:e.reportSummary?.credentialName??Ko(uz),isUnquoted:!e.reportSummary?.credentialName}})})} `)}
        `)}
        `,ije=W` ${Me(e=>!!e.reportSummary?.credentialName,W`

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

        `)}

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

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

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

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

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

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

        `)}${f0}`:W`${to(t=>t.reportSummary.dateCountdown,E8(f0))}`}`,B0e=W`
        ${Me(e=>e.reportSummary?.passed,nje)} ${Me(e=>!e.reportSummary?.passed,ije)}
        `;var ia=class{constructor(t){this.viewState=2;(async()=>{let o=t.urlContext??HD(new URL(location.href));this.urlContext=o;let n;this.viewConfig=t.viewConfig;let i;try{n=await t.getAssessmentReport(o),this.reportSummary=new Jo(n),this.reportScores=new cc(n),this.reportStudyGuide=new dy(n),this.passed=n.passed,i=1}catch(r){let a=await nm(r);if(a==="TimeoutError"||a==="ScoringTimeout"){location.reload();return}this.reportError=new LC({error:r,urlContext:o}),i=0}finally{this.viewState=i,t.afterActivated(n?{credentialName:n.credentialName,credentialUrl:n.credentialUrl}:null)}})()}};U([G],ia.prototype,"passed",2),U([G],ia.prototype,"reportError",2),U([G],ia.prototype,"reportScores",2),U([G],ia.prototype,"reportStudyGuide",2),U([G],ia.prototype,"reportSummary",2),U([G],ia.prototype,"urlContext",2),U([G],ia.prototype,"viewConfig",2),U([G],ia.prototype,"viewState",2);var V0e=W` ${Me(e=>e.viewState===2,jD)} ${Me(e=>e.viewState===1,W`
        ${to(e=>e,B0e)} ${to(e=>e,U0e)} ${Me(e=>!e.passed,W`${to(e=>e,H0e)}`)}
        `)} ${Me(e=>e.viewState===0,q0e)} `;function G0e(){if(document.querySelectorAll("h1").length>1){let t=document.querySelector("[data-main-column] div:not(.content)>h1");t&&t.remove()}}var WD=class{constructor(t){this.sessionId=j2(t.sessionId)}};var M8={async createSession(e){if(!C.assessmentMergerLearnAssessment)return Tu.createSession(e);let t=pe({accommodationRequested:e.accommodationRequested,assessmentId:e.assessmentId,locale:e.locale,sessionVersion:e.sessionVersion,showAllQuestions:e.showAllQuestions,skipVerification:e.skipVerification}),o=`${z.learnAssessment}/rendering/assessments/${e.assessmentId}?${t}`,i=K(o,{method:"POST"}),r=await $(i);if(he(r),r.ok)return await r.json();throw r.status===400?new Ge(r,"BadRequestError"):r.status===401?new Ge(r,"UnauthorizedError"):r.status===404?new Ge(r,"NotFoundError"):new Ge(r,"UnexpectedError")},async getSessionAnswerSummary(e){if(!C.assessmentMergerLearnAssessment)return Tu.getSessionAnswerSummary();let t=`${z.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result/answers`,n=K(t,{method:"GET"}),i=await $(n);if(he(i),i.ok)return await i.json();throw i.status===400?new Ge(i,"BadRequestError"):i.status===401?new Ge(i,"UnauthorizedError"):i.status===404?new Ge(i,"NotFoundError"):new Ge(i,"UnexpectedError")},async getPreviousAttemptsByParentId(e){if(!C.assessmentMergerLearnAssessment)return Tu.getPreviousAttemptsByParentId();let t=`${z.learnAssessment}/rendering/assessments/linkedcontent/${e.parentId}/sessions/attempts`,n=K(t,{method:"GET"}),i=await $(n);if(he(i),i.ok)return await i.json();throw new Ge(i,"UnexpectedError")},async getRenewalEligibility(){if(!C.assessmentMergerLearnAssessment)return Tu.getRenewalEligibility()},async getSessionResult(e){if(!C.assessmentMergerLearnAssessment)return Tu.getSessionResult();let t=`${z.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result`,n=K(t,{method:"GET"}),i=await $(n);if(he(i),i.ok)return await i.json();throw i.status===400?new Ge(i,"BadRequestError"):i.status===401?new Ge(i,"UnauthorizedError"):i.status===404?new Ge(i,"NotFoundError"):new Ge(i,"UnexpectedError")},async submitSession(e){if(!C.assessmentMergerLearnAssessment)return Tu.submitSession();let t=`${z.learnAssessment}/rendering/assessments/sessions/${e.sessionId}`,o={method:"PUT",body:JSON.stringify(e.userSelections)},n=K(t,o),i=await $(n);if(he(i),i.ok)return await i.json();throw i.status===400?new Ge(i,"BadRequestError"):i.status===401?new Ge(i,"UnauthorizedError"):i.status===404?new Ge(i,"NotFoundError"):new Ge(i,"UnexpectedError")}};var ctn=R.supportLevel==="production"&&R.reviewFeatures?"include":void 0;var Q0e=async(e,t,o)=>{if(!C.assessmentMergerPracticeAssessment){if(R.accessLevel==="local")return Promise.resolve([{question:{type:"SingleSelect",text:"This is the first question.",rationale:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},userChoice:[{id:1,locale:"en-us",text:"Answer 1",isCorrect:!1}],correctChoice:[{id:2,locale:"en-us",text:"Answer 2",isCorrect:!0}]},{question:{type:"MultiSelect",text:"This is the second question.",rationale:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},userChoice:[{id:1,locale:"en-us",text:"Answer 1",isCorrect:!1},{id:2,locale:"en-us",text:"Answer 2",isCorrect:!1},{id:3,locale:"en-us",text:"Answer 3",isCorrect:!0}],correctChoice:[{id:3,locale:"en-us",text:"Answer 3",isCorrect:!0},{id:4,locale:"en-us",text:"Answer 4",isCorrect:!0},{id:5,locale:"en-us",text:"Answer 5",isCorrect:!0}]},{question:{type:"SingleSelect",text:"This is the third question.",rationale:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."},userChoice:[{id:1,locale:"en-us",text:"Answer 1",isCorrect:!1}],correctChoice:[{id:2,locale:"en-us",text:"Answer 2",isCorrect:!0}]}]);let n=`${z.learn.skillAssessment}/practice/assessments/${e}/sessions/${t}/result/answers?${pe({locale:o})}`,r=K(n,{method:"GET",credentials:"include",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"}},!0),s=await $(r);if(he(s),s.ok)return await s.json();throw new Error(`get practice answer summary api responded with ${s.status} ${s.statusText}`)}return new BM(await M8.getSessionAnswerSummary(new WD({sessionId:t})),o).items};k();k();k();We();k();async function Y0e(){let e=`${z.profile.reporting}/createInvitation`,o=await $(K(e,{method:"POST"}));if(o.ok)return await o.json();throw new Error(`createInvitation api responded with ${o.status} ${o.statusText}`)}async function W0e(){let e=`${z.profile.reporting}/status`,t=await $(K(e));if(t.status===404)return null;if(t.ok)return await t.json();throw new Error(`Invitation status api responded with ${t.status} ${t.statusText}`)}k();async function Z0e(){await xe,P("req_accommodation")==="true"&&lje(),P("org_reporting")==="true"&&await cje()}function lje(){let e=document.getElementById("extend-time");if(!e)return;let{certificationUrl:t}=ce(),o=e.firstElementChild.firstElementChild;o.href=`${t}&accommodationRequested=true`}async function cje(){let e=document.getElementById("org-reporting-container"),t=document.getElementById("org-reporting-button");if(!e||!t)return;let o=t.innerText;if(await Te,w.isAuthenticated){let n,i=ce().signInRedirect;if(w.userType==="standard")return i==="true"&&(Vt({signInRedirect:null},"replaceState"),KD(null,J0e)),K0e("msa-error",J0e,e,o);try{n=await W0e()}catch{return K0e("error",eke,e,o)}if(i==="true"&&fje(n),n)return gje(n,e,o);let r=d``;x(r,e)}else{let n=oke(),i=d``;x(i,e)}}async function X0e(){let e=document.createElement("div"),t=new we(e);return x(uje(t),e),await t.show()}function uje(e){let t=d`

        ${N(yee)}

        `,o=vee,n=d`
        `;return RC(o,t,n)}async function dje(e){pje();try{let t=await Y0e();te.href=t.nextStepUrl}catch{KD(e,eke)}}function pje(){let e=document.getElementById("cancel-terms"),t=document.getElementById("continue-terms"),o=document.getElementById("create-invitation-alert");t&&(t.classList.add("is-loading"),o.setAttribute("role","alert"),o.textContent=_ee,e.setAttribute("disabled",""))}async function KD(e,t){return(async n=>{e?e.pushContent(n):(e=new we(n),await e.show())})(t()),await e.show()}function K0e(e,t,o,n){let i=d``;x(i,o),document.getElementById(e)?.addEventListener("click",()=>KD(null,t))}function eke(){let e=document.createElement("div"),t=d`

        ${N(gee)}

        `,o=mee,n=d``;return x(RC(o,t,n),e),e}function J0e(){let e=oke(),t=document.createElement("div"),o=d`

        ${N(See)}

        `,n=Tee,i=d``;return x(RC(n,o,i),t),t}async function tke(e){let t=document.createElement("div"),o=new we(t);return x(mje(e),t),await o.show()}function mje(e){let t=d`

        ${N(hee)}

        `,o=fee,n=d`${wee}`;return RC(o,t,n)}function gje(e,t,o){let n=e.status==="Accepted",i=e.nextStepUrl;if(n){let r=d``;x(r,t)}else{let r=d`${o}`;x(r,t)}}function fje(e){let t=e&&e.status==="Accepted",o=e&&e.status==="Pending",n=e&&e.nextStepUrl;return Vt({signInRedirect:null},"replaceState"),t?tke(n):o?te.href=e.nextStepUrl:X0e()}function oke(){return te.search?`${te.pathname}${te.search}&signInRedirect=true`:`${te.pathname}?signInRedirect=true`}function RC(e,t,o){return d``}k();Xp();k();async function $8(e,t){let o=P("sourceContentUid"),n=t.searchParams.get("assessment-type"),i=await async function(){let l,c=n==="practice";if(o)try{l=(await mt.getListsItems([o]))[0]?.[c?"practiceAssessmentUid":"assessmentId"]}catch{}return l??t.searchParams.get("assessment-id")??t.searchParams.get("assessmentId")??null}(),r=function(){return o?o.split(".")[1]:!R.reviewFeatures||!Ht?location.href.replace(`${location.origin}/${e}/credentials/certifications/`,"").split("/")[0]:t.searchParams.get("certification-id")}(),s=t.searchParams.get("practice-assessment-type"),a=Iw();return{assessmentId:i,certificationId:r,assessmentType:n,practiceAssessmentType:s,skipVerification:a,isPreview:a==="true",omitScoring:Nxe(),snapshotVersion:Pw(),showAllQuestions:Dxe()}}k();k();k();k();k();k();var Qsn={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"}};k();var fan=new URL(z.auth.partner).pathname;k();function ske(){return d`
        ${dae}
        • ${pae}
        • ${mae}
        • ${gae}
        `}var Lje={qna:{contextualCard:ske(),cancelRegistrationMessage:String(fae),isEnabled:P("page_kind")!=="register"}},tln=ce();k();var MC=class{constructor(t,o){this.question=t;this.questionNumber=o}},$C=class{},_f=class{constructor(t){this.questionResponses=t}},DC=class{};var lke=W` ${Me(e=>e.scenarioDescription,W`
        `)}
        ${mo(e=>e.choices[0].choices,W``)}${mo(e=>e.choices[0].choices,W``)}${mo(e=>e.choices,W`${mo(e=>e.choices,W``)}`,{positioning:!0})}
        `,py=class{constructor(t){this.isSelected=!1;this.text=t.text,this.id=t.id}};U([G],py.prototype,"id",2),U([G],py.prototype,"text",2),U([G],py.prototype,"isSelected",2);var vf=class{constructor(t){this.text=t.title,this.id=t.fullyQualifiedId,this.description=t.description,this.choices=t.choices.map(o=>new py(o)),this.manualId=t.manualId}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}};U([G],vf.prototype,"id",2),U([G],vf.prototype,"text",2),U([G],vf.prototype,"description",2),U([G],vf.prototype,"choices",2);var Eu=class{constructor(t){this.scenarioTitle=t.title,this.scenarioDescription=t.description,this.uid=t.uid,this.questionType="Matrix",this.id=t.uid,this.choices=t.questions.map(o=>new vf(o)),this.fullyQualifiedId=t.questions[0].fullyQualifiedId}validate(){return this.choices.reduce((t,o)=>t&&o.validate(),!0)}async checkUserAnswer(){}serialize(){return this.choices.map(t=>({fullyQualifiedQuestionId:t.id,value:t.choices.filter(o=>o.isSelected).map(o=>o.id)}))}};U([G],Eu.prototype,"uid",2),U([G],Eu.prototype,"questionType",2),U([G],Eu.prototype,"scenarioTitle",2),U([G],Eu.prototype,"scenarioDescription",2),U([G],Eu.prototype,"choices",2),U([G],Eu.prototype,"id",2);function JD(e){try{let t=document.createElement("template");return t.innerHTML=e,t.content.querySelectorAll("a").forEach(o=>o.target="_blank"),t.innerHTML}catch{return e}}var cke=W`
        ${SQ}
        ${mo(e=>e.choices,W`
        ${(e,t)=>W` ${Me(o=>t.parent.displayAnswer,W` ${o=>o.isSelected&&o.isCorrect===!1?W`${zp}`:""} ${o=>o.isCorrect===!0?W`${Np}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,my=class{constructor(t){this.isSelected=!1;this.text=t}};U([G],my.prototype,"id",2),U([G],my.prototype,"text",2),U([G],my.prototype,"isSelected",2),U([G],my.prototype,"isCorrect",2);var gs=class{constructor(t,o){this.choices=[];this.displayAnswer=!1;this.question=o,this.choices=this.question.choices.map(n=>({id:n.id,text:n.text,isSelected:!1,isCorrect:n.isCorrect})),this.questionTitle=this.question.title,this.questionDescription=this.question.description,this.scenarioTitle=t.title,this.scenarioDescription=t.description,this.uid=this.question.uid,this.questionType=this.question.questionType,this.id=this.question.fullyQualifiedId,this.fullyQualifiedId=this.question.fullyQualifiedId,this.manualId=this.question.manualId,this.rationale=JD(this.question.rationale)}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}async checkUserAnswer(){this.displayAnswer=!0}serialize(){return[{fullyQualifiedQuestionId:this.question.fullyQualifiedId,value:this.choices.filter(t=>t.isSelected).map(t=>t.id)}]}};U([G],gs.prototype,"uid",2),U([G],gs.prototype,"questionTitle",2),U([G],gs.prototype,"questionDescription",2),U([G],gs.prototype,"questionType",2),U([G],gs.prototype,"scenarioTitle",2),U([G],gs.prototype,"scenarioDescription",2),U([G],gs.prototype,"choices",2),U([G],gs.prototype,"id",2),U([G],gs.prototype,"rationale",2),U([G],gs.prototype,"displayAnswer",2);var uke=W`
        ${vQ}
        ${mo(e=>e.choices,W`
        ${(e,t)=>W` ${Me(o=>t.parent.displayAnswer,W` ${o=>o.isSelected&&o.isCorrect===!1?W`${zp}`:""} ${o=>o.isCorrect===!0?W`${Np}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,gy=class{constructor(t){this.isSelected=!1;this.text=t}};U([G],gy.prototype,"id",2),U([G],gy.prototype,"text",2),U([G],gy.prototype,"isSelected",2),U([G],gy.prototype,"isCorrect",2);var fs=class{constructor(t,o){this.choices=[];this.displayAnswer=!1;this.question=o,this.choices=this.question.choices.map(n=>({id:n.id,text:n.text,isSelected:!1,isCorrect:n.isCorrect})),this.questionTitle=this.question.title,this.questionDescription=this.question.description,this.scenarioTitle=t.title,this.scenarioDescription=t.description,this.uid=this.question.uid,this.questionType=this.question.questionType,this.id=this.question.fullyQualifiedId,this.fullyQualifiedId=this.question.fullyQualifiedId,this.manualId=this.question.manualId,this.rationale=JD(this.question.rationale)}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}async checkUserAnswer(){this.displayAnswer=!0}serialize(){return[{fullyQualifiedQuestionId:this.question.fullyQualifiedId,value:this.choices.filter(t=>t.isSelected).map(t=>t.id)}]}};U([G],fs.prototype,"uid",2),U([G],fs.prototype,"questionTitle",2),U([G],fs.prototype,"questionDescription",2),U([G],fs.prototype,"questionType",2),U([G],fs.prototype,"scenarioTitle",2),U([G],fs.prototype,"scenarioDescription",2),U([G],fs.prototype,"choices",2),U([G],fs.prototype,"id",2),U([G],fs.prototype,"rationale",2),U([G],fs.prototype,"displayAnswer",2);var yf=class{constructor(t,o,n,i,r,s,a,l){this.assessmentId=t,this.certificationUid=o,this.skipVerification=i,this.snapshotVersion=r,this.error=a,this.retry=l||(()=>{}),this.reportPageUrl=To({assessmentType:s,pageType:2,credentialId:this.error.detail.certificationUid,credentialPathname:n,query:{assessmentid:this.error.detail.assessmentId,snapshotId:this.error.detail.snapshotId}}),this.recertDetailsUrl=To({assessmentType:s,pageType:0,credentialId:this.certificationUid,credentialPathname:n,query:{assessmentId:this.assessmentId}})}retryHandler(){this.retry()}};U([G],yf.prototype,"error",2),U([G],yf.prototype,"reportPageUrl",2),U([G],yf.prototype,"recertDetailsUrl",2);var dke=W`
         

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

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

        ${kQ}

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

        ${LQ}

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

        ${EQ}

        `)}
        `;var pke=W`

        ${Dt}

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

        ${RQ}

        00:00:00
        `,Uje=d``,gke=document.createElement("div"),fke=new we(gke),Hje=()=>{x(Uje,gke)},Bje=()=>fke.hide(),Vje=()=>{document.querySelector(".modal-background").classList.remove("modal-close")},Gje=e=>{let{timeRemaining:t}=ce(),o=parseInt(t);return isNaN(o)?e:o},Qje=500,ZD=class{constructor(){this.countdownTimerReference=null}clearTimeout(){this.countdownTimerReference&&clearTimeout(this.countdownTimerReference)}};U([G],ZD.prototype,"countdownTimerReference",2);var z8=(e,t,o,n)=>{let i=e,r=Math.floor(i/1e3%60),s=Math.floor(i/1e3/60%60),a=Math.floor(i/(1e3*60*60)%24),l=document.querySelector("#timer-container");if(l!==null){let c=l.querySelector(".hours"),u=l.querySelector(".minutes"),p=l.querySelector(".seconds");c.textContent=a.toString().padStart(2,"0"),u.textContent=s.toString().padStart(2,"0"),p.textContent=r.toString().padStart(2,"0")}if(i<=0){let c=document.getElementById("next-button");return c.disabled!==null&&(c.disabled=!0),Hje(),fke.show(),document.getElementById("see-results-button").addEventListener("click",()=>{t.publish(new DC),Bje()}),Vje()}else return n.countdownTimerReference=setTimeout(z8,Qje,Math.max(o-Date.now(),0),t,o,n)},uc=class{constructor(t,o,n=ut,i=!1,r=!1,s="false",a="preview"){this.bus=n;this.omitScoring=i;this.isPreview=r;this.showAllQuestions=s;this.snapshotVersion=a;this.countdownTimerReference=new ZD;this.options={showcheckAnswer:!1};this.reRouteSession=()=>{let t=new URL(location.href),o=this.showAllQuestions==="true"?"false":"true";t.searchParams.set("show-all-questions",o),t.searchParams.set("omit-scoring",o),this.countdownTimerReference.clearTimeout(),Rr.goto(t,"replaceState")};this.title=t,this.service=o,this.numberOfScenarios=this.service.questionnaire.count,this.timer=this.service.snapshot.timer,this.bus.subscribe(MC,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:[]});Rr.enable(l())}async initialize(){if(this.updateScenario(this.service.currentScenario,this.service.currentScenarioNumber),this?.service?.snapshot?.temporaryPreviewExpiresAt){let t="has-background-warning-light display-flex justify-content-center",o="button",n=ZCe,i={id:"renewal-assessment-platform-api-link",url:XCe,text:dQ},r=new Date(Date.parse(this.service.snapshot.temporaryPreviewExpiresAt));Jt(uQ?.replace("{temporaryPreviewExpiresAt}",r.toString()),i,t,o,n)}if(this.timer!==null&&this.timer!==void 0){let t=this.timer*1e3*60;if(R.supportLevel==="production"){let o=Date.now()+t;z8(t,this.bus,o,this.countdownTimerReference)}else{let o=Gje(t),n=Date.now()+o;z8(o,this.bus,n,this.countdownTimerReference)}}}updateScenario(t,o){let[n,i,r]=t.fullyQualifiedId.split(".");this.questionnaireId=n,this.questionSetId=i,this.questionId=r,this.currentScenario=t,this.currentScenarioNumber=o,this.form&&this.form.focus()}next(){this.bus.publish(new $C)}checkUserAnswer(){if(this.form.checkValidity()){this.currentScenario.checkUserAnswer();return}this.form.reportValidity()}};U([G],uc.prototype,"numberOfScenarios",2),U([G],uc.prototype,"currentScenarioNumber",2),U([G],uc.prototype,"currentScenario",2),U([G],uc.prototype,"title",2),U([G],uc.prototype,"timer",2),U([G],uc.prototype,"countdownTimerReference",2);var hke=W` ${Me(()=>R.reviewFeatures,W`
        e.reRouteSession()} />
        `)}
        ${Me(e=>e.isPreview,W`${e=>e.manualId||e.renewalAssessmentUid}`)}

        ${e=>e.title}

        ${e=>e.timer!==null&&e.timer!==void 0?Oje:""}
        ${Me(e=>e.isPreview,W` (${e=>e.currentScenario.manualId||e.currentScenario.uid}) `)}
        ${to(e=>e.currentScenario,e=>jje(e.currentScenario))}
        ${Me(e=>e.options.showcheckAnswer,W``)}
        `;function jje(e){let t={SingleSelect:uke,MultiSelect:cke,Matrix:lke},o=e.questionType.charAt(0).toUpperCase()+e.questionType.slice(1);return t[o]}function Yje(e){return e.currentScenarioNumber===e.numberOfScenarios?e.isPreview&&(e.omitScoring||e.snapshotVersion==="preview")?k9:zo:wQ}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 bke=W`
         

        ${CQ}

        `;var hy=class{constructor(t,o){this.scoredSnapshot=t,this.resultsUrl=o}};U([G],hy.prototype,"scoredSnapshot",2),U([G],hy.prototype,"resultsUrl",2);var _ke=W``;var XD=class extends Be{constructor(o,n,i,r,s,a=ut,l=!1,c=!1){super();this.service=o;this.assessmentId=n;this.skipVerification=i;this.showAllQuestions=r;this.snapshotVersion=s;this.bus=a;this.omitScoring=l;this.isPreview=c;this.viewState="Loading";this.publish(new $g)}async initializeAssessment(){let o=await $8(b.data.userLocale,new URL(location.href));try{await this.service.initSnapshot()}catch(n){vke(n,this.service,o.certificationId)}S.title=this.service.type==="renewal"?this.createTitle(this.service.snapshot.certificationName,S.title):S.title,this.setTesting(),this.bus.subscribe(_f,async n=>{this.setScoring();try{await this.service.scoreSnapshot(n.questionResponses)&&this.service.type==="renewal"?this.setSuccess(this.service.scoredSnapshot,To({assessmentType:"renewal",pageType:2,credentialId:this.service.snapshot.certificationUid,credentialPathname:this.service.contentSource.url,query:{assessmentid:this.assessmentId,snapshotId:this.service.scoredSnapshot.snapshotId}})):this.setFailed()}catch(i){if(i instanceof Zg){this.setError(this.assessmentId,this.service.snapshot.certificationUid,this.service.contentSource?.url,this.skipVerification,this.snapshotVersion,this.service.type,i,()=>this.bus.publish(new _f(n.questionResponses)));return}this.setError(this.assessmentId,this.service.snapshot.certificationUid,this.service.contentSource?.url,this.skipVerification,this.snapshotVersion,this.service.type)}})}setTesting(){this.model=new uc(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 ot),this.assessmentStart=Date.now()}setScoring(){this.assessmentTime=(Date.now()-this.assessmentStart)/6e4,this.model=null,this.viewState="Scoring",this.publish(new ot)}async setSuccess(o,n){this.model=new hy(o,n);try{await Promise.all([sw("/en-us/media/learn/certification/renew/fireworks.png?branch=main"),sw("/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main")])}finally{this.viewState="Success",this.publish(new ot)}}setError(o,n,i,r,s,a,l,c){this.model=new yf(o,n,i,r,s,a,l,c),this.viewState="Error",this.publish(new ot)}setFailed(){this.viewState="Failed",this.publish(new ot)}createTitle(o=ol,n=S.title){let i=n.split("|").pop();return`${mQ.replace("{certificationName}",o||ol)} | ${i}`}};U([G],XD.prototype,"viewState",2);var Wje=W` ${Me(e=>e.viewState==="Loading",pke)} ${Me(e=>e.viewState==="Testing",W` ${to(e=>e.model,e=>hke)}`)} ${Me(e=>e.viewState==="Scoring",bke)} ${Me(e=>e.viewState==="Success",W` ${to(e=>e.model,e=>_ke)}`)} ${Me(e=>e.viewState==="Error",W` ${to(e=>e.model,e=>dke)}`)} `;function vke(e,t,o){if(e instanceof Zg){if(e.status===401){Oo(location.href);return}t.snapshot?location.href=To({assessmentType:"renewal",pageType:0,credentialId:t.snapshot&&t.snapshot.certificationUid||o,credentialPathname:t.contentSource.url,query:{assessmentId:t.snapshot&&t.snapshot.renewalAssessmentUid||""}}):location.href=ir(S.referrer).href;return}else throw e}var Kje={loadingContext:{loadingType:1,navigation:{assessmentPageUrl:(e,t,o)=>To({credentialId:e,assessmentType:"renewal",pageType:1,credentialPathname:o,query:{assessmentId:t}}),detailsPageUrl:(e,t,o)=>To({credentialId:e,assessmentType:"renewal",pageType:0,credentialPathname:o,query:{assessmentId:t}}),profileDetailPageUrl:uo("me","certifications"),profileOverviewPageUrl:uo(w.userName),browsePageUrl:`/${b.data.userLocale}/certifications`}},loadedContext:{reportSummary:{passed:{title:e=>_z.replace("{certificationName}",e||ol),imgSrc:e=>e||"/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",titleDate:e=>e,dateMsg:`${WW} ${DQ}`,profilePageBtnTxt:vz,supertitle:lE},failed:{detailsPageBtnTxt:FQ,eligibleTitle:OQ,eligibleMsg:e=>UQ.replace("{date}",js.format(e)),supertitle:NQ,title:e=>e||ol}},reportScores:{scoresTitle:_E,scoreType:1},reportStudyGuide:{guideType:1,studyGuideCollectionFormTitle:cQ,studyGuideItemsTitle:hE}},errorContext:{reportError:e=>({NotFoundError:{title:da,msg:HQ,primaryButton:{text:VQ,url:`/${b.data.userLocale}/credentials`},secondaryButton:{text:vz,url:uo(w.userName)}}})}};k();var xf="facet-search-input";async function e1(e,t,o=null,n=60*1e3){let i=new URL(e).href;if(t.length>100)return{question:"",answer:""};let r=K(i,{mode:"cors",method:"POST",credentials:R.supportLevel==="production"&&R.reviewFeatures?"include":"same-origin",body:JSON.stringify({Query:t}),signal:o||void 0}),s,a=new Promise((l,c)=>{s=window.setTimeout(()=>{c(new jt(new Response("Timeout",{status:408})))},n)});try{let l=await Promise.race([fetch(r),a]);if(l.ok){let c=(await l.text()).trim();return c?JSON.parse(c):{question:"",answer:""}}throw new jt(l)}finally{s!==void 0&&clearTimeout(s)}}function t1(e,t,o,n,i,r,s,a){if(isNaN(e))return"";if(!t)return g0.replace("{numberOfResults}",Fi(e));let c=s?e===1?jre:Qre:a?e===1?Ure:Ore:e===1?qre:Fre,u=a?e===1?Gre:Vre:e===1?Bre:Hre,p=a?e===1?Zre:Jre:e===1?Kre:Wre,m;switch(o){case"Documentation":case"documentation":m=p.replace("{pivotCategory}",ua);break;case"Training":case"training":m=p.replace("{pivotCategory}",Xi);break;case"Credential":case"credential":m=p.replace("{pivotCategory}",mn);break;case"Reference":case"reference":m=p.replace("{pivotCategory}",Yn);break;case"Show":case"show":m=p.replace("{pivotCategory}",Ci);break;case"QnA":case"qna":m=p.replace("{pivotCategory}",sx);break;default:m=n&&!i?u:c}return m.replace("{count}",Fi(e)).replace("{searchPhrase}",r&&r.length!==0?Jje(t,r):t).replace("{scope}",n&&!i?n:"").replace(/\s\s+/g," ")}function Jje(e,t){t.reverse();let o=e;for(let{start:n,length:i,correction:r}of t)o=`${o.substring(0,n)}${r}${o.substring(n+i)}`;return o}function yke(e){if(e.busy)return;let o=(e.facetGroups?.category&&e.facetGroups.category.facets.find(r=>r.isSelected))?.value||"",n=t1(e.resultsCount,e.terms,o,e.scope,e.scopeRemoved,e.spellingCorrection),i=e.resultsCount===0?fo:n;e.getSelectedCategoryName()!=="Ai"&&pt(i,"assertive")}var Au=class{constructor(t){this.type=t}};var Tf=class extends Be{constructor(o,n,i,r,s,a,l,c,u,p,m){super();this.label=o;this.count=n;this.name=i;this.value=r;this._isSelected=s;this._isExpanded=a;this.level=l;this.position=c;this.group=u;this.parent=p;this.avatarUrl=m;this.children=[]}get hasChildren(){return this.children.length>0}get hasSelectedChild(){return!this.isSelected&&!!this.children.find(o=>o.isSelected)}get isSelected(){return this._isSelected}get isChecked(){return this.parent?._isSelected||this.isSelected}get inputClass(){return this.parent&&this.parent.isSelected?"checkbox-muted":this.isSelected?"is-primary":""}get isExpanded(){return this.group.filterActive||this.hasChildren&&this._isExpanded||this.hasSelectedChild}get hidden(){return this.group.filterActive&&this.hasVisibleChild?!1:!!(this.isFiltered||this.parent&&!this.parent.isExpanded)}get isFiltered(){return this.group.filterActive&&!this.name.toLocaleLowerCase().includes(this.group.filter.toLocaleLowerCase())}get hasVisibleChild(){return this.hasChildren&&!!this.children.find(o=>!o.hidden)}toggleSelected(){this.isSelected?this.deselect():this.select(),this.notifyFacetChange("select")}toggleExpanded(){this._isExpanded?this.collapse():this.expand(),this.notifyFacetChange("expand")}deselect(){this._isSelected=!1}select(){if(this.parent?.isSelected&&this.parent.deselect(),this.children.length>0)for(let o of this.children)o.deselect();this._isSelected=!0}expand(){this.hasChildren&&(this._isExpanded=!0)}collapse(){this._isExpanded=!1}notifyFacetChange(o){this.publish(new Au(o))}};function xke(e){let t={};for(let o in e){let n=o,i=e[n];t[n]=i.selected}return t}function Tke(e){let t={};for(let o in e){let i=e[o];t={...t,...i.expanded}}return t}function Ske(e,t,o){if(!t){let i=document.createElement("input");return o&&(i.pattern="(?!^\\s+$)^.*$",i.required=!0),i.setAttribute("type","text"),i.setAttribute("aria-label",io),i.setAttribute("maxlength","100"),i.dataset.biName="search-input",i.classList.add("input","input-lg"),i.placeholder=io,i.id=xf,i.name=xf,i.value="",i}t.input={...t.input,name:xf,id:xf,label:io,size:"large",required:!!o};let n=Ti({...t,initialValue:""});return n.addEventListener(ls,()=>e()),n.addEventListener(ls,KTe),n.addEventListener(Dw,a$),n}function o1(e){document.getElementById(`facet-input-filter-${e}`).focus()}var zC=class{constructor(t){this.skip=t}},n1=class extends Be{constructor(o,n,i=0){super();this._top=n;this.pageIndex=Math.floor(i/n),this.pageCount=Math.min(Math.max(this.pageIndex+2,10),Math.ceil(o/n))}get displayRange(){return{first:Math.max(this.pageIndex-2,0),last:Math.min(this.pageIndex+2,this.pageCount)}}async setPage(o){let n=o*this._top;this.publish(new zC(n))}};function Zje(e){let t={};if(t.scope=e.scope||null,t.terms=e.terms||null,t.top=null,t.skip=e.skip&&e.skip!==0?e.skip.toString():null,t.hideCompleted=e.hideCompleted?e.hideCompleted.toString():null,t.dataSource=e.dataSource||null,e.selectedFacets)for(let o in e.selectedFacets)t[o]=Object.keys(e.selectedFacets[o]).join(",");e.expandedFacets&&(t.expanded=Object.keys(e.expandedFacets).join(","));for(let o in ay){let n=`filter-${o}`,i=o in e.filters;t[n]=i?e.filters[o]:null}return t.search=null,t}function ra(e,t="pushState"){let o=Zje(e);Vt(o,t)}function wke(e){for(let t in e){let o=t,n=Xje(o);e[o]=e[o].map(i=>Cke(i,o,n)),o!=="category"&&o!=="date"&&(e[o]=e[o].sort(n))}return e}function Xje(e){return e==="years"?(t,o)=>o.displayName.localeCompare(t.displayName,b.data.userLocale):e==="levels"?(t,o)=>UV(t.value)-UV(o.value):(t,o)=>t.displayName.localeCompare(o.displayName,b.data.userLocale)}function Cke(e,t,o){return e.displayName||(e.displayName=Hi?.[t]?.[e.value]||e.value),e.children&&e.children.length&&(e.children.map(n=>{Cke(n,t,o)}),e.children.length>1&&e.children.sort(o)),e}var N8=(e,t)=>t.hasChildren?t.children.reduce(N8,e)+1:e+1,i1=class extends Be{constructor(o,n=""){super();this.key=o;this._filter=n;this._facets=[];this._totalFacets=0;this.name=ay[o]}get facets(){return this._facets}set facets(o){this._facets=o,this._totalFacets=this._facets.reduce(N8,0),this.subscribeToChanges(this.facets)}get hasFilterInput(){return this.filterActive||this._totalFacets>14}get selected(){return this.facets.reduce(F8("isSelected"),{})}get expanded(){return this.facets.reduce(F8("isExpanded"),{})}set filter(o){this._filter=o}get filter(){return this._filter}get filterActive(){return this._filter!==""}get hasVisibleChild(){return!!this.facets.find(o=>!o.hidden)}get isEmpty(){return this._totalFacets===0}get allFacetsFilteredOut(){return this.hasFilterInput&&this.filterActive&&!this.hasVisibleChild}handleFilterInput(o){let n=o.target instanceof HTMLInputElement&&o.target;this.filter=n.value,this.notifyFacetChange("filter")}clearFilter(){this._filter="",o1(this.key),pt(dN,"assertive"),this.notifyFacetChange("filter")}clearFacet(){pt(dN,"assertive"),this.notifyFacetChange("facet_clear")}deselectAll(){this.facets.forEach(o=>o.deselect())}selectByValue(o){this.deselectAll();let n=this.facets.find(i=>i.value===o);n&&!n.isSelected&&n.select(),this.notifyFacetChange("select")}setFacets(o){this._facets=o,this._totalFacets=this._facets.reduce(N8,0),this.subscribeToChanges(this.facets)}subscribeToChanges(o){for(let n of o)n.subscribe(Au,i=>this.notifyFacetChange(i.type)),n.children&&this.subscribeToChanges(n.children)}notifyFacetChange(o){this.publish(new Au(o))}};function F8(e){return(t,o)=>{if(o[e])t[o.value]=!0;else if(o.hasChildren)return o.children.reduce(F8(e),t);return t}}function Eke(e){let t={};for(let o in e)if(o in ay&&e[o]){let n=o,i=e[n].split(","),r=eYe(n,i);r&&(t[n]=r.reduce((s,a)=>(s[a]=!0,s),{}))}return t}function Ake(e){return e.expanded?e.expanded.split(",").reduce((o,n)=>(o[n]=!0,o),{}):{}}function kke(e,t,o,n){let i={};for(let r in e){let s=r,a=new i1(s,n[s]);a.facets=e[s].map(Ike(s,1,t,o,a)),i[s]=a}if(Nt==="Search"){let r=t.category&&Object.keys(t.category).length>0?Object.keys(t.category)[0]:void 0;for(let s of r$)s!=="All"&&!i?.category.facets.find(a=>a.name===s)&&(i.category.facets=i.category.facets.concat(new Tf("category",0,s,s,s===r,!1,2,i.category.facets.length+1,i.category)))}return i}function Ike(e,t,o,n,i,r){return(s,a)=>{let l=e in o&&s.value in o[e],c=s.value in n,u=new Tf(e,s.count,s.displayName||s.name,s.value,l,c,t+1,a+1,i,r,s.avatarUrl);return s.children&&s.children.length&&(u.children=s.children.map(Ike(e,t+1,o,n,i,u))),u}}function Pke(e){let t={};for(let o in e){let n=o,i=e[n];t[n]=i.filter||""}return t}function Lke(e){let t={};for(let o in e)t[e[o]]=o;return t}function eYe(e,t){if(t.length===0)return[];if(e==="category"){if(t.length===1){let o=r$.find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o==="Ai"&&(C.enableDeepSearch===!1||!w.isAuthenticated)?[]:o&&o!=="All"?[o]:null}return[]}else if(e==="date"){if(t.length===1){let o=Object.keys(ds).find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o&&o!=="all"?[o]:null}return[]}return t}function NC(e){return Object.keys(e||{}).length===0}var r1=class extends Be{constructor(o,n,i={}){super();this._top=n;this.initialized=new Promise(o=>{this.initialize=o});this.showSearchAnswer=!0;this._busy=!1;this._dataSource="";this._disallowBlankSlate=!1;this._expandedFacets={};this._facetGroups={};this._facetsKnown=!1;this._filters={};this._isFuzzySearch=!1;this._hideCompletedEnabled=!1;this._hideCompleted=!1;this._mobileMenuView="top";this._results=[];this._rssEnabled=!1;this._scopeRemoved=!1;this._scoringProfileEnabled=!1;this._spellingCorrection=[];this._blankSlateEnabled=!1;this._resultsSortOptions=[];this._currentResultsSortOptionsIndex=0;this._termHasSynonyms=!1;this._pageStateHandler=null;this._abortController={};this._firstFetchCompleted=!1;this._maxCachedResponse=6;this._cachedResponse=[];this._maxCopilotQaCache=10;this._copilotQaCache=[];this._maxDeepSearchCache=5;this._deepSearchCache=[];this.argsStringifyFunc=(o,n)=>{if(o==="selectedFacets"){let i=n;for(let r in i)NC(i[r])&&delete i[r];n=i}if(!(o==="expandedFacets"||!n))return n};this.toUrl=o=>o.url;if(i.blankSlateEnabled&&(this._blankSlateEnabled=!0),i.taxonomyFacetLookups&&(this.taxonomyFacetLookups=i.taxonomyFacetLookups,this.taxonomyFacetLookupsReversed=Lke(this.taxonomyFacetLookups)),i.syntheticFacets&&(this._syntheticFacets=i.syntheticFacets),i.facetSort&&(this.facetSort=i.facetSort),i.queryStringTransformer){let r=i.queryStringTransformer(new URL(te.href));Vt(r,"replaceState","")}if(this._pageStateHandler=i.pageStateHandler,this._fetch=o,i.hideCompleted&&w.isAuthenticated&&(this._hideCompletedEnabled=!0),this._scoringProfileEnabled=!!i.scoringProfile,this.scoringProfileEnabled&&(this._scoringProfile=i.scoringProfile),i.rss&&C.rss&&(this._rss=i.rss,this._rssEnabled=!0),i.resultSortOptions&&i.resultSortOptions.length>0){this._resultsSortOptions=i.resultSortOptions;let r=i.resultSortOptions.findIndex(s=>s?.default===!0);this._currentResultsSortOptionsIndex=r===-1?0:r}this._input=Ske(async()=>{await this.fetch(),ra(this.createSearchArgs())},i.autocomplete,!!i.fetchRequiresTerms),this.readState(),!this.terms&&this.blankSlateEnabled?(this.setBusy(),this.setBlankData(),this.setReady()):(i.scenarioHealth&&(this._scenarioHealth=i.scenarioHealth,this.startScenario(this._scenarioHealth.viewResults)),this.fetch()),ra(this.createSearchArgs(),"replaceState"),window.addEventListener("popstate",()=>this.handlePopState())}get selectedFacetsMinusCategory(){let o=Object.assign({},this._selectedFacets);o.category&&delete o.category;for(let n in o)NC(o[n])&&delete o[n];return o}get mobileMenuView(){return this._mobileMenuView}get resultsCount(){return this._resultCount}get input(){return this._input}get terms(){return this._input.value||""}get scope(){return this._scope}get scopeRemoved(){return this._scopeRemoved}get spellingCorrection(){return this._spellingCorrection}get results(){return this._results}get srcheng(){return this._srcheng}get busy(){return this._busy}get facetGroups(){return this._facetGroups}get selectedCategoryId(){return this._selectedCategoryId}get selectedFacets(){return this._selectedFacets}get expandedFacets(){return this._expandedFacets}get hideCompleted(){return this._hideCompleted}get hideCompletedEnabled(){return this._hideCompletedEnabled}get scoringProfileEnabled(){return this._scoringProfileEnabled}get scoringProfile(){return this._scoringProfile}get rssEnabled(){return this._rssEnabled}get rssUrl(){return this._rssUrl}get dataSource(){return this._dataSource}get blankSlateEnabled(){return this._blankSlateEnabled}get showBlankSlate(){return this.blankSlateEnabled&&!this.disallowBlankSlate&&(!this.results||this.results.length===0)&&!this.busy&&this.isBlank}get disallowBlankSlate(){return this._disallowBlankSlate}set disallowBlankSlate(o){this.disallowBlankSlate||(this._disallowBlankSlate=o)}get hasActiveFilter(){for(let o in this._selectedFacets)if(this._selectedFacets[o]){for(let n in this._selectedFacets[o])if(n.toLowerCase()!=="all"){if(o==="category")return this.getSelectedCategoryName()===n;if(this._selectedFacets[o]?.[n])return!0}}return!1}get isBlank(){return!this.hasActiveFilter&&this.terms===""}get categoriesEnabled(){return!!this.facetGroups.category}get hasActiveFacets(){for(let o in this._facetGroups)if(this._facetGroups[o]?.facets?.length)return!0;return!1}get syntheticFacets(){return this._syntheticFacets}get facetsEnabled(){return this.dataSource!=="previousVersions"}get isFuzzySearch(){return this._isFuzzySearch}get hasSortableResults(){return this._resultsSortOptions&&this._resultsSortOptions.length>0}get resultsSortOptions(){return this._resultsSortOptions}get currentResultsSortOptionsIndex(){return this._currentResultsSortOptionsIndex}get termHasSynonyms(){return this._termHasSynonyms}get isFirstPage(){return!this._skip}get firstFetchCompleted(){return this._firstFetchCompleted}async submit(o){o.preventDefault(),this._scenarioHealth&&this.startScenario(this._scenarioHealth.viewResults);let n=o.target.elements.namedItem(xf);n.value.length>100&&(n.value=n.value.trim().slice(0,100)),this.input.value=n.value.trim(),this._skip=0,this.fetch(),ra(this.createSearchArgs())}async fetch(){this.setBusy();try{let o=this.createSearchArgs();this.taxonomyFacetLookups&&this._remapTaxonomyFacetNames(this.taxonomyFacetLookupsReversed,o.selectedFacets);let n;for(let c in o.selectedFacets.author){n=c;break}let[i,r,s,a]=await Promise.all([this.useCacheOrFetch(o),this.contentAreaNumberFetch(),Y2(n),this.fetchGuestSearchAnswerResult(o)]);this.maintainCachedResults(o,i),r&&this.maintainCachedResults(this.createSearchArgs(!1),r);let l=this.combineResponse(i,r,s);this.taxonomyFacetLookups&&this._remapTaxonomyFacetNames(this.taxonomyFacetLookups,l.facets),this.updateAnswers(a),this.updateResults(l),this.updateSrcheng(l),this.updateFacets(l),this.updateScopeRemoval(l),this.updateSpellingCorrection(l),this.updateSynonymCheckForSearchTerm(l),this.updatePaging(),this.updateRssUrl()}catch(o){this.setBlankData(),this._scenarioInstance?.fail(o)}finally{this.results&&this.results.length>0&&(this.disallowBlankSlate=!0),this._firstFetchCompleted=!0,this.setReady(),this.initialize(),this._scenarioInstance?.succeed(),yke(this),JTe(this.createSearchArgs(),this._results.map(this.toUrl),this._resultCount,this.getSelectedCategoryName(),this._scopeRemoved,this._spellingCorrection.length>0,!0,this._srcheng)}}handleFacetChange(o,n){switch(o){case"select":this._scenarioHealth&&this.startScenario(this._scenarioHealth.facetChange),this._selectedFacets=xke(this.facetGroups),this._skip=0,this.fetch(),ra(this.createSearchArgs()),Ov("search-filter-apply",n);break;case"expand":this._expandedFacets=Tke(this.facetGroups),ra(this.createSearchArgs()),this.notifyPropertyChanged();break;case"filter":this._filters=Pke(this.facetGroups),ra(this.createSearchArgs(),"replaceState"),this.facetGroups[n].allFacetsFilteredOut&&pt(fo,"assertive",2e3),this.notifyPropertyChanged();break;case"facet_clear":this.clearFacet(n),this.notifyPropertyChanged();break;default:break}}clearFacets(o=!1){this.hideCompletedEnabled&&(this._hideCompleted=!1);for(let n in this._selectedFacets)n==="category"&&o||(this._selectedFacets[n]={});this._facetsKnown=!1,this._skip=0,this.fetch(),ra(this.createSearchArgs())}clearFacet(o){this._selectedFacets[o]={},this.fetch().then(()=>{o1(o)}),ra(this.createSearchArgs())}selectMobileView(o,n){this._mobileMenuView=o,this.notifyPropertyChanged();let i=document.querySelector(".modal-content");if(n)this._selectedCategoryId=n;else if(this.selectedCategoryId){let r=i.querySelector(`#${this.selectedCategoryId}`);if(r){r.focus();return}}U_(i)}clearScope(){this._scope=null,this.fetch(),ra(this.createSearchArgs()),this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new ot)}resetAbortController(o){return o in this._abortController&&this._abortController[o].abort(),this._abortController[o]=new AbortController,this._abortController[o].signal}toggleHideCompleted(){this.hideCompletedEnabled&&(this._hideCompleted=!this._hideCompleted,this._skip=0,this.fetch(),ra(this.createSearchArgs()))}getSelectedCategoryName(){if(!this._facetsKnown){if(this._selectedFacets?.category)for(let n in this._selectedFacets.category)return n;return""}return this.categoriesEnabled&&this.facetGroups.category.facets.find(n=>n.isSelected)?.name||""}async handleResultsSortOptionChange(o,n){if(this._currentResultsSortOptionsIndex===n){let i=o.target instanceof Element&&o.target.closest("details.popover")||o.target instanceof Element&&o.target.shadowRoot?.activeElement?.closest("details.popover");i?.hasAttribute("open")&&i.removeAttribute("open");return}this._currentResultsSortOptionsIndex=n,this.fetch()}queryCopilotQaCache(o){let n=this._copilotQaCache.find(i=>i.query===o);return n?n.response:null}addCopilotQaToCache(o,n){for(this._copilotQaCache=this._copilotQaCache.filter(i=>i.query!==o),this._copilotQaCache.push({query:o,response:n});this._copilotQaCache.length>this._maxCopilotQaCache;)this._copilotQaCache.shift()}queryDeepSearchCache(o){let n=this._deepSearchCache.find(i=>i.query===o);return n?n.response:null}addDeepSearchToCache(o,n){for(this._deepSearchCache=this._deepSearchCache.filter(i=>i.query!==o),this._deepSearchCache.push({query:o,response:n});this._deepSearchCache.length>this._maxDeepSearchCache;)this._deepSearchCache.shift()}async handlePageState(o){this._pageStateHandler&&await this._pageStateHandler(this,o)}startScenario(o){this._scenarioInstance&&this._scenarioInstance.cancel(),this._scenarioInstance=new Si(o),this._scenarioInstance.start()}setBlankData(){this._results=[],this._facetGroups={},this._resultCount=0,this.initialize()}initialize(){}_remapTaxonomyFacetNames(o,n){for(let i in o)if(i in n){let r=n[i],s=o[i];n[s]=r,delete n[i]}}async contentAreaNumberFetch(){return this.getSelectedCategoryName()?this.useCacheOrFetch(this.createSearchArgs(!1)):Promise.resolve(void 0)}async useCacheOrFetch(o){if(o?.selectedFacets?.date&&Object.keys(o.selectedFacets.date).length>0)return this._fetch(o);let n=JSON.stringify(o,this.argsStringifyFunc),i=this._cachedResponse.find(r=>r.args===n);return i?(await new Promise(r=>setTimeout(r,300)),i.response):this._fetch(o)}maintainCachedResults(o,n){let i=JSON.stringify(o,this.argsStringifyFunc);for(this._cachedResponse=this._cachedResponse.filter(r=>r.args!==i),this._cachedResponse.push({args:i,response:n});this._cachedResponse.length>this._maxCachedResponse;)this._cachedResponse.shift()}combineResponse(o,n,i){if(this.syntheticFacets&&this.dataSource!=="previousVersions"&&(o.facets={...o.facets,...this.syntheticFacets,author:i?[{type:"text",displayName:i.displayName||Gi,value:i.userId,avatarUrl:i.avatarUrl||fn(i.displayName,i.userId)}]:[]}),n&&o.facets?.category){if(this.getSelectedCategoryName()==="QnA"&&o.facets?.category.length===0){let r=n.facets?.category?.find(s=>s.value==="QnA");r&&(r.count=0)}for(let r of n.facets?.category??[]){let s=o.facets?.category.find(a=>a.value===r.value);s&&(r.count=s.count)}o.facets={...o.facets,category:n.facets.category},o.spellingCorrection?.length>0&&n.spellingCorrection?.length===0&&(o.count=0,o.results=[])}return o}updateAnswers(o){this.copilotQA=o??void 0}updateSrcheng(o){this._srcheng=o.srcheng?o.srcheng:""}updateResults(o){this._results=o.results,this._resultCount=o.count{this._skip=o.skip,this._scenarioHealth&&this.startScenario(this._scenarioHealth.pagination),this.fetch(),ra(this.createSearchArgs()),Mbe()})}updateRssUrl(){this._rssEnabled&&(this._rssUrl=this._rss(this.createSearchArgs()))}updateScopeRemoval(o){this._scopeRemoved=o.scopeRemoved||!1}updateSpellingCorrection(o){this._spellingCorrection=o.spellingCorrection||[]}updateSynonymCheckForSearchTerm(o){this._termHasSynonyms=o.termHasSynonyms||!1}createSearchArgs(o=!0){return Zs({terms:this.terms,scope:this.scope,selectedFacets:o?this._selectedFacets:this.selectedFacetsMinusCategory,expandedFacets:this._expandedFacets,skip:o&&this._skip>0?this._skip:null,top:this._top,hideCompleted:this.hideCompletedEnabled?this.hideCompleted:null,scoringProfile:this.scoringProfileEnabled?this.scoringProfile:null,dataSource:this.dataSource?this.dataSource:null,filters:this._filters,orderBy:this.hasSortableResults?this._resultsSortOptions[this._currentResultsSortOptionsIndex].orderBy:""})}setBusy(){this._busy=!0,this.notifyPropertyChanged(),this.handlePageState("VmBusy")}setReady(){this._busy=!1,this.notifyPropertyChanged(),this.handlePageState("VmReady")}readState(){let o=ui(),n=o.terms||o.search||o.term;n&&(n.trim(),n.length>100&&(n=n.slice(0,100))),this.input.value=n||"",this._scope=o.scope||null,this._selectedFacets=Eke(o),this._expandedFacets=Ake(o),this._dataSource=o.dataSource,this.hideCompletedEnabled&&o.hideCompleted&&(this._hideCompleted=!0);try{this._skip=o.skip?parseInt(o.skip):0}catch{this._skip=0}}handlePopState(){!te.search&&Nt==="Search"||(this._facetsKnown=!1,this.readState(),this.fetch())}subscribeFacetChanges(){for(let o in this._facetGroups)this._facetGroups[o].subscribe(Au,i=>this.handleFacetChange(i.type,o))}async fetchGuestSearchAnswerResult(o){if(!C.enableModernSearchAnswer||w.isAuthenticated||this.scope||!this.isFirstPage||this.hasActiveFilter)return null;try{if(!w.isAuthenticated&&this.scope===null){let n=o.terms.trim(),i=this.queryCopilotQaCache(n);if(i)return this.copilotQA=i,i;let r=await e1(z.searchAnswer.guest,o.terms,null,3*1e3),s={question:r.question??"",answer:r.answer??"",responseType:r.responseType};return this.addCopilotQaToCache(n,s),s}else return null}catch(n){if(n instanceof jt)return null;throw n}}};k();We();k();k();var q8="facet-group";function O8(e,t){return`${q8}-body--${e}${t?"--mobile":""}`}function by(e,t){return`${q8}-expander--${e}${t?"--mobile":""}`}function U8(e,t){return`${q8}-container--${e}${t?"--mobile":""}`}var s1="deep-search-container",Sf="desktop-filter-button",_y="desktop-filter-button-close",vy="search-filter-sidebar",H8="search-answer",a1="search-answer-header",FC="toggle-search-answer-button",qC="search-answer-body",B8="search-answer-rating",V8="more-content-areas-popover";function wf(e,t,o){return e?C.enableNewSiteSearch?d`${nYe(`${e.key}${t}`,e)}`:d`
        {let i=n.target,r;if(i.value==="All")r="All";else if(e.facets.find(s=>s.name===i.value&&s.count>0))r=i.value;else{r=e.facets.find(a=>a.isSelected)?.value||"All";let s=Array.from(document.querySelectorAll('input[type="radio"]')).find(a=>a.value===r);s&&(s.checked=!0);return}Array.from(document.querySelectorAll('input[type="checkbox"]')).forEach(s=>s.checked=!1),e.selectByValue(r)}} >
        ${oYe(`${e.key}${t}`,e.facets)}
        `:d``}var G8=(e,t,o,n,i=!1)=>{let r=i?"badge-primary":"";return d``};function tYe(e,t){let o=t.reduce((n,i)=>(i.isSelected&&(n.selection=!0),n.count+=i.count,n),{count:0,selection:!1});return G8(e,"All",aa,o.count,!o.selection)}function oYe(e,t){return Object.keys(hf).map(i=>{let r=t.find(s=>s.value.toLowerCase()===i);return i==="all"?tYe(e,t):r?G8(e,r.value,hf[i],r.count,r.isSelected):G8(e,i,hf[i],0,!1)})}function nYe(e,t){let o=["ai","documentation","training","credential","qna","reference","show"],n=!1,i=0,r=o.map(a=>{let l=t.facets.find(c=>c.value.toLowerCase()===a);return n=n||!!l?.isSelected,i+=l?.count??0,Rke(e,l?.value??a,a,!!l?.isSelected,t,l?.count===0)}),s=d`${Rke(e,"all","all",!n,t,i===0)}`;return d`
        ${s}${r}
        ${iYe()}`}function Rke(e,t,o,n,i,r){if(o==="ai"&&(C.enableDeepSearch===!1||!w.isAuthenticated))return d``;let s=o==="ai"?!1:r&&!n&&t!=="all",a=hf[o],l=o==="ai"&&n;return d``}function iYe(){return d`
        `}function Q8(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"}`}k();function l1(e){return!e.hasActiveFilter&&!e.hideCompleted?"":d``}function j8(e){let t=C.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return e.facets?.length>0?d``:""}k();function Mke(e,t){return!t&&!e.hasChildren?null:!e.hasChildren||e.hasSelectedChild||e.group.filterActive?d`
        `:d``}k();function c1(e){return!e.hasFilterInput||!e.filterActive||e.hasVisibleChild?d``:d`

        ${fo}.

        `}function Y8(){return d`

        ${a0}

        `}function u1(e){let t=document.getElementById(vy);if(t){t.classList.toggle("is-hidden");let o=t.classList.contains("is-hidden");o&&Ov("search-filter-collapse");let n=document.getElementById(Sf);n&&(n.classList.toggle("background-color-body-medium"),n.setAttribute("aria-expanded",`${!o}`),e===_y&&o&&n.focus())}}k();function $ke(e){return e.hideCompletedEnabled?d`

        ${zke(e)}
        `:""}function Dke(e){return e.hideCompletedEnabled?d`
      • ${zke(e,!0)}
      • `:""}function zke(e,t=!1){return d``}k();function OC(e,t){let o=Ti({input:{id:`facet-input-filter-${e.key}`,placeholder:mZ,isFullWidth:!0,type:"search",name:`facet-${e.name}`,biName:`facet-${e.name}${t?`-${t}`:""}`},getSuggestions:YTe,getTitle:n=>n.displayName||Gi,itemTemplate:n=>d`
        ${n.displayName||Gi}
        ${rYe(n.reputationPoints)}${QM(n.affiliations)}
        `,initialValue:e.facets.length>0?{displayName:e.facets[0].name,userId:e.facets[0].value}:null,noResultsTemplate:JX});return o.addEventListener(ls,n=>{let i=n.detail.suggestion,r=new Tf("author",1,i.displayName||Gi,i.userId,!0,!1,1,1,null,null,i.avatarUrl);e.setFacets([r]),e.selectByValue(i.userId)}),o.addEventListener(Dw,a$),o.addEventListener("keyup",n=>{n.key==="Enter"&&o.querySelector("input").value.trim()===""&&e.facets.length>0&&e.clearFacet()}),o.addEventListener("focusout",()=>{o.querySelector("input").value=e.facets?.length>0?e.facets[0].name:""}),o}function W8(e=!1){return C.enableNewSiteSearch?d`
        ${N(kN)}
        `:d`
        ${N(kN)}
        `}function rYe(e){return e>0?d`${e}`:null}var sYe={title:!0,"is-3":!0,"margin-bottom-xxs":!0},d1={title:!0,"is-5":!0,"margin-bottom-xs":!0};function aYe(e){return e.hasActiveFilter||e.hasActiveFacets?"":d`

        ${a0}

        `}function K8(e){return C.enableNewSiteSearch?dc(e).length===0?d``:d``:e.facetsEnabled?d`

        ${Mr}

        ${l1(e)} ${$ke(e)}
        ${Nt==="Search"?"":aYe(e)} ${p1(e)}
        `:""}function lYe(e){let t=Object.keys(e.facetGroups);return t=e.facetSort?t.sort(e.facetSort):t,t}function dc(e){if(Nt==="Search"){let t=e.getSelectedCategoryName().toLowerCase();if(C.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 lYe(e)}function Fke(e){let t=dc(e),o=t.length===1;return C.enableNewSiteSearch?d`
        ${t.length===0?d`
        ${Y8()}
        `:d`${ho(t,n=>n,(n,i)=>m1(e.facetGroups[n],!0,!o,i===t.length-1))}`}
        `:d`${ho(t,n=>n,n=>m1(e.facetGroups[n],!0,!o))} `}function p1(e){let t=dc(e),o=t.length===1;return C.enableNewSiteSearch?d`
        ${t.length===0?Y8():d`${ho(t,n=>n,(n,i)=>m1(e.facetGroups[n],!1,!o,i===t.length-1))}`}
        `:d`${ho(t,n=>n,n=>m1(e.facetGroups[n],!1,!o))} `}function m1(e,t,o,n=!0){if(!e||Nt!=="Search"&&e.isEmpty)return d``;let i=`ms--facet-heading-${e.key}${t?"-mobile":""}`,r=o?`is-vertically-scrollable ${C.enableNewSiteSearch?"":"has-max-height-260"}`:"",s=!t||!o;return C.enableNewSiteSearch?d`
        ${cYe(e,t,s,i,n)} ${uYe(e,t,r,s,i)}
        `:e.key==="category"?d`

        ${e.name}

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

        ${Wy}

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

        ${Hp}

        ${W8()}
        ${j8(e)}
        ${OC(e,t)}
        `:d`

        ${e.name}

        ${e.facets.length>0?qke(e,r,i):Oke(e.key)}
        `}function cYe(e,t,o,n,i=!1){let r=e.key,s=e.name;return r==="category"?d``:r==="author"?d`

        ${Hp}

        ${W8(t)}
        ${j8(e)}
        `:d`

        ${s}

        `}function uYe(e,t,o,n,i){let r=e.key,s=`display-flex flex-direction-column ${t?"":"padding-inline-xxs"} ${r==="author"?"":"has-overflow-hidden"} ${n?"":"is-hidden"}`,a=d``;return r==="date"?a=wC(e,t?"mobile":"",i):r==="author"?a=d`
        ${OC(e,t)}
        `:a=e.facets.length>0?qke(e,o,i):Oke(e.key),d`
        ${a}
        `}function J8(e){if(!e.hasFilterInput&&!e.filter)return"";let t=dZ.replace("{facet}",FEe[e.key].toLowerCase()),o=tt();return d`
        e.handleFilterInput(n))} placeholder=${t} .value=${e.filter} aria-describedby=${o} />
        `}function qke(e,t,o){let n=document.documentElement.classList.contains("layout-sidecar-left"),i=C.enableNewSiteSearch&&!C.enableSearchFilterLeftRail&&!n;return d`${J8(e)}
        ${c1(e)}
          ${g1(e.facets,e.key)}
        `}function g1(e,t,o=!1,n=!1){let i=n||!!e.find(r=>r.hasChildren);return ho(e,r=>r.value,r=>dYe(r,t,e.length,i,o))}function Oke(e){let t=C.enableNewSiteSearch?"font-size-sm":"",o;switch(e){case"products":o=UX;break;case"tags":o=HX;break;default:o=fo}return d`

        ${o}

        `}function dYe(e,t,o,n,i){let r=Mke(e,n),s=C.enableNewSiteSearch?"font-size-sm":"";return d`
      • ${r}
        ${e.hasChildren?d`
          ${g1(e.children,t,!1,n)}
        `:null}
      • `}function pYe(){return"column is-hidden-mobile is-two-fifths-tablet is-one-quarter-desktop"}function Nke(e,t,o=!1){let n=document.getElementById(O8(e,t));if(n&&(n.classList.toggle("is-hidden"),o)){let r=document.getElementById(U8(e,t));r&&r.classList.toggle("border-bottom")}let i=document.getElementById(by(e,t));if(i){let r=i.getAttribute("aria-expanded")==="false";i.setAttribute("aria-expanded",r.toString())}}function Uke(e){return dc(e).length===0?d``:d``}k();function yy(e){return d`
        e.submit(t)} >
        ${e.input}
        `}k();function h1(e){return C.enableNewSiteSearch?dc(e).length===0?d``:d``:d``}function Hke(e){return e.mobileMenuView in e.facetGroups?e.facetGroups[e.mobileMenuView]?.name:C.enableNewSiteSearch?Mr:WN}function f1(e){return e.mobileMenuView in e.facetGroups?`ms--${e.facetGroups[e.mobileMenuView]?.key||e.mobileMenuView}-mobile`:"ms--search-filters"}var xy,Z8;async function Bke(){xy||(xy=document.createElement("div")),Z8||(Z8=new we(xy)),await Z8.show()}function Qke(e){return C.enableNewSiteSearch?d``:d``}function Vke(e){return C.enableNewSiteSearch?d``:d`

        ${Hke(e)}

        ${mYe(e)} `}function mYe(e){return e.mobileMenuView==="top"?"":d`
        `}function gYe(e){switch(e.mobileMenuView){case"top":return fYe(e);default:return bYe(e.facetGroups[e.mobileMenuView])}}function fYe(e){return d`
          ${Dke(e)} ${hYe(e)}
        `}function hYe(e){let t=dc(e);return ho(t,o=>o,o=>{let n=e.facetGroups[o].facets.length>0||e.facetGroups?.category?.facets.find(i=>i.isSelected)?.name==="QnA"&&o==="author";if(C.enableNewSiteSearch&&o==="category")return"";if(n){let i=`ms--cat-btn-${o}`;return d`
      • `}return""})}function bYe(e){return e.key==="author"?d`
        ${OC(e,!0)}
        `:e.key==="date"?d`
          ${wC(e,"")}
        `:d`
        ${J8(e)} ${c1(e)}
          ${e.key==="category"?wf(e,"mobile"):g1(e.facets,e.key,!0)}
        `}function Gke(e){return C.enableNewSiteSearch?d``:d`
        `}function jke(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 mf(t)}k();var _Ye=()=>{let e=[];for(let t=0;t<30;t++)e.push(d``);return e},vYe=()=>{let e=[];for(let t=0;t<10;t++)e.push(d``);return e};function Yke(e,t){return C.enableNewSiteSearch?d`
          ${t}
        `:d`
          ${t}
        `}function b1(e,t,o,n){if(e.getSelectedCategoryName()==="Ai")return d`
        `;if((!e.results||e.results.length===0||e.resultsCount===0)&&!e.busy)return n(e);if(t==="grid"||t==="grid-large"){let i=e.busy?_Ye():e.results.map((r,s)=>d`
      • ${o(r,s)}
      • `);return Yke(t,i)}else if(t==="list"){let i=e.busy?vYe():e.results.map((r,s)=>d`
      • ${o(r,s)}
      • `);return Yke(t,i)}else throw new Error("Invalid layout property specified in View Model config.")}k();function Wke(e){return!e.rssEnabled||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai"?"":d``}k();function tG(e){let t=e.getSelectedCategoryName().toLowerCase(),o=w.isAuthenticated,n=!w.isAuthenticated&&!e.busy&&e.resultsCount>0&&!!e.copilotQA?.answer;return C.enableModernSearchAnswer&&e.isFirstPage&&(t==="all"||t==="")&&Object.keys(e.selectedFacetsMinusCategory).length===0&&!e.scope&&e.firstFetchCompleted&&(n||o)}function oG(e,t){return d`
        ${sa(e,t)}
        `}function sa(e,t){if(t==="NotShown")return d``;let o=d``;return t==="Generating"?o=d`

        ${B0}

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

        ${Nre}

        `:t==="ShowResult"&&(e.copilotQA?.answer?o=d` ${N(SYe(e.copilotQA.answer))} ${xYe(e)} `:o=d`

        ${V0}

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

        ${ph}

        `}function xYe(e){return d`
        ${Hu} ${N(mh)}
        `}function Kke(e,t,o,n){let i=document.getElementById(B8);i&&(i.innerHTML=` ${gh}`);try{let r=w.isAuthenticated?w.authenticationMode:"Anonymous";ZTe(e,t??"",o??"",n,r)}catch{}}function TYe(e){let t=document.getElementById(qC),o=document.getElementById(FC);t&&o&&(e.showSearchAnswer=!e.showSearchAnswer,t.hidden=!t.hidden,o.textContent=t.hidden?l2:hx)}function SYe(e){let t=document.createElement("div");t.innerHTML=e;let o=t.getElementsByTagName("a");Array.from(o).forEach((i,r)=>{i.setAttribute("data-bi-name",`search-answer-ref-${r}`)});let n=t.getElementsByTagName("pre");return Array.from(n).forEach(i=>{i.classList.add("white-space-pre-wrap")}),t.innerHTML}async function Jke(e,t){if(C.enableModernSearchAnswer===!1)return;let o=e.resetAbortController("SearchAnswer"),n=e.getSelectedCategoryName(),i=document.getElementById(H8);if(i){if(n!=="All"&&n){x(sa(e,"NotShown"),i);return}await Te,w.isAuthenticated?await wYe(e,t,o,i):await CYe(e,t,o,i)}}async function wYe(e,t,o,n){if(x(sa(e,"Generating"),n),t==="VmBusy"){e.copilotQA=void 0;return}try{if(e.resultsCount===0){e.copilotQA=void 0,x(sa(e,"ShowResult"),n);return}let i=e.queryCopilotQaCache(e.terms);if(i){let u=new Date().toISOString();e.copilotQA={answer:i.answer,question:i.question,responseType:i.responseType};let p=400+Math.random()*1e3;if(await new Promise(g=>setTimeout(g,p)),o.aborted)return;let m=new Date().toISOString();x(sa(e,"ShowResult"),n),l$(e.terms,e.copilotQA.question,e.copilotQA.answer,w.authenticationMode,u,m,e.copilotQA.responseType,!0);return}let r=e.terms.trim(),s=new Date().toISOString(),a=await e1(z.searchAnswer.user,r,o),l=new Date().toISOString(),c={answer:a?.answer??"",question:a?.question??"",responseType:a?.responseType};if(e.addCopilotQaToCache(r,c),o.aborted)return;e.copilotQA=c,x(sa(e,"ShowResult"),n),l$(e.terms,c.question,c.answer,w.authenticationMode,s,l,a.responseType,!0)}catch{x(sa(e,"Error"),n)}}async function CYe(e,t,o,n){if(t==="VmBusy"){e.copilotQA=void 0,o.aborted===!1&&x(sa(e,"NotShown"),n);return}try{if(e.resultsCount>0&&e.copilotQA?.answer&&e.copilotQA.answer.length>0){x(sa(e,"Generating"),n);let i=new Date().toISOString(),r=600+Math.random()*1e3;if(await new Promise(a=>setTimeout(a,r)),o.aborted)return;let s=new Date().toISOString();x(sa(e,"ShowResult"),n),l$(e.terms,e.copilotQA?.question||"",e.copilotQA?.answer||"","Anonymous",i,s,e.copilotQA?.responseType,!0)}else x(sa(e,"NotShown"),n)}catch{x(sa(e,"NotShown"),n)}}k();function _1(e,t="h2"){let n=(e.facetGroups?.category&&e.facetGroups.category.facets.find(r=>r.isSelected))?.value||"";if(n==="Ai")return d``;let i=e.busy?"":t1(e.resultsCount,e.terms,n,e.scope,e.scopeRemoved,e.spellingCorrection,e.isFuzzySearch,e.termHasSynonyms);if(C.enableNewSiteSearch)return e.busy?d``:e.resultsCount===0?d``:d`

        ${i}

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

        ${i}

        `;default:return d`

        ${i}

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

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

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

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

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

        `:""}function Zke(e){return e.busy?"":e.hasSortableResults?d`
        ${sse}${e.resultsSortOptions[e.currentResultsSortOptionsIndex].label}
        `:""}k();function y1(e){let t=Object.keys(e.facetGroups).filter(o=>o!=="category");if(C.enableNewSiteSearch){let o=e.selectedFacetsMinusCategory;return Object.keys(o).length===0?d``:d`
        ${ho(t,n=>n,n=>nG(e.facetGroups[n]?.facets||[]))}
        `}return d`${ho(t,o=>o,o=>nG(e.facetGroups[o]?.facets||[]))}`}function nG(e){return d`${e.map(t=>!t.isSelected&&!t.hasSelectedChild?d``:t.hasSelectedChild?d`${nG(t.children)}`:EYe(t))}`}function EYe(e){return d``}function AYe(e){return e.label==="author"?d``:null}function Xke(e,t,o,n,i,r){if(e.blankSlateEnabled&&e.showBlankSlate)return e.disallowBlankSlate=!0,r(e);if(C.enableNewSiteSearch){let s="is-full is-three-fifths-desktop padding-inline-none";return d`
        ${yy(e)}
        ${wf(e.facetGroups?.category,"-new-search")}
        ${h1(e)}
        ${_1(e,i)} ${Uke(e)}
        ${v1(e)}
        ${y1(e)} ${tG(e)?d`${oG(e,"ShowResult")}`:d``} ${b1(e,t,o,n)} ${iG(e)}
        `}return d`
        ${K8(e)}
        ${yy(e)} ${e.hasActiveFacets?d`
        ${IYe(e)}
        ${y1(e)}
        `:""}
        ${_1(e,i)} ${v1(e)} ${Zke(e)}
        ${t==="list"&&e.resultsCount!==0?d`
        `:""} ${b1(e,t,o,n)} ${iG(e)}
        `}function eIe(e){return dc(e).length===0?d``:d``}function tIe(e,t,o,n,i){return d` ${yy(e)}
        ${wf(e.facetGroups?.category,"-new-search")}
        ${h1(e)}
        ${_1(e,i)}
        ${v1(e)}
        ${y1(e)} ${tG(e)?d`${oG(e,"ShowResult")}`:d``} ${b1(e,t,o,n)} ${iG(e)}
        `}function kYe(e){let t=e.currentTarget,o=t.getAttribute("aria-expanded")!=="true",n=o?Ru:Gf,i=t.querySelector(".docon"),r=S.querySelector(".layout");t.setAttribute("aria-expanded",String(o)),t.setAttribute("aria-label",n),t.title=n,t.setAttribute("data-bi-name",o?"filter-collapse":"filter-expand"),r?.classList.toggle("layout-menu-collapsed",!o),i?.classList.toggle("docon-panel-left-contract",o),i?.classList.toggle("docon-panel-left-expand",!o),o||Ov("search-filter-left-rail")}function iG(e){let t=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"";return d`
        ${jke(e)}
        ${Wke(e)}
        `}function IYe(e){return d`
        ${h1(e)}
        ${l1(e)}
        `}k();function rG(e){return d`

        ${fo}

        ${fh}

        `}async function hs(e,t,o){if(!t)throw new Error("Invalid container provided to Facet Search.");let{fetch:n,autocomplete:i,layout:r,hideCompleted:s,resultTemplate:a,noResultsTemplate:l,scoringProfile:c,rss:u,headingLevel:p,queryStringTransformer:m,taxonomyFacetLookups:g,facetSort:f,scenarioHealth:_,blankTemplate:h,fetchRequiresTerms:y,syntheticFacets:v,resultSortOptions:T,pageStateHandler:I,filterLayout:A="default"}=e,O;switch(r){case"grid":O=30;break;case"grid-large":O=6;break;case"list":default:O=10}let D=new r1(n,O,{autocomplete:i,hideCompleted:s,scoringProfile:c,rss:u,queryStringTransformer:m,taxonomyFacetLookups:g,facetSort:f,scenarioHealth:_,blankSlateEnabled:!!h,fetchRequiresTerms:y,syntheticFacets:v,resultSortOptions:T,pageStateHandler:I}),le=A==="left-rail"&&!!o;function ye(){if(le&&o){if(h&&D.blankSlateEnabled&&D.showBlankSlate){D.disallowBlankSlate=!0,x(d``,o),x(h(D),t);return}x(eIe(D),o),x(tIe(D,r,a,l||rG,p),t);let J=!!o.querySelector("#left-container"),Le=S.documentElement;Le.classList.toggle("layout-sidecar-left",J),Le.classList.toggle("layout-single",!J),o.closest("#layout-body-menu")?.classList.toggle("display-none",!J);return}x(Xke(D,r,a,l||rG,p,h),t)}ye(),await qi(t),D.handlePageState("VmReady"),D.subscribe(ot,async()=>{ye(),await qi(t),xy&&x(Qke(D),xy)})}k();function nIe(){return{facetSort:(e,t)=>xo(e)-xo(t),layout:"grid-large",fetch:$Ye,resultTemplate:zYe}}var LYe={orderBy:"last_modified desc"},RYe=cE,MYe={"solution-idea":w7};async function $Ye(e){let[t]=await Promise.all([oIe(e,!1),Te]);t.count===0&&([t]=await Promise.all([oIe(e,!0),Te]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=it(o.url,dt.userLocale));return t}function DYe(e){return{branch:bt(),locale:b.data.userLocale,terms:e.terms,facet:["products","azure_categories"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:LYe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function oIe(e,t){let o={...DYe(e),fuzzySearch:t},n=`${z.browse.architecture}?${pe(o,!0)}`;return $(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function zYe(e){let t=tt();return d`

        ${MYe[e.content_type]||RYe}

        ${e.title}

        ${e.summary}

          ${cy(na(e))}
        `}k();function iIe(){return{facetSort:(e,t)=>xo(e)-xo(t),layout:"grid",fetch:FYe,resultTemplate:NYe,resultSortOptions:[{label:$f,orderBy:"title"},{label:Df,orderBy:"title desc"},{label:Xf,orderBy:"last_modified desc"},{label:eh,orderBy:"last_modified"}]}}function NYe(e){let t=(e.exams||[]).filter(l=>!!l.display_name).map((l,c)=>c===0?d` ${l.display_name}`:d`, ${l.display_name}`),o=t.length>0?d``:"",n={"applied skills":cf,examination:Hi.resource_type.examination,certification:Hi.resource_type.certification,course:Hi.resource_type.course}[e.credential_types[0]],i={"applied skills":e.title,examination:`${Yi} ${e.exam_display_name}: ${e.title}`,certification:e.title,course:e.title}[e.credential_types[0]],s=`credential-${e.uid?qo(e.uid):tt()}-title`,a=e.credential_types[0]==="applied skills"?"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main":e.icon_url;return d`

        ${n}

        ${i}
        ${o}
        `}async function FYe(e){let[t]=await Promise.all([x1(e,!1),Te]);t.count===0&&([t]=await Promise.all([x1(e,!0),Te]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.icon_url&&(o.icon_url=it(o.icon_url,"en-us")),o.url&&(o.url=it(o.url,dt.userLocale));return t}function qYe(e){return{branch:bt(),locale:b.data.userLocale,terms:e.terms,facet:["roles","products","levels","subjects","credential_types"],$filter:Gn(e.selectedFacets),$orderBy:e.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function x1(e,t){let o={...qYe(e),fuzzySearch:t},n=`${z.browse.credential}?${pe(o,!0)}`;return $(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}k();function rIe(e){let t=ui(e);if(!t.osRelease&&!t.ReferenceIds)return{};let o={terms:null,products:null};return t.ReferenceIds&&(o.terms=`ref:${t.ReferenceIds.replace(/,/g," ref:")}`,t.terms&&(o.terms+=` ${t.terms}`)),t.osRelease&&(o.products=`windows-${t.osRelease.replace(/,/g,",windows-")}`),{terms:o.terms,products:o.products,osRelease:null,ReferenceIds:null}}function sIe(e){switch(e){case"Reported":return KZ;case"Under Investigation":case"Investigating":return YZ;case"Confirmed":return jZ;case"Mitigated":return WZ;case"Resolved":return JZ;default:throw new Error(`Unexpected status - ${e}`)}}var OYe={orderBy:"last_updated_date desc"};function lIe(){return{facetSort:(e,t)=>xo(e)-xo(t),layout:"grid",fetch:UYe,resultTemplate:GYe,noResultsTemplate:BYe,queryStringTransformer:rIe}}async function UYe(e){let[t]=await Promise.all([aIe(e,!1),Te]);t.count===0&&([t]=await Promise.all([aIe(e,!0),Te]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=it(o.url,dt.userLocale));return t}function HYe(e){return{branch:bt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Gn(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 aIe(e,t){let o={...HYe(e),fuzzySearch:t},n=`${z.browse.windowsSafeguards}?${pe(o,!0)}`;return $(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function BYe(e){return e.terms&&e.terms.includes("ref:")?VYe():d`

        ${fo}

        ${fh}

        `}function VYe(){return d`

        ${tse}

        ${ese}

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

        ${iA}

        ${e.title}
        ${e.status==="Resolved"?d``:""}${t}
        `}function QYe(e){if(!e.versions)return"";let t=e.versions.length===1?d`${e.versions[0]}`:e.versions.map(o=>d`${o}`);return d`
      • ${t}
      • `}k();function uIe(){return{facetSort:(e,t)=>xo(e)-xo(t),layout:"list",fetch:YYe,resultTemplate:KYe}}var jYe={orderBy:"start desc"};async function YYe(e){let[t]=await Promise.all([cIe(e,!1),Te]);t.count===0&&([t]=await Promise.all([cIe(e,!0),Te]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=it(o.url,dt.userLocale));return t}function WYe(e){return{branch:bt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:jYe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function cIe(e,t){let o={...WYe(e),fuzzySearch:t},n=`${z.browse.lifecycle}?${pe(o,!0)}`;return $(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}function KYe(e){let t=e.start,o=e.end&&e.end!=="0001-01-01T00:00:00"?e.end:"",n=tt();return d`
        ${e.title}
        `}k();function pIe(){return{facetSort:(e,t)=>xo(e)-xo(t),layout:"grid",fetch:eWe,resultTemplate:ZYe}}var JYe={orderBy:"last_modified desc"};function ZYe(e){let t=or(new Date(e.last_modified),{year:"numeric",month:"2-digit",day:"2-digit"}),n=`sample-${e.uid?qo(e.uid):tt()}-title`;return d`
        ${e.title.replace(//g,">")}

        ${e.summary}

          ${cy(XYe(e))}
        `}function XYe(e){let t=[],o=e.display_products?.[0];o&&t.push(o);let n=e.display_languages?.[0];return n&&t.push(n),t}async function eWe(e){let[t]=await Promise.all([dIe(e,!1),Te]);t.count===0&&([t]=await Promise.all([dIe(e,!0),Te]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=it(o.url,dt.userLocale));return t}function tWe(e){return{branch:bt(),environment:null,locale:b.data.userLocale,terms:e.terms,facet:["languages","products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:JYe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function dIe(e,t){let o={...tWe(e),fuzzySearch:t},n=`${z.browse.sample}?${pe(o,!0)}`;return $(K(n,{method:"GET"})).then(r=>{if(r.ok)return r.json();throw{error:r.json()}})}async function mIe(){let e=oWe();if(C.contentBrowse){await xe;let t=document.getElementById("content-browser-container");switch(e){case"sample":hs(pIe(),t);break;case"learn":ly(),fC(),hs(JAe(),t);break;case"certification":hs(e0e(),t);break;case"credential":hs(iIe(),t);break;case"lifecycle":hs(uIe(),t);break;case"architecture":hs(nIe(),t);break;case"knownIssue":hs(lIe(),t);break;case"show":{hs(n0e(),t);break}}}}function oWe(){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`)}k();async function gIe(){await xe;let e=document.getElementById("directory-search-form-replacement");c$(e,"directory-page-search-form","facet-search-input",ure,"directory")}function nWe(e){return 400<=e&&e<500}async function fIe(e,t=!1){let o=t?"?isAMS=true":"?isAMS=false",n=`${z.learn.episode}/${e}${o}`,r=K(n,{method:"GET"}),s=await $(r);if(he(s),s.ok)return await s.json();if(nWe(s.status))return null;throw new Error(`Unexpected response status ${s.status}`)}function Bi(e){return e?.textTracks?.length?[...e.textTracks].find(n=>n.mode==="showing")?.label||mE:mE}function hIe(e,t){let o=!1,n=e.video.volume===0||e.video.muted,i=e.video.currentTime,r=e.video.duration?i/e.video.duration:0,s,a,l,c,u,p=0,m=0,g,f=0,_,h=Bi(e.video),y=0,v=0,T=0;function I(X){Fxe({behaviorCode:X,videoData:t,videoTimeSeconds:i,eventTime:c,startTime:s,freezeTime:f,reStartTime:a,secondsDiffSpeed:p,secondsNormalSpeed:m,languageCaptions:h,secondsDiffSpeedAfterReplay:v,secondsNormalSpeedAfterReplay:y,freezeTimeAfterReplay:T})}function A(){p=qxe(u,g,p,_,c),m=i5(u,g,m,_,c),v=Oxe(u,g,v,_,c,a),y=Uxe(u,g,y,_,c,a)}function O(){let X=Date.now();c=X,s=X,i=e.video.currentTime,h=Bi(e.video),I(me.VIDEOSTART)}function D(){let X=Date.now();c=X,l=X,i=e.video.currentTime,h=Bi(e.video),A(),I(me.VIDEOPAUSE),_=X}function le(){let X=Date.now();c=X,i=e.video.currentTime,h=Bi(e.video);let q=!!l,re=l>a,fe=an(X-l);q&&(f+=fe),re&&(T+=fe),I(me.VIDEOCONTINUE)}function ye(){let X=Date.now();c=X,l=X,i=e.video.currentTime,h=Bi(e.video),m=i5(u,g,m,_,c),a=X,T=0,v=0,y=0,I(me.VIDEOREPLAY)}function J(){c=Date.now(),i=e.video.currentTime,h=Bi(e.video),A(),I(me.VIDEOCOMPLETE)}function Le(){c=Date.now(),i=e.video.currentTime,h=Bi(e.video),A(),I(me.VIDEOMUTE)}function Ve(){c=Date.now(),i=e.video.currentTime,h=Bi(e.video),A(),I(me.VIDEOUNMUTE)}function Ct(){c=Date.now(),i=e.video.currentTime,h=Bi(e.video),A(),I(me.VIDEOERROR)}function oo(){c=Date.now(),i=e.video.currentTime,h=Bi(e.video),A(),I(me.VIDEOFULLSCREEN)}function qt(){c=Date.now(),i=e.video.currentTime,h=Bi(e.video),A(),I(me.VIDEOUNFULLSCREEN)}function ro(){let X=Date.now();c=X,i=e.video.currentTime,h=Bi(e.video),u=X,g=e.video.playbackRate,A(),I(me.VIDEOPLAYERCLICK)}function dn(){let X=Date.now();c=X,i=e.video.currentTime,h=Bi(e.video),A(),I(me.VIDEOBUFFERING),_=X}function Lt(){c=Date.now(),i=e.video.currentTime,h=Bi(e.video),A(),I(me.VIDEOPLAYERLOAD)}function lo(){let X=e.video.muted||e.video.volume===0;!n&&X?Le():n&&!X&&Ve(),n=X}function j(){let X=Date.now(),q=e.video.currentTime,re=q/e.video.duration,fe=r<.25&&re>=.25,L=r<.5&&re>=.5,M=r<.75&&re>=.75;(fe||L||M)&&(c=X,i=q,h=Bi(e.video),A(),I(me.VIDEOCHECKPOINT)),c=X,r=re}document.addEventListener("onestreamplayerstart",()=>{o?e.video.currentTime<.5?ye():le():(o=!0,O())}),document.addEventListener("onestreamplayererror",Ct),e.video.addEventListener("pause",D),e.video.addEventListener("ended",J),e.video.addEventListener("waiting",dn),e.video.addEventListener("ratechange",ro),e.video.addEventListener("loadstart",Lt),e.video.addEventListener("volumechange",lo),e.video.addEventListener("timeupdate",j),e.onFullscreenChange((X,q)=>{q?oo():qt()})}k();var T1,bIe,iWe="4.9.4",rWe=`/static/third-party/onestream-player/shaka/${iWe}/shaka-player.ui.min.js`,sG=!1,sWe="6.2.0",aWe=`/static/third-party/onestream-player/mux-js/${sWe}/mux.min.js`,aG=!1,lWe="0.4.0",cWe=`/static/third-party/onestream-player/onestream/0.4.0/one_stream_player-v${lWe}.min.js`,lG=!1,_Ie=!1,cG={id:"09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524",owners:[{id:"11111111-1111-1111-1111-111111111111",email:"sample-owner@example.com",name:"Sample Owner"}],createdBy:{id:"22222222-2222-2222-2222-222222222222",email:"sample-creator@example.com",name:"Sample Creator"},updatedBy:{id:"33333333-3333-3333-3333-333333333333",email:"sample-editor@example.com",name:"Sample Editor"},publishedBy:{id:"44444444-4444-4444-4444-444444444444",email:"sample-publisher@example.com",name:"Sample Publisher"},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 uWe(){return sG?Promise.resolve():Xs(rWe,null).then(()=>{sG=!0})}async function dWe(){return aG?Promise.resolve():Xs(aWe,null).then(()=>{aG=!0})}async function pWe(){return lG?Promise.resolve():Xs(cWe,null,"one_stream_player").then(()=>{lG=!0})}var mWe=(e=!1)=>e?d`