"use strict";(()=>{var dIe=Object.create;var ww=Object.defineProperty;var P9=Object.getOwnPropertyDescriptor;var pIe=Object.getOwnPropertyNames;var mIe=Object.getPrototypeOf,gIe=Object.prototype.hasOwnProperty;var I9=e=>{throw TypeError(e)};var fIe=(e,t,o)=>t in e?ww(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var pn=(e,t)=>()=>(e&&(t=e(e=0)),t);var L9=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mo=(e,t)=>{for(var o in t)ww(e,o,{get:t[o],enumerable:!0})},hIe=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of pIe(t))!gIe.call(e,r)&&r!==o&&ww(e,r,{get:()=>t[r],enumerable:!(n=P9(t,r))||n.enumerable});return e};var ID=(e,t,o)=>(o=e!=null?dIe(mIe(e)):{},hIe(t||!e||!e.__esModule?ww(o,"default",{value:e,enumerable:!0}):o,e));var F=(e,t,o,n)=>{for(var r=n>1?void 0:n?P9(t,o):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(r=(n?s(t,o,r):s(r))||r);return n&&r&&ww(t,o,r),r};var Xt=(e,t,o)=>fIe(e,typeof t!="symbol"?t+"":t,o),LD=(e,t,o)=>t.has(e)||I9("Cannot "+o);var Ce=(e,t,o)=>(LD(e,t,"read from private field"),o?o.call(e):t.get(e)),Qt=(e,t,o)=>t.has(e)?I9("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),yt=(e,t,o,n)=>(LD(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o),Sp=(e,t,o)=>(LD(e,t,"access private method"),o);var Xae,lr,Gp,KN=pn(()=>{Xae=new WeakMap,lr=e=>(...t)=>{let o=e(...t);return Xae.set(o,!0),o},Gp=e=>typeof e=="function"&&Xae.has(e)});var ZN,F0,Vp,ph=pn(()=>{ZN=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,F0=(e,t,o=null,n=null)=>{for(;t!==o;){let r=t.nextSibling;e.insertBefore(t,n),t=r}},Vp=(e,t,o=null)=>{for(;t!==o;){let n=t.nextSibling;e.removeChild(t),t=n}}});var Li,U0,JN=pn(()=>{Li={},U0={}});var il,XN,ele,mh,av,tle,e2,Ri,q0,gh=pn(()=>{il=`{{lit-${String(Math.random()).slice(2)}}}`,XN=``,ele=new RegExp(`${il}|${XN}`),mh="$lit$",av=class{constructor(t,o){this.parts=[],this.element=o;let n=[],r=[],i=document.createTreeWalker(o.content,133,null,!1),s=0,a=-1,l=0,{strings:c,values:{length:u}}=t;for(;l0;){let y=c[l],h=q0.exec(y)[2],v=h.toLowerCase()+mh,_=p.getAttribute(v);p.removeAttribute(v);let x=_.split(ele);this.parts.push({type:"attribute",index:a,name:h,strings:x}),l+=x.length-1}}p.tagName==="TEMPLATE"&&(r.push(p),i.currentNode=p.content)}else if(p.nodeType===3){let m=p.data;if(m.indexOf(il)>=0){let g=p.parentNode,f=m.split(ele),y=f.length-1;for(let h=0;h{let o=e.length-t.length;return o>=0&&e.slice(o)===t},e2=e=>e.index!==-1,Ri=()=>document.createComment(""),q0=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/});var fh,t2=pn(()=>{ph();gh();fh=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=ZN?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),o=[],n=this.template.parts,r=document.createTreeWalker(t,133,null,!1),i=0,s=0,a,l=r.nextNode();for(;i{ph();gh();ole=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),RIe=` ${il} `,sl=class{constructor(t,o,n,r){this.strings=t,this.values=o,this.type=n,this.processor=r}getHTML(){let t=this.strings.length-1,o="",n=!1;for(let r=0;r-1||n)&&i.indexOf("-->",s+1)===-1;let a=q0.exec(i);a===null?o+=i+(n?RIe:XN):o+=i.substr(0,a.index)+a[1]+a[2]+mh+a[3]+il}return o+=this.strings[t],o}getTemplateElement(){let t=document.createElement("template"),o=this.getHTML();return ole!==void 0&&(o=ole.createHTML(o)),t.innerHTML=o,t}}});var Fu,B0,hh,pa,Kr,Wp,lv,Ou,nle,Qp,MIe,bh=pn(()=>{KN();ph();JN();t2();H0();gh();Fu=e=>e===null||!(typeof e=="object"||typeof e=="function"),B0=e=>Array.isArray(e)||!!(e&&e[Symbol.iterator]),hh=class{constructor(t,o,n){this.dirty=!0,this.element=t,this.name=o,this.strings=n,this.parts=[];for(let r=0;r{try{let e={get capture(){return nle=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{}})();Qp=class{constructor(t,o,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=o,this.eventContext=n,this.__boundHandleEvent=r=>this.handleEvent(r)}setValue(t){this.__pendingValue=t}commit(){for(;Gp(this.__pendingValue);){let i=this.__pendingValue;this.__pendingValue=Li,i(this)}if(this.__pendingValue===Li)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),r=t!=null&&(o==null||n);n&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),r&&(this.__options=MIe(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Li}handleEvent(t){typeof this.value=="function"?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}},MIe=e=>e&&(nle?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)});var G0,V0,o2=pn(()=>{bh();G0=class{handleAttributeExpressions(t,o,n,r){let i=o[0];return i==="."?new lv(t,o.slice(1),n).parts:i==="@"?[new Qp(t,o.slice(1),r.eventContext)]:i==="?"?[new Wp(t,o.slice(1),n)]:new hh(t,o,n).parts}handleTextExpression(t){return new Kr(t)}},V0=new G0});function r2(e){let t=n2.get(e.type);t===void 0&&(t={stringsArray:new WeakMap,keyString:new Map},n2.set(e.type,t));let o=t.stringsArray.get(e.strings);if(o!==void 0)return o;let n=e.strings.join(il);return o=t.keyString.get(n),o===void 0&&(o=new av(e,e.getTemplateElement()),t.keyString.set(n,o)),t.stringsArray.set(e.strings,o),o}var n2,i2=pn(()=>{gh();n2=new Map});var s2,w,a2=pn(()=>{ph();bh();i2();s2=new WeakMap,w=(e,t,o)=>{let n=s2.get(t);n===void 0&&(Vp(t,t.firstChild),s2.set(t,n=new Kr(Object.assign({templateFactory:r2},o))),n.appendInto(t)),n.setValue(e),n.commit()}});var d,Ge=pn(()=>{o2();H0();o2();KN();ph();JN();bh();a2();i2();t2();H0();gh();typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");d=(e,...t)=>new sl(e,t,"html",V0)});var l2,rle,Zr,ile=pn(()=>{Ge();l2=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)}}},rle=new WeakMap,Zr=lr(e=>t=>{if(!(t instanceof pa)||t instanceof Ou||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,r=rle.get(t);r===void 0&&(n.setAttribute("class",o.strings.join(" ")),rle.set(t,r=new Set));let i=n.classList||new l2(n);r.forEach(s=>{s in e||(i.remove(s),r.delete(s))});for(let s in e){let a=e[s];a!=r.has(s)&&(a?(i.add(s),r.add(s)):(i.remove(s),r.delete(s)))}typeof i.commit=="function"&&i.commit()})});var c2,qe,yh=pn(()=>{Ge();c2=new WeakMap,qe=lr(e=>t=>{let o=c2.get(t);if(e===void 0&&t instanceof pa){if(o!==void 0||!c2.has(t)){let n=t.committer.name;t.committer.element.removeAttribute(n)}}else e!==o&&t.setValue(e);c2.set(t,e)})});var u2,sle,ale=pn(()=>{Ge();u2=lr(e=>t=>{let o;if(t instanceof Qp||t instanceof Kr)throw new Error("The `live` directive is not allowed on text or event bindings");if(t instanceof Wp)sle(t.strings),o=t.element.hasAttribute(t.name),t.value=o;else{let{element:n,name:r,strings:i}=t.committer;if(sle(i),t instanceof Ou){if(o=n[r],o===e)return}else t instanceof pa&&(o=n.getAttribute(r));if(o===String(e))return}t.setValue(e)}),sle=e=>{if(e.length!==2||e[0]!==""||e[1]!=="")throw new Error("`live` bindings can only contain a single expression")}});var lle,Yp,d2,p2,cle,ule,dle,ho,ple=pn(()=>{Ge();lle=(e,t)=>{let o=e.startNode.parentNode,n=t===void 0?e.endNode:t.startNode,r=o.insertBefore(Ri(),n);o.insertBefore(Ri(),n);let i=new Kr(e.options);return i.insertAfterNode(r),i},Yp=(e,t)=>(e.setValue(t),e.commit(),e),d2=(e,t,o)=>{let n=e.startNode.parentNode,r=o?o.startNode:e.endNode,i=t.endNode.nextSibling;i!==r&&F0(n,t.startNode,i,r)},p2=e=>{Vp(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},cle=(e,t,o)=>{let n=new Map;for(let r=t;r<=o;r++)n.set(e[r],r);return n},ule=new WeakMap,dle=new WeakMap,ho=lr((e,t,o)=>{let n;return o===void 0?o=t:t!==void 0&&(n=t),r=>{if(!(r instanceof Kr))throw new Error("repeat can only be used in text bindings");let i=ule.get(r)||[],s=dle.get(r)||[],a=[],l=[],c=[],u=0;for(let v of e)c[u]=n?n(v,u):u,l[u]=o(v,u),u++;let p,m,g=0,f=i.length-1,y=0,h=l.length-1;for(;g<=f&&y<=h;)if(i[g]===null)g++;else if(i[f]===null)f--;else if(s[g]===c[y])a[y]=Yp(i[g],l[y]),g++,y++;else if(s[f]===c[h])a[h]=Yp(i[f],l[h]),f--,h--;else if(s[g]===c[h])a[h]=Yp(i[g],l[h]),d2(r,i[g],a[h+1]),g++,h--;else if(s[f]===c[y])a[y]=Yp(i[f],l[y]),d2(r,i[f],i[g]),f--,y++;else if(p===void 0&&(p=cle(c,y,h),m=cle(s,g,f)),!p.has(s[g]))p2(i[g]),g++;else if(!p.has(s[f]))p2(i[f]),f--;else{let v=m.get(c[y]),_=v!==void 0?i[v]:null;if(_===null){let x=lle(r,i[g]);Yp(x,l[y]),a[y]=x}else a[y]=Yp(_,l[y]),d2(r,_,i[g]),i[v]=null;y++}for(;y<=h;){let v=lle(r,a[h+1]);Yp(v,l[y]),a[y++]=v}for(;g<=f;){let v=i[g++];v!==null&&p2(v)}ule.set(r,a),dle.set(r,c)}})});var mle,j,Kp=pn(()=>{bh();Ge();mle=new WeakMap,j=lr(e=>t=>{if(!(t instanceof Kr))throw new Error("unsafeHTML can only be used in text bindings");let o=mle.get(t);if(o!==void 0&&Fu(e)&&e===o.value&&t.value===o.fragment)return;let n=document.createElement("template");n.innerHTML=e;let r=document.importNode(n.content,!0);t.setValue(r),mle.set(t,{value:e,fragment:r})})});var gle,fle,zn,hle=pn(()=>{bh();Ge();gle=new WeakMap,fle=2147483647,zn=lr((...e)=>t=>{let o=gle.get(t);o===void 0&&(o={lastRenderedIndex:fle,values:[]},gle.set(t,o));let n=o.values,r=n.length;o.values=e;for(let i=0;io.lastRenderedIndex);i++){let s=e[i];if(Fu(s)||typeof s.then!="function"){t.setValue(s),o.lastRenderedIndex=i;break}i{let l=o.values.indexOf(s);l>-1&&l{"use strict";Ge();ile();yh();ale();ple();Kp();hle()});function zg(e){mL[e.name]=e}function tB(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)(?:-|$)/,(i,s)=>(o=s,"")),o===void 0)return null;let n=mL[o]?mL[o].activateButtonConfig:{name:"unknown",attributes:[],iconClass:""},r={name:o,flags:{isExternal:o==="lab-on-demand",requiresStructuredData:o==="http"},activateButtonConfig:n};return t=t.replace(/(\w+)$/g,(i,s)=>(r.flags[s]=!0,"")),r}function Yhe(e){return Array.from(e.childNodes).map(t=>t.nodeName==="CODE"?t.getAttribute("data-interactive-mode"):null).pop()}function oB(e,t){let o=eB[e.name];return o||(o=eB[e.name]=mL[e.name].create()),t.firstElementChild!==o.element&&w(o.element,t),{element:o.element,setCode:(n,r)=>o.setCode(n,r),execute:()=>o.execute(),dispose:()=>{delete eB[e.name],o.dispose()}}}var mL,eB,Pg=pn(()=>{"use strict";A();mL={};eB={}});var O3=L9((N3,j3)=>{(function(e,t){typeof N3=="object"&&typeof j3<"u"?j3.exports=t():typeof define=="function"&&define.amd?define(t):e.Bottleneck=t()})(N3,function(){"use strict";var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t(Oe){return Oe&&Oe.default||Oe}var o=function(Oe,q,E={}){var Y,ne,ie;for(Y in q)ie=q[Y],E[Y]=(ne=Oe[Y])!=null?ne:ie;return E},n=function(Oe,q,E={}){var Y,ne;for(Y in Oe)ne=Oe[Y],q[Y]!==void 0&&(E[Y]=ne);return E},r={load:o,overwrite:n},i;i=class{constructor(q,E){this.incr=q,this.decr=E,this._first=null,this._last=null,this.length=0}push(q){var E;this.length++,typeof this.incr=="function"&&this.incr(),E={value:q,prev:this._last,next:null},this._last!=null?(this._last.next=E,this._last=E):this._first=this._last=E}shift(){var q;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),q=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,q}first(){if(this._first!=null)return this._first.value}getArray(){var q,E,Y;for(q=this._first,Y=[];q!=null;)Y.push((E=q,q=q.next,E.value));return Y}forEachShift(q){var E;for(E=this.shift();E!=null;)q(E),E=this.shift()}debug(){var q,E,Y,ne,ie;for(q=this._first,ie=[];q!=null;)ie.push((E=q,q=q.next,{value:E.value,prev:(Y=E.prev)!=null?Y.value:void 0,next:(ne=E.next)!=null?ne.value:void 0}));return ie}};var s=i,a;a=class{constructor(q){if(this.instance=q,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw new Error("An Emitter already exists for this object");this.instance.on=(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(q,E,Y){var ne;return(ne=this._events)[q]==null&&(ne[q]=[]),this._events[q].push({cb:Y,status:E}),this.instance}listenerCount(q){return this._events[q]!=null?this._events[q].length:0}async trigger(q,...E){var Y,ne;try{return q!=="debug"&&this.trigger("debug",`Event triggered: ${q}`,E),this._events[q]==null?void 0:(this._events[q]=this._events[q].filter(function(ie){return ie.status!=="none"}),ne=this._events[q].map(async ie=>{var ke,Fe;if(ie.status!=="none"){ie.status==="once"&&(ie.status="none");try{return Fe=typeof ie.cb=="function"?ie.cb(...E):void 0,typeof Fe?.then=="function"?await Fe:Fe}catch(Jt){return ke=Jt,this.trigger("error",ke),null}}}),(await Promise.all(ne)).find(function(ie){return ie!=null}))}catch(ie){return Y=ie,this.trigger("error",Y),null}}};var l=a,c,u,p;c=s,u=l,p=class{constructor(q){var E;this.Events=new u(this),this._length=0,this._lists=function(){var Y,ne,ie;for(ie=[],E=Y=1,ne=q;1<=ne?Y<=ne:Y>=ne;E=1<=ne?++Y:--Y)ie.push(new c(()=>this.incr(),()=>this.decr()));return ie}.call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(q){return this._lists[q.options.priority].push(q)}queued(q){return q!=null?this._lists[q].length:this._length}shiftAll(q){return this._lists.forEach(function(E){return E.forEachShift(q)})}getFirst(q=this._lists){var E,Y,ne;for(E=0,Y=q.length;E0)return ne;return[]}shiftLastFrom(q){return this.getFirst(this._lists.slice(q).reverse()).shift()}};var m=p,g;g=class extends Error{};var f=g,y,h,v,_,x;_=10,h=5,x=r,y=f,v=class{constructor(q,E,Y,ne,ie,ke,Fe,Jt){this.task=q,this.args=E,this.rejectOnDrop=ie,this.Events=ke,this._states=Fe,this.Promise=Jt,this.options=x.load(Y,ne),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===ne.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((Vn,ir)=>{this._resolve=Vn,this._reject=ir}),this.retryCount=0}_sanitizePriority(q){var E;return E=~~q!==q?h:q,E<0?0:E>_-1?_-1:E}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:q,message:E="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(q??new y(E)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(q){var E;if(E=this._states.jobStatus(this.options.id),!(E===q||q==="DONE"&&E===null))throw new y(`Invalid job status ${E}, expected ${q}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(q,E){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:q,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(q,E,Y,ne){var ie,ke,Fe;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),ke={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",ke);try{if(Fe=await(q!=null?q.schedule(this.options,this.task,...this.args):this.task(...this.args)),E())return this.doDone(ke),await ne(this.options,ke),this._assertStatus("DONE"),this._resolve(Fe)}catch(Jt){return ie=Jt,this._onFailure(ie,ke,E,Y,ne)}}doExpire(q,E,Y){var ne,ie;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),ie={args:this.args,options:this.options,retryCount:this.retryCount},ne=new y(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(ne,ie,q,E,Y)}async _onFailure(q,E,Y,ne,ie){var ke,Fe;if(Y())return ke=await this.Events.trigger("failed",q,E),ke!=null?(Fe=~~ke,this.Events.trigger("retry",`Retrying ${this.options.id} after ${Fe} ms`,E),this.retryCount++,ne(Fe)):(this.doDone(E),await ie(this.options,E),this._assertStatus("DONE"),this._reject(q))}doDone(q){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",q)}};var z=v,C,H,O;O=r,C=f,H=class{constructor(q,E,Y){this.instance=q,this.storeOptions=E,this.clientId=this.instance._randomIndex(),O.load(Y,Y,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var q;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(q=this.heartbeat=setInterval(()=>{var E,Y,ne,ie,ke;if(ie=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&ie>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=ie,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&ie>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:E,reservoirIncreaseMaximum:ne,reservoir:ke}=this.storeOptions,this._lastReservoirIncrease=ie,Y=ne!=null?Math.min(E,ne-ke):E,Y>0))return this.storeOptions.reservoir+=Y,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?q.unref():void 0:clearInterval(this.heartbeat)}async __publish__(q){return await this.yieldLoop(),this.instance.Events.trigger("message",q.toString())}async __disconnect__(q){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(q=0){return new this.Promise(function(E,Y){return setTimeout(E,q)})}computePenalty(){var q;return(q=this.storeOptions.penalty)!=null?q:15*this.storeOptions.minTime||5e3}async __updateSettings__(q){return await this.yieldLoop(),O.overwrite(q,q,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(q){return await this.yieldLoop(),this._nextRequest+this.timeout=q}check(q,E){return this.conditionsCheck(q)&&this._nextRequest-E<=0}async __check__(q){var E;return await this.yieldLoop(),E=Date.now(),this.check(q,E)}async __register__(q,E,Y){var ne,ie;return await this.yieldLoop(),ne=Date.now(),this.conditionsCheck(E)?(this._running+=E,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=E),ie=Math.max(this._nextRequest-ne,0),this._nextRequest=ne+ie+this.storeOptions.minTime,{success:!0,wait:ie,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(q,E){var Y,ne,ie;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&E>this.storeOptions.maxConcurrent)throw new C(`Impossible to add a job having a weight of ${E} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return ne=Date.now(),ie=this.storeOptions.highWater!=null&&q===this.storeOptions.highWater&&!this.check(E,ne),Y=this.strategyIsBlock()&&(ie||this.isBlocked(ne)),Y&&(this._unblockTime=ne+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:ie,blocked:Y,strategy:this.storeOptions.strategy}}async __free__(q,E){return await this.yieldLoop(),this._running-=E,this._done+=E,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var pe=H,Ee,ce;Ee=f,ce=class{constructor(q){this.status=q,this._jobs={},this.counts=this.status.map(function(){return 0})}next(q){var E,Y;if(E=this._jobs[q],Y=E+1,E!=null&&Y(q[this.status[Y]]=E,q),{})}};var bt=ce,Lt,Bt;Lt=s,Bt=class{constructor(q,E){this.schedule=this.schedule.bind(this),this.name=q,this.Promise=E,this._running=0,this._queue=new Lt}isEmpty(){return this._queue.length===0}async _tryToRun(){var q,E,Y,ne,ie,ke,Fe;if(this._running<1&&this._queue.length>0)return this._running++,{task:Fe,args:q,resolve:ie,reject:ne}=this._queue.shift(),E=await async function(){try{return ke=await Fe(...q),function(){return ie(ke)}}catch(Jt){return Y=Jt,function(){return ne(Y)}}}(),this._running--,this._tryToRun(),E()}schedule(q,...E){var Y,ne,ie;return ie=ne=null,Y=new this.Promise(function(ke,Fe){return ie=ke,ne=Fe}),this._queue.push({task:q,args:E,resolve:ie,reject:ne}),this._tryToRun(),Y}};var fo=Bt,Gt="2.19.5",co={version:Gt},Zo=Object.freeze({version:Gt,default:co}),Rt=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),De=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),$=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),W,N,oe,be,I,Q;Q=r,W=l,be=Rt,oe=De,I=$,N=function(){class Oe{constructor(E={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=E,Q.load(this.limiterOptions,this.defaults,this),this.Events=new W(this),this.instances={},this.Bottleneck=rr,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new be(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new oe(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(E=""){var Y;return(Y=this.instances[E])!=null?Y:(()=>{var ne;return ne=this.instances[E]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${E}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",ne,E),ne})()}async deleteKey(E=""){var Y,ne;return ne=this.instances[E],this.connection&&(Y=await this.connection.__runCommand__(["del",...I.allKeys(`${this.id}-${E}`)])),ne!=null&&(delete this.instances[E],await ne.disconnect()),ne!=null||Y>0}limiters(){var E,Y,ne,ie;Y=this.instances,ne=[];for(E in Y)ie=Y[E],ne.push({key:E,limiter:ie});return ne}keys(){return Object.keys(this.instances)}async clusterKeys(){var E,Y,ne,ie,ke,Fe,Jt,Vn,ir;if(this.connection==null)return this.Promise.resolve(this.keys());for(Fe=[],E=null,ir=`b_${this.id}-`.length,Y=9;E!==0;)for([Vn,ne]=await this.connection.__runCommand__(["scan",E??0,"match",`b_${this.id}-*_settings`,"count",1e4]),E=~~Vn,ie=0,Jt=ne.length;ie{var Y,ne,ie,ke,Fe,Jt;Fe=Date.now(),ie=this.instances,ke=[];for(ne in ie){Jt=ie[ne];try{await Jt._store.__groupCheck__(Fe)?ke.push(this.deleteKey(ne)):ke.push(void 0)}catch(Vn){Y=Vn,ke.push(Jt.Events.trigger("error",Y))}}return ke},this.timeout/2)).unref=="function"?E.unref():void 0}updateSettings(E={}){if(Q.overwrite(E,this.defaults,this),Q.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 D=N,J,ue,Pe;Pe=r,ue=l,J=function(){class Oe{constructor(E={}){this.options=E,Pe.load(this.options,this.defaults,this),this.Events=new ue(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((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 Ie=J,vt=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),qt=t(Zo),Wt,B,ae,fe,xe,Ae,Ke,Ze,Nt,it,Ut,xr=[].splice;Ae=10,B=5,Ut=r,Ke=m,fe=z,xe=pe,Ze=vt,ae=l,Nt=bt,it=fo,Wt=function(){class Oe{constructor(E={},...Y){var ne,ie;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(E,Y),Ut.load(E,this.instanceDefaults,this),this._queues=new Ke(Ae),this._scheduled={},this._states=new Nt(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new ae(this),this._submitLock=new it("submit",this.Promise),this._registerLock=new it("register",this.Promise),ie=Ut.load(E,this.storeDefaults,{}),this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return ne=Ut.load(E,this.redisStoreDefaults,{}),new Ze(this,ie,ne);if(this.datastore==="local")return ne=Ut.load(E,this.localStoreDefaults,{}),new xe(this,ie,ne);throw new Oe.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}.call(this),this._queues.on("leftzero",()=>{var ke;return(ke=this._store.heartbeat)!=null&&typeof ke.ref=="function"?ke.ref():void 0}),this._queues.on("zero",()=>{var ke;return(ke=this._store.heartbeat)!=null&&typeof ke.unref=="function"?ke.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,ne,ie){var ke,Fe;try{if({running:Fe}=await this._store.__free__(E,ne.weight),this.Events.trigger("debug",`Freed ${ne.id}`,ie),Fe===0&&this.empty())return this.Events.trigger("idle")}catch(Jt){return ke=Jt,this.Events.trigger("error",ke)}}_run(E,Y,ne){var ie,ke,Fe;return Y.doRun(),ie=this._clearGlobalState.bind(this,E),Fe=this._run.bind(this,E,Y),ke=this._free.bind(this,E,Y),this._scheduled[E]={timeout:setTimeout(()=>Y.doExecute(this._limiter,ie,Fe,ke),ne),expiration:Y.options.expiration!=null?setTimeout(function(){return Y.doExpire(ie,Fe,ke)},ne+Y.options.expiration):void 0,job:Y}}_drainOne(E){return this._registerLock.schedule(()=>{var Y,ne,ie,ke,Fe;return this.queued()===0?this.Promise.resolve(null):(Fe=this._queues.getFirst(),{options:ke,args:Y}=ie=Fe.first(),E!=null&&ke.weight>E?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${ke.id}`,{args:Y,options:ke}),ne=this._randomIndex(),this._store.__register__(ne,ke.weight,ke.expiration).then(({success:Jt,wait:Vn,reservoir:ir})=>{var _w;return this.Events.trigger("debug",`Drained ${ke.id}`,{success:Jt,args:Y,options:ke}),Jt?(Fe.shift(),_w=this.empty(),_w&&this.Events.trigger("empty"),ir===0&&this.Events.trigger("depleted",_w),this._run(ne,ie,Vn),this.Promise.resolve(ke.weight)):this.Promise.resolve(null)})))})}_drainAll(E,Y=0){return this._drainOne(E).then(ne=>{var ie;return ne!=null?(ie=E!=null?E-ne:E,this._drainAll(ie,Y+ne)):this.Promise.resolve(Y)}).catch(ne=>this.Events.trigger("error",ne))}_dropAllQueued(E){return this._queues.shiftAll(function(Y){return Y.doDrop({message:E})})}stop(E={}){var Y,ne;return E=Ut.load(E,this.stopDefaults),ne=ie=>{var ke;return ke=()=>{var Fe;return Fe=this._states.counts,Fe[0]+Fe[1]+Fe[2]+Fe[3]===ie},new this.Promise((Fe,Jt)=>ke()?Fe():this.on("done",()=>{if(ke())return this.removeAllListeners("done"),Fe()}))},Y=E.dropWaitingJobs?(this._run=function(ie,ke){return ke.doDrop({message:E.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var ie,ke,Fe;ke=this._scheduled;for(ie in ke)Fe=ke[ie],this.jobStatus(Fe.job.options.id)==="RUNNING"&&(clearTimeout(Fe.timeout),clearTimeout(Fe.expiration),Fe.job.doDrop({message:E.dropErrorMessage}));return this._dropAllQueued(E.dropErrorMessage),ne(0)}))):this.schedule({priority:Ae-1,weight:0},()=>ne(1)),this._receive=function(ie){return ie._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,ne,ie,ke,Fe,Jt,Vn;({args:Y,options:ke}=E);try{({reachedHWM:Fe,blocked:ne,strategy:Vn}=await this._store.__submit__(this.queued(),ke.weight))}catch(ir){return ie=ir,this.Events.trigger("debug",`Could not queue ${ke.id}`,{args:Y,options:ke,error:ie}),E.doDrop({error:ie}),!1}return ne?(E.doDrop(),!0):Fe&&(Jt=Vn===Oe.prototype.strategy.LEAK?this._queues.shiftLastFrom(ke.priority):Vn===Oe.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(ke.priority+1):Vn===Oe.prototype.strategy.OVERFLOW?E:void 0,Jt?.doDrop(),Jt==null||Vn===Oe.prototype.strategy.OVERFLOW)?(Jt==null&&E.doDrop(),Fe):(E.doQueue(Fe,ne),this._queues.push(E),await this._drainAll(),Fe)}_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,ne,ie,ke,Fe,Jt,Vn;return typeof E[0]=="function"?(Fe=E,[ne,...E]=Fe,[Y]=xr.call(E,-1),ke=Ut.load({},this.jobDefaults)):(Jt=E,[ke,ne,...E]=Jt,[Y]=xr.call(E,-1),ke=Ut.load(ke,this.jobDefaults)),Vn=(...ir)=>new this.Promise(function(_w,uIe){return ne(...ir,function(...z9){return(z9[0]!=null?uIe:_w)(z9)})}),ie=new fe(Vn,E,ke,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),ie.promise.then(function(ir){return typeof Y=="function"?Y(...ir):void 0}).catch(function(ir){return Array.isArray(ir)?typeof Y=="function"?Y(...ir):void 0:typeof Y=="function"?Y(ir):void 0}),this._receive(ie)}schedule(...E){var Y,ne,ie;return typeof E[0]=="function"?([ie,...E]=E,ne={}):[ne,ie,...E]=E,Y=new fe(ie,E,ne,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(Y),Y.promise}wrap(E){var Y,ne;return Y=this.schedule.bind(this),ne=function(...ie){return Y(E.bind(this),...ie)},ne.withOptions=function(ie,...ke){return Y(ie,E,...ke)},ne}async updateSettings(E={}){return await this._store.__updateSettings__(Ut.overwrite(E,this.storeDefaults)),Ut.overwrite(E,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(E=0){return this._store.__incrementReservoir__(E)}}return Oe.default=Oe,Oe.Events=ae,Oe.version=Oe.prototype.version=qt.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=D,Oe.RedisConnection=Oe.prototype.RedisConnection=Rt,Oe.IORedisConnection=Oe.prototype.IORedisConnection=De,Oe.Batcher=Oe.prototype.Batcher=Ie,Oe.prototype.jobDefaults={priority:B,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 rr=Wt,kp=rr;return kp})});var cwe=L9(fR=>{"use strict";Object.defineProperty(fR,"__esModule",{value:!0});fR.format=KUe;fR.parse=ZUe;var WUe=/^[\u0009\u0020-\u007e\u0080-\u00ff]*$/,rwe=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,QUe=/[\\"]/g,YUe=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,iwe=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function KUe(e){let{type:t,parameters:o}=e;if(!t||!YUe.test(t))throw new TypeError(`Invalid type: ${t}`);let n=t;if(o)for(let r of Object.keys(o)){if(!rwe.test(r))throw new TypeError(`Invalid parameter name: ${r}`);n+=`; ${r}=${tqe(o[r])}`}return n}function ZUe(e,t){let o=e.length,n=G3(e,0,o),r=n;n=B3(e,n,o);let i=V3(e,r,n),s=e.slice(r,i).toLowerCase(),a=t?.parameters===!1?new iwe:eqe(e,n,o);return{type:s,parameters:a}}var swe=32,awe=9,lwe=59,JUe=61,nwe=34,XUe=92;function eqe(e,t,o){let n=new iwe;e:for(;tt;){let n=e.charCodeAt(o-1);if(n!==swe&&n!==awe)break;o--}return o}function tqe(e){if(rwe.test(e))return e;if(WUe.test(e))return`"${e.replace(QUe,"\\$&")}"`;throw new TypeError(`Invalid parameter value: ${e}`)}});function R9(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&bIe(o)})}function bIe(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 vw(e=document.body){e.addEventListener("toggle",t=>{let o=t.target instanceof Element&&t.target.closest("details.popover")||t.target instanceof Element&&t.target.shadowRoot?.activeElement?.closest("details.popover");if(!o)return;let n=o.querySelector(".popover-content");if(!n)return;if(!o.open){n.style.visibility="hidden";return}requestAnimationFrame(()=>{$9(o),n.offsetHeight});let r=()=>{o.open&&$9(o)},i=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",i),window.removeEventListener("blur",a),window.removeEventListener("resize",r),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",i),window.addEventListener("blur",a),window.addEventListener("resize",r)},!0)}var M9=24,RD=8;function yIe(e){return window.getComputedStyle(e).direction==="rtl"}function _Ie(e,t,o){let n=o.getBoundingClientRect(),r=window.innerHeight-n.bottom,i=n.top,s=e.classList.contains("popover-top"),a=e.classList.contains("popover-bottom"),l=t.offsetHeight,c=a||!s&&(l+RD>i||r>=l||r>=i),u=e.classList.contains("popover-caret");u&&e.classList.remove("popover-caret-bottom");let p=0;c?p=o.offsetTop+o.offsetHeight+RD:(p=o.offsetTop-t.offsetHeight-RD,u&&e.classList.add("popover-caret-bottom")),t.style.top=`${p}px`}function wIe(e,t,o,n){let r=t.offsetWidth,i=o.offsetWidth,s=window.innerWidth,l=t.offsetParent.getBoundingClientRect(),c=o.offsetLeft,u=c+i,p,m=e.classList.contains("popover-left"),g=e.classList.contains("popover-right");if(m)p=n?u-r:c;else if(g)p=n?c:u-r;else{p=c+i/2-r/2;let f=l.left+p,y=f+r;fs-M9&&(p=u-r)}return n?(t.style.setProperty("left",`${p}px`),t.style.setProperty("right","auto")):t.style.setProperty("inset-inline-start",`${p}px`),p}function vIe(e,t,o,n){let r=e.offsetWidth,i=t.offsetWidth,a=t.offsetLeft+i/2,l;n?l=100-(a-o+4)/r*100:l=(a-o-4)/r*100;let c=Math.min(Math.max(l,10),90);e.style.setProperty("--caret-left",`${c}%`)}function $9(e){let t=e.querySelector(".popover-content"),o=e.querySelector("summary");if(!t||!o)return;t.style.top="",t.style.left="",t.style.right="",t.style.setProperty("inset-inline-start","");let n=yIe(e);_Ie(e,t,o);let r=wIe(e,t,o,n);e.classList.contains("popover-caret")&&vIe(t,o,r,n),t.style.visibility="visible"}var MD=!1;function D9(){TIe();let e=Array.from(document.querySelectorAll("[data-snap-scroll]"));for(let t of e)xIe(t)}function xIe(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},r=new IntersectionObserver(i=>{if(!MD&&i[0].isIntersecting===!0){let s=i[0].target.getAttribute("data-snap-scroll-slide");if(!s)throw new Error("The [data-snap-scroll-slide] clicked does not correspond to a [data-snap-scroll-nav-item]");let a=e.querySelector(`[data-snap-scroll-nav-item="${s}"]`);if(!a)throw new Error("Anchor missing from snap scroll container");N9(e,a)}},n);o.forEach(i=>r.observe(i))}function TIe(){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")');MD=!0,e.preventDefault();let r=o.querySelector(`[data-snap-scroll-slide="${n}"]`);N9(o,t),r.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),setTimeout(()=>MD=!1,500)})}function N9(e,t){let o=Array.from(e.querySelectorAll("[data-snap-scroll-nav-item]"));for(let n of o)n.classList.remove("is-current");t.classList.add("is-current")}var kIe=0;function Cp(){return`bx-${kIe++}`}function j9(e){return e.replace(/-./g,t=>t[1].toUpperCase())}var vZe=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."},FS=class extends HTMLElement{constructor(){super();Xt(this,"submitting",!1);Xt(this,"initialData",new FormData);Xt(this,"toDispose",[]);Xt(this,"isDirty",!1);Xt(this,"commitTimeout",0);Xt(this,"locStrings",O9);Xt(this,"validators",[this.validateMinLength.bind(this),this.validateRequired.bind(this),this.validateMaxLength.bind(this)]);Xt(this,"commit",o=>{!q9(o.target,this.form)||!o.target?.form||o.target?.form!==this.parentElement||(clearTimeout(this.commitTimeout),o.type==="change"&&SIe(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,r)=>(n[j9(r.name.substring(4))]=r.value,n),{});return Object.assign({},O9,o)}subscribe(o,n,r){o.addEventListener(n,r),this.toDispose.push(()=>o.removeEventListener(n,r))}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 EIe(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 i=new CustomEvent("form-validating",{detail:{form:n},bubbles:!0});this.dispatchEvent(i);return}let r=!1;try{if(this.submitting=!0,F9(o,n,this.submitting),!(await this.validateForm(n)).valid||this.noSubmit)return;let s=zIe(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:v}of this.attributes)h.startsWith("header-")&&c.set(h.substring(7),v);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,y;try{if(f=new Request(m.detail.url,m.detail.init),y=await fetch(f),y.ok)this.removeAttribute("new"),this.initialData=l,this.setDirty(),this.dispatchEvent(new CustomEvent("aftersubmit",{detail:{request:f,response:y},bubbles:!0})),r=this.navigate(y.headers.get("location")??this.getAttribute("navigation-href"));else{let h=this.locStrings.weEncounteredAnUnexpectedError;switch(y.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,y)}}catch{this.submissionError(n,this.locStrings.weEncounteredAnUnexpectedError,f,y);return}}finally{this.submitting=r,F9(o,n,this.submitting)}}createErrorAlert(o){let n=o.querySelector("[data-form-error-container]")||o,r=Cp(),i=document.createElement("div");i.className="help help-danger background-color-danger-light border border-color-danger border-radius padding-xs margin-bottom-sm",i.setAttribute("data-form-error-alert",""),i.setAttribute("role","alert"),i.setAttribute("aria-labelledby",r),i.setAttribute("tabindex","-1"),i.hidden=!0;let s=document.createElement("p");s.id=r,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"),i.append(s,a),n.appendChild(i),{errorAlert:i,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,r,i){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:r,response:i},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,r=o){let i=[],{errorAlert:s,errorList:a}=this.getErrorAlert(o);(n||o.hasAttribute("data-hide-validation-banner"))&&(s.hidden=!0,a.innerHTML="");let l=AIe(o);for(let c of[...o.elements,...l]){if(!r.contains(c)||!$D(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:i,form:o},bubbles:!0});this.dispatchEvent(m);continue}let u=!!l.find(m=>m===c);this.runBasicValidation(c,n,i,a,u);let p=new CustomEvent("form-validating",{detail:{errors:i,form:o},bubbles:!0});this.dispatchEvent(p)}return i.length===0?{valid:!0}:(n&&(s.hidden=!1,s.focus()),{valid:!1,errors:i})}clearValidationErrors(o){if(!$D(o,this.form))return;if(U9(o),Fr(o,""),sr(o).classList.remove("errored"),o.form){let{errorAlert:r,errorList:i}=this.getErrorAlert(o.form);i.querySelectorAll(`a[href="http://approjects.co.za/?big=#${o.id}"]`).forEach(s=>s.parentElement?.remove()),i.querySelector("#no-edits-error")?.remove(),i.firstElementChild||(r.hidden=!0)}let n=new CustomEvent("clear-validation-errors",{detail:{target:o},bubbles:!0});this.dispatchEvent(n)}showNoChangesMessage(o){let{errorAlert:n,errorList:r}=this.getErrorAlert(o);if(r.childElementCount>0){for(;r.firstChild;)r.lastChild?.remove();r.querySelector("#no-edits-error")?.remove()}let i=document.createElement("li");i.id="no-edits-error",i.innerText=this.locStrings.thereAreNoEditsToSubmit,r.appendChild(i),n.hidden=!1,n.focus()}runBasicValidation(o,n=!0,r,i,s){if(!$D(o,this.form))return;let a=DD(o),l=sr(o);for(let c of this.validators){let u=c(o,a);if(!u){s||U9(o);continue}if(r.push({input:o,message:u}),n){if(!o.id)continue;Fr(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),i.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=FS,window.customElements.define("form-behavior",FS));function q9(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 SIe(e){(e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement&&(e.type==="text"||e.type==="email"))&&(e.value=e.value.trim())}function F9(e,t,o){let n=e.submitter;Array.from(t.elements).forEach(r=>{r instanceof HTMLButtonElement&&r.type==="submit"&&(n&&n===r?r.classList.toggle("is-loading",o):r.disabled=o)})}function DD(e){let t=null;if(e.type==="radio"){let n=sr(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 sr(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 kf(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 CIe(e){let t=document.createElement("p");return t.id=Cp(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("field-error"),t.setAttribute("data-field-error",""),kf(e).after(t),t}function Fr(e,t){let n=sr(e).querySelector("[data-field-error]")||CIe(e);n.textContent=t}function $D(e,t){return q9(e,t)&&e.type!=="hidden"}function EIe(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 AIe(e){let t=Object.fromEntries(new FormData(e)),o=[];return Object.keys(t).filter(r=>!e.elements.namedItem(r)).forEach(r=>{let i=e.querySelector(`[name="${r}"]`);i&&o.push(i)}),o}function U9(e){e.type==="checkbox"?e.closest("label.checkbox")?.classList.remove("is-invalid"):e.classList.remove(`${e.localName}-danger`)}function zIe(e){let t=e.submitter;return t instanceof HTMLButtonElement&&t.formAction!==window.location.href?t.formAction:null}var H9=globalThis.HTMLElement||null,Ep="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)},Tw,kw,Sw,qS=class extends Event{constructor(o,{tabIndex:n,tab:r,panel:i,...s}){super(o,s);Qt(this,Tw,null);Qt(this,kw,null);Qt(this,Sw,null);yt(this,Sw,r||null),yt(this,Tw,n||null),yt(this,kw,i||null)}get tabIndex(){return Ce(this,Tw)}get panel(){return Ce(this,kw)}get tab(){return Ce(this,Sw)}};Tw=new WeakMap,kw=new WeakMap,Sw=new WeakMap;var Ap,zp,at,Sf,B9,xw,G9,V9,W9,US,ND,Cu,Pp,Ip,Q9,Y9,jD,K9,Z9,Cf=class extends H9{constructor(){super(...arguments);Qt(this,at);Qt(this,Ap,null);Qt(this,zp,null);Qt(this,Pp,!1);Qt(this,Ip)}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 Ce(this,Ap)}set onTabContainerChange(o){Ce(this,Ap)&&this.removeEventListener("tab-container-change",Ce(this,Ap)),yt(this,Ap,typeof o=="object"||typeof o=="function"?o:null),typeof o=="function"&&this.addEventListener("tab-container-change",o)}get onTabContainerChanged(){return Ce(this,zp)}set onTabContainerChanged(o){Ce(this,zp)&&this.removeEventListener("tab-container-changed",Ce(this,zp)),yt(this,zp,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 Ce(this,at,Cu)[this.selectedTabIndex]}get activePanel(){return Ce(this,at,ND).assignedNodes()[0]}get vertical(){return Ce(this,at,Sf)?.getAttribute("aria-orientation")==="vertical"}set vertical(o){let n=Ce(this,at,Sf);n&&o?n.setAttribute("aria-orientation","vertical"):n.setAttribute("aria-orientation","horizontal")}connectedCallback(){Ce(this,Ip)||yt(this,Ip,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 r=document.createElement("div");r.setAttribute("part","tablist-tab-wrapper"),r.setAttribute("name","tablist-tab-wrapper");let i=document.createElement("slot");i.setAttribute("part","tablist"),i.setAttribute("name","tablist"),r.append(i);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,r,l);let c=document.createElement("slot");c.setAttribute("part","after-panels"),c.setAttribute("name","after-panels"),o.replaceChildren(n,s,c),Ce(this,Ip)&&"role"in Ce(this,Ip)?Ce(this,Ip).role="presentation":this.setAttribute("role","presentation"),this.addEventListener("keydown",this),this.addEventListener("click",this),this.selectTab(-1),this.addEventListener("tab-container-change",Sp(this,at,K9)),this.addEventListener("click",Sp(this,at,Z9)),yt(this,Pp,!0)}attributeChangedCallback(o){!this.isConnected||!this.shadowRoot||o==="vertical"&&(this.vertical=this.hasAttribute("vertical"))}handleEvent(o){if(o.type==="click")return Sp(this,at,Y9).call(this,o);if(o.type==="keydown")return Sp(this,at,Q9).call(this,o)}get selectedTabIndex(){return Ce(this,at,Cu).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(!Ce(this,Pp)){let a=Ce(this,at,US),l=Ce(this,at,B9),c=this.querySelector("[role=tablist]"),u=this.querySelector("[slot=tablist-wrapper]");u&&u.closest(this.tagName)===this?Ep(l,u):c&&c.closest(this.tagName)===this?Ep(a,c):(Ce(this,at,xw).role="tablist",Ep(a,...[...this.children].filter(y=>y.matches("[role=tab]"))));let p=Ce(this,at,Sf);if(Sp(this,at,jD).call(this,"aria-description",p),Sp(this,at,jD).call(this,"aria-label",p),this.vertical&&Ce(this,at,Sf).setAttribute("aria-orientation","vertical"),!(this.querySelector("[slot=tablist-wrapper]")?.closest(this.tagName)===this)){let y=[],h=[],v=[],_=y;for(let x of this.children){if(x.getAttribute("role")==="tab"||x.getAttribute("role")==="tablist"){_=h;continue}if(x.getAttribute("role")==="tabpanel"){_=v;continue}x.getAttribute("slot")==="before-tabs"?y.push(x):x.getAttribute("slot")==="after-tabs"?h.push(x):_.push(x)}Ep(Ce(this,at,G9),...y),Ep(Ce(this,at,V9),...h),Ep(Ce(this,at,W9),...v)}let g=this.defaultTabIndex,f=g>=0?g:this.selectedTabIndex;o=o>=0?o:Math.max(0,f)}let n=Ce(this,at,Cu),r=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 i=n[o],s=r[o];if(!(Ce(this,Pp)&&!this.dispatchEvent(new qS("tab-container-change",{tabIndex:o,bubbles:!0,cancelable:!0,tab:i,panel:s})))){for(let a of n)a.setAttribute("aria-selected","false"),a.setAttribute("tabindex","-1");for(let a of r)!a.hasAttribute("tabindex")&&!a.hasAttribute("data-tab-container-no-tabstop")&&a.setAttribute("tabindex","0");i.setAttribute("aria-selected","true"),i.setAttribute("tabindex","0"),Ep(Ce(this,at,ND),s),s.hidden=!1,Ce(this,Pp)&&(i.focus(),this.dispatchEvent(new qS("tab-container-changed",{tabIndex:o,bubbles:!0,tab:i,panel:s})))}}};Ap=new WeakMap,zp=new WeakMap,at=new WeakSet,Sf=function(){let o=this.querySelector("[slot=tablist-wrapper]");if(o?.closest(this.tagName)===this)return o.querySelector("[role=tablist]");let n=Ce(this,at,US);return Ce(this,at,xw).hasAttribute("role")?Ce(this,at,xw):n.assignedNodes()[0]},B9=function(){return this.shadowRoot.querySelector('slot[part="tablist-wrapper"]')},xw=function(){return this.shadowRoot.querySelector('div[part="tablist-tab-wrapper"]')},G9=function(){return this.shadowRoot.querySelector('slot[part="before-tabs"]')},V9=function(){return this.shadowRoot.querySelector('slot[part="after-tabs"]')},W9=function(){return this.shadowRoot.querySelector('slot[part="after-panels"]')},US=function(){return this.shadowRoot.querySelector('slot[part="tablist"]')},ND=function(){return this.shadowRoot.querySelector('slot[part="panel"]')},Cu=function(){return Ce(this,at,xw).matches("[role=tablist]")?Ce(this,at,US).assignedNodes():Array.from(Ce(this,at,Sf)?.querySelectorAll('[role="tab"]')||[]).filter(o=>o instanceof H9&&o.closest(this.tagName)===this)},Pp=new WeakMap,Ip=new WeakMap,Q9=function(o){let n=o.target?.closest?.('[role="tab"]');if(!n)return;let r=Ce(this,at,Cu);if(!r.includes(n))return;let i=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=i+1;c>=r.length&&(c=0),this.selectTab(c)}else if(a){let c=i-1;c<0&&(c=r.length-1),this.selectTab(c)}else o.code==="Home"?(this.selectTab(0),o.preventDefault()):o.code==="End"&&(this.selectTab(r.length-1),o.preventDefault())},Y9=function(o){let n=o.target?.closest?.("[role=tab]");if(!n)return;let i=Ce(this,at,Cu).indexOf(n);i>=0&&this.selectTab(i)},jD=function(o,n){this.hasAttribute(o)&&(n.setAttribute(o,this.getAttribute(o)),this.removeAttribute(o))},K9=function(o){let{tab:n}=o;n&&n.scrollIntoView({behavior:"auto",block:"nearest",inline:"center"})},Z9=function(o){let n=o.target instanceof Element&&o.target.closest("[data-tab-container-nav]");if(!n)return;let r=(n.dataset.tabContainerNav==="next"||n.dataset.tabContainerNav==="previous")&&n.dataset.tabContainerNav;if(!r)throw new Error('Supported values of [data-tab-container-nav] are "previous" and "next"');let i=this.selectedTabIndex;if(r==="next"){let s=i+1;s>=Ce(this,at,Cu).length&&(s=0),this.selectTab(s)}else{let s=i-1;s<0&&(s=Ce(this,at,Cu).length-1),this.selectTab(s)}},Xt(Cf,"observedAttributes",["vertical"]);var J9=typeof globalThis<"u"?globalThis:window;try{J9.TabContainerElement=Cf.define()}catch(e){if(!(J9.DOMException&&e instanceof DOMException&&e.name==="NotSupportedError")&&!(e instanceof ReferenceError))throw e}var Ef=document.documentElement,PIe=()=>{let e=document.querySelector(".layout-body-header"),t=e?.clientHeight||0,o=t?`${t}px`:"0px",n=e?.getBoundingClientRect().y||0,i=`${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 eG(){window.addEventListener("atlas-layout-change-event",()=>{IIe(PIe)}),window.addEventListener("resize",Ja,{passive:!0}),Ef.style.setProperty("--window-inner-height",`${window.innerHeight}px`),window.addEventListener("DOMContentLoaded",Ja),window.addEventListener("scroll",Ja,{passive:!0})}var OD="atlas-layout-exclusions";function LIe(e){return e==="__proto__"||e==="prototype"||e==="constructor"?"default":e}function FD(e={}){let{root:t=document.documentElement,storage:o=window.localStorage,storageKey:n="default",excludesKey:r,excludes:i,deferCallbacksUntil:s=Promise.resolve(),useViewTransitionOnRestore:a=!1}=e,l="layout-",c="atlas-layout-preferences",u="data-layout-restored";function p(D){return LIe(D)}function m(){let D=typeof n=="function"?n():n;return p(D)}function g(){if(r===void 0)return null;let D=typeof r=="function"?r():r;return p(D)}function f(){if(i===void 0)return;let D=g();if(D===null)return;let J=o.getItem(OD),ue={};if(J)try{let Ie=JSON.parse(J);Ie&&typeof Ie=="object"&&(ue=Ie)}catch{}let Pe={};for(let Ie of i)Pe[Ie]=!0;ue[D]=Pe;try{o.setItem(OD,JSON.stringify(ue))}catch(Ie){console.error("createLayoutState: failed to write atlas-layout-exclusions; in-memory exclusions still apply",Ie)}}function y(){let D=g();if(D===null)return new Set;let J=o.getItem(OD);if(!J)return new Set;let ue;try{ue=JSON.parse(J)}catch{return new Set}let Pe=ue&&Object.prototype.hasOwnProperty.call(ue,D)?ue[D]:null;return!Pe||typeof Pe!="object"?new Set:new Set(Object.keys(Pe))}f();let h=new Set,v=null,_=!1,x=[],z=0,C=[],H=!1;function O(D){_?D():x.push(D)}function pe(){t.setAttribute(u,"true")}function Ee(){_=!0;let D=x.splice(0);try{for(let J of D)try{J()}catch(ue){console.error("createLayoutState: a subscriber callback threw during initial flush",ue)}}finally{pe()}}function ce(D,J,ue={}){if(!D){J();return}ue.sync?bt(J):Lt(J)}function bt(D){let J=document;if(typeof J.startViewTransition!="function"){D();return}if(z>0){D();return}Bt(J,D)}function Lt(D){let J=document;if(typeof J.startViewTransition!="function"||z>0){D();return}C.push(D),!H&&(H=!0,queueMicrotask(()=>{H=!1;let ue=C.splice(0);if(ue.length!==0){if(z>0){fo(ue);return}Bt(J,()=>{fo(ue)})}}))}function Bt(D,J){let ue;try{ue=D.startViewTransition(J)}catch(vt){console.error("createLayoutState: startViewTransition threw",vt),J();return}z++;let Pe=()=>{z=Math.max(0,z-1)},Ie=ue?.finished;Ie&&typeof Ie.then=="function"?Ie.then(Pe,Pe):Pe()}function fo(D){for(let J of D)try{J()}catch(ue){console.error("createLayoutState: view-transition callback threw",ue)}}function Gt(){let D=o.getItem(c);if(!D)return{};try{return JSON.parse(D)}catch{return{}}}function co(D){o.setItem(c,JSON.stringify(D))}function Zo(){return Gt()[m()]??{}}function Rt(D){return t.classList.contains(D)}function De(D,J){return D.when==="always"?!0:D.when==="added"?J===!0:J===!1}function $(D,J){if(y().has(D))return;let ue=m();for(let Pe of h)if(Pe.className===D&&De(Pe,J)){let{callback:Ie,useViewTransition:vt}=Pe;O(()=>{ce(vt,()=>{Ie({className:D,isApplied:J,storageKey:ue})})})}}function W(D,J,ue,Pe={}){let Ie={className:D,when:J,callback:ue,useViewTransition:!!Pe.useViewTransition};h.add(Ie);let vt=Rt(D);if(De(Ie,vt)&&!y().has(D)){let qt=m(),{useViewTransition:Wt}=Ie;O(()=>{ce(Wt,()=>{ue({className:D,isApplied:vt,storageKey:qt})})})}return()=>{h.delete(Ie)}}function N(){let D=Zo(),J=y();for(let ue of Object.keys(D))J.has(ue)||t.classList.toggle(ue,D[ue])}function oe(D){return D.startsWith(l)}function be(D,J){let ue=D.filter(oe),Pe=J.filter(oe),Ie=ue.filter(qt=>!Pe.includes(qt)),vt=Pe.filter(qt=>!ue.includes(qt));return{added:Ie,removed:vt}}function I(D,J){if(D.length+J.length===0)return;let ue=y(),Pe=m(),Ie=Gt(),vt=Ie[Pe]??{},qt=!1;for(let Wt of D)ue.has(Wt)||(vt[Wt]=!0,qt=!0);for(let Wt of J)ue.has(Wt)||(vt[Wt]=!1,qt=!0);qt&&(Ie[Pe]=vt,co(Ie))}function Q(){v?.disconnect(),v=null}try{ce(a,N,{sync:!0}),v=new MutationObserver(D=>{for(let J of D){let ue=(J.oldValue??"").split(/\s+/),Pe=Array.from(J.target.classList),{added:Ie,removed:vt}=be(Pe,ue);I(Ie,vt);for(let qt of Ie)$(qt,!0);for(let qt of vt)$(qt,!1)}}),v.observe(t,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}),s.then(Ee,D=>{console.error("createLayoutState: deferCallbacksUntil rejected; flushing pending callbacks anyway",D),Ee()})}catch(D){throw console.error("createLayoutState: setup failed; marking layout as restored anyway",D),pe(),D}return{subscribe:W,getViewState:Zo,getState:Gt,stop:Q}}var tG="Zalogowano si\u0119 za pomoc\u0105 konta skojarzonego z organizacj\u0105 ({email}). Zostanie cz\u0142onkiem oznacza zaakceptowanie tego, \u017Ce w ramach cz\u0142onkostwa w us\u0142udze Microsoft Learn nasza sie\u0107 witryn i aplikacji b\u0119dzie rejestrowa\u0107 oraz \u015Bledzi\u0107 Twoje osi\u0105gni\u0119cia i dzia\u0142ania, a tak\u017Ce \u017Ce mo\u017Cemy udost\u0119pnia\u0107 Twoje wyniki i dzia\u0142ania Twojej organizacji. Dodatkowo Twoja nazwa u\u017Cytkownika, nazwa wy\u015Bwietlana, zdj\u0119cie profilowe, przynale\u017Cno\u015B\u0107, osi\u0105gni\u0119cia i dzia\u0142ania b\u0119d\u0105 publicznie widoczne. Swoje osi\u0105gni\u0119cia i dzia\u0142ania mo\u017Cesz ukry\u0107 w ustawieniach.

Po utworzeniu profilu zalecamy po\u0142\u0105czenie konta osobistego, aby mo\u017Cna by\u0142o uzyska\u0107 dost\u0119p do post\u0119pu w nauce niezale\u017Cnie od stanu zatrudnienia. Dodatkowe konta mo\u017Cna po\u0142\u0105czy\u0107 w sekcji Zarz\u0105dzanie kontem w ustawieniach profilu.";var UD="Zaakceptuj";var uc="Dodaj",oG="Dodaj sekcj\u0119",nG="Dodaj adres URL",HS="Dodane";var Cw="Dodatkowe informacje";var BS="Dodaj zawarto\u015B\u0107";var rG="B\u0142\u0105d podczas pobierania repozytorium zawarto\u015Bci i \u015Bcie\u017Cki us\u0142ugi GitHub";var iG="Token us\u0142ugi GitHub wygas\u0142. Musisz od\u015Bwie\u017Cy\u0107 uprawnienia tokenu us\u0142ugi GitHub, klikaj\u0105c poni\u017Cszy przycisk.";var sG='Chcesz prostszej edycji tekstu sformatowanego? Dowiedz si\u0119 wi\u0119cej o Edytorze us\u0142ugi Microsoft Learn!';var aG="Zaproponuj zmiany w {name}",lG='Dzi\u0119kujemy za zainteresowanie wsp\xF3\u0142tworzeniem us\u0142ugi Microsoft Learn. Kliknij przycisk Edytuj, aby otworzy\u0107 ten artyku\u0142 w {name}. Aby uzyska\u0107 wi\u0119cej informacji, zobacz wsp\xF3\u0142tworzenie.';var cG="Ponowne autoryzowanie tokenu us\u0142ugi GitHub z najnowszymi uprawnieniami";var uG="Zacznij od pocz\u0105tku";var dG="MVP",pG="Pracownik firmy Microsoft",mG="Pracownicy zewn\u0119trzni firmy Microsoft";var gG="Sta\u017Cysta firmy Microsoft";var fG="Dyrektor regionalny firmy Microsoft",hG="Cz\u0142onek programu Student Ambassadors",Af="Alfabetycznie (A\u2013Z)",zf="Alfabetycznie (Z\u2013A)",qD="Analiza";var HD="{AppliedSkills}",BD="Uko\u0144czono {AppliedSkills}";var bG="zapytano {time}";var GD="Kamienie milowe";var yG="dzie\u0144 temu";var _G="Dodaj parametr",wG="Zaawansowany";var ra="wszystkie",GS="Wszystkie interfejsy API",vG="Wszystkie filtry";var VS="Wszystkie pakiety";var xG="Masz ju\u017C konto? Zaloguj";var TG="minut\u0119 temu",kG="miesi\u0105c temu";var SG="godzin\u0119 temu",Ur="Anonimowe";var CG="1 odpowied\u017A",EG="Odpowiedzi: {count}";var VD="Jedna z odpowiedzi zosta\u0142a zaakceptowana przez autora pytania.";var WS="interfejs API";var AG="Klucz interfejsu API",QS="Dokumentacja interfejs\xF3w API platformy {platformName}",WD="Wyszukiwanie interfejs\xF3w API jest niedost\u0119pne. Spr\xF3buj ponownie p\xF3\u017Aniej.";var zG="{appliedSkillTitle} \u2014 ocena {AppliedSkills}",PG="Od\u015Bwie\u017C, aby kontynuowa\u0107. Wr\xF3cisz do tego miejsca w laboratorium, w kt\xF3rym zosta\u0142o opuszczone.";var IG="Ta ocena jest bardzo popularna i jeste\u015Bmy na granicy, ale ci\u0119\u017Cko pracujemy, aby pomie\u015Bci\u0107 wi\u0119cej uczni\xF3w. Wr\xF3\u0107 po 10 minutach i spr\xF3buj ponownie.",YS="Referencje Microsoft",LG="Czas si\u0119 sko\u0144czy\u0142.",RG="Osi\u0105gni\u0119to limit czasu.",MG="Twoja ocena zostanie teraz przeanalizowana.",$G="Zobacz wyniki",DG="Aktualnie mierzymy si\u0119 z problemem, kt\xF3ry aktywnie badamy. Spr\xF3buj na razie u\u017Cy\u0107 innej oceny.",NG="Wyst\u0105pi\u0142 b\u0142\u0105d. Aktywuj ponownie po 10 minutach.",jG="Twoje konto zosta\u0142o oflagowane ze wzgl\u0119du na nietypowe dzia\u0142anie. W zwi\u0105zku z tym dost\u0119p do umiej\u0119tno\u015Bci {AppliedSkills} Microsoft zosta\u0142 wstrzymany. U\u017Cyj przycisku Wstecz, aby powr\xF3ci\u0107 do strony szczeg\xF3\u0142\xF3w po\u015Bwiadcze\u0144.";var OG="Wy\u015Bwietl moje referencje";var FG="Zapisz kolekcj\u0119, aby wr\xF3ci\u0107 do niej p\xF3\u017Aniej. Mo\u017Ce ona wygasn\u0105\u0107, je\u015Bli ocena zostanie zaktualizowana.",KS="Przejd\u017A do strony szczeg\xF3\u0142\xF3w",QD="Poprzednie pr\xF3by mo\u017Cna znale\u017A\u0107 na stronie szczeg\xF3\u0142\xF3w referencji";var UG="Od\u015Bwie\u017C list\u0119",qG="B\u0119dziesz kwalifikowa\u0107 si\u0119 do ponownego podej\u015Bcia do oceny za:",HG="Zapisz kolekcj\u0119",BG="Wydajno\u015B\u0107 wed\u0142ug zadania",GG="Nadal trwa ocenianie",VG="Dostosowana kolekcja maj\u0105ca na celu popraw\u0119 Twoich wynik\xF3w",WG="Materia\u0142 {AppliedSkills} \u2013 {date}",QG='Twoje wyniki s\u0105 ci\u0105gle przetwarzane. Je\u015Bli nie zobaczysz wyniku w ci\u0105gu {duration} sekund, od\u015Bwie\u017C stron\u0119.',YG="Na podstawie Twoich wynik\xF3w zebrali\u015Bmy materia\u0142y szkoleniowe z obszar\xF3w, w kt\xF3rych mo\u017Cesz si\u0119 poprawi\u0107. Materia\u0142y szkoleniowe obejmuj\u0105:",KG="Uzyskane po\u015Bwiadczenia {AppliedSkills}",ZG="Niestety, wyst\u0105pi\u0142 problem, spr\xF3buj ponownie p\xF3\u017Aniej";var YD="Twoje wyniki oceny",ZS="Wyniki oceny dla",JG="Dowiedz si\u0119, jak oceniana jest ta ewaluacja",XG='Ta ocena jest obecnie w trakcie konserwacji. Zapoznaj si\u0119 z innymi po\u015Bwiadczeniami firmy Microsoft w mi\u0119dzyczasie.',eV='Twoje konto lub po\u0142\u0105czenie zosta\u0142o oflagowane ze wzgl\u0119du na nietypow\u0105 aktywno\u015B\u0107. Z tego powodu zawiesili\u015Bmy Tw\xF3j dost\u0119p do umiej\u0119tno\u015Bci {AppliedSkills} Microsoft. Dowiedz si\u0119 wi\u0119cej.',tV="Trwa rozpatrywanie Twojego odwo\u0142ania.";var oV="(Przestarza\u0142e)",nV="{version} i inne wersje",rV="{version1} i {version2}",iV="Zastosuj",JS="Architektura",sV="Pomys\u0142 na rozwi\u0105zanie",Pf="Poprzednie wersje",Xa="Czy na pewno?",aV="Usuni\u0119cia danych nie mo\u017Cna cofn\u0105\u0107.";var lV="Artyku\u0142";var cV="sekund\u0119 temu";var uV="Zadaj pytanie spo\u0142eczno\u015Bci";var XS="Oceny";var dV="Wymagana autoryzacja";var pV="tydzie\u0144 temu";var mV="Dokumentacja platformy Azure";var gV="\u2014 Wybierz warto\u015B\u0107 \u2014",dc="Wstecz";var fV="Powr\xF3t do opinii";var hV="Pocz\u0105tkuj\u0105cy";var If="Tre\u015B\u0107";var bV="Usu\u0144 zak\u0142adk\u0119 dla strony {title}",yV="Dodaj zak\u0142adk\u0119 dla strony {title}";var _V="Wyst\u0105pi\u0142 problem z ga\u0142\u0119zi\u0105 \u201E{branchFallbackFrom}\xA8. W zast\u0119pstwie nast\u0105pi\u0142o przekierowanie do ga\u0142\u0119zi \u201E{branch}\u201D.",wV="Selektor ga\u0142\u0119zi",eC="Linki do stron nadrz\u0119dnych";var tC="Wszystkie linki do stron nadrz\u0119dnych";var vV="Przegl\u0105daj egzaminy";var Eu="Przegl\u0105daj certyfikaty",pc="Przegl\u0105daj referencje";var xV="Kategoria",TV="Kategorie",kV="Uwaga";var Ne="Anuluj",oC="Podpisy wy\u0142\u0105czone";var mc="Certyfikacja";var SV="Transfer do Pearson Vue";var CV="Wprowad\u017A sw\xF3j adres, aby firma Pearson Vue, dostawca egzaminu, mog\u0142a zweryfikowa\u0107 Twoj\u0105 to\u017Csamo\u015B\u0107.",EV="Wprowad\u017A sw\xF3j numer telefonu i kontaktowy adres e-mail, aby firma Pearson Vue, dostawca egzaminu, mog\u0142a skontaktowa\u0107 si\u0119 z Tob\u0105, je\u015Bli wyst\u0105pi\u0105 jakiekolwiek problemy podczas egzaminu.",AV="Wszelkie rabaty b\u0119d\u0105 stosowane przez firm\u0119 Pearson Vue podczas p\u0142atno\u015Bci.",zV="Je\u015Bli masz kod kuponu, wprowad\u017A go w witrynie firmy Pearson Vue podczas p\u0142atno\u015Bci.",PV="Przejd\u017A do portalu Pearson Vue, aby kontynuowa\u0107 rejestracj\u0119 na egzamin.",IV='Firma Microsoft nie b\u0119dzie przechowywa\u0107 podanych informacji o adresie i numerze telefonu. Teraz przeniesiemy Ci\u0119 do witryny firmy Pearson Vue w celu uko\u0144czenia rejestracji do egzaminu. O\u015Bwiadczenie o ochronie prywatno\u015Bci w firmie Microsoft',LV="Wiersz adresu 1",RV="Adres 2",MV="City",$V="Stan",DV="Postal code",NV="Kod kraju/regionu",KD="Wprowad\u017A adres",jV="Wprowad\u017A miasto";var OV="Wprowad\u017A kod pocztowy",FV="Wprowad\u017A numer telefonu",UV="Wprowad\u017A kontaktowy adres e-mail";var qV="Nazwa kolekcji";var Ew="Niepowodzenie";var nC="Niestety wyst\u0105pi\u0142 b\u0142\u0105d.",Aw="Zdane";var HV="Materia\u0142 umo\u017Cliwiaj\u0105cy ocen\u0119 \u2014 {date}";var BV="Zapisz kolekcj\u0119";var GV="Materia\u0142 odnowiony \u2014 {date}";var VV="Jest to tymczasowa strona podgl\u0105du, kt\xF3ra wyga\u015Bnie {temporaryPreviewExpiresAt}. Po wyga\u015Bni\u0119ciu b\u0119dzie konieczne ponowne wygenerowanie jej z warsztatu element\xF3w przed ponownym wy\u015Bwietleniem podgl\u0105du.",WV="Interfejs API platformy oceny",QV="Sprawd\u017A swoj\u0105 odpowied\u017A",YV="Ocena odnowienia certyfikatu {certificationName}",KV="Gratulujemy, zdane!",el="Certyfikacja firmy Microsoft",ZV="Certyfikat {certificationName} zosta\u0142 odnowiony i przed\u0142u\u017Cony o rok.",JV="Zobacz swoje wyniki",XV="Pytanie {current} z {total}",e7="{current} z {total}",t7="Wybierz tylko jedn\u0105 odpowied\u017A.",o7="Czas wygas\u0142.",n7="Osi\u0105gni\u0119to limit czasu. Twoja ocena zostanie teraz przeanalizowana.",r7="Zobacz wyniki",i7="Zaznacz wszystkie prawid\u0142owe odpowiedzi.",s7="Nast\u0119pne",a7="Trwa przygotowywanie oceny...",l7="Wyst\u0105pi\u0142 nieoczekiwany b\u0142\u0105d. Spr\xF3buj ponownie p\xF3\u017Aniej. Je\u015Bli ten problem b\u0119dzie si\u0119 powtarza\u0107, skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105 ds. certyfikat\xF3w.",c7="Rozumiem",u7="Spr\xF3buj ponownie przes\u0142a\u0107 ocen\u0119 odnowienia. Je\u015Bli ten problem b\u0119dzie si\u0119 powtarza\u0107, skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105 ds. certyfikat\xF3w.",d7="Skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105 ds. certyfikat\xF3w",p7="Ju\u017C przypisano wynik do tej oceny",m7="Wygl\u0105da na to, \u017Ce ta ocena zosta\u0142a ju\u017C przes\u0142ana. Wyniki oceny mo\u017Cesz wy\u015Bwietli\u0107 na stronie szczeg\xF3\u0142\xF3w odnawiania certyfikatu. Je\u015Bli s\u0105dzisz, \u017Ce jest to b\u0142\u0105d, i potrzebujesz pomocy, skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105 ds. certyfikat\xF3w.",rC="Przejd\u017A do szczeg\xF3\u0142\xF3w odnawiania",g7="Pozosta\u0142y czas",Lp="Ta odpowied\u017A jest nieprawid\u0142owa.",Rp="Ta odpowied\u017A jest prawid\u0142owa.",f7="Poka\u017C wszystkie pytania",h7="Data oceny:",b7="Certyfikat jest odnawiany na rok. Pami\u0119taj, \u017Ce aktualizacja daty wyga\u015Bni\u0119cia certyfikatu mo\u017Ce zaj\u0105\u0107 kilka minut.",y7="Niestety, te dostosowane materia\u0142y szkoleniowe s\u0105 nieaktualne dla bie\u017C\u0105cej oceny. Zapoznaj si\u0119 ze stron\u0105 szczeg\xF3\u0142\xF3w oceny, aby uzyska\u0107 najnowsze materia\u0142y przygotowawcze.";var iC="Dostosowane materia\u0142y szkoleniowe umo\u017Cliwiaj\u0105ce rozwijanie umiej\u0119tno\u015Bci";var sC="Ze wzgl\u0119du na to, \u017Ce uzyskano ni\u017Cszy wynik w sekcji \u201E{section}\u201D:",ZD="Wyniki oceny odnowienia certyfikatu {certificationName}";var _7="Wyniki oceny odnowienia dla";var w7="Dowiedz si\u0119 wi\u0119cej na temat odnawiania tego certyfikatu",v7="Wymagane do zdania: {percent}%",aC="Wyniki wed\u0142ug sekcji oceny",x7="Chcesz ponownie podej\u015B\u0107 do oceny?";var T7="Kwalifikujesz si\u0119 do ponownego podej\u015Bcia do oceny. Do {date} mo\u017Cesz podj\u0105\u0107 tyle ponownych pr\xF3b, ile potrzebujesz. Po drugiej pr\xF3bie musisz poczeka\u0107 24 godziny mi\u0119dzy ponownymi podej\u015Bciami.",JD="Zobacz swoje certyfikaty",k7="Przeszukaj poprzednie pr\xF3by ocen w swoim profilu lub przejd\u017A do przegl\u0105du certyfikatu",S7="Twoje og\xF3lne wyniki:";var C7="Om\xF3wienie certyfikacji";var tl="Certyfikaty";var E7="Typ certyfikacji",A7="Typy certyfikacji",ia="Zadanie";var z7="Aktywne od {start} do {end}";var P7="Kolekcja wyzwania";var I7="Znajd\u017A produkt";var L7="Nie masz jeszcze \u017Cadnych wyzwa\u0144";var XD="Data zako\u0144czenia nie mo\u017Ce by\u0107 wcze\u015Bniejsza od daty rozpocz\u0119cia. Ponownie wybierz dat\u0119 zako\u0144czenia.",R7="Godzina zako\u0144czenia nie mo\u017Ce by\u0107 wcze\u015Bniejsza od godziny rozpocz\u0119cia. Ponownie wybierz godzin\u0119 zako\u0144czenia.",M7="Godzina rozpocz\u0119cia nie mo\u017Ce by\u0107 wcze\u015Bniejsza ni\u017C bie\u017C\u0105ca godzina. Wybierz ponownie godzin\u0119 rozpocz\u0119cia.";var lC="Zobacz, czego jeszcze mo\u017Cesz si\u0119 nauczy\u0107";var cC="{score}%",$7="Wy\u015Bwietl wyzwanie";var Lf="Wyzwania";var e1="Dodaj do wyzwa\u0144",uC="Dodano do wyzwa\u0144";var D7="Zarz\u0105dzanie {title} w wyzwaniach",N7="Dodawanie {title} do wyzwania";var t1="Brak element\xF3w w tej sekcji.";var dC="Data rozpocz\u0119cia",pC="Godzina rozpocz\u0119cia",mC="Data zako\u0144czenia",gC="Godzina zako\u0144czenia";var j7="Niestety, to wyzwanie jest prywatne.",O7="To wyzwanie nie jest widoczne dla innych u\u017Cytkownik\xF3w.",F7="Mo\u017Cesz przejrze\u0107 swoje wyzwania w profilu u\u017Cytkownika.",U7="Wy\u015Bwietl swoje wyzwania",q7="Przejd\u017A do rankingu";var zw="Kopiuj wyzwanie",H7="Masz zamiar skopiowa\u0107 to wyzwanie. Nowe wyzwanie b\u0119dzie mia\u0142o te same szczeg\xF3\u0142y i zawarto\u015B\u0107. Po utworzeniu b\u0119dzie mo\u017Cna go edytowa\u0107 za po\u015Brednictwem strony szczeg\xF3\u0142\xF3w.",B7="Usu\u0144 wyzwanie",G7="Data rozpocz\u0119cia musi przypada\u0107 w przysz\u0142o\u015Bci.",V7="Data zako\u0144czenia musi by\u0107 p\xF3\u017Aniejsza ni\u017C data rozpocz\u0119cia lub bie\u017C\u0105ca data.",W7="Wybierz prawid\u0142ow\u0105 podstawow\u0105 kwesti\u0119.",Q7="Wprowad\u017A prawid\u0142ow\u0105 nazw\u0119 docelow\u0105.",Y7="Wprowad\u017A prawid\u0142owy identyfikator skojarzony z wybranymi odbiorcami tego wyzwania.",K7="Wprowad\u017A prawid\u0142owy cel tego wyzwania.",Z7="Nie mo\u017Cesz wykona\u0107 tej akcji.";var Pw="Ranking";var J7='Dodano do {collectionName}',X7='Dodano do wyzwa\u0144',eW="Zaloguj si\u0119, aby doda\u0107 t\u0119 pozycj\u0119 do wyzwania.",tW='Usuni\u0119to z kolekcji {collectionName}',oW='Usuni\u0119to z wyzwa\u0144';var nW="Wykryto naruszenie",rW='Tytu\u0142 lub opis tego wyzwania albo tytu\u0142 lub opis sekcji kolekcji tego wyzwania zosta\u0142 usuni\u0119ty z powodu naruszenia naszych warunk\xF3w u\u017Cytkowania. Zosta\u0142y one zg\u0142oszone r\u0119cznie lub zidentyfikowane za pomoc\u0105 automatycznego wykrywania przed podj\u0119ciem dzia\u0142a\u0144. Aby uzyska\u0107 wi\u0119cej informacji, zapoznaj si\u0119 z naszymi warunkami u\u017Cytkowania.',o1='Je\u015Bli tytu\u0142 lub opis tego wyzwania zosta\u0142 usuni\u0119ty, przejd\u017A do strony szczeg\xF3\u0142\xF3w, aby zaktualizowa\u0107.';var iW="Je\u015Bli tytu\u0142 lub opis sekcji kolekcji tego wyzwania zosta\u0142 usuni\u0119ty, przejrzyj i zaktualizuj go poni\u017Cej.",sW="Ten alert b\u0119dzie nadal wy\u015Bwietlany do czasu dokonana aktualizacji.";var aW="Zapytaj platform\u0119 Learn",lW="Opisz, co chcesz zrobi\u0107",cW="Czat zosta\u0142 zresetowany",uW="Powr\xF3t do czatu",fC="Generowanie odpowiedzi zosta\u0142o zatrzymane. Chcesz spr\xF3bowa\u0107 czego\u015B innego? Wypr\xF3buj nasz przewodnik po poleceniach, wybieraj\u0105c przycisk \u201EWy\u015Bwietl polecenia\u201D.",dW="Czat",Rf="Historia czatu",pW="Confirm",n1="Confirm delete",mW='You requested to delete "{name}". This is an irreversible action. Are you sure you want to delete this?',gW="No chats to display",r1="Rename",fW="Rename conversation",hW="Zawarto\u015B\u0107 wygenerowana przez sztuczn\u0105 inteligencj\u0119 mo\u017Ce by\u0107 niepoprawna",bW="Dok\u0142adna/odpowiednia zawarto\u015B\u0107",yW="Kompletna/przejrzysta zawarto\u015B\u0107",_W="Szybka odpowied\u017A",wW="Niedok\u0142adna/nieistotna zawarto\u015B\u0107",vW="Niekompletna/niejasna zawarto\u015B\u0107",xW="Obra\u017Aliwa/nieodpowiednia zawarto\u015B\u0107",TW="Powolna reakcja",i1="Co\u015B innego",kW="Dzi\u0119kujemy za opini\u0119.",s1="Niestety, nie mog\u0119 o tym rozmawia\u0107. Wprowad\u017A inny temat lub wypr\xF3buj przewodnik po poleceniach, wybieraj\u0105c poni\u017Cej przycisk \u201EWy\u015Bwietl polecenia\u201D.",a1="Nie teraz",l1="Poznaj naszego asystenta AI, us\u0142ug\u0119 Ask Learn",Iw="Asystent Ask Learn to asystent sztucznej inteligencji, kt\xF3ry mo\u017Ce odpowiada\u0107 na pytania, wyja\u015Bnia\u0107 poj\u0119cia i definiowa\u0107 terminy przy u\u017Cyciu zaufanej dokumentacji firmy Microsoft.",c1="Sprawd\u017A dok\u0142adno\u015B\u0107",u1="Us\u0142uga Ask Learn jest w wersji zapoznawczej. Weryfikuj odpowiedzi, poniewa\u017C zawarto\u015B\u0107 generowana przez sztuczn\u0105 inteligencj\u0119 mo\u017Ce by\u0107 niedok\u0142adna. U\u017Cyj przycisk\xF3w opinii, aby pom\xF3c nam ulepszy\u0107 t\u0119 us\u0142ug\u0119.",d1='Aby dowiedzie\u0107 si\u0119 wi\u0119cej o przypadkach u\u017Cycia i ograniczeniach, przeczytaj notatki dotycz\u0105ce przejrzysto\u015Bci us\u0142ugi Ask Learn.',p1="Wypr\xF3buj us\u0142ug\u0119 Ask Learn",SW="Potwierdzenie",hC="Aby dostarcza\u0107 bardziej istotne i spersonalizowane odpowiedzi, us\u0142uga Ask Learn przechowuje transkrypcje czat\xF3w.",CW="Pozw\xF3l serwisowi Ask Learn na u\u017Cywanie poprzednich rozm\xF3w do spersonalizowania odpowiedzi.",EW="Przed kontynuowaniem zaznacz pole wyboru, aby potwierdzi\u0107 wytyczne.",AW="Aby u\u017Cy\u0107 funkcji Ask Learn, musisz potwierdzi\u0107 poprzednie wykorzystanie czatu. Wi\u0119cej informacji mo\u017Cna przeczyta\u0107 w uwagach dotycz\u0105cych przejrzysto\u015Bci funkcji Ask Learn.",zW="Przejrzyj potwierdzenia",Mf="Zaloguj si\u0119, aby u\u017Cy\u0107 asystenta Ask Learn.",PW="Niestety, zosta\u0142a osi\u0105gni\u0119ta maksymalna liczba odpowiedzi, kt\xF3rych mog\u0119 udzieli\u0107 w konwersacji. Wybierz pozycj\u0119 \u201ENowy czat\u201D, aby rozpocz\u0105\u0107 now\u0105 konwersacj\u0119.",bC="Wi\u0119cej opcji",IW="Maksymalna liczba znak\xF3w: {max}",$f="Nowy czat",LW="Nowa wiadomo\u015B\u0107 z us\u0142ugi Ask Learn",Df="Wersja zapoznawcza",RW="Podgl\u0105d zawarto\u015Bci, kt\xF3ra zostanie udost\u0119pniona",MW="Przewodnik polece\u0144",m1="Podaj jak najwi\u0119cej szczeg\xF3\u0142\xF3w, ale nie do\u0142\u0105czaj \u017Cadnych prywatnych lub poufnych informacji";var $W="Ponownie wygeneruj";var DW="Wysy\u0142anie",NW="Zatrzymaj generowanie",jW="Podaj wi\u0119cej informacji",yC="Obecnie wyst\u0119puje du\u017Ce zapotrzebowanie. Spr\xF3buj ponownie za kilka minut.",OW="Ta wiadomo\u015B\u0107 jest pomocna",FW="Ta wiadomo\u015B\u0107 nie jest pomocna",Lw="Niestety, nie mog\u0119 pom\xF3c w tej kwestii. Wypr\xF3buj przewodnik po poleceniach, wybieraj\u0105c poni\u017Cej przycisk \u201EWy\u015Bwietl polecenia\u201D.",ar="Niestety, wyst\u0105pi\u0142 problem. Spr\xF3buj ponownie lub podziel si\u0119 swoj\u0105 opini\u0105.",UW="Niekt\xF3re znaki w wiadomo\u015Bci nie s\u0105 obs\u0142ugiwane. Czy mo\u017Cesz spr\xF3bowa\u0107 ponownie przy u\u017Cyciu innych znak\xF3w?",qW="Napisz wiadomo\u015B\u0107, aby kontynuowa\u0107",_C="Wiadomo\u015B\u0107 musi zawiera\u0107 co najmniej 10 znak\xF3w",g1="Przekroczono limit znak\xF3w",f1="Wy\u015Bwietlanie podpowiedzi",wC="Pracujemy nad tym...",HW="{count} z {total} odpowiedzi";var BW="Tylko w\u0142a\u015Bciciel oceny mo\u017Ce wy\u015Bwietla\u0107 notatki i aktualizowa\u0107 elementy listy kontrolnej";var GW="Cytat";var Nf="Wyczy\u015B\u0107 wszystkie",VW="Wyczy\u015B\u0107 filtr",WW="Wyczy\u015B\u0107 formularz",QW="Wyczy\u015B\u0107 autora pytania";var YW="Wyczy\u015B\u0107 termin",KW="Kliknij, aby zasubskrybowa\u0107 \u017Ar\xF3d\u0142o danych RSS",he="Zamknij";var ZW="Zamknij wyszukiwanie",JW='Nie mo\u017Cna uruchomi\u0107 us\u0142ugi Cloud Shell. Zobacz przewodnik rozwi\u0105zywania problem\xF3w.';var XW="Przyk\u0142ad kodu",h1="Przyk\u0142ady kodu";var vC="Zwi\u0144",eQ="Zwi\u0144 tabel\u0119",ms="Kolekcja",tQ="Oficjalna kolekcja";var oQ="Kopia tej kolekcji zosta\u0142a zapisana w Twoim profilu",nQ="Liczba dni uko\u0144czenia punktu kontrolnego musi by\u0107 liczb\u0105.",b1="Opis (opcjonalnie)";var rQ="Edytuj sekcj\u0119",iQ="Maksymalna d\u0142ugo\u015B\u0107 wynosi 550 znak\xF3w.",sQ="Tytu\u0142 sekcji nie mo\u017Ce by\u0107 taki sam jak inny tytu\u0142 w kolekcji.",y1="Nowa sekcja",aQ="Zapisz sekcj\u0119",_1="Sekcja {number}";var lQ="Maksymalna d\u0142ugo\u015B\u0107 wynosi 100 znak\xF3w.",cQ="Opis lub tytu\u0142 sekcji nie przeszed\u0142 us\u0142ugi weryfikacji firmy Microsoft.",uQ="Nie mo\u017Cna zapisa\u0107 sekcji. Spr\xF3buj ponownie.",dQ="Dodaj adres URL",pQ="Nazwa strony",mQ="Wprowad\u017A tytu\u0142.",gQ="Tytu\u0142 musi sk\u0142ada\u0107 si\u0119 z od 2 do 100 znak\xF3w.",fQ="Nie mogli\u015Bmy zapisa\u0107 adresu URL. Spr\xF3buj ponownie.",hQ="Adres\xF3w URL nie mo\u017Cna dodawa\u0107 do tej kolekcji.",bQ="Adres URL musi zaczyna\u0107 si\u0119 od http:// lub https://. Linki AKA s\u0105 dozwolone.",yQ="Format adresu URL jest nieprawid\u0142owy.";var _Q="Dodaj do kolekcji",w1="Dodano do kolekcji",v1="Dodaj do kolekcji",xC="Dodaj do kolekcji",wQ='Dodaj stron\u0119 \u201E{pageName}\u201D do:',TC="Nie mo\u017Cna odnale\u017A\u0107 kolekcji",vQ="Niestety! Wygl\u0105da na to, \u017Ce ta kolekcja nie istnieje lub nie mo\u017Cna jej odnale\u017A\u0107 z jednego z nast\u0119puj\u0105cych powod\xF3w:",xQ="W\u0142a\u015Bciciel m\xF3g\u0142 zmieni\u0107 adres URL kolekcji, co mo\u017Ce prowadzi\u0107 do tego, \u017Ce nie mo\u017Cna jej znale\u017A\u0107, je\u015Bli u\u017Cytkownicy uzyskuj\u0105 do niej dost\u0119p za pomoc\u0105 starego adresu URL.",TQ="W\u0142a\u015Bciciel kolekcji m\xF3g\u0142 ca\u0142kowicie j\u0105 usun\u0105\u0107, co sprawia, \u017Ce nie mo\u017Cna jej renderowa\u0107.";var kQ='Je\u015Bli kolekcja lub jej zawarto\u015B\u0107 narusza warunki u\u017Cytkowania witryny Microsoft Learn.',SQ="Oto kilka przydatnych link\xF3w:",CQ="Strona g\u0142\xF3wna us\u0142ugi Microsoft Learn: zdobywanie umiej\u0119tno\u015Bci, kt\xF3re otwieraj\u0105 drzwi do kariery",EQ="Wyszukaj | Microsoft Learn",AQ="Zasoby us\u0142ugi Microsoft Learn | Microsoft Learn",zQ="Utw\xF3rz kolekcj\u0119 Microsoft Learn",PQ='Zaktualizowano kolekcje',x1="Pracownicy firmy Microsoft s\u0105 uprawnieni do oznaczania kolekcji etykiet\u0105 \u201ECreated by Microsoft\u201D (Utworzone przez firm\u0119 Microsoft).",kC="Wi\u0119cej informacji",Mp="Konwertowanie na kolekcj\u0119 oficjaln\u0105",SC="Kolekcja oficjalna reprezentuje firm\u0119 Microsoft, dlatego upewnij si\u0119, \u017Ce kolekcja jest kompletna, bez b\u0142\u0119d\xF3w typograficznych, a zawarto\u015B\u0107 ma w\u0142a\u015Bciw\u0105 kolejno\u015B\u0107. Je\u015Bli tak nie jest, edytuj kolekcj\u0119 w razie potrzeby. Gdy kolekcja zostanie oznaczona jako oficjalna, nie mo\u017Cna tego cofn\u0105\u0107.";var IQ="Kolekcja jest niedost\u0119pna",LQ="Czy chcesz teraz przekonwertowa\u0107 t\u0119 kolekcj\u0119 na kolekcj\u0119 oficjaln\u0105?";var CC="Kolekcja o tytule \u201E{title}\u201D ju\u017C istnieje. Tytu\u0142y kolekcji powinny by\u0107 unikatowe.",Au="Tytu\u0142 jest wymagany i mo\u017Ce si\u0119 sk\u0142ada\u0107 z maksymalnie 100 znak\xF3w.",Rw="Opis jest opcjonalny i mo\u017Ce si\u0119 sk\u0142ada\u0107 z maksymalnie 550 znak\xF3w.",EC="Nieprawid\u0142owa zawarto\u015B\u0107. Usu\u0144 wszystkie numery telefon\xF3w, adresy e-mail i adresy URL.";var RQ="Po ustawienia na prywatn\u0105 ta kolekcja mo\u017Ce by\u0107 wy\u015Bwietlana tylko przez Ciebie. Kolekcja, kt\xF3ra nie jest prywatna, mo\u017Ce by\u0107 wy\u015Bwietlana przez ka\u017Cdego.",AC="Ustaw jako prywatn\u0105",MQ="Kolekcja u\u017Cytkownika {userDisplayName} {index}",T1="Utworzone przez: {name}",$Q="Utworzone przez u\u017Cytkownika platformy Microsoft Learn";var DQ="Usuwanie kolekcji",NQ="Wy\u015Bwietlaj moj\u0105 nazw\u0119";var zC="Edytowanie mojej kolekcji",k1="dodaj opis",Mw="Edytuj opis",$w="Edytuj tytu\u0142",jQ="Edytowanie wynik\xF3w nauki",OQ="Opis tej kolekcji",FQ="Wymagany jest co najmniej jeden wynik.",UQ="Tytu\u0142 tej kolekcji",qQ="Nie mogli\u015Bmy zapisa\u0107 tytu\u0142u. Spr\xF3buj ponownie.",HQ="Nie mogli\u015Bmy zapisa\u0107 opisu. Spr\xF3buj ponownie.",BQ="Nie uda\u0142o nam si\u0119 zapisa\u0107 Twoich wynik\xF3w nauki. Spr\xF3buj ponownie.",PC="Ulubione",GQ="Je\u015Bli ten link zosta\u0142 Ci udost\u0119pniony, popro\u015B o nowy link.",IC="\u017Badne wprowadzone zmiany nie wp\u0142yn\u0105 na oryginaln\u0105 kolekcj\u0119";var VQ="Elementy w tej kolekcji";var WQ='Brak element\xF3w w tej kolekcji. Dodaj elementy ze strony przegl\u0105dania szkole\u0144 w witrynie Learn.',QQ="\u015Acie\u017Cki szkoleniowe: {numberOf}",YQ="{numberOf} \u015Bcie\u017Cka szkoleniowa",KQ="Kolekcja jest kompletna i skorygowana",ZQ="Potrwa to do 14 dni, ale mo\u017Ce zosta\u0107 uko\u0144czone wcze\u015Bniej. Po jego zlokalizowaniu wszystkie przysz\u0142e zmiany zostan\u0105 automatycznie przes\u0142ane do potoku lokalizacji.",JQ="Tytu\u0142, opis, sekcje i opisy sekcji zostan\u0105 przet\u0142umaczone na ka\u017Cdy z j\u0119zyk\xF3w obs\u0142ugiwanych przez us\u0142ug\u0119 Microsoft Learn",LC="Lokalizuj",XQ="Upewnij si\u0119, \u017Ce s\u0105 spe\u0142nione nast\u0119puj\u0105ce kwestie:",eY="Ta kolekcja nie zosta\u0142a jeszcze zlokalizowana w Twoim j\u0119zyku.",tY="J\u0119zyk \u017Ar\xF3d\u0142owy to angielski",RC="Ta kolekcja zosta\u0142a przes\u0142ana do zlokalizowania",oY="Dzi\u0119kujemy za przes\u0142anie oficjalnej kolekcji do lokalizacji.",MC="Liczba modu\u0142\xF3w: {numberOf}",$C="Modu\u0142: {numberOf}";var nY="Przenie\u015B element w d\xF3\u0142",rY="Przenie\u015B element w g\xF3r\u0119";var iY="Przenie\u015B sekcj\u0119 w d\xF3\u0142",sY="Przenie\u015B sekcj\u0119 w g\xF3r\u0119",aY="Oficjalna kolekcja od firmy Microsoft",lY="w imieniu",cY='Usuni\u0119to z kolekcji {collectionName}',uY='Usuni\u0119to z kolekcji';var dY="Dodawanie do kolekcji jest wy\u0142\u0105czone w przypadku zawarto\u015Bci wymagaj\u0105cej autoryzacji.",pY='Dodano do {collectionName}',mY='Dodano do kolekcji',gY="Zapisz wszystkie elementy w tej kolekcji jako nowe";var S1="Zaloguj si\u0119, aby doda\u0107 t\u0119 pozycj\u0119 do kolekcji.",DC="Niestety, ta kolekcja jest prywatna.",fY="Tw\xF3rca tej kolekcji oznaczy\u0142 j\u0105 jako prywatn\u0105 i nie jest obecnie widoczna dla innych u\u017Cytkownik\xF3w.",hY="Ta kolekcja nie istnieje lub zosta\u0142a usuni\u0119ta.",bY='Mo\u017Cesz r\xF3wnie\u017C wr\xF3ci\u0107 do kolekcji.',yY="Mo\u017Cesz przegl\u0105da\u0107 swoje kolekcje w profilu u\u017Cytkownika.",_Y="Wy\u015Bwietl swoje kolekcje",wY="Zarz\u0105dzaj modu\u0142em {title} w kolekcjach",vY="Dodaj modu\u0142 {title} do kolekcji",xY="T\u0119 kolekcj\u0119 mo\u017Cna znale\u017A\u0107 w profilu us\u0142ugi Learn";var TY="Wykryto naruszenie",kY='Tytu\u0142 lub opis tej kolekcji lub tytu\u0142 lub opis sekcji tej kolekcji zosta\u0142 usuni\u0119ty z powodu naruszenia naszych Warunk\xF3w u\u017Cytkowania. Zosta\u0142y one zg\u0142oszone r\u0119cznie lub zidentyfikowane za pomoc\u0105 automatycznego wykrywania przed podj\u0119ciem dzia\u0142a\u0144. Aby uzyska\u0107 wi\u0119cej informacji, zapoznaj si\u0119 z naszymi warunkami u\u017Cytkowania.',SY="Ten alert b\u0119dzie nadal wy\u015Bwietlany do czasu dokonana aktualizacji.",CY="Zg\u0142oszona kolekcja",EY='Zg\u0142oszono problem dotycz\u0105cy tej kolekcji i jest ona obecnie poddawana przegl\u0105dowi przez firm\u0119 Microsoft. Aby uzyska\u0107 wi\u0119cej informacji, zapoznaj si\u0119 z naszymi warunkami u\u017Cytkowania.';var qr="Uko\u0144czone";var AY="Gratulacje!";var zY="Skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105",C1="Kontaktowy adres e-mail";var E1="Obszar zawarto\u015Bci",PY="Selektor j\u0119zyka zawarto\u015Bci. Obecnie ustawiono j\u0119zyk {language}.";var IY='Pami\u0119taj: autor utworzy\u0142 ten artyku\u0142 z pomoc\u0105 sztucznej inteligencji. Dowiedz si\u0119 wi\u0119cej',LY='Pami\u0119taj: Ten artyku\u0142 zawiera zawarto\u015B\u0107 utworzon\u0105 za pomoc\u0105 sztucznej inteligencji. Dowiedz si\u0119 wi\u0119cej',RY="Zawarto\u015B\u0107 stworzona przez spo\u0142eczno\u015B\u0107. Ten artyku\u0142 zosta\u0142 napisany i jest nadzorowany przez ekspert\xF3w z naszej spo\u0142eczno\u015Bci platformy Microsoft Learn.",MY='Pami\u0119taj: Ten odcinek zawiera zawarto\u015B\u0107 utworzon\u0105 przez sztuczn\u0105 inteligencj\u0119. Dowiedz si\u0119 wi\u0119cej',$Y='Pami\u0119taj: autor utworzy\u0142 ten odcinek z pomoc\u0105 sztucznej inteligencji. Dowiedz si\u0119 wi\u0119cej';var DY='Pami\u0119taj: Ten modu\u0142 zawiera zawarto\u015B\u0107 utworzon\u0105 za pomoc\u0105 sztucznej inteligencji. Dowiedz si\u0119 wi\u0119cej',NY='Pami\u0119taj: autor utworzy\u0142 ten modu\u0142 z pomoc\u0105 sztucznej inteligencji. Dowiedz si\u0119 wi\u0119cej',jY='Pami\u0119taj: Ta strona zawiera zawarto\u015B\u0107 utworzon\u0105 za pomoc\u0105 sztucznej inteligencji. Dowiedz si\u0119 wi\u0119cej',OY='Pami\u0119taj: ten artyku\u0142 zosta\u0142 cz\u0119\u015Bciowo utworzony za pomoc\u0105 sztucznej inteligencji. Dowiedz si\u0119 wi\u0119cej',gc="Kontynuuj";var NC="Skopiowano",zu="Kopiuj";var $p="Kurs";var A1="Australia",z1="Austria";var jC="Belgia";var P1="Brazylia";var OC="Kanada";var I1="Indie";var L1="Irlandia";var FC="Malezja";var R1="Meksyk";var M1="Nowa Zelandia";var $1="Portugalia";var D1="Singapur";var N1="Republika Po\u0142udniowej Afryki";var Dw="Szwajcaria";var j1="Zjednoczone Kr\xF3lestwo",O1="Stany Zjednoczone";var Nw="Kraj/region";var jw="Utw\xF3rz";var F1="Utworzone przez";var FY="Zostanie cz\u0142onkiem oznacza zaakceptowanie tego, \u017Ce w ramach cz\u0142onkostwa w us\u0142udze Microsoft Learn nasza sie\u0107 witryn i aplikacji b\u0119dzie rejestrowa\u0107 i \u015Bledzi\u0107 Twoje osi\u0105gni\u0119cia i dzia\u0142ania.

Dodatkowo Twoja nazwa u\u017Cytkownika, nazwa wy\u015Bwietlana, zdj\u0119cie profilowe, przynale\u017Cno\u015B\u0107, osi\u0105gni\u0119cia i dzia\u0142ania b\u0119d\u0105 publicznie widoczne. Swoje osi\u0105gni\u0119cia i dzia\u0142ania mo\u017Cesz ukry\u0107 w ustawieniach.";var mn="Referencje",UY="Typ referencji",qY="Typy referencji";var HY="Niestandardowy",BY="Data niestandardowa";var GY="Ciemny",Ow="Date";var UC="Dzie\u0144",Fw="Dni",VY="{duration} dni temu",Uw="{days} dni";var Hr="Usu\u0144";var WY="Usu\u0144 parametr";var jf="Opis";var QY="Ta zarchiwizowana zawarto\u015B\u0107 nie jest ju\u017C obs\u0142ugiwana. Linki i informacje mog\u0105 by\u0107 nieaktualne lub niebezpieczne i nie by\u0142y aktywnie przegl\u0105dane przez firm\u0119 Microsoft.",YY="Ten artyku\u0142 zosta\u0142 przet\u0142umaczony na Tw\xF3j rynek z j\u0119zyka angielskiego. Jak oceniasz swoje zadowolenie z jako\u015Bci u\u017Cytego j\u0119zyka?",KY="Ten artyku\u0142 zosta\u0142 przet\u0142umaczony przez maszyn\u0119 lub sztuczn\u0105 inteligencj\u0119. Ta zarchiwizowana zawarto\u015B\u0107 nie jest ju\u017C obs\u0142ugiwana. Linki i informacje mog\u0105 by\u0107 nieaktualne lub niebezpieczne i nie by\u0142y aktywnie przegl\u0105dane przez firm\u0119 Microsoft.",ZY="Ta zawarto\u015B\u0107 zosta\u0142a wycofana i mo\u017Ce nie by\u0107 aktualizowana w przysz\u0142o\u015Bci. Produkt, us\u0142uga lub technologia, kt\xF3rych dotyczy ta zawarto\u015B\u0107, nie s\u0105 ju\u017C obs\u0142ugiwane.",JY="Ten artyku\u0142 zosta\u0142 przet\u0142umaczony przez maszyn\u0119 lub sztuczn\u0105 inteligencj\u0119. Ta zawarto\u015B\u0107 zosta\u0142a wycofana i mo\u017Ce nie by\u0107 aktualizowana w przysz\u0142o\u015Bci. Produkt, us\u0142uga lub technologia, kt\xF3rych dotyczy ta zawarto\u015B\u0107, nie s\u0105 ju\u017C obs\u0142ugiwane.",sa="Odrzu\u0107 alert";var XY="Fragmenty tego tematu mog\u0142y zosta\u0107 przet\u0142umaczone przez maszyn\u0119 lub sztuczn\u0105 inteligencj\u0119.",eK="Fragmenty tego tematu mog\u0142y zosta\u0107 przet\u0142umaczone przez maszyn\u0119 lub sztuczn\u0105 inteligencj\u0119.";var tK="Materia\u0142y poufne firmy Microsoft",oK="Ta strona zosta\u0142a trwale przekierowana na adres {url}",nK=`Nie aktualizujemy ju\u017C tej zawarto\u015Bci regularnie. Zapoznaj si\u0119 z cyklem \u017Cycia produkt\xF3w firmy Microsoft, aby uzyska\u0107 informacje na temat sposobu obs\u0142ugi tego produktu lub interfejsu API albo tej us\u0142ugi lub technologii.`,rK=`Ten artyku\u0142 zosta\u0142 przet\u0142umaczony przez maszyn\u0119 lub sztuczn\u0105 inteligencj\u0119. Nie aktualizujemy ju\u017C tej zawarto\u015Bci regularnie. Zapoznaj si\u0119 z cyklem \u017Cycia produkt\xF3w firmy Microsoft, aby uzyska\u0107 informacje na temat sposobu obs\u0142ugi tego produktu lub interfejsu API albo tej us\u0142ugi lub technologii.`,iK="Zalecana wersja",U1="Wr\xF3\u0107 do witryny g\u0142\xF3wnej",sK="Zawarto\u015B\u0107 w witrynach przegl\u0105du mo\u017Ce by\u0107 przegl\u0105dana przez wszystkich pracownik\xF3w firmy Microsoft, dostawc\xF3w i pracownik\xF3w serwisu LinkedIn.",aK="Ta zawarto\u015B\u0107 nie jest dost\u0119pna w Twoim j\u0119zyku. Wy\u015Bwietlana jest wersja w j\u0119zyku angielskim.",qw="Odrzu\u0107";var lK="Ta \u015Bcie\u017Cka szkoleniowa b\u0119dzie wkr\xF3tce dost\u0119pna w nast\u0119puj\u0105cym j\u0119zyku: {language}.",cK="Ta \u015Bcie\u017Cka szkoleniowa nie jest dost\u0119pna w nast\u0119puj\u0105cym j\u0119zyku: {language}.";var uK="Ten modu\u0142 b\u0119dzie wkr\xF3tce dost\u0119pny w nast\u0119puj\u0105cym j\u0119zyku: {language}.",dK="Ten modu\u0142 nie jest dost\u0119pny w nast\u0119puj\u0105cym j\u0119zyku: {language}.";var pK="Wyniki wyszukiwania pochodz\u0105 z dokumentacji poprzednich wersji, kt\xF3ra nie jest regularnie aktualizowana.";var mK="Dni do uko\u0144czenia";var aa="Dokumentacja",gK="Szczeg\xF3\u0142y dokumentu",fK="Nie edytuj tej sekcji. Jest ona wymagana dla witryny learn.microsoft.com \u279F Linkowanie do problemu w us\u0142udze GitHub.";var hK="Dokumentacja technologii .NET";var qC="Pobierz plik PDF",bK="Pobieranie pliku PDF jest wy\u0142\u0105czone dla zawarto\u015Bci wymagaj\u0105cej autoryzacji.",yK="Generowanie pliku PDF mo\u017Ce potrwa\u0107 kilka minut. Mo\u017Cesz kontynuowa\u0107 korzystanie z witryny, gdy plik PDF b\u0119dzie przygotowywany.";var fc="Edytuj";var _K="Dokonano edycji";var hc="E-mail";var wK="Pusta nazwa jest niedozwolona";var vK="Data zako\u0144czenia";var xK="Data zako\u0144czenia",TK="Ko\u0144czy si\u0119 {endDate}";var Pu="B\u0142\u0105d",kK="Warto\u015Bci musz\u0105 by\u0107 datami nie p\xF3\u017Aniejszymi ni\u017C {date}.",SK="Data rozpocz\u0119cia musi by\u0107 wcze\u015Bniejsza ni\u017C data zako\u0144czenia.";var CK="Grupa zdarze\u0144",EK="Grupy zdarze\u0144",AK="Zdarzenia";var Br="Egzamin";var zK="Podsumowanie odpowiedzi",PK="Wr\xF3\u0107 do raportu",IK="Poni\u017Cej znajduje si\u0119 podsumowanie Twoich odpowiedzi.",LK="Gratulujemy, wszystkie sekcje zosta\u0142y zaliczone pomy\u015Blnie! Je\u015Bli uda\u0142o Ci si\u0119 zaliczy\u0107 kilka pr\xF3b, rozwa\u017C zaplanowanie egzaminu.",RK="Niestety, te dostosowane materia\u0142y szkoleniowe s\u0105 nieaktualne w por\xF3wnaniu z bie\u017C\u0105c\u0105 ocen\u0105 pr\xF3bn\u0105. Zapoznaj si\u0119 ze stron\u0105 szczeg\xF3\u0142\xF3w egzaminu, aby uzyska\u0107 najnowsze materia\u0142y przygotowawcze.",MK="Odpowied\u017A poprawna";var $K="Przeprowadzenie tej oceny zaj\u0119\u0142o Ci {duration} min.";var DK="Wyniki oceny pr\xF3bnej: {date}",NK="Wyniki og\xF3lne",jK="Aby lepiej przygotowa\u0107 si\u0119 do egzaminu, staraj si\u0119 osi\u0105gn\u0105\u0107 wynik na poziomie {percent}% lub wy\u017Cszym w wielu pr\xF3bach.",OK="Wynik: {percent}%";var FK="Aby dodatkowo zwi\u0119kszy\u0107 swoje umiej\u0119tno\u015Bci w nast\u0119puj\u0105cych obszarach, zapoznaj si\u0119 z sekcj\u0105 niestandardowych materia\u0142\xF3w szkoleniowych poni\u017Cej.",UK="Pytanie {x} z {y}",qK="Chcesz przyst\u0105pi\u0107 do egzaminu?",HK="Poprzednie pr\xF3by ocen znajduj\u0105 si\u0119 na stronie szczeg\xF3\u0142\xF3w egzaminu.",BK="Materia\u0142 \u0107wiczeniowy \u2014 {date}",GK="Poka\u017C moje odpowiedzi",VK="Przeprowad\u017A kolejn\u0105 ocen\u0119 pr\xF3bn\u0105.",WK="Twoja odpowied\u017A";var QK="Egzamin";var HC="Rozwi\u0144",YK="Rozwi\u0144 tabel\u0119";var Of="Facebook";var KK="Cz\u0119sto zadawane pytania";var ZK="Dostatecznie";var JK='Opinia zostanie wys\u0142ana do firmy Microsoft: po naci\u015Bni\u0119ciu przycisku Prze\u015Blij opinia zostanie u\u017Cyta do ulepszania produkt\xF3w i us\u0142ug firmy Microsoft. Zasady ochrony prywatno\u015Bci.',BC='Gdy naci\u015Bniesz przycisk Prze\u015Blij, Twoja opinia zostanie u\u017Cyta w celu ulepszania produkt\xF3w i us\u0142ug firmy Microsoft. Zasady zachowania poufno\u015Bci informacji',GC='Firma Microsoft przetworzy przes\u0142an\u0105 opini\u0119 zgodnie z instrukcjami Twojej organizacji w celu ulepszenia mo\u017Cliwo\u015Bci korzystania z tego produktu przez Ciebie i Twoj\u0105 organizacj\u0119. Je\u015Bli masz jakiekolwiek pytania dotycz\u0105ce wykorzystania danych pochodz\u0105cych z opinii, skontaktuj si\u0119 z administratorem dzier\u017Cawy. Przetwarzanie danych pochodz\u0105cych z opinii podlega uzupe\u0142nieniu dotycz\u0105cemu ochrony danych w ramach produkt\xF3w i us\u0142ug firmy Microsoft zawartemu pomi\u0119dzy Twoj\u0105 organizacj\u0105 a firm\u0105 Microsoft, a przes\u0142ane przez Ciebie opinie s\u0105 uwa\u017Cane za dane osobowe zgodnie z tym uzupe\u0142nieniem. Zasady zachowania poufno\u015Bci informacji',Hw="Firma Microsoft przetworzy przes\u0142an\u0105 opini\u0119 zgodnie z instrukcjami Twojej organizacji w celu ulepszenia mo\u017Cliwo\u015Bci korzystania z tego produktu przez Ciebie i Twoj\u0105 organizacj\u0119.",XK='Firma Microsoft przetworzy przes\u0142an\u0105 opini\u0119 zgodnie z instrukcjami Twojej organizacji w celu ulepszenia mo\u017Cliwo\u015Bci korzystania z tego produktu przez Ciebie i Twoj\u0105 organizacj\u0119. Zasady zachowania poufno\u015Bci informacji';var eZ="[Wprowad\u017A tutaj swoj\u0105 opini\u0119]";var tZ="Zg\u0142o\u015B opini\u0119";var oZ="Do\u0142\u0105cz zrzut ekranu (opcjonalnie)",nZ="Wybierz pliki...",rZ="jpeg, jpg, png lub gif";var iZ="Problemy z us\u0142ug\u0105 Cloud Shell";var sZ="Problemy z Edytorem .NET";var aZ="Problemy z instalowaniem zale\u017Cno\u015Bci";var lZ="Jako\u015B\u0107 zawarto\u015Bci samouczk\xF3w";var cZ="Podaj opini\u0119. Podaj kroki umo\u017Cliwiaj\u0105ce odtworzenie problemu (je\u015Bli dotyczy)",uZ="Wprowad\u017A tytu\u0142 opinii",dZ="Nieprawid\u0142owe informacje/pisownia/b\u0142\u0105d zawarto\u015Bci",pZ="\u017B\u0105danie dotycz\u0105ce funkcji",mZ="Produkt lub funkcjonalno\u015B\u0107",gZ="Og\xF3lna opinia",fZ="Jako\u015B\u0107 zawarto\u015Bci edukacyjnej",hZ="Mam pytania dotycz\u0105ce zawarto\u015Bci edukacyjnej",bZ="Nie otrzymuj\u0119 kredytu ani dodatkowych punkt\xF3w za uko\u0144czenie",yZ="Inne",_Z="Problemy z rejestracj\u0105/logowaniem",wZ="Problemy z piaskownic\u0105",vZ="Problemy z jako\u015Bci\u0105 t\u0142umaczenia",xZ="Wybierz problem, kt\xF3ry wyst\u0105pi\u0142",TZ="Wybierz typ opinii";var kZ="Tre\u015B\u0107 jest \u0142atwa do zrozumienia",SZ="Tre\u015B\u0107 jest trudna do zrozumienia",CZ="Nie mog\u0119 znale\u017A\u0107 tego, czego potrzebuj\u0119",EZ="Uda\u0142o mi si\u0119 wykona\u0107 zadanie lub rozwi\u0105za\u0107 problem",AZ="Uda\u0142o mi si\u0119 dowiedzie\u0107 czego\u015B nowego",zZ="Informacje by\u0142y \u0142atwe do znalezienia",PZ="Nieaktualne/przestarza\u0142e",IZ="Struktura planu",LZ="Pokrycie zawarto\u015Bci",RZ="Personalizacja",MZ="\u0141atwo\u015B\u0107 u\u017Cycia",$Z="Pomaga w rozwoju kariery",DZ="Zbyt z\u0142o\u017Cone",NZ="Problemy techniczne",jZ="Brak personalizacji",OZ="Nie dotyczy celu",FZ="Nieprawid\u0142owe osie czasu",UZ="Procedura lub kod nie dzia\u0142a",q1="Jako\u015B\u0107 t\u0142umaczenia";var ol="Filtr",qZ="Filtry";var H1="Wyczyszczono filtr",HZ="Zawarto\u015B\u0107 b\u0119dzie filtrowana podczas wpisywania";var BZ="Znajd\u017A {facet}";var GZ="Znajd\u017A wed\u0142ug tytu\u0142u";var VZ="Znajd\u017A autora pytania";var WZ="Tryb odczytu w\u0142\u0105czony",QZ="Tryb odczytu wy\u0142\u0105czony";var YZ="Utw\xF3rz konto teraz";var Bw="Powinien zosta\u0107 wybrany co najmniej jeden element.",nl="Zawarto\u015B\u0107 uleg\u0142a zmianie. Od\u015Bwie\u017C stron\u0119, aby uzupe\u0142ni\u0107 j\u0105 o najnowsze zmiany.",B1="Wyst\u0105pi\u0142 problem z za\u0142\u0105cznikami. Od\u015Bwie\u017C lub usu\u0144 za\u0142\u0105czniki, aby kontynuowa\u0107 tworzenie wpisu. Je\u015Bli problem b\u0119dzie si\u0119 powtarza\u0142, skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105 witryny.",G1="Adres e-mail jest niepoprawny",KZ="Adres e-mail jest nieprawid\u0142owy i musi zawiera\u0107 co najmniej 6 znak\xF3w.",ZZ="Wybierz co najmniej jedn\u0105 przyczyn\u0119 dla swojej opinii.",JZ="Czy ta strona by\u0142a pomocna? Wybierz opcj\u0119 Tak lub Nie.",XZ="Wymagany jest co najmniej jeden wyb\xF3r z grupy {inputGroup}.",gs="Warto\u015B\u0107 {inputLabel} nie mo\u017Ce si\u0119 sk\u0142ada\u0107 z wi\u0119cej ni\u017C {maxLength} znak\xF3w.",fs="Warto\u015B\u0107 {inputLabel} musi si\u0119 sk\u0142ada\u0107 z co najmniej {minLength} znak\xF3w.",hs="Warto\u015B\u0107 {inputLabel} jest wymagana.",VC="Element {inputLabel} nie powinien rozpoczyna\u0107 si\u0119 ani ko\u0144czy\u0107 kropk\u0105.",eJ='Etykieta {inputLabel} nie mo\u017Ce zawiera\u0107 znak\xF3w \\ lub ".',tJ="Pole wej\u015Bciowe jest nieprawid\u0142owe. Sprawd\u017A pola wej\u015Bciowe i spr\xF3buj ponownie.",bs="Brak uwierzytelnienia. Od\u015Bwie\u017C stron\u0119 i spr\xF3buj ponownie. Je\u015Bli ten problem b\u0119dzie si\u0119 powtarza\u0107, wyloguj si\u0119 i zaloguj ponownie.",ys="Nie masz autoryzacji do udzielenia tej odpowiedzi. Je\u015Bli uwa\u017Casz, \u017Ce to b\u0142\u0105d, od\u015Bwie\u017C stron\u0119 i spr\xF3buj ponownie.";var oJ="Kod pocztowy USA powinien zawiera\u0107 tylko cyfry i sk\u0142ada\u0107 si\u0119 z 5 lub 9 cyfr.",nJ="Kanadyjski kod pocztowy nie powinien zawiera\u0107 spacji i musi by\u0107 w formacie A1A1A1.",rJ="Numer telefonu jest nieprawid\u0142owy i powinien zawiera\u0107 tylko cyfry.",gn="Rozwi\u0105\u017C nast\u0119puj\u0105ce problemy, aby kontynuowa\u0107:",Ff="Dokonaj wyboru.",V1="Tekst musi by\u0107 w j\u0119zyku angielskim. Je\u015Bli masz dowolny tekst lub symbole w j\u0119zyku innym ni\u017C angielski, usu\u0144 je, aby kontynuowa\u0107.",_s="Nie ma \u017Cadnych zmian do przes\u0142ania.",ws="Wys\u0142ano zbyt wiele \u017C\u0105da\u0144. Zaczekaj kilka minut i spr\xF3buj ponownie.",Gr="Wyst\u0105pi\u0142 nieoczekiwany b\u0142\u0105d. Spr\xF3buj ponownie p\xF3\u017Aniej. Je\u015Bli ten problem b\u0119dzie si\u0119 powtarza\u0107, skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105 ds. witryny.";var iJ="Trwa generowanie pliku PDF...";var sJ="Uzyska pomoc w witrynie Microsoft Q&A",aJ="Uzyskaj pomoc techniczn\u0105 dotycz\u0105c\u0105 produktu",W1="Rozpocznij";var Dp="Globalnie",Q1="Nawigacja globalna";var Y1="Wstecz";var lJ="Dobrze";var K1="Przejd\u017A do szczeg\xF3\u0142\xF3w egzaminu";var cJ="\u015Awietnie";var WC="Nag\u0142\xF3wki",uJ="Pom\xF3\u017C mi wybra\u0107";var dJ="Tutaj",pJ="Uko\u0144czono ukrywanie";var mJ='Cze\u015B\u0107, {user}';var gJ="Wysoki kontrast",fJ="Strona g\u0142\xF3wna";var hJ="Kod przewijany w poziomie",Z1="Dane przewijane w poziomie",QC="Godzina",Iu="Godziny",bJ="{duration} godz. temu",yJ="Jak nam idzie?";var _J="Jak oceniasz swoje zadowolenie z jako\u015Bci u\u017Cytego j\u0119zyka?";var wJ="godz.";var vJ="{hrs} godz.",xJ="{numberOfHours} godz. {numberOfMinutes} min";var TJ="Wa\u017Cne";var Gw="W toku";var kJ="\u015Aredni";var J1="W tym artykule";var Uf="Element \u201E{itemTitle}\u201D zostanie trwale usuni\u0119ty.";var SJ="przed chwil\u0105";var YC="Znany problem",CJ="Potwierdzone";var EJ="Badanie",AJ="Z\u0142agodzone",zJ="Zg\u0142oszone",PJ="Resolved";var qf="Spis tre\u015Bci";var X1="J\u0119zyk",IJ="J\u0119zyki";var KC="Ostatnia aktualizacja o {time}";var eN="\u015Acie\u017Cka szkoleniowa",Hf="\u015Acie\u017Cka szkoleniowa";var Vr="Wi\u0119cej tutaj";var LJ="Typ zawarto\u015Bci",RJ="Typy zawarto\u015Bci";var Vw="Odcinek";var MJ="Odcinki: {count}";var $J="Zdarzenia",DJ="Ostatni odcinek",NJ="Ostatni odcinek: {date}";var jJ="Opublikowano: {date}",ZC="Seria",tN="Poka\u017C",Tr="Program";var JC="Wideo niedost\u0119pne",oN="Niestety, to wideo jest niedost\u0119pne. Spr\xF3buj ponownie p\xF3\u017Aniej, gdy ju\u017C je naprawimy.",Bf="Odtwarzacz wideo";var OJ="Poziom",FJ="Poziom {number}";var UJ="Poziomy",qJ="Cykl \u017Cycia",HJ="Jasny";var Gf="LinkedIn";var Vt="Trwa \u0142adowanie...";var BJ="Wi\u0119cej…",GJ="Za\u0142aduj wi\u0119cej wynik\xF3w",XC="Arabski",VJ="Arabski (Arabia Saudyjska)",eE="Bu\u0142garski",WJ="Bu\u0142garski (Bu\u0142garia)";var tE="Bo\u015Bniacki (\u0142aci\u0144ski)",QJ="Bo\u015Bniacki (cyrylica)",oE="Katalo\u0144ski",nE="Czeski",rE="Du\u0144ski",iE="Niemiecki";var sE="Grecki",YJ="Grecki (Grecja)",aE="Angielski",KJ="Angielski (Malezja)";var lE="Hiszpa\u0144ski",ZJ="Hiszpa\u0144ski (Meksyk)",cE="Esto\u0144ski",uE="Baskijski",dE="Fi\u0144ski",pE="Filipino",mE="Francuski";var gE="Irlandzki",fE="Galicyjski",hE="Hebrajski",bE="Hindi",yE="Chorwacki",_E="W\u0119gierski",JJ="W\u0119gierski (W\u0119gry)",wE="Indonezyjski",XJ="Indonezyjski (Indonezja)",vE="Islandzki",xE="W\u0142oski";var TE="japo\u0144ski",eX="Gruzi\u0144ski",kE="Kazachski",SE="Korea\u0144ski",CE="Luksemburski",EE="Litewski",AE="\u0141otewski",zE="Malajski",PE="Malta\u0144ski",IE="Norweski",LE="Niderlandzki",RE="Polski",ME="Portugalski",tX="Portugalski (Brazylia)",oX="Portugalski (Portugalia)",$E="Rumu\u0144ski",DE="Rosyjski",NE="S\u0142owacki",jE="S\u0142owe\u0144ski";var OE="Serbski (cyrylica)",FE="Serbski (\u0142aci\u0144ski)",UE="Szwedzki",qE="Tajlandzki",HE="Turecki",BE="Ukrai\u0144ski",nX="Ukrai\u0144ski",rX="Urdu",GE="Wietnamski",iX="Wietnamski (Wietnam)";var VE="Chi\u0144ski (uproszczony)",WE="Chi\u0144ski (tradycyjny, SRA Hongkong)",QE="Chi\u0144ski (tradycyjny)";var sX="Zarz\u0105dzanie plikami cookie";var YE="Edytor us\u0142ugi Microsoft Learn",aX="Ci\u0119\u017Cko pracujemy nad migracj\u0105 historii kursu i osi\u0105gni\u0119\u0107 do witryny Learn. Jednak obecnie w tym miejscu b\u0119dzie wida\u0107 tylko dzia\u0142ania uko\u0144czone w witrynie Learn.",lX='Aby wy\u015Bwietli\u0107 pe\u0142n\u0105 transkrypcj\u0119 i/lub znaczki uzyskane w witrynach Microsoft Educator Center i Learn, przejd\u017A do swojego profilu w witrynie MEC.';var cX="Uwaga na temat ochrony prywatno\u015Bci pracownik\xF3w firmy Microsoft",uX="Zalogowano si\u0119 za pomoc\u0105 konta skojarzonego z organizacj\u0105 ({email}). Zostanie cz\u0142onkiem oznacza zaakceptowanie tego, \u017Ce w ramach cz\u0142onkostwa w us\u0142udze Microsoft Learn nasza sie\u0107 witryn i aplikacji b\u0119dzie rejestrowa\u0107 oraz \u015Bledzi\u0107 Twoje osi\u0105gni\u0119cia i dzia\u0142ania, a tak\u017Ce \u017Ce mo\u017Cemy udost\u0119pnia\u0107 Twoje wyniki i dzia\u0142ania Twojej organizacji. Dodatkowo Twoja nazwa u\u017Cytkownika, nazwa wy\u015Bwietlana, zdj\u0119cie profilowe, przynale\u017Cno\u015B\u0107, osi\u0105gni\u0119cia i dzia\u0142ania b\u0119d\u0105 publicznie widoczne. Swoje osi\u0105gni\u0119cia i dzia\u0142ania mo\u017Cesz ukry\u0107 w ustawieniach.

Po utworzeniu profilu zalecamy po\u0142\u0105czenie konta osobistego, aby mo\u017Cna by\u0142o uzyska\u0107 dost\u0119p do post\u0119pu w nauce niezale\u017Cnie od stanu zatrudnienia. Dodatkowe konta mo\u017Cna po\u0142\u0105czy\u0107 w sekcji Zarz\u0105dzanie kontem w ustawieniach profilu.";var dX="Edytor programu Microsoft Graph";var KE="Zasady zachowania poufno\u015Bci informacji firmy Microsoft",pX="Musisz wyrazi\u0107 zgod\u0119 na Zasady zachowania poufno\u015Bci informacji firmy Microsoft, aby zachowa\u0107 sw\xF3j profil i powi\u0105zane dane.";var ZE="{numberOfMinutes} min";var Np="{numberOfMinutes} min";var Ww="Minuty";var mX="{duration} min temu";var kr="Modu\u0142";var gX="Dokumentacja modu\u0142\xF3w platformy {platformName}",Qw="Modu\u0142y";var fX="Nast\u0105pi\u0142o przekierowanie do najnowszej wersji produktu dost\u0119pnej dla tej strony.";var hX="{duration} mies. temu";var Yw="Wi\u0119cej";var bX="Nazwa";var Wr="Nast\u0119pne";var Ii="Nie",yX="Nowa kolekcja",Vf="Najnowsze",Wf="Najstarsze";var _X="Brak dost\u0119pnych produkt\xF3w",wX="Brak dost\u0119pnych tag\xF3w",JE="Brak dost\u0119pnych filtr\xF3w",vX='Brak element\xF3w w tej sekcji. Przenie\u015B elementy tutaj z innych sekcji lub dodaj elementy ze strony przegl\u0105dania szkole\u0144 w witrynie Learn.';var $o="Brak wynik\xF3w",la="Nie odnaleziono wynik\xF3w",xX="Nie ma jeszcze \u017Cadnych wynik\xF3w. Wpisuj dalej\u2026",TX="Wyszukaj termin \u201E{term}\u201D w ca\u0142ej dokumentacji {searchScope}",kX="Wyszukaj termin \u201E{term}\u201D w ca\u0142ej dokumentacji",SX="Brak sugestii",CX="Normalna";var EX="Nie, dzi\u0119kuj\u0119",AX="Notatka";var zX="Nie znale\u017Ali\u015Bmy \u017Cadnego u\u017Cytkownika.";var PX="{number} element",IX="Elementy: {number}";var LX="Bardzo zadowolony",RX="Zadowolony",MX="Ani zadowolony, ani niezadowolony",$X="Niezadowolony",DX="Bardzo niezadowolony";var NX="Dokumentacja pakietu Office";var An="OK",jX="Rozumiem.";var OX="w dniu {date}";var FX="Otw\xF3rz wyszukiwanie";var UX="Opinia o produkcie {productName}",qX="{productName} to projekt typu open source. Wybierz link, aby przekaza\u0107 opini\u0119:";var HX="Otwieranie us\u0142ugi Cloud Shell",BX="Opcjonalnie";var XE="{label} (opcjonalnie)";var GX="Wyst\u0105pi\u0142 b\u0142\u0105d",VX='Napotkali\u015Bmy oczekiwany b\u0142\u0105d. Spr\xF3buj ponownie. Je\u015Bli uwa\u017Casz, \u017Ce to pomy\u0142ka, skontaktuj si\u0119 ze swoim przedstawicielem lub pomoc\u0105 techniczn\u0105.',WX="\u017B\u0105dany udzia\u0142 danych jest ju\u017C skonfigurowany",QX="Czy chcesz dalej wy\u015Bwietla\u0107 ten udzia\u0142 danych?",YX="Nie teraz",KX="Trwa wysy\u0142anie zaproszenia do udzia\u0142u danych...",ZX="Umowa dotycz\u0105ca udost\u0119pniania danych witryny Microsoft Learn",JX='Potwierdzam i akceptuj\u0119 warunki programu pilota\u017Cowego udost\u0119pniania danych witryny Microsoft Learn w celu umo\u017Cliwienia firmie Microsoft udost\u0119pniania danych witryny Learn mojej organizacji na potrzeby u\u017Cytkownik\xF3w witryny Learn loguj\u0105cych si\u0119 za pomoc\u0105 identyfikatora dzier\u017Cawy mojej organizacji.',XX="Spr\xF3buj ponownie, u\u017Cywaj\u0105c po\u0142\u0105czonego konta s\u0142u\u017Cbowego",eee="Nie mogli\u015Bmy zweryfikowa\u0107 konta",tee='Zaloguj si\u0119 przy u\u017Cyciu konta s\u0142u\u017Cbowego, aby uzyska\u0107 dost\u0119p do tego udzia\u0142u danych. Je\u015Bli uwa\u017Casz, \u017Ce to b\u0142\u0105d, skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105 lub ze swoim przedstawicielem.',oee="Tak",ca="Inne";var nee="Jak og\xF3lnie oceniasz swoje zadowolenie lub niezadowolenie z witryny Microsoft Learn?";var e0="Pakiet",nN="Dokumentacja pakiet\xF3w platformy {platformName}";var t0="Strona {pageNumber} z {numberOfPages}";var ree="dzielenie na strony";var iee="Parametry";var see="Tw\xF3j plik PDF zosta\u0142 wygenerowany. Trwa otwieranie...";var aee="Numer telefonu",Lu="Planowanie";var lee="Wype\u0142nij to pole.";var cee="Prze\u015Blij opini\u0119 na temat tego, jak mo\u017Cemy ulepszy\u0107 t\u0119 zawarto\u015B\u0107. Je\u015Bli ma to zastosowanie, podaj pierwsz\u0105 cz\u0119\u015B\u0107 zdania lub ci\u0105gu, o kt\xF3re chodzi.";var uee="Popularne";var dee="Drukuj";var pee="Drukowanie jest wy\u0142\u0105czone dla zawarto\u015Bci wymagaj\u0105cej autoryzacji.",o0="Zasady ochrony prywatno\u015Bci",mee="Kiepsko";var Qf="Wersja zapoznawcza";var vs="Poprzednie";var Yf="Produkt",gee="U\u017Cytkownicy produktu {productName}:";var Kf="Produkty",fee="Profil";var hee="J\u0119zyk programowania",bee="J\u0119zyki programowania";var yee="Przekazywanie opinii dotycz\u0105cych produkt\xF3w";var Kw="Q&A";var _ee="zadano pytanie";var wee="odpowiedzi",vee="komentarze";var xee="g\u0142osy";var Tee='Doceniamy cierpliwo\u015B\u0107 w trakcie migrowania zawarto\u015Bci spo\u0142eczno\u015Bci pomocy technicznej firmy Microsoft do witryny Microsoft Q&A. Nie przeprowadzamy migracji ca\u0142ej zawarto\u015Bci, a pytanie, kt\xF3rego szukasz, zosta\u0142o wycofane. Aby uzyska\u0107 wi\u0119cej informacji na temat migracji, zobacz Dowiedz si\u0119 wi\u0119cej. Mo\u017Cesz ponownie zada\u0107 pytanie lub zapozna\u0107 si\u0119 z innymi pytaniami na stronie {product}.',kee="To pytanie zosta\u0142o wycofane";var See="Przekroczono maksymaln\u0105 liczb\u0119 za\u0142\u0105cznik\xF3w. Wybierz do {maximumCount} za\u0142\u0105cznik\xF3w.";var Cee="Przekroczono maksymaln\u0105 liczb\u0119 wzmianek. Wybierz do {maximumCount} wzmianek.";var Eee="U\u017Cytkownik jest ju\u017C zawieszony. Od\u015Bwie\u017C stron\u0119.",Aee="U\u017Cytkownik nie jest zawieszony. Od\u015Bwie\u017C stron\u0119.";var zee="Nie mo\u017Cna podj\u0105\u0107 tej akcji, poniewa\u017C Twoje konto zosta\u0142o wstrzymane z powodu naruszenia Kodeksu post\u0119powania. Twoje konto zosta\u0142o r\u0119cznie zg\u0142oszone lub zidentyfikowane za po\u015Brednictwem automatycznego wykrywania przed podj\u0119ciem akcji. Aby uzyska\u0107 wi\u0119cej informacji, zapoznaj si\u0119 z naszymKodeksem post\u0119powania.";var Pee="Ta odpowied\u017A by\u0142a pomocna",Iee="Ta odpowied\u017A nie by\u0142a pomocna";var rN="Zg\u0142o\u015B problem",iN="Przyczyna zg\u0142oszenia";var Lee=`, aby wyrazi\u0107 zgod\u0119 na aktualizacje wiadomo\u015Bci e-mail dotycz\u0105ce zg\u0142oszonego problemu`,Ree="Zezw\xF3l firmie Microsoft na kontaktowanie si\u0119 z Tob\u0105 w sprawie tego raportu",Mee="Pe\u0142na nazwa",$ee="Poczta e-mail",Dee='Skontaktujemy si\u0119 z Tob\u0105 za po\u015Brednictwem Twojego osobistego konta {email}',Nee='Firma Microsoft dok\u0142ada stara\u0144, aby pom\xF3c naszym u\u017Cytkownikom i chroni\u0107 Twoj\u0105 prywatno\u015B\u0107. Je\u015Bli chcesz uzyska\u0107 wi\u0119cej informacji na temat sposobu, w jaki chronimy dane osobowe, mo\u017Cesz przeczyta\u0107 O\u015Bwiadczenie firmy Microsoft o ochronie prywatno\u015Bci.';var jee="Pytanie",jp="Autor pytania",sN='

Filtrowanie wed\u0142ug autora pyta\u0144

Podczas filtrowania wed\u0142ug autora pyta\u0144 mo\u017Cna filtrowa\u0107 tylko wed\u0142ug jednego u\u017Cytkownika naraz i filtrowa\u0107 tylko wed\u0142ug u\u017Cytkownik\xF3w platformy Learn.

',aN="Pytania";var Oee="Na pytanie udzielono ju\u017C odpowiedzi.";var Fee="Pytanie wymagane.",Uee="Pytanie opcjonalne.",qee="Szybkie filtry";var lN="Przeczytaj w j\u0119zyku angielskim",Hee="Przeczytaj w j\u0119zyku: {language}";var Bee="Zalecana zawarto\u015B\u0107",Wn="Odwo\u0142anie";var Gee="Odwo\u0142ania";var Ru="Od\u015Bwie\u017C";var Zf="Usu\u0144",cN="Usu\u0144 element {itemName}";var uN="Renew";var n0="Zg\u0142o\u015B problem",Vee="Wybierz przyczyn\u0119",Wee="Dla doros\u0142ych i seksualne",Qee="Wykorzystywanie i niegodziwe traktowanie dzieci w celach seksualnych",Yee="Koordynacja szkody";var Kee="Zastraszanie i molestowanie",Zee="Przemoc graficzna i gore",Jee="Mowa nienawi\u015Bci i dyskryminacja",Xee="Obrazy intymne bez wyra\u017Cenia zgody i wymuszenia dotycz\u0105ce sfery intymnej";var ete="Inne naruszenie warunk\xF3w u\u017Cytkowania lub kodeksu post\u0119powania";var tte="Wulgarno\u015B\u0107 i wulgaryzmy",ote="Nak\u0142anianie do czynno\u015Bci seksualnych";var nte="Samob\xF3jstwo i samookaleczenie",rte="Terroryzm i brutalny ekstremizm",ite="Handel lud\u017Ami",ste="Gro\u017Aby u\u017Cycia przemocy, pod\u017Ceganie i gloryfikacja przemocy";var ate="Podgl\u0105d \u017C\u0105dania",dN="Adres URL \u017C\u0105dania";var ua="Wymagane pola s\u0105 oznaczone gwiazdk\u0105";var lte="Typy";var cte="Kod odpowiedzi";var pN="Uruchom ponownie";var ute="Wyniki ({numberOfResults})";var Jf="Wzn\xF3w",r0="Podejd\u017A ponownie";var dte="Rola";var pte="\u015Acie\u017Cka szkoleniowa";var mte="Role";var gte="RSS",fte="Uruchom";var i0="Wyst\u0119puje problem z procesem weryfikacji zabezpiecze\u0144 wymaganym do aktywowania zasobu. Spr\xF3buj ponownie po up\u0142ywie 10 minut.",mN='Zapoznali\u015Bmy si\u0119 z Twoim odwo\u0142aniem i ustalili\u015Bmy, \u017Ce Twoje konto naruszy\u0142o nasze warunki u\u017Cytkowania. Dost\u0119p do zasob\xF3w interakcyjnych nie zostanie przywr\xF3cony. Mo\u017Cesz jednak nadal uzyskiwa\u0107 dost\u0119p do materia\u0142\xF3w szkoleniowych w \u015Brodowisku Microsoft Learn. Wiele \u0107wicze\u0144 w tym module mo\u017Cesz wykona\u0107 za pomoc\u0105 swojej osobistej subskrypcji, ale mog\u0105 obowi\u0105zywa\u0107 op\u0142aty i mo\u017Ce by\u0107 konieczna modyfikacja instrukcji w przypadku danej subskrypcji.';var nt="Zapisz";var hte="Umiej\u0119tno\u015B\u0107";var gN="Dodaj do planu",fN="Dodano do plan\xF3w",bte="Zarz\u0105dzaj {title} w planach",yte="Dodaj {title} do planu";var hN="Kopiuj plan",_te="Liczba dni do punktu kontrolnego: {number}";var wte="Szacowany czas uko\u0144czenia: {time}";var vte="Liczba punkt\xF3w kontrolnych w tym planie: {number}";var xte="Punkt kontrolny {number}",Tte='Dodano do {collectionName}',kte='Dodano do plan\xF3w',Ste="Zaloguj si\u0119 do platformy Microsoft Learn, aby u\u017Cy\u0107 sztucznej inteligencji do utworzenia spersonalizowanego i dostosowanego planu szkoleniowego, kt\xF3ry uwzgl\u0119dnia unikatowe potrzeby i udost\u0119pnia najbardziej odpowiedni\u0105 zawarto\u015B\u0107.",Cte='Usuni\u0119to z kolekcji {collectionName}',Ete='Usuni\u0119to z plan\xF3w',s0="T\u0142o",Ate="Bie\u017C\u0105ca rola",zte="Wybieranie roli",a0="Podaj informacje o przebiegu kariery zawodowej.",Pte="Podaj szczeg\xF3\u0142owy tytu\u0142 i obowi\u0105zki",Ite="Na jakim etapie kariery jeste\u015B?",Lte="Wczesny etap kariery (0-5 lat)",Rte="\u015Aredni etap kariery (5-10 lat)",Mte="Zaawansowany etap kariery (ponad 10 lat)",$te="Tworzenie planu",Dte="{AppliedSkills} (oparte na scenariuszach, interaktywne oceny laboratoryjne)",Nte="Uko\u0144cz wymagaj\u0105cy projekt w pracy",jte="Zdob\u0105d\u017A profesjonalne referencje w swojej dziedzinie",Ote="Rozwijaj umiej\u0119tno\u015Bci, np. ucz\u0105c si\u0119 nowego oprogramowania lub j\u0119zyka programowania",Fte="Wprowad\u017A technologie projektu, cele i metryki sukcesu",Ute="Przytrzymaj przycisk Ctrl w systemie Windows lub Command na komputerze Mac, aby wybra\u0107 wiele opcji.",qte="Podaj szczeg\xF3\u0142y projektu",Hte="Referencje oparte na scenariuszach, zdobywane w drodze praktycznych, interaktywnych ocen laboratoryjnych, kt\xF3re wykazuj\u0105 Twoje kompetencje i zdolno\u015B\u0107 do wdra\u017Cania rozwi\u0105za\u0144 w realnym \u015Bwiecie.";var bN="Wybierz kategori\u0119",Zw="Wybierz certyfikacj\u0119",Bte="Wybierz referencj\u0119",l0="Wybierz umiej\u0119tno\u015B\u0107",yN="Wybierz temat",Gte="Wybierz typ referencji",Vte="Jakie s\u0105 Twoje cele zawodowe?",Wte="Wybieranie celu planu",c0="Uko\u0144cz okre\u015Blony projekt",Qte="Podaj szczeg\xF3\u0142owy opis projektu, w tym definicj\u0119 problemu i oczekiwany wynik wraz z technologiami, strukturami, j\u0119zykami lub us\u0142ugami, kt\xF3rych u\u017Cywasz.",Yte="Podaj szczeg\xF3\u0142owy tytu\u0142 i obowi\u0105zki",Kte="Jaki jest cel projektu, problem i oczekiwany wynik? Uwzgl\u0119dnij wszelkie technologie, struktury, j\u0119zyki i us\u0142ugi, kt\xF3rych u\u017Cywasz.",Zte="Zalecany i niezalecany opis projektu",Jte="Zalecany: \u201EOpracowuj\u0119 aplikacj\u0119 internetow\u0105, kt\xF3ra wykorzystuje algorytmy uczenia maszynowego do przewidywania zapas\xF3w, \u015Bledzenia poziom\xF3w magazynowych w czasie rzeczywistym i automatyzowania proces\xF3w ponownego sk\u0142adania zam\xF3wie\u0144.

G\u0142\xF3wne funkcje to \u015Bledzenie magazynu w czasie rzeczywistym, analiza predykcyjna, automatyczne ponowne sk\u0142adanie zam\xF3wie\u0144 i raportowanie/analiza.

U\u017Cywane technologie to Microsoft Blazor dla interfejsu u\u017Cytkownika frontonu, ASP.NET Core dla \u017C\u0105da\u0144 logiki i interfejsu API po stronie serwera, Azure Cosmos DB do przechowywania danych magazynu i transakcji, Azure Machine Learning i us\u0142ugi Azure w chmurze\u201D.",Xte="Niezalecany: \u201EMusz\u0119 utworzy\u0107 aplikacj\u0119 internetow\u0105 do \u015Bledzenia zapas\xF3w\u201D.",eoe='Po\u015Bwi\u0119\u0107 kilka minut, aby pom\xF3c nam w tworzeniu planu nauki za pomoc\u0105 sztucznej inteligencji \u2014 spersonalizowanego dla Ciebie! Firma Microsoft nigdy nie udost\u0119pni tych danych. Przeczytaj uwagi dotycz\u0105ce przejrzysto\u015Bci sztucznej inteligencji, aby dowiedzie\u0107 si\u0119 wi\u0119cej o przypadkach u\u017Cycia, ograniczeniach i zasadach ochrony prywatno\u015Bci.',u0="Zdob\u0105d\u017A referencje",toe="Jak chcesz uzyska\u0107 po\u015Bwiadczenia?",ooe="Weryfikowanie umiej\u0119tno\u015Bci za pomoc\u0105 oceny opartej na scenariuszu",d0="Wybierz najbardziej odpowiednie {AppliedSkills}",noe="Uzyskiwanie uznanych w bran\u017Cy certyfikat\xF3w firmy Microsoft opartych na rolach",p0="Cenione w bran\u017Cy certyfikaty",m0="Wyst\u0105pi\u0142 b\u0142\u0105d. Spr\xF3buj ponownie.",roe="Plan nie zosta\u0142 wygenerowany, poniewa\u017C formularz m\xF3g\u0142 zawiera\u0107 sformu\u0142owania naruszaj\u0105ce kodeks post\u0119powania us\u0142ugi Microsoft Learn. Zacznij od pocz\u0105tku i zmie\u0144 sformu\u0142owanie.",ioe="Niestety, nie mo\u017Cna wygenerowa\u0107 planu. Zacznij od pocz\u0105tku.",soe="Nie mo\u017Cna otworzy\u0107 Twojego planu. Spr\xF3buj ponownie.",aoe="Nie mo\u017Cna odnale\u017A\u0107 po\u015Bwiadcze\u0144 dla tej roli. Wybierz inn\u0105 rol\u0119 i spr\xF3buj ponownie.",g0="Wprowad\u017A szczeg\xF3\u0142owy opis stanowiska i zakresu obowi\u0105zk\xF3w, kt\xF3re mog\u0105 pom\xF3c naszemu systemowi sztucznej inteligencji w dokonaniu lepszej personalizacji planu szkoleniowego. Zalecamy dodanie stanowiska i szczeg\xF3\u0142\xF3w dotycz\u0105cych okre\u015Blonych zada\u0144, kt\xF3re s\u0105 zwi\u0105zane z celem Twojego planu";var loe="Podaj mo\u017Cliwie jak najwi\u0119cej szczeg\xF3\u0142\xF3w, ale nie uwzgl\u0119dniaj \u017Cadnych informacji prywatnych ani poufnych",_N="Czy ten plan jest przydatny?",coe="Monity i wygenerowane odpowiedzi zostan\u0105 udost\u0119pnione. Wy\u015Bwietl podgl\u0105d element\xF3w, kt\xF3re zostan\u0105 udost\u0119pnione {here}",wN="Ten plan jest przydatny",vN="Ten plan nie jest przydatny",uoe="Dzi\u0119kujemy za po\u015Bwi\u0119cenie czasu na ocenienie sugerowanego planu i przedstawienie komentarzy. Twoje dane wej\u015Bciowe pomog\u0105 nam poprawi\u0107 nasze \u015Brodowisko.",doe="Co powiesz na mo\u017Cliwo\u015B\u0107 poprawienia planu?",poe="Co Ci si\u0119 podoba\u0142o w planie?",moe="Cel",goe="Generuj plan",f0="Trwa generowanie planu...",foe="Prawie gotowe",hoe="Prawie gotowe - wprowadzamy tylko ostatnie poprawki, aby upewni\u0107 si\u0119, \u017Ce wszystko b\u0119dzie idealne!",boe="Czas uko\u0144czenia",yoe="Teraz szacujemy czas uko\u0144czenia punktu kontrolnego na podstawie Twojego tempa nauki.",_oe="Nast\u0119pnie okre\u015Blamy Twoje rezultaty uczenia si\u0119.",woe="Na koniec ustawiamy kamienie milowe, w tym kluczowe etapy i punkty kontrolne.",voe="Najpierw generujemy tytu\u0142 planu i opis, kt\xF3ry zdefiniuje cel i zakres projektu.",xoe="Tytu\u0142 i opis",h0="Rozwijaj si\u0119 na obecnym etapie kariery",Toe="Jak dzia\u0142a?",koe='Ka\u017Cdy plan wygenerowany przez sztuczn\u0105 inteligencj\u0119 jest oparty na dokonanych przez u\u017Cytkownika wyborach i podanych przez niego informacjach. Wybieramy odpowiednie tre\u015Bci od firmy Microsoft, aby stworzy\u0107 spersonalizowany plan. Ten plan obejmuje dostosowane treningi i dokumentacj\u0119, zorganizowane kamienie milowe, narz\u0119dzia do \u015Bledzenia post\u0119p\xF3w dla poszczeg\xF3lnych os\xF3b lub grup oraz uznanie po uko\u0144czeniu. Dowiedz si\u0119 wi\u0119cej o sposobie dzia\u0142ania generowania planu sztucznej inteligencji i jego ograniczeniach.',Xf="Cele",b0="Podaj wi\u0119cej informacji na temat cel\xF3w kariery.",y0="Rozpocznij now\u0105 karier\u0119",Soe="Wprowad\u017A szczeg\xF3\u0142owy opis stanowiska i zakresu obowi\u0105zk\xF3w. Zalecamy u\u017Cywanie okre\u015Blonych stanowisk i/lub szczeg\xF3\u0142owego zakresu obowi\u0105zk\xF3w zwi\u0105zanych z celem Twojego planu. Dzi\u0119ki temu nasz system sztucznej inteligencji b\u0119dzie dzia\u0142a\u0107 w spos\xF3b bardziej spersonalizowany i dok\u0142adny.",Coe="Opis roli",Eoe="Wybierz rol\u0119",Aoe="Wybieranie najbardziej odpowiedniej roli",zoe="Jak\u0105 rol\u0119 chcesz pozna\u0107?",Poe="Rozpocznij od pocz\u0105tku bez zapisywania",Ioe="Zacz\u0105\u0107 od pocz\u0105tku bez zapisania planu?",Loe="Je\u015Bli zaczniesz od pocz\u0105tku, wprowadzony plan i informacje nie zostan\u0105 zapisane i konieczne b\u0119dzie ponowne wprowadzenie szczeg\xF3\u0142\xF3w i preferencji.",Roe="Po\u015Bwi\u0119\u0107 kilka minut, aby pom\xF3c nam w tworzeniu planu nauki za pomoc\u0105 sztucznej inteligencji \u2014 spersonalizowanego dla Ciebie!",Jw="Powiedz nam jaki jest Tw\xF3j cel",Moe="Dodaj mo\u017Cliwie jak najwi\u0119cej informacji i szczeg\xF3\u0142\xF3w",$oe="Przyk\u0142ad: \u201EMoim celem jest osi\u0105gni\u0119cie bieg\u0142o\u015Bci w us\u0142ugach platformy Azure AI. Chc\u0119 dowiedzie\u0107 si\u0119, jak tworzy\u0107 i wdra\u017Ca\u0107 modele sztucznej inteligencji oraz zarz\u0105dza\u0107 nimi przy u\u017Cyciu us\u0142ugi Azure Machine Learning. Ponadto staram si\u0119 zrozumie\u0107, jak zintegrowa\u0107 te modele z naszymi istniej\u0105cymi aplikacjami, aby zwi\u0119kszy\u0107 ich mo\u017Cliwo\u015Bci i zapewni\u0107 lepsze szczeg\xF3\u0142owe informacje\u201D.",Xw="O\u015B czasu",ev="Poinformuj nas, ile czasu musisz pracowa\u0107 nad planem.",Doe="Ile czasu mo\u017Cesz po\u015Bwi\u0119ci\u0107 tygodniowo?",Noe="Kiedy chcesz zako\u0144czy\u0107 sw\xF3j plan nauki?",joe="Mniej ni\u017C 1 godzina",Ooe="1-2 godzin",Foe="3-5 godzin",Uoe="5-10 godzin",qoe="Wi\u0119cej ni\u017C 10 godzin",Hoe="W ci\u0105gu 3 miesi\u0119cy",Boe="3-6 miesi\u0119cy",Goe="6-12 miesi\u0119cy",Voe="Wi\u0119cej ni\u017C 12 miesi\u0119cy";var eh="Przegl\u0105d planu";var Woe="Sukces! Tw\xF3j nowy plan jest gotowy. Przejrzyj go, poniewa\u017C zawarto\u015B\u0107 generowana przez sztuczn\u0105 inteligencj\u0119 mo\u017Ce by\u0107 niedok\u0142adna.";var Qoe="Przyk\u0142adowy plan",Yoe="Ten plan umiej\u0119tno\u015Bci przeprowadzi Ci\u0119 przez proces tworzenia rozwi\u0105za\u0144 sztucznej inteligencji przy u\u017Cyciu us\u0142ug platformy Azure AI, skupiaj\u0105c si\u0119 na przetwarzaniu j\u0119zyka naturalnego, generatywnej AI i niestandardowych aplikacjach sztucznej inteligencji. Dowiesz si\u0119, jak efektywnie korzysta\u0107 z zaawansowanych narz\u0119dzi i us\u0142ug platformy Azure.";var Koe="W ramach tego planu nauczysz si\u0119 tworzy\u0107 i wdra\u017Ca\u0107 rozwi\u0105zania sztucznej inteligencji przy u\u017Cyciu us\u0142ug platformy Azure AI, w tym aplikacje przetwarzania j\u0119zyka naturalnego i generatywnej AI.",Zoe="W ramach tego planu nauczysz si\u0119 wdra\u017Ca\u0107 niestandardowe aplikacje sztucznej inteligencji za pomoc\u0105 us\u0142ug Azure OpenAI Service i Studio AI platformy Azure.",Joe="W ramach tego planu nauczysz si\u0119 tworzy\u0107 inteligentne aplikacje korzystaj\u0105ce z funkcji platformy Azure AI w r\xF3\u017Cnych przypadkach u\u017Cycia.",Xoe="Zapoznanie si\u0119 z podstawowymi us\u0142ugami platformy Azure AI",ene="W tej sekcji uczniowie poznaj\u0105 podstawy us\u0142ug platformy Azure AI, zdobywaj\u0105c fundamentaln\u0105 wiedz\u0119 potrzebn\u0105 do tworzenia rozwi\u0105za\u0144 sztucznej inteligencji. Kluczowe technologie obejmuj\u0105 us\u0142ugi platformy Azure AI z zadaniami takimi jak zrozumienie mo\u017Cliwo\u015Bci us\u0142ugi i konfiguracja pocz\u0105tkowa.",tne="Wprowadzenie do us\u0142ug platformy Azure AI",one="Opracowywanie zaawansowanych rozwi\u0105za\u0144 sztucznej inteligencji za pomoc\u0105 platformy Azure",nne="Ta sekcja skupia si\u0119 na opracowywaniu zaawansowanych rozwi\u0105za\u0144 sztucznej inteligencji, w tym przetwarzania j\u0119zyka naturalnego i generatywnej AI. Uczniowie b\u0119d\u0105 pracowa\u0107, korzystaj\u0105c z us\u0142ug platformy Azure AI i us\u0142ugi Azure OpenAI Service, anga\u017Cuj\u0105c si\u0119 w zadania takie jak tworzenie modeli j\u0119zykowych i tworzenie niestandardowych pomocnik\xF3w.",rne="Opracowywanie rozwi\u0105za\u0144 przetwarzania j\u0119zyka naturalnego za pomoc\u0105 us\u0142ug platformy Azure AI",ine="Tworzenie aplikacji za pomoc\u0105 us\u0142ugi Azure OpenAI w modelach platformy Foundry",sne="Tworzenie w\u0142asnych niestandardowych pomocnik\xF3w za pomoc\u0105 us\u0142ugi Studio AI platformy Azure",ane="Opracowywanie rozwi\u0105za\u0144 sztucznej inteligencji za pomoc\u0105 us\u0142ug platformy Azure AI",lne='Zaktualizowane plany';var cne="Wybierz inn\u0105 nazw\u0119 dla swojego planu",une="Kopiuj link";var _0="Zarz\u0105dzanie";var w0="Zamknij",dne="Opu\u015B\u0107 plan",pne="Czy na pewno chcesz zamkn\u0105\u0107 ten plan?",mne="Utracisz wszystkie rekordy post\u0119pu i nie pojawisz si\u0119 w raporcie tw\xF3rcy.",gne="Tak, wyjd\u017A",fne="Wprowad\u017A tytu\u0142";var hne="Niestety, ten plan jest prywatny.",bne="Tw\xF3rca tego planu oznaczy\u0142 go jako prywatny i nie jest on obecnie widoczny dla innych u\u017Cytkownik\xF3w.",yne="Mo\u017Cesz przegl\u0105da\u0107 swoje plany w profilu u\u017Cytkownika.",_ne="Wy\u015Bwietl swoje plany",wne='Mo\u017Cesz r\xF3wnie\u017C wr\xF3ci\u0107 do plan\xF3w.',vne="Plan jest niedost\u0119pny",xne="Ten plan nie istnieje lub zosta\u0142 usuni\u0119ty.",Tne="Je\u015Bli ten link zosta\u0142 Ci udost\u0119pniony, popro\u015B o nowy link.",kne="Uko\u0144czone";var Sne="Plan umo\u017Cliwia osobom ucz\u0105cym si\u0119 czynienie post\u0119p\xF3w przez zestaw punkt\xF3w kontrolnych w celu osi\u0105gania wynik\xF3w w nauce. Mo\u017Cesz zaprosi\u0107 osoby ucz\u0105ce si\u0119 do planu i \u015Bledzi\u0107 ich post\u0119py.",Cne="Rozpocz\u0119to";var Ene="Plan oficjalny";var Ane="Nie mo\u017Cna odnale\u017A\u0107 planu. Od\u015Bwie\u017C stron\u0119.",zne="Co najmniej jeden punkt kontrolny jest pusty lub brakuje zalecanych dni do uko\u0144czenia. Rozwi\u0105\u017C te problemy przed opublikowaniem planu.",Pne="Szczeg\xF3\u0142y planu";var Ine="Usuwanie planu",Lne="Aby usun\u0105\u0107 plan, upewnij si\u0119, \u017Ce \u017Caden u\u017Cytkownik nie jest do niego przy\u0142\u0105czony. Wszyscy u\u017Cytkownicy musz\u0105 najpierw porzuci\u0107 plan.",Rne="Czy na pewno chcesz usun\u0105\u0107 nast\u0119puj\u0105cy plan?",Mne="Tak, usu\u0144 plan";var th="Zapro\u015B uczni\xF3w",xN="Kopiuj link zaproszenia",$ne="\u0141\u0105cze skopiowane do schowka",Dne="Usu\u0144 grup\u0119 szkoleniow\u0105",Nne="Zostanie usuni\u0119ta nast\u0119puj\u0105ca grupa szkoleniowa: {learningGroupName}. Czy chcesz kontynuowa\u0107?",jne="Usuni\u0119to grup\u0119",One="Grupy",tv="Nazwa grupy",Fne="Osoby";var Une="Grupa szkoleniowa to nazwa, kt\xF3ra pozwala zidentyfikowa\u0107 grup\u0119 uczni\xF3w w raporcie o post\u0119pie; osoby ucz\u0105ce si\u0119 nie b\u0119d\u0105 widzie\u0107 tej nazwy.

Utworzenie grupy szkoleniowej generuje unikatowy link do planu dla okre\u015Blonej grupy uczni\xF3w.";var TN="Nowa grupa szkoleniowa",qne="Wprowad\u017A nazw\u0119 dla tej grupy szkoleniowej",Hne="Zaproszenie do rozpocz\u0119cia planu {planTitle} w witrynie Microsoft Learn",Bne="Rozpocznij sw\xF3j plan i podr\xF3\u017C szkoleniow\u0105 ju\u017C dzisiaj.",Gne="Zaproszono Ci\u0119 do rozpocz\u0119cia planu {planTitle} w witrynie Microsoft Learn.",Vne="Plan to zestaw wyselekcjonowanych i zorganizowanych tre\u015Bci w us\u0142udze Microsoft Learn z kamieniami milowymi, kt\xF3re u\u0142atwiaj\u0105 osi\u0105ganie wynik\xF3w szkoleniowych.",Wne="Uko\u0144czenie tego planu spowoduje osi\u0105gni\u0119cie nast\u0119puj\u0105cych wynik\xF3w szkoleniowych:",Qne="Rozpocznij sw\xF3j plan ju\u017C dzi\u015B!",oh="Wy\u015Bwietl post\u0119p",Yne="Pobierz ten plik, aby wy\u015Bwietli\u0107 list\u0119 uczni\xF3w i ich post\u0119py.",v0="Pobierz plik CSV",Kne="Plik zawiera nast\u0119puj\u0105ce informacje:",Zne="Grupa uczni\xF3w",Jne="Nazwa u\u017Cytkownika platformy Microsoft Learn",Xne="Data pocz\u0105tkowa",ere="Data zako\u0144czenia",tre="Uko\u0144czono elementy",ore="Suma element\xF3w",Mu="Wyniki szkolenia",nre="Edytowanie wynik\xF3w nauki",rre="Wynik szkolenia to okre\u015Blona wiedza, umiej\u0119tno\u015Bci lub kompetencje, kt\xF3re uczestnik uzyska w wyniku uko\u0144czenia tego planu.",ire="Porada: rozpocznij opis ka\u017Cdego wyniku szkolenia od czasownika. Opis wyniku powinien uzupe\u0142nia\u0107 zdanie \u201EPo uko\u0144czeniu tego planu uczestnicy b\u0119d\u0105 mogli...\u201D";var sre="Wynik 1",are="Wynik 2 (opcjonalnie)",lre="Wynik 3 (opcjonalnie)",cre="Wynik {number}",ure="Konwertowanie na oficjalny plan",dre="Konwertowanie planu na oficjalny plan",pre="Oficjalny plan powinien by\u0107 u\u017Cywany, je\u015Bli chcesz, aby Tw\xF3j plan reprezentowa\u0142 firm\u0119 Microsoft i je\u015Bli chcesz do\u0142\u0105czy\u0107 linki zewn\u0119trzne do witryny Microsoft Learn. Upewnij si\u0119, \u017Ce Tw\xF3j plan jest kompletny, bez b\u0142\u0119d\xF3w typograficznych, a zawarto\u015B\u0107 jest u\u0142o\u017Cona we w\u0142a\u015Bciwej kolejno\u015Bci. Po opublikowaniu oficjalnego planu nie mo\u017Cna go zmieni\u0107.",mre="Aby zachowa\u0107 wszelkie linki zewn\u0119trzne z bazowej oficjalnej kolekcji lub planu, wykonaj konwersj\u0119 na oficjalny plan.",gre="Oficjalny plan reprezentuje firm\u0119 Microsoft, dlatego upewnij si\u0119, \u017Ce Tw\xF3j publikowany plan jest kompletny, woilny od b\u0142\u0119d\xF3w typograficznych, a zawarto\u015B\u0107 jest u\u0142o\u017Cona we w\u0142a\u015Bciwej kolejno\u015Bci.";var x0="Ten plan zosta\u0142 przes\u0142any do lokalizacji",fre="Plan jest kompletny i sprawdzony",hre="Dzi\u0119kujemy za przes\u0142anie oficjalnego planu do lokalizacji.",bre="Zaznacz jako uko\u0144czone",kN="Kamie\u0144 milowy",yre="Dodawanie punktu kontrolnego",_re="Edytuj punkt kontrolny";var wre="Nowy punkt kontrolny",vre="Dni do punktu kontrolnego:",xre="1 kamie\u0144 milowy",Tre="Kamienie milowe: {numberOfMilestones}";var kre="Uko\u0144czono punkt kontrolny";var Sre="Przenie\u015B do";var Cre="Potwierd\u017A, \u017Ce wszystkie kamienie milowe maj\u0105 tytu\u0142 i dni do uko\u0144czenia. Konieczne mo\u017Ce by\u0107 rozszerzenie ka\u017Cdego kamienia milowego.";var Ere="Oznaczy\u0107 jako uko\u0144czone?",Are="Czy chcesz oznaczy\u0107 jako uko\u0144czone? Po oznaczeniu jako uko\u0144czone ponowne przegl\u0105danie nie b\u0119dzie ju\u017C mo\u017Cliwe.",zre="Witamy!",Pre="Aby uruchomi\u0107 ten plan, nale\u017Cy udost\u0119pni\u0107 tw\xF3rcy planu dane dotycz\u0105ce post\u0119p\xF3w w jego realizacji. Dane, kt\xF3re b\u0119d\u0105 udost\u0119pniane, to: daty rozpocz\u0119cia i uko\u0144czenia planu oraz liczba element\xF3w z ca\u0142o\u015Bci, kt\xF3re zosta\u0142y uko\u0144czone w dowolnym momencie. Twoje dane b\u0119d\u0105 skojarzone z publiczn\u0105 nazw\u0105 u\u017Cytkownika platformy Learn.",Ire="Czy zgadzasz si\u0119 udost\u0119pni\u0107 post\u0119pem?",Lre="Tak, zgadzam si\u0119 na udost\u0119pnienie mojego post\u0119pu",Rre="Je\u015Bli chcesz otrzymywa\u0107 przydatne wiadomo\u015Bci e-mail, aby poprowadzi\u0107 Ci\u0119 i zach\u0119ci\u0107 do wdro\u017Cenia plan\xF3w, przejd\u017A do strony Ustawienia profilu i podaj kontaktow\u0105 adres e-mail osoby kontaktowej na potrzeby powiadomie\u0144.",Mre="Zapisz wszystkie elementy w tym planie jako nowe",$re="Zaloguj si\u0119, aby doda\u0107 to do swojego planu.";var Dre="Nie masz jeszcze \u017Cadnych plan\xF3w.",SN="Grupa uczni\xF3w o tej nazwie ju\u017C istnieje. Wprowad\u017A inn\u0105 nazw\u0119";var Nre="Zg\u0142oszony plan",jre='Zg\u0142oszono problem w przypadku tego planu i jest obecnie przegl\u0105dany przez firm\u0119 Microsoft. Aby uzyska\u0107 wi\u0119cej informacji, zapoznaj si\u0119 z naszymi warunkami u\u017Cytkowania.';var Ore="Zapisz dostosowan\u0105 kolekcj\u0119";var CN="Zaplanuj egzamin";var so="Search";var Fre="Wyszukaj w ca\u0142ej witrynie Microsoft Learn";var EN="Filtry wyszukiwania";var ov="Wyszukaj w poprzednich wersjach";var T0="Sekundy",Ure="{duration} s temu",qre="{seconds} s",k0="Sekcja",Hre="Sekcja o tytule: {title}";var nv="Zobacz mniej";var $u="Zobacz wi\u0119cej";var S0="Wybierz pakiet";var C0="Wybierz wersj\u0119";var Bre="Us\u0142uga";var Op="Ustawienia",E0="Udost\u0119pnij";var A0="[Artyku\u0142 udost\u0119pniony] {articleTitle}",Gre="Uko\u0144czone przeze mnie {achievementTitle}! To osi\u0105gni\u0119cie jest dla mnie wielkim powodem do dumy. By\u0107 mo\u017Ce zainspiruje Ci\u0119 to do rozpocz\u0119cia w\u0142asnej przygody z platform\u0105 @MicrosoftLearn.";var rv="Udost\u0119pnij na swoim kanale informacyjnym:";var AN="Udost\u0119pnij za po\u015Brednictwem";var Vre="Udost\u0119pnij swoje osi\u0105gni\u0119cie:",Wre="Udost\u0119pnianie",Qre="Udost\u0119pnianie jest wy\u0142\u0105czone dla zawarto\u015Bci wymagaj\u0105cej autoryzacji.";var nh="Poka\u017C mniej",Du="Poka\u017C wi\u0119cej",z0="Poka\u017C jeszcze {number}",P0="Zalogowano",Qr="Zaloguj";var Yre="Trwa logowanie si\u0119...";var Kre='Zaloguj si\u0119 do platformy Microsoft Learn';var iv="Zaloguj si\u0119, aby rozpocz\u0105\u0107",Fp="Wyloguj si\u0119";var Zre="Witryna";var Jre="{count} wi\u0119cej",I0="Wyczy\u015B\u0107 filtry",Xre="Ukryj filtr",zN="Opcje filtru {filter}";var eie="Zapytania dotycz\u0105ce termin\xF3w:",PN="My\u015Bli...",IN="Generowanie wyniku...",LN="Wyszukiwanie...",tie="Wyniki wyszukiwania",RN="Niestety, nie mog\u0119 pom\xF3c w tej kwestii. Prze\u015Blij nowe \u017C\u0105danie lub podziel si\u0119 swoj\u0105 opini\u0105.",MN="Niestety, w kr\xF3tkim czasie wys\u0142ano zbyt wiele \u017C\u0105da\u0144. Zaczekaj chwil\u0119 i spr\xF3buj ponownie.",oie="Dok\u0142adna/odpowiednia zawarto\u015B\u0107",nie="Kompletna/przejrzysta zawarto\u015B\u0107",rie="Szybka odpowied\u017A",iie="Niedok\u0142adna/nieistotna zawarto\u015B\u0107",sie="Niekompletna/niejasna zawarto\u015B\u0107",aie="Obra\u017Aliwa/nieodpowiednia zawarto\u015B\u0107",lie="Powolna reakcja",$N="Co\u015B innego",DN="Podaj jak najwi\u0119cej szczeg\xF3\u0142\xF3w, ale nie do\u0142\u0105czaj \u017Cadnych prywatnych lub poufnych informacji",cie="Podaj wi\u0119cej informacji",uie="Ta odpowied\u017A by\u0142a pomocna",die="Ta odpowied\u017A nie by\u0142a pomocna",rh="Podsumowanie wygenerowane przez sztuczn\u0105 inteligencj\u0119",Up="Niestety, wyst\u0105pi\u0142 problem. Spr\xF3buj ponownie p\xF3\u017Aniej.",NN="Podsumowania s\u0105 chwilowo niedost\u0119pne, spr\xF3buj ponownie p\xF3\u017Aniej.";var jN="Nie mo\u017Cna pobra\u0107 podsumowania",ON="Nieprawid\u0142owa odpowied\u017A podsumowania";var Nu="Zawarto\u015B\u0107 wygenerowana przez AI mo\u017Ce by\u0107 niepoprawna.",ih='Przeczytaj nasze uwagi dotycz\u0105ce przejrzysto\u015Bci sztucznej inteligencji, aby uzyska\u0107 wi\u0119cej informacji.',pie='Przeczytaj nasze uwagi dotycz\u0105ce przejrzysto\u015Bci sztucznej inteligencji, aby uzyska\u0107 wi\u0119cej informacji.',sh="Dzi\u0119kujemy za opini\u0119.",sv="Ukryj",FN="Poka\u017C",L0="Trwa generowanie...",mie="Zaczekaj chwil\u0119 i spr\xF3buj ponownie.",R0="Nie mamy jeszcze tych informacji.",gie="Wyniki dla frazy \u201E{searchPhrase}\u201D: {count}",fie="Wynik dla frazy \u201E{searchPhrase}\u201D: {count}",hie="Podobne wyniki dla frazy \u201E{searchPhrase}\u201D: {count}",bie="{count} podobny wynik dla frazy \u201E{searchPhrase}\u201D",yie="{count} Wyniki dla frazy \u201E{searchPhrase}\u201D w zakresie {scope}",_ie="{count} Wynik dla frazy \u201E{searchPhrase}\u201D w zakresie {scope}",wie="Podobne wyniki dla frazy \u201E{searchPhrase}\u201D w zakresie {scope}: {count}",vie="{count} podobny wynik dla frazy \u201E{searchPhrase}\u201D w zakresie {scope}",xie="Nie znaleziono dopasowania, pokazywane s\u0105 wyniki ({count}) podobne do frazy \u201E{searchPhrase}\u201D.",Tie="Nie znaleziono dopasowania, pokazywany jest {count} wynik podobny do frazy \u201E{searchPhrase}\u201D.";var kie="lub wy\u015Bwietl wszystkie wyniki w witrynie Microsoft Learn",Sie="{count} Wyniki dla frazy \u201E{searchPhrase}\u201D w zakresie {scope} {pivotCategory}",Cie="{count} Wynik dla frazy \u201E{searchPhrase}\u201D w zakresie {scope} {pivotCategory}",Eie="Podobne wyniki dla frazy \u201E{searchPhrase}\u201D w zakresie {scope} i kategorii {pivotCategory}: {count}",Aie="{count} podobny wynik dla frazy \u201E{searchPhrase}\u201D w zakresie {scope} i kategorii {pivotCategory}",ah="Niestety, nie mo\u017Cna znale\u017A\u0107 \u017Cadnych element\xF3w pasuj\u0105cych do Twojego wyszukiwania.",zie="Pr\xF3bowali\u015Bmy sprawdzi\u0107 pisowni\u0119 i rozszerzy\u0107 zakres wyszukiwania, ale nadal nie mo\u017Cemy niczego znale\u017A\u0107. Spr\xF3buj u\u017Cy\u0107 innego s\u0142owa kluczowego lub innej frazy.",Pie="Twoje urz\u0105dzenie jest obecnie wstrzymane z powodu zabezpiecze\u0144. Szczeg\xF3\u0142y nie s\u0105 obecnie dost\u0119pne. Gdy aktualizacja b\u0119dzie dost\u0119pna, zobaczysz j\u0105 na stronie us\u0142ugi Windows Update w obszarze Ustawienia.",Iie="Aktualizacja nie jest jeszcze dost\u0119pna dla Twojego urz\u0105dzenia",Lie="Niestety, nie mo\u017Cna znale\u017A\u0107 \u017Cadnych element\xF3w pasuj\u0105cych do Twojego wyszukiwania w zakresie {scope}.",Rie='Nadal mo\u017Cesz .',Mie="Nie mo\u017Cna znale\u017A\u0107 \u017Cadnych wynik\xF3w odpowiadaj\u0105cych frazie \u201E{searchPhrase}\u201D",$ie="Nie mo\u017Cna znale\u017A\u0107 \u017Cadnych wynik\xF3w odpowiadaj\u0105cych frazie \u201E{searchPhrase}\u201D w zakresie {scope}";var rl="Wyst\u0105pi\u0142 problem",eo="Wyst\u0105pi\u0142 b\u0142\u0105d. Spr\xF3buj ponownie.";var qp="GitHub";var Die="Sortuj wed\u0142ug:";var da="Rozpocznij",Nie="Rozpoczyna si\u0119 {startDate}",jie="Data rozpocz\u0119cia";var Oie="Data rozpocz\u0119cia";var Fie="Zacznij od pocz\u0105tku";var Uie="Krok {step-index} z {step-count}",qie="Zarz\u0105dzaj: {title} w podr\u0119cznikach do nauki",Hie="Dodaj: {title} w podr\u0119cznikach do nauki";var Bie="Temat",Gie="Tematy",Do="Prze\u015Blij";var Vie="Prze\u015Blij kolejn\u0105 opini\u0119";var Wie="Przesy\u0142anie zosta\u0142o pomy\u015Blnie zako\u0144czone",Qie="Dzi\u0119kujemy za przes\u0142anie opinii. Wkr\xF3tce si\u0119 z ni\u0105 zapoznamy. Pami\u0119taj, \u017Ce przesy\u0142anie opinii to komunikacja w jedn\u0105 stron\u0119 i obecnie na nie nie odpowiadamy.",Yie="Pami\u0119taj, \u017Ce chocia\u017C nie mo\u017Cemy odpowiedzie\u0107 na opini\u0119, nasz zesp\xF3\u0142 wykorzysta Twoje komentarze, aby poprawi\u0107 \u015Brodowisko.";var Kie="Sugestie",Zie="Sugestie b\u0119d\u0105 filtrowane podczas wpisywania";var Jie="Pomoc techniczna";var Xie="Tabela {index}";var ese="Tag";var UN="Tagi";var tse="Pozosta\u0142a liczba znak\xF3w";var ose="Obrazy zewn\u0119trzne mo\u017Cna linkowa\u0107 tylko z niekt\xF3rych witryn internetowych. Te adresy URL obraz\xF3w s\u0105 niedozwolone: {urls}. Kliknij, aby wy\u015Bwietli\u0107 pe\u0142n\u0105 list\u0119 dozwolonych domen.",nse="Plik {fileName} jest nieprawid\u0142owy. Plikiem musi by\u0107 prawid\u0142owy plik typu gif, jpg, jpeg lub png.",rse="Plik {fileName} jest zbyt du\u017Cy. Rozmiar pliku nie mo\u017Ce przekracza\u0107 pi\u0119ciu megabajt\xF3w.";var ise="Cloud Shell";var sse="Konto {account} ma ju\u017C profil",ase="Osi\u0105gni\u0119to limit konta",lse="Z jednym profilem mo\u017Ce by\u0107 po\u0142\u0105czonych maksymalnie pi\u0119\u0107 kont s\u0142u\u017Cbowych. Usu\u0144 jedno konto i spr\xF3buj ponownie.";var cse="Masz ju\u017C po\u0142\u0105czone konto w tej samej organizacji";var use="Dodaj konto i spr\xF3buj ponownie.";var dse='\u0141\u0105czy\u0107 mo\u017Cna tylko te konta, kt\xF3re nie maj\u0105 zarejestrowanego profilu. Wybierz inne konto lub zapoznaj si\u0119 z naszymi wskaz\xF3wkami dotycz\u0105cymi rozwi\u0105zywania problem\xF3w, aby uzyska\u0107 wi\u0119cej szczeg\xF3\u0142\xF3w.';var pse="To konto jest ju\u017C po\u0142\u0105czone",mse="Konto {account} jest kontem osobistym. Wybierz konto s\u0142u\u017Cbowe.";var gse="Musisz mie\u0107 co najmniej jedno konto po\u0142\u0105czone z profilem.";var fse="Obs\u0142ugiwane jest tylko jedno konto na organizacj\u0119.",hse="Po\u0142\u0105czone mo\u017Ce by\u0107 tylko jedno konto osobiste",bse="Profil jest obecnie scalany",yse="Mo\u017Cesz od\u015Bwie\u017Cy\u0107 stron\u0119, aby sprawdzi\u0107 stan scalania.";var _se="Wybierz konto",qN="Wybierz inne konto";var wse="Istnieje ju\u017C profil certyfikatu po\u0142\u0105czony z tym profilem",vse="Aby kontynuowa\u0107, skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105 w celu usuni\u0119cia bie\u017C\u0105cego profilu certyfikatu.";var xse="Ten profil zosta\u0142 zablokowany",Tse="Ten profil jest obecnie zablokowany i jest scalany z innym profilem. Zaloguj si\u0119 do innego profilu.",HN="Pon\xF3w pr\xF3b\u0119 scalenia",BN="Przerwij scalanie";var kse="Scalanie uko\u0144czone";var Sse="Mo\u017Cesz od\u015Bwie\u017Cy\u0107 stron\u0119, aby sprawdzi\u0107 stan scalania.",Cse="Nie znaleziono rekordu scalania profilu",Ese='Nie mo\u017Cna odnale\u017A\u0107 operacji scalania profilu. Od\u015Bwie\u017C stron\u0119. Je\u015Bli problem nadal wyst\u0119puje, skontaktuj si\u0119 z pomoc\u0105 techniczn\u0105.',Ase="Poprzednia pr\xF3ba scalania uniemo\u017Cliwia wykonanie tej akcji",zse="Jeden z profil\xF3w, kt\xF3re pr\xF3bujesz scali\u0107, jest obecnie scalany z innym profilem. Zaloguj si\u0119 do obu profil\xF3w, aby sprawdzi\u0107 stan.";var Pse="Twoje profile zosta\u0142y pomy\u015Blnie scalone.",Ise="Wyst\u0105pi\u0142 problem podczas scalania profilu \u017Ar\xF3d\u0142owego (nazwa u\u017Cytkownika: {sourceUser}) z profilem docelowym (nazwa u\u017Cytkownika: {destinationUser}).",Lse="Niekt\xF3re dane mog\u0142y zosta\u0107 scalone w tym procesie, wi\u0119c mo\u017Cna oczekiwa\u0107, \u017Ce niekt\xF3re dane znikn\u0105 z profilu \u017Ar\xF3d\u0142owego i pojawi\u0105 si\u0119 w profilu docelowym.",Rse="Mo\u017Cesz wybra\u0107 jedn\u0105 z nast\u0119puj\u0105cych akcji:",Mse="{terminateMergeText}: Spowoduje to zatrzymanie i zamkni\u0119cie procesu scalania. B\u0119dzie mo\u017Cna u\u017Cywa\u0107 obu profil\xF3w oraz uruchomi\u0107 nowe scalanie w dowolnym czasie. Dane, kt\xF3re zosta\u0142y ju\u017C scalone, pozostan\u0105 w profilu docelowym.",$se="{retryMergeText}: Spowoduje to ponowne uruchomienie procesu scalania. Profil \u017Ar\xF3d\u0142owy zostanie zablokowany podczas procesu scalania.",Dse="Scalanie w toku. Mo\u017Ce to zaj\u0105\u0107 kilka minut.",Nse="Scalanie zosta\u0142o przerwane.";var jse="Microsoft MVP";var Ose="Cz\u0142onek programu Student Ambassadors w \u015Brodowisku Microsoft Learn";var Fse="Zaloguj si\u0119 przy u\u017Cyciu innego konta";var Use="Zapraszamy do pyta\u0144 i odpowiedzi!",qse="Otrzymuj spersonalizowane aktualizacje na tematy, kt\xF3re Ci\u0119 interesuj\u0105",Hse="Rozwijaj swoj\u0105 reputacj\u0119, pomagaj\u0105c innym",Bse="Natychmiast \u0142\u0105cz si\u0119 z osobami, kt\xF3re podzielaj\u0105 Twoje zainteresowania";var Gse="Bez uko\u0144czenia rejestracji nie b\u0119dzie mo\u017Cna publikowa\u0107 post\xF3w ani zadawa\u0107 pyta\u0144 w sekcji pyta\u0144 i odpowiedzi.";var Vse="Daj nam zna\u0107",M0="Podaj wi\u0119cej informacji.",Wse="Podziel si\u0119 z nami swoj\u0105 opini\u0105.",Qse="Podziel si\u0119 swoj\u0105 opini\u0105! Twoja opinia jest dla nas bardzo wa\u017Cna.";var Yse="Bardzo \u017Ale";var $0="Dzi\u0119kujemy za opini\u0119.",Kse="Dzi\u0119kujemy za cenne opinie!";var Zse="Ten artyku\u0142 jest przydatny",Jse="Ten artyku\u0142 nie jest przydatny";var Xse="Ta strona";var eae="Ta sekcja zostanie trwale usuni\u0119ta.";var tae="Microsoft Build 2026";var oae="Festiwal umiej\u0119tno\u015Bci AI";var nae="2\u20133 czerwca 2026 r.",rae="Szczeg\xF3\u0142owe informacje na temat prawdziwego kodu i rzeczywistych system\xF3w mo\u017Cna znale\u017A\u0107 w San Francisco i online",iae="Dowiedz si\u0119 wi\u0119cej",sae="8\u201312 czerwca 2026 r.",aae="Rozwijaj umiej\u0119tno\u015Bci w zakresie sztucznej inteligencji i przy okazji skorzystaj z szansy na zdobycie nagr\xF3d i kupon\xF3w certyfikacyjnych",lae="Uzyskaj bezp\u0142atny dost\u0119p",cae="Napiwek";var bc="Tytu\u0142";var uae="Twoje konto platformy Azure {email} ma wiele dzier\u017Caw. Wybierz t\u0105, kt\xF3ra ma by\u0107 u\u017Cywana dla tego \u015Brodowiska:",dae="Zalogowano Ci\u0119 ju\u017C do us\u0142ugi Learn przy u\u017Cyciu poni\u017Cszego konta. Czy chcesz kontynuowa\u0107 korzystanie z bie\u017C\u0105cego \u015Brodowiska za pomoc\u0105 tego konta?",pae="Potwierd\u017A konto",mae="Kontynuuj z kontem",gae="Wybierz jedn\u0105 ze swoich dzier\u017Caw platformy Azure",fae="Bezp\u0142atna wersja pr\xF3bna platformy Azure",hae="O nie! Na tym koncie nie ma dost\u0119pnej subskrypcji platformy Azure",bae="Twoje konto {email} nie ma skojarzonej subskrypcji platformy Azure. Zapraszamy do wypr\xF3bowania bezp\u0142atnej wersji pr\xF3bnej platformy Azure lub zalogowania si\u0119 na inne konto.",yae="Je\u015Bli Twoje konto nie ma zarejestrowanego profilu us\u0142ugi Learn, rejestracja zostanie wykonana automatycznie w ramach tego procesu.";var _ae="Zaloguj si\u0119 za pomoc\u0105 swojego konta.",D0="U\u017Cyj innego konta";var Yr="Szkolenie";var ju="Niestety, wyst\u0105pi\u0142 b\u0142\u0105d. Ponownie za\u0142aduj stron\u0119, aby spr\xF3bowa\u0107 jeszcze raz.";var Hp="Spr\xF3buj ponownie";var lh="Wypr\xF3buj",wae="Wypr\xF3buj interfejs API REST, korzystaj\u0105c z poni\u017Cszych danych wej\u015Bciowych.",vae="Wyst\u0105pi\u0142 problem podczas przetwarzania Twojego \u017C\u0105dania",xae="Samouczek";var Tae="Ostatnie 7 dni",kae="Ostatnie 24 godziny",Sae="Ostatnie 30 dni",Cae="Ostatnie 365 dni";var Eae="typ";var Aae="Adres URL",N0="Skopiowano adres URL!";var GN="Zweryfikuj swoje konto",ch="Wersja",zae="Wersje";var VN="Wideo";var WN="Wy\u015Bwietl wyniki ({totalResults})";var Pae="Zalecamy korzystanie z programu Visual Studio 2019.",Iae="Pobierz teraz",Lae="Dokumentacja programu Visual Studio";var Rae="Ostrze\u017Cenie";var Mae="Czy ta strona by\u0142a pomocna?";var $ae="Strona internetowa";var j0="Tydzie\u0144";var O0="Tygodnie";var Dae="{duration} tyg. temu";var Nae='Microsoft Learn \u2014 Zapraszamy!';var jae="Podaj przyczyn\u0119 tej opinii.";var Oae='ze sztuczn\u0105 inteligencj\u0105 w us\u0142udze Microsoft Learn ';var Fae="Dokumentacja systemu Windows";var uh="x.com",QN="{totalXP} pkt.";var Uae="Year (Rok)",YN="Lata";var xs="Tak",yc="Tak, usu\u0144";var qae="Nie masz jeszcze \u017Cadnych kolekcji.";var Hae="Musisz wybra\u0107 od {min} do {max} tag\xF3w {tagLabel}.",Bae="`{tagLabel}` nie jest ju\u017C w u\u017Cytku. U\u017Cyj innego tagu, kt\xF3ry ma zastosowanie do Twojego scenariusza.";var Gae="Twoje konto";var Vae="Witryna MSDN TechNet zosta\u0142a wycofana i ten artyku\u0142 ju\u017C nie istnieje. Poni\u017Csze linki zawieraj\u0105 powi\u0105zane informacje:",Wae="Zarchiwizowana zawarto\u015B\u0107 witryny TechNet Wiki",Qae="Zarchiwizowane fora MSDN i TechNet";var Yae="Dokumentacja platformy Microsoft Learn",Kae="Strona g\u0142\xF3wna us\u0142ugi Microsoft Learn",Zae="Microsoft Q&A";var Bp=window;var U=Bp,dh=Bp.navigator,T=Bp.document,Jae=Bp.localStorage,Qn=Bp.history,ee=Bp.location,b=U.msDocs,Te=new Promise(e=>{T.readyState==="loading"?T.addEventListener("DOMContentLoaded",()=>e()):e()});A();function zt(){window.dispatchEvent(new CustomEvent("content-update"))}function to(e,t,o="",n="button-info",r="banner",i){let s=i||T.getElementById("disclaimer-holder");if(!s||T.getElementById("server-disclaimer-holder"))return null;let l=t&&t.url?d` ${t.text} `:"",c=t&&t.clickHandler?d` `:"",u=t?d`
${l||c}
`:"";return w(d` `,s),zt(),s}var cv="__event_type_id__",DIe=0,He=class{constructor(){this.callbacks={}}publish(t){let o=t.constructor[cv];if(o===void 0||this.callbacks[o]===void 0)return;let n=this.callbacks[o].slice(0);for(let r of n)r(t)}subscribe(t,o){t.hasOwnProperty(cv)||(t[cv]=DIe++);let n=t[cv];this.callbacks[n]===void 0&&(this.callbacks[n]=[]);let r=this.callbacks[n];return r.indexOf(o)===-1&&r.push(o),()=>this.unsubscribe(t,o)}unsubscribe(t,o){let n=t[cv];if(n===void 0||this.callbacks[n]===void 0)return;let r=this.callbacks[n],i=r.indexOf(o);i!==-1&&r.splice(i,1)}dispose(){this.callbacks={}}},lt=new He;function Uu(e,t,o){let n=()=>{},r=i=>{o(i),n()};return n=e.subscribe(t,r),n}var _h=class{constructor(t){this.url=t}},bo=class{constructor(t,o,n){this.title=t;this.url=o;this.referrerUrl=n}};var al;function m2(){al={};let e=T.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 al===void 0&&m2(),al[e]===void 0?void 0:al[e][0]}function Ts(e){return al===void 0&&m2(),al[e]?al[e].slice():[]}var ct=class{static get contentDir(){return b.data.contentDir}static get contentLocale(){return b.data.contentLocale}static get userDir(){return b.data.userDir}static get userLocale(){return b.data.userLocale}static get hasLocSideBySideTranslation(){return P("enable_loc_sxs")==="true"||P("bilingual_type")==="hover over"}static get translationType(){return P("ms.translationtype")?.toUpperCase()}static get machineTranslated(){return this.translationType?/^(?:MT|MTE|MTE75|MTE95)$/i.test(this.translationType):!1}},Mi=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 re(e){let t,o=/\+/g,n=/([^&=]+)=?([^&]*)/g,r=s=>decodeURIComponent(s.replace(o," "));e===void 0&&(e=ee.search),e=e.substring(1);let i={};for(;t=n.exec(e);)i[r(t[1])]=r(t[2]);return i}function se(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(r=>{o.push(encodeURIComponent(n)+"="+encodeURIComponent(r))}):o.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n].toString())));return o.join("&")}function Ht(e,t,o){let n=re(),r=!1;for(let c in e)e.hasOwnProperty(c)&&n[c]!==String(e[c])&&(n[c]=e[c],r=!0);let i=ee.hash;if(typeof o=="string"&&(o=o.trim(),o.substr(0,1)!=="#"&&o!==""&&(o=`#${o}`),i!==o&&(i=o,r=!0)),!r)return;let s=se(n);s.length>0&&(s="?"+s);let a=`${ee.protocol}//${ee.host}${ee.pathname}${s}${i}`,l=Qn.state||{};t==="pushState"?Qn.pushState(l,T.title,a):t==="replaceState"?Qn.replaceState(l,T.title,a):ee.href=a}function g2(e){let t=T.createElement("a");/^https:\/\/|^http:\/\//.test(e)?t.href=e:/^\/\//.test(e)?t.href=ee.protocol+e:t.href=ee.origin+e;let o=t.pathname[0]==="/"?t.pathname:"/"+t.pathname,n=t.host.replace(/:443$|:80$/,""),r=t.hostname.replace(/:443$|:80$/,"");return{hash:t.hash,host:n,hostname:r,href:t.href,origin:`${t.protocol}//${n}`,pathname:o,protocol:t.protocol,search:t.search}}function f2(e,t=2e3,o=";"){let n=encodeURIComponent(o).length,r=[],i,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}).`);(!i||s+l>t)&&(i=[],r.push(i),s=0),i.push(a),s+=l+n}return r}function cr(e=new URL(ee.href)){let t=new URLSearchParams(e.search),o={};return t.forEach((n,r)=>o[r]=n),o}var Jo=(()=>{let e;return t=>{if(!t&&e!==void 0)return e;let o=re().dataSource;return e=P("is_archived")==="true"||b.data.pageTemplate==="SearchPage"&&o==="previousVersions",e}})();function jIe(){return P("is_retired")==="true"}function OIe(){let e=location.pathname.split("/").filter(t=>t!=="");return e.length>=2&&e[1]==="previous-versions"}function FIe(){if(!Jo())return;let e=ct.machineTranslated,t=e?JY:ZY,o=OIe(),n=e?o?rK:KY:o?nK:QY,r=P("current_version_url"),i=jIe()?t:n;if(P("vs_archive")==="true"){let a=Pae,l=Iae;to(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(r)to(i,{url:r,text:iK});else if(b.data.pageTemplate==="SearchPage"){let a=U1;to(pK,{url:location.origin,text:a})}else{let a=U1;to(i,{url:location.origin,text:a})}}function ble(){Jo()&&FIe()}function UIe(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 L=b?.environment?b.environment:UIe(location.hostname);var X={setItem(e,t){try{U.localStorage.setItem(e,t)}catch{}},getItem(e){try{return U.localStorage.getItem(e)}catch{return null}},removeItem(e){try{U.localStorage.removeItem(e)}catch{}},clear(){try{U.localStorage.clear()}catch{}}},wh={setItem(e,t){try{U.sessionStorage.setItem(e,t)}catch{}},getItem(e){try{return U.sessionStorage.getItem(e)}catch{return null}},removeItem(e){try{U.sessionStorage.removeItem(e)}catch{}}};var h2="docs.preview",b2=(new URLSearchParams(ee.search).get("preview")||"").split(",").map(e=>e.trim().toLowerCase()).reduce((e,t)=>(t!==""&&(e[t]=1),e),{}),uv,qIe=()=>{let e;return X.getItem(h2)?e=JSON.parse(X.getItem(h2)):e={},e},HIe=(e,t)=>{uv=qIe();let o=b2[e]===1,n=!isNaN(uv[e]),r=o||n,i=b2[`x-${e}`];return o?console.log(`Preview ${e} via query string`):n&&console.log(`Preview ${e} via local storage`),t&&(r||i)&&(r&&(uv[e]=Date.now()),i&&delete uv[e],X.setItem(h2,JSON.stringify(uv))),r},We=(e,t={require:!1,persist:!1})=>{let{require:o,persist:n}=t;return L.reviewFeatures&&Object.keys(b2).length===0&&!o?!0:(e=e.toLowerCase(),HIe(e,n))};function vh(e=ee.search,t=L.reviewFeatures){let o="preview-date",n=new URLSearchParams(e),r=new Date(n.get(o)).getTime();return t&&!isNaN(r)&&r!==0?r:Date.now()}var BIe=["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 yle(){let e=P("original_content_git_url");return BIe.some(o=>e?.startsWith(o))}function _le(){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 k=GIe();function GIe(){return{aiSummary:b.data.pageTemplate==="Conceptual"&&b.data.userLocale?.startsWith("en"),arkoseEncrypt:L.reviewFeatures,apiBrowser:!0,applicationInsights:_le(),appliedSkills:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||We("applied-skills",{require:!0})||We("applied-skills-share",{require:!0}),appliedSkillsManager:!0,appliedSkillsShare:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||We("applied-skills-share",{require:!0}),assessmentBranches:L.supportLevel==="production"&&L.reviewFeatures,assessmentMergerLearnAssessment:We("assessment-merger-learn-assessment",{require:!0}),assessmentMergerPracticeAssessment:We("assessment-merger-practice-assessment",{require:!0}),assessmentMergerRenewalAssessment:We("assessment-merger-renewal-assessment",{require:!0}),assessments:L.siteName==="learn",assessmentsEmail:We("assessments-email",{require:!0}),azureNotebooks:!0,banner:!0,blogComments:!0,chatTutor:L.siteName==="learn",chromeless:!!b.data.context.chromeless,certificationAndCourseUpdates:Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||We("certification-and-course-updates",{require:!0}),certificationUpdates:Date.now()>=new Date("2023-10-06T17:00:00.000Z").getTime()||We("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:(L.supportLevel==="development"||L.supportLevel==="production"&&L.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&P("page_type")==="search"&&Jo()===!1,enableNewSiteSearch:P("page_type")==="search"&&Jo()===!1,enableModernSearchAnswer:(L.supportLevel==="development"||L.supportLevel==="production"&&L.reviewFeatures===!1)&&b.data.userLocale==="en-us"&&P("page_type")==="search"&&Jo()===!1,enableSiteSearchExperiment:L.siteName==="learn"&&L.supportLevel==="production",feedbackReport:b.data.showFeedbackReport,formAdvisor:b.data.userLocale?.startsWith("en"),formAdvisorCredential:We("form-advisor-credential",{require:!0}),gamification:!0,gitContributors:!0,graphOriginUpdate:We("graph-origin-update",{require:!0}),hubUpdate:b.data.pageTemplate==="Hub"&&We("hub-update",{require:!0}),inlineEdit:We("inline-edit",{require:!0}),inlineFeedback:!0,interactivity:!0,labsOnDemand:!0,learnAssessments:!0,skipAssessmentDualWrite:We("assessment-v0",{require:!0}),learnEventRebrand:We("learn-rebrand",{require:!0}),learningPathIlt:!0,learningPathIltSearch:We("learning-path-ilt-search",{require:!0}),marketing:!0,mecMigration:!0,moduleUnitFeedbackReport:!0,oneCustomerVoiceFeedback:!0,oneDS:L.accessLevel!=="local",openSourceFeedback:["Conceptual","Reference","Architecture","FAQ"].includes(b.data.pageTemplate)&&b.data.feedbackSystem==="OpenSource"&&!!b.data.openSourceFeedbackIssueUrl,pageRecommendations:L.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"&&!yle(),pdfDownload:L.siteName==="learn",permissionedContent:L.reviewFeatures&&We("permissioned-content"),personalChallenge:Date.now()>=new Date("2024-05-28T19:00:00.000Z").getTime()||We("personal-challenge",{require:!0}),practiceAssessmentsAllowParam:L.reviewFeatures&&(P("page_kind")==="practiceAssessment"||P("page_kind")==="practiceAssessmentReport"),previewCredentialsL1:Date.now()>=new Date("2023-09-18T18:00:00.000-07:00").getTime()||We("credentials-L1",{require:!0}),previewOneStreamPlayerNextVersion:We("one-stream-player-next-version",{require:!0}),previewRailEventCard:We("rail-event-card",{require:!0}),previewQnaAiAdmin:We("qna-ai-admin",{require:!0}),previewQnaAiDemo:We("qna-ai-demo",{require:!0}),qna:!0,qnaCaptchaBypass:We("qna-captcha-bypass",{require:!0}),qnaStackResults:We("qna-stack-results",{require:!0}),quickWins:We("quick-wins",{require:!0}),referenceRightRailH3:P("in_right_rail")==="h2h3",referenceRightRailSticky:["Reference"].includes(b.data.pageTemplate),reportWebVitalsAlways:We("report-web-vitals",{require:!0}),rightRailSticky:["Conceptual","FAQ","HowTo","Reference","Architecture"].includes(b.data.pageTemplate),rss:!0,shareLink:!0,siteSearchProducts:We("site-search-products",{require:!0}),skipToCompletedModal:We("completed-modal",{require:!0}),stayCurrentAllowParam:L.reviewFeatures&&(P("page_kind")==="certification"||P("page_kind")==="certificationrenewal"||P("page_kind")==="certificationRenewalAssessment"||P("page_kind")==="certificationRenewalAssessmentReport"),surveyPopover:L.siteName==="learn"||L.accessLevel==="local",systemDrivenAchievement:!0,temporaryClientSideEventBanners:L.siteName==="learn"||L.siteName==="developer",thirdPartyDataSharingConsentFlag:!0,tocSearch:b.data.brand!=="mooncake",translationFeedback:b.data.userLocale!=="en-us"&&P("ocv-translation-feedback")==="true"&&ct.machineTranslated,trainingSkills:b.data.userLocale?.startsWith("en"),tenantManager:We("tenant-manager",{require:!0}),userFeedback:We("user-feedback",{require:!0}),planGenV2:We("plan-gen-v2",{require:!0}),userAnalyticsMocks:We("user-analytics-mocks",{require:!0}),userServices:!0,usingStandardFeedback:b.data.standardFeedback||b.data.pageTemplate==="ModuleUnit"||b.data.pageTemplate==="Module",unifiedSearchResults:We("unified-search-results",{require:!0})&&P("page_type")==="search"&&Jo()===!1,supportsSharing:P("page_type")!=="learn"&&!(b.data.contentLocale==="en-us"&&b.data.brand==="mooncake")}}function wle(e,t){let o=document.querySelector("#side-doc-outline li > a[aria-current='true']"),n=VIe(e),r=n===null?null:document.querySelector(`#side-doc-outline li > a[href="http://approjects.co.za/?big=#${n}"]`);o!==r&&(o&&WIe(o),r&&(QIe(r),YIe(r,t)))}function VIe(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 WIe(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 QIe(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 YIe(e,t){(e.offsetTopt.scrollTop+t.clientHeight)&&(t.scrollTop=e.offsetTop-t.clientHeight/2)}var qu=FD({storageKey:b.data.layoutStateStorageKey,excludesKey:b.data.layoutStateExcludesKey,excludes:b.data.layoutStateExcludes,useViewTransitionOnRestore:!1,storage:localStorage});lt.subscribe(_h,()=>{document.documentElement.removeAttribute("data-layout-restored"),qu.stop()});lt.subscribe(bo,()=>{qu=FD({storageKey:b.data.layoutStateStorageKey,excludesKey:b.data.layoutStateExcludesKey,excludes:b.data.layoutStateExcludes,useViewTransitionOnRestore:!1,storage:localStorage})});function vle(){eG(),lt.subscribe(bo,Ja),window.addEventListener("content-update",Ja);let e=["[data-dismissable]"];window.addEventListener("click",KIe(e))}function KIe(e){return t=>{t.target instanceof Element&&t.target.closest(e.join(","))&&Ja()}}function xle(){return document.querySelector("[data-collapsible-toc-toggle]")}var ZIe=async(e=!document.documentElement.classList.contains("layout-menu-collapsed"))=>{await Te;let t=xle(),o=document.getElementById("left-container"),n=document.getElementById("ms--toc-content");if(!t||!o||!n)return;let r=e?vC:HC;t.setAttribute("aria-expanded",String(e)),t.setAttribute("aria-label",r),t.title=r,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 Tle(){let e=xle();e&&(qu.subscribe("layout-menu-collapsed","always",t=>ZIe(!t.isApplied),{useViewTransition:!1}),e.addEventListener("click",()=>{document.documentElement.classList.toggle("layout-menu-collapsed")}))}async function kle(){await Tle();let e=T.getElementById("affixed-left-container"),t=T.getElementById("affixed-right-container");if((k.connectedExperiences||k.rightRailSticky)&&t&&JIe(t),e===null)return;let o=T.getElementById("footer"),n=T.querySelector(".layout-body-header"),r=8,i=1;e.style.top=`${r}px`;function s(){if(e==null||e.hasAttribute("disable-affix"))return;let c=U.innerHeight;if(c<450)e.classList.remove("position-sticky"),e.style.maxHeight="";else{e.style.height="0";let u=o.getBoundingClientRect().height,p=u===0?0:Math.max(0,c-o.getBoundingClientRect().top),m=n.getBoundingClientRect().height,g=m===0?0:Math.max(0,n.getBoundingClientRect().bottom),f=T.body.scrollHeight;e.classList.add("position-sticky"),e.style.maxHeight=`${f-(2*r+m+u+i)}px`,e.style.height=`calc(100vh - ${r+g+p+i}px)`}}let a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(s)}U.addEventListener("scroll",l,{passive:!0}),U.addEventListener("resize",l,{passive:!0}),U.addEventListener("content-update",l),U.addEventListener("dismiss-content-update",l),s(),U.addEventListener("load",s,!1),U.addEventListener("pageshow",s,!1),U.addEventListener("DOMContentLoaded",s,!1)}function JIe(e){let o=T.getElementById("footer");e.classList.add("position-sticky"),e.style.top="8px";function n(){let s=8,a=e.offsetHeight;if(a>U.innerHeight){let l=a-U.innerHeight;s=-1*(8/2+Math.min(U.scrollY,l))}if(e.style.top=`${s}px`,k.rightRailSticky){e.style.removeProperty("bottom"),e.style.top=`${s}px`;let l=T.getElementById("side-doc-outline"),c=T.getElementById("ms--site-user-feedback-right-rail");if(!l&&!c)return;let u=o.getBoundingClientRect().height,p=T.querySelector(".header-holder"),m=p.getBoundingClientRect().height,g=c?c.getBoundingClientRect().height:0,f=T.body.scrollHeight;e.style.maxHeight=`${f-(2*8+m+u)}px`;let y=u===0?0:Math.max(0,U.innerHeight-o.getBoundingClientRect().top),h=m===0?0:Math.max(0,p.getBoundingClientRect().bottom);if(e.style.height=`calc(100vh - ${2*8+h+y}px)`,l){l.style.overflow="auto",l.style.maxHeight=`calc(100% - ${g}px)`;let v="#ms--in-this-article, #ms--feedback, #ms--additional-resources-mobile-heading",_=k.referenceRightRailH3?`#main h2:not(${v}), #main h3`:`#main h2:not(${v})`,x=Array.from(T.querySelectorAll(_)).filter(z=>!!z.id&&z.offsetParent!==null);wle(x,e)}}}let r=0;function i(){cancelAnimationFrame(r),r=requestAnimationFrame(n)}U.addEventListener("scroll",i,{passive:!0}),U.addEventListener("resize",i,{passive:!0}),U.addEventListener("content-update",i),n(),U.addEventListener("load",n,!1),U.addEventListener("DOMContentLoaded",n,!1)}var XIe=/([a-z]\.)([a-z])/gi,eLe=/([a-z])([A-Z]+[a-z])/g,tLe=/(\w\/)(\S?)/gi,Q0="",y2=`$1${Q0}$2`,oLe=/\u200B/g;function Pn(e,t=3){return!e||!e.length||t===0||(t&2&&(e=e.replace(XIe,y2)),t&1&&(e=e.replace(eLe,y2)),t&4&&(e=e.replace(tLe,y2))),e}function Sle(e,t){let o=[];if(!e||t===0)return o;e=Pn(e,t);let n=0,r=e.indexOf(Q0,n);for(;r!==-1;)o.push(e.substring(n,r)),o.push(document.createElement("wbr")),n=r+Q0.length,r=e.indexOf(Q0,n);return o.push(e.substring(n)),o}function Cle(e){return e.replace(oLe,"")}var nLe={"&":"&","<":"<",">":">",'"':""","'":"'"},Ele=/[&<>"']/g,rLe=RegExp(Ele.source);function Be(e){return e&&rLe.test(e)?e.replace(Ele,t=>nLe[t]):e}function Y0(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Zp(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 Jr(e,t={year:"numeric",month:"short",day:"numeric"},o=b.data.userLocale){return new Date(e).toLocaleDateString(o,t).replace(/\u200E/g,"")}function K0(e){Array.from(document.querySelectorAll("span[data-localize-date]")).forEach(o=>{if(o.textContent!==""){let n=Jr(new Date(o.textContent),e);o.textContent=n}})}var iLe=/(^|\s)(C#|F#|C\+\+)($|\s|[.,!?;:])/g;function Z0(e,t="text"){let o=`$1$2${t==="text"?"\u200E":"‎"}$3`;return e.replace(iLe,o)}function Ale(e=document.body,t=b.data.userLocale){e.querySelectorAll("time[data-article-date]").forEach(n=>{n.classList.remove("is-invisible");let r;try{if(r=new Date(n.getAttribute("datetime")),isNaN(r.getTime()))return}catch{return}n.setAttribute("datetime",r.toISOString());let i={year:"numeric",month:"2-digit",day:"2-digit"};n.getAttribute("data-article-date-source")==="ms.date"&&(i.timeZone="UTC");let a=Jr(r,i,t);n.textContent=a})}function _2(e){return decodeURIComponent(atob(sLe(e).replace(/_/g,"/").replace(/-/g,"+")).split("").map(t=>`%${("00"+t.charCodeAt(0).toString(16)).slice(-2)}`).join(""))}function sLe(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 w2="id_token",X0="docsAuthToken",aLe="account_linking_token",dv=class{constructor({detail:t}){this.message="invalid token",this.detail=t}},ll=class{constructor({detail:t}){this.message="invalid claim",this.detail=t}},J0=class{constructor({detail:t}){this.message="malformed claim",this.detail=t}};function eA(e){X.setItem(w2,e)}function Hu(){return X.getItem(w2)}function tA(){X.removeItem(w2)}function oA(e){X.setItem(X0,e)}function Xo(){return X.getItem(X0)}function nA(){X.removeItem(X0)}function xh(){X.removeItem(aLe)}function Jp(e,t={nbfClockSkewInMilliseconds:2500}){try{if(!(e&&e.length&&e.indexOf(".")>-1))throw new dv({detail:"Invalid JWT - no separators found."});let n=e.split("."),r=JSON.parse(_2(n[1]));if(!r)throw new dv({detail:"Invalid JWT - payload is missing."});if(r.hasOwnProperty("nbf")){let i=r.nbf;if(isNaN(i))throw new J0({detail:"Invalid NBF claim - claim is malformed."});let s=new Date(0);s.setUTCSeconds(r.nbf);let a=new Date(Date.now()+t.nbfClockSkewInMilliseconds);if(s>a)throw new ll({detail:"Invalid NBF claim - token not yet valid."})}if(r.hasOwnProperty("exp")){let i=r.exp;if(isNaN(i))throw new J0({detail:"Invalid EXP claim - claim is malformed."});let s=new Date(0);s.setUTCSeconds(r.exp);let a=new Date(Date.now());if(s<=a)throw new ll({detail:"Invalid EXP claim - token has expired."})}return r}finally{}}var rA=e=>{if(!(e&&e.length&&e.indexOf(".")>-1))throw new dv({detail:"Invalid JWT - no separators found."});let o=e.split(".");return JSON.parse(_2(o[1]))};var Ple=`data:image/svg+xml;base64,${btoa('')}`,Ile=`data:image/svg+xml;base64,${btoa('')}`,Lle="a4d008df-4ece-4cb3-b7c9-d1be5ac4cacf",lLe=(e,t)=>{e||(e=Ur);let o=t.replace(/\D/g,""),n=parseInt(o.slice(0,2))*.01,r=parseInt(o.slice(2,4))*.01,i=n*320,s=r*100,a=Math.floor(n*31+10),l=`hsl(${i}, ${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}=lLe(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`}`},To=class{},Xr="72f988bf-86f1-41af-91ab-2d7cd011db47",sA="9188040d-6c67-4c5b-b112-36a304b66dad",Rle="1a092f68-5741-455a-8057-2acdb897a850",Mle="604c1504-c6a3-4080-81aa-b33091104187",$le="ada63eea-fd1c-4d79-b40a-41d1380df7a5",v2={[Xr]:"microsoft",[sA]:"standard"},x2=new Date("2019-11-21T00:00:00.000Z"),uo=(e,t)=>aA(e,t).toString(),iA=class extends He{constructor(){super();this.idTokenEmail="";this.legalName=null;this.setAnonymous()}setAnonymous(){this.isAuthenticated!==!1&&(this.userId="00000000-0000-0000-0000-000000000000",this.upn="anonymous@anonymous.com",this.email="anonymous@anonymous.com",this.idTokenEmail="anonymous@anonymous.com",this.userName="Anonymous",this.displayName="Anonymous",this.locale="en-us",this.country=null,this.contactPointTopicSetting=null,this.authenticationMode="AAD",this.authenticationModes=[],this.isAuthenticated=!1,this.avatarUrl=fn(this.displayName,this.userId),this.avatarThumbnailUrl=fn(this.displayName,this.userId),this.profileUrl="#",this.createdOn=null,this.userType="standard",this.acceptedPrivacyNotice=x2,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 To))}mapIdTokenToProfile(o){this.email=o.email||o.preferred_username,this.upn=o.preferred_username,this.userName=o.name,this.displayName=o.name,this.authenticationMode=v2[o.tid]==="standard"?"MSA":"AAD",this.userType=v2[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 To)}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=cLe(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 To)}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=v2[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 To)}whenAuthenticated(){return S.isAuthenticated?Promise.resolve():new Promise(o=>this.subscribe(To,()=>{this.isAuthenticated&&o()}))}},S=new iA;function T2(e,t){e&&Array.from(e.querySelectorAll("[data-profile-property]")).forEach(o=>{let n=o.getAttribute("data-profile-property"),r=t,i=t.profileUrl;o instanceof HTMLImageElement&&n==="avatarUrl"?(o.onerror=()=>o.src=fn(t.displayName,t.userId),o.src=r[n]):o instanceof HTMLImageElement&&n==="avatarThumbnailUrl"?(o.onerror=()=>o.src=t.avatarUrl||fn(t.displayName,t.userId),o.src=r[n]):o instanceof HTMLAnchorElement&&n==="profileUrl"?(o.href=uo("me","activity"),i==="#"&&(o.href=new URL("./register",_c()).toString())):o instanceof HTMLAnchorElement&&n==="bookmarksUrl"?(o.href=i+(L.reviewFeatures?"§ion=collections&detail=bookmarks":"collections/bookmarks"),i==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="collectionsUrl"?(o.href=i+(L.reviewFeatures?"§ion=collections":"collections"),i==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&n==="settingsUrl"?o.href=uo("me","settings"):o instanceof HTMLInputElement?o.type!=="file"&&(o.value=r[n]):n==="createdOn"?o.textContent=Jr(r[n]):o.textContent=r[n]})}function aA(e,t){let o=_c(),n=new URLSearchParams(ee.search);P("page_type")==="profile"&&(o.hash=ee.hash),L.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 r=`./${e}/`;t&&(r+=`${t}/`);let i=new URL(r,o);return i.hash=o.hash,i.search=o.search,o=i,o}function _c(e=b.data.userLocale){let t=new URL(`${e&&e.length?`/${e}`:""}/`,ee.origin);return new URL("./users/",t)}function cLe(e){let t="standard";return e&&e.length&&(e.find(o=>o.tenantId===Xr)!==void 0?t="microsoft":e.find(o=>o.type==="AAD")!==void 0&&(t="aad")),t}function me(e){return e.status===401&&S.setAnonymous(),e}var uLe={"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"}},dLe={"https://review.learn.microsoft.com":{stayCurrent:"https://review.learn.microsoft.com/api/certification",skillAssessment:"https://review.learn.microsoft.com/api/skillassessment"}};function pLe(e,t){let o=e,n=t.systemContent?e:o,r=t.supportLevel==="production"?"https://api.ilt.learningcredentials.microsoft.com":"https://api.dev.ilt.learningcredentials.microsoft.com",i=uLe[e]||{},s=dLe[e]||{};return{admin:`${o}/api/admin`,selfAssessmentsAdmin:mLe(),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",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:`${r}/ilt-scheduling/offerings`,location:`${r}/ilt-scheduling/offerings/location`,languages:`${r}/ilt-scheduling/languages`,duration:`${r}/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:`${Dle()}/chat/threads/{communicationChatThreadId}/messages/{messageId}?api-version=2023-11-07`,chatThread:`${Dle()}/chat/threads/{communicationChatThreadId}/messages?api-version=2023-11-07`},analyticsSummary:`${o}/api/questions/dashboard/metrics`,analyticsQuestions:`${o}/api/questions/answered`,questionAnswerCommentVote:`${o}/api/questions/answers/comments/{commentId}/vote`,questionCommentVote:`${o}/api/questions/comments/{commentId}/vote`,questionDetails:`${o}/api/questions/{questionId}/details`,questionAiAnswer:{generate:`${o}/api/questions/{questionId}/aiAnswer`,reject:`${o}/api/questions/aiAnswers/{answerId}/delete`},questionAgentAnswer:`${o}/api/questions/agentanswer`,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`,...i}}function mLe(){return"https://docs-rcs-pubdev.azurewebsites.net"}function Dle(){return L.supportLevel==="production"?"https://docsquestions-acs-public.unitedstates.communication.azure.com":"https://docsquestions-acs-pubdev.unitedstates.communication.azure.com"}var M=pLe(location.origin,L);var gLe=30*1e3,R=async(e,t,o=gLe,n)=>{t=t||{};let r=new AbortController,i=()=>r.abort();n?.addEventListener("abort",i),t.signal=r.signal;try{let s=setTimeout(()=>r.abort(),o),a=await fetch(e,t);return clearTimeout(s),a}finally{n?.removeEventListener("abort",i)}};function Z(e,t,o=!0,n=!0){t=t||{},t.mode="cors",t.credentials!=="omit"&&(t.credentials="same-origin");let r=new Request(e,t);return o&&Xo()&&r.headers.set("Authorization",`Bearer ${Xo()}`),(r.method==="PUT"||r.method==="POST")&&n&&r.headers.set("Content-Type","applicationhttps://www.microsoft.com/json"),r}var pv=class{};function k2(e){let t={method:"GET"},o=Z(M.auth.docs,t,!1);return o.headers.set("Authorization",`Bearer ${e}`),R(o).then(n=>{if(n.ok)return n.text();throw n.status===404||n.status===204?new pv:n.status===401?new ll({detail:"token not accepted"}):new Error(`get docs auth token failed (${n.status} ${n.statusText})`)})}function Xp(e,t=!0){try{if(e.ok&&e.headers.has("Authorization")){let o=e.headers.get("Authorization");if(o){let n=Jp(o);oA(o),t&&S.readUserFromToken(n)}}return e}catch{return e}}function mt(e=["api-branch","branch"],t=""){if(L.accessLevel==="local")return"main";if(L.reviewFeatures===!0){let o=re(ee.search);return e.reduce((n,r)=>n||o[r],"")||t}return null}var Ue=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,L.reviewFeatures&&console.error(this)}};async function em(e){let t;try{t=e.response.json?(await e.response.json()).errorCode:null}catch{t=null}return t}function lA(e){if(!Array.isArray(e))throw new Ue({statusText:"Value must be an array"},"InvalidTypeError");return e}function Th(e,t){let o=t.filter(n=>e[n]===null||e[n]===void 0);if(o.length>0)throw new Ue({statusText:`Missing required fields in object: ${o.join(", ")}`},"MissingRequiredApiAttribute");return e}function Nle(e,t){throw new Ue({statusText:`Type Conversion Error: converting type ${typeof e} to ${t} failed for value ${e.toString()}`},"TypeConversionError")}function S2(e){let t;try{t=parseInt(e)}catch{Nle(e,"number")}return isNaN(t)&&Nle(e,"number"),t}function wc(e,t,o=!0,n="applicationhttps://www.microsoft.com/json",r="",i=!0){t=t||{},t.mode="cors",t.credentials="same-origin";let s=new Request(e,t);return o&&s.headers.set("Authorization",`Bearer ${r||Xo()}`),(s.method==="PUT"||s.method==="POST")&&i&&n!=="multipart/form-data"&&s.headers.set("Content-Type",n),s}async function vc(e){let t=`${M.profile.profiles}/${e}`,n=await R(wc(t,{method:"GET"},!1));return me(n),n.ok?await n.json():(n.status===204,null)}async function C2(e){if(!e)return null;if(e===Lle)return{displayName:Ur,userId:e,avatarUrl:fn(Ur,e)};let t=`${M.profile.profiles}/id:${e}`,n=await R(wc(t,{method:"GET"},!1));return me(n),n.ok?await n.json():(n.status===204,null)}async function tm(e){try{let t=await fetch(wc(M.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 kh(e,t){let o=`${M.profile.profiles}/${e}`,r={credentials:"include",method:"PUT",body:JSON.stringify(t)},i=await R(wc(o,r));if(me(i),i.ok){Xp(i,!1);let s=await i.json();return S.readUserProfile(s),{hasError:!1,profile:s}}else if(i.status===400){let s=await i.json();return{hasError:!0,message:s.message,errors:s.errorCode.split(",")}}return{hasError:!0,message:i.statusText,errors:["somethingWentWrong"]}}async function jle(){let e=M.privacy.delete,o=await R(wc(e,{credentials:"include",method:"POST"},!0,"","",!1));return me(o),o.ok}async function Ole(){let e=M.profile.acknowledgePrivacyNotice,o=await R(wc(e,{method:"POST"}));if(me(o),Xp(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}async function E2(){let e=M.profile.merge,o=await R(wc(e,{method:"GET"}));if(me(o),o.ok){let{status:n}=await o.json();return n}return null}async function Fle(){let e=M.profile.mergeDetails,o=await R(wc(e,{method:"GET"}));return me(o),o.ok?await o.json():null}async function Ule(){let e=M.profile.acknowledgeMergeStatus,o=await R(wc(e,{method:"POST"}));if(me(o),Xp(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}var fLe=["vscode://docsmsft.learn-tutor","vscode-insiders://docsmsft.learn-tutor"];function qle(e){return e?fLe.some(t=>e.toLowerCase().startsWith(t)):!1}var hLe="https://sanitize-url.invalid/";function cA(e){if(!e)return"";let t=String(e).trim();if(!t)return"";let o;try{o=new URL(t,hLe)}catch{return""}return o.protocol==="http:"||o.protocol==="https:"?t:""}function ei(e="",t=`${ee.origin}${ee.pathname}`){let o=e?new URL(e,ee.href):new URL(t);if(o.href.toLowerCase().indexOf("javascript:")!==-1)return new URL(ee.origin);if(o.protocol==="https:"&&(o.hostname===ee.hostname||o.hostname.endsWith(".microsoft.com")||o.hostname==="microsoft.com")||qle(o.href))return o;let n=`${ee.origin}${ee.pathname}`;return t===n?new URL(`${o.pathname}${o.search}${o.hash}`,`${ee.origin}`):ei(t)}var yo={};Mo(yo,{addApplicationTelemetry:()=>Av,addAuthorizationCode:()=>AO,addBrokerParameters:()=>Sc,addCcsOid:()=>Tc,addCcsUpn:()=>Vu,addClaims:()=>um,addCliData:()=>IO,addClientAssertion:()=>Iv,addClientAssertionType:()=>Lv,addClientCapabilitiesToClaims:()=>Wle,addClientId:()=>lm,addClientInfo:()=>pm,addClientSecret:()=>Pv,addCodeChallengeParams:()=>xRe,addCodeVerifier:()=>PO,addCorrelationId:()=>dm,addDeviceCode:()=>TRe,addDomainHint:()=>SO,addEARParameters:()=>ARe,addExtraParameters:()=>kc,addGrantType:()=>Rv,addIdTokenHint:()=>kO,addInstanceAware:()=>Mv,addLibraryInfo:()=>Ev,addLoginHint:()=>$h,addLogoutHint:()=>LO,addNativeBroker:()=>vRe,addNonce:()=>EO,addOboAssertion:()=>kRe,addPassword:()=>ERe,addPopToken:()=>$v,addPostLogoutRedirectUri:()=>TO,addPrompt:()=>CO,addRedirectUri:()=>cm,addRefreshToken:()=>zO,addRequestTokenUse:()=>SRe,addResource:()=>Ov,addResponseMode:()=>xO,addResponseType:()=>wRe,addScopes:()=>am,addServerTelemetry:()=>Nv,addSid:()=>RA,addSshJwk:()=>Dv,addState:()=>zv,addThrottling:()=>jv,addUsername:()=>CRe,instrumentBrokerParams:()=>sm});var Me={};Mo(Me,{AADAuthority:()=>ma,AAD_INSTANCE_DISCOVERY_ENDPT:()=>L2,AAD_TENANT_DOMAIN_SUFFIX:()=>R2,ADFS:()=>P2,APP_METADATA:()=>zh,AUTHORITY_METADATA_CACHE_KEY:()=>Ph,AUTHORITY_METADATA_REFRESH_TIME_SECONDS:()=>Y2,AUTHORIZATION_PENDING:()=>wLe,AZURE_REGION_AUTO_DISCOVER_FLAG:()=>N2,AuthenticationScheme:()=>ko,AuthorityMetadataSource:()=>$i,CACHE_ACCOUNT_TYPE_ADFS:()=>W2,CACHE_ACCOUNT_TYPE_GENERIC:()=>hA,CACHE_ACCOUNT_TYPE_MSAV1:()=>FLe,CACHE_ACCOUNT_TYPE_MSSTS:()=>V2,CACHE_KEY_SEPARATOR:()=>nm,CIAM_AUTH_URL:()=>uA,CLIENT_INFO:()=>Q2,CLIENT_INFO_SEPARATOR:()=>Ah,CLIENT_MISMATCH_ERROR:()=>ij,CODE_GRANT_TYPE:()=>yLe,CONSUMER_UTID:()=>bLe,CacheOutcome:()=>ga,CacheType:()=>ULe,ClaimsRequestKeys:()=>Eh,CodeChallengeMethodValues:()=>jLe,CredentialType:()=>hn,DEFAULT_AUTHORITY:()=>Hle,DEFAULT_AUTHORITY_HOST:()=>z2,DEFAULT_COMMON_TENANT:()=>mv,DEFAULT_MAX_THROTTLE_TIME_SECONDS:()=>oj,DEFAULT_THROTTLE_TIME_SECONDS:()=>tj,DEFAULT_TOKEN_RENEWAL_OFFSET_SEC:()=>aj,DSTS:()=>I2,EMAIL_SCOPE:()=>Vle,EncodingTypes:()=>BLe,FORWARD_SLASH:()=>Sh,GrantType:()=>hv,HTTP_BAD_REQUEST:()=>gA,HTTP_CLIENT_ERROR:()=>CLe,HTTP_CLIENT_ERROR_RANGE_END:()=>q2,HTTP_CLIENT_ERROR_RANGE_START:()=>U2,HTTP_GATEWAY_TIMEOUT:()=>MLe,HTTP_GONE:()=>PLe,HTTP_MULTI_SIDED_ERROR:()=>$Le,HTTP_NOT_FOUND:()=>ALe,HTTP_REDIRECT:()=>SLe,HTTP_REQUEST_TIMEOUT:()=>zLe,HTTP_SERVER_ERROR:()=>LLe,HTTP_SERVER_ERROR_RANGE_END:()=>B2,HTTP_SERVER_ERROR_RANGE_START:()=>H2,HTTP_SERVICE_UNAVAILABLE:()=>RLe,HTTP_SUCCESS:()=>mA,HTTP_SUCCESS_RANGE_END:()=>kLe,HTTP_SUCCESS_RANGE_START:()=>TLe,HTTP_TOO_MANY_REQUESTS:()=>ILe,HTTP_UNAUTHORIZED:()=>ELe,HeaderNames:()=>Ho,HttpMethod:()=>DLe,IMDS_ENDPOINT:()=>pA,IMDS_TIMEOUT:()=>D2,IMDS_VERSION:()=>$2,INVALID_GRANT_ERROR:()=>rj,INVALID_INSTANCE:()=>F2,JsonWebTokenTypes:()=>sj,KNOWN_PUBLIC_CLOUDS:()=>O2,NOT_APPLICABLE:()=>vLe,NOT_AVAILABLE:()=>om,OAuthResponseType:()=>OLe,OFFLINE_ACCESS_SCOPE:()=>dA,OIDC_DEFAULT_SCOPES:()=>Ch,OIDC_SCOPES:()=>fA,ONE_DAY_IN_MS:()=>HLe,OPENID_SCOPE:()=>Ble,PROFILE_SCOPE:()=>Gle,PasswordGrantConstants:()=>_A,PersistentCacheKeys:()=>NLe,PromptValue:()=>fv,REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:()=>j2,RESOURCE_DELIM:()=>gv,RegionDiscoveryOutcomes:()=>_v,RegionDiscoverySources:()=>Gu,ResponseMode:()=>G2,S256_CODE_CHALLENGE_METHOD:()=>_Le,SERVER_TELEM_CACHE_KEY:()=>bv,SERVER_TELEM_CATEGORY_SEPARATOR:()=>yA,SERVER_TELEM_MAX_CACHED_ERRORS:()=>Z2,SERVER_TELEM_MAX_CUR_HEADER_BYTES:()=>qLe,SERVER_TELEM_MAX_LAST_HEADER_BYTES:()=>K2,SERVER_TELEM_OVERFLOW_FALSE:()=>X2,SERVER_TELEM_OVERFLOW_TRUE:()=>J2,SERVER_TELEM_SCHEMA_VERSION:()=>bA,SERVER_TELEM_UNKNOWN_ERROR:()=>ej,SERVER_TELEM_VALUE_SEPARATOR:()=>Bu,SHR_NONCE_VALIDITY:()=>xLe,SKU:()=>A2,THE_FAMILY_ID:()=>rm,THROTTLING_PREFIX:()=>yv,URL_FORM_CONTENT_TYPE:()=>M2,X_MS_LIB_CAPABILITY_VALUE:()=>nj});var A2="msal.js.common",Hle="https://login.microsoftonline.com/common/",z2="login.microsoftonline.com",mv="common",P2="adfs",I2="dstsv2",L2=`${Hle}discovery/instance?api-version=1.1&authorization_endpoint=`,uA=".ciamlogin.com",R2=".onmicrosoft.com",gv="|",bLe="9188040d-6c67-4c5b-b112-36a304b66dad",Ble="openid",Gle="profile",dA="offline_access",Vle="email",yLe="authorization_code",_Le="S256",M2="application/x-www-form-urlencoded;charset=utf-8",wLe="authorization_pending",vLe="N/A",om="Not Available",Sh="/",pA="http://169.254.169.254/metadata/instance/compute/location",$2="2020-06-01",D2=2e3,N2="TryAutoDetect",j2="login.microsoft.com",O2=["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],xLe=240,F2="invalid_instance",mA=200,TLe=200,kLe=299,SLe=302,CLe=400,U2=400,gA=400,ELe=401,ALe=404,zLe=408,PLe=410,ILe=429,q2=499,LLe=500,H2=500,RLe=503,MLe=504,B2=599,$Le=600,DLe={GET:"GET",POST:"POST"},Ch=[Ble,Gle,dA],fA=[...Ch,Vle],Ho={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"},NLe={ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},ma={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},Eh={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},fv={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},jLe={PLAIN:"plain",S256:"S256"},OLe={CODE:"code",IDTOKEN_TOKEN:"id_token token",IDTOKEN_TOKEN_REFRESHTOKEN:"id_token token refresh_token"},G2={QUERY:"query",FRAGMENT:"fragment",FORM_POST:"form_post"},hv={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"},V2="MSSTS",W2="ADFS",FLe="MSA",hA="Generic",nm="-",Ah=".",hn={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},ULe={ADFS:1001,MSA:1002,MSSTS:1003,GENERIC:1004,ACCESS_TOKEN:2001,REFRESH_TOKEN:2002,ID_TOKEN:2003,APP_METADATA:3001,UNDEFINED:9999},zh="appmetadata",Q2="client_info",rm="1",Ph="authority-metadata",Y2=3600*24,$i={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},bA=5,qLe=80,K2=330,Z2=50,bv="server-telemetry",yA="|",Bu=",",J2="1",X2="0",ej="unknown_error",ko={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},tj=60,oj=3600,yv="throttling",nj="retry-after, h429",rj="invalid_grant",ij="client_mismatch",_A={username:"username",password:"password"},Gu={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},_v={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},ga={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},sj={Jwt:"JWT",Jwk:"JWK",Pop:"pop"},HLe=864e5,aj=300,BLe={BASE64:"base64",HEX:"hex",UTF8:"utf-8"};var xc={};Mo(xc,{ACCESS_TOKEN:()=>WLe,BROKER_CLIENT_ID:()=>wv,BROKER_REDIRECT_URI:()=>kA,CCS_HEADER:()=>tRe,CLAIMS:()=>dj,CLIENT_ASSERTION:()=>$j,CLIENT_ASSERTION_TYPE:()=>Dj,CLIENT_ID:()=>cl,CLIENT_INFO:()=>JLe,CLIENT_REQUEST_ID:()=>vj,CLIENT_SECRET:()=>Mj,CLI_DATA:()=>Wj,CODE:()=>bj,CODE_CHALLENGE:()=>yj,CODE_CHALLENGE_METHOD:()=>_j,CODE_VERIFIER:()=>wj,DEVICE_CODE:()=>Rj,DOMAIN_HINT:()=>Hj,EAR_JWE_CRYPTO:()=>Gj,EAR_JWK:()=>Bj,ERROR:()=>GLe,ERROR_DESCRIPTION:()=>VLe,EXPIRES_IN:()=>YLe,FOCI:()=>eRe,GRANT_TYPE:()=>uj,ID_TOKEN:()=>QLe,ID_TOKEN_HINT:()=>Lj,INSTANCE_AWARE:()=>Ih,LOGIN_HINT:()=>qj,LOGOUT_HINT:()=>Fj,NATIVE_BROKER:()=>Oj,NONCE:()=>fj,OBO_ASSERTION:()=>Nj,ON_BEHALF_OF:()=>XLe,POST_LOGOUT_URI:()=>Ij,PROMPT:()=>hj,REDIRECT_URI:()=>wA,REFRESH_TOKEN:()=>mj,REFRESH_TOKEN_EXPIRES_IN:()=>KLe,REQUESTED_TOKEN_USE:()=>jj,REQ_CNF:()=>xA,RESOURCE:()=>Vj,RESPONSE_MODE:()=>cj,RESPONSE_TYPE:()=>lj,RETURN_SPA_CODE:()=>TA,SCOPE:()=>pj,SESSION_STATE:()=>ZLe,SID:()=>Uj,STATE:()=>gj,TOKEN_TYPE:()=>vA,X_APP_NAME:()=>zj,X_APP_VER:()=>Pj,X_CLIENT_CPU:()=>Sj,X_CLIENT_CURR_TELEM:()=>Cj,X_CLIENT_EXTRA_SKU:()=>oRe,X_CLIENT_LAST_TELEM:()=>Ej,X_CLIENT_OS:()=>kj,X_CLIENT_SKU:()=>xj,X_CLIENT_VER:()=>Tj,X_MS_LIB_CAPABILITY:()=>Aj});var cl="client_id",wA="redirect_uri",lj="response_type",cj="response_mode",uj="grant_type",dj="claims",pj="scope",GLe="error",VLe="error_description",WLe="access_token",QLe="id_token",mj="refresh_token",YLe="expires_in",KLe="refresh_token_expires_in",gj="state",fj="nonce",hj="prompt",ZLe="session_state",JLe="client_info",bj="code",yj="code_challenge",_j="code_challenge_method",wj="code_verifier",vj="client-request-id",xj="x-client-SKU",Tj="x-client-VER",kj="x-client-OS",Sj="x-client-CPU",Cj="x-client-current-telemetry",Ej="x-client-last-telemetry",Aj="x-ms-lib-capability",zj="x-app-name",Pj="x-app-ver",Ij="post_logout_redirect_uri",Lj="id_token_hint",Rj="device_code",Mj="client_secret",$j="client_assertion",Dj="client_assertion_type",vA="token_type",xA="req_cnf",Nj="assertion",jj="requested_token_use",XLe="on_behalf_of",eRe="foci",tRe="X-AnchorMailbox",TA="return_spa_code",Oj="nativebroker",Fj="logout_hint",Uj="sid",qj="login_hint",Hj="domain_hint",oRe="x-client-xtra-sku",wv="brk_client_id",kA="brk_redirect_uri",Ih="instance_aware",Bj="ear_jwk",Gj="ear_jwe_crypto",Vj="resource",Wj="clidata";function SA(e){return`See https://aka.ms/msal.js.errors#${e} for details`}var rt=class e extends Error{constructor(t,o,n){let r=o||(t?SA(t):""),i=r?`${t}: ${r}`:t;super(i),Object.setPrototypeOf(this,e.prototype),this.errorCode=t||"",this.errorMessage=r||"",this.subError=n||"",this.name="AuthError"}setCorrelationId(t){this.correlationId=t}};function Lh(e,t){return new rt(e,t||SA(e))}var vv=class e extends rt{constructor(t){super(t),this.name="ClientConfigurationError",Object.setPrototypeOf(this,e.prototype)}};function Pt(e){return new vv(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("&"),r=i=>decodeURIComponent(i.replace(/\+/g," "));return n.forEach(i=>{if(i.trim()){let[s,a]=i.split(/=(.+)/g,2);s&&a&&(o[r(s)]=r(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 xv=class e extends rt{constructor(t,o){super(t,o),this.name="ClientAuthError",Object.setPrototypeOf(this,e.prototype)}};function te(e,t){return new xv(e,t)}var ti={};Mo(ti,{authorityMismatch:()=>uRe,authorityUriInsecure:()=>Yj,cannotAllowPlatformBroker:()=>cRe,cannotSetOIDCOptions:()=>lRe,claimsRequestParsingError:()=>nRe,emptyInputScopesError:()=>Zj,invalidAuthenticationHeader:()=>aRe,invalidAuthorityMetadata:()=>tO,invalidClaims:()=>CA,invalidCloudDiscoveryMetadata:()=>EA,invalidCodeChallengeMethod:()=>rRe,invalidRequestMethodForEAR:()=>dRe,logoutRequestEmpty:()=>Xj,missingNonceAuthenticationHeader:()=>sRe,missingSshJwk:()=>Tv,missingSshKid:()=>iRe,pkceParamsMissing:()=>eO,redirectUriEmpty:()=>Qj,tokenRequestEmpty:()=>Jj,untrustedAuthority:()=>oO,urlEmptyError:()=>Kj,urlParseError:()=>Rh});var Qj="redirect_uri_empty",nRe="claims_request_parsing_error",Yj="authority_uri_insecure",Rh="url_parse_error",Kj="empty_url_error",Zj="empty_input_scopes_error",CA="invalid_claims",Jj="token_request_empty",Xj="logout_request_empty",rRe="invalid_code_challenge_method",eO="pkce_params_missing",EA="invalid_cloud_discovery_metadata",tO="invalid_authority_metadata",oO="untrusted_authority",Tv="missing_ssh_jwk",iRe="missing_ssh_kid",sRe="missing_nonce_authentication_header",aRe="invalid_authentication_header",lRe="cannot_set_OIDCOptions",cRe="cannot_allow_platform_broker",uRe="authority_mismatch",dRe="invalid_request_method_for_EAR";var bn={};Mo(bn,{authTimeNotFound:()=>kv,authorizationCodeMissingFromServerResponse:()=>bO,bindingKeyNotRemoved:()=>fRe,cannotAppendScopeSet:()=>gO,cannotRemoveEmptyScope:()=>mO,clientInfoDecodingError:()=>AA,clientInfoEmptyError:()=>nO,emptyInputScopeSet:()=>IA,endSessionEndpointNotSupported:()=>yO,endpointResolutionError:()=>fa,hashNotDeserialized:()=>aO,invalidCacheEnvironment:()=>Cv,invalidCacheRecord:()=>fO,invalidState:()=>im,keyIdMissing:()=>_O,maxAgeTranspired:()=>uO,methodNotImplemented:()=>_t,misplacedResourceParam:()=>vO,multipleMatchingAppMetadata:()=>dO,multipleMatchingTokens:()=>pRe,nestedAppAuthBridgeDisabled:()=>yRe,networkError:()=>iO,noAccountFound:()=>mRe,noAccountInSilentRequest:()=>Sv,noCryptoObject:()=>LA,noNetworkConnectivity:()=>hRe,nonceMismatch:()=>cO,nullOrEmptyToken:()=>rO,openIdConfigError:()=>sO,platformBrokerError:()=>_Re,requestCannotBeMade:()=>pO,resourceParameterRequired:()=>wO,stateMismatch:()=>lO,stateNotFound:()=>PA,tokenClaimsCnfRequiredForSignedJwt:()=>hO,tokenParsingError:()=>zA,tokenRefreshRequired:()=>Mh,unexpectedCredentialType:()=>gRe,userCanceled:()=>bRe});var AA="client_info_decoding_error",nO="client_info_empty_error",zA="token_parsing_error",rO="null_or_empty_token",fa="endpoints_resolution_error",iO="network_error",sO="openid_config_error",aO="hash_not_deserialized",im="invalid_state",lO="state_mismatch",PA="state_not_found",cO="nonce_mismatch",kv="auth_time_not_found",uO="max_age_transpired",pRe="multiple_matching_tokens",dO="multiple_matching_appMetadata",pO="request_cannot_be_made",mO="cannot_remove_empty_scope",gO="cannot_append_scopeset",IA="empty_input_scopeset",Sv="no_account_in_silent_request",fO="invalid_cache_record",Cv="invalid_cache_environment",mRe="no_account_found",LA="no_crypto_object",gRe="unexpected_credential_type",Mh="token_refresh_required",hO="token_claims_cnf_required_for_signedjwt",bO="authorization_code_missing_from_server_response",fRe="binding_key_not_removed",yO="end_session_endpoint_not_supported",_O="key_id_missing",hRe="no_network_connectivity",bRe="user_canceled",_t="method_not_implemented",yRe="nested_app_auth_bridge_disabled",_Re="platform_broker_error",wO="resource_parameter_required",vO="misplaced_resource_parameter";var yn=class e{constructor(t){let o=t?No.trimArrayEntries([...t]):[],n=o?No.removeEmptyStringsFromArray(o):[];if(!n||!n.length)throw Pt(Zj);this.scopes=new Set,n.forEach(r=>this.scopes.add(r))}static fromString(t){let n=(t||"").split(" ");return new e(n)}static createSearchScopes(t){let o=t&&t.length>0?t:[...Ch],n=new e(o);return n.containsOnlyOIDCScopes()?n.removeScope(dA):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 fA.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 te(gO)}}removeScope(t){if(!t)throw te(mO);this.scopes.delete(t.trim())}removeOIDCScopes(){fA.forEach(t=>{this.scopes.delete(t)})}unionScopeSets(t){if(!t)throw te(IA);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 te(IA);t.containsOnlyOIDCScopes()||t.removeOIDCScopes();let o=this.unionScopeSets(t),n=t.getScopeCount(),r=this.getScopeCount();return o.sizet.push(o)),t}printScopes(){return this.scopes?this.asArray().join(" "):""}printScopesLowerCase(){return this.printScopes().toLowerCase()}};function sm(e,t,o){if(!t)return;let n=e.get(cl);n&&e.has(wv)&&o?.addFields({embeddedClientId:n,embeddedRedirectUri:e.get(wA)},t)}function wRe(e,t){e.set(lj,t)}function xO(e,t){e.set(cj,t||G2.QUERY)}function vRe(e){e.set(Oj,"1")}function am(e,t,o=!0,n=Ch){o&&!n.includes("openid")&&!t.includes("openid")&&n.push("openid");let r=o?[...t||[],...n]:t||[],i=new yn(r);e.set(pj,i.printScopes())}function lm(e,t){e.set(cl,t)}function cm(e,t){e.set(wA,t)}function TO(e,t){e.set(Ij,t)}function kO(e,t){e.set(Lj,t)}function SO(e,t){e.set(Hj,t)}function $h(e,t){e.set(qj,t)}function Vu(e,t){e.set(Ho.CCS_HEADER,`UPN:${t}`)}function Tc(e,t){e.set(Ho.CCS_HEADER,`Oid:${t.uid}@${t.utid}`)}function RA(e,t){e.set(Uj,t)}function um(e,t,o){let n=Wle(t,o);try{JSON.parse(n)}catch{throw Pt(CA)}e.set(dj,n)}function dm(e,t){e.set(vj,t)}function Ev(e,t){e.set(xj,t.sku),e.set(Tj,t.version),t.os&&e.set(kj,t.os),t.cpu&&e.set(Sj,t.cpu)}function Av(e,t){t?.appName&&e.set(zj,t.appName),t?.appVersion&&e.set(Pj,t.appVersion)}function CO(e,t){e.set(hj,t)}function zv(e,t){t&&e.set(gj,t)}function EO(e,t){e.set(fj,t)}function xRe(e,t,o){if(t&&o)e.set(yj,t),e.set(_j,o);else throw Pt(eO)}function AO(e,t){e.set(bj,t)}function TRe(e,t){e.set(Rj,t)}function zO(e,t){e.set(mj,t)}function PO(e,t){e.set(wj,t)}function Pv(e,t){e.set(Mj,t)}function Iv(e,t){t&&e.set($j,t)}function Lv(e,t){t&&e.set(Dj,t)}function kRe(e,t){e.set(Nj,t)}function SRe(e,t){e.set(jj,t)}function Rv(e,t){e.set(uj,t)}function pm(e){e.set(Q2,"1")}function IO(e){e.set(Wj,"1")}function Mv(e){e.has(Ih)||e.set(Ih,"true")}function kc(e,t){Object.entries(t).forEach(([o,n])=>{!e.has(o)&&n&&e.set(o,n)})}function Wle(e,t){let o;if(!e)o={};else try{o=JSON.parse(e)}catch{throw Pt(CA)}return t&&t.length>0&&(o.hasOwnProperty(Eh.ACCESS_TOKEN)||(o[Eh.ACCESS_TOKEN]={}),o[Eh.ACCESS_TOKEN][Eh.XMS_CC]={values:t}),JSON.stringify(o)}function CRe(e,t){e.set(_A.username,t)}function ERe(e,t){e.set(_A.password,t)}function $v(e,t){t&&(e.set(vA,ko.POP),e.set(xA,t))}function Dv(e,t){t&&(e.set(vA,ko.SSH),e.set(xA,t))}function Nv(e,t){e.set(Cj,t.generateCurrentRequestHeaderValue()),e.set(Ej,t.generateLastRequestHeaderValue())}function jv(e){e.set(Aj,nj)}function LO(e,t){e.set(Fj,t)}function Sc(e,t,o){e.has(wv)||e.set(wv,t),e.has(kA)||e.set(kA,o)}function ARe(e,t){e.set(Bj,encodeURIComponent(t)),e.set(Gj,"eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0")}function Ov(e,t){t&&e.set(Vj,t)}var ks={};Mo(ks,{getDeserializedResponse:()=>zRe,mapToQueryString:()=>ul,normalizeUrlForComparison:()=>PRe,stripLeadingHashOrQuery:()=>Yle});function Qle(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 Yle(e){return e.startsWith("#/")?e.substring(2):e.startsWith("#")||e.startsWith("?")?e.substring(1):e}function zRe(e){if(!e||e.indexOf("=")<0)return null;try{let t=Yle(e),o=Object.fromEntries(new URLSearchParams(t));if(o.code||o.ear_jwe||o.error||o.error_description||o.state)return o}catch{throw te(aO)}return null}function ul(e){let t=new Array;return e.forEach((o,n)=>{t.push(`${n}=${encodeURIComponent(o)}`)}),t.join("&")}function PRe(e){if(!e)return e;let t=e.split("#")[0];try{let o=new URL(t),n=o.origin+o.pathname+o.search;return Qle(n)}catch{return Qle(t)}}var Wu={createNewGuid:()=>{throw te(_t)},base64Decode:()=>{throw te(_t)},base64Encode:()=>{throw te(_t)},base64UrlEncode:()=>{throw te(_t)},encodeKid:()=>{throw te(_t)},async getPublicKeyThumbprint(){throw te(_t)},async removeTokenBindingKey(){throw te(_t)},async clearKeystore(){throw te(_t)},async signJwt(){throw te(_t)},async hashString(){throw te(_t)}};var Mt;(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"})(Mt||(Mt={}));var IRe=50,LRe=500,mm=new Map;function RRe(e,t){mm.delete(e),mm.set(e,t)}function MRe(e,t){let o=Date.now(),n=mm.get(e);if(n)RRe(e,n);else if(n={logs:[],firstEventTime:o},mm.set(e,n),mm.size>IRe){let r=mm.keys().next().value;r&&mm.delete(r)}n.logs.push({...t,milliseconds:o-n.firstEventTime}),n.logs.length>LRe&&n.logs.shift()}function $Re(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 _n=class e{constructor(t,o,n){this.level=Mt.Info;let r=()=>{},i=t||e.createDefaultLoggerOptions();this.localCallback=i.loggerCallback||r,this.piiLoggingEnabled=i.piiLoggingEnabled||!1,this.level=typeof i.logLevel=="number"?i.logLevel:Mt.Info,this.packageName=o||"",this.packageVersion=n||""}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Mt.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($Re(t)){let l={hash:t,level:o.logLevel,containsPii:o.containsPii||!1,milliseconds:0};MRe(n,l)}if(o.logLevel>this.level||!this.piiLoggingEnabled&&o.containsPii)return;let a=`${`[${new Date().toUTCString()}] : [${n}]`} : ${this.packageName}@${this.packageVersion} : ${Mt[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:Mt.Error,containsPii:!1,correlationId:o})}errorPii(t,o){this.logMessage(t,{logLevel:Mt.Error,containsPii:!0,correlationId:o})}warning(t,o){this.logMessage(t,{logLevel:Mt.Warning,containsPii:!1,correlationId:o})}warningPii(t,o){this.logMessage(t,{logLevel:Mt.Warning,containsPii:!0,correlationId:o})}info(t,o){this.logMessage(t,{logLevel:Mt.Info,containsPii:!1,correlationId:o})}infoPii(t,o){this.logMessage(t,{logLevel:Mt.Info,containsPii:!0,correlationId:o})}verbose(t,o){this.logMessage(t,{logLevel:Mt.Verbose,containsPii:!1,correlationId:o})}verbosePii(t,o){this.logMessage(t,{logLevel:Mt.Verbose,containsPii:!0,correlationId:o})}trace(t,o){this.logMessage(t,{logLevel:Mt.Trace,containsPii:!1,correlationId:o})}tracePii(t,o){this.logMessage(t,{logLevel:Mt.Trace,containsPii:!0,correlationId:o})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}};var Qu="@azure/msal-common",dl="16.4.1";var Yu={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 RO(e,t){return!!e&&!!t&&e===t.split(".")[1]}function pl(e,t,o,n){if(n){let{oid:r,sub:i,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:r||i||"",name:a,username:u||p||"",loginHint:m,isHomeTenant:RO(g,e)}}else return{tenantId:o,localAccountId:t,username:"",isHomeTenant:RO(o,e)}}function gm(e,t,o,n){let r=e;if(t){let{isHomeTenant:i,...s}=t;r={...e,...s}}if(o){let{isHomeTenant:i,...s}=pl(e.homeAccountId,e.localAccountId,e.tenantId,o);return r={...r,...s,idTokenClaims:o,idToken:n},r}return r}var dr={};Mo(dr,{checkMaxAge:()=>Fv,extractTokenClaims:()=>Cc,getJWSPayload:()=>Kle,isKmsi:()=>MO});function Cc(e,t){let o=Kle(e);try{let n=t(o);return JSON.parse(n)}catch{throw te(zA)}}function MO(e){if(!e.signin_state)return!1;let t=["kmsi","dvc_dmjd"];return e.signin_state.some(o=>t.includes(o.trim().toLowerCase()))}function Kle(e){if(!e)throw te(rO);let o=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!o||o.length<4)throw te(zA);return o[2]}function Fv(e,t){if(t===0||Date.now()-3e5>e+t)throw te(uO)}var kt=class e{get urlString(){return this._urlString}constructor(t){if(this._urlString=t,!this._urlString)throw Pt(Kj);t.includes("#")||(this._urlString=e.canonicalizeUri(t))}static canonicalizeUri(t){if(t){let o=t.toLowerCase();return No.endsWith(o,"?")?o=o.slice(0,-1):No.endsWith(o,"?/")&&(o=o.slice(0,-2)),No.endsWith(o,"/")||(o+="/"),o}return t}validateAsUri(){let t;try{t=this.getUrlComponents()}catch{throw Pt(Rh)}if(!t.HostNameAndPort||!t.PathSegments)throw Pt(Rh);if(!t.Protocol||t.Protocol.toLowerCase()!=="https:")throw Pt(Yj)}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]===ma.COMMON||n[0]===ma.ORGANIZATIONS)&&(n[0]=t),e.constructAuthorityUriFromObject(o)}getUrlComponents(){let t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),o=this.urlString.match(t);if(!o)throw Pt(Rh);let n={Protocol:o[1],HostNameAndPort:o[4],AbsolutePath:o[5],QueryString:o[7]},r=n.AbsolutePath.split("/");return r=r.filter(i=>i&&i.length>0),n.PathSegments=r,n.QueryString&&n.QueryString.endsWith("/")&&(n.QueryString=n.QueryString.substring(0,n.QueryString.length-1)),n}static getDomainFromUrl(t){let o=RegExp("^([^:/?#]+://)?([^/?#]*)"),n=t.match(o);if(!n)throw Pt(Rh);return n[2]}static getAbsoluteUrl(t,o){if(t[0]===Sh){let r=new e(o).getUrlComponents();return r.Protocol+"//"+r.HostNameAndPort+t}return t}static constructAuthorityUriFromObject(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))}};var DRe=[{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 NRe(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 jRe=DRe.reduce((e,{host:t,issuerHost:o})=>(e[t]=NRe(t,o||t),e),{}),Jle={endpointMetadata:jRe,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"]}]}},$O=Jle.endpointMetadata,DO=Jle.instanceDiscoveryMetadata,NO=new Set;DO.metadata.forEach(e=>{e.aliases.forEach(t=>{NO.add(t)})});function Xle(e,t,o){let n,r=e.canonicalAuthority;if(r){let i=new kt(r).getUrlComponents().HostNameAndPort;n=Zle(t,o,i,e.cloudDiscoveryMetadata?.metadata)||Zle(t,o,i,DO.metadata)||e.knownAuthorities}return n||[]}function Zle(e,t,o,n,r){if(e.trace("1bmquz",t),o&&n){let i=Uv(n,o);if(i)return e.trace("1fotbt",t),i.aliases;e.trace("14avvj",t)}return null}function ece(e){return Uv(DO.metadata,e)}function Uv(e,t){for(let o=0;oOO,cacheQuotaExceeded:()=>jO});var jO="cache_quota_exceeded",OO="cache_error_unknown";var Ku=class e extends Error{constructor(t,o){let n=o||SA(t);super(n),Object.setPrototypeOf(this,e.prototype),this.name="CacheError",this.errorCode=t,this.errorMessage=n}};function Dh(e){return e instanceof Error?e.name==="QuotaExceededError"||e.name==="NS_ERROR_DOM_QUOTA_REACHED"||e.message.includes("exceeded the quota")?new Ku(jO):new Ku(e.name,e.message):new Ku(OO)}var Ss={};Mo(Ss,{createAccountEntity:()=>FO,createAccountEntityFromAccountInfo:()=>URe,generateAccountId:()=>ORe,generateHomeAccountId:()=>UO,getAccountInfo:()=>jh,isAccountEntity:()=>qRe,isSingleTenant:()=>FRe});function Nh(e,t){if(!e)throw te(nO);try{let o=t(e);return JSON.parse(o)}catch{throw te(AA)}}function ml(e){if(!e)throw te(AA);let t=e.split(Ah,2);return{uid:t[0],utid:t.length<2?"":t[1]}}var Sr={Default:0,Adfs:1,Dsts:2,Ciam:3};function fm(e){return e&&(e.tid||e.tfp||e.acr)||null}var po={AAD:"AAD",OIDC:"OIDC",EAR:"EAR"};function ORe(e){return[e.homeAccountId,e.environment].join(nm).toLowerCase()}function jh(e){let t=e.tenantProfiles||[];return t.length===0&&e.realm&&e.localAccountId&&t.push(pl(e.homeAccountId,e.localAccountId,e.realm)),{homeAccountId:e.homeAccountId,environment:e.environment,tenantId:e.realm,username:e.username,localAccountId:e.localAccountId,loginHint:e.loginHint,name:e.name,nativeAccountId:e.nativeAccountId,authorityType:e.authorityType,tenantProfiles:new Map(t.map(o=>[o.tenantId,o])),dataBoundary:e.dataBoundary}}function FRe(e){return!e.tenantProfiles}function FO(e,t,o){let n;t.authorityType===Sr.Adfs?n=W2:t.protocolMode===po.OIDC?n=hA:n=V2;let r,i;e.clientInfo&&o&&(r=Nh(e.clientInfo,o),r.xms_tdbr&&(i=r.xms_tdbr==="EU"?"EU":"None"));let s=e.environment||t&&t.getPreferredCache();if(!s)throw te(Cv);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=r?.utid||fm(e.idTokenClaims)||"",m=r?.uid||e.idTokenClaims?.oid||e.idTokenClaims?.sub||"",g;return e.tenantProfiles?g=e.tenantProfiles:g=[pl(e.homeAccountId,m,p,e.idTokenClaims)],{homeAccountId:e.homeAccountId,environment: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:i}}function URe(e,t,o){let n=Array.from(e.tenantProfiles?.values()||[]);return n.length===0&&e.tenantId&&e.localAccountId&&n.push(pl(e.homeAccountId,e.localAccountId,e.tenantId,e.idTokenClaims)),{authorityType:e.authorityType||hA,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 UO(e,t,o,n,r,i){if(!(t===Sr.Adfs||t===Sr.Dsts)){if(e)try{let s=Nh(e,n.base64Decode);if(s.uid&&s.utid)return`${s.uid}.${s.utid}`}catch{}o.warning("1ub6wv",r)}return i?.sub||""}function qRe(e){return e?e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"):!1}var hm=class{constructor(t,o,n,r,i){this.clientId=t,this.cryptoImpl=o,this.commonLogger=n.clone(Qu,dl),this.staticAuthorityOptions=i,this.performanceClient=r}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(r=>r==null||r===""))return this.commonLogger.warning("1skb02",o),null;let n=this.getAllAccounts(t,o);return n.length>1?n.sort(i=>i.idTokenClaims?-1:1)[0]:n.length===1?n[0]:null}getBaseAccountInfo(t,o){let n=this.getAccountsFilteredBy(t,o);return n.length>0?jh(n[0]):null}buildTenantProfiles(t,o,n){return t.flatMap(r=>this.getTenantProfilesFromAccountEntity(r,o,n?.tenantId,n))}getTenantedAccountInfoByFilter(t,o,n,r,i){let s=null,a;if(i&&!this.tenantProfileMatchesFilter(n,i))return null;let l=this.getIdToken(t,r,o,n.tenantId);return l&&(a=Cc(l.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(a,i))?null:(s=gm(t,n,a,l?.secret),s)}getTenantProfilesFromAccountEntity(t,o,n,r){let i=jh(t),s=i.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(i,a,c,o,r);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,r,i){if(!t)throw te(fO);try{t.account&&await this.setAccount(t.account,o,n,r),t.idToken&&i?.idToken!==!1&&await this.setIdTokenCredential(t.idToken,o,n),t.accessToken&&i?.accessToken!==!1&&await this.saveAccessToken(t.accessToken,o,n),t.refreshToken&&i?.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:Dh(s)}}async saveAccessToken(t,o,n){let r={clientId:t.clientId,credentialType:t.credentialType,environment:t.environment,homeAccountId:t.homeAccountId,realm:t.realm,tokenType:t.tokenType},i=this.getTokenKeys(),s=yn.fromString(t.target);i.accessToken.forEach(a=>{if(!this.accessTokenKeyMatchesFilter(a,r,!1))return;let l=this.getAccessTokenCredential(a,o);l&&this.credentialMatchesFilter(l,r,o)&&yn.fromString(l.target).intersectingScopeSets(s)&&this.removeAccessToken(a,o)}),await this.setAccessTokenCredential(t,o,n)}getAccountsFilteredBy(t,o){let n=this.getAccountKeys(),r=[];return n.forEach(i=>{let s=this.getAccount(i,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||r.push(s)}),r}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===ko.SSH&&o.keyId&&!this.matchKeyId(t,o.keyId)))}getAppMetadataFilteredBy(t,o){let n=this.getKeys(),r={};return n.forEach(i=>{if(!this.isAppMetadata(i))return;let s=this.getAppMetadata(i,o);s&&(t.environment&&!this.matchEnvironment(s,t.environment,o)||t.clientId&&!this.matchClientId(s,t.clientId)||(r[i]=s))}),r}getAuthorityMetadataByAlias(t,o){let n=this.getAuthorityMetadataKeys(),r=null;return n.forEach(i=>{if(!this.isAuthorityMetadata(i)||i.indexOf(this.clientId)===-1)return;let s=this.getAuthorityMetadata(i,o);s&&s.aliases.indexOf(t)!==-1&&(r=s)}),r}removeAllAccounts(t){this.getAllAccounts({},t).forEach(n=>{this.removeAccount(n,t)})}removeAccount(t,o){this.removeAccountContext(t,o);let n=this.getAccountKeys(),r=i=>i.includes(t.homeAccountId)&&i.includes(t.environment);n.filter(r).forEach(i=>{this.removeItem(i,o),this.performanceClient.incrementFields({accountsRemoved:1},o)})}removeAccountContext(t,o){let n=this.getTokenKeys(),r=i=>i.includes(t.homeAccountId)&&i.includes(t.environment);n.idToken.filter(r).forEach(i=>{this.removeIdToken(i,o)}),n.accessToken.filter(r).forEach(i=>{this.removeAccessToken(i,o)}),n.refreshToken.filter(r).forEach(i=>{this.removeRefreshToken(i,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===ko.POP)){let i=n.keyId;i&&this.cryptoImpl.removeTokenBindingKey(i,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,r){this.commonLogger.trace("1drz22",o);let i={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:hn.ID_TOKEN,clientId:this.clientId,realm:r},s=this.getIdTokensByFilter(i,o,n),a=s.size;if(a<1)return this.commonLogger.info("1atvtd",o),null;if(a>1){let l=s;if(!r){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 r=n&&n.idToken||this.getTokenKeys().idToken,i=new Map;return r.forEach(s=>{if(!this.idTokenKeyMatchesFilter(s,{clientId:this.clientId,...t}))return;let a=this.getIdTokenCredential(s,o);a&&this.credentialMatchesFilter(a,t,o)&&i.set(s,a)}),i}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,r){let i=o.correlationId;this.commonLogger.trace("1t7hz1",i);let s=yn.createSearchScopes(o.scopes),a=o.authenticationScheme||ko.BEARER,l=a&&a.toLowerCase()!==ko.BEARER.toLowerCase()?hn.ACCESS_TOKEN_WITH_AUTH_SCHEME:hn.ACCESS_TOKEN,c={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:l,clientId:this.clientId,realm:r||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,i);f&&this.credentialMatchesFilter(f,c,i)&&p.push(f)}});let m=p.length;return m<1?(this.commonLogger.info("1nckna",i),null):m>1?(this.commonLogger.info("1wkfwp",i),p.forEach(g=>{this.removeAccessToken(this.generateCredentialKey(g),i)}),this.performanceClient.addFields({multiMatchedAT:p.length},i),null):(this.commonLogger.info("06yt98",i),p[0])}accessTokenKeyMatchesFilter(t,o,n){let r=t.toLowerCase();if(o.clientId&&r.indexOf(o.clientId.toLowerCase())===-1||o.homeAccountId&&r.indexOf(o.homeAccountId.toLowerCase())===-1||o.realm&&r.indexOf(o.realm.toLowerCase())===-1)return!1;if(o.target){let i=o.target.asArray();for(let s=0;s{if(!this.accessTokenKeyMatchesFilter(i,t,!0))return;let s=this.getAccessTokenCredential(i,o);s&&this.credentialMatchesFilter(s,t,o)&&r.push(s)}),r}getRefreshToken(t,o,n,r){this.commonLogger.trace("0x53vi",n);let i=o?rm:void 0,s={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:hn.REFRESH_TOKEN,clientId:this.clientId,familyId:i},a=r&&r.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},r=this.getAppMetadataFilteredBy(n,o),i=Object.keys(r).map(a=>r[a]),s=i.length;if(s<1)return null;if(s>1)throw te(dO);return i[0]}isAppMetadataFOCI(t,o){let n=this.readAppMetadataFromCache(t,o);return!!(n&&n.familyId===rm)}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 i=Xle(this.staticAuthorityOptions,this.commonLogger,n);if(i.includes(o)&&i.includes(t.environment))return!0}let r=this.getAuthorityMetadataByAlias(o,n);return!!(r&&r.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:yn.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(zh)!==-1}isAuthorityMetadata(t){return t.indexOf(Ph)!==-1}generateAuthorityMetadataCacheKey(t){return`${Ph}-${this.clientId}-${t}`}static toObject(t,o){for(let n in o)t[n]=o[n];return t}},Hv=class extends hm{async setAccount(){throw te(_t)}getAccount(){throw te(_t)}async setIdTokenCredential(){throw te(_t)}getIdTokenCredential(){throw te(_t)}async setAccessTokenCredential(){throw te(_t)}getAccessTokenCredential(){throw te(_t)}async setRefreshTokenCredential(){throw te(_t)}getRefreshTokenCredential(){throw te(_t)}setAppMetadata(){throw te(_t)}getAppMetadata(){throw te(_t)}setServerTelemetry(){throw te(_t)}getServerTelemetry(){throw te(_t)}setAuthorityMetadata(){throw te(_t)}getAuthorityMetadata(){throw te(_t)}getAuthorityMetadataKeys(){throw te(_t)}setThrottlingCache(){throw te(_t)}getThrottlingCache(){throw te(_t)}removeItem(){throw te(_t)}getKeys(){throw te(_t)}getAccountKeys(){throw te(_t)}getTokenKeys(){throw te(_t)}generateCredentialKey(){throw te(_t)}generateAccountKey(){throw te(_t)}};var tce={NotStarted:0,InProgress:1,Completed:2};var Ec=class{generateId(){return"callback-id"}startMeasurement(t,o){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:tce.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 MA={tokenRenewalOffsetSeconds:aj,preventCorsPreflight:!1},HRe={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Mt.Info,correlationId:""},BRe={async sendGetRequestAsync(){throw te(_t)},async sendPostRequestAsync(){throw te(_t)}},GRe={sku:A2,version:dl,cpu:"",os:""},VRe={clientSecret:"",clientAssertion:void 0},WRe={azureCloudInstance:Yu.None,tenant:`${mv}`},QRe={application:{appName:"",appVersion:""}};function Oh({authOptions:e,systemOptions:t,loggerOptions:o,storageInterface:n,networkInterface:r,cryptoInterface:i,clientCredentials:s,libraryInfo:a,telemetry:l,serverTelemetryManager:c,persistencePlugin:u,serializableCache:p}){let m={...HRe,...o};return{authOptions:YRe(e),systemOptions:{...MA,...t},loggerOptions:m,storageInterface:n||new Hv(e.clientId,Wu,new _n(m),new Ec),networkInterface:r||BRe,cryptoInterface:i||Wu,clientCredentials:s||VRe,libraryInfo:{...GRe,...a},telemetry:{...QRe,...l},serverTelemetryManager:c||null,persistencePlugin:u||null,serializableCache:p||null}}function YRe(e){return{clientCapabilities:[],azureCloudOptions:WRe,instanceAware:!1,isMcp:!1,...e}}function $A(e){return e.authOptions.authority.options.protocolMode===po.OIDC}var DA=class{constructor(t,o){this.cache=t,this.hasChanged=o}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}};var wn={};Mo(wn,{createAccessTokenEntity:()=>BO,createIdTokenEntity:()=>HO,createRefreshTokenEntity:()=>GO,generateAppMetadataKey:()=>rMe,generateAuthorityMetadataExpiresAt:()=>jA,isAccessTokenEntity:()=>XRe,isAppMetadataEntity:()=>iMe,isAuthorityMetadataEntity:()=>sMe,isAuthorityMetadataExpired:()=>OA,isCredentialEntity:()=>NA,isIdTokenEntity:()=>eMe,isRefreshTokenEntity:()=>tMe,isServerTelemetryEntity:()=>oMe,isThrottlingEntity:()=>nMe,updateAuthorityEndpointMetadata:()=>Uh,updateCloudDiscoveryMetadata:()=>Gv});var oi={};Mo(oi,{delay:()=>JRe,isCacheExpired:()=>ZRe,isTokenExpired:()=>Fh,nowSeconds:()=>Di,toDateFromSeconds:()=>Bv,toSecondsFromDate:()=>KRe,wasClockTurnedBack:()=>qO});function Di(){return Math.round(new Date().getTime()/1e3)}function KRe(e){return e.getTime()/1e3}function Bv(e){return e?new Date(Number(e)*1e3):new Date}function Fh(e,t){let o=Number(e)||0;return Di()+t>o}function ZRe(e,t){let o=Number(e)+t*24*60*60*1e3;return Date.now()>o}function qO(e){return Number(e)>Di()}function JRe(e,t){return new Promise(o=>setTimeout(()=>o(t),e))}function HO(e,t,o,n,r){return{credentialType:hn.ID_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,realm:r,lastUpdatedAt:Date.now().toString()}}function BO(e,t,o,n,r,i,s,a,l,c,u,p,m){let g={homeAccountId:e,credentialType:hn.ACCESS_TOKEN,secret:o,cachedAt:Di().toString(),expiresOn:s.toString(),extendedExpiresOn:a.toString(),environment:t,clientId:n,realm:r,target:i,tokenType:u||ko.BEARER,lastUpdatedAt:Date.now().toString()};if(p&&(g.userAssertionHash=p),c&&(g.refreshOn=c.toString()),g.tokenType?.toLowerCase()!==ko.BEARER.toLowerCase())switch(g.credentialType=hn.ACCESS_TOKEN_WITH_AUTH_SCHEME,g.tokenType){case ko.POP:let f=Cc(o,l);if(!f?.cnf?.kid)throw te(hO);g.keyId=f.cnf.kid;break;case ko.SSH:g.keyId=m}return g}function GO(e,t,o,n,r,i,s){let a={credentialType:hn.REFRESH_TOKEN,homeAccountId:e,environment:t,clientId:n,secret:o,lastUpdatedAt:Date.now().toString()};return i&&(a.userAssertionHash=i),r&&(a.familyId=r),s&&(a.expiresOn=s.toString()),a}function NA(e){return e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")}function XRe(e){return e?NA(e)&&e.hasOwnProperty("realm")&&e.hasOwnProperty("target")&&(e.credentialType===hn.ACCESS_TOKEN||e.credentialType===hn.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1}function eMe(e){return e?NA(e)&&e.hasOwnProperty("realm")&&e.credentialType===hn.ID_TOKEN:!1}function tMe(e){return e?NA(e)&&e.credentialType===hn.REFRESH_TOKEN:!1}function oMe(e,t){let o=e.indexOf(bv)===0,n=!0;return t&&(n=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),o&&n}function nMe(e,t){let o=!1;e&&(o=e.indexOf(yv)===0);let n=!0;return t&&(n=t.hasOwnProperty("throttleTime")),o&&n}function rMe({environment:e,clientId:t}){return[zh,e,t].join(nm).toLowerCase()}function iMe(e,t){return t?e.indexOf(zh)===0&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment"):!1}function sMe(e,t){return t?e.indexOf(Ph)===0&&t.hasOwnProperty("aliases")&&t.hasOwnProperty("preferred_cache")&&t.hasOwnProperty("preferred_network")&&t.hasOwnProperty("canonical_authority")&&t.hasOwnProperty("authorization_endpoint")&&t.hasOwnProperty("token_endpoint")&&t.hasOwnProperty("issuer")&&t.hasOwnProperty("aliasesFromNetwork")&&t.hasOwnProperty("endpointsFromNetwork")&&t.hasOwnProperty("expiresAt")&&t.hasOwnProperty("jwks_uri"):!1}function jA(){return Di()+Y2}function Uh(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 Gv(e,t,o){e.aliases=t.aliases,e.preferred_cache=t.preferred_cache,e.preferred_network=t.preferred_network,e.aliasesFromNetwork=o}function OA(e){return e.expiresAt<=Di()}var vn={};Mo(vn,{AuthClientCreateTokenRequestBody:()=>eF,AuthClientExecuteTokenRequest:()=>XO,AuthorityGetCloudDiscoveryMetadataFromNetwork:()=>nF,AuthorityGetEndpointMetadataFromNetwork:()=>iF,AuthorityResolveEndpointsAsync:()=>oF,AuthorityUpdateCloudDiscoveryMetadata:()=>rF,AuthorityUpdateEndpointMetadata:()=>sF,AuthorityUpdateMetadataWithRegionalInformation:()=>FA,AuthorizationCodeClientExecutePostToTokenEndpoint:()=>QO,CacheManagerGetRefreshToken:()=>cF,GetAuthCodeUrl:()=>aMe,HandleCodeResponseFromServer:()=>lMe,HandleServerTokenResponse:()=>Wv,NetworkClientSendPostRequestAsync:()=>VO,PopTokenGenerateCnf:()=>bm,RefreshTokenClientAcquireToken:()=>KO,RefreshTokenClientAcquireTokenWithCachedRefreshToken:()=>Vv,RefreshTokenClientCreateTokenRequestBody:()=>ZO,RefreshTokenClientExecutePostToTokenEndpoint:()=>WO,RefreshTokenClientExecuteTokenRequest:()=>YO,RegionDiscoveryDetectRegion:()=>aF,RegionDiscoveryGetCurrentVersion:()=>lF,RegionDiscoveryGetRegionFromIMDS:()=>UA,SetUserData:()=>cMe,SilentFlowClientGenerateResultFromCacheRecord:()=>JO,UpdateTokenEndpointAuthority:()=>tF});var VO="networkClientSendPostRequestAsync",WO="refreshTokenClientExecutePostToTokenEndpoint",QO="authorizationCodeClientExecutePostToTokenEndpoint",YO="refreshTokenClientExecuteTokenRequest",KO="refreshTokenClientAcquireToken",Vv="refreshTokenClientAcquireTokenWithCachedRefreshToken",ZO="refreshTokenClientCreateTokenRequestBody",JO="silentFlowClientGenerateResultFromCacheRecord",aMe="getAuthCodeUrl",lMe="handleCodeResponseFromServer",XO="authClientExecuteTokenRequest",eF="authClientCreateTokenRequestBody",tF="updateTokenEndpointAuthority",bm="popTokenGenerateCnf",Wv="handleServerTokenResponse",oF="authorityResolveEndpointsAsync",nF="authorityGetCloudDiscoveryMetadataFromNetwork",rF="authorityUpdateCloudDiscoveryMetadata",iF="authorityGetEndpointMetadataFromNetwork",sF="authorityUpdateEndpointMetadata",FA="authorityUpdateMetadataWithRegionalInformation",aF="regionDiscoveryDetectRegion",UA="regionDiscoveryGetRegionFromIMDS",lF="regionDiscoveryGetCurrentVersion",cF="cacheManagerGetRefreshToken",cMe="setUserData";var en=(e,t,o,n,r)=>(...i)=>{o.trace("1plfzx",r);let s=n.startMeasurement(t,r);r&&n.incrementFields({[`ext.${t}CallCount`]:1},r);try{let a=e(...i);return s.end({success:!0}),o.trace("1g8n6a",r),a}catch(a){o.trace("0cfd8i",r);try{o.trace(JSON.stringify(a),r)}catch{o.trace("00dty7",r)}throw s.end({success:!1},a),a}},V=(e,t,o,n,r)=>(...i)=>{o.trace("1plfzx",r);let s=n.startMeasurement(t,r);return r&&n.incrementFields({[`ext.${t}CallCount`]:1},r),e(...i).then(a=>(o.trace("1g8n6a",r),s.end({success:!0}),a)).catch(a=>{o.trace("0cfd8i",r);try{o.trace(JSON.stringify(a),r)}catch{o.trace("00dty7",r)}throw s.end({success:!1},a),a})};var uMe={SW:"sw"},ni=class{constructor(t,o){this.cryptoUtils=t,this.performanceClient=o}async generateCnf(t,o){let n=await V(this.generateKid.bind(this),bm,o,this.performanceClient,t.correlationId)(t),r=this.cryptoUtils.base64UrlEncode(JSON.stringify(n));return{kid:n.kid,reqCnfString:r}}async generateKid(t){return{kid:await this.cryptoUtils.getPublicKeyThumbprint(t),xms_ksl:uMe.SW}}async signPopToken(t,o,n){return this.signPayload(t,o,n)}async signPayload(t,o,n,r){let{resourceRequestMethod:i,resourceRequestUri:s,shrClaims:a,shrNonce:l,shrOptions:c}=n,p=(s?new kt(s):void 0)?.getUrlComponents();return this.cryptoUtils.signJwt({at:t,ts:Di(),m:i?.toUpperCase(),u:p?.HostNameAndPort,nonce:l||this.cryptoUtils.createNewGuid(),p:p?.AbsolutePath,q:p?.QueryString?[[],p.QueryString]:void 0,client_claims:a||void 0,...r},o,c,n.correlationId)}};var gl={};Mo(gl,{badToken:()=>Qv,consentRequired:()=>mF,interactionRequired:()=>pF,interruptedUser:()=>fF,loginRequired:()=>gF,nativeAccountUnavailable:()=>dMe,noTokensFound:()=>qA,refreshTokenExpired:()=>uF,uxNotAllowed:()=>dF});var qA="no_tokens_found",dMe="native_account_unavailable",uF="refresh_token_expired",dF="ux_not_allowed",pF="interaction_required",mF="consent_required",gF="login_required",Qv="bad_token",fF="interrupted_user";var oce=[pF,mF,gF,Qv,dF,fF],pMe=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token","ux_not_allowed","interrupted_user"],So=class e extends rt{constructor(t,o,n,r,i,s,a,l){super(t,o,n),Object.setPrototypeOf(this,e.prototype),this.timestamp=r||"",this.traceId=i||"",this.correlationId=s||"",this.claims=a||"",this.name="InteractionRequiredAuthError",this.errorNo=l}};function HA(e,t,o){let n=!!e&&oce.indexOf(e)>-1,r=!!o&&pMe.indexOf(o)>-1,i=!!t&&oce.some(s=>t.indexOf(s)>-1);return n||i||r}function ym(e,t){return new So(e,t)}var ri=class e extends rt{constructor(t,o,n,r,i){super(t,o,n),this.name="ServerError",this.errorNo=r,this.status=i,Object.setPrototypeOf(this,e.prototype)}};var ha={};Mo(ha,{generateLibraryState:()=>nce,parseRequestState:()=>hF,setRequestState:()=>mMe});function mMe(e,t,o){let n=nce(e,o);return t?`${n}${gv}${t}`:n}function nce(e,t){if(!e)throw te(LA);let o={id:e.createNewGuid()};t&&(o.meta=t);let n=JSON.stringify(o);return e.base64Encode(n)}function hF(e,t){if(!e)throw te(LA);if(!t)throw te(im);try{let o=t.split(gv),n=o[0],r=o.length>1?o.slice(1).join(gv):"",i=e(n),s=JSON.parse(i);return{userRequestState:r||"",libraryState:s}}catch{throw te(im)}}var ba=class e{constructor(t,o,n,r,i,s,a){this.clientId=t,this.cacheStorage=o,this.cryptoObj=n,this.logger=r,this.performanceClient=i,this.serializableCache=s,this.persistencePlugin=a}validateTokenResponse(t,o,n){if(t.error||t.error_description||t.suberror){let r=`Error(s): ${t.error_codes||om} - Timestamp: ${t.timestamp||om} - Description: ${t.error_description||om} - Correlation ID: ${t.correlation_id||om} - Trace ID: ${t.trace_id||om}`,i=t.error_codes?.length?t.error_codes[0]:void 0,s=new ri(t.error,r,t.suberror,i,t.status);if(n&&t.status&&t.status>=H2&&t.status<=B2){this.logger.warning("16ks7j",o);return}else if(n&&t.status&&t.status>=U2&&t.status<=q2){this.logger.warning("0g61x3",o);return}throw HA(t.error,t.error_description,t.suberror)?new So(t.error,t.error_description,t.suberror,t.timestamp||"",t.trace_id||"",t.correlation_id||"",t.claims||"",i):s}}async handleServerTokenResponse(t,o,n,r,i,s,a,l,c,u){let p;if(t.id_token){if(p=Cc(t.id_token||"",this.cryptoObj.base64Decode),s&&s.nonce&&p.nonce!==s.nonce)throw te(cO);if(r.maxAge||r.maxAge===0){let y=p.auth_time;if(!y)throw te(kv);Fv(y,r.maxAge)}}this.homeAccountIdentifier=UO(t.client_info||"",o.authorityType,this.logger,this.cryptoObj,r.correlationId,p);let m;s&&s.state&&(m=hF(this.cryptoObj.base64Decode,s.state)),t.key_id=t.key_id||r.sshKid||void 0;let g=this.generateCacheRecord(t,o,n,r,p,a,s),f;try{if(this.persistencePlugin&&this.serializableCache&&(this.logger.verbose("0jbz5k",r.correlationId),f=new DA(this.serializableCache,!0),await this.persistencePlugin.beforeCacheAccess(f)),l&&!c&&g.account&&this.cacheStorage.getAllAccounts({homeAccountId:g.account.homeAccountId,environment:g.account.environment},r.correlationId).length<1)return this.logger.warning("1gmt66",r.correlationId),this.performanceClient?.addFields({acntLoggedOut:!0},r.correlationId),await e.generateAuthenticationResult(this.cryptoObj,o,g,!1,r,this.performanceClient,p,m,void 0,u);await this.cacheStorage.saveCacheRecord(g,r.correlationId,MO(p||{}),i,r.storeInCache)}finally{this.persistencePlugin&&this.serializableCache&&f&&(this.logger.verbose("1bh17u",r.correlationId),await this.persistencePlugin.afterCacheAccess(f))}return e.generateAuthenticationResult(this.cryptoObj,o,g,!1,r,this.performanceClient,p,m,t,u)}generateCacheRecord(t,o,n,r,i,s,a){let l=o.getPreferredCache();if(!l)throw te(Cv);let c=fm(i),u,p;t.id_token&&i&&(u=HO(this.homeAccountIdentifier,l,t.id_token,this.clientId,c||""),p=BA(this.cacheStorage,o,this.homeAccountIdentifier,this.cryptoObj.base64Decode,r.correlationId,i,t.client_info,l,c,a,void 0,this.logger,this.performanceClient));let m=null;if(t.access_token){let y=t.scope?yn.fromString(t.scope):new yn(r.scopes||[]),h=(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,v=(typeof t.ext_expires_in=="string"?parseInt(t.ext_expires_in,10):t.ext_expires_in)||0,_=(typeof t.refresh_in=="string"?parseInt(t.refresh_in,10):t.refresh_in)||void 0,x=n+h,z=x+v,C=_&&_>0?n+_:void 0;m=BO(this.homeAccountIdentifier,l,t.access_token,this.clientId,c||o.tenant||"",y.printScopes(),x,z,this.cryptoObj.base64Decode,C,t.token_type,s,t.key_id);let H=r.resource||null;H&&(m.resource=H)}let g=null;if(t.refresh_token){let y;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;y=n+h,this.performanceClient?.addFields({ntwkRtExpiresOnSeconds:y},r.correlationId)}g=GO(this.homeAccountIdentifier,l,t.refresh_token,this.clientId,t.foci,s,y)}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,r,i,s,a,l,c,u){let p="",m=[],g=null,f,y,h="";if(n.accessToken){if(n.accessToken.tokenType===ko.POP&&!i.popKid){let z=new ni(t,s),{secret:C,keyId:H}=n.accessToken;if(!H)throw te(_O);p=await z.signPopToken(C,H,i)}else p=n.accessToken.secret;m=yn.fromString(n.accessToken.target).asArray(),g=Bv(n.accessToken.expiresOn),f=Bv(n.accessToken.extendedExpiresOn),n.accessToken.refreshOn&&(y=Bv(n.accessToken.refreshOn))}n.appMetadata&&(h=n.appMetadata.familyId===rm?rm:"");let v=a?.oid||a?.sub||"",_=a?.tid||"";c?.spa_accountid&&n.account&&(n.account.nativeAccountId=c?.spa_accountid);let x=n.account?gm(jh(n.account),void 0,a,n.idToken?.secret):null;return{authority:o.canonicalAuthority,uniqueId:v,tenantId:_,scopes:m,account:x,idToken:n?.idToken?.secret||"",idTokenClaims:a||{},accessToken:p,fromCache:r,expiresOn:g,extExpiresOn:f,refreshOn:y,correlationId:i.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 BA(e,t,o,n,r,i,s,a,l,c,u,p,m){p?.verbose("09jz0t",r);let g=a||t.getPreferredCache(),f=e.getAccountsFilteredBy({homeAccountId:o,environment:g},r);m?.addFields({cacheMatchedAccounts:f.length},r),f.length>1&&p?.warning("0x7ad1",r);let h=(f.length===1?f[0]:null)||FO({homeAccountId:o,idTokenClaims:i,clientInfo:s,environment:a,cloudGraphHostName:c?.cloud_graph_host_name,msGraphHost:c?.msgraph_host,nativeAccountId:u},t,n),v=h.tenantProfiles||[],_=l||h.realm;if(_&&!v.find(x=>x.tenantId===_)){let x=pl(o,h.localAccountId,_,i);v.push(x)}return h.tenantProfiles=v,h}var pr={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"};async function GA(e,t,o){return typeof e=="string"?e:e({clientId:t,tokenEndpoint:o})}function Ac(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 zc=class e{static generateThrottlingStorageKey(t){return`${yv}.${JSON.stringify(t)}`}static preProcess(t,o,n){let r=e.generateThrottlingStorageKey(o),i=t.getThrottlingCache(r,n);if(i){if(i.throttleTime=500&&t.status<600}static checkResponseForRetryAfter(t){return t.headers?t.headers.hasOwnProperty(Ho.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||tj),n+oj)*1e3)}static removeThrottle(t,o,n,r){let i=Ac(o,n,r),s=this.generateThrottlingStorageKey(i);t.removeItem(s,n.correlationId)}};var qh=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 _m(e,t,o,n){return e.errorMessage=`${e.errorMessage}, additionalErrorInfo: error.name:${n?.name}, error.message:${n?.message}`,new qh(e,t,o)}function VA(e,t,o){let n={};if(n[Ho.CONTENT_TYPE]=M2,!t&&o)switch(o.type){case pr.HOME_ACCOUNT_ID:try{let r=ml(o.credential);n[Ho.CCS_HEADER]=`Oid:${r.uid}@${r.utid}`}catch{e.verbose("1qhtee","")}break;case pr.UPN:n[Ho.CCS_HEADER]=`UPN: ${o.credential}`;break}return n}function WA(e,t,o,n){let r=new Map;return e.embeddedClientId&&Sc(r,t,o),e.extraQueryParameters&&kc(r,e.extraQueryParameters),dm(r,e.correlationId),sm(r,e.correlationId,n),ul(r)}async function QA(e,t,o,n,r,i,s,a,l,c){let u=await gMe(n,e,{body:t,headers:o},r,i,s,a,l);return c&&u.status<500&&u.status!==429&&c.clearTelemetryCache(),u}async function gMe(e,t,o,n,r,i,s,a){zc.preProcess(r,e,n);let l;try{l=await V(i.sendPostRequestAsync.bind(i),VO,s,a,n)(t,o);let c=l.headers||{};a?.addFields({refreshTokenSize:l.body.refresh_token?.length||0,httpVerToken:c[Ho.X_MS_HTTP_VERSION]||"",requestId:c[Ho.X_MS_REQUEST_ID]||""},n)}catch(c){if(c instanceof qh){let u=c.responseHeaders;throw u&&a?.addFields({httpVerToken:u[Ho.X_MS_HTTP_VERSION]||"",requestId:u[Ho.X_MS_REQUEST_ID]||"",contentTypeHeader:u[Ho.CONTENT_TYPE]||void 0,contentLengthHeader:u[Ho.CONTENT_LENGTH]||void 0,httpStatus:c.httpStatus},n),c.error}throw c instanceof rt?c:te(iO)}return zc.postProcess(r,e,l,n),l}var KA={};Mo(KA,{createDiscoveredInstance:()=>yF});function rce(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}function ice(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}function sce(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}var Yv=class e{constructor(t,o,n,r){this.networkInterface=t,this.logger=o,this.performanceClient=n,this.correlationId=r}async detectRegion(t,o){let n=t;if(n)o.region_source=Gu.ENVIRONMENT_VARIABLE;else{let r=e.IMDS_OPTIONS;try{let i=await V(this.getRegionFromIMDS.bind(this),UA,this.logger,this.performanceClient,this.correlationId)($2,r);if(i.status===mA&&(n=i.body,o.region_source=Gu.IMDS),i.status===gA){let s=await V(this.getCurrentVersion.bind(this),lF,this.logger,this.performanceClient,this.correlationId)(r);if(!s)return o.region_source=Gu.FAILED_AUTO_DETECTION,null;let a=await V(this.getRegionFromIMDS.bind(this),UA,this.logger,this.performanceClient,this.correlationId)(s,r);a.status===mA&&(n=a.body,o.region_source=Gu.IMDS)}}catch{return o.region_source=Gu.FAILED_AUTO_DETECTION,null}}return n||(o.region_source=Gu.FAILED_AUTO_DETECTION),n||null}async getRegionFromIMDS(t,o){return this.networkInterface.sendGetRequestAsync(`${pA}?api-version=${t}&format=text`,o,D2)}async getCurrentVersion(t){try{let o=await this.networkInterface.sendGetRequestAsync(`${pA}?format=json`,t);return o.status===gA&&o.body&&o.body["newest-versions"]&&o.body["newest-versions"].length>0?o.body["newest-versions"][0]:null}catch{return null}}};Yv.IMDS_OPTIONS={headers:{Metadata:"true"}};var Pc=class e{constructor(t,o,n,r,i,s,a,l){this.canonicalAuthority=t,this._canonicalAuthority.validateAsUri(),this.networkInterface=o,this.cacheManager=n,this.authorityOptions=r,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=i,this.performanceClient=a,this.correlationId=s,this.managedIdentity=l||!1,this.regionDiscovery=new Yv(o,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(t){if(t.HostNameAndPort.endsWith(uA))return Sr.Ciam;let o=t.PathSegments;if(o.length)switch(o[0].toLowerCase()){case P2:return Sr.Adfs;case I2:return Sr.Dsts}return Sr.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 kt(t),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw te(fa)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw te(fa)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw te(fa)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw te(yO);return this.replacePath(this.metadata.end_session_endpoint)}else throw te(fa)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw te(fa)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw te(fa)}canReplaceTenant(t){return t.PathSegments.length===1&&!e.reservedTenantDomains.has(t.PathSegments[0])&&this.getAuthorityType(t)===Sr.Default&&this.protocolMode!==po.OIDC}replaceTenant(t){return t.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(t){let o=t,r=new kt(this.metadata.canonical_authority).getUrlComponents(),i=r.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((a,l)=>{let c=i[l];if(l===0&&this.canReplaceTenant(r)){let u=new kt(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===Sr.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 V(this.updateCloudDiscoveryMetadata.bind(this),rF,this.logger,this.performanceClient,this.correlationId)(t);this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,t.preferred_network);let n=await V(this.updateEndpointMetadata.bind(this),sF,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:jA(),jwks_uri:""}),t}updateCachedMetadata(t,o,n){o!==$i.CACHE&&n?.source!==$i.CACHE&&(t.expiresAt=jA(),t.canonical_authority=this.canonicalAuthority);let r=this.cacheManager.generateAuthorityMetadataCacheKey(t.preferred_cache,this.correlationId);this.cacheManager.setAuthorityMetadata(r,t,this.correlationId),this.metadata=t}async updateEndpointMetadata(t){let o=this.updateEndpointMetadataFromLocalSources(t);if(o){if(o.source===$i.HARDCODED_VALUES&&this.authorityOptions.azureRegionConfiguration?.azureRegion&&o.metadata){let r=await V(this.updateMetadataWithRegionalInformation.bind(this),FA,this.logger,this.performanceClient,this.correlationId)(o.metadata);Uh(t,r,!1),t.canonical_authority=this.canonicalAuthority}return o.source}let n=await V(this.getEndpointMetadataFromNetwork.bind(this),iF,this.logger,this.performanceClient,this.correlationId)();if(n)return this.authorityOptions.azureRegionConfiguration?.azureRegion&&(n=await V(this.updateMetadataWithRegionalInformation.bind(this),FA,this.logger,this.performanceClient,this.correlationId)(n)),Uh(t,n,!0),$i.NETWORK;throw te(sO,this.defaultOpenIdConfigurationEndpoint)}updateEndpointMetadataFromLocalSources(t){this.logger.verbose("1fi0kc",this.correlationId);let o=this.getEndpointMetadataFromConfig();if(o)return this.logger.verbose("06t0uj",this.correlationId),Uh(t,o,!1),{source:$i.CONFIG};this.logger.verbose("151k0p",this.correlationId);let n=this.getEndpointMetadataFromHardcodedValues();if(n)return Uh(t,n,!1),{source:$i.HARDCODED_VALUES,metadata:n};this.logger.verbose("1imop5",this.correlationId);let r=OA(t);return this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!r?(this.logger.verbose("16uq31",""),{source:$i.CACHE}):(r&&this.logger.verbose("0uoibc",""),null)}isAuthoritySameType(t){return new kt(t.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw Pt(tO)}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 rce(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 $O?$O[this.hostnameAndPort]:null}async updateMetadataWithRegionalInformation(t){let o=this.authorityOptions.azureRegionConfiguration?.azureRegion;if(o){if(o!==N2)return this.regionDiscoveryMetadata.region_outcome=_v.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=o,e.replaceWithRegionalInformation(t,o);let n=await V(this.regionDiscovery.detectRegion.bind(this.regionDiscovery),aF,this.logger,this.performanceClient,this.correlationId)(this.authorityOptions.azureRegionConfiguration?.environmentRegion,this.regionDiscoveryMetadata);if(n)return this.regionDiscoveryMetadata.region_outcome=_v.AUTO_DETECTION_REQUESTED_SUCCESSFUL,this.regionDiscoveryMetadata.region_used=n,e.replaceWithRegionalInformation(t,n);this.regionDiscoveryMetadata.region_outcome=_v.AUTO_DETECTION_REQUESTED_FAILED}return t}async updateCloudDiscoveryMetadata(t){let o=this.updateCloudDiscoveryMetadataFromLocalSources(t);if(o)return o;let n=await V(this.getCloudDiscoveryMetadataFromNetwork.bind(this),nF,this.logger,this.performanceClient,this.correlationId)();if(n)return Gv(t,n,!0),$i.NETWORK;throw Pt(oO)}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),Gv(t,o,!1),$i.CONFIG;this.logger.verbose("1x74aj",this.correlationId);let n=ece(this.hostnameAndPort);if(n)return this.logger.verbose("0by47c",this.correlationId),Gv(t,n,!1),$i.HARDCODED_VALUES;this.logger.verbose("0r2fzy",this.correlationId);let r=OA(t);return this.isAuthoritySameType(t)&&t.aliasesFromNetwork&&!r?(this.logger.verbose("1uffgh",""),$i.CACHE):(r&&this.logger.verbose("0uoibc",""),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===Sr.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=Uv(t.metadata,this.hostnameAndPort);if(this.logger.verbose("0q67e3",""),o)return this.logger.verbose("0hzfao",this.correlationId),o;this.logger.verbose("1ajz3u",this.correlationId)}catch{throw this.logger.verbose("1wq5tu",this.correlationId),Pt(EA)}}return this.isInKnownAuthorities()?(this.logger.verbose("0mt9al",this.correlationId),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}async getCloudDiscoveryMetadataFromNetwork(){let t=`${L2}${this.canonicalAuthority}oauth2/v2.0/authorize`,o={},n=null;try{let r=await this.networkInterface.sendGetRequestAsync(t,o),i,s;if(ice(r.body))i=r.body,s=i.metadata,this.logger.verbosePii("1vglyt",this.correlationId);else if(sce(r.body)){if(this.logger.warning("062uto",this.correlationId),i=r.body,i.error===F2)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=Uv(s,this.hostnameAndPort)}catch(r){return r 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&&kt.getDomainFromUrl(o).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(t,o){let n;if(o&&o.azureCloudInstance!==Yu.None){let r=o.tenant?o.tenant:mv;n=`${o.azureCloudInstance}/${r}/`}return n||t}static createCloudDiscoveryMetadataFromHost(t){return{preferred_network:t,preferred_cache:t,aliases:[t]}}getPreferredCache(){if(this.managedIdentity)return z2;if(this.discoveryComplete())return this.metadata.preferred_cache;throw te(fa)}isAlias(t){return this.metadata.aliases.indexOf(t)>-1}isAliasOfKnownMicrosoftAuthority(t){return NO.has(t)}static isPublicCloudAuthority(t){return O2.indexOf(t)>=0}static buildRegionalAuthorityString(t,o,n){let r=new kt(t);r.validateAsUri();let i=r.getUrlComponents(),s=`${o}.${i.HostNameAndPort}`;this.isPublicCloudAuthority(i.HostNameAndPort)&&(s=`${o}.${j2}`);let a=kt.constructAuthorityUriFromObject({...r.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,r=new kt(t).getUrlComponents();if(r.PathSegments.length===0&&r.HostNameAndPort.endsWith(uA)){let i=r.HostNameAndPort.split(".")[0];o=`${o}${i}${R2}`}return o}};Pc.reservedTenantDomains=new Set(["{tenant}","{tenantid}",ma.COMMON,ma.CONSUMERS,ma.ORGANIZATIONS]);function ace(e){let n=new kt(e).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(n){case ma.COMMON:case ma.ORGANIZATIONS:case ma.CONSUMERS:return;default:return n}}function YA(e){return e.endsWith(Sh)?e:`${e}${Sh}`}function bF(e){let t=e.cloudDiscoveryMetadata,o;if(t)try{o=JSON.parse(t)}catch{throw Pt(EA)}return{canonicalAuthority:e.authority?YA(e.authority):void 0,knownAuthorities:e.knownAuthorities,cloudDiscoveryMetadata:o}}async function yF(e,t,o,n,r,i,s){let a=Pc.transformCIAMAuthority(YA(e)),l=new Pc(a,t,o,n,r,i,s);try{return await V(l.resolveEndpointsAsync.bind(l),oF,r,s,i)(),l}catch{throw te(fa)}}var wm=class{constructor(t,o){this.includeRedirectUri=!0,this.config=Oh(t),this.logger=new _n(this.config.loggerOptions,Qu,dl),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}async acquireToken(t,o,n){if(!t.code)throw te(pO);n&&n.cloud_instance_host_name&&await V(this.updateTokenEndpointAuthority.bind(this),tF,this.logger,this.performanceClient,t.correlationId)(n.cloud_instance_host_name,t.correlationId);let r=Di(),i=await V(this.executeTokenRequest.bind(this),XO,this.logger,this.performanceClient,t.correlationId)(this.authority,t,this.serverTelemetryManager),s=i.headers?.[Ho.X_MS_REQUEST_ID],a=new ba(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return a.validateTokenResponse(i.body,t.correlationId),V(a.handleServerTokenResponse.bind(a),Wv,this.logger,this.performanceClient,t.correlationId)(i.body,this.authority,r,t,o,n,void 0,void 0,void 0,s)}getLogoutUri(t){if(!t)throw Pt(Xj);let o=this.createLogoutUrlQueryString(t);return kt.appendQueryString(this.authority.endSessionEndpoint,o)}async executeTokenRequest(t,o,n){let r=WA(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),i=kt.appendQueryString(t.tokenEndpoint,r),s=await V(this.createTokenRequestBody.bind(this),eF,this.logger,this.performanceClient,o.correlationId)(o),a;if(o.clientInfo)try{let u=Nh(o.clientInfo,this.cryptoUtils.base64Decode);a={credential:`${u.uid}${Ah}${u.utid}`,type:pr.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",o.correlationId)}let l=VA(this.logger,this.config.systemOptions.preventCorsPreflight,a||o.ccsCredential),c=Ac(this.config.authOptions.clientId,o);return V(QA,QO,this.logger,this.performanceClient,o.correlationId)(i,s,l,c,o.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,n)}async createTokenRequestBody(t){let o=new Map;if(lm(o,t.embeddedClientId||t.extraParameters?.[cl]||this.config.authOptions.clientId),this.includeRedirectUri)cm(o,t.redirectUri);else if(!t.redirectUri)throw Pt(Qj);if(am(o,t.scopes,!0,this.oidcDefaultScopes),Ov(o,t.resource),AO(o,t.code),Ev(o,this.config.libraryInfo),Av(o,this.config.telemetry.application),jv(o),this.serverTelemetryManager&&!$A(this.config)&&Nv(o,this.serverTelemetryManager),t.codeVerifier&&PO(o,t.codeVerifier),this.config.clientCredentials.clientSecret&&Pv(o,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let r=this.config.clientCredentials.clientAssertion;Iv(o,await GA(r.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),Lv(o,r.assertionType)}if(Rv(o,hv.AUTHORIZATION_CODE_GRANT),pm(o),t.authenticationScheme===ko.POP){let r=new ni(this.cryptoUtils,this.performanceClient),i;t.popKid?i=this.cryptoUtils.encodeKid(t.popKid):i=(await V(r.generateCnf.bind(r),bm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,$v(o,i)}else if(t.authenticationScheme===ko.SSH)if(t.sshJwk)Dv(o,t.sshJwk);else throw Pt(Tv);(!No.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&um(o,t.claims,this.config.authOptions.clientCapabilities);let n;if(t.clientInfo)try{let r=Nh(t.clientInfo,this.cryptoUtils.base64Decode);n={credential:`${r.uid}${Ah}${r.utid}`,type:pr.HOME_ACCOUNT_ID}}catch{this.logger.verbose("0wznt3",t.correlationId)}else n=t.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&n)switch(n.type){case pr.HOME_ACCOUNT_ID:try{let r=ml(n.credential);Tc(o,r)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case pr.UPN:Vu(o,n.credential);break}return t.embeddedClientId&&Sc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&kc(o,t.extraParameters),t.enableSpaAuthorizationCode&&(!t.extraParameters||!t.extraParameters[TA])&&kc(o,{[TA]:"1"}),sm(o,t.correlationId,this.performanceClient),ul(o)}createLogoutUrlQueryString(t){let o=new Map;return t.postLogoutRedirectUri&&TO(o,t.postLogoutRedirectUri),t.correlationId&&dm(o,t.correlationId),t.idTokenHint&&kO(o,t.idTokenHint),t.state&&zv(o,t.state),t.logoutHint&&LO(o,t.logoutHint),t.extraQueryParameters&&kc(o,t.extraQueryParameters),this.config.authOptions.instanceAware&&Mv(o),ul(o)}async updateTokenEndpointAuthority(t,o){let n=`https://${t}/${this.authority.tenant}/`,r=await yF(n,this.networkClient,this.cacheManager,this.authority.options,this.logger,o,this.performanceClient);this.authority=r}};var fMe=300,Kv=class{constructor(t,o){this.config=Oh(t),this.logger=new _n(this.config.loggerOptions,Qu,dl),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o}async acquireToken(t,o){let n=Di(),r=await V(this.executeTokenRequest.bind(this),YO,this.logger,this.performanceClient,t.correlationId)(t,this.authority),i=r.headers?.[Ho.X_MS_REQUEST_ID],s=new ba(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.performanceClient,this.config.serializableCache,this.config.persistencePlugin);return s.validateTokenResponse(r.body,t.correlationId),V(s.handleServerTokenResponse.bind(s),Wv,this.logger,this.performanceClient,t.correlationId)(r.body,this.authority,n,t,o,void 0,void 0,!0,t.forceCache,i)}async acquireTokenByRefreshToken(t,o){if(!t)throw Pt(Jj);if(!t.account)throw te(Sv);if(this.cacheManager.isAppMetadataFOCI(t.account.environment,t.correlationId))try{return await V(this.acquireTokenWithCachedRefreshToken.bind(this),Vv,this.logger,this.performanceClient,t.correlationId)(t,!0,o)}catch(r){let i=r instanceof So&&r.errorCode===qA,s=r instanceof ri&&r.errorCode===rj&&r.subError===ij;if(i||s)return V(this.acquireTokenWithCachedRefreshToken.bind(this),Vv,this.logger,this.performanceClient,t.correlationId)(t,!1,o);throw r}return V(this.acquireTokenWithCachedRefreshToken.bind(this),Vv,this.logger,this.performanceClient,t.correlationId)(t,!1,o)}async acquireTokenWithCachedRefreshToken(t,o,n){let r=en(this.cacheManager.getRefreshToken.bind(this.cacheManager),cF,this.logger,this.performanceClient,t.correlationId)(t.account,o,t.correlationId,void 0);if(!r)throw ym(qA);if(r.expiresOn){let s=t.refreshTokenExpirationOffsetSeconds||fMe;if(this.performanceClient?.addFields({cacheRtExpiresOnSeconds:Number(r.expiresOn),rtOffsetSeconds:s},t.correlationId),Fh(r.expiresOn,s))throw ym(uF)}let i={...t,refreshToken:r.secret,authenticationScheme:t.authenticationScheme||ko.BEARER,ccsCredential:{credential:t.account.homeAccountId,type:pr.HOME_ACCOUNT_ID}};try{return await V(this.acquireToken.bind(this),KO,this.logger,this.performanceClient,t.correlationId)(i,n)}catch(s){if(s instanceof So&&s.subError===Qv){this.logger.verbose("1pg3ap",t.correlationId);let a=this.cacheManager.generateCredentialKey(r);this.cacheManager.removeRefreshToken(a,t.correlationId)}throw s}}async executeTokenRequest(t,o){let n=WA(t,this.config.authOptions.clientId,this.config.authOptions.redirectUri,this.performanceClient),r=kt.appendQueryString(o.tokenEndpoint,n),i=await V(this.createTokenRequestBody.bind(this),ZO,this.logger,this.performanceClient,t.correlationId)(t),s=VA(this.logger,this.config.systemOptions.preventCorsPreflight,t.ccsCredential),a=Ac(this.config.authOptions.clientId,t);return V(QA,WO,this.logger,this.performanceClient,t.correlationId)(r,i,s,a,t.correlationId,this.cacheManager,this.networkClient,this.logger,this.performanceClient,this.serverTelemetryManager)}async createTokenRequestBody(t){let o=new Map;if(lm(o,t.embeddedClientId||t.extraParameters?.[cl]||this.config.authOptions.clientId),t.redirectUri&&cm(o,t.redirectUri),am(o,t.scopes,!0,this.config.authOptions.authority.options.OIDCOptions?.defaultScopes),Rv(o,hv.REFRESH_TOKEN_GRANT),pm(o),Ev(o,this.config.libraryInfo),Av(o,this.config.telemetry.application),jv(o),this.serverTelemetryManager&&!$A(this.config)&&Nv(o,this.serverTelemetryManager),zO(o,t.refreshToken),this.config.clientCredentials.clientSecret&&Pv(o,this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){let n=this.config.clientCredentials.clientAssertion;Iv(o,await GA(n.assertion,this.config.authOptions.clientId,t.resourceRequestUri)),Lv(o,n.assertionType)}if(t.authenticationScheme===ko.POP){let n=new ni(this.cryptoUtils,this.performanceClient),r;t.popKid?r=this.cryptoUtils.encodeKid(t.popKid):r=(await V(n.generateCnf.bind(n),bm,this.logger,this.performanceClient,t.correlationId)(t,this.logger)).reqCnfString,$v(o,r)}else if(t.authenticationScheme===ko.SSH)if(t.sshJwk)Dv(o,t.sshJwk);else throw Pt(Tv);if((!No.isEmptyObj(t.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&um(o,t.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&t.ccsCredential)switch(t.ccsCredential.type){case pr.HOME_ACCOUNT_ID:try{let n=ml(t.ccsCredential.credential);Tc(o,n)}catch{this.logger.verbose("1qhtee",t.correlationId)}break;case pr.UPN:Vu(o,t.ccsCredential.credential);break}return t.embeddedClientId&&Sc(o,this.config.authOptions.clientId,this.config.authOptions.redirectUri),t.extraParameters&&kc(o,{...t.extraParameters}),sm(o,t.correlationId,this.performanceClient),ul(o)}};var Zv=class{constructor(t,o){this.config=Oh(t),this.logger=new _n(this.config.loggerOptions,Qu,dl),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o}async acquireCachedToken(t){let o=ga.NOT_APPLICABLE;if(t.forceRefresh||!No.isEmptyObj(t.claims))throw this.setCacheOutcome(ga.FORCE_REFRESH_OR_CLAIMS,t.correlationId),te(Mh);if(!t.account)throw te(Sv);let n=t.account.tenantId||ace(t.authority),r=this.cacheManager.getTokenKeys(),i=this.cacheManager.getAccessToken(t.account,t,r,n);if(i){if(qO(i.cachedAt)||Fh(i.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw this.setCacheOutcome(ga.CACHED_ACCESS_TOKEN_EXPIRED,t.correlationId),te(Mh);if(t.resource){if(i.resource!==t.resource)throw this.setCacheOutcome(ga.NO_CACHED_ACCESS_TOKEN,t.correlationId),te(Mh)}else i.refreshOn&&Fh(i.refreshOn,0)&&(o=ga.PROACTIVELY_REFRESHED)}else throw this.setCacheOutcome(ga.NO_CACHED_ACCESS_TOKEN,t.correlationId),te(Mh);let s=t.authority||this.authority.getPreferredCache(),a={account:this.cacheManager.getAccount(this.cacheManager.generateAccountKey(t.account),t.correlationId),accessToken:i,idToken:this.cacheManager.getIdToken(t.account,t.correlationId,r,n),refreshToken:null,appMetadata:this.cacheManager.readAppMetadataFromCache(s,t.correlationId)};return this.setCacheOutcome(o,t.correlationId),this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[await V(this.generateResultFromCacheRecord.bind(this),JO,this.logger,this.performanceClient,t.correlationId)(a,t),o]}setCacheOutcome(t,o){this.serverTelemetryManager?.setCacheOutcome(t),this.performanceClient?.addFields({cacheOutcome:t},o),t!==ga.NOT_APPLICABLE&&this.logger.info("09ingz",o)}async generateResultFromCacheRecord(t,o){let n;if(t.idToken&&(n=Cc(t.idToken.secret,this.config.cryptoInterface.base64Decode)),o.maxAge||o.maxAge===0){let r=n?.auth_time;if(!r)throw te(kv);Fv(r,o.maxAge)}return ba.generateAuthenticationResult(this.cryptoUtils,this.authority,t,!0,o,this.performanceClient,n)}};var _F={sendGetRequestAsync:()=>Promise.reject(te(_t)),sendPostRequestAsync:()=>Promise.reject(te(_t))};var fl={};Mo(fl,{getAuthorizationCodePayload:()=>yMe,getAuthorizeUrl:()=>bMe,getStandardAuthorizeRequestParameters:()=>hMe,validateAuthorizationResponse:()=>lce});function hMe(e,t,o,n){let r=t.correlationId,i=new Map;lm(i,t.embeddedClientId||t.extraQueryParameters?.[cl]||e.clientId);let s=[...t.scopes||[],...t.extraScopesToConsent||[]];if(am(i,s,!0,e.authority.options.OIDCOptions?.defaultScopes),Ov(i,t.resource),cm(i,t.redirectUri),dm(i,r),xO(i,t.responseMode),pm(i),IO(i),t.prompt&&(CO(i,t.prompt),n?.addFields({prompt:t.prompt},r)),t.domainHint&&(SO(i,t.domainHint),n?.addFields({domainHintFromRequest:!0},r)),t.prompt!==fv.SELECT_ACCOUNT)if(t.sid&&t.prompt===fv.NONE)o.verbose("1tvqyx",t.correlationId),RA(i,t.sid),n?.addFields({sidFromRequest:!0},r);else if(t.account){let a=wMe(t.account),l=vMe(t.account);if(l&&t.domainHint&&(o.warning("0wkg3v",t.correlationId),l=null),l){o.verbose("1eyfsw",t.correlationId),$h(i,l),n?.addFields({loginHintFromClaim:!0},r);try{let c=ml(t.account.homeAccountId);Tc(i,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(a&&t.prompt===fv.NONE){o.verbose("1rmd8s",t.correlationId),RA(i,a),n?.addFields({sidFromClaim:!0},r);try{let c=ml(t.account.homeAccountId);Tc(i,c)}catch{o.verbose("12ugck",t.correlationId)}}else if(t.loginHint)o.verbose("0y3007",t.correlationId),$h(i,t.loginHint),Vu(i,t.loginHint),n?.addFields({loginHintFromRequest:!0},r);else if(t.account.username){o.verbose("02f507",t.correlationId),$h(i,t.account.username),n?.addFields({loginHintFromUpn:!0},r);try{let c=ml(t.account.homeAccountId);Tc(i,c)}catch{o.verbose("12ugck",t.correlationId)}}}else t.loginHint&&(o.verbose("0g01ey",t.correlationId),$h(i,t.loginHint),Vu(i,t.loginHint),n?.addFields({loginHintFromRequest:!0},r));else o.verbose("169k9v",t.correlationId);return t.nonce&&EO(i,t.nonce),t.state&&zv(i,t.state),(t.claims||e.clientCapabilities&&e.clientCapabilities.length>0)&&um(i,t.claims,e.clientCapabilities),t.embeddedClientId&&Sc(i,e.clientId,e.redirectUri),e.instanceAware&&(!t.extraQueryParameters||!Object.keys(t.extraQueryParameters).includes(Ih))&&Mv(i),i}function bMe(e,t){let o=ul(t);return kt.appendQueryString(e.authorizationEndpoint,o)}function yMe(e,t){if(lce(e,t),!e.code)throw te(bO);return e}function lce(e,t){if(!e.state||!t)throw e.state?te(PA,"Cached State"):te(PA,"Server State");let o,n;try{o=decodeURIComponent(e.state)}catch{throw te(im,e.state)}try{n=decodeURIComponent(t)}catch{throw te(im,e.state)}if(o!==n)throw te(lO);if(e.error||e.error_description||e.suberror){let r=_Me(e);throw HA(e.error,e.error_description,e.suberror)?new So(e.error||"",e.error_description,e.suberror,e.timestamp||"",e.trace_id||"",e.correlation_id||"",e.claims||"",r):new ri(e.error||"",e.error_description,e.suberror,r)}}function _Me(e){let t="code=",o=e.error_uri?.lastIndexOf(t);return o&&o>=0?e.error_uri?.substring(o+t.length):void 0}function wMe(e){return e.idTokenClaims?.sid||null}function vMe(e){return e.loginHint||e.idTokenClaims?.login_hint||null}function Jv(e,t){if(e){if(t.resource&&(cce(t.extraParameters)||cce(t.extraQueryParameters)))throw te(vO);if(!t.resource)throw te(wO)}}function cce(e){return e?Object.prototype.hasOwnProperty.call(e,"resource"):!1}var Zu={};Mo(Zu,{postRequestFailed:()=>TMe,unexpectedError:()=>xMe});var xMe="unexpected_error",TMe="post_request_failed";var uce=",",dce="|";function kMe(e){let{skus:t,libraryName:o,libraryVersion:n,extensionName:r,extensionVersion:i}=e,s=new Map([[0,[o,n]],[2,[r,i]]]),a=[];if(t?.length){if(a=t.split(uce),a.length<4)return t}else a=Array.from({length:4},()=>dce);return s.forEach((l,c)=>{l.length===2&&l[0]?.length&&l[1]?.length&&SMe({skuArr:a,index:c,skuName:l[0],skuVersion:l[1]})}),a.join(uce)}function SMe(e){let{skuArr:t,index:o,skuName:n,skuVersion:r}=e;o>=t.length||(t[o]=[n,r].join(dce))}var vm=class e{constructor(t,o){this.cacheOutcome=ga.NOT_APPLICABLE,this.cacheManager=o,this.apiId=t.apiId,this.correlationId=t.correlationId,this.wrapperSKU=t.wrapperSKU||"",this.wrapperVer=t.wrapperVer||"",this.telemetryCacheKey=bv+nm+t.clientId}generateCurrentRequestHeaderValue(){let t=`${this.apiId}${Bu}${this.cacheOutcome}`,o=[this.wrapperSKU,this.wrapperVer],n=this.getNativeBrokerErrorCode();n?.length&&o.push(`broker_error=${n}`);let r=o.join(Bu),i=this.getRegionDiscoveryFields(),s=[t,i].join(Bu);return[bA,s,r].join(yA)}generateLastRequestHeaderValue(){let t=this.getLastRequests(),o=e.maxErrorsToSend(t),n=t.failedRequests.slice(0,2*o).join(Bu),r=t.errors.slice(0,o).join(Bu),i=t.errors.length,s=o=Z2&&(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(ej),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 r={failedRequests:t.failedRequests.slice(o*2),errors:t.errors.slice(o),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,r,this.correlationId)}}static maxErrorsToSend(t){let o,n=0,r=0,i=t.errors.length;for(o=0;otypeof e=="number"&&e in Wce?Wce[e]:"unknown",Qe;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(Qe||(Qe={}));var zF={scopes:Me.OIDC_DEFAULT_SCOPES},PF="jwk";var XA="msal.db",Yce=1,Kce=`${XA}.keys`,Yn={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},Zce=[Yn.Default,Yn.Skip,Yn.RefreshTokenAndNetwork];function tx(e){return encodeURIComponent(ed(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function Cs(e){return Jce(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function ed(e){return Jce(new TextEncoder().encode(e))}function Jce(e){let t=Array.from(e,o=>String.fromCodePoint(o)).join("");return btoa(t)}var IF="pkce_not_created",LF="ear_jwk_empty",Xce="ear_jwe_empty",RF="crypto_nonexistent",Yh="empty_navigate_uri",eue="hash_empty_error",Kh="no_state_in_hash",tue="hash_does_not_contain_known_properties",ez="unable_to_parse_state",oue="state_interaction_type_mismatch",nue="interaction_in_progress",rue="interaction_in_progress_cancelled",iue="popup_window_error",sue="empty_window_error",ox="user_cancelled",aue="redirect_bridge_empty_response",lue="redirect_in_iframe",cue="block_iframe_reload",uue="block_nested_popups";var Zh="silent_logout_unsupported",due="no_account_error";var pue="no_token_request_cache_error",mue="unable_to_parse_token_request_cache_error";var tz="non_browser_environment",Jh="database_not_open",nx="no_network_connectivity",gue="post_request_failed",fue="get_request_failed",MF="failed_to_parse_response";var oz="crypto_key_not_found",hue="auth_code_required",bue="auth_code_or_nativeAccountId_required",yue="spa_code_and_nativeAccountId_present",nz="database_unavailable",_ue="unable_to_acquire_token_from_native_platform",wue="native_handshake_timeout",vue="native_extension_not_installed",rz="native_connection_not_established",Xh="uninitialized_public_client_application",xue="native_prompt_not_supported",Tue="invalid_base64_string",kue="invalid_pop_token_request",Sue="failed_to_build_headers",Cue="failed_to_parse_headers",iz="failed_to_decrypt_ear_response",km="timed_out",Eue="empty_response";function Ln(e){return new TextDecoder().decode(hl(e))}function hl(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw ge(Tue)}let o=atob(t);return Uint8Array.from(o,n=>n.codePointAt(0)||0)}var CMe="RSASSA-PKCS1-v1_5",eb="AES-GCM",Pue="HKDF",DF="SHA-256",EMe=2048,AMe=new Uint8Array([1,0,1]),Aue="0123456789abcdef",zue=new Uint32Array(1),NF="raw",Iue="encrypt",jF="decrypt",zMe="deriveKey",PMe="crypto_subtle_undefined",OF={name:CMe,hash:DF,modulusLength:EMe,publicExponent:AMe};function Lue(e){if(!window)throw ge(tz);if(!window.crypto)throw ge(RF);if(!e&&!window.crypto.subtle)throw ge(RF,PMe)}async function FF(e){let o=new TextEncoder().encode(e);return window.crypto.subtle.digest(DF,o)}function Rue(e){return window.crypto.getRandomValues(e)}function $F(){return window.crypto.getRandomValues(zue),zue[0]}function Ni(){let e=Date.now(),t=$F()*1024+($F()&1023),o=new Uint8Array(16),n=Math.trunc(t/2**30),r=t&2**30-1,i=$F();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|r>>>24,o[9]=r>>>16,o[10]=r>>>8,o[11]=r,o[12]=i>>>24,o[13]=i>>>16,o[14]=i>>>8,o[15]=i;let s="";for(let a=0;a>>4),s+=Aue.charAt(o[a]&15),(a===3||a===5||a===7||a===9)&&(s+="-");return s}async function Mue(e,t){return window.crypto.subtle.generateKey(OF,e,t)}async function sz(e){return window.crypto.subtle.exportKey(PF,e)}async function $ue(e,t,o){return window.crypto.subtle.importKey(PF,e,OF,t,o)}async function Due(e,t){return window.crypto.subtle.sign(OF,e,t)}async function tb(){let e=await UF(),o={alg:"dir",kty:"oct",k:Cs(new Uint8Array(e))};return ed(JSON.stringify(o))}async function IMe(e){let t=Ln(e),n=JSON.parse(t).k,r=hl(n);return window.crypto.subtle.importKey(NF,r,eb,!1,[jF])}async function Nue(e,t){let o=t.split(".");if(o.length!==5)throw ge(iz,"jwe_length");let n=await IMe(e).catch(()=>{throw ge(iz,"import_key")});try{let r=new TextEncoder().encode(o[0]),i=hl(o[2]),s=hl(o[3]),a=hl(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:eb,iv:i,tagLength:l,additionalData:r},n,c);return new TextDecoder().decode(u)}catch{throw ge(iz,"decrypt")}}async function UF(){let e=await window.crypto.subtle.generateKey({name:eb,length:256},!0,[Iue,jF]);return window.crypto.subtle.exportKey(NF,e)}async function qF(e){return window.crypto.subtle.importKey(NF,e,Pue,!1,[zMe])}async function jue(e,t,o){return window.crypto.subtle.deriveKey({name:Pue,salt:t,hash:DF,info:new TextEncoder().encode(o)},e,{name:eb,length:256},!1,[Iue,jF])}async function Oue(e,t,o){let n=new TextEncoder().encode(t),r=window.crypto.getRandomValues(new Uint8Array(16)),i=await jue(e,r,o),s=await window.crypto.subtle.encrypt({name:eb,iv:new Uint8Array(12)},i,n);return{data:Cs(new Uint8Array(s)),nonce:Cs(r)}}async function HF(e,t,o,n){let r=hl(n),i=await jue(e,hl(t),o),s=await window.crypto.subtle.decrypt({name:eb,iv:new Uint8Array(12)},i,r);return new TextDecoder().decode(s)}async function Fue(e){let t=await FF(e),o=new Uint8Array(t);return Cs(o)}var BF=class e extends rt{constructor(t,o){super(t,o),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,e.prototype)}};function ob(e){return new BF(e,Wh(e))}var az="storage_not_supported";var Uue="in_mem_redirect_unavailable";function LMe(){let e=window.location.hash,t=window.location.search,o=!1,n=!1,r="",i;if(e&&e.length>1){let u=e.charAt(0)==="#"?e.substring(1):e,p=new URLSearchParams(u);p.has("state")&&(o=!0,r=u,i=p)}if(t&&t.length>1){let u=t.charAt(0)==="?"?t.substring(1):t,p=new URLSearchParams(u);p.has("state")&&(n=!0,r=u,i=p)}if(o&&n){let u=t.charAt(0)==="?"?t.substring(1):t,p=e.charAt(0)==="#"?e.substring(1):e;r=`${u}${p}`,i=new URLSearchParams(r)}if(!r||!i)throw ge(Eue);let s=i.get("state");if(!s)throw ge(Kh);let{libraryState:a}=ha.parseRequestState(Ln,s),{id:l,meta:c}=a;if(!l||!c)throw ge(ez,"missing_library_state");return{params:i,payload:r,urlHash:e,urlQuery:t,hasResponseInHash:o,hasResponseInQuery:n,libraryState:{id:l,meta:c}}}function lz(e){e.location.hash="",typeof e.history.replaceState=="function"&&e.history.replaceState(null,"",`${e.location.origin}${e.location.pathname}${e.location.search}`)}function que(e){let t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):""}function rx(){return window.parent!==window}function RMe(){if(rx())return!1;try{let{libraryState:e}=LMe(),{meta:t}=e;return t.interactionType===Qe.Popup}catch{return!1}}var td=null;function Hue(e,t){td&&(e.verbose("18y01k",t),clearTimeout(td.timeoutId),td.channel.close(),td.reject(ge(rue)),td=null)}async function od(e,t,o,n,r,i){return new Promise((s,a)=>{t.verbose("1rf6em",n.correlationId);let l=n.correlationId;r.addFields({redirectBridgeTimeoutMs:e,lateResponseExperimentEnabled:i?.iframeTimeoutTelemetry||!1},l);let{libraryState:c}=ha.parseRequestState(o.base64Decode,n.state||""),u=new BroadcastChannel(c.id),p,m=!1,g,f,y=window.setTimeout(()=>{td=null,i?.iframeTimeoutTelemetry?(f=r.startMeasurement(Vce,l),m=!0,g=window.setTimeout(()=>{f?.end({success:!1}),clearTimeout(g),u.close()},6e4)):u.close(),a(ge(km,"redirect_bridge_timeout"))},e);td={timeoutId:y,channel:u,reject:a},u.onmessage=h=>{p=h.data.payload;let v=h?.data&&typeof h.data.v=="number"?h.data.v:void 0;if(m){f?.end({success:!!p}),clearTimeout(g),u.close();return}r.addFields({redirectBridgeMessageVersion:v},l),td=null,clearTimeout(y),u.close(),p?s(p):a(ge(aue))}})}function Es(){return typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:""}function Bue(){let t=new kt(window.location.href).getUrlComponents();return`${t.Protocol}//${t.HostNameAndPort}/`}function MMe(){if(ks.getDeserializedResponse(window.location.hash)&&rx())throw ge(cue)}function $Me(e){if(rx()&&!e)throw ge(lue)}function DMe(){if(RMe())throw ge(uue)}function GF(){if(typeof window>"u")throw ge(tz)}function VF(e){if(!e)throw ge(Xh)}function cz(e){GF(),MMe(),DMe(),VF(e)}function WF(e,t){if(cz(e),$Me(t.system.allowRedirectInIframe),t.cache.cacheLocation===In.MemoryStorage)throw ob(Uue)}function uz(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 ix(){return Ni()}var uat=yo.addClientCapabilitiesToClaims;var dz=class{constructor(){this.dbName=XA,this.version=Yce,this.tableName=Kce,this.dbOpen=!1}async open(){return new Promise((t,o)=>{let n=window.indexedDB.open(this.dbName,this.version);n.addEventListener("upgradeneeded",r=>{r.target.result.createObjectStore(this.tableName)}),n.addEventListener("success",r=>{let i=r;this.db=i.target.result,this.dbOpen=!0,t()}),n.addEventListener("error",()=>o(ge(nz)))})}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(ge(Jh));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,r)=>{if(!this.db)return r(ge(Jh));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(),r(l)})})}async removeItem(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(ge(Jh));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(ge(Jh));let i=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).getAllKeys();i.addEventListener("success",s=>{let a=s;this.closeConnection(),t(a.target.result)}),i.addEventListener("error",s=>{this.closeConnection(),o(s)})})}async containsKey(t){return await this.validateDbIsOpen(),new Promise((o,n)=>{if(!this.db)return n(ge(Jh));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(XA),r=setTimeout(()=>o(!1),200);n.addEventListener("success",()=>(clearTimeout(r),t(!0))),n.addEventListener("blocked",()=>(clearTimeout(r),t(!0))),n.addEventListener("error",()=>(clearTimeout(r),o(!1)))})}};var Lc=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 pz=class{constructor(t){this.inMemoryCache=new Lc,this.indexedDBCache=new dz,this.logger=t}handleDatabaseAccessError(t,o){if(t instanceof Tm&&t.errorCode===nz)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(r){this.handleDatabaseAccessError(r,o)}return n}async setItem(t,o,n){this.inMemoryCache.setItem(t,o);try{await this.indexedDBCache.setItem(t,o)}catch(r){this.handleDatabaseAccessError(r,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(r){this.handleDatabaseAccessError(r,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 bl=class e{constructor(t,o,n){this.logger=t,Lue(n??!1),this.cache=new pz(this.logger),this.performanceClient=o}createNewGuid(){return Ni()}base64Encode(t){return ed(t)}base64Decode(t){return Ln(t)}base64UrlEncode(t){return tx(t)}encodeKid(t){return this.base64UrlEncode(JSON.stringify({kid:t}))}async getPublicKeyThumbprint(t){let o=this.performanceClient?.startMeasurement(bce,t.correlationId),n=await Mue(e.EXTRACTABLE,e.POP_KEY_USAGES),r=await sz(n.publicKey),i={e:r.e,kty:r.kty,n:r.n},s=Gue(i),a=await this.hashString(s),l=await sz(n.privateKey),c=await $ue(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 te(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,r){let i=this.performanceClient?.startMeasurement(yce,r),s=await this.cache.getItem(o,r||"");if(!s)throw ge(oz);let a=await sz(s.publicKey),l=Gue(a),c=tx(JSON.stringify({kid:o})),u=Xv.getShrHeaderString({...n?.header,alg:a.alg,kid:c}),p=tx(u);t.cnf={jwk:JSON.parse(l)};let m=tx(JSON.stringify(t)),g=`${p}.${m}`,y=new TextEncoder().encode(g),h=await Due(s.privateKey,y),v=Cs(new Uint8Array(h)),_=`${g}.${v}`;return i&&i.end({success:!0}),_}async hashString(t){return Fue(t)}};bl.POP_KEY_USAGES=["sign","verify"];bl.EXTRACTABLE=!0;function Gue(e){return JSON.stringify(e,Object.keys(e).sort())}var Vue="acquireTokenSilent",Wue="acquireTokenByCode",Que="acquireTokenPopup",Yue="acquireTokenPreRedirect",mz="acquireTokenRedirect",Kue="ssoSilent",Zue="initializeClientApplication",Jue="localStorageUpdated";var tn="msal",gz="browser",QF="|";var tde=`${tn}.${gz}.log.level`,ode=`${tn}.${gz}.log.pii`,Lat=`${tn}.${gz}.performance.enabled`,nde=`${tn}.${gz}.platform.auth.dom`,YF=`${tn}.version`,Xue="account.keys",ede="token.keys";function Rc(e=2){return e<1?`${tn}.${Xue}`:`${tn}.${e}.${Xue}`}function Mc(e,t=2){return t<1?`${tn}.${ede}.${e}`:`${tn}.${t}.${ede}.${e}`}var NMe=24*60*60*1e3,fz={Lax:"Lax",None:"None"},nb=class{initialize(){return Promise.resolve()}getItem(t){let o=`${encodeURIComponent(t)}`,n=document.cookie.split(";");for(let r=0;r{let r=decodeURIComponent(n).trim().split("=");o.push(r[0])}),o}containsKey(t){return this.getKeys().includes(t)}decryptData(){return Promise.resolve(null)}};function jMe(e){let t=new Date;return new Date(t.getTime()+e*NMe).toUTCString()}function yl(e,t){let o=e.getItem(Rc(t));return o?JSON.parse(o):[]}function ji(e,t,o){let n=t.getItem(Mc(e,o));if(n){let r=JSON.parse(n);if(r&&r.hasOwnProperty("idToken")&&r.hasOwnProperty("accessToken")&&r.hasOwnProperty("refreshToken"))return r}return{idToken:[],accessToken:[],refreshToken:[]}}function rb(e){return e.hasOwnProperty("id")&&e.hasOwnProperty("nonce")&&e.hasOwnProperty("data")}var rde="msal.cache.encryption",OMe="msal.broadcast.cache",hz=class{constructor(t,o,n){if(!window.localStorage)throw ob(az);this.memoryStorage=new Lc,this.initialized=!1,this.clientId=t,this.logger=o,this.performanceClient=n,this.broadcast=new BroadcastChannel(OMe)}async initialize(t){let o=new nb,n=o.getItem(rde),r={key:"",id:""};if(n)try{r=JSON.parse(n)}catch{}if(r.key&&r.id){let i=en(hl,qce,this.logger,this.performanceClient,t)(r.key);this.encryptionCookie={id:r.id,key:await V(qF,CF,this.logger,this.performanceClient,t)(i)}}else{let i=Ni(),s=await V(UF,Uce,this.logger,this.performanceClient,t)(),a=en(Cs,Hce,this.logger,this.performanceClient,t)(new Uint8Array(s));this.encryptionCookie={id:i,key:await V(qF,CF,this.logger,this.performanceClient,t)(s)};let l={id:i,key:a};o.setItem(rde,JSON.stringify(l),0,!0,fz.None)}await V(this.importExistingCache.bind(this),Dce,this.logger,this.performanceClient,t)(t),this.broadcast.addEventListener("message",i=>{this.updateCache(i,t)}),this.initialized=!0}getItem(t){return window.localStorage.getItem(t)}getUserData(t){if(!this.initialized)throw ge(Xh);return this.memoryStorage.getItem(t)}async decryptData(t,o,n){if(!this.initialized||!this.encryptionCookie)throw ge(Xh);if(o.id!==this.encryptionCookie.id)return this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},n),null;let r=await V(HF,EF,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o.nonce,this.getContext(t),o.data);if(!r)return null;try{return{...JSON.parse(r),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,r,i){if(!this.initialized||!this.encryptionCookie)throw ge(Xh);if(i)this.setItem(t,o);else{let{data:s,nonce:a}=await V(Oue,Bce,this.logger,this.performanceClient,n)(this.encryptionCookie.key,o,this.getContext(t)),l={id:this.encryptionCookie.id,nonce:a,data:s,lastUpdatedAt:r};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=ji(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(tn)||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(Rc(),JSON.stringify(o)):this.removeItem(Rc());let n=ji(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(Mc(this.clientId),JSON.stringify(n)):this.removeItem(Mc(this.clientId))}async getItemFromEncryptedCache(t,o){if(!this.encryptionCookie)return null;let n=this.getItem(t);if(!n)return null;let r;try{r=JSON.parse(n)}catch{return null}return rb(r)?r.id!==this.encryptionCookie.id?(this.performanceClient.incrementFields({encryptedCacheExpiredCount:1},o),null):(this.performanceClient.incrementFields({encryptedCacheCount:1},o),V(HF,EF,this.logger,this.performanceClient,o)(this.encryptionCookie.key,r.nonce,this.getContext(t),r.data)):(this.performanceClient.incrementFields({unencryptedCacheCount:1},o),n)}async importArray(t,o){let n=[],r=[];return t.forEach(i=>{let s=this.getItemFromEncryptedCache(i,o).then(a=>{a?(this.memoryStorage.setItem(i,a),n.push(i)):this.removeItem(i)});r.push(s)}),await Promise.all(r),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(Jue);n.add({isBackground:!0});let{key:r,value:i,context:s}=t.data;if(!r){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}i?(this.memoryStorage.setItem(r,i),this.logger.verbose("1vzsgt",o)):(this.memoryStorage.removeItem(r),this.logger.verbose("04ypih",o)),n.end({success:!0})}};var bz=class{constructor(){if(!window.sessionStorage)throw ob(az)}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 Je={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 ide="@azure/msal-browser",Oi="5.6.3";function $c(e,t){let o=e.indexOf(t);o>-1&&e.splice(o,1)}var ib=class extends hm{constructor(t,o,n,r,i,s,a){super(t,n,r,i,a),this.cacheConfig=o,this.logger=r,this.internalStorage=new Lc,this.browserStorage=sde(t,o.cacheLocation,r,i),this.temporaryCacheStorage=sde(t,In.SessionStorage,r,i),this.cookieStorage=new nb,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=ji(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 i=0;i<2;i++){let s=i;await this.removeStaleAccounts(i,s,t)}for(let i=0;i<2;i++){let s=i;await this.migrateIdTokens(i,s,t)}let r=this.getKMSIValues();for(let i=0;i<2;i++)await this.migrateAccessTokens(i,r,t),await this.migrateRefreshTokens(i,r,t);o=yl(this.browserStorage),n=ji(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),r=this.validateAndParseJson(n||"");if(!r)return this.browserStorage.removeItem(t),null;if(!r.lastUpdatedAt)r.lastUpdatedAt=Date.now().toString(),this.setItem(t,JSON.stringify(r),o);else if(oi.isCacheExpired(r.lastUpdatedAt,this.cacheConfig.cacheRetentionDays))return this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null;let i=rb(r)?await this.browserStorage.decryptData(t,r,o):r;return!i||!wn.isCredentialEntity(i)?(this.performanceClient.incrementFields({invalidCacheCount:1},o),null):(wn.isAccessTokenEntity(i)||wn.isRefreshTokenEntity(i))&&i.expiresOn&&oi.isTokenExpired(i.expiresOn,Me.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC)?(this.browserStorage.removeItem(t),this.performanceClient.incrementFields({expiredCacheRemovedCount:1},o),null):i}async removeStaleAccounts(t,o,n){let r=yl(this.browserStorage,t);if(r.length!==0){for(let i of[...r]){this.performanceClient.incrementFields({oldAcntCount:1},n);let s=this.browserStorage.getItem(i),a=this.validateAndParseJson(s||"");if(!a){$c(r,i);continue}if(a.lastUpdatedAt)oi.isCacheExpired(a.lastUpdatedAt,this.cacheConfig.cacheRetentionDays)&&(await this.removeAccountOldSchema(i,a,o,n),$c(r,i));else{a.lastUpdatedAt=Date.now().toString(),this.setItem(i,JSON.stringify(a),n);continue}}this.setAccountKeys(r,n,t)}}async removeAccountOldSchema(t,o,n,r){let s=(rb(o)?await this.browserStorage.decryptData(t,o,r):o)?.homeAccountId;if(s){let a=this.getTokenKeys(n);[...a.idToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),$c(a.idToken,l)}),[...a.accessToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),$c(a.accessToken,l)}),[...a.refreshToken].filter(l=>l.includes(s)).forEach(l=>{this.browserStorage.removeItem(l),$c(a.refreshToken,l)}),this.setTokenKeys(a,r,n)}this.performanceClient.incrementFields({expiredAcntRemovedCount:1},r),this.browserStorage.removeItem(t)}getKMSIValues(){let t={},o=this.getTokenKeys().idToken;for(let n of o){let r=this.browserStorage.getUserData(n);if(r){let i=JSON.parse(r),s=dr.extractTokenClaims(i.secret,Ln);s&&(t[i.homeAccountId]=dr.isKmsi(s))}}return t}async migrateIdTokens(t,o,n){let r=ji(this.clientId,this.browserStorage,t);if(r.idToken.length===0)return;let i=ji(this.clientId,this.browserStorage,2),s=yl(this.browserStorage),a=yl(this.browserStorage,o);for(let l of[...r.idToken]){this.performanceClient.incrementFields({oldITCount:1},n);let c=await this.updateOldEntry(l,n);if(!c){$c(r.idToken,l);continue}let u=s.find(_=>_.includes(c.homeAccountId)),p=a.find(_=>_.includes(c.homeAccountId)),m=null;if(u)m=this.getAccount(u,n);else if(p){let _=this.browserStorage.getItem(p),x=this.validateAndParseJson(_||"");m=x&&rb(x)?await this.browserStorage.decryptData(p,x,n):x}if(!m){this.performanceClient.incrementFields({skipITMigrateCount:1},n);continue}let g=dr.extractTokenClaims(c.secret,Ln),f=this.generateCredentialKey(c),y=this.getIdTokenCredential(f,n),h=Object.keys(g).includes("signin_state"),v=y&&Object.keys(dr.extractTokenClaims(y.secret,Ln)||{}).includes("signin_state");if(!y||c.lastUpdatedAt>y.lastUpdatedAt&&(h||!v)){let _=m.tenantProfiles||[],x=fm(g)||m.realm;if(x&&!_.find(H=>H.tenantId===x)){let H=pl(m.homeAccountId,m.localAccountId,x,g);_.push(H)}m.tenantProfiles=_;let z=this.generateAccountKey(Ss.getAccountInfo(m)),C=dr.isKmsi(g);await this.setUserData(z,JSON.stringify(m),n,m.lastUpdatedAt,C),s.includes(z)||s.push(z),await this.setUserData(f,JSON.stringify(c),n,c.lastUpdatedAt,C),this.performanceClient.incrementFields({migratedITCount:1},n),i.idToken.push(f)}}this.setTokenKeys(r,n,t),this.setTokenKeys(i,n),this.setAccountKeys(s,n)}async migrateAccessTokens(t,o,n){let r=ji(this.clientId,this.browserStorage,t);if(r.accessToken.length===0)return;let i=ji(this.clientId,this.browserStorage,2);for(let s of[...r.accessToken]){this.performanceClient.incrementFields({oldATCount:1},n);let a=await this.updateOldEntry(s,n);if(!a){$c(r.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(!i.accessToken.includes(l))await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedATCount:1},n),i.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(r,n,t),this.setTokenKeys(i,n)}async migrateRefreshTokens(t,o,n){let r=ji(this.clientId,this.browserStorage,t);if(r.refreshToken.length===0)return;let i=ji(this.clientId,this.browserStorage,2);for(let s of[...r.refreshToken]){this.performanceClient.incrementFields({oldRTCount:1},n);let a=await this.updateOldEntry(s,n);if(!a){$c(r.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(!i.refreshToken.includes(l))await this.setUserData(l,JSON.stringify(a),n,a.lastUpdatedAt,c),this.performanceClient.incrementFields({migratedRTCount:1},n),i.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(r,n,t),this.setTokenKeys(i,n)}trackVersionChanges(t){let o=this.browserStorage.getItem(YF);o&&(this.logger.info("1wuc87",t),this.performanceClient.addFields({previousLibraryVersion:o},t)),o!==Oi&&this.setItem(YF,Oi,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 r=new Array(3).fill(0),i=[],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=r.slice(0,l).reduce((p,m)=>p+m,0);if(c>=a)break;let u=a>c+r[l]?c+r[l]:a;a>c&&r[l]>0&&this.removeAccessTokenKeys(i.slice(c,u),n,l)}break}catch(l){let c=Dh(l);if(c.errorCode===qv.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=Dh(u);if(p.errorCode===qv.cacheQuotaExceeded&&c-1?(n.splice(r,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(r=>{r.includes(t.homeAccountId)&&r.includes(t.environment)&&this.browserStorage.removeItem(r)})}removeIdToken(t,o){super.removeIdToken(t,o);let n=this.getTokenKeys(),r=n.idToken.indexOf(t);r>-1&&(this.logger.info("05udv9",o),n.idToken.splice(r,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 r=this.getTokenKeys(n),i=0;if(t.forEach(s=>{let a=r.accessToken.indexOf(s);a>-1&&(r.accessToken.splice(a,1),i++)}),i>0){this.logger.info("15i5d5",o),this.setTokenKeys(r,o,n);return}}removeRefreshToken(t,o){super.removeRefreshToken(t,o);let n=this.getTokenKeys(),r=n.refreshToken.indexOf(t);r>-1&&(this.logger.info("1f4fq3",o),n.refreshToken.splice(r,1),this.setTokenKeys(n,o))}getTokenKeys(t=2){return ji(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(Mc(this.clientId,n));return}else this.setItem(Mc(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 r=this.validateAndParseJson(n);return!r||!wn.isIdTokenEntity(r)?(this.logger.trace("1jukz6",o),null):(this.logger.trace("01ju66",o),r)}async setIdTokenCredential(t,o,n){this.logger.trace("13hjll",o);let r=this.generateCredentialKey(t),i=Date.now().toString();t.lastUpdatedAt=i,await this.setUserData(r,JSON.stringify(t),o,i,n);let s=this.getTokenKeys();s.idToken.indexOf(r)===-1&&(this.logger.info("07jy92",o),s.idToken.push(r),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 r=this.validateAndParseJson(n);return!r||!wn.isAccessTokenEntity(r)?(this.logger.trace("0bqvx8",o),null):(this.logger.trace("1o81rl",o),r)}async setAccessTokenCredential(t,o,n){this.logger.trace("1pondb",o);let r=this.generateCredentialKey(t),i=Date.now().toString();t.lastUpdatedAt=i,await this.setUserData(r,JSON.stringify(t),o,i,n);let s=this.getTokenKeys(),a=s.accessToken.indexOf(r);a!==-1&&s.accessToken.splice(a,1),this.logger.trace("1onhey",o),s.accessToken.push(r),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 r=this.validateAndParseJson(n);return!r||!wn.isRefreshTokenEntity(r)?(this.logger.trace("0jlizt",o),null):(this.logger.trace("0nokxi",o),r)}async setRefreshTokenCredential(t,o,n){this.logger.trace("0tcg8d",o);let r=this.generateCredentialKey(t),i=Date.now().toString();t.lastUpdatedAt=i,await this.setUserData(r,JSON.stringify(t),o,i,n);let s=this.getTokenKeys();s.refreshToken.indexOf(r)===-1&&(this.logger.info("0eckjs",o),s.refreshToken.push(r),this.setTokenKeys(s,o))}getAppMetadata(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("1q101h",o),null;let r=this.validateAndParseJson(n);return!r||!wn.isAppMetadataEntity(t,r)?(this.logger.trace("1q101h",o),null):(this.logger.trace("19pvg2",o),r)}setAppMetadata(t,o){this.logger.trace("0cyma6",o);let n=wn.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 r=this.validateAndParseJson(n);return!r||!wn.isServerTelemetryEntity(t,r)?(this.logger.trace("0jk19c",o),null):(this.logger.trace("12jguk",o),r)}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 r=this.validateAndParseJson(n);return r&&wn.isAuthorityMetadataEntity(t,r)?(this.logger.trace("1ohvk3",o),r):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(o=>this.isAuthorityMetadata(o))}setWrapperMetadata(t,o){this.internalStorage.setItem(ex.WRAPPER_SKU,t),this.internalStorage.setItem(ex.WRAPPER_VER,o)}getWrapperMetadata(){let t=this.internalStorage.getItem(ex.WRAPPER_SKU)||"",o=this.internalStorage.getItem(ex.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(Me.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS),n=this.browserStorage.getItem(o);if(!n)return this.logger.trace("08gw0e",t),null;let r=this.validateAndParseJson(n);return r?(this.logger.trace("1t3ch7",t),this.getAccountInfoFilteredBy({homeAccountId:r.homeAccountId,localAccountId:r.localAccountId,tenantId:r.tenantId},t)):(this.logger.trace("0me1up",t),null)}setActiveAccount(t,o){let n=this.generateCacheKey(Me.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);if(t){this.logger.verbose("0rsj80",o);let r={homeAccountId:t.homeAccountId,localAccountId:t.localAccountId,tenantId:t.tenantId};this.setItem(n,JSON.stringify(r),o)}else this.logger.verbose("1bp5z5",o),this.browserStorage.removeItem(n);this.eventHandler.emitEvent(Je.ACTIVE_ACCOUNT_CHANGED,o)}getThrottlingCache(t,o){let n=this.browserStorage.getItem(t);if(!n)return this.logger.trace("1h4wa6",o),null;let r=this.validateAndParseJson(n);return!r||!wn.isThrottlingEntity(t,r)?(this.logger.trace("1h4wa6",o),null):(this.logger.trace("0of6n8",o),r)}setThrottlingCache(t,o,n){this.logger.trace("0wfgh6",n),this.setItem(t,JSON.stringify(o),n)}getTemporaryCache(t,o,n){let r=n?this.generateCacheKey(t):t,i=this.temporaryCacheStorage.getItem(r);if(!i){if(this.cacheConfig.cacheLocation===In.LocalStorage){let s=this.browserStorage.getItem(r);if(s)return this.logger.trace("1yt61y",o),s}return this.logger.trace("1qhy81",o),null}return i}setTemporaryCache(t,o,n){let r=n?this.generateCacheKey(t):t;this.temporaryCacheStorage.setItem(r,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(tn)!==-1||o.indexOf(this.clientId)!==-1)&&this.removeTemporaryItem(o)}),this.browserStorage.getKeys().forEach(o=>{(o.indexOf(tn)!==-1||o.indexOf(this.clientId)!==-1)&&this.browserStorage.removeItem(o)}),this.internalStorage.clear()}generateCacheKey(t){return No.startsWith(t,tn)?t:`${tn}.${this.clientId}.${t}`}generateCredentialKey(t){let o=t.credentialType===Me.CredentialType.REFRESH_TOKEN&&t.familyId||t.clientId,n=t.tokenType&&t.tokenType.toLowerCase()!==Me.AuthenticationScheme.BEARER.toLowerCase()?t.tokenType.toLowerCase():"";return[`${tn}.${2}`,t.homeAccountId,t.environment,t.credentialType,o,t.realm||"",t.target||"",n].join(QF).toLowerCase()}generateAccountKey(t){let o=t.homeAccountId.split(".")[1];return[`${tn}.${2}`,t.homeAccountId,t.environment,o||t.tenantId||""].join(QF).toLowerCase()}resetRequestCache(t){this.logger.trace("0h0ynu",t),this.removeTemporaryItem(this.generateCacheKey(Co.REQUEST_PARAMS)),this.removeTemporaryItem(this.generateCacheKey(Co.VERIFIER)),this.removeTemporaryItem(this.generateCacheKey(Co.ORIGIN_URI)),this.removeTemporaryItem(this.generateCacheKey(Co.URL_HASH)),this.removeTemporaryItem(this.generateCacheKey(Co.NATIVE_REQUEST)),this.setInteractionInProgress(!1,void 0)}cacheAuthorizeRequest(t,o,n){this.logger.trace("1tzef5",o);let r=ed(JSON.stringify(t));if(this.setTemporaryCache(Co.REQUEST_PARAMS,r,!0),n){let i=ed(n);this.setTemporaryCache(Co.VERIFIER,i,!0)}}getCachedRequest(t){this.logger.trace("0uen20",t);let o=this.getTemporaryCache(Co.REQUEST_PARAMS,t,!0);if(!o)throw ge(pue);let n=this.getTemporaryCache(Co.VERIFIER,t,!0),r,i="";try{r=JSON.parse(Ln(o)),n&&(i=Ln(n))}catch{throw this.logger.errorPii("0ewsey",t),this.logger.error("0tvdic",t),ge(mue)}return[r,i]}getCachedNativeRequest(){this.logger.trace("1yxcdm","");let t=this.getTemporaryCache(Co.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=`${tn}.${Co.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(""),lz(window),null}}setInteractionInProgress(t,o=va.SIGNIN,n=!1,r=""){let i=`${tn}.${Co.INTERACTION_STATUS_KEY}`;if(t){if(this.getInteractionInProgress())if(n)this.logger.warning("1pmscr",r),Hue(this.logger,r),this.removeTemporaryItem(i);else throw ge(nue);this.setTemporaryCache(i,JSON.stringify({clientId:this.clientId,type:o}),!1)}else!t&&this.getInteractionInProgress()?.clientId===this.clientId&&this.removeTemporaryItem(i)}async hydrateCache(t,o){let n=wn.createIdTokenEntity(t.account.homeAccountId,t.account.environment,t.idToken,this.clientId,t.tenantId),r=wn.createAccessTokenEntity(t.account.homeAccountId,t.account.environment,t.accessToken,this.clientId,t.tenantId,t.scopes.join(" "),t.expiresOn?oi.toSecondsFromDate(t.expiresOn):0,t.extExpiresOn?oi.toSecondsFromDate(t.extExpiresOn):0,Ln,void 0,t.tokenType,void 0,o.sshKid);o.resource&&(r.resource=o.resource);let i={idToken:n,accessToken:r};return this.saveCacheRecord(i,t.correlationId,dr.isKmsi(dr.extractTokenClaims(t.idToken,Ln)),St.hydrateCache)}async saveCacheRecord(t,o,n,r,i){try{await super.saveCacheRecord(t,o,n,r,i)}catch(s){if(s instanceof Ku&&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 sde(e,t,o,n){try{switch(t){case In.LocalStorage:return new hz(e,o,n);case In.SessionStorage:return new bz;case In.MemoryStorage:default:break}}catch(r){o.error(r,"")}return new Lc}var ade=(e,t,o,n)=>{let r={cacheLocation:In.MemoryStorage,cacheRetentionDays:5};return new ib(e,r,Wu,t,o,n)};function lde(e,t,o,n,r){return e.verbose("1yd030",n),o?t.getAllAccounts(r,n):[]}function cde(e,t,o,n){t.trace("0u7b90",n);let r=o.getAccountInfoFilteredBy(e,n);return r?(t.verbose("0btgll",n),r):(t.verbose("0ltaj5",n),null)}function ude(e,t,o){t.setActiveAccount(e,o)}function dde(e,t){return e.getActiveAccount(t)}var FMe="msal.broadcast.event",yz=class{constructor(t){this.eventCallbacks=new Map,this.logger=t||new _n({}),typeof BroadcastChannel<"u"&&(this.broadcastChannel=new BroadcastChannel(FMe)),this.invokeCrossTabCallbacks=this.invokeCrossTabCallbacks.bind(this)}addEventCallback(t,o,n){if(typeof window<"u"){let r=n||ix();return this.eventCallbacks.has(r)?(this.logger.error("1578i0",""),null):(this.eventCallbacks.set(r,[t,o||[]]),this.logger.verbose("1cnec4",""),r)}return null}removeEventCallback(t){this.eventCallbacks.delete(t),this.logger.verbose("12zotd","")}emitEvent(t,o,n,r,i){let s={eventType:t,interactionType:n||null,payload:r||null,error:i||null,correlationId:o,timestamp:Date.now()};switch(t){case Je.LOGIN_SUCCESS:case Je.LOGOUT_SUCCESS:case Je.ACTIVE_ACCOUNT_CHANGED:this.broadcastChannel?.postMessage(s)}this.invokeCallbacks(s)}invokeCallbacks(t){this.eventCallbacks.forEach(([o,n],r)=>{(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 sb=class{constructor(t,o,n,r,i,s,a,l,c){this.config=t,this.browserStorage=o,this.browserCrypto=n,this.networkClient=this.config.system.networkClient,this.eventHandler=i,this.navigationClient=s,this.platformAuthProvider=c,this.correlationId=l,this.logger=r.clone(xn.MSAL_SKU,Oi),this.performanceClient=a}};function Sm(e,t,o,n){o.verbose("0bd1la",n);let r=e||t||"";return kt.getAbsoluteUrl(r,Es())}function Bo(e,t,o,n,r,i){r.verbose("1p12tq",o);let s={clientId:t,correlationId:o,apiId:e,forceRefresh:!1,wrapperSKU:n.getWrapperMetadata()[0],wrapperVer:n.getWrapperMetadata()[1]};return new vm(s,n)}async function ii(e,t,o,n,r,i,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=i||e.auth.authority,m=c?.length?c==="true":e.auth.instanceAware,g=l&&m?e.auth.authority.replace(kt.getDomainFromUrl(p),l.environment):p,f=Pc.generateAuthority(g,s||e.auth.azureCloudOptions),y=await V(KA.createDiscoveredInstance,Ice,r,o,t)(f,e.system.networkClient,n,u,r,t,o);if(l&&!y.isAlias(l.environment))throw Pt(ti.authorityMismatch);return y}async function ab(e,t,o,n,r){if(r)try{e.removeAccount(r,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 sx(e,t,o,n,r){let i=e.authority||t.auth.authority,s=[...e&&e.scopes||[]],a={...e,correlationId:e.correlationId,authority:i,scopes:s};if(!a.authenticationScheme)a.authenticationScheme=Me.AuthenticationScheme.BEARER,n.verbose("1l4fwv",r);else{if(a.authenticationScheme===Me.AuthenticationScheme.SSH){if(!e.sshJwk)throw Pt(ti.missingSshJwk);if(!e.sshKid)throw Pt(ti.missingSshKid)}n.verbose("1ecmns",r)}return a}async function pde(e,t,o,n,r){let i=await V(sx,Hh,r,n,e.correlationId)(e,o,n,r,e.correlationId);return{...e,...i,account:t,forceRefresh:e.forceRefresh||!1}}function _z(e,t){let o,n=e.httpMethod;if(t===po.EAR){if(n&&n!==Me.HttpMethod.POST)throw Pt(ti.invalidRequestMethodForEAR);o=Me.HttpMethod.POST}else o=n||Me.HttpMethod.GET;return o}var si=class extends sb{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=kt.getAbsoluteUrl(t.postLogoutRedirectUri,Es())):this.config.auth.postLogoutRedirectUri===null?this.logger.verbose("15m5g7",o.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("1f4xlz",o.correlationId),o.postLogoutRedirectUri=kt.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,Es())):(this.logger.verbose("17s5rf",o.correlationId),o.postLogoutRedirectUri=kt.getAbsoluteUrl(Es(),Es())):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 V(this.getClientConfiguration.bind(this),Ju,this.logger,this.performanceClient,this.correlationId)(t);return new wm(o,this.performanceClient)}async getClientConfiguration(t){let{serverTelemetryManager:o,requestAuthority:n,requestAzureCloudOptions:r,requestExtraQueryParameters:i,account:s}=t,a=t.authority||await V(ii,ya,this.logger,this.performanceClient,this.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,r,i,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:xn.MSAL_SKU,version:Oi,cpu:"",os:""},telemetry:this.config.telemetry}}};async function nd(e,t,o,n,r,i,s,a){let l=Sm(e.redirectUri,o.auth.redirectUri,i,a);new URL(l).origin!==new URL(window.location.href).origin&&(i.warning("08qbvw",a),s.addFields({isRedirectUriCrossOrigin:!0},a));let c={interactionType:t},u=ha.setRequestState(n,e&&e.state||"",c),m={...await V(sx,Hh,i,s,a)({...e,correlationId:a},o,s,i,a),redirectUri:l,state:u,nonce:e.nonce||Ni(),responseMode:o.auth.OIDCOptions.responseMode},g={...m,httpMethod:_z(m,o.system.protocolMode)};if(e.loginHint||e.sid)return g;let f=e.account||r.getActiveAccount(a);return f&&(i.verbose("1eqlb3",a),i.verbosePii("0tf99t",a),g.account=f),g}function mde(e,t){if(!t)return null;try{return ha.parseRequestState(e.base64Decode,t).libraryState.meta}catch{throw te(bn.invalidState)}}function Cm(e,t,o,n){let r=ks.getDeserializedResponse(e);if(!r)throw ks.stripLeadingHashOrQuery(e)?(o.error("13pl0s",n),o.errorPii("1097vx",n),ge(tue)):(o.error("18h0l1",n),ge(eue));return r}function gde(e,t,o){if(!e.state)throw ge(Kh);let n=mde(t,e.state);if(!n)throw ge(ez);if(n.interactionType!==o)throw ge(oue)}var lb=class{constructor(t,o,n,r,i){this.authModule=t,this.browserStorage=o,this.authCodeRequest=n,this.logger=r,this.performanceClient=i}async handleCodeResponse(t,o,n){let r;try{r=fl.getAuthorizationCodePayload(t,o.state)}catch(i){throw i instanceof ri&&i.subError===ox?ge(ox):i}return V(this.handleCodeResponseFromServer.bind(this),vn.HandleCodeResponseFromServer,this.logger,this.performanceClient,o.correlationId)(r,o,n)}async handleCodeResponseFromServer(t,o,n,r=!0){if(this.logger.trace("0mf2hb",o.correlationId),this.authCodeRequest.code=t.code,r&&(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 V(this.authModule.acquireToken.bind(this.authModule),Pce,this.logger,this.performanceClient,o.correlationId)(this.authCodeRequest,n,t)}createCcsCredentials(t){return t.account?{credential:t.account.homeAccountId,type:pr.HOME_ACCOUNT_ID}:t.loginHint?{credential:t.loginHint,type:pr.UPN}:null}};var fde="ContentError",hde="PageException",bde="user_switch";var yde="USER_INTERACTION_REQUIRED",_de="USER_CANCEL",wde="NO_NETWORK",vde="PERSISTENT_ERROR",xde="DISABLED",Tde="ACCOUNT_UNAVAILABLE",kde="UX_NOT_ALLOWED";var UMe=-2147186943,As=class e extends rt{constructor(t,o,n){super(t,o||Wh(t)),Object.setPrototypeOf(this,e.prototype),this.name="NativeAuthError",this.ext=n}};function rd(e){if(e.ext&&e.ext.status&&(e.ext.status===vde||e.ext.status===xde)||e.ext&&e.ext.error&&e.ext.error===UMe)return!0;switch(e.errorCode){case fde:case hde:return!0;default:return!1}}function Em(e,t,o){if(o&&o.status)switch(o.status){case Tde:return ym(gl.nativeAccountUnavailable,Wh(e));case yde:return new So(e,t);case _de:return ge(ox);case wde:return ge(nx);case kde:return ym(gl.uxNotAllowed)}return new As(e,t,o)}var cb=class extends si{async acquireToken(t){let o=Bo(St.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),n=await V(this.getClientConfiguration.bind(this),Ju,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:o,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,account:t.account}),r=new Zv(n,this.performanceClient);this.logger.verbose("0wa871",this.correlationId);try{let s=(await V(r.acquireCachedToken.bind(r),Ece,this.logger,this.performanceClient,t.correlationId)(t))[0];return this.performanceClient.addFields({fromCache:!0},t.correlationId),s}catch(i){throw i instanceof Tm&&i.errorCode===oz&&this.logger.verbose("06wena",this.correlationId),i}}logout(t){this.logger.verbose("1rkurh",this.correlationId);let o=this.initializeLogoutRequest(t);return ab(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,o.account)}};var id=class extends sb{constructor(t,o,n,r,i,s,a,l,c,u,p,m){super(t,o,n,r,i,s,l,m,c),this.apiId=a,this.accountId=u,this.platformAuthProvider=c,this.nativeStorageManager=p,this.silentCacheClient=new cb(t,this.nativeStorageManager,n,r,i,s,l,m,c);let g=this.platformAuthProvider.getExtensionName();this.skus=vm.makeExtraSkuString({libraryName:xn.MSAL_SKU,libraryVersion:Oi,extensionName:g,extensionVersion:this.platformAuthProvider.getExtensionVersion()})}addRequestSKUs(t){t.extraParameters={...t.extraParameters,[xc.X_CLIENT_EXTRA_SKU]:this.skus}}async acquireToken(t,o){this.logger.trace("03qeos",this.correlationId);let n=this.performanceClient.startMeasurement(ZA,t.correlationId),r=oi.nowSeconds(),i=Bo(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===Yn.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,r).then(l=>(n.end({success:!0,isNativeBroker:!0,requestId:l.requestId}),i.clearNativeBrokerErrorCode(),l)).catch(l=>{throw n.end({success:!1,errorCode:l.errorCode,subErrorCode:l.subError,isNativeBroker:!0}),l})}catch(s){throw s instanceof As&&i.setNativeBrokerErrorCode(s.errorCode),s}}createSilentCacheRequest(t,o){return{authority:t.authority,correlationId:this.correlationId,scopes:yn.fromString(t.scope).asArray(),account:o,forceRefresh:!1}}async acquireTokensFromCache(t,o){if(!t)throw this.logger.warning("1ndf3e",this.correlationId),te(bn.noAccountFound);let n=this.browserStorage.getBaseAccountInfo({nativeAccountId:t},o.correlationId);if(!n)throw te(bn.noAccountFound);try{let r=this.createSilentCacheRequest(o,n),i=await this.silentCacheClient.acquireToken(r),s={...n,idTokenClaims:i?.idTokenClaims,idToken:i?.idToken};return{...i,account:s}}catch(r){throw r}}async acquireTokenRedirect(t,o,n){this.logger.trace("0luikq",this.correlationId);let r=await this.initializeNativeRequest(t),i=n?.navigateToLoginRequestUrl??!0;try{await this.platformAuthProvider.sendMessage(r)}catch(l){if(l instanceof As&&(Bo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger).setNativeBrokerErrorCode(l.errorCode),rd(l)))throw l}this.browserStorage.setTemporaryCache(Co.NATIVE_REQUEST,JSON.stringify(r),!0);let s={apiId:St.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},a=i?window.location.href:Sm(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:r,...i}=n;r&&this.logger.verbose("0ac34v",this.correlationId),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Co.NATIVE_REQUEST));let s=oi.nowSeconds();try{this.logger.verbose("003x5a",this.correlationId);let a=await this.platformAuthProvider.sendMessage(i),l=await this.handleNativeResponse(a,i,s);return Bo(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 r=dr.extractTokenClaims(t.id_token,Ln),i=this.createHomeAccountIdentifier(t,r),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(i!==s&&t.account.id!==o.accountId)throw Em(bde);let a=await ii(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o.authority),l=BA(this.browserStorage,a,i,Ln,this.correlationId,r,t.client_info,a.getPreferredCache(),r.tid,void 0,t.account.id,this.logger,this.performanceClient);t.expires_in=Number(t.expires_in);let c=await this.generateAuthenticationResult(t,o,r,l,a.canonicalAuthority,n);return await this.cacheAccount(l,dr.isKmsi(r)),await this.cacheNativeTokens(t,o,i,r,t.access_token,c.tenantId,n),c}createHomeAccountIdentifier(t,o){return Ss.generateHomeAccountId(t.client_info||"",Sr.Default,this.logger,this.browserCrypto,this.correlationId,o)}generateScopes(t,o){return o?yn.fromString(o):yn.fromString(t)}async generatePopAccessToken(t,o){if(o.tokenType===Me.AuthenticationScheme.POP&&o.signPopToken){if(t.shr)return this.logger.trace("0coqhu",this.correlationId),t.shr;let n=new ni(this.browserCrypto,this.performanceClient),r={resourceRequestMethod:o.resourceRequestMethod,resourceRequestUri:o.resourceRequestUri,shrClaims:o.shrClaims,shrNonce:o.shrNonce,correlationId:this.correlationId};if(!o.keyId)throw te(bn.keyIdMissing);return n.signPopToken(t.access_token,o.keyId,r)}else return t.access_token}async generateAuthenticationResult(t,o,n,r,i,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=gm(Ss.getAccountInfo(r),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===Me.AuthenticationScheme.POP?Me.AuthenticationScheme.POP:Me.AuthenticationScheme.BEARER;return{authority:i,uniqueId:u,tenantId:p,scopes:l.asArray(),account:m,idToken:t.id_token,idTokenClaims:n,accessToken:g,fromCache:a?this.isResponseFromCache(a):!1,expiresOn:oi.toDateFromSeconds(s+t.expires_in),tokenType:f,correlationId:this.correlationId,state:t.state,fromPlatformBroker:!0,...o.resource&&{resource:o.resource}}}async cacheAccount(t,o){await this.browserStorage.setAccount(t,this.correlationId,o,this.apiId),this.browserStorage.removeAccountContext(Ss.getAccountInfo(t),this.correlationId)}cacheNativeTokens(t,o,n,r,i,s,a){let l=wn.createIdTokenEntity(n,o.authority,t.id_token||"",o.clientId,r.tid||""),c=o.tokenType===Me.AuthenticationScheme.POP?Me.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=wn.createAccessTokenEntity(n,o.authority,i,o.clientId,r.tid||s,p.printScopes(),u,0,Ln,void 0,o.tokenType,void 0,o.keyId),g={idToken:l,accessToken:m};return this.nativeStorageManager.saveCacheRecord(g,this.correlationId,dr.isKmsi(r),this.apiId,o.storeInCache)}getExpiresInValue(t,o){return t===Me.AuthenticationScheme.POP?Me.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,...r}=t,i=new yn(n||[]);i.appendScopes(Me.OIDC_DEFAULT_SCOPES);let s={...r,accountId:this.accountId,clientId:this.config.auth.clientId,authority:o.urlString,scope:i.printScopes(),redirectUri:Sm(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 ge(kue);if(this.handleExtraBrokerParams(s),s.extraParameters=s.extraParameters||{},s.extraParameters.telemetry=Cr.MATS_TELEMETRY,t.authenticationScheme===Me.AuthenticationScheme.POP){let a={resourceRequestUri:t.resourceRequestUri,resourceRequestMethod:t.resourceRequestMethod,shrClaims:t.shrClaims,shrNonce:t.shrNonce,correlationId:this.correlationId},l=new ni(this.browserCrypto,this.performanceClient),c;if(s.keyId)c=this.browserCrypto.base64UrlEncode(JSON.stringify({kid:s.keyId})),s.signPopToken=!1;else{let u=await V(l.generateCnf.bind(l),vn.PopTokenGenerateCnf,this.logger,this.performanceClient,this.correlationId)(a,this.logger);c=u.reqCnfString,s.keyId=u.kid,s.signPopToken=!0}s.reqCnf=c}return this.addRequestSKUs(s),s}async getCanonicalAuthority(t){let o=t.authority||this.config.auth.authority,{azureCloudOptions:n,account:r}=t;r&&await ii(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,o,n,void 0,r);let i=new kt(o);return i.validateAsUri(),i}getPrompt(t){switch(this.apiId){case St.ssoSilent:case St.acquireTokenSilent_silentFlow:return this.logger.trace("1hiwaz",this.correlationId),Me.PromptValue.NONE}if(!t){this.logger.trace("1qlu04",this.correlationId);return}switch(t){case Me.PromptValue.NONE:case Me.PromptValue.CONSENT:case Me.PromptValue.LOGIN:return this.logger.trace("1ynje4",this.correlationId),t;default:throw this.logger.trace("0nkr6q",this.correlationId),ge(xue)}}handleExtraBrokerParams(t){let o=t.extraParameters&&t.extraParameters.hasOwnProperty(xc.BROKER_CLIENT_ID)&&t.extraParameters.hasOwnProperty(xc.BROKER_REDIRECT_URI)&&t.extraParameters.hasOwnProperty(xc.CLIENT_ID);if(!t.embeddedClientId&&!o)return;let n="",r=t.redirectUri;t.embeddedClientId?(t.redirectUri=this.config.auth.redirectUri,n=t.embeddedClientId):t.extraParameters&&(t.redirectUri=t.extraParameters[xc.BROKER_REDIRECT_URI],n=t.extraParameters[xc.CLIENT_ID]),t.extraParameters={child_client_id:n,child_redirect_uri:r},this.performanceClient?.addFields({embeddedClientId:n,embeddedRedirectUri:r},t.correlationId)}};var qMe=new Map([["e","AAD"],["m","MSA"]]);function HMe(e){if(!e)return null;try{let n=(/%(?:[0-9A-Fa-f]{2})/.test(e)?decodeURIComponent(e):e).split("|");return n.length<5?null:{accountType:qMe.get(n[0]?.trim()||"")||"",error:n[1]?.trim()||"",subError:n[2]?.trim()||"",cloudInstance:n[3]?.trim()||"",callerDataBoundary:n[4]?.trim()||""}}catch{return null}}function Sde(e,t,o){let n=HMe(e.clientdata);n?.accountType&&o.addFields({accountType:n.accountType},t),n?.error&&o.addFields({serverErrorNo:n.error},t),n?.subError&&o.addFields({serverSubErrorNo:n.subError},t)}async function ZF(e,t,o,n,r){let i=fl.getStandardAuthorizeRequestParameters({...e.auth,authority:t},o,n,r);if(yo.addLibraryInfo(i,{sku:xn.MSAL_SKU,version:Oi,os:"",cpu:""}),e.system.protocolMode!==po.OIDC&&yo.addApplicationTelemetry(i,e.telemetry.application),o.platformBroker&&(yo.addNativeBroker(i),o.authenticationScheme===Me.AuthenticationScheme.POP)){let s=new bl(n,r),a=new ni(s,r),l;o.popKid?l=s.encodeKid(o.popKid):l=(await V(a.generateCnf.bind(a),vn.PopTokenGenerateCnf,n,r,o.correlationId)(o,n)).reqCnfString,yo.addPopToken(i,l)}return yo.instrumentBrokerParams(i,o.correlationId,r),i}async function ub(e,t,o,n,r){if(!o.codeChallenge)throw Pt(ti.pkceParamsMissing);let i=await V(ZF,Ace,n,r,o.correlationId)(e,t,o,n,r);return yo.addResponseType(i,Me.OAuthResponseType.CODE),yo.addCodeChallengeParams(i,o.codeChallenge,Me.S256_CODE_CHALLENGE_METHOD),yo.addExtraParameters(i,{...o.extraQueryParameters,...o.extraParameters}),fl.getAuthorizeUrl(t,i)}async function db(e,t,o,n,r,i){if(!n.earJwk)throw ge(LF);let s=await ZF(t,o,n,r,i);yo.addResponseType(s,Me.OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN),yo.addEARParameters(s,n.earJwk),yo.addCodeChallengeParams(s,n.codeChallenge,Me.S256_CODE_CHALLENGE_METHOD),yo.addExtraParameters(s,{...n.extraParameters});let a=new Map;yo.addExtraParameters(a,n.extraQueryParameters||{}),yo.addCorrelationId(a,n.correlationId);let l=fl.getAuthorizeUrl(o,a);return Cde(e,l,s)}async function pb(e,t,o,n,r,i){let s=await ZF(t,o,n,r,i);yo.addResponseType(s,Me.OAuthResponseType.CODE),yo.addCodeChallengeParams(s,n.codeChallenge,n.codeChallengeMethod||Me.S256_CODE_CHALLENGE_METHOD),yo.addExtraParameters(s,{...n.extraParameters});let a=new Map;yo.addExtraParameters(a,n.extraQueryParameters||{}),yo.addCorrelationId(a,n.correlationId);let l=fl.getAuthorizeUrl(o,a);return Cde(e,l,s)}function Cde(e,t,o){let n=e.createElement("form");return n.method="post",n.action=t,o.forEach((r,i)=>{let s=e.createElement("input");s.hidden=!0,s.name=i,s.value=r,n.appendChild(s)}),e.body.appendChild(n),n}async function Ede(e,t,o,n,r,i,s,a,l,c){if(a.verbose("11qcow",e.correlationId),!c)throw ge(rz);let u=new bl(a,l),p=new id(n,r,u,a,s,n.system.navigationClient,o,l,c,t,i,e.correlationId),{userRequestState:m}=ha.parseRequestState(u.base64Decode,e.state);return V(p.acquireToken.bind(p),ZA,a,l,e.correlationId)({...e,state:m,prompt:void 0})}async function Dc(e,t,o,n,r,i,s,a,l,c,u,p){if(zc.removeThrottle(s,r.auth.clientId,e),Sde(t,e.correlationId,u),t.accountId)return V(Ede,kF,c,u,e.correlationId)(e,t.accountId,n,r,s,a,l,c,u,p);let m={...e,code:t.code||"",codeVerifier:o},g=new lb(i,s,m,c,u);return await V(g.handleCodeResponse.bind(g),zce,c,u,e.correlationId)(t,e,n)}async function mb(e,t,o,n,r,i,s,a,l,c,u){if(zc.removeThrottle(i,n.auth.clientId,e),Sde(t,e.correlationId,c),fl.validateAuthorizationResponse(t,e.state),!t.ear_jwe)throw ge(Xce);if(!e.earJwk)throw ge(LF);let p=JSON.parse(await V(Nue,Gce,l,c,e.correlationId)(e.earJwk,t.ear_jwe));if(p.accountId)return V(Ede,kF,l,c,e.correlationId)(e,p.accountId,o,n,i,s,a,l,c,u);let m=new ba(n.auth.clientId,i,new bl(l,c),l,c,null,null);m.validateTokenResponse(p,e.correlationId);let g={code:"",state:e.state,nonce:e.nonce,client_info:p.client_info,cloud_graph_host_name:p.cloud_graph_host_name,cloud_instance_host_name:p.cloud_instance_host_name,cloud_instance_name:p.cloud_instance_name,msgraph_host:p.msgraph_host};return await V(m.handleServerTokenResponse.bind(m),vn.HandleServerTokenResponse,l,c,e.correlationId)(p,r,oi.nowSeconds(),e,o,g,void 0,void 0,void 0,void 0)}var BMe=32;async function xa(e,t,o){let n=en(GMe,Nce,t,e,o)(e,t,o),r=await V(VMe,jce,t,e,o)(n,e,t,o);return{verifier:n,challenge:r}}function GMe(e,t,o){try{let n=new Uint8Array(BMe);return en(Rue,Fce,t,e,o)(n),Cs(n)}catch{throw ge(IF)}}async function VMe(e,t,o,n){try{let r=await V(FF,Oce,o,t,n)(e);return Cs(new Uint8Array(r))}catch{throw ge(IF)}}var wz=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,r)=>{setTimeout(()=>{r(ge(km,"failed_to_redirect"))},o.timeout)})}};var vz=class{async sendGetRequestAsync(t,o){let n,r={},i=0,s=Ade(o);try{n=await fetch(t,{method:AF.GET,headers:s})}catch(a){throw _m(ge(window.navigator.onLine?fue:nx),void 0,void 0,a)}r=zde(n.headers);try{return i=n.status,{headers:r,body:await n.json(),status:i}}catch(a){throw _m(ge(MF),i,r,a)}}async sendPostRequestAsync(t,o){let n=o&&o.body||"",r=Ade(o),i,s=0,a={};try{i=await fetch(t,{method:AF.POST,headers:r,body:n})}catch(l){throw _m(ge(window.navigator.onLine?gue:nx),void 0,void 0,l)}a=zde(i.headers);try{return s=i.status,{headers:a,body:await i.json(),status:s}}catch(l){throw _m(ge(MF),s,a,l)}}};function Ade(e){try{let t=new Headers;if(!(e&&e.headers))return t;let o=e.headers;return Object.entries(o).forEach(([n,r])=>{t.append(n,r)}),t}catch(t){throw _m(ge(Sue),void 0,void 0,t)}}function zde(e){try{let t={};return e.forEach((o,n)=>{t[n]=o}),t}catch{throw ge(Cue)}}var WMe=6e4,QMe=1e4,YMe=3e4,JF=2e3;function Pde({auth:e,cache:t,system:o,experimental:n,telemetry:r},i){let s={clientId:"",authority:`${Me.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:"",authorityMetadata:"",redirectUri:typeof window<"u"&&window.location?window.location.href.split("?")[0].split("#")[0]:"",postLogoutRedirectUri:"",clientCapabilities:[],OIDCOptions:{responseMode:Me.ResponseMode.FRAGMENT,defaultScopes:[Me.OPENID_SCOPE,Me.PROFILE_SCOPE,Me.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:Yu.None,tenant:""},instanceAware:!1,isMcp:!1},a={cacheLocation:In.SessionStorage,cacheRetentionDays:5},l={loggerCallback:()=>{},logLevel:Mt.Info,piiLoggingEnabled:!1},u={...{...MA,loggerOptions:l,networkClient:i?new vz:_F,navigationClient:new wz,popupBridgeTimeout:o?.popupBridgeTimeout||WMe,iframeBridgeTimeout:o?.iframeBridgeTimeout||QMe,redirectNavigationTimeout:YMe,allowRedirectInIframe:!1,navigatePopups:!0,allowPlatformBroker:!1,nativeBrokerHandshakeTimeout:o?.nativeBrokerHandshakeTimeout||JF,protocolMode:po.AAD},...o,loggerOptions:o?.loggerOptions||l},p={application:{appName:"",appVersion:""},client:new Ec},m={iframeTimeoutTelemetry:!1};if(o?.protocolMode!==po.OIDC&&e?.OIDCOptions&&new _n(u.loggerOptions).warning(JSON.stringify(Pt(ti.cannotSetOIDCOptions)),""),o?.protocolMode&&o.protocolMode===po.OIDC&&u?.allowPlatformBroker)throw Pt(ti.cannotAllowPlatformBroker);return{auth:{...s,...e,OIDCOptions:{...s.OIDCOptions,...e?.OIDCOptions}},cache:{...a,...t},system:u,experimental:{...m,...n},telemetry:{...p,...r}}}var xz=class e{constructor(t,o,n,r){this.logger=t,this.handshakeTimeoutMs=o,this.extensionId=r,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($ce),this.platformAuthType=Cr.PLATFORM_EXTENSION_PROVIDER}async sendMessage(t){this.logger.trace("0on4p2",t.correlationId);let o={method:Qh.GetToken,request:t},n={channel:Cr.CHANNEL_ID,extensionId:this.extensionId,responseId:Ni(),body:o};this.logger.trace("1qadfi",t.correlationId),this.logger.tracePii("1xm533",t.correlationId),this.messageChannel.port1.postMessage(n);let r=await new Promise((s,a)=>{this.resolvers.set(n.responseId,{resolve:s,reject:a})});return this.validatePlatformBrokerResponse(r)}static async createProvider(t,o,n,r){t.trace("15zfnw",r);try{let i=new e(t,o,n,Cr.PREFERRED_EXTENSION_ID);return await i.sendHandshakeRequest(r),i}catch{let s=new e(t,o,n);return await s.sendHandshakeRequest(r),s}}async sendHandshakeRequest(t){this.logger.trace("1dpg9o",t),window.addEventListener("message",this.windowListener,!1);let o={channel:Cr.CHANNEL_ID,extensionId:this.extensionId,responseId:Ni(),body:{method:Qh.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,r)=>{this.handshakeResolvers.set(o.responseId,{resolve:n,reject:r}),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}),r(ge(wue)),this.handshakeResolvers.delete(o.responseId)},this.handshakeTimeoutMs)})}onWindowMessage(t){let o=ix();if(this.logger.trace("0jpn5u",o),t.source!==window)return;let n=t.data;if(!(!n.channel||n.channel!==Cr.CHANNEL_ID)&&!(n.extensionId&&n.extensionId!==this.extensionId)&&n.body.method===Qh.HandshakeRequest){let r=this.handshakeResolvers.get(n.responseId);if(!r){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}),r.reject(ge(vue))}}onChannelMessage(t){let o=ix();this.logger.trace("1py8yf",o);let n=t.data,r=this.resolvers.get(n.responseId),i=this.handshakeResolvers.get(n.responseId);try{let s=n.body.method;if(s===Qh.Response){if(!r)return;let a=n.body.response;if(this.logger.trace("19hpgm",o),this.logger.tracePii("179a24",o),a.status!=="Success")r.reject(Em(a.code,a.description,a.ext));else if(a.result)a.result.code&&a.result.description?r.reject(Em(a.result.code,a.result.description,a.result.ext)):r.resolve(a.result);else throw Lh(Zu.unexpectedError,"Event does not contain result.");this.resolvers.delete(n.responseId)}else if(s===Qh.HandshakeResponse){if(!i){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}),i.resolve(),this.handshakeResolvers.delete(n.responseId)}}catch(s){this.logger.error("0xf978",o),this.logger.errorPii("04i99o",o),this.logger.errorPii("0xdvsy",o),r?r.reject(s):i&&i.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 Lh(Zu.unexpectedError,"Response missing expected properties.")}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}getExtensionName(){return this.getExtensionId()===Cr.PREFERRED_EXTENSION_ID?"chrome":this.getExtensionId()?.length?"unknown":void 0}};var Tz=class e{constructor(t,o,n){this.logger=t,this.performanceClient=o,this.correlationId=n,this.platformAuthType=Cr.PLATFORM_DOM_PROVIDER}static async createProvider(t,o,n){if(t.trace("12mj4a",n),window.navigator?.platformAuthentication&&(await window.navigator.platformAuthentication.getSupportedContracts(Cr.MICROSOFT_ENTRA_BROKERID))?.includes(Cr.PLATFORM_DOM_APIS))return t.trace("1h5q1r",n),new e(t,o,n)}getExtensionId(){return Cr.MICROSOFT_ENTRA_BROKERID}getExtensionVersion(){return""}getExtensionName(){return Cr.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:r,scope:i,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:r,clientId:n,correlationId:a||this.correlationId,extraParameters:{...p,...g},isSecurityTokenService:!1,redirectUri:s,scope:i,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),Em(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 Lh(Zu.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[r,i]of Object.entries(t))i&&(typeof i=="object"?n[r]=JSON.stringify(i):n[r]=String(i));return n}catch{return this.logger.error("0eu9o3",o),this.logger.errorPii("17rpl5",o),{}}}};async function Ide(e,t,o,n){e.trace("134j0v",o);let r=KMe();e.trace("04c81g",o);let i;try{r&&(i=await Tz.createProvider(e,t,o)),i||(e.trace("0l3na8",o),i=await xz.createProvider(e,n||JF,t,o))}catch(s){e.trace("0icbd7",s)}return i}function KMe(){let e;try{return e=window[In.SessionStorage],e?.getItem(nde)==="true"}catch{return!1}}function Nc(e,t,o,n,r){if(t.trace("0uko3r",o),!e.system.allowPlatformBroker)return t.trace("04hozs",o),!1;if(!n)return t.trace("0kvv1r",o),!1;if(r)switch(r){case Me.AuthenticationScheme.BEARER:case Me.AuthenticationScheme.POP:return t.trace("18tev1",o),!0;default:return t.trace("1dd2nh",o),!1}return!0}var kz=class extends si{constructor(t,o,n,r,i,s,a,l,c,u){super(t,o,n,r,i,s,a,c,u),this.nativeStorage=l,this.eventHandler=i}acquireToken(t,o){let n;try{if(n={popupName:this.generatePopupName(t.scopes||Me.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 i={...t,httpMethod:_z(t,this.config.system.protocolMode)};return this.logger.verbose("1f9ok3",this.correlationId),n.popup=this.openSizedPopup("about:blank",n),this.acquireTokenPopupAsync(i,n,o)}else return this.logger.verbose("162h4u",this.correlationId),this.acquireTokenPopupAsync(t,n,o)}catch(r){return Promise.reject(r)}}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},r=t&&t.authority,i=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,r,i)):(this.logger.verbose("1phd8u",this.correlationId),this.logoutPopupAsync(o,n,r,i))}catch(o){return Promise.reject(o)}}async acquireTokenPopupAsync(t,o,n){this.logger.verbose("1g77pg",this.correlationId);let r=await V(nd,Xu,this.logger,this.performanceClient,this.correlationId)(t,Qe.Popup,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.popup&&uz(r.authority);let i=Nc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);return r.platformBroker=i,this.config.system.protocolMode===po.EAR?this.executeEarFlow(r,o,n):this.executeCodeFlow(r,o,n)}async executeCodeFlow(t,o,n){let r=t.correlationId,i=Bo(St.acquireTokenPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=n||await V(xa,wa,this.logger,this.performanceClient,r)(this.performanceClient,this.logger,r),a={...t,codeChallenge:s.challenge};try{let l=await V(this.createAuthCodeClient.bind(this),_a,this.logger,this.performanceClient,r)({serverTelemetryManager:i,requestAuthority:a.authority,requestAzureCloudOptions:a.azureCloudOptions,requestExtraQueryParameters:a.extraQueryParameters,account:a.account});if(a.httpMethod===Me.HttpMethod.POST)return await this.executeCodeFlowWithPost(a,o,l,s.verifier);{let c=await V(ub,vn.GetAuthCodeUrl,this.logger,this.performanceClient,r)(this.config,l.authority,a,this.logger,this.performanceClient),u=this.initiateAuthRequest(c,o);this.eventHandler.emitEvent(Je.POPUP_OPENED,r,Qe.Popup,{popupWindow:u},null);let p=await od(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),m=en(Cm,xm,this.logger,this.performanceClient,this.correlationId)(p,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return await V(Dc,Ic,this.logger,this.performanceClient,r)(t,m,s.verifier,St.acquireTokenPopup,this.config,l,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}}catch(l){throw o.popup?.close(),l instanceof rt&&(l.setCorrelationId(this.correlationId),i.cacheFailedRequest(l)),l}}async executeEarFlow(t,o,n){let{correlationId:r,authority:i,azureCloudOptions:s,extraQueryParameters:a,account:l}=t,c=await V(ii,ya,this.logger,this.performanceClient,r)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,i,s,a,l),u=await V(tb,Vh,this.logger,this.performanceClient,r)(),p=n||await V(xa,wa,this.logger,this.performanceClient,r)(this.performanceClient,this.logger,r),m={...t,earJwk:u,codeChallenge:p.challenge},g=o.popup||this.openPopup("about:blank",o);(await db(g.document,this.config,c,m,this.logger,this.performanceClient)).submit();let y=await V(od,Bh,this.logger,this.performanceClient,r)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,m,this.performanceClient),h=en(Cm,xm,this.logger,this.performanceClient,this.correlationId)(y,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);if(!h.ear_jwe&&h.code){let v=await V(this.createAuthCodeClient.bind(this),_a,this.logger,this.performanceClient,r)({serverTelemetryManager:Bo(St.acquireTokenPopup,this.config.auth.clientId,r,this.browserStorage,this.logger),requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account,authority:c});return V(Dc,Ic,this.logger,this.performanceClient,r)(m,h,p.verifier,St.acquireTokenPopup,this.config,v,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return V(mb,Gh,this.logger,this.performanceClient,r)(m,h,St.acquireTokenPopup,this.config,c,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async executeCodeFlowWithPost(t,o,n,r){let i=t.correlationId,s=await V(ii,ya,this.logger,this.performanceClient,i)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger),a=o.popup||this.openPopup("about:blank",o);(await pb(a.document,this.config,s,t,this.logger,this.performanceClient)).submit();let c=await V(od,Bh,this.logger,this.performanceClient,i)(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient),u=en(Cm,xm,this.logger,this.performanceClient,this.correlationId)(c,this.config.auth.OIDCOptions.responseMode,this.logger,this.correlationId);return V(Dc,Ic,this.logger,this.performanceClient,i)(t,u,r,St.acquireTokenPopup,this.config,n,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async logoutPopupAsync(t,o,n,r){this.logger.verbose("0b7yrk",this.correlationId),this.eventHandler.emitEvent(Je.LOGOUT_START,this.correlationId,Qe.Popup,t);let i=Bo(St.logoutPopup,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{await ab(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,t.account);let s=await V(this.createAuthCodeClient.bind(this),_a,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:i,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(Je.LOGOUT_SUCCESS,t.correlationId,Qe.Popup,t),r){let c={apiId:St.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=kt.getAbsoluteUrl(r,Es());await this.navigationClient.navigateInternal(u,c)}o.popup?.close();return}}let a=s.getLogoutUri(t);this.eventHandler.emitEvent(Je.LOGOUT_SUCCESS,t.correlationId,Qe.Popup,t);let l=this.openPopup(a,o);if(this.eventHandler.emitEvent(Je.POPUP_OPENED,t.correlationId,Qe.Popup,{popupWindow:l},null),await od(this.config.system.popupBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient).catch(()=>{}),r){let c={apiId:St.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},u=kt.getAbsoluteUrl(r,Es());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),i.cacheFailedRequest(s)),this.eventHandler.emitEvent(Je.LOGOUT_FAILURE,this.correlationId,Qe.Popup,null,s),this.eventHandler.emitEvent(Je.LOGOUT_END,this.correlationId,Qe.Popup),s}this.eventHandler.emitEvent(Je.LOGOUT_END,this.correlationId,Qe.Popup)}initiateAuthRequest(t,o){if(t)return this.logger.infoPii("1kcr9k",this.correlationId),this.openPopup(t,o);throw this.logger.error("1l7hyp",this.correlationId),ge(Yh)}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 ge(sue);return n.focus&&n.focus(),this.currentWindow=n,n}catch{throw this.logger.error("0dxfb9",this.correlationId),ge(iue)}}openSizedPopup(t,{popupName:o,popupWindowAttributes:n,popupWindowParent:r}){let i=r.screenLeft?r.screenLeft:r.screenX,s=r.screenTop?r.screenTop:r.screenY,a=r.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,l=r.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=xn.POPUP_WIDTH),(!u||u<0||u>l)&&(this.logger.verbose("09cxa0",this.correlationId),u=xn.POPUP_HEIGHT),(!p||p<0||p>l)&&(this.logger.verbose("1qh4wo",this.correlationId),p=Math.max(0,l/2-xn.POPUP_HEIGHT/2+s)),(!m||m<0||m>a)&&(this.logger.verbose("1sz3en",this.correlationId),m=Math.max(0,a/2-xn.POPUP_WIDTH/2+i)),r.open(t,o,`width=${c}, height=${u}, top=${p}, left=${m}, scrollbars=yes`)}generatePopupName(t,o){return`${xn.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${t.join("-")}.${o}.${this.correlationId}`}generateLogoutPopupName(t){let o=t.account&&t.account.homeAccountId;return`${xn.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${o}.${this.correlationId}`}};function ZMe(){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 Sz=class extends si{constructor(t,o,n,r,i,s,a,l,c,u){super(t,o,n,r,i,s,a,c,u),this.nativeStorage=l}async acquireToken(t){let o=await V(nd,Xu,this.logger,this.performanceClient,this.correlationId)(t,Qe.Redirect,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);o.platformBroker=Nc(this.config,this.logger,this.correlationId,this.platformAuthProvider,t.authenticationScheme);let n=i=>{i.persisted&&(this.logger.verbose("0udvtt",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),this.eventHandler.emitEvent(Je.RESTORE_FROM_BFCACHE,this.correlationId,Qe.Redirect))},r=this.getRedirectStartPage(t.redirectStartPage);this.logger.verbosePii("0zao0a",this.correlationId),this.browserStorage.setTemporaryCache(Co.ORIGIN_URI,r,!0),window.addEventListener("pageshow",n);try{this.config.system.protocolMode===po.EAR?await this.executeEarFlow(o):await this.executeCodeFlow(o)}catch(i){throw i instanceof rt&&i.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",n),i}}async executeCodeFlow(t){let o=t.correlationId,n=Bo(St.acquireTokenRedirect,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),r=await V(xa,wa,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),i={...t,codeChallenge:r.challenge};this.browserStorage.cacheAuthorizeRequest(i,this.correlationId,r.verifier);try{if(i.httpMethod===Me.HttpMethod.POST)return await this.executeCodeFlowWithPost(i);{let s=await V(this.createAuthCodeClient.bind(this),_a,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:i.authority,requestAzureCloudOptions:i.azureCloudOptions,requestExtraQueryParameters:i.extraQueryParameters,account:i.account}),a=await V(ub,vn.GetAuthCodeUrl,this.logger,this.performanceClient,t.correlationId)(this.config,s.authority,i,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:r,extraQueryParameters:i,account:s}=t,a=await V(ii,ya,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,r,i,s),l=await V(tb,Vh,this.logger,this.performanceClient,o)(),c=await V(xa,wa,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 db(document,this.config,a,u,this.logger,this.performanceClient)).submit(),new Promise((m,g)=>{setTimeout(()=>{g(ge(km,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async executeCodeFlowWithPost(t){let o=t.correlationId,n=await V(ii,ya,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger);return this.browserStorage.cacheAuthorizeRequest(t,this.correlationId),(await pb(document,this.config,n,t,this.logger,this.performanceClient)).submit(),new Promise((i,s)=>{setTimeout(()=>{s(ge(km,"failed_to_redirect"))},this.config.system.redirectNavigationTimeout)})}async handleRedirectPromise(t,o,n,r){let i=Bo(St.handleRedirectPromise,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),s=r?.navigateToLoginRequestUrl??!0;try{let[a,l]=this.getRedirectResponse(r?.hash||"");if(!a)return this.logger.info("1qmv0q",this.correlationId),this.browserStorage.resetRequestCache(this.correlationId),ZMe()!=="back_forward"?n.event.errorCode="no_server_response":this.logger.verbose("1eqegq",this.correlationId),null;let c=this.browserStorage.getTemporaryCache(Co.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&&que(c),await this.handleResponse(a,t,o,i);if(s){if(!rx()||this.config.system.allowRedirectInIframe){this.browserStorage.setTemporaryCache(Co.URL_HASH,l,!0);let m={apiId:St.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},g=!0;if(!c||c==="null"){let f=Bue();this.browserStorage.setTemporaryCache(Co.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,i)}}else return this.logger.verbose("0v4sdv",this.correlationId),await this.handleResponse(a,t,o,i);return null}catch(a){throw a instanceof rt&&(a.setCorrelationId(this.correlationId),i.cacheFailedRequest(a)),a}}getRedirectResponse(t){this.logger.verbose("1c5i8m",this.correlationId);let o=t;o||(this.config.auth.OIDCOptions.responseMode===Me.ResponseMode.QUERY?o=window.location.search:o=window.location.hash);let n=ks.getDeserializedResponse(o);if(n){try{gde(n,this.browserCrypto,Qe.Redirect)}catch(i){return i instanceof rt&&this.logger.error("0bkq6p",this.correlationId),[null,""]}return lz(window),this.logger.verbose("00uvho",this.correlationId),[n,o]}let r=this.browserStorage.getTemporaryCache(Co.URL_HASH,this.correlationId,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Co.URL_HASH)),r&&(n=ks.getDeserializedResponse(r),n)?(this.logger.verbose("001671",this.correlationId),[n,r]):[null,""]}async handleResponse(t,o,n,r){if(!t.state)throw ge(Kh);let{authority:s,azureCloudOptions:a,extraQueryParameters:l,account:c}=o;if(t.ear_jwe){let p=await V(ii,ya,this.logger,this.performanceClient,o.correlationId)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,s,a,l,c);return V(mb,Gh,this.logger,this.performanceClient,o.correlationId)(o,t,St.acquireTokenRedirect,this.config,p,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}let u=await V(this.createAuthCodeClient.bind(this),_a,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:r,requestAuthority:o.authority});return V(Dc,Ic,this.logger,this.performanceClient,o.correlationId)(o,t,n,St.acquireTokenRedirect,this.config,u,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}async initiateAuthRequest(t){if(this.logger.verbose("0yaw2e",this.correlationId),t){this.logger.infoPii("1luf83",this.correlationId);let o={apiId:St.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},n=this.config.auth.onRedirectNavigate;if(typeof n=="function")if(this.logger.verbose("1nehvl",this.correlationId),n(t)!==!1){this.logger.verbose("1a0jxh",this.correlationId),await this.navigationClient.navigateExternal(t,o);return}else{this.logger.verbose("09k5h5",this.correlationId);return}else{this.logger.verbose("0klwf7",this.correlationId),await this.navigationClient.navigateExternal(t,o);return}}else throw this.logger.info("0rlh4e",this.correlationId),ge(Yh)}async logout(t){this.logger.verbose("1rkurh",this.correlationId);let o=this.initializeLogoutRequest(t),n=Bo(St.logout,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{this.eventHandler.emitEvent(Je.LOGOUT_START,this.correlationId,Qe.Redirect,t),await ab(this.browserStorage,this.browserCrypto,this.logger,this.correlationId,o.account);let r={apiId:St.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},i=await V(this.createAuthCodeClient.bind(this),_a,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:t&&t.authority,requestExtraQueryParameters:t?.extraQueryParameters,account:t&&t.account||void 0});if(i.authority.protocolMode===po.OIDC)try{i.authority.endSessionEndpoint}catch{if(o.account?.homeAccountId){this.eventHandler.emitEvent(Je.LOGOUT_SUCCESS,this.correlationId,Qe.Redirect,o);return}}let s=i.getLogoutUri(o);o.account?.homeAccountId&&this.eventHandler.emitEvent(Je.LOGOUT_SUCCESS,this.correlationId,Qe.Redirect,o);let a=this.config.auth.onRedirectNavigate;if(typeof a=="function")if(a(s)!==!1){this.logger.verbose("06v57e",this.correlationId),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,va.SIGNOUT),await this.navigationClient.navigateExternal(s,r);return}else this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("0xqes1",this.correlationId);else{this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0,va.SIGNOUT),await this.navigationClient.navigateExternal(s,r);return}}catch(r){throw r instanceof rt&&(r.setCorrelationId(this.correlationId),n.cacheFailedRequest(r)),this.eventHandler.emitEvent(Je.LOGOUT_FAILURE,this.correlationId,Qe.Redirect,null,r),this.eventHandler.emitEvent(Je.LOGOUT_END,this.correlationId,Qe.Redirect),r}this.eventHandler.emitEvent(Je.LOGOUT_END,this.correlationId,Qe.Redirect)}getRedirectStartPage(t){let o=t||window.location.href;return kt.getAbsoluteUrl(o,Es())}};async function Lde(e,t,o,n){if(!e)throw o.info("1l7hyp",n),ge(Yh);return en(JMe,Cce,o,t,n)(e)}async function Rde(e,t,o,n,r){let i=XF();if(!i.contentDocument)throw"No document associated with iframe!";return(await pb(i.contentDocument,e,t,o,n,r)).submit(),i}async function Mde(e,t,o,n,r){let i=XF();if(!i.contentDocument)throw"No document associated with iframe!";return(await db(i.contentDocument,e,t,o,n,r)).submit(),i}function JMe(e){let t=XF();return t.src=e,t}function XF(){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 eU(e){document.body===e.parentNode&&document.body.removeChild(e)}var Cz=class extends si{constructor(t,o,n,r,i,s,a,l,c,u,p){super(t,o,n,r,i,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!==Me.PromptValue.NONE&&o.prompt!==Me.PromptValue.NO_SESSION&&(this.logger.warning("0bmctg",this.correlationId),o.prompt=Me.PromptValue.NONE):o.prompt=Me.PromptValue.NONE;let n=await V(nd,Xu,this.logger,this.performanceClient,this.correlationId)(o,Qe.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId);return n.platformBroker=Nc(this.config,this.logger,this.correlationId,this.platformAuthProvider,n.authenticationScheme),uz(n.authority),this.config.system.protocolMode===po.EAR?this.executeEarFlow(n):this.executeCodeFlow(n)}async executeCodeFlow(t){let o,n=Bo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{return o=await V(this.createAuthCodeClient.bind(this),_a,this.logger,this.performanceClient,t.correlationId)({serverTelemetryManager:n,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account}),await V(this.silentTokenHelper.bind(this),TF,this.logger,this.performanceClient,t.correlationId)(o,t)}catch(r){if(r instanceof rt&&(r.setCorrelationId(this.correlationId),n.cacheFailedRequest(r)),!o||!(r instanceof rt)||r.errorCode!==xn.INVALID_GRANT_ERROR)throw r;return this.performanceClient.addFields({retryError:r.errorCode},this.correlationId),await V(this.silentTokenHelper.bind(this),TF,this.logger,this.performanceClient,this.correlationId)(o,t)}}async executeEarFlow(t){let{correlationId:o,authority:n,azureCloudOptions:r,extraQueryParameters:i,account:s}=t,a=await V(ii,ya,this.logger,this.performanceClient,o)(this.config,this.correlationId,this.performanceClient,this.browserStorage,this.logger,n,r,i,s),l=await V(tb,Vh,this.logger,this.performanceClient,o)(),c=await V(xa,wa,this.logger,this.performanceClient,o)(this.performanceClient,this.logger,o),u={...t,earJwk:l,codeChallenge:c.challenge},p=await V(Mde,JA,this.logger,this.performanceClient,o)(this.config,a,u,this.logger,this.performanceClient),m=this.config.auth.OIDCOptions.responseMode,g;try{g=await V(od,Bh,this.logger,this.performanceClient,o)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,t,this.performanceClient,this.config.experimental)}finally{en(eU,SF,this.logger,this.performanceClient,o)(p)}let f=en(Cm,xm,this.logger,this.performanceClient,o)(g,m,this.logger,this.correlationId);if(!f.ear_jwe&&f.code){let y=await V(this.createAuthCodeClient.bind(this),_a,this.logger,this.performanceClient,o)({serverTelemetryManager:Bo(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 V(Dc,Ic,this.logger,this.performanceClient,o)(u,f,c.verifier,this.apiId,this.config,y,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}else return V(mb,Gh,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(ge(Zh))}async silentTokenHelper(t,o){let n=o.correlationId,r=await V(xa,wa,this.logger,this.performanceClient,n)(this.performanceClient,this.logger,n),i={...o,codeChallenge:r.challenge},s;if(o.httpMethod===Me.HttpMethod.POST)s=await V(Rde,JA,this.logger,this.performanceClient,n)(this.config,t.authority,i,this.logger,this.performanceClient);else{let u=await V(ub,vn.GetAuthCodeUrl,this.logger,this.performanceClient,n)(this.config,t.authority,i,this.logger,this.performanceClient);s=await V(Lde,JA,this.logger,this.performanceClient,n)(u,this.performanceClient,this.logger,n)}let a=this.config.auth.OIDCOptions.responseMode,l;try{l=await V(od,Bh,this.logger,this.performanceClient,n)(this.config.system.iframeBridgeTimeout,this.logger,this.browserCrypto,o,this.performanceClient,this.config.experimental)}finally{en(eU,SF,this.logger,this.performanceClient,n)(s)}let c=en(Cm,xm,this.logger,this.performanceClient,n)(l,a,this.logger,this.correlationId);return V(Dc,Ic,this.logger,this.performanceClient,n)(o,c,r.verifier,this.apiId,this.config,t,this.browserStorage,this.nativeStorage,this.eventHandler,this.logger,this.performanceClient,this.platformAuthProvider)}};var Ez=class extends si{async acquireToken(t){let o=await V(sx,Hh,this.logger,this.performanceClient,t.correlationId)(t,this.config,this.performanceClient,this.logger,this.correlationId),n={...t,...o};t.redirectUri&&(n.redirectUri=Sm(t.redirectUri,this.config.auth.redirectUri,this.logger,this.correlationId));let r=Bo(St.acquireTokenSilent_silentFlow,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger),i=await this.createRefreshTokenClient({serverTelemetryManager:r,authorityUrl:n.authority,azureCloudOptions:n.azureCloudOptions,account:n.account});return V(i.acquireTokenByRefreshToken.bind(i),Tce,this.logger,this.performanceClient,t.correlationId)(n,St.acquireTokenSilent_silentFlow).catch(s=>{throw s.setCorrelationId(this.correlationId),r.cacheFailedRequest(s),s})}logout(){return Promise.reject(ge(Zh))}async createRefreshTokenClient(t){let o=await V(this.getClientConfiguration.bind(this),Ju,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:t.serverTelemetryManager,requestAuthority:t.authorityUrl,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account});return new Kv(o,this.performanceClient)}};var Az=class extends wm{constructor(t,o){super(t,o),this.includeRedirectUri=!1}};var zz=class extends si{constructor(t,o,n,r,i,s,a,l,c,u){super(t,o,n,r,i,s,l,c,u),this.apiId=a}async acquireToken(t){if(!t.code)throw ge(hue);let o=await V(nd,Xu,this.logger,this.performanceClient,this.correlationId)(t,Qe.Silent,this.config,this.browserCrypto,this.browserStorage,this.logger,this.performanceClient,this.correlationId),n=Bo(this.apiId,this.config.auth.clientId,this.correlationId,this.browserStorage,this.logger);try{let r={...o,code:t.code},i=await V(this.getClientConfiguration.bind(this),Ju,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:o.authority,requestAzureCloudOptions:o.azureCloudOptions,requestExtraQueryParameters:o.extraQueryParameters,account:o.account}),s=new Az(i,this.performanceClient);this.logger.verbose("1uic5e",this.correlationId);let a=new lb(s,this.browserStorage,r,this.logger,this.performanceClient);return await V(a.handleCodeResponseFromServer.bind(a),vn.HandleCodeResponseFromServer,this.logger,this.performanceClient,this.correlationId)({code:t.code,msgraph_host:t.msGraphHost,cloud_graph_host_name:t.cloudGraphHostName,cloud_instance_host_name:t.cloudInstanceHostName},o,this.apiId,!1)}catch(r){throw r instanceof rt&&(r.setCorrelationId(this.correlationId),n.cacheFailedRequest(r)),r}}logout(){return Promise.reject(ge(Zh))}};function $de(e,t,o,n){let r=window.msal?.clientIds||[],i=r.length,s=r.filter(a=>a===e).length;s>1&&o.warning("1e88vg",n),t.add({msalInstanceCount:i,sameClientIdInstanceCount:s})}function Pz(e,t,o,n){try{cz(e),Jv(o.auth.isMcp,n)}catch(r){throw t.end({success:!1},r,n.account),r}}var Iz=class e{constructor(t){this.operatingContext=t,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=t.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new bl(this.logger,this.performanceClient):Wu,this.eventHandler=new yz(this.logger),this.browserStorage=this.isBrowserEnvironment?new ib(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,this.performanceClient,this.eventHandler,bF(this.config.auth)):ade(this.config.auth.clientId,this.logger,this.performanceClient,this.eventHandler);let o={cacheLocation:In.MemoryStorage,cacheRetentionDays:5};this.nativeInternalStorage=new ib(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(Je.INITIALIZE_END,o);return}let n=this.config.system.allowPlatformBroker,r=this.performanceClient.startMeasurement(Zue,o);if(this.eventHandler.emitEvent(Je.INITIALIZE_START,o),this.logMultipleInstances(r,o),r.add({isMcp:this.config.auth.isMcp}),await V(this.browserStorage.initialize.bind(this.browserStorage),Sce,this.logger,this.performanceClient,o)(o),n)try{this.platformAuthProvider=await Ide(this.logger,this.performanceClient,o,this.config.system.nativeBrokerHandshakeTimeout)}catch(i){this.logger.verbose(i,o)}this.config.cache.cacheLocation===In.LocalStorage&&this.eventHandler.subscribeCrossTab(),!this.config.system.navigatePopups&&await this.preGeneratePkceCodes(o),this.initialized=!0,this.eventHandler.emitEvent(Je.INITIALIZE_END,o),r.end({allowPlatformBroker:n,success:!0})}async handleRedirectPromise(t){if(this.logger.verbose("02l8bm",""),VF(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===va.SIGNOUT)return this.logger.verbose("1ywcv2",""),this.browserStorage.setInteractionInProgress(!1),Promise.resolve(null);let n=this.getAllAccounts(),r=this.browserStorage.getCachedNativeRequest(),i=r&&this.platformAuthProvider&&!t?.hash,s,a;try{if(i&&this.platformAuthProvider){let l=r?.correlationId||"";this.eventHandler.emitEvent(Je.HANDLE_REDIRECT_START,l,Qe.Redirect),s=this.performanceClient.startMeasurement(mz,l),this.logger.trace("12v7is",l);let c=new id(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.handleRedirectPromise,this.performanceClient,this.platformAuthProvider,r.accountId,this.nativeInternalStorage,r.correlationId);a=V(c.handleRedirectPromise.bind(c),Mce,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(Je.HANDLE_REDIRECT_START,u,Qe.Redirect),s=this.performanceClient.startMeasurement(mz,u),this.logger.trace("0znzs5",u);let p=this.createRedirectClient(u);a=V(p.handleRedirectPromise.bind(p),Rce,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(Je.ACQUIRE_TOKEN_SUCCESS,l.correlationId,Qe.Redirect,l),this.logger.verbose("0ui8f5",l.correlationId),n.length{this.browserStorage.resetRequestCache(s.event.correlationId);let c=l;throw this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,s.event.correlationId,Qe.Redirect,null,c),this.eventHandler.emitEvent(Je.HANDLE_REDIRECT_END,s.event.correlationId,Qe.Redirect),s.end({success:!1},c),l})}async acquireTokenRedirect(t){let o=this.getRequestCorrelationId(t);this.logger.verbose("0os66p",o);let n=this.performanceClient.startMeasurement(Yue,o);n.add({scenarioId:t.scenarioId});let r=this.config.auth.onRedirectNavigate;this.config.auth.onRedirectNavigate=i=>{let s=typeof r=="function"?r(i):void 0;return n.add({navigateCallbackResult:s!==!1}),n.event=n.end({success:!0},void 0,t.account)||n.event,s};try{WF(this.initialized,this.config),Jv(this.config.auth.isMcp,t),this.browserStorage.setInteractionInProgress(!0,va.SIGNIN),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_START,o,Qe.Redirect,t);let i;return this.platformAuthProvider&&this.canUsePlatformBroker(t)?i=new id(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.acquireTokenRedirect,this.performanceClient,this.platformAuthProvider,this.getNativeAccountId(t),this.nativeInternalStorage,o).acquireTokenRedirect(t,n).catch(a=>{if(a instanceof As&&rd(a))return this.platformAuthProvider=void 0,this.createRedirectClient(o).acquireToken(t);if(a instanceof So)return this.logger.verbose("1ipyz4",o),this.createRedirectClient(o).acquireToken(t);throw a}):i=this.createRedirectClient(o).acquireToken(t),await i}catch(i){throw this.browserStorage.resetRequestCache(o),n.event.status===2?this.performanceClient.startMeasurement(mz,o).end({success:!1},i,t.account):n.end({success:!1},i,t.account),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,o,Qe.Redirect,null,i),i}}acquireTokenPopup(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(Que,o);n.add({scenarioId:t.scenarioId});try{this.logger.verbose("0ch87b",o),Pz(this.initialized,n,this.config,t),this.browserStorage.setInteractionInProgress(!0,va.SIGNIN,t.overrideInteractionInProgress,o)}catch(a){return Promise.reject(a)}let r=this.getAllAccounts();this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_START,o,Qe.Popup,t);let i,s=this.getPreGeneratedPkceCodes(o);return this.canUsePlatformBroker(t)?i=this.acquireTokenNative({...t,correlationId:o},St.acquireTokenPopup).then(a=>(n.end({success:!0,isNativeBroker:!0},void 0,a.account),a)).catch(a=>{if(a instanceof As&&rd(a))return this.platformAuthProvider=void 0,this.createPopupClient(o).acquireToken(t,s);if(a instanceof So)return this.logger.verbose("0yy5fw",o),this.createPopupClient(o).acquireToken(t,s);throw a}):i=this.createPopupClient(o).acquireToken(t,s),i.then(a=>{let l=r.length(this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,o,Qe.Popup,null,a),n.end({success:!1},a,t.account),Promise.reject(a))).finally(async()=>{this.browserStorage.setInteractionInProgress(!1),this.config.system.navigatePopups||await this.preGeneratePkceCodes(o)})}trackStateChangeWithMeasurement(t){let o=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;o&&(t.type==="visibilitychange"?(this.logger.info("0yzimq",o.event.correlationId),o.increment({visibilityChangeCount:1})):t.type==="online"?(this.logger.info("1caf53",o.event.correlationId),o.increment({onlineStatusChangeCount:1})):t.type==="offline"&&(this.logger.info("0fdyk7",o.event.correlationId),o.increment({onlineStatusChangeCount:1})))}addStateChangeListeners(t){document.addEventListener("visibilitychange",t),window.addEventListener("online",t),window.addEventListener("offline",t)}removeStateChangeListeners(t){document.removeEventListener("visibilitychange",t),window.removeEventListener("online",t),window.removeEventListener("offline",t)}async ssoSilent(t){let o=this.getRequestCorrelationId(t),n={...t,prompt:t.prompt,correlationId:o};this.ssoSilentMeasurement=this.performanceClient.startMeasurement(Kue,o),this.ssoSilentMeasurement?.add({scenarioId:t.scenarioId}),Pz(this.initialized,this.ssoSilentMeasurement,this.config,n),this.ssoSilentMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement);let r=this.getAllAccounts();this.logger.verbose("0w1b45",o),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_START,o,Qe.Silent,n);let i;return this.canUsePlatformBroker(n)?i=this.acquireTokenNative(n,St.ssoSilent).catch(s=>{if(s instanceof As&&rd(s))return this.platformAuthProvider=void 0,this.createSilentIframeClient(n.correlationId).acquireToken(n);throw s}):i=this.createSilentIframeClient(n.correlationId).acquireToken(n),i.then(s=>{let a=r.length{throw this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,o,Qe.Silent,null,s),this.ssoSilentMeasurement?.end({success:!1},s,t.account),s}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenByCode(t){let o=this.getRequestCorrelationId(t);this.logger.trace("0ch6ga",o);let n=this.performanceClient.startMeasurement(Wue,o);Pz(this.initialized,n,this.config,t),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_START,o,Qe.Silent,t),n.add({scenarioId:t.scenarioId});try{if(t.code&&t.nativeAccountId)throw ge(yue);if(t.code){let r=t.code,i=this.hybridAuthCodeResponses.get(r);return i?(this.logger.verbose("0qgp28",o),n.discard()):(this.logger.verbose("06eh73",o),i=this.acquireTokenByCodeAsync({...t,correlationId:o}).then(s=>(this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_SUCCESS,o,Qe.Silent,s),this.hybridAuthCodeResponses.delete(r),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(r),this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,o,Qe.Silent,null,s),n.end({success:!1},s),s}),this.hybridAuthCodeResponses.set(r,i)),await i}else if(t.nativeAccountId)if(this.canUsePlatformBroker(t,t.nativeAccountId)){let r=await this.acquireTokenNative({...t,correlationId:o},St.acquireTokenByCode,t.nativeAccountId).catch(i=>{throw i instanceof As&&rd(i)&&(this.platformAuthProvider=void 0),i});return n.end({success:!0},void 0,r.account),r}else throw ge(_ue);else throw ge(bue)}catch(r){throw this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,o,Qe.Silent,null,r),n.end({success:!1},r),r}}async acquireTokenByCodeAsync(t){let o=this.getRequestCorrelationId(t);return this.logger.trace("10d9hy",o),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(Lce,o),this.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0,onlineStatusChangeCount:0}),this.addStateChangeListeners(this.trackStateChangeWithMeasurement),await this.createSilentAuthCodeClient(o).acquireToken(t).then(i=>(this.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:i.fromCache,isNativeBroker:i.fromPlatformBroker}),i)).catch(i=>{throw this.acquireTokenByCodeAsyncMeasurement?.end({success:!1},i),i}).finally(()=>{this.removeStateChangeListeners(this.trackStateChangeWithMeasurement)})}async acquireTokenFromCache(t,o){switch(o){case Yn.Default:case Yn.AccessToken:case Yn.AccessTokenAndRefreshToken:let n=this.createSilentCacheClient(t.correlationId);return V(n.acquireToken.bind(n),_ce,this.logger,this.performanceClient,t.correlationId)(t);default:throw te(bn.tokenRefreshRequired)}}async acquireTokenByRefreshToken(t,o){switch(o){case Yn.Default:case Yn.AccessTokenAndRefreshToken:case Yn.RefreshToken:case Yn.RefreshTokenAndNetwork:let n=this.createSilentRefreshClient(t.correlationId);return V(n.acquireToken.bind(n),xce,this.logger,this.performanceClient,t.correlationId)(t);default:throw te(bn.tokenRefreshRequired)}}async acquireTokenBySilentIframe(t){let o=this.createSilentIframeClient(t.correlationId);return V(o.acquireToken.bind(o),wce,this.logger,this.performanceClient,t.correlationId)(t)}async logoutRedirect(t){let o=this.getRequestCorrelationId(t);return WF(this.initialized,this.config),this.browserStorage.setInteractionInProgress(!0,va.SIGNOUT),this.createRedirectClient(o).logout(t)}logoutPopup(t){try{let o=this.getRequestCorrelationId(t);return cz(this.initialized),this.browserStorage.setInteractionInProgress(!0,va.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 cde(t,this.logger,this.browserStorage,this.getRequestCorrelationId())}setActiveAccount(t){ude(t,this.browserStorage,this.getRequestCorrelationId())}getActiveAccount(){return dde(this.browserStorage,this.getRequestCorrelationId())}async hydrateCache(t,o){this.logger.verbose("16jycr",t.correlationId);let n=Ss.createAccountEntityFromAccountInfo(t.account,t.cloudGraphHostName,t.msGraphHost);return await this.browserStorage.setAccount(n,t.correlationId,dr.isKmsi(t.idTokenClaims),St.hydrateCache),t.fromPlatformBroker?(this.logger.verbose("1fxyu8",t.correlationId),this.nativeInternalStorage.hydrateCache(t,o)):this.browserStorage.hydrateCache(t,o)}async acquireTokenNative(t,o,n,r){let i=this.getRequestCorrelationId(t);if(this.logger.trace("0b9y3p",i),!this.platformAuthProvider)throw ge(rz);return new id(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,o,this.performanceClient,this.platformAuthProvider,n||this.getNativeAccountId(t),this.nativeInternalStorage,i).acquireToken(t,r)}canUsePlatformBroker(t,o){let n=this.getRequestCorrelationId(t);if(this.logger.trace("1n9lbl",n),!this.platformAuthProvider)return this.logger.trace("0vnu11",n),!1;if(!Nc(this.config,this.logger,n,this.platformAuthProvider,t.authenticationScheme))return this.logger.trace("1m4bzf",n),!1;if(t.prompt)switch(t.prompt){case Me.PromptValue.NONE:case Me.PromptValue.CONSENT:case Me.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 kz(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createRedirectClient(t){return new Sz(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentIframeClient(t){return new Cz(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.ssoSilent,this.performanceClient,this.nativeInternalStorage,t,this.platformAuthProvider)}createSilentCacheClient(t){return new cb(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentRefreshClient(t){return new Ez(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,t,this.platformAuthProvider)}createSilentAuthCodeClient(t){return new zz(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,St.acquireTokenByCode,this.performanceClient,t,this.platformAuthProvider)}addEventCallback(t,o){return this.eventHandler.addEventCallback(t,o)}removeEventCallback(t){this.eventHandler.removeEventCallback(t)}addPerformanceCallback(t){return GF(),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?Ni():""}async loginRedirect(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0lz9hf",o),this.acquireTokenRedirect({correlationId:o,...t||zF})}loginPopup(t){let o=this.getRequestCorrelationId(t);return this.logger.verbose("0qw7v5",o),this.acquireTokenPopup({correlationId:o,...t||zF})}async acquireTokenSilent(t){let o=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(Vue,o);n.add({cacheLookupPolicy:t.cacheLookupPolicy,scenarioId:t.scenarioId}),Pz(this.initialized,n,this.config,t),this.logger.verbose("0x1c4s",o);let r=t.account||this.getActiveAccount();if(!r)throw ge(due);return this.acquireTokenSilentDeduped(t,r,o).then(i=>(n.end({success:!0,fromCache:i.fromCache,isNativeBroker:i.fromPlatformBroker,accessTokenSize:i.accessToken.length,idTokenSize:i.idToken.length},void 0,i.account),{...i,state:t.state,correlationId:o})).catch(i=>{throw i instanceof rt&&i.setCorrelationId(o),n.end({success:!1},i,r),i})}async acquireTokenSilentDeduped(t,o,n){let r=Ac(this.config.auth.clientId,{...t,authority:t.authority||this.config.auth.authority,correlationId:n},o.homeAccountId),i=JSON.stringify(r),s=this.activeSilentTokenRequests.get(i);if(typeof s>"u"){this.logger.verbose("0fcjbk",n),this.performanceClient.addFields({deduped:!1},n);let a=V(this.acquireTokenSilentAsync.bind(this),hce,this.logger,this.performanceClient,n)({...t,correlationId:n},o);return this.activeSilentTokenRequests.set(i,a),a.finally(()=>{this.activeSilentTokenRequests.delete(i)})}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(Je.ACQUIRE_TOKEN_START,t.correlationId,Qe.Silent,t),t.correlationId&&this.performanceClient.incrementFields({visibilityChangeCount:0,onlineStatusChangeCount:0},t.correlationId),this.addStateChangeListeners(n);let r=await V(pde,kce,this.logger,this.performanceClient,t.correlationId)(t,o,this.config,this.performanceClient,this.logger),i=t.cacheLookupPolicy||Yn.Default;return this.acquireTokenSilentNoIframe(r,i).catch(async a=>{if(XMe(a,i)){let c=`${a.errorCode}${a.subError?`|${a.subError}`:""}`;if(this.performanceClient.addFields({silentRefreshReason:c},t.correlationId),this.activeIframeRequest)if(i!==Yn.Skip){let[u,p]=this.activeIframeRequest;this.logger.verbose("1w8fso",r.correlationId);let m=this.performanceClient.startMeasurement(vce,r.correlationId);m.add({awaitIframeCorrelationId:p});let g=await u;if(m.end({success:g}),g)return this.logger.verbose("0ywzzi",r.correlationId),this.acquireTokenSilentNoIframe(r,i);throw this.logger.info("17y14q",r.correlationId),a}else return this.logger.warning("1bd4p8",r.correlationId),V(this.acquireTokenBySilentIframe.bind(this),xF,this.logger,this.performanceClient,r.correlationId)(r);else{let u;return this.activeIframeRequest=[new Promise(p=>{u=p}),r.correlationId],this.logger.verbose("0rh08z",r.correlationId),V(this.acquireTokenBySilentIframe.bind(this),xF,this.logger,this.performanceClient,r.correlationId)(r).then(p=>(u(!0),p)).catch(p=>{throw u(!1),p}).finally(()=>{this.activeIframeRequest=void 0})}}else throw a}).then(a=>(this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_SUCCESS,t.correlationId,Qe.Silent,a),t.correlationId&&this.performanceClient.addFields({fromCache:a.fromCache,isNativeBroker:a.fromPlatformBroker},t.correlationId),a)).catch(a=>{throw this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_FAILURE,t.correlationId,Qe.Silent,null,a),a}).finally(()=>{this.removeStateChangeListeners(n)})}async acquireTokenSilentNoIframe(t,o){return Nc(this.config,this.logger,t.correlationId,this.platformAuthProvider,t.authenticationScheme)&&t.account.nativeAccountId?(this.logger.verbose("0sczo4",t.correlationId),this.acquireTokenNative(t,St.acquireTokenSilent_silentFlow,t.account.nativeAccountId,o).catch(async n=>{throw n instanceof As&&rd(n)?(this.logger.verbose("07rkmb",t.correlationId),this.platformAuthProvider=void 0,te(bn.tokenRefreshRequired)):n})):(this.logger.verbose("0ox81t",t.correlationId),o===Yn.AccessToken&&this.logger.verbose("0fvwxe",t.correlationId),V(this.acquireTokenFromCache.bind(this),gce,this.logger,this.performanceClient,t.correlationId)(t,o).catch(n=>{if(o===Yn.AccessToken)throw n;return this.eventHandler.emitEvent(Je.ACQUIRE_TOKEN_NETWORK_START,t.correlationId,Qe.Silent,t),V(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 V(xa,wa,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),$de(n,t,this.logger,o)}};function XMe(e,t){let o=!(e instanceof So&&e.subError!==gl.badToken),n=e.errorCode===xn.INVALID_GRANT_ERROR||e.errorCode===bn.tokenRefreshRequired,r=o&&n||e.errorCode===gl.noTokensFound||e.errorCode===gl.refreshTokenExpired,i=Zce.includes(t);return r&&i}var Lz=class e{static loggerCallback(t,o){switch(t){case Mt.Error:console.error(o);return;case Mt.Info:console.info(o);return;case Mt.Verbose:console.debug(o);return;case Mt.Warning:console.warn(o);return;default:console.log(o);return}}constructor(t){this.browserEnvironment=typeof window<"u",this.config=Pde(t,this.browserEnvironment);let o;try{o=window[In.SessionStorage]}catch{}let n=o?.getItem(tde),r=o?.getItem(ode)?.toLowerCase(),i=r==="true"?!0:r==="false"?!1:void 0,s={...this.config.system.loggerOptions},a=n&&Object.keys(Mt).includes(n)?Mt[n]:void 0;a&&(s.loggerCallback=e.loggerCallback,s.logLevel=a),i!==void 0&&(s.piiLoggingEnabled=i),this.logger=new _n(s,ide,Oi),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}};var gb=class e extends Lz{getModuleName(){return e.MODULE_NAME}getId(){return e.ID}async initialize(t){return this.available=typeof window<"u",this.available}};gb.MODULE_NAME="";gb.ID="StandardOperatingContext";var ax=class{constructor(t,o){this.controller=o||new Iz(new gb(t))}async initialize(t){return this.controller.initialize(t)}async acquireTokenPopup(t){return this.controller.acquireTokenPopup(t)}acquireTokenRedirect(t){return this.controller.acquireTokenRedirect(t)}acquireTokenSilent(t){return this.controller.acquireTokenSilent(t)}acquireTokenByCode(t){return this.controller.acquireTokenByCode(t)}addEventCallback(t,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 jpt=Me.AuthenticationScheme,Opt=Me.ResponseMode,Fpt=Me.PromptValue,Upt=Me.JsonWebTokenTypes,qpt=Me.OIDC_DEFAULT_SCOPES;async function Dde(e){let t={method:"POST",body:JSON.stringify(e)},o=await R(Z(M.privacy.cookieConsentDeleteService,t));if(!o.ok)throw new Error(`Cookie Deletion Error ${o.status}: ${o.statusText}`)}var Nde;(function(e){Nde=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(i),/^[\{\[]/.test(a)&&(i=a)}catch{}o.write?i=o.write(i,r):i=encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),r=encodeURIComponent(String(r)),r=r.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),r=r.replace(/[\(\)]/g,escape);let p="";for(let m in s)s[m]&&(p+="; "+m,s[m]!==!0&&(p+="="+s[m]));return document.cookie=r+"="+i+p}r||(a={});let l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,u=0;for(;u{let r=performance.now(),i=setInterval(()=>{let s=ai.get(e);s?(clearInterval(i),n(s)):performance.now()-r>=t&&(clearInterval(i),n(null))},200)})}var Ode=!!window.matchMedia,fb=window.matchMedia("screen and (min-width: 768px), screen and (min-height: 1024px)"),Ar=window.matchMedia("screen and (min-width: 1088px)"),Ta=window.matchMedia("screen and (min-width: 768px)"),Fde=window.matchMedia("screen and (max-width: 768px)"),Ude=window.matchMedia("print"),qde=window.matchMedia("(prefers-color-scheme: dark)"),Hde=window.matchMedia("(prefers-contrast: more)");var sd="light",Rz={light:{documentClass:"theme-light",name:"light",text:HJ,icon:"docon-sun"},dark:{documentClass:"theme-dark",name:"dark",text:GY,icon:"docon-clear-night"},"high-contrast":{documentClass:"theme-high-contrast",name:"high-contrast",text:gJ,icon:"docon-clear-night"}},e$e=Object.keys(Rz),Bde=e$e.map(e=>Rz[e].documentClass),_l=class{constructor(t,o){this.currentTheme=t;this.previousTheme=o}};function t$e(e,t,o){e.publish(new _l(t,o)),window.dispatchEvent(new CustomEvent("theme-changed",{detail:{currentTheme:t,previousTheme:o}}))}function o$e(e){let t=document.documentElement.classList;for(let o of Bde)t.remove(o);t.add(Rz[e].documentClass)}function n$e(e){return sd=e}function Gde(e){let t=Array.from(document.querySelectorAll(".theme-control[data-theme-to]"));for(let o of t)o.dataset.themeTo===e?(o.classList.add("is-selected"),o.setAttribute("aria-pressed","true")):(o.classList.remove("is-selected"),o.setAttribute("aria-pressed","false"))}function r$e(e){X.setItem("theme",e)}function i$e(e=!1,t=!1){let o=X.getItem("theme");return o&&/^light|dark|high-contrast$/.test(o)?o:t?"high-contrast":e?"dark":"light"}function Vde(e){tU(lt,e)}function tU(e,t){let o=sd;n$e(t),o$e(t),o!==t&&t$e(e,t,o)}async function Wde(e){let t=ad();tU(e,t),s$e(e),await Te,Gde(t),window.setTheme=Vde}function ad(e=qde.matches){let t=re();if(t.theme==="light"||t.theme==="dark"||t.theme==="high-contrast")return t.theme;let o=t.checkPrefersContrast==="true"&&Hde.matches;return i$e(e,o)}function s$e(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;Gde(n),r$e(n),tU(e,n)})}var lx,Yde=new Promise(e=>lx=e),Am,zm=new Promise(e=>Am=e),Kde,Zde=()=>Kde,Qde=e=>{for(let t of Object.values(e))if(!t)return!1;return!0};async function Jde(){if(!k.cookieConsent)return;if(k.chromeless){Am(!0),lx();return}let e=()=>ai.get("MSCC")!==void 0,t=U.WcpConsent;if(t===void 0||typeof t.init!="function"){Am(!1);return}await Te;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(r,i){if(r!==void 0){Am(!1);return}if(Kde=i,!i.isConsentRequired){Am(!0),lx();return}let s=document.createElement("button");if(s.setAttribute("data-bi-name","manageCookies"),s.textContent=sX,n.forEach(a=>{a.appendChild(s.cloneNode(!0)).addEventListener("click",()=>{i.manageConsent()}),a.hidden=!1}),o.hidden=!1,zt(),Qde(i.getConsent())){Am(!0),lx();return}Am(!1)},async function(r){if(Qde(r)){lx(),Ja();return}if(await Dde({domain:document.location.hostname,analytics:!r.Analytics,advertising:!r.Advertising,social:!r.SocialMedia}),e()){r.Analytics||(document.cookie="mbox=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=.microsoft.com"),U.location.href=U.location.pathname+U.location.search+U.location.hash;return}Ja()},sd)}function Xde(e=location.hostname){return{"developer.microsoft.com":"DevCenter","dev.learn.microsoft.com ":"DocsDev","dev.docs.azure.cn":"DocsDev","review.learn.microsoft.com":"DocsReview","review.docs.azure.cn":"DocsReview","learn.microsoft.com":"Docs","docs.azure.cn":"DocsCN"}[e]||"OneDSTest"}function epe(e=location.hostname){return{"developer.microsoft.com":"d1574ad452ea4a37a5dda6f9f1fb5ef2-b55b2da9-95eb-4cf9-a633-191aa7b0ee25-6798","docs.azure.cn":"54ae4d70fff842118ff98bccfdc28deb-7f4f32ec-ae5a-4562-881c-5c0188170faf-7594","learn.microsoft.com":"c6c27850c9c24cbfae921778d2465031-4c28c161-db47-426b-9d28-733d45d05dd9-7278","review.learn.microsoft.com":"d94fc739fadb4805bce966a4f24e2e21-a6b89116-ce98-4ffb-b1cf-d46e361ea690-7616","review.docs.azure.cn":"d94fc739fadb4805bce966a4f24e2e21-a6b89116-ce98-4ffb-b1cf-d46e361ea690-7616"}[e]??"8617064329544862a1d4dbcc1cdda9d3-079a9ef7-af43-443d-a28b-f60ba4efc9ff-7531"}var tpe="3PAdsOptOut";var oU=!1;function ope(){let e=T.createElement("div");e.style.cssText="position:absolute;top:0;left:-2300px;background-color:#878787",e.textContent="hc",T.body.appendChild(e);let t=U.getComputedStyle(e).backgroundColor.toLowerCase();T.body.removeChild(e),t!=="#878787"&&t!=="rgb(135, 135, 135)"&&(T.documentElement.className+=" os-high-contrast-enabled theme-high-contrast",oU=!0)}var a$e={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 Mz(e){let t=document.querySelectorAll("meta");for(let o=0;oS.isAuthenticated&&(S.authenticationMode==="MSA"||S.tenantId===Xr),pageViewPageTags:$z,pageActionPageTags:$z,contentUpdatePageTags:$z,pageActionContentTags:$z,userConsentDetailsCallback:ipe},advancedConfig:{propertyConfiguration:{gpcDataSharingOptIn:k.thirdPartyDataSharingConsentFlag?c$e():null}},shareAuthStatus:!0,isLoggedIn:!1};Mz(o.coreData.pageTags),o.coreData.pageTags.pageTemplate=b.data.pageTemplate,e.init(o),u$e(e)}function $z(){return S.isAuthenticated?{"ext-app-user-id":`c:${S.userId}`}:{}}var ld=new Promise(e=>npe=e);function c$e(){let e=p$e(),t=d$e(),o=!!navigator.globalPrivacyControl,n=ai.get(tpe)==="1";return!(e||t||o||n)}function u$e(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=ipe}function ipe(){return Zde()?.getConsent()||null}function d$e(){let e=window.self!==window.top,t=!!window.frameElement;return e&&!t}function p$e(e=window.location.hostname){return!e.endsWith(".microsoft.com")}var Se={CLICKLEFT:"CL",CLICKRIGHT:"CR",CLICKMIDDLE:"CM",SCROLL:"S",ZOOM:"Z",RESIZE:"R",KEYBOARDENTER:"KE",KEYBOARDSPACE:"KS",GAMEPADA:"CGA",GAMEPADMENU:"CGM",OTHER:"O",AUTO:"A"},le={UNDEFINED:0,NAVIGATIONBACK:1,NAVIGATION:2,NAVIGATIONFORWARD:3,APPLY:4,REMOVE:5,SORT:6,EXPAND:7,REDUCE:8,CONTEXTMENU:9,TAB:10,COPY:11,EXPERIMENTATION:12,PRINT:13,SHOW:14,HIDE:15,MAXIMIZE:16,MINIMIZE:17,BACKBUTTON:18,STARTPROCESS:20,PROCESSCHECKPOINT:21,COMPLETEPROCESS:22,SCENARIOCANCEL:23,DOWNLOADCOMMIT:40,DOWNLOAD:41,SEARCHAUTOCOMPLETE:60,SEARCH:61,SEARCHINITIATE:62,TEXTBOXINPUT:63,PURCHASE:80,ADDTOCART:81,VIEWCART:82,ADDWISHLIST:83,FINDSTORE:84,CHECKOUT:85,REMOVEFROMCART:86,PURCHASECOMPLETE:87,VIEWCHECKOUTPAGE:88,VIEWCARTPAGE:89,VIEWPDP:90,UPDATEITEMQUANTITY:91,INTENTTOBUY:92,PUSHTOINSTALL:93,SIGNIN:100,SIGNOUT:101,SOCIALSHARE:120,SOCIALLIKE:121,SOCIALREPLY:122,CALL:123,EMAIL:124,COMMUNITY:125,SOCIALFOLLOW:126,VOTE:140,SURVEYINITIATE:141,SURVEYCOMPLETE:142,REPORTAPPLICATION:143,REPORTREVIEW:144,SURVEYCHECKPOINT:145,CONTACT:160,REGISTRATIONINITIATE:161,REGISTRATIONCOMPLETE:162,CANCELSUBSCRIPTION:163,RENEWSUBSCRIPTION:164,CHANGESUBSCRIPTION:165,REGISTRATIONCHECKPOINT:166,CHATINITIATE:180,CHATEND:181,TRIALSIGNUP:200,TRIALINITIATE:201,SIGNUP:210,FREESIGNUP:211,PARTNERREFERRAL:220,LEARNLOWFUNNEL:230,LEARNHIGHFUNNEL:231,SHOPPINGINTENT:232,VIDEOSTART:240,VIDEOPAUSE:241,VIDEOCONTINUE:242,VIDEOCHECKPOINT:243,VIDEOJUMP:244,VIDEOCOMPLETE:245,VIDEOBUFFERING:246,VIDEOERROR:247,VIDEOMUTE:248,VIDEOUNMUTE:249,VIDEOFULLSCREEN:250,VIDEOUNFULLSCREEN:251,VIDEOREPLAY:252,VIDEOPLAYERLOAD:253,VIDEOPLAYERCLICK:254,VIDEOVOLUMECONTROL:255,VIDEOAUDIOTRACKCONTROL:256,VIDEOCLOSEDCAPTIONCONTROL:257,VIDEOCLOSEDCAPTIONSTYLE:258,VIDEORESOLUTIONCONTROL:259,VIRTUALEVENTJOIN:260,VIRTUALEVENTEND:261,IMPRESSION:280,CLICK:281,RICHMEDIACOMPLETE:282,ADBUFFERING:283,ADERROR:284,ADSTART:285,ADCOMPLETE:286,ADSKIP:287,ADTIMEOUT:288,OTHER:300},Eo={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"},cx={id:"id",name:"name",type:"type",scenario:"scn",scenarioStep:"scnstp",scenarioStepNumber:"subnm"},jc=e=>{let t=e.closest(`[${Eo.name}]`);return t?t.getAttribute(Eo.name):""},spe=()=>{ld.then(e=>{e.sku.getAuthExtension().signOut()})},ape=(e,t)=>{ld.then(o=>{let n=o.sku.getAuthExtension();if(!t){n.setAuthType(0);return}n.setAuthType(e==="MSA"?1:e==="AAD"?2:0)})},lpe=e=>{ld.then(t=>t.extendCoreData(e))},Yt=(e,t)=>{ld.then(o=>o.ct.capturePageAction(e,t))},we=e=>{ld.then(t=>t.ct.captureContentPageAction(e))},cpe=e=>{ld.then(t=>t.ct.captureContentUpdate(e))},Dz=e=>{ld.then(t=>t.ct.capturePageView(e||{}))};var Nz,jz="undefined",qz="constructor",wl="prototype",Hz="function",Bz="_dynInstFuncs",iU="_isDynProxy",hb="_dynClass",m$e="_dynCls$",sU="_dynInstChk",ux=sU,gpe="_dfOpts",upe="_unknown_",cU="__proto__",Oz="_dyn"+cU,dpe="__dynProto$Gbl",nU="_dynInstProto",Fz="useBaseInst",aU="setInstFuncs",Wz=Object,dx=Wz.getPrototypeOf,ppe=Wz.getOwnPropertyNames;function g$e(){var e;return typeof globalThis!==jz&&(e=globalThis),!e&&typeof self!==jz&&(e=self),!e&&typeof window!==jz&&(e=window),!e&&typeof global!==jz&&(e=global),e||{}}var mpe=g$e(),lU=mpe[dpe]||(mpe[dpe]={o:(Nz={},Nz[aU]=!0,Nz[Fz]=!0,Nz),n:1e3});function Oc(e,t){return e&&Wz[wl].hasOwnProperty.call(e,t)}function Uz(e){return e&&(e===Wz[wl]||e===Array[wl])}function uU(e){return Uz(e)||e===Function[wl]}function Pm(e){var t;if(e){if(dx)return dx(e);var o=e[cU]||e[wl]||(e[qz]?e[qz][wl]:null);t=e[Oz]||o,Oc(e,Oz)||(delete e[nU],t=e[Oz]=e[nU]||e[Oz],e[nU]=o)}return t}function Gz(e,t){var o=[];if(ppe)o=ppe(e);else for(var n in e)typeof n=="string"&&Oc(e,n)&&o.push(n);if(o&&o.length>0)for(var r=0;r=0;o--)if(e[o]===t)return!0;return!1}function h$e(e,t,o,n){function r(l,c,u){var p=c[u];if(p[iU]&&n){var m=l[Bz]||{};m[ux]!==!1&&(p=(m[c[hb]]||{})[u]||p)}return function(){return p.apply(l,arguments)}}var i=bb();Gz(o,function(l){i[l]=r(t,o,l)});for(var s=Pm(e),a=[];s&&!uU(s)&&!pU(a,s);)Gz(s,function(l){!i[l]&&dU(s,l,!dx)&&(i[l]=r(t,s,l))}),a.push(s),s=Pm(s);return i}function b$e(e,t,o,n){var r=null;if(e&&Oc(o,hb)){var i=e[Bz]||bb();if(r=(i[o[hb]]||bb())[t],r||Vz("Missing ["+t+"] "+Hz),!r[sU]&&i[ux]!==!1){for(var s=!Oc(e,t),a=Pm(e),l=[];s&&a&&!uU(a)&&!pU(l,a);){var c=a[t];if(c){s=c===n;break}l.push(a),a=Pm(a)}try{s&&(e[t]=r),r[sU]=1}catch{i[ux]=!1}}}return r}function y$e(e,t,o){var n=t[e];return n===o&&(n=Pm(t)[e]),typeof n!==Hz&&Vz("["+e+"] is not a "+Hz),n}function _$e(e,t,o,n,r){function i(l,c){var u=function(){var p=b$e(this,c,l,u)||y$e(c,l,u);return p.apply(this,arguments)};return u[iU]=1,u}if(!Uz(e)){var s=o[Bz]=o[Bz]||bb();if(!Uz(s)){var a=s[t]=s[t]||bb();s[ux]!==!1&&(s[ux]=!!r),Uz(a)||Gz(o,function(l){dU(o,l,!1)&&o[l]!==n[l]&&(a[l]=o[l],delete o[l],(!Oc(e,l)||e[l]&&!e[l][iU])&&(e[l]=i(e,l)))})}}}function w$e(e,t){if(dx){for(var o=[],n=Pm(t);n&&!uU(n)&&!pU(o,n);){if(n===e)return!0;o.push(n),n=Pm(n)}return!1}return!0}function rU(e,t){return Oc(e,wl)?e.name||t||upe:((e||{})[qz]||{}).name||t||upe}function dt(e,t,o,n){Oc(e,wl)||Vz("theClass is an invalid class definition.");var r=e[wl];w$e(r,t)||Vz("["+rU(e)+"] not in hierarchy of ["+rU(t)+"]");var i=null;Oc(r,hb)?i=r[hb]:(i=m$e+rU(e,"_")+"$"+lU.n,lU.n++,r[hb]=i);var s=dt[gpe],a=!!s[Fz];a&&n&&n[Fz]!==void 0&&(a=!!n[Fz]);var l=f$e(t),c=h$e(r,t,l,a);o(t,c);var u=!!dx&&!!s[aU];u&&n&&(u=!!n[aU]),_$e(r,i,t,l,u!==!1)}dt[gpe]=lU.o;var zs="function",li="object",ci="undefined",Ao="prototype",px="hasOwnProperty";var Fi=Object,yb=Fi[Ao],_b=Fi.assign,Qz=Fi.create,wb=Fi.defineProperty,vl=yb[px];var fpe=null;function Ps(e){e===void 0&&(e=!0);var t=e===!1?null:fpe;return t||(typeof globalThis!==ci&&(t=globalThis),!t&&typeof self!==ci&&(t=self),!t&&typeof window!==ci&&(t=window),!t&&typeof global!==ci&&(t=global),fpe=t),t}function vb(e){throw new TypeError(e)}function xb(e){var t=Qz;if(t)return t(e);if(e==null)return{};var o=typeof e;o!==li&&o!==zs&&vb("Object prototype may only be an Object:"+e);function n(){}return n[Ao]=e,new n}var Omt=(Ps()||{}).Symbol,Fmt=(Ps()||{}).Reflect;var x$e=function(e){for(var t,o=1,n=arguments.length;o=n&&!(o=e===t)){for(var i=r-1,s=n-1;s>=0;s--){if(e[i]!=t[s])return!1;i--}o=!0}return o}function kn(e,t){return e&&t?e[dd](t)!==-1:!1}var Ct=z$e||$$e;function $$e(e){return!!(e&&Epe[Tn](e)==="[object Array]")}function Um(e){return!!(e&&Epe[Tn](e)==="[object Error]")}function Ve(e){return typeof e=="string"}function vx(e){return typeof e=="number"}function zpe(e){return typeof e=="boolean"}function xpe(e){var t=!1;if(e&&typeof e=="object"){var o=sP?sP(e):kU(e);o?(o[iP]&&vl[Tn](o,iP)&&(o=o[iP]),t=typeof o===zs&&Ape[Tn](o)===P$e):t=!0}return t}function Bi(e){if(e)return A$e?e[kpe]():D$e(e)}function D$e(e){if(e&&e.getUTCFullYear){var t=function(o){var n=String(o);return n[tt]===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 $e(e,t,o){var n=e[tt];try{for(var r=0;r=0?r:n-Math.abs(r),0);i=3)n=arguments[2];else{for(;i0&&zpe(a)&&(c=a,a=s[u]||{},u++),gr(a)||(a={});u=g&&(l[x](_[cd]),n[z]=!0)}else r>=g&&l[x](_[cd]);c(g,_)}},l[wx]=function(g){Npe("warn",g),m("warning",g)},l[rP]=function(g){Npe("error",g),m("error",g)},l.resetInternalMessageCount=function(){o=0,n={}},l[hU]=c;function c(g,f){if(!p()){var y=!0,h=X$e+f[kb];if(n[h]?y=!1:n[h]=!0,y&&(g<=i&&(l.queue[xt](f),o++,m(g===1?"error":"warn",f)),o===s)){var v="Internal events throttle limit per PageView reached for this app.",_=new Hc(23,v,!1);l.queue[xt](_),g===1?l[rP](v):l[wx](v)}}}function u(g){r=Gi(g.loggingLevelConsole,0),i=Gi(g.loggingLevelTelemetry,1),s=Gi(g.maxMessageLimit,25),a=Gi(g.enableDebug,Gi(g[fU],!1))}function p(){return o>=s}function m(g,f){var y=HU(t||{});y&&y[Is]&&y[Is](g,f)}})}return e.__ieDyn=1,e}();function BU(e){return e||new Bm}function ve(e,t,o,n,r,i){i===void 0&&(i=!1),BU(e).throwInternal(t,o,n,r,i)}function $s(e,t){BU(e)[wx](t)}function GU(e,t,o){BU(e)[hU](t,o)}var jb="ctx",WU="ParentContextKey",xx="ChildrenContextKey",eDe=null,Tx=function(){function e(t,o,n){var r=this,i=!1;if(r.start=Dn(),r[mr]=t,r[Ea]=n,r[hx]=function(){return!1},Ye(o)){var s;i=Rs(r,"payload",function(){return!s&&Ye(o)&&(s=o(),o=null),s})}r[jm]=function(a){return a?a===e[WU]||a===e[xx]?r[a]:(r[jb]||{})[a]:null},r[za]=function(a,l){if(a)if(a===e[WU])r[a]||(r[hx]=function(){return!0}),r[a]=l;else if(a===e[xx])r[a]=l;else{var c=r[jb]=r[jb]||{};c[a]=l}},r[oP]=function(){var a=0,l=r[jm](e[xx]);if(Ct(l))for(var c=0;c>>=0),kx=123456789+e&Gm,Sx=987654321-e&Gm,Ope=!0}function oDe(){try{var e=Dn()&2147483647;tDe((Math.random()*jpe^e)+e)}catch{}}function Vm(e){var t=0,o=OU()||FU();return o&&o.getRandomValues&&(t=o.getRandomValues(new Uint32Array(1))[0]&Gm),t===0&&Db()&&(Ope||oDe(),t=KU()&Gm),t===0&&(t=Math.floor(jpe*Math.random()|0)),e||(t>>>=0),t}function KU(e){Sx=36969*(Sx&65535)+(Sx>>16)&Gm,kx=18e3*(kx&65535)+(kx>>16)&Gm;var t=(Sx<<16)+(kx&65535)>>>0&Gm|0;return e||(t>>>=0),t}function Bc(e){e===void 0&&(e=22);for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=Vm()>>>0,n=0,r=ft;r[tt]>>=6,n===5&&(o=(Vm()<<2&4294967295|o&3)>>>0,n=0);return r}var Fpe=wb,Upe="2.8.13",nDe="."+Bc(6),rDe=0;function iDe(e,t,o){if(Fpe)try{return Fpe(e,t,{value:o,enumerable:!1,configurable:!0}),!0}catch{}return!1}function qpe(e){return e[Xz]===1||e[Xz]===9||!+e[Xz]}function sDe(e,t){var o=t[e.id];if(!o){o={};try{qpe(t)&&(iDe(t,e.id,o)||(t[e.id]=o))}catch{}}return o}function Kn(e,t){return t===void 0&&(t=!1),Fm(e+rDe+++(t?"."+Upe:ft)+nDe)}function hP(e){var t={id:Kn("_aiData-"+(e||ft)+"."+Upe),accept:function(o){return qpe(o)},get:function(o,n,r,i){var s=o[t.id];return s?s[Fm(n)]:(i&&(s=sDe(t,o),s[Fm(n)]=r),r)},kill:function(o,n){if(o&&o[n])try{delete o[n]}catch{}}};return t}var Hpe="toGMTString",Bpe="toUTCString",tq="cookie",ZU="expires",XU="enabled",Gpe="isCookieUseDisabled",Vpe="disableCookiesUsage",yd="_ckMgr",bP=null,JU=null,Wpe=null,Cx=Wo(),Qpe={},_P={};function aDe(e,t){var o=Wm[yd]||_P[yd];return o||(o=Wm[yd]=Wm(e,t),_P[yd]=o),o}function yP(e){return e?e.isEnabled():!0}function lDe(e){var t=e[Jz]=e[Jz]||{};if(jt(t,"domain",e.cookieDomain,SU,de),jt(t,"path",e.cookiePath||"/",null,de),de(t[XU])){var o=void 0;_o(e[Gpe])||(o=!e[Gpe]),_o(e[Vpe])||(o=!e[Vpe]),t[XU]=o}return t}function Jpe(e,t){return t&&e&&Ct(e.ignoreCookies)?e.ignoreCookies[dd](t)!==-1:!1}function cDe(e,t){return t&&e&&Ct(e.blockedCookies)&&e.blockedCookies[dd](t)!==-1?!0:Jpe(e,t)}function Qm(e,t){var o;if(e)o=e.getCookieMgr();else if(t){var n=t[Jz];n[yd]?o=n[yd]:o=Wm(t)}return o||(o=aDe(t,(e||{})[Mn])),o}function Wm(e,t){var o,n=lDe(e||_P),r=n.path||"/",i=n.domain,s=n[XU]!==!1,a=(o={isEnabled:function(){var l=s&&eq(t),c=_P[yd];return l&&c&&a!==c&&(l=yP(c)),l}},o[fx]=function(l){s=l!==!1},o.set=function(l,c,u,p,m){var g=!1;if(yP(a)&&!cDe(n,l)){var f={},y=Vo(c||ft),h=y[dd](";");if(h!==-1&&(y=Vo(c[Cb](0,h)),f=Xpe(c[Cb](h+1))),jt(f,"domain",p||i,Lb,_o),!de(u)){var v=Db();if(_o(f[ZU])){var _=Dn(),x=_+u*1e3;if(x>0){var z=new Date;z.setTime(x),jt(f,ZU,Ype(z,v?Hpe:Bpe)||Ype(z,v?Hpe:Bpe)||ft,Lb)}}v||jt(f,"max-age",ft+u,null,_o)}var C=pi();C&&C.protocol==="https:"&&(jt(f,"secure",null,null,_o),JU===null&&(JU=!oq((zr()||{})[Eb])),JU&&jt(f,"SameSite","None",null,_o)),jt(f,"path",m||r,null,_o);var H=n.setCookie||Zpe;H(l,Kpe(y,f)),g=!0}return g},o.get=function(l){var c=ft;return yP(a)&&!Jpe(n,l)&&(c=(n.getCookie||uDe)(l)),c},o.del=function(l,c){var u=!1;return yP(a)&&(u=a.purge(l,c)),u},o.purge=function(l,c){var u,p=!1;if(eq(t)){var m=(u={},u.path=c||"/",u[ZU]="Thu, 01 Jan 1970 00:00:01 GMT",u);Db()||(m["max-age"]="0");var g=n.delCookie||Zpe;g(l,Kpe(ft,m)),p=!0}return p},o);return a[yd]=a,a}function eq(e){if(bP===null){bP=!1;try{var t=Cx||{};bP=t[tq]!==void 0}catch(o){ve(e,2,68,"Cannot access document.cookie - "+wt(o),{exception:je(o)})}}return bP}function Xpe(e){var t={};if(e&&e[tt]){var o=Vo(e)[pd](";");$e(o,function(n){if(n=Vo(n||ft),n){var r=n[dd]("=");r===-1?t[n]=null:t[Vo(n[Cb](0,r))]=Vo(n[Cb](r+1))}})}return t}function Ype(e,t){return Ye(e[t])?e[t]():null}function Kpe(e,t){var o=e||ft;return Et(t,function(n,r){o+="; "+n+(de(r)?ft:"="+r)}),o}function uDe(e){var t=ft;if(Cx){var o=Cx[tq]||ft;Wpe!==o&&(Qpe=Xpe(o),Wpe=o),t=Vo(Qpe[e]||ft)}return t}function Zpe(e,t){Cx&&(Cx[tq]=e+"="+t)}function oq(e){return Ve(e)?!!(kn(e,"CPU iPhone OS 12")||kn(e,"iPad; CPU OS 12")||kn(e,"Macintosh; Intel Mac OS X 10_14")&&kn(e,"Version/")&&kn(e,"Safari")||kn(e,"Macintosh; Intel Mac OS X 10_14")&&CU(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||kn(e,"Chrome/5")||kn(e,"Chrome/6")||kn(e,"UnrealEngine")&&!kn(e,"Chrome")||kn(e,"UCBrowser/12")||kn(e,"UCBrowser/11")):!1}var sme="on",eme="attachEvent",tme="addEventListener",ome="detachEvent",nme="removeEventListener",nq="events",rq="visibilitychange",TP="pagehide";var ame="unload",lme="beforeunload",cme=Kn("aiEvtPageHide"),ift=Kn("aiEvtPageShow"),dDe=/\.[\.]+/g,pDe=/[\.]+$/,mDe=1,wP=hP("events"),gDe=/^([^.]*)(?:\.(.+)|)/;function rme(e){return e&&e[Aa]?e[Aa](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,ft):e}function iq(e,t){var o;if(t){var n=ft;Ct(t)?(n=ft,$e(t,function(i){i=rme(i),i&&(i[0]!=="."&&(i="."+i),n+=i)})):n=rme(t),n&&(n[0]!=="."&&(n="."+n),e=(e||ft)+n)}var r=gDe.exec(e||ft)||[];return o={},o[kl]=r[1],o.ns=(r[2]||ft).replace(dDe,".").replace(pDe,ft)[pd](".").sort().join("."),o}function ume(e,t,o){o===void 0&&(o=!0);var n=wP.get(e,nq,{},o),r=n[t];return r||(r=n[t]=[]),r}function dme(e,t,o,n){e&&t&&t[kl]&&(e[nme]?e[nme](t[kl],o,n):e[ome]&&e[ome](sme+t[kl],o))}function fDe(e,t,o,n){var r=!1;return e&&t&&t[kl]&&o&&(e[tme]?(e[tme](t[kl],o,n),r=!0):e[eme]&&(e[eme](sme+t[kl],o),r=!0)),r}function ime(e,t,o,n){for(var r=t[tt];r--;){var i=t[r];i&&(!o.ns||o.ns===i.evtName.ns)&&(!n||n(i))&&(dme(e,i.evtName,i[tP],i.capture),t[Ca](r,1))}}function hDe(e,t,o){if(t[kl])ime(e,ume(e,t[kl]),t,o);else{var n=wP.get(e,nq,{});Et(n,function(r,i){ime(e,i,t,o)}),di(n)[tt]===0&&wP.kill(e,nq)}}function Wi(e,t){var o;return t?(Ct(t)?o=[e].concat(t):o=[e,t],o=iq("xx",o).ns[pd](".")):o=e,o}function Ds(e,t,o,n,r){var i;r===void 0&&(r=!1);var s=!1;if(e)try{var a=iq(t,n);if(s=fDe(e,a,o,r),s&&wP.accept(e)){var l=(i={guid:mDe++,evtName:a},i[tP]=o,i.capture=r,i);ume(e,a.type)[xt](l)}}catch{}return s}function _d(e,t,o,n,r){if(r===void 0&&(r=!1),e)try{var i=iq(t,n),s=!1;hDe(e,i,function(a){return i.ns&&!o||a[tP]===o?(s=!0,!0):!1}),s||dme(e,i,o,r)}catch{}}function pme(e,t,o){var n=!1,r=Vi();r&&(n=Ds(r,e,t,o),n=Ds(r.body,e,t,o)||n);var i=Wo();return i&&(n=Ds(i,e,t,o)||n),n}function mme(e,t,o){var n=Vi();n&&(_d(n,e,t,o),_d(n.body,e,t,o));var r=Wo();r&&_d(r,e,t,o)}function vP(e,t,o,n){var r=!1;return t&&e&&e[tt]>0&&$e(e,function(i){i&&(!o||$n(o,i)===-1)&&(r=pme(i,t,n)||r)}),r}function gme(e,t,o,n){var r=!1;return t&&e&&Ct(e)&&(r=vP(e,t,o,n),!r&&o&&o[tt]>0&&(r=vP(e,t,null,n))),r}function xP(e,t,o){e&&Ct(e)&&$e(e,function(n){n&&mme(n,t,o)})}function sq(e,t,o){return gme([lme,ame,TP],e,t,o)}function aq(e,t){xP([lme,ame,TP],e,t)}function Ex(e,t,o){function n(s){var a=Wo();e&&a&&a.visibilityState==="hidden"&&e(s)}var r=Wi(cme,o),i=vP([TP],e,t,r);return(!t||$n(t,rq)===-1)&&(i=vP([rq],n,t,r)||i),!i&&t&&(i=Ex(e,null,o)),i}function lq(e,t){var o=Wi(cme,t);xP([TP],e,o),xP([rq],null,o)}function mi(){for(var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=ft,o,n=0;n<4;n++)o=Vm(),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 r=e[8+(Vm()&3)|0];return t[md](0,8)+t[md](9,4)+"4"+t[md](13,3)+r+t[md](16,3)+t[md](19,12)}var cq="00",_De="ff",hme="00000000000000000000000000000000",bme="0000000000000000";function Ax(e,t,o){return e&&e[tt]===t&&e!==o?!!e.match(/^[\da-f]*$/):!1}function fme(e,t,o){return Ax(e,t)?e:o}function wDe(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[tt]<2;)t="0"+t;return t}function zx(e,t,o,n){var r;return r={},r[bU]=Ax(n,2,_De)?n:cq,r[bx]=Ym(e)?e:mi(),r.spanId=Km(t)?t:mi()[md](0,16),r.traceFlags=o>=0&&o<=255?o:1,r}function Ym(e){return Ax(e,32,hme)}function Km(e){return Ax(e,16,bme)}function Px(e){if(e){var t=wDe(e[yx]);Ax(t,2)||(t="01");var o=e[bU]||cq;return o!=="00"&&o!=="ff"&&(o=cq),"".concat(o,"-").concat(fme(e.traceId,32,hme),"-").concat(fme(e.spanId,16,bme),"-").concat(t)}return""}var vDe=hP("plugin");function Gc(e){return vDe.get(e,"state",{},!0)}function kP(e,t){for(var o=[],n=null,r=e[Hi](),i;r;){var s=r[$m]();if(s){n&&Ye(n[ud])&&Ye(s[ui])&&n[ud](s);var a=!1;Ye(s[Ui])?a=s[Ui]():(i=Gc(s),a=i[Ui]),a||o[xt](s),n=s,r=r[Hi]()}}$e(o,function(l){var c=e[zo]();l[ka](e.getCfg(),c,t,e[Hi]()),i=Gc(l),!l[zo]&&!i[zo]&&(i[zo]=c),i[Ui]=!0,delete i[qi]})}function SP(e){return e.sort(function(t,o){var n=0;if(o){var r=Ye(o[ui]);Ye(t[ui])?n=r?t[Ls]-o[Ls]:1:r&&(n=-1)}else n=t?1:-1;return n})}function yme(e){var t={};return{getName:function(){return t[mr]},setName:function(o){e&&e.setName(o),t[mr]=o},getTraceId:function(){return t[bx]},setTraceId:function(o){e&&e.setTraceId(o),Ym(o)&&(t[bx]=o)},getSpanId:function(){return t[nP]},setSpanId:function(o){e&&e.setSpanId(o),Km(o)&&(t[nP]=o)},getTraceFlags:function(){return t[yx]},setTraceFlags:function(o){e&&e.setTraceFlags(o),t[yx]=o}}}var xDe="TelemetryPluginChain",_me="_hasRun",wme="_getTelCtx",vme=0;function TDe(e,t,o){for(;e;){if(e[$m]()===o)return e;e=e[Hi]()}return Cl([o],t[xl]||{},t)}function uq(e,t,o,n){var r=null,i=[];n!==null&&(r=n?TDe(e,o,n):e);var s={_next:l,ctx:{core:function(){return o},diagLog:function(){return Ia(o,t)},getCfg:function(){return t},getExtCfg:c,getConfig:u,hasNext:function(){return!!r},getNext:function(){return r},setNext:function(m){r=m},iterate:p,onComplete:a}};function a(m,g){for(var f=[],y=2;y0&&($e(g,function(f){try{f.func[Tn](f.self,f.args)}catch(y){ve(o[Mn],2,73,"Unexpected Exception during onComplete - "+je(y))}}),i=[])}return m}function c(m,g,f){g===void 0&&(g={}),f===void 0&&(f=0);var y;if(t){var h=t[Ab];h&&m&&(y=h[m])}if(!y)y=g;else if(gr(g)&&f!==0){var v=Mb(!0,g,y);t&&f===2&&Et(g,function(_){if(de(v[_])){var x=t[_];de(x)||(v[_]=x)}}),y=v}return y}function u(m,g,f){f===void 0&&(f=!1);var y,h=c(m,null);return h&&!de(h[g])?y=h[g]:t&&!de(t[g])&&(y=t[g]),de(y)?f:y}function p(m){for(var g;g=s._next();){var f=g[$m]();f&&m(f)}}return s}function Zn(e,t,o,n){var r=uq(e,t,o,n),i=r.ctx;function s(l){var c=r._next();return c&&c[ui](l,i),!c}function a(l,c){return l===void 0&&(l=null),Ct(l)&&(l=Cl(l,t,o,c)),Zn(l||i[Hi](),t,o,c)}return i[ao]=s,i[Fc]=a,i}function Ob(e,t,o){var n=t[xl]||{},r=uq(e,n,t,o),i=r.ctx;function s(l){var c=r._next();return c&&c.unload(i,l),!c}function a(l,c){return l===void 0&&(l=null),Ct(l)&&(l=Cl(l,n,t,c)),Ob(l||i[Hi](),t,c)}return i[ao]=s,i[Fc]=a,i}function Ix(e,t,o){var n=t[xl]||{},r=uq(e,n,t,o),i=r.ctx;function s(l){return i.iterate(function(c){Ye(c[Dm])&&c[Dm](i,l)})}function a(l,c){return l===void 0&&(l=null),Ct(l)&&(l=Cl(l,n,t,c)),Ix(l||i[Hi](),t,c)}return i[ao]=s,i[Fc]=a,i}function Cl(e,t,o,n){var r=null,i=!n;if(Ct(e)&&e[tt]>0){var s=null;$e(e,function(a){if(!i&&n===a&&(i=!0),i&&a&&Ye(a[ui])){var l=kDe(a,t,o);r||(r=l),s&&s._setNext(l),s=l}})}return n&&!r?Cl([n],t,o):r}function kDe(e,t,o){var n=null,r=Ye(e[ui]),i=Ye(e[ud]),s;e?s=e[Sa]+"-"+e[Ls]+"-"+vme++:s="Unknown-0-"+vme++;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&&Ye(e[wme])&&(g=e[wme]()),g||(g=Zn(a,t,o)),g}function c(g,f,y,h,v){var _=!1,x=e?e[Sa]:xDe,z=g[_me];return z||(z=g[_me]={}),g.setNext(n),e&&bd(g[zo](),function(){return x+":"+y},function(){z[s]=!0;try{var C=n?n._id:ft;C&&(z[C]=!1),_=f(g)}catch(O){var H=n?z[n._id]:!0;H&&(_=!0),(!n||!H)&&ve(g[Is](),1,73,"Plugin ["+x+"] failed during "+y+" - "+je(O)+", run flags: "+je(z))}},h,v),_}function u(g,f){f=f||l();function y(h){if(!e||!r)return!1;var v=Gc(e);return v[qi]||v[_x]?!1:(i&&e[ud](n),e[ui](g,h),!0)}c(f,y,"processTelemetry",function(){return{item:g}},!g.sync)||f[ao](g)}function p(g,f){function y(){var h=!1;if(e){var v=Gc(e),_=e[zo]||v[zo];e&&(!_||_===g.core())&&!v[qi]&&(v[zo]=null,v[qi]=!0,v[Ui]=!1,e[qi]&&e[qi](g,f)===!0&&(h=!0))}return h}c(g,y,"unload",function(){},f[Ea])||g[ao](f)}function m(g,f){function y(){var h=!1;if(e){var v=Gc(e),_=e[zo]||v[zo];e&&(!_||_===g.core())&&!v[qi]&&e[Dm]&&e[Dm](g,f)===!0&&(h=!0)}return h}c(g,y,"update",function(){},!1)||g[ao](f)}return Sl(a)}var Lx=500,SDe="Channel has invalid priority - ";function xme(e,t,o){t&&Ct(t)&&t[tt]>0&&(t=t.sort(function(n,r){return n[Ls]-r[Ls]}),$e(t,function(n){n[Ls]0&&$e(c,function(y){if(y&&y.queue[tt]>0){var h=y.chain,v=u[Fc](h);v[Mm](f),p(v)}else g--}),f()}function r(c,u){var p=u||{reason:0};return n(e,c,function(m){m[ao](p)},function(){c[ao](p)}),!0}function i(c,u){var p=u||{reason:0,isAsync:!1};return n(e,c,function(m){m[ao](p)},function(){c[ao](p),a=!1}),!0}function s(c){var u=null;return e&&e[tt]>0&&$e(e,function(p){if(p&&p.queue[tt]>0&&($e(p.queue,function(m){if(m[Sa]===c)return u=m,-1}),u))return-1}),u}var a=!1,l={identifier:"ChannelControllerPlugin",priority:Lx,initialize:function(c,u,p,m){a=!0,$e(e,function(g){g&&g.queue[tt]>0&&kP(Zn(g.chain,c,u),p)})},isInitialized:function(){return a},processTelemetry:function(c,u){n(e,u||o(),function(p){p[ao](c)},function(){u[ao](c)})},update:r,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:i,getChannel:s,flush:function(c,u,p,m){var g=1,f=!1,y=null;m=m||5e3;function h(){g--,f&&g===0&&(y&&(clearTimeout(y),y=null),u&&u(f),u=null)}return n(e,o(),function(v){v.iterate(function(_){if(_[Tb]){g++;var x=!1;_[Tb](c,function(){x=!0,h()},p)||x||(c&&y==null?y=setTimeout(function(){y=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&&$e(e,function(i){return xme(n,i,o)}),t){var r=[];$e(t,function(i){i[Ls]>Lx&&r[xt](i)}),xme(n,r,o)}return n}function CP(){var e=[];function t(n){n&&e[xt](n)}function o(n,r){$e(e,function(i){try{i(n,r)}catch(s){ve(n[Is](),2,73,"Unexpected error calling unload handler - "+je(s))}}),e=[]}return{add:t,run:o}}var wd="getPlugin",La=function(){function e(){var t=this,o,n,r,i,s;c(),dt(e,t,function(u){u[ka]=function(p,m,g,f){l(p,m,f),o=!0},u[qi]=function(p,m){var g,f=u[zo];if(!f||p&&f!==p[zo]())return;var y,h=!1,v=p||Ob(null,f,r&&r[wd]?r[wd]():r),_=m||(g={reason:0},g[Ea]=!1,g);function x(){if(!h){h=!0,i.run(v,m);var z=s;s=[],$e(z,function(C){C.rm()}),y===!0&&v[ao](_),c()}}return!u[Sb]||u[Sb](v,_,x)!==!0?x():y=!0,y},u[Dm]=function(p,m){var g=u[zo];if(!g||p&&g!==p[zo]())return;var f,y=!1,h=p||Ix(null,g,r&&r[wd]?r[wd]():r),v=m||{reason:0};function _(){y||(y=!0,l(h.getCfg(),h.core(),h[Hi]()))}return!u._doUpdate||u._doUpdate(h,v,_)!==!0?_():f=!0,f},u._addHook=function(p){p&&(Ct(p)?s=s.concat(p):s[xt](p))},Rb(u,"_addUnloadCb",function(){return i},"add")}),t[Is]=function(u){return a(u)[Is]()},t[Ui]=function(){return o},t.setInitialized=function(u){o=u},t[ud]=function(u){r=u},t[ao]=function(u,p){p?p[ao](u):r&&Ye(r[ui])&&r[ui](u,null)},t._getTelCtx=a;function a(u){u===void 0&&(u=null);var p=u;if(!p){var m=n||Zn(null,{},t[zo]);r&&r[wd]?p=m[Fc](null,r[wd]):p=m[Fc](null,r)}return p}function l(u,p,m){u&&jt(u,Ab,[],null,de),!m&&p&&(m=p[Zz]()[Hi]());var g=r;r&&r[wd]&&(g=r[wd]()),t[zo]=p,n=Zn(m,u,p,g)}function c(){o=!1,t[zo]=null,n=null,r=null,s=[],i=CP()}}return e.__ieDyn=1,e}();var Sme=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.identifier="TelemetryInitializerPlugin",o.priority=199;var n,r;i(),dt(t,o,function(s,a){s.addTelemetryInitializer=function(l){var c={id:n++,fn:l};r[xt](c);var u={remove:function(){$e(r,function(p,m){if(p.id===c.id)return r[Ca](m,1),-1})}};return u},s[ui]=function(l,c){for(var u=!1,p=r[tt],m=0;m0){var N=n;n=[],$e(N,function(oe){ce()[ao](oe)})}},O.pollInternalLogs=function(N){return h=N||null,H=!1,C&&(clearInterval(C),C=null),pe(!0)};function pe(N){if(!C&&!H){var oe=N||O[Mn]&&O[Mn].queue[tt]>0;if(oe){var be=Gi(t.diagnosticLogInterval);(!be||!(be>0))&&(be=1e4),C=setInterval(function(){clearInterval(C),C=0,Gt()},be)}}return C}O[gU]=function(){H=!0,C&&(clearInterval(C),C=0,Gt())},Uc(O,function(){return y},["addTelemetryInitializer"]),O.unload=function(N,oe,be){var I;N===void 0&&(N=!0),o||Po(CDe),f&&Po(Eme);var Q=(I={reason:50},I[Ea]=N,I.flushComplete=!1,I),D=Ob(Bt(),O);D[Mm](function(){Ee(),oe&&oe(Q)},O);function J(ue){Q.flushComplete=ue,f=!0,_.run(D,Q),O[gU](),D[ao](Q)}Gt(),co(N,J,6,be)||J(!1)},O[$m]=Lt,O.addPlugin=function(N,oe,be,I){if(!N){I&&I(!1),W(zme);return}var Q=Lt(N[Sa]);if(Q&&!oe){I&&I(!1),W("Plugin ["+N[Sa]+"] is already loaded!");return}var D={reason:16};function J(Ie){c[xt](N),D.added=[N],bt(D),I&&I(!0)}if(Q){var ue=[Q.plugin],Pe={reason:2,isAsync:!!be};fo(ue,Pe,function(Ie){Ie?(D.removed=ue,D.reason|=32,J(!0)):I&&I(!1)})}else J(!1)},O.evtNamespace=function(){return v},O[Tb]=co,O.getTraceCtx=function(N){return z||(z=yme()),z},O.setTraceCtx=function(N){z=N||null},Rb(O,"addUnloadCb",function(){return _},"add");function Ee(){o=!1,t=Mb(!0,{},EDe),O[xl]=t,O[Mn]=new Bm(t),O[gx]=[],y=new Sme,n=[],r=null,i=null,s=null,a=null,l=null,u=null,c=[],p=null,m=null,g=null,f=!1,h=null,v=Kn("AIBaseCore",!0),_=CP(),z=null}function ce(){var N=Zn(Bt(),t,O);return N[Mm](pe),N}function bt(N){var oe=zDe(O[Mn],Lx,c);u=oe[zo],l=null;var be=oe.all;if(g=Sl(kme(m,be,O)),p){var I=$n(be,p);I!==-1&&be[Ca](I,1),I=$n(u,p),I!==-1&&u[Ca](I,1),p._setQueue(g)}else p=Tme(g,O);be[xt](p),u[xt](p),O[gx]=SP(be),p[ka](t,O,be);var Q=ce();kP(Q,be),O[gx]=Sl(SP(u||[])).slice(),N&&$(N)}function Lt(N){var oe,be=null,I=null;return $e(O[gx],function(Q){if(Q[Sa]===N&&Q!==p&&Q!==y)return I=Q,-1}),!I&&p&&(I=p.getChannel(N)),I&&(be=(oe={plugin:I},oe[fx]=function(Q){Gc(I)[_x]=!Q},oe.isEnabled=function(){var Q=Gc(I);return!Q[qi]&&!Q[_x]},oe.remove=function(Q,D){var J;Q===void 0&&(Q=!0);var ue=[I],Pe=(J={reason:1},J[Ea]=Q,J);fo(ue,Pe,function(Ie){Ie&&bt({reason:32,removed:ue}),D&&D(Ie)})},oe)),be}function Bt(){if(!l){var N=(u||[]).slice();$n(N,y)===-1&&N[xt](y),l=Cl(SP(N),t,O)}return l}function fo(N,oe,be){if(N&&N[tt]>0){var I=Cl(N,t,O),Q=Ob(I,O);Q[Mm](function(){var D=!1,J=[];$e(c,function(Pe,Ie){Ame(Pe,N)?D=!0:J[xt](Pe)}),c=J;var ue=[];m&&($e(m,function(Pe,Ie){var vt=[];$e(Pe,function(qt){Ame(qt,N)?D=!0:vt[xt](qt)}),ue[xt](vt)}),m=ue),be&&be(D),pe()}),Q[ao](oe)}else be(!1)}function Gt(){if(O[Mn]&&O[Mn].queue){var N=O[Mn].queue.slice(0);O[Mn].queue[tt]=0,$e(N,function(oe){var be,I=(be={},be[mr]=h||"InternalMessageId: "+oe[kb],be.iKey=Gi(t[Kz]),be.time=Bi(new Date),be.baseType=Hc.dataType,be.baseData={message:oe[cd]},be);O.track(I)})}}function co(N,oe,be,I){return p?p[Tb](N,oe,be||6,I):(oe&&oe(!1),!0)}function Zo(){var N=Gi(t.disableDbgExt);N===!0&&x&&(r[Rm](x),x=null),r&&!x&&N!==!0&&(x=$pe(t),r[Lm](x))}function Rt(){var N=Gi(t.enablePerfMgr);!N&&s&&(s=null),N&&jo(t,_U,ADe)}function De(){var N=jo(t,Ab,{});N.NotificationManager=r}function $(N){var oe=Ix(Bt(),O);oe[Mm](pe),(!O._updateHook||O._updateHook(oe,N)!==!0)&&oe[ao](N)}function W(N){var oe=O[Mn];oe?(ve(oe,2,73,N),pe()):Po(N)}})}return e.__ieDyn=1,e}();function EP(e,t,o,n){$e(e,function(r){if(r&&r[t])if(o)setTimeout(function(){return n(r)},0);else try{n(r)}catch{}})}var Ime=function(){function e(t){this.listeners=[];var o=!!(t||{}).perfEvtsSendAll;dt(e,this,function(n){n[Lm]=function(r){n.listeners[xt](r)},n[Rm]=function(r){for(var i=$n(n[Nm],r);i>-1;)n.listeners[Ca](i,1),i=$n(n[Nm],r)},n[zb]=function(r){EP(n[Nm],zb,!0,function(i){i[zb](r)})},n[gd]=function(r,i){EP(n[Nm],gd,!0,function(s){s[gd](r,i)})},n[Pb]=function(r,i){EP(n[Nm],Pb,i,function(s){s[Pb](r,i)})},n[fd]=function(r){r&&(o||!r[hx]())&&EP(n[Nm],fd,!1,function(i){r[Ea]?setTimeout(function(){return i[fd](r)},0):i[fd](r)})}})}return e.__ieDyn=1,e}();var dq=function(e){Rn(t,e);function t(){var o=e.call(this)||this;return dt(t,o,function(n,r){n[ka]=function(a,l,c,u){r[ka](a,l,c||new Bm(a),u||new Ime(a))},n.track=function(a){bd(n[Om](),function(){return"AppInsightsCore:track"},function(){a===null&&(s(a),Po("Invalid telemetry item")),i(a),r.track(a)},function(){return{item:a}},!a.sync)};function i(a){de(a[mr])&&(s(a),Po("telemetry name required"))}function s(a){var l=n[mx]();l&&l[gd]([a],2)}}),o}return t.__ieDyn=1,t}(Pme);var Lme="_aiHooks",Rme=["req","rsp","hkErr","fnErr"];function mq(e,t){if(e)for(var o=0;o=0&&r<=2&&mq(e,function(i,s){var a=i.cbks,l=a[Rme[r]];if(l){t.ctx=function(){var p=n[s]=n[s]||{};return p};try{l[Tl](t.inst,o)}catch(p){var c=t.err;try{var u=a[Rme[2]];u&&(t.err=p,u[Tl](t.inst,o))}catch{}finally{t.err=c}}}})}function IDe(e){return function(){var t,o=this,n=arguments,r=e.h,i=(t={},t[mr]=e.n,t.inst=o,t.ctx=null,t.set=c,t),s=[],a=l([i],n);i.evt=Io("event");function l(p,m){return mq(m,function(g){p[xt](g)}),p}function c(p,m){n=l([],n),n[p]=m,a=l([i],n)}pq(r,i,a,s,0);var u=e.f;if(u)try{i.rslt=u[Tl](o,n)}catch(p){throw i.err=p,pq(r,i,a,s,3),p}return pq(r,i,a,s,1),i.rslt}}function gq(e,t,o,n){var r=null;return e&&(aP(e,t)?r=e:o&&(r=gq(kU(e),t,n,!1))),r}function fq(e,t,o){return e?Rx(e[Ao],t,o,!1):null}function Mme(e,t,o,n){var r=o&&o[Lme];if(!r){r={i:0,n:t,f:o,h:[]};var i=IDe(r);i[Lme]=r,e[t]=i}var s={id:r.i,cbks:n,rm:function(){var a=this.id;mq(r.h,function(l,c){if(l.id===a)return r.h[Ca](c,1),1})}};return r.i++,r.h[xt](s),s}function Rx(e,t,o,n,r){if(n===void 0&&(n=!0),e&&t&&o){var i=gq(e,t,n,r);if(i){var s=i[t];if(typeof s===zs)return Mme(i,t,s,o)}}return null}function Fb(e,t,o,n,r){if(e&&t&&o){var i=gq(e,t,n,r)||e;if(i)return Mme(i,t,i[t],o)}return null}var Ra="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Ub="sampleRate",qb="ProcessLegacy",Mx="http.method",vd="https://dc.services.visualstudio.com",Vc="/v2/track",Qo="not_specified",AP="iKey";function Zm(e){var t=null;if(Ye(Event))t=new Event(e);else{var o=Wo();o&&o.createEvent&&(t=o.createEvent("Event"),t.initEvent(e,!0,!0))}return t}var Wc="split",pt="length",El="toLowerCase",$x="ingestionendpoint",Ma="toString",zP="removeItem",on="name",Qc="message",$me="count";var Dx="stringify",Nx="pathname",hq="correlationHeaderExcludePatterns",Hb="indexOf";var Jm="exceptions",Ns="parsedStack",fr="properties",hr="measurements",Xm="sizeInBytes",Al="typeName",eg="severityLevel",PP="problemGroup",IP="isManual",bq="CreateFromInterface",tg="assembly",jx="hasFullStack",Ox="level",og="method",Bb="fileName",Gb="line",ng="duration",yq="receivedResponse",rg="substring",Dme="sanitizeKeyAndAddUniqueness",Nme="sanitizeException",jme="sanitizeProperties",Ome="sanitizeMeasurements";var Fx="";function js(e,t){return t===void 0&&(t=!1),e==null?t:e.toString()[El]()==="true"}function Qi(e){(isNaN(e)||e<0)&&(e=0),e=Math.round(e);var t=Fx+e%1e3,o=Fx+Math.floor(e/1e3)%60,n=Fx+Math.floor(e/(1e3*60))%60,r=Fx+Math.floor(e/(1e3*60*60))%24,i=Math.floor(e/(1e3*60*60*24));return t=t[pt]===1?"00"+t:t[pt]===2?"0"+t:t,o=o[pt]<2?"0"+o:o,n=n[pt]<2?"0"+n:n,r=r[pt]<2?"0"+r:r,(i>0?i+".":Fx)+r+":"+n+":"+o+"."+t}function _q(e,t,o,n,r){return!r&&Ve(e)&&(e==="Script error."||e==="Script error")}var oo=PU({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 Vb=cP({LocalStorage:0,SessionStorage:1}),HDe=cP({AI:0,AI_AND_W3C:1,W3C:2});var xd=void 0,Td=void 0;function wq(){return Ux()?LP(Vb.LocalStorage):null}function LP(e){try{if(de(Ps()))return null;var t=new Date()[Ma](),o=Io(e===Vb.LocalStorage?"localStorage":"sessionStorage");o.setItem(t,t);var n=o.getItem(t)!==t;if(o[zP](t),!n)return o}catch{}return null}function vq(){return kd()?LP(Vb.SessionStorage):null}function xq(){xd=!1,Td=!1}function Tq(){xd=Ux(!0),Td=kd(!0)}function Ux(e){return(e||xd===void 0)&&(xd=!!LP(Vb.LocalStorage)),xd}function kq(e,t){var o=wq();if(o!==null)try{return o.getItem(t)}catch(n){xd=!1,ve(e,2,1,"Browser failed read of local storage. "+wt(n),{exception:je(n)})}return null}function Sq(e,t,o){var n=wq();if(n!==null)try{return n.setItem(t,o),!0}catch(r){xd=!1,ve(e,2,3,"Browser failed write to local storage. "+wt(r),{exception:je(r)})}return!1}function Cq(e,t){var o=wq();if(o!==null)try{return o[zP](t),!0}catch(n){xd=!1,ve(e,2,5,"Browser failed removal of local storage item. "+wt(n),{exception:je(n)})}return!1}function kd(e){return(e||Td===void 0)&&(Td=!!LP(Vb.SessionStorage)),Td}function Wb(e,t){var o=vq();if(o!==null)try{return o.getItem(t)}catch(n){Td=!1,ve(e,2,2,"Browser failed read of session storage. "+wt(n),{exception:je(n)})}return null}function qx(e,t,o){var n=vq();if(n!==null)try{return n.setItem(t,o),!0}catch(r){Td=!1,ve(e,2,4,"Browser failed write to session storage. "+wt(r),{exception:je(r)})}return!1}function Eq(e,t){var o=vq();if(o!==null)try{return o[zP](t),!0}catch(n){Td=!1,ve(e,2,6,"Browser failed removal of session storage item. "+wt(n),{exception:je(n)})}return!1}var gi;function RP(e,t,o){var n=t[pt],r=Aq(e,t);if(r[pt]!==n){for(var i=0,s=r;o[s]!==void 0;)i++,s=r[rg](0,147)+zq(i);r=s}return r}function Aq(e,t){var o;return t&&(t=Vo(t[Ma]()),t[pt]>150&&(o=t[rg](0,150),ve(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:t},!0))),o||t}function Kt(e,t,o){o===void 0&&(o=1024);var n;return t&&(o=o||1024,t=Vo(t),t.toString()[pt]>o&&(n=t[Ma]()[rg](0,o),ve(e,2,61,"string value is too long. It has been truncated to "+o+" characters.",{value:t},!0))),n||t}function zl(e,t){return DP(e,t,2048,66)}function Qb(e,t){var o;return t&&t[pt]>32768&&(o=t[rg](0,32768),ve(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),o||t}function MP(e,t){var o;if(t){var n=""+t;n[pt]>32768&&(o=n[rg](0,32768),ve(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0))}return o||t}function br(e,t){if(t){var o={};Et(t,function(n,r){if(gr(r)&&Pa())try{r=Sn()[Dx](r)}catch(i){ve(e,2,49,"custom property is not valid",{exception:i},!0)}r=Kt(e,r,8192),n=RP(e,n,o),o[n]=r}),t=o}return t}function yr(e,t){if(t){var o={};Et(t,function(n,r){n=RP(e,n,o),o[n]=r}),t=o}return t}function $P(e,t){return t&&DP(e,t,128,69)[Ma]()}function DP(e,t,o,n){var r;return t&&(t=Vo(t),t[pt]>o&&(r=t[rg](0,o),ve(e,2,n,"input is too long, it has been truncated to "+o+" characters.",{data:t},!0))),r||t}function zq(e){var t="00"+e;return t.substr(t[pt]-3)}var Fme=(gi={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},gi[Dme]=RP,gi.sanitizeKey=Aq,gi.sanitizeString=Kt,gi.sanitizeUrl=zl,gi.sanitizeMessage=Qb,gi[Nme]=MP,gi[jme]=br,gi[Ome]=yr,gi.sanitizeId=$P,gi.sanitizeInput=DP,gi.padNumber=zq,gi.trim=Vo,gi);var Ume=Wo()||{},qme=0,BDe=[null,null,null,null,null];function Hx(e){var t=qme,o=BDe,n=o[t];return Ume.createElement?o[t]||(n=o[t]=Ume.createElement("a")):n={host:Pq(e,!0)},n.href=e,t++,t>=o[pt]&&(t=0),qme=t,n}function NP(e){var t,o=Hx(e);return o&&(t=o.href),t}function jP(e,t){return e?e.toUpperCase()+" "+t:t}function Pq(e,t){var o=OP(e,t)||"";if(o){var n=o.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[pt]>3&&Ve(n[2])&&n[2][pt]>0)return n[2]+(n[3]||"")}return o}function OP(e,t){var o=null;if(e){var n=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(n!=null&&n[pt]>2&&Ve(n[2])&&n[2][pt]>0&&(o=n[2]||"",t&&n[pt]>2)){var r=(n[1]||"")[El](),i=n[3]||"";(r==="http"&&i===":80"||r==="https"&&i===":443")&&(i=""),o+=i}}return o}var VDe=[vd+Vc,"https://breeze.aimon.applicationinsights.io"+Vc,"https://dc-int.services.visualstudio.com"+Vc];function ig(e){return $n(VDe,e[El]())!==-1}var Yc={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,o){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e[hq]){for(var n=0;n0},getCorrelationContext:function(e){if(e){var t=Yc.getCorrelationContextValue(e,oo[1]);if(t&&t!==Yc.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var o=e[Wc](","),n=0;n0){var a=Hx(t);if(r=a.host,!i)if(a[Nx]!=null){var l=a.pathname[pt]===0?"/":a[Nx];l.charAt(0)!=="/"&&(l="/"+l),s=a[Nx],i=Kt(e,o?o+" "+l:l)}else i=Kt(e,t)}else r=n,i=n;return{target:r,name:i,data:s}}function Yb(){var e=Ms();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return Dn()}function Cn(e,t){var o=null;return e!==0&&t!==0&&!de(e)&&!de(t)&&(o=t-e),o}function sg(e,t){var o=e||{};return{getName:function(){return o[on]},setName:function(n){t&&t.setName(n),o[on]=n},getTraceId:function(){return o.traceID},setTraceId:function(n){t&&t.setTraceId(n),Ym(n)&&(o.traceID=n)},getSpanId:function(){return o.parentID},setSpanId:function(n){t&&t.setSpanId(n),Km(n)&&(o.parentID=n)},getTraceFlags:function(){return o.traceFlags},setTraceFlags:function(n){t&&t.setTraceFlags(n),o.traceFlags=n}}}var WDe=";",QDe="=";function Iq(e){if(!e)return{};var t=e[Wc](WDe),o=EU(t,function(r,i){var s=i[Wc](QDe);if(s[pt]===2){var a=s[0][El](),l=s[1];r[a]=l}return r},{});if(di(o)[pt]>0){if(o.endpointsuffix){var n=o.location?o.location+".":"";o[$x]=o[$x]||"https://"+n+"dc."+o.endpointsuffix}o[$x]=o[$x]||vd}return o}var FP=function(){function e(t,o,n){var r=this,i=this;i.ver=1,i.sampleRate=100,i.tags={},i[on]=Kt(t,n)||Qo,i.data=o,i.time=Bi(new Date),i.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return r.sampleRate===100?4:1},tags:1,data:1}}return e}();var Yi=function(){function e(t,o,n,r){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var i=this;i.ver=2,i[on]=Kt(t,o)||Qo,i[fr]=br(t,n),i[hr]=yr(t,r)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Event",e.dataType="EventData",e}();var YDe="",Kb="error",fi="stack",Rq="stackDetails",Bme="errorSrc",Mq="message",Wme="description";function $q(e,t){var o=e;return o&&!Ve(o)&&(JSON&&JSON[Dx]?(o=JSON[Dx](e),t&&(!o||o==="{}")&&(Ye(e[Ma])?o=e[Ma]():o=""+e)):o=""+e+" - (Missing JSON.stringify)"),o||""}function Qme(e,t){var o=e;return e&&(o&&!Ve(o)&&(o=e[Mq]||e[Wme]||o),o&&!Ve(o)&&(o=$q(o,!0)),e.filename&&(o=o+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),t&&t!=="String"&&t!=="Object"&&t!=="Error"&&(o||"")[Hb](t)===-1&&(o=t+": "+o),o||""}function KDe(e){try{if(gr(e))return"hasFullStack"in e&&"typeName"in e}catch{}return!1}function ZDe(e){try{if(gr(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch{}return!1}function Gme(e){return e&&e.src&&Ve(e.src)&&e.obj&&Ct(e.obj)}function ag(e){var t=e||"";Ve(t)||(Ve(t[fi])?t=t[fi]:t=""+t);var o=t[Wc](` `);return{src:t,obj:o}}function JDe(e){for(var t=[],o=e[Wc](` `),n=0;n0){t=[];var n=0,r=0;$e(o,function(f){var y=f[Ma]();if(Dq.regex.test(y)){var h=new Dq(y,n++);r+=h[Xm],t.push(h)}});var i=32*1024;if(r>i)for(var s=0,a=t[pt]-1,l=0,c=s,u=a;si){var g=u-c+1;t.splice(c,g);break}c=s,u=a,s++,a--}}return t}function UP(e){var t="";if(e&&(t=e.typeName||e[on]||"",!t))try{var o=/function (.{1,200})\(/,n=o.exec(e.constructor[Ma]());t=n&&n[pt]>1?n[1]:""}catch{}return t}function Lq(e){if(e)try{if(!Ve(e)){var t=UP(e),o=$q(e,!1);return(!o||o==="{}")&&(e[Kb]&&(e=e[Kb],t=UP(e)),o=$q(e,!0)),o[Hb](t)!==0&&t!=="String"?t+":"+o:o}}catch{}return""+(e||"")}var Jn=function(){function e(t,o,n,r,i,s){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,ZDe(o)?(a[Jm]=o[Jm]||[],a[fr]=o[fr],a[hr]=o[hr],o[eg]&&(a[eg]=o[eg]),o.id&&(a.id=o.id),o[PP]&&(a[PP]=o[PP]),de(o[IP])||(a[IP]=o[IP])):(n||(n={}),a[Jm]=[new Vme(t,o,n)],a[fr]=br(t,n),a[hr]=yr(t,r),i&&(a[eg]=i),s&&(a.id=s))}return e.CreateAutoException=function(t,o,n,r,i,s,a,l){var c,u=UP(i||s||t);return c={},c[Qc]=Qme(t,u),c.url=o,c.lineNumber=n,c.columnNumber=r,c.error=Lq(i||s||t),c.evt=Lq(s||t),c[Al]=u,c.stackDetails=Yme(a||i||s),c.errorSrc=l,c},e.CreateFromInterface=function(t,o,n,r){var i=o[Jm]&&qm(o[Jm],function(a){return Vme[bq](t,a)}),s=new e(t,Go(Go({},o),{exceptions:i}),n,r);return s},e.prototype.toInterface=function(){var t,o=this,n=o.exceptions,r=o.properties,i=o.measurements,s=o.severityLevel,a=o.problemGroup,l=o.id,c=o.isManual,u=n instanceof Array&&qm(n,function(p){return p.toInterface()})||void 0;return t={ver:"4.0"},t[Jm]=u,t.severityLevel=s,t.properties=r,t.measurements=i,t.problemGroup=a,t.id=l,t.isManual=c,t},e.CreateSimpleException=function(t,o,n,r,i,s){var a;return{exceptions:[(a={},a[jx]=!0,a.message=t,a.stack=i,a.typeName=o,a)]}},e.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",e.dataType="ExceptionData",e.formatError=Lq,e}();var Vme=function(){function e(t,o,n){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var r=this;if(KDe(o))r[Al]=o[Al],r[Qc]=o[Qc],r[fi]=o[fi],r[Ns]=o[Ns]||[],r[jx]=o[jx];else{var i=o,s=i&&i.evt;Um(i)||(i=i[Kb]||s||i),r[Al]=Kt(t,UP(i))||Qo,r[Qc]=Qb(t,Qme(o||i,r[Al]))||Qo;var a=o[Rq]||Yme(o);r[Ns]=e1e(a),Ct(r[Ns])&&qm(r[Ns],function(l){return l[tg]=Kt(t,l[tg])}),r[fi]=MP(t,XDe(a)),r.hasFullStack=Ct(r.parsedStack)&&r.parsedStack[pt]>0,n&&(n[Al]=n[Al]||r[Al])}}return e.prototype.toInterface=function(){var t,o=this,n=o[Ns]instanceof Array&&qm(o[Ns],function(i){return i.toInterface()}),r=(t={id:o.id,outerId:o.outerId,typeName:o[Al],message:o[Qc],hasFullStack:o[jx],stack:o[fi]},t[Ns]=n||void 0,t);return r},e.CreateFromInterface=function(t,o){var n=o[Ns]instanceof Array&&qm(o[Ns],function(i){return Dq[bq](i)})||o[Ns],r=new e(t,Go(Go({},o),{parsedStack:n}));return r},e}();var Dq=function(){function e(t,o){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var n=this;if(n[Xm]=0,typeof t=="string"){var r=t;n[Ox]=o,n[og]=YDe,n[tg]=Vo(r),n[Bb]="",n[Gb]=0;var i=r.match(e.regex);i&&i[pt]>=5&&(n[og]=Vo(i[2])||n[og],n[Bb]=Vo(i[4]),n[Gb]=parseInt(i[5])||0)}else n[Ox]=t[Ox],n[og]=t[og],n[tg]=t[tg],n[Bb]=t[Bb],n[Gb]=t[Gb],n[Xm]=0;n.sizeInBytes+=n.method[pt],n.sizeInBytes+=n.fileName[pt],n.sizeInBytes+=n.assembly[pt],n[Xm]+=e.baseSize,n.sizeInBytes+=n.level.toString()[pt],n.sizeInBytes+=n.line.toString()[pt]}return e.CreateFromInterface=function(t){return new e(t,null)},e.prototype.toInterface=function(){var t=this;return{level:t[Ox],method:t[og],assembly:t[tg],fileName:t[Bb],line:t[Gb]}},e.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,e.baseSize=58,e}();var Kme=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 Ki=function(){function e(t,o,n,r,i,s,a,l,c){this.aiDataContract={ver:1,metrics:1,properties:0};var u=this;u.ver=2;var p=new Kme;p[$me]=r>0?r:void 0,p.max=isNaN(s)||s===null?void 0:s,p.min=isNaN(i)||i===null?void 0:i,p[on]=Kt(t,o)||Qo,p.value=n,p.stdDev=isNaN(a)||a===null?void 0:a,u.metrics=[p],u[fr]=br(t,l),u[hr]=yr(t,c)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",e.dataType="MetricData",e}();var Pr=function(){function e(t,o,n,r,i,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=$P(t,a),l.url=zl(t,n),l[on]=Kt(t,o)||Qo,isNaN(r)||(l[ng]=Qi(r)),l[fr]=br(t,i),l[hr]=yr(t,s)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",e.dataType="PageviewData",e}();var Zi=function(){function e(t,o,n,r,i,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[ng]=Qi(i),g.success=s,g.resultCode=a+"",g.type=Kt(t,c);var f=Hme(t,n,l,r);g.data=zl(t,r)||f.data,g.target=Kt(t,f.target),u&&(g.target="".concat(g.target," | ").concat(u)),g[on]=Kt(t,f[on]),g[fr]=br(t,p),g[hr]=yr(t,m)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",e.dataType="RemoteDependencyData",e}();var $a=function(){function e(t,o,n,r,i){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var s=this;s.ver=2,o=o||Qo,s[Qc]=Qb(t,o),s[fr]=br(t,r),s[hr]=yr(t,i),n&&(s[eg]=n)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Message",e.dataType="MessageData",e}();var Da=function(){function e(t,o,n,r,i,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=zl(t,n),l[on]=Kt(t,o)||Qo,l[fr]=br(t,i),l[hr]=yr(t,s),a&&(l.domProcessing=a.domProcessing,l[ng]=a[ng],l.networkConnect=a.networkConnect,l.perfTotal=a.perfTotal,l[yq]=a[yq],l.sentRequest=a.sentRequest)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",e.dataType="PageviewPerformanceData",e}();var Pl=function(){function e(t,o){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=o}return e}();function Cd(e){var t="ai."+e+".";return function(o){return t+o}}var Bx=Cd("application"),En=Cd("device"),qP=Cd("location"),Zb=Cd("operation"),Nq=Cd("session"),Sd=Cd("user"),lg=Cd("cloud"),Gx=Cd("internal"),Jb=function(e){Rn(t,e);function t(){return e.call(this)||this}return t}(zU({applicationVersion:Bx("ver"),applicationBuild:Bx("build"),applicationTypeId:Bx("typeId"),applicationId:Bx("applicationId"),applicationLayer:Bx("layer"),deviceId:En("id"),deviceIp:En("ip"),deviceLanguage:En("language"),deviceLocale:En("locale"),deviceModel:En("model"),deviceFriendlyName:En("friendlyName"),deviceNetwork:En("network"),deviceNetworkName:En("networkName"),deviceOEMName:En("oemName"),deviceOS:En("os"),deviceOSVersion:En("osVersion"),deviceRoleInstance:En("roleInstance"),deviceRoleName:En("roleName"),deviceScreenResolution:En("screenResolution"),deviceType:En("type"),deviceMachineName:En("machineName"),deviceVMName:En("vmName"),deviceBrowser:En("browser"),deviceBrowserVersion:En("browserVersion"),locationIp:qP("ip"),locationCountry:qP("country"),locationProvince:qP("province"),locationCity:qP("city"),operationId:Zb("id"),operationName:Zb("name"),operationParentId:Zb("parentId"),operationRootId:Zb("rootId"),operationSyntheticSource:Zb("syntheticSource"),operationCorrelationVector:Zb("correlationVector"),sessionId:Nq("id"),sessionIsFirst:Nq("isFirst"),sessionIsNew:Nq("isNew"),userAccountAcquisitionDate:Sd("accountAcquisitionDate"),userAccountId:Sd("accountId"),userAgent:Sd("userAgent"),userId:Sd("id"),userStoreRegion:Sd("storeRegion"),userAuthUserId:Sd("authUserId"),userAnonymousUserAcquisitionDate:Sd("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Sd("authUserAcquisitionDate"),cloudName:lg("name"),cloudRole:lg("role"),cloudRoleVer:lg("roleVer"),cloudRoleInstance:lg("roleInstance"),cloudEnvironment:lg("environment"),cloudLocation:lg("location"),cloudDeploymentUnit:lg("deploymentUnit"),internalNodeName:Gx("nodeName"),internalSdkVersion:Gx("sdkVersion"),internalAgentVersion:Gx("agentVersion"),internalSnippet:Gx("snippet"),internalSdkSrc:Gx("sdkSrc")}));function Os(e,t,o,n,r,i){var s;o=Kt(n,o)||Qo,(de(e)||de(t)||de(o))&&Po("Input doesn't contain all required fields");var a="";e[AP]&&(a=e[AP],delete e[AP]);var l=(s={},s[on]=o,s.time=Bi(new Date),s.iKey=a,s.ext=i||{},s.tags=[],s.data={},s.baseType=t,s.baseData=e,s);return de(r)||Et(r,function(c,u){l.data[c]=u}),l}var Zme=function(){function e(){}return e.create=Os,e}();var Xn={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},no=new Jb;var Ed="AppInsightsPropertiesPlugin",Vx="AppInsightsChannelPlugin",jq="ApplicationInsightsAnalytics";var Wx="toString",HP="disableExceptionTracking",Qx="autoTrackPageVisitTime",BP="overridePageViewDuration",GP="enableUnhandledPromiseRejectionTracking",Yx="samplingPercentage",Kx="isStorageUseDisabled",Zx="isBrowserLinkTrackingEnabled",VP="enableAutoRouteTracking",WP="namePrefix",QP="disableFlushOnBeforeUnload";var Nn="core",Kc="dataType",Ad="envelopeType",hi="diagLog",zd="track",Xb="trackPageView",Jx="trackPreviousPageVisit",Zc="sendPageViewInternal",Xx="sendPageViewPerformanceInternal",ey="populatePageViewPerformanceEvent",Pd="href",Oq="sendExceptionInternal",YP="exception",ty="error",KP="_onerror",ZP="errorSrc",JP="lineNumber",XP="columnNumber",Fq="message",eI="CreateAutoException",eT="addTelemetryInitializer",Il="duration",Id="length",tI="isPerformanceTimingSupported",oI="getPerformanceTiming",oy="navigationStart",tT="shouldCollectDuration",nI="isPerformanceTimingDataReady",Jme="getEntriesByType",ny="responseStart",Xme="requestStart",oT="loadEventEnd",rI="responseEnd",nT="connectEnd",Uq="pageVisitStartTime";var iI=null;function i1e(){if(iI==null)try{iI=!!(self&&self instanceof WorkerGlobalScope)}catch{iI=!1}return iI}var ege=function(){function e(t,o,n,r){dt(e,this,function(i){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=[],$e(g,function(y){y()?f=!0:a.push(y)}),a[Id]>0&&p(),f&&u(!0)},100))}function m(g){a.push(g),p()}i[Xb]=function(g,f){var y=g.name;if(de(y)||typeof y!="string"){var h=Wo();y=g.name=h&&h.title||""}var v=g.uri;if(de(v)||typeof v!="string"){var _=pi();v=g.uri=_&&_[Pd]||""}if(!r[tI]()){t[Zc](g,f),u(!0),i1e()||ve(c,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");return}var x=!1,z,C=r[oI]()[oy];C>0&&(z=Cn(C,+new Date),r[tT](z)||(z=void 0));var H;!de(f)&&!de(f[Il])&&(H=f[Il]),(o||!isNaN(H))&&(isNaN(H)&&(f||(f={}),f[Il]=z),t[Zc](g,f),u(!0),x=!0);var O=6e4;f||(f={}),m(function(){var pe=!1;try{if(r[nI]()){pe=!0;var Ee={name:y,uri:v};r[ey](Ee),!Ee.isValid&&!x?(f[Il]=z,t[Zc](g,f)):(x||(f[Il]=Ee.durationMs,t[Zc](g,f)),l||(t[Xx](Ee,f),l=!0))}else C>0&&Cn(C,+new Date)>O&&(pe=!0,x||(f[Il]=O,t[Zc](g,f)))}catch(ce){ve(c,1,38,"trackPageView failed on page load calculation: "+wt(ce),{exception:je(ce)})}return pe})},i.teardown=function(g,f){if(s){clearTimeout(s),s=null;var y=a.slice(0),h=!1;a=[],$e(y,function(v){v()&&(h=!0)})}}})}return e.__ieDyn=1,e}();var s1e=36e5,tge=["googlebot","adsbot-google","apis-google","mediapartners-google"];function nge(){var e=Ms();return e&&!!e.timing}function a1e(){var e=Ms();return e&&e.getEntriesByType&&e.getEntriesByType("navigation")[Id]>0}function l1e(){var e=Ms(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t[oy]>0&&t[ny]>0&&t[Xme]>0&&t[oT]>0&&t[rI]>0&&t[nT]>0&&t.domLoading>0}function oge(){return nge()?Ms().timing:null}function c1e(){return a1e()?Ms()[Jme]("navigation")[0]:null}function u1e(){for(var e=[],t=0;t=s1e)return!1;return!0}var rge=function(){function e(t){var o=this,n=Ia(t);dt(e,this,function(r){r[ey]=function(i){i.isValid=!1;var s=c1e(),a=oge(),l=0,c=0,u=0,p=0,m=0;(s||a)&&(s?(l=s[Il],c=s.startTime===0?s[nT]:Cn(s.startTime,s[nT]),u=Cn(s.requestStart,s[ny]),p=Cn(s[ny],s[rI]),m=Cn(s.responseEnd,s[oT])):(l=Cn(a[oy],a[oT]),c=Cn(a[oy],a[nT]),u=Cn(a.requestStart,a[ny]),p=Cn(a[ny],a[rI]),m=Cn(a.responseEnd,a[oT])),l===0?ve(n,2,10,"error calculating page view performance.",{total:l,network:c,request:u,response:p,dom:m}):o[tT](l,c,u,p,m)?l=100)&&(e[Yx]=100),e[Kx]=js(e[Kx]),e[Zx]=js(e[Zx]),e[VP]=js(e[VP]),e[WP]=e[WP]||"",e.enableDebug=js(e.enableDebug),e[QP]=js(e[QP]),e.disableFlushOnUnload=js(e.disableFlushOnUnload,e[QP]),e}function g1e(e){_o(e[Kx])||(e[Kx]?xq():Tq())}var sI=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.identifier=jq,o.priority=180,o.autoRoutePVDelay=500;var n,r,i,s,a,l,c,u,p,m,g,f,y,h,v=0,_,x,z;return dt(t,o,function(C,H){var O=H._addHook;De(),C.getCookieMgr=function(){return Qm(C[Nn])},C.processTelemetry=function($,W){C.processNext($,W)},C.trackEvent=function($,W){try{var N=Os($,Yi[Kc],Yi[Ad],C[hi](),W);C[Nn][zd](N)}catch(oe){Rt(2,39,"trackTrace failed, trace will not be collected: "+wt(oe),{exception:je(oe)})}},C.startTrackEvent=function($){try{n.start($)}catch(W){Rt(1,29,"startTrackEvent failed, event will not be collected: "+wt(W),{exception:je(W)})}},C.stopTrackEvent=function($,W,N){try{n.stop($,void 0,W,N)}catch(oe){Rt(1,30,"stopTrackEvent failed, event will not be collected: "+wt(oe),{exception:je(oe)})}},C.trackTrace=function($,W){try{var N=Os($,$a[Kc],$a[Ad],C[hi](),W);C[Nn][zd](N)}catch(oe){Rt(2,39,"trackTrace failed, trace will not be collected: "+wt(oe),{exception:je(oe)})}},C.trackMetric=function($,W){try{var N=Os($,Ki[Kc],Ki[Ad],C[hi](),W);C[Nn][zd](N)}catch(oe){Rt(1,36,"trackMetric failed, metric will not be collected: "+wt(oe),{exception:je(oe)})}},C[Xb]=function($,W){try{var N=$||{};i[Xb](N,Go(Go(Go({},N.properties),N.measurements),W)),C.config[Qx]&&a[Jx](N.name,N.uri)}catch(oe){Rt(1,37,"trackPageView failed, page view will not be collected: "+wt(oe),{exception:je(oe)})}},C[Zc]=function($,W,N){var oe=Wo();oe&&($.refUri=$.refUri===void 0?oe.referrer:$.refUri);var be=Os($,Pr[Kc],Pr[Ad],C[hi](),W,N);C[Nn][zd](be),v=0},C[Xx]=function($,W,N){var oe=Os($,Da[Kc],Da[Ad],C[hi](),W,N);C[Nn][zd](oe)},C.trackPageViewPerformance=function($,W){var N=$||{};try{s[ey](N),C[Xx](N,W)}catch(oe){Rt(1,37,"trackPageViewPerformance failed, page view will not be collected: "+wt(oe),{exception:je(oe)})}},C.startTrackPage=function($){try{if(typeof $!="string"){var W=Wo();$=W&&W.title||""}r.start($)}catch(N){Rt(1,31,"startTrackPage failed, page view may not be collected: "+wt(N),{exception:je(N)})}},C.stopTrackPage=function($,W,N,oe){try{if(typeof $!="string"){var be=Wo();$=be&&be.title||""}if(typeof W!="string"){var I=pi();W=I&&I[Pd]||""}r.stop($,W,N,oe),C.config[Qx]&&a[Jx]($,W)}catch(Q){Rt(1,32,"stopTrackPage failed, page view will not be collected: "+wt(Q),{exception:je(Q)})}},C[Oq]=function($,W,N){var oe=$&&($[YP]||$[ty])||Um($)&&$||{name:$&&typeof $,message:$||Qo};$=$||{};var be=new Jn(C[hi](),oe,$.properties||W,$.measurements,$.severityLevel,$.id).toInterface(),I=Os(be,Jn[Kc],Jn[Ad],C[hi](),W,N);C[Nn][zd](I)},C.trackException=function($,W){$&&!$[YP]&&$[ty]&&($[YP]=$[ty]);try{C[Oq]($,W)}catch(N){Rt(1,35,"trackException failed, exception will not be collected: "+wt(N),{exception:je(N)})}},C[KP]=function($){var W=$&&$[ty],N=$&&$.evt;try{if(!N){var oe=Vi();oe&&(N=oe[p1e])}var be=$&&$.url||(Wo()||{}).URL,I=$[ZP]||"window.onerror@"+be+":"+($[JP]||0)+":"+($[XP]||0),Q={errorSrc:I,url:be,lineNumber:$[JP]||0,columnNumber:$[XP]||0,message:$[Fq]};_q($.message,$.url,$.lineNumber,$.columnNumber,$[ty])?Lt(Jn[eI]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",be,$[JP]||0,$[XP]||0,W,N,null,I),Q):($[ZP]||($[ZP]=I),C.trackException({exception:$,severityLevel:3},Q))}catch(J){var D=W?W.name+", "+W[Fq]:"null";Rt(1,11,"_onError threw exception while logging error, error will not be collected: "+wt(J),{exception:je(J),errorString:D})}},C[eT]=function($){if(C[Nn])return C[Nn][eT]($);l||(l=[]),l.push($)},C.initialize=function($,W,N,oe){if(!C.isInitialized()){de(W)&&Po("Error initializing"),H.initialize($,W,N,oe);try{z=Wi(Kn(C.identifier),W.evtNamespace&&W.evtNamespace()),l&&($e(l,function(I){W[eT](I)}),l=null);var be=pe($);g1e(be),s=new rge(C[Nn]),i=new ege(o,be[BP],C[Nn],s),a=new ige(C[hi](),function(I,Q,D){return ce(I,Q,D)}),Ee(be,$),n=new qq(C[hi](),"trackEvent"),n.action=function(I,Q,D,J,ue){J||(J={}),ue||(ue={}),J.duration=D[Wx](),C.trackEvent({name:I,properties:J,measurements:ue})},r=new qq(C[hi](),"trackPageView"),r.action=function(I,Q,D,J,ue){de(J)&&(J={}),J.duration=D[Wx]();var Pe={name:I,uri:Q,properties:J,measurements:ue};C[Zc](Pe,J)},qc()&&(Bt(be),fo(be))}catch(I){throw C.setInitialized(!1),I}}},C._doTeardown=function($,W){i&&i.teardown($,W),_d(window,null,null,z),De()};function pe($){var W=Zn(null,$,C[Nn]),N=C.identifier,oe=lge($),be=C.config=W.getExtCfg(N);return oe!==void 0&&Et(oe,function(I,Q){be[I]=W.getConfig(N,I,Q),be[I]===void 0&&(be=Q)}),be}function Ee($,W){c=$[Zx]||W[Zx],bt()}function ce($,W,N){var oe={PageName:$,PageUrl:W};C.trackMetric({name:"PageVisitTime",average:N,max:N,min:N,sampleCount:1},oe)}function bt(){if(!u&&c){var $=["/browserLinkSignalR/","/__browserLink/"],W=function(N){if(c&&N.baseType===Zi[Kc]){var oe=N.baseData;if(oe){for(var be=0;be<$[Id];be++)if(oe.target&&oe.target.indexOf($[be])>=0)return!1}}return!0};C[eT](W),u=!0}}function Lt($,W){var N=Os($,Jn[Kc],Jn[Ad],C[hi](),W);C[Nn][zd](N)}function Bt($){var W=Vi(),N=pi(!0);g=$[HP],!g&&!f&&!$.autoExceptionInstrumented&&(O(Fb(W,"onerror",{ns:z,rsp:function(oe,be,I,Q,D,J){!g&&oe.rslt!==!0&&C[KP](Jn[eI](be,I,Q,D,J,oe.evt))}},!1)),f=!0),Zo($,W,N)}function fo($){var W=Vi(),N=pi(!0);if(p=$[VP]===!0,W&&p&&dP()){var oe=NU();Ye(oe.pushState)&&Ye(oe.replaceState)&&typeof Event!==ci&&co($,W,oe,N)}}function Gt(){var $=null;if(C[Nn]&&C[Nn].getTraceCtx&&($=C[Nn].getTraceCtx(!1)),!$){var W=C[Nn].getPlugin(Ed);if(W){var N=W.plugin.context;N&&($=sg(N.telemetryTrace))}}return $}function co($,W,N,oe){var be=$[WP]||"";function I(){p&&rT(W,Zm(be+"locationchange"))}function Q(){if(x?(_=x,x=oe&&oe[Pd]||""):x=oe&&oe[Pd]||"",p){var D=Gt();if(D){D.setTraceId(mi());var J="_unknown_";oe&&oe.pathname&&(J=oe.pathname+(oe.hash||"")),D.setName(Kt(C[hi](),J))}setTimeout(function(ue){C[Xb]({refUri:ue,properties:{duration:0}})}.bind(this,_),C.autoRoutePVDelay)}}m||(O(Fb(N,"pushState",{ns:z,rsp:function(){p&&(rT(W,Zm(be+"pushState")),rT(W,Zm(be+"locationchange")))}},!0)),O(Fb(N,"replaceState",{ns:z,rsp:function(){p&&(rT(W,Zm(be+"replaceState")),rT(W,Zm(be+"locationchange")))}},!0)),Ds(W,be+"popstate",I,z),Ds(W,be+"locationchange",Q,z),m=!0)}function Zo($,W,N){y=$[GP]===!0,y&&!h&&(O(Fb(W,"onunhandledrejection",{ns:z,rsp:function(oe,be){y&&oe.rslt!==!0&&C[KP](Jn[eI](m1e(be),N?N[Pd]:"",0,0,be,oe.evt))}},!1)),h=!0,$.autoUnhandledPromiseInstrumented=h)}function Rt($,W,N,oe,be){C[hi]().throwInternal($,W,N,oe,be)}function De(){n=null,r=null,i=null,s=null,a=null,l=null,c=!1,u=!1,p=!1,m=!1,g=!1,f=!1,y=!1,h=!1,v=0;var $=pi(!0);_=$&&$[Pd]||"",x=null,z=null}Rs(C,"_pageViewManager",function(){return i}),Rs(C,"_pageViewPerformanceManager",function(){return s}),Rs(C,"_pageVisitTimeManager",function(){return a}),Rs(C,"_evtNamespace",function(){return"."+z})}),o}return t.Version="2.8.13",t.getDefaultConfig=lge,t}(La);var Ld="duration";var nn="tags",aI="deviceType",bi="data",Ll="name",cg="traceID",Tt="length",Rd="stringify",Md="measurements",Fs="dataType",$d="envelopeType",Jc="toString",iT="onLine",sT="isOnline",ug="enqueue",Dd="count",Xc="push",aT="emitLineDelimitedJson",Nd="clear",dg="batchPayloads",jd="markAsSent",pg="clearSent",lT="bufferOverride",ry="BUFFER_KEY",Od="SENT_BUFFER_KEY",iy="MAX_BUFFER_SIZE",eu="namePrefix",lI="maxBatchSizeInBytes",mg="triggerSend",_r="diagLog",Hq="onunloadDisableBeacon",cI="isBeaconApiDisabled",sy="_sender",lo="_senderConfig",Bq="enableSessionStorageBuffer",Fd="_buffer",Gq="samplingPercentage",cT="instrumentationKey",Ud="endpointUrl",Vq="customHeaders",ay="disableXhr",Wq="onunloadDisableFetch",uI="disableTelemetry",dI="baseType",ly="sampleRate",Qq="convertUndefined",cge="_xhrReadyStateChange",Us="_onError",pI="_onPartialSuccess",uT="_onSuccess",dT="itemsAccepted",uge="itemsReceived",cy="isRetryDisabled",mI="setRequestHeader",Yq="maxBatchInterval",Kq="eventsSendRequest",Zq="disableInstrumentationKeyValidation",gI="getSamplingScore",dge="getHashCodeScore";var Jq="baseType",wo="baseData",jn="properties",pge="true";function rn(e,t,o){return jt(e,t,o,Lb)}function f1e(e,t,o){var n=o[nn]=o[nn]||{},r=t.ext=t.ext||{},i=t[nn]=t[nn]||[],s=r.user;s&&(rn(n,no.userAuthUserId,s.authId),rn(n,no.userId,s.id||s.localId));var a=r.app;a&&rn(n,no.sessionId,a.sesId);var l=r.device;l&&(rn(n,no.deviceId,l.id||l.localId),rn(n,no[aI],l.deviceClass),rn(n,no.deviceIp,l.ip),rn(n,no.deviceModel,l.model),rn(n,no[aI],l[aI]));var c=t.ext.web;if(c){rn(n,no.deviceLanguage,c.browserLang),rn(n,no.deviceBrowserVersion,c.browserVer),rn(n,no.deviceBrowser,c.browser);var u=o[bi]=o[bi]||{},p=u[wo]=u[wo]||{},m=p[jn]=p[jn]||{};rn(m,"domain",c.domain),rn(m,"isManual",c.isManual?pge:null),rn(m,"screenRes",c.screenRes),rn(m,"userConsent",c.userConsent?pge:null)}var g=r.os;g&&rn(n,no.deviceOS,g[Ll]);var f=r.trace;f&&(rn(n,no.operationParentId,f.parentID),rn(n,no.operationName,Kt(e,f[Ll])),rn(n,no.operationId,f[cg]));for(var y={},h=i[Tt]-1;h>=0;h--){var v=i[h];Et(v,function(x,z){y[x]=z}),i.splice(h,1)}Et(i,function(x,z){y[x]=z});var _=Go(Go({},n),y);_[no.internalSdkVersion]||(_[no.internalSdkVersion]="javascript:".concat(h1e.Version)),o[nn]=lP(_)}function qd(e,t,o){de(e)||Et(e,function(n,r){vx(r)?o[n]=r:Ve(r)?t[n]=r:Pa()&&(t[n]=Sn()[Rd](r))})}function gg(e,t){de(e)||Et(e,function(o,n){e[o]=n||t})}function fg(e,t,o,n){var r=new FP(e,n,t);rn(r,"sampleRate",o[Ub]),(o[wo]||{}).startTime&&(r.time=Bi(o[wo].startTime)),r.iKey=o.iKey;var i=o.iKey.replace(/-/g,"");return r[Ll]=r[Ll].replace("{0}",i),f1e(e,o,r),o[nn]=o[nn]||[],lP(r)}function hg(e,t){de(t[wo])&&ve(e,1,46,"telemetryItem.baseData cannot be null.")}var h1e={Version:"2.8.13"};function mge(e,t,o){hg(e,t);var n=t[wo][Md]||{},r=t[wo][jn]||{};qd(t[bi],r,n),de(o)||gg(r,o);var i=t[wo];if(de(i))return $s(e,"Invalid input for dependency data"),null;var s=i[jn]&&i[jn][Mx]?i[jn][Mx]:"GET",a=new Zi(e,i.id,i.target,i[Ll],i[Ld],i.success,i.responseCode,s,i.type,i.correlationContext,r,n),l=new Pl(Zi[Fs],a);return fg(e,Zi[$d],t,l)}function Xq(e,t,o){hg(e,t);var n={},r={};t[Jq]!==Yi[Fs]&&(n.baseTypeSource=t[Jq]),t[Jq]===Yi[Fs]?(n=t[wo][jn]||{},r=t[wo][Md]||{}):t[wo]&&qd(t[wo],n,r),qd(t[bi],n,r),de(o)||gg(n,o);var i=t[wo][Ll],s=new Yi(e,i,n,r),a=new Pl(Yi[Fs],s);return fg(e,Yi[$d],t,a)}function gge(e,t,o){hg(e,t);var n=t[wo][Md]||{},r=t[wo][jn]||{};qd(t[bi],r,n),de(o)||gg(r,o);var i=t[wo],s=Jn.CreateFromInterface(e,i,r,n),a=new Pl(Jn[Fs],s);return fg(e,Jn[$d],t,a)}function fge(e,t,o){hg(e,t);var n=t[wo],r=n[jn]||{},i=n[Md]||{};qd(t[bi],r,i),de(o)||gg(r,o);var s=new Ki(e,n[Ll],n.average,n.sampleCount,n.min,n.max,n.stdDev,r,i),a=new Pl(Ki[Fs],s);return fg(e,Ki[$d],t,a)}function hge(e,t,o){hg(e,t);var n,r=t[wo];!de(r)&&!de(r[jn])&&!de(r[jn][Ld])?(n=r[jn][Ld],delete r[jn][Ld]):!de(t[bi])&&!de(t[bi][Ld])&&(n=t[bi][Ld],delete t[bi][Ld]);var i=t[wo],s;((t.ext||{}).trace||{})[cg]&&(s=t.ext.trace[cg]);var a=i.id||s,l=i[Ll],c=i.uri,u=i[jn]||{},p=i[Md]||{};if(de(i.refUri)||(u.refUri=i.refUri),de(i.pageType)||(u.pageType=i.pageType),de(i.isLoggedIn)||(u.isLoggedIn=i.isLoggedIn[Jc]()),!de(i[jn])){var m=i[jn];Et(m,function(y,h){u[y]=h})}qd(t[bi],u,p),de(o)||gg(u,o);var g=new Pr(e,l,c,n,u,p,a),f=new Pl(Pr[Fs],g);return fg(e,Pr[$d],t,f)}function bge(e,t,o){hg(e,t);var n=t[wo],r=n[Ll],i=n.uri||n.url,s=n[jn]||{},a=n[Md]||{};qd(t[bi],s,a),de(o)||gg(s,o);var l=new Da(e,r,i,void 0,s,a,n),c=new Pl(Da[Fs],l);return fg(e,Da[$d],t,c)}function yge(e,t,o){hg(e,t);var n=t[wo].message,r=t[wo].severityLevel,i=t[wo][jn]||{},s=t[wo][Md]||{};qd(t[bi],i,s),de(o)||gg(i,o);var a=new $a(e,n,r,i,s),l=new Pl($a[Fs],a);return fg(e,$a[$d],t,l)}function _ge(e,t){_d(e,null,null,t)}function wge(e){var t,o=Wo(),n=zr(),r=!1,i=!0,s=Wi(Kn("OfflineListener"),e);try{if(l(Vi())&&(r=!0),o){var a=o.body||o;a.ononline&&l(a)&&(r=!0)}r&&n&&!de(n[iT])&&(i=n[iT])}catch{r=!1}function l(g){var f=!1;return g&&(f=Ds(g,"online",c,s),f&&Ds(g,"offline",u,s)),f}function c(){i=!0}function u(){i=!1}function p(){var g=!0;return r?g=i:n&&!de(n[iT])&&(g=n[iT]),g}function m(){var g=Vi();if(g&&r){if(_ge(g,s),o){var f=o.body||o;_o(f.ononline)||_ge(f,s)}r=!1}}return t={},t[sT]=p,t.isListening=function(){return r},t.unload=m,t}var vge=function(){function e(t,o){var n=[],r=!1;this._get=function(){return n},this._set=function(i){return n=i,n},dt(e,this,function(i){i[ug]=function(s){if(i[Dd]()>=o.eventsLimitInMem()){r||(ve(t,2,105,"Maximum in-memory buffer size reached: "+i[Dd](),!0),r=!0);return}n[Xc](s)},i[Dd]=function(){return n[Tt]},i.size=function(){for(var s=n[Tt],a=0;a0){var a=o[aT]()?s.join(` `):"["+s.join(",")+"]";return a}return null}})}return e.__ieDyn=1,e}(),xge=function(e){Rn(t,e);function t(o,n){var r=e.call(this,o,n)||this;return dt(t,r,function(i,s){i[jd]=function(a){s[Nd]()},i[pg]=function(a){}}),r}return t.__ieDyn=1,t}(vge);var Tge=function(e){Rn(t,e);function t(o,n){var r=e.call(this,o,n)||this,i=!1,s=n[lT]()||{getItem:Wb,setItem:qx},a=s.getItem,l=s.setItem;return dt(t,r,function(c,u){var p=y(t[ry]),m=y(t[Od]),g=c._set(p.concat(m));g[Tt]>t[iy]&&(g[Tt]=t[iy]),h(t[Od],[]),h(t[ry],g),c[ug]=function(v){if(c[Dd]()>=t[iy]){i||(ve(o,2,67,"Maximum buffer size reached: "+c[Dd](),!0),i=!0);return}u[ug](v),h(t[ry],c._get())},c[Nd]=function(){u[Nd](),h(t[ry],c._get()),h(t[Od],[]),i=!1},c[jd]=function(v){h(t[ry],c._set(f(v,c._get())));var _=y(t[Od]);_ instanceof Array&&v instanceof Array&&(_=_.concat(v),_[Tt]>t[iy]&&(ve(o,1,67,"Sent buffer reached its maximum size: "+_[Tt],!0),_[Tt]=t[iy]),h(t[Od],_))},c[pg]=function(v){var _=y(t[Od]);_=f(v,_),h(t[Od],_)};function f(v,_){var x=[];return $e(_,function(z){!Ye(z)&&$n(v,z)===-1&&x[Xc](z)}),x}function y(v){var _=v;try{_=n[eu]&&n[eu]()?n[eu]()+"_"+_:_;var x=a(o,_);if(x){var z=Sn().parse(x);if(Ve(z)&&(z=Sn().parse(z)),z&&Ct(z))return z}}catch(C){ve(o,1,42," storage key: "+_+", "+wt(C),{exception:je(C)})}return[]}function h(v,_){var x=v;try{x=n[eu]&&n[eu]()?n[eu]()+"_"+x:x;var z=JSON[Rd](_);l(o,x,z)}catch(C){l(o,x,JSON[Rd]([])),ve(o,2,41," storage key: "+x+", "+wt(C)+". Buffer cleared",{exception:je(C)})}}}),r}return t.BUFFER_KEY="AI_buffer",t.SENT_BUFFER_KEY="AI_sentBuffer",t.MAX_BUFFER_SIZE=2e3,t}(vge);var kge=function(){function e(t){dt(e,this,function(o){o.serialize=function(s){var a=n(s,"root");try{return Sn()[Rd](a)}catch(l){ve(t,1,48,l&&Ye(l[Jc])?l[Jc]():"Error serializing object",null,!0)}};function n(s,a){var l="__aiCircularRefCheck",c={};if(!s)return ve(t,1,48,"cannot serialize object because it is null or undefined",{name:a},!0),c;if(s[l])return ve(t,2,50,"Circular reference detected while serializing object",{name:a},!0),c;if(!s.aiDataContract){if(a==="measurements")c=i(s,"number",a);else if(a==="properties")c=i(s,"string",a);else if(a==="tags")c=i(s,"string",a);else if(Ct(s))c=r(s,a);else{ve(t,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:a},!0);try{Sn()[Rd](s),c=s}catch(u){ve(t,1,48,u&&Ye(u[Jc])?u[Jc]():"Error serializing object",null,!0)}}return c}return s[l]=!0,Et(s.aiDataContract,function(u,p){var m=Ye(p)?p()&1:p&1,g=Ye(p)?p()&4:p&4,f=p&2,y=s[u]!==void 0,h=gr(s[u])&&s[u]!==null;if(m&&!y&&!f)ve(t,1,24,"Missing required field specification. The field is required but not present on source",{field:u,name:a});else if(!g){var v=void 0;h?f?v=r(s[u],u):v=n(s[u],u):v=s[u],v!==void 0&&(c[u]=v)}}),delete s[l],c}function r(s,a){var l;if(s)if(!Ct(s))ve(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[ly]=t,this.samplingScoreGenerator=new Cge}return e.prototype.isSampledIn=function(t){var o=this[ly],n=!1;return o==null||o>=100||t.baseType===Ki[Fs]?!0:(n=this.samplingScoreGenerator[gI](t)h._senderConfig[lI]()&&h[mg](!0,null,10),Gt())},h.flush=function(I,Q,D){if(I===void 0&&(I=!0),!s){co();try{h[mg](I,null,D||1)}catch(J){ve(h[_r](),1,22,"flush failed, telemetry will not be collected: "+wt(J),{exception:je(J)})}}},h.onunloadFlush=function(){if(!s)if((h._senderConfig[Hq]()===!1||h[lo][cI]()===!1)&&hd())try{h[mg](!0,C,2)}catch(I){ve(h[_r](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+wt(I),{exception:je(I)})}else h.flush()},h.addHeader=function(I,Q){u[I]=Q},h.initialize=function(I,Q,D,J){h.isInitialized()&&ve(h[_r](),1,28,"Sender is already initialized"),v.initialize(I,Q,D,J);var ue=h._getTelCtx(),Pe=h.identifier;l=new kge(Q.logger),n=0,r=null,i=0,h[sy]=null,c=0;var Ie=h[_r]();y=Wi(Kn("Sender"),Q.evtNamespace&&Q.evtNamespace()),f=wge(y);var vt=Age();Et(vt,function(ae,fe){h[lo][ae]=function(){var xe=ue.getConfig(Pe,ae,fe());return!xe&&ae==="endpointUrl"&&(xe=fe()),xe}});var qt=h[lo][Bq]()&&!!(h._senderConfig[lT]()||kd());h[Fd]=qt?new Tge(Ie,h[lo]):new xge(Ie,h[lo]),h._sample=new Ege(h[lo][Gq](),Ie),oe(I)||ve(Ie,1,100,"Invalid Instrumentation key "+I[cT]),!ig(h._senderConfig.endpointUrl())&&h._senderConfig.customHeaders()&&h._senderConfig.customHeaders()[Tt]>0&&$e(h[lo][Vq](),function(ae){o.addHeader(ae.header,ae.value)});var Wt=h[lo],B=null;!Wt[ay]()&&mP()?B=De:!Wt[ay]()&&Hm()&&(B=pe),!B&&pP()&&(B=ce),m=B||pe,!Wt[cI]()&&hd()&&(B=O),h[sy]=B||pe,!Wt[Wq]()&&pP(!0)?g=Ee:hd()?g=O:!Wt[ay]()&&mP()?g=De:!Wt[ay]()&&Hm()?g=pe:g=m},h.processTelemetry=function(I,Q){Q=h._getTelCtx(Q);var D=Q[_r]();try{if(h[lo][uI]())return;if(!I){ve(D,1,7,"Cannot send empty telemetry");return}if(I.baseData&&!I[dI]){ve(D,1,70,"Cannot send telemetry without baseData and baseType");return}if(I[dI]||(I[dI]="EventData"),!h[sy]){ve(D,1,28,"Sender was not initialized");return}if(_(I))I[Ub]=h._sample[ly];else{ve(D,2,33,"Telemetry item was sampled out and not sent",{SampleRate:h._sample[ly]});return}var J=h[lo][Qq]()||void 0,ue=I.iKey||h[lo][cT](),Pe=t.constructEnvelope(I,ue,D,J);if(!Pe){ve(D,1,47,"Unable to create an AppInsights envelope");return}var Ie=!1;if(I[nn]&&I[nn][qb]&&($e(I[nn][qb],function(B){try{B&&B(Pe)===!1&&(Ie=!0,$s(D,"Telemetry processor check returns false"))}catch(ae){ve(D,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+wt(ae),{exception:je(ae)},!0)}}),delete I[nn][qb]),Ie)return;var vt=l.serialize(Pe),qt=h[Fd],Wt=qt.size();Wt+vt[Tt]>h[lo][lI]()&&(!f||f[sT]())&&h[mg](!0,null,10),qt[ug](vt),Gt()}catch(B){ve(D,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+wt(B),{exception:je(B)})}h.processNext(I,Q)},h[cge]=function(I,Q,D){I.readyState===4&&x(I.status,Q,I.responseURL,D,Rt(I),fI(I)||I.response)},h[mg]=function(I,Q,D){if(I===void 0&&(I=!0),!s)try{var J=h[Fd];if(h[lo][uI]())J[Nd]();else{if(J[Dd]()>0){var ue=J.getItems();N(D||0,I),Q?Q.call(o,ue,I):h[sy](ue,I)}i=+new Date}co()}catch(Ie){var Pe=Nb();(!Pe||Pe>9)&&ve(h[_r](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+wt(Ie),{exception:je(Ie)})}},h._doTeardown=function(I,Q){h.onunloadFlush(),f.unload(),be()},h[Us]=function(I,Q,D){ve(h[_r](),2,26,"Failed to send telemetry.",{message:Q}),h._buffer[pg](I)},h[pI]=function(I,Q){for(var D=[],J=[],ue=Q.errors.reverse(),Pe=0,Ie=ue;Pe0&&h[uT](I,Q[dT]),D[Tt]>0&&h[Us](D,Rt(null,["partial success",Q[dT],"of",Q.itemsReceived].join(" "))),J[Tt]>0&&(Bt(J),ve(h[_r](),2,40,"Partial success. Delivered: "+I[Tt]+", Failed: "+D[Tt]+". Will retry to send "+J[Tt]+" our of "+Q[uge]+" items"))},h[uT]=function(I,Q){h._buffer[pg](I)},h._xdrOnLoad=function(I,Q){var D=fI(I);if(I&&(D+""=="200"||D===""))n=0,h[uT](Q,0);else{var J=Lt(D);J&&J.itemsReceived&&J.itemsReceived>J[dT]&&!h[lo][cy]()?h[pI](Q,J):h[Us](Q,$(I))}};function _(I){return h._sample.isSampledIn(I)}function x(I,Q,D,J,ue,Pe){var Ie=null;if(h._appId||(Ie=Lt(Pe),Ie&&Ie.appId&&(h._appId=Ie.appId)),(I<200||I>=300)&&I!==0){if((I===301||I===307||I===308)&&!z(D)){h[Us](Q,ue);return}!h[lo][cy]()&&Zo(I)?(Bt(Q),ve(h[_r](),2,40,". Response code "+I+". Will retry to send "+Q[Tt]+" items.")):h[Us](Q,ue)}else if(f&&!f[sT]()){if(!h[lo][cy]()){var vt=10;Bt(Q,vt),ve(h[_r](),2,40,". Offline - Response Code: ".concat(I,". Offline status: ").concat(!f.isOnline(),". Will retry to send ").concat(Q.length," items."))}}else z(D),I===206?(Ie||(Ie=Lt(Pe)),Ie&&!h[lo][cy]()?h[pI](Q,Ie):h[Us](Q,ue)):(n=0,h[uT](Q,J))}function z(I){return c>=10?!1:!de(I)&&I!==""&&I!==h[lo][Ud]()?(h[lo][Ud]=function(){return I},++c,!0):!1}function C(I,Q){g?g(I,!1):O(I,Q)}function H(I){var Q=zr(),D=h[Fd],J=h[lo][Ud](),ue=h._buffer[dg](I),Pe=new Blob([ue],{type:"text/plain;charset=UTF-8"}),Ie=Q.sendBeacon(J,Pe);return Ie&&(D[jd](I),h._onSuccess(I,I[Tt])),Ie}function O(I,Q){if(Ct(I)&&I[Tt]>0&&!H(I)){for(var D=[],J=0;J0&&(m&&m(D,!0),ve(h[_r](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function pe(I,Q){var D=new XMLHttpRequest,J=h[lo][Ud]();try{D[Ra]=!0}catch{}D.open("POST",J,Q),D[mI]("Content-type","applicationhttps://www.microsoft.com/json"),ig(J)&&D[mI](oo[6],oo[7]),$e(di(u),function(Pe){D[mI](Pe,u[Pe])}),D.onreadystatechange=function(){return h._xhrReadyStateChange(D,I,I[Tt])},D.onerror=function(Pe){return h[Us](I,Rt(D),Pe)};var ue=h._buffer[dg](I);D.send(ue),h._buffer[jd](I)}function Ee(I,Q){if(Ct(I)){for(var D=I[Tt],J=0;J=Q[dT]&&Q.itemsReceived-Q.itemsAccepted===Q.errors[Tt])return Q}}catch(D){ve(h[_r](),1,43,"Cannot parse the response. "+wt(D),{response:I})}return null}function Bt(I,Q){if(Q===void 0&&(Q=1),!(!I||I[Tt]===0)){var D=h[Fd];D[pg](I),n++;for(var J=0,ue=I;J=200&&+c[Ji]<400,g.responseCode=+c[Ji],g[Hd]={HttpMethod:c[Ml]},g),y=f[Hd];if(c[Bd]&&(y[Bd]=!0),c[ru]&&(f[ou]=new Date,f[ou].setTime(c[ru])),w1e(c,f),p&&di(c.requestHeaders)[Na]>0&&(y[wi]=c[wi]),m){var h=m();if(h){var v=h[Fge];if(v&&(f.correlationContext=v),h[gy]&&di(h.headerMap)[Na]>0&&(y.responseHeaders=h[gy]),c[_T])if(c[Ji]>=400){var _=h.type;(_===""||_==="text")&&(y.responseText=h.responseText?h[nu]+" - "+h[l]:h[nu]),_==="json"&&(y.responseText=h.response?h[nu]+" - "+JSON.stringify(h[wI]):h[nu])}else c[Ji]===0&&(y.responseText=h[nu]||"")}}return f},c[vT]=function(){var u,p=null,m=c[xI];if(m&&(m[py]||m[my])){p={};var g=p[Xn.TraceExt]=(u={},u[ja]=m[py],u.parentID=m[my],u);de(m[_i])||(g[_i]=m[_i])}return p}})}return e.__ieDyn=1,e}();var qge="ai.ajxmn.",ST="diagLog",Xi="ajaxData",wg="fetch",TT="Failed to monitor XMLHttpRequest",Kge=", monitoring data for this ajax call ",hy=Kge+"may be incorrect.",Hge=Kge+"won't be sent.",Bge="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",Gge="Failed to add custom defined request context as configured call back may missing a null check.",Vge="Failed to calculate the duration of the ",Wge=0;function x1e(){var e=Ps();return!e||de(e.Request)||de(e.Request[Ao])||de(e[wg])?null:e[wg]}var TI=null;function T1e(){if(TI==null)try{TI=!!(self&&self instanceof WorkerGlobalScope)}catch{TI=!1}return TI}function k1e(e){var t=!1;if(Hm()){var o=XMLHttpRequest[Ao];t=!de(o)&&!de(o.open)&&!de(o.send)&&!de(o.abort)}var n=Nb();if(n&&n<9&&(t=!1),t)try{var r=new XMLHttpRequest;r[Xi]={};var i=XMLHttpRequest[Ao].open;XMLHttpRequest[Ao].open=i}catch(s){t=!1,CT(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:je(s)})}return t}function SI(e){var t="";try{e&&e[Xi]&&e[Xi][yi]&&(t+="(url: '"+e[Xi][yi]+"')")}catch{}return t}function CT(e,t,o,n,r){ve(e[ST](),1,t,o,n,r)}function by(e,t,o,n,r){ve(e[ST](),2,t,o,n,r)}function kT(e,t,o){return function(n){CT(e,t,o,{ajaxDiagnosticsMessage:SI(n[uy]),exception:je(n.err)})}}function yy(e,t){return e&&t?e.indexOf(t):-1}function Qge(e,t,o){var n={id:t,fn:o};return e.push(n),{remove:function(){$e(e,function(r,i){if(r.id===n.id)return e.splice(i,1),-1})}}}function Zge(e,t,o,n){var r=!0;return $e(t,function(i,s){try{i.fn.call(null,o)===!1&&(r=!1)}catch(a){ve(e&&e.logger,1,64,"Dependency "+n+" [#"+s+"] failed: "+wt(a),{exception:je(a)},!0)}}),r}function S1e(e,t,o,n,r,i){var s=e[Na];if(s>0){var a={core:t,xhr:n,input:r,init:i,traceId:o[ja],spanId:o[Rl],traceFlags:o[_i],context:o[dy]||{},aborted:!!o[Bd]};Zge(t,e,a,"listener"),o[ja]=a[py],o[Rl]=a[my],o[_i]=a[_i],o[dy]=a[dy]}}var kI="*.blob.core.",Jge=Ib([kI+"windows.net",kI+"chinacloudapi.cn",kI+"cloudapi.de",kI+"usgovcloudapi.net"]),C1e=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function aH(){var e={maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:Jge,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 Yge(){var e=aH();return Et(e,function(t){e[t]=void 0}),e}var lH=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.identifier=t.identifier,o.priority=120;var n,r,i,s,a,l,c,u,p,m,g,f,y,h,v,_,x,z,C,H,O,pe,Ee;return dt(t,o,function(ce,bt){var Lt=bt._addHook;Bt(),ce.initialize=function(B,ae,fe,xe){ce.isInitialized()||(bt.initialize(B,ae,fe,xe),H=Wi(Kn("ajax"),ae&&ae.evtNamespace&&ae.evtNamespace()),fo(B),De(),Zo(),Gt())},ce._doTeardown=function(){Bt()},ce.trackDependencyData=function(B,ae){Wt(Ee,ce[Oa],null,B,ae)},ce[hI]=function(B,ae,fe,xe){var Ae=ce._currentWindowHost||i;if(S1e(pe,ce[Oa],B,xe,ae,fe),ae){if(Yc[oH](s,B[pT](),Ae)){fe||(fe={});var Ke=new Headers(fe[Gd]||(ae instanceof Request?ae[Gd]||{}:{}));if(m){var Ze="|"+B[ja]+"."+B[Rl];Ke.set(oo[3],Ze),a&&(B[wi][oo[3]]=Ze)}var Nt=s[mT]||u&&u[mT]();if(Nt&&(Ke.set(oo[0],oo[2]+Nt),a&&(B[wi][oo[0]]=oo[2]+Nt)),p){var it=B[_i];de(it)&&(it=1);var Ut=Px(zx(B[ja],B[Rl],it));Ke.set(oo[4],Ut),a&&(B[wi][oo[4]]=Ut)}fe[Gd]=Ke}return fe}else if(xe){if(Yc[oH](s,B[pT](),Ae)){if(m){var Ze="|"+B[ja]+"."+B[Rl];xe[bI](oo[3],Ze),a&&(B[wi][oo[3]]=Ze)}var Nt=s[mT]||u&&u[mT]();if(Nt&&(xe[bI](oo[0],oo[2]+Nt),a&&(B[wi][oo[0]]=oo[2]+Nt)),p){var it=B[_i];de(it)&&(it=1);var Ut=Px(zx(B[ja],B[Rl],it));xe[bI](oo[4],Ut),a&&(B[wi][oo[4]]=Ut)}}return xe}},ce[nH]=function(B,ae,fe){if(y===-1||c5?g=qge+Ae.substring(Ae[Na]-5)+".":g=qge+Ae+"."}_=!!s[Dge],x=!!s[Nge]}function Gt(){var B=ce[Oa].getPlugin(Ed);B&&(u=B.plugin[dy])}function co(B){var ae=!0;return(B||s.ignoreHeaders)&&$e(s.ignoreHeaders,function(fe){if(fe[bg]()===B[bg]())return ae=!1,-1}),ae}function Zo(){var B=x1e();if(B){var ae=Ps(),fe=B.polyfill;!x&&!n?(Lt(Rx(ae,wg,{ns:H,req:function(xe,Ae,Ke){var Ze;if(!x&&n&&!$(null,Ae,Ke)&&!(fe&&r)){var Nt=xe.ctx();Ze=Pe(Ae,Ke);var it=ce[hI](Ze,Ae,Ke);it!==Ke&&xe.set(1,it),Nt.data=Ze}},rsp:function(xe,Ae){if(!x){var Ke=xe.ctx().data;Ke&&(xe.rslt=xe.rslt.then(function(Ze){return vt(xe,(Ze||{})[Ji],Ae,Ze,Ke,function(){var Nt={statusText:(Ze||{})[nu],headerMap:null,correlationContext:qt(Ze)};if(h&&Ze){var it={};Ze.headers.forEach(function(Ut,xr){co(xr)&&(it[xr]=Ut)}),Nt[gy]=it}return Nt}),Ze}).catch(function(Ze){throw vt(xe,0,Ae,null,Ke,null,{error:Ze.message||je(Ze)}),Ze}))}},hkErr:kT(ce,15,"Failed to monitor Window.fetch"+hy)},!0,T1e())),n=!0):fe&&Lt(Rx(ae,wg,{ns:H,req:function(xe,Ae,Ke){$(null,Ae,Ke)}})),fe&&(ae[wg].polyfill=fe)}}function Rt(B,ae,fe){Lt(fq(B,ae,fe))}function De(){k1e(ce)&&!_&&!r&&(Rt(XMLHttpRequest,"open",{ns:H,req:function(B,ae,fe,xe){if(!_){var Ae=B[uy],Ke=Ae[Xi];!$(Ae,fe)&&W(Ae,!0)&&((!Ke||!Ke.xhrMonitoringState[gT])&&oe(Ae,ae,fe,xe),be(Ae))}},hkErr:kT(ce,15,TT+".open"+hy)}),Rt(XMLHttpRequest,"send",{ns:H,req:function(B,ae){if(!_){var fe=B[uy],xe=fe[Xi];W(fe)&&!xe.xhrMonitoringState[fT]&&(J("xhr",xe),xe[ru]=Yb(),ce[hI](xe,void 0,void 0,fe),xe.xhrMonitoringState[fT]=!0)}},hkErr:kT(ce,17,TT+hy)}),Rt(XMLHttpRequest,"abort",{ns:H,req:function(B){if(!_){var ae=B[uy],fe=ae[Xi];W(ae)&&!fe.xhrMonitoringState[hT]&&(fe[Bd]=1,fe.xhrMonitoringState[hT]=!0)}},hkErr:kT(ce,13,TT+".abort"+hy)}),Rt(XMLHttpRequest,"setRequestHeader",{ns:H,req:function(B,ae,fe){if(!_&&a){var xe=B[uy];W(xe)&&co(ae)&&(xe[Xi][wi][ae]=fe)}},hkErr:kT(ce,71,TT+".setRequestHeader"+hy)}),r=!0)}function $(B,ae,fe){var xe=!1,Ae=((Ve(ae)?ae:(ae||{}).url||"")||"")[bg]();if($e(z,function(Nt){var it=Nt;Ve(Nt)&&(it=new RegExp(Nt)),xe||(xe=it.test(Ae))}),xe)return xe;var Ke=yy(Ae,"?"),Ze=yy(Ae,"#");return(Ke===-1||Ze!==-1&&Ze=0;Oe--){var q=kp[Oe];if(q){if(q.entryType==="resource")q.initiatorType===B&&(yy(q[Vd],it)!==-1||yy(it,q[Vd])!==-1)&&(rr=q);else if(q.entryType==="mark"&&q[Vd]===Ae[Vd]){ae[xT]=rr;break}if(q[ou]=Ze||ae.async===!1?(Ae&&Ye(Ke.clearMarks)&&Ke.clearMarks(Ae[Vd]),ae.perfAttempts=Ut,fe()):setTimeout(xr,Nt)}catch(E){xe(E)}})()}function Pe(B,ae){var fe,xe=N(),Ae=xe&&xe[bT]()||mi(),Ke=mi().substr(0,16),Ze=new sH(Ae,Ke,ce[ST](),(fe=ce.core)===null||fe===void 0?void 0:fe.getTraceCtx());Ze[_i]=xe&&xe[yT](),Ze[ru]=Yb(),Ze[_T]=l,B instanceof Request?Ze[yi]=B?B.url:"":Ze[yi]=B;var Nt="GET";ae&&ae[Ml]?Nt=ae[Ml]:B&&B instanceof Request&&(Nt=B[Ml]),Ze[Ml]=Nt;var it={};if(a){var Ut=new Headers((ae?ae[Gd]:0)||(B instanceof Request?B[Gd]||{}:{}));Ut.forEach(function(xr,rr){co(rr)&&(it[rr]=xr)})}return Ze[wi]=it,J(wg,Ze),Ze}function Ie(B){var ae="";try{de(B)||(typeof B=="string"?ae+="(url: '".concat(B,"')"):ae+="(url: '".concat(B.url,"')"))}catch(fe){CT(ce,15,"Failed to grab failed fetch diagnostics message",{exception:je(fe)})}return ae}function vt(B,ae,fe,xe,Ae,Ke,Ze){if(!Ae)return;function Nt(it,Ut,xr){var rr=xr||{};rr.fetchDiagnosticsMessage=Ie(fe),Ut&&(rr.exception=je(Ut)),by(ce,it,Vge+"fetch call"+Hge,rr)}Ae[yg]=Yb(),Ae[Ji]=ae,ue(wg,Ae,function(){var it=Ae[wT]("Fetch",a,Ke),Ut;try{C&&(Ut=C({status:ae,request:fe,response:xe}))}catch{by(ce,104,Gge)}if(it){Ut!==void 0&&(it[Hd]=Go(Go({},it.properties),Ut));var xr=Ae[vT]();Wt(Ee,ce[Oa],Ae,it,null,xr)}else Nt(14,null,{requestSentTime:Ae[ru],responseFinishedTime:Ae[yg]})},function(it){Nt(18,it,null)})}function qt(B){if(B&&B[Gd])try{var ae=B[Gd].get(oo[0]);return Yc[iH](ae)}catch(fe){by(ce,18,Bge,{fetchDiagnosticsMessage:Ie(B),exception:je(fe)})}}function Wt(B,ae,fe,xe,Ae,Ke){var Ze=!0,Nt=B[Na];if(Nt>0){var it={item:xe,properties:Ae,sysProperties:Ke,context:fe?fe[dy]:null,aborted:fe?!!fe[Bd]:!1};Ze=Zge(ae,B,it,"initializer")}Ze&&ce[nH](xe,Ae,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=aH,t.getEmptyConfig=Yge,t}(La);var Xge=function(){function e(){}return e}();var efe=function(){function e(){this.id="browser",this.deviceClass="Browser"}return e}();var _y="sessionManager",vg="update",wy="isUserCookieSet",vy="isNewUser",CI="getTraceCtx",ET="telemetryTrace",EI="applySessionContext",AI="applyApplicationContext",zI="applyDeviceContext",PI="applyOperationContext",II="applyUserContext",LI="applyOperatingSystemContxt",RI="applyLocationContext",MI="applyInternalContext",Fa="accountId",xy="sdkExtension",Ty="getSessionId",$l="namePrefix",ky="sessionCookiePostfix",Sy="userCookiePostfix",Qd="idLength",Yd="getNewId",xg="length",Kd="automaticSession",Zd="authenticatedId",Cy="sessionExpirationMs",AT="sessionRenewalMs",Ua="config",Ey="acquisitionDate",zT="renewalDate",PT="cookieDomain",Ay="join",zy="cookieSeparator",$I="authUserCookieName";var E1e="2.8.13",tfe=function(){function e(t){this.sdkVersion=(t[xy]&&t[xy]()?t[xy]()+"_":"")+"javascript:"+E1e}return e}();var ofe=function(){function e(){}return e}();var A1e="ai_session",cH=function(){function e(){}return e}();var nfe=function(){function e(t,o){var n=this,r,i,s=Ia(o),a=Qm(o);dt(e,n,function(l){t||(t={}),Ye(t[Cy])||(t[Cy]=function(){return e.acquisitionSpan}),Ye(t[AT])||(t[AT]=function(){return e.renewalSpan}),l[Ua]=t;var c=l.config[ky]&&l[Ua][ky]()?l.config[ky]():l.config[$l]&&l[Ua][$l]()?l[Ua][$l]():"";r=function(){return A1e+c},l[Kd]=new cH,l[vg]=function(){var y=Dn(),h=!1,v=l[Kd];v.id||(h=!u(v,y));var _=l.config[Cy]();if(!h&&_>0){var x=l.config[AT](),z=y-v[Ey],C=y-v[zT];h=z<0||C<0,h=h||z>_,h=h||C>x}h?m(y):(!i||y-i>e.cookieUpdateInterval)&&g(v,y)},l.backup=function(){var y=l[Kd];f(y.id,y[Ey],y[zT])};function u(y,h){var v=!1,_=a.get(r());if(_&&Ye(_.split))v=p(y,_);else{var x=kq(s,r());x&&(v=p(y,x))}return v||!!y.id}function p(y,h){var v=!1,_=", session will be reset",x=h.split("|");if(x[xg]>=2)try{var z=+x[1]||0,C=+x[2]||0;isNaN(z)||z<=0?ve(s,2,27,"AI session acquisition date is 0"+_):isNaN(C)||C<=0?ve(s,2,27,"AI session renewal date is 0"+_):x[0]&&(y.id=x[0],y[Ey]=z,y[zT]=C,v=!0)}catch(H){ve(s,1,9,"Error parsing ai_session value ["+(h||"")+"]"+_+" - "+wt(H),{exception:je(H)})}return v}function m(y){var h=l[Ua]||{},v=(h[Yd]?h[Yd]():null)||Bc;l.automaticSession.id=v(h[Qd]?h[Qd]():22),l[Kd][Ey]=y,g(l[Kd],y),Ux()||ve(s,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function g(y,h){var v=y[Ey];y[zT]=h;var _=l[Ua],x=_[AT](),z=v+_[Cy]()-h,C=[y.id,v,h],H=0;z0?H:null,O),i=h}function f(y,h,v){Sq(s,r(),[y,h,v][Ay]("|"))}})}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}();var rfe=function(){function e(t,o,n,r){var i=this;i.traceID=t||mi(),i.parentID=o;var s=pi();!n&&s&&s.pathname&&(n=s.pathname),i.name=Kt(r,n)}return e}();function ife(e){return!(typeof e!="string"||!e||e.match(/,|;|=| |\|/))}var sfe=function(){function e(t,o){this.isNewUser=!1,this.isUserCookieSet=!1;var n=Ia(o),r=Qm(o),i;dt(e,this,function(s){s[Ua]=t;var a=s.config[Sy]&&s[Ua][Sy]()?s[Ua][Sy]():"";i=function(){return e.userCookieName+a};var l=r.get(i());if(l){s[vy]=!1;var c=l.split(e[zy]);c[xg]>0&&(s.id=c[0],s[wy]=!!s.id)}function u(){var v=t||{},_=(v[Yd]?v[Yd]():null)||Bc,x=_(v[Qd]?t[Qd]():22);return x}function p(v){var _=Bi(new Date);s.accountAcquisitionDate=_,s[vy]=!0;var x=[v,_];return x}function m(v){var _=31536e3;s[wy]=r.set(i(),v,_)}if(!s.id){s.id=u();var g=p(s.id);m(g[Ay](e[zy]));var f=t[$l]&&t[$l]()?t[$l]()+"ai_session":"ai_session";Cq(n,f)}s[Fa]=t[Fa]?t[Fa]():void 0;var y=r.get(e[$I]);if(y){y=decodeURI(y);var h=y.split(e[zy]);h[0]&&(s[Zd]=h[0]),h[xg]>1&&h[1]&&(s[Fa]=h[1])}s.setAuthenticatedUserContext=function(v,_,x){x===void 0&&(x=!1);var z=!ife(v)||_&&!ife(_);if(z){ve(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[Zd]=v;var C=s[Zd];_&&(s[Fa]=_,C=[s[Zd],s.accountId][Ay](e[zy])),x&&r.set(e[$I],encodeURI(C))},s.clearAuthenticatedUserContext=function(){s[Zd]=null,s[Fa]=null,r.del(e[$I])},s[vg]=function(v){if(s.id!==v||!s[wy]){var _=v||u(),x=p(_);m(x[Ay](e[zy]))}}})}return e.cookieSeparator="|",e.userCookieName="ai_user",e.authUserCookieName="ai_authUser",e}();var DI="ext",NI="tags";function Py(e,t){e&&e[t]&&di(e[t])[xg]===0&&delete e[t]}var afe=function(){function e(t,o,n){var r=this,i=t.logger;this.appId=function(){return null},this[Ty]=function(){return null},dt(e,this,function(s){if(s.application=new Xge,s.internal=new tfe(o),qc()){s[_y]=new nfe(o,t),s.device=new efe,s.location=new ofe,s.user=new sfe(o,t);var a=void 0,l=void 0,c;n&&(a=n.getTraceId(),l=n.getSpanId(),c=n.getName()),s[ET]=new rfe(a,l,c,i),s.session=new cH}s[Ty]=function(){var u=s.session,p=null;if(u&&Ve(u.id))p=u.id;else{var m=(s[_y]||{})[Kd];p=m&&Ve(m.id)?m.id:null}return p},s[EI]=function(u,p){jt(jo(u.ext,Xn.AppExt),"sesId",s[Ty](),Ve)},s[LI]=function(u,p){jt(u.ext,Xn.OSExt,s.os)},s[AI]=function(u,p){var m=s.application;if(m){var g=jo(u,NI);jt(g,no.applicationVersion,m.ver,Ve),jt(g,no.applicationBuild,m.build,Ve)}},s[zI]=function(u,p){var m=s.device;if(m){var g=jo(jo(u,DI),Xn.DeviceExt);jt(g,"localId",m.id,Ve),jt(g,"ip",m.ip,Ve),jt(g,"model",m.model,Ve),jt(g,"deviceClass",m.deviceClass,Ve)}},s[MI]=function(u,p){var m=s.internal;if(m){var g=jo(u,NI);jt(g,no.internalAgentVersion,m.agentVersion,Ve),jt(g,no.internalSdkVersion,m.sdkVersion,Ve),(u.baseType===Hc.dataType||u.baseType===Pr.dataType)&&(jt(g,no.internalSnippet,m.snippetVer,Ve),jt(g,no.internalSdkSrc,m.sdkSrc,Ve))}},s[RI]=function(u,p){var m=r.location;m&&jt(jo(u,NI,[]),no.locationIp,m.ip,Ve)},s[PI]=function(u,p){var m=s[ET];if(m){var g=jo(jo(u,DI),Xn.TraceExt,{traceID:void 0,parentID:void 0});jt(g,"traceID",m.traceID,Ve,de),jt(g,"name",m.name,Ve,de),jt(g,"parentID",m.parentID,Ve,de)}},s.applyWebContext=function(u,p){var m=r.web;m&&jt(jo(u,DI),Xn.WebExt,m)},s[II]=function(u,p){var m=s.user;if(m){var g=jo(u,NI,[]);jt(g,no.userAccountId,m[Fa],Ve);var f=jo(jo(u,DI),Xn.UserExt);jt(f,"id",m.id,Ve),jt(f,"authId",m[Zd],Ve)}},s.cleanUp=function(u,p){var m=u.ext;m&&(Py(m,Xn.DeviceExt),Py(m,Xn.UserExt),Py(m,Xn.WebExt),Py(m,Xn.OSExt),Py(m,Xn.AppExt),Py(m,Xn.TraceExt))}})}return e.__ieDyn=1,e}();var z1e=function(e){Rn(t,e);function t(){var o=e.call(this)||this;o.priority=110,o.identifier=Ed;var n,r,i;return dt(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(!de(p)){m=s._getTelCtx(m),p.name===Pr.envelopeType&&m.diagLog().resetInternalMessageCount();var g=s.context||{};g.session&&typeof s.context.session.id!="string"&&g[_y]&&g[_y][vg]();var f=g.user;if(f&&!f[wy]&&f[vg](g.user.id),u(p,m),f&&f[vy]){f[vy]=!1;var y=new Hc(72,(zr()||{}).userAgent||"");GU(m.diagLog(),1,y)}s.processNext(p,m)}},s._doTeardown=function(p,m){var g=(p||{}).core();if(g&&g[CI]){var f=g[CI](!1);f===r&&g.setTraceCtx(i)}l()};function l(){n=null,r=null,i=null}function c(p){var m=s.identifier,g=s.core,f=Zn(null,p,g),y=t.getDefaultConfig();n=n||{},Et(y,function(h,v){n[h]=function(){return f.getConfig(m,h,v())}}),i=g[CI](!1),s.context=new afe(g,n,i),r=sg(s.context[ET],i),g.setTraceCtx(r),s.context.appId=function(){var h=g.getPlugin(Vx);return h?h.plugin._appId:null},s._extConfig=n}function u(p,m){jo(p,"tags",[]),jo(p,"ext",{});var g=s.context;g[EI](p,m),g[AI](p,m),g[zI](p,m),g[PI](p,m),g[II](p,m),g[LI](p,m),g.applyWebContext(p,m),g[RI](p,m),g[MI](p,m),g.cleanUp(p,m)}}),o}return t.getDefaultConfig=function(){var o,n,r=null,i=(o={instrumentationKey:function(){return n}},o[Fa]=function(){return r},o.sessionRenewalMs=function(){return 30*60*1e3},o.samplingPercentage=function(){return 100},o.sessionExpirationMs=function(){return 24*60*60*1e3},o[PT]=function(){return r},o[xy]=function(){return r},o.isBrowserLinkTrackingEnabled=function(){return!1},o.appId=function(){return r},o[Ty]=function(){return r},o[$l]=function(){return n},o[ky]=function(){return n},o[Sy]=function(){return n},o[Qd]=function(){return 22},o[Yd]=function(){return r},o);return i},t}(La),uH=z1e;var lfe="AuthenticatedUserContext",Iy="track";var jI="snippet",cfe="getCookieMgr",ufe="startTrackPage",dfe="stopTrackPage",OI="flush",pfe="startTrackEvent",mfe="stopTrackEvent",dH="addTelemetryInitializer",Jvt=dH+"s",pH="pollInternalLogs",FI="getPlugin",UI="evtNamespace",gfe=Iy+"Event",ffe=Iy+"Trace",hfe=Iy+"Metric",bfe=Iy+"PageView",yfe=Iy+"Exception",_fe=Iy+"DependencyData",wfe="set"+lfe,vfe="clear"+lfe;var xfe="updateSnippetDefinitions",Tfe="loadAppInsights",mH="endpointUrl";var IT="diagnosticLogInterval";var kfe="disableFlushOnBeforeUnload",Sfe="disableFlushOnUnload";var iu="config",qs="context",LT="push",qI="version",Jd="queue",HI="connectionString",gH="instrumentationKey",RT="appInsights",fH="disableIkeyDeprecationMessage",hH="getTransmissionControls",Ly="onunloadFlush",bH="addHousekeepingBeforeUnload",MT="indexOf";var yH,Cfe=[jI,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"];var _H=function(){function e(t){var o=this,n,r,i,s,a,l,c;dt(e,this,function(u){v(),s=""+(t.sv||t[qI]||""),t[Jd]=t[Jd]||[],t[qI]=t[qI]||2;var p=t[iu]||{};if(p[HI]){var m=Iq(p[HI]),g=m.ingestionendpoint;p[mH]=g?g+Vc:p[mH],p[gH]=m.instrumentationkey||p[gH]}u[RT]=new sI,r=new uH,n=new lH,i=new eH,c=new dq,u.core=c;var f=de(p[fH])?!0:p[fH];!p[HI]&&!f&&ve(c.logger,1,106,"Instrumentation key support will end soon, see aka.ms/IkeyMigrate"),u[jI]=t,u[iu]=p,y(),u[OI]=function(_){_===void 0&&(_=!0),bd(c,function(){return"AISKU.flush"},function(){$e(c[hH](),function(x){$e(x,function(z){z[OI](_)})})},null,_)},u[Ly]=function(_){_===void 0&&(_=!0),$e(c[hH](),function(x){$e(x,function(z){z[Ly]?z[Ly]():z[OI](_)})})},u[Tfe]=function(_,x,z){_===void 0&&(_=!1);function C(H){if(H){var O="";de(s)||(O+=s),_&&(O+=".lg"),u[qs]&&u[qs].internal&&(u[qs].internal.snippetVer=O||"-"),Et(u,function(pe,Ee){Ve(pe)&&!Ye(Ee)&&pe&&pe[0]!=="_"&&$n(Cfe,pe)===-1&&(H[pe]=Ee)})}}return _&&u[iu].extensions&&u[iu].extensions.length>0&&Po("Extensions not allowed in legacy mode"),bd(u.core,function(){return"AISKU.loadAppInsights"},function(){var H=[];H[LT](i),H[LT](r),H[LT](n),H[LT](u[RT]),c.initialize(u[iu],H,x,z),u[qs]=r[qs],yH&&u[qs]&&(u[qs].internal.sdkSrc=yH),C(u[jI]),u.emptyQueue(),u[pH](),u[bH](o)}),u},u[xfe]=function(_){AU(_,u,function(x){return x&&$n(Cfe,x)===-1})},u.emptyQueue=function(){try{if(Ct(u.snippet[Jd])){for(var _=u.snippet[Jd].length,x=0;x<_;x++){var z=u.snippet[Jd][x];z()}u.snippet[Jd]=void 0,delete u.snippet[Jd]}}catch(H){var C={};H&&Ye(H.toString)&&(C.exception=H.toString())}},u[bH]=function(_){if(qc()||uP()){var x=function(){if(_[Ly](!1),Ye(o.core[FI])){var H=o.core[FI](Ed);if(H){var O=H.plugin;O&&O[qs]&&O[qs]._sessionManager&&O[qs]._sessionManager.backup()}}},z=!1,C=_.appInsights[iu].disablePageUnloadEvents;l||(l=Wi(a,c[UI]&&c[UI]())),_.appInsights.config[kfe]||(sq(x,C,l)&&(z=!0),Ex(x,C,l)&&(z=!0),!z&&!UU()&&ve(_[RT].core.logger,1,19,"Could not add handler for beforeunload and pagehide")),!z&&!_.appInsights.config[Sfe]&&Ex(x,C,l)}},u.getSender=function(){return i},u.unload=function(_,x,z){u[Ly](_),l&&(aq(null,l),lq(null,l)),c.unload&&c.unload(_,x,z)},Uc(u,u[RT],[cfe,gfe,bfe,"trackPageViewPerformance",yfe,"_onerror",ffe,hfe,ufe,dfe,pfe,mfe]),Uc(u,h,[_fe,"addDependencyListener","addDependencyInitializer"]),Uc(u,c,[dH,pH,"stopPollingInternalLogs",FI,"addPlugin",UI,"addUnloadCb","getTraceCtx"]),Uc(u,function(){var _=r[qs];return _?_.user:null},[wfe,vfe]);function y(){u.config[IT]=u.config[IT]&&u[iu][IT]>0?u[iu][IT]:1e4}function h(){return n}function v(){a=Kn("AISKU"),l=null,n=null,r=null,i=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 r=e.toLowerCase();if(r){for(var i="",s=0;s{},trackException:()=>{},trackTrace:()=>{}};function Efe(){if(!k.applicationInsights)return;let e={"docs.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","learn.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","docs.azure.cn":"9367385a-f935-4fd9-91da-c734500b5d55","developer.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","review.docs.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","review.learn.microsoft.com":"9367385a-f935-4fd9-91da-c734500b5d55","ppe.docs.microsoft.com":"89ee6297-0550-4fd8-8d37-c2aa8d2ec81c","dev.learn.microsoft.com":"89ee6297-0550-4fd8-8d37-c2aa8d2ec81c"}[ee.hostname];if(!e)return;let t=new _H({config:{instrumentationKey:e,disableFetchTracking:!1}});t.loadAppInsights();let o=()=>{S.isAuthenticated?t.setAuthenticatedUserContext(S.userId):t.clearAuthenticatedUserContext()};S.subscribe(To,o),o(),t.trackPageView(),lt.subscribe(bo,()=>{t.trackPageView({properties:{syntheticPageView:!0}})}),On=t}function wH(e,t){return async function(...o){let n=t;for(;;)try{return await e.apply(null,o)}catch(r){if(n<=0)throw r;n--}}}async function Afe(){let e={method:"POST"},t=Z(M.contentAuthorizationService.deleteCasTokenCookie,e,!0,!1);await wH(async()=>{(await R(t)).ok},10)()}A();Ge();var P1e=0;function Xe(){return`ax-${P1e++}`}function su(){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 Oo(e){return e?e.toLowerCase().replace(/_/g,"-").replace(/\W/g,"-"):""}var Pfe=d`
`;function vH(e=!0){let t=e?"color-text-subtle":"white-static-text";return e?d` `:d``}function zfe(e){return d` `}var I1e="casSignIn",BI=class e{constructor(t,o=!1){this.url=ei(t),o&&this.url.searchParams.set(I1e,"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),r=ei(o);return r.searchParams.delete("source"),{redirectUrl:r.href,source:n.source,microsoftUser:void 0}}catch{return{redirectUrl:void 0,source:void 0,microsoftUser:void 0}}}toString(){return this.url.href}};function Ife(e,t=!1){let o=null;try{o=new BI(e,t).toString()}catch{o=location.href}return o}var Jxt=new URL("./register",_c()).toString(),GI=L.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`,Xxt=Rfe(),eTt=location.origin,L1e=L.supportLevel==="production"?"18fbca16-2224-45f6-85b0-f7bf2b39b3f3":"f602d4fb-244f-48be-a746-435fac3917df",R1e="https://login.microsoftonline.com",M1e="common",Ir,Lfe=async()=>{let e={auth:{clientId:L1e,authority:`${R1e}/${M1e}`,redirectUri:GI},cache:{cacheLocation:"localStorage"},system:{loggerOptions:{loggerCallback:(t,o,n)=>{if(!n)switch(t){case Mt.Info:L.reviewFeatures&&console.info(o);return;case Mt.Verbose:L.reviewFeatures&&console.debug(o);return;case Mt.Warning:L.reviewFeatures?console.warn(o):On.trackTrace({message:o,severityLevel:Mt.Warning,iKey:"learn.msal"});return;case Mt.Error:L.reviewFeatures?console.error(o):On.trackTrace({message:o,severityLevel:Mt.Error,iKey:"learn.msal"});return}}}}};Ir=new ax(e),await Ir.initialize()};function Rfe(){return L.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 $1e(e,t=null,o=!1){let n=Ife(e,o),r=Rfe(),i=encodeURIComponent(n),s=su();return{scopes:["openid","profile","email"],prompt:t,redirectStartPage:r,nonce:s,redirectUri:GI,state:i}}function Mfe(e,t=null,o=!1){return Ir.setActiveAccount(null),Ir.loginRedirect($1e(e,t,o))}var D1e={scopes:["openid","profile","email"]};function $fe(){try{let e=N1e();return e?Ir.acquireTokenSilent(Object.assign({},D1e,{prompt:"none",account:e})).then(t=>(eA(t.idToken),!0)).catch(()=>(tA(),!1)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}function N1e(e=Hu()){if(!e)return null;let o=rA(e).preferred_username;return o?Ir.getAccount({username:o}):null}function Fo(e=location.href,t="select_account",o=!1){Mfe(e,t,o)}var j1e=location.origin;async function es(e=location.href,t=!1,o=!1){if(O1e(),t&&await R(M.auth.signOut),spe(),Xo()&&await Afe(),nA(),tA(),!o){let n=ei(e,j1e);location.href=`${n.origin}${n.pathname}${n.search}`}}function O1e(){localStorage.removeItem("gitHubToken")}async function xH(e,t,o,n){return we({behavior:le.SIGNIN,actionType:Se.OTHER,content:{autoIngest:!0,type:"learn-sso-attempt",loadTime:performance.now(),timeStamp:new Date().toISOString(),referrer:T.referrer,hasLoginHint:!!t,status:e,uuid:crypto.randomUUID(),errorCode:o,errorMessage:n}})}function Dfe({sso:e,loginHint:t}={}){return async function(o=()=>!1){if(e)try{await Te,xH("started",t),Ht({context:"sso",source:e},"replaceState");let n={scopes:["openid","profile","email"]};t&&(n.loginHint=t);let r=await Ir.ssoSilent(n);if(r)return nA(),eA(r.idToken),xH("completed",t),!0}catch(n){return n instanceof rt&&await xH("error",t,n.errorCode,n.errorMessage),n instanceof So&&(es("",!1,!0),Fo(window.location.href,"select_account")),o()}return o()}}function Nfe(e=re().sso,t=re().login_hint){return(e||t)&&Ht({sso:null,login_hint:null},"replaceState"),{sso:e,loginHint:t}}function jfe(e=new URL(window.location.href)){let t=e.searchParams.get("redirectUrl");if(!t)return{};try{let o=new URL(t,"https://fakeurl.com"),n=o.searchParams.get("sso")??void 0,r=o.searchParams.get("login_hint")??void 0;return{sso:n,loginHint:r}}catch{return{}}}var VI=class{},WI=class{constructor(t,o,n=new He){this.stack=t,this.final=o,this.bus=n}async run(){let t=0,o=!0,n=this.final,r=[],i=this.bus.subscribe(VI,()=>o=!1),s=a=>(this.bus.publish(new VI),n=a||n,!1);try{for(;o&&this.stack[t];){let a=await this.stack[t](s);if(a||r[t]!==!1){r[t]=a,t+=a?-1:1;continue}o=!1}t>=0&&n(),i()}catch(a){throw i(),this.final(),a}}};var Ffe=M.profile.me,Ufe=Nfe(),Ofe=jfe(),OTt=Ofe.sso?Ofe:Ufe,F1e=`${Ffe}?isCPMCalled=true`,qfe=new URL("./register",_c()).toString();async function Tg(){let t=location.pathname.split("/").indexOf("edit")!==-1?F1e:Ffe;try{let n=await fetch(Z(t,{credentials:"include"}));if(n.ok&&n.status!==204){let r=await n.json();S.readUserProfile(r)}else S.setAnonymous()}catch{S.setAnonymous()}}async function Hfe(e=()=>{S.setAnonymous()}){if(!k.userServices)return S.setAnonymous(),Promise.resolve();await new WI([U1e,q1e,Dfe(Ufe),$fe],e).run()}async function U1e(e=()=>!1){try{let t=Xo();if(t){let o=Jp(t);return S.readUserFromToken(o),!0}return!1}catch(t){return t instanceof ll?!1:e()}}async function q1e(e=()=>!1){try{let t=Hu();if(t){Jp(t);let o=await k2(t);return oA(o),!0}return!1}catch(t){return t instanceof ll?!1:t instanceof pv?location.pathname.endsWith("/external-sign-in.html")?!1:e(H1e):e()}}function H1e(){if(P("page_kind")!=="register"&&(S.setAnonymous(),!location.href.includes("/answers"))){let o=se({redirectUrl:location.href});location.href=ei(`${qfe}?${o}`).href;return}let e=Hu();if(!e)return;let t=Jp(e);S.mapIdTokenToProfile(t)}function Bfe(e=location.href){let t=encodeURIComponent(e);location.href=`/_themes/docs.theme/master/en-us/_themes/global/permissioned-auth.html?changeDirectory=true&redirectUrl=${t}`}var Xd=["a","area","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","summary","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'];function QI(e){return e.matches(Xd.join(","))}function YI(e,t=!0){return o=>{if(o.target instanceof Element&&!e.contains(o.target)){o.preventDefault();let n,r=Array.from(e.querySelectorAll(Xd.join(",")));o.target.compareDocumentPosition(e)&(t?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING)&&r.reverse();let i=r.length;for(;i--;){let s=r[i],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 TH(e){let t=e.createElement("span");return t.setAttribute("tabindex","0"),t.classList.add("modal-tab-sentinel"),t}A();var KI=[];function kg(e){KI.push(e)}function Ot(e,t,o,n){e.addEventListener(t,o,n);let r=()=>e.removeEventListener(t,o,n);return kg(r),r}function Gfe(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 Ry=e=>{let t=e.querySelector("[data-autofocus]");if(t&&QI(t)){t.focus();return}e.focus()},_e=class e{constructor(t,o="visibility-hidden-visual-diff"){this.restoreScrollbar=()=>{};this.clickHandler=t=>{let o=t.target,n=o.closest(".modal-pop-content"),r=o.closest(".modal-close");r?(t.preventDefault(),this.hide(r.getAttribute("data-modal-result"))):n&&(t.preventDefault(),this.popContent())};this.escHandler=t=>{if(t.key==="Escape"){if(T.activeElement&&T.activeElement.closest(".popover[open]"))return;t.preventDefault(),this.hide()}};this.setAriaLabelledBy=t=>{let 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=T.createElement("div"),this.container.setAttribute("tabindex","-1"),this.container.setAttribute("role","dialog"),this.container.setAttribute("aria-modal","true"),this.container.classList.add("modal","has-default-focus"),o&&this.container.classList.add(o),this.container.setAttribute("data-test-id","modal-container"),w(d` ${t} `,this.container),window.addEventListener("close-modals",()=>{this.hide()}),this.wrapper=T.createElement("div"),this.wrapper.setAttribute("data-bi-name","modal"),this.wrapper.insertAdjacentElement("afterbegin",this.container),this.contentStack=[t]}static get openCount(){return window.openModalCount||0}static set openCount(t){window.openModalCount=t}show(){return this.container.classList.contains("is-active")?this.openPromise:(e.openCount++,T.body.insertAdjacentElement("afterbegin",TH(T)),T.body.insertAdjacentElement("afterbegin",this.wrapper),this.wrapper.addEventListener("click",this.clickHandler),this.wrapper.addEventListener("keydown",this.escHandler),this.restoreScrollbar=Gfe(T.documentElement,T.scrollingElement||T.documentElement,(T.scrollingElement||T.documentElement||T.body).scrollTop),this.container.classList.add("is-active"),T.body.insertAdjacentElement("afterbegin",TH(T)),this.setAriaLabelledBy(this.container),window.dispatchEvent(new CustomEvent("modal-show",{detail:{container:this.container}})),this.lastFocus=T.activeElement,this.focusHandler=YI(this.wrapper),Ot(window,"focus",this.focusHandler,!0),Ry(this.container),this.openPromise=new Promise(t=>this.resolveOpen=t),this.openPromise)}hide(t=null){this.container.classList.contains("is-active")&&(e.openCount--,this.restoreScrollbar(),this.container.classList.remove("is-active"),this.wrapper.parentElement.removeChild(this.wrapper),Array.from(T.body.querySelectorAll(".modal-tab-sentinel")).forEach(o=>{T.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 r=this.container.querySelector(".modal-slide-container"),i=r.querySelector(".modal-slide:first-of-type");if(r===null||i===null)throw new Error(`The ${r===null?"modal-slide-container":"modal-slide"} class is missing!`);r.appendChild(t);let s={forward:ct.userDir==="ltr"?"slide-right":"slide-left",backward:ct.userDir==="ltr"?"slide-left":"slide-right"},a=n?s.forward:s.backward;o?(setTimeout(()=>{i.classList.add(a),t.classList.add(a)},50),setTimeout(()=>{t.classList.remove(a),l(this)},250)):l(this);function l(c){r.removeChild(i),Ry(c.container),c.setAriaLabelledBy(c.container)}}pushContent(t){this.contentStack.push(t),w(d` ${this.contentElement} `,this.container),this.setAriaLabelledBy(this.container),Ry(this.contentElement)}popContent(){if(this.contentStack&&this.contentStack.length<=1)throw new Error("Error getting modal content");this.contentStack.pop(),w(d` ${this.contentElement} `,this.container),Ry(this.contentElement)}get contentElement(){return this.contentStack[this.contentStack.length-1]}};A();var ZI={setItem(e,t,o){try{let n=o.getTime();if(Date.now()>=n)return;let r={value:t,expiry:n};X.setItem(e,JSON.stringify(r))}catch{}},getItem(e){try{let t=X.getItem(e);if(!t)return null;let o=JSON.parse(t);return typeof o.expiry!="number"||isNaN(o.expiry)||Date.now()>=o.expiry?(X.removeItem(e),null):o.value}catch{return null}},removeItem(e){X.removeItem(e)},clear(){X.clear()}};A();var JI=location.pathname.split("/").map(e=>e.toLowerCase()),B1e=JI.length>2?JI[2]:"",Ft=B1e==="test";function Vfe(){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 XI(){let e=G1e(),t;return Ft?t=`/${b.data.userLocale}/test/training/support/troubleshooting${e}`:t=`/${b.data.userLocale}/training/support/troubleshooting${e}`,t}function G1e(){let e={uid:P("uid")||"",documentId:P("document_id")||"",versionIndependentDocumentId:P("document_version_independent_id")||"",platformId:P("platform_id")||"",contentPath:Vfe(),url:location.href,author:P("ms.author")||""},t=Object.keys(e).reduce((o,n)=>{let r=e[n];return r===void 0||r.trim().length===0||o.push(`${n}=${encodeURIComponent(r)}`),o},[]);return t.length===0?"":`?${t.join("&")}`}function eL(e,t=Fo){let o=new URL(e||location.href);o.searchParams.set("account-linking","1"),t(o.href,"login")}var vi={Cancel:{text:Ne,clickHandler:xh,modifiers:"button-primary",biName:"add-account-error-cancel"},ContactCustomerSupport:{text:zY,clickHandler:()=>{location.href=XI()},modifiers:"button-primary button-filled",biName:"add-account-error-contact-support"},Ok:{text:An,clickHandler:xh,modifiers:"button-primary button-filled",biName:"add-account-error-ok"},SelectAccount:{text:_se,clickHandler:()=>eL(),modifiers:"button-primary button-filled",biName:"add-account-error-select-account"}};function V1e(e){return{accountAlreadyRegistered:{title:sse.replace("{account}",e),description:dse,buttons:[vi.Cancel,vi.SelectAccount]},alreadyHasCertProfileConnected:{title:wse,description:vse,buttons:[vi.ContactCustomerSupport]},alreadyLinked:{title:pse,description:qN,buttons:[vi.Cancel,vi.SelectAccount]},moreThanOneAccountPerTenant:{title:cse,description:`${fse} ${qN}.`,buttons:[vi.Ok]},moreThanOneMSAAccount:{title:hse,description:mse.replace("{account}",e),buttons:[vi.Ok]},needAtLeastOneAccountLinked:{title:gse,description:use,buttons:[vi.Ok]},numberOfAccounts:{title:ase,description:lse,buttons:[vi.Ok]},profileMergeRunning:{title:bse,description:yse,buttons:[vi.Ok]},profileMergeAlreadyComplete:{title:kse,description:Sse,buttons:[vi.Ok]},profileMergeRecordNotFound:{title:Cse,description:Ese,buttons:[vi.Ok]},previousMergeAttemptPreventsAction:{title:Ase,description:zse,buttons:[vi.Ok]},unexpectedError:{title:eo,buttons:[vi.Ok]}}}function kH(e,t){let o=V1e(e)[t];return d` ${o.title?d`

${o.title}

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

${j(o.description)}

`:null} ${o.buttons?d`
${o.buttons.map(n=>d``)}
`:null} `}var W1e={Complete:{color:"success",icon:"docon-status-success-outline",text:Pse},Failed:{color:"danger",icon:"docon-status-failure-outline",text:Ise},Running:{color:"warning",icon:"docon-status-info-outline",text:Dse},Terminated:{color:"success",icon:"docon-status-success-outline",text:Nse}};function Q1e(){return ZI.getItem("check-merge-status")!==null}function Y1e(){ZI.removeItem("check-merge-status")}async function tL(e=!1){if(!(!e&&!Q1e()))try{let t=await E2();if(t===null||(SH(t),t!=="Running"))return;let o=setInterval(async()=>{t=await E2(),t!==null&&(SH(t),t!=="Running"&&(clearInterval(o),Y1e()))},3e4)}catch{}}async function K1e(){try{await Ule()}catch{}}function Z1e(e){return d`
`}async function SH(e){if(e==="Acknowledged")return;if(e==="Locked"){J1e();return}e==="Complete"&&Mi.type==="profile"&&await Tg();let t=W1e[e];if(!t)return;let o=Mse,n=$se;if(e==="Failed"){let l=await Fle();if(!l)return;let c=l.sourceUserName,u=l.destinationUserName;t.text=t.text.replace("{sourceUser}",Be(c)),t.text=t.text.replace("{destinationUser}",Be(u)),o=o.replace("{terminateMergeText}",BN),n=n.replace("{retryMergeText}",HN)}let r=d`

${Lse}


${Rse}

  • ${j(o)}
  • ${j(n)}
`,i=document.querySelector("#add-account");if(!i)return;e==="Running"||e==="Failed"?(i.disabled=!0,i.classList.add("is-disabled")):(i.disabled=!1,i.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)),w(d`

${t.text}

${e==="Failed"?d`${r} ${Z1e(a)}`:""}
${e==="Complete"?d``:null}
`,a))}function J1e(){let e=document.createElement("div"),t=new _e(e);w(d` `,e),t.show(),document.querySelector(".modal").addEventListener("click",n=>{n.preventDefault(),n.stopPropagation(),es(location.origin,!0)})}async function X1e(e){Qfe(e,"Terminate")}async function eNe(e){Qfe(e,"Retry")}async function Wfe(e,t){e.classList.remove("is-loading");let o=document.createElement("div"),n=new _e(o);Yfe(n,t),await n.show(),e.disabled=!1}async function Qfe(e,t){let o,n;t==="Terminate"?(o=e.querySelector("#terminate-failed-merge"),n=M.profile.userCancelMerge):(o=e.querySelector("#retry-failed-merge"),n=M.profile.userRetryMerge);try{o.classList.add("is-loading"),o.disabled=!0;let r=await tNe(n);if(r.hasError){let i=r.errors[0]||"unexpectedError";await Wfe(o,i)}else t==="Terminate"?SH("Terminated"):location.reload()}catch{await Wfe(o,"unexpectedError")}}async function tNe(e){let o=await R(Z(e,{method:"POST"}));if(me(o),o.ok)return Xp(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 Yfe(e,t="unexpectedError",o=""){w(d` `,e.contentElement),e.show()}A();var oL,nL;async function Kfe(e){CH(e)&&await oNe()}function CH(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)>=x2),!n}async function oNe(){if(!oL){let e=T.createElement("div");e.classList.add("modal-content"),w(d` `,e),oL=new _e(e),nL=e.querySelector("#consentModal"),Zfe()}await Te,oL.show()}function Zfe(){let e=S.userType==="microsoft"?cX:KE,t=()=>Ole(),o=d` `;w(o,nL)}function nNe(){let e=d` `;w(e,nL),rNe(nL)}async function rNe(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 jle()?(oL.hide(),await es(location.origin,!0)):t.removeAttribute("hidden")}catch(n){throw t.removeAttribute("hidden"),new Error(`error: ${n.message}`)}finally{o.classList.remove("is-loading")}}}function iNe(e,t,o,n){return n&&n.length!==0||e==="microsoft"?uX.replace("{email}",n||o):t==="AAD"||e==="aad"?tG.replace("{email}",o):FY}async function Jfe(e,t,o){let n=()=>o.setAttribute("data-authenticated",e.isAuthenticated.toString());n(),e.subscribe(To,n),await t,o.setAttribute("data-auth-status-determined","true")}var ze={left:37,up:38,right:39,down:40,home:36,end:35,escape:27,enter:13,space:32,eight:56,numPadAsterisk:106,a:65,b:90};var au="docs-sign-in",EH="docs-sign-out",Xfe="docs-change-directory";function ehe(e){aNe(e),e.addEventListener("click",sNe)}function sNe(e){if(!(e.target instanceof Element))return;let t=e.target.closest(`.${au}, .${EH}, .${Xfe}`);if(!t)return;let o=t.classList.contains(au);e.preventDefault();let r=t instanceof HTMLAnchorElement&&t.matches('a[href]:not([href="http://approjects.co.za/?big="]):not([href="http://approjects.co.za/?big=#"])')?t.href:location.href;if(t.classList.contains(Xfe))Bfe(r);else if(o){let i=b.data.isPermissioned;Fo(r,"select_account",i)}else es(r,!0)}function aNe(e){let t=o=>{if(!(o.target instanceof Element))return;let n=o.target.closest(`.${au}, .${EH}`);if(!n)return;let r=n.classList.contains(au);o.target.setAttribute("data-m",JSON.stringify({cN:r?au:EH,bhvr:r?100:101}))};e.addEventListener("touchstart",t,!0),e.addEventListener("pointerdown",t,!0),e.addEventListener("keyup",o=>{o.which===ze.enter&&t(o)},!0)}var AH,ye=new Promise(e=>AH=e);async function the(e){if(!k.userServices){AH(),Te.then(()=>{let t=T.getElementById("docs-sign-in-container-item");t&&(t.hidden=!0)});return}await Lfe(),await Ir.handleRedirectPromise(),Jfe(S,ye,T.documentElement),ehe(T.documentElement),k.permissionedContent&&Te.then(t=>{T.documentElement.querySelectorAll("[data-permissioned-content]").forEach(o=>o.hidden=!1)}),S.subscribe(To,async()=>{await Promise.all([e.siteHeaderRendered,Te]),T2(T.documentElement,S)}),Hfe().then(AH),ye.then(async()=>{if(S.userType!=="standard"&&Kfe(S),!S.isAuthenticated)return;if(!CH(S)){await Te,tL();return}let t=new URL("./register",_c(b.data.userLocale));if(location.pathname===t.pathname)return;let o=se({redirectUrl:location.href});location.href=`${t.toString()}?${o}`})}A();function ohe(){let e=location.pathname.toLowerCase();if(Ft&&e!==`/${b.data.userLocale}/test/docs/architecture/icons/`)return;if(!Ft&&e!==`/${b.data.userLocale}/azure/architecture/icons/`&&e!==`/${b.data.userLocale}/power-platform/guidance/icons`&&e!==`/${b.data.userLocale}/dynamics365/get-started/icons`)return;let t=T.querySelector(".content a.button"),o=t.href;t.parentElement.parentElement.classList.add("margin-bottom-lg");let n=()=>{T.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"))},r=a=>{let l=a.target instanceof HTMLElement&&a.target;l&&l.parentElement.classList.contains("azure-icons-consent")&&n()},i=T.getElementById("consent-checkbox");i.classList.add("margin-block-sm");let s=i.textContent;w(lNe(s),i),n(),U.addEventListener("change",r)}function lNe(e){return d` `}A();function cNe(e,t){let o={};return e.querySelectorAll("li > a").forEach(r=>{if(r.textContent){let i=t?r.textContent="default":r.textContent.trim().slice(1,-1).split("|");if(i.length===2){let s=i[0].trim(),a=i[1].trim(),l=r.href;s&&a&&l&&(o[s]||(o[s]={}),o[s][a]=l)}}}),o}function nhe(e){let t=document.createElement("a");return t.href=e,t.host===""&&(t.href=t.href),t.protocol+"//"+t.host+t.pathname}function uNe(e){let t=window.location.href.toLowerCase(),o=nhe(t);for(let n in e)for(let r in e[n]){let i=e[n][r].toLowerCase();if(nhe(i).localeCompare(o,void 0,{sensitivity:"base"})===0)return[n,r]}return null}function dNe(e,t,o){function n(u){return[u,u]}function r(u){window.location.href=u}let i=cNe(e,t),s=uNe(i),a=document.createElement("div");a.classList.add("azureselector"),a.classList.add("display-none-print");let l=e.getAttribute("title1"),c=rhe(a,l);if(zH(c,i,n,!1,o),s&&(c.value=s[0]),t)c.addEventListener("change",()=>{c.value&&r(i[c.value].default)});else{let u=e.getAttribute("title2"),p=rhe(a,u);c.addEventListener("change",()=>{zH(p,c.value?i[c.value]:{},n,!1,o)}),p.addEventListener("change",()=>{c.value&&p.value&&r(i[c.value][p.value])}),zH(p,c.value?i[c.value]:{},n,!1,o),s&&(p.value=s[1])}e.insertAdjacentElement("afterend",a)}function ihe(){let e=gV,t=document.querySelector(".op_single_selector"),o=document.querySelectorAll(".op_multi_selector");t&&pNe(t),o.forEach(n=>{dNe(n,!1,e)})}function pNe(e){let t=e.parentNode,o=e.getAttribute("title1"),n=Array.from(document.querySelectorAll(".op_single_selector > ul > li")),r=Array.from(document.querySelectorAll(".op_single_selector > ul > li > a")),i=[];r.map(c=>{let u={title:c.textContent,href:c.href};i.push(u)});let s=n[0].firstElementChild.getAttribute("href")?mNe(i):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=gNe(s,i,o);w(l,a)}function mNe(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 gNe(e,t,o){let n=d``,r=[];o&&(n=d`${o}`);let i="padding-xxs";for(let s of t)r.push(d`
  • ${s.title}
  • `);return d` ${n} `}function rhe(e,t){let o=document.createElement("div");o.classList.add("display-inline-block-tablet","margin-block-xxs","margin-right-xs-tablet");let n=Xe(),r=d`
    ${t?d` `:""}
    `;return w(r,o),e.appendChild(o),o.querySelector("select")}function zH(e,t,o,n,r){let i=[];n||i.push(d``);for(let s in t){let a=o(s,t[s]);a&&a.length===2&&i.push(d``)}w(i,e)}var Lo={value:null};async function PH(e,t,o){let n={scopes:[e],forceRefresh:!0,authority:`https://login.microsoftonline.com/${t}`};return await she(n,o)}async function she(e,t){try{return await Ir.acquireTokenSilent(e)}catch(o){if(On.trackTrace({message:`Acquire Token Silent Failure - ${S?.userName} - ${e.scopes.toString()} - ${e.authority} - ${o?.message}`}),On.trackException(o),o instanceof So&&t.noInteraction===!1)try{return await Ir.acquireTokenPopup(e)}catch(n){return On.trackTrace({message:`Acquire Token Popup Failure - ${S?.userName} - ${e.scopes.toString()} - ${e.authority} - ${n?.message}`}),On.trackException(n),null}return null}}async function fNe(e){if(!(e.username.includes("@")&&e.username.includes(".")))throw new Error(`Account username is not an email address: ${e.username}`);let t=e.username.split("@"),o=t[1]?t[1].split(".")[0]:"",r=`https://login.windows.net/${`${t[0]}${o}.onmicrosoft.com`}/.well-known/openid-configuration`,s=await(await R(r,{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 hNe(e){return![Mle,$le,Rle].includes(e)}var $T={async tryLoadTokens(e={noInteraction:!0}){if(await ye,!S.isAuthenticated)return On.trackTrace({message:`Try Load Token User Not Authenticated - ${S?.userName}`}),null;try{let t=Hu(),n=rA(t).preferred_username,r=Ir.getAccount({username:n});Ir.setActiveAccount(r);let i=P("interactive")?.toLowerCase(),s=i&&(i==="powershell"||i==="bash"),a=P("rest_product")?.toLowerCase()??"",l=r?.tenantId===sA||r?.homeAccountId.split(".")[1]===sA,c=[],u="",p=null;try{u=l?await fNe(r):"organizations"}catch{return c}let m={scopes:["https://management.azure.com/user_impersonation"],forceRefresh:!0,authority:`https://login.microsoftonline.com/${u}`,redirectUri:GI},g=await she(m,e),f="https://management.azure.com/tenants?api-version=2020-01-01",y={method:"GET",headers:{Authorization:`Bearer ${g.accessToken}`}};if(p=await(await R(f,y)).json(),!p||!p.value)return c;p.value=p.value.filter(v=>hNe(v.tenantId));for(let v of p.value){if(!v.tenantId)continue;let _={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:v.displayName,default_domain:v.defaultDomain,tenant_id:v.tenantId},x={arm:"https://management.core.windows.net/user_impersonation","business-assist-api":"https://business-assist.microsoft.com/.default","dev-center":"https://devcenter.azure.com/.default",learn:"https://learn.microsoft.com/.default",fabric:"https://api.fabric.microsoft.com/.default","partner-center-rest":"https://api.partnercenter.microsoft.com/.default","power bi":"https://analysis.windows.net/powerbi/api/.default","health-dataplane":"https://deid.azure.com/.default"},z=await PH(x[a]??x.arm,v.tenantId,e);if(_.access_token=z?.accessToken,_.access_token_type=z?.tokenType,_.expires_at=z?.expiresOn?.valueOf().toString()??"",s){let C=await PH("https://vault.azure.net/user_impersonation",v.tenantId,e);_.key_vault_access_token=C?.accessToken,_.key_vault_access_token_type=C?.tokenType,_.key_vault_expires_at=C?.expiresOn.valueOf().toString();let H=await PH("https://graph.microsoft.com/.default",v.tenantId,e);_.msgraph_access_token=H?.accessToken,_.msgraph_access_token_type=H?.tokenType,_.msgraph_expires_at=H?.expiresOn.valueOf.toString()}c.push(_)}return c}catch(t){return On.trackTrace({message:`Try Load Token Failure - ${S?.userName} - ${t?.message}`}),On.trackException(t),null}}};var bNe=5*60*1e3,ahe=0;function che(){document.addEventListener("visibilitychange",lhe,{passive:!0}),lhe()}function lhe(){document.visibilityState==="visible"?ahe=setInterval(yNe,bNe):clearInterval(ahe)}function yNe(){Lo.value&&$T.tryLoadTokens().then(e=>{let t=e.find(o=>o.default_domain===Lo.value.default_domain);t&&(Lo.value=t)})}function uhe(){return k.banner?(document.querySelectorAll("[data-banner-dismiss]").forEach(t=>{let o=t.closest(".banner");o&&(o.hidden=wNe(t.getAttribute("data-banner-dismiss")))}),document.addEventListener("click",_Ne)):void 0}function _Ne(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(X.getItem("dismissed-banners"));return n?(n.push(o),X.setItem("dismissed-banners",JSON.stringify(n))):X.setItem("dismissed-banners",JSON.stringify([o]))}function wNe(e){let t=JSON.parse(X.getItem("dismissed-banners"));return t?t.some(o=>o===e):!1}var IH;function LH(){if(IH===void 0){let e=P("api")||"/en-us/rest/api/rest-products.json";IH=R(e,{credentials:"include"}).then(t=>t.json())}return IH}function dhe(e){return e==="rest"?LH().then(t=>kNe(t,e)).catch(()=>({platformId:e,displayName:e,families:[]})):R(`${M.monikers}/byPlatform/${encodeURIComponent(e)}`).then(t=>t.json()).then(t=>xNe(t,e)).catch(()=>({platformId:e,displayName:e,families:[]}))}function phe(e){return R(`${M.monikers}/bymoniker/${encodeURIComponent(e)}`).then(t=>t.ok?t.json().then(o=>(TNe(e,o),o)):Promise.reject(null)).then(t=>mhe(t)).catch(()=>RH(e))}function RH(e){return{displayName:e,products:[{displayName:e,packages:[{displayName:e,isDefault:!0,moniker:e,versionDisplayName:e,isDeprecated:!1,isPrerelease:!1}]}]}}function mhe(e){return{displayName:e.familyName,products:e.products.map(({productName:t,packages:o})=>({displayName:t,packages:o.sort((n,r)=>r.order-n.order).filter(n=>vNe(n)).map(n=>({displayName:n.monikerDisplayName,isDefault:n.isDefault,moniker:n.monikerName,versionDisplayName:n.versionDisplayName,isDeprecated:n.isDeprecated,isPrerelease:n.isPrerelease}))}))}}function vNe(e){return b.data.brand==="mooncake"?e.monikerName!=="azure-cli-2017-03-09-profile":!0}function xNe(e,t){return{platformId:t,families:e.map(mhe)}}function TNe(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 kNe(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 sn(e,t,o=0,n=[]){for(let r of e){n.length=o;let i=t(r,n);if(!i)return 0;if(i!==2&&(n[o]=r,r.children&&!sn(r.children,t,o+1,n)))return 0}return 1}var Lr="moniker-changed",MH="same-moniker-selected",ghe=()=>{let e=re().view;return e===void 0?"":e.toLowerCase()},DT=ghe();function st(){return DT}function ep(e){if(e===DT){U.dispatchEvent(new CustomEvent(MH,{detail:{moniker:DT}}));return}DT=e,U.dispatchEvent(new CustomEvent(Lr,{detail:{moniker:DT}}))}U.addEventListener("popstate",()=>ep(ghe()));var Dl={"ar-sa":"\u0627\u0644\u0639\u0631\u0628\u064A\u0629","eu-es":"Euskara","bs-latn-ba":"Bosanski","bg-bg":"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438","ca-es":"Catal\xE0","zh-cn":"\u4E2D\u6587 (\u7B80\u4F53)","zh-hk":"\u4E2D\u6587 (\u7E41\u9AD4 \u9999\u6E2F\u7279\u5225\u884C\u653F\u5340)","zh-tw":"\u4E2D\u6587 (\u7E41\u9AD4)","hr-hr":"Hrvatski","cs-cz":"\u010Ce\u0161tina","da-dk":"Dansk","nl-be":"Nederlands (Belgi\xEB)","nl-nl":"Nederlands","en-au":"English (Australia)","en-ca":"English (Canada)","en-in":"English (India)","en-ie":"English (Ireland)","en-my":"English (Malaysia)","en-nz":"English (New Zealand)","en-sg":"English (Singapore)","en-za":"English (South Africa)","en-gb":"English (United Kingdom)","en-us":"English (United States)","et-ee":"Eesti","fil-ph":"Filipino","fi-fi":"Suomi","fr-be":"Fran\xE7ais (Belgique)","fr-ca":"Fran\xE7ais (Canada)","fr-fr":"Fran\xE7ais","fr-ch":"Fran\xE7ais (Suisse)","gl-es":"Galego","ka-ge":"Georgian","de-at":"Deutsch (\xD6sterreich)","de-de":"Deutsch","de-ch":"Deutsch (Schweiz)","el-gr":"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC","he-il":"\u05E2\u05D1\u05E8\u05D9\u05EA\u200F","hi-in":"\u0939\u093F\u0902\u0926\u0940","hu-hu":"Magyar","is-is":"\xCDslenska","id-id":"Bahasa Indonesia","ga-ie":"Irish (Ireland)","it-it":"Italiano","it-ch":"Italiano (Svizzera)","ja-jp":"\u65E5\u672C\u8A9E","kk-kz":"\u049A\u0430\u0437\u0430\u049B","ko-kr":"\uD55C\uAD6D\uC5B4","lv-lv":"Latvie\u0161u","lt-lt":"Lietuvi\u0173","lb-lu":"Luxembourgish (Luxembourg)","ms-my":"Bahasa Malaysia","mt-mt":"Maltese (Malta)","nb-no":"Norsk","pl-pl":"Polski","pt-br":"Portugu\xEAs (Brasil)","pt-pt":"Portugu\xEAs (Portugal)","ro-ro":"Rom\xE2n\u0103","ru-ru":"\u0420\u0443\u0441\u0441\u043A\u0438\u0439","sr-cyrl-rs":"\u0421\u0440\u043F\u0441\u043A\u0438 (\u0421\u0440\u0431\u0438\u0458\u0430 \u0438 \u0426\u0440\u043D\u0430 \u0413\u043E\u0440\u0430)","sr-latn-rs":"Srbija - Srpski","sk-sk":"Sloven\u010Dina","sl-si":"Slovenski","es-mx":"Espa\xF1ol (M\xE9xico)","es-es":"Espa\xF1ol (Espa\xF1a)","sv-se":"Svenska","th-th":"\u0E44\u0E17\u0E22","tr-tr":"T\xFCrk\xE7e","uk-ua":"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430","vi-vn":"Ti\xEA\u0301ng Vi\xEA\u0323t"};var tp=/^\/([a-z]{2,3}-(?:[a-z]{4}-)?[a-z]{2})(\/|$)/i,SNe="MarketplaceSelectedLocale",CNe=["ContentPage","Conceptual","Module","ModuleUnit","LearningPath"];function $H(e){return!!Dl[e]}function NT(e){let t=tp.exec(e);return t===null?"en-us":t[1].toLowerCase()}function ot(e,t,o=!0){return!e||!$H(t)||e.indexOf("http://")===0||e.indexOf("https://")===0||e.indexOf("//")===0?e:tp.test(e)?o?Sg(e,t):e:"/"+t+e}function an(e){return e.replace(tp,"/")}function Sg(e,t){return e.replace(tp,`/${t}$2`)}async function fhe(){let e=b.data.userLocale,t=b.data.contentLocale,o=ct.machineTranslated;b.data.userLocaleName=Dl[e],await Te,t!==e&&/^en/.test(t)&&!/^en/.test(e)&&!o&&CNe.indexOf(b.data.pageTemplate)!==-1&&to(zNe(b.data.pageTemplate,e)),DH(e)}function hhe(e){ai.set(SNe,e,{expires:365*10})}function DH(e){Array.from(document.querySelectorAll(".locale-selector-link")).forEach(t=>ENe(t,e))}function ENe(e,t){let o=e.querySelector(".local-selector-link-text"),n=Dl[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 r=PY.replace("{language}",n);e.setAttribute("aria-label",r)}function ANe(e){return Ts("localization_scopes").indexOf(e)!==-1}function zNe(e,t){let o=ANe(t),n=Dl[t];return e==="LearningPath"?o?lK.replace("{language}",n):cK.replace("{language}",n):e==="Module"||e==="ModuleUnit"?o?uK.replace("{language}",n):dK.replace("{language}",n):aK}var PNe=/^([.\/]*\/)?([^\?#]*)?(\?[^#]*)?(#.*)?$/,jT=/(^|\/)index$/i,INe=L.accessLevel==="local"&&b.environment===void 0,NH={};function LNe(e,t){let{origin:o,pathname:n}=g2(e),r={"/":`/${t}/`},i=n.split("/"),s="";for(;i.length>2;){i.pop();let a=i.join("/")+"/";r[s]=a,r["./"+s]=a,s+="../"}return{origin:o,relMap:r}}var My=class{constructor(t,o,n,r,i){this.external=t;this.origin=o;this.pathname=n;this.search=r;this.hash=i}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 er(e,t,o=b.data.userLocale,n=ee.origin){let[r,i,,,s,a]=e;if(r==="/"&&i==="/"||s===":"||a===":"){let{origin:_,pathname:x,search:z,hash:C}=g2(e);if(_!==n)return new My(!0,_,x,z,C);let H=tp.exec(x);return(!H||!$H(H[1]))&&(x="/"+o+x),x=decodeURIComponent(x.replace(jT,"$1")),new My(!1,_,x,z,C)}NH[t]===void 0&&(NH[t]=LNe(t,o));let{origin:l,relMap:c}=NH[t],u=PNe.exec(e),[,p="",m="",g="",f=""]=u,y=c[p];INe&&(m=m.replace(/\.html$/i,""));let h=m.replace(jT,"$1");h.indexOf("%")!==-1&&(h=decodeURIComponent(h));let v=y+h;return new My(!1,l,v,g,f)}function op({origin:e,pathname:t,search:o,hash:n}=ee){return t=jH(t),t=decodeURIComponent(t).toLowerCase().replace(jT,"$1"),new My(!1,e,t,o,n)}function jH(e){return e.replace(/\/+/g,"/")}var RNe=op(),iL=P("moniker_definition_rel"),rL,OH=new Map,Cg=!!iL&&iL.endsWith(".json");function FH(){if(!iL)return null;let e=er(iL,RNe.href);return _he(e.href)}async function yhe(e){let t=[],o=st();for(let n of e)if(n.metadata?.moniker_definition_rel){let r=er(n.metadata.moniker_definition_rel,n.url);t.push(_he(r.href).then(({monikerSet:i})=>bhe(n.nodes,i)))}else o&&t.push(Promise.resolve(bhe(n.nodes,new Set([o]))));await Promise.all(t)}function bhe(e,t){t?.size&&sn(e,(o,n)=>{if(o.monikers===void 0&&n&&n.length){let r=n[n.length-1];r.monikers&&r.monikers.length&&(o.monikers=r.monikers)}if(o.monikers&&o.monikers.length&&o.selectedMoniker===void 0){let r=o.monikers.find(i=>t.has(i));o.selectedMoniker=r===void 0?null:r}return!0})}function _he(e){let t={family:null,monikerSet:new Set};if(!e)return Promise.resolve(t);let o;return OH.has(e)?o=OH.get(e):(o=R(e,{credentials:"include"}).then(n=>n.json()).then(n=>MNe(n)).catch(()=>t),OH.set(e,o)),o}function MNe(e){let t=null,o=new Set,n=st(),r=e.products.reduce((i,s)=>{let a=s.familyName;return i[a]=i[a]||[],i[a].push(s),i},{});return Object.keys(r).forEach(i=>{let s="",a=!1,l=r[i];l.forEach(u=>{u.monikers.forEach(p=>{p.isDefault&&(s=p.monikerName),p.monikerName===n&&(a=!0,t=$Ne(i,l))})});let c=a?n:s;c&&o.add(c)}),{family:t,monikerSet:o}}async function whe(){if(rL===void 0){let e=st();if(Cg){let t=await FH();rL=Promise.resolve(t?.family??RH(e))}else rL=phe(e)}return rL}function $Ne(e,t){return{displayName:e,products:t.map(o=>({displayName:o.productName,packages:o.monikers.sort((n,r)=>r.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 UH;function qa(){return UH===void 0&&(UH=whe()),UH}function $y(e,t){for(let o of e.products)for(let n of o.packages)if(n.moniker===t)return n;return null}var Dy=null;async function vhe(e=b.data.pageTemplate){sL();let t=re(),o=t.viewFallbackFrom,n=t.branchFallbackFrom,r=t.branch;if(o&&e!=="NotFound"){DNe(o);return}n&&r&&NNe(n,r)}async function DNe(e){let t=await qa(),o=$y(t,e);o&&(Dy=to(fX.replace("{moniker}",Be(o.displayName))))}function NNe(e,t){Dy=to(_V.replace("{branchFallbackFrom}",Be(e)).replace("{branch}",Be(t)))}function sL(){if(Dy){let e=Dy.firstElementChild;if(!e)return;Dy.removeChild(e),Dy=null,zt()}}function xhe(){L.supportLevel==="production"&&L.reviewFeatures&&to(sK)}A();var aL=[];var OT="banner-instructions",FT="banner-instructions-locale",jNe=1e3*60*60;function The(e=k.temporaryClientSideEventBanners){if(e){try{HH()}catch{X.removeItem(OT),X.removeItem(FT)}qH()}}async function qH(e=R,t=new Date){let o=khe();if(o&&o.date.getTime()+jNe>Date.now())return;let n=L.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",r=new URL(`/${b.data.userLocale}/${n}banners/index.json`,location.origin);if(L.reviewFeatures){let a=new URLSearchParams(location.search).get("api-branch")??"main";r.searchParams.set("branch",a)}let i=await e(r.href),{banners:s=[]}=i.ok?await i.json():{};X.setItem(OT,JSON.stringify({date:t,banners:s})),X.setItem(FT,b.data.userLocale)}function HH(){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:r,content:i,displayType:s})=>{let[a,l]=i.text.split("|");l||(l=a,a=""),a=a.trim(),l=l.trim();let c=r.paths.map(g=>{let f=!g.endsWith("*");return{path:g.substring(1).replace(/\*/g,""),fullPathMatch:f}}),u="",p="";return i.link&&(u=i.link.title,p=i.link.href.startsWith("/")?`/${t}${an(i.link.href)}`:i.link.href),{id:n,startTime:r.startDate,endTime:r.endDate,bannerPaths:c,eventTitle:a,eventDescription:l,linkHref:p,linkText:u,imageUrl:i.imageUrl,displayType:s,displayedEventStartDate:r.displayedEventStartDate,displayedEventEndDate:r.displayedEventEndDate}});aL.push(...o)}function khe(e=b.data.userLocale){let t=X.getItem(OT),o=X.getItem(FT);if(o&&o!==e||!t)return X.removeItem(OT),X.removeItem(FT),null;try{let r=JSON.parse(t);if(r.date=new Date(r.date),isNaN(r.date.getTime()))return null;for(let i of r.banners){if(i.scope.startDate=new Date(i.scope.startDate),i.scope.endDate=new Date(i.scope.endDate),isNaN(i.scope.startDate.getTime())||isNaN(i.scope.endDate.getTime()))return null;i.scope.displayedEventStartDate&&i.scope.displayedEventEndDate&&(i.scope.displayedEventStartDate=new Date(i.scope.displayedEventStartDate),i.scope.displayedEventEndDate=new Date(i.scope.displayedEventEndDate))}return r}catch{X.removeItem(OT),X.removeItem(FT)}return null}A();var Eg=Intl.DateTimeFormat().resolvedOptions().timeZone;function Fn(e){let t=Math.floor(e/60),o=e%60;return t===0?ZE.replace("{numberOfMinutes}",o.toString()):o===0?`${t} ${wJ}`:xJ.replace("{numberOfHours}",t.toString()).replace("{numberOfMinutes}",o.toString())}var She=new Intl.DateTimeFormat(b.data.userLocale,{hour:"numeric",minute:"numeric"}),FCt=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric"}),UCt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric"}),qCt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short",year:"2-digit"}),FNe=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",year:"numeric"}),HCt=new Intl.DateTimeFormat(b.data.userLocale,{day:"numeric"}),BCt=new Intl.DateTimeFormat(b.data.userLocale,{month:"short"}),GCt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"short"}),VCt=new Intl.DateTimeFormat(b.data.userLocale,{year:"numeric"}),Hs=new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric"}),WCt=new Intl.DateTimeFormat(b.data.userLocale,{weekday:"long",month:"long",day:"numeric",year:"numeric"});function Che(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"long",day:"numeric",year:"numeric",timeZone:e})}function Nl(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",timeZone:e})}function Ehe(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"2-digit",day:"2-digit",year:"numeric",timeZone:e})}function Ahe(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",timeZone:e})}function GH(e=Eg){return new Intl.DateTimeFormat(b.data.userLocale,{month:"short",day:"numeric",hour:"numeric",timeZone:e})}function ln(e){return Math.floor(e/1e3)}function zhe(e){return Math.floor(e/1e3/60)}function VH(e){let t=e/1e3,o=Math.floor(t/3600),n=BH(Math.floor(t%3600/60)),r=BH(Math.floor(t%3600%60));return o<1?`${n}:${r}`:`${BH(o)}:${n}:${r}`}function lL(e){let t="",o=0,n="",r=Math.floor(e/168),i=Math.floor(e%168/24),s=e-r*168-i*24;if(r>0&&o++,i>0&&o++,s>0&&o++,o>0&&o--,r>0){let l=r===1?j0:O0;a(),t+=r.toString()+" "+l+n,n=""}if(i>0){let l=i===1?UC:Fw;a(),t+=i.toString()+" "+l+n,n=""}if(s>0){let l=s===1?QC:Iu;t+=s.toString()+" "+l}return t;function a(){o>0&&(n=", ",o--)}}function Ag(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 BH(e){return e<10?`0${e}`:`${e}`}function Phe(e){if(e===0)return"PT0S";let t=Math.floor(e/864e5);e=e-t*864e5;let o=e,n=Math.floor(e/36e5);e=e-n*36e5;let r=Math.floor(e/6e4);e=e-r*6e4;let i=Math.floor(e/1e3);e=e-i*1e3;let s="P";return t>0&&(s+=t.toString()+"D"),o>0&&(s+="T"),n>0&&(s+=n.toString()+"H"),r>0&&(s+=r.toString()+"M"),i>0&&(s+=i.toString()+"S"),s}function Ny(e){let t="h",o="m",n="s",r=0,i=e.indexOf(t)!==-1,s=e.indexOf(o)!==-1,a=e.indexOf(n)!==-1;return r+=i?Number(e.substring(0,e.indexOf(t)))*3600:0,r+=s?i?Number(e.substring(e.indexOf(t)+1,e.indexOf(o)))*60:Number(e.substring(0,e.indexOf(o)))*60:0,r+=a?Number(s?e.substring(e.indexOf(o)+1,e.indexOf(n)):i?e.substring(e.indexOf(t)+1,e.indexOf(n)):e.substring(0,e.indexOf(n))):0,r}function WH(e){let t="",o="",n="";if(e.indexOf(":")===-1)return Number(e)>0?e+"s":t;let r=e.split(":");return isNaN(Number(r[0]))||isNaN(Number(r[1]))||isNaN(Number(r[2]))&&r.length===3||r.length>3?"":(Number(r[0])>0&&(n=r.length===2?Number(r[0]).toString()+"m":Number(r[0]).toString()+"h"),Number(r[1])>0&&(o=r.length===2?Number(r[1]).toString()+"s":Number(r[1]).toString()+"m"),Number(r[2])>0&&(t=r.length===2?"":Number(r[2]).toString()+"s"),n+o+t)}A();function jy(e,t,o,n){let r=n?d`${n}`:"",i=k.rightRailSticky?"":d``;return d` ${i}
    ${e}
    ${t}
    ${r}
    `}function Oy(e,t){return d`

    ${t}

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

    ${n}

    `:"",a=o?d`

    ${e}

    `:d`

    ${e}

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

    ${e}

    `}function Ihe(e){return d` `}function qy(){if(!k.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 UNe(e){let t=GH().format(e.displayedEventStartDate),o=GH().format(e.displayedEventEndDate),n=Oy("docon-special-event",AK),r=e.eventTitle?Fy(e.eventTitle,!1,e.linkHref):"",i=e.eventTitle?"margin-top-xs":"",s=d` ${e.displayType==="event-image-card"&&e.imageUrl?Ihe(e.imageUrl):""} ${r}

    ${t} - ${o}

    ${Uy(e.eventDescription,!1)} ${e.linkText} `;return jy(n,s,!1)}async function Lhe(){!k.connectedExperiences&&!k.temporaryClientSideEventBanners||(await qH(),HH())}function Rhe(e){let t=Array.from(document.querySelectorAll("#right-rail-events, #right-rail-events-mobile"));qy();for(let o of t)w(UNe(e[0]),o),o.hidden=!1,zt()}var qNe=["Ask","ApiBrowserPage","Architecture","AssessmentsBrowse","AssessmentsLanding","AssessmentsHome","AssessmentsSession","CareerPath","Challenge","CollectionsHome","Conceptual","ContentBrowserPage","ContentPage","Course","Directory","FAQ","HowTo","Hub","Landing","LearnHome","LearningPath","Marketing","Module","Moderation","ProductList","Reference","Question","QuestionEdit","QuestionList","Sample","SearchPage","Show","SkillingPlans","Tag","TagList","TopicLanding","Welcome"],HNe=["/aspnet/core/blazor/globalization-localization","/dotnet/framework/ui-automation/accessibility-best-practices","/learn/modules/intro-accessibility-disability/","/learn/modules/write-inclusive-windows-apps/","/learn/paths/accessibility-fundamentals/","/training/modules/intro-accessibility-disability/","/training/modules/write-inclusive-windows-apps/","/training/paths/accessibility-fundamentals/","/microsoft-edge/accessibility/","/microsoft-edge/devtools-guide-chromium/accessibility/reference","/windows/uwp/design/accessibility/basic-accessibility-information","/xamarin/android/app-fundamentals/accessibility","/xamarin/ios/app-fundamentals/accessibility","/xamarin/xamarin-forms/app-fundamentals/accessibility/"];function cL(e=location.pathname,t=Mi.template){return e=an(e),HNe.includes(e)?!1:qNe.includes(t)||!t&&e.startsWith("/answers/")}function uL(){let e=document.getElementById("cookie-consent-holder");return!e||document.getElementById("banner-holder")?null:(e.insertAdjacentHTML("afterend",''),e.nextElementSibling)}function Mhe(e,t,o,n){let r=vh(),i=r>t.getTime()&&r<=o.getTime(),s=localStorage.getItem(e)==="hide",a=an(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 i&&!s&&l}A();function $he({uid:e,startDate:t,endDate:o,cssClass:n,title:r,subtitle:i,description:s,cta:a,theme:l,buttonCss:c=""},u=Date.now(),p=location.pathname){if(p=an(p),!k.marketing||u=o.getTime()||!cL()||X.getItem(e)==="hide")return!1;let m=uL();if(!m)return!1;m.classList.add(`theme-${l}`);let g=d`

    ${r}

    ${i?d`

    ${i}

    `:""}
    ${a.title}
    `;return w(g,m),!0}function BNe(e=vh()){return $he({uid:"2026-03--build",title:tae,description:rae,subtitle:nae,cta:{href:"https://aka.ms/MSBuild_FY26_BN_MSLearn_Hero",title:iae},cssClass:"build-banner",theme:"light",startDate:new Date("2026-03-13T15:00:00.000Z"),endDate:new Date("2026-06-01T00:00:00.000Z")},e)}function GNe(e=vh()){return $he({uid:"2026-06--ai-skills-fest",title:oae,description:aae,subtitle:sae,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 Dhe(){let e=vh();return BNe(e)||GNe(e)}async function Nhe(){if(!cL())return;k.connectedExperiences&&k.temporaryClientSideEventBanners?await Lhe():The();let e=aL.filter(o=>{let{id:n,startTime:r,endTime:i,bannerPaths:s}=o;return Mhe(n,r,i,s)}),t=!1;if(!(Dhe()&&(t=!0,!k.connectedExperiences))&&!(e.length<1)){if(k.connectedExperiences&&e[0].displayType)Rhe(e);else if(!t)for(let o of e){let n=uL();if(!n)return;let{id:r,eventTitle:i,eventDescription:s,linkHref:a,linkText:l}=o,c=VNe(`${r}-banner`,`${r}-event`,i,s,a,l);w(c,n);let u=n.querySelector("[data-dismiss]");u.onclick=()=>X.setItem(r,"hide")}}}function VNe(e,t,o,n,r,i){let s=r&&i?d` ${i} `:"";return d` `}Kp();async function WNe(e,t="fiveStar"){e.rating&&(t==="binary"?e.rating=(e.rating-1)/4:e.rating/=5)}async function jhe(e,t="fiveStar"){if(e.rating===null||e.rating===void 0||isNaN(e.rating))throw new Error("No rating was selected by the user");WNe(e,t);let o={method:"POST",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify(e)},n=Z(`${M.ocvFeedback}`,o),r=await R(n),i;if(r.ok)return i=await r.json(),i;throw new Error(`ocv api responded with ${r.status} ${r.statusText}`)}A();Ge();var QNe=[Yse,mee,ZK,lJ,cJ];function Ohe(e,t,o,n,r,i,s=QNe,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=Xe(),g=[],f=n==="display-inline-flex"?"":n;for(let x=0;x<5;x++){let z=Xe();g.push(d` `)}let y=r?d`
    ${yJ}
    `:"",h=d` ${y}
    ${g}
    `,v=n==="display-inline-flex"?d`
    ${h}
    `:h;w(v,c);let _=c.querySelector(".rating-output");if(e!==0){let x=c.querySelector(`input[value="${e}"]`);x.checked=!0,_.textContent=x.nextElementSibling.textContent}return c.onmouseover=x=>{let z=x.target.closest("label");z&&(_.textContent=z.textContent)},c.onmouseleave=()=>{_.textContent=""},c.onchange=x=>{let z=x.target,C=parseInt(z.value),H=c.querySelectorAll(".star-collection input");for(let O=0;O=O?H[O].classList.add("is-selected"):H[O].classList.remove("is-selected");i(C),z.nextElementSibling&&(_.textContent=z.nextElementSibling.textContent)},c}var YNe=2539,KNe=50033,Fhe=L.reviewFeatures?KNe:YNe;var Uhe="a6b7c4ac-4c15-426f-b054-42341177dffc";var qhe=[DX,$X,MX,RX,LX];function Hhe(){to(YY,{text:Vse,clickHandler:t2e},void 0,void 0,"mt-csat-banner")}var dL,QH,UT;function ZNe(){return d` `}function JNe(){let e=Ohe(0,"m","m","",!1,t=>dL=t,qhe,!0);return d` `}function XNe(){we({actionType:Se.OTHER,behavior:le.OTHER,content:{type:"translation-csat-feedback",score:dL,verbatim:QH}})}function e2e(e){if(e.preventDefault(),UT){XNe(),jhe({manifestType:"Psat",appId:Fhe,submitTime:new Date().toISOString(),source:"Client",type:"Survey",telemetry:{featureArea:"Docs"},clientFeedbackId:su(),survey:{surveyId:Uhe},rating:dL,comment:QH||"",web:{sourcePageURI:location.origin+location.pathname}});let t=document.createElement("div");t.classList.add("modal-slide"),w(ZNe(),t),UT.pushContent(t)}}function t2e(){let e=document.createElement("div");w(JNe(),e),UT=null,dL=null,UT=new _e(e),UT.show()}var o2e=ct.machineTranslated;function Ghe(e){let t=e.toLowerCase(),o=b.data.isEditDisplayable;if(k.translationFeedback){Hhe();return}Jo()||t.startsWith("en-")||!o2e||(o?to(XY):to(eK))}function Vhe(){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(YH()){let r=new URL(document.referrer),i=NT(r.pathname),s=Hee.replace("{language}",Dl[i]);o.innerText=s,t.title=s,t.hidden=!1}else b.data.userLocale.includes("en-")||(o.innerText=lN,t.title=lN,t.hidden=!1);Bhe(t),window.addEventListener("popstate",()=>Bhe(t))}}function YH(e=location.href,t=document.referrer){if(!t)return!1;let o=new URL(e),n=new URL(t),r=NT(o.pathname),i=NT(n.pathname),s=Sg(n.pathname,"en-us");return!(o.origin!==n.origin||o.pathname!==s||r===i)}function Bhe(e){let t=new URL(location.href);if(YH()){let o=new URL(document.referrer),n=NT(o.pathname);t.pathname=Sg(t.pathname,n)}else t.pathname=Sg(t.pathname,"en-us");e.href=t.href,n2e(e)}function n2e(e,t=YH()){let o=t?"on":"off";e.setAttribute("data-bi",JSON.stringify({cN:"language-toggle",value:o}))}A();function r2e(e){let t=re().branch||ai.get("CONTENT_BRANCH")||"",o=e.sort().map(n=>``).join("");return`
    `}function KH(){if(!L.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=r2e(t);let n=o.querySelector("select"),r=re().view||"",i=r?`view=${encodeURIComponent(r)}&`:"";n&&(n.onchange=()=>{let a=n.value;ai.set("CONTENT_BRANCH",a),window.location.search=`?${i}branch=${encodeURIComponent(a)}`}),e.insertAdjacentElement("afterbegin",o),o.classList.remove("control"),o.classList.add("display-flex","align-items-center")}A();var ZH=class{constructor(t,o=[]){this.breadcrumbsWrapper=t,this.basePath=b.data.userLocale,this.baseTitle="Learn",Ft&&(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(){JH(this.breadcrumbsList);let t=this.breadcrumbsWrapper;if(!t)return;w(d` `,t);let o=document.getElementById("article-header-breadcrumbs-overflow"),n=document.querySelectorAll(".has-interactive section.primary-holder"),r=document.getElementById("branch-selector"),i;r&&(i=i2e(n,r)),o&&w(d` ${i} `,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 i2e(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 np(e){if(b.data.context.chromeless)return;await Te;let t=e||document.getElementById("article-header-breadcrumbs");return t?new ZH(t):void 0}function JH(e){let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[]},o=e.filter((n,r)=>n.url||r+1===e.length).map((n,r)=>{let i={name:n.title,position:r+1,"@type":"ListItem"};return n.url&&(i.item=n.url),i});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 Whe(){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 r=document.getElementById("article-header-breadcrumbs-overflow");if(!r)return;o.addEventListener("toggle",()=>{r.getBoundingClientRect().width{i.getBoundingClientRect().width{T.body.removeChild(o)},()=>{T.body.removeChild(o),n=!1}),n}function XH(e,t){return navigator.clipboard?navigator.clipboard.writeText(e).then(()=>!0,()=>!1):Promise.resolve(xi(e,t))}var pL=!1;function Qhe(){function e(t){let o=U.getSelection();if(!o)return;let n=o.toString(),r=Cle(n);if(qT&&n!==r&&!pL){pL=!0,xi(r,t.target);return}Yt(t.target,{actionType:Se.OTHER,behavior:le.COPY,content:{event:"copy",name:jc(t.target),value:n,unprintable:pL}}),pL=!1}T.addEventListener("copy",e,{passive:!0})}Pg();var Ha={any:!1};function s2e(){let e=Ts("monikers");Ha.any=e.length>0;for(let t of e)Ha[t]=!0}s2e();function Bs(e){return e!==""&&Ha[e]!==void 0}A();function jl(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"),r=document.getElementById(n);if(r||(r=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest(`[id='${n}']`)),r||(r=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest(`[id='${n}']`)),!r)return;let i=o.getAttribute("aria-expanded")==="true";o.setAttribute("aria-expanded",(!i).toString());let s=Array.from(r.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=r.querySelector("[data-autofocus]");if(u){u.focus();return}let p=r.querySelector(Xd.join(","));p&&p.focus();return}let l=o.querySelector(".show-more-text");if(!l)return;let c={show:o.getAttribute("data-title")||Du,hide:o.getAttribute("data-expanded-title")||nh};if(l.innerText=i?c.show:c.hide,!i){let u=r.querySelector(".is-expanded");if(!u)return;let p=u.querySelector(Xd.join(","));p?o.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING||p.focus():u.focus()}})}function Ba(e,t="show-more-btn",o,n,r,i,s,a,l){let c=o||"button button-primary",u=r||Du;return d` `}A();var Zhe=6,Jhe=4,Xhe=11,ebe=9,a2e=9,Khe=!1;function rp(){let e=T.getElementById("center-doc-outline"),t=T.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=k.referenceRightRailH3?`#main h2:not(${o}), #main h3`:`#main h2:not(${o})`,r=Array.from(T.querySelectorAll(n)),i=[];if(r.forEach(s=>{let a=s.tagName.toLowerCase(),l=s.offsetParent!==null,c=Zp(s).trim();l&&c.length>0&&(s.id||(s.id=c.toLowerCase().replace(/\s+/g,"-")),a==="h2"?i.push({text:c,id:s.id,children:[]}):a==="h3"&&i[i.length-1].children?.push({text:c,id:s.id}))}),i.length<2){e.hidden=!0,t.hidden=!0;return}e.hidden=!1,l2e(i,e),c2e(i,t)}function l2e(e,t){let o=b.data.pageTemplate==="Reference",n="content-well-in-this-article-list",r=o?tbe(e,n,"content-well"):obe(e,n,"content-well");w(d`

    ${J1}

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

    ${J1}

    ${s} `,t),n&&!Khe&&(jl(t),Khe=!0)}function tbe(e,t,o){let n=o==="content-well"?"border-left padding-left-xxs":"",r=o==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",i=o==="content-well"?"":"color-text-subtle",s=o==="content-well"?Zhe:Xhe,a=o==="content-well"?Jhe:ebe,l=e.length>=s,c=d`
      ${e.map(({text:p,id:m,children:g},f)=>{let y=g?.length?d`
      1. ${p}
      2. ${g?.map(({text:_,id:x})=>d`
      3. ${_}
      4. `)}
      `:"",v=l&&f>=a?"expandable":"";return y?d`
    1. ${p} ${y}
    2. `:d`
    3. ${p}
    4. `})}
    `;return l?d` ${c} ${nbe(e,t,a,o)} `:c}function obe(e,t,o){let n=o==="content-well"?"border-left padding-left-xxs":"padding-right-xxs",r=o==="content-well"?"":"border-left-md border-color-transparent padding-left-xxs",i=o==="content-well"?"":"color-text-subtle",s=o==="content-well"?Zhe:Xhe,a=o==="content-well"?Jhe:ebe,l=e.length>=s,c=d`
      ${e.map(({text:p,id:m},g)=>{let y=l&&g>=a?"expandable":"";return d`
    1. ${p}
    2. `})}
    `;return l?d` ${c} ${nbe(e,t,a,o)} `:c}function nbe(e,t,o,n){let r=e.length-o,i=z0.replace("{number}",r.toString());return Ba(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,i,!0)}var Ol,Fl;function nB(){let e=document.getElementById("assertive-live-region"),t=document.getElementById("polite-live-region");e?Ol=e:(Ol=document.createElement("div"),Ol.setAttribute("role","alert"),Ol.setAttribute("aria-live","assertive"),Ol.setAttribute("aria-relevant","additions"),Ol.setAttribute("aria-atomic","true"),Ol.classList.add("visually-hidden"),Ol.setAttribute("id","assertive-live-region"),document.body.appendChild(Ol)),t?Fl=t:(Fl=document.createElement("div"),Fl.setAttribute("role","status"),Fl.setAttribute("aria-live","polite"),Fl.setAttribute("aria-relevant","additions"),Fl.setAttribute("aria-atomic","true"),Fl.classList.add("visually-hidden"),Fl.setAttribute("id","polite-live-region"),document.body.appendChild(Fl))}function u2e(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 d2e(e){nB();let t;try{t=document.querySelector(".modal.is-active, :modal")}catch{t=document.querySelector(".modal.is-active")}if(!t)return e==="assertive"?Ol:Fl;let{contextualAssertiveRegion:o,contextualPoliteRegion:n}=u2e(t);return e==="assertive"?o:n}function ht(e,t="polite",o=5e3){let n=d2e(t);n.innerHTML="";let r=document.createElement("div");r.setAttribute("role","none"),r.textContent=e,n.appendChild(r),setTimeout(()=>{r?.remove()},o)}var gL=class{constructor(t){this.expanded=t}},rB={expanded:"ap-expanded",collapsed:"ap-collapsed",expandButton:"ap-expand-behavior",collapseButton:"ap-collapse-behavior"},iB;function sB(e,t){iB=t;let o=document.documentElement.classList,n=document.querySelector(".action-panel");if(o.contains("ap-layout")||e==="none")return n;let r=document.querySelector("[data-main-column]"),i=ibe();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"),p2e(n),zt(),i(r),n?.setAttribute("aria-expanded","true"),n?.focus(),lt.publish(new gL(!0))};return n.addEventListener("transitionend",s),n}function p2e(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 rbe(){let e=document.documentElement.classList;if(!e.contains("ap-layout"))return;let t=ibe(),o=document.querySelector(".action-panel");e.remove("ap-layout"),e.remove("ap-layout-animates"),e.remove("ap-layout-in"),e.remove("ap-layout-finished"),zt(),t(document.documentElement),iB&&iB.focus(),o?.setAttribute("aria-expanded","false"),lt.publish(new gL(!1)),document.querySelector("[data-main-column]")?.classList.remove("padding-top-none")}function ibe(){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:r}=n.getBoundingClientRect();if(r<=5||o===0){let i=n.clientWidth;return s=>{n.scrollIntoView(!0),s.scrollTop-=r*i/n.clientWidth}}}return()=>{}}function sbe(){addEventListener("click",e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`.${rB.expandButton}, .${rB.collapseButton}`);t&&(t.classList.contains(rB.expandButton)?sB("animate",t):rbe())}),Fde.addListener(rbe)}function abe(){if(window.scrollTo(0,0),!k.chromeless){let e=document.querySelector("[data-main-column]");e&&(e.scrollTop=0)}}Pg();A();var m2e=0,cbe="code-try-",g2e=(()=>{let e=location.hash.split(cbe)[1];if(e===void 0)return-1;let t=parseInt(e,10);return t>=-1?t:-1})(),f2e=()=>m2e++,h2e=e=>e===g2e,lbe=!1;function aB(){lbe||(lbe=!0,T.addEventListener("click",e=>{let o=e.target.closest("[data-code-header-copy-button]");o&&(e.preventDefault(),b2e(o))}))}function b2e(e){if(!qT||!e||!T2e(e))return;let t=e.closest("[data-code-block-header]"),o=y2e(t);if(!o)return;let n=o.getAttribute("data-language")||"",r=o.firstElementChild||o;x2e(r,n)&&Yt(e,{actionType:Se.OTHER,behavior:le.COPY,content:{event:"copy",name:jc(t)}}),e.focus()}function y2e(e){let t=e?.nextElementSibling;return t?t.hasAttribute("data-language")?t:t.querySelector("pre[data-language]"):null}function _2e(e,t){return t==="rtl"?Be(e).replace(/(^|\s|\>)(C#|F#|C\+\+)(\s*|[.!?;:]*)(\<|[\n\r]|$)/gi,"$1$2‎$3$4"):e}function ube(e,t){aB();let o=T.createElement("div"),n=f2e(),r=`${cbe}${n}`;o.classList.add("code-block-header","margin-top-sm"),o.setAttribute("data-code-block-header",""),o.setAttribute("id",r),o.setAttribute(Eo.name,"code-header"),e.monikers&&o.setAttribute("data-moniker",e.monikers);let i=e.interactiveType&&!(e.interactiveType.flags.requiresStructuredData&&b.data.pageTemplate==="Conceptual"),s=qT?lB():"",a=i&&e.interactiveType?w2e(e.interactiveType):"",l=d` ${j(_2e(e.displayName,t))}
    ${s} ${a}
    `;w(l,o),e.element&&e.element.setAttribute("data-language",e.language);let c=e.interactiveType,u=e.scaffoldingType;if(i){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,y=!1)=>{y!==!0&&history.replaceState(null,"",`#${r}`),p.classList.add("is-loading"),p.disabled=!0;let h=e.element.textContent?.trim()||"",v;if(c){if(b.data.pageTemplate==="ModuleUnit"){let _=T.getElementById("interactive-container");v=oB(c,_)}else{let _=sB("animate",p);v=oB(c,_)}v.setCode(h,u).then(()=>v.execute()).catch(()=>{}).then(()=>{p.classList.remove("is-loading"),p.disabled=!1})}};p.addEventListener("click",g),h2e(n)&&g(null,!0)}}e.element.classList.remove("loading"),e.element.insertAdjacentElement("beforebegin",o),e.header=o}function lB(){return d` `}function w2e(e){let t=e.activateButtonConfig;return d` `}var Hy=e=>e.split(/\n\n/).map(t=>t.split(/[\\`][\s]*$/gm).map(o=>o.trim()).join(" ")).join(` `),v2e={powershell:e=>Hy(e.replace(/\bPS [a-z]:\\>\s?/gi,"")),azurecli:Hy,azurepowershell:Hy,"azurepowershell-interactive":Hy,"cloudshell-powershell":Hy,ps:Hy};function x2e(e,t){let n=(v2e[t]||(r=>r))(e.textContent?.trim()||"");return xi(n,e)}function T2e(e){if(e.getAttribute("debounce")==="true")return!1;let t=e.querySelector("[data-copy-button-success-indicator]");return t?.classList.remove("is-transparent"),e.setAttribute("debounce","true"),ht(NC,"assertive",1e3),setTimeout(()=>{t?.classList.add("is-transparent"),e.removeAttribute("debounce")},1e3),!0}var Zt=class extends Error{constructor(t){let{status:o,statusText:n,url:r}=t,i=cB(t.headers);super(`Unexpected response status ${o}: ${n} from "${r}". Headers: ${JSON.stringify(i,null,2)}`),this.name=this.constructor.name,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,this.constructor),this.status=o,this.statusText=n,this.url=r,this.headers=i}};function cB(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 By(e,t=b.data.userLocale){let o=`${M.taxonomy}?${se({name:e,locale:t})}`,n=await R(o);if(n.ok)return(await n.json())[e].map(i=>({value:i.slug,displayName:i.styleGuideLabel||i.label,level:i.level?+i.level:i.level,parent:i?.parentSlug}));throw new Zt(n)}var uB=class{constructor(){this.cache={}}async get(t){return await this.getInternal(t)}async getFamily(t){return await this.getInternal(t,1)}taxonomyTermsToTaxonomyMap(t,o){return t.reduce((n,r)=>((!o||r.level===o)&&(n[r.value]=r.displayName),n),{})}async getInternal(t,o){let n=[];try{t in this.cache||(this.cache[t]=By(t)),n=await this.cache[t]}catch{delete this.cache[t]}return this.taxonomyTermsToTaxonomyMap(n,o)}},HT=new uB;var dbe="proglang",Gy={getDisplayNames:()=>HT.get("devlang"),visibilityMap:{"aspx-csharp":"csharp","aspx-vb":"vb"},syntaxMap:{aspx:"csharp",azdeveloper:"azurecli",azurepowershell:"powershell",cppcx:"cpp",cppwinrt:"cpp",hcl:"json",nodejs:"js",nosql:"sql"},unset:"",default:k2e(),get preferred(){return(X.getItem(dbe)||Gy.unset).substr(5)},set preferred(e){X.setItem(dbe,"lang-"+e)}};function k2e(){return b&&b.data&&b.data.defaultDevLang?b.data.defaultDevLang:""}var fL,S2e=0,pbe={};function hL(e){fL===void 0&&C2e();let t={id:S2e++,instructions:e};return fL.postMessage(t),new Promise(o=>pbe[t.id]=o)}function C2e(){let e=location.origin+"/static/third-party/highlight.js/9.15.25/highlight.pack.js",t=new Blob([`(${E2e.toString()})('${e}') //# sourceURL=syntax-highlighter.js`],{type:"application/javascript"}),o=URL.createObjectURL(t);fL=new Worker(o),fL.onmessage=n=>{let r=n.data;pbe[r.id](r.results)}}function E2e(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 y=+f[1]-1;if(isNaN(y)||y>=m)continue;let h=f[2]===void 0?y:+f[2]-1;isNaN(h)||h.*<\/rgn>/gi,n=/RGNPLACEHOLDER/g,r="RGNPLACEHOLDER";function i(l,c){return l.replace(o,u=>(c.push(u),r))}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:y}of u){let h={code:f,html:"",success:!1};try{let v=[],_=i(f,v),x=[],z=t(f,y);if(z.length){let O=_.split(` `),pe=0;z.forEach(Ee=>{Ee.start>pe&&x.push({highlight:!1,lines:O.slice(pe,Ee.start).join(` `)}),x.push({highlight:!0,lines:O.slice(Ee.start,Ee.end+1).join(` `)}),pe=Ee.end+1}),pe<=O.length&&x.push({highlight:!1,lines:O.slice(pe).join(` `)})}else x.push({highlight:!1,lines:_});let C=null,H="";do{let O=x.shift(),{value:pe,top:Ee}=hljs.highlight(g,O.lines,!0,C);C=Ee,H+=O.highlight?`${pe}`:`${pe}`,x.length&&(H+=` `)}while(x.length);h.html=s(H,v),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 A2e(e,t){for(let o=0;o code, span[class*="lang-"]'),i=[],s;if(r.length>0){let a=await t.getDisplayNames();for(let l=0;l({language:r.syntaxLanguage,code:r.code,highlightLines:r.highlightLines}));return o.forEach(r=>{ube(r,t)}),hL(n).then(r=>{for(let i=0;i{n.element.hidden=!r,n.header&&(n.header.hidden=!r)};for(let n of e){let r=!1;for(let i of n.members){let s=i.visibilityLanguage===t||i.element.classList.toString().indexOf(`lang-${t}`)!==-1;o(i,s),r=r||s}r||o(n.default,!0)}zt()}function P2e(e,t,o=location.search){let n=L2e(e,o),r=t.preferred;return r!==t.unset&&e.indexOf(r)!==-1&&(n.length===0||n.indexOf(r)!==-1)?r: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 I2e=["Architecture","Conceptual","FAQ","HowTo","Marketing","ModuleUnit","Question","QuestionEdit","Reference","Sample","Welcome"];function bL(){T.querySelectorAll(".cdlHolder .cdlLastVisible").forEach(function(o){o.classList.remove("cdlLastVisible")});let e=st(),t=T.querySelectorAll(".cdlHolder");Bs(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 BT(e){if(I2e.indexOf(b.data.pageTemplate)===-1)return;let t=Array.from(T.querySelectorAll(".lang-title")),o=Array.from(T.querySelectorAll(".language-selector button")),n=[];if(o.length>0){let c=await Gy.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 r=o!==null&&n.length>0,i=await z2e(e??T.body,Gy,n);if(r){let c=P2e(n,Gy),u=T.querySelector('[data-bi-name="lang-'+c+'"]');t.forEach(p=>{p.textContent=u.textContent}),gbe(i,c),bL(),o.forEach(p=>{p===u&&p.setAttribute("aria-pressed","true"),Ot(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);Gy.preferred=m,gbe(i,m)}bL(),rp(),mbe(i,b.data.contentDir)})})}let s=i.flatMap(c=>c.members),a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(()=>fbe(s))}return window.addEventListener("resize",l,{passive:!0}),fbe(s),mbe(i,b.data.contentDir)}function fbe(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",hJ),n.tabIndex=0):(n.removeAttribute("role"),n.removeAttribute("aria-label"),n.removeAttribute("tabindex"))})}function L2e(e,t=location.search){return new URLSearchParams(t).get("devlangs")?.split(",").filter(o=>e.includes(o))??[]}Ge();var GT={401:Up,403:NN,404:Up,422:Up,429:NN,500:Up};async function hbe(e){let t={payload:{platformId:e}};try{let o=await R(Z(M.copilot.summarize,{body:JSON.stringify(t),method:"POST"},!1)),n=o.status.toString();if(n in GT)try{return{message:(await o.json())?.message||GT[n],errorCode:n}}catch{return{message:GT[n],errorCode:n}}if(o.ok)try{let r=await o.json();return"errorCode"in r||r?.message?r:{message:ON,errorCode:"500"}}catch{return{message:ON,errorCode:"500"}}return{message:jN,errorCode:o.status.toString()}}catch{return{message:jN,errorCode:"500"}}}var Ul=L.reviewFeatures===!0&&(L.accessLevel==="local"||L.supportLevel==="development"&&L.accessLevel==="online"||Ft),yL=typeof __karma__<"u";var R2e=1e3*60*5,M2e=new URL(window.location.href).pathname.replace(new RegExp(`^/${b.data.userLocale}`),""),ybe="rollout-status",VT;async function Ti(e){VT===void 0&&(VT=dB());let t=await VT;if(t&&"failed"in t&&(VT=dB()),!t||"failed"in t)return bbe("feature-rollout-failure",{featureName:e}),!1;let o=t.activeFeatures.find(r=>"name"in r?r.name===e:!1);if(!o)return!1;let n=await $2e(o);return bbe("feature-rollout-activated",{featureName:e,isActive:n}),n}async function $2e(e,t=b.data.userLocale,o=M2e,n=b.data.pageTemplate,r=ye.then(()=>S.isAuthenticated)){if(!e.conditions)return!0;let i=e.conditions.find(g=>g.limitTo==="locale");if(!(i?i.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 r:!0:!1}async function _be(){VT=dB()}async function dB(e=re()["refresh-rollout"]==="true"){let t=D2e(e);if(t)return t;let n=`/en-us/feature-rollout.json${L.reviewFeatures?"?branch=main":""}`;Ul&&(n=`/en-us/test/feature-rollout.json?branch=${mt()}`);try{let r=await R(n,{method:"GET"});if(!r.ok)return{failed:!0};let i=await r.json();return i.expiresAt=new Date(Date.now()+R2e).getTime(),X.setItem(ybe,JSON.stringify(i)),i}catch{return{failed:!0}}}function D2e(e=!1){if(e)return null;let t=X.getItem(ybe);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){we({content:{type:e,content:JSON.stringify(t)}})}var et=class{},Ig=class{};var ql="ms--ai-summary-body",wbe="ms--ai-summary",lu="ms--ai-summary-header",vbe="ms--ai-summary-cta",xbe="ms--ai-summary-feedback",ip="ai-summary",Tbe="ms--ai-summary-feedback-buttons",kbe="ms--ai-summary-feedback-thanks";Ge();A();function Sbe(e){switch(e.state){case"ready":case"loading":return U2e(e);case"loaded":return N2e(e);case"errored":return q2e(e);default:return d``}}function pB(e,t){return d`

    ${t}

    `}function N2e(e){let t=d``;if(e.response){let{message:o}=e.response;o?t=d`${j2e(o)} ${O2e(e)} `:t=d`

    ${R0}

    `}return d`
    ${pB(e,rh)}
    ${t}
    `}function j2e(e){return d`
    ${j(e)}
    `}function O2e(e){return d`
    ${Nu} ${j(pie)} ${F2e(e)}
    `}function F2e(e){return d`
    ${sh}
    `}function U2e(e){return d`
    ${pB(e,rh)}

    ${L0}

    `}function q2e(e){let{errorCode:t}=e.response,n=GT[t]??Up;return d`
    ${pB(e,rh)}
    ${n}
    `}function Cbe(e){return typeof e=="object"&&e!==null&&"message"in e&&"errorCode"in e}var Hl,WT,QT,Vy,Wy,Qy,Yy,Ky,Zy,_L=class extends He{constructor(o){super();this.state="ready";Qt(this,Hl,null);Qt(this,WT);Qt(this,QT);Qt(this,Vy,!1);Qt(this,Wy,null);Qt(this,Qy,null);Qt(this,Yy,!1);Qt(this,Ky,!0);Qt(this,Zy,!0);yt(this,QT,P("platform_id")??""),yt(this,WT,o)}set sessionId(o){yt(this,Wy,o)}get sessionId(){return Ce(this,Wy)}set interactionId(o){yt(this,Qy,o)}get interactionId(){return Ce(this,Qy)}get response(){return Ce(this,Hl)}set response(o){yt(this,Hl,o)}get visible(){return Ce(this,Vy)}set visible(o){Ce(this,Vy)!==o&&(yt(this,Vy,o),this.notifyStateChanged())}get showFeedbackThanks(){return Ce(this,Yy)}set showFeedbackThanks(o){Ce(this,Yy)!==o&&(yt(this,Yy,o),this.notifyStateChanged())}get showHeader(){return Ce(this,Ky)}set showHeader(o){Ce(this,Ky)!==o&&(yt(this,Ky,o),this.notifyStateChanged())}get showCta(){return Ce(this,Zy)}set showCta(o){Ce(this,Zy)!==o&&(yt(this,Zy,o),this.notifyStateChanged())}async fetch(){try{if(!this.response||Cbe(this.response)===!0){this.state="loading",this.notifyStateChanged();let o=new Date().toISOString(),n=await Ce(this,WT).call(this,Ce(this,QT));if(Cbe(n)){this.state="errored",yt(this,Hl,n),this.notifyStateChanged();return}else{yt(this,Hl,n),yt(this,Wy,n?.sessionId??null),yt(this,Qy,n?.interactionId??null);let r=new Date().toISOString();this.timeToContentTelemetry(o,r);try{let s=new DOMParser().parseFromString(Ce(this,Hl).message??"","text/html");s.querySelectorAll("[id]").forEach(a=>{a.removeAttribute("id"),a.tagName.match(/^H[1-6]$/)&&a.classList.add("margin-top-xs")}),Ce(this,Hl).message=s.body.innerHTML}catch{}}}this.state="loaded",this.notifyStateChanged()}catch(o){this.state="errored",yt(this,Hl,{message:o.message,errorCode:o.name}),this.notifyStateChanged()}}displayThanksForFeedback(o){this.showFeedbackThanks=!0,we({behavior:le.OTHER,content:{autoIngest:!0,type:"ai-summary-feedback",aN:ip,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){we({behavior:le.OTHER,content:{autoIngest:!0,type:"ai-summary-request",aN:ip,sessionId:this.sessionId,interactionId:this.interactionId,triggeredTimestamp:o,returnedTimestamp:n}})}notifyStateChanged(){this.publish(new et)}};Hl=new WeakMap,WT=new WeakMap,QT=new WeakMap,Vy=new WeakMap,Wy=new WeakMap,Qy=new WeakMap,Yy=new WeakMap,Ky=new WeakMap,Zy=new WeakMap;async function Ebe(){let e=k.aiSummary&&await Ti("ai-summary")||We("ai-summary",{require:!0}),t=document.querySelector('[data-id="ai-summary"]'),o=document.getElementById(wbe),n=document.getElementById(lu),r=document.getElementById(vbe);if(!e||!t||!o||!n||!r)return;t.hidden=!1;let i=new _L(hbe),s=!1;o.addEventListener("click",async()=>{i.showHeader=!0,i.showCta=!1,i.visible=!0;let a=document.getElementById(lu);if(!a)return;let l=()=>{n.hidden=!i.showHeader,r.hidden=!i.showCta,w(Sbe(i),a)};s||(i.subscribe(et,l),s=!0),l(),i.state==="ready"&&await i.fetch()})}A();function mB(e){return new Promise((t,o)=>{let n=T.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()},T.body.appendChild(n)})}function YT(e){let t=T.createElement("link");t.rel="preload",t.as="image",t.href=e,T.head.appendChild(t)}function Abe(e,t,o,n=500){let r=0,i=(...s)=>{t(r),r=e.apply(null,[o.bind(null,...s),n])};return i.cancel=()=>t(r),i}var Jy={timeout:Abe.bind(null,setTimeout,clearTimeout),animationFrame:Abe.bind(null,U.requestAnimationFrame,U.cancelAnimationFrame)};function zbe(){H2e()}var gB=!1;function fB(e,t,o=()=>{}){window.addEventListener("click",n=>{n.target instanceof HTMLElement&&n.target.closest(e)&&o(()=>t.show())})}function hB(e,t=()=>{},o=!1){window.addEventListener("click",n=>{let r=n.target instanceof HTMLElement&&n.target.closest(e);!r||!document.querySelector(".layout-body-flyout")||t(()=>{cu(r,o)})})}async function Pbe(e,t,o,n=()=>{}){window.addEventListener("click",i=>{let s=i.target instanceof HTMLElement&&i.target.closest(e);s&&(i.preventDefault(),n(()=>{Ar.matches?o(s,!0):t()}))}),await Te;let r=document.querySelector(e);r&&(r.hidden=!1)}function cu(e,t=!1){let o=document.querySelector(".layout-body-flyout");if(!o)return;gB=!gB;let n=document.documentElement.classList.contains("layout-flyout-active")?"remove":"add";if(n==="remove"?window.dispatchEvent(new CustomEvent("flyout-hide")):window.dispatchEvent(new CustomEvent("flyout-show")),!t||n==="add"){document.documentElement.classList[n]("layout-flyout-active"),e.classList[n]("is-selected");let r=n==="add"?"true":"false";e.setAttribute("aria-expanded",r),zt()}if(t||n==="add"){e.dataset.flyoutReturnFocus="true";let r=o.querySelector('button[data-flyout-button="close"]');r&&r.focus()}}function H2e(){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 i=document.querySelector('[data-flyout-return-focus="true"]')||document.querySelector('[data-flyout-button="toggle"]');i&&(i.focus(),i.removeAttribute("data-flyout-return-focus"),i.hasAttribute("aria-expanded")&&i.setAttribute("aria-expanded","false"),i.classList.remove("is-selected")),gB=!1,document.documentElement.classList.remove("layout-flyout-active"),window.dispatchEvent(new CustomEvent("flyout-hide")),zt()})}function Ibe(e,t){if(localStorage.getItem("playwrightActive"))return;let o=document.querySelector(t);if(!o)return;let n=Ar.matches,r=()=>!!document.querySelector('[data-chat-container-name="ask-learn-modal"]'),i=()=>document.documentElement.classList.contains("layout-flyout-active"),s=()=>{document.documentElement.classList.remove("layout-flyout-active"),o.classList.remove("is-selected")},a=()=>{let l=Ar.matches;!n&&l&&r()?(e.hide(),cu(o,!0)):n&&!l&&i()&&(e.show(),s()),n=l};window.addEventListener("resize",()=>{window.requestAnimationFrame(a)}),a()}var bB="[data-ask-learn-modal-entry]",KT="[data-ask-learn-flyout-entry]",wL="[data-ask-learn-modal-entry-feedback]",vL="[data-ask-learn-flyout-entry-show-only]",Lbe="[data-skip-to-ask-learn]",Rbe=[bB,KT];function $be(){Mbe(),lt.subscribe(bo,Mbe)}async function Mbe(){await Te,Array.from(document.querySelectorAll(Rbe.join(","))).forEach(o=>o.hidden=!1),Array.from(document.querySelectorAll("[data-chat-tutor-modal-entry]")).forEach(o=>o.hidden=!0)}A();A();function Dbe(e){let{text:t,biName:o,biTn:n,alignment:r,action:i}=e;return d` `}function B2e(e,t){let o=[];for(let r=0;r`)}let n=Uie.replace("{step-index}",e.toString()).replace("{step-count}",t.toString());return d`

    ${n}

    `}function G2e(e){return d` `}function yB(e,t,o){let n=G2e(e.imageSrc);return d` `}function xL(e,t,o){e0&&Nbe(e-1,t,o)}var V2e='[data-focus-on-button-click="true"]';function Nbe(e,t,o){let n=document.createElement("div"),r=yB(t[e],e,t.length);w(r,n),o.pushContent(n);let i=n.querySelector(V2e);i&&i.focus()}function kL(e){e.hide()}function _B(e,t){e.hide(),localStorage.setItem(t,"2")}function SL(e,t,o,n,r,i,s,a,l,c,u){return{fetch:e,maxMessages:t,getContextIdType:o,getContextId:n,validate:r,errorMapping:i,starterPrompts:s,suggestionPills:a,companionActive:l,onFeedback:c,onTimeTelemetry:u}}var Xy="/en-us/media/ask-learn/meet-ask-learn-base.png",JT="/en-us/media/ask-learn/check-for-accuracy-base.png",CL="ask-learn-history",Lg="ask-learn-history-last-interaction-time",Rg="ask-learn-open-status";function W2e(e){return/[\u{10000}-\u{10FFFF}]/u.test(e)}function Q2e(e){return W2e(e)?"non_unicode_characters":null}var ZT={"validation-failure":_C,"session-not-found":ar,"interaction-not-found":ar,open_ai_content_filter:s1,copilot_content_filter:s1,knowledge_index_no_results:Lw,copilot_invalid_urls:Lw,open_ai_empty_message:Lw,failed_to_parse_open_ai_message:Lw,non_unicode_characters:UW,open_ai_too_many_requests:yC},Y2e=[{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: "}],K2e=[{name:"summarize",description:"Summarize this page",prompt:"Summarize this page"},{name:"troubleshoot",description:"Help me troubleshoot",prompt:"/troubleshoot"}],Obe={like:{[bW]:"01-ai-positive-accurate-relevant",[yW]:"02-ai-positive-complete-clear",[_W]:"03-ai-positive-fast",[i1]:"00-ai-positive-other"},dislike:{[wW]:"01-ai-negative-inaccurate-irrelevant",[vW]:"02-ai-negative-incomplete-unclear",[TW]:"03-ai-negative-slow",[xW]:"04-ai-negative-offensive-inappropriate",[i1]:"00-ai-negative-other"}},Z2e=120*1e3;async function J2e(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 R(Z(M.copilot.chatAssistant,t,!0),{},Z2e);if(o.status===401)return me(o),{message:Mf,isError:!0};if(!o.ok)try{let r=await o.json();return{message:r.errorCode&&r.errorCode in ZT?ZT[r.errorCode]:ar,interactionId:r.additionalData?.interactionId,isError:!0}}catch{return{message:ar,isError:!0}}let n=await o.json();return"errorCode"in n?{message:n.errorCode&&n.errorCode in ZT?ZT[n.errorCode]:ar,interactionId:n?.additionalData?.interactionId,isError:!0}:{sessionId:n.sessionId,interactionId:n.interactionId,message:n.message,responseCount:n.assistantMessageCount,citations:n.citations}}catch{return{message:ar,isError:!0}}}var X2e=10;function jbe(){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:Ft?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 eje(){return SL(J2e,X2e,()=>jbe().contextIdType||"",()=>jbe().uid||"",Q2e,ZT,Y2e,K2e)}var Fbe=eje();var Mg="ask-learn-assistant",ts="learn-companion-fre";function e_(e=Mg){let t=X.getItem(e);return t?Number(t):0}function tje(e,t){let o=[{title:l1,imageSrc:Xy,descriptions:[Iw],buttonLeft:{text:a1,biName:"01-not-now",biTn:Mg,alignment:"left",action:()=>{kL(e),t?.()}},buttonRight:{text:Wr,biName:"01-next",biTn:Mg,alignment:"right",action:()=>xL(0,o,e)}},{title:c1,imageSrc:JT,descriptions:[u1,d1],buttonLeft:{text:vs,biName:"02-previous",biTn:Mg,alignment:"left",action:()=>TL(1,o,e)},buttonRight:{text:p1,biName:"try-cta",biTn:Mg,alignment:"right",action:()=>{_B(e,Mg),t?.()}}}];return o}function oje(e,t){let o=[{title:l1,imageSrc:Xy,descriptions:[Iw],buttonLeft:{text:a1,biName:"01-not-now",biTn:ts,alignment:"left",action:()=>{kL(e),t?.()}},buttonRight:{text:Wr,biName:"01-next",biTn:ts,alignment:"right",action:()=>xL(0,o,e)}},{title:c1,imageSrc:JT,descriptions:[u1,d1],buttonLeft:{text:vs,biName:"02-previous",biTn:ts,alignment:"left",action:()=>TL(1,o,e)},buttonRight:{text:Wr,biName:"02-next",biTn:ts,alignment:"right",action:()=>xL(1,o,e)}},{title:SW,imageSrc:Xy,descriptions:[hC],acknowledgementCheckbox:{label:CW},buttonLeft:{text:vs,biName:"03-previous",biTn:ts,alignment:"left",action:()=>TL(2,o,e)},buttonRight:{text:p1,biName:"03-try-ask-learn",biTn:ts,alignment:"right",action:()=>{document.querySelector(".fre-acknowledgement-checkbox")?.checked?(_B(e,ts),t?.()):(ht(EW,"assertive"),kL(e),t?.())}}}];return o}function Ube(e,t,o,n=!1,r=!1){let i=e_(e);if(i>=2||!r&&document.documentElement.classList.contains("layout-flyout-active")){o?.();return}else n||(i++,X.setItem(e,i.toString()));let s=document.createElement("div");document.body.appendChild(s);let a=new _e(s,""),l=t(a,o),c=yB(l[0],0,l.length);w(c,s),a.show()}function qbe(e){Ube(Mg,tje,e)}function EL(e,t=!1){Ube(ts,oje,e,!0,t)}var zL="learn-companion-history",$g="learn-companion-history-last-interaction-time",uu="learn-companion-open-status",AL="learn-companion-fre-synced",nje=30*1e3,rje=10,sp=class extends Error{constructor(o,n){super(n);this.status=o}};async function PL(e,t,o,n){try{let r=await R(Z(e,t,!0),{},o,n);if(r.status===401)throw me(r),new sp(401,Mf);if(r.status===429)throw new sp(429,yC);if(!r.ok)throw new sp(r.status,ar);return r}catch(r){throw r instanceof sp?r:new sp(0,ar)}}function Hbe(e){let t="",o="";for(let r of e.split(` `))r.startsWith("event:")?t=r.slice(6).trim():r.startsWith("data:")&&(o=r.slice(5).trim());if(!t)return null;let n=o;try{let r=JSON.parse(o);n=r.d==="_"?"":r.d??""}catch{}return{event:t,data:n}}async function ije(e,t){try{let o=await PL(M.agentService.stream,{method:"POST",body:JSON.stringify(e)},nje,t);if(!o.body)return{message:ar,isError:!0};let n=o.body.getReader(),r=new TextDecoder,i="",s="",a=e.conversationId??null;for(;;){let{done:l,value:c}=await n.read();if(l)break;i+=r.decode(c,{stream:!0});let u=i.split(` `);i=u.pop()||"";for(let p of u){if(!p.trim())continue;let m=Hbe(p);if(m)switch(m.event){case"StreamStart":m.data&&m.data!=="_"&&(a=m.data);break;case"AgentResponse":s+=m.data;break;case"StreamEnd":return{sessionId:a??void 0,message:s};case"Error":return{message:m.data||ar,isError:!0}}}}if(i.trim()){let l=Hbe(i);if(l?.event==="Error")return{message:l.data||ar,isError:!0}}return{sessionId:a??void 0,message:s}}catch(o){return{message:o instanceof sp?o.message:ar,isError:!0}}}async function xB(e){let t=new URL(M.agentService.conversations);t.searchParams.set("take",String(rje)),e&&t.searchParams.set("continuationToken",e);let n=await(await PL(t.toString())).json();return{conversations:Array.isArray(n.conversations)?n.conversations:[],continuationToken:n.continuationToken??null,haAlpha XR:n.haAlpha XR===!0,totalConversations:typeof n.totalConversations=="number"?n.totalConversations:0}}async function Bbe(e){let t=`${M.agentService.conversations}/${encodeURIComponent(e)}`;await PL(t,{method:"DELETE"})}async function Gbe(e,t){let o=`${M.agentService.conversations}/${encodeURIComponent(e)}`;await PL(o,{method:"PATCH",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"},body:JSON.stringify({summary:t})})}function sje(){return document.head.querySelector('link[rel="canonical"]')?.href??window.location.href}var wB="Summarize this page",aje=[{icon:"text-align-left",header:"Clarify",description:"Tell me more about [concept]",prompt:"Tell me more about: "},{icon:"edit-outline",header:"Define",description:"Tell me the meaning of [term/concept]",prompt:"Tell me the meaning of: "},{icon:"chat-bubbles-question",header:"Guide",description:"Tell me how to [concept]",prompt:"Tell me how to: "}];async function lje(){return SL(e=>{let t=e.message.trim().toLowerCase()===wB.toLowerCase()?`${e.message.trim()}: ${sje()}`:e.message;return ije({query:t,conversationId:e.sessionId})},1/0,()=>"",()=>"",void 0,void 0,aje,[{name:"summarize",description:wB,prompt:wB}],!0,cje,uje)}function cje({sessionId:e,feedbackData:t,consentProvided:o,authType:n}){we({behavior:le.SURVEYCOMPLETE,actionType:Se.OTHER,content:{autoIngest:!0,type:"learn-companion-feedback",timestamp:new Date().toISOString(),sessionId:e,feedbackData:t,authType:n,isUserConsent:o}})}function uje({triggeredTime:e,returnedTime:t,sessionId:o,interactionId:n}){we({behavior:le.OTHER,actionType:Se.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 Vbe=lje();function IL(){return e_(ts)>=2||S.companionPreferences?.chatHistoryEnabled===!0}var dje=3e4,vB;function pje(){let e=S.companionPreferences,t={responseDetail:e?.responseDetail??50,teachingApproach:e?.teachingApproach??50,technicalDepth:e?.technicalDepth??50,chatHistoryEnabled:!0};return{userName:S.userName,displayName:S.displayName,email:S.email,locale:S.locale,country:S.country,contactPointTopicSetting:S.contactPointTopicSetting,isPrivate:S.isPrivate,source:S.source,interests:S.interests,qnaEmailPreferences:S.qnaEmailPreferences,isQnaModerator:S.isQnaModerator,companionPreferences:t}}async function LL(){if(!(!S.isAuthenticated||!S.userName))try{if(S.companionPreferences===void 0){let o=Xo();if(!o)return;let n=await tm(o);if(!n)return;S.readUserProfile(n)}let e=S.companionPreferences?.chatHistoryEnabled;if(e===!0){X.setItem(AL,"1");return}if(e===!1&&X.getItem(AL)){X.removeItem(ts),X.removeItem(AL);return}(await kh(S.userName,pje())).hasError?vB??(vB=setInterval(LL,dje)):(X.setItem(AL,"1"),clearInterval(vB),vB=void 0)}catch{}}A();A();function Gs(){return d`
    ${aW}
    `}A();function XT(e,t){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector(`[data-conversation-id="${CSS.escape(t)}"] [data-chat-history-row-overflow]`)?.focus()})}function mje(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 Wbe(e){requestAnimationFrame(()=>{let t=e.getActiveContainer()?.querySelector("[data-chat-history-rename-input]");t?.focus(),t?.select()})}function Qbe(e){requestAnimationFrame(()=>{e.getActiveContainer()?.querySelector("[data-chat-history-confirm-delete-yes]")?.focus()})}function Ybe(e,t){if(e.pendingDeleteId){let o=e.conversations.find(n=>n.conversationId===e.pendingDeleteId);return gje(e,t,o)}return d`

    ${Rf}

    ${e.isLoading?d`
    ${Vt}
    `:e.error&&!e.pendingRenameId?d`
    `:e.conversations.length===0?d`
    ${gW}
    `:d`
      ${ho(e.conversations,o=>o.conversationId,o=>fje(o,e,t))}
    `}
    `}function gje(e,t,o){return d`

    ${n1}

    ${Xa}

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

    ${e.error?d``:""}
    `}function fje(e,t,o){let n=t.pendingRenameId===e.conversationId;return d`
  • ${n?hje(e,t,o):d`
    `}
  • `}function hje(e,t,o){let n=async()=>{let r=t.pendingRenameDraft.trim();if(!r||r===e.summary){t.cancelRename(),XT(o,e.conversationId);return}await t.rename(e.conversationId,r)?XT(o,e.conversationId):Wbe(o)};return d`
    {r.preventDefault(),n()}} @keydown=${r=>{r.key==="Escape"&&(r.preventDefault(),t.cancelRename(),XT(o,e.conversationId))}} > {t.updateRenameDraft(r.currentTarget.value)}} aria-label="${fW}" aria-invalid=${t.error?"true":"false"} aria-describedby=${t.error?`chat-history-rename-error-${e.conversationId}`:""} /> ${t.error?d``:""}
    `}A();A();function bje(e,t,o){let n=cA(o);if(!n)return"";let r=Be(String(t??"")),i=Be(n);return`
    ${e}
    ${e}. ${r}
    `}function Kbe(e){return e?Object.entries(e).map(([t,o])=>{let n=parseInt(t),{title:r,url:i}=o;return bje(n,r,i)}):[]}function TB(e,t){if(!e||!t.length)return;let o=n=>{if(!n.open)return;let r=n.querySelector(".popover-content"),i=n.querySelector(".tag-summary");if(!r||!i)return;n.classList.add("popover-left"),r.offsetHeight;let s=e.getBoundingClientRect(),a=i.getBoundingClientRect(),l=r.getBoundingClientRect();a.left+a.width/2-l.width/2>=s.left&&(n.classList.remove("popover-left"),r.offsetHeight)};t.forEach(n=>{n.querySelectorAll("details.popover.tag-popover").forEach(i=>{i.addEventListener("toggle",s=>{let a=s.target;a.open&&o(a)})})})}A();function yje(e,t,o,n,r,i){let s=`${e}-${t}-msg${r}`,a=`${e}-${t}-msg${r}-choice${i}`;return d` `}function _je(e,t,o){return Object.entries(Obe[o]).map(([i,s],a)=>yje(t,o,i,s,e.index,a))}function wje(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 r=o.getAttribute("aria-controls");if(!r)return;e.previewPayload(t);let i=`${r}-disclaimer`,s=document.getElementById(i);if(!s)return;let a=zn(Zbe(!n),d``);w(a,s),o.textContent=n?$u:nv}}async function Zbe(e){return await ye,S&&S.authenticationMode==="AAD"?j(e?GC:Hw):j(BC)}function vje(e,t,o,n,r=Zbe(!1)){let i=Ba(n,"disclaimer-see-more","link-button font-weight-semibold font-size-sm margin-top-xxs",wje(e),$u,!0,!1,`ask-learn-show-more-${e.index}-${o}`),s=`${t}-feedback-payload-${e.index}-${o}`;return d`
    ${zn(r,d``)}
    ${xje(e,s)}
    ${i}
    `}function xje(e,t){return d` `}function Tje(e,t,o){let n=`${t}-feedback-textarea-${e.index}-${o}`,r=`${t}-see-more-${e.index}-${o}`;return d`
    e.handleSubmit(e,i)}>
    ${jW}
    ${_je(e,t,o)}

    ${vje(e,t,o,r)}

    `}function Jbe(e,t){let o;return e.state==="none"?"":(e.state==="submitted"||e.state==="cancelled"?o=d` ${Gs()}
    ${kW}
    `:(e.state==="like"||e.state==="dislike")&&(o=Tje(e,t,e.state)),d`
    ${o}
    `)}var JL={};Mo(JL,{default:()=>ZL});var LB={};Mo(LB,{arrayReplaceAt:()=>IB,assign:()=>n_,escapeHtml:()=>pu,escapeRE:()=>sOe,fromCodePoint:()=>ok,has:()=>Yje,isMdAsciiPunct:()=>jg,isPunctChar:()=>Ng,isSpace:()=>It,isString:()=>BL,isValidEntityCode:()=>GL,isWhiteSpace:()=>Dg,lib:()=>aOe,normalizeReference:()=>Og,unescapeAll:()=>du,unescapeMd:()=>eOe});var NL={};Mo(NL,{decode:()=>ek,encode:()=>$L,format:()=>t_,parse:()=>tk});var Xbe={};function kje(e){let t=Xbe[e];if(t)return t;t=Xbe[e]=[];for(let o=0;o<128;o++){let n=String.fromCharCode(o);t.push(n)}for(let o=0;o=55296&&u<=57343?r+="\uFFFD\uFFFD\uFFFD":r+=String.fromCharCode(u),i+=6;continue}}if((a&248)===240&&i+91114111?r+="\uFFFD\uFFFD\uFFFD\uFFFD":(p-=65536,r+=String.fromCharCode(55296+(p>>10),56320+(p&1023))),i+=9;continue}}r+="\uFFFD"}return r})}RL.defaultChars=";/?:@&=+$,#";RL.componentChars="";var ek=RL;var eye={};function Sje(e){let t=eye[e];if(t)return t;t=eye[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=Sje(t),r="";for(let i=0,s=e.length;i=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&l<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}ML.defaultChars=";/?:@&=+$,-_.!~*'()#";ML.componentChars="-_.!~*'()";var $L=ML;function t_(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 DL(){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 Cje=/^([a-z0-9.+-]+:)/i,Eje=/:[0-9]*$/,Aje=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,zje=["<",">",'"',"`"," ","\r",` `," "],Pje=["{","}","|","\\","^","`"].concat(zje),Ije=["'"].concat(Pje),tye=["%","/","?",";","#"].concat(Ije),oye=["/","?","#"],Lje=255,nye=/^[+a-z0-9A-Z_-]{0,63}$/,Rje=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,rye={javascript:!0,"javascript:":!0},iye={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Mje(e,t){if(e&&e instanceof DL)return e;let o=new DL;return o.parse(e,t),o}DL.prototype.parse=function(e,t){let o,n,r,i=e;if(i=i.trim(),!t&&e.split("#").length===1){let c=Aje.exec(i);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let s=Cje.exec(i);if(s&&(s=s[0],o=s.toLowerCase(),this.protocol=s,i=i.substr(s.length)),(t||s||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(s&&rye[s])&&(i=i.substr(2),this.slashes=!0)),!rye[s]&&(r||s&&!iye[s])){let c=-1;for(let f=0;f127?_+="x":_+=v[x];if(!_.match(nye)){let x=f.slice(0,y),z=f.slice(y+1),C=v.match(Rje);C&&(x.push(C[1]),z.unshift(C[2])),z.length&&(i=z.join(".")+i),this.hostname=x.join(".");break}}}}this.hostname.length>Lje&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let a=i.indexOf("#");a!==-1&&(this.hash=i.substr(a),i=i.slice(0,a));let l=i.indexOf("?");return l!==-1&&(this.search=i.substr(l),i=i.slice(0,l)),i&&(this.pathname=i),iye[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};DL.prototype.parseHost=function(e){let t=Eje.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 tk=Mje;var kB={};Mo(kB,{Any:()=>jL,Cc:()=>OL,Cf:()=>sye,P:()=>o_,S:()=>FL,Z:()=>UL});var jL=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var OL=/[\0-\x1F\x7F-\x9F]/;var sye=/[\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 o_=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 FL=/[\$\+<->\^`\|~\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 UL=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var aye=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 lye=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var SB,$je=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]]),CB=(SB=String.fromCodePoint)!==null&&SB!==void 0?SB: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 EB(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=$je.get(e))!==null&&t!==void 0?t:e}var qn;(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"})(qn||(qn={}));var Dje=32,ap;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ap||(ap={}));function AB(e){return e>=qn.ZERO&&e<=qn.NINE}function Nje(e){return e>=qn.UPPER_A&&e<=qn.UPPER_F||e>=qn.LOWER_A&&e<=qn.LOWER_F}function jje(e){return e>=qn.UPPER_A&&e<=qn.UPPER_Z||e>=qn.LOWER_A&&e<=qn.LOWER_Z||AB(e)}function Oje(e){return e===qn.EQUALS||jje(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 Bl;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Bl||(Bl={}));var qL=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=Bl.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)===qn.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)|Dje)===qn.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,r){if(o!==n){let i=n-o;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(o,i),r),this.consumed+=i}}stateNumericHex(t,o){let n=o;for(;o>14;for(;o>14,i!==0){if(s===qn.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Bl.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:o,decodeTree:n}=this,r=(n[o]&ap.VALUE_LENGTH)>>14;return this.emitNamedEntityData(o,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,o,n){let{decodeTree:r}=this;return this.emitCodePoint(o===1?r[t]&~ap.VALUE_LENGTH:r[t+1],n),o===3&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case Un.NamedEntity:return this.result!==0&&(this.decodeMode!==Bl.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 cye(e){let t="",o=new qL(e,n=>t+=CB(n));return function(r,i){let s=0,a=0;for(;(a=r.indexOf("&",a))>=0;){t+=r.slice(s,a),o.startEntity(i);let c=o.write(r,a+1);if(c<0){s=a+o.end();break}s=a+c,a=c===0?s+1:s}let l=t+r.slice(s);return t="",l}}function Fje(e,t,o,n){let r=(t&ap.BRANCH_LENGTH)>>7,i=t&ap.JUMP_TABLE;if(r===0)return i!==0&&n===i?o:-1;if(i){let l=n-i;return l<0||l>=r?-1:e[o+l]-1}let s=o,a=s+r-1;for(;s<=a;){let l=s+a>>>1,c=e[l];if(cn)a=l-1;else return e[l+r]}return-1}var Uje=cye(aye),AIt=cye(lye);function lp(e,t=Bl.Legacy){return Uje(e,t)}function HL(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 zB(e,t){return function(n){let r,i=0,s="";for(;r=e.exec(n);)i!==r.index&&(s+=n.substring(i,r.index)),s+=t.get(r[0].charCodeAt(0)),i=r.index+1;return s+n.substring(i)}}var uye=zB(/[&<>'"]/g,Hje),dye=zB(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),pye=zB(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var mye;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(mye||(mye={}));var gye;(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"})(gye||(gye={}));function Wje(e){return Object.prototype.toString.call(e)}function BL(e){return Wje(e)==="[object String]"}var Qje=Object.prototype.hasOwnProperty;function Yje(e,t){return Qje.call(e,t)}function n_(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 IB(e,t,o){return[].concat(e.slice(0,t),o,e.slice(t+1))}function GL(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 ok(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 bye=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Kje=/&([a-z#][a-z0-9]{1,31});/gi,Zje=new RegExp(bye.source+"|"+Kje.source,"gi"),Jje=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Xje(e,t){if(t.charCodeAt(0)===35&&Jje.test(t)){let n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return GL(n)?ok(n):e}let o=lp(e);return o!==e?o:e}function eOe(e){return e.indexOf("\\")<0?e:e.replace(bye,"$1")}function du(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Zje,function(t,o,n){return o||Xje(t,n)})}var tOe=/[&<>"]/,oOe=/[&<>"]/g,nOe={"&":"&","<":"<",">":">",'"':"""};function rOe(e){return nOe[e]}function pu(e){return tOe.test(e)?e.replace(oOe,rOe):e}var iOe=/[.?*+^$[\]\\(){}|-]/g;function sOe(e){return e.replace(iOe,"\\$&")}function It(e){switch(e){case 9:case 32:return!0}return!1}function Dg(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Ng(e){return o_.test(e)||FL.test(e)}function jg(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Og(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}var aOe={mdurl:NL,ucmicro:kB};var DB={};Mo(DB,{parseLinkDestination:()=>MB,parseLinkLabel:()=>RB,parseLinkTitle:()=>$B});function RB(e,t,o){let n,r,i,s,a=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos32))return i;if(n===41){if(s===0)break;s--}r++}return t===r||s!==0||(i.str=du(e.slice(t,r)),i.pos=r,i.ok=!0),i}function $B(e,t,o,n){let r,i=t,s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)s.str=n.str,s.marker=n.marker;else{if(i>=o)return s;let a=e.charCodeAt(i);if(a!==34&&a!==39&&a!==40)return s;t++,i++,a===40&&(a=41),s.marker=a}for(;i"+pu(i.content)+""};Gl.code_block=function(e,t,o,n,r){let i=e[t];return""+pu(e[t].content)+` `};Gl.fence=function(e,t,o,n,r){let i=e[t],s=i.info?du(i.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(i.content,a,l)||pu(i.content):c=pu(i.content),c.indexOf("${c} `}return`
    ${c}
    `};Gl.image=function(e,t,o,n,r){let i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,o,n),r.renderToken(e,t,o)};Gl.hardbreak=function(e,t,o){return o.xhtmlOut?`
    `:`
    `};Gl.softbreak=function(e,t,o){return o.breaks?o.xhtmlOut?`
    `:`
    `:` `};Gl.text=function(e,t){return pu(e[t].content)};Gl.html_block=function(e,t){return e[t].content};Gl.html_inline=function(e,t){return e[t].content};function r_(){this.rules=n_({},Gl)}r_.prototype.renderAttrs=function(t){let o,n,r;if(!t.attrs)return"";for(r="",o=0,n=t.attrs.length;o `:">",i};r_.prototype.renderInline=function(e,t,o){let n="",r=this.rules;for(let i=0,s=e.length;i=0&&(n=this.attrs[o][1]),n};i_.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 mu=i_;function _ye(e,t,o){this.src=e,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=t}_ye.prototype.Token=mu;var wye=_ye;var lOe=/\r\n?|\n/g,cOe=/\0/g;function NB(e){let t;t=e.src.replace(lOe,` `),t=t.replace(cOe,"\uFFFD"),e.src=t}function jB(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function OB(e){let t=e.tokens;for(let o=0,n=t.length;o\s]/i.test(e)}function dOe(e){return/^<\/a\s*>/i.test(e)}function FB(e){let t=e.tokens;if(e.md.options.linkify)for(let o=0,n=t.length;o=0;s--){let a=r[s];if(a.type==="link_close"){for(s--;r[s].level!==a.level&&r[s].type!=="link_open";)s--;continue}if(a.type==="html_inline"&&(uOe(a.content)&&i>0&&i--,dOe(a.content)&&i++),!(i>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&&r[s-1].type==="text_special"&&(c=c.slice(1));for(let g=0;gm){let C=new e.Token("text","",0);C.content=l.slice(m,v),C.level=p,u.push(C)}let _=new e.Token("link_open","a",1);_.attrs=[["href",y]],_.level=p++,_.markup="linkify",_.info="auto",u.push(_);let x=new e.Token("text","",0);x.content=h,x.level=p,u.push(x);let z=new e.Token("link_close","a",-1);z.level=--p,z.markup="linkify",z.info="auto",u.push(z),m=c[g].lastIndex}if(m=0;o--){let n=e[o];n.type==="text"&&!t&&(n.content=n.content.replace(mOe,fOe)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function bOe(e){let t=0;for(let o=e.length-1;o>=0;o--){let n=e[o];n.type==="text"&&!t&&vye.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 UB(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(pOe.test(e.tokens[t].content)&&hOe(e.tokens[t].children),vye.test(e.tokens[t].content)&&bOe(e.tokens[t].children))}var yOe=/['"]/,xye=/['"]/g,Tye="\u2019";function VL(e,t,o){return e.slice(0,t)+o+e.slice(t+1)}function _Oe(e,t){let o,n=[];for(let r=0;r=0&&!(n[o].level<=s);o--);if(n.length=o+1,i.type!=="text")continue;let a=i.content,l=0,c=a.length;e:for(;l=0)f=a.charCodeAt(u.index-1);else for(o=r-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 y=32;if(l=48&&f<=57&&(m=p=!1),p&&m&&(p=h,m=v),!p&&!m){g&&(i.content=VL(i.content,u.index,Tye));continue}if(m)for(o=n.length-1;o>=0;o--){let z=n[o];if(n[o].level=0;t--)e.tokens[t].type!=="inline"||!yOe.test(e.tokens[t].content)||_Oe(e.tokens[t].children,e)}function HB(e){let t,o,n=e.tokens,r=n.length;for(let i=0;i0&&this.level++,this.tokens.push(n),n};Vl.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Vl.prototype.skipEmptyLines=function(t){for(let o=this.lineMax;to;)if(!It(this.src.charCodeAt(--t)))return t+1;return t};Vl.prototype.skipChars=function(t,o){for(let n=this.src.length;tn;)if(o!==this.src.charCodeAt(--t))return t+1;return t};Vl.prototype.getLines=function(t,o,n,r){if(t>=o)return"";let i=new Array(o-t);for(let s=0,a=t;an?i[s]=new Array(l-n+1).join(" ")+this.src.slice(u,p):i[s]=this.src.slice(u,p)}return i.join("")};Vl.prototype.Token=mu;var Sye=Vl;var wOe=65536;function VB(e,t){let o=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(o,n)}function Cye(e){let t=[],o=e.length,n=0,r=e.charCodeAt(n),i=!1,s=0,a="";for(;no)return!1;let r=t+1;if(e.sCount[r]=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;let s=e.src.charCodeAt(i++);if(s!==124&&s!==45&&s!==58||i>=e.eMarks[r])return!1;let a=e.src.charCodeAt(i++);if(a!==124&&a!==45&&a!==58&&!It(a)||s===45&&It(a))return!1;for(;i=4)return!1;c=Cye(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),y=[t,0];f.map=y;let h=e.push("thead_open","thead",1);h.map=[t,t+1];let v=e.push("tr_open","tr",1);v.map=[t,t+1];for(let z=0;z=4||(c=Cye(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),x+=p-c.length,x>wOe))break;if(r===t+2){let H=e.push("tbody_open","tbody",1);H.map=_=[t+2,0]}let C=e.push("tr_open","tr",1);C.map=[r,r+1];for(let H=0;H=4){n++,r=n;continue}break}e.line=r;let i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+` `,i.map=[t,e.line],!0}function YB(e,t,o,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>i)return!1;let s=e.src.charCodeAt(r);if(s!==126&&s!==96)return!1;let a=r;r=e.skipChars(r,s);let l=r-a;if(l<3)return!1;let c=e.src.slice(a,r),u=e.src.slice(r,i);if(s===96&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;let p=t,m=!1;for(;p++,!(p>=o||(r=a=e.bMarks[p]+e.tShift[p],i=e.eMarks[p],r=4)&&(r=e.skipChars(r,s),!(r-a=4||e.src.charCodeAt(r)!==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=i)break;if(e.src.charCodeAt(r++)===62&&!x){let C=e.sCount[f]+1,H,O;e.src.charCodeAt(r)===32?(r++,C++,O=!1,H=!0):e.src.charCodeAt(r)===9?(H=!0,(e.bsCount[f]+C)%4===3?(r++,C++,O=!1):O=!0):H=!1;let pe=C;for(a.push(e.bMarks[f]),e.bMarks[f]=r;r=i,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(H?1:0),c.push(e.sCount[f]),e.sCount[f]=pe-C,u.push(e.tShift[f]),e.tShift[f]=r-e.bMarks[f];continue}if(g)break;let z=!1;for(let C=0,H=p.length;C";let v=[t,0];h.map=v,e.md.block.tokenize(e,t,f);let _=e.push("blockquote_close","blockquote",-1);_.markup=">",e.lineMax=s,e.parentType=m,v[1]=e.line;for(let x=0;x=4)return!1;let i=e.bMarks[t]+e.tShift[t],s=e.src.charCodeAt(i++);if(s!==42&&s!==45&&s!==95)return!1;let a=1;for(;i=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-o>=10)return-1;continue}if(i===41||i===46)break;return-1}return r=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(u=!0);let p,m,g;if((g=Aye(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=Eye(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),y=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 v=!1,_=e.md.block.ruler.getRules("list"),x=e.parentType;for(e.parentType="list";l=r?O=1:O=C-z,O>4&&(O=1);let pe=z+O;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(f);let Ee=[l,0];a.map=Ee,p&&(a.info=e.src.slice(s,g-1));let ce=e.tight,bt=e.tShift[l],Lt=e.sCount[l],Bt=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=pe,e.tight=!0,e.tShift[l]=H-e.bMarks[l],e.sCount[l]=C,H>=r&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,o):e.md.block.tokenize(e,l,o,!0),(!e.tight||v)&&(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Bt,e.tShift[l]=bt,e.sCount[l]=Lt,e.tight=ce,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=e.line,Ee[1]=l,l>=o||e.sCount[l]=4)break;let fo=!1;for(let Gt=0,co=_.length;Gt=4||e.src.charCodeAt(r)!==91)return!1;function a(_){let x=e.lineMax;if(_>=x||e.isEmpty(_))return null;let z=!1;if(e.sCount[_]-e.blkIndent>3&&(z=!0),e.sCount[_]<0&&(z=!0),!z){let O=e.md.block.ruler.getRules("reference"),pe=e.parentType;e.parentType="reference";let Ee=!1;for(let ce=0,bt=O.length;ce"u"&&(e.env.references={}),typeof e.env.references[v]>"u"&&(e.env.references[v]={title:h,href:p}),e.line=s),!0):!1}var zye=["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 xOe="[a-zA-Z_:][a-zA-Z0-9:._-]*",TOe="[^\"'=<>`\\x00-\\x20]+",kOe="'[^']*'",SOe='"[^"]*"',COe="(?:"+TOe+"|"+kOe+"|"+SOe+")",EOe="(?:\\s+"+xOe+"(?:\\s*=\\s*"+COe+")?)",Pye="<[A-Za-z][A-Za-z0-9\\-]*"+EOe+"*\\s*\\/?>",Iye="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",AOe="",zOe="<[?][\\s\\S]*?[?]>",POe="]*>",IOe="",Lye=new RegExp("^(?:"+Pye+"|"+Iye+"|"+AOe+"|"+zOe+"|"+POe+"|"+IOe+")"),Rye=new RegExp("^(?:"+Pye+"|"+Iye+")");var s_=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Rye.source+"\\s*$"),/^$/,!1]];function e3(e,t,o,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let s=e.src.slice(r,i),a=0;for(;a=4)return!1;let s=e.src.charCodeAt(r);if(s!==35||r>=i)return!1;let a=1;for(s=e.src.charCodeAt(++r);s===35&&r6||rr&&It(e.src.charCodeAt(l-1))&&(i=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(r,i).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 o3(e,t,o){let n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let r=e.parentType;e.parentType="paragraph";let i=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))){i=s===61?1:2;break}}if(e.sCount[a]<0)continue;let m=!1;for(let g=0,f=n.length;g3||e.sCount[i]<0)continue;let c=!1;for(let u=0,p=n.length;u=o||e.sCount[s]=i){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=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};nk.prototype.scanDelims=function(e,t){let o=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32,i=e;for(;i0)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 r=e.pending.match(ROe);if(!r)return!1;let i=r[1],s=e.md.linkify.matchAtStart(e.src.slice(o-i.length));if(!s)return!1;let a=s.url;if(a.length<=i.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,-i.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-i.length,!0}function s3(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;let n=e.pending.length-1,r=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),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){a3[e.charCodeAt(0)]=1});function l3(e,t){let o=e.pos,n=e.posMax;if(e.src.charCodeAt(o)!==92||(o++,o>=n))return!1;let r=e.src.charCodeAt(o);if(r===10){for(t||e.push("hardbreak","br",0),o++;o=55296&&r<=56319&&o+1=56320&&a<=57343&&(i+=e.src[o+1],o++)}let s="\\"+i;if(!t){let a=e.push("text_special","",0);r<256&&a3[r]!==0?a.content=i:a.content=s,a.markup=s,a.info="escape"}return e.pos=o+1,!0}function c3(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==96)return!1;let r=o;o++;let i=e.posMax;for(;o=0;n--){let r=t[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;let i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),l=e.tokens[r.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[i.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[r.end+1].token].content="",n--)}}function NOe(e){let t=e.tokens_meta,o=e.tokens_meta.length;Nye(e,e.delimiters);for(let n=0;n=p)return!1;if(l=f,r=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),r.ok){for(s=e.md.normalizeLink(r.str),e.md.validateLink(s)?f=r.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)),i=e.env.references[Og(n)],!i)return e.pos=u,!1;s=i.href,a=i.title}if(!t){e.pos=m,e.posMax=g;let y=e.push("link_open","a",1),h=[["href",s]];y.attrs=h,a&&h.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=p,!0}function m3(e,t){let o,n,r,i,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(i=f+1,i=m)return!1;for(c=i,a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?i=a.pos:u=""),c=i;i=m||e.src.charCodeAt(i)!==41)return e.pos=p,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i=0?r=e.src.slice(c,i++):i=f+1):i=f+1,r||(r=e.src.slice(g,f)),s=e.env.references[Og(r)],!s)return e.pos=p,!1;u=s.href,l=s.title}if(!t){n=e.src.slice(g,f);let y=[];e.md.inline.parse(n,e.md,e.env,y);let h=e.push("image","img",0),v=[["src",u],["alt",""]];h.attrs=v,h.children=y,h.content=n,l&&v.push(["title",l])}return e.pos=i,e.posMax=m,!0}var jOe=/^([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])?)*)$/,OOe=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function g3(e,t){let o=e.pos;if(e.src.charCodeAt(o)!==60)return!1;let n=e.pos,r=e.posMax;for(;;){if(++o>=r)return!1;let s=e.src.charCodeAt(o);if(s===60)return!1;if(s===62)break}let i=e.src.slice(n+1,o);if(OOe.test(i)){let s=e.md.normalizeLink(i);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(i);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}if(jOe.test(i)){let s=e.md.normalizeLink("mailto:"+i);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(i);let c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}return!1}function FOe(e){return/^\s]/i.test(e)}function UOe(e){return/^<\/a\s*>/i.test(e)}function qOe(e){let t=e|32;return t>=97&&t<=122}function f3(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 r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!qOe(r))return!1;let i=e.src.slice(n).match(Lye);if(!i)return!1;if(!t){let s=e.push("html_inline","",0);s.content=i[0],FOe(s.content)&&e.linkLevel++,UOe(s.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}var HOe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,BOe=/^&([a-z][a-z0-9]{1,31});/i;function h3(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 i=e.src.slice(o).match(HOe);if(i){if(!t){let s=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=GL(s)?ok(s):ok(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{let i=e.src.slice(o).match(BOe);if(i){let s=lp(i[0]);if(s!==i[0]){if(!t){let a=e.push("text_special","",0);a.content=s,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function jye(e){let t={},o=e.length;if(!o)return;let n=0,r=-2,i=[];for(let s=0;sl;c-=i[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?i[c-1]+1:0;i[s]=s-c+g,i[c]=g,a.open=!1,p.end=s,p.close=!1,u=-1,r=-2;break}}}u!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=u)}}function b3(e){let t=e.tokens_meta,o=e.tokens_meta.length;jye(e.delimiters);for(let n=0;n0&&n++,r[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++,i[t]=e.pos};rk.prototype.tokenize=function(e){let t=this.ruler.getRules(""),o=t.length,n=e.posMax,r=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()};rk.prototype.parse=function(e,t,o,n){let r=new this.State(e,t,o,n);this.tokenize(r);let i=this.ruler2.getRules(""),s=i.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 v3(e){return Array.prototype.slice.call(arguments,1).forEach(function(o){o&&Object.keys(o).forEach(function(n){e[n]=o[n]})}),e}function KL(e){return Object.prototype.toString.call(e)}function GOe(e){return KL(e)==="[object String]"}function VOe(e){return KL(e)==="[object Object]"}function WOe(e){return KL(e)==="[object RegExp]"}function Uye(e){return KL(e)==="[object Function]"}function QOe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Hye={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function YOe(e){return Object.keys(e||{}).reduce(function(t,o){return t||Hye.hasOwnProperty(o)},!1)}var KOe={"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}}},ZOe="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]",JOe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function XOe(e){return function(t,o){let n=t.slice(o);return e.test(n)?n.match(e)[0].length:0}}function qye(){return function(e,t){t.normalize(e)}}function YL(e){let t=e.re=Fye(e.__opts__),o=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||o.push(ZOe),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 r=[];e.__compiled__={};function i(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,VOe(l)){WOe(l.validate)?c.validate=XOe(l.validate):Uye(l.validate)?c.validate=l.validate:i(a,l),Uye(l.normalize)?c.normalize=l.normalize:l.normalize?i(a,l):c.normalize=qye();return}if(GOe(l)){r.push(a);return}i(a,l)}),r.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:qye()};let s=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(QOe).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 Bye(e,t,o,n){let r=e.slice(o,n);this.schema=t.toLowerCase(),this.index=o,this.lastIndex=n,this.raw=r,this.text=r,this.url=r}function os(e,t){if(!(this instanceof os))return new os(e,t);t||YOe(e)&&(t=e,e={}),this.__opts__=v3({},Hye,t),this.__schemas__=v3({},KOe,e),this.__compiled__={},this.__tlds__=JOe,this.__tlds_replaced__=!1,this.re={},YL(this)}os.prototype.add=function(t,o){return this.__schemas__[t]=o,YL(this),this};os.prototype.set=function(t){return this.__opts__=v3(this.__opts__,t),this};os.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)};os.prototype.pretest=function(t){return this.re.pretest.test(t)};os.prototype.testSchemaAt=function(t,o,n){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(t,n,this):0};os.prototype.match=function(t){let o=[],n=[],r=[],i=[],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;)r.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;)i.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]],i[u[1]],r[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"},x3=35,Wl=Math.floor,T3=String.fromCharCode;function cp(e){throw new RangeError(nFe[e])}function rFe(e,t){let o=[],n=e.length;for(;n--;)o[n]=t(e[n]);return o}function Qye(e,t){let o=e.split("@"),n="";o.length>1&&(n=o[0]+"@",e=o[1]),e=e.replace(oFe,".");let r=e.split("."),i=rFe(r,t).join(".");return n+i}function Yye(e){let t=[],o=0,n=e.length;for(;o=55296&&r<=56319&&oString.fromCodePoint(...e),sFe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Vye=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Kye=function(e,t,o){let n=0;for(e=o?Wl(e/700):e>>1,e+=Wl(e/t);e>x3*26>>1;n+=36)e=Wl(e/x3);return Wl(n+(x3+1)*e/(e+38))},Zye=function(e){let t=[],o=e.length,n=0,r=128,i=72,s=e.lastIndexOf(Wye);s<0&&(s=0);for(let a=0;a=128&&cp("not-basic"),t.push(e.charCodeAt(a));for(let a=s>0?s+1:0;a=o&&cp("invalid-input");let m=sFe(e.charCodeAt(a++));m>=36&&cp("invalid-input"),m>Wl((2147483647-n)/u)&&cp("overflow"),n+=m*u;let g=p<=i?1:p>=i+26?26:p-i;if(mWl(2147483647/f)&&cp("overflow"),u*=f}let c=t.length+1;i=Kye(n-l,c,l==0),Wl(n/c)>2147483647-r&&cp("overflow"),r+=Wl(n/c),n%=c,t.splice(n++,0,r)}return String.fromCodePoint(...t)},Jye=function(e){let t=[];e=Yye(e);let o=e.length,n=128,r=0,i=72;for(let l of e)l<128&&t.push(T3(l));let s=t.length,a=s;for(s&&t.push(Wye);a=n&&uWl((2147483647-r)/c)&&cp("overflow"),r+=(l-n)*c,n=l;for(let u of e)if(u2147483647&&cp("overflow"),u===n){let p=r;for(let m=36;;m+=36){let g=m<=i?1:m>=i+26?26:m-i;if(p=0))try{t.hostname=k3.toASCII(t.hostname)}catch{}return $L(t_(t))}function fFe(e){let t=tk(e,!0);if(t.hostname&&(!t.protocol||o_e.indexOf(t.protocol)>=0))try{t.hostname=k3.toUnicode(t.hostname)}catch{}return ek(t_(t),ek.defaultChars+"%")}function Vs(e,t){if(!(this instanceof Vs))return new Vs(e,t);t||BL(e)||(t=e||{},e="default"),this.inline=new Oye,this.block=new Mye,this.core=new kye,this.renderer=new yye,this.linkify=new Gye,this.validateLink=mFe,this.normalizeLink=gFe,this.normalizeLinkText=fFe,this.utils=LB,this.helpers=n_({},DB),this.options={},this.configure(e),t&&this.set(t)}Vs.prototype.set=function(e){return n_(this.options,e),this};Vs.prototype.configure=function(e){let t=this;if(BL(e)){let o=e;if(e=uFe[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};Vs.prototype.enable=function(e,t){let o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){o=o.concat(this[r].ruler.enable(e,!0))},this),o=o.concat(this.inline.ruler2.enable(e,!0));let n=e.filter(function(r){return o.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Vs.prototype.disable=function(e,t){let o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){o=o.concat(this[r].ruler.disable(e,!0))},this),o=o.concat(this.inline.ruler2.disable(e,!0));let n=e.filter(function(r){return o.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Vs.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Vs.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};Vs.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Vs.prototype.parseInline=function(e,t){let o=new this.core.State(e,this,t);return o.inlineMode=!0,this.core.process(o),o.tokens};Vs.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var ZL=Vs;var up=a_();up.set=()=>{throw new Error("Do not apply any non-default plugins or formatting to the globally available markdown instance. Instead use createMarkdownItInstance to create a new instance.")};function a_(e="default",t){return"default"in JL?ZL(e,t):new JL(e,t)}var hFe=e=>{let t=/(]*?)>\^(\d+)\^(<\/a>)/g;return e.replace(t,(o,n,r,i)=>`${n} aria-label="link, ${r}">${r}${i}`)},n_e=e=>{let t=a_("default",{html:!1,linkify:!0,typographer:!0}),o=t.render;return t.render=function(n){let r=String(o.call(t,n));if(!e||e.length===0)return hFe(r);let i=r.replace(/

    /g,'

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

    ${PW}

    `;return s_e(t,!1)}function i_e(e){return d`
    `}function vFe(e){return d`
    `}function xFe(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:cA(n.url)})).filter(o=>o.safeUrl!=="");return t.length===0?"":d`
    ${Gee}
      ${t.map(({citation:o,safeUrl:n})=>d`
    1. ${o.title}
    2. `)}
    `}function TFe(e){return e.loaded?d` ${xFe(e)}
    ${i_e(e)} ${r_e(e,e.responseCount,e.maxMessages)}
    `:e.errored?d`
    ${i_e(e)}
    `:e.cancelled?d`
    ${r_e(e,e.responseCount,e.maxMessages)}
    `:""}function kFe(e,t){if(e.allowLoadingView&&e.loading)return SFe(e,t);let n=Kbe(e.citations),r=n_e(n),i=e.cancelled?d`${fC} ${e.content}`:e.type==="ai"&&e.contentIsHTML?j(r.render(e.content??"")):e.content,s=e.type==="ai"?TFe(e):"",a=e.cancelled?vFe(e):"",l=e.feedbackViewModel?Jbe(e.feedbackViewModel,t):"",c=e.responseCount&&e.responseCount>=e.maxMessages?wFe(e):"",u=d`
    ${i} ${s}
    `;return d`
    ${e.type==="user"?yFe(u):_Fe(e,u)}
    ${a} ${l} ${c} `}function SFe(e,t){return d`
    ${Gs()}

    ${wC}

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

    ${r}

    `})}
    `}function c_e(){return b.data.pageTemplate!=="ModuleUnit"}function d_e(e,t){if(!e.starterPrompts||e.starterPrompts.length===0)return"";let n=!c_e()||!e.suggestionPills||e.suggestionPills.length===0||e.suggestionPills.every(r=>r.clicked)?f1:"";return d`
    ${c_e()?l_e(e):""}
    ${n}

    ${MW}

    ${e.starterPrompts.map(({icon:r,header:i,prompt:s})=>{let a=i.toLowerCase();return d` `})}
    `}A();function p_e(e,t){return d` `}function EFe(e){let n=parseInt(window.getComputedStyle(e).lineHeight,10);e.rows=1;let r=Math.floor(e.scrollHeight/n);r>6?(r=6,e.style.overflowY="auto"):e.style.overflowY="hidden",e.rows=r}function AFe(e,t){return d`
    ${e.starterPrompts?u_e(e,t):""} ${ho(e.messages,o=>o.index,o=>a_e(o,t))}
    `}function S3(e,t){return d`${AFe(e,t)} ${PFe(e,t)}`}function m_e(){return d` `}function g_e(e,t,o=!1){return d`

    ${Gs()}

    ${Df}
    ${m_e()}
    ${S3(e,t)}
    `}function zFe(e){return e?d` ${e} `:d``}function PFe(e,t){return d`
    ${e.starterPrompts?d_e(e,t):""}
    ${p_e(e,t)}
    ${zFe(e.currentValidationMessage)}
    `}function f_e(e,t=!1){return d`

    ${Gs()}

    ${Df}
    ${m_e()}

    ${Iw}

    ${Mf}

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

    ${Gs()}

    ${Df}
    ${h_e()}

    ${hC}

    ${AW}

    `}function LFe(e,t){switch(e.currentView){case"history":return Ybe(e.historyViewModel,e);default:return S3(e,t)}}function RFe(e,t,o){switch(e.currentView){case"history":return"";default:return d`
    ${Op}
    `}}function MFe(e,t){switch(e.currentView){case"history":let o=e.historyViewModel;return d`
    `;default:return""}}function b_e(e,t,o=!1){if(e.companionActive&&!IL())return IFe(e,t,o);let n=e.navigator,r=(()=>{let i=aA("me","settings"),s=i.searchParams.get("preview");return i.searchParams.set("preview",s?`${s},learn-companion`:"learn-companion"),i.toString()})();return d`

    ${Gs()}

    ${Df}
    ${RFe(e,n,r)} ${h_e()}
    ${MFe(e,n)}
    ${LFe(e,t)}
    `}var gu=class{constructor(t={}){this.detail=t}},Ql=class{constructor(t={}){this.detail=t}},l_=class{constructor(t={}){this.detail=t}},c_=class{constructor(t={}){this.detail=t}},Yl=class{constructor(t={}){this.detail=t}},fu=class{constructor(t={}){this.detail=t}},u_=class{constructor(t={}){this.detail=t}},d_=class{constructor(t={}){this.detail=t}};var y_e={chat:dW,history:Rf},XL=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(()=>{ht(y_e[t]),this.args.getContainer()?.querySelector(Xd.join(","))?.focus()}))}back(){if(this.currentView==="chat")return;let t=this.previousView;this.previousView=this.currentView,this.currentView=t,this.args.onChange(),this.detachEscHandler(),requestAnimationFrame(()=>{ht(y_e[t]),this.focusedElement?.focus(),document.activeElement!==this.focusedElement&&this.args.getContainer()?.querySelector(Xd.join(","))?.focus()})}reset(){this.currentView="chat",this.previousView="chat",this.focusedElement=null,this.detachEscHandler()}attachEscHandler(){if(!this.escController){let t=this.args.getContainer();if(!t)return;this.escController=new AbortController,t.addEventListener("keydown",o=>{o.key==="Escape"&&(o.preventDefault(),this.back())},{signal:this.escController.signal})}}detachEscHandler(){this.escController?.abort(),this.escController=null}};var __e=eo,w_e=rl,eR=class extends He{constructor(){super(...arguments);this.conversations=[];this.isLoading=!1;this.isDeleting=!1;this.isRenaming=!1;this.error=null;this.continuationToken=null;this.haAlpha XR=!1;this.totalConversations=0;this.pendingRenameId=null;this.pendingRenameDraft="";this.pendingDeleteId=null}notifyPropertyChanged(){this.publish(new gu({}))}startRename(o){let n=this.conversations.find(r=>r.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(){if(!this.isLoading){this.isLoading=!0,this.error=null,this.notifyPropertyChanged();try{let o=await xB();this.conversations=o.conversations,this.continuationToken=o.continuationToken,this.haAlpha XR=o.haAlpha XR,this.totalConversations=o.totalConversations}catch{this.error=__e}finally{this.isLoading=!1,this.notifyPropertyChanged()}}}async fetchMore(){if(!(this.isLoading||!this.haAlpha XR||!this.continuationToken)){this.isLoading=!0,this.error=null,this.notifyPropertyChanged();try{let o=await xB(this.continuationToken);this.conversations=[...this.conversations,...o.conversations],this.continuationToken=o.continuationToken,this.haAlpha XR=o.haAlpha XR,this.totalConversations=o.totalConversations}catch{this.error=__e}finally{this.isLoading=!1,this.notifyPropertyChanged()}}}async deleteOne(o){if(this.isDeleting)return!1;this.isDeleting=!0,this.notifyPropertyChanged();try{return await Bbe(o),this.conversations=this.conversations.filter(n=>n.conversationId!==o),this.pendingDeleteId===o&&(this.pendingDeleteId=null),this.error=null,!0}catch{return this.error=w_e,!1}finally{this.isDeleting=!1,this.notifyPropertyChanged()}}async rename(o,n){if(this.isRenaming)return!1;let r=this.conversations.findIndex(s=>s.conversationId===o);if(r===-1)return!1;this.isRenaming=!0;let i=this.conversations[r];this.conversations=[...this.conversations.slice(0,r),{...i,summary:n},...this.conversations.slice(r+1)],this.notifyPropertyChanged();try{return await Gbe(o,n),this.pendingRenameId===o&&(this.pendingRenameId=null,this.pendingRenameDraft=""),this.error=null,!0}catch{return this.conversations=[...this.conversations.slice(0,r),i,...this.conversations.slice(r+1)],this.error=w_e,!1}finally{this.isRenaming=!1,this.notifyPropertyChanged()}}};var tR=class extends He{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 r=o.target.closest("form"),i=this.getSelectedOption(r),s=this.getVerbatimText(r);i&&(this.userRadioSelection=i.value,this.verbatim=s),this.publish(new fu({refresh:n,msgIndex:this.index}))}handleSubmit(o,n){n.preventDefault();let r=n.target.closest("form"),i=this.getSelectedOption(r),s=this.getVerbatimText(r);i&&(this.userRadioSelection=i.value,this.verbatim=s,this.state="submitted",o.notifyPropertyChanged(),this.publish(new Yl({consentProvided:!0})))}clearRadioSelection(){Array.from(document.querySelectorAll("[data-chat-container-name]")).forEach(n=>{n.querySelectorAll('input[type="radio"]').forEach(i=>{i.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 Ql({scroll:!1}))}};var $Fe={contentIsHTML:!1,type:"user"},ki,oR=class extends He{constructor(o,n={},r,i,s,a){super();Qt(this,ki,"loading");this.firstRender=!0;this.errorMapping={};this.skeletonHidden=!1;let{contentIsHTML:l,type:c}={...$Fe,...n};if(this.type=c||"user",this.contentIsHTML=l||!1,this.index=r,this.maxMessages=i,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,yt(this,ki,u.state||"loaded"),this.responseCount=u.responseCount,this.responseCount||(this.skeletonHidden=!0),this.fetchInternal=Promise.resolve({})}this.type==="ai"&&(ht(wC,"assertive"),this.feedbackViewModel=new tR(r),this.feedbackViewModel.subscribe(Ql,()=>this.notifyPropertyChanged()),this.feedbackViewModel.subscribe(Yl,u=>this.publish(new Yl(u.detail))),this.feedbackViewModel.subscribe(fu,u=>this.publish(new fu({refresh:u.detail.refresh,msgIndex:u.detail.msgIndex,likeOrDislike:this.rating})))),this.load().then(()=>{this.type==="ai"&&ht(LW),this.notifyPropertyChanged()})}get loading(){return Ce(this,ki)==="loading"}get cancelled(){return Ce(this,ki)==="cancelled"}get loaded(){return Ce(this,ki)==="loaded"}get errored(){return Ce(this,ki)==="errored"}get allowLoadingView(){return Ce(this,ki)==="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 d_),this.notifyPropertyChanged())}async awaitCancellation(){return new Promise(o=>{this.cancel=o}).then(o=>{this.contentIsHTML=!1,yt(this,ki,"cancelled"),ht(fC,"assertive"),this.focusElementOnCancel(o)})}focusElementOnCancel(o){let n=o.target instanceof HTMLElement&&o.target.closest("[data-chat-container-name]");if(!n)return;let r=n.dataset.containerName;if(!r)return;let i=document.querySelector(`[data-focus-on-cancel="${r}"]`);i&&i.focus()}async loadInternal(){if(this.loaded||this.errored)return;let o=await this.fetchInternal;if(o.responseCount===0&&(this.skeletonHidden=!0),!this.loading){o.responseCount&&this.updateResponseCount(o.responseCount),this.notifyPropertyChanged();return}o.message&&(this.content=o.message),o.citations&&(this.citations=o.citations),o.sessionId&&(this.sessionId=o.sessionId),o.interactionId&&(this.interactionId=o.interactionId),o.responseCount&&this.updateResponseCount(o.responseCount),o.isError?yt(this,ki,"errored"):this.loading&&yt(this,ki,"loaded")}resetChat(){this.publish(new c_)}chatSetBusy(){this.publish(new l_)}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 Yl),this.notifyPropertyChanged()}regenerateMessage(){this.cancelled&&(yt(this,ki,"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 Ql({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"?Ce(this,ki):void 0,rating:this.rating}}};ki=new WeakMap;var nR=class extends He{constructor(t,o,n){super(),this.name=t,this.description=o,this.prompt=n,this.clicked=!1}clickSuggestionPill(){this.clicked=!0,this.publish(new u_({prompt:this.prompt}))}resetSuggestionPill(){this.clicked=!1}};var rR={empty:qW,short:_C,exceeded:g1},DFe=8*60*60*1e3,NFe="learn_companion_channel",ik,sk,ak,Ws,lk,ck,p_,m_,Ug,iR=class extends He{constructor(o){super();this.textarea=null;this.navigator=null;Qt(this,ik,"");Qt(this,sk,"");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");Qt(this,ak);Qt(this,Ws,[]);Qt(this,lk);Qt(this,ck);Qt(this,p_);Qt(this,m_);Qt(this,Ug,null);this.initialized=new Promise(o=>{this.initialize=o});this._busy=!1;yt(this,ak,o.fetch),yt(this,lk,o.getContextIdType),yt(this,ck,o.getContextId),this.maxMessages=o.maxMessages,this.validate=o.validate||(()=>null),this.errorMapping=o.errorMapping||{},this.starterPrompts=o.starterPrompts,yt(this,p_,o.onFeedback),yt(this,m_,o.onTimeTelemetry),this.initSuggestionPills(o),this.setUpTestKeyboardListener(),o.companionActive?(this.companionActive=!0,this.broadcastChannel.close(),this.broadcastChannel=new BroadcastChannel(NFe),this.navigator=new XL({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 Ce(this,ik)}set sessionId(o){yt(this,ik,o||"")}get currentMessageLength(){return this.currentMessage.length}get currentMessage(){return Ce(this,sk)||""}set currentMessage(o){yt(this,sk,o)}get historyViewModel(){return Ce(this,Ug)||(yt(this,Ug,new eR),Ce(this,Ug).subscribe(gu,o=>this.notifyPropertyChanged(o.detail))),Ce(this,Ug)}get messages(){return Ce(this,Ws)}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 r=this.getActiveTextArea(n);this.notifyPropertyChanged(),r&&(r.focus(),r.dispatchEvent(new Event("input")))}initSuggestionPills(o){this.suggestionPills=o.suggestionPills?.map(n=>new nR(n.name,n.description,n.prompt))||[],this.suggestionPills.forEach(n=>{n.subscribe(u_,r=>{r.detail.prompt&&this.submitWithPrompt(r.detail.prompt)})})}resetSuggestionPills(){this.suggestionPills?.forEach(o=>o.resetSuggestionPill())}notifyPropertyChanged(o){this.publish(new gu({...o}))}populateForTest(o){yt(this,Ws,o),this.notifyPropertyChanged()}getActiveTextArea(o){if(o){let i=document.querySelector(`[data-chat-textarea-container-name="${o}"]`);if(i)return i}let n=this.getActiveContainer(o);if(!n)return null;let r=n.querySelector("[data-chat-textarea-container-name]");return r||null}getActiveContainer(o){if(o){let i=document.querySelector(`[data-chat-container-name="${o}"]`);if(i)return i}let n=Array.from(document.querySelectorAll("[data-chat-container-name]"));if(n.length===0)return null;let r=n.find(i=>getComputedStyle(i).display!=="none");return r||null}getActiveContainerName(){let o=this.getActiveContainer();return o&&o.getAttribute("data-chat-container-name")||""}validateMinLength(){this.currentMessage.length===0?(this.canSubmit=!1,this.currentValidationMessage=rR.empty):this.currentMessage.lengththis.MAX_CHAR_LENGTH&&(this.canSubmit=!1,this.currentValidationMessage=rR.exceeded,ht(g1)),this.notifyPropertyChanged()}handleKeyDown(o){o.key==="Enter"&&!o.shiftKey&&(o.preventDefault(),this.submit(o),we({behavior:le.OTHER,actionType:Se.KEYBOARDENTER,content:{autoIngest:!0,type:"ask-learn-assistant-submit-prompt",an:"ask-learn-assistant",name:"submit-enter"}}))}reset(o=!1){yt(this,Ws,[]),this.sessionId="",this.deleteChatHistory(),this.indexCount=0,this.responseCount=0,this.setReady(),this.canSubmit=!0,this.resetSuggestionPills(),this.navigator?.reset(),this.notifyPropertyChanged(),ht(cW),o||this.broadcastChannel.postMessage({type:"reset"})}clearActiveChat(o=!1){yt(this,Ws,[]),this.sessionId="",this.deleteChatHistory(),this.notifyPropertyChanged(),o||this.broadcastChannel.postMessage({type:"clear-active-chat"})}scrollToActiveMessage(o,n="smooth"){let r=this.getActiveContainer(o);if(!r)return;let i=`[data-scroll-into-view="${this.scrollHandle}"]`,s=r.querySelector(i);if(!s){if(this.currentView!=="chat")return;throw new Error("No active scroll handle found for chat.")}s.scrollIntoView({block:"nearest",inline:"start",behavior:n})}createMessagesHistoryArray(o=!1){let n=[];for(let r=0;r0&&(this.messages[this.messages.length-1].skeletonHidden=!0,this.publish(new Ql({})))}finally{(this.responseCountthis.handleMessageChange(c.detail)),l.subscribe(l_,()=>this.setBusy()),l.subscribe(c_,()=>{this.reset()}),l.subscribe(Yl,c=>{this.sendTelemetryToOneDS(c.detail),this.saveChat()}),l.subscribe(fu,c=>{c.detail.refresh&&c.detail.likeOrDislike&&c.detail.msgIndex?this.updatePreviewPayload("refresh",c.detail.msgIndex,c.detail.likeOrDislike):c.detail.likeOrDislike&&c.detail.msgIndex&&this.updatePreviewPayload("toggle",c.detail.msgIndex,c.detail.likeOrDislike)}),l.subscribe(d_,()=>{this.saveChat()}),Ce(this,Ws).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=ar;let r={content:n,state:"errored",type:"ai"};this.pushMessage(r,{},this.createChildVmIndex(),this.maxMessages,this.errorMapping)}handleMessageChange(o){this.notifyPropertyChanged(o)}createChildVmIndex(){return this.indexCount++}setUpTestKeyboardListener(){Ul&&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,r)=>{if(!o.loaded)return!1;if(o.type==="user"){let i=r[n+1];if(!i||!i.loaded)return!1}return!0}).map(o=>o.saveMessage())})}saveChat(o=!1){let n=this.serializeChat(),r={type:"history",payload:n,shouldScroll:o};this.broadcastChannel.postMessage(r),this.companionActive?(X.setItem(zL,n),X.setItem($g,Date.now().toString())):(X.setItem(CL,n),X.setItem(Lg,Date.now().toString()))}deleteChatHistory(){this.companionActive?(X.removeItem(zL),X.removeItem($g)):(X.removeItem(CL),X.removeItem(Lg))}getChatHistory(){let o=X.getItem(this.companionActive?zL:CL);return o?JSON.parse(o):null}restoreChatHistory(o,n=!1){o&&(this.sessionId=o.sessionId,yt(this,Ws,[]),o.messages.forEach(r=>{this.pushMessage(r,{contentIsHTML:!0,type:r.type},this.createChildVmIndex(),this.maxMessages,this.errorMapping,this.sessionId),this.responseCount=r.responseCount||0,this.responseCount>=this.maxMessages&&this.setBusy()}),this.notifyPropertyChanged({scroll:n}))}clearChatsUponInactive(){let o=X.getItem(this.companionActive?$g:Lg);if(!o)return;let n=parseInt(o);Date.now()-n>DFe&&(this.deleteChatHistory(),this.reset(),X.removeItem(this.companionActive?uu:Rg))}handleInitialChatHistory(){if(!yL&&(this.clearChatsUponInactive(),this.restoreChatHistory(this.getChatHistory()),X.getItem(this.companionActive?uu:Rg)==="true")){if(this.companionActive&&!IL()){X.removeItem(uu);return}this.handleFlyoutOpenStateChange(!0)}}initBroadcastChannel(){yL||(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(){yL||(window.addEventListener("focusin",()=>{X.setItem(this.companionActive?$g:Lg,Date.now().toString())}),this.companionActive&&document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&!this.busy&&this.restoreChatHistory(this.getChatHistory())}),window.addEventListener("flyout-show",()=>{X.setItem(this.companionActive?uu:Rg,"true"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!0})}),window.addEventListener("flyout-hide",()=>{X.setItem(this.companionActive?uu:Rg,"false"),this.broadcastChannel.postMessage({type:"open-state",isOpen:!1})}))}handleFlyoutOpenStateChange(o){let n=document.querySelector("[data-ask-learn-flyout-entry]");if(!n)return;let r=document.documentElement.classList.contains("layout-flyout-active");if(o!==r)if(o)cu(n);else{let i=document.querySelector('button[data-flyout-button="close"]');i&&i.click()}}initialize(){}};ik=new WeakMap,sk=new WeakMap,ak=new WeakMap,Ws=new WeakMap,lk=new WeakMap,ck=new WeakMap,p_=new WeakMap,m_=new WeakMap,Ug=new WeakMap;var Hn,sR,jFe=async e=>{await(sR??Promise.resolve()),EL(()=>{sR=LL(),Hn?.notifyPropertyChanged(),e()})},OFe=(()=>{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 FFe(e){return e.map(t=>YT(t))}function UFe(e,t,o,n){return!!(e||t||o||n)}function qFe(e){return e?Vbe:Fbe}function HFe(e){return e?{lastInteractionTimeKey:$g,openStatusKey:uu}:{lastInteractionTimeKey:Lg,openStatusKey:Rg}}function BFe(e,t){window.addEventListener("flyout-show",()=>{X.setItem(e,Date.now().toString()),X.setItem(t,"true")}),window.addEventListener("flyout-hide",()=>{X.setItem(e,Date.now().toString()),X.setItem(t,"false")})}async function v_e(){if(!k.chatTutor||b.data.isPermissioned&&b.data.permissionedType!=="public")return;let e=We("chat-tutor",{require:!0}),[t,o,n]=await Promise.all([Ti("ask-learn"),Ti("ask-learn-on-articles"),Ti("ask-learn-on-reference"),ye,Te]);if(!UFe(e,t,o,n)){document.documentElement.classList.remove("layout-flyout-active");return}let i=We("learn-companion",{require:!0}),{lastInteractionTimeKey:s,openStatusKey:a}=HFe(i);By("devlang");let l=S.isAuthenticated,c=i?e_(ts):e_();c<2&&FFe([Xy,JT]);let{chatContainer:u,chatModal:p}=GFe();if(!u||!p)return;let m=[],g=document.getElementById("ask-learn-flyout");g&&m.push({element:g,name:"ask-learn-flyout",sticky:!0});let f=i?jFe:qbe;fB(bB,p,f),fB(wL,p,f),hB(KT,f),hB(vL,f,!0),Pbe(Lbe,()=>p.show(),cu,f),Ibe(p,KT),$be();let y=[{element:u,name:"ask-learn-modal"},...m];if(l){let h=await qFe(i);i&&c>=2&&(sR=LL(),X.getItem(uu)==="true"&&await sR),VFe(h,y)}else{for(let h of y)w(f_e(h.name,!!h.sticky),h.element);BFe(s,a)}OFe&&X.getItem(a)!=="true"&&f(()=>{if(Ar.matches){let v=document.querySelector(KT);v&&cu(v,!0)}else p.show()})}function GFe(){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 _e(e);return{chatContainer:e,chatModal:t}}async function VFe(e,t){if(!t||t.length===0)throw new Error("Invalid container provided to Chat View Model.");Hn=new iR(e);let o=e.companionActive?b_e:g_e;Hn.subscribe(gu,async n=>{for(let r of t){w(o(Hn,r.name,!!r.sticky),r.element);let i=Array.from(r.element.querySelectorAll(`[data-interaction-id="${n.detail.interactionId}"]`));if(n.detail.updateCodeBlocks)for(let s of i)BT(s);TB(r.element,i),n.detail.scroll&&Hn.scrollToActiveMessage(r.name)}}),await Hn.initialized,window.addEventListener("resize",Jy.timeout(()=>{for(let n of t){let r=Array.from(n.element.querySelectorAll("[data-interaction-id]"));TB(n.element,r)}},250));for(let n of t)w(o(Hn,n.name,!!n.sticky),n.element);window.addEventListener("modal-show",()=>{Hn.scrollToActiveMessage("ask-learn-modal","instant")}),window.addEventListener("flyout-show",()=>{Hn.scrollToActiveMessage("ask-learn-flyout","instant")})}var C3,WFe="article-header-page-actions",QFe="article-header-page-actions-overflow",x_e="[data-page-action-item]";function A3(e=Array.from(document.querySelectorAll(x_e))){let t=document.getElementById(WFe);if(!t)return;C3&&C3.disconnect(),T_e(e);let o=new MutationObserver(()=>{T_e(Array.from(t.querySelectorAll(x_e)))});o.observe(t,{childList:!0,attributes:!0,attributeFilter:["hidden"],subtree:!0}),C3=o,t.classList.remove("opacity-none")}function YFe(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 T_e(e){let t=document.getElementById(QFe);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,r=!1,i=t.querySelector('[data-list-type="plan"]');i&&(i.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=YFe(a);if(u==="overflow-all"&&(!l||!c)){n=!0;break}if(u==="overflow-mobile"&&(!l||!c)){r=!0;continue}}t&&(!n&&r&&(t.classList.add("display-none-tablet"),t.setAttribute("data-reset-required","display-none-tablet")),!n&&!r&&(t.classList.add("display-none"),t.setAttribute("data-reset-required","display-none")))}function k_e(){document.documentElement.classList.contains("layout-focus-mode")&&E3({isLoad:!0}),document.addEventListener("click",t=>{t.target instanceof Element&&t.target.closest("[data-focus-mode]")&&E3()}),window.addEventListener("resize",()=>{Ta.matches||!document.documentElement.classList.contains("layout-focus-mode")||E3({isResize:!0})},{passive:!0})}function E3({isResize:e,isLoad:t}={}){if(!document.getElementById("ms--focus-mode-button"))return;if(e){document.documentElement.classList.remove("layout-focus-mode");return}let n=t?document.documentElement.classList.contains("layout-focus-mode"):!document.documentElement.classList.contains("layout-focus-mode"),r="layout-menu-collapsed"in qu.getViewState()?qu.getViewState()["layout-menu-collapsed"]:n;document.documentElement.classList.toggle("layout-focus-mode",n),document.documentElement.classList.toggle("layout-menu-collapsed",r)}qu.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"),ht(o?WZ:QZ,"assertive"),zt()});function KFe(){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 uk(e){return/^(?:android|ios|linux|macos|windows)$/.test(e)}var ZFe=JFe();function JFe(){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 dk=KFe(),S_e="preferred-platform";function XFe(){let e=X.getItem(S_e);return e!==null&&uk(e)?e:null}var aR=XFe();function lR(e){X.setItem(S_e,e)}var z3=["button-primary","is-selected"],E_e=["previous-versions","archive"],eUe=({location:e,allowedPaths:t})=>{let o=op(e).pathname.split("/"),n=t.includes(o[2])?4:3;return o.slice(0,n).join("/")},P3=eUe({location:ee,allowedPaths:E_e});function I3(){let e=L3();if(!e.length)return Promise.resolve();let t={get(o){return X.getItem(`zone-pivot${P3}/${o}`)},set(o,n){X.setItem(`zone-pivot${P3}/${o}`,n)}};return Promise.all([sUe(),Te]).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"),r=document.querySelector('[data-id="ai-summary"]'),i=[n,r].filter(a=>a!==null);if(i.length===0)return;let s=i.reduce((a,l)=>a.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING?l:a);nUe(s,e,o,t)})}function L3(){return(P("zone_pivot_groups")||"").split(",").map(e=>e.trim()).filter(e=>e.length)}function tUe(e){document.querySelectorAll(`[data-pivot]${e.map(o=>`:not([data-pivot~='${o}'])`).join("")}`).forEach(o=>{Array.from(o.querySelectorAll("[id]")).forEach(r=>A_e(r))})}var oUe=e=>{e.forEach(t=>{document.querySelectorAll(`[data-pivot~='${t}'] [data-id]`).forEach(i=>{i.id=i.getAttribute("data-id"),i.removeAttribute("data-id")});let n=Array.from(document.querySelectorAll(`[data-pivot~='${t}'] [id]`)).map(i=>i.id);document.querySelectorAll(`[data-pivot]:not([data-pivot~='${t}']) [id]`).forEach(i=>{n.includes(i.id)&&A_e(i)})})};function A_e(e){e.setAttribute("data-id",e.id),e.removeAttribute("id")}function nUe(e,t,o,n){let r=re().pivots,i=r?r.split(",").map(f=>f.trim().toLowerCase()):[],s=iUe(o,t,i,n,aR||dk),a=document.createElement("style");document.head.appendChild(a),C_e(a,s);let l=t.map(f=>o.find(y=>y.id===f)).filter(f=>f!==void 0);if(l.length===0)return;let c=rUe(e,l,s),u=Array.from(c.querySelectorAll('input[type="radio"]')).map(f=>({input:f,button:f.closest(".button")})),p=()=>{C_e(a,u.filter(f=>f.input.checked).map(f=>f.input.value)),u.forEach(({input:f,button:y})=>{f.checked?(y.classList.add(...z3),y.querySelector(".icon").classList.remove("is-hidden")):(y.classList.remove(...z3),y.querySelector(".icon").classList.add("is-hidden"))})},m=()=>u.forEach(({input:f,button:y})=>{let h=f.matches(":focus-visible")?"add":"remove";y.classList[h]("is-focused")}),g=f=>{let{name:y,value:h}=f.target;n.set(y,h),uk(h)&&lR(h)};Ot(c,"change",p),Ot(c,"blur",m,!0),Ot(c,"focus",m,!0),Ot(c,"change",g),kg(()=>a.remove())}function C_e(e,t){e.textContent=` [data-pivot]${t.map(o=>`:not([data-pivot~='${o}'])`).join("")} { display: none !important; }`,tUe(t),oUe(t),rp(),zt(),Ht({pivots:t.join()},"replaceState")}function rUe(e,t,o){let{userDir:n,userLocale:r}=b.data;return e.insertAdjacentHTML("afterend",`
    ${t.map(i=>`
    ${i.prompt}
    ${i.pivots.map(s=>` `).join(` `)}
    `).join(` `)}
    `),e.nextElementSibling}function iUe(e,t,o,n,r){let i=[];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===r&&(m=f.id);i.push(u||p||m||g)}return i}function sUe(){let e=aUe();return R(e,{credentials:"include"}).then(t=>t.json()).then(t=>t.groups)}function aUe(){let{branch:e}=re(),t=P("zone_pivot_group_filename")||"zone-pivot-groups.json",o=e?"?"+se({branch:e}):"",n=["nb-no"],r=P3,i=r.split("/")[1],s=n.includes(i);s&&(r=r.replace(i,"en-us"));let a=`${r}/${t}${o}`,l=P("zone_pivot_groups_path");l&&(l=jH(l));let c=l&&l.length>1,u=l&&l.startsWith("/"),p=E_e.filter(f=>ee.pathname.includes(`/${f}/`)),m=p.length>0?`/${p[0]}`:"",g=`/${s?"en-us":i}${m??""}${u?"":"/"}${l}`;return c?g:a}var lUe=["azure.microsoft.com/pricing/purchase-options/azure-account","azure.microsoft.com/free"];function pk(e){try{let t=new URL(e),o=t.hostname+an(t.pathname);return lUe.some(n=>o.includes(n))}catch{return!1}}function cR(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 z_e(e,t=P("platform_id")){let o=Array.from(e.querySelectorAll("a[href]")).filter(n=>{let r=n.getAttribute("href");return r&&pk(r)});for(let n of o){let r=n.getAttribute("href");!r||!pk(r)||n.setAttribute("href",cR(r,t))}}function P_e(e,t){let o=Array.from(e.querySelectorAll('iframe[src^="https://learn-video.azurefd.net/"], iframe[src^="https://channel9.msdn.com/"], iframe[src*="/video-embed.html?"], iframe[src*="/video-embed-one-stream.html?"]')),n;try{n=an(new URL(t.href)?.pathname)}catch{return[]}for(let r of o){let i;try{i=new URL(r.src)}catch{continue}i.searchParams.set("locale",b.data.userLocale),i.searchParams.set("embedUrl",n),r.src=i.toString(),r.title||(r.title=Bf)}return o??[]}function I_e(){if(L3().length)return;let t=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")),o=[],n=[];t.map(r=>o.includes(r.id)?n.push(r):o.push(r.id)),n.forEach(r=>{r.removeAttribute("id")})}A();var L_e="h1,h2,h3,h4,h5,h6",dR=e=>{e.forEach(t=>{let o=t.firstElementChild;t.clientWidth{let o=!1;return(...n)=>{o||(o=!0,U.requestAnimationFrame(()=>{e.apply(t,n),o=!1}))}},uR={definitions:["margin-bottom-sm"],nameValue:["table-stacked-mobile"],dataMatrix:["table-complex","margin-top-sm"],attributeList:["table-complex","width-auto"]};function cUe(e){let t=e.classList;if(t.contains("definitions")){e.classList.add(...uR.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 r=0;for(;n&&r<5;){if(n.matches(L_e))return Zp(n).trim();if(n.matches(".heading-wrapper")){let i=n.querySelector(L_e);if(i)return Zp(i).trim()}n=n.previousElementSibling,r++}return Xie.replace("{index}",(t+1).toString())})()}function M_e(e){Array.from(e.querySelectorAll(".content table")).forEach(o=>{let n=Array.from(o.querySelectorAll("thead tr > th")),r=o.querySelector("tbody");if(!r)return;let i=Array.from(r.children);if(dUe(n,i)){for(let s of i){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=T.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 dUe(e,t){if(!(e.length&&e[0].firstElementChild===null&&e[0].textContent===""))return!1;for(let n of t){let i=n.firstElementChild,s=i.firstElementChild,a=i.lastElementChild;if(i.nodeName!=="TD"||!s||!(i.querySelector(".sxs-lookup")?pUe(s):s===a&&i.textContent.trim()===s.textContent.trim()&&s.nodeName==="STRONG"))return!1}return!0}function pUe(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 mUe(e){let t=T.createElement("div");if(t.classList.add("buttons","buttons-right","margin-bottom-none","margin-top-sm"),e.previousElementSibling&&e.previousElementSibling.classList.contains("heading-wrapper")){let c=e.previousElementSibling.querySelector("[data-moniker]");if(c){let u=c.getAttribute("data-moniker");u&&t.setAttribute("data-moniker",u)}}let o=d` `,n=d` `,r=c=>d` `,i,s,a;function l(){if(!i||!s){i=T.createElement("div"),a=e.cloneNode(!0);let c=r(a);w(c,i),s=new _e(i),a&&Ot(U,"resize",R_e(()=>dR([a])),{passive:!0})}s.show(),dR([a])}return w(o,t),t}function R3(e=!1,t){let o=Array.from((t??T).querySelectorAll(".content table"));if(!o.length)return;let n=o.map((i,s)=>{if(s<50&&!i.matches("[aria-label], [aria-labelledby]")&&!i.querySelector("caption")){let l=uUe(i,s);i.setAttribute("aria-label",l)}i.classList.add("table"),(b.data.pageTemplate==="Conceptual"||b.data.pageTemplate==="Reference")&&i.classList.add("table-sm","margin-top-none"),i.classList.length!==1&&cUe(i);let a;if(i.classList.contains("nameValue"))return null;if(i.parentElement.classList.contains("table-wrapper"))a=i.parentElement;else if(a=T.createElement("div"),a.classList.add("table-wrapper","inner-focus"),a.tabIndex=0,a.setAttribute("role","group"),a.setAttribute("aria-label",Z1),i.parentElement.insertBefore(a,i),a.appendChild(i),!e){let l=mUe(a);a.parentElement&&a.parentElement.insertBefore(l,a)}return a}).filter(i=>i!==null),r=R_e(()=>dR(n));Ot(U,"resize",r,{passive:!0}),Ot(U,"content-update",r,{passive:!0}),dR(n)}function gUe(e){return Array.from(e.querySelectorAll('iframe[src^="https://www.microsoft.com"][src*="/videoplayer/"]'))}function fUe(e,t,o){let n=t.split("/").pop(),r=new URL(`http://approjects.co.za/?big=${e}/videoplayer/embed/${n}`);return o&&r.searchParams.set("postJsllMsg","true"),e!=="en-us"&&r.searchParams.set("autoCaptions",e),r.href}function hUe(e,t=window){t.addEventListener("message",o=>{if(o.origin!=="https://www.microsoft.com"||typeof o.data!="string")return;let n;try{n=JSON.parse(o.data)}catch{}!n||typeof n.eventName!="string"||n.eventName.toLowerCase()!=="postjsllmessage"||e(n.data)})}function $_e(){let t=gUe(document.body);for(let o of t){let n=fUe(b.data.userLocale,o.src,!0);o.src!==n&&(o.src=n),o.title=o.title||Bf}t.length&&hUe(we)}function $3(){bUe(),yUe(),_Ue(document.body),I_e(),M_e(document.body),$_e(),P_e(document.body,ee),z_e(document.body)}function bUe(){let e={TIP:{class:"is-success",docon:"lightbulb",title:cae},NOTE:{class:"is-info",docon:"status-error-outline",title:AX},IMPORTANT:{class:"is-primary",docon:"status-info-outline",title:TJ},WARNING:{class:"is-warning",docon:"status-warning-outline",title:Rae},CAUTION:{class:"is-danger",docon:"status-failure-outline",title:kV}};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 r=o.firstElementChild;!r||!(r instanceof HTMLParagraphElement)||(r.classList.add("alert-title"),r.textContent=e[n].title,r.insertAdjacentHTML("afterbegin",` `))})}function yUe(){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 _Ue(e){Array.from(e.querySelectorAll(".break-text > .xref")).forEach(o=>{if(o.firstElementChild!==null)return;let r=o.parentElement.classList.contains("dots-only")?2:3,i=Pn(o.textContent.replace(//g,">"),r);o.innerHTML=i})}function D_e(){document.querySelectorAll("button[data-copy-markdown]").forEach(e=>{e.addEventListener("click",()=>wUe(e))})}async function wUe(e){if(e.dataset.copyState!=="idle")return;mk(e,"loading");let t=new URL(ee.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 XH(n,e)?(mk(e,"success"),ht(NC,"assertive",1e3),setTimeout(()=>mk(e,"idle"),1e3)):mk(e,"idle")}catch{mk(e,"idle")}}function mk(e,t){e.dataset.copyState=t,e.querySelectorAll("[data-show-when]").forEach(o=>{o.hidden=o.dataset.showWhen!==t})}function N_e(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&(o.classList.contains("notification")||o.classList.contains("banner")||pR(o))},{passive:!0})}async function pR(e){e.getAttribute("data-dismissable")==="disappearing"&&(e.classList.add("disappearing"),await new Promise(t=>setTimeout(t,500))),e.classList.remove("disappearing"),e.remove(),zt()}function j_e(e){e.addEventListener("click",t=>{if(!(t.target instanceof Element))return;let o=null;if(o=t.target.closest(".dropdown-trigger"),o||(o=t.target.shadowRoot?.activeElement?.closest(".dropdown-trigger")),!o)return;t.preventDefault();let n=o.parentElement,r=o.getAttribute("aria-expanded")!=="true";o.setAttribute("aria-expanded",r.toString());let i;if(r&&n){n.classList.contains("has-centered-menu")||vUe(n);let s=u=>{u.target instanceof Element&&(!n.contains(u.target)||u.type==="click"&&u.target.closest(".dropdown-menu-close"))&&(i(),u.target.classList.contains("dropdown-menu-close")&&o&&o.focus())},a=u=>{if(u instanceof KeyboardEvent&&u.keyCode===ze.escape){u.stopImmediatePropagation();let m=Array.from(T.querySelectorAll('.dropdown-trigger[aria-expanded="true"]')).pop();m&&(m.setAttribute("aria-expanded","false"),m.focus())}},l=async()=>{T.activeElement?.nodeName?.toLowerCase()==="iframe"&&i()};i=()=>{e.removeEventListener("focus",s),e.removeEventListener("click",s),e.removeEventListener("touchstart",s),e.removeEventListener("keydown",a),U.removeEventListener("blur",l),o&&o.setAttribute("aria-expanded","false")},e.addEventListener("focus",s,!0),e.addEventListener("click",s),e.addEventListener("touchstart",s),e.addEventListener("keydown",a),e.addEventListener("collapse-dropdown",u=>{u.stopPropagation(),i()}),U.addEventListener("blur",l)}})}function D3(e){e.dispatchEvent(new CustomEvent("collapse-dropdown",{bubbles:!0}))}function vUe(e){let t=f=>U.getComputedStyle(f).overflowX,o=e.parentElement;for(;o&&o.nodeName!=="BODY"&&t(o)!=="hidden";)o=o.parentElement;if(o===null)return;let n=e.querySelector(".dropdown-trigger"),r=e.querySelector(".dropdown-menu"),i=e.closest(".dropdown-menu")!==null,s=r.classList.contains("is-vertically-scrollable");r.style.left="",r.style.right="",r.style.maxHeight="";let{left:a,right:l}=o.getBoundingClientRect(),{left:c,right:u,top:p,bottom:m}=n.getBoundingClientRect(),g=r.getBoundingClientRect().width;i?(r.style.top="-1px",b.data.userDir==="ltr"?u+g<=l?(r.style.right="0",r.style.transform="translateX(100%)"):(r.style.left="0",r.style.transform="translateX(-100%)"):u-g>=a?(r.style.left="0",r.style.transform="translateX(-100%)"):(r.style.right="0",r.style.transform="translateX(100%)"),s&&(r.style.maxHeight=`${U.innerHeight-p-8}px`)):(b.data.userDir==="ltr"?c+g<=l?r.style.left="0":r.style.right="0":u-g>=a?r.style.right="0":r.style.left="0",s&&(r.style.maxHeight=`${U.innerHeight-m-8}px`))}Ge();var F_e=ID(O3(),1);var hu=class extends Error{constructor(o,n,r){super(o,{cause:r.cause});Xt(this,"name");Xt(this,"status");Xt(this,"request");Xt(this,"response");this.name="HttpError",this.status=Number.parseInt(n),Number.isNaN(this.status)&&(this.status=0);"response"in r&&(this.response=r.response);let i=Object.assign({},r.request);r.request.headers.authorization&&(i.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/(?=400&&!e.doNotRetry.includes(o.status)){let r=n.request.retries!=null?n.request.retries:e.retries,i=Math.pow((n.request.retryCount||0)+1,2);throw t.retry.retryRequest(o,r,i)}throw o}async function TUe(e,t,o,n){let r=new F_e.default;return r.on("failed",function(i,s){let a=~~i.request.request.retries,l=~~i.request.request.retryAfter;if(n.request.retryCount=s.retryCount+1,a>s.retryCount)return l*e.retryAfterBaseValue}),r.schedule(kUe.bind(null,e,t,o),n)}async function kUe(e,t,o,n){let r=await o(o,n);if(r.data&&r.data.errors&&r.data.errors.length>0&&/Something went wrong while executing your query/.test(r.data.errors[0].message)){let i=new hu(r.data.errors[0].message,500,{request:n,response:r});return O_e(e,t,i,n)}return r}function F3(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",O_e.bind(null,o,e)),e.hook.wrap("request",TUe.bind(null,o,e))),{retry:{retryRequest:(n,r,i)=>(n.request.request=Object.assign({},n.request.request,{retries:r,retryAfter:i}),n)}}}F3.VERSION=xUe;var q_e=ID(O3(),1),SUe="0.0.0-development",U3=()=>Promise.resolve();function CUe(e,t,o){return e.retryLimiter.schedule(EUe,e,t,o)}async function EUe(e,t,o){let{pathname:n}=new URL(o.url,"http://github.test"),r=AUe(o.method,n),i=!r&&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),(i||a)&&await e.write.key(e.id).schedule(c,U3),i&&e.triggersNotification(n)&&await e.notifications.key(e.id).schedule(c,U3),s&&await e.search.key(e.id).schedule(c,U3);let u=(r?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 AUe(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 zUe=["/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 PUe(e){let o=`^(?:${e.map(n=>n.split("/").map(r=>r.startsWith("{")?"(?:.+?)":r).join("/")).map(n=>`(?:${n})`).join("|")})[^/]*$`;return new RegExp(o,"i")}var U_e=PUe(zUe),H_e=U_e.test.bind(U_e),qg={},IUe=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 mR(e,t){let{enabled:o=!0,Bottleneck:n=q_e.default,id:r="no-id",timeout:i=1e3*60*2,connection:s}=t.throttle||{};if(!o)return{};let a={timeout:i};typeof s<"u"&&(a.connection=s),qg.global==null&&IUe(n,a);let l=Object.assign({clustering:s!=null,triggersNotification:H_e,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new n,id:r,...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,y]=m.args,{pathname:h}=new URL(y.url,"http://github.test");if(!(h.startsWith("/graphql")&&p.status!==401||p.status===403||p.status===429))return;let _=~~f.retryCount;f.retryCount=_,y.request.retryCount=_;let{wantRetry:x,retryAfter:z=0}=await async function(){if(/\bsecondary rate\b/i.test(p.message)){let C=Number(p.response.headers["retry-after"])||g.fallbackSecondaryRateRetryAfter;return{wantRetry:await u.trigger("secondary-limit",C,y,e,_),retryAfter:C}}if(p.response.headers!=null&&p.response.headers["x-ratelimit-remaining"]==="0"||(p.response.data?.errors??[]).some(C=>C.type==="RATE_LIMITED")){let C=new Date(~~p.response.headers["x-ratelimit-reset"]*1e3).getTime(),H=Math.max(Math.ceil((C-Date.now())/1e3)+1,0);return{wantRetry:await u.trigger("rate-limit",H,y,e,_),retryAfter:H}}return{}}();if(x)return f.retryCount++,z*g.retryAfterBaseValue}),e.hook.wrap("request",CUe.bind(null,l)),{}}mR.VERSION=SUe;mR.triggersNotification=H_e;function dp(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}function gR(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((r,i)=>gR.bind(null,e,i,r,n),o)():Promise.resolve().then(()=>e.registry[t]?e.registry[t].reduce((r,i)=>i.hook.bind(null,r,n),o)():o(n))}function B_e(e,t,o,n){let r=n;e.registry[o]||(e.registry[o]=[]),t==="before"&&(n=(i,s)=>Promise.resolve().then(r.bind(null,s)).then(i.bind(null,s))),t==="after"&&(n=(i,s)=>{let a;return Promise.resolve().then(i.bind(null,s)).then(l=>(a=l,r(a,s))).then(()=>a)}),t==="error"&&(n=(i,s)=>Promise.resolve().then(i.bind(null,s)).catch(a=>r(a,s))),e.registry[o].push({hook:n,orig:r})}function G_e(e,t,o){if(!e.registry[t])return;let n=e.registry[t].map(r=>r.orig).indexOf(o);n!==-1&&e.registry[t].splice(n,1)}var V_e=Function.bind,W_e=V_e.bind(V_e);function Q_e(e,t,o){let n=W_e(G_e,null).apply(null,o?[t,o]:[t]);e.api={remove:n},e.remove=n,["before","error","after","wrap"].forEach(r=>{let i=o?[t,r,o]:[t,r];e[r]=e.api[r]=W_e(B_e,null).apply(null,i)})}function LUe(){let e=Symbol("Singular"),t={registry:{}},o=gR.bind(null,t,e);return Q_e(o,t,e),o}function RUe(){let e={registry:{}},t=gR.bind(null,e);return Q_e(t,e),t}var Y_e={Singular:LUe,Collection:RUe};var MUe="0.0.0-development",$Ue=`octokit-endpoint.js/${MUe} ${dp()}`,DUe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":$Ue},mediaType:{format:""}};function NUe(e){return e?Object.keys(e).reduce((t,o)=>(t[o.toLowerCase()]=e[o],t),{}):{}}function jUe(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 J_e(e,t){let o=Object.assign({},e);return Object.keys(t).forEach(n=>{jUe(t[n])?n in e?o[n]=J_e(e[n],t[n]):Object.assign(o,{[n]:t[n]}):Object.assign(o,{[n]:t[n]})}),o}function K_e(e){for(let t in e)e[t]===void 0&&delete e[t];return e}function H3(e,t,o){if(typeof t=="string"){let[r,i]=t.split(" ");o=Object.assign(i?{method:r,url:i}:{url:r},o)}else o=Object.assign({},t);o.headers=NUe(o.headers),K_e(o),K_e(o.headers);let n=J_e(e||{},o);return o.url==="/graphql"&&(e&&e.mediaType.previews?.length&&(n.mediaType.previews=e.mediaType.previews.filter(r=>!n.mediaType.previews.includes(r)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(r=>r.replace(/-preview/,""))),n}function OUe(e,t){let o=/\?/.test(e)?"&":"?",n=Object.keys(t);return n.length===0?e:e+o+n.map(r=>r==="q"?"q="+t.q.split("+").map(encodeURIComponent).join("+"):`${r}=${encodeURIComponent(t[r])}`).join("&")}var FUe=/\{[^{}}]+\}/g;function UUe(e){return e.replace(/(?:^\W+)|(?:(?o.concat(n),[]):[]}function Z_e(e,t){let o={__proto__:null};for(let n of Object.keys(e))t.indexOf(n)===-1&&(o[n]=e[n]);return o}function X_e(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t).replace(/%5B/g,"[").replace(/%5D/g,"]")),t}).join("")}function f_(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function gk(e,t,o){return t=e==="+"||e==="#"?X_e(t):f_(t),o?f_(o)+"="+t:t}function g_(e){return e!=null}function q3(e){return e===";"||e==="&"||e==="?"}function HUe(e,t,o,n){var r=e[o],i=[];if(g_(r)&&r!=="")if(typeof r=="string"||typeof r=="number"||typeof r=="bigint"||typeof r=="boolean")r=r.toString(),n&&n!=="*"&&(r=r.substring(0,parseInt(n,10))),i.push(gk(t,r,q3(t)?o:""));else if(n==="*")Array.isArray(r)?r.filter(g_).forEach(function(s){i.push(gk(t,s,q3(t)?o:""))}):Object.keys(r).forEach(function(s){g_(r[s])&&i.push(gk(t,r[s],s))});else{let s=[];Array.isArray(r)?r.filter(g_).forEach(function(a){s.push(gk(t,a))}):Object.keys(r).forEach(function(a){g_(r[a])&&(s.push(f_(a)),s.push(gk(t,r[a].toString())))}),q3(t)?i.push(f_(o)+"="+s.join(",")):s.length!==0&&i.push(s.join(","))}else t===";"?g_(r)&&i.push(f_(o)):r===""&&(t==="&"||t==="?")?i.push(f_(o)+"="):r===""&&i.push("");return i}function BUe(e){return{expand:GUe.bind(null,e)}}function GUe(e,t){var o=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,r,i){if(r){let a="",l=[];if(o.indexOf(r.charAt(0))!==-1&&(a=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(c){var u=/([^:\*]*)(?::(\d+)|(\*))?/.exec(c);l.push(HUe(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 X_e(i)}),e==="/"?e:e.replace(/\/$/,"")}function ewe(e){let t=e.method.toUpperCase(),o=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},e.headers),r,i=Z_e(e,["method","baseUrl","url","headers","request","mediaType"]),s=qUe(o);o=BUe(o).expand(i),/^http/.test(o)||(o=e.baseUrl+o);let a=Object.keys(e).filter(u=>s.includes(u)).concat("baseUrl"),l=Z_e(i,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=OUe(o,l):"data"in l?r=l.data:Object.keys(l).length&&(r=l),!n["content-type"]&&typeof r<"u"&&(n["content-type"]="applicationhttps://www.microsoft.com/json; charset=utf-8"),["PATCH","PUT"].includes(t)&&typeof r>"u"&&(r=""),Object.assign({method:t,url:o,headers:n},typeof r<"u"?{body:r}:null,e.request?{request:e.request}:null)}function VUe(e,t,o){return ewe(H3(e,t,o))}function twe(e,t){let o=H3(e,t),n=VUe.bind(null,o);return Object.assign(n,{DEFAULTS:o,defaults:twe.bind(null,o),merge:H3.bind(null,o),parse:ewe})}var owe=twe(null,DUe);var ywe=ID(cwe(),1);var oqe=/^-?\d+$/,pwe=/^-?\d+n+$/,W3=JSON.stringify,uwe=JSON.parse,nqe=/^-?\d+n$/,rqe=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,iqe=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,mwe=(e,t,o)=>"rawJSON"in JSON?W3(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?W3(e,(s,a)=>typeof a=="string"&&pwe.test(a)||typeof a=="bigint"?a.toString()+"n":typeof t=="function"?t(s,a):(Array.isArray(t)&&t.includes(s),a),o).replace(rqe,"$1$2$3").replace(iqe,"$1$2$3"):W3(e,t,o),hR=new Map,sqe=()=>{let e=JSON.parse.toString();if(hR.has(e))return hR.get(e);try{let t=JSON.parse("1",(o,n,r)=>!!r?.source&&r.source==="1");return hR.set(e,t),t}catch{return hR.set(e,!1),!1}},aqe=(e,t,o,n)=>typeof t=="string"&&nqe.test(t)?BigInt(t.slice(0,-1)):typeof t=="string"&&pwe.test(t)?t.slice(0,-1):typeof n!="function"?t:n(e,t,o),lqe=(e,t)=>JSON.parse(e,(o,n,r)=>{let i=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n{if(!e)return uwe(e,t);if(sqe())return lqe(e,t);let o=e.replace(cqe,(n,r,i,s)=>{let a=n[0]==='"';if(a&&uqe.test(n))return n.substring(0,n.length-1)+'n"';let c=i||s,u=r&&(r.lengthaqe(n,r,i,t))};var dqe="10.0.9",pqe={headers:{"user-agent":`octokit-request.js/${dqe} ${dp()}`}};function mqe(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let 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 hwe=()=>"";async function bwe(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,r=mqe(e.body)||Array.isArray(e.body)?mwe(e.body):e.body,i=Object.fromEntries(Object.entries(e.headers).map(([p,m])=>[p,String(m)])),s;try{s=await t(e.url,{method:e.method,body:r,redirect:e.request?.redirect,headers:i,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(p){let m="Unknown Error";if(p instanceof Error){if(p.name==="AbortError")throw p.status=500,p;m=p.message,p.name==="TypeError"&&"cause"in p&&(p.cause instanceof Error?m=p.cause.message:typeof p.cause=="string"&&(m=p.cause))}let g=new hu(m,500,{request:e});throw g.cause=p,g}let a=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 hu(s.statusText,a,{response:u,request:e})}if(a===304)throw u.data=await Q3(s),new hu("Not modified",a,{response:u,request:e});if(a>=400)throw u.data=await Q3(s),new hu(fqe(u.data),a,{response:u,request:e});return u.data=n?await Q3(s):s.body,u}async function Q3(e){let t=e.headers.get("content-type");if(!t)return e.text().catch(hwe);let o=(0,ywe.parse)(t);if(gqe(o)){let n="";try{return n=await e.text(),fwe(n)}catch{return n}}else return o.type.startsWith("text/")||o.parameters.charset?.toLowerCase()==="utf-8"?e.text().catch(hwe):e.arrayBuffer().catch(()=>new ArrayBuffer(0))}function gqe(e){return e.type==="applicationhttps://www.microsoft.com/json"||e.type==="application/scim+json"}function fqe(e){if(typeof e=="string")return e;if(e instanceof ArrayBuffer)return"Unknown error";if("message"in e){let t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map(o=>JSON.stringify(o)).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function Y3(e,t){let o=e.defaults(t);return Object.assign(function(r,i){let s=o.merge(r,i);if(!s.request||!s.request.hook)return bwe(o.parse(s));let a=(l,c)=>bwe(o.parse(o.merge(l,c)));return Object.assign(a,{endpoint:o,defaults:Y3.bind(null,o)}),s.request.hook(a,s)},{endpoint:o,defaults:Y3.bind(null,o)})}var fk=Y3(owe,pqe);var hqe="0.0.0-development";function bqe(e){return`Request failed due to following response errors: `+e.errors.map(t=>` - ${t.message}`).join(` `)}var yqe=class extends Error{constructor(t,o,n){super(bqe(n));Xt(this,"name","GraphqlResponseError");Xt(this,"errors");Xt(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)}},_qe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],wqe=["query","method","url"],_we=/\/api\/v3\/?$/;function vqe(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(wqe.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,r=Object.keys(n).reduce((s,a)=>_qe.includes(a)?(s[a]=n[a],s):(s.variables||(s.variables={}),s.variables[a]=n[a],s),{}),i=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;return _we.test(i)&&(r.url=i.replace(_we,"/api/graphql")),e(r).then(s=>{if(s.data.errors){let a={};for(let l of Object.keys(s.headers))a[l]=s.headers[l];throw new yqe(r,a,s.data)}return s.data.data})}function K3(e,t){let o=e.defaults(t);return Object.assign((r,i)=>vqe(o,r,i),{defaults:K3.bind(null,o),endpoint:o.endpoint})}var iNt=K3(fk,{headers:{"user-agent":`octokit-graphql.js/${hqe} ${dp()}`},method:"POST",url:"/graphql"});function wwe(e){return K3(e,{method:"POST",url:"/graphql"})}var Z3="(?:[a-zA-Z0-9_-]+)",vwe="\\.",xwe=new RegExp(`^${Z3}${vwe}${Z3}${vwe}${Z3}$`),xqe=xwe.test.bind(xwe);async function Tqe(e){let t=xqe(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 kqe(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function Sqe(e,t,o,n){let r=t.endpoint.merge(o,n);return r.headers.authorization=kqe(e),t(r)}var Twe=function(t){if(!t)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof t!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return t=t.replace(/^(token|bearer) +/i,""),Object.assign(Tqe.bind(null,t),{hook:Sqe.bind(null,t)})};var J3="7.0.6";var kwe=()=>{},Cqe=console.warn.bind(console),Eqe=console.error.bind(console);function Aqe(e={}){return typeof e.debug!="function"&&(e.debug=kwe),typeof e.info!="function"&&(e.info=kwe),typeof e.warn!="function"&&(e.warn=Cqe),typeof e.error!="function"&&(e.error=Eqe),e}var Swe=`octokit-core.js/${J3} ${dp()}`,h_=class{constructor(t={}){Xt(this,"request");Xt(this,"graphql");Xt(this,"log");Xt(this,"hook");Xt(this,"auth");let o=new Y_e.Collection,n={baseUrl:fk.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} ${Swe}`:Swe,t.baseUrl&&(n.baseUrl=t.baseUrl),t.previews&&(n.mediaType.previews=t.previews),t.timeZone&&(n.headers["time-zone"]=t.timeZone),this.request=fk.defaults(n),this.graphql=wwe(this.request).defaults(n),this.log=Aqe(t.log),this.hook=o,t.authStrategy){let{authStrategy:i,...s}=t,a=i(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 i=Twe(t.auth);o.wrap("request",i.hook),this.auth=i}let r=this.constructor;for(let i=0;i!o.includes(i)))),r}};Xt(h_,"VERSION",J3),Xt(h_,"plugins",[]);var Cwe="6.0.0";function X3(e){e.hook.wrap("request",(t,o)=>{e.log.debug("request",o);let n=Date.now(),r=e.request.endpoint.parse(o),i=r.url.replace(o.baseUrl,"");return t(o).then(s=>{let a=s.headers["x-github-request-id"];return e.log.info(`${r.method} ${i} - ${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(`${r.method} ${i} - ${s.status} with id ${a} in ${Date.now()-n}ms`),s})})}X3.VERSION=Cwe;var zqe="0.0.0-development";function Pqe(e){if(!e.data)return{...e,data:[]};if(!(("total_count"in e.data||"total_commits"in e.data)&&!("url"in e.data)))return e;let o=e.data.incomplete_results,n=e.data.repository_selection,r=e.data.total_count,i=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=r,e.data.total_commits=i,e}function e4(e,t,o){let n=typeof t=="function"?t.endpoint(o):e.request.endpoint(t,o),r=typeof t=="function"?t:e.request,i=n.method,s=n.headers,a=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let l=await r({method:i,url:a,headers:s}),c=Pqe(l);if(a=((c.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!a&&"total_commits"in c.data){let u=new URL(c.url),p=u.searchParams,m=parseInt(p.get("page")||"1",10),g=parseInt(p.get("per_page")||"250",10);m*g{if(r.done)return t;let i=!1;function s(){i=!0}return t=t.concat(n?n(r.value,s):r.value.data),i?t:Awe(e,t,o,n)})}var kNt=Object.assign(Ewe,{iterator:e4});function t4(e){return{paginate:Object.assign(Ewe.bind(null,e),{iterator:e4.bind(null,e)})}}t4.VERSION=zqe;var o4="16.1.1";var Iqe={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"]}},zwe=Iqe;var Hg=new Map;for(let[e,t]of Object.entries(zwe))for(let[o,n]of Object.entries(t)){let[r,i,s]=n,[a,l]=r.split(/ /),c=Object.assign({method:a,url:l},i);Hg.has(e)||Hg.set(e,new Map),Hg.get(e).set(o,{scope:e,methodName:o,endpointDefaults:c,decorations:s})}var Lqe={has({scope:e},t){return Hg.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:!0,writable:!0,enumerable:!0}},defineProperty(e,t,o){return Object.defineProperty(e.cache,t,o),!0},deleteProperty(e,t){return delete e.cache[t],!0},ownKeys({scope:e}){return[...Hg.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 r=Hg.get(t).get(n);if(!r)return;let{endpointDefaults:i,decorations:s}=r;return s?o[n]=Rqe(e,t,n,i,s):o[n]=e.request.defaults(i),o[n]}};function n4(e){let t={};for(let o of Hg.keys())t[o]=new Proxy({octokit:e,scope:o,cache:{}},Lqe);return t}function Rqe(e,t,o,n,r){let i=e.request.defaults(n);function s(...a){let l=i.endpoint.merge(...a);if(r.mapToData)return l=Object.assign({},l,{data:l[r.mapToData],[r.mapToData]:void 0}),i(l);if(r.renamed){let[c,u]=r.renamed;e.log.warn(`octokit.${t}.${o}() has been renamed to octokit.${c}.${u}()`)}if(r.deprecated&&e.log.warn(r.deprecated),r.renamedParameters){let c=i.endpoint.merge(...a);for(let[u,p]of Object.entries(r.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 i(c)}return i(...a)}return Object.assign(s,i)}function Mqe(e){return{rest:n4(e)}}Mqe.VERSION=o4;function r4(e){let t=n4(e);return{...t,rest:t}}r4.VERSION=o4;var Pwe="22.0.0";var Iwe=h_.plugin(X3,r4,t4).defaults({userAgent:`octokit-rest.js/${Pwe}`});var bu=function(){if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global;if(typeof self<"u")return self;if(typeof window<"u")return window;try{return new Function("return this")()}catch{return{}}}();bu.trustedTypes===void 0&&(bu.trustedTypes={createPolicy:(e,t)=>t});var Lwe={configurable:!1,enumerable:!1,writable:!1};bu.FAST===void 0&&Reflect.defineProperty(bu,"FAST",Object.assign({value:Object.create(null)},Lwe));var Bg=bu.FAST;if(Bg.getById===void 0){let e=Object.create(null);Reflect.defineProperty(Bg,"getById",Object.assign({value(t,o){let n=e[t];return n===void 0&&(n=o?e[t]=o():null),n}},Lwe))}var bR=Object.freeze([]);function yR(){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 i4=bu.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 r(){let a=0;for(;a1024){for(let l=0,c=e.length-a;le}),s4=Rwe,hk=`fast-${Math.random().toString(36).substring(2,8)}`,a4=`${hk}{`,_R=`}${hk}`,At=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(s4!==Rwe)throw new Error("The HTML policy can only be set once.");s4=e},createHTML(e){return s4.createHTML(e)},isMarker(e){return e&&e.nodeType===8&&e.data.startsWith(hk)},extractDirectiveIndexFromMarker(e){return parseInt(e.data.replace(`${hk}:`,""))},createInterpolationPlaceholder(e){return`${a4}${e}${_R}`},createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder(e){return``},queueUpdate:i4.enqueue,processUpdates:i4.process,nextUpdate(){return new Promise(i4.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 pp=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 r=this.sub1,i=this.sub2;r!==void 0&&r.handleChange(n,t),i!==void 0&&i.handleChange(n,t)}else for(let r=0,i=o.length;r{let e=/(:|&&|\|\||if)/,t=new WeakMap,o=At.queueUpdate,n,r=c=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function i(c){let u=c.$fastController||t.get(c);return u===void 0&&(Array.isArray(c)?u=r(c):t.set(c,u=new b_(c))),u}let s=yR();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),i(u).notify(this.name)}}}class l extends pp{constructor(u,p,m=!1){super(u,p),this.binding=u,this.isVolatileBinding=m,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(u,p){this.needsRefresh&&this.last!==null&&this.disconnect();let m=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=i(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 y;n=void 0,y=m.propertySource[m.propertyName],n=this,u===y&&(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){r=c},getNotifier:i,track(c,u){n!==void 0&&n.watch(c,u)},trackVolatile(){n!==void 0&&(n.needsRefresh=!0)},notify(c,u){i(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){ro.defineProperty(e,t)}var Mwe=Bg.getById(3,()=>{let e=null;return{get(){return e},set(t){e=t}}}),mp=class{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return Mwe.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){Mwe.set(t)}};ro.defineProperty(mp.prototype,"index");ro.defineProperty(mp.prototype,"length");var ns=Object.seal(new mp);var Kl=class{constructor(){this.targetIndex=0}},y_=class extends Kl{constructor(){super(...arguments),this.createPlaceholder=At.createInterpolationPlaceholder}},wR=class extends Kl{constructor(t,o,n){super(),this.name=t,this.behavior=o,this.options=n}createPlaceholder(t){return At.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}};function $qe(e,t){this.source=e,this.context=t,this.bindingObserver===null&&(this.bindingObserver=ro.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function Dqe(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function Nqe(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function jqe(){this.bindingObserver.disconnect(),this.source=null,this.context=null;let e=this.target.$fastView;e!==void 0&&e.isComposed&&(e.unbind(),e.needsBindOnly=!0)}function Oqe(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function Fqe(e){At.setAttribute(this.target,this.targetName,e)}function Uqe(e){At.setBooleanAttribute(this.target,this.targetName,e)}function qqe(e){if(e==null&&(e=""),e.create){this.target.textContent="";let t=this.target.$fastView;t===void 0?t=e.create():this.target.$fastTemplate!==e&&(t.isComposed&&(t.remove(),t.unbind()),t=e.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(this.source,this.context)):(t.isComposed=!0,t.bind(this.source,this.context),t.insertBefore(this.target),this.target.$fastView=t,this.target.$fastTemplate=e)}else{let t=this.target.$fastView;t!==void 0&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),this.target.textContent=e}}function Hqe(e){this.target[this.targetName]=e}function Bqe(e){let t=this.classVersions||Object.create(null),o=this.target,n=this.version||0;if(e!=null&&e.length){let r=e.split(/\s+/);for(let i=0,s=r.length;iAt.createHTML(o(n,r))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=Uqe;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=Dqe,this.unbind=Oqe;break;default:this.cleanedTargetName=t,t==="class"&&(this.updateTarget=Bqe);break}}targetAtContent(){this.updateTarget=qqe,this.unbind=jqe}createBehavior(t){return new l4(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}},l4=class{constructor(t,o,n,r,i,s,a){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=o,this.isBindingVolatile=n,this.bind=r,this.unbind=i,this.updateTarget=s,this.targetName=a}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){mp.setEvent(t);let o=this.binding(this.source,this.context);mp.setEvent(null),o!==!0&&t.preventDefault()}};var c4=null,u4=class e{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){c4=this}static borrow(t){let o=c4||new e;return o.directives=t,o.reset(),c4=null,o}};function Gqe(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)),r=(s,a)=>{let l="";for(let c=0;ca),c.targetName=s.name):c=Gqe(l),c!==null&&(t.removeAttributeNode(s),r--,i--,e.addFactory(c))}}function Wqe(e,t,o){let n=Dwe(e,t.textContent);if(n!==null){let r=t;for(let i=0,s=n.length;i0}let o=this.fragment.cloneNode(!0),n=this.viewBehaviorFactories,r=new Array(this.behaviorCount),i=At.createTemplateWalker(o),s=0,a=this.targetOffset,l=i.nextNode();for(let c=n.length;s=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function K(e,...t){let o=[],n="";for(let r=0,i=e.length-1;rl}if(typeof a=="function"&&(a=new Gg(a)),a instanceof y_){let l=Qqe.exec(s);l!==null&&(a.targetName=l[2])}a instanceof Kl?(n+=a.createPlaceholder(o.length),o.push(a)):n+=a}return n+=e[e.length-1],new vR(n,o)}var Si=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}};Si.create=(()=>{if(At.supportsAdoptedStyleSheets){let e=new Map;return t=>new p4(t,e)}return e=>new m4(e)})();function g4(e){return e.map(t=>t instanceof Si?g4(t.styles):[t]).reduce((t,o)=>t.concat(o),[])}function jwe(e){return e.map(t=>t instanceof Si?t.behaviors:null).reduce((t,o)=>o===null?t:(t===null&&(t=[]),t.concat(o)),null)}var Owe=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},Fwe=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(o=>t.indexOf(o)===-1)};if(At.supportsAdoptedStyleSheets)try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Owe=(e,t)=>{e.adoptedStyleSheets.push(...t)},Fwe=(e,t)=>{for(let o of t){let n=e.adoptedStyleSheets.indexOf(o);n!==-1&&e.adoptedStyleSheets.splice(n,1)}}}catch{}var p4=class extends Si{constructor(t,o){super(),this.styles=t,this.styleSheetCache=o,this._styleSheets=void 0,this.behaviors=jwe(t)}get styleSheets(){if(this._styleSheets===void 0){let t=this.styles,o=this.styleSheetCache;this._styleSheets=g4(t).map(n=>{if(n instanceof CSSStyleSheet)return n;let r=o.get(n);return r===void 0&&(r=new CSSStyleSheet,r.replaceSync(n),o.set(n,r)),r})}return this._styleSheets}addStylesTo(t){Owe(t,this.styleSheets),super.addStylesTo(t)}removeStylesFrom(t){Fwe(t,this.styleSheets),super.removeStylesFrom(t)}},Yqe=0;function Kqe(){return`fast-style-class-${++Yqe}`}var m4=class extends Si{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=jwe(t),this.styleSheets=g4(t),this.styleClass=Kqe()}addStylesTo(t){let o=this.styleSheets,n=this.styleClass;t=this.normalizeTarget(t);for(let r=0;r{n.add(t);let r=t[this.fieldName];switch(o){case"reflect":let i=this.converter;At.setAttribute(t,this.attribute,i!==void 0?i.toView(r):r);break;case"boolean":At.setBooleanAttribute(t,this.attribute,r);break}n.delete(t)})}static collect(t,...o){let n=[];o.push(Uwe.locate(t));for(let r=0,i=o.length;r1&&(o.property=i),Uwe.locate(r.constructor).push(o)}if(arguments.length>1){o={},n(e,t);return}return o=e===void 0?{}:e,n}var qwe={mode:"open"},Hwe={},f4=Bg.getById(4,()=>{let e=new Map;return Object.freeze({register(t){return e.has(t.type)?!1:(e.set(t.type,t),!0)},getByType(t){return e.get(t)}})}),Vg=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=xR.collect(t,o.attributes),r=new Array(n.length),i={},s={};for(let a=0,l=n.length;a0){let i=this.boundObservables=Object.create(null);for(let s=0,a=r.length;s0||o>0;){if(t===0){r.push(y4),o--;continue}if(o===0){r.push(_4),t--;continue}let i=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,r.addedCount+=l.addedCount-c;let u=r.removed.length+l.removed.length-c;if(!r.addedCount&&!u)i=!0;else{let p=l.removed;if(r.indexl.index+l.addedCount){let m=r.removed.slice(l.index+l.addedCount-r.index);Wwe.apply(p,m)}r.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 x4=class extends pp{constructor(t){super(t),this.oldCollection=void 0,this.splices=void 0,this.needsQueue=!0,this.call=this.flush,Reflect.defineProperty(t,"$fastController",{value:this,enumerable:!1})}subscribe(t){this.flush(),super.subscribe(t)}addSplice(t){this.splices===void 0?this.splices=[t]:this.splices.push(t),this.needsQueue&&(this.needsQueue=!1,At.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,At.queueUpdate(this))}flush(){let t=this.splices,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?Kwe(this.source,t):w4(this.source,0,this.source.length,o,0,o.length);this.notify(n)}};function Jwe(){if(Zwe)return;Zwe=!0,ro.setArrayObserverFactory(l=>new x4(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,r=e.shift,i=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(Qs(this.length,[c],0)),c},e.push=function(){let l=o.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(v4(Qs(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=r.apply(this,arguments),u=this.$fastController;return u!==void 0&&l&&u.addSplice(Qs(0,[c],0)),c},e.sort=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let u=i.apply(this,arguments);return c!==void 0&&c.reset(l),u},e.splice=function(){let l=s.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(v4(Qs(+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(v4(Qs(0,[],arguments.length),this)),l}}var T4=class{constructor(t,o){this.target=t,this.propertyName=o}bind(t){t[this.propertyName]=this.target}unbind(){}};function Wg(e){return new wR("fast-ref",T4,e)}var k4=e=>typeof e=="function";var aHe=()=>null;function Xwe(e){return e===void 0?aHe:k4(e)?e:()=>e}function Le(e,t,o){let n=k4(e)?e:()=>e,r=Xwe(t),i=Xwe(o);return(s,a)=>n(s,a)?r(s,a):i(s,a)}var eve=Object.freeze({positioning:!1,recycle:!0});function lHe(e,t,o,n){e.bind(t[o],n)}function cHe(e,t,o,n){let r=Object.create(n);r.index=o,r.length=t.length,e.bind(t[o],r)}var S4=class{constructor(t,o,n,r,i,s){this.location=t,this.itemsBinding=o,this.templateBinding=r,this.options=s,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=lHe,this.itemsBindingObserver=ro.binding(o,this,n),this.templateBindingObserver=ro.binding(r,this,i),s.positioning&&(this.bindView=cHe)}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=bR;return}let o=this.itemsObserver,n=this.itemsObserver=ro.getNotifier(this.items),r=o!==n;r&&o!==null&&o.unsubscribe(this),(r||t)&&n.subscribe(this)}updateViews(t){let o=this.childContext,n=this.views,r=this.bindView,i=this.items,s=this.template,a=this.options.recycle,l=[],c=0,u=0;for(let p=0,m=t.length;p0?(y<=x&&_.length>0?(H=_[y],y++):(H=l[c],c++),u--):H=s.create(),n.splice(h,0,H),r(H,i,h,o),H.insertBefore(C)}_[y]&&l.push(..._.slice(y))}for(let p=c,m=l.length;pt;return new C4(e,n,Object.assign(Object.assign({},eve),o))}var uHe=b4` .modal-background { bottom: 0; left: 0; position: fixed; right: 0; top: 0; z-index: 1040; } .modal-background + div:not(.modal-content) { width: auto; height: auto; } .modal-card { top: 30%; max-width: 650px; z-index: 10001; margin: 0 auto; } .buttons-center { justify-content: center; } `;function tve(e,t,o,n){let r=["default-focus","button","font-weight-semibold","modal-close"],i=typeof t=="function"?t(e):t;i.classes&&r.push("button-filled");let s=new Set([...i.classes??[],...r]);if(i.url)return K` ${i.label} `;let a=i.object?`${i.action} - ${i.object}`:`${i.action}`;return K` `}function dHe({message:e,title:t,confirmButton:o,cancelButton:n,align:r}){let i=s=>({action:Ne,label:Ne,...typeof n=="function"?n(s):n});return K` ${Le(s=>s.visible,K``)} `}var SR=class extends Vwe{constructor(){super(...arguments);this.visible=!1}connectedCallback(){super.connectedCallback()}confirm(){this.visible=!1,this.$emit("confirm"),this.showVerticalScrollbar()}cancel(){this.visible=!1,this.$emit("cancel"),this.showVerticalScrollbar()}close(){this.visible=!1,this.$emit("close"),this.showVerticalScrollbar()}setFocus(){At.queueUpdate(()=>{let o=document.getElementsByClassName("default-focus")[0];o&&o.focus();let n=".modal-close, .modal-card .button",r=document.querySelector(".modal-card");if(!r)return;let i=r.querySelectorAll(n),s=i[0],a=i[i.length-1];document.addEventListener("keydown",l=>{(l.key==="Tab"||l.keyCode===9)&&(l.shiftKey?(document.activeElement===s||i.length===1)&&(a.focus(),l.preventDefault()):(document.activeElement===a||i.length===1)&&(s.focus(),l.preventDefault()))})})}hideVerticalScrollbar(){document.getElementsByTagName("html")[0].style.overflowY="hidden"}showVerticalScrollbar(){document.getElementsByTagName("html")[0].removeAttribute("style")}};F([G],SR.prototype,"visible",2);var CR=class extends SR{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 ove(e,t,o){return CR.define(class extends CR{},{name:e,template:dHe(o),styles:uHe,shadowOptions:null,attributes:t??[]})}var E4=0;function ER(e,t){if(typeof e!="string"){let r=e;e="";for(let i in r)e+=r[i]+"
    "}let o=document.getElementById("error-modal");o&&document.body.removeChild(o),ove(`error-modal-${E4}`,[],{message:K`

    ${e}

    `,title:"",confirmButton:t,align:"center"});let n=document.createElement(`error-modal-${E4}`);n.id="error-modal",document.body.appendChild(n),n.showModal(),E4++}function AR(...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),r=o(n,"branch","themebranch","branchFallbackFrom","pr"),i=r.toString()!==""?"?"+r.toString():"",s=`/${b.data.userLocale}/editor/`+t(e)+i;return new URL(s,n)}function nve(e){e||(e=AR());let t="";return L.supportLevel==="development"&&L.accessLevel==="online"&&location.hostname.startsWith("pr")?t="630f400e5ecc44019564":L.supportLevel==="development"&&L.accessLevel==="online"?t="3e1dd7a2769cc245c17d":t="7f9273caa02d97194b28",`${M.githubOAuth}?client_id=${t}&scope=repo%20read:org%20workflow&redirect_uri=${encodeURIComponent(e.href)}`}var pHe=Iwe.plugin(F3,mR),mHe={onRateLimit:(e,t)=>{if(t.request.retryCount<=3)return!0;throw new Error("Rate limit exceeded. Retries failed. Please try again later.")},onAbuseLimit:(e,t)=>{throw new Error(`Abuse detected for request ${t.method} ${t.url}`)},onSecondaryRateLimit:(e,t)=>{if(t.request.retryCount<=3)return!0;throw new Error("Secondary Rate limit exceeded. Retries failed. Please try again later.")}},gHe={doNotRetry:[429,409,404]};function A4(){let e=localStorage.getItem("gitHubToken");return e?JSON.parse(e):null}var fHe=()=>{localStorage.removeItem("gitHubToken"),location.href=nve()};async function z4(e){let t=new pHe({auth:e,retry:gHe,throttle:mHe});try{return(await t.users.getAuthenticated({headers:{"If-None-Match":""}})).data.login}catch(o){throw ER({message:iG},{label:cG,action:"",object:"",classes:["button-primary renew-github-token"]}),document.addEventListener("confirm",r=>fHe()),hHe({message:o.toString(),function:"getAuthenticatedUser"}),o}}async function rve(){let e={method:"GET"},t=await R(Z(`${M.buildAuthAdmin}/opensource/link/github`,e,!0));return me(t),t.ok?await t.json():null}var zR=`pageInfo { endCursor hasNextPage hasPreviousPage startCursor }`,P4=`items: nodes { ... on PullRequest { id number title base: baseRef { name prefix repository { name nameWithOwner owner { login } } } changedFiles closed closedAt createdAt files(first: 100) { items: nodes { path } ${zR} totalCount } head: headRef { name prefix repository { name nameWithOwner owner { login } } } isDraft merged mergedAt repository { name nameWithOwner owner { login } } state updatedAt url } }`,I4=`rateLimit { cost limit nodeCount remaining resetAt used }`,uOt=`query Drafts ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${P4} ${zR} } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${I4} }`,dOt=`query InReview ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE) { totalCount: issueCount } inReview: search(query: $inReviewQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount, ${P4} ${zR} } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${I4} }`,pOt=`query Closed ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE) { totalCount: issueCount } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${P4} ${zR} } ${I4} }`;function hHe(e){we({actionType:Se.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",...e}})}Ge();Kp();var bHe=/https:\/\/github.com\/(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*\.[a-zA-Z]+)([?])?/;function ive(e,t=bHe){let o="",n="",r="",i="";try{let s=t.exec(e);s&&s.length>1&&(o=s[1]??""),s&&s.length>2&&(n=s[2]??""),s&&s.length>3&&(i=s[4]??""),s&&s.length>4&&(r=s[5]??"")}catch(s){ER(rG),we({actionType:Se.OTHER,behavior:le.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",message:s}})}return{owner:o,repo:n,path:r,branch:i}}async function L4(e){let t=await R(e,{credentials:"include",redirect:"follow"});if(!t.ok)throw new Error(`Unexpected response status ${t.status} for ${e}`);let o=await t.text(),r=new DOMParser().parseFromString(o,"text/html");return{url:new URL(t.url||e,location.origin),document:r}}function PR(e){return Array.from(e?.querySelectorAll("meta")??[]).reduce((t,o)=>{let n=(o.name||o?.getAttribute("property"))??"";return t[n]=o.content,t},{})}var R4={template:"",forkUrl:"",branch:"",path:"",repo:"",owner:"",originalContent:""};function sve(e){let t="",o="",n="",r="",i="",a=PR(e)?.original_content_git_url??"";({branch:r,path:i,repo:n,owner:o}=ive(a)),R4={template:"",forkUrl:"",branch:r,path:i,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")??"")&&(r=l?.getAttribute("data-pr_branch")??""),R4={template:c,forkUrl:t,branch:r,path:m,repo:n,owner:o,originalContent:a}}}return R4}function ave(e,t,o,n){return d` `}function lve(e,t){let o=aG,n=lG,r="",i=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"),r=sG;break;case 3:o=o.replace("{name}",YE),n=n.replace("{name}",YE).replace("{href}","https://learn.microsoft.com/en-us/help/get-started/?tabs=learn"),i=yHe().toString();break}return{title:o,description:n,link:i,moreInfo:r}}function yHe(){let e=PR(document),t=e.platform_id||"",o=e.monikers??"",{owner:n,repo:r,branch:i,path:s}=sve(document);return AR(`${n}/${r}/${encodeURIComponent(s)}/${encodeURIComponent(i)}${t?`/${t}/${o??""}`:""}`)}Ge();var Qg=class e extends Error{constructor(t,o,{errorCode:n,message:r},...i){super(...i),Object.setPrototypeOf(this,e.prototype),this.type=t,this.name=this.constructor.name,this.status=o,this.errorCode=n,this.message=r,this.detail={assessmentId:null,certificationUid:null,snapshotId:null}}};function bk(){let e="false";if(["AppliedSkills","AppliedSkillsAssessment","AppliedSkillsAssessmentReport"].find(t=>t===b.data.pageTemplate))return re()["skip-verification"];if(k.stayCurrentAllowParam||k.practiceAssessmentsAllowParam){let t=re()["skip-verification"];t===void 0||t.length&&t.toLowerCase()==="false"?e="false":e="true"}return e}function yk(){let e="live";if(k.stayCurrentAllowParam||k.practiceAssessmentsAllowParam){let t=re()["snapshot-version"];t!==void 0&&t.toLowerCase()==="live"?e="live":e="preview"}return e}function cve(){let e="false";if(k.stayCurrentAllowParam||k.practiceAssessmentsAllowParam){let t=re()["show-all-questions"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function uve(){let{accommodationRequested:e}=re();if(k.stayCurrentAllowParam){let t=re()["accommodation-requested"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function dve(){let e=!1;if(k.stayCurrentAllowParam||k.practiceAssessmentsAllowParam){let t=re()["omit-scoring"];t!==void 0&&t.toLowerCase()==="true"?e=!0:e=!1}return e}function rs(e,t){return Math.round(Math.max(0,Math.min(1,e/t))*100)}var M4=class{constructor(t,o,n){let i=Th(t,["id","isCorrect","questionnaireId","text","textHTML"]);this.id=i.id,this.createdAtUTC="0001-01-01T00:00:00",this.isCorrect=i.isCorrect,this.locale=n,this.questionId=o,this.questionnaireId=i.questionnaireId,this.text=i.text,this.textHtml=i.textHTML}},_k=class{constructor(t,o,n){this.choices=lA(t.map(r=>new M4(r,o,n)))}},$4=class{constructor(t,o){let r=Th(t,["activityLog","id","choices","choiceCount","questionnaireId","text","type"]),i=["createdAtUTC"],s=Th(r.activityLog,i);this.id=r.id,this.createdAtUTC=s.createdAtUTC,this.choices=new _k(r.choices,r.id,o).choices,this.choiceCount=r.choiceCount,this.locale=o,this.questionnaireId=r.questionnaireId,this.text=r.text,this.type=r.type,r.rationale&&(this.rationale=r.rationale),r.rationaleHTML&&(this.rationaleHtml=r.rationaleHTML),r.textHTML&&(this.textHtml=r.textHTML)}};var D4=class{constructor(t,o){let r=Th(t,["correctChoice","question","userChoice"]),i=new $4(r.question,o);this.correctChoice=new _k(r.correctChoice,i.id,o).choices,this.question=i,this.userChoice=new _k(r.userChoice,i.id,o).choices}},IR=class{constructor(t,o){this.items=lA(t.map(n=>new D4(n,o)))}};var BFt=mt(),GFt=b.data.userLocale;function Ys(e){return JSON.parse(JSON.stringify(e))}function LR(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 xHe(){return[{question:{id:123456,text:"string",textHTML:"string",rationale:"string",rationaleHTML:"string",type:"SingleSelect",choiceCount:1,choices:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345}],activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2022-01-02T00:00:00Z",updatedBy:"gsettles"},assessmentType:"Practice",questionnaireId:345678,isRequired:!0,sequence:2},userChoice:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345}],correctChoice:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345}]}]}var yu={createSession:async e=>LR(e),getSessionAnswerSummary:async()=>xHe(),getSessionResult:async()=>LR(),getPreviousAttemptsByParentId:async()=>[LR()],getRenewalEligibility:async()=>{},submitSession:async()=>LR()};var kUt=mt(),SUt=b.data.userLocale;var w_={getStatus(e){let t=`${M.achievements}/xp/${e}`;return R(Z(t,{mode:"cors"},!0)).then(me).then(n=>{if(n.ok)return n.json();throw new Zt(n)})},getAchievements(e,t){let o={locale:t},n=`${M.achievements}/user/${e}?${se(o,!1)}`;return R(Z(n,{mode:"cors"},!0)).then(me).then(i=>{if(i.ok)return i.json();throw new Zt(i)})},redeemCode(e){let t={mode:"cors",method:"post",credentials:"include"},o=`${M.achievements}/redeem/${e}`,n={branch:L.supportLevel==="production"?"main":void 0},r=`${o}?${se(n,!1)}`,i=Z(r,t,!0);return fetch(i,t).then(me).then(s=>s.json())},requestCode(e,t,o){let n={achievementCategory:e,courseId:t,useCount:o};e===6&&k.learningPathIlt&&(n.courseId=void 0,n.learningPathId=t);let i=`${M.achievements}/code`,s={branch:L.supportLevel==="production"?"main":void 0},a=`${i}?${se(s,!1)}`,l={mode:"cors",body:JSON.stringify(n),method:"put",credentials:"include"};return R(Z(a,l,!0)).then(me).then(c=>c.json())}};Ge();function pve(e){let t=Math.floor(e.videoTimeSeconds),o=e.startTime===e.eventTime||e.startTime===void 0?0:ln(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,n=e.freezeTimeAfterReplay??0,r=e.secondsNormalSpeedAfterReplay??0,i=e.secondsDiffSpeedAfterReplay??0,s=e.reStartTime!==void 0?ln(e.eventTime-e.reStartTime)-n-r+i:e.startTime===e.eventTime||e.startTime===void 0?0:ln(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,a=e.videoData.publicVideo.durationInMillisecond,l=ln(a),c=t>0?Math.floor(t/l*100):0,u=Math.floor(o/l*100);we({behavior:e.behaviorCode,actionType:Se.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 mve(e,t,o,n,r){return e!==0&&t&&(o+=ee?ie?i{n&&setTimeout(()=>{s(`${e} load timeout`)},n);let a=document.createElement("script");a.src=e,r&&a.setAttribute("data-callback","setupEnforcement"),a.async=!0,a.defer=!0,a.onload=i,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 hve="2.3.11.2",WUt=`/static/third-party/azure-media-player/${hve}/azuremediaplayer.min.js`,QUt=`/static/third-party/azure-media-player/${hve}/azuremediaplayer.min.css`;var v_,j4;function THe(){let e=location.href,t="#time=";if(e.includes(t)){let o=e.substring(e.indexOf(t)+t.length);return Ny(o)}return Ny("0s")}function kHe(){if(!location.hash.startsWith("#time="))return;let e=v_.paused(),t=THe();t>0&&t{v_!==void 0&&kHe()});function wk(e){let t=new URL(e,location.origin),o=decodeURIComponent(t.pathname).toLowerCase().replace(jT,"$1").replace(tp,"/"),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 r=t.searchParams.get("id");r&&(t.search="",t.searchParams.set("id",r),o+=t.search)}return o}function bve(e){e.type!=="docs"&&e.type!=="qa"&&e.type!=="url"&&(e.type="docs"),e.type!=="url"&&e.data.url&&(e.data.url=wk(e.data.url))}function wr(e){e.items?.forEach(bve),e.sections?.forEach(t=>t.items?.forEach(bve))}var ut={baseUrl:M.lists,async getAllLists(e=!1){let t=Z(`${this.baseUrl}${e?`?${se({ignoreEmptyLists:!0})}`:""}`,{}),o=await R(t);if(me(o),o.ok){let n=await o.json();return n.forEach(wr),n}throw o.status===401?new Ue(o,"UnauthorizedError"):new Ue(o,"UnexpectedError")},async getAllListsByUrl(e){let t=[];e.forEach(i=>{t.push(wk(i))});let o=JSON.stringify(t),n=Z(`${this.baseUrl}/by-url`,{method:"POST",body:o}),r=await R(n);if(me(r),r.ok)return{hasError:!1,data:await r.json()};throw new Ue(r,"UnexpectedError")},async getList(e){let t={locale:b.data.userLocale,useNewFlow:!0},o=`${this.baseUrl}/${e}?${se(t)}`,n=Z(o,{},!0),r=await R(n);if(me(r),r.ok){let i=await r.json();return wr(i),{hasError:!1,data:i}}throw r.status===401?new Ue(r,"UnauthorizedError"):r.status===404?new Ue(r,"NotFoundError"):r.status===403?new Ue(r,"ForbiddenError"):new Ue(r,"UnexpectedError")},async getStudyGuideList(e,t,o=re().apiBranchParam){let n={locale:b.data.userLocale,branch:L.supportLevel==="production"&&L.reviewFeatures?o:null},r={credentials:L.supportLevel==="production"&&L.reviewFeatures?"include":void 0},i=`${this.baseUrl}/studyguide/${e}/${t}?${se(n)}`,s=Z(i,r,!0),a=await R(s);if(me(a),a.ok){let l=await a.json();return wr(l),l}throw a.status===404?new Ue(a,"NotFoundError"):new Ue(a,"UnexpectedError")},async createList(e){let t=JSON.stringify(e),o=Z(this.baseUrl,{method:"POST",body:t},!0),n=await R(o);if(me(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 Ue(n,"UnauthorizedError"):new Ue(n,"UnexpectedError")},async deleteList(e){let t=Z(this.baseUrl+"/"+e,{method:"DELETE"},!0),o=await R(t);if(me(o),o.ok)return{hasError:!1,data:void 0};throw new Ue(o,"UnexpectedError")},async copyList(e,t,o){let n=JSON.stringify({name:t,description:o}),r=Z(`${this.baseUrl}/copy/${e}`,{method:"POST",body:n},!0),i=await R(r);if(me(i),i.ok){let s=await i.json();return wr(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Ue(i,"UnexpectedError")},async submitForLocalize(e){let o=Z(`${this.baseUrl}/${e}/localize`,{method:"PATCH",body:"true"},!0),n=await R(o);if(me(n),n.ok){let r=await n.json();return wr(r),{hasError:!1,data:r}}if(n.status===400)return{hasError:!0,error:await n.json()};throw new Ue(n,"UnexpectedError")},async convertList(e){let o=Z(`${this.baseUrl}/${e}/official`,{method:"PATCH",body:"true"},!0),n=await R(o);if(me(n),n.ok){let r=await n.json();return wr(r),{hasError:!1,data:r}}if(n.status===400)return{hasError:!0,error:await n.json()};throw new Ue(n,"UnexpectedError")},async toggleListPrivacy(e,t){let o=t.toString(),n=Z(`${this.baseUrl}/${e}/private`,{method:"PATCH",body:o},!0),r=await R(n);if(me(r),r.ok){let i=await r.json();return wr(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Ue(r,"UnexpectedError")},async toggleShowUserDisplayName(e,t){let o=t.toString(),n=Z(`${this.baseUrl}/${e}/showuserdisplayname`,{method:"PATCH",body:o},!0),r=await R(n);if(me(r),r.ok){let i=await r.json();return wr(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Ue(r,"UnexpectedError")},async updateListMetadata(e,t){let o=JSON.stringify({name:t.name,description:t.description}),n={useNewFlow:!0},r=Z(`${this.baseUrl}/${e}?${se(n)}`,{method:"PATCH",body:o},!0),i=await R(r);if(me(i),i.ok){let s=await i.json();return wr(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Ue(i,"UnexpectedError")},async sortList(e,t){let o={locale:b.data.userLocale},n=`${this.baseUrl}/${e}?${se(o)}`,r=JSON.stringify(t),i=Z(n,{method:"PUT",body:r},!0),s=await R(i);if(me(s),s.ok){let a=await s.json();return wr(a),{hasError:!1,data:a}}if(s.status===400)return{hasError:!0,error:await s.json()};throw new Ue(s,"UnexpectedError")},async addItem(e,t){let o=JSON.stringify(t),n=Z(this.baseUrl+"/"+e,{method:"POST",body:o},!0),r=await R(n);if(me(r),r.ok)return{hasError:!1,data:await r.json()};if(r.status===400||r.status===403)return{hasError:!0,error:await r.json()};throw new Ue(r,"UnexpectedError")},async deleteItem(e,t){let o=Z(this.baseUrl+"/"+e+"/"+t,{method:"DELETE"},!0),n=await R(o);if(me(n),!(n.ok||n.status===204))throw new Ue(n,"UnexpectedError")},async updateItem(e,t,o){let n=JSON.stringify(o),r=Z(`${this.baseUrl}/${e}/${t}`,{method:"PUT",body:n},!0),i=await R(r);if(me(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 Ue(i,"UnexpectedError")},async getListsItems(e){let t={uid:e.join(","),locale:b.data.userLocale},o=Z(`${this.baseUrl}/items/?${se(t)}`,{}),n=await R(o);if(me(n),n.ok)return(await n.json()).items;throw new Ue(n,"UnexpectedError")},async createSection(e,t,o,n){let r=JSON.stringify({name:t,description:o,daysToComplete:n}),i=Z(`${this.baseUrl}/${e}/section`,{method:"POST",body:r},!0),s=await R(i);if(me(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw new Ue(s,"UnexpectedError")},async updateSection(e,t,o,n,r){let i=JSON.stringify({name:o,description:n,daysToComplete:r}),s=Z(`${this.baseUrl}/${e}/section/${t}`,{method:"PATCH",body:i},!0),a=await R(s);if(me(a),a.ok)return{hasError:!1,data:await a.json()};if(a.status===400)return{hasError:!0,error:await a.json()};throw new Ue(a,"UnexpectedError")},async deleteSection(e,t){let o=Z(`${this.baseUrl}/${e}/section/${t}`,{method:"DELETE"},!0),n=await R(o);if(me(n),n.ok)return{hasError:!1,data:await n.json()};if(n.status===400)return{hasError:!0,error:await n.json()};throw new Ue(n,"UnexpectedError")},async getActiveTakedowns(e){if(e===null)return!1;let t=Z(`${this.baseUrl}/takedown/active/${e}`,{method:"GET"},!1),o=await R(t);return o.ok?(await o.json()).hasContentTakedowns:!1},async getReportStatus(e){if(e===null)return"None";let t=Z(`${this.baseUrl}/report/status/${e}`,{method:"GET"},!1),o=await R(t);return o.ok?await o.json():"Unknown"}};async function x_(e=U.document,t=!1){let o;if(typeof e=="string")if(!t&&new URL(ot(e,b.data.userLocale),U.location.origin).href===U.location.href)e=U.document,o=new URL(U.location.href);else{let c=await L4(e);o=c.url,e=c.document}else o=new URL(e.URL);let n=W0(e),r=()=>n.page_type==="show"&&n.type?n.type:n.page_kind||"",i=new RegExp(`^/${b.data.userLocale}/answers[$/]`,"i"),s;o.pathname.match(i)?s="qa":s="docs";let a=o.toString(),l=null;return(o.pathname.indexOf("/learn/challenges")!==-1||o.pathname.indexOf("/training/challenges")!==-1)&&(l=cr().id),{type:s,data:{url:wk(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:r(),uid:n.uid||"",challengeId:l,eventUid:n.eventUid||"",durationInMillisecond:j4||null,showId:n.showId||""}}}function yve(e,t){return{type:"url",data:{url:e,rawUrl:"",title:t,docId:"",docVIId:"",platformId:"",pageType:"",pageKind:"",uid:"",challengeId:"",eventUid:"",durationInMillisecond:null,showId:""}}}var tr={async getSkillingPlan(e){let t={locale:b.data.userLocale},o=`${M.lists}/skillingPlan/${e}?${se(t)}`,r=Z(o,{method:"GET"}),i=await R(r);if(me(i),i.ok){let s=await i.json();return await gp(s),s}throw new Error(`${i.status}: ${i.statusText}`)},async completeSkillingPlan(e){let t=`${M.lists}/completeSkillingPlan`,n={method:"POST",body:JSON.stringify(e)},r=await R(Z(t,n));if(me(r),r.ok){let i=await r.json();return await gp(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async createSkillingPlan(e){let t=`${M.lists}/skillingPlan`,n={method:"POST",body:JSON.stringify(e)},r=await R(Z(t,n));if(me(r),r.ok){let i=await r.json();return await gp(i),{hasError:!1,data:i}}if(r.status===400)return{hasError:!0,error:await r.json()};throw new Error(`${r.status}: ${r.statusText}`)},async updateSkillingPlan(e,t){let o=`${M.lists}/skillingPlan/${e}`,r={method:"PUT",body:JSON.stringify(t)},i=await R(Z(o,r));if(me(i),i.ok){let s=await i.json();return await gp(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async modifySkillingPlan(e,t){let o=`${M.lists}/skillingPlan/${e}`,r={method:"PATCH",body:JSON.stringify(t)},i=await R(Z(o,r));if(me(i),i.ok){let s=await i.json();return await gp(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async modifyPlanList(e,t){let o=`${M.lists}/skillingPlan/${e}/list`,r={method:"PATCH",body:JSON.stringify(t)},i=await R(Z(o,r));if(me(i),i.ok){let s=await i.json();return await gp(s),{hasError:!1,data:s}}if(i.status===400)return{hasError:!0,error:await i.json()};throw new Error(`${i.status}: ${i.statusText}`)},async deleteSkillingPlan(e){let t=`${M.lists}/skillingPlan/${e}`,n=await R(Z(t,{method:"DELETE"}));if(me(n),!n.ok)throw new Error(`${n.status}: ${n.statusText}`)},async getJoinedSkillingPlans(e=0,t=12,o){let n=`${M.lists}/skillingPlan/joined/${o}?${se({page:e+1,pageSize:t})}`,r=Z(n,{},!0),i=await R(r);if(me(i),i.ok)return await i.json();throw new Error(`${i.status}:${i.statusText}`)},async getCreatedSkillingPlans(e=0,t=12){let o=t===-1?"":"?"+se({page:e+1,pageSize:t}),n=`${M.lists}/skillingPlan/created${o}`,r=Z(n,{},!0),i=await R(r);if(me(i),i.ok)return await i.json();throw new Error(`${i.status}:${i.statusText}`)},async joinSkillingPlan(e){let o=re(location.search).learnerGroupId,n=`${M.lists}/skillingPlan/${e}/join?${se({registrationType:1,learnerGroupId:o||""})}`,r=Z(n,{method:"POST"},!0,!1),i=await R(r);if(me(i),i.ok){let s=await i.json();return gp(s),{hasError:!1,data:s}}throw new Error(`${i.status}:${i.statusText}`)},async leaveSkillingPlan(e){let t=`${M.lists}/skillingPlan/${e}/leave`,o=Z(t,{method:"POST"},!0,!1),n=await R(o);if(me(n),n.ok){let r=await n.json();return gp(r),{hasError:!1,data:r}}throw new Error(`${n.status}:${n.statusText}`)},async trackClick(e,t){let o=`${M.lists}/skillingPlan/${e}/trackClick/${t}`,n=Z(o,{method:"POST"},!0,!1),r=await R(n);if(me(r),r.ok)return{};throw new Error(`${r.status}:${r.statusText}`)},async getPlanStatistics(e){let t=`${M.lists}/skillingPlan/${e}/statistics`,o=Z(t,{},!0),n=await R(o);if(me(n),n.ok)return await n.json();throw new Error(`${n.status}:${n.statusText}`)},async createLearnerGroup(e,t,o=""){let n=`${M.lists}/skillingPlan/${e}/learnerGroup`,i={method:"POST",body:JSON.stringify({name:t,description:o})},s=await R(Z(n,i));if(me(s),s.ok)return{hasError:!1,data:await s.json()};if(s.status===400)return{hasError:!0,error:await s.json()};throw new Error(`${s.status}:${s.statusText}`)},async updateLearnerGroup(e,t,o,n=""){let r=`${M.lists}/skillingPlan/${e}/learnerGroup/${t}`,s={method:"PATCH",body:JSON.stringify({name:o,description:n})},a=await R(Z(r,s));return me(a),a.ok?{hasError:!1,data:await a.json()}:{hasError:!0,error:await a.json()}},async deleteLearnerGroup(e,t){let o=`${M.lists}/skillingPlan/${e}/learnerGroup/${t}`,r=await R(Z(o,{method:"DELETE"}));return me(r),r.ok?{hasError:!1}:{hasError:!0,error:await r.json()}}};async function gp(e){e.lastModified&&(e.publishedOn=e.lastModified),wr(e.contentList)}function SHe(e){return e.type==="bookmarks"&&(e.name=PC),e}var vk=null;async function wve(e=()=>!0,t=!1){if(!vk)try{vk=(await ut.getAllLists(t)).map(SHe)}catch{vk=null}return vk?.filter(e)??null}async function vve(){return S.isAuthenticated===!1?[]:(await tr.getCreatedSkillingPlans(0,-1)).skillingPlans}function xve(e){return vk=null,ut.createList(e)}async function RR(){let e=Xo()||"",t=await tm(e),o=["MicrosoftEmployee","MicrosoftAgencyTemporary","MicrosoftVendor","MicrosoftIntern"];return t?t.affiliations.some(n=>o.includes(n)):!1}function CHe(e,t=!1){switch(e){case"MicrosoftEmployee":return pG;case"MicrosoftAgencyTemporary":case"MicrosoftVendor":return mG;case"MicrosoftIntern":return gG;case"RegionalDirector":return fG;case"Mvp":return t?jse:dG;case"StudentAmbassador":return t?Ose:hG;default:return""}}function MR(e){let t=e?e[0]:"";return CHe(t)}function O4(e,t){e=decodeURIComponent(e);let o=xi(e,t.target),n=d``,r=d``;if(o){let i=document.createElement("div");w(r,i),new _e(i).show()}}async function Tve(e){if(!L.reviewFeatures)return;let t=Array.from(e.querySelectorAll("[data-contenteditbtn] a, a[data-contenteditbtn]"));for(let o of t){We("edit-in-editor",{require:!0})||(o.hidden=!1);let n=o.dataset.original_content_git_url,r=o.dataset.original_content_git_url_template,i=o.dataset.pr_repo,s=o.dataset.pr_branch;r&&r.length&&i&&i.length&&s&&s.length?o.setAttribute("href",r.replace("{repo}",i).replace("{branch}",s)):n&&n.length&&o.setAttribute("href",n)}AHe(t)}async function EHe(e){let t=document.createElement("div");t.classList.add("modal-content");let o=new _e(t);return w(e,t),o.show()}async function AHe(e){if(!We("edit-in-editor",{require:!0}))return;console.log("edit-in-editor flag running.");let t=await zHe();for(let o of e){let{title:n,description:r,link:i,moreInfo:s}=lve(t,o);o.addEventListener("click",function(a){a.preventDefault(),EHe(ave(n,r,i,s))}),o.hidden=!1}}async function zHe(){if(!S.isAuthenticated||!await RR())return 0;if(!PHe())return 1;let e=A4();return await IHe(e)?3:2}function PHe(){let e=W0(document);return e?.original_content_git_url?e?.original_content_git_url?.endsWith(".md"):!1}async function IHe(e){if(!e)return!1;let t=e?await z4(e.access_token):null,o=await rve();return t&&o&&o.login&&o.login.toLowerCase()===t.toLowerCase()}async function kve(e){let t={method:"POST",body:e,credentials:"same-origin"},o=new Request(M.siteFeedback,t),n=await R(o);if(!n.ok)throw new Error(`Error fetching ${o.url}`);return n}var LHe=["jpeg","jpg","png","gif"],RHe=1024*1024*5;function Sve(e){let t=[];return Array.from(e).forEach(o=>{(o.type.split("/")[0]!=="image"||LHe.indexOf(o.type.split("/")[1])===-1)&&t.push(nse.replace("{fileName}",o.name)),o.size>=RHe&&t.push(rse.replace("{fileName}",o.name))}),t}A();A();var go={"functionality-other":mZ,"learn-content-other":fZ,"feature-request":pZ,"category-general":gZ,"tutorial-content-quality":lZ,"learn-credit-problem":bZ,"sandbox-problem":wZ,"registration-problem":_Z,"problem-with-cloudshell":iZ,"problem-with-install":aZ,"problem-with-dotnet-editor":sZ,"content-mistake":dZ,"content-question":hZ,"translation-quality":vZ,"category-other":yZ},MHe=[{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"]}],$He={type:"reportIssue",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:MHe},DHe=[{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"]}],NHe={type:"tutorialFeedback",source:"Report an issue",orgId:"0842495d64db4f69a49eaab7007ce057",categories:DHe};function Cve(e,t){let o=jHe(t),n=OHe(o);w(n,e)}function jHe(e){return e==="reportIssue"?$He:NHe}function OHe(e){return d`

    ${tZ}

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

    ${a}

    `);w(d`${s}`,o),o.hidden=!1,w(d``,r);return}let i=Array.from(t.files).map(s=>s.name).join(", ");w(d`${i}`,r),w(d``,o),o.hidden=!0},GHe=e=>{e.disabled=!0,e.classList.add("is-loading")},U4=e=>e.hidden=!0,VHe=()=>{let e=document.getElementById("feedback-report-category"),t=q4(e),o=t.value,n=t.parentElement.textContent.trim();return{value:o,text:n}},WHe=e=>{let t=document.getElementById("feedback-report-category"),o=q4(t);if(o===null||!o.dataset.subCategory)return{valueSub:null,textSub:null};let r=Array.from(e[o.dataset.subCategory].querySelectorAll(".radio input")).filter(a=>a.checked)[0],i=r.value,s=r.parentElement.textContent.trim();return{valueSub:i,textSub:s}},QHe=e=>new FormData(e),zve=e=>e.hidden=!1,YHe=(e,t,o,n)=>{e.classList.remove("is-hidden"),n.classList.add("is-hidden"),t.classList.add("is-hidden"),o.classList.add("is-hidden")},Pve=(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(r=>{let i=r.querySelector("input");i.setAttribute("required",""),i.checked=!1});for(let r in t){let i=t[r].closest("div.field"),s=e.querySelector("#feedback-form-info");i.hidden=!0,s.hidden=!0}w(d``,o)},KHe=async(e,t,{successMessage:o})=>{let{value:n,text:r}=VHe(),{valueSub:i,textSub:s}=WHe(t);e.feedbackCategory&&(e.feedbackCategory.value=r),e.category.value=i||n,e.issueType&&(e.issueType.value=s),L.reviewFeatures&&(e.summary.value=`[TEST] ${e.summary.value}`),kve(QHe(e)),zve(o),Pve(e,t)},ZHe=(e,t,o,n,{successMessage:r})=>{e.classList.add("is-hidden"),U4(r),n.classList.remove("is-hidden"),t.classList.remove("is-hidden"),t.disabled=!0,o.classList.remove("is-hidden")};async function H4(e,t,o=!1){let n=document.querySelector(".feedback-report");if((!k.feedbackReport||!n)&&!o)return;Cve(n,e);let r=document.querySelector("#feedback-report-form");if(r===null||F4)return;F4=!0,kg(()=>{F4=!1});let i=r.querySelector("#feedback-report-error-message"),s=r.querySelector("#feedback-report-category"),a={"feedback-report-category-product":r.querySelector("#feedback-report-category-product"),"feedback-report-category-content":r.querySelector("#feedback-report-category-content")},l=r.querySelector("#feedback-report-attachment"),c=r.querySelector("fieldset:nth-of-type(2)"),u=r.querySelector("button[type=submit]"),p=r.querySelector("#feedback-report-success-message"),m=r.querySelector("#feedback-report-feedbackTitle"),g=r.querySelector("#feedback-report-description"),f=r.querySelector("#submit-another-feedback-button"),y=r.querySelector("#clear-form-button"),h=r.querySelector("#feedback-type-selection");r.contentLocale.value=b.data.contentLocale,r.userLocale.value=b.data.userLocale,r.jsllImpressionGuid.value="";let v=ai.get("ai_session");r.aiSessionId.value=v!==void 0?v.split("|")[0]:"";let{uid:_,documentId:x,versionIndependentDocumentId:z,platformId:C,contentPath:H,url:O,author:pe}=re(t);r.uid.value=_,r.documentId.value=x,r.versionIndependentDocumentId.value=z,r.platformId.value=C,r.contentPath.value=H,r.url.value=O,r.author.value=pe;let Ee=()=>{if(!r.checkValidity()){u.disabled=!0;return}Eve(u)};Ot(s,"change",()=>{let bt=q4(s);bt?bt.dispatchEvent(new CustomEvent("selected")):bt=null}),Ot(m,"input",()=>{Ee()}),Ot(g,"input",()=>{Ee()});let ce=Array.from(s.querySelectorAll("input"));Array.from(ce).forEach(bt=>Ot(bt,"selected",()=>UHe(bt,a,r))),Object.keys(a).forEach(bt=>Ot(a[bt],"change",()=>{qHe(r)})),Ot(r,"opened",()=>HHe(c)),Ot(l,"change",BHe),Ot(r,"submit",async bt=>{if(bt.preventDefault(),!u.disabled){GHe(u),U4(i),U4(p);try{await KHe(r,a,{successMessage:p}),YHe(f,u,y,h)}catch{zve(i)}Eve(u)}}),Ot(y,"click",()=>{Pve(r,a)}),Ot(f,"click",()=>{ZHe(f,u,y,h,{successMessage:p})})}A();A();var JHe={"01-yes-content-easy":kZ,"02-yes-problem-solved":EZ,"03-yes-information-easy":zZ,"04-yes-learned-smth-new":AZ,...b.data.userLocale!=="en-us"?{"05-yes-localization":q1}:{},"00-yes-other":ca},XHe={"01-no-content-hard":SZ,"02-no-example-problem":UZ,"03-no-discovery-issue":CZ,"04-no-outdated-content":PZ,...b.data.userLocale!=="en-us"?{"05-no-localization":q1}:{},"00-no-other":ca},Rve={"ask-the-community":uV,"get-product-support":aJ,"get-help-at-qna":sJ};function Mve(){let e=k.usingStandardFeedback||k.openSourceFeedback;return d` `}function Ive(){return!!(b.data.feedbackHelpLinkType&&b.data.feedbackHelpLinkType in Rve&&b.data.feedbackHelpLinkUrl)}function $ve(){return d`

    ${Kse}

    ${Yie}

    `}function B4(e,t,o,n,r){return d` `}function Lve(e,t){let o=[];for(let n in e)o.push(d` `);return o}function Dve(){window.addEventListener("form-validating",e=>{e.detail.errors?.length>=0&&(G4(e.detail.form,e.detail.errors),eBe(e.detail.form,e.detail.errors))}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;T_(t)})}function G4(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 i=Bw,s=o.querySelector('input[type="checkbox"]');Fr(s,i),Nve(t,s,i);let a=`${gn} ${ZZ}`;ht(a,"assertive")}}function eBe(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 i=Ff;Fr(n[0],i),Nve(t,n[0],i);let s=`${gn} ${JZ}`;ht(s,"assertive")}}function Nve(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function T_(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 tBe(e){return e.querySelector("[data-feedback-suggestions]")}function $R(e){let t=tBe(e)?.querySelectorAll(".suggestions-list:not([hidden]) .checkbox > input:checked")??[];return Array.from(t)}var DR=!1;function NR(){let e=location.pathname;return b.data.pageTemplate==="ModuleUnit"?e.substring(0,e.lastIndexOf("/")+1):e}async function jR(e){let t=document.getElementById("user-feedback"),o=document.getElementById("site-user-feedback-footer");if(e==="ModuleUnit"&&(DR=!1),!t&&!o)return;if(b.data.isArchived){let r=document.querySelector("[data-hide-on-archived]");r&&(r.hidden=!0);return}nBe(),jve(),oBe(),Dve(),uBe();let n=rBe();aBe(n,e==="Module"||e==="ModuleUnit"?"training-feedback":"standard-feedback"),await sBe(n)}function jve(e=localStorage){let t=e.getItem(`binary-rating-${NR()}`);t!=="rating-yes"&&t!=="rating-no"||(xk(t),Yg(t))}function xk(e,t=Array.from(document.querySelectorAll("[data-binary-rating-response]"))){if(!DR)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 oBe(){let e=t=>{if(!(t.target instanceof HTMLElement&&t.target.closest("[data-user-feedback-button]")))return;let n=localStorage.getItem(`binary-rating-${NR()}`);!n||n!=="rating-no"&&n!=="rating-yes"||(xk(n),Yg(n))};window.addEventListener("click",e)}function nBe(){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")||T_(o),xk(n),Yg(n),DR||localStorage.setItem(`binary-rating-${NR()}`,n))};window.addEventListener("click",e)}function rBe(){let e=document.createElement("div"),t=Mve();return w(t,e),jve(),new _e(e)}async function iBe(){let[e,t,o,n]=await Promise.all([Ti("ask-learn-on-articles"),Ti("ask-learn-on-reference"),Ti("ask-learn"),ye.then(()=>S.isAuthenticated)]);return We("ask-learn-popover",{require:!0})?{enabled:!0,userAuthenticated:n}:We("disable-ask-learn-popover",{require:!0})?{enabled:!1,userAuthenticated:n}:{enabled:e||t||o,userAuthenticated:n}}async function sBe(e){let t=Array.from(document.querySelectorAll("[data-binary-rating-response]")),o=document.getElementById("user-feedback-button");o&&o.addEventListener("click",()=>e.show());let r=Array.from(t.filter(l=>l.dataset.binaryRatingResponse==="rating-yes")).length>0,{enabled:i,userAuthenticated:s}=await iBe(),a=b.data.userLocale.substring(0,2).toLocaleLowerCase()==="en";if(i&&s&&a&&r){t.forEach(c=>c.addEventListener("click",()=>{c.dataset.binaryRatingResponse==="rating-yes"&&e.show();let u=localStorage.getItem(`binary-rating-${NR()}`);u&&(xk(u),Yg(u))})),window.addEventListener("click",async c=>{let p=c.target.closest("[data-bi-name]");if(!p)return;let m=p.dataset.biName;cBe(c),m==="feedback-suggest"?(e.show(),xk("rating-no"),Yg("rating-no")):m==="ask-learn-assistant-entry-troubleshoot"&&Hn&&(await Hn.initialized,Hn.responseCount&&Hn.responseCount>=Hn.maxMessages&&Hn.reset(),Hn.submitWithPrompt("/troubleshoot"),Hn.getActiveTextArea()?.focus())});let l=Array.from(document.querySelectorAll(wL+","+vL));i&&(dBe(),l.forEach(c=>{c.hidden=!1}))}else t.forEach(c=>{c.dataset.binaryRatingResponse==="rating-no"&&c.removeAttribute("hidden")}),Array.from(document.querySelectorAll("#mobile-help-popover,#help-popover")).forEach(c=>c.hidden=!0),t.forEach(c=>c.addEventListener("click",()=>e.show()))}function aBe(e,t="standard-feedback"){window.addEventListener("submit",o=>{let n=o.target instanceof HTMLElement&&o.target.closest("[data-feedback-verbatim-form]");if(!n||(o.preventDefault(),n.querySelector(".errored")))return;lBe(o,n,t),DR=!0;let r=document.createElement("div");r.classList.add("modal-slide"),w($ve(),r),e.updateContent(r,!1,!1)})}function lBe(e,t,o){if(!e)return;let n=$R(t),r=t.querySelector("#user-feedback-textarea"),i=r?r.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&&Yt(e.target,{behavior:le.SURVEYCOMPLETE,actionType:Se.OTHER,content:{autoIngest:!0,type:o,sat:a,vtbm:i,reasons:l}})}function cBe(e){let t=e.target;(t.closest('[data-test-id="feedback-popover"]')||t.closest('[data-test-id="footer-feedback-popover"]'))&&Yt(t,{actionType:Se.CLICKLEFT,behavior:le.VOTE,content:{autoIngest:!0,event:"feedback-thumbs-down-details-clicked",cN:"details-rating-no",type:"popover-interaction"},contentTags:{feedbackType:"negative",feedbackMethod:"details-popover",aN:"feedback-unhelpful-popover"}})}function Yg(e){let t=document.querySelector("[data-feedback-suggestions]");if(!t)return;t.hidden=!1;let 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 uBe(){let e=document.getElementById("ms--user-feedback-configurable-help-link");if(e){e.classList.remove("display-none");return}}function dBe(){if(!document.body.classList.contains("layout-flyout-active")){let e=document.querySelector('#help-popover [data-help-option="ask-learn"]');e&&e.classList.contains("is-selected")&&e.classList.remove("is-selected")}}A();var V4="v9",pBe=.03,OR=We("survey-popover",{require:!0}),mBe=new Set(["Architecture","CareerPath","Certification","CertificationRenewal","Conceptual","Course","FAQ","HowTo","KnownIssue","LearningPath","Lifecycle","Module","ModuleUnit","Question","QuestionList","Reference","Sample","Tag","TagList"]),gBe=new Set(["en-us","de-at","de-ch","de-de","fr-be","fr-ca","fr-ch","fr-fr","es-es","es-mx"]),Ove=0,Fve=!1;function fBe(e=k.surveyPopover,t=b.data.pageTemplate,o=b.data.userLocale){return e&&mBe.has(t)&&gBe.has(o)}function FR(e,t=0){try{let o=X.getItem(e);if(o===null)return t;let n=Number(o);return isNaN(n)?t:n}catch{return t}}function hBe(e=L.accessLevel!=="local"){let t=new URL("https://microsoft.qualtrics.com/jfe/form/SV_6hUVpRBU3hQVnZY");e&&t.searchParams.set("original_url",ee.href),t.searchParams.set("locale",b.data.userLocale),t.searchParams.set("pageTemplate",b.data.pageTemplate);let o=FR("hats_survey-pages-visited",0);t.searchParams.set("pagesVisited",o.toString());let n=FR("hats_survey-qualified-pages-visited",0);t.searchParams.set("qualifiedSurveyPagesVisited",n.toString());let r=Uve().slice(0,30);return t.searchParams.set("pageTemplatesVisited",r?r.join(","):""),t.href}function W4(){bBe(V4);let e=X.getItem("hats_survey-interacted");if(e){let u=Date.now(),p;try{if(p=new Date(e),isNaN(p.getTime())){UR(),X.setItem("hats_survey-version",V4);return}}catch{return}let m=1e3*60*60*24*30*6;if(u-p.getTime()

    ${Qse}

    ${nee}

    `;return w(t,e),e.addEventListener("click",o=>{o.target instanceof HTMLElement&&o.target.closest("[data-dismiss]")&&X.setItem("hats_survey-interacted",new Date().toISOString())}),e}function Hve(){let e=document.querySelectorAll(".ccpa-privacy-link");k.thirdPartyDataSharingConsentFlag&&e.forEach(t=>{t.removeAttribute("hidden")})}var Ci={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 Bve(e){let t=`${e} --- #### ${gK} \u26A0 *${fK}* `,o=location.href,{documentId:n,versionIndependentDocumentId:r,platformId:i,documentSourceUrl:s,contentTitle:a}=Ci,l=s.replace(/^https:\/\/github.com\/[^/]+\/[^/]+\/blob\/[^/]+\//i,"").replace(/\[|\]/g,"\\$&");a=a.replace(/\[|\]/g,"\\$&"),t+=`* ID: ${n} * Version Independent ID: ${r} * Platform ID: ${i} * Content: [${a}](${o}) * Content Source: [${l}](${s})`;let{service:c,subservice:u,product:p,technology:m}=Ci;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}=Ci;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 Gve(e,t,o,n,r,i,s,a,l,c,u,p,m,g,f="",y){let h=e.querySelector("[data-github-link]"),v=e.querySelector("[data-open-source-image-light]"),_=e.querySelector("[data-open-source-image-dark]"),x=e.querySelector("[data-open-source-image-container]"),z=e.querySelector("[data-open-source-product-title]"),C=e.querySelector("[data-open-source-product-description]");if(!h||!t||!o||!r||!c||!g)return;let H=u==="production"&&p?`\u{1F6A8} Looks like you arrived from the internal review site \u{1F6A8} Do not enter Microsoft confidential information here`:"",O=vBe(n,r,i,s,a,l),pe=/github\.com/.test(c)?`@${g}`:g,Ee=new URL(t),ce=new URLSearchParams;ce.set("pageUrl",m.href),ce.set("pageQueryParams",m.search),ce.set("contentSourceUrl",c),ce.set("documentVersionIndependentId",o),ce.set("platformId",r),ce.set("feedback",`${H} ${eZ} `),ce.set("author",pe),ce.set("metadata",O),f&&ce.set("title",f),y&&ce.set("labels",y),Ee.search+=`&${ce.toString()}`,h.href=Ee.toString(),xBe(z,C),v&&_&&x&&TBe(v,_,x),e.hidden=!1}function vBe(e,t,o,n,r,i){let s=`* ID: ${e} * PlatformId: ${t} ${n!==void 0?` * Service: **${n.toLowerCase()}**`:""}${r!==void 0?` * Sub-service: **${r.toLowerCase()}**`:""}${o!==void 0?` * Product: **${o.toLowerCase()}**`:""}${i!==void 0?` * Technology: **${i.toLowerCase()}**`:""}`;return s=s.replace(//g,">"),s}function xBe(e,t){if(!e)return;let o=e.textContent;e.textContent=UX.replace("{productName}",o),t&&(t.textContent=qX.replace("{productName}",o))}async function TBe(e,t,o){let[n,r]=await Promise.all([mB(e.src).then(()=>!0).catch(()=>!1),mB(t.src).then(()=>!0).catch(()=>!1)]);n&&r&&(o.hidden=!1)}function Vve(){let e=document.body.querySelector(".feedback-section");if(e){if(b.data.pageTemplate==="ModuleUnit"){k.moduleUnitFeedbackReport||kBe(e);return}if(k.openSourceFeedback&&b.data.openSourceFeedbackIssueUrl){let t=document.body.querySelector("[data-open-source-feedback-section]");t&&Gve(t,b.data.openSourceFeedbackIssueUrl,Ci.versionIndependentDocumentId,Ci.documentId,Ci.platformId,Ci.product,Ci.service,Ci.subservice,Ci.technology,Ci.documentSourceUrl,L.supportLevel,L.reviewFeatures,ee,Ci.author,b.data.openSourceFeedbackIssueTitle,b.data.openSourceFeedbackIssueLabels)}addEventListener("keydown",({keyCode:t,altKey:o,ctrlKey:n})=>{t===71&&o&&n&&xi(Bve(""),document.body)&&alert("\u2705 GitHub issue footer copied.")})}}function kBe(e){if(e){e.hidden=!0;for(let t of document.querySelectorAll("[data-feedback-section-link]"))t.hidden=!0}}A();var SBe=P("uhfHeaderId"),CBe=SBe,$t=EBe({brand:b.data.brand,pathnameSegments:JI,page_kind:P("page_kind"),page_type:P("page_type"),headerId:CBe,isAdmin:P("is_admin"),isEditor:P("is_editor")??"false"});function EBe(e){let{brand:t,pathnameSegments:o,page_kind:n,page_type:r,headerId:i,isAdmin:s,isEditor:a}=e;if(s==="true")return"Admin";if(a==="true")return"Editor";if(i==="MSDocsHeader-Archive")return"Archive";if(n==="docs"&&r==="home"||r==="welcome")return"Docs_Home";if(r==="profile")return"Profile";if(r==="locale")return"Locale";if(r==="search")return"Search";if(n==="assessments")return"Assessments";switch(o[2]){case"docs":return"Documentation";case"training":return"Training";case"certifications":return k.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"&&L.siteName==="learn")return"Training";if(t==="mooncake")return"Mooncake";if(!i&&L.siteName==="learn")return"Learn";switch(i){case"answers":case"answersv2":case"answersv2MOD":case"answersv2ADMIN":return"Q&A";case"mooncake":return"Mooncake";case"MSDocsHeader-Credentials":return"Credentials";case"MSDocsHeader-Certifications":return k.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,Wve={type:"static-header",brandLink:{displayName:"Learn",href:`/${Uo}/`,biName:"learn"},navLinks:[{title:aa,href:`/${Uo}/docs/`,biName:"documentation"},{title:Yr,href:`/${Uo}/training/`,biName:"training"},{title:k.previewCredentialsL1?mn:tl,href:k.previewCredentialsL1?`/${Uo}/credentials/`:`/${Uo}/certifications/`,biName:k.previewCredentialsL1?"credentials":"certifications"},{title:"Q&A",href:`/${Uo}/answers/`,biName:"qna"},{title:h1,href:`/${Uo}/samples/browse/`,biName:"code-samples"},{title:XS,href:`/${Uo}/assessments/`,biName:"assessments"},{title:Tr,href:`/${Uo}/shows/`,biName:"shows"}]},Qve={type:"static-header",brandLink:{displayName:"Developer",href:`/${Uo}/`,biName:"developer"},navLinks:[{title:"Learn",href:`https://learn.microsoft.com/${Uo}/`,biName:"learn"},{title:aa,href:`https://learn.microsoft.com/${Uo}/docs/`,biName:"documentation"},{title:Yr,href:`https://learn.microsoft.com/${Uo}/training/`,biName:"training"},{title:"Q&A",href:`https://learn.microsoft.com/${Uo}/answers/`,biName:"qna"},{title:h1,href:`https://learn.microsoft.com/${Uo}/samples/browse/`,biName:"code-samples"},{title:Tr,href:`https://learn.microsoft.com/${Uo}/shows/`,biName:"shows"}]},Yve={type:"static-header",brandLink:{displayName:"Learn",href:`/${Uo}/`,biName:"learn"},navLinks:[{title:Yr,href:`https://learn.microsoft.com/${Uo}/training/`,biName:"training"},{title:k.previewCredentialsL1?mn:tl,href:k.previewCredentialsL1?`https://learn.microsoft.com/${Uo}/credentials/`:`https://learn.microsoft.com/${Uo}/certifications/`,biName:k.previewCredentialsL1?"credentials":"certifications"},{title:Jie,href:`https://support.azure.cn/${Uo}/support/contact/`,biName:"support"},{title:Tr,href:`https://learn.microsoft.com/${Uo}/shows/`,biName:"shows"}]};async function Zve(e=b.data.userLocale){let t=zBe();if(t==="developer-header"||t==="mooncake-header")return Kve(t);let o=L.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",n={branch:mt(["contentnav-branch"],"main")},r=new URL(`/${e}/${o}content-nav/site-header/${t}.json?${se(n)}`,location.origin);try{let i=await R(r.href,{credentials:"include"});if(!i?.ok)throw new Error(`Site navigation JSON not found for ${t} in ${e}.`);return await i.json()}catch{return console.error(`Site navigation fetching error. Loading static version of ${t}.`),Kve(t)}}function zBe(){return L.siteName==="mooncake"?"mooncake-header":$t==="Developer"?"developer-header":"site-header"}function Kve(e){switch(e){case"mooncake-header":return Yve;case"developer-header":return Qve;default:return Wve}}var k_,Jve,S_=new Promise(e=>Jve=e);async function Xve(){k_=await Zve(),Jve()}function exe(){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]"),r=o.querySelector("button[data-search-expander-trigger-close]");!n||!r||(n.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),r.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),o.addEventListener("keydown",i=>{i.key==="Escape"&&!e.classList.contains("overflow-x-hidden")&&e.classList.toggle("overflow-x-hidden")}),window.addEventListener("click",i=>{i.target instanceof Element&&i.type==="click"&&!o.contains(i.target)&&!e.classList.contains("overflow-x-hidden")&&(i.target.hasAttribute("data-search-expander-autocomplete-suggestion")||e.classList.toggle("overflow-x-hidden"))}))}var qR=class{constructor(){this._contentStack=[];this._titleStack=[]}get stackLength(){return this._contentStack?this._contentStack.length:void 0}get bodyTemplate(){return this.stackLength?this._contentStack[this._contentStack.length-1]:null}push(t){if(!t)throw new Error("Cannot push empty content");this._contentStack.push(t)}pop(){!this._contentStack||this.stackLength<=1||(this._contentStack.pop(),this._titleStack&&this._titleStack?.length>0&&this._titleStack.pop())}pushTitle(t){t&&this._titleStack.push(t)}getTitle(){return!this._titleStack||this._titleStack?.length===0?null:this._titleStack[this._titleStack.length-1]}dispose(){this._contentStack=null}};A();Ge();var C_=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&&pR(t),document.body.insertAdjacentElement("afterbegin",this.container),this.container.classList.add("appearing"),setTimeout(()=>{zt()},10),setTimeout(()=>{pR(this.container)},3500)}};Ge();A();function HR(e){for(let t=0;to.setCustomValidity(/^\s+$/.test(o.value)?lee:"")),o instanceof HTMLButtonElement&&o.type==="submit"&&(o.onclick=()=>e.classList.add("show-validation-status"))}}A();async function cn(e,t=!1,o){let n=T.createElement("form");if(n.action="javascript:",e instanceof sl){if(w(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);PBe(n);let r=T.createElement("div");r.classList.add("modal-content"),r.appendChild(n);let i=new _e(r),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,i.hide())}),HR(n),await i.show(),{submitted:s,form:n,data:a.hasError?null:a.data}}function PBe(e){if(e.querySelector("form"))throw new Error("The content argument should not contain a form")}function fp(e,t,o=An,n=!1,r=KQ,i,s){return d` `}A();Ge();Ge();Ge();A();A();var or={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 txe=[{reason:tte,value:or[13]},{reason:Qee,value:or[3]},{reason:rte,value:or[4]},{reason:Jee,value:or[4]},{reason:Yee,value:or[6]},{reason:Xee,value:or[7]},{reason:Zee,value:or[8]},{reason:Wee,value:or[9]},{reason:nte,value:or[10]},{reason:Kee,value:or[11]},{reason:ote,value:or[15]},{reason:ite,value:or[16]},{reason:ste,value:or[17]},{reason:ete,value:or[14]}];function oxe(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 nxe(e){if(!e||$t!=="Q&A")return;let t=b.data.userLocale;e&&e.primary.href.includes("/ask/")&&!e.primary.href.includes(t)&&(e.primary.href=`/${t}${e.primary.href}`),e&&e.secondary?.href.includes("/moderation/")&&!e.secondary?.href.includes(t)&&(e.secondary.href=`/${t}${e.secondary.href}`)}var BR=k.userServices&&L.siteName!=="mooncake"&&$t!=="Developer"&&$t!=="Regional Directors",E_=$t==="Third-Party"||$t==="Admin"||$t==="Developer"||$t==="Assessments"||$t==="Certifications"||$t==="Credentials"||$t==="Learn"||$t==="Shows"||$t==="Mooncake"||$t==="Q&A"||$t==="Training"||$t==="Legal";function rxe(e){let t=jBe();if(!(!t||t==="exclude"))for(let o of e){let n=o?.id===t;if(n){o.current=n;break}}}var $Be={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"}}}},DBe={id:"exclude",pattern:`/${b.data.userLocale}/training/`,exact:!0,next:{id:"career-paths",pattern:"/training/career-paths",next:{id:"browse-training",pattern:"/training/browse",next:{id:"educator-center",pattern:"/training/educator-center",next:{id:"student-hub",pattern:"/training/student-hub",next:{id:"faq-help",pattern:"/training/support",next:{id:"products",pattern:"/training"}}}}}}},NBe={id:"exclude",pattern:`/${b.data.userLocale}/credentials/`,exact:!0,next:{id:"browse",pattern:"/credentials/browse",next:{id:"cert-renewals",pattern:"/credentials/certifications/renew-your-microsoft-certification",next:{id:"faq-help",pattern:"/credentials/support/help"}}}};function jBe(e=P,t=$t){let o;switch(t){case"Learn":case"Training":o=DBe;break;case"Q&A":o=$Be;break;case"Certifications":case"Credentials":o=NBe;break;default:return e("activeMenuId")}return OBe(o)}function OBe(e,t=ee.pathname){if(!e)return;let o,n=e;do{let r=!0;n.exclude&&t.includes(n.exclude)&&(r=!1),(n.exact&&t!==n.pattern||t.indexOf(n.pattern)===-1)&&(r=!1),r&&(o=n.id),n=n.next}while(n&&!o);return o}var FBe="DEV_Homeheader";function ixe(){let e=P("uhfHeaderId"),t=e&&e!==FBe?e:"";return(L.reviewFeatures?re()["header-id"]:"")||b.data.context.uhfHeaderId||t}async function sxe(e,t=b.data.userLocale){let o={branch:mt(["contentnav-branch"],"main")},r=`${M.contentNav}/${t}/content-nav/${e}.json?${se(o)}`,i;try{i=await R(r,{credentials:"include"})}catch{return console.error("Content navigation fetching error."),null}if(!i.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 i.json();return s.items.push({kind:"menu",title:Yw,biName:"more",items:[]}),s}function axe(e,t=P("platform_id")){if(!e)return;let o=e.primary,n=e.secondary;o&&pk(o.href)&&(o.href=cR(o.href,t)),n&&pk(n.href)&&(n.href=cR(n.href,t))}var Ei,GR,A_=new Promise(e=>GR=e);async function lxe(){if(!E_){Ei=null,GR();return}let e=ixe();if(!e){Ei=null,GR();return}Ei=await sxe(e),Ei&&(nxe(Ei.callToAction),oxe(Ei.callToAction),axe(Ei.callToAction),rxe(Ei.items)),GR()}A();A();function UBe(e,t,o,n){let r;return o&&(r=[],r.push("font-weight-semibold","font-size-md")),e.kind==="link"?VR(e,`secondary-nav-link-${n+1}`,!1,r,o):qBe(e,t,r,n)}function VR({href:e,title:t,biName:o},n,r=!1,i=[],s=!1,a=!1){let l=r?"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",r&&(u=o?`${n}-${o}-mobile`:`${n}-mobile`);let p=ot(e,b.data.userLocale);return d`
  • ${t}
  • `}function qBe(e,t,o=[],n){let r=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",i=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 cxe(e,t){return d` `}function uxe(e,t,o,n,r,i,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` ${WBe(s,o)&&n>=2&&u?d`
    `:null} ${s?d`
    `:null} `}function dxe(e,t){if(!e)throw new Error("Site header data is unavailable.");return HBe(e,t)}function HBe(e,t){if(e.type==="static-header")return BBe(e);if(!t)throw new Error("Menu handler is not available");return GBe(e,t)}function BBe(e){let t=e.navLinks.map(o=>{let n=ot(o.href,b.data.userLocale);return d`
  • ${o.title}
  • `});return d` `}function GBe(e,t){let o=b.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",n=e.navCategories.map(r=>{let i=`site-header-btn-${r.biName}-mobile`,s=`ms--${i}`;return d`
  • `});return d` `}function pxe(e,t,o,n,r,i){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=ot(g.href,a);u=d` ${g.title} `}let p="";if(i){let g=i.map(f=>{let y=ot(f.href,a);return d` `});p=d`
    ${g}
    `}let m=[];return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(g=>{let f=ot(g.href,a),y=d`
  • `;m.push(y)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(g=>{let f=ot(g.href,a),y=d`
  • ${g.title}
  • `;m.push(y)}),d` ${l}
    ${c} ${u}
    ${p}
    `}function mxe(){let e="#",t=S.isAuthenticated?"button-clear inner-focus":"auth-status-determined not-authenticated button-filled button-primary";t=`docs-sign-${S.isAuthenticated?"out":"in"} `+t;let o=d`

    ${j(Nae)}

    `,n=d` ${S.isAuthenticated?VBe():o}
    ${S.isAuthenticated?d` ${Op} `:""} ${S.isAuthenticated?Fp:Qr}
    `;return d`
    ${BR?n:o}
    `}function VBe(){return d` `}function WBe(e,t){return t||$t!=="Docs_Home"&&e}async function fxe(e,t){if(await S_,!t)throw new Error("Site header data is unavailable.");let o=T.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 qR;o.paint=()=>{w(d` ${cxe(e,t.brandLink.displayName)} ${mxe()} `,o)};function r(pe){o.paint();let Ee=o.querySelector("#modal-body");if(pe){let ce=Ee.querySelector(`#${pe}`);if(ce){ce.focus();return}}QBe(Ee)}function i(pe){let Ee=pe.target instanceof HTMLElement&&pe.target.closest("button");if(!Ee||!Ee.classList.contains("pop-content"))return;let ce=Ee.getAttribute("data-back-id");n.pop(),r(ce)}let s=e.subscribe(et,o.paint);o.dispose=()=>{n.dispose(),s(),o.removeEventListener("click",i)};let a=gxe(e.items),l,c,u,p,m,g,f,y,h,v,_;function x(pe,Ee,ce){a=pe.items,l=pe.title,g=Ee,f=ce,c=null,u=null,p=null,m=n.getTitle(),C(!0),r()}function z(pe,Ee,ce,bt,Lt,Bt){h=pe,v=Ee,_=Bt,g=ce,f=bt,y=Lt,C(!1,!0),r()}function C(pe=!1,Ee=!1){let ce;!pe&&!Ee&&t?ce=dxe(t,z):Ee?ce=pxe(h,v,g,y,dc,_):ce=uxe(a,x,pe,n.stackLength,g,f,l,c,u,p,m),n.push(ce),n.pushTitle(l)}function H(){C(),o.paint()}function O(){if(!(n.stackLength<=1)){for(;n.stackLength>1;)n.stackLength===2&&(e.secondaryNav=!1),n.pop();r()}}if(H(),o.addEventListener("click",i),E_){await A_;let pe=Ei;pe&&(c=pe.category,u=pe.callToAction,p=pe.preview,l=pe.category?pe.category.title:null,a=gxe(pe.items),C(!0),r(),e.secondaryNav=!0,o.querySelector("#modal-header button.button").onclick=O)}return o}function QBe(e){let t=e.querySelector("[data-autofocus]");if(t&&QI(t)){t.focus();return}e.focus()}function gxe(e){return e.slice(0,e.length-1)}var z_=class extends He{constructor(){super();this._items=[{title:Yw,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:Yw,kind:"menu",items:[],id:"more",biName:"more"}],this.more.items=Ys(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 et)}};function hxe(){let e=document.querySelector("#ms--site-header-hamburger > button");if(!e)return;let t=new z_;e.addEventListener("click",()=>YBe(t))}async function YBe(e){await S_;let t=await fxe(e,k_),o=new _e(t),n=window.outerWidth;function r(){t.dispose(),window.removeEventListener("resize",i),e.mobileNavExpanded=!1}function i(){o.hide(),r()}window.addEventListener("resize",()=>{window.outerWidth!==n&&i()},{passive:!0}),e.mobileNavExpanded=!0,await o.show()}A();var Q4;function bxe(){return Q4===void 0&&(Q4=(async()=>We("user-analytics",{require:!0})?!0:Ti("user-analytics-dashboard"))()),Q4}A();var Va="autocomplete-change-event",Tk="autocomplete-displayed-event";function Ai(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=De=>typeof De?.toString=="function"?De.toString():De,itemTemplate:n=o,noResultsTemplate:r=null,initialValue:i=null,input:{biName:s},exclude:a=De=>!1,showLoader:l=!0}=e,c=document.createElement("div");c.classList.add("autocomplete"),e.input.isFullWidth&&c.classList.add("display-block"),c.setAttribute("data-bi-name","autocomplete");let u=Xe(),p=`${u}-listbox`,m=De=>De===-1?"":`${u}-option-${De}`,g=[],f=-1,y=i?o(i):"",h="",v=i,_=0,x=!1,z=!1,C="";e.input.size&&(C=e.input.size==="small"?"input-sm":"input-lg");let H=()=>{let De=c.querySelector(`#${p}`),$=De.children.item(f===-1?0:f);$?$.offsetTop+$.offsetHeight>De.offsetHeight?De.scrollTop=$.offsetTop-De.offsetHeight+$.offsetHeight+4:$.offsetTop{w(Rt(),c);let De=c.querySelector("input");De&&(De.value=y||h),H()},pe=()=>{g=[],f=-1,O()},Ee=(De,$)=>{let W=h;if(v=De,y=De?o(De):"",h=y,pe(),$&&De){let N=new CustomEvent(Va,{detail:{suggestion:De,term:W},bubbles:!0});c.dispatchEvent(N)}};Object.defineProperty(c,"value",{get(){return v},set(De){Ee(De,!1)}});let ce=async()=>{if(h===""){x=!1,v=null,pe();return}g=await t(h),g=g.filter($=>!a($));let De=new CustomEvent(Tk,{detail:g,bubbles:!0});c.dispatchEvent(De),g.length||ht(SX,"assertive",2e3),f=-1,x=!1,O()},bt=De=>{let W=De?.url;W&&W.href&&window.open(W.href,"_blank")},Lt=De=>{let $=De.target instanceof Element&&De.target.closest('[role="option"]');if(!$)return;De.preventDefault();let W=$.parentElement,N=0;for(;N{clearTimeout(_),_=setTimeout(ce,250);let $=De.target;h=$.value,y="",!x&&$.value!==""&&!z&&(x=!0,O())},fo=()=>{z=!0},Gt=()=>{z=!1},co=()=>pe(),Zo=De=>{let{keyCode:$,shiftKey:W,altKey:N,ctrlKey:oe}=De;if(!(W||N||oe)){if($===ze.down){De.preventDefault(),f0?(f--,y=o(g[f])):(f=-1,y=h),O();return}if($===ze.escape){De.preventDefault(),Ee(v,!1);return}if($===ze.enter){if(f>=0){let be=g[f];Ee(be,!0)}return}}};function Rt(){let De=e.input.docon?d` `:"";return d`
    ${De} ${l?d` `:""}
      $.preventDefault()} @click=${Lt} @keyup=${$=>($.key==="Enter"||$.key==="Spacebar")&&Lt} ?hidden=${!h.length||x||!r&&!g.length||y===h} > ${g.map(($,W)=>d`
    • ${n($)}
    • `)} ${!g.length&&r?d`
    • ${r}
    • `:""}
    `}return O(),c.addEventListener("compositionstart",fo),c.addEventListener("compositionend",Gt),c}var WR=["All","Ai","Documentation","Training","Credential","QnA","Reference","Show"];async function yxe(e,t=b.data.userLocale){let o={query:e,suggestions:[]};if(!e)return Promise.resolve(o);let n=`${M.siteSearch}/autocomplete?${se({locale:t,query:e})}`,r={mode:"cors",credentials:L.supportLevel==="production"&&L.reviewFeatures?"include":"same-origin"},i=await R(n,r);if(i.ok)return i.json();if(i.status===403)return{query:e,suggestions:[]};throw new Zt(i)}function kk(e){let t=new URLSearchParams(e),o=t.get("category")||"All",n=WR.find(r=>r.localeCompare(o,void 0,{sensitivity:"base"})===0)||"All";return{dataSource:t.get("dataSource"),category:n,skip:parseInt(t.get("skip")||"0"),term:t.get("search"),scope:t.get("scope"),preview:t.get("preview")}}A();function _xe(){let e=b.data.context.searchScope||P("scope");if(b.data.pageTemplate==="SearchPage"&&(e=kk(location.search).scope),P("hideScope")==="true"||!e)return"";let n=e.split(",").map(r=>r.trim()).filter(r=>r.length);return n.length?n[n.length-1]:""}function Y4(e=ee.pathname,t={}){let o=decodeURI(an(e)).toLowerCase().split("/").slice(1),[n="",r=""]=o;return{parts:o,firstPart:n,secondPart:r,pageKind:Mi.kind,pageType:Mi.type,msTopic:P("ms.topic"),...t}}function QR(e,t=Y4()){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 wxe(e){let t={query:e,suggestions:[]};if(!e)return Promise.resolve(t);let o=`${M.siteSearch}/user?${se({query:e})}&$top=30&$skip=0&$filter=questionAuthor eq true`,n={mode:"cors",credentials:L.supportLevel==="production"&&L.reviewFeatures?"include":"same-origin"},r=await R(o,n);if(r.ok)return r.json();if(r.status===403)return{query:e,suggestions:[]};throw new Zt(r)}var P_=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 KBe=1e4,ZBe=4e3,vxe=Symbol("scenario timeout"),vr=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:dh.connection?.effectiveType??"unknown",endConnection:"unknown",wasHidden:T.visibilityState==="hidden",wentOffline:!dh.onLine,supportedBrowser:P_,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,vxe),this.timeLimitMs),this._pingTimeoutHandle=setTimeout(()=>this.collectPingDiagnostics(),KBe)}handleEvent(){var t,o;(t=this._diagnostics).wasHidden||(t.wasHidden=T.visibilityState==="hidden"),(o=this._diagnostics).wentOffline||(o.wentOffline=!dh.onLine)}complete(t,o){this.unsubscribe();let n=this._start;if(n===0)return;this._start=0;let r=this._diagnostics;r.scenarioProgress=t?{progress:"Succeeded",duration:performance.now()-n}:r.scenarioProgress,r.endDateTime=new Date().toISOString(),r.succeeded=t,r.durationInMilliseconds=performance.now()-n,r.reason=t?void 0:JBe(o),r.endConnection=dh.connection?.effectiveType??"unknown",r.resources=Array.from(performance.getEntriesByType("resource")).filter(i=>i.startTime>=n).map(i=>i.toJSON()).filter(i=>i.initiatorType==="fetch"&&i.name.startsWith(location.origin)).map(i=>(i.connectEnd=Math.floor(i.connectEnd),i.connectStart=Math.floor(i.connectStart),i.domainLookupEnd=Math.floor(i.domainLookupEnd),i.domainLookupStart=Math.floor(i.domainLookupStart),i.duration=Math.floor(i.duration),i.fetchStart=Math.floor(i.fetchStart),i.redirectEnd=Math.floor(i.redirectEnd),i.redirectStart=Math.floor(i.redirectStart),i.requestStart=Math.floor(i.requestStart),i.responseEnd=Math.floor(i.responseEnd),i.responseStart=Math.floor(i.responseStart),i.secureConnectionStart=Math.floor(i.secureConnectionStart),i.startTime=Math.floor(i.startTime),i.workerStart=Math.floor(i.workerStart),i)),we({actionType:Se.OTHER,behavior:le.OTHER,content:r})}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(),ZBe);let n=async(r,i)=>{let s=performance.now();try{await this.fetch.call(window,i,{cache:"no-store",mode:"no-cors",signal:o}),this._diagnostics.pings[r]={response:!0,duration:Math.floor(performance.now()-s)}}catch{this._diagnostics.pings[r]={response:!1,duration:Math.floor(performance.now()-s)}}};return Promise.all([n("docs",`${location.origin}/robots.txt`)])}};function JBe(e){return e===vxe?{type:"scenario-timeout"}:e instanceof Response||e instanceof Zt?{type:"dependency",url:e.url,status:e.status,statusText:e.statusText,headers:e.headers instanceof Headers?cB(e.headers):e.headers}:e instanceof Error?{type:"exception",name:e.name,message:e.message,stack:e.stack}:{type:"unknown",value:String(e)}}async function L_(e){if(k.disableSiteSearchSuggestions)return[];let t=new vr("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.replace(/^[\s`~!@^,]+/,"").replace(/[\s`~!@^,]+$/,""),e.length<2)return t.cancel(),[];let o=await yxe(e,b.data.userLocale);return t.succeed(),o.suggestions}catch(o){return t.fail(o),[]}}async function xxe(e){let t=new vr("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.trim(),e.length<1)return t.cancel(),[];let o=await wxe(e);t.succeed();let n=[],r=[];for(let i of o.suggestions)i.displayName.toLowerCase().startsWith(e)?n.push(i):r.push(i);return n.sort((i,s)=>i.displayName.localeCompare(s.displayName)),r.sort((i,s)=>i.displayName.localeCompare(s.displayName)),o.suggestions=n.concat(r),o.suggestions}catch(o){return t.fail(o),[]}}function kxe(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};K4(t)}function YR(e){let t=e.detail.map(o=>({title:o}));Z4(t)}function K4({suggestion:e,term:t}){we({behavior:le.SEARCHAUTOCOMPLETE,actionType:Se.OTHER,content:{srchq:t,srchtype:"auto suggest",resultselected:e.title,resulttype:e.type||"",resulturl:e.url||""}})}function Z4(e){let t=[{srchtype:"auto suggest"}];e.forEach((o,n)=>{t.push({cN:o.title,sN:n,type:o.type||"",url:o.url||""})}),we({content:t})}var Txe=!1;function Sxe(e,t,o,n,r,i,s,a){Txe?Dz():Txe=!0,we({behavior:le.OTHER,actionType:Se.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:r,spellingCorrection:i,semanticCaptions:s}})}function Cxe(e,t,o,n,r){let i=n===!0?1:0;we({behavior:le.SURVEYCOMPLETE,actionType:Se.OTHER,content:{autoIngest:!0,type:"search-answer-feedback",sat:i,searchTerm:e,question:t,answer:o,authType:r.toString()}})}function KR(e,t,o,n,r,i,s,a){!t||!o||(we({behavior:le.OTHER,actionType:Se.OTHER,content:{event:"search-answer-result",searchTerm:e,copilotQuestion:t,copilotAnswer:o,authType:n.toString()}}),a&&we({content:{autoIngest:!0,type:"search-answer-request",name:"search-answer",triggeredTimestamp:r,returnedTimestamp:i,answerType:s}}))}function Exe(e,t,o,n,r){we({behavior:le.SURVEYCOMPLETE,actionType:Se.OTHER,content:{autoIngest:!0,type:"deep-search-feedback",sat:t?1:0,query:e,reasons:n??"",verbatim:r??"",isEmptyResponse:0,authType:o.toString()}})}var XBe="https://www.azure.cn/searchresults/";function J4(){let e;return b.data.brand==="mooncake"?e=XBe:!L.systemContent&&L.accessLevel!=="local"?e=`https://learn.microsoft.com/${b.data.userLocale}/search/`:e=`/${b.data.userLocale}/${Ft?"test/docs/search/search":"search/"}`,e}function X4(){let e=_xe(),t=e3e(),o=t3e();return{scope:e,category:t,dataSource:Jo()?"previousVersions":"",preview:o}}function e3e(){let e=kk(ee.search)?.category;if(e?.toLowerCase()!=="all")return e;let t=QR("site",Y4());return t&&t!=="All"?t:""}function t3e(){return kk(ee.search).preview||""}function e6(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};K4(t)}function t6(e){let t=e.detail.map(o=>({title:o}));Z4(t)}function ZR(e,t,o,n){if(!e)return;let r=T.getElementById(o),i=r.placeholder,s=r.value,a=e.parentElement;if(!a)return;let l=n?`${n}-search`:void 0,c={input:{id:`${t}-autocomplete-input`,placeholder:i,size:"large",label:so,isFullWidth:!0,name:"terms",biName:l},initialValue:s,getSuggestions:L_,itemTemplate:v=>d` ${v} `,showLoader:!k.disableSiteSearchSuggestions},u=Ai(c),{scope:p,category:m,dataSource:g,preview:f}=X4(),y=n?`${n}-search-form`:void 0,h=n?`${n}-search-submit`:void 0;w(d` `,a)}A();var hp="display-block font-size-sm padding-inline-xxs",JR;function XR(e,t){if(JR===void 0){let c=(P("scope")||"").split(",").map(u=>u.trim()).filter(u=>u.length);JR=c.length?c[c.length-1]:""}let o="";JR&&t&&(o=JR);let n=Jo()?"previousVersions":"",r=Ft?"/test/docs/search/search":"/search/",i=QR("toc"),s=`${r}?${se({search:e,scope:o,dataSource:n,category:i==="All"?void 0:i})}`;return{title:o?TX.replace("{term}",e).replace("{searchScope}",o):kX.replace("{term}",e),url:s}}function Sk(e){return e.indexOf("/search/?search")!==-1||Ft&&e.indexOf("/search/search?search")!==-1}async function eM(e,t,o){Yt(e,{behavior:le.APPLY,targetUri:o,content:{event:"autocomplete",title:t,href:o}})}function Axe(e=!1){let{category:t,dataSource:o,preview:n}=X4(),r=$t==="Search"?"":t,i=J4(),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:Jo()?ov:so,label:so,isFullWidth:!0,name:s,biName:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input"},getSuggestions:L_,itemTemplate:p=>d` ${p} `,showLoader:!k.disableSiteSearchSuggestions};e||(a.input.size="small");let l=Ai(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 zxe(e){return e?d` ${Ixe()}
    ${Lxe(e.brandLink)}
    ${i3e(e)} ${Rxe()}
    ${Mxe()} `:""}function Pxe(e){return e?d`
    ${Lxe(e.brandLink,!0)} ${Ixe(!0)} ${Rxe(!0)} ${Mxe(!0)} `:""}function Ixe(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 r=d` `;return d` `}function Lxe(e,t=!1){if(!e)return"";let o=ot(e.href,b.data.userLocale),n=t?`site-header-brand-${e.biName}-mobile`:`site-header-brand-${e.biName}`;return d` `}function Rxe(e=!1){let t=Axe(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",r=e?"site-header-search-close-mobile":"site-header-search-close",i=e?"site-header-search-mobile":"site-header-search",s=e?"ms--site-header-search-mobile":"ms--site-header-search";return d` `}function Mxe(e=!1){if(!BR)return"";let n=d` `,r=e?"site-header-user-mobile":"site-header-user",i=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 o3e(e,t){if(!e)return"";let o="";if(t){let r=t.map(i=>{let s=ot(i.href,b.data.userLocale);return d` `});o=d` `}let n=e.map((r,i)=>{let s=`ms--panel-${i+1}`;return d`
  • `});return d`
      ${n}
    `}function n3e(e,t){if(!e)return"";let o=b.data.userLocale,n="";if(e.panelLink){let s=e.panelLink,a=ot(s.href,o);n=d` ${s.title} `}let r=[],i="site-header-panel-links";return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(s=>{i="site-header-panel-cards";let a=ot(s.href,o),l=d`
  • `;r.push(l)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(s=>{let a=ot(s.href,o),l=d`
  • ${s.title}
  • `;r.push(l)}),d`
      ${r}
    ${n}
    ${t} `}function r3e(e){if(!e)return"";let t=e.map((o,n)=>{let r=ot(o.href,b.data.userLocale);return d`
  • ${o.title}
  • `});return d`
      ${t}
    `}function i3e(e){let t=e.type==="static-header"?r3e(e.navLinks):o3e(e.navCategories,e.featuredContent),o=b.data.userDir==="ltr"?"left":"right",n=b.data.userDir==="ltr"?"right":"left";return d` `}Ge();yh();A();A();function o6(e,t){let{leftTemplate:o,rightTemplate:n}=e;return d` ${o()} ${n(t)} `}function Nxe(e){let t=document.createElement("div");t.classList.add("site-header","width-full");let o=new z_;return t.paint=()=>Oxe(t,o,e),Object.defineProperty(t,"items",{enumerable:!0,get:()=>o.items,set:n=>o.items=n}),o.desktop=Ar.matches,o.mobile=!Ta.matches,Ar.addListener(()=>{o.desktop=Ar.matches}),Ta.addListener(()=>{o.mobile=!Ta.matches}),window.addEventListener("resize",()=>{Ta.matches&&s3e(t,o,e)},{passive:!0}),t.paint(),Te.then(()=>{let n=new MutationObserver(r=>{for(let i of r)for(let s=0;st.paint()),window.addEventListener("content-update",()=>t.paint()),t}var jxe=0;function Oxe(e,t,o){if(jxe=Date.now(),t.resetItemVisibility(),w(o6(o,t),e),t.mobile)return;let n=e.querySelector(".nav-bar-spacer"),{more:r,items:i}=t,s=i.length-1;for(;s>0&&n.getBoundingClientRect().width===0;)s--,r.hidden=!1,i[s].hidden=!0,r.items[s].hidden=!1,w(o6(o,t),e)}var $xe=0,Dxe=50;function s3e(e,t,o){clearTimeout($xe),Date.now()-jxe>Dxe?e.paint():$xe=setTimeout(Oxe,Dxe,e,t,o)}async function Uxe(){if(await A_,!Ei)return null;let e=Nxe(a3e(Ei));return e.items=Ei.items,e}function a3e(e){let{category:t,callToAction:o,preview:n}=e,r="";return o&&(r=l3e(o)),{leftTemplate:()=>c3e(t,n),rightTemplate:a=>d` ${d3e(a,Zre)} ${r} ${u3e()} `}}function l3e(e){if(!e)return"";let{primary:t,secondary:o}=e,n="";return o&&(n=Fxe(o,!0)),d`
    ${n} ${Fxe(t)}
    `}function Fxe(e,t=!1){if(!e)return"";let{href:o,title:n}=e,r;return e.biName?r=t?`secondary-nav-cta-secondary-${e.biName}`:`secondary-nav-cta-primary-${e.biName}`:r=t?"secondary-nav-cta-secondary":"secondary-nav-cta-primary",d` ${n} `}function c3e(e,t){let{href:o,title:n,biName:r}=e,i=ot(o,b.data.userLocale),s=Hxe(i),a=r?`secondary-nav-link-category-${r}`:"secondary-nav-link-category";return d` `}function u3e(){return $t!=="Learn"&&$t!=="Training"?"":d` `}function d3e(e,t){let{items:o}=e;return d` `}function qxe(e,t){return e.kind==="link"?p3e(e,t):m3e(e,t)}function p3e(e,t){let o=e.current?"is-active":"",n=ot(e.href,b.data.userLocale),r=Hxe(n,!!o),i=e.biName?`secondary-nav-link-${e.biName}`:"secondary-nav-link";return t?d`
  • ${e.title}
  • `:d`
  • ${e.title}
  • `}function m3e(e,t){let o=Cp(),n=t?b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light":"chevron-down-light",r=t?"":"expanded-indicator",i=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 g3e(e,t=new URL(window.location.href)){return e.origin===t.origin&&e.pathname.toLowerCase().replace(/\//gi,"")===t.pathname.toLowerCase().replace(/\//gi,"")}function Hxe(e,t){let o=new URL(e,window.location.origin);if(g3e(o)&&t)return"page";if(t)return"true"}var R_,tM=new Promise(e=>R_=e);async function Bxe(){Xve(),lxe(),f3e()}async function f3e(){await S_;let e=zxe(k_),t=Pxe(k_);await Te;let o=T.querySelector("#ms--site-header");if(!o){R_();return}let n=o.querySelector("#ms--primary-nav");if(!n){R_();return}let r=o.querySelector("#ms--mobile-nav");if(!r){R_();return}w(e,n),w(t,r),exe(),hxe();let i=o.querySelector("#ms--secondary-nav");if(!i){R_();return}if(E_){await A_;let s=await Uxe();i.classList.contains("site-header")&&s?(i.classList.remove("site-header"),w(s,i)):i.remove()}else i.remove();R_()}var h3e=["Conceptual","ContentPage","Hub","Reference","Architecture","FAQ","HowTo"];function M_(e){if(!e||!h3e.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(r=>{if(r.parentElement&&r.parentElement.matches(`${t.join(",")}`)){let i=r.tagName.toLowerCase(),s=document.createElement("div");s.classList.add("heading-wrapper"),s.setAttribute("data-heading-level",i);let a=Zp(r).trim(),l=r.id||Oo(a);r.id||(r.id=l),r.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",Hre.replace("{title}",a)),s.appendChild(c),r.insertAdjacentElement("beforebegin",s),s.insertAdjacentElement("beforeend",r)}})}A();var b3e=["Conceptual","Episode","Module","Reference"],Gxe={Conceptual:{"ai-generated":LY,"ai-assisted":IY,"human-only":RY},Episode:{"ai-generated":MY,"ai-assisted":$Y},Module:{"ai-generated":DY,"ai-assisted":NY},Reference:{"ai-generated":jY,"ai-assisted":OY}};function Vxe(){let e=Ts("ai-usage"),t=b.data.pageTemplate;!b3e.includes(t)||e.length===0||y3e(t,e)}function y3e(e,t){let o=document.getElementById("ms--inline-notifications"),n=_3e(e,t);if(!o||!n)return;let r=v3e(n);w(r,o)}function _3e(e,t){let o=new Set(t),n=[];for(let r of o)if(Gxe[e].hasOwnProperty(r)){let i=Gxe[e][r];i&&n.push(i)}return n}function w3e(e){return d`
    ${j(e)}
    `}function v3e(e){return d` ${ho(e,t=>w3e(t))} `}Object.defineProperty(HTMLElement.prototype,"inlineStyle",{set(e){this.style.cssText=e}});Object.defineProperty(HTMLInputElement.prototype,"customValidity",{set(e){this.setCustomValidity(e)}});function Qxe(){let e=document.querySelector('script[src*=".index-"][src$=".js"]');return e?e.src:"unknown-script-src"}function Yxe(){window.addEventListener("unhandledrejection",e=>{let t=Wxe(e.type,Qxe(),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)}});we({behavior:le.OTHER,content:t})}),window.onerror=(e,t,o,n,r)=>{let i=Wxe(e,t,o,n,r);we({behavior:le.OTHER,content:i})}}function Wxe(e,t,o,n,r){let s=new Date().toString();return{type:"learn-client-error",event:e,source:t||Qxe(),lineno:o||0,colno:n||0,message:r?.message||"Error message unavailable",stack:r?.stack||"Stack trace unavailable",name:r?.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:P_,pageTemplate:b.data.pageTemplate}}var bp,Ek,aTe,nM,s6,D_=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},Ak=function(e){if(document.readyState==="loading")return"loading";var t=D_();if(t){if(e(t||100)-1)return o||r;if(o=o?r+">"+o:r,n.id)break;e=n.parentNode}}catch{}return o},lTe=-1,cTe=function(){return lTe},Kg=function(e){addEventListener("pageshow",function(t){t.persisted&&(lTe=t.timeStamp,e(t))},!0)},sM=function(){var e=D_();return e&&e.activationStart||0},Zs=function(e,t){var o=D_(),n="navigate";return cTe()>=0?n="back-forward-cache":o&&(n=document.prerendering||sM()>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}},N_=function(e,t,o){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(r){Promise.resolve().then(function(){t(r.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},o||{})),n}}catch{}},Js=function(e,t,o,n){var r,i;return function(s){t.value>=0&&(s||n)&&((i=t.value-(r||0))||r===void 0)&&(r=t.value,t.delta=i,t.rating=function(a,l){return a>l[1]?"poor":a>l[0]?"needs-improvement":"good"}(t.value,o),e(t))}},a6=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},aM=function(e){var t=function(o){o.type!=="pagehide"&&document.visibilityState!=="hidden"||e(o)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},l6=function(e){var t=!1;return function(o){t||(e(o),t=!0)}},$_=-1,Kxe=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},rM=function(e){document.visibilityState==="hidden"&&$_>-1&&($_=e.type==="visibilitychange"?e.timeStamp:0,T3e())},Zxe=function(){addEventListener("visibilitychange",rM,!0),addEventListener("prerenderingchange",rM,!0)},T3e=function(){removeEventListener("visibilitychange",rM,!0),removeEventListener("prerenderingchange",rM,!0)},c6=function(){return $_<0&&($_=Kxe(),Zxe(),Kg(function(){setTimeout(function(){$_=Kxe(),Zxe()},0)})),{get firstHiddenTime(){return $_}}},zk=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},Jxe=[1800,3e3],uTe=function(e,t){t=t||{},zk(function(){var o,n=c6(),r=Zs("FCP"),i=N_("paint",function(s){s.forEach(function(a){a.name==="first-contentful-paint"&&(i.disconnect(),a.startTimei.value&&(i.value=s,i.entries=a,r())},c=N_("layout-shift",l);c&&(r=Js(o,i,Xxe,n.reportAllChanges),aM(function(){l(c.takeRecords()),r(!0)}),Kg(function(){s=0,i=Zs("CLS",0),r=Js(o,i,Xxe,n.reportAllChanges),a6(function(){return r()})}),setTimeout(r,0))}))})(function(o){(function(n){if(n.entries.length){var r=n.entries.reduce(function(a,l){return a&&a.value>l.value?a:l});if(r&&r.sources&&r.sources.length){var i=(s=r.sources).find(function(a){return a.node&&a.node.nodeType===1})||s[0];if(i)return void(n.attribution={largestShiftTarget:iM(i.node),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:i,largestShiftEntry:r,loadState:Ak(r.startTime)})}}var s;n.attribution={}})(o),e(o)},t)},pTe=function(e,t){uTe(function(o){(function(n){if(n.entries.length){var r=D_(),i=n.entries[n.entries.length-1];if(r){var s=r.activationStart||0,a=Math.max(0,r.responseStart-s);return void(n.attribution={timeToFirstByte:a,firstByteToFCP:n.value-a,loadState:Ak(n.entries[0].startTime),navigationEntry:r,fcpEntry:i})}}n.attribution={timeToFirstByte:0,firstByteToFCP:n.value,loadState:Ak(cTe())}})(o),e(o)},t)},Ck={passive:!0,capture:!0},k3e=new Date,eTe=function(e,t){bp||(bp=t,Ek=e,aTe=new Date,gTe(removeEventListener),mTe())},mTe=function(){if(Ek>=0&&Ek1e12?new Date:performance.now())-e.timeStamp;e.type=="pointerdown"?function(o,n){var r=function(){eTe(o,n),s()},i=function(){s()},s=function(){removeEventListener("pointerup",r,Ck),removeEventListener("pointercancel",i,Ck)};addEventListener("pointerup",r,Ck),addEventListener("pointercancel",i,Ck)}(t,e):eTe(t,e)}},gTe=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,S3e,Ck)})},tTe=[100,300],C3e=function(e,t){t=t||{},zk(function(){var o,n=c6(),r=Zs("FID"),i=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]};r6[n.id]=n,Zl.push(n)}Zl.sort(function(r,i){return i.latency-r.latency}),Zl.splice(10).forEach(function(r){delete r6[r.id]})}},z3e=function(e,t){t=t||{},zk(function(){A3e();var o,n=Zs("INP"),r=function(s){s.forEach(function(c){c.interactionId&&rTe(c),c.entryType==="first-input"&&!Zl.some(function(u){return u.entries.some(function(p){return c.duration===p.duration&&c.startTime===p.startTime})})&&rTe(c)});var a,l=(a=Math.min(Zl.length-1,Math.floor(nTe()/50)),Zl[a]);l&&l.latency!==n.value&&(n.value=l.latency,n.entries=l.entries,o())},i=N_("event",r,{durationThreshold:t.durationThreshold||40});o=Js(e,n,oTe,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),aM(function(){r(i.takeRecords()),n.value<0&&nTe()>0&&(n.value=0,n.entries=[]),o(!0)}),Kg(function(){Zl=[],yTe=bTe(),n=Zs("INP"),o=Js(e,n,oTe,t.reportAllChanges)}))})},_Te=function(e,t){z3e(function(o){(function(n){if(n.entries.length){var r=n.entries.sort(function(i,s){return s.duration-i.duration||s.processingEnd-s.processingStart-(i.processingEnd-i.processingStart)})[0];n.attribution={eventTarget:iM(r.target),eventType:r.name,eventTime:r.startTime,eventEntry:r,loadState:Ak(r.startTime)}}else n.attribution={}})(o),e(o)},t)},iTe=[2500,4e3],i6={},wTe=function(e,t){(function(o,n){n=n||{},zk(function(){var r,i=c6(),s=Zs("LCP"),a=function(u){var p=u[u.length-1];p&&p.startTimeperformance.now())return;o.value=Math.max(i-sM(),0),o.entries=[r],n(!0),Kg(function(){o=Zs("TTFB",0),(n=Js(e,o,sTe,t.reportAllChanges))(!0)})}})},vTe=function(e,t){I3e(function(o){(function(n){if(n.entries.length){var r=n.entries[0],i=r.activationStart||0,s=Math.max(r.domainLookupStart-i,0),a=Math.max(r.connectStart-i,0),l=Math.max(r.requestStart-i,0);n.attribution={waitingTime:s,dnsTime:a-s,connectionTime:l-a,requestTime:n.value-l,navigationEntry:r}}else n.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}})(o),e(o)},t)};var Pk=P("learn-experiments")==="true"&&L.siteName!=="developer"&&L.siteName!=="mooncake",d6=Pk?5*1e3:0,L3e="assignmentserviceapi.wus2.dogfood.portalrp.azure-test.net",R3e="assignmentserviceapi.production.portalrp.azure.com",M3e=L.supportLevel==="development"?`https://${L3e}/api/mslearn/variants?api-version=1.0`:`https://${R3e}/api/mslearn/variants?api-version=1.0`;function $3e(){return M3e}var TTe=jde("MC1",d6),kTe={},cM,lM,xTe,u6=!1,STe=zTe(),CTe=PTe(),ETe,p6=new Promise(e=>{ETe=e});async function j_(e){return!Pk||!await zm?!1:(await p6,e in kTe)}async function ATe(){if(!Pk||!await zm)return;let t=await TTe,o=t?MTe(t):null;if(!o){we({content:{type:"experiment-no-assignment",name:"experiment-platform-no-mc1-cookie",autoIngest:!0,timestamp:new Date().toISOString()}});return}await ye;let n={mc1:o,audience:{environment:"prod",isAuthenticated:!1,locale:S.locale,referer:document.referrer}};S.isAuthenticated&&(n.userId=S.userId,n.audience.isAuthenticated=!0);let r=JSON.stringify(n),i=Z($3e(),{method:"POST",body:r},!1,!0),s=await R(i,{},d6);if(!s.ok)throw we({content:{type:"experiment-platform-assignment",name:"assignment-error",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:r,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 we({content:{type:"experiment-platform-assignment",name:"assignment-success",autoIngest:!0,timestamp:new Date().toISOString(),content:{requestBody:r,data:a,dataVersion:a.dataVersion}}}),{assignments:l,rawResponse:a,assignmentTimestamp:c}}function zTe(){return ATe().then(e=>(cM!==void 0&&(clearTimeout(cM),cM=void 0),e!==void 0&&(U.learnExperiments={loaded:!0,assignments:e.assignments,loadTime:performance.now()}),e))}function PTe(){return new Promise(e=>{cM=setTimeout(()=>{e(void 0)},d6)})}async function uM(){await ITe();let e=zm;if(Pk){if(!await e){we({content:{type:"experiment-no-assignment",name:"experiment-platform-no-consent",autoIngest:!0,timestamp:new Date().toISOString()}});return}U.learnExperiments={...U.learnExperiments||{assignments:[]},loaded:!1};try{let t=await Promise.race([STe,CTe]);t===void 0&&we({content:{type:"experiment-platform-timeout"}}),t!=null&&typeof t=="object"&&"assignments"in t&&"rawResponse"in t&&"assignmentTimestamp"in t&&(kTe=t.assignments.reduce((o,n)=>(o[n]=!0,o),{}),lM=t.rawResponse,xTe=t.assignmentTimestamp),ETe?.(),lM&&await RTe("client-side",lM.assignmentContext,lM.dataVersion,xTe)}catch(t){we({content:{type:"experiment-platform-error",content:{error:JSON.stringify(t)}}});return}}}async function ITe(){if(u6)return;let e=document.getElementById("learn-experiments-context");if(!e||e.tagName!=="SCRIPT")return;let t=e.textContent?.trim();if(!t)return;let o;try{o=JSON.parse(t),u6=!0}catch(n){we({content:{type:"experiment-platform-error",content:{error:`learn-experiments-script-parse:${n.message}`}}});return}try{await RTe("server-side",o.assignmentContext,o.dataVersion,o.assignmentTimestamp)}catch(n){throw u6=!1,n}}lt.subscribe(bo,async()=>await LTe());lt.subscribe(To,async()=>await LTe());async function LTe(){!Pk||!await zm||(STe=zTe(),CTe=PTe(),uM())}async function RTe(e,t,o,n){if(!t)return;let r=await TTe,i={actionType:"A",behavior:12,pageTags:{exp_context:t,exp_platform:"learn-experiments",exp_data_version:o?.toString()??"",exp_assignment_ts:n??"",exp_mc1:MTe(r??"")??"",exp_uri:U.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:D3e()}};cpe(i),we({content:{type:"experiment-platform-telemetry",name:e+"-experiment",autoIngest:!0,timestamp:new Date().toISOString(),content:i}})}Ul&&(U.__learnExperimentsTestHooks={emitServerExperimentContext:ITe,loadExperimentAssignments:ATe,instrumentExperiments:uM});function MTe(e){let t=e.match(/GUID=([^&;]+)/);return t?t[1]:null}function D3e(){return document.querySelector('script[src*="index-"]')?.src??""}function $Te(e){we({content:{type:"experiment-exposure",content:{variantName:e}}})}var N3e=k.reportWebVitalsAlways?1:.1,dM=new Set;function Zg(e){dM.add(e)}function DTe(){if(dM.size>0){let e=Array.from(dM);O3e(e),dM.clear()}}function j3e(e){let t={};for(let o of e){let{name:n,value:r}=o;t[n]=r}return t}function O3e(e){let t=j3e(e);we({content:{type:"web-vitals",version:"1",metrics:t}})}function NTe(){let e=k.reportWebVitalsAlways||Math.random()<=N3e;!P_||!e||(dTe(Zg),pTe(Zg),_Te(Zg),wTe(Zg),vTe(Zg),fTe(Zg),F3e(Zg),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&DTe()}),document.addEventListener("pagehide",DTe))}async function F3e(e){if(window.learnExperiments===void 0||(await p6,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 jTe(){U3e(),q3e(),H3e(),B3e(),G3e(),V3e(),W3e(),Q3e(),K3e(),Z3e(),NTe()}async function U3e(){let e=()=>ape(S.authenticationMode,S.isAuthenticated);S.subscribe(To,e),e(),await S.whenAuthenticated(),we({content:{event:"user-is-signed-in"}})}function q3e(){function e(t){!t.isTrusted||!(t.target instanceof HTMLSelectElement)||!t.target.hasAttribute(Eo.name)||Yt(t.target,{actionType:Se.OTHER,behavior:le.OTHER,content:{event:"select-value-changed",name:jc(t.target),value:t.target.value}})}T.addEventListener("change",e,{passive:!0})}function H3e(){let e="";function t(r){!r.isTrusted||e===r.type||(e=r.type,we({actionType:Se.OTHER,behavior:le.OTHER,content:{event:"page-focus-changed",value:r.type}}))}let o=0;function n(r){clearTimeout(o),o=setTimeout(()=>t(r),50)}U.addEventListener("focus",n,{passive:!0}),U.addEventListener("blur",n,{passive:!0})}function B3e(){function e(){we({actionType:Se.OTHER,behavior:le.OTHER,content:{event:"page-visibility-changed",value:T.hidden?"hidden":"visible"}})}function t(){T.addEventListener("visibilitychange",e,{passive:!0})}T.readyState==="interactive"||T.readyState==="complete"?t():T.addEventListener("DOMContentLoaded",t)}function G3e(){Ode&&Ude.addListener(e=>{e.matches&&we({actionType:Se.OTHER,behavior:le.PRINT,content:{event:"print"}})})}function V3e(){function e(o){if(!o.isTrusted||!(o.target instanceof HTMLElement))return;let{width:n,height:r}=o.target.getBoundingClientRect(),{scrollLeft:i,scrollTop:s,scrollWidth:a,scrollHeight:l}=o.target;Yt(o.target,{actionType:Se.OTHER,behavior:le.OTHER,content:{event:"secondary-content-scroll",name:jc(o.target),viewPortWidth:Math.floor(n),viewPortHeight:Math.floor(r),contentWidth:Math.floor(a),contentHeight:Math.floor(l),horizontalOffset:Math.floor(i),verticalOffset:Math.floor(s)}})}function t(o){if(o.target===T)return;let n=o.target;clearTimeout(n.reportScrollTimeout),n.reportScrollTimeout=setTimeout(()=>e(o),100)}U.addEventListener("scroll",t,{passive:!0,capture:!0})}function W3e(){let e=!1;function t(){we({actionType:Se.OTHER,behavior:le.OTHER,content:{event:"unload",anchor:e}})}function o(r){r.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}function n(r){r.target instanceof HTMLAnchorElement&&(e=!0,setTimeout(()=>e=!1))}U.addEventListener("keydown",n,{capture:!0,passive:!0}),U.addEventListener("click",o,{capture:!0,passive:!0}),U.addEventListener("beforeunload",t,{passive:!0})}function Q3e(){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;Y3e(o.id);let r=Array.from(o.querySelectorAll('input[name="terms"], input[name="facet-search-input"]'))[0].value,i=T.activeElement&&T.activeElement instanceof HTMLButtonElement&&T.activeElement.type==="submit"&&!!o.querySelector(`#${T.activeElement.id}`);Yt(o,{actionType:Se.OTHER,behavior:le.SEARCH,content:{event:"uhf-search",value:r,submitButton:i}})}U.addEventListener("submit",e,{passive:!0,capture:!0})}function Y3e(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&&we({behavior:le.SEARCH,actionType:Se.OTHER,content:{autoIngest:!0,type:"site-search-submit",name:o}})}function K3e(){function e(t){t.isTrusted&&t.keyCode===70&&t.ctrlKey&&!t.shiftKey&&!t.altKey&&!t.metaKey&&we({actionType:Se.OTHER,behavior:le.OTHER,content:{event:"ctrl-f"}})}U.addEventListener("keydown",e,{passive:!0})}function Z3e(){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:{}};Mz(o.pageTags),lpe(o),Dz()}lt.subscribe(bo,e)}A();var OTe="azure-auth-complete";function J3e(){let e=re(location.search);return e[OTe]==="true"?(e[OTe]=null,Ht(e,"replaceState"),!0):!1}J3e()&&$T.tryLoadTokens().then(e=>{e&&r4e()});var X3e=d`

    ${Be(Yre)}

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

    ${dae}


    ${S.upn}

    ${P0}


    `;w(l,e)}function t4e(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",r=d`
    ${hae}

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

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

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

      `;w(i,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||r!==gM||t!=="portalConsole"||o!=="getToken"||(this.messageReceived||(On.trackEvent({name:"cloud-shell-message-received"}),this.messageReceived=!0),clearTimeout(this.messageHandlerTimeout),this.replyToken(n))};this.instrumentMessageHandler=()=>{!this.consoleFrame||!this.consoleFrame.contentWindow||(On.trackEvent({name:"cloud-shell-not-responsive"}),this.showTroubleshootingMessage())};this.showTroubleshootingMessage=()=>{this.element.innerHTML=`

      ${JW}

      `};U.addEventListener("message",this.messageHandler),this.element=T.createElement("div"),this.element.classList.add("cloud-shell"),this.element.setAttribute(Eo.name,"azure-cli"),this.messageHandlerTimeout=0,this.interactiveType=t?"powershell":"bash",pM(this.element).then(()=>(this.element.classList.add(`has-text-${this.interactiveType}-invert`,`has-background-${this.interactiveType}`),Promise.resolve())).then(()=>this.whenPageVisible()).then(()=>{let o=s4e(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,i4e)})}setCode(){return Promise.resolve()}execute(){return Promise.resolve()}restart(){this.consoleFrame.hidden||this.consoleFrame.contentWindow.postMessage({signature:"portalConsole",type:"restart"},gM)}dispose(){U.removeEventListener("message",this.messageHandler)}replyToken(t){let o;switch(t){case"":o=Lo.value.access_token;break;case"microsoft.graph":o=Lo.value.msgraph_access_token,we({content:{event:"cloud-shell-audience",value:"microsoft.graph"}});break;case"keyvault":o=Lo.value.key_vault_access_token,we({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}`},gM)}whenPageVisible(){return T.visibilityState==="visible"?Promise.resolve():new Promise(t=>T.addEventListener("visibilitychange",()=>{T.visibilityState==="visible"&&t()}))}},UTe={name:HX,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};zg({name:"bash",activateButtonConfig:UTe,create:()=>new fM(!1)});zg({name:"powershell",activateButtonConfig:UTe,create:()=>new fM(!0)});function s4e(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 Ik=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(r=>r.predicate(t));for(let r of n)r.callback(t)};if(t)t instanceof HTMLIFrameElement?t.contentWindow?this.targetWindowLoaded=Promise.resolve({value:t.contentWindow}):this.targetWindowLoaded=new Promise(r=>{t.onload=()=>r({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,r)=>{let i={},s=o===void 0?0:setTimeout(l,o,i),a=this.subscribe(l,t);function l(c){clearTimeout(s),a(),c===i?r("timeout"):n(c)}})}unsubscribe(t){let o=this.subscriptions.indexOf(t);o!==-1&&this.subscriptions.splice(o,1)}};Pg();var hM=L.supportLevel==="production"&&L.reviewFeatures?"https://tryit.graphexplorerppe.microsoft.com":"https://tryit.graphexplorer.microsoft.com";function a4e(e){let t=l4e(e);if(!t)return[];let o=c4e(t);return u4e(o)}function l4e(e){return e.querySelector('h2[id="permissions"] ~ * table, h2[id="permissions"] ~ table')}function c4e(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 u4e(e){return Array.from(e.querySelectorAll("tr")).map(o=>Array.from(o.querySelectorAll("th,td")).map(n=>n.textContent.trim()))}var d4e={name:lh,iconClass:"docon docon-terminal",attributes:[{name:"aria-haspopup",value:"true"}]};zg({name:"msgraph",activateButtonConfig:d4e,create:()=>{let e=new URL(hM),t=location.origin,o=document.getElementById("main"),n=a4e(o),r={type:"init",locale:b.data.userLocale,theme:sd,code:"",permissions:n};e.searchParams.set("locale",r.locale),e.searchParams.set("host-origin",t),e.searchParams.set("theme",r.theme);let i=document.createElement("iframe");i.classList.add("msgraph","is-full-height"),i.title=dX,i.src=e.toString();let s=new Ik(i,hM),a,l=c=>{c.origin!==hM&&c.data.type!=="ready"||(i.contentWindow.postMessage(r,hM),a||(a=lt.subscribe(_l,u=>{s.publish({type:"theme-changed",theme:u.currentTheme})})),window.removeEventListener("message",l))};return{element:i,setCode:c=>(r.code=c,r.theme=sd,Promise.resolve()),execute:()=>window.addEventListener("message",l),dispose:()=>{a()}}}});Ge();async function qTe(e,t,o){Yt(e,{behavior:le.STARTPROCESS,contentTags:{scn:"Rest Try It",scnstp:"Request",scnnxtstp:"Response",isSuccess:!0},content:{event:"rest-tryit-run",authenticationMethod:t,fields:o}})}async function HTe(e,t){we({behavior:le.COMPLETEPROCESS,actionType:Se.OTHER,contentTags:{scn:"Rest Try It",scnstp:"Response",isSuccess:!0},content:{event:"rest-tryit-fetch-complete",status:t.status,method:e.method}})}function bM(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,r=t.transform(new Request(n,o),e);return e.headers!==null&&e.headers.forEach(i=>{i.value!==""&&r.headers.set(i.name,i.value)}),r}function BTe(e){return fetch(e).then(t=>(HTe(e,t),t))}function GTe(e){let t={};t.statusCode=e.status.toString();let o=e.headers;return t.header="",o.forEach((n,r)=>{t.header+=`${r}: ${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 VTe(e,t,o=window){let n=o instanceof Window?window.pageYOffset:o.scrollTop,r=e-n,i;function s(a){i||(i=a);let l=a-i,c=Math.min(l/t,1);o instanceof Window?o.scrollTo(0,n+r*c):o.scrollTop=n+r*c,l
      ${o}
      ${a}
      ${n}
      `}function U_(e,t){let o=e.querySelector(t);if(o&&aB(),o?.textContent){let n=o.getAttribute("data-language")||"";hL([{code:o.textContent,language:n,highlightLines:""}]).then(r=>{r[0]&&(o.innerHTML=r[0].html)})}}A();function QTe(e,t,o,n){let r=WTe(o,n),i=d`

      ${ate}

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

      ${cte}: ${e}

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

      ${e}

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

      REST API ${lh}

      ${wae}


      ${S.upn}

      ${P0}

      ${Lo.value.display_name}

      `;w(i,e)}function E4e(e,t,o){let n=KTe(e,t,o,_M);HR(e),e.onsubmit=i=>{A4e(n,t,_M),i.preventDefault()};let r=i=>{let s=i.restTryItRequest,a=i.security,l=bM(s,a);BTe(l).then(c=>{GTe(c).then(u=>{t.publish(new F_(u)),t.publish(new Jg)}).then(()=>{let u=T.querySelector(".rest-tryit-form"),{scrollTop:p}=u,{height:m}=T.querySelector(".request-section").getBoundingClientRect();p>=m||VTe(m,500,u)})}).catch(c=>{let u=e.querySelector('.request-section button[type="submit"]'),p=T.createElement("span");throw p.classList.add("border-none","color-danger","display-inline-block","font-size-medium","font-weight-semibold","padding-top-xxs"),p.textContent=vae,u&&u.parentElement.append(p),t.publish(new Jg),c})};t.subscribe(Lk,r)}function A4e(e,t,o){e.classList.add("is-loading");let n={url:null,httpVerb:null,headers:[],params:[],body:null};t.publish(new is(n)),qTe(e,o.type,z4e(n)),t.publish(new Lk(n,o))}function z4e(e){return e.headers.concat(e.params).map(t=>({[t.name]:!!t.value.length}))}Pg();zg({name:"http",activateButtonConfig:{name:lh,iconClass:"docon docon-play",attributes:[]},create:()=>({element:rke(),setCode:()=>Promise.resolve(),execute:()=>Promise.resolve(),dispose:()=>{}})});async function P4e(){let e={};b.data.mathjax?.macros&&(e=b.data.mathjax.macros),U.MathJax={showMathMenu:!1,showMathMenuMSIE:!1,tex:{inlineMath:[["$","$"],["\\(","\\)"]],processEscapes:!0,macros:e}}}async function I4e(){let e="/static/third-party/MathJax/3.2.2/tex-mml-chtml.js";return T.querySelector(`script[src="http://approjects.co.za/?big=${e}"]`)?.remove(),Ks(e,"sha384-Wuix6BuhrWbjDBs24bXrjf4ZQ5aFeFWBuKkFekO2t8xFU0iNaLQfp2K6/1Nxveei")}async function y6(){(P("show_latex")==="true"||b.data.pageTemplate==="ModuleUnit")&&Te.then(P4e).then(I4e)}function ike(){let e=L.reviewFeatures===!0&&(L.accessLevel==="local"||L.supportLevel==="development"&&L.accessLevel==="online"||Ft),t=document.querySelector("html");e&&t&&t.classList.add("show-deprecation-warning")}ike();A();var mQt=new He,ske,ake=!1,lke,cke,uke,vM=0,wM=0,Mk=0,_6=.125,w6=!1,L4e=d` 1% `;async function dke(){if(!k.gamification||k.chromeless)return;await tM;let e=document.querySelector("#level-status-container"),t=document.querySelector("#level-status");!e||!t||(w(L4e,t),Te.then(()=>{S.whenAuthenticated().then(()=>{let o;b.data.pageTemplate==="Module"?o=new vr("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressModule"):b.data.pageTemplate==="LearningPath"?o=new vr("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressLearningPath"):b.data.pageTemplate==="ModuleUnit"&&(o=new vr("Commerce.Docs.LearnProgress_ModuleCompletion_AccessProgressUnit")),o?.start(),lke=document.querySelector("#level-status-text"),cke=document.querySelector("#level-status-progress"),uke=document.querySelector("#level-status-points");let n=t.querySelector("a");n!==null&&n.setAttribute("href",uo(S.userName)),o?.updateProgress("Fetching game status"),w_.getStatus(S.userId).then(r=>{o?.updateProgress("Fetched game status"),mke(r),ake=!0,e.classList.remove("is-hidden"),o?.succeed()}).catch(r=>{o?.fail(r)})})}))}function R4e(e,t,o,n){e.currentLevel>ske&&(w6=!0),ske=e.currentLevel,M4e(t,e.currentLevel),$4e(o,e,ake),N4e(n,e.currentLevelHigh-e.currentLevelLow,e.currentLevelPointsEarned)}function M4e(e,t){e&&(e.textContent=`${FJ.replace("{number}",t.toString())}`)}function $4e(e,t,o){if(e){if(wM=j4e(t.currentLevelHigh,t.currentLevelLow,t.currentLevelPointsEarned),e.textContent=`${wM}%`,!o){U.cancelAnimationFrame(vM),e.value=Mk=wM;return}D4e(e)}}function D4e(e){vM||(vM=pke(e))}function pke(e){return w6||e.value=100&&(w6=!1),Mk=Mk+_6,e.value=Math.floor(Mk+_6)%100,U.requestAnimationFrame(()=>{vM=pke(e)})):0}function N4e(e,t,o){if(!e)return;let n=d` ${o} /${QN.replace("{totalXP}",t.toString())}`;w(n,e)}function j4e(e,t,o){let n=e-t,r=o/n;return Math.floor(r*100)}function mke(e){k.chromeless||R4e(e,lke,cke,uke)}Ge();async function gke(){if(!b.data.isPermissioned)return;let e=O4e();e&&to(e)}function O4e(){return b.data.permissionedType==="secret"||b.data.permissionedType==="private"?tK:null}function F4e(e,t){return d` `}async function ef(e,t){let o=document.createElement("div");o.classList.add("modal-content");let n=new _e(o);return w(F4e(e,t),o),n.show()}function fke(e,t,o){b.data.isPermissioned&&e.addEventListener("click",function(n){n.preventDefault(),ef(t,o)})}function hke(){let e=document.querySelector("[unauthorized-private-section]");e&&(e.hidden=!1,e.parentElement?.removeChild(e),Array.from(document.querySelectorAll("h1")).pop()?.insertAdjacentElement("afterend",e))}var Jl,v6={},x6={},T6={},k6={},S6={},Nk={};async function U4e(){let e=L.supportLevel==="production"&&!Ft?"/country/countryRegion.json":"/test/country/countryRegion-dev.json",t=await R(e);if(!t.ok||t.status!==200)return[];try{return(await t.json()).countries}catch{return[]}}function Dk(e,t,o){let n={};return e.forEach(r=>{let i=r[t],s=r[o];n[i]=s}),n}function q4e(e){let t={};return e.forEach(o=>{if(o.statesOrProvinces?.length>0){let n={};o.statesOrProvinces.forEach(r=>{n[r.code]=r.displayName}),t[o.ISOAlpha3Code]=n}}),t}async function bke(){if(!(Jl&&Jl.length>0)&&(Jl=await U4e(),!!Jl))return v6=Dk(Jl,"ISOAlpha2Code","displayName"),x6=Dk(Jl,"ISOAlpha2Code","phoneCountryCode"),T6=Dk(Jl,"ISOAlpha3Code","displayName"),k6=Dk(Jl,"ISOAlpha3Code","ISOAlpha2Code"),S6=Dk(Jl,"ISOAlpha2Code","ISOAlpha3Code"),Nk=q4e(Jl),Promise.resolve()}A();var C6,yke=()=>(C6===void 0&&(C6=Tg()),C6);A();function E6(e){return e.slice(-2).toUpperCase()}function B4e(e,t){let o=E6(e);return t.length===2?o===t:t.length===3?o===k6[t]:!1}function q_(e,t,o){let n=[],r=b.data.userLocale;for(let i in e){let s=B4e(r,i),a=i,l=e[i];t==="phone"&&o&&(a=e[i],l=`${o[i]} (+${e[i]})`),n.push(d``)}return n.length===0&&n.push(d``),n}A();function _ke(){window.addEventListener("form-validating",e=>{let t=jk(e.detail.form),o=TM(t);e.detail.errors?.length>=0&&(P6(e.detail.form,e.detail.errors),G4e(e.detail.form,e.detail.errors),V4e(e.detail.form,e.detail.errors),e6e(e.detail.form,e.detail.errors),X4e(e.detail.form,e.detail.errors),o6e(e.detail.form,e.detail.errors),n6e(e.detail.form,e.detail.errors)),t&&!t.querySelector("[data-warning-icon-container]")&&xM(t),o&&A6(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;Ok(t)}),window.addEventListener("submission-error",e=>{let t=jk(e.detail.form);K4e(e.detail.request,e.detail.response,e.detail.form),Z4e(e.detail.request,e.detail.response,e.detail.form),xM(t),t6e(e.detail.request,e.detail.response,e.detail.form)})}function G4e(e,t){let o=e.querySelector("[data-tag-input]");if(o&&t.filter(n=>n.input===o).length===0){let n=W4e(o),r=sr(o).querySelector("[data-tag-input-holder]");n&&(_u(e,t,o,n,r),Fr(r,n));let i=Q4e(o);i&&i.length>0&&i.forEach(s=>{_u(e,t,o,s,r),Fr(r,s)})}}function V4e(e,t){let o=e.querySelector("#attachment-count");if(o&&t.filter(n=>n.input===o).length===0){let n=Y4e(o),r=sr(o);if(n){let i=r.querySelector('[data-id="docs-markdown-editor"]'),s=r.querySelector("#markdown-editor");_u(e,t,o,n,i??void 0,s?.id??void 0),vke(o,n)}}}function xM(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 A6(e){e.querySelectorAll("a").forEach(t=>t.classList.add("text-decoration-underline","has-line-height-reset"))}function W4e(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 r=DD(e);return`${Hae.replace("{min}",t).replace("{max}",o).replace("{tagLabel}",r.toLocaleLowerCase())}`}return null}function Q4e(e){let t=e.value.split(","),o=[];for(let n of t){let r=document.getElementById(n);if(!r)continue;let i=r.innerText;r.getAttribute("active")!=="false"||o.push(`${Bae.replace("{tagLabel}",i)}`)}return o.length>0?o:null}function Y4e(e){if(e instanceof HTMLInputElement){let t=e.getAttribute("maxCount"),o=Number(e.value);if(t&&o&&o>Number(t))return See.replace("{maximumCount}",t)}return null}async function K4e(e,t,o){if(t.status===412&&e.url.includes("api/question"))try{if((await t.json()).code==="processed-attachment-failure"){z6(o);let n=[],r=o.querySelector("#attachment-count"),i=o.querySelector('textarea[name="body"]');Fr(i,B1),_u(o,n,r,B1,sr(r).querySelector('[data-id="docs-markdown-editor"]')??void 0)}}catch{}}async function Z4e(e,t,o){if(t.status===400&&e.url.includes("api/question"))try{if((await t.json()).errorCode==="processed-user-mention-failure"){z6(o);let n=[],r=o.querySelector('textarea[name="body"]'),i=Cee.replace("{maximumCount}","10");Fr(r,i),_u(o,n,r,i,o.querySelector("#markdown-editor")??void 0)}}catch{}}function jk(e){return e.querySelector("[data-form-error-alert]")??null}function TM(e){return e.querySelector("ul")??null}function z6(e){let t=e.querySelector("[data-form-error-alert] > ul");t&&(t.innerHTML="")}function _u(e,t,o,n,r,i,s){if(t.find(m=>m.message===n))return;let a=wke(e),c=o.hasAttribute("data-tag-input")?o.parentElement?.querySelector("input.autocomplete-input")?.id:o.id;sr(o).classList.add("errored");let p=document.createElement("a");p.href=`${s?"":"#"}${i||c}`,p.textContent=n,p.classList.add("help","help-danger","text-decoration-underline","has-line-height-reset"),a.append(p),r?.classList.add("border","border-color-danger"),t.push({input:o,message:n})}function wke(e){let t=jk(e),o=TM(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 vke(e,t){let n=sr(e).querySelector("[data-field-error-custom]")||J4e(e);n.textContent=t}function J4e(e){let t=document.createElement("p");return t.id=Xe(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("help","help-danger"),t.setAttribute("data-field-error-custom",""),kf(e).after(t),t}function Ok(e){if(e instanceof HTMLInputElement){let t=sr(e),o=e.hasAttribute("data-tag-input"),n=t.querySelector("docs-markdown-editor"),r=e.getAttribute("type")==="email";if(o){let i=t.querySelector("[data-tag-input-holder]");i&&i.classList.remove("border","border-color-danger")}if(n){let i=t.querySelector('[data-id="docs-markdown-editor"]');i&&i.classList.remove("border","border-color-danger")}r&&t.querySelector("[type=email]")?.classList?.remove("border","border-color-danger"),vke(n??e,""),t.classList.remove("errored")}}function X4e(e,t){let o=e.querySelector("#question-body"),n=document.querySelector("docs-markdown-editor")?.parentElement,r=t.filter(i=>i.input===o);if(r&&r.length>0&&n){let i=e.querySelector('[data-form-error-container] a[href="http://approjects.co.za/?big=#question-body"]');if(i){i.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 e6e(e,t){let o=e.querySelector('textarea[name="body"]');if(!o)return;let n=o.value.match(/(?:!\[(.*?)\]\((.*?)\))/gm);if(!n)return;let r=!1,i=[],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))&&(r=!0,i.push(c[0]))}),r){let l=sr(o);_u(e,t,o,ose.replace("{urls}",i.join(", ")),l.querySelector('[data-id="docs-markdown-editor"]')??void 0,"https://learn.microsoft.com/en-us/answers/support/attachments#inserting-images-from-the-web",!0)}}async function t6e(e,t,o){if(o&&t.status===422&&e.url.includes("api/questions/admin/users"))try{if((await t.json()).errorCode==="validation-failure"){z6(o);let n=e.url.includes("/suspend")?Eee:Aee,r=wke(o);r.innerText=n}}catch{}}async function o6e(e,t){if(!e?.getAttribute("data-suspended"))return;let n=e.querySelector('textarea[name="body"]');_u(e,t,n,zee,void 0,"https://aka.ms/msftqacodeconduct",!0)}function P6(e,t){let o=e.querySelector("input[type=email]");o&&o.validity.typeMismatch&&(Fr(o,G1),_u(e,t,o,G1,o))}function n6e(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)&&(Fr(o,V1),_u(e,t,o,V1,o))}A();function r6e(e){let t=e.metadata.map(o=>d``);return d`${t}`}function xke(e){let t=d`
      ${r6e(e)}
      `,o=document.createElement("div");w(t,o),document.body.appendChild(o),document.getElementById("pearson-vue-hidden-redirect-form").submit()}A();function Wa(e){return document.getElementById(e).value}function H_(e,t,o,n,r="text",i=50,s=0){return d`
      `}function I6(e,t,o){return d`
      `}function L6(e){return d`
      ${e}
      `}var i6e=()=>{let o=new URL(window.location.href).searchParams.get("examUrl")||"";o?location.href=ei(o).toString():window.history.back()};function Tke(){let e=E6(b.data.userLocale),t=S6[e],o=Nk[t];return d`

      ${SV}

      ${CV}

      ${ua}

      ${H_("address1",LV,KD,!0,"text",40)}
      ${H_("address2",RV,KD,!1,"text",40)}
      ${H_("city",MV,jV,!0,"text",32)}
      ${I6("state",$V,q_(o,"country"))}
      ${I6("countryRegion",Nw,q_(T6,"country"))}
      ${H_("postalCode",DV,OV,!0,"text")}

      ${j(EV)}

      ${I6("phoneCountryCode",NV,q_(x6,"phone",v6))}
      ${H_("phoneNumber",aee,FV,!0,"tel")}
      ${H_("contactEmail",C1,UV,!0,"email",255,6)}

      ${AV}

      ${zV}

      ${PV}


      ${j(IV)}

      `}function s6e(e){return d`
      ${e}
      `}function R6(e,t){t&&w(s6e(e),t)}var kke=!0;function Ske(e){window.addEventListener("form-validating",n=>{b6e(n.detail.errors),kke=n.detail.errors.length===0}),e.addEventListener("beforesubmit",async n=>{if(!kke){n.preventDefault();return}let r=n.detail.form.querySelector("#schedule-pearson-submit");n.detail&&(n.preventDefault(),n.detail.callback=async()=>{r?.classList.add("is-loading");try{await l6e(n)}catch{let s=n.detail.form.querySelector("#ms--error-container");R6(Gr,s)}finally{r?.classList.remove("is-loading")}})}),window.addEventListener("clear-validation-errors",n=>{let r=n.detail.target;Ok(r)});let t=document.getElementById("countryRegion"),o=document.getElementById("state");t.addEventListener("change",()=>{let n=Wa("countryRegion"),r=Nk[n];w(q_(r,"country"),o)})}function a6e(e){let t=/^exam\.(.+)$|^(.+)$/,o=e.match(t);return o?o[1]||o[2]:""}async function l6e(e){let o=new URL(window.location.href).searchParams,n=o.get("examUrl")||"",r=o.get("examUid")||"",i=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:i,examUid:a6e(r)},c=Xo(),u=M.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=Gr;try{let f=await fetch(u,p);if(!f.ok)f.status===400&&(g=tJ),R6(g,m);else{let y=await f.json();xke(y)}}catch{R6(g,m)}}var c6e=new RegExp("^[\\x20-\\x21\\x23-\\x3B\\x3F-\\x5B\\x5D-\\x7F]+$"),u6e=new RegExp("^[0-9]{5}([0-9]{4})?$"),d6e=new RegExp("^[A-Za-z][0-9][A-Za-z][0-9][A-Za-z][0-9]$"),p6e=new RegExp("^(['A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*['.A-Za-z0-9_-]+@([A-Za-z0-9]+(([_.\\-+]*)|(\\.)))*[A-Za-z0-9]\\.[a-zA-Z]{2,12}$"),m6e=new RegExp("^(?!0*$)[0-9]*$"),g6e=new RegExp("^(?!0*$)\\d{3}\\d{3}\\d{4}$"),f6e=new RegExp("^[^.].*[^.]$|^$");function h6e(e,t){return e?t.test(e):!0}function Fk(e,t,o,n,r){if(!h6e(e,o)){let s=`${n.replace("{inputLabel}",document.querySelector(`label[for="${t.id}"]`)?.textContent||"")}`;Fr(t,s),y6e(r,t,s)}let i=`${gn} ${n}`;ht(i,"assertive")}function b6e(e){let t=document.getElementById("address1"),o=document.getElementById("address2"),n=document.getElementById("city"),r=document.getElementById("postalCode"),i=document.getElementById("phoneNumber"),s=document.getElementById("contactEmail"),a=document.getElementById("phoneCountryCode"),l=document.getElementById("countryRegion");[t,o,n].forEach(p=>Fk(p.value,p,c6e,eJ,e)),Fk(i.value,i,a.value==="1"?g6e:m6e,rJ,e),Fk(r.value,r,l.value==="USA"?u6e:l.value==="CAN"?d6e:/.*/,l.value==="USA"?oJ:l.value==="CAN"?nJ:"",e),Fk(s.value,s,p6e,KZ,e),[t,o,n,r,i,s].forEach(p=>Fk(p.value,p,f6e,VC,e))}function y6e(e,t,o){e.find(n=>n.message===o)||e.push({input:t,message:o})}function _6e(e){try{return e.origin.includes("microsoft")}catch{return!1}}function w6e(e,t){let o=t.get("examUid"),n=t.get("examUrl");return!!(o&&n&&_6e(e))}function v6e(e,t){return!!t.get("action")}function Cke(e=new URL(location.href)){let t=new URLSearchParams(e.search);return w6e(e,t)||v6e(e,t)}function Eke(e,t){let o=new URL(uo("me","settings")),n=P("locale")||"en-us",r=re(o.search),i=new URLSearchParams({examUrl:e,examUid:t,locale:n,context:"exam",...r});return o.search=i.toString(),o.toString()}async function x6e(){if(await yke(),!S.legalName?.first){let e=new URLSearchParams(location.search),t=e.get("examUid")||"",o=e.get("examUrl")||"";return location.href=Eke(o,t),!0}return!1}async function T6e(){return ye.then(async()=>S.isAuthenticated?await x6e()?Promise.reject():L6(Tke()):(Fo(location.href),Promise.reject()))}async function Ake(){if(!P("scheduleThroughPearsonVue"))return;let t=document.querySelector("[data-main-column]");if(!t)return;await bke();let o=window.location.origin;if(!Cke()){location.href=`${o}/credentials`;return}let n=zn(await T6e(),L6(d`${Vt}`));w(n,t);let r=document.getElementById("pearson-vue-registration");r&&Ske(r)}var kM="image-browser-close-event";function zke(e,t){let n={horizontal:0,vertical:0};t.addEventListener("keypress",r=>{r.which===ze.enter&&(r.preventDefault(),e.toggleExpand())}),t.addEventListener("keydown",r=>{let i=r.which||r.keyCode;switch(i){case ze.left:r.preventDefault(),n.horizontal=1;break;case ze.right:r.preventDefault(),n.horizontal=-1;break;case ze.up:r.preventDefault(),n.vertical=1;break;case ze.down:r.preventDefault(),n.vertical=-1;break}[ze.left,ze.right,ze.up,ze.down].indexOf(i)>-1&&e.panViewport(5*n.horizontal,5*n.vertical)}),t.addEventListener("keyup",r=>{switch(r.which||r.keyCode){case ze.left:r.preventDefault(),n.horizontal=0;break;case ze.right:r.preventDefault(),n.horizontal=0;break;case ze.up:r.preventDefault(),n.vertical=0;break;case ze.down:r.preventDefault(),n.vertical=0;break}})}var Qa={dragging:!1,prevX:0,prevY:0},SM=null;function Pke(e,t){SM=SM||(o=>{if(e.state.expanded)if(o.buttons%2){o.preventDefault(),Qa.dragging=!0;let n=o.movementX||!isNaN(Qa.prevX)?o.screenX-Qa.prevX:0,r=o.movementY||!isNaN(Qa.prevY)?o.screenY-Qa.prevY:0;e.panViewport(n,r)}else Qa.dragging&&setTimeout(()=>{Qa.dragging=!1},0);else Qa.dragging=!1;Qa.prevX=o.screenX,Qa.prevY=o.screenY}),T.removeEventListener("mousemove",SM),T.addEventListener("mousemove",SM),t.addEventListener("dragstart",o=>{o.preventDefault()}),t.addEventListener("click",o=>{Qa.dragging||(o.preventDefault(),e.toggleExpand(o.offsetX,o.offsetY))})}var Ike=`
      `;function Lke(e,t){let o={touches:[]};t.addEventListener("touchstart",n=>{e.state.expanded&&(n.preventDefault(),Array.from(n.changedTouches).forEach(({identifier:r,screenX:i,screenY:s})=>{o.touches.push(Object.assign({},{identifier:r,screenX:i,screenY:s}))}))}),t.addEventListener("touchmove",n=>{if(e.state.expanded){n.preventDefault();let r=o.touches.map(l=>l.identifier),i=Array.from(n.changedTouches).filter(l=>l.identifier===o.touches[0].identifier);if(!i[0])return;let s=i[0].screenX-o.touches[0].screenX,a=i[0].screenY-o.touches[0].screenY;Array.from(n.changedTouches).forEach(l=>{let c=r.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 r=o.touches.map(i=>i.identifier);Array.from(n.changedTouches).forEach(({identifier:i})=>{o.touches.splice(r.indexOf(i),1)})})}function Rke(e,t,o){let n=Math.max(e,t);return Math.min(o,n)}var CM=class{constructor(){this.imageElement=null;this.imageContainer=null;this.state={expanded:!1}}open(t,{url:o,alt:n}){return new Promise(i=>{t.innerHTML=Ike,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&&(zke(this,this.imageElement.parentElement),Pke(this,this.imageElement.parentElement),Lke(this,this.imageElement.parentElement)),U.addEventListener("resize",()=>{this.state.expanded&&this.panViewport(0,0)},{passive:!0}),i(null))}),this.imageElement.src=o,this.imageElement.alt=n)})}close(){U.dispatchEvent(new CustomEvent(kM,{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,r=o/this.imageElement.clientHeight,{naturalWidth:i,naturalHeight:s}=this.imageElement,a=Math.round(n*i),l=Math.round(r*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=Rke(0,c,i-this.imageContainer.clientWidth),m=Rke(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,r=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,r+o)),this.imageElement.style.transform=`translate(${this.state.translationX}px, ${this.state.translationY}px)`}}};function Mke(){U.addEventListener(kM,e=>{let t=e.detail;we({behavior:le.REDUCE,actionType:Se.CLICKLEFT,content:{type:"lightbox-close",image:t.image}})})}function M6(e){Mke();let t="lightbox-enabled",o=Array.from(e.querySelectorAll('a[href$="#lightbox"]')),n=new CM;o.forEach(r=>{r.classList.add(t),r.setAttribute("data-bi-name","lightbox"),r.setAttribute("aria-haspopup","dialog"),Ot(r,"click",i=>{i.preventDefault();let s=document.createElement("div");s.classList.add("modal-content"),n.open(s,{url:r.href,alt:r.querySelector("img")?.alt??""}),new _e(s).show().then(()=>n.close()),s.insertAdjacentHTML("afterend",``)})})}A();var S6e=()=>`/${b.data.userLocale}${L.reviewFeatures?"/test/challenges":"/challenges"}`;function un(e,t,o,n){let r=new URL(location.href),i=new URLSearchParams(r.search),s=r;if(s.pathname=`${S6e()}/${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),i.has("preview")&&s.searchParams.set("preview",i.get("preview")??""),s.href}function $ke(){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"),r=document.getElementById("copy-challenge-form");return r&&(e=r.querySelector("#challenge-end-date"),t=r.querySelector("#challenge-start-date"),o=r.querySelector("#challenge-end-time"),n=r.querySelector("#challenge-start-time")),t&&e&&n&&o?{startDate:t,startTime:n,endDate:e,endTime:o}:null}function $6(e=!0){let{startDate:t,endDate:o}=$ke()||{};if(!(t&&o))return;let n=new Date(t.value);o.min=n.toISOString().split("T")[0],t.value&&o.value&&o.valued` `)}var Dke=b.data.userLocale,E6e=mt(),tf={async getChallenges(e,t,o=0,n=6){let r=`${M.lists}/challenge/${e}/${t}?${se({page:o+1,pageSize:n,locale:Dke})}`,s=Z(r,{method:"GET"}),a=await R(s);return me(a),a.ok?await a.json():null},async getChallenge(e){let t=`${M.lists}/challenge/${e}`,n=Z(t,{method:"GET"}),r=await R(n);return me(r),r.ok?await r.json():null},async getChallengeStatistics(e){let t=`${M.lists}/challenge/${e}/statistics`,n=Z(t,{method:"GET"}),r=await R(n);return me(r),r.ok?await r.json():null},async getChallengeLeaderboard(e,t=0,o=5){let n=`${M.lists}/challenge/${e}/leaderboard?${se({page:t+1,pageSize:o})}`,i=Z(n,{method:"GET"}),s=await R(i);return me(s),s.ok?await s.json():null},getChallengeCsv(e){return`${M.lists}/challenge/${e}/csv`},async createNewChallenge(e){let t=`${M.lists}/challenge`,n={method:"POST",body:JSON.stringify(e)},r=await R(Z(t,n));if(me(r),r.ok){let i=await r.json();return wr(i.contentList),{hasError:!1,data:i}}return r.status===400?{hasError:!0,error:await r.json()}:null},async updateChallenge(e,t){let o=`${M.lists}/challenge/${e}`,r={method:"PATCH",body:JSON.stringify(t)},i=await R(Z(o,r));if(me(i),i.ok){let s=await i.json();return wr(s.contentList),{hasError:!1,data:s}}return i.status===400?{hasError:!0,error:await i.json()}:null},async updateChallengeList(e,t){let o=`${M.lists}/challenge/${e}/list`,r={method:"PATCH",body:JSON.stringify(t)},i=await R(Z(o,r));if(me(i),i.ok){let s=await i.json();return wr(s.contentList),{hasError:!1,data:s}}return i.status===400?{hasError:!0,error:await i.json()}:null},async deleteChallenge(e){let t=`${M.lists}/challenge/${e}`,o=await R(Z(t,{method:"DELETE"}));if(me(o),!o.ok)throw new Error(`${o.status}: ${o.statusText}`)},async joinOrLeaveChallenge(e,t){let o=`${M.lists}/challenge/${e}/${t}`,n=Z(o,{method:"POST"},!0,!1),r=await R(n);return me(r),r.ok?{}:null},async getFacetProducts(){let e={branch:E6e,locale:Dke,facet:"products"},t=`${M.browse.learn}?${se(e,!0)}`,n=await R(Z(t,{method:"GET"}));if(n.ok){let r=await n.json();return!r||!r.facets||!r.facets.products?[]:r.facets.products}if(n.status===400){let r=await n.json();throw new Error(`${r.errorCode}: ${r.message}`)}return null}};A();A();A();A();var nr=lr(e=>t=>{t.setValue(e)});function N6({origin:e,protocol:t,hostname:o,port:n}){return e||(t&&o?`${t}//${o}${n&&n!=="443"&&n!=="80"?":"+n:""}`:location.origin)}A();var yto=6*60*60*1e3,z6e,_to=new Promise(e=>z6e=e);function Nke(e,{compareOrigin:t}={compareOrigin:!0}){let o=e.target instanceof HTMLElement&&e.target.closest("a"),n=!!o&&N6(o)===ee.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(au)||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 jke(){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 O6=class{constructor(){this.referrerStack=[];this.finished=Promise.resolve();this.handleClick=t=>{let{shouldHandle:o,anchor:n}=Nke(t);if(!o||!n.href)return;let r=new URL(n.href);this.delegate.canHandle(r)&&(t.preventDefault(),this.preserveBranch(this.currentUrl,r),this.navigateInternal(r,!0))};this.handlePopstate=()=>{let t=new URL(ee.href);this.routeChanged(t,this.currentUrl)?(this.referrerStack.pop(),this.navigateInternal(t,!1)):this.currentUrl=t};this.routeChanged=(t,o)=>{let n=t.pathname===o.pathname;for(let r of this.delegate.params)n=n&&t.searchParams.get(r)===o.searchParams.get(r);return!n}}enable(t,o=new URL(ee.href)){this.delegate=t,this.currentUrl=o,U.addEventListener("click",this.handleClick,!0),U.addEventListener("popstate",this.handlePopstate)}disable(){this.delegate=null,U.removeEventListener("click",this.handleClick,!0),U.removeEventListener("popstate",this.handlePopstate)}get enabled(){return!!this.delegate}async finishNavigating(){await this.finished}goto(t,o){if(!this.delegate)throw new Error("Router is not enabled.");if(t.origin!==ee.origin)throw new Error("Cross-origin navigation is not permitted");if(!this.delegate.canHandle(t))throw new Error(`Router delegate cannot handle "${t.href}".`);return this.preserveBranch(this.currentUrl,t),this.navigateInternal(t,o==="pushState")}preserveBranch(t,o){(L.supportLevel==="production"&&L.reviewFeatures||L.supportLevel==="development"&&L.accessLevel==="online")&&j6(["branch","themebranch","api-branch"],t,o),j6(["preview"],t,o),j6(["variant"],t,o)}navigateInternal(t,o){let n=async()=>{KI.splice(0,KI.length).forEach(a=>a()),lt.publish(new _h(t));let i=jke(),s=await this.delegate.handle(t);T.title=s.title,o?(Qn.pushState(void 0,s.title,s.url.href),this.referrerStack.push(s.url)):Qn.replaceState(void 0,s.title,s.url.href),U.scrollTo(0,0),Uk(t.hash),lt.publish(new bo(s.title,s.url,this.currentUrl)),i.remove(),this.currentUrl=t},r=this.finished.then(n);return this.finished=r.catch(()=>{}),r}},Pi=new O6;function j6(e,t,o){for(let n of e){let r=t.searchParams.get(n);r&&o.searchParams.set(n,r)}}function Uk(e){if(e.length<2)return;let t=T.body.querySelector(e);t&&t.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"})}function Xs(e){Array.from(e.querySelectorAll("[data-label]")).forEach(t=>{t.hidden=!0})}function Ro(e,t){let o=e.querySelector(`[data-label="${t}"]`);o!==null&&(o.hidden=!1)}function qo(e,t,o,n=U.location,r=b.data.userLocale,i){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(`/${r}/users/${e}/${t}${o?`/${o}`:""}${i?`/${i}`:""}${a}`,n.origin):l=new URL(`/${r}/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(ee.origin+ee.pathname+ee.search).searchParams,o=`/${b.data.userLocale}/${L.reviewFeatures?"test/":""}collections/${e}`;return new URL(o+"?"+t.toString(),ee.origin)}function F6(e){if(!e)throw new Error("The Plan ID does not exist and no linking URL will be created.");let t=new URL(ee.origin+ee.pathname+ee.search).searchParams,o=`/${b.data.userLocale}/${L.reviewFeatures?"test/":""}plans/${e}`;return new URL(o+"?"+t.toString(),ee.origin)}function U6(){return d`

      ${ju}

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

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

      `}function Uke(e){return AM(e?t1:vX,e?void 0:{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Ul?"/test":""}/training/browse/`}})}A();async function zM(e,t){let o=e.elements.namedItem("collection-title").value,n=e.elements.namedItem("collection-description").value,r=e.elements.namedItem("collection-privacy-checkbox").checked;e.querySelector("button[type=submit]").classList.add("is-loading"),Xs(e);try{let i=await xve({type:"collection",name:o,description:n,items:t,isPrivate:r});return qke(i,e)}catch(i){let s=i;return qke({hasError:!0,error:{errorCode:await em(s)||"UnexpectedError",message:s.message||""}},e)}}function qke(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"?Ro(t,"somethingWentWrong"):I6e(n,t),{hasError:!0}}return{hasError:!1,data:e.data}}function I6e(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(Au),o.reportValidity();return;case"InvalidDescription":n.setCustomValidity(Rw),n.reportValidity();return;case"DuplicateTitle":let r=CC.replace("{title}",o.value);o.setCustomValidity(r),o.reportValidity();return;default:return}}function qk(e,t,o,n,r,i=bc,s=!0,a=!1,l="",c=""){return d`

      ${e}

      ${xY}

      ${Vr}
      `}var PM=[],of={};function Hke(e,t,o,n="collection",r=()=>{}){return of={},d` `}async function L6e(e,t,o){let n=document.createElement("div");n.classList.add("modal-content");let r=MQ.replace("{userDisplayName}",S.displayName).replace("{index}",(o+1).toString()),s=d` `;return w(s,n),n.querySelector("button[type=submit]").onclick=async()=>{await R6e(e,t)},n}async function q6(e,t,o){let n=[],r="",i=[];if(o==="plan"){try{i=await vve()}catch{i=[]}n=i?.map(m=>m.contentList)??[],r=Dre}else if(o==="challenge")n=(await tf.getChallenges("created","all",0,100))?.challenges.filter(f=>!f.earlyRegistrationEnabled&&new Date(f.starts)>new Date)?.map(f=>f.contentList)||[],r=L7;else{let m=await wve(g=>g.type==="collection"||g.type==="bookmarks");m===null?r=ju:(n=m??[],r=qae)}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`

      ${r}

      `;return l&&(l.setAttribute("data-autofocus","data-autofocus"),(o==="plan"||o==="challenge")&&l.setAttribute("disabled","disabled")),w(m,a),[]}let c;try{let m=await ut.getAllListsByUrl([t]);m.hasError===!1&&(c=m.data)}catch{c=void 0}let u=c&&c.length>0?c[0]?.lists.filter(m=>o==="plan"?!gt(m.skillingPlanId)&&n.find(g=>g.skillingPlanId===m.skillingPlanId):o==="challenge"?!gt(m.learnChallengeId)&&n.find(g=>g.learnChallengeId===m.learnChallengeId):gt(m.skillingPlanId)&>(m.learnChallengeId)):[];PM=u;let p=d` ${n.map(m=>{let g=m.skillingPlanId??"";return d`
      `})}`;if(w(p,a),n.length===1&&n[0].id==="bookmarks"&&PM.length===0){let m=await x_(t);await ut.addItem("bookmarks",m)}return PM}async function R6e(e,t,o="collection"){event.preventDefault();let n=event.target;n.classList.add("is-loading");let r=x_(t),i=document.getElementById("save-to-collection");await zM(i).then(async s=>{s.hasError?n.classList.remove("is-loading"):(s=s,of[s.data.id]=r,Bke(e),PM=await q6(document.querySelector(".modal-card"),t,o))})}async function M6e(e,t,o){let n=event.target;if(n.checked){let r=x_(e);o[n.id]=r}else{let r=t.find(i=>i.listId===n.id);r?o[n.id]=r.id:o[n.id]&&delete o[n.id]}}function $6e(e){let t=Object.keys(e);return Promise.all(t.map(async o=>typeof e[o]!="string"?ut.addItem(o,await e[o]):ut.deleteItem(o,e[o])))}async function D6e(e,t,o){e.pushContent(await L6e(e,t,o))}function Bke(e){e.popContent()}A();A();var N6e=new Intl.NumberFormat(b.data.userLocale);function Mr(e){return N6e.format(e)}var Hk=new Intl.NumberFormat(b.data.userLocale,{notation:"compact",compactDisplay:"short"}),Bk=new Intl.NumberFormat(b.data.userLocale,{maximumFractionDigits:0}),j6e=new Intl.NumberFormat(b.data.userLocale,{style:"percent",maximumFractionDigits:0});var nf="Applied Skills";function Yo(e){return e.replace("{AppliedSkills}",nf)}var Gke={module:kr,"learning path":eN,certification:mc,examination:QK},IM={"applied skills":nf,certification:mc,examination:Br,course:$p};var H6=!1,Vke={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"}},O6e={bookmarks:{pressed:bV,unpressed:yV},collection:{pressed:wY,unpressed:vY},challenge:{pressed:D7,unpressed:N7},plan:{pressed:bte,unpressed:yte},studyguide:{pressed:qie,unpressed:Hie}};function LM(e,t){return`docon-${t?Vke[e].pressed:Vke[e].unpressed}`}function F6e(e,t,o){return O6e[e][t?"pressed":"unpressed"].replace(/\{title\}/g,o)}function U6e(e,t,o){let n=e?.querySelector("summary"),r=n?.querySelector(".add-to-collection-status");n?.querySelector(".docon")?.classList.remove(LM(o,!t)),n?.querySelector(".docon")?.classList.add(LM(o,t)),r&&(r.textContent=t?HS:uc)}function q6e(e,t,o,n){e.setAttribute("data-pressed",n.toString()),e.setAttribute("title",F6e(t,n,o));let r=e.querySelector(".docon");if(!r)throw new Error("Expected list button to contain a docon");if(r.classList.remove(LM(t,!n)),r.classList.add(LM(t,n)),e.closest(".popover")!==null){if(t==="collection"){let i=e.querySelector(".popover .collection-status");i&&(i.textContent=n?w1:v1)}else if(t==="plan"){let i=e.querySelector(".plan-status");i&&(i.textContent=n?fN:gN)}else if(t==="challenge"){let i=e.querySelector(".challenge-status");i&&(i.textContent=n?uC:e1)}}else{let i=e.querySelector(".collection-status:not(.popover *)");if(i){i.textContent=n?HS:uc;return}let s=e.querySelector(".popover .add-to-collection-status");s&&(s.textContent=n?HS:uc)}}async function $r(e){if(!e)return;if(!k.userServices){Array.from(e.querySelectorAll("button[data-list-type]")).forEach(i=>i.hidden=!0);return}let o=an(ee.pathname).indexOf("/training")!==-1||ee.href.indexOf("interests")!==-1;Array.from(e.querySelectorAll("button[data-list-type]:not(.popover *)")).forEach(r=>{H6e(r,o)}),Vk(e),e.querySelectorAll("button[data-list-type]").forEach(r=>{r.addEventListener("click",V6e)})}function H6e(e,t){let o=G6(e);if(o===null)return;let n=e.closest("#article-header"),r=t&&(o.resourceType==="learning path"||o.resourceType==="module"),i=T.createElement("details");i.classList.add("popover","popover-right","add-item-popover"),t&&e.parentElement&&e.parentElement.id==="module-actions"&&i.classList.remove("popover-right");let s=r?d` `:"",a=d`
      ${s}
      `;w(a,i),e.replaceWith(i)}var _p=[];async function Vk(e,t=S.isAuthenticated){let o=Array.from(e.querySelectorAll("button[data-list-type]")).map(a=>G6(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&&!_p?.length)try{let a=await ut.getAllListsByUrl(n);a.hasError===!1&&(_p=a.data)}catch{_p=void 0}let r=B6e(_p),i=a=>{a==="collection"?_p=Array.from(r.collectionAssociations):a==="plan"?_p=Array.from(r.planAssociations):a==="challenge"&&(_p=Array.from(r.challengeAssociations))};for(let{button:a,type:l,url:c,title:u}of o){i(l);let p=G6e(c,_p);q6e(a,l,u,p)}Array.from(e.querySelectorAll(".add-item-popover")).forEach(a=>{let l=a.querySelector(".popover-content .collection-status"),c=a.querySelector(".popover-content .plan-status"),u=a.querySelector(".popover-content .challenge-status"),p=l?.textContent===w1||c?.textContent===fN||u?.textContent===uC;U6e(a,p,"collection")})}function B6e(e){return(e??[]).reduce((t,o)=>(o.lists.forEach(n=>{!gt(n.skillingPlanId)&>(n.learnChallengeId)?t.planAssociations.add(o):!gt(n.learnChallengeId)&>(n.skillingPlanId)?t.challengeAssociations.add(o):gt(n.skillingPlanId)&>(n.learnChallengeId)&&t.collectionAssociations.add(o)}),t),{planAssociations:new Set,collectionAssociations:new Set,challengeAssociations:new Set})}function G6e(e,t){return t.findIndex(o=>o.url===e&&o.lists.length>0)!==-1}async function V6e(e,t=S.isAuthenticated){let o=G6(e.target);if(o!==null){if(e.preventDefault(),b.data.isPermissioned){ef(xC,dY);return}if(!t){let n=o.type==="plan"?$re:o.type==="challenge"?eW:S1;W6e(n);return}Q6e(o)}}function G6(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")||ee.href,r=t.getAttribute("data-list-item-title")||T.title,i=wk(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:i,title:r,pressed:s,source:a,resourceType:l}}async function W6e(e=S1){let o=fp(e,null,Qr);(await cn(o)).submitted&&Fo()}async function Q6e({button:e,url:t,title:o,type:n}){e.classList.contains("is-loading")||(e.classList.add("is-loading"),Y6e(t,o,n).catch().finally(()=>{e.classList.remove("is-loading")}))}function Gk(e="added",t=[],o="collection"){let n=T.querySelectorAll("#collections input:checked"),r=f=>e==="removed"&&t.length===1?t[0]:Be(n.item(0).getAttribute(f)),i;o==="plan"?n.length===1&&e==="added"?i=F6(r("data-plan-id")).href:e==="removed"&&t.length!==0?i=F6(t[0]).href:i=qo(S.userName,"plans").href:o==="challenge"?n.length===1?i=un(r("data-challenge-id"),"details"):e==="removed"&&t.length!==0?i=un(t[0],"details"):i=un("home"):n.length===1?i=wu(r("id")).href:i=qo(S.userName,"collections",e==="removed"&&t.length!==0?t.length===1?t[0]:"":n.length===1?Be(n.item(0).getAttribute("id")??""):"").href;let s=pY,a=mY,l=cY,c=uY;o==="plan"?(s=Tte,a=kte,l=Cte,c=Ete):o==="challenge"&&(s=J7,a=X7,l=tW,c=oW);let u={"is-hidden":!1},p;if(e==="added")p=(n.length!==1?a:s.replace("{collectionName}",Be(n.item(0).getAttribute("name")))).replace("{url}",i);else if(e==="removed"){let f=(T?.querySelector(`#collections input[${o==="plan"?"data-plan-":o==="challenge"?"data-challenge-":""}id="${t[0]}"]`)).getAttribute("name");p=(t.length>1?c:l.replace("{collectionName}",Be(f))).replace("{url}",i)}else p=o==="plan"?lne.replace("{url}",i):o==="challenge"?uC.replace("{url}",i):PQ.replace("{url}",i);let m=d`
      ${j(p)}
      `,g=T.createElement("div");w(m,g),new C_(g).show(),Vk(T.body)}async function Y6e(e,t,o){let n=T.querySelector(".modal");if(H6||n&&!n.querySelector(".page-actions-menu"))return!1;H6=!0;let r=T.createElement("div");r.classList.add("modal-content");let i=new _e(r),s=[];return w(Hke(i,t,e,o,()=>{K6e(s.map(a=>o==="plan"?a.skillingPlanId:o==="challenge"?a.learnChallengeId:a.listId),o)}),r),s=await q6(r,e,o),H6=!1,i.show()}function K6e(e,t){Vk(T.body);let o=Array.from(T.querySelectorAll("#collections input:checked")).map(i=>t==="plan"?i.attributes.getNamedItem("data-plan-id")?.value:t==="challenge"?i.attributes.getNamedItem("data-challenge-id")?.value:i.id),n=o.filter(i=>!e.includes(i)),r=e.filter(i=>!o.includes(i));n.length>0&&r.length===0?Gk("added",void 0,t):n.length===0&&r.length>0?Gk("removed",r,t):n.length>0&&r.length>0&&Gk("updated",void 0,t),$r(T.body)}A();function Qke(e){qa().then(t=>{let o=[],n=0;for(let i of t.products){let s=[];for(let{moniker:l,versionDisplayName:c}of i.packages)Bs(l)&&Ha[l]&&s.push(`${Pn(Be(c))}`);if(s.length===0)continue;let a=n===0?"propertyInfoTitle":"propertyInfoTitle stack";o.push(d`

      ${Be(i.displayName)}

      ${j(s.join(" "))}
      `),n++}let r=document.createElement("div");w(o,r),e.insertAdjacentElement("afterend",r)})}function Yke(){let e=document.querySelector(".moniker-applies-to-table"),t=Array.from(document.querySelectorAll(".moniker-applies-to-overloadmember"));!e&&t.length===0||qa().then(o=>{if(e){let n=e.parentElement?.parentElement?.getAttribute("data-moniker");(!n||n.trim()==="")&&(n=Ts("monikers").join(" "));let r="",i=e.parentElement?.parentElement?.querySelectorAll(".alert.is-danger");i&&i.length>0&&i.forEach(s=>{let a=s.getAttribute("data-moniker");a!==null&&a!==""&&(r+=a)}),Wke(e,o,n,r)}if(t.length!==0)for(let n of t){let r=n.parentElement.parentElement.parentElement.parentElement.getAttribute("data-moniker"),i=n.parentElement.parentElement.parentElement.parentElement.querySelectorAll(".alert.is-danger"),s="";i.forEach(a=>{let l=a.getAttribute("data-moniker");l!==null&&l!==""&&(s+=l)}),Wke(n,o,r,s)}})}function Wke(e,t,o,n){if(!e)return;let r=e.parentElement.querySelector("summary"),i=e.querySelector("thead"),s=[],a="",l="",c=0,u=!1;for(let f of t.products){let y=[],h=[],v="";for(let{moniker:_,versionDisplayName:x}of f.packages){let z=Pn(Be(x));n&&n.split(" ").indexOf(_)>0&&(h.push(z),u=!0),o&&o.split(" ").indexOf(_)>=0&&(c++,c===1?a=Be(f.displayName)+" "+z:c===2&&(l=Be(f.displayName)+" "+z),h.includes(z)||y.push(z))}y.length===0&&h.length===0||(y.length>0&&(y.reverse(),v=y.join(", ")+" "),h.length>0&&(h.reverse(),v=v+"("+h.join(", ")+")"),s.push(d` ${Be(f.displayName)} ${j(v)} `))}if(s.length===0)return;r&&(c===1?r.textContent=a:c===2?r.textContent=rV.replace("{version1}",a).replace("{version2}",l):c>=3&&(r.textContent=nV.replace("{version}",a)));let p=zae;u&&(p=p+" "+oV+"");let m=d` ${Yf} ${j(p)} `;w(m,i);let g=document.createElement("tbody");w(s,g),i.insertAdjacentElement("afterend",g)}function Kke(){let e=st();if(e==="")return;let t=document.querySelector(".moniker-display-boilerplate");t&&qa().then(o=>{for(let n of o.products)for(let{moniker:r,isPrerelease:i}of n.packages)if(e===r&&Bs(r)&&Ha[r]&&i){t.classList.remove("is-hidden");return}})}function RM(){let e=st();if(!Bs(e))return!1;Z6e(e);let t=J6e(T.body);return X6e(t,e),rp(),zt(),!0}var Zke=T.createElement("style");T.head.appendChild(Zke);function Z6e(e){Zke.textContent=` [data-moniker]:not([data-moniker~='${e}']) { display: none !important; } `;let t=T.querySelectorAll(`[data-moniker~='${e}'] [data-id]`);for(let n=0;nt5e(e)),U.addEventListener(MH,o5e)}var Dr={dotnet:{displayName:".NET",validSearchTerm:/^[A-Za-z_][A-Za-z0-9.<>,_]{2,255}$/,namespaceItemType:"Namespace",namespacesPath:"namespaces",monikerPickerLabel:WS,allApisLabel:GS,resultsHeadingTemplate:QS,selectLabel:C0},java:{displayName:"Java",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,]{2,255}$/,namespaceItemType:"Package",namespacesPath:"namespaces",monikerPickerLabel:WS,allApisLabel:GS,resultsHeadingTemplate:QS,selectLabel:C0},javascript:{displayName:"JavaScript",validSearchTerm:/^[A-Za-z@][A-Za-z0-9.<>,!\/\-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:e0,allApisLabel:VS,resultsHeadingTemplate:nN,selectLabel:S0},powershell:{displayName:"PowerShell",validSearchTerm:/^[A-Za-z][A-Za-z0-9.-]{2,255}$/,namespaceItemType:"Module",namespacesPath:"modules",monikerPickerLabel:e0,allApisLabel:VS,resultsHeadingTemplate:gX,selectLabel:S0},python:{displayName:"Python",validSearchTerm:/^[A-Za-z][A-Za-z0-9.<>,_-]{2,255}$/,namespaceItemType:"Package",namespacesPath:"packages",monikerPickerLabel:e0,allApisLabel:VS,resultsHeadingTemplate:nN,selectLabel:S0},rest:{displayName:"REST",validSearchTerm:/^[A-Za-z ]{3,255}$/,namespaceItemType:"",namespacesPath:"services",monikerPickerLabel:WS,allApisLabel:GS,resultsHeadingTemplate:QS,selectLabel:C0}};var Dt=P("platform")||P("apiPlatform")||null,V6;function Xl(){return V6===void 0&&(V6=dhe(Dt).then(n5e)),V6}function n5e(e){let{platformId:t,families:o}=e,n=[],r={},i=[];for(let s of o)for(let a of s.products){i.push(a);for(let l of a.packages){let{moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f}=l,y={platform:e,family:s,product:a,moniker:c,displayName:u,versionDisplayName:p,isDefault:m,isDeprecated:g,isPrerelease:f};n.push(y),r[y.moniker]=y}}return{platformId:t,families:o,products:i,packages:n,packagesByMoniker:r}}var Wk=Dr[Dt],Qk=!1;function nSe(e){let{element:t,button:o,buttonDisplayedValue:n,productList:r}=r5e();function i(c){c.target instanceof Element&&!t.contains(c.target)&&s()}function s(){T.documentElement.classList.remove("moniker-picker-expanded"),t.classList.remove("expanded"),o.setAttribute("aria-expanded","false"),U.removeEventListener("focus",i,{capture:!0}),U.removeEventListener("click",i),fb.removeListener(s)}function a(){s(),o.focus()}function l(){T.body.removeAttribute("style"),T.documentElement.classList.add("moniker-picker-expanded"),t.classList.add("expanded"),o.setAttribute("aria-expanded","true"),U.addEventListener("focus",i,{capture:!0}),U.addEventListener("click",i),fb.addListener(s)}return i5e(e,o,n,r),l5e(o,r,l,a),c5e(r,a),u5e(r,a),t}function r5e(){let e=T.createElement("div");e.classList.add("moniker-picker"),e.setAttribute(Eo.name,"moniker-picker"),e.setAttribute("role","application ");let t=Xe(),o=Xe();return e.innerHTML=` `,{element:e,button:e.firstElementChild,buttonDisplayedValue:e.firstElementChild.lastElementChild,productList:e.lastElementChild.lastElementChild}}function i5e(e,t,o,n){return Dt==="rest"&&(Qk=!0),e?Xl().then(r=>{r.packagesByMoniker[st()]===void 0&&ep("");let i=()=>{let s=st();s===""?o.textContent=Wk.allApisLabel:o.innerHTML=Pn(Be(r.packagesByMoniker[s].displayName))};U.addEventListener(Lr,i),i(),s5e(n);for(let s of r.families)eSe(s.products,n)}):qa().then(r=>{Qk=r.products.length===1,Qk&&r.products[0].packages.length===1&&(t.disabled=!0);let i=()=>{let s=st();o.innerHTML=Pn(Be($y(r,s).displayName))};U.addEventListener(Lr,i),i(),eSe(r.products,n)})}function s5e(e){let t=Wk.allApisLabel;e.insertAdjacentHTML("afterbegin",`
    • ${t}
    • `)}function eSe(e,t){if(Qk){tSe(e[0].packages,t);return}for(let{displayName:o,packages:n}of e){let r=Xe(),i=Xe();t.insertAdjacentHTML("beforeend",`
    • `);let s=t.lastElementChild.lastElementChild,a=s.lastElementChild;tSe(n,a),s.insertAdjacentHTML("beforeend",'');let l=s.lastElementChild;n.find(u=>/^azurermps/.test(u.moniker))&&l.insertAdjacentHTML("beforeend",`${Be(uJ)}`);let c=P("archive_url");c&&l.insertAdjacentHTML("beforeend",`${Be(Pf)}`)}}function tSe(e,t){for(let{moniker:o,isDefault:n,versionDisplayName:r}of e)t.insertAdjacentHTML("beforeend",`
    • ${Be(r)}
    • `)}function a5e(e){Array.from(e.querySelectorAll("button.versions")).forEach(o=>{o.setAttribute("aria-expanded","false")})}function $M(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 r=T.getElementById(t.getAttribute("aria-controls"));if(!r)return;let i=r.querySelector('a[role="menuitem"]');i!==null&&i.focus()},300)},100))}function rSe(e,t){return e.querySelector(`a[href="http://approjects.co.za/?big=?view=${t}"]`)}function oSe(e){let t=e.nextElementSibling,o=rSe(t,st()),n=t.querySelector('a[href^="?view="][data-default="true"]'),r=t.querySelector('a[href^="?view="]');return o||n||r}function iSe(e){return e.search==="?view="||Qk?null:e.parentElement.parentElement.parentElement.previousElementSibling}function l5e(e,t,o,n){let r=()=>{o();let i=st(),s=rSe(t,i),a=iSe(s);$M(t,a,!1),setTimeout(()=>{a!==null&&a.scrollIntoView(!1),s.scrollIntoView(!1),setTimeout(()=>{s.focus()},100)})};e.addEventListener("click",()=>{e.getAttribute("aria-expanded")==="false"?r():n()}),e.addEventListener("keydown",i=>{let s=e.getAttribute("aria-expanded")==="true";s&&i.keyCode===ze.up?(i.preventDefault(),n()):!s&&i.keyCode===ze.down&&(i.preventDefault(),r())})}function c5e(e,t){e.addEventListener("keydown",o=>{let n=o.target;if(n.getAttribute("role")!=="menuitem")return;let r=o.keyCode,i;switch(r){case ze.left:n instanceof HTMLAnchorElement&&n.search!=="?view="&&(o.preventDefault(),iSe(n).focus(),a5e(e));break;case ze.right:n instanceof HTMLButtonElement&&n.hasAttribute("aria-controls")&&(o.preventDefault(),oSe(n).focus(),fb.matches||$M(e,n instanceof HTMLButtonElement?n:null,!0));break;case ze.up:case ze.down:o.preventDefault();let s=r===ze.up?"previousElementSibling":"nextElementSibling",a=r===ze.up?"lastElementChild":"firstElementChild";n.parentElement[s]===null?i=n.parentElement.parentElement[a].firstElementChild:i=n.parentElement[s].firstElementChild,i.focus(),!fb.matches&&n instanceof HTMLButtonElement&&n.getAttribute("aria-expanded")==="true"&&(o.preventDefault(),oSe(n).focus());break;case ze.home:case ze.end:o.preventDefault();let l=r===ze.home?"firstElementChild":"lastElementChild";i=n.parentElement.parentElement[l].firstElementChild,i.focus(),i.parentElement.parentElement===e&&$M(e,i instanceof HTMLButtonElement?i:null,!0);break;case ze.escape:o.preventDefault(),t();break}})}function u5e(e,t){e.addEventListener("click",o=>{let n=o.target;if(n.getAttribute("role")==="menuitem"){if(n instanceof HTMLAnchorElement){o.preventDefault();let r=re(n.search).view;ep(r),t();return}n instanceof HTMLButtonElement&&(!fb.matches&&n.getAttribute("aria-expanded")==="true"?n.setAttribute("aria-expanded","false"):$M(e,n,!0),n.focus())}})}A();A();var ss=b.data.pageTemplate,vu=P("page_type"),d5e=P("page_kind"),W6=P("pagetype"),p5e=P("interactive_type"),rf=Ha.any||ss==="Conceptual"&&W6==="Reference"&&Dt!==null||ss==="Conceptual"&&vu==="powershell"&&Dt!==null||ss==="Conceptual"&&W6==="Conceptual"&&Dt==="powershell"||ss==="Conceptual"&&vu==="conceptual"&&Dt==="powershell"||(ss==="Conceptual"&&vu==="conceptual"||ss==="Reference"&&vu==="python")&&Dt==="python"||(ss==="Conceptual"&&vu==="conceptual"||ss==="Reference"&&vu==="cli")&&p5e==="azurecli"||ss==="Reference"&&vu==="powershell"&&Dt!==null||ss==="Reference"&&vu==="azure-cli"&&d5e==="group",sSe=ss==="Reference"&&Dt!==null||ss==="Conceptual"&&W6==="Reference"&&Dt!==null||ss==="Conceptual"&&vu==="powershell"&&Dt!==null;function aSe(){rf&&MM(!0)}function m5e(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"),w(d`

      ${e||qf}

      `,t),t}var ec;function Q6(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 r=m5e(t),i=["margin-xs"];rf&&st()&&(i=["margin-inline-xs","margin-bottom-xs","margin-top-none"]),e(r,i,["padding-inline-xs","padding-top-xs"],["padding-inline-xs","padding-top-xs","border-top"],["modal-close","border"]);let c=new _e(r);ec=c,c.show().then(()=>{ec=void 0,window.removeEventListener("resize",p)});let u=window.innerWidth;function p(){window.innerWidth!==u&&(window.removeEventListener("resize",p),c.hide())}window.addEventListener("resize",p,{passive:!0})})}function cSe(){let e=L.supportLevel==="production"&&L.reviewFeatures||L.supportLevel==="development"&&L.accessLevel==="online"||L.accessLevel==="local",t=new URLSearchParams(location.search).get("experimental_moniker_picker")==="true",o=P("experimental_moniker_picker")==="true";return e&&(o||t)}function DM(e){let t=document.createElement("div");return t.classList.add("moniker-picker2","margin-right-sm"),t.setAttribute("data-bi-name","moniker-picker"),w(Yk(e),t),e?Xl().then(o=>{w(Yk(e,null,o),t),addEventListener(Lr,()=>w(Yk(e,null,o),t))}):qa().then(o=>{w(Yk(e,o),t),addEventListener(Lr,()=>w(Yk(e,o),t))}),t}function Yk(e,t,o){let n=Xe(),r=`${n}-picker-label`,i=P("archive_url"),s=t&&t.products.length===1,a=c=>{if(ec){c.preventDefault(),c.stopPropagation();let u=document.createElement("div");u.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),w(g5e(t),u),ec.pushContent(u)}},l=c=>{let u,p=st();return c&&p===""?u=Dr[Dt].allApisLabel:c?u=o.packagesByMoniker[p].displayName:u=t?$y(t,p).displayName:"",u};return d` ${ch} `}function lSe(e){let t=Xe(),o=b.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light",n=b.data.userDir==="ltr"?"text-align-left":"is-text-right",r=P("archive_url");return d` ${e.packages.length!==1?d``:d`
    • ${e.packages[0].displayName}
    • `} `}function uSe(e){let t=b.data.userDir==="ltr"?"text-align-left":"is-text-right";return d`
    • ${e.versionDisplayName}
    • `}function g5e(e){let t=e&&e.products.length===1;return d` ${t?d`${dSe(e.products[0])}`:d` ${pSe(Kf)} ${mSe(qf)}
        ${e&&e.products?e.products.map(o=>f5e(o)):""}
      `} `}function f5e(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 dSe(e){let t=Xe(),o=P("archive_url");return d` ${pSe(e.displayName)} ${mSe(Kf)}
      `}function pSe(e){return d`

      ${e}

      `}function mSe(e){let t=b.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right";return d`
      `}function h5e(e){if(ec){let t=document.createElement("div");t.classList.add("modal-content","is-docked-left","display-flex","flex-direction-column"),w(dSe(e),t),ec.pushContent(t)}}function NM(e){let t=e.target;if(t instanceof HTMLAnchorElement){e.preventDefault();let o=re(t.search).view;ep(o),ec?ec.hide():(D3(t),D3(t));return}}function jM(e){let t=st();return e===t?"true":void 0}var gSe="api-search-quick-filter";function fSe(){return Xl().then(e=>{let t=e.packagesByMoniker,o=!1,n=i=>(P(i)||"").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})),r=[n("quickFilterColumn1"),n("quickFilterColumn2"),n("quickFilterColumn3")];return{any:o,columns:r}})}function hSe(e){let t=T.createElement("div");t.classList.add(gSe),t.setAttribute(Eo.name,gSe);let o=T.createElement("h2");o.textContent=qee,o.classList.add("api-search-heading","font-size-h3"),t.appendChild(o);for(let n of e.columns){let r=T.createElement("div");t.appendChild(r);for(let{moniker:i,displayName:s}of n){let a=T.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",()=>{Yt(a,{actionType:Se.OTHER,behavior:le.OTHER,content:{event:"api-browser-quickfilter",value:i,platform:Dt}}),ep(i)}),r.appendChild(a)}}return t}function bSe(e,t,o="en-us"){if(e==="rest")return b5e(t);let n=Dr[e].namespacesPath;return R(`${M.apiBrowser}/${encodeURIComponent(e)}/${n}?moniker=${encodeURIComponent(t)}&api-version=0.2&locale=${o}`).then(r=>r.json())}function b5e(e){return LH().then(t=>y5e(t,e))}function y5e(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:Bre}))}}function OM(e,t,o,n="en-us"){if(e==="rest")return _5e(n,"",t,o+"*",0,25);let r=`${M.apiBrowser}/${e}/search?api-version=0.2&search=${encodeURIComponent(o)}&locale=${n}`;return t!==""&&(r+=`&$filter=monikers/any(t: t eq '${encodeURIComponent(t)}')`),R(r).then(i=>i.json())}function _5e(e,t,o,n,r,i){let s=`${M.siteSearch}?locale=${e}&search=${n}&$skip=${r}&$top=${i}`,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)}`),R(s).then(c=>c.json()).then(Y6)}function Y6(e){return{count:e.count,"@nextLink":e["@nextLink"],results:e.results.map(t=>({displayName:t.title,url:t.url,description:t.description,itemType:null,itemKind:null}))}}A();var FM=Dr[Dt],Kk=[];function _Se(e,t){Kk.push({container:e,renderHeading:t})}function UM(e,t,o){T.documentElement.classList.add("api-search-has-results");for(let{container:n,renderHeading:r}of Kk){if(n.innerHTML="",t.length===0){let u=Dt==="rest"?xX:$o;n.insertAdjacentHTML("afterbegin",`
      ${u}
      `);return}r&&w5e(n,e);let i=T.createElement("table");i.classList.add("table","api-search-results"),i.setAttribute(Eo.name,"api-search-results");let s=T.createElement("thead");i.appendChild(s);let a=T.createElement("tr");s.appendChild(a);let l=T.createElement("th");l.textContent=bX,a.appendChild(l),l=T.createElement("th"),l.textContent=jf,a.appendChild(l);let c=T.createElement("tbody");if(i.appendChild(c),ySe(c,t),n.appendChild(i),o&&r){let u=T.createElement("button");u.classList.add("more-button","button"),u.textContent=GJ,u.setAttribute(Eo.name,"api-browser-load-more-results"),u.addEventListener("click",()=>{R(o).then(p=>p.json()).then(p=>{e.platformId==="rest"&&(p=Y6(p)),o=p["@nextLink"],o===void 0&&n.removeChild(u),ySe(c,p.results)})}),n.appendChild(u)}}}function ySe(e,t){let o=T.createElement("div"),n=i=>(w(d`${i}`,o),o.textContent!=="null"?o.textContent:""),r=st();for(let i of t){let s=i.itemKind||i.itemType||FM.namespaceItemType,a=T.createElement("tr");e.appendChild(a);let l=T.createElement("td"),c=T.createElement("a");c.href=Z6(i.url,r);let u=d`${j(Pn(i.displayName.replace(//g,">")))}`;w(u,c);let p=T.createElement("span");p.textContent=" "+s,l.appendChild(c),l.appendChild(p),a.appendChild(l),l=T.createElement("td"),l.textContent=n(i.description),a.appendChild(l),a.appendChild(l)}}function K6(){T.documentElement.classList.add("api-search-has-results");for(let{container:e}of Kk){let t=d`
      `;w(t,e)}}function qM(e){T.documentElement.classList.add("api-search-has-results");for(let{container:t}of Kk)t.textContent=e}function wSe(){T.documentElement.classList.remove("api-search-has-results");for(let{container:e}of Kk)e.innerHTML=""}function w5e(e,t){let o=st(),n,r;if(o==="")n=Dr[Dt].displayName,r=null;else{let a=t.packagesByMoniker[o];n=a.product.displayName,r=a.versionDisplayName}let i=T.createElement("h2");i.classList.add("api-search-results-heading","font-size-h3");let s=d`${FM.resultsHeadingTemplate.replace("{platformName}",n)}`;if(w(s,i),r!==null&&Dt==="rest"){let a=d`${j(`${Be(o)} REST ${FM.resultsHeadingTemplate.replace("{platformName}",n)}`)}`;w(a,i)}else if(r!==null){let a=d`${j(`${FM.resultsHeadingTemplate.replace("{platformName}",n)} version ${Be(r)}`)}`;w(a,i)}e.appendChild(i)}function Z6(e,t){if(t!==""&&!/[?&]view=/i.test(e)){let[n,r]=e.split("#");r=r===void 0?"":"#"+r,e=Dt==="rest"?`${n}${r}`:`${n}?view=${encodeURIComponent(t)}${r}`}let o=new URL(e,location.origin);return e=`${o.pathname}${o.search}${o.hash}`,Dt!=="rest"&&(e=`/${b.data.userLocale}${e}`),e}var sf="api-search-term-changed",G_="";function af(){return G_}function J6(e){e=e.trim(),e!==G_&&(G_=e,(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&Ht({term:G_},"pushState"),window.dispatchEvent(new CustomEvent(sf,{detail:{term:G_}})))}function vSe(){let e=re().term;return e===void 0?"":e.trim()}(b.data.pageTemplate==="ApiBrowserPage"||b.data.pageTemplate==="AdminModeration")&&(G_=vSe(),window.addEventListener("popstate",()=>J6(vSe())));function xSe(){U.addEventListener(sf,X6),U.addEventListener(Lr,X6),b.data.pageTemplate==="ApiBrowserPage"&&X6()}var HM="";function X6(){let e=af(),t=st(),o=`${e}/${t}`;return o===HM?Promise.resolve():(HM=o,b.data.pageTemplate==="ApiBrowserPage"&&t!==""&&e===""?(K6(),Promise.all([bSe(Dt,t,b.data.userLocale),Xl()]).then(([n,r])=>{if(o===HM){if(n.apiItems.length===0){qM($o);return}UM(r,n.apiItems,null)}},()=>{qM(WD)})):e.length<3?(wSe(),Promise.resolve()):Dr[Dt].validSearchTerm.test(e)?(K6(),Promise.all([OM(Dt,t,e,b.data.userLocale),Xl()]).then(([n,r])=>{o===HM&&(e5(t,e,n.results.length),UM(r,n.results,n["@nextLink"]))},()=>{qM(WD)})):Xl().then(n=>UM(n,[],null)))}function e5(e,t,o){we({actionType:Se.OTHER,behavior:le.SEARCH,content:{event:"api-browser-search",platform:Dt,moniker:e,term:t,results:o}})}var TSe="api-search-field";function kSe(){let e=T.createElement("form");e.classList.add(TSe,"margin-top-xxs"),e.setAttribute(Eo.name,TSe),e.action="javascript:",e.addEventListener("submit",l=>l.preventDefault());let t=T.createElement("label"),o=T.createElement("span");o.classList.add("visually-hidden"),o.textContent=so,t.appendChild(o),e.appendChild(t);let n=T.createElement("input");n.type="search",n.classList.add("input","input-lg","padding-right-sm"),n.value=af(),n.placeholder=so,t.appendChild(n);let r=T.createElement("a");r.href="http://approjects.co.za/?big=#",r.title=YW,r.classList.add("clear"),r.addEventListener("click",l=>{l.preventDefault(),n.value="",n.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}),t.appendChild(r);let i=()=>{n.value===""?n.classList.add("empty"):n.classList.remove("empty")};i();let s=0,a=()=>{i(),clearTimeout(s),s=setTimeout(()=>J6(n.value),500)};return n.addEventListener("change",a),n.addEventListener("input",a),U.addEventListener(sf,()=>{let l=af();n.value.trim()!==l&&(n.value=l,i())}),e}function SSe(){if(!k.apiBrowser)return;MM(),xSe();let e=T.querySelector("#api-browser-search-field-container");if(!e)return;let t=!0;cSe()?e.appendChild(DM(t)):e.appendChild(nSe(t)),e.appendChild(kSe()),fSe().then(i=>{if(!i.any)return;let s=hSe(i);e.appendChild(s)});let o=T.querySelector("#api-browser-results-container");if(!o)return;_Se(o,!0);let r=()=>{let i=st()===""&&af()===""?"remove":"add";T.documentElement.classList[i]("has-moniker-or-term")};r(),window.addEventListener(Lr,r),window.addEventListener(sf,r)}var CSe="renewalassessment-session-disclaimer",ESe="https://review.learn.microsoft.com/en-us/rest/api/learn/?view=rest-learn-2023-11-01-preview&branch=main";var v5e=M.assessments,xso=`${v5e}/sessions`;A();function BM(e,t=Uf,o=yc,n=eae){return fp(Xa,e?t.replace("{itemTitle}",e):n,o)}function GM(e=Do,t){return fp(XQ,"",e,!0,t)}function VM(e=oY){return d` `}function PSe(e=SC,t=Mp){return fp(LQ,e,t)}function ISe(e=IC,t=zC){return fp(oQ,e,t)}var YM=(i=>(i.facebook="facebook",i.twitter="twitter",i.linkedin="linkedin",i.email="email",i.weibo="weibo",i))(YM||{}),z5e={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 Jk(e,t,o){let n=encodeURIComponent(t),r=new URL(e);r.hostname="learn.microsoft.com";let i=r.href+=(e.indexOf("?")!==-1?"&":"?")+"WT.mc_id=",s=S.sharingId?`&sharingId=${S.sharingId}`:"",a=!!o?.achievementCopyTitle?.overrideTitle;return Object.values(YM).reduce((c,u)=>{if(b.data.isPermissioned)return c[u]="#",c;let p=encodeURIComponent(i+u+s),m=o?.achievementCopyTitle?.overrideTitle??t,g=encodeURIComponent(Gre.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(A0).replace(encodeURIComponent("{articleTitle}"),n)},y=Object.entries(f).reduce((h,[v,_])=>h.replace(new RegExp(`{${v}}`,"g"),_),z5e[u]);return c[u]=y,c},{})}function KM(e,t,o){Object.values(YM).forEach(n=>{let r=Jk(t,o);e.querySelectorAll(`.share-${n}`).forEach(i=>{r[n]==="#"&&fke(i,Wre,Qre),i.href=r[n]})})}function MSe(){document.querySelectorAll("div.sharing").forEach(e=>e.remove())}A();function lf(e,t="is-centered margin-top-sm margin-bottom-xs"){if(!e.pageCount)return null;let o=Array.from({length:e.pageCount},(m,g)=>g),n=e.pageIndex,r=!1,i=1,s={first:0,last:o.length-1};o.length>=7&&(r=!0,n<3?(i=3,s.first=0,s.last=3):n>o.length-4?(i=3,s.first=o.length-4,s.last=s.first+i):(i=1,s={first:Math.max(e.pageIndex-i,0),last:Math.min(e.pageIndex+i,o.length-2)}));let a=d` `,l=d` `,c=d` `,u=d` `,p=[];for(let m=s.first;m<=s.last;m++)p.push(d`
    • `);return d` `}A();A();function JM(e,t=jSe,o=L5e){if(!e)return;let n=R5e(e),r=t();n.length||(n=Array.from(document.querySelectorAll("body"))),n.forEach(i=>{let s=M5e(i),a=$5e(i),l=s.map(c=>c.id);s.forEach(c=>{typeof r=="string"?l.indexOf(r)!==-1&&ZM(r,c,a):l.indexOf(r[i.id])!==-1?ZM(r[i.id],c,a):l.indexOf(r.tab)!==-1?ZM(r.tab,c,a):ZM(s[0].id,c,a),c.onclick=()=>{I5e(c.id,i),o(c.id,i.id||"tab")},c.onkeydown=u=>{let p=u.which;if(!u.altKey&&(p===ze.left||p===ze.right||p===ze.home||p===ze.end)){u.preventDefault();let m=p===ze.left||p===ze.home,g;if(u.ctrlKey||p===ze.home||p===ze.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(y=>y.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 I5e(e,t){let o=t.querySelector(`#${e}`);if(o===null)return;let n=Array.from(t.querySelectorAll(":scope > .tabs .tab-control")),r=Array.from(t.querySelectorAll(":scope > [data-tab-content]"));n.forEach(i=>{i!==o&&(i.parentElement.classList.remove("is-active"),i.setAttribute("aria-selected","false"),i.setAttribute("tabindex","-1"))}),o.parentElement.classList.add("is-active"),o.setAttribute("aria-selected","true"),o.setAttribute("tabindex","0"),OSe(o.getAttribute("aria-controls"),r)}function L5e(e,t){t||(t="tab");let o=`{"${t}": "${e}"}`;Ht(JSON.parse(o),"replaceState")}function jSe(){let e=re();for(let t in e)t.slice(0,3)!=="tab"&&delete e[t];return e}function ZM(e,t,o){e===t.id?(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.parentElement.classList.add("is-active"),OSe(t.getAttribute("aria-controls"),o)):(t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),t.parentElement.classList.remove("is-active"))}function OSe(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 R5e(e){return Array.from(e.querySelectorAll(".tabs-container"))}function M5e(e){return Array.from(e.querySelectorAll(":scope > .tabs .tab-control"))}function $5e(e){return Array.from(e.querySelectorAll(":scope > [data-tab-content]"))}A();var oc=class oc{static async render(t,o){return await oc.ensureFrappeChartsIsLoaded(),oc.frappeLibrary?new oc.frappeLibrary.Chart(t,o):null}static async ensureFrappeChartsIsLoaded(){let t=`${oc.thirdPartyUrl}/frappe-charts/1.5.2/frappe-charts.min.iife.js`;return oc.frappeLibrary||(oc.frappeLibrary=await Ks(t,"sha384-J742xhkMgA0pI8dwp+aANFethNYix5bapYzKZsz8z2Df+xqxLYImpGZddI2+ztIZ","frappe")),oc.frappeLibrary}};oc.thirdPartyUrl="/static/third-party";var XM=oc;A();Ge();A();Ge();A();var G5e=e=>e.isAnswered?"docon-check has-text-success":e.isRequired?"docon-asterisk-solid has-text-danger":"docon-location-circle",V5e=e=>e.isAnswered?Oee:e.isRequired?Fee:Uee,W5e=(e,t)=>d` ${V5e(e)} ${j(t.render(e.title||e.id))}`,e$=class{constructor(){this.md=up}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 w(W5e(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){}};Ge();function HSe(e,t,o){return Q5e(e,t,o,!0)}function n5(e){let t=e.querySelector(".tree-item.is-selected");t||(t=Q_(e)?e.querySelector(".tree-item"):e.querySelector(".tree-item.tree-leaf")),t&&W_(t)}function BSe(e,t){e.addEventListener("focus",K5e,!0),e.addEventListener("click",o=>Z5e(o,t),!0),e.addEventListener("keydown",o=>J5e(o,t),!0)}function Q5e(e,t,o,n){let r=document.createElement("ul");return r.classList.add("tree"),r.setAttribute("role","tree"),r.setAttribute("aria-label",o),r.setAttribute("data-bi-name","tree"),r.setAttribute("data-is-collapsible",n?"true":"false"),GSe(r,e,t),n5(r),BSe(r,t),r}function GSe(e,t,o,n=1,r){let i=Q_(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=(r?`${r}_`:"title-")+`${s}-${n}`;USe(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),i&&l.setAttribute("aria-expanded","false");let g=document.createElement("span");l.appendChild(g),g.setAttribute("data-bi-name","tree-expander"),i&&(g.className="tree-expander"),g.insertAdjacentHTML("beforeend",u),(!i||o.isExpanded(a))&&V_(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"),!i&&e.parentElement&&e.parentElement.id&&c.setAttribute("aria-describedby",e.parentElement.id),l.setAttribute("role","none"),USe(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)&&Y5e(c,o.icon(a)),s++}}function USe(e,t){e.node=t}function VSe(e){return e.node}function Y5e(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 Q_(e){return e.closest(".tree").getAttribute("data-is-collapsible")!=="false"}function WSe(e){return e?.getAttribute("aria-expanded")==="true"||!Q_(e)}function V_(e,t,o){let n=e.getAttribute("aria-level"),i=(n?parseInt(n,10):1)+1;if(!Q_(e)&&!t||(e.setAttribute("aria-expanded",t.toString()),!t||e.lastElementChild instanceof HTMLUListElement))return;let a=VSe(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);GSe(l,u,o,i,c)}function W_(e){let t=e.closest(".tree");Array.from(t.querySelectorAll('[tabindex="0"]')).forEach(o=>o.setAttribute("tabindex","-1")),e.setAttribute("tabindex","0")}function qSe(e,t){let o=e.closest(".tree"),r=Q_(e)?':not([aria-expanded="false"]) [role="treeitem"]':'[role="treeitem"] .tree-leaf',i=Array.from(o.querySelectorAll(r));t==="preceding"&&i.reverse();let s=t==="preceding"?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING;return i.find(a=>e.compareDocumentPosition(a)&s&&a.closest('.tree [aria-expanded="false"] [role="treeitem"]')!==a&&QSe(a.closest("li")))}function QSe(e){return window.getComputedStyle(e).display!=="none"}function K5e({target:e}){let t=e instanceof HTMLElement&&e.closest('[role="treeitem"]');t&&W_(t)}function Z5e({target:e},t){let{REDUCE:o,EXPAND:n}=le,{CLICKLEFT:r}=Se,i=e instanceof HTMLElement&&e.closest(".tree-expander, a");if(!i)return;let s;if(i instanceof HTMLAnchorElement)s=i;else{s=i.parentElement;let c=WSe(s);V_(s,!c,t),Yt(e,{behavior:c?o:n,actionType:r})}let a=VSe(s),l=new CustomEvent("tree-item-clicked",{detail:a,bubbles:!0});i.closest(".tree").dispatchEvent(l)}function J5e(e,t){let{target:o,keyCode:n,shiftKey:r,altKey:i,ctrlKey:s}=e,{REDUCE:a,EXPAND:l}=le,{KEYBOARDENTER:c,KEYBOARDSPACE:u,OTHER:p}=Se;if(i||s||r&&n!==ze.eight&&!(n>=ze.a&&n<=ze.b))return;let m=o instanceof HTMLElement&&o.closest('[role="treeitem"]');if(!m)return;let g=m instanceof HTMLAnchorElement,f=!g&&WSe(m),y=Q_(m);if(n===ze.enter||n===ze.space){if(g||!y)return;V_(m,!f,t),Yt(e.target,{behavior:f?a:l,actionType:n===ze.enter?c:u}),e.preventDefault();return}if(n===ze.right){if(g||!y)return;if(f){let h=m.querySelector('[role="treeitem"]');h.focus(),W_(h)}else V_(m,!0,t),Yt(e.target,{behavior:l,actionType:p});e.preventDefault();return}if(n===ze.left){if(!y)return;if(f)V_(m,!1,t),Yt(e.target,{behavior:a,actionType:p}),e.preventDefault();else{let h=m.parentElement.closest('[role="treeitem"]');h&&(h.focus(),W_(h),e.preventDefault())}return}if(n===ze.down||n===ze.up){let h=n===ze.down?"following":"preceding",v=qSe(m,h);v&&(v.focus(),W_(v),e.preventDefault());return}if(n===ze.home||n===ze.end){let h=n===ze.home,v=m.closest(".tree"),_;if(y)_=v[h?"firstElementChild":"lastElementChild"].firstElementChild.closest('[role="treeitem"]'),QSe(_)||(_=qSe(_,h?"following":"preceding"));else{let x=v.querySelectorAll(".tree-item.tree-leaf"),z=h?0:x.length-1;_=x[z]}_.focus(),W_(_),e.preventDefault();return}if(n===ze.numPadAsterisk||n===ze.eight&&r){if(!y)return;let h=m.closest("ul");for(let v=0;v
      ${BW}
      `;A();Ge();yh();Ge();A();A();A();yh();A();function r5({changeHandler:e,expandedRows:t,id:o,maxCharacterCount:n,name:r,placeholder:i,readonly:s=!1,rows:a=1,value:l="",allowDoubleLength:c=!1}){return d`
      `}function YSe(e){let t=e.target,o=Number(t.getAttribute("data-max-character-count"));if(!t.parentElement)return;let n=t.parentElement.querySelector("span"),r=o-t.value.length;n.textContent=`${r}`,r<=1?n.setAttribute("aria-live","assertive"):n.setAttribute("aria-live","polite")}function i5(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 r=t.parentElement.querySelector("span"),i=n-t.value.length;r.textContent=`${i}`,t.removeEventListener("focus",i5),t.addEventListener("blur",KSe),t.addEventListener("input",YSe)}function KSe(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",KSe),t.removeEventListener("input",YSe),t.addEventListener("focus",i5)}A();A();A();function p8e(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://channel9.msdn.com/"]'));t.length&&t.forEach(o=>{let n=o.src.split("/"),r=n[n.length-2],i=`${VN}: ${r}`;o.title=o.title||i})}function m8e(e){let t=Array.from(e.querySelectorAll('iframe[src^="https://www.youtube"]'));t.length&&t.forEach(o=>{let n=o.src.split("/").pop(),r=`${VN}: ${n}`;o.title=o.title||r})}function g8e(e){let t=[],o=[];window.addEventListener("beforeprint",()=>{Array.from(e.querySelectorAll(".embeddedvideo iframe")).forEach(r=>{if(r.offsetParent!==null){let i=r.src,s=document.createElement("a");s.href=i,s.target="_blank",s.text=i,r.parentElement&&(r.parentElement.appendChild(s),r.hidden=!0,t.push(r),o.push(s))}})}),window.addEventListener("afterprint",()=>{t.forEach(n=>n.hidden=!1),o.forEach(n=>n.remove()),t=[],o=[]})}function s5(e){m8e(e),p8e(e),g8e(e)}A();A();async function a5(e,t,o){let n=await np(t);if(!(!n||!e)){switch(e){case"details":case"leaderboard":n.add({title:Lf,url:`/${n.basePath}/challenges`});break;case"content":o&&n.add({title:Lf,url:`/${n.basePath}/challenges`},{title:Pw,url:`/${n.basePath}/challenges/${o}/leaderboard`});break;default:throw new Error("Unsupported page.")}n.render()}}Ge();yh();var l5="5d6ea118-ff48-4612-a205-7c65e11e49ca",cf="379d1859-15d0-4803-81ed-eb51a2e4945d";var Bn=class{constructor({errorCode:t}){this.errorCode=t}};A();Ge();a2();function c5(e){let o=/(?:status|code)[^\d]*(\d{3})/i.exec(e);return o?parseInt(o[1],10):null}var wp=class extends He{constructor(o=null,n=null,r=!0,i=!1,s="Unknown"){super();this.id=o;this.collectionOwner=n;this.isPublicView=r;this.hasActiveTakedowns=i;this.reportStatus=s;this.isUserAuthenticated=S.isAuthenticated;this.isUserChallengeAdmin=S.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===cf?"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!gt(this.collection?.challengeId)||!gt(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 i=await ut.getList(this.id);i.hasError===!1&&(this.collection=i.data)}let n=new URLSearchParams(location.search),r=n.has("force-official-collection")?n.get("force-official-collection")==="true":!1;if(this._isOfficialOrOverride=this.collection?.isOfficial||r,this.isUserAuthenticated&&this.isUserChallengeAdmin===void 0&&(this.isUserChallengeAdmin=(await vc("me"))?.isChallengeAdmin??!1),this.collectionOwner===null){let i=await vc(`id:${this.collection.userId}`);this.setPublicCollectionOwner(i)}S.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await ut.getActiveTakedowns(this.id))):this.setReportStatus(await ut.getReportStatus(this.id)),this.notifyPropertyChanged()}catch(n){if(n instanceof Error){let r=c5(n.message);r&&(this.responseErrorCode=r)}}}async updateCollection(o,n,r){if(this.busy)throw new Error("Busy");this.setBusy();try{let i=await ut.updateListMetadata(r??this.id,{name:o,description:n});if(i.hasError===!1){let{data:s}=i;this.collection=s}else throw new Bn({errorCode:i.error.errorCode})}finally{this.setHasActiveTakedowns(!1),this.setReady()}}async toggleShowUserDisplayName(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await ut.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Bn({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 cn(BM(this.collection.name,Uf,yc));if(o){let n=await ut.deleteList(this.id);if(n.hasError===!1)location.href=`${uo(S.userName,"collections")}`;else throw new Bn({errorCode:n.error.errorCode})}}finally{this.setReady()}}async localizeCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await cn(GM(),!0);if(o){let n=cn(VM());await ut.submitForLocalize(this.id),await n;let r=document.getElementById("submit-loc"),i=document.createElement("p");i.classList.add("margin-top-sm"),i.setAttribute("id","loc-submitted-text");let s=d`${RC}`;w(s,i),document.getElementById("icon-list").parentElement.appendChild(i),r.hidden=!0}}finally{this.setReady()}}async copyCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await ut.copyList(this.collection.id,this.collection.name,this.collection.description);if(o.hasError===!1){let{data:n}=o,{submitted:r}=await cn(ISe(IC,zC));r&&(location.href=wu(n.id).toString())}else throw new Bn({errorCode:o.error.errorCode})}finally{this.setReady()}}async convertCollection(){if(this.busy)throw new Error("Busy");this.setBusy();try{let{submitted:o}=await cn(PSe(SC,Mp));o&&(await ut.convertList(this.collection.id),location.reload())}finally{this.setReady()}}async updatePrivacy(){if(this.busy)throw new Error("Busy");if(!this.collection||!this.collection.id)throw new Error("Invalid Collection");this.setBusy();try{let o=await ut.toggleListPrivacy(this.collection.id,!this.collection.isPrivate);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Bn({errorCode:o.error.errorCode})}finally{this.setReady()}}async commitUrlItem(o,n,r=-1,i){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=yve(n,o),a=await(i?ut.updateItem(this.id,i,s):ut.addItem(this.id,s));if(a.hasError===!1){let{data:l}=a;if(this.collection.sectionCount){let c=r!==-1?r:this.collection.sectionCount-1;if(i){let u=this.collection.sections[c].items.findIndex(p=>p.id===i);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(i){let c=this.collection.items.findIndex(u=>u.id===i);this.collection.items[c]=l}else this.collection.items.push(l),this.collection.itemCount=this.collection.items.length}else throw new Bn({errorCode:a.error.errorCode})}finally{this.setReady()}}async moveItem(o,n,r=-1,i){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===0)return;let s=r!==-1?{sectionId:this.collection.sections[r].id,items:this.collection.sections[r].items.map(u=>u.id)}:{sectionId:null,items:this.collection.items.map(u=>u.id)},a=r!==-1&&this.collection.sections[r+n]?{sectionId:this.collection.sections[r+n].id,items:this.collection.sections[r+n].items.map(u=>u.id)}:null,l=v8e(o,n,s,a),c=await ut.sortList(i??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,r){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 i=this.collection.sections.map(a=>({sectionId:a.id,items:a.items.map(l=>l.id)})),s=await ut.sortList(r??this.id,i);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,r,i){if(this.busy)throw new Error("Busy");this.setBusy();try{if(n===r)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[r].items.unshift(a);let l=await ut.sortList(i??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,r){if(!this.busy){this.setBusy();try{let{submitted:i}=await cn(BM(o.data.title,Uf,yc));if(i){if(await ut.deleteItem(r??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,r,i){if(this.busy)throw new Error("Busy");this.setBusy();try{let s=await(this.editingSectionId===cf?ut.createSection(i??this.id,[...o?.trim()].length!==0?o:this.getDefaultSectionName(),n,r):ut.updateSection(i??this.id,this.editingSectionId,o,n,r));if(s.hasError===!1){let{data:a}=s;this.syncProgress(a,this.collection),this.collection=a}else throw new Bn({errorCode:s.error.errorCode})}finally{this.editingSectionId!==cf&&this.setHasActiveTakedowns(!1),this.setReady()}}async deleteSection(o,n){if(this.busy)throw new Error("Busy");this.setBusy();try{let r=await ut.deleteSection(n??this.id,o);if(r.hasError===!1){this.syncProgress(r.data,this.collection);let{data:i}=r;this.collection=i}}finally{this.setReady()}}getAmountStrings(){let o="",n="";if(this.collection.totalItems===0)return{pathCountFormat:o,moduleCountFormat:n};let{path:r,module:i}=this.getCollectionItemsAmount();return r!==0&&(o=(r===1?YQ:QQ).replace("{numberOf}",r.toString())),i!==0&&(n=(i===1?$C:MC).replace("{numberOf}",i.toString())),{pathCountFormat:o,moduleCountFormat:n}}getCollectionItemsAmount(){return this.collection.items.concat(...this.collection.sections?this.collection.sections.map(n=>n.items??[]):[]).reduce((n,r)=>((r.data.pageKind==="path"||r.data.pageKind==="module")&&n[r.data.pageKind]++,n),{path:0,module:0})}canCopyAsChallenge(){return(!!this.isUserChallengeAdmin||S.tenantId===Xr)&&(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 et)}getDefaultSectionName(o=_1){let[n,r]=[this.collection.sectionCount,this.collection.sections];if(!n||!Array.isArray(r))return o.replace("{number}",Mr(1));let i=n+1;for(;r.some(s=>s.name===o.replace("{number}",Mr(i)));)i++;return o.replace("{number}",Mr(i))}syncProgress(o,n){let r=Object.fromEntries([...n?.items??[],...(n?.sections??[]).flatMap(i=>i.items??[])].filter(i=>i?.id).map(i=>[i.id,i]));for(let i of[...o?.items??[],...(o?.sections??[]).flatMap(s=>s.items??[])])i?.id&&i.data&&r[i.id]?.data&&(i.data.progress=r[i.id].data.progress)}getCollectionSectionItemsAmount(){return(this.collection.sections??[]).reduce((o,n)=>{let r=(n.items??[]).reduce((i,s)=>((s.data.pageKind==="path"||s.data.pageKind==="module")&&i[s.data.pageKind]++,i),{path:0,module:0});return o.path+=r.path,o.module+=r.module,o},{path:0,module:0})}};function v8e(e,t,o,n){if(!o)throw new Error("Initial section is undefined.");let r={sectionId:o.sectionId,items:Ys(o.items)},i=e+t;if(i>=0&&i
      `}function XSe(){let e=document.createElement("div"),t=x8e();return w(t,e),new _e(e)}function x8e(){return d` `}function u5(e){let t=document.createElement("div");w(e,t),Y_=new _e(t)}function Xk(e,t,o="",n=An,r=Ne,i=!1,s=!1,a=""){return d` `}var Nr=class extends wp{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!gt(this.plan?.startedOn)}isCompleted(){return!gt(this.plan?.completedOn)||(this.plan?.itemsCompleted??0)===this.collection.totalItems}async moveItem(o,n,r){await super.moveItem(o,n,r,this.collection.id)}async moveItemToSection(o,n,r){await super.moveItemToSection(o,n,r,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 cn(GM(void 0,fre),!0);if(o){let n=cn(VM(hre));await ut.submitForLocalize(this.collection?.id),await n;let r=document.getElementById("submit-loc"),i=document.createElement("p");i.classList.add("margin-top-sm"),i.setAttribute("id","loc-submitted-text");let s=d`${x0}`;w(s,i),document.getElementById("icon-list")?.parentElement?.appendChild(i),r&&(r.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(()=>Uk(location.hash)),this.notifyPropertyChanged()}setBusy(){this._planBusy=!0,this.notifyPropertyChanged()}setReady(){this._planBusy=!1,this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new et)}async beforeActivate(){try{if(location.hash="",this.plan=await tr.getSkillingPlan(this.planId),this.collectionOwner===null){let n=await vc(`id:${this.plan?.userId}`);this.setPublicCollectionOwner(n)}S.userId===this.collectionOwner?.userId?(this.setIsPublicView(!1),this.setHasActiveTakedowns(await ut.getActiveTakedowns(this.collection?.id)),await this.getPlanStatistics(),this.csv=`${M.lists}/skillingPlan/${this.planId}/csv`):this.setReportStatus(await ut.getReportStatus(this.collection?.id)),re(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 cn(JSe(),!1,async n=>{let r=n.querySelector("#save-plan-btn");r?.classList.add("is-loading"),this.setBusy();try{let i=await tr.joinSkillingPlan(this.planId);return i.hasError===!1&&(this.plan=i.data),o?.onSuccess?.(),{hasError:!1,data:null}}catch{return Ro(n,"somethingWentWrong"),{hasError:!0}}finally{r?.classList.remove("is-loading")}})}finally{this.setReady()}}async moveSection(o,n){await super.moveSection(o,n,this.collection.id)}async commitSection(o,n,r){await super.commitSection(o,n,r,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 tr.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 ut.toggleShowUserDisplayName(this.collection.id,!this.collection.showUserDisplayName);if(o.hasError===!1){let{data:n}=o;this.collection=n}else throw new Bn({errorCode:o.error.errorCode})}finally{this.setReady()}}async deletePlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{await tr.deleteSkillingPlan(this.planId)}finally{this.setReady()}}async dropPlan(){if(this.busy)throw new Error("Busy");this.setBusy();try{let o=await tr.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 tr.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 tr.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:r}=o;if(this.plan===null)throw new Error("Plan not found");if(this.busy)throw new Error("Busy");this.setBusy();let i=await tr.updateLearnerGroup(this.plan?.id,n,r);if(i.hasError===!1&&this.plan?.learnerGroups){let s=this.plan.learnerGroups.findIndex(l=>l.id===n),{data:a}=i;s!==-1&&(this.plan.learnerGroups[s]=a)}return this.setReady(),i}async deleteLearnerGroup(o){if(this.busy)throw new Error("Busy");this.setBusy();let n=await tr.deleteLearnerGroup(this.plan?.id,o);return n.hasError===!1&&this.plan?.learnerGroups&&(this.plan.learnerGroups=this.plan?.learnerGroups?.filter(r=>r.id!==o)),this.setReady(),n}getDefaultSectionName(){return super.getDefaultSectionName(xte)}updateTrackedItemProgress(o,n,r){let i=[...o.items??[],...(o.sections??[]).flatMap(s=>s.items??[])].find(s=>s?.id===n.id&&s.data);i&&(i.data.progress=1,r.itemsCompleted=(r.itemsCompleted??0)+1)}getFirstIncompleteItem(o){o=o.filter(a=>a.items?.length);let n=o[0],r=o[0]?.items?.[0]??null,i=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,r=a.items[l],s=l,i=o.indexOf(a);break}}return{section:n,item:r,elementToHighlight:Oo(r?.data.uid??"")||`${r?.type+"-"||""}item-${i}${s}`}}};var eCe={architecture:JS,conceptual:lV,tutorial:xae,certification:mc,appliedSkills:nf,challenge:ia,sample:XW,course:$p,examination:Br,faq:KK,path:Hf,knownissue:YC,lifecycle:qJ,module:kr,apiconnector:Wn,"azure-cli":Wn,cli:Wn,dotnet:Wn,java:Wn,javascript:Wn,odata:Wn,powerconnector:Wn,powershell:Wn,python:Wn,rest:Wn,typescript:Wn,show:tN,series:ZC,episode:Vw};function K_(e,t,o){return e==="appliedSkills"||e==="certification"||e==="challenge"||e==="course"||e==="examination"||e==="path"||e==="knownissue"||e==="lifecycle"||e==="module"||e==="series"?eCe[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"?eCe[t]:o&&o.startsWith("/answers/questions")?jee:""}A();var T8e=()=>`/${b.data.userLocale}${L.reviewFeatures?"/test/plans":"/plans"}`;function Z_(e,t,o){let n=new URL(location.href),r=new URLSearchParams(n.search),i=n;if(i.pathname=`${T8e()}/${e}`,t){let s=new URLSearchParams(t);for(let[a,l]of s)i.searchParams.set(a,l)}return o&&(i.hash=o),r.has("preview")&&i.searchParams.set("preview",r.get("preview")??""),i.href}function tCe(e){let t=e.items;if(!t)return 0;let o=t?.filter(r=>(r?.data.progress??0)===1);return o?.length?o.length/t?.length:0}function d5(e){if(location.hash){let t=e.querySelector(location.hash);t!==null&&scrollTo(window.scrollY+t.getBoundingClientRect().top,500)}}function oCe(e,t){let o="primary";return e.data.progress===1?o="accent":t&&(o="info"),`${o} border-radius`}function o$(e,t){let o={completionStatusTag:"",completionStatusTagStyle:"",progressBarLabelStyle:"",progressBarStyle:""};return e===1?(o.completionStatusTag=t==="milestone"?kre:qr,o.completionStatusTagStyle=t==="milestone"?"color-primary":"color-success"):o.progressBarLabelStyle=t==="milestone"?"font-weight-bold":"",o}function nCe(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 $ae}}function rCe(e){return S.tenantId===Xr&&e!=="bookmarks"}function p5(e,t=""){let{id:o,contentList:{name:n},learningOutcomes:r}=e,i=n??"",s=Z_(o,t?`learnerGroupId=${t}`:""),a=encodeURIComponent(Hne).replace(encodeURIComponent("{planTitle}"),i),l=[Bne,String(Gne).replace("{planTitle}",i),Vne];return r.length!==0&&l.push(String(Wne)+` `+r.map(c=>`- ${c}`).join(` `)),l.push(String(Qne)+` `+s),{emailSubject:a,emailBody:encodeURIComponent(l.join(` `)),encodedPlanUrl:encodeURIComponent(s)}}function iCe(e,t){return t.some(o=>o.name.toLowerCase()===e.toLowerCase())}function eS(e,t){e.hidden=!e.hidden,t.hidden=!t.hidden}function m5(e,t,o=!1){return`

      ${e}

      ${o?``:""}
      `}function g5(e,t){let o=decodeURIComponent(e);if(xi(o,t.target)){let r=document.querySelector("#notification-wrapper"),i=m5($ne,"success",!0);r.innerHTML=i}}A();var f5={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 n$(e){return f5.email.test(e)}function r$(e){return f5.phone.test(e)}function i$(e){return f5.externalLink.test(e)}function tS(e,t,o,n){switch(e){case"InvalidTitle":t.setCustomValidity(gQ),t.reportValidity();break;case"TitleMissing":t.setCustomValidity(mQ),t.reportValidity();break;case"UrlFormatIncorrect":o.setCustomValidity(bQ),o.reportValidity();break;case"Malformed":o.setCustomValidity(yQ),o.reportValidity();break;case"Unofficial":if(n)n.textContent=hQ,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(n)n.textContent=fQ,n.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function k8e(e,t){let r=[...e.value.trim()].length;return r===0?(tS("TitleMissing",e,t),!1):r<2||r>100?(tS("InvalidTitle",e,t),!1):t.value.startsWith("http://")||t.value.startsWith("https://")?!0:(tS("UrlFormatIncorrect",e,t),!1)}function l$(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(k8e(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 Bn?tS(u.errorCode,l,c,p):tS("UnexpectedError",l,c,p)}},r=()=>{e.editingId=null},i=s=>{s.key==="Escape"&&r(),s.target instanceof HTMLInputElement&&nS(s)};return d`
      s.target.setCustomValidity("")} />
      s.target.setCustomValidity("")} />
      `}function oS(e,t,o,n,r){switch(e){case"InvalidTitle":t.setCustomValidity(lQ),t.reportValidity();break;case"DuplicateTitle":t.setCustomValidity(sQ),t.reportValidity();break;case"InvalidDescription":o.setCustomValidity(iQ),o.reportValidity();break;case"InvalidDaysToComplete":n?.setCustomValidity(nQ),n?.reportValidity();break;case"Invalid":if(r)r.textContent=cQ,r.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break;default:if(r)r.textContent=uQ,r.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function S8e(e,t,o){let i=[...e.value.trim()].length,s=[...t.value.trim()].length;if(i>100)return oS("InvalidTitle",e,t,o),!1;if(s>550)return oS("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 oS("InvalidDaysToComplete",e,t,o),!1}}return!0}function h5(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(S8e(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 Bn?oS(p.errorCode,l,c,u,m):oS("UnexpectedError",l,c,u,m)}},n=()=>{e.editingSectionId=null},r=s=>{s.key==="Escape"&&n()},i=s=>{nS(s),s.target.setCustomValidity("")};return d`
      ${(()=>{let s=e instanceof Nr?"plan":"collection",a=t?"editSection":"newSection";return{collection:{newSection:y1,editSection:rQ},plan:{newSection:wre,editSection:_re}}[s][a]})()}
      ${e instanceof Nr?d`
      `:""}
      `}function nS(e){let o=e.target.closest("form").querySelector("#generic-error-container");o.hidden||(o.textContent="",o.hidden=!0)}function s$(e,t,o){switch(e){case"InvalidTitle":t.setCustomValidity(Au),t.reportValidity();break;case"DuplicateTitle":let n=CC.replace("{title}",t.value.trim());t.setCustomValidity(n),t.reportValidity();break;case"InvalidContent":t.setCustomValidity(EC),t.reportValidity();break;default:if(o)o.textContent=qQ,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function C8e(e){if(n$(e.value)||i$(e.value)||r$(e.value))return s$("InvalidContent",e),!1;let n=[...e.value.trim()].length;return n<1||n>100?(s$("InvalidTitle",e),!1):!0}function b5(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(C8e(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 Bn?s$(c.errorCode,l,u):s$("UnexpectedError",l,u)}},r=()=>{e.isEditingSummaryTitle=!1},i=s=>{s.key==="Escape"&&r(),s.target instanceof HTMLInputElement&&(nS(s),s.target.setCustomValidity(""),s.target.reportValidity())};return d`
      `}function a$(e,t,o){switch(e){case"InvalidContent":t.setCustomValidity(EC),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(Rw),t.reportValidity();break;default:if(o)o.textContent=HQ,o.hidden=!1;else throw new Error("genericErrorContainerElement was not provided");break}}function E8e(e){return n$(e.value)||i$(e.value)||r$(e.value)?(a$("InvalidContent",e),!1):[...e.value.trim()].length>550?(a$("InvalidDescription",e),!1):!0}function y5(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(E8e(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 Bn?a$(c.errorCode,l,u):a$("UnexpectedError",l,u)}},r=()=>{e.isEditingSummaryDescription=!1},i=s=>{s.key==="Escape"&&r(),s.target instanceof HTMLTextAreaElement&&(nS(s),s.target.setCustomValidity(""),s.target.reportValidity())};return d`
      `}function sCe(e,t){if(t)switch(e){case"InvalidContent":t.setCustomValidity(EC),t.reportValidity();break;case"InvalidDescription":t.setCustomValidity(Rw),t.reportValidity();break;case"Invalid":t.setCustomValidity(FQ),t.reportValidity();break;default:break}}function A8e(e){e&&(e.textContent=BQ,e.hidden=!1)}function z8e(e,t){let o=!1,n=!0;return t&&(t.textContent="",t.hidden=!0),e.forEach(r=>{r.setCustomValidity("");let i=r.value.trim();i.length>0&&(o=!0,(n$(i)||i$(i)||r$(i))&&(sCe("InvalidContent",r),n=!1))}),!o&&e.length>0&&(sCe("Invalid",e[0]),n=!1),n}function _5(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(z8e(c,u))try{let p=e.collection.name?.trim()||"",m=e.collection.description?.trim()||"",g=c.map(y=>y.value.trim()).filter(y=>y.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{A8e(u)}},r=a=>{a.key==="Escape"&&o(),a.target instanceof HTMLTextAreaElement&&(nS(a),a.target.setCustomValidity(""),a.target.reportValidity())},i=e.plan.learningOutcomes,s=[...i,"","",""].slice(0,Math.max(3,i.length));return d`
      ${nre}
      ${s.map((a,l)=>d`
      `)}
      `}A();var aCe=mt(),lCe=b.data.contentLocale||b.data.userLocale;async function uf(e,t){let o=f2(e),n=[],r={method:"GET"},i=o.map(async s=>{let a={branch:aCe,uids:s.join(";"),locale:lCe},l=`${M.learn.progress.user}?${se(a)}`,c=Z(l,r),u=await R(c);if(u.ok&&u.status!==204){let p=await u.json();n.push(...p)}if(!u.ok)throw new Zt(u)});try{t?.updateProgress("Getting user progress by uids"),await Promise.all(i),t?.updateProgress("Got user progress by uids")}catch(s){t?.fail(s)}return n}function cCe(e,t){let o={branch:aCe,locale:lCe},n=`${M.learn.progress.batchUnit}?${se(o)}`,i={method:"PUT",body:JSON.stringify(e)};return t?.updateProgress("Putting batch Progress"),R(Z(n,i)).then(s=>me(s)).then(s=>{if(s.ok)return t?.updateProgress("Completed putting batch progress"),s.json();throw new Zt(s)}).catch(s=>(t?.fail(s),Promise.reject()))}A();var df={all:ra,ai:"AI search",documentation:aa,training:Yr,credential:mn,qna:Kw,reference:Wn,show:Tr};var uCe={...IM};var as={all:ra,last24hours:kae,last7days:Tae,last30days:Sae,last365days:Cae,custom:BY};var c$={advanced:wG,beginner:hV,intermediate:kJ};function w5(e){switch(e){case"beginner":return 0;case"intermediate":return 1;case"advanced":return 2;default:return 3}}var v5={ar:XC,"ar-sa":VJ,bg:eE,"bg-bg":WJ,"bs-cyrl":QJ,"bs-latn":tE,ca:oE,cs:nE,da:rE,de:iE,el:sE,"el-gr":YJ,en:aE,"en-my":KJ,es:lE,"es-mx":ZJ,et:cE,eu:uE,fi:dE,fil:pE,fr:mE,ga:gE,gl:fE,he:hE,hi:bE,hr:yE,hu:_E,"hu-hu":JJ,id:wE,"id-id":XJ,is:vE,it:xE,ja:TE,kk:kE,ko:SE,lb:CE,lt:EE,lv:AE,ms:zE,mt:PE,nb:IE,nl:LE,pl:RE,pt:ME,"pt-br":tX,"pt-pt":oX,ro:$E,ru:DE,sk:NE,sl:jE,"sr-cyrl":OE,"sr-latn":FE,sv:UE,th:qE,tr:HE,uk:BE,"uk-ua":nX,ur:rX,vi:GE,"vi-vn":iX,"zh-cn":VE,"zh-hk":WE,"zh-tw":QE};var dCe={event:$J,series:ZC,show:Tr};var jr={category:df,credential_types:uCe,date:as,levels:c$,locales:v5,resource_type:{...Gke,...IM},show_type:dCe,years:YN,author:jp,tags:UN},J_={azure_categories:TV,category:E1,credential_types:qY,event_groups:EK,languages:bee,date:Ow,levels:UJ,locales:IJ,products:Kf,roles:mte,resource_type:lte,subjects:Gie,type:A7,show_type:RJ,years:YN,author:jp,tags:UN},pCe={azure_categories:xV,category:E1,credential_types:UY,event_groups:CK,languages:hee,date:Ow,levels:OJ,locales:X1,products:Yf,roles:dte,resource_type:Eae,subjects:Bie,type:E7,show_type:LJ,years:Uae,author:jp,tags:ese};function vo(e){switch(e){case"locales":return 0;case"products":return 1;case"languages":return 2;case"roles":return 3;case"levels":return 4;case"subjects":return 5;case"type":return 6;case"resource_type":return 7;case"event_groups":return 8;case"years":return 9;case"azure_categories":return 10;default:return 11}}A();A();A();var R8e=parseInt(P("hoursToComplete"),10),rwo=lL(R8e).toLocaleLowerCase();A();A();var Re={ar:XC,bg:eE,"bs-latn":tE,ca:oE,cs:nE,da:rE,de:iE,el:sE,en:aE,es:lE,et:cE,eu:uE,fi:dE,fil:pE,fr:mE,ga:gE,gl:fE,he:hE,hi:bE,hr:yE,hu:_E,id:wE,is:vE,it:xE,ja:TE,ka:eX,kk:kE,ko:SE,lb:CE,lt:EE,lv:AE,ms:zE,mt:PE,nb:IE,nl:LE,pl:RE,pt:ME,ro:$E,ru:DE,sk:NE,sl:jE,"sr-cyrl":OE,"sr-latn":FE,sv:UE,th:qE,tr:HE,uk:BE,vi:GE,"zh-cn":VE,"zh-hk":WE,"zh-tw":QE},u$=new Map([["ar-sa",Re.ar],["bg-bg",Re.bg],["bs-latn-ba",Re["bs-latn"]],["ca-es",Re.ca],["cs-cz",Re.cs],["da-dk",Re.da],["de-at",`${Re.de} (${z1})`],["de-ch",`${Re.de} (${Dw})`],["de-de",Re.de],["el-gr",Re.el],["en-au",`${Re.en} (${A1})`],["en-ca",`${Re.en} (${OC})`],["en-gb",`${Re.en} (${j1})`],["en-ie",`${Re.en} (${L1})`],["en-in",`${Re.en} (${I1})`],["en-my",`${Re.en} (${FC})`],["en-nz",`${Re.en} (${M1})`],["en-sg",`${Re.en} (${D1})`],["en-us",`${Re.en} (${O1})`],["en-za",`${Re.en} (${N1})`],["es-es",`${Re.es}`],["es-mx",`${Re.es} (${R1})`],["et-ee",Re.et],["eu-es",Re.eu],["fi-fi",Re.fi],["fil-ph",Re.fil],["fr-be",`${Re.fr} (${jC})`],["fr-ca",`${Re.fr} (${OC})`],["fr-ch",`${Re.fr} (${Dw})`],["fr-fr",`${Re.fr}`],["ga-ie",Re.ga],["gl-es",Re.gl],["he-il",Re.he],["hi-in",Re.hi],["hr-hr",Re.hr],["hu-hu",Re.hu],["id-id",Re.id],["is-is",Re.is],["it-ch",`${Re.it} (${Dw})`],["it-it",`${Re.it}`],["ja-jp",Re.ja],["ka-ge",Re.ka],["kk-kz",Re.kk],["ko-kr",Re.ko],["lb-lu",Re.lb],["lt-lt",Re.lt],["lv-lv",Re.lv],["ms-my",`${Re.ms} (${FC})`],["mt-mt",Re.mt],["nb-no",Re.nb],["nl-be",`${Re.nl} (${jC})`],["nl-nl",`${Re.nl}`],["pl-pl",Re.pl],["pt-br",`${Re.pt} (${P1})`],["pt-pt",`${Re.pt} (${$1})`],["ro-ro",Re.ro],["ru-ru",Re.ru],["sk-sk",Re.sk],["sl-si",Re.sl],["sr-cyrl-rs",Re["sr-cyrl"]],["sr-latn-rs",Re["sr-latn"]],["sv-se",Re.sv],["th-th",Re.th],["tr-tr",Re.tr],["uk-ua",Re.uk],["vi-vn",Re.vi],["zh-cn",Re["zh-cn"]],["zh-tw",Re["zh-tw"]],["zh-hk",Re["zh-hk"]]]),M8e=e=>u$.get(e);M8e.keys=()=>u$.keys();var $8e=(()=>{let e=["de","en","es","fr","it"],t=o=>`${o} (${ra})`;return new Map([...u$,...Object.entries(Re).filter(([o])=>e.includes(o)).map(([o,n])=>[o,t(n)])])})();A();function D8e(){return Mi.template==="Course"?P("uid")??"":P("iltSchedulingId")??""}var d$=D8e();A();A();A();A();Ge();Ge();A();function f$(e,t="learningpath"){let o=re();return o["ns-enrollment-type"]||(o["ns-enrollment-type"]=t),o["ns-enrollment-id"]||(o["ns-enrollment-id"]=e),o}var fCe="ModuleProgress",hCe="ModuleAssessmentProgress";async function X_(e){if(!k.gamification)return;await ye;let t=JSON.parse(X.getItem(fCe));if(P("page_type")!=="learn"||!S.isAuthenticated||!t||!t.progress)return;let o=t.progress.reduce((n,r)=>(n[r.unitUid]=r.detail||{},n),{});await cCe(o,e),X.removeItem(fCe)}async function rS(){await ye;let e=wh.getItem(hCe);P("page_type")!=="learn"||!S.isAuthenticated||!e||wh.removeItem(hCe)}A();Ge();A();Kp();A();var _Ce=d`

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

      ${aX}

      ${j(lX)}

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

      ${hte}

      ${e}

      `,text:e,type:n9e};return ECe(t)}var dn=e=>{let{title:t,url:o,titleId:n,resourceType:r,label:i=_Q,labelClass:s="is-visually-hidden",buttonExtraClasses:a="button-primary"}=e;return d` `};A();Ge();function S5(e,t=!1){let{pageKind:o,moduleCount:n,durationInMinutes:r}=e;if(o!=="module"&&o!=="path")return"";let i=n?d`
    • ${n} ${n===1?kr.toLowerCase():Qw.toLowerCase()}
    • `:"",s=r?t?d`
    • ${Fn(r)}
    • `:d`
    • ${Fn(r)}
    • `:"";return d` ${i} ${s} `}function C5(e){let{pageKind:t,start:o,end:n,moduleCount:r}=e;if(t!=="challenge"||(!o||!n)&&r===void 0)return"";let i=o&&n?d`
    • ${z7.replace("{start}",Hs.format(new Date(o))).replace("{end}",Hs.format(new Date(n)))}
    • `:"",s=r?d`
    • ${r} ${r===1?kr.toLowerCase():Qw.toLowerCase()}
    • `:"";return d`${i}${s}`}function E5(e){let{url:t,submitterUsername:o,answerCount:n,commentCount:r,votes:i}=e;if(!t||!t.startsWith("/answers/questions")||!o&&n===void 0&&r===void 0&&i===void 0)return"";let s=o?d`
    • ${o} ${_ee}
    • `:"",a=i!==void 0?d`
    • ${i} ${xee}
    • `:"",l=n!==void 0?d`
    • ${n} ${wee}
    • `:"",c=r!==void 0?d`
    • ${r} ${vee}
    • `:"";return d`${s}${a}${l}${c}`}function A5(e){let{pageKind:t,hoursToComplete:o}=e;return t!=="course"?"":o?d`
    • ${r9e(o)}
    • `:""}function z5(e){let{pageKind:t,start:o,end:n}=e;if(t!=="lifecycle"||!o&&!n)return"";let r=o?d`
    • ${Nie.replace("{startDate}",new Date(o).toLocaleDateString())}
    • `:"",i=n?d`
    • ${TK.replace("{endDate}",new Date(n).toLocaleDateString())}
    • `:"";return d`${r}${i}`}function P5(e){let{pageKind:t,lastEpisode:o,episodeCount:n,pageType:r}=e;if(r!=="show"&&t!=="series"||!o&&!n)return"";let i=o?d`
    • ${NJ.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",s=n?d`
    • ${MJ.replace("{count}",n.toString())}
    • `:"";return d`${i}${s}`}function I5(e){let{showName:t,uploadDate:o,pageType:n,durationInMillisecond:r}=e;if(n!=="episode"||!t&&!o&&!r)return"";let i=r?zhe(r):null,s=t?d`
    • ${t}
    • `:"",a=o?d`
    • ${jJ.replace("{date}",new Date(o).toLocaleDateString())}
    • `:"",l=i?d`
    • ${Fn(i)}
    • `:"";return d`${s}${a}${l}`}function r9e(e){let t=Math.floor(e/168),o=Math.floor(e%168/24),n=e-t*168-o*24,r=t>0?`${t.toString()} ${t===1?j0:O0}`:null,i=o>0?`${o.toString()} ${o===1?UC:Fw}`:null,s=n>0?`${n.toString()} ${n===1?QC:Iu}`:null;return[r,i,s].filter(a=>a!==null).join(", ")}Ge();function L5(){let e=Ag(new Date(Date.now()));return d`

      ${ua}

      `}A();A();var i9e=(e,t)=>e?(t.indexOf("?")!==-1?"&":"?")+`sharingId=${e}`:"",ACe=(e,t,o)=>encodeURIComponent((o?o+` `+e.toString():e.href)+i9e(t,e.href));function zCe(e,t,o,n=!0,r=!1){let i=ACe(t,o);return d` `}function iS(e,t,o,n,r,i){return d`
      ${e?d``:d`
      ${zCe(o||"",t,n)}
      `}
      `}function R5(e,t=!0,o=!1){let{displayName:n,userName:r,avatarUrl:i,avatarThumbnailUrl:s,userId:a}=e,l=qo(r,"activity"),c=o?d` ${j(Oae)} `:"";return t?d`
      ${F1} ${n} ${c}
      `:d`${$Q}`}function PCe(e,t,o){let n=e??t??o;if(!n)return d``;let r=((e??t)?.collectionOwner??o?.challengeCreator).displayName;return d`
      ${ICe(r,n.collection.showUserDisplayName)}
      `}function ICe(e,t){return t?d` ${String(T1).replace("{name}",e)} `:d` ${aY} ${vH(!1)} `}function LCe(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 sS(e,t="",o=""){return d` ${`${Mr(Math.floor(e*100))}%`} ${qr} `}function RCe(e,t){let{challengeId:o,learnChallengeId:n,name:r,isPrivate:i}=t.collection;return d` ${t?.isChallengeCollection?d` ${$7} `:""} ${iS(i,e,r,S.sharingId)}`}function MCe(e){return!e||!e?.collection?d``:d`
      e.updatePrivacy()} />
      ${RQ}
      `}function $Ce(e,t,o,n){if(!t&&!o&&!n)return d``;let r=gt(o)?gt(n)?d``:d` `:d` `,i=d`

      ${gt(o)?gY:Mre}

      `;return gt(t)?r:i}function s9e(){return d``}function M5(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} >

      ${Sre}

      `:d``}function DCe(e,t,o,n=0,r=-1,i="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 Nr,y=f?oCe(t,e.nextPlanItem?.id===t.id&&e.isNextPlanItemHighlighted):void 0,h=u?d``:"",v=k.trainingSkills&&t.data.pageKind==="path"&&t.data.display_skills?.length?d`
      ${b$(t.data.display_skills[0])}
      `:"",_=Lt=>{let Bt=f$(Lt.id,"Collection");return l==="challenge"&&t.data.challengeId&&(Bt.id=t.data.challengeId),`${se(Bt)}`},x=K_(l,c,m),z=t.type==="url"?`${nCe(m)}`:x,C=l==="challenge"&&t.data.challengeId?m.split("?")[0]:m,H=t.data.url&&t.data.url.includes("/answers/"),O=t.type==="url"?m:`/${H?t.data.rawUrl.split("/")[3]:a}${C}?${_(e.collection)}`,pe=async()=>{e.editingId=t.id},Ee=s?d` ${p} `:d` ${m9e(i,p)} `;f&&(Ee=e.hasStarted()?d` ${p}`:d` `);let ce=t.type==="url"?d`
      ${Ee}
      `:d` ${Ee} `,bt=Lt=>a9e(e,o,t,r,Lt);return e.editingId===t.id?l$(e,r,t):s?d`
    • ${z}

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

      ${ce}
      ${h} ${v}
      ${bt(!1)}
    • `}function a9e(e,t,o,n=-1,r=!1){let{challengeId:i,userId:s}=e.collection;return d`${e.isPublicView||e.isOfficialOrOverride&&s!==S.userId||i?c9e(e.isUserAuthenticated,o,r,e):l9e(e,t,o,n,r)}`}function l9e(e,t,o,n=-1,r=!1){o.data.uid=o.data.uid;let i=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 c9e(e,t,o=!1,n){let r=o?d``:void 0,i=NCe(n,t,e);return r||i?d` `:""}function u9e(e,t){if(!e||!t)return d``;let o=t.data.progress??0,n=!(t?.data?.pageKind==="path"||t?.data?.pageKind==="module"),{completionStatusTag:r,completionStatusTagStyle:i}=o$(o,"item");if(o===0){if(n){let s=d9e(e,t);return d` `}return d``}return o===1?d` ${r} `:o>0&&o<1?d` ${Gw} `:d``}function NCe(e,t,o){if(!o)return d``;let n=(()=>{let r=t.data.progress,i=e instanceof Nr,s=i&&e?.hasStarted?.(),a=!i&&typeof r=="number";if(s)return u9e(e,t);if(a)return sS(r)})();return n?d` `:""}function d9e(e,t){let o=document.createElement("div"),n=p9e(e,t);return w(n,o),new _e(o)}function p9e(e,t){return d` `}function m9e(e="h3",t){let o={h3:d`

      ${t}

      `,h4:d`

      ${t}

      `,h6:d`
      ${t}
      `};return o[e]||o.h3}function D5(e,t="collection"){let o=(t==="plan"?wne:bY).replace("{url}",e),n=IQ,r=hY,i=GQ;return t==="plan"&&(n=vne,r=xne,i=Tne),d`

      ${n}

      ${r} ${i}

      ${j(o)}
      `}function jCe(){return d`

      ${TC}

      ${vQ}


      1. ${xQ}
      2. ${TQ}
      3. ${j(kQ)}

      ${SQ}

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

      ${t}

      ${o}


      ${n}
      `}function N5(e,t){let o=(()=>{let r=e.collection.sections;if(Array.isArray(r)&&r.length>0)return d`
      ${r.map((s,a,l)=>d`
      ${g9e(e,s,a,l,t)} ${$5(e,s.items,void 0,a)}
      `)}
      `;let i=e.collection.items;return Array.isArray(i)&&i.length>0?$5(e,i,void 0,-1):AM(WQ,{htmlMessage:{replaceTarget:"{link}",replaceWith:`${Ul?"/test":""}/training/browse/`}})})(),n=d`${y9e(e)} ${b9e(e)} ${_9e(e)}`;return d`${o}${n}`}function g9e(e,t,o,n,r){return d`

      ${r} ${o+1}

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

      ${t.name}

      `:""} ${a?d`

      ${t.description}

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

      ${vre} ${e}

      `}function h9e(e){let t=tCe(e),{completionStatusTag:o,completionStatusTagStyle:n,progressBarLabelStyle:r,progressBarStyle:i}=o$(t,"milestone");return t===1?d` ${o} `:d`
      ${Mr(Math.floor(t*100))}%
      `}function b9e(e){return e.editingSectionId===cf?h5(e):""}function y9e(e){return d`${e.editingId===l5?d`
      ${l$(e)}
      `:""}`}function _9e(e,t="margin-top-xl"){if(e.isPublicView)return"";let o={handleEvent(r){r.preventDefault(),e.editingId=l5}},n={handleEvent(r){r.preventDefault(),e.editingSectionId=cf}};return d` ${d`
      ${e.isOfficialOrOverride&&!(e instanceof Nr)?d``:""} ${(e.collection?.items?.length??0)>0||(e.collection?.sections?.length??0)>0?d``:""}
      `} `}A();function y$(...e){let[t,o,n=!0]=e,r=d` ${j(rW)}
      • ${j(t)}
      • ${j(o)}
      `;return aS("ms--challenges-violation-banner",nW,r,sW,n)}A();var lPo=new Array(100).fill(0).map((e,t)=>({id:`team${t+1}`,name:`Team ${t+1}`,imageUrl:"",hasMembers:!!(t%3)}));A();var j5={"ar-sa":!0,"he-il":!0};var vLo=Nl();A();A();A();Ge();A();A();var FCe=e=>[{id:"plan-title",name:"plan-title",title:bc,inputType:"text",dataBiName:"plan-title",value:e.title,placeholder:fne,required:!0},{id:"plan-description",name:"plan-description",title:b1,inputType:"textarea",dataBiName:"plan-description",cssClasses:"padding-bottom-xs",value:e.description,required:!1},{id:"learning-outcomes",title:Mu,subtitle:rre,tip:ire,cssClasses:"padding-top-xs border-top"},{id:"plan-outcome-1",name:"plan-learning-outcome-1",title:sre,inputType:"textarea",dataBiName:"plan-outcome-1",value:e.learningOutcomes?.[0]??"",required:!1},{id:"plan-outcome-2",name:"plan-learning-outcome-2",title:are,inputType:"textarea",dataBiName:"plan-outcome-2",value:e.learningOutcomes?.[1]??"",required:!1},{id:"plan-outcome-3",name:"plan-learning-outcome-3",title:lre,inputType:"textarea",dataBiName:"plan-outcome-3",value:e.learningOutcomes?.[2]??"",required:!1},{id:"plan-official",name:"official-plan",title:ure,inputType:"checkbox",dataBiName:"plan-official-checkbox",tip:mre,value:e.isOfficial,isDirty:!1}];function UCe(e){let t=e.elements.namedItem("plan-title"),o=t.value;if(!o)return t.setCustomValidity(Au),t.reportValidity(),Ro(e,"planNewTitle"),null;let n=e.elements.namedItem("plan-description").value,r=[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),i=e.elements.namedItem("official-plan")?.checked??!1;return{title:o,description:n,learningOutcomes:r,isOfficial:i}}var qCe;async function HCe(e,t){e.preventDefault();let o=document.getElementById("ms--create-plan"),n=e.target;Xs(o);let r=UCe(o);if(r===null)return;let{title:i,description:s,learningOutcomes:a,isOfficial:l}=r,u=o.elements.namedItem("official-plan")?.dataset.changed==="true",p={listId:o.dataset.listId??"",name:i,description:s,learningOutcomes:a??[],isOfficial:l};n.disabled=!0,n.classList.add("is-loading");try{let m=await tr.createSkillingPlan(p);if(m.hasError===!0)Ro(o,"somethingWentWrong");else{let g,f=Z_(m?.data?.id);if(l&&u&&(g=XSe()),g){t.hide(),g?.show();let y=g?.contentElement.querySelector(".modal-close");[g?.contentElement.querySelector("button#close-official-plan-modal"),y].forEach(v=>{if(!v)throw new Error("Something went wrong with the close buttons in the Official plan informative modal.");v.onclick=()=>{g?.hide(),location.href=f}})}else location.href=f}}catch(m){throw Ro(o,"somethingWentWrong"),new Error(`error: ${m.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}async function BCe(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"),Xs(e.contentElement);try{await t.deletePlan(),e.hide(),location.href=qo("me","plans").toString()}catch(n){throw Ro(e.contentElement,"somethingWentWrong"),new Error(`error: ${n.message}`)}finally{o.disabled=!1,o.classList.remove("is-loading")}}}async function GCe(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 r=>{r.preventDefault(),n.disabled=!0,n.classList.add("is-loading"),Xs(e.contentElement);try{await t.dropPlan(),e.hide(),o()}catch(i){throw Ro(e.contentElement,"somethingWentWrong"),new Error(`error: ${i.message}`)}finally{n.disabled=!1,n.classList.remove("is-loading")}}}async function VCe(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 r=await tr.createLearnerGroup(n,o);return E9e(r,e)}catch(r){throw new Error(`error: ${r.message}`)}}function E9e(e,t){if(e.hasError===!0){e.error.errorCode==="AlreadyExists"?Ro(t,"learnerGroupAlreadyExists"):Ro(t,"somethingWentWrong");let o=t.elements.namedItem("plan-learner-group-name");o.focus(),o.classList.add("input-danger");let n=t.querySelector("button[type=submit]");return n&&n.classList.remove("is-loading"),{hasError:!0}}return{hasError:!1,data:e.data}}async function WCe(e){let t=e.closest(".learner-group-details");if(!t)throw new Error("Could not find the learner group details");let o=t.nextElementSibling,n=o.querySelector(".cancel"),r=o?.querySelector("input");eS(t,o),o.focus(),n&&(n.onclick=i=>{i.preventDefault(),eS(t,o),r&&(r.value=r?.dataset.originalName)})}async function QCe(e,t){let o=t.parentElement?.previousElementSibling,n=t.parentElement,r=n?.querySelector("input"),i=r?.dataset.groupId,s=n.querySelector("#learner-group-submit");if(s?.classList.add("is-loading"),r?.value===r?.dataset.originalName){s?.classList.remove("is-loading"),eS(o,n),r.value=r?.dataset.originalName;return}if(iCe(r?.value,e.plan?.learnerGroups??[])){Ro(t,"learnerGroupAlreadyExists"),r?.focus(),r?.classList.add("input-danger"),s?.classList.remove("is-loading");return}Xs(t);let a=await e.updateLearnerGroup({id:i,name:r?.value});if(a.hasError===!1){let{data:l}=a,c=o.querySelector(".group-name");c&&(c.textContent=l.name,r.dataset.originalName=l.name),eS(o,n),r.classList.remove("input-danger"),s?.classList.remove("is-loading")}else Ro(t,"somethingWentWrong"),r.focus(),r.classList.add("input-danger"),s?.classList.remove("is-loading")}async function YCe(e,t,o,n){qCe=e.contentElement.querySelector("#notification-wrapper");let r=Xk(Dne,d`${j(Nne.replace("{learningGroupName}",t.plan?.learnerGroups?.find(s=>s.id===o)?.name||tv))}`,void 0,Hr,Ne,!0);if(e.hide(),(await cn(r,!1,s=>A9e(s,t,o,n))).submitted){e.show();let s=m5(jne,"success",!0);qCe.innerHTML=s}}async function A9e(e,t,o,n){let r=e.querySelector("button[type=submit]");r?.classList.add("is-loading");let i={hasError:!1,data:null};try{await t.deleteLearnerGroup(o),i={hasError:!1,data:null}}catch{Ro(e,"somethingWentWrong"),i={hasError:!0}}finally{n.closest(".card")?.remove(),r?.classList.remove("is-loading")}return i}A();var KCe;async function JCe(e,t=null,o=M.profile.reportConcern,n,r,i="description",s){let a=document.createElement("div");KCe=new _e(a);let l=d``;if(KCe.show(),e.isAuthenticated&&t===null){let u=d``;w(d` `,a);let p=Xo()??"";t=await tm(p)}l=d` ${R9e(z9e,s,iN,r,void 0,i)} ${M9e(t)}

      ${j(Nee)}

      ${n||""} `,w(d` `,a);let c=a.querySelector("#report-content-form");L9e(),F9e(c),t!==null&&O9e(c,t)}function z9e(e,t,o="abuseCategory",n=!1){let r=t||txe;return d`
      `}function ZCe(e){return d` `}function P9e(e,t,o,n,r){return d` `}function I9e(e,t){return d`
      `}function L9e(){window.addEventListener("form-validating",e=>{let t=jk(e.detail.form),o=TM(t);e.detail.errors?.length>=0&&P6(e.detail.form,e.detail.errors),t&&!t.querySelector("[data-warning-icon-container]")&&xM(t),o&&A6(o)}),window.addEventListener("clear-validation-errors",e=>{let t=e.detail.target;Ok(t)})}function R9e(e,t,o=iN,n,r,i,s,a=!1){return d`
      ${e(r,t,n,a)}
      `}function M9e(e){if(e===null)return d`

      ${j(Lee)}

      `;let[t,o]=XCe(e);return d`
      `}function $9e(e){return e.authenticationModes?e.authenticationModes.map(t=>t.type).includes("MSA"):!1}function D9e(e){let t=e.authenticationModes.find(o=>o.type==="MSA");return t?t.upn:null}function N9e(e){let t=e.authenticationModes.find(o=>o.type==="AAD");return t?t.upn:null}function j9e(e,t,o){return t??(gt(e.email)?o:e.email)??""}function XCe(e){let t=$9e(e),o=t?D9e(e):null,n=t?null:N9e(e),r=j9e(e,o,n);return[t,r]}function O9e(e,t){let[o,n]=XCe(t);if(o){let s=e.querySelector("#report-msa-email-account");s.innerText=n}let r=e.querySelector("#opt-into-email-checkbox"),i=e.querySelector("#submitter-info");r.addEventListener("change",()=>{r.checked?i.hidden=!1:i.hidden=!0})}function F9e(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 r=t.value===or[14]||t.value===14 .toString();r&&(o.hidden=!1,n.required=!0),t.addEventListener("change",()=>{r=t.value===or[14]||t.value===14 .toString(),r?(o.hidden=!1,n.required=!0,n.disabled=!1):(o.hidden=!0,n.required=!1,n.disabled=!0)})}A();Ge();A();var _$;function eEe(e){_$=e}function tEe(e,t){let o=e.isOfficial?xs:Ii,n=i=>{let s=i.target;o=s.checked?xs:Ii;let a=document.querySelector("#toggle-text-plan-official");w(o,a),s.getAttribute("data-changed")==="false"&&s.setAttribute("data-changed","true")},r=FCe(e).map(i=>{let{id:s,name:a,title:l,subtitle:c,tip:u,inputType:p,dataBiName:m,cssClasses:g,required:f}=i;if(s==="plan-official"&&!t)return d``;let y=s==="plan-title"&&e.isNew===!0,h=p?p==="textarea"?d``:p==="checkbox"?d`
      ${o}
      `:d`{let _=v.target;s==="plan-title"&&(q9e(_,Au),_.classList.remove("input-danger"))}} /> ${y?d`

      ${cne}

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

      ${c}

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

      ${u}

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

      ${Sne}

      ${r}
      `}function U9e(){return d`
      ${j(pre)}
      `}function q9e(e,t){e.setCustomValidity(""),e.validity.valid||(t&&e.setCustomValidity(t),e.reportValidity())}function oEe(e){return e?d`
      • ${e.stats?.participantsStarted}

        ${Cne}

      • ${e.stats?.participantsJoined}

        ${Gw}

      • ${e.stats?.participantsCompleted}

        ${kne}

      ${Yne}

      ${Kne}

      • ${Zne}
      • ${Jne}
      • ${Xne}
      • ${ere}
      • ${tre}
      • ${ore}
      `:d``}function nEe(e,t){if(!t?.plan)return d``;let{emailSubject:o,emailBody:n,encodedPlanUrl:r}=p5(t.plan);async function i(){_$.hide();let s=B9e(TN,qne,t?.plan.id,jw,!0),a=await cn(s,!1,VCe);return t&&a.submitted?t.addToLearnersGroups(a.data,l=>e(l)):_$.show(),d``}return d`
      ${Fne}
      ${One}
      ${j(Une)}
      ${t.plan?.learnerGroups?.map(s=>H9e(t,s))}
      `}function H9e(e,t){let{emailSubject:o,emailBody:n,encodedPlanUrl:r}=p5(e.plan,t.id);return d`
      ${tv}: ${t.name}
      `}function B9e(e,t,o,n=An,r=!1){return o?d` `:d``}A();function lS(e,t){return d` `}function O5(e,t,o){return d`
      ${t}
      `}function F5(e,t,o){return d` `}var pf;function cS(e,t,o){if(!t&&!o?.plan)return;let n=d``,r=document.createElement("div");pf=new _e(r),eEe(pf);let i={title:t?.name??"",description:t?.description??"",isOfficial:t?.isOfficial??!1},s,a;switch(e){case"new":let l=t?.id;o?.plan&&(i.title=o?.plan?.contentList.name??"",i.description=o?.plan?.contentList.description??"",i.isOfficial=o?.plan?.contentList.isOfficial??!1,i.learningOutcomes=o?.plan?.learningOutcomes??[],l=o?.plan?.listId,i.isNew=!0),n=lS("plan",{title:Pne,body:O5("create-plan",tEe(i,rCe(o?.collection?.id)),l),footer:F5("plan",pf)}),w(n,r),s=r.querySelector("button[type=submit]"),s&&(s.innerText=jw,s.setAttribute("aria-label",jw),s.setAttribute("data-bi-name","create-plan-btn"),s.onclick=async c=>{await HCe(c,pf)}),a=r.querySelector("button#cancel-plan-btn"),a&&a.setAttribute("data-bi-name","cancel-create-plan-btn");break;case"invite":n=lS("plan",{title:th,body:nEe(c=>cS("invite",void 0,c),o),footer:d``}),w(n,r);break;case"progress":n=lS("plan",{title:oh,body:oEe(o),footer:d``}),w(n,r);break;default:break}if(n)pf.show();else throw new Error(`Invalid side panel content type: ${e}`)}function U5(e,t,o){if(!e&&!t&&!o)return d``;vw(T.body);let n=!gt(t),r=!gt(o),i={vm:e,vmPlans:t,vmChallenge:o},s=uS(i),{lastModified:a,totalDuration:l=0,shouldLocalize:c}=s,u=!!e?.isOfficialOrOverride||!!t?.collection.isOfficial||!!e?.isChallengeCollection,p=T.getElementById("loc-submitted-text"),m={pathCountFormat:"",moduleCountFormat:""};if(e){let{pathCountFormat:h,moduleCountFormat:v}=e.getAmountStrings();m.pathCountFormat=h,m.moduleCountFormat=v}let{pathCountFormat:g,moduleCountFormat:f}=m,y=e?.isChallengeCollection?d` ${l?d`
    • ${Fn(l)}
    • `:""} ${g?d`
    • ${g}
    • `:""} ${f?d`
    • ${f}
    • `:""} `:!t?.isPublicView&&a!==void 0?d`
    • ${_K} ${new Intl.DateTimeFormat(b.data.userLocale).format(new Date(a))}
    • `:"";return d`
      ${u||r?d`${PCe(e,t,o)}`:""}
      ${u||r?LCe(e,t,o):""} ${cEe(i)?MCe(e):""}
      ${p||r?"":d`

      ${c?n?x0:RC:""}

      `}
      `}function uS(e){return(e.vm??e.vmPlans??e.vmChallenge)?.collection}function w$(e){let{vm:t,vmPlans:o}=e;return t?.collectionOwner?.userId===S.userId||o?.plan?.userId===S.userId}function q5(e){return e.vmPlans?.hasStarted()===!0}function lEe(e){return e.vmPlans?.isCompleted()===!0}function G9e(e){let{vm:t,vmPlans:o}=e,n=!gt(t),r=!gt(o),i=o?.isPublicView||t?.isPublicView,s=uS(e),a=s?.isOfficial,l=s?.shouldLocalize;return(n||r)&&!(i||l||!a)&&w$(e)}function rEe(e){return!!e.vmPlans&&w$(e)}function V9e(e){return!!e.vmPlans&&w$(e)}function W9e(e){return!!e.vmPlans&&q5(e)&&!lEe(e)}function iEe(e){return!!e.vmPlans&&q5(e)&&!lEe(e)}function sEe(e){return!!e.vmPlans&&!q5(e)&&S.isAuthenticated}function aEe(e){return!!e.vmPlans&&!S.isAuthenticated}function Q9e(e){let{vm:t,vmPlans:o}=e,n=uS(e);return!t?.isChallengeCollection&&!w$(e)&&!n?.isOfficial&&(!!t&&t?.reportStatus!=="Unknown"||!!o&&o?.reportStatus!=="Unknown")}function cEe(e){if(!e.vm&&!e.vmPlans)return!1;let{vm:t,vmChallenge:o}=e,n=!gt(t),r=!gt(o),s=uS(e)?.id;return n&&!(t?.isPublicView||t?.isOfficialOrOverride&&t?.collectionOwner?.userId!==S.userId||t?.isChallengeCollection||s==="bookmarks")||r&&!!o?.isChallengeOwner()&&!!o?.isChallengeUpcoming()}function Y9e(e){let{vm:t,vmPlans:o,vmChallenge:n}=e,i=uS(e)?.id,s=wu(i),a=Ya("resume-plan-button",Jf,Jf,()=>o?.resumePlan(),"resume-plan-btn",Jf,"button-sm button-primary button-filled");function l(){function _(){let x=T.getElementById("start-or-resume");x&&w(a,x)}if(!S.isAuthenticated){Fo(location.href);return}o?.joinPlan({onSuccess:()=>{_()}})}let c=Ya("start-plan-button",da,da,()=>l(),"start-plan-btn",da,"button-sm button-primary button-filled inner-focus"),u=Ya("sign-in-plan-button",iv,iv,()=>l(),"sign-in-plan-btn",iv,"button-sm button-primary button-filled",!o?.isPublicView),p=n?Ya("delete-challenge-button",B7,d` `,()=>n?.deleteChallenge(),"delete-challenge-btn",Hr,"button-sm button-clear"):Ya("delete-collection-button",DQ,d` `,()=>t?.deleteCollection(),"delete-collection-btn",Hr,"button-sm button-clear");async function m(_){_&&(u5(Xk(dne,d`${pne}`,mne,gne,Ii)),Y_.show(),await GCe(Y_,_,()=>{let x=T.getElementById("start-or-resume");x&&w(c,x)}))}let g=()=>Ya("drop-plan-button",w0,d``,()=>m(o),"drop-plan-btn",w0,"button-sm button-clear"),f=d`
      ${Ya("submit-loc-button",LC,d` `,()=>t?.localizeCollection()??o?.localizePlan(),"localize-list-btn",LC,"button-sm button-clear margin-right-none")}
      ${JQ}
      `,y=!k.shareLink||i==="bookmarks"?d``:t?d`${RCe(s,t)}`:o?d`${iS(!1,new URL(Z_(o?.plan?.id),location.origin),o?.collection?.name,S.sharingId,!1,"share-plan-btn")}`:n?d`${iS(!1,new URL(un(n?.challengeDetails?.id),location.origin),n?.challengeDetails?.contentList.name,S.sharingId)}`:d``,h=t?.isChallengeCollection||!S.isAuthenticated||i==="bookmarks"?d``:$Ce((_,x,z)=>cS(_,x,z),t,o,n);return d` ${iEe(e)||sEe(e)||aEe(e)?d`
      ${iEe(e)?a:""} ${sEe(e)?c:""} ${aEe(e)?u:""}
      `:""} ${y} ${h} ${Q9e(e)?K9e(t,o):""} ${rEe(e)?d`${eGe(o)}`:""} ${G9e(e)?f:""} ${V9e(e)?d`${tGe()}`:""} ${cEe(e)?p:""} ${rEe(e)?d` ${Z9e(o)}`:""} ${W9e(e)?g():""} `}function H5(e,t,o){return!e&&!t&&!o?d``:d`
      ${Y9e({vm:e,vmPlans:t,vmChallenge:o})}
      `}function Ya(e,t,o,n,r,i,s,a=!1){return d` `}function K9e(e,t){let o=d`${t?d``:""}`,n=e?.reportStatus==="Active"||t?.reportStatus==="Active",r=Ya("report-a-concern-btn",n0,d` `,()=>JCe(S,null,`${M.lists}/report/concern`,o),e?"collection-report-a-concern-btn":"plan-report-a-concern-btn",n0,"button-sm button-clear margin-right-none",n),i=d`
      ${e?d`

      ${CY}

      ${j(EY)}

      `:d`

      ${Nre}

      ${j(jre)}

      `}
      `;return d`
      ${r} ${n?i:""}
      `}function Z9e(e){return e?Ya("delete-plan-button",Hr,d` `,async()=>{u5(Xk(Ine,Rne,d`${e.plan?.contentList.name??""}`,Mne,void 0,void 0,e.plan?.hasParticipants,Lne)),Y_.show(),await BCe(Y_,e)},"delete-plan-btn",Hr,"button-sm button-clear"):d``}function J9e(e){return Ya("plan-progress-button",oh,d``,()=>cS("progress",void 0,e),"view-plan-progress-btn",oh,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function X9e(e){return Ya("invite-learners-button",th,d``,()=>cS("invite",void 0,e),"plan-invite-learners-btn",th,"button button-clear button-block color-text justify-content-flex-start inner-focus")}function eGe(e){return e?d`
      • ${J9e(e)}
      • ${X9e(e)}
      `:d``}function tGe(){return d`
        ${[{href:"/training/browse",label:Yr},{href:"/credentials/browse",label:mn},{href:"/docs",label:aa},{href:"/shows/browse",label:Tr}].map(t=>d`
      • ${t.label}
      • `)}
      `}function B5(e,t){if(!e&&!t)return d``;let o=(e??t)?.collection;if(!o)return d``;let n=e??t,{challengeId:r,learnChallengeId:i,description:s,totalItems:a,name:l,remainingDuration:c,totalDuration:u,isFallbackLocale:p,shouldLocalize:m,sectionCount:g}=o,f=!gt(t),y=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"},v={challenge:"has-background-challenge",collection:"has-background-collection",plan:"has-background-plan"},_={challenge:P7,collection:tQ,plan:Ene},x=!n?.isPublicView&&!n?.isChallengeCollection?d` `:"";return d` ${e?.isPublicView&&p&&m?to(eY):""}

      ${_[y]}

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

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

      ${s} ${x}

      `:!n?.isEditingSummaryDescription&&!n?.isPublicView&&n?.isChallengeCollection===!1?d`
      ${k1} ${x}
      `:""} ${n?.isEditingSummaryDescription?y5(n,n?.isOfficialOrOverride||n?.isChallengeCollection?"has-text-collection-invert":""):""} ${U5(e,t)} ${e?.isUserAuthenticated&&a&&u&&c&&n?.isChallengeCollection?d`
      ${sS((u-c)/u,r||i,"width-150")}
      `:""}
      ${uEe(t)} ${_5(t)}
      ${H5(e,t,void 0)}`}function v$(e,t,o){if(!e&&!t&&!o)return d``;let n=(e??t??o)?.collection;if(!n)return d``;let r=!gt(e),i=!gt(t),s=!gt(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,y=e??o??t,h=m!=="bookmarks"&&!y?.isPublicView?d``:"",v=i?"plan":s?"challenge":"collection",_={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`

      ${i?Lu:s?ia:ms}

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

      ${y?.isEditingSummaryTitle?b5(y):""} ${i?dEe(f):""} ${a?d`

      ${a} ${h}

      `:!y?.isEditingSummaryDescription&&m!=="bookmarks"?d`
      ${k1} ${h}
      `:""} ${y?.isEditingSummaryDescription?y5(y):""} ${U5(e,t,o)} ${e?oGe(e):""} ${e?.isUserAuthenticated&&l?.length&&p&&u&&g?d`
      ${sS((p-u)/p)}
      `:""}
      ${uEe(t)} ${_5(t)}
      ${H5(e,t,o)} `}function uEe(e){return!e||!e.plan?d``:d`

      ${Mu}

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

      ${nGe()}

      `:"":d``}function nGe(){return d`
      ${x1}
      `}function dEe(e){if(gt(e))return d``;let t="";switch(e){case 0:return d``;case 1:t=String(xre);break;default:t=String(Tre).replace("{numberOfMilestones}",(e??"").toString());break}return d`

      ${t}

      `}Ge();A();A();A();function rGe(e,t){let o=DC,n=fY,r=yY,i=_Y,s=qo("me","collections"),a=lC,l=`/${b.data.userLocale}/`;return e==="plan"&&(o=hne,n=bne,r=yne,i=_ne,s=qo("me","plans")),e==="challenge"&&(o=j7,n=O7,r=F7,i=U7,s=qo("me","challenges"),t&&(a=q7,l=un(t,"leaderboard"))),d`

      ${o}

      ${n}

      ${r}

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

      ${DC}

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

      ${TC}

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

      ${ju}

      `;default:return d`

      ${eo}

      `}}A();A();var r1o={input:{id:"challenge-primary-subject",name:"challenge-primary-subject",docon:"search",isFullWidth:!0,placeholder:I7,required:!0},getSuggestions:async()=>[],getTitle:e=>e.displayName||e.value,noResultsTemplate:d`${$o}`,itemTemplate:e=>d`${e.displayName||e.value}`};A();Ge();A();Ge();Ge();Kp();A();A();A();A();A();A();A();A();function fEe(e){let t=V5(e.responseErrorCode);if(t!==null)return t;if(!e.collection){let o=qo("me","collections").toString();return D5(o,"collection")}return e.collection.learnChallengeId&&a5("content",document.getElementById("article-header-breadcrumbs")||void 0,e.collection.learnChallengeId),d` ${e.isOfficialOrOverride||e.collection.challengeId||e.collection.learnChallengeId?B5(e):v$(e)} ${CGe(e)} `}function CGe(e){if(!e.collection)return"";let t=d`

      ${VQ}

      `;return d`
      ${!e.isPublicView&&e.hasActiveTakedowns?AGe(e):""}
      ${t}
      ${N5(e,k0)}
      `}var EGe=aS("ms--lists-violation-banner",TY,d`${j(kY)}`,SY);function AGe(e){return e?.collection?.learnChallengeId?y$(o1.replace("{detailPageLink}",un(e.collection.learnChallengeId,"details")),iW):EGe}async function hEe(){let e=document.querySelector("[data-main-column] [data-page-content]");if(!e)return;let t=zGe(ee.pathname);await ye;let o=new wp(t,void 0,!0);await o.beforeActivate();let n=async()=>{w(fEe(o),e)};o.subscribe(et,n),S.subscribe(To,n),n()}function zGe(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 bEe(){let e=document.getElementById("filter-list");if(!e)return;let t=Array.from(document.querySelectorAll(".profile-component")),o=0,n=()=>{clearTimeout(o),o=setTimeout(()=>{PGe(Y0(e.value),t)},250)};e.addEventListener("input",n),e.addEventListener("change",n)}function PGe(e,t){let o=document.querySelector(".no-results"),n=new RegExp(e,"gi");o.hidden=!0;let r=t.filter(i=>(i.hidden=!i.textContent.match(n),i.hidden?!1:i));return r.length===0&&(o.hidden=!1,ht(la,"assertive",1e3)),r}A();A();A();A();var wUo=mt(),vUo=b.data.userLocale;A();A();function ea(e){let t=[],o=e.display_products?.[0];o&&t.push(o);let n=e.display_roles?.[0];n&&t.push(n);let r=e.levels?.[0],i=e.display_levels?.[0];if(i)t.push(i);else if(r&&r in jr.levels){let c=jr.levels[r];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 ew(e){return e.map(t=>d`
    • ${t}
    • `)}function W5(e,t){return e?Fn(e):t?lL(t):""}A();var dS=24*60*60*1e3;function mS(e,t,o){let n=re(),r=k.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return d`
      {let s=i.target;s.type!=="date"&&e.selectByValue(s.value)}} >
      ${NGe(e.facets)}
      i.value==="custom")?.isSelected}> ${vEe("starting-date",Oie,n.gt)} ${vEe("ending-date",xK,n.lt)}
        `}function NGe(e){return Object.keys(as).map(o=>{let n=e.find(r=>r.value.toLowerCase()===o);if(o==="all")return jGe("all",e);{let r=o==="custom"?HY:as[o];return xEe(o,r,n.isSelected)}})}function xEe(e,t,o=!1){let n=k.enableNewSiteSearch?"font-size-sm":"";return d` `}function jGe(e,t){let o=t.reduce((n,r)=>(r.isSelected&&r.value!=="all"&&(n.selection=!0),n),{selection:!1});return xEe(e,ra,!o.selection)}function vEe(e,t,o){let n=k.enableNewSiteSearch?"font-size-sm font-weight-normal":"",r=k.enableNewSiteSearch?"margin-top-xxs":"";return d` OGe()} value="${o}" /> `}function OGe(){let e=document.querySelector("#custom-date-facet-button"),t=document.querySelector("#custom-date-facet-error"),o=[];if(FGe()&&o.push(kK.replace("{date}",new Date().toLocaleDateString())),UGe()&&o.push(SK),t.innerHTML="",o.length){for(let n of o){let r=document.createElement("li");r.innerText=n,t.appendChild(r)}e.disabled=!0}else e.disabled=!1}function FGe(){let e=qGe().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 UGe(){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 qGe(){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 TEe(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 pS(t.getTime()-dS);case"last7days":return pS(o-7*dS);case"last30days":return pS(o-30*dS);case"last365days":return pS(o-365*dS);case"custom":return HGe();default:return""}}function HGe(){let e=re(),t=e.gt,o=e.lt,n=null,r=null;if(t){let i=new Date(t),s=i.getTimezoneOffset()*6e4;n=i.getTime()+s}if(o){let i=new Date(o),s=i.getTimezoneOffset()*6e4;r=i.getTime()+s+dS}return pS(n,r)}function pS(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 r=o.charAt(0),i=o!=="resource_type"&&o!=="type"?`${o}/any(${r}: `+n.map(s=>`${r} eq '${s}'`).join(" or ")+")":n.map(s=>`${o} eq '${s.replace("_"," ")}'`).join(" or ");t.push(`(${i})`)}}return t.join(" and ")}function T$(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(k.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(y=>`${m} eq '${y}'`).join(" or "),f=`(${c}/any(${m}: ${g}))`;n.push(f)}}if(n.length>0){let c=n.join(" and ");t.push("("+c+")")}let r;for(let c in e.selectedFacets.date){r=c;break}let i=r?TEe(r):"";i&&t.push("(category eq 'QnA' and "+i+")");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 SEe(){return{facetSort:(e,t)=>vo(e)-vo(t),layout:"grid",hideCompleted:!0,fetch:BGe,resultTemplate:Q5,resultSortOptions:[{label:uee,orderBy:null},{label:Af,orderBy:"title"},{label:zf,orderBy:"title desc"},{label:Vf,orderBy:"last_modified desc"},{label:Wf,orderBy:"last_modified"}]}}function Q5(e){let o=`learn-${e.uid?Oo(e.uid):Xe()}-title`;return d`

        ${jr.resource_type[e.resource_type]}

        ${e.title}
        `}async function BGe(e){let[t]=await Promise.all([kEe(e,!1),ye]);if(t.count===0&&([t]=await Promise.all([kEe(e,!0),ye]),t.count!==0&&(t.isFuzzySearch=!0)),!k.certificationAndCourseUpdates&&(t.facets&&t.facets.resource_type&&(t.facets.resource_type=t.facets.resource_type.filter(r=>r.value!=="course")),t.results)){let r=t.results.filter(i=>i.resource_type!=="course");t.count<=t.results.length&&(t.count=r.length),t.results=r}let o=t.results.map(r=>r.uid),n;try{n=(await Promise.resolve(k.gamification&&S.isAuthenticated?uf(o):Promise.resolve([]))).reduce(CEe("uid"),{})}catch{n={}}for(let r of t.results)r.icon_url&&(r.icon_url=ot(r.icon_url,"en-us")),r.url&&(r.url=ot(r.url,ct.userLocale)),r.uid in n&&(r.progress=n[r.uid]);return t}function GGe(e){return{branch:mt(),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:L.reviewFeatures.toString()}}async function kEe(e,t){let o={...GGe(e),fuzzySearch:t},n=`${M.browse.learn}?${se(o,!0)}`;return R(Z(n,{method:"GET"})).then(async i=>{if(i.ok)return await i.json();throw{error:i.json()}})}function CEe(e){return(t,o)=>(t[o[e]]=o,t)}function VGe(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 r=`${Math.floor((o-t.remainingTime)/o*100)}%`;return d``}return d` `}A();A();function k$(e,t){return(e==="lit"?d:K)`

        ${t?.title??Vre}

        `}A();Ge();A();Ge();A();function AEe(){return{facetSort:(e,t)=>vo(e)-vo(t),layout:"grid",fetch:WGe,resultTemplate:zEe,resultSortOptions:[{label:Af,orderBy:"title"},{label:zf,orderBy:"title desc"},{label:Vf,orderBy:"last_modified desc"},{label:Wf,orderBy:"last_modified"}]}}function zEe(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=jr.resource_type[e.resource_type],r=e.resource_type==="examination"?`${Br} ${e.exam_display_name}: ${e.title}`:e.title,s=`certifications-${e.uid?Oo(e.uid):Xe()}-title`;return d`

        ${n}

        ${r}
        ${o}
        `}async function WGe(e){let[t]=await Promise.all([EEe(e,!1),ye]);t.count===0&&([t]=await Promise.all([EEe(e,!0),ye]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.icon_url&&(o.icon_url=ot(o.icon_url,"en-us")),o.url&&(o.url=ot(o.url,ct.userLocale));return t}function QGe(e){return{branch:mt(),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 EEe(e,t){let o={...QGe(e),fuzzySearch:t},n=`${M.browse.certification}?${se(o,!0)}`;return R(Z(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}A();A();var YGe=Nl(),KGe={orderBy:"latest_episode_upload_at desc"};function IEe(){return{facetSort:(e,t)=>vo(e)-vo(t),layout:"grid",fetch:ZGe,resultTemplate:LEe(),taxonomyFacetLookups:{type:"show_type"}}}async function ZGe(e){let[t]=await Promise.all([PEe(e,!1),ye]);t.count===0&&([t]=await Promise.all([PEe(e,!0),ye]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=ot(o.url,ct.userLocale));return t}function PEe(e,t){let o={...JGe(e),fuzzySearch:t},n=`${M.browse.shows}?${se(o,!0)}`;return R(Z(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}function JGe(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["products","type"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:KGe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function LEe(){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 XGe(e,t)}}function XGe(e,t){let o=e.latest_episode_upload_at?d`

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

        `:"";return d` `}Pg();A();A();Ge();A();var q6o=mt(),H6o=b.data.userLocale;A();Ge();A();A();A();var wVe=vVe();function vVe(){let e=wh.getItem("x-sid");return e||(e=su(),wh.setItem("x-sid",e),e)}var S$={"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 $Ee(){return L.supportLevel==="production"?"958652F9-1B3E-C23A-E908-CDFFFE508ECB":"4459FB26-0753-0E59-AA51-E12E04E8D946"}async function DEe(e){let t={timestamp:String(Date.now()),use_case:e,"HEADER_user-agent":navigator.userAgent,"HEADER_accept-language":S$[b.data.userLocale]??"default",HEADER_origin:location.origin,HEADER_referer:document.referrer},o={method:"POST",body:JSON.stringify(t)},n=Z(M.encryptCaptchaPayload,o),r=await R(n);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 NEe=["version","getConfig","reset","run","setConfig"];var xVe=k.chromeless||Jae.getItem("playwrightActive"),gS;function jEe(){return gS}var TVe=!1;function kVe(){TVe=!0}async function SVe(){return xVe?!1:(await ye,S.isAuthenticated)}function fS(e){return gS!==void 0||(gS=SVe().then(t=>t?Ks("https://client-api.arkoselabs.com/v2/api.js",null,void 0,void 0,!0).then(()=>CVe(e)).then(AVe).catch(o=>{throw kVe(),new Error("Failed to load Arkose library")}):Promise.resolve())),gS}function CVe(e){return new Promise(t=>{U.setupEnforcement=function(o){EVe(o,e).then(t)}})}async function EVe(e,t){let o=S$[b.data.userLocale]||"default";return e.setConfig({language:o,publicKey:$Ee(),data:await(async()=>{let n;try{k.arkoseEncrypt&&(n=await DEe(t))}catch{}return n})()}),zVe(e),e}function AVe(e){let t=NEe.filter(o=>e[o]===void 0);if(t.length>0)throw new Error(`Missing arkose dependencies: ${t.join(", ")}`)}function zVe(e){U.arkoseEnforcement=e}function X5(){return U.arkoseEnforcement}A();function hS(e){return encodeURIComponent(e==="high-contrast"?` `:e==="dark"?` `:` `)}var bS=class{};function C$(e,t){return K` `}A();var A$="captcha-container",BEe,GEe,OEe=0,PVe=3,VEe=KEe(),E$=class{},e8=new He,FEe=e=>{YEe(e.token),BEe()},IVe={title:Pu,imgsrc:e=>`data:image/svg+xml,${hS(e)}`,message:rl,description:i0,buttonText:Ru,event:E$,type:"static"},LVe={title:GN,iframeContainerId:A$,type:"iframe"},UEe={mode:"inline",selector:"#"+A$,onCompleted:FEe,onSuppress(e){e.suppressed&&(FEe(e),qEe("suppressed",S.userId,P("lab-id")))},async onError(e){qEe("failed",S.userId,P("lab-id"));let t=await jVe(),o=X5();if(t&&OEe{UEe.onCompleted?.(o),e.onCaptchaCompleted?.()}}:{}}),t.run(),await VEe,t.reset()}catch{e.renderError?.()}return MVe(),GEe}var SGo=d`

        ${GN}

        `;async function QEe(){let e=null,t=await WEe({renderCaptcha:()=>{e=HEe(LVe),e.show()},renderError:()=>{e=HEe(IVe),e.show()}});if(typeof t!="string"||!t||t.trim()==="")throw new Error("Captcha failed");return e&&e.hide(),t}function YEe(e){GEe=e}function RVe(){YEe("")}function KEe(){return new Promise(e=>{BEe=e})}function MVe(){VEe=KEe()}function $Ve(){return T.querySelector("#"+A$)}function DVe(){let e=$Ve();e&&e.replaceChildren()}function NVe(e,t){e.setConfig({...e.getConfig(),...t})}function qEe(e,t,o){let n=o||null;we({behavior:le.OTHER,actionType:Se.OTHER,content:{event:"arkose-result",labInstanceId:n,userInstanceId:t,message:e}})}async function jVe(){try{return(await(await fetch("https://status.arkoselabs.com/api/v2/status.json")).json()).status.indicator==="none"}catch{return!1}}function HEe(e){let t=T.createElement("div");t.classList.add("modal-content","margin-none","width-full"),t.tabIndex=-1;let o=C$(e8,e).create();return Uu(e8,E$,()=>{location.reload()}),o.bind(e8,ns),o.appendTo(t),new _e(t)}A();var UVe=new Promise(()=>{});A();Ge();async function rc(e,t){let o=await np(t);if(!o||!e)return;let n=e.hasOwnProperty("parents");if(Ft){let i=s=>"/"+s.split("/").slice(2).join("/");e&&(e=Ys(e),e.url=i(e.url)),n&&e&&e.parents&&(e.parents[0].url=i(e.parents[0].url))}let r=P("page_kind");switch(r){case"appliedSkills":o.add({title:mn,url:`/${o.basePath}/credentials`},{title:pc,url:`/${o.basePath}/credentials/browse/`});break;case"appliedSkillsAssessment":o.add({title:mn,url:`/${o.basePath}/credentials`},{title:pc,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:pc,url:`/${o.basePath}/credentials/browse/`},{title:e?.title??"",url:`/${o.basePath}${e.url}`});break;case"role":case"certification":o.add({title:k.previewCredentialsL1?mn:tl,url:k.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:k.previewCredentialsL1?pc:Eu,url:k.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"certificationrenewal":o.add({title:k.previewCredentialsL1?mn:tl,url:k.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:k.previewCredentialsL1?pc:Eu,url:k.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:k.previewCredentialsL1?mn:tl,url:k.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:k.previewCredentialsL1?pc:Eu,url:k.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`},{title:e?.title??"",url:`/${o.basePath}${e?.url}/`},{title:uN,url:`/${o.basePath}${e?.url}/renew/`});break;case"examination":o.add({title:k.previewCredentialsL1?mn:tl,url:k.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:k.previewCredentialsL1?pc:Eu,url:k.previewCredentialsL1?`/${o.basePath}/credentials/browse/`:`/${o.basePath}/certifications/browse/`});break;case"practiceAssessmentReport":o.add({title:k.previewCredentialsL1?mn:tl,url:k.previewCredentialsL1?`/${o.basePath}/credentials`:`/${o.basePath}/certifications`},{title:k.previewCredentialsL1?pc:Eu,url:k.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 "${r}".`)}o.render()}var vp=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")}};F([G],vp.prototype,"endDate",2),F([G],vp.prototype,"totalTimeLeft",2),F([G],vp.prototype,"isExpired",2);var GVe=K` ${e=>e.displayFormat.indexOf("d")>-1?`${Uw.replace("{days}",e.days.toString())}`:null} ${e=>e.displayFormat.indexOf("h")>-1?`${vJ.replace("{hrs}",e.hrs.toString())}`:null} ${e=>e.displayFormat.indexOf("m")>-1?`${Np.replace("{numberOfMinutes}",e.mins.toString())}`:null} ${e=>e.displayFormat.indexOf("s")>-1?`${qre.replace("{seconds}",e.seconds.toString())}`:null} `,VVe=K` ${mo(e=>[{value:e.hrs,label:Iu},{value:e.mins,label:Ww},{value:e.seconds,label:T0}],K` ${(e,t)=>t.parent.addLeadingZero(e.value)} ${e=>e.label} ${Le((e,t)=>!t.isLast,K` : `)} `,{positioning:!0})} `,ZEe=K` ${Le(e=>e.totalTimeLeft>0,K` ${Le(e=>e.dateFormat===1,GVe)} ${Le(e=>e.dateFormat===0,VVe)} `)} `;A();A();var QVe={"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 xo(e){let t={"applied-skill":"credentials/applied-skills",practice:`credentials/certifications${re()["practice-assessment-type"]==="certification"?"":"/exams"}`,renewal:"credentials/certifications"},o={"applied-skill":"applied-skill",practice:`${re()["practice-assessment-type"]==="certification"?"certification":"exam"}`,renewal:"certification"},n={"applied-skill":[],practice:[1,2],renewal:[0,1,2]},r={"applied-skill":"",practice:"practice",renewal:"renew"},i={0:"",1:"assessment",2:"results"},s={accommodationRequested:uve(),"api-branch":re()["api-branch"],assessmentid:e.query?.assessmentid,assessmentId:e.query?.assessmentId,"assessment-type":e.assessmentType,"certification-id":e.credentialId,"display-captcha":e.query?.["display-captcha"]??re()["display-captcha"],"practice-assessment-type":re()["practice-assessment-type"],preview:re().preview,"skip-verification":e.query?.["skip-verification"]??bk(),snapshotId:e.query?.snapshotId,"snapshot-version":yk(),themebranch:re().themebranch},a=QVe[e.assessmentType][e.pageType][L.reviewFeatures?0:1],l={origin:ee.origin+"/",locale:ct.userLocale+"/",test:Ft?"test/training/":"",credentialType:t[e.assessmentType].replace(Ft&&["practice","renewal"].includes(e.assessmentType)?"credentials/":"","")+"/",credentialId:e.credentialId.replace(new RegExp("^"+o[e.assessmentType]+"."),"").replace(Ft?/\-test$/:"","")+"/",credentialPathname:e.credentialPathname?e.credentialPathname.replace(/^\/|\/$/g,"")+"/":null,subPath:n[e.assessmentType].includes(e.pageType)?r[e.assessmentType]+"/":"",pageType:i[e.pageType],query:a.length?"?"+se(a.reduce((u,p)=>(u[p]=s[p],u),{})):""};return`${l.origin}${l.locale}${l.credentialPathname??l.test+l.credentialType+l.credentialId}${l.subPath}${l.pageType}${l.query}`}A();var o8=class{constructor(t,o,n,r,i){this.location=t;this.dataBinding=o;this.templateBinding=r;this.source=null;this.view=null;this.data=null;this.originalContext=void 0;this.childContext=void 0;this.dataBindingObserver=ro.binding(o,this,n),this.templateBindingObserver=ro.binding(r,this,i)}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)}},n8=class extends Kl{constructor(o,n){super();this.dataBinding=o;this.templateBinding=n;this.createPlaceholder=At.createBlockPlaceholder;this.isBindingVolatile=ro.isVolatileBinding(o),this.isTemplateBindingVolatile=ro.isVolatileBinding(n)}createBehavior(o){return new o8(o,this.dataBinding,this.isBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile)}};function io(e,t){let o=typeof t=="function"?t:()=>t;return new n8(e,o)}A();function z$(e){let t=function(){let i=P("sourceContentUid");return i?i.split(".")[1]:e.pathname.split("/")[Ft?6:4]}(),o=e.searchParams.get("display-captcha"),n=e.searchParams.get("snapshotId"),r=e.searchParams.get("skip-verification");return{credentialId:t,displayCaptcha:o,skipverification:r,snapshotId:n}}function P$(e,t,o){let r=T.title.split("|").pop();return`${t.replace(o,e)} | ${r}`}var r8=K`

        ${e=>e.title}

        ${e=>e.msg}

        ${e=>e.primaryButton.text} ${Le(e=>"secondaryButton"in e,K` ${e=>e.secondaryButton.text}`)}
        `;function i8(e){return t0e({buttonText:e,template:e0e(),hasPrimaryButton:!0,isDisabled:!0})}function e0e(){return K`

        ${qG}

        ${io(e=>e,ZEe)}

        `}function t0e(e){let t=e.isDisabled?"disabled":"",o=e.hasPrimaryButton?"button-primary":"";return K`
        ${io(n=>n,e.template)}
        `}function YVe(e){let o=!(e.riskData?.appealStatus&&e.riskData?.appealStatus==="denied"),n=e.riskData?.appealStatus==="approved"?!1:!!(e.riskData?.appealStatus||e.isDisabled),r=XG;return{alertText:{approved:Yo(eV),new:tV,denied:mN,defaultMSg:r}[e.riskData?.userStatus==="NotAllowed"?e.riskData.appealStatus??"defaultMSg":"defaultMSg"],hasPrimaryButton:o,isDisabled:n}}function s8(e){let{alertText:t,hasPrimaryButton:o}=YVe({isDisabled:e.isDisabled,riskData:{appealStatus:e.riskData?.appealStatus,userStatus:e.riskData?.userStatus}});return t0e({buttonText:e.buttonText,template:K`
        ${At.createHTML(Yo(t))}
        `,hasPrimaryButton:o,isDisabled:!0})}A();var s0e={InvalidRequest:DG,LabError:NG,SubscriptionUnavailable:IG,NotAllowed:Yo(jG),InvalidCaptchaToken:i0,default:ju};var I$=class{},tw=class{},L$=class{},_S=class{};var l8={title:Pu,type:"static",imgsrc:e=>`data:image/svg+xml,${hS(e)}`,message:rl,description:PG,buttonText:Ru,event:tw};var a0e={title:LG,type:"static",imgsrc:e=>`data:image/svg+xml,${hS(e)}`,message:RG,description:MG,buttonText:$G,event:_S};var l0e="labStatusReporter",o7e="fullScreenMessageTitle",n7e="fullScreenProgressText",r7e="fullScreenProgressWrapper",GYo=`#${o7e}`,VYo=`#${r7e} > #${n7e}`,c0e="labclient.labondemand.com";var c8=(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))(c8||{}),u8=(o=>(o.labCouldNotBeLaunched="sorry, your lab could not be launched",o.launchError="launch error",o))(u8||{});function ic(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 Ka=class extends He{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 vr("Commerce.Docs.LearnProgress_AppliedSkill_LaunchLab",this.appliedSkillScenarioTimeout),this.onMessageHandler=r=>{if(r&&r.origin.startsWith("https://")&&r.origin.endsWith(c0e)&&r.data)try{let i=JSON.parse(r.data);i.event_id===l0e&&(this.updateLabConnected(i),this.reportScenarioHealth(i),this.reportUpdatedTelemetry(i))}catch{}},this.onBeforeUnloadHandler=r=>{r.preventDefault(),r.returnValue=""},this.onUnloadHandler=()=>{this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId)},this.userNavigatedAway=()=>{ic(this.launchLabScenario,"userNavigatedAway")}}async initialize(){window.addEventListener("message",this.onMessageHandler,!1),window.addEventListener("visibilitychange",this.userNavigatedAway,!1),await this.initAppliedSkillSession(this.urlContext)}async submit(){try{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler),this._services.scoreAppliedSkillAssessment(this.urlContext.snapshotId)}finally{setTimeout(()=>{ee.href=R$(2,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}}async cancel(){try{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler),this._services.cancelAppliedSkillAssessment(this.urlContext.snapshotId),setTimeout(()=>{ee.href=R$(0,this.urlContext,this.appliedSkillAssessment.appliedSkill.url)})}catch{window.addEventListener("beforeunload",this.onBeforeUnloadHandler),window.addEventListener("unload",this.onUnloadHandler),this.publish(new bS)}}async expireTime(){try{let o=await this._services.getAppliedSkillAssessment(this.appliedSkillAssessment.labSession.labSessionId,this.captchaToken),n=Date.parse(this.appliedSkillAssessment.labSession.expiresAt),r=Date.parse(o.labSession.expiresAt);if(r<=n){window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let i=Uu(this,_S,this.submit.bind(this));this.iframe.classList.add("display-none"),document.documentElement.focus(),this.showModal(a0e).then(()=>{i(),this.submit()})}else{this.appliedSkillAssessment.labSession.expiresAt=o.labSession.expiresAt;let i=r-Date.now();setTimeout(this.expireTime.bind(this),i)}}catch{window.removeEventListener("beforeunload",this.onBeforeUnloadHandler),window.removeEventListener("unload",this.onUnloadHandler);let o=Uu(this,tw,()=>{ee.reload()});this.showModal(l8).then(n=>{o()})}}showModal(o){let n=document.createElement("div");n.classList.add("modal-content","margin-none","width-full"),n.tabIndex=-1;let r=C$(this,o).create();return r.bind(this,ns),r.appendTo(n),this.modal=new _e(n),this.modal.show()}async getCaptchaToken(){return fS("Applied Skills"),await QEe().catch(o=>{throw this.viewState=3,o})}reportScenarioHealth(o){if(o.errors.length>0&&ic(this.launchLabScenario,"labErrorFound",o.errors.join(", ")),o.currentConnectionState===1)ic(this.launchLabScenario,"successfullyLoaded");else if(o.messageProgressTitle){let n=this.getScenarioHealthEventFromMessageTitle(o.messageProgressTitle);n&&(n==="iframeFailure"?ic(this.launchLabScenario,n,void 0,o.messageProgressTitle):ic(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([[u8,"iframeFailure"],[c8,"reportLabProgress"]]);for(let[r,i]of n)if(Object.values(r).some(s=>o.includes(s)))return i;return null}async initAppliedSkillSession(o){try{ic(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,L.reviewFeatures&&this.urlContext.displayCaptcha==="true").catch(async i=>{let s=i,a=await em(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 i}),this.reportTelemetry({id:this.appliedSkillAssessment.labSession.labSessionId}),this.appliedSkillAssessment.labSession.scored==="Scored"||this.appliedSkillAssessment.labSession.scored==="ScoringInitiated"){ic(this.launchLabScenario,"labPreviouslyScored"),Promise.resolve().then(()=>{ee.href=R$(2,o,this.appliedSkillAssessment.appliedSkill.url)});return}this.urlContext.snapshotId=this.appliedSkillAssessment.labSession.labSessionId;let r=new URL(ee.href);r.searchParams.set("snapshotId",this.appliedSkillAssessment.labSession.labSessionId),Qn.replaceState(null,"",r),rc({title:this.appliedSkillAssessment.appliedSkill.title??YS,url:this.appliedSkillAssessment.appliedSkill.url||""},document.getElementById("article-header-breadcrumbs")||void 0),this.subscribe(I$,this.submit.bind(this)),this.subscribe(L$,this.cancel.bind(this)),document.title=P$(this.appliedSkillAssessment.appliedSkill.title??YS,Yo(zG),"{appliedSkillTitle}"),this.checkEstimatedReadyAt(n)}catch(n){let r=n,i=await em(r)??r.response?.errorCode;if(r.type==="NotFoundError"){ic(this.launchLabScenario,"labNotFound");let s=new URL(ee.href);s.searchParams.delete("snapshotId"),Qn.replaceState(null,"",s),this.viewState=3;return}if(r.type==="UnauthorizedError"||i==="QuotaExceeded"||k.disabledAppliedSkills&&i==="AppliedSkillDisabled")ic(this.launchLabScenario,"unauthorized"),ee.href=R$(0,this.urlContext);else{ic(this.launchLabScenario,"serverBadRequest",void 0,n);let s=Uu(this,tw,()=>{ee.reload()}),a=Object.assign({},l8,{message:rl,description:s0e[i??"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 r=(Date.parse(this.appliedSkillAssessment.labSession.estimatedReadyAt)||-1/0)-Date.now();o||r<=0||this.hasLabConnected?this.setTesting():(this.viewState=1,setTimeout(this.checkEstimatedReadyAt.bind(this),1e3))}};F([G],Ka.prototype,"appliedSkillAssessment",2),F([G],Ka.prototype,"urlContext",2),F([G],Ka.prototype,"viewState",2),F([G],Ka.prototype,"modal",2),F([G],Ka.prototype,"hasLabConnected",2),F([G],Ka.prototype,"captchaToken",2),F([G],Ka.prototype,"mostRecentLabStatusMessage",2),F([G],Ka.prototype,"subscription",2);function R$(e,t,o){return xo({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 i7e={loadingContext:{loadingType:!T.referrer||new URL(T.referrer).pathname.match(/.*(assessment|results)$/gi)?.length?0:1,navigation:{assessmentPageUrl:(e,t,o,n)=>xo({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:rv,supertitle:Yo(KG),title:e=>e||YD},failed:{supertitle:ZS,title:e=>e||YD}},reportScores:{scoresTitle:BG,scoreType:0,scoreGuidanceUrl:"https://learn.microsoft.com/credentials/support/assessment-scoring-reports#understand-an-assessment-lab-score-report"},reportStudyGuide:{guideType:0,studyGuideCollectionFormTitle:Yo(WG),studyGuideItemsTitle:VG}},errorContext:{reportError:e=>({NotFoundError:{title:la,msg:QD,primaryButton:{text:KS,url:xo({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}},UnexpectedError:{title:Pu,msg:ZG,primaryButton:{text:KS,url:xo({credentialId:e.credentialId,assessmentType:"applied-skill",pageType:0,credentialPathname:void 0,query:{"display-captcha":e?.displayCaptcha,"skip-verification":e?.skipverification}})}}})}};var M$=K` ${Le(e=>e.viewConfig.loadingContext.loadingType===1,null)} ${Le(e=>e.viewConfig.loadingContext.loadingType===0,K`

        ${GG}

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

        `)} `;var wS=class{constructor(t){if(this.errorType=t.error.type,this.errorType==="UnauthorizedError"&&L.accessLevel!=="local"&&!S.isAuthenticated&&Fo(),this.errorType==="NotFoundError"&&t.urlContext.snapshotId){let o=new URL(location.href);o.searchParams.delete("snapshotId"),Qn.replaceState(null,"",o)}}};F([G],wS.prototype,"errorType",2);var d8=e=>K`${io(t=>t.viewConfig.errorContext.reportError(t.urlContext)[e??t.reportError.errorType],r8)}`,m0e=K` ${Le(e=>e.reportError.errorType==="NotFoundError",d8())} ${Le(e=>e.reportError.errorType==="UnauthorizedError",d8("UnexpectedError"))} ${Le(e=>e.reportError.errorType==="UnexpectedError",d8())} ${Le(e=>e.reportError.errorType==="TimeoutError",M$)} `;var sc=class{constructor({high:t=0,low:o=0,max:n=1,min:r=0,optimum:i=0,value:s=0,classModifiers:a=""}){this.high=t,this.low=o,this.max=n,this.min=r,this.optimum=i,this.value=s,this.classModifiers=a}};F([Rr],sc.prototype,"high",2),F([Rr],sc.prototype,"low",2),F([Rr],sc.prototype,"max",2),F([Rr],sc.prototype,"min",2),F([Rr],sc.prototype,"optimum",2),F([Rr],sc.prototype,"value",2),F([G],sc.prototype,"classModifiers",2);var ac=class{constructor(t){this.correctPercent=t.correctPercent,this.overallMeter=this.createMeter(t.correctPercent,t.passingPercent),this.passed=t.passed,this.passingPercent=t.passingPercent,this.scoredAt=t.scoredOn,this.scores=this.createMeters(t.scores)}createMeter(t,o,n){return new sc({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")}))}};F([G],ac.prototype,"correctPercent",2),F([G],ac.prototype,"overallMeter",2),F([G],ac.prototype,"passed",2),F([G],ac.prototype,"passingPercent",2),F([G],ac.prototype,"scoredAt",2),F([G],ac.prototype,"scores",2);var g0e=K`
        `,f0e=K`

        ${e=>e.reportScores.passed?Aw:Ew}

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

        ${S7}${e=>cC.replace("{score}",e.reportScores.correctPercent.toString())}${e=>e.passed?Aw:Ew}

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

        ${io(e=>e.reportScores.overallMeter,g0e)}

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

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

        ${e=>e.title}

        ${Le((e,t)=>t.parent.viewConfig.loadedContext.reportScores.scoreType===1,K` ${io(e=>e.meter,g0e)}`)}
        `,{positioning:!0})}
        ${Le(e=>e.viewConfig.loadedContext.reportScores.scoreGuidanceUrl,K` `)}
        `;A();async function $$(e,t,o=HV){let n=document.createElement("div");n.classList.add("modal-content");let r=new _e(n),i=new Intl.DateTimeFormat(e).format(new Date).replace(/\//g,"-"),s=d` `;w(s,r.contentElement),r.contentElement.querySelector("button[type=submit]").onclick=async a=>{if(!S.isAuthenticated)return;a.preventDefault(),a.target.classList.add("is-loading");let c=document.getElementById("save-to-collection");(await zM(c,t)).hasError||(r.hide(),Gk("added"))},r.show()}var ow=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}};F([G],ow.prototype,"hasStudyGuideSummaries",2),F([G],ow.prototype,"studyGuide",2);var a7e=K`
        ${y7}
        ${Le(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,K` ${rC} `)} `,l7e=K`
        ${e=>e.type.toLowerCase()==="path"?Hf:kr} ${e=>e.data.title} ${e=>Fn(e.data.durationInMinutes)}
        `,c7e=K`

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

        `,u7e=K`

        ${YG}

        ${FG}

        ${mo(e=>e.reportStudyGuide.studyGuide.items,K` ${Le((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===0,l7e)} ${Le((e,t)=>t.parent.viewConfig.loadedContext.reportStudyGuide.guideType===1,c7e)} `)} `,h0e=K`

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

        ${Le(e=>!e.reportStudyGuide.hasStudyGuideSummaries,a7e)} ${Le(e=>e.reportStudyGuide.hasStudyGuideSummaries,u7e)}
        `;var Ko=class{constructor(t){this.assessmentId=t.assessmentId,this.credentialExpiresOn=t.credentialExpiresOn,this.credentialIcon=t.credentialIcon,this.credentialId=t.credentialId,this.credentialName=t.credentialName,this.credentialUrl=t.credentialUrl,this.dateCountdown=new vp(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}};F([G],Ko.prototype,"assessmentId",2),F([G],Ko.prototype,"credentialExpiresOn",2),F([G],Ko.prototype,"credentialIcon",2),F([G],Ko.prototype,"credentialId",2),F([G],Ko.prototype,"credentialName",2),F([G],Ko.prototype,"credentialUrl",2),F([G],Ko.prototype,"dateCountdown",2),F([G],Ko.prototype,"eligibleToRenewByDate",2),F([G],Ko.prototype,"isCurrentlyEligible",2),F([G],Ko.prototype,"isDisabled",2),F([G],Ko.prototype,"passed",2),F([G],Ko.prototype,"profileUrl",2),F([G],Ko.prototype,"retakeEligibleOn",2),F([G],Ko.prototype,"scoredOn",2),F([G],Ko.prototype,"shareableUrl",2),F([G],Ko.prototype,"titleDate",2),F([G],Ko.prototype,"riskData",2);var d7e=K`
        ${Le(e=>"supertitle"in e.viewConfig.loadedContext.reportSummary.passed&&!!e.reportSummary?.credentialName,K`

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

        `)}

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

        ${Le(e=>!!e.reportSummary?.scoredOn,K`

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

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

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

        `)} ${Le(e=>"profilePageBtnTxt"in e.viewConfig.loadedContext.reportSummary.passed,K` ${e=>e.viewConfig.loadedContext.reportSummary.passed.profilePageBtnTxt} `)} ${Le(e=>"shareMsg"in e.viewConfig.loadedContext.reportSummary.passed,K`
        ${Le(e=>"profileUrl"in e.reportSummary,K` ${OG} `)} ${Le(e=>k.appliedSkillsShare,K`
        ${e=>k$("fast",{extraClasses:{paragraph:"display-inline-block margin-right-xxs font-size-sm has-text-centered-mobile ",link:"margin-right-xxs font-size-md"},sharingLinks:Jk(e.reportSummary?.shareableUrl||"",e.reportSummary?.credentialName??Yo(BD),{achievementCopyTitle:{overrideTitle:e.reportSummary?.credentialName??Yo(HD),isUnquoted:!e.reportSummary?.credentialName}})})} `)}
        `)}
        `,p7e=K` ${Le(e=>!!e.reportSummary?.credentialName,K`

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

        `)}

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

        ${Le(e=>"detailsPageUrl"in e.viewConfig.loadingContext.navigation,K`

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

        `)} ${e=>k.disabledAppliedSkills&&((e.reportSummary?.isDisabled??!1)||e.reportSummary?.riskData?.userStatus==="NotAllowed")?s8({buttonText:r0,isDisabled:!0,riskData:{appealStatus:e.reportSummary?.riskData?.appealStatus,userStatus:e.reportSummary?.riskData?.userStatus}}):e.reportSummary?.isCurrentlyEligible?K` ${Le(t=>"eligibleTitle"in t.viewConfig.loadedContext.reportSummary.failed,K`

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

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

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

        `)} ${r0} `:K`${io(t=>t.reportSummary.dateCountdown,i8(r0))}`}`,b0e=K`
        ${Le(e=>e.reportSummary?.passed,d7e)} ${Le(e=>!e.reportSummary?.passed,p7e)}
        `;var ta=class{constructor(t){this.viewState=2;(async()=>{let o=t.urlContext??z$(new URL(location.href));this.urlContext=o;let n;this.viewConfig=t.viewConfig;let r;try{n=await t.getAssessmentReport(o),this.reportSummary=new Ko(n),this.reportScores=new ac(n),this.reportStudyGuide=new ow(n),this.passed=n.passed,r=1}catch(i){let a=await em(i);if(a==="TimeoutError"||a==="ScoringTimeout"){location.reload();return}this.reportError=new wS({error:i,urlContext:o}),r=0}finally{this.viewState=r,t.afterActivated(n?{credentialName:n.credentialName,credentialUrl:n.credentialUrl}:null)}})()}};F([G],ta.prototype,"passed",2),F([G],ta.prototype,"reportError",2),F([G],ta.prototype,"reportScores",2),F([G],ta.prototype,"reportStudyGuide",2),F([G],ta.prototype,"reportSummary",2),F([G],ta.prototype,"urlContext",2),F([G],ta.prototype,"viewConfig",2),F([G],ta.prototype,"viewState",2);var y0e=K` ${Le(e=>e.viewState===2,M$)} ${Le(e=>e.viewState===1,K`
        ${io(e=>e,b0e)} ${io(e=>e,f0e)} ${Le(e=>!e.passed,K`${io(e=>e,h0e)}`)}
        `)} ${Le(e=>e.viewState===0,m0e)} `;function _0e(){if(document.querySelectorAll("h1").length>1){let t=document.querySelector("[data-main-column] div:not(.content)>h1");t&&t.remove()}}var D$=class{constructor(t){this.sessionId=S2(t.sessionId)}};var p8={async createSession(e){if(!k.assessmentMergerLearnAssessment)return yu.createSession(e);let t=se({accommodationRequested:e.accommodationRequested,assessmentId:e.assessmentId,locale:e.locale,sessionVersion:e.sessionVersion,showAllQuestions:e.showAllQuestions,skipVerification:e.skipVerification}),o=`${M.learnAssessment}/rendering/assessments/${e.assessmentId}?${t}`,r=Z(o,{method:"POST"}),i=await R(r);if(me(i),i.ok)return await i.json();throw i.status===400?new Ue(i,"BadRequestError"):i.status===401?new Ue(i,"UnauthorizedError"):i.status===404?new Ue(i,"NotFoundError"):new Ue(i,"UnexpectedError")},async getSessionAnswerSummary(e){if(!k.assessmentMergerLearnAssessment)return yu.getSessionAnswerSummary();let t=`${M.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result/answers`,n=Z(t,{method:"GET"}),r=await R(n);if(me(r),r.ok)return await r.json();throw r.status===400?new Ue(r,"BadRequestError"):r.status===401?new Ue(r,"UnauthorizedError"):r.status===404?new Ue(r,"NotFoundError"):new Ue(r,"UnexpectedError")},async getPreviousAttemptsByParentId(e){if(!k.assessmentMergerLearnAssessment)return yu.getPreviousAttemptsByParentId();let t=`${M.learnAssessment}/rendering/assessments/linkedcontent/${e.parentId}/sessions/attempts`,n=Z(t,{method:"GET"}),r=await R(n);if(me(r),r.ok)return await r.json();throw new Ue(r,"UnexpectedError")},async getRenewalEligibility(){if(!k.assessmentMergerLearnAssessment)return yu.getRenewalEligibility()},async getSessionResult(e){if(!k.assessmentMergerLearnAssessment)return yu.getSessionResult();let t=`${M.learnAssessment}/rendering/assessments/sessions/${e.sessionId}/result`,n=Z(t,{method:"GET"}),r=await R(n);if(me(r),r.ok)return await r.json();throw r.status===400?new Ue(r,"BadRequestError"):r.status===401?new Ue(r,"UnauthorizedError"):r.status===404?new Ue(r,"NotFoundError"):new Ue(r,"UnexpectedError")},async submitSession(e){if(!k.assessmentMergerLearnAssessment)return yu.submitSession();let t=`${M.learnAssessment}/rendering/assessments/sessions/${e.sessionId}`,o={method:"PUT",body:JSON.stringify(e.userSelections)},n=Z(t,o),r=await R(n);if(me(r),r.ok)return await r.json();throw r.status===400?new Ue(r,"BadRequestError"):r.status===401?new Ue(r,"UnauthorizedError"):r.status===404?new Ue(r,"NotFoundError"):new Ue(r,"UnexpectedError")}};var $Xo=L.supportLevel==="production"&&L.reviewFeatures?"include":void 0;var w0e=async(e,t,o)=>{if(!k.assessmentMergerPracticeAssessment){if(L.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=`${M.learn.skillAssessment}/practice/assessments/${e}/sessions/${t}/result/answers?${se({locale:o})}`,i=Z(n,{method:"GET",credentials:"include",headers:{"Content-Type":"applicationhttps://www.microsoft.com/json"}},!0),s=await R(i);if(me(s),s.ok)return await s.json();throw new Error(`get practice answer summary api responded with ${s.status} ${s.statusText}`)}return new IR(await p8.getSessionAnswerSummary(new D$({sessionId:t})),o).items};A();A();A();Ge();A();async function x0e(){let e=`${M.profile.reporting}/createInvitation`,o=await R(Z(e,{method:"POST"}));if(o.ok)return await o.json();throw new Error(`createInvitation api responded with ${o.status} ${o.statusText}`)}async function T0e(){let e=`${M.profile.reporting}/status`,t=await R(Z(e));if(t.status===404)return null;if(t.ok)return await t.json();throw new Error(`Invitation status api responded with ${t.status} ${t.statusText}`)}A();async function C0e(){await Te,P("req_accommodation")==="true"&&h7e(),P("org_reporting")==="true"&&await b7e()}function h7e(){let e=document.getElementById("extend-time");if(!e)return;let{certificationUrl:t}=re(),o=e.firstElementChild.firstElementChild;o.href=`${t}&accommodationRequested=true`}async function b7e(){let e=document.getElementById("org-reporting-container"),t=document.getElementById("org-reporting-button");if(!e||!t)return;let o=t.innerText;if(await ye,S.isAuthenticated){let n,r=re().signInRedirect;if(S.userType==="standard")return r==="true"&&(Ht({signInRedirect:null},"replaceState"),N$(null,S0e)),k0e("msa-error",S0e,e,o);try{n=await T0e()}catch{return k0e("error",A0e,e,o)}if(r==="true"&&T7e(n),n)return x7e(n,e,o);let i=d``;w(i,e)}else{let n=P0e(),r=d``;w(r,e)}}async function E0e(){let e=document.createElement("div"),t=new _e(e);return w(y7e(t),e),await t.show()}function y7e(e){let t=d`

        ${j(JX)}

        `,o=ZX,n=d`
        `;return vS(o,t,n)}async function _7e(e){w7e();try{let t=await x0e();ee.href=t.nextStepUrl}catch{N$(e,A0e)}}function w7e(){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=KX,e.setAttribute("disabled",""))}async function N$(e,t){return(async n=>{e?e.pushContent(n):(e=new _e(n),await e.show())})(t()),await e.show()}function k0e(e,t,o,n){let r=d``;w(r,o),document.getElementById(e)?.addEventListener("click",()=>N$(null,t))}function A0e(){let e=document.createElement("div"),t=d`

        ${j(VX)}

        `,o=GX,n=d` `;return w(vS(o,t,n),e),e}function S0e(){let e=P0e(),t=document.createElement("div"),o=d`

        ${j(tee)}

        `,n=eee,r=d` `;return w(vS(n,o,r),t),t}async function z0e(e){let t=document.createElement("div"),o=new _e(t);return w(v7e(e),t),await o.show()}function v7e(e){let t=d`

        ${j(QX)}

        `,o=WX,n=d` ${oee} `;return vS(o,t,n)}function x7e(e,t,o){let n=e.status==="Accepted",r=e.nextStepUrl;if(n){let i=d``;w(i,t)}else{let i=d`${o}`;w(i,t)}}function T7e(e){let t=e&&e.status==="Accepted",o=e&&e.status==="Pending",n=e&&e.nextStepUrl;return Ht({signInRedirect:null},"replaceState"),t?z0e(n):o?ee.href=e.nextStepUrl:E0e()}function P0e(){return ee.search?`${ee.pathname}${ee.search}&signInRedirect=true`:`${ee.pathname}?signInRedirect=true`}function vS(e,t,o){return d` `}A();Kp();A();async function m8(e,t){let o=P("sourceContentUid"),n=t.searchParams.get("assessment-type"),r=await async function(){let l,c=n==="practice";if(o)try{l=(await ut.getListsItems([o]))[0]?.[c?"practiceAssessmentUid":"assessmentId"]}catch{}return l??t.searchParams.get("assessment-id")??t.searchParams.get("assessmentId")??null}(),i=function(){return o?o.split(".")[1]:!L.reviewFeatures||!Ft?location.href.replace(`${location.origin}/${e}/credentials/certifications/`,"").split("/")[0]:t.searchParams.get("certification-id")}(),s=t.searchParams.get("practice-assessment-type"),a=bk();return{assessmentId:r,certificationId:i,assessmentType:n,practiceAssessmentType:s,skipVerification:a,isPreview:a==="true",omitScoring:dve(),snapshotVersion:yk(),showAllQuestions:cve()}}A();A();A();A();A();A();var yin={allEmail:!0,autoFollowAsked:!0,autoFollowAnswered:!0,autoFollowCommented:!0,autoFollowTagged:!1,emailEventSettings:{questionUpdated:"off",questionPosted:"off",unansweredQuestions:"off",newModeration:"instant",newFollower:"off",newMention:"instant",answerUpdated:"off",answerPosted:"instant",answerAccepted:"instant",commentPosted:"instant",newPrivateMessage:"instant"}};A();var Uin=new URL(M.auth.partner).pathname;A();function M0e(){return d`
        ${Use}
        • ${qse}
        • ${Hse}
        • ${Bse}
        `}var O7e={qna:{contextualCard:M0e(),cancelRegistrationMessage:String(Gse),isEnabled:P("page_kind")!=="register"}},Esn=re();A();var xS=class{constructor(t,o){this.question=t;this.questionNumber=o}},TS=class{},mf=class{constructor(t){this.questionResponses=t}},kS=class{};var D0e=K` ${Le(e=>e.scenarioDescription,K`
        `)}
        ${mo(e=>e.choices[0].choices,K``)} ${mo(e=>e.choices[0].choices,K` `)} ${mo(e=>e.choices,K` ${mo(e=>e.choices,K` `)} `,{positioning:!0})}
        `,nw=class{constructor(t){this.isSelected=!1;this.text=t.text,this.id=t.id}};F([G],nw.prototype,"id",2),F([G],nw.prototype,"text",2),F([G],nw.prototype,"isSelected",2);var gf=class{constructor(t){this.text=t.title,this.id=t.fullyQualifiedId,this.description=t.description,this.choices=t.choices.map(o=>new nw(o)),this.manualId=t.manualId}validate(){return this.choices.reduce((t,o)=>t||o.isSelected,!1)}};F([G],gf.prototype,"id",2),F([G],gf.prototype,"text",2),F([G],gf.prototype,"description",2),F([G],gf.prototype,"choices",2);var xu=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 gf(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)}))}};F([G],xu.prototype,"uid",2),F([G],xu.prototype,"questionType",2),F([G],xu.prototype,"scenarioTitle",2),F([G],xu.prototype,"scenarioDescription",2),F([G],xu.prototype,"choices",2),F([G],xu.prototype,"id",2);function j$(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 N0e=K`
        ${i7}
        ${mo(e=>e.choices,K`
        ${(e,t)=>K` ${Le(o=>t.parent.displayAnswer,K` ${o=>o.isSelected&&o.isCorrect===!1?K`${Lp}`:""} ${o=>o.isCorrect===!0?K`${Rp}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,rw=class{constructor(t){this.isSelected=!1;this.text=t}};F([G],rw.prototype,"id",2),F([G],rw.prototype,"text",2),F([G],rw.prototype,"isSelected",2),F([G],rw.prototype,"isCorrect",2);var us=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=j$(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)}]}};F([G],us.prototype,"uid",2),F([G],us.prototype,"questionTitle",2),F([G],us.prototype,"questionDescription",2),F([G],us.prototype,"questionType",2),F([G],us.prototype,"scenarioTitle",2),F([G],us.prototype,"scenarioDescription",2),F([G],us.prototype,"choices",2),F([G],us.prototype,"id",2),F([G],us.prototype,"rationale",2),F([G],us.prototype,"displayAnswer",2);var j0e=K`
        ${t7}
        ${mo(e=>e.choices,K`
        ${(e,t)=>K` ${Le(o=>t.parent.displayAnswer,K` ${o=>o.isSelected&&o.isCorrect===!1?K`${Lp}`:""} ${o=>o.isCorrect===!0?K`${Rp}`:""} `)} `}
        `)}
        e.rationale||""}>
        `,iw=class{constructor(t){this.isSelected=!1;this.text=t}};F([G],iw.prototype,"id",2),F([G],iw.prototype,"text",2),F([G],iw.prototype,"isSelected",2),F([G],iw.prototype,"isCorrect",2);var ds=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=j$(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)}]}};F([G],ds.prototype,"uid",2),F([G],ds.prototype,"questionTitle",2),F([G],ds.prototype,"questionDescription",2),F([G],ds.prototype,"questionType",2),F([G],ds.prototype,"scenarioTitle",2),F([G],ds.prototype,"scenarioDescription",2),F([G],ds.prototype,"choices",2),F([G],ds.prototype,"id",2),F([G],ds.prototype,"rationale",2),F([G],ds.prototype,"displayAnswer",2);var ff=class{constructor(t,o,n,r,i,s,a,l){this.assessmentId=t,this.certificationUid=o,this.skipVerification=r,this.snapshotVersion=i,this.error=a,this.retry=l||(()=>{}),this.reportPageUrl=xo({assessmentType:s,pageType:2,credentialId:this.error.detail.certificationUid,credentialPathname:n,query:{assessmentid:this.error.detail.assessmentId,snapshotId:this.error.detail.snapshotId}}),this.recertDetailsUrl=xo({assessmentType:s,pageType:0,credentialId:this.certificationUid,credentialPathname:n,query:{assessmentId:this.assessmentId}})}retryHandler(){this.retry()}};F([G],ff.prototype,"error",2),F([G],ff.prototype,"reportPageUrl",2),F([G],ff.prototype,"recertDetailsUrl",2);var O0e=K`
         

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

        ${Le(e=>e.error&&e.error.status!==400,K`

        ${u7}

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

        ${m7}

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

        ${l7}

        `)}
        `;var F0e=K`

        ${Vt}

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

        ${g7}

        00 : 00 : 00
        `,Y7e=d` `,q0e=document.createElement("div"),H0e=new _e(q0e),K7e=()=>{w(Y7e,q0e)},Z7e=()=>H0e.hide(),J7e=()=>{document.querySelector(".modal-background").classList.remove("modal-close")},X7e=e=>{let{timeRemaining:t}=re(),o=parseInt(t);return isNaN(o)?e:o},eWe=500,O$=class{constructor(){this.countdownTimerReference=null}clearTimeout(){this.countdownTimerReference&&clearTimeout(this.countdownTimerReference)}};F([G],O$.prototype,"countdownTimerReference",2);var f8=(e,t,o,n)=>{let r=e,i=Math.floor(r/1e3%60),s=Math.floor(r/1e3/60%60),a=Math.floor(r/(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=i.toString().padStart(2,"0")}if(r<=0){let c=document.getElementById("next-button");return c.disabled!==null&&(c.disabled=!0),K7e(),H0e.show(),document.getElementById("see-results-button").addEventListener("click",()=>{t.publish(new kS),Z7e()}),J7e()}else return n.countdownTimerReference=setTimeout(f8,eWe,Math.max(o-Date.now(),0),t,o,n)},lc=class{constructor(t,o,n=lt,r=!1,i=!1,s="false",a="preview"){this.bus=n;this.omitScoring=r;this.isPreview=i;this.showAllQuestions=s;this.snapshotVersion=a;this.countdownTimerReference=new O$;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(),Pi.goto(t,"replaceState")};this.title=t,this.service=o,this.numberOfScenarios=this.service.questionnaire.count,this.timer=this.service.snapshot.timer,this.bus.subscribe(xS,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:[]});Pi.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=CSe,r={id:"renewal-assessment-platform-api-link",url:ESe,text:WV},i=new Date(Date.parse(this.service.snapshot.temporaryPreviewExpiresAt));to(VV?.replace("{temporaryPreviewExpiresAt}",i.toString()),r,t,o,n)}if(this.timer!==null&&this.timer!==void 0){let t=this.timer*1e3*60;if(L.supportLevel==="production"){let o=Date.now()+t;f8(t,this.bus,o,this.countdownTimerReference)}else{let o=X7e(t),n=Date.now()+o;f8(o,this.bus,n,this.countdownTimerReference)}}}updateScenario(t,o){let[n,r,i]=t.fullyQualifiedId.split(".");this.questionnaireId=n,this.questionSetId=r,this.questionId=i,this.currentScenario=t,this.currentScenarioNumber=o,this.form&&this.form.focus()}next(){this.bus.publish(new TS)}checkUserAnswer(){if(this.form.checkValidity()){this.currentScenario.checkUserAnswer();return}this.form.reportValidity()}};F([G],lc.prototype,"numberOfScenarios",2),F([G],lc.prototype,"currentScenarioNumber",2),F([G],lc.prototype,"currentScenario",2),F([G],lc.prototype,"title",2),F([G],lc.prototype,"timer",2),F([G],lc.prototype,"countdownTimerReference",2);var B0e=K` ${Le(()=>L.reviewFeatures,K`
        e.reRouteSession()} />
        `)}
        ${Le(e=>e.isPreview,K` ${e=>e.manualId||e.renewalAssessmentUid} `)}

        ${e=>e.title}

        ${e=>e.timer!==null&&e.timer!==void 0?Q7e:""}
        ${Le(e=>e.isPreview,K` (${e=>e.currentScenario.manualId||e.currentScenario.uid}) `)}
        ${io(e=>e.currentScenario,e=>tWe(e.currentScenario))}
        ${Le(e=>e.options.showcheckAnswer,K` `)}
        `;function tWe(e){let t={SingleSelect:j0e,MultiSelect:N0e,Matrix:D0e},o=e.questionType.charAt(0).toUpperCase()+e.questionType.slice(1);return t[o]}function oWe(e){return e.currentScenarioNumber===e.numberOfScenarios?e.isPreview&&(e.omitScoring||e.snapshotVersion==="preview")?uG:Do:s7}document.onkeydown=e=>{if(e.altKey&&e.key==="v"){let t=document.getElementById("timer-container");if(t)switch(t.getAttribute("aria-live")){case"polite":t.setAttribute("aria-live","assertive");break;case"assertive":t.setAttribute("aria-live","off");break;case"off":t.setAttribute("aria-live","assertive");break}}};var G0e=K`
         

        ${a7}

        `;var aw=class{constructor(t,o){this.scoredSnapshot=t,this.resultsUrl=o}};F([G],aw.prototype,"scoredSnapshot",2),F([G],aw.prototype,"resultsUrl",2);var V0e=K` `;var F$=class extends He{constructor(o,n,r,i,s,a=lt,l=!1,c=!1){super();this.service=o;this.assessmentId=n;this.skipVerification=r;this.showAllQuestions=i;this.snapshotVersion=s;this.bus=a;this.omitScoring=l;this.isPreview=c;this.viewState="Loading";this.publish(new Ig)}async initializeAssessment(){let o=await m8(b.data.userLocale,new URL(location.href));try{await this.service.initSnapshot()}catch(n){W0e(n,this.service,o.certificationId)}T.title=this.service.type==="renewal"?this.createTitle(this.service.snapshot.certificationName,T.title):T.title,this.setTesting(),this.bus.subscribe(mf,async n=>{this.setScoring();try{await this.service.scoreSnapshot(n.questionResponses)&&this.service.type==="renewal"?this.setSuccess(this.service.scoredSnapshot,xo({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(r){if(r instanceof Qg){this.setError(this.assessmentId,this.service.snapshot.certificationUid,this.service.contentSource?.url,this.skipVerification,this.snapshotVersion,this.service.type,r,()=>this.bus.publish(new mf(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 lc(this.service.snapshot.title,this.service,this.bus,this.omitScoring,this.isPreview,this.showAllQuestions,this.snapshotVersion),this.model.initialize(),this.viewState="Testing",this.publish(new et),this.assessmentStart=Date.now()}setScoring(){this.assessmentTime=(Date.now()-this.assessmentStart)/6e4,this.model=null,this.viewState="Scoring",this.publish(new et)}async setSuccess(o,n){this.model=new aw(o,n);try{await Promise.all([YT("/en-us/media/learn/certification/renew/fireworks.png?branch=main"),YT("/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main")])}finally{this.viewState="Success",this.publish(new et)}}setError(o,n,r,i,s,a,l,c){this.model=new ff(o,n,r,i,s,a,l,c),this.viewState="Error",this.publish(new et)}setFailed(){this.viewState="Failed",this.publish(new et)}createTitle(o=el,n=T.title){let r=n.split("|").pop();return`${YV.replace("{certificationName}",o||el)} | ${r}`}};F([G],F$.prototype,"viewState",2);var nWe=K` ${Le(e=>e.viewState==="Loading",F0e)} ${Le(e=>e.viewState==="Testing",K` ${io(e=>e.model,e=>B0e)}`)} ${Le(e=>e.viewState==="Scoring",G0e)} ${Le(e=>e.viewState==="Success",K` ${io(e=>e.model,e=>V0e)}`)} ${Le(e=>e.viewState==="Error",K` ${io(e=>e.model,e=>O0e)}`)} `;function W0e(e,t,o){if(e instanceof Qg){if(e.status===401){Fo(location.href);return}t.snapshot?location.href=xo({assessmentType:"renewal",pageType:0,credentialId:t.snapshot&&t.snapshot.certificationUid||o,credentialPathname:t.contentSource.url,query:{assessmentId:t.snapshot&&t.snapshot.renewalAssessmentUid||""}}):location.href=ei(T.referrer).href;return}else throw e}var rWe={loadingContext:{loadingType:1,navigation:{assessmentPageUrl:(e,t,o)=>xo({credentialId:e,assessmentType:"renewal",pageType:1,credentialPathname:o,query:{assessmentId:t}}),detailsPageUrl:(e,t,o)=>xo({credentialId:e,assessmentType:"renewal",pageType:0,credentialPathname:o,query:{assessmentId:t}}),profileDetailPageUrl:uo("me","certifications"),profileOverviewPageUrl:uo(S.userName),browsePageUrl:`/${b.data.userLocale}/certifications`}},loadedContext:{reportSummary:{passed:{title:e=>ZD.replace("{certificationName}",e||el),imgSrc:e=>e||"/en-us/media/learn/certification/badges/microsoft-certified-associate-badge.svg?branch=main",titleDate:e=>e,dateMsg:`${AY} ${b7}`,profilePageBtnTxt:JD,supertitle:ZS},failed:{detailsPageBtnTxt:w7,eligibleTitle:x7,eligibleMsg:e=>T7.replace("{date}",Hs.format(e)),supertitle:_7,title:e=>e||el}},reportScores:{scoresTitle:aC,scoreType:1},reportStudyGuide:{guideType:1,studyGuideCollectionFormTitle:GV,studyGuideItemsTitle:iC}},errorContext:{reportError:e=>({NotFoundError:{title:la,msg:k7,primaryButton:{text:C7,url:`/${b.data.userLocale}/credentials`},secondaryButton:{text:JD,url:uo(S.userName)}}})}};A();var hf="facet-search-input";async function U$(e,t,o=null,n=60*1e3){let r=new URL(e).href;if(t.length>100)return{question:"",answer:""};let i=Z(r,{mode:"cors",method:"POST",credentials:L.supportLevel==="production"&&L.reviewFeatures?"include":"same-origin",body:JSON.stringify({Query:t}),signal:o||void 0}),s,a=new Promise((l,c)=>{s=window.setTimeout(()=>{c(new Zt(new Response("Timeout",{status:408})))},n)});try{let l=await Promise.race([fetch(i),a]);if(l.ok){let c=(await l.text()).trim();return c?JSON.parse(c):{question:"",answer:""}}throw new Zt(l)}finally{s!==void 0&&clearTimeout(s)}}function q$(e,t,o,n,r,i,s,a){if(isNaN(e))return"";if(!t)return ute.replace("{numberOfResults}",Mr(e));let c=s?e===1?Tie:xie:a?e===1?bie:hie:e===1?fie:gie,u=a?e===1?vie:wie:e===1?_ie:yie,p=a?e===1?Aie:Eie:e===1?Cie:Sie,m;switch(o){case"Documentation":case"documentation":m=p.replace("{pivotCategory}",aa);break;case"Training":case"training":m=p.replace("{pivotCategory}",Yr);break;case"Credential":case"credential":m=p.replace("{pivotCategory}",mn);break;case"Reference":case"reference":m=p.replace("{pivotCategory}",Wn);break;case"Show":case"show":m=p.replace("{pivotCategory}",Tr);break;case"QnA":case"qna":m=p.replace("{pivotCategory}",Kw);break;default:m=n&&!r?u:c}return m.replace("{count}",Mr(e)).replace("{searchPhrase}",i&&i.length!==0?iWe(t,i):t).replace("{scope}",n&&!r?n:"").replace(/\s\s+/g," ")}function iWe(e,t){t.reverse();let o=e;for(let{start:n,length:r,correction:i}of t)o=`${o.substring(0,n)}${i}${o.substring(n+r)}`;return o}function Q0e(e){if(e.busy)return;let o=(e.facetGroups?.category&&e.facetGroups.category.facets.find(i=>i.isSelected))?.value||"",n=q$(e.resultsCount,e.terms,o,e.scope,e.scopeRemoved,e.spellingCorrection),r=e.resultsCount===0?$o:n;e.getSelectedCategoryName()!=="Ai"&&ht(r,"assertive")}var Tu=class{constructor(t){this.type=t}};var bf=class extends He{constructor(o,n,r,i,s,a,l,c,u,p,m){super();this.label=o;this.count=n;this.name=r;this.value=i;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 Tu(o))}};function Y0e(e){let t={};for(let o in e){let n=o,r=e[n];t[n]=r.selected}return t}function K0e(e){let t={};for(let o in e){let r=e[o];t={...t,...r.expanded}}return t}function Z0e(e,t,o){if(!t){let r=document.createElement("input");return o&&(r.pattern="(?!^\\s+$)^.*$",r.required=!0),r.setAttribute("type","text"),r.setAttribute("aria-label",so),r.setAttribute("maxlength","100"),r.dataset.biName="search-input",r.classList.add("input","input-lg"),r.placeholder=so,r.id=hf,r.name=hf,r.value="",r}t.input={...t.input,name:hf,id:hf,label:so,size:"large",required:!!o};let n=Ai({...t,initialValue:""});return n.addEventListener(Va,()=>e()),n.addEventListener(Va,kxe),n.addEventListener(Tk,YR),n}function H$(e){document.getElementById(`facet-input-filter-${e}`).focus()}var SS=class{constructor(t){this.skip=t}},B$=class extends He{constructor(o,n,r=0){super();this._top=n;this.pageIndex=Math.floor(r/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 SS(n))}};function sWe(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 J_){let n=`filter-${o}`,r=o in e.filters;t[n]=r?e.filters[o]:null}return t.search=null,t}function oa(e,t="pushState"){let o=sWe(e);Ht(o,t)}function J0e(e){for(let t in e){let o=t,n=aWe(o);e[o]=e[o].map(r=>X0e(r,o,n)),o!=="category"&&o!=="date"&&(e[o]=e[o].sort(n))}return e}function aWe(e){return e==="years"?(t,o)=>o.displayName.localeCompare(t.displayName,b.data.userLocale):e==="levels"?(t,o)=>w5(t.value)-w5(o.value):(t,o)=>t.displayName.localeCompare(o.displayName,b.data.userLocale)}function X0e(e,t,o){return e.displayName||(e.displayName=jr?.[t]?.[e.value]||e.value),e.children&&e.children.length&&(e.children.map(n=>{X0e(n,t,o)}),e.children.length>1&&e.children.sort(o)),e}var h8=(e,t)=>t.hasChildren?t.children.reduce(h8,e)+1:e+1,G$=class extends He{constructor(o,n=""){super();this.key=o;this._filter=n;this._facets=[];this._totalFacets=0;this.name=J_[o]}get facets(){return this._facets}set facets(o){this._facets=o,this._totalFacets=this._facets.reduce(h8,0),this.subscribeToChanges(this.facets)}get hasFilterInput(){return this.filterActive||this._totalFacets>14}get selected(){return this.facets.reduce(b8("isSelected"),{})}get expanded(){return this.facets.reduce(b8("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="",H$(this.key),ht(H1,"assertive"),this.notifyFacetChange("filter")}clearFacet(){ht(H1,"assertive"),this.notifyFacetChange("facet_clear")}deselectAll(){this.facets.forEach(o=>o.deselect())}selectByValue(o){this.deselectAll();let n=this.facets.find(r=>r.value===o);n&&!n.isSelected&&n.select(),this.notifyFacetChange("select")}setFacets(o){this._facets=o,this._totalFacets=this._facets.reduce(h8,0),this.subscribeToChanges(this.facets)}subscribeToChanges(o){for(let n of o)n.subscribe(Tu,r=>this.notifyFacetChange(r.type)),n.children&&this.subscribeToChanges(n.children)}notifyFacetChange(o){this.publish(new Tu(o))}};function b8(e){return(t,o)=>{if(o[e])t[o.value]=!0;else if(o.hasChildren)return o.children.reduce(b8(e),t);return t}}function eAe(e){let t={};for(let o in e)if(o in J_&&e[o]){let n=o,r=e[n].split(","),i=lWe(n,r);i&&(t[n]=i.reduce((s,a)=>(s[a]=!0,s),{}))}return t}function tAe(e){return e.expanded?e.expanded.split(",").reduce((o,n)=>(o[n]=!0,o),{}):{}}function oAe(e,t,o,n){let r={};for(let i in e){let s=i,a=new G$(s,n[s]);a.facets=e[s].map(nAe(s,1,t,o,a)),r[s]=a}if($t==="Search"){let i=t.category&&Object.keys(t.category).length>0?Object.keys(t.category)[0]:void 0;for(let s of WR)s!=="All"&&!r?.category.facets.find(a=>a.name===s)&&(r.category.facets=r.category.facets.concat(new bf("category",0,s,s,s===i,!1,2,r.category.facets.length+1,r.category)))}return r}function nAe(e,t,o,n,r,i){return(s,a)=>{let l=e in o&&s.value in o[e],c=s.value in n,u=new bf(e,s.count,s.displayName||s.name,s.value,l,c,t+1,a+1,r,i,s.avatarUrl);return s.children&&s.children.length&&(u.children=s.children.map(nAe(e,t+1,o,n,r,u))),u}}function rAe(e){let t={};for(let o in e){let n=o,r=e[n];t[n]=r.filter||""}return t}function iAe(e){let t={};for(let o in e)t[e[o]]=o;return t}function lWe(e,t){if(t.length===0)return[];if(e==="category"){if(t.length===1){let o=WR.find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o==="Ai"&&(k.enableDeepSearch===!1||!S.isAuthenticated)?[]:o&&o!=="All"?[o]:null}return[]}else if(e==="date"){if(t.length===1){let o=Object.keys(as).find(n=>n.localeCompare(t[0],void 0,{sensitivity:"base"})===0);return o&&o!=="all"?[o]:null}return[]}return t}function CS(e){return Object.keys(e||{}).length===0}var V$=class extends He{constructor(o,n,r={}){super();this._top=n;this.initialized=new Promise(o=>{this.initialize=o});this.showSearchAnswer=!0;this._busy=!1;this._dataSource="";this._disallowBlankSlate=!1;this._expandedFacets={};this._facetGroups={};this._facetsKnown=!1;this._filters={};this._isFuzzySearch=!1;this._hideCompletedEnabled=!1;this._hideCompleted=!1;this._mobileMenuView="top";this._results=[];this._rssEnabled=!1;this._scopeRemoved=!1;this._scoringProfileEnabled=!1;this._spellingCorrection=[];this._blankSlateEnabled=!1;this._resultsSortOptions=[];this._currentResultsSortOptionsIndex=0;this._termHasSynonyms=!1;this._pageStateHandler=null;this._abortController={};this._maxCachedResponse=6;this._cachedResponse=[];this._maxCopilotQaCache=10;this._copilotQaCache=[];this._maxDeepSearchCache=5;this._deepSearchCache=[];this.argsStringifyFunc=(o,n)=>{if(o==="selectedFacets"){let r=n;for(let i in r)CS(r[i])&&delete r[i];n=r}if(!(o==="expandedFacets"||!n))return n};this.toUrl=o=>o.url;if(r.blankSlateEnabled&&(this._blankSlateEnabled=!0),r.taxonomyFacetLookups&&(this.taxonomyFacetLookups=r.taxonomyFacetLookups,this.taxonomyFacetLookupsReversed=iAe(this.taxonomyFacetLookups)),r.syntheticFacets&&(this._syntheticFacets=r.syntheticFacets),r.facetSort&&(this.facetSort=r.facetSort),r.queryStringTransformer){let i=r.queryStringTransformer(new URL(ee.href));Ht(i,"replaceState","")}if(this._pageStateHandler=r.pageStateHandler,this._fetch=o,r.hideCompleted&&S.isAuthenticated&&(this._hideCompletedEnabled=!0),this._scoringProfileEnabled=!!r.scoringProfile,this.scoringProfileEnabled&&(this._scoringProfile=r.scoringProfile),r.rss&&k.rss&&(this._rss=r.rss,this._rssEnabled=!0),r.resultSortOptions&&r.resultSortOptions.length>0){this._resultsSortOptions=r.resultSortOptions;let i=r.resultSortOptions.findIndex(s=>s?.default===!0);this._currentResultsSortOptionsIndex=i===-1?0:i}this._input=Z0e(async()=>{await this.fetch(),oa(this.createSearchArgs())},r.autocomplete,!!r.fetchRequiresTerms),this.readState(),!this.terms&&this.blankSlateEnabled?(this.setBusy(),this.setBlankData(),this.setReady()):(r.scenarioHealth&&(this._scenarioHealth=r.scenarioHealth,this.startScenario(this._scenarioHealth.viewResults)),this.fetch()),oa(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)CS(o[n])&&delete o[n];return o}get mobileMenuView(){return this._mobileMenuView}get resultsCount(){return this._resultCount}get input(){return this._input}get terms(){return this._input.value||""}get scope(){return this._scope}get scopeRemoved(){return this._scopeRemoved}get spellingCorrection(){return this._spellingCorrection}get results(){return this._results}get srcheng(){return this._srcheng}get busy(){return this._busy}get facetGroups(){return this._facetGroups}get selectedCategoryId(){return this._selectedCategoryId}get selectedFacets(){return this._selectedFacets}get expandedFacets(){return this._expandedFacets}get hideCompleted(){return this._hideCompleted}get hideCompletedEnabled(){return this._hideCompletedEnabled}get scoringProfileEnabled(){return this._scoringProfileEnabled}get scoringProfile(){return this._scoringProfile}get rssEnabled(){return this._rssEnabled}get rssUrl(){return this._rssUrl}get dataSource(){return this._dataSource}get blankSlateEnabled(){return this._blankSlateEnabled}get showBlankSlate(){return this.blankSlateEnabled&&!this.disallowBlankSlate&&(!this.results||this.results.length===0)&&!this.busy&&this.isBlank}get disallowBlankSlate(){return this._disallowBlankSlate}set disallowBlankSlate(o){this.disallowBlankSlate||(this._disallowBlankSlate=o)}get hasActiveFilter(){for(let o in this._selectedFacets)if(this._selectedFacets[o]){for(let n in this._selectedFacets[o])if(n.toLowerCase()!=="all"){if(o==="category")return this.getSelectedCategoryName()===n;if(this._selectedFacets[o]?.[n])return!0}}return!1}get isBlank(){return!this.hasActiveFilter&&this.terms===""}get categoriesEnabled(){return!!this.facetGroups.category}get hasActiveFacets(){for(let o in this._facetGroups)if(this._facetGroups[o]?.facets?.length)return!0;return!1}get syntheticFacets(){return this._syntheticFacets}get facetsEnabled(){return this.dataSource!=="previousVersions"}get isFuzzySearch(){return this._isFuzzySearch}get hasSortableResults(){return this._resultsSortOptions&&this._resultsSortOptions.length>0}get resultsSortOptions(){return this._resultsSortOptions}get currentResultsSortOptionsIndex(){return this._currentResultsSortOptionsIndex}get termHasSynonyms(){return this._termHasSynonyms}get isFirstPage(){return!this._skip}async submit(o){o.preventDefault(),this._scenarioHealth&&this.startScenario(this._scenarioHealth.viewResults);let n=o.target.elements.namedItem(hf);n.value.length>100&&(n.value=n.value.trim().slice(0,100)),this.input.value=n.value.trim(),this._skip=0,this.fetch(),oa(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[r,i,s,a]=await Promise.all([this.useCacheOrFetch(o),this.contentAreaNumberFetch(),C2(n),this.fetchGuestSearchAnswerResult(o)]);this.maintainCachedResults(o,r),i&&this.maintainCachedResults(this.createSearchArgs(!1),i);let l=this.combineResponse(r,i,s);this.taxonomyFacetLookups&&this._remapTaxonomyFacetNames(this.taxonomyFacetLookups,l.facets),this.updateAnswers(a),this.updateResults(l),this.updateSrcheng(l),this.updateFacets(l),this.updateScopeRemoval(l),this.updateSpellingCorrection(l),this.updateSynonymCheckForSearchTerm(l),this.updatePaging(),this.updateRssUrl()}catch(o){this.setBlankData(),this._scenarioInstance?.fail(o)}finally{this.results&&this.results.length>0&&(this.disallowBlankSlate=!0),this.setReady(),this.initialize(),this._scenarioInstance?.succeed(),Q0e(this),Sxe(this.createSearchArgs(),this._results.map(this.toUrl),this._resultCount,this.getSelectedCategoryName(),this._scopeRemoved,this._spellingCorrection.length>0,!0,this._srcheng)}}handleFacetChange(o,n){switch(o){case"select":this._scenarioHealth&&this.startScenario(this._scenarioHealth.facetChange),this._selectedFacets=Y0e(this.facetGroups),this._skip=0,this.fetch(),oa(this.createSearchArgs());break;case"expand":this._expandedFacets=K0e(this.facetGroups),oa(this.createSearchArgs()),this.notifyPropertyChanged();break;case"filter":this._filters=rAe(this.facetGroups),oa(this.createSearchArgs(),"replaceState"),this.facetGroups[n].allFacetsFilteredOut&&ht($o,"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(),oa(this.createSearchArgs())}clearFacet(o){this._selectedFacets[o]={},this.fetch().then(()=>{H$(o)}),oa(this.createSearchArgs())}selectMobileView(o,n){this._mobileMenuView=o,this.notifyPropertyChanged();let r=document.querySelector(".modal-content");if(n)this._selectedCategoryId=n;else if(this.selectedCategoryId){let i=r.querySelector(`#${this.selectedCategoryId}`);if(i){i.focus();return}}Ry(r)}clearScope(){this._scope=null,this.fetch(),oa(this.createSearchArgs()),this.notifyPropertyChanged()}notifyPropertyChanged(){this.publish(new et)}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(),oa(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 r=o.target instanceof Element&&o.target.closest("details.popover")||o.target instanceof Element&&o.target.shadowRoot?.activeElement?.closest("details.popover");r?.hasAttribute("open")&&r.removeAttribute("open");return}this._currentResultsSortOptionsIndex=n,this.fetch()}queryCopilotQaCache(o){let n=this._copilotQaCache.find(r=>r.query===o);return n?n.response:null}addCopilotQaToCache(o,n){for(this._copilotQaCache=this._copilotQaCache.filter(r=>r.query!==o),this._copilotQaCache.push({query:o,response:n});this._copilotQaCache.length>this._maxCopilotQaCache;)this._copilotQaCache.shift()}queryDeepSearchCache(o){let n=this._deepSearchCache.find(r=>r.query===o);return n?n.response:null}addDeepSearchToCache(o,n){for(this._deepSearchCache=this._deepSearchCache.filter(r=>r.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 vr(o),this._scenarioInstance.start()}setBlankData(){this._results=[],this._facetGroups={},this._resultCount=0,this.initialize()}initialize(){}_remapTaxonomyFacetNames(o,n){for(let r in o)if(r in n){let i=n[r],s=o[r];n[s]=i,delete n[r]}}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),r=this._cachedResponse.find(i=>i.args===n);return r?(await new Promise(i=>setTimeout(i,300)),r.response):this._fetch(o)}maintainCachedResults(o,n){let r=JSON.stringify(o,this.argsStringifyFunc);for(this._cachedResponse=this._cachedResponse.filter(i=>i.args!==r),this._cachedResponse.push({args:r,response:n});this._cachedResponse.length>this._maxCachedResponse;)this._cachedResponse.shift()}combineResponse(o,n,r){if(this.syntheticFacets&&this.dataSource!=="previousVersions"&&(o.facets={...o.facets,...this.syntheticFacets,author:r?[{type:"text",displayName:r.displayName||Ur,value:r.userId,avatarUrl:r.avatarUrl||fn(r.displayName,r.userId)}]:[]}),n&&o.facets?.category){if(this.getSelectedCategoryName()==="QnA"&&o.facets?.category.length===0){let i=n.facets?.category?.find(s=>s.value==="QnA");i&&(i.count=0)}for(let i of n.facets?.category??[]){let s=o.facets?.category.find(a=>a.value===i.value);s&&(i.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(),oa(this.createSearchArgs()),abe()})}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 Ys({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=cr(),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=eAe(o),this._expandedFacets=tAe(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(){!ee.search&&$t==="Search"||(this._facetsKnown=!1,this.readState(),this.fetch())}subscribeFacetChanges(){for(let o in this._facetGroups)this._facetGroups[o].subscribe(Tu,r=>this.handleFacetChange(r.type,o))}async fetchGuestSearchAnswerResult(o){if(!k.enableModernSearchAnswer||S.isAuthenticated||this.scope||!this.isFirstPage||this.hasActiveFilter)return null;try{if(!S.isAuthenticated&&this.scope===null){let n=o.terms.trim(),r=this.queryCopilotQaCache(n);if(r)return this.copilotQA=r,r;let i=await U$(M.searchAnswer.guest,o.terms,null,3*1e3),s={question:i.question??"",answer:i.answer??"",responseType:i.responseType};return this.addCopilotQaToCache(n,s),s}else return null}catch(n){if(n instanceof Zt)return null;throw n}}};A();Ge();A();A();var y8="facet-group";function _8(e,t){return`${y8}-body--${e}${t?"--mobile":""}`}function lw(e,t){return`${y8}-expander--${e}${t?"--mobile":""}`}function w8(e,t){return`${y8}-container--${e}${t?"--mobile":""}`}var W$="deep-search-container",yf="desktop-filter-button",cw="desktop-filter-button-close",uw="search-filter-sidebar",v8="search-answer",Q$="search-answer-header",ES="toggle-search-answer-button",AS="search-answer-body",x8="search-answer-rating",T8="more-content-areas-popover";function dw(e,t,o){return e?k.enableNewSiteSearch?d` ${dWe(`${e.key}${t}`,e)} `:d`
        {let r=n.target,i;if(r.value==="All")i="All";else if(e.facets.find(s=>s.name===r.value&&s.count>0))i=r.value;else{i=e.facets.find(a=>a.isSelected)?.value||"All";let s=Array.from(document.querySelectorAll('input[type="radio"]')).find(a=>a.value===i);s&&(s.checked=!0);return}Array.from(document.querySelectorAll('input[type="checkbox"]')).forEach(s=>s.checked=!1),e.selectByValue(i)}} >
        ${uWe(`${e.key}${t}`,e.facets)}
        `:d``}var k8=(e,t,o,n,r=!1)=>{let i=r?"badge-primary":"";return d``};function cWe(e,t){let o=t.reduce((n,r)=>(r.isSelected&&(n.selection=!0),n.count+=r.count,n),{count:0,selection:!1});return k8(e,"All",ra,o.count,!o.selection)}function uWe(e,t){return Object.keys(df).map(r=>{let i=t.find(s=>s.value.toLowerCase()===r);return r==="all"?cWe(e,t):i?k8(e,i.value,df[r],i.count,i.isSelected):k8(e,r,df[r],0,!1)})}function dWe(e,t){let o=["ai","documentation","training","credential","qna","reference","show"],n=!1,r=0,i=o.map(a=>{let l=t.facets.find(c=>c.value.toLowerCase()===a);return n=n||!!l?.isSelected,r+=l?.count??0,sAe(e,l?.value??a,a,!!l?.isSelected,t,l?.count===0)}),s=d`${sAe(e,"all","all",!n,t,r===0)}`;return d`
        ${s}${i}
        ${pWe()}`}function sAe(e,t,o,n,r,i){if(o==="ai"&&(k.enableDeepSearch===!1||!S.isAuthenticated))return d``;let s=o==="ai"?!1:i&&!n&&t!=="all",a=df[o],l=o==="ai"&&n;return d` `}function pWe(){return d`
        `}function S8(e,t=!1){return`font-size-sm padding-block-xxs display-flex align-items-center white-space-nowrap ${e?`${t?"font-weight-bold":"font-weight-semibold"} border-bottom-md border-color-primary`:"has-text-subtle font-weight-normal"}`}A();function Y$(e){return!e.hasActiveFilter&&!e.hideCompleted?"":d` `}function C8(e){let t=k.enableNewSiteSearch?"font-size-sm font-weight-normal":"";return e.facets?.length>0?d` `:""}A();function aAe(e,t){return!t&&!e.hasChildren?null:!e.hasChildren||e.hasSelectedChild||e.group.filterActive?d`
        `:d` `}A();function K$(e){return!e.hasFilterInput||!e.filterActive||e.hasVisibleChild?d``:d`

        ${$o}.

        `}function E8(){return d`

        ${JE}

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

        ${uAe(e)}
        `:""}function cAe(e){return e.hideCompletedEnabled?d`
      • ${uAe(e,!0)}
      • `:""}function uAe(e,t=!1){return d` `}A();function zS(e,t){let o=Ai({input:{id:`facet-input-filter-${e.key}`,placeholder:VZ,isFullWidth:!0,type:"search",name:`facet-${e.name}`,biName:`facet-${e.name}${t?`-${t}`:""}`},getSuggestions:xxe,getTitle:n=>n.displayName||Ur,itemTemplate:n=>d`
        ${n.displayName||Ur}
        ${mWe(n.reputationPoints)} ${MR(n.affiliations)}
        `,initialValue:e.facets.length>0?{displayName:e.facets[0].name,userId:e.facets[0].value}:null,noResultsTemplate:zX});return o.addEventListener(Va,n=>{let r=n.detail.suggestion,i=new bf("author",1,r.displayName||Ur,r.userId,!0,!1,1,1,null,null,r.avatarUrl);e.setFacets([i]),e.selectByValue(r.userId)}),o.addEventListener(Tk,YR),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 A8(e=!1){return k.enableNewSiteSearch?d`
        ${j(sN)}
        `:d`
        ${j(sN)}
        `}function mWe(e){return e>0?d` ${e} `:null}var gWe={title:!0,"is-3":!0,"margin-bottom-xxs":!0},J$={title:!0,"is-5":!0,"margin-bottom-xs":!0};function fWe(e){return e.hasActiveFilter||e.hasActiveFacets?"":d`

        ${JE}

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

        ${ol}

        ${Y$(e)} ${lAe(e)}
        ${$t==="Search"?"":fWe(e)} ${dAe(e)}
        `:""}function hWe(e){let t=Object.keys(e.facetGroups);return t=e.facetSort?t.sort(e.facetSort):t,t}function xp(e){if($t==="Search"){let t=e.getSelectedCategoryName().toLowerCase();if(k.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 hWe(e)}function mAe(e){let t=xp(e),o=t.length===1;return k.enableNewSiteSearch?d`
        ${t.length===0?d`
        ${E8()}
        `:d`${ho(t,n=>n,(n,r)=>X$(e.facetGroups[n],!0,!o,r===t.length-1))}`}
        `:d`${ho(t,n=>n,n=>X$(e.facetGroups[n],!0,!o))} `}function dAe(e){let t=xp(e),o=t.length===1;return k.enableNewSiteSearch?d`
        ${t.length===0?E8():d`${ho(t,n=>n,(n,r)=>X$(e.facetGroups[n],!1,!o,r===t.length-1))}`}
        `:d`${ho(t,n=>n,n=>X$(e.facetGroups[n],!1,!o))} `}function X$(e,t,o,n=!0){if(!e||$t!=="Search"&&e.isEmpty)return d``;let r=`ms--facet-heading-${e.key}${t?"-mobile":""}`,i=o?`is-vertically-scrollable ${k.enableNewSiteSearch?"":"has-max-height-260"}`:"",s=!t||!o;return k.enableNewSiteSearch?d`
        ${bWe(e,t,s,r,n)} ${yWe(e,t,i,s,r)}
        `:e.key==="category"?d`

        ${e.name}

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

        ${Ow}

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

        ${jp}

        ${A8()}
        ${C8(e)}
        ${zS(e,t)}
        `:d`

        ${e.name}

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

        ${jp}

        ${A8(t)}
        ${C8(e)}
        `:d`

        ${a}

        `}function yWe(e,t,o,n,r){let i=e.key,s=`display-flex flex-direction-column padding-inline-xxs padding-top-xxs ${i==="author"?"":"has-overflow-hidden"} ${n?"":"is-hidden"}`,a=d``;return i==="date"?a=mS(e,t?"mobile":"",r):i==="author"?a=d`
        ${zS(e,t)}
        `:a=e.facets.length>0?gAe(e,o,r):fAe(e.key),d`
        ${a}
        `}function P8(e){if(!e.hasFilterInput&&!e.filter)return"";let t=BZ.replace("{facet}",pCe[e.key].toLowerCase()),o=Xe();return d`
        e.handleFilterInput(n))} placeholder=${t} .value=${e.filter} aria-describedby=${o} />
        `}function gAe(e,t,o){return d`${P8(e)}
        ${K$(e)}
          ${eD(e.facets,e.key)}
        `}function eD(e,t,o=!1,n=!1){let r=n||!!e.find(i=>i.hasChildren);return ho(e,i=>i.value,i=>_We(i,t,e.length,r,o))}function fAe(e){let t=k.enableNewSiteSearch?"font-size-sm":"",o;switch(e){case"products":o=_X;break;case"tags":o=wX;break;default:o=$o}return d`

        ${o}

        `}function _We(e,t,o,n,r){let i=aAe(e,n),s=k.enableNewSiteSearch?"font-size-sm":"";return d`
      • ${i}
        ${e.hasChildren?d`
          ${eD(e.children,t,!1,n)}
        `:null}
      • `}function wWe(){return"column is-hidden-mobile is-two-fifths-tablet is-one-quarter-desktop"}function pAe(e,t,o=!1){let n=document.getElementById(_8(e,t));if(n&&(n.classList.toggle("is-hidden"),o)){let i=document.getElementById(w8(e,t));i&&i.classList.toggle("border-bottom")}let r=document.getElementById(lw(e,t));if(r){let i=r.getAttribute("aria-expanded")==="false";r.setAttribute("aria-expanded",i.toString())}}function hAe(e){return xp(e).length===0?d``:d` `}A();function PS(e){return d`
        e.submit(t)} >
        ${e.input}
        `}A();function L8(e){return k.enableNewSiteSearch?xp(e).length===0?d``:d` `:d` `}function bAe(e){return e.mobileMenuView in e.facetGroups?e.facetGroups[e.mobileMenuView]?.name:k.enableNewSiteSearch?ol:EN}function tD(e){return e.mobileMenuView in e.facetGroups?`ms--${e.facetGroups[e.mobileMenuView]?.key||e.mobileMenuView}-mobile`:"ms--search-filters"}var pw,I8;async function yAe(){pw||(pw=document.createElement("div")),I8||(I8=new _e(pw)),await I8.show()}function vAe(e){return k.enableNewSiteSearch?d` `:d` `}function _Ae(e){return k.enableNewSiteSearch?d` `:d`

        ${bAe(e)}

        ${vWe(e)} `}function vWe(e){return e.mobileMenuView==="top"?"":d`
        `}function xWe(e){switch(e.mobileMenuView){case"top":return TWe(e);default:return SWe(e.facetGroups[e.mobileMenuView])}}function TWe(e){return d`
          ${cAe(e)} ${kWe(e)}
        `}function kWe(e){let t=xp(e);return ho(t,o=>o,o=>{let n=e.facetGroups[o].facets.length>0||e.facetGroups?.category?.facets.find(r=>r.isSelected)?.name==="QnA"&&o==="author";if(k.enableNewSiteSearch&&o==="category")return"";if(n){let r=`ms--cat-btn-${o}`;return d`
      • `}return""})}function SWe(e){return e.key==="author"?d`
        ${zS(e,!0)}
        `:e.key==="date"?d`
          ${mS(e,"")}
        `:d`
        ${P8(e)} ${K$(e)}
          ${e.key==="category"?dw(e,"mobile"):eD(e.facets,e.key,!0)}
        `}function wAe(e){return k.enableNewSiteSearch?d` `:d`
        `}function R8(e){if(!e.pager||e.pager.pageCount<2||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai")return null;let t=Object.assign({busy:e.busy,publish:e.publish,setPage:e.pager.setPage},e.pager);return lf(t)}A();var CWe=()=>{let e=[];for(let t=0;t<30;t++)e.push(d``);return e},EWe=()=>{let e=[];for(let t=0;t<10;t++)e.push(d``);return e};function xAe(e,t){return k.enableNewSiteSearch?d`
          ${t}
        `:d`
          ${t}
        `}function D8(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 r=e.busy?CWe():e.results.map((i,s)=>d`
      • ${o(i,s)}
      • `);return xAe(t,r)}else if(t==="list"){let r=e.busy?EWe():e.results.map((i,s)=>d`
      • ${o(i,s)}
      • `);return xAe(t,r)}else throw new Error("Invalid layout property specified in View Model config.")}A();function N8(e){return!e.rssEnabled||e.results.length<1||e.resultsCount===0||e.getSelectedCategoryName()==="Ai"?"":d` `}A();function kAe(e){let t=e.getSelectedCategoryName().toLowerCase(),o=S.isAuthenticated,n=!S.isAuthenticated&&!e.busy&&e.resultsCount>0&&!!e.copilotQA?.answer;return k.enableModernSearchAnswer&&e.isFirstPage&&(t==="all"||t==="")&&Object.keys(e.selectedFacetsMinusCategory).length===0&&!e.scope&&(n||o)}function SAe(e,t){return d`
        ${na(e,t)}
        `}function na(e,t){if(t==="NotShown")return d``;let o=d``;return t==="Generating"?o=d`

        ${L0}

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

        ${mie}

        `:t==="ShowResult"&&(e.copilotQA?.answer?o=d` ${j(IWe(e.copilotQA.answer))} ${zWe(e)} `:o=d`

        ${R0}

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

        ${rh}

        `}function zWe(e){return d`
        ${Nu} ${j(ih)}
        `}function TAe(e,t,o,n){let r=document.getElementById(x8);r&&(r.innerHTML=` ${sh}`);try{let i=S.isAuthenticated?S.authenticationMode:"Anonymous";Cxe(e,t??"",o??"",n,i)}catch{}}function PWe(e){let t=document.getElementById(AS),o=document.getElementById(ES);t&&o&&(e.showSearchAnswer=!e.showSearchAnswer,t.hidden=!t.hidden,o.textContent=t.hidden?FN:sv)}function IWe(e){let t=document.createElement("div");t.innerHTML=e;let o=t.getElementsByTagName("a");Array.from(o).forEach((r,i)=>{r.setAttribute("data-bi-name",`search-answer-ref-${i}`)});let n=t.getElementsByTagName("pre");return Array.from(n).forEach(r=>{r.classList.add("white-space-pre-wrap")}),t.innerHTML}async function CAe(e,t){if(k.enableModernSearchAnswer===!1)return;let o=e.resetAbortController("SearchAnswer"),n=e.getSelectedCategoryName(),r=document.getElementById(v8);if(r){if(n!=="All"&&n){w(na(e,"NotShown"),r);return}await ye,S.isAuthenticated?await LWe(e,t,o,r):await RWe(e,t,o,r)}}async function LWe(e,t,o,n){if(w(na(e,"Generating"),n),t==="VmBusy"){e.copilotQA=void 0;return}try{if(e.resultsCount===0){e.copilotQA=void 0,w(na(e,"ShowResult"),n);return}let r=e.queryCopilotQaCache(e.terms);if(r){let u=new Date().toISOString();e.copilotQA={answer:r.answer,question:r.question,responseType:r.responseType};let p=400+Math.random()*1e3;if(await new Promise(g=>setTimeout(g,p)),o.aborted)return;let m=new Date().toISOString();w(na(e,"ShowResult"),n),KR(e.terms,e.copilotQA.question,e.copilotQA.answer,S.authenticationMode,u,m,e.copilotQA.responseType,!0);return}let i=e.terms.trim(),s=new Date().toISOString(),a=await U$(M.searchAnswer.user,i,o),l=new Date().toISOString(),c={answer:a?.answer??"",question:a?.question??"",responseType:a?.responseType};if(e.addCopilotQaToCache(i,c),o.aborted)return;e.copilotQA=c,w(na(e,"ShowResult"),n),KR(e.terms,c.question,c.answer,S.authenticationMode,s,l,a.responseType,!0)}catch{w(na(e,"Error"),n)}}async function RWe(e,t,o,n){if(t==="VmBusy"){e.copilotQA=void 0,o.aborted===!1&&w(na(e,"NotShown"),n);return}try{if(e.resultsCount>0&&e.copilotQA?.answer&&e.copilotQA.answer.length>0){w(na(e,"Generating"),n);let r=new Date().toISOString(),i=600+Math.random()*1e3;if(await new Promise(a=>setTimeout(a,i)),o.aborted)return;let s=new Date().toISOString();w(na(e,"ShowResult"),n),KR(e.terms,e.copilotQA?.question||"",e.copilotQA?.answer||"","Anonymous",r,s,e.copilotQA?.responseType,!0)}else w(na(e,"NotShown"),n)}catch{w(na(e,"NotShown"),n)}}A();function j8(e,t="h2"){let n=(e.facetGroups?.category&&e.facetGroups.category.facets.find(i=>i.isSelected))?.value||"";if(n==="Ai")return d``;let r=e.busy?"":q$(e.resultsCount,e.terms,n,e.scope,e.scopeRemoved,e.spellingCorrection,e.isFuzzySearch,e.termHasSynonyms);if(k.enableNewSiteSearch)return e.busy?d``:e.resultsCount===0?d``:d`

        ${r}

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

        ${r}

        `;default:return d`

        ${r}

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

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

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

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

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

        `:""}function EAe(e){return e.busy?"":e.hasSortableResults?d`
        ${Die} ${e.resultsSortOptions[e.currentResultsSortOptionsIndex].label}
        `:""}A();function U8(e){let t=Object.keys(e.facetGroups).filter(o=>o!=="category");if(k.enableNewSiteSearch){let o=e.selectedFacetsMinusCategory;return Object.keys(o).length===0?d``:d`
        ${ho(t,n=>n,n=>F8(e.facetGroups[n]?.facets||[]))}
        `}return d`${ho(t,o=>o,o=>F8(e.facetGroups[o]?.facets||[]))}`}function F8(e){return d`${e.map(t=>!t.isSelected&&!t.hasSelectedChild?d``:t.hasSelectedChild?d`${F8(t.children)}`:MWe(t))}`}function MWe(e){return d` `}function $We(e){return e.label==="author"?d` `:null}function q8(e,t,o,n,r,i){if(e.blankSlateEnabled&&e.showBlankSlate)return e.disallowBlankSlate=!0,i(e);if(k.enableNewSiteSearch){let a=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"",l="is-full is-three-fifths-desktop padding-inline-none";return d`
        ${PS(e)}
        ${dw(e.facetGroups?.category,"-new-search")}
        ${L8(e)}
        ${j8(e,r)} ${hAe(e)}
        ${O8(e)}
        ${U8(e)} ${kAe(e)?d`${SAe(e,"ShowResult")}`:d``} ${D8(e,t,o,n)}
        ${R8(e)}
        ${N8(e)}
        `}let s=e.pager&&e.pager.pageCount<2?"padding-bottom-xs":"";return d`
        ${z8(e)}
        ${PS(e)} ${e.hasActiveFacets?d`
        ${DWe(e)}
        ${U8(e)}
        `:""}
        ${j8(e,r)} ${O8(e)} ${EAe(e)}
        ${t==="list"&&e.resultsCount!==0?d`
        `:""} ${D8(e,t,o,n)}
        ${R8(e)}
        ${N8(e)}
        `}function DWe(e){return d`
        ${L8(e)}
        ${Y$(e)}
        `}A();function H8(e){return d`

        ${$o}

        ${ah}

        `}async function ps(e,t){if(!t)throw new Error("Invalid container provided to Facet Search.");let{fetch:o,autocomplete:n,layout:r,hideCompleted:i,resultTemplate:s,noResultsTemplate:a,scoringProfile:l,rss:c,headingLevel:u,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankTemplate:y,fetchRequiresTerms:h,syntheticFacets:v,resultSortOptions:_,pageStateHandler:x}=e,z;switch(r){case"grid":z=30;break;case"grid-large":z=6;break;case"list":default:z=10}let C=new V$(o,z,{autocomplete:n,hideCompleted:i,scoringProfile:l,rss:c,queryStringTransformer:p,taxonomyFacetLookups:m,facetSort:g,scenarioHealth:f,blankSlateEnabled:!!y,fetchRequiresTerms:h,syntheticFacets:v,resultSortOptions:_,pageStateHandler:x});await C.initialized,w(q8(C,r,s,a||H8,u,y),t),await $r(t),C.handlePageState("VmReady"),C.subscribe(et,async()=>{w(q8(C,r,s,a||H8,u,y),t),await $r(t),pw&&w(vAe(C),pw)})}A();function zAe(){return{facetSort:(e,t)=>vo(e)-vo(t),layout:"grid-large",fetch:UWe,resultTemplate:HWe}}var jWe={orderBy:"last_modified desc"},OWe=JS,FWe={"solution-idea":sV};async function UWe(e){let[t]=await Promise.all([AAe(e,!1),ye]);t.count===0&&([t]=await Promise.all([AAe(e,!0),ye]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=ot(o.url,ct.userLocale));return t}function qWe(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["products","azure_categories"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:jWe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function AAe(e,t){let o={...qWe(e),fuzzySearch:t},n=`${M.browse.architecture}?${se(o,!0)}`;return R(Z(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}function HWe(e){let t=Xe();return d`

        ${FWe[e.content_type]||OWe}

        ${e.title}

        ${e.summary}

          ${ew(ea(e))}
        `}A();function PAe(){return{facetSort:(e,t)=>vo(e)-vo(t),layout:"grid",fetch:GWe,resultTemplate:BWe,resultSortOptions:[{label:Af,orderBy:"title"},{label:zf,orderBy:"title desc"},{label:Vf,orderBy:"last_modified desc"},{label:Wf,orderBy:"last_modified"}]}}function BWe(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":nf,examination:jr.resource_type.examination,certification:jr.resource_type.certification,course:jr.resource_type.course}[e.credential_types[0]],r={"applied skills":e.title,examination:`${Br} ${e.exam_display_name}: ${e.title}`,certification:e.title,course:e.title}[e.credential_types[0]],s=`credential-${e.uid?Oo(e.uid):Xe()}-title`,a=e.credential_types[0]==="applied skills"?"/en-us/media/learn/credential/badges/applied-skill.svg?branch=main":e.icon_url;return d`

        ${n}

        ${r}
        ${o}
        `}async function GWe(e){let[t]=await Promise.all([oD(e,!1),ye]);t.count===0&&([t]=await Promise.all([oD(e,!0),ye]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.icon_url&&(o.icon_url=ot(o.icon_url,"en-us")),o.url&&(o.url=ot(o.url,ct.userLocale));return t}function VWe(e){return{branch:mt(),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 oD(e,t){let o={...VWe(e),fuzzySearch:t},n=`${M.browse.credential}?${se(o,!0)}`;return R(Z(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}A();function IAe(e){let t=cr(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 LAe(e){switch(e){case"Reported":return zJ;case"Under Investigation":case"Investigating":return EJ;case"Confirmed":return CJ;case"Mitigated":return AJ;case"Resolved":return PJ;default:throw new Error(`Unexpected status - ${e}`)}}var WWe={orderBy:"last_updated_date desc"};function MAe(){return{facetSort:(e,t)=>vo(e)-vo(t),layout:"grid",fetch:QWe,resultTemplate:JWe,noResultsTemplate:KWe,queryStringTransformer:IAe}}async function QWe(e){let[t]=await Promise.all([RAe(e,!1),ye]);t.count===0&&([t]=await Promise.all([RAe(e,!0),ye]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=ot(o.url,ct.userLocale));return t}function YWe(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:WWe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function RAe(e,t){let o={...YWe(e),fuzzySearch:t},n=`${M.browse.windowsSafeguards}?${se(o,!0)}`;return R(Z(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}function KWe(e){return e.terms&&e.terms.includes("ref:")?ZWe():d`

        ${$o}

        ${ah}

        `}function ZWe(){return d`

        ${Iie}

        ${Pie}

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

        ${YC}

        ${e.title}
        ${e.status==="Resolved"?d` `:""} ${t}
        `}function XWe(e){if(!e.versions)return"";let t=e.versions.length===1?d`${e.versions[0]}`:e.versions.map(o=>d`${o}`);return d`
      • ${t}
      • `}A();function DAe(){return{facetSort:(e,t)=>vo(e)-vo(t),layout:"list",fetch:tQe,resultTemplate:nQe}}var eQe={orderBy:"start desc"};async function tQe(e){let[t]=await Promise.all([$Ae(e,!1),ye]);t.count===0&&([t]=await Promise.all([$Ae(e,!0),ye]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=ot(o.url,ct.userLocale));return t}function oQe(e){return{branch:mt(),locale:b.data.userLocale,terms:e.terms,facet:["products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:eQe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function $Ae(e,t){let o={...oQe(e),fuzzySearch:t},n=`${M.browse.lifecycle}?${se(o,!0)}`;return R(Z(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}function nQe(e){let t=e.start,o=e.end&&e.end!=="0001-01-01T00:00:00"?e.end:"",n=Xe();return d`
        ${e.title}
        `}A();function jAe(){return{facetSort:(e,t)=>vo(e)-vo(t),layout:"grid",fetch:aQe,resultTemplate:iQe}}var rQe={orderBy:"last_modified desc"};function iQe(e){let t=Jr(new Date(e.last_modified),{year:"numeric",month:"2-digit",day:"2-digit"}),n=`sample-${e.uid?Oo(e.uid):Xe()}-title`;return d`
        ${e.title.replace(//g,">")}

        ${e.summary}

          ${ew(sQe(e))}
        `}function sQe(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 aQe(e){let[t]=await Promise.all([NAe(e,!1),ye]);t.count===0&&([t]=await Promise.all([NAe(e,!0),ye]),t.count!==0&&(t.isFuzzySearch=!0));for(let o of t.results)o.url&&(o.url=ot(o.url,ct.userLocale));return t}function lQe(e){return{branch:mt(),environment:null,locale:b.data.userLocale,terms:e.terms,facet:["languages","products"],$filter:Gn(e.selectedFacets),$orderBy:e.terms&&e.terms.length>0?null:rQe.orderBy,$skip:e.skip?e.skip.toString():null,$top:e.top?e.top.toString():null}}function NAe(e,t){let o={...lQe(e),fuzzySearch:t},n=`${M.browse.sample}?${se(o,!0)}`;return R(Z(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw{error:i.json()}})}async function OAe(){let e=cQe();if(k.contentBrowse){await Te;let t=document.getElementById("content-browser-container");switch(e){case"sample":ps(jAe(),t);break;case"learn":X_(),rS(),ps(SEe(),t);break;case"certification":ps(AEe(),t);break;case"credential":ps(PAe(),t);break;case"lifecycle":ps(DAe(),t);break;case"architecture":ps(zAe(),t);break;case"knownIssue":ps(MAe(),t);break;case"show":{ps(IEe(),t);break}}}}function cQe(){let e=P("page_type"),t=P("page_kind");if(e==="browse"&&(t==="learn"||t==="sample"||t==="certification"||t==="credential"||t==="knownIssue"||t==="lifecycle"||t==="architecture"||t==="show"))return t;throw new Error(`The page configuration (page_kind: ${t} and page_type: ${e}) does not support browse functionality`)}A();async function FAe(){await Te;let e=document.getElementById("directory-search-form-replacement");ZR(e,"directory-page-search-form","facet-search-input","directory")}function uQe(e){return 400<=e&&e<500}async function UAe(e,t=!0){let o=t?"?isAMS=true":"?isAMS=false",n=`${M.learn.episode}/${e}${o}`,i=Z(n,{method:"GET"}),s=await R(i);if(me(s),s.ok)return await s.json();if(uQe(s.status))return null;throw new Error(`Unexpected response status ${s.status}`)}function Or(e){return e?.textTracks?.length?[...e.textTracks].find(n=>n.mode==="showing")?.label||oC:oC}function qAe(e,t){let o=!1,n=e.video.volume===0||e.video.muted,r=e.video.currentTime,i=e.video.duration?r/e.video.duration:0,s,a,l,c,u,p=0,m=0,g,f=0,y,h=Or(e.video),v=0,_=0,x=0;function z(W){pve({behaviorCode:W,videoData:t,videoTimeSeconds:r,eventTime:c,startTime:s,freezeTime:f,reStartTime:a,secondsDiffSpeed:p,secondsNormalSpeed:m,languageCaptions:h,secondsDiffSpeedAfterReplay:_,secondsNormalSpeedAfterReplay:v,freezeTimeAfterReplay:x})}function C(){p=mve(u,g,p,y,c),m=N4(u,g,m,y,c),_=gve(u,g,_,y,c,a),v=fve(u,g,v,y,c,a)}function H(){let W=Date.now();c=W,s=W,r=e.video.currentTime,h=Or(e.video),z(le.VIDEOSTART)}function O(){let W=Date.now();c=W,l=W,r=e.video.currentTime,h=Or(e.video),C(),z(le.VIDEOPAUSE),y=W}function pe(){let W=Date.now();c=W,r=e.video.currentTime,h=Or(e.video);let N=!!l,oe=l>a,be=ln(W-l);N&&(f+=be),oe&&(x+=be),z(le.VIDEOCONTINUE)}function Ee(){let W=Date.now();c=W,l=W,r=e.video.currentTime,h=Or(e.video),m=N4(u,g,m,y,c),a=W,x=0,_=0,v=0,z(le.VIDEOREPLAY)}function ce(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),z(le.VIDEOCOMPLETE)}function bt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),z(le.VIDEOMUTE)}function Lt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),z(le.VIDEOUNMUTE)}function Bt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),z(le.VIDEOERROR)}function fo(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),z(le.VIDEOFULLSCREEN)}function Gt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),z(le.VIDEOUNFULLSCREEN)}function co(){let W=Date.now();c=W,r=e.video.currentTime,h=Or(e.video),u=W,g=e.video.playbackRate,C(),z(le.VIDEOPLAYERCLICK)}function Zo(){let W=Date.now();c=W,r=e.video.currentTime,h=Or(e.video),C(),z(le.VIDEOBUFFERING),y=W}function Rt(){c=Date.now(),r=e.video.currentTime,h=Or(e.video),C(),z(le.VIDEOPLAYERLOAD)}function De(){let W=e.video.muted||e.video.volume===0;!n&&W?bt():n&&!W&&Lt(),n=W}function $(){let W=Date.now(),N=e.video.currentTime,oe=N/e.video.duration,be=i<.25&&oe>=.25,I=i<.5&&oe>=.5,Q=i<.75&&oe>=.75;(be||I||Q)&&(c=W,r=N,h=Or(e.video),C(),z(le.VIDEOCHECKPOINT)),c=W,i=oe}document.addEventListener("onestreamplayerstart",()=>{o?e.video.currentTime<.5?Ee():pe():(o=!0,H())}),document.addEventListener("onestreamplayererror",Bt),e.video.addEventListener("pause",O),e.video.addEventListener("ended",ce),e.video.addEventListener("waiting",Zo),e.video.addEventListener("ratechange",co),e.video.addEventListener("loadstart",Rt),e.video.addEventListener("volumechange",De),e.video.addEventListener("timeupdate",$),e.onFullscreenChange((W,N)=>{N?fo():Gt()})}A();var nD,HAe,dQe="4.9.4",pQe=`/static/third-party/onestream-player/shaka/${dQe}/shaka-player.ui.min.js`,B8=!1,mQe="6.2.0",gQe=`/static/third-party/onestream-player/mux-js/${mQe}/mux.min.js`,G8=!1,fQe="0.4.0",hQe=`/static/third-party/onestream-player/onestream/0.4.0/one_stream_player-v${fQe}.min.js`,V8=!1,W8={id:"09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524",owners:[{id:"9beb1e29-2c2f-4460-b2ce-3e5cf96e999c",email:"-dcline@microsoft.com",name:"Douglas Cline (Steyer Associates Inc)"}],createdBy:{id:"8e6bd8a2-01ae-4e44-829f-3a9b90a567bf",email:"golnazal@microsoft.com",name:"Golnaz Alibeigi"},updatedBy:{id:"c192224d-9c92-434d-8648-90c013e60624",email:"obloch@microsoft.com",name:"Olivier Bloch - MSFT"},publishedBy:{id:"c192224d-9c92-434d-8648-90c013e60624",email:"bloch@microsoft.com",name:"Olivier Bloch - MSFT"},createTime:"2021-10-07T22:49:43.6262435Z",updateTime:"2021-12-01T19:09:48.4966451Z",publishTime:"2021-12-01T19:09:55.5078044Z",title:"IoT Show - Bridge IoT, Screens and Mobile with Ombori Grid",originalFileName:"20210923-TheIoTShow-DevelopappsthatdelightscustomerswithOmboriGridPoweredbyAzureIoTEdge_Edited_V3.mp4",publicVideo:{highQualityVideoUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_1920x1080_AACAudio_2502_1.mp4",mediumQualityVideoUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_1280x720_AACAudio_1341_2.mp4",lowQualityVideoUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_640x360_AACAudio_473_4.mp4",adaptiveVideoUrl:"",audioUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_AACAudio_2Ch_192kbps.mp4",adaptiveVideoDashUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst.mpd",adaptiveVideoHLSUrl:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/20210923-TheIoTShow-Developappst_master.m3u8",durationInMillisecond:1950763,thumbnailOtherSizes:{w800Url:`https://videoencodingpublic-hgea eyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/maxresdefault_w800.jpg`,w1120Url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-09ce73a6-05a5-4e4d-b3d7-bd5a8c05a524/maxresdefault_w1120.jpg"},captions:[{language:"pl-pl",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-pl-pl.vtt"},{language:"cs-cz",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-cs-cz.vtt"},{language:"de-de",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-de-de.vtt"},{language:"en-us",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-en-us.vtt"},{language:"es-es",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-es-es.vtt"},{language:"fr-fr",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-fr-fr.vtt"},{language:"it-it",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-it-it.vtt"},{language:"ja-jp",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-ja-jp.vtt"},{language:"ko-kr",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-ko-kr.vtt"},{language:"pt-pt",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-pt-pt.vtt"},{language:"ru-ru",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-ru-ru.vtt"},{language:"tr-tr",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-tr-tr.vtt"},{language:"zh-cn",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-zh-cn.vtt"},{language:"zh-tw",url:"https://videoencodingpublic-hgeaeyeba8gycee3.b01.azurefd.net/public-b4da8140-92cf-421c-8b7b-e471d5b92418/caption-zh-tw.vtt"}]},description:"some description",tags:["some tag"]};async function bQe(){return B8?Promise.resolve():Ks(pQe,null).then(()=>{B8=!0})}async function yQe(){return G8?Promise.resolve():Ks(gQe,null).then(()=>{G8=!0})}async function _Qe(){return V8?Promise.resolve():Ks(hQe,null,"one_stream_player").then(()=>{V8=!0})}var wQe=(e=!1)=>e?d`