PageSourceSearch

https://checkr.com/_next/static/chunks/0_ocmf8y_7w4v.js?dpl=2cb74b…2656435373531326533363830303038316664363034

js checkr.com collected 2026-10-02 02:32:17 UTC 169,912 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,814650,t=>{"use strict";var e,r=t.i(247167),n="u">typeof globalThis?globalThis:"u">typeof window?window:t.g;function o(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var i,s,a,u,c,p={exports:{}},l=o((i||(i=1,s=p.exports,a=function(){return function(){return function(t){var e=[];if(0===t.length)return"";if("string"!=typeof t[0])throw TypeError("Url must be a string. Received "+t[0]);if(t[0].match(/^[^/:]+:\/*$/)&&t.length>1){var r=t.shift();t[0]=r+t[0]}t[0].match(/^file:\/\/\//)?t[0]=t[0].replace(/^([^/:]+):\/*/,"$1:///"):t[0]=t[0].replace(/^([^/:]+):\/*/,"$1://");for(var n=0;n<t.length;n++){var o=t[n];if("string"!=typeof o)throw TypeError("Url must be a string. Received "+o);""!==o&&(n>0&&(o=o.replace(/^[\/]+/,"")),o=n<t.length-1?o.replace(/[\/]+$/,""):o.replace(/[\/]+$/,"/"),e.push(o))}var i=e.join("/"),s=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return s.shift()+(s.length>0?"?":"")+s.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},p.exports?p.exports=a():s.urljoin=a()),p.exports));function h(){return c?u:(c=1,u=TypeError)}var f,d,y,m,g,v,b,w,_,O,T,S,k,A,E,x,j,D,C,I,P,R,q,U,M,L,B,N,F,H,z,W,V,$,J,K,G,Q,Z,X,Y,tt,te,tr,tn,to,ti,ts,ta,tu,tc,tp,tl,th,tf,td,ty,tm,tg,tv,tb,tw,t_,tO,tT,tS,tk,tA,tE,tx,tj,tD,tC,tI,tP,tR,tq,tU,tM,tL,tB,tN,tF,tH,tz,tW,tV,t$,tJ=function(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if("function"==typeof e){var r=function t(){var r=!1;try{r=this instanceof t}catch(t){}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})}),r}(Object.freeze({__proto__:null,default:{}}));function tK(){if(d)return f;d=1;var t="function"==typeof Map&&Map.prototype,e=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=t&&e&&"function"==typeof e.get?e.get:null,o=t&&Map.prototype.forEach,i="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,a=i&&s&&"function"==typeof s.get?s.get:null,u=i&&Set.prototype.forEach,c="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,l="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,y=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,O=RegExp.prototype.test,T=Array.prototype.concat,S=Array.prototype.join,k=Array.prototype.slice,A=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,x=Object.getOwnPropertySymbols,j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,D="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===D||1)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,P=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function R(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||O.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-A(-t):A(t);if(n!==t){var o=String(n),i=v.call(e,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,r,"$&_")}var q=tJ.custom,U=z(q)?q:null,M={__proto__:null,double:'"',single:"'"},L={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function B(t,e,r){var n=M[r.quoteStyle||e];return n+t+n}function N(t){return!C||!("object"==typeof t&&(C in t||void 0!==t[C]))}function F(t){return"[object Array]"===$(t)&&N(t)}function H(t){return"[object RegExp]"===$(t)&&N(t)}function z(t){if(D)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;
1if(!t||"object"!=typeof t||!j)return!1;try{return j.call(t),!0}catch(t){}return!1}f=function t(e,i,s,f){var d=i||{};if(V(d,"quoteStyle")&&!V(M,d.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(V(d,"maxStringLength")&&("number"==typeof d.maxStringLength?d.maxStringLength<0&&d.maxStringLength!==1/0:null!==d.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var y=!V(d,"customInspect")||d.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(d,"indent")&&null!==d.indent&&"	"!==d.indent&&!(parseInt(d.indent,10)===d.indent&&d.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(d,"numericSeparator")&&"boolean"!=typeof d.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=d.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,r){if(e.length>r.maxStringLength){var n=e.length-r.maxStringLength;return t(v.call(e,0,r.maxStringLength),r)+("... "+n)+" more character"+(n>1?"s":"")}var o=L[r.quoteStyle||"single"];return o.lastIndex=0,B(b.call(b.call(e,o,"\\$1"),/[\x00-\x1f]/g,K),"single",r)}(e,d);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var O=String(e);return w?R(e,O):O}if("bigint"==typeof e){var A=String(e)+"n";return w?R(e,A):A}var x=void 0===d.depth?5:d.depth;if(void 0===s&&(s=0),s>=x&&x>0&&"object"==typeof e)return F(e)?"[Array]":"[Object]";var q=function(t,e){var r;if("	"===t.indent)r="	";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=S.call(Array(t.indent+1)," ")}return{base:r,prev:S.call(Array(e+1),r)}}(d,s);if(void 0===f)f=[];else if(J(f,e)>=0)return"[Circular]";function W(e,r,n){if(r&&(f=k.call(f)).push(r),n){var o={depth:d.depth};return V(d,"quoteStyle")&&(o.quoteStyle=d.quoteStyle),t(e,o,s+1,f)}return t(e,d,s+1,f)}if("function"==typeof e&&!H(e)){var tt=function(t){if(t.name)return t.name;var e=g.call(m.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),te=Y(e,W);return"[Function"+(tt?": "+tt:" (anonymous)")+"]"+(te.length>0?" { "+S.call(te,", ")+" }":"")}if(z(e)){var tr=D?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):j.call(e);return"object"!=typeof e||D?tr:G(tr)}if(e&&"object"==typeof e&&("u">typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)){for(var tn,to="<"+_.call(String(e.nodeName)),ti=e.attributes||[],ts=0;ts<ti.length;ts++)to+=" "+ti[ts].name+"="+B((tn=ti[ts].value,b.call(String(tn),/"/g,"&quot;")),"double",d);return to+=">",e.childNodes&&e.childNodes.length&&(to+="..."),to+="</"+_.call(String(e.nodeName))+">"}if(F(e)){if(0===e.length)return"[]";var ta=Y(e,W);return q&&!function(t){for(var e=0;e<t.length;e++)if(J(t[e],"\n")>=0)return!1;return!0}(ta)?"["+X(ta,q)+"]":"[ "+S.call(ta,", ")+" ]"}if("[object Error]"===$(e)&&N(e)){var tu=Y(e,W);return"cause"in Error.prototype||!("cause"in e)||I.call(e,"cause")?0===tu.length?"["+String(e)+"]":"{ ["+String(e)+"] "+S.call(tu,", ")+" }":"{ ["+String(e)+"] "+S.call(T.call("[cause]: "+W(e.cause),tu),", ")+" }"}if("object"==typeof e&&y){if(U&&"function"==typeof e[U]&&tJ)return tJ(e,{depth:x-s});if("symbol"!==y&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!r||!t||"object"!=typeof t)return!1;try{r.call(t);try{a.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var tc=[];return o&&o.call(e,function(t,r){tc.push(W(r,e,!0)+" => "+W(t,e))}),Z("Map",r.call(e),tc,q)}if(function(t){if(!a||!t||"object"!=typeof t)return!1;try{a.call(t);try{r.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var tp=[];return u&&u.call(e,function(t){tp.push(W(t,e))}),Z("Set",a.call(e),tp,q)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t,c);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Q("WeakMap");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{c.call(t,c)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Q("WeakSet");if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{return l.call(t),!0}catch(t){}return!1}(e))return Q("WeakRef");if("[object Number]"===$(e)&&N(e))return G(W(Number(e)));if(function(t){if(!t||"object"!=typeof t||!E)return!1;try{return E.call(t),!0}catch(t){}return!1}(e))return G(W(E.call(e)));if("[object Boolean]"===$(e)&&N(e))return G(h.call(e));if("[object String]"===$(e)&&N(e))return G(W(String(e)));if("u">typeof window&&e===window)return"{ [object Window] }";if("u">typeof globalThis&&e===globalThis||void 0!==n&&e===n)return"{ [object globalThis] }";if(!("[object Date]"===$(e)&&N(e))&&!H(e)){var tl=Y(e,W),th=P?P(e)===Object.prototype:e instanceof Object||e.constructor===Object,tf=e instanceof Object?"":"null prototype",td=!th&&C&&Object(e)===e&&C in e?v.call($(e),8,-1):tf?"Object":"",ty=(th||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(td||tf?"["+S.call(T.call([],td||[],tf||[]),": ")+"] ":"");return 0===tl.length?ty+"{}":q?ty+"{"+X(tl,q)+"}":ty+"{ "+S.call(tl,", ")+" }"}return String(e)};var W=Object.prototype.hasOwnProperty||function(t){return t in this};function V(t,e){return W.call(t,e)}
1function $(t){return y.call(t)}function J(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return -1}function K(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+w.call(e.toString(16))}function G(t){return"Object("+t+")"}function Q(t){return t+" { ? }"}function Z(t,e,r,n){return t+" ("+e+") {"+(n?X(r,n):S.call(r,", "))+"}"}function X(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+S.call(t,","+r)+"\n"+e.prev}function Y(t,e){var r=F(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=V(t,o)?e(t[o],t):""}var i,s="function"==typeof x?x(t):[];if(D){i={};for(var a=0;a<s.length;a++)i["$"+s[a]]=s[a]}for(var u in t)V(t,u)&&(r&&String(Number(u))===u&&u<t.length||D&&i["$"+u]instanceof Symbol||(O.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof x)for(var c=0;c<s.length;c++)I.call(t,s[c])&&n.push("["+e(s[c])+"]: "+e(t[s[c]],t));return n}return f}function tG(){return v?g:(v=1,g=Object)}function tQ(){if(Q)return G;Q=1;var t=K?J:(K=1,J=Object.getOwnPropertyDescriptor);if(t)try{t([],"length")}catch(e){t=null}return G=t}function tZ(){return to?tn:(to=1,tn="u">typeof Reflect&&Reflect.getPrototypeOf||null)}function tX(){return ts?ti:(ts=1,ti=tG().getPrototypeOf||null)}function tY(){if(tp)return tc;tp=1;var t=function(){if(tu)return ta;tu=1;var t=Object.prototype.toString,e=Math.max,r=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r};return ta=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw TypeError("Function.prototype.bind called on incompatible "+o);for(var i,s=function(t){for(var e=[],r=1,n=0;r<t.length;r+=1,n+=1)e[n]=t[r];return e}(arguments),a=e(0,o.length-s.length),u=[],c=0;c<a;c++)u[c]="$"+c;if(i=Function("binder","return function ("+function(t){for(var e="",r=0;r<t.length;r+=1)e+=t[r],r+1<t.length&&(e+=",");return e}(u)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var t=o.apply(this,r(s,arguments));return Object(t)===t?t:this}return o.apply(n,r(s,arguments))}),o.prototype){var p=function(){};p.prototype=o.prototype,i.prototype=new p,p.prototype=null}return i}}();return tc=Function.prototype.bind||t}function t0(){return th?tl:(th=1,tl=Function.prototype.call)}function t1(){return td?tf:(td=1,tf=Function.prototype.apply)}function t2(){if(tw)return tb;tw=1;var t=tY(),e=h(),r=t0(),n=function(){if(tv)return tg;tv=1;var t=tY(),e=t1(),r=t0();return tg=(tm?ty:(tm=1,ty="u">typeof Reflect&&Reflect&&Reflect.apply))||t.call(r,e)}();return tb=function(o){if(o.length<1||"function"!=typeof o[0])throw new e("a function is required");return n(t,r,o)}}function t3(){if(tx)return tE;tx=1;var t,e=tG(),r=w?b:(w=1,b=Error),n=O?_:(O=1,_=EvalError),o=S?T:(S=1,T=RangeError),i=A?k:(A=1,k=ReferenceError),s=x?E:(x=1,E=SyntaxError),a=h(),u=D?j:(D=1,j=URIError),c=I?C:(I=1,C=Math.abs),p=R?P:(R=1,P=Math.floor),l=U?q:(U=1,q=Math.max),f=L?M:(L=1,M=Math.min),d=N?B:(N=1,B=Math.pow),y=H?F:(H=1,F=Math.round),m=function(){if($)return V;$=1;var t=(W||(W=1,z=Number.isNaN||function(t){return t!=t}),z);return V=function(e){return t(e)||0===e?e:e<0?-1:1}}(),g=Function,v=function(t){try{return g('"use strict"; return ('+t+").constructor;")()}catch(t){}},J=tQ(),K=function(){if(X)return Z;X=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}return Z=t}(),G=function(){throw new a},Q=J?function(){try{return G}catch(t){try{return J(arguments,"callee").get}catch(t){return G}}}():G,tn=(function(){if(tr)return te;tr=1;var t="u">typeof Symbol&&Symbol,e=tt?Y:(tt=1,Y=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return te=function(){return"function"==typeof t&&"function"==typeof Symbol&&"symbol"==typeof t("foo")&&"symbol"==typeof Symbol("bar")&&e()}})()(),to=function(){if(tS)return tT;tS=1;var t=tZ(),e=tX(),r=function(){if(tO)return t_;tO=1;var t,e=t2(),r=tQ();try{t=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var n=!!t&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return t_=n&&"function"==typeof n.get?e([n.get]):"function"==typeof i&&function(t){return i(null==t?t:o(t))}}();return tT=t?function(e){return t(e)}:e?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("getProto: not an object");return e(t)}:r?function(t){return r(t)}:null}(),ti=tX(),ts=tZ(),ta=t1(),tu=t0(),tc={},tp="u">typeof Uint8Array&&to?to(Uint8Array):t,tl={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":tn&&to?to([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":tc,"%AsyncGenerator%":tc,"%AsyncGeneratorFunction%":tc,"%AsyncIteratorPrototype%":tc,"%Atomics%":"u"<typeof Atomics?t:Atomics,"%BigInt%":"u"<typeof BigInt?t:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":"u"<typeof Float16Array?t:Float16Array,"%Float32Array%":"u"<typeof Float32Array?t:Float32Array,"%Float64Array%":"u"<typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":tc,"%Int8Array%":"u"<typeof Int8Array?t:Int8Array,"%Int16Array%":"u"<typeof Int16Array?t:Int16Array,"%Int32Array%":"u"<typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":tn&&to?to(to([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"u"<typeof Map?t:Map,"%MapIteratorPrototype%":"u">typeof Map&&tn&&to?to((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":J,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?t:Promise,"%Proxy%":"u"<typeof Proxy?t:Proxy,"%RangeError%":o,"%ReferenceError%":i,"%Reflect%":"u"<typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?t:Set,"%SetIteratorPrototype%":"u">typeof Set&&tn&&to?to((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":tn&&to?to(""[Symbol.iterator]()):t,"%Symbol%":tn?Symbol:t,"%SyntaxError%":s,"%ThrowTypeError%":Q,"%TypedArray%":tp,"%TypeError%":a,"%Uint8Array%":"u"<typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?t:Uint32Array,"%URIError%":u,"%WeakMap%":"u"<typeof WeakMap?t:WeakMap,"%WeakRef%":"u"<typeof WeakRef?t:WeakRef,"%WeakSet%":"u"<typeof WeakSet?t:WeakSet,"%Function.prototype.call%":tu,"%Function.prototype.apply%":ta,"%Object.defineProperty%":K,"%Object.getPrototypeOf%":ti,"%Math.abs%":c,"%Math.floor%":p,"%Math.max%":l,"%Math.min%":f,"%Math.pow%":d,"%Math.round%":y,"%Math.sign%":m,"%Reflect.getPrototypeOf%":ts};if(to)try{null.error}catch(t){var th=to(to(t));tl["%Error.prototype%"]=th}var tf=function t(e){var r;if("%AsyncFunction%"===e)r=v("async function () {}");else if("%GeneratorFunction%"===e)r=v("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=v("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&to&&(r=to(o.prototype))}return tl[e]=r,r},td={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ty=tY(),tm=function(){if(tA)return tk;tA=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty;return tk=tY().call(t,e)}(),tg=ty.call(tu,Array.prototype.concat),tv=ty.call(ta,Array.prototype.splice),tb=ty.call(tu,String.prototype.replace),tw=ty.call(tu,String.prototype.slice),tj=ty.call(tu,RegExp.prototype.exec),tD=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,tC=/\\(\\)?/g,tI=function(t,e){var r,n=t;
vendor: 5,484 bytes, line 1
1if(tm(td,n)&&(n="%"+(r=td[n])[0]+"%"),tm(tl,n)){var o=tl[n];if(o===tc&&(o=tf(n)),void 0===o&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new s("intrinsic "+t+" does not exist!")};return tE=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===tj(/^%?[^%]*%?$/,t))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=tw(t,0,1),r=tw(t,-1);if("%"===e&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return tb(t,tD,function(t,e,r,o){n[n.length]=r?tb(o,tC,"$1"):e||t}),n}(t),n=r.length>0?r[0]:"",o=tI("%"+n+"%",e),i=o.name,u=o.value,c=!1,p=o.alias;p&&(n=p[0],tv(r,tg([0,1],p)));for(var l=1,h=!0;l<r.length;l+=1){var f=r[l],d=tw(f,0,1),y=tw(f,-1);if(('"'===d||"'"===d||"`"===d||'"'===y||"'"===y||"`"===y)&&d!==y)throw new s("property names with quotes must have matching quotes");if("constructor"!==f&&h||(c=!0),tm(tl,i="%"+(n+="."+f)+"%"))u=tl[i];else if(null!=u){if(!(f in u)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(J&&l+1>=r.length){var m=J(u,f);u=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:u[f]}else h=tm(u,f),u=u[f];h&&!c&&(tl[i]=u)}}return u}}function t5(){if(tD)return tj;tD=1;var t=t3(),e=t2(),r=e([t("%String.prototype.indexOf%")]);return tj=function(n,o){var i=t(n,!!o);return"function"==typeof i&&r(n,".prototype.")>-1?e([i]):i}}function t6(){if(tI)return tC;tI=1;var t=t3(),e=t5(),r=tK(),n=h(),o=t("%Map%",!0),i=e("Map.prototype.get",!0),s=e("Map.prototype.set",!0),a=e("Map.prototype.has",!0),u=e("Map.prototype.delete",!0),c=e("Map.prototype.size",!0);return tC=!!o&&function(){var t,e={assert:function(t){if(!e.has(t))throw new n("Side channel does not contain "+r(t))},delete:function(e){if(t){var r=u(t,e);return 0===c(t)&&(t=void 0),r}return!1},get:function(e){if(t)return i(t,e)},has:function(e){return!!t&&a(t,e)},set:function(e,r){t||(t=new o),s(t,e,r)}};return e}}function t4(){if(tU)return tq;tU=1;var t=h(),e=tK(),r=function(){if(m)return y;m=1;var t=tK(),e=h(),r=function(t,e,r){for(var n,o=t;null!=(n=o.next);o=n)if(n.key===e)return o.next=n.next,r||(n.next=t.next,t.next=n),n};return y=function(){var n,o={assert:function(r){if(!o.has(r))throw new e("Side channel does not contain "+t(r))},delete:function(t){var e=n&&n.next,o=function(t,e){if(t)return r(t,e,!0)}(n,t);return o&&e&&e===o&&(n=void 0),!!o},get:function(t){var e=n;if(e){var o=r(e,t);return o&&o.value}},has:function(t){var e;return!!(e=n)&&!!r(e,t)},set:function(t,e){var o,i;n||(n={next:void 0}),(i=r(o=n,t))?i.value=e:o.next={key:t,next:o.next,value:e}}};return o}}(),n=t6(),o=function(){if(tR)return tP;tR=1;var t=t3(),e=t5(),r=tK(),n=t6(),o=h(),i=t("%WeakMap%",!0),s=e("WeakMap.prototype.get",!0),a=e("WeakMap.prototype.set",!0),u=e("WeakMap.prototype.has",!0),c=e("WeakMap.prototype.delete",!0);return tP=i?function(){var t,e,p={assert:function(t){if(!p.has(t))throw new o("Side channel does not contain "+r(t))},delete:function(r){if(i&&r&&("object"==typeof r||"function"==typeof r)){if(t)return c(t,r)}else if(n&&e)return e.delete(r);return!1},get:function(r){return i&&r&&("object"==typeof r||"function"==typeof r)&&t?s(t,r):e&&e.get(r)},has:function(r){return i&&r&&("object"==typeof r||"function"==typeof r)&&t?u(t,r):!!e&&e.has(r)},set:function(r,o){i&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new i),a(t,r,o)):n&&(e||(e=n()),e.set(r,o))}};return p}:n}()||n||r;return tq=function(){var r,n={assert:function(r){if(!n.has(r))throw new t("Side channel does not contain "+e(r))},delete:function(t){return!!r&&r.delete(t)},get:function(t){return r&&r.get(t)},has:function(t){return!!r&&r.has(t)},set:function(t,e){r||(r=o()),r.set(t,e)}};return n}}function t8(){if(tL)return tM;tL=1;var t=String.prototype.replace,e=/%20/g,r="RFC3986";return tM={default:r,formatters:{RFC1738:function(r){return t.call(r,e,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:r}}function t9(){if(tN)return tB;tN=1;var t=t8(),e=t4(),r=Object.prototype.hasOwnProperty,n=Array.isArray,o=e(),i=function(t,e){return o.set(t,e),t},s=function(t){return o.has(t)},a=function(t){return o.get(t)},u=function(t,e){o.set(t,e)},c=function(){for(var t=[],e=0;e<256;++e)t[t.length]="%"+((e<16?"0":"")+e.toString(16)).toUpperCase();return t}(),p=function(t,e){for(var r=e&&e.plainObjects?{__proto__:null}:{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r};return tB={arrayToObject:p,assign:function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},combine:function(t,e,r,n){if(s(t)){var o=a(t)+1;return t[o]=e,u(t,o),t}var c=[].concat(t,e);return c.length>r?i(p(c,{plainObjects:n}),c.length-1):c},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],o=0;o<e.length;++o)for(var i=e[o],s=i.obj[i.prop],a=Object.keys(s),u=0;u<a.length;++u){var c=a[u],p=s[c];"object"==typeof p&&null!==p&&-1===r.indexOf(p)&&(e[e.length]={obj:s,prop:c},r[r.length]=p)}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(n(r)){for(var o=[],i=0;i<r.length;++i)void 0!==r[i]&&(o[o.length]=r[i]);e.obj[e.prop]=o}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");
1if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(e,r,n,o,i){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var a="",u=0;u<s.length;u+=1024){for(var p=s.length>=1024?s.slice(u,u+1024):s,l=[],h=0;h<p.length;++h){var f=p.charCodeAt(h);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===t.RFC1738&&(40===f||41===f)?l[l.length]=p.charAt(h):f<128?l[l.length]=c[f]:f<2048?l[l.length]=c[192|f>>6]+c[128|63&f]:f<55296||f>=57344?l[l.length]=c[224|f>>12]+c[128|f>>6&63]+c[128|63&f]:(h+=1,f=65536+((1023&f)<<10|1023&p.charCodeAt(h)),l[l.length]=c[240|f>>18]+c[128|f>>12&63]+c[128|f>>6&63]+c[128|63&f])}a+=l.join("")}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isOverflow:s,isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},markOverflow:i,maybeMap:function(t,e){if(n(t)){for(var r=[],o=0;o<t.length;o+=1)r[r.length]=e(t[o]);return r}return e(t)},merge:function t(e,o,c){if(!o)return e;if("object"!=typeof o&&"function"!=typeof o){if(n(e)){var l=e.length;if(c&&"number"==typeof c.arrayLimit&&l>c.arrayLimit)return i(p(e.concat(o),c),l);e[l]=o}else{if(!e||"object"!=typeof e)return[e,o];if(s(e)){var h=a(e)+1;e[h]=o,u(e,h)}else{if(c&&c.strictMerge)return[e,o];(c&&(c.plainObjects||c.allowPrototypes)||!r.call(Object.prototype,o))&&(e[o]=!0)}}return e}if(!e||"object"!=typeof e){if(s(o)){for(var f=Object.keys(o),d=c&&c.plainObjects?{__proto__:null,0:e}:{0:e},y=0;y<f.length;y++)d[parseInt(f[y],10)+1]=o[f[y]];return i(d,a(o)+1)}var m=[e].concat(o);return c&&"number"==typeof c.arrayLimit&&m.length>c.arrayLimit?i(p(m,c),m.length-1):m}var g=e;return n(e)&&!n(o)&&(g=p(e,c)),n(e)&&n(o)?(o.forEach(function(n,o){if(r.call(e,o)){var i=e[o];i&&"object"==typeof i&&n&&"object"==typeof n?e[o]=t(i,n,c):e[e.length]=n}else e[o]=n}),e):Object.keys(o).reduce(function(e,n){var p=o[n];if(r.call(e,n)?e[n]=t(e[n],p,c):e[n]=p,s(o)&&!s(e)&&i(e,a(o)),s(e)){var l=parseInt(n,10);String(l)===n&&l>=0&&l>a(e)&&u(e,l)}return e},g)}}}function t7(){if(t$)return tV;t$=1;var t=function(){if(tH)return tF;tH=1;var t=t4(),e=t9(),r=t8(),n=Object.prototype.hasOwnProperty,o={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},i=Array.isArray,s=Array.prototype.push,a=function(t,e){s.apply(t,i(e)?e:[e])},u=Date.prototype.toISOString,c=r.default,p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:c,formatter:r.formatters[c],indices:!1,serializeDate:function(t){return u.call(t)},skipNulls:!1,strictNullHandling:!1},l={},h=function r(n,o,s,u,c,h,f,d,y,m,g,v,b,w,_,O,T,S){for(var k=n,A=S,E=0,x=!1;void 0!==(A=A.get(l))&&!x;){var j=A.get(n);if(E+=1,void 0!==j){if(j===E)throw RangeError("Cyclic object value");x=!0}void 0===A.get(l)&&(E=0)}if("function"==typeof m?k=m(o,k):k instanceof Date?k=b(k):"comma"===s&&i(k)&&(k=e.maybeMap(k,function(t){return t instanceof Date?b(t):t})),null===k){if(h)return _(y&&!O?y(o,p.encoder,T,"key",w):o);k=""}if("string"==typeof(D=k)||"number"==typeof D||"boolean"==typeof D||"symbol"==typeof D||"bigint"==typeof D||e.isBuffer(k))return y?[_(O?o:y(o,p.encoder,T,"key",w))+"="+_(y(k,p.encoder,T,"value",w))]:[_(o)+"="+_(String(k))];var D,C,I=[];if(void 0===k)return I;if("comma"===s&&i(k))O&&y&&(k=e.maybeMap(k,function(t){return null==t?t:y(t)})),C=[{value:k.length>0?k.join(",")||null:void 0}];else if(i(m))C=m;else{var P=Object.keys(k);C=g?P.sort(g):P}var R=d?String(o).replace(/\./g,"%2E"):String(o),q=u&&i(k)&&1===k.length?R+"[]":R;if(c&&i(k)&&0===k.length)return q+"[]";for(var U=0;U<C.length;++U){var M=C[U],L="object"==typeof M&&M&&void 0!==M.value?M.value:k[M];if(!f||null!==L){var B=v&&d?String(M).replace(/\./g,"%2E"):String(M),N=i(k)?"function"==typeof s?s(q,B):q:q+(v?"."+B:"["+B+"]");S.set(n,E);var F=t();F.set(l,S),a(I,r(L,N,s,u,c,h,f,d,"comma"===s&&O&&i(k)?null:y,m,g,v,b,w,_,O,T,F))}}return I};return tF=function(e,s){var u,c=e,l=function(t){if(!t)return p;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
vendor: 5,412 bytes, line 1
1if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var s=r.default;if(void 0!==t.format){if(!n.call(r.formatters,t.format))throw TypeError("Unknown format option provided.");s=t.format}var a,u=r.formatters[s],c=p.filter;if(("function"==typeof t.filter||i(t.filter))&&(c=t.filter),a=t.arrayFormat in o?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":p.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var l=void 0===t.allowDots?!0===t.encodeDotInKeys||p.allowDots:!!t.allowDots;return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:l,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:a,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:void 0===t.delimiter?p.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:p.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:p.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:c,format:s,formatter:u,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}}(s);"function"==typeof l.filter?c=(0,l.filter)("",c):i(l.filter)&&(u=l.filter);var f=[];if("object"!=typeof c||null===c)return"";var d=o[l.arrayFormat],y="comma"===d&&l.commaRoundTrip;u||(u=Object.keys(c)),l.sort&&u.sort(l.sort);for(var m=t(),g=0;g<u.length;++g){var v=u[g];if(null!=v){var b=c[v];l.skipNulls&&null===b||a(f,h(b,v,d,y,l.allowEmptyArrays,l.strictNullHandling,l.skipNulls,l.encodeDotInKeys,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,m))}}var w=f.join(l.delimiter),_=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?_+="utf8=%26%2310003%3B"+l.delimiter:_+="utf8=%E2%9C%93"+l.delimiter),w.length>0?_+w:""}}(),e=function(){if(tW)return tz;tW=1;var t=t9(),e=Object.prototype.hasOwnProperty,r=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:t.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(t,e,r){if(t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(1===e.arrayLimit?"":"s")+" allowed in an array.");return t},i=function(r,n,i,s){if(r){var a=function(t,r){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t;if(r.depth<=0){if(!r.plainObjects&&e.call(Object.prototype,n)&&!r.allowPrototypes)return;return[n]}var o=[],i=n.indexOf("["),s=i>=0?n.slice(0,i):n;if(s){if(!r.plainObjects&&e.call(Object.prototype,s)&&!r.allowPrototypes)return;o[o.length]=s}for(var a=n.length,u=i,c=0;u>=0&&c<r.depth;){for(var p=1,l=u+1,h=-1;l<a&&h<0;){var f=n.charCodeAt(l);91===f?p+=1:93===f&&0==(p-=1)&&(h=l),l+=1}if(h<0)return o[o.length]="["+n.slice(u)+"]",o;var d=n.slice(u,h+1),y=d.slice(1,-1);if(!r.plainObjects&&e.call(Object.prototype,y)&&!r.allowPrototypes)return;o[o.length]=d,c+=1,u=n.indexOf("[",h+1)}if(u>=0){if(!0===r.strictDepth)throw RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");o[o.length]="["+n.slice(u)+"]"}return o}(r,i);if(a)return function(e,r,n,i){var s=0;if(e.length>0&&"[]"===e[e.length-1]){var a=e.slice(0,-1).join("");s=Array.isArray(r)&&r[a]?r[a].length:0}for(var u=i?r:o(r,n,s),c=e.length-1;c>=0;--c){var p,l=e[c];if("[]"===l&&n.parseArrays)p=t.isOverflow(u)?u:n.allowEmptyArrays&&(""===u||n.strictNullHandling&&null===u)?[]:t.combine([],u,n.arrayLimit,n.plainObjects);else{p=n.plainObjects?{__proto__:null}:{};var h="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,f=n.decodeDotInKeys?h.replace(/%2E/g,"."):h,d=parseInt(f,10),y=!isNaN(d)&&l!==f&&String(d)===f&&d>=0&&n.parseArrays;if(n.parseArrays||""!==f)if(y&&d<n.arrayLimit)(p=[])[d]=u;else{if(y&&n.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");y?(p[d]=u,t.markOverflow(p,d)):"__proto__"!==f&&(p[f]=u)}else p={0:u}}u=p}return u}(a,n,i,s)}};return tz=function(s,a){var u=function(e){if(!e)return n;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
1if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var r=void 0===e.charset?n.charset:e.charset,o=void 0===e.duplicates?n.duplicates:e.duplicates;if("combine"!==o&&"first"!==o&&"last"!==o)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||n.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:n.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:n.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:n.arrayLimit,charset:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:n.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:n.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:n.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:n.decoder,delimiter:"string"==typeof e.delimiter||t.isRegExp(e.delimiter)?e.delimiter:n.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:n.depth,duplicates:o,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:n.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:n.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:n.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:n.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(a);if(""===s||null==s)return u.plainObjects?{__proto__:null}:{};for(var c="string"==typeof s?function(i,s){var a={__proto__:null},u=s.ignoreQueryPrefix?i.replace(/^\?/,""):i;u=u.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=s.parameterLimit===1/0?void 0:s.parameterLimit,p=u.split(s.delimiter,s.throwOnLimitExceeded&&void 0!==c?c+1:c);if(s.throwOnLimitExceeded&&void 0!==c&&p.length>c)throw RangeError("Parameter limit exceeded. Only "+c+" parameter"+(1===c?"":"s")+" allowed.");var l,h=-1,f=s.charset;if(s.charsetSentinel)for(l=0;l<p.length;++l)0===p[l].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[l]?f="utf-8":"utf8=%26%2310003%3B"===p[l]&&(f="iso-8859-1"),h=l,l=p.length);for(l=0;l<p.length;++l)if(l!==h){var d,y,m=p[l],g=m.indexOf("]="),v=-1===g?m.indexOf("="):g+1;if(-1===v?(d=s.decoder(m,n.decoder,f,"key"),y=s.strictNullHandling?null:""):null!==(d=s.decoder(m.slice(0,v),n.decoder,f,"key"))&&(y=t.maybeMap(o(m.slice(v+1),s,r(a[d])?a[d].length:0),function(t){return s.decoder(t,n.decoder,f,"value")})),y&&s.interpretNumericEntities&&"iso-8859-1"===f&&(y=String(y).replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})),m.indexOf("[]=")>-1&&(y=r(y)?[y]:y),s.comma&&r(y)&&y.length>s.arrayLimit){if(s.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+s.arrayLimit+" element"+(1===s.arrayLimit?"":"s")+" allowed in an array.");y=t.combine([],y,s.arrayLimit,s.plainObjects)}if(null!==d){var b=e.call(a,d);b&&("combine"===s.duplicates||m.indexOf("[]=")>-1)?a[d]=t.combine(a[d],y,s.arrayLimit,s.plainObjects):b&&"last"!==s.duplicates||(a[d]=y)}}return a}(s,u):s,p=u.plainObjects?{__proto__:null}:{},l=Object.keys(c),h=0;h<l.length;++h){var f=l[h],d=i(f,c[f],u,"string"==typeof s);p=t.merge(p,d,u)}return!0===u.allowSparse?p:t.compact(p)}}();return tV={formats:t8(),parse:e,stringify:t}}var et=o(t7());function ee(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function er(t,e){var r="u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=es(t))||e){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,i=t}
1,f:function(){try{s||null==r.return||r.return()}finally{if(a)throw i}}}}function en(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(en=function(){return!!t})()}function eo(t){return function(t){if(Array.isArray(t))return ee(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||es(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ei(t){return(ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function es(t,e){if(t){if("string"==typeof t)return ee(t,e);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ee(t,e):void 0}}var ea,eu,ec,ep,el,eh,ef,ed,ey,em,eg,ev={exports:{}},eb={exports:{}},ew={};function e_(){return ep||(ep=1,ew.type=function(t){return t.split(/ *; */).shift()},ew.params=function(t){var e,r={},n=er(t.split(/ *; */));try{for(n.s();!(e=n.n()).done;){var o=e.value.split(/ *= */),i=o.shift(),s=o.shift();i&&s&&(r[i]=s)}}catch(t){n.e(t)}finally{n.f()}return r},ew.parseLinks=function(t){var e,r={},n=er(t.split(/ *, */));try{for(n.s();!(e=n.n()).done;){var o=e.value.split(/ *; */),i=o[0].slice(1,-1);r[o[1].split(/ *= */)[1].slice(1,-1)]=i}}catch(t){n.e(t)}finally{n.f()}return r},ew.cleanHeader=function(t,e){return delete t["content-type"],delete t["content-length"],delete t["transfer-encoding"],delete t.host,e&&(delete t.authorization,delete t.cookie),t},ew.normalizeHostname=function(t){var e;return(function(t){if(Array.isArray(t))return t}(e=t.match(/^\[([^\]]+)\]$/)||[])||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,s=[],a=!0,u=!1;try{o=(e=e.call(t)).next,!1;for(;!(a=(r=o.call(e)).done)&&(s.push(r.value),2!==s.length);a=!0);}catch(t){u=!0,n=t}finally{try{if(!a&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw n}}return s}}(e)||es(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1]||t},ew.isObject=function(t){return null!==t&&"object"===ei(t)},ew.hasOwn=Object.hasOwn||function(t,e){if(null==t)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},ew.mixin=function(t,e){for(var r in e)ew.hasOwn(e,r)&&(t[r]=e[r])},ew.isGzipOrDeflateEncoding=function(t){return new RegExp(/^\s*(?:deflate|gzip)\s*$/).test(t.headers["content-encoding"])},ew.isBrotliEncoding=function(t){return new RegExp(/^\s*(?:br)\s*$/).test(t.headers["content-encoding"])}),ew}var eO,eT,eS,ek=o((eg||(eg=1,function(t,e){"u">typeof window?r=window:"u"<typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),r=void 0):r=self;var r,n=(ea||(ea=1,function(){function t(e){if(e){for(var r in t.prototype)e[r]=t.prototype[r];return e}}eb.exports=t,t.prototype.on=t.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},t.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o<n.length;o++)if((r=n[o])===e||r.fn===e){n.splice(o,1);break}return 0===n.length&&delete this._callbacks["$"+t],this},t.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=Array(arguments.length-1),r=this._callbacks["$"+t],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(r){n=0;for(var o=(r=r.slice(0)).length;n<o;++n)r[n].apply(this,e)}return this},t.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},t.prototype.hasListeners=function(t){return!!this.listeners(t).length}}
1()),eb.exports),o=function(){if(ec)return eu;ec=1,eu=i,i.default=i,i.stable=u,i.stableStringify=u;var t="[...]",e="[Circular]",r=[],n=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function i(i,a,u,p){var l;void 0===p&&(p=o()),function r(n,o,i,a,u,c,p){var l;if(c+=1,"object"==typeof n&&null!==n){for(l=0;l<a.length;l++)if(a[l]===n)return void s(e,n,o,u);if(void 0!==p.depthLimit&&c>p.depthLimit||void 0!==p.edgesLimit&&i+1>p.edgesLimit)return void s(t,n,o,u);if(a.push(n),Array.isArray(n))for(l=0;l<n.length;l++)r(n[l],l,l,a,n,c,p);else{var h=Object.keys(n);for(l=0;l<h.length;l++){var f=h[l];r(n[f],f,l,a,n,c,p)}}a.pop()}}(i,"",0,[],void 0,0,p);try{l=0===n.length?JSON.stringify(i,a,u):JSON.stringify(i,c(a),u)}catch(t){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==r.length;){var h=r.pop();4===h.length?Object.defineProperty(h[0],h[1],h[3]):h[0][h[1]]=h[2]}}return l}function s(t,e,o,i){var s=Object.getOwnPropertyDescriptor(i,o);void 0!==s.get?s.configurable?(Object.defineProperty(i,o,{value:t}),r.push([i,o,e,s])):n.push([e,o,t]):(i[o]=t,r.push([i,o,e]))}function a(t,e){return t<e?-1:+(t>e)}function u(i,u,p,l){void 0===l&&(l=o());var h,f=function n(o,i,u,c,p,l,h){var f;if(l+=1,"object"==typeof o&&null!==o){for(f=0;f<c.length;f++)if(c[f]===o)return void s(e,o,i,p);try{if("function"==typeof o.toJSON)return}catch(t){return}if(void 0!==h.depthLimit&&l>h.depthLimit||void 0!==h.edgesLimit&&u+1>h.edgesLimit)return void s(t,o,i,p);if(c.push(o),Array.isArray(o))for(f=0;f<o.length;f++)n(o[f],f,f,c,o,l,h);else{var d={},y=Object.keys(o).sort(a);for(f=0;f<y.length;f++){var m=y[f];n(o[m],m,f,c,o,l,h),d[m]=o[m]}if(void 0===p)return d;r.push([p,i,o]),p[i]=d}c.pop()}}(i,"",0,[],void 0,0,l)||i;try{h=0===n.length?JSON.stringify(f,u,p):JSON.stringify(f,c(u),p)}catch(t){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==r.length;){var d=r.pop();4===d.length?Object.defineProperty(d[0],d[1],d[3]):d[0][d[1]]=d[2]}}return h}function c(t){return t=void 0!==t?t:function(t,e){return e},function(e,r){if(n.length>0)for(var o=0;o<n.length;o++){var i=n[o];if(i[1]===e&&i[0]===r){r=i[2],n.splice(o,1);break}}return t.call(this,e,r)}}return eu}(),i=t7(),s=function(){if(eh)return el;eh=1;var t=e_(),e=t.isObject,r=t.hasOwn;function n(){}el=n,n.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},n.prototype.parse=function(t){return this._parser=t,this},n.prototype.responseType=function(t){return this._responseType=t,this},n.prototype.serialize=function(t){return this._serializer=t,this},n.prototype.timeout=function(t){if(!t||"object"!==ei(t))return this._timeout=t,this._responseTimeout=0,this._uploadTimeout=0,this;for(var e in t)if(r(t,e))switch(e){case"deadline":this._timeout=t.deadline;break;case"response":this._responseTimeout=t.response;break;case"upload":this._uploadTimeout=t.upload;break;default:console.warn("Unknown timeout option",e)}return this},n.prototype.retry=function(t,e){return 0!=arguments.length&&!0!==t||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};var o=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),i=new Set([408,413,429,500,502,503,504,521,522,524]);return n.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(t,e);if(!0===r)return!0;if(!1===r)return!1}catch(t){console.error(t)}return!!(e&&e.status&&i.has(e.status)||t&&(t.code&&o.has(t.code)||t.timeout&&"ECONNABORTED"===t.code||t.crossDomain))||!1},n.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},n.prototype.then=function(t,e){var r=this;if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(t,e){n.on("abort",function(){if(!(r._maxRetries&&r._maxRetries>r._retries))if(r.timedout&&r.timedoutError)e(r.timedoutError);else{var t=Error("Aborted");t.code="ABORTED",t.status=r.status,t.method=r.method,t.url=r.url,e(t)}}),n.end(function(r,n){r?e(r):t(n)})})}return this._fullfilledPromise.then(t,e)},n.prototype.catch=function(t){return this.then(void 0,t)},n.prototype.use=function(t){return t(this),this},n.prototype.ok=function(t){if("function"!=typeof t)throw Error("Callback required");return this._okCallback=t,this},n.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},n.prototype.get=function(t){return this._header[t.toLowerCase()]},n.prototype.getHeader=n.prototype.get,n.prototype.set=function(t,n){if(e(t)){for(var o in t)r(t,o)&&this.set(o,t[o]);return this}return this._header[t.toLowerCase()]=n,this.header[t]=n,this},n.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},n.prototype.field=function(t,n,o){if(null==t)throw Error(".field(name, val) name can not be empty");if(this._data)throw Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(e(t)){for(var i in t)r(t,i)&&this.field(i,t[i]);return this}if(Array.isArray(n)){for(var s in n)r(n,s)&&this.field(t,n[s]);return this}if(null==n)throw Error(".field(name, val) val can not be empty");return"boolean"==typeof n&&(n=String(n)),o?this._getFormData().append(t,n,o):this._getFormData().append(t,n),this},n.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit
1("abort")),this},n.prototype._auth=function(t,e,r,n){switch(r.type){case"basic":this.set("Authorization","Basic ".concat(n("".concat(t,":").concat(e))));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer ".concat(t))}return this},n.prototype.withCredentials=function(t){return void 0===t&&(t=!0),this._withCredentials=t,this},n.prototype.redirects=function(t){return this._maxRedirects=t,this},n.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw TypeError("Invalid argument");return this._maxResponseSize=t,this},n.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},n.prototype.send=function(t){var n=e(t),o=this._header["content-type"];if(this._formData)throw Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(n&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(n&&e(this._data))for(var i in t){if("bigint"==typeof t[i]&&!t[i].toJSON)throw Error("Cannot serialize BigInt value to json");r(t,i)&&(this._data[i]=t[i])}else{if("bigint"==typeof t)throw Error("Cannot send value of type BigInt");"string"==typeof t?(o||this.type("form"),(o=this._header["content-type"])&&(o=o.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===o?this._data?"".concat(this._data,"&").concat(t):t:(this._data||"")+t):this._data=t}return!n||this._isHost(t)||o||this.type("json"),this},n.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},n.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t&&(this.url+=(this.url.includes("?")?"&":"?")+t),this._query.length=0,this._sort){var e=this.url.indexOf("?");if(e>=0){var r=this.url.slice(e+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,e)+"?"+r.join("&")}}},n.prototype._appendQueryString=function(){console.warn("Unsupported")},n.prototype._timeoutError=function(t,e,r){if(!this._aborted){var n=Error("".concat(t+e,"ms exceeded"));n.timeout=e,n.code="ECONNABORTED",n.errno=r,this.timedout=!0,this.timedoutError=n,this.abort(),this.callback(n)}},n.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")},this._responseTimeout))},el}(),a=e_(),u=a.isObject,c=a.mixin,p=a.hasOwn,l=function(){if(ed)return ef;ed=1;var t=e_();function e(){}return ef=e,e.prototype.get=function(t){return this.header[t.toLowerCase()]},e.prototype._setHeaderProperties=function(e){var r=e["content-type"]||"";this.type=t.type(r);var n=t.params(r);for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(this[o]=n[o]);this.links={};try{e.link&&(this.links=t.parseLinks(e.link))}catch(t){}},e.prototype._setStatusProperties=function(t){var e=Math.trunc(t/100);this.statusCode=t,this.status=this.statusCode,this.statusType=e,this.info=1===e,this.ok=2===e,this.redirect=3===e,this.clientError=4===e,this.serverError=5===e,this.error=(4===e||5===e)&&this.toError(),this.created=201===t,this.accepted=202===t,this.noContent=204===t,this.badRequest=400===t,this.unauthorized=401===t,this.notAcceptable=406===t,this.forbidden=403===t,this.notFound=404===t,this.unprocessableEntity=422===t},ef}(),h=function(){if(em)return ey;em=1;for(var t,e,r=(t=function t(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this._defaults=[]},e=[{key:"_setDefaults",value:function(t){var e,r=er(this._defaults);try{for(r.s();!(e=r.n()).done;){var n=e.value;t[n.fn].apply(t,eo(n.args))}}catch(t){r.e(t)}finally{r.f()}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t),n=0,o=["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"];n<o.length;n++)!function(){var t=o[n];r.prototype[t]=function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return this._defaults.push({fn:t,args:r}),this}}();return ey=r}();function f(){}t.exports=function(t,r){return"function"==typeof r?new e.Request
1("GET",t).end(r):1==arguments.length?new e.Request("GET",t):new e.Request(t,r)};var d=e=t.exports;e.Request=w,d.getXHR=function(){if(r.XMLHttpRequest)return new r.XMLHttpRequest;throw Error("Browser-only version of superagent could not find XHR")};var y="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};function m(t){if(!u(t))return t;var e=[];for(var r in t)p(t,r)&&function t(e,r,n){if(void 0!==n)if(null!==n)if(Array.isArray(n)){var o,i=er(n);try{for(i.s();!(o=i.n()).done;)t(e,r,o.value)}catch(t){i.e(t)}finally{i.f()}}else if(u(n))for(var s in n)p(n,s)&&t(e,"".concat(r,"[").concat(s,"]"),n[s]);else e.push(encodeURI(r)+"="+encodeURIComponent(n));else e.push(encodeURI(r))}(e,r,t[r]);return e.join("&")}function g(t){for(var e,r,n={},o=t.split("&"),i=0,s=o.length;i<s;++i)-1===(r=(e=o[i]).indexOf("="))?n[decodeURIComponent(e)]="":n[decodeURIComponent(e.slice(0,r))]=decodeURIComponent(e.slice(r+1));return n}function v(t){return/[/+]json($|[^-\w])/i.test(t)}function b(t){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var e=this.xhr.status;1223===e&&(e=204),this._setStatusProperties(e),this.headers=function(t){for(var e,r,n,o,i=t.split(/\r?\n/),s={},a=0,u=i.length;a<u;++a)-1!==(e=(r=i[a]).indexOf(":"))&&(n=r.slice(0,e).toLowerCase(),o=y(r.slice(e+1)),s[n]=o);return s}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&t._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function w(t,e){var r=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",function(){var t,e=null,n=null;try{n=new b(r)}catch(t){return(e=Error("Parser is unable to parse the response")).parse=!0,e.original=t,r.xhr?(e.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,e.status=r.xhr.status?r.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),r.callback(e)}r.emit("response",n);try{r._isResponseOK(n)||(t=Error(n.statusText||n.text||"Unsuccessful HTTP response"))}catch(e){t=e}t?(t.original=e,t.response=n,t.status=t.status||n.status,r.callback(t,n)):r.callback(null,n)})}d.serializeObject=m,d.parseString=g,d.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},d.serialize={"application/x-www-form-urlencoded":function(t){return i.stringify(t,{indices:!1,strictNullHandling:!0})},"application/json":o},d.parse={"application/x-www-form-urlencoded":g,"application/json":JSON.parse},c(b.prototype,l.prototype),b.prototype._parseBody=function(t){var e=d.parse[this.type];return this.req._parser?this.req._parser(this,t):(!e&&v(this.type)&&(e=d.parse["application/json"]),e&&t&&(t.length>0||t instanceof Object)?e(t):null)},b.prototype.toError=function(){var t=this.req,e=t.method,r=t.url,n=Error("cannot ".concat(e," ").concat(r," (").concat(this.status,")"));return n.status=this.status,n.method=e,n.url=r,n},d.Response=b,n(w.prototype),c(w.prototype,s.prototype),w.prototype.type=function(t){return this.set("Content-Type",d.types[t]||t),this},w.prototype.accept=function(t){return this.set("Accept",d.types[t]||t),this},w.prototype.auth=function(t,e,r){1==arguments.length&&(e=""),"object"===ei(e)&&null!==e&&(r=e,e=""),r||(r={type:"function"==typeof btoa?"basic":"auto"});var n=r.encoder?r.encoder:function(t){if("function"==typeof btoa)return btoa(t);throw Error("Cannot use basic auth, btoa is not a function")};return this._auth(t,e,r,n)},w.prototype.query=function(t){return"string"!=typeof t&&(t=m(t)),t&&this._query.push(t),this},w.prototype.attach=function(t,e,r){if(e){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,r||e.name)}return this},w.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},w.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();var r=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit
1("error",t)),r(t,e)},w.prototype.crossDomainError=function(){var t=Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},w.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},w.prototype.ca=w.prototype.agent,w.prototype.buffer=w.prototype.ca,w.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},w.prototype.pipe=w.prototype.write,w.prototype._isHost=function(t){return t&&"object"===ei(t)&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},w.prototype.end=function(t){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||f,this._finalizeQueryString(),this._end()},w.prototype._setUploadTimeout=function(){var t=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout(function(){t._timeoutError("Upload timeout of ",t._uploadTimeout,"ETIMEDOUT")},this._uploadTimeout))},w.prototype._end=function(){if(this._aborted)return this.callback(Error("The request has been aborted even before .end() was called"));var t=this;this.xhr=d.getXHR();var e=this.xhr,r=this._formData||this._data;this._setTimeouts(),e.addEventListener("readystatechange",function(){var r,n=e.readyState;if(n>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4===n){try{r=e.status}catch(t){r=0}if(!r){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}});var n=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100,100===r.percent&&clearTimeout(t._uploadTimeoutTimer)),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{e.addEventListener("progress",n.bind(null,"download")),e.upload&&e.upload.addEventListener("progress",n.bind(null,"upload"))}catch(t){}e.upload&&this._setUploadTimeout();try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(t){return this.callback(t)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof r&&!this._isHost(r)){var o=this._header["content-type"],i=this._serializer||d.serialize[o?o.split(";")[0]:""];!i&&v(o)&&(i=d.serialize["application/json"]),i&&(r=i(r))}for(var s in this.header)null!==this.header[s]&&p(this.header,s)&&e.setRequestHeader(s,this.header[s]);this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0===r?null:r)},d.agent=new Proxy(h,{apply:function(t,e,r){return function(t,e,r){if(en())return Reflect.construct.apply(null,arguments);var n=[null];return n.push.apply(n,e),new(t.bind.apply(t,n))}(t,eo(r))}});for(var _=0,O=["GET","POST","OPTIONS","PATCH","PUT","DELETE"];_<O.length;_++)!function(){var t=O[_];h.prototype[t.toLowerCase()]=function(e,r){var n=new d.Request(t,e);return this._setDefaults(n),r&&n.end(r),n}}();function T(t,e,r){var n=d("DELETE",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n}h.prototype.del=h.prototype.delete,d.get=function(t,e,r){var n=d("GET",t);return"function"==typeof e&&(r=e,e=null),e&&n.query(e),r&&n.end(r),n},d.head=function(t,e,r){var n=d("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&n.query(e),r&&n.end(r),n},d.options=function(t,e,r){var n=d("OPTIONS",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},d.del=T,d.delete=T,d.patch=function(t,e,r){var n=d("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},d.post=function(t,e,r){var n=d("POST",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},d.put=function(t,e,r){var n=d("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n}}(ev,ev.exports)),ev.exports)),eA={},eE=o(function(){if(eO)return eA;eO=1,eA.byteLength=function(t){var e=i(t),r=e[0],n=e[1];return 3*(r+n)/4-n},eA.toByteArray=function(t){var n,o,s=i(t),a=s[0],u=s[1],c=new r(3*(a+u)/4-u),p=0,l=u>0?a-4:a;for(o=0;o<l;o+=4)n=e[t.charCodeAt(o)]<<18|e[t.charCodeAt(o+1)]<<12|e[t.charCodeAt(o+2)]<<6|e[t.charCodeAt(o+3)],c[p++]=n>>16&255,c[p++]=n>>8&255,c[p++]=255&n;return 2===u&&(n=e[t.charCodeAt(o)]<<2|e[t.charCodeAt(o+1)]>>4,c[p++]=255&n),1===u&&(n=e[t.charCodeAt(o)]<<10|e[t.charCodeAt(o+1)]<<4|e[t.charCodeAt(o+2)]>>2,c[p++]=n>>8&255,c[p++]=255&n),c},eA.fromByteArray=function(e){for(var r,n=e.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(function(e,r,n){for(var o,i=[],s=r;s<n;s+=3)i.push(t[(o=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+t[o>>12&63]+t[o>>6&63]+t[63&o]);return i.join("")}(e,s,s+16383>a?a:s+16383));return 1===o?i.push(t[(r=e[n-1])>>2]+t[r<<4&63]+"=="):2===o&&i.push(t[(r=(e[n-2]<<8)+e[n-1])>>10]+t[r>>4&63]+t[r<<2&63]+"="),i.join("")};for(var t=[],e=[],r="u">typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",o=0;o<64;++o)t[o]=n[o],e[n.charCodeAt(o)]=o;function i(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return -1===r&&(r=e),[r,r===e?0:4-r%4]}return e[45]=62,e[95]=63,eA}()),ex=o(eS?eT:(eS=1,eT={raw:"10.2.0"})),ej=Object.prototype.toString;function eD(t,e,r,n){if(r="array"===r?"object":r,t&&ei(t[e])!==r)throw Error(n)}function eC(t,e,r){if(ei(t)!==e)throw Error(r)}function eI(t,e,r){if(-1===e.indexOf(t))throw Error(r)}var eP={check:function(t,e,r){if(e.optional&&!t||eC(t,e.type,e.message),"object"===e.type&&r)for(var n=Object.keys(r),o=0;o<n.length;o++){var i=n[o];r[i].optional&&!t[i]||r[i].condition&&!r[i].condition(t)||(eD(t,i,r[i].type,r[i].message),r[i].values&&eI(t[i],r[i].values,r[i].value_message))}},attribute:eD,variable:eC,value:eI,isArray:function(t){return this.supportsIsArray()?Array.isArray(t):"[object Array]"===ej.call(t)},supportsIsArray:function(){return null!=Array.isArray}};function eR(t,e){return e.reduce(function(e,r){return t[r]&&(e[r]=t[r]),e},{})}function eq(){var t=function(t){var e=[];for(var r in t)e.push(t[r]);return e}(arguments);return t.unshift({}),Object.assign.apply(void 0,t)}function eU(t,e){var r=eq(t);return t[e]&&(r[e]=t[e].trim()),r}var eM=function t(e,r){return"object"!==ei(e)||eP.isArray(e)||null===e?e:(r=r||[],Object.keys(e).reduce(function(n,o){return n[-1===r.indexOf(o)?function(t){for(var e,r="",n=0,o=!0,i=!0;n<t.length;)e=t.charCodeAt(n),(!i&&e>=65&&e<=90||!o&&e>=48&&e<=57)&&(r+="_"),r+=t[n].toLowerCase(),o=e>=48&&e<=57,i=e>=65&&e<=90,n++;return r}(o):o]=t(e[o]),n},{}))},eL=function(t,e){return Object.keys(t).reduce(function(r,n){return -1===e.indexOf(n)&&(r[n]=t[n]),r},{})},eB=function(t,e){return{base:e?eR(t,e):t,with:function(t,e){return t=e?eR(t,e):t,eq(this.base,t)}}},eN=function(t,e){var r=[];for(var n in t)-1===e.indexOf(n)&&r.push(n);return r},eF=function(t){if(t){var e,r,n=(r=(e=t).match(/^(https?:|file:|chrome-extension:)\/\/(([^:/?#]*)(?::([0-9]+))?)([/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/))&&{href:e,protocol:r[1],host:r[2],hostname:r[3],port:r[4],pathname:r[5],search:r[6],hash:r[7]};if(!n)return null;var o=n.protocol+"//"+n.hostname;return n.port&&(o+=":"+n.port),o}},eH=function t(e,r,n){"string"==typeof r&&(r=r.split("."));var o=r[0];e.hasOwnProperty(o)&&(1===r.length?e[o]=n:t(e[o],r.slice(1),n))};function ez(t){this.request=t,this.method=t.method,this.url=t.url,this.body=t._data,this.headers=t._header}function eW(t){this.request=t}function eV(t){this._sendTelemetry=!1!==t._sendTelemetry||t._sendTelemetry,this._telemetryInfo=t._telemetryInfo||null,this._timesToRetryFailedRequests=t._timesToRetryFailedRequests,this.headers=t.headers||{},this._universalLoginPage=t.universalLoginPage}function e$(){return window}ez.prototype.abort=function(){this.request.abort()},ez.prototype.getMethod=function(){return this.method},ez.prototype.getBody=function(){return this.body},ez.prototype.getUrl=function(){return this.url},ez.prototype.getHeaders=function(){return this.headers},eW.prototype.set=function(t,e){return this.request=this.request.set(t,e),this},eW.prototype.send=function(t){return this.request=this.request.send(["username","email","phoneNumber"].reduce(eU,t)),this},eW.prototype.withCredentials=function(){return this.request=this.request.withCredentials(),this},eW.prototype.end=function(t){return this.request.end(t),new ez(this.request)},eV.prototype.setCommonConfiguration=function(t,e){if(e=e||{},this._timesToRetryFailedRequests>0&&(t=t.retry(this._timesToRetryFailedRequests)),e.noHeaders)return t;var r=this.headers;t=t.set("Content-Type","application/json"),e.xRequestLanguage&&(t=t.set("X-Request-Language",e.xRequestLanguage));for(var n=Object.keys(this.headers),o=0;o<n.length;o++)t=t.set(n[o],r[n[o]]);return this._sendTelemetry&&(t=t.set("Auth0-Client",this.getTelemetryData())),t},eV.prototype.getTelemetryData=function(){var t,e=this._universalLoginPage?"auth0.js-ulp":"auth0.js",r={name:e,version:ex.raw};return this._telemetryInfo&&((r=eq({},this._telemetryInfo)).env=eq({},this._telemetryInfo.env),r.env[e]=ex.raw),t=JSON.stringify(r),eE.fromByteArray(function(t){for(var e=Array(t.length),r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}(t)).replace(/\+/g,"-").replace(/\//g,"_")},eV.prototype.get=function(t,e){return new eW(this.setCommonConfiguration(ek.get(t),e))},eV.prototype.post=function(t,e){return new eW(this.setCommonConfiguration(ek.post(t),e))},eV.prototype.patch=function(t,e){return new eW(this.setCommonConfiguration(ek.patch(t),e))};var eJ=function(t){e$().location=t},eK=function(){var t=e$().location,e=t.origin;return e||(e=eF(t.href)),e};function eG(){}function eQ(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)"__proto__"!==n&&(t[n]=r[n])}return t}eG.prototype.getItem=function(){return null},eG.prototype.removeItem=function(){},eG.prototype.setItem=function(){};var eZ=function t(e,r){function n(t,n,o){if("u">typeof document){"number"==typeof(o=eQ({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decode
1URIComponent).replace(/[()]/g,escape);var i="";for(var s in o)o[s]&&(i+="; "+s,!0!==o[s]&&(i+="="+o[s].split(";")[0]));return document.cookie=t+"="+e.write(n,t)+i}}return Object.create({set:n,get:function(t){if("u">typeof document&&(!arguments.length||t)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(a in n||(n[a]=e.read(s,a)),t===a)break}catch(t){}}return t?n[t]:n}},remove:function(t,e){n(t,"",eQ({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,eQ({},this.attributes,e))},withConverter:function(e){return t(eQ({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function eX(t){return"_"+t+"_compat"}function eY(t){this._options=t||{}}function e0(t){this.disableWarnings=t.disableWarnings}function e1(t){if(this.warn=new e0({}),this.storage=new eY(t),!0===t.__tryLocalStorageFirst)try{var e=e$().localStorage;e&&(this.storage=e)}catch(t){this.warn.warning(t),this.warn.warning("Can't use localStorage. Using CookieStorage instead.")}}function e2(t){this.handler=new e1(t)}function e3(t){this.storage=new e2(t)}function e5(t,e){return{error:t,errorDescription:e}}eY.prototype.getItem=function(t){return eZ.get(t)||eZ.get(eX(t))},eY.prototype.removeItem=function(t){var e={};this._options.cookieDomain&&(e.domain=this._options.cookieDomain),eZ.remove(t,e),eZ.remove(eX(t),e)},eY.prototype.setItem=function(t,e,r){var n=eq({expires:1},r);if("https:"===e$().location.protocol&&(n.secure=!0,n.sameSite="none",this._options.legacySameSiteCookie)){var o=eL(n,["sameSite"]);eZ.set(eX(t),e,o)}this._options.cookieDomain&&(n.domain=this._options.cookieDomain),eZ.set(t,e,n)},e0.prototype.warning=function(t){this.disableWarnings||console.warn(t)},e1.prototype.failover=function(){this.storage instanceof eG?this.warn.warning("DummyStorage: ignore failover"):this.storage instanceof eY?(this.warn.warning("CookieStorage: failing over DummyStorage"),this.storage=new eG):(this.warn.warning("LocalStorage: failing over CookieStorage"),this.storage=new eY)},e1.prototype.getItem=function(t){try{return this.storage.getItem(t)}catch(e){return this.warn.warning(e),this.failover(),this.getItem(t)}},e1.prototype.removeItem=function(t){try{return this.storage.removeItem(t)}catch(e){return this.warn.warning(e),this.failover(),this.removeItem(t)}},e1.prototype.setItem=function(t,e,r){try{return this.storage.setItem(t,e,r)}catch(n){return this.warn.warning(n),this.failover(),this.setItem(t,e,r)}},e2.prototype.getItem=function(t){var e=this.handler.getItem(t);try{return JSON.parse(e)}catch(t){return e}},e2.prototype.removeItem=function(t){return this.handler.removeItem(t)},e2.prototype.setItem=function(t,e,r){var n=JSON.stringify(e);return this.handler.setItem(t,n,r)},e3.prototype.set=function(t,e){this.storage.setItem("auth0.ssodata",JSON.stringify({lastUsedConnection:t,lastUsedSub:e}))},e3.prototype.get=function(){var t=this.storage.getItem("auth0.ssodata");if(t)return JSON.parse(t)};var e6=function(t){return e5("invalid_token",t)};function e4(t,e){return(e=e||{}).ignoreCasing=!!e.ignoreCasing&&e.ignoreCasing,function(r,n){var o;return r||n?(!r&&n.err&&(r=n.err,n=null),!r&&n.error&&(r=n,n=null),r?(eH(o={original:r},"original.response.req._data.password","*****"),r.response&&r.response.statusCode&&(o.statusCode=r.response.statusCode),r.response&&r.response.statusText&&(o.statusText=r.response.statusText),r.response&&r.response.body&&(r=r.response.body),r.err&&(r=r.err),o.code=r.code||r.error||r.error_code||r.status||null,o.description=r.errorDescription||r.error_description||r.description||r.error||r.details||r.err||null,e.forceLegacyError&&(o.error=o.code,o.error_description=o.description),r.error_codes&&r.error_details&&(o.errorDetails={codes:r.error_codes,details:r.error_details}),r.name&&(o.name=r.name),r.policy&&(o.policy=r.policy),t(o)):n.type&&("text/html"===n.type||"text/plain"===n.type)?t(null,n.text):e.ignoreCasing?t(null,n.body||n):t(null,function t(e,r,n){return"object"!==ei(e)||eP.isArray(e)||null===e?e:(r=r||[],n=n||{},Object.keys(e).reduce(function(o,i){var s,a=-1===r.indexOf(i)?(s=i.split("_")).reduce(function(t,e){return t+e.charAt(0).toUpperCase()+e.slice(1)},s.shift()):i;return o[a]=t(e[a]||e[i],[],n),n.keepOriginal&&(o[i]=t(e[i],[],n)),o},{}))}(n.body||n,[],{keepOriginal:e.keepOriginalCasing}))):t(e5("generic_error","Something went wrong"))}}var e8=["realm","audience","otp","organization","client_id","client_secret","redirect_uri","scope","code","grant_type","username","password","refresh_token","assertion","client_assertion","client_assertion_type","code_verifier","subject_token","subject_token_type"],e9=["connection","connection_scope","auth0Client","owp","device","realm","organization","invitation","protocol","_csrf","_intstate","login_ticket","client_id","response_type","response_mode","redirect_uri","audie
1nce","scope","state","nonce","display","prompt","screen_hint","max_age","ui_locales","claims_locales","id_token_hint","login_hint","acr_values","claims","registration","request","request_uri","code_challenge","code_challenge_method","access_type","display"],e7=function(t,e){var r=eN(e,e9);return r.length>0&&t.warning("Following parameters are not allowed on the `/authorize` endpoint: ["+r.join(",")+"]"),e},rt="u">typeof globalThis?globalThis:"u">typeof window?window:t.g;function re(t){var e={exports:{}};return t(e,e.exports),e.exports}var rr=re(function(t,e){t.exports=function(){function t(t){return"function"==typeof t}var e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},n=0,o=void 0,i=void 0,s=function(t,e){f[n]=t,f[n+1]=e,2===(n+=2)&&(i?i(d):b())},a="u">typeof window?window:void 0,u=a||{},c=u.MutationObserver||u.WebKitMutationObserver,p="u"<typeof self&&void 0!==r.default&&"[object process]"===({}).toString.call(r.default),l="u">typeof Uint8ClampedArray&&"u">typeof importScripts&&"u">typeof MessageChannel;function h(){var t=setTimeout;return function(){return t(d,1)}}var f=Array(1e3);function d(){for(var t=0;t<n;t+=2)(0,f[t])(f[t+1]),f[t]=void 0,f[t+1]=void 0;n=0}var y,m,g,v,b=void 0;function w(t,e){var r=this,n=new this.constructor(T);void 0===n[O]&&R(n);var o=r._state;if(o){var i=arguments[o-1];s(function(){return I(o,n,i,r._result)})}else D(r,n,t,e);return n}function _(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(T);return A(e,t),e}b=p?function(){return r.default.nextTick(d)}:c?(m=0,g=new c(d),v=document.createTextNode(""),g.observe(v,{characterData:!0}),function(){v.data=m=++m%2}):l?((y=new MessageChannel).port1.onmessage=d,function(){return y.port2.postMessage(0)}):void 0===a?function(){try{var t=Function("return this")().require("vertx");return void 0!==(o=t.runOnLoop||t.runOnContext)?function(){o(d)}:h()}catch(t){return h()}}():h();var O=Math.random().toString(36).substring(2);function T(){}var S=void 0;function k(e,r,n){r.constructor===e.constructor&&n===w&&r.constructor.resolve===_?1===r._state?x(e,r._result):2===r._state?j(e,r._result):D(r,void 0,function(t){return A(e,t)},function(t){return j(e,t)}):void 0===n?x(e,r):t(n)?s(function(t){var e=!1,o=function(n,o){try{n.call(o,function(n){e||(e=!0,r!==n?A(t,n):x(t,n))},function(r){e||(e=!0,j(t,r))})}catch(t){return t}}(n,r);!e&&o&&(e=!0,j(t,o))},e):x(e,r)}function A(t,e){if(t===e)j(t,TypeError("You cannot resolve a promise with itself"));else if(r=typeof e,null===e||"object"!==r&&"function"!==r)x(t,e);else{var r,n=void 0;try{n=e.then}catch(e){return void j(t,e)}k(t,e,n)}}function E(t){t._onerror&&t._onerror(t._result),C(t)}function x(t,e){t._state===S&&(t._result=e,t._state=1,0!==t._subscribers.length&&s(C,t))}function j(t,e){t._state===S&&(t._state=2,t._result=e,s(E,t))}function D(t,e,r,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+1]=r,o[i+2]=n,0===i&&t._state&&s(C,t)}function C(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n=void 0,o=void 0,i=t._result,s=0;s<e.length;s+=3)o=e[s+r],(n=e[s])?I(r,n,o,i):o(i);t._subscribers.length=0}}function I(e,r,n,o){var i=t(n),s=void 0,a=void 0,u=!0;if(i){try{s=n(o)}catch(t){u=!1,a=t}if(r===s)return void j(r,TypeError("A promises callback cannot return that same promise."))}else s=o;r._state!==S||(i&&u?A(r,s):!1===u?j(r,a):1===e?x(r,s):2===e&&j(r,s))}var P=0;function R(t){t[O]=P++,t._state=void 0,t._result=void 0,t._subscribers=[]}var q=function(){function t(t,r){this._instanceConstructor=t,this.promise=new t(T),this.promise[O]||R(this.promise),e(r)?(this.length=r.length,this._remaining=r.length,this._result=Array(this.length),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&x(this.promise,this._result))):j(this.promise,Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===S&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,n=r.resolve;if(n===_){var o=void 0,i=void 0,s=!1;try{o=t.then}catch(t){s=!0,i=t}
vendor: 1,048 bytes, line 1
1if(o===w&&t._state!==S)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(r===U){var a=new r(T);s?j(a,i):k(a,t,o),this._willSettleAt(a,e)}else this._willSettleAt(new r(function(e){return e(t)}),e)}else this._willSettleAt(n(t),e)},t.prototype._settledAt=function(t,e,r){var n=this.promise;n._state===S&&(this._remaining--,2===t?j(n,r):this._result[e]=r),0===this._remaining&&x(n,this._result)},t.prototype._willSettleAt=function(t,e){var r=this;D(t,void 0,function(t){return r._settledAt(1,e,t)},function(t){return r._settledAt(2,e,t)})},t}(),U=function(){function e(t){this[O]=P++,this._result=this._state=void 0,this._subscribers=[],T!==t&&("function"!=typeof t&&function(){throw TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(t,e){try{e(function(e){A(t,e)},function(e){j(t,e)})}catch(e){j(t,e)}}(this,t):function(){throw TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object c
1onstructor cannot be called as a function.")}())}return e.prototype.catch=function(t){return this.then(null,t)},e.prototype.finally=function(e){var r=this.constructor;return t(e)?this.then(function(t){return r.resolve(e()).then(function(){return t})},function(t){return r.resolve(e()).then(function(){throw t})}):this.then(e,e)},e}();return U.prototype.then=w,U.all=function(t){return new q(this,t).promise},U.race=function(t){var r=this;return new r(e(t)?function(e,n){for(var o=t.length,i=0;i<o;i++)r.resolve(t[i]).then(e,n)}:function(t,e){return e(TypeError("You must pass an array to race."))})},U.resolve=_,U.reject=function(t){var e=new this(T);return j(e,t),e},U._setScheduler=function(t){i=t},U._setAsap=function(t){s=t},U._asap=s,U.polyfill=function(){var t=void 0;if(void 0!==rt)t=rt;else if("u">typeof self)t=self;else try{t=Function("return this")()}catch(t){throw Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var r=null;try{r=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===r&&!e.cast)return}t.Promise=U},U.Promise=U,U}()}),rn={__proto__:null,default:{}},ro=re(function(t,e){t.exports=function(t){if("u">typeof window&&window.crypto&&(e=window.crypto),"u">typeof self&&self.crypto&&(e=self.crypto),"u">typeof globalThis&&globalThis.crypto&&(e=globalThis.crypto),!e&&"u">typeof window&&window.msCrypto&&(e=window.msCrypto),!e&&void 0!==rt&&rt.crypto&&(e=rt.crypto),!e)try{e=rn}catch(t){}var e,r=function(){if(e){if("function"==typeof e.getRandomValues)try{return e.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof e.randomBytes)try{return e.randomBytes(4).readInt32LE()}catch(t){}}throw Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),o={},i=o.lib={},s=i.Base={extend:function(t){var e=n(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=s.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++)e[n+i>>>2]|=(r[i>>>2]>>>24-i%4*8&255)<<24-(n+i)%4*8;else for(var s=0;s<o;s+=4)e[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=0xffffffff<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=s.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(r());return new a.init(e,t)}}),u=o.enc={},c=u.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new a.init(r,e/2)}},p=u.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++)n.push(String.fromCharCode(e[o>>>2]>>>24-o%4*8&255));return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new a.init(r,e)}},l=u.Utf8={stringify:function(t){try{return decodeURIComponent(escape(p.stringify(t)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(t){return p.parse(unescape(encodeURIComponent(t)))}},h=i.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=l.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,n=this._data,o=n.words,i=n.sigBytes,s=this.blockSize,u=i/(4*s),c=(u=e?t.ceil(u):t.max((0|u)-this._minBufferSize,0))*s,p=t.min(4*c,i);if(c){for(var l=0;l<c;l+=s)this._doProcessBlock(o,l);r=o.splice(0,c),n.sigBytes-=p}return new a.init(r,p)},clone:function(){var t=s.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});i.Hasher=h.extend({cfg:s.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new f.HMAC.init(t,r).finalize(e)}}});var f=o.algo={};return o}(Math)}),ri=re(function(t,e){(function(t){var e=ro.lib,r=e.WordArray,n=e.Hasher,o=ro.algo,i=[],s=[];function a(t){return 0x100000000*(t-(0|t))|0}for(var u=2,c=0;c<64;)(function(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0})(u)&&(c<8&&(i[c]=a(t.pow(u,.5))),s[c]=a(t.pow(u,1/3)),c++),u++;var p=[],l=o.SHA256=n.extend({_doReset:function(){this._hash=new r.init(i.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],u=r[4],c=r[5],l=r[6],h=r[7],f=0;f<64;
vendor: 7,986 bytes, line 1
1f++){if(f<16)p[f]=0|t[e+f];else{var d=p[f-15],y=p[f-2];p[f]=((d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3)+p[f-7]+((y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10)+p[f-16]}var m=n&o^n&i^o&i,g=h+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&c^~u&l)+s[f]+p[f];h=l,l=c,c=u,u=a+g|0,a=i,i=o,o=n,n=g+(((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+u|0,r[5]=r[5]+c|0,r[6]=r[6]+l|0,r[7]=r[7]+h|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=t.floor(n/0x100000000),r[15+(o+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}});ro.SHA256=n._createHelper(l),ro.HmacSHA256=n._createHmacHelper(l)})(Math),t.exports=ro.SHA256}),rs=re(function(t,e){var r;r=ro.lib.WordArray,ro.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,n=this._map;t.clamp();for(var o=[],i=0;i<r;i+=3)for(var s=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<r;a++)o.push(n.charAt(s>>>6*(3-a)&63));var u=n.charAt(64);if(u)for(;o.length%4;)o.push(u);return o.join("")},parse:function(t){var e=t.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<n.length;i++)o[n.charCodeAt(i)]=i}var s=n.charAt(64);if(s){var a=t.indexOf(s);-1!==a&&(e=a)}return function(t,e,n){for(var o=[],i=0,s=0;s<e;s++)if(s%4){var a=n[t.charCodeAt(s-1)]<<s%4*2,u=n[t.charCodeAt(s)]>>>6-s%4*2;o[i>>>2]|=(a|u)<<24-i%4*8,i++}return r.create(o,i)}(t,e,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},t.exports=ro.enc.Base64}),ra=re(function(t,e){t.exports=ro.enc.Hex}),ru=re(function(t,e){(function(){function e(t,e,r){null!=t&&("number"==typeof t?this.fromNumber(t,e,r):this.fromString(t,null==e&&"string"!=typeof t?256:e))}function r(){return new e(null)}var n,o="u">typeof navigator;o&&"Microsoft Internet Explorer"==navigator.appName?(e.prototype.am=function(t,e,r,n,o,i){for(var s=32767&e,a=e>>15;--i>=0;){var u=32767&this[t],c=this[t++]>>15,p=a*u+c*s;o=((u=s*u+((32767&p)<<15)+r[n]+(0x3fffffff&o))>>>30)+(p>>>15)+a*c+(o>>>30),r[n++]=0x3fffffff&u}return o},i=30):o&&"Netscape"!=navigator.appName?(e.prototype.am=function(t,e,r,n,o,i){for(;--i>=0;){var s=e*this[t++]+r[n]+o;o=Math.floor(s/0x4000000),r[n++]=0x3ffffff&s}return o},i=26):(e.prototype.am=function(t,e,r,n,o,i){for(var s=16383&e,a=e>>14;--i>=0;){var u=16383&this[t],c=this[t++]>>14,p=a*u+c*s;o=((u=s*u+((16383&p)<<14)+r[n]+o)>>28)+(p>>14)+a*c,r[n++]=0xfffffff&u}return o},i=28),e.prototype.DB=i,e.prototype.DM=(1<<i)-1,e.prototype.DV=1<<i,e.prototype.FV=0x10000000000000,e.prototype.F1=52-i,e.prototype.F2=2*i-52;var i,s,a,u=[];for(s=48,a=0;a<=9;++a)u[s++]=a;for(s=97,a=10;a<36;++a)u[s++]=a;for(s=65,a=10;a<36;++a)u[s++]=a;function c(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function p(t,e){var r=u[t.charCodeAt(e)];return null==r?-1:r}function l(t){var e=r();return e.fromInt(t),e}function h(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function f(t){this.m=t}function d(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function y(t,e){return t&e}function m(t,e){return t|e}function g(t,e){return t^e}function v(t,e){return t&~e}function b(){}function w(t){return t}function _(t){this.r2=r(),this.q3=r(),e.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}f.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},f.prototype.revert=function(t){return t},f.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},f.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},f.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},d.prototype.convert=function(t){var n=r();return t.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),t.s<0&&n.compareTo(e.ZERO)>0&&this.m.subTo(n,n),n},d.prototype.revert=function(t){var e=r();return t.copyTo(e),this.reduce(e),e},d.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],n=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},d.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},d.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},e.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},e.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},e.prototype.fromString=function(t,r){var n;if(16==r)n=4;else if(8==r)n=3;else if(256==r)n=8;else if(2==r)n=1;else if(32==r)n=5;else{if(4!=r)return void this.fromRadix(t,r);n=2}this.t=0,this.s=0;for(var o=t.length,i=!1,s=0;--o>=0;){var a=8==n?255&t[o]:p(t,o);a<0?"-"==t.charAt(o)&&(i=!0):(i=!1,0==s?this[this.t++]=a:s+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-s)-1)<<s,this[this.t++]=a>>this.DB-s):this[this.t-1]|=a<<s,(s+=n)>=this.DB&&(s-=this.DB))}8==n&&128&t[0]&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),i&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},e.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},e.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},e.prototype.lShiftTo=function(t,e){var r,n=t%this.DB,o=this.DB-n,i=(1<<o)-1,s=Math.floor(t/this.DB),a=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)e[r+s+1]=this[r]>>o|a,a=(this[r]&i)<<n;for(r=s-1;r>=0;--r)e[r]=0;e[s]=a,e.t=this.t+s+1,e.s=this.s,e.clamp()},e.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,o=this.DB-n,i=(1<<n)-1;e[0]=this[r]>>n;for(var s=r+1;s<this.t;++s)e[s-r-1]|=(this[s]&i)<<o,e[s-r]=this[s]>>n;n>0&&(e[this.t-r-1]|=(this.s&i)<<o),e.t=this.t-r,e.clamp()}},e.prototype.subTo=function(t,e){for(var r=0,n=0,o=Math.min(t.t,this.t);r<o;)n+=this[r]-t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n-=t[r],e[r++]=n&this.DM,n>>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:n>0&&(e[r++]=n),e.t=r,e.clamp()},e.prototype.multiplyTo=function(t,r){var n=this.abs(),o=t.abs(),i=n.t;for(r.t=i+o.t;--i>=0;)r[i]=0;for(i=0;i<o.t;++i)r[i+n.t]=n.am(0,o[i],r,i,0,n.t);r.s=0,r.clamp(),this.s!=t.s&&e.ZERO.subTo(r,r)},e.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var n=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,n,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},e.prototype.divRemTo=function(t,n,o){var i=t.abs();if(!(i.t<=0)){var s=this.abs();if(s.t<i.t)return null!=n&&n.fromInt(0),void(null!=o&&this.copyTo(o));null==o&&(o=r());var a=r(),u=this.s,c=t.s,p=this.DB-h(i[i.t-1]);p>0?(i.lShiftTo(p,a),s.lShiftTo(p,o)):(i.copyTo(a),s.copyTo(o));var l=a.t,f=a[l-1];if(0!=f){var d=f*(1<<this.F1)+(l>1?a[l-2]>>this.F2:0),y=this.FV/d,m=(1<<this.F1)/d,g=1<<this.F2,v=o.t,b=v-l,w=null==n?r():n;for(a.dlShiftTo(b,w),o.compareTo(w)>=0&&(o[o.t++]=1,o.subTo(w,o)),e.ONE.dlShiftTo(l,w),w.subTo(a,a);a.t<l;)a[a.t++]=0;for(;--b>=0;){var _=o[--v]==f?this.DM:Math.floor(o[v]*y+(o[v-1]+g)*m);if((o[v]+=a.am(0,_,o,b,0,l))<_)for(a.dlShiftTo(b,w),o.subTo(w,o);o[v]<--_;)o.subTo(w,o)}null!=n&&(o.drShiftTo(l,n),u!=c&&e.ZERO.subTo(n,n)),o.t=l,o.clamp(),p>0&&o.rShiftTo(p,o),u<0&&e.ZERO.subTo(o,o)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(!(1&t))return 0;var e=3&t;
vendor: 8,671 bytes, line 1
1return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.exp=function(t,n){if(t>0xffffffff||t<1)return e.ONE;var o=r(),i=r(),s=n.convert(this),a=h(t)-1;for(s.copyTo(o);--a>=0;)if(n.sqrTo(o,i),(t&1<<a)>0)n.mulTo(i,s,o);else{var u=o;o=i,i=u}return n.revert(o)},e.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var e,r,n=(1<<e)-1,o=!1,i="",s=this.t,a=this.DB-s*this.DB%e;if(s-- >0)for(a<this.DB&&(r=this[s]>>a)>0&&(o=!0,i=c(r));s>=0;)a<e?r=(this[s]&(1<<a)-1)<<e-a|this[--s]>>(a+=this.DB-e):(r=this[s]>>(a-=e)&n,a<=0&&(a+=this.DB,--s)),r>0&&(o=!0),o&&(i+=c(r));return o?i:"0"},e.prototype.negate=function(){var t=r();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+h(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var n=r();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n},e.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new f(e):new d(e),this.exp(t,r)},e.ZERO=l(0),e.ONE=l(1),b.prototype.convert=w,b.prototype.revert=w,b.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r)},b.prototype.sqrTo=function(t,e){t.squareTo(e)},_.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(0>t.compareTo(this.m))return t;var e=r();return t.copyTo(e),this.reduce(e),e},_.prototype.revert=function(t){return t},_.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);0>t.compareTo(this.r2);)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},_.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},_.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var O,T,S,k=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],A=0x4000000/k[k.length-1];function E(){var t;t=(new Date).getTime(),T[S++]^=255&t,T[S++]^=t>>8&255,T[S++]^=t>>16&255,T[S++]^=t>>24&255,S>=I&&(S-=I)}if(e.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},e.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),o=l(n),i=r(),s=r(),a="";for(this.divRemTo(o,i,s);i.signum()>0;)a=(n+s.intValue()).toString(t).substr(1)+a,i.divRemTo(o,i,s);return s.intValue().toString(t)+a},e.prototype.fromRadix=function(t,r){this.fromInt(0),null==r&&(r=10);for(var n=this.chunkSize(r),o=Math.pow(r,n),i=!1,s=0,a=0,u=0;u<t.length;++u){var c=p(t,u);c<0?"-"==t.charAt(u)&&0==this.signum()&&(i=!0):(a=r*a+c,++s>=n&&(this.dMultiply(o),this.dAddOffset(a,0),s=0,a=0))}s>0&&(this.dMultiply(Math.pow(r,s)),this.dAddOffset(a,0)),i&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,r,n){if("number"==typeof r)if(t<2)this.fromInt(1);else for(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),m,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var o=[],i=7&t;o.length=1+(t>>3),r.nextBytes(o),i>0?o[0]&=(1<<i)-1:o[0]=0,this.fromString(o,256)}},e.prototype.bitwiseTo=function(t,e,r){var n,o,i=Math.min(t.t,this.t);for(n=0;n<i;++n)r[n]=e(this[n],t[n]);if(t.t<this.t){for(o=t.s&this.DM,n=i;n<this.t;++n)r[n]=e(this[n],o);r.t=this.t}else{for(o=this.s&this.DM,n=i;n<t.t;++n)r[n]=e(o,t[n]);r.t=t.t}r.s=e(this.s,t.s),r.clamp()},e.prototype.changeBit=function(t,r){var n=e.ONE.shiftLeft(t);return this.bitwiseTo(n,r,n),n},e.prototype.addTo=function(t,e){for(var r=0,n=0,o=Math.min(t.t,this.t);r<o;)n+=this[r]+t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n+=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n+=t[r],e[r++]=n&this.DM,n>>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[r++]=n:n<-1&&(e[r++]=this.DV+n),e.t=r,e.clamp()},e.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},e.prototype.multiplyLowerTo=function(t,e,r){var n,o=Math.min(this.t+t.t,e);for(r.s=0,r.t=o;o>0;)r[--o]=0;for(n=r.t-this.t;o<n;++o)r[o+this.t]=this.am(0,t[o],r,o,0,this.t);for(n=Math.min(t.t,e);o<n;++o)this.am(0,t[o],r,o,0,e-o);r.clamp()},e.prototype.multiplyUpperTo=function(t,e,r){--e;var n=r.t=this.t+t.t-e;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(e-this.t,0);n<t.t;++n)r[this.t+n-e]=this.am(e-n,t[n],r,0,0,this.t+n-e);r.clamp(),r.drShiftTo(1,r)},e.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,r=this.s<0?t-1:0;if(this.t>0)if(0==e)r=this[0]%t;else for(var n=this.t-1;n>=0;--n)r=(e*r+this[n])%t;return r},e.prototype.millerRabin=function(t){var n=this.subtract(e.ONE),o=n.getLowestSetBit();if(o<=0)return!1;var i=n.shiftRight(o);(t=t+1>>1)>k.length&&(t=k.length);for(var s=r(),a=0;a<t;++a){s.fromInt(k[Math.floor(Math.random()*k.length)]);var u=s.modPow(i,this);if(0!=u.compareTo(e.ONE)&&0!=u.compareTo(n)){for(var c=1;c++<o&&0!=u.compareTo(n);)if(0==(u=u.modPowInt(2,this)).compareTo(e.ONE))return!1;if(0!=u.compareTo(n))return!1}}return!0},e.prototype.clone=function(){var t=r();return this.copyTo(t),t},e.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return -1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var r,n=this.DB-t*this.DB%8,o=0;if(t-- >0)for(n<this.DB&&(r=this[t]>>n)!=(this.s&this.DM)>>n&&(e[o++]=r|this.s<<this.DB-n);t>=0;)n<8?r=(this[t]&(1<<n)-1)<<8-n|this[--t]>>(n+=this.DB-8):(r=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),128&r&&(r|=-256),0==o&&(128&this.s)!=(128&r)&&++o,(o>0||r!=this.s)&&(e[o++]=r);return e},e.prototype.equals=function(t){return 0==this.compareTo(t)},e.prototype.min=function(t){return 0>this.compareTo(t)?this:t},e.prototype.max=function(t){return this.compareTo(t)>0?this:t},e.prototype.and=function(t){var e=r();return this.bitwiseTo(t,y,e),e},e.prototype.or=function(t){var e=r();return this.bitwiseTo(t,m,e),e},e.prototype.xor=function(t){var e=r();return this.bitwiseTo(t,g,e),e},e.prototype.andNot=function(t){var e=r();return this.bitwiseTo(t,v,e),e},e.prototype.not=function(){for(var t=r(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},e.prototype.shiftLeft=function(t){var e=r();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},e.prototype.shiftRight=function(t){var e=r();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},e.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+function(t){if(0==t)return -1;var e=0;return 65535&t||(t>>=16,e+=16),255&t||(t>>=8,e+=8),15&t||(t>>=4,e+=4),3&t||(t>>=2,e+=2),!(1&t)&&++e,e}(this[t]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,r=0;r<this.t;++r)t+=function(t){for(var e=0;0!=t;)t&=t-1,++e;return e}(this[r]^e);return t},e.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:!!(this[e]&1<<t%this.DB)},e.prototype.setBit=function(t){return this.changeBit(t,m)},e.prototype.clearBit=function(t){return this.changeBit(t,v)}
vendor: 9,803 bytes, line 1
1,e.prototype.flipBit=function(t){return this.changeBit(t,g)},e.prototype.add=function(t){var e=r();return this.addTo(t,e),e},e.prototype.subtract=function(t){var e=r();return this.subTo(t,e),e},e.prototype.multiply=function(t){var e=r();return this.multiplyTo(t,e),e},e.prototype.divide=function(t){var e=r();return this.divRemTo(t,e,null),e},e.prototype.remainder=function(t){var e=r();return this.divRemTo(t,null,e),e},e.prototype.divideAndRemainder=function(t){var e=r(),n=r();return this.divRemTo(t,e,n),[e,n]},e.prototype.modPow=function(t,e){var n,o,i=t.bitLength(),s=l(1);if(i<=0)return s;n=i<18?1:i<48?3:i<144?4:i<768?5:6,o=i<8?new f(e):e.isEven()?new _(e):new d(e);var a=[],u=3,c=n-1,p=(1<<n)-1;if(a[1]=o.convert(this),n>1){var y=r();for(o.sqrTo(a[1],y);u<=p;)a[u]=r(),o.mulTo(y,a[u-2],a[u]),u+=2}var m,g,v=t.t-1,b=!0,w=r();for(i=h(t[v])-1;v>=0;){for(i>=c?m=t[v]>>i-c&p:(m=(t[v]&(1<<i+1)-1)<<c-i,v>0&&(m|=t[v-1]>>this.DB+i-c)),u=n;!(1&m);)m>>=1,--u;if((i-=u)<0&&(i+=this.DB,--v),b)a[m].copyTo(s),b=!1;else{for(;u>1;)o.sqrTo(s,w),o.sqrTo(w,s),u-=2;u>0?o.sqrTo(s,w):(g=s,s=w,w=g),o.mulTo(w,a[m],s)}for(;v>=0&&!(t[v]&1<<i);)o.sqrTo(s,w),g=s,s=w,w=g,--i<0&&(i=this.DB-1,--v)}return o.revert(s)},e.prototype.modInverse=function(t){var r=t.isEven();if(this.isEven()&&r||0==t.signum())return e.ZERO;for(var n=t.clone(),o=this.clone(),i=l(1),s=l(0),a=l(0),u=l(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),r?(i.isEven()&&s.isEven()||(i.addTo(this,i),s.subTo(t,s)),i.rShiftTo(1,i)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;o.isEven();)o.rShiftTo(1,o),r?(a.isEven()&&u.isEven()||(a.addTo(this,a),u.subTo(t,u)),a.rShiftTo(1,a)):u.isEven()||u.subTo(t,u),u.rShiftTo(1,u);n.compareTo(o)>=0?(n.subTo(o,n),r&&i.subTo(a,i),s.subTo(u,s)):(o.subTo(n,o),r&&a.subTo(i,a),u.subTo(s,u))}return 0!=o.compareTo(e.ONE)?e.ZERO:u.compareTo(t)>=0?u.subtract(t):0>u.signum()?(u.addTo(t,u),0>u.signum()?u.add(t):u):u},e.prototype.pow=function(t){return this.exp(t,new b)},e.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(0>e.compareTo(r)){var n=e;e=r,r=n}var o=e.getLowestSetBit(),i=r.getLowestSetBit();if(i<0)return e;for(o<i&&(i=o),i>0&&(e.rShiftTo(i,e),r.rShiftTo(i,r));e.signum()>0;)(o=e.getLowestSetBit())>0&&e.rShiftTo(o,e),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),e.compareTo(r)>=0?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return i>0&&r.lShiftTo(i,r),r},e.prototype.isProbablePrime=function(t){var e,r=this.abs();if(1==r.t&&r[0]<=k[k.length-1]){for(e=0;e<k.length;++e)if(r[0]==k[e])return!0;return!1}if(r.isEven())return!1;for(e=1;e<k.length;){for(var n=k[e],o=e+1;o<k.length&&n<A;)n*=k[o++];for(n=r.modInt(n);e<o;)if(n%k[e++]==0)return!1}return r.millerRabin(t)},e.prototype.square=function(){var t=r();return this.squareTo(t),t},e.prototype.Barrett=_,null==T){if(T=[],S=0,"u">typeof window&&window.crypto){if(window.crypto.getRandomValues){var x=new Uint8Array(32);for(window.crypto.getRandomValues(x),n=0;n<32;++n)T[S++]=x[n]}else if("Netscape"==navigator.appName&&navigator.appVersion<"5"){var j=window.crypto.random(32);for(n=0;n<j.length;++n)T[S++]=255&j.charCodeAt(n)}}for(;S<I;)n=Math.floor(65536*Math.random()),T[S++]=n>>>8,T[S++]=255&n;S=0,E()}function D(){}function C(){this.i=0,this.j=0,this.S=[]}D.prototype.nextBytes=function(t){var e;for(e=0;e<t.length;++e)t[e]=function(){if(null==O){for(E(),(O=new C).init(T),S=0;S<T.length;++S)T[S]=0;S=0}return O.next()}()},C.prototype.init=function(t){var e,r,n;for(e=0;e<256;++e)this.S[e]=e;for(r=0,e=0;e<256;++e)n=this.S[e],this.S[e]=this.S[r=r+this.S[e]+t[e%t.length]&255],this.S[r]=n;this.i=0,this.j=0},C.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]};var I=256;t.exports={default:e,BigInteger:e,SecureRandom:D}}).call(rt)}),rc={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},rp={sha256:ri};function rl(t,e){if(this.n=null,this.e=0,!(null!=t&&null!=e&&t.length>0&&e.length>0))throw Error("Invalid key data");this.n=new ru.BigInteger(t,16),this.e=parseInt(e,16)}rl.prototype.verify=function(t,e){e=e.replace(/[^0-9a-f]|[\s\n]]/gi,"");var r=new ru.BigInteger(e,16);if(r.bitLength()>this.n.bitLength())throw Error("Signature does not match with the key modulus.");var n=function(t){for(var e in rc){var r=rc[e],n=r.length;if(t.substring(0,n)===r)return{alg:e,hash:t.substring(n)}}return[]}(r.modPowInt(this.e,this.n).toString(16).replace(/^1f+00/,""));if(0===n.length)return!1;if(!rp.hasOwnProperty(n.alg))throw Error("Hashing algorithm is not supported.");var o=rp[n.alg](t).toString();return n.hash===o};for(var rh=[],rf=[],rd="u">typeof Uint8Array?Uint8Array:Array,ry="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rm=0;rm<64;++rm)rh[rm]=ry[rm],rf[ry.charCodeAt(rm)]=rm;rf[45]=62,rf[95]=63;var rg=function(t){var e,r,n=function(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return -1===r&&(r=e),[r,r===e?0:4-r%4]}(t),o=n[0],i=n[1],s=new rd(3*(o+i)/4-i),a=0,u=i>0?o-4:o;for(r=0;r<u;r+=4)e=rf[t.charCodeAt(r)]<<18|rf[t.charCodeAt(r+1)]<<12|rf[t.charCodeAt(r+2)]<<6|rf[t.charCodeAt(r+3)],s[a++]=e>>16&255,s[a++]=e>>8&255,s[a++]=255&e;return 2===i&&(e=rf[t.charCodeAt(r)]<<2|rf[t.charCodeAt(r+1)]>>4,s[a++]=255&e),1===i&&(e=rf[t.charCodeAt(r)]<<10|rf[t.charCodeAt(r+1)]<<4|rf[t.charCodeAt(r+2)]>>2,s[a++]=e>>8&255,s[a++]=255&e),s};function rv(t){var e=t.length%4;return 0===e?t:t+Array(4-e+1).join("=")}function rb(t){return decodeURIComponent((function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e})(rg(t=rv(t).replace(/\-/g,"+").replace(/_/g,"/"))).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function rw(t){return function(t){for(var e="",r=0;r<t.length;r++){var n=t[r].toString(16);e+=2===n.length?n:"0"+n}return e}(rg(rv(t)))}var r_=re(function(t){var e;e=function(){return function(){return function(t){var e=[];if(0===t.length)return"";if("string"!=typeof t[0])throw TypeError("Url must be a string. Received "+t[0]);if(t[0].match(/^[^/:]+:\/*$/)&&t.length>1){var r=t.shift();t[0]=r+t[0]}t[0]=t[0].match(/^file:\/\/\//)?t[0].replace(/^([^/:]+):\/*/,"$1:///"):t[0].replace(/^([^/:]+):\/*/,"$1://");for(var n=0;n<t.length;n++){var o=t[n];if("string"!=typeof o)throw TypeError("Url must be a string. Received "+o);""!==o&&(n>0&&(o=o.replace(/^[\/]+/,"")),o=o.replace(/[\/]+$/,n<t.length-1?"":"/"),e.push(o))}var i=e.join("/"),s=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return s.shift()+(s.length>0?"?":"")+s.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},t.exports?t.exports=e():rt.urljoin=e()});function rO(t){if(t.ok)return t.json();var e=Error(t.statusText);return e.response=t,Promise.reject(e)}function rT(t){this.name="ConfigurationError",this.message=t||""}function rS(t){this.name="TokenValidationError",this.message=t||""}rT.prototype=Error.prototype,rS.prototype=Error.prototype;var rk=function(){function t(){}var e=t.prototype;return e.get=function(){return null},e.has=function(){return null},e.set=function(){return null},t}();rr.polyfill();var rA="RS256",rE=function(t){return"number"==typeof t},rx=function(){return new Date};function rj(t){var e=t||{};if(this.jwksCache=e.jwksCache||new rk,this.expectedAlg=e.expectedAlg||"RS256",this.issuer=e.issuer,this.audience=e.audience,this.leeway=0===e.leeway?0:e.leeway||60,this.jwksURI=e.jwksURI,this.maxAge=e.maxAge,this.__clock="function"==typeof e.__clock?e.__clock:rx,this.leeway<0||this.leeway>300)throw new rT("The leeway should be positive and lower than five minutes.");if(rA!==this.expectedAlg)throw new rT('Signature algorithm of "'+this.expectedAlg+'" is not supported. Expected the ID token to be signed with "'+rA+'".')}function rD(t,e){this.plugins=e;for(var r=0;r<this.plugins.length;r++){if(this.plugins[r].version!==ex.raw){var n="";throw this.plugins[r].constructor&&this.plugins[r].constructor.name&&(n=this.plugins[r].constructor.name),Error("Plugin "+n+" version ("+this.plugins[r].version+") is not compatible with the SDK version ("+ex.raw+")")}this.plugins[r].setWebAuth(t)}}rj.prototype.verify=function(t,e,r){if(!r&&e&&"function"==typeof e&&(r=e,e=void 0),!t)return r(new rS("ID token is required but missing"),null);var n=this.decode(t);if(n instanceof Error)return r(new rS("ID token could not be decoded"),null);var o=n.encoded.header+"."+n.encoded.payload,i=rw(n.encoded.signature),s=n.header.alg,a=n.header.kid,u=n.payload.aud,c=n.payload.sub,p=n.payload.iss,l=n.payload.exp,h=n.payload.nbf,f=n.payload.iat,d=n.payload.azp,y=n.payload.auth_time,m=n.payload.nonce,g=this.__clock(),v=this;if(v.expectedAlg!==s)return r(new rS('Signature algorithm of "'+s+'" is not supported. Expected the ID token to be signed with "'+rA+'".'),null);this.getRsaVerifier(p,a,function(t,s){if(t)return r(t,null);if(!s.verify(o,i))return r(new rS("Invalid ID token signature."),null);if(!p||"string"!=typeof p)return r(new rS("Issuer (iss) claim must be a string present in the ID token"),null);if(v.issuer!==p)return r(new rS('Issuer (iss) claim mismatch in the ID token, expected "'+v.issuer+'", found "'+p+'"'),null);if(!c||"string"!=typeof c)return r(new rS("Subject (sub) claim must be a string present in the ID token"),null);if(!u||"string"!=typeof u&&!Array.isArray(u))return r(new rS("Audience (aud) claim must be a string or array of str
1ings present in the ID token"),null);if(Array.isArray(u)&&!u.includes(v.audience))return r(new rS('Audience (aud) claim mismatch in the ID token; expected "'+v.audience+'" but was not one of "'+u.join(", ")+'"'),null);if("string"==typeof u&&v.audience!==u)return r(new rS('Audience (aud) claim mismatch in the ID token; expected "'+v.audience+'" but found "'+u+'"'),null);if(e){if(!m||"string"!=typeof m)return r(new rS("Nonce (nonce) claim must be a string present in the ID token"),null);if(m!==e)return r(new rS('Nonce (nonce) claim value mismatch in the ID token; expected "'+e+'", found "'+m+'"'),null)}if(Array.isArray(u)&&u.length>1){if(!d||"string"!=typeof d)return r(new rS("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values"),null);if(d!==v.audience)return r(new rS('Authorized Party (azp) claim mismatch in the ID token; expected "'+v.audience+'", found "'+d+'"'),null)}if(!l||!rE(l))return r(new rS("Expiration Time (exp) claim must be a number present in the ID token"),null);if(!f||!rE(f))return r(new rS("Issued At (iat) claim must be a number present in the ID token"),null);var a=l+v.leeway,b=new Date(0);if(b.setUTCSeconds(a),g>b)return r(new rS('Expiration Time (exp) claim error in the ID token; current time "'+g+'" is after expiration time "'+b+'"'),null);if(h&&rE(h)){var w=h-v.leeway,_=new Date(0);if(_.setUTCSeconds(w),g<_)return r(new rS('Not Before Time (nbf) claim error in the ID token; current time "'+g+'" is before the not before time "'+_+'"'),null)}if(v.maxAge){if(!y||!rE(y))return r(new rS("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified"),null);var O=y+v.maxAge+v.leeway,T=new Date(0);if(T.setUTCSeconds(O),g>T)return r(new rS('Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time "'+g+'" is after last auth time at "'+T+'"'),null)}return r(null,n.payload)})},rj.prototype.getRsaVerifier=function(t,e,r){var n=this,o=t+e;Promise.resolve(this.jwksCache.has(o)).then(function(r){var i;return r?n.jwksCache.get(o):("undefined"==fetch?function(t,e){return e=e||{},new Promise(function(r,n){var o=new XMLHttpRequest,i=[],s=[],a={},u=function(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:u,headers:{keys:function(){return i},entries:function(){return s},get:function(t){return a[t.toLowerCase()]},has:function(t){return t.toLowerCase()in a}}}};for(var c in o.open(e.method||"get",t,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(t,e,r){i.push(e=e.toLowerCase()),s.push([e,r]),a[e]=a[e]?a[e]+","+r:r}),r(u())},o.onerror=n,o.withCredentials="include"==e.credentials,e.headers)o.setRequestHeader(c,e.headers[c]);o.send(e.body||null)})}:fetch)((i={jwksURI:n.jwksURI,iss:t,kid:e}).jwksURI||r_(i.iss,".well-known","jwks.json")).then(rO).then(function(t){var e,r,n,o=null;for(e=0;e<t.keys.length&&null===o;e++)(r=t.keys[e]).kid===i.kid&&(o=r);if(!o)throw Error('Could not find a public key for Key ID (kid) "'+i.kid+'"');return{modulus:rw((n=o).n),exp:rw(n.e)}}).catch(function(t){throw t})}).then(function(t){if(!t||!t.modulus||!t.exp)throw Error("Empty keyInfo in response");return Promise.resolve(n.jwksCache.set(o,t)).then(function(){r&&r(null,new rl(t.modulus,t.exp))})}).catch(function(t){r&&r(t)})},rj.prototype.decode=function(t){var e,r,n=t.split(".");if(3!==n.length)return new rS("Cannot decode a malformed JWT");try{e=JSON.parse(rb(n[0])),r=JSON.parse(rb(n[1]))}catch(t){return new rS("Token header or payload is not valid JSON")}return{header:e,payload:r,encoded:{header:n[0],payload:n[1],signature:n[2]}}},rj.prototype.validateAccessToken=function(t,e,r,n){if(this.expectedAlg!==e)return n(new rS('Signature algorithm of "'+e+'" is not supported. Expected "'+this.expectedAlg+'"'));var o,i=ri(t),s=ra.stringify(i),a=s.substring(0,s.length/2),u=ra.parse(a);return n((o={"+":"-","/":"_","=":""},rs.stringify(u).replace(/[+/=]/g,function(t){return o[t]})!==r?new rS("Invalid access_token"):null))},rD.prototype.get=function(t){for(var e=0;e<this.plugins.length;e++)if(this.plugins[e].supports(t))return this.plugins[e].init();return null};var rC=function(t){if(!t||t<=0)return"";var e=e$().crypto||e$().msCrypto;if(!e)return null;for(var r=[];r.length<t;)for(var n=new Uint8Array(t-r.length),o=e.getRandomValues(n),i=0;i<o.length&&r.length<t;i++)o[i]<195&&r.push("0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz-._~"[o[i]%65]);return r.join("")},rI=1/96,rP=1/48;function rR(t){var e=t.transaction||{};this.namespace=e.namespace||"com.auth0.auth.",this.keyLength=e.keyLength||32,this.stateExpiration=t.stateExpiration?t.stateExpiration/60/24:rP,this.storage=new e2(t),this.options=t}function rq(t){if(this.url=t.url,this.callback=t.callback,this.timeout=t.timeout||6e4,this.timeoutCallback=t.timeoutCallback||null,this.eventListenerType=t.eventListenerType||"message",this.iframe=null,this.timeoutHandle=null,this._destroyTimeout=null,this.transientMessageEventListener=null,this.proxyEventListener=null,this.eventValidator=t.eventValidator||{isValid:function(){return!0}},"function"!=typeof this.callback)throw Error("options.callback must be a function")}function rU(t){this.webAuth=t,this.warn=new e0(t.baseOptions)}function rM(t,e){this.webAuth=t,this.baseOptions=e,this.request=new eV(e),this.webMessageHandler=new rU(t),this.storage=new e2(e)}function rL(t,e){return["co/verifier",encodeURIComponent(t),encodeURIComponent(e)].join("/")}function rB(t,e){this.webAuth=t,this.baseOptions=e,this.crossOriginAuthentication=new rM(t,this.baseOptions),this.warn=new e0({disableWarnings:!!e._disableDeprecationWarnings})}rR.prototype.process=function(t){if(!t.responseType)throw Error("responseType is required");var e=t.realm||t.connection,r=-1!==t.responseType.indexOf("id_token"),n=this.generateTransaction(t.appState,t.state,t.nonce,e,r,t.organization);return t.state||(t.state=n.state),r&&!t.nonce&&(t.nonce=n.nonce),t},rR.prototype.generateTransaction=function(t,e,r,n,o,i){if(e=e||rC(this.keyLength),r=r||(o?rC(this.keyLength):null),e$().location.host!==this.options.domain){var s={nonce:r,appState:t,state:e,lastUsedConnection:n};i&&(s.organization=i),this.storage.setItem(this.namespace+e,s,{expires:this.stateExpiration})}return{state:e,nonce:r}},rR.prototype.getStoredTransaction=function(t){var e;return e=this.storage.getItem(this.namespace+t),this.clearTransaction(t),e},rR.prototype.clearTransaction=function(t){this.storage.removeItem(this.namespace+t)},rq.prototype.init=function(){var t=this,e=e$();switch(this.iframe=e.document.createElement("iframe"),this.iframe.style.display="none",this.proxyEventListener=function(e){t.eventListener(e)},this.eventListenerType){case"message":this.eventSourceObject=e;break;case"load":this.eventSourceObject=this.iframe;break;default:throw Error("Unsupported event listener type: "+this.eventListenerType)}this.eventSourceObject.addEventListener(this.eventListenerType,this.proxyEventListener,!1),e.document.body.appendChild(this.iframe),this.iframe.src=this.url,this.timeoutHandle=setTimeout(function(){t.timeoutHandler()},this.timeout)},rq.prototype.eventListener=function(t){var e={event:t,sourceObject:this.eventSourceObject};this.eventValidator.isValid(e)&&(this.destroy(),this.callback(e))},rq.prototype.timeoutHandler=function(){this.destroy(),this.timeoutCallback&&this.timeoutCallback()},rq.prototype.destroy=function(){var t=this;clearTimeout(this.timeoutHandle),this._destroyTimeout=setTimeout(function(){t.eventSourceObject.removeEventListener(t.eventListenerType,t.proxyEventListener,!1),t.iframe.parentNode&&t.iframe.parentNode.removeChild(t.iframe)},0)},rU.prototype.run=function(t,e){var r,n,o=this;t.responseMode="web_message",t.prompt="none";var i=eK(),s=eF(t.redirectUri);if(s&&i!==s)return e({error:"origin_mismatch",error_description:"The redirectUri's origin ("+s+") should match the window's origin ("+i+")."});r=this.webAuth.client.buildAuthorizeUrl(t),n=function(r,n){var i=r;if(!r&&n.event.data.response.error&&(i=n.event.data.response),!i){var s=n.event.data.response;return o.webAuth.validateAuthenticationResponse(t,s,e)}return"consent_required"===i.error&&"localhost"===e$().location.hostname&&o.warn.warning("Consent Required. Consent can't be skipped on localhost. Read more here: https://auth0.com/docs/api-auth/user-consent#skipping-consent-for-first-party-clients"),o.webAuth.transactionManager.clearTransaction(i.state),e(eR(i,["error","error_description"]))},new rq({url:r,eventListenerType:"message",callback:function(t){n(null,t)},timeout:t.timeout,eventValidator:{isValid:function(e){return!(!e.event.data||"authorization_response"!==e.event.data.type||t.state!==e.event.data.response.state)}},timeoutCallback:function(){n({error:"timeout",error_description:"Timeout during executing web_message communication",state:t.state})}}).init()},rM.prototype.login=function(t,e){var r=this,n=l(this.baseOptions.rootUrl,"/co/authenticate");t.username=t.username||t.email,delete t.email;var o={client_id:t.clientID||this.baseOptions.clientID,username:t.username};t.password&&(o.password=t.password),t.otp&&(o.otp=t.otp);var i=t.realm||this.baseOptions.realm;if(i){var s=t.credentialType||this.baseOptions.credentialType||"http://auth0.com/oauth/grant-type/password-realm";o.realm=i,o.credential_type=s}else o.credential_type="password";this.request.post(n).withCredentials().send(o).end(function(n,o){if(n){var i=n.response&&n.response.body||{error:"request_error",error_description:JSON.stringify(n)};return e4(e,{forceLegacyError:!0})(i)}function s(){var n=!0===t.popup,i=eB(t=eL(t,["password","credentialType","otp","popup","onRedirecting"])).with({loginTicket:o.body.login_ticket}),s=rL(r.baseOptions.rootUrl,o.body.co_id);r.storage.setItem(s,o.body.co_verifier,{expires:rI}),n?r.webMessageHandler.run(i,e4(e,{forceLegacyError:!0})):r.webAuth.authorize(i)}"function"==typeof t.onRedirecting?t.onRedirecting(s):s()})},rM.prototype.callback=function(){var t=decodeURIComponent(function(t){var e=("&"+e$().location.hash.substring(1)).split("&"+t+"=");if(2===e.length)return e.pop().split("&").shift()}("origin")),e=e$(),r=this;e.addEventListener("message",function(t){if("co_verifier_request"===t.data.type){var e=rL(t.origin,t.data.request.id),n=function(t,e){try{var r=t.getItem(e);return t.removeItem(e),r||""}catch(t){return""}}
vendor: 4,171 bytes, line 1
1(r.storage,e);t.source.postMessage({type:"co_verifier_response",response:{verifier:n}},t.origin)}}),e.parent.postMessage({type:"ready"},t)},rB.prototype.loginWithCredentials=function(t,e){t.realm=t.realm||t.connection,delete t.connection,this.crossOriginAuthentication.login(t,e)},rB.prototype.signupAndLogin=function(t,e){var r=this;return this.webAuth.client.dbConnection.signup(t,function(n){return n?e(n):(t.realm=t.realm||t.connection,delete t.connection,r.webAuth.login(t,function(t,r){return t?(t.errorInfo={error_code:"login_error",message:"Your account was created successfully, but we could not log you in automatically. Please try logging in with your new credentials."},e(t)):e(null,r)}))})};var rN,rF={exports:{}},rH=o((rN||(rN=1,e=function(){var t="__winchan_relay_frame";function e(t,e,r){t.attachEvent?t.attachEvent("on"+e,r):t.addEventListener&&t.addEventListener(e,r,!1)}function r(t,e,r){t.detachEvent?t.detachEvent("on"+e,r):t.removeEventListener&&t.removeEventListener(e,r,!1)}function n(t){/^https?:\/\//.test(t)||(t=window.location.href);var e=/^(https?:\/\/[\-_a-zA-Z\.0-9:]+)/.exec(t);return e?e[1]:t}var o=function(){if("u"<typeof navigator)return!1;var t=-1,e=navigator.userAgent;return"Microsoft Internet Explorer"===navigator.appName?null!=RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1)):e.indexOf("Trident")>-1&&null!==RegExp("rv:([0-9]{2,2}[.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1)),t>=8}();return"u">typeof window&&window.JSON&&window.JSON.stringify&&window.JSON.parse&&window.postMessage?{open:function(i,s){if(!s)throw"missing required callback argument";i.url||(a="missing required 'url' parameter"),i.relay_url||(a="missing required 'relay_url' parameter"),a&&setTimeout(function(){s(a)},0),i.window_name||(i.window_name=null),i.window_features&&!function(){try{var t=navigator.userAgent;return -1!=t.indexOf("Fennec/")||-1!=t.indexOf("Firefox/")&&-1!=t.indexOf("Android")}catch(t){}return!1}()||(i.window_features=void 0);var a,u,c,p=i.origin||n(i.url);if(p!==n(i.relay_url))return setTimeout(function(){s("invalid arguments: origin of url and relay_url must match")},0);o&&((u=document.createElement("iframe")).setAttribute("src",i.relay_url),u.style.display="none",u.setAttribute("name",t),document.body.appendChild(u),c=u.contentWindow);var l=i.popup||window.open(i.url,i.window_name,i.window_features);i.popup&&(l.location.href=i.url),c||(c=l);var h=setInterval(function(){l&&l.closed&&(d(),s&&(s("User closed the popup window"),s=null))},500),f=JSON.stringify({a:"request",d:i.params});function d(){if(u&&document.body.removeChild(u),u=void 0,h&&(h=clearInterval(h)),r(window,"message",y),r(window,"unload",d),l)try{l.close()}catch(t){c.postMessage("die",p)}l=c=void 0}function y(t){if(t.origin===p){try{var e=JSON.parse(t.data)}catch(t){if(s)return s(t);throw t}"ready"===e.a?c.postMessage(f,p):"error"===e.a?(d(),s&&(s(e.d),s=null)):"response"===e.a&&(d(),s&&(s(null,e.d),s=null))}}return e(window,"unload",d),e(window,"message",y),{originalPopup:l,close:d,focus:function(){if(l)try{l.focus()}catch(t){}}}},onOpen:function(n){var i="*",s=o?function(){for(var e=window.opener.frames,r=e.length-1;r>=0;r--)try{if(e[r].location.protocol===window.location.protocol&&e[r].location.host===window.location.host&&e[r].name===t)return e[r]}catch(t){}}():window.opener;if(!s)throw"can't find relay frame";function a(t){t=JSON.stringify(t),o?s.doPost(t,i):s.postMessage(t,i)}function u(t){if("die"===t.data)try{window.close()}catch(t){}}e(o?s:window,"message",function t(e){var o;try{o=JSON.parse(e.data)}catch(t){}o&&"request"===o.a&&(r(window,"message",t),i=e.origin,n&&setTimeout(function(){n(i,o.d,function(t){n=void 0,a({a:"response",d:t})})},0))}),e(o?s:window,"message",u);try{a({a:"ready"})}catch(t){e(s,"load",function(t){a({a:"ready"})})}var c=function(){try{r(o?s:window,"message",u)}catch(t){}n&&a({a:"error",d:"client closed window"}),n=void 0;try{window.close()}catch(t){}};return e(window,"unload",c),{detach:function(){r(window,"unload",c)}}}}:{open:function(t,e,r,n){setTimeout(function(){n("unsupported browser")},0)},onOpen:function(t){setTimeout(function(){t("unsupported browser")},0)}}}
1(),rF.exports&&(rF.exports=e)),rF.exports)),rz=function(t){/^https?:\/\//.test(t)||(t=window.location.href);var e=/^(https?:\/\/[-_a-zA-Z.0-9:]+)/.exec(t);return e?e[1]:t};function rW(){this._current_popup=null}function rV(t,e){this.baseOptions=e,this.baseOptions.popupOrigin=e.popupOrigin,this.client=t.client,this.webAuth=t,this.transactionManager=new rR(this.baseOptions),this.crossOriginAuthentication=new rM(t,this.baseOptions),this.warn=new e0({disableWarnings:!!e._disableDeprecationWarnings})}function r$(t){this.authenticationUrl=t.authenticationUrl,this.timeout=t.timeout||6e4,this.handler=null,this.postMessageDataType=t.postMessageDataType||!1,this.postMessageOrigin=t.postMessageOrigin||e$().location.origin||e$().location.protocol+"//"+e$().location.hostname+(e$().location.port?":"+e$().location.port:"")}function rJ(t){this.baseOptions=t,this.request=new eV(t),this.transactionManager=new rR(this.baseOptions)}function rK(t,e){this.baseOptions=e,this.client=t,this.baseOptions.universalLoginPage=!0,this.request=new eV(this.baseOptions),this.warn=new e0({disableWarnings:!!e._disableDeprecationWarnings})}rW.prototype.calculatePosition=function(t){var e=t.width||500,r=t.height||600,n=e$(),o=void 0!==n.screenX?n.screenX:n.screenLeft,i=void 0!==n.screenY?n.screenY:n.screenTop,s=void 0!==n.outerWidth?n.outerWidth:n.document.body.clientWidth,a=void 0!==n.outerHeight?n.outerHeight:n.document.body.clientHeight;return{width:e,height:r,left:t.left||o+(s-e)/2,top:t.top||i+(a-r)/2}},rW.prototype.preload=function(t){var e=this,r=e$(),n=eB(this.calculatePosition(t.popupOptions||{})).with(t.popupOptions),o=t.url||"about:blank",i=et.stringify(n,{encode:!1,delimiter:","});return this._current_popup&&!this._current_popup.closed||(this._current_popup=r.open(o,"auth0_signup_popup",i),this._current_popup.kill=function(){this.close(),e._current_popup=null}),this._current_popup},rW.prototype.load=function(t,e,r,n){var o=this,i=eB(this.calculatePosition(r.popupOptions||{})).with(r.popupOptions),s=eB({url:t,relay_url:e,window_features:et.stringify(i,{delimiter:",",encode:!1}),popup:this._current_popup}).with(r),a=rH.open(s,function(t,e){if(!t||"SyntaxError"!==t.name)return o._current_popup=null,n(t,e)});return a.focus(),a},rV.prototype.buildPopupHandler=function(){var t=this.baseOptions.plugins.get("popup.getPopupHandler");return t?t.getPopupHandler():new rW},rV.prototype.preload=function(t){t=t||{};var e=this.buildPopupHandler();return e.preload(t),e},rV.prototype.getPopupHandler=function(t,e){return t.popupHandler?t.popupHandler:e?this.preload(t):this.buildPopupHandler()},rV.prototype.callback=function(t){var e=this,r=e$(),n=(t=t||{}).popupOrigin||this.baseOptions.popupOrigin||eK();
1r.opener?rH.onOpen(function(r,o,i){if(r!==n)return i({error:"origin_mismatch",error_description:"The popup's origin ("+r+") should match the `popupOrigin` parameter ("+n+")."});e.webAuth.parseHash(t||{},function(t,e){return i(t||e)})}):r.doPost=function(t){r.parent&&r.parent.postMessage(t,n)}},rV.prototype.authorize=function(t,e){var r,n,o={},i=this.baseOptions.plugins.get("popup.authorize"),s=eB(this.baseOptions,["clientID","scope","domain","audience","tenant","responseType","redirectUri","_csrf","state","_intstate","nonce","organization","invitation"]).with(eL(t,["popupHandler"]));return eP.check(s,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),n=l(this.baseOptions.rootUrl,"relay.html"),t.owp?s.owp=!0:(o.origin=rz(s.redirectUri),n=s.redirectUri),t.popupOptions&&(o.popupOptions=eR(t.popupOptions,["width","height","top","left"])),i&&(s=i.processParams(s)),(s=this.transactionManager.process(s)).scope=s.scope||"openid profile email",delete s.domain,r=this.client.buildAuthorizeUrl(s),this.getPopupHandler(t).load(r,n,o,e4(e,{keepOriginalCasing:!0}))},rV.prototype.loginWithCredentials=function(t,e){t.realm=t.realm||t.connection,t.popup=!0,t=eB(this.baseOptions,["redirectUri","responseType","state","nonce","timeout"]).with(eL(t,["popupHandler","connection"])),t=this.transactionManager.process(t),this.crossOriginAuthentication.login(t,e)},rV.prototype.passwordlessVerify=function(t,e){var r=this;return this.client.passwordless.verify(eL(t,["popupHandler"]),function(n){if(n)return e(n);t.username=t.phoneNumber||t.email,t.password=t.verificationCode,delete t.email,delete t.phoneNumber,delete t.verificationCode,delete t.type,r.client.loginWithResourceOwner(t,e)})},rV.prototype.signupAndLogin=function(t,e){var r=this;return this.client.dbConnection.signup(t,function(n){if(n)return e(n);r.loginWithCredentials(t,function(t,r){return t?(t.errorInfo={error_code:"login_error",message:"Your account was created successfully, but we could not log you in automatically. Please try logging in with your new credentials."},e(t)):e(null,r)})})},r$.create=function(t){return new r$(t)},r$.prototype.login=function(t,e){this.handler=new rq({auth0:this.auth0,url:this.authenticationUrl,eventListenerType:t?"message":"load",callback:this.getCallbackHandler(e,t),timeout:this.timeout,eventValidator:this.getEventValidator(),timeoutCallback:function(){e(null,"#error=timeout&error_description=Timeout+during+authentication+renew.")}}),this.handler.init()},r$.prototype.getEventValidator=function(){var t=this;return{isValid:function(e){switch(e.event.type){case"message":return e.event.origin===t.postMessageOrigin&&e.event.source===t.handler.iframe.contentWindow&&(!1===t.postMessageDataType||e.event.data.type&&e.event.data.type===t.postMessageDataType);case"load":if("about:"===e.sourceObject.contentWindow.location.protocol)return!1;default:return!0}}}},r$.prototype.getCallbackHandler=function(t,e){return function(r){t(null,e?"object"===ei(r.event.data)&&r.event.data.hash?r.event.data.hash:r.event.data:r.sourceObject.contentWindow.location.hash)}},rJ.prototype.login=function(t,e){var r,n;return r=l(this.baseOptions.rootUrl,"usernamepassword","login"),t.username=t.username||t.email,t=eL(t,["email","onRedirecting"]),n=eB(this.baseOptions,["clientID","redirectUri","tenant","responseType","responseMode","scope","audience"]).with(t),n=eM(n=this.transactionManager.process(n),["auth0Client"]),this.request.post(r).send(n).end(e4(e))},rJ.prototype.callback=function(t){var e,r=e$().document;(e=r.createElement("div")).innerHTML=t,r.body.appendChild(e).children[0].submit()},rK.prototype.login=function(t,e){if(e$().location.host!==this.baseOptions.domain)throw Error("This method is meant to be used only inside the Universal Login Page.");var r,n=eB(this.baseOptions,["clientID","redirectUri","tenant","responseType","responseMode","scope","audience","_csrf","state","_intstate","nonce"]).with(t);return eP.check(n,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),(r=new rJ(this.baseOptions)).login(n,function(n,o){if(n)return e(n);function i(){r.callback(o)}if("function"==typeof t.onRedirecting)return t.onRedirecting(function(){i()});i()})},rK.prototype.signupAndLogin=function(t,e){var r=this;return r.client.client.dbConnection.signup(t,function(n){return n?e(n):r.login(t,function(t,r){return t?(t.errorInfo={error_code:"login_error",message:"Your account was created successfully, but we could not log you in automatically. Please try logging in with your new credentials."},e(t)):e(null,r)}
1)})},rK.prototype.getSSOData=function(t,e){var r,n="";return"function"==typeof t&&(e=t,t=!1),eP.check(t,{type:"boolean",message:"withActiveDirectories parameter is not valid"}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),t&&(n="?"+et.stringify({ldaps:1,client_id:this.baseOptions.clientID})),r=l(this.baseOptions.rootUrl,"user","ssodata",n),this.request.get(r,{noHeaders:!0}).withCredentials().end(e4(e))};var rG=function(){},rQ=rG,rZ=rG,rX=!1,rY={DEFAULT:"default",SIGNUP:"signup",PASSWORDLESS:"passwordless",PASSWORD_RESET:"password_reset"},r0="recaptcha_v2",r1="recaptcha_enterprise",r2="hcaptcha",r3="friendly_captcha",r5="arkose",r6="auth0_v2",r4={lang:"en",appearance:"always",successCallback:rG,templates:{auth0:function(t){return'<div class="captcha-challenge">\n  <img src="" />\n  <button type="button" class="captcha-reload">↺</button>\n</div>\n<input type="text" name="captcha"\n  class="form-control captcha-control"\n  placeholder="'+("code"===t.type?"Enter the code shown above":"Solve the formula shown above")+'" />'},recaptcha_v2:function(){return'<div class="recaptcha" ></div><input type="hidden" name="captcha" />'},recaptcha_enterprise:function(){return'<div class="recaptcha" ></div><input type="hidden" name="captcha" />'},hcaptcha:function(){return'<div class="hcaptcha" ></div><input type="hidden" name="captcha" />'},friendly_captcha:function(){return'<div class="friendly-captcha" ></div><input type="hidden" name="captcha" />'},arkose:function(){return'<div class="arkose" ></div><input type="hidden" name="captcha" />'},auth0_v2:function(){return'<div class="auth0_v2" ></div><input type="hidden" name="captcha" />'},error:function(){return'<div class="error" style="color: red;">Error getting the bot detection challenge. Please contact the system administrator.</div>'}}};function r8(t){switch(t){case r0:return window.grecaptcha;case r1:return window.grecaptcha.enterprise;case r2:return window.hcaptcha;case r3:return window.friendlyChallenge;case r5:return window.arkose;case r6:return window.turnstile;default:throw Error("Unknown captcha provider")}}function r9(t,e){var r=window.document.createElement("script");for(var n in e)n.startsWith("data-")?r.dataset[n.replace("data-","")]=e[n]:r[n]=e[n];r.src=t,window.document.body.appendChild(r)}function r7(t){window.document.querySelectorAll('script[src="'+t+'"]').forEach(function(t){t.remove()})}var nt=function(t,e,r,n,o){function i(o){function s(t,e){var o,s,a,u;return t?(r.innerHTML=n.templates.error(t),rZ(t)):null!=e&&e.required?(r.style.display="",void("auth0"===e.provider?(o=n,s=Object.assign({},e,{image:String(e.image||"").replace(/&/g,"&amp;").replace(/"/g,"&quot;")}),r.innerHTML=o.templates[e.provider](s),(a=r.querySelector(".captcha-challenge img"))&&a.setAttribute("src",e.image||""),(u=r.querySelector(".captcha-reload"))&&u.addEventListener("click",function(t){t.preventDefault(),i()}),rZ()):e.provider!==r0&&e.provider!==r1&&e.provider!==r2&&e.provider!==r3&&e.provider!==r5&&e.provider!==r6||function(t,e,r){var n,o=t.hasAttribute("data-wid")&&t.getAttribute("data-wid");function i(e){t.querySelector('input[name="captcha"]').value=e||""}if(r.provider===r3&&window.auth0FCInstance)return i(),window.auth0FCInstance.reset();if(r.provider===r5&&r8(r.provider))return i(),r8(r.provider).reset();if(o)return i(),r8(r.provider).reset(o);switch(t.innerHTML=e.templates[r.provider](r),r.provider){case r1:case r0:n=".recaptcha";break;case r2:n=".hcaptcha";break;case r3:n=".friendly-captcha";break;case r5:n=".arkose";break;case r6:n=".auth0_v2"}var s=t.querySelector(n);!function(t,e,r){var n=t.provider+"Callback_"+Math.floor(1000001*Math.random()),o={async:!0,defer:!0},i=function(t,e,r,n,o){switch(t){case r0:return"https://www.recaptcha.net/recaptcha/api.js?hl="+e+"&onload="+r;case r1:return"https://www.recaptcha.net/recaptcha/enterprise.js?render=explicit&hl="+e+"&onload="+r;case r2:return"https://js.hcaptcha.com/1/api.js?hl="+e+"&onload="+r;case r3:return"https://cdn.jsdelivr.net/npm/[email protected]/widget.min.js";case r5:return"https://"+n+".arkoselabs.com/v2/"+o+"/api.js";case r6:return"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload="+r;default:throw Error("Unknown captcha provider")}}(t.provider,t.lang,n,t.clientSubdomain,t.siteKey);if(t.provider===r5||t.provider===r6){var s=0;o["data-callback"]=n,o.onerror=function(){s<3?(r7(i),r9(i,o),s++):(r7(i),rZ(Error(t.provider+" failed to load")),r("BYPASS_CAPTCHA"))},window[n]=function(t){window.arkose=t,e(t)}}else window[n]=function(){delete window[n],e()},t.provider===r3&&(o.onload=window[n]);r9(i,o)}({lang:e.lang,provider:r.provider,clientSubdomain:r.clientSubdomain,siteKey:r.siteKey},function(n){var a=r8(r.provider);if(r.provider===r5){var u=0,c=!1;n.setConfig({onReady:function(){c&&!rX||(rZ(null,{triggerCaptcha:function(t){n.run(),rQ=t}}),rX&&(rX=!1),c=!0)},onCompleted:function(t){i(t.token),rQ()},onError:function(t){u<3?(i(),n.reset(),setTimeout(function(){n.run()},500),u++):(c||(rZ(Error(t.error.error)),c=!0),i("BYPASS_CAPTCHA"))}})}else if(r.provider===r3)window.auth0FCInstance=new a.WidgetInstance(s,{sitekey:r.siteKey,language:e.lang,doneCallback:function(t){i(t)},errorCallback:function(){i()}}),rZ();else{var p={callback:function(t){i(t),r.provider===r6&&e.successCallback()},"expired-callback":function(){i()},"error-callback":function(){i()},sitekey:r.siteKey};r.provider===r6&&(u=0,p.language=e.lang,p.appearance=e.appearance,p.theme="light",p.retry="never",p["response-field"]=!1,p["error-callback"]=function(){return u<3?(i(),r8(r.provider).reset(o),u++):i("BYPASS_CAPTCHA"),!0}),o=a.render(s,p),t.setAttribute("data-wid",o),rZ()}},i)}(r,n,e))):(r.style.display="none",r.innerHTML="",rZ())}rZ=o||rG,e===rY.PASSWORDLESS?t.passwordless.getChallenge(s):e===rY.PASSWORD_RESET?t.dbConnection.getPasswordResetChallenge(s):e===rY.SIGNUP?t.dbConnection.getSignupChallenge(s):t.getChallenge(s)}return n=eB(r4).with(n||{}),i(o),{reload:function(t){rX=!0,i(t)},getValue:function(){var t=r.querySelector('input[name="captcha"]');if(t)return t.value}}};function ne(){return new Date}function nr(t){eP.check(t,{type:"object",message:"options parameter is not val
1id"},{domain:{type:"string",message:"domain option is required"},clientID:{type:"string",message:"clientID option is required"},responseType:{optional:!0,type:"string",message:"responseType is not valid"},responseMode:{optional:!0,type:"string",message:"responseMode is not valid"},redirectUri:{optional:!0,type:"string",message:"redirectUri is not valid"},scope:{optional:!0,type:"string",message:"scope is not valid"},audience:{optional:!0,type:"string",message:"audience is not valid"},popupOrigin:{optional:!0,type:"string",message:"popupOrigin is not valid"},leeway:{optional:!0,type:"number",message:"leeway is not valid"},plugins:{optional:!0,type:"array",message:"plugins is not valid"},maxAge:{optional:!0,type:"number",message:"maxAge is not valid"},stateExpiration:{optional:!0,type:"number",message:"stateExpiration is not valid"},legacySameSiteCookie:{optional:!0,type:"boolean",message:"legacySameSiteCookie option is not valid"},_disableDeprecationWarnings:{optional:!0,type:"boolean",message:"_disableDeprecationWarnings option is not valid"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"},_timesToRetryFailedRequests:{optional:!0,type:"number",message:"_timesToRetryFailedRequests option is not valid"}}),t.overrides&&eP.check(t.overrides,{type:"object",message:"overrides option is not valid"},{__tenant:{optional:!0,type:"string",message:"__tenant option is required"},__token_issuer:{optional:!0,type:"string",message:"__token_issuer option is required"},__jwks_uri:{optional:!0,type:"string",message:"__jwks_uri is required"}}),this.baseOptions=t,this.baseOptions.plugins=new rD(this,this.baseOptions.plugins||[]),this.baseOptions._sendTelemetry=!1!==this.baseOptions._sendTelemetry||this.baseOptions._sendTelemetry,this.baseOptions._timesToRetryFailedRequests=t._timesToRetryFailedRequests?parseInt(t._timesToRetryFailedRequests):0,this.baseOptions.tenant=this.baseOptions.overrides&&this.baseOptions.overrides.__tenant||this.baseOptions.domain.split(".")[0],this.baseOptions.token_issuer=this.baseOptions.overrides&&this.baseOptions.overrides.__token_issuer||"https://"+this.baseOptions.domain+"/",this.baseOptions.jwksURI=this.baseOptions.overrides&&this.baseOptions.overrides.__jwks_uri,!1!==t.legacySameSiteCookie&&(this.baseOptions.legacySameSiteCookie=!0),this.transactionManager=new rR(this.baseOptions),this.client=new ni(this.baseOptions),this.redirect=new rB(this,this.baseOptions),this.popup=new rV(this,this.baseOptions),this.crossOriginAuthentication=new rM(this,this.baseOptions),this.webMessageHandler=new rU(this),this._universalLogin=new rK(this,this.baseOptions),this.ssodataStorage=new e3(this.baseOptions)}function nn(t,e){this.baseOptions=e,this.request=t}function no(t,e){this.baseOptions=e,this.request=t}function ni(t,e){2==arguments.length?this.auth0=t:e=t,eP.check(e,{type:"object",message:"options parameter is not valid"},{domain:{type:"string",message:"domain option is required"},clientID:{type:"string",message:"clientID option is required"},responseType:{optional:!0,type:"string",message:"responseType is not valid"},responseMode:{optional:!0,type:"string",message:"responseMode is not valid"},redirectUri:{optional:!0,type:"string",message:"redirectUri is not valid"},scope:{optional:!0,type:"string",message:"scope is not valid"},audience:{optional:!0,type:"string",message:"audience is not valid"},_disableDeprecationWarnings:{optional:!0,type:"boolean",message:"_disableDeprecationWarnings option is not valid"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"}}),this.baseOptions=e,this.baseOptions._sendTelemetry=!1!==this.baseOptions._sendTelemetry||this.baseOptions._sendTelemetry,this.baseOptions.rootUrl=this.baseOptions.domain&&0===this.baseOptions.domain.toLowerCase().indexOf("http")?this.baseOptions.domain:"https://"+this.baseOptions.domain,this.request=new eV(this.baseOptions),this.passwordless=new nn(this.request,this.baseOptions),this.dbConnection=new no(this.request,this.baseOptions),this.warn=new e0({disableWarnings:!!e._disableDeprecationWarnings}),this.ssodataStorage=new e3(this.baseOptions)}function ns(t){eP.check(t,{type:"object",message:"options parameter is not val
1id"},{domain:{type:"string",message:"domain option is required"},token:{type:"string",message:"token option is required"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"}}),this.baseOptions=t,this.baseOptions.headers={Authorization:"Bearer "+this.baseOptions.token},this.request=new eV(this.baseOptions),this.baseOptions.rootUrl=l("https://"+this.baseOptions.domain,"api","v2")}nr.prototype.parseHash=function(t,e){e||"function"!=typeof t?t=t||{}:(e=t,t={});var r,n,o=void 0===t.hash?e$().location.hash:t.hash;if(o=o.replace(/^#?\/?/,""),(r=et.parse(o)).hasOwnProperty("error"))return n=e5(r.error,r.error_description),r.state&&(n.state=r.state),e(n);if(!r.hasOwnProperty("access_token")&&!r.hasOwnProperty("id_token")&&!r.hasOwnProperty("refresh_token"))return e(null,null);var i=(this.baseOptions.responseType||t.responseType||"").split(" ");return i.length>0&&-1!==i.indexOf("token")&&!r.hasOwnProperty("access_token")?e(e5("invalid_hash","response_type contains `token`, but the parsed hash does not contain an `access_token` property")):i.length>0&&-1!==i.indexOf("id_token")&&!r.hasOwnProperty("id_token")?e(e5("invalid_hash","response_type contains `id_token`, but the parsed hash does not contain an `id_token` property")):this.validateAuthenticationResponse(t,r,e)},nr.prototype.validateAuthenticationResponse=function(t,e,r){var n=this;t.__enableIdPInitiatedLogin=t.__enableIdPInitiatedLogin||t.__enableImpersonation;var o=e.state,i=this.transactionManager.getStoredTransaction(o),s=t.state||i&&i.state||null,a=s===o;if(!(!o&&!s&&t.__enableIdPInitiatedLogin)&&!a)return r({error:"invalid_token",errorDescription:"`state` does not match."});var u=t.nonce||i&&i.nonce||null,c=i&&i.organization,p=t.state||i&&i.appState||null,l=function(t,o){var s;return t?r(t):(i&&i.lastUsedConnection&&(o&&(s=o.sub),n.ssodataStorage.set(i.lastUsedConnection,s)),r(null,{accessToken:e.access_token||null,idToken:e.id_token||null,idTokenPayload:o||null,appState:p||null,refreshToken:e.refresh_token||null,state:e.state||null,expiresIn:e.expires_in?parseInt(e.expires_in,10):null,tokenType:e.token_type||null,scope:e.scope||null}))};return e.id_token?this.validateToken(e.id_token,u,function(t,r){if(!t){if(c)if(0===c.indexOf("org_")){if(!r.org_id)return l(e6("Organization Id (org_id) claim must be a string present in the ID token"));if(r.org_id!==c)return l(e6('Organization Id (org_id) claim value mismatch in the ID token; expected "'+c+'", found "'+r.org_id+'"'))}else{if(!r.org_name)return l(e6("Organization Name (org_name) claim must be a string present in the ID token"));if(r.org_name!==c.toLowerCase())return l(e6('Organization Name (org_name) claim value mismatch in the ID token; expected "'+c+'", found "'+r.org_name+'"'))}return e.access_token&&r.at_hash?(new rj).validateAccessToken(e.access_token,"RS256",r.at_hash,function(t){return t?l(e6(t.message)):l(null,r)}):l(null,r)}return l(t)}):l(null,null)},nr.prototype.validateToken=function(t,e,r){new rj({issuer:this.baseOptions.token_issuer,jwksURI:this.baseOptions.jwksURI,audience:this.baseOptions.clientID,leeway:this.baseOptions.leeway||60,maxAge:this.baseOptions.maxAge,__clock:this.baseOptions.__clock||ne}).verify(t,e,function(t,e){if(t)return r(e6(t.message));r(null,e)})},nr.prototype.renewAuth=function(t,e){var r=!!t.usePostMessage,n=t.postMessageDataType||!1,o=t.postMessageOrigin||e$().origin,i=t.timeout,s=this,a=eB(this.baseOptions,["clientID","redirectUri","responseType","scope","audience","_csrf","state","_intstate","nonce"]).with(t);a.responseType=a.responseType||"token",a.responseMode=a.responseMode||"fragment",a=this.transactionManager.process(a),eP.check(a,{type:"object",message:"options parameter is not valid"}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),a.prompt="none",a=eL(a,["usePostMessage","tenant","postMessageDataType","postMessageOrigin"]),r$.create({authenticationUrl:this.client.buildAuthorizeUrl(a),postMessageDataType:n,postMessageOrigin:o,timeout:i}).login(r,function(t,r){if("object"===ei(r))return e(t,r);s.parseHash({hash:r},e)})},nr.prototype.checkSession=function(t,e){var r=eB(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce"]).with(t);return"code"===r.responseType?e({error:"error",error_description:"responseType can't be `code`"}):(t.nonce||(r=this.transactionManager.process(r)),r.redirectUri?(eP.check(r,{type:"object",message:"options parameter is not val
1id"}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),r=eL(r,["usePostMessage","tenant","postMessageDataType"]),void this.webMessageHandler.run(r,e4(e,{forceLegacyError:!0,ignoreCasing:!0}))):e({error:"error",error_description:"redirectUri can't be empty"}))},nr.prototype.changePassword=function(t,e){return this.client.dbConnection.changePassword(t,e)},nr.prototype.passwordlessStart=function(t,e){var r=eB(this.baseOptions,["responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce"]).with(t.authParams);return t.authParams=this.transactionManager.process(r),this.client.passwordless.start(t,e)},nr.prototype.signup=function(t,e){return this.client.dbConnection.signup(t,e)},nr.prototype.authorize=function(t){var e=eB(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce","organization","invitation"]).with(t);eP.check(e,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),(e=this.transactionManager.process(e)).scope=e.scope||"openid profile email",eJ(this.client.buildAuthorizeUrl(e))},nr.prototype.signupAndAuthorize=function(t,e){var r=this;return this.client.dbConnection.signup(eL(t,["popupHandler"]),function(n){if(n)return e(n);t.realm=t.connection,t.username||(t.username=t.email),r.client.login(t,e)})},nr.prototype.login=function(t,e){var r=eB(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting","organization","invitation"]).with(t);r=this.transactionManager.process(r),e$().location.host===this.baseOptions.domain?(r.connection=r.realm,delete r.realm,this._universalLogin.login(r,e)):this.crossOriginAuthentication.login(r,e)},nr.prototype.passwordlessLogin=function(t,e){var r=eB(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting"]).with(t);if(r=this.transactionManager.process(r),e$().location.host===this.baseOptions.domain)this.passwordlessVerify(r,e);else{var n=eq({credentialType:"http://auth0.com/oauth/grant-type/passwordless/otp",realm:r.connection,username:r.email||r.phoneNumber,otp:r.verificationCode},eL(r,["connection","email","phoneNumber","verificationCode"]));this.crossOriginAuthentication.login(n,e)}},nr.prototype.crossOriginAuthenticationCallback=function(){this.crossOriginVerification()},nr.prototype.crossOriginVerification=function(){this.crossOriginAuthentication.callback()},nr.prototype.logout=function(t){eJ(this.client.buildLogoutUrl(t))},nr.prototype.passwordlessVerify=function(t,e){var r=this,n=eB(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting"]).with(t);return eP.check(n,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),n=this.transactionManager.process(n),this.client.passwordless.verify(n,function(o){if(o)return e(o);function i(){eJ(r.client.passwordless.buildVerifyUrl(n))}if("function"==typeof t.onRedirecting)return t.onRedirecting(function(){i()});i()})},nr.prototype.renderCaptcha=function(t,e,r){return nt(this.client,rY.DEFAULT,t,e,r)},nr.prototype.renderSignupCaptcha=function(t,e,r){return nt(this.client,rY.SIGNUP,t,e,r)},nr.prototype.renderPasswordlessCaptcha=function(t,e,r){return nt(this.client,rY.PASSWORDLESS,t,e,r)},nr.prototype.renderPasswordResetCaptcha=function(t,e,r){return nt(this.client,rY.PASSWORD_RESET,t,e,r)},nr.prototype.customTokenExchange=function(t,e){return this.client.customTokenExchange(t,e)},nn.prototype.buildVerifyUrl=function(t){var e,r;return eP.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(t){return!t.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(t){return!t.phoneNumber}}}),e=eB(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","protocol","nonce"]).with(t),this.baseOptions._sendTelemetry&&(e.auth0Client=this.request.getTelemetryData()),e=eM(e,["auth0Client"]),r=et.stringify(e),l(this.baseOptions.rootUrl,"passwordless","verify_redirect","?"+r)},nn.prototype.start=function(t,e){eP.check(t,{type:"object",message:"options parameter is not val
1id"},{connection:{type:"string",message:"connection option is required"},send:{type:"string",message:"send option is required",values:["link","code"],value_message:"send is not valid ([link, code])"},phoneNumber:{optional:!0,type:"string",message:"phoneNumber option is required",condition:function(t){return"code"===t.send||!t.email}},email:{optional:!0,type:"string",message:"email option is required",condition:function(t){return"link"===t.send||!t.phoneNumber}},authParams:{optional:!0,type:"object",message:"authParams option is required"}}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),r=l(this.baseOptions.rootUrl,"passwordless","start");var r,n,o=t.xRequestLanguage;return delete t.xRequestLanguage,(n=eB(this.baseOptions,["clientID","responseType","redirectUri","scope"]).with(t)).scope&&(n.authParams=n.authParams||{},n.authParams.scope=n.authParams.scope||n.scope),n.redirectUri&&(n.authParams=n.authParams||{},n.authParams.redirect_uri=n.authParams.redirectUri||n.redirectUri),n.responseType&&(n.authParams=n.authParams||{},n.authParams.response_type=n.authParams.responseType||n.responseType),delete n.redirectUri,delete n.responseType,delete n.scope,n=eM(n,["auth0Client","authParams"]),this.request.post(r,o?{xRequestLanguage:o}:void 0).send(n).end(e4(e))},nn.prototype.verify=function(t,e){var r,n;return eP.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(t){return!t.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(t){return!t.phoneNumber}}}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),n=eM(n=eR(t,["connection","verificationCode","phoneNumber","email","auth0Client","clientID"]),["auth0Client"]),r=l(this.baseOptions.rootUrl,"passwordless","verify"),this.request.post(r).send(n).end(e4(e))},nn.prototype.getChallenge=function(t){if(eP.check(t,{type:"function",message:"cb parameter is not valid"}),!this.baseOptions.state)return t();var e=l(this.baseOptions.rootUrl,"passwordless","challenge");return this.request.post(e).send({state:this.baseOptions.state}).end(e4(t,{ignoreCasing:!0}))},no.prototype.signup=function(t,e){var r,n,o;return eP.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"},password:{type:"string",message:"password option is required"}}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),r=l(this.baseOptions.rootUrl,"dbconnections","signup"),o=(n=eB(this.baseOptions,["clientID","state"]).with(t)).user_metadata||n.userMetadata,n=eM(n=eL(n,["scope","userMetadata","user_metadata"]),["auth0Client"]),o&&(n.user_metadata=o),this.request.post(r).send(n).end(e4(e))},no.prototype.changePassword=function(t,e){var r,n;return eP.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"}}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),r=l(this.baseOptions.rootUrl,"dbconnections","change_password"),n=eM(n=eB(this.baseOptions,["clientID","state"]).with(t,["email","connection","captcha"]),["auth0Client"]),this.request.post(r).send(n).end(e4(e))},no.prototype.getPasswordResetChallenge=function(t){if(eP.check(t,{type:"function",message:"cb parameter is not valid"}),!this.baseOptions.state)return t();var e=l(this.baseOptions.rootUrl,"dbconnections","change_password","challenge");return this.request.post(e).send({state:this.baseOptions.state}).end(e4(t,{ignoreCasing:!0}))},no.prototype.getSignupChallenge=function(t){if(eP.check(t,{type:"function",message:"cb parameter is not valid"}),!this.baseOptions.state)return t();var e=l(this.baseOptions.rootUrl,"dbconnections","signup","challenge");return this.request.post(e).send({state:this.baseOptions.state}).end(e4(t,{ignoreCasing:!0}))},ni.prototype.buildAuthorizeUrl=function(t){var e,r;return eP.check(t,{type:"object",message:"options parameter is not val
1id"}),e=eB(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience"]).with(t),eP.check(e,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},redirectUri:{optional:!0,type:"string",message:"redirectUri option is required"},responseType:{type:"string",message:"responseType option is required"},nonce:{type:"string",message:"nonce option is required",condition:function(t){return -1===t.responseType.indexOf("code")&&-1!==t.responseType.indexOf("id_token")}},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),this.baseOptions._sendTelemetry&&(e.auth0Client=this.request.getTelemetryData()),e.connection_scope&&eP.isArray(e.connection_scope)&&(e.connection_scope=e.connection_scope.join(",")),e=eM(e=eL(e,["username","popupOptions","domain","tenant","timeout","appState"]),["auth0Client"]),e=e7(this.warn,e),r=et.stringify(e),l(this.baseOptions.rootUrl,"authorize","?"+r)},ni.prototype.buildLogoutUrl=function(t){var e,r;return eP.check(t,{optional:!0,type:"object",message:"options parameter is not valid"}),e=eB(this.baseOptions,["clientID"]).with(t||{}),this.baseOptions._sendTelemetry&&(e.auth0Client=this.request.getTelemetryData()),e=eM(e,["auth0Client","returnTo"]),r=et.stringify(eL(e,["federated"])),t&&void 0!==t.federated&&!1!==t.federated&&"false"!==t.federated&&(r+="&federated"),l(this.baseOptions.rootUrl,"v2","logout","?"+r)},ni.prototype.loginWithDefaultDirectory=function(t,e){return eP.check(t,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),t.grantType="password",this.oauthToken(t,e)},ni.prototype.login=function(t,e){return eP.check(t,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},realm:{type:"string",message:"realm option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),t.grantType="http://auth0.com/oauth/grant-type/password-realm",this.oauthToken(t,e)},ni.prototype.oauthToken=function(t,e){var r,n,o,i;return eP.check(t,{type:"object",message:"options parameter is not valid"}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),r=l(this.baseOptions.rootUrl,"oauth","token"),n=eB(this.baseOptions,["clientID","scope","audience"]).with(t),eP.check(n,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},grantType:{type:"string",message:"grantType option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),n=eM(n,["auth0Client"]),o=this.warn,n="urn:ietf:params:oauth:grant-type:token-exchange"===(i=n).grant_type?i:eR(i,e8),this.request.post(r).send(n).end(e4(e))},ni.prototype.loginWithResourceOwner=function(t,e){var r,n;return eP.check(t,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},connection:{type:"string",message:"connection option is required"},scope:{optional:!0,type:"string",message:"scope option is required"}}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),r=l(this.baseOptions.rootUrl,"oauth","ro"),(n=eM(n=eB(this.baseOptions,["clientID","scope"]).with(t,["username","password","scope","connection","device"]),["auth0Client"])).grant_type=n.grant_type||"password",this.request.post(r).send(n).end(e4(e))},ni.prototype.getSSOData=function(t,e){if(this.auth0||(this.auth0=new nr(this.baseOptions)),e$().location.host===this.baseOptions.domain)return this.auth0._universalLogin.getSSOData(t,e);"function"==typeof t&&(e=t),eP.check(e,{type:"function",message:"cb parameter is not val
1id"});var r=this.baseOptions.clientID,n=this.ssodataStorage.get()||{};this.auth0.checkSession({responseType:"token id_token",scope:"openid profile email",connection:n.lastUsedConnection,timeout:5e3},function(t,o){return t?"login_required"===t.error?e(null,{sso:!1}):("consent_required"===t.error&&(t.error_description="Consent required. When using `getSSOData`, the user has to be authenticated with the following scope: `openid profile email`."),e(t,{sso:!1})):n.lastUsedSub&&n.lastUsedSub!==o.idTokenPayload.sub?e(t,{sso:!1}):e(null,{lastUsedConnection:{name:n.lastUsedConnection},lastUsedUserID:o.idTokenPayload.sub,lastUsedUsername:o.idTokenPayload.email||o.idTokenPayload.name,lastUsedClientID:r,sessionClients:[r],sso:!0})})},ni.prototype.userInfo=function(t,e){var r;return eP.check(t,{type:"string",message:"accessToken parameter is not valid"}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),r=l(this.baseOptions.rootUrl,"userinfo"),this.request.get(r).set("Authorization","Bearer "+t).end(e4(e,{ignoreCasing:!0}))},ni.prototype.getChallenge=function(t){if(eP.check(t,{type:"function",message:"cb parameter is not valid"}),!this.baseOptions.state)return t();var e=l(this.baseOptions.rootUrl,"usernamepassword","challenge");return this.request.post(e).send({state:this.baseOptions.state}).end(e4(t,{ignoreCasing:!0}))},ni.prototype.delegation=function(t,e){var r,n;return eP.check(t,{type:"object",message:"options parameter is not valid"},{grant_type:{type:"string",message:"grant_type option is required"}}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),r=l(this.baseOptions.rootUrl,"delegation"),n=eM(n=eB(this.baseOptions,["clientID"]).with(t),["auth0Client"]),this.request.post(r).send(n).end(e4(e))},ni.prototype.getUserCountry=function(t){var e;return eP.check(t,{type:"function",message:"cb parameter is not valid"}),e=l(this.baseOptions.rootUrl,"user","geoloc","country"),this.request.get(e).end(e4(t))},ni.prototype.customTokenExchange=function(t,e){return eP.check(t,{type:"object",message:"options parameter is not valid"},{subjectToken:{type:"string",message:"subjectToken option is required"},subjectTokenType:{type:"string",message:"subjectTokenType option is required"},audience:{optional:!0,type:"string",message:"audience option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},organization:{optional:!0,type:"string",message:"organization option is required"}}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),(t=eB({},[]).with(t)).grantType="urn:ietf:params:oauth:grant-type:token-exchange",this.oauthToken(t,e)},ns.prototype.getUser=function(t,e){var r;return eP.check(t,{type:"string",message:"userId parameter is not valid"}),eP.check(e,{type:"function",message:"cb parameter is not valid"}),r=l(this.baseOptions.rootUrl,"users",t),this.request.get(r).end(e4(e,{ignoreCasing:!0}))},ns.prototype.patchUserMetadata=function(t,e,r){var n;return eP.check(t,{type:"string",message:"userId parameter is not valid"}),eP.check(e,{type:"object",message:"userMetadata parameter is not valid"}),eP.check(r,{type:"function",message:"cb parameter is not valid"}),n=l(this.baseOptions.rootUrl,"users",t),this.request.patch(n).send({user_metadata:e}).end(e4(r,{ignoreCasing:!0}))},ns.prototype.patchUserAttributes=function(t,e,r){var n;return eP.check(t,{type:"string",message:"userId parameter is not valid"}),eP.check(e,{type:"object",message:"user parameter is not valid"}),eP.check(r,{type:"function",message:"cb parameter is not valid"}),n=l(this.baseOptions.rootUrl,"users",t),this.request.patch(n).send(e).end(e4(r,{ignoreCasing:!0}))},ns.prototype.linkUser=function(t,e,r){var n;return eP.check(t,{type:"string",message:"userId parameter is not valid"}),eP.check(e,{type:"string",message:"secondaryUserToken parameter is not valid"}),eP.check(r,{type:"function",message:"cb parameter is not valid"}),n=l(this.baseOptions.rootUrl,"users",t,"identities"),this.request.post(n).send({link_with:e}).end(e4(r,{ignoreCasing:!0}))};let na=null,nu=()=>(na||(na=new nr({clientID:"SSkqJ5F7AWKIjUV3HELAz1DIdr9m0zcf",audience:"https://api.checkr.com",domain:"identity.checkr.com",responseType:"token",scope:"openid email profile",state:"ok"})),na);t.s(["completeSocialSignup",0,()=>{nu().popup.callback()},"initiateSocialSignup",0,(t,e)=>{let r=nu(),n="u">typeof crypto&&crypto.randomUUID?crypto.randomUUID():String(Date.now());r.popup.authorize({responseType:"token id_token",redirectUri:`${window.location.origin}/signup/callback`,domain:"identity.checkr.com",state:n,connection:"google-oauth2",prompt:"select_account"},(o,i)=>{o?e(o):i&&i.state&&i.state===n?i.accessToken?r.client.userInfo(i.accessToken,(r,n)=>{n?t(n,i.accessToken):e({description:r?.description||"failed_to_fetch_user",error:r?.error||""})}):e({description:"missing_access_token",error:""}):e({description:"mismatched_signature",error:""})})}],814650)}]);

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.