"use strict";(()=>{var w$e=Object.create;var Mv=Object.defineProperty;var O4=Object.getOwnPropertyDescriptor;var C$e=Object.getOwnPropertyNames;var A$e=Object.getPrototypeOf,k$e=Object.prototype.hasOwnProperty;var I$e=(e,t,o)=>t in e?Mv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var De=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),P$e=(e,t)=>{for(var o in t)Mv(e,o,{get:t[o],enumerable:!0})},L$e=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of C$e(t))!k$e.call(e,n)&&n!==o&&Mv(e,n,{get:()=>t[n],enumerable:!(r=O4(t,n))||r.enumerable});return e};var Hp=(e,t,o)=>(o=e!=null?w$e(A$e(e)):{},L$e(t||!e||!e.__esModule?Mv(o,"default",{value:e,enumerable:!0}):o,e));var j=(e,t,o,r)=>{for(var n=r>1?void 0:r?O4(t,o):t,s=e.length-1,i;s>=0;s--)(i=e[s])&&(n=(r?i(t,o,n):i(n))||n);return r&&n&&Mv(t,o,n),n};var yc=(e,t,o)=>(I$e(e,typeof t!="symbol"?t+"":t,o),o);var IF=De((AF,kF)=>{(function(e,t){typeof AF=="object"&&typeof kF<"u"?kF.exports=t():typeof define=="function"&&define.amd?define(t):e.Bottleneck=t()})(AF,function(){"use strict";var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t(je){return je&&je.default||je}var o=function(je,V,w={}){var $,B,Z;for($ in V)Z=V[$],w[$]=(B=je[$])!=null?B:Z;return w},r=function(je,V,w={}){var $,B;for($ in je)B=je[$],V[$]!==void 0&&(w[$]=B);return w},n={load:o,overwrite:r},s;s=class{constructor(V,w){this.incr=V,this.decr=w,this._first=null,this._last=null,this.length=0}push(V){var w;this.length++,typeof this.incr=="function"&&this.incr(),w={value:V,prev:this._last,next:null},this._last!=null?(this._last.next=w,this._last=w):this._first=this._last=w}shift(){var V;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),V=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,V}first(){if(this._first!=null)return this._first.value}getArray(){var V,w,$;for(V=this._first,$=[];V!=null;)$.push((w=V,V=V.next,w.value));return $}forEachShift(V){var w;for(w=this.shift();w!=null;)V(w),w=this.shift()}debug(){var V,w,$,B,Z;for(V=this._first,Z=[];V!=null;)Z.push((w=V,V=V.next,{value:w.value,prev:($=w.prev)!=null?$.value:void 0,next:(B=w.next)!=null?B.value:void 0}));return Z}};var i=s,a;a=class{constructor(V){if(this.instance=V,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=(w,$)=>this._addListener(w,"many",$),this.instance.once=(w,$)=>this._addListener(w,"once",$),this.instance.removeAllListeners=(w=null)=>w!=null?delete this._events[w]:this._events={}}_addListener(V,w,$){var B;return(B=this._events)[V]==null&&(B[V]=[]),this._events[V].push({cb:$,status:w}),this.instance}listenerCount(V){return this._events[V]!=null?this._events[V].length:0}async trigger(V,...w){var $,B;try{return V!=="debug"&&this.trigger("debug",`Event triggered: ${V}`,w),this._events[V]==null?void 0:(this._events[V]=this._events[V].filter(function(Z){return Z.status!=="none"}),B=this._events[V].map(async Z=>{var _e,Ae;if(Z.status!=="none"){Z.status==="once"&&(Z.status="none");try{return Ae=typeof Z.cb=="function"?Z.cb(...w):void 0,typeof Ae?.then=="function"?await Ae:Ae}catch(Et){return _e=Et,this.trigger("error",_e),null}}}),(await Promise.all(B)).find(function(Z){return Z!=null}))}catch(Z){return $=Z,this.trigger("error",$),null}}};var l=a,c,d,p;c=i,d=l,p=class{constructor(V){var w;this.Events=new d(this),this._length=0,this._lists=function(){var $,B,Z;for(Z=[],w=$=1,B=V;1<=B?$<=B:$>=B;w=1<=B?++$:--$)Z.push(new c(()=>this.incr(),()=>this.decr()));return Z}.call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(V){return this._lists[V.options.priority].push(V)}queued(V){return V!=null?this._lists[V].length:this._length}shiftAll(V){return this._lists.forEach(function(w){return w.forEachShift(V)})}getFirst(V=this._lists){var w,$,B;for(w=0,$=V.length;w<$;w++)if(B=V[w],B.length>0)return B;return[]}shiftLastFrom(V){return this.getFirst(this._lists.slice(V).reverse()).shift()}};var m=p,f;f=class extends Error{};var g=f,b,_,y,x,C;x=10,_=5,C=n,b=g,y=class{constructor(V,w,$,B,Z,_e,Ae,Et){this.task=V,this.args=w,this.rejectOnDrop=Z,this.Events=_e,this._states=Ae,this.Promise=Et,this.options=C.load($,B),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===B.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise(($r,er)=>{this._resolve=$r,this._reject=er}),this.retryCount=0}_sanitizePriority(V){var w;return w=~~V!==V?_:V,w<0?0:w>x-1?x-1:w}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:V,message:w="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(V??new b(w)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(V){var w;if(w=this._states.jobStatus(this.options.id),!(w===V||V==="DONE"&&w===null))throw new b(`Invalid job status ${w}, expected ${V}. 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(V,w){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:V,blocked:w})}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(V,w,$,B){var Z,_e,Ae;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),_e={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",_e);try{if(Ae=await(V!=null?V.schedule(this.options,this.task,...this.args):this.task(...this.args)),w())return this.doDone(_e),await B(this.options,_e),this._assertStatus("DONE"),this._resolve(Ae)}catch(Et){return Z=Et,this._onFailure(Z,_e,w,$,B)}}doExpire(V,w,$){var B,Z;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),Z={args:this.args,options:this.options,retryCount:this.retryCount},B=new b(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(B,Z,V,w,$)}async _onFailure(V,w,$,B,Z){var _e,Ae;if($())return _e=await this.Events.trigger("failed",V,w),_e!=null?(Ae=~~_e,this.Events.trigger("retry",`Retrying ${this.options.id} after ${Ae} ms`,w),this.retryCount++,B(Ae)):(this.doDone(w),await Z(this.options,w),this._assertStatus("DONE"),this._reject(V))}doDone(V){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",V)}};var L=y,I,q,O;O=n,I=g,q=class{constructor(V,w,$){this.instance=V,this.storeOptions=w,this.clientId=this.instance._randomIndex(),O.load($,$,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 V;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(V=this.heartbeat=setInterval(()=>{var w,$,B,Z,_e;if(Z=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&Z>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=Z,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&Z>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:w,reservoirIncreaseMaximum:B,reservoir:_e}=this.storeOptions,this._lastReservoirIncrease=Z,$=B!=null?Math.min(w,B-_e):w,$>0))return this.storeOptions.reservoir+=$,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?V.unref():void 0:clearInterval(this.heartbeat)}async __publish__(V){return await this.yieldLoop(),this.instance.Events.trigger("message",V.toString())}async __disconnect__(V){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(V=0){return new this.Promise(function(w,$){return setTimeout(w,V)})}computePenalty(){var V;return(V=this.storeOptions.penalty)!=null?V:15*this.storeOptions.minTime||5e3}async __updateSettings__(V){return await this.yieldLoop(),O.overwrite(V,V,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__(V){return await this.yieldLoop(),this._nextRequest+this.timeout=V}check(V,w){return this.conditionsCheck(V)&&this._nextRequest-w<=0}async __check__(V){var w;return await this.yieldLoop(),w=Date.now(),this.check(V,w)}async __register__(V,w,$){var B,Z;return await this.yieldLoop(),B=Date.now(),this.conditionsCheck(w)?(this._running+=w,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=w),Z=Math.max(this._nextRequest-B,0),this._nextRequest=B+Z+this.storeOptions.minTime,{success:!0,wait:Z,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(V,w){var $,B,Z;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&w>this.storeOptions.maxConcurrent)throw new I(`Impossible to add a job having a weight of ${w} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return B=Date.now(),Z=this.storeOptions.highWater!=null&&V===this.storeOptions.highWater&&!this.check(w,B),$=this.strategyIsBlock()&&(Z||this.isBlocked(B)),$&&(this._unblockTime=B+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:Z,blocked:$,strategy:this.storeOptions.strategy}}async __free__(V,w){return await this.yieldLoop(),this._running-=w,this._done+=w,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var ne=q,Ie,te;Ie=g,te=class{constructor(V){this.status=V,this._jobs={},this.counts=this.status.map(function(){return 0})}next(V){var w,$;if(w=this._jobs[V],$=w+1,w!=null&&$(V[this.status[$]]=w,V),{})}};var et=te,St,eo;St=i,eo=class{constructor(V,w){this.schedule=this.schedule.bind(this),this.name=V,this.Promise=w,this._running=0,this._queue=new St}isEmpty(){return this._queue.length===0}async _tryToRun(){var V,w,$,B,Z,_e,Ae;if(this._running<1&&this._queue.length>0)return this._running++,{task:Ae,args:V,resolve:Z,reject:B}=this._queue.shift(),w=await async function(){try{return _e=await Ae(...V),function(){return Z(_e)}}catch(Et){return $=Et,function(){return B($)}}}(),this._running--,this._tryToRun(),w()}schedule(V,...w){var $,B,Z;return Z=B=null,$=new this.Promise(function(_e,Ae){return Z=_e,B=Ae}),this._queue.push({task:V,args:w,resolve:Z,reject:B}),this._tryToRun(),$}};var Co=eo,Ao="2.19.5",At={version:Ao},vo=Object.freeze({version:Ao,default:At}),Te=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),rt=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),z=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),de,G,se,Ce,R,X;X=n,de=l,Ce=Te,se=rt,R=z,G=function(){class je{constructor(w={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=w,X.load(this.limiterOptions,this.defaults,this),this.Events=new de(this),this.instances={},this.Bottleneck=Dr,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new Ce(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new se(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(w=""){var $;return($=this.instances[w])!=null?$:(()=>{var B;return B=this.instances[w]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${w}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",B,w),B})()}async deleteKey(w=""){var $,B;return B=this.instances[w],this.connection&&($=await this.connection.__runCommand__(["del",...R.allKeys(`${this.id}-${w}`)])),B!=null&&(delete this.instances[w],await B.disconnect()),B!=null||$>0}limiters(){var w,$,B,Z;$=this.instances,B=[];for(w in $)Z=$[w],B.push({key:w,limiter:Z});return B}keys(){return Object.keys(this.instances)}async clusterKeys(){var w,$,B,Z,_e,Ae,Et,$r,er;if(this.connection==null)return this.Promise.resolve(this.keys());for(Ae=[],w=null,er=`b_${this.id}-`.length,$=9;w!==0;)for([$r,B]=await this.connection.__runCommand__(["scan",w??0,"match",`b_${this.id}-*_settings`,"count",1e4]),w=~~$r,Z=0,Et=B.length;Z{var $,B,Z,_e,Ae,Et;Ae=Date.now(),Z=this.instances,_e=[];for(B in Z){Et=Z[B];try{await Et._store.__groupCheck__(Ae)?_e.push(this.deleteKey(B)):_e.push(void 0)}catch($r){$=$r,_e.push(Et.Events.trigger("error",$))}}return _e},this.timeout/2)).unref=="function"?w.unref():void 0}updateSettings(w={}){if(X.overwrite(w,this.defaults,this),X.overwrite(w,w,this.limiterOptions),w.timeout!=null)return this._startAutoCleanup()}disconnect(w=!0){var $;if(!this.sharedConnection)return($=this.connection)!=null?$.disconnect(w):void 0}}return je.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},je}.call(e);var ae=G,Se,qe,lt;lt=n,qe=l,Se=function(){class je{constructor(w={}){this.options=w,lt.load(this.options,this.defaults,this),this.Events=new qe(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((w,$)=>this._resolve=w)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(w){var $;return this._arr.push(w),$=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),$}}return je.prototype.defaults={maxTime:null,maxSize:null,Promise},je}.call(e);var mt=Se,yo=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),jo=t(vo),ko,Y,le,be,Ee,Me,tt,Je,Ut,ut,Bt,Mr=[].splice;Me=10,Y=5,Bt=n,tt=m,be=L,Ee=ne,Je=yo,le=l,Ut=et,ut=Co,ko=function(){class je{constructor(w={},...$){var B,Z;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(w,$),Bt.load(w,this.instanceDefaults,this),this._queues=new tt(Me),this._scheduled={},this._states=new Ut(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new le(this),this._submitLock=new ut("submit",this.Promise),this._registerLock=new ut("register",this.Promise),Z=Bt.load(w,this.storeDefaults,{}),this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return B=Bt.load(w,this.redisStoreDefaults,{}),new Je(this,Z,B);if(this.datastore==="local")return B=Bt.load(w,this.localStoreDefaults,{}),new Ee(this,Z,B);throw new je.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}.call(this),this._queues.on("leftzero",()=>{var _e;return(_e=this._store.heartbeat)!=null&&typeof _e.ref=="function"?_e.ref():void 0}),this._queues.on("zero",()=>{var _e;return(_e=this._store.heartbeat)!=null&&typeof _e.unref=="function"?_e.unref():void 0})}_validateOptions(w,$){if(!(w!=null&&typeof w=="object"&&$.length===0))throw new je.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(w){return this._store.__publish__(w)}disconnect(w=!0){return this._store.__disconnect__(w)}chain(w){return this._limiter=w,this}queued(w){return this._queues.queued(w)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(w){return this._states.jobStatus(w)}jobs(w){return this._states.statusJobs(w)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(w=1){return this._store.__check__(w)}_clearGlobalState(w){return this._scheduled[w]!=null?(clearTimeout(this._scheduled[w].expiration),delete this._scheduled[w],!0):!1}async _free(w,$,B,Z){var _e,Ae;try{if({running:Ae}=await this._store.__free__(w,B.weight),this.Events.trigger("debug",`Freed ${B.id}`,Z),Ae===0&&this.empty())return this.Events.trigger("idle")}catch(Et){return _e=Et,this.Events.trigger("error",_e)}}_run(w,$,B){var Z,_e,Ae;return $.doRun(),Z=this._clearGlobalState.bind(this,w),Ae=this._run.bind(this,w,$),_e=this._free.bind(this,w,$),this._scheduled[w]={timeout:setTimeout(()=>$.doExecute(this._limiter,Z,Ae,_e),B),expiration:$.options.expiration!=null?setTimeout(function(){return $.doExpire(Z,Ae,_e)},B+$.options.expiration):void 0,job:$}}_drainOne(w){return this._registerLock.schedule(()=>{var $,B,Z,_e,Ae;return this.queued()===0?this.Promise.resolve(null):(Ae=this._queues.getFirst(),{options:_e,args:$}=Z=Ae.first(),w!=null&&_e.weight>w?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${_e.id}`,{args:$,options:_e}),B=this._randomIndex(),this._store.__register__(B,_e.weight,_e.expiration).then(({success:Et,wait:$r,reservoir:er})=>{var Up;return this.Events.trigger("debug",`Drained ${_e.id}`,{success:Et,args:$,options:_e}),Et?(Ae.shift(),Up=this.empty(),Up&&this.Events.trigger("empty"),er===0&&this.Events.trigger("depleted",Up),this._run(B,Z,$r),this.Promise.resolve(_e.weight)):this.Promise.resolve(null)})))})}_drainAll(w,$=0){return this._drainOne(w).then(B=>{var Z;return B!=null?(Z=w!=null?w-B:w,this._drainAll(Z,$+B)):this.Promise.resolve($)}).catch(B=>this.Events.trigger("error",B))}_dropAllQueued(w){return this._queues.shiftAll(function($){return $.doDrop({message:w})})}stop(w={}){var $,B;return w=Bt.load(w,this.stopDefaults),B=Z=>{var _e;return _e=()=>{var Ae;return Ae=this._states.counts,Ae[0]+Ae[1]+Ae[2]+Ae[3]===Z},new this.Promise((Ae,Et)=>_e()?Ae():this.on("done",()=>{if(_e())return this.removeAllListeners("done"),Ae()}))},$=w.dropWaitingJobs?(this._run=function(Z,_e){return _e.doDrop({message:w.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var Z,_e,Ae;_e=this._scheduled;for(Z in _e)Ae=_e[Z],this.jobStatus(Ae.job.options.id)==="RUNNING"&&(clearTimeout(Ae.timeout),clearTimeout(Ae.expiration),Ae.job.doDrop({message:w.dropErrorMessage}));return this._dropAllQueued(w.dropErrorMessage),B(0)}))):this.schedule({priority:Me-1,weight:0},()=>B(1)),this._receive=function(Z){return Z._reject(new je.prototype.BottleneckError(w.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new je.prototype.BottleneckError("stop() has already been called")),$}async _addToQueue(w){var $,B,Z,_e,Ae,Et,$r;({args:$,options:_e}=w);try{({reachedHWM:Ae,blocked:B,strategy:$r}=await this._store.__submit__(this.queued(),_e.weight))}catch(er){return Z=er,this.Events.trigger("debug",`Could not queue ${_e.id}`,{args:$,options:_e,error:Z}),w.doDrop({error:Z}),!1}return B?(w.doDrop(),!0):Ae&&(Et=$r===je.prototype.strategy.LEAK?this._queues.shiftLastFrom(_e.priority):$r===je.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(_e.priority+1):$r===je.prototype.strategy.OVERFLOW?w:void 0,Et?.doDrop(),Et==null||$r===je.prototype.strategy.OVERFLOW)?(Et==null&&w.doDrop(),Ae):(w.doQueue(Ae,B),this._queues.push(w),await this._drainAll(),Ae)}_receive(w){return this._states.jobStatus(w.options.id)!=null?(w._reject(new je.prototype.BottleneckError(`A job with the same id already exists (id=${w.options.id})`)),!1):(w.doReceive(),this._submitLock.schedule(this._addToQueue,w))}submit(...w){var $,B,Z,_e,Ae,Et,$r;return typeof w[0]=="function"?(Ae=w,[B,...w]=Ae,[$]=Mr.call(w,-1),_e=Bt.load({},this.jobDefaults)):(Et=w,[_e,B,...w]=Et,[$]=Mr.call(w,-1),_e=Bt.load(_e,this.jobDefaults)),$r=(...er)=>new this.Promise(function(Up,aD){return B(...er,function(...Rv){return(Rv[0]!=null?aD:Up)(Rv)})}),Z=new be($r,w,_e,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),Z.promise.then(function(er){return typeof $=="function"?$(...er):void 0}).catch(function(er){return Array.isArray(er)?typeof $=="function"?$(...er):void 0:typeof $=="function"?$(er):void 0}),this._receive(Z)}schedule(...w){var $,B,Z;return typeof w[0]=="function"?([Z,...w]=w,B={}):[B,Z,...w]=w,$=new be(Z,w,B,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive($),$.promise}wrap(w){var $,B;return $=this.schedule.bind(this),B=function(...Z){return $(w.bind(this),...Z)},B.withOptions=function(Z,..._e){return $(Z,w,..._e)},B}async updateSettings(w={}){return await this._store.__updateSettings__(Bt.overwrite(w,this.storeDefaults)),Bt.overwrite(w,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(w=0){return this._store.__incrementReservoir__(w)}}return je.default=je,je.Events=le,je.version=je.prototype.version=jo.version,je.strategy=je.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},je.BottleneckError=je.prototype.BottleneckError=g,je.Group=je.prototype.Group=ae,je.RedisConnection=je.prototype.RedisConnection=Te,je.IORedisConnection=je.prototype.IORedisConnection=rt,je.Batcher=je.prototype.Batcher=mt,je.prototype.jobDefaults={priority:Y,weight:1,expiration:null,id:""},je.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:je.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},je.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},je.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},je.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:!0,trackDoneStatus:!1,Promise},je.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},je}.call(e);var Dr=ko,vc=Dr;return vc})});var tve=De((q$t,eve)=>{eve.exports=Z_e;function Z_e(e,t){if(e&&t)return Z_e(e)(t);if(typeof e!="function")throw new TypeError("need wrapper function");return Object.keys(e).forEach(function(r){o[r]=e[r]}),o;function o(){for(var r=new Array(arguments.length),n=0;n{var ove=tve();PF.exports=ove(jP);PF.exports.strict=ove(rve);jP.proto=jP(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return jP(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return rve(this)},configurable:!0})});function jP(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function rve(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},o=e.name||"Function wrapped with `once`";return t.onceError=o+" shouldn't be called more than once",t.called=!1,t}});var pve=De((V$t,uve)=>{uve.exports=dve;function dve(e,t,o,r){if(typeof o!="function")throw new Error("method for before hook must be a function");return r||(r={}),Array.isArray(t)?t.reverse().reduce(function(n,s){return dve.bind(null,e,s,n,r)},o)():Promise.resolve().then(function(){return e.registry[t]?e.registry[t].reduce(function(n,s){return s.hook.bind(null,n,r)},o)():o(r)})}});var fve=De((j$t,mve)=>{mve.exports=Z2e;function Z2e(e,t,o,r){var n=r;e.registry[o]||(e.registry[o]=[]),t==="before"&&(r=function(s,i){return Promise.resolve().then(n.bind(null,i)).then(s.bind(null,i))}),t==="after"&&(r=function(s,i){var a;return Promise.resolve().then(s.bind(null,i)).then(function(l){return a=l,n(a,i)}).then(function(){return a})}),t==="error"&&(r=function(s,i){return Promise.resolve().then(s.bind(null,i)).catch(function(a){return n(a,i)})}),e.registry[o].push({hook:r,orig:n})}});var hve=De((Y$t,gve)=>{gve.exports=eHe;function eHe(e,t,o){if(e.registry[t]){var r=e.registry[t].map(function(n){return n.orig}).indexOf(o);r!==-1&&e.registry[t].splice(r,1)}}});var Sve=De((Q$t,CT)=>{var yve=pve(),tHe=fve(),oHe=hve(),bve=Function.bind,_ve=bve.bind(bve);function xve(e,t,o){var r=_ve(oHe,null).apply(null,o?[t,o]:[t]);e.api={remove:r},e.remove=r,["before","error","after","wrap"].forEach(function(n){var s=o?[t,n,o]:[t,n];e[n]=e.api[n]=_ve(tHe,null).apply(null,s)})}function rHe(){var e="h",t={registry:{}},o=yve.bind(null,t,e);return xve(o,t,e),o}function Tve(){var e={registry:{}},t=yve.bind(null,e);return xve(t,e),t}var vve=!1;function g_(){return vve||(console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'),vve=!0),Tve()}g_.Singular=rHe.bind();g_.Collection=Tve.bind();CT.exports=g_;CT.exports.Hook=g_;CT.exports.Singular=g_.Singular;CT.exports.Collection=g_.Collection});var Mve=De((__,Rve)=>{"use strict";var hHe=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},If=hHe();Rve.exports=__=If.fetch;If.fetch&&(__.default=If.fetch.bind(If));__.Headers=If.Headers;__.Request=If.Request;__.Response=If.Response});var iPe=De((uNo,DYe)=>{DYe.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` `,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}});var yB=De((pNo,aPe)=>{"use strict";aPe.exports=iPe()});var aM=De((mNo,lPe)=>{lPe.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/});var uPe=De((fNo,dPe)=>{"use strict";var cPe={};function $Ye(e){var t,o,r=cPe[e];if(r)return r;for(r=cPe[e]=[],t=0;t<128;t++)o=String.fromCharCode(t),/^[0-9a-z]$/i.test(o)?r.push(o):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t"u"&&(o=!0),a=$Ye(t),r=0,n=e.length;r=55296&&s<=57343){if(s>=55296&&s<=56319&&r+1=56320&&i<=57343)){l+=encodeURIComponent(e[r]+e[r+1]),r++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[r])}return l}lM.defaultChars=";/?:@&=+$,-_.!~*'()#";lM.componentChars="-_.!~*'()";dPe.exports=lM});var fPe=De((gNo,mPe)=>{"use strict";var pPe={};function NYe(e){var t,o,r=pPe[e];if(r)return r;for(r=pPe[e]=[],t=0;t<128;t++)o=String.fromCharCode(t),r.push(o);for(t=0;t=55296&&d<=57343?p+="\uFFFD\uFFFD\uFFFD":p+=String.fromCharCode(d),n+=6;continue}if((i&248)===240&&n+91114111?p+="\uFFFD\uFFFD\uFFFD\uFFFD":(d-=65536,p+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),n+=9;continue}p+="\uFFFD"}return p})}cM.defaultChars=";/?:@&=+$,#";cM.componentChars="";mPe.exports=cM});var hPe=De((hNo,gPe)=>{"use strict";gPe.exports=function(t){var o="";return o+=t.protocol||"",o+=t.slashes?"//":"",o+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?o+="["+t.hostname+"]":o+=t.hostname||"",o+=t.port?":"+t.port:"",o+=t.pathname||"",o+=t.search||"",o+=t.hash||"",o}});var SPe=De((bNo,TPe)=>{"use strict";function dM(){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 qYe=/^([a-z0-9.+-]+:)/i,OYe=/:[0-9]*$/,FYe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,UYe=["<",">",'"',"`"," ","\r",` `," "],HYe=["{","}","|","\\","^","`"].concat(UYe),zYe=["'"].concat(HYe),bPe=["%","/","?",";","#"].concat(zYe),_Pe=["/","?","#"],BYe=255,vPe=/^[+a-z0-9A-Z_-]{0,63}$/,GYe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,yPe={javascript:!0,"javascript:":!0},xPe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function VYe(e,t){if(e&&e instanceof dM)return e;var o=new dM;return o.parse(e,t),o}dM.prototype.parse=function(e,t){var o,r,n,s,i,a=e;if(a=a.trim(),!t&&e.split("#").length===1){var l=FYe.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=qYe.exec(a);if(c&&(c=c[0],n=c.toLowerCase(),this.protocol=c,a=a.substr(c.length)),(t||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(c&&yPe[c])&&(a=a.substr(2),this.slashes=!0)),!yPe[c]&&(i||c&&!xPe[c])){var d=-1;for(o=0;o<_Pe.length;o++)s=a.indexOf(_Pe[o]),s!==-1&&(d===-1||s127?y+="x":y+=_[x];if(!y.match(vPe)){var L=b.slice(0,o),I=b.slice(o+1),q=_.match(GYe);q&&(L.push(q[1]),I.unshift(q[2])),I.length&&(a=I.join(".")+a),this.hostname=L.join(".");break}}}}this.hostname.length>BYe&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var O=a.indexOf("#");O!==-1&&(this.hash=a.substr(O),a=a.slice(0,O));var ne=a.indexOf("?");return ne!==-1&&(this.search=a.substr(ne),a=a.slice(0,ne)),a&&(this.pathname=a),xPe[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};dM.prototype.parseHost=function(e){var t=OYe.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};TPe.exports=VYe});var xB=De((_No,$S)=>{"use strict";$S.exports.encode=uPe();$S.exports.decode=fPe();$S.exports.format=hPe();$S.exports.parse=SPe()});var TB=De((vNo,EPe)=>{EPe.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/});var SB=De((yNo,wPe)=>{wPe.exports=/[\0-\x1F\x7F-\x9F]/});var APe=De((xNo,CPe)=>{CPe.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/});var EB=De((TNo,kPe)=>{kPe.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/});var IPe=De(Tv=>{"use strict";Tv.Any=TB();Tv.Cc=SB();Tv.Cf=APe();Tv.P=aM();Tv.Z=EB()});var lo=De(Wr=>{"use strict";function jYe(e){return Object.prototype.toString.call(e)}function YYe(e){return jYe(e)==="[object String]"}var QYe=Object.prototype.hasOwnProperty;function LPe(e,t){return QYe.call(e,t)}function WYe(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(o){if(o){if(typeof o!="object")throw new TypeError(o+"must be object");Object.keys(o).forEach(function(r){e[r]=o[r]})}}),e}function KYe(e,t,o){return[].concat(e.slice(0,t),o,e.slice(t+1))}function RPe(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 MPe(e){if(e>65535){e-=65536;var t=55296+(e>>10),o=56320+(e&1023);return String.fromCharCode(t,o)}return String.fromCharCode(e)}var DPe=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,JYe=/&([a-z#][a-z0-9]{1,31});/gi,XYe=new RegExp(DPe.source+"|"+JYe.source,"gi"),ZYe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,PPe=yB();function eQe(e,t){var o=0;return LPe(PPe,t)?PPe[t]:t.charCodeAt(0)===35&&ZYe.test(t)&&(o=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10),RPe(o))?MPe(o):e}function tQe(e){return e.indexOf("\\")<0?e:e.replace(DPe,"$1")}function oQe(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(XYe,function(t,o,r){return o||eQe(t,r)})}var rQe=/[&<>"]/,nQe=/[&<>"]/g,sQe={"&":"&","<":"<",">":">",'"':"""};function iQe(e){return sQe[e]}function aQe(e){return rQe.test(e)?e.replace(nQe,iQe):e}var lQe=/[.?*+^$[\]\\(){}|-]/g;function cQe(e){return e.replace(lQe,"\\$&")}function dQe(e){switch(e){case 9:case 32:return!0}return!1}function uQe(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}var pQe=aM();function mQe(e){return pQe.test(e)}function fQe(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 gQe(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}Wr.lib={};Wr.lib.mdurl=xB();Wr.lib.ucmicro=IPe();Wr.assign=WYe;Wr.isString=YYe;Wr.has=LPe;Wr.unescapeMd=tQe;Wr.unescapeAll=oQe;Wr.isValidEntityCode=RPe;Wr.fromCodePoint=MPe;Wr.escapeHtml=aQe;Wr.arrayReplaceAt=KYe;Wr.isSpace=dQe;Wr.isWhiteSpace=uQe;Wr.isMdAsciiPunct=fQe;Wr.isPunctChar=mQe;Wr.escapeRE=cQe;Wr.normalizeReference=gQe});var NPe=De((wNo,$Pe)=>{"use strict";$Pe.exports=function(t,o,r){var n,s,i,a,l=-1,c=t.posMax,d=t.pos;for(t.pos=o+1,n=1;t.pos{"use strict";var qPe=lo().unescapeAll;OPe.exports=function(t,o,r){var n,s,i=0,a=o,l={ok:!1,pos:0,lines:0,str:""};if(t.charCodeAt(o)===60){for(o++;o32))return l;if(n===41){if(s===0)break;s--}o++}return a===o||s!==0||(l.str=qPe(t.slice(a,o)),l.lines=i,l.pos=o,l.ok=!0),l}});var HPe=De((ANo,UPe)=>{"use strict";var hQe=lo().unescapeAll;UPe.exports=function(t,o,r){var n,s,i=0,a=o,l={ok:!1,pos:0,lines:0,str:""};if(o>=r||(s=t.charCodeAt(o),s!==34&&s!==39&&s!==40))return l;for(o++,s===40&&(s=41);o{"use strict";uM.parseLinkLabel=NPe();uM.parseLinkDestination=FPe();uM.parseLinkTitle=HPe()});var GPe=De((INo,BPe)=>{"use strict";var bQe=lo().assign,_Qe=lo().unescapeAll,ug=lo().escapeHtml,gc={};gc.code_inline=function(e,t,o,r,n){var s=e[t];return""+ug(e[t].content)+""};gc.code_block=function(e,t,o,r,n){var s=e[t];return""+ug(e[t].content)+` `};gc.fence=function(e,t,o,r,n){var s=e[t],i=s.info?_Qe(s.info).trim():"",a="",l="",c,d,p,m,f;return i&&(p=i.split(/(\s+)/g),a=p[0],l=p.slice(2).join("")),o.highlight?c=o.highlight(s.content,a,l)||ug(s.content):c=ug(s.content),c.indexOf(""+c+` `):"
"+c+`
`};gc.image=function(e,t,o,r,n){var s=e[t];return s.attrs[s.attrIndex("alt")][1]=n.renderInlineAsText(s.children,o,r),n.renderToken(e,t,o)};gc.hardbreak=function(e,t,o){return o.xhtmlOut?`
`:`
`};gc.softbreak=function(e,t,o){return o.breaks?o.xhtmlOut?`
`:`
`:` `};gc.text=function(e,t){return ug(e[t].content)};gc.html_block=function(e,t){return e[t].content};gc.html_inline=function(e,t){return e[t].content};function Sv(){this.rules=bQe({},gc)}Sv.prototype.renderAttrs=function(t){var o,r,n;if(!t.attrs)return"";for(n="",o=0,r=t.attrs.length;o `:">",s)};Sv.prototype.renderInline=function(e,t,o){for(var r,n="",s=this.rules,i=0,a=e.length;i{"use strict";function nl(){this.__rules__=[],this.__cache__=null}nl.prototype.__find__=function(e){for(var t=0;t{"use strict";var vQe=/\r\n?|\n/g,yQe=/\0/g;jPe.exports=function(t){var o;o=t.src.replace(vQe,` `),o=o.replace(yQe,"\uFFFD"),t.src=o}});var WPe=De((RNo,QPe)=>{"use strict";QPe.exports=function(t){var o;t.inlineMode?(o=new t.Token("inline","",0),o.content=t.src,o.map=[0,1],o.children=[],t.tokens.push(o)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}});var JPe=De((MNo,KPe)=>{"use strict";KPe.exports=function(t){var o=t.tokens,r,n,s;for(n=0,s=o.length;n{"use strict";var xQe=lo().arrayReplaceAt;function TQe(e){return/^\s]/i.test(e)}function SQe(e){return/^<\/a\s*>/i.test(e)}XPe.exports=function(t){var o,r,n,s,i,a,l,c,d,p,m,f,g,b,_,y,x=t.tokens,C;if(t.md.options.linkify){for(r=0,n=x.length;r=0;o--){if(a=s[o],a.type==="link_close"){for(o--;s[o].level!==a.level&&s[o].type!=="link_open";)o--;continue}if(a.type==="html_inline"&&(TQe(a.content)&&g>0&&g--,SQe(a.content)&&g++),!(g>0)&&a.type==="text"&&t.md.linkify.test(a.content)){for(d=a.content,C=t.md.linkify.match(d),l=[],f=a.level,m=0,C.length>0&&C[0].index===0&&o>0&&s[o-1].type==="text_special"&&(C=C.slice(1)),c=0;cm&&(i=new t.Token("text","",0),i.content=d.slice(m,p),i.level=f,l.push(i)),i=new t.Token("link_open","a",1),i.attrs=[["href",_]],i.level=f++,i.markup="linkify",i.info="auto",l.push(i),i=new t.Token("text","",0),i.content=y,i.level=f,l.push(i),i=new t.Token("link_close","a",-1),i.level=--f,i.markup="linkify",i.info="auto",l.push(i),m=C[c].lastIndex);m{"use strict";var eLe=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,EQe=/\((c|tm|r)\)/i,wQe=/\((c|tm|r)\)/ig,CQe={c:"\xA9",r:"\xAE",tm:"\u2122"};function AQe(e,t){return CQe[t.toLowerCase()]}function kQe(e){var t,o,r=0;for(t=e.length-1;t>=0;t--)o=e[t],o.type==="text"&&!r&&(o.content=o.content.replace(wQe,AQe)),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}function IQe(e){var t,o,r=0;for(t=e.length-1;t>=0;t--)o=e[t],o.type==="text"&&!r&&eLe.test(o.content)&&(o.content=o.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")),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}tLe.exports=function(t){var o;if(t.md.options.typographer)for(o=t.tokens.length-1;o>=0;o--)t.tokens[o].type==="inline"&&(EQe.test(t.tokens[o].content)&&kQe(t.tokens[o].children),eLe.test(t.tokens[o].content)&&IQe(t.tokens[o].children))}});var cLe=De((NNo,lLe)=>{"use strict";var rLe=lo().isWhiteSpace,nLe=lo().isPunctChar,sLe=lo().isMdAsciiPunct,PQe=/['"]/,iLe=/['"]/g,aLe="\u2019";function mM(e,t,o){return e.slice(0,t)+o+e.slice(t+1)}function LQe(e,t){var o,r,n,s,i,a,l,c,d,p,m,f,g,b,_,y,x,C,L,I,q;for(L=[],o=0;o=0&&!(L[x].level<=l);x--);if(L.length=x+1,r.type==="text"){n=r.content,i=0,a=n.length;e:for(;i=0)d=n.charCodeAt(s.index-1);else for(x=o-1;x>=0&&!(e[x].type==="softbreak"||e[x].type==="hardbreak");x--)if(e[x].content){d=e[x].content.charCodeAt(e[x].content.length-1);break}if(p=32,i=48&&d<=57&&(y=_=!1),_&&y&&(_=m,y=f),!_&&!y){C&&(r.content=mM(r.content,s.index,aLe));continue}if(y){for(x=L.length-1;x>=0&&(c=L[x],!(L[x].level=0;o--)t.tokens[o].type!=="inline"||!PQe.test(t.tokens[o].content)||LQe(t.tokens[o].children,t)}});var uLe=De((qNo,dLe)=>{"use strict";dLe.exports=function(t){var o,r,n,s,i,a,l=t.tokens;for(o=0,r=l.length;o{"use strict";function Ev(e,t,o){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=o,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Ev.prototype.attrIndex=function(t){var o,r,n;if(!this.attrs)return-1;for(o=this.attrs,r=0,n=o.length;r=0&&(r=this.attrs[o][1]),r};Ev.prototype.attrJoin=function(t,o){var r=this.attrIndex(t);r<0?this.attrPush([t,o]):this.attrs[r][1]=this.attrs[r][1]+" "+o};pLe.exports=Ev});var gLe=De((FNo,fLe)=>{"use strict";var RQe=fM();function mLe(e,t,o){this.src=e,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=t}mLe.prototype.Token=RQe;fLe.exports=mLe});var bLe=De((UNo,hLe)=>{"use strict";var MQe=pM(),wB=[["normalize",YPe()],["block",WPe()],["inline",JPe()],["linkify",ZPe()],["replacements",oLe()],["smartquotes",cLe()],["text_join",uLe()]];function CB(){this.ruler=new MQe;for(var e=0;e{"use strict";var AB=lo().isSpace;function kB(e,t){var o=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(o,r)}function _Le(e){var t=[],o=0,r=e.length,n,s=!1,i=0,a="";for(n=e.charCodeAt(o);or||(d=o+1,t.sCount[d]=4||(a=t.bMarks[d]+t.tShift[d],a>=t.eMarks[d])||(I=t.src.charCodeAt(a++),I!==124&&I!==45&&I!==58)||a>=t.eMarks[d]||(q=t.src.charCodeAt(a++),q!==124&&q!==45&&q!==58&&!AB(q))||I===45&&AB(q))return!1;for(;a=4||(p=_Le(i),p.length&&p[0]===""&&p.shift(),p.length&&p[p.length-1]===""&&p.pop(),m=p.length,m===0||m!==g.length))return!1;if(n)return!0;for(x=t.parentType,t.parentType="table",L=t.md.block.ruler.getRules("blockquote"),f=t.push("table_open","table",1),f.map=_=[o,0],f=t.push("thead_open","thead",1),f.map=[o,o+1],f=t.push("tr_open","tr",1),f.map=[o,o+1],l=0;l=4)break;for(p=_Le(i),p.length&&p[0]===""&&p.shift(),p.length&&p[p.length-1]===""&&p.pop(),d===o+2&&(f=t.push("tbody_open","tbody",1),f.map=y=[o+2,0]),f=t.push("tr_open","tr",1),f.map=[d,d+1],l=0;l{"use strict";xLe.exports=function(t,o,r){var n,s,i;if(t.sCount[o]-t.blkIndent<4)return!1;for(s=n=o+1;n=4){n++,s=n;continue}break}return t.line=s,i=t.push("code_block","code",0),i.content=t.getLines(o,s,4+t.blkIndent,!1)+` `,i.map=[o,t.line],!0}});var ELe=De((BNo,SLe)=>{"use strict";SLe.exports=function(t,o,r,n){var s,i,a,l,c,d,p,m=!1,f=t.bMarks[o]+t.tShift[o],g=t.eMarks[o];if(t.sCount[o]-t.blkIndent>=4||f+3>g||(s=t.src.charCodeAt(f),s!==126&&s!==96)||(c=f,f=t.skipChars(f,s),i=f-c,i<3)||(p=t.src.slice(c,f),a=t.src.slice(f,g),s===96&&a.indexOf(String.fromCharCode(s))>=0))return!1;if(n)return!0;for(l=o;l++,!(l>=r||(f=c=t.bMarks[l]+t.tShift[l],g=t.eMarks[l],f=4)&&(f=t.skipChars(f,s),!(f-c{"use strict";var wLe=lo().isSpace;CLe.exports=function(t,o,r,n){var s,i,a,l,c,d,p,m,f,g,b,_,y,x,C,L,I,q,O,ne,Ie=t.lineMax,te=t.bMarks[o]+t.tShift[o],et=t.eMarks[o];if(t.sCount[o]-t.blkIndent>=4||t.src.charCodeAt(te++)!==62)return!1;if(n)return!0;for(l=f=t.sCount[o]+1,t.src.charCodeAt(te)===32?(te++,l++,f++,s=!1,L=!0):t.src.charCodeAt(te)===9?(L=!0,(t.bsCount[o]+f)%4===3?(te++,l++,f++,s=!1):s=!0):L=!1,g=[t.bMarks[o]],t.bMarks[o]=te;te=et,x=[t.sCount[o]],t.sCount[o]=f-l,C=[t.tShift[o]],t.tShift[o]=te-t.bMarks[o],q=t.md.block.ruler.getRules("blockquote"),y=t.parentType,t.parentType="blockquote",m=o+1;m=et));m++){if(t.src.charCodeAt(te++)===62&&!ne){for(l=f=t.sCount[m]+1,t.src.charCodeAt(te)===32?(te++,l++,f++,s=!1,L=!0):t.src.charCodeAt(te)===9?(L=!0,(t.bsCount[m]+f)%4===3?(te++,l++,f++,s=!1):s=!0):L=!1,g.push(t.bMarks[m]),t.bMarks[m]=te;te=et,b.push(t.bsCount[m]),t.bsCount[m]=t.sCount[m]+1+(L?1:0),x.push(t.sCount[m]),t.sCount[m]=f-l,C.push(t.tShift[m]),t.tShift[m]=te-t.bMarks[m];continue}if(d)break;for(I=!1,a=0,c=q.length;a",O.map=p=[o,0],t.md.block.tokenize(t,o,m),O=t.push("blockquote_close","blockquote",-1),O.markup=">",t.lineMax=Ie,t.parentType=y,p[1]=t.line,a=0;a{"use strict";var DQe=lo().isSpace;kLe.exports=function(t,o,r,n){var s,i,a,l,c=t.bMarks[o]+t.tShift[o],d=t.eMarks[o];if(t.sCount[o]-t.blkIndent>=4||(s=t.src.charCodeAt(c++),s!==42&&s!==45&&s!==95))return!1;for(i=1;c{"use strict";var RLe=lo().isSpace;function PLe(e,t){var o,r,n,s;return r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t],o=e.src.charCodeAt(r++),o!==42&&o!==45&&o!==43||r=s||(o=e.src.charCodeAt(n++),o<48||o>57))return-1;for(;;){if(n>=s)return-1;if(o=e.src.charCodeAt(n++),o>=48&&o<=57){if(n-r>=10)return-1;continue}if(o===41||o===46)break;return-1}return n=4||t.listIndent>=0&&t.sCount[o]-t.listIndent>=4&&t.sCount[o]=t.blkIndent&&(vo=!0),(et=LLe(t,o))>=0){if(p=!0,eo=t.bMarks[o]+t.tShift[o],y=Number(t.src.slice(eo,et-1)),vo&&y!==1)return!1}else if((et=PLe(t,o))>=0)p=!1;else return!1;if(vo&&t.skipSpaces(et)>=t.eMarks[o])return!1;if(_=t.src.charCodeAt(et-1),n)return!0;for(b=t.tokens.length,p?(At=t.push("ordered_list_open","ol",1),y!==1&&(At.attrs=[["start",y]])):At=t.push("bullet_list_open","ul",1),At.map=g=[o,0],At.markup=String.fromCharCode(_),C=o,St=!1,Ao=t.md.block.ruler.getRules("list"),q=t.parentType,t.parentType="list";C=x?c=1:c=L-d,c>4&&(c=1),l=d+c,At=t.push("list_item_open","li",1),At.markup=String.fromCharCode(_),At.map=m=[o,0],p&&(At.info=t.src.slice(eo,et-1)),Ie=t.tight,ne=t.tShift[o],O=t.sCount[o],I=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[o]=i-t.bMarks[o],t.sCount[o]=L,i>=x&&t.isEmpty(o+1)?t.line=Math.min(t.line+2,r):t.md.block.tokenize(t,o,r,!0),(!t.tight||St)&&(Te=!1),St=t.line-o>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=I,t.tShift[o]=ne,t.sCount[o]=O,t.tight=Ie,At=t.push("list_item_close","li",-1),At.markup=String.fromCharCode(_),C=o=t.line,m[1]=C,i=t.bMarks[o],C>=r||t.sCount[C]=4)break;for(Co=!1,a=0,f=Ao.length;a{"use strict";var NQe=lo().normalizeReference,gM=lo().isSpace;$Le.exports=function(t,o,r,n){var s,i,a,l,c,d,p,m,f,g,b,_,y,x,C,L,I=0,q=t.bMarks[o]+t.tShift[o],O=t.eMarks[o],ne=o+1;if(t.sCount[o]-t.blkIndent>=4||t.src.charCodeAt(q)!==91)return!1;for(;++q3)&&!(t.sCount[ne]<0)){for(x=!1,d=0,p=C.length;d"u"&&(t.env.references={}),typeof t.env.references[m]>"u"&&(t.env.references[m]={title:L,href:c}),t.parentType=g,t.line=o+I+1),!0)}});var OLe=De((QNo,qLe)=>{"use strict";qLe.exports=["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","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]});var PB=De((WNo,IB)=>{"use strict";var qQe="[a-zA-Z_:][a-zA-Z0-9:._-]*",OQe="[^\"'=<>`\\x00-\\x20]+",FQe="'[^']*'",UQe='"[^"]*"',HQe="(?:"+OQe+"|"+FQe+"|"+UQe+")",zQe="(?:\\s+"+qQe+"(?:\\s*=\\s*"+HQe+")?)",FLe="<[A-Za-z][A-Za-z0-9\\-]*"+zQe+"*\\s*\\/?>",ULe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",BQe="|",GQe="<[?][\\s\\S]*?[?]>",VQe="]*>",jQe="",YQe=new RegExp("^(?:"+FLe+"|"+ULe+"|"+BQe+"|"+GQe+"|"+VQe+"|"+jQe+")"),QQe=new RegExp("^(?:"+FLe+"|"+ULe+")");IB.exports.HTML_TAG_RE=YQe;IB.exports.HTML_OPEN_CLOSE_TAG_RE=QQe});var zLe=De((KNo,HLe)=>{"use strict";var WQe=OLe(),KQe=PB().HTML_OPEN_CLOSE_TAG_RE,wv=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(KQe.source+"\\s*$"),/^$/,!1]];HLe.exports=function(t,o,r,n){var s,i,a,l,c=t.bMarks[o]+t.tShift[o],d=t.eMarks[o];if(t.sCount[o]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(c)!==60)return!1;for(l=t.src.slice(c,d),s=0;s{"use strict";var BLe=lo().isSpace;GLe.exports=function(t,o,r,n){var s,i,a,l,c=t.bMarks[o]+t.tShift[o],d=t.eMarks[o];if(t.sCount[o]-t.blkIndent>=4||(s=t.src.charCodeAt(c),s!==35||c>=d))return!1;for(i=1,s=t.src.charCodeAt(++c);s===35&&c6||cc&&BLe(t.src.charCodeAt(a-1))&&(d=a),t.line=o+1,l=t.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[o,t.line],l=t.push("inline","",0),l.content=t.src.slice(c,d).trim(),l.map=[o,t.line],l.children=[],l=t.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)}});var YLe=De((XNo,jLe)=>{"use strict";jLe.exports=function(t,o,r){var n,s,i,a,l,c,d,p,m,f=o+1,g,b=t.md.block.ruler.getRules("paragraph");if(t.sCount[o]-t.blkIndent>=4)return!1;for(g=t.parentType,t.parentType="paragraph";f3)){if(t.sCount[f]>=t.blkIndent&&(c=t.bMarks[f]+t.tShift[f],d=t.eMarks[f],c=d)))){p=m===61?1:2;break}if(!(t.sCount[f]<0)){for(s=!1,i=0,a=b.length;i{"use strict";QLe.exports=function(t,o){var r,n,s,i,a,l,c=o+1,d=t.md.block.ruler.getRules("paragraph"),p=t.lineMax;for(l=t.parentType,t.parentType="paragraph";c3)&&!(t.sCount[c]<0)){for(n=!1,s=0,i=d.length;s{"use strict";var KLe=fM(),hM=lo().isSpace;function hc(e,t,o,r){var n,s,i,a,l,c,d,p;for(this.src=e,this.md=t,this.env=o,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",s=this.src,p=!1,i=a=c=d=0,l=s.length;a0&&this.level++,this.tokens.push(r),r};hc.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};hc.prototype.skipEmptyLines=function(t){for(var o=this.lineMax;to;)if(!hM(this.src.charCodeAt(--t)))return t+1;return t};hc.prototype.skipChars=function(t,o){for(var r=this.src.length;tr;)if(o!==this.src.charCodeAt(--t))return t+1;return t};hc.prototype.getLines=function(t,o,r,n){var s,i,a,l,c,d,p,m=t;if(t>=o)return"";for(d=new Array(o-t),s=0;mr?d[s]=new Array(i-r+1).join(" ")+this.src.slice(l,c):d[s]=this.src.slice(l,c)}return d.join("")};hc.prototype.Token=KLe;JLe.exports=hc});var eRe=De((t1o,ZLe)=>{"use strict";var JQe=pM(),bM=[["table",yLe(),["paragraph","reference"]],["code",TLe()],["fence",ELe(),["paragraph","reference","blockquote","list"]],["blockquote",ALe(),["paragraph","reference","blockquote","list"]],["hr",ILe(),["paragraph","reference","blockquote","list"]],["list",DLe(),["paragraph","reference","blockquote"]],["reference",NLe()],["html_block",zLe(),["paragraph","reference","blockquote"]],["heading",VLe(),["paragraph","reference","blockquote"]],["lheading",YLe()],["paragraph",WLe()]];function _M(){this.ruler=new JQe;for(var e=0;e=o||e.sCount[a]=c){e.line=o;break}for(n=0;n{"use strict";function XQe(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}tRe.exports=function(t,o){for(var r=t.pos;r{"use strict";var ZQe=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;rRe.exports=function(t,o){var r,n,s,i,a,l,c,d;return!t.md.options.linkify||t.linkLevel>0||(r=t.pos,n=t.posMax,r+3>n)||t.src.charCodeAt(r)!==58||t.src.charCodeAt(r+1)!==47||t.src.charCodeAt(r+2)!==47||(s=t.pending.match(ZQe),!s)||(i=s[1],a=t.md.linkify.matchAtStart(t.src.slice(r-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),c=t.md.normalizeLink(l),!t.md.validateLink(c))?!1:(o||(t.pending=t.pending.slice(0,-i.length),d=t.push("link_open","a",1),d.attrs=[["href",c]],d.markup="linkify",d.info="auto",d=t.push("text","",0),d.content=t.md.normalizeLinkText(l),d=t.push("link_close","a",-1),d.markup="linkify",d.info="auto"),t.pos+=l.length-i.length,!0)}});var iRe=De((n1o,sRe)=>{"use strict";var eWe=lo().isSpace;sRe.exports=function(t,o){var r,n,s,i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;if(r=t.pending.length-1,n=t.posMax,!o)if(r>=0&&t.pending.charCodeAt(r)===32)if(r>=1&&t.pending.charCodeAt(r-1)===32){for(s=r-1;s>=1&&t.pending.charCodeAt(s-1)===32;)s--;t.pending=t.pending.slice(0,s),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i{"use strict";var tWe=lo().isSpace,RB=[];for(LB=0;LB<256;LB++)RB.push(0);var LB;"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){RB[e.charCodeAt(0)]=1});aRe.exports=function(t,o){var r,n,s,i,a,l=t.pos,c=t.posMax;if(t.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(r=t.src.charCodeAt(l),r===10){for(o||t.push("hardbreak","br",0),l++;l=55296&&r<=56319&&l+1=56320&&n<=57343&&(i+=t.src[l+1],l++)),s="\\"+i,o||(a=t.push("text_special","",0),r<256&&RB[r]!==0?a.content=i:a.content=s,a.markup=s,a.info="escape"),t.pos=l+1,!0}});var dRe=De((i1o,cRe)=>{"use strict";cRe.exports=function(t,o){var r,n,s,i,a,l,c,d,p=t.pos,m=t.src.charCodeAt(p);if(m!==96)return!1;for(r=p,p++,n=t.posMax;p{"use strict";MB.exports.tokenize=function(t,o){var r,n,s,i,a,l=t.pos,c=t.src.charCodeAt(l);if(o||c!==126||(n=t.scanDelims(t.pos,!0),i=n.length,a=String.fromCharCode(c),i<2))return!1;for(i%2&&(s=t.push("text","",0),s.content=a,i--),r=0;r{"use strict";$B.exports.tokenize=function(t,o){var r,n,s,i=t.pos,a=t.src.charCodeAt(i);if(o||a!==95&&a!==42)return!1;for(n=t.scanDelims(t.pos,a===42),r=0;r=0;o--)r=t[o],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(n=t[r.end],a=o>0&&t[o-1].end===r.end+1&&t[o-1].marker===r.marker&&t[o-1].token===r.token-1&&t[r.end+1].token===n.token+1,i=String.fromCharCode(r.marker),s=e.tokens[r.token],s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?i+i:i,s.content="",s=e.tokens[n.token],s.type=a?"strong_close":"em_close",s.tag=a?"strong":"em",s.nesting=-1,s.markup=a?i+i:i,s.content="",a&&(e.tokens[t[o-1].token].content="",e.tokens[t[r.end+1].token].content="",o--))}$B.exports.postProcess=function(t){var o,r=t.tokens_meta,n=t.tokens_meta.length;for(pRe(t,t.delimiters),o=0;o{"use strict";var oWe=lo().normalizeReference,qB=lo().isSpace;mRe.exports=function(t,o){var r,n,s,i,a,l,c,d,p,m="",f="",g=t.pos,b=t.posMax,_=t.pos,y=!0;if(t.src.charCodeAt(t.pos)!==91||(a=t.pos+1,i=t.md.helpers.parseLinkLabel(t,t.pos,!0),i<0))return!1;if(l=i+1,l=b)return!1;if(_=l,c=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),c.ok){for(m=t.md.normalizeLink(c.str),t.md.validateLink(m)?l=c.pos:m="",_=l;l=b||t.src.charCodeAt(l)!==41)&&(y=!0),l++}if(y){if(typeof t.env.references>"u")return!1;if(l=0?s=t.src.slice(_,l++):l=i+1):l=i+1,s||(s=t.src.slice(a,i)),d=t.env.references[oWe(s)],!d)return t.pos=g,!1;m=d.href,f=d.title}return o||(t.pos=a,t.posMax=i,p=t.push("link_open","a",1),p.attrs=r=[["href",m]],f&&r.push(["title",f]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,p=t.push("link_close","a",-1)),t.pos=l,t.posMax=b,!0}});var hRe=De((d1o,gRe)=>{"use strict";var rWe=lo().normalizeReference,OB=lo().isSpace;gRe.exports=function(t,o){var r,n,s,i,a,l,c,d,p,m,f,g,b,_="",y=t.pos,x=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(l=t.pos+2,a=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),a<0))return!1;if(c=a+1,c=x)return!1;for(b=c,p=t.md.helpers.parseLinkDestination(t.src,c,t.posMax),p.ok&&(_=t.md.normalizeLink(p.str),t.md.validateLink(_)?c=p.pos:_=""),b=c;c=x||t.src.charCodeAt(c)!==41)return t.pos=y,!1;c++}else{if(typeof t.env.references>"u")return!1;if(c=0?i=t.src.slice(b,c++):c=a+1):c=a+1,i||(i=t.src.slice(l,a)),d=t.env.references[rWe(i)],!d)return t.pos=y,!1;_=d.href,m=d.title}return o||(s=t.src.slice(l,a),t.md.inline.parse(s,t.md,t.env,g=[]),f=t.push("image","img",0),f.attrs=r=[["src",_],["alt",""]],f.children=g,f.content=s,m&&r.push(["title",m])),t.pos=c,t.posMax=x,!0}});var _Re=De((u1o,bRe)=>{"use strict";var nWe=/^([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])?)*)$/,sWe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;bRe.exports=function(t,o){var r,n,s,i,a,l,c=t.pos;if(t.src.charCodeAt(c)!==60)return!1;for(a=t.pos,l=t.posMax;;){if(++c>=l||(i=t.src.charCodeAt(c),i===60))return!1;if(i===62)break}return r=t.src.slice(a+1,c),sWe.test(r)?(n=t.md.normalizeLink(r),t.md.validateLink(n)?(o||(s=t.push("link_open","a",1),s.attrs=[["href",n]],s.markup="autolink",s.info="auto",s=t.push("text","",0),s.content=t.md.normalizeLinkText(r),s=t.push("link_close","a",-1),s.markup="autolink",s.info="auto"),t.pos+=r.length+2,!0):!1):nWe.test(r)?(n=t.md.normalizeLink("mailto:"+r),t.md.validateLink(n)?(o||(s=t.push("link_open","a",1),s.attrs=[["href",n]],s.markup="autolink",s.info="auto",s=t.push("text","",0),s.content=t.md.normalizeLinkText(r),s=t.push("link_close","a",-1),s.markup="autolink",s.info="auto"),t.pos+=r.length+2,!0):!1):!1}});var yRe=De((p1o,vRe)=>{"use strict";var iWe=PB().HTML_TAG_RE;function aWe(e){return/^\s]/i.test(e)}function lWe(e){return/^<\/a\s*>/i.test(e)}function cWe(e){var t=e|32;return t>=97&&t<=122}vRe.exports=function(t,o){var r,n,s,i,a=t.pos;return!t.md.options.html||(s=t.posMax,t.src.charCodeAt(a)!==60||a+2>=s)||(r=t.src.charCodeAt(a+1),r!==33&&r!==63&&r!==47&&!cWe(r))||(n=t.src.slice(a).match(iWe),!n)?!1:(o||(i=t.push("html_inline","",0),i.content=t.src.slice(a,a+n[0].length),aWe(i.content)&&t.linkLevel++,lWe(i.content)&&t.linkLevel--),t.pos+=n[0].length,!0)}});var ERe=De((m1o,SRe)=>{"use strict";var xRe=yB(),dWe=lo().has,uWe=lo().isValidEntityCode,TRe=lo().fromCodePoint,pWe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,mWe=/^&([a-z][a-z0-9]{1,31});/i;SRe.exports=function(t,o){var r,n,s,i,a=t.pos,l=t.posMax;if(t.src.charCodeAt(a)!==38||a+1>=l)return!1;if(r=t.src.charCodeAt(a+1),r===35){if(s=t.src.slice(a).match(pWe),s)return o||(n=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),i=t.push("text_special","",0),i.content=uWe(n)?TRe(n):TRe(65533),i.markup=s[0],i.info="entity"),t.pos+=s[0].length,!0}else if(s=t.src.slice(a).match(mWe),s&&dWe(xRe,s[1]))return o||(i=t.push("text_special","",0),i.content=xRe[s[1]],i.markup=s[0],i.info="entity"),t.pos+=s[0].length,!0;return!1}});var ARe=De((f1o,CRe)=>{"use strict";function wRe(e,t){var o,r,n,s,i,a,l,c,d={},p=t.length;if(p){var m=0,f=-2,g=[];for(o=0;oi;r-=g[r]+1)if(s=t[r],s.marker===n.marker&&s.open&&s.end<0&&(l=!1,(s.close||n.open)&&(s.length+n.length)%3===0&&(s.length%3!==0||n.length%3!==0)&&(l=!0),!l)){c=r>0&&!t[r-1].open?g[r-1]+1:0,g[o]=o-r+c,g[r]=c,n.open=!1,s.end=o,s.close=!1,a=-1,f=-2;break}a!==-1&&(d[n.marker][(n.open?3:0)+(n.length||0)%3]=a)}}}CRe.exports=function(t){var o,r=t.tokens_meta,n=t.tokens_meta.length;for(wRe(t,t.delimiters),o=0;o{"use strict";kRe.exports=function(t){var o,r,n=0,s=t.tokens,i=t.tokens.length;for(o=r=0;o0&&n++,s[o].type==="text"&&o+1{"use strict";var FB=fM(),PRe=lo().isWhiteSpace,LRe=lo().isPunctChar,RRe=lo().isMdAsciiPunct;function NS(e,t,o,r){this.src=e,this.env=o,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}NS.prototype.pushPending=function(){var e=new FB("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};NS.prototype.push=function(e,t,o){this.pending&&this.pushPending();var r=new FB(e,t,o),n=null;return o<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,o>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],n={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(n),r};NS.prototype.scanDelims=function(e,t){var o=e,r,n,s,i,a,l,c,d,p,m=!0,f=!0,g=this.posMax,b=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;o{"use strict";var $Re=pM(),UB=[["text",oRe()],["linkify",nRe()],["newline",iRe()],["escape",lRe()],["backticks",dRe()],["strikethrough",DB().tokenize],["emphasis",NB().tokenize],["link",fRe()],["image",hRe()],["autolink",_Re()],["html_inline",yRe()],["entity",ERe()]],HB=[["balance_pairs",ARe()],["strikethrough",DB().postProcess],["emphasis",NB().postProcess],["fragments_join",IRe()]];function qS(){var e;for(this.ruler=new $Re,e=0;e=s)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};qS.prototype.parse=function(e,t,o,r){var n,s,i,a=new this.State(e,t,o,r);for(this.tokenize(a),s=this.ruler2.getRules(""),i=s.length,n=0;n{"use strict";ORe.exports=function(e){var t={};e=e||{},t.src_Any=TB().source,t.src_Cc=SB().source,t.src_Z=EB().source,t.src_P=aM().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var o="[><\uFF5C]";return t.src_pseudo_letter="(?:(?!"+o+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+o+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}});var GRe=De((v1o,BRe)=>{"use strict";function zB(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(o){o&&Object.keys(o).forEach(function(r){e[r]=o[r]})}),e}function yM(e){return Object.prototype.toString.call(e)}function fWe(e){return yM(e)==="[object String]"}function gWe(e){return yM(e)==="[object Object]"}function hWe(e){return yM(e)==="[object RegExp]"}function URe(e){return yM(e)==="[object Function]"}function bWe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var zRe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function _We(e){return Object.keys(e||{}).reduce(function(t,o){return t||zRe.hasOwnProperty(o)},!1)}var vWe={"http:":{validate:function(e,t,o){var r=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(r)?r.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,o){var r=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(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,o){var r=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(r)?r.match(o.re.mailto)[0].length:0}}},yWe="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]",xWe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function TWe(e){e.__index__=-1,e.__text_cache__=""}function SWe(e){return function(t,o){var r=t.slice(o);return e.test(r)?r.match(e)[0].length:0}}function HRe(){return function(e,t){t.normalize(e)}}function vM(e){var t=e.re=FRe()(e.__opts__),o=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||o.push(yWe),o.push(t.src_xn),t.src_tlds=o.join("|");function r(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var n=[];e.__compiled__={};function s(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){var l=e.__schemas__[a];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[a]=c,gWe(l)){hWe(l.validate)?c.validate=SWe(l.validate):URe(l.validate)?c.validate=l.validate:s(a,l),URe(l.normalize)?c.normalize=l.normalize:l.normalize?s(a,l):c.normalize=HRe();return}if(fWe(l)){n.push(a);return}s(a,l)}}),n.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:HRe()};var i=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(bWe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),TWe(e)}function EWe(e,t){var o=e.__index__,r=e.__last_index__,n=e.__text_cache__.slice(o,r);this.schema=e.__schema__.toLowerCase(),this.index=o+t,this.lastIndex=r+t,this.raw=n,this.text=n,this.url=n}function BB(e,t){var o=new EWe(e,t);return e.__compiled__[o.schema].normalize(o,e),o}function Ci(e,t){if(!(this instanceof Ci))return new Ci(e,t);t||_We(e)&&(t=e,e={}),this.__opts__=zB({},zRe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=zB({},vWe,e),this.__compiled__={},this.__tlds__=xWe,this.__tlds_replaced__=!1,this.re={},vM(this)}Ci.prototype.add=function(t,o){return this.__schemas__[t]=o,vM(this),this};Ci.prototype.set=function(t){return this.__opts__=zB(this.__opts__,t),this};Ci.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var o,r,n,s,i,a,l,c,d;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(o=l.exec(t))!==null;)if(s=this.testSchemaAt(t,o[2],l.lastIndex),s){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(n=t.match(this.re.email_fuzzy))!==null&&(i=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};Ci.prototype.pretest=function(t){return this.re.pretest.test(t)};Ci.prototype.testSchemaAt=function(t,o,r){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(t,r,this):0};Ci.prototype.match=function(t){var o=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(BB(this,o)),o=this.__last_index__);for(var n=o?t.slice(o):t;this.test(n);)r.push(BB(this,o)),n=n.slice(this.__last_index__),o+=this.__last_index__;return r.length?r:null};Ci.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var o=this.re.schema_at_start.exec(t);if(!o)return null;var r=this.testSchemaAt(t,o[2],o[0].length);return r?(this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+r,BB(this,0)):null};Ci.prototype.tlds=function(t,o){return t=Array.isArray(t)?t:[t],o?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,n,s){return r!==s[n-1]}).reverse(),vM(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,vM(this),this)};Ci.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Ci.prototype.onCompile=function(){};BRe.exports=Ci});var ZRe=De((y1o,XRe)=>{"use strict";var jRe="-",wWe=/^xn--/,CWe=/[^\0-\x7F]/,AWe=/[\x2E\u3002\uFF0E\uFF61]/g,kWe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},GB=36-1,bc=Math.floor,VB=String.fromCharCode;function qp(e){throw new RangeError(kWe[e])}function IWe(e,t){let o=[],r=e.length;for(;r--;)o[r]=t(e[r]);return o}function YRe(e,t){let o=e.split("@"),r="";o.length>1&&(r=o[0]+"@",e=o[1]),e=e.replace(AWe,".");let n=e.split("."),s=IWe(n,t).join(".");return r+s}function QRe(e){let t=[],o=0,r=e.length;for(;o=55296&&n<=56319&&oString.fromCodePoint(...e),LWe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},VRe=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},WRe=function(e,t,o){let r=0;for(e=o?bc(e/700):e>>1,e+=bc(e/t);e>GB*26>>1;r+=36)e=bc(e/GB);return bc(r+(GB+1)*e/(e+38))},KRe=function(e){let t=[],o=e.length,r=0,n=128,s=72,i=e.lastIndexOf(jRe);i<0&&(i=0);for(let a=0;a=128&&qp("not-basic"),t.push(e.charCodeAt(a));for(let a=i>0?i+1:0;a=o&&qp("invalid-input");let m=LWe(e.charCodeAt(a++));m>=36&&qp("invalid-input"),m>bc((2147483647-r)/d)&&qp("overflow"),r+=m*d;let f=p<=s?1:p>=s+26?26:p-s;if(mbc(2147483647/g)&&qp("overflow"),d*=g}let c=t.length+1;s=WRe(r-l,c,l==0),bc(r/c)>2147483647-n&&qp("overflow"),n+=bc(r/c),r%=c,t.splice(r++,0,n)}return String.fromCodePoint(...t)},JRe=function(e){let t=[];e=QRe(e);let o=e.length,r=128,n=0,s=72;for(let l of e)l<128&&t.push(VB(l));let i=t.length,a=i;for(i&&t.push(jRe);a=r&&dbc((2147483647-n)/c)&&qp("overflow"),n+=(l-r)*c,r=l;for(let d of e)if(d2147483647&&qp("overflow"),d===r){let p=n;for(let m=36;;m+=36){let f=m<=s?1:m>=s+26?26:m-s;if(p{"use strict";e0e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}});var r0e=De((T1o,o0e)=>{"use strict";o0e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}}});var s0e=De((S1o,n0e)=>{"use strict";n0e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}});var c0e=De((E1o,l0e)=>{"use strict";var OS=lo(),$We=zPe(),NWe=GPe(),qWe=bLe(),OWe=eRe(),FWe=qRe(),UWe=GRe(),pg=xB(),i0e=ZRe(),HWe={default:t0e(),zero:r0e(),commonmark:s0e()},zWe=/^(vbscript|javascript|file|data):/,BWe=/^data:image\/(gif|png|jpeg|webp);/;function GWe(e){var t=e.trim().toLowerCase();return zWe.test(t)?!!BWe.test(t):!0}var a0e=["http:","https:","mailto:"];function VWe(e){var t=pg.parse(e,!0);if(t.hostname&&(!t.protocol||a0e.indexOf(t.protocol)>=0))try{t.hostname=i0e.toASCII(t.hostname)}catch{}return pg.encode(pg.format(t))}function jWe(e){var t=pg.parse(e,!0);if(t.hostname&&(!t.protocol||a0e.indexOf(t.protocol)>=0))try{t.hostname=i0e.toUnicode(t.hostname)}catch{}return pg.decode(pg.format(t),pg.decode.defaultChars+"%")}function pa(e,t){if(!(this instanceof pa))return new pa(e,t);t||OS.isString(e)||(t=e||{},e="default"),this.inline=new FWe,this.block=new OWe,this.core=new qWe,this.renderer=new NWe,this.linkify=new UWe,this.validateLink=GWe,this.normalizeLink=VWe,this.normalizeLinkText=jWe,this.utils=OS,this.helpers=OS.assign({},$We),this.options={},this.configure(e),t&&this.set(t)}pa.prototype.set=function(e){return OS.assign(this.options,e),this};pa.prototype.configure=function(e){var t=this,o;if(OS.isString(e)&&(o=e,e=HWe[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(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};pa.prototype.enable=function(e,t){var o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){o=o.concat(this[n].ruler.enable(e,!0))},this),o=o.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(n){return o.indexOf(n)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};pa.prototype.disable=function(e,t){var o=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(n){o=o.concat(this[n].ruler.disable(e,!0))},this),o=o.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(n){return o.indexOf(n)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};pa.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};pa.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var o=new this.core.State(e,this,t);return this.core.process(o),o.tokens};pa.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};pa.prototype.parseInline=function(e,t){var o=new this.core.State(e,this,t);return o.inlineMode=!0,this.core.process(o),o.tokens};pa.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};l0e.exports=pa});var jB=De((w1o,d0e)=>{"use strict";d0e.exports=c0e()});function F4(){window.addEventListener("click",({target:e})=>{let t=e instanceof Element&&e.closest("[data-dismiss]");if(!t)return;let o=t.closest("[data-dismissable]");o&&R$e(o)})}function R$e(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 hg(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||!o.open)return;let r=a=>{a.key==="Escape"&&i()},n=a=>{a.target instanceof Element&&(o?.contains(a.target)||i(),a.type==="click"&&a.target.closest("[data-popover-close]")&&i())},s=()=>{document.activeElement?.nodeName?.toLowerCase()==="iframe"&&i()},i=()=>{e.removeEventListener("focus",n,!0),e.removeEventListener("click",n),e.removeEventListener("touchstart",n),e.removeEventListener("keydown",r),window.removeEventListener("blur",s),o?.open&&o.removeAttribute("open")};e.addEventListener("focus",n,!0),e.addEventListener("click",n),e.addEventListener("touchstart",n),e.addEventListener("keydown",r),window.addEventListener("blur",s)},!0)}var lD=!1;function U4(){D$e();let e=Array.from(document.querySelectorAll("[data-snap-scroll]"));for(let t of e)M$e(t)}function M$e(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]")),r={root:t,rootMargin:"0px",threshold:.8},n=new IntersectionObserver(s=>{if(!lD&&s[0].isIntersecting===!0){let i=s[0].target.getAttribute("data-snap-scroll-slide");if(!i)throw new Error("The [data-snap-scroll-slide] clicked does not correspond to a [data-snap-scroll-nav-item]");let a=e.querySelector(`[data-snap-scroll-nav-item="${i}"]`);if(!a)throw new Error("Anchor missing from snap scroll container");H4(e,a)}},r);o.forEach(s=>n.observe(s))}function D$e(){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 r=t.dataset.snapScrollNavItem;if(!r)throw new Error('You need to add a value to the parent of your snap scroll: [data-snap-scroll="id-goes-here")');lD=!0,e.preventDefault();let n=o.querySelector(`[data-snap-scroll-slide="${r}"]`);H4(o,t),n.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),setTimeout(()=>lD=!1,500)})}function H4(e,t){let o=Array.from(e.querySelectorAll("[data-snap-scroll-nav-item]"));for(let r of o)r.classList.remove("is-current");t.classList.add("is-current")}var $$e=0;function Dv(){return`bx-${$$e++}`}function z4(e){return e.replace(/-./g,t=>t[1].toUpperCase())}var B4={contentHasChanged:"Content has changed, please reload the page to get the latest changes.",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."},jS=class extends HTMLElement{constructor(){super();yc(this,"submitting",!1);yc(this,"initialData",new FormData);yc(this,"toDispose",[]);yc(this,"isDirty",!1);yc(this,"commitTimeout",0);yc(this,"locStrings",B4);yc(this,"validators",[this.validateMinLength.bind(this),this.validateRequired.bind(this),this.validateMaxLength.bind(this)]);yc(this,"commit",o=>{!j4(o.target,this.form)||!o.target?.form||o.target?.form!==this.parentElement||(clearTimeout(this.commitTimeout),o.type==="change"&&N$e(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 r=document.createElement("div");r.setAttribute("data-form-error-container",""),o.hasAttribute("data-hide-validation-banner")&&(r.hidden=!0),this.insertAdjacentElement("afterend",r),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(r=>r.name.startsWith("loc-")).reduce((r,n)=>(r[z4(n.name.substring(4))]=n.value,r),{});return Object.assign({},B4,o)}subscribe(o,r,n){o.addEventListener(r,n),this.toDispose.push(()=>o.removeEventListener(r,n))}setDirty(){let o=new URLSearchParams(this.initialData).toString(),r=new URLSearchParams(new FormData(this.parentElement)).toString();this.isDirty=r!==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 O$e(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 r=o.currentTarget;if(!this.canSave){this.showNoChangesMessage(r);let s=new CustomEvent("form-validating",{detail:{form:r},bubbles:!0});this.dispatchEvent(s);return}let n=!1;try{if(this.submitting=!0,G4(o,r,this.submitting),!(await this.validateForm(r)).valid||this.noSubmit)return;let i=U$e(o)??r.action,a=new URL(i).searchParams,l=new FormData(r),c=new Headers;c.set("content-type","application/json");for(let{name:_,value:y}of this.attributes)_.startsWith("header-")&&c.set(_.substring(7),y);let p={method:a.get("_method")||r.method||"GET",body:JSON.stringify(Object.fromEntries(l)),headers:c},m=new CustomEvent("beforesubmit",{detail:{url:i,init:p,form:r,callback:async()=>{}},bubbles:!0,cancelable:!0}),f=!this.dispatchEvent(m);if(m.detail.callback)try{await m.detail.callback()}catch{return}if(f)return;let g=new Request(m.detail.url,m.detail.init),b=await fetch(g);if(b.ok)this.removeAttribute("new"),this.initialData=l,this.setDirty(),this.dispatchEvent(new CustomEvent("aftersubmit",{detail:{request:g,response:b},bubbles:!0})),n=this.navigate(b.headers.get("location")??this.getAttribute("navigation-href"));else{let{errorAlert:_,errorList:y}=this.getErrorAlert(r),x=document.createElement("li");x.innerText=this.locStrings.weEncounteredAnUnexpectedError,b.status===401&&(x.innerText=this.locStrings.notAuthenticated),b.status===403&&(x.innerText=this.locStrings.notAuthorized),b.status===412&&(x.innerText=this.locStrings.contentHasChanged),b.status===429&&(x.innerText=this.locStrings.tooManyRequests),this.dispatchEvent(new CustomEvent("submission-error",{detail:{form:r,request:g,response:b},bubbles:!0})),y.appendChild(x),_.hidden=!1,_.focus()}}finally{this.submitting=n,G4(o,r,this.submitting)}}createErrorAlert(o){let r=o.querySelector("[data-form-error-container]")||o,n=Dv(),s=document.createElement("div");s.className="help help-danger background-color-danger-light border border-color-danger border-radius padding-xs margin-bottom-sm",s.setAttribute("data-form-error-alert",""),s.setAttribute("role","alert"),s.setAttribute("aria-labelledby",n),s.setAttribute("tabindex","-1"),s.hidden=!0;let i=document.createElement("p");i.id=n,i.className="font-size-md font-weight-semibold margin-bottom-xs display-inline-flex",i.innerText=this.locStrings.pleaseFixTheFollowingIssues;let a=document.createElement("ul");return a.setAttribute("aria-label","Validation errors"),a.classList.add("margin-left-sm-tablet"),s.append(i,a),r.appendChild(s),{errorAlert:s,errorList:a}}getErrorAlert(o){let r=o.querySelector("[data-form-error-alert]");return r?{errorAlert:r,errorList:r.lastElementChild}:this.createErrorAlert(o)}validateRequired(o,r){return o.validity.valueMissing?`${this.locStrings.inputRequired.replace("{inputLabel}",customElements.get(o.localName)?`A selection for "${r}"`:r)}`:null}validateMinLength(o,r){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}",r).replace("{maxLength}",o.maxLength.toString())}`:null}async validateForm(o,r=!0,n=o){let s=[],{errorAlert:i,errorList:a}=this.getErrorAlert(o);(r||o.hasAttribute("data-hide-validation-banner"))&&(i.hidden=!0,a.innerHTML="");let l=F$e(o);for(let c of[...o.elements,...l]){if(!n.contains(c)||!cD(c,o)||c.hasAttribute("aria-hidden")===!0||c.getAttribute("role")==="combobox"||c.closest("docs-markdown-editor"))continue;if(c.hasAttribute("data-skip-validation")){let m=new CustomEvent("form-validating",{detail:{errors:s,form:o},bubbles:!0});this.dispatchEvent(m);continue}let d=!!l.find(m=>m===c);this.runBasicValidation(c,r,s,a,d);let p=new CustomEvent("form-validating",{detail:{errors:s,form:o},bubbles:!0});this.dispatchEvent(p)}return s.length===0?{valid:!0}:(r&&(i.hidden=!1,i.focus()),{valid:!1,errors:s})}clearValidationErrors(o){if(!cD(o,this.form))return;if(V4(o),Rd(o,""),zp(o).classList.remove("errored"),o.form){let{errorAlert:n,errorList:s}=this.getErrorAlert(o.form);s.querySelectorAll(`a[href="#${o.id}"]`).forEach(i=>i.parentElement?.remove()),s.querySelector("#no-edits-error")?.remove(),s.firstElementChild||(n.hidden=!0)}let r=new CustomEvent("clear-validation-errors",{detail:{target:o},bubbles:!0});this.dispatchEvent(r)}showNoChangesMessage(o){let{errorAlert:r,errorList:n}=this.getErrorAlert(o);if(n.childElementCount>0){for(;n.firstChild;)n.lastChild?.remove();n.querySelector("#no-edits-error")?.remove()}let s=document.createElement("li");s.id="no-edits-error",s.innerText=this.locStrings.thereAreNoEditsToSubmit,n.appendChild(s),r.hidden=!1,r.focus()}runBasicValidation(o,r=!0,n,s,i){if(!cD(o,this.form))return;let a=Y4(o),l=zp(o);r&&(Rd(o,""),l.classList.remove("errored"));for(let c of this.validators){let d=c(o,a);if(!d){i||V4(o);continue}if(n.push({input:o,message:d}),r){if(!o.id)continue;Rd(o,d),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=d,m.classList.add("help","help-danger"),m.addEventListener("click",f=>{if(i){let g=f.target.getAttribute("href");g&&document.querySelector(g).focus()}}),p.appendChild(m),s.appendChild(p),i||(o.type==="checkbox"?o.closest("label.checkbox")?.classList.add("is-invalid"):o.classList.add(`${o.localName}-danger`))}break}}};window.customElements.get("form-behavior")||(window.FormBehaviorElement=jS,window.customElements.define("form-behavior",jS));function j4(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 N$e(e){(e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement&&(e.type==="text"||e.type==="email"))&&(e.value=e.value.trim())}function G4(e,t,o){let r=e.submitter;Array.from(t.elements).forEach(n=>{n instanceof HTMLButtonElement&&n.type==="submit"&&(r&&r===n?n.classList.toggle("is-loading",o):n.disabled=o)})}function Y4(e){let t=e.labels&&e.labels.length?e.labels[0].textContent: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 zp(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 dD(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 q$e(e){let t=document.createElement("p");return t.id=Dv(),e.setAttribute("aria-describedby",`${t.id} ${e.getAttribute("aria-describedby")||""}`),t.classList.add("field-error"),t.setAttribute("data-field-error",""),dD(e).after(t),t}function Rd(e,t){let r=zp(e).querySelector("[data-field-error]")||q$e(e);r.textContent=t}function cD(e,t){return j4(e,t)&&e.type!=="hidden"}function O$e(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 r=history.state||{};window.history.pushState(r,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 F$e(e){let t=Object.fromEntries(new FormData(e)),o=[];return Object.keys(t).filter(n=>!e.elements.namedItem(n)).forEach(n=>{let s=e.querySelector(`[name="${n}"]`);s&&o.push(s)}),o}function V4(e){e.type==="checkbox"?e.closest("label.checkbox")?.classList.remove("is-invalid"):e.classList.remove(`${e.localName}-danger`)}function U$e(e){let t=e.submitter;return t instanceof HTMLButtonElement&&t.formAction!==window.location.href?t.formAction:null}(function(){var e="bdabb721-9b44-aabd-3839-ac91540d91f8";(function(){function t(a){var l=RegExp(a+"[^;]+").exec(document.cookie);return decodeURIComponent(l?l.toString().replace(/^[^=]+./,""):"")}var o=t("MC1"),r=t("MSFPC");function n(a){return a.split("=")[1].slice(0,32)}var s="";if(o!=""?s=n(o):r!=""&&(s=n(r)),s.length>0)var i=s;s.length>0&&e!=""?window.targetPageParams=function(){return{mbox3rdPartyId:i,at_property:e}}:e!=""&&(window.targetPageParams=function(){return{at_property:e}}),window.targetGlobalSettings={deviceIdLifetime:34186698e3}})(),window.targetGlobalSettings={bodyHidingEnabled:!1}})();var Bp=window;var U=Bp,Md=Bp.navigator,T=Bp.document,WZe=Bp.localStorage,ar=Bp.history,Q=Bp.location,h=U.msDocs,ce=new Promise(e=>{T.readyState==="loading"?T.addEventListener("DOMContentLoaded",()=>e()):e()});var $v="__event_type_id__",H$e=0,ft=class{constructor(){this.callbacks={}}publish(t){let o=t.constructor[$v];if(o===void 0||this.callbacks[o]===void 0)return;let r=this.callbacks[o].slice(0);for(let n of r)n(t)}subscribe(t,o){t.hasOwnProperty($v)||(t[$v]=H$e++);let r=t[$v];this.callbacks[r]===void 0&&(this.callbacks[r]=[]);let n=this.callbacks[r];return n.indexOf(o)===-1&&n.push(o),()=>this.unsubscribe(t,o)}unsubscribe(t,o){let r=t[$v];if(r===void 0||this.callbacks[r]===void 0)return;let n=this.callbacks[r],s=n.indexOf(o);s!==-1&&n.splice(s,1)}dispose(){this.callbacks={}}},Qe=new ft;function bg(e,t,o){let r=()=>{},n=s=>{o(s),r()};return r=e.subscribe(t,n),r}var YS=class{constructor(t){this.url=t}},lr=class{constructor(t,o,r){this.title=t;this.url=o;this.referrerUrl=r}};var il;function uD(){il={};let e=T.head.querySelectorAll("meta[name],meta[property]");for(let t=0;t{let r=o.name||o.getAttribute("property");return t[r]=o.content,t},{})}function k(e){return il===void 0&&uD(),il[e]===void 0?void 0:il[e][0]}function An(e){return il===void 0&&uD(),il[e]?il[e].slice():[]}function B$e(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"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.docs.microsoft.com":case"internal.docs.microsoft.com":return{supportLevel:"development",accessLevel:"online",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"learn"};case"isolated-dev.docs.microsoft.com":return{supportLevel:"development",accessLevel:"isolated",reviewFeatures:!0,systemContent:!0,azurePortalHostname:"portal.azure.com",legacyHosting:!1,siteName:"learn"};case"prdev.learn.microsoft.com":case"pr.learn.microsoft.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 E=h?.environment?h.environment:B$e(location.hostname);var ue={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{}}},pD={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 mD="docs.preview",fD=(new URLSearchParams(Q.search).get("preview")||"").split(",").map(e=>e.trim().toLowerCase()).reduce((e,t)=>(t!==""&&(e[t]=1),e),{}),Nv,G$e=()=>{let e;return ue.getItem(mD)?e=JSON.parse(ue.getItem(mD)):e={},e},V$e=(e,t)=>{Nv=G$e();let o=fD[e]===1,r=!isNaN(Nv[e]),n=o||r,s=fD[`x-${e}`];return o?console.log(`Preview ${e} via query string`):r&&console.log(`Preview ${e} via local storage`),t&&(n||s)&&(n&&(Nv[e]=Date.now()),s&&delete Nv[e],ue.setItem(mD,JSON.stringify(Nv))),n},pt=(e,t={require:!1,persist:!1})=>{let{require:o,persist:r}=t;return E.reviewFeatures&&Object.keys(fD).length===0&&!o?!0:(e=e.toLowerCase(),V$e(e,r))};function QS(e=Q.search,t=E.reviewFeatures){let o="preview-date",r=new URLSearchParams(e),n=new Date(r.get(o)).getTime();return t&&!isNaN(n)&&n!==0?n:Date.now()}var j$e=["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 Q4(){let e=k("original_content_git_url");return j$e.some(o=>e?.startsWith(o))}function W4(){let e=k("page_type"),t=k("page_kind"),o=k("is_admin")==="true",r=k("is_editor")==="true";return e==="learn"||e==="profile"||o||r||t==="learn"&&(e==="browse"||e==="home")}var $e=class{static get contentDir(){return h.data.contentDir}static get contentLocale(){return h.data.contentLocale}static get userDir(){return h.data.userDir}static get userLocale(){return h.data.userLocale}static get hasLocSideBySideTranslation(){return k("enable_loc_sxs")==="true"||k("bilingual_type")==="hover over"}static get translationType(){return k("ms.translationtype")?.toUpperCase()}static get machineTranslated(){return this.translationType?/^(?:MT|MTE|MTE75|MTE95)$/i.test(this.translationType):!1}},Io=class{static get brand(){return h.data.brand}static get kind(){return k("page_kind")}static get type(){return k("page_type")}static get template(){return h.data.pageTemplate}},qv=class{static get archivedBlogID(){return k("archived_blog_id")}static get archivedBlogPostID(){return k("archived_blog_post_id")}};var A=Y$e();function Y$e(){return{apiBrowser:E.accessLevel!=="isolated"||location.hostname==="isolated-dev.docs.microsoft.com",applicationInsights:W4()&&E.accessLevel!=="isolated",appliedSkills:E.accessLevel!=="isolated"&&(Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||pt("applied-skills",{require:!0})||pt("applied-skills-share",{require:!0})),appliedSkillsManager:E.accessLevel!=="isolated",appliedSkillsShare:E.accessLevel!=="isolated"&&(Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||pt("applied-skills-share",{require:!0})),assessmentBranches:E.accessLevel!=="isolated"&&E.supportLevel==="production"&&E.reviewFeatures,assessmentMergerLearnAssessment:E.accessLevel!=="isolated"&&pt("assessment-merger-learn-assessment",{require:!0}),assessmentMergerPracticeAssessment:E.accessLevel!=="isolated"&&pt("assessment-merger-practice-assessment",{require:!0}),assessmentMergerRenewalAssessment:E.accessLevel!=="isolated"&&pt("assessment-merger-renewal-assessment",{require:!0}),assessments:E.siteName==="learn"&&E.accessLevel!=="isolated",assessmentsEmail:E.accessLevel!=="isolated"&&pt("assessments-email",{require:!0}),azureNotebooks:E.accessLevel!=="isolated",banner:!0,binaryRating:E.accessLevel!=="isolated"&&h.data.hasBinaryRating,blogComments:E.accessLevel!=="isolated",chromeless:!!h.data.context.chromeless,challengesOnLearn:E.accessLevel!=="isolated"&&pt("challenges-on-learn",{require:!0}),chapterMarking:E.accessLevel==="isolated"||pt("chapter-marking",{require:!0}),certificationAndCourseUpdates:E.accessLevel!=="isolated"&&(Date.now()>=new Date("2023-10-25T09:00:00.000-07:00").getTime()||pt("certification-and-course-updates",{require:!0})),certificationUpdates:E.accessLevel!=="isolated"&&(Date.now()>=new Date("2023-10-06T17:00:00.000Z").getTime()||pt("certification-updates",{require:!0})),codeSamples:E.accessLevel!=="isolated",collectionDSA:E.accessLevel!=="isolated"&&pt("collection-dsa",{require:!0}),connectedExperiences:["Conceptual","FAQ","Question"].includes(h.data.pageTemplate),connectedExperiencesRightRailSticky:["Conceptual","FAQ","Question"].includes(h.data.pageTemplate),contentBrowse:E.accessLevel!=="isolated"||k("page_type")==="browse"&&(k("page_kind")==="learn"||k("page_kind")==="certification"||k("page_kind")==="course"||k("page_kind")==="architecture")||pt("isolated-contentbrowse",{require:!0}),cookieConsent:E.accessLevel!=="isolated",courseScheduling:E.accessLevel!=="isolated",disabledAppliedSkills:E.accessLevel!=="isolated",enableSiteSearchAnswer:E.accessLevel!=="isolated"&&E.supportLevel==="development"&&h.data.userLocale==="en-us",enableSiteSearchExperiment:E.accessLevel!=="isolated",externalLinkModal:E.accessLevel==="isolated"||pt("external-link-modal",{require:!0}),feedbackReport:E.accessLevel!=="isolated"&&h.data.showFeedbackReport,gamification:E.accessLevel!=="isolated",gitContributors:E.accessLevel!=="isolated",githubIssues:E.accessLevel!=="isolated"&&h.data.hasGithubIssues,inlineEdit:E.accessLevel!=="isolated"&&pt("inline-edit",{require:!0}),inlineFeedback:E.accessLevel!=="isolated",interactivity:E.accessLevel!=="isolated",labsOnDemand:E.accessLevel!=="isolated",learnAssessments:pt("learn-assessments",{require:!0}),skipAssessmentDualWrite:pt("skip-assessment-dual-write",{require:!0}),learnEventRebrand:E.accessLevel!=="isolated"&&pt("learn-rebrand",{require:!0}),learningPathIlt:E.accessLevel!=="isolated",learningPathIltSearch:E.accessLevel!=="isolated"&&pt("learning-path-ilt-search",{require:!0}),linkedSandbox:E.accessLevel!=="isolated"&&pt("linked-sandbox",{require:!0}),marketing:E.accessLevel!=="isolated",mecMigration:E.accessLevel!=="isolated",moduleUnitFeedbackReport:E.accessLevel!=="isolated",oneCustomerVoiceFeedback:E.accessLevel!=="isolated",oneDS:E.accessLevel!=="isolated"&&E.accessLevel!=="local",openSourceFeedback:E.accessLevel!=="isolated"&&["Conceptual","Reference","Architecture","Tutorial","FAQ"].includes(h.data.pageTemplate)&&h.data.feedbackSystem==="OpenSource"&&!!h.data.openSourceFeedbackIssueUrl,pageRecommendations:E.siteName==="learn"&&E.accessLevel!=="isolated"&&h.data.hasRecommendations&&(k("page_type")==="conceptual"||["FAQ","Architecture","Question","Sample"].includes(h.data.pageTemplate))&&!["reference","managed-reference","ui-reference","language-reference","error-reference","reference-internal","hub-page","landing-page","archived"].some(e=>e===k("ms.topic")?.toLowerCase())&&k("ROBOTS")!=="NOINDEX,NOFOLLOW"&&!Q4(),pdfDownload:E.accessLevel!=="isolated"&&E.siteName==="learn",permissionedContent:E.accessLevel!=="isolated"&&E.reviewFeatures&&pt("permissioned-content"),practiceAssessmentsAllowParam:E.accessLevel!=="isolated"&&E.reviewFeatures&&(k("page_kind")==="practiceAssessment"||k("page_kind")==="practiceAssessmentReport"),previewCredentialsL1:Date.now()>=new Date("2023-09-18T18:00:00.000-07:00").getTime()||pt("credentials-L1",{require:!0}),previewRailEventCard:pt("rail-event-card",{require:!0}),previewQnaAiDemo:pt("qna-ai-demo",{require:!0}),previewQnALink:pt("rail-qna-link",{require:!0}),previewQnALinkSpecific:pt("rail-qna-link-specific",{require:!0}),profileDSA:E.accessLevel!=="isolated"&&pt("profile-dsa",{require:!0}),qna:E.accessLevel!=="isolated",qnaCaptchaBypass:E.accessLevel!=="isolated"&&pt("qna-captcha-bypass",{require:!0}),qnaDSA:E.accessLevel!=="isolated"&&pt("qna-dsa",{require:!0}),qnaRecommendations:E.accessLevel!=="isolated"&&["Question"].includes(h.data.pageTemplate),referenceRightRailH3:k("in_right_rail")==="h2h3",referenceRightRailSticky:["Reference"].includes(h.data.pageTemplate),reportWebVitalsAlways:pt("report-web-vitals",{require:!0}),rss:E.accessLevel!=="isolated",sandbox:E.accessLevel!=="isolated",sandboxInteractionFallback:E.accessLevel!=="isolated",interactiveSandbox:E.accessLevel!=="isolated"&&pt("interactive-sandbox",{require:!0}),shareLink:E.accessLevel!=="isolated",siteSearchProducts:pt("site-search-products",{require:!0}),skillingPlans:E.accessLevel!=="isolated"&&pt("plans",{require:!0}),skipToCompletedModal:pt("completed-modal",{require:!0}),stayCurrentAllowParam:E.accessLevel!=="isolated"&&E.reviewFeatures&&(k("page_kind")==="certification"||k("page_kind")==="certificationrenewal"||k("page_kind")==="certificationRenewalAssessment"||k("page_kind")==="certificationRenewalAssessmentReport"),surveyPopover:E.accessLevel!=="isolated"&&E.siteName==="learn"||E.accessLevel==="local",systemDrivenAchievement:E.accessLevel!=="isolated",temporaryClientSideEventBanners:E.siteName==="learn"||E.siteName==="developer",thirdPartyDataSharingConsentFlag:E.accessLevel!=="isolated",tocSearch:h.data.brand!=="mooncake",translationFeedback:E.accessLevel!=="isolated"&&h.data.userLocale!=="en-us"&&k("ocv-translation-feedback")==="true"&&$e.machineTranslated,trydotnetPPE:E.accessLevel!=="isolated"&&pt("try-dotnet-ppe",{require:!0}),tenantManager:E.accessLevel!=="isolated"&&pt("tenant-manager",{require:!0}),userFeedback:E.accessLevel!=="isolated"&&pt("user-feedback",{require:!0}),userServices:E.accessLevel!=="isolated",usingStandardFeedback:h.data.standardFeedback||h.data.pageTemplate==="ModuleUnit"||h.data.pageTemplate==="Module"}}function K4(e,t){let o=document.querySelector("#side-doc-outline li > a[aria-current='true']"),r=Q$e(e),n=r===null?null:document.querySelector(`#side-doc-outline li > a[href="#${r}"]`);o!==n&&(o&&W$e(o),n&&(K$e(n),J$e(n,t)))}function Q$e(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 W$e(e){e.classList.remove("font-weight-bold","color-primary"),e.classList.add("color-text-subtle"),e.setAttribute("aria-current","false")}function K$e(e){e.classList.remove("color-text-subtle"),e.classList.add("font-weight-bold","color-primary"),e.setAttribute("aria-current","true")}function J$e(e,t){(e.offsetTopt.scrollTop+t.clientHeight)&&(t.scrollTop=e.offsetTop-t.clientHeight/2)}function J4(){let e=T.getElementById("affixed-left-container"),t=T.getElementById("affixed-right-container"),o=A.referenceRightRailSticky&&!!t,r=A.connectedExperiences&&A.connectedExperiencesRightRailSticky&&!!t;if(o?Z$e(t):r&&X$e(t),e===null)return;let n=T.getElementById("footer"),s=T.getElementById("ms--site-header"),i=24,a=1;e.style.top=`${i}px`;function l(){if(e==null||e.hasAttribute("disable-affix"))return;let p=U.innerHeight;if(p<450)e.classList.remove("position-sticky"),e.style.maxHeight="";else{e.style.height="0";let m=Math.max(0,p-n.getBoundingClientRect().top),f=n.getBoundingClientRect().height,g=Math.max(0,s.getBoundingClientRect().bottom),b=s.getBoundingClientRect().height,_=T.body.scrollHeight;e.classList.add("position-sticky"),e.style.maxHeight=`${_-(2*i+b+f+a)}px`,e.style.height=`calc(100vh - ${2*i+g+m+a}px)`}}let c=0;function d(){cancelAnimationFrame(c),c=requestAnimationFrame(l)}U.addEventListener("scroll",d,{passive:!0}),U.addEventListener("resize",d,{passive:!0}),U.addEventListener("content-update",d),l(),U.addEventListener("load",l,!1),U.addEventListener("pageshow",l,!1),U.addEventListener("DOMContentLoaded",l,!1)}function X$e(e){let o=T.getElementById("footer");e.classList.add("position-sticky"),e.style.top="36px";function r(){let i=36,a=e.offsetHeight;if(a>U.innerHeight){let d=a-U.innerHeight;i=-1*(36/2+Math.min(U.scrollY,d))}let l=U.innerHeight-o.getBoundingClientRect().top,c=Math.max(0,l)+36;e.style.top=`${i}px`,e.style.bottom=`${c}px`}let n=0;function s(){cancelAnimationFrame(n),n=requestAnimationFrame(r)}U.addEventListener("scroll",s,{passive:!0}),U.addEventListener("resize",s,{passive:!0}),U.addEventListener("content-update",s),r(),U.addEventListener("load",r,!1),U.addEventListener("DOMContentLoaded",r,!1)}function Z$e(e){let t=T.getElementById("footer"),o=T.querySelector(".header-holder"),r=A.referenceRightRailH3?"#main h2:not(#ms--in-this-article), #main h3":"#main h2:not(#ms--in-this-article)",n=Array.from(T.querySelectorAll(r));e.classList.add("position-sticky");let s=24;e.style.top=`${s}px`,e.style.overflow="auto";let i=t.getBoundingClientRect().height,a=o.getBoundingClientRect().height,l=T.body.scrollHeight;e.style.maxHeight=`${l-(2*s+a+i)}px`;function c(){let m=Math.max(0,U.innerHeight-t.getBoundingClientRect().top),f=Math.max(0,o.getBoundingClientRect().bottom);e.style.height=`calc(100vh - ${2*s+f+m}px)`,K4(n,e)}let d=0;function p(){cancelAnimationFrame(d),d=requestAnimationFrame(c)}U.addEventListener("scroll",p,{passive:!0}),U.addEventListener("resize",p,{passive:!0}),U.addEventListener("content-update",p),c(),U.addEventListener("load",c,!1),U.addEventListener("DOMContentLoaded",c,!1)}var X4="Voc\xEA se conectou com uma conta associada a uma organiza\xE7\xE3o ({email}). Ao tornar-se um membro, voc\xEA entende e reconhece que sua associa\xE7\xE3o ao Microsoft Learn significa que nossa rede de sites e aplicativos vai registrar e acompanhar suas conquistas e atividades, e que n\xF3s poderemos compartilhar os resultados e as atividades com sua organiza\xE7\xE3o. Al\xE9m disso, o nome de usu\xE1rio, o nome de exibi\xE7\xE3o, a foto do perfil, a afilia\xE7\xE3o, as conquistas e as atividades ficar\xE3o vis\xEDveis publicamente. Voc\xEA pode ocultar suas conquistas e atividades em configura\xE7\xF5es.

Depois de criar seu perfil, recomendamos que voc\xEA vincule uma conta pessoal para que possa acessar seu progresso de aprendizagem independentemente do seu status de emprego. Voc\xEA pode vincular contas adicionais na se\xE7\xE3o Gerenciamento de Contas das configura\xE7\xF5es de perfil.";var WS="Aceitar",Z4="Aceitar e continuar";var e6="Navegar em todo o conte\xFAdo de aprendizagem",t6="concluiu este {learning path or module} em",o6="obteve esta conquista em",r6="module",n6="roteiro de aprendizagem",gD="Opa, algo deu errado.",s6="Opa, esta conquista n\xE3o est\xE1 dispon\xEDvel para exibi\xE7\xE3o.",i6="Tente novamente.",a6="A pessoa que compartilhou esse link agora tem um perfil privado, portanto, esse link n\xE3o \xE9 mais v\xE1lido.",l6="N\xE3o \xE9 poss\xEDvel fornecer o link para esse registro de conquistas nesse momento.",c6="Exibir {learning path or module}",d6="Voc\xEA tamb\xE9m pode!";var Gp="Adicionar",hD="Adicionado";var Ov="Informa\xE7\xF5es adicionais";var u6="Erro ao obter o reposit\xF3rio de conte\xFAdo e o caminho do GitHub";var p6="Seu token do GitHub expirou. Voc\xEA precisa atualizar suas permiss\xF5es de token do GitHub clicando no bot\xE3o abaixo.";var m6='Quer uma experi\xEAncia de edi\xE7\xE3o de rich text mais simples? Saiba mais sobre o Editor do Microsoft Learn!';var f6="Sugerir edi\xE7\xF5es em {name}",g6='Obrigado por seu interesse em contribuir com o Microsoft Learn. Clique em Editar para abrir este artigo em {name}. Para obter mais informa\xE7\xF5es, confira contribuir.';var KS="Publica\xE7\xE3o";var h6="Reautorizar o Token do GitHub com as permiss\xF5es mais recentes";var b6="Come\xE7ar novamente";var _6="MVP",v6="Funcion\xE1rio da Microsoft",y6="Fornecedor da Microsoft",x6="Estagi\xE1rio da Microsoft",T6="Funcion\xE1rio de ag\xEAncia tempor\xE1ria da Microsoft",S6="Diretor regional da Microsoft",E6="Student Ambassador";var vg="Alfab\xE9tica (A-Z)",yg="Alfab\xE9tica (Z-A)",JS="um {AppliedSkills}",XS="{AppliedSkills} conclu\xEDdo";var w6="solicitado \xE0s {time}";var bD="Sim, ativar uma nova \xE1rea restrita",Fv="Ativar \xE1rea restrita";var C6="h\xE1 um dia";var A6="Adicionar par\xE2metro",k6="Avan\xE7ado";var Ai="Tudo",ZS="Todas as APIs",I6="Todos os filtros",P6="Todas as unidades conclu\xEDdas",eE="Todos os pacotes";var L6="h\xE1 um minuto",R6="h\xE1 um m\xEAs";var M6="h\xE1 uma hora",Vs="An\xF4nima";var D6="1 resposta",$6="{count} respostas";var _D="Uma das respostas foi aceita pelo autor da pergunta.";var N6="Chave de API",tE="Refer\xEAncia de API de {platformName}",vD="A pesquisa da API n\xE3o est\xE1 dispon\xEDvel. Tente novamente mais tarde.";var Uv="Cancelar avalia\xE7\xE3o",q6="Tem certeza de que deseja cancelar a avalia\xE7\xE3o?",O6="O cancelamento da avalia\xE7\xE3o contar\xE1 como uma tentativa, mas n\xE3o ser\xE1 pontuado. Voc\xEA poder\xE1 fazer essa avalia\xE7\xE3o novamente\xA0em 72 horas.",F6="{appliedSkillTitle} - Avalia\xE7\xE3o de {AppliedSkills}",U6="Atualize para continuar. O laborat\xF3rio ser\xE1 retomado de onde voc\xEA parou.",H6="Avalia\xE7\xE3o de {AppliedSkills}",oE="Enviar avalia\xE7\xE3o",z6="Tem certeza de que deseja enviar a avalia\xE7\xE3o?",B6="Depois do envio, essa avalia\xE7\xE3o ser\xE1 pontuada e n\xE3o ser\xE1 poss\xEDvel retom\xE1-la.",G6="Essa avalia\xE7\xE3o \xE9 muito popular e estamos com a capacidade esgotada, mas estamos trabalhando duro para acomodar mais alunos. Volte ap\xF3s 10 minutos e tente novamente.",Hv="Microsoft Credential",V6="O tempo acabou.",j6="Voc\xEA alcan\xE7ou o limite de tempo.",Y6="Sua avalia\xE7\xE3o agora ser\xE1 pontuada.",Q6="Ver meus resultados",W6="Estamos enfrentando um problema e fazendo uma investiga\xE7\xE3o sobre isso. Experimente uma avalia\xE7\xE3o diferente por enquanto.",K6="Algo deu errado. Ative novamente ap\xF3s 10 minutos.";var J6="Procurar credencial",X6="Tem certeza de que gostaria de iniciar a avalia\xE7\xE3o?";var Z6="Notamos que voc\xEA n\xE3o concluiu seu treinamento";var e3="Iniciar a avalia\xE7\xE3o?",t3="Iniciar o treinamento";var o3="Exibir minha credencial";var r3="J\xE1 conhece o conte\xFAdo?",n3="Saiba como receber uma credencial compartilh\xE1vel para demonstrar sua habilidade";var s3="Salve sua cole\xE7\xE3o para voltar a ela mais tarde. Pode expirar se a avalia\xE7\xE3o for atualizada.",zv="Acessar a p\xE1gina de detalhes",rE="\xC9 poss\xEDvel ver as tentativas anteriores na p\xE1gina de detalhes da credencial";var i3="Atualize a p\xE1gina",a3="Voc\xEA estar\xE1 qualificado para refazer a avalia\xE7\xE3o em:",l3="Salvar sua cole\xE7\xE3o",c3="Desempenho por tarefa",d3="Ainda pontuando",u3="Coleta personalizada para melhorar o desempenho",p3="Material da {AppliedSkills} - {date}",m3='Seus resultados ainda est\xE3o sendo processados. Se voc\xEA n\xE3o vir um resultado em {duration} segundos, fa\xE7a uma atualiza\xE7\xE3o.',f3="Com base em seus resultados, foram reunidos alguns materiais nas \xE1reas em que seu desempenho pode melhorar. O material de aprendizagem inclui:",g3="Credencial da {AppliedSkills} obtida",h3="Ocorreu um erro, tente novamente mais tarde",b3="Seus resultados de {AppliedSkills} do {credentialName}",yD="Seus resultados da\xA0avalia\xE7\xE3o",nE="Os resultados da sua avalia\xE7\xE3o para",_3='No momento, essa avalia\xE7\xE3o est\xE1 em manuten\xE7\xE3o. Explore outras Credenciais da Microsoft enquanto isso.';var v3="(Obsoleto)",y3="{version} e outras vers\xF5es",x3="{version1} e {version2}",T3="Aplicar",sE="Arquitetura",xg="Vers\xF5es anteriores",fa="Tem certeza?",S3="N\xE3o \xE9 poss\xEDvel desfazer a exclus\xE3o de dados.",E3="Tem certeza de que deseja sair?";var w3="Artigo";var C3="h\xE1 um segundo";var A3="Pergunte \xE0 comunidade";var iE="Avalia\xE7\xF5es";var k3="Trabalhe com um especialista certificado do Azure para iniciar essa avalia\xE7\xE3o gratuitamente hoje mesmo",I3="Encontrar um especialista";var P3="Entre para iniciar a avalia\xE7\xE3o.";var L3="Autoriza\xE7\xE3o obrigat\xF3ria";var R3="h\xE1 uma semana";var M3="Documenta\xE7\xE3o do Azure";var D3='Uma \xE1rea restrita fornece acesso aos recursos do Azure. N\xE3o haver\xE1 cobran\xE7as na sua assinatura do Azure. A \xE1rea restrita poder\xE1 ser usada somente para concluir o treinamento no Microsoft Learn. O uso por qualquer outro motivo \xE9 proibido e poder\xE1 levar \xE0 perda permanente do acesso \xE0 \xE1rea restrita.',$3="Contesta\xE7\xE3o",N3="Sua contesta\xE7\xE3o foi recebida. As contesta\xE7\xF5es s\xE3o analisadas por ordem de chegada e podem demorar v\xE1rios dias para serem processadas. Se sua contesta\xE7\xE3o for aprovada, voc\xEA recuperar\xE1 o acesso a \xE1reas restritas e a outros recursos de aprendizado interativo.",q3="Atribuindo fun\xE7\xF5es...",O3="Verificando status da autentica\xE7\xE3o...",aE="Verificando disponibilidade da \xE1rea restrita...",F3="Verificando status de conclus\xE3o do m\xF3dulo...",U3="Verificando \xE1rea restrita existente...",H3="C\xF3digo enviado. Talvez leve algum tempo para voc\xEA receber.",z3="Criando compartilhamento de arquivos...",B3="Criando grupo de recursos...",G3="Criando conta de armazenamento...",xD="Desativando \xE1rea restrita anterior...",V3="Finalizando...",j3='O que aconteceu?

Usamos v\xE1rios m\xE9todos para impedir o uso indevido de recursos do Learn a fim de mant\xEA-los gratuitos para todos. Sua conta, atividade ou conex\xE3o indicou um risco elevado para nosso sistema. Consulte nossas diretrizes para solu\xE7\xE3o de problemas para obter mais informa\xE7\xF5es.

A \xE1rea restrita poder\xE1 ser usada somente para concluir o treinamento no Learn. Qualquer outro uso \xE9 proibido por nossos Termos de Uso e pode resultar na perda permanente de seu acesso \xE0 \xE1rea restrita.',Y3="N\xE3o recebi nenhum c\xF3digo",Q3="Carregando m\xF3dulo atual...",W3="Voc\xEA n\xE3o recebeu nenhum c\xF3digo? Voc\xEA poder\xE1 solicitar um novo em {numberOfSeconds} segundos.",K3="Sua conta ou conex\xE3o foi sinalizada devido a uma atividade incomum. Por isso, suspendemos seu acesso \xE0 \xE1rea restrita do Learn. Se voc\xEA acredita que cometemos um erro, pode enviar uma contesta\xE7\xE3o para recuperar o acesso.",J3="Acesso \xE0 \xE1rea restrita suspenso",TD="Preparando convite...",X3="Voc\xEA usou todas as suas \xE1reas restritas de hoje. Mais \xE1reas restritas estar\xE3o dispon\xEDveis amanh\xE3.",Z3="Examinar permiss\xF5es",eG="Vamos enviar uma mensagem de texto para confirmar sua identidade.",tG="Verifica\xE7\xE3o de identidade por telefone",SD="Voc\xEA usou todas as {num-used} de {num-limit} \xE1reas restritas de hoje. Mais \xE1reas restritas estar\xE3o dispon\xEDveis amanh\xE3.",oG="N\xE3o foi poss\xEDvel verificar sua conta e suspendemos seu acesso \xE0 \xE1rea restrita do Learn.",rG="Falha na verifica\xE7\xE3o da conta",nG="C\xF3digo de verifica\xE7\xE3o",sG="Falha na verifica\xE7\xE3o",iG="Verificar o c\xF3digo",aG="Verificando permiss\xF5es...",ED="Voc\xEA usou todas as {num-limit} \xE1reas restritas de hoje. Mais \xE1reas restritas estar\xE3o dispon\xEDveis amanh\xE3.",lG="-- Selecionar valor --",Tg="Voltar";var cG="Iniciante";var Sg="Corpo";var dG="Remover indicador de {title}",uG="Adicionar indicador a {title}",pG='Ocorreu um erro no branch "{branchFallbackFrom}". Como alternativa, voc\xEA foi redirecionado para o branch "{branch}".',mG="Seletor de ramifica\xE7\xE3o";var lE="Procurar",fG="Procurar exames";var gG="Procurar {AppliedSkills}",ki="Procurar Certifica\xE7\xF5es",xc="Procurar credencial";var hG="Procurar cursos";var bG="Procurar outro treinamento",_G="Navegar pelo cat\xE1logo completo";var vG="Categoria",yG="Categorias",xG="Cuidado",nt="Cancelar",kn="Legendas desativadas";var ga="Certifica\xE7\xE3o",TG="J\xE1 tem esta certifica\xE7\xE3o? Conecte seu perfil de certifica\xE7\xE3o e descubra se voc\xEA est\xE1 qualificado para uma renova\xE7\xE3o.";var SG="Valide suas habilidades com as atualiza\xE7\xF5es de tecnologia mais recentes e estenda sua certifica\xE7\xE3o por um ano gratuitamente.";var EG="Adicionar conta pessoal",wG="Adicionar conta pessoal a este perfil",CG="Seu perfil do Learn est\xE1 usando uma conta corporativa ou de estudante. As certifica\xE7\xF5es pertencem a voc\xEA, portanto, est\xE3o associadas a uma conta Microsoft pessoal. Voc\xEA precisar\xE1 adicionar uma conta Microsoft pessoal a este perfil do Learn para conectar um perfil de certifica\xE7\xE3o. Os dados de certifica\xE7\xE3o permanecer\xE3o associados \xE0 conta pessoal.",AG="N\xE3o, agora n\xE3o";var kG="Conectar seu perfil de certifica\xE7\xE3o",IG="Sim, conectar este perfil de certifica\xE7\xE3o",PG='Este perfil de certifica\xE7\xE3o ser\xE1 associado permanentemente ao seu perfil do Learn. Se voc\xEA tiver v\xE1rios perfis de certifica\xE7\xE3o, mescle-os primeiro entrando em contato com o suporte de certifica\xE7\xE3o.',LG="A conex\xE3o permitir\xE1 que voc\xEA gerencie as certifica\xE7\xF5es, os exames e os compromissos diretamente do perfil do Learn.";var RG="Encontramos um erro com a sua solicita\xE7\xE3o. Tente novamente mais tarde. Se esse problema continuar, entre em contato com o suporte de certifica\xE7\xE3o.";var MG="Voc\xEA conectou seu perfil de certifica\xE7\xE3o ao seu perfil do Learn. Bom aprendizado.",DG="N\xE3o foi encontrado nenhum perfil de certifica\xE7\xE3o. Seu perfil de certifica\xE7\xE3o est\xE1 em outra conta pessoal?",$G="Nenhum perfil de certifica\xE7\xE3o foi encontrado para a conta Microsoft pessoal vinculada {msaEmail}. Se voc\xEA tiver um perfil de certifica\xE7\xE3o em uma outra conta, ser\xE1 necess\xE1rio seguir as instru\xE7\xF5es para alinhar as contas entre o perfil de certifica\xE7\xE3o e o perfil do Learn antes de se conectar.",NG="Este perfil de certifica\xE7\xE3o j\xE1 est\xE1 conectado",qG="O MCID associado \xE0 sua conta pessoal j\xE1 est\xE1 conectado com um outro perfil do Learn. Se voc\xEA acredita que isso est\xE1 incorreto e precisa de ajuda, entre em contato com o suporte de certifica\xE7\xE3o.",OG="N\xE3o \xE9 poss\xEDvel se conectar durante a mesclagem.",FG="No momento, este perfil do Learn est\xE1 sendo mesclado. Voc\xEA pode verificar o progresso do processo de mesclagem em suas configura\xE7\xF5es de gerenciamento de conta. Saia e entre novamente para conectar seu perfil de certifica\xE7\xE3o.",UG="Leia as instru\xE7\xF5es para alinhar as contas";var HG="Encontramos um perfil de certifica\xE7\xE3o para sua conta pessoal",zG=' Encontramos um perfil de certifica\xE7\xE3o para sua conta {email}. Deseja conect\xE1-lo agora?
A conex\xE3o permite que voc\xEA gerencie suas certifica\xE7\xF5es e compromissos diretamente no Microsoft Learn.
',BG="Saiba mais sobre a renova\xE7\xE3o",GG='Se voc\xEA precisa de acomoda\xE7\xF5es com acessibilidade, veja nossas informa\xE7\xF5es sobre acomoda\xE7\xF5es.',cE="J\xE1 tem esta certifica\xE7\xE3o?",VG="Certifica\xE7\xE3o necess\xE1ria",jG="Nome da cole\xE7\xE3o",YG="Conclua a avalia\xE7\xE3o de renova\xE7\xE3o para estender sua certifica\xE7\xE3o por um ano gratuitamente.",Eg="Conectar perfil de certifica\xE7\xE3o",Bv="Entrar em contato com o suporte de certifica\xE7\xE3o",QG="N\xE3o foi aprovado? Reveja os materiais de prepara\xE7\xE3o e tente novamente antes que a certifica\xE7\xE3o expire. Ap\xF3s a segunda tentativa, voc\xEA precisar\xE1 aguardar 24 horas entre as tentativas.";var WG="Qualificado para refazer a avalia\xE7\xE3o em:",KG="Pode levar alguns minutos at\xE9 que a data de validade seja atualizada";var JG="Expira em {days} dias";var Vp="Falha",XG="Gratuita",ZG="Ocultar tentativas anteriores";var eV="Esta renova\xE7\xE3o n\xE3o est\xE1 acess\xEDvel no momento",tV='Ao clicar nesse bot\xE3o, voc\xEA concorda com os termos do NDA (Contrato de n\xE3o divulga\xE7\xE3o).',oV="Online",wg="Opa, algo deu errado.",jp="Aprovado";var rV="Material de avalia\xE7\xE3o \u2013 {date}",Cg="Renove sua Certifica\xE7\xE3o Microsoft gratuitamente";var nV="Salvar sua cole\xE7\xE3o",wD="Veja se voc\xEA tem as qualifica\xE7\xF5es necess\xE1rias",CD="Mostrar tentativas anteriores";var sV="Entre para salvar esta cole\xE7\xE3o",iV="Material de renova\xE7\xE3o \u2013 {date}",aV="Fa\xE7a uma avalia\xE7\xE3o online para verificar se as habilidades est\xE3o atualizadas.",AD="Realizar avalia\xE7\xE3o de renova\xE7\xE3o",lV="\xC9 uma pena, mas sua oportunidade para renovar esta certifica\xE7\xE3o expirou",dE="V\xE1lido at\xE9: {date}",cV="Encontramos um erro ao obter os dados de certifica\xE7\xE3o. Tente novamente mais tarde. Se esse problema continuar, entre em contato com o suporte de certifica\xE7\xE3o.",dV="Voc\xEA precisar\xE1 conseguir esta certifica\xE7\xE3o para poder renov\xE1-la.",uV="Voc\xEA dever\xE1 conseguir esta certifica\xE7\xE3o novamente para poder renov\xE1-la.",uE="Voc\xEA pode renovar sua certifica\xE7\xE3o at\xE9 {date}",pV="Estenda sua certifica\xE7\xE3o por um ano passando na avalia\xE7\xE3o.",mV="Verificar sua resposta",fV="Avalia\xE7\xE3o de renova\xE7\xE3o para {certificationName}",gV="Parab\xE9ns, voc\xEA foi aprovado!",js="Certifica\xE7\xE3o da Microsoft",hV="Voc\xEA renovou o seu {certificationName} e ele foi estendido por um ano.",bV="Ver resultados",_V="Pergunta {current} de {total}",vV="{current} de {total}",yV="Selecione somente uma resposta.",xV="O tempo expirou.",TV="Voc\xEA alcan\xE7ou o limite de tempo. Sua avalia\xE7\xE3o agora ser\xE1 pontuada.",SV="Ver meus resultados",EV="Selecione todas as respostas aplic\xE1veis.",wV="Avan\xE7ar",CV="Compilando sua avalia\xE7\xE3o...",AV="Encontramos um erro inesperado. Tente novamente mais tarde. Se esse problema continuar, entre em contato com o suporte de certifica\xE7\xE3o.",kV="Ok, entendi",IV="Tente enviar sua avalia\xE7\xE3o de renova\xE7\xE3o novamente. Se esse problema continuar, entre em contato com o suporte de certifica\xE7\xE3o.",PV="Entrar em contato com o suporte de certifica\xE7\xE3o",LV="Sua avalia\xE7\xE3o j\xE1 foi pontuada",RV="Parece que voc\xEA j\xE1 enviou esta avalia\xE7\xE3o. Voc\xEA pode exibir os resultados da avalia\xE7\xE3o na p\xE1gina de detalhes de renova\xE7\xE3o de certifica\xE7\xE3o. Se voc\xEA acredita que isso est\xE1 incorreto e precisa de ajuda, entre em contato com o suporte de certifica\xE7\xE3o.",pE="Acessar detalhes da renova\xE7\xE3o",MV="Tempo restante",Yp="Essa resposta est\xE1 incorreta.",Qp="Esta resposta est\xE1 correta.",DV="Data da avalia\xE7\xE3o:",$V="Sua certifica\xE7\xE3o foi renovada por um ano. Observe que pode demorar alguns minutos para que a data de validade da sua certifica\xE7\xE3o seja atualizada.",NV="Infelizmente, este material de aprendizado personalizado est\xE1 desatualizado em rela\xE7\xE3o \xE0 avalia\xE7\xE3o atual. Visite a p\xE1gina de detalhes da avalia\xE7\xE3o para obter o material de prepara\xE7\xE3o mais recente.";var mE="Material de aprendizagem personalizado para melhorar suas habilidades";var fE='Porque voc\xEA pontuou menos em "{section}":',gE="Seus resultados da avalia\xE7\xE3o de renova\xE7\xE3o para {certificationName}";var qV="Os resultados da sua avalia\xE7\xE3o de renova\xE7\xE3o para";var OV="Saiba mais sobre como renovar esta certifica\xE7\xE3o",FV="{percent}% necess\xE1rio para ser aprovado",hE="Desempenho por se\xE7\xE3o de avalia\xE7\xE3o",UV="Pronto para refazer a avalia\xE7\xE3o?";var HV="Voc\xEA est\xE1 qualificado para refazer a avalia\xE7\xE3o. Voc\xEA pode realizar quantas tentativas forem necess\xE1rias antes de {date}. Ap\xF3s a segunda tentativa, voc\xEA precisar\xE1 aguardar 24 horas entre as tentativas.",kD="Ver certifica\xE7\xF5es",zV="Voc\xEA pode pesquisar as tentativas de avalia\xE7\xE3o anteriores em seu perfil ou visitar a vis\xE3o geral da certifica\xE7\xE3o",BV="Seus resultados gerais:",GV="Renovar esta certifica\xE7\xE3o";var VV="Teste pr\xE1tico measureUp",jV="Vis\xE3o geral da certifica\xE7\xE3o";var ha="Certifica\xE7\xF5es";var YV="Tipo de Certifica\xE7\xE3o",QV="Tipos de Certifica\xE7\xE3o",Dd="Desafio",WV="Desafio ativo de {start} a {end}",KV="Ativo de {start} a {end}",JV="Adicionar seu email",ID="Concordo com as regras oficiais",bE="O desafio come\xE7a em:",Gv="Come\xE7ar agora",XV="Desenvolver mais habilidades no Microsoft Learn";var ZV="Cole\xE7\xE3o de desafios",e9="Conte\xFAdo de aprendizagem predeterminado",t9="Volte em {start}",o9='Concluir o registro agora O desafio come\xE7a em {start}.',r9="Continuar aprendendo",n9="Parab\xE9ns! Voc\xEA concluiu o desafio.",s9="Voc\xEA ter\xE1 {days} dias para concluir o desafio",i9="Criar um novo desafio",a9="Detalhes do desafio",PD="O desafio terminou em:",l9="O desafio termina em {end}",c9="O desafio termina em:",d9='Li e concordo com as regras oficiais.',u9="Concordo com os termos para inscri\xE7\xE3o no {title}",p9="Lamentamos, mas n\xE3o foi poss\xEDvel fazer sua inscri\xE7\xE3o.",m9="Maravilha! Inscri\xE7\xE3o realizada no {title}.",f9="

Comece a aprender ou confira o placar de l\xEDderes para ver como voc\xEA est\xE1 se saindo.

",g9="

Tudo pronto, voc\xEA j\xE1 pode come\xE7ar a aprender e desenvolver habilidades.

",h9="

Enviaremos um email para voc\xEA em {start} para lembrar de que o desafio come\xE7ou. Enquanto isso, explore o que o Learn tem a oferecer.

",b9="

Notamos que voc\xEA n\xE3o tem um email salvo em seu perfil. Se voc\xEA quiser que enviemos um email quando o desafio come\xE7ar, acesse seu perfil e adicione um email para receber uma notifica\xE7\xE3o.

",_9='Deseja receber um resumo regular de conte\xFAdo t\xE9cnico, eventos e treinamento relevantes? Inscreva-se para receber o boletim informativo Microsoft.Source.',v9="Pontos de experi\xEAncia que voc\xEA ganhou",y9="Este desafio terminou em {end}",x9="Explorar o Microsoft Learn",T9="Placar de l\xEDderes final",$d="Encontre algo novo para aprender";var S9="Entrar novamente no desafio",E9="Conferir a cole\xE7\xE3o conclu\xEDda",w9="Ver seu progresso",LD="Selecione uma equipe da lista",RD="Participar do desafio";var C9='N\xE3o est\xE1 recebendo notifica\xE7\xF5es?Atualize as suas prefer\xEAncias de email no seu perfil',A9="M\xF3dulos conclu\xEDdos",k9="M\xF3dulos que voc\xEA concluiu",I9="Procuramos em todos os lugares. Mas n\xE3o se preocupe, ser\xE1 poss\xEDvel examinar um hist\xF3rico de atividades do desafio em seu perfil do usu\xE1rio.",P9="Opa, n\xE3o foi poss\xEDvel encontrar esse desafio =]",L9="{count} participantes",R9="% da equipe com a cole\xE7\xE3o conclu\xEDda",MD="Registrar agora",M9="\xD3timo! Em seguida, selecione uma equipe.",D9="\xD3timo! Em seguida, selecione uma equipe e concorde com as regras oficiais.",Ag="{score}%",$9="Veja o desafio",DD="Confira a cole\xE7\xE3o de desafios",N9="Confira o placar de l\xEDderes",q9="Selecione um",O9="Componentes individuais",$D="Iniciar a aprendizagem",ND="{teamName}, classifica\xE7\xE3o {teamRank}, {totalXP} XP",F9="Competi\xE7\xE3o de equipes",U9="Teams",H9="Selecione uma equipe",z9="{count} equipes",B9="M\xE9dia de XP da equipe",G9="Tempo para concluir o desafio:",V9="O placar de l\xEDderes",j9="Total de XPs obtidos",qD="Tente novamente mais tarde",Y9="Tente se inscrever novamente",Q9="N\xE3o se esque\xE7a de concluir a cole\xE7\xE3o de desafios antes que o tempo acabe!",W9="N\xE3o se esque\xE7a de concluir o m\xE1ximo de aprendizado antes que o tempo acabe!";var K9="Atualizado em algumas horas",J9="Pontua\xE7\xF5es atualizadas em algumas horas",X9="Exibir seu hist\xF3rico de desafios",Z9="Exibir todos os colegas de equipe",e5="Em que posi\xE7\xE3o voc\xEA est\xE1",t5="Conte\xFAdo escolhido pelo participante",o5='Voc\xEA est\xE1 na equipe {team}',r5='Voc\xEA est\xE1 registrado Volte em {start}',OD="Sua classifica\xE7\xE3o",n5='Classifica\xE7\xE3o da sua equipe "{team}"',FD="Desafios";var s5="Gerenciar {title} em desafios",i5="Adicionar {title} a um desafio";var a5="Somente o propriet\xE1rio da avalia\xE7\xE3o pode visualizar anota\xE7\xF5es e atualizar itens da lista de verifica\xE7\xE3o";var UD="Verifique seu trabalho novamente";var _E="Limpar",vE="Limpar tudo",l5="Limpar Filtro",c5="Limpar formul\xE1rio",d5="Desmarcar o autor da pergunta";var u5="Limpar Termo",p5="Clicar no RSS feed",ie="Fechar";var m5="Fechar a pesquisa",f5='N\xE3o \xE9 poss\xEDvel iniciar o Cloud Shell. Veja o guia de solu\xE7\xE3o de problemas.';var g5="Exemplo de c\xF3digo",HD="Exemplos de C\xF3digo",h5="Este m\xF3dulo inclui uma experi\xEAncia interativa por meio do GitHub Codespaces. Para ativar o Codespaces, voc\xEA precisar\xE1 de uma conta do GitHub e poder\xE1 aproveitar os cr\xE9ditos gratuitos fornecidos pelo GitHub.",b5="Ativar o Codespaces",_5="Entrar para ativar o Codespaces",v5="Recolher",y5="Recolher tabela",al="Cole\xE7\xE3o",x5="Cole\xE7\xE3o oficial";var T5="Uma c\xF3pia desta cole\xE7\xE3o foi salva em seu perfil",Vv="Descri\xE7\xE3o (opcional)",S5="Excluir se\xE7\xE3o",E5="A exclus\xE3o do cabe\xE7alho da se\xE7\xE3o n\xE3o excluir\xE1 o conte\xFAdo da se\xE7\xE3o",w5="Editar se\xE7\xE3o",C5="O tamanho m\xE1ximo \xE9 de 550 caracteres.",A5="O t\xEDtulo da se\xE7\xE3o n\xE3o pode ser igual a outro t\xEDtulo da cole\xE7\xE3o.",k5="Nova se\xE7\xE3o",I5="Salvar se\xE7\xE3o",zD="Se\xE7\xE3o {number}",P5="T\xEDtulo da se\xE7\xE3o (opcional)",L5="O tamanho m\xE1ximo \xE9 de 100 caracteres.",R5="O t\xEDtulo da se\xE7\xE3o ou a descri\xE7\xE3o n\xE3o foi aprovada pelo servi\xE7o de valida\xE7\xE3o da Microsoft.",M5="N\xE3o foi poss\xEDvel salvar sua se\xE7\xE3o. Tente novamente.",D5="Adicionar URL",$5="Nome da p\xE1gina",N5="Insira seu t\xEDtulo.",q5="O t\xEDtulo precisa ter entre 2 e 100 caracteres.",O5="N\xE3o foi poss\xEDvel salvar sua URL. Tente novamente.",F5="As URLs n\xE3o podem ser adicionadas a esta cole\xE7\xE3o.",U5="A URL precisa come\xE7ar com http:// ou https://. Os links AKA s\xE3o permitidos.",H5="O formato da URL n\xE3o \xE9 v\xE1lido.",z5="Adicionar itens",B5="Adicionar \xE0 cole\xE7\xE3o",BD="Itens adicionados \xE0 cole\xE7\xE3o",GD="Adicionar a Cole\xE7\xF5es",yE="Adicionar a uma cole\xE7\xE3o",G5='Adicionar "{pageName}" a:',V5="Collection not found",j5="Oops! It seems like this collection doesn't exist or can't be found for one of the following reasons:",VD="The owner may have changed the URL of the Collection, which can lead to it not being found if users are accessing it with the old URL.",Y5="The owner of the Collection might have deleted it entirely, rendering it inaccessible.";var Q5=`If the Collection or its content violated Microsoft Learn's Terms of Use.`,W5="Here are some helpful links instead:",K5="Microsoft Learn Homepage: Build skills that open doors in your career",J5="Search | Microsoft Learn",X5="Microsoft Learn resources | Microsoft Learn",Z5="Create a Microsoft Learn Collection",e8='Cole\xE7\xF5es atualizadas',jD='Os funcion\xE1rios da Microsoft est\xE3o qualificados para rotular uma cole\xE7\xE3o com a op\xE7\xE3o "Criado pela Microsoft".',xE="Mais informa\xE7\xF5es",Wp="Converter em uma cole\xE7\xE3o oficial",TE="Uma cole\xE7\xE3o oficial representa a Microsoft. Portanto, verifique se a sua cole\xE7\xE3o foi conclu\xEDda e n\xE3o tem erros ortogr\xE1ficos, bem como se o conte\xFAdo est\xE1 na sequ\xEAncia adequada. Caso contr\xE1rio, edite a cole\xE7\xE3o conforme necess\xE1rio. Depois que uma cole\xE7\xE3o \xE9 oficializada, ela n\xE3o pode ser revertida.",t8="Cole\xE7\xE3o indispon\xEDvel",o8="Tudo pronto para converter essa cole\xE7\xE3o em uma cole\xE7\xE3o oficial?";var SE='J\xE1 existe uma cole\xE7\xE3o com o t\xEDtulo "{title}". Os t\xEDtulos de cole\xE7\xF5es devem ser exclusivos.',Nd="O t\xEDtulo \xE9 obrigat\xF3rio e deve ter at\xE9 100 caracteres.",EE="A descri\xE7\xE3o \xE9 opcional e deve ter at\xE9 550 caracteres.";var r8="Se definida como particular, essa cole\xE7\xE3o s\xF3 poder\xE1 ser exibida por voc\xEA. Uma cole\xE7\xE3o que n\xE3o \xE9 particular pode ser exibida por qualquer pessoa.",wE="Definir como particular",n8="{index} da Cole\xE7\xE3o de {userDisplayName}",YD="Criado por {name}",s8="Copiar cole\xE7\xE3o",i8="Excluir cole\xE7\xE3o",a8="Exibir meu nome";var CE="Editar a minha cole\xE7\xE3o",QD="Adicionar descri\xE7\xE3o",jv="Editar descri\xE7\xE3o",Yv="Editar t\xEDtulo",l8="Descri\xE7\xE3o desta cole\xE7\xE3o",c8="T\xEDtulo desta cole\xE7\xE3o",d8="N\xE3o foi poss\xEDvel salvar o t\xEDtulo. Tente novamente.",u8="N\xE3o foi poss\xEDvel salvar a descri\xE7\xE3o. Tente novamente.",AE="Favoritos",p8="Se este link foi compartilhado com voc\xEA, solicite um novo link.",kE="As edi\xE7\xF5es n\xE3o afetar\xE3o a cole\xE7\xE3o original";var WD="Itens desta cole\xE7\xE3o",m8="N\xE3o existem itens nesta cole\xE7\xE3o.",f8="{numberOf} roteiros de aprendizagem",g8="{numberOf} roteiro de aprendizagem",h8="A cole\xE7\xE3o foi conclu\xEDda e revisada",b8="Isso levar\xE1 at\xE9 14 dias, mas pode ser conclu\xEDdo antes. Depois que ela for localizada, todas as edi\xE7\xF5es futuras feitas ser\xE3o enviadas automaticamente para o pipeline de localiza\xE7\xE3o.",_8="Seu t\xEDtulo, descri\xE7\xE3o, se\xE7\xF5es e descri\xE7\xF5es de se\xE7\xE3o ser\xE3o traduzidos para cada um dos idiomas compat\xEDveis com o Microsoft Learn",IE="Localize",v8="Verifique se:",y8="Esta cole\xE7\xE3o ainda n\xE3o foi localizada em seu idioma.",x8="O idioma de origem \xE9 ingl\xEAs",PE="Esta cole\xE7\xE3o foi enviada para ser localizada",T8="Agradecemos pelo envio da sua cole\xE7\xE3o oficial para localiza\xE7\xE3o.",S8="N\xFAmero de m\xF3dulos: {numberOf}",E8="M\xF3dulo {numberOf}";var w8="Mover o item para baixo",C8="Mover o item para cima";var A8="Mover se\xE7\xE3o para baixo",k8="Mover se\xE7\xE3o para cima",I8="Cole\xE7\xE3o oficial da Microsoft",P8="em nome de",L8='Removido de{collectionName}',R8='Removido de Cole\xE7\xF5es';var M8="A op\xE7\xE3o de adicionar a uma cole\xE7\xE3o est\xE1 desabilitada para conte\xFAdo que exige autoriza\xE7\xE3o.",D8='Adicionado \xE0 {collectionName}',$8='Adicionado a Cole\xE7\xF5es',N8="Salvar todos os itens nesta cole\xE7\xE3o como um novo";var q8="Entre para adicionar isso \xE0 sua cole\xE7\xE3o.",LE="Desculpe, esta cole\xE7\xE3o \xE9 particular.",RE="O criador desta cole\xE7\xE3o a marcou como particular e ela n\xE3o est\xE1 vis\xEDvel atualmente para outros usu\xE1rios.",O8="Essa cole\xE7\xE3o n\xE3o existe ou foi removida.",F8='Voc\xEA tamb\xE9m pode retornar \xE0s cole\xE7\xF5es.',ME="Voc\xEA pode examinar suas cole\xE7\xF5es em seu perfil de usu\xE1rio.",DE="Exibir suas cole\xE7\xF5es",U8="Gerenciar {title} nas cole\xE7\xF5es",H8="Adicionar {title} a uma cole\xE7\xE3o",z8="Voc\xEA pode encontrar essa cole\xE7\xE3o no seu perfil do Learn",B8="Viola\xE7\xE3o detectada",G8='O t\xEDtulo ou a descri\xE7\xE3o desta cole\xE7\xE3o ou um t\xEDtulo de se\xE7\xE3o ou descri\xE7\xE3o desta cole\xE7\xE3o foi exclu\xEDdo devido a uma viola\xE7\xE3o de nossos Termos de Uso. Eles foram relatados ou identificados manualmente por meio da detec\xE7\xE3o automatizada antes da a\xE7\xE3o ser tomada. Confira nossos Termos de uso para obter mais informa\xE7\xF5es.',V8="Voc\xEA continuar\xE1 a ver esse alerta at\xE9 que uma atualiza\xE7\xE3o seja feita.",j8="Reported Collection",Y8='A concern has been reported on this collection and it is currently under Microsoft review. Please refer to our Terms of Use for more information.';var Q8="Coment\xE1rios";var W8="M\xF3dulo completo";var Nr="Conclu\xEDdo",$E="{completedCount} de {totalCount} m\xF3dulos conclu\xEDdos",NE="{completedCount} de {totalCount} unidades conclu\xEDdas",KD="Conclu\xEDdo em";var K8="Conquista",J8="Recursos adicionais de treinamento",X8="Navegue pelos treinamentos adicionais",Z8="Parab\xE9ns, mas o que voc\xEA deve fazer em seguida?",ej="Em segundo lugar, conquistar uma credencial",tj="Testar seu conhecimento e receber uma credencial compartilh\xE1vel!",oj="Voc\xEA ganhou uma conquista!",rj="Voc\xEA ganhou {count} conquistas!",nj="Continue com o \xF3timo trabalho!",sj="Pr\xF3ximo m\xF3dulo neste roteiro de aprendizagem",ij="N\xE3o perca o ritmo, continue aprendendo",aj="Abaixo, voc\xEA encontrar\xE1 o conte\xFAdo recomendado para ajud\xE1-lo em seu caminho!",lj="Primeiro, vamos compartilhar sua conquista",cj="Se voc\xEA dedicou tempo para aprender algo novo, deixe rede de contato compartilhar sua vit\xF3ria!",dj="Para salvar sua conquista e progresso, entre ou crie um perfil.",uj="Entrar/Criar perfil";var pj="Configurando o Cloud Shell para acesso \xE0 \xE1rea restrita...",mj="Parab\xE9ns!",fj="Parab\xE9ns";var gj="Entre em contato com o atendimento ao cliente",qE="Email de contato";var JD="\xC1rea de conte\xFAdo",hj="Seletor de idioma do conte\xFAdo. Atualmente definido como {language}.";var bj='Conte\xFAdo assistido por IA. O conte\xFAdo foi criado por um autor humano com a ajuda da IA. Um autor humano revisou o conte\xFAdo conforme necess\xE1rio. Saiba mais',_j='Conte\xFAdo gerado por IA. O conte\xFAdo foi criado pela IA. Um autor humano pode ter revisado o conte\xFAdo conforme necess\xE1rio. Saiba mais',vj="Conte\xFAdo somente humano. O conte\xFAdo foi inteiramente escrito por um autor humano, sem nenhuma assist\xEAncia nem entrada de nenhum sistema de IA.",yj='Conte\xFAdo gerado por IA. Este epis\xF3dio cont\xE9m conte\xFAdo criado por IA. Um autor humano pode ter revisado o conte\xFAdo conforme necess\xE1rio. Saiba mais',xj='Conte\xFAdo assistido por IA. Este epis\xF3dio foi criado por um autor humano com a ajuda da IA. Um autor humano revisou o conte\xFAdo conforme necess\xE1rio. Saiba mais',Tj='Conte\xFAdo gerado por IA. Esta sess\xE3o cont\xE9m conte\xFAdo criado por IA. Um autor humano pode ter revisado o conte\xFAdo conforme necess\xE1rio. Saiba mais',Sj='Conte\xFAdo assistido por IA. Esta sess\xE3o foi criada por um autor humano com a ajuda da IA. Um autor humano revisou o conte\xFAdo conforme necess\xE1rio. Saiba mais',Ej='Conte\xFAdo gerado por IA. Este m\xF3dulo cont\xE9m conte\xFAdo criado por IA. Um autor humano pode ter revisado o conte\xFAdo conforme necess\xE1rio. Saiba mais',wj='Conte\xFAdo assistido por IA. Este m\xF3dulo foi criado por um autor humano com a ajuda da IA. Um autor humano revisou o conte\xFAdo conforme necess\xE1rio. Saiba mais',Cj='Conte\xFAdo gerado por IA. Esta p\xE1gina cont\xE9m conte\xFAdo criado por IA. Um autor humano pode ter revisado o conte\xFAdo conforme necess\xE1rio. Saiba mais',Aj='Conte\xFAdo assistido por IA. Esta p\xE1gina foi criada por um autor humano com a ajuda da IA. Um autor humano revisou o conte\xFAdo conforme necess\xE1rio. Saiba mais',cr="Continuar",kj="Continuar o curso";var Ij="Continuar o roteiro de aprendizagem";var Pj="Colaboradores deste artigo",Lj="Copiado",ll="Copiar";var Rj="Resposta correta",ba="Curso";var Mj="O treinamento orientado por instrutor (ILT) \xE9 um m\xE9todo altamente eficaz no ensino t\xE9cnico devido \xE0 sua abordagem exclusiva. Com o ILT, voc\xEA tem acesso direto a instrutores experientes que podem fornecer explica\xE7\xF5es em tempo real, coment\xE1rios personalizados e experi\xEAncias de aprendizagem adapt\xE1veis. As atividades interativas ajudam a melhorar a compreens\xE3o, enquanto a intera\xE7\xE3o entre pares promove o aprendizado colaborativo e networking.";var Dj="Por que o treinamento com instrutor?";var $j="Tarde",Nj="Noite",qj="Localiza\xE7\xE3o por cidade",Oj="In\xEDcio da manh\xE3",Fj="Manh\xE3";var Uj="Os cursos s\xE3o oferecidos em {timezone}",Hj="O Microsoft Learn n\xE3o tem permiss\xE3o para usar sua localiza\xE7\xE3o. Habilite sua localiza\xE7\xE3o e tente novamente.",zj="Por {partnerName}",Bj="In\xEDcio em",Gj="Virtual ou presencial";var Vj="Selecionar Dura\xE7\xE3o",jj="Selecione Horas",Yj="Selecionar Idioma",Qj="Mostrando {number} resultados",XD="Os cursos est\xE3o agendados para {duration}, salvo indica\xE7\xE3o em contr\xE1rio. Os hor\xE1rios das sess\xF5es s\xE3o baseados na localiza\xE7\xE3o do curso. Para obter informa\xE7\xF5es sobre a inscri\xE7\xE3o, acesse o parceiro com o qual voc\xEA se registrou.",Wj='Das \xE0s ';var Kj='Encontre parceiros espec\xEDficos e mais op\xE7\xF5es de curso. Veja o diret\xF3rio.',Jj="Est\xE1 tendo problemas? Encontre respostas no suporte de treinamento.",Xj="Revise os crit\xE9rios de pesquisa para mostrar mais resultados.",Zj="N\xE3o foi poss\xEDvel carregar os cronogramas do curso. Tente novamente mais tarde.";var e7="Unidades de dist\xE2ncia",t7="Usar minha localiza\xE7\xE3o",o7="Afeganist\xE3o",r7="Ilhas Aland",n7="Alb\xE2nia",s7="Arg\xE9lia",i7="Samoa Americana",a7="Andorra",l7="Angola",c7="Anguilla",d7="Ant\xE1rtica",u7="Ant\xEDgua e Barbuda",p7="Argentina",m7="Arm\xEAnia",f7="Aruba",OE="Austr\xE1lia",FE="\xC1ustria",g7="Azerbaij\xE3o",h7="Bahamas",b7="Bahrein",_7="Bangladesh",v7="Barbados",y7="Belarus",Qv="B\xE9lgica",x7="Belize",T7="Benin",S7="Bermuda",E7="But\xE3o",w7="Bol\xEDvia",C7="Bonaire, Santo Eust\xE1quio e Saba",A7="B\xF3snia e Herzegovina",k7="Botsuana",I7="Ilha Bouvet",UE="Brasil",P7="Territ\xF3rio Brit\xE2nico do Oceano \xCDndico",L7="Brunei",R7="Bulg\xE1ria",M7="Burkina Faso",D7="Burundi",$7="Camboja",N7="Camar\xF5es",Wv="Canad\xE1",q7="Cabo Verde",O7="Ilhas Cayman",F7="Rep\xFAblica Centro-Africana",U7="Chade",H7="Chile",z7="China",B7="Ilha Christmas",G7="Ilhas Cocos (Keeling)",V7="Col\xF4mbia",j7="Comores",Y7="Congo",Q7="Congo (RDC)",W7="Ilhas Cook",K7="Costa Rica",J7="C\xF4te d\u2019Ivoire",X7="Cro\xE1cia",Z7="Cura\xE7ao",eY="Chipre",tY="Rep\xFAblica Tcheca",oY="Dinamarca",rY="Djibuti",nY="Dominica",sY="Rep\xFAblica Dominicana",iY="Equador",aY="Egito",lY="El Salvador",cY="Guin\xE9 Equatorial",dY="Eritreia",uY="Est\xF4nia",pY="Eti\xF3pia",mY="Ilhas Malvinas",fY="Ilhas Faro\xE9s",gY="Fiji",hY="Finl\xE2ndia",bY="Fran\xE7a",_Y="Guiana Francesa",vY="Polin\xE9sia Francesa",yY="Gab\xE3o",xY="G\xE2mbia",TY="Ge\xF3rgia",SY="Alemanha",EY="Gana",wY="Gibraltar",CY="Gr\xE9cia",AY="Groel\xE2ndia",kY="Granada",IY="Guadalupe",PY="Gu\xE3o",LY="Guatemala",RY="Guernsey",MY="Guin\xE9",DY="Guin\xE9 Bissau",$Y="Guiana",NY="Haiti",qY="Ilha Heard/Ilhas McDonald",OY="Honduras",FY="RAE de Hong Kong",UY="Hungria",HY="Isl\xE2ndia",HE="\xCDndia",zY="Indon\xE9sia",BY="Iraque",zE="Irlanda",GY="Ilha de Man",VY="Israel",jY="It\xE1lia",YY="Jamaica",QY="Jap\xE3o",WY="Jersey",KY="Jord\xE2nia",JY="Cazaquist\xE3o",XY="Qu\xEAnia",ZY="Kiribati",eQ="Kuwait",tQ="Quirguist\xE3o",oQ="Laos",rQ="Let\xF4nia",nQ="L\xEDbano",sQ="Lesoto",iQ="Lib\xE9ria",aQ="L\xEDbia",lQ="Liechtenstein",cQ="Litu\xE2nia",dQ="Luxemburgo",uQ="RAE de Macau",pQ="Maced\xF4nia do Norte",mQ="Madagascar",fQ="Malaui",Kv="Mal\xE1sia",gQ="Maldivas",hQ="Mali",bQ="Malta",_Q="Ilhas Marshall",vQ="Martinica",yQ="Maurit\xE2nia",xQ="Maur\xEDcio",TQ="Mayotte",BE="M\xE9xico",SQ="Micron\xE9sia",EQ="Moldova",wQ="M\xF4naco",CQ="Mong\xF3lia",AQ="Montenegro",kQ="Montserrat",IQ="Marrocos",PQ="Mo\xE7ambique",LQ="Myanmar",RQ="Nam\xEDbia",MQ="Nauru",DQ="Nepal",$Q="Pa\xEDses Baixos",NQ="Nova Caled\xF4nia",GE="Nova Zel\xE2ndia",qQ="Nicar\xE1gua",OQ="N\xEDger",FQ="Nig\xE9ria",UQ="Niue",HQ="Ilha Norfolk",zQ="Ilhas Marianas do Norte",BQ="Noruega",GQ="Om\xE3",VQ="Paquist\xE3o",jQ="Palau",YQ="Palestina, Estado da",QQ="Panam\xE1",WQ="Papua Nova Guin\xE9",KQ="Paraguai",JQ="Peru",XQ="Filipinas",ZQ="Pitcairn",eW="Pol\xF4nia",VE="Portugal",tW="Porto Rico",oW="Catar",rW="Reuni\xE3o",nW="Rom\xEAnia",sW="R\xFAssia",iW="Ruanda",aW="S\xE3o Bartolomeu",lW="S\xE3o Crist\xF3v\xE3o e Nevis",cW="Santa L\xFAcia",dW="S\xE3o Martinho",uW="Samoa",pW="San Marino",mW="S\xE3o Tom\xE9 e Pr\xEDncipe",fW="S\xE3o Vicente e Granadinas",gW="Ar\xE1bia Saudita",hW="Senegal",bW="S\xE9rvia",_W="Seicheles",vW="Serra Leoa",jE="Singapura",yW="S\xE3o Martinho",xW="Eslov\xE1quia",TW="Eslov\xEAnia",SW="Ilhas Salom\xE3o",EW="Som\xE1lia",YE="\xC1frica do Sul",wW="Ilhas Ge\xF3rgia do Sul e Sandwich do Sul",CW="Sud\xE3o do Sul",AW="Coreano",kW="Espanha",IW="Sri Lanka",PW="Santa Helena",LW="S\xE3o Pedro e Miquelon",RW="Suriname",MW="Svalbard e Jan Mayen",DW="Suazil\xE2ndia",$W="Su\xE9cia",kg="Su\xED\xE7a",NW="Taiwan",qW="Tadjiquist\xE3o",OW="Tanz\xE2nia",FW="Tail\xE2ndia",UW="Timor-Leste",HW="Togo",zW="Toquelau",BW="Tonga",GW="Trinidad e Tobago",VW="Tun\xEDsia",jW="Turquia",YW="Turcomenist\xE3o",QW="Ilhas Turcas e Caicos",WW="Tuvalu",KW="Uganda",JW="Ucr\xE2nia",XW="Emirados \xC1rabes Unidos",QE="Reino Unido",WE="Estados Unidos",ZW="Uruguai",eK="Territ\xF3rios Insulares dos EUA",tK="Uzbequist\xE3o",oK="Vanuatu",rK="Vaticano (Cidade do Vaticano)",nK="Venezuela",sK="Vietn\xE3",iK="Ilhas Virgens Brit\xE2nicas",aK="Ilhas Virgens Americanas",lK="Ilhas Wallis e Futuna",cK="Western Sahara",dK="I\xEAmen",uK="Z\xE2mbia",pK="Zimb\xE1bue",mK="Territ\xF3rios Austrais Franceses",fK="C\xF3digo do pa\xEDs",qd="Pa\xEDs/Regi\xE3o";var ZD="Criar";var e$="Criado por";var gK="Ao tornar-se um membro, voc\xEA entende e reconhece que sua associa\xE7\xE3o ao Microsoft Learn significa que nossa rede de sites e aplicativos vai registrar e acompanhar suas conquistas e atividades. Al\xE9m disso, o nome de usu\xE1rio, o nome de exibi\xE7\xE3o, a foto do perfil, a afilia\xE7\xE3o, as conquistas e as atividades ficar\xE3o vis\xEDveis publicamente. Voc\xEA pode ocultar suas conquistas e atividades em configura\xE7\xF5es.";var hK="Crie um perfil do Microsoft Learn para acompanhar seu progresso, obter conquistas, registrar-se para certifica\xE7\xE3o, aprimorar as recomenda\xE7\xF5es de conte\xFAdo, unir desafios, criar cole\xE7\xF5es e mostrar seu desenvolvimento profissional com sua rede.";var Kr="Credencial",bK="Tipo de Credencial",_K="Tipos de credenciais";var vK="Personalizado",yK="Data personalizada";var xK="Escuro",Jv="Data";var KE="Dia",Ig="Dias",TK="H\xE1 {duration} dias",JE="{days} dias",SK="1 dia",XE="Recusar";var cl="Excluir";var EK="Excluir par\xE2metro";var Pg="Description";var t$="Uma \xE1rea restrita diferente j\xE1 est\xE1 ativa",wK="Voc\xEA j\xE1 ativou uma \xE1rea restrita no m\xF3dulo . Se voc\xEA ativar esta \xE1rea restrita, perder\xE1 o trabalho do outro m\xF3dulo.",CK="Voc\xEA j\xE1 ativou uma \xE1rea restrita com a conta {sandboxAccountEmailAddress}, mas est\xE1 conectado como {currentAccountEmailAddress}. Voc\xEA pode:
  1. Entrar usando {sandboxAccountEmailAddress} para acessar sua \xE1rea restrita atual.
  2. Solicitar uma \xE1rea restrita usando a conta atualmente conectada {currentAccountEmailAddress}. Isso excluir\xE1 a \xE1rea restrita associada a {sandboxAccountEmailAddress}.
";var AK="N\xE3o estamos mais atualizando este conte\xFAdo regularmente. Confira o Ciclo de Vida do Produto da Microsoft para obter informa\xE7\xF5es sobre o suporte deste produto, servi\xE7o, tecnologia ou API.",kK="Este artigo foi traduzido do ingl\xEAs para o seu mercado. Qual \xE9 o seu n\xEDvel de satisfa\xE7\xE3o com a qualidade da linguagem usada?",IK="Este artigo foi traduzido por m\xE1quina. N\xE3o estamos mais atualizando este conte\xFAdo regularmente. Confira o Ciclo de Vida do Produto da Microsoft para obter informa\xE7\xF5es sobre o suporte deste produto, servi\xE7o, tecnologia ou API.",PK="Esse conte\xFAdo foi desativado e pode n\xE3o ser atualizado no futuro. O produto, o servi\xE7o ou a tecnologia mencionada nesse conte\xFAdo n\xE3o tem mais suporte.",LK="Este artigo foi traduzido por m\xE1quina. Esse conte\xFAdo foi desativado e pode n\xE3o ser atualizado no futuro. O produto, o servi\xE7o ou a tecnologia mencionada nesse conte\xFAdo n\xE3o tem mais suporte.",dl="Ignorar alerta",RK="Cont\xE9m op\xF5es de aprendizado indispon\xEDveis em dispositivos m\xF3veis",MK='Algumas partes deste t\xF3pico podem ter sido traduzidas automaticamente. \xC9 poss\xEDvel sugerir uma tradu\xE7\xE3o melhor ao clicar no bot\xE3o Editar. Consulte o guia de contribui\xE7\xE3o para instru\xE7\xF5es.',DK="Algumas partes deste t\xF3pico podem ter sido traduzidas automaticamente.";var $K="Esta p\xE1gina tem permiss\xE3o.",NK="Esta p\xE1gina foi redirecionada de forma permanente para {url}",qK="Vers\xE3o recomendada",o$="Retornar ao site principal",OK="Este conte\xFAdo n\xE3o est\xE1 dispon\xEDvel em seu idioma. Aqui est\xE1 a vers\xE3o em ingl\xEAs.",r$="Ignorar";var FK="Em breve, este roteiro de aprendizagem estar\xE1 dispon\xEDvel no seguinte idioma: {language}.",UK="Este roteiro de aprendizagem n\xE3o est\xE1 dispon\xEDvel no seguinte idioma: {language}.",HK="Bom trabalho! Parece que est\xE1 tudo pronto para: {exam}!",zK="Bom trabalho! Parece que est\xE1 tudo pronto para o exame!";var BK="Em breve, este m\xF3dulo estar\xE1 dispon\xEDvel no seguinte idioma: {language}.",GK="Este m\xF3dulo n\xE3o est\xE1 dispon\xEDvel no seguinte idioma: {language}.",VK="Os resultados da pesquisa s\xE3o da documenta\xE7\xE3o de vers\xF5es anteriores e n\xE3o s\xE3o atualizados regularmente.";var Tc="Documenta\xE7\xE3o",jK="Detalhes do documento",YK="N\xE3o edite esta se\xE7\xE3o. \xC9 necess\xE1rio para a vincula\xE7\xE3o de problema do learn.microsoft.com \u279F GitHub.",n$="Conclu\xEDdo",QK="Documenta\xE7\xE3o do .NET",s$="Editor do .NET",WK="CTRL+ESPA\xC7O para abrir as sugest\xF5es",KK="F1 para abrir a paleta de comandos",JK="SHIFT+F10 para abrir o menu de contexto do editor",XK="Aceleradores comuns",ZK='Pressione CTRL+M, TAB para sair do editor',eJ='Pressione CTRL+SHIFT+M, TAB para sair do editor';var ZE="Baixar PDF",tJ="Baixar o PDF est\xE1 desabilitado para conte\xFAdo que exige autoriza\xE7\xE3o.",oJ="A gera\xE7\xE3o do PDF pode levar alguns minutos. Voc\xEA pode continuar usando o site enquanto preparamos o PDF.";var ds="Editar";var rJ="Editado em";var Sc="Email",Xv="Email de contato para notifica\xE7\xF5es",nJ="O email \xE9 obrigat\xF3rio.",sJ="O email \xE9 obrigat\xF3rio para ativar uma \xE1rea restrita ou um laborat\xF3rio",iJ='Para ativar uma \xE1rea restrita ou um laborat\xF3rio, a sua conta Microsoft precisa estar vinculada a um email v\xE1lido. Acesse Configura\xE7\xF5es de Conta Microsoft para vincular seu email e tente novamente.';var aJ="O nome vazio n\xE3o \xE9 permitido";var lJ="Data de T\xE9rmino";var cJ="Data de t\xE9rmino date",dJ="Termina em {endDate}";var Lg="Erro",uJ="Os valores precisam ser {date} ou anteriores.",pJ="A data de in\xEDcio precisa ser anterior \xE0 data de t\xE9rmino.";var mJ="Evento",fJ="Ao vivo agora";var gJ="Grupo de eventos",hJ="Grupos de eventos",bJ="Eventos";var _J="Tipo de evento",Jr="Exame",vJ="Fazer uma avalia\xE7\xE3o simulada gratuita",yJ="Teste suas habilidades com perguntas simuladas para ajudar voc\xEA a se preparar para o exame.",xJ="Saiba mais sobre avalia\xE7\xF5es pr\xE1ticas",ew="Resultado de simulados anteriores",TJ="Para se preparar para o exame, obtenha uma pontua\xE7\xE3o de {passingPercent}% ou superior. Voc\xEA pode realizar v\xE1rias tentativas.",SJ="Resumo da resposta",EJ="Voltar ao Relat\xF3rio",wJ="Veja um resumo das suas respostas abaixo.",CJ="Parab\xE9ns, voc\xEA foi aprovado em todas as se\xE7\xF5es! Se voc\xEA precisou de v\xE1rias tentativas, considere agendar um exame.",AJ="Este material de aprendizagem personalizado est\xE1 desatualizado com a avalia\xE7\xE3o pr\xE1tica atual. Acesse a p\xE1gina de detalhes do exame para obter o material de prepara\xE7\xE3o mais recente.",kJ="Resposta correta",IJ="Seus resultados da avalia\xE7\xE3o pr\xE1tica",PJ="Voc\xEA levou {duration} minutos para concluir essa avalia\xE7\xE3o.";var LJ="Resultados da avalia\xE7\xE3o pr\xE1tica: {date}",RJ="Resultados gerais",MJ="Para se preparar para o exame, obtenha uma pontua\xE7\xE3o de {percent}% ou superior. Voc\xEA pode realizar v\xE1rias tentativas.",DJ="Pontua\xE7\xE3o: {percent}%";var $J="Para fortalecer ainda mais suas habilidades nas \xE1reas a seguir, veja a se\xE7\xE3o Material de Aprendizagem Personalizado abaixo.",NJ="Pergunta {x} de {y}",qJ="Tudo pronto para fazer o exame?",OJ="Voc\xEA pode ver tentativas de avalia\xE7\xE3o anteriores na p\xE1gina de detalhes do exame.",FJ="Material de pr\xE1tica \u2013 {date}",UJ="Mostrar minhas respostas",HJ="Fa\xE7a outra avalia\xE7\xE3o pr\xE1tica.",zJ="Sua resposta";var BJ="Exame";var GJ="Expanda",VJ="Expandir a tabela";var jJ="Expirado {date}",YJ="Explorar outros roteiros populares";var Rg="Facebook";var QJ="Perguntas frequentes";var WJ="Razo\xE1vel";var Zv="Coment\xE1rios";var KJ='Os coment\xE1rios ser\xE3o enviados \xE0 Microsoft: quando voc\xEA pressionar o bot\xE3o Enviar, seus coment\xE1rios ser\xE3o usados para aprimorar os produtos e os servi\xE7os da Microsoft. Pol\xEDtica de Privacidade.',tw="[Insira coment\xE1rios aqui]";var JJ="Relatar coment\xE1rios",XJ="Anexar captura de tela (opcional)",ZJ="Escolher arquivos...",eX=".jpeg, .jpg, .png ou .gif";var tX="Problemas com o Cloud Shell";var oX="Problemas com o editor do .NET";var rX="Problemas na instala\xE7\xE3o de depend\xEAncias";var nX="Qualidade do conte\xFAdo do tutorial";var sX="Descreva seus coment\xE1rios. Se aplic\xE1vel, inclua as etapas para replicar seu problema",iX="Insira o t\xEDtulo de seus coment\xE1rios",aX="Informa\xE7\xF5es incorretas/ortografia/conte\xFAdo equivocado",lX="Solicita\xE7\xE3o de recurso",cX="Produto ou funcionalidade",dX="Coment\xE1rios gerais",uX="Qualidade do conte\xFAdo de aprendizado",pX="Tenho d\xFAvidas sobre o conte\xFAdo de aprendizado",mX="N\xE3o estou recebendo cr\xE9ditos/XP pela conclus\xE3o",fX="Outro",gX="Problemas no registro/inscri\xE7\xE3o",hX="Problemas com o Sandbox",bX="Problemas com a qualidade da tradu\xE7\xE3o",_X="Selecione um problema que se aplica a voc\xEA",vX="Selecione o tipo de coment\xE1rio";var yX="O conte\xFAdo \xE9 f\xE1cil de ser entendido",xX="O conte\xFAdo \xE9 dif\xEDcil de ser entendido",TX="N\xE3o consegui encontrar o que preciso",SX="Realizei minha tarefa ou resolvi meu problema",EX="Aprendi algo novo",wX="As informa\xE7\xF5es eram f\xE1ceis de serem encontradas",CX="Desatualizado/obsoleto",AX="O procedimento ou o c\xF3digo n\xE3o funciona",i$="Qualidade da tradu\xE7\xE3o";var kX="Filtrar";var IX="Filtrar por t\xEDtulo",a$="Filtro limpo",PX="O conte\xFAdo ser\xE1 filtrado, conforme voc\xEA digitar";var LX="Localizar uma {facet}";var RX="Localizar o autor de uma pergunta",MX="Concluir {module}";var DX="Pelo menos um item precisa ser selecionado.",ow="O conte\xFAdo foi alterado. Recarregue a p\xE1gina para obter as altera\xE7\xF5es mais recentes.";var l$="O e-mail \xE9 inv\xE1lido",$X="Selecione pelo menos um motivo para seus coment\xE1rios.",NX="Esta p\xE1gina foi \xFAtil? Selecione Sim ou N\xE3o.",rw="{inputLabel} n\xE3o pode ter mais de {maxLength} caracteres.",nw="{inputLabel} deve ter pelo menos {minLength} caracteres.",sw="{inputLabel} \xE9 necess\xE1rio.",iw="Voc\xEA n\xE3o est\xE1 autenticado. Atualize a p\xE1gina e tente novamente. Se esse problema persistir, fa\xE7a logoff e fa\xE7a logon novamente.",aw="Voc\xEA n\xE3o est\xE1 autorizado a fazer esta solicita\xE7\xE3o. Se voc\xEA acredita que isso esteja em erro, atualize a p\xE1gina e tente novamente.";var Kp="Conserte os seguintes problemas para continuar:",lw="Fa\xE7a uma sele\xE7\xE3o.",cw="N\xE3o h\xE1 edi\xE7\xF5es para enviar.",dw="Voc\xEA enviou um n\xFAmero excessivo de solicita\xE7\xF5es. Aguarde alguns minutos e tente novamente.",uw="Encontramos um erro inesperado. Tente novamente mais tarde. Se esse problema continuar, entre em contato com o suporte do site.",qX="Para alunos ou instrutores";var OX="Gerando PDF...";var FX="Obter ajuda no Microsoft Q&A",UX="Obter suporte ao produto",HX="Come\xE7ar agora";var zX="Perfil do GitHub",Jp="Global",c$="Navega\xE7\xE3o global";var BX="Voltar",GX="Voltar para concluir";var VX="Satisfat\xF3rio";var d$="Acessar detalhes do exame";var jX="\xD3timo",YX="\xD3timo trabalho!",QX="Oferta por tempo limitado para pessoas afetadas pela COVID-19 em busca de trabalho e estudantes",WX="Mantenha-se atualizado sobre nossa iniciativa Global Skills Initiative",KX="N\xE3o concordo",JX="Eu concordo",XX='Saiba mais sobre nosso compromisso de dar suporte \xE0s pessoas afetadas pela COVID-19.',ZX='Caso voc\xEA esteja desempregado ou de licen\xE7a devido \xE0 COVID-19, ative as assinaturas de email para obter atualiza\xE7\xF5es sobre a nossa Global Skills Initiative para ajudar voc\xEA a voltar a trabalhar.',u$="Mantenha-se atualizado sobre nossa iniciativa Global Skills Initiative",eZ='Sim, eu aceito receber informa\xE7\xF5es, dicas e ofertas sobre o Microsoft Learn e outros produtos e servi\xE7os da Microsoft. Pol\xEDtica de Privacidade.',tZ="Para receber atualiza\xE7\xF5es sobre a iniciativa Global Skills Initiative, voc\xEA precisar\xE1 assinar emails por meio do Docs. N\xE3o se preocupe, voc\xEA sempre poder\xE1 editar as configura\xE7\xF5es de notifica\xE7\xF5es em seu perfil.",oZ="Percebemos que os e-mails do Microsoft Learn est\xE3o desativados",rZ="Agendar um exame de certifica\xE7\xE3o por US$ 15",nZ='O exame de certifica\xE7\xE3o por US$ 15 \xE9 uma oferta especial por tempo limitado. A Microsoft est\xE1 fornecendo esse exame de certifica\xE7\xE3o com desconto para selecionar pessoas qualificadas que tiveram o sustento interrompido devido \xE0 crise da COVID-19, incluindo alunos com matr\xEDculas ativas em escolas, faculdades, universidades ou outros programas de treinamento t\xE9cnico profissional. Os exames de certifica\xE7\xE3o que fazem parte dessa oferta s\xE3o fornecidos apenas pela administra\xE7\xE3o online. A Microsoft ret\xE9m o direito de rescindir ou revogar essa oferta a qualquer momento e sem aviso pr\xE9vio. Por fim, declaro que atendo aos requisitos de qualifica\xE7\xE3o para essa oferta da seguinte maneira:
  • Eu fui economicamente prejudicado, dispensado ou demitido do meu trabalho devido \xE0 crise da COVID-19 ou sou estudante com matr\xEDcula ativa em uma escola, faculdade, universidade ou outro programa de treinamento t\xE9cnico profissional.
  • Tenho acesso \xE0s tecnologias necess\xE1rias para aproveitar essa oferta conforme detalhado aqui.
',sZ="Agendar por US$ 15",iZ="Caso voc\xEA esteja desempregado ou de licen\xE7a devido \xE0 COVID-19, fa\xE7a sua assinatura para receber atualiza\xE7\xF5es por email sobre a nossa iniciativa Global Skills Initiative para ajudar voc\xEA a voltar a trabalhar. Voc\xEA pode recusar a qualquer momento nas configura\xE7\xF5es de perfil.",p$="Sim, eu gostaria de receber atualiza\xE7\xF5es";var pw="Cabe\xE7alhos",aZ="Ajude-me a escolher",lZ="Ajude-nos a personalizar o caminho",cZ="Ocultar conclu\xEDdos",dZ="Ocultar detalhes";var uZ="Dica: {hint}",pZ="Alto contraste",mZ="P\xE1gina Inicial",fZ="C\xF3digo rol\xE1vel horizontalmente",m$="Dados rol\xE1veis horizontalmente",mw="Hora",ul="Horas",gZ="H\xE1 {duration} horas",hZ="Como estamos nos saindo?";var bZ="Qual \xE9 o seu n\xEDvel de satisfa\xE7\xE3o com a qualidade da linguagem usada?";var _Z="h";var vZ="{hrs} horas",yZ="{numberOfHours} h {numberOfMinutes} min";var xZ="Importante";var TZ="Resposta incorreta";var SZ="Pessoalmente",Mg="Em Andamento";var EZ="Intermedi\xE1rio";var Dg="Neste artigo";var Xp="Endere\xE7o de email inv\xE1lido. Tente novamente.";var wZ="{linkName} \xE9 um site externo ({domainName}) que n\xE3o est\xE1 dispon\xEDvel nesta rede.";var CZ='Este exerc\xEDcio requer um recurso que n\xE3o est\xE1 presente nesta rede. N\xE3o \xE9 poss\xEDvel concluir o exerc\xEDcio exatamente como est\xE1 escrito, mas ele provavelmente pode ser realizado alterando algumas das etapas. Verifique este documento para obter detalhes sobre os tipos de altera\xE7\xF5es que voc\xEA precisar\xE1 fazer para realizar o exerc\xEDcio. Como alternativa, voc\xEA pode ler as instru\xE7\xF5es para entender as etapas.';var ey='"{itemTitle}" ser\xE1 exclu\xEDdo permanentemente.';var AZ="Os profissionais certificados da Microsoft est\xE3o em alta. Existem trabalhos dispon\xEDveis para {typeRole} agora mesmo.";var kZ="s\xF3 agora";var IZ="quil\xF4metros";var fw="Problema conhecido",PZ="Confirmado";var LZ="Investigando",RZ="Mitigado",MZ="Relatado",DZ="Resolvido";var $g="Sum\xE1rio";var gw="Idioma",$Z="Idiomas";var NZ="\xDAltima atualiza\xE7\xE3o em {time}";var hw="Roteiro de aprendizagem",pl="Roteiro de aprendizagem";var qZ="Este roteiro de aprendizagem ajuda voc\xEA a se preparar para o {exam}.",_a="Saiba mais";var OZ="Hoje",FZ="Amanh\xE3";var UZ="Tipo de conte\xFAdo",HZ="Tipos de conte\xFAdo";var Ng="Epis\xF3dio";var zZ="{count} Epis\xF3dios";var bw="Evento",Zp="Eventos",_w="Sess\xE3o de Evento",BZ="\xDAltimo epis\xF3dio",GZ="\xDAltimo epis\xF3dio {date}";var VZ="Publicado {date}",vw="S\xE9rie",yw="Mostrar",Ys="Programas";var f$="V\xEDdeo indispon\xEDvel",jZ="Este v\xEDdeo n\xE3o est\xE1 dispon\xEDvel Tente novamente mais tarde enquanto trabalhamos para corrigi-lo.",em="Player de v\xEDdeo";var YZ="N\xEDvel",QZ="N\xEDvel {number}";var WZ="N\xEDveis",KZ="Ciclo de vida",JZ="Claro";var qg="LinkedIn";var kt="Carregando...";var XZ="Mais…",ZZ="Carregar mais resultados",xw="\xC1rabe",eee="\xC1rabe (Ar\xE1bia Saudita)",Tw="B\xFAlgaro",tee="B\xFAlgaro (Bulg\xE1ria)";var Sw="B\xF3snio (latim)",oee="B\xF3snio (Cir\xEDlico)",Ew="Catal\xE3o",ww="Tcheco",Cw="Dinamarqu\xEAs",Aw="Alem\xE3o";var kw="Grego",ree="Grego (Gr\xE9cia)",Iw="Ingl\xEAs",nee="Ingl\xEAs (Mal\xE1sia)";var Pw="Espanhol",see="Espanhol (M\xE9xico)",Lw="Estoniano",Rw="Basco",Mw="Finland\xEAs",Dw="Filipino",$w="Franc\xEAs";var Nw="Irland\xEAs",qw="Galego",Ow="Hebraico",Fw="H\xEDndi",Uw="Croata",Hw="H\xFAngaro",iee="H\xFAngaro (Hungria)",zw="Indon\xE9sio",aee="Indon\xE9sio (Indon\xE9sia)",Bw="Island\xEAs",Gw="Italiano";var Vw="Japon\xEAs",lee="Georgiano",jw="Cazaque",Yw="Coreano",Qw="Luxemburgu\xEAs",Ww="Lituano",Kw="Let\xE3o",Jw="Malaio",Xw="Malt\xEAs",Zw="Noruegu\xEAs",eC="Holand\xEAs",tC="Polon\xEAs",oC="Portugu\xEAs",cee="Portugu\xEAs (Brasil)",dee="Portugu\xEAs (Portugal)",rC="Romeno",nC="Russo",sC="Eslovaco",iC="Esloveno";var aC="S\xE9rvio (cir\xEDlico)",lC="S\xE9rvio (latino)",cC="Sueco",dC="Tailand\xEAs",uC="Turco",pC="Ucraniano",uee="Ucraniano",pee="Urdu",mC="Vietnamita",mee="Vietnamita (Vietn\xE3)";var fC="Chin\xEAs (Simplificado)",gC="Chin\xEAs (tradicional, RAE de Hong Kong)",hC="Chin\xEAs (Tradicional)";var fee="Gerenciar cookies",g$="Gerenciar prefer\xEAncias de email";var bC="Editor do Microsoft Learn",gee="Estamos trabalhando muito para migrar seu hist\xF3rico de cursos e conquistas para o Learn. No entanto, neste momento, somente a atividade conclu\xEDda no Learn ser\xE1 exibida aqui.",hee='Para exibir sua transcri\xE7\xE3o completa e/ou os selos que voc\xEA ganhou no Microsoft Educator Center e no Learn, acesse seu Perfil do MEC.';var bee="Aviso de privacidade ao funcion\xE1rio da Microsoft",_ee="Voc\xEA se conectou com uma conta associada a uma organiza\xE7\xE3o ({email}). Ao tornar-se um membro, voc\xEA entende e reconhece que sua associa\xE7\xE3o ao Microsoft Learn significa que nossa rede de sites e aplicativos vai registrar e acompanhar suas conquistas e atividades, e que n\xF3s poderemos compartilhar os resultados e as atividades com sua organiza\xE7\xE3o. Al\xE9m disso, o nome de usu\xE1rio, o nome de exibi\xE7\xE3o, a foto do perfil, a afilia\xE7\xE3o, as conquistas e as atividades ficar\xE3o vis\xEDveis publicamente. Voc\xEA pode ocultar suas conquistas e atividades em configura\xE7\xF5es.

Depois de criar seu perfil, recomendamos que voc\xEA vincule uma conta pessoal para que possa acessar seu progresso de aprendizagem independentemente do seu status de emprego. Voc\xEA pode vincular contas adicionais na se\xE7\xE3o Gerenciamento de Contas das configura\xE7\xF5es de perfil.";var vee="Editor de grafo da Microsoft",yee="O Microsoft Learn enviar\xE1 um e-mail para voc\xEA no endere\xE7o fornecido abaixo.";var Og="Aviso de Privacidade da Microsoft",xee="Voc\xEA precisa concordar com o Aviso de Privacidade da Microsoft para manter seu perfil e dados afins.";var Tee="milhas";var Fg="{numberOfMinutes} min";var Od="{numberOfMinutes}min";var ty="minutos";var See="H\xE1 {duration} minutos";var dr="M\xF3dulo";var Eee="{count} m\xF3dulo",wee="{count} m\xF3dulos",Cee="M\xF3dulo incompleto",Aee="Este m\xF3dulo ajuda voc\xEA a se preparar para o {exam}.",kee="Refer\xEAncia de m\xF3dulo de {platformName}",oy="Este m\xF3dulo requer uma \xE1rea restrita para ser conclu\xEDdo.",Ug="M\xF3dulos",Iee="M\xF3dulos neste roteiro de aprendizagem",Pee="Voc\xEA foi redirecionado para a vers\xE3o mais recente do produto dispon\xEDvel para esta p\xE1gina.";var Lee="H\xE1 {duration} meses";var ry="Mais";var Ree="Nome";var Hg="Avan\xE7ar",Mee="Pr\xF3ximo roteiro de aprendizagem:",h$="Pr\xF3ximo M\xF3dulo",Dee="Pr\xF3ximo m\xF3dulo:";var $ee="Unidade seguinte",ml="No",Nee="Nova cole\xE7\xE3o",zg="Mais Novo",Bg="Mais Antigo";var qee="Nenhum curso atual dispon\xEDvel para essa certifica\xE7\xE3o";var Oee="N\xE3o h\xE1 nenhum produto dispon\xEDvel",Fee="N\xE3o h\xE1 nenhuma marca dispon\xEDvel",Uee="Nenhum filtro dispon\xEDvel";var Hee="Ainda n\xE3o h\xE1 roteiros de aprendizagem ou m\xF3dulos dispon\xEDveis para este exame",zee="nenhum";var Bee="Sem sa\xEDda";var xr="Sem resultados",us="Nenhum resultado encontrado",Gee="Ainda n\xE3o h\xE1 resultados, mas continue digitando\u2026",Vee='Pesquise "{term}" em toda a documenta\xE7\xE3o do {searchScope}',jee='Pesquise "{term}" em toda a documenta\xE7\xE3o';var _C="N\xE3o, obrigado",Yee="Observa\xE7\xE3o";var Qee="N\xE3o foi poss\xEDvel encontrar nenhum usu\xE1rio.";var Wee="Muito satisfeito",Kee="Satisfeito",Jee="N\xE3o estou satisfeito nem insatisfeito",Xee="Insatisfeito",Zee="Muito insatisfeito";var ete="Documenta\xE7\xE3o do Office";var ps="OK",tte="Ok, entendi.";var ote="Edite seus interesses";var rte="No momento, n\xE3o temos nada que se ajuste \xE0s suas sele\xE7\xF5es.",nte="1 m\xF3dulo",ste="1 unidade";var ite="em {date}";var ate="Abrir pesquisa";var lte="Coment\xE1rios do {productName}",cte="O {productName} \xE9 um projeto c\xF3digo aberto. Selecione um link para fornecer coment\xE1rios:";var dte='Receberei informa\xE7\xF5es, dicas e ofertas do Microsoft Learn e de outros produtos e servi\xE7os da Microsoft. Pol\xEDtica de Privacidade.',ute="Eu gostaria de receber informa\xE7\xF5es, dicas e ofertas do Microsoft Learn e de outros produtos e servi\xE7os da Microsoft.",pte='Eu gostaria de receber informa\xE7\xF5es, dicas e ofertas do Microsoft Learn e de outros produtos e servi\xE7os da Microsoft. Pol\xEDtica de Privacidade.',mte="Quero receber informa\xE7\xF5es da Microsoft e da respectiva fam\xEDlia de empresas por email e telefone sobre o Microsoft Learn e outros produtos e servi\xE7os Microsoft. Para retirar o consentimento ou gerenciar suas prefer\xEAncias de contato, visite o Gerenciador de comunica\xE7\xF5es promocionais.",fte='Quero receber informa\xE7\xF5es da Microsoft e da respectiva fam\xEDlia de empresas por email e telefone sobre o Microsoft Learn e outros produtos e servi\xE7os Microsoft. Para retirar o consentimento ou gerenciar as prefer\xEAncias de contato, confira Gerenciador de comunica\xE7\xF5es promocionais. Pol\xEDtica de Privacidade.',gte="Eu gostaria de receber informa\xE7\xF5es, dicas e ofertas do Microsoft Learn e de outros produtos e servi\xE7os da Microsoft.",hte='Eu gostaria de receber informa\xE7\xF5es, dicas e ofertas do Microsoft Learn e de outros produtos e servi\xE7os da Microsoft. Pol\xEDtica de Privacidade.',bte='A participa\xE7\xE3o requer a transfer\xEAncia de seus dados pessoais para outros pa\xEDses/regi\xF5es nos quais a Microsoft opera, incluindo o Estados Unidos. Ao enviar este formul\xE1rio, voc\xEA concorda com a transfer\xEAncia de seus dados para fora da China. Pol\xEDtica de Privacidade.',b$="Concordo em receber informa\xE7\xF5es de marketing e que minhas informa\xE7\xF5es pessoais seja usadas para fins de marketing (obrigat\xF3rio):",_te='
  • Consentimento para receber marketing: as informa\xE7\xF5es coletadas podem ser usadas para a Microsoft enviar informa\xE7\xF5es, dicas e ofertas sobre o Microsoft Learn e outros produtos e servi\xE7os Microsoft.
  • Itens de informa\xE7\xF5es pessoais a serem coletados: nome, sobrenome, email, n\xFAmero de telefone, nome e tamanho da empresa, cargo, pa\xEDs/regi\xE3o de resid\xEAncia e os outros campos vis\xEDveis neste formul\xE1rio.
  • Finalidade da coleta e do uso: entrar em contato com voc\xEA para fins de marketing
  • Per\xEDodo de reten\xE7\xE3o/uso de informa\xE7\xF5es pessoais: durante o tempo necess\xE1rio para oferecer os servi\xE7os que voc\xEA est\xE1 solicitando
Voc\xEA tem o direito de recusar a coleta e o uso de informa\xE7\xF5es pessoais para fins de marketing e receber informa\xE7\xF5es de marketing, conforme estabelecido acima. No entanto, se voc\xEA recusar, talvez n\xE3o consiga receber os benef\xEDcios descritos em Finalidade da coleta e do uso. Pol\xEDtica de Privacidade.';var Gg="Selecionar pa\xEDs/regi\xE3o",vte="Selecionar um c\xF3digo do pa\xEDs";var yte="Abrir o Cloud Shell",xte="Opcional";var Tte="Ocorreu um erro",Ste='Ocorreu um erro esperado. Tente novamente. Se voc\xEA acredita que isso \xE9 um erro, fique \xE0 vontade para entrar em contato com o representante da conta ou o atendimento ao cliente.',Ete="O compartilhamento de dados solicitado j\xE1 est\xE1 configurado",wte="Deseja continuar a exibir este compartilhamento de dados?",Cte="No momento n\xE3o",Ate="Enviando convite de compartilhamento de dados...",kte="Contrato de Compartilhamento de Dados do Microsoft Learn",Ite='Eu reconhe\xE7o e aceito os Termos do Compartilhamento de Dados Piloto do Microsoft Learn para permitir que a Microsoft compartilhe dados do Learn com minha organiza\xE7\xE3o para usu\xE1rios do Learn conectados com a ID de locat\xE1rio dela.',Pte="Tente novamente com sua conta corporativa vinculada",Lte="N\xE3o foi poss\xEDvel verificar sua conta",Rte='Entre com sua conta corporativa para acessar este compartilhamento de dados. Se voc\xEA acredita que isso \xE9 um erro, entre em contato com o atendimento ao cliente ou com seu representante de conta.',Mte="Sim",vC="Outro",Dte="Sa\xEDda";var $te="Em geral, qu\xE3o o seu n\xEDvel de satisfa\xE7\xE3o ou insatisfa\xE7\xE3o com o Microsoft Learn?";var Nte="Vis\xE3o geral";var _$="Refer\xEAncia do Pacote de {platformName}";var yC="P\xE1gina {pageNumber} de {numberOfPages}";var qte="pagina\xE7\xE3o",Ote="Par\xE2metros";var Fte="O PDF foi gerado. Abrindo o arquivo...";var Ute="N\xFAmero do telefone",Vg="Plano";var Hte="Preencha este campo.",tm="Forne\xE7a um endere\xE7o de email.";var zte="Popular",Bte="Prim\xE1rio",Gte="Imprimir",Vte="A impress\xE3o est\xE1 desabilitada para conte\xFAdo que exige autoriza\xE7\xE3o.",xC="Pol\xEDtica de privacidade",jte="Ruim",Yte="Desculpe. O ambiente de laborat\xF3rio necess\xE1rio para concluir os exerc\xEDcios nesta unidade est\xE1 temporariamente indispon\xEDvel.",Qte="Acesso ao laborat\xF3rio suspenso",Wte="Sua conta ou conex\xE3o foi sinalizada devido a uma atividade incomum. Por isso, suspendemos o seu acesso ao laborat\xF3rio sob demanda do Learn. Se voc\xEA acredita que cometemos um erro, pode enviar uma contesta\xE7\xE3o para recuperar o acesso.",TC="Iniciar laborat\xF3rio",Kte="Carregando o laborat\xF3rio...",Jte="O laborat\xF3rio est\xE1 conclu\xEDdo",Xte="Voc\xEA continuar\xE1 de onde parou.",v$="Esta unidade inclui um laborat\xF3rio a ser conclu\xEDdo.",y$="Use os recursos gratuitos fornecidos no laborat\xF3rio para concluir os exerc\xEDcios nesta unidade. Voc\xEA n\xE3o ser\xE1 cobrado pelo ambiente de laborat\xF3rio. No entanto, talvez precise trazer sua assinatura, dependendo do laborat\xF3rio.",Zte="O laborat\xF3rio ser\xE1 iniciado em uma nova janela.",eoe="Sim, iniciar um novo laborat\xF3rio",toe="Um laborat\xF3rio para uma unidade diferente j\xE1 est\xE1 ativo",ooe="No momento, voc\xEA tem um laborat\xF3rio aberto em outra unidade: ({lab-name}). Deseja descartar seu laborat\xF3rio preexistente e iniciar um novo para esta unidade?",roe="Tentar iniciar o laborat\xF3rio novamente",noe="Entre para inicializar o laborat\xF3rio",soe="Iniciar laborat\xF3rio",ioe="Este laborat\xF3rio est\xE1 ocupado com muitos usu\xE1rios ativos. Aguarde alguns minutos e tente novamente.";var aoe="Power Platform";var x$="Op\xE7\xE3o {number}: Certifica\xE7\xE3o de pr\xE9-requisito";var SC="Vers\xE3o Pr\xE9via";var jg="Anterior";var loe="{feature} est\xE1 desabilitado para conte\xFAdo que exige autoriza\xE7\xE3o.";var va="Produto",coe="Usu\xE1rios de {productName}:";var Yg="Produtos",doe="Perfil",uoe='Fa\xE7a ou responda a uma pergunta na comunidade',T$='Acompanhe as \xFAltimas not\xEDcias do site';var S$='Explore a documenta\xE7\xE3o',E$='Desenvolva habilidades com a orienta\xE7\xE3o passo a passo';var poe="Conclua um m\xF3dulo ou roteiro de aprendizagem para obter um trof\xE9u ou notifica\xE7\xE3o. Suas conquistas ser\xE3o mostradas aqui.",moe="Comece a desenvolver novas habilidades. Suas atividades ser\xE3o mostradas aqui.",foe="Bem-vindo de volta! J\xE1 faz um tempo que voc\xEA n\xE3o aparece por aqui. Comece a desenvolver novas habilidades.";var w$="Comece a desenvolver novas habilidades.",goe="Crie cole\xE7\xF5es com m\xF3dulos de aprendizado para personalizar seu curr\xEDculo.",hoe="Quando voc\xEA concluir um curso, suas conquistas ser\xE3o mostradas aqui.",boe="Ao participar de eventos do Microsoft Learn, contribuir com o conte\xFAdo do Microsoft Learn ou participar de outras iniciativas, suas conquistas ser\xE3o mostradas aqui.",_oe="Quando voc\xEA concluir um m\xF3dulo, suas conquistas ser\xE3o mostradas aqui.";var voe="Siga seus threads, suas marca\xE7\xF5es e seus usu\xE1rios favoritos.",yoe="Quando voc\xEA concluir um roteiro de aprendizagem, suas conquistas ser\xE3o mostradas aqui.",xoe="Quando voc\xEA concluir um m\xF3dulo, suas conquistas ser\xE3o mostradas aqui.";var Toe="Comece a desenvolver novas habilidades.",Soe="Conclua um roteiro ou um m\xF3dulo de aprendizagem e uma transcri\xE7\xE3o da atividade ser\xE1 mostrada aqui.",Eoe="Linguagem de programa\xE7\xE3o",woe="Linguagens de programa\xE7\xE3o";var Coe="Fornecer coment\xE1rios sobre o produto";var Aoe="Documenta\xE7\xE3o p\xFAblica";var ny="Perguntas e respostas";var koe="perguntado";var Ioe="respostas",Poe="comments";var Loe="votos";var C$="Relatar uma d\xFAvida",Roe="Motivo do relat\xF3rio";var Moe=` para aceitar atualiza\xE7\xF5es por email sobre a preocupa\xE7\xE3o relatada por voc\xEA`,Doe="Permitir que a Microsoft entre em contato comigo sobre este relat\xF3rio",$oe="Nome Completo",Noe="Email",qoe='Entraremos em contato com voc\xEA por meio de sua conta pessoal {email}',Ooe='A Microsoft est\xE1 comprometida em ajudar nossos usu\xE1rios e proteger sua privacidade. Voc\xEA poder\xE1 ler a Pol\xEDtica de Privacidade da Microsoft se quiser obter mais informa\xE7\xF5es sobre como protegemos dados pessoais.';var Foe="1 das {numberOfQuestions} perguntas est\xE1 incorreta. Corrija a pergunta {lastIncorrectQuestionNumber}.",Uoe="{numberOfIncorrectQuestions} das {numberOfQuestions} perguntas est\xE3o incorretas. Corrija as perguntas {incorrectQuestionNumbers} e {lastIncorrectQuestionNumber}.",Hoe="Pergunta",Qg="Autor da pergunta",zoe='

Filtragem de autor de pergunta

Ao filtrar por autor de pergunta, voc\xEA s\xF3 pode filtrar por um usu\xE1rio de cada vez e filtrar somente por usu\xE1rios do Learn.

';var Boe="Pergunta j\xE1 respondida.";var Goe="Pergunta obrigat\xF3ria.",Voe="Pergunta opcional.",joe="Filtros R\xE1pidos";var Yoe="Parab\xE9ns!",Qoe="Raio";var A$="Ler em ingl\xEAs",Woe="Ler em {language}";var Koe="Conte\xFAdo recomendado",mn="Refer\xEAncia";var Wg="Atualizar";var Joe="Registre-se";var Xoe="Certifica\xE7\xE3o relacionada";var Zoe="Este m\xF3dulo faz parte destes roteiros de aprendizagem";var Kg="restante";var Jg="Remover",EC="Remover {itemName}";var wC="Renew";var CC="Relatar uma d\xFAvida",ere="Selecione o motivo",tre="Adulto e sexual",ore="Imagens de explora\xE7\xE3o e abuso sexual infantil",rre="Gest\xE3o de danos";var nre="Intimida\xE7\xE3o e ass\xE9dio",sre="Viol\xEAncia expl\xEDcita e linguagem grosseira",ire="Discrimina\xE7\xE3o e discurso de \xF3dio",are="Imagens \xEDntimas n\xE3o consensuais e extors\xE3o \xEDntima";var lre="Outros termos de uso ou viola\xE7\xE3o de c\xF3digo de conduta";var cre="Palavr\xF5es e vulgaridade",dre="Aliciamento sexual";var ure="Suic\xEDdio e autoflagelo",pre="Terrorismo ou extremismo violento",mre="Tr\xE1fico",fre="Amea\xE7as violentas, est\xEDmulo e apologia \xE0 viol\xEAncia";var gre="Visualiza\xE7\xE3o da solicita\xE7\xE3o",k$="URL da solicita\xE7\xE3o";var hre="Os campos obrigat\xF3rios est\xE3o marcados com um asterisco";var bre="Tipos",_re="Recursos";var vre="C\xF3digo de Resposta";var I$="Reiniciar",yre="N\xE3o foi poss\xEDvel convidar voc\xEA para um locat\xE1rio de \xE1rea restrita devido a restri\xE7\xF5es em sua conta. Contate o administrador.";var xre="{numberOfResults} resultados";var Xg="Retomar",AC="Repetir";var Tre="Tentar ativar novamente",Sre="Tentar ativar a \xE1rea restrita novamente";var Ere="Retornar ao m\xF3dulo";var P$="Examinar respostas",wre="Fun\xE7\xE3o";var Ec="Developer Community",Cre="Fa\xE7a uma pergunta",wc="Microsoft Q&A",Fd="Conhecer a comunidade",Are="Perguntas t\xE9cnicas sobre o IIS do Windows Server.",kre="Perguntas t\xE9cnicas sobre o desenvolvimento da UWP em dispositivos da \xE1rea de trabalho do Windows 10.",Ire="Perguntas t\xE9cnicas sobre o desenvolvimento de suplementos do Office para Word, Excel, PowerPoint, Outlook, Project, Visio e OneNote.",Pre="Perguntas t\xE9cnicas sobre o BitLocker, o Windows Defender, o Firewall do Windows e a tecnologia de seguran\xE7a do Windows 10.",Lre="Perguntas t\xE9cnicas sobre o Windows 11 (vers\xE3o pr\xE9via).",Rre="Perguntas t\xE9cnicas sobre o Windows Sysinternals Process Explorer.",Mre="Perguntas t\xE9cnicas sobre o Azure AD (Azure Active Directory). O Azure AD \xE9 um servi\xE7o de gerenciamento de identidade e acesso baseado em nuvem da Microsoft, que ajuda seus funcion\xE1rios se conectarem e acessarem recursos.",Dre="Roteiro de aprendizagem";var $re="Fun\xE7\xF5es";var Nre="RSS",sy="Executar";var L$='Uma \xE1rea restrita fornece acesso a recursos gratuitos. N\xE3o haver\xE1 cobran\xE7as na sua assinatura pessoal. A \xE1rea restrita poder\xE1 ser usada somente para concluir o treinamento no Microsoft Learn. O uso por qualquer outro motivo \xE9 proibido e poder\xE1 levar \xE0 perda permanente do acesso \xE0 \xE1rea restrita.',qre="Ative o ambiente de \xE1rea restrita para executar c\xE9lulas de c\xF3digo do notebook.",Ore='Analisamos sua contesta\xE7\xE3o e determinamos que sua conta violou nossos Termos de Uso. O seu acesso \xE0 \xE1rea restrita e ao laborat\xF3rio n\xE3o ser\xE1 restabelecido. Por\xE9m, voc\xEA pode continuar acessando o conte\xFAdo de treinamento do Microsoft Learn. Muitos exerc\xEDcios do m\xF3dulo podem ser conclu\xEDdos usando sua assinatura pessoal, mas cobran\xE7as poder\xE3o ser aplicadas e voc\xEA talvez precise modificar as instru\xE7\xF5es para trabalhar com sua assinatura.',Fre="Ocorreu um problema ao preparar seu ambiente. Atualize a p\xE1gina e tente novamente.",Ure="Todas as \xE1reas restritas do Microsoft Learn est\xE3o em uso no momento. Aguarde de cinco a dez minutos e tente novamente.",R$="Observe que a \xC1rea Restrita do Jupyter Notebook s\xF3 d\xE1 suporte ao idioma ingl\xEAs no momento.",Hre="Inicie a \xE1rea restrita do {product} e use as instru\xE7\xF5es nesta p\xE1gina para concluir a atividade.",zre="O Microsoft Learn precisa de sua permiss\xE3o para criar os recursos do {product}.";var Bre="Abrir a \xE1rea restrita em nova janela",Gre="Senha:",Vre="Fa\xE7a logon no portal usando as seguintes credencial:",jre="A \xE1rea restrita deste m\xF3dulo n\xE3o est\xE1 dispon\xEDvel no momento. Estamos trabalhando para resolver isso o mais r\xE1pido poss\xEDvel. Enquanto isso, voc\xEA poder\xE1 concluir os exerc\xEDcios deste m\xF3dulo usando sua assinatura pessoal, mas cobran\xE7as podem ser aplicadas a voc\xEA talvez precise modificar as instru\xE7\xF5es da sua assinatura.",Yre="Nome de Usu\xE1rio:",Qre="\xC1rea restrita ativada! Tempo restante:";var Wre="Dura\xE7\xE3o da \xC1rea Restrita",Kre="Todos os dados ser\xE3o removidos quando o tempo se esgotar. Depois, voc\xEA poder\xE1 criar uma nova \xE1rea restrita.";var Jre="Parece que seu logon expirou. Entre para ativar a \xE1rea restrita.";var Xre='Para obter mais informa\xE7\xF5es, confira a p\xE1gina de orienta\xE7\xE3o para a solu\xE7\xE3o de problemas.',st="Salvar";var kC="\xCAxito ao salvar.",Zre="Pontua\xE7\xE3o:";var iy="Adicionar ao plano",M$="Adicionado aos planos",ene="Gerenciar {title} em planos",tne="Adicionar {title} a um plano",one="Copy Plan",rne='Adicionado \xE0 {collectionName}',nne='Adicionado a Planos',sne='Removido de{collectionName}',ine='Removido de Planos',ane='Planos atualizados',lne='Como funciona',cne="Iniciar um plano",dne="Introdu\xE7\xE3o ao seu novo percurso de aprendizado estruturado.",une="Passar por marcos",pne="Escolha passar por marcos no tempo recomendado ou no seu ritmo.",mne="Alcan\xE7ar resultados de aprendizagem",fne="Obtenha as habilidades necess\xE1rias para avan\xE7ar em sua carreira ou atingir metas baseadas em projeto.",gne="Choose a different name for your Plan",hne="Copiar Link",bne="Parab\xE9ns pela conclus\xE3o do plano {title}.",_ne="Se voc\xEA dedicou tempo para aprender algo novo, deixe rede de contato compartilhar sua vit\xF3ria!",D$="Criar um plano de uma cole\xE7\xE3o",IC="Gerenciar";var vne="Enter a title",yne="A new title for your Plan is required.",xne="N\xE3o conseguimos encontrar esse plano",Tne="Procuramos em todos os lugares. Mas n\xE3o se preocupe, voc\xEA pode examinar um hist\xF3rico de sua atividade de plano em seu perfil de usu\xE1rio.",Sne="Exibir o hist\xF3rico de planos",Ene="Um marco neste plano",wne="{numberOfMilestones} marcos neste plano",Cne="Desculpe, este plano \xE9 privado.",Ane="O criador desse plano o marcou como privado e ele n\xE3o est\xE1 vis\xEDvel para outros usu\xE1rios no momento.",kne="Voc\xEA pode examinar seus planos em seu perfil de usu\xE1rio.",Ine="Exibir seus planos",Pne='Voc\xEA tamb\xE9m pode retornar aos planos.',Lne="Plano n\xE3o dispon\xEDvel",Rne="Esse plano n\xE3o existe ou foi removido.",Mne="Se este link foi compartilhado com voc\xEA, solicite um novo link.",$$="Conclu\xEDdo";var Dne="Iniciado",$ne="Voc\xEA n\xE3o tem planos. Para criar um plano, v\xE1 para a p\xE1gina de cole\xE7\xF5es e selecione uma cole\xE7\xE3o existente ou crie uma cole\xE7\xE3o. Em seguida, v\xE1 para a p\xE1gina dessa cole\xE7\xE3o e voc\xEA poder\xE1 salvar essa cole\xE7\xE3o como um plano.",Nne="Voc\xEA n\xE3o concluiu nenhum plano",qne="Voc\xEA n\xE3o criou nenhum plano. Para criar um plano, v\xE1 para a p\xE1gina de cole\xE7\xF5es e selecione uma cole\xE7\xE3o existente ou crie uma cole\xE7\xE3o. Em seguida, v\xE1 para a p\xE1gina dessa cole\xE7\xE3o e voc\xEA poder\xE1 salvar essa cole\xE7\xE3o como um plano.",One="Voc\xEA n\xE3o iniciou nenhum plano",Fne="Plano oficial",Une="Para publicar seu plano, forne\xE7a um t\xEDtulo, pelo menos um resultado de aprendizagem e certifique-se de que todos os seus marcos contenham pelo menos um item de conte\xFAdo e tenham um n\xFAmero de dias recomendado. Ao publicar seu plano, voc\xEA pode compartilh\xE1-lo e gerenci\xE1-lo.",Hne="Voc\xEA est\xE1 pronto para publicar este plano?",zne="Verifique se o plano est\xE1 completo, sem erros tipogr\xE1ficos e se o conte\xFAdo est\xE1 na sequ\xEAncia correta. Caso contr\xE1rio, edite seu plano conforme necess\xE1rio. Depois que um plano \xE9 publicado, ele n\xE3o pode ser editado.",Bne="Sim, publicar plano",Gne="Ainda n\xE3o",Vne="Plano de desenvolvimento de habilidades n\xE3o encontrado. Atualize a p\xE1gina.",jne="Um ou mais marcos est\xE3o vazios ou sem a informa\xE7\xE3o de n\xFAmero de dias recomendado para conclus\xE3o. Corrija esses problemas antes de publicar o Plano.",N$="Detalhes do plano",Yne="Excluir esse plano",Qne="Excluir plano",Wne="Tem certeza de que deseja excluir o plano a seguir?",Kne="Sim, excluir plano",Jne="Editar itens neste plano",Zg="Convidar alunos",q$="Copy invite link";var Xne="Groups",Zne="Group name",ese="Individuals";var tse="A learning group is a name that allows you to identify a group of learners in your progress report; learners will not see this name.

Creating a learning group generates a unique link to your plan for the specific group of learners.";var ose="New learning group",rse="Your invitation to start {planTitle} Plan on Microsoft Learn",nse="Start your plan and begin your learning journey today.",sse="You have been invited to start the {planTitle} Plan on Microsoft Learn.",ise="A Plan is a set of curated and organized content on Microsoft Learn with milestones designed to help you to achieve learning outcomes.",ase="By completing this plan, you\u2019ll achieve the following learning outcomes:",lse="Start your plan today!",eh="Visualizar progresso",cse="Baixe este arquivo para exibir uma lista de alunos e o progresso deles.",O$="Baixar CSV",dse="O arquivo cont\xE9m as seguintes informa\xE7\xF5es:",use="Grupo de alunos",pse="Nome de usu\xE1rio do Learn",mse="Data inicial",fse="Data final",gse="Itens conclu\xEDdos",hse="Total de itens",PC="Resultados de aprendizagem",bse="Um resultado de aprendizagem \xE9 conhecimento, habilidades ou conhecimentos espec\xEDficos que o aprendiz obter\xE1 ao concluir esse plano.",_se='Dica: comece cada resultado de aprendizagem com um verbo. Cada resultado deve concluir a frase "Ap\xF3s a conclus\xE3o deste plano, os alunos poder\xE3o..."',vse="Resultado 1",yse="Resultado 2 (opcional)",xse="Resultado 3 (opcional)",Tse="Converter em um Plano oficial",Sse="Converter um plano em um Plano Oficial",Ese="Se voc\xEA estiver criando um Plano Oficial de uma Cole\xE7\xE3o Oficial ou plano, as URLs externas ser\xE3o preservadas.",wse="Um Plano Oficial representa a Microsoft, portanto, verifique se o plano publicado est\xE1 completo, livre de erros tipogr\xE1ficos e se o conte\xFAdo est\xE1 na sequ\xEAncia correta.",LC="Este plano foi enviado para ser localizado",Cse="O plano \xE9 conclu\xEDdo e revisado",Ase="Obrigado por enviar seu plano oficial para localiza\xE7\xE3o.",ay="Marco",ly="Adicionar Marco",kse="Editar Marcos",Ise="Dias recomendados para conclus\xE3o",Pse="Inserir dias para conclus\xE3o",Lse="Inserir descri\xE7\xE3o";var Rse="Dias para marco:",Mse="1 marco",Dse="{numberOfMilestones} marcos",$se="Marcos neste plano",Nse="N\xE3o h\xE1 marcos neste plano.",qse="Marco conclu\xEDdo",Ose="N\xE3o definido",Fse="Mover para",Use='N\xE3o h\xE1 itens neste marco. Mova itens para c\xE1 de outros marcos ou adicione itens da p\xE1gina de navega\xE7\xE3o de treinamento do Learn.',Hse="Confirme se todos os marcos t\xEAm um t\xEDtulo e dias para conclus\xE3o. Talvez seja necess\xE1rio expandir cada marco.",zse="Altera\xE7\xF5es n\xE3o salvas",Bse="Voc\xEA fez altera\xE7\xF5es. Deseja descart\xE1-las?",Gse="Descartar",Vse="Remove Milestone",jse="You are about to remove Milestone {milestoneNumber} and its content.
Do you want to proceed?",Yse="Your changes will not be applied until you click the Save button.",Qse="Publicado em",Wse="Bem-vindo!",Kse="Para iniciar esse plano, voc\xEA precisa compartilhar os dados de progresso do plano com o criador do plano. Os dados que ser\xE3o compartilhados s\xE3o: as datas em que voc\xEA inicia e conclui o plano e quantos itens do total voc\xEA concluiu a qualquer momento. Seus dados ser\xE3o associados ao seu nome de usu\xE1rio p\xFAblico do Learn.",Jse="Voc\xEA concorda em compartilhar seu progresso?",Xse="Sim, concordo em compartilhar meu progresso",Zse="Se voc\xEA quiser receber emails \xFAteis como orienta\xE7\xE3o e incentivo durante seu percurso de planos, acesse sua p\xE1gina Configura\xE7\xF5es de Perfil e forne\xE7a um email de contato para notifica\xE7\xF5es.",eie="Salvar todos os itens neste plano como um novo";var tie="Voc\xEA ainda n\xE3o tem planos.";var F$="Resgate seu c\xF3digo agora.",oie="N\xE3o foi poss\xEDvel copiar seu c\xF3digo no momento. Tente novamente.",rie="N\xE3o foi poss\xEDvel copiar sua URL no momento. Tente novamente.",nie="Parece que voc\xEA j\xE1 resgatou este c\xF3digo.
Acesse sua p\xE1gina de conquistas para ver suas conquistas.",sie="Voc\xEA atingiu o limite de 300 c\xF3digos solicitados por dia. Tente novamente ap\xF3s as 00h00 UTC.";var iie="Este c\xF3digo atingiu o limite de uso.
Se voc\xEA acha que esta mensagem \xE9 um erro, entre em contato com seu instrutor.",aie="N\xE3o foi poss\xEDvel encontrar esse c\xF3digo em nosso sistema. Entre em contato com seu instrutor.",lie="Seu c\xF3digo est\xE1 pronto para ser compartilhado.";var cie="C\xF3digo copiado com \xEAxito.";var die="Copiar c\xF3digo";var uie="Copie esse c\xF3digo e forne\xE7a-o para os alunos para resgate no Microsoft Learn";var pie="Voc\xEA precisa copiar ou anotar esse c\xF3digo. Depois de fechar esta janela restrita, voc\xEA n\xE3o poder\xE1 pesquisar esse c\xF3digo.",RC="Copiar URL",mie="Copie esta URL para enviar seus alunos diretamente para o resgate de c\xF3digo",fie="Insira seu c\xF3digo para adicionar suas conquistas ao perfil",gie="A data de validade precisa estar no futuro",hie="N\xE3o foi poss\xEDvel criar seu c\xF3digo no momento. Tente novamente.",U$="N\xE3o foi poss\xEDvel resgatar seu c\xF3digo no momento. Tente novamente.";var bie="Adicionar suas conquistas ao perfil",_ie="Categoria de conquista inv\xE1lida",H$="Insira um valor entre 1 e 100 mil.",vie="OU";var yie="Resgatar",MC="Resgatar seu c\xF3digo";var xie="por exemplo, A2CD34",Tie="Pode levar alguns minutos para os selos serem exibidos.",Sie="Os c\xF3digos s\xE3o usados nos cursos de treinamento com instrutor. Est\xE1 faltando seu c\xF3digo? Entre em contato com seu instrutor.",Eie="Solicitar c\xF3digo da conquista",wie="Solicitar c\xF3digo",Cie="por exemplo, 50",Aie="Insira o n\xFAmero de alunos que v\xE3o resgatar este c\xF3digo",kie="Voc\xEA est\xE1 conectado como",Iie="Adicionamos suas conquistas ao seu perfil.",z$="Mais informa\xE7\xF5es sobre o c\xF3digo",Pie="Insira um valor maior que 0",Lie="Insira um c\xF3digo v\xE1lido.",Rie="Ver perfil",B$="Tem um c\xF3digo de conquista?";var Mie="Salvar sua cole\xE7\xE3o personalizada";var DC="Agendar exame",Die="Agendar com a Certiport";var $ie="Agendar com a Pearson VUE",Ud="A Microsoft fornece essa experi\xEAncia de laborat\xF3rio e o conte\xFAdo relacionado para fins educacionais. Todas as informa\xE7\xF5es apresentadas s\xE3o de propriedade da Microsoft e destinam-se exclusivamente \xE0 aprendizagem sobre os produtos e os servi\xE7os abordados neste m\xF3dulo do Microsoft Learn.",xo="Pesquisar";var Nie="Pesquisar tudo no Microsoft Learn";var G$="Filtros de pesquisa";var cy="Pesquisar vers\xF5es anteriores";var dy="Segundos",qie="H\xE1 {duration} segundos",Oie="{seconds} segundos",Fie="Se\xE7\xE3o",Uie="Se\xE7\xE3o intitulada: {title}";var Hie="Ver todas as atividades";var zie="Ver menos";var uy="Ver mais",Bie="Selecionar",Gie="Selecione um pa\xEDs ou uma regi\xE3o";var $C="Selecionar o Pacote";var NC="Selecionar a Vers\xE3o";var Vie="Servi\xE7o";var qC="O servi\xE7o est\xE1 temporariamente indispon\xEDvel. Estamos trabalhando para resolver.",jie="Session",py="Configura\xE7\xF5es",my="Compartilhar",V$="Hoje eu recebi meu {achievementTitle} {achievementType}. Tenho muito orgulho desta conquista e espero que isso inspire voc\xEA a come\xE7ar seu pr\xF3prio percurso do @MicrosoftLearn.";var fy="[Artigo compartilhado] {articleTitle}",Yie="Hoje eu completei {achievementTitle}! Tenho muito orgulho desta conquista e espero que isso inspire voc\xEA a come\xE7ar seu pr\xF3prio percurso do @MicrosoftLearn.";var Hd="Compartilhe no seu feed:";var Qie="Compartilhar no LinkedIn",Wie="Compartilhar no feed do LinkedIn",Kie="Adicionar ao Perfil do LinkedIn",Jie="Parab\xE9ns por ganhar sua credencial! Adicione-a ao seu perfil clicando no bot\xE3o abaixo:",OC="Acabei de ganhar minha {credentialName}! Animado para o pr\xF3ximo passo.",Xie="Compartilhe sua conquista:",Zie="Compartilhe sua experi\xEAncia conosco, mas n\xE3o inclua informa\xE7\xF5es confidenciais nem pessoais.",eae="Compartilhamento",tae="O compartilhamento est\xE1 desabilitado para conte\xFAdo que exige autoriza\xE7\xE3o.";var oae="Mostrar/Ocultar unidades neste m\xF3dulo",zd="Mostrar menos",Ii="Mostrar mais",FC="Mostrar mais {number}",UC="Entrou",Qs="Entrar",rae="Entre como {accountName}";var nae="Entrando...";var gy="Entre para ativar a \xE1rea restrita";var sae="Entre para fazer mais";var j$="Entre para salvar seu progresso";var iae="Entrar para iniciar",Bd="Sair";var aae="Site";var lae="Copilot",cae="Visualizar",dae="O conte\xFAdo gerado por IA pode estar incorreto",uae='Voc\xEA quis perguntar "{question}"',pae="Agradecemos pelos coment\xE1rios.",Y$="Ocultar",mae="Mostrar",fae='{count} resultados para "{searchPhrase}"',gae='{count} resultado para "{searchPhrase}"',hae='{count} resultados semelhantes para "{searchPhrase}"',bae='{count} resultado semelhante para "{searchPhrase}"',_ae='{count} resultados para "{searchPhrase}" em {scope}',vae='{count} resultado para "{searchPhrase}" em {scope}',yae='{count} resultados semelhantes para "{searchPhrase}" em {scope}',xae='{count} resultado semelhante para "{searchPhrase}" em {scope}',Tae='Nenhuma correspond\xEAncia encontrada. Mostrando {count} resultados semelhantes a "{searchPhrase}".',Sae='Nenhuma correspond\xEAncia encontrada. Mostrando {count} resultado semelhante a "{searchPhrase}".';var Eae="ou exibir todos os resultados no Microsoft Learn",wae='{count} resultados para "{searchPhrase}" em {scope} {pivotCategory}',Cae='{count} resultado para "{searchPhrase}" em {scope} {pivotCategory}',Aae='{count} resultados semelhantes para "{searchPhrase}" em {scope} {pivotCategory}',kae='{count} resultado semelhante para "{searchPhrase}" em {scope} {pivotCategory}',th="N\xE3o foi poss\xEDvel encontrar nada que se ajuste \xE0 sua pesquisa.",Iae="Tentamos verificar a ortografia e ampliar o escopo da sua pesquisa, mas mesmo assim n\xE3o encontramos resultados. Use uma palavra-chave ou uma frase diferente.",Pae="Atualmente, seu dispositivo est\xE1 usando um bloqueio de seguran\xE7a. N\xE3o h\xE1 detalhes dispon\xEDveis no momento. Quando a atualiza\xE7\xE3o estiver dispon\xEDvel, voc\xEA a ver\xE1 na p\xE1gina do Windows Update em Configura\xE7\xF5es.",Lae="A atualiza\xE7\xE3o ainda n\xE3o est\xE1 dispon\xEDvel para o seu dispositivo",Rae="N\xE3o foi poss\xEDvel encontrar nada que se ajuste \xE0 sua pesquisa em {scope}.",Mae='Voc\xEA ainda pode .',Dae='N\xE3o foi poss\xEDvel localizar resultados correspondentes a "{searchPhrase}"',$ae='N\xE3o foi poss\xEDvel localizar resultados correspondentes a "{searchPhrase}" em {scope}',Q$="Ignorar";var Nae="Ignorar por enquanto";var qae="Alguns itens separados para voc\xEA desde sua \xFAltima visita",Ws="Ocorreu algum problema",Xr="Algo deu errado. Tente novamente.";var om="GitHub";var Oae="Classificar por:";var tr="Iniciar",Fae="Inicia em {startDate}",Uae="Data de In\xEDcio";var Hae="Data de in\xEDcio",W$="Iniciar curso",oh="Iniciar o aprendizado",K$="Iniciar roteiro de aprendizagem";var zae="Gerenciar {title} nos guias de estudo",Bae="Adicionar {title} nos guias de estudo";var Gae="Assunto",Vae="Assuntos",qr="Enviar",jae="Enviar outro coment\xE1rio";var J$="Envio efetuado com sucesso!",Yae="Agradecemos por enviar seus coment\xE1rios. Vamos analis\xE1-los em breve. Observe que os relat\xF3rios dos coment\xE1rios s\xE3o uma comunica\xE7\xE3o unidirecional e, no momento, n\xE3o enviamos respostas.",Qae="Observe que, embora n\xE3o possamos responder aos coment\xE1rios, nossa equipe usar\xE1 seus coment\xE1rios para aprimorar a experi\xEAncia.";var Wae="Sugest\xF5es",Kae="As sugest\xF5es ser\xE3o filtradas conforme voc\xEA digita";var Jae="Suporte";var Xae="Tabela {index}";var Zae="Marca";var X$="Marca\xE7\xF5es";var HC="Iniciar a avalia\xE7\xE3o",ele="Caracteres restantes";var tle="Tarefa n\xE3o conclu\xEDda corretamente.";var ole="O arquivo {fileName} \xE9 inv\xE1lido. O tipo de arquivo deve ser uma imagem v\xE1lida no formato gif, jpg, jpeg ou png.",rle="O arquivo {fileName} \xE9 muito grande. O tamanho do arquivo n\xE3o pode exceder cinco megabytes.";var nle="Azure",sle="Cloud Shell",ile="Dynamics 365",ale="Microsoft 365";var lle="{account} j\xE1 tem um perfil",cle="Voc\xEA atingiu o limite de sua conta",dle="S\xF3 \xE9 poss\xEDvel vincular at\xE9 cinco contas corporativas ou de estudante a um perfil. Remova uma conta e tente novamente.",ule="Conta {account} vinculada",ple="Gerenciamento de Contas",mle='Voc\xEA pode ter at\xE9 cinco contas corporativas ou de estudante
e uma conta pessoal
vinculado ao seu perfil a ser usado para entrar. Vincular uma conta corporativa ou de estudante permitir\xE1 que sua organiza\xE7\xE3o veja os dados de progresso do aprendizado (observe que voc\xEA s\xF3 pode vincular uma conta por organiza\xE7\xE3o). Vincular uma conta pessoal permitir\xE1 que voc\xEA acesse seu progresso de aprendizagem, independentemente do seu status de emprego.';var fle="Voc\xEA j\xE1 tem uma conta vinculada na mesma organiza\xE7\xE3o",gle="Confirma\xE7\xE3o de remo\xE7\xE3o de conta",hle="Ao remover esta conta, voc\xEA n\xE3o conseguir\xE1 mais acessar seu perfil com ela. A organiza\xE7\xE3o correspondente n\xE3o receber\xE1 mais seus dados de progresso de aprendizado.",ble="Conta {account} removida",_le="Adicionar conta",vle="Adicione outra conta e tente novamente.";var yle='Voc\xEA s\xF3 pode vincular contas que n\xE3o t\xEAm um perfil registrado. Selecione uma conta diferente ou confira nossas diretrizes de solu\xE7\xE3o de problemas para obter mais detalhes.';var xle="Contas vinculadas",Tle="Voc\xEA est\xE1 adicionando uma conta corporativa ou de estudante ({account}) ao seu perfil. Voc\xEA compreende e reconhece que podemos compartilhar seus resultados e suas atividades com sua organiza\xE7\xE3o. Voc\xEA pode optar por desvincular essa conta a qualquer momento e sua organiza\xE7\xE3o deixar\xE1 de receber seus dados de progresso de aprendizado.",Sle="Voc\xEA j\xE1 vinculou esta conta",Ele="{account} \xE9 uma conta pessoal. Selecione uma conta corporativa ou de estudante.";var wle="MCID",Cle="Voc\xEA precisa de pelo menos uma conta vinculada a seu perfil.",Ale="Nenhuma conta vinculada",kle="Ha suporte para apenas uma conta por organiza\xE7\xE3o.",Ile="Voc\xEA s\xF3 pode ter uma conta pessoal vinculada",Ple="No momento, o perfil est\xE1 sendo mesclado",Lle="Voc\xEA pode atualizar a p\xE1gina para verificar o status da mesclagem.";var Rle="Selecionar conta",Z$="Selecione uma conta distinta",Mle="J\xE1 existe um perfil de certifica\xE7\xE3o conectado a este perfil",Dle="Para continuar, entre em contato com o atendimento ao cliente a fim de remover o perfil de certifica\xE7\xE3o atual e prosseguir.",$le="Os dados de cada perfil ser\xE3o combinados em apenas um perfil.",Nle="Os campos edit\xE1veis permanecer\xE3o inalterados e poder\xE3o ser atualizados a qualquer momento.",eN="Notifique-me quando a mesclagem for conclu\xEDda",qle="A mesclagem de perfis pode levar v\xE1rios minutos. Avisaremos quando o processo for conclu\xEDdo. Quando voc\xEA aceitar essa atualiza\xE7\xE3o, tamb\xE9m poderemos enviar recomenda\xE7\xF5es personalizadas, dicas \xFAteis ou notifica\xE7\xF5es de P e R.",Ole="Continuaremos a enviar notifica\xE7\xF5es para {email}.",Fle="Seu email n\xE3o est\xE1 definido para receber notifica\xE7\xF5es no momento e n\xE3o ser\xE1 registrado ap\xF3s a mesclagem.",Ule='Saiba mais sobre a mesclagem de perfis.',Hle="Este perfil foi bloqueado",zle="Este perfil est\xE1 bloqueado no momento e est\xE1 sendo mesclado com outro perfil. Entre em outro perfil.",tN="Repetir mesclagem",oN="Encerrar mesclagem",Ble="Mesclagem conclu\xEDda",Gle="Voc\xEA pode atualizar a p\xE1gina para verificar o status da mesclagem.",Vle="Registro de mesclagem de perfil n\xE3o encontrado",jle='N\xE3o \xE9 poss\xEDvel localizar a mesclagem de perfil. Atualize a p\xE1gina. Se o problema persistir, entre em contato com o atendimento ao cliente.',Yle="Uma tentativa de mesclagem anterior est\xE1 impedindo essa a\xE7\xE3o",Qle="Um dos perfis que voc\xEA est\xE1 tentando mesclar est\xE1 atualmente sendo mesclado com outro perfil. Fa\xE7a logon em ambos os perfis para verificar o status.",Wle="Voc\xEA est\xE1 prestes a mesclar esses dois perfis.",Kle="A mesclagem de perfis \xE9 permanente e n\xE3o pode ser desfeita.",Jle="Os perfis foram mesclados com sucesso.",Xle="Ocorreu um problema ao mesclar seu perfil de origem (nome de usu\xE1rio: {sourceUser}) com o seu perfil de destino (nome de usu\xE1rio: {destinationUser}).",Zle="Alguns dos seus dados podem ter sido mesclados no processo, portanto, voc\xEA pode ver que alguns dados est\xE3o desaparecendo do seu perfil de origem e aparecendo em seu perfil de destino.",ece="Voc\xEA pode escolher uma das seguintes a\xE7\xF5es:",tce="{terminateMergeText}: Ele interromper\xE1 e encerrar\xE1 o processo de mesclagem. Voc\xEA poder\xE1 usar os dois perfis como de costume e poder\xE1 disparar uma nova mesclagem a qualquer momento. Os dados que j\xE1 foram mesclados permanecer\xE3o em seu perfil de destino.",oce="{retryMergeText}: Ele executar\xE1 o processo de mesclagem para voc\xEA mais uma vez. Seu perfil de origem ser\xE1 bloqueado durante o processo de mesclagem.",rce="Mesclagem em andamento. Ele pode demorar v\xE1rias minutos para ser conclu\xEDdo.",nce="Sua mesclagem foi encerrada.",sce="Quando voc\xEA clicar em 'Aceitar e continuar', o processo de mesclagem ser\xE1 iniciado. Voc\xEA ainda poder\xE1 usar o perfil que est\xE1 conectado no momento, mas o outro perfil ser\xE1 bloqueado.",ice="Enviaremos uma atualiza\xE7\xE3o para {email} quando a mesclagem dos perfis for conclu\xEDda.",ace="Voc\xEA pode usar qualquer conta listada acima para se conectar.";var lce="Microsoft MVP";var cce="Student Ambassador do Microsoft Learn";var dce="Aceite a pol\xEDtica de privacidade.";var uce="Voc\xEA est\xE1 conectado como",pce="Entrar com uma conta diferente";var mce="Diga sua opini\xE3o",fce="Fale mais.",gce="D\xEA sua opini\xE3o.",hce="D\xEA a sua opini\xE3o! Seus coment\xE1rios s\xE3o essenciais para n\xF3s.";var bce="P\xE9ssimo";var _ce="Enviar uma mensagem para mim";var vce="Agradecemos seus coment\xE1rios.",yce="Agradecemos seus coment\xE1rios valiosos.",xce="Isto n\xE3o est\xE1 completamente certo.";var Tce="Este artigo \xE9 \xFAtil",Sce="Este artigo n\xE3o \xE9 \xFAtil",Ece="Essa certifica\xE7\xE3o \xE9 renov\xE1vel",wce="Esta p\xE1gina";var Cce="Microsoft Build";var Ace="Registrar agora";var kce="A IA interrompeu o setor. Junte-se a n\xF3s enquanto perturbamos um pouco mais.",Ice="21 a 23 de maio de 2024",Pce="Dica",Cc="T\xEDtulo";var Lce="Sua conta do Azure {email} tem v\xE1rios locat\xE1rios. Escolha um para esta experi\xEAncia:",Rce="Voc\xEA j\xE1 est\xE1 entrou no Learn com a conta abaixo. Deseja continuar a experi\xEAncia atual com essa conta?",Mce="Confirmar sua conta",Dce="Continuar com a conta",$ce="Escolha um dos locat\xE1rios do Azure",Nce="Avalia\xE7\xE3o gratuita do Azure",qce="Ops! Nenhuma assinatura do Azure dispon\xEDvel nesta conta",Oce="Sua conta {email} n\xE3o tem uma assinatura do Azure associada. Fique \xE0 vontade para experimentar uma avalia\xE7\xE3o gratuita do Azure ou entrar em uma conta diferente!",Fce="Se sua conta n\xE3o tiver um perfil do Learn registrado, esse processo concluir\xE1 isso para voc\xEA.";var Uce="Entre com sua conta.",zC="Usar uma conta diferente";var or="Treinamento",Hce="Treinamento neste curso";var zce="Dura\xE7\xE3o";var rN="Opa, algo deu errado. Recarregue a p\xE1gina e tente novamente.";var Gd="Tente novamente";var Vd="Experimente",Bce="Experimente a API REST com as entradas abaixo.",Gce="Houve um problema ao processar sua solicita\xE7\xE3o",Vce="Tutorial";var jce="\xDAltimos 7 dias",Yce="\xDAltimas 24 horas",Qce="\xDAltimos 30 dias",Wce="\xDAltimos 365 dias";var Kce='Precisa de ajuda? Confira nosso guia de solu\xE7\xE3o de problemas ou forne\xE7a coment\xE1rios espec\xEDficos relatando um problema.';var rh="Twitter";var Jce="tipo";var Xce="Unidade {index} de {total}",Zce="Unidade",ede="Unidades",tde="{count} unidade",ode="{count} unidades";var rde='O Microsoft Learn enviar\xE1 um email para voc\xEA em {email}. Voc\xEA pode optar por cancelar a assinatura do Microsoft Learn.',nde="Cancelar assinatura agora";var BC="URL",nh="URL copiada!";var sde='Ao marcar a caixa, voc\xEA est\xE1 confirmando que leu e concordou com o Contrato de candidato do {product} e o Contrato do programa de credenciais.';var ide="{text} \xE9 obrigat\xF3rio.";var ade="Verifique sua conta",jd="Vers\xE3o",lde="Vers\xF5es",nN="V\xEDdeo";var sN="Exibir detalhes de certifica\xE7\xE3o";var hy="Exibir detalhes";var cde="Exibir os resultados",dde="Exibir resultados ({totalResults})";var ude="Exibir perfil de {userDisplayName}",pde="M\xE1quina",mde="Recomendamos usar o Visual Studio 2019.",fde="Baixar agora",gde="Documenta\xE7\xE3o do Visual Studio",hde="Iniciar modo de VM",bde="Carregando a m\xE1quina virtual...",iN="Esta unidade requer uma VM para ser conclu\xEDda.",aN="O modo de VM oferece um ambiente gratuito de m\xE1quina virtual baseado na Web para concluir as etapas nesta unidade.",_de="Sim, ativar uma nova VM",vde="Uma VM para uma unidade diferente j\xE1 est\xE1 ativa",yde="Voc\xEA j\xE1 abriu uma VM no m\xF3dulo {lab-name}. Se voc\xEA ativar esta VM, perder\xE1 o trabalho do outro m\xF3dulo.",xde="Tentar iniciar o modo de VM novamente",Tde="Entre para iniciar o modo de VM";var Sde="Aviso",Ede="Esta p\xE1gina foi \xFAtil?";var wde="P\xE1gina da Web";var GC="Semana";var VC="Semanas";var Cde="H\xE1 {duration} semanas",jC="Bem-vindo(a) de volta, {user}",Ade='Bem-vindo(a) ao Microsoft Learn!';var kde="Achamos que voc\xEA pode gostar destes",Ide="Qual o motivo dos seus coment\xE1rios?";var Pde="Documenta\xE7\xE3o do Windows";var rm="{totalXP} XP";var Lde="Year",lN="Years";var fl="Yes",sh="Sim, excluir";var Rde="Sim, remover";var Mde="Voc\xEA ainda n\xE3o tem cole\xE7\xF5es.";var Dde="Voc\xEA ganhou pontos de experi\xEAncia por concluir a verifica\xE7\xE3o de conhecimentos.",$de="Voc\xEA ganhou pontos de experi\xEAncia por concluir a tarefa.";var Nde="Voc\xEA deve usar os recursos fornecidos pela \xE1rea restrita para verificar seu trabalho.";var qde="Sua conta";var YC="Seu trabalho n\xE3o foi conclu\xEDdo corretamente.",Ode="Muitas tentativas.",Fde="Voc\xEA n\xE3o receber\xE1 notifica\xE7\xF5es sobre as futuras informa\xE7\xF5es relacionadas ao Microsoft Learn se cancelar a assinatura.";var Ude="O MSDN TechNet foi desativado e este artigo n\xE3o existe mais. Os links a seguir t\xEAm informa\xE7\xF5es relacionadas:",Hde="Conte\xFAdo arquivado do TechNet Wiki",zde="F\xF3runs arquivados do MSDN e TechNet";var Bde="Documenta\xE7\xE3o do Microsoft Learn",Gde="P\xE1gina inicial do Microsoft Learn",Vde="Microsoft Q&A";var jde=new WeakMap,In=e=>(...t)=>{let o=e(...t);return jde.set(o,!0),o},nm=e=>typeof e=="function"&&jde.has(e);var cN=typeof window<"u"&&window.customElements!=null&&window.customElements.polyfillWrapFlushCallback!==void 0,QC=(e,t,o=null,r=null)=>{for(;t!==o;){let n=t.nextSibling;e.insertBefore(t,r),t=n}},sm=(e,t,o=null)=>{for(;t!==o;){let r=t.nextSibling;e.removeChild(t),t=r}};var Ks={},Yd={};var gl=`{{lit-${String(Math.random()).slice(2)}}}`,dN=``,Yde=new RegExp(`${gl}|${dN}`),ih="$lit$",by=class{constructor(t,o){this.parts=[],this.element=o;let r=[],n=[],s=document.createTreeWalker(o.content,133,null,!1),i=0,a=-1,l=0,{strings:c,values:{length:d}}=t;for(;l0;){let b=c[l],_=WC.exec(b)[2],y=_.toLowerCase()+ih,x=p.getAttribute(y);p.removeAttribute(y);let C=x.split(Yde);this.parts.push({type:"attribute",index:a,name:_,strings:C}),l+=C.length-1}}p.tagName==="TEMPLATE"&&(n.push(p),s.currentNode=p.content)}else if(p.nodeType===3){let m=p.data;if(m.indexOf(gl)>=0){let f=p.parentNode,g=m.split(Yde),b=g.length-1;for(let _=0;_{let o=e.length-t.length;return o>=0&&e.slice(o)===t},uN=e=>e.index!==-1,Js=()=>document.createComment(""),WC=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;var ah=class{constructor(t,o,r){this.__parts=[],this.template=t,this.processor=o,this.options=r}update(t){let o=0;for(let r of this.__parts)r!==void 0&&r.setValue(t[o]),o++;for(let r of this.__parts)r!==void 0&&r.commit()}_clone(){let t=cN?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),o=[],r=this.template.parts,n=document.createTreeWalker(t,133,null,!1),s=0,i=0,a,l=n.nextNode();for(;se}),eNe=` ${gl} `,hl=class{constructor(t,o,r,n){this.strings=t,this.values=o,this.type=r,this.processor=n}getHTML(){let t=this.strings.length-1,o="",r=!1;for(let n=0;n-1||r)&&s.indexOf("-->",i+1)===-1;let a=WC.exec(s);a===null?o+=s+(r?eNe:dN):o+=s.substr(0,a.index)+a[1]+a[2]+ih+a[3]+gl}return o+=this.strings[t],o}getTemplateElement(){let t=document.createElement("template"),o=this.getHTML();return Wde!==void 0&&(o=Wde.createHTML(o)),t.innerHTML=o,t}};var Wd=e=>e===null||!(typeof e=="object"||typeof e=="function"),KC=e=>Array.isArray(e)||!!(e&&e[Symbol.iterator]),lh=class{constructor(t,o,r){this.dirty=!0,this.element=t,this.name=o,this.strings=r,this.parts=[];for(let n=0;n{try{let e={get capture(){return Kde=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{}})();var am=class{constructor(t,o,r){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=o,this.eventContext=r,this.__boundHandleEvent=n=>this.handleEvent(n)}setValue(t){this.__pendingValue=t}commit(){for(;nm(this.__pendingValue);){let s=this.__pendingValue;this.__pendingValue=Ks,s(this)}if(this.__pendingValue===Ks)return;let t=this.__pendingValue,o=this.value,r=t==null||o!=null&&(t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive),n=t!=null&&(o==null||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),n&&(this.__options=tNe(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=Ks}handleEvent(t){typeof this.value=="function"?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}},tNe=e=>e&&(Kde?{capture:e.capture,passive:e.passive,once:e.once}:e.capture);var JC=class{handleAttributeExpressions(t,o,r,n){let s=o[0];return s==="."?new _y(t,o.slice(1),r).parts:s==="@"?[new am(t,o.slice(1),n.eventContext)]:s==="?"?[new im(t,o.slice(1),r)]:new lh(t,o,r).parts}handleTextExpression(t){return new ms(t)}},XC=new JC;function mN(e){let t=pN.get(e.type);t===void 0&&(t={stringsArray:new WeakMap,keyString:new Map},pN.set(e.type,t));let o=t.stringsArray.get(e.strings);if(o!==void 0)return o;let r=e.strings.join(gl);return o=t.keyString.get(r),o===void 0&&(o=new by(e,e.getTemplateElement()),t.keyString.set(r,o)),t.stringsArray.set(e.strings,o),o}var pN=new Map;var fN=new WeakMap,v=(e,t,o)=>{let r=fN.get(t);r===void 0&&(sm(t,t.firstChild),fN.set(t,r=new ms(Object.assign({templateFactory:mN},o))),r.appendInto(t)),r.setValue(e),r.commit()};typeof window<"u"&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");var u=(e,...t)=>new hl(e,t,"html",XC);var gN=class{constructor(t){this.classes=new Set,this.changed=!1,this.element=t;let o=(t.getAttribute("class")||"").split(/\s+/);for(let r of o)this.classes.add(r)}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)}}},Jde=new WeakMap,Wn=In(e=>t=>{if(!(t instanceof ya)||t instanceof Qd||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:r}=o,n=Jde.get(t);n===void 0&&(r.setAttribute("class",o.strings.join(" ")),Jde.set(t,n=new Set));let s=r.classList||new gN(r);n.forEach(i=>{i in e||(s.remove(i),n.delete(i))});for(let i in e){let a=e[i];a!=n.has(i)&&(a?(s.add(i),n.add(i)):(s.remove(i),n.delete(i)))}typeof s.commit=="function"&&s.commit()});var hN=new WeakMap,wt=In(e=>t=>{let o=hN.get(t);if(e===void 0&&t instanceof ya){if(o!==void 0||!hN.has(t)){let r=t.committer.name;t.committer.element.removeAttribute(r)}}else e!==o&&t.setValue(e);hN.set(t,e)});var rNe=In(e=>t=>{let o;if(t instanceof am||t instanceof ms)throw new Error("The `live` directive is not allowed on text or event bindings");if(t instanceof im)Xde(t.strings),o=t.element.hasAttribute(t.name),t.value=o;else{let{element:r,name:n,strings:s}=t.committer;if(Xde(s),t instanceof Qd){if(o=r[n],o===e)return}else t instanceof ya&&(o=r.getAttribute(n));if(o===String(e))return}t.setValue(e)}),Xde=e=>{if(e.length!==2||e[0]!==""||e[1]!=="")throw new Error("`live` bindings can only contain a single expression")};var Zde=(e,t)=>{let o=e.startNode.parentNode,r=t===void 0?e.endNode:t.startNode,n=o.insertBefore(Js(),r);o.insertBefore(Js(),r);let s=new ms(e.options);return s.insertAfterNode(n),s},lm=(e,t)=>(e.setValue(t),e.commit(),e),bN=(e,t,o)=>{let r=e.startNode.parentNode,n=o?o.startNode:e.endNode,s=t.endNode.nextSibling;s!==n&&QC(r,t.startNode,s,n)},_N=e=>{sm(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},eue=(e,t,o)=>{let r=new Map;for(let n=t;n<=o;n++)r.set(e[n],n);return r},tue=new WeakMap,oue=new WeakMap,Pn=In((e,t,o)=>{let r;return o===void 0?o=t:t!==void 0&&(r=t),n=>{if(!(n instanceof ms))throw new Error("repeat can only be used in text bindings");let s=tue.get(n)||[],i=oue.get(n)||[],a=[],l=[],c=[],d=0;for(let y of e)c[d]=r?r(y,d):d,l[d]=o(y,d),d++;let p,m,f=0,g=s.length-1,b=0,_=l.length-1;for(;f<=g&&b<=_;)if(s[f]===null)f++;else if(s[g]===null)g--;else if(i[f]===c[b])a[b]=lm(s[f],l[b]),f++,b++;else if(i[g]===c[_])a[_]=lm(s[g],l[_]),g--,_--;else if(i[f]===c[_])a[_]=lm(s[f],l[_]),bN(n,s[f],a[_+1]),f++,_--;else if(i[g]===c[b])a[b]=lm(s[g],l[b]),bN(n,s[g],s[f]),g--,b++;else if(p===void 0&&(p=eue(c,b,_),m=eue(i,f,g)),!p.has(i[f]))_N(s[f]),f++;else if(!p.has(i[g]))_N(s[g]),g--;else{let y=m.get(c[b]),x=y!==void 0?s[y]:null;if(x===null){let C=Zde(n,s[f]);lm(C,l[b]),a[b]=C}else a[b]=lm(x,l[b]),bN(n,x,s[f]),s[y]=null;b++}for(;b<=_;){let y=Zde(n,a[_+1]);lm(y,l[b]),a[b++]=y}for(;f<=g;){let y=s[f++];y!==null&&_N(y)}tue.set(n,a),oue.set(n,c)}});var rue=new WeakMap,H=In(e=>t=>{if(!(t instanceof ms))throw new Error("unsafeHTML can only be used in text bindings");let o=rue.get(t);if(o!==void 0&&Wd(e)&&e===o.value&&t.value===o.fragment)return;let r=document.createElement("template");r.innerHTML=e;let n=document.importNode(r.content,!0);t.setValue(n),rue.set(t,{value:e,fragment:n})});var nue=new WeakMap,sue=2147483647,Kd=In((...e)=>t=>{let o=nue.get(t);o===void 0&&(o={lastRenderedIndex:sue,values:[]},nue.set(t,o));let r=o.values,n=r.length;o.values=e;for(let s=0;so.lastRenderedIndex);s++){let i=e[s];if(Wd(i)||typeof i.then!="function"){t.setValue(i),o.lastRenderedIndex=s;break}s{let l=o.values.indexOf(i);l>-1&&l ${t.text} `:"",l=t&&t.clickHandler?u` `:"",c=t?u`
${a||l}
`:"";return v(u`

${H(e)}

${c}
`,i),no(),i}function ee(e){let t,o=/\+/g,r=/([^&=]+)=?([^&]*)/g,n=i=>decodeURIComponent(i.replace(o," "));e===void 0&&(e=Q.search),e=e.substring(1);let s={};for(;t=r.exec(e);)s[n(t[1])]=n(t[2]);return s}function F(e,t=!1){let o=[];for(let r in e)e.hasOwnProperty(r)&&e[r]!==""&&e[r]!==null&&e[r]!==void 0&&(t&&Array.isArray(e[r])?e[r].forEach(n=>{o.push(encodeURIComponent(r)+"="+encodeURIComponent(n))}):o.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r].toString())));return o.join("&")}function It(e,t,o){let r=ee(),n=!1;for(let c in e)e.hasOwnProperty(c)&&r[c]!==String(e[c])&&(r[c]=e[c],n=!0);let s=Q.hash;if(typeof o=="string"&&(o=o.trim(),o.substr(0,1)!=="#"&&o!==""&&(o=`#${o}`),s!==o&&(s=o,n=!0)),!n)return;let i=F(r);i.length>0&&(i="?"+i);let a=`${Q.protocol}//${Q.host}${Q.pathname}${i}${s}`,l=ar.state||{};t==="pushState"?ar.pushState(l,T.title,a):t==="replaceState"?ar.replaceState(l,T.title,a):Q.href=a}function vN(e){let t=T.createElement("a");/^https:\/\/|^http:\/\//.test(e)?t.href=e:/^\/\//.test(e)?t.href=Q.protocol+e:t.href=Q.origin+e;let o=t.pathname[0]==="/"?t.pathname:"/"+t.pathname,r=t.host.replace(/:443$|:80$/,""),n=t.hostname.replace(/:443$|:80$/,"");return{hash:t.hash,host:r,hostname:n,href:t.href,origin:`${t.protocol}//${r}`,pathname:o,protocol:t.protocol,search:t.search}}function Jd(e,t=2e3,o=";"){let r=encodeURIComponent(o).length,n=[],s,i;for(let a of e){let l=encodeURIComponent(a).length;if(l>t)throw new Error(`The encoded length of "${a}" (${l}) is greater than the max partition length (${t}).`);(!s||i+l>t)&&(s=[],n.push(s),i=0),s.push(a),i+=l+r}return n}function Kn(e=new URL(Q.href)){let t=new URLSearchParams(e.search),o={};return t.forEach((r,n)=>o[n]=r),o}function Xs(e,t=new URL(Q.href)){let o=t.searchParams,r=Kn(t);for(let n in r)o.has(n)||o.set(n,r[n]);for(let n in e)e[n]===null||e[n]===void 0?o.delete(n):o.set(n,e[n]);return t}var Jn=(()=>{let e;return t=>{if(!t&&e!==void 0)return e;let o=ee().dataSource;return e=k("is_archived")==="true"||h.data.pageTemplate==="SearchPage"&&o==="previousVersions",e}})();function nNe(){return k("is_retired")==="true"}function sNe(){if(!Jn())return;let e=$e.machineTranslated,t=e?LK:PK,o=e?IK:AK,r=k("current_version_url"),n=nNe()?t:o;if(k("vs_archive")==="true"){let i=mde,a=fde;jt(i,{url:`https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=${location.host}&utm_campaign=button+cta&utm_content=download+vs2019`,text:a})}if(r)jt(n,{url:r,text:qK});else if(h.data.pageTemplate==="SearchPage"){let i=o$;jt(VK,{url:location.origin,text:i})}else{let i=o$;jt(n,{url:location.origin,text:i})}}function iue(){Jn()&&sNe()}var iNe=/([a-z]\.)([a-z])/gi,aNe=/([a-z])([A-Z]+[a-z])/g,lNe=/(\w\/)(\S?)/gi,ZC="",yN=`$1${ZC}$2`,cNe=/\u200B/g;function Zr(e,t=3){return!e||!e.length||t===0||(t&2&&(e=e.replace(iNe,yN)),t&1&&(e=e.replace(aNe,yN)),t&4&&(e=e.replace(lNe,yN))),e}function aue(e,t){let o=[];if(!e||t===0)return o;e=Zr(e,t);let r=0,n=e.indexOf(ZC,r);for(;n!==-1;)o.push(e.substring(r,n)),o.push(document.createElement("wbr")),r=n+ZC.length,n=e.indexOf(ZC,r);return o.push(e.substring(r)),o}function lue(e){return e.replace(cNe,"")}var dNe={"&":"&","<":"<",">":">",'"':""","'":"'"},cue=/[&<>"']/g,uNe=RegExp(cue.source);function Ve(e){return e&&uNe.test(e)?e.replace(cue,t=>dNe[t]):e}function eA(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var xN=!1;function due(){document.body.insertAdjacentHTML("beforeend","
");let e=document.body.lastElementChild;return xN=e.innerText==="",document.body.removeChild(e),xN}function ch(e){if(xN)return e.innerText;let t=e.cloneNode(!0);t.hidden=!0,document.body.appendChild(t);function o(r){r!==null&&(o(r.nextElementSibling),window.getComputedStyle(r,null).getPropertyValue("display")==="none"?r.parentElement.removeChild(r):o(r.firstElementChild))}return o(t.firstElementChild),document.body.removeChild(t),t.textContent}function fn(e,t={year:"numeric",month:"short",day:"numeric"},o=h.data.userLocale){return new Date(e).toLocaleDateString(o,t).replace(/\u200E/g,"")}function uue(e,t={hour:"numeric",minute:"numeric"},o=h.data.userLocale){return new Date(e).toLocaleTimeString(o,t).replace(/\u200E/g,"")}function tA(e){Array.from(document.querySelectorAll("span[data-localize-date]")).forEach(o=>{if(o.textContent!==""){let r=fn(new Date(o.textContent),e);o.textContent=r}})}var pNe=/(^|\s)(C#|F#|C\+\+)($|\s|[.,!?;:])/g;function oA(e,t="text"){let o=`$1$2${t==="text"?"\u200E":"‎"}$3`;return e.replace(pNe,o)}function pue(e=document.body,t=h.data.userLocale){e.querySelectorAll("time[data-article-date]").forEach(r=>{r.classList.remove("is-invisible");let n;try{if(n=new Date(r.getAttribute("datetime")),isNaN(n.getTime()))return}catch{return}r.setAttribute("datetime",n.toISOString());let s={year:"numeric",month:"2-digit",day:"2-digit"};r.getAttribute("data-article-date-source")==="ms.date"&&(s.timeZone="UTC");let a=fn(n,s,t);r.textContent=a})}function it(e=["api-branch","branch"],t=""){if(E.accessLevel==="local")return"main";if(E.reviewFeatures===!0){let o=ee(Q.search);return e.reduce((r,n)=>r||o[n],"")||t}return null}var rA=location.pathname.split("/").map(e=>e.toLowerCase()),mNe=rA.length>2?rA[2]:"",Ht=mNe==="test";var fNe=k("uhfHeaderId"),gNe=fNe,Gt=hNe({brand:h.data.brand,pathnameSegments:rA,page_kind:k("page_kind"),page_type:k("page_type"),headerId:gNe,isAdmin:k("is_admin"),isEditor:k("is_editor")??"false"});function hNe(e){let{brand:t,pathnameSegments:o,page_kind:r,page_type:n,headerId:s,isAdmin:i,isEditor:a}=e;if(i==="true")return"Admin";if(a==="true")return"Editor";if(s==="MSDocsHeader-Archive")return"Archive";if(r==="docs"&&n==="home"||n==="welcome")return"Docs_Home";if(n==="profile")return"Profile";if(n==="locale")return"Locale";if(n==="search")return"Search";if(r==="assessments")return"Assessments";switch(o[2]){case"docs":return"Documentation";case"training":return"Training";case"certifications":return A.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"&&E.siteName==="learn")return"Training";if(t==="mooncake")return"Mooncake";if(!s&&E.siteName==="learn")return"Learn";switch(s){case"startups":return"Startups";case"answers":case"answersv2":case"answersv2MOD":return"Q&A";case"mooncake":return"Mooncake";case"MSDocsHeader-Credentials":return"Credentials";case"MSDocsHeader-Certifications":return A.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"}}function TN(e){return decodeURIComponent(atob(_Ne(e).replace(/_/g,"/").replace(/-/g,"+")).split("").map(t=>`%${("00"+t.charCodeAt(0).toString(16)).slice(-2)}`).join(""))}function _Ne(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 SN="id_token",EN="docsAuthToken",mue="account_linking_token",vy=class{constructor({detail:t}){this.message="invalid token",this.detail=t}},xa=class{constructor({detail:t}){this.message="invalid claim",this.detail=t}},nA=class{constructor({detail:t}){this.message="malformed claim",this.detail=t}};function sA(e){ue.setItem(SN,e)}function Xd(){return ue.getItem(SN)}function iA(){ue.removeItem(SN)}function aA(e){ue.setItem(EN,e)}function fs(){return ue.getItem(EN)}function dh(){ue.removeItem(EN)}function bl(){return ue.getItem(mue)}function Tr(){ue.removeItem(mue)}function _l(e,t={nbfClockSkewInMilliseconds:2500}){try{if(!(e&&e.length&&e.indexOf(".")>-1))throw new vy({detail:"Invalid JWT - no separators found."});let r=e.split("."),n=JSON.parse(TN(r[1]));if(!n)throw new vy({detail:"Invalid JWT - payload is missing."});if(n.hasOwnProperty("nbf")){let s=n.nbf;if(isNaN(s))throw new nA({detail:"Invalid NBF claim - claim is malformed."});let i=new Date(0);i.setUTCSeconds(n.nbf);let a=new Date(Date.now()+t.nbfClockSkewInMilliseconds);if(i>a)throw new xa({detail:"Invalid NBF claim - token not yet valid."})}if(n.hasOwnProperty("exp")){let s=n.exp;if(isNaN(s))throw new nA({detail:"Invalid EXP claim - claim is malformed."});let i=new Date(0);i.setUTCSeconds(n.exp);let a=new Date(Date.now());if(i<=a)throw new xa({detail:"Invalid EXP claim - token has expired."})}return n}finally{}}var lA=e=>{if(!(e&&e.length&&e.indexOf(".")>-1))throw new vy({detail:"Invalid JWT - no separators found."});let o=e.split(".");return JSON.parse(TN(o[1]))};var vNe=30*1e3,P=async(e,t,o=vNe)=>{t=t||{};let r=new AbortController;t.signal=r.signal;let n=setTimeout(()=>r.abort(),o),s=await fetch(e,t);return clearTimeout(n),s};function N(e,t,o=!0,r=!0){t=t||{},t.mode="cors",t.credentials!=="omit"&&(t.credentials="same-origin");let n=new Request(e,t);return o&&fs()&&n.headers.set("Authorization",`Bearer ${fs()}`),(n.method==="PUT"||n.method==="POST")&&r&&n.headers.set("Content-Type","application/json"),n}var{userLocale:Qt}=h.data,fue={type:"static-header",brandLink:{displayName:"Learn",href:`/${Qt}/`,biName:"learn"},navLinks:[{title:Tc,href:`/${Qt}/docs/`,biName:"documentation"},{title:or,href:`/${Qt}/training/`,biName:"training"},{title:A.previewCredentialsL1?Kr:ha,href:A.previewCredentialsL1?`/${Qt}/credentials/`:`/${Qt}/certifications/`,biName:A.previewCredentialsL1?"credentials":"certifications"},{title:"Q&A",href:`/${Qt}/answers/`,biName:"qna"},{title:HD,href:`/${Qt}/samples/browse/`,biName:"code-samples"},{title:iE,href:`/${Qt}/assessments/`,biName:"assessments"},{title:Ys,href:`/${Qt}/shows/`,biName:"shows"}]},wN=location.hostname.endsWith(".microsoft.scloud")||location.hostname.endsWith("-microsoft-scloud.local"),gue={type:"static-header",brandLink:{displayName:"Learn",href:`/${Qt}/`,biName:"learn"},navLinks:[{title:nle,href:wN?`/${Qt}/microsoft-government-secret/azure/azure-government-secret`:`/${Qt}/microsoft-government-topsecret/azure/azure-government-top-secret`,biName:"azure"},{title:ale,href:wN?`/${Qt}/microsoft-365-ussec`:`/${Qt}/microsoft-365-usnat`,biName:"microsoft-365"},{title:aoe,href:wN?`/${Qt}/microsoft-government-secret/power-platform`:`/${Qt}/microsoft-government-topsecret/power-platform`,biName:"power-latform"},{title:Aoe,href:`/${Qt}/docs/`,biName:"public-documentation"},{title:or,href:`/${Qt}/training/`,biName:"training"},{title:A.previewCredentialsL1?Kr:ha,href:A.previewCredentialsL1?`/${Qt}/credentials/`:`/${Qt}/certifications/`,biName:A.previewCredentialsL1?"credentials":"certifications"}]},hue={type:"static-header",brandLink:{displayName:"Developer",href:`/${Qt}/`,biName:"developer"},navLinks:[{title:"Learn",href:`https://learn.microsoft.com/${Qt}/`,biName:"learn"},{title:Tc,href:`https://learn.microsoft.com/${Qt}/docs/`,biName:"documentation"},{title:or,href:`https://learn.microsoft.com/${Qt}/training/`,biName:"training"},{title:"Q&A",href:`https://learn.microsoft.com/${Qt}/answers/`,biName:"qna"},{title:HD,href:`https://learn.microsoft.com/${Qt}/samples/browse/`,biName:"code-samples"},{title:Ys,href:`https://learn.microsoft.com/${Qt}/shows/`,biName:"shows"},{title:Zp,href:`https://learn.microsoft.com/${Qt}/events/`,biName:"events"}]},bue={type:"static-header",brandLink:{displayName:"Learn",href:`/${Qt}/`,biName:"learn"},navLinks:[{title:or,href:`https://learn.microsoft.com/${Qt}/training/`,biName:"training"},{title:A.previewCredentialsL1?Kr:ha,href:A.previewCredentialsL1?`https://learn.microsoft.com/${Qt}/credentials/`:`https://learn.microsoft.com/${Qt}/certifications/`,biName:A.previewCredentialsL1?"credentials":"certifications"},{title:Jae,href:`https://support.azure.cn/${Qt}/support/contact/`,biName:"support"},{title:Ys,href:`https://learn.microsoft.com/${Qt}/shows/`,biName:"shows"}]};async function vue(e=h.data.userLocale){let t=yNe();if(t==="developer-header"||t==="mooncake-header")return _ue(t);let o=E.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",r={branch:it(["contentnav-branch"],"main")},n=new URL(`/${e}/${o}content-nav/site-header/${t}.json?${F(r)}`,location.origin);try{let s=await P(n.href,{credentials:"include"});if(!s?.ok)throw new Error(`Site navigation JSON not found for ${t} in ${e}.`);return await s.json()}catch{return console.error(`Site navigation fetching error. Loading static version of ${t}.`),_ue(t)}}function yNe(){return E.accessLevel==="isolated"?"isolated-header":E.siteName==="mooncake"?"mooncake-header":Gt==="Developer"?"developer-header":"site-header"}function _ue(e){switch(e){case"isolated-header":return gue;case"mooncake-header":return bue;case"developer-header":return hue;default:return fue}}var uh,yue,ph=new Promise(e=>yue=e);async function xue(){uh=await vue(),yue()}function Tue(){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 r=o.querySelector("button[data-search-expander-trigger-open]"),n=o.querySelector("button[data-search-expander-trigger-close]");!r||!n||(r.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),n.addEventListener("click",()=>{e.classList.toggle("overflow-x-hidden")}),o.addEventListener("keydown",s=>{s.key==="Escape"&&!e.classList.contains("overflow-x-hidden")&&e.classList.toggle("overflow-x-hidden")}),window.addEventListener("click",s=>{s.target instanceof Element&&s.type==="click"&&!o.contains(s.target)&&!e.classList.contains("overflow-x-hidden")&&(s.target.hasAttribute("data-search-expander-autocomplete-suggestion")||e.classList.toggle("overflow-x-hidden"))}))}var yy=["a","area","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'];function cA(e){return e.matches(yy.join(","))}function dA(e,t=!0){return o=>{if(o.target instanceof Element&&!e.contains(o.target)){o.preventDefault();let r,n=Array.from(e.querySelectorAll(yy.join(",")));o.target.compareDocumentPosition(e)&(t?Node.DOCUMENT_POSITION_PRECEDING:Node.DOCUMENT_POSITION_FOLLOWING)&&n.reverse();let s=n.length;for(;s--;){let i=n[s],a=getComputedStyle(i);if(!i.hidden&&a.display!=="none"&&a.visibility!=="hidden"&&(i.offsetWidth>0||i.offsetHeight>0)){r=i;break}}r=r||e,r.focus()}}}function CN(e){let t=e.createElement("span");return t.setAttribute("tabindex","0"),t.classList.add("modal-tab-sentinel"),t}var uA=[];function rr(e){uA.push(e)}function qt(e,t,o,r){e.addEventListener(t,o,r);let n=()=>e.removeEventListener(t,o,r);return rr(n),n}function Sue(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",(r=!0)=>{t.style.left="",t.style.right="",t.style.top="",t.style.position="",r&&(e.scrollTop=o)}}var mh=e=>{let t=e.querySelector("[data-autofocus]");if(t&&cA(t)){t.focus();return}e.focus()},pe=class e{constructor(t){this.restoreScrollbar=()=>{};this.clickHandler=t=>{let o=t.target,r=o.closest(".modal-pop-content"),n=o.closest(".modal-close");n?(t.preventDefault(),this.hide(n.getAttribute("data-modal-result"))):r&&(t.preventDefault(),this.popContent())};this.escHandler=t=>{t.keyCode===27&&(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","visibility-hidden-visual-diff"),this.container.setAttribute("data-test-id","modal-container"),v(u` ${t} `,this.container),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",CN(T)),T.body.insertAdjacentElement("afterbegin",this.wrapper),this.wrapper.addEventListener("click",this.clickHandler),this.wrapper.addEventListener("keydown",this.escHandler),this.restoreScrollbar=Sue(T.documentElement,T.scrollingElement||T.documentElement,(T.scrollingElement||T.documentElement||T.body).scrollTop),this.container.classList.add("is-active"),T.body.insertAdjacentElement("afterbegin",CN(T)),this.setAriaLabelledBy(this.container),window.dispatchEvent(new CustomEvent("modal-show",{detail:{container:this.container}})),this.lastFocus=T.activeElement,this.focusHandler=dA(this.wrapper),qt(window,"focus",this.focusHandler,!0),mh(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,r=!1){let n=this.container.querySelector(".modal-slide-container"),s=n.querySelector(".modal-slide:first-of-type");if(n===null||s===null)throw new Error(`The ${n===null?"modal-slide-container":"modal-slide"} class is missing!`);n.appendChild(t);let i={forward:$e.userDir==="ltr"?"slide-right":"slide-left",backward:$e.userDir==="ltr"?"slide-left":"slide-right"},a=r?i.forward:i.backward;o?(setTimeout(()=>{s.classList.add(a),t.classList.add(a)},50),setTimeout(()=>{t.classList.remove(a),l(this)},250)):l(this);function l(c){n.removeChild(s),mh(c.container),c.setAriaLabelledBy(c.container)}}pushContent(t){this.contentStack.push(t),v(u` ${this.contentElement} `,this.container),this.setAriaLabelledBy(this.container),mh(this.contentElement)}popContent(){if(this.contentStack&&this.contentStack.length<=1)throw new Error("Error getting modal content");this.contentStack.pop(),v(u` ${this.contentElement} `,this.container),mh(this.contentElement)}get contentElement(){return this.contentStack[this.contentStack.length-1]}};var pA=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}};function Eue(){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")||mA(o))},{passive:!0})}async function mA(e){e.getAttribute("data-dismissable")==="disappearing"&&(e.classList.add("disappearing"),await new Promise(t=>setTimeout(t,500))),e.classList.remove("disappearing"),e.remove(),no()}var cm=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&&mA(t),document.body.insertAdjacentElement("afterbegin",this.container),this.container.classList.add("appearing"),setTimeout(()=>{no()},10),setTimeout(()=>{mA(this.container)},3500)}};var fh=Intl.DateTimeFormat().resolvedOptions().timeZone;function to(e){let t=Math.floor(e/60),o=e%60;return t===0?Fg.replace("{numberOfMinutes}",o.toString()):o===0?`${t} ${_Z}`:yZ.replace("{numberOfHours}",t.toString()).replace("{numberOfMinutes}",o.toString())}var xy=new Intl.DateTimeFormat(h.data.userLocale,{hour:"numeric",minute:"numeric"}),LN=new Intl.DateTimeFormat(h.data.userLocale,{month:"long",day:"numeric"}),brt=new Intl.DateTimeFormat(h.data.userLocale,{month:"short",day:"numeric"}),PN=new Intl.DateTimeFormat(h.data.userLocale,{month:"long",year:"numeric"}),AN=new Intl.DateTimeFormat(h.data.userLocale,{day:"numeric"}),wue=new Intl.DateTimeFormat(h.data.userLocale,{month:"short"}),kN=new Intl.DateTimeFormat(h.data.userLocale,{year:"numeric"}),Po=new Intl.DateTimeFormat(h.data.userLocale,{month:"long",day:"numeric",year:"numeric"}),_rt=new Intl.DateTimeFormat(h.data.userLocale,{weekday:"long",month:"long",day:"numeric",year:"numeric"});function Cue(e=fh){return new Intl.DateTimeFormat(h.data.userLocale,{month:"long",day:"numeric",year:"numeric",timeZone:e})}function Xn(e=fh){return new Intl.DateTimeFormat(h.data.userLocale,{month:"short",day:"numeric",year:"numeric",timeZone:e})}function Aue(e=fh){return new Intl.DateTimeFormat(h.data.userLocale,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",timeZone:e})}function RN(e=fh){return new Intl.DateTimeFormat(h.data.userLocale,{month:"short",day:"numeric",hour:"numeric",timeZone:e})}function ur(e){return Math.floor(e/1e3)}function Ac(e){return Math.floor(e/1e3/60)}function gh(e){let t=e/1e3,o=Math.floor(t/3600),r=IN(Math.floor(t%3600/60)),n=IN(Math.floor(t%3600%60));return o<1?`${r}:${n}`:`${IN(o)}:${r}:${n}`}function fA(e){let t="",o=0,r="",n=Math.floor(e/168),s=Math.floor(e%168/24),i=e-n*168-s*24;if(n>0&&o++,s>0&&o++,i>0&&o++,o>0&&o--,n>0){let l=n===1?GC:VC;a(),t+=n.toString()+" "+l+r,r=""}if(s>0){let l=s===1?KE:Ig;a(),t+=s.toString()+" "+l+r,r=""}if(i>0){let l=i===1?mw:ul;t+=i.toString()+" "+l}return t;function a(){o>0&&(r=", ",o--)}}function gA(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 IN(e){return e<10?`0${e}`:`${e}`}function hA(e,t){let o=Xn().format(e),r=Xn().format(t);return o===r?xy.format(e)!==xy.format(t)?`${wue.format(e)} ${AN.format(e)} ${xy.format(e)} - ${xy.format(t)}`:o:PN.format(e)===PN.format(t)?`${wue.format(e)} ${AN.format(e)} - ${AN.format(t)}, ${kN.format(e)}`:kN.format(e)===kN.format(t)?`${LN.format(e)} - ${Xn().format(t)}`:`${o} - ${r}`}function bA(e){if(e===0)return"PT0S";let t=Math.floor(e/864e5);e=e-t*864e5;let o=e,r=Math.floor(e/36e5);e=e-r*36e5;let n=Math.floor(e/6e4);e=e-n*6e4;let s=Math.floor(e/1e3);e=e-s*1e3;let i="P";return t>0&&(i+=t.toString()+"D"),o>0&&(i+="T"),r>0&&(i+=r.toString()+"H"),n>0&&(i+=n.toString()+"M"),s>0&&(i+=s.toString()+"S"),i}function MN(e){let t="h",o="m",r="s",n=0,s=e.indexOf(t)!==-1,i=e.indexOf(o)!==-1,a=e.indexOf(r)!==-1;return n+=s?Number(e.substring(0,e.indexOf(t)))*3600:0,n+=i?s?Number(e.substring(e.indexOf(t)+1,e.indexOf(o)))*60:Number(e.substring(0,e.indexOf(o)))*60:0,n+=a?Number(i?e.substring(e.indexOf(o)+1,e.indexOf(r)):s?e.substring(e.indexOf(t)+1,e.indexOf(r)):e.substring(0,e.indexOf(r))):0,n}function hh(e){let t="",o="",r="";if(e.indexOf(":")===-1)return Number(e)>0?e+"s":t;let n=e.split(":");return isNaN(Number(n[0]))||isNaN(Number(n[1]))||isNaN(Number(n[2]))&&n.length===3||n.length>3?"":(Number(n[0])>0&&(r=n.length===2?Number(n[0]).toString()+"m":Number(n[0]).toString()+"h"),Number(n[1])>0&&(o=n.length===2?Number(n[1]).toString()+"s":Number(n[1]).toString()+"m"),Number(n[2])>0&&(t=n.length===2?"":Number(n[2]).toString()+"s"),r+o+t)}function xNe(e,t=new Date){return(e.getTime()-t.getTime())/1e3}function kue(e,t=new Date){return Math.max(0,xNe(e,t))}var TNe=0;function Xe(){return`ax-${TNe++}`}function kc(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map(e=>{if(e==="-"||e==="4")return e;let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)}).join("")}function qo(e){return e?e.toLowerCase().replace(/_/g,"-").replace(/\W/g,"-"):""}var Pue=u`
`;function DN(e=!0){let t=e?"color-text-subtle":"white-static-text";return e?u` `:u``}function Iue(e){return u` `}function _A(e){for(let t=0;to.setCustomValidity(/^\s+$/.test(o.value)?Hte:"")),o instanceof HTMLButtonElement&&o.type==="submit"&&(o.onclick=()=>e.classList.add("show-validation-status"))}}async function gn(e,t=!1,o){let r=T.createElement("form");if(r.action="javascript:",e instanceof hl){if(v(e,r),t){let c=r.querySelectorAll("input.loc-checkbox"),d=0,p=r.querySelector("#loc-submit-button");c&&c.forEach(m=>m.addEventListener("change",()=>{m.checked?d++:d--,d===2?p.disabled=!1:p.disabled=!0}))}}else r.appendChild(e);SNe(r);let n=T.createElement("div");n.classList.add("modal-content"),n.appendChild(r);let s=new pe(n),i=!1,a={hasError:!1,data:null};return r.addEventListener("submit",async c=>{c.preventDefault(),a=o?await o(r):{hasError:!1,data:null},a.hasError===!1&&(i=!0,s.hide())}),_A(r),await s.show(),{submitted:i,form:r,data:a.hasError?null:a.data}}function SNe(e){if(e.querySelector("form"))throw new Error("The content argument should not contain a form")}function vl(e,t,o=ps,r=!1,n=h8){return u` `}function Lue(e){if(!e)return;let t=document.getElementById("tagHeading");if(!t)return;let o=t.getAttribute("data-tag-id"),r=t.innerText;e.primary.href.includes("/ask/")&&(e.primary.href=`${e.primary.href}?id=${o}&styleGuideLabel=${r}`)}function Rue(e){if(!e||Gt!=="Q&A")return;let t=h.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 vA=A.userServices&&E.siteName!=="mooncake"&&Gt!=="Developer"&&Gt!=="Startups"&&Gt!=="Regional Directors",bh=Gt==="Third-Party"||Gt==="Admin"||Gt==="Developer"||Gt==="Assessments"||Gt==="Certifications"||Gt==="Credentials"||Gt==="Learn"||Gt==="Shows"||Gt==="Mooncake"||Gt==="Q&A"||Gt==="Training"||Gt==="Legal";function Mue(e){let t=ANe();if(!(!t||t==="exclude"))for(let o of e){let r=o?.id===t;if(r){o.current=r;break}}}var ENe={id:"exclude",pattern:`/${h.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"}}}},wNe={id:"exclude",pattern:`/${h.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"}}}}}}},CNe={id:"exclude",pattern:`/${h.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 ANe(e=k,t=Gt){let o;switch(t){case"Learn":case"Training":o=wNe;break;case"Q&A":o=ENe;break;case"Certifications":case"Credentials":o=CNe;break;default:return e("activeMenuId")}return kNe(o)}function kNe(e,t=Q.pathname){if(!e)return;let o,r=e;do{let n=!0;r.exclude&&t.includes(r.exclude)&&(n=!1),(r.exact&&t!==r.pattern||t.indexOf(r.pattern)===-1)&&(n=!1),n&&(o=r.id),r=r.next}while(r&&!o);return o}var INe="DEV_Homeheader";function Due(){let e=k("uhfHeaderId"),t=e&&e!==INe?e:"";return(E.reviewFeatures?ee()["header-id"]:"")||h.data.context.uhfHeaderId||t}var PNe={"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://pr.learn.microsoft.com":{pdf:"https://review.learn.microsoft.com/pdf"}},LNe={"https://review.learn.microsoft.com":{stayCurrent:"https://review.learn.microsoft.com/api/certification",skillAssessment:"https://review.learn.microsoft.com/api/skillassessment"}};function RNe(e,t){let o=e,r=t.systemContent?e:o,n=PNe[e]||{},s=LNe[e]||{};return{admin:`${o}/api/admin`,selfAssessmentsAdmin:MNe(),apiBrowser:`${o}/api/apibrowser`,assessments:`${r}/api/assessments`,assessmentsAuthoring:`${r}/api/assessments/authoring`,learnAssessments:`${r}/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`},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`,renewalAssessments:`${o}/api/certification/scoredsnapshots`},cloudShell:"https://ux.console.azure.com",contentNav:e,contentOrigin:r,contentAuthorizationService:{setCasTokenCookie:`${o}/api/cas/user/token`,deleteCasTokenCookie:`${o}/api/cas/user/signout`},copilot:{learnCopilotService:`${o}/api/copilot/playground/answers`,duplicateQuestions:`${o}/api/copilot/questions/duplicates`,feedback:`${o}/api/copilot/questions/feedback`,helpfulVote:`${o}/api/copilot/session`,rewrite:`${o}/api/copilot/questions/rewrite`,answer:`${o}/api/copilot/questions/answer`,createQuestionWithAiAnswer:`${o}/api/copilot/questions`},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:`${o}/api/wwl/ilt-scheduling/offerings`,location:`${o}/api/wwl/ilt-scheduling/offerings/location`,languages:`${o}/api/wwl/ilt-scheduling/languages`,duration:`${o}/api/wwl/ilt-scheduling/duration`},learningPath:`${o}/api/hierarchy/paths`,module:`${o}/api/hierarchy/modules`,progress:{batchUnit:`${o}/api/progress/units`,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`,pubbleAuth:`${o}/api/profiles/auth/pubble`,...s},learnAssessment:`${o}/api/rendering`,lists:`${o}/api/lists`,metadata:{platformId:`${o}/api/mms/document/platformId`,metadata:`${o}/api/mms/document/`,schema:`${o}/api/mms/metadataSchema/`},monikers:t.accessLevel==="isolated"?`${r}/api/familyTrees`:`${r}/_api/familyTrees`,nextSteps:`${o}/api/nextsteps`,ocvFeedback:"https://petrol.office.microsoft.com/v1/feedback",pdf:`${e}/pdf`,privacy:{cookieConsentDeleteService:`${e}/api/privacy/cookieDelete`,delete:`${r}/api/privacy/delete`,partialDelete:`${r}/api/privacy/partialdelete`,export:`${r}/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`,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`,link:`${o}/api/profiles/link`,me:`${o}/api/profiles/me`,merge:`${o}/api/profiles/merge`,mergeDetails:`${o}/api/profiles/merge/details`,userRetryMerge:`${o}/api/profiles/merge/userretry`,userDeleteMerge:`${o}/api/profiles/merge/userdelete`,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`},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:`${$ue()}/chat/threads/{communicationChatThreadId}/messages/{messageId}?api-version=2023-11-07`,chatThread:`${$ue()}/chat/threads/{communicationChatThreadId}/messages?api-version=2023-11-07`},questionAnswerCommentVote:`${o}/api/questions/answers/comments/{commentId}/vote`,questionCommentVote:`${o}/api/questions/comments/{commentId}/vote`,questionDetails:`${o}/api/questions/{questionId}/details`,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`},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`,taxonomy:`${o}/api/taxonomies`,tenantManager:`${o}/api/resources/tenant`,uhf:{consentBanner:`${o}/api/GetConsentBanner`},video:`${o}/api/admin`,...n}}function MNe(){return"https://docs-rcs-pubdev.azurewebsites.net"}function $ue(){return E.supportLevel==="production"?"https://docsquestions-acs-public.unitedstates.communication.azure.com":"https://docsquestions-acs-pubdev.unitedstates.communication.azure.com"}var Nue=["azure","azure-portal","blended-learning","build","esi","ignite","inspire","m365","power-pages-learn-hub","services-hub","viva-learning","xbox"],que=["microsoft.com","azure.com","microsoftcrmportals.com","wwl-prod-esiui-stage.azurewebsites.net","cloud.microsoft"],D=RNe(location.origin,E);async function Oue(e,t=h.data.userLocale){let o={branch:it(["contentnav-branch"],"main")},r="content-nav",n=`${D.contentNav}/${t}/${r}/${e}.json?${F(o)}`,s;try{s=await P(n,{credentials:"include"})}catch{return console.error("Content navigation fetching error."),null}if(!s.ok){let a=new Error(`Content navigation JSON not found for ${e} in ${t}.`);return a.headerId=e,console.error(a),null}let i=await s.json();return E.accessLevel==="isolated"&&e==="azure"&&i.callToAction&&i.callToAction.secondary&&i.callToAction.secondary.href.toLowerCase().indexOf("portal.azure.com")!==-1&&(i.callToAction.secondary.href=`https://${E.azurePortalHostname}`),i.items.push({kind:"menu",title:ry,biName:"more",items:[]}),i}var Zs,yA,_h=new Promise(e=>yA=e);async function Fue(){if(!bh){Zs=null,yA();return}let e=Due();if(!e){Zs=null,yA();return}Zs=await Oue(e),Zs&&(Rue(Zs.callToAction),Lue(Zs.callToAction),Mue(Zs.items)),yA()}var at=class{},Zd=class{};var xA=`data:image/svg+xml;base64,${btoa('')}`,TA=`data:image/svg+xml;base64,${btoa('')}`,Uue="a4d008df-4ece-4cb3-b7c9-d1be5ac4cacf",DNe=(e,t)=>{e||(e=Vs);let o=t.replace(/\D/g,""),r=parseInt(o.slice(0,2))*.01,n=parseInt(o.slice(2,4))*.01,s=r*320,i=n*100,a=Math.floor(r*(40-10+1)+10),l=`hsl(${s}, ${i}%, ${a}%)`,c=(e.match(/\b(\w)/g)||["A"]).join("").substring(0,2).toUpperCase();return{backgroundColor:l,initials:c}},en=(e,t)=>{let{backgroundColor:o,initials:r}=DNe(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${r}%3C/text%3E%3C/svg%3E`}`},To=class{},Ic="72f988bf-86f1-41af-91ab-2d7cd011db47",$Ne="9188040d-6c67-4c5b-b112-36a304b66dad",$N={[Ic]:"microsoft",[$Ne]:"standard"},NN=new Date("2019-11-21T00:00:00.000Z"),Yo=(e,t)=>NNe(e,t).toString(),vh=class extends ft{constructor(){super();this.idTokenEmail="";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=en(this.displayName,this.userId),this.avatarThumbnailUrl=en(this.displayName,this.userId),this.profileUrl="#",this.createdOn=null,this.userType="standard",this.acceptedPrivacyNotice=NN,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.gsi=null,this.tenantId=null,this.credentialId=null,this.source=null,this.sharingId=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=$N[o.tid]==="standard"?"MSA":"AAD",this.userType=$N[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||en(this.displayName,this.userId),this.avatarThumbnailUrl=o.avatarThumbnailUrl||o.avatarUrl||en(this.displayName,this.userId),this.profileUrl=Yo(o.userName),this.authenticationModes=o.authenticationModes,this.userType=qNe(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.gsi=o.gsi,this.source=o.source,this.certificationSettings=o.certificationSettings,this.transcriptSettings=o.transcriptSettings,this.qnaEmailPreferences=o.qnaEmailPreferences,this.isQnaModerator=o.isQnaModerator,this.sharingId=o.sharingId,this.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||en(this.displayName,this.userId),this.avatarThumbnailUrl=o.thumbnail||o.picture||en(this.displayName,this.userId),this.authenticationMode=o.cred_type,this.locale=o.locale,this.acceptedPrivacyNotice=new Date(o.accepted_privacy_notice),this.userType=$N[o.tid]||"aad",this.profileUrl=Yo(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 vh,eu=()=>S.email&&S.email.length>0&&S.email!=="anonymous@anonymous.com";function SA(e,t){Array.from(e.querySelectorAll("[data-profile-property]")).forEach(o=>{let r=o.getAttribute("data-profile-property"),n=t.profileUrl;o instanceof HTMLImageElement&&r==="avatarUrl"?(o.onerror=()=>o.src=en(t.displayName,t.userId),o.src=t[r]):o instanceof HTMLImageElement&&r==="avatarThumbnailUrl"?(o.onerror=()=>o.src=t.avatarUrl||en(t.displayName,t.userId),o.src=t[r]):o instanceof HTMLAnchorElement&&r==="profileUrl"?(o.href=Yo("me","activity"),n==="#"&&(o.href=new URL("./register",tu()).toString())):o instanceof HTMLAnchorElement&&r==="bookmarksUrl"?(o.href=n+(E.reviewFeatures?"§ion=collections&detail=bookmarks":"collections/bookmarks"),n==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&r==="collectionsUrl"?(o.href=n+(E.reviewFeatures?"§ion=collections":"collections"),n==="#"&&o.parentElement.remove()):o instanceof HTMLAnchorElement&&r==="settingsUrl"?o.href=Yo("me","settings"):o instanceof HTMLInputElement?o.type!=="file"&&(o.value=t[r]):r==="createdOn"?o.textContent=fn(t[r]):o.textContent=t[r]})}async function yh(e){let t={displayName:"",userName:"",email:S.email,locale:S.locale,country:S.country,contactPointTopicSetting:S.contactPointTopicSetting,source:null,isPrivate:S.isPrivate,interests:S.interests,gsi:S.gsi,certificationSettings:S.certificationSettings,transcriptSettings:S.transcriptSettings,qnaEmailPreferences:S.qnaEmailPreferences,isQnaModerator:S.isQnaModerator};if(!e)return t;for(let o of Array.from(e.querySelectorAll("[data-profile-property]"))){let r=o.getAttribute("data-profile-property");o instanceof HTMLInputElement?t[r]=o.value:t[r]=o.textContent}return t.gsi=S.gsi,t}function NNe(e,t){let o=tu(),r=new URLSearchParams(Q.search);if(k("page_type")==="profile"&&(r.has("section")&&o.searchParams.set("section",r.get("section")),o.hash=Q.hash),E.reviewFeatures)r.has("branch")&&o.searchParams.set("branch",r.get("branch")),o.searchParams.set("username",e),t&&o.searchParams.set("section",t),r.has("themebranch")&&o.searchParams.set("themebranch",r.get("themebranch")),r.has("preview")&&o.searchParams.set("preview",r.get("preview"));else{let n=`./${e}/`;t&&(n+=`${t}/`);let s=new URL(n,o);s.hash=o.hash,s.search=o.search,o=s}return o}function tu(e=h.data.userLocale){let t=new URL(`${e&&e.length?`/${e}`:""}/`,Q.origin),o=new URL("./users/",t);return E.reviewFeatures&&(o=new URL("./test/profile/profile",t)),o}function qNe(e){let t="standard";return e&&e.length&&(e.find(o=>o.tenantId===Ic)!==void 0?t="microsoft":e.find(o=>o.type==="AAD")!==void 0&&(t="aad")),t}function EA(){let e=bl();if(!e)return null;try{let t=_l(e),o=new vh;return o.mapIdTokenToProfile(t),o}catch{return null}}function W(e){return e.status===401&&S.setAnonymous(),e}var Pc={"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 Hue;(function(e){Hue=e()})(function(){let e=function(){let o=0,r={};for(;o"u")return;if(arguments.length>1){if(i=e({path:"/"},r.defaults,i),typeof i.expires=="number"){let m=new Date;m.setMilliseconds(m.getMilliseconds()+i.expires*864e5),i.expires=m}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(s),/^[\{\[]/.test(a)&&(s=a)}catch{}o.write?s=o.write(s,n):s=encodeURIComponent(String(s)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)),n=n.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),n=n.replace(/[\(\)]/g,escape);let p="";for(let m in i)i[m]&&(p+="; "+m,i[m]!==!0&&(p+="="+i[m]));return document.cookie=n+"="+s+p}n||(a={});let l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,d=0;for(;dUNe(t,e))}function UNe(e,t){let o=e.querySelector(".local-selector-link-text"),r=Pc[t];o?o.textContent=r:e.textContent=r,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 n=hj.replace("{language}",r);e.setAttribute("aria-label",n)}function HNe(e){return An("localization_scopes").indexOf(e)!==-1}function zNe(e,t){let o=HNe(t),r=Pc[t];return e==="LearningPath"?o?FK.replace("{language}",r):UK.replace("{language}",r):e==="Module"||e==="ModuleUnit"?o?BK.replace("{language}",r):GK.replace("{language}",r):OK}function BNe(e,t,o,r){let n;return o&&(n=[],n.push("font-weight-semibold","font-size-md")),e.kind==="link"?wA(e,`secondary-nav-link-${r+1}`,!1,n,o):GNe(e,t,n,r)}function wA({href:e,title:t,biName:o},r,n=!1,s=[],i=!1,a=!1){let l=n?"has-text-primary":"",c=i?"":"has-external-link-indicator",d;a?d=o?`secondary-nav-link-category-${o}-mobile`:"secondary-nav-link-category-mobile":d=o?`secondary-nav-link-${o}-mobile`:"secondary-nav-link-mobile",n&&(d=o?`${r}-${o}-mobile`:`${r}-mobile`);let p=Le(e,h.data.userLocale);return u`
  • ${t}
  • `}function GNe(e,t,o=[],r){let n=h.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",s=e.id?`ms--secondary-nav-btn-${e.id}`:`ms--secondary-nav-btn-${r+1}`,i=e.biName?`secondary-nav-btn-${e.biName}-mobile`:"secondary-nav-btn-mobile",a=e.biName?`secondary-nav-menu-${e.biName}-mobile`:"secondary-nav-menu-mobile";return u`
  • `}function Gue(e,t){return u` `}function Vue(e,t,o,r,n,s,i,a,l,c,d){let p=h.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",m=o?"secondary-nav":"primary-nav";return u` ${WNe(i,o)&&r>=2&&d?u`
    `:null} ${i?u`
    `:null} `}function jue(e,t){if(!e)throw new Error("Site header data is unavailable.");return VNe(e,t)}function VNe(e,t){if(e.type==="static-header")return jNe(e);if(!t)throw new Error("Menu handler is not available");return YNe(e,t)}function jNe(e){let t=e.navLinks.map(o=>{let r=Le(o.href,h.data.userLocale);return u`
  • ${o.title}
  • `});return u` `}function YNe(e,t){let o=h.data.userDir==="ltr"?"docon-chevron-right-light":"docon-chevron-left-light",r=e.navCategories.map(n=>{let s=`site-header-btn-${n.biName}-mobile`,i=`ms--${s}`;return u`
  • `});return u` `}function Yue(e,t,o,r,n,s){let i=h.data.userDir==="ltr"?"docon-arrow-left":"docon-arrow-right",a=h.data.userLocale,l=u`
    `,c=u`
    `,d="";if(e.panelLink){let f=e.panelLink,g=Le(f.href,a);d=u` ${f.title} `}let p="";if(s){let f=s.map(g=>{let b=Le(g.href,a);return u` `});p=u`
    ${f}
    `}let m=[];return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(f=>{let g=Le(f.href,a),b=u`
  • `;m.push(b)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(f=>{let g=Le(f.href,a),b=u`
  • ${f.title}
  • `;m.push(b)}),u` ${l}
    ${c} ${d}
    ${p}
    `}function Que(){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=u`

    ${H(Ade)}

    `,r=u` ${S.isAuthenticated?QNe():o}
    ${S.isAuthenticated?u` ${py} `:""} ${S.isAuthenticated?Bd:Qs}
    `;return u`
    ${vA?r:o}
    `}function QNe(){return u` `}function WNe(e,t){return t||Gt!=="Docs_Home"&&e}async function Kue(e,t){if(await ph,!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 r=new pA;o.paint=()=>{v(u` ${Gue(e,t.brandLink.displayName)} ${Que()} `,o)};function n(ne){o.paint();let Ie=o.querySelector("#modal-body");if(ne){let te=Ie.querySelector(`#${ne}`);if(te){te.focus();return}}KNe(Ie)}function s(ne){let Ie=ne.target instanceof HTMLElement&&ne.target.closest("button");if(!Ie||!Ie.classList.contains("pop-content"))return;let te=Ie.getAttribute("data-back-id");r.pop(),n(te)}let i=e.subscribe(at,o.paint);o.dispose=()=>{r.dispose(),i(),o.removeEventListener("click",s)};let a=Wue(e.items),l,c,d,p,m,f,g,b,_,y,x;function C(ne,Ie,te){a=ne.items,l=ne.title,f=Ie,g=te,c=null,d=null,p=null,m=r.getTitle(),I(!0),n()}function L(ne,Ie,te,et,St,eo){_=ne,y=Ie,x=eo,f=te,g=et,b=St,I(!1,!0),n()}function I(ne=!1,Ie=!1){let te;!ne&&!Ie&&t?te=jue(t,L):Ie?te=Yue(_,y,f,b,Tg,x):te=Vue(a,C,ne,r.stackLength,f,g,l,c,d,p,m),r.push(te),r.pushTitle(l)}function q(){I(),o.paint()}function O(){if(!(r.stackLength<=1)){for(;r.stackLength>1;)r.stackLength===2&&(e.secondaryNav=!1),r.pop();n()}}if(q(),o.addEventListener("click",s),bh){await _h;let ne=Zs;ne&&(c=ne.category,d=ne.callToAction,p=ne.preview,l=ne.category?ne.category.title:null,a=Wue(ne.items),I(!0),n(),e.secondaryNav=!0,o.querySelector("#modal-header button.button").onclick=O)}return o}function KNe(e){let t=e.querySelector("[data-autofocus]");if(t&&cA(t)){t.focus();return}e.focus()}function Wue(e){return e.slice(0,e.length-1)}function bn(e){return JSON.parse(JSON.stringify(e))}var xh=class extends ft{constructor(){super();this._items=[{title:ry,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:ry,kind:"menu",items:[],id:"more",biName:"more"}],this.more.items=bn(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 at)}};function Jue(){let e=document.querySelector("#ms--site-header-hamburger > button");if(!e)return;let t=new xh;e.addEventListener("click",()=>JNe(t))}async function JNe(e){await ph;let t=await Kue(e,uh),o=new pe(t),r=window.outerWidth;function n(){t.dispose(),window.removeEventListener("resize",s),e.mobileNavExpanded=!1}function s(){o.hide(),n()}window.addEventListener("resize",()=>{window.outerWidth!==r&&s()},{passive:!0}),e.mobileNavExpanded=!0,await o.show()}var Re={left:37,up:38,right:39,down:40,home:36,end:35,escape:27,enter:13,space:32,eight:56,numPadAsterisk:106,a:65,b:90};var yl,xl;function FN(){let e=document.getElementById("assertive-live-region"),t=document.getElementById("polite-live-region");e?yl=e:(yl=document.createElement("div"),yl.setAttribute("role","alert"),yl.setAttribute("aria-live","assertive"),yl.setAttribute("aria-relevant","additions"),yl.setAttribute("aria-atomic","true"),yl.classList.add("visually-hidden"),yl.setAttribute("id","assertive-live-region"),document.body.appendChild(yl)),t?xl=t:(xl=document.createElement("div"),xl.setAttribute("role","status"),xl.setAttribute("aria-live","polite"),xl.setAttribute("aria-relevant","additions"),xl.setAttribute("aria-atomic","true"),xl.classList.add("visually-hidden"),xl.setAttribute("id","polite-live-region"),document.body.appendChild(xl))}function Or(e,t="polite",o=5e3){FN();let r=t==="assertive"?yl:xl;r.innerHTML="";let n=document.createElement("div");n.setAttribute("role","none"),n.textContent=e,r.appendChild(n),setTimeout(()=>{n?.remove()},o)}var Pi="autocomplete-change-event",Sy="autocomplete-displayed-event";function gs(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=Te=>typeof Te?.toString=="function"?Te.toString():Te,itemTemplate:r=o,noResultsTemplate:n=null,initialValue:s=null,input:{biName:i},exclude:a=Te=>!1}=e,l=document.createElement("div");l.classList.add("autocomplete"),e.input.isFullWidth&&l.classList.add("display-block"),l.setAttribute("data-bi-name","autocomplete");let c=Xe(),d=`${c}-listbox`,p=Te=>Te===-1?"":`${c}-option-${Te}`,m=[],f=-1,g=s?o(s):"",b="",_=s,y=0,x=!1,C=!1,L="";e.input.size&&(L=e.input.size==="small"?"input-sm":"input-lg");let I=()=>{let Te=l.querySelector(`#${d}`),rt=Te.children.item(f===-1?0:f);rt?rt.offsetTop+rt.offsetHeight>Te.offsetHeight?Te.scrollTop=rt.offsetTop-Te.offsetHeight+rt.offsetHeight+4:rt.offsetTop{v(vo(),l);let Te=l.querySelector("input");Te&&(Te.value=g||b),I()},O=()=>{m=[],f=-1,q()},ne=(Te,rt)=>{let z=b;if(_=Te,g=Te?o(Te):"",b=g,O(),rt&&Te){let de=new CustomEvent(Pi,{detail:{suggestion:Te,term:z},bubbles:!0});l.dispatchEvent(de)}};Object.defineProperty(l,"value",{get(){return _},set(Te){ne(Te,!1)}});let Ie=async()=>{if(b===""){x=!1,_=null,O();return}m=await t(b),m=m.filter(rt=>!a(rt));let Te=new CustomEvent(Sy,{detail:m,bubbles:!0});l.dispatchEvent(Te),m.length||Or(xr,"assertive",2e3),f=-1,x=!1,q()},te=Te=>{let z=Te?.url;z&&z.href&&window.open(z.href,"_blank")},et=Te=>{let rt=Te.target instanceof Element&&Te.target.closest('[role="option"]');if(!rt)return;Te.preventDefault();let z=rt.parentElement,de=0;for(;de{clearTimeout(y),y=setTimeout(Ie,250);let rt=Te.target;b=rt.value,g="",!x&&rt.value!==""&&!C&&(x=!0,q())},eo=()=>{C=!0},Co=()=>{C=!1},Ao=()=>O(),At=Te=>{let{keyCode:rt,shiftKey:z,altKey:de,ctrlKey:G}=Te;if(!(z||de||G)){if(rt===Re.down){Te.preventDefault(),f0?(f--,g=o(m[f])):(f=-1,g=b),q();return}if(rt===Re.escape){Te.preventDefault(),ne(_,!1);return}if(rt===Re.enter){if(f>=0){let se=m[f];ne(se,!0)}return}}};function vo(){let Te=e.input.docon?u` `:"";return u`
    ${Te}
      rt.preventDefault()} @click=${et} @keyup=${rt=>(rt.key==="Enter"||rt.key==="Spacebar")&&et} ?hidden=${!b.length||x||!n&&!m.length||g===b} > ${m.map((rt,z)=>u`
    • ${r(rt)}
    • `)} ${!m.length&&n?u`
    • ${n}
    • `:""}
    `}return q(),l.addEventListener("compositionstart",eo),l.addEventListener("compositionend",Co),l}var so=class extends Error{constructor(o){let{status:r,statusText:n,url:s}=o,i=UN(o.headers);super(`Unexpected response status ${r}: ${n} from "${s}". Headers: ${JSON.stringify(i,null,2)}`);this.name=this.constructor.name,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,this.constructor),this.status=r,this.statusText=n,this.url=s,this.headers=i}};function UN(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}var CA=["All","Documentation","Training","Credential","QnA","Reference","Show"];async function Xue(e,t=h.data.userLocale){let o={query:e,suggestions:[]};if(!e)return Promise.resolve(o);let r=`${D.siteSearch}/autocomplete?${F({locale:t,query:e})}`,n={mode:"cors",credentials:E.supportLevel==="production"&&E.reviewFeatures?"include":"same-origin"},s=await P(r,n);if(s.ok)return s.json();if(s.status===403)return{query:e,suggestions:[]};throw new so(s)}function Ey(e){let t=new URLSearchParams(e),o=t.get("category")||"All",r=CA.find(n=>n.localeCompare(o,void 0,{sensitivity:"base"})===0)||"All";return{dataSource:t.get("dataSource"),category:r,skip:parseInt(t.get("skip")||"0"),term:t.get("search"),scope:t.get("scope"),preview:t.get("preview")}}function Zue(){let e=h.data.context.searchScope||k("scope");if(h.data.pageTemplate==="SearchPage"&&(e=Ey(location.search).scope),k("hideScope")==="true"||!e)return"";let r=e.split(",").map(n=>n.trim()).filter(n=>n.length);return r.length?r[r.length-1]:""}async function epe(e){let t={query:e,suggestions:[]};if(!e)return Promise.resolve(t);let o=`${D.siteSearch}/user?${F({query:e})}&$top=30&$skip=0&$filter=questionAuthor eq true`,r={mode:"cors",credentials:E.supportLevel==="production"&&E.reviewFeatures?"include":"same-origin"},n=await P(o,r);if(n.ok)return n.json();if(n.status===403)return{query:e,suggestions:[]};throw new so(n)}var Th=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;async function tpe(e){let t={method:"POST",body:JSON.stringify(e)},o=await P(N(D.privacy.cookieConsentDeleteService,t));if(!o.ok)throw new Error(`Cookie Deletion Error ${o.status}: ${o.statusText}`)}var ope=!!window.matchMedia,Sh=window.matchMedia("screen and (min-width: 768px), screen and (min-height: 1024px)"),Lc=window.matchMedia("screen and (min-width: 1088px)"),Rc=window.matchMedia("screen and (min-width: 768px)"),AA=window.matchMedia("screen and (max-width: 768px)"),rpe=window.matchMedia("print"),npe=window.matchMedia("(prefers-color-scheme: dark)");var ei="light",ru={light:{documentClass:"theme-light",name:"light",text:JZ,icon:"docon-sun"},dark:{documentClass:"theme-dark",name:"dark",text:xK,icon:"docon-clear-night"},"high-contrast":{documentClass:"theme-high-contrast",name:"high-contrast",text:pZ,icon:"docon-clear-night"}},XNe=Object.keys(ru),HN=XNe.map(e=>ru[e].documentClass),Ln=class{constructor(t,o){this.currentTheme=t;this.previousTheme=o}};function ZNe(e,t,o){e.publish(new Ln(t,o)),window.dispatchEvent(new CustomEvent("theme-changed",{detail:{currentTheme:t,previousTheme:o}}))}function e1e(e){let t=document.documentElement.classList;for(let o of HN)t.remove(o);t.add(ru[e].documentClass)}function t1e(e){return ei=e}function spe(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 o1e(e){ue.setItem("theme",e)}function kA(e=!1){let t=ue.getItem("theme");return t&&/^light|dark|high-contrast$/.test(t)?t:e?"dark":"light"}function r1e(e){zN(Qe,e)}function zN(e,t){let o=ei;t1e(t),e1e(t),o!==t&&ZNe(e,t,o)}async function ipe(e){let t=Li();zN(e,t),n1e(e),await ce,spe(t),window.setTheme=r1e}function Li(e=npe.matches){let t=ee();return t.theme==="light"||t.theme==="dark"||t.theme==="high-contrast"?t.theme:kA(e)}function n1e(e){window.addEventListener("click",({target:t})=>{let o=t instanceof Element&&t.closest(".theme-control[data-theme-to]");if(!o)return;let r=o.dataset.themeTo;spe(r),o1e(r),zN(e,r)})}var wy,IA=new Promise(e=>wy=e),um,pm=new Promise(e=>um=e),ape=e=>{for(let t of Object.values(e))if(!t)return!1;return!0};async function lpe(){if(!A.cookieConsent)return;if(A.chromeless){um(!0),wy();return}let e=Zn.get("MSCC")!==void 0,t=U.WcpConsent;if(t===void 0||typeof t.init!="function"){um(!1);return}await ce;let o=document.getElementById("cookie-consent-holder"),r=Array.from(document.querySelectorAll(".manage-cookies-holder"));if(!o||!r.length){console.log("No container for cookie banner");return}t.init(h.data.userLocale,o,function(n,s){if(n!==void 0){um(!1);return}if(!s.isConsentRequired){um(!0),wy();return}let i=document.createElement("button");if(i.setAttribute("data-bi-name","manageCookies"),i.textContent=fee,r.forEach(a=>{a.appendChild(i.cloneNode(!0)).addEventListener("click",()=>{s.manageConsent()}),a.hidden=!1}),o.hidden=!1,no(),ape(s.getConsent())){um(!0),wy();return}um(!1)},async function(n){if(ape(n)){wy();return}await tpe({domain:document.location.hostname,analytics:!n.Analytics,advertising:!n.Advertising,social:!n.SocialMedia}),e&&(U.location.href=U.location.pathname+U.location.search+U.location.hash)},ei)}function cpe(e=location.hostname){return{"developer.microsoft.com":"DevCenter","dev.learn.microsoft.com ":"DocsDev","dev.docs.azure.cn":"DocsDev","review.learn.microsoft.com":"DocsReview","review.docs.azure.cn":"DocsReview","learn.microsoft.com":"Docs","docs.azure.cn":"DocsCN"}[e]||"OneDSTest"}function dpe(e=location.hostname){let t={"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"},o="8617064329544862a1d4dbcc1cdda9d3-079a9ef7-af43-443d-a28b-f60ba4efc9ff-7531";return t[e]??o}var BN=!1;function upe(){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",BN=!0)}var s1e={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",persistent_id:"platform_id","ms.collection":"collection","ms.subservice":"subservice"};function PA(e){let t=document.querySelectorAll("meta");for(let o=0;oS.isAuthenticated&&(S.authenticationMode==="MSA"||S.tenantId===Ic),pageViewPageTags:LA,pageActionPageTags:LA,contentUpdatePageTags:LA,pageActionContentTags:LA},advancedConfig:{propertyConfiguration:{gpcDataSharingOptIn:A.thirdPartyDataSharingConsentFlag?a1e():null}},shareAuthStatus:!0,isLoggedIn:!1};PA(o.coreData.pageTags),o.coreData.pageTags.pageTemplate=h.data.pageTemplate,e.init(o)}function LA(){return S.isAuthenticated?{"ext-app-user-id":`c:${S.userId}`}:{}}var nu=new Promise(e=>ppe=e);function a1e(){let e=!!navigator.globalPrivacyControl,t=Zn.get("3PAdsOptOut")==="1";return!(e||t)}var He={CLICKLEFT:"CL",CLICKRIGHT:"CR",CLICKMIDDLE:"CM",SCROLL:"S",ZOOM:"Z",RESIZE:"R",KEYBOARDENTER:"KE",KEYBOARDSPACE:"KS",GAMEPADA:"CGA",GAMEPADMENU:"CGM",OTHER:"O",AUTO:"A"},ye={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},Lo={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"},Cy={id:"id",name:"name",type:"type",scenario:"scn",scenarioStep:"scnstp",scenarioStepNumber:"subnm"},su=e=>{let t=e.closest(`[${Lo.name}]`);return t?t.getAttribute(Lo.name):""},fpe=()=>{nu.then(e=>{e.sku.getAuthExtension().signOut()})},gpe=(e,t)=>{nu.then(o=>{let r=o.sku.getAuthExtension();if(!t){r.setAuthType(0);return}r.setAuthType(e==="MSA"?1:e==="AAD"?2:0)})},hpe=e=>{nu.then(t=>t.extendCoreData(e))},Ro=(e,t)=>{nu.then(o=>o.ct.capturePageAction(e,t))},Fe=e=>{nu.then(t=>t.ct.captureContentPageAction(e))},GN=e=>{nu.then(t=>t.ct.captureContentUpdate(e))},RA=e=>{nu.then(t=>t.ct.capturePageView(e||{}))};var l1e=1e4,c1e=4e3,bpe=Symbol("scenario timeout"),pr=class{constructor(t,o=32e3,r=window.fetch){this.scenario=t;this.timeLimitMs=o;this.fetch=r;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:Md.connection?.effectiveType??"unknown",endConnection:"unknown",wasHidden:T.visibilityState==="hidden",wentOffline:!Md.onLine,supportedBrowser:Th,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,bpe),this.timeLimitMs),this._pingTimeoutHandle=setTimeout(()=>this.collectPingDiagnostics(),l1e)}handleEvent(){var t,o;(t=this._diagnostics).wasHidden||(t.wasHidden=T.visibilityState==="hidden"),(o=this._diagnostics).wentOffline||(o.wentOffline=!Md.onLine)}complete(t,o){this.unsubscribe();let r=this._start;if(r===0)return;this._start=0;let n=this._diagnostics;n.scenarioProgress=t?{progress:"Succeeded",duration:performance.now()-r}:n.scenarioProgress,n.endDateTime=new Date().toISOString(),n.succeeded=t,n.durationInMilliseconds=performance.now()-r,n.reason=t?void 0:d1e(o),n.endConnection=Md.connection?.effectiveType??"unknown",n.resources=Array.from(performance.getEntriesByType("resource")).filter(s=>s.startTime>=r).map(s=>s.toJSON()).filter(s=>s.initiatorType==="fetch"&&s.name.startsWith(location.origin)).map(s=>(s.connectEnd=Math.floor(s.connectEnd),s.connectStart=Math.floor(s.connectStart),s.domainLookupEnd=Math.floor(s.domainLookupEnd),s.domainLookupStart=Math.floor(s.domainLookupStart),s.duration=Math.floor(s.duration),s.fetchStart=Math.floor(s.fetchStart),s.redirectEnd=Math.floor(s.redirectEnd),s.redirectStart=Math.floor(s.redirectStart),s.requestStart=Math.floor(s.requestStart),s.responseEnd=Math.floor(s.responseEnd),s.responseStart=Math.floor(s.responseStart),s.secureConnectionStart=Math.floor(s.secureConnectionStart),s.startTime=Math.floor(s.startTime),s.workerStart=Math.floor(s.workerStart),s)),Fe({actionType:He.OTHER,behavior:ye.OTHER,content:n})}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(),c1e);let r=async(n,s)=>{let i=performance.now();try{await this.fetch.call(window,s,{cache:"no-store",mode:"no-cors",signal:o}),this._diagnostics.pings[n]={response:!0,duration:Math.floor(performance.now()-i)}}catch{this._diagnostics.pings[n]={response:!1,duration:Math.floor(performance.now()-i)}}};return Promise.all([r("docs",`${location.origin}/robots.txt`)])}};function d1e(e){return e===bpe?{type:"scenario-timeout"}:e instanceof Response||e instanceof so?{type:"dependency",url:e.url,status:e.status,statusText:e.statusText,headers:e.headers instanceof Headers?UN(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 wh(e){let t=new pr("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.replace(/^[\s`~!@^,]+/,"").replace(/[\s`~!@^,]+$/,""),e.length<2)return t.cancel(),[];let o=await Xue(e,h.data.userLocale);return t.succeed(),o.suggestions}catch(o){return t.fail(o),[]}}async function _pe(e){let t=new pr("Commerce.Docs.Discoverability_SiteSearch_Autocomplete");t.start();try{if(e=e.trim(),e.length<1)return t.cancel(),[];let o=await epe(e);t.succeed();let r=[],n=[];for(let s of o.suggestions)s.displayName.toLowerCase().startsWith(e)?r.push(s):n.push(s);return r.sort((s,i)=>s.displayName.localeCompare(i.displayName)),n.sort((s,i)=>s.displayName.localeCompare(i.displayName)),o.suggestions=r.concat(n),o.suggestions}catch(o){return t.fail(o),[]}}function ype(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};VN(t)}function MA(e){let t=e.detail.map(o=>({title:o}));jN(t)}function VN({suggestion:e,term:t}){Fe({behavior:ye.SEARCHAUTOCOMPLETE,actionType:He.OTHER,content:{srchq:t,srchtype:"auto suggest",resultselected:e.title,resulttype:e.type||"",resulturl:e.url||""}})}function jN(e){let t=[{srchtype:"auto suggest"}];e.forEach((o,r)=>{t.push({cN:o.title,sN:r,type:o.type||"",url:o.url||""})}),Fe({content:t})}var vpe=!1;function xpe(e,t,o,r,n,s,i,a,l,c){vpe?RA():vpe=!0,Fe({behavior:ye.OTHER,actionType:He.OTHER,content:{event:"uhf-search-results",category:r,term:e.terms,scope:e.scope||"",results:t.length,resultUrls:t,skip:e.skip,dataSource:e.dataSource||a||"",scoringProfileName:e.scoringProfile||"",experimentId:k("experiment_id"),hideCompleted:e.hideCompleted||"",count:o,scopeRemoved:n,spellingCorrection:s,semanticCaptions:i,copilotQuestion:l||"",copilotAnswer:c||""}})}function Tpe(e,t,o,r){Fe({behavior:ye.OTHER,actionType:He.CLICKLEFT,content:{event:"search-answer-feedback",searchTerm:e,question:t,answer:o,isFeedbackPositive:r}})}var u1e="https://www.azure.cn/searchresults/";function YN(){let e;return h.data.brand==="mooncake"?e=u1e:!E.systemContent&&E.accessLevel!=="local"?e=`https://learn.microsoft.com/${h.data.userLocale}/search/`:e=`/${h.data.userLocale}/${Ht?"test/docs/search/search":"search/"}`,e}function QN(){let e=Zue(),t=p1e(),o=m1e();return{scope:e,category:t,dataSource:Jn()?"previousVersions":"",preview:o}}function p1e(){let e=Ey(Q.search)?.category;if(e?.toLowerCase()!=="all")return e;let t=f1e(Q.href);return t&&t!=="All"?t:""}function m1e(){return Ey(Q.search).preview||""}function WN(e){let t={suggestion:{title:e.detail.suggestion},term:e.detail.term};VN(t)}function KN(e){let t=e.detail.map(o=>({title:o}));jN(t)}function f1e(e){let{pathname:t}=new URL(e);t=hn(t),t=decodeURI(t).toLowerCase();let o=k("page_kind"),r=t.split("/").slice(1),n=r[0];return n==="training"||o==="learn"?"Training":n==="powershell"&&r.length>1&&r[1]==="module"?"Reference":n==="answers"?"QnA":n==="credentials"?"Credential":n==="shows"?"Show":r.indexOf("api")!==-1?"Reference":"All"}function DA(e,t,o,r){if(!e)return;let n=T.getElementById(o),s=n.placeholder,i=n.value,a=e.parentElement;if(!a)return;let l=r?`${r}-search`:void 0,c={input:{id:`${t}-autocomplete-input`,placeholder:s,size:"large",label:xo,isFullWidth:!0,name:"terms",biName:l},initialValue:i,getSuggestions:wh,itemTemplate:y=>u` ${y} `},d=gs(c),{scope:p,category:m,dataSource:f,preview:g}=QN(),b=r?`${r}-search-form`:void 0,_=r?`${r}-search-submit`:void 0;v(u` `,a)}var iu="display-block font-size-sm padding-inline-xxs",$A;function NA(e,t){if($A===void 0){let l=(k("scope")||"").split(",").map(c=>c.trim()).filter(c=>c.length);$A=l.length?l[l.length-1]:""}let o="";$A&&t&&(o=$A);let r=Jn()?"previousVersions":"",s=`${Ht?"/test/docs/search/search":"/search/"}?${F({search:e,scope:o,dataSource:r})}`;return{title:o?Vee.replace("{term}",e).replace("{searchScope}",o):jee.replace("{term}",e),url:s}}function Ay(e){return e.indexOf("/search/?search")!==-1||Ht&&e.indexOf("/search/search?search")!==-1}async function qA(e,t,o){Ro(e,{behavior:ye.APPLY,targetUri:o,content:{event:"autocomplete",title:t,href:o}})}function Spe(e=!1){let{category:t,dataSource:o,preview:r}=QN(),n=Gt==="Search"?"":t,s=YN(),i=h.data.brand==="mooncake"?"q":"terms",a={input:{id:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input",type:"search",placeholder:Jn()?cy:xo,label:xo,isFullWidth:!0,name:i,biName:e?"site-header-search-autocomplete-input-mobile":"site-header-search-autocomplete-input"},getSuggestions:wh,itemTemplate:p=>u` ${p} `};e||(a.input.size="small");let l=gs(a),c=e?"ms--site-header-search-form-mobile":"ms--site-header-search-form",d=e?"site-header-search-form-mobile":"site-header-search-form";return u` `}function Epe(e){return e?u` ${Cpe()}
    ${Ape(e.brandLink)}
    ${_1e(e)} ${kpe()}
    ${Ipe()} `:""}function wpe(e){return e?u`
    ${Ape(e.brandLink,!0)} ${Cpe(!0)} ${kpe(!0)} ${Ipe(!0)} `:""}function Cpe(e=!1){let t="site-header-microsoft-logo",o="site-header-microsoft-logo",r="";e&&(t="site-header-microsoft-logo-mobile",o="site-header-microsoft-logo-mobile",r="site-header-logo-centered");let n=u` `;return E.accessLevel==="isolated"?u` `:u` `}function Ape(e,t=!1){if(!e)return"";let o=Le(e.href,h.data.userLocale),r=t?`site-header-brand-${e.biName}-mobile`:`site-header-brand-${e.biName}`;return u` `}function kpe(e=!1){let t=Spe(e),o="flex-grow-1 margin-left-xxs";e&&(o="display-flex flex-grow-1 justify-content-flex-end");let r=e?"site-header-search-open-mobile":"site-header-search-open",n=e?"site-header-search-close-mobile":"site-header-search-close",s=e?"site-header-search-mobile":"site-header-search",i=e?"ms--site-header-search-mobile":"ms--site-header-search";return u` `}function Ipe(e=!1){if(!vA)return"";let r=u` `,n=e?"site-header-user-mobile":"site-header-user",s=e?"site-header-user-mobile":"site-header-user",i=e?"site-header-sign-out-mobile":"site-header-sign-out",a=e?"site-header-user-sign-out-mobile":"site-header-user-sign-out",l=e?"ms--user-display-name-mobile":"ms--user-display-name",c=u`
    `;return u`${r} ${c}`}function g1e(e,t){if(!e)return"";let o="";if(t){let n=t.map(s=>{let i=Le(s.href,h.data.userLocale);return u` `});o=u` `}let r=e.map((n,s)=>{let i=`ms--panel-${s+1}`;return u`
  • `});return u`
      ${r}
    `}function h1e(e,t){if(!e)return"";let o=h.data.userLocale,r="";if(e.panelLink){let i=e.panelLink,a=Le(i.href,o);r=u` ${i.title} `}let n=[],s="site-header-panel-links";return e.panelContent[0].componentType==="header-panel-card"?e.panelContent.map(i=>{s="site-header-panel-cards";let a=Le(i.href,o),l=u`
  • `;n.push(l)}):e.panelContent[0].componentType==="header-panel-link"&&e.panelContent.map(i=>{let a=Le(i.href,o),l=u`
  • ${i.title}
  • `;n.push(l)}),u`
      ${n}
    ${r}
    ${t} `}function b1e(e){if(!e)return"";let t=e.map((o,r)=>{let n=Le(o.href,h.data.userLocale);return u`
  • ${o.title}
  • `});return u`
      ${t}
    `}function _1e(e){let t=e.type==="static-header"?b1e(e.navLinks):g1e(e.navCategories,e.featuredContent),o=h.data.userDir==="ltr"?"left":"right",r=h.data.userDir==="ltr"?"right":"left";return u` `}function JN(e,t){let{leftTemplate:o,rightTemplate:r}=e;return u` ${o()} ${r(t)} `}function Rpe(e){let t=document.createElement("div");t.classList.add("site-header","width-full");let o=new xh;return t.paint=()=>Dpe(t,o,e),Object.defineProperty(t,"items",{enumerable:!0,get:()=>o.items,set:r=>o.items=r}),o.desktop=Lc.matches,o.mobile=!Rc.matches,Lc.addListener(()=>{o.desktop=Lc.matches}),Rc.addListener(()=>{o.mobile=!Rc.matches}),window.addEventListener("resize",()=>{Rc.matches&&v1e(t,o,e)},{passive:!0}),t.paint(),ce.then(()=>{let r=new MutationObserver(n=>{for(let s of n)for(let i=0;it.paint()),t}var Mpe=0;function Dpe(e,t,o){if(Mpe=Date.now(),t.resetItemVisibility(),v(JN(o,t),e),t.mobile)return;let r=e.querySelector(".nav-bar-spacer"),{more:n,items:s}=t,i=s.length-1;for(;i>0&&r.getBoundingClientRect().width===0;)i--,n.hidden=!1,s[i].hidden=!0,n.items[i].hidden=!1,v(JN(o,t),e)}var Ppe=0,Lpe=50;function v1e(e,t,o){clearTimeout(Ppe),Date.now()-Mpe>Lpe?e.paint():Ppe=setTimeout(Dpe,Lpe,e,t,o)}async function Npe(){if(await _h,!Zs)return null;let e=Rpe(y1e(Zs));return e.items=Zs.items,e}function y1e(e){let{category:t,callToAction:o,preview:r}=e,n="";return o&&(n=x1e(o)),{leftTemplate:()=>T1e(t,r),rightTemplate:a=>u` ${E1e(a,aae)} ${n} ${S1e()} `}}function x1e(e){if(!e)return"";let{primary:t,secondary:o}=e,r="";return o&&(r=$pe(o,!0)),u`
    ${r} ${$pe(t)}
    `}function $pe(e,t=!1){if(!e)return"";let{href:o,title:r}=e,n;return e.biName?n=t?`secondary-nav-cta-secondary-${e.biName}`:`secondary-nav-cta-primary-${e.biName}`:n=t?"secondary-nav-cta-secondary":"secondary-nav-cta-primary",u` ${r} `}function T1e(e,t){let{href:o,title:r,biName:n}=e,s=Le(o,h.data.userLocale),i=Ope(s),a=n?`secondary-nav-link-category-${n}`:"secondary-nav-link-category";return u` `}function S1e(){return Gt!=="Learn"&&Gt!=="Training"?"":u` `}function E1e(e,t){let{items:o}=e;return u` `}function qpe(e,t){return e.kind==="link"?w1e(e,t):C1e(e,t)}function w1e(e,t){let o=e.current?"is-active":"",r=Le(e.href,h.data.userLocale),n=Ope(r,!!o),s=e.biName?`secondary-nav-link-${e.biName}`:"secondary-nav-link";return t?u`
  • ${e.title}
  • `:u`
  • ${e.title}
  • `}function C1e(e,t){let o=Dv(),r=t?h.data.userDir==="ltr"?"chevron-right-light":"chevron-left-light":"chevron-down-light",n=t?"":"expanded-indicator",s=e.current?"is-active":"",i=e.current?"true":void 0,a=e.biName?`secondary-nav-btn-${e.biName}`:"secondary-nav-btn",l=e.biName?`secondary-nav-menu-${e.biName}`:"secondary-nav-menu";return u` `}function A1e(e,t=new URL(window.location.href)){return e.origin===t.origin&&e.pathname.toLowerCase().replace(/\//gi,"")===t.pathname.toLowerCase().replace(/\//gi,"")}function Ope(e,t){let o=new URL(e,window.location.origin);if(A1e(o)&&t)return"page";if(t)return"true"}var Ch,OA=new Promise(e=>Ch=e);async function Fpe(){xue(),Fue(),k1e()}async function k1e(){await ph;let e=Epe(uh),t=wpe(uh);await ce;let o=T.querySelector("#ms--site-header");if(!o){Ch();return}let r=o.querySelector("#ms--primary-nav");if(!o){Ch();return}let n=o.querySelector("#ms--mobile-nav");if(!n){Ch();return}v(e,r),v(t,n),Tue(),Jue();let s=o.querySelector("#ms--secondary-nav");if(!s){Ch();return}if(bh){await _h;let i=await Npe();s.classList.remove("site-header"),v(i,s)}else s.remove();Ch()}var ky=class{};function FA(e){let t={method:"GET"},o=N(D.auth.docs,t,!1);return o.headers.set("Authorization",`Bearer ${e}`),P(o).then(r=>{if(r.ok)return r.text();throw r.status===404||r.status===204?new ky:r.status===401?new xa({detail:"token not accepted"}):new Error(`get docs auth token failed (${r.status} ${r.statusText})`)})}function Ta(e,t=!0){try{if(e.ok&&e.headers.has("Authorization")){let o=e.headers.get("Authorization");if(o){let r=_l(o);aA(o),t&&S.readUserFromToken(r)}}return e}catch{return e}}var Ne=class extends Error{constructor(o,r){super(`Unexpected response status ${o?.status??""}: ${o?.statusText??""} from "${o?.url??""} with error type of ${r}".`);this.status=o?.status,this.statusText=o?.statusText,this.url=o?.url,this.type=r,this.response=o,E.reviewFeatures&&console.error(this)}};async function UA(e){let t;try{t=e.response.json?(await e.response.json()).errorCode:null}catch{t=null}return t}function _n(e){if(!Array.isArray(e))throw new Ne({statusText:"Value must be an array"},"InvalidTypeError");return e}function ZN(e){if(typeof e!="boolean")throw new Ne({statusText:"Value must be a boolean"},"InvalidTypeError");return e}function Iy(e){let t=new Date(e);if(isNaN(t.getTime()))throw new Ne({statusText:`Invalid date format: ${e}`},"InvalidTypeError");return t}function zo(e){if(typeof e!="number")throw new Ne({statusText:"Value must be a number"},"InvalidTypeError");return e}function Qo(e,t){if(typeof e!="string")throw new Ne({statusText:"Value must be a string"},"InvalidTypeError");if(t&&!t.includes(e))throw new Ne({statusText:`Value must be one of: ${t.join(", ")}`},"InvalidTypeError");return e}function _t(e,t){let o=t.filter(r=>e[r]===null||e[r]===void 0);if(o.length>0)throw new Ne({statusText:`Missing required fields in object: ${o.join(", ")}`},"MissingRequiredApiAttribute");return e}function XN(e,t){throw new Ne({statusText:`Type Conversion Error: converting type ${typeof e} to ${t} failed for value ${e.toString()}`},"TypeConversionError")}function mr(e){let t;try{t=e.toString()}catch{XN(e,"string")}return t}function hs(e){let t;try{t=parseInt(e)}catch{XN(e,"number")}return isNaN(t)&&XN(e,"number"),t}function bs(e,t,o=!0,r="application/json",n=""){t=t||{},t.mode="cors",t.credentials="same-origin";let s=new Request(e,t);return o&&s.headers.set("Authorization",`Bearer ${n||fs()}`),(s.method==="PUT"||s.method==="POST")&&r!=="multipart/form-data"&&s.headers.set("Content-Type",r),s}async function Py(e){let t=`${D.profile.profiles}/${e}`,r=await P(bs(t,{method:"GET"},!1));return W(r),r.ok?await r.json():(r.status===204,null)}async function Upe(e){if(!e)return null;if(e===Uue)return{displayName:Vs,userId:e,avatarUrl:en(Vs,e)};let t=`${D.profile.profiles}/id:${e}`,r=await P(bs(t,{method:"GET"},!1));return W(r),r.ok?await r.json():(r.status===204,null)}async function Ah(e){try{let t=await fetch(bs(D.profile.me,{method:"GET"},!0,"application/json",e));return t.ok&&t.status!==204?await t.json():null}catch{return null}}async function au(e,t){let o=`${D.profile.profiles}/${e}?useDsaEndpoints=true`,n={credentials:"include",method:"PUT",body:JSON.stringify(t)},s=await P(bs(o,n));if(W(s),s.ok){Ta(s,!1);let i=await s.json();return S.readUserProfile(i),{hasError:!1,profile:i}}else if(s.status===400){let i=await s.json();return{hasError:!0,message:i.message,errors:i.errorCode.split(",")}}return{hasError:!0,message:s.statusText,errors:["somethingWentWrong"]}}async function Hpe(){let e=D.privacy.delete,o=await P(bs(e,{credentials:"include",method:"POST"}));return W(o),o.ok}async function zpe(e){let t=D.privacy.partialDelete,r={method:"POST",body:JSON.stringify(e)},n=await P(bs(t,r));return W(n),n.ok}async function Bpe(){let e=D.profile.acknowledgePrivacyNotice,o=await P(bs(e,{method:"POST"}));if(W(o),Ta(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}async function Gpe(e){let t=D.profile.link,o={method:"POST",body:`"${e}"`},r=await P(bs(t,o));if(W(r),r.ok)return Ta(r,!1),{hasError:!1,profile:await r.json()};if(r.status===405){let n=await r.json(),s=["accountLimitReached"];return n.errorCode==="ProfileMergeRunning"&&s.unshift("profileMergeRunning"),{hasError:!0,message:r.statusText,errors:s}}else{if(r.status===409)return{hasError:!0,message:r.statusText,errors:["accountAlreadyRegistered"]};throw new Error(`Unexpected response status ${r.status} for ${t}`)}}async function Vpe(e,t){let o=`${D.profile.link}/${e}/${t}`,n=await P(bs(o,{method:"DELETE"}));if(W(n),n.ok)return Ta(n,!1),{hasError:!1,profile:await n.json()};if(n.status===405){let s=await n.json(),i=["needAtLeastOneAccountLinked"];return s.errorCode==="ProfileMergeRunning"&&i.unshift("profileMergeRunning"),{hasError:!0,message:n.statusText,errors:i}}else throw new Error(`Unexpected response status ${n.status} for ${o}`)}async function e1(e){let t=D.profile.merge,o={method:"POST",body:JSON.stringify({sourceIdToken:e})},r=await P(bs(t,o));if(W(r),r.ok)return Ta(r,!1),{hasError:!1,profile:await r.json()};if(r.status===400){let n=await r.json();if(n.errorCode==="ProfileMergeRunning")return{hasError:!0,message:r.statusText,errors:["profileMergeRunning"]};if(n.errorCode==="ProfileMergeComplete")return{hasError:!0,message:r.statusText,errors:["profileMergeAlreadyComplete"]};if(n.errorCode==="BlockedBySource"||n.errorCode==="BlockedByDestination")return{hasError:!0,message:r.statusText,errors:["previousMergeAttemptPreventsAction"]};throw new Error(`Unexpected response status ${r.status} for ${t}`)}else{if(r.status===405)return{hasError:!0,message:r.statusText,errors:["accountLimitReached"]};if(r.status===409)return(await r.json()).errorCode==="InvalidCertificationsState"?{hasError:!0,message:r.statusText,errors:["alreadyHasCertProfileConnected"]}:{hasError:!0,message:r.statusText,errors:["profileMergeRunning"]};throw new Error(`Unexpected response status ${r.status} for ${t}`)}}async function t1(){let e=D.profile.merge,o=await P(bs(e,{method:"GET"}));if(W(o),o.ok){let{status:r}=await o.json();return r}return null}async function jpe(){let e=D.profile.mergeDetails,o=await P(bs(e,{method:"GET"}));return W(o),o.ok?await o.json():null}async function Ype(){let e=D.profile.acknowledgeMergeStatus,o=await P(bs(e,{method:"POST"}));if(W(o),Ta(o,!1),!o.ok)throw new Error(`Unexpected response status ${o.status} for ${e}`)}async function Qpe(e){let t=D.profile.validateMerge,o={method:"POST",body:JSON.stringify({sourceIdToken:e})},r=await P(bs(t,o));if(W(r),r.ok)return null;if(r.status===409)return"alreadyHasCertProfileConnected";if(r.status===400){let n=await r.json();if(n.errorCode==="ProfileMergeRunning")return"profileMergeRunning";if(n.errorCode==="ProfileMergeComplete")return"profileMergeAlreadyComplete";if(n.errorCode==="BlockedBySource"||n.errorCode==="BlockedByDestination")return"previousMergeAttemptPreventsAction"}return"unexpectedError"}var HA,zA="undefined",jA="constructor",Tl="prototype",YA="function",QA="_dynInstFuncs",n1="_isDynProxy",kh="_dynClass",I1e="_dynCls$",s1="_dynInstChk",Ly=s1,Zpe="_dfOpts",Wpe="_unknown_",l1="__proto__",BA="_dyn"+l1,Kpe="__dynProto$Gbl",o1="_dynInstProto",GA="useBaseInst",i1="setInstFuncs",JA=Object,Ry=JA.getPrototypeOf,Jpe=JA.getOwnPropertyNames;function P1e(){var e;return typeof globalThis!==zA&&(e=globalThis),!e&&typeof self!==zA&&(e=self),!e&&typeof window!==zA&&(e=window),!e&&typeof global!==zA&&(e=global),e||{}}var Xpe=P1e(),a1=Xpe[Kpe]||(Xpe[Kpe]={o:(HA={},HA[i1]=!0,HA[GA]=!0,HA),n:1e3});function Mc(e,t){return e&&JA[Tl].hasOwnProperty.call(e,t)}function VA(e){return e&&(e===JA[Tl]||e===Array[Tl])}function c1(e){return VA(e)||e===Function[Tl]}function mm(e){var t;if(e){if(Ry)return Ry(e);var o=e[l1]||e[Tl]||(e[jA]?e[jA][Tl]:null);t=e[BA]||o,Mc(e,BA)||(delete e[o1],t=e[BA]=e[o1]||e[BA],e[o1]=o)}return t}function WA(e,t){var o=[];if(Jpe)o=Jpe(e);else for(var r in e)typeof r=="string"&&Mc(e,r)&&o.push(r);if(o&&o.length>0)for(var n=0;n=0;o--)if(e[o]===t)return!0;return!1}function R1e(e,t,o,r){function n(l,c,d){var p=c[d];if(p[n1]&&r){var m=l[QA]||{};m[Ly]!==!1&&(p=(m[c[kh]]||{})[d]||p)}return function(){return p.apply(l,arguments)}}var s=Ih();WA(o,function(l){s[l]=n(t,o,l)});for(var i=mm(e),a=[];i&&!c1(i)&&!u1(a,i);)WA(i,function(l){!s[l]&&d1(i,l,!Ry)&&(s[l]=n(t,i,l))}),a.push(i),i=mm(i);return s}function M1e(e,t,o,r){var n=null;if(e&&Mc(o,kh)){var s=e[QA]||Ih();if(n=(s[o[kh]]||Ih())[t],n||KA("Missing ["+t+"] "+YA),!n[s1]&&s[Ly]!==!1){for(var i=!Mc(e,t),a=mm(e),l=[];i&&a&&!c1(a)&&!u1(l,a);){var c=a[t];if(c){i=c===r;break}l.push(a),a=mm(a)}try{i&&(e[t]=n),n[s1]=1}catch{s[Ly]=!1}}}return n}function D1e(e,t,o){var r=t[e];return r===o&&(r=mm(t)[e]),typeof r!==YA&&KA("["+e+"] is not a "+YA),r}function $1e(e,t,o,r,n){function s(l,c){var d=function(){var p=M1e(this,c,l,d)||D1e(c,l,d);return p.apply(this,arguments)};return d[n1]=1,d}if(!VA(e)){var i=o[QA]=o[QA]||Ih();if(!VA(i)){var a=i[t]=i[t]||Ih();i[Ly]!==!1&&(i[Ly]=!!n),VA(a)||WA(o,function(l){d1(o,l,!1)&&o[l]!==r[l]&&(a[l]=o[l],delete o[l],(!Mc(e,l)||e[l]&&!e[l][n1])&&(e[l]=s(e,l)))})}}}function N1e(e,t){if(Ry){for(var o=[],r=mm(t);r&&!c1(r)&&!u1(o,r);){if(r===e)return!0;o.push(r),r=mm(r)}return!1}return!0}function r1(e,t){return Mc(e,Tl)?e.name||t||Wpe:((e||{})[jA]||{}).name||t||Wpe}function vt(e,t,o,r){Mc(e,Tl)||KA("theClass is an invalid class definition.");var n=e[Tl];N1e(n,t)||KA("["+r1(e)+"] not in hierarchy of ["+r1(t)+"]");var s=null;Mc(n,kh)?s=n[kh]:(s=I1e+r1(e,"_")+"$"+a1.n,a1.n++,n[kh]=s);var i=vt[Zpe],a=!!i[GA];a&&r&&r[GA]!==void 0&&(a=!!r[GA]);var l=L1e(t),c=R1e(n,t,l,a);o(t,c);var d=!!Ry&&!!i[i1];d&&r&&(d=!!r[i1]),$1e(n,s,t,l,d!==!1)}vt[Zpe]=a1.o;var Mi="function",_s="object",vs="undefined",Wo="prototype",My="hasOwnProperty";var ti=Object,Ph=ti[Wo],Lh=ti.assign,XA=ti.create,Rh=ti.defineProperty,Sl=Ph[My];var eme=null;function Di(e){e===void 0&&(e=!0);var t=e===!1?null:eme;return t||(typeof globalThis!==vs&&(t=globalThis),!t&&typeof self!==vs&&(t=self),!t&&typeof window!==vs&&(t=window),!t&&typeof global!==vs&&(t=global),eme=t),t}function Mh(e){throw new TypeError(e)}function Dh(e){var t=XA;if(t)return t(e);if(e==null)return{};var o=typeof e;o!==_s&&o!==Mi&&Mh("Object prototype may only be an Object:"+e);function r(){}return r[Wo]=e,new r}var cct=(Di()||{}).Symbol,dct=(Di()||{}).Reflect;var O1e=function(e){for(var t,o=1,r=arguments.length;o=r&&!(o=e===t)){for(var s=n-1,i=r-1;i>=0;i--){if(e[s]!=t[i])return!1;s--}o=!0}return o}function Ur(e,t){return e&&t?e[du](t)!==-1:!1}var Mt=V1e||J1e;function J1e(e){return!!(e&&pme[Fr](e)==="[object Array]")}function Em(e){return!!(e&&pme[Fr](e)==="[object Error]")}function Ze(e){return typeof e=="string"}function zy(e){return typeof e=="number"}function fme(e){return typeof e=="boolean"}function ame(e){var t=!1;if(e&&typeof e=="object"){var o=dk?dk(e):S1(e);o?(o[ck]&&Sl[Fr](o,ck)&&(o=o[ck]),t=typeof o===Mi&&mme[Fr](o)===j1e):t=!0}return t}function si(e){if(e)return G1e?e[cme]():X1e(e)}function X1e(e){if(e&&e.getUTCFullYear){var t=function(o){var r=String(o);return r[ct]===1&&(r="0"+r),r};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 Ge(e,t,o){var r=e[ct];try{for(var n=0;n=0?n:r-Math.abs(n),0);s=3)r=arguments[2];else{for(;s0&&fme(a)&&(c=a,a=i[d]||{},d++),Mn(a)||(a={});d=f&&(l[C](x[lu]),r[L]=!0)}else n>=f&&l[C](x[lu]);c(f,x)}},l[Hy]=function(f){Tme("warn",f),m("warning",f)},l[lk]=function(f){Tme("error",f),m("error",f)},l.resetInternalMessageCount=function(){o=0,r={}},l[g1]=c;function c(f,g){if(!p()){var b=!0,_=gqe+g[Nh];if(r[_]?b=!1:r[_]=!0,b&&(f<=s&&(l.queue[Pt](g),o++,m(f===1?"error":"warn",g)),o===i)){var y="Internal events throttle limit per PageView reached for this app.",x=new Nc(23,y,!1);l.queue[Pt](x),f===1?l[lk](y):l[Hy](y)}}}function d(f){n=ii(f.loggingLevelConsole,0),s=ii(f.loggingLevelTelemetry,1),i=ii(f.maxMessageLimit,25),a=ii(f.enableDebug,ii(f[f1],!1))}function p(){return o>=i}function m(f,g){var b=z1(t||{});b&&b[$i]&&b[$i](f,g)}})}return e.__ieDyn=1,e}();function B1(e){return e||new Am}function ke(e,t,o,r,n,s){s===void 0&&(s=!1),B1(e).throwInternal(t,o,r,n,s)}function Fi(e,t){B1(e)[Hy](t)}function G1(e,t,o){B1(e)[g1](t,o)}var Kh="ctx",j1="ParentContextKey",By="ChildrenContextKey",hqe=null,Gy=function(){function e(t,o,r){var n=this,s=!1;if(n.start=nn(),n[Rn]=t,n[Ca]=r,n[qy]=function(){return!1},ot(o)){var i;s=qi(n,"payload",function(){return!i&&ot(o)&&(i=o(),o=null),i})}n[xm]=function(a){return a?a===e[j1]||a===e[By]?n[a]:(n[Kh]||{})[a]:null},n[ka]=function(a,l){if(a)if(a===e[j1])n[a]||(n[qy]=function(){return!0}),n[a]=l;else if(a===e[By])n[a]=l;else{var c=n[Kh]=n[Kh]||{};c[a]=l}},n[ik]=function(){var a=0,l=n[xm](e[By]);if(Mt(l))for(var c=0;c>>=0),Vy=123456789+e&km,jy=987654321-e&km,Eme=!0}function _qe(){try{var e=nn()&2147483647;bqe((Math.random()*Sme^e)+e)}catch{}}function Im(e){var t=0,o=O1()||F1();return o&&o.getRandomValues&&(t=o.getRandomValues(new Uint32Array(1))[0]&km),t===0&&Qh()&&(Eme||_qe(),t=W1()&km),t===0&&(t=Math.floor(Sme*Math.random()|0)),e||(t>>>=0),t}function W1(e){jy=36969*(jy&65535)+(jy>>16)&km,Vy=18e3*(Vy&65535)+(Vy>>16)&km;var t=(jy<<16)+(Vy&65535)>>>0&km|0;return e||(t>>>=0),t}function qc(e){e===void 0&&(e=22);for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=Im()>>>0,r=0,n=Tt;n[ct]>>=6,r===5&&(o=(Im()<<2&4294967295|o&3)>>>0,r=0);return n}var wme=Rh,Cme="2.8.13",vqe="."+qc(6),yqe=0;function xqe(e,t,o){if(wme)try{return wme(e,t,{value:o,enumerable:!1,configurable:!0}),!0}catch{}return!1}function Ame(e){return e[rk]===1||e[rk]===9||!+e[rk]}function Tqe(e,t){var o=t[e.id];if(!o){o={};try{Ame(t)&&(xqe(t,e.id,o)||(t[e.id]=o))}catch{}}return o}function vn(e,t){return t===void 0&&(t=!1),Sm(e+yqe+++(t?"."+Cme:Tt)+vqe)}function yk(e){var t={id:vn("_aiData-"+(e||Tt)+"."+Cme),accept:function(o){return Ame(o)},get:function(o,r,n,s){var i=o[t.id];return i?i[Sm(r)]:(s&&(i=Tqe(t,o),i[Sm(r)]=n),n)},kill:function(o,r){if(o&&o[r])try{delete o[r]}catch{}}};return t}var kme="toGMTString",Ime="toUTCString",eq="cookie",K1="expires",X1="enabled",Pme="isCookieUseDisabled",Lme="disableCookiesUsage",bu="_ckMgr",xk=null,J1=null,Rme=null,Yy=hr(),Mme={},Sk={};function Sqe(e,t){var o=Pm[bu]||Sk[bu];return o||(o=Pm[bu]=Pm(e,t),Sk[bu]=o),o}function Tk(e){return e?e.isEnabled():!0}function Eqe(e){var t=e[ok]=e[ok]||{};if(Yt(t,"domain",e.cookieDomain,E1,ge),Yt(t,"path",e.cookiePath||"/",null,ge),ge(t[X1])){var o=void 0;Bo(e[Pme])||(o=!e[Pme]),Bo(e[Lme])||(o=!e[Lme]),t[X1]=o}return t}function qme(e,t){return t&&e&&Mt(e.ignoreCookies)?e.ignoreCookies[du](t)!==-1:!1}function wqe(e,t){return t&&e&&Mt(e.blockedCookies)&&e.blockedCookies[du](t)!==-1?!0:qme(e,t)}function Lm(e,t){var o;if(e)o=e.getCookieMgr();else if(t){var r=t[ok];r[bu]?o=r[bu]:o=Pm(t)}return o||(o=Sqe(t,(e||{})[on])),o}function Pm(e,t){var o,r=Eqe(e||Sk),n=r.path||"/",s=r.domain,i=r[X1]!==!1,a=(o={isEnabled:function(){var l=i&&Z1(t),c=Sk[bu];return l&&c&&a!==c&&(l=Tk(c)),l}},o[Ny]=function(l){i=l!==!1},o.set=function(l,c,d,p,m){var f=!1;if(Tk(a)&&!wqe(r,l)){var g={},b=gr(c||Tt),_=b[du](";");if(_!==-1&&(b=gr(c[Oh](0,_)),g=Ome(c[Oh](_+1))),Yt(g,"domain",p||s,Gh,Bo),!ge(d)){var y=Qh();if(Bo(g[K1])){var x=nn(),C=x+d*1e3;if(C>0){var L=new Date;L.setTime(C),Yt(g,K1,Dme(L,y?kme:Ime)||Dme(L,y?kme:Ime)||Tt,Gh)}}y||Yt(g,"max-age",Tt+d,null,Bo)}var I=xs();I&&I.protocol==="https:"&&(Yt(g,"secure",null,null,Bo),J1===null&&(J1=!tq((ts()||{})[Fh])),J1&&Yt(g,"SameSite","None",null,Bo)),Yt(g,"path",m||n,null,Bo);var q=r.setCookie||Nme;q(l,$me(b,g)),f=!0}return f},o.get=function(l){var c=Tt;return Tk(a)&&!qme(r,l)&&(c=(r.getCookie||Cqe)(l)),c},o.del=function(l,c){var d=!1;return Tk(a)&&(d=a.purge(l,c)),d},o.purge=function(l,c){var d,p=!1;if(Z1(t)){var m=(d={},d.path=c||"/",d[K1]="Thu, 01 Jan 1970 00:00:01 GMT",d);Qh()||(m["max-age"]="0");var f=r.delCookie||Nme;f(l,$me(Tt,m)),p=!0}return p},o);return a[bu]=a,a}function Z1(e){if(xk===null){xk=!1;try{var t=Yy||{};xk=t[eq]!==void 0}catch(o){ke(e,2,68,"Cannot access document.cookie - "+Ct(o),{exception:Ye(o)})}}return xk}function Ome(e){var t={};if(e&&e[ct]){var o=gr(e)[uu](";");Ge(o,function(r){if(r=gr(r||Tt),r){var n=r[du]("=");n===-1?t[r]=null:t[gr(r[Oh](0,n))]=gr(r[Oh](n+1))}})}return t}function Dme(e,t){return ot(e[t])?e[t]():null}function $me(e,t){var o=e||Tt;return Dt(t,function(r,n){o+="; "+r+(ge(n)?Tt:"="+n)}),o}function Cqe(e){var t=Tt;if(Yy){var o=Yy[eq]||Tt;Rme!==o&&(Mme=Ome(o),Rme=o),t=gr(Mme[e]||Tt)}return t}function Nme(e,t){Yy&&(Yy[eq]=e+"="+t)}function tq(e){return Ze(e)?!!(Ur(e,"CPU iPhone OS 12")||Ur(e,"iPad; CPU OS 12")||Ur(e,"Macintosh; Intel Mac OS X 10_14")&&Ur(e,"Version/")&&Ur(e,"Safari")||Ur(e,"Macintosh; Intel Mac OS X 10_14")&&w1(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||Ur(e,"Chrome/5")||Ur(e,"Chrome/6")||Ur(e,"UnrealEngine")&&!Ur(e,"Chrome")||Ur(e,"UCBrowser/12")||Ur(e,"UCBrowser/11")):!1}var Vme="on",Fme="attachEvent",Ume="addEventListener",Hme="detachEvent",zme="removeEventListener",oq="events",rq="visibilitychange",Ak="pagehide";var jme="unload",Yme="beforeunload",Qme=vn("aiEvtPageHide"),Idt=vn("aiEvtPageShow"),Aqe=/\.[\.]+/g,kqe=/[\.]+$/,Iqe=1,Ek=yk("events"),Pqe=/^([^.]*)(?:\.(.+)|)/;function Bme(e){return e&&e[Aa]?e[Aa](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,Tt):e}function nq(e,t){var o;if(t){var r=Tt;Mt(t)?(r=Tt,Ge(t,function(s){s=Bme(s),s&&(s[0]!=="."&&(s="."+s),r+=s)})):r=Bme(t),r&&(r[0]!=="."&&(r="."+r),e=(e||Tt)+r)}var n=Pqe.exec(e||Tt)||[];return o={},o[Cl]=n[1],o.ns=(n[2]||Tt).replace(Aqe,".").replace(kqe,Tt)[uu](".").sort().join("."),o}function Wme(e,t,o){o===void 0&&(o=!0);var r=Ek.get(e,oq,{},o),n=r[t];return n||(n=r[t]=[]),n}function Kme(e,t,o,r){e&&t&&t[Cl]&&(e[zme]?e[zme](t[Cl],o,r):e[Hme]&&e[Hme](Vme+t[Cl],o))}function Lqe(e,t,o,r){var n=!1;return e&&t&&t[Cl]&&o&&(e[Ume]?(e[Ume](t[Cl],o,r),n=!0):e[Fme]&&(e[Fme](Vme+t[Cl],o),n=!0)),n}function Gme(e,t,o,r){for(var n=t[ct];n--;){var s=t[n];s&&(!o.ns||o.ns===s.evtName.ns)&&(!r||r(s))&&(Kme(e,s.evtName,s[sk],s.capture),t[wa](n,1))}}function Rqe(e,t,o){if(t[Cl])Gme(e,Wme(e,t[Cl]),t,o);else{var r=Ek.get(e,oq,{});Dt(r,function(n,s){Gme(e,s,t,o)}),es(r)[ct]===0&&Ek.kill(e,oq)}}function li(e,t){var o;return t?(Mt(t)?o=[e].concat(t):o=[e,t],o=nq("xx",o).ns[uu](".")):o=e,o}function Ui(e,t,o,r,n){var s;n===void 0&&(n=!1);var i=!1;if(e)try{var a=nq(t,r);if(i=Lqe(e,a,o,n),i&&Ek.accept(e)){var l=(s={guid:Iqe++,evtName:a},s[sk]=o,s.capture=n,s);Wme(e,a.type)[Pt](l)}}catch{}return i}function _u(e,t,o,r,n){if(n===void 0&&(n=!1),e)try{var s=nq(t,r),i=!1;Rqe(e,s,function(a){return s.ns&&!o||a[sk]===o?(i=!0,!0):!1}),i||Kme(e,s,o,n)}catch{}}function Jme(e,t,o){var r=!1,n=ai();n&&(r=Ui(n,e,t,o),r=Ui(n.body,e,t,o)||r);var s=hr();return s&&(r=Ui(s,e,t,o)||r),r}function Xme(e,t,o){var r=ai();r&&(_u(r,e,t,o),_u(r.body,e,t,o));var n=hr();n&&_u(n,e,t,o)}function wk(e,t,o,r){var n=!1;return t&&e&&e[ct]>0&&Ge(e,function(s){s&&(!o||rn(o,s)===-1)&&(n=Jme(s,t,r)||n)}),n}function Zme(e,t,o,r){var n=!1;return t&&e&&Mt(e)&&(n=wk(e,t,o,r),!n&&o&&o[ct]>0&&(n=wk(e,t,null,r))),n}function Ck(e,t,o){e&&Mt(e)&&Ge(e,function(r){r&&Xme(r,t,o)})}function sq(e,t,o){return Zme([Yme,jme,Ak],e,t,o)}function iq(e,t){Ck([Yme,jme,Ak],e,t)}function Qy(e,t,o){function r(i){var a=hr();e&&a&&a.visibilityState==="hidden"&&e(i)}var n=li(Qme,o),s=wk([Ak],e,t,n);return(!t||rn(t,rq)===-1)&&(s=wk([rq],r,t,n)||s),!s&&t&&(s=Qy(e,null,o)),s}function aq(e,t){var o=li(Qme,t);Ck([Ak],e,o),Ck([rq],null,o)}function Ts(){for(var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],t=Tt,o,r=0;r<4;r++)o=Im(),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 n=e[8+(Im()&3)|0];return t[pu](0,8)+t[pu](9,4)+"4"+t[pu](13,3)+n+t[pu](16,3)+t[pu](19,12)}var lq="00",$qe="ff",tfe="00000000000000000000000000000000",ofe="0000000000000000";function Wy(e,t,o){return e&&e[ct]===t&&e!==o?!!e.match(/^[\da-f]*$/):!1}function efe(e,t,o){return Wy(e,t)?e:o}function Nqe(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[ct]<2;)t="0"+t;return t}function Ky(e,t,o,r){var n;return n={},n[h1]=Wy(r,2,$qe)?r:lq,n[Oy]=Rm(e)?e:Ts(),n.spanId=Mm(t)?t:Ts()[pu](0,16),n.traceFlags=o>=0&&o<=255?o:1,n}function Rm(e){return Wy(e,32,tfe)}function Mm(e){return Wy(e,16,ofe)}function Jy(e){if(e){var t=Nqe(e[Fy]);Wy(t,2)||(t="01");var o=e[h1]||lq;return o!=="00"&&o!=="ff"&&(o=lq),"".concat(o,"-").concat(efe(e.traceId,32,tfe),"-").concat(efe(e.spanId,16,ofe),"-").concat(t)}return""}var qqe=yk("plugin");function Oc(e){return qqe.get(e,"state",{},!0)}function kk(e,t){for(var o=[],r=null,n=e[ni](),s;n;){var i=n[_m]();if(i){r&&ot(r[cu])&&ot(i[ys])&&r[cu](i);var a=!1;ot(i[oi])?a=i[oi]():(s=Oc(i),a=s[oi]),a||o[Pt](i),r=i,n=n[ni]()}}Ge(o,function(l){var c=e[Ko]();l[Sa](e.getCfg(),c,t,e[ni]()),s=Oc(l),!l[Ko]&&!s[Ko]&&(s[Ko]=c),s[oi]=!0,delete s[ri]})}function Ik(e){return e.sort(function(t,o){var r=0;if(o){var n=ot(o[ys]);ot(t[ys])?r=n?t[Ni]-o[Ni]:1:n&&(r=-1)}else r=t?1:-1;return r})}function rfe(e){var t={};return{getName:function(){return t[Rn]},setName:function(o){e&&e.setName(o),t[Rn]=o},getTraceId:function(){return t[Oy]},setTraceId:function(o){e&&e.setTraceId(o),Rm(o)&&(t[Oy]=o)},getSpanId:function(){return t[ak]},setSpanId:function(o){e&&e.setSpanId(o),Mm(o)&&(t[ak]=o)},getTraceFlags:function(){return t[Fy]},setTraceFlags:function(o){e&&e.setTraceFlags(o),t[Fy]=o}}}var Oqe="TelemetryPluginChain",nfe="_hasRun",sfe="_getTelCtx",ife=0;function Fqe(e,t,o){for(;e;){if(e[_m]()===o)return e;e=e[ni]()}return Il([o],t[El]||{},t)}function cq(e,t,o,r){var n=null,s=[];r!==null&&(n=r?Fqe(e,o,r):e);var i={_next:l,ctx:{core:function(){return o},diagLog:function(){return Pa(o,t)},getCfg:function(){return t},getExtCfg:c,getConfig:d,hasNext:function(){return!!n},getNext:function(){return n},setNext:function(m){n=m},iterate:p,onComplete:a}};function a(m,f){for(var g=[],b=2;b0&&(Ge(f,function(g){try{g.func[Fr](g.self,g.args)}catch(b){ke(o[on],2,73,"Unexpected Exception during onComplete - "+Ye(b))}}),s=[])}return m}function c(m,f,g){f===void 0&&(f={}),g===void 0&&(g=0);var b;if(t){var _=t[Uh];_&&m&&(b=_[m])}if(!b)b=f;else if(Mn(f)&&g!==0){var y=jh(!0,f,b);t&&g===2&&Dt(f,function(x){if(ge(y[x])){var C=t[x];ge(C)||(y[x]=C)}}),b=y}return b}function d(m,f,g){g===void 0&&(g=!1);var b,_=c(m,null);return _&&!ge(_[f])?b=_[f]:t&&!ge(t[f])&&(b=t[f]),ge(b)?g:b}function p(m){for(var f;f=i._next();){var g=f[_m]();g&&m(g)}}return i}function sn(e,t,o,r){var n=cq(e,t,o,r),s=n.ctx;function i(l){var c=n._next();return c&&c[ys](l,s),!c}function a(l,c){return l===void 0&&(l=null),Mt(l)&&(l=Il(l,t,o,c)),sn(l||s[ni](),t,o,c)}return s[Mo]=i,s[Dc]=a,s}function Jh(e,t,o){var r=t[El]||{},n=cq(e,r,t,o),s=n.ctx;function i(l){var c=n._next();return c&&c.unload(s,l),!c}function a(l,c){return l===void 0&&(l=null),Mt(l)&&(l=Il(l,r,t,c)),Jh(l||s[ni](),t,c)}return s[Mo]=i,s[Dc]=a,s}function Xy(e,t,o){var r=t[El]||{},n=cq(e,r,t,o),s=n.ctx;function i(l){return s.iterate(function(c){ot(c[vm])&&c[vm](s,l)})}function a(l,c){return l===void 0&&(l=null),Mt(l)&&(l=Il(l,r,t,c)),Xy(l||s[ni](),t,c)}return s[Mo]=i,s[Dc]=a,s}function Il(e,t,o,r){var n=null,s=!r;if(Mt(e)&&e[ct]>0){var i=null;Ge(e,function(a){if(!s&&r===a&&(s=!0),s&&a&&ot(a[ys])){var l=Uqe(a,t,o);n||(n=l),i&&i._setNext(l),i=l}})}return r&&!n?Il([r],t,o):n}function Uqe(e,t,o){var r=null,n=ot(e[ys]),s=ot(e[cu]),i;e?i=e[Ea]+"-"+e[Ni]+"-"+ife++:i="Unknown-0-"+ife++;var a={getPlugin:function(){return e},getNext:function(){return r},processTelemetry:d,unload:p,update:m,_id:i,_setNext:function(f){r=f}};function l(){var f;return e&&ot(e[sfe])&&(f=e[sfe]()),f||(f=sn(a,t,o)),f}function c(f,g,b,_,y){var x=!1,C=e?e[Ea]:Oqe,L=f[nfe];return L||(L=f[nfe]={}),f.setNext(r),e&&hu(f[Ko](),function(){return C+":"+b},function(){L[i]=!0;try{var I=r?r._id:Tt;I&&(L[I]=!1),x=g(f)}catch(O){var q=r?L[r._id]:!0;q&&(x=!0),(!r||!q)&&ke(f[$i](),1,73,"Plugin ["+C+"] failed during "+b+" - "+Ye(O)+", run flags: "+Ye(L))}},_,y),x}function d(f,g){g=g||l();function b(_){if(!e||!n)return!1;var y=Oc(e);return y[ri]||y[Uy]?!1:(s&&e[cu](r),e[ys](f,_),!0)}c(g,b,"processTelemetry",function(){return{item:f}},!f.sync)||g[Mo](f)}function p(f,g){function b(){var _=!1;if(e){var y=Oc(e),x=e[Ko]||y[Ko];e&&(!x||x===f.core())&&!y[ri]&&(y[Ko]=null,y[ri]=!0,y[oi]=!1,e[ri]&&e[ri](f,g)===!0&&(_=!0))}return _}c(f,b,"unload",function(){},g[Ca])||f[Mo](g)}function m(f,g){function b(){var _=!1;if(e){var y=Oc(e),x=e[Ko]||y[Ko];e&&(!x||x===f.core())&&!y[ri]&&e[vm]&&e[vm](f,g)===!0&&(_=!0)}return _}c(f,b,"update",function(){},!1)||f[Mo](g)}return Al(a)}var Hqe=function(){function e(t,o,r,n){var s=this,i=sn(t,o,r,n);kl(s,i,es(i))}return e}();var Zy=500,zqe="Channel has invalid priority - ";function afe(e,t,o){t&&Mt(t)&&t[ct]>0&&(t=t.sort(function(r,n){return r[Ni]-n[Ni]}),Ge(t,function(r){r[Ni]0&&Ge(c,function(b){if(b&&b.queue[ct]>0){var _=b.chain,y=d[Dc](_);y[bm](g),p(y)}else f--}),g()}function n(c,d){var p=d||{reason:0};return r(e,c,function(m){m[Mo](p)},function(){c[Mo](p)}),!0}function s(c,d){var p=d||{reason:0,isAsync:!1};return r(e,c,function(m){m[Mo](p)},function(){c[Mo](p),a=!1}),!0}function i(c){var d=null;return e&&e[ct]>0&&Ge(e,function(p){if(p&&p.queue[ct]>0&&(Ge(p.queue,function(m){if(m[Ea]===c)return d=m,-1}),d))return-1}),d}var a=!1,l={identifier:"ChannelControllerPlugin",priority:Zy,initialize:function(c,d,p,m){a=!0,Ge(e,function(f){f&&f.queue[ct]>0&&kk(sn(f.chain,c,d),p)})},isInitialized:function(){return a},processTelemetry:function(c,d){r(e,d||o(),function(p){p[Mo](c)},function(){d[Mo](c)})},update:n,pause:function(){r(e,o(),function(c){c.iterate(function(d){d.pause&&d.pause()})},null)},resume:function(){r(e,o(),function(c){c.iterate(function(d){d.resume&&d.resume()})},null)},teardown:s,getChannel:i,flush:function(c,d,p,m){var f=1,g=!1,b=null;m=m||5e3;function _(){f--,g&&f===0&&(b&&(clearTimeout(b),b=null),d&&d(g),d=null)}return r(e,o(),function(y){y.iterate(function(x){if(x[$h]){f++;var C=!1;x[$h](c,function(){C=!0,_()},p)||C||(c&&b==null?b=setTimeout(function(){b=null,_()},m):_())}})},function(){g=!0,_()}),!0},_setQueue:function(c){e=c}};return l}function cfe(e,t,o){var r=[];if(e&&Ge(e,function(s){return afe(r,s,o)}),t){var n=[];Ge(t,function(s){s[Ni]>Zy&&n[Pt](s)}),afe(r,n,o)}return r}function Pk(){var e=[];function t(r){r&&e[Pt](r)}function o(r,n){Ge(e,function(s){try{s(r,n)}catch(i){ke(r[$i](),2,73,"Unexpected error calling unload handler - "+Ye(i))}}),e=[]}return{add:t,run:o}}var vu="getPlugin",La=function(){function e(){var t=this,o,r,n,s,i;c(),vt(e,t,function(d){d[Sa]=function(p,m,f,g){l(p,m,g),o=!0},d[ri]=function(p,m){var f,g=d[Ko];if(!g||p&&g!==p[Ko]())return;var b,_=!1,y=p||Jh(null,g,n&&n[vu]?n[vu]():n),x=m||(f={reason:0},f[Ca]=!1,f);function C(){if(!_){_=!0,s.run(y,m);var L=i;i=[],Ge(L,function(I){I.rm()}),b===!0&&y[Mo](x),c()}}return!d[qh]||d[qh](y,x,C)!==!0?C():b=!0,b},d[vm]=function(p,m){var f=d[Ko];if(!f||p&&f!==p[Ko]())return;var g,b=!1,_=p||Xy(null,f,n&&n[vu]?n[vu]():n),y=m||{reason:0};function x(){b||(b=!0,l(_.getCfg(),_.core(),_[ni]()))}return!d._doUpdate||d._doUpdate(_,y,x)!==!0?x():g=!0,g},d._addHook=function(p){p&&(Mt(p)?i=i.concat(p):i[Pt](p))},Vh(d,"_addUnloadCb",function(){return s},"add")}),t[$i]=function(d){return a(d)[$i]()},t[oi]=function(){return o},t.setInitialized=function(d){o=d},t[cu]=function(d){n=d},t[Mo]=function(d,p){p?p[Mo](d):n&&ot(n[ys])&&n[ys](d,null)},t._getTelCtx=a;function a(d){d===void 0&&(d=null);var p=d;if(!p){var m=r||sn(null,{},t[Ko]);n&&n[vu]?p=m[Dc](null,n[vu]):p=m[Dc](null,n)}return p}function l(d,p,m){d&&Yt(d,Uh,[],null,ge),!m&&p&&(m=p[tk]()[ni]());var f=n;n&&n[vu]&&(f=n[vu]()),t[Ko]=p,r=sn(m,d,p,f)}function c(){o=!1,t[Ko]=null,r=null,n=null,i=[],s=Pk()}}return e.__ieDyn=1,e}();var dfe=function(e){tn(t,e);function t(){var o=e.call(this)||this;o.identifier="TelemetryInitializerPlugin",o.priority=199;var r,n;s(),vt(t,o,function(i,a){i.addTelemetryInitializer=function(l){var c={id:r++,fn:l};n[Pt](c);var d={remove:function(){Ge(n,function(p,m){if(p.id===c.id)return n[wa](m,1),-1})}};return d},i[ys]=function(l,c){for(var d=!1,p=n[ct],m=0;m0){var G=r;r=[],Ge(G,function(se){te()[Mo](se)})}},O.pollInternalLogs=function(G){return _=G||null,q=!1,I&&(clearInterval(I),I=null),ne(!0)};function ne(G){if(!I&&!q){var se=G||O[on]&&O[on].queue[ct]>0;if(se){var Ce=ii(t.diagnosticLogInterval);(!Ce||!(Ce>0))&&(Ce=1e4),I=setInterval(function(){clearInterval(I),I=0,Ao()},Ce)}}return I}O[m1]=function(){q=!0,I&&(clearInterval(I),I=0,Ao())},kl(O,function(){return b},["addTelemetryInitializer"]),O.unload=function(G,se,Ce){var R;G===void 0&&(G=!0),o||Jo(Bqe),g&&Jo(pfe);var X=(R={reason:50},R[Ca]=G,R.flushComplete=!1,R),ae=Jh(eo(),O);ae[bm](function(){Ie(),se&&se(X)},O);function Se(qe){X.flushComplete=qe,g=!0,x.run(ae,X),O[m1](),ae[Mo](X)}Ao(),At(G,Se,6,Ce)||Se(!1)},O[_m]=St,O.addPlugin=function(G,se,Ce,R){if(!G){R&&R(!1),de(ffe);return}var X=St(G[Ea]);if(X&&!se){R&&R(!1),de("Plugin ["+G[Ea]+"] is already loaded!");return}var ae={reason:16};function Se(mt){c[Pt](G),ae.added=[G],et(ae),R&&R(!0)}if(X){var qe=[X.plugin],lt={reason:2,isAsync:!!Ce};Co(qe,lt,function(mt){mt?(ae.removed=qe,ae.reason|=32,Se(!0)):R&&R(!1)})}else Se(!1)},O.evtNamespace=function(){return y},O[$h]=At,O.getTraceCtx=function(G){return L||(L=rfe()),L},O.setTraceCtx=function(G){L=G||null},Vh(O,"addUnloadCb",function(){return x},"add");function Ie(){o=!1,t=jh(!0,{},Gqe),O[El]=t,O[on]=new Am(t),O[$y]=[],b=new dfe,r=[],n=null,s=null,i=null,a=null,l=null,d=null,c=[],p=null,m=null,f=null,g=!1,_=null,y=vn("AIBaseCore",!0),x=Pk(),L=null}function te(){var G=sn(eo(),t,O);return G[bm](ne),G}function et(G){var se=jqe(O[on],Zy,c);d=se[Ko],l=null;var Ce=se.all;if(f=Al(cfe(m,Ce,O)),p){var R=rn(Ce,p);R!==-1&&Ce[wa](R,1),R=rn(d,p),R!==-1&&d[wa](R,1),p._setQueue(f)}else p=lfe(f,O);Ce[Pt](p),d[Pt](p),O[$y]=Ik(Ce),p[Sa](t,O,Ce);var X=te();kk(X,Ce),O[$y]=Al(Ik(d||[])).slice(),G&&z(G)}function St(G){var se,Ce=null,R=null;return Ge(O[$y],function(X){if(X[Ea]===G&&X!==p&&X!==b)return R=X,-1}),!R&&p&&(R=p.getChannel(G)),R&&(Ce=(se={plugin:R},se[Ny]=function(X){Oc(R)[Uy]=!X},se.isEnabled=function(){var X=Oc(R);return!X[ri]&&!X[Uy]},se.remove=function(X,ae){var Se;X===void 0&&(X=!0);var qe=[R],lt=(Se={reason:1},Se[Ca]=X,Se);Co(qe,lt,function(mt){mt&&et({reason:32,removed:qe}),ae&&ae(mt)})},se)),Ce}function eo(){if(!l){var G=(d||[]).slice();rn(G,b)===-1&&G[Pt](b),l=Il(Ik(G),t,O)}return l}function Co(G,se,Ce){if(G&&G[ct]>0){var R=Il(G,t,O),X=Jh(R,O);X[bm](function(){var ae=!1,Se=[];Ge(c,function(lt,mt){mfe(lt,G)?ae=!0:Se[Pt](lt)}),c=Se;var qe=[];m&&(Ge(m,function(lt,mt){var yo=[];Ge(lt,function(jo){mfe(jo,G)?ae=!0:yo[Pt](jo)}),qe[Pt](yo)}),m=qe),Ce&&Ce(ae),ne()}),X[Mo](se)}else Ce(!1)}function Ao(){if(O[on]&&O[on].queue){var G=O[on].queue.slice(0);O[on].queue[ct]=0,Ge(G,function(se){var Ce,R=(Ce={},Ce[Rn]=_||"InternalMessageId: "+se[Nh],Ce.iKey=ii(t[ek]),Ce.time=si(new Date),Ce.baseType=Nc.dataType,Ce.baseData={message:se[lu]},Ce);O.track(R)})}}function At(G,se,Ce,R){return p?p[$h](G,se,Ce||6,R):(se&&se(!1),!0)}function vo(){var G=ii(t.disableDbgExt);G===!0&&C&&(n[hm](C),C=null),n&&!C&&G!==!0&&(C=yme(t),n[gm](C))}function Te(){var G=ii(t.enablePerfMgr);!G&&i&&(i=null),G&&nr(t,_1,Vqe)}function rt(){var G=nr(t,Uh,{});G.NotificationManager=n}function z(G){var se=Xy(eo(),O);se[bm](ne),(!O._updateHook||O._updateHook(se,G)!==!0)&&se[Mo](G)}function de(G){var se=O[on];se?(ke(se,2,73,G),ne()):Jo(G)}})}return e.__ieDyn=1,e}();function Lk(e,t,o,r){Ge(e,function(n){if(n&&n[t])if(o)setTimeout(function(){return r(n)},0);else try{r(n)}catch{}})}var hfe=function(){function e(t){this.listeners=[];var o=!!(t||{}).perfEvtsSendAll;vt(e,this,function(r){r[gm]=function(n){r.listeners[Pt](n)},r[hm]=function(n){for(var s=rn(r[ym],n);s>-1;)r.listeners[wa](s,1),s=rn(r[ym],n)},r[Hh]=function(n){Lk(r[ym],Hh,!0,function(s){s[Hh](n)})},r[mu]=function(n,s){Lk(r[ym],mu,!0,function(i){i[mu](n,s)})},r[zh]=function(n,s){Lk(r[ym],zh,s,function(i){i[zh](n,s)})},r[fu]=function(n){n&&(o||!n[qy]())&&Lk(r[ym],fu,!1,function(s){n[Ca]?setTimeout(function(){return s[fu](n)},0):s[fu](n)})}})}return e.__ieDyn=1,e}();var dq=function(e){tn(t,e);function t(){var o=e.call(this)||this;return vt(t,o,function(r,n){r[Sa]=function(a,l,c,d){n[Sa](a,l,c||new Am(a),d||new hfe(a))},r.track=function(a){hu(r[Tm](),function(){return"AppInsightsCore:track"},function(){a===null&&(i(a),Jo("Invalid telemetry item")),s(a),n.track(a)},function(){return{item:a}},!a.sync)};function s(a){ge(a[Rn])&&(i(a),Jo("telemetry name required"))}function i(a){var l=r[Dy]();l&&l[mu]([a],2)}}),o}return t.__ieDyn=1,t}(gfe);var bfe="_aiHooks",_fe=["req","rsp","hkErr","fnErr"];function pq(e,t){if(e)for(var o=0;o=0&&n<=2&&pq(e,function(s,i){var a=s.cbks,l=a[_fe[n]];if(l){t.ctx=function(){var p=r[i]=r[i]||{};return p};try{l[wl](t.inst,o)}catch(p){var c=t.err;try{var d=a[_fe[2]];d&&(t.err=p,d[wl](t.inst,o))}catch{}finally{t.err=c}}}})}function Qqe(e){return function(){var t,o=this,r=arguments,n=e.h,s=(t={},t[Rn]=e.n,t.inst=o,t.ctx=null,t.set=c,t),i=[],a=l([s],r);s.evt=Xo("event");function l(p,m){return pq(m,function(f){p[Pt](f)}),p}function c(p,m){r=l([],r),r[p]=m,a=l([s],r)}uq(n,s,a,i,0);var d=e.f;if(d)try{s.rslt=d[wl](o,r)}catch(p){throw s.err=p,uq(n,s,a,i,3),p}return uq(n,s,a,i,1),s.rslt}}function mq(e,t,o,r){var n=null;return e&&(uk(e,t)?n=e:o&&(n=mq(S1(e),t,r,!1))),n}function fq(e,t,o){return e?ex(e[Wo],t,o,!1):null}function vfe(e,t,o,r){var n=o&&o[bfe];if(!n){n={i:0,n:t,f:o,h:[]};var s=Qqe(n);s[bfe]=n,e[t]=s}var i={id:n.i,cbks:r,rm:function(){var a=this.id;pq(n.h,function(l,c){if(l.id===a)return n.h[wa](c,1),1})}};return n.i++,n.h[Pt](i),i}function ex(e,t,o,r,n){if(r===void 0&&(r=!0),e&&t&&o){var s=mq(e,t,r,n);if(s){var i=s[t];if(typeof i===Mi)return vfe(s,t,i,o)}}return null}function Xh(e,t,o,r,n){if(e&&t&&o){var s=mq(e,t,r,n)||e;if(s)return vfe(s,t,s[t],o)}return null}var Ra="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Zh="sampleRate",eb="ProcessLegacy",tx="http.method",yu="https://dc.services.visualstudio.com",Fc="/v2/track",br="not_specified",Rk="iKey";function Dm(e){var t=null;if(ot(Event))t=new Event(e);else{var o=hr();o&&o.createEvent&&(t=o.createEvent("Event"),t.initEvent(e,!0,!0))}return t}var Uc="split",yt="length",Pl="toLowerCase",ox="ingestionendpoint",Ma="toString",Mk="removeItem",Sr="name",Hc="message",yfe="count";var rx="stringify",nx="pathname",gq="correlationHeaderExcludePatterns",tb="indexOf";var $m="exceptions",Hi="parsedStack",Dn="properties",$n="measurements",Nm="sizeInBytes",Ll="typeName",qm="severityLevel",Dk="problemGroup",$k="isManual",hq="CreateFromInterface",Om="assembly",sx="hasFullStack",ix="level",Fm="method",ob="fileName",rb="line",Um="duration",bq="receivedResponse",Hm="substring",xfe="sanitizeKeyAndAddUniqueness",Tfe="sanitizeException",Sfe="sanitizeProperties",Efe="sanitizeMeasurements";var ax="";function zi(e,t){return t===void 0&&(t=!1),e==null?t:e.toString()[Pl]()==="true"}function ci(e){(isNaN(e)||e<0)&&(e=0),e=Math.round(e);var t=ax+e%1e3,o=ax+Math.floor(e/1e3)%60,r=ax+Math.floor(e/(1e3*60))%60,n=ax+Math.floor(e/(1e3*60*60))%24,s=Math.floor(e/(1e3*60*60*24));return t=t[yt]===1?"00"+t:t[yt]===2?"0"+t:t,o=o[yt]<2?"0"+o:o,r=r[yt]<2?"0"+r:r,n=n[yt]<2?"0"+n:n,(s>0?s+".":ax)+n+":"+r+":"+o+"."+t}function _q(e,t,o,r,n){return!n&&Ze(e)&&(e==="Script error."||e==="Script error")}var mo=I1({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 nb=mk({LocalStorage:0,SessionStorage:1}),iOe=mk({AI:0,AI_AND_W3C:1,W3C:2});var xu=void 0,Tu=void 0;function vq(){return lx()?Nk(nb.LocalStorage):null}function Nk(e){try{if(ge(Di()))return null;var t=new Date()[Ma](),o=Xo(e===nb.LocalStorage?"localStorage":"sessionStorage");o.setItem(t,t);var r=o.getItem(t)!==t;if(o[Mk](t),!r)return o}catch{}return null}function yq(){return Su()?Nk(nb.SessionStorage):null}function xq(){xu=!1,Tu=!1}function Tq(){xu=lx(!0),Tu=Su(!0)}function lx(e){return(e||xu===void 0)&&(xu=!!Nk(nb.LocalStorage)),xu}function Sq(e,t){var o=vq();if(o!==null)try{return o.getItem(t)}catch(r){xu=!1,ke(e,2,1,"Browser failed read of local storage. "+Ct(r),{exception:Ye(r)})}return null}function Eq(e,t,o){var r=vq();if(r!==null)try{return r.setItem(t,o),!0}catch(n){xu=!1,ke(e,2,3,"Browser failed write to local storage. "+Ct(n),{exception:Ye(n)})}return!1}function wq(e,t){var o=vq();if(o!==null)try{return o[Mk](t),!0}catch(r){xu=!1,ke(e,2,5,"Browser failed removal of local storage item. "+Ct(r),{exception:Ye(r)})}return!1}function Su(e){return(e||Tu===void 0)&&(Tu=!!Nk(nb.SessionStorage)),Tu}function sb(e,t){var o=yq();if(o!==null)try{return o.getItem(t)}catch(r){Tu=!1,ke(e,2,2,"Browser failed read of session storage. "+Ct(r),{exception:Ye(r)})}return null}function cx(e,t,o){var r=yq();if(r!==null)try{return r.setItem(t,o),!0}catch(n){Tu=!1,ke(e,2,4,"Browser failed write to session storage. "+Ct(n),{exception:Ye(n)})}return!1}function Cq(e,t){var o=yq();if(o!==null)try{return o[Mk](t),!0}catch(r){Tu=!1,ke(e,2,6,"Browser failed removal of session storage item. "+Ct(r),{exception:Ye(r)})}return!1}var Ss;function qk(e,t,o){var r=t[yt],n=Aq(e,t);if(n[yt]!==r){for(var s=0,i=n;o[i]!==void 0;)s++,i=n[Hm](0,150-3)+kq(s);n=i}return n}function Aq(e,t){var o;return t&&(t=gr(t[Ma]()),t[yt]>150&&(o=t[Hm](0,150),ke(e,2,57,"name is too long. It has been truncated to 150 characters.",{name:t},!0))),o||t}function io(e,t,o){o===void 0&&(o=1024);var r;return t&&(o=o||1024,t=gr(t),t.toString()[yt]>o&&(r=t[Ma]()[Hm](0,o),ke(e,2,61,"string value is too long. It has been truncated to "+o+" characters.",{value:t},!0))),r||t}function Rl(e,t){return Uk(e,t,2048,66)}function ib(e,t){var o;return t&&t[yt]>32768&&(o=t[Hm](0,32768),ke(e,2,56,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),o||t}function Ok(e,t){var o;if(t){var r=""+t;r[yt]>32768&&(o=r[Hm](0,32768),ke(e,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0))}return o||t}function Nn(e,t){if(t){var o={};Dt(t,function(r,n){if(Mn(n)&&Ia())try{n=Hr()[rx](n)}catch(s){ke(e,2,49,"custom property is not valid",{exception:s},!0)}n=io(e,n,8192),r=qk(e,r,o),o[r]=n}),t=o}return t}function qn(e,t){if(t){var o={};Dt(t,function(r,n){r=qk(e,r,o),o[r]=n}),t=o}return t}function Fk(e,t){return t&&Uk(e,t,128,69)[Ma]()}function Uk(e,t,o,r){var n;return t&&(t=gr(t),t[yt]>o&&(n=t[Hm](0,o),ke(e,2,r,"input is too long, it has been truncated to "+o+" characters.",{data:t},!0))),n||t}function kq(e){var t="00"+e;return t.substr(t[yt]-3)}var wfe=(Ss={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},Ss[xfe]=qk,Ss.sanitizeKey=Aq,Ss.sanitizeString=io,Ss.sanitizeUrl=Rl,Ss.sanitizeMessage=ib,Ss[Tfe]=Ok,Ss[Sfe]=Nn,Ss[Efe]=qn,Ss.sanitizeId=Fk,Ss.sanitizeInput=Uk,Ss.padNumber=kq,Ss.trim=gr,Ss);var Cfe=hr()||{},Afe=0,aOe=[null,null,null,null,null];function dx(e){var t=Afe,o=aOe,r=o[t];return Cfe.createElement?o[t]||(r=o[t]=Cfe.createElement("a")):r={host:Iq(e,!0)},r.href=e,t++,t>=o[yt]&&(t=0),Afe=t,r}function Hk(e){var t,o=dx(e);return o&&(t=o.href),t}function zk(e,t){return e?e.toUpperCase()+" "+t:t}function Iq(e,t){var o=Bk(e,t)||"";if(o){var r=o.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(r!=null&&r[yt]>3&&Ze(r[2])&&r[2][yt]>0)return r[2]+(r[3]||"")}return o}function Bk(e,t){var o=null;if(e){var r=e.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(r!=null&&r[yt]>2&&Ze(r[2])&&r[2][yt]>0&&(o=r[2]||"",t&&r[yt]>2)){var n=(r[1]||"")[Pl](),s=r[3]||"";(n==="http"&&s===":80"||n==="https"&&s===":443")&&(s=""),o+=s}}return o}var cOe=[yu+Fc,"https://breeze.aimon.applicationinsights.io"+Fc,"https://dc-int.services.visualstudio.com"+Fc];function zm(e){return rn(cOe,e[Pl]())!==-1}var zc={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,o){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e[gq]){for(var r=0;r0},getCorrelationContext:function(e){if(e){var t=zc.getCorrelationContextValue(e,mo[1]);if(t&&t!==zc.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var o=e[Uc](","),r=0;r0){var a=dx(t);if(n=a.host,!s)if(a[nx]!=null){var l=a.pathname[yt]===0?"/":a[nx];l.charAt(0)!=="/"&&(l="/"+l),i=a[nx],s=io(e,o?o+" "+l:l)}else s=io(e,t)}else n=r,s=r;return{target:n,name:s,data:i}}function ab(){var e=Oi();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return nn()}function zr(e,t){var o=null;return e!==0&&t!==0&&!ge(e)&&!ge(t)&&(o=t-e),o}function Bm(e,t){var o=e||{};return{getName:function(){return o[Sr]},setName:function(r){t&&t.setName(r),o[Sr]=r},getTraceId:function(){return o.traceID},setTraceId:function(r){t&&t.setTraceId(r),Rm(r)&&(o.traceID=r)},getSpanId:function(){return o.parentID},setSpanId:function(r){t&&t.setSpanId(r),Mm(r)&&(o.parentID=r)},getTraceFlags:function(){return o.traceFlags},setTraceFlags:function(r){t&&t.setTraceFlags(r),o.traceFlags=r}}}var dOe=";",uOe="=";function Pq(e){if(!e)return{};var t=e[Uc](dOe),o=C1(t,function(n,s){var i=s[Uc](uOe);if(i[yt]===2){var a=i[0][Pl](),l=i[1];n[a]=l}return n},{});if(es(o)[yt]>0){if(o.endpointsuffix){var r=o.location?o.location+".":"";o[ox]=o[ox]||"https://"+r+"dc."+o.endpointsuffix}o[ox]=o[ox]||yu}return o}var Gk=function(){function e(t,o,r){var n=this,s=this;s.ver=1,s.sampleRate=100,s.tags={},s[Sr]=io(t,r)||br,s.data=o,s.time=si(new Date),s.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return n.sampleRate===100?4:1},tags:1,data:1}}return e}();var di=function(){function e(t,o,r,n){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var s=this;s.ver=2,s[Sr]=io(t,o)||br,s[Dn]=Nn(t,r),s[$n]=qn(t,n)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Event",e.dataType="EventData",e}();var pOe="",lb="error",Es="stack",Rq="stackDetails",Ife="errorSrc",Mq="message",Rfe="description";function Dq(e,t){var o=e;return o&&!Ze(o)&&(JSON&&JSON[rx]?(o=JSON[rx](e),t&&(!o||o==="{}")&&(ot(e[Ma])?o=e[Ma]():o=""+e)):o=""+e+" - (Missing JSON.stringify)"),o||""}function Mfe(e,t){var o=e;return e&&(o&&!Ze(o)&&(o=e[Mq]||e[Rfe]||o),o&&!Ze(o)&&(o=Dq(o,!0)),e.filename&&(o=o+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),t&&t!=="String"&&t!=="Object"&&t!=="Error"&&(o||"")[tb](t)===-1&&(o=t+": "+o),o||""}function mOe(e){try{if(Mn(e))return"hasFullStack"in e&&"typeName"in e}catch{}return!1}function fOe(e){try{if(Mn(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch{}return!1}function Pfe(e){return e&&e.src&&Ze(e.src)&&e.obj&&Mt(e.obj)}function Gm(e){var t=e||"";Ze(t)||(Ze(t[Es])?t=t[Es]:t=""+t);var o=t[Uc](` `);return{src:t,obj:o}}function gOe(e){for(var t=[],o=e[Uc](` `),r=0;r0){t=[];var r=0,n=0;Ge(o,function(g){var b=g[Ma]();if($q.regex.test(b)){var _=new $q(b,r++);n+=_[Nm],t.push(_)}});var s=32*1024;if(n>s)for(var i=0,a=t[yt]-1,l=0,c=i,d=a;is){var f=d-c+1;t.splice(c,f);break}c=i,d=a,i++,a--}}return t}function Vk(e){var t="";if(e&&(t=e.typeName||e[Sr]||"",!t))try{var o=/function (.{1,200})\(/,r=o.exec(e.constructor[Ma]());t=r&&r[yt]>1?r[1]:""}catch{}return t}function Lq(e){if(e)try{if(!Ze(e)){var t=Vk(e),o=Dq(e,!1);return(!o||o==="{}")&&(e[lb]&&(e=e[lb],t=Vk(e)),o=Dq(e,!0)),o[tb](t)!==0&&t!=="String"?t+":"+o:o}}catch{}return""+(e||"")}var yn=function(){function e(t,o,r,n,s,i){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var a=this;a.ver=2,fOe(o)?(a[$m]=o[$m]||[],a[Dn]=o[Dn],a[$n]=o[$n],o[qm]&&(a[qm]=o[qm]),o.id&&(a.id=o.id),o[Dk]&&(a[Dk]=o[Dk]),ge(o[$k])||(a[$k]=o[$k])):(r||(r={}),a[$m]=[new Lfe(t,o,r)],a[Dn]=Nn(t,r),a[$n]=qn(t,n),s&&(a[qm]=s),i&&(a.id=i))}return e.CreateAutoException=function(t,o,r,n,s,i,a,l){var c,d=Vk(s||i||t);return c={},c[Hc]=Mfe(t,d),c.url=o,c.lineNumber=r,c.columnNumber=n,c.error=Lq(s||i||t),c.evt=Lq(i||t),c[Ll]=d,c.stackDetails=Dfe(a||s||i),c.errorSrc=l,c},e.CreateFromInterface=function(t,o,r,n){var s=o[$m]&&wm(o[$m],function(a){return Lfe[hq](t,a)}),i=new e(t,fr(fr({},o),{exceptions:s}),r,n);return i},e.prototype.toInterface=function(){var t,o=this,r=o.exceptions,n=o.properties,s=o.measurements,i=o.severityLevel,a=o.problemGroup,l=o.id,c=o.isManual,d=r instanceof Array&&wm(r,function(p){return p.toInterface()})||void 0;return t={ver:"4.0"},t[$m]=d,t.severityLevel=i,t.properties=n,t.measurements=s,t.problemGroup=a,t.id=l,t.isManual=c,t},e.CreateSimpleException=function(t,o,r,n,s,i){var a;return{exceptions:[(a={},a[sx]=!0,a.message=t,a.stack=s,a.typeName=o,a)]}},e.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",e.dataType="ExceptionData",e.formatError=Lq,e}();var Lfe=function(){function e(t,o,r){this.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2};var n=this;if(mOe(o))n[Ll]=o[Ll],n[Hc]=o[Hc],n[Es]=o[Es],n[Hi]=o[Hi]||[],n[sx]=o[sx];else{var s=o,i=s&&s.evt;Em(s)||(s=s[lb]||i||s),n[Ll]=io(t,Vk(s))||br,n[Hc]=ib(t,Mfe(o||s,n[Ll]))||br;var a=o[Rq]||Dfe(o);n[Hi]=bOe(a),Mt(n[Hi])&&wm(n[Hi],function(l){return l[Om]=io(t,l[Om])}),n[Es]=Ok(t,hOe(a)),n.hasFullStack=Mt(n.parsedStack)&&n.parsedStack[yt]>0,r&&(r[Ll]=r[Ll]||n[Ll])}}return e.prototype.toInterface=function(){var t,o=this,r=o[Hi]instanceof Array&&wm(o[Hi],function(s){return s.toInterface()}),n=(t={id:o.id,outerId:o.outerId,typeName:o[Ll],message:o[Hc],hasFullStack:o[sx],stack:o[Es]},t[Hi]=r||void 0,t);return n},e.CreateFromInterface=function(t,o){var r=o[Hi]instanceof Array&&wm(o[Hi],function(s){return $q[hq](s)})||o[Hi],n=new e(t,fr(fr({},o),{parsedStack:r}));return n},e}();var $q=function(){function e(t,o){this.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0};var r=this;if(r[Nm]=0,typeof t=="string"){var n=t;r[ix]=o,r[Fm]=pOe,r[Om]=gr(n),r[ob]="",r[rb]=0;var s=n.match(e.regex);s&&s[yt]>=5&&(r[Fm]=gr(s[2])||r[Fm],r[ob]=gr(s[4]),r[rb]=parseInt(s[5])||0)}else r[ix]=t[ix],r[Fm]=t[Fm],r[Om]=t[Om],r[ob]=t[ob],r[rb]=t[rb],r[Nm]=0;r.sizeInBytes+=r.method[yt],r.sizeInBytes+=r.fileName[yt],r.sizeInBytes+=r.assembly[yt],r[Nm]+=e.baseSize,r.sizeInBytes+=r.level.toString()[yt],r.sizeInBytes+=r.line.toString()[yt]}return e.CreateFromInterface=function(t){return new e(t,null)},e.prototype.toInterface=function(){var t=this;return{level:t[ix],method:t[Fm],assembly:t[Om],fileName:t[ob],line:t[rb]}},e.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,e.baseSize=58,e}();var $fe=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 ui=function(){function e(t,o,r,n,s,i,a,l,c){this.aiDataContract={ver:1,metrics:1,properties:0};var d=this;d.ver=2;var p=new $fe;p[yfe]=n>0?n:void 0,p.max=isNaN(i)||i===null?void 0:i,p.min=isNaN(s)||s===null?void 0:s,p[Sr]=io(t,o)||br,p.value=r,p.stdDev=isNaN(a)||a===null?void 0:a,d.metrics=[p],d[Dn]=Nn(t,l),d[$n]=qn(t,c)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",e.dataType="MetricData",e}();var os=function(){function e(t,o,r,n,s,i,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var l=this;l.ver=2,l.id=Fk(t,a),l.url=Rl(t,r),l[Sr]=io(t,o)||br,isNaN(n)||(l[Um]=ci(n)),l[Dn]=Nn(t,s),l[$n]=qn(t,i)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",e.dataType="PageviewData",e}();var pi=function(){function e(t,o,r,n,s,i,a,l,c,d,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 f=this;f.ver=2,f.id=o,f[Um]=ci(s),f.success=i,f.resultCode=a+"",f.type=io(t,c);var g=kfe(t,r,l,n);f.data=Rl(t,n)||g.data,f.target=io(t,g.target),d&&(f.target="".concat(f.target," | ").concat(d)),f[Sr]=io(t,g[Sr]),f[Dn]=Nn(t,p),f[$n]=qn(t,m)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",e.dataType="RemoteDependencyData",e}();var Da=function(){function e(t,o,r,n,s){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var i=this;i.ver=2,o=o||br,i[Hc]=ib(t,o),i[Dn]=Nn(t,n),i[$n]=qn(t,s),r&&(i[qm]=r)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.Message",e.dataType="MessageData",e}();var $a=function(){function e(t,o,r,n,s,i,a){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var l=this;l.ver=2,l.url=Rl(t,r),l[Sr]=io(t,o)||br,l[Dn]=Nn(t,s),l[$n]=qn(t,i),a&&(l.domProcessing=a.domProcessing,l[Um]=a[Um],l.networkConnect=a.networkConnect,l.perfTotal=a.perfTotal,l[bq]=a[bq],l.sentRequest=a.sentRequest)}return e.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",e.dataType="PageviewPerformanceData",e}();var Ml=function(){function e(t,o){this.aiDataContract={baseType:1,baseData:1},this.baseType=t,this.baseData=o}return e}();function wu(e){var t="ai."+e+".";return function(o){return t+o}}var ux=wu("application"),Br=wu("device"),jk=wu("location"),cb=wu("operation"),Nq=wu("session"),Eu=wu("user"),Vm=wu("cloud"),px=wu("internal"),db=function(e){tn(t,e);function t(){return e.call(this)||this}return t}(k1({applicationVersion:ux("ver"),applicationBuild:ux("build"),applicationTypeId:ux("typeId"),applicationId:ux("applicationId"),applicationLayer:ux("layer"),deviceId:Br("id"),deviceIp:Br("ip"),deviceLanguage:Br("language"),deviceLocale:Br("locale"),deviceModel:Br("model"),deviceFriendlyName:Br("friendlyName"),deviceNetwork:Br("network"),deviceNetworkName:Br("networkName"),deviceOEMName:Br("oemName"),deviceOS:Br("os"),deviceOSVersion:Br("osVersion"),deviceRoleInstance:Br("roleInstance"),deviceRoleName:Br("roleName"),deviceScreenResolution:Br("screenResolution"),deviceType:Br("type"),deviceMachineName:Br("machineName"),deviceVMName:Br("vmName"),deviceBrowser:Br("browser"),deviceBrowserVersion:Br("browserVersion"),locationIp:jk("ip"),locationCountry:jk("country"),locationProvince:jk("province"),locationCity:jk("city"),operationId:cb("id"),operationName:cb("name"),operationParentId:cb("parentId"),operationRootId:cb("rootId"),operationSyntheticSource:cb("syntheticSource"),operationCorrelationVector:cb("correlationVector"),sessionId:Nq("id"),sessionIsFirst:Nq("isFirst"),sessionIsNew:Nq("isNew"),userAccountAcquisitionDate:Eu("accountAcquisitionDate"),userAccountId:Eu("accountId"),userAgent:Eu("userAgent"),userId:Eu("id"),userStoreRegion:Eu("storeRegion"),userAuthUserId:Eu("authUserId"),userAnonymousUserAcquisitionDate:Eu("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Eu("authUserAcquisitionDate"),cloudName:Vm("name"),cloudRole:Vm("role"),cloudRoleVer:Vm("roleVer"),cloudRoleInstance:Vm("roleInstance"),cloudEnvironment:Vm("environment"),cloudLocation:Vm("location"),cloudDeploymentUnit:Vm("deploymentUnit"),internalNodeName:px("nodeName"),internalSdkVersion:px("sdkVersion"),internalAgentVersion:px("agentVersion"),internalSnippet:px("snippet"),internalSdkSrc:px("sdkSrc")}));function Bi(e,t,o,r,n,s){var i;o=io(r,o)||br,(ge(e)||ge(t)||ge(o))&&Jo("Input doesn't contain all required fields");var a="";e[Rk]&&(a=e[Rk],delete e[Rk]);var l=(i={},i[Sr]=o,i.time=si(new Date),i.iKey=a,i.ext=s||{},i.tags=[],i.data={},i.baseType=t,i.baseData=e,i);return ge(n)||Dt(n,function(c,d){l.data[c]=d}),l}var Nfe=function(){function e(){}return e.create=Bi,e}();var xn={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},fo=new db;var Cu="AppInsightsPropertiesPlugin",mx="AppInsightsChannelPlugin",qq="ApplicationInsightsAnalytics";var fx="toString",Yk="disableExceptionTracking",gx="autoTrackPageVisitTime",Qk="overridePageViewDuration",Wk="enableUnhandledPromiseRejectionTracking",hx="samplingPercentage",bx="isStorageUseDisabled",_x="isBrowserLinkTrackingEnabled",Kk="enableAutoRouteTracking",Jk="namePrefix",Xk="disableFlushOnBeforeUnload";var an="core",Bc="dataType",Au="envelopeType",ws="diagLog",ku="track",ub="trackPageView",vx="trackPreviousPageVisit",Gc="sendPageViewInternal",yx="sendPageViewPerformanceInternal",pb="populatePageViewPerformanceEvent",Iu="href",Oq="sendExceptionInternal",Zk="exception",mb="error",eI="_onerror",tI="errorSrc",oI="lineNumber",rI="columnNumber",Fq="message",nI="CreateAutoException",xx="addTelemetryInitializer",Dl="duration",Pu="length",sI="isPerformanceTimingSupported",iI="getPerformanceTiming",fb="navigationStart",Tx="shouldCollectDuration",aI="isPerformanceTimingDataReady",qfe="getEntriesByType",gb="responseStart",Ofe="requestStart",Sx="loadEventEnd",lI="responseEnd",Ex="connectEnd",Uq="pageVisitStartTime";var cI=null;function TOe(){if(cI==null)try{cI=!!(self&&self instanceof WorkerGlobalScope)}catch{cI=!1}return cI}var Ffe=function(){function e(t,o,r,n){vt(e,this,function(s){var i=null,a=[],l=!1,c;r&&(c=r.logger);function d(f){r&&r.flush(f)}function p(){i||(i=setTimeout(function(){i=null;var f=a.slice(0),g=!1;a=[],Ge(f,function(b){b()?g=!0:a.push(b)}),a[Pu]>0&&p(),g&&d(!0)},100))}function m(f){a.push(f),p()}s[ub]=function(f,g){var b=f.name;if(ge(b)||typeof b!="string"){var _=hr();b=f.name=_&&_.title||""}var y=f.uri;if(ge(y)||typeof y!="string"){var x=xs();y=f.uri=x&&x[Iu]||""}if(!n[sI]()){t[Gc](f,g),d(!0),TOe()||ke(c,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");return}var C=!1,L,I=n[iI]()[fb];I>0&&(L=zr(I,+new Date),n[Tx](L)||(L=void 0));var q;!ge(g)&&!ge(g[Dl])&&(q=g[Dl]),(o||!isNaN(q))&&(isNaN(q)&&(g||(g={}),g[Dl]=L),t[Gc](f,g),d(!0),C=!0);var O=6e4;g||(g={}),m(function(){var ne=!1;try{if(n[aI]()){ne=!0;var Ie={name:b,uri:y};n[pb](Ie),!Ie.isValid&&!C?(g[Dl]=L,t[Gc](f,g)):(C||(g[Dl]=Ie.durationMs,t[Gc](f,g)),l||(t[yx](Ie,g),l=!0))}else I>0&&zr(I,+new Date)>O&&(ne=!0,C||(g[Dl]=O,t[Gc](f,g)))}catch(te){ke(c,1,38,"trackPageView failed on page load calculation: "+Ct(te),{exception:Ye(te)})}return ne})},s.teardown=function(f,g){if(i){clearTimeout(i),i=null;var b=a.slice(0),_=!1;a=[],Ge(b,function(y){y()&&(_=!0)})}}})}return e.__ieDyn=1,e}();var SOe=36e5,Ufe=["googlebot","adsbot-google","apis-google","mediapartners-google"];function zfe(){var e=Oi();return e&&!!e.timing}function EOe(){var e=Oi();return e&&e.getEntriesByType&&e.getEntriesByType("navigation")[Pu]>0}function wOe(){var e=Oi(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t[fb]>0&&t[gb]>0&&t[Ofe]>0&&t[Sx]>0&&t[lI]>0&&t[Ex]>0&&t.domLoading>0}function Hfe(){return zfe()?Oi().timing:null}function COe(){return EOe()?Oi()[qfe]("navigation")[0]:null}function AOe(){for(var e=[],t=0;t=SOe)return!1;return!0}var Bfe=function(){function e(t){var o=this,r=Pa(t);vt(e,this,function(n){n[pb]=function(s){s.isValid=!1;var i=COe(),a=Hfe(),l=0,c=0,d=0,p=0,m=0;(i||a)&&(i?(l=i[Dl],c=i.startTime===0?i[Ex]:zr(i.startTime,i[Ex]),d=zr(i.requestStart,i[gb]),p=zr(i[gb],i[lI]),m=zr(i.responseEnd,i[Sx])):(l=zr(a[fb],a[Sx]),c=zr(a[fb],a[Ex]),d=zr(a.requestStart,a[gb]),p=zr(a[gb],a[lI]),m=zr(a.responseEnd,a[Sx])),l===0?ke(r,2,10,"error calculating page view performance.",{total:l,network:c,request:d,response:p,dom:m}):o[Tx](l,c,d,p,m)?l=100)&&(e[hx]=100),e[bx]=zi(e[bx]),e[_x]=zi(e[_x]),e[Kk]=zi(e[Kk]),e[Jk]=e[Jk]||"",e.enableDebug=zi(e.enableDebug),e[Xk]=zi(e[Xk]),e.disableFlushOnUnload=zi(e.disableFlushOnUnload,e[Xk]),e}function LOe(e){Bo(e[bx])||(e[bx]?xq():Tq())}var dI=function(e){tn(t,e);function t(){var o=e.call(this)||this;o.identifier=qq,o.priority=180,o.autoRoutePVDelay=500;var r,n,s,i,a,l,c,d,p,m,f,g,b,_,y=0,x,C,L;return vt(t,o,function(I,q){var O=q._addHook;rt(),I.getCookieMgr=function(){return Lm(I[an])},I.processTelemetry=function(z,de){I.processNext(z,de)},I.trackEvent=function(z,de){try{var G=Bi(z,di[Bc],di[Au],I[ws](),de);I[an][ku](G)}catch(se){Te(2,39,"trackTrace failed, trace will not be collected: "+Ct(se),{exception:Ye(se)})}},I.startTrackEvent=function(z){try{r.start(z)}catch(de){Te(1,29,"startTrackEvent failed, event will not be collected: "+Ct(de),{exception:Ye(de)})}},I.stopTrackEvent=function(z,de,G){try{r.stop(z,void 0,de,G)}catch(se){Te(1,30,"stopTrackEvent failed, event will not be collected: "+Ct(se),{exception:Ye(se)})}},I.trackTrace=function(z,de){try{var G=Bi(z,Da[Bc],Da[Au],I[ws](),de);I[an][ku](G)}catch(se){Te(2,39,"trackTrace failed, trace will not be collected: "+Ct(se),{exception:Ye(se)})}},I.trackMetric=function(z,de){try{var G=Bi(z,ui[Bc],ui[Au],I[ws](),de);I[an][ku](G)}catch(se){Te(1,36,"trackMetric failed, metric will not be collected: "+Ct(se),{exception:Ye(se)})}},I[ub]=function(z,de){try{var G=z||{};s[ub](G,fr(fr(fr({},G.properties),G.measurements),de)),I.config[gx]&&a[vx](G.name,G.uri)}catch(se){Te(1,37,"trackPageView failed, page view will not be collected: "+Ct(se),{exception:Ye(se)})}},I[Gc]=function(z,de,G){var se=hr();se&&(z.refUri=z.refUri===void 0?se.referrer:z.refUri);var Ce=Bi(z,os[Bc],os[Au],I[ws](),de,G);I[an][ku](Ce),y=0},I[yx]=function(z,de,G){var se=Bi(z,$a[Bc],$a[Au],I[ws](),de,G);I[an][ku](se)},I.trackPageViewPerformance=function(z,de){var G=z||{};try{i[pb](G),I[yx](G,de)}catch(se){Te(1,37,"trackPageViewPerformance failed, page view will not be collected: "+Ct(se),{exception:Ye(se)})}},I.startTrackPage=function(z){try{if(typeof z!="string"){var de=hr();z=de&&de.title||""}n.start(z)}catch(G){Te(1,31,"startTrackPage failed, page view may not be collected: "+Ct(G),{exception:Ye(G)})}},I.stopTrackPage=function(z,de,G,se){try{if(typeof z!="string"){var Ce=hr();z=Ce&&Ce.title||""}if(typeof de!="string"){var R=xs();de=R&&R[Iu]||""}n.stop(z,de,G,se),I.config[gx]&&a[vx](z,de)}catch(X){Te(1,32,"stopTrackPage failed, page view will not be collected: "+Ct(X),{exception:Ye(X)})}},I[Oq]=function(z,de,G){var se=z&&(z[Zk]||z[mb])||Em(z)&&z||{name:z&&typeof z,message:z||br};z=z||{};var Ce=new yn(I[ws](),se,z.properties||de,z.measurements,z.severityLevel,z.id).toInterface(),R=Bi(Ce,yn[Bc],yn[Au],I[ws](),de,G);I[an][ku](R)},I.trackException=function(z,de){z&&!z[Zk]&&z[mb]&&(z[Zk]=z[mb]);try{I[Oq](z,de)}catch(G){Te(1,35,"trackException failed, exception will not be collected: "+Ct(G),{exception:Ye(G)})}},I[eI]=function(z){var de=z&&z[mb],G=z&&z.evt;try{if(!G){var se=ai();se&&(G=se[IOe])}var Ce=z&&z.url||(hr()||{}).URL,R=z[tI]||"window.onerror@"+Ce+":"+(z[oI]||0)+":"+(z[rI]||0),X={errorSrc:R,url:Ce,lineNumber:z[oI]||0,columnNumber:z[rI]||0,message:z[Fq]};_q(z.message,z.url,z.lineNumber,z.columnNumber,z[mb])?St(yn[nI]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",Ce,z[oI]||0,z[rI]||0,de,G,null,R),X):(z[tI]||(z[tI]=R),I.trackException({exception:z,severityLevel:3},X))}catch(Se){var ae=de?de.name+", "+de[Fq]:"null";Te(1,11,"_onError threw exception while logging error, error will not be collected: "+Ct(Se),{exception:Ye(Se),errorString:ae})}},I[xx]=function(z){if(I[an])return I[an][xx](z);l||(l=[]),l.push(z)},I.initialize=function(z,de,G,se){if(!I.isInitialized()){ge(de)&&Jo("Error initializing"),q.initialize(z,de,G,se);try{L=li(vn(I.identifier),de.evtNamespace&&de.evtNamespace()),l&&(Ge(l,function(R){de[xx](R)}),l=null);var Ce=ne(z);LOe(Ce),i=new Bfe(I[an]),s=new Ffe(o,Ce[Qk],I[an],i),a=new Gfe(I[ws](),function(R,X,ae){return te(R,X,ae)}),Ie(Ce,z),r=new Hq(I[ws](),"trackEvent"),r.action=function(R,X,ae,Se,qe){Se||(Se={}),qe||(qe={}),Se.duration=ae[fx](),I.trackEvent({name:R,properties:Se,measurements:qe})},n=new Hq(I[ws](),"trackPageView"),n.action=function(R,X,ae,Se,qe){ge(Se)&&(Se={}),Se.duration=ae[fx]();var lt={name:R,uri:X,properties:Se,measurements:qe};I[Gc](lt,Se)},$c()&&(eo(Ce),Co(Ce))}catch(R){throw I.setInitialized(!1),R}}},I._doTeardown=function(z,de){s&&s.teardown(z,de),_u(window,null,null,L),rt()};function ne(z){var de=sn(null,z,I[an]),G=I.identifier,se=Yfe(z),Ce=I.config=de.getExtCfg(G);return se!==void 0&&Dt(se,function(R,X){Ce[R]=de.getConfig(G,R,X),Ce[R]===void 0&&(Ce=X)}),Ce}function Ie(z,de){c=z[_x]||de[_x],et()}function te(z,de,G){var se={PageName:z,PageUrl:de};I.trackMetric({name:"PageVisitTime",average:G,max:G,min:G,sampleCount:1},se)}function et(){if(!d&&c){var z=["/browserLinkSignalR/","/__browserLink/"],de=function(G){if(c&&G.baseType===pi[Bc]){var se=G.baseData;if(se){for(var Ce=0;Ce=0)return!1}}return!0};I[xx](de),d=!0}}function St(z,de){var G=Bi(z,yn[Bc],yn[Au],I[ws](),de);I[an][ku](G)}function eo(z){var de=ai(),G=xs(!0);f=z[Yk],!f&&!g&&!z.autoExceptionInstrumented&&(O(Xh(de,"onerror",{ns:L,rsp:function(se,Ce,R,X,ae,Se){!f&&se.rslt!==!0&&I[eI](yn[nI](Ce,R,X,ae,Se,se.evt))}},!1)),g=!0),vo(z,de,G)}function Co(z){var de=ai(),G=xs(!0);if(p=z[Kk]===!0,de&&p&&gk()){var se=N1();ot(se.pushState)&&ot(se.replaceState)&&typeof Event!==vs&&At(z,de,se,G)}}function Ao(){var z=null;if(I[an]&&I[an].getTraceCtx&&(z=I[an].getTraceCtx(!1)),!z){var de=I[an].getPlugin(Cu);if(de){var G=de.plugin.context;G&&(z=Bm(G.telemetryTrace))}}return z}function At(z,de,G,se){var Ce=z[Jk]||"";function R(){p&&wx(de,Dm(Ce+"locationchange"))}function X(){if(C?(x=C,C=se&&se[Iu]||""):C=se&&se[Iu]||"",p){var ae=Ao();if(ae){ae.setTraceId(Ts());var Se="_unknown_";se&&se.pathname&&(Se=se.pathname+(se.hash||"")),ae.setName(io(I[ws](),Se))}setTimeout(function(qe){I[ub]({refUri:qe,properties:{duration:0}})}.bind(this,x),I.autoRoutePVDelay)}}m||(O(Xh(G,"pushState",{ns:L,rsp:function(){p&&(wx(de,Dm(Ce+"pushState")),wx(de,Dm(Ce+"locationchange")))}},!0)),O(Xh(G,"replaceState",{ns:L,rsp:function(){p&&(wx(de,Dm(Ce+"replaceState")),wx(de,Dm(Ce+"locationchange")))}},!0)),Ui(de,Ce+"popstate",R,L),Ui(de,Ce+"locationchange",X,L),m=!0)}function vo(z,de,G){b=z[Wk]===!0,b&&!_&&(O(Xh(de,"onunhandledrejection",{ns:L,rsp:function(se,Ce){b&&se.rslt!==!0&&I[eI](yn[nI](POe(Ce),G?G[Iu]:"",0,0,Ce,se.evt))}},!1)),_=!0,z.autoUnhandledPromiseInstrumented=_)}function Te(z,de,G,se,Ce){I[ws]().throwInternal(z,de,G,se,Ce)}function rt(){r=null,n=null,s=null,i=null,a=null,l=null,c=!1,d=!1,p=!1,m=!1,f=!1,g=!1,b=!1,_=!1,y=0;var z=xs(!0);x=z&&z[Iu]||"",C=null,L=null}qi(I,"_pageViewManager",function(){return s}),qi(I,"_pageViewPerformanceManager",function(){return i}),qi(I,"_pageVisitTimeManager",function(){return a}),qi(I,"_evtNamespace",function(){return"."+L})}),o}return t.Version="2.8.13",t.getDefaultConfig=Yfe,t}(La);var Lu="duration";var Er="tags",uI="deviceType",Cs="data",$l="name",jm="traceID",Lt="length",Ru="stringify",Mu="measurements",Gi="dataType",Du="envelopeType",Vc="toString",Cx="onLine",Ax="isOnline",Ym="enqueue",$u="count",jc="push",kx="emitLineDelimitedJson",Nu="clear",Qm="batchPayloads",qu="markAsSent",Wm="clearSent",Ix="bufferOverride",hb="BUFFER_KEY",Ou="SENT_BUFFER_KEY",bb="MAX_BUFFER_SIZE",Yc="namePrefix",pI="maxBatchSizeInBytes",Km="triggerSend",On="diagLog",zq="onunloadDisableBeacon",mI="isBeaconApiDisabled",_b="_sender",Do="_senderConfig",Bq="enableSessionStorageBuffer",Fu="_buffer",Gq="samplingPercentage",Px="instrumentationKey",Uu="endpointUrl",Vq="customHeaders",vb="disableXhr",jq="onunloadDisableFetch",fI="disableTelemetry",gI="baseType",yb="sampleRate",Yq="convertUndefined",Qfe="_xhrReadyStateChange",Vi="_onError",hI="_onPartialSuccess",Lx="_onSuccess",Rx="itemsAccepted",Wfe="itemsReceived",xb="isRetryDisabled",bI="setRequestHeader",Qq="maxBatchInterval",Wq="eventsSendRequest",Kq="disableInstrumentationKeyValidation",_I="getSamplingScore",Kfe="getHashCodeScore";var Jq="baseType",Go="baseData",ln="properties",Jfe="true";function wr(e,t,o){return Yt(e,t,o,Gh)}function ROe(e,t,o){var r=o[Er]=o[Er]||{},n=t.ext=t.ext||{},s=t[Er]=t[Er]||[],i=n.user;i&&(wr(r,fo.userAuthUserId,i.authId),wr(r,fo.userId,i.id||i.localId));var a=n.app;a&&wr(r,fo.sessionId,a.sesId);var l=n.device;l&&(wr(r,fo.deviceId,l.id||l.localId),wr(r,fo[uI],l.deviceClass),wr(r,fo.deviceIp,l.ip),wr(r,fo.deviceModel,l.model),wr(r,fo[uI],l[uI]));var c=t.ext.web;if(c){wr(r,fo.deviceLanguage,c.browserLang),wr(r,fo.deviceBrowserVersion,c.browserVer),wr(r,fo.deviceBrowser,c.browser);var d=o[Cs]=o[Cs]||{},p=d[Go]=d[Go]||{},m=p[ln]=p[ln]||{};wr(m,"domain",c.domain),wr(m,"isManual",c.isManual?Jfe:null),wr(m,"screenRes",c.screenRes),wr(m,"userConsent",c.userConsent?Jfe:null)}var f=n.os;f&&wr(r,fo.deviceOS,f[$l]);var g=n.trace;g&&(wr(r,fo.operationParentId,g.parentID),wr(r,fo.operationName,io(e,g[$l])),wr(r,fo.operationId,g[jm]));for(var b={},_=s[Lt]-1;_>=0;_--){var y=s[_];Dt(y,function(C,L){b[C]=L}),s.splice(_,1)}Dt(s,function(C,L){b[C]=L});var x=fr(fr({},r),b);x[fo.internalSdkVersion]||(x[fo.internalSdkVersion]="javascript:".concat(MOe.Version)),o[Er]=pk(x)}function Hu(e,t,o){ge(e)||Dt(e,function(r,n){zy(n)?o[r]=n:Ze(n)?t[r]=n:Ia()&&(t[r]=Hr()[Ru](n))})}function Jm(e,t){ge(e)||Dt(e,function(o,r){e[o]=r||t})}function Xm(e,t,o,r){var n=new Gk(e,r,t);wr(n,"sampleRate",o[Zh]),(o[Go]||{}).startTime&&(n.time=si(o[Go].startTime)),n.iKey=o.iKey;var s=o.iKey.replace(/-/g,"");return n[$l]=n[$l].replace("{0}",s),ROe(e,o,n),o[Er]=o[Er]||[],pk(n)}function Zm(e,t){ge(t[Go])&&ke(e,1,46,"telemetryItem.baseData cannot be null.")}var MOe={Version:"2.8.13"};function Xfe(e,t,o){Zm(e,t);var r=t[Go][Mu]||{},n=t[Go][ln]||{};Hu(t[Cs],n,r),ge(o)||Jm(n,o);var s=t[Go];if(ge(s))return Fi(e,"Invalid input for dependency data"),null;var i=s[ln]&&s[ln][tx]?s[ln][tx]:"GET",a=new pi(e,s.id,s.target,s[$l],s[Lu],s.success,s.responseCode,i,s.type,s.correlationContext,n,r),l=new Ml(pi[Gi],a);return Xm(e,pi[Du],t,l)}function Xq(e,t,o){Zm(e,t);var r={},n={};t[Jq]!==di[Gi]&&(r.baseTypeSource=t[Jq]),t[Jq]===di[Gi]?(r=t[Go][ln]||{},n=t[Go][Mu]||{}):t[Go]&&Hu(t[Go],r,n),Hu(t[Cs],r,n),ge(o)||Jm(r,o);var s=t[Go][$l],i=new di(e,s,r,n),a=new Ml(di[Gi],i);return Xm(e,di[Du],t,a)}function Zfe(e,t,o){Zm(e,t);var r=t[Go][Mu]||{},n=t[Go][ln]||{};Hu(t[Cs],n,r),ge(o)||Jm(n,o);var s=t[Go],i=yn.CreateFromInterface(e,s,n,r),a=new Ml(yn[Gi],i);return Xm(e,yn[Du],t,a)}function ege(e,t,o){Zm(e,t);var r=t[Go],n=r[ln]||{},s=r[Mu]||{};Hu(t[Cs],n,s),ge(o)||Jm(n,o);var i=new ui(e,r[$l],r.average,r.sampleCount,r.min,r.max,r.stdDev,n,s),a=new Ml(ui[Gi],i);return Xm(e,ui[Du],t,a)}function tge(e,t,o){Zm(e,t);var r,n=t[Go];!ge(n)&&!ge(n[ln])&&!ge(n[ln][Lu])?(r=n[ln][Lu],delete n[ln][Lu]):!ge(t[Cs])&&!ge(t[Cs][Lu])&&(r=t[Cs][Lu],delete t[Cs][Lu]);var s=t[Go],i;((t.ext||{}).trace||{})[jm]&&(i=t.ext.trace[jm]);var a=s.id||i,l=s[$l],c=s.uri,d=s[ln]||{},p=s[Mu]||{};if(ge(s.refUri)||(d.refUri=s.refUri),ge(s.pageType)||(d.pageType=s.pageType),ge(s.isLoggedIn)||(d.isLoggedIn=s.isLoggedIn[Vc]()),!ge(s[ln])){var m=s[ln];Dt(m,function(b,_){d[b]=_})}Hu(t[Cs],d,p),ge(o)||Jm(d,o);var f=new os(e,l,c,r,d,p,a),g=new Ml(os[Gi],f);return Xm(e,os[Du],t,g)}function oge(e,t,o){Zm(e,t);var r=t[Go],n=r[$l],s=r.uri||r.url,i=r[ln]||{},a=r[Mu]||{};Hu(t[Cs],i,a),ge(o)||Jm(i,o);var l=new $a(e,n,s,void 0,i,a,r),c=new Ml($a[Gi],l);return Xm(e,$a[Du],t,c)}function rge(e,t,o){Zm(e,t);var r=t[Go].message,n=t[Go].severityLevel,s=t[Go][ln]||{},i=t[Go][Mu]||{};Hu(t[Cs],s,i),ge(o)||Jm(s,o);var a=new Da(e,r,n,s,i),l=new Ml(Da[Gi],a);return Xm(e,Da[Du],t,l)}function nge(e,t){_u(e,null,null,t)}function sge(e){var t,o=hr(),r=ts(),n=!1,s=!0,i=li(vn("OfflineListener"),e);try{if(l(ai())&&(n=!0),o){var a=o.body||o;a.ononline&&l(a)&&(n=!0)}n&&r&&!ge(r[Cx])&&(s=r[Cx])}catch{n=!1}function l(f){var g=!1;return f&&(g=Ui(f,"online",c,i),g&&Ui(f,"offline",d,i)),g}function c(){s=!0}function d(){s=!1}function p(){var f=!0;return n?f=s:r&&!ge(r[Cx])&&(f=r[Cx]),f}function m(){var f=ai();if(f&&n){if(nge(f,i),o){var g=o.body||o;Bo(g.ononline)||nge(g,i)}n=!1}}return t={},t[Ax]=p,t.isListening=function(){return n},t.unload=m,t}var ige=function(){function e(t,o){var r=[],n=!1;this._get=function(){return r},this._set=function(s){return r=s,r},vt(e,this,function(s){s[Ym]=function(i){if(s[$u]()>=o.eventsLimitInMem()){n||(ke(t,2,105,"Maximum in-memory buffer size reached: "+s[$u](),!0),n=!0);return}r[jc](i)},s[$u]=function(){return r[Lt]},s.size=function(){for(var i=r[Lt],a=0;a0){var a=o[kx]()?i.join(` `):"["+i.join(",")+"]";return a}return null}})}return e.__ieDyn=1,e}(),age=function(e){tn(t,e);function t(o,r){var n=e.call(this,o,r)||this;return vt(t,n,function(s,i){s[qu]=function(a){i[Nu]()},s[Wm]=function(a){}}),n}return t.__ieDyn=1,t}(ige);var lge=function(e){tn(t,e);function t(o,r){var n=e.call(this,o,r)||this,s=!1,i=r[Ix]()||{getItem:sb,setItem:cx},a=i.getItem,l=i.setItem;return vt(t,n,function(c,d){var p=b(t[hb]),m=b(t[Ou]),f=c._set(p.concat(m));f[Lt]>t[bb]&&(f[Lt]=t[bb]),_(t[Ou],[]),_(t[hb],f),c[Ym]=function(y){if(c[$u]()>=t[bb]){s||(ke(o,2,67,"Maximum buffer size reached: "+c[$u](),!0),s=!0);return}d[Ym](y),_(t[hb],c._get())},c[Nu]=function(){d[Nu](),_(t[hb],c._get()),_(t[Ou],[]),s=!1},c[qu]=function(y){_(t[hb],c._set(g(y,c._get())));var x=b(t[Ou]);x instanceof Array&&y instanceof Array&&(x=x.concat(y),x[Lt]>t[bb]&&(ke(o,1,67,"Sent buffer reached its maximum size: "+x[Lt],!0),x[Lt]=t[bb]),_(t[Ou],x))},c[Wm]=function(y){var x=b(t[Ou]);x=g(y,x),_(t[Ou],x)};function g(y,x){var C=[];return Ge(x,function(L){!ot(L)&&rn(y,L)===-1&&C[jc](L)}),C}function b(y){var x=y;try{x=r[Yc]&&r[Yc]()?r[Yc]()+"_"+x:x;var C=a(o,x);if(C){var L=Hr().parse(C);if(Ze(L)&&(L=Hr().parse(L)),L&&Mt(L))return L}}catch(I){ke(o,1,42," storage key: "+x+", "+Ct(I),{exception:Ye(I)})}return[]}function _(y,x){var C=y;try{C=r[Yc]&&r[Yc]()?r[Yc]()+"_"+C:C;var L=JSON[Ru](x);l(o,C,L)}catch(I){l(o,C,JSON[Ru]([])),ke(o,2,41," storage key: "+C+", "+Ct(I)+". Buffer cleared",{exception:Ye(I)})}}}),n}return t.BUFFER_KEY="AI_buffer",t.SENT_BUFFER_KEY="AI_sentBuffer",t.MAX_BUFFER_SIZE=2e3,t}(ige);var cge=function(){function e(t){vt(e,this,function(o){o.serialize=function(i){var a=r(i,"root");try{return Hr()[Ru](a)}catch(l){ke(t,1,48,l&&ot(l[Vc])?l[Vc]():"Error serializing object",null,!0)}};function r(i,a){var l="__aiCircularRefCheck",c={};if(!i)return ke(t,1,48,"cannot serialize object because it is null or undefined",{name:a},!0),c;if(i[l])return ke(t,2,50,"Circular reference detected while serializing object",{name:a},!0),c;if(!i.aiDataContract){if(a==="measurements")c=s(i,"number",a);else if(a==="properties")c=s(i,"string",a);else if(a==="tags")c=s(i,"string",a);else if(Mt(i))c=n(i,a);else{ke(t,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:a},!0);try{Hr()[Ru](i),c=i}catch(d){ke(t,1,48,d&&ot(d[Vc])?d[Vc]():"Error serializing object",null,!0)}}return c}return i[l]=!0,Dt(i.aiDataContract,function(d,p){var m=ot(p)?p()&1:p&1,f=ot(p)?p()&4:p&4,g=p&2,b=i[d]!==void 0,_=Mn(i[d])&&i[d]!==null;if(m&&!b&&!g)ke(t,1,24,"Missing required field specification. The field is required but not present on source",{field:d,name:a});else if(!f){var y=void 0;_?g?y=n(i[d],d):y=r(i[d],d):y=i[d],y!==void 0&&(c[d]=y)}}),delete i[l],c}function n(i,a){var l;if(i)if(!Mt(i))ke(t,1,54,`This field was specified as an array in the contract but the item is not an array.\r `,{name:a},!0);else{l=[];for(var c=0;c100||t<0)&&(r.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[yb]=t,this.samplingScoreGenerator=new uge}return e.prototype.isSampledIn=function(t){var o=this[yb],r=!1;return o==null||o>=100||t.baseType===ui[Gi]?!0:(r=this.samplingScoreGenerator[_I](t)_._senderConfig[pI]()&&_[Km](!0,null,10),Ao())},_.flush=function(R,X,ae){if(R===void 0&&(R=!0),!i){At();try{_[Km](R,null,ae||1)}catch(Se){ke(_[On](),1,22,"flush failed, telemetry will not be collected: "+Ct(Se),{exception:Ye(Se)})}}},_.onunloadFlush=function(){if(!i)if((_._senderConfig[zq]()===!1||_[Do][mI]()===!1)&&gu())try{_[Km](!0,I,2)}catch(R){ke(_[On](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+Ct(R),{exception:Ye(R)})}else _.flush()},_.addHeader=function(R,X){d[R]=X},_.initialize=function(R,X,ae,Se){_.isInitialized()&&ke(_[On](),1,28,"Sender is already initialized"),y.initialize(R,X,ae,Se);var qe=_._getTelCtx(),lt=_.identifier;l=new cge(X.logger),r=0,n=null,s=0,_[_b]=null,c=0;var mt=_[On]();b=li(vn("Sender"),X.evtNamespace&&X.evtNamespace()),g=sge(b);var yo=mge();Dt(yo,function(le,be){_[Do][le]=function(){var Ee=qe.getConfig(lt,le,be());return!Ee&&le==="endpointUrl"&&(Ee=be()),Ee}});var jo=_[Do][Bq]()&&!!(_._senderConfig[Ix]()||Su());_[Fu]=jo?new lge(mt,_[Do]):new age(mt,_[Do]),_._sample=new pge(_[Do][Gq](),mt),se(R)||ke(mt,1,100,"Invalid Instrumentation key "+R[Px]),!zm(_._senderConfig.endpointUrl())&&_._senderConfig.customHeaders()&&_._senderConfig.customHeaders()[Lt]>0&&Ge(_[Do][Vq](),function(le){o.addHeader(le.header,le.value)});var ko=_[Do],Y=null;!ko[vb]()&&bk()?Y=rt:!ko[vb]()&&Cm()&&(Y=ne),!Y&&hk()&&(Y=te),m=Y||ne,!ko[mI]()&&gu()&&(Y=O),_[_b]=Y||ne,!ko[jq]()&&hk(!0)?f=Ie:gu()?f=O:!ko[vb]()&&bk()?f=rt:!ko[vb]()&&Cm()?f=ne:f=m},_.processTelemetry=function(R,X){X=_._getTelCtx(X);var ae=X[On]();try{if(_[Do][fI]())return;if(!R){ke(ae,1,7,"Cannot send empty telemetry");return}if(R.baseData&&!R[gI]){ke(ae,1,70,"Cannot send telemetry without baseData and baseType");return}if(R[gI]||(R[gI]="EventData"),!_[_b]){ke(ae,1,28,"Sender was not initialized");return}if(x(R))R[Zh]=_._sample[yb];else{ke(ae,2,33,"Telemetry item was sampled out and not sent",{SampleRate:_._sample[yb]});return}var Se=_[Do][Yq]()||void 0,qe=R.iKey||_[Do][Px](),lt=t.constructEnvelope(R,qe,ae,Se);if(!lt){ke(ae,1,47,"Unable to create an AppInsights envelope");return}var mt=!1;if(R[Er]&&R[Er][eb]&&(Ge(R[Er][eb],function(Y){try{Y&&Y(lt)===!1&&(mt=!0,Fi(ae,"Telemetry processor check returns false"))}catch(le){ke(ae,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+Ct(le),{exception:Ye(le)},!0)}}),delete R[Er][eb]),mt)return;var yo=l.serialize(lt),jo=_[Fu],ko=jo.size();ko+yo[Lt]>_[Do][pI]()&&(!g||g[Ax]())&&_[Km](!0,null,10),jo[Ym](yo),Ao()}catch(Y){ke(ae,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+Ct(Y),{exception:Ye(Y)})}_.processNext(R,X)},_[Qfe]=function(R,X,ae){R.readyState===4&&C(R.status,X,R.responseURL,ae,Te(R),vI(R)||R.response)},_[Km]=function(R,X,ae){if(R===void 0&&(R=!0),!i)try{var Se=_[Fu];if(_[Do][fI]())Se[Nu]();else{if(Se[$u]()>0){var qe=Se.getItems();G(ae||0,R),X?X.call(o,qe,R):_[_b](qe,R)}s=+new Date}At()}catch(mt){var lt=Wh();(!lt||lt>9)&&ke(_[On](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+Ct(mt),{exception:Ye(mt)})}},_._doTeardown=function(R,X){_.onunloadFlush(),g.unload(),Ce()},_[Vi]=function(R,X,ae){ke(_[On](),2,26,"Failed to send telemetry.",{message:X}),_._buffer[Wm](R)},_[hI]=function(R,X){for(var ae=[],Se=[],qe=X.errors.reverse(),lt=0,mt=qe;lt0&&_[Lx](R,X[Rx]),ae[Lt]>0&&_[Vi](ae,Te(null,["partial success",X[Rx],"of",X.itemsReceived].join(" "))),Se[Lt]>0&&(eo(Se),ke(_[On](),2,40,"Partial success. Delivered: "+R[Lt]+", Failed: "+ae[Lt]+". Will retry to send "+Se[Lt]+" our of "+X[Wfe]+" items"))},_[Lx]=function(R,X){_._buffer[Wm](R)},_._xdrOnLoad=function(R,X){var ae=vI(R);if(R&&(ae+""=="200"||ae===""))r=0,_[Lx](X,0);else{var Se=St(ae);Se&&Se.itemsReceived&&Se.itemsReceived>Se[Rx]&&!_[Do][xb]()?_[hI](X,Se):_[Vi](X,z(R))}};function x(R){return _._sample.isSampledIn(R)}function C(R,X,ae,Se,qe,lt){var mt=null;if(_._appId||(mt=St(lt),mt&&mt.appId&&(_._appId=mt.appId)),(R<200||R>=300)&&R!==0){if((R===301||R===307||R===308)&&!L(ae)){_[Vi](X,qe);return}!_[Do][xb]()&&vo(R)?(eo(X),ke(_[On](),2,40,". Response code "+R+". Will retry to send "+X[Lt]+" items.")):_[Vi](X,qe)}else if(g&&!g[Ax]()){if(!_[Do][xb]()){var yo=10;eo(X,yo),ke(_[On](),2,40,". Offline - Response Code: ".concat(R,". Offline status: ").concat(!g.isOnline(),". Will retry to send ").concat(X.length," items."))}}else L(ae),R===206?(mt||(mt=St(lt)),mt&&!_[Do][xb]()?_[hI](X,mt):_[Vi](X,qe)):(r=0,_[Lx](X,Se))}function L(R){return c>=10?!1:!ge(R)&&R!==""&&R!==_[Do][Uu]()?(_[Do][Uu]=function(){return R},++c,!0):!1}function I(R,X){f?f(R,!1):O(R,X)}function q(R){var X=ts(),ae=_[Fu],Se=_[Do][Uu](),qe=_._buffer[Qm](R),lt=new Blob([qe],{type:"text/plain;charset=UTF-8"}),mt=X.sendBeacon(Se,lt);return mt&&(ae[qu](R),_._onSuccess(R,R[Lt])),mt}function O(R,X){if(Mt(R)&&R[Lt]>0&&!q(R)){for(var ae=[],Se=0;Se0&&(m&&m(ae,!0),ke(_[On](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function ne(R,X){var ae=new XMLHttpRequest,Se=_[Do][Uu]();try{ae[Ra]=!0}catch{}ae.open("POST",Se,X),ae[bI]("Content-type","application/json"),zm(Se)&&ae[bI](mo[6],mo[7]),Ge(es(d),function(lt){ae[bI](lt,d[lt])}),ae.onreadystatechange=function(){return _._xhrReadyStateChange(ae,R,R[Lt])},ae.onerror=function(lt){return _[Vi](R,Te(ae),lt)};var qe=_._buffer[Qm](R);ae.send(qe),_._buffer[qu](R)}function Ie(R,X){if(Mt(R)){for(var ae=R[Lt],Se=0;Se=X[Rx]&&X.itemsReceived-X.itemsAccepted===X.errors[Lt])return X}}catch(ae){ke(_[On](),1,43,"Cannot parse the response. "+Ct(ae),{response:R})}return null}function eo(R,X){if(X===void 0&&(X=1),!(!R||R[Lt]===0)){var ae=_[Fu];ae[Wm](R),r++;for(var Se=0,qe=R;Se=200&&+c[mi]<400,f.responseCode=+c[mi],f[zu]={HttpMethod:c[ql]},f),b=g[zu];if(c[Bu]&&(b[Bu]=!0),c[Jc]&&(g[Wc]=new Date,g[Wc].setTime(c[Jc])),qOe(c,g),p&&es(c.requestHeaders)[Na]>0&&(b[Is]=c[Is]),m){var _=m();if(_){var y=_[wge];if(y&&(g.correlationContext=y),_[Cb]&&es(_.headerMap)[Na]>0&&(b.responseHeaders=_[Cb]),c[Ux])if(c[mi]>=400){var x=_.type;(x===""||x==="text")&&(b.responseText=_.responseText?_[Kc]+" - "+_[l]:_[Kc]),x==="json"&&(b.responseText=_.response?_[Kc]+" - "+JSON.stringify(_[EI]):_[Kc])}else c[mi]===0&&(b.responseText=_[Kc]||"")}}return g},c[zx]=function(){var d,p=null,m=c[CI];if(m&&(m[Eb]||m[wb])){p={};var f=p[xn.TraceExt]=(d={},d[qa]=m[Eb],d.parentID=m[wb],d);ge(m[ks])||(f[ks]=m[ks])}return p}})}return e.__ieDyn=1,e}();var Age="ai.ajxmn.",jx="diagLog",fi="ajaxData",rf="fetch",Gx="Failed to monitor XMLHttpRequest",$ge=", monitoring data for this ajax call ",kb=$ge+"may be incorrect.",kge=$ge+"won't be sent.",Ige="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",Pge="Failed to add custom defined request context as configured call back may missing a null check.",Lge="Failed to calculate the duration of the ",Rge=0;function FOe(){var e=Di();return!e||ge(e.Request)||ge(e.Request[Wo])||ge(e[rf])?null:e[rf]}var AI=null;function UOe(){if(AI==null)try{AI=!!(self&&self instanceof WorkerGlobalScope)}catch{AI=!1}return AI}function HOe(e){var t=!1;if(Cm()){var o=XMLHttpRequest[Wo];t=!ge(o)&&!ge(o.open)&&!ge(o.send)&&!ge(o.abort)}var r=Wh();if(r&&r<9&&(t=!1),t)try{var n=new XMLHttpRequest;n[fi]={};var s=XMLHttpRequest[Wo].open;XMLHttpRequest[Wo].open=s}catch(i){t=!1,Yx(e,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:Ye(i)})}return t}function II(e){var t="";try{e&&e[fi]&&e[fi][As]&&(t+="(url: '"+e[fi][As]+"')")}catch{}return t}function Yx(e,t,o,r,n){ke(e[jx](),1,t,o,r,n)}function Ib(e,t,o,r,n){ke(e[jx](),2,t,o,r,n)}function Vx(e,t,o){return function(r){Yx(e,t,o,{ajaxDiagnosticsMessage:II(r[Tb]),exception:Ye(r.err)})}}function Pb(e,t){return e&&t?e.indexOf(t):-1}function Mge(e,t,o){var r={id:t,fn:o};return e.push(r),{remove:function(){Ge(e,function(n,s){if(n.id===r.id)return e.splice(s,1),-1})}}}function Nge(e,t,o,r){var n=!0;return Ge(t,function(s,i){try{s.fn.call(null,o)===!1&&(n=!1)}catch(a){ke(e&&e.logger,1,64,"Dependency "+r+" [#"+i+"] failed: "+Ct(a),{exception:Ye(a)},!0)}}),n}function zOe(e,t,o,r,n,s){var i=e[Na];if(i>0){var a={core:t,xhr:r,input:n,init:s,traceId:o[qa],spanId:o[Nl],traceFlags:o[ks],context:o[Sb]||{},aborted:!!o[Bu]};Nge(t,e,a,"listener"),o[qa]=a[Eb],o[Nl]=a[wb],o[ks]=a[ks],o[Sb]=a[Sb]}}var kI="*.blob.core.",qge=Bh([kI+"windows.net",kI+"chinacloudapi.cn",kI+"cloudapi.de",kI+"usgovcloudapi.net"]),BOe=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i];function iO(){var e={maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!1,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:1,correlationHeaderExcludedDomains:qge,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 Dge(){var e=iO();return Dt(e,function(t){e[t]=void 0}),e}var aO=function(e){tn(t,e);function t(){var o=e.call(this)||this;o.identifier=t.identifier,o.priority=120;var r,n,s,i,a,l,c,d,p,m,f,g,b,_,y,x,C,L,I,q,O,ne,Ie;return vt(t,o,function(te,et){var St=et._addHook;eo(),te.initialize=function(Y,le,be,Ee){te.isInitialized()||(et.initialize(Y,le,be,Ee),q=li(vn("ajax"),le&&le.evtNamespace&&le.evtNamespace()),Co(Y),rt(),vo(),Ao())},te._doTeardown=function(){eo()},te.trackDependencyData=function(Y,le){ko(Ie,te[Oa],null,Y,le)},te[yI]=function(Y,le,be,Ee){var Me=te._currentWindowHost||s;if(zOe(ne,te[Oa],Y,Ee,le,be),le){if(zc[tO](i,Y[Mx](),Me)){be||(be={});var tt=new Headers(be[Gu]||(le instanceof Request?le[Gu]||{}:{}));if(m){var Je="|"+Y[qa]+"."+Y[Nl];tt.set(mo[3],Je),a&&(Y[Is][mo[3]]=Je)}var Ut=i[Dx]||d&&d[Dx]();if(Ut&&(tt.set(mo[0],mo[2]+Ut),a&&(Y[Is][mo[0]]=mo[2]+Ut)),p){var ut=Y[ks];ge(ut)&&(ut=1);var Bt=Jy(Ky(Y[qa],Y[Nl],ut));tt.set(mo[4],Bt),a&&(Y[Is][mo[4]]=Bt)}be[Gu]=tt}return be}else if(Ee){if(zc[tO](i,Y[Mx](),Me)){if(m){var Je="|"+Y[qa]+"."+Y[Nl];Ee[xI](mo[3],Je),a&&(Y[Is][mo[3]]=Je)}var Ut=i[Dx]||d&&d[Dx]();if(Ut&&(Ee[xI](mo[0],mo[2]+Ut),a&&(Y[Is][mo[0]]=mo[2]+Ut)),p){var ut=Y[ks];ge(ut)&&(ut=1);var Bt=Jy(Ky(Y[qa],Y[Nl],ut));Ee[xI](mo[4],Bt),a&&(Y[Is][mo[4]]=Bt)}}return Ee}},te[oO]=function(Y,le,be){if(b===-1||c5?f=Age+Me.substring(Me[Na]-5)+".":f=Age+Me+"."}x=!!i[xge],C=!!i[Tge]}function Ao(){var Y=te[Oa].getPlugin(Cu);Y&&(d=Y.plugin[Sb])}function At(Y){var le=!0;return(Y||i.ignoreHeaders)&&Ge(i.ignoreHeaders,function(be){if(be[ef]()===Y[ef]())return le=!1,-1}),le}function vo(){var Y=FOe();if(Y){var le=Di(),be=Y.polyfill;!C&&!r?(St(ex(le,rf,{ns:q,req:function(Ee,Me,tt){var Je;if(!C&&r&&!z(null,Me,tt)&&!(be&&n)){var Ut=Ee.ctx();Je=lt(Me,tt);var ut=te[yI](Je,Me,tt);ut!==tt&&Ee.set(1,ut),Ut.data=Je}},rsp:function(Ee,Me){if(!C){var tt=Ee.ctx().data;tt&&(Ee.rslt=Ee.rslt.then(function(Je){return yo(Ee,(Je||{})[mi],Me,Je,tt,function(){var Ut={statusText:(Je||{})[Kc],headerMap:null,correlationContext:jo(Je)};if(_&&Je){var ut={};Je.headers.forEach(function(Bt,Mr){At(Mr)&&(ut[Mr]=Bt)}),Ut[Cb]=ut}return Ut}),Je}).catch(function(Je){throw yo(Ee,0,Me,null,tt,null,{error:Je.message||Ye(Je)}),Je}))}},hkErr:Vx(te,15,"Failed to monitor Window.fetch"+kb)},!0,UOe())),r=!0):be&&St(ex(le,rf,{ns:q,req:function(Ee,Me,tt){z(null,Me,tt)}})),be&&(le[rf].polyfill=be)}}function Te(Y,le,be){St(fq(Y,le,be))}function rt(){HOe(te)&&!x&&!n&&(Te(XMLHttpRequest,"open",{ns:q,req:function(Y,le,be,Ee){if(!x){var Me=Y[Tb],tt=Me[fi];!z(Me,be)&&de(Me,!0)&&((!tt||!tt.xhrMonitoringState[$x])&&se(Me,le,be,Ee),Ce(Me))}},hkErr:Vx(te,15,Gx+".open"+kb)}),Te(XMLHttpRequest,"send",{ns:q,req:function(Y,le){if(!x){var be=Y[Tb],Ee=be[fi];de(be)&&!Ee.xhrMonitoringState[Nx]&&(Se("xhr",Ee),Ee[Jc]=ab(),te[yI](Ee,void 0,void 0,be),Ee.xhrMonitoringState[Nx]=!0)}},hkErr:Vx(te,17,Gx+kb)}),Te(XMLHttpRequest,"abort",{ns:q,req:function(Y){if(!x){var le=Y[Tb],be=le[fi];de(le)&&!be.xhrMonitoringState[qx]&&(be[Bu]=1,be.xhrMonitoringState[qx]=!0)}},hkErr:Vx(te,13,Gx+".abort"+kb)}),Te(XMLHttpRequest,"setRequestHeader",{ns:q,req:function(Y,le,be){if(!x&&a){var Ee=Y[Tb];de(Ee)&&At(le)&&(Ee[fi][Is][le]=be)}},hkErr:Vx(te,71,Gx+".setRequestHeader"+kb)}),n=!0)}function z(Y,le,be){var Ee=!1,Me=((Ze(le)?le:(le||{}).url||"")||"")[ef]();if(Ge(L,function(Ut){var ut=Ut;Ze(Ut)&&(ut=new RegExp(Ut)),Ee||(Ee=ut.test(Me))}),Ee)return Ee;var tt=Pb(Me,"?"),Je=Pb(Me,"#");return(tt===-1||Je!==-1&&Je=0;je--){var V=vc[je];if(V){if(V.entryType==="resource")V.initiatorType===Y&&(Pb(V[Vu],ut)!==-1||Pb(ut,V[Vu])!==-1)&&(Dr=V);else if(V.entryType==="mark"&&V[Vu]===Me[Vu]){le[Bx]=Dr;break}if(V[Wc]=Je||le.async===!1?(Me&&ot(tt.clearMarks)&&tt.clearMarks(Me[Vu]),le.perfAttempts=Bt,be()):setTimeout(Mr,Ut)}catch(w){Ee(w)}})()}function lt(Y,le){var be,Ee=G(),Me=Ee&&Ee[Ox]()||Ts(),tt=Ts().substr(0,16),Je=new sO(Me,tt,te[jx](),(be=te.core)===null||be===void 0?void 0:be.getTraceCtx());Je[ks]=Ee&&Ee[Fx](),Je[Jc]=ab(),Je[Ux]=l,Y instanceof Request?Je[As]=Y?Y.url:"":Je[As]=Y;var Ut="GET";le&&le[ql]?Ut=le[ql]:Y&&Y instanceof Request&&(Ut=Y[ql]),Je[ql]=Ut;var ut={};if(a){var Bt=new Headers((le?le[Gu]:0)||(Y instanceof Request?Y[Gu]||{}:{}));Bt.forEach(function(Mr,Dr){At(Dr)&&(ut[Dr]=Mr)})}return Je[Is]=ut,Se(rf,Je),Je}function mt(Y){var le="";try{ge(Y)||(typeof Y=="string"?le+="(url: '".concat(Y,"')"):le+="(url: '".concat(Y.url,"')"))}catch(be){Yx(te,15,"Failed to grab failed fetch diagnostics message",{exception:Ye(be)})}return le}function yo(Y,le,be,Ee,Me,tt,Je){if(!Me)return;function Ut(ut,Bt,Mr){var Dr=Mr||{};Dr.fetchDiagnosticsMessage=mt(be),Bt&&(Dr.exception=Ye(Bt)),Ib(te,ut,Lge+"fetch call"+kge,Dr)}Me[tf]=ab(),Me[mi]=le,qe(rf,Me,function(){var ut=Me[Hx]("Fetch",a,tt),Bt;try{I&&(Bt=I({status:le,request:be,response:Ee}))}catch{Ib(te,104,Pge)}if(ut){Bt!==void 0&&(ut[zu]=fr(fr({},ut.properties),Bt));var Mr=Me[zx]();ko(Ie,te[Oa],Me,ut,null,Mr)}else Ut(14,null,{requestSentTime:Me[Jc],responseFinishedTime:Me[tf]})},function(ut){Ut(18,ut,null)})}function jo(Y){if(Y&&Y[Gu])try{var le=Y[Gu].get(mo[0]);return zc[nO](le)}catch(be){Ib(te,18,Ige,{fetchDiagnosticsMessage:mt(Y),exception:Ye(be)})}}function ko(Y,le,be,Ee,Me,tt){var Je=!0,Ut=Y[Na];if(Ut>0){var ut={item:Ee,properties:Me,sysProperties:tt,context:be?be[Sb]:null,aborted:be?!!be[Bu]:!1};Je=Nge(le,Y,ut,"initializer")}Je&&te[oO](Ee,Me,tt)}}),o}return t.prototype.processTelemetry=function(o,r){this.processNext(o,r)},t.prototype.addDependencyInitializer=function(o){return null},t.identifier="AjaxDependencyPlugin",t.getDefaultConfig=iO,t.getEmptyConfig=Dge,t}(La);var Oge=function(){function e(){}return e}();var Fge=function(){function e(){this.id="browser",this.deviceClass="Browser"}return e}();var Lb="sessionManager",nf="update",Rb="isUserCookieSet",Mb="isNewUser",PI="getTraceCtx",Qx="telemetryTrace",LI="applySessionContext",RI="applyApplicationContext",MI="applyDeviceContext",DI="applyOperationContext",$I="applyUserContext",NI="applyOperatingSystemContxt",qI="applyLocationContext",OI="applyInternalContext",Fa="accountId",Db="sdkExtension",$b="getSessionId",Ol="namePrefix",Nb="sessionCookiePostfix",qb="userCookiePostfix",Yu="idLength",Qu="getNewId",sf="length",Wu="automaticSession",Ku="authenticatedId",Ob="sessionExpirationMs",Wx="sessionRenewalMs",Ua="config",Fb="acquisitionDate",Kx="renewalDate",Jx="cookieDomain",Ub="join",Hb="cookieSeparator",FI="authUserCookieName";var GOe="2.8.13",Uge=function(){function e(t){this.sdkVersion=(t[Db]&&t[Db]()?t[Db]()+"_":"")+"javascript:"+GOe}return e}();var Hge=function(){function e(){}return e}();var VOe="ai_session",lO=function(){function e(){}return e}();var zge=function(){function e(t,o){var r=this,n,s,i=Pa(o),a=Lm(o);vt(e,r,function(l){t||(t={}),ot(t[Ob])||(t[Ob]=function(){return e.acquisitionSpan}),ot(t[Wx])||(t[Wx]=function(){return e.renewalSpan}),l[Ua]=t;var c=l.config[Nb]&&l[Ua][Nb]()?l.config[Nb]():l.config[Ol]&&l[Ua][Ol]()?l[Ua][Ol]():"";n=function(){return VOe+c},l[Wu]=new lO,l[nf]=function(){var b=nn(),_=!1,y=l[Wu];y.id||(_=!d(y,b));var x=l.config[Ob]();if(!_&&x>0){var C=l.config[Wx](),L=b-y[Fb],I=b-y[Kx];_=L<0||I<0,_=_||L>x,_=_||I>C}_?m(b):(!s||b-s>e.cookieUpdateInterval)&&f(y,b)},l.backup=function(){var b=l[Wu];g(b.id,b[Fb],b[Kx])};function d(b,_){var y=!1,x=a.get(n());if(x&&ot(x.split))y=p(b,x);else{var C=Sq(i,n());C&&(y=p(b,C))}return y||!!b.id}function p(b,_){var y=!1,x=", session will be reset",C=_.split("|");if(C[sf]>=2)try{var L=+C[1]||0,I=+C[2]||0;isNaN(L)||L<=0?ke(i,2,27,"AI session acquisition date is 0"+x):isNaN(I)||I<=0?ke(i,2,27,"AI session renewal date is 0"+x):C[0]&&(b.id=C[0],b[Fb]=L,b[Kx]=I,y=!0)}catch(q){ke(i,1,9,"Error parsing ai_session value ["+(_||"")+"]"+x+" - "+Ct(q),{exception:Ye(q)})}return y}function m(b){var _=l[Ua]||{},y=(_[Qu]?_[Qu]():null)||qc;l.automaticSession.id=y(_[Yu]?_[Yu]():22),l[Wu][Fb]=b,f(l[Wu],b),lx()||ke(i,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function f(b,_){var y=b[Fb];b[Kx]=_;var x=l[Ua],C=x[Wx](),L=y+x[Ob]()-_,I=[b.id,y,_],q=0;L0?q:null,O),s=_}function g(b,_,y){Eq(i,n(),[b,_,y][Ub]("|"))}})}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}();var Bge=function(){function e(t,o,r,n){var s=this;s.traceID=t||Ts(),s.parentID=o;var i=xs();!r&&i&&i.pathname&&(r=i.pathname),s.name=io(n,r)}return e}();function Gge(e){return!(typeof e!="string"||!e||e.match(/,|;|=| |\|/))}var Vge=function(){function e(t,o){this.isNewUser=!1,this.isUserCookieSet=!1;var r=Pa(o),n=Lm(o),s;vt(e,this,function(i){i[Ua]=t;var a=i.config[qb]&&i[Ua][qb]()?i[Ua][qb]():"";s=function(){return e.userCookieName+a};var l=n.get(s());if(l){i[Mb]=!1;var c=l.split(e[Hb]);c[sf]>0&&(i.id=c[0],i[Rb]=!!i.id)}function d(){var y=t||{},x=(y[Qu]?y[Qu]():null)||qc,C=x(y[Yu]?t[Yu]():22);return C}function p(y){var x=si(new Date);i.accountAcquisitionDate=x,i[Mb]=!0;var C=[y,x];return C}function m(y){var x=31536e3;i[Rb]=n.set(s(),y,x)}if(!i.id){i.id=d();var f=p(i.id);m(f[Ub](e[Hb]));var g=t[Ol]&&t[Ol]()?t[Ol]()+"ai_session":"ai_session";wq(r,g)}i[Fa]=t[Fa]?t[Fa]():void 0;var b=n.get(e[FI]);if(b){b=decodeURI(b);var _=b.split(e[Hb]);_[0]&&(i[Ku]=_[0]),_[sf]>1&&_[1]&&(i[Fa]=_[1])}i.setAuthenticatedUserContext=function(y,x,C){C===void 0&&(C=!1);var L=!Gge(y)||x&&!Gge(x);if(L){ke(r,2,60,"Setting auth user context failed. User auth/account id should be of type string, and not contain commas, semi-colons, equal signs, spaces, or vertical-bars.",!0);return}i[Ku]=y;var I=i[Ku];x&&(i[Fa]=x,I=[i[Ku],i.accountId][Ub](e[Hb])),C&&n.set(e[FI],encodeURI(I))},i.clearAuthenticatedUserContext=function(){i[Ku]=null,i[Fa]=null,n.del(e[FI])},i[nf]=function(y){if(i.id!==y||!i[Rb]){var x=y||d(),C=p(x);m(C[Ub](e[Hb]))}}})}return e.cookieSeparator="|",e.userCookieName="ai_user",e.authUserCookieName="ai_authUser",e}();var UI="ext",HI="tags";function zb(e,t){e&&e[t]&&es(e[t])[sf]===0&&delete e[t]}var jge=function(){function e(t,o,r){var n=this,s=t.logger;this.appId=function(){return null},this[$b]=function(){return null},vt(e,this,function(i){if(i.application=new Oge,i.internal=new Uge(o),$c()){i[Lb]=new zge(o,t),i.device=new Fge,i.location=new Hge,i.user=new Vge(o,t);var a=void 0,l=void 0,c;r&&(a=r.getTraceId(),l=r.getSpanId(),c=r.getName()),i[Qx]=new Bge(a,l,c,s),i.session=new lO}i[$b]=function(){var d=i.session,p=null;if(d&&Ze(d.id))p=d.id;else{var m=(i[Lb]||{})[Wu];p=m&&Ze(m.id)?m.id:null}return p},i[LI]=function(d,p){Yt(nr(d.ext,xn.AppExt),"sesId",i[$b](),Ze)},i[NI]=function(d,p){Yt(d.ext,xn.OSExt,i.os)},i[RI]=function(d,p){var m=i.application;if(m){var f=nr(d,HI);Yt(f,fo.applicationVersion,m.ver,Ze),Yt(f,fo.applicationBuild,m.build,Ze)}},i[MI]=function(d,p){var m=i.device;if(m){var f=nr(nr(d,UI),xn.DeviceExt);Yt(f,"localId",m.id,Ze),Yt(f,"ip",m.ip,Ze),Yt(f,"model",m.model,Ze),Yt(f,"deviceClass",m.deviceClass,Ze)}},i[OI]=function(d,p){var m=i.internal;if(m){var f=nr(d,HI);Yt(f,fo.internalAgentVersion,m.agentVersion,Ze),Yt(f,fo.internalSdkVersion,m.sdkVersion,Ze),(d.baseType===Nc.dataType||d.baseType===os.dataType)&&(Yt(f,fo.internalSnippet,m.snippetVer,Ze),Yt(f,fo.internalSdkSrc,m.sdkSrc,Ze))}},i[qI]=function(d,p){var m=n.location;m&&Yt(nr(d,HI,[]),fo.locationIp,m.ip,Ze)},i[DI]=function(d,p){var m=i[Qx];if(m){var f=nr(nr(d,UI),xn.TraceExt,{traceID:void 0,parentID:void 0});Yt(f,"traceID",m.traceID,Ze,ge),Yt(f,"name",m.name,Ze,ge),Yt(f,"parentID",m.parentID,Ze,ge)}},i.applyWebContext=function(d,p){var m=n.web;m&&Yt(nr(d,UI),xn.WebExt,m)},i[$I]=function(d,p){var m=i.user;if(m){var f=nr(d,HI,[]);Yt(f,fo.userAccountId,m[Fa],Ze);var g=nr(nr(d,UI),xn.UserExt);Yt(g,"id",m.id,Ze),Yt(g,"authId",m[Ku],Ze)}},i.cleanUp=function(d,p){var m=d.ext;m&&(zb(m,xn.DeviceExt),zb(m,xn.UserExt),zb(m,xn.WebExt),zb(m,xn.OSExt),zb(m,xn.AppExt),zb(m,xn.TraceExt))}})}return e.__ieDyn=1,e}();var jOe=function(e){tn(t,e);function t(){var o=e.call(this)||this;o.priority=110,o.identifier=Cu;var r,n,s;return vt(t,o,function(i,a){l(),i.initialize=function(p,m,f,g){a.initialize(p,m,f,g),c(p)},i.processTelemetry=function(p,m){if(!ge(p)){m=i._getTelCtx(m),p.name===os.envelopeType&&m.diagLog().resetInternalMessageCount();var f=i.context||{};f.session&&typeof i.context.session.id!="string"&&f[Lb]&&f[Lb][nf]();var g=f.user;if(g&&!g[Rb]&&g[nf](f.user.id),d(p,m),g&&g[Mb]){g[Mb]=!1;var b=new Nc(72,(ts()||{}).userAgent||"");G1(m.diagLog(),1,b)}i.processNext(p,m)}},i._doTeardown=function(p,m){var f=(p||{}).core();if(f&&f[PI]){var g=f[PI](!1);g===n&&f.setTraceCtx(s)}l()};function l(){r=null,n=null,s=null}function c(p){var m=i.identifier,f=i.core,g=sn(null,p,f),b=t.getDefaultConfig();r=r||{},Dt(b,function(_,y){r[_]=function(){return g.getConfig(m,_,y())}}),s=f[PI](!1),i.context=new jge(f,r,s),n=Bm(i.context[Qx],s),f.setTraceCtx(n),i.context.appId=function(){var _=f.getPlugin(mx);return _?_.plugin._appId:null},i._extConfig=r}function d(p,m){nr(p,"tags",[]),nr(p,"ext",{});var f=i.context;f[LI](p,m),f[RI](p,m),f[MI](p,m),f[DI](p,m),f[$I](p,m),f[NI](p,m),f.applyWebContext(p,m),f[qI](p,m),f[OI](p,m),f.cleanUp(p,m)}}),o}return t.getDefaultConfig=function(){var o,r,n=null,s=(o={instrumentationKey:function(){return r}},o[Fa]=function(){return n},o.sessionRenewalMs=function(){return 30*60*1e3},o.samplingPercentage=function(){return 100},o.sessionExpirationMs=function(){return 24*60*60*1e3},o[Jx]=function(){return n},o[Db]=function(){return n},o.isBrowserLinkTrackingEnabled=function(){return!1},o.appId=function(){return n},o[$b]=function(){return n},o[Ol]=function(){return r},o[Nb]=function(){return r},o[qb]=function(){return r},o[Yu]=function(){return 22},o[Qu]=function(){return n},o);return s},t}(La),cO=jOe;var Yge="AuthenticatedUserContext",Bb="track";var zI="snippet",Qge="getCookieMgr",Wge="startTrackPage",Kge="stopTrackPage",BI="flush",Jge="startTrackEvent",Xge="stopTrackEvent",dO="addTelemetryInitializer",xbt=dO+"s",uO="pollInternalLogs",GI="getPlugin",VI="evtNamespace",Zge=Bb+"Event",ehe=Bb+"Trace",the=Bb+"Metric",ohe=Bb+"PageView",rhe=Bb+"Exception",nhe=Bb+"DependencyData",she="set"+Yge,ihe="clear"+Yge;var ahe="updateSnippetDefinitions",lhe="loadAppInsights",pO="endpointUrl";var Xx="diagnosticLogInterval";var che="disableFlushOnBeforeUnload",dhe="disableFlushOnUnload";var Xc="config",ji="context",Zx="push",jI="version",Ju="queue",YI="connectionString",mO="instrumentationKey",eT="appInsights",fO="disableIkeyDeprecationMessage",gO="getTransmissionControls",Gb="onunloadFlush",hO="addHousekeepingBeforeUnload",tT="indexOf";var bO,uhe=[zI,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"];var _O=function(){function e(t){var o=this,r,n,s,i,a,l,c;vt(e,this,function(d){y(),i=""+(t.sv||t[jI]||""),t[Ju]=t[Ju]||[],t[jI]=t[jI]||2;var p=t[Xc]||{};if(p[YI]){var m=Pq(p[YI]),f=m.ingestionendpoint;p[pO]=f?f+Fc:p[pO],p[mO]=m.instrumentationkey||p[mO]}d[eT]=new dI,n=new cO,r=new aO,s=new Zq,c=new dq,d.core=c;var g=ge(p[fO])?!0:p[fO];!p[YI]&&!g&&ke(c.logger,1,106,"Instrumentation key support will end soon, see aka.ms/IkeyMigrate"),d[zI]=t,d[Xc]=p,b(),d[BI]=function(x){x===void 0&&(x=!0),hu(c,function(){return"AISKU.flush"},function(){Ge(c[gO](),function(C){Ge(C,function(L){L[BI](x)})})},null,x)},d[Gb]=function(x){x===void 0&&(x=!0),Ge(c[gO](),function(C){Ge(C,function(L){L[Gb]?L[Gb]():L[BI](x)})})},d[lhe]=function(x,C,L){x===void 0&&(x=!1);function I(q){if(q){var O="";ge(i)||(O+=i),x&&(O+=".lg"),d[ji]&&d[ji].internal&&(d[ji].internal.snippetVer=O||"-"),Dt(d,function(ne,Ie){Ze(ne)&&!ot(Ie)&&ne&&ne[0]!=="_"&&rn(uhe,ne)===-1&&(q[ne]=Ie)})}}return x&&d[Xc].extensions&&d[Xc].extensions.length>0&&Jo("Extensions not allowed in legacy mode"),hu(d.core,function(){return"AISKU.loadAppInsights"},function(){var q=[];q[Zx](s),q[Zx](n),q[Zx](r),q[Zx](d[eT]),c.initialize(d[Xc],q,C,L),d[ji]=n[ji],bO&&d[ji]&&(d[ji].internal.sdkSrc=bO),I(d[zI]),d.emptyQueue(),d[uO](),d[hO](o)}),d},d[ahe]=function(x){A1(x,d,function(C){return C&&rn(uhe,C)===-1})},d.emptyQueue=function(){try{if(Mt(d.snippet[Ju])){for(var x=d.snippet[Ju].length,C=0;C0?d[Xc][Xx]:1e4}function _(){return r}function y(){a=vn("AISKU"),l=null,r=null,n=null,s=null,i=null}})}return e.prototype.addDependencyInitializer=function(t){return null},e}();(function(){var e=null,t=!1,o=["://js.monitor.azure.com/","://az416426.vo.msecnd.net/"];try{var r=(document||{}).currentScript;r&&(e=r.src)}catch{}if(e)try{var n=e.toLowerCase();if(n){for(var s="",i=0;i{},trackException:()=>{},trackTrace:()=>{}};function phe(){if(!A.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"}[Q.hostname];if(!e)return;let t=new _O({config:{instrumentationKey:e,disableFetchTracking:!1}});t.loadAppInsights();let o=()=>{S.isAuthenticated?t.setAuthenticatedUserContext(S.userId):t.clearAuthenticatedUserContext()};S.subscribe(To,o),o(),t.trackPageView(),Qe.subscribe(lr,()=>{t.trackPageView({properties:{syntheticPageView:!0}})}),Cr=t}function mhe(e,t){return async function(...o){let r=t;for(;;)try{return await e.apply(null,o)}catch(n){if(r<=0)throw n;r--}}}async function fhe(){let e={method:"POST"},t=N(D.contentAuthorizationService.deleteCasTokenCookie,e,!0,!1);await mhe(async()=>{(await P(t)).ok},10)()}function Fl(e="",t=`${Q.origin}${Q.pathname}`){let o=e?new URL(e):new URL(t);if(o.protocol==="https:"&&(o.hostname===Q.hostname||o.hostname.endsWith(".microsoft.com")||o.hostname==="microsoft.com"))return o;let r=`${Q.origin}${Q.pathname}`;return t===r?new URL(`${o.pathname}${o.search}${o.hash}`,`${Q.origin}`):Fl(t)}var vO=function(e,t){return vO=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},vO(e,t)};function Wt(e,t){vO(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var Oe=function(){return Oe=Object.assign||function(t){for(var o,r=1,n=arguments.length;r0&&s[s.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]0)&&!(n=r.next()).done;)s.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}}return s}function Vb(){for(var e=[],t=0;t0&&s[s.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]"u"||!t||t.length===0},e.isEmptyObj=function(t){if(t&&!e.isEmpty(t))try{var o=JSON.parse(t);return Object.keys(o).length===0}catch{}return!0},e.startsWith=function(t,o){return t.indexOf(o)===0},e.endsWith=function(t,o){return t.length>=o.length&&t.lastIndexOf(o)===t.length-o.length},e.queryStringToObject=function(t){var o={},r=t.split("&"),n=function(s){return decodeURIComponent(s.replace(/\+/g," "))};return r.forEach(function(s){if(s.trim()){var i=s.split(/=(.+)/g,2),a=i[0],l=i[1];a&&l&&(o[n(a)]=n(l))}}),o},e.trimArrayEntries=function(t){return t.map(function(o){return o.trim()})},e.removeEmptyStringsFromArray=function(t){return t.filter(function(o){return!e.isEmpty(o)})},e.jsonParseHelper=function(t){try{return JSON.parse(t)}catch{return null}},e.matchPattern=function(t,o){var r=new RegExp(t.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?"));return r.test(o)},e}();var go;(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"})(go||(go={}));var Wb=function(){function e(t,o,r){this.level=go.Info;var n=function(){},s=t||e.createDefaultLoggerOptions();this.localCallback=s.loggerCallback||n,this.piiLoggingEnabled=s.piiLoggingEnabled||!1,this.level=typeof s.logLevel=="number"?s.logLevel:go.Info,this.correlationId=s.correlationId||M.EMPTY_STRING,this.packageName=o||M.EMPTY_STRING,this.packageVersion=r||M.EMPTY_STRING}return e.createDefaultLoggerOptions=function(){return{loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:go.Info}},e.prototype.clone=function(t,o,r){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:r||this.correlationId},t,o)},e.prototype.logMessage=function(t,o){if(!(o.logLevel>this.level||!this.piiLoggingEnabled&&o.containsPii)){var r=new Date().toUTCString(),n;me.isEmpty(o.correlationId)?me.isEmpty(this.correlationId)?n="["+r+"]":n="["+r+"] : ["+this.correlationId+"]":n="["+r+"] : ["+o.correlationId+"]";var s=n+" : "+this.packageName+"@"+this.packageVersion+" : "+go[o.logLevel]+" - "+t;this.executeCallback(o.logLevel,s,o.containsPii||!1)}},e.prototype.executeCallback=function(t,o,r){this.localCallback&&this.localCallback(t,o,r)},e.prototype.error=function(t,o){this.logMessage(t,{logLevel:go.Error,containsPii:!1,correlationId:o||M.EMPTY_STRING})},e.prototype.errorPii=function(t,o){this.logMessage(t,{logLevel:go.Error,containsPii:!0,correlationId:o||M.EMPTY_STRING})},e.prototype.warning=function(t,o){this.logMessage(t,{logLevel:go.Warning,containsPii:!1,correlationId:o||M.EMPTY_STRING})},e.prototype.warningPii=function(t,o){this.logMessage(t,{logLevel:go.Warning,containsPii:!0,correlationId:o||M.EMPTY_STRING})},e.prototype.info=function(t,o){this.logMessage(t,{logLevel:go.Info,containsPii:!1,correlationId:o||M.EMPTY_STRING})},e.prototype.infoPii=function(t,o){this.logMessage(t,{logLevel:go.Info,containsPii:!0,correlationId:o||M.EMPTY_STRING})},e.prototype.verbose=function(t,o){this.logMessage(t,{logLevel:go.Verbose,containsPii:!1,correlationId:o||M.EMPTY_STRING})},e.prototype.verbosePii=function(t,o){this.logMessage(t,{logLevel:go.Verbose,containsPii:!0,correlationId:o||M.EMPTY_STRING})},e.prototype.trace=function(t,o){this.logMessage(t,{logLevel:go.Trace,containsPii:!1,correlationId:o||M.EMPTY_STRING})},e.prototype.tracePii=function(t,o){this.logMessage(t,{logLevel:go.Trace,containsPii:!0,correlationId:o||M.EMPTY_STRING})},e.prototype.isPiiLoggingEnabled=function(){return this.piiLoggingEnabled||!1},e}();var hhe="@azure/msal-common",JI="9.1.1";var Hl;(function(e){e[e.None=0]="None",e.AzurePublic="https://login.microsoftonline.com",e.AzurePpe="https://login.windows-ppe.net",e.AzureChina="https://login.chinacloudapi.cn",e.AzureGermany="https://login.microsoftonline.de",e.AzureUsGovernment="https://login.microsoftonline.us"})(Hl||(Hl={}));var od=function(){function e(){}return e.prototype.generateAccountId=function(){return e.generateAccountIdForCacheKey(this.homeAccountId,this.environment)},e.prototype.generateCredentialId=function(){return e.generateCredentialIdForCacheKey(this.credentialType,this.clientId,this.realm,this.familyId)},e.prototype.generateTarget=function(){return e.generateTargetForCacheKey(this.target)},e.prototype.generateCredentialKey=function(){return e.generateCredentialCacheKey(this.homeAccountId,this.environment,this.credentialType,this.clientId,this.realm,this.target,this.familyId,this.tokenType,this.requestedClaimsHash)},e.prototype.generateType=function(){switch(this.credentialType){case $t.ID_TOKEN:return Yi.ID_TOKEN;case $t.ACCESS_TOKEN:case $t.ACCESS_TOKEN_WITH_AUTH_SCHEME:return Yi.ACCESS_TOKEN;case $t.REFRESH_TOKEN:return Yi.REFRESH_TOKEN;default:throw ve.createUnexpectedCredentialTypeError()}},e.getCredentialType=function(t){for(var o=Ar.CACHE_KEY_SEPARATOR,r="(https?:\\/\\/)?([\\w-]+\\.)*([\\w-]{1,63})(\\.(\\w{2,63}))(\\:[0-9]{4,5})?",n=0,s=Object.keys($t);n=t.scopes.size&&t.asArray().every(function(r){return o.containsScope(r)})},e.prototype.containsOnlyOIDCScopes=function(){var t=this,o=0;return TO.forEach(function(r){t.containsScope(r)&&(o+=1)}),this.scopes.size===o},e.prototype.appendScope=function(t){me.isEmpty(t)||this.scopes.add(t.trim())},e.prototype.appendScopes=function(t){var o=this;try{t.forEach(function(r){return o.appendScope(r)})}catch(r){throw ve.createAppendScopeSetError(r)}},e.prototype.removeScope=function(t){if(me.isEmpty(t))throw ve.createRemoveEmptyScopeFromSetError(t);this.scopes.delete(t.trim())},e.prototype.removeOIDCScopes=function(){var t=this;TO.forEach(function(o){t.scopes.delete(o)})},e.prototype.unionScopeSets=function(t){if(!t)throw ve.createEmptyInputScopeSetError();var o=new Set;return t.scopes.forEach(function(r){return o.add(r.toLowerCase())}),this.scopes.forEach(function(r){return o.add(r.toLowerCase())}),o},e.prototype.intersectingScopeSets=function(t){if(!t)throw ve.createEmptyInputScopeSetError();t.containsOnlyOIDCScopes()||t.removeOIDCScopes();var o=this.unionScopeSets(t),r=t.getScopeCount(),n=this.getScopeCount(),s=o.size;return st+o)throw ve.createMaxAgeTranspiredError()},e}();var Ps=function(){function e(t,o){this.clientId=t,this.cryptoImpl=o}return e.prototype.getAllAccounts=function(){var t=this,o=this.getAccountsFilteredBy(),r=Object.keys(o).map(function(i){return o[i]}),n=r.length;if(n<1)return[];var s=r.map(function(i){var a=e.toObject(new $o,i),l=a.getAccountInfo(),c=t.readIdTokenFromCache(t.clientId,l);return c&&!l.idTokenClaims&&(l.idToken=c.secret,l.idTokenClaims=new jr(c.secret,t.cryptoImpl).claims),l});return s},e.prototype.saveCacheRecord=function(t){return We(this,void 0,void 0,function(){return Ke(this,function(o){switch(o.label){case 0:if(!t)throw ve.createNullOrUndefinedCacheRecord();return t.account&&this.setAccount(t.account),t.idToken&&this.setIdTokenCredential(t.idToken),t.accessToken?[4,this.saveAccessToken(t.accessToken)]:[3,2];case 1:o.sent(),o.label=2;case 2:return t.refreshToken&&this.setRefreshTokenCredential(t.refreshToken),t.appMetadata&&this.setAppMetadata(t.appMetadata),[2]}})})},e.prototype.saveAccessToken=function(t){return We(this,void 0,void 0,function(){var o,r,n,s,i=this;return Ke(this,function(a){switch(a.label){case 0:return o=this.getCredentialsFilteredBy({clientId:t.clientId,credentialType:t.credentialType,environment:t.environment,homeAccountId:t.homeAccountId,realm:t.realm,tokenType:t.tokenType,requestedClaimsHash:t.requestedClaimsHash}),r=vr.fromString(t.target),n=Object.keys(o.accessTokens).map(function(l){return o.accessTokens[l]}),n?(s=[],n.forEach(function(l){var c=vr.fromString(l.target);c.intersectingScopeSets(r)&&s.push(i.removeCredential(l))}),[4,Promise.all(s)]):[3,2];case 1:a.sent(),a.label=2;case 2:return this.setAccessTokenCredential(t),[2]}})})},e.prototype.getAccountsFilteredBy=function(t){return this.getAccountsFilteredByInternal(t?t.homeAccountId:M.EMPTY_STRING,t?t.environment:M.EMPTY_STRING,t?t.realm:M.EMPTY_STRING,t?t.nativeAccountId:M.EMPTY_STRING)},e.prototype.getAccountsFilteredByInternal=function(t,o,r,n){var s=this,i=this.getKeys(),a={};return i.forEach(function(l){var c=s.getAccount(l);c&&(t&&!s.matchHomeAccountId(c,t)||o&&!s.matchEnvironment(c,o)||r&&!s.matchRealm(c,r)||n&&!s.matchNativeAccountId(c,n)||(a[l]=c))}),a},e.prototype.getCredentialsFilteredBy=function(t){return this.getCredentialsFilteredByInternal(t.homeAccountId,t.environment,t.credentialType,t.clientId,t.familyId,t.realm,t.target,t.userAssertionHash,t.tokenType,t.keyId,t.requestedClaimsHash)},e.prototype.getCredentialsFilteredByInternal=function(t,o,r,n,s,i,a,l,c,d,p){var m=this,f=this.getKeys(),g={idTokens:{},accessTokens:{},refreshTokens:{}};return f.forEach(function(b){var _=od.getCredentialType(b);if(_!==M.NOT_DEFINED){var y=m.getSpecificCredential(b,_);if(y&&!(l&&!m.matchUserAssertionHash(y,l))&&!(typeof t=="string"&&!m.matchHomeAccountId(y,t))&&!(o&&!m.matchEnvironment(y,o))&&!(i&&!m.matchRealm(y,i))&&!(r&&!m.matchCredentialType(y,r))&&!(n&&!m.matchClientId(y,n))&&!(s&&!m.matchFamilyId(y,s))&&!(a&&!m.matchTarget(y,a))&&!((p||y.requestedClaimsHash)&&y.requestedClaimsHash!==p)&&!(r===$t.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(c&&!m.matchTokenType(y,c)||c===Rt.SSH&&d&&!m.matchKeyId(y,d)))){var x=m.updateCredentialCacheKey(b,y);switch(_){case $t.ID_TOKEN:g.idTokens[x]=y;break;case $t.ACCESS_TOKEN:case $t.ACCESS_TOKEN_WITH_AUTH_SCHEME:g.accessTokens[x]=y;break;case $t.REFRESH_TOKEN:g.refreshTokens[x]=y;break}}}}),g},e.prototype.getAppMetadataFilteredBy=function(t){return this.getAppMetadataFilteredByInternal(t.environment,t.clientId)},e.prototype.getAppMetadataFilteredByInternal=function(t,o){var r=this,n=this.getKeys(),s={};return n.forEach(function(i){if(r.isAppMetadata(i)){var a=r.getAppMetadata(i);a&&(t&&!r.matchEnvironment(a,t)||o&&!r.matchClientId(a,o)||(s[i]=a))}}),s},e.prototype.getAuthorityMetadataByAlias=function(t){var o=this,r=this.getAuthorityMetadataKeys(),n=null;return r.forEach(function(s){if(!(!o.isAuthorityMetadata(s)||s.indexOf(o.clientId)===-1)){var i=o.getAuthorityMetadata(s);i&&i.aliases.indexOf(t)!==-1&&(n=i)}}),n},e.prototype.removeAllAccounts=function(){return We(this,void 0,void 0,function(){var t,o,r=this;return Ke(this,function(n){switch(n.label){case 0:return t=this.getKeys(),o=[],t.forEach(function(s){var i=r.getAccount(s);i&&o.push(r.removeAccount(s))}),[4,Promise.all(o)];case 1:return n.sent(),[2,!0]}})})},e.prototype.removeAccount=function(t){return We(this,void 0,void 0,function(){var o;return Ke(this,function(r){switch(r.label){case 0:if(o=this.getAccount(t),!o)throw ve.createNoAccountFoundError();return[4,this.removeAccountContext(o)];case 1:return[2,r.sent()&&this.removeItem(t,Ul.ACCOUNT)]}})})},e.prototype.removeAccountContext=function(t){return We(this,void 0,void 0,function(){var o,r,n,s=this;return Ke(this,function(i){switch(i.label){case 0:return o=this.getKeys(),r=t.generateAccountId(),n=[],o.forEach(function(a){var l=od.getCredentialType(a);if(l!==M.NOT_DEFINED){var c=s.getSpecificCredential(a,l);c&&r===c.generateAccountId()&&n.push(s.removeCredential(c))}}),[4,Promise.all(n)];case 1:return i.sent(),[2,!0]}})})},e.prototype.removeCredential=function(t){return We(this,void 0,void 0,function(){var o,r,n;return Ke(this,function(s){switch(s.label){case 0:if(o=t.generateCredentialKey(),t.credentialType.toLowerCase()!==$t.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())return[3,4];if(t.tokenType!==Rt.POP)return[3,4];if(r=t,n=r.keyId,!n)return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.cryptoImpl.removeTokenBindingKey(n)];case 2:return s.sent(),[3,4];case 3:throw s.sent(),ve.createBindingKeyNotRemovedError();case 4:return[2,this.removeItem(o,Ul.CREDENTIAL)]}})})},e.prototype.removeAppMetadata=function(){var t=this,o=this.getKeys();return o.forEach(function(r){t.isAppMetadata(r)&&t.removeItem(r,Ul.APP_METADATA)}),!0},e.prototype.readCacheRecord=function(t,o,r,n){var s=this.readAccountFromCache(t),i=this.readIdTokenFromCache(o,t),a=this.readAccessTokenFromCache(o,t,r),l=this.readRefreshTokenFromCache(o,t,!1),c=this.readAppMetadataFromCache(n,o);return s&&i&&(s.idTokenClaims=new jr(i.secret,this.cryptoImpl).claims),{account:s,idToken:i,accessToken:a,refreshToken:l,appMetadata:c}},e.prototype.readAccountFromCache=function(t){var o=$o.generateAccountCacheKey(t);return this.getAccount(o)},e.prototype.readAccountFromCacheWithNativeAccountId=function(t){var o={nativeAccountId:t},r=this.getAccountsFilteredBy(o),n=Object.keys(r).map(function(s){return r[s]});if(n.length<1)return null;if(n.length>1)throw ve.createMultipleMatchingAccountsInCacheError();return r[0]},e.prototype.readIdTokenFromCache=function(t,o){var r={homeAccountId:o.homeAccountId,environment:o.environment,credentialType:$t.ID_TOKEN,clientId:t,realm:o.tenantId},n=this.getCredentialsFilteredBy(r),s=Object.keys(n.idTokens).map(function(a){return n.idTokens[a]}),i=s.length;if(i<1)return null;if(i>1)throw ve.createMultipleMatchingTokensInCacheError();return s[0]},e.prototype.readAccessTokenFromCache=function(t,o,r){var n=new vr(r.scopes||[]),s=r.authenticationScheme||Rt.BEARER,i=s&&s.toLowerCase()!==Rt.BEARER.toLowerCase()?$t.ACCESS_TOKEN_WITH_AUTH_SCHEME:$t.ACCESS_TOKEN,a={homeAccountId:o.homeAccountId,environment:o.environment,credentialType:i,clientId:t,realm:o.tenantId,target:n.printScopesLowerCase(),tokenType:s,keyId:r.sshKid,requestedClaimsHash:r.requestedClaimsHash},l=this.getCredentialsFilteredBy(a),c=Object.keys(l.accessTokens).map(function(p){return l.accessTokens[p]}),d=c.length;if(d<1)return null;if(d>1)throw ve.createMultipleMatchingTokensInCacheError();return c[0]},e.prototype.readRefreshTokenFromCache=function(t,o,r){var n=r?df:void 0,s={homeAccountId:o.homeAccountId,environment:o.environment,credentialType:$t.REFRESH_TOKEN,clientId:t,familyId:n},i=this.getCredentialsFilteredBy(s),a=Object.keys(i.refreshTokens).map(function(c){return i.refreshTokens[c]}),l=a.length;return l<1?null:a[0]},e.prototype.readAppMetadataFromCache=function(t,o){var r={environment:t,clientId:o},n=this.getAppMetadataFilteredBy(r),s=Object.keys(n).map(function(a){return n[a]}),i=s.length;if(i<1)return null;if(i>1)throw ve.createMultipleMatchingAppMetadataInCacheError();return s[0]},e.prototype.isAppMetadataFOCI=function(t,o){var r=this.readAppMetadataFromCache(t,o);return!!(r&&r.familyId===df)},e.prototype.matchHomeAccountId=function(t,o){return typeof t.homeAccountId=="string"&&o===t.homeAccountId},e.prototype.matchUserAssertionHash=function(t,o){return!!(t.userAssertionHash&&o===t.userAssertionHash)},e.prototype.matchEnvironment=function(t,o){var r=this.getAuthorityMetadataByAlias(o);return!!(r&&r.aliases.indexOf(t.environment)>-1)},e.prototype.matchCredentialType=function(t,o){return t.credentialType&&o.toLowerCase()===t.credentialType.toLowerCase()},e.prototype.matchClientId=function(t,o){return!!(t.clientId&&o===t.clientId)},e.prototype.matchFamilyId=function(t,o){return!!(t.familyId&&o===t.familyId)},e.prototype.matchRealm=function(t,o){return!!(t.realm&&o===t.realm)},e.prototype.matchNativeAccountId=function(t,o){return!!(t.nativeAccountId&&o===t.nativeAccountId)},e.prototype.matchTarget=function(t,o){var r=t.credentialType!==$t.ACCESS_TOKEN&&t.credentialType!==$t.ACCESS_TOKEN_WITH_AUTH_SCHEME;if(r||!t.target)return!1;var n=vr.fromString(t.target),s=vr.fromString(o);return s.containsOnlyOIDCScopes()?s.removeScope(M.OFFLINE_ACCESS_SCOPE):s.removeOIDCScopes(),n.containsScopeSet(s)},e.prototype.matchTokenType=function(t,o){return!!(t.tokenType&&t.tokenType===o)},e.prototype.matchKeyId=function(t,o){return!!(t.keyId&&t.keyId===o)},e.prototype.isAppMetadata=function(t){return t.indexOf(rT)!==-1},e.prototype.isAuthorityMetadata=function(t){return t.indexOf(uf.CACHE_KEY)!==-1},e.prototype.generateAuthorityMetadataCacheKey=function(t){return uf.CACHE_KEY+"-"+this.clientId+"-"+t},e.prototype.getSpecificCredential=function(t,o){switch(o){case $t.ID_TOKEN:return this.getIdTokenCredential(t);case $t.ACCESS_TOKEN:case $t.ACCESS_TOKEN_WITH_AUTH_SCHEME:return this.getAccessTokenCredential(t);case $t.REFRESH_TOKEN:return this.getRefreshTokenCredential(t);default:return null}},e.toObject=function(t,o){for(var r in o)t[r]=o[r];return t},e}(),SO=function(e){So(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.setAccount=function(){var o="Storage interface - setAccount() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getAccount=function(){var o="Storage interface - getAccount() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.setIdTokenCredential=function(){var o="Storage interface - setIdTokenCredential() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getIdTokenCredential=function(){var o="Storage interface - getIdTokenCredential() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.setAccessTokenCredential=function(){var o="Storage interface - setAccessTokenCredential() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getAccessTokenCredential=function(){var o="Storage interface - getAccessTokenCredential() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.setRefreshTokenCredential=function(){var o="Storage interface - setRefreshTokenCredential() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getRefreshTokenCredential=function(){var o="Storage interface - getRefreshTokenCredential() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.setAppMetadata=function(){var o="Storage interface - setAppMetadata() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getAppMetadata=function(){var o="Storage interface - getAppMetadata() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.setServerTelemetry=function(){var o="Storage interface - setServerTelemetry() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getServerTelemetry=function(){var o="Storage interface - getServerTelemetry() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.setAuthorityMetadata=function(){var o="Storage interface - setAuthorityMetadata() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getAuthorityMetadata=function(){var o="Storage interface - getAuthorityMetadata() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getAuthorityMetadataKeys=function(){var o="Storage interface - getAuthorityMetadataKeys() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.setThrottlingCache=function(){var o="Storage interface - setThrottlingCache() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getThrottlingCache=function(){var o="Storage interface - getThrottlingCache() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.removeItem=function(){var o="Storage interface - removeItem() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.containsKey=function(){var o="Storage interface - containsKey() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.getKeys=function(){var o="Storage interface - getKeys() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t.prototype.clear=function(){return We(this,void 0,void 0,function(){var o;return Ke(this,function(r){throw o="Storage interface - clear() has not been implemented for the cacheStorage interface.",Pe.createUnexpectedError(o)})})},t.prototype.updateCredentialCacheKey=function(){var o="Storage interface - updateCredentialCacheKey() has not been implemented for the cacheStorage interface.";throw Pe.createUnexpectedError(o)},t}(Ps);var QOe=300,XI={tokenRenewalOffsetSeconds:QOe,preventCorsPreflight:!1,proxyUrl:M.EMPTY_STRING},WOe={loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:go.Info,correlationId:M.EMPTY_STRING},KOe={sendGetRequestAsync:function(){return We(this,void 0,void 0,function(){var e;return Ke(this,function(t){throw e="Network interface - sendGetRequestAsync() has not been implemented",Pe.createUnexpectedError(e)})})},sendPostRequestAsync:function(){return We(this,void 0,void 0,function(){var e;return Ke(this,function(t){throw e="Network interface - sendPostRequestAsync() has not been implemented",Pe.createUnexpectedError(e)})})}},JOe={sku:M.SKU,version:JI,cpu:M.EMPTY_STRING,os:M.EMPTY_STRING},XOe={clientSecret:M.EMPTY_STRING,clientAssertion:void 0},ZOe={azureCloudInstance:Hl.None,tenant:""+M.DEFAULT_COMMON_TENANT},eFe={application:{appName:"",appVersion:""}};function bhe(e){var t=e.authOptions,o=e.systemOptions,r=e.loggerOptions,n=e.storageInterface,s=e.networkInterface,i=e.cryptoInterface,a=e.clientCredentials,l=e.libraryInfo,c=e.telemetry,d=e.serverTelemetryManager,p=e.persistencePlugin,m=e.serializableCache,f=Kt(Kt({},WOe),r);return{authOptions:tFe(t),systemOptions:Kt(Kt({},XI),o),loggerOptions:f,storageInterface:n||new SO(t.clientId,tp),networkInterface:s||KOe,cryptoInterface:i||tp,clientCredentials:a||XOe,libraryInfo:Kt(Kt({},JOe),l),telemetry:Kt(Kt({},eFe),c),serverTelemetryManager:d||null,persistencePlugin:p||null,serializableCache:m||null}}function tFe(e){return Kt({clientCapabilities:[],azureCloudOptions:ZOe,skipAuthorityMetadataCache:!1},e)}var rs=function(e){So(t,e);function t(o,r,n){var s=e.call(this,o,r,n)||this;return s.name="ServerError",Object.setPrototypeOf(s,t.prototype),s}return t}(Pe);var op=function(){function e(){}return e.generateThrottlingStorageKey=function(t){return td.THROTTLING_PREFIX+"."+JSON.stringify(t)},e.preProcess=function(t,o){var r,n=e.generateThrottlingStorageKey(o),s=t.getThrottlingCache(n);if(s){if(s.throttleTime=500&&t.status<600},e.checkResponseForRetryAfter=function(t){return t.headers?t.headers.hasOwnProperty(Gr.RETRY_AFTER)&&(t.status<200||t.status>=300):!1},e.calculateThrottleTime=function(t){var o=t<=0?0:t,r=Date.now()/1e3;return Math.floor(Math.min(r+(o||td.DEFAULT_THROTTLE_TIME_SECONDS),r+td.DEFAULT_MAX_THROTTLE_TIME_SECONDS)*1e3)},e.removeThrottle=function(t,o,r,n){var s={clientId:o,authority:r.authority,scopes:r.scopes,homeAccountIdentifier:n,claims:r.claims,authenticationScheme:r.authenticationScheme,resourceRequestMethod:r.resourceRequestMethod,resourceRequestUri:r.resourceRequestUri,shrClaims:r.shrClaims,sshKid:r.sshKid},i=this.generateThrottlingStorageKey(s);return t.removeItem(i,Ul.THROTTLING)},e}();var _he=function(){function e(t,o){this.networkClient=t,this.cacheManager=o}return e.prototype.sendPostRequest=function(t,o,r){return We(this,void 0,void 0,function(){var n,s;return Ke(this,function(i){switch(i.label){case 0:op.preProcess(this.cacheManager,t),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.networkClient.sendPostRequestAsync(o,r)];case 2:return n=i.sent(),[3,4];case 3:throw s=i.sent(),s instanceof Pe?s:ve.createNetworkError(o,s);case 4:return op.postProcess(this.cacheManager,t,n),[2,n]}})})},e}();var cn;(function(e){e.HOME_ACCOUNT_ID="home_account_id",e.UPN="UPN"})(cn||(cn={}));var Kb=function(){function e(t,o){this.config=bhe(t),this.logger=new Wb(this.config.loggerOptions,hhe,JI),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new _he(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=o}return e.prototype.createTokenRequestHeaders=function(t){var o={};if(o[Gr.CONTENT_TYPE]=M.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&t)switch(t.type){case cn.HOME_ACCOUNT_ID:try{var r=rd(t.credential);o[Gr.CCS_HEADER]="Oid:"+r.uid+"@"+r.utid}catch(n){this.logger.verbose("Could not parse home account ID for CCS Header: "+n)}break;case cn.UPN:o[Gr.CCS_HEADER]="UPN: "+t.credential;break}return o},e.prototype.executePostToTokenEndpoint=function(t,o,r,n){return We(this,void 0,void 0,function(){var s;return Ke(this,function(i){switch(i.label){case 0:return[4,this.networkManager.sendPostRequest(n,t,{body:o,headers:r,proxyUrl:this.config.systemOptions.proxyUrl})];case 1:return s=i.sent(),this.config.serverTelemetryManager&&s.status<500&&s.status!==429&&this.config.serverTelemetryManager.clearTelemetryCache(),[2,s]}})})},e.prototype.updateAuthority=function(t){if(!t.discoveryComplete())throw ve.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");this.authority=t},e}();var nd=function(){function e(){}return e.validateRedirectUri=function(t){if(me.isEmpty(t))throw Vt.createRedirectUriEmptyError()},e.validatePrompt=function(t){var o=[];for(var r in sr)o.push(sr[r]);if(o.indexOf(t)<0)throw Vt.createInvalidPromptError(t)},e.validateClaims=function(t){try{JSON.parse(t)}catch{throw Vt.createInvalidClaimsRequestError()}},e.validateCodeChallengeParams=function(t,o){if(me.isEmpty(t)||me.isEmpty(o))throw Vt.createInvalidCodeChallengeParamsError();this.validateCodeChallengeMethod(o)},e.validateCodeChallengeMethod=function(t){if([WI.PLAIN,WI.S256].indexOf(t)<0)throw Vt.createInvalidCodeChallengeMethodError()},e.sanitizeEQParams=function(t,o){return t?(o.forEach(function(r,n){t[n]&&delete t[n]}),t):{}},e}();var rp=function(){function e(){this.parameters=new Map}return e.prototype.addResponseTypeCode=function(){this.parameters.set(gt.RESPONSE_TYPE,encodeURIComponent(M.CODE_RESPONSE_TYPE))},e.prototype.addResponseTypeForTokenAndIdToken=function(){this.parameters.set(gt.RESPONSE_TYPE,encodeURIComponent(M.TOKEN_RESPONSE_TYPE+" "+M.ID_TOKEN_RESPONSE_TYPE))},e.prototype.addResponseMode=function(t){this.parameters.set(gt.RESPONSE_MODE,encodeURIComponent(t||lf.QUERY))},e.prototype.addNativeBroker=function(){this.parameters.set(gt.NATIVE_BROKER,encodeURIComponent("1"))},e.prototype.addScopes=function(t,o){o===void 0&&(o=!0);var r=o?Xu(t||[],za):t||[],n=new vr(r);this.parameters.set(gt.SCOPE,encodeURIComponent(n.printScopes()))},e.prototype.addClientId=function(t){this.parameters.set(gt.CLIENT_ID,encodeURIComponent(t))},e.prototype.addRedirectUri=function(t){nd.validateRedirectUri(t),this.parameters.set(gt.REDIRECT_URI,encodeURIComponent(t))},e.prototype.addPostLogoutRedirectUri=function(t){nd.validateRedirectUri(t),this.parameters.set(gt.POST_LOGOUT_URI,encodeURIComponent(t))},e.prototype.addIdTokenHint=function(t){this.parameters.set(gt.ID_TOKEN_HINT,encodeURIComponent(t))},e.prototype.addDomainHint=function(t){this.parameters.set(af.DOMAIN_HINT,encodeURIComponent(t))},e.prototype.addLoginHint=function(t){this.parameters.set(af.LOGIN_HINT,encodeURIComponent(t))},e.prototype.addCcsUpn=function(t){this.parameters.set(Gr.CCS_HEADER,encodeURIComponent("UPN:"+t))},e.prototype.addCcsOid=function(t){this.parameters.set(Gr.CCS_HEADER,encodeURIComponent("Oid:"+t.uid+"@"+t.utid))},e.prototype.addSid=function(t){this.parameters.set(af.SID,encodeURIComponent(t))},e.prototype.addClaims=function(t,o){var r=this.addClientCapabilitiesToClaims(t,o);nd.validateClaims(r),this.parameters.set(gt.CLAIMS,encodeURIComponent(r))},e.prototype.addCorrelationId=function(t){this.parameters.set(gt.CLIENT_REQUEST_ID,encodeURIComponent(t))},e.prototype.addLibraryInfo=function(t){this.parameters.set(gt.X_CLIENT_SKU,t.sku),this.parameters.set(gt.X_CLIENT_VER,t.version),t.os&&this.parameters.set(gt.X_CLIENT_OS,t.os),t.cpu&&this.parameters.set(gt.X_CLIENT_CPU,t.cpu)},e.prototype.addApplicationTelemetry=function(t){t?.appName&&this.parameters.set(gt.X_APP_NAME,t.appName),t?.appVersion&&this.parameters.set(gt.X_APP_VER,t.appVersion)},e.prototype.addPrompt=function(t){nd.validatePrompt(t),this.parameters.set(""+gt.PROMPT,encodeURIComponent(t))},e.prototype.addState=function(t){me.isEmpty(t)||this.parameters.set(gt.STATE,encodeURIComponent(t))},e.prototype.addNonce=function(t){this.parameters.set(gt.NONCE,encodeURIComponent(t))},e.prototype.addCodeChallengeParams=function(t,o){if(nd.validateCodeChallengeParams(t,o),t&&o)this.parameters.set(gt.CODE_CHALLENGE,encodeURIComponent(t)),this.parameters.set(gt.CODE_CHALLENGE_METHOD,encodeURIComponent(o));else throw Vt.createInvalidCodeChallengeParamsError()},e.prototype.addAuthorizationCode=function(t){this.parameters.set(gt.CODE,encodeURIComponent(t))},e.prototype.addDeviceCode=function(t){this.parameters.set(gt.DEVICE_CODE,encodeURIComponent(t))},e.prototype.addRefreshToken=function(t){this.parameters.set(gt.REFRESH_TOKEN,encodeURIComponent(t))},e.prototype.addCodeVerifier=function(t){this.parameters.set(gt.CODE_VERIFIER,encodeURIComponent(t))},e.prototype.addClientSecret=function(t){this.parameters.set(gt.CLIENT_SECRET,encodeURIComponent(t))},e.prototype.addClientAssertion=function(t){me.isEmpty(t)||this.parameters.set(gt.CLIENT_ASSERTION,encodeURIComponent(t))},e.prototype.addClientAssertionType=function(t){me.isEmpty(t)||this.parameters.set(gt.CLIENT_ASSERTION_TYPE,encodeURIComponent(t))},e.prototype.addOboAssertion=function(t){this.parameters.set(gt.OBO_ASSERTION,encodeURIComponent(t))},e.prototype.addRequestTokenUse=function(t){this.parameters.set(gt.REQUESTED_TOKEN_USE,encodeURIComponent(t))},e.prototype.addGrantType=function(t){this.parameters.set(gt.GRANT_TYPE,encodeURIComponent(t))},e.prototype.addClientInfo=function(){this.parameters.set(ghe,"1")},e.prototype.addExtraQueryParameters=function(t){var o=this;nd.sanitizeEQParams(t,this.parameters),Object.keys(t).forEach(function(r){o.parameters.set(r,t[r])})},e.prototype.addClientCapabilitiesToClaims=function(t,o){var r;if(!t)r={};else try{r=JSON.parse(t)}catch{throw Vt.createInvalidClaimsRequestError()}return o&&o.length>0&&(r.hasOwnProperty(Zu.ACCESS_TOKEN)||(r[Zu.ACCESS_TOKEN]={}),r[Zu.ACCESS_TOKEN][Zu.XMS_CC]={values:o}),JSON.stringify(r)},e.prototype.addUsername=function(t){this.parameters.set(Yb.username,encodeURIComponent(t))},e.prototype.addPassword=function(t){this.parameters.set(Yb.password,encodeURIComponent(t))},e.prototype.addPopToken=function(t){me.isEmpty(t)||(this.parameters.set(gt.TOKEN_TYPE,Rt.POP),this.parameters.set(gt.REQ_CNF,encodeURIComponent(t)))},e.prototype.addSshJwk=function(t){me.isEmpty(t)||(this.parameters.set(gt.TOKEN_TYPE,Rt.SSH),this.parameters.set(gt.REQ_CNF,encodeURIComponent(t)))},e.prototype.addServerTelemetry=function(t){this.parameters.set(gt.X_CLIENT_CURR_TELEM,t.generateCurrentRequestHeaderValue()),this.parameters.set(gt.X_CLIENT_LAST_TELEM,t.generateLastRequestHeaderValue())},e.prototype.addThrottling=function(){this.parameters.set(gt.X_MS_LIB_CAPABILITY,td.X_MS_LIB_CAPABILITY_VALUE)},e.prototype.addLogoutHint=function(t){this.parameters.set(gt.LOGOUT_HINT,encodeURIComponent(t))},e.prototype.createQueryString=function(){var t=new Array;return this.parameters.forEach(function(o,r){t.push(r+"="+o)}),t.join("&")},e}();var zl=function(e){So(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.createIdTokenEntity=function(o,r,n,s,i){var a=new t;return a.credentialType=$t.ID_TOKEN,a.homeAccountId=o,a.environment=r,a.clientId=s,a.secret=n,a.realm=i,a},t.isIdTokenEntity=function(o){return o?o.hasOwnProperty("homeAccountId")&&o.hasOwnProperty("environment")&&o.hasOwnProperty("credentialType")&&o.hasOwnProperty("realm")&&o.hasOwnProperty("clientId")&&o.hasOwnProperty("secret")&&o.credentialType===$t.ID_TOKEN:!1},t}(od);var kr=function(){function e(){}return e.nowSeconds=function(){return Math.round(new Date().getTime()/1e3)},e.isTokenExpired=function(t,o){var r=Number(t)||0,n=e.nowSeconds()+o;return n>r},e.wasClockTurnedBack=function(t){var o=Number(t);return o>e.nowSeconds()},e.delay=function(t,o){return new Promise(function(r){return setTimeout(function(){return r(o)},t)})},e}();var Bl=function(e){So(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.createAccessTokenEntity=function(o,r,n,s,i,a,l,c,d,p,m,f,g,b,_){var y,x,C=new t;C.homeAccountId=o,C.credentialType=$t.ACCESS_TOKEN,C.secret=n;var L=kr.nowSeconds();if(C.cachedAt=L.toString(),C.expiresOn=l.toString(),C.extendedExpiresOn=c.toString(),p&&(C.refreshOn=p.toString()),C.environment=r,C.clientId=s,C.realm=i,C.target=a,C.userAssertionHash=f,C.tokenType=me.isEmpty(m)?Rt.BEARER:m,b&&(C.requestedClaims=b,C.requestedClaimsHash=_),((y=C.tokenType)===null||y===void 0?void 0:y.toLowerCase())!==Rt.BEARER.toLowerCase())switch(C.credentialType=$t.ACCESS_TOKEN_WITH_AUTH_SCHEME,C.tokenType){case Rt.POP:var I=jr.extractTokenClaims(n,d);if(!(!((x=I?.cnf)===null||x===void 0)&&x.kid))throw ve.createTokenClaimsRequiredError();C.keyId=I.cnf.kid;break;case Rt.SSH:C.keyId=g}return C},t.isAccessTokenEntity=function(o){return o?o.hasOwnProperty("homeAccountId")&&o.hasOwnProperty("environment")&&o.hasOwnProperty("credentialType")&&o.hasOwnProperty("realm")&&o.hasOwnProperty("clientId")&&o.hasOwnProperty("secret")&&o.hasOwnProperty("target")&&(o.credentialType===$t.ACCESS_TOKEN||o.credentialType===$t.ACCESS_TOKEN_WITH_AUTH_SCHEME):!1},t}(od);var np=function(e){So(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.createRefreshTokenEntity=function(o,r,n,s,i,a){var l=new t;return l.clientId=s,l.credentialType=$t.REFRESH_TOKEN,l.environment=r,l.homeAccountId=o,l.secret=n,l.userAssertionHash=a,i&&(l.familyId=i),l},t.isRefreshTokenEntity=function(o){return o?o.hasOwnProperty("homeAccountId")&&o.hasOwnProperty("environment")&&o.hasOwnProperty("credentialType")&&o.hasOwnProperty("clientId")&&o.hasOwnProperty("secret")&&o.credentialType===$t.REFRESH_TOKEN:!1},t}(od);var vhe=["interaction_required","consent_required","login_required"],oFe=["message_only","additional_action","basic_action","user_password_expired","consent_required"],sp={noTokensFoundError:{code:"no_tokens_found",desc:"No refresh token found in the cache. Please sign-in."},native_account_unavailable:{code:"native_account_unavailable",desc:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API."}},Zo=function(e){So(t,e);function t(o,r,n){var s=e.call(this,o,r,n)||this;return s.name="InteractionRequiredAuthError",Object.setPrototypeOf(s,t.prototype),s}return t.isInteractionRequiredError=function(o,r,n){var s=!!o&&vhe.indexOf(o)>-1,i=!!n&&oFe.indexOf(n)>-1,a=!!r&&vhe.some(function(l){return r.indexOf(l)>-1});return s||a||i},t.createNoTokensFoundError=function(){return new t(sp.noTokensFoundError.code,sp.noTokensFoundError.desc)},t.createNativeAccountUnavailableError=function(){return new t(sp.native_account_unavailable.code,sp.native_account_unavailable.desc)},t}(Pe);var mf=function(){function e(t,o,r,n,s){this.account=t||null,this.idToken=o||null,this.accessToken=r||null,this.refreshToken=n||null,this.appMetadata=s||null}return e}();var Sn=function(){function e(){}return e.setRequestState=function(t,o,r){var n=e.generateLibraryState(t,r);return me.isEmpty(o)?n:""+n+M.RESOURCE_DELIM+o},e.generateLibraryState=function(t,o){if(!t)throw ve.createNoCryptoObjectError("generateLibraryState");var r={id:t.createNewGuid()};o&&(r.meta=o);var n=JSON.stringify(r);return t.base64Encode(n)},e.parseRequestState=function(t,o){if(!t)throw ve.createNoCryptoObjectError("parseRequestState");if(me.isEmpty(o))throw ve.createInvalidStateError(o,"Null, undefined or empty state");try{var r=o.split(M.RESOURCE_DELIM),n=r[0],s=r.length>1?r.slice(1).join(M.RESOURCE_DELIM):M.EMPTY_STRING,i=t.base64Decode(n),a=JSON.parse(i);return{userRequestState:me.isEmpty(s)?M.EMPTY_STRING:s,libraryState:a}}catch(l){throw ve.createInvalidStateError(o,l)}},e}();var ht=function(){function e(t){if(this._urlString=t,me.isEmpty(this._urlString))throw Vt.createUrlEmptyError();me.isEmpty(this.getHash())&&(this._urlString=e.canonicalizeUri(t))}return Object.defineProperty(e.prototype,"urlString",{get:function(){return this._urlString},enumerable:!1,configurable:!0}),e.canonicalizeUri=function(t){if(t){var o=t.toLowerCase();return me.endsWith(o,"?")?o=o.slice(0,-1):me.endsWith(o,"?/")&&(o=o.slice(0,-2)),me.endsWith(o,"/")||(o+="/"),o}return t},e.prototype.validateAsUri=function(){var t;try{t=this.getUrlComponents()}catch(o){throw Vt.createUrlParseError(o)}if(!t.HostNameAndPort||!t.PathSegments)throw Vt.createUrlParseError("Given url string: "+this.urlString);if(!t.Protocol||t.Protocol.toLowerCase()!=="https:")throw Vt.createInsecureAuthorityUriError(this.urlString)},e.appendQueryString=function(t,o){return me.isEmpty(o)?t:t.indexOf("?")<0?t+"?"+o:t+"&"+o},e.removeHashFromUrl=function(t){return e.canonicalizeUri(t.split("#")[0])},e.prototype.replaceTenantPath=function(t){var o=this.getUrlComponents(),r=o.PathSegments;return t&&r.length!==0&&(r[0]===oT.COMMON||r[0]===oT.ORGANIZATIONS)&&(r[0]=t),e.constructAuthorityUriFromObject(o)},e.prototype.getHash=function(){return e.parseHash(this.urlString)},e.prototype.getUrlComponents=function(){var t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),o=this.urlString.match(t);if(!o)throw Vt.createUrlParseError("Given url string: "+this.urlString);var r={Protocol:o[1],HostNameAndPort:o[4],AbsolutePath:o[5],QueryString:o[7]},n=r.AbsolutePath.split("/");return n=n.filter(function(s){return s&&s.length>0}),r.PathSegments=n,!me.isEmpty(r.QueryString)&&r.QueryString.endsWith("/")&&(r.QueryString=r.QueryString.substring(0,r.QueryString.length-1)),r},e.getDomainFromUrl=function(t){var o=RegExp("^([^:/?#]+://)?([^/?#]*)"),r=t.match(o);if(!r)throw Vt.createUrlParseError("Given url string: "+t);return r[2]},e.getAbsoluteUrl=function(t,o){if(t[0]===M.FORWARD_SLASH){var r=new e(o),n=r.getUrlComponents();return n.Protocol+"//"+n.HostNameAndPort+t}return t},e.parseHash=function(t){var o=t.indexOf("#"),r=t.indexOf("#/");return r>-1?t.substring(r+2):o>-1?t.substring(o+1):M.EMPTY_STRING},e.parseQueryString=function(t){var o=t.indexOf("?"),r=t.indexOf("/?");return r>-1?t.substring(r+2):o>-1?t.substring(o+1):M.EMPTY_STRING},e.constructAuthorityUriFromObject=function(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))},e.getDeserializedHash=function(t){if(me.isEmpty(t))return{};var o=e.parseHash(t),r=me.queryStringToObject(me.isEmpty(o)?t:o);if(!r)throw ve.createHashNotDeserializedError(JSON.stringify(r));return r},e.getDeserializedQueryString=function(t){if(me.isEmpty(t))return{};var o=e.parseQueryString(t),r=me.queryStringToObject(me.isEmpty(o)?t:o);if(!r)throw ve.createHashNotDeserializedError(JSON.stringify(r));return r},e.hashContainsKnownProperties=function(t){if(me.isEmpty(t)||t.indexOf("=")<0)return!1;var o=e.getDeserializedHash(t);return!!(o.code||o.error_description||o.error||o.state)},e}();var EO;(function(e){e.SW="sw",e.UHW="uhw"})(EO||(EO={}));var Ba=function(){function e(t){this.cryptoUtils=t}return e.prototype.generateCnf=function(t){return We(this,void 0,void 0,function(){var o,r,n;return Ke(this,function(s){switch(s.label){case 0:return[4,this.generateKid(t)];case 1:return o=s.sent(),r=this.cryptoUtils.base64Encode(JSON.stringify(o)),n={kid:o.kid,reqCnfString:r},[4,this.cryptoUtils.hashString(r)];case 2:return[2,(n.reqCnfHash=s.sent(),n)]}})})},e.prototype.generateKid=function(t){return We(this,void 0,void 0,function(){var o;return Ke(this,function(r){switch(r.label){case 0:return[4,this.cryptoUtils.getPublicKeyThumbprint(t)];case 1:return o=r.sent(),[2,{kid:o,xms_ksl:EO.SW}]}})})},e.prototype.signPopToken=function(t,o,r){return We(this,void 0,void 0,function(){return Ke(this,function(n){return[2,this.signPayload(t,o,r)]})})},e.prototype.signPayload=function(t,o,r,n){return We(this,void 0,void 0,function(){var s,i,a,l,c,d;return Ke(this,function(p){switch(p.label){case 0:return s=r.resourceRequestMethod,i=r.resourceRequestUri,a=r.shrClaims,l=r.shrNonce,c=i?new ht(i):void 0,d=c?.getUrlComponents(),[4,this.cryptoUtils.signJwt(Kt({at:t,ts:kr.nowSeconds(),m:s?.toUpperCase(),u:d?.HostNameAndPort,nonce:l||this.cryptoUtils.createNewGuid(),p:d?.AbsolutePath,q:d?.QueryString?[[],d.QueryString]:void 0,client_claims:a||void 0},n),o,r.correlationId)];case 1:return[2,p.sent()]}})})},e}();var Jb=function(){function e(){}return e.prototype.generateAppMetadataKey=function(){return e.generateAppMetadataCacheKey(this.environment,this.clientId)},e.generateAppMetadataCacheKey=function(t,o){var r=[rT,t,o];return r.join(Ar.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAppMetadataEntity=function(t,o,r){var n=new e;return n.clientId=t,n.environment=o,r&&(n.familyId=r),n},e.isAppMetadataEntity=function(t,o){return o?t.indexOf(rT)===0&&o.hasOwnProperty("clientId")&&o.hasOwnProperty("environment"):!1},e}();var yhe=function(){function e(t,o){this.cache=t,this.hasChanged=o}return Object.defineProperty(e.prototype,"cacheHasChanged",{get:function(){return this.hasChanged},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenCache",{get:function(){return this.cache},enumerable:!1,configurable:!0}),e}();var ff=function(){function e(t,o,r,n,s,i){this.clientId=t,this.cacheStorage=o,this.cryptoObj=r,this.logger=n,this.serializableCache=s,this.persistencePlugin=i}return e.prototype.validateServerAuthorizationCodeResponse=function(t,o,r){if(!t.state||!o)throw t.state?ve.createStateNotFoundError("Cached State"):ve.createStateNotFoundError("Server State");if(decodeURIComponent(t.state)!==decodeURIComponent(o))throw ve.createStateMismatchError();if(t.error||t.error_description||t.suberror)throw Zo.isInteractionRequiredError(t.error,t.error_description,t.suberror)?new Zo(t.error||M.EMPTY_STRING,t.error_description,t.suberror):new rs(t.error||M.EMPTY_STRING,t.error_description,t.suberror);t.client_info&&pf(t.client_info,r)},e.prototype.validateTokenResponse=function(t){if(t.error||t.error_description||t.suberror){if(Zo.isInteractionRequiredError(t.error,t.error_description,t.suberror))throw new Zo(t.error,t.error_description,t.suberror);var o=t.error_codes+" - ["+t.timestamp+"]: "+t.error_description+" - Correlation ID: "+t.correlation_id+" - Trace ID: "+t.trace_id;throw new rs(t.error,o,t.suberror)}},e.prototype.handleServerTokenResponse=function(t,o,r,n,s,i,a,l,c){return We(this,void 0,void 0,function(){var d,p,m,f,g,b,_;return Ke(this,function(y){switch(y.label){case 0:if(t.id_token){if(d=new jr(t.id_token||M.EMPTY_STRING,this.cryptoObj),s&&!me.isEmpty(s.nonce)&&d.claims.nonce!==s.nonce)throw ve.createNonceMismatchError();if(n.maxAge||n.maxAge===0){if(p=d.claims.auth_time,!p)throw ve.createAuthTimeNotFoundError();jr.checkMaxAge(p,n.maxAge)}}this.homeAccountIdentifier=$o.generateHomeAccountId(t.client_info||M.EMPTY_STRING,o.authorityType,this.logger,this.cryptoObj,d),s&&s.state&&(m=Sn.parseRequestState(this.cryptoObj,s.state)),t.key_id=t.key_id||n.sshKid||void 0,f=this.generateCacheRecord(t,o,r,n,d,i,s),y.label=1;case 1:return y.trys.push([1,,5,8]),this.persistencePlugin&&this.serializableCache?(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),g=new yhe(this.serializableCache,!0),[4,this.persistencePlugin.beforeCacheAccess(g)]):[3,3];case 2:y.sent(),y.label=3;case 3:return a&&!l&&f.account&&(b=f.account.generateAccountKey(),_=this.cacheStorage.getAccount(b),!_)?(this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),[2,e.generateAuthenticationResult(this.cryptoObj,o,f,!1,n,d,m,void 0,c)]):[4,this.cacheStorage.saveCacheRecord(f)];case 4:return y.sent(),[3,8];case 5:return this.persistencePlugin&&this.serializableCache&&g?(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),[4,this.persistencePlugin.afterCacheAccess(g)]):[3,7];case 6:y.sent(),y.label=7;case 7:return[7];case 8:return[2,e.generateAuthenticationResult(this.cryptoObj,o,f,!1,n,d,m,t.spa_code,c)]}})})},e.prototype.generateCacheRecord=function(t,o,r,n,s,i,a){var l=o.getPreferredCache();if(me.isEmpty(l))throw ve.createInvalidCacheEnvironmentError();var c,d;!me.isEmpty(t.id_token)&&s&&(c=zl.createIdTokenEntity(this.homeAccountIdentifier,l,t.id_token||M.EMPTY_STRING,this.clientId,s.claims.tid||M.EMPTY_STRING),d=this.generateAccountEntity(t,s,o,a));var p=null;if(!me.isEmpty(t.access_token)){var m=t.scope?vr.fromString(t.scope):new vr(n.scopes||[]),f=(typeof t.expires_in=="string"?parseInt(t.expires_in,10):t.expires_in)||0,g=(typeof t.ext_expires_in=="string"?parseInt(t.ext_expires_in,10):t.ext_expires_in)||0,b=(typeof t.refresh_in=="string"?parseInt(t.refresh_in,10):t.refresh_in)||void 0,_=r+f,y=_+g,x=b&&b>0?r+b:void 0;p=Bl.createAccessTokenEntity(this.homeAccountIdentifier,l,t.access_token||M.EMPTY_STRING,this.clientId,s?s.claims.tid||M.EMPTY_STRING:o.tenant,m.printScopes(),_,y,this.cryptoObj,x,t.token_type,i,t.key_id,n.claims,n.requestedClaimsHash)}var C=null;me.isEmpty(t.refresh_token)||(C=np.createRefreshTokenEntity(this.homeAccountIdentifier,l,t.refresh_token||M.EMPTY_STRING,this.clientId,t.foci,i));var L=null;return me.isEmpty(t.foci)||(L=Jb.createAppMetadataEntity(this.clientId,l,t.foci)),new mf(d,c,p,C,L)},e.prototype.generateAccountEntity=function(t,o,r,n){var s=r.authorityType,i=n?n.cloud_graph_host_name:M.EMPTY_STRING,a=n?n.msgraph_host:M.EMPTY_STRING;if(s===Tn.Adfs)return this.logger.verbose("Authority type is ADFS, creating ADFS account"),$o.createGenericAccount(this.homeAccountIdentifier,o,r,i,a);if(me.isEmpty(t.client_info)&&r.protocolMode==="AAD")throw ve.createClientInfoEmptyError();return t.client_info?$o.createAccount(t.client_info,this.homeAccountIdentifier,o,r,i,a):$o.createGenericAccount(this.homeAccountIdentifier,o,r,i,a)},e.generateAuthenticationResult=function(t,o,r,n,s,i,a,l,c){var d,p,m;return We(this,void 0,void 0,function(){var f,g,b,_,y,x,C,L,I,q,O;return Ke(this,function(ne){switch(ne.label){case 0:if(f=M.EMPTY_STRING,g=[],b=null,y=M.EMPTY_STRING,!r.accessToken)return[3,4];if(r.accessToken.tokenType!==Rt.POP)return[3,2];if(x=new Ba(t),C=r.accessToken,L=C.secret,I=C.keyId,!I)throw ve.createKeyIdMissingError();return[4,x.signPopToken(L,I,s)];case 1:return f=ne.sent(),[3,3];case 2:f=r.accessToken.secret,ne.label=3;case 3:g=vr.fromString(r.accessToken.target).asArray(),b=new Date(Number(r.accessToken.expiresOn)*1e3),_=new Date(Number(r.accessToken.extendedExpiresOn)*1e3),ne.label=4;case 4:return r.appMetadata&&(y=r.appMetadata.familyId===df?df:M.EMPTY_STRING),q=i?.claims.oid||i?.claims.sub||M.EMPTY_STRING,O=i?.claims.tid||M.EMPTY_STRING,[2,{authority:o.canonicalAuthority,uniqueId:q,tenantId:O,scopes:g,account:r.account?r.account.getAccountInfo():null,idToken:i?i.rawToken:M.EMPTY_STRING,idTokenClaims:i?i.claims:{},accessToken:f,fromCache:n,expiresOn:b,correlationId:s.correlationId,requestId:c||M.EMPTY_STRING,extExpiresOn:_,familyId:y,tokenType:((d=r.accessToken)===null||d===void 0?void 0:d.tokenType)||M.EMPTY_STRING,state:a?a.userRequestState:M.EMPTY_STRING,cloudGraphHostName:((p=r.account)===null||p===void 0?void 0:p.cloudGraphHostName)||M.EMPTY_STRING,msGraphHost:((m=r.account)===null||m===void 0?void 0:m.msGraphHost)||M.EMPTY_STRING,code:l,fromNativeBroker:!1}]}})})},e}();var nT=function(e){So(t,e);function t(o,r){var n=e.call(this,o,r)||this;return n.includeRedirectUri=!0,n}return t.prototype.getAuthCodeUrl=function(o){return We(this,void 0,void 0,function(){var r;return Ke(this,function(n){switch(n.label){case 0:return[4,this.createAuthCodeUrlQueryString(o)];case 1:return r=n.sent(),[2,ht.appendQueryString(this.authority.authorizationEndpoint,r)]}})})},t.prototype.acquireToken=function(o,r){var n,s,i;return We(this,void 0,void 0,function(){var a,l,c,d,p,m,f=this;return Ke(this,function(g){switch(g.label){case 0:if(a=(n=this.performanceClient)===null||n===void 0?void 0:n.startMeasurement("AuthCodeClientAcquireToken",o.correlationId),this.logger.info("in acquireToken call in auth-code client"),!o||me.isEmpty(o.code))throw ve.createTokenRequestCannotBeMadeError();return l=kr.nowSeconds(),[4,this.executeTokenRequest(this.authority,o)];case 1:return c=g.sent(),d=(s=c.headers)===null||s===void 0?void 0:s[Gr.X_MS_REQUEST_ID],p=(i=c.headers)===null||i===void 0?void 0:i[Gr.X_MS_HTTP_VERSION],p&&a?.addStaticFields({httpVerAuthority:p}),m=new ff(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin),m.validateTokenResponse(c.body),[2,m.handleServerTokenResponse(c.body,this.authority,l,o,r,void 0,void 0,void 0,d).then(function(b){return a?.endMeasurement({success:!0}),b}).catch(function(b){throw f.logger.verbose("Error in fetching token in ACC",o.correlationId),a?.endMeasurement({errorCode:b.errorCode,subErrorCode:b.subError,success:!1}),b})]}})})},t.prototype.handleFragmentResponse=function(o,r){var n=new ff(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null),s=new ht(o),i=ht.getDeserializedHash(s.getHash());if(n.validateServerAuthorizationCodeResponse(i,r,this.cryptoUtils),!i.code)throw ve.createNoAuthCodeInServerResponseError();return Kt(Kt({},i),{code:i.code})},t.prototype.getLogoutUri=function(o){if(!o)throw Vt.createEmptyLogoutRequestError();var r=this.createLogoutUrlQueryString(o);return ht.appendQueryString(this.authority.endSessionEndpoint,r)},t.prototype.executeTokenRequest=function(o,r){return We(this,void 0,void 0,function(){var n,s,i,a,l,c,d;return Ke(this,function(p){switch(p.label){case 0:return n={clientId:this.config.authOptions.clientId,authority:o.canonicalAuthority,scopes:r.scopes,claims:r.claims,authenticationScheme:r.authenticationScheme,resourceRequestMethod:r.resourceRequestMethod,resourceRequestUri:r.resourceRequestUri,shrClaims:r.shrClaims,sshKid:r.sshKid},[4,this.createTokenRequestBody(r)];case 1:if(s=p.sent(),i=this.createTokenQueryParameters(r),a=void 0,r.clientInfo)try{l=pf(r.clientInfo,this.cryptoUtils),a={credential:""+l.uid+Ar.CLIENT_INFO_SEPARATOR+l.utid,type:cn.HOME_ACCOUNT_ID}}catch(m){this.logger.verbose("Could not parse client info for CCS Header: "+m)}return c=this.createTokenRequestHeaders(a||r.ccsCredential),d=me.isEmpty(i)?o.tokenEndpoint:o.tokenEndpoint+"?"+i,[2,this.executePostToTokenEndpoint(d,s,c,n)]}})})},t.prototype.createTokenQueryParameters=function(o){var r=new rp;return o.tokenQueryParameters&&r.addExtraQueryParameters(o.tokenQueryParameters),r.createQueryString()},t.prototype.createTokenRequestBody=function(o){return We(this,void 0,void 0,function(){var r,n,s,i,a,l,c,c,d;return Ke(this,function(p){switch(p.label){case 0:return r=new rp,r.addClientId(this.config.authOptions.clientId),this.includeRedirectUri?r.addRedirectUri(o.redirectUri):nd.validateRedirectUri(o.redirectUri),r.addScopes(o.scopes),r.addAuthorizationCode(o.code),r.addLibraryInfo(this.config.libraryInfo),r.addApplicationTelemetry(this.config.telemetry.application),r.addThrottling(),this.serverTelemetryManager&&r.addServerTelemetry(this.serverTelemetryManager),o.codeVerifier&&r.addCodeVerifier(o.codeVerifier),this.config.clientCredentials.clientSecret&&r.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(n=this.config.clientCredentials.clientAssertion,r.addClientAssertion(n.assertion),r.addClientAssertionType(n.assertionType)),r.addGrantType(jb.AUTHORIZATION_CODE_GRANT),r.addClientInfo(),o.authenticationScheme!==Rt.POP?[3,2]:(s=new Ba(this.cryptoUtils),[4,s.generateCnf(o)]);case 1:return i=p.sent(),r.addPopToken(i.reqCnfString),[3,3];case 2:if(o.authenticationScheme===Rt.SSH)if(o.sshJwk)r.addSshJwk(o.sshJwk);else throw Vt.createMissingSshJwkError();p.label=3;case 3:if(a=o.correlationId||this.config.cryptoInterface.createNewGuid(),r.addCorrelationId(a),(!me.isEmptyObj(o.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&r.addClaims(o.claims,this.config.authOptions.clientCapabilities),l=void 0,o.clientInfo)try{c=pf(o.clientInfo,this.cryptoUtils),l={credential:""+c.uid+Ar.CLIENT_INFO_SEPARATOR+c.utid,type:cn.HOME_ACCOUNT_ID}}catch(m){this.logger.verbose("Could not parse client info for CCS Header: "+m)}else l=o.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&l)switch(l.type){case cn.HOME_ACCOUNT_ID:try{c=rd(l.credential),r.addCcsOid(c)}catch(m){this.logger.verbose("Could not parse home account ID for CCS Header: "+m)}break;case cn.UPN:r.addCcsUpn(l.credential);break}return o.tokenBodyParameters&&r.addExtraQueryParameters(o.tokenBodyParameters),o.enableSpaAuthorizationCode&&(!o.tokenBodyParameters||!o.tokenBodyParameters[gt.RETURN_SPA_CODE])&&r.addExtraQueryParameters((d={},d[gt.RETURN_SPA_CODE]="1",d)),[2,r.createQueryString()]}})})},t.prototype.createAuthCodeUrlQueryString=function(o){return We(this,void 0,void 0,function(){var r,n,s,i,a,l,l,l,c,d;return Ke(this,function(p){switch(p.label){case 0:if(r=new rp,r.addClientId(this.config.authOptions.clientId),n=Xu(o.scopes||[],o.extraScopesToConsent||[]),r.addScopes(n),r.addRedirectUri(o.redirectUri),s=o.correlationId||this.config.cryptoInterface.createNewGuid(),r.addCorrelationId(s),r.addResponseMode(o.responseMode),r.addResponseTypeCode(),r.addLibraryInfo(this.config.libraryInfo),r.addApplicationTelemetry(this.config.telemetry.application),r.addClientInfo(),o.codeChallenge&&o.codeChallengeMethod&&r.addCodeChallengeParams(o.codeChallenge,o.codeChallengeMethod),o.prompt&&r.addPrompt(o.prompt),o.domainHint&&r.addDomainHint(o.domainHint),o.prompt!==sr.SELECT_ACCOUNT)if(o.sid&&o.prompt===sr.NONE)this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),r.addSid(o.sid);else if(o.account){if(i=this.extractAccountSid(o.account),a=this.extractLoginHint(o.account),a){this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),r.addLoginHint(a);try{l=rd(o.account.homeAccountId),r.addCcsOid(l)}catch{this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(i&&o.prompt===sr.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),r.addSid(i);try{l=rd(o.account.homeAccountId),r.addCcsOid(l)}catch{this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(o.loginHint)this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),r.addLoginHint(o.loginHint),r.addCcsUpn(o.loginHint);else if(o.account.username){this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),r.addLoginHint(o.account.username);try{l=rd(o.account.homeAccountId),r.addCcsOid(l)}catch{this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else o.loginHint&&(this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),r.addLoginHint(o.loginHint),r.addCcsUpn(o.loginHint));else this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");return o.nonce&&r.addNonce(o.nonce),o.state&&r.addState(o.state),(!me.isEmpty(o.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&r.addClaims(o.claims,this.config.authOptions.clientCapabilities),o.extraQueryParameters&&r.addExtraQueryParameters(o.extraQueryParameters),o.nativeBroker?(r.addNativeBroker(),o.authenticationScheme!==Rt.POP?[3,2]:(c=new Ba(this.cryptoUtils),[4,c.generateCnf(o)])):[3,2];case 1:d=p.sent(),r.addPopToken(d.reqCnfHash),p.label=2;case 2:return[2,r.createQueryString()]}})})},t.prototype.createLogoutUrlQueryString=function(o){var r=new rp;return o.postLogoutRedirectUri&&r.addPostLogoutRedirectUri(o.postLogoutRedirectUri),o.correlationId&&r.addCorrelationId(o.correlationId),o.idTokenHint&&r.addIdTokenHint(o.idTokenHint),o.state&&r.addState(o.state),o.logoutHint&&r.addLogoutHint(o.logoutHint),o.extraQueryParameters&&r.addExtraQueryParameters(o.extraQueryParameters),r.createQueryString()},t.prototype.extractAccountSid=function(o){var r;return((r=o.idTokenClaims)===null||r===void 0?void 0:r.sid)||null},t.prototype.extractLoginHint=function(o){var r;return((r=o.idTokenClaims)===null||r===void 0?void 0:r.login_hint)||null},t}(Kb);var ao;(function(e){e.AcquireTokenByCode="acquireTokenByCode",e.AcquireTokenByRefreshToken="acquireTokenByRefreshToken",e.AcquireTokenSilent="acquireTokenSilent",e.AcquireTokenSilentAsync="acquireTokenSilentAsync",e.AcquireTokenPopup="acquireTokenPopup",e.CryptoOptsGetPublicKeyThumbprint="cryptoOptsGetPublicKeyThumbprint",e.CryptoOptsSignJwt="cryptoOptsSignJwt",e.SilentCacheClientAcquireToken="silentCacheClientAcquireToken",e.SilentIframeClientAcquireToken="silentIframeClientAcquireToken",e.SilentRefreshClientAcquireToken="silentRefreshClientAcquireToken",e.SsoSilent="ssoSilent",e.StandardInteractionClientGetDiscoveredAuthority="standardInteractionClientGetDiscoveredAuthority",e.FetchAccountIdWithNativeBroker="fetchAccountIdWithNativeBroker",e.NativeInteractionClientAcquireToken="nativeInteractionClientAcquireToken",e.BaseClientCreateTokenRequestHeaders="baseClientCreateTokenRequestHeaders",e.BrokerHandhshake="brokerHandshake",e.AcquireTokenByRefreshTokenInBroker="acquireTokenByRefreshTokenInBroker",e.AcquireTokenByBroker="acquireTokenByBroker",e.RefreshTokenClientExecuteTokenRequest="refreshTokenClientExecuteTokenRequest",e.RefreshTokenClientAcquireToken="refreshTokenClientAcquireToken",e.RefreshTokenClientAcquireTokenWithCachedRefreshToken="refreshTokenClientAcquireTokenWithCachedRefreshToken",e.AcquireTokenByCodeAsync="acquireTokenByCodeAsync",e.GetEndpointMetadataFromNetwork="getEndpointMetadataFromNetwork",e.GetCloudDiscoveryMetadataFromNetworkMeasurement="getCloudDiscoveryMetadataFromNetworkMeasurement",e.HandleRedirectPromiseMeasurement="handleRedirectPromiseMeasurement",e.UpdateCloudDiscoveryMetadataMeasurement="updateCloudDiscoveryMetadataMeasurement",e.UsernamePasswordClientAcquireToken="usernamePasswordClientAcquireToken"})(ao||(ao={}));var ip;(function(e){e[e.NotStarted=0]="NotStarted",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed"})(ip||(ip={}));var sT=function(e){So(t,e);function t(o,r){return e.call(this,o,r)||this}return t.prototype.acquireToken=function(o){var r,n,s,i;return We(this,void 0,void 0,function(){var a,l,c,d,p,m,f=this;return Ke(this,function(g){switch(g.label){case 0:return a=(r=this.performanceClient)===null||r===void 0?void 0:r.startMeasurement(ao.RefreshTokenClientAcquireToken,o.correlationId),this.logger.verbose("RefreshTokenClientAcquireToken called",o.correlationId),l=kr.nowSeconds(),[4,this.executeTokenRequest(o,this.authority)];case 1:return c=g.sent(),d=(n=c.headers)===null||n===void 0?void 0:n[Gr.X_MS_HTTP_VERSION],a?.addStaticFields({refreshTokenSize:((s=c.body.refresh_token)===null||s===void 0?void 0:s.length)||0}),d&&a?.addStaticFields({httpVerToken:d}),p=(i=c.headers)===null||i===void 0?void 0:i[Gr.X_MS_REQUEST_ID],m=new ff(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin),m.validateTokenResponse(c.body),[2,m.handleServerTokenResponse(c.body,this.authority,l,o,void 0,void 0,!0,o.forceCache,p).then(function(b){return a?.endMeasurement({success:!0}),b}).catch(function(b){throw f.logger.verbose("Error in fetching refresh token",o.correlationId),a?.endMeasurement({errorCode:b.errorCode,subErrorCode:b.subError,success:!1}),b})]}})})},t.prototype.acquireTokenByRefreshToken=function(o){return We(this,void 0,void 0,function(){var r,n,s;return Ke(this,function(i){if(!o)throw Vt.createEmptyTokenRequestError();if(!o.account)throw ve.createNoAccountInSilentRequestError();if(r=this.cacheManager.isAppMetadataFOCI(o.account.environment,this.config.authOptions.clientId),r)try{return[2,this.acquireTokenWithCachedRefreshToken(o,!0)]}catch(a){if(n=a instanceof Zo&&a.errorCode===sp.noTokensFoundError.code,s=a instanceof rs&&a.errorCode===KI.INVALID_GRANT_ERROR&&a.subError===KI.CLIENT_MISMATCH_ERROR,n||s)return[2,this.acquireTokenWithCachedRefreshToken(o,!1)];throw a}return[2,this.acquireTokenWithCachedRefreshToken(o,!1)]})})},t.prototype.acquireTokenWithCachedRefreshToken=function(o,r){var n;return We(this,void 0,void 0,function(){var s,i,a;return Ke(this,function(l){if(s=(n=this.performanceClient)===null||n===void 0?void 0:n.startMeasurement(ao.RefreshTokenClientAcquireTokenWithCachedRefreshToken,o.correlationId),this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called",o.correlationId),i=this.cacheManager.readRefreshTokenFromCache(this.config.authOptions.clientId,o.account,r),!i)throw s?.discardMeasurement(),Zo.createNoTokensFoundError();return s?.endMeasurement({success:!0}),a=Kt(Kt({},o),{refreshToken:i.secret,authenticationScheme:o.authenticationScheme||Rt.BEARER,ccsCredential:{credential:o.account.homeAccountId,type:cn.HOME_ACCOUNT_ID}}),[2,this.acquireToken(a)]})})},t.prototype.executeTokenRequest=function(o,r){var n;return We(this,void 0,void 0,function(){var s,i,a,l,c,d;return Ke(this,function(p){switch(p.label){case 0:return s=(n=this.performanceClient)===null||n===void 0?void 0:n.startMeasurement(ao.RefreshTokenClientExecuteTokenRequest,o.correlationId),[4,this.createTokenRequestBody(o)];case 1:return i=p.sent(),a=this.createTokenQueryParameters(o),l=this.createTokenRequestHeaders(o.ccsCredential),c={clientId:this.config.authOptions.clientId,authority:r.canonicalAuthority,scopes:o.scopes,claims:o.claims,authenticationScheme:o.authenticationScheme,resourceRequestMethod:o.resourceRequestMethod,resourceRequestUri:o.resourceRequestUri,shrClaims:o.shrClaims,sshKid:o.sshKid},d=ht.appendQueryString(r.tokenEndpoint,a),[2,this.executePostToTokenEndpoint(d,i,l,c).then(function(m){return s?.endMeasurement({success:!0}),m}).catch(function(m){throw s?.endMeasurement({success:!1}),m})]}})})},t.prototype.createTokenQueryParameters=function(o){var r=new rp;return o.tokenQueryParameters&&r.addExtraQueryParameters(o.tokenQueryParameters),r.createQueryString()},t.prototype.createTokenRequestBody=function(o){var r;return We(this,void 0,void 0,function(){var n,s,i,a,l,c,d;return Ke(this,function(p){switch(p.label){case 0:return n=o.correlationId,s=(r=this.performanceClient)===null||r===void 0?void 0:r.startMeasurement(ao.BaseClientCreateTokenRequestHeaders,n),i=new rp,i.addClientId(this.config.authOptions.clientId),i.addScopes(o.scopes),i.addGrantType(jb.REFRESH_TOKEN_GRANT),i.addClientInfo(),i.addLibraryInfo(this.config.libraryInfo),i.addApplicationTelemetry(this.config.telemetry.application),i.addThrottling(),this.serverTelemetryManager&&i.addServerTelemetry(this.serverTelemetryManager),i.addCorrelationId(n),i.addRefreshToken(o.refreshToken),this.config.clientCredentials.clientSecret&&i.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(a=this.config.clientCredentials.clientAssertion,i.addClientAssertion(a.assertion),i.addClientAssertionType(a.assertionType)),o.authenticationScheme!==Rt.POP?[3,2]:(l=new Ba(this.cryptoUtils),[4,l.generateCnf(o)]);case 1:return c=p.sent(),i.addPopToken(c.reqCnfString),[3,3];case 2:if(o.authenticationScheme===Rt.SSH)if(o.sshJwk)i.addSshJwk(o.sshJwk);else throw s?.endMeasurement({success:!1}),Vt.createMissingSshJwkError();p.label=3;case 3:if((!me.isEmptyObj(o.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&i.addClaims(o.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&o.ccsCredential)switch(o.ccsCredential.type){case cn.HOME_ACCOUNT_ID:try{d=rd(o.ccsCredential.credential),i.addCcsOid(d)}catch(m){this.logger.verbose("Could not parse home account ID for CCS Header: "+m)}break;case cn.UPN:i.addCcsUpn(o.ccsCredential.credential);break}return s?.endMeasurement({success:!0}),[2,i.createQueryString()]}})})},t}(Kb);var wO=function(e){So(t,e);function t(o,r){return e.call(this,o,r)||this}return t.prototype.acquireToken=function(o){return We(this,void 0,void 0,function(){var r,n;return Ke(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,this.acquireCachedToken(o)];case 1:return[2,s.sent()];case 2:if(r=s.sent(),r instanceof ve&&r.errorCode===we.tokenRefreshRequired.code)return n=new sT(this.config,this.performanceClient),[2,n.acquireTokenByRefreshToken(o)];throw r;case 3:return[2]}})})},t.prototype.acquireCachedToken=function(o){var r,n,s,i;return We(this,void 0,void 0,function(){var a,l;return Ke(this,function(c){switch(c.label){case 0:if(!o)throw Vt.createEmptyTokenRequestError();if(o.forceRefresh)throw(r=this.serverTelemetryManager)===null||r===void 0||r.setCacheOutcome(ed.FORCE_REFRESH),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because forceRefresh is true."),ve.createRefreshRequiredError();if(!o.account)throw ve.createNoAccountInSilentRequestError();if(a=o.authority||this.authority.getPreferredCache(),l=this.cacheManager.readCacheRecord(o.account,this.config.authOptions.clientId,o,a),l.accessToken){if(kr.wasClockTurnedBack(l.accessToken.cachedAt)||kr.isTokenExpired(l.accessToken.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw(s=this.serverTelemetryManager)===null||s===void 0||s.setCacheOutcome(ed.CACHED_ACCESS_TOKEN_EXPIRED),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within "+this.config.systemOptions.tokenRenewalOffsetSeconds+" seconds."),ve.createRefreshRequiredError();if(l.accessToken.refreshOn&&kr.isTokenExpired(l.accessToken.refreshOn,0))throw(i=this.serverTelemetryManager)===null||i===void 0||i.setCacheOutcome(ed.REFRESH_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."),ve.createRefreshRequiredError()}else throw(n=this.serverTelemetryManager)===null||n===void 0||n.setCacheOutcome(ed.NO_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."),ve.createRefreshRequiredError();return this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[4,this.generateResultFromCacheRecord(l,o)];case 1:return[2,c.sent()]}})})},t.prototype.generateResultFromCacheRecord=function(o,r){return We(this,void 0,void 0,function(){var n,s;return Ke(this,function(i){switch(i.label){case 0:if(o.idToken&&(n=new jr(o.idToken.secret,this.config.cryptoInterface)),r.maxAge||r.maxAge===0){if(s=n?.claims.auth_time,!s)throw ve.createAuthTimeNotFoundError();jr.checkMaxAge(s,r.maxAge)}return[4,ff.generateAuthenticationResult(this.cryptoUtils,this.authority,o,!0,r,n)];case 1:return[2,i.sent()]}})})},t}(Kb);function xhe(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}var The={endpointMetadata:{"https://login.microsoftonline.com/common/":{token_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/common/":{token_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/common/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/common/":{token_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/consumers/":{token_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/consumers/":{token_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/consumers/":{token_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/organizations/":{token_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/organizations/":{token_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/organizations/":{token_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"}},instanceDiscoveryMetadata:{"https://login.microsoftonline.com/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration","api-version":"1.1",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"]}]},"https://login.chinacloudapi.cn/common/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/common/v2.0/.well-known/openid-configuration","api-version":"1.1",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"]}]},"https://login.microsoftonline.us/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/common/v2.0/.well-known/openid-configuration","api-version":"1.1",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"]}]},"https://login.microsoftonline.com/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",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"]}]},"https://login.chinacloudapi.cn/consumers/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",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"]}]},"https://login.microsoftonline.us/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",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"]}]},"https://login.microsoftonline.com/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",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"]}]},"https://login.chinacloudapi.cn/organizations/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",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"]}]},"https://login.microsoftonline.us/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",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"]}]}}},CO=The.endpointMetadata,AO=The.instanceDiscoveryMetadata;var ap;(function(e){e.AAD="AAD",e.OIDC="OIDC"})(ap||(ap={}));var Xb=function(){function e(){this.expiresAt=kr.nowSeconds()+uf.REFRESH_TIME_SECONDS}return e.prototype.updateCloudDiscoveryMetadata=function(t,o){this.aliases=t.aliases,this.preferred_cache=t.preferred_cache,this.preferred_network=t.preferred_network,this.aliasesFromNetwork=o},e.prototype.updateEndpointMetadata=function(t,o){this.authorization_endpoint=t.authorization_endpoint,this.token_endpoint=t.token_endpoint,this.end_session_endpoint=t.end_session_endpoint,this.issuer=t.issuer,this.endpointsFromNetwork=o,this.jwks_uri=t.jwks_uri},e.prototype.updateCanonicalAuthority=function(t){this.canonical_authority=t},e.prototype.resetExpiresAt=function(){this.expiresAt=kr.nowSeconds()+uf.REFRESH_TIME_SECONDS},e.prototype.isExpired=function(){return this.expiresAt<=kr.nowSeconds()},e.isAuthorityMetadataEntity=function(t,o){return o?t.indexOf(uf.CACHE_KEY)===0&&o.hasOwnProperty("aliases")&&o.hasOwnProperty("preferred_cache")&&o.hasOwnProperty("preferred_network")&&o.hasOwnProperty("canonical_authority")&&o.hasOwnProperty("authorization_endpoint")&&o.hasOwnProperty("token_endpoint")&&o.hasOwnProperty("issuer")&&o.hasOwnProperty("aliasesFromNetwork")&&o.hasOwnProperty("endpointsFromNetwork")&&o.hasOwnProperty("expiresAt")&&o.hasOwnProperty("jwks_uri"):!1},e}();function She(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}function Ehe(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}var whe=function(){function e(t){this.networkInterface=t}return e.prototype.detectRegion=function(t,o,r){return We(this,void 0,void 0,function(){var n,s,i,a,l;return Ke(this,function(c){switch(c.label){case 0:if(n=t,n)return[3,8];s=e.IMDS_OPTIONS,r&&(s.proxyUrl=r),c.label=1;case 1:return c.trys.push([1,6,,7]),[4,this.getRegionFromIMDS(M.IMDS_VERSION,s)];case 2:return i=c.sent(),i.status===cf.httpSuccess&&(n=i.body,o.region_source=Zc.IMDS),i.status!==cf.httpBadRequest?[3,5]:[4,this.getCurrentVersion(s)];case 3:return a=c.sent(),a?[4,this.getRegionFromIMDS(a,s)]:(o.region_source=Zc.FAILED_AUTO_DETECTION,[2,null]);case 4:l=c.sent(),l.status===cf.httpSuccess&&(n=l.body,o.region_source=Zc.IMDS),c.label=5;case 5:return[3,7];case 6:return c.sent(),o.region_source=Zc.FAILED_AUTO_DETECTION,[2,null];case 7:return[3,9];case 8:o.region_source=Zc.ENVIRONMENT_VARIABLE,c.label=9;case 9:return n||(o.region_source=Zc.FAILED_AUTO_DETECTION),[2,n||null]}})})},e.prototype.getRegionFromIMDS=function(t,o){return We(this,void 0,void 0,function(){return Ke(this,function(r){return[2,this.networkInterface.sendGetRequestAsync(M.IMDS_ENDPOINT+"?api-version="+t+"&format=text",o,M.IMDS_TIMEOUT)]})})},e.prototype.getCurrentVersion=function(t){return We(this,void 0,void 0,function(){var o;return Ke(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.networkInterface.sendGetRequestAsync(M.IMDS_ENDPOINT+"?format=json",t)];case 1:return o=r.sent(),o.status===cf.httpBadRequest&&o.body&&o.body["newest-versions"]&&o.body["newest-versions"].length>0?[2,o.body["newest-versions"][0]]:[2,null];case 2:return r.sent(),[2,null];case 3:return[2]}})})},e.IMDS_OPTIONS={headers:{Metadata:"true"}},e}();var lp=function(){function e(t,o,r,n,s,i){this.canonicalAuthority=t,this._canonicalAuthority.validateAsUri(),this.networkInterface=o,this.cacheManager=r,this.authorityOptions=n,this.regionDiscovery=new whe(o),this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.proxyUrl=i||M.EMPTY_STRING,this.logger=s}return Object.defineProperty(e.prototype,"authorityType",{get:function(){var t=this.canonicalAuthorityUrlComponents.PathSegments;if(t.length)switch(t[0].toLowerCase()){case M.ADFS:return Tn.Adfs;case M.DSTS:return Tn.Dsts}return Tn.Default},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"protocolMode",{get:function(){return this.authorityOptions.protocolMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.authorityOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthority",{get:function(){return this._canonicalAuthority.urlString},set:function(t){this._canonicalAuthority=new ht(t),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthorityUrlComponents",{get:function(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostnameAndPort",{get:function(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tenant",{get:function(){return this.canonicalAuthorityUrlComponents.PathSegments[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authorizationEndpoint",{get:function(){if(this.discoveryComplete()){var t=this.replacePath(this.metadata.authorization_endpoint);return this.replaceTenant(t)}else throw ve.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenEndpoint",{get:function(){if(this.discoveryComplete()){var t=this.replacePath(this.metadata.token_endpoint);return this.replaceTenant(t)}else throw ve.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"deviceCodeEndpoint",{get:function(){if(this.discoveryComplete()){var t=this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));return this.replaceTenant(t)}else throw ve.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endSessionEndpoint",{get:function(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw ve.createLogoutNotSupportedError();var t=this.replacePath(this.metadata.end_session_endpoint);return this.replaceTenant(t)}else throw ve.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selfSignedJwtAudience",{get:function(){if(this.discoveryComplete()){var t=this.replacePath(this.metadata.issuer);return this.replaceTenant(t)}else throw ve.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"jwksUri",{get:function(){if(this.discoveryComplete()){var t=this.replacePath(this.metadata.jwks_uri);return this.replaceTenant(t)}else throw ve.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),e.prototype.replaceTenant=function(t){return t.replace(/{tenant}|{tenantid}/g,this.tenant)},e.prototype.replacePath=function(t){var o=t,r=new ht(this.metadata.canonical_authority),n=r.getUrlComponents().PathSegments,s=this.canonicalAuthorityUrlComponents.PathSegments;return s.forEach(function(i,a){var l=n[a];i!==l&&(o=o.replace("/"+l+"/","/"+i+"/"))}),o},Object.defineProperty(e.prototype,"defaultOpenIdConfigurationEndpoint",{get:function(){return this.authorityType===Tn.Adfs||this.authorityType===Tn.Dsts||this.protocolMode===ap.OIDC?this.canonicalAuthority+".well-known/openid-configuration":this.canonicalAuthority+"v2.0/.well-known/openid-configuration"},enumerable:!1,configurable:!0}),e.prototype.discoveryComplete=function(){return!!this.metadata},e.prototype.resolveEndpointsAsync=function(){return We(this,void 0,void 0,function(){var t,o,r,n;return Ke(this,function(s){switch(s.label){case 0:return t=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort),t||(t=new Xb,t.updateCanonicalAuthority(this.canonicalAuthority)),[4,this.updateCloudDiscoveryMetadata(t)];case 1:return o=s.sent(),this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,t.preferred_network),[4,this.updateEndpointMetadata(t)];case 2:return r=s.sent(),o!==gi.CACHE&&r!==gi.CACHE&&(t.resetExpiresAt(),t.updateCanonicalAuthority(this.canonicalAuthority)),n=this.cacheManager.generateAuthorityMetadataCacheKey(t.preferred_cache),this.cacheManager.setAuthorityMetadata(n,t),this.metadata=t,[2]}})})},e.prototype.updateEndpointMetadata=function(t){var o,r;return We(this,void 0,void 0,function(){var n,s;return Ke(this,function(i){switch(i.label){case 0:return n=this.getEndpointMetadataFromConfig(),n?(t.updateEndpointMetadata(n,!1),[2,gi.CONFIG]):this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!t.isExpired()?[2,gi.CACHE]:(s=this.getEndpointMetadataFromHardcodedValues(),[4,this.getEndpointMetadataFromNetwork()]);case 1:return n=i.sent(),n?!((o=this.authorityOptions.azureRegionConfiguration)===null||o===void 0)&&o.azureRegion?[4,this.updateMetadataWithRegionalInformation(n)]:[3,3]:[3,4];case 2:n=i.sent(),i.label=3;case 3:return t.updateEndpointMetadata(n,!0),[2,gi.NETWORK];case 4:return s&&!this.authorityOptions.skipAuthorityMetadataCache?!((r=this.authorityOptions.azureRegionConfiguration)===null||r===void 0)&&r.azureRegion?[4,this.updateMetadataWithRegionalInformation(s)]:[3,6]:[3,7];case 5:s=i.sent(),i.label=6;case 6:return t.updateEndpointMetadata(s,!1),[2,gi.HARDCODED_VALUES];case 7:throw ve.createUnableToGetOpenidConfigError(this.defaultOpenIdConfigurationEndpoint)}})})},e.prototype.isAuthoritySameType=function(t){var o=new ht(t.canonical_authority),r=o.getUrlComponents().PathSegments;return r.length===this.canonicalAuthorityUrlComponents.PathSegments.length},e.prototype.getEndpointMetadataFromConfig=function(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw Vt.createInvalidAuthorityMetadataError()}return null},e.prototype.getEndpointMetadataFromNetwork=function(){return We(this,void 0,void 0,function(){var t,o;return Ke(this,function(r){switch(r.label){case 0:t={},this.proxyUrl&&(t.proxyUrl=this.proxyUrl),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint,t)];case 2:return o=r.sent(),[2,xhe(o.body)?o.body:null];case 3:return r.sent(),[2,null];case 4:return[2]}})})},e.prototype.getEndpointMetadataFromHardcodedValues=function(){return this.canonicalAuthority in CO?CO[this.canonicalAuthority]:null},e.prototype.updateMetadataWithRegionalInformation=function(t){var o,r,n,s,i;return We(this,void 0,void 0,function(){var a,l;return Ke(this,function(c){switch(c.label){case 0:return[4,this.regionDiscovery.detectRegion((o=this.authorityOptions.azureRegionConfiguration)===null||o===void 0?void 0:o.environmentRegion,this.regionDiscoveryMetadata,this.proxyUrl)];case 1:return a=c.sent(),l=((r=this.authorityOptions.azureRegionConfiguration)===null||r===void 0?void 0:r.azureRegion)===M.AZURE_REGION_AUTO_DISCOVER_FLAG?a:(n=this.authorityOptions.azureRegionConfiguration)===null||n===void 0?void 0:n.azureRegion,((s=this.authorityOptions.azureRegionConfiguration)===null||s===void 0?void 0:s.azureRegion)===M.AZURE_REGION_AUTO_DISCOVER_FLAG?this.regionDiscoveryMetadata.region_outcome=a?ep.AUTO_DETECTION_REQUESTED_SUCCESSFUL:ep.AUTO_DETECTION_REQUESTED_FAILED:a?this.regionDiscoveryMetadata.region_outcome=((i=this.authorityOptions.azureRegionConfiguration)===null||i===void 0?void 0:i.azureRegion)===a?ep.CONFIGURED_MATCHES_DETECTED:ep.CONFIGURED_NOT_DETECTED:this.regionDiscoveryMetadata.region_outcome=ep.CONFIGURED_NO_AUTO_DETECTION,l?(this.regionDiscoveryMetadata.region_used=l,[2,e.replaceWithRegionalInformation(t,l)]):[2,t]}})})},e.prototype.updateCloudDiscoveryMetadata=function(t){return We(this,void 0,void 0,function(){var o,r,n;return Ke(this,function(s){switch(s.label){case 0:return this.logger.verbose("Attempting to get cloud discovery metadata in the config"),this.logger.verbosePii("Known Authorities: "+(this.authorityOptions.knownAuthorities||M.NOT_APPLICABLE)),this.logger.verbosePii("Authority Metadata: "+(this.authorityOptions.authorityMetadata||M.NOT_APPLICABLE)),this.logger.verbosePii("Canonical Authority: "+(t.canonical_authority||M.NOT_APPLICABLE)),o=this.getCloudDiscoveryMetadataFromConfig(),o?(this.logger.verbose("Found cloud discovery metadata in the config."),t.updateCloudDiscoveryMetadata(o,!1),[2,gi.CONFIG]):(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the cache."),r=t.isExpired(),this.isAuthoritySameType(t)&&t.aliasesFromNetwork&&!r?(this.logger.verbose("Found metadata in the cache."),[2,gi.CACHE]):(r&&this.logger.verbose("The metadata entity is expired."),this.logger.verbose("Did not find cloud discovery metadata in the cache... Attempting to get cloud discovery metadata from the network."),[4,this.getCloudDiscoveryMetadataFromNetwork()]));case 1:if(o=s.sent(),o)return this.logger.verbose("cloud discovery metadata was successfully returned from getCloudDiscoveryMetadataFromNetwork()"),t.updateCloudDiscoveryMetadata(o,!0),[2,gi.NETWORK];if(this.logger.verbose("Did not find cloud discovery metadata from the network... Attempting to get cloud discovery metadata from hardcoded values."),n=this.getCloudDiscoveryMetadataFromHarcodedValues(),n&&!this.options.skipAuthorityMetadataCache)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),t.updateCloudDiscoveryMetadata(n,!1),[2,gi.HARDCODED_VALUES];throw this.logger.error("Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error."),Vt.createUntrustedAuthorityError()}})})},e.prototype.getCloudDiscoveryMetadataFromConfig=function(){if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");var t=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),o=e.getCloudDiscoveryMetadataFromNetworkResponse(t.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),o)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),o;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch{throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),Vt.createInvalidCloudDiscoveryMetadataError()}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null},e.prototype.getCloudDiscoveryMetadataFromNetwork=function(){return We(this,void 0,void 0,function(){var t,o,r,n,s,i,a,l;return Ke(this,function(c){switch(c.label){case 0:t=""+M.AAD_INSTANCE_DISCOVERY_ENDPT+this.canonicalAuthority+"oauth2/v2.0/authorize",o={},this.proxyUrl&&(o.proxyUrl=this.proxyUrl),r=null,c.label=1;case 1:return c.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(t,o)];case 2:if(n=c.sent(),s=void 0,i=void 0,She(n.body))s=n.body,i=s.metadata,this.logger.verbosePii("tenant_discovery_endpoint is: "+s.tenant_discovery_endpoint);else if(Ehe(n.body)){if(this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: "+n.status),s=n.body,s.error===M.INVALID_INSTANCE)return this.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),[2,null];this.logger.warning("The CloudInstanceDiscoveryErrorResponse error is "+s.error),this.logger.warning("The CloudInstanceDiscoveryErrorResponse error description is "+s.error_description),this.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),i=[]}else return this.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),[2,null];return this.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),r=e.getCloudDiscoveryMetadataFromNetworkResponse(i,this.hostnameAndPort),[3,4];case 3:return a=c.sent(),a instanceof Pe?this.logger.error(`There was a network error while attempting to get the cloud discovery instance metadata. Error: `+a.errorCode+` Error Description: `+a.errorMessage):(l=a,this.logger.error(`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata. Error: `+l.name+` Error Description: `+l.message)),[2,null];case 4:return r||(this.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),this.logger.verbose("Creating custom Authority for custom domain scenario."),r=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),[2,r]}})})},e.prototype.getCloudDiscoveryMetadataFromHarcodedValues=function(){return this.canonicalAuthority in AO?AO[this.canonicalAuthority]:null},e.prototype.isInKnownAuthorities=function(){var t=this,o=this.authorityOptions.knownAuthorities.filter(function(r){return ht.getDomainFromUrl(r).toLowerCase()===t.hostnameAndPort});return o.length>0},e.generateAuthority=function(t,o){var r;if(o&&o.azureCloudInstance!==Hl.None){var n=o.tenant?o.tenant:M.DEFAULT_COMMON_TENANT;r=o.azureCloudInstance+"/"+n+"/"}return r||t},e.createCloudDiscoveryMetadataFromHost=function(t){return{preferred_network:t,preferred_cache:t,aliases:[t]}},e.getCloudDiscoveryMetadataFromNetworkResponse=function(t,o){for(var r=0;r-1)return n}return null},e.prototype.getPreferredCache=function(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw ve.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},e.prototype.isAlias=function(t){return this.metadata.aliases.indexOf(t)>-1},e.isPublicCloudAuthority=function(t){return M.KNOWN_PUBLIC_CLOUDS.indexOf(t)>=0},e.buildRegionalAuthorityString=function(t,o,r){var n=new ht(t);n.validateAsUri();var s=n.getUrlComponents(),i=o+"."+s.HostNameAndPort;this.isPublicCloudAuthority(s.HostNameAndPort)&&(i=o+"."+M.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX);var a=ht.constructAuthorityUriFromObject(Kt(Kt({},n.getUrlComponents()),{HostNameAndPort:i})).urlString;return r?a+"?"+r:a},e.replaceWithRegionalInformation=function(t,o){return t.authorization_endpoint=e.buildRegionalAuthorityString(t.authorization_endpoint,o),t.token_endpoint=e.buildRegionalAuthorityString(t.token_endpoint,o,M.REGIONAL_AUTH_NON_MSI_QUERY_STRING),t.end_session_endpoint&&(t.end_session_endpoint=e.buildRegionalAuthorityString(t.end_session_endpoint,o)),t},e}();var cp=function(){function e(){}return e.createDiscoveredInstance=function(t,o,r,n,s,i){return We(this,void 0,void 0,function(){var a,l;return Ke(this,function(c){switch(c.label){case 0:a=e.createInstance(t,o,r,n,s,i),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,a.resolveEndpointsAsync()];case 2:return c.sent(),[2,a];case 3:throw l=c.sent(),ve.createEndpointDiscoveryIncompleteError(l);case 4:return[2]}})})},e.createInstance=function(t,o,r,n,s,i){if(me.isEmpty(t))throw Vt.createUrlEmptyError();return new lp(t,o,r,n,s,i)},e}();var gf=function(){function e(){this.failedRequests=[],this.errors=[],this.cacheHits=0}return e.isServerTelemetryEntity=function(t,o){var r=t.indexOf(Vr.CACHE_KEY)===0,n=!0;return o&&(n=o.hasOwnProperty("failedRequests")&&o.hasOwnProperty("errors")&&o.hasOwnProperty("cacheHits")),r&&n},e}();var ZI=function(){function e(){}return e.isThrottlingEntity=function(t,o){var r=!1;t&&(r=t.indexOf(td.THROTTLING_PREFIX)===0);var n=!0;return o&&(n=o.hasOwnProperty("throttleTime")),r&&n},e}();var kO={sendGetRequestAsync:function(){var e="Network interface - sendGetRequestAsync() has not been implemented for the Network interface.";return Promise.reject(Pe.createUnexpectedError(e))},sendPostRequestAsync:function(){var e="Network interface - sendPostRequestAsync() has not been implemented for the Network interface.";return Promise.reject(Pe.createUnexpectedError(e))}};var eP={missingKidError:{code:"missing_kid_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided."},missingAlgError:{code:"missing_alg_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."}},IO=function(e){So(t,e);function t(o,r){var n=e.call(this,o,r)||this;return n.name="JoseHeaderError",Object.setPrototypeOf(n,t.prototype),n}return t.createMissingKidError=function(){return new t(eP.missingKidError.code,eP.missingKidError.desc)},t.createMissingAlgError=function(){return new t(eP.missingAlgError.code,eP.missingAlgError.desc)},t}(Pe);var PO=function(){function e(t){this.typ=t.typ,this.alg=t.alg,this.kid=t.kid}return e.getShrHeaderString=function(t){if(!t.kid)throw IO.createMissingKidError();if(!t.alg)throw IO.createMissingAlgError();var o=new e({typ:t.typ||QI.Jwt,kid:t.kid,alg:t.alg});return JSON.stringify(o)},e}();var LO=function(){function e(t,o){this.cacheOutcome=ed.NO_CACHE_HIT,this.cacheManager=o,this.apiId=t.apiId,this.correlationId=t.correlationId,this.wrapperSKU=t.wrapperSKU||M.EMPTY_STRING,this.wrapperVer=t.wrapperVer||M.EMPTY_STRING,this.telemetryCacheKey=Vr.CACHE_KEY+Ar.CACHE_KEY_SEPARATOR+t.clientId}return e.prototype.generateCurrentRequestHeaderValue=function(){var t=""+this.apiId+Vr.VALUE_SEPARATOR+this.cacheOutcome,o=[this.wrapperSKU,this.wrapperVer].join(Vr.VALUE_SEPARATOR),r=this.getRegionDiscoveryFields(),n=[t,r].join(Vr.VALUE_SEPARATOR);return[Vr.SCHEMA_VERSION,n,o].join(Vr.CATEGORY_SEPARATOR)},e.prototype.generateLastRequestHeaderValue=function(){var t=this.getLastRequests(),o=e.maxErrorsToSend(t),r=t.failedRequests.slice(0,2*o).join(Vr.VALUE_SEPARATOR),n=t.errors.slice(0,o).join(Vr.VALUE_SEPARATOR),s=t.errors.length,i=o=Vr.MAX_CACHED_ERRORS&&(o.failedRequests.shift(),o.failedRequests.shift(),o.errors.shift()),o.failedRequests.push(this.apiId,this.correlationId),me.isEmpty(t.subError)?me.isEmpty(t.errorCode)?t&&t.toString()?o.errors.push(t.toString()):o.errors.push(Vr.UNKNOWN_ERROR):o.errors.push(t.errorCode):o.errors.push(t.subError),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,o)},e.prototype.incrementCacheHits=function(){var t=this.getLastRequests();return t.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t),t.cacheHits},e.prototype.getLastRequests=function(){var t=new gf,o=this.cacheManager.getServerTelemetry(this.telemetryCacheKey);return o||t},e.prototype.clearTelemetryCache=function(){var t=this.getLastRequests(),o=e.maxErrorsToSend(t),r=t.errors.length;if(o===r)this.cacheManager.removeItem(this.telemetryCacheKey);else{var n=new gf;n.failedRequests=t.failedRequests.slice(o*2),n.errors=t.errors.slice(o),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,n)}},e.maxErrorsToSend=function(t){var o,r=0,n=0,s=t.errors.length;for(o=0;o0){c.length>1&&this.logger.verbose("PerformanceClient: Multiple distinct top-level performance events found, using the first",o);var d=c[0];this.logger.verbose("PerformanceClient: Measurement found for "+t,o);var p=l.reduce(function(f,g){if(g.name!==t){r.logger.trace("PerformanceClient: Complete submeasurement found for "+g.name,o);var b=g.name+"DurationMs";f[b]?r.logger.verbose("PerformanceClient: Submeasurement for "+t+" already exists for "+g.name+", ignoring",o):f[b]=g.durationMs}return f},d),m=Kt(Kt(Kt({},p),s),i);this.emitEvents([m],p.correlationId)}else this.logger.verbose("PerformanceClient: No completed top-level measurements found for "+t,o)}else this.logger.verbose("PerformanceClient: No measurements found",o)},e.prototype.discardMeasurements=function(t){this.logger.trace("PerformanceClient: Performance measurements discarded",t),this.eventsByCorrelationId.delete(t)},e.prototype.discardCache=function(t){this.discardMeasurements(t),this.logger.trace("PerformanceClient: Static fields discarded",t),this.staticFieldsByCorrelationId.delete(t),this.logger.trace("PerformanceClient: Counters discarded",t),this.countersByCorrelationId.delete(t)},e.prototype.addPerformanceCallback=function(t){var o=this.generateId();return this.callbacks.set(o,t),this.logger.verbose("PerformanceClient: Performance callback registered with id: "+o),o},e.prototype.removePerformanceCallback=function(t){var o=this.callbacks.delete(t);return o?this.logger.verbose("PerformanceClient: Performance callback "+t+" removed."):this.logger.verbose("PerformanceClient: Performance callback "+t+" not removed."),o},e.prototype.emitEvents=function(t,o){var r=this;this.logger.verbose("PerformanceClient: Emitting performance events",o),this.callbacks.forEach(function(n,s){r.logger.trace("PerformanceClient: Emitting event to callback "+s,o),n.apply(null,[t])})},e}();var Che=function(){function e(){}return e.prototype.startMeasurement=function(){},e.prototype.endMeasurement=function(){},e.prototype.flushMeasurement=function(){return null},e}(),RO=function(e){So(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.generateId=function(){return"callback-id"},t.prototype.startPerformanceMeasuremeant=function(){return new Che},t.prototype.startPerformanceMeasurement=function(){return new Che},t}(iT);var xe={pkceNotGenerated:{code:"pkce_not_created",desc:"The PKCE code challenge and verifier could not be generated."},cryptoDoesNotExist:{code:"crypto_nonexistent",desc:"The crypto object or function is not available."},httpMethodNotImplementedError:{code:"http_method_not_implemented",desc:"The HTTP method given has not been implemented in this library."},emptyNavigateUriError:{code:"empty_navigate_uri",desc:"Navigation URI is empty. Please check stack trace for more info."},hashEmptyError:{code:"hash_empty_error",desc:"Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. For more visit: aka.ms/msaljs/browser-errors."},hashDoesNotContainStateError:{code:"no_state_in_hash",desc:"Hash does not contain state. Please verify that the request originated from msal."},hashDoesNotContainKnownPropertiesError:{code:"hash_does_not_contain_known_properties",desc:"Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. For more visit: aka.ms/msaljs/browser-errors."},unableToParseStateError:{code:"unable_to_parse_state",desc:"Unable to parse state. Please verify that the request originated from msal."},stateInteractionTypeMismatchError:{code:"state_interaction_type_mismatch",desc:"Hash contains state but the interaction type does not match the caller."},interactionInProgress:{code:"interaction_in_progress",desc:"Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. For more visit: aka.ms/msaljs/browser-errors."},popupWindowError:{code:"popup_window_error",desc:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser."},emptyWindowError:{code:"empty_window_error",desc:"window.open returned null or undefined window object."},userCancelledError:{code:"user_cancelled",desc:"User cancelled the flow."},monitorPopupTimeoutError:{code:"monitor_window_timeout",desc:"Token acquisition in popup failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},monitorIframeTimeoutError:{code:"monitor_window_timeout",desc:"Token acquisition in iframe failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},redirectInIframeError:{code:"redirect_in_iframe",desc:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs."},blockTokenRequestsInHiddenIframeError:{code:"block_iframe_reload",desc:"Request was blocked inside an iframe because MSAL detected an authentication response. For more visit: aka.ms/msaljs/browser-errors"},blockAcquireTokenInPopupsError:{code:"block_nested_popups",desc:"Request was blocked inside a popup because MSAL detected it was running in a popup."},iframeClosedPrematurelyError:{code:"iframe_closed_prematurely",desc:"The iframe being monitored was closed prematurely."},silentLogoutUnsupportedError:{code:"silent_logout_unsupported",desc:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead."},noAccountError:{code:"no_account_error",desc:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request."},silentPromptValueError:{code:"silent_prompt_value_error",desc:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'."},noTokenRequestCacheError:{code:"no_token_request_cache_error",desc:"No token request found in cache."},unableToParseTokenRequestCacheError:{code:"unable_to_parse_token_request_cache_error",desc:"The cached token request could not be parsed."},noCachedAuthorityError:{code:"no_cached_authority_error",desc:"No cached authority found."},authRequestNotSet:{code:"auth_request_not_set_error",desc:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler"},invalidCacheType:{code:"invalid_cache_type",desc:"Invalid cache type"},notInBrowserEnvironment:{code:"non_browser_environment",desc:"Login and token requests are not supported in non-browser environments."},databaseNotOpen:{code:"database_not_open",desc:"Database is not open!"},noNetworkConnectivity:{code:"no_network_connectivity",desc:"No network connectivity. Check your internet connection."},postRequestFailed:{code:"post_request_failed",desc:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'"},getRequestFailed:{code:"get_request_failed",desc:"Network request failed. Please check the network trace to determine root cause."},failedToParseNetworkResponse:{code:"failed_to_parse_response",desc:"Failed to parse network response. Check network trace."},unableToLoadTokenError:{code:"unable_to_load_token",desc:"Error loading token to cache."},signingKeyNotFoundInStorage:{code:"crypto_key_not_found",desc:"Cryptographic Key or Keypair not found in browser storage."},authCodeRequired:{code:"auth_code_required",desc:"An authorization code must be provided (as the `code` property on the request) to this flow."},authCodeOrNativeAccountRequired:{code:"auth_code_or_nativeAccountId_required",desc:"An authorization code or nativeAccountId must be provided to this flow."},databaseUnavailable:{code:"database_unavailable",desc:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts."},unableToAcquireTokenFromNativePlatform:{code:"unable_to_acquire_token_from_native_platform",desc:"Unable to acquire token from native platform. For a list of possible reasons visit aka.ms/msaljs/browser-errors."},nativeHandshakeTimeout:{code:"native_handshake_timeout",desc:"Timed out while attempting to establish connection to browser extension"},nativeExtensionNotInstalled:{code:"native_extension_not_installed",desc:"Native extension is not installed. If you think this is a mistake call the initialize function."},nativeConnectionNotEstablished:{code:"native_connection_not_established",desc:"Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). For more please visit aka.ms/msaljs/browser-errors."},nativeBrokerCalledBeforeInitialize:{code:"native_broker_called_before_initialize",desc:"You must call and await the initialize function before attempting to call any other MSAL API when native brokering is enabled. For more please visit aka.ms/msaljs/browser-errors."},nativePromptNotSupported:{code:"native_prompt_not_supported",desc:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow."}},fe=function(e){Wt(t,e);function t(o,r){var n=e.call(this,o,r)||this;return Object.setPrototypeOf(n,t.prototype),n.name="BrowserAuthError",n}return t.createPkceNotGeneratedError=function(o){return new t(xe.pkceNotGenerated.code,xe.pkceNotGenerated.desc+" Detail:"+o)},t.createCryptoNotAvailableError=function(o){return new t(xe.cryptoDoesNotExist.code,xe.cryptoDoesNotExist.desc+" Detail:"+o)},t.createHttpMethodNotImplementedError=function(o){return new t(xe.httpMethodNotImplementedError.code,xe.httpMethodNotImplementedError.desc+" Given Method: "+o)},t.createEmptyNavigationUriError=function(){return new t(xe.emptyNavigateUriError.code,xe.emptyNavigateUriError.desc)},t.createEmptyHashError=function(o){return new t(xe.hashEmptyError.code,xe.hashEmptyError.desc+" Given Url: "+o)},t.createHashDoesNotContainStateError=function(){return new t(xe.hashDoesNotContainStateError.code,xe.hashDoesNotContainStateError.desc)},t.createHashDoesNotContainKnownPropertiesError=function(){return new t(xe.hashDoesNotContainKnownPropertiesError.code,xe.hashDoesNotContainKnownPropertiesError.desc)},t.createUnableToParseStateError=function(){return new t(xe.unableToParseStateError.code,xe.unableToParseStateError.desc)},t.createStateInteractionTypeMismatchError=function(){return new t(xe.stateInteractionTypeMismatchError.code,xe.stateInteractionTypeMismatchError.desc)},t.createInteractionInProgressError=function(){return new t(xe.interactionInProgress.code,xe.interactionInProgress.desc)},t.createPopupWindowError=function(o){var r=xe.popupWindowError.desc;return r=me.isEmpty(o)?r:r+" Details: "+o,new t(xe.popupWindowError.code,r)},t.createEmptyWindowCreatedError=function(){return new t(xe.emptyWindowError.code,xe.emptyWindowError.desc)},t.createUserCancelledError=function(){return new t(xe.userCancelledError.code,xe.userCancelledError.desc)},t.createMonitorPopupTimeoutError=function(){return new t(xe.monitorPopupTimeoutError.code,xe.monitorPopupTimeoutError.desc)},t.createMonitorIframeTimeoutError=function(){return new t(xe.monitorIframeTimeoutError.code,xe.monitorIframeTimeoutError.desc)},t.createRedirectInIframeError=function(o){return new t(xe.redirectInIframeError.code,xe.redirectInIframeError.desc+" (window.parent !== window) => "+o)},t.createBlockReloadInHiddenIframeError=function(){return new t(xe.blockTokenRequestsInHiddenIframeError.code,xe.blockTokenRequestsInHiddenIframeError.desc)},t.createBlockAcquireTokenInPopupsError=function(){return new t(xe.blockAcquireTokenInPopupsError.code,xe.blockAcquireTokenInPopupsError.desc)},t.createIframeClosedPrematurelyError=function(){return new t(xe.iframeClosedPrematurelyError.code,xe.iframeClosedPrematurelyError.desc)},t.createSilentLogoutUnsupportedError=function(){return new t(xe.silentLogoutUnsupportedError.code,xe.silentLogoutUnsupportedError.desc)},t.createNoAccountError=function(){return new t(xe.noAccountError.code,xe.noAccountError.desc)},t.createSilentPromptValueError=function(o){return new t(xe.silentPromptValueError.code,xe.silentPromptValueError.desc+" Given value: "+o)},t.createUnableToParseTokenRequestCacheError=function(){return new t(xe.unableToParseTokenRequestCacheError.code,xe.unableToParseTokenRequestCacheError.desc)},t.createNoTokenRequestCacheError=function(){return new t(xe.noTokenRequestCacheError.code,xe.noTokenRequestCacheError.desc)},t.createAuthRequestNotSetError=function(){return new t(xe.authRequestNotSet.code,xe.authRequestNotSet.desc)},t.createNoCachedAuthorityError=function(){return new t(xe.noCachedAuthorityError.code,xe.noCachedAuthorityError.desc)},t.createInvalidCacheTypeError=function(){return new t(xe.invalidCacheType.code,""+xe.invalidCacheType.desc)},t.createNonBrowserEnvironmentError=function(){return new t(xe.notInBrowserEnvironment.code,xe.notInBrowserEnvironment.desc)},t.createDatabaseNotOpenError=function(){return new t(xe.databaseNotOpen.code,xe.databaseNotOpen.desc)},t.createNoNetworkConnectivityError=function(){return new t(xe.noNetworkConnectivity.code,xe.noNetworkConnectivity.desc)},t.createPostRequestFailedError=function(o,r){return new t(xe.postRequestFailed.code,xe.postRequestFailed.desc+" | Network client threw: "+o+" | Attempted to reach: "+r.split("?")[0])},t.createGetRequestFailedError=function(o,r){return new t(xe.getRequestFailed.code,xe.getRequestFailed.desc+" | Network client threw: "+o+" | Attempted to reach: "+r.split("?")[0])},t.createFailedToParseNetworkResponseError=function(o){return new t(xe.failedToParseNetworkResponse.code,xe.failedToParseNetworkResponse.desc+" | Attempted to reach: "+o.split("?")[0])},t.createUnableToLoadTokenError=function(o){return new t(xe.unableToLoadTokenError.code,xe.unableToLoadTokenError.desc+" | "+o)},t.createSigningKeyNotFoundInStorageError=function(o){return new t(xe.signingKeyNotFoundInStorage.code,xe.signingKeyNotFoundInStorage.desc+" | No match found for KeyId: "+o)},t.createAuthCodeRequiredError=function(){return new t(xe.authCodeRequired.code,xe.authCodeRequired.desc)},t.createAuthCodeOrNativeAccountIdRequiredError=function(){return new t(xe.authCodeOrNativeAccountRequired.code,xe.authCodeOrNativeAccountRequired.desc)},t.createDatabaseUnavailableError=function(){return new t(xe.databaseUnavailable.code,xe.databaseUnavailable.desc)},t.createUnableToAcquireTokenFromNativePlatformError=function(){return new t(xe.unableToAcquireTokenFromNativePlatform.code,xe.unableToAcquireTokenFromNativePlatform.desc)},t.createNativeHandshakeTimeoutError=function(){return new t(xe.nativeHandshakeTimeout.code,xe.nativeHandshakeTimeout.desc)},t.createNativeExtensionNotInstalledError=function(){return new t(xe.nativeExtensionNotInstalled.code,xe.nativeExtensionNotInstalled.desc)},t.createNativeConnectionNotEstablishedError=function(){return new t(xe.nativeConnectionNotEstablished.code,xe.nativeConnectionNotEstablished.desc)},t.createNativeBrokerCalledBeforeInitialize=function(){return new t(xe.nativeBrokerCalledBeforeInitialize.code,xe.nativeBrokerCalledBeforeInitialize.desc)},t.createNativePromptParameterNotSupportedError=function(){return new t(xe.nativePromptNotSupported.code,xe.nativePromptNotSupported.desc)},t}(Pe);var En={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},bf={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},Ga;(function(e){e.HandshakeRequest="Handshake",e.HandshakeResponse="HandshakeResponse",e.GetToken="GetToken",e.Response="Response"})(Ga||(Ga={}));var Ir;(function(e){e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage"})(Ir||(Ir={}));var Qi;(function(e){e.GET="GET",e.POST="POST"})(Qi||(Qi={}));var Ot;(function(e){e.AUTHORITY="authority",e.ACQUIRE_TOKEN_ACCOUNT="acquireToken.account",e.SESSION_STATE="session.state",e.REQUEST_STATE="request.state",e.NONCE_IDTOKEN="nonce.id_token",e.ORIGIN_URI="request.origin",e.RENEW_STATUS="token.renew.status",e.URL_HASH="urlHash",e.REQUEST_PARAMS="request.params",e.SCOPES="scopes",e.INTERACTION_STATUS_KEY="interaction.status",e.CCS_CREDENTIAL="ccs.credential",e.CORRELATION_ID="request.correlationId",e.NATIVE_REQUEST="request.native",e.REDIRECT_CONTEXT="request.redirect.context"})(Ot||(Ot={}));var hf;(function(e){e.WRAPPER_SKU="wrapper.sku",e.WRAPPER_VER="wrapper.version"})(hf||(hf={}));var Jt;(function(e){e[e.acquireTokenRedirect=861]="acquireTokenRedirect",e[e.acquireTokenPopup=862]="acquireTokenPopup",e[e.ssoSilent=863]="ssoSilent",e[e.acquireTokenSilent_authCode=864]="acquireTokenSilent_authCode",e[e.handleRedirectPromise=865]="handleRedirectPromise",e[e.acquireTokenByCode=866]="acquireTokenByCode",e[e.acquireTokenSilent_silentFlow=61]="acquireTokenSilent_silentFlow",e[e.logout=961]="logout",e[e.logoutPopup=962]="logoutPopup"})(Jt||(Jt={}));var ze;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(ze||(ze={}));var Ahe;(function(e){e.Startup="startup",e.Login="login",e.Logout="logout",e.AcquireToken="acquireToken",e.SsoSilent="ssoSilent",e.HandleRedirect="handleRedirect",e.None="none"})(Ahe||(Ahe={}));var MO={scopes:za},sd="jwk",khe;(function(e){e.React="@azure/msal-react",e.Angular="@azure/msal-angular"})(khe||(khe={}));var tP="msal.db",Ihe=1,Phe=tP+".keys",Fn;(function(e){e[e.Default=0]="Default",e[e.AccessToken=1]="AccessToken",e[e.AccessTokenAndRefreshToken=2]="AccessTokenAndRefreshToken",e[e.RefreshToken=3]="RefreshToken",e[e.RefreshTokenAndNetwork=4]="RefreshTokenAndNetwork",e[e.Skip=5]="Skip"})(Fn||(Fn={}));var Ls={redirectUriNotSet:{code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},postLogoutUriNotSet:{code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},storageNotSupportedError:{code:"storage_not_supported",desc:"Given storage configuration option was not supported."},noRedirectCallbacksSet:{code:"no_redirect_callbacks",desc:"No redirect callbacks have been set. Please call setRedirectCallbacks() with the appropriate function arguments before continuing. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics."},invalidCallbackObject:{code:"invalid_callback_object",desc:"The object passed for the callback was invalid. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics."},stubPcaInstanceCalled:{code:"stubbed_public_client_application_called",desc:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors"},inMemRedirectUnavailable:{code:"in_mem_redirect_unavailable",desc:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},entropyNotProvided:{code:"entropy_not_provided",desc:"The available browser crypto interface requires entropy set via system.cryptoOptions.entropy configuration option."}},_f=function(e){Wt(t,e);function t(o,r){var n=e.call(this,o,r)||this;return n.name="BrowserConfigurationAuthError",Object.setPrototypeOf(n,t.prototype),n}return t.createRedirectUriEmptyError=function(){return new t(Ls.redirectUriNotSet.code,Ls.redirectUriNotSet.desc)},t.createPostLogoutRedirectUriEmptyError=function(){return new t(Ls.postLogoutUriNotSet.code,Ls.postLogoutUriNotSet.desc)},t.createStorageNotSupportedError=function(o){return new t(Ls.storageNotSupportedError.code,Ls.storageNotSupportedError.desc+" Given Location: "+o)},t.createRedirectCallbacksNotSetError=function(){return new t(Ls.noRedirectCallbacksSet.code,Ls.noRedirectCallbacksSet.desc)},t.createStubPcaInstanceCalledError=function(){return new t(Ls.stubPcaInstanceCalled.code,Ls.stubPcaInstanceCalled.desc)},t.createInMemoryRedirectUnavailableError=function(){return new t(Ls.inMemRedirectUnavailable.code,Ls.inMemRedirectUnavailable.desc)},t.createEntropyNotProvided=function(){return new t(Ls.entropyNotProvided.code,Ls.entropyNotProvided.desc)},t}(Pe);var DO=function(){function e(t){this.validateWindowStorage(t),this.windowStorage=window[t]}return e.prototype.validateWindowStorage=function(t){if(t!==Ir.LocalStorage&&t!==Ir.SessionStorage)throw _f.createStorageNotSupportedError(t);var o=!!window[t];if(!o)throw _f.createStorageNotSupportedError(t)},e.prototype.getItem=function(t){return this.windowStorage.getItem(t)},e.prototype.setItem=function(t,o){this.windowStorage.setItem(t,o)},e.prototype.removeItem=function(t){this.windowStorage.removeItem(t)},e.prototype.getKeys=function(){return Object.keys(this.windowStorage)},e.prototype.containsKey=function(t){return this.windowStorage.hasOwnProperty(t)},e}();var aT=function(){function e(){this.cache=new Map}return e.prototype.getItem=function(t){return this.cache.get(t)||null},e.prototype.setItem=function(t,o){this.cache.set(t,o)},e.prototype.removeItem=function(t){this.cache.delete(t)},e.prototype.getKeys=function(){var t=[];return this.cache.forEach(function(o,r){t.push(r)}),t},e.prototype.containsKey=function(t){return this.cache.has(t)},e.prototype.clear=function(){this.cache.clear()},e}();var oP=function(){function e(){}return e.extractBrowserRequestState=function(t,o){if(me.isEmpty(o))return null;try{var r=Sn.parseRequestState(t,o);return r.libraryState.meta}catch(n){throw ve.createInvalidStateError(o,n)}},e.parseServerResponseFromHash=function(t){if(!t)return{};var o=new ht(t);return ht.getDeserializedHash(o.getHash())},e}();var rP=function(e){Wt(t,e);function t(o,r,n,s){var i=e.call(this,o,n)||this;return i.COOKIE_LIFE_MULTIPLIER=24*60*60*1e3,i.cacheConfig=r,i.logger=s,i.internalStorage=new aT,i.browserStorage=i.setupBrowserStorage(i.cacheConfig.cacheLocation),i.temporaryCacheStorage=i.setupTemporaryCacheStorage(i.cacheConfig.cacheLocation),i.migrateCacheEntries(),i}return t.prototype.setupBrowserStorage=function(o){switch(o){case Ir.LocalStorage:case Ir.SessionStorage:try{return new DO(o)}catch(r){this.logger.verbose(r);break}}return this.cacheConfig.cacheLocation=Ir.MemoryStorage,new aT},t.prototype.setupTemporaryCacheStorage=function(o){switch(o){case Ir.LocalStorage:case Ir.SessionStorage:try{return new DO(Ir.SessionStorage)}catch(r){return this.logger.verbose(r),this.internalStorage}case Ir.MemoryStorage:default:return this.internalStorage}},t.prototype.migrateCacheEntries=function(){var o=this,r=M.CACHE_PREFIX+"."+_r.ID_TOKEN,n=M.CACHE_PREFIX+"."+_r.CLIENT_INFO,s=M.CACHE_PREFIX+"."+_r.ERROR,i=M.CACHE_PREFIX+"."+_r.ERROR_DESC,a=this.browserStorage.getItem(r),l=this.browserStorage.getItem(n),c=this.browserStorage.getItem(s),d=this.browserStorage.getItem(i),p=[a,l,c,d],m=[_r.ID_TOKEN,_r.CLIENT_INFO,_r.ERROR,_r.ERROR_DESC];m.forEach(function(f,g){return o.migrateCacheEntry(f,p[g])})},t.prototype.migrateCacheEntry=function(o,r){r&&this.setTemporaryCache(o,r,!0)},t.prototype.validateAndParseJson=function(o){try{var r=JSON.parse(o);return r&&typeof r=="object"?r:null}catch{return null}},t.prototype.getItem=function(o){return this.browserStorage.getItem(o)},t.prototype.setItem=function(o,r){this.browserStorage.setItem(o,r)},t.prototype.getAccount=function(o){var r=this.getItem(o);if(!r)return null;var n=this.validateAndParseJson(r);return!n||!$o.isAccountEntity(n)?null:Ps.toObject(new $o,n)},t.prototype.setAccount=function(o){this.logger.trace("BrowserCacheManager.setAccount called");var r=o.generateAccountKey();this.setItem(r,JSON.stringify(o))},t.prototype.getIdTokenCredential=function(o){var r=this.getItem(o);if(!r)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null;var n=this.validateAndParseJson(r);return!n||!zl.isIdTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),Ps.toObject(new zl,n))},t.prototype.setIdTokenCredential=function(o){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");var r=o.generateCredentialKey();this.setItem(r,JSON.stringify(o))},t.prototype.getAccessTokenCredential=function(o){var r=this.getItem(o);if(!r)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null;var n=this.validateAndParseJson(r);return!n||!Bl.isAccessTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),Ps.toObject(new Bl,n))},t.prototype.setAccessTokenCredential=function(o){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");var r=o.generateCredentialKey();this.setItem(r,JSON.stringify(o))},t.prototype.getRefreshTokenCredential=function(o){var r=this.getItem(o);if(!r)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null;var n=this.validateAndParseJson(r);return!n||!np.isRefreshTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),Ps.toObject(new np,n))},t.prototype.setRefreshTokenCredential=function(o){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");var r=o.generateCredentialKey();this.setItem(r,JSON.stringify(o))},t.prototype.getAppMetadata=function(o){var r=this.getItem(o);if(!r)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;var n=this.validateAndParseJson(r);return!n||!Jb.isAppMetadataEntity(o,n)?(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),Ps.toObject(new Jb,n))},t.prototype.setAppMetadata=function(o){this.logger.trace("BrowserCacheManager.setAppMetadata called");var r=o.generateAppMetadataKey();this.setItem(r,JSON.stringify(o))},t.prototype.getServerTelemetry=function(o){var r=this.getItem(o);if(!r)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;var n=this.validateAndParseJson(r);return!n||!gf.isServerTelemetryEntity(o,n)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),Ps.toObject(new gf,n))},t.prototype.setServerTelemetry=function(o,r){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(o,JSON.stringify(r))},t.prototype.getAuthorityMetadata=function(o){var r=this.internalStorage.getItem(o);if(!r)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;var n=this.validateAndParseJson(r);return n&&Xb.isAuthorityMetadataEntity(o,n)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),Ps.toObject(new Xb,n)):null},t.prototype.getAuthorityMetadataKeys=function(){var o=this,r=this.internalStorage.getKeys();return r.filter(function(n){return o.isAuthorityMetadata(n)})},t.prototype.setWrapperMetadata=function(o,r){this.internalStorage.setItem(hf.WRAPPER_SKU,o),this.internalStorage.setItem(hf.WRAPPER_VER,r)},t.prototype.getWrapperMetadata=function(){var o=this.internalStorage.getItem(hf.WRAPPER_SKU)||M.EMPTY_STRING,r=this.internalStorage.getItem(hf.WRAPPER_VER)||M.EMPTY_STRING;return[o,r]},t.prototype.setAuthorityMetadata=function(o,r){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(o,JSON.stringify(r))},t.prototype.getActiveAccount=function(){var o=this.generateCacheKey(_r.ACTIVE_ACCOUNT_FILTERS),r=this.getItem(o);if(!r){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");var n=this.generateCacheKey(_r.ACTIVE_ACCOUNT),s=this.getItem(n);if(!s)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;var i=this.getAccountInfoByFilter({localAccountId:s})[0]||null;return i?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(i),i):null}var a=this.validateAndParseJson(r);return a?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoByFilter({homeAccountId:a.homeAccountId,localAccountId:a.localAccountId})[0]||null):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)},t.prototype.setActiveAccount=function(o){var r=this.generateCacheKey(_r.ACTIVE_ACCOUNT_FILTERS),n=this.generateCacheKey(_r.ACTIVE_ACCOUNT);if(o){this.logger.verbose("setActiveAccount: Active account set");var s={homeAccountId:o.homeAccountId,localAccountId:o.localAccountId};this.browserStorage.setItem(r,JSON.stringify(s)),this.browserStorage.setItem(n,o.localAccountId)}else this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(r),this.browserStorage.removeItem(n)},t.prototype.getAccountInfoByFilter=function(o){var r=this.getAllAccounts();return this.logger.trace("BrowserCacheManager.getAccountInfoByFilter: total "+r.length+" accounts found"),r.filter(function(n){return!(o.username&&o.username.toLowerCase()!==n.username.toLowerCase()||o.homeAccountId&&o.homeAccountId!==n.homeAccountId||o.localAccountId&&o.localAccountId!==n.localAccountId||o.tenantId&&o.tenantId!==n.tenantId||o.environment&&o.environment!==n.environment)})},t.prototype.getAccountInfoByHints=function(o,r){var n=this.getAllAccounts().filter(function(s){if(r){var i=s.idTokenClaims&&s.idTokenClaims.sid;return r===i}return o?o===s.username:!1});if(n.length===1)return n[0];if(n.length>1)throw ve.createMultipleMatchingAccountsInCacheError();return null},t.prototype.getThrottlingCache=function(o){var r=this.getItem(o);if(!r)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;var n=this.validateAndParseJson(r);return!n||!ZI.isThrottlingEntity(o,n)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null):(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),Ps.toObject(new ZI,n))},t.prototype.setThrottlingCache=function(o,r){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(o,JSON.stringify(r))},t.prototype.getTemporaryCache=function(o,r){var n=r?this.generateCacheKey(o):o;if(this.cacheConfig.storeAuthStateInCookie){var s=this.getItemCookie(n);if(s)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),s}var i=this.temporaryCacheStorage.getItem(n);if(!i){if(this.cacheConfig.cacheLocation===Ir.LocalStorage){var a=this.browserStorage.getItem(n);if(a)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),a}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),i},t.prototype.setTemporaryCache=function(o,r,n){var s=n?this.generateCacheKey(o):o;this.temporaryCacheStorage.setItem(s,r),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(s,r))},t.prototype.removeItem=function(o){return this.browserStorage.removeItem(o),this.temporaryCacheStorage.removeItem(o),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(o)),!0},t.prototype.containsKey=function(o){return this.browserStorage.containsKey(o)||this.temporaryCacheStorage.containsKey(o)},t.prototype.getKeys=function(){return Vb(this.browserStorage.getKeys(),this.temporaryCacheStorage.getKeys())},t.prototype.clear=function(){return oe(this,void 0,void 0,function(){var o=this;return re(this,function(r){switch(r.label){case 0:return[4,this.removeAllAccounts()];case 1:return r.sent(),this.removeAppMetadata(),this.getKeys().forEach(function(n){(o.browserStorage.containsKey(n)||o.temporaryCacheStorage.containsKey(n))&&(n.indexOf(M.CACHE_PREFIX)!==-1||n.indexOf(o.clientId)!==-1)&&o.removeItem(n)}),this.internalStorage.clear(),[2]}})})},t.prototype.setItemCookie=function(o,r,n){var s=encodeURIComponent(o)+"="+encodeURIComponent(r)+";path=/;SameSite=Lax;";if(n){var i=this.getCookieExpirationTime(n);s+="expires="+i+";"}this.cacheConfig.secureCookies&&(s+="Secure;"),document.cookie=s},t.prototype.getItemCookie=function(o){for(var r=encodeURIComponent(o)+"=",n=document.cookie.split(";"),s=0;s=300)&&(o===Qi.POST?i(fe.createPostRequestFailedError("Failed with status "+a.status,t)):i(fe.createGetRequestFailedError("Failed with status "+a.status,t)));try{var l=JSON.parse(a.responseText),c={headers:n.getHeaderDict(a),body:l,status:a.status};s(c)}catch{i(fe.createFailedToParseNetworkResponseError(t))}},a.onerror=function(){window.navigator.onLine?o===Qi.POST?i(fe.createPostRequestFailedError("Failed with status "+a.status,t)):i(fe.createGetRequestFailedError("Failed with status "+a.status,t)):i(fe.createNoNetworkConnectivityError())},o===Qi.POST&&r&&r.body)a.send(r.body);else if(o===Qi.GET)a.send();else throw fe.createHttpMethodNotImplementedError(o)})},e.prototype.setXhrHeaders=function(t,o){if(o&&o.headers){var r=o.headers;Object.keys(r).forEach(function(n){t.setRequestHeader(n,r[n])})}},e.prototype.getHeaderDict=function(t){var o=t.getAllResponseHeaders(),r=o.trim().split(/[\r\n]+/),n={};return r.forEach(function(s){var i=s.split(": "),a=i.shift(),l=i.join(": ");a&&l&&(n[a]=l)}),n},e}();var ho=function(){function e(){}return e.clearHash=function(t){t.location.hash=M.EMPTY_STRING,typeof t.history.replaceState=="function"&&t.history.replaceState(null,M.EMPTY_STRING,""+t.location.origin+t.location.pathname+t.location.search)},e.replaceHash=function(t){var o=t.split("#");o.shift(),window.location.hash=o.length>0?o.join("#"):M.EMPTY_STRING},e.isInIframe=function(){return window.parent!==window},e.isInPopup=function(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&typeof window.name=="string"&&window.name.indexOf(En.POPUP_NAME_PREFIX+".")===0},e.getCurrentUri=function(){return window.location.href.split("?")[0].split("#")[0]},e.getHomepage=function(){var t=new ht(window.location.href),o=t.getUrlComponents();return o.Protocol+"//"+o.HostNameAndPort+"/"},e.getBrowserNetworkClient=function(){return window.fetch&&window.Headers?new Rhe:new Mhe},e.blockReloadInHiddenIframes=function(){var t=ht.hashContainsKnownProperties(window.location.hash);if(t&&e.isInIframe())throw fe.createBlockReloadInHiddenIframeError()},e.blockRedirectInIframe=function(t,o){var r=e.isInIframe();if(t===ze.Redirect&&r&&!o)throw fe.createRedirectInIframeError(r)},e.blockAcquireTokenInPopups=function(){if(e.isInPopup())throw fe.createBlockAcquireTokenInPopupsError()},e.blockNonBrowserEnvironment=function(t){if(!t)throw fe.createNonBrowserEnvironmentError()},e.blockNativeBrokerCalledBeforeInitialized=function(t,o){if(t&&!o)throw fe.createNativeBrokerCalledBeforeInitialize()},e.detectIEOrEdge=function(){var t=window.navigator.userAgent,o=t.indexOf("MSIE "),r=t.indexOf("Trident/"),n=t.indexOf("Edge/"),s=o>0||r>0,i=n>0;return s||i},e}();var sP=function(){function e(t,o,r,n,s,i,a,l,c){this.config=t,this.browserStorage=o,this.browserCrypto=r,this.networkClient=this.config.system.networkClient,this.eventHandler=s,this.navigationClient=i,this.nativeMessageHandler=l,this.correlationId=c||this.browserCrypto.createNewGuid(),this.logger=n.clone(En.MSAL_SKU,dp,this.correlationId),this.performanceClient=a}return e.prototype.clearCacheOnLogout=function(t){return oe(this,void 0,void 0,function(){return re(this,function(o){switch(o.label){case 0:if(!t)return[3,5];$o.accountInfoIsEqual(t,this.browserStorage.getActiveAccount(),!1)&&(this.logger.verbose("Setting active account to null"),this.browserStorage.setActiveAccount(null)),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.browserStorage.removeAccount($o.generateAccountCacheKey(t))];case 2:return o.sent(),this.logger.verbose("Cleared cache items belonging to the account provided in the logout request."),[3,4];case 3:return o.sent(),this.logger.error("Account provided in logout request was not found. Local cache unchanged."),[3,4];case 4:return[3,9];case 5:return o.trys.push([5,8,,9]),this.logger.verbose("No account provided in logout request, clearing all cache items.",this.correlationId),[4,this.browserStorage.clear()];case 6:return o.sent(),[4,this.browserCrypto.clearKeystore()];case 7:return o.sent(),[3,9];case 8:return o.sent(),this.logger.error("Attempted to clear all MSAL cache items and failed. Local cache unchanged."),[3,9];case 9:return[2]}})})},e.prototype.initializeBaseRequest=function(t){return oe(this,void 0,void 0,function(){var o,r,n,s;return re(this,function(i){switch(i.label){case 0:if(this.logger.verbose("Initializing BaseAuthRequest"),o=t.authority||this.config.auth.authority,r=Vb(t&&t.scopes||[]),n=Oe(Oe({},t),{correlationId:this.correlationId,authority:o,scopes:r}),!n.authenticationScheme)n.authenticationScheme=Rt.BEARER,this.logger.verbose(`Authentication Scheme wasn't explicitly set in request, defaulting to "Bearer" request`);else{if(n.authenticationScheme===Rt.SSH){if(!t.sshJwk)throw Vt.createMissingSshJwkError();if(!t.sshKid)throw Vt.createMissingSshKidError()}this.logger.verbose('Authentication Scheme set to "'+n.authenticationScheme+'" as configured in Auth request')}return t.claims&&!me.isEmpty(t.claims)?(s=n,[4,this.browserCrypto.hashString(t.claims)]):[3,2];case 1:s.requestedClaimsHash=i.sent(),i.label=2;case 2:return[2,n]}})})},e.prototype.getRedirectUri=function(t){this.logger.verbose("getRedirectUri called");var o=t||this.config.auth.redirectUri||ho.getCurrentUri();return ht.getAbsoluteUrl(o,ho.getCurrentUri())},e.prototype.initializeServerTelemetryManager=function(t,o){this.logger.verbose("initializeServerTelemetryManager called");var r={clientId:this.config.auth.clientId,correlationId:this.correlationId,apiId:t,forceRefresh:o||!1,wrapperSKU:this.browserStorage.getWrapperMetadata()[0],wrapperVer:this.browserStorage.getWrapperMetadata()[1]};return new LO(r,this.browserStorage)},e.prototype.getDiscoveredAuthority=function(t){return oe(this,void 0,void 0,function(){var o;return re(this,function(r){switch(r.label){case 0:return this.logger.verbose("getDiscoveredAuthority called"),o={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata},t?(this.logger.verbose("Creating discovered authority with request authority"),[4,cp.createDiscoveredInstance(t,this.config.system.networkClient,this.browserStorage,o,this.logger)]):[3,2];case 1:return[2,r.sent()];case 2:return this.logger.verbose("Creating discovered authority with configured authority"),[4,cp.createDiscoveredInstance(this.config.auth.authority,this.config.system.networkClient,this.browserStorage,o,this.logger)];case 3:return[2,r.sent()]}})})},e}();var Wi=function(e){Wt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.initializeAuthorizationCodeRequest=function(o){return oe(this,void 0,void 0,function(){var r,n;return re(this,function(s){switch(s.label){case 0:return this.logger.verbose("initializeAuthorizationRequest called",o.correlationId),[4,this.browserCrypto.generatePkceCodes()];case 1:return r=s.sent(),n=Oe(Oe({},o),{redirectUri:o.redirectUri,code:M.EMPTY_STRING,codeVerifier:r.verifier}),o.codeChallenge=r.challenge,o.codeChallengeMethod=M.S256_CODE_CHALLENGE_METHOD,[2,n]}})})},t.prototype.initializeLogoutRequest=function(o){this.logger.verbose("initializeLogoutRequest called",o?.correlationId);var r=Oe({correlationId:this.correlationId||this.browserCrypto.createNewGuid()},o);if(o)if(o.logoutHint)this.logger.verbose("logoutHint has already been set in logoutRequest");else if(o.account){var n=this.getLogoutHintFromIdTokenClaims(o.account);n&&(this.logger.verbose("Setting logoutHint to login_hint ID Token Claim value for the account provided"),r.logoutHint=n)}else this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");else this.logger.verbose("logoutHint will not be set since no logout request was configured");return!o||o.postLogoutRedirectUri!==null?o&&o.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request",r.correlationId),r.postLogoutRedirectUri=ht.getAbsoluteUrl(o.postLogoutRedirectUri,ho.getCurrentUri())):this.config.auth.postLogoutRedirectUri===null?this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect",r.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to configured uri",r.correlationId),r.postLogoutRedirectUri=ht.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,ho.getCurrentUri())):(this.logger.verbose("Setting postLogoutRedirectUri to current page",r.correlationId),r.postLogoutRedirectUri=ht.getAbsoluteUrl(ho.getCurrentUri(),ho.getCurrentUri())):this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri",r.correlationId),r},t.prototype.getLogoutHintFromIdTokenClaims=function(o){var r=o.idTokenClaims;if(r){if(r.login_hint)return r.login_hint;this.logger.verbose("The ID Token Claims tied to the provided account do not contain a login_hint claim, logoutHint will not be added to logout request")}else this.logger.verbose("The provided account does not contain ID Token Claims, logoutHint will not be added to logout request");return null},t.prototype.createAuthCodeClient=function(o,r,n){return oe(this,void 0,void 0,function(){var s;return re(this,function(i){switch(i.label){case 0:return[4,this.getClientConfiguration(o,r,n)];case 1:return s=i.sent(),[2,new nT(s)]}})})},t.prototype.getClientConfiguration=function(o,r,n){return oe(this,void 0,void 0,function(){var s,i;return re(this,function(a){switch(a.label){case 0:return this.logger.verbose("getClientConfiguration called",this.correlationId),[4,this.getDiscoveredAuthority(r,n)];case 1:return s=a.sent(),i=this.config.system.loggerOptions,[2,{authOptions:{clientId:this.config.auth.clientId,authority:s,clientCapabilities:this.config.auth.clientCapabilities},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:i.loggerCallback,piiLoggingEnabled:i.piiLoggingEnabled,logLevel:i.logLevel,correlationId:this.correlationId},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:o,libraryInfo:{sku:En.MSAL_SKU,version:dp,cpu:M.EMPTY_STRING,os:M.EMPTY_STRING},telemetry:this.config.telemetry}]}})})},t.prototype.validateAndExtractStateFromHash=function(o,r,n){if(this.logger.verbose("validateAndExtractStateFromHash called",n),!o.state)throw fe.createHashDoesNotContainStateError();var s=oP.extractBrowserRequestState(this.browserCrypto,o.state);if(!s)throw fe.createUnableToParseStateError();if(s.interactionType!==r)throw fe.createStateInteractionTypeMismatchError();return this.logger.verbose("Returning state from hash",n),o.state},t.prototype.getDiscoveredAuthority=function(o,r){var n;return oe(this,void 0,void 0,function(){var s,i,a,l;return re(this,function(c){switch(c.label){case 0:return this.logger.verbose("getDiscoveredAuthority called",this.correlationId),s=(n=this.performanceClient)===null||n===void 0?void 0:n.startMeasurement(ao.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),i={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},a=o||this.config.auth.authority,l=lp.generateAuthority(a,r||this.config.auth.azureCloudOptions),this.logger.verbose("Creating discovered authority with configured authority",this.correlationId),[4,cp.createDiscoveredInstance(l,this.config.system.networkClient,this.browserStorage,i,this.logger).then(function(d){return s.endMeasurement({success:!0}),d}).catch(function(d){throw s.endMeasurement({errorCode:d.errorCode,subErrorCode:d.subError,success:!1}),d})];case 1:return[2,c.sent()]}})})},t.prototype.initializeAuthorizationRequest=function(o,r){return oe(this,void 0,void 0,function(){var n,s,i,a,l,c,d;return re(this,function(p){switch(p.label){case 0:return this.logger.verbose("initializeAuthorizationRequest called",this.correlationId),n=this.getRedirectUri(o.redirectUri),s={interactionType:r},i=Sn.setRequestState(this.browserCrypto,o&&o.state||M.EMPTY_STRING,s),l=[{}],[4,this.initializeBaseRequest(o)];case 1:return a=Oe.apply(void 0,[Oe.apply(void 0,l.concat([p.sent()])),{redirectUri:n,state:i,nonce:o.nonce||this.browserCrypto.createNewGuid(),responseMode:lf.FRAGMENT}]),c=o.account||this.browserStorage.getActiveAccount(),c&&(this.logger.verbose("Setting validated request account",this.correlationId),this.logger.verbosePii("Setting validated request account: "+c.homeAccountId,this.correlationId),a.account=c),me.isEmpty(a.loginHint)&&!c&&(d=this.browserStorage.getLegacyLoginHint(),d&&(a.loginHint=d)),[2,a]}})})},t}(sP);var Zb=function(){function e(t,o,r,n){this.authModule=t,this.browserStorage=o,this.authCodeRequest=r,this.logger=n}return e.prototype.handleCodeResponseFromHash=function(t,o,r,n){return oe(this,void 0,void 0,function(){var s,i,a;return re(this,function(l){if(this.logger.verbose("InteractionHandler.handleCodeResponse called"),me.isEmpty(t))throw fe.createEmptyHashError(t);if(s=this.browserStorage.generateStateKey(o),i=this.browserStorage.getTemporaryCache(s),!i)throw ve.createStateNotFoundError("Cached State");try{a=this.authModule.handleFragmentResponse(t,i)}catch(c){throw c instanceof rs&&c.subError===xe.userCancelledError.code?fe.createUserCancelledError():c}return[2,this.handleCodeResponseFromServer(a,o,r,n)]})})},e.prototype.handleCodeResponseFromServer=function(t,o,r,n,s){return s===void 0&&(s=!0),oe(this,void 0,void 0,function(){var i,a,l,c,d,p;return re(this,function(m){switch(m.label){case 0:if(this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),i=this.browserStorage.generateStateKey(o),a=this.browserStorage.getTemporaryCache(i),!a)throw ve.createStateNotFoundError("Cached State");return l=this.browserStorage.generateNonceKey(a),c=this.browserStorage.getTemporaryCache(l),this.authCodeRequest.code=t.code,t.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(t.cloud_instance_host_name,r,n)]:[3,2];case 1:m.sent(),m.label=2;case 2:return s&&(t.nonce=c||void 0),t.state=a,t.client_info?this.authCodeRequest.clientInfo=t.client_info:(d=this.checkCcsCredentials(),d&&(this.authCodeRequest.ccsCredential=d)),[4,this.authModule.acquireToken(this.authCodeRequest,t)];case 3:return p=m.sent(),this.browserStorage.cleanRequestByState(o),[2,p]}})})},e.prototype.updateTokenEndpointAuthority=function(t,o,r){return oe(this,void 0,void 0,function(){var n,s;return re(this,function(i){switch(i.label){case 0:return n="https://"+t+"/"+o.tenant+"/",[4,cp.createDiscoveredInstance(n,r,this.browserStorage,o.options,this.logger)];case 1:return s=i.sent(),this.authModule.updateAuthority(s),[2]}})})},e.prototype.checkCcsCredentials=function(){var t=this.browserStorage.getTemporaryCache(Ot.CCS_CREDENTIAL,!0);if(t)try{return JSON.parse(t)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii("Cache credential could not be parsed: "+t)}return null},e}();var $O=function(e){Wt(t,e);function t(o,r,n,s,i){var a=e.call(this,o,r,n,s)||this;return a.browserCrypto=i,a}return t.prototype.initiateAuthRequest=function(o,r){return oe(this,void 0,void 0,function(){var n,s;return re(this,function(i){switch(i.label){case 0:return this.logger.verbose("RedirectHandler.initiateAuthRequest called"),me.isEmpty(o)?[3,7]:(r.redirectStartPage&&(this.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),this.browserStorage.setTemporaryCache(Ot.ORIGIN_URI,r.redirectStartPage,!0)),this.browserStorage.setTemporaryCache(Ot.CORRELATION_ID,this.authCodeRequest.correlationId,!0),this.browserStorage.cacheCodeRequest(this.authCodeRequest,this.browserCrypto),this.logger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: "+o),n={apiId:Jt.acquireTokenRedirect,timeout:r.redirectTimeout,noHistory:!1},typeof r.onRedirectNavigate!="function"?[3,4]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),s=r.onRedirectNavigate(o),s===!1?[3,2]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),[4,r.navigationClient.navigateExternal(o,n)])));case 1:return i.sent(),[2];case 2:return this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation"),[2];case 3:return[3,6];case 4:return this.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),[4,r.navigationClient.navigateExternal(o,n)];case 5:return i.sent(),[2];case 6:return[3,8];case 7:throw this.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),fe.createEmptyNavigationUriError();case 8:return[2]}})})},t.prototype.handleCodeResponseFromHash=function(o,r,n,s){return oe(this,void 0,void 0,function(){var i,a,l,c,d,p,m;return re(this,function(f){switch(f.label){case 0:if(this.logger.verbose("RedirectHandler.handleCodeResponse called"),me.isEmpty(o))throw fe.createEmptyHashError(o);if(this.browserStorage.setInteractionInProgress(!1),i=this.browserStorage.generateStateKey(r),a=this.browserStorage.getTemporaryCache(i),!a)throw ve.createStateNotFoundError("Cached State");try{l=this.authModule.handleFragmentResponse(o,a)}catch(g){throw g instanceof rs&&g.subError===xe.userCancelledError.code?fe.createUserCancelledError():g}return c=this.browserStorage.generateNonceKey(a),d=this.browserStorage.getTemporaryCache(c),this.authCodeRequest.code=l.code,l.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(l.cloud_instance_host_name,n,s)]:[3,2];case 1:f.sent(),f.label=2;case 2:return l.nonce=d||void 0,l.state=a,l.client_info?this.authCodeRequest.clientInfo=l.client_info:(p=this.checkCcsCredentials(),p&&(this.authCodeRequest.ccsCredential=p)),[4,this.authModule.acquireToken(this.authCodeRequest,l)];case 3:return m=f.sent(),this.browserStorage.cleanRequestByState(r),[2,m]}})})},t}(Zb);var dt;(function(e){e.INITIALIZE_START="msal:initializeStart",e.INITIALIZE_END="msal:initializeEnd",e.ACCOUNT_ADDED="msal:accountAdded",e.ACCOUNT_REMOVED="msal:accountRemoved",e.LOGIN_START="msal:loginStart",e.LOGIN_SUCCESS="msal:loginSuccess",e.LOGIN_FAILURE="msal:loginFailure",e.ACQUIRE_TOKEN_START="msal:acquireTokenStart",e.ACQUIRE_TOKEN_SUCCESS="msal:acquireTokenSuccess",e.ACQUIRE_TOKEN_FAILURE="msal:acquireTokenFailure",e.ACQUIRE_TOKEN_NETWORK_START="msal:acquireTokenFromNetworkStart",e.SSO_SILENT_START="msal:ssoSilentStart",e.SSO_SILENT_SUCCESS="msal:ssoSilentSuccess",e.SSO_SILENT_FAILURE="msal:ssoSilentFailure",e.ACQUIRE_TOKEN_BY_CODE_START="msal:acquireTokenByCodeStart",e.ACQUIRE_TOKEN_BY_CODE_SUCCESS="msal:acquireTokenByCodeSuccess",e.ACQUIRE_TOKEN_BY_CODE_FAILURE="msal:acquireTokenByCodeFailure",e.HANDLE_REDIRECT_START="msal:handleRedirectStart",e.HANDLE_REDIRECT_END="msal:handleRedirectEnd",e.POPUP_OPENED="msal:popupOpened",e.LOGOUT_START="msal:logoutStart",e.LOGOUT_SUCCESS="msal:logoutSuccess",e.LOGOUT_FAILURE="msal:logoutFailure",e.LOGOUT_END="msal:logoutEnd"})(dt||(dt={}));var up;(function(e){e.USER_INTERACTION_REQUIRED="USER_INTERACTION_REQUIRED",e.USER_CANCEL="USER_CANCEL",e.NO_NETWORK="NO_NETWORK",e.TRANSIENT_ERROR="TRANSIENT_ERROR",e.PERSISTENT_ERROR="PERSISTENT_ERROR",e.DISABLED="DISABLED",e.ACCOUNT_UNAVAILABLE="ACCOUNT_UNAVAILABLE"})(up||(up={}));var lT={extensionError:{code:"ContentError"},userSwitch:{code:"user_switch",desc:"User attempted to switch accounts in the native broker, which is not allowed. All new accounts must sign-in through the standard web flow first, please try again."},tokensNotFoundInCache:{code:"tokens_not_found_in_internal_memory_cache",desc:"Tokens not cached in MSAL JS internal memory, please make the WAM request"}},Rs=function(e){Wt(t,e);function t(o,r,n){var s=e.call(this,o,r)||this;return Object.setPrototypeOf(s,t.prototype),s.name="NativeAuthError",s.ext=n,s}return t.prototype.isFatal=function(){if(this.ext&&this.ext.status&&(this.ext.status===up.PERSISTENT_ERROR||this.ext.status===up.DISABLED))return!0;switch(this.errorCode){case lT.extensionError.code:return!0;default:return!1}},t.createError=function(o,r,n){if(n&&n.status)switch(n.status){case up.ACCOUNT_UNAVAILABLE:return Zo.createNativeAccountUnavailableError();case up.USER_INTERACTION_REQUIRED:return new Zo(o,r);case up.USER_CANCEL:return fe.createUserCancelledError();case up.NO_NETWORK:return fe.createNoNetworkConnectivityError()}return new t(o,r,n)},t.createUserSwitchError=function(){return new t(lT.userSwitch.code,lT.userSwitch.desc)},t.createTokensNotFoundInCacheError=function(){return new t(lT.tokensNotFoundInCache.code,lT.tokensNotFoundInCache.desc)},t}(Pe);var iP=function(e){Wt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.acquireToken=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a;return re(this,function(l){switch(l.label){case 0:return r=this.performanceClient.startMeasurement(ao.SilentCacheClientAcquireToken,o.correlationId),n=this.initializeServerTelemetryManager(Jt.acquireTokenSilent_silentFlow),[4,this.createSilentFlowClient(n,o.authority,o.azureCloudOptions)];case 1:s=l.sent(),this.logger.verbose("Silent auth client created"),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,s.acquireCachedToken(o)];case 3:return i=l.sent(),r.endMeasurement({success:!0,fromCache:!0}),[2,i];case 4:throw a=l.sent(),a instanceof fe&&a.errorCode===xe.signingKeyNotFoundInStorage.code&&this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),r.endMeasurement({errorCode:a instanceof Pe&&a.errorCode||void 0,subErrorCode:a instanceof Pe&&a.subError||void 0,success:!1}),a;case 5:return[2]}})})},t.prototype.logout=function(){return Promise.reject(fe.createSilentLogoutUnsupportedError())},t.prototype.createSilentFlowClient=function(o,r,n){return oe(this,void 0,void 0,function(){var s;return re(this,function(i){switch(i.label){case 0:return[4,this.getClientConfiguration(o,r,n)];case 1:return s=i.sent(),[2,new wO(s,this.performanceClient)]}})})},t.prototype.initializeSilentRequest=function(o,r){return oe(this,void 0,void 0,function(){var n;return re(this,function(s){switch(s.label){case 0:return n=[Oe({},o)],[4,this.initializeBaseRequest(o)];case 1:return[2,Oe.apply(void 0,[Oe.apply(void 0,n.concat([s.sent()])),{account:r,forceRefresh:o.forceRefresh||!1}])]}})})},t}(Wi);var Gl=function(e){Wt(t,e);function t(o,r,n,s,i,a,l,c,d,p,m,f){var g=e.call(this,o,r,n,s,i,a,c,d,f)||this;return g.apiId=l,g.accountId=p,g.nativeMessageHandler=d,g.nativeStorageManager=m,g.silentCacheClient=new iP(o,g.nativeStorageManager,n,s,i,a,c,d,f),g}return t.prototype.acquireToken=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a,l,c;return re(this,function(d){switch(d.label){case 0:return this.logger.trace("NativeInteractionClient - acquireToken called."),r=this.performanceClient.startMeasurement(ao.NativeInteractionClientAcquireToken,o.correlationId),n=kr.nowSeconds(),[4,this.initializeNativeRequest(o)];case 1:s=d.sent(),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,this.acquireTokensFromCache(this.accountId,s)];case 3:return i=d.sent(),r.endMeasurement({success:!0,isNativeBroker:!1,fromCache:!0}),[2,i];case 4:return d.sent(),this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"),[3,5];case 5:return a={method:Ga.GetToken,request:s},[4,this.nativeMessageHandler.sendMessage(a)];case 6:return l=d.sent(),c=this.validateNativeResponse(l),[2,this.handleNativeResponse(c,s,n).then(function(p){return r.endMeasurement({success:!0,isNativeBroker:!0,requestId:p.requestId}),p}).catch(function(p){throw r.endMeasurement({success:!1,errorCode:p.errorCode,subErrorCode:p.subError,isNativeBroker:!0}),p})]}})})},t.prototype.createSilentCacheRequest=function(o,r){return{authority:o.authority,correlationId:this.correlationId,scopes:vr.fromString(o.scope).asArray(),account:r,forceRefresh:!1}},t.prototype.acquireTokensFromCache=function(o,r){return oe(this,void 0,void 0,function(){var n,s,i,a,l;return re(this,function(c){switch(c.label){case 0:if(n=this.browserStorage.readAccountFromCacheWithNativeAccountId(o),!n)throw ve.createNoAccountFoundError();s=n.getAccountInfo(),c.label=1;case 1:return c.trys.push([1,3,,4]),i=this.createSilentCacheRequest(r,s),[4,this.silentCacheClient.acquireToken(i)];case 2:return a=c.sent(),[2,a];case 3:throw l=c.sent(),l;case 4:return[2]}})})},t.prototype.acquireTokenRedirect=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a,l;return re(this,function(c){switch(c.label){case 0:return this.logger.trace("NativeInteractionClient - acquireTokenRedirect called."),[4,this.initializeNativeRequest(o)];case 1:r=c.sent(),n={method:Ga.GetToken,request:r},c.label=2;case 2:return c.trys.push([2,4,,5]),[4,this.nativeMessageHandler.sendMessage(n)];case 3:return s=c.sent(),this.validateNativeResponse(s),[3,5];case 4:if(i=c.sent(),i instanceof Rs&&i.isFatal())throw i;return[3,5];case 5:return this.browserStorage.setTemporaryCache(Ot.NATIVE_REQUEST,JSON.stringify(r),!0),a={apiId:Jt.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},l=this.config.auth.navigateToLoginRequestUrl?window.location.href:this.getRedirectUri(o.redirectUri),[4,this.navigationClient.navigateExternal(l,a)];case 6:return c.sent(),[2]}})})},t.prototype.handleRedirectPromise=function(){return oe(this,void 0,void 0,function(){var o,r,n,s,i,a,l,c;return re(this,function(d){switch(d.label){case 0:if(this.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(o=this.browserStorage.getCachedNativeRequest(),!o)return this.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),[2,null];r=o.prompt,n=yO(o,["prompt"]),r&&this.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Ot.NATIVE_REQUEST)),s={method:Ga.GetToken,request:n},i=kr.nowSeconds(),d.label=1;case 1:return d.trys.push([1,3,,4]),this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."),[4,this.nativeMessageHandler.sendMessage(s)];case 2:return a=d.sent(),this.validateNativeResponse(a),l=this.handleNativeResponse(a,n,i),this.browserStorage.setInteractionInProgress(!1),[2,l];case 3:throw c=d.sent(),this.browserStorage.setInteractionInProgress(!1),c;case 4:return[2]}})})},t.prototype.logout=function(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")},t.prototype.handleNativeResponse=function(o,r,n){return oe(this,void 0,void 0,function(){var s,i,a,l,c,d,p,m,f,g,b,_,y,x,C,L,I,q,O,ne,Ie=this;return re(this,function(te){switch(te.label){case 0:if(this.logger.trace("NativeInteractionClient - handleNativeResponse called."),s=this.getMATSFromResponse(o),this.performanceClient.addStaticFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:s?s.broker_version:void 0,matsAccountJoinOnStart:s?s.account_join_on_start:void 0,matsAccountJoinOnEnd:s?s.account_join_on_end:void 0,matsDeviceJoin:s?s.device_join:void 0,matsPromptBehavior:s?s.prompt_behavior:void 0,matsApiErrorCode:s?s.api_error_code:void 0,matsUiVisible:s?s.ui_visible:void 0,matsSilentCode:s?s.silent_code:void 0,matsSilentBiSubCode:s?s.silent_bi_sub_code:void 0,matsSilentMessage:s?s.silent_message:void 0,matsSilentStatus:s?s.silent_status:void 0,matsHttpStatus:s?s.http_status:void 0,matsHttpEventCount:s?s.http_event_count:void 0},this.correlationId),o.account.id!==r.accountId)throw Rs.createUserSwitchError();return i=new jr(o.id_token||M.EMPTY_STRING,this.browserCrypto),[4,this.getDiscoveredAuthority(r.authority)];case 1:switch(a=te.sent(),l=a.getPreferredCache(),c=$o.generateHomeAccountId(o.client_info||M.EMPTY_STRING,Tn.Default,this.logger,this.browserCrypto,i),d=$o.createAccount(o.client_info,c,i,void 0,void 0,void 0,l,o.account.id),this.browserStorage.setAccount(d),p=o.scope?vr.fromString(o.scope):vr.fromString(r.scope),m=o.account.properties||{},f=m.UID||i.claims.oid||i.claims.sub||M.EMPTY_STRING,g=m.TenantId||i.claims.tid||M.EMPTY_STRING,_=Rt.BEARER,y=r.tokenType,y){case Rt.POP:return[3,2]}return[3,4];case 2:if(_=Rt.POP,o.shr)return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),b=o.shr,[3,5];if(x=new Ba(this.browserCrypto),C={resourceRequestMethod:r.resourceRequestMethod,resourceRequestUri:r.resourceRequestUri,shrClaims:r.shrClaims,shrNonce:r.shrNonce},!r.keyId)throw ve.createKeyIdMissingError();return[4,x.signPopToken(o.access_token,r.keyId,C)];case 3:return b=te.sent(),[3,5];case 4:b=o.access_token,te.label=5;case 5:return L={authority:a.canonicalAuthority,uniqueId:f,tenantId:g,scopes:p.asArray(),account:d.getAccountInfo(),idToken:o.id_token,idTokenClaims:i.claims,accessToken:b,fromCache:s?this.isResponseFromCache(s):!1,expiresOn:new Date(Number(n+o.expires_in)*1e3),tokenType:_,correlationId:this.correlationId,state:o.state,fromNativeBroker:!0},I=zl.createIdTokenEntity(c,r.authority,o.id_token||M.EMPTY_STRING,r.clientId,i.claims.tid||M.EMPTY_STRING),this.nativeStorageManager.setIdTokenCredential(I),q=_===Rt.POP?M.SHR_NONCE_VALIDITY:(typeof o.expires_in=="string"?parseInt(o.expires_in,10):o.expires_in)||0,O=n+q,ne=Bl.createAccessTokenEntity(c,r.authority,b,r.clientId,g,p.printScopes(),O,0,this.browserCrypto),this.nativeStorageManager.setAccessTokenCredential(ne),this.browserStorage.removeAccountContext(d).catch(function(et){Ie.logger.error("Error occurred while removing account context from browser storage. "+et)}),[2,L]}})})},t.prototype.validateNativeResponse=function(o){if(o.hasOwnProperty("access_token")&&o.hasOwnProperty("id_token")&&o.hasOwnProperty("client_info")&&o.hasOwnProperty("account")&&o.hasOwnProperty("scope")&&o.hasOwnProperty("expires_in"))return o;throw Rs.createUnexpectedError("Response missing expected properties.")},t.prototype.getMATSFromResponse=function(o){if(o.properties.MATS)try{return JSON.parse(o.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null},t.prototype.isResponseFromCache=function(o){return typeof o.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!o.is_cached},t.prototype.initializeNativeRequest=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a,l,c,d,p,m,f=this;return re(this,function(g){switch(g.label){case 0:return this.logger.trace("NativeInteractionClient - initializeNativeRequest called"),r=o.authority||this.config.auth.authority,n=new ht(r),n.validateAsUri(),s=o.scopes,i=yO(o,["scopes"]),a=new vr(s||[]),a.appendScopes(za),l=function(){switch(f.apiId){case Jt.ssoSilent:case Jt.acquireTokenSilent_silentFlow:return f.logger.trace("initializeNativeRequest: silent request sets prompt to none"),sr.NONE}if(!o.prompt){f.logger.trace("initializeNativeRequest: prompt was not provided");return}switch(o.prompt){case sr.NONE:case sr.CONSENT:case sr.LOGIN:return f.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),o.prompt;default:throw f.logger.trace("initializeNativeRequest: prompt = "+o.prompt+" is not compatible with native flow"),fe.createNativePromptParameterNotSupportedError()}},c=Oe(Oe({},i),{accountId:this.accountId,clientId:this.config.auth.clientId,authority:n.urlString,scope:a.printScopes(),redirectUri:this.getRedirectUri(o.redirectUri),prompt:l(),correlationId:this.correlationId,tokenType:o.authenticationScheme,windowTitleSubstring:document.title,extraParameters:Oe(Oe(Oe({},o.extraQueryParameters),o.tokenQueryParameters),{telemetry:bf.MATS_TELEMETRY}),extendedExpiryToken:!1}),o.authenticationScheme!==Rt.POP?[3,2]:(d={resourceRequestUri:o.resourceRequestUri,resourceRequestMethod:o.resourceRequestMethod,shrClaims:o.shrClaims,shrNonce:o.shrNonce},p=new Ba(this.browserCrypto),[4,p.generateCnf(d)]);case 1:m=g.sent(),c.reqCnf=m.reqCnfHash,c.keyId=m.kid,g.label=2;case 2:return[2,c]}})})},t}(sP);var Ki=function(){function e(t,o,r){this.logger=t,this.handshakeTimeoutMs=o,this.extensionId=r,this.resolvers=new Map,this.handshakeResolvers=new Map,this.responseId=0,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this)}return e.prototype.sendMessage=function(t){return oe(this,void 0,void 0,function(){var o,r=this;return re(this,function(n){return this.logger.trace("NativeMessageHandler - sendMessage called."),o={channel:bf.CHANNEL_ID,extensionId:this.extensionId,responseId:this.responseId++,body:t},this.logger.trace("NativeMessageHandler - Sending request to browser extension"),this.logger.tracePii("NativeMessageHandler - Sending request to browser extension: "+JSON.stringify(o)),this.messageChannel.port1.postMessage(o),[2,new Promise(function(s,i){r.resolvers.set(o.responseId,{resolve:s,reject:i})})]})})},e.createProvider=function(t,o){return oe(this,void 0,void 0,function(){var r,n;return re(this,function(s){switch(s.label){case 0:t.trace("NativeMessageHandler - createProvider called."),s.label=1;case 1:return s.trys.push([1,3,,5]),r=new e(t,o,bf.PREFERRED_EXTENSION_ID),[4,r.sendHandshakeRequest()];case 2:return s.sent(),[2,r];case 3:return s.sent(),n=new e(t,o),[4,n.sendHandshakeRequest()];case 4:return s.sent(),[2,n];case 5:return[2]}})})},e.prototype.sendHandshakeRequest=function(){return oe(this,void 0,void 0,function(){var t,o=this;return re(this,function(r){return this.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",this.windowListener,!1),t={channel:bf.CHANNEL_ID,extensionId:this.extensionId,responseId:this.responseId++,body:{method:Ga.HandshakeRequest}},this.messageChannel.port1.onmessage=function(n){o.onChannelMessage(n)},window.postMessage(t,window.origin,[this.messageChannel.port2]),[2,new Promise(function(n,s){o.handshakeResolvers.set(t.responseId,{resolve:n,reject:s}),o.timeoutId=window.setTimeout(function(){window.removeEventListener("message",o.windowListener,!1),o.messageChannel.port1.close(),o.messageChannel.port2.close(),s(fe.createNativeHandshakeTimeoutError()),o.handshakeResolvers.delete(t.responseId)},o.handshakeTimeoutMs)})]})})},e.prototype.onWindowMessage=function(t){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),t.source===window){var o=t.data;if(!(!o.channel||o.channel!==bf.CHANNEL_ID)&&!(o.extensionId&&o.extensionId!==this.extensionId)&&o.body.method===Ga.HandshakeRequest){this.logger.verbose(o.extensionId?"Extension with id: "+o.extensionId+" not installed":"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1);var r=this.handshakeResolvers.get(o.responseId);r&&r.reject(fe.createNativeExtensionNotInstalledError())}}},e.prototype.onChannelMessage=function(t){this.logger.trace("NativeMessageHandler - onChannelMessage called.");var o=t.data,r=this.resolvers.get(o.responseId),n=this.handshakeResolvers.get(o.responseId);try{var s=o.body.method;if(s===Ga.Response){if(!r)return;var i=o.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii("NativeMessageHandler - Received response from browser extension: "+JSON.stringify(i)),i.status!=="Success")r.reject(Rs.createError(i.code,i.description,i.ext));else if(i.result)i.result.code&&i.result.description?r.reject(Rs.createError(i.result.code,i.result.description,i.result.ext)):r.resolve(i.result);else throw Pe.createUnexpectedError("Event does not contain result.");this.resolvers.delete(o.responseId)}else if(s===Ga.HandshakeResponse){if(!n)return;clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=o.extensionId,this.extensionVersion=o.body.version,this.logger.verbose("NativeMessageHandler - Received HandshakeResponse from extension: "+this.extensionId),n.resolve(),this.handshakeResolvers.delete(o.responseId)}}catch(a){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii("Error parsing response from WAM Extension: "+a.toString()),this.logger.errorPii("Unable to parse "+t),r?r.reject(a):n&&n.reject(a)}},e.prototype.getExtensionId=function(){return this.extensionId},e.prototype.getExtensionVersion=function(){return this.extensionVersion},e.isNativeAvailable=function(t,o,r,n){if(o.trace("isNativeAvailable called"),!t.system.allowNativeBroker)return o.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!r)return o.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(n)switch(n){case Rt.BEARER:case Rt.POP:return o.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return o.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0},e}();var Dhe=function(e){Wt(t,e);function t(o,r,n,s,i,a,l,c,d,p){var m=e.call(this,o,r,n,s,i,a,l,d,p)||this;return m.nativeStorage=c,m}return t.prototype.acquireToken=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a,l,c,d,p,m=this;return re(this,function(f){switch(f.label){case 0:return[4,this.initializeAuthorizationRequest(o,ze.Redirect)];case 1:r=f.sent(),this.browserStorage.updateCacheEntries(r.state,r.nonce,r.authority,r.loginHint||M.EMPTY_STRING,r.account||null),n=this.initializeServerTelemetryManager(Jt.acquireTokenRedirect),s=function(g){g.persisted&&(m.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),m.browserStorage.cleanRequestByState(r.state))},f.label=2;case 2:return f.trys.push([2,7,,8]),[4,this.initializeAuthorizationCodeRequest(r)];case 3:return i=f.sent(),[4,this.createAuthCodeClient(n,r.authority,r.azureCloudOptions)];case 4:return a=f.sent(),this.logger.verbose("Auth code client created"),l=new $O(a,this.browserStorage,i,this.logger,this.browserCrypto),[4,a.getAuthCodeUrl(Oe(Oe({},r),{nativeBroker:Ki.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,o.authenticationScheme)}))];case 5:return c=f.sent(),d=this.getRedirectStartPage(o.redirectStartPage),this.logger.verbosePii("Redirect start page: "+d),window.addEventListener("pageshow",s),[4,l.initiateAuthRequest(c,{navigationClient:this.navigationClient,redirectTimeout:this.config.system.redirectNavigationTimeout,redirectStartPage:d,onRedirectNavigate:o.onRedirectNavigate})];case 6:return[2,f.sent()];case 7:throw p=f.sent(),p instanceof Pe&&p.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",s),n.cacheFailedRequest(p),this.browserStorage.cleanRequestByState(r.state),p;case 8:return[2]}})})},t.prototype.handleRedirectPromise=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a,l,c,d,p,m,f,g;return re(this,function(b){switch(b.label){case 0:r=this.initializeServerTelemetryManager(Jt.handleRedirectPromise),b.label=1;case 1:if(b.trys.push([1,10,,11]),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(n=this.getRedirectResponseHash(o||window.location.hash),!n)return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."),this.browserStorage.cleanRequestByInteractionType(ze.Redirect),[2,null];s=void 0;try{i=ht.getDeserializedHash(n),s=this.validateAndExtractStateFromHash(i,ze.Redirect),this.logger.verbose("State extracted from hash")}catch(_){return this.logger.info("handleRedirectPromise was unable to extract state due to: "+_),this.browserStorage.cleanRequestByInteractionType(ze.Redirect),[2,null]}return a=this.browserStorage.getTemporaryCache(Ot.ORIGIN_URI,!0)||M.EMPTY_STRING,l=ht.removeHashFromUrl(a),c=ht.removeHashFromUrl(window.location.href),l===c&&this.config.auth.navigateToLoginRequestUrl?(this.logger.verbose("Current page is loginRequestUrl, handling hash"),[4,this.handleHash(n,s,r)]):[3,3];case 2:return d=b.sent(),a.indexOf("#")>-1&&ho.replaceHash(a),[2,d];case 3:return this.config.auth.navigateToLoginRequestUrl?[3,4]:(this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"),[2,this.handleHash(n,s,r)]);case 4:return!ho.isInIframe()||this.config.system.allowRedirectInIframe?(this.browserStorage.setTemporaryCache(Ot.URL_HASH,n,!0),p={apiId:Jt.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},m=!0,!a||a==="null"?(f=ho.getHomepage(),this.browserStorage.setTemporaryCache(Ot.ORIGIN_URI,f,!0),this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),[4,this.navigationClient.navigateInternal(f,p)]):[3,6]):[3,9];case 5:return m=b.sent(),[3,8];case 6:return this.logger.verbose("Navigating to loginRequestUrl: "+a),[4,this.navigationClient.navigateInternal(a,p)];case 7:m=b.sent(),b.label=8;case 8:if(!m)return[2,this.handleHash(n,s,r)];b.label=9;case 9:return[2,null];case 10:throw g=b.sent(),g instanceof Pe&&g.setCorrelationId(this.correlationId),r.cacheFailedRequest(g),this.browserStorage.cleanRequestByInteractionType(ze.Redirect),g;case 11:return[2]}})})},t.prototype.getRedirectResponseHash=function(o){this.logger.verbose("getRedirectResponseHash called");var r=ht.hashContainsKnownProperties(o);if(r)return ho.clearHash(window),this.logger.verbose("Hash contains known properties, returning response hash"),o;var n=this.browserStorage.getTemporaryCache(Ot.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Ot.URL_HASH)),this.logger.verbose("Hash does not contain known properties, returning cached hash"),n},t.prototype.handleHash=function(o,r,n){return oe(this,void 0,void 0,function(){var s,i,a,l,c,d,p,m=this;return re(this,function(f){switch(f.label){case 0:if(s=this.browserStorage.getCachedRequest(r,this.browserCrypto),this.logger.verbose("handleHash called, retrieved cached request"),i=ht.getDeserializedHash(o),i.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw fe.createNativeConnectionNotEstablishedError();return a=new Gl(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Jt.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,i.accountId,this.browserStorage,s.correlationId),l=Sn.parseRequestState(this.browserCrypto,r).userRequestState,[2,a.acquireToken(Oe(Oe({},s),{state:l,prompt:void 0})).finally(function(){m.browserStorage.cleanRequestByState(r)})]}if(c=this.browserStorage.getCachedAuthority(r),!c)throw fe.createNoCachedAuthorityError();return[4,this.createAuthCodeClient(n,c)];case 1:return d=f.sent(),this.logger.verbose("Auth code client created"),op.removeThrottle(this.browserStorage,this.config.auth.clientId,s),p=new $O(d,this.browserStorage,s,this.logger,this.browserCrypto),[4,p.handleCodeResponseFromHash(o,r,d.authority,this.networkClient)];case 2:return[2,f.sent()]}})})},t.prototype.logout=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a,l,c;return re(this,function(d){switch(d.label){case 0:this.logger.verbose("logoutRedirect called"),r=this.initializeLogoutRequest(o),n=this.initializeServerTelemetryManager(Jt.logout),d.label=1;case 1:return d.trys.push([1,10,,11]),this.eventHandler.emitEvent(dt.LOGOUT_START,ze.Redirect,o),[4,this.clearCacheOnLogout(r.account)];case 2:return d.sent(),s={apiId:Jt.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},[4,this.createAuthCodeClient(n,o&&o.authority)];case 3:return i=d.sent(),this.logger.verbose("Auth code client created"),a=i.getLogoutUri(r),this.eventHandler.emitEvent(dt.LOGOUT_SUCCESS,ze.Redirect,r),o&&typeof o.onRedirectNavigate=="function"?(l=o.onRedirectNavigate(a),l===!1?[3,5]:(this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(a,s)])):[3,7];case 4:return d.sent(),[2];case 5:this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"),d.label=6;case 6:return[3,9];case 7:return this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(a,s)];case 8:return d.sent(),[2];case 9:return[3,11];case 10:throw c=d.sent(),c instanceof Pe&&c.setCorrelationId(this.correlationId),n.cacheFailedRequest(c),this.eventHandler.emitEvent(dt.LOGOUT_FAILURE,ze.Redirect,null,c),this.eventHandler.emitEvent(dt.LOGOUT_END,ze.Redirect),c;case 11:return this.eventHandler.emitEvent(dt.LOGOUT_END,ze.Redirect),[2]}})})},t.prototype.getRedirectStartPage=function(o){var r=o||window.location.href;return ht.getAbsoluteUrl(r,ho.getCurrentUri())},t}(Wi);var $he=function(e){Wt(t,e);function t(o,r,n,s,i,a,l,c,d,p){var m=e.call(this,o,r,n,s,i,a,l,d,p)||this;return m.unloadWindow=m.unloadWindow.bind(m),m.nativeStorage=c,m}return t.prototype.acquireToken=function(o){try{var r=this.generatePopupName(o.scopes||za,o.authority||this.config.auth.authority),n=o.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(o,r,n);this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");var s=this.openSizedPopup("about:blank",r,n);return this.acquireTokenPopupAsync(o,r,n,s)}catch(i){return Promise.reject(i)}},t.prototype.logout=function(o){try{this.logger.verbose("logoutPopup called");var r=this.initializeLogoutRequest(o),n=this.generateLogoutPopupName(r),s=o&&o.authority,i=o&&o.mainWindowRedirectUri,a=o?.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(r,n,a,s,void 0,i);this.logger.verbose("asyncPopup set to false, opening popup");var l=this.openSizedPopup("about:blank",n,a);return this.logoutPopupAsync(r,n,a,s,l,i)}catch(c){return Promise.reject(c)}},t.prototype.acquireTokenPopupAsync=function(o,r,n,s){return oe(this,void 0,void 0,function(){var i,a,l,c,d,p,m,f,g,b,_,y,x,C,L,I,q,O=this;return re(this,function(ne){switch(ne.label){case 0:return this.logger.verbose("acquireTokenPopupAsync called"),i=this.initializeServerTelemetryManager(Jt.acquireTokenPopup),[4,this.initializeAuthorizationRequest(o,ze.Popup)];case 1:a=ne.sent(),this.browserStorage.updateCacheEntries(a.state,a.nonce,a.authority,a.loginHint||M.EMPTY_STRING,a.account||null),ne.label=2;case 2:return ne.trys.push([2,8,,9]),[4,this.initializeAuthorizationCodeRequest(a)];case 3:return l=ne.sent(),[4,this.createAuthCodeClient(i,a.authority,a.azureCloudOptions)];case 4:return c=ne.sent(),this.logger.verbose("Auth code client created"),d=Ki.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,o.authenticationScheme),p=void 0,d&&(p=this.performanceClient.startMeasurement(ao.FetchAccountIdWithNativeBroker,o.correlationId)),[4,c.getAuthCodeUrl(Oe(Oe({},a),{nativeBroker:d}))];case 5:return m=ne.sent(),f=new Zb(c,this.browserStorage,l,this.logger),g={popup:s,popupName:r,popupWindowAttributes:n},b=this.initiateAuthRequest(m,g),this.eventHandler.emitEvent(dt.POPUP_OPENED,ze.Popup,{popupWindow:b},null),[4,this.monitorPopupForHash(b)];case 6:if(_=ne.sent(),y=ht.getDeserializedHash(_),x=this.validateAndExtractStateFromHash(y,ze.Popup,a.correlationId),op.removeThrottle(this.browserStorage,this.config.auth.clientId,l),y.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),p&&p.endMeasurement({success:!0,isNativeBroker:!0}),!this.nativeMessageHandler)throw fe.createNativeConnectionNotEstablishedError();return C=new Gl(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Jt.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,y.accountId,this.nativeStorage,a.correlationId),L=Sn.parseRequestState(this.browserCrypto,x).userRequestState,[2,C.acquireToken(Oe(Oe({},a),{state:L,prompt:void 0})).finally(function(){O.browserStorage.cleanRequestByState(x)})]}return[4,f.handleCodeResponseFromHash(_,x,c.authority,this.networkClient)];case 7:return I=ne.sent(),[2,I];case 8:throw q=ne.sent(),s&&s.close(),q instanceof Pe&&q.setCorrelationId(this.correlationId),i.cacheFailedRequest(q),this.browserStorage.cleanRequestByState(a.state),q;case 9:return[2]}})})},t.prototype.logoutPopupAsync=function(o,r,n,s,i,a){return oe(this,void 0,void 0,function(){var l,c,d,p,m,f,g;return re(this,function(b){switch(b.label){case 0:this.logger.verbose("logoutPopupAsync called"),this.eventHandler.emitEvent(dt.LOGOUT_START,ze.Popup,o),l=this.initializeServerTelemetryManager(Jt.logoutPopup),b.label=1;case 1:return b.trys.push([1,5,,6]),[4,this.clearCacheOnLogout(o.account)];case 2:return b.sent(),[4,this.createAuthCodeClient(l,s)];case 3:return c=b.sent(),this.logger.verbose("Auth code client created"),d=c.getLogoutUri(o),this.eventHandler.emitEvent(dt.LOGOUT_SUCCESS,ze.Popup,o),p=this.openPopup(d,{popupName:r,popupWindowAttributes:n,popup:i}),this.eventHandler.emitEvent(dt.POPUP_OPENED,ze.Popup,{popupWindow:p},null),[4,this.waitForLogoutPopup(p)];case 4:return b.sent(),a?(m={apiId:Jt.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},f=ht.getAbsoluteUrl(a,ho.getCurrentUri()),this.logger.verbose("Redirecting main window to url specified in the request"),this.logger.verbosePii("Redirecting main window to: "+f),this.navigationClient.navigateInternal(f,m)):this.logger.verbose("No main window navigation requested"),[3,6];case 5:throw g=b.sent(),i&&i.close(),g instanceof Pe&&g.setCorrelationId(this.correlationId),this.browserStorage.setInteractionInProgress(!1),this.eventHandler.emitEvent(dt.LOGOUT_FAILURE,ze.Popup,null,g),this.eventHandler.emitEvent(dt.LOGOUT_END,ze.Popup),l.cacheFailedRequest(g),g;case 6:return this.eventHandler.emitEvent(dt.LOGOUT_END,ze.Popup),[2]}})})},t.prototype.initiateAuthRequest=function(o,r){if(me.isEmpty(o))throw this.logger.error("Navigate url is empty"),fe.createEmptyNavigationUriError();return this.logger.infoPii("Navigate to: "+o),this.openPopup(o,r)},t.prototype.monitorPopupForHash=function(o){var r=this;return new Promise(function(n,s){var i=r.config.system.windowHashTimeout/r.config.system.pollIntervalMilliseconds,a=0;r.logger.verbose("PopupHandler.monitorPopupForHash - polling started");var l=setInterval(function(){if(o.closed){r.logger.error("PopupHandler.monitorPopupForHash - window closed"),r.cleanPopup(),clearInterval(l),s(fe.createUserCancelledError());return}var c=M.EMPTY_STRING,d=M.EMPTY_STRING;try{c=o.location.href,d=o.location.hash}catch{}me.isEmpty(c)||c==="about:blank"||(r.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),a++,d?(r.logger.verbose("PopupHandler.monitorPopupForHash - found hash in url"),clearInterval(l),r.cleanPopup(o),ht.hashContainsKnownProperties(d)?(r.logger.verbose("PopupHandler.monitorPopupForHash - hash contains known properties, returning."),n(d)):(r.logger.error("PopupHandler.monitorPopupForHash - found hash in url but it does not contain known properties. Check that your router is not changing the hash prematurely."),r.logger.errorPii("PopupHandler.monitorPopupForHash - hash found: "+d),s(fe.createHashDoesNotContainKnownPropertiesError()))):a>i&&(r.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"),clearInterval(l),s(fe.createMonitorPopupTimeoutError())))},r.config.system.pollIntervalMilliseconds)})},t.prototype.waitForLogoutPopup=function(o){var r=this;return new Promise(function(n){r.logger.verbose("PopupHandler.waitForLogoutPopup - polling started");var s=setInterval(function(){o.closed&&(r.logger.error("PopupHandler.waitForLogoutPopup - window closed"),r.cleanPopup(),clearInterval(s),n());var i=M.EMPTY_STRING;try{i=o.location.href}catch{}me.isEmpty(i)||i==="about:blank"||(r.logger.verbose("PopupHandler.waitForLogoutPopup - popup window is on same origin as caller, closing."),clearInterval(s),r.cleanPopup(o),n())},r.config.system.pollIntervalMilliseconds)})},t.prototype.openPopup=function(o,r){try{var n=void 0;if(r.popup?(n=r.popup,this.logger.verbosePii("Navigating popup window to: "+o),n.location.assign(o)):typeof r.popup>"u"&&(this.logger.verbosePii("Opening popup window to: "+o),n=this.openSizedPopup(o,r.popupName,r.popupWindowAttributes)),!n)throw fe.createEmptyWindowCreatedError();return n.focus&&n.focus(),this.currentWindow=n,window.addEventListener("beforeunload",this.unloadWindow),n}catch(s){throw this.logger.error("error opening popup "+s.message),this.browserStorage.setInteractionInProgress(!1),fe.createPopupWindowError(s.toString())}},t.prototype.openSizedPopup=function(o,r,n){var s,i,a,l,c=window.screenLeft?window.screenLeft:window.screenX,d=window.screenTop?window.screenTop:window.screenY,p=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,m=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,f=(s=n.popupSize)===null||s===void 0?void 0:s.width,g=(i=n.popupSize)===null||i===void 0?void 0:i.height,b=(a=n.popupPosition)===null||a===void 0?void 0:a.top,_=(l=n.popupPosition)===null||l===void 0?void 0:l.left;return(!f||f<0||f>p)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),f=En.POPUP_WIDTH),(!g||g<0||g>m)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),g=En.POPUP_HEIGHT),(!b||b<0||b>m)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),b=Math.max(0,m/2-En.POPUP_HEIGHT/2+d)),(!_||_<0||_>p)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),_=Math.max(0,p/2-En.POPUP_WIDTH/2+c)),window.open(o,r,"width="+f+", height="+g+", top="+b+", left="+_+", scrollbars=yes")},t.prototype.unloadWindow=function(o){this.browserStorage.cleanRequestByInteractionType(ze.Popup),this.currentWindow&&this.currentWindow.close(),o.preventDefault()},t.prototype.cleanPopup=function(o){o&&o.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)},t.prototype.generatePopupName=function(o,r){return En.POPUP_NAME_PREFIX+"."+this.config.auth.clientId+"."+o.join("-")+"."+r+"."+this.correlationId},t.prototype.generateLogoutPopupName=function(o){var r=o.account&&o.account.homeAccountId;return En.POPUP_NAME_PREFIX+"."+this.config.auth.clientId+"."+r+"."+this.correlationId},t}(Wi);var Nhe=function(){function e(){}return e.prototype.navigateInternal=function(t,o){return e.defaultNavigateWindow(t,o)},e.prototype.navigateExternal=function(t,o){return e.defaultNavigateWindow(t,o)},e.defaultNavigateWindow=function(t,o){return o.noHistory?window.location.replace(t):window.location.assign(t),new Promise(function(r){setTimeout(function(){r(!0)},o.timeout)})},e}();var rFe=6e4,aP=6e3,nFe=3e4,sFe=2e3;function qhe(e,t){var o=e.auth,r=e.cache,n=e.system,s=e.telemetry,i={clientId:M.EMPTY_STRING,authority:""+M.DEFAULT_AUTHORITY,knownAuthorities:[],cloudDiscoveryMetadata:M.EMPTY_STRING,authorityMetadata:M.EMPTY_STRING,redirectUri:M.EMPTY_STRING,postLogoutRedirectUri:M.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:ap.AAD,azureCloudOptions:{azureCloudInstance:Hl.None,tenant:M.EMPTY_STRING},skipAuthorityMetadataCache:!1},a={cacheLocation:Ir.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1},l={loggerCallback:function(){},logLevel:go.Info,piiLoggingEnabled:!1},c=Oe(Oe({},XI),{loggerOptions:l,networkClient:t?ho.getBrowserNetworkClient():kO,navigationClient:new Nhe,loadFrameTimeout:0,windowHashTimeout:n?.loadFrameTimeout||rFe,iframeHashTimeout:n?.loadFrameTimeout||aP,navigateFrameWait:t&&ho.detectIEOrEdge()?500:0,redirectNavigationTimeout:nFe,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:n?.nativeBrokerHandshakeTimeout||sFe,pollIntervalMilliseconds:En.DEFAULT_POLL_INTERVAL_MS,cryptoOptions:{useMsrCrypto:!1,entropy:void 0}}),d=Oe(Oe({},n),{loggerOptions:n?.loggerOptions||l}),p={application:{appName:M.EMPTY_STRING,appVersion:M.EMPTY_STRING}},m={auth:Oe(Oe({},i),o),cache:Oe(Oe({},a),r),system:Oe(Oe({},c),d),telemetry:Oe(Oe({},p),s)};return m}var lP=function(e){Wt(t,e);function t(o,r,n,s,i){var a=e.call(this,o,r,n,s)||this;return a.navigateFrameWait=i.navigateFrameWait,a.pollIntervalMilliseconds=i.pollIntervalMilliseconds,a}return t.prototype.initiateAuthRequest=function(o){return oe(this,void 0,void 0,function(){var r;return re(this,function(n){switch(n.label){case 0:if(me.isEmpty(o))throw this.logger.info("Navigate url is empty"),fe.createEmptyNavigationUriError();return this.navigateFrameWait?[4,this.loadFrame(o)]:[3,2];case 1:return r=n.sent(),[3,3];case 2:r=this.loadFrameSync(o),n.label=3;case 3:return[2,r]}})})},t.prototype.monitorIframeForHash=function(o,r){var n=this;return new Promise(function(s,i){rl){n.removeHiddenIframe(o),clearInterval(c),i(fe.createMonitorIframeTimeoutError());return}var d=M.EMPTY_STRING,p=o.contentWindow;try{d=p?p.location.href:M.EMPTY_STRING}catch{}if(!me.isEmpty(d)){var m=p?p.location.hash:M.EMPTY_STRING;if(ht.hashContainsKnownProperties(m)){n.removeHiddenIframe(o),clearInterval(c),s(m);return}}},n.pollIntervalMilliseconds)})},t.prototype.loadFrame=function(o){var r=this;return new Promise(function(n,s){var i=r.createHiddenIframe();setTimeout(function(){if(!i){s("Unable to load iframe");return}i.src=o,n(i)},r.navigateFrameWait)})},t.prototype.loadFrameSync=function(o){var r=this.createHiddenIframe();return r.src=o,r},t.prototype.createHiddenIframe=function(){var o=document.createElement("iframe");return o.style.visibility="hidden",o.style.position="absolute",o.style.width=o.style.height="0",o.style.border="0",o.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.getElementsByTagName("body")[0].appendChild(o),o},t.prototype.removeHiddenIframe=function(o){document.body===o.parentNode&&document.body.removeChild(o)},t}(Zb);var Ohe=function(e){Wt(t,e);function t(o,r,n,s,i,a,l,c,d,p,m){var f=e.call(this,o,r,n,s,i,a,c,p,m)||this;return f.apiId=l,f.nativeStorage=d,f}return t.prototype.acquireToken=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a;return re(this,function(l){switch(l.label){case 0:if(this.logger.verbose("acquireTokenByIframe called"),r=this.performanceClient.startMeasurement(ao.SilentIframeClientAcquireToken,o.correlationId),me.isEmpty(o.loginHint)&&me.isEmpty(o.sid)&&(!o.account||me.isEmpty(o.account.username))&&this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."),o.prompt&&o.prompt!==sr.NONE&&o.prompt!==sr.NO_SESSION)throw r.endMeasurement({success:!1}),fe.createSilentPromptValueError(o.prompt);return[4,this.initializeAuthorizationRequest(Oe(Oe({},o),{prompt:o.prompt||sr.NONE}),ze.Silent)];case 1:n=l.sent(),this.browserStorage.updateCacheEntries(n.state,n.nonce,n.authority,n.loginHint||M.EMPTY_STRING,n.account||null),s=this.initializeServerTelemetryManager(this.apiId),l.label=2;case 2:return l.trys.push([2,5,,6]),[4,this.createAuthCodeClient(s,n.authority,n.azureCloudOptions)];case 3:return i=l.sent(),this.logger.verbose("Auth code client created"),[4,this.silentTokenHelper(i,n).then(function(c){return r.endMeasurement({success:!0,fromCache:!1,requestId:c.requestId}),c})];case 4:return[2,l.sent()];case 5:throw a=l.sent(),a instanceof Pe&&a.setCorrelationId(this.correlationId),s.cacheFailedRequest(a),this.browserStorage.cleanRequestByState(n.state),r.endMeasurement({errorCode:a instanceof Pe&&a.errorCode||void 0,subErrorCode:a instanceof Pe&&a.subError||void 0,success:!1}),a;case 6:return[2]}})})},t.prototype.logout=function(){return Promise.reject(fe.createSilentLogoutUnsupportedError())},t.prototype.silentTokenHelper=function(o,r){return oe(this,void 0,void 0,function(){var n,s,i,a,l,c,d,p,m,f=this;return re(this,function(g){switch(g.label){case 0:return[4,this.initializeAuthorizationCodeRequest(r)];case 1:return n=g.sent(),[4,o.getAuthCodeUrl(Oe(Oe({},r),{nativeBroker:Ki.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,r.authenticationScheme)}))];case 2:return s=g.sent(),i=new lP(o,this.browserStorage,n,this.logger,this.config.system),[4,i.initiateAuthRequest(s)];case 3:return a=g.sent(),[4,i.monitorIframeForHash(a,this.config.system.iframeHashTimeout)];case 4:if(l=g.sent(),c=ht.getDeserializedHash(l),d=this.validateAndExtractStateFromHash(c,ze.Silent,n.correlationId),c.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw fe.createNativeConnectionNotEstablishedError();return p=new Gl(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.apiId,this.performanceClient,this.nativeMessageHandler,c.accountId,this.browserStorage,this.correlationId),m=Sn.parseRequestState(this.browserCrypto,d).userRequestState,[2,p.acquireToken(Oe(Oe({},r),{state:m,prompt:r.prompt||sr.NONE})).finally(function(){f.browserStorage.cleanRequestByState(d)})]}return[2,i.handleCodeResponseFromHash(l,d,o.authority,this.networkClient)]}})})},t}(Wi);var Fhe=function(e){Wt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.acquireToken=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a,l=this;return re(this,function(c){switch(c.label){case 0:return n=[Oe({},o)],[4,this.initializeBaseRequest(o)];case 1:return r=Oe.apply(void 0,n.concat([c.sent()])),s=this.performanceClient.startMeasurement(ao.SilentRefreshClientAcquireToken,r.correlationId),i=this.initializeServerTelemetryManager(Jt.acquireTokenSilent_silentFlow),[4,this.createRefreshTokenClient(i,r.authority,r.azureCloudOptions)];case 2:return a=c.sent(),this.logger.verbose("Refresh token client created"),[2,a.acquireTokenByRefreshToken(r).then(function(d){return s.endMeasurement({success:!0,fromCache:d.fromCache,requestId:d.requestId}),d}).catch(function(d){throw d instanceof Pe&&d.setCorrelationId(l.correlationId),i.cacheFailedRequest(d),s.endMeasurement({errorCode:d.errorCode,subErrorCode:d.subError,success:!1}),d})]}})})},t.prototype.logout=function(){return Promise.reject(fe.createSilentLogoutUnsupportedError())},t.prototype.createRefreshTokenClient=function(o,r,n){return oe(this,void 0,void 0,function(){var s;return re(this,function(i){switch(i.label){case 0:return[4,this.getClientConfiguration(o,r,n)];case 1:return s=i.sent(),[2,new sT(s,this.performanceClient)]}})})},t}(Wi);var Uhe=function(){function e(t,o){this.eventCallbacks=new Map,this.logger=t,this.browserCrypto=o,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}return e.prototype.addEventCallback=function(t){if(typeof window<"u"){var o=this.browserCrypto.createNewGuid();return this.eventCallbacks.set(o,t),this.logger.verbose("Event callback registered with id: "+o),o}return null},e.prototype.removeEventCallback=function(t){this.eventCallbacks.delete(t),this.logger.verbose("Event callback "+t+" removed.")},e.prototype.enableAccountStorageEvents=function(){typeof window>"u"||(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))},e.prototype.disableAccountStorageEvents=function(){typeof window>"u"||(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))},e.prototype.emitEvent=function(t,o,r,n){var s=this;if(typeof window<"u"){var i={eventType:t,interactionType:o||null,payload:r||null,error:n||null,timestamp:Date.now()};this.logger.info("Emitting event: "+t),this.eventCallbacks.forEach(function(a,l){s.logger.verbose("Emitting event to callback "+l+": "+t),a.apply(null,[i])})}},e.prototype.handleAccountCacheChange=function(t){try{var o=t.newValue||t.oldValue;if(!o)return;var r=JSON.parse(o);if(typeof r!="object"||!$o.isAccountEntity(r))return;var n=Ps.toObject(new $o,r),s=n.getAccountInfo();!t.oldValue&&t.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(dt.ACCOUNT_ADDED,void 0,s)):!t.newValue&&t.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(dt.ACCOUNT_REMOVED,void 0,s))}catch{return}},e}();var wn=function(){function e(){}return e.decimalToHex=function(t){for(var o=t.toString(16);o.length<2;)o="0"+o;return o},e}();var cP=function(){function e(t){this.cryptoObj=t}return e.prototype.generateGuid=function(){try{var t=new Uint8Array(16);return this.cryptoObj.getRandomValues(t),t[6]|=64,t[6]&=79,t[8]|=128,t[8]&=191,wn.decimalToHex(t[0])+wn.decimalToHex(t[1])+wn.decimalToHex(t[2])+wn.decimalToHex(t[3])+"-"+wn.decimalToHex(t[4])+wn.decimalToHex(t[5])+"-"+wn.decimalToHex(t[6])+wn.decimalToHex(t[7])+"-"+wn.decimalToHex(t[8])+wn.decimalToHex(t[9])+"-"+wn.decimalToHex(t[10])+wn.decimalToHex(t[11])+wn.decimalToHex(t[12])+wn.decimalToHex(t[13])+wn.decimalToHex(t[14])+wn.decimalToHex(t[15])}catch{for(var o="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",r="0123456789abcdef",n=0,s=M.EMPTY_STRING,i=0;i<36;i++)o[i]!=="-"&&o[i]!=="4"&&(n=Math.random()*16|0),o[i]==="x"?s+=r[n]:o[i]==="y"?(n&=3,n|=8,s+=r[n]):s+=o[i];return s}},e.prototype.isGuid=function(t){var o=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;return o.test(t)},e}();var Ms=function(){function e(){}return e.stringToUtf8Arr=function(t){for(var o,r=0,n=t.length,s=0;s>>6),i[a++]=128+(o&63)):o<65536?(i[a++]=224+(o>>>12),i[a++]=128+(o>>>6&63),i[a++]=128+(o&63)):o<2097152?(i[a++]=240+(o>>>18),i[a++]=128+(o>>>12&63),i[a++]=128+(o>>>6&63),i[a++]=128+(o&63)):o<67108864?(i[a++]=248+(o>>>24),i[a++]=128+(o>>>18&63),i[a++]=128+(o>>>12&63),i[a++]=128+(o>>>6&63),i[a++]=128+(o&63)):(i[a++]=252+(o>>>30),i[a++]=128+(o>>>24&63),i[a++]=128+(o>>>18&63),i[a++]=128+(o>>>12&63),i[a++]=128+(o>>>6&63),i[a++]=128+(o&63));return i},e.stringToArrayBuffer=function(t){for(var o=new ArrayBuffer(t.length),r=new Uint8Array(o),n=0;n251&&r<254&&s+5247&&r<252&&s+4239&&r<248&&s+3223&&r<240&&s+2191&&r<224&&s+1>>n&24),(n===2||t.length-a===1)&&(r+=String.fromCharCode(this.uint6ToB64(i>>>18&63),this.uint6ToB64(i>>>12&63),this.uint6ToB64(i>>>6&63),this.uint6ToB64(i&63)),i=0);return o===0?r:r.substring(0,r.length-o)+(o===1?"=":"==")},e.prototype.uint6ToB64=function(t){return t<26?t+65:t<52?t+71:t<62?t-4:t===62?43:t===63?47:65},e}();var Hhe=function(){function e(){}return e.prototype.decode=function(t){var o=t.replace(/-/g,"+").replace(/_/g,"/");switch(o.length%4){case 0:break;case 2:o+="==";break;case 3:o+="=";break;default:throw new Error("Invalid base64 string")}var r=this.base64DecToArr(o);return Ms.utf8ArrToString(r)},e.prototype.base64DecToArr=function(t,o){for(var r=t.replace(/[^A-Za-z0-9\+\/]/g,M.EMPTY_STRING),n=r.length,s=o?Math.ceil((n*3+1>>>2)/o)*o:n*3+1>>>2,i=new Uint8Array(s),a=void 0,l=void 0,c=0,d=0,p=0;p>>(16>>>a&24)&255;c=0}return i},e.prototype.b64ToUint6=function(t){return t>64&&t<91?t-65:t>96&&t<123?t-71:t>47&&t<58?t+4:t===43?62:t===47?63:0},e}();var iFe=32,zhe=function(){function e(t){this.base64Encode=new dP,this.cryptoObj=t}return e.prototype.generateCodes=function(){return oe(this,void 0,void 0,function(){var t,o;return re(this,function(r){switch(r.label){case 0:return t=this.generateCodeVerifier(),[4,this.generateCodeChallengeFromVerifier(t)];case 1:return o=r.sent(),[2,{verifier:t,challenge:o}]}})})},e.prototype.generateCodeVerifier=function(){try{var t=new Uint8Array(iFe);this.cryptoObj.getRandomValues(t);var o=this.base64Encode.urlEncodeArr(t);return o}catch(r){throw fe.createPkceNotGeneratedError(r)}},e.prototype.generateCodeChallengeFromVerifier=function(t){return oe(this,void 0,void 0,function(){var o,r;return re(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.cryptoObj.sha256Digest(t)];case 1:return o=n.sent(),[2,this.base64Encode.urlEncodeArr(new Uint8Array(o))];case 2:throw r=n.sent(),fe.createPkceNotGeneratedError(r);case 3:return[2]}})})},e}();var Bhe=function(){function e(){}return e.prototype.getRandomValues=function(t){return window.crypto.getRandomValues(t)},e.prototype.generateKey=function(t,o,r){return oe(this,void 0,void 0,function(){return re(this,function(n){return[2,window.crypto.subtle.generateKey(t,o,r)]})})},e.prototype.exportKey=function(t){return oe(this,void 0,void 0,function(){return re(this,function(o){return[2,window.crypto.subtle.exportKey(sd,t)]})})},e.prototype.importKey=function(t,o,r,n){return oe(this,void 0,void 0,function(){return re(this,function(s){return[2,window.crypto.subtle.importKey(sd,t,o,r,n)]})})},e.prototype.sign=function(t,o,r){return oe(this,void 0,void 0,function(){return re(this,function(n){return[2,window.crypto.subtle.sign(t,o,r)]})})},e.prototype.digest=function(t,o){return oe(this,void 0,void 0,function(){return re(this,function(r){return[2,window.crypto.subtle.digest(t,o)]})})},e}();var Ghe=function(){function e(){}return e.prototype.initPrng=function(t){return window.msrCrypto.initPrng(Vb(t))},e.prototype.getRandomValues=function(t){return window.msrCrypto.getRandomValues(t)},e.prototype.generateKey=function(t,o,r){return oe(this,void 0,void 0,function(){return re(this,function(n){return[2,window.msrCrypto.subtle.generateKey(t,o,r)]})})},e.prototype.exportKey=function(t){return oe(this,void 0,void 0,function(){return re(this,function(o){return[2,window.msrCrypto.subtle.exportKey(sd,t)]})})},e.prototype.importKey=function(t,o,r,n){return oe(this,void 0,void 0,function(){return re(this,function(s){return[2,window.msrCrypto.subtle.importKey(sd,t,o,r,n)]})})},e.prototype.sign=function(t,o,r){return oe(this,void 0,void 0,function(){return re(this,function(n){return[2,window.msrCrypto.subtle.sign(t,o,r)]})})},e.prototype.digest=function(t,o){return oe(this,void 0,void 0,function(){return re(this,function(r){return[2,window.msrCrypto.subtle.digest(t,o)]})})},e}();var Vhe=function(){function e(){}return e.prototype.getRandomValues=function(t){return window.msCrypto.getRandomValues(t)},e.prototype.generateKey=function(t,o,r){return oe(this,void 0,void 0,function(){return re(this,function(n){return[2,new Promise(function(s,i){var a=window.msCrypto.subtle.generateKey(t,o,r);a.addEventListener("complete",function(l){s(l.target.result)}),a.addEventListener("error",function(l){i(l)})})]})})},e.prototype.exportKey=function(t){return oe(this,void 0,void 0,function(){return re(this,function(o){return[2,new Promise(function(r,n){var s=window.msCrypto.subtle.exportKey(sd,t);s.addEventListener("complete",function(i){var a=i.target.result,l=Ms.utf8ArrToString(new Uint8Array(a)).replace(/\r/g,M.EMPTY_STRING).replace(/\n/g,M.EMPTY_STRING).replace(/\t/g,M.EMPTY_STRING).split(" ").join(M.EMPTY_STRING).replace("\0",M.EMPTY_STRING);try{r(JSON.parse(l))}catch(c){n(c)}}),s.addEventListener("error",function(i){n(i)})})]})})},e.prototype.importKey=function(t,o,r,n){return oe(this,void 0,void 0,function(){var s,i;return re(this,function(a){return s=Ms.getSortedObjectString(t),i=Ms.stringToArrayBuffer(s),[2,new Promise(function(l,c){var d=window.msCrypto.subtle.importKey(sd,i,o,r,n);d.addEventListener("complete",function(p){l(p.target.result)}),d.addEventListener("error",function(p){c(p)})})]})})},e.prototype.sign=function(t,o,r){return oe(this,void 0,void 0,function(){return re(this,function(n){return[2,new Promise(function(s,i){var a=window.msCrypto.subtle.sign(t,o,r);a.addEventListener("complete",function(l){s(l.target.result)}),a.addEventListener("error",function(l){i(l)})})]})})},e.prototype.digest=function(t,o){return oe(this,void 0,void 0,function(){return re(this,function(r){return[2,new Promise(function(n,s){var i=window.msCrypto.subtle.digest(t,o.buffer);i.addEventListener("complete",function(a){n(a.target.result)}),i.addEventListener("error",function(a){s(a)})})]})})},e}();var aFe="RSASSA-PKCS1-v1_5",jhe="SHA-256",lFe=2048,cFe=new Uint8Array([1,0,1]),uP=function(){function e(t,o){var r,n;if(this.logger=t,this.cryptoOptions=o,this.hasBrowserCrypto())this.logger.verbose("BrowserCrypto: modern crypto interface available"),this.subtleCrypto=new Bhe;else if(this.hasIECrypto())this.logger.verbose("BrowserCrypto: MS crypto interface available"),this.subtleCrypto=new Vhe;else if(this.hasMsrCrypto()&&(!((r=this.cryptoOptions)===null||r===void 0)&&r.useMsrCrypto))this.logger.verbose("BrowserCrypto: MSR crypto interface available"),this.subtleCrypto=new Ghe;else throw this.hasMsrCrypto()&&this.logger.info("BrowserCrypto: MSR Crypto interface available but system.cryptoOptions.useMsrCrypto not enabled"),this.logger.error("BrowserCrypto: No crypto interfaces available."),fe.createCryptoNotAvailableError("Browser crypto, msCrypto, or msrCrypto interfaces not available.");if(this.subtleCrypto.initPrng){if(this.logger.verbose("BrowserCrypto: Interface requires entropy"),!(!((n=this.cryptoOptions)===null||n===void 0)&&n.entropy))throw this.logger.error("BrowserCrypto: Interface requires entropy but none provided."),_f.createEntropyNotProvided();this.logger.verbose("BrowserCrypto: Entropy provided"),this.subtleCrypto.initPrng(this.cryptoOptions.entropy)}this.keygenAlgorithmOptions={name:aFe,hash:jhe,modulusLength:lFe,publicExponent:cFe}}return e.prototype.hasIECrypto=function(){return"msCrypto"in window},e.prototype.hasBrowserCrypto=function(){return"crypto"in window},e.prototype.hasMsrCrypto=function(){return"msrCrypto"in window},e.prototype.sha256Digest=function(t){return oe(this,void 0,void 0,function(){var o;return re(this,function(r){return o=Ms.stringToUtf8Arr(t),[2,this.subtleCrypto.digest({name:jhe},o)]})})},e.prototype.getRandomValues=function(t){return this.subtleCrypto.getRandomValues(t)},e.prototype.generateKeyPair=function(t,o){return oe(this,void 0,void 0,function(){return re(this,function(r){return[2,this.subtleCrypto.generateKey(this.keygenAlgorithmOptions,t,o)]})})},e.prototype.exportJwk=function(t){return oe(this,void 0,void 0,function(){return re(this,function(o){return[2,this.subtleCrypto.exportKey(t)]})})},e.prototype.importJwk=function(t,o,r){return oe(this,void 0,void 0,function(){return re(this,function(n){return[2,this.subtleCrypto.importKey(t,this.keygenAlgorithmOptions,o,r)]})})},e.prototype.sign=function(t,o){return oe(this,void 0,void 0,function(){return re(this,function(r){return[2,this.subtleCrypto.sign(this.keygenAlgorithmOptions,t,o)]})})},e}();var Yhe=function(){function e(){this.dbName=tP,this.version=Ihe,this.tableName=Phe,this.dbOpen=!1}return e.prototype.open=function(){return oe(this,void 0,void 0,function(){var t=this;return re(this,function(o){return[2,new Promise(function(r,n){var s=window.indexedDB.open(t.dbName,t.version);s.addEventListener("upgradeneeded",function(i){var a=i;a.target.result.createObjectStore(t.tableName)}),s.addEventListener("success",function(i){var a=i;t.db=a.target.result,t.dbOpen=!0,r()}),s.addEventListener("error",function(){return n(fe.createDatabaseUnavailableError())})})]})})},e.prototype.closeConnection=function(){var t=this.db;t&&this.dbOpen&&(t.close(),this.dbOpen=!1)},e.prototype.validateDbIsOpen=function(){return oe(this,void 0,void 0,function(){return re(this,function(t){switch(t.label){case 0:return this.dbOpen?[3,2]:[4,this.open()];case 1:return[2,t.sent()];case 2:return[2]}})})},e.prototype.getItem=function(t){return oe(this,void 0,void 0,function(){var o=this;return re(this,function(r){switch(r.label){case 0:return[4,this.validateDbIsOpen()];case 1:return r.sent(),[2,new Promise(function(n,s){if(!o.db)return s(fe.createDatabaseNotOpenError());var i=o.db.transaction([o.tableName],"readonly"),a=i.objectStore(o.tableName),l=a.get(t);l.addEventListener("success",function(c){var d=c;o.closeConnection(),n(d.target.result)}),l.addEventListener("error",function(c){o.closeConnection(),s(c)})})]}})})},e.prototype.setItem=function(t,o){return oe(this,void 0,void 0,function(){var r=this;return re(this,function(n){switch(n.label){case 0:return[4,this.validateDbIsOpen()];case 1:return n.sent(),[2,new Promise(function(s,i){if(!r.db)return i(fe.createDatabaseNotOpenError());var a=r.db.transaction([r.tableName],"readwrite"),l=a.objectStore(r.tableName),c=l.put(o,t);c.addEventListener("success",function(){r.closeConnection(),s()}),c.addEventListener("error",function(d){r.closeConnection(),i(d)})})]}})})},e.prototype.removeItem=function(t){return oe(this,void 0,void 0,function(){var o=this;return re(this,function(r){switch(r.label){case 0:return[4,this.validateDbIsOpen()];case 1:return r.sent(),[2,new Promise(function(n,s){if(!o.db)return s(fe.createDatabaseNotOpenError());var i=o.db.transaction([o.tableName],"readwrite"),a=i.objectStore(o.tableName),l=a.delete(t);l.addEventListener("success",function(){o.closeConnection(),n()}),l.addEventListener("error",function(c){o.closeConnection(),s(c)})})]}})})},e.prototype.getKeys=function(){return oe(this,void 0,void 0,function(){var t=this;return re(this,function(o){switch(o.label){case 0:return[4,this.validateDbIsOpen()];case 1:return o.sent(),[2,new Promise(function(r,n){if(!t.db)return n(fe.createDatabaseNotOpenError());var s=t.db.transaction([t.tableName],"readonly"),i=s.objectStore(t.tableName),a=i.getAllKeys();a.addEventListener("success",function(l){var c=l;t.closeConnection(),r(c.target.result)}),a.addEventListener("error",function(l){t.closeConnection(),n(l)})})]}})})},e.prototype.containsKey=function(t){return oe(this,void 0,void 0,function(){var o=this;return re(this,function(r){switch(r.label){case 0:return[4,this.validateDbIsOpen()];case 1:return r.sent(),[2,new Promise(function(n,s){if(!o.db)return s(fe.createDatabaseNotOpenError());var i=o.db.transaction([o.tableName],"readonly"),a=i.objectStore(o.tableName),l=a.count(t);l.addEventListener("success",function(c){var d=c;o.closeConnection(),n(d.target.result===1)}),l.addEventListener("error",function(c){o.closeConnection(),s(c)})})]}})})},e.prototype.deleteDatabase=function(){return oe(this,void 0,void 0,function(){return re(this,function(t){return this.db&&this.dbOpen&&this.closeConnection(),[2,new Promise(function(o,r){var n=window.indexedDB.deleteDatabase(tP);n.addEventListener("success",function(){return o(!0)}),n.addEventListener("blocked",function(){return o(!0)}),n.addEventListener("error",function(){return r(!1)})})]})})},e}();var NO=function(){function e(t,o){this.inMemoryCache=new aT,this.indexedDBCache=new Yhe,this.logger=t,this.storeName=o}return e.prototype.handleDatabaseAccessError=function(t){if(t instanceof fe&&t.errorCode===xe.databaseUnavailable.code)this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.");else throw t},e.prototype.getItem=function(t){return oe(this,void 0,void 0,function(){var o,r;return re(this,function(n){switch(n.label){case 0:if(o=this.inMemoryCache.getItem(t),o)return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),this.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.getItem(t)];case 2:return[2,n.sent()];case 3:return r=n.sent(),this.handleDatabaseAccessError(r),[3,4];case 4:return[2,o]}})})},e.prototype.setItem=function(t,o){return oe(this,void 0,void 0,function(){var r;return re(this,function(n){switch(n.label){case 0:this.inMemoryCache.setItem(t,o),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.indexedDBCache.setItem(t,o)];case 2:return n.sent(),[3,4];case 3:return r=n.sent(),this.handleDatabaseAccessError(r),[3,4];case 4:return[2]}})})},e.prototype.removeItem=function(t){return oe(this,void 0,void 0,function(){var o;return re(this,function(r){switch(r.label){case 0:this.inMemoryCache.removeItem(t),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.indexedDBCache.removeItem(t)];case 2:return r.sent(),[3,4];case 3:return o=r.sent(),this.handleDatabaseAccessError(o),[3,4];case 4:return[2]}})})},e.prototype.getKeys=function(){return oe(this,void 0,void 0,function(){var t,o;return re(this,function(r){switch(r.label){case 0:if(t=this.inMemoryCache.getKeys(),t.length!==0)return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),this.logger.verbose("In-memory cache is empty, now querying persistent storage."),[4,this.indexedDBCache.getKeys()];case 2:return[2,r.sent()];case 3:return o=r.sent(),this.handleDatabaseAccessError(o),[3,4];case 4:return[2,t]}})})},e.prototype.containsKey=function(t){return oe(this,void 0,void 0,function(){var o,r;return re(this,function(n){switch(n.label){case 0:if(o=this.inMemoryCache.containsKey(t),o)return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),this.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.containsKey(t)];case 2:return[2,n.sent()];case 3:return r=n.sent(),this.handleDatabaseAccessError(r),[3,4];case 4:return[2,o]}})})},e.prototype.clearInMemory=function(){this.logger.verbose("Deleting in-memory keystore "+this.storeName),this.inMemoryCache.clear(),this.logger.verbose("In-memory keystore "+this.storeName+" deleted")},e.prototype.clearPersistent=function(){return oe(this,void 0,void 0,function(){var t,o;return re(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),this.logger.verbose("Deleting persistent keystore"),[4,this.indexedDBCache.deleteDatabase()];case 1:return t=r.sent(),t&&this.logger.verbose("Persistent keystore deleted"),[2,t];case 2:return o=r.sent(),this.handleDatabaseAccessError(o),[2,!1];case 3:return[2]}})})},e}();var pP;(function(e){e.asymmetricKeys="asymmetricKeys",e.symmetricKeys="symmetricKeys"})(pP||(pP={}));var Qhe=function(){function e(t){this.logger=t,this.asymmetricKeys=new NO(this.logger,pP.asymmetricKeys),this.symmetricKeys=new NO(this.logger,pP.symmetricKeys)}return e.prototype.clear=function(){return oe(this,void 0,void 0,function(){var t;return re(this,function(o){switch(o.label){case 0:this.asymmetricKeys.clearInMemory(),this.symmetricKeys.clearInMemory(),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.asymmetricKeys.clearPersistent()];case 2:return o.sent(),[2,!0];case 3:return t=o.sent(),t instanceof Error?this.logger.error("Clearing keystore failed with error: "+t.message):this.logger.error("Clearing keystore failed with unknown error"),[2,!1];case 4:return[2]}})})},e}();var Whe=function(){function e(t,o,r){this.logger=t,this.browserCrypto=new uP(this.logger,r),this.b64Encode=new dP,this.b64Decode=new Hhe,this.guidGenerator=new cP(this.browserCrypto),this.pkceGenerator=new zhe(this.browserCrypto),this.cache=new Qhe(this.logger),this.performanceClient=o}return e.prototype.createNewGuid=function(){return this.guidGenerator.generateGuid()},e.prototype.base64Encode=function(t){return this.b64Encode.encode(t)},e.prototype.base64Decode=function(t){return this.b64Decode.decode(t)},e.prototype.generatePkceCodes=function(){return oe(this,void 0,void 0,function(){return re(this,function(t){return[2,this.pkceGenerator.generateCodes()]})})},e.prototype.getPublicKeyThumbprint=function(t){var o;return oe(this,void 0,void 0,function(){var r,n,s,i,a,l,c,d;return re(this,function(p){switch(p.label){case 0:return r=(o=this.performanceClient)===null||o===void 0?void 0:o.startMeasurement(ao.CryptoOptsGetPublicKeyThumbprint,t.correlationId),[4,this.browserCrypto.generateKeyPair(e.EXTRACTABLE,e.POP_KEY_USAGES)];case 1:return n=p.sent(),[4,this.browserCrypto.exportJwk(n.publicKey)];case 2:return s=p.sent(),i={e:s.e,kty:s.kty,n:s.n},a=Ms.getSortedObjectString(i),[4,this.hashString(a)];case 3:return l=p.sent(),[4,this.browserCrypto.exportJwk(n.privateKey)];case 4:return c=p.sent(),[4,this.browserCrypto.importJwk(c,!1,["sign"])];case 5:return d=p.sent(),[4,this.cache.asymmetricKeys.setItem(l,{privateKey:d,publicKey:n.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri})];case 6:return p.sent(),r&&r.endMeasurement({success:!0}),[2,l]}})})},e.prototype.removeTokenBindingKey=function(t){return oe(this,void 0,void 0,function(){var o;return re(this,function(r){switch(r.label){case 0:return[4,this.cache.asymmetricKeys.removeItem(t)];case 1:return r.sent(),[4,this.cache.asymmetricKeys.containsKey(t)];case 2:return o=r.sent(),[2,!o]}})})},e.prototype.clearKeystore=function(){return oe(this,void 0,void 0,function(){return re(this,function(t){switch(t.label){case 0:return[4,this.cache.clear()];case 1:return[2,t.sent()]}})})},e.prototype.signJwt=function(t,o,r){var n;return oe(this,void 0,void 0,function(){var s,i,a,l,c,d,p,m,f,g,b,_,y;return re(this,function(x){switch(x.label){case 0:return s=(n=this.performanceClient)===null||n===void 0?void 0:n.startMeasurement(ao.CryptoOptsSignJwt,r),[4,this.cache.asymmetricKeys.getItem(o)];case 1:if(i=x.sent(),!i)throw fe.createSigningKeyNotFoundInStorageError(o);return[4,this.browserCrypto.exportJwk(i.publicKey)];case 2:return a=x.sent(),l=Ms.getSortedObjectString(a),c=this.b64Encode.urlEncode(JSON.stringify({kid:o})),d=PO.getShrHeaderString({kid:c,alg:a.alg}),p=this.b64Encode.urlEncode(d),t.cnf={jwk:JSON.parse(l)},m=this.b64Encode.urlEncode(JSON.stringify(t)),f=p+"."+m,g=Ms.stringToArrayBuffer(f),[4,this.browserCrypto.sign(i.privateKey,g)];case 3:return b=x.sent(),_=this.b64Encode.urlEncodeArr(new Uint8Array(b)),y=f+"."+_,s&&s.endMeasurement({success:!0}),[2,y]}})})},e.prototype.hashString=function(t){return oe(this,void 0,void 0,function(){var o,r;return re(this,function(n){switch(n.label){case 0:return[4,this.browserCrypto.sha256Digest(t)];case 1:return o=n.sent(),r=new Uint8Array(o),[2,this.b64Encode.urlEncodeArr(r)]}})})},e.POP_KEY_USAGES=["sign","verify"],e.EXTRACTABLE=!0,e}();var Khe=function(){function e(t,o,r,n){this.isBrowserEnvironment=typeof window<"u",this.config=t,this.storage=o,this.logger=r,this.cryptoObj=n}return e.prototype.loadExternalTokens=function(t,o,r){if(this.logger.info("TokenCache - loadExternalTokens called"),!o.id_token)throw fe.createUnableToLoadTokenError("Please ensure server response includes id token.");var n=new jr(o.id_token,this.cryptoObj),s,i;if(t.account){var a=this.loadAccount(n,t.account.environment,void 0,void 0,t.account.homeAccountId);s=new mf(a,this.loadIdToken(n,a.homeAccountId,t.account.environment,t.account.tenantId),this.loadAccessToken(t,o,a.homeAccountId,t.account.environment,t.account.tenantId,r),this.loadRefreshToken(t,o,a.homeAccountId,t.account.environment))}else if(t.authority){var l=lp.generateAuthority(t.authority,t.azureCloudOptions),c={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache};if(i=new lp(l,this.config.system.networkClient,this.storage,c,this.logger),r.clientInfo){this.logger.trace("TokenCache - homeAccountId from options");var a=this.loadAccount(n,i.hostnameAndPort,r.clientInfo,i.authorityType);s=new mf(a,this.loadIdToken(n,a.homeAccountId,i.hostnameAndPort,i.tenant),this.loadAccessToken(t,o,a.homeAccountId,i.hostnameAndPort,i.tenant,r),this.loadRefreshToken(t,o,a.homeAccountId,i.hostnameAndPort))}else if(o.client_info){this.logger.trace("TokenCache - homeAccountId from response");var a=this.loadAccount(n,i.hostnameAndPort,o.client_info,i.authorityType);s=new mf(a,this.loadIdToken(n,a.homeAccountId,i.hostnameAndPort,i.tenant),this.loadAccessToken(t,o,a.homeAccountId,i.hostnameAndPort,i.tenant,r),this.loadRefreshToken(t,o,a.homeAccountId,i.hostnameAndPort))}else throw fe.createUnableToLoadTokenError("Please provide clientInfo in the response or options.")}else throw fe.createUnableToLoadTokenError("Please provide a request with an account or a request with authority.");return this.generateAuthenticationResult(t,n,s,i)},e.prototype.loadAccount=function(t,o,r,n,s){var i;if(s?i=s:n!==void 0&&r&&(i=$o.generateHomeAccountId(r,n,this.logger,this.cryptoObj,t)),!i)throw fe.createUnableToLoadTokenError("Unexpected missing homeAccountId");var a=r?$o.createAccount(r,i,t,void 0,void 0,void 0,o):$o.createGenericAccount(i,t,void 0,void 0,void 0,o);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading account"),this.storage.setAccount(a),a;throw fe.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadIdToken=function(t,o,r,n){var s=zl.createIdTokenEntity(o,r,t.rawToken,this.config.auth.clientId,n);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(s),s;throw fe.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadAccessToken=function(t,o,r,n,s,i){if(!o.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!o.expires_in)throw fe.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");if(!i.extendedExpiresOn)throw fe.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");var a=new vr(t.scopes).printScopes(),l=i.expiresOn||o.expires_in+new Date().getTime()/1e3,c=i.extendedExpiresOn,d=Bl.createAccessTokenEntity(r,n,o.access_token,this.config.auth.clientId,s,a,l,c,this.cryptoObj);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(d),d;throw fe.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadRefreshToken=function(t,o,r,n){if(!o.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;var s=np.createRefreshTokenEntity(r,n,o.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(s),s;throw fe.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.generateAuthenticationResult=function(t,o,r,n){var s,i,a,l=M.EMPTY_STRING,c=[],d=null,p;r?.accessToken&&(l=r.accessToken.secret,c=vr.fromString(r.accessToken.target).asArray(),d=new Date(Number(r.accessToken.expiresOn)*1e3),p=new Date(Number(r.accessToken.extendedExpiresOn)*1e3));var m=o?.claims.oid||o?.claims.sub||M.EMPTY_STRING,f=o?.claims.tid||M.EMPTY_STRING;return{authority:n?n.canonicalAuthority:M.EMPTY_STRING,uniqueId:m,tenantId:f,scopes:c,account:r?.account?r.account.getAccountInfo():null,idToken:o?o.rawToken:M.EMPTY_STRING,idTokenClaims:o?o.claims:{},accessToken:l,fromCache:!0,expiresOn:d,correlationId:t.correlationId||M.EMPTY_STRING,requestId:M.EMPTY_STRING,extExpiresOn:p,familyId:M.EMPTY_STRING,tokenType:((s=r?.accessToken)===null||s===void 0?void 0:s.tokenType)||M.EMPTY_STRING,state:M.EMPTY_STRING,cloudGraphHostName:((i=r?.account)===null||i===void 0?void 0:i.cloudGraphHostName)||M.EMPTY_STRING,msGraphHost:((a=r?.account)===null||a===void 0?void 0:a.msGraphHost)||M.EMPTY_STRING,code:void 0,fromNativeBroker:!1}},e}();var Jhe=function(e){Wt(t,e);function t(o){var r=e.call(this,o)||this;return r.includeRedirectUri=!1,r}return t}(nT);var Xhe=function(e){Wt(t,e);function t(o,r,n,s,i,a,l,c,d,p){var m=e.call(this,o,r,n,s,i,a,c,d,p)||this;return m.apiId=l,m}return t.prototype.acquireToken=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a,l,c;return re(this,function(d){switch(d.label){case 0:if(this.logger.trace("SilentAuthCodeClient.acquireToken called"),!o.code)throw fe.createAuthCodeRequiredError();return[4,this.initializeAuthorizationRequest(o,ze.Silent)];case 1:r=d.sent(),this.browserStorage.updateCacheEntries(r.state,r.nonce,r.authority,r.loginHint||M.EMPTY_STRING,r.account||null),n=this.initializeServerTelemetryManager(this.apiId),d.label=2;case 2:return d.trys.push([2,4,,5]),s=Oe(Oe({},r),{code:o.code}),[4,this.getClientConfiguration(n,r.authority)];case 3:return i=d.sent(),a=new Jhe(i),this.logger.verbose("Auth code client created"),l=new lP(a,this.browserStorage,s,this.logger,this.config.system),[2,l.handleCodeResponseFromServer({code:o.code,msgraph_host:o.msGraphHost,cloud_graph_host_name:o.cloudGraphHostName,cloud_instance_host_name:o.cloudInstanceHostName},r.state,a.authority,this.networkClient,!1)];case 4:throw c=d.sent(),c instanceof Pe&&c.setCorrelationId(this.correlationId),n.cacheFailedRequest(c),this.browserStorage.cleanRequestByState(r.state),c;case 5:return[2]}})})},t.prototype.logout=function(){return Promise.reject(fe.createSilentLogoutUnsupportedError())},t}(Wi);var Zhe=function(){function e(t,o){this.correlationId=o,this.measureName="msal.measure."+t+"."+this.correlationId,this.startMark="msal.start."+t+"."+this.correlationId,this.endMark="msal.end."+t+"."+this.correlationId}return e.supportsBrowserPerformance=function(){return typeof window<"u"&&typeof window.performance<"u"&&typeof window.performance.mark=="function"&&typeof window.performance.measure=="function"&&typeof window.performance.clearMarks=="function"&&typeof window.performance.clearMeasures=="function"&&typeof window.performance.getEntriesByName=="function"},e.prototype.startMeasurement=function(){if(e.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch{}},e.prototype.endMeasurement=function(){if(e.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch{}},e.prototype.flushMeasurement=function(){if(e.supportsBrowserPerformance())try{var t=window.performance.getEntriesByName(this.measureName,"measure");if(t.length>0){var o=t[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),o}}catch{}return null},e}();var ebe=function(e){Wt(t,e);function t(o,r,n,s,i,a,l){var c=e.call(this,o,r,n,s,i,a)||this;return c.browserCrypto=new uP(c.logger,l),c.guidGenerator=new cP(c.browserCrypto),c}return t.prototype.startPerformanceMeasurement=function(o,r){return new Zhe(o,r)},t.prototype.generateId=function(){return this.guidGenerator.generateGuid()},t.prototype.getPageVisibility=function(){var o;return((o=document.visibilityState)===null||o===void 0?void 0:o.toString())||null},t.prototype.startMeasurement=function(o,r){var n=this,s=this.getPageVisibility(),i=e.prototype.startMeasurement.call(this,o,r);return Oe(Oe({},i),{endMeasurement:function(a){return i.endMeasurement(Oe({startPageVisibility:s,endPageVisibility:n.getPageVisibility()},a))}})},t}(iT);var tbe=function(){function e(t){this.isBrowserEnvironment=typeof window<"u",this.config=qhe(t,this.isBrowserEnvironment),this.initialized=!1,this.logger=new Wb(this.config.system.loggerOptions,nP,dp),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.isBrowserEnvironment?new ebe(this.config.auth.clientId,this.config.auth.authority,this.logger,nP,dp,this.config.telemetry.application,this.config.system.cryptoOptions):new RO(this.config.auth.clientId,this.config.auth.authority,this.logger,nP,dp,this.config.telemetry.application),this.browserCrypto=this.isBrowserEnvironment?new Whe(this.logger,this.performanceClient,this.config.system.cryptoOptions):tp,this.eventHandler=new Uhe(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new rP(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):Lhe(this.config.auth.clientId,this.logger);var o={cacheLocation:Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1};this.nativeInternalStorage=new rP(this.config.auth.clientId,o,this.browserCrypto,this.logger),this.tokenCache=new Khe(this.config,this.browserStorage,this.logger,this.browserCrypto)}return e.prototype.initialize=function(){return oe(this,void 0,void 0,function(){var t,o;return re(this,function(r){switch(r.label){case 0:if(this.logger.trace("initialize called"),this.initialized)return this.logger.info("initialize has already been called, exiting early."),[2];if(this.eventHandler.emitEvent(dt.INITIALIZE_START),!this.config.system.allowNativeBroker)return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),t=this,[4,Ki.createProvider(this.logger,this.config.system.nativeBrokerHandshakeTimeout)];case 2:return t.nativeExtensionProvider=r.sent(),[3,4];case 3:return o=r.sent(),this.logger.verbose(o),[3,4];case 4:return this.initialized=!0,this.eventHandler.emitEvent(dt.INITIALIZE_END),[2]}})})},e.prototype.handleRedirectPromise=function(t){return oe(this,void 0,void 0,function(){var o,r,n,s,i,a,l,c,d=this;return re(this,function(p){return this.logger.verbose("handleRedirectPromise called"),ho.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),o=this.getAllAccounts(),this.isBrowserEnvironment?(r=t||M.EMPTY_STRING,n=this.redirectResponse.get(r),typeof n>"u"?(this.eventHandler.emitEvent(dt.HANDLE_REDIRECT_START,ze.Redirect),this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),s=this.browserStorage.getCachedNativeRequest(),i=void 0,s&&Ki.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider)&&this.nativeExtensionProvider&&!t?(this.logger.trace("handleRedirectPromise - acquiring token from native platform"),a=new Gl(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Jt.handleRedirectPromise,this.performanceClient,this.nativeExtensionProvider,s.accountId,this.nativeInternalStorage,s.correlationId),i=a.handleRedirectPromise()):(this.logger.trace("handleRedirectPromise - acquiring token from web flow"),l=this.browserStorage.getTemporaryCache(Ot.CORRELATION_ID,!0)||M.EMPTY_STRING,c=this.createRedirectClient(l),i=c.handleRedirectPromise(t)),n=i.then(function(m){if(m){var f=o.length0?d.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_FAILURE,ze.Redirect,null,m):d.eventHandler.emitEvent(dt.LOGIN_FAILURE,ze.Redirect,null,m),d.eventHandler.emitEvent(dt.HANDLE_REDIRECT_END,ze.Redirect),m}),this.redirectResponse.set(r,n)):this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"),[2,n]):(this.logger.verbose("handleRedirectPromise returns null, not browser environment"),[2,null])})})},e.prototype.acquireTokenRedirect=function(t){return oe(this,void 0,void 0,function(){var o,r,n,s,i,a=this;return re(this,function(l){return o=this.getRequestCorrelationId(t),this.logger.verbose("acquireTokenRedirect called",o),this.preflightBrowserEnvironmentCheck(ze.Redirect),r=this.getAllAccounts().length>0,r?this.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_START,ze.Redirect,t):this.eventHandler.emitEvent(dt.LOGIN_START,ze.Redirect,t),this.nativeExtensionProvider&&this.canUseNative(t)?(s=new Gl(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Jt.acquireTokenRedirect,this.performanceClient,this.nativeExtensionProvider,this.getNativeAccountId(t),this.nativeInternalStorage,t.correlationId),n=s.acquireTokenRedirect(t).catch(function(c){if(c instanceof Rs&&c.isFatal()){a.nativeExtensionProvider=void 0;var d=a.createRedirectClient(t.correlationId);return d.acquireToken(t)}else if(c instanceof Zo){a.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow");var d=a.createRedirectClient(t.correlationId);return d.acquireToken(t)}throw a.browserStorage.setInteractionInProgress(!1),c})):(i=this.createRedirectClient(t.correlationId),n=i.acquireToken(t)),[2,n.catch(function(c){throw r?a.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_FAILURE,ze.Redirect,null,c):a.eventHandler.emitEvent(dt.LOGIN_FAILURE,ze.Redirect,null,c),c})]})})},e.prototype.acquireTokenPopup=function(t){var o=this,r=this.getRequestCorrelationId(t),n=this.performanceClient.startMeasurement(ao.AcquireTokenPopup,r);try{this.logger.verbose("acquireTokenPopup called",r),this.preflightBrowserEnvironmentCheck(ze.Popup)}catch(l){return Promise.reject(l)}var s=this.getAllAccounts();s.length>0?this.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_START,ze.Popup,t):this.eventHandler.emitEvent(dt.LOGIN_START,ze.Popup,t);var i;if(this.canUseNative(t))i=this.acquireTokenNative(t,Jt.acquireTokenPopup).then(function(l){return o.browserStorage.setInteractionInProgress(!1),n.endMeasurement({success:!0,isNativeBroker:!0,requestId:l.requestId}),n.flushMeasurement(),l}).catch(function(l){if(l instanceof Rs&&l.isFatal()){o.nativeExtensionProvider=void 0;var c=o.createPopupClient(t.correlationId);return c.acquireToken(t)}else if(l instanceof Zo){o.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow");var c=o.createPopupClient(t.correlationId);return c.acquireToken(t)}throw o.browserStorage.setInteractionInProgress(!1),l});else{var a=this.createPopupClient(t.correlationId);i=a.acquireToken(t)}return i.then(function(l){var c=s.length0?o.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_FAILURE,ze.Popup,null,l):o.eventHandler.emitEvent(dt.LOGIN_FAILURE,ze.Popup,null,l),n.endMeasurement({errorCode:l.errorCode,subErrorCode:l.subError,success:!1}),n.flushMeasurement(),Promise.reject(l)})},e.prototype.ssoSilent=function(t){return oe(this,void 0,void 0,function(){var o,r,n,s,i,a=this;return re(this,function(l){return o=this.getRequestCorrelationId(t),r=Oe(Oe({},t),{prompt:t.prompt,correlationId:o}),this.preflightBrowserEnvironmentCheck(ze.Silent),n=this.performanceClient.startMeasurement(ao.SsoSilent,o),this.logger.verbose("ssoSilent called",o),this.eventHandler.emitEvent(dt.SSO_SILENT_START,ze.Silent,r),this.canUseNative(r)?s=this.acquireTokenNative(r,Jt.ssoSilent).catch(function(c){if(c instanceof Rs&&c.isFatal()){a.nativeExtensionProvider=void 0;var d=a.createSilentIframeClient(r.correlationId);return d.acquireToken(r)}throw c}):(i=this.createSilentIframeClient(r.correlationId),s=i.acquireToken(r)),[2,s.then(function(c){return a.eventHandler.emitEvent(dt.SSO_SILENT_SUCCESS,ze.Silent,c),n.addStaticFields({accessTokenSize:c.accessToken.length,idTokenSize:c.idToken.length}),n.endMeasurement({success:!0,isNativeBroker:c.fromNativeBroker,requestId:c.requestId}),n.flushMeasurement(),c}).catch(function(c){throw a.eventHandler.emitEvent(dt.SSO_SILENT_FAILURE,ze.Silent,null,c),n.endMeasurement({errorCode:c.errorCode,subErrorCode:c.subError,success:!1}),n.flushMeasurement(),c})]})})},e.prototype.acquireTokenByCode=function(t){return oe(this,void 0,void 0,function(){var o,r,n,s,i=this;return re(this,function(a){o=this.getRequestCorrelationId(t),this.preflightBrowserEnvironmentCheck(ze.Silent),this.logger.trace("acquireTokenByCode called",o),this.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_BY_CODE_START,ze.Silent,t),r=this.performanceClient.startMeasurement(ao.AcquireTokenByCode,t.correlationId);try{if(t.code)return n=t.code,s=this.hybridAuthCodeResponses.get(n),s?(this.logger.verbose("Existing acquireTokenByCode request found",t.correlationId),r.endMeasurement({success:!0}),r.discardMeasurement()):(this.logger.verbose("Initiating new acquireTokenByCode request",o),s=this.acquireTokenByCodeAsync(Oe(Oe({},t),{correlationId:o})).then(function(l){return i.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_BY_CODE_SUCCESS,ze.Silent,l),i.hybridAuthCodeResponses.delete(n),r.addStaticFields({accessTokenSize:l.accessToken.length,idTokenSize:l.idToken.length}),r.endMeasurement({success:!0,isNativeBroker:l.fromNativeBroker,requestId:l.requestId}),r.flushMeasurement(),l}).catch(function(l){throw i.hybridAuthCodeResponses.delete(n),i.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_BY_CODE_FAILURE,ze.Silent,null,l),r.endMeasurement({errorCode:l.errorCode,subErrorCode:l.subError,success:!1}),r.flushMeasurement(),l}),this.hybridAuthCodeResponses.set(n,s)),[2,s];if(t.nativeAccountId){if(this.canUseNative(t,t.nativeAccountId))return[2,this.acquireTokenNative(t,Jt.acquireTokenByCode,t.nativeAccountId).catch(function(l){throw l instanceof Rs&&l.isFatal()&&(i.nativeExtensionProvider=void 0),l})];throw fe.createUnableToAcquireTokenFromNativePlatformError()}else throw fe.createAuthCodeOrNativeAccountIdRequiredError()}catch(l){throw this.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_BY_CODE_FAILURE,ze.Silent,null,l),r.endMeasurement({errorCode:l instanceof Pe&&l.errorCode||void 0,subErrorCode:l instanceof Pe&&l.subError||void 0,success:!1}),l}return[2]})})},e.prototype.acquireTokenByCodeAsync=function(t){return oe(this,void 0,void 0,function(){var o,r;return re(this,function(n){switch(n.label){case 0:return this.logger.trace("acquireTokenByCodeAsync called",t.correlationId),o=this.createSilentAuthCodeClient(t.correlationId),[4,o.acquireToken(t)];case 1:return r=n.sent(),[2,r]}})})},e.prototype.acquireTokenFromCache=function(t,o,r){return oe(this,void 0,void 0,function(){return re(this,function(n){switch(r.cacheLookupPolicy){case Fn.Default:case Fn.AccessToken:case Fn.AccessTokenAndRefreshToken:return[2,t.acquireToken(o)];default:throw ve.createRefreshRequiredError()}return[2]})})},e.prototype.acquireTokenByRefreshToken=function(t,o){return oe(this,void 0,void 0,function(){var r;return re(this,function(n){switch(o.cacheLookupPolicy){case Fn.Default:case Fn.AccessTokenAndRefreshToken:case Fn.RefreshToken:case Fn.RefreshTokenAndNetwork:return r=this.createSilentRefreshClient(t.correlationId),[2,r.acquireToken(t)];default:throw ve.createRefreshRequiredError()}return[2]})})},e.prototype.acquireTokenBySilentIframe=function(t){return oe(this,void 0,void 0,function(){var o;return re(this,function(r){return o=this.createSilentIframeClient(t.correlationId),[2,o.acquireToken(t)]})})},e.prototype.logout=function(t){return oe(this,void 0,void 0,function(){var o;return re(this,function(r){return o=this.getRequestCorrelationId(t),this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",o),[2,this.logoutRedirect(Oe({correlationId:o},t))]})})},e.prototype.logoutRedirect=function(t){return oe(this,void 0,void 0,function(){var o,r;return re(this,function(n){return o=this.getRequestCorrelationId(t),this.preflightBrowserEnvironmentCheck(ze.Redirect),r=this.createRedirectClient(o),[2,r.logout(t)]})})},e.prototype.logoutPopup=function(t){try{var o=this.getRequestCorrelationId(t);this.preflightBrowserEnvironmentCheck(ze.Popup);var r=this.createPopupClient(o);return r.logout(t)}catch(n){return Promise.reject(n)}},e.prototype.getAllAccounts=function(){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts():[]},e.prototype.getAccountByUsername=function(t){var o=this.getAllAccounts();return!me.isEmpty(t)&&o&&o.length?(this.logger.verbose("Account matching username found, returning"),this.logger.verbosePii("Returning signed-in accounts matching username: "+t),o.filter(function(r){return r.username.toLowerCase()===t.toLowerCase()})[0]||null):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)},e.prototype.getAccountByHomeId=function(t){var o=this.getAllAccounts();return!me.isEmpty(t)&&o&&o.length?(this.logger.verbose("Account matching homeAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching homeAccountId: "+t),o.filter(function(r){return r.homeAccountId===t})[0]||null):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)},e.prototype.getAccountByLocalId=function(t){var o=this.getAllAccounts();return!me.isEmpty(t)&&o&&o.length?(this.logger.verbose("Account matching localAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching localAccountId: "+t),o.filter(function(r){return r.localAccountId===t})[0]||null):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)},e.prototype.setActiveAccount=function(t){this.browserStorage.setActiveAccount(t)},e.prototype.getActiveAccount=function(){return this.browserStorage.getActiveAccount()},e.prototype.preflightBrowserEnvironmentCheck=function(t,o){if(o===void 0&&(o=!0),this.logger.verbose("preflightBrowserEnvironmentCheck started"),ho.blockNonBrowserEnvironment(this.isBrowserEnvironment),ho.blockRedirectInIframe(t,this.config.system.allowRedirectInIframe),ho.blockReloadInHiddenIframes(),ho.blockAcquireTokenInPopups(),ho.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),t===ze.Redirect&&this.config.cache.cacheLocation===Ir.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw _f.createInMemoryRedirectUnavailableError();(t===ze.Redirect||t===ze.Popup)&&this.preflightInteractiveRequest(o)},e.prototype.preflightInteractiveRequest=function(t){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),ho.blockReloadInHiddenIframes(),t&&this.browserStorage.setInteractionInProgress(!0)},e.prototype.acquireTokenNative=function(t,o,r){return oe(this,void 0,void 0,function(){var n;return re(this,function(s){if(this.logger.trace("acquireTokenNative called"),!this.nativeExtensionProvider)throw fe.createNativeConnectionNotEstablishedError();return n=new Gl(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,o,this.performanceClient,this.nativeExtensionProvider,r||this.getNativeAccountId(t),this.nativeInternalStorage,t.correlationId),[2,n.acquireToken(t)]})})},e.prototype.canUseNative=function(t,o){if(this.logger.trace("canUseNative called"),!Ki.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,t.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(t.prompt)switch(t.prompt){case sr.NONE:case sr.CONSENT:case sr.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace("canUseNative: prompt = "+t.prompt+" is not compatible with native flow, returning false"),!1}return!o&&!this.getNativeAccountId(t)?(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),!1):!0},e.prototype.getNativeAccountId=function(t){var o=t.account||this.browserStorage.getAccountInfoByHints(t.loginHint,t.sid)||this.getActiveAccount();return o&&o.nativeAccountId||""},e.prototype.createPopupClient=function(t){return new $he(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,t)},e.prototype.createRedirectClient=function(t){return new Dhe(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,t)},e.prototype.createSilentIframeClient=function(t){return new Ohe(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Jt.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,t)},e.prototype.createSilentCacheClient=function(t){return new iP(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,t)},e.prototype.createSilentRefreshClient=function(t){return new Fhe(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,t)},e.prototype.createSilentAuthCodeClient=function(t){return new Xhe(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Jt.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,t)},e.prototype.addEventCallback=function(t){return this.eventHandler.addEventCallback(t)},e.prototype.removeEventCallback=function(t){this.eventHandler.removeEventCallback(t)},e.prototype.addPerformanceCallback=function(t){return this.performanceClient.addPerformanceCallback(t)},e.prototype.removePerformanceCallback=function(t){return this.performanceClient.removePerformanceCallback(t)},e.prototype.enableAccountStorageEvents=function(){this.eventHandler.enableAccountStorageEvents()},e.prototype.disableAccountStorageEvents=function(){this.eventHandler.disableAccountStorageEvents()},e.prototype.getTokenCache=function(){return this.tokenCache},e.prototype.getLogger=function(){return this.logger},e.prototype.setLogger=function(t){this.logger=t},e.prototype.initializeWrapperLibrary=function(t,o){this.browserStorage.setWrapperMetadata(t,o)},e.prototype.setNavigationClient=function(t){this.navigationClient=t},e.prototype.getConfiguration=function(){return this.config},e.prototype.getRequestCorrelationId=function(t){return t?.correlationId?t.correlationId:this.isBrowserEnvironment?this.browserCrypto.createNewGuid():M.EMPTY_STRING},e}();var qO=function(e){Wt(t,e);function t(o){var r=e.call(this,o)||this;return r.activeSilentTokenRequests=new Map,r}return t.prototype.loginRedirect=function(o){return oe(this,void 0,void 0,function(){var r;return re(this,function(n){return r=this.getRequestCorrelationId(o),this.logger.verbose("loginRedirect called",r),[2,this.acquireTokenRedirect(Oe({correlationId:r},o||MO))]})})},t.prototype.loginPopup=function(o){var r=this.getRequestCorrelationId(o);return this.logger.verbose("loginPopup called",r),this.acquireTokenPopup(Oe({correlationId:r},o||MO))},t.prototype.acquireTokenSilent=function(o){return oe(this,void 0,void 0,function(){var r,n,s,i,a,l,c,d=this;return re(this,function(p){if(r=this.getRequestCorrelationId(o),n=this.performanceClient.startMeasurement(ao.AcquireTokenSilent,r),n.addStaticFields({cacheLookupPolicy:o.cacheLookupPolicy}),this.preflightBrowserEnvironmentCheck(ze.Silent),this.logger.verbose("acquireTokenSilent called",r),s=o.account||this.getActiveAccount(),!s)throw fe.createNoAccountError();return i={clientId:this.config.auth.clientId,authority:o.authority||M.EMPTY_STRING,scopes:o.scopes,homeAccountIdentifier:s.homeAccountId,claims:o.claims,authenticationScheme:o.authenticationScheme,resourceRequestMethod:o.resourceRequestMethod,resourceRequestUri:o.resourceRequestUri,shrClaims:o.shrClaims,sshKid:o.sshKid},a=JSON.stringify(i),l=this.activeSilentTokenRequests.get(a),typeof l>"u"?(this.logger.verbose("acquireTokenSilent called for the first time, storing active request",r),c=this.acquireTokenSilentAsync(Oe(Oe({},o),{correlationId:r}),s).then(function(m){return d.activeSilentTokenRequests.delete(a),n.addStaticFields({accessTokenSize:m.accessToken.length,idTokenSize:m.idToken.length}),n.endMeasurement({success:!0,fromCache:m.fromCache,isNativeBroker:m.fromNativeBroker,cacheLookupPolicy:o.cacheLookupPolicy,requestId:m.requestId}),n.flushMeasurement(),m}).catch(function(m){throw d.activeSilentTokenRequests.delete(a),n.endMeasurement({errorCode:m.errorCode,subErrorCode:m.subError,success:!1}),n.flushMeasurement(),m}),this.activeSilentTokenRequests.set(a,c),[2,c]):(this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",r),n.endMeasurement({success:!0}),n.discardMeasurement(),[2,l])})})},t.prototype.acquireTokenSilentAsync=function(o,r){return oe(this,void 0,void 0,function(){var n,s,i,a,l,c,d=this;return re(this,function(p){switch(p.label){case 0:return this.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_START,ze.Silent,o),n=this.performanceClient.startMeasurement(ao.AcquireTokenSilentAsync,o.correlationId),Ki.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,o.authenticationScheme)&&r.nativeAccountId?(this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"),i=Oe(Oe({},o),{account:r}),s=this.acquireTokenNative(i,Jt.acquireTokenSilent_silentFlow).catch(function(m){return oe(d,void 0,void 0,function(){var f;return re(this,function(g){if(m instanceof Rs&&m.isFatal())return this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),this.nativeExtensionProvider=void 0,f=this.createSilentIframeClient(o.correlationId),[2,f.acquireToken(o)];throw m})})}),[3,3]):[3,1];case 1:return this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"),a=this.createSilentCacheClient(o.correlationId),[4,a.initializeSilentRequest(o,r)];case 2:l=p.sent(),c=Oe(Oe({},o),{cacheLookupPolicy:o.cacheLookupPolicy||Fn.Default}),s=this.acquireTokenFromCache(a,l,c).catch(function(m){if(c.cacheLookupPolicy===Fn.AccessToken)throw m;return ho.blockReloadInHiddenIframes(),d.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_NETWORK_START,ze.Silent,l),d.acquireTokenByRefreshToken(l,c).catch(function(f){var g=f instanceof rs,b=f instanceof Zo,_=f.errorCode===En.INVALID_GRANT_ERROR;if((!g||!_||b||c.cacheLookupPolicy===Fn.AccessTokenAndRefreshToken||c.cacheLookupPolicy===Fn.RefreshToken)&&c.cacheLookupPolicy!==Fn.Skip)throw f;return d.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",o.correlationId),d.acquireTokenBySilentIframe(l)})}),p.label=3;case 3:return[2,s.then(function(m){return d.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_SUCCESS,ze.Silent,m),n.endMeasurement({success:!0,fromCache:m.fromCache,isNativeBroker:m.fromNativeBroker,requestId:m.requestId}),m}).catch(function(m){throw d.eventHandler.emitEvent(dt.ACQUIRE_TOKEN_FAILURE,ze.Silent,null,m),n.endMeasurement({errorCode:m.errorCode,subErrorCode:m.subError,success:!1}),m})]}})})},t}(tbe);var dFe="casSignIn",OO=class e{constructor(t,o=!1){this.url=Fl(t),o&&this.url.searchParams.set(dFe,"true"),this.source=this.url.searchParams.get("source"),this.source||(this.source=k("page_type")==="learn"||k("page_kind")==="learn"?"learn":"docs",k("uhfHeaderId")!=="answers"&&this.url.searchParams.set("source",this.source))}static getProfileContext(t){try{let o=t||location.href,r=new e(o),n=Fl(o);return n.searchParams.delete("source"),{redirectUrl:n.href,source:r.source,microsoftUser:void 0}}catch{return{redirectUrl:void 0,source:void 0,microsoftUser:void 0}}}toString(){return this.url.href}};function obe(e,t=!1){let o=null;try{o=new OO(e,t).toString()}catch{o=location.href}return o}var Nkt=new URL("./register",tu()).toString(),mP=E.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`,qkt=nbe(),Okt=location.origin,uFe=E.supportLevel==="production"?"18fbca16-2224-45f6-85b0-f7bf2b39b3f3":"f602d4fb-244f-48be-a746-435fac3917df",pFe="https://login.microsoftonline.com",mFe="common",Ds,rbe=()=>{let e={auth:{clientId:uFe,authority:`${pFe}/${mFe}`,redirectUri:mP},cache:{cacheLocation:"localStorage",storeAuthStateInCookie:!1},system:{loggerOptions:{loggerCallback:(t,o,r)=>{if(!r)switch(t){case go.Info:E.reviewFeatures&&console.info(o);return;case go.Verbose:E.reviewFeatures&&console.debug(o);return;case go.Warning:E.reviewFeatures?console.warn(o):Cr.trackTrace({message:o,severityLevel:go.Warning,iKey:"learn.msal"});return;case go.Error:E.reviewFeatures?console.error(o):Cr.trackTrace({message:o,severityLevel:go.Error,iKey:"learn.msal"});return}}}}};Ds=new qO(e)};function nbe(){return E.accessLevel==="local"?`https://${location.hostname}/_themes/docs.theme/master/en-us/_themes/global/identity-profile.html`:`${location.origin}/_themes/docs.theme/${bFe()}/en-us/_themes/global/identity-profile.html`}function fFe(e,t=null,o=!1){let r=obe(e,o),n=nbe(),s=encodeURIComponent(r),i=kc();return{scopes:["openid","profile","email"],prompt:t,redirectStartPage:n,nonce:i,redirectUri:mP,state:s}}function sbe(e,t=null,o=!1){return Ds.setActiveAccount(null),Ds.loginRedirect(fFe(e,t,o))}var gFe={scopes:["openid","profile","email"]};function ibe(){try{let e=hFe();return e?Ds.acquireTokenSilent(Object.assign({},gFe,{prompt:"none",account:e})).then(t=>(sA(t.idToken),!0)).catch(()=>(iA(),!1)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}function hFe(e=Xd()){if(!e)return null;let o=lA(e).preferred_username;return o?Ds.getAccountByUsername(o):null}function bFe(){return Ht?(it(["themebranch","branch"],"master")||"master").replace(/^main$/,"master"):(it(["themebranch"],"master")||"master").replace(/^main$/,"master")}var fP=class{},gP=class{constructor(t,o,r=new ft){this.stack=t,this.final=o,this.bus=r}async run(){let t=0,o=!0,r=this.final,n=[],s=this.bus.subscribe(fP,()=>o=!1),i=a=>(this.bus.publish(new fP),r=a||r,!1);try{for(;o&&this.stack[t];){let a=await this.stack[t](i);if(a||n[t]!==!1){n[t]=a,t+=a?-1:1;continue}o=!1}t>=0&&r(),s()}catch(a){throw s(),this.final(),a}}};var abe=D.profile.me,_Fe=`${abe}?isCPMCalled=true`,FO=new URL("./register",tu()).toString(),vFe=location.origin;async function Va(){let t=location.pathname.split("/").indexOf("edit")!==-1?_Fe:abe;try{let r=await fetch(N(t,{credentials:"include"}));if(r.ok&&r.status!==204){let n=await r.json();S.readUserProfile(n)}else S.setAnonymous()}catch{S.setAnonymous()}}async function lbe(e=()=>{S.setAnonymous()}){if(!A.userServices)return S.setAnonymous(),Promise.resolve();await new gP([yFe,xFe,ibe],e).run()}async function yFe(e=()=>!1){try{let t=fs();if(t){let o=_l(t);return S.readUserFromToken(o),!0}return!1}catch(t){return t instanceof xa?!1:e()}}async function xFe(e=()=>!1){try{let t=Xd();if(t){_l(t);let o=await FA(t);return aA(o),!0}return!1}catch(t){return t instanceof xa?!1:t instanceof ky?e(TFe):e()}}function TFe(){if(k("page_kind")!=="register"){S.setAnonymous();let o=F({redirectUrl:location.href});location.href=`${FO}?${o}`;return}let e=Xd(),t=_l(e);S.mapIdTokenToProfile(t)}function SFe(){localStorage.removeItem("gitHubToken")}async function ns(e=location.href,t=!1,o=!1){if(SFe(),t&&await P(D.auth.signOut),fpe(),fs()&&await fhe(),dh(),iA(),!o){let r=Fl(e,vFe);location.href=`${r.origin}${r.pathname}${r.search}`}}function No(e=location.href,t="select_account",o=!1){sbe(e,t,o)}function cbe(e=location.href){location.href=`/_themes/docs.theme/master/en-us/_themes/global/permissioned-auth.html?changeDirectory=true&redirectUrl=${e}`}var e_={setItem(e,t,o){try{let r=o.getTime();if(Date.now()>=r)return;let n={value:t,expiry:r};ue.setItem(e,JSON.stringify(n))}catch{}},getItem(e){try{let t=ue.getItem(e);if(!t)return null;let o=JSON.parse(t);return typeof o.expiry!="number"||isNaN(o.expiry)||Date.now()>=o.expiry?(ue.removeItem(e),null):o.value}catch{return null}},removeItem(e){ue.removeItem(e)},clear(){ue.clear()}};function dbe(){let e=k("original_content_git_url")||k("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}async function hP(){await ce;let e=document.getElementById("module-unit-feedback-link");if(!e)return;let t=document.getElementById("troubleshooting-guide"),o=vf();t.href=o,e.href=`${o}#report-feedback`}function vf(){let e=UO(),t;return Ht?t=`/${h.data.userLocale}/test/learn/support/troubleshooting${e}`:t=`/${h.data.userLocale}/training/support/troubleshooting${e}`,t}function UO(){let e={uid:k("uid")||"",documentId:k("document_id")||"",versionIndependentDocumentId:k("document_version_independent_id")||"",contentPath:dbe(),url:location.href,author:k("ms.author")||""},t=Object.keys(e).reduce((o,r)=>{let n=e[r];return n===void 0||n.trim().length===0||o.push(`${r}=${encodeURIComponent(n)}`),o},[]);return t.length===0?"":`?${t.join("&")}`}function yf(e,t=No){let o=new URL(e||location.href);o.searchParams.set("account-linking","1"),t(o.href,"login")}var ube=6,$s={Cancel:{text:nt,clickHandler:Tr,modifiers:"button-primary",biName:"add-account-error-cancel"},ContactCustomerSupport:{text:gj,clickHandler:()=>{location.href=vf()},modifiers:"button-primary button-filled",biName:"add-account-error-contact-support"},Ok:{text:ps,clickHandler:Tr,modifiers:"button-primary button-filled",biName:"add-account-error-ok"},SelectAccount:{text:Rle,clickHandler:()=>yf(),modifiers:"button-primary button-filled",biName:"add-account-error-select-account"}};function EFe(e){return{accountAlreadyRegistered:{title:lle.replace("{account}",e),description:yle,buttons:[$s.Cancel,$s.SelectAccount]},alreadyHasCertProfileConnected:{title:Mle,description:Dle,buttons:[$s.ContactCustomerSupport]},alreadyLinked:{title:Sle,description:Z$,buttons:[$s.Cancel,$s.SelectAccount]},moreThanOneAccountPerTenant:{title:fle,description:`${kle} ${Z$}.`,buttons:[$s.Ok]},moreThanOneMSAAccount:{title:Ile,description:Ele.replace("{account}",e),buttons:[$s.Ok]},needAtLeastOneAccountLinked:{title:Cle,description:vle,buttons:[$s.Ok]},numberOfAccounts:{title:cle,description:dle,buttons:[$s.Ok]},profileMergeRunning:{title:Ple,description:Lle,buttons:[$s.Ok]},profileMergeAlreadyComplete:{title:Ble,description:Gle,buttons:[$s.Ok]},profileMergeRecordNotFound:{title:Vle,description:jle,buttons:[$s.Ok]},previousMergeAttemptPreventsAction:{title:Yle,description:Qle,buttons:[$s.Ok]},unexpectedError:{title:Xr,buttons:[$s.Ok]}}}function bP(e,t){let o=EFe(e)[t];return u` ${o.title?u`

    ${o.title}

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

    ${H(o.description)}

    `:null} ${o.buttons?u`
    ${o.buttons.map(r=>u``)}
    `:null} `}function _P(e,t,o,r=[]){if(o.credentialId===e)return"alreadyLinked";if(o.authenticationModes.length>=ube||r.length+o.authenticationModes.length>=ube)return"numberOfAccounts";if((t==="MSA"||r.find(s=>s.type==="MSA")!==void 0)&&o.authenticationModes.find(s=>s.type==="MSA")!==void 0)return"moreThanOneMSAAccount";let n=Array.from(r.concat(o.authenticationModes).filter(s=>s.type==="AAD"),s=>s.tenantId);return new Set(n).size!==n.length?"moreThanOneAccountPerTenant":null}var wFe={Complete:{color:"success",icon:"docon-status-success-outline",text:Jle},Failed:{color:"danger",icon:"docon-status-failure-outline",text:Xle},Running:{color:"warning",icon:"docon-status-info-outline",text:rce},Terminated:{color:"success",icon:"docon-status-success-outline",text:nce}};function zO(){let e=new Date(Date.now()+6e5);e_.setItem("check-merge-status","true",e)}function CFe(){return e_.getItem("check-merge-status")!==null}function AFe(){e_.removeItem("check-merge-status")}async function xf(e=!1){if(!(!e&&!CFe()))try{let t=await t1();if(t===null||(HO(t),t!=="Running"))return;let o=setInterval(async()=>{t=await t1(),t!==null&&(HO(t),t!=="Running"&&(clearInterval(o),AFe()))},3e4)}catch{}}async function kFe(){try{await Ype()}catch{}}function IFe(e){return u`
    `}async function HO(e){if(e==="Acknowledged")return;if(e==="Locked"){PFe();return}e==="Complete"&&Io.type==="profile"&&await Va();let t=wFe[e];if(!t)return;let o=tce,r=oce;if(e==="Failed"){let l=await jpe();if(!l)return;let c=l.sourceUserName,d=l.destinationUserName;t.text=t.text.replace("{sourceUser}",Ve(c)),t.text=t.text.replace("{destinationUser}",Ve(d)),o=o.replace("{terminateMergeText}",oN),r=r.replace("{retryMergeText}",tN)}let n=u`

    ${Zle}


    ${ece}

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

    ${t.text}

    ${e==="Failed"?u`${n} ${IFe(a)}`:""}
    ${e==="Complete"?u``:null}
    `,a))}function PFe(){let e=document.createElement("div"),t=new pe(e);v(u` `,e),t.show(),document.querySelector(".modal").addEventListener("click",r=>{r.preventDefault(),r.stopPropagation(),ns(location.origin,!0)})}async function LFe(e){mbe(e,"Terminate")}async function RFe(e){mbe(e,"Retry")}async function pbe(e,t){e.classList.remove("is-loading");let o=document.createElement("div"),r=new pe(o);id(r,t),await r.show(),e.disabled=!1}async function mbe(e,t){let o,r;t==="Terminate"?(o=e.querySelector("#terminate-failed-merge"),r=D.profile.userDeleteMerge):(o=e.querySelector("#retry-failed-merge"),r=D.profile.userRetryMerge);try{o.classList.add("is-loading"),o.disabled=!0;let n=await MFe(r);if(n.hasError){let s=n.errors[0]||"unexpectedError";await pbe(o,s)}else t==="Terminate"?HO("Terminated"):location.reload()}catch{await pbe(o,"unexpectedError")}}async function MFe(e){let o=await P(N(e,{method:"POST"}));if(W(o),o.ok)return Ta(o,!1),{hasError:!1};if(o.status===400){let r=await o.json();if(r.errorCode==="ProfileMergeRunning")return{hasError:!0,message:o.statusText,errors:["profileMergeRunning"]};if(r.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 id(e,t="unexpectedError",o=""){v(u` `,e.contentElement),e.show()}var vP,yP;async function fbe(e){DFe(e)&&await $Fe()}function DFe(e){let t=k("page_type")==="profile";if(!e.isAuthenticated||t)return!1;let o=!1;return typeof e.acceptedPrivacyNotice=="boolean"?o=e.acceptedPrivacyNotice:o=new Date(e.acceptedPrivacyNotice)>=NN,!o}async function $Fe(){if(!vP){let e=T.createElement("div");e.classList.add("modal-content"),v(u` `,e),vP=new pe(e),yP=e.querySelector("#consentModal"),gbe()}await ce,vP.show()}function gbe(){let e=S.userType==="microsoft"?bee:Og,t=()=>Bpe(),o=u` `;v(o,yP)}function NFe(){let e=u` `;v(e,yP),qFe(yP)}async function qFe(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 Hpe()?(vP.hide(),await ns(location.origin,!0)):t.removeAttribute("hidden")}catch(r){throw t.removeAttribute("hidden"),new Error(`error: ${r.message}`)}finally{o.classList.remove("is-loading")}}}function OFe(e){return e&&e.length!==0||S.userType==="microsoft"?_ee.replace("{email}",e||S.upn):S.authenticationMode==="AAD"||S.userType==="aad"?X4.replace("{email}",S.upn):gK}async function hbe(e,t,o){let r=()=>o.setAttribute("data-authenticated",e.isAuthenticated.toString());r(),e.subscribe(To,r),await t,o.setAttribute("data-auth-status-determined","true")}var Ns="docs-sign-in",BO="docs-sign-out",bbe="docs-change-directory";function _be(e){UFe(e),e.addEventListener("click",FFe)}function FFe(e){if(!(e.target instanceof Element))return;let t=e.target.closest(`.${Ns}, .${BO}, .${bbe}`);if(!t)return;let o=t.classList.contains(Ns);e.preventDefault();let r='a[href]:not([href=""]):not([href="#"])',n=t instanceof HTMLAnchorElement&&t.matches(r)?t.href:location.href;if(t.classList.contains(bbe))cbe(n);else if(o){let s=h.data.isPermissioned;No(n,"select_account",s)}else ns(n,!0)}function UFe(e){let t=o=>{if(!(o.target instanceof Element))return;let r=o.target.closest(`.${Ns}, .${BO}`);if(!r)return;let n=r.classList.contains(Ns);o.target.setAttribute("data-m",JSON.stringify({cN:n?Ns:BO,bhvr:n?100:101}))};e.addEventListener("touchstart",t,!0),e.addEventListener("pointerdown",t,!0),e.addEventListener("keyup",o=>{o.which===Re.enter&&t(o)},!0)}function HFe(e){return e!=null&&Nue.find(t=>t===e)!=null}function zFe(e,t=null){if(!e)return t==="viva-learning"||t==="blended-learning";try{let o=new URL(e);if(o.host)for(let r of que){let n=r.trim();if(n&&(o.host.endsWith(`.${n}`)||o.host===n))return!0}return!1}catch{return!1}}function BFe(e,t){return HFe(e)&&zFe(t,e)}async function vbe(){let e=ee().sso,t=T.referrer;if(It({sso:null},"replaceState"),BFe(e,t))try{It({context:"sso",source:e},"replaceState");let o=await Ds.ssoSilent({scopes:["openid","profile","email"]});o&&(dh(),sA(o.idToken))}catch(o){o instanceof Zo&&(ns("",!1,!0),No(window.location.href,"select_account"))}}var GO,he=new Promise(e=>GO=e);function ybe(){if(!A.userServices){GO(),ce.then(()=>{let e=T.getElementById("docs-sign-in-container-item");e&&(e.hidden=!0)});return}rbe(),Ds.handleRedirectPromise(),hbe(S,he,T.documentElement),_be(T.documentElement),A.permissionedContent&&ce.then(e=>{T.body.querySelectorAll("[data-permissioned-content]").forEach(t=>t.hidden=!1)}),S.subscribe(To,async()=>{await Promise.all([OA,ce]),SA(T.body,S)}),vbe().then(()=>lbe().then(GO)),he.then(async()=>{S.userType!=="standard"&&fbe(S),S.isAuthenticated&&(await ce,xf())})}function xbe(){let e=location.pathname.toLowerCase();if(Ht&&e!==`/${h.data.userLocale}/test/docs/architecture/icons/`)return;if(!Ht&&e!==`/${h.data.userLocale}/azure/architecture/icons/`&&e!==`/${h.data.userLocale}/power-platform/guidance/icons`&&e!==`/${h.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 r=()=>{T.querySelector('.azure-icons-consent input[type="checkbox"]').checked?(t.href=o,t.removeAttribute("disabled")):(t.href="javascript:void(0)",t.setAttribute("disabled","disabled"))},n=a=>{let l=a.target instanceof HTMLElement&&a.target;l&&l.parentElement.classList.contains("azure-icons-consent")&&r()},s=T.getElementById("consent-checkbox");s.classList.add("margin-block-sm");let i=s.textContent;v(GFe(i),s),r(),U.addEventListener("change",n)}function GFe(e){return u` `}function VFe(e,t){let o={};return e.querySelectorAll("li > a").forEach(n=>{if(n.textContent){let s=t?n.textContent="default":n.textContent.trim().slice(1,-1).split("|");if(s.length===2){let i=s[0].trim(),a=s[1].trim(),l=n.href;i&&a&&l&&(o[i]||(o[i]={}),o[i][a]=l)}}}),o}function Tbe(e){let t=document.createElement("a");return t.href=e,t.host===""&&(t.href=t.href),t.protocol+"//"+t.host+t.pathname}function jFe(e){let t=window.location.href.toLowerCase(),o=Tbe(t);for(let r in e)for(let n in e[r]){let s=e[r][n].toLowerCase();if(Tbe(s).localeCompare(o,void 0,{sensitivity:"base"})===0)return[r,n]}return null}function YFe(e,t,o){function r(d){return[d,d]}function n(d){window.location.href=d}let s=VFe(e,t),i=jFe(s),a=document.createElement("div");a.classList.add("azureselector"),a.classList.add("display-none-print");let l=e.getAttribute("title1"),c=Sbe(a,l);if(VO(c,s,r,!1,o),i&&(c.value=i[0]),t)c.addEventListener("change",()=>{c.value&&n(s[c.value].default)});else{let d=e.getAttribute("title2"),p=Sbe(a,d);c.addEventListener("change",()=>{VO(p,c.value?s[c.value]:{},r,!1,o)}),p.addEventListener("change",()=>{c.value&&p.value&&n(s[c.value][p.value])}),VO(p,c.value?s[c.value]:{},r,!1,o),i&&(p.value=i[1])}e.insertAdjacentElement("afterend",a)}function Ebe(){let e=lG,t=document.querySelector(".op_single_selector"),o=document.querySelectorAll(".op_multi_selector");t&&QFe(t),o.forEach(r=>{YFe(r,!1,e)})}function QFe(e){let t=e.parentNode,o=e.getAttribute("title1"),r=Array.from(document.querySelectorAll(".op_single_selector > ul > li")),n=Array.from(document.querySelectorAll(".op_single_selector > ul > li > a")),s=[];n.map(c=>{let d={title:c.textContent,href:c.href};s.push(d)});let i=r[0].firstElementChild.getAttribute("href")?WFe(s):r.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=KFe(i,s,o);v(l,a)}function WFe(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 KFe(e,t,o){let r=u``,n=[];o&&(r=u`${o}`);let s="padding-xxs";for(let i of t)n.push(u`
  • ${i.title}
  • `);return u` ${r} `}function Sbe(e,t){let o=document.createElement("div");o.classList.add("display-inline-block-tablet","margin-block-xxs","margin-right-xs-tablet");let r=Xe(),n=u`
    ${t?u` `:""}
    `;return v(n,o),e.appendChild(o),o.querySelector("select")}function VO(e,t,o,r,n){let s=[];r||s.push(u``);for(let i in t){let a=o(i,t[i]);a&&a.length===2&&s.push(u``)}v(s,e)}var yr={value:null},wbe={AzureSandbox:"Azure",DynamicsSandbox:"Dynamics 365"},qs=class{constructor(t){this.sandbox=t}},t_=class{},o_="activate-azure-sandbox";function Vl(e){return Math.max(0,new Date(e.moduleExpiresAt).getTime()-Date.now())}function Cbe(e){return e.sandboxType==="NotebooksSandbox"}var cT;function Abe(){if(!cT){let e=`

    ${YC}

    `,t=`

    ${Ode}

    `,o=document.createElement("div");v(u` `,o),cT=new pe(o)}cT.contentElement.classList.remove("shake-in"),cT.show(),cT.contentElement.classList.add("shake-in")}var r_=class{};var ad=it(),uT=h.data.contentLocale||h.data.userLocale,JFe={title:"Exam MB-210: Microsoft Dynamics 365 Sales Functional Consultant",uid:"exam.mb-210",url:"/credentials/certifications/exams/mb-210/"};function Tf(e,t,o){let r={locale:e,branch:ad},n=`${D.learn.module}/${t}?${F(r)}`;return P(N(n,{method:"GET"})).then(i=>{if(i.ok)return i.json();throw new so(i)}).catch(i=>(o?.fail(i),Promise.reject()))}function pT(e,t,o){let r={unitId:t,locale:e,branch:ad},n=`${D.learn.module}?${F(r)}`,s={method:"GET"};return o?.updateProgress("Fetching module by unit"),P(N(n,s)).then(i=>{if(i.ok)return o?.updateProgress("Fetched module by unit"),i.json();throw new so(i)}).catch(i=>(o?.fail(i),Promise.reject()))}function kbe(e,t){let o={locale:e,branch:ad},r=`${D.learn.learningPath}/${t}?${F(o)}`;return P(N(r,{method:"GET"})).then(s=>s.json())}function Ibe(e,t){let o=Jd(t),r={method:"GET"};return o.map(n=>{let s={locale:e,branch:ad,uids:n.join(";")},i=`${D.learn.batchItemSummaries}?${F(s)}`;return P(N(i,r)).then(a=>a.ok?a.json():Promise.reject())})}function Pbe(e=!1){let t={modulesOnly:e},o=`${D.learn.progress.user}?${F(t)}`;return P(N(o,{method:"GET"})).then(n=>W(n)).then(n=>n.status===204?[]:n.ok?n.json():[])}async function ss(e,t){let o=Jd(e),r=[],n={method:"GET"},s=o.map(async i=>{let a={branch:ad,uids:i.join(";"),locale:uT},l=`${D.learn.progress.user}?${F(a)}`,c=N(l,n),d=await P(c);if(d.ok&&d.status!==204){let p=await d.json();r.push(...p)}if(!d.ok)throw new so(d)});try{t?.updateProgress("Getting user progress by uids"),await Promise.all(s),t?.updateProgress("Got user progress by uids")}catch(i){t?.fail(i)}return r}async function Lbe(e){let o=(await ss([e])).find(r=>r.uid===e);return o&&o.status==="completed"}function mT(e,t=uT,o,r){let n={branch:ad,locale:t},s=`${D.learn.progress.unit}/${e}/?${F(n)}`,a={method:"PUT",body:JSON.stringify(o)};return r?.updateProgress("Putting progress"),P(N(s,a)).then(eUe).then(W).then(l=>{if(l.ok)return r?.updateProgress("Completed putting progress"),l.json();throw new so(l)}).catch(l=>(r?.fail(l),Promise.reject()))}function Rbe(e,t){let o={branch:ad,locale:uT},r=`${D.learn.progress.batchUnit}?${F(o)}`,s={method:"PUT",body:JSON.stringify(e)};return t?.updateProgress("Putting batch Progress"),P(N(r,s)).then(i=>W(i)).then(i=>{if(i.ok)return t?.updateProgress("Completed putting batch progress"),i.json();throw new so(i)}).catch(i=>(t?.fail(i),Promise.reject()))}function xP(e){return(S.isAuthenticated?XFe(e):kbe(h.data.userLocale,e)).then(t=>(A.appliedSkills||delete t.appliedskills,t))}function XFe(e){return Promise.all([kbe(h.data.userLocale,e),ss([e])]).then(([t,o])=>ZFe(t,o))}function ZFe(e,t){if(!t||!t.length)return e;let o=t.find(r=>r.uid===e.uid);o===void 0?(e.status="notStarted",e.remainingTime=e.durationInMinutes):e={...e,...o};for(let r=0;rs.uid===e.modules[r].uid);n===void 0?(e.modules[r].status="notStarted",e.modules[r].remainingTime=e.modules[r].durationInMinutes):e.modules[r]={...e.modules[r],...n};for(let s=0;sa.uid===e.modules[r].units[s].uid);i===void 0?(e.modules[r].units[s].status="notStarted",e.modules[r].units[s].remainingTime=e.modules[r].units[s].durationInMinutes):e.modules[r].units[s]={...e.modules[r].units[s],...i}}}return e}function Ji(e){let t={branch:ad,locale:uT},o=`${D.learn.certification}/${e}?${F(t)}`;return P(N(o,{method:"GET"})).then(n=>n.status!==204?n.json():Promise.resolve(null))}function n_(e){if(A.assessmentMergerPracticeAssessment)return Promise.resolve(JFe);let t={branch:ad,locale:uT},o=`${D.learn.exams}/${e}?${F(t)}`;return P(N(o,{method:"GET"})).then(n=>n.ok?n.json():Promise.reject(n.json()))}function pp(e){return[].concat.apply([],e)}function eUe(e){if(e.status===429)throw Qe.publish(new r_),e.status;return e}var jO={email:"docs@docs.microsoft.com",accountId:1,moduleId:"testnotebook",tenantId:"ada63eea-fd1c-4d79-b40a-41d1380df7a5",sandboxType:null,sandboxProductTypes:new Set(["NotebooksSandbox","AzureSandbox"]),userCreatedAt:"2021-02-05T01:37:32.973184Z",userExpiresAt:"2021-02-24T22:38:01.4681417Z",moduleStartedAt:"2021-02-22T22:38:01.4679649Z",moduleExpiresAt:"2021-02-23T02:38:01.4679649Z",sandboxesPermitted:20,sandboxesRemaining:18,sandboxData:{notebookSandbox:{computeToken:"",computeUrl:"https://vmimageforux-1e27f4.westus2.cloudapp.azure.com:8000/",sandboxId:"/subscriptions/22b8962d-cbdb-4696-b930-fc4cf9d2491c/resourceGroups/learn-notebooks-test-f695dbe0-1261-40b6-b68a-53cfe4269b41",sandboxName:"/subscriptions/22b8962d-cbdb-4696-b930-fc4cf9d2491c/resourceGroups/learn-notebooks-test-f695dbe0-1261-40b6-b68a-53cfe4269b41"},azureSandbox:{sandboxId:"/subscriptions/22b8962d-cbdb-4696-b930-fc4cf9d2491c/resourceGroups/learn-notebooks-test-f695dbe0-1261-40b6-b68a-53cfe4269b41",sandboxName:"/subscriptions/22b8962d-cbdb-4696-b930-fc4cf9d2491c/resourceGroups/learn-notebooks-test-f695dbe0-1261-40b6-b68a-53cfe4269b41",resourceGroupId:"",storageAccountId:"",storageAccountRegionName:"",fileShareName:""}}};function Os(e,t,o,r,n=!1){return new Promise((s,i)=>{r&&setTimeout(()=>{i(`${e} load timeout`)},r);let a=document.createElement("script");a.src=e,n&&a.setAttribute("data-callback","setupEnforcement"),a.async=!0,a.defer=!0,a.onload=s,t&&(a.integrity=t,a.crossOrigin="anonymous"),a.onerror=()=>{i(`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 jl=rUe();function Mbe(){let e=k("azure_sandbox")==="true"||k("sandbox")==="true"||k("lab-id");h.data.pageTemplate!=="ModuleUnit"||!e||(oUe(),tUe())}async function tUe(){let e=new URL("https://fpt.microsoft.com/tags");e.searchParams.set("session_id",jl);let t=document.createElement("iframe");t.src=e.href,t.style.cssText="width: 100px; height: 100px; position: absolute; top: -5000px;",t.title="empty",t.tabIndex=-1,t.setAttribute("aria-hidden","true"),t.setAttribute("aria-disabled","true"),await ce,document.body.appendChild(t)}function oUe(){let t=`https://vlscppe.microsoft.com/fp/tags.js?org_id=${E.supportLevel==="production"?"y6jn8c31":"w0rnzpxd"}&session_id=${jl}`;Os(t,null)}function rUe(){let e=pD.getItem("x-sid");return e||(e=kc(),pD.setItem("x-sid",e),e)}var s_=D.sandbox;async function Dbe(e){if(A.linkedSandbox){let r=jO;return TP(r),{requestVerb:"GET",hasError:!1,sandbox:r}}let t={method:"GET",headers:{"X-SID":jl}},o=await P(N(`${s_}/${e}`,t));if(W(o),o.ok||o.status===400){let r=await o.json();return o.ok?(TP(r),{requestVerb:"GET",hasError:!1,sandbox:r}):{requestVerb:"GET",hasError:!0,error:r}}return o.requestVerb=t.method,Promise.reject(o)}async function $be(e){let t={method:"GET",headers:{"X-SID":jl}},o=await P(`${s_}/${e}/info`,t);return o.ok?await o.json():Promise.reject(o)}async function Sf(e){if(A.linkedSandbox){let d=jO;return TP(d),{requestVerb:"GET",hasError:!1,sandbox:d}}let{returnUrl:t,locale:o,unitUid:r,moduleUid:n,captchaToken:s,phoneNumber:i,verificationCode:a}=e,l={method:"POST",headers:{"X-SID":jl},body:JSON.stringify({returnUrl:t,locale:o,unitUid:r,captchaToken:s,phoneNumber:i,verificationCode:a})},c=await fetch(N(`${s_}/${n}`,l));if(W(c),c.ok||c.status===400||c.status===500){let d=await c.json();if(c.ok)return TP(d),{requestVerb:"POST",hasError:!1,sandbox:d};if(c.status===400||c.status===500&&d?.errorCode==="ComputeAllocationError")return{requestVerb:"POST",hasError:!0,error:d}}return c.requestVerb=l.method,Promise.reject(c)}async function Nbe(e){if(A.linkedSandbox)return;let t={method:"DELETE",headers:{"X-SID":jl}},o=await fetch(N(`${s_}/${e}`,t));if(W(o),!o.ok)return o.requestVerb=t.method,Promise.reject(o)}async function YO(e){let t={method:"POST",body:JSON.stringify({captchaToken:e})},o=await P(N(`${s_}/appeal`,t));if(W(o),!o.ok)throw new Error(`Appeal failed: ${o.status}: ${o.statusText}`)}async function qbe(e,t){let o={method:"POST",body:JSON.stringify({returnUrl:e}),headers:{"X-SID":jl}},r=await P(N(`${s_}/preprovision/${t}`,o));if(W(r),!r.ok)return r.requestVerb=o.method,Promise.reject(r)}function TP(e){if(A.linkedSandbox){let t=e.sandboxData;if(t?.azureSandbox&&t?.azureSandbox.resourceGroupId){let[,o,r]=/^\/subscriptions\/([a-f0-9\-]{36})\/resourceGroups\/([\w\-]+)$/i.exec(t.azureSandbox.resourceGroupId)||[];t.azureSandbox.subscriptionId=o,t.azureSandbox.resourceGroupName=r}return}if(e.sandboxType==="AzureSandbox"){let t=e;if(t.sandboxData?.resourceGroupId){let[,o,r]=/^\/subscriptions\/([a-f0-9\-]{36})\/resourceGroups\/([\w\-]+)$/i.exec(t.sandboxData.resourceGroupId)||[];t.sandboxData.subscriptionId=o,t.sandboxData.resourceGroupName=r}else t.sandboxData||(t.sandboxData={}),t.sandboxData.subscriptionId=null,t.sandboxData.resourceGroupName=null}}function Obe(){let e=ee(Q.search);return e[o_]==="true"?(e[o_]=null,It(e,"replaceState"),!0):!1}function SP(){let e=ee(Q.search);return e[o_]="true",`${Q.protocol}//${Q.hostname}${Q.pathname}?${F(e)}${Q.hash}`}function ld(){let e=SP();try{sessionStorage.setItem("tenant-invitation-return-url",e)}catch{}return`${Q?.origin}/_themes/docs.theme/master/en-us/_themes/global/tenant-invitation-accepted.html`}async function Ube(){let e=Io.type,t=Io.kind;if(e==="learn"&&(t==="module"||t==="unit")){await S.whenAuthenticated();try{let r=fs(),n=await nUe(t);if(!n)return;let s=n.uid;r&&(_l(r),await qbe(ld(),s))}catch{}}}async function nUe(e){let t=h.data.userLocale,o=k("uid"),r;if(!o)return r;switch(e){case"module":r=await Tf(t,o);break;case"unit":r=await pT(t,o);break;default:r=void 0}return r}var Fbe=1e3*10;function Hbe(e){return QO(e)===0}function QO(e){if(!e.userCreatedAt)return Fbe;let t=Date.now()-new Date(e.userCreatedAt).getTime();return Math.max(0,Fbe-t)}var oo={value:null};async function Ef(e,t,o){let r={scopes:[e],forceRefresh:!0,authority:`https://login.microsoftonline.com/${t}`};return await zbe(r,o)}async function zbe(e,t){try{return await Ds.acquireTokenSilent(e)}catch(o){if(Cr.trackTrace({message:`Acquire Token Silent Failure - ${S?.userName} - ${e.scopes.toString()} - ${e.authority} - ${o?.message}`}),Cr.trackException(o),o instanceof Zo&&t.noInteraction===!1)try{return await Ds.acquireTokenPopup(e)}catch(r){return Cr.trackTrace({message:`Acquire Token Popup Failure - ${S?.userName} - ${e.scopes.toString()} - ${e.authority} - ${r?.message}`}),Cr.trackException(r),null}return null}}var gT={async tryLoadTokens(e={noInteraction:!0}){if(await he,!S.isAuthenticated)return Cr.trackTrace({message:`Try Load Token User Not Authenticated - ${S?.userName}`}),null;try{let t=Xd(),r=lA(t).preferred_username,n=Ds.getAccountByUsername(r);Ds.setActiveAccount(n);let i=await zbe({scopes:["https://management.azure.com/user_impersonation"],forceRefresh:!0,authority:"https://login.microsoftonline.com/organizations",redirectUri:mP},e),a="https://management.azure.com/tenants?api-version=2020-01-01",l={method:"GET",headers:{Authorization:`Bearer ${i.accessToken}`}},d=await(await P(a,l)).json(),p=[];for(let m of d.value){let f={access_token:"",access_token_type:"",expires_at:"",business_assist_token:"",business_assist_token_type:"",business_assist_expires_at:"",msgraph_access_token:"",msgraph_access_token_type:"",msgraph_expires_at:"",learn_access_token:"",learn_access_token_type:"",learn_expires_at:"",key_vault_access_token:"",key_vault_access_token_type:"",key_vault_expires_at:"",pbi_access_token:"",pbi_access_token_type:"",pbi_expires_at:"",fabric_access_token:"",fabric_access_token_type:"",fabric_expires_at:"",display_name:m.displayName,default_domain:m.defaultDomain,tenant_id:m.tenantId},g=await Ef("https://management.core.windows.net/user_impersonation",m.tenantId,e);f.access_token=g?.accessToken,f.access_token_type=g?.tokenType,f.expires_at=g?.expiresOn.valueOf().toString();let b=await Ef("https://business-assist.microsoft.com/.default",m.tenantId,e);f.business_assist_token=b?.accessToken,f.business_assist_token_type=b?.tokenType,f.business_assist_expires_at=b?.expiresOn.valueOf().toString();let _=await Ef("https://analysis.windows.net/powerbi/api/.default",m.tenantId,e);f.pbi_access_token=_?.accessToken,f.pbi_access_token_type=_?.tokenType,f.pbi_expires_at=_?.expiresOn.valueOf().toString();let y=await Ef("https://api.fabric.microsoft.com/.default",m.tenantId,e);f.fabric_access_token=y?.accessToken,f.fabric_access_token_type=y?.tokenType,f.fabric_expires_at=y?.expiresOn.valueOf().toString();let x=await Ef("https://vault.azure.net/user_impersonation",m.tenantId,e);f.key_vault_access_token=x?.accessToken,f.key_vault_access_token_type=x?.tokenType,f.key_vault_expires_at=x?.expiresOn.valueOf().toString();let C=await Ef("https://graph.microsoft.com/.default",m.tenantId,e);f.msgraph_access_token=C?.accessToken,f.msgraph_access_token_type=C?.tokenType,f.msgraph_expires_at=C?.expiresOn.valueOf.toString();let L=await Ef("https://learn.microsoft.com/.default",m.tenantId,e);f.learn_access_token=L?.accessToken,f.learn_access_token_type=L?.tokenType,f.learn_expires_at=L?.expiresOn?.valueOf().toString(),p.push(f)}return p}catch(t){return Cr.trackTrace({message:`Try Load Token Failure - ${S?.userName} - ${t?.message}`}),Cr.trackException(t),null}}};var sUe=5*60*1e3,Bbe=0;function Vbe(){document.addEventListener("visibilitychange",Gbe,{passive:!0}),Gbe()}function Gbe(){document.visibilityState==="visible"?Bbe=setInterval(iUe,sUe):clearInterval(Bbe)}function iUe(){oo.value&&gT.tryLoadTokens().then(e=>{let t=e.find(o=>o.default_domain===oo.value.default_domain);t&&(oo.value=t)})}function jbe(){return A.banner?(document.querySelectorAll("[data-banner-dismiss]").forEach(t=>{let o=t.closest(".is-banner");o&&(o.hidden=lUe(t.getAttribute("data-banner-dismiss")))}),document.addEventListener("click",aUe)):void 0}function aUe(e){let t=e.target instanceof HTMLElement&&e.target.closest("button[data-banner-dismiss]");if(!t)return;let o=t.getAttribute("data-banner-dismiss"),r=JSON.parse(ue.getItem("dismissed-banners"));return r?(r.push(o),ue.setItem("dismissed-banners",JSON.stringify(r))):ue.setItem("dismissed-banners",JSON.stringify([o]))}function lUe(e){let t=JSON.parse(ue.getItem("dismissed-banners"));return t?t.some(o=>o===e):!1}var WO;function KO(){if(WO===void 0){let e=k("api")||"/en-us/rest/api/rest-products.json";WO=P(e,{credentials:"include"}).then(t=>t.json())}return WO}function Ybe(e){return e==="rest"?KO().then(t=>pUe(t,e)).catch(()=>({platformId:e,displayName:e,families:[]})):P(`${D.monikers}/byPlatform/${encodeURIComponent(e)}`).then(t=>t.json()).then(t=>dUe(t,e)).catch(()=>({platformId:e,displayName:e,families:[]}))}function Qbe(e){return P(`${D.monikers}/bymoniker/${encodeURIComponent(e)}`).then(t=>t.ok?t.json().then(o=>(uUe(e,o),o)):Promise.reject(null)).then(t=>Wbe(t)).catch(()=>JO(e))}function JO(e){return{displayName:e,products:[{displayName:e,packages:[{displayName:e,isDefault:!0,moniker:e,versionDisplayName:e,isDeprecated:!1,isPrerelease:!1}]}]}}function Wbe(e){return{displayName:e.familyName,products:e.products.map(({productName:t,packages:o})=>({displayName:t,packages:o.sort((r,n)=>n.order-r.order).filter(r=>cUe(r)).map(r=>({displayName:r.monikerDisplayName,isDefault:r.isDefault,moniker:r.monikerName,versionDisplayName:r.versionDisplayName,isDeprecated:r.isDeprecated,isPrerelease:r.isPrerelease}))}))}}function cUe(e){return h.data.brand==="mooncake"?e.monikerName!=="azure-cli-2017-03-09-profile":!0}function dUe(e,t){return{platformId:t,families:e.map(Wbe)}}function uUe(e,t){if(!t.products.find(o=>!!o.packages.find(r=>r.monikerName===e)))throw new Error(`The family "${t.familyName}" does not contain the moniker "${e}".`)}function pUe(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 Pr(e,t,o=0,r=[]){for(let n of e){r.length=o;let s=t(n,r);if(!s)return 0;if(s!==2&&(r[o]=n,n.children&&!Pr(n.children,t,o+1,r)))return 0}return 1}var is="moniker-changed",XO="same-moniker-selected",Kbe=()=>{let e=ee().view;return e===void 0?"":e.toLowerCase()},hT=Kbe();function bt(){return hT}function mp(e){if(e===hT){U.dispatchEvent(new CustomEvent(XO,{detail:{moniker:hT}}));return}hT=e,U.dispatchEvent(new CustomEvent(is,{detail:{moniker:hT}}))}U.addEventListener("popstate",()=>mp(Kbe()));var mUe=/^([.\/]*\/)?([^\?#]*)?(\?[^#]*)?(#.*)?$/,bT=/(^|\/)index$/i,fUe=E.accessLevel==="local"&&h.environment===void 0,ZO={};function gUe(e,t){let{origin:o,pathname:r}=vN(e),n={"/":`/${t}/`},s=r.split("/"),i="";for(;s.length>2;){s.pop();let a=s.join("/")+"/";n[i]=a,n["./"+i]=a,i+="../"}return{origin:o,relMap:n}}var i_=class{constructor(t,o,r,n,s){this.external=t;this.origin=o;this.pathname=r;this.search=n;this.hash=s}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 Cn(e,t,o=h.data.userLocale,r=Q.origin){let[n,s,,,i,a]=e;if(n==="/"&&s==="/"||i===":"||a===":"){let{origin:x,pathname:C,search:L,hash:I}=vN(e);if(x!==r)return new i_(!0,x,C,L,I);let q=ou.exec(C);return(!q||!qN(q[1]))&&(C="/"+o+C),C=decodeURIComponent(C.replace(bT,"$1")),new i_(!1,x,C,L,I)}ZO[t]===void 0&&(ZO[t]=gUe(t,o));let{origin:l,relMap:c}=ZO[t],d=mUe.exec(e),[,p="",m="",f="",g=""]=d,b=c[p];fUe&&(m=m.replace(/\.html$/i,""));let _=m.replace(bT,"$1");_.indexOf("%")!==-1&&(_=decodeURIComponent(_));let y=b+_;return new i_(!1,l,y,f,g)}function fp({origin:e,pathname:t,search:o,hash:r}=Q){return t=hUe(t),t=decodeURIComponent(t).toLowerCase().replace(bT,"$1"),new i_(!1,e,t,o,r)}function hUe(e){return e.replace(/\/+/g,"/")}var bUe=fp(),CP=k("moniker_definition_rel"),wP,eF=new Map,wf=!!CP&&CP.endsWith(".json");function tF(){if(!CP)return null;let e=Cn(CP,bUe.href);return Zbe(e.href)}async function Xbe(e){let t=[],o=bt();for(let r of e)if(r.metadata?.moniker_definition_rel){let n=Cn(r.metadata.moniker_definition_rel,r.url);t.push(Zbe(n.href).then(({monikerSet:s})=>Jbe(r.nodes,s)))}else o&&t.push(Promise.resolve(Jbe(r.nodes,new Set([o]))));await Promise.all(t)}function Jbe(e,t){t?.size&&Pr(e,(o,r)=>{if(o.monikers===void 0&&r&&r.length){let n=r[r.length-1];n.monikers&&n.monikers.length&&(o.monikers=n.monikers)}if(o.monikers&&o.monikers.length&&o.selectedMoniker===void 0){let n=o.monikers.find(s=>t.has(s));o.selectedMoniker=n===void 0?null:n}return!0})}function Zbe(e){let t={family:null,monikerSet:new Set};if(!e)return Promise.resolve(t);let o;return eF.has(e)?o=eF.get(e):(o=P(e,{credentials:"include"}).then(r=>r.json()).then(r=>_Ue(r)).catch(()=>t),eF.set(e,o)),o}function _Ue(e){let t=null,o=new Set,r=bt(),n=e.products.reduce((s,i)=>{let a=i.familyName;return s[a]=s[a]||[],s[a].push(i),s},{});return Object.keys(n).forEach(s=>{let i="",a=!1,l=n[s];l.forEach(d=>{d.monikers.forEach(p=>{p.isDefault&&(i=p.monikerName),p.monikerName===r&&(a=!0,t=vUe(s,l))})});let c=a?r:i;c&&o.add(c)}),{family:t,monikerSet:o}}async function e_e(){if(wP===void 0){let e=bt();if(wf){let t=await tF();wP=Promise.resolve(t?.family??JO(e))}else wP=Qbe(e)}return wP}function vUe(e,t){return{displayName:e,products:t.map(o=>({displayName:o.productName,packages:o.monikers.sort((r,n)=>n.order-r.order).map(r=>({moniker:r.monikerName,displayName:r.monikerDisplayName??r.monikerName,versionDisplayName:r.versionDisplayName??r.monikerName,isDefault:r.isDefault??!1,isDeprecated:r.isDeprecated??!1,isPrerelease:r.isPrerelease??!1}))}))}}var oF;function ja(){return oF===void 0&&(oF=e_e()),oF}function a_(e,t){for(let o of e.products)for(let r of o.packages)if(r.moniker===t)return r;return null}var l_=null;async function t_e(e=h.data.pageTemplate){AP();let t=ee(),o=t.viewFallbackFrom,r=t.branchFallbackFrom,n=t.branch;if(o&&e!=="NotFound"){yUe(o);return}r&&n&&xUe(r,n)}async function yUe(e){let t=await ja(),o=a_(t,e);o&&(l_=jt(Pee.replace("{moniker}",Ve(o.displayName))))}function xUe(e,t){l_=jt(pG.replace("{branchFallbackFrom}",Ve(e)).replace("{branch}",Ve(t)))}function AP(){if(l_){let e=l_.firstElementChild;if(!e)return;l_.removeChild(e),l_=null,no()}}var kP=[];var _T="banner-instructions",vT="banner-instructions-locale",TUe=1e3*60*60;function o_e(e=A.temporaryClientSideEventBanners){if(e){try{nF()}catch{ue.removeItem(_T),ue.removeItem(vT)}rF()}}async function rF(e=P,t=new Date){let o=r_e();if(o&&o.date.getTime()+TUe>Date.now())return;let r=E.reviewFeatures&&location.pathname.startsWith("/en-us/test/")?"test/":"",n=new URL(`/${h.data.userLocale}/${r}banners/index.json`,location.origin);if(E.reviewFeatures){let a=new URLSearchParams(location.search).get("api-branch")??"main";n.searchParams.set("branch",a)}let s=await e(n.href),{banners:i=[]}=s.ok?await s.json():{};ue.setItem(_T,JSON.stringify({date:t,banners:i})),ue.setItem(vT,h.data.userLocale)}function nF(){let e=r_e();if(!e)return;let t=h.data.userLocale,o=e.banners.filter(r=>r.location==="sectional"&&r.scope.accessLevels.includes("online")&&r.content.text&&(!r.scope.locales||r.scope.locales.includes(t))).map(({uid:r,scope:n,content:s,displayType:i})=>{let[a,l]=s.text.split("|");l||(l=a,a=""),a=a.trim(),l=l.trim();let c=n.paths.map(f=>{let g=!f.endsWith("*");return{path:f.substring(1).replace(/\*/g,""),fullPathMatch:g}}),d="",p="";return s.link&&(d=s.link.title,p=s.link.href.startsWith("/")?`/${t}${hn(s.link.href)}`:s.link.href),{id:r,startTime:n.startDate,endTime:n.endDate,bannerPaths:c,eventTitle:a,eventDescription:l,linkHref:p,linkText:d,imageUrl:s.imageUrl,displayType:i,displayedEventStartDate:n.displayedEventStartDate,displayedEventEndDate:n.displayedEventEndDate}});kP.push(...o)}function r_e(e=h.data.userLocale){let t=ue.getItem(_T),o=ue.getItem(vT);if(o&&o!==e||!t)return ue.removeItem(_T),ue.removeItem(vT),null;try{let n=JSON.parse(t);if(n.date=new Date(n.date),isNaN(n.date.getTime()))return null;for(let s of n.banners){if(s.scope.startDate=new Date(s.scope.startDate),s.scope.endDate=new Date(s.scope.endDate),isNaN(s.scope.startDate.getTime())||isNaN(s.scope.endDate.getTime()))return null;s.scope.displayedEventStartDate&&s.scope.displayedEventEndDate&&(s.scope.displayedEventStartDate=new Date(s.scope.displayedEventStartDate),s.scope.displayedEventEndDate=new Date(s.scope.displayedEventEndDate))}return n}catch{ue.removeItem(_T),ue.removeItem(vT)}return null}function gp(e,t,o,r){let n=r?u`${r}`:"";return u`
    ${e}
    ${t}
    ${n}
    `}function hp(e,t){return u`

    ${t}

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

    ${r}

    `:"",a=o?u`

    ${e}

    `:u`

    ${e}

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

    ${e}

    `}function n_e(e){return u` `}function c_(){if(!A.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 SUe(e){let t=RN().format(e.displayedEventStartDate),o=RN().format(e.displayedEventEndDate),r=hp("docon-special-event",bJ),n=u` ${e.displayType==="event-image-card"&&e.imageUrl?n_e(e.imageUrl):""} ${bp(e.eventTitle,!1,e.linkHref)}

    ${t} - ${o}

    ${_p(e.eventDescription,!1)} ${e.linkText} `;return gp(r,n,!1)}async function s_e(){!A.connectedExperiences&&!A.temporaryClientSideEventBanners||(await rF(),nF())}function i_e(e){let t=Array.from(document.querySelectorAll("#right-rail-events, #right-rail-events-mobile"));c_();for(let o of t)v(SUe(e[0]),o),o.hidden=!1}var EUe=["Ask","ApiBrowserPage","AssessmentsBrowse","AssessmentsLanding","AssessmentsHome","AssessmentsSession","Challenge","CollectionsHome","Conceptual","ContentBrowserPage","ContentPage","Course","Directory","Home","Hub","HubPage","Landing","LandingPage","LearnHome","LearningPath","Marketing","Moderation","ProductList","Reference","Role","Question","QuestionEdit","QuestionList","Sample","SearchPage","Show","SkillingPlans","Tag","TagList","TopicLanding","Welcome"],wUe=["/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 IP(e=location.pathname,t=Io.template){return e=hn(e),wUe.includes(e)?!1:EUe.includes(t)||!t&&e.startsWith("/answers/")}function PP(){let e=document.getElementById("cookie-consent-holder");return!e||document.getElementById("banner-holder")?null:(e.insertAdjacentHTML("afterend",''),e.nextElementSibling)}function a_e(e,t,o,r){let n=QS(),s=n>t.getTime()&&n<=o.getTime(),i=localStorage.getItem(e)==="hide",a=hn(location.pathname).toLowerCase();a=a.startsWith("/")?a.substring(1):a;let l=r.some(c=>c.fullPathMatch?a===c.path:a.startsWith(c.path));return s&&!i&&l}function CUe({uid:e,startDate:t,endDate:o,cssClass:r,title:n,subtitle:s,description:i,cta:a,theme:l,buttonCss:c=""},d=Date.now(),p=location.pathname){if(p=hn(p),!A.marketing||d=o.getTime()||!IP()||ue.getItem(e)==="hide")return!1;let m=PP();if(!m)return!1;m.classList.add(`theme-${l}`);let f=u`

    ${n}

    ${s?u`

    ${s}

    `:""}
    ${a.title}
    `;return v(f,m),!0}function AUe(e=QS()){return CUe({uid:"2024-04--microsoft-build-event",title:Cce,subtitle:Ice,description:kce,cta:{title:Ace,href:"https://aka.ms/banner_mslearn_tier1?wt.mc_id=build24_t1_learnpromotion_events"},startDate:new Date("2024-04-10T18:00:00.000Z"),endDate:new Date("2024-05-24T00:00:00.000Z"),cssClass:"build-2024-banner",theme:"dark"},e)}function l_e(){return AUe()}async function c_e(){if(!IP())return;A.connectedExperiences&&A.temporaryClientSideEventBanners?await s_e():o_e();let e=kP.filter(o=>{let{id:r,startTime:n,endTime:s,bannerPaths:i}=o;return a_e(r,n,s,i)}),t=!1;if(!(l_e()&&(t=!0,!A.connectedExperiences))&&!(e.length<1)){if(A.connectedExperiences&&e[0].displayType)i_e(e);else if(!t)for(let o of e){let r=PP();if(!r)return;let{id:n,eventTitle:s,eventDescription:i,linkHref:a,linkText:l}=o,c=kUe(`${n}-banner`,`${n}-event`,s,i,a,l);v(c,r);let d=r.querySelector("[data-dismiss]");d.onclick=()=>ue.setItem(n,"hide")}}}function kUe(e,t,o,r,n,s){let i=n&&s?u` ${s} `:"";return u`
    ${o?u`${o}:`:null} ${r} ${i}
    `}async function IUe(e,t="fiveStar"){e.rating&&(t==="binary"?e.rating=(e.rating-1)/4:e.rating/=5)}async function d_e(e,t="fiveStar"){if(e.rating===null||e.rating===void 0||isNaN(e.rating))throw new Error("No rating was selected by the user");IUe(e,t);let o={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)},r=N(`${D.ocvFeedback}`,o),n=await P(r),s;if(n.ok)return s=await n.json(),s;throw new Error(`ocv api responded with ${n.status} ${n.statusText}`)}var PUe=[bce,jte,WJ,VX,jX];function u_e(e,t,o,r,n,s,i=PUe,a=!1,l="star-rating-control"){let c=document.createElement("fieldset");c.classList.add("star-rating-control"),c.setAttribute("data-bi-name",l);let d=`font-size-${t}`,p=`font-size-${o}`,m=Xe(),f=[],g=r==="display-inline-flex"?"":r;for(let C=0;C<5;C++){let L=Xe();f.push(u` `)}let b=n?u`
    ${hZ}
    `:"",_=u` ${b}
    ${f}
    `,y=r==="display-inline-flex"?u`
    ${_}
    `:_;v(y,c);let x=c.querySelector(".rating-output");if(e!==0){let C=c.querySelector(`input[value="${e}"]`);C.checked=!0,x.textContent=C.nextElementSibling.textContent}return c.onmouseover=C=>{let L=C.target.closest("label");L&&(x.textContent=L.textContent)},c.onmouseleave=()=>{x.textContent=""},c.onchange=C=>{let L=C.target,I=parseInt(L.value),q=c.querySelectorAll(".star-collection input");for(let O=0;O=O?q[O].classList.add("is-selected"):q[O].classList.remove("is-selected");s(I),L.nextElementSibling&&(x.textContent=L.nextElementSibling.textContent)},c}var LUe=2539,RUe=50033,p_e=E.reviewFeatures?RUe:LUe;var m_e="a6b7c4ac-4c15-426f-b054-42341177dffc";var f_e=[Zee,Xee,Jee,Kee,Wee];function g_e(){jt(kK,{text:mce,clickHandler:qUe},void 0,void 0,"mt-csat-banner")}var LP,sF,yT;function MUe(){return u` `}function DUe(){let e=u_e(0,"m","m","",!1,t=>LP=t,f_e,!0);return u` `}function $Ue(){Fe({actionType:He.OTHER,behavior:ye.OTHER,content:{type:"translation-csat-feedback",score:LP,verbatim:sF}})}function NUe(e){if(e.preventDefault(),yT){$Ue(),d_e({manifestType:"Psat",appId:p_e,submitTime:new Date().toISOString(),source:"Client",type:"Survey",telemetry:{featureArea:"Docs"},clientFeedbackId:kc(),survey:{surveyId:m_e},rating:LP,comment:sF||"",web:{sourcePageURI:location.origin+location.pathname}});let t=document.createElement("div");t.classList.add("modal-slide"),v(MUe(),t),yT.pushContent(t)}}function qUe(){let e=document.createElement("div");v(DUe(),e),yT=null,LP=null,yT=new pe(e),yT.show()}var OUe=$e.machineTranslated;function b_e(e){let t=e.toLowerCase(),o=h.data.isEditDisplayable;if(A.translationFeedback){g_e();return}Jn()||t.startsWith("en-")||!OUe||(o?jt(MK):jt(DK))}function __e(){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(iF()){let n=new URL(document.referrer),s=Ty(n.pathname),i=Woe.replace("{language}",Pc[s]);o.innerText=i,t.title=i,t.hidden=!1}else h.data.userLocale.includes("en-")||(o.innerText=A$,t.title=A$,t.hidden=!1);h_e(t),window.addEventListener("popstate",()=>h_e(t))}}function iF(e=location.href,t=document.referrer){if(!t)return!1;let o=new URL(e),r=new URL(t),n=Ty(o.pathname),s=Ty(r.pathname),i=dm(r.pathname,"en-us");return!(o.origin!==r.origin||o.pathname!==i||n===s)}function h_e(e){let t=new URL(location.href);if(iF()){let o=new URL(document.referrer),r=Ty(o.pathname);t.pathname=dm(t.pathname,r)}else t.pathname=dm(t.pathname,"en-us");e.href=t.href,FUe(e)}function FUe(e,t=iF()){let o=t?"on":"off";e.setAttribute("data-bi",JSON.stringify({cN:"language-toggle",value:o}))}function UUe(e){let t=ee().branch||Zn.get("CONTENT_BRANCH")||"",o=e.sort().map(r=>``).join("");return`
    `}function aF(){if(!E.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=UUe(t);let r=o.querySelector("select"),n=ee().view||"",s=n?`view=${encodeURIComponent(n)}&`:"";r&&(r.onchange=()=>{let a=r.value;Zn.set("CONTENT_BRANCH",a),window.location.search=`?${s}branch=${encodeURIComponent(a)}`}),e.insertAdjacentElement("afterbegin",o),o.classList.remove("control"),o.classList.add("display-flex","align-items-center")}var lF=class{constructor(t,o=[]){this.breadcrumbsWrapper=t,this.basePath=h.data.userLocale,this.baseTitle="Learn",Ht&&(this.baseTitle="Test",this.basePath+="/test"),this.breadcrumbsList=[{title:this.baseTitle,url:`/${this.basePath}/`},...o]}add(...t){t.forEach(o=>this.breadcrumbsList.push(o))}render(){cF(this.breadcrumbsList);let t=this.breadcrumbsWrapper;if(!t)return;v(u` `,t);let o=document.getElementById("article-header-breadcrumbs-overflow"),r=document.querySelectorAll(".has-interactive section.primary-holder"),n=document.getElementById("branch-selector"),s;n&&(s=HUe(r,n)),o&&v(u` ${s} `,o)}breadcrumbsTemplate(){return this.breadcrumbsList.map(t=>{let o;return t.url?(t.url=t.url.replace(/\/index$/i,"/"),o=u`${t.title}`):o=u`${t.title}`,u`
  • ${o}
  • `})}};function HUe(e,t){let o;if(e.length&&t){o=document.getElementById("branch-selector-container"),o&&o.classList.add("padding-xxs");let r=document.getElementById("article-header-breadcrumbs-overflow-popover");r&&r.setAttribute("style","display: inline-block !important")}return o}async function cd(e){if(h.data.context.chromeless)return;await ce;let t=e||document.getElementById("article-header-breadcrumbs");return t?new lF(t):void 0}function cF(e){let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[]},o=e.filter((r,n)=>r.url||n+1===e.length).map((r,n)=>{let s={name:r.title,position:n+1,"@type":"ListItem"};return r.url&&(s.item=r.url),s});if(t.itemListElement=o,t.itemListElement.length){let r=document.createElement("script");r.setAttribute("type","application/ld+json"),r.textContent=JSON.stringify(t),document.head.appendChild(r)}}function v_e(){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 n=document.getElementById("article-header-breadcrumbs-overflow");if(!n)return;o.addEventListener("toggle",()=>{n.getBoundingClientRect().width{s.getBoundingClientRect().width{T.body.removeChild(o)},()=>{T.body.removeChild(o),r=!1}),r}function y_e(e,t){return navigator.clipboard?navigator.clipboard.writeText(e).then(()=>!0,()=>!1):Promise.resolve(Un(e,t))}var RP=!1;function x_e(){function e(t){let o=U.getSelection();if(!o)return;let r=o.toString(),n=lue(r);if(MP&&r!==n&&!RP){RP=!0,Un(n,t.target);return}Ro(t.target,{actionType:He.OTHER,behavior:ye.COPY,content:{event:"copy",name:su(t.target),value:r,unprintable:RP}}),RP=!1}T.addEventListener("copy",e,{passive:!0})}var DP={};function dd(e){DP[e.name]=e}var dF={};function d_(e){if(!e)return null;let t=e.replace(/^azurecli/,"bash").replace(/^azurepowershell/,"powershell"),o;if(t=t.replace(/^(bash|csharp|http|powershell|lab-on-demand|msgraph)(?:-|$)/,(s,i)=>(o=i,"")),o===void 0)return null;let r=DP[o]?DP[o].activateButtonConfig:{name:"unknown",attributes:[],iconClass:""},n={name:o,flags:{isExternal:o==="lab-on-demand",requiresStructuredData:o==="http"},activateButtonConfig:r};return t=t.replace(/(\w+)$/g,(s,i)=>(n.flags[i]=!0,"")),n}function T_e(e){return Array.from(e.childNodes).map(t=>t.nodeName==="CODE"?t.getAttribute("data-interactive-mode"):null).pop()}function Cf(e,t){let o=dF[e.name];return o||(o=dF[e.name]=DP[e.name].create()),t.firstElementChild!==o.element&&v(o.element,t),{element:o.element,setCode:(r,n)=>o.setCode(r,n),execute:()=>o.execute(),dispose:()=>{delete dF[e.name],o.dispose()}}}var Ya={any:!1};function zUe(){let e=An("monikers");Ya.any=e.length>0;for(let t of e)Ya[t]=!0}zUe();function Xi(e){return e!==""&&Ya[e]!==void 0}function Yl(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 r=o.getAttribute("aria-controls"),n=document.getElementById(r);if(n||(n=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.closest(`[id='${r}']`)),n||(n=t.target instanceof HTMLElement&&t.target.shadowRoot&&t.target.shadowRoot.activeElement&&t.target.shadowRoot.activeElement.shadowRoot.activeElement.closest(`[id='${r}']`)),!n)return;let s=o.getAttribute("aria-expanded")==="true";o.setAttribute("aria-expanded",(!s).toString());let i=Array.from(n.querySelectorAll(".expandable")),a=Array.from(document.querySelectorAll(`#${CSS.escape(r)} .expandable .expandable`));i=i.filter(d=>!a.includes(d));for(let d of i)d.classList.toggle("is-expanded");if(o.hasAttribute("data-show-once")){o.remove();let d=n.querySelector("[data-autofocus]");if(d){d.focus();return}let p=n.querySelector(yy.join(","));p&&p.focus();return}let l=o.querySelector(".show-more-text");if(!l)return;let c={show:o.getAttribute("data-title")||Ii,hide:o.getAttribute("data-expanded-title")||zd};if(l.innerText=s?c.show:c.hide,!s){let d=n.querySelector(".is-expanded");if(!d)return;let p=d.querySelector(yy.join(","));p?o.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING||p.focus():d.focus()}})}function ud(e,t="show-more-btn",o,r,n,s,i,a){let l=o||"button button-primary",c=n||Ii;return u` `}var w_e=6,uF=4,S_e=4,E_e=!1;function vp(){let e=T.getElementById("center-doc-outline"),t=T.getElementById("side-doc-outline");if(e===null||t===null)return;let o=A.referenceRightRailH3?"#main h2:not(#ms--in-this-article), #main h3":"#main h2:not(#ms--in-this-article)",r=Array.from(T.querySelectorAll(o)),n=[];if(r.forEach(s=>{let i=s.tagName.toLowerCase(),a=s.offsetParent!==null,l=ch(s).trim();a&&l.length>0&&(s.id||(s.id=l.toLowerCase().replace(/\s+/g,"-")),i==="h2"?n.push({text:l,id:s.id,children:[]}):i==="h3"&&n[n.length-1].children?.push({text:l,id:s.id}))}),n.length<2){e.hidden=!0,t.hidden=!0;return}e.hidden=!1,A.connectedExperiences?(GUe(n,e),e.classList.remove("is-hidden-desktop")):A.referenceRightRailSticky?(jUe(n,e),YUe(n,t),t.hidden=!1):(BUe(n,e),VUe(n,t),t.hidden=!1)}function BUe(e,t){let o=u`

    ${Dg}

      ${e.map(({text:r,id:n})=>u`
    1. ${r}
    2. `)}
    `;v(o,t)}function C_e(e){let t=e.length-uF,o=FC.replace("{number}",t.toString());return ud("content-well-in-this-article-list","show-more-btn","link-button font-weight-semibold font-size-sm margin-top-xxs margin-left-xs",void 0,o,!0)}function GUe(e,t){let o=e.length>=w_e,r=u`

    ${Dg}

      ${e.map(({text:s,id:i},a)=>{let c=o&&a>=uF?"expandable":"";return u`
    1. ${s}
    2. `})}
    `,n=o?u` ${r} ${C_e(e)} `:r;v(n,t)}function VUe(e,t){let o=u`
      ${e.map(({text:a,id:l},c)=>{let p=c>=S_e?"expandable":"";return u`
    • ${a}
    • `})}
    `,r=e.length>S_e,n=r?ud("right-rail-in-this-article-list","show-more-btn","button button-clear button-block inner-focus"):null,s=u`

    ${Dg}

    `,i=u`
    ${s} ${o} ${n?u`
    ${n}
    `:""}
    `;v(i,t),r&&!E_e&&(Yl(t),E_e=!0)}function jUe(e,t){let o=e.length>=w_e,r=u`

    ${Dg}

      ${e.map(({text:s,id:i,children:a},l)=>{let d=o&&l>=uF?"expandable":"",p=a?.length?u`
      1. ${s}
      2. ${a?.map(({text:m,id:f})=>u`
      3. ${m}
      4. `)}
      `:null;return p?u`
    1. ${s} ${p}
    2. `:u`
    3. ${s}
    4. `})}
    `,n=o?u` ${r} ${C_e(e)} `:r;v(n,t)}function YUe(e,t){let o=u`
      ${e.map(({text:n,id:s,children:i})=>{let a=i?.length?u`
        ${i?.map(({text:l,id:c})=>u`
      1. ${l}
      2. `)}
      `:"";return u`
    1. ${n} ${a}
    2. `})}
    `,r=u`

    ${Dg}

    ${o} `;v(r,t)}var $P=class{constructor(t){this.expanded=t}},pF={expanded:"ap-expanded",collapsed:"ap-collapsed",expandButton:"ap-expand-behavior",collapseButton:"ap-collapse-behavior"},mF;function xT(e,t){mF=t;let o=document.documentElement.classList,r=document.querySelector(".action-panel");if(o.contains("ap-layout")||e==="none")return r;let n=document.getElementById("main-column"),s=A_e();o.add("ap-layout"),e==="animate"&&o.add("ap-layout-animates"),setTimeout(()=>o.add("ap-layout-in"),20);let i=()=>{r.removeEventListener("transitionend",i),o.remove("ap-layout-animates"),o.add("ap-layout-finished"),QUe(r),no(),s(n),r?.setAttribute("aria-expanded","true"),r?.focus(),Qe.publish(new $P(!0))};return r.addEventListener("transitionend",i),r}function QUe(e){let t=(()=>{let r=document.querySelector(".ap-layout-finished .content-header");return window.getComputedStyle(r).getPropertyValue("height")})(),o=document.querySelector(".ap-layout-finished #main-column");e.style.top=t,o.style.top=t,o.classList.add("padding-top-none")}function NP(){let e=document.documentElement.classList,t=A_e(),o=document.querySelector(".action-panel");e.remove("ap-layout"),e.remove("ap-layout-animates"),e.remove("ap-layout-in"),e.remove("ap-layout-finished"),no(),t(document.documentElement),mF&&mF.focus(),o?.setAttribute("aria-expanded","false"),Qe.publish(new $P(!1)),document.querySelector("#main-column")?.classList.remove("padding-top-none")}function A_e(){let e=document.querySelector("main");if(!e||!e.children)return()=>{};let t=e.children;for(let o=t.length-1;o>=0;o--){let r=t.item(o);if(r.hasAttribute("hidden"))continue;let{top:n}=r.getBoundingClientRect();if(n<=5||o===0){let s=r.clientWidth;return i=>{r.scrollIntoView(!0),i.scrollTop-=n*s/r.clientWidth}}}return()=>{}}function k_e(){addEventListener("click",e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`.${pF.expandButton}, .${pF.collapseButton}`);t&&(t.classList.contains(pF.expandButton)?xT("animate",t):NP())}),AA.addListener(NP)}function qP(){window.scrollTo(0,0),A.chromeless||(document.getElementById("main-column").scrollTop=0)}var WUe=0,I_e="code-try-",KUe=(()=>{let e=location.hash.split(I_e)[1];if(e===void 0)return-1;let t=parseInt(e,10);return t>=-1?t:-1})(),JUe=()=>WUe++,XUe=e=>e===KUe;function ZUe(e,t){return t==="rtl"?Ve(e).replace(/(^|\s|\>)(C#|F#|C\+\+)(\s*|[.!?;:]*)(\<|[\n\r]|$)/gi,"$1$2‎$3$4"):e}function P_e(e,t){let o=T.createElement("div"),r=JUe(),n=`${I_e}${r}`;if(o.classList.add("codeHeader"),o.setAttribute("id",n),o.setAttribute(Lo.name,"code-header"),o.innerHTML=`${ZUe(e.displayName,t)}`,e.monikers&&o.setAttribute("data-moniker",e.monikers),MP){o.insertAdjacentHTML("beforeend",ST());let a=o.lastElementChild;a.addEventListener("click",()=>{ET(a)&&(TT(e.element.firstElementChild,e.language),a.focus())})}let s=e.interactiveType,i=e.scaffoldingType;if(s&&!(s.flags.requiresStructuredData&&h.data.pageTemplate==="Conceptual")){let a=s.activateButtonConfig;o.insertAdjacentHTML("beforeend",` `);let l=o.lastElementChild;for(let d of a.attributes)l.setAttribute(d.name,d.value);let c=(d,p=!1)=>{p!==!0&&history.replaceState(null,null,`#${n}`),l.classList.add("is-loading"),l.disabled=!0;let m=e.element.textContent.trim(),f;if(h.data.pageTemplate==="ModuleUnit"){let g=T.querySelector("#interactive-container");f=Cf(s,g)}else{let g=xT("animate",l);f=Cf(s,g)}f.setCode(m,i).then(()=>f.execute()).catch(()=>{}).then(()=>{l.classList.remove("is-loading"),l.disabled=!1})};l.addEventListener("click",c),XUe(r)&&c(null,!0)}e.element.classList.remove("loading"),e.element.insertAdjacentElement("beforebegin",o),e.header=o}var u_=e=>e.split(/\n\n/).map(t=>t.split(/[\\`][\s]*$/gm).map(o=>o.trim()).join(" ")).join(` `),e2e={powershell:e=>u_(e.replace(/\bPS [a-z]:\\>\s?/gi,"")),azurecli:u_,azurepowershell:u_,"azurepowershell-interactive":u_,"cloudshell-powershell":u_,ps:u_};function TT(e,t){let r=(e2e[t]||(n=>n))(e.textContent.trim());return Un(r,e)}function ST(){return` `}function ET(e){let t;if(t)return!1;let o=e.querySelector(".successful-copy-alert");return o.classList.remove("is-transparent"),t=!0,Or(Lj,"assertive",1e3),setTimeout(()=>{o.classList.add("is-transparent"),t=!1},1250),!0}async function L_e(e,t=h.data.userLocale){let o=`${D.taxonomy}?${F({name:e,locale:t})}`,r=await P(o);if(r.ok)return(await r.json())[e].map(s=>({value:s.slug,displayName:s.styleGuideLabel||s.label,level:s.level?+s.level:s.level,parent:s?.parentSlug}));throw new so(r)}var fF=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((r,n)=>((!o||n.level===o)&&(r[n.value]=n.displayName),r),{})}async getInternal(t,o){let r=[];try{t in this.cache||(this.cache[t]=L_e(t)),r=await this.cache[t]}catch{delete this.cache[t]}return this.taxonomyTermsToTaxonomyMap(r,o)}},p_=new fF;var R_e="proglang",m_={getDisplayNames:()=>p_.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:t2e(),get preferred(){return(ue.getItem(R_e)||m_.unset).substr(5)},set preferred(e){ue.setItem(R_e,"lang-"+e)}};function t2e(){return h&&h.data&&h.data.defaultDevLang?h.data.defaultDevLang:""}var OP,o2e=0,M_e={};function Af(e){OP===void 0&&r2e();let t={id:o2e++,instructions:e};return OP.postMessage(t),new Promise(o=>M_e[t.id]=o)}function r2e(){let e=location.origin+"/static/third-party/highlight.js/9.15.25/highlight.pack.js",t=new Blob([`(${n2e.toString()})('${e}') //# sourceURL=syntax-highlighter.js`],{type:"application/javascript"}),o=URL.createObjectURL(t);OP=new Worker(o),OP.onmessage=r=>{let n=r.data;M_e[n.id](n.results)}}function n2e(e){function t(l,c){let d=[];if(c===null)return d;let p=/\n/g,m=1;for(;p.exec(l);)m++;let f=/(\d+)(?:\s*-\s*(\d+))?/g,g;for(;g=f.exec(c);){let b=+g[1]-1;if(isNaN(b)||b>=m)continue;let _=g[2]===void 0?b:+g[2]-1;isNaN(_)||_.*<\/rgn>/gi,r=/RGNPLACEHOLDER/g,n="RGNPLACEHOLDER";function s(l,c){return l.replace(o,d=>(c.push(d),n))}function i(l,c){return l.replace(r,()=>c.shift())}function a(l){let{id:c,instructions:d}=l.data,p=[];for(let{language:f,code:g,highlightLines:b}of d){let _={code:g,html:"",success:!1};try{let y=[],x=s(g,y),C=[],L=t(g,b);if(L.length){let O=x.split(` `),ne=0;L.forEach(Ie=>{Ie.start>ne&&C.push({highlight:!1,lines:O.slice(ne,Ie.start).join(` `)}),C.push({highlight:!0,lines:O.slice(Ie.start,Ie.end+1).join(` `)}),ne=Ie.end+1}),ne<=O.length&&C.push({highlight:!1,lines:O.slice(ne).join(` `)})}else C.push({highlight:!1,lines:x});let I=null,q="";do{let O=C.shift(),{value:ne,top:Ie}=hljs.highlight(f,O.lines,!0,I);I=Ie,q+=O.highlight?`${ne}`:`${ne}`,C.length&&(q+=` `)}while(C.length);_.html=i(q,y),_.success=!0}catch{}p.push(_)}let m={id:c,results:p};self.postMessage(m,void 0)}self.importScripts(e),self.addEventListener("message",l=>{a(l)})}function s2e(e,t){for(let o=0;o0){let a=await t.getDisplayNames();for(let l=0;l({language:n.syntaxLanguage,code:n.code,highlightLines:n.highlightLines}));return Af(r).then(n=>{for(let s=0;s{r.element.hidden=!n,r.header&&(r.header.hidden=!n)};for(let r of e){let n=!1;for(let s of r.members){let i=s.visibilityLanguage===t||s.element.classList.toString().indexOf(`lang-${t}`)!==-1;o(s,i),n=n||i}n||o(r.default,!0)}no()}function a2e(e,t,o=location.search){let r=c2e(e,o),n=t.preferred;return n!==t.unset&&e.indexOf(n)!==-1&&(r.length===0||r.indexOf(n)!==-1)?n:t.default!==t.unset&&e.indexOf(t.default)!==-1&&(r.length===0||r.indexOf(t.default)!==-1)?t.default:r.length!==0?r[0]:e[0]}var l2e=["Architecture","Conceptual","FAQ","HowTo","LandingPage","Marketing","ModuleUnit","NamespaceListPage","Question","Reference","Sample","Tutorial"];function FP(){T.querySelectorAll(".cdlHolder .cdlLastVisible").forEach(function(o){o.classList.remove("cdlLastVisible")});let e=bt(),t=T.querySelectorAll(".cdlHolder");Xi(e)&&t.forEach(function(o){let r=o.querySelectorAll(`.cdl[data-moniker~='${e}']:not([hidden]),.cdl:not([data-moniker]):not([hidden])`);r.length>0&&r[r.length-1].classList.add("cdlLastVisible")})}async function gF(e){if(l2e.indexOf(h.data.pageTemplate)===-1)return;let t=Array.from(T.querySelectorAll(".lang-title")),o=Array.from(T.querySelectorAll(".language-selector a")),r=[];if(o.length>0){let c=await m_.getDisplayNames();o.forEach(d=>{h.data.userDir==="rtl"?d.classList.add("justify-content-flex-end"):d.classList.add("justify-content-flex-start");let p=d.dataset.biName.substr(5);d.textContent=c[p],r.push(p)})}let n=o!==null&&r.length>0,s=await i2e(e??T.body,m_,r);if(n){let c=a2e(r,m_),d=T.querySelector('[data-bi-name="lang-'+c+'"]');t.forEach(p=>{p.textContent=d.textContent}),$_e(s,c),FP(),o.forEach(p=>{p===d&&p.setAttribute("aria-selected","true"),qt(p,"click",()=>{o.forEach(f=>{f.setAttribute("aria-selected","false")}),p.setAttribute("aria-selected","true");let m=p.dataset.biName.substr(5);t.forEach(f=>{f.textContent=p.textContent}),m_.preferred=m,$_e(s,m),FP(),vp(),D_e(s,h.data.contentDir)})})}let i=s.flatMap(c=>c.members),a=0;function l(){cancelAnimationFrame(a),a=requestAnimationFrame(()=>N_e(i))}return window.addEventListener("resize",l,{passive:!0}),N_e(i),D_e(s,h.data.contentDir)}function N_e(e){e.forEach(t=>{let{type:o,element:r}=t;if(o!=="precode")return;r.scrollWidth>r.clientWidth?(r.setAttribute("role","group"),r.setAttribute("aria-label",fZ),r.tabIndex=0):(r.removeAttribute("role"),r.removeAttribute("aria-label"),r.removeAttribute("tabindex"))})}function c2e(e,t=location.search){return new URLSearchParams(t).get("devlangs")?.split(",").filter(o=>e.includes(o))??[]}function UP({origin:e,protocol:t,hostname:o,port:r}){return e||(t&&o?`${t}//${o}${r&&r!=="443"&&r!=="80"?":"+r:""}`:location.origin)}function q_e(e,t=h.data.pageTemplate){(t==="Module"||t==="ModuleUnit")&&Array.from(e.querySelectorAll('a[href*="azure-portal=true"]')).forEach(o=>{let r=ee(o.search);delete r["azure-portal"],o.search=F(r),o.target="az-portal",o.classList.add("has-external-link-indicator")})}function HP(e,{compareOrigin:t}={compareOrigin:!0}){let o=e.target instanceof HTMLElement&&e.target.closest("a"),r=!!o&&UP(o)===Q.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:!r}:t&&!r||r&&o.classList.contains(Ns)||r&&/^#lightbox/.test(o.hash)||r&&o.closest("#docs-admin-editor .ProseMirror")||o.classList.contains("following-user-profile")?{anchor:o,shouldHandle:!1,differentOrigin:!r}:{anchor:o,shouldHandle:!0,differentOrigin:!r}}function d2e(e){let t=e.innerText||e.getAttribute("aria-label")||e.title||e.href,o=`${t}`,r=`${e.origin}`,n=wZ.replace("{linkName}",o).replace("{domainName}",r),s=document.createElement("div");s.classList.add("modal-content"),v(u` `,s),new pe(s).show()}function u2e(e,t=`https://${E.azurePortalHostname}`){let{anchor:o,shouldHandle:r,differentOrigin:n}=HP(e,{compareOrigin:!1});if(!o)return!1;let s=UP(o),i=o.closest("#externalLinkModal")!==null,a=s===t,l=s.endsWith(".microsoft.scloud")||s.endsWith(".eaglex.ic.gov")||s.endsWith("-microsoft-scloud.local")||s.endsWith("-eaglex-ic-gov.local");return n&&r&&!a&&!l&&!i}function p2e(e){if(u2e(e)){e.preventDefault();let o=e.target instanceof HTMLElement&&e.target.closest("a");d2e(o)}}function O_e(e=A.externalLinkModal){e&&document.addEventListener("click",p2e)}var hF,m2e="article-header-page-actions",f2e="article-header-page-actions-overflow",F_e="[data-page-action-item]";function bF(e=Array.from(document.querySelectorAll(F_e))){let t=document.getElementById(m2e);if(!t)return;hF&&hF.disconnect(),U_e(e);let o=new MutationObserver(()=>{U_e(Array.from(t.querySelectorAll(F_e)))});o.observe(t,{childList:!0,attributes:!0,attributeFilter:["hidden"],subtree:!0}),hF=o,t.classList.remove("opacity-none")}function g2e(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 U_e(e){let t=document.getElementById(f2e);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 r=!1,n=!1;if(A.skillingPlans){let s=t.querySelector('[data-list-type="plan"]');s&&(s.hidden=!1)}for(let s of e)if(s.dataset.pageActionItem){let i=s.dataset.pageActionItem;if(!i)continue;let a=s.dataset?.checkHidden==="true",l=s.hidden,c=g2e(i);if(c==="overflow-all"&&(!a||!l)){r=!0;break}if(c==="overflow-mobile"&&(!a||!l)){n=!0;continue}}t&&(!r&&n&&(t.classList.add("display-none-tablet"),t.setAttribute("data-reset-required","display-none-tablet")),!r&&!n&&(t.classList.add("display-none"),t.setAttribute("data-reset-required","display-none")))}function _F(e,t,o){let r=[h2e,b2e],n=s=>r.forEach(i=>i({sandbox:s,container:e}));n(o.value),rr(t.subscribe(qs,s=>n(s.sandbox))),qt(window,"content-update",()=>n(o.value))}function H_e(e){let t="data-author-content";return e.hasAttribute(t)||e.setAttribute(t,e.textContent),e.getAttribute(t)}function z_e(e){return e&&e.sandboxType==="AzureSandbox"?e.sandboxData?.resourceGroupName??null:null}function h2e(e){let t=z_e(e.sandbox),o="rgn";Array.from(e.container.querySelectorAll(o)).forEach(r=>{let n=H_e(r);n&&(r.textContent=t??n)})}function b2e(e){let t=z_e(e.sandbox),o="pre > code";Array.from(e.container.querySelectorAll(o)).forEach(r=>{let n=H_e(r);if(!n)return;if(!r.firstElementChild){let i=/([^<]*)<\/rgn>/gi;r.textContent=n.replace(i,t??"$1")}else{if(!t)return;_2e({codeblock:r,authorContent:n,resourceGroupName:t})}})}function _2e(e){let t=e.authorContent.match(/(?<=)([^<]*)(?=<\/rgn>)/g);if(!t||t.length!==1||e.codeblock.innerHTML.includes(e.resourceGroupName))return;let o=t[0],r=e.codeblock.innerHTML.match(o);!r||r.length!==1||(e.codeblock.innerHTML=e.codeblock.innerHTML.replace(o,e.resourceGroupName))}function v2e(){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 kf(e){return/^(?:android|ios|linux|macos|windows)$/.test(e)}var qDt=y2e();function y2e(){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,r=/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)||r.test(t.substr(0,4)))&&(e=!0),e}var yp=v2e(),B_e="preferred-platform";function x2e(){let e=ue.getItem(B_e);return e!==null&&kf(e)?e:null}var zP=x2e();function BP(e){ue.setItem(B_e,e)}var vF=["button-primary","button-filled","is-selected"],T2e=({location:e,allow:t})=>{let o=fp(e).pathname.split("/"),r=t.includes(o[2])?4:3;return o.slice(0,r).join("/")},yF=T2e({location:Q,allow:["previous-versions","archive"]});function xF(){let e=TF();if(!e.length)return Promise.resolve();let t={get(o){return ue.getItem(`zone-pivot${yF}/${o}`)},set(o,r){ue.setItem(`zone-pivot${yF}/${o}`,r)}};return Promise.all([k2e(),ce]).then(([o])=>{let r=document.querySelector(".content .top-alert")??document.querySelector(".content .page-metadata-container")??document.querySelector(".content .page-metadata");r&&w2e(r,e,o,t)})}function TF(){return(k("zone_pivot_groups")||"").split(",").map(e=>e.trim()).filter(e=>e.length)}function S2e(e){document.querySelectorAll(`[data-pivot]${e.map(o=>`:not([data-pivot~='${o}'])`).join("")}`).forEach(o=>{Array.from(o.querySelectorAll("[id]")).forEach(n=>V_e(n))})}var E2e=e=>{e.forEach(t=>{document.querySelectorAll(`[data-pivot~='${t}'] [data-id]`).forEach(s=>{s.id=s.getAttribute("data-id"),s.removeAttribute("data-id")});let r=Array.from(document.querySelectorAll(`[data-pivot~='${t}'] [id]`)).map(s=>s.id);document.querySelectorAll(`[data-pivot]:not([data-pivot~='${t}']) [id]`).forEach(s=>{r.includes(s.id)&&V_e(s)})})};function V_e(e){e.setAttribute("data-id",e.id),e.removeAttribute("id")}function w2e(e,t,o,r){let n=ee().pivots,s=n?n.split(",").map(g=>g.trim().toLowerCase()):[],i=A2e(o,t,s,r,zP||yp),a=document.createElement("style");document.head.appendChild(a),G_e(a,i);let l=t.map(g=>o.find(b=>b.id===g)).filter(g=>g!==void 0);if(l.length===0)return;let c=C2e(e,l,i),d=Array.from(c.querySelectorAll('input[type="radio"]')).map(g=>({input:g,button:g.closest(".button")})),p=()=>{G_e(a,d.filter(g=>g.input.checked).map(g=>g.input.value)),d.forEach(({input:g,button:b})=>{g.checked?(b.classList.add(...vF),b.querySelector(".icon").classList.remove("is-hidden")):(b.classList.remove(...vF),b.querySelector(".icon").classList.add("is-hidden"))})},m=()=>d.forEach(({input:g,button:b})=>{let _=g.matches(":focus-visible")?"add":"remove";b.classList[_]("is-focused")}),f=g=>{let{name:b,value:_}=g.target;r.set(b,_),kf(_)&&BP(_)};qt(c,"change",p),qt(c,"blur",m,!0),qt(c,"focus",m,!0),qt(c,"change",f),rr(()=>a.remove())}function G_e(e,t){e.textContent=` [data-pivot]${t.map(o=>`:not([data-pivot~='${o}'])`).join("")} { display: none !important; }`,S2e(t),E2e(t),vp(),no(),It({pivots:t.join()},"replaceState")}function C2e(e,t,o){let{userDir:r,userLocale:n}=h.data;return e.insertAdjacentHTML("afterend",`
    ${t.map(s=>`
    ${s.prompt}
    ${s.pivots.map(i=>` `).join(` `)}
    `).join(` `)}
    `),e.nextElementSibling}function A2e(e,t,o,r,n){let s=[];for(let i of t){let a=e.find(g=>g.id===i);if(!a)continue;let l=r.get(i),c=a.pivots,d,p,m,f;for(let g of c)f||(f=g.id),!d&&o.indexOf(g.id)!==-1&&(d=g.id),!p&&g.id===l&&(p=g.id),!m&&g.id===n&&(m=g.id);s.push(d||p||m||f)}return s}function k2e(){let e=I2e();return P(e,{credentials:"include"}).then(t=>t.json()).then(t=>t.groups)}function I2e(){let{branch:e}=ee(),t=k("zone_pivot_group_filename")||"zone-pivot-groups.json",o=e?"?"+F({branch:e}):"",r=["nb-no"],n=yF,s=n.split("/")[1];return r.includes(s)&&(n=n.replace(s,"en-us")),`${n}/${t}${o}`}function j_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?"]')),r;try{r=hn(new URL(t.href)?.pathname)}catch{return[]}for(let n of o){let s;try{s=new URL(n.src)}catch{continue}s.searchParams.set("locale",h.data.userLocale),s.searchParams.set("embedUrl",r),n.src=s.toString()}return o??[]}function Y_e(){if(TF().length)return;let t=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")),o=[],r=[];t.map(n=>o.includes(n.id)?r.push(n):o.push(n.id)),r.forEach(n=>{n.removeAttribute("id")})}var VP=e=>{e.forEach(t=>{let o=t.firstElementChild;t.clientWidth{let o=!1;return(...r)=>{o||(o=!0,U.requestAnimationFrame(()=>{e.apply(t,r),o=!1}))}},GP={definitions:["margin-bottom-sm"],nameValue:["table-stacked-mobile"],dataMatrix:["table-complex","margin-top-sm"],attributeList:["table-complex","width-auto"]};function P2e(e){let t=e.classList;if(t.contains("definitions")){e.classList.add(...GP.definitions);let o=Array.from(e.querySelectorAll("th"));for(let r=0;r{let r;e.parentElement.classList.contains("table-wrapper")?r=e.parentElement.previousElementSibling:r=e.previousElementSibling;let n=0;for(;r&&n<5;){if(r.matches("h1,h2,h3,h4,h5,h6"))return ch(r);r=r.previousElementSibling,n++}return Xae.replace("{index}",(t+1).toString())})()}function W_e(e){Array.from(e.querySelectorAll(".content table")).forEach(o=>{let r=Array.from(o.querySelectorAll("thead tr > th")),n=o.querySelector("tbody");if(!n)return;let s=Array.from(n.children);if(R2e(r,s)){for(let i of s){let l=i.firstElementChild;l.firstElementChild.nodeName==="SPAN"?(l.firstElementChild.textContent=l.firstElementChild.textContent,l.lastElementChild.firstElementChild.textContent=l.lastElementChild.firstElementChild.textContent):l.innerHTML=l.firstElementChild.innerHTML;let c=T.createElement("th");c.setAttribute("scope","row"),c.innerHTML=l.innerHTML,l.parentElement.replaceChild(c,l)}r.forEach(i=>{if(i.textContent==="")return;i.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 d=c.parentElement.parentElement.innerHTML.replace("",'').replace("","");c.parentElement.parentElement.innerHTML=d}),a.forEach(c=>{c.innerHTML!==""&&c.setAttribute("scope","col")})})}})}function R2e(e,t){if(!(e.length&&e[0].firstElementChild===null&&e[0].textContent===""))return!1;for(let r of t){let s=r.firstElementChild,i=s.firstElementChild,a=s.lastElementChild;if(s.nodeName!=="TD"||!i||!(s.querySelector(".sxs-lookup")?M2e(i):i===a&&s.textContent.trim()===i.textContent.trim()&&i.nodeName==="STRONG"))return!1}return!0}function M2e(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 D2e(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 d=c.getAttribute("data-moniker");d&&t.setAttribute("data-moniker",d)}}let o=u` `,r=u` `,n=c=>u` `,s,i,a;function l(){if(!s||!i){s=T.createElement("div"),a=e.cloneNode(!0);let c=n(a);v(c,s),i=new pe(s),a&&qt(U,"resize",Q_e(()=>VP([a])),{passive:!0})}i.show(),VP([a])}return v(o,t),t}function SF(e=!1,t){let o=Array.from((t??T).querySelectorAll(".content table"));if(!o.length)return;let r=o.map((n,s)=>{if(s<20&&!n.querySelector("caption")){let a=L2e(n,s);n.setAttribute("aria-label",a)}n.classList.add("table"),(h.data.pageTemplate==="Conceptual"||h.data.pageTemplate==="Reference")&&n.classList.add("table-sm","margin-top-none"),n.classList.length!==1&&P2e(n);let i;if(n.classList.contains("nameValue"))return null;if(n.parentElement.classList.contains("table-wrapper"))i=n.parentElement;else if(i=T.createElement("div"),i.classList.add("table-wrapper","has-inner-focus"),i.tabIndex=0,i.setAttribute("role","group"),i.setAttribute("aria-label",m$),n.parentElement.insertBefore(i,n),i.appendChild(n),!e){let a=D2e(i);i.parentElement&&i.parentElement.insertBefore(a,i)}return i}).filter(n=>n!==null);qt(U,"resize",Q_e(()=>VP(r)),{passive:!0}),VP(r)}function $2e(e){let t='iframe[src^="https://www.microsoft.com"][src*="/videoplayer/"]';return Array.from(e.querySelectorAll(t))}function N2e(e,t,o){let r=t.split("/").pop(),n=new URL(`https://www.microsoft.com/${e}/videoplayer/embed/${r}`);return o&&n.searchParams.set("postJsllMsg","true"),e!=="en-us"&&n.searchParams.set("autoCaptions",e),n.href}function q2e(e,t=window){t.addEventListener("message",o=>{if(o.origin!=="https://www.microsoft.com"||typeof o.data!="string")return;let r;try{r=JSON.parse(o.data)}catch{}!r||typeof r.eventName!="string"||r.eventName.toLowerCase()!=="postjsllmessage"||e(r.data)})}function K_e(){let t=$2e(document.body);for(let o of t){let r=N2e(h.data.userLocale,o.src,!0);o.src!==r&&(o.src=r),o.title=o.title||em}t.length&&q2e(Fe)}function wF(){O2e(),F2e(),U2e(document.body),Y_e(),W_e(document.body),K_e(),j_e(document.body,Q)}function O2e(){let e={TIP:{class:"is-success",docon:"lightbulb",title:Pce},NOTE:{class:"is-info",docon:"status-error-outline",title:Yee},IMPORTANT:{class:"is-primary",docon:"status-info-outline",title:xZ},WARNING:{class:"is-warning",docon:"status-warning-outline",title:Sde},CAUTION:{class:"is-danger",docon:"status-failure-outline",title:xG}};Array.from(document.querySelectorAll(".TIP, .NOTE, .IMPORTANT, .WARNING, .CAUTION")).forEach(o=>{let r=/TIP|NOTE|IMPORTANT|WARNING|CAUTION/.exec(o.className)[0];o.className=`alert ${e[r].class}`;let n=o.firstElementChild;!n||!(n instanceof HTMLParagraphElement)||(n.classList.add("alert-title"),n.textContent=e[r].title,n.insertAdjacentHTML("afterbegin",` `))})}function F2e(){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 U2e(e){Array.from(e.querySelectorAll(".break-text > .xref")).forEach(o=>{if(o.firstElementChild!==null)return;let n=o.parentElement.classList.contains("dots-only")?2:3,s=Zr(o.textContent.replace(//g,">"),n);o.innerHTML=s})}Promise.all([IA,ce]).then(()=>{let e=Array.from(T.querySelectorAll(".contributors img[data-src]"));for(let t of e){let o=new Image;o.onload=function(){t.src=o.src},o.onerror=function(){let r=t.parentElement,n=r.parentElement;r.tagName==="a"&&(t.title=r.getAttribute("title"),n.removeChild(r),n.appendChild(t))},o.src=t.getAttribute("data-src")}});function J_e(){E.reviewFeatures===!0&&Ht&&document.querySelector("html").classList.add("show-deprecation-warning")}function X_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 r=o.parentElement,n=o.getAttribute("aria-expanded")!=="true";o.setAttribute("aria-expanded",n.toString());let s;if(n&&r){r.classList.contains("has-centered-menu")||H2e(r);let i=d=>{d.target instanceof Element&&(!r.contains(d.target)||d.type==="click"&&d.target.closest(".dropdown-menu-close"))&&(s(),d.target.classList.contains("dropdown-menu-close")&&o&&o.focus())},a=d=>{if(d instanceof KeyboardEvent&&d.keyCode===Re.escape){d.stopImmediatePropagation();let m=Array.from(T.querySelectorAll('.dropdown-trigger[aria-expanded="true"]')).pop();m&&(m.setAttribute("aria-expanded","false"),m.focus())}},l=async()=>{T.activeElement?.nodeName?.toLowerCase()==="iframe"&&s()};s=()=>{e.removeEventListener("focus",i),e.removeEventListener("click",i),e.removeEventListener("touchstart",i),e.removeEventListener("keydown",a),U.removeEventListener("blur",l),o&&o.setAttribute("aria-expanded","false")};let c=!0;e.addEventListener("focus",i,c),e.addEventListener("click",i),e.addEventListener("touchstart",i),e.addEventListener("keydown",a),e.addEventListener("collapse-dropdown",d=>{d.stopPropagation(),s()}),U.addEventListener("blur",l)}})}function CF(e){e.dispatchEvent(new CustomEvent("collapse-dropdown",{bubbles:!0}))}function H2e(e){let t=g=>U.getComputedStyle(g).overflowX,o=e.parentElement;for(;o&&o.nodeName!=="BODY"&&t(o)!=="hidden";)o=o.parentElement;if(o===null)return;let r=e.querySelector(".dropdown-trigger"),n=e.querySelector(".dropdown-menu"),s=e.closest(".dropdown-menu")!==null,i=n.classList.contains("is-vertically-scrollable");n.style.left="",n.style.right="",n.style.maxHeight="";let{left:a,right:l}=o.getBoundingClientRect(),{left:c,right:d,top:p,bottom:m}=r.getBoundingClientRect(),f=n.getBoundingClientRect().width;s?(n.style.top="-1px",h.data.userDir==="ltr"?d+f<=l?(n.style.right="0",n.style.transform="translateX(100%)"):(n.style.left="0",n.style.transform="translateX(-100%)"):d-f>=a?(n.style.left="0",n.style.transform="translateX(-100%)"):(n.style.right="0",n.style.transform="translateX(100%)"),i&&(n.style.maxHeight=`${U.innerHeight-p-8}px`)):(h.data.userDir==="ltr"?c+f<=l?n.style.left="0":n.style.right="0":d-f>=a?n.style.right="0":n.style.left="0",i&&(n.style.maxHeight=`${U.innerHeight-m-8}px`))}var sve=Hp(IF());var wT=class extends Error{constructor(t){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="Deprecation"}};var LF=Hp(nve()),z2e=(0,LF.default)(e=>console.warn(e)),B2e=(0,LF.default)(e=>console.warn(e)),Ql=class extends Error{constructor(t,o,r){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.status=o;let n;"headers"in r&&typeof r.headers<"u"&&(n=r.headers),"response"in r&&(this.response=r.response,n=r.response.headers);let s=Object.assign({},r.request);r.request.headers.authorization&&(s.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})),s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),this.request=s,Object.defineProperty(this,"code",{get(){return z2e(new wT("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")),o}}),Object.defineProperty(this,"headers",{get(){return B2e(new wT("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")),n||{}}})}};async function ive(e,t,o,r){if(!o.request||!o.request.request)throw o;if(o.status>=400&&!e.doNotRetry.includes(o.status)){let n=r.request.retries!=null?r.request.retries:e.retries,s=Math.pow((r.request.retryCount||0)+1,2);throw t.retry.retryRequest(o,n,s)}throw o}async function G2e(e,t,o,r){let n=new sve.default;return n.on("failed",function(s,i){let a=~~s.request.request.retries,l=~~s.request.request.retryAfter;if(r.request.retryCount=i.retryCount+1,a>i.retryCount)return l*e.retryAfterBaseValue}),n.schedule(V2e.bind(null,e,t,o),r)}async function V2e(e,t,o,r){let n=await o(o,r);if(n.data&&n.data.errors&&/Something went wrong while executing your query/.test(n.data.errors[0].message)){let s=new Ql(n.data.errors[0].message,500,{request:r,response:n});return ive(e,t,s,r)}return n}var j2e="4.1.3";function RF(e,t){let o=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422],retries:3},t.retry);return o.enabled&&(e.hook.error("request",ive.bind(null,o,e)),e.hook.wrap("request",G2e.bind(null,o,e))),{retry:{retryRequest:(r,n,s)=>(r.request.request=Object.assign({},r.request.request,{retries:n,retryAfter:s}),r)}}}RF.VERSION=j2e;var lve=Hp(IF()),Y2e="5.2.0",MF=()=>Promise.resolve();function Q2e(e,t,o){return e.retryLimiter.schedule(W2e,e,t,o)}async function W2e(e,t,o){let r=o.method!=="GET"&&o.method!=="HEAD",{pathname:n}=new URL(o.url,"http://github.test"),s=o.method==="GET"&&n.startsWith("/search/"),i=n.startsWith("/graphql"),l=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(l.expiration=1e3*60),(r||i)&&await e.write.key(e.id).schedule(l,MF),r&&e.triggersNotification(n)&&await e.notifications.key(e.id).schedule(l,MF),s&&await e.search.key(e.id).schedule(l,MF);let c=e.global.key(e.id).schedule(l,t,o);if(i){let d=await c;if(d.data.errors!=null&&d.data.errors.some(p=>p.type==="RATE_LIMITED"))throw Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:d,data:d.data})}return c}var K2e=["/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}/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 J2e(e){let o=`^(?:${e.map(r=>r.split("/").map(n=>n.startsWith("{")?"(?:.+?)":n).join("/")).map(r=>`(?:${r})`).join("|")})[^/]*$`;return new RegExp(o,"i")}var ave=J2e(K2e),cve=ave.test.bind(ave),f_={},X2e=function(e,t){f_.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),f_.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),f_.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),f_.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function YP(e,t){let{enabled:o=!0,Bottleneck:r=lve.default,id:n="no-id",timeout:s=1e3*60*2,connection:i}=t.throttle||{};if(!o)return{};let a={connection:i,timeout:s};f_.global==null&&X2e(r,a);let l=Object.assign({clustering:i!=null,triggersNotification:cve,minimumSecondaryRateRetryAfter:5,retryAfterBaseValue:1e3,retryLimiter:new r,id:n,...f_},t.throttle),c=typeof l.onAbuseLimit=="function"&&l.onAbuseLimit;if(typeof(c?l.onAbuseLimit: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 d={},p=new r.Events(d);return d.on("secondary-limit",c?function(...m){return e.log.warn("[@octokit/plugin-throttling] `onAbuseLimit()` is deprecated and will be removed in a future release of `@octokit/plugin-throttling`, please use the `onSecondaryRateLimit` handler instead"),l.onAbuseLimit(...m)}:l.onSecondaryRateLimit),d.on("rate-limit",l.onRateLimit),d.on("error",m=>e.log.warn("Error in throttling-plugin limit handler",m)),l.retryLimiter.on("failed",async function(m,f){let[g,b,_]=f.args,{pathname:y}=new URL(_.url,"http://github.test");if(!(y.startsWith("/graphql")&&m.status!==401||m.status===403))return;let C=~~b.retryCount;b.retryCount=C,_.request.retryCount=C;let{wantRetry:L,retryAfter:I=0}=await async function(){if(/\bsecondary rate\b/i.test(m.message)){let q=Math.max(~~m.response.headers["retry-after"],g.minimumSecondaryRateRetryAfter);return{wantRetry:await p.trigger("secondary-limit",q,_,e,C),retryAfter:q}}if(m.response.headers!=null&&m.response.headers["x-ratelimit-remaining"]==="0"){let q=new Date(~~m.response.headers["x-ratelimit-reset"]*1e3).getTime(),O=Math.max(Math.ceil((q-Date.now())/1e3),0);return{wantRetry:await p.trigger("rate-limit",O,_,e,C),retryAfter:O}}return{}}();if(L)return b.retryCount++,I*g.retryAfterBaseValue}),e.hook.wrap("request",Q2e.bind(null,l)),{}}YP.VERSION=Y2e;YP.triggersNotification=cve;function xp(){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})`:""}var Fve=Hp(Sve());function Eve(e){return Object.prototype.toString.call(e)==="[object Object]"}function QP(e){var t,o;return Eve(e)===!1?!1:(t=e.constructor,t===void 0?!0:(o=t.prototype,!(Eve(o)===!1||o.hasOwnProperty("isPrototypeOf")===!1)))}function nHe(e){return e?Object.keys(e).reduce((t,o)=>(t[o.toLowerCase()]=e[o],t),{}):{}}function Ave(e,t){let o=Object.assign({},e);return Object.keys(t).forEach(r=>{QP(t[r])?r in e?o[r]=Ave(e[r],t[r]):Object.assign(o,{[r]:t[r]}):Object.assign(o,{[r]:t[r]})}),o}function wve(e){for(let t in e)e[t]===void 0&&delete e[t];return e}function $F(e,t,o){if(typeof t=="string"){let[n,s]=t.split(" ");o=Object.assign(s?{method:n,url:s}:{url:n},o)}else o=Object.assign({},t);o.headers=nHe(o.headers),wve(o),wve(o.headers);let r=Ave(e||{},o);return e&&e.mediaType.previews.length&&(r.mediaType.previews=e.mediaType.previews.filter(n=>!r.mediaType.previews.includes(n)).concat(r.mediaType.previews)),r.mediaType.previews=r.mediaType.previews.map(n=>n.replace(/-preview/,"")),r}function sHe(e,t){let o=/\?/.test(e)?"&":"?",r=Object.keys(t);return r.length===0?e:e+o+r.map(n=>n==="q"?"q="+t.q.split("+").map(encodeURIComponent).join("+"):`${n}=${encodeURIComponent(t[n])}`).join("&")}var iHe=/\{[^}]+\}/g;function aHe(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function lHe(e){let t=e.match(iHe);return t?t.map(aHe).reduce((o,r)=>o.concat(r),[]):[]}function Cve(e,t){return Object.keys(e).filter(o=>!t.includes(o)).reduce((o,r)=>(o[r]=e[r],o),{})}function kve(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 b_(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function AT(e,t,o){return t=e==="+"||e==="#"?kve(t):b_(t),o?b_(o)+"="+t:t}function h_(e){return e!=null}function DF(e){return e===";"||e==="&"||e==="?"}function cHe(e,t,o,r){var n=e[o],s=[];if(h_(n)&&n!=="")if(typeof n=="string"||typeof n=="number"||typeof n=="boolean")n=n.toString(),r&&r!=="*"&&(n=n.substring(0,parseInt(r,10))),s.push(AT(t,n,DF(t)?o:""));else if(r==="*")Array.isArray(n)?n.filter(h_).forEach(function(i){s.push(AT(t,i,DF(t)?o:""))}):Object.keys(n).forEach(function(i){h_(n[i])&&s.push(AT(t,n[i],i))});else{let i=[];Array.isArray(n)?n.filter(h_).forEach(function(a){i.push(AT(t,a))}):Object.keys(n).forEach(function(a){h_(n[a])&&(i.push(b_(a)),i.push(AT(t,n[a].toString())))}),DF(t)?s.push(b_(o)+"="+i.join(",")):i.length!==0&&s.push(i.join(","))}else t===";"?h_(n)&&s.push(b_(o)):n===""&&(t==="&"||t==="?")?s.push(b_(o)+"="):n===""&&s.push("");return s}function dHe(e){return{expand:uHe.bind(null,e)}}function uHe(e,t){var o=["+","#",".","/",";","?","&"];return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(r,n,s){if(n){let a="",l=[];if(o.indexOf(n.charAt(0))!==-1&&(a=n.charAt(0),n=n.substr(1)),n.split(/,/g).forEach(function(c){var d=/([^:\*]*)(?::(\d+)|(\*))?/.exec(c);l.push(cHe(t,a,d[1],d[2]||d[3]))}),a&&a!=="+"){var i=",";return a==="?"?i="&":a!=="#"&&(i=a),(l.length!==0?a:"")+l.join(i)}else return l.join(",")}else return kve(s)})}function Ive(e){let t=e.method.toUpperCase(),o=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),r=Object.assign({},e.headers),n,s=Cve(e,["method","baseUrl","url","headers","request","mediaType"]),i=lHe(o);o=dHe(o).expand(s),/^http/.test(o)||(o=e.baseUrl+o);let a=Object.keys(e).filter(d=>i.includes(d)).concat("baseUrl"),l=Cve(s,a);if(!/application\/octet-stream/i.test(r.accept)&&(e.mediaType.format&&(r.accept=r.accept.split(/,/).map(d=>d.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")),e.mediaType.previews.length)){let d=r.accept.match(/[\w-]+(?=-preview)/g)||[];r.accept=d.concat(e.mediaType.previews).map(p=>{let m=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${p}-preview${m}`}).join(",")}return["GET","HEAD"].includes(t)?o=sHe(o,l):"data"in l?n=l.data:Object.keys(l).length&&(n=l),!r["content-type"]&&typeof n<"u"&&(r["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(t)&&typeof n>"u"&&(n=""),Object.assign({method:t,url:o,headers:r},typeof n<"u"?{body:n}:null,e.request?{request:e.request}:null)}function pHe(e,t,o){return Ive($F(e,t,o))}function Pve(e,t){let o=$F(e,t),r=pHe.bind(null,o);return Object.assign(r,{DEFAULTS:o,defaults:Pve.bind(null,o),merge:$F.bind(null,o),parse:Ive})}var mHe="7.0.6",fHe=`octokit-endpoint.js/${mHe} ${xp()}`,gHe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":fHe},mediaType:{format:"",previews:[]}},Lve=Pve(null,gHe);var $ve=Hp(Mve());var bHe="6.2.8";function _He(e){return e.arrayBuffer()}function Dve(e){let t=e.request&&e.request.log?e.request.log:console;(QP(e.body)||Array.isArray(e.body))&&(e.body=JSON.stringify(e.body));let o={},r,n;return(e.request&&e.request.fetch||globalThis.fetch||$ve.default)(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect,...e.body&&{duplex:"half"}},e.request)).then(async i=>{n=i.url,r=i.status;for(let a of i.headers)o[a[0]]=a[1];if("deprecation"in o){let a=o.link&&o.link.match(/<([^>]+)>; rel="deprecation"/),l=a&&a.pop();t.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${o.sunset}${l?`. See ${l}`:""}`)}if(!(r===204||r===205)){if(e.method==="HEAD"){if(r<400)return;throw new Ql(i.statusText,r,{response:{url:n,status:r,headers:o,data:void 0},request:e})}if(r===304)throw new Ql("Not modified",r,{response:{url:n,status:r,headers:o,data:await NF(i)},request:e});if(r>=400){let a=await NF(i);throw new Ql(vHe(a),r,{response:{url:n,status:r,headers:o,data:a},request:e})}return NF(i)}}).then(i=>({status:r,url:n,headers:o,data:i})).catch(i=>{throw i instanceof Ql||i.name==="AbortError"?i:new Ql(i.message,500,{request:e})})}async function NF(e){let t=e.headers.get("content-type");return/application\/json/.test(t)?e.json():!t||/^text\/|charset=utf-8$/.test(t)?e.text():_He(e)}function vHe(e){return typeof e=="string"?e:"message"in e?Array.isArray(e.errors)?`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}`:e.message:`Unknown error: ${JSON.stringify(e)}`}function qF(e,t){let o=e.defaults(t);return Object.assign(function(n,s){let i=o.merge(n,s);if(!i.request||!i.request.hook)return Dve(o.parse(i));let a=(l,c)=>Dve(o.parse(o.merge(l,c)));return Object.assign(a,{endpoint:o,defaults:qF.bind(null,o)}),i.request.hook(a,i)},{endpoint:o,defaults:qF.bind(null,o)})}var kT=qF(Lve,{headers:{"user-agent":`octokit-request.js/${bHe} ${xp()}`}});var yHe="5.0.6";function xHe(e){return`Request failed due to following response errors: `+e.errors.map(t=>` - ${t.message}`).join(` `)}var THe=class extends Error{constructor(e,t,o){super(xHe(o)),this.request=e,this.headers=t,this.response=o,this.name="GraphqlResponseError",this.errors=o.errors,this.data=o.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},SHe=["method","baseUrl","url","headers","request","query","mediaType"],EHe=["query","method","url"],Nve=/\/api\/v3\/?$/;function wHe(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 i in o)if(EHe.includes(i))return Promise.reject(new Error(`[@octokit/graphql] "${i}" cannot be used as variable name`))}let r=typeof t=="string"?Object.assign({query:t},o):t,n=Object.keys(r).reduce((i,a)=>SHe.includes(a)?(i[a]=r[a],i):(i.variables||(i.variables={}),i.variables[a]=r[a],i),{}),s=r.baseUrl||e.endpoint.DEFAULTS.baseUrl;return Nve.test(s)&&(n.url=s.replace(Nve,"/api/graphql")),e(n).then(i=>{if(i.data.errors){let a={};for(let l of Object.keys(i.headers))a[l]=i.headers[l];throw new THe(n,a,i.data)}return i.data.data})}function OF(e,t){let o=e.defaults(t);return Object.assign((n,s)=>wHe(o,n,s),{defaults:OF.bind(null,o),endpoint:o.endpoint})}var iNt=OF(kT,{headers:{"user-agent":`octokit-graphql.js/${yHe} ${xp()}`},method:"POST",url:"/graphql"});function qve(e){return OF(e,{method:"POST",url:"/graphql"})}var CHe=/^v1\./,AHe=/^ghs_/,kHe=/^ghu_/;async function IHe(e){let t=e.split(/\./).length===3,o=CHe.test(e)||AHe.test(e),r=kHe.test(e);return{type:"token",token:e,tokenType:t?"app":o?"installation":r?"user-to-server":"oauth"}}function PHe(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function LHe(e,t,o,r){let n=t.endpoint.merge(o,r);return n.headers.authorization=PHe(e),t(n)}var Ove=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(IHe.bind(null,t),{hook:LHe.bind(null,t)})};var Uve="4.2.0",v_=class{constructor(t={}){let o=new Fve.Collection,r={baseUrl:kT.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:o.bind(null,"request")}),mediaType:{previews:[],format:""}};if(r.headers["user-agent"]=[t.userAgent,`octokit-core.js/${Uve} ${xp()}`].filter(Boolean).join(" "),t.baseUrl&&(r.baseUrl=t.baseUrl),t.previews&&(r.mediaType.previews=t.previews),t.timeZone&&(r.headers["time-zone"]=t.timeZone),this.request=kT.defaults(r),this.graphql=qve(this.request).defaults(r),this.log=Object.assign({debug:()=>{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console)},t.log),this.hook=o,t.authStrategy){let{authStrategy:s,...i}=t,a=s(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:i},t.auth));o.wrap("request",a.hook),this.auth=a}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{let s=Ove(t.auth);o.wrap("request",s.hook),this.auth=s}this.constructor.plugins.forEach(s=>{Object.assign(this,s(this,t))})}static defaults(t){return class extends this{constructor(...r){let n=r[0]||{};if(typeof t=="function"){super(t(n));return}super(Object.assign({},t,n,n.userAgent&&t.userAgent?{userAgent:`${n.userAgent} ${t.userAgent}`}:null))}}}static plugin(...t){var o;let r=this.plugins;return o=class extends this{},o.plugins=r.concat(t.filter(s=>!r.includes(s))),o}};v_.VERSION=Uve;v_.plugins=[];var RHe="1.0.4";function FF(e){e.hook.wrap("request",(t,o)=>{e.log.debug("request",o);let r=Date.now(),n=e.request.endpoint.parse(o),s=n.url.replace(o.baseUrl,"");return t(o).then(i=>(e.log.info(`${n.method} ${s} - ${i.status} in ${Date.now()-r}ms`),i)).catch(i=>{throw e.log.info(`${n.method} ${s} - ${i.status} in ${Date.now()-r}ms`),i})})}FF.VERSION=RHe;var MHe="6.1.2";function DHe(e){if(!e.data)return{...e,data:[]};if(!("total_count"in e.data&&!("url"in e.data)))return e;let o=e.data.incomplete_results,r=e.data.repository_selection,n=e.data.total_count;delete e.data.incomplete_results,delete e.data.repository_selection,delete e.data.total_count;let s=Object.keys(e.data)[0],i=e.data[s];return e.data=i,typeof o<"u"&&(e.data.incomplete_results=o),typeof r<"u"&&(e.data.repository_selection=r),e.data.total_count=n,e}function UF(e,t,o){let r=typeof t=="function"?t.endpoint(o):e.request.endpoint(t,o),n=typeof t=="function"?t:e.request,s=r.method,i=r.headers,a=r.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{let l=await n({method:s,url:a,headers:i}),c=DHe(l);return a=((c.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1],{value:c}}catch(l){if(l.status!==409)throw l;return a="",{value:{status:200,headers:{},data:[]}}}}})}}function Hve(e,t,o,r){return typeof o=="function"&&(r=o,o=void 0),zve(e,[],UF(e,t,o)[Symbol.asyncIterator](),r)}function zve(e,t,o,r){return o.next().then(n=>{if(n.done)return t;let s=!1;function i(){s=!0}return t=t.concat(r?r(n.value,i):n.value.data),s?t:zve(e,t,o,r)})}var _Nt=Object.assign(Hve,{iterator:UF});function HF(e){return{paginate:Object.assign(Hve.bind(null,e),{iterator:UF.bind(null,e)})}}HF.VERSION=MHe;var Bve="7.2.3",$He={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],addSelectedRepoToRequiredWorkflow:["PUT /orgs/{org}/actions/required_workflows/{required_workflow_id}/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 /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/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"],createRequiredWorkflow:["POST /orgs/{org}/actions/required_workflows"],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 /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],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}"],deleteRequiredWorkflow:["DELETE /orgs/{org}/actions/required_workflows/{required_workflow_id}"],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"],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}"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/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"],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"],getRepoRequiredWorkflow:["GET /repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}"],getRepoRequiredWorkflowUsage:["GET /repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/timing"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getRequiredWorkflow:["GET /orgs/{org}/actions/required_workflows/{required_workflow_id}"],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 /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],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"],listRepoRequiredWorkflows:["GET /repos/{org}/{repo}/actions/required_workflows"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRequiredWorkflowRuns:["GET /repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/runs"],listRequiredWorkflows:["GET /orgs/{org}/actions/required_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"],listSelectedRepositoriesRequiredWorkflow:["GET /orgs/{org}/actions/required_workflows/{required_workflow_id}/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}"],removeSelectedRepoFromRequiredWorkflow:["DELETE /orgs/{org}/actions/required_workflows/{required_workflow_id}/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"],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"],setSelectedReposToRequiredWorkflow:["PUT /orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"],updateRequiredWorkflow:["PATCH /orgs/{org}/actions/required_workflows/{required_workflow_id}"]},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"],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"],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"]},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:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],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}"],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}"],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"]},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}"],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"],deleteCodespacesBillingUsers:["DELETE /orgs/{org}/codespaces/billing/selected_users"],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"],setCodespacesBilling:["PUT /orgs/{org}/codespaces/billing"],setCodespacesBillingUsers:["POST /orgs/{org}/codespaces/billing/selected_users"],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}"]},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}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},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}"]},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"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],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}"],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"],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"],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"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],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:{cancelImport:["DELETE /repos/{owner}/{repo}/import"],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"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors"],getImportStatus:["GET /repos/{owner}/{repo}/import"],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files"],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"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs"],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],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}"],createInvitation:["POST /orgs/{org}/invitations"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],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"],listBlockedUsers:["GET /orgs/{org}/blocks"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /organizations/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /organizations/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /organizations/{org}/personal-access-token-requests"],listPatGrants:["GET /organizations/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],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"],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}"],reviewPatGrantRequest:["POST /organizations/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /organizations/{org}/personal-access-token-requests"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /organizations/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /organizations/{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"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_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"}],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],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}"],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"],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/deployment"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],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}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_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}"],disableLfsForRepo:["DELETE /repos/{owner}/{repo}/lfs"],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"],enableLfsForRepo:["PUT /repos/{owner}/{repo}/lfs"],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}"],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"],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}"],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}"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_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}"],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"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],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"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],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"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],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}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],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"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],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"],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"],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"],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"]}},NHe=$He,IT=new Map;for(let[e,t]of Object.entries(NHe))for(let[o,r]of Object.entries(t)){let[n,s,i]=r,[a,l]=n.split(/ /),c=Object.assign({method:a,url:l},s);IT.has(e)||IT.set(e,new Map),IT.get(e).set(o,{scope:e,methodName:o,endpointDefaults:c,decorations:i})}var qHe={get({octokit:e,scope:t,cache:o},r){if(o[r])return o[r];let{decorations:n,endpointDefaults:s}=IT.get(t).get(r);return n?o[r]=OHe(e,t,r,s,n):o[r]=e.request.defaults(s),o[r]}};function Gve(e){let t={};for(let o of IT.keys())t[o]=new Proxy({octokit:e,scope:o,cache:{}},qHe);return t}function OHe(e,t,o,r,n){let s=e.request.defaults(r);function i(...a){let l=s.endpoint.merge(...a);if(n.mapToData)return l=Object.assign({},l,{data:l[n.mapToData],[n.mapToData]:void 0}),s(l);if(n.renamed){let[c,d]=n.renamed;e.log.warn(`octokit.${t}.${o}() has been renamed to octokit.${c}.${d}()`)}if(n.deprecated&&e.log.warn(n.deprecated),n.renamedParameters){let c=s.endpoint.merge(...a);for(let[d,p]of Object.entries(n.renamedParameters))d in c&&(e.log.warn(`"${d}" parameter is deprecated for "octokit.${t}.${o}()". Use "${p}" instead`),p in c||(c[p]=c[d]),delete c[d]);return s(c)}return s(...a)}return Object.assign(i,s)}function FHe(e){return{rest:Gve(e)}}FHe.VERSION=Bve;function zF(e){let t=Gve(e);return{...t,rest:t}}zF.VERSION=Bve;var UHe="19.0.7",Vve=v_.plugin(FF,zF,HF).defaults({userAgent:`octokit-rest.js/${UHe}`});var pd=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{}}}();pd.trustedTypes===void 0&&(pd.trustedTypes={createPolicy:(e,t)=>t});var jve={configurable:!1,enumerable:!1,writable:!1};pd.FAST===void 0&&Reflect.defineProperty(pd,"FAST",Object.assign({value:Object.create(null)},jve));var Pf=pd.FAST;if(Pf.getById===void 0){let e=Object.create(null);Reflect.defineProperty(Pf,"getById",Object.assign({value(t,o){let r=e[t];return r===void 0&&(r=o?e[t]=o():null),r}},jve))}var WP=Object.freeze([]);function KP(){let e=new WeakMap;return function(t){let o=e.get(t);if(o===void 0){let r=Reflect.getPrototypeOf(t);for(;o===void 0&&r!==null;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=o===void 0?[]:o.slice(0),e.set(t,o)}return o}}var BF=pd.FAST.getById(1,()=>{let e=[],t=[];function o(){if(t.length)throw t.shift()}function r(i){try{i.call()}catch(a){t.push(a),setTimeout(o,0)}}function n(){let a=0;for(;a1024){for(let l=0,c=e.length-a;le}),GF=Yve,PT=`fast-${Math.random().toString(36).substring(2,8)}`,VF=`${PT}{`,JP=`}${PT}`,Nt=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(GF!==Yve)throw new Error("The HTML policy can only be set once.");GF=e},createHTML(e){return GF.createHTML(e)},isMarker(e){return e&&e.nodeType===8&&e.data.startsWith(PT)},extractDirectiveIndexFromMarker(e){return parseInt(e.data.replace(`${PT}:`,""))},createInterpolationPlaceholder(e){return`${VF}${e}${JP}`},createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder(e){return``},queueUpdate:BF.enqueue,processUpdates:BF.process,nextUpdate(){return new Promise(BF.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 Tp=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 r=o.indexOf(t);r!==-1&&o.splice(r,1)}}notify(t){let o=this.spillover,r=this.source;if(o===void 0){let n=this.sub1,s=this.sub2;n!==void 0&&n.handleChange(r,t),s!==void 0&&s.handleChange(r,t)}else for(let n=0,s=o.length;n{let e=/(:|&&|\|\||if)/,t=new WeakMap,o=Nt.queueUpdate,r,n=c=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function s(c){let d=c.$fastController||t.get(c);return d===void 0&&(Array.isArray(c)?d=n(c):t.set(c,d=new y_(c))),d}let i=KP();class a{constructor(d){this.name=d,this.field=`_${d}`,this.callback=`${d}Changed`}getValue(d){return r!==void 0&&r.watch(d,this.name),d[this.field]}setValue(d,p){let m=this.field,f=d[m];if(f!==p){d[m]=p;let g=d[this.callback];typeof g=="function"&&g.call(d,f,p),s(d).notify(this.name)}}}class l extends Tp{constructor(d,p,m=!1){super(d,p),this.binding=d,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(d,p){this.needsRefresh&&this.last!==null&&this.disconnect();let m=r;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let f=this.binding(d,p);return r=m,f}disconnect(){if(this.last!==null){let d=this.first;for(;d!==void 0;)d.notifier.unsubscribe(this,d.propertyName),d=d.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(d,p){let m=this.last,f=s(d),g=m===null?this.first:{};if(g.propertySource=d,g.propertyName=p,g.notifier=f,f.subscribe(this,p),m!==null){if(!this.needsRefresh){let b;r=void 0,b=m.propertySource[m.propertyName],r=this,d===b&&(this.needsRefresh=!0)}m.next=g}this.last=g}handleChange(){this.needsQueue&&(this.needsQueue=!1,o(this))}call(){this.last!==null&&(this.needsQueue=!0,this.notify(this))}records(){let d=this.first;return{next:()=>{let p=d;return p===void 0?{value:void 0,done:!0}:(d=d.next,{value:p,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(c){n=c},getNotifier:s,track(c,d){r!==void 0&&r.watch(c,d)},trackVolatile(){r!==void 0&&(r.needsRefresh=!0)},notify(c,d){s(c).notify(d)},defineProperty(c,d){typeof d=="string"&&(d=new a(d)),i(c).push(d),Reflect.defineProperty(c,d.name,{enumerable:!0,get:function(){return d.getValue(this)},set:function(p){d.setValue(this,p)}})},getAccessors:i,binding(c,d,p=this.isVolatileBinding(c)){return new l(c,d,p)},isVolatileBinding(c){return e.test(c.toString())}})});function K(e,t){bo.defineProperty(e,t)}var Qve=Pf.getById(3,()=>{let e=null;return{get(){return e},set(t){e=t}}}),Sp=class{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return Qve.get()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}static setEvent(t){Qve.set(t)}};bo.defineProperty(Sp.prototype,"index");bo.defineProperty(Sp.prototype,"length");var Oo=Object.seal(new Sp);var Wl=class{constructor(){this.targetIndex=0}},x_=class extends Wl{constructor(){super(...arguments),this.createPlaceholder=Nt.createInterpolationPlaceholder}},XP=class extends Wl{constructor(t,o,r){super(),this.name=t,this.behavior=o,this.options=r}createPlaceholder(t){return Nt.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}};function HHe(e,t){this.source=e,this.context=t,this.bindingObserver===null&&(this.bindingObserver=bo.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function zHe(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function BHe(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function GHe(){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 VHe(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function jHe(e){Nt.setAttribute(this.target,this.targetName,e)}function YHe(e){Nt.setBooleanAttribute(this.target,this.targetName,e)}function QHe(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 WHe(e){this.target[this.targetName]=e}function KHe(e){let t=this.classVersions||Object.create(null),o=this.target,r=this.version||0;if(e!=null&&e.length){let n=e.split(/\s+/);for(let s=0,i=n.length;sNt.createHTML(o(r,n))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=YHe;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=zHe,this.unbind=VHe;break;default:this.cleanedTargetName=t,t==="class"&&(this.updateTarget=KHe);break}}targetAtContent(){this.updateTarget=QHe,this.unbind=GHe}createBehavior(t){return new jF(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}},jF=class{constructor(t,o,r,n,s,i,a){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=o,this.isBindingVolatile=r,this.bind=n,this.unbind=s,this.updateTarget=i,this.targetName=a}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){Sp.setEvent(t);let o=this.binding(this.source,this.context);Sp.setEvent(null),o!==!0&&t.preventDefault()}};var YF=null,QF=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(){YF=this}static borrow(t){let o=YF||new e;return o.directives=t,o.reset(),YF=null,o}};function JHe(e){if(e.length===1)return e[0];let t,o=e.length,r=e.map(i=>typeof i=="string"?()=>i:(t=i.targetName||t,i.binding)),n=(i,a)=>{let l="";for(let c=0;ca),c.targetName=i.name):c=JHe(l),c!==null&&(t.removeAttributeNode(i),n--,s--,e.addFactory(c))}}function ZHe(e,t,o){let r=Kve(e,t.textContent);if(r!==null){let n=t;for(let s=0,i=r.length;s0}let o=this.fragment.cloneNode(!0),r=this.viewBehaviorFactories,n=new Array(this.behaviorCount),s=Nt.createTemplateWalker(o),i=0,a=this.targetOffset,l=s.nextNode();for(let c=r.length;i=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function J(e,...t){let o=[],r="";for(let n=0,s=e.length-1;nl}if(typeof a=="function"&&(a=new Lf(a)),a instanceof x_){let l=eze.exec(i);l!==null&&(a.targetName=l[2])}a instanceof Wl?(r+=a.createPlaceholder(o.length),o.push(a)):r+=a}return r+=e[e.length-1],new ZP(r,o)}var Fs=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}};Fs.create=(()=>{if(Nt.supportsAdoptedStyleSheets){let e=new Map;return t=>new KF(t,e)}return e=>new JF(e)})();function XF(e){return e.map(t=>t instanceof Fs?XF(t.styles):[t]).reduce((t,o)=>t.concat(o),[])}function Xve(e){return e.map(t=>t instanceof Fs?t.behaviors:null).reduce((t,o)=>o===null?t:(t===null&&(t=[]),t.concat(o)),null)}var Zve=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},eye=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(o=>t.indexOf(o)===-1)};if(Nt.supportsAdoptedStyleSheets)try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Zve=(e,t)=>{e.adoptedStyleSheets.push(...t)},eye=(e,t)=>{for(let o of t){let r=e.adoptedStyleSheets.indexOf(o);r!==-1&&e.adoptedStyleSheets.splice(r,1)}}}catch{}var KF=class extends Fs{constructor(t,o){super(),this.styles=t,this.styleSheetCache=o,this._styleSheets=void 0,this.behaviors=Xve(t)}get styleSheets(){if(this._styleSheets===void 0){let t=this.styles,o=this.styleSheetCache;this._styleSheets=XF(t).map(r=>{if(r instanceof CSSStyleSheet)return r;let n=o.get(r);return n===void 0&&(n=new CSSStyleSheet,n.replaceSync(r),o.set(r,n)),n})}return this._styleSheets}addStylesTo(t){Zve(t,this.styleSheets),super.addStylesTo(t)}removeStylesFrom(t){eye(t,this.styleSheets),super.removeStylesFrom(t)}},tze=0;function oze(){return`fast-style-class-${++tze}`}var JF=class extends Fs{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=Xve(t),this.styleSheets=XF(t),this.styleClass=oze()}addStylesTo(t){let o=this.styleSheets,r=this.styleClass;t=this.normalizeTarget(t);for(let n=0;n{r.add(t);let n=t[this.fieldName];switch(o){case"reflect":let s=this.converter;Nt.setAttribute(t,this.attribute,s!==void 0?s.toView(n):n);break;case"boolean":Nt.setBooleanAttribute(t,this.attribute,n);break}r.delete(t)})}static collect(t,...o){let r=[];o.push(tye.locate(t));for(let n=0,s=o.length;n1&&(o.property=s),tye.locate(n.constructor).push(o)}if(arguments.length>1){o={},r(e,t);return}return o=e===void 0?{}:e,r}var oye={mode:"open"},rye={},ZF=Pf.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)}})}),Rf=class{constructor(t,o=t.definition){typeof o=="string"&&(o={name:o}),this.type=t,this.name=o.name,this.template=o.template;let r=eL.collect(t,o.attributes),n=new Array(r.length),s={},i={};for(let a=0,l=r.length;a0){let s=this.boundObservables=Object.create(null);for(let i=0,a=n.length;i0||o>0;){if(t===0){n.push(oU),o--;continue}if(o===0){n.push(rU),t--;continue}let s=e[t-1][o-1],i=e[t-1][o],a=e[t][o-1],l;i=0){e.splice(a,1),a--,i-=l.addedCount-l.removed.length,n.addedCount+=l.addedCount-c;let d=n.removed.length+l.removed.length-c;if(!n.addedCount&&!d)s=!0;else{let p=l.removed;if(n.indexl.index+l.addedCount){let m=n.removed.slice(l.index+l.addedCount-n.index);aye.apply(p,m)}n.removed=p,l.indexr?o=r-e.addedCount:o<0&&(o=r+e.removed.length+o-e.addedCount),o<0&&(o=0),e.index=o,e}var iU=class extends Tp{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,Nt.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,Nt.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 r=o===void 0?dye(this.source,t):nU(this.source,0,this.source.length,o,0,o.length);this.notify(r)}};function pye(){if(uye)return;uye=!0,bo.setArrayObserverFactory(l=>new iU(l));let e=Array.prototype;if(e.$fastPatch)return;Reflect.defineProperty(e,"$fastPatch",{value:1,enumerable:!1});let t=e.pop,o=e.push,r=e.reverse,n=e.shift,s=e.sort,i=e.splice,a=e.unshift;e.pop=function(){let l=this.length>0,c=t.apply(this,arguments),d=this.$fastController;return d!==void 0&&l&&d.addSplice(Zi(this.length,[c],0)),c},e.push=function(){let l=o.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(sU(Zi(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 d=r.apply(this,arguments);return c!==void 0&&c.reset(l),d},e.shift=function(){let l=this.length>0,c=n.apply(this,arguments),d=this.$fastController;return d!==void 0&&l&&d.addSplice(Zi(0,[c],0)),c},e.sort=function(){let l,c=this.$fastController;c!==void 0&&(c.flush(),l=this.slice());let d=s.apply(this,arguments);return c!==void 0&&c.reset(l),d},e.splice=function(){let l=i.apply(this,arguments),c=this.$fastController;return c!==void 0&&c.addSplice(sU(Zi(+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(sU(Zi(0,[],arguments.length),this)),l}}var aU=class{constructor(t,o){this.target=t,this.propertyName=o}bind(t){t[this.propertyName]=this.target}unbind(){}};function Ep(e){return new XP("fast-ref",aU,e)}var lU=e=>typeof e=="function";var mze=()=>null;function mye(e){return e===void 0?mze:lU(e)?e:()=>e}function Ue(e,t,o){let r=lU(e)?e:()=>e,n=mye(t),s=mye(o);return(i,a)=>r(i,a)?n(i,a):s(i,a)}var fye=Object.freeze({positioning:!1,recycle:!0});function fze(e,t,o,r){e.bind(t[o],r)}function gze(e,t,o,r){let n=Object.create(r);n.index=o,n.length=t.length,e.bind(t[o],n)}var cU=class{constructor(t,o,r,n,s,i){this.location=t,this.itemsBinding=o,this.templateBinding=n,this.options=i,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=fze,this.itemsBindingObserver=bo.binding(o,this,r),this.templateBindingObserver=bo.binding(n,this,s),i.positioning&&(this.bindView=gze)}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=WP;return}let o=this.itemsObserver,r=this.itemsObserver=bo.getNotifier(this.items),n=o!==r;n&&o!==null&&o.unsubscribe(this),(n||t)&&r.subscribe(this)}updateViews(t){let o=this.childContext,r=this.views,n=this.bindView,s=this.items,i=this.template,a=this.options.recycle,l=[],c=0,d=0;for(let p=0,m=t.length;p0?(b<=C&&x.length>0?(q=x[b],b++):(q=l[c],c++),d--):q=i.create(),r.splice(_,0,q),n(q,s,_,o),q.insertBefore(I)}x[b]&&l.push(...x.slice(b))}for(let p=c,m=l.length;pt;return new dU(e,r,Object.assign(Object.assign({},fye),o))}var hze=tU` .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 gye(e,t,o,r){let n=["default-focus","button","font-weight-semibold","modal-close"],s=typeof t=="function"?t(e):t;s.classes&&n.push("button-filled");let i=new Set([...s.classes??[],...n]);if(s.url)return J` ${s.label} `;let a=s.object?`${s.action} - ${s.object}`:`${s.action}}`;return J` `}function bze({message:e,title:t,confirmButton:o,cancelButton:r,align:n}){let s=i=>({action:nt,label:nt,...typeof r=="function"?r(i):r});return J` ${Ue(i=>i.visible,J``)} `}var rL=class extends iye{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(){Nt.queueUpdate(()=>{let o=document.getElementsByClassName("default-focus")[0];o&&o.focus();let r=".modal-close, .modal-card .button",n=document.querySelector(".modal-card");if(!n)return;let s=n.querySelectorAll(r),i=s[0],a=s[s.length-1];document.addEventListener("keydown",l=>{(l.key==="Tab"||l.keyCode===9)&&(l.shiftKey?(document.activeElement===i||s.length===1)&&(a.focus(),l.preventDefault()):(document.activeElement===a||s.length===1)&&(i.focus(),l.preventDefault()))})})}hideVerticalScrollbar(){document.getElementsByTagName("html")[0].style.overflowY="hidden"}showVerticalScrollbar(){document.getElementsByTagName("html")[0].removeAttribute("style")}};j([K],rL.prototype,"visible",2);var nL=class extends rL{showModal(o,r,n){this.visible=!0,this.hideVerticalScrollbar(),this.confirmCallback=o,this.cancelCallback=r,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 hye(e,t,o){return nL.define(class extends nL{},{name:e,template:bze(o),styles:hze,shadowOptions:null,attributes:t??[]})}function sL(e,t){if(typeof e!="string"){let r=e;e="";for(let n in r)e+=r[n]+"
    "}hye("error-modal",[],{message:J`

    ${e}

    `,title:"",confirmButton:t,align:"center"});let o=document.getElementsByTagName("error-modal")[0]||document.createElement("error-modal");o.id="error-modal",document.body.appendChild(o),o.showModal()}function iL(...e){let t=a=>[...a].join("/"),o=(a,...l)=>{let c=new URLSearchParams;for(let d of l)a.searchParams.has(d)&&c.set(d,a.searchParams.get(d)??"");return c},r=new URL(location.href),n=o(r,"branch","themebranch","branchFallbackFrom","pr"),s=n.toString()!==""?"?"+n.toString():"",i=`/${h.data.userLocale}/editor/`+t(e)+s;return new URL(i,r)}function bye(e){e||(e=iL());let t="";return E.supportLevel==="development"&&E.accessLevel==="online"&&location.hostname.startsWith("pr")?t="630f400e5ecc44019564":E.supportLevel==="development"&&E.accessLevel==="online"?t="3e1dd7a2769cc245c17d":t="7f9273caa02d97194b28",`${D.githubOAuth}?client_id=${t}&scope=repo%20read:org%20workflow&redirect_uri=${encodeURIComponent(e.href)}`}var _ze=Vve.plugin(RF,YP),vze={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.")}},yze={doNotRetry:[429,409,404]};function _ye(){let e=localStorage.getItem("gitHubToken");return e?JSON.parse(e):null}var xze=()=>{localStorage.removeItem("gitHubToken"),location.href=bye()};async function vye(e){let t=new _ze({auth:e,retry:yze,throttle:vze});try{return(await t.users.getAuthenticated({headers:{"If-None-Match":""}})).data.login}catch(o){throw sL({message:p6},{label:h6,action:"",object:"",classes:["button-primary renew-github-token"]}),document.addEventListener("confirm",n=>xze()),Tze({message:o.toString(),function:"getAuthenticatedUser"}),o}}async function yye(){let e={method:"GET"},t=await P(N(`${D.buildAuthAdmin}/opensource/link/github`,e,!0));return W(t),t.ok?await t.json():null}var aL=`pageInfo { endCursor hasNextPage hasPreviousPage startCursor }`,uU=`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 } ${aL} totalCount } head: headRef { name prefix repository { name nameWithOwner owner { login } } } isDraft merged mergedAt repository { name nameWithOwner owner { login } } state updatedAt url } }`,pU=`rateLimit { cost limit nodeCount remaining resetAt used }`,Yqt=`query Drafts ($draftsQuery:String!, $inReviewQuery:String!, $closedQuery:String!, $first:Int, $after:String) { drafts: search(query: $draftsQuery, type: ISSUE, first: $first, after: $after) { totalCount: issueCount ${uU} ${aL} } inReview: search(query: $inReviewQuery, type: ISSUE) { totalCount: issueCount } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${pU} }`,Qqt=`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, ${uU} ${aL} } closed: search(query: $closedQuery, type: ISSUE) { totalCount: issueCount } ${pU} }`,Wqt=`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 ${uU} ${aL} } ${pU} }`;function Tze(e){Fe({actionType:He.OTHER,behavior:ye.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",...e}})}var Sze=/https:\/\/github.com\/(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*\.[a-zA-Z]+)([?])?/;function xye(e,t=Sze){let o="",r="",n="",s="";try{let i=t.exec(e);i&&i.length>1&&(o=i[1]??""),i&&i.length>2&&(r=i[2]??""),i&&i.length>3&&(s=i[4]??""),i&&i.length>4&&(n=i[5]??"")}catch(i){sL(u6),Fe({actionType:He.OTHER,behavior:ye.OTHER,content:{section:"admin-editor",type:"error",event:"Exception",message:i}})}return{owner:o,repo:r,path:n,branch:s}}async function mU(e){let t=await P(e,{credentials:"include",redirect:"follow"});if(!t.ok)throw new Error(`Unexpected response status ${t.status} for ${e}`);let o=await t.text(),n=new DOMParser().parseFromString(o,"text/html");return{url:new URL(t.url||e,location.origin),document:n}}function Tye(e){return Array.from(e?.querySelectorAll("meta")??[]).reduce((t,o)=>{let r=(o.name||o?.getAttribute("property"))??"";return t[r]=o.content,t},{})}var fU={template:"",forkUrl:"",branch:"",path:"",repo:"",owner:"",originalContent:""};function Sye(e){let t="",o="",r="",n="",s="",a=Tye(e)?.original_content_git_url??"";({branch:n,path:s,repo:r,owner:o}=xye(a)),fU={template:"",forkUrl:"",branch:n,path:s,repo:r,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 d=l?.getAttribute("data-pr_repo")??"",p=l?.getAttribute("data-pr_branch")??"";d&&p&&(t=c.replace("{repo}",d).replace("{branch}",p),[o,r]=(l?.getAttribute("data-pr_repo")??"")?.split("github.com/")?.pop()?.split("/")??["",""]);let m=c?.split("{branch}/")?.pop()??"";(l?.getAttribute("data-pr_branch")??"")&&(n=l?.getAttribute("data-pr_branch")??""),fU={template:c,forkUrl:t,branch:n,path:m,repo:r,owner:o,originalContent:a}}}return fU}function Eye(e,t,o,r){return u` `}function wye(e,t){let o=f6,r=g6,n="",s=t.getAttribute("href")||"";switch(t.removeAttribute("href"),e){case 0:o=o.replace("{name}",om),r=r.replace("{name}",om).replace("{href}","https://learn.microsoft.com/en-us/contribute/");break;case 1:o=o.replace("{name}",om),r=r.replace("{name}",om).replace("{href}","https://review.learn.microsoft.com/en-us/help/get-started/?branch=main&tabs=learn");break;case 2:o=o.replace("{name}",om),r=r.replace("{name}",om).replace("{href}","https://review.learn.microsoft.com/en-us/help/get-started/?branch=main&tabs=learn"),n=m6;break;case 3:o=o.replace("{name}",bC),r=r.replace("{name}",bC).replace("{href}","https://review.learn.microsoft.com/en-us/help/get-started/?branch=main&tabs=learn"),s=Eze().toString();break}return{title:o,description:r,link:s,moreInfo:n}}function Eze(){let e=_g(document),t=e.persistent_id||"",o=e.monikers??"",{owner:r,repo:n,branch:s,path:i}=Sye(document);return iL(`${r}/${n}/${encodeURIComponent(i)}/${encodeURIComponent(s)}${t?`/${t}/${o??""}`:""}`)}function Mf(e){let t=md(),o=Df(),r=wze(),n=LT();return{locale:e,SkipVerification:t,SnapshotVersion:o,ShowAllQuestions:r,AccommodationRequested:n}}function md(){let e="false";if(["AppliedSkills","AppliedSkillsAssessment","AppliedSkillsAssessmentReport"].find(t=>t===h.data.pageTemplate))return ee()["skip-verification"];if(A.stayCurrentAllowParam||A.practiceAssessmentsAllowParam){let t=ee()["skip-verification"];t===void 0||t.length&&t.toLowerCase()==="false"?e="false":e="true"}return e}function Df(){let e="live";if(A.stayCurrentAllowParam||A.practiceAssessmentsAllowParam){let t=ee()["snapshot-version"];t!==void 0&&t.toLowerCase()==="live"?e="live":e="preview"}return e}function wze(){let e="false";if(A.stayCurrentAllowParam||A.practiceAssessmentsAllowParam){let t=ee()["show-all-questions"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function LT(){let{accommodationRequested:e}=ee();if(A.stayCurrentAllowParam){let t=ee()["accommodation-requested"];t!==void 0&&t.toLowerCase()==="true"?e="true":e="false"}return e}function Cye(){let e=!1;if(A.stayCurrentAllowParam||A.practiceAssessmentsAllowParam){let t=ee()["omit-scoring"];t!==void 0&&t.toLowerCase()==="true"?e=!0:e=!1}return e}function Aye(e){return e.reduce((t,o,r,n)=>t.concat(`examId=${o}${r===n.length-1?"":"&"}`),"")}function Fo(e,t){return Math.round(Math.max(0,Math.min(1,e/t))*100)}var gU={Passed:"Passed",Failed:"Failed"};var hU=class{constructor(t){let r=_t(t,["assessmentId","choiceIds","questionId","questionnaireId"]);this.assessmentId=mr(r.assessmentId),this.choiceIds=r.choiceIds,this.questionId=mr(r.questionId),this.questionnaireId=mr(r.questionnaireId)}},bU=class{constructor(t){this.userChoices=t.map(o=>new hU(o))}},_U=class{constructor(t,o,r){let s=_t(t,["activityLog","id","isCorrect","questionnaireId","text","textHTML"]),i=["createdAtUTC"],a=_t(s.activityLog,i);this.id=s.id,this.createdAtUTC=a.createdAtUTC,this.isCorrect=s.isCorrect,this.locale=r,this.questionId=o,this.questionnaireId=s.questionnaireId,this.text=s.text,this.textHtml=s.textHTML}},RT=class{constructor(t,o,r){this.choices=_n(t.map(n=>new _U(n,o,r)))}},lL=class{constructor(t,o){let n=_t(t,["activityLog","id","choices","choiceCount","questionnaireId","text","type"]),s=["createdAtUTC"],i=_t(n.activityLog,s);this.id=n.id,this.createdAtUTC=i.createdAtUTC,this.choices=new RT(n.choices,n.id,o).choices,this.choiceCount=n.choiceCount,this.locale=o,this.questionnaireId=n.questionnaireId,this.text=n.text,this.type=n.type,n.rationale&&(this.rationale=n.rationale),n.rationaleHTML&&(this.rationaleHtml=n.rationaleHTML),n.textHTML&&(this.textHtml=n.textHTML)}},vU=class{constructor(t,o){this.questions=t.map(r=>new lL(r,o))}},yU=class{constructor(t){let r=_t(t,["activityLog","id","questions","questionsToPass","questionsToTake","title","totalQuestionCount"]),n=["createdAtUTC"],s=_t(r.activityLog,n);this.id=r.id,this.createdAtUTC=s.createdAtUTC,this.questions=new vU(r.questions,r.locale).questions,this.questionCount=r.totalQuestionCount,this.questionsToPass=r.questionsToPass,this.questionsToTake=r.questionsToTake,this.title=r.title,r.name&&(this.name=r.name)}},xU=class{constructor(t){this.questionnaires=t.map(o=>new yU(o))}},MT=class{constructor(t){let r=_t(t,["assessmentVersion","docsId","id","linkedContent","locale","name","startTime","userChoices","userResponseUpdatedAt"]),n=["linkedContentId","linkedContentTitle"],s=_t(r.linkedContent,n);this.examId=s.linkedContentId,this.locale=r.locale,this.questionnaires=new xU(r.questionnaires).questionnaires,this.sessionUid=r.id.toString(),this.title=s.linkedContentTitle,this.userChoices=new bU(r.userChoices).userChoices,this.userId=r.docsId,this.userSessionDate=new Date(r.userResponseUpdatedAt),this.userSessionStart=new Date(r.startTime),this.version=r.assessmentVersion.toString(),r.name&&(this.name=r.name)}},TU=class{constructor(t){let r=_t(t,["endTime","id","questionTotal","questionsAnsweredCorrectly","questionsToPass"]);this.answersCorrect=r.questionsAnsweredCorrectly,this.correctPercent=Fo(r.questionsAnsweredCorrectly,r.questionTotal),this.questionsToPass=r.questionsToPass,this.questionsTotal=r.questionTotal,this.passed=r.questionsAnsweredCorrectly>=r.questionsToPass,this.passingPercent=Fo(r.questionsToPass,r.questionTotal),this.scoredAt=r.endTime,this.snapshotId=r.id.toString()}},cL=class{constructor(t){let r=_t(t,["previousAttempts"]);this.certificationExpiration=r.certificationExpiration,this.certificationPartOfStayCurrent=r.certificationPartOfStayCurrent,this.dateEarned=r.dateEarned,this.eligibleForRecertification=r.eligibleForRecertification,this.mcIdLinked=r.mcIdLinked,this.previousAttempts=r.previousAttempts.length?r.previousAttempts.map(n=>new TU(n)):[],this.snapshotEligibleDate=r.snapshotEligibleDate,this.studyGuide=r.studyGuide,this.timer=r.timer}},SU=class{constructor(t){let o=_t(t.actionItem,["id","type"]),r=void 0,n=t.questionnaireUid,s="Module",i=mr(o.id);this.data=r,this.questionnaireUid=n,this.type=s,this.uid=i}},EU=class{constructor(t){let o=t.actionItems.map(r=>new SU({questionnaireUid:t.questionnaireUid,actionItem:r}));this.studyGuideItems=o}},wU=class{constructor(t){let o=_t(t,["id","text","textHTML"]),r=mr(zo(o.id)),n=Qo(o.text),s=Qo(o.textHTML);this.id=r,this.text=n,this.textHtml=s}},CU=class{constructor(t){let o=_n(t).map(r=>new wU(r));this.choices=o}},AU=class{constructor(t){let o=_t(t.question,["choices","id","text","type"]),r=mr(zo(o.id)),n=new CU(o.choices).choices,s=Qo(o.textHTML),i=`${t.questionnaireId}.${t.questionSetId}.${r}`,a=o.manualId,l=Qo(o.type),c=o.rationale,d=Qo(o.text),p=r;this.choices=n,this.description=s,this.fullyQualifiedId=i,this.manualId=a,this.questionType=l,this.rationale=c,this.title=d,this.uid=p}},kU=class{constructor(t){let o=_n(t.questions).map(r=>new AU({questionnaireId:t.questionnaireId,questionSetId:t.questionSetId,question:r}));this.questions=o}},IU=class{constructor(t){let o=_t(t.questionSet,["id","questions","text","textHTML"]),r=mr(zo(o.id)),n=Qo(o.textHTML),s=new kU({questionnaireId:t.questionnaireId,questionSetId:r,questions:o.questions}).questions,i=Qo(o.text),a=r;this.description=n,this.questions=s,this.title=i,this.uid=a}},PU=class{constructor(t){let o=_n(t.questionSets).map(r=>new IU({questionnaireId:t.questionnaireId,questionSet:r}));this.questionSets=o}},LU=class{constructor(t){let o=_t(t,["id","questionSets","questionsToPass","title"]),r=mr(zo(o.id)),n=new PU({questionnaireId:r,questionSets:t.questionSets}).questionSets,s=zo(o.questionsToPass),i=Qo(o.title);this.questionSets=n,this.questionsToPass=s,this.title=i,this.uid=r}},RU=class{constructor(t){let o=_n(t).map(r=>new LU(r));this.questionnaires=o}},MU=class{constructor(t){let o=_t(t.questionnaireSession,["score"]),r=_t(o.score,["actionItems","questionsAnsweredCorrectly","questionsToPass","questionsToTake","questionnaireId"]),n=zo(r.questionsAnsweredCorrectly),s=zo(r.questionsToPass),i=zo(r.questionsToTake),a=mr(zo(o.questionnaireId)),l=Fo(n,i),c=r.resultStatus===gU.Passed,d=Fo(s,i),p=s,m=i,f=new EU({questionnaireUid:a,actionItems:r.actionItems}).studyGuideItems,g=Qo(r.title);this.questionnaireUid=a,this.answersCorrect=n,this.correctPercent=l,this.passed=c,this.passingPercent=d,this.questionsToPass=p,this.questionsTotal=m,this.studyGuide=f,this.title=g}},DU=class{constructor(t){let o=t.questionnaireSessions.map(r=>new MU({questionnaireSession:r}));this.questionnaireSessions=o}},dL=class{constructor(t){let o=_t(t,["assessmentId","docsId","expirationTime","id","linkedContent","questionnaires","questionsToPass","startTime"]),r=_t(o.linkedContent,["linkedContentTitle","linkedContentIconURL","linkedContentId"]),n=Qo(r.linkedContentIconURL),s=r.linkedContentName,i=Qo(r.linkedContentId),a=Qo(o.startTime),l=Qo(o.docsId),c=mr(zo(o.id)),d=Qo(o.locale),p=o.manualId,m=new RU(_n(o.questionnaires)).questionnaires,f=zo(o.questionsToPass),g=mr(zo(o.assessmentId)),b=kue(Iy(o.expirationTime)),_=void 0,y=zo(o.timer),x=Qo(r.linkedContentTitle);this.certificationIcon=n,this.certificationName=s,this.certificationUid=i,this.createdAt=a,this.docsId=l,this.id=c,this.learnAssessmentSession=t,this.locale=d,this.manualId=p,this.questionnaires=m,this.questionsToPass=f,this.renewalAssessmentUid=g,this.secondsRemaining=b,this.snapshotScore=_,this.timer=y,this.title=x}},DT=class{constructor(t){let o=_t(t,["assessmentId","endTime","id","linkedContent","questionsAnsweredCorrectly","questionsToPass","questionTotal","result"]),r=_t(o.linkedContent,["linkedContentCertificationExpirationDate","linkedContentCertificationPartOfStayCurrent","linkedContentEligibleForRecertification","linkedContentIconURL","linkedContentId","linkedContentName","linkedContentSnapshotRetakeEligibleDate"]),n=_t(o.result,["questionnaireSessions"]),s=Iy(r.linkedContentCertificationExpirationDate),i=Qo(r.linkedContentIconURL),a=Qo(r.linkedContentName),l=ZN(r.linkedContentCertificationPartOfStayCurrent),c=Qo(r.linkedContentId),d=Fo(zo(o.questionsAnsweredCorrectly),zo(o.questionTotal)),p=zo(o.questionsAnsweredCorrectly),m=ZN(r.linkedContentEligibleForRecertification),f=zo(o.questionsToPass),g=zo(o.questionTotal),b=new DU({questionnaireSessions:_n(n.questionnaireSessions)}).questionnaireSessions,_=p>=f,y=Fo(f,g),x=mr(zo(o.assessmentId)),C=Iy(o.endTime),L=mr(zo(o.id)),I=Iy(r.linkedContentSnapshotRetakeEligibleDate),q=void 0,O=o.linkedContent?.linkedContentStudyGuide;this.answersCorrect=p,this.certificationExpiration=s,this.certificationIcon=i,this.certificationName=a,this.certificationPartOfStayCurrent=l,this.certificationUid=c,this.correctPercent=d,this.eligibleForRecertification=m,this.passed=_,this.passingPercent=y,this.questionnaireScores=b,this.questionsToPass=f,this.questionsTotal=g,this.renewalAssessmentUid=x,this.scoredAt=C,this.snapshotId=L,this.snapshotRetakeEligibleDate=I,this.snapshotURL=q,this.studyGuide=O}},$U=class{constructor(t){let r=_t(t,["assessmentVersion","docsId","endTime","id","linkedContent","locale","startTime"]),n=_t(r.linkedContent,["linkedContentId"]);this.examId=n.linkedContentId,this.locale=r.locale.toString(),this.sessionUid=r.id.toString(),this.userId=r.docsId,this.userSessionDate=r.endTime,this.userSessionStart=r.startTime,this.version=r.assessmentVersion.toString()}},NU=class{constructor(t){let r=_t(t,["questionTotal","questionsAnsweredCorrectly","questionsToPass"]);this.assessmentQuestionsToPass=r.questionsToPass,this.assessmentQuestionsToTake=r.questionTotal,this.assessmentStatus=r.questionsAnsweredCorrectly>=r.questionsToPass?"Pass":"Fail",this.questionsAnsweredCorrectly=r.questionsAnsweredCorrectly,this.session=new $U(r)}},uL=class{constructor(t){this.careerPaths=t.careerPaths,this.certificationRenewal=t.certificationRenewal,this.course=t.course,this.courseStudyGuide=t.courseStudyGuide,this.practiceAssessmentAttempts=t.practiceAssessmentAttempts?.length?t.practiceAssessmentAttempts.map(o=>new NU(o)):[],this.prerequisites=t.prerequisites,this.verifiableCredentialUid=t.verifiableCredentialUid}},qU=class{constructor(t,o){let n=_t(t,["correctChoice","question","userChoice"]),s=new lL(n.question,o);this.correctChoice=new RT(n.correctChoice,s.id,o).choices,this.question=s,this.userChoice=new RT(n.userChoice,s.id,o).choices}},pL=class{constructor(t,o){this.items=_n(t.map(r=>new qU(r,o)))}},OU=class{constructor(t){let o=_t(t.session,["id","assessmentId","docsId","locale","userResponseUpdatedAt","assessmentVersion","questionnaires"]),r=_t(t.questionnaireSession,["questionnaireId","questionnaireVersion","responses","score"]),n=_t(r.score,["questionsAnsweredCorrectly","questionsToPass","questionsToTake","resultStatus"]),s=_n(o.questionnaires).find(i=>i.id===r.questionnaireId);this.assessmentId=mr(o.assessmentId),this.correctAnswerCount=o.questionsAnsweredCorrectly,this.locale=o.locale,this.questionnaireStatus=n.resultStatus===gU.Passed?"Pass":"Fail",this.questionsToPass=n.questionsToPass,this.questionsToTake=n.questionsToTake,this.sessionUid=mr(o.id),this.userId=o.docsId,this.userSessionDate=o.userResponseUpdatedAt,this.version=mr(o.assessmentVersion),s&&(this.questionnaireTitle=s.title,this.questionnaireUid=mr(s.id))}},FU=class{constructor(t){let o=_t(t,["result"]),r=_t(o.result,["questionnaireSessions"]);this.scoredQuestionnaires=r.questionnaireSessions.map(n=>new OU({session:o,questionnaireSession:n}))}},UU=class{constructor(t){let o=_t(t,["durationInMinutes","id","title"]);this.durationInMinutes=o.durationInMinutes,this.title=o.title,this.uid=o.id}},HU=class{constructor(t){let o=_t(t,["studyGuides","questionnaireTitle","questionnaireId"]);this.studyGuides=_n(o.studyGuides).map(r=>new UU(r)),this.title=Qo(o.questionnaireTitle),this.uid=mr(o.questionnaireId)}},zU=class{constructor(t){this.studyGuidesByFailedQuestionnaires=t.map(o=>new HU(o))}},mL=class{constructor(t){let o=_t(t,["assessmentId","result","correctPercent","passingPercent","id","linkedContent","locale","questionTotal","questionsAnsweredCorrectly","questionsToPass","userResponseUpdatedAt","timer"]),r=_t(o.linkedContent,["linkedContentId","linkedContentTitle"]),n=_t(o.result,["studyGuidesByFailedQuestionnaires"]);this.assessmentId=mr(o.assessmentId),this.assessmentStatus=o.correctPercent>=o.passingPercent?"Pass":"Fail",this.correctAnswerCount=o.questionsAnsweredCorrectly,this.examId=r.linkedContentId,this.locale=o.locale,this.questionsToPass=o.questionsToPass,this.questionsToTake=o.questionTotal,this.sessionUid=mr(o.id),this.scoredQuestionnaires=new FU(o).scoredQuestionnaires,this.studyGuidesByFailedQuestionnaires=new zU(n.studyGuidesByFailedQuestionnaires).studyGuidesByFailedQuestionnaires,this.title=r.linkedContentTitle,this.userSessionDate=o.userResponseUpdatedAt,this.userSessionDurationMin=o.timer,n.studyGuide&&(this.studyGuide=n.studyGuide)}};var S_=class extends Error{constructor(o){let{status:r,statusText:n,url:s}=o;super(`Unexpected response status ${r}: ${n} from "${s}".`)}},$T=class extends S_{},NT=class extends S_{},Aze=it(),kze=h.data.userLocale;async function fL(e,t){let o={username:e,branch:Aze,locale:kze},r=`${D.achievements}/legacy/${t}?${F(o)}`,s=N(r,{method:"GET"}),i=await P(s);if(W(i),i.status===404||i.status===400)throw new $T(i);if(i.status===403)throw new NT(i);if(i.ok)return i.json();throw new Error(`Unexpected response status ${i.status}`)}var kye=e=>{let t=ee().scenario;return e&&t?.match(/^\{.*\}$/)?JSON.parse(t)[e]??t:t};async function Iye(){return new Promise(e=>setTimeout(e,1e3*60*60*24))}function Pye(e){return{status:e.status,statusText:e.statusText,url:e.url??"https://learn.microsoft.com",json:e.json??(async()=>{})}}var Ize=e=>kye(e),Pze=e=>Pye(e);var Lye={async getCertificationWithExamDetail(){let e={careerPaths:[{backgroundImage:"/test/training/media/career-paths/heros/CareerPath_SecurityOperations--1000x400_light.png",summary:"Microsoft Learn helps you discover the tools and skills you need to become a security operations analyst.",title:"Training for security operations analysts",uid:"career-path.ai-engineer-test",url:"/test/training/career-path/ai-engineer"}],certificationRenewal:{mcIdLinked:!0,expirationDate:"2023-12-31T00:00:00.000Z",url:"/test/training/certifications/azure-solutions-architect/renew"},course:{title:"Designing Microsoft Azure Infrastructure Solutions",uid:"course.az-305t00-test",url:"/test/training/certifications/courses/az-305t00"},courseStudyGuide:{userId:"d6c2b3cf-a362-4743-914d-abcee4e52d46",name:"studyguide",description:"ILT Study Guide for course 'course.az-305t00-test",type:"studyguide",lastModified:"0001-01-01T00:00:00+00:00",totalItems:1,items:[{id:"learn-test.az-104-manage-virtual-networks",type:"path",data:{docId:"null",docVIId:"null",pageKind:"path",pageType:"learn",showId:"null",eventUid:"null",rawUrl:"null",title:"AZ-104: Configure and manage virtual networks for Azure administrators",uid:"learn-test.az-104-manage-virtual-networks",url:"/test/training/paths/az-104-manage-virtual-networks/",iconUrl:"/training/achievements/az-104-manage-virtual-networks.svg",progress:1,durationInMinutes:31,start:"null",end:"null",moduleCount:1,challengeId:"null",submitterUsername:"null",lastEpisode:"null",uploadDate:"null",startDate:"null",endDate:"null",products:["azure","azure-application-gateway","azure-bastion","azure-dns","azure-expressroute","azure-firewall","azure-load-balancer","azure-virtual-machines","azure-virtual-network","azure-vpn-gateway","azure-virtual-desktop"],levels:["beginner"],roles:["administrator"],childUids:["learn-test.wwl.configure-azure-dns"],modules:[{units:[{durationInMinutes:1,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Introduction",type:"unit",uid:"learn-test.wwl.configure-azure-dns.1-introduction",url:"/test/training/azure/configure-azure-dns/1-introduction/"},{durationInMinutes:2,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Identify domains and custom domains",type:"unit",uid:"learn-test.wwl.configure-azure-dns.2-identify-domains-custom-domains",url:"/test/training/azure/configure-azure-dns/2-identify-domains-custom-domains/"},{durationInMinutes:2,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Verify custom domain names",type:"unit",uid:"learn-test.wwl.configure-azure-dns.3-verify-custom-domain-names",url:"/test/training/azure/configure-azure-dns/3-verify-custom-domain-names/"},{durationInMinutes:2,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Create Azure DNS zones",type:"unit",uid:"learn-test.wwl.configure-azure-dns.4-create-zones",url:"/test/training/azure/configure-azure-dns/4-create-zones/"},{durationInMinutes:3,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Delegate DNS domains",type:"unit",uid:"learn-test.wwl.configure-azure-dns.5-delegate-dns-domains",url:"/test/training/azure/configure-azure-dns/5-delegate-dns-domains/"},{durationInMinutes:2,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Add DNS record sets",type:"unit",uid:"learn-test.wwl.configure-azure-dns.6-add-dns-record-sets",url:"/test/training/azure/configure-azure-dns/6-add-dns-record-sets/"},{durationInMinutes:2,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Plan for Azure Private DNS zones",type:"unit",uid:"learn-test.wwl.configure-azure-dns.7-plan-for-private-dns-zones",url:"/test/training/azure/configure-azure-dns/7-plan-for-private-dns-zones/"},{durationInMinutes:3,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Review Azure Private DNS zone scenarios",type:"unit",uid:"learn-test.wwl.configure-azure-dns.8-determine-private-zone-scenarios",url:"/test/training/azure/configure-azure-dns/8-determine-private-zone-scenarios/"},{durationInMinutes:10,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Interactive lab simulation",type:"unit",uid:"learn-test.wwl.configure-azure-dns.8a-interactive-simulation-domain-names",url:"/test/training/azure/configure-azure-dns/8a-interactive-simulation-domain-names/"},{durationInMinutes:3,iconUrl:"null",points:200,ROBOTS:"noindex",title:"Knowledge check",type:"unit",uid:"learn-test.wwl.configure-azure-dns.9-knowledge-check",url:"/test/training/azure/configure-azure-dns/9-knowledge-check/"},{durationInMinutes:1,iconUrl:"null",points:100,ROBOTS:"noindex",title:"Summary and resources",type:"unit",uid:"learn-test.wwl.configure-azure-dns.10-summary-resources",url:"/test/training/azure/configure-azure-dns/10-summary-resources/"}],summary:"Learn how to configure Azure DNS including custom domain names and record sets.",abstract:`

    In this module, you learn how to:

    • Identify features and usage cases for domains, custom domains, and private zones.
    • Verify custom domain names by using DNS records.
    • Implement DNS zones, DNS delegation, and DNS record sets.
    `,levels:["beginner"],roles:["administrator"],products:["azure-dns"],subjects:["networking"],uid:"learn-test.wwl.configure-azure-dns",title:"Configure Azure DNS",url:"/test/training/azure/configure-azure-dns/",iconUrl:"/training/achievements/azure-dns-configure.svg",durationInMinutes:31,points:200,ratingEnabled:!0,type:"Module",parents:[{durationInMinutes:31,points:200,title:"AZ-104: Configure and manage virtual networks for Azure administrators",type:"path",uid:"learn-test.az-104-manage-virtual-networks",url:"/test/training/paths/az-104-manage-virtual-networks/"}],achievement:{uid:"learn-test.wwl.configure-azure-dns.badge",title:"Configure Azure DNS",summary:"null",iconUrl:"/training/achievements/azure-dns-configure.svg",type:"badge",sourceType:"progress",sourceUId:"learn-test.wwl.configure-azure-dns",sourceUrl:"/test/training/azure/configure-azure-dns/",sourceTitle:"Configure Azure DNS"}}],completedChildUids:["learn-test.wwl.configure-azure-dns"],summary:"AZ-104: Configure and manage virtual networks for Azure administrators",display_products:["Azure","Azure Application Gateway","Azure Bastion","Azure DNS","Azure ExpressRoute","Azure Firewall","Azure Load Balancer","Azure Virtual Machines","Azure Virtual Network","Azure VPN Gateway","Azure Virtual Desktop"],display_levels:["Beginner"],display_roles:["Administrator"],remainingTime:0},listId:"learn-test.az-104-manage-virtual-networks",lastModified:"0001-01-01T00:00:00+00:00"}],itemCount:1,sections:[],sectionCount:0,isPrivate:!1,isOfficial:!1,shouldLocalize:!1,isLocalized:!1,isFallbackLocale:!1,showUserDisplayName:!1,studyGuideId:"applied-skill.configure-virtual-networking-test",moduleCount:1,completedModuleCount:1,remainingDuration:0,totalDuration:31},practiceAssessmentAttempts:[{session:{sessionUid:"052e3010-29d1-461b-93cb-1f06834c6d41",examId:"84",locale:"en-us",version:"2",userId:"438d33c4-3386-4c7e-a576-37449a493a3a",userSessionStart:"0001-01-01T00:00:00",userSessionDate:"2023-10-04T18:14:19.12"},assessmentStatus:"Pass",questionsAnsweredCorrectly:90,assessmentQuestionsToTake:100,assessmentQuestionsToPass:90},{session:{sessionUid:"052e3010-29d1-461b-93cb-1f06834c6d41",examId:"84",locale:"en-us",version:"2",userId:"438d33c4-3386-4c7e-a576-37449a493a3a",userSessionStart:"0001-01-01T00:00:00",userSessionDate:"2023-10-04T18:14:19.12"},assessmentStatus:"Fail",questionsAnsweredCorrectly:85,assessmentQuestionsToTake:100,assessmentQuestionsToPass:90},{session:{sessionUid:"052e3010-29d1-461b-93cb-1f06834c6d41",examId:"84",locale:"en-us",version:"2",userId:"438d33c4-3386-4c7e-a576-37449a493a3a",userSessionStart:"0001-01-01T00:00:00",userSessionDate:"2023-10-04T18:14:19.12"},assessmentStatus:"Fail",questionsAnsweredCorrectly:5,assessmentQuestionsToTake:100,assessmentQuestionsToPass:90},{session:{sessionUid:"052e3010-29d1-461b-93cb-1f06834c6d41",examId:"84",locale:"en-us",version:"2",userId:"438d33c4-3386-4c7e-a576-37449a493a3a",userSessionStart:"0001-01-01T00:00:00",userSessionDate:"2023-10-04T18:14:19.12"},assessmentStatus:"Pass",questionsAnsweredCorrectly:95,assessmentQuestionsToTake:90,assessmentQuestionsToPass:100}],prerequisites:[{title:"Microsoft Certified: Azure Administrator Associate",uid:"certification.azure-administrator-test",url:"/test/training/certifications/azure-administrator/index.yml"}],verifiableCredentialUid:"82B506AC196A1655"},t={},o;switch(Ize("getCertificationWithExamDetail")){case"all":o=e;break;case"base":o=t;break;case"careerPaths":o=t,o.careerPaths=e.careerPaths;break;case"certificationRenewal":o=t,o.certificationRenewal=e.certificationRenewal;break;case"course":o=t,o.course=e.course,o.courseStudyGuide=e.courseStudyGuide;break;case"loading":await Iye(),o=t;break;case"mcidIsLinked":o=t,o.certificationRenewal=e.certificationRenewal,o.certificationRenewal.mcIdLinked=!0;break;case"mcidIsNotLinked":o=t,o.certificationRenewal=e.certificationRenewal,o.certificationRenewal.mcIdLinked=!1;break;case"practiceAssessmentAttempts":o=t,o.practiceAssessmentAttempts=e.practiceAssessmentAttempts;break;case"prerequisites":o=t,o.prerequisites=e.prerequisites;break;case"unexpected":throw new S_(Pze({status:500,statusText:"Internal Server Error"}));case"verifiableCredentialUid":o=t,o.verifiableCredentialUid=e.verifiableCredentialUid;break;default:o=t;break}return o}};function gL(){return{accomodationRequested:!1,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:"http://example.com",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",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://example.com",sequence:1},manualId:"manual1",name:"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,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,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",id:20611,isCorrect:!1,questionnaireId:12,text:"objects",textHTML:"objects"},{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",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"}],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,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,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,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",id:20611,isCorrect:!1,questionnaireId:12,text:"objects",textHTML:"objects"},{questionId:4916,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2024-02-01T00:00:00Z"},assessmentType:"Self",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,assessmentId:1,assessmentVersion:0,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",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:[{assessmentId:1,choiceIds:[20604],questionId:4916,questionnaireId:130},{assessmentId:1,choiceIds:[20610,20611],questionId:4917,questionnaireId:130}],wasAssessmentVersionUpdated:!1}}function Lze(){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:{publishedVersion:1,createdAtUTC:"2024-01-01T00:00:00Z",updatedAtUTC:"2024-01-02T02:00:00Z",updatedBy:"billg"},assessmentType:"Practice"}],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,activityLog:{publishedVersion:1,createdAtUTC:"2024-01-01T00:00:00Z",updatedAtUTC:"2024-01-02T02:00:00Z",updatedBy:"billg"},assessmentType:"Practice"}],correctChoice:[{questionId:123456,questionnaireId:345678,text:"string",textHTML:"string",isCorrect:!0,id:12345,activityLog:{createdAtUTC:"2024-01-01T00:00:00Z",publishedVersion:1,updatedAtUTC:"2022-01-01T00:00:00Z",updatedBy:"gsettles"},assessmentType:"Practice"}]}]}var Qa={createSession:async()=>gL(),getSessionAnswerSummary:async()=>Lze(),getSessionResult:async()=>gL(),getPreviousAttemptsByParentId:async()=>[gL()],getRenewalEligibility:async()=>{},submitSession:async()=>gL()};var Rze=it(),Mze=h.data.userLocale,wp={async getExamAppointments(e=0,t=10){let o=`${D.certification.appointments}/?${F({page:e+1,pageSize:t,locale:h.data.userLocale})}`,n=N(o,{method:"GET"}),s=await P(n);if(W(s),s.ok)return await s.json();throw new Error(`${s.status}: ${s.statusText}`)},async getCertifications(e=0,t=10){let o=`${D.certification.certifications}/? ${F({page:e+1,pageSize:t,isExtended:!0,locale:h.data.userLocale})}`,n=N(o,{method:"GET"}),s=await P(n);if(W(s),s.ok)return await s.json();throw new Error(`${s.status}: ${s.statusText}`)},async getCertificationDetail(e){if(e!==null){let t=`${D.certification.certifications}/?${F({id:e,locale:h.data.userLocale})}`,r=N(t,{method:"GET"}),n=await P(r);if(W(n),n.ok)return await n.json();throw new Error(`${n.status}: ${n.statusText}`)}throw new Error("Null certification id")},async getCertificationWithExamDetail(e){if(e==null)throw new Ne({statusText:"missing id parameter"},"MissingRequiredParameterError");if(E.reviewFeatures&&ee().scenario)return Lye.getCertificationWithExamDetail();let t=`${D.certification.certification}/${e}/detail?${F({branch:Rze,locale:Mze,learnAssessmentMerger:!!A.assessmentMergerRenewalAssessment})}`,r=N(t,{method:"GET"}),n=await P(r);if(n.ok){let s=await n.json();return A.assessmentMergerRenewalAssessment?(A.assessmentMergerLearnAssessment||(s.practiceAssessmentAttempts=await Qa.getPreviousAttemptsByParentId()),new uL(s)):s}throw new Ne(n,"UnexpectedError")},async getDashboardSummary(){let e=`${D.certification.dashboardSummary}/?${F({locale:h.data.userLocale})}`,o=N(e,{method:"GET"}),r=await P(o);if(W(r),r.ok)return await r.json();throw new Error(`${r.status}: ${r.statusText}`)},async getExams(e=0,t=10){let o=`${D.certification.exams}/?${F({page:e+1,pageSize:t,locale:h.data.userLocale})}`,n=N(o,{method:"GET"}),s=await P(n);if(W(s),s.ok)return await s.json();throw new Error(`${s.status}: ${s.statusText}`)},async getLinkedMSA(){let e=D.certification.linkedMcId,o=N(e,{method:"GET"});try{let r=await P(o);if(W(r),r.status===200)return{linkedMSA:await r.json(),status:r.status};if(r.status===400){let n;try{n=await r.json()}catch{n={errorCode:"",message:""}}return{errorCode:n.errorCode,linkedMSA:{mcId:n.message},status:r.status}}else if(r.status===401||r.status===404||r.status===409||r.status===500){let n;try{n=await r.json()}catch{n={errorCode:"",message:""}}return{errorCode:n.errorCode,status:r.status}}else throw new Error(`Unexpected response status ${r.status}`)}catch{return{errorCode:"",status:null}}},async getPrintableCertification(e){let t=`${D.certification.printableCertification}/?${F({id:e,locale:h.data.userLocale})}`,r=N(t,{method:"GET"}),n=await P(r);if(W(n),n.ok)return await n.json();throw new Error(`${n.status}: ${n.statusText}`)},async getScoredSnapshots(e=0,t=10){let o=`${D.certification.renewalAssessments}/?${F({page:e+1,pageSize:t,isExtended:!0,locale:h.data.userLocale})}`,n=N(o,{method:"GET"}),s=await P(n);if(W(s),s.ok)return await s.json();throw new Error(`${s.status}: ${s.statusText}`)},async postCertificationLink(){let e=D.certification.linkedAccount,o=N(e,{method:"POST"}),r=await P(o);if(W(r),r.ok)return Ta(r,!1),{status:r.status};if(r.status===404||r.status===400||r.status===409||r.status===500)return{status:r.status};throw new Error(`Unexpected response status ${r.status}`)}};var fd={getStatus(e){let t=`${D.achievements}/xp/${e}`;return P(N(t,{mode:"cors"},!0)).then(W).then(r=>{if(r.ok)return r.json();throw new so(r)})},getAchievements(e,t){let o={locale:t},r=`${D.achievements}/user/${e}?${F(o,!1)}`;return P(N(r,{mode:"cors"},!0)).then(W).then(s=>{if(s.ok)return s.json();throw new so(s)})},redeemCode(e){let t={mode:"cors",method:"post",credentials:"include"},o=`${D.achievements}/redeem/${e}`,r={branch:E.supportLevel==="production"?"main":void 0},n=`${o}?${F(r,!1)}`,s=N(n,t,!0);return fetch(s,t).then(W).then(i=>i.json())},requestCode(e,t,o){let r={achievementCategory:e,courseId:t,useCount:o};e===6&&A.learningPathIlt&&(r.courseId=void 0,r.learningPathId=t);let s=`${D.achievements}/code`,i={branch:E.supportLevel==="production"?"main":void 0},a=`${s}?${F(i,!1)}`,l={mode:"cors",body:JSON.stringify(r),method:"put",credentials:"include"};return P(N(a,l,!0)).then(W).then(c=>c.json())}};function Rye(e,t){let o=e.currentTime(),r,n,s,i,a,l=0,c=0,d,p=0,m,f,g=0,b=0,_=0;e.addEventListener(amp.eventName.start,()=>{i=Date.now(),r=Date.now(),o=e.currentTime(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,Hn({behaviorCode:ye.VIDEOSTART,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f})}),e.addEventListener(amp.eventName.pause,()=>{s=Date.now(),i=Date.now(),o=e.currentTime(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOPAUSE,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.resume,()=>{i=Date.now(),o=e.currentTime(),p+=s?ur(i-s):0,_+=s>n?ur(i-s):0,f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,o<.5?(n=Date.now(),_=0,b=0,g=0,Hn({behaviorCode:ye.VIDEOREPLAY,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_})):Hn({behaviorCode:ye.VIDEOCONTINUE,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.ended,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOCOMPLETE,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.mute,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOMUTE,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.unmute,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOUNMUTE,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.error,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,Hn({behaviorCode:ye.VIDEOERROR,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_})}),e.addEventListener(amp.eventName.fullscreen,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOFULLSCREEN,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.exitfullscreen,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOUNFULLSCREEN,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.firstquartile,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOCHECKPOINT,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.midpoint,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOCHECKPOINT,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.thirdquartile,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOCHECKPOINT,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.ratechange,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),a=Date.now(),d=e.playbackRate(),Hn({behaviorCode:ye.VIDEOPLAYERCLICK,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_})}),e.addEventListener(amp.eventName.waiting,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOBUFFERING,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()}),e.addEventListener(amp.eventName.loadstart,()=>{o=e.currentTime(),i=Date.now(),f=e.getCurrentTextTrack()!==void 0?e.getCurrentTextTrack().label:kn,l=ea(a,d,l,m,i),c=ta(a,d,c,m,i),b=oa(a,d,b,m,i,n),g=ra(a,d,g,m,i,n),Hn({behaviorCode:ye.VIDEOPLAYERLOAD,videoData:t,videoTimeSeconds:o,eventTime:i,startTime:r,freezeTime:p,reStartTime:n,secondsDiffSpeed:l,secondsNormalSpeed:c,languageCaptions:f,secondsDiffSpeedAfterReplay:b,secondsNormalSpeedAfterReplay:g,freezeTimeAfterReplay:_}),m=Date.now()})}function Hn(e){let t=Math.floor(e.videoTimeSeconds),o=e.startTime===e.eventTime||e.startTime===void 0?0:ur(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,r=e.reStartTime!==void 0?ur(e.eventTime-e.reStartTime)-e.freezeTimeAfterReplay-e.secondsNormalSpeedAfterReplay+e.secondsDiffSpeedAfterReplay:e.startTime===e.eventTime||e.startTime===void 0?0:ur(e.eventTime-e.startTime)-e.freezeTime-e.secondsNormalSpeed+e.secondsDiffSpeed,n=e.videoData.publicVideo.durationInMillisecond,s=ur(n),i=t>0?Math.floor(t/s*100):0,a=Math.floor(o/s*100);Fe({behavior:e.behaviorCode,actionType:He.OTHER,content:{vidnm:e.videoData.title,vidid:e.videoData.id,vidpct:i,vidpctwtchd:a,vidwt:t,viddur:s,vidtimeseconds:r,sessiontimeseconds:o,live:!1,parentpage:location.origin,containerName:"learnvideoplayer",currentCaptions:e.languageCaptions}})}function ea(e,t,o,r,n){return e!==0&&t&&(o+=ee?se?s{if(Mye)return Promise.resolve();{let e=document.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("type","text/css"),e.setAttribute("href",$ze),document.head.appendChild(e),Os(Dze,null,"amp").then(()=>{Mye=!0})}},hL=e=>{let t=document.title.includes("Embedded Video");v(u`
    ${f$}

    ${f$}
    ${jZ}

    `,e)},Fze=(e,t=!1)=>t?u`