PageSourceSearch

https://cadbench.ai/_next/static/chunks/5706-3ca9bc4fd11502b5.js

js cadbench.ai collected 2026-09-29 04:52:31 UTC 104,774 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5706],{83269:function(e,t,n){n.d(t,{OS:function(){return Ka}});var r=n(48834).Buffer,o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){return new(n||(n=Promise))((function(o,i){function c(e){try{s(r.next(e))}catch(e){i(e)}}function a(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(c,a)}s((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),c=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function d(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{};function h(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function p(e,t){return e(t={exports:{}},t.exports),t.exports}var y,m,b=function(e){return e&&e.Math==Math&&e},v=b("object"==typeof globalThis&&globalThis)||b("object"==typeof window&&window)||b("object"==typeof self&&self)||b("object"==typeof f&&f)||function(){return this}()||Function("return this")(),g=function(e){try{return!!e()}catch(e){return!0}},w=!g((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),S=!g((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),k=Function.prototype.call,Z=S?k.bind(k):function(){return k.apply(k,arguments)},I={}.propertyIsEnumerable,W=Object.getOwnPropertyDescriptor,G={f:W&&!I.call({1:2},1)?function(e){var t=W(this,e);return!!t&&t.enumerable}:I},X=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},x=Function,_=x.prototype,L=_.bind,C=_.call,K=S&&L.bind(C,C),j=function(e){return e instanceof x?S?
vendor: 8,547 bytes, line 1
1K(e):function(){return C.apply(e,arguments)}:void 0},T=j({}.toString),R=j("".slice),O=function(e){return R(T(e),8,-1)},Y=Object,H=j("".split),V=g((function(){return!Y("z").propertyIsEnumerable(0)}))?function(e){return"String"==O(e)?H(e,""):Y(e)}:Y,J=function(e){return null==e},N=TypeError,F=function(e){if(J(e))throw N("Can't call method on "+e);return e},P=function(e){return V(F(e))},U="object"==typeof document&&document.all,E={all:U,IS_HTMLDDA:void 0===U&&void 0!==U},z=E.all,A=E.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},D=E.all,B=E.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:A(e)||e===D}:function(e){return"object"==typeof e?null!==e:A(e)},M=function(e){return A(e)?e:void 0},Q=function(e,t){return arguments.length<2?M(v[e]):v[e]&&v[e][t]},q=j({}.isPrototypeOf),$=Q("navigator","userAgent")||"",ee=v.process,te=v.Deno,ne=ee&&ee.versions||te&&te.version,re=ne&&ne.v8;re&&(m=(y=re.split("."))[0]>0&&y[0]<4?1:+(y[0]+y[1])),!m&&$&&(!(y=$.match(/Edge\/(\d+)/))||y[1]>=74)&&(y=$.match(/Chrome\/(\d+)/))&&(m=+y[1]);var oe=m,ie=!!Object.getOwnPropertySymbols&&!g((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})),ce=ie&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ae=Object,se=ce?function(e){return"symbol"==typeof e}:function(e){var t=Q("Symbol");return A(t)&&q(t.prototype,ae(e))},ue=String,le=function(e){try{return ue(e)}catch(e){return"Object"}},de=TypeError,fe=function(e){if(A(e))return e;throw de(le(e)+" is not a function")},he=function(e,t){var n=e[t];return J(n)?void 0:fe(n)},pe=TypeError,ye=Object.defineProperty,me=function(e,t){try{ye(v,e,{value:t,configurable:!0,writable:!0})}catch(c){v[e]=t}return t},be=v["__core-js_shared__"]||me("__core-js_shared__",{}),ve=p((function(e){(e.exports=function(e,t){return be[e]||(be[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.4",mode:"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.4/LICENSE",source:"https://github.com/zloirock/core-js"})})),ge=Object,we=function(e){return ge(F(e))},Se=j({}.hasOwnProperty),ke=Object.hasOwn||function(e,t){return Se(we(e),t)},Ze=0,Ie=Math.random(),We=j(1..toString),Ge=function(e){return"Symbol("+(void 0===e?"":e)+")_"+We(++Ze+Ie,36)},Xe=ve("wks"),xe=v.Symbol,_e=xe&&xe.for,Le=ce?xe:xe&&xe.withoutSetter||Ge,Ce=function(e){if(!ke(Xe,e)||!ie&&"string"!=typeof Xe[e]){var t="Symbol."+e;ie&&ke(xe,e)?Xe[e]=xe[e]:Xe[e]=ce&&_e?_e(t):Le(t)}return Xe[e]},Ke=TypeError,je=Ce("toPrimitive"),Te=function(e){var t=function(e,t){if(!B(e)||se(e))return e;var n,r=he(e,je);if(r){if(void 0===t&&(t="default"),n=Z(r,e,t),!B(n)||se(n))return n;throw Ke("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&A(n=e.toString)&&!B(r=Z(n,e)))return r;if(A(n=e.valueOf)&&!B(r=Z(n,e)))return r;if("string"!==t&&A(n=e.toString)&&!B(r=Z(n,e)))return r;throw pe("Can't convert object to primitive value")}(e,t)}(e,"string");return se(t)?t:t+""},Re=v.document,Oe=B(Re)&&B(Re.createElement),Ye=function(e){return Oe?Re.createElement(e):{}},He=!w&&!g((function(){return 7!=Object.defineProperty(Ye("div"),"a",{get:function(){return 7}}).a})),Ve=Object.getOwnPropertyDescriptor,Je={f:w?Ve:function(e,t){if(e=P(e),t=Te(t),He)try{return Ve(e,t)}catch(e){}if(ke(e,t))return X(!Z(G.f,e,t),e[t])}},Ne=w&&g((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Fe=String,Pe=TypeError,Ue=function(e){if(B(e))return e;throw Pe(Fe(e)+" is not an object")},Ee=TypeError,ze=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,De={f:w?Ne?function(e,t,n){if(Ue(e),t=Te(t),Ue(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=Ae(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return ze(e,t,n)}:ze:function(e,t,n){if(Ue(e),t=Te(t),Ue(n),He)try{return ze(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Ee("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Be=w?function(e,t,n){return De.f(e,t,X(1,n))}:function(e,t,n){return e[t]=n,e},Me=Function.prototype,Qe=w&&Object.getOwnPropertyDescriptor,qe=ke(Me,"name"),$e={EXISTS:qe,PROPER:qe&&"something"===function(){}.name,CONFIGURABLE:qe&&(!w||w&&Qe(Me,"name").configurable)},et=j(Function.toString);A(be.inspectSource)||(be.inspectSource=function(e){return et(e)});var tt,nt,rt,ot=be.inspectSource,it=v.WeakMap,ct=A(it)&&/native code/.test(String(it)),at=ve("keys"),st=function(e){return at[e]||(at[e]=Ge(e))},ut={},lt=v.TypeError,dt=v.WeakMap;if(ct||be.state){var ft=be.state||(be.state=new dt),ht=j(ft.get),pt=j(ft.has),yt=j(ft.set);tt=function(e,t){if(pt(ft,e))throw lt("Object already initialized");return t.facade=e,yt(ft,e,t),t},nt=function(e){return ht(ft,e)||{}},rt=function(e){return pt(ft,e)}}else{var mt=st("state");ut[mt]=!0,tt=function(e,t){if(ke(e,mt))throw lt("Object already initialized");return t.facade=e,Be(e,mt,t),t},nt=function(e){return ke(e,mt)?e[mt]:{}},rt=function(e){return ke(e,mt)}}var bt={set:tt,get:nt,has:rt,enforce:function(e){return rt(e)?nt(e):tt(e,{})},getterFor:function(e){return function(t){var n;if(!B(t)||(n=nt(t)).type!==e)throw lt("Incompatible receiver, "+e+" required");return n}}},vt=p((function(e){var t=$e.CONFIGURABLE,n=bt.enforce,r=bt.get,o=Object.defineProperty,i=w&&!g((function(){return 8!==o((function(){}),"length",{value:8}).length})),c=String(String).split("String"),a=e.exports=function(e,r,a){"Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(r="get "+r),a&&a.setter&&(r="set "+r),(!ke(e,"name")||t&&e.name!==r)&&(w?o(e,"name",{value:r,configurable:!0}):e.name=r),i&&a&&ke(a,"arity")&&e.length!==a.arity&&o(e,"length",{value:a.arity});try{a&&ke(a,"constructor")&&a.constructor?w&&o(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var s=n(e);return ke(s,"source")||(s.source=c.join("string"==typeof r?r:"")),e};Function.prototype.toString=a((function(){return A(this)&&r(this).source||ot(this)}),"toString")})),gt=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(A(n)&&vt(n,i,r),r.global)o?e[t]=n:me(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:De.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},wt=Math.ceil,St=Math.floor,kt=Math.trunc||function(e){var t=+e;return(t>0?St:wt)(t)},Zt=function(e){var t=+e;return t!=t||0===t?0:kt(t)},It=Math.max,Wt=Math.min,Gt=function(e,t){var n=Zt(e);return n<0?It(n+t,0):Wt(n,t)},Xt=Math.min,xt=function(e){return e>0?Xt(Zt(e),9007199254740991):0},_t=function(e){return xt(e.length)},Lt=function(e){return function(t,n,r){var o,i=P(t),c=_t(i),a=Gt(r,c);if(e&&n!=n){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((e||a in i)&&i[a]===n)return e||a||0;return!e&&-1}},Ct={includes:Lt(!0),indexOf:Lt(!1)},Kt=Ct.indexOf,jt=j([].push),Tt=function(e,t){var n,r=P(e),o=0,i=[];for(n in r)!ke(ut,n)&&ke(r,n)&&jt(i,n);for(;t.length>o;)ke(r,n=t[o++])&&(~Kt(i,n)||jt(i,n));return i},Rt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ot=Rt.concat("length","prototype"),Yt={f:Object.getOwnPropertyNames||function(e){return Tt(e,Ot)}},Ht={f:Object.getOwnPropertySymbols},Vt=j([].concat),Jt=Q("Reflect","ownKeys")||function(e){var t=Yt.f(Ue(e)),n=Ht.f;return n?Vt(t,n(e)):t},Nt=function(e,t,n){for(var r=Jt(t),o=De.f,i=Je.f,c=0;c<r.length;c++){var a=r[c];ke(e,a)||n&&ke(n,a)||o(e,a,i(t,a))}},Ft=/#|\.prototype\./,Pt=function(e,t){var n=Et[Ut(e)];return n==At||n!=zt&&(A(t)?g(t):!!t)},Ut=Pt.normalize=function(e){return String(e).replace(Ft,".").toLowerCase()},Et=Pt.data={},zt=Pt.NATIVE="N",At=Pt.POLYFILL="P",Dt=Pt,Bt=Je.f,Mt=function(e,t){var n,r,o,i,c,a=e.target,s=e.global,u=e.stat;if(n=s?v:u?v[a]||me(a,{}):(v[a]||{}).prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(c=Bt(n,r))&&c.value:n[r],!Dt(s?r:a+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Nt(i,o)}(e.sham||o&&o.sham)&&Be(i,"sham",!0),gt(n,r,i,e)}},Qt={};Qt[Ce("toStringTag")]="z";var qt,$t="[object z]"===String(Qt),en=Ce("toStringTag"),tn=Object,nn="Arguments"==O(function(){return arguments}()),rn=$t?O:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}
1(t=tn(e),en))?n:nn?O(t):"Object"==(r=O(t))&&A(t.callee)?"Arguments":r},on=String,cn=function(e){if("Symbol"===rn(e))throw TypeError("Cannot convert a Symbol value to a string");return on(e)},an=Ce("match"),sn=TypeError,un=function(e){if(function(e){var t;return B(e)&&(void 0!==(t=e[an])?!!t:"RegExp"==O(e))}(e))throw sn("The method doesn't accept regular expressions");return e},ln=Ce("match"),dn=function(e){var t=/./;try{"/./"[e](t)}catch(c){try{return t[ln]=!1,"/./"[e](t)}catch(e){}}return!1},fn=Je.f,hn=j("".startsWith),pn=j("".slice),yn=Math.min,mn=dn("startsWith"),bn=!(mn||(qt=fn(String.prototype,"startsWith"),!qt||qt.writable));Mt({target:"String",proto:!0,forced:!bn&&!mn},{startsWith:function(e){var t=cn(F(this));un(e);var n=xt(yn(arguments.length>1?arguments[1]:void 0,t.length)),r=cn(e);return hn?hn(t,r,n):pn(t,n,n+r.length)===r}});var vn=function(e,t){return j(v[e].prototype[t])};vn("String","startsWith");var gn=Array.isArray||function(e){return"Array"==O(e)},wn=TypeError,Sn=function(e){if(e>9007199254740991)throw wn("Maximum allowed index exceeded");return e},kn=function(e,t,n){var r=Te(t);r in e?De.f(e,r,X(0,n)):e[r]=n},Zn=function(){},In=[],Wn=Q("Reflect","construct"),Gn=/^\s*(?:class|function)\b/,Xn=j(Gn.exec),xn=!Gn.exec(Zn),_n=function(e){if(!A(e))return!1;try{return Wn(Zn,In,e),!0}catch(e){return!1}},Ln=function(e){if(!A(e))return!1;switch(rn(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return xn||!!Xn(Gn,ot(e))}catch(e){return!0}};Ln.sham=!0;var Cn=!Wn||g((function(){var e;return _n(_n.call)||!_n(Object)||!_n((function(){e=!0}))||e}))?Ln:_n,Kn=Ce("species"),jn=Array,Tn=function(e,t){return new(function(e){var t;return gn(e)&&(t=e.constructor,(Cn(t)&&(t===jn||gn(t.prototype))||B(t)&&null===(t=t[Kn]))&&(t=void 0)),void 0===t?jn:t}(e))(0===t?0:t)},Rn=Ce("species"),On=Ce("isConcatSpreadable"),Yn=oe>=51||!g((function(){var e=[];return e[On]=!1,e.concat()[0]!==e})),Hn=("concat",oe>=51||!g((function(){var e=[];return(e.constructor={})[Rn]=function(){return{foo:1}},1!==e.concat(Boolean).foo}))),Vn=function(e){if(!B(e))return!1;var t=e[On];return void 0!==t?!!t:gn(e)};Mt({target:"Array",proto:!0,arity:1,forced:!Yn||!Hn},{concat:function(e){var t,n,r,o,i,c=we(this),a=Tn(c,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(Vn(i=-1===t?c:arguments[t]))for(o=_t(i),Sn(s+o),n=0;n<o;n++,s++)n in i&&kn(a,s,i[n]);else Sn(s+1),kn(a,s++,i);return a.length=s,a}});var Jn=$t?{}.toString:function(){return"[object "+rn(this)+"]"};$t||gt(Object.prototype,"toString",Jn,{unsafe:!0});var Nn,Fn=Object.keys||function(e){return Tt(e,Rt)},Pn={f:w&&!Ne?Object.defineProperties:function(e,t){Ue(e);for(var n,r=P(t),o=Fn(t),i=o.length,c=0;i>c;)De.f(e,n=o[c++],r[n]);return e}},Un=Q("document","documentElement"),En=st("IE_PROTO"),zn=function(){},An=function(e){return"<script>"+e+"<\/script>"},Dn=function(e){e.write(An("")),e.close();var t=e.parentWindow.Object;return e=null,t},Bn=function(){try{Nn=new ActiveXObject("htmlfile")}catch(e){}var e,t;Bn="undefined"!=typeof document?document.domain&&Nn?Dn(Nn):((t=Ye("iframe")).style.display="none",Un.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(An("document.F=Object")),e.close(),e.F):Dn(Nn);for(var n=Rt.length;n--;)delete Bn.prototype[Rt[n]];return Bn()};ut[En]=!0;var Mn=Object.create||function(e,t){var n;return null!==e?(zn.prototype=Ue(e),n=new zn,zn.prototype=null,n[En]=e):n=Bn(),void 0===t?n:Pn.f(n,t)},Qn=Array,qn=Math.max,$n=Yt.f,er="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],tr={f:function(e){return er&&"Window"==O(e)?function(e){try{return $n(e)}catch(e){return function(e,t,n){for(var r=_t(e),o=Gt(void 0,r),i=Gt(r,r),c=Qn(qn(i-o,0)),a=0;o<i;o++,a++)kn(c,a,e[o]);return c.length=a,c}(er)}}(e):$n(P(e))}},nr={f:Ce},rr=v,or=De.f,ir=function(e){var t=rr.Symbol||(rr.Symbol={});ke(t,e)||or(t,e,{value:nr.f(e)})},cr=function(){var e=Q("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=Ce("toPrimitive");t&&!t[r]&&gt(t,r,(function(e){return Z(n,this)}),{arity:1})},ar=De.f,sr=Ce("toStringTag"),ur=function(e,t,n){e&&!n&&(e=e.prototype),e&&!ke(e,sr)&&ar(e,sr,{configurable:!0,value:t})},lr=j(j.bind),dr=function(e,t){return fe(e),void 0===t?e:S?lr(e,t):function(){return e.apply(t,arguments)}},fr=j([].push),hr=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,c=7==e,a=5==e||i;return function(s,u,l,d){for(var f,h,p=we(s),y=V(p),m=dr(u,l),b=_t(y),v=0,g=d||Tn,w=t?g(s,b):n||c?g(s,0):void 0;b>v;v++)if((a||v in y)&&(h=m(f=y[v],v,p),e))if(t)w[v]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:fr(w,f)}else switch(e){case 4:return!1;case 7:fr(w,f)}return i?-1:r||o?o:w}}
vendor: 6,158 bytes, line 1
1,pr=[hr(0),hr(1),hr(2),hr(3),hr(4),hr(5),hr(6),hr(7)][0],yr=st("hidden"),mr=bt.set,br=bt.getterFor("Symbol"),vr=Object.prototype,gr=v.Symbol,wr=gr&&gr.prototype,Sr=v.TypeError,kr=v.QObject,Zr=Je.f,Ir=De.f,Wr=tr.f,Gr=G.f,Xr=j([].push),xr=ve("symbols"),_r=ve("op-symbols"),Lr=ve("wks"),Cr=!kr||!kr.prototype||!kr.prototype.findChild,Kr=w&&g((function(){return 7!=Mn(Ir({},"a",{get:function(){return Ir(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Zr(vr,t);r&&delete vr[t],Ir(e,t,n),r&&e!==vr&&Ir(vr,t,r)}:Ir,jr=function(e,t){var n=xr[e]=Mn(wr);return mr(n,{type:"Symbol",tag:e,description:t}),w||(n.description=t),n},Tr=function(e,t,n){e===vr&&Tr(_r,t,n),Ue(e);var r=Te(t);return Ue(n),ke(xr,r)?(n.enumerable?(ke(e,yr)&&e[yr][r]&&(e[yr][r]=!1),n=Mn(n,{enumerable:X(0,!1)})):(ke(e,yr)||Ir(e,yr,X(1,{})),e[yr][r]=!0),Kr(e,r,n)):Ir(e,r,n)},Rr=function(e,t){Ue(e);var n=P(t),r=Fn(n).concat(Vr(n));return pr(r,(function(t){w&&!Z(Or,n,t)||Tr(e,t,n[t])})),e},Or=function(e){var t=Te(e),n=Z(Gr,this,t);return!(this===vr&&ke(xr,t)&&!ke(_r,t))&&(!(n||!ke(this,t)||!ke(xr,t)||ke(this,yr)&&this[yr][t])||n)},Yr=function(e,t){var n=P(e),r=Te(t);if(n!==vr||!ke(xr,r)||ke(_r,r)){var o=Zr(n,r);return!o||!ke(xr,r)||ke(n,yr)&&n[yr][r]||(o.enumerable=!0),o}},Hr=function(e){var t=Wr(P(e)),n=[];return pr(t,(function(e){ke(xr,e)||ke(ut,e)||Xr(n,e)})),n},Vr=function(e){var t=e===vr,n=Wr(t?_r:P(e)),r=[];return pr(n,(function(e){!ke(xr,e)||t&&!ke(vr,e)||Xr(r,xr[e])})),r};ie||(wr=(gr=function(){if(q(wr,this))throw Sr("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?cn(arguments[0]):void 0,t=Ge(e),n=function(e){this===vr&&Z(n,_r,e),ke(this,yr)&&ke(this[yr],t)&&(this[yr][t]=!1),Kr(this,t,X(1,e))};return w&&Cr&&Kr(vr,t,{configurable:!0,set:n}),jr(t,e)}).prototype,gt(wr,"toString",(function(){return br(this).tag})),gt(gr,"withoutSetter",(function(e){return jr(Ge(e),e)})),G.f=Or,De.f=Tr,Pn.f=Rr,Je.f=Yr,Yt.f=tr.f=Hr,Ht.f=Vr,nr.f=function(e){return jr(Ce(e),e)},w&&(Ir(wr,"description",{configurable:!0,get:function(){return br(this).description}}),gt(vr,"propertyIsEnumerable",Or,{unsafe:!0}))),Mt({global:!0,constructor:!0,wrap:!0,forced:!ie,sham:!ie},{Symbol:gr}),pr(Fn(Lr),(function(e){ir(e)})),Mt({target:"Symbol",stat:!0,forced:!ie},{useSetter:function(){Cr=!0},useSimple:function(){Cr=!1}}),Mt({target:"Object",stat:!0,forced:!ie,sham:!w},{create:function(e,t){return void 0===t?Mn(e):Rr(Mn(e),t)},defineProperty:Tr,defineProperties:Rr,getOwnPropertyDescriptor:Yr}),Mt({target:"Object",stat:!0,forced:!ie},{getOwnPropertyNames:Hr}),cr(),ur(gr,"Symbol"),ut[yr]=!0;var Jr=ie&&!!Symbol.for&&!!Symbol.keyFor,Nr=ve("string-to-symbol-registry"),Fr=ve("symbol-to-string-registry");Mt({target:"Symbol",stat:!0,forced:!Jr},{for:function(e){var t=cn(e);if(ke(Nr,t))return Nr[t];var n=Q("Symbol")(t);return Nr[t]=n,Fr[n]=t,n}});var Pr=ve("symbol-to-string-registry");Mt({target:"Symbol",stat:!0,forced:!Jr},{keyFor:function(e){if(!se(e))throw TypeError(le(e)+" is not a symbol");if(ke(Pr,e))return Pr[e]}});var Ur=Function.prototype,Er=Ur.apply,zr=Ur.call,Ar="object"==typeof Reflect&&Reflect.apply||(S?zr.bind(Er):function(){return zr.apply(Er,arguments)}),Dr=j([].slice),Br=Q("JSON","stringify"),Mr=j(/./.exec),Qr=j("".charAt),qr=j("".charCodeAt),$r=j("".replace),eo=j(1..toString),to=/[\uD800-\uDFFF]/g,no=/^[\uD800-\uDBFF]$/,ro=/^[\uDC00-\uDFFF]$/,oo=!ie||g((function(){var e=Q("Symbol")();return"[null]"!=Br([e])||"{}"!=Br({a:e})||"{}"!=Br(Object(e))})),io=g((function(){return'"\\udf06\\ud834"'!==Br("\udf06\ud834")||'"\\udead"'!==Br("\udead")})),co=function(e,t){var n=Dr(arguments),r=t;if((B(t)||void 0!==e)&&!se(e))return gn(t)||(t=function(e,t){if(A(r)&&(t=Z(r,this,e,t)),!se(t))return t}),n[1]=t,Ar(Br,null,n)},ao=function(e,t,n){var r=Qr(n,t-1),o=Qr(n,t+1);return Mr(no,e)&&!Mr(ro,o)||Mr(ro,e)&&!Mr(no,r)?"\\u"+eo(qr(e,0),16):e};Br&&Mt({target:"JSON",stat:!0,arity:3,forced:oo||io},{stringify:function(e,t,n){var r=Dr(arguments),o=Ar(oo?co:Br,null,r);return io&&"string"==typeof o?$r(o,to,ao):o}});var so=!ie||g((function(){Ht.f(1)}));Mt({target:"Object",stat:!0,forced:so},{getOwnPropertySymbols:function(e){var t=Ht.f;return t?t(we(e)):[]}}),ir("asyncIterator");var uo=De.f,lo=v.Symbol,fo=lo&&lo.prototype;if(w&&A(lo)&&(!("description"in fo)||void 0!==lo().description)){var ho={},po=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:cn(arguments[0]),t=q(fo,this)?new lo(e):void 0===e?lo():lo(e);return""===e&&(ho[t]=!0),t};Nt(po,lo),po.prototype=fo,fo.constructor=po;var yo="Symbol(test)"==String(lo("test")),mo=j(fo.valueOf),bo=j(fo.toString),vo=/^Symbol\((.*)\)[^)]+$/,go=j("".replace),wo=j("".slice);uo(fo,"description",{configurable:!0,get:function(){var e=mo(this);if(ke(ho,e))return"";var t=bo(e),n=yo?wo(t,7,-1):go(t,vo,"$1");return""===n?void 0:n}}),Mt({global:!0,constructor:!0,forced:!0},{Symbol:po})}ir("hasInstance"),ir("isConcatSpreadable"),ir("iterator"),ir("match"),ir("matchAll"),ir("replace"),ir("search"),ir("species"),ir("split"),ir("toPrimitive"),cr(),ir("toStringTag"),ur(Q("Symbol"),"Symbol"),ir("unscopables"),ur(v.JSON,"JSON",!0),ur(Math,"Math",!0),Mt({global:!0},{Reflect:{}}),ur(v.Reflect,"Reflect",!0),rr.Symbol;var So,ko,Zo,Io=j("".charAt),Wo=j("".charCodeAt),Go=j("".slice),Xo=function(e){return function(t,n){var r,o,i=cn(F(t)),c=Zt(n),a=i.length;return c<0||c>=a?e?"":void 0:(r=Wo(i,c))<55296||r>56319||c+1===a||(o=Wo(i,c+1))<56320||o>57343?e?Io(i,c):r:e?Go(i,c,c+2):o-56320+(r-55296<<10)+65536}},xo={codeAt:Xo(!1),charAt:Xo(!0)},_o=!g((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Lo=st("IE_PROTO"),Co=Object,Ko=Co.prototype,jo=_o?Co.getPrototypeOf:function(e){var t=we(e);if(ke(t,Lo))return t[Lo];var n=t.constructor;return A(n)&&t instanceof n?n.prototype:t instanceof Co?Ko:null},To=Ce("iterator"),Ro=!1;[].keys&&("next"in(Zo=[].keys())?(ko=jo(jo(Zo)))!==Object.prototype&&(So=ko):Ro=!0),(!B(So)||g((function(){var e={};return So[To].call(e)!==e})))&&(So={}),A(So[To])||gt(So,To,(function(){return this}));var Oo={IteratorPrototype:So,BUGGY_SAFARI_ITERATORS:Ro},Yo={},Ho=Oo.IteratorPrototype,Vo=function(){return this}
1,Jo=String,No=TypeError,Fo=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=j(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Ue(n),function(e){if("object"==typeof e||A(e))return e;throw No("Can't set "+Jo(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),Po=$e.PROPER,Uo=$e.CONFIGURABLE,Eo=Oo.IteratorPrototype,zo=Oo.BUGGY_SAFARI_ITERATORS,Ao=Ce("iterator"),Do=function(){return this},Bo=function(e,t,n,r,o,i,c){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Mn(Ho,{next:X(1,n)}),ur(e,o,!1),Yo[o]=Vo}(n,t,r);var a,s,u,l=function(e){if(e===o&&y)return y;if(!zo&&e in h)return h[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",f=!1,h=e.prototype,p=h[Ao]||h["@@iterator"]||o&&h[o],y=!zo&&p||l(o),m="Array"==t&&h.entries||p;if(m&&(a=jo(m.call(new e)))!==Object.prototype&&a.next&&(jo(a)!==Eo&&(Fo?Fo(a,Eo):A(a[Ao])||gt(a,Ao,Do)),ur(a,d,!0)),Po&&"values"==o&&p&&"values"!==p.name&&(Uo?Be(h,"name","values"):(f=!0,y=function(){return Z(p,this)})),o)if(s={values:l("values"),keys:i?y:l("keys"),entries:l("entries")},c)for(u in s)(zo||f||!(u in h))&&gt(h,u,s[u]);else Mt({target:t,proto:!0,forced:zo||f},s);return h[Ao]!==y&&gt(h,Ao,y,{name:o}),Yo[t]=y,s},Mo=function(e,t){return{value:e,done:t}},Qo=xo.charAt,qo=bt.set,$o=bt.getterFor("String Iterator");Bo(String,"String",(function(e){qo(this,{type:"String Iterator",string:cn(e),index:0})}),(function(){var e,t=$o(this),n=t.string,r=t.index;return r>=n.length?Mo(void 0,!0):(e=Qo(n,r),t.index+=e.length,Mo(e,!1))}));var ei=function(e,t,n){var r,o;Ue(e);try{if(!(r=he(e,"return"))){if("throw"===t)throw n;return n}r=Z(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Ue(r),n},ti=function(e,t,n,r){try{return r?t(Ue(n)[0],n[1]):t(n)}catch(t){ei(e,"throw",t)}},ni=Ce("iterator"),ri=Array.prototype,oi=function(e){return void 0!==e&&(Yo.Array===e||ri[ni]===e)},ii=Ce("iterator"),ci=function(e){if(!J(e))return he(e,ii)||he(e,"@@iterator")||Yo[rn(e)]},ai=TypeError,si=function(e,t){var n=arguments.length<2?ci(e):t;if(fe(n))return Ue(Z(n,e));throw ai(le(e)+" is not iterable")},ui=Array,li=Ce("iterator"),di=!1;try{var fi=0,hi={next:function(){return{done:!!fi++}},return:function(){di=!0}};hi[li]=function(){return this},Array.from(hi,(function(){throw 2}))}catch(o){}var pi=function(e,t){if(!t&&!di)return!1;var n=!1;try{var r={};r[li]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},yi=!pi((function(e){Array.from(e)}));Mt({target:"Array",stat:!0,forced:yi},{from:function(e){var t=we(e),n=Cn(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=dr(o,r>2?arguments[2]:void 0));var c,a,s,u,l,d,f=ci(t),h=0;if(!f||this===ui&&oi(f))for(c=_t(t),a=n?new this(c):ui(c);c>h;h++)d=i?o(t[h],h):t[h],kn(a,h,d);else for(l=(u=si(t,f)).next,a=n?new this:[];!(s=Z(l,u)).done;h++)d=i?ti(u,o,[s.value,h],!0):s.value,kn(a,h,d);return a.length=h,a}}),rr.Array.from;var mi,bi,vi,gi="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,wi=De.f,Si=bt.enforce,ki=bt.get,Zi=v.Int8Array,Ii=Zi&&Zi.prototype,Wi=v.Uint8ClampedArray,Gi=Wi&&Wi.prototype,Xi=Zi&&jo(Zi),xi=Ii&&jo(Ii),_i=Object.prototype,Li=v.TypeError,Ci=Ce("toStringTag"),Ki=Ge("TYPED_ARRAY_TAG"),ji=gi&&!!Fo&&"Opera"!==rn(v.opera),Ti=!1,Ri={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Oi={BigInt64Array:8,BigUint64Array:8},Yi=function(e){var t=jo(e);if(B(t)){var n=ki(t);return n&&ke(n,"TypedArrayConstructor")?n.TypedArrayConstructor:Yi(t)}},Hi=function(e){if(!B(e))return!1;var t=rn(e);return ke(Ri,t)||ke(Oi,t)};for(mi in Ri)(vi=(bi=v[mi])&&bi.prototype)?Si(vi).TypedArrayConstructor=bi:ji=!1;for(mi in Oi)(vi=(bi=v[mi])&&bi.prototype)&&(Si(vi).TypedArrayConstructor=bi);if((!ji||!A(Xi)||Xi===Function.prototype)&&(Xi=function(){throw Li("Incorrect invocation")},ji))for(mi in Ri)v[mi]&&Fo(v[mi],Xi);if((!ji||!xi||xi===_i)&&(xi=Xi.prototype,ji))for(mi in Ri)v[mi]&&Fo(v[mi].prototype,xi);if(ji&&jo(Gi)!==xi&&Fo(Gi,xi),w&&!ke(xi,Ci))for(mi in Ti=!0,wi(xi,Ci,{get:function(){return B(this)?this[Ki]:void 0}}),Ri)v[mi]&&Be(v[mi],Ki,mi);var Vi={NATIVE_ARRAY_BUFFER_VIEWS:ji,TYPED_ARRAY_TAG:Ti&&Ki,aTypedArray:function(e){if(Hi(e))return e;throw Li("Target is not a typed array")},aTypedArrayConstructor:function(e){if(A(e)&&(!Fo||q(Xi,e)))return e;throw Li(le(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(w){if(n)for(var o in Ri){var i=v[o];if(i&&ke(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}xi[e]&&!n||gt(xi,e,n?t:ji&&Ii[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;
1if(w){if(Fo){if(n)for(r in Ri)if((o=v[r])&&ke(o,e))try{delete o[e]}catch(e){}if(Xi[e]&&!n)return;try{return gt(Xi,e,n?t:ji&&Xi[e]||t)}catch(e){}}for(r in Ri)!(o=v[r])||o[e]&&!n||gt(o,e,t)}},getTypedArrayConstructor:Yi,isView:function(e){if(!B(e))return!1;var t=rn(e);return"DataView"===t||ke(Ri,t)||ke(Oi,t)},isTypedArray:Hi,TypedArray:Xi,TypedArrayPrototype:xi},Ji=TypeError,Ni=Ce("species"),Fi=Vi.aTypedArrayConstructor,Pi=Vi.getTypedArrayConstructor,Ui=Vi.aTypedArray;(0,Vi.exportTypedArrayMethod)("slice",(function(e,t){for(var n=Dr(Ui(this),e,t),r=Fi(function(e,t){var n,r=Ue(e).constructor;return void 0===r||J(n=Ue(r)[Ni])?t:function(e){if(Cn(e))return e;throw Ji(le(e)+" is not a constructor")}(n)}(this,Pi(this))),o=0,i=n.length,c=new r(i);i>o;)c[o]=n[o++];return c}),g((function(){new Int8Array(1).slice()})));var Ei=De.f,zi=Ce("unscopables"),Ai=Array.prototype;null==Ai[zi]&&Ei(Ai,zi,{configurable:!0,value:Mn(null)});var Di=function(e){Ai[zi][e]=!0},Bi=Ct.includes,Mi=g((function(){return!Array(1).includes()}));Mt({target:"Array",proto:!0,forced:Mi},{includes:function(e){return Bi(this,e,arguments.length>1?arguments[1]:void 0)}}),Di("includes"),vn("Array","includes");var Qi=j("".indexOf);Mt({target:"String",proto:!0,forced:!dn("includes")},{includes:function(e){return!!~Qi(cn(F(this)),cn(un(e)),arguments.length>1?arguments[1]:void 0)}}),vn("String","includes");var qi=De.f,$i=bt.set,ec=bt.getterFor("Array Iterator");Bo(Array,"Array",(function(e,t){$i(this,{type:"Array Iterator",target:P(e),index:0,kind:t})}),(function(){var e=ec(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,Mo(void 0,!0)):Mo("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var tc=Yo.Arguments=Yo.Array;if(Di("keys"),Di("values"),Di("entries"),w&&"values"!==tc.name)try{qi(tc,"name",{value:"values"})}catch(o){}var nc=g((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),rc=Object.isExtensible,oc=g((function(){rc(1)}))||nc?function(e){return!!B(e)&&(!nc||"ArrayBuffer"!=O(e))&&(!rc||rc(e))}:rc,ic=!g((function(){return Object.isExtensible(Object.preventExtensions({}))})),cc=p((function(e){var t=De.f,n=!1,r=Ge("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},c=e.exports={enable:function(){c.enable=function(){},n=!0;var e=Yt.f,t=j([].splice),o={};o[r]=1,e(o).length&&(Yt.f=function(n){for(var o=e(n),i=0,c=o.length;i<c;i++)if(o[i]===r){t(o,i,1);break}return o},Mt({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:tr.f}))},fastKey:function(e,t){if(!B(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!ke(e,r)){if(!oc(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!ke(e,r)){if(!oc(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return ic&&n&&oc(e)&&!ke(e,r)&&i(e),e}};ut[r]=!0}));cc.enable,cc.fastKey,cc.getWeakData,cc.onFreeze;var ac=TypeError,sc=function(e,t){this.stopped=e,this.result=t},uc=sc.prototype,lc=function(e,t,n){var r,o,i,c,a,s,u,l=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_RECORD),h=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),y=dr(t,l),m=function(e){return r&&ei(r,"normal",e),new sc(!0,e)},b=function(e){return d?(Ue(e),p?y(e[0],e[1],m):y(e[0],e[1])):p?y(e,m):y(e)};if(f)r=e.iterator;else if(h)r=e;else{if(!(o=ci(e)))throw ac(le(e)+" is not iterable");if(oi(o)){for(i=0,c=_t(e);c>i;i++)if((a=b(e[i]))&&q(uc,a))return a;return new sc(!1)}r=si(e,o)}for(s=f?e.next:r.next;!(u=Z(s,r)).done;){try{a=b(u.value)}catch(e){ei(r,"throw",e)}if("object"==typeof a&&a&&q(uc,a))return a}return new sc(!1)},dc=TypeError,fc=function(e,t){if(q(t,e))return e;throw dc("Incorrect invocation")},hc=function(e,t,n){for(var r in t)gt(e,r,t[r],n);return e},pc=Ce("species"),yc=De.f,mc=cc.fastKey,bc=bt.set,vc=bt.getterFor;function gc(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}function wc(e){return new this((function(t,n){if(!e||void 0===e.length)return n(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(e);
1if(0===r.length)return t([]);var o=r.length;function i(e,n){if(n&&("object"==typeof n||"function"==typeof n)){var c=n.then;if("function"==typeof c)return void c.call(n,(function(t){i(e,t)}),(function(n){r[e]={status:"rejected",reason:n},0==--o&&t(r)}))}r[e]={status:"fulfilled",value:n},0==--o&&t(r)}for(var c=0;c<r.length;c++)i(c,r[c])}))}!function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",c=v[e],a=c&&c.prototype,s=c,u={},l=function(e){var t=j(a[e]);gt(a,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!B(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!B(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!B(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Dt(e,!A(c)||!(o||a.forEach&&!g((function(){(new c).entries().next()})))))s=n.getConstructor(t,e,r,i),cc.enable();else if(Dt(e,!0)){var d=new s,f=d[i](o?{}:-0,1)!=d,h=g((function(){d.has(1)})),p=pi((function(e){new c(e)})),y=!o&&g((function(){for(var e=new c,t=5;t--;)e[i](t,t);return!e.has(-0)}));p||((s=t((function(e,t){fc(e,a);var n=function(e,t,n){var r,o;return Fo&&A(r=t.constructor)&&r!==n&&B(o=r.prototype)&&o!==n.prototype&&Fo(e,o),e}(new c,e,s);return J(t)||lc(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=a,a.constructor=s),(h||y)&&(l("delete"),l("has"),r&&l("get")),(y||f)&&l(i),o&&a.clear&&delete a.clear}u[e]=s,Mt({global:!0,constructor:!0,forced:s!=c},u),ur(s,e),o||n.setStrong(s,e,r)}("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),{getConstructor:function(e,t,n,r){var o=e((function(e,o){fc(e,i),bc(e,{type:t,index:Mn(null),first:void 0,last:void 0,size:0}),w||(e.size=0),J(o)||lc(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,c=vc(t),a=function(e,t,n){var r,o,i=c(e),a=s(e,t);return a?a.value=n:(i.last=a={index:o=mc(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),w?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},s=function(e,t){var n,r=c(e),o=mc(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return hc(i,{clear:function(){for(var e=c(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,w?e.size=0:this.size=0},delete:function(e){var t=this,n=c(t),r=s(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),w?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=c(this),r=dr(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),hc(i,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return a(this,0===e?0:e,t)}}:{add:function(e){return a(this,e=0===e?0:e,e)}}),w&&yc(i,"size",{get:function(){return c(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=vc(t),i=vc(r);Bo(e,t,(function(e,t){bc(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?Mo("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,Mo(void 0,!0))}),n?"entries":"values",!n,!0),function(e){var t=Q(e),n=De.f;w&&t&&!t[pc]&&n(t,pc,{configurable:!0,get:function(){return this}})}(t)}}),rr.Set;var Sc=setTimeout;function kc(e){return Boolean(e&&void 0!==e.length)}function Zc(){}function Ic(e){if(!(this instanceof Ic))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],Lc(e,this)}function Wc(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,Ic._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void Xc(t.promise,e)}Gc(t.promise,r)}else(1===e._state?Gc:Xc)(t.promise,e._value)}))):e._deferreds.push(t)}function Gc(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof Ic)return e._state=3,e._value=t,void xc(e);if("function"==typeof n)return void Lc((r=n,o=t,function(){r.apply(o,arguments)}),e)}e._state=1,e._value=t,xc(e)}catch(t){Xc(e,t)}var r,o}function Xc(e,t){e._state=2,e._value=t,xc(e)}function xc(e){2===e._state&&0===e._deferreds.length&&Ic._immediateFn((function(){e._handled||Ic._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)Wc(e,e._deferreds[t]);e._deferreds=null}function _c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function Lc(e,t){var n=!1;try{e((function(e){n||(n=!0,Gc(t,e))}),(function(e){n||(n=!0,Xc(t,e))}))}catch(e){if(n)return;
1n=!0,Xc(t,e)}}Ic.prototype.catch=function(e){return this.then(null,e)},Ic.prototype.then=function(e,t){var n=new this.constructor(Zc);return Wc(this,new _c(e,t,n)),n},Ic.prototype.finally=gc,Ic.all=function(e){return new Ic((function(t,n){if(!kc(e))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var o=r.length;function i(e,c){try{if(c&&("object"==typeof c||"function"==typeof c)){var a=c.then;if("function"==typeof a)return void a.call(c,(function(t){i(e,t)}),n)}r[e]=c,0==--o&&t(r)}catch(e){n(e)}}for(var c=0;c<r.length;c++)i(c,r[c])}))},Ic.allSettled=wc,Ic.resolve=function(e){return e&&"object"==typeof e&&e.constructor===Ic?e:new Ic((function(t){t(e)}))},Ic.reject=function(e){return new Ic((function(t,n){n(e)}))},Ic.race=function(e){return new Ic((function(t,n){if(!kc(e))return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=e.length;r<o;r++)Ic.resolve(e[r]).then(t,n)}))},Ic._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){Sc(e,0)},Ic._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var Cc=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof n.g)return n.g;throw new Error("unable to locate global object")}();"function"!=typeof Cc.Promise?Cc.Promise=Ic:(Cc.Promise.prototype.finally||(Cc.Promise.prototype.finally=gc),Cc.Promise.allSettled||(Cc.Promise.allSettled=wc)),function(e){function t(e){for(var t=0,n=Math.min(65536,e.length+1),r=new Uint16Array(n),o=[],i=0;;){var c=t<e.length;if(!c||i>=n-1){var a=r.subarray(0,i);if(o.push(String.fromCharCode.apply(null,a)),!c)return o.join("");e=e.subarray(t),t=0,i=0}var s=e[t++];if(0==(128&s))r[i++]=s;else if(192==(224&s)){var u=63&e[t++];r[i++]=(31&s)<<6|u}else if(224==(240&s)){u=63&e[t++];var l=63&e[t++];r[i++]=(31&s)<<12|u<<6|l}else if(240==(248&s)){var d=(7&s)<<18|(u=63&e[t++])<<12|(l=63&e[t++])<<6|63&e[t++];d>65535&&(d-=65536,r[i++]=d>>>10&1023|55296,d=56320|1023&d),r[i++]=d}}}var n="Failed to ",o=function(e,t,r){if(e)throw new Error("".concat(n).concat(t,": the '").concat(r,"' option is unsupported."))},i="function"==typeof r&&r.from,c=i?function(e){return r.from(e)}:function(e){for(var t=0,n=e.length,r=0,o=Math.max(32,n+(n>>>1)+7),i=new Uint8Array(o>>>3<<3);t<n;){var c=e.charCodeAt(t++);if(c>=55296&&c<=56319){if(t<n){var a=e.charCodeAt(t);56320==(64512&a)&&(++t,c=((1023&c)<<10)+(1023&a)+65536)}if(c>=55296&&c<=56319)continue}if(r+4>i.length){o+=8,o=(o*=1+t/e.length*2)>>>3<<3;var s=new Uint8Array(o);s.set(i),i=s}if(0!=(4294967168&c)){if(0==(4294965248&c))i[r++]=c>>>6&31|192;else if(0==(4294901760&c))i[r++]=c>>>12&15|224,i[r++]=c>>>6&63|128;else{if(0!=(4292870144&c))continue;i[r++]=c>>>18&7|240,i[r++]=c>>>12&63|128,i[r++]=c>>>6&63|128}i[r++]=63&c|128}else i[r++]=c}return i.slice?i.slice(0,r):i.subarray(0,r)};function a(){this.encoding="utf-8"}a.prototype.encode=function(e,t){return o(t&&t.stream,"encode","stream"),c(e)};var s=!i&&"function"==typeof Blob&&"function"==typeof URL&&"function"==typeof URL.createObjectURL,u=["utf-8","utf8","unicode-1-1-utf-8"],l=t;i?l=function(e,t){return(e instanceof r?e:r.from(e.buffer,e.byteOffset,e.byteLength)).toString(t)}:s&&(l=function(e){try{return function(e){var t;try{var n=new Blob([e],{type:"text/plain;charset=UTF-8"});t=URL.createObjectURL(n);var r=new XMLHttpRequest;return r.open("GET",t,!1),r.send(),r.responseText}finally{t&&URL.revokeObjectURL(t)}}(e)}catch(n){return t(e)}});var d="construct 'TextDecoder'",f="".concat(n," ").concat(d,": the ");function h(e,t){if(o(t&&t.fatal,d,"fatal"),e=e||"utf-8",!(i?r.isEncoding(e):-1!==u.indexOf(e.toLowerCase())))throw new RangeError("".concat(f," encoding label provided ('").concat(e,"') is invalid."));this.encoding=e,this.fatal=!1,this.ignoreBOM=!1}h.prototype.decode=function(e,t){var n;return o(t&&t.stream,"decode","stream"),n=e instanceof Uint8Array?e:e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer):new Uint8Array(e),l(n,this.encoding)},e.TextEncoder=e.TextEncoder||a,e.TextDecoder=e.TextDecoder||h}("undefined"!=typeof window?window:f),function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}
1function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?c(e):t}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=o(e);if(t){var i=o(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=u(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}var d=function(){function t(){e(this,t),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return n(t,[{key:"addEventListener",value:function(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}},{key:"removeEventListener",value:function(e,t){if(e in this.listeners)for(var n=this.listeners[e],r=0,o=n.length;r<o;r++)if(n[r].callback===t)return void n.splice(r,1)}},{key:"dispatchEvent",value:function(e){if(e.type in this.listeners){for(var t=this.listeners[e.type].slice(),n=0,r=t.length;n<r;n++){var o=t[n];try{o.callback.call(this,e)}catch(e){Promise.resolve().then((function(){throw e}))}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}}]),t}(),h=function(t){r(a,t);var i=s(a);function a(){var t;return e(this,a),(t=i.call(this)).listeners||d.call(c(t)),Object.defineProperty(c(t),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(c(t),"onabort",{value:null,writable:!0,configurable:!0}),t}return n(a,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),l(o(a.prototype),"dispatchEvent",this).call(this,e)}}]),a}(d),p=function(){function t(){e(this,t),Object.defineProperty(this,"signal",{value:new h,writable:!0,configurable:!0})}return n(t,[{key:"abort",value:function(){var e;try{e=new Event("abort")}catch(t){"undefined"!=typeof document?document.createEvent?(e=document.createEvent("Event")).initEvent("abort",!1,!1):(e=
1document.createEventObject()).type="abort":e={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(e)}},{key:"toString",value:function(){return"[object AbortController]"}}]),t}();"undefined"!=typeof Symbol&&Symbol.toStringTag&&(p.prototype[Symbol.toStringTag]="AbortController",h.prototype[Symbol.toStringTag]="AbortSignal"),function(e){(function(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof e.Request&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController})(e)&&(e.AbortController=p,e.AbortSignal=h)}("undefined"!=typeof self?self:f)}();var Kc=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){var e=this;this.locked=new Map,this.addToLocked=function(t,n){var r=e.locked.get(t);void 0===r?void 0===n?e.locked.set(t,[]):e.locked.set(t,[n]):void 0!==n&&(r.unshift(n),e.locked.set(t,r))},this.isLocked=function(t){return e.locked.has(t)},this.lock=function(t){return new Promise((function(n,r){e.isLocked(t)?e.addToLocked(t,n):(e.addToLocked(t),n())}))},this.unlock=function(t){var n=e.locked.get(t);if(void 0!==n&&0!==n.length){var r=n.pop();e.locked.set(t,n),void 0!==r&&setTimeout(r,0)}else e.locked.delete(t)}}return e.getInstance=function(){return void 0===e.instance&&(e.instance=new e),e.instance},e}();t.default=function(){return n.getInstance()}}));h(Kc);var jc=p((function(e,t){var n=f&&f.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function c(e){try{s(r.next(e))}catch(e){i(e)}}function a(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(c,a)}s((r=r.apply(e,t||[])).next())}))},r=f&&f.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}};Object.defineProperty(t,"__esModule",{value:!0});var o="browser-tabs-lock-key";function i(e){return new Promise((function(t){return setTimeout(t,e)}))}function c(e){for(var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",n="",r=0;r<e;r++)n+=t[Math.floor(Math.random()*t.length)];return n}var a=function(){function e(){this.acquiredIatSet=new Set,this.id=Date.now().toString()+c(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),void 0===e.waiters&&(e.waiters=[])}return e.prototype.acquireLock=function(t,a){return void 0===a&&(a=5e3),n(this,void 0,void 0,(function(){var n,s,u,l,d,f;return r(this,(function(r){switch(r.label){case 0:n=Date.now()+c(4),s=Date.now()+a,u=o+"-"+t,l=window.localStorage,r.label=1;case 1:return Date.now()<s?[4,i(30)]:[3,8];case 2:return r.sent(),null!==l.getItem(u)?[3,5]:(d=this.id+"-"+t+"-"+n,[4,i(Math.floor(25*Math.random()))]);case 3:return r.sent(),l.setItem(u,JSON.stringify({id:this.id,iat:n,timeoutKey:d,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,i(30)];case 4:return r.sent(),null!==(f=l.getItem(u))&&(f=JSON.parse(f)).id===this.id&&f.iat===n?(this.acquiredIatSet.add(n),this.refreshLockWhileAcquired(u,n),[2,!0]):[3,7];case 5:return e.lockCorrector(),[4,this.waitForSomethingToChange(s)];case 6:r.sent(),r.label=7;case 7:return n=Date.now()+c(4),[3,1];case 8:return[2,!1]}}))}))},e.prototype.refreshLockWhileAcquired=function(e,t){return n(this,void 0,void 0,(function(){var o=this;return r(this,(function(i){return setTimeout((function(){return n(o,void 0,void 0,(function(){var n,o;return r(this,(function(r){switch(r.label){case 0:return[4,Kc.default().lock(t)];case 1:return r.sent(),this.acquiredIatSet.has(t)?(n=window.localStorage,null===(o=n.getItem(e))?(Kc.default().unlock(t),[2]):((o=JSON.parse(o)).timeRefreshed=Date.now(),n.setItem(e,JSON.stringify(o)),Kc.default().unlock(t),this.refreshLockWhileAcquired(e,t),[2])):(Kc.default().unlock(t),[2])}}))}))}),1e3),[2]}))}
1))},e.prototype.waitForSomethingToChange=function(t){return n(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,new Promise((function(n){var r=!1,o=Date.now(),i=!1;function c(){if(i||(window.removeEventListener("storage",c),e.removeFromWaiting(c),clearTimeout(a),i=!0),!r){r=!0;var t=50-(Date.now()-o);t>0?setTimeout(n,t):n()}}window.addEventListener("storage",c),e.addToWaiting(c);var a=setTimeout(c,Math.max(0,t-Date.now()))}))];case 1:return n.sent(),[2]}}))}))},e.addToWaiting=function(t){this.removeFromWaiting(t),void 0!==e.waiters&&e.waiters.push(t)},e.removeFromWaiting=function(t){void 0!==e.waiters&&(e.waiters=e.waiters.filter((function(e){return e!==t})))},e.notifyWaiters=function(){void 0!==e.waiters&&e.waiters.slice().forEach((function(e){return e()}))},e.prototype.releaseLock=function(e){return n(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.releaseLock__private__(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.releaseLock__private__=function(t){return n(this,void 0,void 0,(function(){var n,i,c;return r(this,(function(r){switch(r.label){case 0:return n=window.localStorage,i=o+"-"+t,null===(c=n.getItem(i))?[2]:(c=JSON.parse(c)).id!==this.id?[3,2]:[4,Kc.default().lock(c.iat)];case 1:r.sent(),this.acquiredIatSet.delete(c.iat),n.removeItem(i),Kc.default().unlock(c.iat),e.notifyWaiters(),r.label=2;case 2:return[2]}}
1))}))},e.lockCorrector=function(){for(var t=Date.now()-5e3,n=window.localStorage,r=Object.keys(n),i=!1,c=0;c<r.length;c++){var a=r[c];if(a.includes(o)){var s=n.getItem(a);null!==s&&(void 0===(s=JSON.parse(s)).timeRefreshed&&s.timeAcquired<t||void 0!==s.timeRefreshed&&s.timeRefreshed<t)&&(n.removeItem(a),i=!0)}}i&&e.notifyWaiters()},e.waiters=void 0,e}();t.default=a})),Tc=h(jc),Rc={timeoutInSeconds:60},Oc=["login_required","consent_required","interaction_required","account_selection_required","access_denied"],Yc={name:"auth0-spa-js",version:"1.22.6"},Hc=function(){return Date.now()},Vc=function(e){function t(n,r){var o=e.call(this,r)||this;return o.error=n,o.error_description=r,Object.setPrototypeOf(o,t.prototype),o}return i(t,e),t.fromPayload=function(e){return new t(e.error,e.error_description)},t}(Error),Jc=function(e){function t(n,r,o,i){void 0===i&&(i=null);var c=e.call(this,n,r)||this;return c.state=o,c.appState=i,Object.setPrototypeOf(c,t.prototype),c}return i(t,e),t}(Vc),Nc=function(e){function t(){var n=e.call(this,"timeout","Timeout")||this;return Object.setPrototypeOf(n,t.prototype),n}return i(t,e),t}(Vc),Fc=function(e){function t(n){var r=e.call(this)||this;return r.popup=n,Object.setPrototypeOf(r,t.prototype),r}return i(t,e),t}(Nc),Pc=function(e){function t(n){var r=e.call(this,"cancelled","Popup closed")||this;return r.popup=n,Object.setPrototypeOf(r,t.prototype),r}return i(t,e),t}(Vc),Uc=function(e){function t(n,r,o){var i=e.call(this,n,r)||this;return i.mfa_token=o,Object.setPrototypeOf(i,t.prototype),i}return i(t,e),t}(Vc),Ec=function(e){function t(n,r){var o=e.call(this,"missing_refresh_token","Missing Refresh Token (audience: '".concat(ta(n,["default"]),"', scope: '").concat(ta(r),"')"))||this;return o.audience=n,o.scope=r,Object.setPrototypeOf(o,t.prototype),o}return i(t,e),t}(Vc),zc=function(e){return new Promise((function(t,n){var r,o=setInterval((function(){e.popup&&e.popup.closed&&(clearInterval(o),clearTimeout(i),window.removeEventListener("message",r,!1),n(new Pc(e.popup)))}),1e3),i=setTimeout((function(){clearInterval(o),n(new Fc(e.popup)),window.removeEventListener("message",r,!1)}),1e3*(e.timeoutInSeconds||60));r=function(c){if(c.data&&"authorization_response"===c.data.type){if(clearTimeout(i),clearInterval(o),window.removeEventListener("message",r,!1),e.popup.close(),c.data.response.error)return n(Vc.fromPayload(c.data.response));t(c.data.response)}},window.addEventListener("message",r)}))},Ac=function(){return window.crypto||window.msCrypto},Dc=function(){var e=Ac();return e.subtle||e.webkitSubtle},Bc=function(){var e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.",t="";return Array.from(Ac().getRandomValues(new Uint8Array(43))).forEach((function(n){return t+=e[n%e.length]})),t},Mc=function(e){return btoa(e)},Qc=function(e){return Object.keys(e).filter((function(t){return void 0!==e[t]})).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")},qc=function(e){return s(void 0,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:return t=Dc().digest({name:"SHA-256"},(new TextEncoder).encode(e)),window.msCrypto?[2,new Promise((function(e,n){t.oncomplete=function(t){e(t.target.result)},t.onerror=function(e){n(e.error)},t.onabort=function(){n("The digest operation was aborted")}}))]:[4,t];case 1:return[2,n.sent()]}}))}))},$c=function(e){return function(e){return decodeURIComponent(atob(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(e.replace(/_/g,"/").replace(/-/g,"+"))},ea=function(e){var t=new Uint8Array(e);return function(e){var t={"+":"-","/":"_","=":""};return e.replace(/[+/=]/g,(function(e){return t[e]}))}(window.btoa(String.fromCharCode.apply(String,d([],l(Array.from(t)),!1))))};function ta(e,t){return void 0===t&&(t=[]),e&&!t.includes(e)?e:""}var na=function(e,t){return s(void 0,void 0,void 0,(function(){var n,r;return u(this,(function(o){switch(o.label){case 0:return[4,(i=e,c=t,c=c||{},new Promise((function(e,t){var n=new XMLHttpRequest,r=[],o=[],a={},s=function(){return{ok:2==(n.status/100|0),statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:s,headers:{keys:function(){return r},entries:function(){return o},get:function(e){return a[e.toLowerCase()]},has:function(e){return e.toLowerCase()in a}}}};for(var u in n.open(c.method||"get",i,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){r.push(t=t.toLowerCase()),o.push([t,n]),a[t]=a[t]?a[t]+","+n:n})),e(s())},n.onerror=t,n.withCredentials="include"==c.credentials,c.headers)n.setRequestHeader(u,c.headers[u]);n.send(c.body||null)})))];case 1:return n=o.sent(),r={ok:n.ok},[4,n.json()];case 2:return[2,(r.json=o.sent(),r)]}var i,c}))}))},ra=function(e,t,n){return s(void 0,void 0,void 0,(function(){var r,o;return u(this,(function(i){return r=new AbortController,t.signal=r.signal,[2,Promise.race([na(e,t),new Promise((function(e,t){o=setTimeout((function(){r.abort(),t(new Error("Timeout when executing 'fetch'"))}),n)}))]).finally((function(){clearTimeout(o)}))]}))}))},oa=function(e,t,n,r,o,i,c){return s(void 0,void 0,void 0,(function(){return u(this,(function(a){return[2,(s={auth:{audience:t,scope:n},timeout:o,fetchUrl:e,fetchOptions:r,useFormData:c},u=i,new Promise((function(e,t){var n=new MessageChannel;n.port1.onmessage=function(r){r.data.error?t(new Error(r.data.error)):e(r.data),n.port1.close()},u.postMessage(s,[n.port2])})))];var s,u}))}))},ia=function(e,t,n,r,o,i,c){return void 0===c&&(c=1e4),s(void 0,void 0,void 0,(function(){return u(this,(function(a){return o?[2,oa(e,t,n,r,c,o,i)]:[2,ra(e,r,c)]}))}))};function ca(e,t,n,r,o,i,c){return s(this,void 0,void 0,(function(){var s,l,d,f,h,p,y,m,b;return u(this,(function(u){switch(u.label){case 0:s=null,d=0,u.label=1;case 1:if(!(d<3))return[3,6];u.label=2;case 2:return u.trys.push([2,4,,5]),[4,ia(e,n,r,o,i,c,t)];case 3:return l=u.sent(),s=null,[3,6];case 4:return f=u.sent(),s=f,[3,5];case 5:return d++,[3,1];case 6:if(s)throw s.message=s.message||"Failed to fetch",s;if(h=l.json,p=h.error,y=h.error_description,m=a(h,["error","error_description"]),!l.ok){if(b=y||"HTTP error. Unable to fetch ".concat(e),"mfa_required"===p)throw new Uc(p,b,m.mfa_token);throw new Vc(p||"request_error",b)}return[2,m]}}))}))}function aa(e,t){var n=e.baseUrl,r=e.timeout,o=e.audience,i=e.scope,c=e.auth0Client,l=e.useFormData,d=a(e,["baseUrl","timeout","audience","scope","auth0Client","useFormData"]);return s(this,void 0,void 0,(function(){var e;return u(this,(function(a){switch(a.label){case 0:return e=l?Qc(d):JSON.stringify(d),[4,ca("".concat(n,"/oauth/token"),r,o||"default",i,{method:"POST",body:e,headers:{"Content-Type":l?"application/x-www-form-urlencoded":"application/json","Auth0-Client":btoa(JSON.stringify(c||Yc))}},t,l)];case 1:return[2,a.sent()]}}))}))}var sa=function(e){return Array.from(new Set(e))},ua=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return sa(e.join(" ").trim().split(/\s+/)).join(" ")},la=function(){function e(e,t){void 0===t&&(t="@@auth0spajs@@"),this.prefix=t,this.client_id=e.client_id,this.scope=e.scope,this.audience=e.audience}return e.prototype.toKey=function(){return"".concat(this.prefix,"::").concat(this.client_id,"::").concat(this.audience,"::").concat(this.scope)},e.fromKey=function(t){var n=l(t.split("::"),4),r=n[0],o=n[1],i=n[2];return new e({client_id:o,scope:n[3],audience:i},r)},e.fromCacheEntry=function(t){return new e({scope:t.scope,audience:t.audie
1nce,client_id:t.client_id})},e}(),da=function(){function e(){}return e.prototype.set=function(e,t){localStorage.setItem(e,JSON.stringify(t))},e.prototype.get=function(e){var t=window.localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch(e){return}},e.prototype.remove=function(e){localStorage.removeItem(e)},e.prototype.allKeys=function(){return Object.keys(window.localStorage).filter((function(e){return e.startsWith("@@auth0spajs@@")}))},e}(),fa=function(){var e;this.enclosedCache=(e={},{set:function(t,n){e[t]=n},get:function(t){var n=e[t];if(n)return n},remove:function(t){delete e[t]},allKeys:function(){return Object.keys(e)}})},ha=function(){function e(e,t,n){this.cache=e,this.keyManifest=t,this.nowProvider=n,this.nowProvider=this.nowProvider||Hc}return e.prototype.get=function(e,t){var n;return void 0===t&&(t=0),s(this,void 0,void 0,(function(){var r,o,i,c,a;return u(this,(function(s){switch(s.label){case 0:return[4,this.cache.get(e.toKey())];case 1:return(r=s.sent())?[3,4]:[4,this.getCacheKeys()];case 2:return(o=s.sent())?(i=this.matchExistingCacheKey(e,o))?[4,this.cache.get(i)]:[3,4]:[2];case 3:r=s.sent(),s.label=4;case 4:return r?[4,this.nowProvider()]:[2];case 5:return c=s.sent(),a=Math.floor(c/1e3),r.expiresAt-t<a?r.body.refresh_token?(r.body={refresh_token:r.body.refresh_token},[4,this.cache.set(e.toKey(),r)]):[3,7]:[3,10];case 6:return s.sent(),[2,r.body];case 7:return[4,this.cache.remove(e.toKey())];case 8:return s.sent(),[4,null===(n=this.keyManifest)||void 0===n?void 0:n.remove(e.toKey())];case 9:return s.sent(),[2];case 10:return[2,r.body]}}))}))},e.prototype.set=function(e){var t;return s(this,void 0,void 0,(function(){var n,r;return u(this,(function(o){switch(o.label){case 0:return n=new la({client_id:e.client_id,scope:e.scope,audience:e.audience}),[4,this.wrapCacheEntry(e)];case 1:return r=o.sent(),[4,this.cache.set(n.toKey(),r)];case 2:return o.sent(),[4,null===(t=this.keyManifest)||void 0===t?void 0:t.add(n.toKey())];case 3:return o.sent(),[2]}}))}))},e.prototype.clear=function(e){var t;return s(this,void 0,void 0,(function(){var n,r=this;return u(this,(function(o){switch(o.label){case 0:return[4,this.getCacheKeys()];case 1:return(n=o.sent())?[4,n.filter((function(t){return!e||t.includes(e)})).reduce((function(e,t){return s(r,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return[4,e];case 1:return n.sent(),[4,this.cache.remove(t)];case 2:return n.sent(),[2]}}))}))}),Promise.resolve())]:[2];case 2:return o.sent(),[4,null===(t=this.keyManifest)||void 0===t?void 0:t.clear()];case 3:return o.sent(),[2]}}))}))},e.prototype.clearSync=function(e){var t=this,n=this.cache.allKeys();n&&n.filter((function(t){return!e||t.includes(e)})).forEach((function(e){t.cache.remove(e)}))},e.prototype.wrapCacheEntry=function(e){return s(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(o){switch(o.label){case 0:return[4,this.nowProvider()];case 1:return t=o.sent(),n=Math.floor(t/1e3)+e.expires_in,r=Math.min(n,e.decodedToken.claims.exp),[2,{body:e,expiresAt:r}]}}))}))},e.prototype.getCacheKeys=function(){var e;return s(this,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:return this.keyManifest?[4,this.keyManifest.get()]:[3,2];case 1:return t=null===(e=n.sent())||void 0===e?void 0:e.keys,[3,4];case 2:return[4,this.cache.allKeys()];case 3:t=n.sent(),n.label=4;case 4:return[2,t]}}))}))},e.prototype.matchExistingCacheKey=function(e,t){return t.filter((function(t){var n=la.fromKey(t),r=new Set(n.scope&&n.scope.split(" ")),o=e.scope.split(" "),i=n.scope&&o.reduce((function(e,t){return e&&r.has(t)}),!0);return"@@auth0spajs@@"===n.prefix&&n.client_id===e.client_id&&n.audience===e.audience&&i}))[0]},e}(),pa=function(){function e(e,t){this.storage=e,this.clientId=t,this.storageKey="".concat("a0.spajs.txs",".").concat(this.clientId),this.transaction=this.storage.get(this.storageKey)}return e.prototype.create=function(e){this.transaction=e,this.storage.save(this.storageKey,e,{daysUntilExpire:1})},e.prototype.get=function(){return this.transaction},e.prototype.remove=function(){delete this.transaction,this.storage.remove(this.storageKey)},e}(),ya=function(e){return"number"==typeof e}
1,ma=["iss","aud","exp","nbf","iat","jti","azp","nonce","auth_time","at_hash","c_hash","acr","amr","sub_jwk","cnf","sip_from_tag","sip_date","sip_callid","sip_cseq_num","sip_via_branch","orig","dest","mky","events","toe","txn","rph","sid","vot","vtm"],ba=function(e){if(!e.id_token)throw new Error("ID token is required but missing");var t=function(e){var t=e.split("."),n=l(t,3),r=n[0],o=n[1],i=n[2];if(3!==t.length||!r||!o||!i)throw new Error("ID token could not be decoded");var c=JSON.parse($c(o)),a={__raw:e},s={};return Object.keys(c).forEach((function(e){a[e]=c[e],ma.includes(e)||(s[e]=c[e])})),{encoded:{header:r,payload:o,signature:i},header:JSON.parse($c(r)),claims:a,user:s}}(e.id_token);if(!t.claims.iss)throw new Error("Issuer (iss) claim must be a string present in the ID token");if(t.claims.iss!==e.iss)throw new Error('Issuer (iss) claim mismatch in the ID token; expected "'.concat(e.iss,'", found "').concat(t.claims.iss,'"'));if(!t.user.sub)throw new Error("Subject (sub) claim must be a string present in the ID token");if("RS256"!==t.header.alg)throw new Error('Signature algorithm of "'.concat(t.header.alg,'" is not supported. Expected the ID token to be signed with "RS256".'));if(!t.claims.aud||"string"!=typeof t.claims.aud&&!Array.isArray(t.claims.aud))throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");if(Array.isArray(t.claims.aud)){if(!t.claims.aud.includes(e.aud))throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(e.aud,'" but was not one of "').concat(t.claims.aud.join(", "),'"'));if(t.claims.aud.length>1){if(!t.claims.azp)throw new Error("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values");if(t.claims.azp!==e.aud)throw new Error('Authorized Party (azp) claim mismatch in the ID token; expected "'.concat(e.aud,'", found "').concat(t.claims.azp,'"'))}}else if(t.claims.aud!==e.aud)throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(e.aud,'" but found "').concat(t.claims.aud,'"'));if(e.nonce){if(!t.claims.nonce)throw new Error("Nonce (nonce) claim must be a string present in the ID token");if(t.claims.nonce!==e.nonce)throw new Error('Nonce (nonce) claim mismatch in the ID token; expected "'.concat(e.nonce,'", found "').concat(t.claims.nonce,'"'))}if(e.max_age&&!ya(t.claims.auth_time))throw new Error("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified");if(!ya(t.claims.exp))throw new Error("Expiration Time (exp) claim must be a number present in the ID token");if(!ya(t.claims.iat))throw new Error("Issued At (iat) claim must be a number present in the ID token");var n=e.leeway||60,r=new Date(e.now||Date.now()),o=new Date(0),i=new Date(0),c=new Date(0);if(c.setUTCSeconds(parseInt(t.claims.auth_time)+e.max_age+n),o.setUTCSeconds(t.claims.exp+n),i.setUTCSeconds(t.claims.nbf-n),r>o)throw new Error("Expiration Time (exp) claim error in the ID token; current time (".concat(r,") is after expiration time (").concat(o,")"));if(ya(t.claims.nbf)&&r<i)throw new Error("Not Before time (nbf) claim in the ID token indicates that this token can't be used just yet. Currrent time (".concat(r,") is before ").concat(i));if(ya(t.claims.auth_time)&&r>c)throw new Error("Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Currrent time (".concat(r,") is after last auth at ").concat(c));if(e.organizationId){if(!t.claims.org_id)throw new Error("Organization ID (org_id) claim must be a string present in the ID token");if(e.organizationId!==t.claims.org_id)throw new Error('Organization ID (org_id) claim mismatch in the ID token; expected "'.concat(e.organizationId,'", found "').concat(t.claims.org_id,'"'))}return t},va=p((function(e,t){var n=f&&f.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function r(e,t){if(!t)return"";var n="; "+e;return!0===t?n:n+"="+t}function o(e,t,n){return encodeURIComponent(e).replace(/%(23|24|26|2B|5E|60|7C)/g,decode
1URIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(t).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(e){if("number"==typeof e.expires){var t=new Date;t.setMilliseconds(t.getMilliseconds()+864e5*e.expires),e.expires=t}return r("Expires",e.expires?e.expires.toUTCString():"")+r("Domain",e.domain)+r("Path",e.path)+r("Secure",e.secure)+r("SameSite",e.sameSite)}(n)}function i(e){for(var t={},n=e?e.split("; "):[],r=/(%[\dA-F]{2})+/gi,o=0;o<n.length;o++){var i=n[o].split("="),c=i.slice(1).join("=");'"'===c.charAt(0)&&(c=c.slice(1,-1));try{t[i[0].replace(r,decodeURIComponent)]=c.replace(r,decodeURIComponent)}catch(e){}}return t}function c(){return i(document.cookie)}function a(e,t,r){document.cookie=o(e,t,n({path:"/"},r))}t.__esModule=!0,t.encode=o,t.parse=i,t.getAll=c,t.get=function(e){return c()[e]},t.set=a,t.remove=function(e,t){a(e,"",n(n({},t),{expires:-1}))}}));h(va),va.encode,va.parse,va.getAll;var ga=va.get,wa=va.set,Sa=va.remove,ka={get:function(e){var t=ga(e);if(void 0!==t)return JSON.parse(t)},save:function(e,t,n){var r={};"https:"===window.location.protocol&&(r={secure:!0,sameSite:"none"}),(null==n?void 0:n.daysUntilExpire)&&(r.expires=n.daysUntilExpire),(null==n?void 0:n.cookieDomain)&&(r.domain=n.cookieDomain),wa(e,JSON.stringify(t),r)},remove:function(e,t){var n={};(null==t?void 0:t.cookieDomain)&&(n.domain=t.cookieDomain),Sa(e,n)}},Za={get:function(e){return ka.get(e)||ka.get("".concat("_legacy_").concat(e))},save:function(e,t,n){var r={};"https:"===window.location.protocol&&(r={secure:!0}),(null==n?void 0:n.daysUntilExpire)&&(r.expires=n.daysUntilExpire),wa("".concat("_legacy_").concat(e),JSON.stringify(t),r),ka.save(e,t,n)},remove:function(e,t){var n={};(null==t?void 0:t.cookieDomain)&&(n.domain=t.cookieDomain),Sa(e,n),ka.remove(e,t),ka.remove("".concat("_legacy_").concat(e),t)}},Ia={get:function(e){if("undefined"!=typeof sessionStorage){var t=sessionStorage.getItem(e);if(void 0!==t)return JSON.parse(t)}},save:function(e,t){sessionStorage.setItem(e,JSON.stringify(t))},remove:function(e){sessionStorage.removeItem(e)}};var Wa,Ga=("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7dmFyIHQ9ZnVuY3Rpb24oZSxyKXtyZXR1cm4gdD1PYmplY3Quc2V0UHJvdG90eXBlT2Z8fHtfX3Byb3RvX186W119aW5zdGFuY2VvZiBBcnJheSYmZnVuY3Rpb24odCxlKXt0Ll9fcHJvdG9fXz1lfXx8ZnVuY3Rpb24odCxlKXtmb3IodmFyIHIgaW4gZSlPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoZSxyKSYmKHRbcl09ZVtyXSl9LHQoZSxyKX07ZnVuY3Rpb24gZShlLHIpe2lmKCJmdW5jdGlvbiIhPXR5cGVvZiByJiZudWxsIT09cil0aHJvdyBuZXcgVHlwZUVycm9yKCJDbGFzcyBleHRlbmRzIHZhbHVlICIrU3RyaW5nKHIpKyIgaXMgbm90IGEgY29uc3RydWN0b3Igb3IgbnVsbCIpO2Z1bmN0aW9uIG4oKXt0aGlzLmNvbnN0cnVjdG9yPWV9dChlLHIpLGUucHJvdG90eXBlPW51bGw9PT1yP09iamVjdC5jcmVhdGUocik6KG4ucHJvdG90eXBlPXIucHJvdG90eXBlLG5ldyBuKX12YXIgcj1mdW5jdGlvbigpe3JldHVybiByPU9iamVjdC5hc3NpZ258fGZ1bmN0aW9uKHQpe2Zvcih2YXIgZSxyPTEsbj1hcmd1bWVudHMubGVuZ3RoO3I8bjtyKyspZm9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yOk8ubWVzc2FnZX0pLFsyXTtjYXNlIDU6cmV0dXJuIHc/WzQsdy5qc29uKCldOihkJiZkLmFib3J0KCksaC5wb3N0TWVzc2FnZSh7ZXJyb3I6IlRpbWVvdXQgd2hlbiBleGVjdXRpbmcgJ2ZldGNoJyJ9KSxbMl0pO2Nhc2UgNjpyZXR1cm4odD1vLnNlbnQoKSkucmVmcmVzaF90b2tlbj8oZnVuY3Rpb24odCxlLHIpe3NbdShlLHIpXT10fSh0LnJlZnJlc2hfdG9rZW4sbix5KSxkZWxldGUgdC5yZWZyZXNoX3Rva2VuKTpmdW5jdGlvbih0LGUpe2RlbGV0ZSBzW3UodCxlKV19KG4seSksaC5wb3N0TWVzc2FnZSh7b2s6dy5vayxqc29uOnR9KSxbMyw4XTt
1jYXNlIDc6cmV0dXJuIF89by5zZW50KCksaC5wb3N0TWVzc2FnZSh7b2s6ITEsanNvbjp7ZXJyb3JfZGVzY3JpcHRpb246Xy5tZXNzYWdlfX0pLFszLDhdO2Nhc2UgODpyZXR1cm5bMl19dmFyIGcsbSxrLFB9KSl9KSl9KSl9KCk7Cgo=",null,!1,function(e){return Wa=Wa||function(e,t,n){var r=void 0===t?null:t,o=function(e,t){var n=atob(e);if(t){for(var r=new Uint8Array(n.length),o=0,i=n.length;o<i;++o)r[o]=n.charCodeAt(o);return String.fromCharCode.apply(null,new Uint16Array(r.buffer))}return n}(e,void 0!==n&&n),i=o.indexOf("\n",10)+1,c=o.substring(i)+(r?"//# sourceMappingURL="+r:""),a=new Blob([c],{type:"application/javascript"});return URL.createObjectURL(a)}("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7dmFyIHQ9ZnVuY3Rpb24oZSxyKXtyZXR1cm4gdD1PYmplY3Quc2V0UHJvdG90eXBlT2Z8fHtfX3Byb3RvX186W119aW5zdGFuY2VvZiBBcnJheSYmZnVuY3Rpb24odCxlKXt0Ll9fcHJ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b3JfZGVzY3JpcHRpb246Xy5tZXNzYWdlfX0pLFszLDhdO2Nhc2UgODpyZXR1cm5bMl19dmFyIGcsbSxrLFB9KSl9KSl9KSl9KCk7Cgo=",null,false),new Worker(Wa,e)}),Xa={},xa=function(){function e(e,t){this.cache=e,this.clientId=t,this.manifestKey=this.createManifestKeyFrom(this.clientId)}return e.prototype.add=function(e){var t;return s(this,void 0,void 0,(function(){var n,r;return u(this,(function(o){switch(o.label){case 0:return r=Set.bind,[4,this.cache.get(this.manifestKey)];case 1:return(n=new(r.apply(Set,[void 0,(null===(t=o.sent())||void 0===t?void 0:t.keys)||[]]))).add(e),[4,this.cache.set(this.manifestKey,{keys:d([],l(n),!1)})];case 2:return o.sent(),[2]}}))}))},e.prototype.remove=function(e){return s(this,void 0,void 0,(function(){var t,n;return u(this,(function(r){switch(r.label){case 0:return[4,this.cache.get(this.manifestKey)];case 1:return(t=r.sent())?((n=new Set(t.keys)).delete(e),n.size>0?[4,this.cache.set(this.manifestKey,{keys:d([],l(n),!1)})]:[3,3]):[3,5];case 2:case 4:return[2,r.sent()];case 3:return[4,this.cache.remove(this.manifestKey)];case 5:return[2]}}
1))}))},e.prototype.get=function(){return this.cache.get(this.manifestKey)},e.prototype.clear=function(){return this.cache.remove(this.manifestKey)},e.prototype.createManifestKeyFrom=function(e){return"".concat("@@auth0spajs@@","::").concat(e)},e}(),_a=new Tc,La={memory:function(){return(new fa).enclosedCache},localstorage:function(){return new da}},Ca=function(e){return La[e]},Ka=function(){function e(e){var t,n,r,o,i=this;if(this.options=e,this._releaseLockOnPageHide=function(){return s(i,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return[4,_a.releaseLock("auth0.lock.getTokenSilently")];case 1:return e.sent(),window.removeEventListener("pagehide",this._releaseLockOnPageHide),[2]}}))}))},"undefined"!=typeof window&&function(){if(!Ac())throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");if(void 0===Dc())throw new Error("\n      auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.\n    ")}(),e.cache&&e.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."),e.cache)r=e.cache;else{if(this.cacheLocation=e.cacheLocation||"memory",!Ca(this.cacheLocation))throw new Error('Invalid cache location "'.concat(this.cacheLocation,'"'));r=Ca(this.cacheLocation)()}this.httpTimeoutMs=e.httpTimeoutInSeconds?1e3*e.httpTimeoutInSeconds:1e4,this.cookieStorage=!1===e.legacySameSiteCookie?ka:Za,this.orgHintCookieName=(o=this.options.client_id,"auth0.".concat(o,".organization_hint")),this.isAuthenticatedCookieName=function(e){return"auth0.".concat(e,".is.authenticated")}(this.options.client_id),this.sessionCheckExpiryDays=e.sessionCheckExpiryDays||1;var c,l=e.useCookiesForTransactions?this.cookieStorage:Ia;this.scope=this.options.scope,this.transactionManager=new pa(l,this.options.client_id),this.nowProvider=this.options.nowProvider||Hc,this.cacheManager=new ha(r,r.allKe
1ys?null:new xa(r,this.options.client_id),this.nowProvider),this.domainUrl=(c=this.options.domain,/^https?:\/\//.test(c)?c:"https://".concat(c)),this.tokenIssuer=function(e,t){return e?e.startsWith("https://")?e:"https://".concat(e,"/"):"".concat(t,"/")}(this.options.issuer,this.domainUrl),this.defaultScope=ua("openid",void 0!==(null===(n=null===(t=this.options)||void 0===t?void 0:t.advancedOptions)||void 0===n?void 0:n.defaultScope)?this.options.advancedOptions.defaultScope:"openid profile email"),this.options.useRefreshTokens&&(this.scope=ua(this.scope,"offline_access")),"undefined"!=typeof window&&window.Worker&&this.options.useRefreshTokens&&"memory"===this.cacheLocation&&!/Trident.*rv:11\.0/.test(navigator.userAgent)&&(this.worker=new Ga),this.customOptions=function(e){return e.advancedOptions,e.audience,e.auth0Client,e.authorizeTimeoutInSeconds,e.cacheLocation,e.cache,e.client_id,e.domain,e.issuer,e.leeway,e.max_age,e.nowProvider,e.redirect_uri,e.scope,e.useRefreshTokens,e.useRefreshTokensFallback,e.useCookiesForTransactions,e.useFormData,a(e,["advancedOptions","audience","auth0Client","authorizeTimeoutInSeconds","cacheLocation","cache","client_id","domain","issuer","leeway","max_age","nowProvider","redirect_uri","scope","useRefreshTokens","useRefreshTokensFallback","useCookiesForTransactions","useFormData"])}(e),this.useRefreshTokensFallback=!1!==this.options.useRefreshTokensFallback}return e.prototype._url=function(e){var t=encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client||Yc)));return"".concat(this.domainUrl).concat(e,"&auth0Client=").concat(t)},e.prototype._getParams=function(e,t,n,r,o){var i=this.options;i.useRefreshTokens,i.useCookiesForTransactions,i.useFormData,i.auth0Client,i.cacheLocation,i.advancedOptions,i.detailedResponse,i.nowProvider,i.authorizeTimeoutInSeconds,i.legacySameSiteCookie,i.sessionCheckExpiryDays,i.domain,i.leeway,i.httpTimeoutInSeconds;var s=a(i,["useRefreshTokens","useCookiesForTransactions","useFormData","auth0Client","cacheLocation","advancedOptions","detailedResponse","nowProvider","authorizeTimeoutInSeconds","legacySameSiteCookie","sessionCheckExpiryDays","domain","leeway","httpTimeoutInSeconds"]);return c(c(c({},s),e),{scope:ua(this.defaultScope,this.scope,e.scope),response_type:"code",response_mode:"query",state:t,nonce:n,redirect_uri:o||this.options.redirect_uri,code_challenge:r,code_challenge_method:"S256"})},e.prototype._authorizeUrl=function(e){return this._url("/authorize?".concat(Qc(e)))},e.prototype._verifyIdToken=function(e,t,n){return s(this,void 0,void 0,(function(){var r;return u(this,(function(o){switch(o.label){case 0:return[4,this.nowProvider()];case 1:return r=o.sent(),[2,ba({iss:this.tokenIssuer,aud:this.options.client_id,id_token:e,nonce:t,organizationId:n,leeway:this.options.leeway,max_age:this._parseNumber(this.options.max_age),now:r})]}}))}))},e.prototype._parseNumber=function(e){return"string"!=typeof e?e:parseInt(e,10)||void 0},e.prototype._processOrgIdHint=function(e){e?this.cookieStorage.save(this.orgHintCookieName,e,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}):this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain})},e.prototype.buildAuthorizeUrl=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r,o,i,s,l,d,f,h,p,y;return u(this,(function(u){switch(u.label){case 0:return t=e.redirect_uri,n=e.appState,r=a(e,["redirect_uri","appState"]),o=Mc(Bc()),i=Mc(Bc()),s=Bc(),[4,qc(s)];case 1:return l=u.sent(),d=ea(l),f=e.fragment?"#".concat(e.fragment):"",h=this._getParams(r,o,i,d,t),p=this._authorizeUrl(h),y=e.organization||this.options.organization,this.transactionManager.create(c({nonce:i,code_verifier:s,appState:n,scope:h.scope,audience:h.audience||"default",redirect_uri:h.redirect_uri,state:o},y&&{organizationId:y})),[2,p+f]}}))}))},e.prototype.loginWithPopup=function(e,t){return s(this,void 0,void 0,(function(){var n,r,o,i,s,l,d,f,h,p,y,m,b;return u(this,(function(u){switch(u.label){case 0:if(e=e||{},!(t=t||{}).popup&&(t.popup=function(e){var t=window.screenX+(window.innerWidth-400)/2,n=window.screenY+(window.innerHeight-600)/2;return window.open("","auth0:authorize:popup","left=".concat(t,",top=").concat(n,",width=").concat(400,",height=").concat(600,",resizable,scrollbars=yes,status=1"))}(),!t.popup))throw new Error("Unable to open a popup for loginWithPopup - window.open returned `null`");return n=a(e,[]),r=Mc(Bc()),o=Mc(Bc()),i=Bc(),[4,qc(i)];case 1:return s=u.sent(),l=ea(s),d=this._getParams(n,r,o,l,this.options.redirect_uri||window.location.origin),f=this._authorizeUrl(c(c({},d),{response_mode:"web_message"})),t.popup.location.href=f,[4,zc(c(c({},t),{timeoutInSeconds:t.timeoutInSeconds||this.options.authorizeTimeoutInSeconds||60}))];case 2:if(h=u.sent(),r!==h.state)throw new Error("Invalid state");return[4,aa({audience:d.audience,scope:d.scope,baseUrl:this.domainUrl,client_id:this.options.client_id,code_verifier:i,co
1de:h.code,grant_type:"authorization_code",redirect_uri:d.redirect_uri,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs},this.worker)];case 3:return p=u.sent(),y=e.organization||this.options.organization,[4,this._verifyIdToken(p.id_token,o,y)];case 4:return m=u.sent(),b=c(c({},p),{decodedToken:m,scope:d.scope,audience:d.audience||"default",client_id:this.options.client_id}),[4,this.cacheManager.set(b)];case 5:return u.sent(),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgIdHint(m.claims.org_id),[2]}}))}))},e.prototype.getUser=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(o){switch(o.label){case 0:return t=e.audience||this.options.audience||"default",n=ua(this.defaultScope,this.scope,e.scope),[4,this.cacheManager.get(new la({client_id:this.options.client_id,audience:t,scope:n}))];case 1:return[2,(r=o.sent())&&r.decodedToken&&r.decodedToken.user]}}))}))},e.prototype.getIdTokenClaims=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(o){switch(o.label){case 0:return t=e.audience||this.options.audience||"default",n=ua(this.defaultScope,this.scope,e.scope),[4,this.cacheManager.get(new la({client_id:this.options.client_id,audience:t,scope:n}))];case 1:return[2,(r=o.sent())&&r.decodedToken&&r.decodedToken.claims]}}))}))},e.prototype.loginWithRedirect=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r;return u(this,(function(o){switch(o.label){case 0:return t=e.redirectMethod,n=a(e,["redirectMethod"]),[4,this.buildAuthorizeUrl(n)];case 1:return r=o.sent(),window.location[t||"assign"](r),[2]}}))}))},e.prototype.handleRedirectCallback=function(e){return void 0===e&&(e=window.location.href),s(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,d,f,h;return u(this,(function(u){switch(u.label){case 0:if(0===(t=e.split("?").slice(1)).length)throw new Error("There are no query params available for parsing.");if(n=function(e){e.indexOf("#")>-1&&(e=e.substr(0,e.indexOf("#")));var t=e.split("&"),n={};return t.forEach((function(e){var t=l(e.split("="),2),r=t[0],o=t[1];n[r]=decodeURIComponent(o)})),n.expires_in&&(n.expires_in=parseInt(n.expires_in)),n}(t.join("")),r=n.state,o=n.code,i=n.error,a=n.error_description,!(s=this.transactionManager.get()))throw new Error("Invalid state");if(this.transactionManager.remove(),i)throw new Jc(i,a,r,s.appState);if(!s.code_verifier||s.state&&s.state!==r)throw new Error("Invalid state");return d={audience:s.audience,scope:s.scope,baseUrl:this.domainUrl,client_id:this.options.client_id,code_verifier:s.code_verifier,grant_type:"authorization_code",code:o,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs},void 0!==s.redirect_uri&&(d.redirect_uri=s.redirect_uri),[4,aa(d,this.worker)];case 1:return f=u.sent(),[4,this._verifyIdToken(f.id_token,s.nonce,s.organizationId)];case 2:return h=u.sent(),[4,this.cacheManager.set(c(c(c(c({},f),{decodedToken:h,audience:s.audience,scope:s.scope}),f.scope?{oauthTokenScope:f.scope}:null),{client_id:this.options.client_id}))];case 3:return u.sent(),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgIdHint(h.claims.org_id),[2,{appState:s.appState}]}}))}))},e.prototype.checkSession=function(e){return s(this,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:if(!this.cookieStorage.get(this.isAuthenticatedCookieName)){if(!this.cookieStorage.get("auth0.is.authenticated"))return[2];this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove("auth0.is.authenticated")}n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.getTokenSilently(e)];case 2:return n.sent(),[3,4];case 3:if(t=n.sent(),!Oc.includes(t.error))throw t;return[3,4];case 4:return[2]}}
1))}))},e.prototype.getTokenSilently=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r,o,i=this;return u(this,(function(s){switch(s.label){case 0:return t=c(c({audience:this.options.audience,ignoreCache:!1},e),{scope:ua(this.defaultScope,this.scope,e.scope)}),n=t.ignoreCache,r=a(t,["ignoreCache"]),[4,(u=function(){return i._getTokenSilently(c({ignoreCache:n},r))},l="".concat(this.options.client_id,"::").concat(r.audience,"::").concat(r.scope),d=Xa[l],d||(d=u().finally((function(){delete Xa[l],d=null})),Xa[l]=d),d)];case 1:return o=s.sent(),[2,e.detailedResponse?o:o.access_token]}var u,l,d}))}))},e.prototype._getTokenSilently=function(e){return void 0===e&&(e={}),s(this,void 0,void 0,(function(){var t,n,r,o,i,l,d,f,h;return u(this,(function(p){switch(p.label){case 0:return t=e.ignoreCache,n=a(e,["ignoreCache"]),t?[3,2]:[4,this._getEntryFromCache({scope:n.scope,audience:n.audience||"default",client_id:this.options.client_id})];case 1:if(r=p.sent())return[2,r];p.label=2;case 2:return[4,(y=function(){return _a.acquireLock("auth0.lock.getTokenSilently",5e3)},m=10,void 0===m&&(m=3),s(void 0,void 0,void 0,(function(){var e;return u(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:return e<m?[4,y()]:[3,4];case 2:if(t.sent())return[2,!0];t.label=3;case 3:return e++,[3,1];case 4:return[2,!1]}}))})))];case 3:if(!p.sent())return[3,15];p.label=4;case 4:return p.trys.push([4,,12,14]),window.addEventListener("pagehide",this._releaseLockOnPageHide),t?[3,6]:[4,this._getEntryFromCache({scope:n.scope,audience:n.audience||"default",client_id:this.options.client_id})];case 5:if(r=p.sent())return[2,r];p.label=6;case 6:return this.options.useRefreshTokens?[4,this._getTokenUsingRefreshToken(n)]:[3,8];case 7:return i=p.sent(),[3,10];case 8:return[4,this._getTokenFromIFrame(n)];case 9:i=p.sent(),p.label=10;case 10:return o=i,[4,this.cacheManager.set(c({client_id:this.options.client_id},o))];case 11:return p.sent(),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),l=o.id_token,d=o.access_token,f=o.oauthTokenScope,h=o.expires_in,[2,c(c({id_token:l,access_token:d},f?{scope:f}:null),{expires_in:h})];case 12:return[4,_a.releaseLock("auth0.lock.getTokenSilently")];case 13:return p.sent(),window.removeEventListener("pagehide",this._releaseLockOnPageHide),[7];case 14:return[3,16];case 15:throw new Nc;case 16:return[2]}var y,m}))}))},e.prototype.getTokenWithPopup=function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),s(this,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return e.audience=e.audience||this.options.audience,e.scope=ua(this.defaultScope,this.scope,e.scope),t=c(c({},Rc),t),[4,this.loginWithPopup(e,t)];case 1:return n.sent(),[4,this.cacheManager.get(new la({scope:e.scope,audience:e.audience||"default",client_id:this.options.client_id}))];case 2:return[2,n.sent().access_token]}}))}))},e.prototype.isAuthenticated=function(){return s(this,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return[4,this.getUser()];case 1:return[2,!!e.sent()]}}))}))},e.prototype.buildLogoutUrl=function(e){void 0===e&&(e={}),null!==e.client_id?e.client_id=e.client_id||this.options.client_id:delete e.client_id;var t=e.federated,n=a(e,["federated"]),r=t?"&federated":"";return this._url("/v2/logout?".concat(Qc(n)))+r},e.prototype.logout=function(e){var t=this;void 0===e&&(e={});var n=e.localOnly,r=a(e,["localOnly"]);if(n&&r.federated)throw new Error("It is invalid to set both the `federated` and `localOnly` options to `true`");var o=function(){if(t.cookieStorage.remove(t.orgHintCookieName,{cookieDomain:t.options.cookieDomain}),t.cookieStorage.remove(t.isAuthenticatedCookieName,{cookieDomain:t.options.cookieDomain}),!n){var e=t.buildLogoutUrl(r);window.location.assign(e)}};if(this.options.cache)return this.cacheManager.clear().then((function(){return o()}));this.cacheManager.clearSync(),o()},e.prototype._getTokenFromIFrame=function(e){return s(this,void 0,void 0,(function(){var t,n,r,o,i,s,l,d,f,h,p,y,m,b,v,g,w;return u(this,(function(u){switch(u.label){case 0:return t=Mc(Bc()),n=Mc(Bc()),r=Bc(),[4,qc(r)];case 1:o=u.sent(),i=ea(o),s=a(e,["detailedResponse"]),l=this._getParams(s,t,n,i,e.redirect_uri||this.options.redirect_uri||window.location.origin),(d=this.cookieStorage.get(this.orgHintCookieName))&&
1!l.organization&&(l.organization=d),f=this._authorizeUrl(c(c({},l),{prompt:"none",response_mode:"web_message"})),u.label=2;case 2:if(u.trys.push([2,6,,7]),window.crossOriginIsolated)throw new Vc("login_required","The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");return h=e.timeoutInSeconds||this.options.authorizeTimeoutInSeconds,[4,(S=f,k=this.domainUrl,Z=h,void 0===Z&&(Z=60),new Promise((function(e,t){var n=window.document.createElement("iframe");n.setAttribute("width","0"),n.setAttribute("height","0"),n.style.display="none";var r,o=function(){window.document.body.contains(n)&&(window.document.body.removeChild(n),window.removeEventListener("message",r,!1))},i=setTimeout((function(){t(new Nc),o()}),1e3*Z);r=function(n){if(n.origin==k&&n.data&&"authorization_response"===n.data.type){var c=n.source;c&&c.close(),n.data.response.error?t(Vc.fromPayload(n.data.response)):e(n.data.response),clearTimeout(i),window.removeEventListener("message",r,!1),setTimeout(o,2e3)}},window.addEventListener("message",r,!1),window.document.body.appendChild(n),n.setAttribute("src",S)})))];case 3:if(p=u.sent(),t!==p.state)throw new Error("Invalid state");return y=e.scope,m=e.audience,b=a(e,["scope","audience","redirect_uri","ignoreCache","timeoutInSeconds","detailedResponse"]),[4,aa(c(c(c({},this.customOptions),b),{scope:y,audience:m,baseUrl:this.domainUrl,client_id:this.options.client_id,code_verifier:r,code:p.code,grant_type:"authorization_code",redirect_uri:l.redirect_uri,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:b.timeout||this.httpTimeoutMs}),this.worker)];case 4:return v=u.sent(),[4,this._verifyIdToken(v.id_token,n)];case 5:return g=u.sent(),this._processOrgIdHint(g.claims.org_id),[2,c(c({},v),{decodedToken:g,scope:l.scope,oauthTokenScope:v.scope,audience:l.audience||"default"})];case 6:throw"login_required"===(w=u.sent()).error&&this.logout({localOnly:!0}),w;case 7:return[2]}var S,k,Z}))}))},e.prototype._getTokenUsingRefreshToken=function(e){return s(this,void 0,void 0,(function(){var t,n,r,o,i,s,l,d,f;return u(this,(function(u){switch(u.label){case 0:return e.scope=ua(this.defaultScope,this.options.scope,e.scope),[4,this.cacheManager.get(new la({scope:e.scope,audience:e.audience||"default",client_id:this.options.client_id}))];case 1:return(t=u.sent())&&t.refresh_token||this.worker?[3,4]:this.useRefreshTokensFallback?[4,this._getTokenFromIFrame(e)]:[3,3];case 2:return[2,u.sent()];case 3:throw new Ec(e.audience||"default",e.scope);case 4:n=e.redirect_uri||this.options.redirect_uri||window.location.origin,o=e.scope,i=e.audience,s=a(e,["scope","audience","ignoreCache","timeoutInSeconds","detailedResponse"]),l="number"==typeof e.timeoutInSeconds?1e3*e.timeoutInSeconds:null,u.label=5;case 5:return u.trys.push([5,7,,10]),[4,aa(c(c(c(c(c({},this.customOptions),s),{audience:i,scope:o,baseUrl:this.domainUrl,client_id:this.options.client_id,grant_type:"refresh_token",refresh_token:t&&t.refresh_token,redirect_uri:n}),l&&{timeout:l}),{auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs}),this.worker)];case 6:return r=u.sent(),[3,10];case 7:return((d=u.sent()).message.indexOf("Missing Refresh Token")>-1||d.message&&d.message.indexOf("invalid refresh token")>-1)&&this.useRefreshTokensFallback?[4,this._getTokenFromIFrame(e)]:[3,9];case 8:return[2,u.sent()];case 9:throw d;case 10:return[4,this._verifyIdToken(r.id_token)];case 11:return f=u.sent(),[2,c(c({},r),{decodedToken:f,scope:e.scope,oauthTokenScope:r.scope,audience:e.audience||"default"})]}}))}))},e.prototype._getEntryFromCache=function(e){var t=e.scope,n=e.audience,r=e.client_id;return s(this,void 0,void 0,(function(){var e,o,i,a,s;return u(this,(function(u){switch(u.label){case 0:return[4,this.cacheManager.get(new la({scope:t,audience:n,client_id:r}),60)];case 1:return(e=u.sent())&&e.access_token?(o=e.id_token,i=e.access_token,a=e.oauthTokenScope,s=e.expires_in,[2,c(c({id_token:o,access_token:i},a?{scope:a}:null),{expires_in:s})]):[2]}}))}))},e}()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.