PageSourceSearch

https://www.yape.com.pe/_next/static/chunks/4471-5e90c41c72806c8f.js

js yape.com.pe collected 2026-09-24 10:47:00 UTC 670,625 bytes, 136 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4471],{731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._typedJsonParse=void 0;let n=r(94316);t._typedJsonParse=function(e,t,r){try{let r=JSON.parse(e);if(r&&"object"==typeof r&&t in r)return r}catch(e){}return n.Log.error(`Failed to parse ${r}`),null}},1001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={isRequestApiAllowedInCurrentPhase:function(){return c},throwForSearchParamsAccessInUseCache:function(){return u},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return l}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(67315),a=r(80341),s=r(55409);function l(e,t){throw Object.defineProperty(new o.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function u(e,t){let r=Object.defineProperty(Error(`Route ${e.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(r,t),e.invalidDynamicUsageError??=r,r}function c(e){switch(e.phase){case"action":case"render":return!0;case"after":{let e=a.actionAsyncStorage.getStore();if(e&&(e.isAppRoute||e.isAction))return!0;let t=s.afterTaskAsyncStorage.getStore();if(t)return"action"===t.rootTaskSpawnPhase;return!1}}}},1107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMemoKey=t.MemoPrefix=void 0,t.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_layer:"l",_paramStore:"p"};let r=new Set([]),n=new Set(["userPersistedValues"]);t.createMemoKey=function(e,t,i){let o=`${e}|${t}`;if(!i)return o;for(let e of Object.keys(i)){if(n.has(e))return;r.has(e)?o+=`|${e}=true`:o+=`|${e}=${i[e]}`}return o}},1756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorTag=void 0,t.ErrorTag={NetworkError:"NetworkError"}},2125:(e,t,r)=>{e.exports={countryCodes:[],ipRanges:[],countryTable:[],init:function(){if(this._initCalled)return;this._initCalled=!0;let e=r(15750),t=0;for(;t<e.length;){let r=e[t++],n=e[t++];if(this.countryTable.push(""+String.fromCharCode(r)+String.fromCharCode(n)),"*"===String.fromCharCode(r))break}let n=0;for(;t<e.length;){let r=0,i=e[t++];i<240?r=i:242==i?r=e[t++]|e[t++]<<8:243==i&&(r=e[t++]|e[t++]<<8|e[t++]<<16),n+=256*r;let o=e[t++];this.ipRanges.push(n),this.countryCodes.push(this.countryTable[o])}delete r.c[15750]},lookupStr:function(e){let t=e.split(".");if(4!==t.length)return null;let r=0x1000000*parseInt(t[0])+(parseInt(t[1])<<16)+(parseInt(t[2])<<8)+parseInt(t[3]);return this.lookupNumeric(r)},lookupNumeric:function(e){if(!this.countryCodes)throw Error("ip3country::lookupNumeric> Please call init first");let t=this.binarySearch(e),r=this.countryCodes[t];return"--"===r?null:r},binarySearch:function(e){let t=0,r=this.ipRanges.length-1;for(;t<r;){let n=t+r>>>1;this.ipRanges[n]<=e?t=n+1:r=n}return t}}},2881:(e,t,r)=>{"use strict";t.__esModule=!0,t.hashUnitIDForIDList=t.hashString=t.sha256Hash=t.sha256HashBase64=t.djb2HashForObject=t.djb2Hash=void 0;var n=r(11328),i=r(83944);function o(e){return String(function(e){for(var t=0,r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t}(e)>>>0)}function a(e){var t=(0,i.SHA256)(e);return n.Base64.encodeArrayBuffer(t.arrayBuffer())}function s(e,t){switch(void 0===t&&(t="djb2"),t){case"sha256":return a(e);case"djb2":return o(e);default:return e}}t.djb2Hash=o,t.djb2HashForObject=function(e){return o(JSON.stringify(function e(t){if(null==t)return null;var r=Object.keys(t).sort(),n={};return r.forEach(function(r){var i=t[r];
1i instanceof Object&&(i=e(i)),n[r]=i}),n}(e)))},t.sha256HashBase64=a,t.sha256Hash=function(e){return(0,i.SHA256)(e).dataView()},t.hashString=s,t.hashUnitIDForIDList=function(e,t){return(void 0===t&&(t="sha256"),"string"!=typeof e||null==e)?"":s(e,t).substr(0,8)}},3194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(96771),i=r(47083),o=r(43714);t.default=function(e,t,r){e??={},r??=0;let a=(0,i.default)({...e,_v6:!0},new Uint8Array(16));if(a=(0,o.default)(a),t){if(r<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;e++)t[r+e]=a[e];return t}return(0,n.unsafeStringify)(a)}},3400:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(32613);t.default=function(e){return"string"==typeof e&&n.default.test(e)}},3507:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4052:function(e,t,r){"use strict";var n,i=r(41463),o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(){var e,t;try{return null!=(t=null==(e=r(63069))?void 0:e.version)?t:""}catch(e){return""}}function l(){var e,t;try{return null!=(t=null==(e=r(63069))?void 0:e.name)?t:"statsig-node"}catch(e){return"statsig-node"}}
1t.__esModule=!0,t.ExhaustSwitchError=t.getTypeOf=t.poll=t.notEmptyObject=t.notEmpty=t.isUserIdentifiable=t.getStatsigMetadata=t.getSDKType=t.getSDKVersion=t.getNumericValue=t.getBoolValue=t.cloneEnforce=t.clone=void 0,t.getSDKVersion=s,t.getSDKType=l,t.notEmpty=function(e){return null!=e},t.notEmptyObject=function(e){return null!=e&&"object"==typeof e&&Object.keys(e).length>0},t.clone=function(e){return null==e?null:JSON.parse(JSON.stringify(e))},t.cloneEnforce=function(e){return JSON.parse(JSON.stringify(e))},t.getNumericValue=function(e){if(null==e)return null;var t=Number(e);return"number"==typeof t&&!isNaN(t)&&isFinite(t)&&null!=e?t:null},t.getBoolValue=function(e){if(null==e);else if("true"===String(e).toLowerCase())return!0;else if("false"===String(e).toLowerCase())return!1;return null},t.getStatsigMetadata=function(e){return void 0===e&&(e={}),a({sdkType:l(),sdkVersion:s(),languageVersion:void 0!==i&&i&&i.version&&i.version.length>1&&i.version.substring(1)||""},e)},t.isUserIdentifiable=function(e){if(null==e||"object"!=typeof e)return!1;var t=e.userID,r=e.customIDs;return"number"==typeof t||"string"==typeof t||null!=r&&"object"==typeof r&&0!==Object.keys(r).length},t.poll=function(e,t){var r=setInterval(e,t);return r.unref&&r.unref(),r},t.getTypeOf=function(e){return Array.isArray(e)?"array":typeof e},t.ExhaustSwitchError=function(e){function t(t){return e.call(this,"Unreachable case: ".concat(JSON.stringify(t)))||this}return o(t,e),t}(Error)},4953:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigUser=t.useStatsigInternalClientFactoryBootstrap=t.useStatsigInternalClientFactoryAsync=t.useStatsigClient=t.useParameterStore=t.useLayer=t.useGateValue=t.useFeatureGate=t.useExperiment=t.useDynamicConfig=t.useClientBootstrapInit=t.useClientAsyncInit=t.StatsigProvider=t.StatsigContext=void 0;let o=r(69930),a=r(32809);t.StatsigContext=a.default;let s=r(93727);Object.defineProperty(t,"StatsigProvider",{enumerable:!0,get:function(){return s.StatsigProvider}});let l=r(61057);Object.defineProperty(t,"useClientAsyncInit",{enumerable:!0,get:function(){return l.useClientAsyncInit}});let u=r(43083);Object.defineProperty(t,"useClientBootstrapInit",{enumerable:!0,get:function(){return u.useClientBootstrapInit}});let c=r(47741);t.useDynamicConfig=c.default;let f=r(10485);t.useExperiment=f.default;let d=r(63271);t.useFeatureGate=d.default;let p=r(84646);t.useGateValue=p.default;let h=r(97715);t.useLayer=h.default;let g=r(84210);t.useParameterStore=g.default;let y=r(29334);Object.defineProperty(t,"useStatsigClient",{enumerable:!0,get:function(){return y.useStatsigClient}});let b=r(74269);Object.defineProperty(t,"useStatsigInternalClientFactoryAsync",{enumerable:!0,get:function(){return b.useStatsigInternalClientFactoryAsync}});let v=r(33155);Object.defineProperty(t,"useStatsigInternalClientFactoryBootstrap",{enumerable:!0,get:function(){return v.useStatsigInternalClientFactoryBootstrap}});let m=r(27626);Object.defineProperty(t,"useStatsigUser",{enumerable:!0,get:function(){return m.useStatsigUser}}),i(r(74742),t),Object.assign((0,o._getStatsigGlobal)(),{StatsigContext:a.default,StatsigProvider:s.StatsigProvider,useClientAsyncInit:l.useClientAsyncInit,useClientBootstrapInit:u.useClientBootstrapInit,useDynamicConfig:c.default,useExperiment:f.default,useFeatureGate:d.default,useGateValue:p.default,useLayer:h.default,useParameterStore:g.default,useStatsigClient:y.useStatsigClient,useStatsigInternalClientFactoryAsync:b.useStatsigInternalClientFactoryAsync,useStatsigInternalClientFactoryBootstrap:v.useStatsigInternalClientFactoryBootstrap,useStatsigUser:m.useStatsigUser})}
1,5156:function(e,t){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},n=this&&this.__spreadArray||function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};t.__esModule=!0;var i=r(r({},console),{logLevel:"warn"}),o=null;t.default=function(){function e(){}return e.getLogger=function(){return i},e.debug=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if("debug"===i.logLevel){var o=this.sanitizeError(e);i.debug&&i.debug.apply(i,n([o],t,!1))}},e.info=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if("debug"===i.logLevel||"info"===i.logLevel){var o=this.sanitizeError(e);i.info&&i.info.apply(i,n([o],t,!1))}},e.warn=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if("debug"===i.logLevel||"info"===i.logLevel||"warn"===i.logLevel){var o=this.sanitizeError(e);i.warn.apply(i,n([o],t,!1))}},e.error=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if("debug"===i.logLevel||"info"===i.logLevel||"warn"===i.logLevel||"error"===i.logLevel){var o=this.sanitizeError(e);i.error.apply(i,n([o],t,!1))}},e.setLogger=function(e,t){i=e,o=t},e.resetLogger=function(){i=r(r({},console),{logLevel:"warn"})},e.sanitizeError=function(e){if(null===o)return e;try{if("string"==typeof e)return e.replace(RegExp(o,"g"),"******");if(e instanceof Error)return e.toString().replace(RegExp(o,"g"),"******")}catch(e){}return e},e}()},5214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=r(17828)},6309:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={PageSignatureError:function(){return i},RemovedPageError:function(){return o},RemovedUAError:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});class i extends Error{constructor({page:e}){super(`The middleware "${e}" accepts an async API directly with the form:
2  
3  export function middleware(request, event) {
4    return NextResponse.redirect('/new-location')
5  }
6  
7  Read more: https://nextjs.org/docs/messages/middleware-new-signature
8  `),Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1177",enumerable:!1,configurable:!0})}}class o extends Error{constructor(){super("The request.page has been deprecated in favour of `URLPattern`.\n  Read more: https://nextjs.org/docs/messages/middleware-request-page\n  "),Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1178",enumerable:!1,configurable:!0})}}class a extends Error{constructor(){super("The request.ua has been removed in favour of `userAgent` function.\n  Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n  "),Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1172",enumerable:!1,configurable:!0})}}},7003:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkCore=void 0,r(44801);let i=r(44801),o=r(50290),a=r(94316),s=r(74582),l=r(92944),u=r(85725),c=r(51546),f=r(77612),d=r(61635),p=r(42768),h=r(1756),g=r(96136),y=r(60952),b=r(48393),v=new Set([408,500,502,503,504,522,524,599]);class m{constructor(e,t){this._emitter=t,this._errorBoundary=null,this._timeout=1e4,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,e&&(this._options=e),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new l.NetworkFallbackResolver(this._options),this.setLogEventCompressionMode(this._getLogEventCompressionMode(e))}setLogEventCompressionMode(e){this._options.logEventCompressionMode=e}setErrorBoundary(e){this._errorBoundary=e,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(e)}isBeaconSupported(){return"u">typeof navigator&&"function"==typeof navigator.sendBeacon}
8getLastUsedInitUrlAndReset(){let e=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,e}beacon(e){return n(this,void 0,void 0,function*(){if(!_(e))return!1;let t=this._getInternalRequestArgs("POST",e);yield this._tryToCompressBody(t);let r=yield this._getPopulatedURL(t),n=navigator;return n.sendBeacon.bind(n)(r,t.body)})}post(e){return n(this,void 0,void 0,function*(){let t=this._getInternalRequestArgs("POST",e);return this._tryEncodeBody(t),yield this._tryToCompressBody(t),this._sendRequest(t)})}get(e){let t=this._getInternalRequestArgs("GET",e);return this._sendRequest(t)}_sendRequest(e){var t,r,i,l;return n(this,void 0,void 0,function*(){var u,c,f,d,p;if(!_(e)||this._netConfig.preventAllNetworkTraffic)return null;let{method:g,body:y,retries:m,attempt:x}=e,S=e.urlConfig.endpoint;if(this._isRateLimited(S))return a.Log.warn(`Request to ${S} was blocked because you are making requests too frequently.`),null;let E=null!=x?x:1,k="u">typeof AbortController?new AbortController:null,O=setTimeout(()=>{null==k||k.abort(`Timeout of ${this._timeout}ms expired.`)},this._timeout),A=yield this._getPopulatedURL(e),R=null,I=(0,b._isUnloading)();try{let r={method:g,body:y,headers:Object.assign({},e.headers),signal:null==k?void 0:k.signal,priority:e.priority,keepalive:I};u=e,c=E,u.urlConfig.endpoint===s.Endpoint._initialize&&o.Diagnostics._markInitNetworkReqStart(u.sdkKey,{attempt:c});let n=this._leakyBucket[S];n&&(n.lastRequestTime=Date.now(),this._leakyBucket[S]=n);let i=null!=(t=this._netConfig.networkOverrideFunc)?t:fetch;if(R=yield i(A,r),clearTimeout(O),!R.ok){let e=yield R.text().catch(()=>"No Text"),t=Error(`NetworkError: ${A} ${e}`);throw t.name="NetworkError",t}let a=yield R.text();return w(e,R,E,a),this._fallbackResolver.tryBumpExpiryTime(e.sdkKey,e.urlConfig),{body:a,code:R.status}}catch(s){let t=(f=k,d=s,(null==f?void 0:f.signal.aborted)&&"string"==typeof f.signal.reason?f.signal.reason:"string"==typeof d?d:d instanceof Error?`${d.name}: ${d.message}`:"Unknown Error"),o=(null==(p=k)?void 0:p.signal.aborted)&&"string"==typeof p.signal.reason&&p.signal.reason.includes("Timeout")||!1;if(w(e,R,E,"",s),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(e.sdkKey,e.urlConfig,t,o))&&(e.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(e.sdkKey,e.urlConfig)),!m||E>m||!v.has(null!=(r=null==R?void 0:R.status)?r:500)){null==(i=this._emitter)||i.call(this,{name:"error",error:s,tag:h.ErrorTag.NetworkError,requestArgs:e});let r=`A networking error occurred during ${g} request to ${A}.`;return a.Log.error(r,t,s),null==(l=this._errorBoundary)||l.attachErrorIfNoneExists(r),null}return yield function(e){return n(this,void 0,void 0,function*(){yield new Promise(t=>setTimeout(t,Math.min(e*e*500,3e4)))})}(E),this._sendRequest(Object.assign(Object.assign({},e),{retries:m,attempt:E+1}))}})}_getLogEventCompressionMode(e){let t=null==e?void 0:e.logEventCompressionMode;return t||(null==e?void 0:e.disableCompression)!==!0||(t=y.LogEventCompressionMode.Disabled),t||(t=y.LogEventCompressionMode.Enabled),t}_isRateLimited(e){var t;let r=Date.now(),n=null!=(t=this._leakyBucket[e])?t:{count:0,lastRequestTime:r},i=Math.floor((r-n.lastRequestTime)*.05);return n.count=Math.max(0,n.count-i),n.count>=50||(n.count+=1,n.lastRequestTime=r,this._leakyBucket[e]=n,!1)}_getPopulatedURL(e){var t;return n(this,void 0,void 0,function*(){let r=null!=(t=e.fallbackUrl)?t:e.urlConfig.getUrl();(e.urlConfig.endpoint===s.Endpoint._initialize||e.urlConfig.endpoint===s.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=r);let n=Object.assign({[s.NetworkParam.SdkKey]:e.sdkKey,[s.NetworkParam.SdkType]:c.SDKType._get(e.sdkKey),[s.NetworkParam.SdkVersion]:g.SDK_VERSION,[s.NetworkParam.Time]:String(Date.now()),[s.NetworkParam.SessionID]:d.SessionID.get(e.sdkKey)},e.params),i=Object.keys(n).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`).join("&");return`${r}${i?`?${i}`:""}`})}_tryEncodeBody(e){var t;let r=(0,f._getWindowSafe)(),n=e.body;if(e.isStatsigEncodable&&!this._options.disableStatsigEncoding&&"string"==typeof n&&null==(0,i._getStatsigGlobalFlag)("no-encode")&&(null==r?void 0:r.btoa))try{e.body=r.btoa(n).split("").reverse().join(""),e.params=Object.assign(Object.assign({},null!=(t=e.params)?t:{}),{[s.NetworkParam.StatsigEncoded]:"1"})}catch(t){a.Log.warn(`Request encoding failed for ${e.urlConfig.getUrl()}`,t)}}_tryToCompressBody(e){var t;return n(this,void 0,void 0,function*(){let r=e.body;if("string"==typeof r&&function(e,t){if(!e.isCompressable||null!=(0,i._getStatsigGlobalFlag)("no-compress")||"u"<typeof CompressionStream||"u"<typeof TextEncoder)return!1;let r=null!=e.urlConfig.customUrl||null!=e.urlConfig.fallbackUrls,n=!0===u.SDKFlags.get(e.sdkKey,"enable_log_event_compression");switch(t.logEventCompressionMode){case y.LogEventCompressionMode.Disabled:return!1;case y.LogEventCompressionMode.Enabled:if(r&&!n)return!1;return!0;case y.LogEventCompressionMode.Forced:return!0;default:return!1}}(e,this._options))try{let n,i=new TextEncoder().encode(r),o=new CompressionStream("gzip"),l=o.writable.getWriter();l.write(i).catch(a.Log.error),l.close().catch(a.Log.error);let u=o.readable.getReader(),c=[];for(;!(n=yield u.read()).done;)c.push(n.value);let f=c.reduce((e,t)=>
8e+t.length,0),d=new Uint8Array(f),p=0;for(let e of c)d.set(e,p),p+=e.length;e.body=d,e.params=Object.assign(Object.assign({},null!=(t=e.params)?t:{}),{[s.NetworkParam.IsGzipped]:"1"})}catch(t){a.Log.warn(`Request compression failed for ${e.urlConfig.getUrl()}`,t)}})}_getInternalRequestArgs(e,t){let r=this._fallbackResolver.getActiveFallbackUrl(t.sdkKey,t.urlConfig),n=Object.assign(Object.assign({},t),{method:e,fallbackUrl:r});return"data"in t&&x(n,t.data),n}}t.NetworkCore=m;let _=e=>!!e.sdkKey||(a.Log.warn("Unable to make request without an SDK key"),!1),x=(e,t)=>{let{sdkKey:r,fallbackUrl:n}=e,i=p.StableID.get(r),o=d.SessionID.get(r),a=c.SDKType._get(r);e.body=JSON.stringify(Object.assign(Object.assign({},t),{statsigMetadata:Object.assign(Object.assign({},g.StatsigMetadataProvider.get()),{stableID:i,sessionID:o,sdkType:a,fallbackUrl:n})}))};function w(e,t,r,n,i){e.urlConfig.endpoint===s.Endpoint._initialize&&o.Diagnostics._markInitNetworkReqEnd(e.sdkKey,o.Diagnostics._getDiagnosticsData(t,r,n,i))}},7351:function(e,t,r){var n;
8n=r(62538),r(65067),r(72615),r(60468),r(15457),r(44242),r(39491),r(93372),r(88014),r(71227),r(86095),r(95486),r(96202),r(68799),r(55638),r(97964),r(89337),r(91750),r(28978),r(29472),r(48347),r(88206),r(21421),r(36522),r(71066),r(50901),r(90804),r(39123),r(24982),r(34092),r(78755),r(95702),r(99857),r(24083),r(68735),e.exports=n},8846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getFullUserHash=t._normalizeUser=void 0;let n=r(82702),i=r(94316);t._normalizeUser=function(e,t,r){try{let n=JSON.parse(JSON.stringify(e));return null!=t&&null!=t.environment?n.statsigEnvironment=t.environment:null!=r&&(n.statsigEnvironment={tier:r}),n}catch(e){return i.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}},t._getFullUserHash=function(e){return e?(0,n._DJB2Object)(e):null}},9360:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var i=n(r(5156)),o=r(75241);t.default=function(){function e(e){this.storage=e}return e.prototype.load=function(t,r){if(null==this.storage)return null;var n=e.getStorageKey(t,r);if(!n)return null;try{return this.storage.load(n)}catch(e){return i.default.error("statsigSDK> Failed to load persisted values for key ".concat(n," (").concat(e.message,")")),null}},e.prototype.save=function(t,r,n,o){if(null!=this.storage){var a=e.getStorageKey(t,r);if(a)try{this.storage.save(a,n,o.toStickyValues())}catch(e){i.default.error("statsigSDK> Failed to save persisted values for key ".concat(a," (").concat(e.message,")"))}}},e.prototype.delete=function(t,r,n){if(null!=this.storage){var o=e.getStorageKey(t,r);if(o)try{this.storage.delete(o,n)}catch(e){i.default.error("statsigSDK> Failed to delete persisted values for key ".concat(o," (").concat(e.message,")"))}}},e.getStorageKey=function(e,t){var r=(0,o.getUnitID)(e,t);return r||i.default.warn("statsigSDK> No unit ID found for ID type ".concat(t)),"".concat(null!=r?r:"",":").concat(t)},e}()},9408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextResponse",{enumerable:!0,get:function(){return f}});let n=r(10114),i=r(66612),o=r(37166),a=r(57857),s=r(10114),l=Symbol("internal response"),u=new Set([301,302,303,307,308]);function c(e,t){var r;if(null==e||null==(r=e.request)?void 0:r.headers){if(!(e.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let r=[];for(let[n,i]of e.request.headers)t.set("x-middleware-request-"+n,i),r.push(n);t.set("x-middleware-override-headers",r.join(","))}}class f extends Response{constructor(e,t={}){super(e,t);const r=this.headers,u=new Proxy(new s.ResponseCookies(r),{get(e,i,o){switch(i){case"delete":case"set":return(...o)=>{let a=Reflect.apply(e[i],e,o),l=new Headers(r);return a instanceof s.ResponseCookies&&r.set("x-middleware-set-cookie",a.getAll().map(e=>(0,n.stringifyCookie)(e)).join(",")),c(t,l),a};default:return a.ReflectAdapter.get(e,i,o)}}});this[l]={cookies:u,url:t.url?new i.NextURL(t.url,{headers:(0,o.toNodeOutgoingHttpHeaders)(r),nextConfig:t.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[l].cookies}static json(e,t){let r=Response.json(e,t);return new f(r.body,r)}static redirect(e,t){let r="number"==typeof t?t:(null==t?void 0:t.status)??307;if(!u.has(r))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let n="object"==typeof t?t:{},i=new Headers(null==n?void 0:n.headers);return i.set("Location",(0,o.validateURL)(e)),new f(null,{...n,headers:i,status:r})}static rewrite(e,t){let r=new Headers(null==t?void 0:t.headers);return r.set("x-middleware-rewrite",(0,o.validateURL)(e)),c(t,r),new f(null,{...t,headers:r})}static next(e){let t=new Headers(null==e?void 0:e.headers);return t.set("x-middleware-next","1"),c(e,t),new f(null,{...e,headers:t})}}},9499:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};
8Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigEvaluationsDataAdapter=void 0;let i=r(69930),o=r(71620);class a extends i.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(e,t,r){super.attach(e,t,r),null!==r&&r instanceof o.default?this._network=r:this._network=new o.default(null!=t?t:{})}getDataAsync(e,t,r){return this._getDataAsyncImpl(e,(0,i._normalizeUser)(t,this._options),r)}prefetchData(e,t){return this._prefetchDataImpl(e,t)}setData(e){let t=(0,i._typedJsonParse)(e,"has_updates","data");t&&"user"in t?super.setData(e,t.user):i.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(e,t){super.setData(e,t)}_fetchFromNetwork(e,t,r,i){var o;return n(this,void 0,void 0,function*(){let n=yield null==(o=this._network)?void 0:o.fetchEvaluations(this._getSdkKey(),e,null==r?void 0:r.priority,t,i);return null!=n?n:null})}_getCacheKey(e){var t;let r=(0,i._getStorageKey)(this._getSdkKey(),e,null==(t=this._options)?void 0:t.customUserCacheKeyFunc);return`${i.DataAdapterCachePrefix}.${this._cacheSuffix}.${r}`}_isCachedResultValidFor204(e,t){return null!=e.fullUserHash&&e.fullUserHash===(0,i._getFullUserHash)(t)}}t.StatsigEvaluationsDataAdapter=a},10114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={RequestCookies:function(){return o.RequestCookies},ResponseCookies:function(){return o.ResponseCookies},stringifyCookie:function(){return o.stringifyCookie}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(52925)},10485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(12115),i=r(69930),o=r(84153),a=r(32809);t.default=function(e,t){let{client:r,renderVersion:s}=(0,n.useContext)(a.default);return(0,n.useMemo)(()=>(0,o.isNoopClient)(r)?(i.Log.warn(`useExperiment hook failed to find a valid Statsig client for experiment '${e}'.`),o.NoopEvaluationsClient.getExperiment(e,t)):r.getExperiment(e,t),[e,r,s,...t?Object.values(t):[]])}},11315:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}
8,l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0,t.Statsig=t.StatsigServer=t.Layer=t.DataAdapterKeyPath=t.DynamicConfig=void 0;var u=l(r(13488));t.DynamicConfig=u.default;var c=r(20566),f=r(62368);t.DataAdapterKeyPath=f.DataAdapterKeyPath;var d=l(r(90434));t.Layer=d.default;var p=l(r(5156)),h=l(r(57116)),g=l(r(45451));t.StatsigServer=g.default,o(r(43558),t);var y={StatsigServer:g.default,DataAdapterKeyPath:f.DataAdapterKeyPath,DynamicConfig:u.default,Layer:d.default,StatsigInvalidArgumentError:c.StatsigInvalidArgumentError,StatsigLocalModeNetworkError:c.StatsigLocalModeNetworkError,StatsigTooManyRequestsError:c.StatsigTooManyRequestsError,StatsigUninitializedError:c.StatsigUninitializedError};t.Statsig=n(n({},y),{initialize:function(e,t){var r;return void 0===t&&(t={}),a(this,void 0,void 0,function(){var n,i;return s(this,function(o){switch(o.label){case 0:t.logger&&p.default.setLogger(t.logger,e),n=null!=(r=h.default.getInstance())?r:new g.default(e,t),null==h.default.getInstance()&&h.default.setInstance(n),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,n.initializeAsync()];case 2:return[2,o.sent()];case 3:return i=o.sent(),h.default.setInstance(null),[2,Promise.reject(i)];case 4:return[2]}})})},checkGate:function(e,t,r){return this._enforceServer().checkGate(e,t,r)},getFeatureGate:function(e,t,r){return this._enforceServer().getFeatureGate(e,t,r)},manuallyLogGateExposure:function(e,t){return this._enforceServer().logGateExposure(e,t)},getConfig:function(e,t,r){return this._enforceServer().getConfig(e,t,r)},manuallyLogConfigExposure:function(e,t){return this._enforceServer().logConfigExposure(e,t)},getExperiment:function(e,t,r){return this._enforceServer().getExperiment(e,t,r)},getExperimentLayer:function(e){return this._enforceServer().getExperimentLayer(e)},manuallyLogExperimentExposure:function(e,t){return this._enforceServer().logExperimentExposure(e,t)},getLayer:function(e,t,r){return this._enforceServer().getLayer(e,t,r)},manuallyLogLayerParameterExposure:function(e,t,r){this._enforceServer().logLayerParameterExposure(e,t,r)},getUserPersistedValues:function(e,t){return this._enforceServer().getUserPersistedValues(e,t)},logEvent:function(e,t,r,n){void 0===r&&(r=null),void 0===n&&(n=null),this._enforceServer().logEvent(e,t,r,n)},logEventObject:function(e){this._enforceServer().logEventObject(e)},shutdown:function(e){this._enforceServer().shutdown(e),p.default.resetLogger()},shutdownAsync:function(e){return a(this,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return[4,this._enforceServer().shutdownAsync(e)];case 1:return t.sent(),p.default.resetLogger(),[2]}})})},getClientInitializeResponse:function(e,t,r){return this._enforceServer().getClientInitializeResponse(e,t,r)},overrideGate:function(e,t,r){void 0===r&&(r=""),this._enforceServer().overrideGate(e,t,r)},overrideConfig:function(e,t,r){void 0===r&&(r=""),this._enforceServer().overrideConfig(e,t,r)},overrideLayer:function(e,t,r){void 0===r&&(r=""),this._enforceServer().overrideLayer(e,t,r)},flush:function(e){var t=h.default.getInstance();return null==t?Promise.resolve():t.flush(e)},clearAllGateOverrides:function(){this._enforceServer().clearAllGateOverrides()},clearAllConfigOverrides:function(){this._enforceServer().clearAllConfigOverrides()},clearAllLayerOverrides:function(){this._enforceServer().clearAllLayerOverrides()},getFeatureGateList:function(){return this._enforceServer().getFeatureGateList()},getDynamicConfigList:function(){return this._enforceServer().getDynamicConfigList()},getExperimentList:function(){return this._enforceServer().getExperimentList()},getAutotuneList:function(){return this._enforceServer().getAutotuneList()},getLayerList:function(){return this._enforceServer().getLayerList()},syncConfigSpecs:function(){return this._enforceServer().syncStoreSpecs()},syncIdLists:function(){return this._enforceServer().syncStoreIdLists()},checkGateSync:function(e,t){return this._enforceServer().checkGateSync(e,t)},getFeatureGateSync:function(e,t){return this._enforceServer().getFeatureGateSync(e,t)},checkGateWithExposureLoggingDisabledSync:function(e,t){return this._enforceServer().checkGateWithExposureLoggingDisabledSync(e,t)},getConfigSync:function(e,t){return this._enforceServer().getConfigSync(e,t)},getConfigWithExposureLoggingDisabledSync:function(e,t){return this._enforceServer().getConfigWithExposureLoggingDisabledSync(e,t)},getExperimentSync:function(e,t,r){return this._enforceServer().getExperimentSync(e,t,r)},getExperimentWithExposureLoggingDisabledSync:function(e,t,r){return this._enforceServer().getExperimentWithExposureLoggingDisabledSync(e,t,r)},getLayerSync:function(e,t,r){return this._enforceServer().getLayerSync(e,t,r)},getLayerWithExposureLoggingDisabledSync:function(e,t,r){return this._enforceServer().getLayerWithExposureLoggingDisabledSync(e,t,r)},checkGateWithExposureLoggingDisabled:function(e,t){return this._enforceServer().checkGateWithExposureLoggingDisabled(e,t)},getFeatureGateWithExposureLoggingDisabled:function(e,t){return this._enforceServer().getFeatureGateWithExposureLoggingDisabled(e,t)},getExperimentWithExposureLoggingDisabled:function(e,t,r){return this._enforceServer().getExperimentWithExposureLoggingDisabled(e,t,r)},getConfigWithExposureLoggingDisabled:function(e,t){return this._enforceServer().getConfigWithExposureLoggingDisabled(e,t)},getLayerWithExposureLoggingDisabled:function(e,t,r){return this._enforceServer().getLayerWithExposureLoggingDisabled(e,t,r)},_enforceServer:function(){var e=h.default.getInstance();if(null==e)throw new c.StatsigUninitializedError;return e}}),t.default=t.Statsig,e.exports=n({default:t.Statsig},t.Statsig)},11328:(e,t)=>
8{"use strict";t.__esModule=!0,t.Base64=void 0;var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.Base64=function(){function e(){}return e.encodeArrayBuffer=function(e){for(var t="",r=new Uint8Array(e),n=r.byteLength,i=0;i<n;i++)t+=String.fromCharCode(r[i]);return this._encodeBinary(t)},e._encodeBinary=function(e){for(var t,n,i,o,a,s,l,u="",c=0;c<e.length;)t=e.charCodeAt(c++),n=e.charCodeAt(c++),i=e.charCodeAt(c++),o=t>>2,a=(3&t)<<4|n>>4,s=(15&n)<<2|i>>6,l=63&i,isNaN(n)?s=l=64:isNaN(i)&&(l=64),u=u+r.charAt(o)+r.charAt(a)+r.charAt(s)+r.charAt(l);return u},e}()},11657:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},11671:(e,t,r)=>{"use strict";var n=r(41463);Object.defineProperty(t,"__esModule",{value:!0});var i={atLeastOneTask:function(){return l},scheduleImmediate:function(){return s},scheduleOnNextTick:function(){return a},waitAtLeastOneReactRenderTask:function(){return u}};for(var o in i)Object.defineProperty(t,o,{enumerable:!0,get:i[o]});let a=e=>{Promise.resolve().then(()=>{n.nextTick(e)})},s=e=>{setImmediate(e)};function l(){return new Promise(e=>s(e))}function u(){return new Promise(e=>setImmediate(e))}},11985:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class o{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(e){return e}}let a="u">typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return a?new a:new o}function l(e){return a?a.bind(e):o.bind(e)}function u(){return a?a.snapshot():function(e,...t){return e(...t)}}},12900:(e,t,r)=>{"use strict";r(48799)},13488:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(4052);t.default=function(){function e(e,t,r,i,o,a,s,l){var u;void 0===t&&(t={}),void 0===r&&(r=""),void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=[]),void 0===s&&(s=null),void 0===l&&(l=null),this._onDefaultValueFallback=null,("string"!=typeof e||0===e.length)&&(e=""),(null==t||"object"!=typeof t)&&(t={}),this.name=e,this.value=null!=(u=(0,n.clone)(t))?u:{},this._ruleID=r,this._groupName=i,this._idType=o,this._secondaryExposures=Array.isArray(a)?a:[],this._onDefaultValueFallback=s,this._evaluationDetails=l}return e.prototype.get=function(e,t,r){void 0===r&&(r=null),t=null!=t?t:null;var i,o,a=this.getValue(e,t);if(null==a)return t;var s=(0,n.getTypeOf)(t),l=(0,n.getTypeOf)(a);return null!=r?r(a)?a:(null==(i=this._onDefaultValueFallback)||i.call(this,this,e,s,l),t):null==t||s===l?a:(null==(o=this._onDefaultValueFallback)||o.call(this,this,e,s,l),t)},e.prototype.getValue=function(e,t){var r;return null==e?this.value:(void 0===t&&(t=null),null!=(r=this.value[e])?r:t)},e.prototype.getRuleID=function(){return this._ruleID},e.prototype.getGroupName=function(){return this._groupName},e.prototype.getIDType=function(){return this._idType},e.prototype.getEvaluationDetails=function(){return this._evaluationDetails},e.prototype._getSecondaryExposures=function(){return this._secondaryExposures},e}()},13930:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=t.EXCEPTION_ENDPOINT=void 0;let i=r(94316),o=r(51546),a=r(96136);t.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";let s="[Statsig] UnknownError";class l{constructor(e,t,r,n){this._sdkKey=e,this._options=t,this._emitter=r,this._lastSeenError=n,this._seen=new Set}wrap(e){try{(function(e){let t=new Set,r=Object.getPrototypeOf(e);for(;r&&r!==Object.prototype;)Object.getOwnPropertyNames(r).filter(e=>
8"function"==typeof(null==r?void 0:r[e])).forEach(e=>t.add(e)),r=Object.getPrototypeOf(r);return Array.from(t)})(e).forEach(t=>{let r=e[t];"$EB"in r||(e[t]=(...n)=>this._capture(t,()=>r.apply(e,n)),e[t].$EB=!0)})}catch(e){this._onError("eb:wrap",e)}}logError(e,t){this._onError(e,t)}getLastSeenErrorAndReset(){let e=this._lastSeenError;return this._lastSeenError=void 0,null!=e?e:null}attachErrorIfNoneExists(e){this._lastSeenError||(this._lastSeenError=u(e))}_capture(e,t){try{let r=t();if(r&&r instanceof Promise)return r.catch(t=>this._onError(e,t));return r}catch(t){return this._onError(e,t),null}}_onError(e,r){try{i.Log.warn(`Caught error in ${e}`,{error:r}),n(this,void 0,void 0,function*(){var n,i,l,c,f,d,p;let h=r||Error(s),g=h instanceof Error,y=g?h.name:"No Name",b=u(h);if(this._lastSeenError=b,this._seen.has(y))return;if(this._seen.add(y),null==(i=null==(n=this._options)?void 0:n.networkConfig)?void 0:i.preventAllNetworkTraffic){null==(l=this._emitter)||l.call(this,{name:"error",error:r,tag:e});return}let v=o.SDKType._get(this._sdkKey),m=a.StatsigMetadataProvider.get(),_=g?h.stack:function(e){try{return JSON.stringify(e)}catch(e){return s}}(h),x=Object.assign({tag:e,exception:y,info:_,statsigOptions:function(e){if(!e)return{};let t={};return Object.entries(e).forEach(([e,r])=>{switch(typeof r){case"number":case"bigint":case"boolean":t[String(e)]=r;break;case"string":r.length<50?t[String(e)]=r:t[String(e)]="set";break;case"object":"environment"===e?t.environment=r:"networkConfig"===e?t.networkConfig=r:t[String(e)]=null!=r?"set":"unset"}}),t}(this._options)},Object.assign(Object.assign({},m),{sdkType:v})),w=null!=(d=null==(f=null==(c=this._options)?void 0:c.networkConfig)?void 0:f.networkOverrideFunc)?d:fetch;yield w(t.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(v),"STATSIG-SDK-VERSION":String(m.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(x)}),null==(p=this._emitter)||p.call(this,{name:"error",error:r,tag:e})}).then(()=>{}).catch(()=>{})}catch(e){}}}function u(e){return e instanceof Error?e:"string"==typeof e?Error(e):Error("An unknown error occurred.")}t.ErrorBoundary=l},14111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;let n=r(71551),i=r(69052);var o=r(69052);function a(e,t,r,o){return(0,i.default)(80,n.default,e,t,r,o)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return o.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return o.URL}}),a.DNS=i.DNS,a.URL=i.URL,t.default=a},14540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._resolveDeltasResponse=void 0;let n=r(69930);function i(e,t){null==e||e.forEach(e=>{delete t[e]})}t._resolveDeltasResponse=function(e,t){var r,o,a;let s=(0,n._typedJsonParse)(t,"checksum","DeltasEvaluationResponse");if(!s)return{hadBadDeltaChecksum:!0};let l=(i((a=(r=e,o=s,Object.assign(Object.assign(Object.assign({},r),o),{feature_gates:Object.assign(Object.assign({},r.feature_gates),o.feature_gates),layer_configs:Object.assign(Object.assign({},r.layer_configs),o.layer_configs),dynamic_configs:Object.assign(Object.assign({},r.dynamic_configs),o.dynamic_configs)}))).deleted_gates,a.feature_gates),delete a.deleted_gates,i(a.deleted_configs,a.dynamic_configs),delete a.deleted_configs,i(a.deleted_layers,a.layer_configs),delete a.deleted_layers,a),u=(0,n._DJB2Object)({feature_gates:l.feature_gates,dynamic_configs:l.dynamic_configs,layer_configs:l.layer_configs},2);return u!==s.checksumV2?{hadBadDeltaChecksum:!0,badChecksum:u,badMergedConfigs:l,badFullResponse:s.deltas_full_response}:JSON.stringify(l)}},14720:(e,t)=>{"use strict";function r(){throw Object.defineProperty(Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageResponse",{enumerable:!0,get:function(){return r}})},15457:function(e,t,r){var n,i;i=(n=r(62538)).lib.WordArray,n.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<r;s++)i.push(n.charAt(a>>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<r.length;o++)n[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}for(var l=e,u=t,c=n,f=[],d=0,p=0;p<u;p++)if(p%4){var h=c[l.charCodeAt(p-1)]<<p%4*2|c[l.charCodeAt(p)]>>>6-p%4*2;f[d>>>2]|=h<<24-d%4*8,d++}return i.create(f,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
8+/="},e.exports=n.enc.Base64},16563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getStorageKey=t._getUserStorageKey=void 0;let n=r(82702);function i(e,t,r){var i;if(r)return r(e,t);let o=t&&t.customIDs?t.customIDs:{},a=[`uid:${null!=(i=null==t?void 0:t.userID)?i:""}`,`cids:${Object.keys(o).sort((e,t)=>e.localeCompare(t)).map(e=>`${e}-${o[e]}`).join(",")}`,`k:${e}`];return(0,n._DJB2)(a.join("|"))}t._getUserStorageKey=i,t._getStorageKey=function(e,t,r){return t?i(e,t,r):(0,n._DJB2)(`k:${e}`)}},16590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._setObjectInStorage=t._getObjectFromStorage=t.Storage=void 0;let n=r(94316),i=r(77612),o={},a={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:e=>o[e]?o[e]:null,setItem:(e,t)=>{o[e]=t},removeItem:e=>{delete o[e]},getAllKeys:()=>Object.keys(o)},s=null;try{let e=(0,i._getWindowSafe)();e&&e.localStorage&&"function"==typeof e.localStorage.getItem&&(s={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:t=>e.localStorage.getItem(t),setItem:(t,r)=>e.localStorage.setItem(t,r),removeItem:t=>e.localStorage.removeItem(t),getAllKeys:()=>Object.keys(e.localStorage)})}catch(e){n.Log.warn("Failed to setup localStorageProvider.")}let l=null!=s?s:a,u=l;function c(e){try{return e()}catch(e){if(e instanceof Error&&"SecurityError"===e.name)return t.Storage._setProvider(a),null;if(e instanceof Error&&"QuotaExceededError"===e.name){let r=t.Storage.getAllKeys().filter(e=>e.startsWith("statsig."));e.message=`${e.message}. Statsig Keys: ${r.length}`}throw e}}t.Storage={isReady:()=>u.isReady(),isReadyResolver:()=>u.isReadyResolver(),getProviderName:()=>u.getProviderName(),getItem:e=>c(()=>u.getItem(e)),setItem:(e,t)=>c(()=>u.setItem(e,t)),removeItem:e=>u.removeItem(e),getAllKeys:()=>u.getAllKeys(),_setProvider:e=>{l=e,u=e},_setDisabled:e=>{u=e?a:l}},t._getObjectFromStorage=function(e){let r=t.Storage.getItem(e);return JSON.parse(null!=r?r:"null")},t._setObjectInStorage=function(e,r){t.Storage.setItem(e,JSON.stringify(r))}},16886:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},17764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"connection",{enumerable:!0,get:function(){return c}});let n=r(5214),i=r(98635),o=r(91643),a=r(67315),s=r(35950),l=r(1001);r(31102);let u=r(72299);function c(){let e=n.workAsyncStorage.getStore(),t=i.workUnitAsyncStorage.getStore();if(e){if(t&&!(0,l.isRequestApiAllowedInCurrentPhase)(t))throw Object.defineProperty(Error(`Route ${e.route} used \`connection()\` inside \`after()\` while rendering. The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but \`after()\` executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E1377",enumerable:!1,configurable:!0});if(e.forceStatic)return Promise.resolve(void 0);if(e.dynamicShouldError)throw Object.defineProperty(new a.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E847",enumerable:!1,configurable:!0});if(t)switch(t.type){case"cache":{let t=Object.defineProperty(Error(`Route ${e.route} used \`connection()\` inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual request, but caches must be able to be produced before a request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E841",enumerable:!1,configurable:!0});throw Error.captureStackTrace(t,c),(0,s.applyOwnerStack)(t),e.invali
8dDynamicUsageError??=t,t}case"private-cache":{let t=Object.defineProperty(Error(`Route ${e.route} used \`connection()\` inside "use cache: private". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual navigation request, but caches must be able to be produced before a navigation request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E837",enumerable:!1,configurable:!0});throw Error.captureStackTrace(t,c),(0,s.applyOwnerStack)(t),e.invalidDynamicUsageError??=t,t}case"unstable-cache":throw Object.defineProperty(Error(`Route ${e.route} used \`connection()\` inside a function cached with \`unstable_cache()\`. The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E840",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(Error(`Route ${e.route} used \`connection()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1125",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-runtime":return(0,s.makeDynamicHangingPromise)(t.renderSignal,e.route,"`connection()`");case"validation-client":{let e="`connection`";throw Object.defineProperty(new u.InvariantError(`${e} must not be used within a Client Component. Next.js should be preventing ${e} from being included in Client Components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1063",enumerable:!1,configurable:!0})}case"prerender-ppr":return(0,o.postponeWithTracking)(e.route,"connection",t.dynamicTracking);case"prerender-legacy":return(0,o.throwToInterruptStaticGeneration)("connection",e,t);case"request":if((0,o.trackDynamicDataInDynamicRender)(t),t.asyncApiPromises)return t.asyncApiPromises.connection;return Promise.resolve(void 0)}}(0,i.throwForMissingRequestStore)("connection")}},17828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(64054).createAsyncLocalStorage)()},18228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(11985).createAsyncLocalStorage)()},18337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;let n=r(86802),i=r(69052);var o=r(69052);function a(e,t,r,o){return(0,i.default)(48,n.default,e,t,r,o)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return o.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return o.URL}}),a.DNS=i.DNS,a.URL=i.URL,t.default=a},18524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={INTERNALS:function(){return u},NextRequest:function(){return c}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(66612),a=r(37166),s=r(6309),l=r(10114),u=Symbol("internal request");class c extends Request{constructor(e,t={}){const r="string"!=typeof e&&"url"in e?e.url:String(e);(0,a.validateURL)(r),t.body&&"half"!==t.duplex&&(t.duplex="half"),e instanceof Request?super(e,t):super(r,t);const n=new o.NextURL(r,{headers:(0,a.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:t.nextConfig});this[u]={cookies:new l.RequestCookies(this.headers),nextUrl:n,url:n.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[u].cookies}get nextUrl(){return this[u].nextUrl}get page(){throw new s.RemovedPageError}get ua(){throw new s.RemovedUAError}get url(){return this[u].url}}},18778:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(48029),i=null;
8if(!n.GlobalContext.isEdgeEnvironment)try{var o=(i=r(54651)).default;o&&"function"==typeof o&&(i=o)}catch(e){}t.default=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i?i.apply(void 0,e):fetch.apply(void 0,e)}},19260:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let n=new Uint8Array(16),i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let o=function(e,t,r){return t||e||!crypto.randomUUID?function(e,t,r){let o=(e=e||{}).random??e.rng?.()??crypto.getRandomValues(n);if(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=o[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(o)}(e,t,r):crypto.randomUUID()}},19622:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}};t.__esModule=!0;var o=r(62368);t.default=function(){function e(){}return e.parseLookupResponse=function(e){return"object"!=typeof(null!=e?e:void 0)?null:e},e.parseBootstrapLookup=function(e){try{var t="string"==typeof e?JSON.parse(e):e;if(Array.isArray(t))return t;if("object"==typeof t)return Object.keys(t)}catch(e){}return null},e.updateIdList=function(e,t,r){var n=r.split(/\r?\n/);if("+"!==r.charAt(0)&&"-"!==r.charAt(0))throw delete e[t],Error("Seek range invalid.");for(var i=0;i<n.length;i++){var o=n[i];if(!(o.length<=1)){var a=o.slice(1).trim();"+"===o.charAt(0)?e[t].ids[a]=!0:"-"===o.charAt(0)&&delete e[t].ids[a]}}},e.removeOldIdLists=function(e,t){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&!Object.prototype.hasOwnProperty.call(t,n)&&r.push(n);for(var i in r)delete e[i]},e.saveToDataAdapter=function(e,t,r,a){return n(this,void 0,void 0,function(){var n,s,l,u,c,f,d,p;return i(this,function(i){switch(i.label){case 0:for(s=0,n=[],l=Object.entries(r);s<l.length;s++){for(p in c=(u=l[s])[0],f=u[1],d="",f.ids)Object.prototype.hasOwnProperty.call(f.ids,p)&&(d+="+".concat(p,"\n"));n.push(t.set((0,o.getDataAdapterKey)(e,o.DataAdapterKeyPath.IDList,o.CompressFormat.PlainText,c),d))}return[4,Promise.all(n)];case 1:return i.sent(),[4,t.set((0,o.getDataAdapterKey)(e,o.DataAdapterKeyPath.V1IDLists),JSON.stringify(a))];case 2:return i.sent(),[2]}})})},e}()},20032:(e,t,r)=>{"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),n=r(39681),i=t,Object.keys(n).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(i,e,{enumerable:!0,get:function(){return n[e]}})})},20566:function(e,t){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}
8)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0,t.StatsigSDKKeyMismatchError=t.StatsigInvalidConfigSpecsResponseError=t.StatsigInvalidIDListsResponseError=t.StatsigInvalidDataAdapterValuesError=t.StatsigInvalidBootstrapValuesError=t.StatsigInitializeIDListsError=t.StatsigInitializeFromNetworkError=t.StatsigLocalModeNetworkError=t.StatsigTooManyRequestsError=t.StatsigInvalidArgumentError=t.StatsigUninitializedError=void 0,t.StatsigUninitializedError=function(e){function t(){var r=e.call(this,"Call and wait for initialize() to finish first.")||this;return Object.setPrototypeOf(r,t.prototype),r}return n(t,e),t}(Error),t.StatsigInvalidArgumentError=function(e){function t(r){var n=e.call(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}return n(t,e),t}(Error),t.StatsigTooManyRequestsError=function(e){function t(r){var n=e.call(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}return n(t,e),t}(Error),t.StatsigLocalModeNetworkError=function(e){function t(){var r=e.call(this,"No network requests in localMode")||this;return Object.setPrototypeOf(r,t.prototype),r}return n(t,e),t}(Error);var i=function(e){function t(r){var n=e.call(this,"statsigSDK::initialize> Failed to initialize from the network".concat(r?": ".concat(r.message):"",". See https://docs.statsig.com/messages/serverSDKConnection for more information"))||this;return Object.setPrototypeOf(n,t.prototype),n}return n(t,e),t}(Error);t.StatsigInitializeFromNetworkError=i,t.StatsigInitializeIDListsError=function(e){function t(t){var r=e.call(this,"statsigSDK::initialize> Failed to initialize id lists".concat(t?": ".concat(t.message):"","."))||this;return Object.setPrototypeOf(r,i.prototype),r}return n(t,e),t}(Error),t.StatsigInvalidBootstrapValuesError=function(e){function t(){var r=e.call(this,"statsigSDK::initialize> the provided bootstrapValues is not a valid JSON string.")||this;return Object.setPrototypeOf(r,t.prototype),r}return n(t,e),t}(Error),t.StatsigInvalidDataAdapterValuesError=function(e){function t(r){var n=e.call(this,"statsigSDK::dataAdapter> Failed to retrieve valid values for ".concat(r,") from the provided data adapter"))||this;return Object.setPrototypeOf(n,t.prototype),n}return n(t,e),t}(Error),t.StatsigInvalidIDListsResponseError=function(e){function t(){var r=e.call(this,"statsigSDK::dataAdapter> Failed to retrieve a valid ID lists response from network")||this;return Object.setPrototypeOf(r,t.prototype),r}return n(t,e),t}(Error),t.StatsigInvalidConfigSpecsResponseError=function(e){function t(){var r=e.call(this,"statsigSDK::dataAdapter> Failed to retrieve a valid config specs response from network")||this;return Object.setPrototypeOf(r,t.prototype),r}return n(t,e),t}(Error),t.StatsigSDKKeyMismatchError=function(e){function t(){var r=e.call(this,"statsigSDK::initialize> SDK key provided in initialize() does not match the one used to generate initialize reponse.")||this;return Object.setPrototypeOf(r,t.prototype),r}return n(t,e),t}(Error)},21421:function(e,t,r){var n,i;n=r(62538),r(91750),n.mode.ECB=((i=n.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),i.Decryptor=i.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),i),e.exports=n.mode.ECB},22156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(68281),i=r(55303),o=r(96771);t.default=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();let a=(e=e||{}).random??e.rng?.()??(0,i.default)();if(a.length<16)throw Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=a[e];return t}return(0,o.unsafeStringify)(a)}},22778:(e,t)=>{"use strict";function r(e,t){let r;if(t?.host&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}
8Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getHostname",{enumerable:!0,get:function(){return r}})},22930:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._makeDataAdapterResult=t.DataAdapterCore=void 0;let i=r(94316),o=r(42768),a=r(8846),s=r(16590),l=r(731);class u{constructor(e,t){this._adapterName=e,this._cacheSuffix=t,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey=`statsig.last_modified_time.${t}`,this._inMemoryCache=new f}attach(e,t,r){this._sdkKey=e,this._options=t}getDataSync(e){let t=e&&(0,a._normalizeUser)(e,this._options),r=this._getCacheKey(t),n=this._inMemoryCache.get(r,t);if(n)return n;let i=this._loadFromCache(r);return i?(this._inMemoryCache.add(r,i),this._inMemoryCache.get(r,t)):null}setData(e,t){let r=t&&(0,a._normalizeUser)(t,this._options),n=this._getCacheKey(r);this._inMemoryCache.add(n,c("Bootstrap",e,null,r))}_getDataAsyncImpl(e,t,r){return n(this,void 0,void 0,function*(){s.Storage.isReady()||(yield s.Storage.isReadyResolver());let n=null!=e?e:this.getDataSync(t),o=[this._fetchAndPrepFromNetwork(n,t,r)];return(null==r?void 0:r.timeoutMs)&&o.push(new Promise(e=>setTimeout(e,r.timeoutMs)).then(()=>(i.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(o)})}_prefetchDataImpl(e,t){return n(this,void 0,void 0,function*(){let r=e&&(0,a._normalizeUser)(e,this._options),n=this._getCacheKey(r),i=yield this._getDataAsyncImpl(null,r,t);i&&this._inMemoryCache.add(n,Object.assign(Object.assign({},i),{source:"Prefetch"}))})}_fetchAndPrepFromNetwork(e,t,r){var a;return n(this,void 0,void 0,function*(){let n=null!=(a=null==e?void 0:e.data)?a:null,s=null!=e&&this._isCachedResultValidFor204(e,t),u=yield this._fetchFromNetwork(n,t,r,s);if(!u)return i.Log.debug("No response returned for latest value"),null;let f=(0,l._typedJsonParse)(u,"has_updates","Response"),d=this._getSdkKey(),p=o.StableID.get(d),h=null;if((null==f?void 0:f.has_updates)===!0)h=c("Network",u,p,t);else{if(!n||(null==f?void 0:f.has_updates)!==!1)return null;h=c("NetworkNotModified",n,p,t)}let g=this._getCacheKey(t);return this._inMemoryCache.add(g,h),this._writeToCache(g,h),h})}_getSdkKey(){return null!=this._sdkKey?this._sdkKey:(i.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(e){var t;let r=null==(t=s.Storage.getItem)?void 0:t.call(s.Storage,e);if(null==r)return null;let n=(0,l._typedJsonParse)(r,"source","Cached Result");return n?Object.assign(Object.assign({},n),{source:"Cache"}):null}_writeToCache(e,t){s.Storage.setItem(e,JSON.stringify(t)),this._runLocalStorageCacheEviction(e)}_runLocalStorageCacheEviction(e){var t;let r=null!=(t=(0,s._getObjectFromStorage)(this._lastModifiedStoreKey))?t:{};r[e]=Date.now();let n=d(r,10);n&&(delete r[n],s.Storage.removeItem(n)),(0,s._setObjectInStorage)(this._lastModifiedStoreKey,r)}}function c(e,t,r,n){return{source:e,data:t,receivedAt:Date.now(),stableID:r,fullUserHash:(0,a._getFullUserHash)(n)}}t.DataAdapterCore=u,t._makeDataAdapterResult=c;class f{constructor(){this._data={}}get(e,t){var r;let n=this._data[e],o=null==n?void 0:n.stableID,a=null==(r=null==t?void 0:t.customIDs)?void 0:r.stableID;return a&&o&&a!==o?(i.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):n}add(e,t){let r=d(this._data,9);r&&delete this._data[r],this._data[e]=t}merge(e){this._data=Object.assign(Object.assign({},this._data),e)}}function d(e,t){let r=Object.keys(e);return r.length<=t?null:r.reduce((t,r)=>{let n=e[t],i=e[r];return"object"==typeof n&&"object"==typeof i?i.receivedAt<n.receivedAt?r:t:i<n?r:t})}},23433:(e,t,r)=>{"use strict";r.d(t,{m:()=>n});let n=["a","actualmente","acuerdo","adelante","ademas","adem\xe1s","adrede","afirm\xf3","agreg\xf3","ahi","ahora","ah\xed","al","algo","alguna","algunas","alguno","algunos","alg\xfan","alli","all\xed","alrededor","ambos","ampleamos","antano","anta\xf1o","ante","anterior","antes","apenas","aproximadamente","aquel","aquella","aquellas","aquello","aquellos","aqui","aqu\xe9l","aqu\xe9lla","aqu\xe9llas","aqu\xe9llos","aqu\xed","arriba","arribaabajo","asegur\xf3","asi","as\xed","atras","aun","aunque","ayer","a\xf1adi\xf3","a\xfan","b","bajo","bastante","bien","breve","buen","buena","buenas","bueno","buenos","c","cada","casi","cerca","cierta","ciertas","cierto","ciertos","cinco","claro","coment\xf3","como","con","conmigo","conocer","conseguimos","conseguir","considera","consider\xf3","consigo","consigue","consiguen","consigues","contigo","contra","cosas","creo","cual","cuales","cualquier","cuando","cuanta","cuantas","cuanto","cuantos","cuatro","cuenta","cu\xe1l","cu\xe1les","cu\xe1ndo","cu\xe1nta","cu\xe1ntas","cu\xe1nto","cu\xe1ntos","c\xf3mo","d","da","dado","dan","dar","de","debajo","debe","deben","debi
8do","decir","dej\xf3","del","delante","demasiado","dem\xe1s","dentro","deprisa","desde","despacio","despues","despu\xe9s","detras","detr\xe1s","dia","dias","dice","dicen","dicho","dieron","diferente","diferentes","dijeron","dijo","dio","donde","dos","durante","d\xeda","d\xedas","d\xf3nde","e","ejemplo","el","ella","ellas","ello","ellos","embargo","empleais","emplean","emplear","empleas","empleo","en","encima","encuentra","enfrente","enseguida","entonces","entre","era","eramos","eran","eras","eres","es","esa","esas","ese","eso","esos","esta","estaba","estaban","estado","estados","estais","estamos","estan","estar","estar\xe1","estas","este","esto","estos","estoy","estuvo","est\xe1","est\xe1n","ex","excepto","existe","existen","explic\xf3","expres\xf3","f","fin","final","fue","fuera","fueron","fui","fuimos","g","general","gran","grandes","gueno","h","ha","haber","habia","habla","hablan","habr\xe1","hab\xeda","hab\xedan","hace","haceis","hacemos","hacen","hacer","hacerlo","haces","hacia","haciendo","hago","han","hasta","hay","haya","he","hecho","hemos","hicieron","hizo","horas","hoy","hubo","i","igual","incluso","indic\xf3","informo","inform\xf3","intenta","intentais","intentamos","intentan","intentar","intentas","intento","ir","j","junto","k","l","la","lado","largo","las","le","lejos","les","lleg\xf3","lleva","llevar","lo","los","luego","lugar","m","mal","manera","manifest\xf3","mas","mayor","me","mediante","medio","mejor","mencion\xf3","menos","menudo","mi","mia","mias","mientras","mio","mios","mis","misma","mismas","mismo","mismos","modo","momento","mucha","muchas","mucho","muchos","muy","m\xe1s","m\xed","m\xeda","m\xedas","m\xedo","m\xedos","n","nada","nadie","ni","ninguna","ningunas","ninguno","ningunos","ning\xfan","no","nos","nosotras","nosotros","nuestra","nuestras","nuestro","nuestros","nueva","nuevas","nuevo","nuevos","nunca","o","ocho","os","otra","otras","otro","otros","p","pais","para","parece","parte","partir","pasada","pasado","pa\xecs","peor","pero","pesar","poca","pocas","poco","pocos","podeis","podemos","poder","podria","podriais","podriamos","podrian","podrias","podr\xe1","podr\xe1n","podr\xeda","podr\xedan","poner","por","porque","posible","primer","primera","primero","primeros","principalmente","pronto","propia","propias","propio","propios","proximo","pr\xf3ximo","pr\xf3ximos","pudo","pueda","puede","pueden","puedo","pues","q","qeu","que","qued\xf3","queremos","quien","quienes","quiere","quiza","quizas","quiz\xe1","quiz\xe1s","qui\xe9n","qui\xe9nes","qu\xe9","r","raras","realizado","realizar","realiz\xf3","repente","respecto","s","sabe","sabeis","sabemos","saben","saber","sabes","salvo","se","sea","sean","segun","segunda","segundo","seg\xfan","seis","ser","sera","ser\xe1","ser\xe1n","ser\xeda","se\xf1al\xf3","si","sido","siempre","siendo","siete","sigue","siguiente","sin","sino","sobre","sois","sola","solamente","solas","solo","solos","somos","son","soy","soyos","su","supuesto","sus","suya","suyas","suyo","s\xe9","s\xed","s\xf3lo","t","tal","tambien","tambi\xe9n","tampoco","tan","tanto","tarde","te","temprano","tendr\xe1","tendr\xe1n","teneis","tenemos","tener","tenga","tengo","tenido","ten\xeda","tercera","ti","tiempo","tiene","tienen","toda","todas","todavia","todav\xeda","todo","todos","total","trabaja","trabajais","trabajamos","trabajan","trabajar","trabajas","trabajo","tras","trata","trav\xe9s","tres","tu","tus","tuvo","tuya","tuyas","tuyo","tuyos","t\xfa","u","ultimo","un","una","unas","uno","unos","usa","usais","usamos","usan","usar","usas","uso","usted","ustedes","v","va","vais","valor","vamos","van","varias","varios","vaya","veces","ver","verdad","verdadera","verdadero","vez","vosotras","vosotros","voy","vuestra","vuestras","vuestro","vuestros","w","x","y","ya","yo","z","\xe9l","\xe9sa","\xe9sas","\xe9se","\xe9sos","\xe9sta","\xe9stas","\xe9ste","\xe9stos","\xfaltima","\xfaltimas","\xfaltimo","\xfaltimos"]},24083:function(e,t,r){var n;n=r(62538),r(15457),r(39491),r(89337),r(91750),function(){var e=n.lib.StreamCipher,t=n.algo,r=[],i=[],o=[],a=t.RabbitLegacy=e.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,0xffff0000&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,0xffff0000&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,0xffff0000&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,0xffff0000&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)s.call(this);for(var i=0;i<8;i++)n[i]^=r[i+4&7];if(t){var o=t.words,a=o[0],l=o[1],u=(a<<8|a>>>
824)&0xff00ff|(a<<24|a>>>8)&0xff00ff00,c=(l<<8|l>>>24)&0xff00ff|(l<<24|l>>>8)&0xff00ff00,f=u>>>16|0xffff0000&c,d=c<<16|65535&u;n[0]^=u,n[1]^=f,n[2]^=c,n[3]^=d,n[4]^=u,n[5]^=f,n[6]^=c,n[7]^=d;for(var i=0;i<4;i++)s.call(this)}},_doProcessBlock:function(e,t){var n=this._X;s.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=(r[i]<<8|r[i]>>>24)&0xff00ff|(r[i]<<24|r[i]>>>8)&0xff00ff00,e[t+i]^=r[i]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];t[0]=t[0]+0x4d34d34d+this._b|0,t[1]=t[1]+0xd34d34d3+ +(t[0]>>>0<i[0]>>>0)|0,t[2]=t[2]+0x34d34d34+ +(t[1]>>>0<i[1]>>>0)|0,t[3]=t[3]+0x4d34d34d+ +(t[2]>>>0<i[2]>>>0)|0,t[4]=t[4]+0xd34d34d3+ +(t[3]>>>0<i[3]>>>0)|0,t[5]=t[5]+0x34d34d34+ +(t[4]>>>0<i[4]>>>0)|0,t[6]=t[6]+0x4d34d34d+ +(t[5]>>>0<i[5]>>>0)|0,t[7]=t[7]+0xd34d34d3+ +(t[6]>>>0<i[6]>>>0)|0,this._b=+(t[7]>>>0<i[7]>>>0);for(var r=0;r<8;r++){var n=e[r]+t[r],a=65535&n,s=n>>>16,l=((a*a>>>17)+a*s>>>15)+s*s,u=((0xffff0000&n)*n|0)+((65535&n)*n|0);o[r]=l^u}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}n.RabbitLegacy=e._createHelper(a)}(),e.exports=n.RabbitLegacy},24982:function(e,t,r){var n,i,o;n=r(62538),r(91750),i=n.lib.CipherParams,o=n.enc.Hex,n.format.Hex={stringify:function(e){return e.ciphertext.toString(o)},parse:function(e){var t=o.parse(e);return i.create({ciphertext:t})}},e.exports=n.format.Hex},25078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InvariantError",{enumerable:!0,get:function(){return r}});class r extends Error{constructor(e,t){super(`Invariant: ${e.endsWith(".")?e:e+"."} This is a bug in Next.js.`,t),Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1179",enumerable:!1,configurable:!0}),this.name="InvariantError"}}},25551:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0,t.ExceptionEndpoint=void 0;var o=i(r(58115)),a=r(20566),s=i(r(5156)),l=r(4052),u=i(r(18778));t.ExceptionEndpoint="https://statsigapi.net/v1/sdk_exception";var c=function(){function e(e,t,r){var n;this.statsigMetadata=(0,l.getStatsigMetadata)(),this.seen=new Set,this.sdkKey=e,this.optionsLoggingCopy=t,this.statsigMetadata.sessionID=r,this.networkOverrideFunc=null!=(n=t.networkOverrideFunc)?n:null}return e.prototype.swallow=function(e,t){this.capture(e,function(){},t)},e.prototype.capture=function(e,t,r){var n=this,i=null;try{i=this.beginMarker(r.caller,r.configName);var o=e(r);if(o instanceof Promise)return o.catch(function(e){return n.onCaught(e,t,r)});return this.endMarker(r.caller,!0,i,r.configName),o}catch(e){return this.endMarker(r.caller,!1,i,r.configName),this.onCaught(e,t,r)}},e.prototype.setup=function(e){this.sdkKey=e},e.prototype.onCaught=function(e,t,r){if(e instanceof a.StatsigUninitializedError||e instanceof a.StatsigInvalidArgumentError||e instanceof a.StatsigTooManyRequestsError)throw e;return e instanceof a.StatsigLocalModeNetworkError||(s.default.error("[Statsig] An unexpected exception occurred.",e),this.logError(e,r)),t(r,e)},e.prototype.logError=function(e,r){var i,o;try{if(!this.sdkKey||this.optionsLoggingCopy.disableAllLogging)return;var a=null!=e?e:Error("[Statsig] Error was empty"),s=a instanceof Error,c=s&&a.name?a.name:"No Name",f=this.seen.has(c);if(!0!==r.bypassDedupe&&f)return;this.seen.add(c);var d=s?a.stack:this.getDescription(a),p=JSON.stringify(n({exception:c,info:d,statsigMetadata:null!=(i=this.statsigMetadata)?i:{},statsigOptions:this.optionsLoggingCopy},r.getContextForLogging()));(null!=(o=this.networkOverrideFunc)?o:u.default)(t.ExceptionEndpoint,{method:"POST",headers:{"STATSIG-API-KEY":this.sdkKey,"STATSIG-SDK-TYPE":(0,l.getSDKType)(),"STATSIG-SDK-VERSION":(0,l.getSDKVersion)(),"Content-Type":"application/json"},body:p}).catch(function(){})}catch(e){}},e.prototype.getDescription=function(e){try{return JSON.stringify(e)}catch(e){return"[Statsig] Failed to get string for error."}},e.prototype.beginMarker=function(e,t){if(null==e)return null;var r=o.default.mark.api_call(e);
8if(!r)return null;var n=o.default.getMarkerCount("api_call"),i="".concat(e,"_").concat(n);return r.start({markerID:i,configName:t},"api_call"),i},e.prototype.endMarker=function(e,t,r,n){if(null!=e){var i=o.default.mark.api_call(e);r&&i&&i.end({markerID:r,success:t,configName:n},"api_call")}},e}();t.default=c},26247:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var a=r(60388),s=o(r(58115)),l=r(20566),u=r(62368),c=o(r(5156)),f=o(r(80530)),d=r(4052),p=r(2881),h=o(r(19622)),g=o(r(18778));t.default=function(){function e(e,t,r){var n,i;this.rulesetsSyncTimerLastActiveTime=Date.now(),this.idListsSyncTimerLastActiveTime=Date.now(),this.rulesetsSyncPromise=function(){return Promise.resolve()},this.idListsSyncPromise=function(){return Promise.resolve()},this.rulesetsSyncFailureCount=0,this.idListsSyncFailureCount=0,this.getIDListCallCount=0,this.clientSDKKeyToAppMap={},this.hashedClientSDKKeyToAppMap={},this.hashedSDKKeysToEntities={},this.fetcher=t,this.rulesUpdatedCallback=null!=(n=r.rulesUpdatedCallback)?n:null,this.lastUpdateTime=0,this.initialUpdateTime=0,this.store={gates:{},configs:{},idLists:{},layers:{},experimentToLayer:{}},this.networkOverrideFunc=null!=(i=r.networkOverrideFunc)?i:null,this.hashedSDKKey=null!=e?(0,p.sha256HashBase64)(e):"undefined",this.rulesetsSyncInterval=r.rulesetsSyncIntervalMs,this.idListsSyncInterval=r.idListsSyncIntervalMs,this.disableRulesetsSync=r.disableRulesetsSync,this.disableIdListsSync=r.disableIdListsSync,this.initialized=!1,this.rulesetsSyncTimer=null,this.idListsSyncTimer=null,this.dataAdapter=r.dataAdapter,this.initReason="Uninitialized",this.bootstrapValues=r.bootstrapValues,this.initStrategyForIDLists=r.initStrategyForIDLists,this.clientSDKKeyToAppMap={},this.hashedClientSDKKeyToAppMap={},this.primaryTargetAppID=null,this.defaultEnvironemnt=null}return e.prototype.getInitReason=function(){return this.initReason},e.prototype.getInitialUpdateTime=function(){return this.initialUpdateTime},e.prototype.getLastUpdateTime=function(){return this.lastUpdateTime},e.prototype.getGate=function(e){var t;return null!=(t=this.store.gates[e])?t:null},e.prototype.getConfig=function(e){var t;return null!=(t=this.store.configs[e])?t:null},e.prototype.getLayer=function(e){var t;return null!=(t=this.store.layers[e])?t:null},e.prototype.getExperimentLayer=function(e){var t;return null!=(t=this.store.experimentToLayer[e])?t:null},e.prototype.getIDList=function(e){var t;return null!=(t=this.store.idLists[e])?t:null},e.prototype.getAllGates=function(){return this.store.gates},e.prototype.getAllConfigs=function(){return this.store.configs},e.prototype.getAllLayers=function(){return this.store.layers},e.prototype.getClientKeyToAppMap=function(){return this.clientSDKKeyToAppMap},e.prototype.getHashedClientKeyToAppMap=function(){return this.hashedClientSDKKeyToAppMap},e.prototype.getHashedSDKKeysToEntities=function(){return this.hashedSDKKeysToEntities},e.prototype.getPrimaryTargetAppID=function(){return this.primaryTargetAppID},e.prototype.getDefaultEnvironment=function(){return this.defaultEnvironemnt},e.prototype.init=function(e){return n(this,void 0,void 0,function(){var t,r,o,a,u,f,d=this;return i(this,function(p){switch(p.label){case 0:if(t=null,!this.dataAdapter)return[3,3];return null!=this.bootstrapValues&&c.default.info("statsigSDK::initialize> Conflict between bootstrap and adapter. Defaulting to adapter."),[4,this.dataAdapter.initialize()];case 1:return p.sent(),[4,this._fetchConfigSpecsFromAdapter()];case 2:o=(r=p.sent()).synced,a=r.error,o&&e.setSuccess("DataAdapter"),a&&e.setFailed(a),p.label=3;case 3:if("Uninitialized"===this.initReason&&null!=this.bootstrapValues){try{s.default.mark.bootstrap.process.start({}),t=JSON.parse(this.bootstrapValues),this._process(t),0!==this.lastUpdateTime&&(this.initReason="Bootstrap",e.setSuccess("Bootstrap"))}catch(t){a=new l.StatsigInvalidBootstrapValuesError,c.default.error(a),e.setFailed(a)}s.default.mark.bootstrap.process.end({success:"Bootstrap"===this.initReason})}if("Uninitialized"!==this.initReason)return[3,5];return[4,this._fetchConfigSpecsFromServer()];case 4:o=(u=p.sent()).synced,a=u.error,o&&e.setSuccess("Network"),a&&(f=new l.StatsigInitializeFromNetworkError(a),c.default.error(f),e.setFailed(f)),p.label=5;case 5:if(this.setInitialUpdateTime(),"lazy"!==this.initStrategyForIDLists)return[3,6];return setTimeout(function(){return n(d,void 0,void 0,function(){return i(this,function(e){switch(e.label){case 0:return[4,this._initIDLists()];case 1:return e.sent(),[2]}})})},0),[3,8];case 6:if("none"===this.initStrategyForIDLists)return[3,8];return[4,this._initIDLists()];case 7:p.sent(),p.label=8;case 8:return this.pollForUpdates(),this.initialized=!0,[2]}})})},e.prototype._initIDLists=function(){return n(this,void 0,void 0,function(){var e,t,r;return i(this,function(n){switch(n.label){case 0:if(!this.dataAdapter)return[3,2];return[4,this.syncIdListsFromDataAdapter()];case 1:return t=n.sent(),[3,4];case 2:return[4,this.syncIdListsFromNetwork()];case 3:t=n.sent(),n.label=4;case 4:if(!(e=t.error))return[3,7];if(!this.dataAdapter)return[3,6];return[4,this.syncIdListsFromNetwork()];case 5:return(r=n.sent().error)&&c.default.error(new l.StatsigInitializeIDListsError(r)),[3,7];case 6:c.default.error(new l.StatsigInitializeIDListsError(e)),n.label=7;case 7:return[2]}})})},e.prototype.resetSyncTimerIfExited=function(){var e=this.rulesetsSyncTimerLastActiveTime
8<Date.now()-Math.max(12e4,this.rulesetsSyncInterval),t=this.idListsSyncTimerLastActiveTime<Date.now()-Math.max(12e4,this.idListsSyncInterval);if((!e||this.disableRulesetsSync)&&(!t||this.disableIdListsSync))return null;var r="";return e&&!this.disableRulesetsSync&&(this.clearRulesetsSyncTimer(),r=r.concat("Force reset sync timer. Last update time: ".concat(this.rulesetsSyncTimerLastActiveTime,", now: ").concat(Date.now()))),t&&!this.disableIdListsSync&&(this.clearIdListsSyncTimer(),r=r.concat("Force reset id list sync timer. Last update time: ".concat(this.idListsSyncTimerLastActiveTime,", now: ").concat(Date.now()))),this.pollForUpdates(),Error(r)},e.prototype.isServingChecks=function(){return 0!==this.lastUpdateTime},e.prototype._fetchConfigSpecsFromServer=function(){return n(this,void 0,void 0,function(){var e,t,r,n,o,a;return i(this,function(i){switch(i.label){case 0:return i.trys.push([0,5,,6]),e=void 0,[4,this.fetcher.downloadConfigSpecs(this.lastUpdateTime)];case 1:return e=i.sent(),s.default.mark.downloadConfigSpecs.process.start({}),[4,e.text()];case 2:if(t=i.sent(),n=(r=this._process(JSON.parse(t))).success,o=r.hasUpdates,!n)return[2,{synced:!1,error:new l.StatsigInvalidConfigSpecsResponseError}];if(this.initReason="Network",null!=this.rulesUpdatedCallback&&"function"==typeof this.rulesUpdatedCallback&&this.rulesUpdatedCallback(t,this.lastUpdateTime),!o)return[3,4];return[4,this._saveConfigSpecsToAdapter(t)];case 3:i.sent(),s.default.mark.downloadConfigSpecs.process.end({success:"Network"===this.initReason}),i.label=4;case 4:return[2,{synced:!0}];case 5:if((a=i.sent())instanceof l.StatsigLocalModeNetworkError)return[2,{synced:!1}];return[2,{synced:!1,error:a}];case 6:return[2]}})})},e.prototype._fetchConfigSpecsFromAdapter=function(){return n(this,void 0,void 0,function(){var e,t,r,n;return i(this,function(i){switch(i.label){case 0:if(i.trys.push([0,2,,3]),!this.dataAdapter)return[2,{synced:!1}];return[4,this.dataAdapter.get((0,u.getDataAdapterKey)(this.hashedSDKKey,u.DataAdapterKeyPath.V1Rulesets))];case 1:if(t=(e=i.sent()).result,r=e.error,t&&!r&&(n="string"==typeof t?JSON.parse(t):t,this._process(n).success))return this.initReason="DataAdapter",[2,{synced:!0}];return[2,{synced:!1,error:new l.StatsigInvalidDataAdapterValuesError(u.DataAdapterKeyPath.V1Rulesets)}];case 2:return[2,{synced:!1,error:i.sent()}];case 3:return[2]}})})},e.prototype._saveConfigSpecsToAdapter=function(e){return n(this,void 0,void 0,function(){return i(this,function(t){switch(t.label){case 0:if(!this.dataAdapter)return[2];return[4,this.dataAdapter.set((0,u.getDataAdapterKey)(this.hashedSDKKey,u.DataAdapterKeyPath.V1Rulesets),e,this.lastUpdateTime)];case 1:return t.sent(),[2]}})})},e.prototype.pollForUpdates=function(){var e=this;null!=this.rulesetsSyncTimer||this.disableRulesetsSync||(this.rulesetsSyncTimerLastActiveTime=Date.now(),this.rulesetsSyncPromise=function(){return n(e,void 0,void 0,function(){return i(this,function(e){switch(e.label){case 0:return this.rulesetsSyncTimerLastActiveTime=Date.now(),[4,this.syncConfigSpecs()];case 1:return e.sent(),[2]}})})},this.rulesetsSyncTimer=(0,d.poll)(this.rulesetsSyncPromise,this.rulesetsSyncInterval)),null!=this.idListsSyncTimer||this.disableIdListsSync||(this.idListsSyncTimerLastActiveTime=Date.now(),this.idListsSyncPromise=function(){return n(e,void 0,void 0,function(){return i(this,function(e){switch(e.label){case 0:return this.idListsSyncTimerLastActiveTime=Date.now(),[4,this.syncIdLists()];case 1:return e.sent(),[2]}})})},this.idListsSyncTimer=(0,d.poll)(this.idListsSyncPromise,this.idListsSyncInterval))},e.prototype.logDiagnostics=function(e,t){if(this.initialized)switch(e){case"config_sync":s.default.logDiagnostics("config_sync",{type:t});break;case"initialize":s.default.logDiagnostics("initialize",{type:"initialize"})}},e.prototype.syncConfigSpecs=function(){var e;return n(this,void 0,void 0,function(){var t,r,n,o,a,s;return i(this,function(i){switch(i.label){case 0:if(!(r=(null==(e=null==(t=this.dataAdapter)?void 0:t.supportsPollingUpdatesFor)?void 0:e.call(t,u.DataAdapterKeyPath.V1Rulesets))===!0))return[3,2];return[4,this._fetchConfigSpecsFromAdapter()];case 1:return s=i.sent(),[3,4];case 2:return[4,this._fetchConfigSpecsFromServer()];case 3:s=i.sent(),i.label=4;case 4:return o=(n=s).synced,a=n.error,o?this.rulesetsSyncFailureCount=0:a&&(c.default.debug(a),this.rulesetsSyncFailureCount++,this.rulesetsSyncFailureCount*this.rulesetsSyncInterval>12e4&&(c.default.warn("statsigSDK::sync> Syncing the server SDK from the \n          ".concat(r?"data adapter":"network","\n           has failed for  \n           ").concat(this.rulesetsSyncFailureCount*this.rulesetsSyncInterval,"\n          ms. Your sdk will continue to serve gate/config/experiment definitions as of the last successful sync. See https://docs.statsig.com/messages/serverSDKConnection for more information")),this.rulesetsSyncFailureCount=0)),this.logDiagnostics("config_sync","config_spec"),[2]}})})},e.prototype.syncIdLists=function(){var e;return n(this,void 0,void 0,function(){var t,r,n,o;return i(this,function(i){switch(i.label){case 0:if("none"===this.initStrategyForIDLists)return[2];if(!(r=(null==(e=null==(t=this.dataAdapter)?void 0:t.supportsPollingUpdatesFor)?void 0:e.call(t,u.DataAdapterKeyPath.V1IDLists))===!0))return[3,2];return[4,this.syncIdListsFromDataAdapter()];case 1:return o=i.sent(),[3,4];case 2:return[4,this.syncIdListsFromNetwork()];case 3:o=i.sent(),i.label=4;case 4:if(n=o,!(r&&n.error))return[3,6];return c.default.debug(n.error),c.default.debug("Failed to sync ID lists with data adapter. Retrying with network"),[4,this.syncIdListsFromNetwork()];case 5:n=i.sent(),i.label=6;case 6:return n.synced?this.idListsSyncFailureCount=0:n.error&&(c.default.debug(n.error),this.idListsSyncFailureCount++,this.idListsSyncFailureCount*this.idListsSyncInterval>12e4&&(c.default.warn("statsigSDK::sync> Syncing ID lists from the \n          ".concat(r?"data adapter":"network"," \n          has failed for  ").concat(this.idListsSyncFailureCount*this.idListsSyncInterval,"\n          ms. The SDK will continue to serve gate/config/experiment definitions that depend on ID lists as of the last successful sync. See https://docs.statsig.com/messages/serverSDKConnection for more information")),this.idListsSyncFailureCount=0)),this.logDiagnostics("config_sync","id_list"),[2]}})})},e.prototype._process=function(e){var t,r,n,i,o,l,u=e.hashed_sdk_key_used;
8if(null!=u&&"string"==typeof u&&!this.fetcher.validateSDKKeyUsed(u))return{success:!1,hasUpdates:!0};if(!(null==e?void 0:e.has_updates))return{success:!0,hasUpdates:!1};if((null==e?void 0:e.time)!==void 0&&e.time<this.lastUpdateTime)return{success:!0,hasUpdates:!0};var c={},d={},p={},h=null==e?void 0:e.feature_gates,g=null==e?void 0:e.dynamic_configs,y=null==e?void 0:e.layer_configs,b=null==e?void 0:e.layers,v=null==e?void 0:e.diagnostics;if(s.default.instance.setSamplingRate(v),!Array.isArray(h)||!Array.isArray(g)||!Array.isArray(y))return{success:!1,hasUpdates:!0};for(var m=0;m<h.length;m++){var _=h[m];try{var x=new a.ConfigSpec(_);c[x.name]=x}catch(e){return{success:!1,hasUpdates:!0}}}for(var w=0;w<g.length;w++){var S=g[w];try{var E=new a.ConfigSpec(S);d[E.name]=E}catch(e){return{success:!1,hasUpdates:!0}}}for(var k=0;k<y.length;k++){var O=y[k];try{var E=new a.ConfigSpec(O);p[E.name]=E}catch(e){return{success:!1,hasUpdates:!0}}}f.default.setFlags(null==e?void 0:e.sdk_flags);var A=this._reverseLayerExperimentMapping(b);return this.store.gates=c,this.store.configs=d,this.store.layers=p,this.store.experimentToLayer=A,this.lastUpdateTime=null!=(t=e.time)?t:this.lastUpdateTime,this.clientSDKKeyToAppMap=null!=(r=null==e?void 0:e.sdk_keys_to_app_ids)?r:{},this.hashedClientSDKKeyToAppMap=null!=(n=null==e?void 0:e.hashed_sdk_keys_to_app_ids)?n:{},this.hashedSDKKeysToEntities=null!=(i=null==e?void 0:e.hashed_sdk_keys_to_entities)?i:{},this.primaryTargetAppID=null!=(o=null==e?void 0:e.app_id)?o:null,this.defaultEnvironemnt=null!=(l=null==e?void 0:e.default_environment)?l:null,{success:!0,hasUpdates:!0}},e.prototype._reverseLayerExperimentMapping=function(e){var t={};if(null!=e&&"object"==typeof e)for(var r=0,n=Object.entries(e);r<n.length;r++)for(var i=n[r],o=i[0],a=i[1],s=0;s<a.length;s++)t[a[s]]=o;return t},e.prototype.syncIdListsFromDataAdapter=function(){return n(this,void 0,void 0,function(){var e,t,r,n,o,a,s,f=this;return i(this,function(i){switch(i.label){case 0:if(i.trys.push([0,3,,4]),!(e=this.dataAdapter))return[2,{synced:!1}];return[4,e.get((0,u.getDataAdapterKey)(this.hashedSDKKey,u.DataAdapterKeyPath.V1IDLists))];case 1:if(!(t=i.sent().result)||!(r=h.default.parseBootstrapLookup(t)))return[2,{synced:!1,error:new l.StatsigInvalidDataAdapterValuesError(u.DataAdapterKeyPath.V1IDLists)}];for(n=[],o=function(t){n.push(new Promise(function(r,n){e.get((0,u.getDataAdapterKey)(f.hashedSDKKey,u.DataAdapterKeyPath.IDList,u.CompressFormat.PlainText,t)).then(function(e){var r=e.result;if(!r||"string"!=typeof r)return n(new l.StatsigInvalidDataAdapterValuesError(u.DataAdapterKeyPath.V1Rulesets));f.store.idLists[t]={ids:{},readBytes:0,url:"bootstrap",fileID:"bootstrap",creationTime:0},h.default.updateIdList(f.store.idLists,t,r)}).catch(function(e){c.default.debug(e)}).finally(function(){return r()})}))},a=0,s=r;a<s.length;a++)o(s[a]);return[4,Promise.all(n)];case 2:return i.sent(),[2,{synced:!0}];case 3:return[2,{synced:!1,error:i.sent()}];case 4:return[2]}})})},e.prototype.syncIdListsFromNetwork=function(){var e,t,r,o,a;return n(this,void 0,void 0,function(){var n,u,c,f,d,p,g,y,b,v,m,_,x,w,S,E,k;return i(this,function(i){switch(i.label){case 0:n=null,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.fetcher.getIDLists()];case 2:return n=i.sent(),[3,4];case 3:if((u=i.sent())instanceof l.StatsigLocalModeNetworkError)return[2,{synced:!1}];return[2,{synced:!1,error:u}];case 4:if(!n)return[2,{synced:!1}];i.label=5;case 5:return i.trys.push([5,10,11,12]),[4,n.json()];case 6:if(f=i.sent(),!(d=h.default.parseLookupResponse(f)))return[2,{synced:!1,error:new l.StatsigInvalidIDListsResponseError}];for(s.default.mark.getIDListSources.process.start({idListCount:Object.keys(d).length}),p=[],g=0,y=Object.entries(d);g<y.length;g++)v=(b=y[g])[0],_=(m=b[1]).url,x=m.fileID,w=m.creationTime,S=null!=(t=null==(e=this.store.idLists[v])?void 0:e.creationTime)?t:0,"string"==typeof _&&!(w<S)&&"string"==typeof x&&(E=x!==(null==(r=this.store.idLists[v])?void 0:r.fileID)&&w>=S,(Object.prototype.hasOwnProperty.call(d,v)&&!Object.prototype.hasOwnProperty.call(this.store.idLists,v)||E)&&(this.store.idLists[v]={ids:{},readBytes:0,url:_,fileID:x,creationTime:w}),(null!=(o=m.size)?o:0)<=(k=null!=(a=this.store.idLists[v].readBytes)?a:0)||p.push(this.genFetchIDList(v,_,k)));return h.default.removeOldIdLists(this.store.idLists,d),[4,Promise.all(p.map(function(e){return e.catch()}))];case 7:if(i.sent(),!this.dataAdapter)return[3,9];return[4,h.default.saveToDataAdapter(this.hashedSDKKey,this.dataAdapter,this.store.idLists,d)];case 8:i.sent(),i.label=9;case 9:return[3,12];case 10:return c=i.sent(),[3,12];case 11:return s.default.mark.getIDListSources.process.end({success:!c}),[7];case 12:return[2,{synced:!c,error:c}]}})})},e.prototype.genFetchIDList=function(e,t,r){var o,a;return n(this,void 0,void 0,function(){var n,l,u,f,d,p,y,b,v,m;return i(this,function(i){switch(i.label){case 0:n=!1,l=null,++this.getIDListCallCount,u=String(this.getIDListCallCount),f=this.getIDListCallCount%50==1?s.default.mark.getIDList:null,i.label=1;case 1:return i.trys.push([1,3,4,5]),null==f||f.networkRequest.start({url:t,markerID:u}),[4,(null!=(o=this.networkOverrideFunc)?o:g.default)(t,{method:"GET",headers:{Range:"bytes=".concat(r,"-")}})];case 2:return l=i.sent(),[3,5];case 3:return i.sent(),n=!0,[3,5];case 4:return null==f||f.networkRequest.end({statusCode:null==l?void 0:l.status,success:null!=(a=null==l?void 0:l.ok)&&a,markerID:u}),[7];case 5:if(n||!l)return[2];i.label=6;case 6:if(i.trys.push([6,8,,9]),null==f||f.process.start({markerID:u}),null==(d=l.headers.get("content-length")))throw Error("Content-Length for the id list is invali
8d.");if("number"==typeof(p=parseInt(d)))this.store.idLists[e].readBytes+=p;else throw delete this.store.idLists[e],Error("Content-Length for the id list is invalid.");return b=(y=h.default).updateIdList,v=[this.store.idLists,e],[4,l.text()];case 7:return b.apply(y,v.concat([i.sent()])),null==f||f.process.end({success:!0,markerID:u}),[3,9];case 8:return m=i.sent(),c.default.debug(m),null==f||f.process.end({success:!1,markerID:u}),[3,9];case 9:return[2]}})})},e.prototype.shutdown=function(){var e;this.clearTimers(),null==(e=this.dataAdapter)||e.shutdown()},e.prototype.shutdownAsync=function(){return n(this,void 0,void 0,function(){return i(this,function(e){switch(e.label){case 0:return this.shutdown(),[4,this.rulesetsSyncPromise()];case 1:return e.sent(),[4,this.idListsSyncPromise()];case 2:return e.sent(),[2]}})})},e.prototype.clearRulesetsSyncTimer=function(){null!=this.rulesetsSyncTimer&&(clearInterval(this.rulesetsSyncTimer),this.rulesetsSyncTimer=null)},e.prototype.clearIdListsSyncTimer=function(){null!=this.idListsSyncTimer&&(clearInterval(this.idListsSyncTimer),this.idListsSyncTimer=null)},e.prototype.clearTimers=function(){this.clearRulesetsSyncTimer(),this.clearIdListsSyncTimer()},e.prototype.setInitialUpdateTime=function(){this.initialUpdateTime=0===this.lastUpdateTime?-1:this.lastUpdateTime},e}()},26801:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(e,t,n){for(var i,o=[],a=t;a<n;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},27626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigUser=void 0;let n=r(12115),i=r(32809),o=r(29334);function a(e){return e.getContext().user}t.useStatsigUser=function(){let{client:e}=(0,o.useStatsigClient)(),{renderVersion:t}=(0,n.useContext)(i.default);return{user:(0,n.useMemo)(()=>a(e),[e,t]),updateUserSync:(0,n.useCallback)(t=>("function"==typeof t&&(t=t(a(e))),e.updateUserSync(t)),[e]),updateUserAsync:(0,n.useCallback)(t=>("function"==typeof t&&(t=t(a(e))),e.updateUserAsync(t)),[e])}}},27745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},28978:function(e,t,r){var n;n=r(62538),r(91750),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,r,n){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var a=0;a<r;a++)e[t+a]^=i[a]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize;t.call(this,e,r,i,n),this._prevBlock=e.slice(r,r+i)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=e.slice(r,r+i);t.call(this,e,r,i,n),this._prevBlock=o}}),e}(),e.exports=n.mode.CFB},29334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigClient=void 0;let n=r(12115),i=r(69930),o=r(84153),a=r(32809);t.useStatsigClient=function(){let{client:e,renderVersion:t,isLoading:r}=(0,n.useContext)(a.default),s=(0,n.useMemo)(()=>(0,o.isNoopClient)(e)?(i.Log.warn("Attempting to retrieve a StatsigClient but none was set."),o.NoopEvaluationsClient):e,[e,t]),l=[s,t],u=(0,n.useCallback)((e,t)=>s.checkGate(e,t),l),c=(0,n.useCallback)((e,t)=>s.getFeatureGate(e,t),l),f=(0,n.useCallback)((e,t)=>s.getDynamicConfig(e,t),l),d=(0,n.useCallback)((e,t)=>s.getExperiment(e,t),l),p=(0,n.useCallback)((e,t)=>s.getLayer(e,t),l),h=(0,n.useCallback)((e,t)=>s.getParameterStore(e,t),l),g=(0,n.useCallback)((e,t,r)=>"string"==typeof e?s.logEvent(e,t,r):s.logEvent(e),l);return(0,n.useMemo)(()=>({client:s,checkGate:u,getFeatureGate:c,getDynamicConfig:f,getExperiment:d,getLayer:p,getParameterStore:h,logEvent:g,isLoading:r}),[s,u,c,f,d,p,h,g,r])}},29472:function(e,t,r){var n,i,o;n=r(62538),r(91750),n.mode.CTR=(o=(i=n.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var a=o.slice(0);r.encryptBlock(a,0),o[n-1]=o[n-1]+1|0;for(var s=0;s<n;s++)e[t+s]^=a[s]}}),i.Decryptor=o,i),e.exports=n.mode.CTR},30425:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}
8,a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var s=a(r(58115)),l=a(r(86667)),u=a(r(5156)),c=a(r(80530)),f=r(4052),d=r(48029),p="config_exposure",h="layer_exposure",g="gate_exposure",y="statsig::",b=new Set(["serverTime","configSyncTime","initTime","reason"]);t.default=function(){function e(e,t,r,n,i){var o=this;this.explicitOptions=r,this.optionsLoggiingCopy=n,this.fetcher=e,this.sessionID=i,this.errorBoundary=t,this.queue=[],this.deduper=new Set,this.loggedErrors=new Set,this.flushTimer=(0,f.poll)(function(){o.flush()},r.loggingIntervalMs),this.deduperTimer=(0,f.poll)(function(){o.deduper.clear()},6e4)}return e.prototype.log=function(e,t){if((void 0===t&&(t=null),!this.explicitOptions.localMode&&!this.explicitOptions.disableAllLogging&&e instanceof l.default)&&e.validate()){if(null!=t){if(this.loggedErrors.has(t))return;this.loggedErrors.add(t)}this.queue.push(e.toObject()),this.queue.length>=this.explicitOptions.loggingMaxBufferSize&&this.flush()}},e.prototype.flush=function(e,t){return void 0===e&&(e=!1),i(this,void 0,void 0,function(){var r,i,a=this;return o(this,function(o){return(this.addDiagnosticsMarkers("api_call"),this.addDiagnosticsMarkers("get_client_initialize_response"),0===this.queue.length)?[2,Promise.resolve()]:(r=this.queue,this.queue=[],i={statsigMetadata:n(n({},(0,f.getStatsigMetadata)()),{sessionID:this.sessionID}),events:r},[2,this.fetcher.post(this.explicitOptions.api+"/log_event",i,{retries:e?0:this.explicitOptions.postLogsRetryLimit,backoff:this.explicitOptions.postLogsRetryBackoff,signal:t,compress:!d.GlobalContext.isEdgeEnvironment&&!1===c.default.on("stop_log_event_compression"),additionalHeaders:{"STATSIG-EVENT-COUNT":String(r.length)}}).then(function(){return Promise.resolve()}).catch(function(e){return a.errorBoundary.logError(Error("Log event failed"),d.StatsigContext.new({caller:"statsig::log_event_failed",eventCount:r.length,bypassDedupe:!0})),(null==e?void 0:e.name)==="AbortError"&&u.default.debug("Request to log_event aborted"),Promise.resolve()})])})})},e.prototype.shutdown=function(e){return i(this,void 0,void 0,function(){var t,r;return o(this,function(n){switch(n.label){case 0:if(null!=this.flushTimer&&(clearInterval(this.flushTimer),this.flushTimer=null),null!=this.deduperTimer&&(clearInterval(this.deduperTimer),this.deduperTimer=null),null==e)return[3,2];return t=new AbortController,r=setTimeout(function(){return t.abort()},e),[4,this.flush(!0,t.signal)];case 1:return n.sent(),clearTimeout(r),[3,4];case 2:return[4,this.flush(!0)];case 3:n.sent(),n.label=4;case 4:return[2]}})})},e.prototype.logStatsigInternal=function(e,t,r,n,i){if(void 0===n&&(n=null),void 0===i&&(i=null),this.isUniqueExposure(e,t,r)){var o=new l.default(y+t);null!=e&&o.setUser(e),null!=r&&o.setMetadata(r),null!=n&&o.setSecondaryExposures(n),null!=i&&o.setValue(i),(null==r?void 0:r.error)!=null?this.log(o,t+r.error):this.log(o)}},e.prototype.logGateExposure=function(e,t,r,n){var i=this.getGateExposureMetadata(t,r,n);this.logStatsigInternal(e,g,i,r.secondary_exposures)},e.prototype.getGateExposureMetadata=function(e,t,r){var n={gate:e,gateValue:String(t.value),ruleID:t.rule_id};return null!=t.configVersion&&(n.configVersion=String(t.configVersion)),this.maybeAddManualExposureFlagToMetadata(n,r),this.safeAddEvaulationDetailsToEvent(n,t.evaluation_details),n},e.prototype.getGateExposure=function(e,t,r,n){var i=this.getGateExposureMetadata(t,r,n),o=new l.default(y+g);return o.setUser(e),o.setMetadata(i),o.setSecondaryExposures(r.secondary_exposures),o},e.prototype.logConfigExposure=function(e,t,r,n){var i=this.getConfigExposureMetadata(t,r,n);this.logStatsigInternal(e,p,i,r.secondary_exposures)},e.prototype.getConfigExposure=function(e,t,r,n){var i=new l.default(y+p);return i.setUser(e),i.setMetadata(this.getConfigExposureMetadata(t,r,n)),i.setSecondaryExposures(r.secondary_exposures),i},e.prototype.getConfigExposureMetadata=function(e,t,r){var n={config:e,ruleID:t.rule_id,rulePassed:String(t.value)};return null!=t.configVersion&&(n.configVersion=String(t.configVersion)),this.maybeAddManualExposureFlagToMetadata(n,r),this.safeAddEvaulationDetail
8sToEvent(n,t.evaluation_details),n},e.prototype.logLayerExposure=function(e,t,r,n,i){var o,a,s=n.undelegated_secondary_exposures;null!=(a=null==(o=n.explicit_parameters)?void 0:o.includes(r))&&a&&(s=n.secondary_exposures);var l=this.getLayerExposureMetadata(t,r,n,i);this.logStatsigInternal(e,h,l,s)},e.prototype.getLayerExposureMetadata=function(e,t,r,n){var i,o,a,s="",l=null!=(o=null==(i=r.explicit_parameters)?void 0:i.includes(t))&&o;l&&(s=null!=(a=r.config_delegate)?a:"");var u={config:e,ruleID:r.rule_id,allocatedExperiment:s,parameterName:t,isExplicitParameter:String(l)};return null!=r.configVersion&&(u.configVersion=String(r.configVersion)),this.maybeAddManualExposureFlagToMetadata(u,n),this.safeAddEvaulationDetailsToEvent(u,r.evaluation_details),u},e.prototype.getLayerExposure=function(e,t,r,n,i){var o,a,s=n.undelegated_secondary_exposures;null!=(a=null==(o=n.explicit_parameters)?void 0:o.includes(r))&&a&&(s=n.secondary_exposures);var u=new l.default(y+h);return u.setMetadata(this.getLayerExposureMetadata(t,r,n,i)),u.setSecondaryExposures(s),u.setUser(e),u},e.prototype.logConfigDefaultValueFallback=function(e,t,r){this.logStatsigInternal(e,"default_value_type_mismatch",r,null,t)},e.prototype.maybeAddManualExposureFlagToMetadata=function(e,t){t&&(e.isManualExposure="true")},e.prototype.safeAddEvaulationDetailsToEvent=function(e,t){t&&(e.reason=t.reason,e.configSyncTime=t.configSyncTime,e.initTime=t.initTime,e.serverTime=t.serverTime)},e.prototype.isUniqueExposure=function(e,t,r){if(null==e)return!0;var n="";e.customIDs&&"object"==typeof e.customIDs&&(n=Object.values(e.customIDs).join());var i="";r&&"object"==typeof r&&(i=Object.entries(r).filter(function(e){var t=e[0];return e[1],!b.has(t)}).map(function(e){return e[0],e[1]}).join());var o=[e.userID,n,t,i].join();return!this.deduper.has(o)&&(this.deduper.add(o),this.deduper.size>1e5&&this.deduper.clear(),!0)},e.prototype.logDiagnosticsEvent=function(e,t){if(void 0===t&&(t=null),0!==e.markers.length&&!this.explicitOptions.localMode){var r=n(n({},e),{statsigOptions:"initialize"===e.context?this.optionsLoggiingCopy:void 0}),i=new l.default(y+"diagnostics");i.setDiagnosticsMetadata(r),null!=t&&i.setUser(t),this.queue.push(i.toObject())}},e.prototype.addDiagnosticsMarkers=function(e){if(s.default.instance.getShouldLogDiagnostics(e)){var t=s.default.instance.getMarker(e);this.logDiagnosticsEvent({context:e,markers:t})}s.default.instance.clearMarker(e)},e}()},30939:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClientBase=void 0,r(44801);let i=r(44801),o=r(13930),a=r(85226),s=r(94316),l=r(1107),u=r(77612),c=r(61635),f=r(42768),d=r(60952),p=r(16590);class h{constructor(e,t,r,n){var l,d,h,g;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};const y=this.$emt.bind(this);(null==n?void 0:n.logLevel)!=null&&(s.Log.level=n.logLevel),(null==n?void 0:n.disableStorage)&&p.Storage._setDisabled(!0),(null==n?void 0:n.initialSessionID)&&c.StatsigSession.overrideInitialSessionID(n.initialSessionID,e),(null==n?void 0:n.storageProvider)&&p.Storage._setProvider(n.storageProvider),(null==n?void 0:n.enableCookies)&&f.StableID._setCookiesEnabled(e,n.enableCookies),(null==n?void 0:n.disableStableID)&&f.StableID._setDisabled(e,!0),this._sdkKey=e,this._options=null!=n?n:{},this._memoCache={},this.overrideAdapter=null!=(l=null==n?void 0:n.overrideAdapter)?l:null,this._logger=new a.EventLogger(e,y,r,n),this._errorBoundary=new o.ErrorBoundary(e,n,y),this._errorBoundary.wrap(this),this._errorBoundary.wrap(t),this._errorBoundary.wrap(this._logger),r.setErrorBoundary(this._errorBoundary),this.dataAdapter=t,this.dataAdapter.attach(e,n,r),this.storageProvider=p.Storage,null==(g=null==(h=null==(d=this.overrideAdapter)?void 0:d.loadFromStorage)?void 0:h.call(d))||g.catch(e=>this._errorBoundary.logError("OA::loadFromStorage",e)),this._primeReadyRipcord(),function(e,t){var r;if((0,u._isServerEnv)())return;let n=(0,i._getStatsigGlobal)(),o=null!=(r=n.instances)?r:{};null!=o[e]&&s.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),o[e]=t,n.firstInstance||(n.firstInstance=t),n.instances=o,__STATSIG__=n}(e,this)}updateRuntimeOptions(e){e.loggingEnabled?(this._options.loggingEnabled=e.loggingEnabled,this._logger.setLoggingEnabled(e.loggingEnabled)):null!=e.disableLogging&&(this._options.disableLogging=e.disableLogging,this._logger.setLoggingEnabled(e.disableLogging?"disabled":"browser-only")),null!=e.disableStorage&&(this._options.disableStorage=e.disableStorage,p.Storage._setDisabled(e.disableStorage)),null!=e.enableCookies&&(this._options.enableCookies=e.enableCookies,f.StableID._setCo
8okiesEnabled(this._sdkKey,e.enableCookies)),e.logEventCompressionMode?this._logger.setLogEventCompressionMode(e.logEventCompressionMode):e.disableCompression&&this._logger.setLogEventCompressionMode(d.LogEventCompressionMode.Disabled)}flush(){return this._logger.flush()}shutdown(){return n(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}off(e,t){if(this._listeners[e]){let r=this._listeners[e].indexOf(t);-1!==r&&this._listeners[e].splice(r,1)}}$on(e,t){t.__isInternal=!0,this.on(e,t)}$emt(e){var t;let r=t=>{try{t(e)}catch(r){if(!0===t.__isInternal)return void this._errorBoundary.logError(`__emit:${e.name}`,r);s.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",e)}};this._listeners[e.name]&&this._listeners[e.name].forEach(e=>r(e)),null==(t=this._listeners["*"])||t.forEach(r)}_setStatus(e,t){this.loadingStatus=e,this._memoCache={},this.$emt({name:"values_updated",status:e,values:t})}_enqueueExposure(e,t,r){(null==r?void 0:r.disableExposureLog)===!0?this._logger.incrementNonExposureCount(e):this._logger.enqueue(t)}_memoize(e,t){return(r,n)=>{if(this._options.disableEvaluationMemoization)return t(r,n);let i=(0,l.createMemoKey)(e,r,n);return i?(i in this._memoCache||(Object.keys(this._memoCache).length>=3e3&&(this._memoCache={}),this._memoCache[i]=t(r,n)),this._memoCache[i]):t(r,n)}}}t.StatsigClientBase=h},30961:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUUID=void 0,t.getUUID=function(){if("u">typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();let e=new Date().getTime(),t="u">typeof performance&&performance.now&&1e3*performance.now()||0,r="89ab"[Math.floor(4*Math.random())];return`xxxxxxxx-xxxx-4xxx-${r}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,r=>{let n=16*Math.random();return e>0?(n=(e+n)%16|0,e=Math.floor(e/16)):(n=(t+n)%16|0,t=Math.floor(t/16)),("x"===r?n:7&n|8).toString(16)})}},31102:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,o={RENDER_STAGE_ADVANCE_ORDER:function(){return c},RenderStage:function(){return u},StagedRenderingController:function(){return h},SyncIOMode:function(){return p},getNextStage:function(){return f},isAdvanceableRenderStage:function(){return d}};for(var a in o)Object.defineProperty(t,a,{enumerable:!0,get:o[a]});let s=r(72299),l=r(4542);var u=((n={})[n.Before=1]="Before",n[n.ShellStatic=11]="ShellStatic",n[n.Static=13]="Static",n[n.ShellRuntime=21]="ShellRuntime",n[n.Runtime=23]="Runtime",n[n.Dynamic=30]="Dynamic",n[n.Abandoned=40]="Abandoned",n);let c=[11,13,21,23,30];function f(e){return c[c.indexOf(e)+1]}function d(e){return 1<e&&e<=30}var p=((i={})[i.Untracked=1]="Untracked",i[i.AllowedInRuntimeOrDynamic=2]="AllowedInRuntimeOrDynamic",i[i.AllowedInDynamic=3]="AllowedInDynamic",i);class h{constructor({abortSignal:e,abandonController:t,syncIO:r,finalStage:n}){this.currentStage=1,this.syncInterruptReason=null,this.triggers={11:y(),13:y(),21:y(),23:y(),30:y()},this.abortSignal=e,this.abandonController=t,this.syncIOMode=r,this.finalStage=n,e&&e.addEventListener("abort",()=>{let{reason:t}=e;for(let e of Object.values(this.triggers)){var r,n;r=e,n=t,"pending"===r.state&&(r.state="cancelled",r._listeners.length=0,r.promise.catch(g),r._rejectPromise(n))}},{once:!0}),t&&t.signal.addEventListener("abort",()=>{this.abandonRender()},{once:!0})}onStage(e,t){var r,n;r=this.triggers[e],n=t,"pending"===r.state?r._listeners.push(n):n()}shouldTrackSyncInterrupt(){if(1===this.syncIOMode)return!1;switch(this.currentStage){case 1:return!1;case 11:case 13:return!0;case 21:case 23:switch(this.syncIOMode){case 2:return!1;case 3:return!0}case 30:case 40:return!1;default:return this.currentStage,!1}}syncInterruptCurrentStageWithReason(e){let{currentStage:t}=this;if(1!==t&&30!==t&&40!==t){if(this.abandonController)return void this.abandonController.abort();if(this.abortSignal){this.syncInterruptReason=e,this.currentStage=40;return}this.syncInterruptReason=e,this.advanceStage(30)}}getSyncInterruptReason(){return this.syncInterruptReason}getStageEndTime(e){return this.triggers[f(e)].triggeredAt??1/0}abandonRender(){let{currentStage:e}=this;if(1===e)throw Object.defineProperty(new s.InvariantError("A render that hasn't started yet cannot be abandoned"),"__NEXT_ERROR_CODE",{value:"E1300",enumerable:!1,
8configurable:!0});if(30===e||40===e)return;let t=c.indexOf(e)+1,r=c.indexOf(30);for(let e=t;e<r;e++)this.resolveStage(c[e]);this.currentStage=40}advanceStage(e){if(null!==this.finalStage&&e>this.finalStage)throw Object.defineProperty(new s.InvariantError(`Attempted to advance to stage ${u[e]} but the render is limited to ${u[this.finalStage]}`),"__NEXT_ERROR_CODE",{value:"E1302",enumerable:!1,configurable:!0});let{currentStage:t}=this;if(30===t||40===t||e<=t)return;this.currentStage=e;let r=1===t?0:c.indexOf(t)+1,n=c.indexOf(e);for(let e=r;e<=n;e++)this.resolveStage(c[e])}resolveStage(e){var t=this.triggers[e];if("pending"===t.state){t.state="triggered",t.triggeredAt=performance.now()+performance.timeOrigin;try{let{_listeners:e}=t;for(let t=0;t<e.length;t++)e[t]();e.length=0}finally{t._resolvePromise()}}}getStagePromise(e){return this.triggers[e].promise}waitForStage(e){return this.getStagePromise(e)}delayUntilStage(e,t,r){let n=this.getStagePromise(e).then(()=>r);return this.abortSignal&&n.catch(g),n}}function g(){}function y(){let{promise:e,resolve:t,reject:r}=(0,l.createPromiseWithResolvers)();return{state:"pending",triggeredAt:null,promise:e,_listeners:[],_resolvePromise:t,_rejectPromise:r}}},32613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i},32809:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(12115),i=r(84153);t.default=(0,n.createContext)({renderVersion:0,client:i.NoopEvaluationsClient,isLoading:!0})},33155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigInternalClientFactoryBootstrap=void 0;let n=r(12115),i=r(69930);t.useStatsigInternalClientFactoryBootstrap=function(e,t){let r=(0,n.useRef)((0,i._getInstance)(t.sdkKey));return(0,n.useMemo)(()=>{if(r.current)return r.current;let n=e(t);return r.current=n,n.dataAdapter.setData(t.initialValues),n.initializeSync(),n},[])}},33449:function(e,t){"use strict";var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._fetchTxtRecords=void 0;let n=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),i=["i","e","d"];t._fetchTxtRecords=function(e){return r(this,void 0,void 0,function*(){let t=yield e("https://cloudflare-dns.com/dns-query",{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:n});if(!t.ok){let e=Error("Failed to fetch TXT records from DNS");throw e.name="DnsTxtFetchError",e}return function(e){let t=e.findIndex((t,r)=>r<200&&"="===String.fromCharCode(t)&&i.includes(String.fromCharCode(e[r-1])));if(-1===t){let e=Error("Failed to parse TXT records from DNS");throw e.name="DnsTxtParseError",e}let r="";for(let n=t-1;n<e.length;n++)r+=String.fromCharCode(e[n]);return r.split(",")}(new Uint8Array((yield t.arrayBuffer())))})}},34092:function(e,t,r){var n,i,o,a,s,l,u,c,f,d,p,h,g,y,b;n=r(62538),r(15457),r(39491),r(89337),r(91750),i=n.lib.BlockCipher,o=n.algo,a=[],s=[],l=[],u=[],c=[],f=[],d=[],p=[],h=[],g=[],function(){for(var e=[],t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var r=0,n=0,t=0;t<256;t++){var i=n^n<<1^n<<2^n<<3^n<<4;i=i>>>8^255&i^99,a[r]=i,s[i]=r;var o=e[r],y=e[o],b=e[y],v=257*e[i]^0x1010100*i;l[r]=v<<24|v>>>8,u[r]=v<<16|v>>>16,c[r]=v<<8|v>>>24,f[r]=v;var v=0x1010101*b^65537*y^257*o^0x1010100*r;d[i]=v<<24|v>>>8,p[i]=v<<16|v>>>16,h[i]=v<<8|v>>>24,g[i]=v,r?(r=o^e[e[e[b^o]]],n^=e[e[n]]):r=n=1}}(),y=[0,1,2,4,8,16,32,64,128,27,54],b=o.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e,t=this._keyPriorReset=this._key,r=t.words,n=t.sigBytes/4,i=((this._nRounds=n+6)+1)*4,o=this._keySchedule=[],s=0;s<i;s++)s<n?o[s]=r[s]:(e=o[s-1],s%n?n>6&&s%n==4&&(e=a[e>>>24]<<24|a[e>>>16&255]<<16|a[e>>
8>8&255]<<8|a[255&e]):e=(a[(e=e<<8|e>>>24)>>>24]<<24|a[e>>>16&255]<<16|a[e>>>8&255]<<8|a[255&e])^y[s/n|0]<<24,o[s]=o[s-n]^e);for(var l=this._invKeySchedule=[],u=0;u<i;u++){var s=i-u;if(u%4)var e=o[s];else var e=o[s-4];u<4||s<=4?l[u]=e:l[u]=d[a[e>>>24]]^p[a[e>>>16&255]]^h[a[e>>>8&255]]^g[a[255&e]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,l,u,c,f,a)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,d,p,h,g,s);var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,a,s){for(var l=this._nRounds,u=e[t]^r[0],c=e[t+1]^r[1],f=e[t+2]^r[2],d=e[t+3]^r[3],p=4,h=1;h<l;h++){var g=n[u>>>24]^i[c>>>16&255]^o[f>>>8&255]^a[255&d]^r[p++],y=n[c>>>24]^i[f>>>16&255]^o[d>>>8&255]^a[255&u]^r[p++],b=n[f>>>24]^i[d>>>16&255]^o[u>>>8&255]^a[255&c]^r[p++],v=n[d>>>24]^i[u>>>16&255]^o[c>>>8&255]^a[255&f]^r[p++];u=g,c=y,f=b,d=v}var g=(s[u>>>24]<<24|s[c>>>16&255]<<16|s[f>>>8&255]<<8|s[255&d])^r[p++],y=(s[c>>>24]<<24|s[f>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^r[p++],b=(s[f>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&c])^r[p++],v=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[c>>>8&255]<<8|s[255&f])^r[p++];e[t]=g,e[t+1]=y,e[t+2]=b,e[t+3]=v},keySize:8}),n.AES=i._createHelper(b),e.exports=n.AES},35223:function(e,t,r){var n;!function(i){"use strict";var o="function",a="undefined",s="object",l="string",u="major",c="model",f="name",d="type",p="vendor",h="version",g="architecture",y="console",b="mobile",v="tablet",m="smarttv",_="wearable",x="embedded",w="Amazon",S="Apple",E="ASUS",k="BlackBerry",O="Browser",A="Chrome",R="Firefox",I="Google",P="Honor",D="Huawei",j="Microsoft",C="Motorola",T="Nvidia",L="OnePlus",N="Opera",M="OPPO",U="Samsung",B="Sharp",F="Sony",z="Xiaomi",G="Zebra",V="Facebook",q="Chromium OS",K="Mac OS",W=" Browser",$=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},H=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},Z=function(e,t){return typeof e===l&&-1!==X(t).indexOf(X(e))},X=function(e){return e.toLowerCase()},J=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===a?e:e.substring(0,500)},Y=function(e,t){for(var r,n,i,a,l,u,c=0;c<t.length&&!l;){var f=t[c],d=t[c+1];for(r=n=0;r<f.length&&!l&&f[r];)if(l=f[r++].exec(e))for(i=0;i<d.length;i++)u=l[++n],typeof(a=d[i])===s&&a.length>0?2===a.length?typeof a[1]==o?this[a[0]]=a[1].call(this,u):this[a[0]]=a[1]:3===a.length?typeof a[1]!==o||a[1].exec&&a[1].test?this[a[0]]=u?u.replace(a[1],a[2]):void 0:this[a[0]]=u?a[1].call(this,u,a[2]):void 0:4===a.length&&(this[a[0]]=u?a[3].call(this,u.replace(a[1],a[2])):void 0):this[a]=u||void 0;c+=2}},Q=function(e,t){for(var r in t)if(typeof t[r]===s&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(Z(t[r][n],e))return"?"===r?void 0:r}else if(Z(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},ee={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},et={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,h],[/opios[\/ ]+([\w\.]+)/i],[h,[f,N+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[f,N+" GX"]],[/\bopr\/([\w\.]+)/i],[h,[f,N]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[h,[f,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,h],[/quark(?:pc)?\/([-\w\.]+)/i],[h,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[h,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[f,"UC"+O]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[f,"Smart Lenovo "+O]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+O],h],[/\bfocus\/([\w\.]+)/i],[h,[f,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[f,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[f,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[f,"MIUI"+W]
8],[/fxios\/([\w\.-]+)/i],[h,[f,R]],[/\bqihoobrowser\/?([\w\.]*)/i],[h,[f,"360"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],h],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+W],h],[/samsungbrowser\/([\w\.]+)/i],[h,[f,U+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[h,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,h],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[h,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,V],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[f,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,A+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[f,"Android "+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[h,Q,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],h],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[f,R+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[f,[h,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[h,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[g,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[g,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[g,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[g,/ower/,"",X]],[/ sun4\w[;\)]/i],[[g,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[g,X]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[p,U],[d,v]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[p,U],[d,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[p,S],[d,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[p,S],[d,v]],[/(macintosh);/i],[c,[p,S]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[p,B],[d,b]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[c,[p,P],[d,v]],[/honor([-\w ]+)[;\)]/i],[c,[p,P],[d,b]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[c,[p,D],[d,v]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[p,D],[d,b]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[c,/_/g," "],[p,z],[d,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[c,/_/g," "],[p,z],[d,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[p,M],[d,b]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[c,[p,Q,{OnePlus:["304","403","203"],"*":M}],[d,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[p,"Vivo"],[d,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[p,"Realme"],[d,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[p,C],[d,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[p,C],[d,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[p,"LG"],[d,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[p,"LG"],[d,b]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
8(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[c,[p,"Lenovo"],[d,v]],[/(nokia) (t[12][01])/i],[p,c,[d,v]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[c,/_/g," "],[d,b],[p,"Nokia"]],[/(pixel (c|tablet))\b/i],[c,[p,I],[d,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[p,I],[d,b]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[p,F],[d,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[p,F],[d,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[p,L],[d,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[p,w],[d,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[p,w],[d,b]],[/(playbook);[-\w\),; ]+(rim)/i],[c,p,[d,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[p,k],[d,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[p,E],[d,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[p,E],[d,b]],[/(nexus 9)/i],[c,[p,"HTC"],[d,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[c,/_/g," "],[d,b]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[c,[p,"TCL"],[d,v]],[/(itel) ((\w+))/i],[[p,X],c,[d,Q,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[p,"Acer"],[d,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[p,"Meizu"],[d,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[p,"Ulefone"],[d,b]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[p,"Energizer"],[d,b]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[p,"Cat"],[d,b]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[p,"Smartfren"],[d,b]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[p,"Nothing"],[d,b]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[c,[p,"Archos"],[d,v]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[c,[p,"Archos"],[d,b]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[p,c,[d,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[p,c,[d,b]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,c,[d,v]],[/(surface duo)/i],[c,[p,j],[d,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[p,"Fairphone"],[d,b]],[/(u304aa)/i],[c,[p,"AT&T"],[d,b]],[/\bsie-(\w*)/i],[c,[p,"Siemens"],[d,b]],[/\b(rct\w+) b/i],[c,[p,"RCA"],[d,v]],[/\b(venue[\d ]{2,7}) b/i],[c,[p,"Dell"],[d,v]],[/\b(q(?:mv|ta)\w+) b/i],[c,[p,"Verizon"],[d,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[p,"Barnes & Noble"],[d,v]],[/\b(tm\d{3}\w+) b/i],[c,[p,"NuVision"],[d,v]],[/\b(k88) b/i],[c,[p,"ZTE"],[d,v]],[/\b(nx\d{3}j) b/i],[c,[p,"ZTE"],[d,b]],[/\b(gen\d{3}) b.+49h/i],[c,[p,"Swiss"],[d,b]],[/\b(zur\d{3}) b/i],[c,[p,"Swiss"],[d,v]],[/\b((zeki)?tb.*\b) b/i],[c,[p,"Zeki"],[d,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],c,[d,v]],[/\b(ns-?\w{0,9}) b/i],[c,[p,"Insignia"],[d,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[p,"NextBook"],[d,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],c,[d,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],c,[d,b]],[/\b(ph-1) /i],[c,[p,"Essential"],[d,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[p,"Envizen"],[d,v]],[/\b(trio[-\w\. ]+) b/i],[c,[p,"MachSpeed"],[d,v]],[/\btu_(1491) b/i],[c,[p,"Rotor"],[d,v]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[c,[p,T],[d,v]],[/(sprint) (\w+)/i],[p,c,[d,b]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[p,j],[d,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[p,G],[d,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[p,G],[d,b]],[/smart-tv.+(samsung)/i],[p,[d,m]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[p,U],[d,m]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[d,m]],[/(apple) ?tv/i],[p,[c,S+" TV"],[d,m]],[/crkey/i],[[c,A+"cast"],[p,I],[d,m]],[/droid.+aft(\w+)( bui|\))/i],[c,[p,w],[d,m]],[/(shield \w+ tv)/i],[c,[p,T],[d,m]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[p,B],[d,m]],[/(bravia[\w ]+)( bui|\))/i],[c,[p,F],[d,m]],[/(mi(tv|box)-?\w+) bui/i],[c,[p,z],[d,m]],[/Hbbtv.*(technisat) (.*);/i],[p,c,[d,m]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,J],[c,J],[d,m]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[c,[d,m]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,c,[d,y]],[/droid.+; (shield)( bui|\))/i],[c,[p,T],[d,y]],[/(playstation \w+)/i],[c,[p,F],[d,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[p,j],[d,y]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[c,[p,U],[d,_]],[/((pebble))app/i,/(asu
vendor: 4,986 bytes, line 8
8s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[p,c,[d,_]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[c,[p,M],[d,_]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[p,S],[d,_]],[/(opwwe\d{3})/i],[c,[p,L],[d,_]],[/(moto 360)/i],[c,[p,C],[d,_]],[/(smartwatch 3)/i],[c,[p,F],[d,_]],[/(g watch r)/i],[c,[p,"LG"],[d,_]],[/droid.+; (wt63?0{2,3})\)/i],[c,[p,G],[d,_]],[/droid.+; (glass) \d/i],[c,[p,I],[d,_]],[/(pico) (4|neo3(?: link|pro)?)/i],[p,c,[d,_]],[/; (quest( \d| pro)?)/i],[c,[p,V],[d,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[d,x]],[/(aeobc)\b/i],[c,[p,w],[d,x]],[/(homepod).+mac os/i],[c,[p,S],[d,x]],[/windows iot/i],[[d,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[d,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[d,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,b]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[c,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[f,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[f,h],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,h],[/ladybird\//i],[[f,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,h],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[f,[h,Q,ee]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,Q,ee],[f,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,K],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,f],[/(ubuntu) ([\w\.]+) like android/i],[[f,/(.+)/,"$1 Touch"],h],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[f,h],[/\(bb(10);/i],[h,[f,k]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[h,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[f,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[f,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,q],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,h],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,h]]},er=function(e,t){if(typeof e===s&&(t=e,e=void 0),!(this instanceof er))return new er(e,t).getResult();var r=typeof i!==a&&i.navigator?i.navigator:void 0,n=e||(r&&r.userAgent?r.userAgent:""),y=r&&r.userAgentData?r.userAgentData:void 0,m=t?$(et,t):et,_=r&&r.userAgent==n;return this.getBrowser=function(){var e,t={};return t[f]=void 0,t[h]=void 0,Y.call(t,n,m.browser),t[u]=typeof(e=t[h])===l?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0,_&&r&&r.brave&&typeof r.brave.isBrave==o&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[g]=void 0,Y.call(e,n,m.cpu),e},this.getDevice=function(){var e={};return e[p]=void 0,e[c]=void 0,e[d]=void 0,Y.call(e,n,m.device),_&&!e[d]&&y&&y.mobile&&(e[d]=b),_&&"Macintosh"==e[c]&&r&&typeof r.standalone!==a&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[c]="iPad",e[d]=v),e},this.getEngine=function(){var e={};return e[f]=void 0,e[h]=void 0,Y.call(e,n,m.engine),e},this.getOS=function(){var e={};return e[f]=void 0,e[h]=void 0,Y.call(e,n,m.os),_&&!e[f]&&y&&y.platform&&"Unknown"!=y.platform&&(e[f]=y.platform.replace(/chrome os/i,q).replace(/macos/i,K)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===l&&e.length>500?J(e,500):e,this},this.setUA(n),this};er.VERSION="1.0.41",er.BROWSER=H([f,h,u]),er.CPU=H([g]),er.DEVICE=H([c,p,d,y,b,m,v,_,x
8]),er.ENGINE=er.OS=H([f,h]),typeof t!==a?(e.exports&&(t=e.exports=er),t.UAParser=er):r.amdO?void 0===(n=(function(){return er}).call(t,r,t,e))||(e.exports=n):typeof i!==a&&(i.UAParser=er);var en=typeof i!==a&&(i.jQuery||i.Zepto);if(en&&!en.ua){var ei=new er;en.ua=ei.getResult(),en.ua.get=function(){return ei.getUA()},en.ua.set=function(e){ei.setUA(e);var t=ei.getResult();for(var r in t)en.ua[r]=t[r]}}}("object"==typeof window?window:this)},35950:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ClientHookDynamicError:function(){return c},RENDER_STAGES_BY_DATA_KIND:function(){return O},applyOwnerStack:function(){return A},isClientHookDynamicError:function(){return f},isHangingPromiseRejectionError:function(){return a},makeClientHookHangingPromise:function(){return x},makeDevtoolsIOAwarePromise:function(){return k},makeDynamicHangingPromise:function(){return p},makeFallbackParamsHangingPromise:function(){return y},makePromiseFromTrigger:function(){return E},makeRuntimeHangingPromise:function(){return g},makeStageHangingPromise:function(){return b},makeUntrackedHangingPromise:function(){return h},trackFallbackParamsAccessed:function(){return m},trackRuntimeDataAccessed:function(){return v}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(31102);function a(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===s}r(98635),r(64642);let s="HANGING_PROMISE_REJECTION";class l extends Error{constructor(e,t){super(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${e}".`),this.route=e,this.expression=t,this.digest=s}}let u="CLIENT_HOOK_DYNAMIC";class c extends Error{constructor(e,t){super(`Route "${e}": Next.js encountered URL data \`${t}\` in a Client Component outside of \`<Suspense>\`.
9
10This blocks prerendering because the value is only available at runtime.
11
12Ways to fix this:
13  - [stream] Wrap the component in \`<Suspense fallback={...}>\` so the hook value streams in after prerendering
14  - [block] Set \`export const instant = false\` to allow a blocking route
15
16Learn more: https://nextjs.org/docs/messages/blocking-prerender-client-hook`),this.digest=u,Object.defineProperty(this,"__NEXT_ERROR_CODE",{value:"E1433",enumerable:!1,configurable:!0})}}function f(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===u}let d=new WeakMap;function p(e,t,r){return w(e,new l(t,r))}function h(e,t,r){return w(e,new l(t,r))}function g(e,t,r,n){return null!==n&&v(n),w(e,new l(t,r))}function y(e,t,r,n){return null!==n&&m(n),w(e,new l(t,r))}function b(e,t,r,n){return v(n),w(e,new l(t,r))}function v(e){_(e,!1)}function m(e){_(e,!0)}function _(e,t){if("prerender"===e.type){var r;null==(r=e.runtimeDataAccessed)||r.resolve(!0);let n=e.shouldAttemptStaticPrefetch;null===n||t&&e.isFallbackUpgradeable||(n.current=!1)}}function x(e,t){return w(e,t)}function w(e,t){if(e.aborted)return Promise.reject(t);{let r=new Promise((r,n)=>{let i=n.bind(null,t),o=d.get(e);if(o)o.push(i);else{let t=[i];d.set(e,t),e.addEventListener("abort",()=>{for(let e=0;e<t.length;e++)t[e]()},{once:!0})}});return r.catch(S),r}}function S(){}function E(e,t){let r=e.then(()=>t);return r.catch(S),r}function k(e,t,r){return t.stagedRendering?t.stagedRendering.delayUntilStage(r,void 0,e):new Promise(t=>{setTimeout(()=>{t(e)},0)})}let O={sessionData:o.RenderStage.ShellRuntime,staticLinkData:o.RenderStage.Static,runtimeLinkData:o.RenderStage.Runtime};function A(e){return e}},36522:function(e,t,r){var n;n=r(62538),r(91750),n.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,o=r+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.exports=n.pad.Ansix923},36859:(e,t,r)=>{var n=r(49304).Buffer,i=r(41463),o={7492:function(e){e.exports=function(e,r,n){if(e.filter)return e.filter(r,n);if(null==e||"function"!=typeof r)throw TypeError();for(var i=[],o=0;o<e.length;o++)if(t.call(e,o)){var a=e[o];r.call(n,a,o,e)&&i.push(a)}return i};var t=Object.prototype.hasOwnProperty},1648:function(e,t,r){"use strict";var n=r(7797),i=r(4834),o=r(8772);e.exports=r(9095)||n.call(o,i)},4757:function(e,t,r){"use strict";var n=r(7797),i=r(4834),o=r(1648);e.exports=function(){return o(n,i,arguments)}},4834:function(e){"use strict";e.exports=Function.prototype.apply},8772:function(e){"use strict";e.exports=Function.prototype.call},2462:function(e,t,r){"use strict";
16var n=r(7797),i=r(4785),o=r(8772),a=r(1648);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return a(n,o,e)}},9095:function(e){"use strict";e.exports="u">typeof Reflect&&Reflect&&Reflect.apply},2982:function(e,t,r){"use strict";var n=r(1893),i=r(5494),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i(r):r}},5494:function(e,t,r){"use strict";var n=r(3798),i=r(871),o=r(2462),a=r(4757);e.exports=function(e){var t=o(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},i?i(e.exports,"apply",{value:a}):e.exports.apply=a},2071:function(e,t,r){"use strict";var n=r(871),i=r(9546),o=r(4785),a=r(8322);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(n)n(e,t,{configurable:null===u&&f?f.configurable:!u,enumerable:null===s&&f?f.enumerable:!s,value:r,writable:null===l&&f?f.writable:!l});else if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},3859:function(e,t,r){"use strict";var n,i=r(2462),o=r(8322);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!n&&o&&o(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},871:function(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},1247:function(e){"use strict";e.exports=EvalError},6621:function(e){"use strict";e.exports=Error},6136:function(e){"use strict";e.exports=RangeError},252:function(e){"use strict";e.exports=ReferenceError},9546:function(e){"use strict";e.exports=SyntaxError},4785:function(e){"use strict";e.exports=TypeError},1223:function(e){"use strict";e.exports=URIError},8300:function(e){"use strict";e.exports=Object},4680:function(e){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,n,i){if("[object Function]"!==r.call(n))throw TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)n.call(i,e[a],a,e);else for(var s in e)t.call(e,s)&&n.call(i,e[s],s,e)}},6555:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},i=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},o=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var a,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=i(arguments,1),u=r(0,s.length-l.length),c=[],f=0;f<u;f++)c[f]="$"+f;if(a=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=s.apply(this,n(l,arguments));return Object(t)===t?t:this}return s.apply(e,n(l,arguments))}),s.prototype){var d=function(){};d.prototype=s.prototype,a.prototype=new d,d.prototype=null}return a}},7797:function(e,t,r){"use strict";var n=r(6555);e.exports=Function.prototype.bind||n},1893:function(e,t,r){"use strict";var n,i=r(8300),o=r(6621),a=r(1247),s=r(6136),l=r(252),u=r(9546),c=r(4785),f=r(1223),d=r(4197),p=r(4455),h=r(1295),g=r(6949),y=r(2943),b=r(1721),v=r(3536),m=Function,_=function(e){try{return m('"use strict"; return ('+e+").constructor;")()}catch(e){}},x=r(8322),w=r(871),S=function(){throw new c},E=x?function(){try{return arguments.callee,S}catch(e){try{return x(arguments,"callee").get}catch(e){return S}}}():S,k=r(9131)(),O=r(9717),A=r(45),R=r(7767),I=r(4834),P=r(8772),D={},j="u">typeof Uint8Array&&O?O(Uint8Array):n,C={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":k&&O?O([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":D,"%AsyncGenerator%":D,"%AsyncGeneratorFunction%":D,"%AsyncIteratorPrototype%":D,"%Atomics%":"u"<typeof Atomics?n:Atomics,"%BigInt%":"u"<typeof BigInt?n:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"u"<typeof Float16Array?n:Float16Array,"%Float32Array%":"u"<typeof Float32Array?n:Float32Array,"%Float64Array%":"u"<typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":D,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
16IteratorPrototype%":k&&O?O(O([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&k&&O?O((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?n:Promise,"%Proxy%":"u"<typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"u"<typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?n:Set,"%SetIteratorPrototype%":"u">typeof Set&&k&&O?O((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&O?O(""[Symbol.iterator]()):n,"%Symbol%":k?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":E,"%TypedArray%":j,"%TypeError%":c,"%Uint8Array%":"u"<typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?n:Uint32Array,"%URIError%":f,"%WeakMap%":"u"<typeof WeakMap?n:WeakMap,"%WeakRef%":"u"<typeof WeakRef?n:WeakRef,"%WeakSet%":"u"<typeof WeakSet?n:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":I,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":A,"%Math.abs%":d,"%Math.floor%":p,"%Math.max%":h,"%Math.min%":g,"%Math.pow%":y,"%Math.round%":b,"%Math.sign%":v,"%Reflect.getPrototypeOf%":R};if(O)try{null.error}catch(e){var T=O(O(e));C["%Error.prototype%"]=T}var L=function e(t){var r;if("%AsyncFunction%"===t)r=_("async function () {}");else if("%GeneratorFunction%"===t)r=_("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=_("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&O&&(r=O(i.prototype))}return C[t]=r,r},N={__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"]},M=r(7797),U=r(3383),B=M.call(P,Array.prototype.concat),F=M.call(I,Array.prototype.splice),z=M.call(P,String.prototype.replace),G=M.call(P,String.prototype.slice),V=M.call(P,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,K=/\\(\\)?/g,W=function(e){var t=G(e,0,1),r=G(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return z(e,q,function(e,t,r,i){n[n.length]=r?z(i,K,"$1"):t||e}),n},$=function(e,t){var r,n=e;if(U(N,n)&&(n="%"+(r=N[n])[0]+"%"),U(C,n)){var i=C[n];if(i===D&&(i=L(n)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===V(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=W(e),n=r.length>0?r[0]:"",i=$("%"+n+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(n=l[0],F(r,B([0,1],l)));for(var f=1,d=!0;f<r.length;f+=1){var p=r[f],h=G(p,0,1),g=G(p,-1);if(('"'===h||"'"===h||"`"===h||'"'===g||"'"===g||"`"===g)&&h!==g)throw new u("property names with quotes must have matching quotes");if("constructor"!==p&&d||(s=!0),n+="."+p,U(C,o="%"+n+"%"))a=C[o];
16else if(null!=a){if(!(p in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(x&&f+1>=r.length){var y=x(a,p);a=(d=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[p]}else d=U(a,p),a=a[p];d&&!s&&(C[o]=a)}}return a}},45:function(e,t,r){"use strict";e.exports=r(8300).getPrototypeOf||null},7767:function(e){"use strict";e.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},9717:function(e,t,r){"use strict";var n=r(7767),i=r(45),o=r(3859);e.exports=n?function(e){return n(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},8422:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},8322:function(e,t,r){"use strict";var n=r(8422);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},8122:function(e,t,r){"use strict";var n=r(871),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},8564:function(e,t,r){"use strict";var n="u">typeof Symbol&&Symbol,i=r(9094);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},9094:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},9131:function(e,t,r){"use strict";var n="u">typeof Symbol&&Symbol,i=r(6313);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},6313:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3383:function(e,t,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty;e.exports=r(7797).call(n,i)},1638:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},6960:function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r=Object.prototype.toString,n=function(e){return(!t||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===r.call(e)},i=function(e){return!!n(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r.call(e)&&"[object Function]"===r.call(e.callee)},o=function(){return n(arguments)}();n.isLegacyArguments=i,e.exports=o?n:i},8979:function(e){"use strict";var t=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.getPrototypeOf,a=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(e){}}(),s=a?o(a):{};e.exports=function(e){return"function"==typeof e&&(!!n.test(r.call(e))||(i?o(e)===s:"[object GeneratorFunction]"===t.call(e)))}},9572:function(e,t,n){"use strict";var i=n(4680),o=n(3147),a=n(2982),s=a("Object.prototype.toString"),l=n(8564)()&&"symbol"==typeof Symbol.toStringTag,u=o(),c=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return -1},f=a("String.prototype.slice"),d={},p=n(9745),h=Object.getPrototypeOf;l&&p&&h&&i(u,function(e){var t=new r.g[e];
16if(!(Symbol.toStringTag in t))throw EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=h(t),i=p(n,Symbol.toStringTag);i||(i=p(h(n),Symbol.toStringTag)),d[e]=i.get});var g=function(e){var t=!1;return i(d,function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}}),t};e.exports=function(e){return!!e&&"object"==typeof e&&(l?!!p&&g(e):c(u,f(s(e),8,-1))>-1)}},4197:function(e){"use strict";e.exports=Math.abs},4455:function(e){"use strict";e.exports=Math.floor},6128:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},1295:function(e){"use strict";e.exports=Math.max},6949:function(e){"use strict";e.exports=Math.min},2943:function(e){"use strict";e.exports=Math.pow},1721:function(e){"use strict";e.exports=Math.round},3536:function(e,t,r){"use strict";var n=r(6128);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},3798:function(e,t,r){"use strict";var n=r(1893),i=r(2071),o=r(8122)(),a=r(8322),s=r(4785),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>0xffffffff||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},3614:function(e){e.exports=function(e){return e instanceof n}},7551:function(e,t,r){"use strict";var n=r(6960),i=r(8979),o=r(3051),a=r(9572);function s(e){return e.call.bind(e)}var l="u">typeof BigInt,u="u">typeof Symbol,c=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(l)var h=s(BigInt.prototype.valueOf);if(u)var g=s(Symbol.prototype.valueOf);function y(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function b(e){return"[object Map]"===c(e)}function v(e){return"[object Set]"===c(e)}function m(e){return"[object WeakMap]"===c(e)}function _(e){return"[object WeakSet]"===c(e)}function x(e){return"[object ArrayBuffer]"===c(e)}function w(e){return!("u"<typeof ArrayBuffer)&&(x.working?x(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===c(e)}function E(e){return!("u"<typeof DataView)&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"u">typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||E(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},b.working="u">typeof Map&&b(new Map),t.isMap=function(e){return!("u"<typeof Map)&&(b.working?b(e):e instanceof Map)},v.working="u">typeof Set&&v(new Set),t.isSet=function(e){return!("u"<typeof Set)&&(v.working?v(e):e instanceof Set)},m.working="u">typeof WeakMap&&m(new WeakMap),t.isWeakMap=function(e){return!("u"<typeof WeakMap)&&(m.working?m(e):e instanceof WeakMap)},_.working="u">typeof WeakSet&&_(new WeakSet),t.isWeakSet=function(e){return _(e)},x.working="u">typeof ArrayBuffer&&x(new ArrayBuffer),t.isArrayBuffer=w,S.working="u">typeof ArrayBuffer&&"u">typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=E;var k="u">typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===c(e)}function A(e){return void 0!==k&&(void 0===O.working&&(O.working=O(new k)),O.working?O(e):e instanceof k)}function R(e){return y(e,f)}function I(e){return y(e,d)}function P(e){return y(e,p)}function D(e){return l&&y(e,h)}function j(e){return u&&y(e,g)}t.isSharedArrayBuffer=A,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=R,t.isStringObject=I,t.isBooleanObject=P,t.isBigIntObject=D,t.isSymbolObject=j,t.isBoxedPrimitive=function(e){return R(e)||I(e)||P(e)||D(e)||j(e)},t.isAnyArrayBuffer=function(e){return"u">typeof Uint8Array&&(w(e)||A(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},4268:function(e,t,r){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!m(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(u(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r<i;s=n[++r])b(s)||!w(s)?a+=" "+s:a+=" "+u(s);return a},t.deprecate=function(e,r){if(void 0!==i&&!0===i.noDeprecation)return e;if(void 0===i)return function(){return t.deprecate(e,r).apply(this,arguments)};var n=!1;
16return function(){if(!n){if(i.throwDeprecation)throw Error(r);i.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(i.env.NODE_DEBUG){var l=i.env.NODE_DEBUG;s=RegExp("^"+(l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function u(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),_(n.showHidden)&&(n.showHidden=!1),_(n.depth)&&(n.depth=2),_(n.colors)&&(n.colors=!1),_(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),d(n,e,n.depth)}function c(e,t){var r=u.styles[t];return r?"\x1b["+u.colors[r][0]+"m"+e+"\x1b["+u.colors[r][1]+"m":e}function f(e,t){return e}function d(e,r,n){if(e.customInspect&&r&&k(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i,o,a,s,l,u,c=r.inspect(n,e);return m(c)||(c=d(e,c,n)),c}var f=function(e,t){if(_(t))return e.stylize("undefined","undefined");if(m(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return v(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}(e,r);if(f)return f;var w=Object.keys(r),O=(l={},w.forEach(function(e,t){l[e]=!0}),l);if(e.showHidden&&(w=Object.getOwnPropertyNames(r)),E(r)&&(w.indexOf("message")>=0||w.indexOf("description")>=0))return p(r);if(0===w.length){if(k(r)){var A=r.name?": "+r.name:"";return e.stylize("[Function"+A+"]","special")}if(x(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(E(r))return p(r)}var R="",P=!1,D=["{","}"];if(g(r)&&(P=!0,D=["[","]"]),k(r)&&(R=" [Function"+(r.name?": "+r.name:"")+"]"),x(r)&&(R=" "+RegExp.prototype.toString.call(r)),S(r)&&(R=" "+Date.prototype.toUTCString.call(r)),E(r)&&(R=" "+p(r)),0===w.length&&(!P||0==r.length))return D[0]+R+D[1];if(n<0)if(x(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");else return e.stylize("[Object]","special");return e.seen.push(r),u=P?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)I(t,String(a))?o.push(h(e,t,r,n,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(e,t,r,n,i,!0))}),o}(e,r,n,O,w):w.map(function(t){return h(e,r,n,O,t,P)}),e.seen.pop(),i=u,o=R,a=D,s=0,i.reduce(function(e,t){return s++,t.indexOf("\n")>=0&&s++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?a[0]+(""===o?"":o+"\n ")+" "+i.join(",\n  ")+" "+a[1]:a[0]+o+" "+i.join(", ")+" "+a[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),I(n,i)||(a="["+i+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=b(r)?d(e,l.value,null):d(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return"   "+e}).join("\n")):s=e.stylize("[Circular]","special")),_(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function b(e){return null===e}function v(e){return"number"==typeof e}function m(e){return"string"==typeof e}function _(e){return void 0===e}function x(e){return w(e)&&"[object RegExp]"===O(e)}function w(e){return"object"==typeof e&&null!==e}function S(e){return w(e)&&"[object Date]"===O(e)}function E(e){return w(e)&&("[object Error]"===O(e)||e instanceof Error)}function k(e){return"function"==typeof e}function O(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()])if(s.test(e)){var r=i.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(7551),t.isArray=g,t.isBoolean=y,t.isNull=b,t.isNullOrUndefined=function(e){return null==e}
16,t.isNumber=v,t.isString=m,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=_,t.isRegExp=x,t.types.isRegExp=x,t.isObject=w,t.isDate=S,t.types.isDate=S,t.isError=E,t.types.isNativeError=E,t.isFunction=k,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(3614);var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[A((e=new Date).getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":"),[e.getDate(),R[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(1638),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var P="u">typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t=e[P];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=P,t.callbackify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw TypeError("The last argument must be of type Function");var o=this,a=function(){return n.apply(o,arguments)};e.apply(this,t).then(function(e){i.nextTick(a.bind(null,null,e))},function(e){i.nextTick(D.bind(null,e,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,n(e)),t}},3051:function(e,t,n){"use strict";var i=n(4680),o=n(3147),a=n(2982),s=a("Object.prototype.toString"),l=n(8564)()&&"symbol"==typeof Symbol.toStringTag,u=o(),c=a("String.prototype.slice"),f={},d=n(9745),p=Object.getPrototypeOf;l&&d&&p&&i(u,function(e){if("function"==typeof r.g[e]){var t=new r.g[e];if(!(Symbol.toStringTag in t))throw EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=p(t),i=d(n,Symbol.toStringTag);i||(i=d(p(n),Symbol.toStringTag)),f[e]=i.get}});var h=function(e){var t=!1;return i(f,function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}}),t},g=n(9572);e.exports=function(e){return!!g(e)&&(l?h(e):c(s(e),8,-1))}},3147:function(e,t,n){"use strict";var i=n(7492);e.exports=function(){return i(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],function(e){return"function"==typeof r.g[e]})}},9745:function(e,t,r){"use strict";e.exports=r(8322)}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}},n=!0;try{o[e](r,r.exports,s),n=!1}finally{n&&delete a[e]}return r.exports}s.ab="//",e.exports=s(4268)},37166:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={fromNodeOutgoingHttpHeaders:function(){return a},normalizeNextQueryParam:function(){return c},splitCookiesString:function(){return s},toNodeOutgoingHttpHeaders:function(){return l},validateURL:function(){return u}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(7103);function a(e){let t=new Headers;for(let[r,n]of Object.entries(e))for(let e of Array.isArray(n)?n:[n])void 0!==e&&("number"==typeof e&&(e=e.toString()),t.append(r,e));return t}function s(e){var t,r,n,i,o,a=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;l();)if(","===(r=e.charAt(s))){for(n=s,s+=1,l(),i=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=i,a.push(e.substring(t,n)),t=s):s=n+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}function l(e){let t={},r=[];if(e)for(let[n,i]of e.entries())"set-cookie"===n.toLowerCase()?(r.push(...s(i)),t[n]=1===r.length?r[0]:r):t[n]=i;return t}function u(e){try{return String(new URL(String(e)))}catch(t){throw Object.defineProperty(Error(`URL is malformed "${String(e)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:t}
16),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}function c(e){for(let t of[o.NEXT_QUERY_PARAM_PREFIX,o.NEXT_INTERCEPTION_MARKER_PREFIX])if(e!==t&&e.startsWith(t))return e.substring(t.length);return null}},37453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},37745:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(90603),i=r(29940),o=r(70929),a=r(72444);function s(e){let t=(0,a.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,i.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,i.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},39123:function(e,t,r){var n;n=r(62538),r(91750),n.pad.NoPadding={pad:function(){},unpad:function(){}},e.exports=n.pad.NoPadding},39373:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}};t.__esModule=!0,t.getEncodedBody=void 0;var l=r(48029);t.getEncodedBody=function(e,t,n){return a(this,void 0,void 0,function(){var i,a,u;return s(this,function(s){switch(s.label){case 0:if(i=e?JSON.stringify(e):void 0,!t||!i)return[2,{contents:i}];s.label=1;case 1:if(s.trys.push([1,5,,6]),"gzip"!==t)return[3,4];return[4,Promise.resolve().then(function(){return o(r(50953))})];case 2:return a=s.sent().gzip,[4,new Promise(function(e,t){a(i,function(r,n){if(r)return t(r);e(n)})})];case 3:return[2,{contents:s.sent(),contentEncoding:"gzip"}];case 4:return[3,6];case 5:return u=s.sent(),n.logError(u,l.StatsigContext.new({caller:"getEncodedBodyAsync"})),[2,{contents:i}];case 6:return[2,{contents:i}]}})})}},39491:function(e,t,r){var n;n=r(62538),function(e){for(var t=n.lib,r=t.WordArray,i=t.Hasher,o=n.algo,a=[],s=0;s<64;s++)a[s]=0x100000000*e.abs(e.sin(s+1))|0;var l=o.MD5=i.extend({_doReset:function(){this._hash=new r.init([0x67452301,0xefcdab89,0x98badcfe,0x10325476])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=(i<<8|i>>>
1624)&0xff00ff|(i<<24|i>>>8)&0xff00ff00}var o=this._hash.words,s=e[t+0],l=e[t+1],p=e[t+2],h=e[t+3],g=e[t+4],y=e[t+5],b=e[t+6],v=e[t+7],m=e[t+8],_=e[t+9],x=e[t+10],w=e[t+11],S=e[t+12],E=e[t+13],k=e[t+14],O=e[t+15],A=o[0],R=o[1],I=o[2],P=o[3];A=u(A,R,I,P,s,7,a[0]),P=u(P,A,R,I,l,12,a[1]),I=u(I,P,A,R,p,17,a[2]),R=u(R,I,P,A,h,22,a[3]),A=u(A,R,I,P,g,7,a[4]),P=u(P,A,R,I,y,12,a[5]),I=u(I,P,A,R,b,17,a[6]),R=u(R,I,P,A,v,22,a[7]),A=u(A,R,I,P,m,7,a[8]),P=u(P,A,R,I,_,12,a[9]),I=u(I,P,A,R,x,17,a[10]),R=u(R,I,P,A,w,22,a[11]),A=u(A,R,I,P,S,7,a[12]),P=u(P,A,R,I,E,12,a[13]),I=u(I,P,A,R,k,17,a[14]),R=u(R,I,P,A,O,22,a[15]),A=c(A,R,I,P,l,5,a[16]),P=c(P,A,R,I,b,9,a[17]),I=c(I,P,A,R,w,14,a[18]),R=c(R,I,P,A,s,20,a[19]),A=c(A,R,I,P,y,5,a[20]),P=c(P,A,R,I,x,9,a[21]),I=c(I,P,A,R,O,14,a[22]),R=c(R,I,P,A,g,20,a[23]),A=c(A,R,I,P,_,5,a[24]),P=c(P,A,R,I,k,9,a[25]),I=c(I,P,A,R,h,14,a[26]),R=c(R,I,P,A,m,20,a[27]),A=c(A,R,I,P,E,5,a[28]),P=c(P,A,R,I,p,9,a[29]),I=c(I,P,A,R,v,14,a[30]),R=c(R,I,P,A,S,20,a[31]),A=f(A,R,I,P,y,4,a[32]),P=f(P,A,R,I,m,11,a[33]),I=f(I,P,A,R,w,16,a[34]),R=f(R,I,P,A,k,23,a[35]),A=f(A,R,I,P,l,4,a[36]),P=f(P,A,R,I,g,11,a[37]),I=f(I,P,A,R,v,16,a[38]),R=f(R,I,P,A,x,23,a[39]),A=f(A,R,I,P,E,4,a[40]),P=f(P,A,R,I,s,11,a[41]),I=f(I,P,A,R,h,16,a[42]),R=f(R,I,P,A,b,23,a[43]),A=f(A,R,I,P,_,4,a[44]),P=f(P,A,R,I,S,11,a[45]),I=f(I,P,A,R,O,16,a[46]),R=f(R,I,P,A,p,23,a[47]),A=d(A,R,I,P,s,6,a[48]),P=d(P,A,R,I,v,10,a[49]),I=d(I,P,A,R,k,15,a[50]),R=d(R,I,P,A,y,21,a[51]),A=d(A,R,I,P,S,6,a[52]),P=d(P,A,R,I,h,10,a[53]),I=d(I,P,A,R,x,15,a[54]),R=d(R,I,P,A,l,21,a[55]),A=d(A,R,I,P,m,6,a[56]),P=d(P,A,R,I,O,10,a[57]),I=d(I,P,A,R,b,15,a[58]),R=d(R,I,P,A,E,21,a[59]),A=d(A,R,I,P,g,6,a[60]),P=d(P,A,R,I,w,10,a[61]),I=d(I,P,A,R,p,15,a[62]),R=d(R,I,P,A,_,21,a[63]),o[0]=o[0]+A|0,o[1]=o[1]+R|0,o[2]=o[2]+I|0,o[3]=o[3]+P|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32;var o=e.floor(n/0x100000000);r[(i+64>>>9<<4)+15]=(o<<8|o>>>24)&0xff00ff|(o<<24|o>>>8)&0xff00ff00,r[(i+64>>>9<<4)+14]=(n<<8|n>>>24)&0xff00ff|(n<<24|n>>>8)&0xff00ff00,t.sigBytes=(r.length+1)*4,this._process();for(var a=this._hash,s=a.words,l=0;l<4;l++){var u=s[l];s[l]=(u<<8|u>>>24)&0xff00ff|(u<<24|u>>>8)&0xff00ff00}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,i,o,a){var s=e+(t&r|~t&n)+i+a;return(s<<o|s>>>32-o)+t}function c(e,t,r,n,i,o,a){var s=e+(t&n|r&~n)+i+a;return(s<<o|s>>>32-o)+t}function f(e,t,r,n,i,o,a){var s=e+(t^r^n)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,r,n,i,o,a){var s=e+(r^(t|~n))+i+a;return(s<<o|s>>>32-o)+t}n.MD5=i._createHelper(l),n.HmacMD5=i._createHmacHelper(l)}(Math),e.exports=n.MD5},39681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"after",{enumerable:!0,get:function(){return o}});let n=r(5214),i=r(98635);function o(e){let t=n.workAsyncStorage.getStore(),r=i.workUnitAsyncStorage.getStore();if(!t||!r)throw Object.defineProperty(Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});let{afterContext:o}=t;return o.after(e,r)}},40138:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(){function e(e){void 0===e&&(e=200),this.queue=[],this.drainInterval=e,this.drainTimer=this._scheduleDrain()}return e.prototype.enqueue=function(e,t){var r={expiry:Date.now()+t,promise:e,taskCompleted:!1,resolver:null,rejector:null},n=new Promise(function(e,t){r.resolver=e,r.rejector=t});this.queue.push(r);var i=(function(e){e.taskCompleted=!0}).bind(this);return e.then(function(e){return i(r),null!=r.resolver&&r.resolver(e),e},function(e){return i(r),null!=r.rejector&&r.rejector(),e}),n},e.prototype._scheduleDrain=function(){var e=setTimeout(this._drainQueue.bind(this),this.drainInterval);return e.unref&&e.unref(),e},e.prototype._drainQueue=function(){var e=this,t=this.queue;this.queue=[];var r=Date.now();t.forEach(function(t){t.taskCompleted||(t.expiry>r?e.queue.push(t):null!=t.rejector&&t.rejector("time_out"))},this),this.drainTimer=this._scheduleDrain()},e.prototype.shutdown=function(){null!=this.drainTimer&&clearTimeout(this.drainTimer)},e}()},40395:(e,t)=>{"use strict";
16t.__esModule=!0,t.EvaluationDetails=void 0,t.EvaluationDetails=function(){function e(e,t,r){this.configSyncTime=e,this.initTime=t,this.reason=r,this.serverTime=Date.now()}return e.uninitialized=function(){return new e(0,0,"Uninitialized")},e.unsupported=function(t,r){return new e(t,r,"Unsupported")},e.persisted=function(t,r){return new e(t,r,"Persisted")},e.make=function(t,r,n){return new e(t,r,n)},e}()},41039:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"URLPattern",{enumerable:!0,get:function(){return r}});let r="u"<typeof URLPattern?void 0:URLPattern},42663:(e,t,r)=>{var n=r(41463),i=r(49304).Buffer,o={7492:function(e){e.exports=function(e,r,n){if(e.filter)return e.filter(r,n);if(null==e||"function"!=typeof r)throw TypeError();for(var i=[],o=0;o<e.length;o++)if(t.call(e,o)){var a=e[o];r.call(n,a,o,e)&&i.push(a)}return i};var t=Object.prototype.hasOwnProperty},6810:function(e,t,r){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o,a,s=r(3431).codes,l=s.ERR_AMBIGUOUS_ARGUMENT,u=s.ERR_INVALID_ARG_TYPE,c=s.ERR_INVALID_ARG_VALUE,f=s.ERR_INVALID_RETURN_VALUE,d=s.ERR_MISSING_ARGS,p=r(9396),h=r(4268).inspect,g=r(4268).types,y=g.isPromise,b=g.isRegExp,v=Object.assign?Object.assign:r(3639).assign,m=Object.is?Object.is:r(8388);function _(){var e=r(2761);o=e.isDeepEqual,a=e.isDeepStrictEqual}var x=!1,w=e.exports=O,S={};function E(e){if(e.message instanceof Error)throw e.message;throw new p(e)}function k(e,t,r,n){if(!r){var i=!1;if(0===t)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var o=new p({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function O(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];k.apply(void 0,[O,t.length].concat(t))}w.fail=function e(t,r,i,o,a){var s,l=arguments.length;if(0===l?s="Failed":1===l?(i=t,t=void 0):(!1===x&&(x=!0,(n.emitWarning?n.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===l&&(o="!=")),i instanceof Error)throw i;var u={actual:t,expected:r,operator:void 0===o?"fail":o,stackStartFn:a||e};void 0!==i&&(u.message=i);var c=new p(u);throw s&&(c.message=s,c.generatedMessage=!0),c},w.AssertionError=p,w.ok=O,w.equal=function e(t,r,n){if(arguments.length<2)throw new d("actual","expected");t!=r&&E({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})},w.notEqual=function e(t,r,n){if(arguments.length<2)throw new d("actual","expected");t==r&&E({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})},w.deepEqual=function e(t,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===o&&_(),o(t,r)||E({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})},w.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===o&&_(),o(t,r)&&E({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})},w.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===o&&_(),a(t,r)||E({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})},w.notDeepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new d("actual","expected");void 0===o&&_(),a(t,r)&&E({actual:t,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:e})},w.strictEqual=function e(t,r,n){if(arguments.length<2)throw new d("actual","expected");m(t,r)||E({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})},w.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new d("actual","expected");m(t,r)&&E({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var A=function e(t,r,n){var i=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");r.forEach(function(e){e in t&&(void 0!==n&&"string"==typeof n[e]&&b(t[e])&&t[e].test(n[e])?i[e]=n[e]:i[e]=t[e])})};function R(e,t,r,n){if("function"!=typeof t){if(b(t))return t.test(e);
16if(2==arguments.length)throw new u("expected",["Function","RegExp"],t);if("object"!==i(e)||null===e){var s=new p({actual:e,expected:t,message:r,operator:"deepStrictEqual",stackStartFn:n});throw s.operator=n.name,s}var l=Object.keys(t);if(t instanceof Error)l.push("name","message");else if(0===l.length)throw new c("error",t,"may not be an empty object");return void 0===o&&_(),l.forEach(function(i){if(!("string"==typeof e[i]&&b(t[i])&&t[i].test(e[i]))&&(!(i in e)||!a(e[i],t[i]))){if(!r){var o=new p({actual:new A(e,l),expected:new A(t,l,e),operator:"deepStrictEqual",stackStartFn:n});throw o.actual=e,o.expected=t,o.operator=n.name,o}E({actual:e,expected:t,message:r,operator:n.name,stackStartFn:n})}}),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function I(e){if("function"!=typeof e)throw new u("fn","Function",e);try{e()}catch(e){return e}return S}function P(e){return y(e)||null!==e&&"object"===i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function D(e){return Promise.resolve().then(function(){var t;if("function"==typeof e){if(!P(t=e()))throw new f("instance of Promise","promiseFn",t)}else if(P(e))t=e;else throw new u("promiseFn",["Function","Promise"],e);return Promise.resolve().then(function(){return t}).then(function(){return S}).catch(function(e){return e})})}function j(e,t,r,n){if("string"==typeof r){if(4==arguments.length)throw new u("error",["Object","Error","Function","RegExp"],r);if("object"===i(t)&&null!==t){if(t.message===r)throw new l("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===r)throw new l("error/message",'The error "'.concat(t,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==i(r)&&"function"!=typeof r)throw new u("error",["Object","Error","Function","RegExp"],r);if(t===S){var o="";r&&r.name&&(o+=" (".concat(r.name,")")),o+=n?": ".concat(n):".";var a="rejects"===e.name?"rejection":"exception";E({actual:void 0,expected:r,operator:e.name,message:"Missing expected ".concat(a).concat(o),stackStartFn:e})}if(r&&!R(t,r,n,e))throw t}function C(e,t,r,n){if(t!==S){if("string"==typeof r&&(n=r,r=void 0),!r||R(t,r)){var i=n?": ".concat(n):".",o="doesNotReject"===e.name?"rejection":"exception";E({actual:t,expected:r,operator:e.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function T(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];k.apply(void 0,[T,t.length].concat(t))}w.throws=function e(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];j.apply(void 0,[e,I(t)].concat(n))},w.rejects=function e(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return D(t).then(function(t){return j.apply(void 0,[e,t].concat(n))})},w.doesNotThrow=function e(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];C.apply(void 0,[e,I(t)].concat(n))},w.doesNotReject=function e(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return D(t).then(function(t){return C.apply(void 0,[e,t].concat(n))})},w.ifError=function e(t){if(null!=t){var r="ifError got unwanted exception: ";"object"===i(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?r+=t.constructor.name:r+=t.message:r+=h(t);var n=new p({actual:t,expected:null,operator:"ifError",message:r,stackStartFn:e}),o=t.stack;if("string"==typeof o){var a=o.split("\n");a.shift();for(var s=n.stack.split("\n"),l=0;l<a.length;l++){var u=s.indexOf(a[l]);if(-1!==u){s=s.slice(0,u);break}}n.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw n}},w.strict=v(T,w,{equal:w.strictEqual,deepEqual:w.deepStrictEqual,notEqual:w.notStrictEqual,notDeepEqual:w.notDeepStrictEqual}),w.strict.strict=w.strict},9396:function(e,t,r){"use strict";function i(e,t){return t&&("object"===c(t)||"function"==typeof t)?t:o(e)}function o(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){var t="function"==typeof Map?new Map:void 0;return(a=function(e){var r;if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,u(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l(n,e)})(e)}function s(e,t,r){return(s=!function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&l(i,r.prototype),i}:Reflect.construct).apply(null,arguments)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var f=r(4268).inspect,d=r(3431).codes.ERR_INVALID_ARG_TYPE;function p(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}var h="",g="",y="",b="",v={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function m(e){var t=Object.keys(e),r=Object.create(Object.getPrototypeOf(e));return t.forEach(function(t){r[t]=e[t]}),Object.defineProperty(r,"message",{value:e.message}),r}function _(e){return f(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}
16e.exports=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function r(e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");if("object"!==c(e)||null===e)throw new d("options","Object",e);var t,a=e.message,s=e.operator,l=e.stackStartFn,f=e.actual,x=e.expected,w=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=a)t=i(this,u(r).call(this,String(a)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(h="\x1b[34m",g="\x1b[32m",b="\x1b[39m",y="\x1b[31m"):(h="",g="",b="",y="")),"object"===c(f)&&null!==f&&"object"===c(x)&&null!==x&&"stack"in f&&f instanceof Error&&"stack"in x&&x instanceof Error&&(f=m(f),x=m(x)),"deepStrictEqual"===s||"strictEqual"===s)t=i(this,u(r).call(this,function(e,t,r){var i="",o="",a=0,s="",l=!1,u=_(e),f=u.split("\n"),d=_(t).split("\n"),m=0,x="";if("strictEqual"===r&&"object"===c(e)&&"object"===c(t)&&null!==e&&null!==t&&(r="strictEqualObject"),1===f.length&&1===d.length&&f[0]!==d[0]){var w=f[0].length+d[0].length;if(w<=10){if(("object"!==c(e)||null===e)&&("object"!==c(t)||null===t)&&(0!==e||0!==t))return"".concat(v[r],"\n\n")+"".concat(f[0]," !== ").concat(d[0],"\n")}else if("strictEqualObject"!==r&&w<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;f[0][m]===d[0][m];)m++;m>2&&(x="\n  ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,r-e.length)}(" ",m),"^"),m=0)}}for(var S=f[f.length-1],E=d[d.length-1];S===E&&(m++<2?s="\n  ".concat(S).concat(s):i=S,f.pop(),d.pop(),0!==f.length&&0!==d.length);)S=f[f.length-1],E=d[d.length-1];var k=Math.max(f.length,d.length);if(0===k){var O=u.split("\n");if(O.length>30)for(O[26]="".concat(h,"...").concat(b);O.length>27;)O.pop();return"".concat(v.notIdentical,"\n\n").concat(O.join("\n"),"\n")}m>3&&(s="\n".concat(h,"...").concat(b).concat(s),l=!0),""!==i&&(s="\n  ".concat(i).concat(s),i="");var A=0,R=v[r]+"\n".concat(g,"+ actual").concat(b," ").concat(y,"- expected").concat(b),I=" ".concat(h,"...").concat(b," Lines skipped");for(m=0;m<k;m++){var P=m-a;if(f.length<m+1)P>1&&m>2&&(P>4?(o+="\n".concat(h,"...").concat(b),l=!0):P>3&&(o+="\n  ".concat(d[m-2]),A++),o+="\n  ".concat(d[m-1]),A++),a=m,i+="\n".concat(y,"-").concat(b," ").concat(d[m]),A++;else if(d.length<m+1)P>1&&m>2&&(P>4?(o+="\n".concat(h,"...").concat(b),l=!0):P>3&&(o+="\n  ".concat(f[m-2]),A++),o+="\n  ".concat(f[m-1]),A++),a=m,o+="\n".concat(g,"+").concat(b," ").concat(f[m]),A++;else{var D=d[m],j=f[m],C=j!==D&&(!p(j,",")||j.slice(0,-1)!==D);C&&p(D,",")&&D.slice(0,-1)===j&&(C=!1,j+=","),C?(P>1&&m>2&&(P>4?(o+="\n".concat(h,"...").concat(b),l=!0):P>3&&(o+="\n  ".concat(f[m-2]),A++),o+="\n  ".concat(f[m-1]),A++),a=m,o+="\n".concat(g,"+").concat(b," ").concat(j),i+="\n".concat(y,"-").concat(b," ").concat(D),A+=2):(o+=i,i="",(1===P||0===m)&&(o+="\n  ".concat(j),A++))}if(A>20&&m<k-2)return"".concat(R).concat(I,"\n").concat(o,"\n").concat(h,"...").concat(b).concat(i,"\n")+"".concat(h,"...").concat(b)}return"".concat(R).concat(l?I:"","\n").concat(o).concat(i).concat(s).concat(x)}(f,x,s)));else if("notDeepStrictEqual"===s||"notStrictEqual"===s){var S=v[s],E=_(f).split("\n");if("notStrictEqual"===s&&"object"===c(f)&&null!==f&&(S=v.notStrictEqualObject),E.length>30)for(E[26]="".concat(h,"...").concat(b);E.length>27;)E.pop();t=1===E.length?i(this,u(r).call(this,"".concat(S," ").concat(E[0]))):i(this,u(r).call(this,"".concat(S,"\n\n").concat(E.join("\n"),"\n")))}else{var k=_(f),O="",A=v[s];"notDeepEqual"===s||"notEqual"===s?(k="".concat(v[s],"\n\n").concat(k)).length>1024&&(k="".concat(k.slice(0,1021),"...")):(O="".concat(_(x)),k.length>512&&(k="".concat(k.slice(0,509),"...")),O.length>512&&(O="".concat(O.slice(0,509),"...")),"deepEqual"===s||"equal"===s?k="".concat(A,"\n\n").concat(k,"\n\nshould equal\n\n"):O=" ".concat(s," ").concat(O)),t=i(this,u(r).call(this,"".concat(k).concat(O)))}return Error.stackTraceLimit=w,t.generatedMessage=!a,Object.defineProperty(o(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=f,t.expected=x,t.operator=s,Error.captureStackTrace&&Error.captureStackTrace(o(t),l),t.stack,t.name="AssertionError",i(t)}return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),e&&l(r,e),t=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:f.custom,value:function(e,t){return f(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
16))),n.forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o})}return e}({},t,{customInspect:!1,depth:0}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(r.prototype,t),r}(a(Error))},3431:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a,s,l={};function u(e,t,r){r||(r=Error);var a=function(r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");function a(r,o,s){var l,u;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");return(l=(u=i(a).call(this,"string"==typeof t?t:t(r,o,s)))&&("object"===n(u)||"function"==typeof u)?u:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)).code=e,l}return a.prototype=Object.create(r&&r.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),r&&o(a,r),a}(r);l[e]=a}function c(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return(e=e.map(function(e){return String(e)}),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",function(e,t,i){if((void 0===a&&(a=r(6810)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(o="not ",t.substr(0,o.length)===o))?(f="must not be",t=t.replace(/^not /,"")):f="must be",s=" argument",(void 0===l||l>e.length)&&(l=e.length),e.substring(l-s.length,l)===s)d="The ".concat(e," ").concat(f," ").concat(c(t,"type"));else{var o,s,l,u,f,d,p=("number"!=typeof u&&(u=0),u+1>e.length||-1===e.indexOf(".",u))?"argument":"property";d='The "'.concat(e,'" ').concat(p," ").concat(f," ").concat(c(t,"type"))}return d+". Received type ".concat(n(i))},TypeError),u("ERR_INVALID_ARG_VALUE",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=r(4268));var i=s.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(n,". Received ").concat(i)},TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",function(e,t,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")},TypeError),u("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];void 0===a&&(a=r(6810)),a(t.length>0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map(function(e){return'"'.concat(e,'"')}),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", "),i+=", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")},TypeError),e.exports.codes=l},2761:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=void 0!==/a/g.flags,a=function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t},s=function(e){var t=[];return e.forEach(function(e,r){return t.push([r,e])}),t},l=Object.is?Object.is:r(8388),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},c=Number.isNaN?Number.isNaN:r(5211);function f(e){return e.call.bind(e)}var d=f(Object.prototype.hasOwnProperty),p=f(Object.prototype.propertyIsEnumerable),h=f(Object.prototype.toString),g=r(4268).types,y=g.isAnyArrayBuffer,b=g.isArrayBufferView,v=g.isDate,m=g.isMap,_=g.isRegExp,x=g.isSet,w=g.isNativeError,S=g.isBoxedPrimitive,E=g.isNumberObject,k=g.isStringObject,O=g.isBooleanObject,A=g.isBigIntObject,R=g.isSymbolObject,I=g.isFloat32Array,P=g.isFloat64Array;function D(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r<48||r>57)return!0}return 10===e.length&&e>=0x100000000}function j(e){return Object.keys(e).filter(D).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function C(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)}function T(e,t,r,n){if(e===t)return 0!==e||!r||l(e,t);if(r){if("object"!==i(e))return"number"==typeof e&&c(e)&&c(t);if("object"!==i(t)||null===e||null===t||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==i(e))return(null===t||"object"!==i(t))&&e==t;if(null===t||"object"!==i(t))return!1}var a=h(e);if(a!==h(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var s=j(e),u=j(t);return s.length===u.length&&N(e,t,r,n,1,s)}if("[object Object]"===a&&(!m(e)&&m(t)||!x(e)&&x(t)))return!1;if(v(e)){if(!v(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(_(e)){if(!_(t)||(o?e.source!==t.source||e.flags!==t.flags:RegExp.prototype.toString.call(e)!==RegExp.prototype.toString.call(t)))return!1}else if(w(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else if(b(e)){if(!r&&(I(e)||P(e))){if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0}(e,t))return!1}else if(e.byteLength!==t.byteLength||0!==C(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength)))return!1;var f=j(e),d=j(t);return f.length===d.length&&N(e,t,r,n,0,f)}else if(x(e))return!!x(t)&&e.size===t.size&&N(e,t,r,n,2);else if(m(e))return!!m(t)&&e.size===t.size&&N(e,t,r,n,3);
16else if(y(e)){if(e.byteLength!==t.byteLength||0!==C(new Uint8Array(e),new Uint8Array(t)))return!1}else if(S(e)&&(E(e)?!(E(t)&&l(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t))):k(e)?!k(t)||String.prototype.valueOf.call(e)!==String.prototype.valueOf.call(t):O(e)?!O(t)||Boolean.prototype.valueOf.call(e)!==Boolean.prototype.valueOf.call(t):A(e)?!A(t)||BigInt.prototype.valueOf.call(e)!==BigInt.prototype.valueOf.call(t):!R(t)||Symbol.prototype.valueOf.call(e)!==Symbol.prototype.valueOf.call(t)))return!1;return N(e,t,r,n,0)}function L(e,t){return t.filter(function(t){return p(e,t)})}function N(e,t,r,o,l,c){if(5==arguments.length){c=Object.keys(e);var f=Object.keys(t);if(c.length!==f.length)return!1}for(var h=0;h<c.length;h++)if(!d(t,c[h]))return!1;if(r&&5==arguments.length){var g=u(e);if(0!==g.length){var y=0;for(h=0;h<g.length;h++){var b=g[h];if(p(e,b)){if(!p(t,b))return!1;c.push(b),y++}else if(p(t,b))return!1}var v=u(t);if(g.length!==v.length&&L(t,v).length!==y)return!1}else{var m=u(t);if(0!==m.length&&0!==L(t,m).length)return!1}}if(0===c.length&&(0===l||1===l&&0===e.length||0===e.size))return!0;if(void 0===o)o={val1:new Map,val2:new Map,position:0};else{var _=o.val1.get(e);if(void 0!==_){var x=o.val2.get(t);if(void 0!==x)return _===x}o.position++}o.val1.set(e,o.position),o.val2.set(t,o.position);var w=function(e,t,r,o,l,u){var c=0;if(2===u){if(!function(e,t,r,n){for(var o=null,s=a(e),l=0;l<s.length;l++){var u=s[l];if("object"===i(u)&&null!==u)null===o&&(o=new Set),o.add(u);else if(!t.has(u)){if(r||!function(e,t,r){var n=U(r);return null!=n?n:t.has(n)&&!e.has(n)}(e,t,u))return!1;null===o&&(o=new Set),o.add(u)}}if(null!==o){for(var c=a(t),f=0;f<c.length;f++){var d=c[f];if("object"===i(d)&&null!==d){if(!M(o,d,r,n))return!1}else if(!r&&!e.has(d)&&!M(o,d,r,n))return!1}return 0===o.size}return!0}(e,t,r,l))return!1}else if(3===u){if(!function(e,t,r,o){for(var a=null,l=s(e),u=0;u<l.length;u++){var c=n(l[u],2),f=c[0],d=c[1];if("object"===i(f)&&null!==f)null===a&&(a=new Set),a.add(f);else{var p=t.get(f);if(void 0===p&&!t.has(f)||!T(d,p,r,o)){if(r||!function(e,t,r,n,i){var o=U(r);if(null!=o)return o;var a=t.get(o);return(void 0!==a||!!t.has(o))&&!!T(n,a,!1,i)&&!e.has(o)&&T(n,a,!1,i)}(e,t,f,d,o))return!1;null===a&&(a=new Set),a.add(f)}}}if(null!==a){for(var h=s(t),g=0;g<h.length;g++){var y=n(h[g],2),f=y[0],b=y[1];if("object"===i(f)&&null!==f){if(!B(a,e,f,b,r,o))return!1}else if(!r&&(!e.has(f)||!T(e.get(f),b,!1,o))&&!B(a,e,f,b,!1,o))return!1}return 0===a.size}return!0}(e,t,r,l))return!1}else if(1===u)for(;c<e.length;c++)if(d(e,c)){if(!d(t,c)||!T(e[c],t[c],r,l))return!1}else{if(d(t,c))return!1;for(var f=Object.keys(e);c<f.length;c++){var p=f[c];if(!d(t,p)||!T(e[p],t[p],r,l))return!1}if(f.length!==Object.keys(t).length)return!1;return!0}for(c=0;c<o.length;c++){var h=o[c];if(!T(e[h],t[h],r,l))return!1}return!0}(e,t,r,c,o,l);return o.val1.delete(e),o.val2.delete(t),w}function M(e,t,r,n){for(var i=a(e),o=0;o<i.length;o++){var s=i[o];if(T(t,s,r,n))return e.delete(s),!0}return!1}function U(e){switch(i(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e*=1;case"number":if(c(e))return!1}return!0}function B(e,t,r,n,i,o){for(var s=a(e),l=0;l<s.length;l++){var u=s[l];if(T(r,u,i,o)&&T(n,t.get(u),i,o))return e.delete(u),!0}return!1}e.exports={isDeepEqual:function(e,t){return T(e,t,!1)},isDeepStrictEqual:function(e,t){return T(e,t,!0)}}},1648:function(e,t,r){"use strict";var n=r(7797),i=r(4834),o=r(8772);e.exports=r(9095)||n.call(o,i)},4757:function(e,t,r){"use strict";var n=r(7797),i=r(4834),o=r(1648);e.exports=function(){return o(n,i,arguments)}},4834:function(e){"use strict";e.exports=Function.prototype.apply},8772:function(e){"use strict";e.exports=Function.prototype.call},2462:function(e,t,r){"use strict";var n=r(7797),i=r(4785),o=r(8772),a=r(1648);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return a(n,o,e)}},9095:function(e){"use strict";e.exports="u">typeof Reflect&&Reflect&&Reflect.apply},2400:function(e,t,r){"use strict";var n=r(7797),i=r(1893),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=s(n,a,arguments);return l&&u&&l(t,"length").configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))}),t};var f=function(){return s(n,o,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},2982:function(e,t,r){"use strict";var n=r(1893),i=r(5494),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i(r):r}},5494:function(e,t,r){"use strict";var n=r(3798),i=r(871),o=r(2462),a=r(4757);e.exports=function(e){var t=o(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},i?i(e.exports,"apply",{value:a}):e.exports.apply=a},2071:function(e,t,r){"use strict";var n=r(871),i=r(9546),o=r(4785),a=r(8322);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");
16if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(n)n(e,t,{configurable:null===u&&f?f.configurable:!u,enumerable:null===s&&f?f.enumerable:!s,value:r,writable:null===l&&f?f.writable:!l});else if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},1246:function(e,t,r){"use strict";var n=r(7238),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),u=function(e,t,r,n){(!(t in e)||"function"==typeof n&&"[object Function]"===o.call(n)&&n())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},c=function(e,t){var r=arguments.length>2?arguments[2]:{},o=n(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)u(e,o[s],t[o[s]],r[o[s]])};c.supportsDescriptors=!!l,e.exports=c},3859:function(e,t,r){"use strict";var n,i=r(2462),o=r(8322);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!n&&o&&o(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},871:function(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},1247:function(e){"use strict";e.exports=EvalError},6621:function(e){"use strict";e.exports=Error},6136:function(e){"use strict";e.exports=RangeError},252:function(e){"use strict";e.exports=ReferenceError},9546:function(e){"use strict";e.exports=SyntaxError},4785:function(e){"use strict";e.exports=TypeError},1223:function(e){"use strict";e.exports=URIError},8300:function(e){"use strict";e.exports=Object},3639:function(e){"use strict";function t(e,t){if(null==e)throw TypeError("Cannot convert first argument to object");for(var r=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var o=Object.keys(Object(i)),a=0,s=o.length;a<s;a++){var l=o[a],u=Object.getOwnPropertyDescriptor(i,l);void 0!==u&&u.enumerable&&(r[l]=i[l])}}return r}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},4680:function(e){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,n,i){if("[object Function]"!==r.call(n))throw TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)n.call(i,e[a],a,e);else for(var s in e)t.call(e,s)&&n.call(i,e[s],s,e)}},6555:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},i=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},o=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var a,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=i(arguments,1),u=r(0,s.length-l.length),c=[],f=0;f<u;f++)c[f]="$"+f;if(a=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=s.apply(this,n(l,arguments));return Object(t)===t?t:this}return s.apply(e,n(l,arguments))}),s.prototype){var d=function(){};d.prototype=s.prototype,a.prototype=new d,d.prototype=null}return a}},7797:function(e,t,r){"use strict";var n=r(6555);e.exports=Function.prototype.bind||n},1893:function(e,t,r){"use strict";var n,i=r(8300),o=r(6621),a=r(1247),s=r(6136),l=r(252),u=r(9546),c=r(4785),f=r(1223),d=r(4197),p=r(4455),h=r(1295),g=r(6949),y=r(2943),b=r(1721),v=r(3536),m=Function,_=function(e){try{return m('"use strict"; return ('+e+").constructor;")()}catch(e){}},x=r(8322),w=r(871),S=function(){throw new c},E=x?function(){try{return arguments.callee,S}catch(e){try{return x(arguments,"callee").get}catch(e){return S}}}():S,k=r(9131)(),O=r(9717),A=r(45),R=r(7767),I=r(4834),P=r(8772),D={},j="u">typeof Uint8Array&&O?O(Uint8Array):n,C={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":k&&O?O([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":D,"%AsyncGenerator%":D,"%AsyncGeneratorFunction%":D,"%AsyncIteratorPrototype%":D,"%Atomics%":"u"<typeof Atomics?n:Atomics,"%BigInt%":"u"<typeof BigInt?n:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"u"<typeof Float16Array?n:Float16Array,"%Float32Array%":"u"<typeof Float32Array?n:Float32Array,"%Float64Array%":"u"<typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":D,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
16IteratorPrototype%":k&&O?O(O([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&k&&O?O((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?n:Promise,"%Proxy%":"u"<typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"u"<typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?n:Set,"%SetIteratorPrototype%":"u">typeof Set&&k&&O?O((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&O?O(""[Symbol.iterator]()):n,"%Symbol%":k?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":E,"%TypedArray%":j,"%TypeError%":c,"%Uint8Array%":"u"<typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?n:Uint32Array,"%URIError%":f,"%WeakMap%":"u"<typeof WeakMap?n:WeakMap,"%WeakRef%":"u"<typeof WeakRef?n:WeakRef,"%WeakSet%":"u"<typeof WeakSet?n:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":I,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":A,"%Math.abs%":d,"%Math.floor%":p,"%Math.max%":h,"%Math.min%":g,"%Math.pow%":y,"%Math.round%":b,"%Math.sign%":v,"%Reflect.getPrototypeOf%":R};if(O)try{null.error}catch(e){var T=O(O(e));C["%Error.prototype%"]=T}var L=function e(t){var r;if("%AsyncFunction%"===t)r=_("async function () {}");else if("%GeneratorFunction%"===t)r=_("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=_("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&O&&(r=O(i.prototype))}return C[t]=r,r},N={__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"]},M=r(7797),U=r(3383),B=M.call(P,Array.prototype.concat),F=M.call(I,Array.prototype.splice),z=M.call(P,String.prototype.replace),G=M.call(P,String.prototype.slice),V=M.call(P,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,K=/\\(\\)?/g,W=function(e){var t=G(e,0,1),r=G(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return z(e,q,function(e,t,r,i){n[n.length]=r?z(i,K,"$1"):t||e}),n},$=function(e,t){var r,n=e;if(U(N,n)&&(n="%"+(r=N[n])[0]+"%"),U(C,n)){var i=C[n];if(i===D&&(i=L(n)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===V(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=W(e),n=r.length>0?r[0]:"",i=$("%"+n+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(n=l[0],F(r,B([0,1],l)));for(var f=1,d=!0;f<r.length;f+=1){var p=r[f],h=G(p,0,1),g=G(p,-1);if(('"'===h||"'"===h||"`"===h||'"'===g||"'"===g||"`"===g)&&h!==g)throw new u("property names with quotes must have matching quotes");if("constructor"!==p&&d||(s=!0),n+="."+p,U(C,o="%"+n+"%"))a=C[o];
16else if(null!=a){if(!(p in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(x&&f+1>=r.length){var y=x(a,p);a=(d=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[p]}else d=U(a,p),a=a[p];d&&!s&&(C[o]=a)}}return a}},45:function(e,t,r){"use strict";e.exports=r(8300).getPrototypeOf||null},7767:function(e){"use strict";e.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},9717:function(e,t,r){"use strict";var n=r(7767),i=r(45),o=r(3859);e.exports=n?function(e){return n(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},8422:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},8322:function(e,t,r){"use strict";var n=r(8422);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},8122:function(e,t,r){"use strict";var n=r(871),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},8564:function(e,t,r){"use strict";var n="u">typeof Symbol&&Symbol,i=r(9094);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},9094:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},9131:function(e,t,r){"use strict";var n="u">typeof Symbol&&Symbol,i=r(6313);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},6313:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},3383:function(e,t,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty;e.exports=r(7797).call(n,i)},1638:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},6960:function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r=Object.prototype.toString,n=function(e){return(!t||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===r.call(e)},i=function(e){return!!n(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r.call(e)&&"[object Function]"===r.call(e.callee)},o=function(){return n(arguments)}();n.isLegacyArguments=i,e.exports=o?n:i},8979:function(e){"use strict";var t=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.getPrototypeOf,a=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(e){}}(),s=a?o(a):{};e.exports=function(e){return"function"==typeof e&&(!!n.test(r.call(e))||(i?o(e)===s:"[object GeneratorFunction]"===t.call(e)))}},2397:function(e){"use strict";e.exports=function(e){return e!=e}},5211:function(e,t,r){"use strict";var n=r(2400),i=r(1246),o=r(2397),a=r(8840),s=r(9682),l=n(a(),Number);i(l,{getPolyfill:a,implementation:o,shim:s}),e.exports=l},8840:function(e,t,r){"use strict";var n=r(2397);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},9682:function(e,t,r){"use strict";var n=r(1246),i=r(8840);e.exports=function(){var e=i();return n(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},9572:function(e,t,n){"use strict";var i=n(4680),o=n(3147),a=n(2982),s=a("Object.prototype.toString"),l=n(8564)()&&"symbol"==typeof Symbol.toStringTag,u=o(),c=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return -1},f=a("String.prototype.slice"),d={},p=n(9745),h=Object.getPrototypeOf;l&&p&&h&&i(u,function(e){var t=new r.g[e];
16if(!(Symbol.toStringTag in t))throw EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=h(t),i=p(n,Symbol.toStringTag);i||(i=p(h(n),Symbol.toStringTag)),d[e]=i.get});var g=function(e){var t=!1;return i(d,function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}}),t};e.exports=function(e){return!!e&&"object"==typeof e&&(l?!!p&&g(e):c(u,f(s(e),8,-1))>-1)}},4197:function(e){"use strict";e.exports=Math.abs},4455:function(e){"use strict";e.exports=Math.floor},6128:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},1295:function(e){"use strict";e.exports=Math.max},6949:function(e){"use strict";e.exports=Math.min},2943:function(e){"use strict";e.exports=Math.pow},1721:function(e){"use strict";e.exports=Math.round},3536:function(e,t,r){"use strict";var n=r(6128);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},8388:function(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,r){return 0===e&&0===r?1/e==1/r:!!(e===r||t(e)&&t(r))}},7742:function(e,t,r){"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=r(426),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("u"<typeof window)return!1;for(var e in window)try{if(!d["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),h=function(e){if("u"<typeof window||!p)return f(e);try{return f(e)}catch(e){return!1}};n=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===o.call(e),n=a(e),s=t&&"[object String]"===o.call(e),f=[];if(!t&&!r&&!n)throw TypeError("Object.keys called on a non-object");var d=u&&r;if(s&&e.length>0&&!i.call(e,0))for(var p=0;p<e.length;++p)f.push(String(p));if(n&&e.length>0)for(var g=0;g<e.length;++g)f.push(String(g));else for(var y in e)!(d&&"prototype"===y)&&i.call(e,y)&&f.push(String(y));if(l)for(var b=h(e),v=0;v<c.length;++v)!(b&&"constructor"===c[v])&&i.call(e,c[v])&&f.push(c[v]);return f}}e.exports=n},7238:function(e,t,r){"use strict";var n=Array.prototype.slice,i=r(426),o=Object.keys,a=o?function(e){return o(e)}:r(7742),s=Object.keys;a.shim=function(){return Object.keys?!function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)&&(Object.keys=function(e){return i(e)?s(n.call(e)):s(e)}):Object.keys=a,Object.keys||a},e.exports=a},426:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},3798:function(e,t,r){"use strict";var n=r(1893),i=r(2071),o=r(8122)(),a=r(8322),s=r(4785),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>0xffffffff||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},3614:function(e){e.exports=function(e){return e instanceof i}},7551:function(e,t,r){"use strict";var n=r(6960),i=r(8979),o=r(3051),a=r(9572);function s(e){return e.call.bind(e)}var l="u">typeof BigInt,u="u">typeof Symbol,c=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(l)var h=s(BigInt.prototype.valueOf);if(u)var g=s(Symbol.prototype.valueOf);function y(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function b(e){return"[object Map]"===c(e)}function v(e){return"[object Set]"===c(e)}function m(e){return"[object WeakMap]"===c(e)}function _(e){return"[object WeakSet]"===c(e)}function x(e){return"[object ArrayBuffer]"===c(e)}function w(e){return!("u"<typeof ArrayBuffer)&&(x.working?x(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===c(e)}function E(e){return!("u"<typeof DataView)&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"u">typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||E(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},b.working="u">typeof Map&&b(new Map),t.isMap=function(e){return!("u"<typeof Map)&&(b.working?b(e):e instanceof Map)}
16,v.working="u">typeof Set&&v(new Set),t.isSet=function(e){return!("u"<typeof Set)&&(v.working?v(e):e instanceof Set)},m.working="u">typeof WeakMap&&m(new WeakMap),t.isWeakMap=function(e){return!("u"<typeof WeakMap)&&(m.working?m(e):e instanceof WeakMap)},_.working="u">typeof WeakSet&&_(new WeakSet),t.isWeakSet=function(e){return _(e)},x.working="u">typeof ArrayBuffer&&x(new ArrayBuffer),t.isArrayBuffer=w,S.working="u">typeof ArrayBuffer&&"u">typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=E;var k="u">typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===c(e)}function A(e){return void 0!==k&&(void 0===O.working&&(O.working=O(new k)),O.working?O(e):e instanceof k)}function R(e){return y(e,f)}function I(e){return y(e,d)}function P(e){return y(e,p)}function D(e){return l&&y(e,h)}function j(e){return u&&y(e,g)}t.isSharedArrayBuffer=A,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=R,t.isStringObject=I,t.isBooleanObject=P,t.isBigIntObject=D,t.isSymbolObject=j,t.isBoxedPrimitive=function(e){return R(e)||I(e)||P(e)||D(e)||j(e)},t.isAnyArrayBuffer=function(e){return"u">typeof Uint8Array&&(w(e)||A(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},4268:function(e,t,r){var i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!m(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(u(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r<i;s=n[++r])b(s)||!w(s)?a+=" "+s:a+=" "+u(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var l=n.env.NODE_DEBUG;s=RegExp("^"+(l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function u(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),_(n.showHidden)&&(n.showHidden=!1),_(n.depth)&&(n.depth=2),_(n.colors)&&(n.colors=!1),_(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),d(n,e,n.depth)}function c(e,t){var r=u.styles[t];return r?"\x1b["+u.colors[r][0]+"m"+e+"\x1b["+u.colors[r][1]+"m":e}function f(e,t){return e}function d(e,r,n){if(e.customInspect&&r&&k(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i,o,a,s,l,u,c=r.inspect(n,e);return m(c)||(c=d(e,c,n)),c}var f=function(e,t){if(_(t))return e.stylize("undefined","undefined");if(m(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return v(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}(e,r);if(f)return f;var w=Object.keys(r),O=(l={},w.forEach(function(e,t){l[e]=!0}),l);if(e.showHidden&&(w=Object.getOwnPropertyNames(r)),E(r)&&(w.indexOf("message")>=0||w.indexOf("description")>=0))return p(r);if(0===w.length){if(k(r)){var A=r.name?": "+r.name:"";return e.stylize("[Function"+A+"]","special")}if(x(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(E(r))return p(r)}var R="",P=!1,D=["{","}"];
16if(g(r)&&(P=!0,D=["[","]"]),k(r)&&(R=" [Function"+(r.name?": "+r.name:"")+"]"),x(r)&&(R=" "+RegExp.prototype.toString.call(r)),S(r)&&(R=" "+Date.prototype.toUTCString.call(r)),E(r)&&(R=" "+p(r)),0===w.length&&(!P||0==r.length))return D[0]+R+D[1];if(n<0)if(x(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");else return e.stylize("[Object]","special");return e.seen.push(r),u=P?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)I(t,String(a))?o.push(h(e,t,r,n,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(e,t,r,n,i,!0))}),o}(e,r,n,O,w):w.map(function(t){return h(e,r,n,O,t,P)}),e.seen.pop(),i=u,o=R,a=D,s=0,i.reduce(function(e,t){return s++,t.indexOf("\n")>=0&&s++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?a[0]+(""===o?"":o+"\n ")+" "+i.join(",\n  ")+" "+a[1]:a[0]+o+" "+i.join(", ")+" "+a[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),I(n,i)||(a="["+i+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=b(r)?d(e,l.value,null):d(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return"   "+e}).join("\n")):s=e.stylize("[Circular]","special")),_(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function b(e){return null===e}function v(e){return"number"==typeof e}function m(e){return"string"==typeof e}function _(e){return void 0===e}function x(e){return w(e)&&"[object RegExp]"===O(e)}function w(e){return"object"==typeof e&&null!==e}function S(e){return w(e)&&"[object Date]"===O(e)}function E(e){return w(e)&&("[object Error]"===O(e)||e instanceof Error)}function k(e){return"function"==typeof e}function O(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(7551),t.isArray=g,t.isBoolean=y,t.isNull=b,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=m,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=_,t.isRegExp=x,t.types.isRegExp=x,t.isObject=w,t.isDate=S,t.types.isDate=S,t.isError=E,t.types.isNativeError=E,t.isFunction=k,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(3614);var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[A((e=new Date).getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":"),[e.getDate(),R[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(1638),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var P="u">typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t=e[P];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,
16configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=P,t.callbackify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then(function(e){n.nextTick(a.bind(null,null,e))},function(e){n.nextTick(D.bind(null,e,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},3051:function(e,t,n){"use strict";var i=n(4680),o=n(3147),a=n(2982),s=a("Object.prototype.toString"),l=n(8564)()&&"symbol"==typeof Symbol.toStringTag,u=o(),c=a("String.prototype.slice"),f={},d=n(9745),p=Object.getPrototypeOf;l&&d&&p&&i(u,function(e){if("function"==typeof r.g[e]){var t=new r.g[e];if(!(Symbol.toStringTag in t))throw EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=p(t),i=d(n,Symbol.toStringTag);i||(i=d(p(n),Symbol.toStringTag)),f[e]=i.get}});var h=function(e){var t=!1;return i(f,function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}}),t},g=n(9572);e.exports=function(e){return!!g(e)&&(l?h(e):c(s(e),8,-1))}},3147:function(e,t,n){"use strict";var i=n(7492);e.exports=function(){return i(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],function(e){return"function"==typeof r.g[e]})}},9745:function(e,t,r){"use strict";e.exports=r(8322)}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}},n=!0;try{o[e](r,r.exports,s),n=!1}finally{n&&delete a[e]}return r.exports}s.ab="//",e.exports=s(6810)},42768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StableID=void 0;let n=r(16563),i=r(94316),o=r(77612),a=r(16590),s=r(30961),l={},u={},c={};function f(e){return`statsig.stable_id.${(0,n._getStorageKey)(e)}`}function d(e,t){let r=f(t);try{(0,a._setObjectInStorage)(r,e)}catch(e){i.Log.warn("Failed to save StableID to storage")}}function p(e,t){if(!u[t]||!document)return;let r=new Date;r.setFullYear(r.getFullYear()+1),document.cookie=`${h(t)}=${encodeURIComponent(e)}; expires=${r.toUTCString()}; path=/`}function h(e){return`statsig.stable_id.${(0,n._getStorageKey)(e)}`}t.StableID={cookiesEnabled:!1,randomID:Math.random().toString(36),get:e=>{let t;if(c[e])return null;if(null!=l[e])return l[e];let r=null;return null!=(r=function(e){if(!u[e]||null==(0,o._getDocumentSafe)())return null;for(let t of document.cookie.split(";")){let[r,n]=t.trim().split("=");if(r===h(e))return decodeURIComponent(n)}return null}(e))?(l[e]=r,d(r,e)):(null==(t=f(e),r=(0,a._getObjectFromStorage)(t))&&(r=(0,s.getUUID)()),d(r,e),p(r,e),l[e]=r),r},setOverride:(e,t)=>{l[t]=e,d(e,t),p(e,t)},_setCookiesEnabled:(e,t)=>{u[e]=t},_setDisabled:(e,t)=>{c[e]=t}}},43083:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClientBootstrapInit=void 0;let n=r(74742),i=r(33155);t.useClientBootstrapInit=function(e,t,r,o=null){return(0,i.useStatsigInternalClientFactoryBootstrap)(e=>new n.StatsigClient(e.sdkKey,e.initialUser,e.statsigOptions),{sdkKey:e,initialUser:t,initialValues:r,statsigOptions:o})}},43558:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};t.__esModule=!0,t.OptionsLoggingCopy=t.OptionsWithDefaults=void 0;var i=r(77433);function o(e,t,r){var n=e[t];return null==n||"boolean"!=typeof n?r:n}function a(e,t,r){var n=e[t];return null==n||"string"!=typeof n?r:n}function s(e,t,r){var n=e[t];return null==n||"number"!=typeof n?r:n}function l(e){return e&&e.endsWith("/")?e.slice(0,-1):e}t.OptionsWithDefaults=function(e){var t,r,u,c,f,d,p,h,g,y,b,v,m,_,x,w,S,E,k,O;return{api:l(null!=(t=a(e,"api",i.STATSIG_API))?t:i.STATSIG_API),apiForDownloadConfigSpecs:null!=(u=l(a(e,"apiForDownloadConfigSpecs",null!=(r=e.api)?r:null)))?u:i.STATSIG_
16CDN,apiForGetIdLists:null!=(f=l(a(e,"apiForGetIdLists",null!=(c=e.api)?c:null)))?f:i.STATSIG_API,fallbackToStatsigAPI:o(e,"fallbackToStatsigAPI",!1),networkOverrideFunc:null!=(d=e.networkOverrideFunc)?d:null,bootstrapValues:a(e,"bootstrapValues",null),environment:e.environment?(E={},null==(k=e.environment)||"object"!=typeof k?E:k):null,rulesUpdatedCallback:e.rulesUpdatedCallback?null==(O=e.rulesUpdatedCallback)||"function"!=typeof O?null:O:null,localMode:o(e,"localMode",!1),initTimeoutMs:s(e,"initTimeoutMs",0),logger:null!=(p=e.logger)?p:n(n({},console),{logLevel:"warn"}),dataAdapter:null!=(h=e.dataAdapter)?h:null,rulesetsSyncIntervalMs:Math.max(s(e,"rulesetsSyncIntervalMs",1e4),5e3),idListsSyncIntervalMs:Math.max(s(e,"idListsSyncIntervalMs",6e4),3e4),loggingIntervalMs:s(e,"loggingIntervalMs",6e4),loggingMaxBufferSize:Math.min(s(e,"loggingMaxBufferSize",1e3),1e3),disableDiagnostics:o(e,"disableDiagnostics",!1),initStrategyForIP3Country:null!=(g=a(e,"initStrategyForIP3Country","await"))?g:"await",initStrategyForIDLists:null!=(y=a(e,"initStrategyForIDLists","await"))?y:"await",postLogsRetryLimit:s(e,"postLogsRetryLimit",5),postLogsRetryBackoff:null!=(b=e.postLogsRetryBackoff)?b:1e3,disableRulesetsSync:null!=(v=e.disableRulesetsSync)&&v,disableIdListsSync:null!=(m=e.disableIdListsSync)&&m,disableAllLogging:null!=(_=e.disableAllLogging)&&_,userPersistentStorage:null!=(x=e.userPersistentStorage)?x:null,evaluationCallback:null!=(w=e.evaluationCallback)?w:void 0,evaluationCallbacks:null!=(S=e.evaluationCallbacks)?S:{}}},t.OptionsLoggingCopy=function(e){var t={};return Object.entries(e).forEach(function(e){var r=e[0],n=e[1];switch(typeof n){case"number":case"bigint":case"boolean":t[String(r)]=n;break;case"string":n.length<50?t[String(r)]=n:t[String(r)]="set";break;case"object":"environment"===r?t.environment=n:t[String(r)]=null!=n?"set":"unset";break;case"function":"dataAdapter"===r&&(t[String(r)]="set")}}),t}},43659:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},43714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(55621),i=r(96771);t.default=function(e){var t;let r=(t="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&t[6])<<4|t[7]>>4&15,(15&t[7])<<4|(240&t[4])>>4,(15&t[4])<<4|(240&t[5])>>4,(15&t[5])<<4|(240&t[0])>>4,(15&t[0])<<4|(240&t[1])>>4,(15&t[1])<<4|(240&t[2])>>4,96|15&t[2],t[3],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]));return"string"==typeof e?(0,i.unsafeStringify)(r):r}},44242:function(e,t,r){var n,i;i=(n=r(62538)).lib.WordArray,n.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var o=[],a=0;a<n;a+=3)for(var s=(r[a>>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,l=0;l<4&&a+.75*l<n;l++)o.push(i.charAt(s>>>6*(3-l)&63));var u=i.charAt(64);if(u)for(;o.length%4;)o.push(u);return o.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,n=t?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a<n.length;a++)o[n.charCodeAt(a)]=a}var s=n.charAt(64);if(s){var l=e.indexOf(s);-1!==l&&(r=l)}for(var u=e,c=r,f=o,d=[],p=0,h=0;h<c;h++)if(h%4){var g=f[u.charCodeAt(h-1)]<<h%4*2|f[u.charCodeAt(h)]>>>6-h%4*2;d[p>>>2]|=g<<24-p%4*8,p++}return i.create(d,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},e.exports=n.enc.Base64url},44333:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeTypedGet=t._mergeOverride=t._makeLayer=t._makeExperiment=t._makeDynamicConfig=t._makeFeatureGate=void 0;let n=r(94316),i=r(89962);function o(e,t,r,n){var i;return{name:e,details:t,ruleID:null!=(i=null==r?void 0:r.rule_id)?i:"",__evaluation:r,value:n}}function a(e,t,r){var n;let i=null!=(n=null==r?void 0:r.value)?n:{};return Object.assign(Object.assign({},o(e,t,r,i)),{get:s(e,null==r?void 0:r.value)})}function s(e,t,r){return(o,a)=>{var s;let l=null!=(s=null==t?void 0:t[o])?s:null;return null==l?null!=a?a:null:null==a||(0,i._isTypeMatch)(l,a)?(null==r||r(o),l):(n.Log.warn(`Parameter type mismatch. '${e}.${o}' was found to be type '${typeof l}' but fallback/return type is '${typeof a}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),null!=a?a:null)}}t._makeFeatureGate=function(e,t,r){var n;return Object.assign(Object.assign({},o(e,t,r,(null==r?void 0:r.value)===!0)),{idType:null!=(n=null==r?void 0:r.id_type)?n:null})},t._makeDynamicConfig=a,t._makeExperiment=function(e,t,r){var n;return Object.assign(Object.assign({},a(e,t,r)),{groupName:null!=(n=null==r?void 0:r.group_name)?n:null})},t._makeLayer=function(e,t,r,n){var i,a;return Object.assign(Object.assign({},o(e,t,r,void 0)),{get:s(e,null==r?void 0:r.value,n),groupName:null!=(i=null==r?void 0:r.group_name)?i:null,__value:null!=(a=null==r?void 0:r.value)?a:{}})},t._mergeOverride=function(e,t,r,n){return Object.assign(Object.assign(Object.assign({},e),t),{get:s(e.name,r,n)})},t._makeTypedGet=s},44801:(e,t,r)=>{"use strict";var n,i,o;
16Object.defineProperty(t,"__esModule",{value:!0}),t._getInstance=t._getStatsigGlobalFlag=t._getStatsigGlobal=void 0;let a=r(94316);t._getStatsigGlobal=()=>{try{return"u">typeof __STATSIG__?__STATSIG__:f}catch(e){return f}},t._getStatsigGlobalFlag=e=>(0,t._getStatsigGlobal)()[e],t._getInstance=e=>{let r=(0,t._getStatsigGlobal)();return e?r.instances&&r.instances[e]:(r.instances&&Object.keys(r.instances).length>1&&a.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),r.firstInstance)};let s="__STATSIG__",l="u">typeof window?window:{},u=void 0!==r.g?r.g:{},c="u">typeof globalThis?globalThis:{},f=null!=(o=null!=(i=null!=(n=l[s])?n:u[s])?i:c[s])?o:{instance:t._getInstance};l[s]=f,u[s]=f,c[s]=f},44813:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DynamicServerError:function(){return o},isDynamicServerError:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i="DYNAMIC_SERVER_USAGE";class o extends Error{constructor(e){super(`Dynamic server usage: ${e}`),this.description=e,this.digest=i}}function a(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===i}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45451:function(e,t,r){"use strict";var n,i,o,a,s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},l=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var c=r(60890),f=u(r(58115)),d=u(r(13488)),p=u(r(25551)),h=r(20566),g=u(r(50446)),y=r(56878),b=u(r(90434)),v=u(r(86667)),m=u(r(30425)),_=u(r(5156)),x=u(r(26247)),w=r(43558),S=r(4052),E=u(r(79753)),k=r(48029),O=u(r(77433)),A=!1;(n=o||(o={})).Disabled="exposures_disabled",n.Enabled="exposures_enabled",(i=a||(a={})).Automatic="automatic_exposure",i.Manual="manual_exposure",t.default=function(){function e(e,t){void 0===t&&(t={}),this._pendingInitPromise=null,this._ready=!1;var r=(0,w.OptionsLoggingCopy)(t);this._sessionID=(0,c.v4)(),this._secretKey=e,this._options=(0,w.OptionsWithDefaults)(t),this._pendingInitPromise=null,this._ready=!1,this._errorBoundary=new p.default(e,r,this._sessionID),this._fetcher=new O.default(this._secretKey,this._options,this._errorBoundary,this._sessionID),this._logger=new m.default(this._fetcher,this._errorBoundary,this._options,r,this._sessionID),f.default.initialize({logger:this._logger,options:this._options}),this._store=new x.default(this._secretKey,this._fetcher,this._options),this._evaluator=new g.default(this._options,this._store)}return e.prototype.initializeAsync=function(){return s(this,void 0,void 0,function(){return l(this,function(e){switch(e.label){case 0:return[4,this.initializeImpl()];case 1:return[2,e.sent().getInitDetails()]}})})},e.prototype.initializeImpl=function(){return s(this,void 0,void 0,function(){var e=this;return l(this,function(t){return[2,this._errorBoundary.capture(function(t){if(null!=e._pendingInitPromise)return e._pendingInitPromise;if(!0===e._ready)return Promise.resolve(t);if(!e._options.localMode&&("string"!=typeof e._secretKey||0===e._secretKey.length||!e._secretKey.startsWith("secret-")))return Promise.reject(new h.StatsigInvalidArgumentError("Invalid key provided.  You must use a Server Secret Key from the Statsig console with the node-js-server-sdk"));f.default.setContext("initialize"),f.default.mark.overall.start({});var r,n=e._evaluator.init(t).then(function(){return Promise.resolve(t)}).finally(function(){e._ready=!0,e._pendingInitPromise=null,f.default.mark.overall.end({success:!0}),f.default.logDiagnostics("initialize"),f.default.setContext("config_sync")});return null!=e._options.initTimeoutMs&&e._options.initTimeoutMs>0?e._pendingInitPromise=Promise.race([n,new Promise(function(r){setTimeout(function(){f.default.mark.overall.end({success:!1,reason:"timeout"}),f.default.logDiagnostics("initialize"),f.default.setContext("config_sync"),e._ready=!0,e._pendingInitPromise=null,t.setFailed(Error("Timed out waiting for initialize")),r(t)},e._options.initTimeoutMs)})]):e._pendingInitPromise=n,null!=(r=e._pendingInitPromise)?r:Promise.resolve(t)},function(t,r){return e._ready=!0,e._pendingInitPromise=null,t.setFailed(r instanceof Error?r:void 0),Promise.resolve(t)},k.InitializeContext.new({caller:"initializeAsync",sdkKey:this._secretKey}
16))]})})},e.prototype.checkGate=function(e,t,r){return this.getFeatureGate(e,t,r).value},e.prototype.getFeatureGate=function(e,t,r){var n=this,i=this._errorBoundary.capture(function(i){return n.getGateImpl(e,t,(null==r?void 0:r.disableExposureLogging)==!0?o.Disabled:o.Enabled,i)},function(){return(0,y.makeEmptyFeatureGate)(t)},k.StatsigContext.new({caller:"checkGate",configName:t}));return null!=this._options.evaluationCallback&&this._options.evaluationCallback(i),i},e.prototype.logGateExposure=function(e,t){var r=this;return this._errorBoundary.swallow(function(n){var i=r.evalGate(e,t,n),o=i.evaluation,s=i.user;r.logGateExposureImpl(s,t,o,a.Manual)},k.StatsigContext.new({caller:"logGateExposure",configName:t}))},e.prototype.getConfig=function(e,t,r){var n=this,i=this._errorBoundary.capture(function(i){return n.getConfigImpl(e,t,(null==r?void 0:r.disableExposureLogging)==!0?o.Disabled:o.Enabled,i)},function(){return new d.default(t)},k.StatsigContext.new({caller:"getConfig",configName:t}));return null!=this._options.evaluationCallback&&this._options.evaluationCallback(i),i},e.prototype.logConfigExposure=function(e,t){var r=this;this._errorBoundary.swallow(function(n){var i=r.evalConfig(e,t,n),o=i.evaluation,s=i.user;r.logConfigExposureImpl(s,t,o,a.Manual)},k.StatsigContext.new({caller:"logConfigExposure",configName:t}))},e.prototype.getExperiment=function(e,t,r){var n,i=this,a=this._errorBoundary.capture(function(n){return i.getConfigImpl(e,t,(null==r?void 0:r.disableExposureLogging)==!0?o.Disabled:o.Enabled,n,!0)},function(){return new d.default(t)},k.StatsigContext.new({caller:"getExperiment",configName:t,userPersistedValues:null==r?void 0:r.userPersistedValues,persistentAssignmentOptions:null==r?void 0:r.persistentAssignmentOptions}));return(null==(n=this._options)?void 0:n.evaluationCallback)!=null&&this._options.evaluationCallback(a),a},e.prototype.logExperimentExposure=function(e,t){var r=this;this._errorBoundary.swallow(function(n){var i=r.evalConfig(e,t,n),o=i.evaluation,s=i.user;r.logConfigExposureImpl(s,t,o,a.Manual)},k.StatsigContext.new({caller:"logExperimentExposure",configName:t}))},e.prototype.getExperimentLayer=function(e){var t=this;return this._errorBoundary.capture(function(){return t._evaluator.getExperimentLayer(e)},function(){return null},k.StatsigContext.new({caller:"getExperimentLayer",configName:e}))},e.prototype.getLayer=function(e,t,r){var n=this,i=this._errorBoundary.capture(function(i){return n.getLayerImpl(e,t,(null==r?void 0:r.disableExposureLogging)==!0?o.Disabled:o.Enabled,i)},function(){return new b.default(t)},k.StatsigContext.new({caller:"getLayer",configName:t,userPersistedValues:null==r?void 0:r.userPersistedValues,persistentAssignmentOptions:null==r?void 0:r.persistentAssignmentOptions}));return null!=this._options.evaluationCallback&&this._options.evaluationCallback(i),i},e.prototype.logLayerParameterExposure=function(e,t,r){var n=this;this._errorBoundary.swallow(function(i){var o=n.evalLayer(e,t,i),s=o.evaluation,l=o.user;n.logLayerParameterExposureImpl(l,t,r,s,a.Manual)},k.StatsigContext.new({caller:"logLayerParameterExposure",configName:t}))},e.prototype.getUserPersistedValues=function(e,t){var r=this;return this._errorBoundary.capture(function(){return r._evaluator.getUserPersistedValues(e,t)},function(){return{}},k.StatsigContext.new({caller:"getUserPersistedValues"}))},e.prototype.logEvent=function(e,t,r,n){var i=this;return void 0===r&&(r=null),void 0===n&&(n=null),this._errorBoundary.swallow(function(){return i.logEventObject({eventName:t,user:e,value:r,metadata:n})},k.StatsigContext.new({caller:"logEvent"}))},e.prototype.logEventObject=function(e){var t=this;return this._errorBoundary.swallow(function(){var r,n,i,o,a=e.eventName,s=null!=(r=e.user)?r:null,l=null!=(n=e.value)?n:null,u=null!=(i=e.metadata)?i:null,c=null!=(o=e.time)?o:null;if(!0!==t._ready||null==t._logger)throw new h.StatsigUninitializedError;if(null!=E.default.validateEventName(a)){(0,S.isUserIdentifiable)(s)||A||(A=!0,_.default.warn("statsigSDK::logEvent> No valid userID was provided. Event will be logged but not associated with an identifiable user. This message is only logged once.")),s=t._normalizeUser(s,t._options);var f=new v.default(a);f.setUser(s),f.setValue(l),f.setMetadata(u),"number"==typeof c&&f.setTime(c),t._logger.log(f)}},k.StatsigContext.new({caller:"logEventObject"}))},e.prototype.shutdown=function(e){var t=this;null!=this._logger&&this._errorBoundary.swallow(function(){t._ready=!1,t._logger.shutdown(e),t._fetcher.shutdown(),t._evaluator.shutdown()},k.StatsigContext.new({caller:"shutdown"}))},e.prototype.shutdownAsync=function(e){return s(this,void 0,void 0,function(){var t=this;return l(this,function(r){switch(r.label){case 0:if(null==this._logger)return[2];return[4,this._errorBoundary.capture(function(){return s(t,void 0,void 0,function(){return l(this,function(t){switch(t.label){case 0:return this._ready=!1,[4,this._logger.shutdown(e)];case 1:return t.sent(),this._fetcher.shutdown(),[4,this._evaluator.shutdownAsync()];case 2:return t.sent(),[2]}})})},function(){return Promise.resolve()},k.StatsigContext.new({caller:"shutdownAsync"}))];case 1:return r.sent(),[2]}})})},e.prototype.flush=function(e){return s(this,void 0,void 0,function(){var t=this;return l(this,function(r){return[2,this._errorBoundary.capture(function(){if(null==t._logger)return Promise.resolve();if(null!=e){var r,n=new AbortController,i=setTimeout(function(){return n.abort()},e);r=t._logger.flush(!0,n.signal).then(function(){return clearTimeout(i)})}else r=t._logger.flush(!1);return r},function(){return Promise.resolve()},k.StatsigContext.new({caller:"flush"}))]})})},e.prototype.clearAllGateOverrides=function(){this._evaluator.clearAllGateOverrides()},e.prototype.clearAllConfigOverrides=function(){this._evaluator.clearAllConfigOverrides()},e.prototype.clearAllLayerOverrides=function(){this._evaluator.clearAllLayerOverrides()},e.prototype.syncStoreSpecs=function(){return s(this,void 0,void 0,function(){return l(this,function(e){switch(e.label){case 0:return[4,this._evaluator.syncStoreSpecs()];case 1:return e.sent(),[2]}})})},e.prototype.syncStoreIdLists=function(){return s(this,void 0,void 0,function(){return l(this,function(e){switch(e.label){case 0:return[4,this._evaluator.syncStoreIdLists()];case 1:return e.sent(),[2]}})})},e.prototype.getClientInitializeResponse=function(e,t,r){var n=this,i="";
16return this._errorBoundary.capture(function(o){if(!0!==n._ready)throw new h.StatsigUninitializedError;i="gcir_".concat(f.default.getMarkerCount("get_client_initialize_response")),f.default.mark.getClientInitializeResponse.start({markerID:i},"get_client_initialize_response");var a=e;null==e.statsigEnvironment&&(a=n._normalizeUser(e,n._options));var s=n._evaluator.getClientInitializeResponse(a,o,t,r),l=null==s||!(0,S.notEmptyObject)(s.feature_gates)&&!(0,S.notEmptyObject)(s.dynamic_configs)&&!(0,S.notEmptyObject)(s.layer_configs);return l&&n._errorBoundary.logError(Error("getClientInitializeResponse returns empty response"),o),f.default.mark.getClientInitializeResponse.end({markerID:i,success:!l},"get_client_initialize_response"),s},function(){return f.default.mark.getClientInitializeResponse.end({markerID:i,success:!1},"get_client_initialize_response"),null},k.StatsigContext.new({caller:"getClientInitializeResponse",clientKey:t,hash:null==r?void 0:r.hash}))},e.prototype.overrideGate=function(e,t,r){var n=this;void 0===r&&(r=""),this._errorBoundary.swallow(function(){"boolean"!=typeof t?_.default.warn("statsigSDK> Attempted to override a gate with a non boolean value"):n._evaluator.overrideGate(e,t,r)},k.StatsigContext.new({caller:"overrideGate"}))},e.prototype.overrideConfig=function(e,t,r){var n=this;void 0===r&&(r=""),this._errorBoundary.swallow(function(){"object"!=typeof t?_.default.warn("statsigSDK> Attempted to override a config with a non object value"):n._evaluator.overrideConfig(e,t,r)},k.StatsigContext.new({caller:"overrideConfig"}))},e.prototype.overrideLayer=function(e,t,r){var n=this;void 0===r&&(r=""),this._errorBoundary.swallow(function(){"object"!=typeof t?_.default.warn("statsigSDK> Attempted to override a layer with a non object value"):n._evaluator.overrideLayer(e,t,r)},k.StatsigContext.new({caller:"overrideLayer"}))},e.prototype.getFeatureGateList=function(){return this._evaluator.getFeatureGateList()},e.prototype.getDynamicConfigList=function(){return this._evaluator.getConfigsList("dynamic_config")},e.prototype.getExperimentList=function(){return this._evaluator.getConfigsList("experiment")},e.prototype.getAutotuneList=function(){return this._evaluator.getConfigsList("autotune")},e.prototype.getLayerList=function(){return this._evaluator.getLayerList()},e.prototype.checkGateSync=function(e,t){return this.getFeatureGateSync(e,t).value},e.prototype.getFeatureGateSync=function(e,t){var r=this;return this._errorBoundary.capture(function(n){return r.getGateImpl(e,t,o.Enabled,n)},function(){return(0,y.makeEmptyFeatureGate)(t)},k.StatsigContext.new({caller:"checkGate",configName:t}))},e.prototype.checkGateWithExposureLoggingDisabledSync=function(e,t){return this.getFeatureGateWithExposureLoggingDisabledSync(e,t).value},e.prototype.getFeatureGateWithExposureLoggingDisabledSync=function(e,t){var r=this;return this._errorBoundary.capture(function(n){return r.getGateImpl(e,t,o.Disabled,n)},function(){return(0,y.makeEmptyFeatureGate)(t)},k.StatsigContext.new({caller:"getFeatureGateWithExposureLoggingDisabled",configName:t}))},e.prototype.getConfigSync=function(e,t){var r=this;return this._errorBoundary.capture(function(n){return r.getConfigImpl(e,t,o.Enabled,n)},function(){return new d.default(t)},k.StatsigContext.new({caller:"getConfig",configName:t}))},e.prototype.getConfigWithExposureLoggingDisabledSync=function(e,t){var r=this;return this._errorBoundary.capture(function(n){return r.getConfigImpl(e,t,o.Disabled,n)},function(){return new d.default(t)},k.StatsigContext.new({caller:"getConfigWithExposureLoggingDisabled",configName:t}))},e.prototype.getExperimentSync=function(e,t,r){var n=this;return this._errorBoundary.capture(function(r){return n.getConfigImpl(e,t,o.Enabled,r)},function(){return new d.default(t)},k.StatsigContext.new({caller:"getExperiment",configName:t,userPersistedValues:null==r?void 0:r.userPersistedValues,persistentAssignmentOptions:null==r?void 0:r.persistentAssignmentOptions}))},e.prototype.getExperimentWithExposureLoggingDisabledSync=function(e,t,r){var n=this;return this._errorBoundary.capture(function(r){return n.getConfigImpl(e,t,o.Disabled,r)},function(){return new d.default(t)},k.StatsigContext.new({caller:"getExperimentWithExposureLoggingDisabled",configName:t,userPersistedValues:null==r?void 0:r.userPersistedValues,persistentAssignmentOptions:null==r?void 0:r.persistentAssignmentOptions}))},e.prototype.getLayerSync=function(e,t,r){var n=this;return this._errorBoundary.capture(function(r){return n.getLayerImpl(e,t,o.Enabled,r)},function(){return new b.default(t)},k.StatsigContext.new({caller:"getLayer",configName:t,userPersistedValues:null==r?void 0:r.userPersistedValues,persistentAssignmentOptions:null==r?void 0:r.persistentAssignmentOptions}))},e.prototype.getLayerWithExposureLoggingDisabledSync=function(e,t,r){var n=this;return this._errorBoundary.capture(function(r){return n.getLayerImpl(e,t,o.Disabled,r)},function(){return new b.default(t)},k.StatsigContext.new({caller:"getLayerWithExposureLoggingDisabled",configName:t,userPersistedValues:null==r?void 0:r.userPersistedValues,persistentAssignmentOptions:null==r?void 0:r.persistentAssignmentOptions}))},e.prototype.checkGateWithExposureLoggingDisabled=function(e,t){return this.getFeatureGateWithExposureLoggingDisabled(e,t).value},e.prototype.getFeatureGateWithExposureLoggingDisabled=function(e,t){var r=this;return this._errorBoundary.capture(function(n){return r.getGateImpl(e,t,o.Disabled,n)},function(){return(0,y.makeEmptyFeatureGate)(t)},k.StatsigContext.new({caller:"getFeatureGateWithExposureLoggingDisabled",configName:t}))},e.prototype.getConfigWithExposureLoggingDisabled=function(e,t){var r=this;return this._errorBoundary.capture(function(n){return r.getConfigImpl(e,t,o.Disabled,n)},function(){return new d.default(t)},k.StatsigContext.new({caller:"getConfigWithExposureLoggingDisabled",configName:t}))},e.prototype.getExperimentWithExposureLoggingDisabled=function(e,t,r){var n=this;return this._errorBoundary.capture(function(r){return n.getConfigImpl(e,t,o.Disabled,r)},function(){return new d.default(t)},k.StatsigContext.new({caller:"getExperimentWithExposureLoggingDisabled",configName:t,userPersistedValues:null==r?void 0:r.userPersistedValues,persistentAssignmentOptions:null==r?void 0:r.persistentAssignmentOptions}))},e.prototype.getLayerWithExposureLoggingDisabled=function(e,t,r){var n=this;return this._errorBoundary.capture(function(r){return n.getLayerImpl(e,t,o.Disabled,r)},function(){return new b.default(t)},k.StatsigContext.new({caller:"getLayerWithExposureLoggingDisabled",configName:t,userPersistedValues:null==r?void 0:r.userPersistedValues,persistentAssignmentOptions:null==r?void 0:r.persistentAssignmentOptions}))},e.prototype.logGateExposureImpl=function(e,t,r,n){this._logger.logGateExposure(e,t,r,n===a.Manual)}
16,e.prototype.evalGate=function(e,t,r){var n=this._validateInputs(e,t),i=n.error,o=n.normalizedUser;if(i)throw i;return{evaluation:this._evaluator.checkGate(o,t,r),user:o}},e.prototype.getGateImpl=function(e,t,r,n){var i,s,l=this.evalGate(e,t,n),u=l.evaluation,c=l.user;r!==o.Disabled&&this.logGateExposureImpl(c,t,u,a.Automatic);var f=(0,y.makeFeatureGate)(t,u.rule_id,!0===u.value,u.group_name,u.id_type,null!=(i=u.evaluation_details)?i:null);return(null==(s=this._options.evaluationCallbacks)?void 0:s.gateCallback)!=null&&this._options.evaluationCallbacks.gateCallback(f,c,this._logger.getGateExposure(c,t,u,!0)),f},e.prototype.logConfigExposureImpl=function(e,t,r,n){this._logger.logConfigExposure(e,t,r,n===a.Manual)},e.prototype.evalConfig=function(e,t,r){var n=this._validateInputs(e,t),i=n.error,o=n.normalizedUser;if(i)throw i;return{evaluation:this._evaluator.getConfig(o,t,r),user:o}},e.prototype.getConfigImpl=function(e,t,r,n,i){void 0===i&&(i=!1);var s,l,u,c=this.evalConfig(e,t,n),f=c.evaluation,p=c.user,h=new d.default(t,f.json_value,f.rule_id,f.group_name,f.id_type,f.secondary_exposures,""!==f.rule_id?this._makeOnDefaultValueFallbackFunction(p):null,null!=(s=f.evaluation_details)?s:null);r!==o.Disabled&&this.logConfigExposureImpl(p,t,f,a.Automatic);var g=i?null==(l=this._options.evaluationCallbacks)?void 0:l.experimentCallback:null==(u=this._options.evaluationCallbacks)?void 0:u.dynamicConfigCallback;return null!=g&&g(h,p,this._logger.getConfigExposure(p,t,f,!0)),h},e.prototype.evalLayer=function(e,t,r){var n=this._validateInputs(e,t),i=n.error,o=n.normalizedUser;if(i)throw i;return{evaluation:this._evaluator.getLayer(o,t,r),user:o}},e.prototype.getLayerImpl=function(e,t,r,n){var i,s=this,l=this.evalLayer(e,t,n),u=l.evaluation,c=l.user,f=new b.default(t,null==u?void 0:u.json_value,null==u?void 0:u.rule_id,null==u?void 0:u.group_name,null==u?void 0:u.config_delegate,function(e,n){var i;(null==(i=s._options.evaluationCallbacks)?void 0:i.layerParamCallback)!=null&&s._options.evaluationCallbacks.layerParamCallback(e,n,c,s._logger.getLayerExposure(c,t,n,u,!0)),r!==o.Disabled&&s.logLayerParameterExposureImpl(c,t,n,u,a.Automatic)},null==u?void 0:u.evaluation_details,null==u?void 0:u.id_type);return(null==(i=this._options.evaluationCallbacks)?void 0:i.layerCallback)!=null&&this._options.evaluationCallbacks.layerCallback(f,c),f},e.prototype.logLayerParameterExposureImpl=function(e,t,r,n,i){null!=this._logger&&this._logger.logLayerExposure(e,t,r,n,i===a.Manual)},e.prototype._validateInputs=function(e,t){var r={error:null,normalizedUser:{userID:""}};return!0!==this._ready?r.error=new h.StatsigUninitializedError:"string"!=typeof t||0===t.length?r.error=new h.StatsigInvalidArgumentError("Lookup key must be a non-empty string"):(0,S.isUserIdentifiable)(e)?r.normalizedUser=this._normalizeUser(e,this._options):r.error=new h.StatsigInvalidArgumentError("Must pass a valid user with a userID or customID for the server SDK to work. See https://docs.statsig.com/messages/serverRequiredUserID/ for more details."),this._evaluator.resetSyncTimerIfExited(),r},e.prototype._makeOnDefaultValueFallbackFunction=function(e){var t=this;return this._ready?function(r,n,i,o){t._logger.logConfigDefaultValueFallback(e,"Parameter ".concat(n," is a value of type ").concat(o,".\n      Returning requested defaultValue type ").concat(i),{name:r.name,ruleID:r.getRuleID(),parameter:n,defaultValueType:i,valueType:o})}:null},e.prototype._normalizeUser=function(e,t){if(null==e&&(e={customIDs:{}}),(null==t?void 0:t.environment)!=null)e.statsigEnvironment=null==t?void 0:t.environment;else{var r=this._store.getDefaultEnvironment();null!=r&&(e.statsigEnvironment={tier:r})}return e},e}()},45680:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},47083:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV1State=void 0;let n=r(55303),i=r(96771),o={};function a(e,t,r){return e.msecs??=-1/0,e.nsecs??=0,t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=r.slice(10,16),e.node[0]|=1,e.clockseq=(r[8]<<8|r[9])&16383),e.msecs=t,e}function s(e,t,r,n,i,o,a=0){if(e.length<16)throw Error("Random bytes length must be >= 16");if(o){if(a<0||a+16>o.length)throw RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`)}else o=new Uint8Array(16),a=0;t??=Date.now(),r??=0,n??=(e[8]<<8|e[9])&16383,i??=e.slice(10,16);let l=((0xfffffff&(t+=122192928e5))*1e4+r)%0x100000000;o[a++]=l>>>24&255,o[a++]=l>>>16&255,o[a++]=l>>>8&255,o[a++]=255&l;let u=t/0x100000000*1e4&0xfffffff;o[a++]=u>>>8&255,o[a++]=255&u,o[a++]=u>>>
1624&15|16,o[a++]=u>>>16&255,o[a++]=n>>>8|128,o[a++]=255&n;for(let e=0;e<6;++e)o[a++]=i[e];return o}t.updateV1State=a,t.default=function(e,t,r){let l,u=e?._v6??!1;if(e){let t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e)l=s(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.nsecs,e.clockseq,e.node,t,r);else{let e=Date.now(),i=(0,n.default)();a(o,e,i),l=s(i,o.msecs,o.nsecs,u?void 0:o.clockseq,u?void 0:o.node,t,r)}return t??(0,i.unsafeStringify)(l)}},47589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={allRequiredBoundariesRendered:function(){return o},createValidationBoundaryTracking:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function i(){return{requiredIds:new Map,renderedIds:new Set}}function o(e){for(let t of e.requiredIds.keys())if(!e.renderedIds.has(t))return!1;return!0}},47741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(12115),i=r(69930),o=r(84153),a=r(32809);t.default=function(e,t){let{client:r,renderVersion:s}=(0,n.useContext)(a.default);return(0,n.useMemo)(()=>(0,o.isNoopClient)(r)?(i.Log.warn(`useDynamicConfig hook failed to find a valid StatsigClient for dynamic config '${e}'.`),o.NoopEvaluationsClient.getDynamicConfig(e,t)):r.getDynamicConfig(e,t),[e,r,s,...t?Object.values(t):[]])}},48029:function(e,t){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};t.__esModule=!0,t.GlobalContext=t.InitializeContext=t.EvaluationContext=t.StatsigContext=void 0;var o=function(){function e(e){this.ctx=e,this.startTime=Date.now(),this.caller=e.caller,this.eventCount=e.eventCount,this.configName=e.configName,this.clientKey=e.clientKey,this.hash=e.clientKey,this.bypassDedupe=e.bypassDedupe,this.userPersistedValues=e.userPersistedValues,this.persistentAssignmentOptions=e.persistentAssignmentOptions}return e.new=function(e){return new this(e)},e.prototype.getContextForLogging=function(){return{tag:this.caller,eventCount:this.eventCount,configName:this.configName,clientKey:this.clientKey,hash:this.clientKey}},e.prototype.getRequestContext=function(){return this.ctx},e}();t.StatsigContext=o,t.EvaluationContext=function(e){function t(t,r,n,i,o){var a=e.call(this,t)||this;return a.user=r,a.spec=n,a.targetAppID=i,a.onlyEvaluateTargeting=o,a}return n(t,e),t.new=function(e){var t=e.user,r=e.spec;return new this(i(e,["user","spec"]),t,r)},t.get=function(e,r){return new t(e,r.user,r.spec,r.targetAppID,r.onlyEvaluateTargeting)},t}(o),t.InitializeContext=function(e){function t(t,r){var n=e.call(this,t)||this;return n.sdkKey=r,n.success=!0,n}return n(t,e),t.new=function(e){return new this(e,e.sdkKey)},t.prototype.setSuccess=function(e){this.success=!0,this.source=e},t.prototype.setFailed=function(e){this.success=!1,this.error=e},t.prototype.getInitDetails=function(){return{duration:Date.now()-this.startTime,success:this.success,error:this.error,source:this.source}},t}(o),t.GlobalContext=function(){function e(){}return e.isEdgeEnvironment="string"==typeof EdgeRuntime,e}()},48347:function(e,t,r){var n;n=r(62538),r(91750),n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if((e>>24&255)==255){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0+(t<<16)+(r<<8)+n}else e+=0x1000000;return e}var r=e.Encryptor=e.extend({processBlock:function(e,r){var n,i=this._cipher,o=i.blockSize,a=this._iv,s=this._counter;a&&(s=this._counter=a.slice(0),this._iv=void 0),0===((n=s)[0]=t(n[0]))&&(n[1]=t(n[1]));var l=s.slice(0);i.encryptBlock(l,0);for(var u=0;u<o;u++)e[r+u]^=l[u]}});return e.Decryptor=r,e}(),e.exports=n.mode.CTRGladman},48393:(e,t,r)=>{"use strict";
16Object.defineProperty(t,"__esModule",{value:!0}),t._notifyVisibilityChanged=t._subscribeToVisiblityChanged=t._isUnloading=t._isCurrentlyVisible=void 0;let n=r(77612),i="foreground",o="background",a=[],s=i,l=!1;t._isCurrentlyVisible=()=>s===i,t._isUnloading=()=>l,t._subscribeToVisiblityChanged=e=>{a.unshift(e)},t._notifyVisibilityChanged=e=>{e!==s&&(s=e,a.forEach(t=>t(e)))},(0,n._addWindowEventListenerSafe)("focus",()=>{l=!1,(0,t._notifyVisibilityChanged)(i)}),(0,n._addWindowEventListenerSafe)("blur",()=>(0,t._notifyVisibilityChanged)(o)),(0,n._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,t._notifyVisibilityChanged)("visible"===document.visibilityState?i:o)}),(0,n._addWindowEventListenerSafe)((0,n._getUnloadEvent)(),()=>{l=!0,(0,t._notifyVisibilityChanged)(o)})},48799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ImageResponse:function(){return o.ImageResponse},NextRequest:function(){return a.NextRequest},NextResponse:function(){return s.NextResponse},URLPattern:function(){return u.URLPattern},after:function(){return c.after},connection:function(){return f.connection},userAgent:function(){return l.userAgent},userAgentFromString:function(){return l.userAgentFromString}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(14720),a=r(18524),s=r(9408),l=r(78064),u=r(41039),c=r(20032),f=r(17764)},49304:(e,t,r)=>{"use strict";var n=r(26801),i=r(81852),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|h(n,i),l=a(o),u=l.write(n,i);return u!==o&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e)){var c=e;if(I(c,Uint8Array)){var g=new Uint8Array(c);return d(g.buffer,g.byteOffset,g.byteLength)}return f(c)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(I(e,ArrayBuffer)||e&&I(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(I(e,SharedArrayBuffer)||e&&I(e.buffer,SharedArrayBuffer)))return d(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var y=e.valueOf&&e.valueOf();if(null!=y&&y!==e)return s.from(y,t,r);var b=function(e){if(s.isBuffer(e)){var t=0|p(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(b)return b;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|p(e))}function f(e){for(var t=e.length<0?0:0|p(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function d(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function p(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||I(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(e).length;default:if(i)return n?-1:O(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){var i,o,a,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=P[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return m(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,o=t,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return v(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;
vendor: 13,903 bytes, line 16
16o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var f=!0,d=0;d<l;d++)if(u(e,o+d)!==u(t,d)){f=!1;break}if(f)return o}return -1}function m(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,u=e[i],c=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}var d=n,p=d.length;if(p<=4096)return String.fromCharCode.apply(String,d);for(var h="",g=0;g<p;)h+=String.fromCharCode.apply(String,d.slice(g,g+=4096));return h}function _(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function x(e,t,r,n,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function w(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function S(e,t,r,n,o){return t*=1,r>>>=0,o||w(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function E(e,t,r,n,o){return t*=1,r>>>=0,o||w(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!s.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(I(o,Uint8Array))i+o.length>n.length?s.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(s.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?m(this,0,e):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,l=Math.min(o,a),u=this.slice(n,i),c=e.slice(t,r),f=0;f<l;++f)if(u[f]!==c[f]){o=u[f],a=c[f];break}return o<a?-1:+(a<o)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,f,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,l=parseInt(t.substr(2*a,2),16);if((s=l)!=s)break;e[r+a]=l}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,R(O(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=r,R(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return l=t,u=r,R(A(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,f=r,R(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,f);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||_(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||_(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),l=a.length;
vendor: 8,369 bytes, line 16
16if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%l]}return this};var k=/[^+/0-9A-Za-z-_]/g;function O(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function A(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function R(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function I(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var P=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},50278:(e,t,r)=>{"use strict";r.d(t,{D2:()=>l,nD:()=>s});var n=r(60354);try{if("u">typeof document){var i=document.createElement("style");i.appendChild(document.createTextNode("._header_6rywe_1{display:flex;align-items:stretch;justify-content:space-between;border-radius:8px 8px 0 0;background-color:#fff;border-bottom:2px solid #f3f4f6;overflow:hidden}._tabs_6rywe_11{display:flex;flex:1;gap:0}._tab_6rywe_11{flex:1;background-color:transparent;padding:14px 20px;font-size:14px;font-weight:600;color:#6b7280;border:none;border-bottom:3px solid transparent;cursor:pointer;transition:all .2s ease;margin:0;position:relative}._tab_6rywe_11:hover{background-color:#f9fafb;color:#374151}._tabActive_6rywe_37{color:#7c3aed;border-bottom-color:#7c3aed;background-color:#faf5ff}._tabActive_6rywe_37:hover{background-color:#f3e8ff}._closeButton_6rywe_47{display:flex;align-items:center;justify-content:center;background-color:transparent;padding:12px 16px;font-size:18px;font-weight:600;color:#9ca3af;border:none;cursor:pointer;transition:all .2s ease;margin:0;min-width:48px}._closeButton_6rywe_47:hover{background-color:#fef2f2;color:#dc2626}._container_1bf96_1{display:flex;flex-direction:column;height:100%}._toolbar_1bf96_7{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #f3f4f6;background-color:#fafafa}._filterButtons_1bf96_16{display:flex;align-items:center;gap:6px;background-color:#fff;padding:4px;border-radius:8px;border:1px solid #e5e7eb}._filterButton_1bf96_16{border-radius:6px;background-color:transparent;padding:6px 12px;font-size:12px;color:#6b7280;border:none;cursor:pointer;transition:all .2s ease;font-weight:600;margin:0}._filterButton_1bf96_16:hover{background-color:#f3f4f6;color:#374151}._filterButtonActive_1bf96_44{background-color:#7c3aed;color:#fff;box-shadow:0 1px 3px #7c3aed4d}._filterButtonActive_1bf96_44:hover{background-color:#6d28d9}._clearButton_1bf96_54{border-radius:6px;background-color:transparent;padding:6px 12px;font-size:12px;font-weight:600;color:#dc2626;border:1px solid #fecaca;cursor:pointer;transition:all .2s ease;margin:0}._clearButton_1bf96_54:hover{background-color:#fef2f2;border-color:#dc2626}._logsContainer_1bf96_72{flex:1;padding:12px;display:flex;flex-direction:column;gap:8px;text-align:left;background-color:#fafafa;margin:0}._emptyState_1bf96_83{padding:16px 0;text-align:center;font-size:14px;color:#6b7280;margin:0;width:100%}._logItem_1bf96_92{border-radius:8px;border:1px solid;padding:12px;display:block;transition:all .2s ease}._logItem_1bf96_92:hover{box-shadow:0 2px 8px #00000014}._logItemDefault_1bf96_104{border-color:#e5e7eb;background-color:#fff}._logItemError_1bf96_109{border-color:#fecaca;background-color:#fef2f2}._logItemWarn_1bf96_114{border-color:#fde68a;background-color:#fffbeb}._logHeader_1bf96_119{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}._logTimestamp_1bf96_126{font-size:12px;color:#6b7280;margin:0}._logPlatform_1bf96_132{border-radius:6px;background:linear-gradient(135deg,#ede9fe,#ddd6fe);padding:3px 10px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#7c3aed}._logEventName_1bf96_143{word-break:break-all;font-size:14px;font-weight:600;color:#1f2937;margin:0}._logMessage_1bf96_151{margin-top:4px;font-size:12px;margin-bottom:0}._logMessageError_1bf96_157{color:#b91c1c}._logMessageWarn_1bf96_161{color:#d97706}._logParams_1bf96_165{margin-top:8px;overflow-x:auto;border-radius:4px;border:1px solid #e5e7eb;background-color:#fff;padding:8px;font-size:12px;color:#374151;font-family:Courier New,Courier,monospace;white-space:pre-wrap;margin-bottom:0}._srOnly_1bf96_179{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._container_16zfu_1{display:flex;flex-direction:column;gap:20px}._section_16zfu_7{display:flex;flex-direction:column;gap:10px}._label_16zfu_13{font-size:13px;font-weight:700;color:#1f2937;margin:0;letter-spacing:.3px}._directionButtons_16zfu_21{display:flex;gap:8px;padding:4px;background-color:#f3f4f6;border-radius:8px}._directionButton_16zfu_21{flex:1;border-radius:6px;background-color:transparent;padding:10px 16px;font-size:13px;color:#6b7280;border:none;cursor:pointer;transition:all .2s ease;font-weight:600;margin:0}._directionButton_16zfu_21:hover{background-color:#e5e7eb;color:#374151}._directionButtonActive_16zfu_48{background-color:#fff;color:#7c3aed;box-shadow:0 2px 6px #0000001a}._directionButtonActive_16zfu_48:hover{background-color:#fff}._select_16zfu_58{border-radius:8px;border:2px solid #e5e7eb;background-color:#fff;padding:10px 14px;font-size:14px;color:#374151;cursor:pointer;transition:all .2s ease;margin:0;font-family:inherit;font-weight:500}._select_16zfu_58:hover{border-color:#9ca3af}._select_16zfu_58:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 4px #7c3aed1a}._container_1p6lr_1{display:flex;flex-direction:column;gap:10px}._header_1p6lr_7{display:flex;align-items:center;justify-content:space-between}._label_1p6lr_13{font-size:13px;font-weight:700;color:#1f2937;margin:0;letter-spacing:.3px}._error_1p6lr_21{font-size:11px;color:#dc2626;font-weight:600;background-color:#fef2f2;padding:3px 8px;border-radius:4px}._textarea_1p6lr_30{border-radius:8px;border:2px solid #e5e7eb;background-color:#fafafa;height:120px;padding:12px 14px;font-size:13px;color:#374151;font-family:Courier New,Courier,monospace;resize:vertical;transition:all .2s ease;margin:0;line-height:1.6}._textarea_1p6lr_30:hover{background-color:#fff;border-color:#9ca3af}._textarea_1p6lr_30:focus{outline:none;background-color:#fff;border-color:#7c3aed;box-shadow:0 0 0 4px #7c3aed1a}._textareaError_1p6lr_57{border-color:#fca5a5;background-color:#fef2f2}._textareaError_1p6lr_57:focus{border-color:#dc2626;box-shadow:0 0 0 4px #dc26261a}._hint_1p6lr_67{font-size:11px;color:#9ca3af;margin:0;font-style:italic}._container_1rn6r_1{display:flex;flex-direction:column;height:100%;padding:20px;background:linear-gradient(to bottom,#fafafa,#fff);position:relative}._content_1rn6r_10{display:flex;flex-direction:column;gap:24px}._emitButton_1rn6r_16{border-radius:8px;background:linear-gradient(135deg,#7c3aed,#6d28d9);padding:12px 20px;font-size:14px;font-weight:700;color:#fff;border:none;cursor:pointer;transition:all .2s ease;margin:0;box-shadow:0 2px 8px #7c3aed4d}._emitButton_1rn6r_16:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #7c3aed66}._emitButton_1rn6r_16:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 6px #7c3aed4d}._emitButton_1rn6r_16:disabled{background:#e5e7eb;cursor:not-allowed;opacity:.6;box-shadow:none;transform:none}._toast_1rn6r_48{position:absolute;top:16px;right:16px;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:8px;font-size:13px;font-weight:600;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;animation:_slideInDown_1rn6r_1 .3s ease-out;z-index:10;max-width:calc(100% - 32px)}@keyframes _slideInDown_1rn6r_1{0%{transform:translateY(-100%);opacity:0}
16to{transform:translateY(0);opacity:1}}._toastSuccess_1rn6r_78{background-color:#f0fdf4;color:#166534;border:2px solid #86efac}._toastError_1rn6r_84{background-color:#fef2f2;color:#991b1b;border:2px solid #fecaca}._toastIcon_1rn6r_90{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;font-size:12px;font-weight:700;flex-shrink:0}._toastSuccess_1rn6r_78 ._toastIcon_1rn6r_90{background-color:#22c55e;color:#fff}._toastError_1rn6r_84 ._toastIcon_1rn6r_90{background-color:#ef4444;color:#fff}._toastMessage_1rn6r_112{flex:1;line-height:1.4}._container_1lone_1{all:initial;display:block;box-sizing:border-box;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5;color:#1f2937;text-align:left;max-width:90%;position:fixed;bottom:20px;right:20px;z-index:2147483647}._container_1lone_1 *,._container_1lone_1 *:before,._container_1lone_1 *:after{box-sizing:border-box;font-family:inherit;line-height:inherit}._position-bottom-start_1lone_32{bottom:20px;right:20px}._position-bottom-end_1lone_37{bottom:20px;left:20px}._position-top-start_1lone_42{top:20px;right:20px}._position-top-end_1lone_47{top:20px;left:20px}._toggleButton_1lone_52{position:relative;display:flex;align-items:center;justify-content:center;width:55px;height:55px;padding:0;border:none;border-radius:50%;background:#5b21b6;color:#fff;cursor:pointer;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transition:all .2s ease}._toggleButton_1lone_52 svg{display:block;width:30px;height:30px}._toggleButton_1lone_52:active{transform:scale(.95)}._toggleButton_1lone_52:focus-visible{outline:2px solid #1e40af;outline-offset:2px}._toggleButton_1lone_52:before{content:attr(data-tooltip);position:absolute;padding:8px 12px;background-color:#1f2937;color:#fff;font-size:12px;font-weight:500;white-space:nowrap;border-radius:6px;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;pointer-events:none;z-index:1}._toggleButton_1lone_52:hover:before,._toggleButton_1lone_52:focus-visible:before{opacity:1;visibility:visible}._toggleButton_1lone_52:hover{background:#4c1d95;transform:scale(1.1);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}._position-bottom-start_1lone_32 ._toggleButton_1lone_52:before,._position-bottom-end_1lone_37 ._toggleButton_1lone_52:before{bottom:calc(100% + 8px);top:auto}._position-top-start_1lone_42 ._toggleButton_1lone_52:before,._position-top-end_1lone_47 ._toggleButton_1lone_52:before{top:calc(100% + 8px);bottom:auto}._position-bottom-start_1lone_32 ._toggleButton_1lone_52:before,._position-top-start_1lone_42 ._toggleButton_1lone_52:before{right:0;left:auto}._position-bottom-end_1lone_37 ._toggleButton_1lone_52:before,._position-top-end_1lone_47 ._toggleButton_1lone_52:before{left:0;right:auto}._panel_1lone_155{display:flex;height:540px;width:440px;max-width:100%;flex-direction:column;border-radius:8px;border:1px solid #9ca3af;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;margin-bottom:10px;overflow:hidden}._panelUp_1lone_171{margin-bottom:10px}._panelDown_1lone_176{margin-top:10px}._logsContainer_1lone_180{display:flex;flex-direction:column;gap:8px;padding:12px;margin:0;list-style:none;background-color:#f9fafb;flex:1;overflow-y:auto}._content_1lone_192{display:flex;flex-direction:column;flex:1;overflow-y:scroll}._content_1lone_192::-webkit-scrollbar{width:8px}._content_1lone_192::-webkit-scrollbar-track{background:#f3f4f6}._content_1lone_192::-webkit-scrollbar-thumb{background:#6b7280;border-radius:4px}._content_1lone_192::-webkit-scrollbar-thumb:hover{background:#4b5563}")),document.head.appendChild(i)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}let o="lib-events-bridge-web:native-event-logs";class a{static instance;logs=[];listeners=new Set;lastLoggedEvent=null;debounceTimeMs=10;constructor(){this.loadLogsFromSessionStorage()}static getInstance=()=>(a.instance||(a.instance=new a),a.instance);static resetInstance=()=>{a.instance=void 0};resetStateForTesting=()=>{this.logs=[],this.listeners.clear(),this.lastLoggedEvent=null,this.loadLogsFromSessionStorage()};loadLogsFromSessionStorage=()=>{if("u">typeof sessionStorage){let e=sessionStorage.getItem(o);if(e)try{this.logs=JSON.parse(e)}catch(e){console.error("Failed to parse logs from sessionStorage:",e),this.logs=[]}}};saveLogsToSessionStorage=()=>{if("u">typeof sessionStorage)try{sessionStorage.setItem(o,JSON.stringify(this.logs))}catch(e){console.error("Failed to save logs to sessionStorage:",e)}};addLog=e=>{let t=Date.now(),r=JSON.stringify(e.params||{});this.lastLoggedEvent&&e.eventName===this.lastLoggedEvent.eventName&&r===this.lastLoggedEvent.params&&t-this.lastLoggedEvent.timestamp<this.debounceTimeMs||(this.lastLoggedEvent={eventName:e.eventName,params:r,timestamp:t},this.logs.unshift(e),this.logs.length>100&&(this.logs=this.logs.slice(0,100)),this.saveLogsToSessionStorage(),this.notifyListeners())};getLogs=()=>[...this.logs];getLogsByType=e=>"all"===e?this.getLogs():this.logs.filter(t=>t.type===e);getAvailableEventTypes=()=>{let e=new Set(["all"]);
16return this.logs.forEach(t=>e.add(t.type)),Array.from(e)};clearLogs=()=>{this.logs=[],this.saveLogsToSessionStorage(),this.notifyListeners()};subscribe=e=>(this.listeners.add(e),()=>this.listeners.delete(e));notifyListeners=()=>{this.listeners.forEach(e=>e())}}let s=a.getInstance();class l{eventListenerMap={};_iosResponseMap={};_iosCntResponseId=0;appId;logger;constructor(e){this.appId=e.appId,this.logger=e.logger??n.N}init(){return"u">typeof window&&(window.nsWebViewInterface=this,window.YapeWebViewInterface=this),this}_onNativeEvent(e,t){this.logger.log({timestamp:Date.now(),eventName:`[IN] ${e}`,platform:"native-to-web",level:n.L.INFO,type:n.E.ACTION,params:t,message:"Event received from native"}),this.eventListenerMap[e]?.forEach(e=>e&&e(t))}_getResolvedFunction(e){let t=e.trim(),r=(t=0===t.indexOf("window.")?t.replace("window.",""):t).split("."),n=window;return r.forEach(e=>{if(n&&!(e in n)){n=null;return}return n=n?.[e]}),n}_sendJSCallResponse(e,t,r){this.emit("_jsCallResponse",{reqId:e,response:t||null,isError:!!r})}_callJSFunction(e,t,r){let i=this._getResolvedFunction(t);if(i&&i instanceof Function){this.logger.log({timestamp:Date.now(),eventName:"js-function-call",platform:n.P.WEB,level:n.L.INFO,type:n.E.ACTION,params:{functionName:t,args:r,reqId:e},message:`Calling JS function: ${t}`});let o=i.apply(window,r);o&&o instanceof Promise?o.then(t=>{this._sendJSCallResponse(e,t)},r=>{this.logger.log({timestamp:Date.now(),eventName:"js-function-error",platform:n.P.WEB,level:n.L.ERROR,type:n.E.ACTION,params:{functionName:t,error:r,reqId:e},message:`JS function ${t} failed with error`}),this._sendJSCallResponse(e,r,!0)}):this._sendJSCallResponse(e,o)}else this.logger.log({timestamp:Date.now(),eventName:"js-function-not-found",platform:n.P.WEB,level:n.L.ERROR,type:n.E.ACTION,params:{functionName:t,args:r,reqId:e},message:`JS function ${t} not found or not callable`})}_createIFrame(e){let t=document.documentElement,r=document.createElement("IFRAME");return r.setAttribute("src",e),t.appendChild(r),r}_emitEventToNative(e,t){this._tryEmitViaNewBridge(e,t)||this._emitEventViaIframe(e,t)}_tryEmitViaNewBridge(e,t){let r="object"==typeof t?JSON.stringify(t):t;return this._isRunningInAndroid()?(this._getAndroidBridge().handleEventFromWebView(e,r),!0):!!this._isRunningInIOS()&&(this._getIOSBridge().postMessage({event:e,data:r}),!0)}_emitEventViaIframe(e,t){this._iosResponseMap[++this._iosCntResponseId]=t;let r={eventName:e.replace(/[^A-Z0-9_]/gi,""),resId:this._iosCntResponseId},n=`js2ios:${JSON.stringify(r)}`,i=this._createIFrame(n);i.parentNode?.removeChild(i)}emitError(e="ERROR_GENERIC"){(this._isRunningInAndroid()||this._isRunningInIOS())&&(this.logger.log({timestamp:Date.now(),eventName:"[OUT] ERROR",platform:n.P.WEB,level:n.L.ERROR,type:n.E.ACTION,params:{errorCode:e},message:"Error emitted to native"}),this._isRunningInAndroid()?this._getAndroidBridge().handleEventErrorFromWebView(e):this._isRunningInIOS()&&this._getIOSBridge().postMessage({event:"ERROR",code:e}))}_isRunningInAndroid(){return"u">typeof window&&!!this._getAndroidBridge()}_isRunningInIOS(){return"u">typeof window&&!!this._getIOSBridge()}_getAndroidBridge(){return window.AndroidWebBridge}_getIOSBridge(){return window.webkit?.messageHandlers?.IOSWebBridge}_getIOSResponse(e){let t=this._iosResponseMap[e];return delete this._iosResponseMap[e],t}on(e,t){this.eventListenerMap[e]||(this.eventListenerMap[e]=[]),this.eventListenerMap[e].push(t)}off(e,t){this.eventListenerMap[e]&&0!==this.eventListenerMap[e].length&&(t?this.eventListenerMap[e]=this.eventListenerMap[e].filter(e=>e!==t):delete this.eventListenerMap[e])}emit(e,t){let r=Object.values({...n.O,...n.a}),i="_jsCallResponse"===e;if(!(r.includes(e)||i))return void this.logger.log({timestamp:Date.now(),eventName:`[OUT] ${e}`,platform:n.P.WEB,level:n.L.ERROR,type:n.E.ACTION,params:t||{},message:`Invalid event name rejected: ${e}`});let o=("object"==typeof t?JSON.stringify(t):t)||"{}";this.logger.log({timestamp:Date.now(),eventName:`[OUT] ${e}`,platform:n.P.WEB,level:n.L.INFO,type:n.E.ACTION,params:t||{},message:"Event emitted to native"}),this._emitEventToNative(e,o)}}},50290:(e,t)=>{"use strict";
16Object.defineProperty(t,"__esModule",{value:!0}),t.Diagnostics=void 0;let r=new Map,n="start";function i(e,t,r,n){return Object.assign({key:r,action:t,step:n,timestamp:Date.now()},e)}function o(e,t){var n;let i=null!=(n=r.get(e))?n:[];i.push(t),r.set(e,i)}function a(e,t){if(t in e)return e[t]}t.Diagnostics={_getMarkers:e=>r.get(e),_markInitOverallStart:e=>{o(e,i({},n,"overall"))},_markInitOverallEnd:(e,t,r)=>{o(e,i({success:t,error:t?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:r},"end","overall"))},_markInitNetworkReqStart:(e,t)=>{o(e,i(t,n,"initialize","network_request"))},_markInitNetworkReqEnd:(e,t)=>{o(e,i(t,"end","initialize","network_request"))},_markInitProcessStart:e=>{o(e,i({},n,"initialize","process"))},_markInitProcessEnd:(e,t)=>{o(e,i(t,"end","initialize","process"))},_clearMarkers:e=>{r.delete(e)},_formatError(e){if(e&&"object"==typeof e)return{code:a(e,"code"),name:a(e,"name"),message:a(e,"message")}},_getDiagnosticsData(e,r,n,i){var o;return{success:(null==e?void 0:e.ok)===!0,statusCode:null==e?void 0:e.status,sdkRegion:null==(o=null==e?void 0:e.headers)?void 0:o.get("x-statsig-region"),isDelta:!0===n.includes('"is_delta":true')||void 0,attempt:r,error:t.Diagnostics._formatError(i)}},_enqueueDiagnosticsEvent(e,r,n,i){let o=t.Diagnostics._getMarkers(n);if(null==o||o.length<=0)return -1;let a=o[o.length-1].timestamp-o[0].timestamp;t.Diagnostics._clearMarkers(n);let s={eventName:"statsig::diagnostics",user:e,value:null,metadata:{context:"initialize",markers:o.slice(),statsigOptions:i},time:Date.now()};return r.enqueue(s),a}}},50446:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},a=this&&this.__spreadArray||function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var l=s(r(2125)),u=s(r(84841)),c=r(40395),f=s(r(5156)),d=s(r(9360)),p=r(4052),h=r(75241),g=r(2881),y=r(48029);t.default=function(){function e(e,t){this.initialized=!1,this.store=t,this.initStrategyForIP3Country=e.initStrategyForIP3Country,this.gateOverrides={},this.configOverrides={},this.layerOverrides={},this.persistentStore=new d.default(e.userPersistentStorage)}return e.prototype.init=function(e){return i(this,void 0,void 0,function(){return o(this,function(t){switch(t.label){case 0:return[4,this.store.init(e)];case 1:t.sent();try{"lazy"===this.initStrategyForIP3Country?setTimeout(function(){l.default.init()},0):"none"!==this.initStrategyForIP3Country&&l.default.init()}catch(e){}return this.initialized=!0,[2]}})})},e.prototype.overrideGate=function(e,t,r){void 0===r&&(r=null);var n,i=null!=(n=this.gateOverrides[e])?n:{};i[null==r?"":r]=t,this.gateOverrides[e]=i},e.prototype.overrideConfig=function(e,t,r){void 0===r&&(r="");var n,i=null!=(n=this.configOverrides[e])?n:{};i[null==r?"":r]=t,this.configOverrides[e]=i},e.prototype.overrideLayer=function(e,t,r){void 0===r&&(r="");var n,i=null!=(n=this.layerOverrides[e])?n:{};i[null==r?"":r]=t,this.layerOverrides[e]=i},e.prototype.checkGate=function(e,t,r){var n=this.lookupGateOverride(e,t);
16if(n)return n.withEvaluationDetails(c.EvaluationDetails.make(this.store.getLastUpdateTime(),this.store.getInitialUpdateTime(),"LocalOverride"));if("Uninitialized"===this.store.getInitReason())return new u.default(!1).withEvaluationDetails(c.EvaluationDetails.uninitialized());var i=this.store.getGate(t);return i?this._evalSpec(y.EvaluationContext.get(r.getRequestContext(),{user:e,spec:i})):(f.default.debug("statsigSDK> Evaluating a non-existent gate ".concat(t)),this.getUnrecognizedEvaluation())},e.prototype.getConfig=function(e,t,r,n){void 0===n&&(n=!1);var i=this.lookupConfigOverride(e,t);if(i)return i.withEvaluationDetails(c.EvaluationDetails.make(this.store.getLastUpdateTime(),this.store.getInitialUpdateTime(),"LocalOverride"));if("Uninitialized"===this.store.getInitReason())return new u.default(!1).withEvaluationDetails(c.EvaluationDetails.uninitialized());var o=this.store.getConfig(t);return o?this._evalConfig(y.EvaluationContext.get(r.getRequestContext(),{user:e,spec:o}),n):(f.default.debug("statsigSDK> Evaluating a non-existent config ".concat(t)),this.getUnrecognizedEvaluation())},e.prototype.getLayer=function(e,t,r){var n=this.lookupLayerOverride(e,t);if(n)return n.withEvaluationDetails(c.EvaluationDetails.make(this.store.getLastUpdateTime(),this.store.getInitialUpdateTime(),"LocalOverride"));if("Uninitialized"===this.store.getInitReason())return new u.default(!1).withEvaluationDetails(c.EvaluationDetails.uninitialized());var i=this.store.getLayer(t);return i?this._evalLayer(y.EvaluationContext.get(r.getRequestContext(),{user:e,spec:i})):(f.default.debug("statsigSDK> Evaluating a non-existent layer ".concat(t)),this.getUnrecognizedEvaluation())},e.prototype.getUserPersistedValues=function(e,t){var r;return null!=(r=this.persistentStore.load(e,t))?r:{}},e.prototype.getClientInitializeResponse=function(e,t,r,i){var o,s,l,u,c=this;if(!this.store.isServingChecks())return null;var f=(0,p.cloneEnforce)(e),d=this.store.getClientKeyToAppMap(),h=null!=(o=null==i?void 0:i.hash)?o:"djb2",b=null,v=null;if(null!=r){var m=this.store.getHashedClientKeyToAppMap(),_=this.store.getHashedSDKKeysToEntities();b=null!=(s=m[(0,g.djb2Hash)(r)])?s:null,v=null!=(l=_[(0,g.djb2Hash)(r)])?l:null}null!=r&&null==b&&(b=null!=(u=d[r])?u:null);var x=function(e){var t;return null==b||!!(null!=(t=e.targetAppIDs)?t:[]).includes(b)},w=Object.entries(this.store.getAllGates()).filter(function(e){var t;return"segment"!==(t=e[1]).entity&&"holdout"!==t.entity&&(null==v||!!v.gates.includes(t.name))&&x(t)}).map(function(e){var r=e[0],n=e[1],o=c.gateOverrideForClientInitializeResponse(f,n.name,i),a=null!=o?o:c._eval(y.EvaluationContext.get(t.getRequestContext(),{user:f,spec:n,targetAppID:null!=b?b:void 0}));return{name:(0,g.hashString)(r,h),value:!a.unsupported&&a.value,rule_id:a.rule_id,secondary_exposures:c.hashSecondaryExposure(a.secondary_exposures,h),id_type:n.idType}}),S=Object.entries(this.store.getAllConfigs()).filter(function(e){var t;return t=e[1],(null==v||!!v.configs.includes(t.name))&&x(t)}).map(function(e){var r,o,a=e[1],s=c.configOverrideForClientInitializeResponse(f,a,i),l=null!=s?s:c._eval(y.EvaluationContext.get(t.getRequestContext(),{user:f,spec:a,targetAppID:null!=b?b:void 0})),u=c._specToInitializeResponse(a,l,h);if(u.id_type=null!=(r=a.idType)?r:null,"dynamic_config"===a.entity&&(u.passed=!0===l.value),"dynamic_config"!==a.entity&&"autotune"!==a.entity&&(u.is_user_in_experiment=c._isUserAllocatedToExperiment(f,a,t),u.is_experiment_active=c._isExperimentActive(a),a.hasSharedParams)){u.is_in_layer=!0,u.explicit_parameters=null!=(o=a.explicitParameters)?o:[];var d={},p=c.store.getExperimentLayer(a.name);if(null!=p){var g=c.store.getLayer(p);null!=g&&(d=g.defaultValue)}u.value=n(n({},d),u.value)}return u}),E=Object.entries(this.store.getAllLayers()).filter(function(e){return x(e[1])}).map(function(e){var r,n,o,a=e[1],s=c.layerOverrideForClientInitializeResponse(f,a,i),l=null!=s?s:c._eval(y.EvaluationContext.get(t.getRequestContext(),{user:f,spec:a,targetAppID:null!=b?b:void 0})),u=c._specToInitializeResponse(a,l,h);if(u.explicit_parameters=null!=(r=a.explicitParameters)?r:[],null!=l.config_delegate&&""!==l.config_delegate){var d=c.store.getConfig(l.config_delegate);if(null!=d){var p=c._eval(y.EvaluationContext.get(t.getRequestContext(),{user:f,spec:d,targetAppID:null!=b?b:void 0}));null!=p.group_name&&""!==p.group_name&&(u.group_name=p.group_name)}u.allocated_experiment_name=(0,g.hashString)(l.config_delegate,h),u.is_experiment_active=c._isExperimentActive(d),u.is_user_in_experiment=c._isUserAllocatedToExperiment(f,d,t),u.explicit_parameters=null!=(n=null==d?void 0:d.explicitParameters)?n:[]}return u.undelegated_secondary_exposures=null!=(o=l.undelegated_secondary_exposures)?o:[],u}),k={};return f.userID&&(k.userID=f.userID),f.customIDs&&Object.keys(f.customIDs).length>0&&(k.customIDs=f.customIDs),delete f.privateAttributes,this.deleteUndefinedFields(f),{feature_gates:Object.assign.apply(Object,a([{}],w.map(function(e){var t;return(t={})[e.name]=e,t}),!1)),dynamic_configs:Object.assign.apply(Object,a([{}],S.map(function(e){var t;return(t={})[e.name]=e,t}),!1)),layer_configs:Object.assign.apply(Object,a([{}],E.map(function(e){var t;return(t={})[e.name]=e,t}),!1)),sdkParams:{},has_updates:!0,generator:"statsig-node-sdk",sdkInfo:{sdkType:(0,p.getSDKType)(),sdkVersion:(0,p.getSDKVersion)()},time:this.store.getLastUpdateTime(),evaluated_keys:k,hash_used:h,user:f}},e.prototype.clearAllGateOverrides=function(){this.gateOverrides={}},e.prototype.clearAllConfigOverrides=function(){this.configOverrides={}},e.prototype.clearAllLayerOverrides=function(){this.layerOverrides={}},e.prototype.resetSyncTimerIfExited=function(){return this.store.resetSyncTimerIfExited()},e.prototype.syncStoreSpecs=function(){return i(this,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return[4,this.store.syncConfigSpecs()];case 1:return e.sent(),[2]}})})},e.prototype.syncStoreIdLists=function(){return i(this,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return[4,this.store.syncIdLists()];case 1:return e.sent(),[2]}})})},e.prototype.getFeatureGateList=function(){return Object.entries(this.store.getAllGates()).map(function(e){var t=e[0];return e[1],t})},e.prototype.getExperimentLayer=function(e){return this.store.getExperimentLayer(e)},e.prototype.getConfigsList=function(e){return Object.entries(this.store.getAllConfigs()).filter(function(t){return t[0],t[1].entity===e}).map(function(e){var t=e[0];return e[1],t})},e.prototype.getLayerList=function(){return Object.entries(this.store.getAllLayers()).map(function(e){var t=e[0];return e[1],t})},e.prototype.deleteUndefinedFields=function(e){for(var t in e)void 0===e[t]?delete e[t]:"object"==typeof e[t]&&this.deleteUndefinedFields(e[t])},e.prototype.gateOverrideForClientInitializeResponse=function(e,t,r){var n,i,o=null==(i=null==(n=null==r?void 0:r.overrides)?void 0:n.featureGates)?void 0:i[t];return void 0!==o?new u.default(o,"override"):(null==r?void 0:r.includeLocalOverrides)?this.lookupGateOverride(e,t):null},e.prototype.configOverrideForClientInitializeResponse=function(e,t,r){var n,i,o=this.configBasedOverrideForClientInitializeResponse(t,null==(i=null==(n=null==r?void 0:r.overrides)?void 0:n.dynamicConfigs)?void 0:i[t.name]);return o||((null==r?void 0:r.includeLocalOverrides)?this.lookupConfigOverride(e,t.name):null)},e.prototype.layerOverrideForClientInitializeResponse=function(e,t,r){var n,i,o=this.configBasedOverrideForClientInitializeResponse(t,null==(i=null==(n=null==r?void 0:r.overrides)?void 0:n.layers)?void 0:i[t.name]);return o||((null==r?void 0:r.includeLocalOverrides)?this.lookupLayerOverride(e,t.name):null)},e.prototype.configBasedOverrideForClientInitializeResponse=function(e,t){if(!t)return null;var r,n,i,o=t.groupName?e.rules.find(function(e){return e.groupName===t.groupName&&e.isExperimentGroup}):void 0,a=null!=(r=t.value)?r:null==o?void 0:o.returnValue;return a&&"object"==typeof a?new u.default(!0,"override",null!=(n=t.groupName)?n:null,null!=(i=null==o?void 0:o.idType)?i:"userID",[],a):null},e.prototype.lookupGateOverride=function(e,t){var r=this.gateOverrides[t];
16if(null==r)return null;if(null!=e.userID){var n=r[e.userID];if(null!=n)return new u.default(n,"override")}var i=e.customIDs;if(null!=i)for(var o in i){var a=r[i[o]];if(null!=a)return new u.default(a,"override")}var s=r[""];return null!=s?new u.default(s,"override"):null},e.prototype.lookupConfigOverride=function(e,t){var r=this.configOverrides[t];return this.lookupConfigBasedOverride(e,r)},e.prototype.lookupLayerOverride=function(e,t){var r=this.layerOverrides[t];return this.lookupConfigBasedOverride(e,r)},e.prototype.lookupConfigBasedOverride=function(e,t){if(null==t)return null;if(null!=e.userID){var r=t[e.userID];if(null!=r)return new u.default(!0,"override",null,"userID",[],r)}var n=e.customIDs;if(null!=n)for(var i in n){var o=t[n[i]];if(null!=o)return new u.default(!0,"override",null,"userID",[],o)}var a=t[""];return null!=a?new u.default(!0,"override",null,"",[],a):null},e.prototype._specToInitializeResponse=function(e,t,r){var n={name:(0,g.hashString)(e.name,r),value:t.unsupported?{}:t.json_value,group:t.rule_id,rule_id:t.rule_id,is_device_based:null!=e.idType&&"stableid"===e.idType.toLowerCase(),secondary_exposures:this.hashSecondaryExposure(t.secondary_exposures,r)};return null!=t.group_name&&(n.group_name=t.group_name),t.explicit_parameters&&(n.explicit_parameters=t.explicit_parameters),n},e.prototype.hashSecondaryExposure=function(e,t){return e.forEach(function(e){e.gate=(0,g.hashString)(e.gate,t)}),e},e.prototype._cleanExposures=function(e){if(0===e.length)return e;var t={};return e.filter(function(e){if(e.gate.startsWith("segment:"))return!1;var r="".concat(e.gate,"|").concat(e.gateValue,"|").concat(e.ruleID);return!t[r]&&(t[r]=!0,!0)})},e.prototype.shutdown=function(){this.store.shutdown()},e.prototype.shutdownAsync=function(){return i(this,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return[4,this.store.shutdownAsync()];case 1:return e.sent(),[2]}})})},e.prototype.getUnrecognizedEvaluation=function(){return new u.default(!1,"",null).withEvaluationDetails(c.EvaluationDetails.make(this.store.getLastUpdateTime(),this.store.getInitialUpdateTime(),"Unrecognized"))},e.prototype._evalConfig=function(e,t){void 0===t&&(t=!1);var r=e.user,n=e.spec,i=e.userPersistedValues,o=e.persistentAssignmentOptions;if(t)return this._evalSpec(e);if(null==i||!n.isActive)return this.persistentStore.delete(r,n.idType,n.name),this._evalSpec(e);var a=i[n.name],s=a?u.default.fromStickyValues(a,this.store.getInitialUpdateTime()):null;if(s)if(null==o||!o.enforceTargeting)return s;else return this._evalTargeting(e)?s:this._evalSpec(e);var l=this._evalSpec(e);return l.is_experiment_group&&this.persistentStore.save(r,n.idType,n.name,l),l},e.prototype._evalLayer=function(e){var t=e.user,r=e.spec,n=e.userPersistedValues,i=e.persistentAssignmentOptions;if(!n)return this.persistentStore.delete(t,r.idType,r.name),this._evalSpec(e);var o=n[r.name],a=o?u.default.fromStickyValues(o,this.store.getInitialUpdateTime()):null;if(a){var s=a.config_delegate?this.store.getConfig(a.config_delegate):null;return s&&s.isActive?null!=i&&i.enforceTargeting?this._evalTargeting(e,s)?a:this._evalSpec(e):a:(this.persistentStore.delete(t,r.idType,r.name),this._evalSpec(e))}var l=this._evalSpec(e),c=l.config_delegate?this.store.getConfig(l.config_delegate):null;return c&&c.isActive?l.is_experiment_group&&this.persistentStore.save(t,r.idType,r.name,l):this.persistentStore.delete(t,r.idType,r.name),l},e.prototype._evalTargeting=function(e,t){return!1===this._evalSpec(y.EvaluationContext.get(e.getRequestContext(),{user:e.user,spec:null!=t?t:e.spec,onlyEvaluateTargeting:!0})).value},e.prototype._evalSpec=function(e){var t=this._eval(e);return t.evaluation_details?t:t.withEvaluationDetails(c.EvaluationDetails.make(this.store.getLastUpdateTime(),this.store.getInitialUpdateTime(),this.store.getInitReason()))},e.prototype._eval=function(e){var t=e.user,r=e.spec;if(!r.enabled)return new u.default(!1,"disabled",null,r.idType,[],r.defaultValue,void 0,void 0,r.version);var n=r.rules;if(e.onlyEvaluateTargeting&&0===(n=r.rules.filter(function(e){return e.isTargetingRule()})).length)return new u.default(!1);for(var i=[],o=0,a=n;o<a.length;o++){var s=a[o],l=this._evalRule(t,s,e);if(l.unsupported)return u.default.unsupported(this.store.getLastUpdateTime(),this.store.getInitialUpdateTime(),r.version);if(i=this._cleanExposures(i.concat(l.secondary_exposures)),!0===l.value){var c=this._evalDelegate(s,i,e);if(c)return c;var f=this._evalPassPercent(t,s,r),d=new u.default(f,l.rule_id,l.group_name,r.idType,i,f?l.json_value:r.defaultValue,r.explicitParameters,l.config_delegate,r.version);return d.setIsExperimentGroup(l.is_experiment_group),d}}return new u.default(!1,"default",null,r.idType,i,r.defaultValue,r.explicitParameters,void 0,r.version)},e.prototype._evalDelegate=function(e,t,r){if(null==e.configDelegate)return null;var n=this.store.getConfig(e.configDelegate);if(!n)return null;var i=this.getConfig(r.user,e.configDelegate,r,!0);return i.config_delegate=e.configDelegate,i.undelegated_secondary_exposures=t,i.explicit_parameters=n.explicitParameters,i.secondary_exposures=this._cleanExposures(t.concat(i.secondary_exposures)),i},e.prototype._evalPassPercent=function(e,t,r){var n,i;return 0!==t.passPercentage&&(100===t.passPercentage||Number((0,h.computeUserHash)(r.salt+"."+(null!=(n=t.salt)?
16n:t.id)+"."+(null!=(i=(0,h.getUnitID)(e,t.idType))?i:""))%BigInt(1e4))<100*t.passPercentage)},e.prototype._evalRule=function(e,t,r){for(var n,i=[],o=!0,a=0,s=t.conditions;a<s.length;a++){var l=s[a],c=this._evalCondition(e,l,r);if(c.unsupported)return u.default.unsupported(this.store.getLastUpdateTime(),this.store.getInitialUpdateTime(),void 0);c.passes||(o=!1),c.exposures&&(i=i.concat(c.exposures))}var f=new u.default(o,t.id,t.groupName,null,i,t.returnValue);return f.setIsExperimentGroup(null!=(n=t.isExperimentGroup)&&n),f},e.prototype._evalCondition=function(e,t,r){var n,i,o,a,s,l,u,c,f,d=null,p=t.field,y=t.targetValue,b=t.idType;switch(t.type.toLowerCase()){case"public":return{passes:!0};case"fail_gate":case"pass_gate":var v=this.checkGate(e,y,r);if(null==v?void 0:v.unsupported)return{passes:!1,unsupported:!0};d=null==v?void 0:v.value;var m=null!=(n=null==v?void 0:v.secondary_exposures)?n:[];return m.push({gate:String(y),gateValue:String(d),ruleID:null!=(i=null==v?void 0:v.rule_id)?i:""}),{passes:"fail_gate"===t.type.toLowerCase()?!d:!!d,exposures:m};case"multi_pass_gate":case"multi_fail_gate":if(!Array.isArray(y))return{passes:!1,unsupported:!0};for(var _=!1,x=[],w=0;w<y.length;w++){var S=y[w],v=this.checkGate(e,S,r);if(null==v?void 0:v.unsupported)return{passes:!1,unsupported:!0};var E="multi_pass_gate"===t.type?!0===v.value:!1===v.value;if(x.push({gate:String(S),gateValue:String(null==v?void 0:v.value),ruleID:null!=(o=null==v?void 0:v.rule_id)?o:""}),x=x.concat(v.secondary_exposures),!0===E){_=!0;break}}return{passes:_,exposures:x};case"ip_based":d=null!=(a=(0,h.getFromUser)(e,p))?a:this.getFromIP(e,p);break;case"ua_based":d=null!=(s=(0,h.getFromUser)(e,p))?s:(0,h.getFromUserAgent)(e,p);break;case"user_field":d=(0,h.getFromUser)(e,p);break;case"environment_field":d=(0,h.getFromEnvironment)(e,p);break;case"current_time":d=Date.now();break;case"user_bucket":var k=null==(l=t.additionalValues)?void 0:l.salt;d=Number((0,h.computeUserHash)(k+"."+(null!=(u=(0,h.getUnitID)(e,b))?u:""))%BigInt(1e3));break;case"unit_id":d=(0,h.getUnitID)(e,b);break;case"target_app":d=r.clientKey?r.targetAppID:this.store.getPrimaryTargetAppID();break;default:return{passes:!1,unsupported:!0}}var O=null==(c=t.operator)?void 0:c.toLowerCase(),A=!1;switch(O){case"gt":A=(0,h.numberCompare)(function(e,t){return e>t})(d,y);break;case"gte":A=(0,h.numberCompare)(function(e,t){return e>=t})(d,y);break;case"lt":A=(0,h.numberCompare)(function(e,t){return e<t})(d,y);break;case"lte":A=(0,h.numberCompare)(function(e,t){return e<=t})(d,y);break;case"version_gt":A=(0,h.versionCompareHelper)(function(e){return e>0})(d,y);break;case"version_gte":A=(0,h.versionCompareHelper)(function(e){return e>=0})(d,y);break;case"version_lt":A=(0,h.versionCompareHelper)(function(e){return e<0})(d,y);break;case"version_lte":A=(0,h.versionCompareHelper)(function(e){return e<=0})(d,y);break;case"version_eq":A=(0,h.versionCompareHelper)(function(e){return 0===e})(d,y);break;case"version_neq":A=(0,h.versionCompareHelper)(function(e){return 0!==e})(d,y);break;case"any":A=null!=t.targetValueSet?t.targetValueSet.has(String(d))||t.targetValueSet.has(String(d).toLowerCase()):(0,h.arrayAny)(d,y,(0,h.stringCompare)(!0,function(e,t){return e===t}));break;case"none":A=null!=t.targetValueSet?!t.targetValueSet.has(String(d))&&!t.targetValueSet.has(String(d).toLowerCase()):!(0,h.arrayAny)(d,y,(0,h.stringCompare)(!0,function(e,t){return e===t}));break;case"any_case_sensitive":A=null!=t.targetValueSet?t.targetValueSet.has(String(d)):(0,h.arrayAny)(d,y,(0,h.stringCompare)(!1,function(e,t){return e===t}));break;case"none_case_sensitive":A=null!=t.targetValueSet?!t.targetValueSet.has(String(d)):!(0,h.arrayAny)(d,y,(0,h.stringCompare)(!1,function(e,t){return e===t}));break;case"str_starts_with_any":A=(0,h.arrayAny)(d,y,(0,h.stringCompare)(!0,function(e,t){return e.startsWith(t)}));break;case"str_ends_with_any":A=(0,h.arrayAny)(d,y,(0,h.stringCompare)(!0,function(e,t){return e.endsWith(t)}));break;case"str_contains_any":A=(0,h.arrayAny)(d,y,(0,h.stringCompare)(!0,function(e,t){return e.includes(t)}));break;case"str_contains_none":A=!(0,h.arrayAny)(d,y,(0,h.stringCompare)(!0,function(e,t){return e.includes(t)}));break;case"str_matches":try{A=String(d).length<1e3&&new RegExp(y).test(String(d))}catch(e){A=!1}break;case"eq":A=d==y;break;case"neq":A=d!=y;break;case"before":A=(0,h.dateCompare)(function(e,t){return e<t})(d,y);break;case"after":A=(0,h.dateCompare)(function(e,t){return e>t})(d,y);break;case"on":A=(0,h.dateCompare)(function(e,t){return null==e||e.setHours(0,0,0,0),null==t||t.setHours(0,0,0,0),(null==e?void 0:e.getTime())===(null==t?void 0:t.getTime())})(d,y);break;case"in_segment_list":case"not_in_segment_list":var R=null==(f=this.store.getIDList(y))?void 0:f.ids;d=(0,g.hashUnitIDForIDList)(d);var I="object"==typeof R&&!0===R[d];A="in_segment_list"===O?I:!I;break;case"array_contains_any":if(!Array.isArray(y)||!Array.isArray(d)){A=!1;break}A=(0,h.arrayHasValue)(d,y);break;case"array_contains_none":if(!Array.isArray(y)||!Array.isArray(d)){A=!1;break}A=!(0,h.arrayHasValue)(d,y);break;case"array_contains_all":if(!Array.isArray(y)||!Array.isArray(d)){A=!1;break}A=(0,h.arrayHasAllValues)(d,y);break;case"not_array_contains_all":if(!Array.isArray(y)||!Array.isArray(d)){A=!1;break}A=!(0,h.arrayHasAllValues)(d,y);break;default:return{passes:!1,unsupported:!0}
16}return{passes:A}},e.prototype._isExperimentActive=function(e){return null!=e&&!0===e.isActive},e.prototype._isUserAllocatedToExperiment=function(e,t,r){return null!=t&&this._eval(y.EvaluationContext.get(r.getRequestContext(),{user:e,spec:t})).is_experiment_group},e.prototype.getFromIP=function(e,t){var r=(0,h.getFromUser)(e,"ip");return null==r||"country"!==t?null:this.ip2country(r)},e.prototype.ip2country=function(e){if(!this.initialized)return null;try{if("string"==typeof e)return l.default.lookupStr(e);if("number"==typeof e)return l.default.lookupNumeric(e)}catch(e){}return null},e}()},50657:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={createDynamicBodyError:function(){return o},createDynamicBodyErrorInNavigation:function(){return l},createDynamicMetadataError:function(){return d},createDynamicOrRuntimeBodyError:function(){return u},createDynamicOrRuntimeMetadataError:function(){return b},createDynamicOrRuntimeViewportError:function(){return y},createDynamicViewportError:function(){return g},createLinkBodyErrorInNavigation:function(){return s},createLinkMetadataError:function(){return c},createLinkViewportError:function(){return p},createRuntimeBodyError:function(){return i},createRuntimeBodyErrorInNavigation:function(){return a}
16,createRuntimeMetadataError:function(){return f},createRuntimeViewportError:function(){return h},logBuildDebugHint:function(){return v}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function i(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered runtime data during prerendering.
17
18\`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` accessed outside of \`<Suspense>\` prevents the route from being prerendered, blocking the page load and leading to a slower user experience.
19
20Ways to fix this:
21  - [stream] Provide a placeholder with \`<Suspense fallback={...}>\` around the data access
22  - [block] Set \`export const instant = false\` to allow a blocking route
23
24Learn more: https://nextjs.org/docs/messages/blocking-prerender-runtime`),"__NEXT_ERROR_CODE",{value:"E1427",enumerable:!1,configurable:!0})}function o(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered uncached data during prerendering.
25
26\`fetch(...)\` or \`connection()\` accessed outside of \`<Suspense>\` prevents the route from being prerendered, blocking the page load and leading to a slower user experience.
27
28Ways to fix this:
29  - [stream] Provide a placeholder with \`<Suspense fallback={...}>\` around the data access
30  - [cache] Cache the data access with \`"use cache"\` (does not apply to \`connection()\`)
31  - [block] Set \`export const instant = false\` to allow a blocking route
32
33Learn more: https://nextjs.org/docs/messages/blocking-prerender-dynamic`),"__NEXT_ERROR_CODE",{value:"E1440",enumerable:!1,configurable:!0})}function a(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered runtime data during prerendering or a navigation.
34
35\`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` accessed outside of \`<Suspense>\` prevents the route from being prerendered or the navigation from being instant, leading to a slower user experience.
36
37Ways to fix this:
38  - [stream] Provide a placeholder with \`<Suspense fallback={...}>\` around the data access
39  - [block] Set \`export const instant = false\` to allow a blocking route
40
41Learn more: https://nextjs.org/docs/messages/blocking-prerender-runtime`),"__NEXT_ERROR_CODE",{value:"E1430",enumerable:!1,configurable:!0})}function s(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered URL data during prerendering or a navigation.
42
43\`params\` or \`searchParams\` accessed outside of \`<Suspense>\` may prevent the navigation from being instant, leading to a slower user experience.
44
45Ways to fix this:
46  - [stream] Provide a placeholder with \`<Suspense fallback={...}>\` around the data access
47  - [block] Set \`export const instant = false\` to allow a blocking route
48
49Learn more: https://nextjs.org/docs/messages/instant-shell-url-data`),"__NEXT_ERROR_CODE",{value:"E1439",enumerable:!1,configurable:!0})}function l(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered uncached data during prerendering or a navigation.
50
51\`fetch(...)\` or \`connection()\` accessed outside of \`<Suspense>\` prevents the route from being prerendered or the navigation from being instant, leading to a slower user experience.
52
53Ways to fix this:
54  - [stream] Provide a placeholder with \`<Suspense fallback={...}>\` around the data access
55  - [cache] Cache the data access with \`"use cache"\` (does not apply to \`connection()\`)
56  - [block] Set \`export const instant = false\` to allow a blocking route
57
58Learn more: https://nextjs.org/docs/messages/blocking-prerender-dynamic`),"__NEXT_ERROR_CODE",{value:"E1437",enumerable:!1,configurable:!0})}function u(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered uncached or runtime data during prerendering.
59
60\`fetch(...)\`, \`cookies()\`, \`headers()\`, \`params\`, \`searchParams\`, or \`connection()\` accessed outside of \`<Suspense>\` prevents the route from being prerendered, blocking the page load and leading to a slower user experience.
61
62Ways to fix this:
63  - [stream] Provide a placeholder with \`<Suspense fallback={...}>\` around the data access
64  - [cache] For uncached data (\`fetch\`, database calls): cache the access with \`"use cache"\` (does not apply to \`connection()\`)
65  - [block] Set \`export const instant = false\` to allow a blocking route
66
67Learn more: https://nextjs.org/docs/messages/blocking-prerender-dynamic`),"__NEXT_ERROR_CODE",{value:"E1428",enumerable:!1,
67configurable:!0})}function c(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered URL data in \`generateMetadata()\`.
68
69This route's metadata is blocked, but the rest of its content can be prefetched. \`params\` or \`searchParams\` accessed in \`generateMetadata()\` prevent it from being prefetched.
70
71Ways to fix this:
72  - [static] Use a static metadata export instead of \`generateMetadata()\`
73  - [dynamic] Render a marker component that calls \`await connection()\` inside \`<Suspense>\` on the page
74
75Learn more: https://nextjs.org/docs/messages/blocking-prerender-metadata-runtime`),"__NEXT_ERROR_CODE",{value:"E1429",enumerable:!1,configurable:!0})}function f(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered runtime data in \`generateMetadata()\`.
76
77This route's metadata is blocked, but the rest of its content can be prerendered. \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` accessed in \`generateMetadata()\` cause it to run dynamically.
78
79Ways to fix this:
80  - [static] Use a static metadata export instead of \`generateMetadata()\`
81  - [dynamic] Render a marker component that calls \`await connection()\` inside \`<Suspense>\` on the page
82
83Learn more: https://nextjs.org/docs/messages/blocking-prerender-metadata-runtime`),"__NEXT_ERROR_CODE",{value:"E1423",enumerable:!1,configurable:!0})}function d(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered uncached data in \`generateMetadata()\`.
84
85This route's metadata is blocked, but the rest of its content can be prerendered. \`fetch(...)\` or \`connection()\` accessed in \`generateMetadata()\` cause it to run dynamically.
86
87Ways to fix this:
88  - [cache] Cache the metadata with \`"use cache"\` in \`generateMetadata()\` (does not apply to \`connection()\`)
89  - [dynamic] Render a marker component that calls \`await connection()\` inside \`<Suspense>\` on the page
90
91Learn more: https://nextjs.org/docs/messages/blocking-prerender-metadata-dynamic`),"__NEXT_ERROR_CODE",{value:"E1425",enumerable:!1,configurable:!0})}function p(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered URL data in \`generateViewport()\`.
92
93\`params\` or \`searchParams\` in \`generateViewport()\` prevents the page from being prerendered, leading to a slower user experience.
94
95Ways to fix this:
96  - [static] Use a static viewport export instead of \`generateViewport()\`
97  - [block] Set \`export const instant = false\` to allow a blocking route
98
99Learn more: https://nextjs.org/docs/messages/blocking-prerender-viewport-runtime`),"__NEXT_ERROR_CODE",{value:"E1431",enumerable:!1,configurable:!0})}function h(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered runtime data in \`generateViewport()\`.
100
101\`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` in \`generateViewport()\` prevents the page from being prerendered, leading to a slower user experience.
102
103Ways to fix this:
104  - [static] Use a static viewport export instead of \`generateViewport()\`
105  - [block] Set \`export const instant = false\` to allow a blocking route
106
107Learn more: https://nextjs.org/docs/messages/blocking-prerender-viewport-runtime`),"__NEXT_ERROR_CODE",{value:"E1424",enumerable:!1,configurable:!0})}function g(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered uncached data in \`generateViewport()\`.
108
109\`fetch(...)\` or \`connection()\` in \`generateViewport()\` prevents the page from being prerendered, leading to a slower user experience.
110
111Ways to fix this:
112  - [cache] Cache the viewport data with \`"use cache"\` in \`generateViewport()\` (does not apply to \`connection()\`)
113  - [block] Set \`export const instant = false\` to allow a blocking route
114
115Learn more: https://nextjs.org/docs/messages/blocking-prerender-viewport-dynamic`),"__NEXT_ERROR_CODE",{value:"E1438",enumerable:!1,configurable:!0})}function y(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered uncached or runtime data in \`generateViewport()\`.
116
117This prevents the page from being prerendered, leading to a slower user experience. Unlike metadata, viewport cannot be streamed behind \`<Suspense>\` because it affects the initial page load.
118
119Ways to fix this:
120  - [static] Use a static viewport export instead of \`generateViewport()\`
121  - [cache] For uncached data (\`fetch\`, database calls): cache the viewport with \`"use cache"\` in \`generateViewport()\` (does not apply to \`connection()\`)
122  - [block] Set \`export const instant = false\` to allow a blocking route
123
124Learn more: https://nextjs.org/docs/messages/blocking-prerender-viewport-runtime`),"__NEXT_ERROR_CODE",{value:"E1436",enumerable:!1,
124configurable:!0})}function b(e){return Object.defineProperty(Error(`Route "${e}": Next.js encountered uncached or runtime data in \`generateMetadata()\`.
125
126This route's metadata is blocked, but the rest of its content can be prerendered.
127
128Ways to fix this:
129  - [static] Use a static metadata export instead of \`generateMetadata()\`
130  - [cache] Cache the metadata with \`"use cache"\` in \`generateMetadata()\` (does not apply to \`connection()\`)
131  - [dynamic] Render a marker component that calls \`await connection()\` inside \`<Suspense>\` on the page
132
133Learn more: https://nextjs.org/docs/messages/blocking-prerender-metadata-runtime`),"__NEXT_ERROR_CODE",{value:"E1426",enumerable:!1,configurable:!0})}function v(e){console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:
134  - Start the app in development mode by running \`next dev\`, then open "${e}" in your browser to investigate the error.
135  - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`)}},50901:function(e,t,r){var n;n=r(62538),r(91750),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([0x80000000],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},e.exports=n.pad.Iso97971},50953:(e,t,r)=>{var n=r(49304).Buffer,i=r(41463);!function(){"use strict";var t={132:function(e,t,r){var o=r(613),a=r(682),s=r(371),l=r(519),u=r(793);for(var c in u)t[c]=u[c];function f(e){if("number"!=typeof e||e<t.DEFLATE||e>t.UNZIP)throw TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7,f.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,o(this.init_done,"close before init"),o(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?s.deflateEnd(this.strm):(this.mode===t.INFLATE||this.mode===t.GUNZIP||this.mode===t.INFLATERAW||this.mode===t.UNZIP)&&l.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null},f.prototype.write=function(e,t,r,n,i,o,a){return this._write(!0,e,t,r,n,i,o,a)},f.prototype.writeSync=function(e,t,r,n,i,o,a){return this._write(!1,e,t,r,n,i,o,a)},f.prototype._write=function(e,r,a,s,l,u,c,f){if(o.equal(arguments.length,8),o(this.init_done,"write before init"),o(this.mode!==t.NONE,"already finalized"),o.equal(!1,this.write_in_progress,"write already in progress"),o.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,o.equal(!1,void 0===r,"must provide flush value"),this.write_in_progress=!0,r!==t.Z_NO_FLUSH&&r!==t.Z_PARTIAL_FLUSH&&r!==t.Z_SYNC_FLUSH&&r!==t.Z_FULL_FLUSH&&r!==t.Z_FINISH&&r!==t.Z_BLOCK)throw Error("Invalid flush value");if(null==a&&(a=n.alloc(0),l=0,s=0),this.strm.avail_in=l,this.strm.input=a,this.strm.next_in=s,this.strm.avail_out=f,this.strm.output=u,this.strm.next_out=c,this.flush=r,!e)return(this._process(),this._checkError())?this._afterSync():void 0;var d=this;return i.nextTick(function(){d._process(),d._after()}),this},f.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},f.prototype._process=function(){var e=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===e)break;if(31===this.strm.input[e]){if(this.gzip_id_bytes_read=1,e++,1===this.strm.avail_in)break}else{this.mode=t.INFLATE;break}case 1:if(null===e)break;139===this.strm.input[e]?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw Error("invalid number of gzip magic number bytes read")}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:for(this.err=l.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=l.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=l.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=l.inflate(this.strm,this.flush);break;default:throw Error("Unknown mode "+this.mode)}}
135,f.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===t.Z_FINISH)return this._error("unexpected end of file"),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},f.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},f.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},f.prototype.init=function(e,r,n,i,a){o(4==arguments.length||5==arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),o(e>=8&&e<=15,"invalid windowBits"),o(r>=-1&&r<=9,"invalid compression level"),o(n>=1&&n<=9,"invalid memlevel"),o(i===t.Z_FILTERED||i===t.Z_HUFFMAN_ONLY||i===t.Z_RLE||i===t.Z_FIXED||i===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,e,n,i,a),this._setDictionary()},f.prototype.params=function(){throw Error("deflateParams Not supported")},f.prototype.reset=function(){this._reset(),this._setDictionary()},f.prototype._init=function(e,r,n,i,o){switch(this.level=e,this.windowBits=r,this.memLevel=n,this.strategy=i,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,(this.mode===t.GZIP||this.mode===t.GUNZIP)&&(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),(this.mode===t.DEFLATERAW||this.mode===t.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=l.inflateInit2(this.strm,this.windowBits);break;default:throw Error("Unknown mode "+this.mode)}this.err!==t.Z_OK&&this._error("Init error"),this.dictionary=o,this.write_in_progress=!1,this.init_done=!0},f.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=s.deflateSetDictionary(this.strm,this.dictionary)}this.err!==t.Z_OK&&this._error("Failed to set dictionary")}},f.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=s.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=l.inflateReset(this.strm)}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=f},953:function(e,t,r){var n=r(181).Buffer,o=r(203).Transform,a=r(132),s=r(23),l=r(613).ok,u=r(181).kMaxLength,c="Cannot create final Buffer. It would be larger than 0x"+u.toString(16)+" bytes";a.Z_MIN_WINDOWBITS=8,a.Z_MAX_WINDOWBITS=15,a.Z_DEFAULT_WINDOWBITS=15,a.Z_MIN_CHUNK=64,a.Z_MAX_CHUNK=1/0,a.Z_DEFAULT_CHUNK=16384,a.Z_MIN_MEMLEVEL=1,a.Z_MAX_MEMLEVEL=9,a.Z_DEFAULT_MEMLEVEL=8,a.Z_MIN_LEVEL=-1,a.Z_MAX_LEVEL=9,a.Z_DEFAULT_LEVEL=a.Z_DEFAULT_COMPRESSION;for(var f=Object.keys(a),d=0;d<f.length;d++){var p=f[d];p.match(/^Z/)&&Object.defineProperty(t,p,{enumerable:!0,value:a[p],writable:!1})}for(var h={Z_OK:a.Z_OK,Z_STREAM_END:a.Z_STREAM_END,Z_NEED_DICT:a.Z_NEED_DICT,Z_ERRNO:a.Z_ERRNO,Z_STREAM_ERROR:a.Z_STREAM_ERROR,Z_DATA_ERROR:a.Z_DATA_ERROR,Z_MEM_ERROR:a.Z_MEM_ERROR,Z_BUF_ER
135ROR:a.Z_BUF_ERROR,Z_VERSION_ERROR:a.Z_VERSION_ERROR},g=Object.keys(h),y=0;y<g.length;y++){var b=g[y];h[h[b]]=b}function v(e,t,r){var i=[],o=0;function a(){for(var t;null!==(t=e.read());)i.push(t),o+=t.length;e.once("readable",a)}function s(){var t,a=null;o>=u?a=RangeError(c):t=n.concat(i,o),i=[],e.close(),r(a,t)}e.on("error",function(t){e.removeListener("end",s),e.removeListener("readable",a),r(t)}),e.on("end",s),e.end(t),a()}function m(e,t){if("string"==typeof t&&(t=n.from(t)),!n.isBuffer(t))throw TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(t,r)}function _(e){if(!(this instanceof _))return new _(e);R.call(this,e,a.DEFLATE)}function x(e){if(!(this instanceof x))return new x(e);R.call(this,e,a.INFLATE)}function w(e){if(!(this instanceof w))return new w(e);R.call(this,e,a.GZIP)}function S(e){if(!(this instanceof S))return new S(e);R.call(this,e,a.GUNZIP)}function E(e){if(!(this instanceof E))return new E(e);R.call(this,e,a.DEFLATERAW)}function k(e){if(!(this instanceof k))return new k(e);R.call(this,e,a.INFLATERAW)}function O(e){if(!(this instanceof O))return new O(e);R.call(this,e,a.UNZIP)}function A(e){return e===a.Z_NO_FLUSH||e===a.Z_PARTIAL_FLUSH||e===a.Z_SYNC_FLUSH||e===a.Z_FULL_FLUSH||e===a.Z_FINISH||e===a.Z_BLOCK}function R(e,r){var i=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||t.Z_DEFAULT_CHUNK,o.call(this,e),e.flush&&!A(e.flush))throw Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!A(e.finishFlush))throw Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||a.Z_NO_FLUSH,this._finishFlushFlag=void 0!==e.finishFlush?e.finishFlush:a.Z_FINISH,e.chunkSize&&(e.chunkSize<t.Z_MIN_CHUNK||e.chunkSize>t.Z_MAX_CHUNK))throw Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBits<t.Z_MIN_WINDOWBITS||e.windowBits>t.Z_MAX_WINDOWBITS))throw Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.level<t.Z_MIN_LEVEL||e.level>t.Z_MAX_LEVEL))throw Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevel<t.Z_MIN_MEMLEVEL||e.memLevel>t.Z_MAX_MEMLEVEL))throw Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=t.Z_FILTERED&&e.strategy!=t.Z_HUFFMAN_ONLY&&e.strategy!=t.Z_RLE&&e.strategy!=t.Z_FIXED&&e.strategy!=t.Z_DEFAULT_STRATEGY)throw Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!n.isBuffer(e.dictionary))throw Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(r);var s=this;this._hadError=!1,this._handle.onerror=function(e,r){I(s),s._hadError=!0;var n=Error(e);n.errno=r,n.code=t.codes[r],s.emit("error",n)};var l=t.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(l=e.level);var u=t.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(u=e.strategy),this._handle.init(e.windowBits||t.Z_DEFAULT_WINDOWBITS,l,e.memLevel||t.Z_DEFAULT_MEMLEVEL,u,e.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=u,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!i._handle},configurable:!0,enumerable:!0})}function I(e,t){t&&i.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}function P(e){e.emit("close")}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(h),writable:!1}),t.Deflate=_,t.Inflate=x,t.Gzip=w,t.Gunzip=S,t.DeflateRaw=E,t.InflateRaw=k,t.Unzip=O,t.createDeflate=function(e){return new _(e)},t.createInflate=function(e){return new x(e)},t.createDeflateRaw=function(e){return new E(e)},t.createInflateRaw=function(e){return new k(e)},t.createGzip=function(e){return new w(e)},t.createGunzip=function(e){return new S(e)},t.createUnzip=function(e){return new O(e)},t.deflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),v(new _(t),e,r)},t.deflateSync=function(e,t){return m(new _(t),e)},t.gzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),v(new w(t),e,r)},t.gzipSync=function(e,t){return m(new w(t),e)},t.deflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),v(new E(t),e,r)},t.deflateRawSync=function(e,t){return m(new E(t),e)},t.unzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),v(new O(t),e,r)},t.unzipSync=function(e,t){return m(new O(t),e)},t.inflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),v(new x(t),e,r)},t.inflateSync=function(e,t){return m(new x(t),e)},t.gunzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),v(new S(t),e,r)},t.gunzipSync=function(e,t){return m(new S(t),e)},t.inflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),v(new k(t),e,r)},t.inflateRawSync=function(e,t){return m(new k(t),e)},s.inherits(R,o),R.prototype.params=function(e,r,n){if(e<t.Z_MIN_LEVEL||e>t.Z_MAX_LEVEL)throw RangeError("Invalid compression level: "+e);if(r!=t.Z_FILTERED&&r!=t.Z_HUFFMAN_ONLY&&r!=t.Z_RLE&&r!=t.Z_FIXED&&r!=t.Z_DEFAULT_STRATEGY)throw TypeError("Invalid strategy: "+r);if(this._level!==e||this._strategy!==r){var o=this;this.flush(a.Z_SYNC_FLUSH,function(){l(o._handle,"zlib binding closed"),o._handle.params(e,r),!o._hadError&&(o._level=e,o._strategy=r,n&&n())})}else i.nextTick(n)},R.prototype.reset=function(){return l(this._handle,"zlib binding closed"),this._handle.reset()},R.prototype._flush=function(e){this._transform(n.alloc(0),"",e)},R.prototype.flush=function(e,t){var r=this,o=this._writableState;"function"!=typeof e&&(void 0!==e||t)||(t=e,e=a.Z_FULL_FLUSH),o.ended?t&&i.nextTick(t):o.ending?t&&this.once("end",t):o.needDrain?t&&this.once("drain",function(){return r.flush(e,t)}):(this._flushFlag=e,this.write(n.alloc(0),"",t))},R.prototype.close=function(e){I(this,e),i.nextTick(P,this)},R.prototype._transform=function(e,t,r){var i,o=this._writableState,s=(o.ending||o.ended)&&(!e||o.length===e.length);return null===e||n.isBuffer(e)?this._handle?void(s?i=this._finishFlushFlag:(i=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),this._processChunk(e,i,r)):r(Error("zlib binding closed")):r(Error("invalid input"))},R.prototype._processChunk=function(e,t,r){var i=e&&e.length,o=this._chunkSize-this._offset,a=0,s=this,f="function"==typeof r;if(!f){var d,p=[],h=0;this.on("error",function(e){d=e}),l(this._handle,"zlib binding closed");do var g=this._handle.writeSync(t,e,a,i,this._buffer,this._offset,o);while(!this._hadError&&v(g[0],g[1]));if(this._hadError)throw d;if(h>=u)throw I(this),RangeError(c);var y=n.concat(p,h);return I(this),y}l(this._handle,"zlib binding closed");var b=this._handle.write(t,e,a,i,this._buffer,this._offset,o);function v(u,c){if(this&&(this.buffer=null,this.callback=null),!s._hadError){var d=o-c;if(l(d>=0,"have should not go down"),d>0){var g=s._buffer.slice(s._offset,s._offset+d);s._offset+=d,f?s.push(g):(p.push(g),h+=g.length)}if((0===c||s._offset>=s._chunkSize)&&(o=s._chunkSize,s._offset=0,s._buffer=n.allocUnsafe(s._chunkSize)),0===c){if(a+=i-u,i=u,!f)return!0;var y=s._handle.write(t,e,a,i,s._buffer,s._offset,s._chunkSize);
135return y.callback=v,void(y.buffer=e)}if(!f)return!1;r()}}b.buffer=e,b.callback=v},s.inherits(_,R),s.inherits(x,R),s.inherits(w,R),s.inherits(S,R),s.inherits(E,R),s.inherits(k,R),s.inherits(O,R)},589:function(e,t){var r="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Int32Array;t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw TypeError(r+"must be non-object");for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)return void e.set(t.subarray(r,r+n),i);for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){var t,r,n,i,o,a;for(t=0,n=0,r=e.length;t<r;t++)n+=e[t].length;for(a=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)o=e[t],a.set(o,i),i+=o.length;return a}},i={arraySet:function(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,n)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,i))},t.setTyped(r)},797:function(e){e.exports=function(e,t,r,n){for(var i=65535&e,o=e>>>16&65535,a=0;0!==r;){a=r>2e3?2e3:r,r-=a;do o=o+(i=i+t[n++]|0)|0;while(--a);i%=65521,o%=65521}return i|o<<16}},793:function(e){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},535:function(e){var t=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?0xedb88320^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,r,n,i){var o=i+n;e^=-1;for(var a=i;a<o;a++)e=e>>>8^t[(e^r[a])&255];return -1^e}},371:function(e,t,r){var n,i=r(589),o=r(81),a=r(797),s=r(535),l=r(858),u=573;function c(e,t){return e.msg=l[t],t}function f(e){return(e<<1)-9*(e>4)}function d(e){for(var t=e.length;--t>=0;)e[t]=0}function p(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function h(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,p(e.strm)}function g(e,t){e.pending_buf[e.pending++]=t}function y(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function b(e,t){var r,n,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,f=e.prev,d=e.strstart+258,p=u[o+a-1],h=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(r=t)+a]!==h||u[r+a-1]!==p||u[r]!==u[o]||u[++r]!==u[o+1])continue;o+=2,r++;do;while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<d);if(n=258-(d-o),o=d-258,n>a){if(e.match_start=t,a=n,n>=s)break;p=u[o+a-1],h=u[o+a]}}while((t=f[t&c])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function v(e){var t,r,n,o,l,u=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=u+(u-262)){i.arraySet(e.window,e.window,u,u,0),e.match_start-=u,e.strstart-=u,e.block_start-=u,t=r=e.hash_size;do n=e.head[--t],e.head[t]=n>=u?n-u:0;while(--r);t=r=u;do n=e.prev[--t],e.prev[t]=n>=u?n-u:0;while(--r);o+=u}if(0===e.strm.avail_in)break;if(r=function(e,t,r,n){var o=e.avail_in;return(o>n&&(o=n),0===o)?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,r),1===e.state.wrap?e.adler=a(e.adler,t,o,r):2===e.state.wrap&&(e.adler=s(e.adler,t,o,r)),e.next_in+=o,e.total_in+=o,o)}(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=r,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+3-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)}function m(e,t){for(var r,n;;){if(e.lookahead<262){if(v(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-262&&(e.match_length=b(e,r)),e.match_length>=3)if(n=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;
135else n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=e.strstart<2?e.strstart:2,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}function _(e,t){for(var r,n,i;;){if(e.lookahead<262){if(v(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-262&&(e.match_length=b(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(h(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=o._tr_tally(e,0,e.window[e.strstart-1]))&&h(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return(e.match_available&&(n=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}function x(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function w(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*u),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),d(this.dyn_ltree),d(this.dyn_dtree),d(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),d(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),d(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function S(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=+(2!==t.wrap),t.last_flush=0,o._tr_init(t),0):c(e,-2)}function E(e){var t,r=S(e);return 0===r&&((t=e.state).window_size=2*t.w_size,d(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r}function k(e,t,r,n,o,a){if(!e)return -2;var s=1;if(-1===t&&(t=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),o<1||o>9||8!==r||n<8||n>15||t<0||t>9||a<0||a>4)return c(e,-2);8===n&&(n=9);var l=new w;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=+l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=r,E(e)}n=[new x(0,0,0,0,function(e,t){var r=65535;for(65535>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(v(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,h(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-262&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:(e.strstart>e.block_start&&(h(e,!1),e.strm.avail_out),1)}),new x(4,4,8,4,m),new x(4,5,16,8,m),new x(4,6,32,32,m),new x(4,4,16,16,_),new x(8,16,32,32,_),new x(8,16,128,128,_),new x(8,32,128,256,_),new x(32,128,258,1024,_),new x(32,258,258,4096,_)],t.deflateInit=function(e,t){return k(e,t,8,15,8,0)},t.deflateInit2=k,t.deflateReset=E,t.deflateResetKeep=S,t.deflateSetHeader=function(e,t){return e&&e.state&&2===e.state.wrap?(e.state.gzhead=t,0):-2},t.deflate=function(e,t){if(!e||!e.state||t>5||t<0)return e?c(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return c(e,0===e.avail_out?-5:-2);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,g(i,31),g(i,139),g(i,8),i.gzhead?(g(i,+!!i.gzhead.text+2*!!i.gzhead.hcrc+4*!!i.gzhead.extra+8*!!i.gzhead.name+16*!!i.gzhead.comment),g(i,255&i.gzhead.time),g(i,i.gzhead.time>>8&255),g(i,i.gzhead.time>>16&255),g(i,i.gzhead.time>>24&255),g(i,9===i.level?2:4*(i.strategy>=2||i.level<2)),g(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(g(i,255&i.gzhead.extra.length),g(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gz
vendor: 4,440 bytes, line 135
135index=0,i.status=69):(g(i,0),g(i,0),g(i,0),g(i,0),g(i,0),g(i,9===i.level?2:4*(i.strategy>=2||i.level<2)),g(i,3),i.status=113);else{var r,i,a,l,u=8+(i.w_bits-8<<4)<<8;u|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(u|=32),u+=31-u%31,i.status=113,y(i,u),0!==i.strstart&&(y(i,e.adler>>>16),y(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),p(e),a=i.pending,i.pending!==i.pending_buf_size));)g(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),p(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,g(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),p(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,g(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&p(e),i.pending+2<=i.pending_buf_size&&(g(i,255&e.adler),g(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(p(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&f(t)<=f(r)&&4!==t)return c(e,-5);if(666===i.status&&0!==e.avail_in)return c(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var b=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(v(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,a,s=e.window;;){if(e.lookahead<=258){if(v(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=e.strstart+258;do;while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);e.match_length=258-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if((3===b||4===b)&&(i.status=666),1===b||3===b)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===b&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(d(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),p(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(g(i,255&e.adler),g(i,e.adler>>8&255),g(i,e.adler>>16&255),g(i,e.adler>>24&255),g(i,255&e.total_in),g(i,e.total_in>>8&255),g(i,e.total_in>>16&255),g(i,e.total_in>>24&255)):(y(i,e.adler>>>16),y(i,65535&e.adler)),p(e),i.wrap>0&&(i.wrap=-i.wrap),+(0===i.pending))},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?c(e,-2):(e.state=null,113===t?c(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var r,n,o,s,l,u,c,f,p=t.length;if(!e||!e.state||2===(s=(r=e.state).wrap)||1===s&&42!==r.status||r.lookahead)return -2;for(1===s&&(e.adler=a(e.adler,t,p,0)),r.wrap=0,p>=r.w_size&&(0===s&&(d(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new i.Buf8(r.w_size),i.arraySet(f,t,p-r.w_size,r.w_size,0),t=f,p=r.w_size),l=e.avail_in,u=e.next_in,
135c=e.input,e.avail_in=p,e.next_in=0,e.input=t,v(r);r.lookahead>=3;){n=r.strstart,o=r.lookahead-2;do r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++;while(--o);r.strstart=n,r.lookahead=2,v(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=u,e.input=c,e.avail_in=l,r.wrap=s,0},t.deflateInfo="pako deflate (from Nodeca project)"},970:function(e){e.exports=function(e,t){var r,n,i,o,a,s,l,u,c,f,d,p,h,g,y,b,v,m,_,x,w,S,E,k,O;r=e.state,n=e.next_in,k=e.input,i=n+(e.avail_in-5),o=e.next_out,O=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,f=r.wnext,d=r.window,p=r.hold,h=r.bits,g=r.lencode,y=r.distcode,b=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;e:do for(h<15&&(p+=k[n++]<<h,h+=8,p+=k[n++]<<h,h+=8),m=g[p&b];;){if(p>>>=_=m>>>24,h-=_,0==(_=m>>>16&255))O[o++]=65535&m;else if(16&_)for(x=65535&m,(_&=15)&&(h<_&&(p+=k[n++]<<h,h+=8),x+=p&(1<<_)-1,p>>>=_,h-=_),h<15&&(p+=k[n++]<<h,h+=8,p+=k[n++]<<h,h+=8),m=y[p&v];;){if(p>>>=_=m>>>24,h-=_,16&(_=m>>>16&255)){if(w=65535&m,h<(_&=15)&&(p+=k[n++]<<h,(h+=8)<_&&(p+=k[n++]<<h,h+=8)),(w+=p&(1<<_)-1)>l){e.msg="invalid distance too far back",r.mode=30;break e}if(p>>>=_,h-=_,w>(_=o-a)){if((_=w-_)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,E=d,0===f){if(S+=u-_,_<x){x-=_;do O[o++]=d[S++];while(--_);S=o-w,E=O}}else if(f<_){if(S+=u+f-_,(_-=f)<x){x-=_;do O[o++]=d[S++];while(--_);if(S=0,f<x){x-=_=f;do O[o++]=d[S++];while(--_);S=o-w,E=O}}}else if(S+=f-_,_<x){x-=_;do O[o++]=d[S++];while(--_);S=o-w,E=O}for(;x>2;)O[o++]=E[S++],O[o++]=E[S++],O[o++]=E[S++],x-=3;x&&(O[o++]=E[S++],x>1&&(O[o++]=E[S++]))}else{S=o-w;do O[o++]=O[S++],O[o++]=O[S++],O[o++]=O[S++],x-=3;while(x>2);x&&(O[o++]=O[S++],x>1&&(O[o++]=O[S++]))}}else if((64&_)==0){m=y[(65535&m)+(p&(1<<_)-1)];continue}else{e.msg="invalid distance code",r.mode=30;break e}break}else if((64&_)==0){m=g[(65535&m)+(p&(1<<_)-1)];continue}else if(32&_){r.mode=12;break e}else{e.msg="invalid literal/length code",r.mode=30;break e}break}while(n<i&&o<s);n-=x=h>>3,h-=x<<3,p&=(1<<h)-1,e.next_in=n,e.next_out=o,e.avail_in=n<i?5+(i-n):5-(n-i),e.avail_out=o<s?257+(s-o):257-(o-s),r.hold=p,r.bits=h}},519:function(e,t,r){var n,i,o=r(589),a=r(797),s=r(535),l=r(970),u=r(6);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new o.Buf32(852),t.distcode=t.distdyn=new o.Buf32(592),t.sane=1,t.back=-1,0):-2}function p(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):-2}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,p(e)):-2}function g(e,t){var r,n;return e?(e.state=n=new f,n.window=null,0!==(r=h(e,t))&&(e.state=null),r):-2}var y=!0;function b(e,t,r,n){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new o.Buf8(a.wsize)),n>=a.wsize?(o.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),o.arraySet(a.window,t,r-n,i,a.wnext),(n-=i)?(o.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}t.inflateReset=p,t.inflateReset2=h,t.inflateResetKeep=d,t.inflateInit=function(e){return g(e,15)},t.inflateInit2=g,t.inflate=function(e,t){var r,f,d,p,h,g,v,m,_,x,w,S,E,k,O,A,R,I,P,D,j,C,T,L,N=0,M=new o.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return -2;12===(r=e.state).mode&&(r.mode=13),h=e.next_out,d=e.output,v=e.avail_out,p=e.next_in,f=e.input,g=e.avail_in,m=r.hold,_=r.bits,x=g,w=v,C=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;_<16;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if(2&r.wrap&&35615===m){r.check=0,M[0]=255&m,M[1]=m>>>8&255,r.check=s(r.check,M,2,0),m=0,_=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&m)<<8)+(m>>8))%31){e.msg="incorrect header check",r.mode=30;break}if((15&m)!=8){e.msg="unknown compression method",r.mode=30;break}if(m>>>=4,_-=4,j=(15&m)+8,0===r.wbits)r.wbits=j;else if(j>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<j,e.adler=r.check=1,r.mode=512&m?10:12,m=0,_=0;break;case 2:for(;_<16;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if(r.flags=m,(255&r.flags)!=8){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=m>>8&1),512&r.flags&&(M[0]=255&m,M[1]=m>>>8&255,r.check=s(r.check,M,2,0)),m=0,_=0,r.mode=3;case 3:for(;_<32;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}r.head&&(r.head.time=m),512&r.flags&&(M[0]=255&m,M[1]=m>>>8&255,M[2]=m>>>16&255,M[3]=m>>>24&255,r.check=s(r.check,M,4,0)),m=0,_=0,r.mode=4;case 4:for(;_<16;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}r.head&&(r.head.xflags=255&m,r.head.os=m>>8),512&r.flags&&(M[0]=255&m,M[1]=m>>>8&255,r.check=s(r.check,M,2,0)),m=0,_=0,r.mode=5;case 5:if(1024&r.flags){for(;_<16;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}r.length=m,r.head&&(r.head.extra_len=m),512&r.flags&&(M[0]=255&m,M[1]=m>>>8&255,r.check=s(r.check,M,2,0)),m=0,_=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((S=r.length)>g&&(S=g),S&&(r.head&&(j=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),o.arraySet(r.head.extra,f,p,S,j)),512&r.flags&&(r.check=s(r.check,f,S,p)),g-=S,p+=S,r.length-=S),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===g)break e;S=0;do j=f[p+S++],r.head&&j&&r.length<65536&&(r.head.name+=String.fromCharCode(j));while(j&&S<g);if(512&r.flags&&(r.check=s(r.check,f,S,p)),g-=S,p+=S,j)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===g)break e;S=0;do j=f[p+S++],r.head&&j&&r.length<65536&&(r.head.comment+=String.fromCharCode(j));while(j&&S<g);if(512&r.flags&&(r.check=s(r.check,f,S,p)),g-=S,p+=S,j)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;_<16;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if(m!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}m=0,_=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;_<32;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}e.adler=r.check=c(m),m=0,_=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=h,e.avail_out=v,e.next_in=p,e.avail_in=g,r.hold=m,r.bits=_,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){m>>>=7&_,_-=7&_,r.mode=27;break}for(;_<3;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}switch(r.last=1&m,_-=1,3&(m>>>=1)){case 0:r.mode=14;break;case 1:if(!function(e){if(y){var t;for(n=new o.Buf32(512),i=new o.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(u(1,e.lens,0,288,n,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;u(2,e.lens,0,32,i,0,e.work,{bits:5}),y=!1}
135e.lencode=n,e.lenbits=9,e.distcode=i,e.distbits=5}(r),r.mode=20,6===t){m>>>=2,_-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}m>>>=2,_-=2;break;case 14:for(m>>>=7&_,_-=7&_;_<32;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if((65535&m)!=(m>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&m,m=0,_=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(S=r.length){if(S>g&&(S=g),S>v&&(S=v),0===S)break e;o.arraySet(d,f,p,S,h),g-=S,p+=S,v-=S,h+=S,r.length-=S;break}r.mode=12;break;case 17:for(;_<14;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if(r.nlen=(31&m)+257,_-=5,r.ndist=(31&(m>>>=5))+1,_-=5,r.ncode=(15&(m>>>=5))+4,m>>>=4,_-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;_<3;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}r.lens[U[r.have++]]=7&m,m>>>=3,_-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,T={bits:r.lenbits},C=u(0,r.lens,0,19,r.lencode,0,r.work,T),r.lenbits=T.bits,C){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;O=(N=r.lencode[m&(1<<r.lenbits)-1])>>>24,A=N>>>16&255,R=65535&N,!(O<=_);){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if(R<16)m>>>=O,_-=O,r.lens[r.have++]=R;else{if(16===R){for(L=O+2;_<L;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if(m>>>=O,_-=O,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}j=r.lens[r.have-1],S=3+(3&m),m>>>=2,_-=2}else if(17===R){for(L=O+3;_<L;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}m>>>=O,_-=O,j=0,S=3+(7&m),m>>>=3,_-=3}else{for(L=O+7;_<L;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}m>>>=O,_-=O,j=0,S=11+(127&m),m>>>=7,_-=7}if(r.have+S>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=j}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,T={bits:r.lenbits},C=u(1,r.lens,0,r.nlen,r.lencode,0,r.work,T),r.lenbits=T.bits,C){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,T={bits:r.distbits},C=u(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,T),r.distbits=T.bits,C){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(g>=6&&v>=258){e.next_out=h,e.avail_out=v,e.next_in=p,e.avail_in=g,r.hold=m,r.bits=_,l(e,w),h=e.next_out,d=e.output,v=e.avail_out,p=e.next_in,f=e.input,g=e.avail_in,m=r.hold,_=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;O=(N=r.lencode[m&(1<<r.lenbits)-1])>>>24,A=N>>>16&255,R=65535&N,!(O<=_);){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if(A&&(240&A)==0){for(I=O,P=A,D=R;O=(N=r.lencode[D+((m&(1<<I+P)-1)>>I)])>>>24,A=N>>>16&255,R=65535&N,!(I+O<=_);){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}m>>>=I,_-=I,r.back+=I}if(m>>>=O,_-=O,r.back+=O,r.length=R,0===A){r.mode=26;break}if(32&A){r.back=-1,r.mode=12;break}if(64&A){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&A,r.mode=22;case 22:if(r.extra){for(L=r.extra;_<L;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}r.length+=m&(1<<r.extra)-1,m>>>=r.extra,_-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;
135O=(N=r.distcode[m&(1<<r.distbits)-1])>>>24,A=N>>>16&255,R=65535&N,!(O<=_);){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if((240&A)==0){for(I=O,P=A,D=R;O=(N=r.distcode[D+((m&(1<<I+P)-1)>>I)])>>>24,A=N>>>16&255,R=65535&N,!(I+O<=_);){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}m>>>=I,_-=I,r.back+=I}if(m>>>=O,_-=O,r.back+=O,64&A){e.msg="invalid distance code",r.mode=30;break}r.offset=R,r.extra=15&A,r.mode=24;case 24:if(r.extra){for(L=r.extra;_<L;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}r.offset+=m&(1<<r.extra)-1,m>>>=r.extra,_-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===v)break e;if(S=w-v,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}S>r.wnext?(S-=r.wnext,E=r.wsize-S):E=r.wnext-S,S>r.length&&(S=r.length),k=r.window}else k=d,E=h-r.offset,S=r.length;S>v&&(S=v),v-=S,r.length-=S;do d[h++]=k[E++];while(--S);0===r.length&&(r.mode=21);break;case 26:if(0===v)break e;d[h++]=r.length,v--,r.mode=21;break;case 27:if(r.wrap){for(;_<32;){if(0===g)break e;g--,m|=f[p++]<<_,_+=8}if(w-=v,e.total_out+=w,r.total+=w,w&&(e.adler=r.check=r.flags?s(r.check,d,w,h-w):a(r.check,d,w,h-w)),w=v,(r.flags?m:c(m))!==r.check){e.msg="incorrect data check",r.mode=30;break}m=0,_=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;_<32;){if(0===g)break e;g--,m+=f[p++]<<_,_+=8}if(m!==(0|r.total)){e.msg="incorrect length check",r.mode=30;break}m=0,_=0}r.mode=29;case 29:C=1;break e;case 30:C=-3;break e;case 31:return -4;default:return -2}return(e.next_out=h,e.avail_out=v,e.next_in=p,e.avail_in=g,r.hold=m,r.bits=_,(r.wsize||w!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&b(e,e.output,e.next_out,w-e.avail_out))?(r.mode=31,-4):(x-=e.avail_in,w-=e.avail_out,e.total_in+=x,e.total_out+=w,r.total+=w,r.wrap&&w&&(e.adler=r.check=r.flags?s(r.check,d,w,e.next_out-w):a(r.check,d,w,e.next_out-w)),e.data_type=r.bits+64*!!r.last+128*(12===r.mode)+256*(20===r.mode||15===r.mode),(0===x&&0===w||4===t)&&0===C&&(C=-5),C)},t.inflateEnd=function(e){if(!e||!e.state)return -2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},t.inflateGetHeader=function(e,t){var r;return e&&e.state&&(2&(r=e.state).wrap)!=0?(r.head=t,t.done=!1,0):-2},t.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state&&(0===(r=e.state).wrap||11===r.mode)?11===r.mode&&a(1,t,n,0)!==r.check?-3:b(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},t.inflateInfo="pako inflate (from Nodeca project)"},6:function(e,t,r){var n=r(589),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,r,l,u,c,f,d){var p,h,g,y,b,v,m,_,x,w=d.bits,S=0,E=0,k=0,O=0,A=0,R=0,I=0,P=0,D=0,j=0,C=null,T=0,L=new n.Buf16(16),N=new n.Buf16(16),M=null,U=0;for(S=0;S<=15;S++)L[S]=0;for(E=0;E<l;E++)L[t[r+E]]++;for(A=w,O=15;O>=1&&0===L[O];O--);if(A>O&&(A=O),0===O)return u[c++]=0x1400000,u[c++]=0x1400000,d.bits=1,0;for(k=1;k<O&&0===L[k];k++);for(A<k&&(A=k),P=1,S=1;S<=15;S++)if(P<<=1,(P-=L[S])<0)return -1;if(P>0&&(0===e||1!==O))return -1;for(N[1]=0,S=1;S<15;S++)N[S+1]=N[S]+L[S];for(E=0;E<l;E++)0!==t[r+E]&&(f[N[t[r+E]]++]=E);if(0===e?(C=M=f,v=19):1===e?(C=i,T-=257,M=o,U-=257,v=256):(C=a,M=s,v=-1),j=0,E=0,S=k,b=c,R=A,I=0,g=-1,y=(D=1<<A)-1,1===e&&D>852||2===e&&D>592)return 1;for(;;){m=S-I,f[E]<v?(_=0,x=f[E]):f[E]>v?(_=M[U+f[E]],x=C[T+f[E]]):(_=96,x=0),p=1<<S-I,k=h=1<<R;do u[b+(j>>I)+(h-=p)]=m<<24|_<<16|x;while(0!==h);for(p=1<<S-1;j&p;)p>>=1;if(0!==p?(j&=p-1,j+=p):j=0,E++,0==--L[S]){if(S===O)break;S=t[r+f[E]]}if(S>A&&(j&y)!==g){for(0===I&&(I=A),b+=k,P=1<<(R=S-I);R+I<O&&!((P-=L[R+I])<=0);)R++,P<<=1;
135if(D+=1<<R,1===e&&D>852||2===e&&D>592)return 1;u[g=j&y]=A<<24|R<<16|b-c}}return 0!==j&&(u[b+j]=S-I<<24|4194304),d.bits=A,0}},858:function(e){e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},81:function(e,t,r){var n,i,o,a=r(589);function s(e){for(var t=e.length;--t>=0;)e[t]=0}var l=573,u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],d=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],p=Array(576);s(p);var h=Array(60);s(h);var g=Array(512);s(g);var y=Array(256);s(y);var b=Array(29);s(b);var v=Array(30);function m(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function _(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function x(e){return e<256?g[e]:g[256+(e>>>7)]}function w(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function S(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,w(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function E(e,t,r){S(e,r[2*t],r[2*t+1])}function k(e,t){var r=0;do r|=1&e,e>>>=1,r<<=1;while(--t>0);return r>>>1}function O(e,t,r){var n,i,o=Array(16),a=0;for(n=1;n<=15;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=k(o[s]++,s))}}function A(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function R(e){e.bi_valid>8?w(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function I(e,t,r,n){var i=2*t,o=2*r;return e[i]<e[o]||e[i]===e[o]&&n[t]<=n[r]}function P(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&I(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!I(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function D(e,t,r){var n,i,o,a,s=0;if(0!==e.last_lit)do n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?E(e,i,t):(E(e,(o=y[i])+256+1,t),0!==(a=u[o])&&S(e,i-=b[o],a),E(e,o=x(--n),r),0!==(a=c[o])&&S(e,n-=v[o],a));while(s<e.last_lit);E(e,256,t)}function j(e,t){var r,n,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=l,r=0;r<u;r++)0!==o[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):o[2*r+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,r=e.heap_len>>1;r>=1;r--)P(e,o,r);i=u;do r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],P(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,P(e,o,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,a,s,u=t.dyn_tree,c=t.max_code,f=t.stat_desc.static_tree,d=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,g=t.stat_desc.max_length,y=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<l;r++)(o=u[2*u[2*(n=e.heap[r])+1]+1]+1)>g&&(o=g,y++),u[2*n+1]=o,!(n>c)&&(e.bl_count[o]++,a=0,n>=h&&(a=p[n-h]),s=u[2*n],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(f[2*n+1]+a)));if(0!==y){do{for(o=g-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[g]--,y-=2}while(y>0);for(o=g;0!==o;o--)for(n=e.bl_count[o];0!==n;)!((i=e.heap[--r])>c)&&(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),n--)}}(e,t),O(o,c,e.bl_count)}function C(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[(r+1)*2+1]=65535,n=0;n<=r;n++)i=a,a=t[(n+1)*2+1],++s<l&&i===a||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4))}function T(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),n=0;n<=r;n++)if(i=a,a=t[(n+1)*2+1],!(++s<l)||i!==a){if(s<u)do E(e,i,e.bl_tree);while(0!=--s);else 0!==i?(i!==o&&(E(e,i,e.bl_tree),s--),E(e,16,e.bl_tree),S(e,s-3,2)):s<=10?(E(e,17,e.bl_tree),S(e,s-3,3)):(E(e,18,e.bl_tree),S(e,s-11,7));s=0,o=i,0===a?(l=138,u=3):i===a?(l=6,u=3):(l=7,u=4)}}s(v);var L=!1;function N(e,t,r,n){S(e,0+ +!!n,3),R(e),w(e,r),w(e,~r),a.arraySet(e.pending_buf,e.window,t,r,e.pen
135ding),e.pending+=r}t._tr_init=function(e){L||(!function(){var e,t,r,a,s,l=Array(16);for(a=0,r=0;a<28;a++)for(b[a]=r,e=0;e<1<<u[a];e++)y[r++]=a;for(y[r-1]=a,s=0,a=0;a<16;a++)for(v[a]=s,e=0;e<1<<c[a];e++)g[s++]=a;for(s>>=7;a<30;a++)for(v[a]=s<<7,e=0;e<1<<c[a]-7;e++)g[256+s++]=a;for(t=0;t<=15;t++)l[t]=0;for(e=0;e<=143;)p[2*e+1]=8,e++,l[8]++;for(;e<=255;)p[2*e+1]=9,e++,l[9]++;for(;e<=279;)p[2*e+1]=7,e++,l[7]++;for(;e<=287;)p[2*e+1]=8,e++,l[8]++;for(O(p,287,l),e=0;e<30;e++)h[2*e+1]=5,h[2*e]=k(e,5);n=new m(p,u,257,286,15),i=new m(h,c,0,30,15),o=new m([],f,0,19,7)}(),L=!0),e.l_desc=new _(e.dyn_ltree,n),e.d_desc=new _(e.dyn_dtree,i),e.bl_desc=new _(e.bl_tree,o),e.bi_buf=0,e.bi_valid=0,A(e)},t._tr_stored_block=N,t._tr_flush_block=function(e,t,r,n){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=0xf3ffc07f;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),j(e,e.l_desc),j(e,e.d_desc),a=function(e){var t;for(C(e,e.dyn_ltree,e.l_desc.max_code),C(e,e.dyn_dtree,e.d_desc.max_code),j(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*d[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?N(e,t,r,n):4===e.strategy||o===i?(S(e,2+ +!!n,3),D(e,p,h)):(S(e,4+ +!!n,3),function(e,t,r,n){var i;for(S(e,t-257,5),S(e,r-1,5),S(e,n-4,4),i=0;i<n;i++)S(e,e.bl_tree[2*d[i]+1],3);T(e,e.dyn_ltree,t-1),T(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),D(e,e.dyn_ltree,e.dyn_dtree)),A(e),n&&R(e)},t._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[(y[r]+256+1)*2]++,e.dyn_dtree[2*x(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){S(e,2,3),E(e,256,p),16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},682:function(e){e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},613:function(e){e.exports=r(42663)},181:function(e){e.exports=r(49304)},203:function(e){e.exports=r(53680)},23:function(e){e.exports=r(36859)}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}},i=!0;try{t[e](n,n.exports,a),i=!1}finally{i&&delete o[e]}return n.exports}a.ab="//",e.exports=a(953)}()},51546:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.SDKType=void 0;let n={};t.SDKType={_get:e=>{var t;return(null!=(t=n[e])?t:"js-mono")+(null!=r?r:"")},_setClientType(e,t){n[e]=t},_setBindingType(e){r&&"-react"!==r||(r="-"+e)}}},51765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(69930);class i{constructor(e){this._sdkKey=e,this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null}finalize(){this._values||(this._source="NoValues")}getValues(){return this._rawValues?(0,n._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(e,t){var r;if(!e)return!1;let i=(0,n._typedJsonParse)(e.data,"has_updates","EvaluationResponse");return null!=i&&(this._source=e.source,(null==i?void 0:i.has_updates)!==!0||(this._rawValues=e.data,this._lcut=i.time,this._receivedAt=e.receivedAt,this._values=i,this._bootstrapMetadata=this._extractBootstrapMetadata(e.source,i),e.source&&i.user&&this._setWarningState(t,i),n.SDKFlags.setFlags(this._sdkKey,null!=(r=i.sdk_flags)?r:{}),!0))}getWarnings(){if(0!==this._warnings.size)return Array.from(this._warnings)}getGate(e){var t;return this._getDetailedStoreResult(null==(t=this._values)?void 0:t.feature_gates,e)}getConfig(e){var t;return this._getDetailedStoreResult(null==(t=this._values)?void 0:t.dynamic_configs,e)}
135getLayer(e){var t;return this._getDetailedStoreResult(null==(t=this._values)?void 0:t.layer_configs,e)}getParamStore(e){var t;return this._getDetailedStoreResult(null==(t=this._values)?void 0:t.param_stores,e)}getSource(){return this._source}getExposureMapping(){var e;return null==(e=this._values)?void 0:e.exposures}_extractBootstrapMetadata(e,t){if("Bootstrap"!==e)return null;let r={};return t.user&&(r.user=t.user),t.sdkInfo&&(r.generatorSDKInfo=t.sdkInfo),r.lcut=t.time,r}_getDetailedStoreResult(e,t){let r=null;return e&&(r=e[t]?e[t]:e[(0,n._DJB2)(t)]),{result:r,details:this._getDetails(null==r)}}_setWarningState(e,t){var r,i;let o=n.StableID.get(this._sdkKey);if((null==(r=e.customIDs)?void 0:r.stableID)!==o&&((null==(i=e.customIDs)?void 0:i.stableID)||o))return void this._warnings.add("StableIDMismatch");if("user"in t){let r=t.user;(0,n._getFullUserHash)(e)!==(0,n._getFullUserHash)(r)&&this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if("Uninitialized"===this._source||"NoValues"===this._source)return{reason:this._source};let e={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(e.warnings=Array.from(this._warnings)),e}_getDetails(e){var t,r;let n=this.getCurrentSourceDetails(),i=n.reason,o=null!=(t=n.warnings)?t:[];"Bootstrap"===this._source&&o.length>0&&(i+=o[0]),"Uninitialized"!==i&&"NoValues"!==i&&(i=`${i}:${e?"Unrecognized":"Recognized"}`);let a="Bootstrap"===this._source&&null!=(r=this._bootstrapMetadata)?r:void 0;return a&&(n.bootstrapMetadata=a),Object.assign(Object.assign({},n),{reason:i})}}t.default=i},52075:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(64054).createAsyncLocalStorage)()},52925:e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o={},a={RequestCookies:()=>p,ResponseCookies:()=>h,parseCookie:()=>u,parseSetCookie:()=>c,stringifyCookie:()=>l};for(var s in a)t(o,s,{get:a[s],enumerable:!0});function l(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function u(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,i]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=i?i:"true"))}catch{}}return t}function c(e){if(!e)return;let[[t,r],...n]=u(e),{domain:i,expires:o,httponly:a,maxage:s,path:l,samesite:c,secure:p,partitioned:h,priority:g}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var y,b,v={name:t,value:decodeURIComponent(r),domain:i,...o&&{expires:new Date(o)},...a&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:l,...c&&{sameSite:f.includes(y=(y=c).toLowerCase())?y:void 0},...p&&{secure:!0},...g&&{priority:d.includes(b=(b=g).toLowerCase())?b:void 0},...h&&{partitioned:!0}};let e={};for(let t in v)v[t]&&(e[t]=v[t]);return e}}e.exports=((e,o,a)=>
135{if(o&&"object"==typeof o||"function"==typeof o)for(let s of n(o))i.call(e,s)||void 0===s||t(e,s,{get:()=>o[s],enumerable:!(a=r(o,s))||a.enumerable});return e})(t({},"__esModule",{value:!0}),o);var f=["strict","lax","none"],d=["low","medium","high"],p=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of u(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>l(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>l(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},h=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;const i=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(const e of Array.isArray(i)?i:function(e){if(!e)return[];var t,r,n,i,o,a=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;l();)if(","===(r=e.charAt(s))){for(n=s,s+=1,l(),i=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=i,a.push(e.substring(t,n)),t=s):s=n+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}(i)){const t=c(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,i=this._parsed;return i.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=l(r);t.append("set-cookie",e)}}(i,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(l).join("; ")}}},53680:(e,t,r)=>{var n=r(41463),i={638:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},329:function(e){"use strict";let t={};function r(e,r,n){n||(n=Error);class i extends n{constructor(e,t,n){super(function(e,t,n){return"string"==typeof r?r:r(e,t,n)}(e,t,n))}}i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let r=e.length;return(e=e.map(e=>String(e)),r>2)?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){var i,o,a,s;let l,u;if("string"==typeof t&&(i="not ",t.substr(0,i.length)===i)?(l="must not be",t=t.replace(/^not /,"")):l="must be",o=" argument",(void 0===a||a>e.length)&&(a=e.length),e.substring(a-o.length,a)===o)u=`The ${e} ${l} ${n(t,"type")}`;else{let r=("number"!=typeof s&&(s=0),s+1>e.length||-1===e.indexOf(".",s))?"argument":"property";u=`The "${e}" ${r} ${l} ${n(t,"type")}`}return u+`. Received type ${typeof r}`},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENT
135ED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},686:function(e,t,r){"use strict";var i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var o=r(276),a=r(732);r(638)(c,o);for(var s=i(a.prototype),l=0;l<s.length;l++){var u=s[l];c.prototype[u]||(c.prototype[u]=a.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},512:function(e,t,r){"use strict";e.exports=i;var n=r(586);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(638)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},276:function(e,t,i){"use strict";e.exports=O,O.ReadableState=k,i(434).EventEmitter;var o,a,s,l,u,c=function(e,t){return e.listeners(t).length},f=i(120),d=i(181).Buffer,p=r.g.Uint8Array||function(){},h=i(23);a=h&&h.debuglog?h.debuglog("stream"):function(){};var g=i(137),y=i(528),b=i(771).getHighWaterMark,v=i(329).F,m=v.ERR_INVALID_ARG_TYPE,_=v.ERR_STREAM_PUSH_AFTER_EOF,x=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;i(638)(O,f);var S=y.errorOrDestroy,E=["error","close","destroy","pause","resume"];function k(e,t,r){o=o||i(686),e=e||{},"boolean"!=typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",r),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(s||(s=i(319).I),this.decoder=new s(e.encoding),this.encoding=e.encoding)}function O(e){if(o=o||i(686),!(this instanceof O))return new O(e);var t=this instanceof o;this._readableState=new k(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),f.call(this)}function A(e,t,r,n,i){a("readableAddChunk",t);var o,s,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(a("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?P(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,D(e)))}}(e,l);else if(i||(s=function(e,t){var r;return d.isBuffer(t)||t instanceof p||"string"==typeof t||void 0===t||e.objectMode||(r=new m("chunk",["string","Buffer","Uint8Array"],t)),r}(l,t)),s)S(e,s);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===d.prototype||(o=t,t=d.from(o)),n)l.endEmitted?S(e,new w):R(e,l,t,!0);else if(l.ended)S(e,new _);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?R(e,l,t,!1):j(e,l)):R(e,l,t,!1)}else n||(l.reading=!1,j(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function R(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&P(e)),j(e,t)}function I(e,t){var r;if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&((r=e)>=0x40000000?r=0x40000000:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),t.highWaterMark=r),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function P(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(D,e))}function D(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,M(e)}function j(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(a("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function T(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function L(e){a("readable nexttick read 0"),e.read(0)}function N(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),M(e),t.flowing&&!t.reading&&e.read(0)}function M(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function U(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function B(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(F,t,e))}function F(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function z(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),O.prototype.destroy=y.destroy,O.prototype._undestroy=y.undestroy,O.prototype._destroy=function(e,t){t(e)},O.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=d.from(e,t),t=""),r=!0),A(this,e,t,!1,r)},O.prototype.unshift=function(e){return A(this,e,null,!0,!1)},O.prototype.isPaused=function(){return!1===this._readableState.flowing},O.prototype.setEncoding=function(e){s||(s=i(319).I);var t=new s(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;
135for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this},O.prototype.read=function(e){a("read",e),e=parseInt(e,10);var t,r=this._readableState,n=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return a("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?B(this):P(this),null;if(0===(e=I(e,r))&&r.ended)return 0===r.length&&B(this),null;var i=r.needReadable;return a("need readable",i),(0===r.length||r.length-e<r.highWaterMark)&&a("length less than watermark",i=!0),r.ended||r.reading?a("reading or ended",i=!1):i&&(a("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=I(n,r))),null===(t=e>0?U(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&B(this)),null!==t&&this.emit("data",t),t},O.prototype._read=function(e){S(this,new x("_read()"))},O.prototype.pipe=function(e,t){var r,i=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,a("pipe count=%d opts=%j",o.pipesCount,t);var s=t&&!1===t.end||e===n.stdout||e===n.stderr?y:l;function l(){a("onend"),e.end()}o.endEmitted?n.nextTick(s):i.once("end",s),e.on("unpipe",function t(r,n){a("onunpipe"),r===i&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,a("cleanup"),e.removeListener("close",h),e.removeListener("finish",g),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",t),i.removeListener("end",l),i.removeListener("end",y),i.removeListener("data",d),f=!0,o.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u())});var u=(r=i,function(){var e=r._readableState;a("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&c(r,"data")&&(e.flowing=!0,M(r))});e.on("drain",u);var f=!1;function d(t){a("ondata");var r=e.write(t);a("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==z(o.pipes,e))&&!f&&(a("false write response, pause",o.awaitDrain),o.awaitDrain++),i.pause())}function p(t){a("onerror",t),y(),e.removeListener("error",p),0===c(e,"error")&&S(e,t)}function h(){e.removeListener("finish",g),y()}function g(){a("onfinish"),e.removeListener("close",h),y()}function y(){a("unpipe"),i.unpipe(e)}return i.on("data",d),!function(e,t,r){if("function"==typeof e.prependListener)return e.prepe
135ndListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",h),e.once("finish",g),e.emit("pipe",i),o.flowing||(a("pipe resume"),i.resume()),e},O.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(t.pipes,e);return -1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},O.prototype.on=function(e,t){var r=f.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"!==e||i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,a("on readable",i.length,i.reading),i.length?P(this):i.reading||n.nextTick(L,this)),r},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(e,t){var r=f.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(T,this),r},O.prototype.removeAllListeners=function(e){var t=f.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&n.nextTick(T,this),t},O.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(a("resume"),r.flowing=!r.readableListening,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,n.nextTick(N,e,t))),r.paused=!1,this},O.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},O.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(a("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){a("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<E.length;o++)e.on(E[o],this.emit.bind(this,E[o]));return this._read=function(t){a("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(O.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=i(531)),l(this)}),Object.defineProperty(O.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(O.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(O.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),O._fromList=U,Object.defineProperty(O.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(O.from=function(e,t){return void 0===u&&(u=i(812)),u(O,e,t)})},586:function(e,t,r){"use strict";e.exports=c;var n=r(329).F,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(686);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush(function(t,r){d(e,t,r)})}function d(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}r(638)(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},732:function(e,t,i){"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){var r=t,n=e,i=r.entry;for(r.entry=null;i;){var o=i.callback;n.pendingcb--,o(void 0),i=i.next}n.corkedRequestsFree.next=r}}e.exports=O,O.WritableState=k;var a,s,l={deprecate:i(774)},u=i(120),c=i(181).Buffer,f=r.g.Uint8Array||function(){},d=i(528),p=i(771).getHighWaterMark,h=i(329).F,g=h.ERR_INVALID_ARG_TYPE,y=h.ERR_METHOD_NOT_IMPLEMENT
135ED,b=h.ERR_MULTIPLE_CALLBACK,v=h.ERR_STREAM_CANNOT_PIPE,m=h.ERR_STREAM_DESTROYED,_=h.ERR_STREAM_NULL_VALUES,x=h.ERR_STREAM_WRITE_AFTER_END,w=h.ERR_UNKNOWN_ENCODING,S=d.errorOrDestroy;function E(){}function k(e,t,r){a=a||i(686),e=e||{},"boolean"!=typeof r&&(r=t instanceof a),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=p(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if("function"!=typeof o)throw new b;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,i?(n.nextTick(o,t),n.nextTick(j,e,r),e._writableState.errorEmitted=!0,S(e,t)):(o(t),e._writableState.errorEmitted=!0,S(e,t),j(e,r));else{var a=P(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||I(e,r),i?n.nextTick(R,e,r,a,o):R(e,r,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}i(638)(O,u),k.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};try{Object.defineProperty(k.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}function O(e){var t=this instanceof(a=a||i(686));if(!t&&!s.call(O,this))return new O(e);this._writableState=new k(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function A(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new m("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function R(e,t,r,n){var i,o;r||(i=e,0===(o=t).length&&o.needDrain&&(o.needDrain=!1,i.emit("drain"))),t.pendingcb--,n(),j(e,t)}function I(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=r;for(var a=0,s=!0;r;)n[a]=r,r.isBuf||(s=!1),r=r.next,a+=1;n.allBuffers=s,A(e,t,!0,t.length,n,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,c=r.callback,f=t.objectMode?1:l.length;if(A(e,t,!1,f,l,u,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function D(e,t){e._final(function(r){t.pendingcb--,r&&S(e,r),t.prefinished=!0,e.emit("prefinish"),j(e,t)})}function j(e,t){var r=P(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(D,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===O&&e&&e._writableState instanceof k}})):s=function(e){return e instanceof this},O.prototype.pipe=function(){S(this,new v)},O.prototype.write=function(e,t,r){var i,o,a,s,l,u,d,p=this._writableState,h=!1,y=!p.objectMode&&(i=e,c.isBuffer(i)||i instanceof f);return(y&&!c.isBuffer(e)&&(o=e,e=c.from(o)),"function"==typeof t&&(r=t,t=null),y?t="buffer":t||(t=p.defaultEncoding),"function"!=typeof r&&(r=E),p.ending)?(a=r,S(this,s=new x),n.nextTick(a,s)):(y||(l=e,u=r,null===l?d=new _:"string"==typeof l||p.objectMode||(d=new g("chunk",["string","Buffer"],l)),!d||(S(this,d),n.nextTick(u,d),0)))&&(p.pendingcb++,h=function(e,t,r,n,i,o){if(!r){var a,s,l=(a=n,s=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof a||(a=c.from(a,s)),a);n!==l&&(r=!0,i="buffer",n=l)}var u=t.objectMode?1:n.length;t.length+=u;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else A(e,t,!1,u,n,i,o);return f}(this,p,y,e,t,r)),h},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||I(this,e))},O.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(e,t,r){r(new y("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,t,r){var i,o,a,s=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),s.corked&&(s.corked=1,this.uncork()),s.ending||(i=this,o=s,a=r,o.ending=!0,j(i,o),a&&(o.finished?n.nextTick(a):i.once("finish",a)),o.ended=!0,i.writable=!1),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=d.destroy,O.prototype._undestroy=d.undestroy,O.prototype._destroy=function(e,t){t(e)}},531:function(e,t,r){"use strict";function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o,a=r(134),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),p=Symbol("stream");function h(e,t){return{value:e,done:t}}function g(e){var t=e[s];if(null!==t){var r=e[p].read();null!==r&&(e[f]=null,e[s]=null,e[l]=null,t(h(r,!1)))}}function y(e){n.nextTick(g,e)}var b=Object.getPrototypeOf(function(){}),v=Object.setPrototypeOf((i(o={get stream(){return this[p]},next:function(){var e,t,r=this,i=this[u];if(null!==i)return Promise.reject(i);if(this[c])return Promise.resolve(h(void 0,!0));if(this[p].destroyed)return new Promise(function(e,t){n.nextTick(function(){r[u]?t(r[u]):e(h(void 0,!0))})});var o=this[f];if(o)t=new Promise((e=this,function(t,r){o.then(function(){e[c]?t(h(void 0,!0)):e[d](t,r)},r)}));else{var a=this[p].read();if(null!==a)return Promise.resolve(h(a,!1));t=new Promise(this[d])}return this[f]=t,t}},Symbol.asyncIterator,function(){return this}),i(o,"return",function(){var e=this;return new Promise(function(t,r){e[p].destroy(null,function(e){e?r(e):t(h(void 0,!0))})})}),o),b);e.exports=function(e){var t,r=Object.create(v,(i(t={},p,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var n=r[p].read();n?(r[f]=null,r[s]=null,r[l]=null,e(h(n,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[f]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[f]=null,r[s]=null,r[l]=null,t(e)),r[u]=e;return}var n=r[s];null!==n&&(r[f]=null,r[s]=null,r[l]=null,n(h(void 0,!0))),r[c]=!0}),e.on("readable",y.bind(null,r)),r}},137:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var i=r(181).Buffer,o=r(23).inspect,a=o&&o.custom||"inspect";e.exports=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}return e=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return i.alloc(0);for(var t,r,n=i.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,r=a,i.prototype.copy.call(t,n,r),a+=o.data.length,o=o.next;return n}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=i.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,a),0==(e-=a)){a===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(a));break}++n}return this.length-=n,t}},{key:a,value:function(e,t){return o(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
135t%2?n(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},t,{depth:0,customInspect:!1}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}()},528:function(e){"use strict";function t(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,o){var a=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!o&&e?a._writableState?a._writableState.errorEmitted?n.nextTick(r,a):(a._writableState.errorEmitted=!0,n.nextTick(t,a,e)):n.nextTick(t,a,e):o?(n.nextTick(r,a),o(e)):n.nextTick(r,a)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},134:function(e,t,r){"use strict";var n=r(329).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),a=o||i,s=!1,o=function(){if(!s){s=!0;for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];a.apply(this,t)}};var a,s,l=r.readable||!1!==r.readable&&t.readable,u=r.writable||!1!==r.writable&&t.writable,c=function(){t.writable||d()},f=t._writableState&&t._writableState.finished,d=function(){u=!1,f=!0,l||o.call(t)},p=t._readableState&&t._readableState.endEmitted,h=function(){l=!1,p=!0,u||o.call(t)},g=function(e){o.call(t,e)},y=function(){var e;return l&&!p?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):u&&!f?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},b=function(){t.req.on("finish",d)};return t.setHeader&&"function"==typeof t.abort?(t.on("complete",d),t.on("abort",y),t.req?b():t.on("request",b)):u&&!t._writableState&&(t.on("end",c),t.on("close",c)),t.on("end",h),t.on("finish",d),!1!==r.error&&t.on("error",g),t.on("close",y),function(){t.removeListener("complete",d),t.removeListener("abort",y),t.removeListener("request",b),t.req&&t.req.removeListener("finish",d),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",d),t.removeListener("end",h),t.removeListener("error",g),t.removeListener("close",y)}}},812:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var o=r(329).F.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){if(t&&"function"==typeof t.next)a=t;else if(t&&t[Symbol.asyncIterator])a=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])a=t[Symbol.iterator]();else throw new o("iterable",["Iterable"],t);var a,s=new e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
135t%2?i(Object(r),!0).forEach(function(t){var n,i,o;n=e,i=t,o=r[t],i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({objectMode:!0},r)),l=!1;function u(){return c.apply(this,arguments)}function c(){var e;return e=function*(){try{var e=yield a.next(),t=e.value;e.done?s.push(null):s.push((yield t))?u():l=!1}catch(e){s.destroy(e)}},(c=function(){var t=this,r=arguments;return new Promise(function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,l,"next",e)}function l(e){n(a,i,o,s,l,"throw",e)}s(void 0)})}).apply(this,arguments)}return s._read=function(){l||(l=!0,u())},s}},694:function(e,t,r){"use strict";var n,i=r(329).F,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(e){e()}function u(e,t){return e.pipe(t)}e.exports=function(){for(var e,t,i=arguments.length,c=Array(i),f=0;f<i;f++)c[f]=arguments[f];var d=(e=c).length&&"function"==typeof e[e.length-1]?e.pop():s;if(Array.isArray(c[0])&&(c=c[0]),c.length<2)throw new o("streams");var p=c.map(function(e,i){var o,s,u,f,h,g,y=i<c.length-1;return o=i>0,u=s=function(e){t||(t=e),e&&p.forEach(l),y||(p.forEach(l),d(t))},f=!1,s=function(){f||(f=!0,u.apply(void 0,arguments))},h=!1,e.on("close",function(){h=!0}),void 0===n&&(n=r(134)),n(e,{readable:y,writable:o},function(e){if(e)return s(e);h=!0,s()}),g=!1,function(t){if(!h&&!g){if(g=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();s(t||new a("pipe"))}}});return c.reduce(u)}},771:function(e,t,r){"use strict";var n=r(329).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=null!=t.highWaterMark?t.highWaterMark:i?t[r]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},120:function(e,t,r){e.exports=r(203)},56:function(e,t,r){var n=r(181),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},854:function(e,t,r){e.exports=i;var n=r(434).EventEmitter;function i(){n.call(this)}r(638)(i,n),i.Readable=r(276),i.Writable=r(732),i.Duplex=r(686),i.Transform=r(586),i.PassThrough=r(512),i.finished=r(134),i.pipeline=r(694),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},319:function(e,t,r){"use strict";var n=r(56).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
135case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:this.write=d,this.end=p;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.I=o,o.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},774:function(e){e.exports=function(e,r){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}};function t(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},181:function(e){"use strict";e.exports=r(49304)},434:function(e){"use strict";e.exports=r(75217)},203:function(e){"use strict";e.exports=r(75217).EventEmitter},23:function(e){"use strict";e.exports=r(36859)}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},n=!0;try{i[e](r,r.exports,a),n=!1}finally{n&&delete o[e]}return r.exports}a.ab="//",e.exports=a(854)},54651:(e,t,r)=>{"use strict";var n=function(){if("u">typeof self)return self;if("u">typeof window)return window;if(void 0!==r.g)return r.g;throw Error("unable to locate global object")}();e.exports=t=n.fetch,n.fetch&&(t.default=n.fetch.bind(n)),t.Headers=n.Headers,t.Request=n.Request,t.Response=n.Response},55303:(e,t)=>{"use strict";let r;
135Object.defineProperty(t,"__esModule",{value:!0});let n=new Uint8Array(16);t.default=function(){if(!r){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(n)}},55409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return n.afterTaskAsyncStorageInstance}});let n=r(18228)},55621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(3400);t.default=function(e){let t;if(!(0,n.default)(e))throw TypeError("Invalid UUID");return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,255&t,(t=parseInt(e.slice(9,13),16))>>>8,255&t,(t=parseInt(e.slice(14,18),16))>>>8,255&t,(t=parseInt(e.slice(19,23),16))>>>8,255&t,(t=parseInt(e.slice(24,36),16))/0x10000000000&255,t/0x100000000&255,t>>>24&255,t>>>16&255,t>>>8&255,255&t)}},55638:function(e,t,r){var n,i,o;e.exports=void(i=(n=r(62538)).lib.Base,o=n.enc.Utf8,n.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,l=a.words,u=0;u<r;u++)s[u]^=0x5c5c5c5c,l[u]^=0x36363636;i.sigBytes=a.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}}))},56878:(e,t)=>{"use strict";t.__esModule=!0,t.makeEmptyFeatureGate=t.makeFeatureGate=void 0,t.makeFeatureGate=function(e,t,r,n,i,o){return{name:e,ruleID:t,value:r,groupName:n,idType:i,evaluationDetails:o}},t.makeEmptyFeatureGate=function(e){return{name:e,ruleID:"",value:!1,groupName:null,idType:null,evaluationDetails:null}}},57116:(e,t)=>{"use strict";t.__esModule=!0;var r=null;t.default=function(){function e(){}return e.getInstance=function(){return r},e.setInstance=function(e){r=e},e}()},57143:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return i}});let n=r(63697);function i(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:`/${r}`}},57857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},57972:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCachePrefix=void 0,t.DataAdapterCachePrefix="statsig.cached"},58115:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};t.__esModule=!0,t.DiagnosticsImpl=t.MAX_MARKER_COUNT=t.MAX_SAMPLING_RATE=void 0;var i=r(4052);t.MAX_SAMPLING_RATE=1e4,t.MAX_MARKER_COUNT=26;var o=function(){function e(e){var r,n,i,o=this;this.mark={overall:this.selectAction("overall"),downloadConfigSpecs:this.selectStep("download_config_specs"),bootstrap:this.selectStep("bootstrap"),getIDList:this.selectStep("get_id_list"),getIDListSources:this.selectStep("get_id_list_sources"),getClientInitializeResponse:this.selectAction("get_client_initialize_response","process"),api_call:function(e){switch(e){case"getConfig":return o.selectAction("get_config");case"getExperiment":return o.selectAction("get_experiment");case"checkGate":return o.selectAction("check_gate");case"getLayer":return o.selectAction("get_layer")}return null}},this.markers={initialize:[],config_sync:[],event_logging:[],api_call:[],get_client_initialize_response:[]},this.context="initialize",this.samplingRates={dcs:0,log:0,idlist:0,initialize:t.MAX_SAMPLING_RATE,api_call:0,gcir:0},this.markers=null!=(r=e.markers)?r:{initialize:[],config_sync:[],event_logging:[],api_call:[],get_client_initialize_response:[]},this.logger=e.logger,this.disabledCoreAPI=null!=(i=null==(n=e.options)?void 0:n.disableDiagnostics)&&i}return e.prototype.setContext=function(e){this.context=e},e.prototype.setSamplingRate=function(e){this.updateSamplingRates(e)},e.prototype.selectAction=function(e,t){var r=this;return{start:function(i,o){r.addMarker(n({key:e,step:t,action:"start",timestamp:Date.now()},null!=i?i:{}),o)}
135,end:function(i,o){r.addMarker(n({key:e,step:t,action:"end",timestamp:Date.now()},null!=i?i:{}),o)}}},e.prototype.selectStep=function(e){return{process:this.selectAction(e,"process"),networkRequest:this.selectAction(e,"network_request")}},e.prototype.addMarker=function(e,r){var n=null!=r?r:this.context;this.disabledCoreAPI&&"api_call"==n||this.getMarkerCount(n)>=t.MAX_MARKER_COUNT||this.markers[n].push(e)},e.prototype.getMarker=function(e){return this.markers[e]},e.prototype.clearMarker=function(e){this.markers[e]=[]},e.prototype.getMarkerCount=function(e){return this.markers[e].length},e.prototype.logDiagnostics=function(e,t){this.disabledCoreAPI&&"api_call"==e||((!t||this.getShouldLogDiagnostics(t.type))&&this.logger.logDiagnosticsEvent({context:e,markers:this.markers[e]}),this.markers[e]=[])},e.prototype.updateSamplingRates=function(e){e&&"object"==typeof e&&(this.safeSet(this.samplingRates,"dcs",e.dcs),this.safeSet(this.samplingRates,"idlist",e.idlist),this.safeSet(this.samplingRates,"initialize",e.initialize),this.safeSet(this.samplingRates,"log",e.log),this.safeSet(this.samplingRates,"api_call",e.api_call),this.safeSet(this.samplingRates,"gcir",e.gcir))},e.prototype.safeSet=function(e,r,n){"number"==typeof n&&(n<0?e[r]=0:n>t.MAX_SAMPLING_RATE?e[r]=t.MAX_SAMPLING_RATE:e[r]=n)},e.prototype.getShouldLogDiagnostics=function(e){var r=Math.random()*t.MAX_SAMPLING_RATE;switch(e){case"id_list":return r<this.samplingRates.idlist;case"config_spec":return r<this.samplingRates.dcs;case"initialize":return r<this.samplingRates.initialize;case"api_call":return r<this.samplingRates.api_call;case"get_client_initialize_response":return r<this.samplingRates.gcir;default:throw new i.ExhaustSwitchError(e)}},e}();function a(e,t){if(t in e)return e[t]}t.DiagnosticsImpl=o,t.default=function(){function e(){}return e.initialize=function(e){this.instance=new o(e),this.mark=this.instance.mark},e.logDiagnostics=function(e,t){this.instance.logDiagnostics(e,t)},e.setContext=function(e){this.instance.setContext(e)},e.formatNetworkError=function(e){if(e&&"object"==typeof e)return{code:a(e,"code"),name:a(e,"name"),message:a(e,"message")}},e.getMarkerCount=function(e){return this.instance.getMarkerCount(e)},e}()},59515:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let r=new WeakMap;function n(e,t){let n;if(!t)return{pathname:e};let i=r.get(t);i||(i=t.map(e=>e.toLowerCase()),r.set(t,i));let o=e.split("/",2);if(!o[1])return{pathname:e};let a=o[1].toLowerCase(),s=i.indexOf(a);return s<0?{pathname:e}:(n=t[s],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},60354:(e,t,r)=>{"use strict";r.d(t,{E:()=>s,I:()=>o,L:()=>a,N:()=>c,O:()=>n,P:()=>l,a:()=>i});let n={NOTIFY_TOKEN_PAGE_READY:"NOTIFY_TOKEN_PAGE_READY",OPEN_URL_IN_BROWSER:"OPEN_URL_IN_BROWSER",CLOSE_WEB_VIEW:"CLOSE_WEB_VIEW",CLOSE_SESSION:"CLOSE_SESSION",REQUEST_CLOSE_CHECKOUT:"REQUEST_CLOSE_CHECKOUT",NOTIFY_OTP_PAGE_READY:"NOTIFY_OTP_PAGE_READY",NOTIFY_OTP_PAGE_EXIT:"NOTIFY_OTP_PAGE_EXIT",NAVIGATE_TO_PATH:"NAVIGATE_TO_PATH",CAPTURE_SCREENSHOT_AND_SHARE:"CAPTURE_SCREENSHOT_AND_SHARE",HELP_CENTER_CLOSE_WEB_VIEW:"HELP_CENTER_CLOSE_WEB_VIEW",NOTIFY_LOCATION_PAGE_READY:"NOTIFY_LOCATION_PAGE_READY",NOTIFY_USER_INFORMATION:"NOTIFY_USER_INFORMATION",REQUEST_USER_CURRENT_LOCATION:"REQUEST_USER_CURRENT_LOCATION",REQUEST_USER_CURRENT_LOCATION_IF_GRANTED:"REQUEST_USER_CURRENT_LOCATION_IF_GRANTED",OPEN_DATE_PICKER:"OPEN_DATE_PICKER",EXPIRED_SESSION:"EXPIRED_SESSION",LOG_EVENT_EXPERIMENT:"LOG_EVENT_EXPERIMENT"},i={OPEN_FAQ_SUPPORT_CENTER_URL_IN_BROWSER:"OPEN_FAQ_SUPPORT_CENTER_URL_IN_BROWSER",CLOSE_WEBVIEW:"CLOSE_WEBVIEW"},o={JWT:"JWT",OTP_MESSAGE:"OTP_MESSAGE",BACK_PRESSED:"BACK_PRESSED",WEB_MOVEMENT:"WEB_MOVEMENT",LOCATION:"LOCATION",DATE_PICKER_RESULT:"DATE_PICKER_RESULT"},a={INFO:"info",WARN:"warn",ERROR:"error"},s={ALL:"all",ACTION:"action",ANALYTICS:"analytics"},l={WEB:"web",ANDROID:"android",IOS:"ios"};class u{log(){}}let c=new u},60388:(e,t)=>{"use strict";t.__esModule=!0,t.ConfigCondition=t.ConfigRule=t.ConfigSpec=void 0,t.ConfigSpec=function(){function e(e){this.name=e.name,this.type=e.type,this.salt=e.salt,this.defaultValue=e.defaultValue,this.enabled=e.enabled,this.idType=e.idType,this.rules=this.parseRules(e.rules),this.entity=e.entity,this.explicitParameters=e.explicitParameters,null!=e.version&&(this.version=e.version),null!==e.isActive&&(this.isActive=!0===e.isActive),this.hasSharedParams=null!=e.hasS
135haredParams&&!0===e.hasSharedParams,null!=e.targetAppIDs&&(this.targetAppIDs=e.targetAppIDs)}return e.prototype.parseRules=function(e){for(var t=[],n=0;n<e.length;n++){var i=new r(e[n]);t.push(i)}return t},e}();var r=function(){function e(e){var t,r;this.name=e.name,this.passPercentage=e.passPercentage,this.conditions=this.parseConditions(e.conditions),this.returnValue=e.returnValue,this.id=e.id,this.salt=e.salt,this.idType=e.idType,this.configDelegate=null!=(t=e.configDelegate)?t:null,this.groupName=null!=(r=e.groupName)?r:null,null!==e.isExperimentGroup&&(this.isExperimentGroup=e.isExperimentGroup)}return e.prototype.parseConditions=function(e){var t=[];return null==e||e.forEach(function(e){var r=new n(e);t.push(r)}),t},e.prototype.isTargetingRule=function(){return"inlineTargetingRules"===this.id||"targetingGate"===this.id},e}();t.ConfigRule=r;var n=function(e){var t;if(this.type=e.type,this.targetValue=e.targetValue,this.operator=e.operator,this.field=e.field,this.additionalValues=null!=(t=e.additionalValues)?t:{},this.idType=e.idType,("any"===this.operator||"none"===this.operator)&&Array.isArray(this.targetValue)){this.targetValueSet=new Set;for(var r=this.targetValue,n=0;n<r.length;n++)this.targetValueSet.add(String(r[n])),this.targetValueSet.add(String(r[n]).toLowerCase())}if(("any_case_sensitive"===this.operator||"none_case_sensitive"===this.operator)&&Array.isArray(this.targetValue)){this.targetValueSet=new Set;for(var r=this.targetValue,n=0;n<r.length;n++)this.targetValueSet.add(String(r[n]))}};t.ConfigCondition=n},60468:function(e,t,r){e.exports=function(e){var t=e.lib.WordArray,r=e.enc;function n(e){return e<<8&0xff00ff00|e>>>8&0xff00ff}return r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var o=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var r=e.length,n=[],i=0;i<r;i++)n[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],o=0;o<r;o+=2){var a=n(t[o>>>2]>>>16-o%4*8&65535);i.push(String.fromCharCode(a))}return i.join("")},parse:function(e){for(var r=e.length,i=[],o=0;o<r;o++)i[o>>>1]|=n(e.charCodeAt(o)<<16-o%2*16);return t.create(i,2*r)}},e.enc.Utf16}(r(62538))},60890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.validate=t.v7=t.v6ToV1=t.v6=t.v5=t.v4=t.v3=t.v1ToV6=t.v1=t.stringify=t.parse=t.NIL=t.MAX=void 0;var n=r(45680);Object.defineProperty(t,"MAX",{enumerable:!0,get:function(){return n.default}});var i=r(88949);Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return i.default}});var o=r(55621);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return o.default}});var a=r(96771);Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.default}});var s=r(47083);Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return s.default}});var l=r(43714);Object.defineProperty(t,"v1ToV6",{enumerable:!0,get:function(){return l.default}});var u=r(18337);Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return u.default}});var c=r(22156);Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return c.default}});var f=r(14111);Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return f.default}});var d=r(3194);Object.defineProperty(t,"v6",{enumerable:!0,get:function(){return d.default}});var p=r(82174);Object.defineProperty(t,"v6ToV1",{enumerable:!0,get:function(){return p.default}});var h=r(73013);Object.defineProperty(t,"v7",{enumerable:!0,get:function(){return h.default}});var g=r(3400);Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return g.default}});var y=r(69866);Object.defineProperty(t,"version",{enumerable:!0,get:function(){return y.default}})},60952:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingEnabledOption=t.LogEventCompressionMode=void 0,t.LogEventCompressionMode={Disabled:"d",Enabled:"e",Forced:"f"},t.LoggingEnabledOption={disabled:"disabled",browserOnly:"browser-only",always:"always"}},61057:(e,t,r)=>{"use strict";
135Object.defineProperty(t,"__esModule",{value:!0}),t.useClientAsyncInit=void 0;let n=r(74742),i=r(74269);t.useClientAsyncInit=function(e,t,r=null){return(0,i.useStatsigInternalClientFactoryAsync)(e=>new n.StatsigClient(e.sdkKey,e.initialUser,e.statsigOptions),{sdkKey:e,initialUser:t,statsigOptions:r})}},61635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigSession=t.SessionID=void 0;let n=r(44801),i=r(16563),o=r(94316),a=r(16590),s=r(30961),l={};function u(e,t){return setTimeout(()=>{var t;let r=null==(t=(0,n._getStatsigGlobal)())?void 0:t.instance(e);r&&r.$emt({name:"session_expired"})},t)}function c(e){return`statsig.session_id.${(0,i._getStorageKey)(e)}`}t.SessionID={get:e=>t.StatsigSession.get(e).data.sessionID},t.StatsigSession={get:e=>{var t;let r,n,i;return null==l[e]&&(l[e]=(n=(r=c(t=e),(0,a._getObjectFromStorage)(r)),i=Date.now(),n||(n={sessionID:(0,s.getUUID)(),startTime:i,lastUpdate:i}),{data:n,sdkKey:t})),function(e){let t=Date.now(),r=e.data,n=e.sdkKey;if(function({lastUpdate:e}){return Date.now()-e>18e5}(r)||function({startTime:e}){return Date.now()-e>144e5}(r)){r.sessionID=(0,s.getUUID)(),r.startTime=t;let e=null==__STATSIG__?void 0:__STATSIG__.instance(n);e&&e.$emt({name:"session_expired"})}r.lastUpdate=t,function(e,t){let r=c(t);try{(0,a._setObjectInStorage)(r,e)}catch(e){o.Log.warn("Failed to save SessionID")}}(r,e.sdkKey),clearTimeout(e.idleTimeoutID),clearTimeout(e.ageTimeoutID);let i=t-r.startTime;return e.idleTimeoutID=u(n,18e5),e.ageTimeoutID=u(n,144e5-i),e}(l[e])},overrideInitialSessionID:(e,t)=>{var r,n;let i;l[t]=(r=e,n=t,{data:{sessionID:r,startTime:i=Date.now(),lastUpdate:i},sdkKey:n})}}},62368:(e,t)=>{"use strict";t.__esModule=!0,t.getDataAdapterKey=t.CompressFormat=t.DataAdapterKeyPath=void 0;var r,n,i,o,a="statsig";(r=i=t.DataAdapterKeyPath||(t.DataAdapterKeyPath={})).V1Rulesets="/v1/download_config_specs",r.V2Rulesets="/v2/download_config_specs",r.V1IDLists="/v1/get_id_lists",r.IDList="id_list",(n=o=t.CompressFormat||(t.CompressFormat={})).PlainText="plain_text",n.Gzip="gzip",t.getDataAdapterKey=function(e,t,r,n){return(void 0===r&&(r=o.PlainText),void 0===n&&(n=void 0),t==i.IDList)?"".concat(a,"|").concat(t,"::").concat(String(n),"|").concat(r,"|").concat(e):"".concat(a,"|").concat(t,"|").concat(r,"|").concat(e)}},62538:function(e,t,r){var n;e.exports=n||function(e){if("u">typeof window&&window.crypto&&(t=window.crypto),"u">typeof self&&self.crypto&&(t=self.crypto),"u">typeof globalThis&&globalThis.crypto&&(t=globalThis.crypto),!t&&"u">typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&void 0!==r.g&&r.g.crypto&&(t=r.g.crypto),!t)try{t=r(50477)}catch(e){}var t,n=function(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),o={},a=o.lib={},s=a.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=a.WordArray=s.extend({init:function(e,t){e=this.words=e||[],void 0!=t?this.sigBytes=t:this.sigBytes=4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var a=r[o>>>2]>>>24-o%4*8&255;t[n+o>>>2]|=a<<24-(n+o)%4*8}else for(var s=0;s<i;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=0xffffffff<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new l.init(t,e)}}),u=o.enc={},c=u.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},f=u.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},d=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,o=n.sigBytes,a=this.blockSize,s=o/(4*a),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,c=e.min(4*u,o);if(u){for(var f=0;f<u;f+=a)this._doProcessBlock(i,f);r=i.splice(0,u),n.sigBytes-=c}return new l.init(r,c)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});a.Hasher=p.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new h.HMAC.init(e,r).finalize(t)}}});var h=o.algo={};return o}(Math)},63069:e=>{"use strict";e.exports=JSON.parse('{"name":"statsig-node","version":"6.4.1","description":"Statsig Node.js SDK for usage in multi-user server environments.","main":"dist/index.js","scripts":{"prepare":"rm -rf dist/ && tsc","test":"npm run prepare && jest","docs":"jsdoc2md src/index.js src/typedefs.js src/DynamicConfig.js > docs/generated.md","lint":"eslint \'*/**/*.{ts,tsx}\' --fix --max-warnings 0 --cache --cache-strategy content && git status","lint:github":"eslint \'*/**/*.{ts,tsx}\' --max-warnings 100 --cache --cache-strategy content"},"keywords":["feature gate","feature flag","continuous deployment","ci","ab test"],"repository":{"type":"git","url":"git+https://github.com/statsig-io/node-js-server-sdk.git"},"author":"Statsig, Inc.","license":"ISC","bugs":{"url":"https://github.com/statsig-io/node-js-server-sdk/issues"},"homepage":"https://www.statsig.com","dependencies":{"ip3country":"^5.0.0","no
135de-fetch":"^2.6.13","ua-parser-js":"^1.0.2","uuid":"^8.3.2"},"devDependencies":{"@babel/core":"^7.23.2","@babel/preset-env":"^7.18.10","@babel/preset-typescript":"^7.18.6","@types/jest":"^26.0.24","@types/node":"^14.18.26","@types/node-fetch":"^2.6.2","@types/sha.js":"^2.4.0","@types/ua-parser-js":"^0.7.36","@types/useragent":"^2.3.1","@types/uuid":"^8.3.4","@types/whatwg-fetch":"^0.0.33","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","babel-jest":"^29.7.0","eslint":"^8.50.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.2","eslint-plugin-simple-import-sort":"^10.0.0","sha.js":"^2.4.11","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","jsdoc-to-markdown":"^7.1.1","prettier":"^3.1.1","typescript":"^4.7.4"},"importSort":{".js, .jsx, .ts, .tsx":{"style":"module","parser":"typescript"}}}')},63271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(12115),i=r(69930),o=r(84153),a=r(32809);t.default=function(e,t){let{client:r,renderVersion:s}=(0,n.useContext)(a.default);return(0,n.useMemo)(()=>(0,o.isNoopClient)(r)?(i.Log.warn(`useFeatureGate hook failed to find a valid StatsigClient for gate '${e}'.`),o.NoopEvaluationsClient.getFeatureGate(e,t)):r.getFeatureGate(e,t),[e,r,s,...t?Object.values(t):[]])}},64054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class o{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(e){return e}}let a="u">typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return a?new a:new o}function l(e){return a?a.bind(e):o.bind(e)}function u(){return a?a.snapshot():function(e,...t){return e(...t)}}},64642:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getClientReact:function(){return a},getServerReact:function(){return u},registerClientReact:function(){return o},registerServerReact:function(){return l}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i=null;function o(e){i=e}function a(){return i}let s=null;function l(e){s=e}function u(){return s}},65067:function(e,t,r){var n,i,o,a,s;o=(i=(n=r(62538)).lib).Base,a=i.WordArray,(s=n.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=o.extend({init:function(e,t){e=this.words=e||[],void 0!=t?this.sigBytes=t:this.sigBytes=8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var i=e[n];r.push(i.high),r.push(i.low)}return a.create(r,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),e.exports=n},65771:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._createLayerParameterExposure=t._createConfigExposure=t._mapExposures=t._createGateExposure=t._isExposureEvent=void 0;let r="statsig::config_exposure",n="statsig::gate_exposure",i="statsig::layer_exposure",o=(e,t,r,n,i)=>(r.bootstrapMetadata&&(n.bootstrapMetadata=r.bootstrapMetadata),{eventName:e,user:t,value:null,metadata:s(r,n),secondaryExposures:i,time:Date.now()});function a(e,t){return e.map(e=>"string"==typeof e?(null!=t?t:{})[e]:e).filter(e=>null!=e)}t._isExposureEvent=({eventName:e})=>e===n||e===r||e===i,t._createGateExposure=(e,t,r)=>{var i,s,l;let u={gate:t.name,gateValue:String(t.value),ruleID:t.ruleID};return(null==(i=t.__evaluation)?void 0:i.version)!=null&&(u.configVersion=t.__evaluation.version),o(n,e,t.details,u,a(null!=(l=null==(s=t.__evaluation)?void 0:s.secondary_exposures)?l:[],r))},t._mapExposures=a,t._createConfigExposure=(e,t,n)=>{var i,s,l,u;let c={config:t.name,ruleID:t.ruleID};return(null==(i=t.__evaluation)?void 0:i.version)!=null&&(c.configVersion=t.__evaluation.version),(null==(s=t.__evaluation)?void 0:s.passed)!=null&&(c.rulePassed=String(t.__evaluation.passed)),o(r,e,t.details,c,a(null!=(u=null==(l=t.__evaluation)?void 0:l.secondary_exposures)?u:[],n))},t._createLayerParameterExposure=(e,t,r,n)=>{var s,l,u,c,f,d;let p=t.__evaluation,h=(null==(s=null==p?void 0:p.explicit_parameters)?void 0:s.includes(r))===!0,g="",y=null!=(l=null==p?void 0:p.undelegated_secondary_exposures)?l:[];h&&(g=null!=(u=p.allocated_experiment_name)?u:"",y=p.secondary_exposures);let b=null==(c=t.__evaluation)?void 0:c.parameter_rule_ids,v={config:t.name,parameterName:r,ruleID:null!=(f=null==b?void 0:b[r])?f:t.ruleID,allocatedExperiment:g,isExplicitParameter:String(h)};return(null==(d=t.__evaluation)?void 0:d.version)!=null&&(v.configVersion=t.__evaluation.version),o(i,e,t.details,v,a(y,n))};let s=(e,t)=>(t.reason=e.reason,e.lcut&&(t.lcut=String(e.lcut)),e.receivedAt&&(t.receivedAt=String(e.receivedAt)),t)},66612:(e,t,r)=>{"use strict";
135Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextURL",{enumerable:!0,get:function(){return c}});let n=r(78550),i=r(37745),o=r(22778),a=r(71020),s=/^(?:127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)$/;function l(e,t){let r=new URL(String(e),t&&String(t));return s.test(r.hostname)&&(r.hostname="localhost"),r}let u=Symbol("NextURLInternal");class c{constructor(e,t,r){let n,i;"object"==typeof t&&"pathname"in t||"string"==typeof t?(n=t,i=r||{}):i=r||t||{},this[u]={url:l(e,n??i.base),options:i,basePath:""},this.analyze()}analyze(){var e,t,r,i,s;let l=(0,a.getNextPathnameInfo)(this[u].url.pathname,{nextConfig:this[u].options.nextConfig,parseData:!0,i18nProvider:this[u].options.i18nProvider}),c=(0,o.getHostname)(this[u].url,this[u].options.headers);this[u].domainLocale=this[u].options.i18nProvider?this[u].options.i18nProvider.detectDomainLocale(c):(0,n.detectDomainLocale)(null==(t=this[u].options.nextConfig)||null==(e=t.i18n)?void 0:e.domains,c);let f=(null==(r=this[u].domainLocale)?void 0:r.defaultLocale)||(null==(s=this[u].options.nextConfig)||null==(i=s.i18n)?void 0:i.defaultLocale);this[u].url.pathname=l.pathname,this[u].defaultLocale=f,this[u].basePath=l.basePath??"",this[u].buildId=l.buildId,this[u].locale=l.locale??f,this[u].trailingSlash=l.trailingSlash}formatPathname(){return(0,i.formatNextPathnameInfo)({basePath:this[u].basePath,buildId:this[u].buildId,defaultLocale:this[u].options.forceLocale?void 0:this[u].defaultLocale,locale:this[u].locale,pathname:this[u].url.pathname,trailingSlash:this[u].trailingSlash})}formatSearch(){return this[u].url.search}get buildId(){return this[u].buildId}set buildId(e){this[u].buildId=e}get locale(){return this[u].locale??""}set locale(e){var t,r;if(!this[u].locale||!(null==(r=this[u].options.nextConfig)||null==(t=r.i18n)?void 0:t.locales.includes(e)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${e}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[u].locale=e}get defaultLocale(){return this[u].defaultLocale}get domainLocale(){return this[u].domainLocale}get searchParams(){return this[u].url.searchParams}get host(){return this[u].url.host}set host(e){this[u].url.host=e}get hostname(){return this[u].url.hostname}set hostname(e){this[u].url.hostname=e}get port(){return this[u].url.port}set port(e){this[u].url.port=e}get protocol(){return this[u].url.protocol}set protocol(e){this[u].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[u].url=l(e),this.analyze()}get origin(){return this[u].url.origin}get pathname(){return this[u].url.pathname}set pathname(e){this[u].url.pathname=e}get hash(){return this[u].url.hash}set hash(e){this[u].url.hash=e}get search(){return this[u].url.search}set search(e){this[u].url.search=e}get password(){return this[u].url.password}set password(e){this[u].url.password=e}get username(){return this[u].url.username}set username(e){this[u].url.username=e}get basePath(){return this[u].basePath}set basePath(e){this[u].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new c(String(this),this[u].options)}}},67315:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={StaticGenBailoutError:function(){return o},isStaticGenBailoutError:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i="NEXT_STATIC_GEN_BAILOUT";class o extends Error{constructor(...e){super(...e),this.code=i}}function a(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===i}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
135dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={randomUUID:"u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},68534:(e,t,r)=>{"use strict";r.d(t,{N1:()=>X});var n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=e=>!e||"object"!=typeof e||0===Object.keys(e).length;function o(e){let t=[];return function e(t,r){t.forEach(function(t){Array.isArray(t)?e(t,r):r.push(t)})}(e,t),t}var a=(e,t)=>{let r={},n=Object.keys(e),i=Object.keys(t);for(let o of n)if(i.includes(o)){let n=e[o],i=t[o];"object"==typeof n&&"object"==typeof i?r[o]=a(n,i):r[o]=i+" "+n}else r[o]=e[o];for(let e of i)n.includes(e)||(r[e]=t[e]);return r},s=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e,l=/^\[(.+)\]$/;function u(e,t){var r=e;return t.split("-").forEach(function(e){r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r}var c=/\s+/;function f(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){if("string"==typeof t)return t;for(var r,n="",i=0;i<t.length;i++)t[i]&&(r=e(t[i]))&&(n&&(n+=" "),n+=r);return n}(e))&&(n&&(n+=" "),n+=t);return n}function d(){for(var e,t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=function(n){var o=i[0];return t=(e=function(e){var t,r,n,i,o,a,s,c,f,d,p,h,g,y;return{cache:function(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function i(i,o){r.set(i,o),++t>e&&(t=0,n=r,r=new Map)}return{get:function(e){var t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(i(e,t),t):void 0},set:function(e,t){r.has(e)?r.set(e,t):i(e,t)}}}(e.cacheSize),splitModifiers:(r=1===(t=e.separator||":").length,n=t[0],i=t.length,function(e){for(var o,a=[],s=0,l=0,u=0;u<e.length;u++){var c=e[u];if(0===s){if(c===n&&(r||e.slice(u,u+i)===t)){a.push(e.slice(l,u)),l=u+i;continue}if("/"===c){o=u;continue}}"["===c?s++:"]"===c&&s--}var f=0===a.length?e:e.substring(l),d=f.startsWith("!"),p=d?f.substring(1):f;return{modifiers:a,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:o&&o>l?o-l:void 0}}),...(d=(f=e).theme,p=f.prefix,h={nextPart:new Map,validators:[]},(g=Object.entries(f.classGroups),(y=p)?g.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?y+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[y+e[0],e[1]]})):e})]}):g).forEach(function(e){var t=e[0];!function e(t,r,n,i){t.forEach(function(t){if("string"==typeof t){(""===t?r:u(r,t)).classGroupId=n;return}if("function"==typeof t)return t.isThemeGetter?void e(t(i),r,n,i):void r.validators.push({validator:t,classGroupId:n});Object.entries(t).forEach(function(t){var o=t[0];e(t[1],u(r,o),n,i)})})}(e[1],h,t,d)}),o=h,a=e.conflictingClassGroups,c=void 0===(s=e.conflictingClassGroupModifiers)?{}:s,{getClassGroupId:function(e){var t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(t,r){if(0===t.length)return r.classGroupId;var n=t[0],i=r.nextPart.get(n),o=i?e(t.slice(1),i):void 0;if(o)return o;if(0!==r.validators.length){var a=t.join("-");return r.validators.find(function(e){return(0,e.validator)(a)})?.classGroupId}}(t,o)||function(e){if(l.test(e)){var t=l.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){var r=a[e]||[];return t&&c[e]?[].concat(r,c[e]):r}})}}(i.slice(1).reduce(function(e,t){return t(e)},o()))).cache.get,r=e.cache.set,a=s,s(n)};function s(n){var i,o,a,s,l,u=t(n);if(u)return u;var f=(o=(i=e).splitModifiers,a=i.getClassGroupId,s=i.getConflictingClassGroupIds,l=new Set,n.trim().split(c).map(function(e){var t=o(e),r=t.modifiers,n=t.hasImportantModifier,i=t.baseClassName,s=t.maybePostfixModifierPosition,l=a(s?i.substring(0,s):i),u=!!s;if(!l){if(!s||!(l=a(i)))return{isTailwindClass:!1,originalClassName:e};u=!1}var c=(function(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(e){"["===e[0]?(t.push.apply(t,r.sort().concat([e])),r=[]):r.push(e)}),t.push.apply(t,r.sort()),t})(r).join(":");return{isTailwindClass:!0,modifierId:n?c+"!":c,classGroupId:l,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,r=e.classGroupId,n=e.hasPostfixModifier,i=t+r;
135return!l.has(i)&&(l.add(i),s(r,n).forEach(function(e){return l.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return r(n,f),f}return function(){return a(f.apply(null,arguments))}}function p(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var h=/^\[(?:([a-z-]+):)?(.+)\]$/i,g=/^\d+\/\d+$/,y=new Set(["px","full","screen"]),b=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,v=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function _(e){return O(e)||y.has(e)||g.test(e)||x(e)}function x(e){return C(e,"length",T)}function w(e){return C(e,"size",L)}function S(e){return C(e,"position",L)}function E(e){return C(e,"url",N)}function k(e){return C(e,"number",O)}function O(e){return!Number.isNaN(Number(e))}function A(e){return e.endsWith("%")&&O(e.slice(0,-1))}function R(e){return M(e)||C(e,"number",M)}function I(e){return h.test(e)}function P(){return!0}function D(e){return b.test(e)}function j(e){return C(e,"",U)}function C(e,t,r){var n=h.exec(e);return!!n&&(n[1]?n[1]===t:r(n[2]))}function T(e){return v.test(e)}function L(){return!1}function N(e){return e.startsWith("url(")}function M(e){return Number.isInteger(Number(e))}function U(e){return m.test(e)}function B(){var e=p("colors"),t=p("spacing"),r=p("blur"),n=p("brightness"),i=p("borderColor"),o=p("borderRadius"),a=p("borderSpacing"),s=p("borderWidth"),l=p("contrast"),u=p("grayscale"),c=p("hueRotate"),f=p("invert"),d=p("gap"),h=p("gradientColorStops"),g=p("gradientColorStopPositions"),y=p("inset"),b=p("margin"),v=p("opacity"),m=p("padding"),C=p("saturate"),T=p("scale"),L=p("sepia"),N=p("skew"),M=p("space"),U=p("translate"),B=function(){return["auto","contain","none"]},F=function(){return["auto","hidden","clip","visible","scroll"]},z=function(){return["auto",I,t]},G=function(){return[I,t]},V=function(){return["",_]},q=function(){return["auto",O,I]},K=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},W=function(){return["solid","dashed","dotted","double","none"]},$=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},H=function(){return["start","end","center","between","around","evenly","stretch"]},Z=function(){return["","0",I]},X=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},J=function(){return[O,k]},Y=function(){return[O,I]};return{cacheSize:500,theme:{colors:[P],spacing:[_],blur:["none","",D,I],brightness:J(),borderColor:[e],borderRadius:["none","","full",D,I],borderSpacing:G(),borderWidth:V(),contrast:J(),grayscale:Z(),hueRotate:Y(),invert:Z(),gap:G(),gradientColorStops:[e],gradientColorStopPositions:[A,x],inset:z(),margin:z(),opacity:J(),padding:G(),saturate:J(),scale:J(),sepia:Z(),skew:Y(),space:G(),translate:G()},classGroups:{aspect:[{aspect:["auto","square","video",I]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(K(),[I])}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}
vendor: 9,629 bytes, line 135
135],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",I]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",R]}],"grid-cols":[{"grid-cols":[P]}],"col-start-end":[{col:["auto",{span:["full",R]},I]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[P]}],"row-start-end":[{row:["auto",{span:[R]},I]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",I]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",I]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal"].concat(H())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(H(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(H(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[M]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[M]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",I,t]}],"min-w":[{"min-w":["min","max","fit",I,_]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[D]},D,I]}],h:[{h:[I,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",I,_]}],"max-h":[{"max-h":[I,t,"min","max","fit"]}],"font-size":[{text:["base",D,x]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",k]}],"font-family":[{font:[P]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",I]}],"line-clamp":[{"line-clamp":["none",O,k]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,_]}],"list-image":[{"list-image":["none",I]}],"list-style-type":[{list:["none","disc","decimal",I]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(W(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",_]}],"underline-offset":[{"underline-offset":["auto",I,_]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:G()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(K(),[S])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",w]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},E]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[].concat(W(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:W()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(W())}],"outline-offset":[{"outline-offset":[I,_]}],"outline-w":[{outline:[_]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[_]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",D,j]}],"shadow-color":[{shadow:[P]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":$()}],"bg-blend":[{"bg-blend":$()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",D,I]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[C]}],sepia:[{sepia:[L]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[L]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",I]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",I]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",I]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[R,I]}],"translate-x":[{"translate-x":[U]}],"translate-y":[{"translate-y":[U]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",I]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",I]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":G()}],"scroll-mx":[{"scroll-mx":G()}],"scroll-my":[{"scroll-my":G()}],"scroll-ms":[{"scroll-ms":G()}],"scroll-me":[{"scroll-me":G()}],"scroll-mt":[{"scroll-mt":G()}],"scroll-mr":[{"scroll-mr":G()}],"scroll-mb":[{"scroll-mb":G()}],"scroll-ml":[{"scroll-ml":G()}],"scroll-p":[{"scroll-p":G()}],"scroll-px":[{"scroll-px":G()}],"scroll-py":[{"scroll-py":G()}],"scroll-ps":[{"scroll-ps":G()}],"scroll-pe":[{"scroll-pe":G()}],"scroll-pt":[{"scroll-pt":G()}],"scroll-pr":[{"scroll-pr":G()}],"scroll-pb":[{"scroll-pb":G()}],"scroll-pl":[{"scroll-pl":G()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
135],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",I]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_,k]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var F=d(B),z=Object.prototype.hasOwnProperty,G=new Set(["string","number","boolean"]),V={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},q=(...e)=>o(e).filter(Boolean).join(" ")||void 0,K=null,W={},$=!1,H=(...e)=>t=>t.twMerge?((!K||$)&&($=!1,K=i(W)?F:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?d.apply(void 0,[B,e].concat(r)):d.apply(void 0,[function(){var t=B();for(var r in e)!function e(t,r,n){if(!z.call(t,r)||G.has(typeof n)||null===n){t[r]=n;return}if(Array.isArray(n)&&Array.isArray(t[r])){t[r]=t[r].concat(n);return}if("object"==typeof n&&"object"==typeof t[r]){if(null===t[r]){t[r]=n;return}for(var i in n)e(t[r],i,n[i])}}(t,r,e[r]);return t}].concat(r))}(W)),K(q(e))||void 0):q(e),Z=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=q(e[r],t[r]):e[r]=t[r];return e},X=e=>(t,r)=>((e,t)=>{let r,l,{extend:u=null,slots:c={},variants:f={},compoundVariants:d=[],compoundSlots:p=[],defaultVariants:h={}}=e,g={...V,...t},y=null!=u&&u.base?q(u.base,null==e?void 0:e.base):null==e?void 0:e.base,b=null!=u&&u.variants&&!i(u.variants)?a(f,u.variants):f,v=null!=u&&u.defaultVariants&&!i(u.defaultVariants)?{...u.defaultVariants,...h}:h;i(g.twMergeConfig)||(r=g.twMergeConfig,l=W,JSON.stringify(r)===JSON.stringify(l))||($=!0,W=g.twMergeConfig);let m=i(c)?{}:{base:null==e?void 0:e.base,...c},_=i(null==u?void 0:u.slots)?m:Z({...null==u?void 0:u.slots},i(m)?{base:null==e?void 0:e.base}:m),x=e=>{if(i(b)&&i(c)&&i(null==u?void 0:u.slots))return H(y,null==e?void 0:e.class,null==e?void 0:e.className)(g);if(d&&!Array.isArray(d))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof d}`);if(p&&!Array.isArray(p))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof p}`);let t=(e,t,r=[],n)=>{let i=r;if("string"==typeof t)i=i.concat(s(t).split(" ").map(t=>`${e}:${t}`));else if(Array.isArray(t))i=i.concat(t.reduce((t,r)=>t.concat(`${e}:${r}`),[]));else if("object"==typeof t&&"string"==typeof n){for(let r in t)if(t.hasOwnProperty(r)&&r===n){let o=t[r];if(o&&"string"==typeof o){let t=s(o);i[n]?i[n]=i[n].concat(t.split(" ").map(t=>`${e}:${t}`)):i[n]=t.split(" ").map(t=>`${e}:${t}`)}else Array.isArray(o)&&o.length>0&&(i[n]=o.reduce((t,r)=>t.concat(`${e}:${r}`),[]))}}return i},r=(r,o=b,a=null,s=null)=>{var l;let u=o[r];if(!u||i(u))return null;
135let c=null!=(l=null==s?void 0:s[r])?l:null==e?void 0:e[r];if(null===c)return null;let f=n(c),d=Array.isArray(g.responsiveVariants)&&g.responsiveVariants.length>0||!0===g.responsiveVariants,p=null==v?void 0:v[r],h=[];if("object"==typeof f&&d)for(let[e,r]of Object.entries(f)){let n=u[r];if("initial"===e){p=r;continue}Array.isArray(g.responsiveVariants)&&!g.responsiveVariants.includes(e)||(h=t(e,n,h,a))}let y=u[f]||u[n(p)];return"object"==typeof h&&"string"==typeof a&&h[a]?Z(h,y):h.length>0?(h.push(y),h):y},a=(e,t)=>{if(!b||"object"!=typeof b)return null;let n=[];for(let i in b){let o=r(i,b,e,t),a="base"===e&&"string"==typeof o?o:o&&o[e];a&&(n[n.length]=a)}return n},l={};for(let t in e)void 0!==e[t]&&(l[t]=e[t]);let f=(t,r)=>{var n;let i="object"==typeof(null==e?void 0:e[t])?{[t]:null==(n=e[t])?void 0:n.initial}:{};return{...v,...l,...i,...r}},h=(e=[],t)=>{let r=[];for(let{class:n,className:i,...o}of e){let e=!0;for(let[r,n]of Object.entries(o)){let i=f(r,t);if(Array.isArray(n)){if(!n.includes(i[r])){e=!1;break}}else if(i[r]!==n){e=!1;break}}e&&(n&&r.push(n),i&&r.push(i))}return r},m=e=>{let t=h(d,e);return((...e)=>o(e).filter(Boolean))(h(null==u?void 0:u.compoundVariants,e),t)},x=e=>{let t=m(e);if(!Array.isArray(t))return t;let r={};for(let e of t)if("string"==typeof e&&(r.base=H(r.base,e)(g)),"object"==typeof e)for(let[t,n]of Object.entries(e))r[t]=H(r[t],n)(g);return r},w=e=>{if(p.length<1)return null;let t={};for(let{slots:r=[],class:n,className:o,...a}of p){if(!i(a)){let t=!0;for(let r of Object.keys(a)){let n=f(r,e)[r];if(void 0===n||(Array.isArray(a[r])?!a[r].includes(n):a[r]!==n)){t=!1;break}}if(!t)continue}for(let e of r)t[e]=t[e]||[],t[e].push([n,o])}return t};if(!i(c)||!i(null==u?void 0:u.slots)){let e={};if("object"==typeof _&&!i(_))for(let t of Object.keys(_))e[t]=e=>{var r,n;return H(_[t],a(t,e),(null!=(r=x(e))?r:[])[t],(null!=(n=w(e))?n:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(g)};return e}return H(y,b?Object.keys(b).map(e=>r(e,b)):null,m(),null==e?void 0:e.class,null==e?void 0:e.className)(g)};return x.variantKeys=(()=>{if(!(!b||"object"!=typeof b))return Object.keys(b)})(),x.extend=u,x.base=y,x.slots=_,x.variants=b,x.defaultVariants=v,x.compoundSlots=p,x.compoundVariants=d,x})(t,r?a(e,r):e)},68735:function(e,t,r){var n;n=r(62538),r(15457),r(39491),r(89337),r(91750),function(){var e=n.lib.BlockCipher,t=n.algo;let r=[0x243f6a88,0x85a308d3,0x13198a2e,0x3707344,0xa4093822,0x299f31d0,0x82efa98,0xec4e6c89,0x452821e6,0x38d01377,0xbe5466cf,0x34e90c6c,0xc0ac29b7,0xc97c50dd,0x3f84d5b5,0xb5470917,0x9216d5d9,0x8979fb1b],i=[[0xd1310ba6,0x98dfb5ac,0x2ffd72db,0xd01adfb7,0xb8e1afed,0x6a267e96,0xba7c9045,0xf12c7f99,0x24a19947,0xb3916cf7,0x801f2e2,0x858efc16,0x636920d8,0x71574e69,0xa458fea3,0xf4933d7e,0xd95748f,0x728eb658,0x718bcd58,0x82154aee,0x7b54a41d,0xc25a59b5,0x9c30d539,0x2af26013,0xc5d1b023,0x286085f0,0xca417918,0xb8db38ef,0x8e79dcb0,0x603a180e,0x6c9e0e8b,0xb01e8a3e,0xd71577c1,0xbd314b27,0x78af2fda,0x55605c60,0xe65525f3,0xaa55ab94,0x57489862,0x63e81440,0x55ca396a,0x2aab10b6,0xb4cc5c34,0x1141e8ce,0xa15486af,0x7c72e993,0xb3ee1411,0x636fbc2a,0x2ba9c55d,0x741831f6,0xce5c3e16,0x9b87931e,0xafd6ba33,0x6c24cf5c,0x7a325381,0x28958677,0x3b8f4898,0x6b4bb9af,0xc4bfe81b,0x66282193,0x61d809cc,0xfb21a991,0x487cac60,0x5dec8032,0xef845d5d,0xe98575b1,0xdc262302,0xeb651b88,0x23893e81,0xd396acc5,0xf6d6ff3,0x83f44239,0x2e0b4482,0xa4842004,0x69c8f04a,0x9e1f9b5e,0x21c66842,0xf6e96c9a,0x670c9c61,0xabd388f0,0x6a51a0d2,0xd8542f68,0x960fa728,0xab5133a3,0x6eef0b6c,0x137a3be4,0xba3bf050,0x7efb2a98,0xa1f1651d,0x39af0176,0x66ca593e,0x82430e88,0x8cee8619,0x456f9fb4,0x7d84a5c3,0x3b8b5ebe,0xe06f75d8,0x85c12073,0x401a449f,0x56c16aa6,0x4ed3aa62,0x363f7706,0x1bfedf72,0x429b023d,0x37d0d724,0xd00a1248,0xdb0fead3,0x49f1c09b,0x75372c9,0x80991b7b,0x25d479d8,0xf6e8def7,0xe3fe501a,0xb6794c3b,0x976ce0bd,0x4c006ba,0xc1a94fb6,0x409f60c4,0x5e5c9ec2,0x196a2463,0x68fb6faf,0x3e6c53b5,0x1339b2eb,0x3b52ec6f,0x6dfc511f,0x9b30952c,0xcc814544,0xaf5ebd09,0xbee3d004,0
135xde334afd,0x660f2807,0x192e4bb3,0xc0cba857,0x45c8740f,0xd20b5f39,0xb9d3fbdb,0x5579c0bd,0x1a60320a,0xd6a100c6,0x402c7279,0x679f25fe,0xfb1fa3cc,0x8ea5e9f8,0xdb3222f8,0x3c7516df,0xfd616b15,0x2f501ec8,0xad0552ab,0x323db5fa,0xfd238760,0x53317b48,0x3e00df82,0x9e5c57bb,0xca6f8ca0,0x1a87562e,0xdf1769db,0xd542a8f6,0x287effc3,0xac6732c6,0x8c4f5573,0x695b27b0,0xbbca58c8,0xe1ffa35d,0xb8f011a0,0x10fa3d98,0xfd2183b8,0x4afcb56c,0x2dd1d35b,0x9a53e479,0xb6f84565,0xd28e49bc,0x4bfb9790,0xe1ddf2da,0xa4cb7e33,0x62fb1341,0xcee4c6e8,0xef20cada,0x36774c01,0xd07e9efe,0x2bf11fb4,0x95dbda4d,0xae909198,0xeaad8e71,0x6b93d5a0,0xd08ed1d0,0xafc725e0,0x8e3c5b2f,0x8e7594b7,0x8ff6e2fb,0xf2122b64,0x8888b812,0x900df01c,0x4fad5ea0,0x688fc31c,0xd1cff191,0xb3a8c1ad,0x2f2f2218,0xbe0e1777,0xea752dfe,0x8b021fa1,0xe5a0cc0f,0xb56f74e8,0x18acf3d6,0xce89e299,0xb4a84fe0,0xfd13e0b7,0x7cc43b81,0xd2ada8d9,0x165fa266,0x80957705,0x93cc7314,0x211a1477,0xe6ad2065,0x77b5fa86,0xc75442f5,0xfb9d35cf,0xebcdaf0c,0x7b3e89a0,0xd6411bd3,0xae1e7e49,2428461,0x2071b35e,0x226800bb,0x57b8e0af,0x2464369b,0xf009b91e,0x5563911d,0x59dfa6aa,0x78c14389,0xd95a537f,0x207d5ba2,0x2e5b9c5,0x83260376,0x6295cfa9,0x11c81968,0x4e734a41,0xb3472dca,0x7b14a94a,0x1b510052,0x9a532915,0xd60f573f,0xbc9bc6e4,0x2b60a476,0x81e67400,0x8ba6fb5,0x571be91f,0xf296ec6b,0x2a0dd915,0xb6636521,0xe7b9f9b6,0xff34052e,0xc5855664,0x53b02d5d,0xa99f8fa1,0x8ba4799,0x6e85076a],[0x4b7a70e9,0xb5b32944,0xdb75092e,0xc4192623,290971e4,0x49a7df7d,0x9cee60b8,0x8fedb266,0xecaa8c71,0x699a17ff,0x5664526c,0xc2b19ee1,0x193602a5,0x75094c29,0xa0591340,0xe4183a3e,0x3f54989a,0x5b429d65,0x6b8fe4d6,0x99f73fd6,0xa1d29c07,0xefe830f5,0x4d2d38e6,0xf0255dc1,0x4cdd2086,0x8470eb26,0x6382e9c6,0x21ecc5e,0x9686b3f,0x3ebaefc9,0x3c971814,0x6b6a70a1,0x687f3584,0x52a0e286,0xb79c5305,0xaa500737,0x3e07841c,0x7fdeae5c,0x8e7d44ec,0x5716f2b8,0xb03ada37,0xf0500c0d,0xf01c1f04,0x200b3ff,0xae0cf51a,0x3cb574b2,0x25837a58,0xdc0921bd,0xd19113f9,0x7ca92ff6,0x94324773,0x22f54701,0x3ae5e581,0x37c2dadc,0xc8b57634,0x9af3dda7,0xa9446146,0xfd0030e,0xecc8c73e,0xa4751e41,0xe238cd99,0x3bea0e2f,0x3280bba1,0x183eb331,0x4e548b38,0x4f6db908,0x6f420d03,0xf60a04bf,0x2cb81290,0x24977c79,0x5679b072,0xbcaf89af,0xde9a771f,0xd9930810,0xb38bae12,0xdccf3f2e,0x5512721f,0x2e6b7124,0x501adde6,0x9f84cd87,0x7a584718,0x7408da17,0xbc9f9abc,0xe94b7d8c,0xec7aec3a,0xdb851dfa,0x63094366,0xc464c3d2,0xef1c1847,0x3215d908,0xdd433b37,0x24c2ba16,0x12a14d43,0x2a65c451,0x50940002,0x133ae4dd,0x71dff89e,0x10314e55,0x81ac77d6,0x5f11199b,0x43556f1,0xd7a3c76b,0x3c11183b,0x5924a509,0xf28fe6ed,0x97f1fbfa,0x9ebabf2c,0x1e153c6e,0x86e34570,0xeae96fb1,0x860e5e0a,0x5a3e2ab3,0x771fe71c,0x4e3d06fa,0x2965dcb9,0x99e71d0f,0x803e89d6,0x5266c825,0x2e4cc978,0x9c10b36a,0xc6150eba,0x94e2ea78,0xa5fc3c53,0x1e0a2df4,0xf2f74ea7,0x361d2b3d,0x1939260f,0x19c27960,0x5223a708,0xf71312b6,0xebadfe6e,0xeac31f66,0xe3bc4595,0xa67bc883,0xb17f37d1,0x18cff28,0xc332ddef,0xbe6c5aa5,0x65582185,0x68ab9802,0xeecea50f,0xdb2f953b,0x2aef7dad,0x5b6e2f84,0x1521b628,0x29076170,0xecdd4775,0x619f1510,0x13cca830,0xeb61bd96,0x334fe1e,0xaa0363cf,0xb5735c90,0x4c70a239,0xd59e9e0b,0xcbaade14,0xeecc86bc,0x60622ca7,0x9cab5cab,0xb2f3846e,0x648b1eaf,0x19bdf0ca,0xa02369b9,0x655abb50,0x40685a32,0x3c2ab4b3,0x319ee9d5,0xc021b8f7,0x9b540b19,0x875fa099,0x95f7997e,0x623d7da8,0xf837889a,0x97e32d77,0x11ed935f,0x16681281,0xe358829,0xc7e61fd6,0x96dedfa1,0x7858ba99,0x57f584a5,0x1b227263,0x9b83c3ff,0x1ac24696,0xcdb30aeb,0x532e3054,0x8fd948e4,0x6dbc3128,0x58ebf2ef,0x34c6ffea,0xfe28ed61,0xee7c3c73,0x5d4a14d9,0xe864b7e3,0x42105d14,0x203e13e0,0x45eee2b6,0xa3aaabea,0xdb6c4f15,0xfacb4fd0,0xc742f442,0xef6abbb5,0x654f3b1d,0x41cd2105,0xd81e799e,0x86854dc7,0xe44b476a,0x3d816250,0xcf62a1f2,0x5b8d2646,0xfc8883a0,0xc1c7b6a3,0x7f1524c3,0x69cb7492,0x47848a0b,0x5692b285,0x95bbf00,0xad19489d,0x1462b174,0x23820e00,0x58428d2a,0xc55f5ea,0x1dadf43e,0x233f7061,0x3372f092,0x8d937e41,0xd65fecf1,0x6c223bdb,0x7cde3759,0xcbee7460,0x4085f2a7,0xce77326e,0xa6078084,0x19f8509e,0xe8efd855,0x61d99735,0xa969a7aa,0xc50c06c2,0x5a04abfc,0x800bcadc,0x9e447a2e,0xc3453484,0xfdd56705,0xe1e9ec9,0xdb73dbd3,0x105588cd,0x675fda79,0xe3674340,0xc5c43465,0x713e38d8,0x3d28f89e,0xf16dff20,0x153e21e7,0x8fb03d4a,0xe6e39f2b,0xdb83adf7],[0xe93d5a68,0x948140f7,0xf64c261c,0x94692934,0x411520f7,0x7602d4f7,0xbcf46b2e,0xd4a20068,0xd4082471,0x3320f46a,0x43b7d4b7,0x500061af,0x1e39f62e,0x97244546,0x14214f74,0xbf8b8840,0x4d95fc1d,0x96b591af,0x70f4ddd3,0x66a02f45,0xbfbc09ec,0x3bd9785,0x7fac6dd0,0x31cb8504,0x96eb27b3,0x55fd3941,0xda2547e6,0xabca0a9a,0x28507825,0x530429f4,0xa2c86da,0xe9b66dfb,0x68dc1462,0xd7486900,0x680ec0a4,0x27a18dee,0x4f3ffea2,0xe887ad8c,0xb58ce006,0x7af4d6b6,0xaace1e7c,0xd3375fec,0xce78a399,0
135x406b2a42,0x20fe9e35,0xd9f385b9,0xee39d7ab,0x3b124e8b,0x1dc9faf7,0x4b6d1856,0x26a36631,0xeae397b2,0x3a6efa74,0xdd5b4332,0x6841e7f7,0xca7820fb,0xfb0af54e,0xd8feb397,0x454056ac,0xba489527,0x55533a3a,0x20838d87,0xfe6ba9b7,0xd096954b,0x55a867bc,0xa1159a58,0xcca92963,0x99e1db33,0xa62a4a56,0x3f3125f9,0x5ef47e1c,0x9029317c,0xfdf8e802,0x4272f70,0x80bb155c,0x5282ce3,0x95c11548,0xe4c66d22,0x48c1133f,0xc70f86dc,0x7f9c9ee,0x41041f0f,0x404779a4,0x5d886e17,0x325f51eb,0xd59bc0d1,0xf2bcc18f,0x41113564,0x257b7834,0x602a9c60,0xdff8e8a3,0x1f636c1b,0xe12b4c2,0x2e1329e,0xaf664fd1,0xcad18115,0x6b2395e0,0x333e92e1,0x3b240b62,0xeebeb922,0x85b2a20e,0xe6ba0d99,0xde720c8c,0x2da2f728,0xd0127845,0x95b794fd,0x647d0862,0xe7ccf5f0,0x5449a36f,0x877d48fa,0xc39dfd27,0xf33e8d1e,0xa476341,0x992eff74,0x3a6f6eab,0xf4f8fd37,0xa812dc60,0xa1ebddf8,0x991be14c,0xdb6e6b0d,0xc67b5510,0x6d672c37,0x2765d43b,0xdcd0e804,0xf1290dc7,0xcc00ffa3,0xb5390f92,0x690fed0b,0x667b9ffb,0xcedb7d9c,0xa091cf0b,0xd9155ea3,0xbb132f88,0x515bad24,0x7b9479bf,0x763bd6eb,0x37392eb3,0xcc115979,0x8026e297,0xf42e312d,0x6842ada7,0xc66a2b3b,0x12754ccc,0x782ef11c,0x6a124237,0xb79251e7,0x6a1bbe6,0x4bfb6350,0x1a6b1018,0x11caedfa,0x3d25bdd8,0xe2e1c3c9,0x44421659,0xa121386,0xd90cec6e,0xd5abea2a,0x64af674e,0xda86a85f,0xbebfe988,0x64e4c3fe,0x9dbc8057,0xf0f7c086,0x60787bf8,0x6003604d,0xd1fd8346,0xf6381fb0,0x7745ae04,0xd736fccc,0x83426b33,0xf01eab71,0xb0804187,0x3c005e5f,0x77a057be,0xbde8ae24,0x55464299,0xbf582e61,0x4e58f48f,0xf2ddfda2,0xf474ef38,0x8789bdc2,0x5366f9c3,0xc8b38e74,0xb475f255,0x46fcd9b9,0x7aeb2661,0x8b1ddf84,0x846a0e79,0x915f95e2,0x466e598e,0x20b45770,0x8cd55591,0xc902de4c,0xb90bace1,0xbb8205d0,0x11a86248,0x7574a99e,0xb77f19b6,0xe0a9dc09,0x662d09a1,0xc4324633,0xe85a1f02,0x9f0be8c,0x4a99a025,0x1d6efe10,0x1ab93d1d,0xba5a4df,0xa186f20f,0x2868f169,0xdcb7da83,0x573906fe,0xa1e2ce9b,0x4fcd7f52,0x50115e01,0xa70683fa,0xa002b5c4,0xde6d027,0x9af88c27,0x773f8641,0xc3604c06,0x61a806b5,0xf0177a28,0xc0f586e0,6314154,0x30dc7d62,0x11e69ed7,0x2338ea63,0x53c2dd94,0xc2c21634,0xbbcbee56,0x90bcb6de,0xebfc7da1,0xce591d76,0x6f05e409,0x4b7c0188,0x39720a3d,0x7c927c24,0x86e3725f,0x724d9db9,0x1ac15bb4,0xd39eb8fc,0xed545578,0x8fca5b5,0xd83d7cd3,0x4dad0fc4,0x1e50ef5e,0xb161e6f8,0xa28514d9,0x6c51133c,0x6fd5c7e7,0x56e14ec4,0x362abfce,0xddc6c837,0xd79a3234,0x92638212,0x670efa8e,0x406000e0],[0x3a39ce37,0xd3faf5cf,0xabc27737,0x5ac52d1b,0x5cb0679e,0x4fa33742,0xd3822740,0x99bc9bbe,0xd5118e9d,0xbf0f7315,0xd62d1c7e,0xc700c47b,0xb78c1b6b,0x21a19045,0xb26eb1be,0x6a366eb4,0x5748ab2f,0xbc946e79,0xc6a376d2,0x6549c2c8,0x530ff8ee,0x468dde7d,0xd5730a1d,0x4cd04dc6,0x2939bbdb,0xa9ba4650,0xac9526e8,0xbe5ee304,0xa1fad5f0,0x6a2d519a,0x63ef8ce2,0x9a86ee22,0xc089c2b8,0x43242ef6,0xa51e03aa,0x9cf2d0a4,0x83c061ba,0x9be96a4d,0x8fe51550,0xba645bd6,0x2826a2f9,0xa73a3ae1,0x4ba99586,0xef5562e9,0xc72fefd3,0xf752f7da,0x3f046f69,0x77fa0a59,0x80e4a915,0x87b08601,0x9b09e6ad,0x3b3ee593,0xe990fd5a,0x9e34d797,0x2cf0b7d9,0x22b8b51,0x96d5ac3a,0x17da67d,0xd1cf3ed6,0x7c7d2d28,0x1f9f25cf,0xadf2b89b,0x5ad6b472,0x5a88f54c,0xe029ac71,0xe019a5e6,0x47b0acfd,0xed93fa9b,0xe8d3c48d,0x283b57cc,0xf8d56629,0x79132e28,0x785f0191,0xed756055,0xf7960e44,0xe3d35e8c,0x15056dd4,0x88f46dba,0x3a16125,0x564f0bd,0xc3eb9e15,0x3c9057a2,0x97271aec,0xa93a072a,0x1b3f6d9b,0x1e6321f5,0xf59c66fb,0x26dcf319,0x7533d928,0xb155fdf5,0x3563482,0x8aba3cbb,0x28517711,0xc20ad9f8,0xabcc5167,0xccad925f,0x4de81751,0x3830dc8e,0x379d5862,0x9320f991,0xea7a90c2,0xfb3e7bce,0x5121ce64,0x774fbe32,0xa8b6e37e,0xc3293d46,0x48de5369,0x6413e680,0xa2ae0810,0xdd6db224,0x69852dfd,0x9072166,0xb39a460a,0x6445c0dd,0x586cdecf,0x1c20c8ae,0x5bbef7dd,0x1b588d40,0xccd2017f,0x6bb4e3bb,0xdda26a7e,0x3a59ff45,0x3e350a44,0xbcb4cdd5,0x72eacea8,0xfa6484bb,0x8d6612ae,0xbf3c6f47,0xd29be463,0x542f5d9e,0xaec2771b,0xf64e6370,0x740e0d8d,0xe75b1357,0xf8721671,0xaf537d5d,0x4040cb08,0x4eb4e2cc,0x34d2466a,0x115af84,3786409e3,0x95983a1d,0x6b89fb4,0xce6ea048,0x6f3f3b82,0x3520ab82,0x11a1d4b,0x277227f8,0x611560b1,0xe7933fdc,0xbb3a792b,0x344525bd,0xa08839e1,0x51ce794b,0x2f32c9b7,0xa01fbac9,0xe01cc87e,0xbcc7d1f6,0xcf0111c3,0xa1e8aac7,0x1a908749,0xd44fbd9a,0xd0dadecb,0xd50ada38,0x339c32a,0xc6913667,0x8df9317c,0xe0b12b4f,0xf79e59b7,0x43f5bb3a,0xf2d519ff,0x27d9459c,0xbf97222c,0x15e6fc2a,0xf91fc71,0x9b941525,0xfae59361,0xceb69ceb,0xc2a86459,0x12baa8d1,0xb6c1075e,0xe3056a0c,0x10d25065,0xcb03a442,0xe0ec6e0e,0x1698db3b,0x4c98a0be,0x3278e964,0x9f1f9532,0xe0d392df,0xd3a0342b,0x8971f21e,0x1b0a7441,0x4ba3348c,0xc5be7120,0xc37632d8,0xdf359f8d,0x9b992f2e,0xe60b6f47,0xfe3f11d,0xe54cda54,0x1edad891,0xce6279cf,0xcd3e7e6f,0x1618b166,0xfd2c1d05,0x848fd2c5,0xf6fb2299,0xf523f357,0xa6327623,0x93a83531,0x56cccd02,0xacf08162,0x5a75ebb5,0x6e163697,0x88d273cc,0xde966292,0x81b949d0,0x4c50901b,0x71c65614,0xe6c6c7bd,0x327a140a,0x45e1d006,0xc3f27b9a,0xc9aa53fd,0x62a80f00,0xbb25bfe2,0x35bdd2f6,0x71126905,0xb2040222,0xb6cbcf7c,0xcd769c2b,0x53113ec0,0x1640e3d3,0x38abbd60,0x2547adf0,0xba38209c,0xf746ce76,0x77afa1c5,0x20756060,0x85cbfe4e,0x8ae88dd8,0x7aaaf9b0,0x4cf9aa7e,0x1948c25c,0x2fb8a8c,0x1c36ae4,0xd6ebe1f9,0x90d4f869,0xa65cdea0,0x3f09252d,0xc208e69f,0xb74e6132,0xce77e25b,0x578fdfe3,0x3ac372e6]];var o={pbox:[],sbox:[]};function a(e,t){let r=e.sbox[0][t>>24&255]+e.sbox[1][t>>16&255];return r^=e.sbox[2][t>>8&255],r+=e.sbox[3][255&t]}function s(e,t,r){let n,i=t,o=r;for(let t=0;t<16;++t)i^=e.pbox[t],o=a(e,i)^o,n=i,i=o,o=n;return n=i,i=o,o=n^e.pbox[16],{left:i^=e.pbox[17],right:o}}var l=t.Blowfish=e.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key;!function(e,t,n){for(let t=0;t<4;t++){e.sbox[t]=[];for(let r=0;r<256;r++)e.sbox[t][r]=i[t][r]}let o=0;for(let i=0;i<18;i++)e.pbox[i]=r[i]^t[o],++o>=n&&(o=0);let a=0,l=0,u=0;for(let t=0;t<18;t+=2)a=(u=s(e,a,l)).left,l=u.right,e.pbox[t]=a,e.pbox[t+1]=l;for(let t=0;t<4;t++)for(let r=0;r<256;r+=2)a=(u=s(e,a,l)).left,l=u.right,e.sbox[t][r]=a,e.sbox[t][r+1]=l}
135(o,e.words,e.sigBytes/4)}},encryptBlock:function(e,t){var r=s(o,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=function(e,t,r){let n,i=t,o=r;for(let t=17;t>1;--t)i^=e.pbox[t],o=a(e,i)^o,n=i,i=o,o=n;return n=i,i=o,o=n^e.pbox[1],{left:i^=e.pbox[0],right:o}}(o,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});n.Blowfish=e._createHelper(l)}(),e.exports=n.Blowfish},68799:function(e,t,r){var n;n=r(62538),function(e){var t=n.lib,r=t.WordArray,i=t.Hasher,o=n.algo,a=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),c=r.create([0,0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xa953fd4e]),f=r.create([0x50a28be6,0x5c4dd124,0x6d703ef3,0x7a6d76e9,0]),d=o.RIPEMD160=i.extend({_doReset:function(){this._hash=r.create([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0])},_doProcessBlock:function(e,t){for(var r,n,i,o,d,h,g,y,b,v,m,_,x,w,S,E,k,O,A,R=0;R<16;R++){var I=t+R,P=e[I];e[I]=(P<<8|P>>>24)&0xff00ff|(P<<24|P>>>8)&0xff00ff00}var D=this._hash.words,j=c.words,C=f.words,T=a.words,L=s.words,N=l.words,M=u.words;w=b=D[0],S=v=D[1],E=m=D[2],k=_=D[3],O=x=D[4];for(var R=0;R<80;R+=1){A=b+e[t+T[R]]|0,R<16?A+=(v^m^_)+j[0]:R<32?A+=((r=v)&m|~r&_)+j[1]:R<48?A+=((v|~m)^_)+j[2]:R<64?A+=(n=v,i=m,(n&(o=_)|i&~o)+j[3]):A+=(v^(m|~_))+j[4],A|=0,A=(A=p(A,N[R]))+x|0,b=x,x=_,_=p(m,10),m=v,v=A,A=w+e[t+L[R]]|0,R<16?A+=(S^(E|~k))+C[0]:R<32?A+=(d=S,h=E,(d&(g=k)|h&~g)+C[1]):R<48?A+=((S|~E)^k)+C[2]:R<64?A+=((y=S)&E|~y&k)+C[3]:A+=(S^E^k)+C[4],A|=0,A=(A=p(A,M[R]))+O|0,w=O,O=k,k=p(E,10),E=S,S=A}A=D[1]+m+k|0,D[1]=D[2]+_+O|0,D[2]=D[3]+x+w|0,D[3]=D[4]+b+S|0,D[4]=D[0]+v+E|0,D[0]=A},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=(r<<8|r>>>24)&0xff00ff|(r<<24|r>>>8)&0xff00ff00,e.sigBytes=(t.length+1)*4,this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=(s<<8|s>>>24)&0xff00ff|(s<<24|s>>>8)&0xff00ff00}return i},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t){return e<<t|e>>>32-t}n.RIPEMD160=i._createHelper(d),n.HmacRIPEMD160=i._createHmacHelper(d)}(Math),e.exports=n.RIPEMD160},69052:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=t.stringToBytes=void 0;let n=r(55621),i=r(96771);function o(e){let t=new Uint8Array((e=unescape(encodeURIComponent(e))).length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}t.stringToBytes=o,t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t.default=function(e,t,r,a,s,l){let u="string"==typeof r?o(r):r,c="string"==typeof a?(0,n.default)(a):a;if("string"==typeof a&&(a=(0,n.default)(a)),a?.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let f=new Uint8Array(16+u.length);if(f.set(c),f.set(u,c.length),(f=t(f))[6]=15&f[6]|e,f[8]=63&f[8]|128,s){if((l=l||0)<0||l+16>s.length)throw RangeError(`UUID byte range ${l}:${l+15} is out of buffer bounds`);for(let e=0;e<16;++e)s[l+e]=f[e];return s}return(0,i.unsafeStringify)(f)}},69866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(3400);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},69930:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
135(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=t.Log=t.EventLogger=t.Diagnostics=void 0,r(44801);let o=r(44801),a=r(50290);Object.defineProperty(t,"Diagnostics",{enumerable:!0,get:function(){return a.Diagnostics}});let s=r(85226);Object.defineProperty(t,"EventLogger",{enumerable:!0,get:function(){return s.EventLogger}});let l=r(94316);Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return l.Log}});let u=r(96136),c=r(16590);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return c.Storage}}),i(r(44801),t),i(r(16563),t),i(r(37453),t),i(r(22930),t),i(r(50290),t),i(r(3507),t),i(r(13930),t),i(r(86090),t),i(r(27745),t),i(r(82702),t),i(r(43659),t),i(r(94316),t),i(r(1107),t),i(r(74582),t),i(r(7003),t),i(r(91197),t),i(r(11657),t),i(r(77612),t),i(r(51546),t),i(r(61635),t),i(r(42768),t),i(r(30939),t),i(r(1756),t),i(r(57972),t),i(r(65771),t),i(r(96136),t),i(r(60952),t),i(r(16886),t),i(r(44333),t),i(r(90022),t),i(r(8846),t),i(r(16590),t),i(r(731),t),i(r(89962),t),i(r(76919),t),i(r(30961),t),i(r(48393),t),i(r(85614),t),i(r(85725),t),Object.assign((0,o._getStatsigGlobal)(),{Log:l.Log,SDK_VERSION:u.SDK_VERSION})},70929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return i}});let n=r(52697);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:o}=(0,n.parsePath)(e);return`${r}${t}${i}${o}`}},71020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return a}});let n=r(59515),i=r(57143),o=r(63697);function a(e,t){let{basePath:r,i18n:a,trailingSlash:s}=t.nextConfig??{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};r&&(0,o.pathHasPrefix)(l.pathname,r)&&(l.pathname=(0,i.removePathPrefix)(l.pathname,r),l.basePath=r);let u=l.pathname;if(l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){let e=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");l.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(l.pathname=u)}if(a){let e=t.i18nProvider?t.i18nProvider.analyze(l.pathname):(0,n.normalizeLocalePath)(l.pathname,a.locales);l.locale=e.detectedLocale,l.pathname=e.pathname??l.pathname,!e.detectedLocale&&l.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(u):(0,n.normalizeLocalePath)(u,a.locales)).detectedLocale&&(l.locale=e.detectedLocale)}return l}},71066:function(e,t,r){var n;n=r(62538),r(91750),n.pad.Iso10126={pad:function(e,t){var r=4*t,i=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.exports=n.pad.Iso10126},71227:function(e,t,r){var n,i,o,a,s;n=r(62538),r(88014),i=n.lib.WordArray,a=(o=n.algo).SHA256,s=o.SHA224=a.extend({_doReset:function(){this._hash=new i.init([0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),n.SHA224=a._createHelper(s),n.HmacSHA224=a._createHmacHelper(s),e.exports=n.SHA224},71551:(e,t)=>{"use strict";function r(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],n=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],i=new Uint8Array(e.length+1);i.set(e),i[e.length]=128;let o=Math.ceil(((e=i).length/4+2)/16),a=Array(o);for(let t=0;t<o;++t){let r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];a[t]=r}a[o-1][14]=(e.length-1)*8/0x100000000,a[o-1][14]=Math.floor(a[o-1][14]),a[o-1][15]=(e.length-1)*8|0;for(let e=0;e<o;++e){let i=new Uint32Array(80);for(let t=0;t<16;++t)i[t]=a[e][t];for(let e=16;e<80;++e)i[e]=r(i[e-3]^i[e-8]^i[e-14]^i[e-16],1);let o=n[0],s=n[1],l=n[2],u=n[3],c=n[4];for(let e=0;e<80;++e){let n=Math.floor(e/20),a=r(o,5)+function(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}(n,s,l,u)+c+t[n]+i[e]>>>0;c=u,u=l,l=r(s,30)>>>0,s=o,o=a}n[0]=n[0]+o>>>0,n[1]=n[1]+s>>>0,n[2]=n[2]+l>>>0,n[3]=n[3]+u>>>0,n[4]=n[4]+c>>>0}return Uint8Array.of(n[0]>>24,n[0]>>16,n[0]>>8,n[0],n[1]>>24,n[1]>>16,n[1]>>8,n[1],n[2]>>24,n[2]>>16,n[2]>>8,n[2],n[3]>
135>24,n[3]>>16,n[3]>>8,n[3],n[4]>>24,n[4]>>16,n[4]>>8,n[4])}},71620:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});let i=r(69930),o=r(14540);class a extends i.NetworkCore{constructor(e,t){super(e,t);const r=null==e?void 0:e.networkConfig;this._option=e,this._initializeUrlConfig=new i.UrlConfiguration(i.Endpoint._initialize,null==r?void 0:r.initializeUrl,null==r?void 0:r.api,null==r?void 0:r.initializeFallbackUrls)}fetchEvaluations(e,t,r,o,a){var s,l,u,c,f,d;return n(this,void 0,void 0,function*(){let n=t?(0,i._typedJsonParse)(t,"has_updates","InitializeResponse"):null,p={user:o,hash:null!=(u=null==(l=null==(s=this._option)?void 0:s.networkConfig)?void 0:l.initializeHashAlgorithm)?u:"djb2",deltasResponseRequested:!1,full_checksum:null};if(null==n?void 0:n.has_updates){let e=(null==n?void 0:n.hash_used)!==(null!=(d=null==(f=null==(c=this._option)?void 0:c.networkConfig)?void 0:f.initializeHashAlgorithm)?d:"djb2");p=Object.assign(Object.assign({},p),{sinceTime:a&&!e?n.time:0,previousDerivedFields:"derived_fields"in n&&a?n.derived_fields:{},deltasResponseRequested:!0,full_checksum:n.full_checksum,partialUserMatchSinceTime:e?0:n.time})}return this._fetchEvaluations(e,n,p,r)})}_fetchEvaluations(e,t,r,i){var a,s;return n(this,void 0,void 0,function*(){let n=yield this.post({sdkKey:e,urlConfig:this._initializeUrlConfig,data:r,retries:2,isStatsigEncodable:!0,priority:i});if((null==n?void 0:n.code)===204)return'{"has_updates": false}';if((null==n?void 0:n.code)!==200)return null!=(a=null==n?void 0:n.body)?a:null;if((null==t?void 0:t.has_updates)!==!0||(null==(s=n.body)?void 0:s.includes('"is_delta":true'))!==!0||!0!==r.deltasResponseRequested)return n.body;let l=(0,o._resolveDeltasResponse)(t,n.body);return"string"==typeof l?l:this._fetchEvaluations(e,t,Object.assign(Object.assign(Object.assign({},r),l),{deltasResponseRequested:!1}),i)})}}t.default=a},72444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(29940),i=r(63697);function o(e,t,r,o){if(!t||t===r)return e;let a=e.toLowerCase();return!o&&((0,i.pathHasPrefix)(a,"/api")||(0,i.pathHasPrefix)(a,`/${t.toLowerCase()}`))?e:(0,n.addPathPrefix)(e,`/${t}`)}},72615:function(e,t,r){e.exports=function(e){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init;(t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"u">typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;r.call(this,n,t)}else r.apply(this,arguments)}).prototype=t}return e.lib.WordArray}(r(62538))},73013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV7State=void 0;let n=r(55303),i=r(96771),o={};function a(e,t,r){return e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=r[6]<<23|r[7]<<16|r[8]<<8|r[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++),e}function s(e,t,r,n,i=0){if(e.length<16)throw Error("Random bytes length must be >= 16");if(n){if(i<0||i+16>n.length)throw RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`)}else n=new Uint8Array(16),i=0;return t??=Date.now(),r??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],n[i++]=t/0x10000000000&255,n[i++]=t/0x100000000&255,n[i++]=t/0x1000000&255,n[i++]=t/65536&255,n[i++]=t/256&255,n[i++]=255&t,n[i++]=112|r>>>28&15,n[i++]=r>>>20&255,n[i++]=128|r>>>14&63,n[i++]=r>>>6&255,n[i++]=r<<2&255|3&e[10],n[i++]=e[11],n[i++]=e[12],n[i++]=e[13],n[i++]=e[14],n[i++]=e[15],n}t.updateV7State=a,t.default=function(e,t,r){let l;if(e)l=s(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.seq,t,r);else{let e=Date.now(),i=(0,n.default)();a(o,e,i),l=s(i,o.msecs,o.seq,t,r)}return t??(0,i.unsafeStringify)(l)}},73321:(e,t,r)=>{"use strict";var n=r(74645);r.o(n,"notFound")&&r.d(t,{notFound:function(){return n.notFound}}),r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},74269:(e,t,r)=>{"use strict";
135Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigInternalClientFactoryAsync=void 0;let n=r(12115),i=r(69930);t.useStatsigInternalClientFactoryAsync=function(e,t){let r=(0,n.useMemo)(()=>{var r;return null!=(r=(0,i._getInstance)(t.sdkKey))?r:e(t)},[]),[o,a]=(0,n.useState)("Ready"!==r.loadingStatus);return(0,n.useMemo)(()=>{"Ready"!==r.loadingStatus&&r.initializeAsync().catch(i.Log.error).finally(()=>a(!1))},[]),{client:r,isLoading:o}}},74582:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkParam=t.NetworkDefault=t.Endpoint=void 0,t.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},t.NetworkDefault={[t.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[t.Endpoint._initialize]:"https://featureassets.org/v1",[t.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},t.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}},74742:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClient=void 0;let o=r(69930),a=r(92966);t.StatsigClient=a.default,i(r(69930),t),t.default=Object.assign((0,o._getStatsigGlobal)(),{StatsigClient:a.default})},74931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(64054).createAsyncLocalStorage)()},75217:e=>{!function(){"use strict";var t={294:function(e){var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(r,n){var i,o,a;function s(r){e.removeListener(t,l),n(r)}function l(){"function"==typeof e.removeListener&&e.removeListener("error",s),r([].slice.call(arguments))}g(e,t,l,{once:!0}),"error"!==t&&(i=e,o=s,a={once:!0},"function"==typeof i.on&&g(i,"error",o,a))})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var i,o,a,u=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,console&&console.warn&&console.warn(u)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function d(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):h(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function h(e,t){for(var r=Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else if("function"==typeof e.addEventListener)e.addEventListener(t,function i(o){n.once&&e.removeEventListener(t,i),r(o)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a}
135,set:function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else for(var u=l.length,c=h(l,u),r=0;r<u;++r)n(c[r],this,t);return!0},o.prototype.addListener=function(e,t){return u(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return u(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,a;if(s(t),void 0===(n=this._events)||void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0==arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//",e.exports=n(294)}()},75241:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0,t.arrayHasAllValues=t.arrayHasValue=t.arrayAny=t.dateCompare=t.stringCompare=t.removeVersionExtension=t.versionCompare=t.versionCompareHelper=t.numberCompare=t.getParameterCaseInsensitive=t.getFromEnvironment=t.getFromUserAgent=t.getFromUser=t.computeUserHash=t.getUnitID=void 0;var i=r(2881),o=n(r(89886));t.getUnitID=function(e,t){var r;if("string"==typeof t&&"userid"!==t.toLowerCase()){var n=null==(r=null==e?void 0:e.customIDs)?void 0:r[t];return void 0!==n?n:l(null==e?void 0:e.customIDs,t)}return null==e?void 0:e.userID};var a=new Map;function s(e,t){var r,n,i,o,a,s,l,u,c;return"object"!=typeof e?null:null!=(u=null!=(s=null!=(o=null!=(n=null!=(r=e[t])?r:e[t.toLowerCase()])?n:null==(i=null==e?void 0:e.custom)?void 0:i[t])?o:null==(a=null==e?void 0:e.custom)?void 0:a[t.toLowerCase()])?s:null==(l=null==e?void 0:e.privateAttributes)?void 0:l[t])?u:null==(c=null==e?void 0:e.privateAttributes)?void 0:c[t.toLowerCase()]}function l(e,t){if(null!=e){var r=t.toLowerCase(),n=Object.keys(e).find(function(e){return e.toLowerCase()===r});if(void 0!==n)return e[n]}}function u(e,t){if("string"!=typeof e||"string"!=typeof t)return null;var r=c(e),n=c(t);if(0===r.length||0===n.length)return null;for(var i=r.split("."),o=n.split("."),a=0;a<Math.max(i.length,o.length);a++){void 0===i[a]&&(i[a]="0"),void 0===o[a]&&(o[a]="0");var s=Number(i[a]),l=Number(o[a]);if("number"!=typeof s||"number"!=typeof l||isNaN(s)||isNaN(l))return null;if(s<l)return -1;if(s>l)return 1}return 0}function c(e){var t=e.indexOf("-");return t>=0?e.substr(0,t):e}t.computeUserHash=function(e){var t=a.get(e);if(t)return t;var r=(0,i.sha256Hash)(e).getBigUint64(0,!1);return a.size>1e5&&a.clear(),a.set(e,r),r},t.getFromUser=s,t.getFromUserAgent=function(e,t){var r,n,i,a,l=s(e,"userAgent");
135if(null==l||"string"!=typeof l||l.length>1e3)return null;var u=(0,o.default)(l);switch(t.toLowerCase()){case"os_name":case"osname":return null!=(r=u.os.name)?r:null;case"os_version":case"osversion":return null!=(n=u.os.version)?n:null;case"browser_name":case"browsername":return null!=(i=u.browser.name)?i:null;case"browser_version":case"browserversion":return null!=(a=u.browser.version)?a:null;default:return null}},t.getFromEnvironment=function(e,t){return l(null==e?void 0:e.statsigEnvironment,t)},t.getParameterCaseInsensitive=l,t.numberCompare=function(e){return function(t,r){if(null==t||null==r)return!1;var n=Number(t),i=Number(r);return!(isNaN(n)||isNaN(i))&&e(n,i)}},t.versionCompareHelper=function(e){return function(t,r){var n=u(t,r);return null!=n&&e(n)}},t.versionCompare=u,t.removeVersionExtension=c,t.stringCompare=function(e,t){return function(r,n){return null!=r&&null!=n&&(e?t(String(r).toLowerCase(),String(n).toLowerCase()):t(String(r),String(n)))}},t.dateCompare=function(e){return function(t,r){if(null==t||null==r)return!1;try{var n=new Date(t);isNaN(n.getTime())&&(n=new Date(Number(t)));var i=new Date(r);return isNaN(i.getTime())&&(i=new Date(Number(r))),!isNaN(n.getTime())&&!isNaN(i.getTime())&&e(n,i)}catch(e){return!1}}},t.arrayAny=function(e,t,r){if(!Array.isArray(t))return!1;for(var n=0;n<t.length;n++)if(r(e,t[n]))return!0;return!1},t.arrayHasValue=function(e,t){for(var r=new Set(e),n=0;n<t.length;n++)if(r.has(t[n])||r.has(parseInt(t[n])))return!0;return!1},t.arrayHasAllValues=function(e,t){for(var r=new Set(e),n=0;n<t.length;n++)if(!r.has(t[n])&&!r.has(parseInt(t[n])))return!1;return!0}},75695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeParamStoreGetter=void 0;let n=r(69930),i={disableExposureLog:!0};function o(e){return null==e||!1===e.disableExposureLog}function a(e,t){return null!=t&&!(0,n._isTypeMatch)(e,t)}t._makeParamStoreGetter=function(e,t,r){return(s,l)=>{if(null==t)return l;let u=t[s];if(null==u||null!=l&&(0,n._typeOf)(l)!==u.param_type)return l;switch(u.ref_type){case"static":return u.value;case"gate":return e.getFeatureGate(u.gate_name,o(r)?void 0:i).value?u.pass_value:u.fail_value;case"dynamic_config":let c;return a(c=e.getDynamicConfig(u.config_name,o(r)?void 0:i).get(u.param_name),l)?l:c;case"experiment":let f;return a(f=e.getExperiment(u.experiment_name,o(r)?void 0:i).get(u.param_name),l)?l:f;case"layer":let d;return a(d=e.getLayer(u.layer_name,o(r)?void 0:i).get(u.param_name),l)?l:d;default:return l}}}},76919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlConfiguration=void 0;let n=r(82702),i=r(74582),o={[i.Endpoint._initialize]:"i",[i.Endpoint._rgstr]:"e",[i.Endpoint._download_config_specs]:"d"};class a{constructor(e,t,r,n){this.customUrl=null,this.fallbackUrls=null,this.endpoint=e,this.endpointDnsKey=o[e],t&&(this.customUrl=t),!t&&r&&(this.customUrl=r.endsWith("/")?`${r}${e}`:`${r}/${e}`),n&&(this.fallbackUrls=n);const a=i.NetworkDefault[e];this.defaultUrl=`${a}/${e}`}getUrl(){var e;return null!=(e=this.customUrl)?e:this.defaultUrl}getChecksum(){var e;let t=(null!=(e=this.fallbackUrls)?e:[]).sort().join(",");return(0,n._DJB2)(this.customUrl+t)}}t.UrlConfiguration=a},77433:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}
135,a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0,t.STATSIG_CDN=t.STATSIG_API=void 0;var s=a(r(58115)),l=r(20566),u=r(4052),c=a(r(40138)),f=r(39373),d=r(2881),p=a(r(18778)),h=r(48029),g=[408,500,502,503,504,522,524,599];t.STATSIG_API="https://statsigapi.net/v1",t.STATSIG_CDN="https://api.statsigcdn.com/v1";var y=function(){function e(e,t,r,n){this.apiForDownloadConfigSpecs=t.apiForDownloadConfigSpecs,this.apiForGetIdLists=t.apiForGetIdLists,this.fallbackToStatsigAPI=t.fallbackToStatsigAPI,this.sessionID=n,this.leakyBucket={},this.pendingTimers=[],this.dispatcher=new c.default(200),this.localMode=t.localMode,this.sdkKey=e,this.errorBoundry=r,this.networkOverrideFunc=t.networkOverrideFunc}return e.prototype.validateSDKKeyUsed=function(e){var t=e===(0,d.djb2Hash)(this.sdkKey);return t||this.errorBoundry.logError(new l.StatsigSDKKeyMismatchError,h.StatsigContext.new({caller:"validateSDKKeyUsed"})),t},e.prototype.downloadConfigSpecs=function(e){return i(this,void 0,void 0,function(){var r,n,i;return o(this,function(o){switch(o.label){case 0:return r="/download_config_specs"+"/".concat(this.sdkKey,".json")+"?sinceTime=".concat(e),n=this.apiForDownloadConfigSpecs+r,this.fallbackToStatsigAPI&&(i={retries:1,retryURL:t.STATSIG_CDN+r}),[4,this.get(n,i)];case 1:return[2,o.sent()]}})})},e.prototype.getIDLists=function(){return i(this,void 0,void 0,function(){var e,r;return o(this,function(n){switch(n.label){case 0:return e=this.apiForGetIdLists+"/get_id_lists",this.fallbackToStatsigAPI&&(r={retries:1,retryURL:t.STATSIG_API+"/get_id_lists"}),[4,this.post(e,{},r)];case 1:return[2,n.sent()]}})})},e.prototype.dispatch=function(e,t,r){return this.dispatcher.enqueue(this.post(e,t),r)},e.prototype.post=function(e,t,r){return i(this,void 0,void 0,function(){return o(this,function(n){switch(n.label){case 0:return[4,this.request("POST",e,t,r)];case 1:return[2,n.sent()]}})})},e.prototype.get=function(e,t){return i(this,void 0,void 0,function(){return o(this,function(r){switch(r.label){case 0:return[4,this.request("GET",e,void 0,t)];case 1:return[2,r.sent()]}})})},e.prototype.request=function(e,t,r,a){var c;return i(this,void 0,void 0,function(){var i,d,h,y,b,v,m,_,x,w,S,E,k,O,A,R,I,P,D,j,C,T=this;return o(this,function(o){switch(o.label){case 0:if(h=void 0===(d=(i=null!=a?a:{}).retryURL)?t:d,b=void 0===(y=i.retries)?0:y,m=void 0===(v=i.backoff)?1e3:v,x=void 0!==(_=i.isRetrying)&&_,w=i.signal,E=void 0!==(S=i.compress)&&S,k=this.getDiagnosticFromURL(t),this.localMode)return[2,Promise.reject(new l.StatsigLocalModeNetworkError)];if(null!=(O=this.leakyBucket[t])&&O>=1e3)return[2,Promise.reject(new l.StatsigTooManyRequestsError("Request to ".concat(t," failed because you are making the same request too frequently (").concat(O,").")))];return null==O?this.leakyBucket[t]=1:this.leakyBucket[t]=O+1,A="number"==typeof m?x?10*m:m:m(b),R=n(n({},null==a?void 0:a.additionalHeaders),{"Content-type":"application/json; charset=UTF-8","STATSIG-API-KEY":this.sdkKey,"STATSIG-CLIENT-TIME":"".concat(Date.now()),"STATSIG-SERVER-SESSION-ID":this.sessionID,"STATSIG-SDK-TYPE":(0,u.getSDKType)(),"STATSIG-SDK-VERSION":(0,u.getSDKVersion)()}),[4,(0,f.getEncodedBody)(r,E?"gzip":"none",this.errorBoundry)];case 1:return P=(I=o.sent()).contents,(D=I.contentEncoding)&&(R["Content-Encoding"]=D),x||null==k||k.start({}),[2,(null!=(c=this.networkOverrideFunc)?c:p.default)(t,{method:e,body:P,headers:R,signal:w}).then(function(n){return(!(j=n).ok||g.includes(j.status))&&b>0?T._retry(e,h,r,b-1,A):j.ok?Promise.resolve(j):Promise.reject(Error("Request to "+t+" failed with status "+j.status))}).catch(function(n){return(C=n,b>0)?T._retry(e,t,r,b-1,A):Promise.reject(C)}).finally(function(){var e;null==k||k.end({statusCode:null==j?void 0:j.status,success:(null==j?void 0:j.ok)===!0,sdkRegion:null==(e=null==j?void 0:j.headers)?void 0:e.get("x-statsig-region"),error:s.default.formatNetworkError(C)}),T.leakyBucket[t]=Math.max(T.leakyBucket[t]-1,0)})]}})})},e.prototype.shutdown=function(){null!=this.pendingTimers&&this.pendingTimers.forEach(function(e){null!=e&&clearTimeout(e)}),null!=this.dispatcher&&this.dispatcher.shutdown()},e.prototype._retry=function(e,t,r,n,i){var o=this;return new Promise(function(a,s){var l=setTimeout(function(){o.leakyBucket[t]=Math.max(o.leakyBucket[t]-1,0),o.request(e,t,r,{retries:n,backoff:i,isRetrying:!0}).then(a).catch(s)},i);l.unref&&l.unref(),o.pendingTimers.push(l)})},e.prototype.getDiagnosticFromURL=function(e){return e.includes("/download_config_specs")?s.default.mark.downloadConfigSpecs.networkRequest:e.includes("/get_id_lists")?s.default.mark.getIDListSources.networkRequest:null},e}();t.default=y},77612:(e,t,r)=>{"use strict";var n=r(41463);
135Object.defineProperty(t,"__esModule",{value:!0}),t._getUnloadEvent=t._getCurrentPageUrlSafe=t._addDocumentEventListenerSafe=t._addWindowEventListenerSafe=t._isServerEnv=t._getDocumentSafe=t._getWindowSafe=void 0,t._getWindowSafe=()=>"u">typeof window?window:null,t._getDocumentSafe=()=>{var e;let r=(0,t._getWindowSafe)();return null!=(e=null==r?void 0:r.document)?e:null},t._isServerEnv=()=>{if(null!==(0,t._getDocumentSafe)())return!1;let e=void 0!==n&&null!=n.versions&&null!=n.versions.node;return"string"==typeof EdgeRuntime||e},t._addWindowEventListenerSafe=(e,r)=>{let n=(0,t._getWindowSafe)();"function"==typeof(null==n?void 0:n.addEventListener)&&n.addEventListener(e,r)},t._addDocumentEventListenerSafe=(e,r)=>{let n=(0,t._getDocumentSafe)();"function"==typeof(null==n?void 0:n.addEventListener)&&n.addEventListener(e,r)},t._getCurrentPageUrlSafe=()=>{var e;try{return null==(e=(0,t._getWindowSafe)())?void 0:e.location.href.split(/[?#]/)[0]}catch(e){return}},t._getUnloadEvent=()=>{let e=(0,t._getWindowSafe)();return e&&"onpagehide"in e?"pagehide":"beforeunload"}},78064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i={isBot:function(){return s},userAgent:function(){return u},userAgentFromString:function(){return l}};for(var o in i)Object.defineProperty(t,o,{enumerable:!0,get:i[o]});let a=(n=r(84345))&&n.__esModule?n:{default:n};function s(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver|GPTBot/i.test(e)}function l(e){return{...(0,a.default)(e),isBot:void 0!==e&&s(e)}}function u({headers:e}){return l(e.get("user-agent")||void 0)}},78550:(e,t)=>{"use strict";function r(e,t,r){if(e){for(let n of(r&&(r=r.toLowerCase()),e))if(t===n.domain?.split(":",1)[0].toLowerCase()||r===n.defaultLocale.toLowerCase()||n.locales?.some(e=>e.toLowerCase()===r))return n}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}})},78755:function(e,t,r){var n;n=r(62538),r(15457),r(39491),r(89337),r(91750),function(){var e=n.lib,t=e.WordArray,r=e.BlockCipher,i=n.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,0x10000000:32768,0x20000000:8421378,0x30000000:2,0x40000000:512,0x50000000:8421890,0x60000000:8389122,0x70000000:8388608,0x80000000:514,0x90000000:8389120,0xa0000000:33280,0xb0000000:8421376,0xc0000000:32770,0xd0000000:8388610,0xe0000000:0,0xf0000000:33282,0x8000000:0,0x18000000:8421890,0x28000000:33282,0x38000000:32768,0x48000000:8421888,0x58000000:512,0x68000000:8421378,0x78000000:2,0x88000000:8389120,0x98000000:33280,0xa8000000:8421376,0xb8000000:8389122,0xc8000000:8388610,0xd8000000:32770,0xe8000000:514,0xf8000000:8388608,1:32768,0x10000001:2,0x20000001:8421888,0x30000001:8388608,0x40000001:8421378,0x50000001:33280,0x60000001:512,0x70000001:8389122,0x80000001:8421890,0x90000001:8421376,0xa0000001:8388610,0xb0000001:33282,0xc0000001:514,0xd0000001:8389120,0xe0000001:32770,0xf0000001:0,0x8000001:8421890,0x18000001:8421376,0x28000001:8388608,0x38000001:512,0x48000001:32768,0x58000001:8388610,0x68000001:2,0x78000001:33282,0x88000001:32770,0x98000001:8389122,0xa8000001:514,0xb8000001:8421888,0xc8000001:8389120,0xd8000001:0,0xe8000001:33280,0xf8000001:8421378},{0:0x40084010,0x1000000:16384,0x2000000:524288,0x3000000:0x40080010,0x4000000:0x40000010,0x5000000:0x40084000,0x6000000:0x40004000,0x7000000:16,0x8000000:540672,0x9000000:0x40004010,0xa000000:0x40000000,0xb000000:540688,0xc000000:524304,0xd000000:0,0xe000000:16400,0xf000000:0x40080000,8388608:0x40004000,0x1800000:540688,0x2800000:16,0x3800000:0x40004010,0x4800000:0x40084010,0x5800000:0x40000000,0x6800000:524288,0x7800000:0x40080010,0x8800000:524304,0x9800000:0,0xa800000:16384,0xb800000:0x40080000,0xc800000:0x40000010,0xd800000:540672,0xe800000:0x40084000,0xf800000:16400,0x10000000:0,0x11000000:0x40080010,0x12000000:0x40004010,0x13000000:0x40084000,0x14000000:0x40080000,0x15000000:16,0x16000000:540688,0x17000000:16384,0x18000000:16400,0x19000000:524288,0x1a000000:524304,0x1b000000:0x40000010,0x1c000000:540672,0x1d000000:0x40004000,0x1e000000:0x40000000,0x1f000000:0x40084010,0x10800000:540688,0x11800000:524288,0x12800000:0x40080000,0x13800000:16384,0x14800000:0x40004000,0x15800000:0x40084010,0x16800000:16,0x17800000:0x40000000,0x18800000:0x40084000,0x19800000:0x40000010,0x1a800000:0x40004010,0x1b800000:524304,0x1c800000:0,0x1d800000:16400,0x1e800000:0x40080010,0x1f800000:540672},{0:260,1048576:0,2097152:0x4000100,3145728:65796,4194304:65540,5242880:0x4000004,6291456:0x4010104,7340032:0x4010000,8388608:0x4000000,9437184:0x4010100,0xa00000:65792,0xb00000:0x4010004,0
135xc00000:0x4000104,0xd00000:65536,0xe00000:4,0xf00000:256,524288:0x4010100,1572864:0x4010004,2621440:0,3670016:0x4000100,4718592:0x4000004,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,0xa80000:0x4010000,0xb80000:65796,0xc80000:65792,0xd80000:0x4000104,0xe80000:0x4010104,0xf80000:0x4000000,0x1000000:0x4010100,0x1100000:65540,0x1200000:65536,0x1300000:0x4000100,0x1400000:256,0x1500000:0x4010104,0x1600000:0x4000004,0x1700000:0,0x1800000:0x4000104,0x1900000:0x4000000,0x1a00000:4,0x1b00000:65792,0x1c00000:0x4010000,0x1d00000:260,0x1e00000:65796,0x1f00000:0x4010004,0x1080000:0x4000000,0x1180000:260,0x1280000:0x4010100,0x1380000:0,0x1480000:65540,0x1580000:0x4000100,0x1680000:256,0x1780000:0x4010004,0x1880000:65536,0x1980000:0x4010104,0x1a80000:65796,0x1b80000:0x4000004,0x1c80000:0x4000104,0x1d80000:0x4010000,0x1e80000:4,0x1f80000:65792},{0:0x80401000,65536:0x80001040,131072:4198464,196608:0x80400000,262144:0,327680:4198400,393216:0x80000040,458752:4194368,524288:0x80000000,589824:4194304,655360:64,720896:0x80001000,786432:0x80400040,851968:4160,917504:4096,983040:0x80401040,32768:0x80001040,98304:64,163840:0x80400040,229376:0x80001000,294912:4198400,360448:0x80401040,425984:0,491520:0x80400000,557056:4096,622592:0x80401000,688128:4194304,753664:4160,819200:0x80000000,884736:4194368,950272:4198464,1015808:0x80000040,1048576:4194368,1114112:4198400,1179648:0x80000040,1245184:0,1310720:4160,1376256:0x80400040,1441792:0x80401000,1507328:0x80001040,1572864:0x80401040,1638400:0x80000000,1703936:0x80400000,1769472:4198464,1835008:0x80001000,1900544:4194304,1966080:64,2031616:4096,1081344:0x80400000,1146880:0x80401040,1212416:0,1277952:4198400,1343488:4194368,1409024:0x80000000,1474560:0x80001040,1540096:64,1605632:0x80000040,1671168:4096,1736704:0x80001000,1802240:0x80400040,1867776:4160,1933312:0x80401000,1998848:4194304,2064384:4198464},{0:128,4096:0x1040000,8192:262144,12288:0x20000000,16384:0x20040080,20480:0x1000080,24576:0x21000080,28672:262272,32768:0x1000000,36864:0x20040000,40960:0x20000080,45056:0x21040080,49152:0x21040000,53248:0,57344:0x1040080,61440:0x21000000,2048:0x1040080,6144:0x21000080,10240:128,14336:0x1040000,18432:262144,22528:0x20040080,26624:0x21040000,30720:0x20000000,34816:0x20040000,38912:0,43008:0x21040080,47104:0x1000080,51200:0x20000080,55296:0x21000000,59392:0x1000000,63488:262272,65536:262144,69632:128,73728:0x20000000,77824:0x21000080,81920:0x1000080,86016:0x21040000,90112:0x20040080,94208:0x1000000,98304:0x21040080,102400:0x21000000,106496:0x1040000,110592:0x20040000,114688:262272,118784:0x20000080,122880:0,126976:0x1040080,67584:0x21000080,71680:0x1000000,75776:0x1040000,79872:0x20040080,83968:0x20000000,88064:0x1040080,92160:128,96256:0x21040000,100352:262272,104448:0x21040080,108544:0,112640:0x21000000,116736:0x1000080,120832:262144,124928:0x20040000,129024:0x20000080},{0:0x10000008,256:8192,512:0x10200000,768:0x10202008,1024:0x10002000,1280:2097152,1536:2097160,1792:0x10000000,2048:0,2304:0x10002008,2560:2105344,2816:8,3072:0x10200008,3328:2105352,3584:8200,3840:0x10202000,128:0x10200000,384:0x10202008,640:8,896:2097152,1152:2105352,1408:0x10000008,1664:0x10002000,1920:8200,2176:2097160,2432:8192,2688:0x10002008,2944:0x10200008,3200:0,3456:0x10202000,3712:2105344,3968:0x10000000,4096:0x10002000,4352:0x10200008,4608:0x10202008,4864:8200,5120:2097152,5376:0x10000000,5632:0x10000008,5888:2105344,6144:2105352,6400:0,6656:8,6912:0x10200000,7168:8192,7424:0x10002008,7680:0x10202000,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:0x10000008,5248:0x10002000,5504:8200,5760:0x10202008,6016:0x10200000,6272:0x10202000,6528:0x10200008,6784:8192,7040:2105352,7296:2097160,7552:0,7808:0x10000000,8064:0x10002008},{0:1048576,16:0x2000401,32:1024,48:1049601,64:0x2100401,80:0,96:1,112:0x2100001,128:0x2000400,144:1048577,160:0x2000001,176:0x2100400,192:0x2100000,208:1025,224:1049600,240:0x2000000,8:0x2100001,24:0,40:0x2000401,56:0x2100400,72:1048576,88:0x2000001,104:0x2000000,120:1025,136:1049601,152:0x2000400,168:0x2100000,184:1048577,200:1024,216:0x2100401,232:1,248:1049600,256:0x2000000,272:1048576,288:0x2000401,304:0x2100001,320:1048577,336:0x2000400,352:0x2100400,368:1049601,384:1025,400:0x2100401,416:1049600,432:1,448:0,464:0x2100000,480:0x2000001,496:1024,264:1049600,280:0x2000401,296:0x2100001,312:1,328:0x2000000,344:1048576,360:1025,376:0x2100400,392:0x2000001,408:0x2100000,424:0,440:0x2100401,456:1049601,472:1024,488:0x2000400,504:1048577},{0:0x8000820,1:131072,2:0x8000000,3:32,4:131104,5:0x8020820,6:0x8020800,7:2048,8:0x8020000,9:0x8000800,10:133120,11:0x8020020,12:2080,13:0,14:0x8000020,15:133152,0x80000000:2048,0x80000001:0x8020820,0x80000002:0x8000820,0x80000003:0x8000000,0x80000004:0x8020000,0x80000005:133120,0x80000006:133152,0x80000007:32,0x80000008:0x8000020,0x80000009:2080,0x8000000a:131104,0x8000000b:0x8020800,0x8000000c:0,0x8000000d:0x8020020,0x8000000e:0x8000800,0x8000000f:131072,16:133152,17:0x8020800,18:32,19:2048,20:0x8000800,21:0x8000020,22:0x8020020,23:131072,24:0,25:131104,26:0x8020000,27:0x8000820,28:0x8020820,29:133120,30:2080,31:0x8000000,0x80000010:131072,0x80000011:2048,0x80000012:0x8020020,0x80000013:133152,0x80000014:32,0x80000015:0x8020000,0x80000016:0x8000000,0x80000017:0x8000820,0x80000018:0x8020820,0x80000019:0x8000020,0x8000001a:0x8000800,0x8000001b:0,0x8000001c:133120,0x8000001d:2080,0x8000001e:131104,0x8000001f:0x8020800}],u=[0xf8000001,0x1f800000,0x1f80000,2064384,129024,8064,504,0x8000001f],c=i.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=o[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],l=0;l<16;l++){for(var u=i[l]=[],c=s[l],r=0;r<24;r++)u[r/6|0]|=t[(a[r]-1+c)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(a[r+24]-1+c)%28]<<31-r%6;u[0]=u[0]<<1|u[0]>>>31;for(var r=1;r<7;r++)u[r]=u[r]>>>(r-1)*4+3;u[7]=u[7]<<5|u[7]>>>27}for(var f=this._invSubKeys=[],r=0;r<16;r++)f[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,0xf0f0f0f),f.call(this,16,65535),d.call(this,2,0x33333333),d.call(this,8,0xff00ff),f.call(this,1,0x55555555);for(var n=0;n<16;n++){for(var i=r[n],o=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((a^i[c])&u[c])>>>0];this._lBlock=a,this._rBlock=o^s}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,f.call(this,1,0x55555555),d.call(this,8,0xff00ff),d.call(this,2,0x33333333),f.call(this,16,65535),f.call(this,4,0xf0f0f0f),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function d(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}n.DES=r._createHelper(c);var p=i.TripleDES=r.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var r=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=c.createEncryptor(t.create(r)),this._des2=c.createEncryptor(t.create(n)),this._des3=c.createEncryptor(t.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});n.TripleDES=r._createHelper(p)}(),e.exports=n.TripleDES},79753:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
135dule?e:{default:e}};t.__esModule=!0,t.MAX_OBJ_SIZE=void 0;var i=n(r(5156));t.MAX_OBJ_SIZE=4096;var o=function(){function e(){}return e.validateEventName=function(e){return null==e||0===e.length||"string"!=typeof e?(i.default.error("statsigSDK> EventName needs to be a string of non-zero length."),null):(this.shouldTrimParam(e,128)&&i.default.warn("statsigSDK> Event name is too large (max ".concat(128,"). It may be trimmed.")),e)},e.validateUserObject=function(e){return null==e?(i.default.warn("statsigSDK> User cannot be null."),null):null!=e&&"object"!=typeof e?(i.default.warn("statsigSDK> User is not set because it needs to be an object."),null):(null!=e.userID&&this.shouldTrimParam(e.userID,128)&&i.default.warn("statsigSDK> User ID is too large (max ".concat(128,"). It may be trimmed.")),this.shouldTrimParam(e,4096)&&i.default.warn("statsigSDK> User object is too large (max ".concat(4096,"). Some attributes may be stripped.")),e)},e.validateEventValue=function(e){return null==e?null:("string"==typeof e&&this.shouldTrimParam(e,128)&&i.default.warn("statsigSDK> Event value is too large (max ".concat(128,"). It may be trimmed.")),"object"==typeof e)?JSON.stringify(e):"number"==typeof e?e:e.toString()},e.validateEventMetadata=function(e){return null!=e&&"object"!=typeof e?(i.default.warn("statsigSDK> Metadata is not set because it needs to be an object."),null):(this.shouldTrimParam(e,t.MAX_OBJ_SIZE)&&i.default.warn("statsigSDK> Event metadata is too large (max ".concat(t.MAX_OBJ_SIZE,"). Some attributes may be stripped.")),e)},e.validateEventTime=function(e){return null!=e&&"number"!=typeof e?(i.default.warn("statsigSDK> Timestamp is not set because it needs to be a number."),null):e},e.shouldTrimParam=function(e,t){return null!=e&&("string"==typeof e?e.length>t:"object"==typeof e?this.approximateObjectSize(e)>t:"number"==typeof e&&e.toString().length>t)},e.approximateObjectSize=function(e){for(var t=0,r=Object.entries(e),n=0;n<r.length;n++){var i=r[n][0],o=r[n][1];"object"==typeof o&&null!==o?t+=this.approximateObjectSize(o):t+=String(o).length,t+=i.length}return t},e}();t.default=o},80341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorageInstance}});let n=r(52075)},80530:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(){function e(){}return e.setFlags=function(e){this._flags=e&&"object"==typeof e?e:{}},e.on=function(e){return!0===this._flags[e]},e._flags={},e}()},81852:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,f=r?i-1:0,d=r?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=u}return(p?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,d=5960464477539062e-23*(23===i),p=n?0:o-1,h=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=d/l:t+=d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+p]=255&a,p+=h,a/=256,u-=8);e[r+p-h]|=128*g}},82174:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(55621),i=r(96771);t.default=function(e){var t;let r=(t="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&t[3])<<4|t[4]>>4&15,(15&t[4])<<4|(240&t[5])>>4,(15&t[5])<<4|15&t[6],t[7],(15&t[1])<<4|(240&t[2])>>4,(15&t[2])<<4|(240&t[3])>>4,16|(240&t[0])>>4,(15&t[0])<<4|(240&t[1])>>4,t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]));return"string"==typeof e?(0,i.unsafeStringify)(r):r}},82702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getSortedObject=t._DJB2Object=t._DJB2=void 0;let n=r(89962);t._DJB2=e=>{let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return String(t>>>0)},t._DJB2Object=(e,r)=>(0,t._DJB2)(JSON.stringify((0,t._getSortedObject)(e,r))),t._getSortedObject=(e,r)=>{if(null==e)return null;let i=Object.keys(e).sort(),o={};
135return i.forEach(i=>{let a=e[i];if(0===r||"object"!==(0,n._typeOf)(a)){o[i]=a;return}o[i]=(0,t._getSortedObject)(a,null!=r?r-1:r)}),o}},83944:(e,t)=>{"use strict";t.__esModule=!0,t.SHA256=void 0,t.SHA256=function(e){return new o().update(e)};var r=[-0x80000000,8388608,32768,128],n=[24,16,8,0],i=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],o=function(){function e(){this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=0x6a09e667,this.h1=0xbb67ae85,this.h2=0x3c6ef372,this.h3=0xa54ff53a,this.h4=0x510e527f,this.h5=0x9b05688c,this.h6=0x1f83d9ab,this.h7=0x5be0cd19,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.lastByteIndex=-1}return e.prototype.update=function(e){if(this.finalized)return this;if("string"!=typeof e)throw Error('Must be of type "string"');for(var t,r,i=0,o=e.length,a=this.blocks;i<o;){for(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),r=this.start;i<o&&r<64;++i)(t=e.charCodeAt(i))<128?a[r>>2]|=t<<n[3&r++]:(t<2048?a[r>>2]|=(192|t>>6)<<n[3&r++]:(t<55296||t>=57344?a[r>>2]|=(224|t>>12)<<n[3&r++]:(t=65536+((1023&t)<<10|1023&e.charCodeAt(++i)),a[r>>2]|=(240|t>>18)<<n[3&r++],a[r>>2]|=(128|t>>12&63)<<n[3&r++]),a[r>>2]|=(128|t>>6&63)<<n[3&r++]),a[r>>2]|=(128|63&t)<<n[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.block=a[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>0xffffffff&&(this.hBytes+=this.bytes/0x100000000|0,this.bytes=this.bytes%0x100000000),this},e.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=r[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},e.prototype.hash=function(){var e,t,r,n,o,a,s,l,u,c,f=this.blocks,d=this.h0,p=this.h1,h=this.h2,g=this.h3,y=this.h4,b=this.h5,v=this.h6,m=this.h7;for(e=16;e<64;++e)t=((o=f[e-15])>>>7|o<<25)^(o>>>18|o<<14)^o>>>3,r=((o=f[e-2])>>>17|o<<15)^(o>>>19|o<<13)^o>>>10,f[e]=f[e-16]+t+f[e-7]+r|0;for(c=p&h,e=0;e<64;e+=4)this.first?(s=0x2a01a605,m=(o=f[0]-0xc881298)-0x5ab00ac6|0,g=o+0x8909ae5|0,this.first=!1):(t=(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),r=(y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7),n=(s=d&p)^d&h^c,o=m+r+(y&b^~y&v)+i[e]+f[e],a=t+n,m=g+o|0,g=o+a|0),t=(g>>>2|g<<30)^(g>>>13|g<<19)^(g>>>22|g<<10),r=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7),n=(l=g&d)^g&p^s,o=v+r+(m&y^~m&b)+i[e+1]+f[e+1],a=t+n,v=h+o|0,t=((h=o+a|0)>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10),r=(v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7),n=(u=h&g)^h&d^l,o=b+r+(v&m^~v&y)+i[e+2]+f[e+2],a=t+n,b=p+o|0,t=((p=o+a|0)>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10),r=(b>>>6|b<<26)^(b>>>11|b<<21)^(b>>>25|b<<7),n=(c=p&h)^p&g^u,o=y+r+(b&v^~b&m)+i[e+3]+f[e+3],a=t+n,y=d+o|0,d=o+a|0;this.h0=this.h0+d|0,this.h1=this.h1+p|0,this.h2=this.h2+h|0,this.h3=this.h3+g|0,this.h4=this.h4+y|0,this.h5=this.h5+b|0,this.h6=this.h6+v|0,this.h7=this.h7+m|0},e.prototype.arrayBuffer=function(){return this._getOutputs().buffer},e.prototype.dataView=function(){return this._getOutputs().dataView},e.prototype._getOutputs=function(){this.finalize();var e=new ArrayBuffer(32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),t.setUint32(28,this.h7),{dataView:t,buffer:e}},e}()},84153:(e,t,r)=>{"use strict";
135Object.defineProperty(t,"__esModule",{value:!0}),t.isNoopClient=t.NoopEvaluationsClient=void 0;let n=r(69930),i={success:!1,error:Error("NoClient"),duration:0,source:"Uninitialized",sourceUrl:null},o=()=>{},a=()=>i,s=()=>Promise.resolve(),l=()=>Promise.resolve(i),u={reason:"Error:NoClient"},c=e=>(...t)=>{let r="string"==typeof t[0]?t[0]:t[1];switch(e){case"gate":return(0,n._makeFeatureGate)(r,u,null);case"config":return(0,n._makeDynamicConfig)(r,u,null);case"layer":return(0,n._makeLayer)(r,u,null);case"param_store":return{name:r}}},f={sdkKey:"",options:{},values:null,user:{userID:""},errorBoundary:{},session:{data:{sessionID:"",startTime:0,lastUpdate:0},sdkKey:""},stableID:"",storageProvider:n.Storage};t.NoopEvaluationsClient={isNoop:!0,loadingStatus:"Uninitialized",initializeSync:a,initializeAsync:l,shutdown:s,flush:s,updateRuntimeOptions:o,updateUserSync:a,updateUserAsync:l,getContext:()=>Object.assign({},f),checkGate:()=>!1,getFeatureGate:c("gate"),getDynamicConfig:c("config"),getExperiment:c("config"),getLayer:c("layer"),getParameterStore:c("param_store"),logEvent:o,on:o,off:o,$on:o,$emt:o,dataAdapter:{attach:o,getDataSync:()=>null,getDataAsync:()=>Promise.resolve(null),setData:o,setDataLegacy:o,prefetchData:s}},t.isNoopClient=function(e){return"isNoop"in e}},84210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(12115),i=r(69930),o=r(84153),a=r(32809);t.default=function(e,t){let{client:r,renderVersion:s}=(0,n.useContext)(a.default);return(0,n.useMemo)(()=>(0,o.isNoopClient)(r)?(i.Log.warn(`useParameterStore hook failed to find a valid StatsigClient for parameter store '${e}'.`),o.NoopEvaluationsClient.getParameterStore(e,t)):r.getParameterStore(e,t),[e,r,s,...t?Object.values(t):[]])}},84345:(e,t,r)=>{var n,i={943:function(i,o){!function(a){"use strict";var s="function",l="undefined",u="object",c="string",f="major",d="model",p="name",h="type",g="vendor",y="version",b="architecture",v="console",m="mobile",_="tablet",x="smarttv",w="wearable",S="embedded",E="Amazon",k="Apple",O="ASUS",A="BlackBerry",R="Browser",I="Chrome",P="Firefox",D="Google",j="Huawei",C="Microsoft",T="Motorola",L="Opera",N="Samsung",M="Sharp",U="Sony",B="Xiaomi",F="Zebra",z="Facebook",G="Chromium OS",V="Mac OS",q=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},K=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},W=function(e,t){return typeof e===c&&-1!==$(t).indexOf($(e))},$=function(e){return e.toLowerCase()},H=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===l?e:e.substring(0,350)},Z=function(e,t){for(var r,n,i,o,a,l,c=0;c<t.length&&!a;){var f=t[c],d=t[c+1];for(r=n=0;r<f.length&&!a&&f[r];)if(a=f[r++].exec(e))for(i=0;i<d.length;i++)l=a[++n],typeof(o=d[i])===u&&o.length>0?2===o.length?typeof o[1]==s?this[o[0]]=o[1].call(this,l):this[o[0]]=o[1]:3===o.length?typeof o[1]!==s||o[1].exec&&o[1].test?this[o[0]]=l?l.replace(o[
1351],o[2]):void 0:this[o[0]]=l?o[1].call(this,l,o[2]):void 0:4===o.length&&(this[o[0]]=l?o[3].call(this,l.replace(o[1],o[2])):void 0):this[o]=l||void 0;c+=2}},X=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(W(t[r][n],e))return"?"===r?void 0:r}else if(W(t[r],e))return"?"===r?void 0:r;return e},J={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,y],[/opios[\/ ]+([\w\.]+)/i],[y,[p,L+" Mini"]],[/\bopr\/([\w\.]+)/i],[y,[p,L]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,y],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[p,"UC"+R]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[y,[p,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[y,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[p,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+R],y],[/\bfocus\/([\w\.]+)/i],[y,[p,P+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[p,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[p,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[p,"MIUI "+R]],[/fxios\/([-\w\.]+)/i],[y,[p,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+R]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+R],y],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[p,y],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,z],y],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[p,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[p,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,I+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[p,"Android "+R]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[y,X,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[p,P+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,y],[/(cobalt)\/([\w\.]+)/i],[p,[y,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,$]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,"",$]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;
135|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,$]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[g,N],[h,_]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[g,N],[h,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[g,k],[h,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[g,k],[h,_]],[/(macintosh);/i],[d,[g,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[g,M],[h,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[g,j],[h,_]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[g,j],[h,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[g,B],[h,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[g,B],[h,_]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[g,"OPPO"],[h,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[g,"Vivo"],[h,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[g,"Realme"],[h,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[g,T],[h,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[g,T],[h,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[g,"LG"],[h,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[g,"LG"],[h,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[g,"Lenovo"],[h,_]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[g,"Nokia"],[h,m]],[/(pixel c)\b/i],[d,[g,D],[h,_]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[g,D],[h,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[g,U],[h,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[g,U],[h,_]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[g,"OnePlus"],[h,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[g,E],[h,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[g,E],[h,m]],[/(playbook);[-\w\),; ]+(rim)/i],[d,g,[h,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[g,A],[h,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[g,O],[h,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[g,O],[h,m]],[/(nexus 9)/i],[d,[g,"HTC"],[h,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[g,[d,/_/g," "],[h,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[g,"Acer"],[h,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[g,"Meizu"],[h,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[g,d,[h,m]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[g,d,[h,_]],[/(surface duo)/i],[d,[g,C],[h,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[g,"Fairphone"],[h,m]],[/(u304aa)/i],[d,[g,"AT&T"],[h,m]],[/\bsie-(\w*)/i],[d,[g,"Siemens"],[h,m]],[/\b(rct\w+) b/i],[d,[g,"RCA"],[h,_]],[/\b(venue[\d ]{2,7}) b/i],[d,[g,"Dell"],[h,_]],[/\b(q(?:mv|ta)\w+) b/i],[d,[g,"Verizon"],[h,_]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[g,"Barnes & Noble"],[h,_]],[/\b(tm\d{3}\w+) b/i],[d,[g,"NuVision"],[h,_]],[/\b(k88) b/i],[d,[g,"ZTE"],[h,_]],[/\b(nx\d{3}j) b/i],[d,[g,"ZTE"],[h,m]],[/\b(gen\d{3}) b.+49h/i],[d,[g,"Swiss"],[h,m]],[/\b(zur\d{3}) b/i],[d,[g,"Swiss"],[h,_]],[/\b((zeki)?tb.*\b) b/i],[d,[g,"Zeki"],[h,_]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[g,"Dragon Touch"],d,[h,_]],[/\b(ns-?\w{0,9}) b/i],[d,[g,"Insignia"],[h,_]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[g,"NextBook"],[h,_]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,"Voice"],d,[h,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[g,"LvTel"],d,[h,m]],[/\b(ph-1) /i],[d,[g,"Essential"],[h,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[g,"Envizen"],[h,_]],[/\b(trio[-\w\. ]+) b/i],[d,[g,"MachSpeed"],[h,_]],[/\btu_(1491) b/i],[d,[g,"Rotor"],[h,_]],[/(shield[\w ]+) b/i],[d,[g,"Nvidia"],[h,_]],[/(sprint) (\w+)/i],[g,d,[h,m]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[g,C],[h,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[g,F],[h,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[g,F],[h,m]],[/smart-tv.+(samsung)/i],[g,[h,x]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[g,N],[h,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[g,"LG"],[h,x]],[/(apple) ?tv/i],[g,[d,k+" TV"],[h,x]],[/crkey/i],[[d,I+"cast"],[g,D],[h,x]],[/droid.+aft(\w)( bui|\))/i],[d,[g,E],[h,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[g,M],[h,x]],[/(bravia[\w ]+)( bui|\))/i],[d,[g,U],[h,x]],[/(mitv-\w{5}) bui/i],[d,[g,B],[h,x]],[/Hbbtv.*(technisat) (.*);/i],[g,d,[h,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;
135]*)/i],[[g,H],[d,H],[h,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,d,[h,v]],[/droid.+; (shield) bui/i],[d,[g,"Nvidia"],[h,v]],[/(playstation [345portablevi]+)/i],[d,[g,U],[h,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[g,C],[h,v]],[/((pebble))app/i],[g,d,[h,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[g,k],[h,w]],[/droid.+; (glass) \d/i],[d,[g,D],[h,w]],[/droid.+; (wt63?0{2,3})\)/i],[d,[g,F],[h,w]],[/(quest( 2| pro)?)/i],[d,[g,z],[h,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[g,[h,S]],[/(aeobc)\b/i],[d,[g,E],[h,S]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[h,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,_]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,m]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[g,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,y],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,y],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[p,[y,X,J]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,"Windows"],[y,X,J]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,V],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,y],[/\(bb(10);/i],[y,[p,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[y,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[p,P+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[p,I+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,G],y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,y],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,y]]},Q=function(e,t){if(typeof e===u&&(t=e,e=void 0),!(this instanceof Q))return new Q(e,t).getResult();var r=typeof a!==l&&a.navigator?a.navigator:void 0,n=e||(r&&r.userAgent?r.userAgent:""),i=r&&r.userAgentData?r.userAgentData:void 0,o=t?q(Y,t):Y,v=r&&r.userAgent==n;return this.getBrowser=function(){var e,t={};return t[p]=void 0,t[y]=void 0,Z.call(t,n,o.browser),t[f]=typeof(e=t[y])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0,v&&r&&r.brave&&typeof r.brave.isBrave==s&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[b]=void 0,Z.call(e,n,o.cpu),e},this.getDevice=function(){var e={};return e[g]=void 0,e[d]=void 0,e[h]=void 0,Z.call(e,n,o.device),v&&!e[h]&&i&&i.mobile&&(e[h]=m),v&&"Macintosh"==e[d]&&r&&typeof r.standalone!==l&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[d]="iPad",e[h]=_),e},this.getEngine=function(){var e={};return e[p]=void 0,e[y]=void 0,Z.call(e,n,o.engine),e},this.getOS=function(){var e={};return e[p]=void 0,e[y]=void 0,Z.call(e,n,o.os),v&&!e[p]&&i&&"Unknown"!=i.platform&&(e[p]=i.platform.replace(/chrome os/i,G).replace(/macos/i,V)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===c&&e.length>350?H(e,350):e,this},this.setUA(n),this};
135Q.VERSION="1.0.35",Q.BROWSER=K([p,y,f]),Q.CPU=K([b]),Q.DEVICE=K([d,g,h,v,m,x,_,w,S]),Q.ENGINE=Q.OS=K([p,y]),typeof o!==l?(i.exports&&(o=i.exports=Q),o.UAParser=Q):r.amdO?void 0===(n=(function(){return Q}).call(t,r,t,e))||(e.exports=n):typeof a!==l&&(a.UAParser=Q);var ee=typeof a!==l&&(a.jQuery||a.Zepto);if(ee&&!ee.ua){var et=new Q;ee.ua=et.getResult(),ee.ua.get=function(){return et.getUA()},ee.ua.set=function(e){et.setUA(e);var t=et.getResult();for(var r in t)ee.ua[r]=t[r]}}}("object"==typeof window?window:this)}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},n=!0;try{i[e].call(r.exports,r,r.exports,a),n=!1}finally{n&&delete o[e]}return r.exports}a.ab="//",e.exports=a(943)},84646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(12115),i=r(69930),o=r(84153),a=r(32809);t.default=function(e,t){let{client:r,renderVersion:s}=(0,n.useContext)(a.default);return(0,n.useMemo)(()=>(0,o.isNoopClient)(r)?(i.Log.warn(`useGateValue hook failed to find a valid StatsigClient for gate '${e}'.`),o.NoopEvaluationsClient.checkGate(e,t)):r.checkGate(e,t),[e,r,s,...t?Object.values(t):[]])}},84841:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(40395);t.default=function(){function e(e,t,r,n,i,o,a,s,l,u){void 0===t&&(t=""),void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=[]),void 0===o&&(o={}),void 0===a&&(a=null),void 0===s&&(s=null),void 0===u&&(u=!1),this.value=e,this.rule_id=t,"boolean"==typeof o?this.json_value={}:this.json_value=o,this.secondary_exposures=i,this.undelegated_secondary_exposures=i,this.config_delegate=s,this.unsupported=u,this.explicit_parameters=a,this.is_experiment_group=!1,this.group_name=r,this.id_type=n,this.configVersion=l}return e.prototype.withEvaluationDetails=function(e){return this.evaluation_details=e,this},e.prototype.setIsExperimentGroup=function(e){void 0===e&&(e=!1),this.is_experiment_group=e},e.unsupported=function(t,r,i){return new e(!1,"",null,null,[],{},void 0,void 0,i,!0).withEvaluationDetails(n.EvaluationDetails.unsupported(t,r))},e.prototype.toStickyValues=function(){var e,t;return{value:this.value,json_value:this.json_value,rule_id:this.rule_id,group_name:this.group_name,secondary_exposures:this.secondary_exposures,undelegated_secondary_exposures:this.undelegated_secondary_exposures,config_delegate:this.config_delegate,explicit_parameters:this.explicit_parameters,time:null!=(t=null==(e=this.evaluation_details)?void 0:e.configSyncTime)?t:Date.now(),configVersion:this.configVersion}},e.fromStickyValues=function(t,r){var i=new e(t.value,t.rule_id,t.group_name,null,t.secondary_exposures,t.json_value,t.explicit_parameters,t.config_delegate,t.configVersion);return i.evaluation_details=n.EvaluationDetails.persisted(t.time,r),i.undelegated_secondary_exposures=t.undelegated_secondary_exposures,i.is_experiment_group=!0,i},e}()},85226:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.EventLogger=void 0;let i=r(16563),o=r(82702),a=r(94316),s=r(74582),l=r(77612),u=r(65771),c=r(60952),f=r(16590),d=r(76919),p=r(48393),h={},g="startup",y="gained_focus";class b{static _safeFlushAndForget(e){var t;null==(t=h[e])||t.flush().catch(()=>{})}static _safeRetryFailedLogs(e){var t;null==(t=h[e])||t._retryFailedLogs(y)}constructor(e,t,r,n){var i,o;this._sdkKey=e,this._emitter=t,this._network=r,this._options=n,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._loggingEnabled=null!=(i=null==n?void 0:n.loggingEnabled)?i:(null==n?void 0:n.disableLogging)===!0?c.LoggingEnabledOption.disabled:c.LoggingEnabledOption.browserOnly,(null==n?void 0:n.loggingEnabled)&&void 0!==n.disableLogging&&a.Log.warn("Detected both loggingEnabled and disableLogging options. loggingEnabled takes precedence - please remove disableLogging."),this._maxQueueSize=null!=(o=null==n?void 0:n.loggingBufferMaxSize)?o:100;const l=null==n?void 0:n.networkConfig;this._logEventUrlConfig=new d.UrlConfiguration(s.Endpoint._rgstr,null==l?void 0:l.logEventUrl,null==l?void 0:l.api,null==l?void 0:l.logEventFallbackUrls)}setLogEventCompressionMode(e){this._network.setLogEventCompressionMode(e)}setLoggingEnabled(e){this._loggingEnabled=e}enqueue(e){this._shouldLogEvent(e)&&(this._normalizeAndAppendEvent(e),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&b._safeFlushAndForget(this._sdkKey))}incrementNonExposureCount(e){var t;let r=null!=(t=this._nonExposedChecks[e])?t:0;this._nonExposedChecks[e]=r+1}reset(){this._lastExposureTimeMap={}}start(){var e;let t=(0,l._isServerEnv)();t&&(null==(e=this._options)?void 0:e.loggingEnabled)!=="always"||(h[this._sdkKey]=this,t||(0,p._subscribeToVisiblityChanged)(e=>{"background"===e?b._safeFlushAndForget(this._sdkKey):"foreground"===e&&b._safeRetryFailedLogs(this._sdkKey)}
135),this._retryFailedLogs(g),this._startBackgroundFlushInterval())}stop(){return n(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),delete h[this._sdkKey],yield this.flush()})}flush(){return n(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),0===this._queue.length)return;let e=this._queue;this._queue=[],yield this._sendEvents(e)})}_quickFlushIfNeeded(){this._hasRunQuickFlush||(this._hasRunQuickFlush=!0,Date.now()-this._creationTime>200||setTimeout(()=>b._safeFlushAndForget(this._sdkKey),200))}_shouldLogEvent(e){var t;if((null==(t=this._options)?void 0:t.loggingEnabled)!=="always"&&(0,l._isServerEnv)())return!1;if(!(0,u._isExposureEvent)(e))return!0;let r=e.user?e.user:{statsigEnvironment:void 0},n=(0,i._getUserStorageKey)(this._sdkKey,r),o=e.metadata?e.metadata:{},a=[e.eventName,n,o.gate,o.config,o.ruleID,o.allocatedExperiment,o.parameterName,String(o.isExplicitParameter),o.reason].join("|"),s=this._lastExposureTimeMap[a],c=Date.now();return(!s||!(c-s<6e5))&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[a]=c,!0)}_sendEvents(e){var t,r;return n(this,void 0,void 0,function*(){if("disabled"===this._loggingEnabled)return this._saveFailedLogsToStorage(e),!1;try{let n=(0,p._isUnloading)()&&this._network.isBeaconSupported()&&(null==(r=null==(t=this._options)?void 0:t.networkConfig)?void 0:r.networkOverrideFunc)==null;if(this._emitter({name:"pre_logs_flushed",events:e}),(n?yield this._sendEventsViaBeacon(e):yield this._sendEventsViaPost(e)).success)return this._emitter({name:"logs_flushed",events:e}),!0;return a.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(e),!1}catch(e){return a.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(e){var t;return n(this,void 0,void 0,function*(){let r=yield this._network.post(this._getRequestData(e)),n=null!=(t=null==r?void 0:r.code)?t:-1;return{success:n>=200&&n<300}})}_sendEventsViaBeacon(e){return n(this,void 0,void 0,function*(){return{success:yield this._network.beacon(this._getRequestData(e))}})}_getRequestData(e){return{sdkKey:this._sdkKey,data:{events:e},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[s.NetworkParam.EventCount]:String(e.length)},credentials:"same-origin"}}_saveFailedLogsToStorage(e){for(;e.length>500;)e.shift();let t=this._getStorageKey();try{(0,f._setObjectInStorage)(t,e)}catch(e){a.Log.warn("Unable to save failed logs to storage")}}_retryFailedLogs(e){let t=this._getStorageKey();n(this,void 0,void 0,function*(){f.Storage.isReady()||(yield f.Storage.isReadyResolver());let r=(0,f._getObjectFromStorage)(t);!r||(e===g&&f.Storage.removeItem(t),(yield this._sendEvents(r))&&e===y&&f.Storage.removeItem(t))}).catch(()=>{a.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,o._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(e){e.user&&(e.user=Object.assign({},e.user),delete e.user.privateAttributes);let t={},r=this._getCurrentPageUrl();r&&(t.statsigMetadata={currentPage:r});let n=Object.assign(Object.assign({},e),t);a.Log.debug("Enqueued Event:",n),this._queue.push(n)}_appendAndResetNonExposedChecks(){0!==Object.keys(this._nonExposedChecks).length&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var e;if((null==(e=this._options)?void 0:e.includeCurrentPageUrlWithEvents)!==!1)return(0,l._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var e,t;let r=setInterval(()=>{let e=h[this._sdkKey];e&&e._flushIntervalId===r?b._safeFlushAndForget(this._sdkKey):clearInterval(r)},null!=(t=null==(e=this._options)?void 0:e.loggingIntervalMs)?t:1e4);this._flushIntervalId=r}}t.EventLogger=b},85614:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_DETAIL_ERROR_MESSAGES=t.createUpdateDetails=void 0,t.createUpdateDetails=(e,t,r,n,i,o)=>({duration:r,source:t,success:e,error:n,sourceUrl:i,warnings:o}),t.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a t
135imeout value was specified in the options or ad blocker error."}},85725:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKFlags=void 0;let r={};t.SDKFlags={setFlags:(e,t)=>{r[e]=t},get:(e,t)=>{var n,i;return null!=(i=null==(n=r[e])?void 0:n[t])&&i}}},86090:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},86095:function(e,t,r){var n;n=r(62538),r(65067),function(){var e=n.lib.Hasher,t=n.x64,r=t.Word,i=t.WordArray,o=n.algo;function a(){return r.create.apply(r,arguments)}for(var s=[a(0x428a2f98,0xd728ae22),a(0x71374491,0x23ef65cd),a(0xb5c0fbcf,0xec4d3b2f),a(0xe9b5dba5,0x8189dbbc),a(0x3956c25b,0xf348b538),a(0x59f111f1,0xb605d019),a(0x923f82a4,0xaf194f9b),a(0xab1c5ed5,0xda6d8118),a(0xd807aa98,0xa3030242),a(0x12835b01,0x45706fbe),a(0x243185be,0x4ee4b28c),a(0x550c7dc3,0xd5ffb4e2),a(0x72be5d74,0xf27b896f),a(0x80deb1fe,0x3b1696b1),a(0x9bdc06a7,0x25c71235),a(0xc19bf174,0xcf692694),a(0xe49b69c1,0x9ef14ad2),a(0xefbe4786,0x384f25e3),a(0xfc19dc6,0x8b8cd5b5),a(0x240ca1cc,0x77ac9c65),a(0x2de92c6f,0x592b0275),a(0x4a7484aa,0x6ea6e483),a(0x5cb0a9dc,0xbd41fbd4),a(0x76f988da,0x831153b5),a(0x983e5152,0xee66dfab),a(0xa831c66d,0x2db43210),a(0xb00327c8,0x98fb213f),a(0xbf597fc7,0xbeef0ee4),a(0xc6e00bf3,0x3da88fc2),a(0xd5a79147,0x930aa725),a(0x6ca6351,0xe003826f),a(0x14292967,0xa0e6e70),a(0x27b70a85,0x46d22ffc),a(0x2e1b2138,0x5c26c926),a(0x4d2c6dfc,0x5ac42aed),a(0x53380d13,0x9d95b3df),a(0x650a7354,0x8baf63de),a(0x766a0abb,0x3c77b2a8),a(0x81c2c92e,0x47edaee6),a(0x92722c85,0x1482353b),a(0xa2bfe8a1,0x4cf10364),a(0xa81a664b,0xbc423001),a(0xc24b8b70,0xd0f89791),a(0xc76c51a3,0x654be30),a(0xd192e819,0xd6ef5218),a(0xd6990624,0x5565a910),a(0xf40e3585,0x5771202a),a(0x106aa070,0x32bbd1b8),a(0x19a4c116,0xb8d2d0c8),a(0x1e376c08,0x5141ab53),a(0x2748774c,0xdf8eeb99),a(0x34b0bcb5,0xe19b48a8),a(0x391c0cb3,0xc5c95a63),a(0x4ed8aa4a,0xe3418acb),a(0x5b9cca4f,0x7763e373),a(0x682e6ff3,0xd6b2b8a3),a(0x748f82ee,0x5defb2fc),a(0x78a5636f,0x43172f60),a(0x84c87814,0xa1f0ab72),a(0x8cc70208,0x1a6439ec),a(0x90befffa,0x23631e28),a(0xa4506ceb,0xde82bde9),a(0xbef9a3f7,0xb2c67915),a(0xc67178f2,0xe372532b),a(0xca273ece,0xea26619c),a(0xd186b8c7,0x21c0c207),a(0xeada7dd6,0xcde0eb1e),a(0xf57d4f7f,0xee6ed178),a(0x6f067aa,0x72176fba),a(0xa637dc5,0xa2c898a6),a(0x113f9804,0xbef90dae),a(0x1b710b35,0x131c471b),a(0x28db77f5,0x23047d84),a(0x32caab7b,0x40c72493),a(0x3c9ebe0a,0x15c9bebc),a(0x431d67c4,0x9c100d4c),a(0x4cc5d4be,0xcb3e42b6),a(0x597f299c,0xfc657e2a),a(0x5fcb6fab,0x3ad6faec),a(0x6c44198c,0x4a475817)],l=[],u=0;u<80;u++)l[u]=a();var c=o.SHA512=e.extend({_doReset:function(){this._hash=new i.init([new r.init(0x6a09e667,0xf3bcc908),new r.init(0xbb67ae85,0x84caa73b),new r.init(0x3c6ef372,0xfe94f82b),new r.init(0xa54ff53a,0x5f1d36f1),new r.init(0x510e527f,0xade682d1),new r.init(0x9b05688c,0x2b3e6c1f),new r.init(0x1f83d9ab,0xfb41bd6b),new r.init(0x5be0cd19,0x137e2179)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],u=r[4],c=r[5],f=r[6],d=r[7],p=n.high,h=n.low,g=i.high,y=i.low,b=o.high,v=o.low,m=a.high,_=a.low,x=u.high,w=u.low,S=c.high,E=c.low,k=f.high,O=f.low,A=d.high,R=d.low,I=p,P=h,D=g,j=y,C=b,T=v,L=m,N=_,M=x,U=w,B=S,F=E,z=k,G=O,V=A,q=R,K=0;K<80;K++){var W,$,H=l[K];if(K<16)$=H.high=0|e[t+2*K],W=H.low=0|e[t+2*K+1];else{var Z=l[K-15],X=Z.high,J=Z.low,Y=(X>>>1|J<<31)^(X>>>8|J<<24)^X>>>7,Q=(J>>>1|X<<31)^(J>>>8|X<<24)^(J>>>7|X<<25),ee=l[K-2],et=ee.high,er=ee.low,en=(et>>>19|er<<13)^(et<<3|er>>>29)^et>>>6,ei=(er>>>19|et<<13)^(er<<3|et>>>29)^(er>>>6|et<<26),eo=l[K-7],ea=eo.high,es=eo.low,el=l[K-16],eu=el.high,ec=el.low;$=Y+ea+ +((W=Q+es)>>>0<Q>>>0),W+=ei,$=$+en+ +(W>>>0<ei>>>0),W+=ec,H.high=$=$+eu+ +(W>>>0<ec>>>0),H.low=W}var ef=M&B^~M&z,ed=U&F^~U&G,ep=I&D^I&C^D&C,eh=P&j^P&T^j&T,eg=(I>>>28|P<<4)^(I<<30|P>>>2)^(I<<25|P>>>7),ey=(P>>>28|I<<4)^(P<<30|I>>>2)^(P<<25|I>>>7),eb=(M>>>14|U<<18)^(M>>>18|U<<14)^(M<<23|U>>>9),ev=(U>>>14|M<<18)^(U>>>18|M<<14)^(U<<23|M>>>9),em=s[K],e_=em.high,ex=em.low,ew=q+ev,eS=V+eb+ +(ew>>>0<q>>>0),ew=ew+ed,eS=eS+ef+ +(ew>>>0<ed>>>0),ew=ew+ex,eS=eS+e_+ +(ew>>>0<ex>>>0),ew=ew+W,eS=eS+$+ +(ew>>>0<W>>>0),eE=ey+eh,ek=eg+ep+ +(eE>>>0<ey>>>0);V=z,q=G,z=B,G=F,B=M,F=U,M=L+eS+ +((U=N+ew|0)>>>0<N>>>0)|0,L=C,N=T,C=D,T=j,D=I,j=P,I=eS+ek+ +((P=ew+eE|0)>>>0<ew>>>0)|0}h=n.low=h+P,n.high=p+I+ +(h>>>0<P>>>0),y=i.low=y+j,i.high=g+D+ +(y>>>0<j>>>0),v=o.low=v+T,o.high=b+C+ +(v>>>0<T>>>0),_=a.low=_+N,a.high=m+L+ +(_>>>0<N>>>0),w=u.low=w+U,u.high=x+M+ +(w>>>0<U>>>0),E=c.low=E+F,c.high=S+B+ +(E>>>0<F>>>0),O=f.low=O+G,f.high=k+z+ +(O>>>0<G>>>0),R=d.low=R+q,d.high=A+V+ +(R>>>0<q>>>0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+128>>>10<<5)+30]=Math.floor(r/0x100000000),t[(n+128>>>10<<5)+31]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});n.SHA512=e._createHelper(c),n.HmacSHA512=e._createHmacHelper(c)}(),e.exports=n.SHA512},86667:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
135(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};t.__esModule=!0;var a=r(4052),s=o(r(79753));t.default=function(){function e(e){var t;this.user=null,this.value=null,this.metadata=null,this.secondaryExposures=[],this.time=Date.now(),this.eventName=null!=(t=s.default.validateEventName(e))?t:"invalid_event"}return e.prototype.setUser=function(e){var t=s.default.validateUserObject(e);null!=t&&(this.user=(0,a.clone)(t),null!=this.user&&(this.user.privateAttributes=null))},e.prototype.setValue=function(e){var t=s.default.validateEventValue(e);null!=t&&(this.value=t)},e.prototype.setMetadata=function(e){var t=s.default.validateEventMetadata(e);null!=t&&(this.metadata=(0,a.clone)(t))},e.prototype.setDiagnosticsMetadata=function(e){var t=s.default.approximateObjectSize(e),r=0,n=(0,a.clone)(e);t>s.MAX_OBJ_SIZE&&(e.statsigOptions&&(r=s.default.approximateObjectSize(e.statsigOptions),n.statsigOptions="dropped"),t-r>s.MAX_OBJ_SIZE&&("initialize"===e.context?n.markers=e.markers.filter(function(e){return"overall"===e.key}):n.markers="dropped")),this.metadata=n},e.prototype.setTime=function(e){var t=s.default.validateEventTime(e);null!=t&&(this.time=t)},e.prototype.setSecondaryExposures=function(e){this.secondaryExposures=Array.isArray(e)?e:[]},e.prototype.validate=function(){return"string"==typeof this.eventName&&this.eventName.length>0},e.prototype.toObject=function(){return{eventName:this.eventName,metadata:this.metadata,time:this.time,user:this.user,value:this.value,secondaryExposures:this.secondaryExposures}},e}()},86802:(e,t)=>{"use strict";function r(e){return(e+64>>>9<<4)+14+1}function n(e,t){let r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,i,o,a){var s;return n((s=n(n(t,e),n(i,a)))<<o|s>>>32-o,r)}function o(e,t,r,n,o,a,s){return i(t&r|~t&n,e,t,o,a,s)}function a(e,t,r,n,o,a,s){return i(t&n|r&~n,e,t,o,a,s)}function s(e,t,r,n,o,a,s){return i(t^r^n,e,t,o,a,s)}function l(e,t,r,n,o,a,s){return i(r^(t|~n),e,t,o,a,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(e,t){let i=new Uint32Array(r(t)).fill(0);i.set(e),i[t>>5]|=128<<t%32,i[i.length-1]=t,e=i;let u=0x67452301,c=-0x10325477,f=-0x67452302,d=0x10325476;for(let t=0;t<e.length;t+=16){let r=u,i=c,p=f,h=d;u=o(u,c,f,d,e[t],7,-0x28955b88),d=o(d,u,c,f,e[t+1],12,-0x173848aa),f=o(f,d,u,c,e[t+2],17,0x242070db),c=o(c,f,d,u,e[t+3],22,-0x3e423112),u=o(u,c,f,d,e[t+4],7,-0xa83f051),d=o(d,u,c,f,e[t+5],12,0x4787c62a),f=o(f,d,u,c,e[t+6],17,-0x57cfb9ed),c=o(c,f,d,u,e[t+7],22,-0x2b96aff),u=o(u,c,f,d,e[t+8],7,0x698098d8),d=o(d,u,c,f,e[t+9],12,-0x74bb0851),f=o(f,d,u,c,e[t+10],17,-42063),c=o(c,f,d,u,e[t+11],22,-0x76a32842),u=o(u,c,f,d,e[t+12],7,0x6b901122),d=o(d,u,c,f,e[t+13],12,-0x2678e6d),f=o(f,d,u,c,e[t+14],17,-0x5986bc72),c=o(c,f,d,u,e[t+15],22,0x49b40821),u=a(u,c,f,d,e[t+1],5,-0x9e1da9e),d=a(d,u,c,f,e[t+6],9,-0x3fbf4cc0),f=a(f,d,u,c,e[t+11],14,0x265e5a51),c=a(c,f,d,u,e[t],20,-0x16493856),u=a(u,c,f,d,e[t+5],5,-0x29d0efa3),d=a(d,u,c,f,e[t+10],9,0x2441453),f=a(f,d,u,c,e[t+15],14,-0x275e197f),c=a(c,f,d,u,e[t+4],20,-0x182c0438),u=a(u,c,f,d,e[t+9],5,0x21e1cde6),d=a(d,u,c,f,e[t+14],9,-0x3cc8f82a),f=a(f,d,u,c,e[t+3],14,-0xb2af279),c=a(c,f,d,u,e[t+8],20,0x455a14ed),u=a(u,c,f,d,e[t+13],5,-0x561c16fb),d=a(d,u,c,f,e[t+2],9,-0x3105c08),f=a(f,d,u,c,e[t+7],14,0x676f02d9),c=a(c,f,d,u,e[t+12],20,-0x72d5b376),u=s(u,c,f,d,e[t+5],4,-378558),d=s(d,u,c,f,e[t+8],11,-0x788e097f),f=s(f,d,u,c,e[t+11],16,0x6d9d6122),c=s(c,f,d,u,e[t+14],23,-0x21ac7f4),u=s(u,c,f,d,e[t+1],4,-0x5b4115bc),d=s(d,u,c,f,e[t+4],11,0x4bdecfa9),f=s(f,d,u,c,e[t+7],16,-0x944b4a0),c=s(c,f,d,u,e[t+10],23,-0x41404390),u=s(u,c,f,d,e[t+13],4,0x289b7ec6),d=s(d,u,c,f,e[t],11,-0x155ed806),f=s(f,d,u,c,e[t+3],16,-0x2b10cf7b),c=s(c,f,d,u,e[t+6],23,0x4881d05
135),u=s(u,c,f,d,e[t+9],4,-0x262b2fc7),d=s(d,u,c,f,e[t+12],11,-0x1924661b),f=s(f,d,u,c,e[t+15],16,0x1fa27cf8),c=s(c,f,d,u,e[t+2],23,-0x3b53a99b),u=l(u,c,f,d,e[t],6,-0xbd6ddbc),d=l(d,u,c,f,e[t+7],10,0x432aff97),f=l(f,d,u,c,e[t+14],15,-0x546bdc59),c=l(c,f,d,u,e[t+5],21,-0x36c5fc7),u=l(u,c,f,d,e[t+12],6,0x655b59c3),d=l(d,u,c,f,e[t+3],10,-0x70f3336e),f=l(f,d,u,c,e[t+10],15,-1051523),c=l(c,f,d,u,e[t+1],21,-0x7a7ba22f),u=l(u,c,f,d,e[t+8],6,0x6fa87e4f),d=l(d,u,c,f,e[t+15],10,-0x1d31920),f=l(f,d,u,c,e[t+6],15,-0x5cfebcec),c=l(c,f,d,u,e[t+13],21,0x4e0811a1),u=l(u,c,f,d,e[t+4],6,-0x8ac817e),d=l(d,u,c,f,e[t+11],10,-0x42c50dcb),f=l(f,d,u,c,e[t+2],15,0x2ad7d2bb),c=l(c,f,d,u,e[t+9],21,-0x14792c6f),u=n(u,r),c=n(c,i),f=n(f,p),d=n(d,h)}return Uint32Array.of(u,c,f,d)}(function(e){if(0===e.length)return new Uint32Array;let t=new Uint32Array(r(8*e.length)).fill(0);for(let r=0;r<e.length;r++)t[r>>2]|=(255&e[r])<<r%4*8;return t}(e),8*e.length);let i=new Uint8Array(4*t.length);for(let e=0;e<4*t.length;e++)i[e]=t[e>>2]>>>e%4*8&255;return i}},88014:function(e,t,r){var n;n=r(62538),function(e){var t=n.lib,r=t.WordArray,i=t.Hasher,o=n.algo,a=[],s=[];function l(e){return(e-(0|e))*0x100000000|0}for(var u=2,c=0;c<64;)(function(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0})(u)&&(c<8&&(a[c]=l(e.pow(u,.5))),s[c]=l(e.pow(u,1/3)),c++),u++;var f=[],d=o.SHA256=i.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],l=r[4],u=r[5],c=r[6],d=r[7],p=0;p<64;p++){if(p<16)f[p]=0|e[t+p];else{var h=f[p-15],g=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,y=f[p-2],b=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;f[p]=g+f[p-7]+b+f[p-16]}var v=l&u^~l&c,m=n&i^n&o^i&o,_=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),x=d+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+v+s[p]+f[p],w=_+m;d=c,c=u,u=l,l=a+x|0,a=o,o=i,i=n,n=x+w|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+u|0,r[6]=r[6]+c|0,r[7]=r[7]+d|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[(i+64>>>9<<4)+14]=e.floor(n/0x100000000),r[(i+64>>>9<<4)+15]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(d),n.HmacSHA256=i._createHmacHelper(d)}(Math),e.exports=n.SHA256},88206:function(e,t,r){var n,i,o;n=r(62538),r(91750),n.mode.OFB=(o=(i=n.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(o,0);for(var a=0;a<n;a++)e[t+a]^=o[a]}}),i.Decryptor=o,i),e.exports=n.mode.OFB},88949:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="00000000-0000-0000-0000-000000000000"},89337:function(e,t,r){var n,i,o,a,s,l,u;n=r(62538),r(93372),r(55638),o=(i=n.lib).Base,a=i.WordArray,l=(s=n.algo).MD5,u=s.EvpKDF=o.extend({cfg:o.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,i=n.hasher.create(),o=a.create(),s=o.words,l=n.keySize,u=n.iterations;s.length<l;){r&&i.update(r),r=i.update(e).finalize(t),i.reset();for(var c=1;c<u;c++)r=i.finalize(r),i.reset();o.concat(r)}return o.sigBytes=4*l,o}}),n.EvpKDF=function(e,t,r){return u.create(r).compute(e,t)},e.exports=n.EvpKDF},89886:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var i=n(r(35223)),o={uaString:void 0,res:void 0};t.default=function(e){if(o.uaString===e)return o.res;var t=(0,i.default)(e);return"Mac OS"===t.os.name&&(t.os.name="Mac OS X"),("Chrome"===t.browser.name||"Firefox"===t.browser.name)&&("mobile"===t.device.type||"tablet"===t.device.type)&&(t.browser.name+=" Mobile"),o.uaString=e,o.res=t,t}},89962:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isTypeMatch=t._typeOf=void 0,t._typeOf=function(e){return Array.isArray(e)?"array":typeof e},t._isTypeMatch=function(e,t){let r=e=>Array.isArray(e)?"array":typeof e;return r(e)===r(t)}},90022:(e,t)=>{"use strict";
135Object.defineProperty(t,"__esModule",{value:!0})},90434:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(4052);t.default=function(){function e(e,t,r,i,o,a,s,l){var u;void 0===t&&(t={}),void 0===r&&(r=""),void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s=null),void 0===l&&(l=null),("string"!=typeof e||0===e.length)&&(e=""),(null==t||"object"!=typeof t)&&(t={}),this.name=e,this._value=null!=(u=(0,n.clone)(t))?u:{},this._ruleID=r,this._groupName=i,this._allocatedExperimentName=o,this._logExposure=a,this._evaluationDetails=s,this._idType=l}return e.prototype.get=function(e,t,r){var n=this;void 0===r&&(r=null),t=null!=t?t:null;var i=this._value[e];if(null==i)return t;var o=function(){var t;return null==(t=n._logExposure)||t.call(n,n,e),i};return r?r(i)?o():t:null==t||typeof i==typeof t&&Array.isArray(t)===Array.isArray(i)?o():t},e.prototype.getValue=function(e,t){var r,n;return(void 0===t&&(t=null),null==e)?t:(null!=this._value[e]&&(null==(r=this._logExposure)||r.call(this,this,e)),null!=(n=this._value[e])?n:t)},e.prototype.getRuleID=function(){return this._ruleID},e.prototype.getIDType=function(){return this._idType},e.prototype.getGroupName=function(){return this._groupName},e.prototype.getAllocatedExperimentName=function(){return this._allocatedExperimentName},e.prototype.getEvaluationDetails=function(){return this._evaluationDetails},e}()},90804:function(e,t,r){var n;n=r(62538),r(91750),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){for(var t=e.words,r=e.sigBytes-1,r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.exports=n.pad.ZeroPadding},91197:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},91643:(e,t,r)=>{"use strict";var n,i,o,a=r(41463);Object.defineProperty(t,"__esModule",{value:!0});var s={DynamicHoleKind:function(){return ea},Postpone:function(){return T},PreludeState:function(){return ep},abortAndThrowOnSynchronousRequestDataAccess:function(){return C},abortOnSynchronousPlatformIOAccess:function(){return j},accessedDynamicData:function(){return G},annotateDynamicAccess:function(){return H},consumeDynamicAccess:function(){return V},createDynamicTrackingState:function(){return E},createDynamicValidationState:function(){return k},createHangingInputAbortSignal:function(){return W},createInstantValidationState:function(){return es},createRenderInBrowserAbortSignal:function(){return K},formatDynamicAPIAccesses:function(){return q},getFirstDynamicReason:function(){return A},getNavigationDisallowedDynamicReasons:function(){return ev},getStaticShellDisallowedDynamicReasons:function(){return eb},isDynamicPostpone:function(){return M},isPrerenderInterruptedError:function(){return z},logDisallowedDynamicError:function(){return eh},markCurrentScopeAsDynamic:function(){return R},postponeWithTracking:function(){return L},throwIfDisallowedDynamic:function(){return ey},throwIfSyncIOUsed:function(){return eg},throwToInterruptStaticGeneration:function(){return I},trackAllowedDynamicAccess:function(){return eo},trackDynamicDataInDynamicRender:function(){return P},trackDynamicHoleInNavigation:function(){return el},trackDynamicHoleInRuntimeShell:function(){return ec},trackDynamicHoleInStaticShell:function(){return ef},trackThrownErrorInNavigation:function(){return eu},useDynamicRouteParams:function(){return Z},useDynamicSearchParams:function(){return X}};for(var l in s)Object.defineProperty(t,l,{enumerable:!0,get:s[l]});let u=(n=r(12115))&&n.__esModule?n:{default:n},c=r(44813),f=r(67315),d=r(98635),p=r(5214),h=r(35950),g=r(45653),y=r(11671),b=r(1980),v=r(50657),m=r(72299),_=r(98433),x=r(47589),w=r(77324),S="function"==typeof u.default.unstable_postpone;function E(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicErrorWithStack:null,syncDynamicErrorWithStackPostMicrotask:!1}}function k(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function O(e){return e.syncDynamicErrorWithStackPostMicrotask?null:e.syncDynamicErrorWithStack}function A(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function R(e,t,r){if(t)switch(t.type){case"cache":case"unstable-cache":case"private-cache":return}if(!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw Object.defineProperty(new f.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,
135configurable:!0});if(t)switch(t.type){case"prerender-ppr":return L(e.route,r,t.dynamicTracking);case"prerender-legacy":t.revalidate=0;let n=Object.defineProperty(new c.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}function I(e,t,r){let n=Object.defineProperty(new c.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function P(e){switch(e.type){case"cache":case"unstable-cache":case"private-cache":return}}function D(e,t,r){let n=F(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller.abort(n);let i=r.dynamicTracking;i&&i.dynamicAccesses.push({stack:i.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function j(e,t,r,n){let i=n.dynamicTracking;i&&null===i.syncDynamicErrorWithStack&&(i.syncDynamicErrorWithStack=r,queueMicrotask(()=>{i.syncDynamicErrorWithStackPostMicrotask=!0})),D(e,t,n)}function C(e,t,r,n){if((0,h.trackRuntimeDataAccessed)(n),!1===n.controller.signal.aborted){D(e,t,n);let i=n.dynamicTracking;i&&null===i.syncDynamicErrorWithStack&&(i.syncDynamicErrorWithStack=r)}throw F(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}function T({reason:e,route:t}){let r=d.workUnitAsyncStorage.getStore();L(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function L(e,t,r){(function(){if(!S)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),u.default.unstable_postpone(N(e,t))}function N(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function M(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&U(e.message)}function U(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===U(N("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let B="NEXT_PRERENDER_INTERRUPTED";function F(e){let t=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t.digest=B,t}function z(e){return"object"==typeof e&&null!==e&&e.digest===B&&"name"in e&&"message"in e&&e instanceof Error}function G(e){return e.length>0}function V(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function q(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" (<anonymous>)")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}:
136${t}`))}function K(){let e=new AbortController;return e.abort(Object.defineProperty(new b.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),e.signal}function W(e){switch(e.type){case"prerender":case"prerender-runtime":let t=new AbortController;if(e.cacheSignal)e.cacheSignal.inputReady().then(()=>{t.abort()});else{let r=(0,d.getStagedRenderingController)(e);r&&null!==r.finalStage?r.waitForStage(r.finalStage).then(()=>(0,y.scheduleOnNextTick)(()=>t.abort()),$):(0,y.scheduleOnNextTick)(()=>t.abort())}return t.signal;case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return}}function $(){}function H(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function Z(e){let t=p.workAsyncStorage.getStore(),r=d.workUnitAsyncStorage.getStore();if(t&&r)switch(r.type){case"prerender-client":{let n=r.fallbackRouteParam
136s;n&&n.size>0&&u.default.use((0,h.makeClientHookHangingPromise)(r.renderSignal,new h.ClientHookDynamicError(t.route,e)));break}case"prerender":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called from a Server Component. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"prerender-ppr":{let n=r.fallbackRouteParams;if(n&&n.size>0)return L(t.route,e,r.dynamicTracking);break}case"validation-client":case"prerender-legacy":case"request":case"unstable-cache":break;case"prerender-runtime":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called during a runtime prerender. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called in \`generateStaticParams\`. Next.js should be preventing ${e} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}function X(e){let t=p.workAsyncStorage.getStore(),r=d.workUnitAsyncStorage.getStore();if(t)switch(!r&&(0,d.throwForMissingRequestStore)(e),r.type){case"validation-client":case"request":return;case"prerender-client":u.default.use((0,h.makeClientHookHangingPromise)(r.renderSignal,new h.ClientHookDynamicError(t.route,e)));break;case"prerender-legacy":case"prerender-ppr":if(t.forceStatic)return;throw Object.defineProperty(new b.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called from a Server Component. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called in \`generateStaticParams\`. Next.js should be preventing ${e} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}let J=/\n\s+at Suspense \(<anonymous>\)/,Y=RegExp(`\\n\\s+at Suspense \\(<anonymous>\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(<anonymous>\\))[\\s\\S])*?\\n\\s+at ${g.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),Q=RegExp(`\\n\\s+at ${g.METADATA_BOUNDARY_NAME}[\\n\\s]`),ee=RegExp(`\\n\\s+at ${g.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),et=RegExp(`\\n\\s+at ${g.OUTLET_BOUNDARY_NAME}[\\n\\s]`),er=RegExp(`\\n\\s+at ${_.INSTANT_VALIDATION_BOUNDARY_NAME}[\\n\\s]`),en=RegExp(`\\n\\s+at ${_.INSTANT_SLOT_MARKER_PREFIX}(\\d+)${_.INSTANT_SLOT_MARKER_SUFFIX}[\\n\\s]`);function ei(e,t){Y.test(e)&&(t.hasSuspenseAboveBody=!0)}function eo(e,t,r,n,i){let o=O(i);if(et.test(r))return void ei(r,n);if(Q.test(r)){n.hasDynamicMetadata=!0;return}if(ee.test(r)){n.hasDynamicViewport=!0;return}if(Y.test(r)){n.hasAllowedDynamic=!0,n.hasSuspenseAboveBody=!0;return}if(J.test(r)){n.hasAllowedDynamic=!0;return}else if(o)return void n.dynamicErrors.push(o);if((0,h.isClientHookDynamicError)(e))return void n.dynamicErrors.push(ed(e,r,null));let a=ed((0,v.createDynamicOrRuntimeBodyError)(t.route),r,null);n.dynamicErrors.push(a)}var ea=((i={})[i.Link=1]="Link",i[i.Runtime=2]="Runtime",i[i.Dynamic=3]="Dynamic",i);function es(e){return{hasDynamicMetadata:!1,hasAllowedClientDynamicAboveBoundary:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[],validationPreventingErrors:[],thrownErrorsOutsideBoundary:[],slotStacks:e}}function el(e,t,r,n,i,o,a){let s=O(i);if(et.test(r))return;let l=function(e,t){let{slotStacks:r}=t;if(r.length>1){let t=en.exec(e);if(t){let e=r[parseInt(t[1],10)+1];if(null!=e)return e}}return r[0]??null}(r,n);if(Q.test(r)){n.dynamicMetadata=ed(1===o?(0,v.createLinkMetadataError)(t.route):2===o?(0,v.createRu
136ntimeMetadataError)(t.route):(0,v.createDynamicMetadataError)(t.route),r,l);return}if(ee.test(r)){let e=ed(1===o?(0,v.createLinkViewportError)(t.route):2===o?(0,v.createRuntimeViewportError)(t.route):(0,v.createDynamicViewportError)(t.route),r,l);n.dynamicErrors.push(e);return}let u=er.exec(r);if(u){let e=J.exec(r);if(e&&e.index<u.index){n.hasAllowedDynamic=!0;return}}else if((0,x.allRequiredBoundariesRendered)(a)){n.hasAllowedClientDynamicAboveBoundary=!0,n.hasAllowedDynamic=!0;return}else{let e=ed(Object.defineProperty(Error(`Route "${t.route}": Could not validate \`instant\` because a Client Component in a parent segment prevented the page from rendering.`),"__NEXT_ERROR_CODE",{value:"E1331",enumerable:!1,configurable:!0}),r,l);n.validationPreventingErrors.push(e);return}if(s){null!==l&&void 0===s.cause&&(s.cause=l()),n.dynamicErrors.push(s);return}if((0,h.isClientHookDynamicError)(e))return void n.dynamicErrors.push(ed(e,r,l));let c=ed(1===o?(0,v.createLinkBodyErrorInNavigation)(t.route):2===o?(0,v.createRuntimeBodyErrorInNavigation)(t.route):(0,v.createDynamicBodyErrorInNavigation)(t.route),r,l);n.dynamicErrors.push(c)}function eu(e,t,r,n){let i=er.exec(n);if(i){let o=J.exec(n);if(o&&o.index<i.index)return;let a=ed(Object.defineProperty(Error(`Route "${e.route}": Could not validate \`instant\` because an error prevented the target segment from rendering.`,{cause:r}),"__NEXT_ERROR_CODE",{value:"E1338",enumerable:!1,configurable:!0}),n,null);t.validationPreventingErrors.push(a)}else{let e=ed(Object.defineProperty(Error("An error occurred while attempting to validate instant UI. This error may be preventing the validation from completing.",{cause:r}),"__NEXT_ERROR_CODE",{value:"E1118",enumerable:!1,configurable:!0}),n,null);t.thrownErrorsOutsideBoundary.push(e)}}function ec(e,t,r,n,i){let o=O(i);if(et.test(r))return void ei(r,n);if(Q.test(r)){n.dynamicMetadata=ed((0,v.createDynamicMetadataError)(t.route),r,null);return}if(ee.test(r)){let e=ed((0,v.createDynamicViewportError)(t.route),r,null);n.dynamicErrors.push(e);return}if(Y.test(r)){n.hasAllowedDynamic=!0,n.hasSuspenseAboveBody=!0;return}if(J.test(r)){n.hasAllowedDynamic=!0;return}else if(o)return void n.dynamicErrors.push(o);if((0,h.isClientHookDynamicError)(e))return void n.dynamicErrors.push(ed(e,r,null));let a=ed((0,v.createDynamicBodyError)(t.route),r,null);n.dynamicErrors.push(a)}function ef(e,t,r,n,i){let o=O(i);if(et.test(r))return void ei(r,n);if(Q.test(r)){n.dynamicMetadata=ed((0,v.createRuntimeMetadataError)(t.route),r,null);return}if(ee.test(r)){let e=ed((0,v.createRuntimeViewportError)(t.route),r,null);n.dynamicErrors.push(e);return}if(Y.test(r)){n.hasAllowedDynamic=!0,n.hasSuspenseAboveBody=!0;return}if(J.test(r)){n.hasAllowedDynamic=!0;return}else if(o)return void n.dynamicErrors.push(o);if((0,h.isClientHookDynamicError)(e))return void n.dynamicErrors.push(ed(e,r,null));let a=ed((0,v.createRuntimeBodyError)(t.route),r,null);n.dynamicErrors.push(a)}function ed(e,t,r){return null!==r&&(e.cause=r()),e.stack=e.name+": "+e.message+t,e}var ep=((o={})[o.Full=0]="Full",o[o.Empty=1]="Empty",o[o.Errored=2]="Errored",o);function eh(e,t){console.error(t),(0,v.logBuildDebugHint)(e.route)}function eg(e,t){if(t.syncDynamicErrorWithStack)throw eh(e,t.syncDynamicErrorWithStack),new f.StaticGenBailoutError}function ey(e,t,r,n,i){if(eg(e,n),0===t&&!1===r.hasAllowedDynamic&&r.hasDynamicMetadata)throw console.error((0,v.createDynamicOrRuntimeMetadataError)(e.route).message),new f.StaticGenBailoutError;if(!i&&!r.hasSuspenseAboveBody&&0!==t){let n=r.dynamicErrors;if(n.length>0){for(let t=0;t<n.length;t++)eh(e,n[t]);throw new f.StaticGenBailoutError}if(r.hasDynamicViewport)throw console.error((0,v.createDynamicOrRuntimeViewportError)(e.route).message),new f.StaticGenBailoutError;if(1===t)throw console.error(`Route "${e.route}" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`),new f.StaticGenBailoutError}}function eb(e,t,r,n){if(0===t&&!1===r.hasAllowedDynamic&&0===r.dynamicErrors.length&&r.dynamicMetadata)return[r.dynamicMetadata];if(n||r.hasSuspenseAboveBody)return[];if(0!==t){let n=r.dynamicErrors;if(n.length>0)return n;if(1===t)return[Object.defineProperty(new m.InvariantError(`Route "${e.route}
136" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}return[]}function ev(e,t,r,n,i,o){if(n){let{missingSampleErrors:e}=n;if(e.length>0)return e}let{validationPreventingErrors:s}=r;if(s.length>0)return s;if(0!==t){let n=r.dynamicErrors;if(n.length>0)return n;if(1===t&&!r.hasAllowedClientDynamicAboveBoundary&&(0,x.allRequiredBoundariesRendered)(i))return Object.defineProperty(new m.InvariantError(`Route "${e.route}" failed to render during instant validation and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E1055",enumerable:!1,configurable:!0})}else{let e=r.dynamicErrors;if(e.length>0)return e;if(!1===r.hasAllowedDynamic&&r.dynamicMetadata)return[r.dynamicMetadata]}if(!(0,x.allRequiredBoundariesRendered)(i)){let{thrownErrorsOutsideBoundary:t}=r,n=r.slotStacks[0];if(0===t.length){let t=[];for(let[e,r]of i.requiredIds)if(!i.renderedIds.has(e))for(let e of r){let r=e.replace(/^\[project\][\\/]?/,"").replace(a.cwd()+"/","").replace(a.cwd()+"\\","");t.push(r)}return t.sort(),(0,w.createUnrenderedSegmentError)(e.route,t)}if(1===t.length){let r=`Route "${e.route}": Could not validate \`instant\` because the target segment was prevented from rendering, likely due to the following error.`,i=null!==n?n():Error();return i.name="Error",i.message=r,AggregateError([i,t[0]])}{let r=`Route "${e.route}": Could not validate \`instant\` because the target segment was prevented from rendering, likely due to one of the following errors.`,i=null!==n?n():Error();return i.name="Error",i.message=r,AggregateError([i,...t])}}return[]}},91750:function(e,t,r){var n,i,o,a,s,l,u,c,f,d,p,h,g,y,b,v,m,_;n=r(62538),r(89337),e.exports=void(n.lib.Cipher||(o=(i=n.lib).Base,a=i.WordArray,s=i.BufferedBlockAlgorithm,(l=n.enc).Utf8,u=l.Base64,c=n.algo.EvpKDF,f=i.Cipher=s.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?_:v}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),i.StreamCipher=f.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),d=n.mode={},p=i.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=d.CBC=function(){var e=p.extend();function t(e,t,r){var n,i=this._iv;i?(n=i,this._iv=void 0):n=this._prevBlock;for(var o=0;o<r;o++)e[t+o]^=n[o]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize;t.call(this,e,r,i),n.encryptBlock(e,r),this._prevBlock=e.slice(r,r+i)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=e.slice(r,r+i);n.decryptBlock(e,r),t.call(this,e,r,i),this._prevBlock=o}}),e}(),g=(n.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,o=[],s=0;s<n;s+=4)o.push(i);var l=a.create(o,n);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},i.BlockCipher=f.extend({cfg:f.cfg.extend({mode:h,padding:g}),reset:function(){f.reset.call(this);var e,t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),y=i.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),b=(n.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?a.create([0x53616c74,0x65645f5f]).concat(r).concat(t):t).toString(u)},parse:function(e){var t,r=u.parse(e),n=r.words;return 0x53616c74==n[0]&&0x65645f5f==n[1]&&(t=a.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),y.create({ciphertext:r,salt:t})}},v=i.SerializableCipher=o.extend({cfg:o.extend({format:b}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),o=i.finalize(t),a=i.cfg;return y.create({ciphertext:o,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),m=(n.kdf={}).OpenSSL={execute:function(e,t,r,n,i){if(n||(n=a.random(8)),i)var o=c.create({keySize:t+r,hasher:i}).compute(e,n);else var o=c.create({keySize:t+r}).compute(e,n);var s=a.create(o.words.slice(t),4*r);return o.sigBytes=4*t,y.create({key:o,iv:s,salt:n})}},_=i.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:m}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=i.iv;var o=v.encrypt.call(this,e,t,i.key,n);return o.mixIn(i),o},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=i.iv,v.decrypt.call(this,e,t,i.key,n)}})))},92944:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};
136Object.defineProperty(t,"__esModule",{value:!0}),t._isDomainFailure=t.NetworkFallbackResolver=void 0;let i=r(33449),o=r(82702),a=r(94316),s=r(16590);class l{constructor(e){var t;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=null==(t=e.networkConfig)?void 0:t.networkOverrideFunc}setErrorBoundary(e){this._errorBoundary=e}tryBumpExpiryTime(e,t){var r;let n=null==(r=this._fallbackInfo)?void 0:r[t.endpoint];n&&(n.expiryTime=Date.now()+6048e5,f(e,Object.assign(Object.assign({},this._fallbackInfo),{[t.endpoint]:n})))}getActiveFallbackUrl(e,t){var r,n;if(null!=t.customUrl&&null!=t.fallbackUrls)return null;let i=this._fallbackInfo;null==i&&(i=null!=(r=function(e){let t=c(e),r=s.Storage.getItem(t);if(!r)return null;try{return JSON.parse(r)}catch(e){return a.Log.error("Failed to parse FallbackInfo"),null}}(e))?r:{},this._fallbackInfo=i);let o=i[t.endpoint];return!o||Date.now()>(null!=(n=o.expiryTime)?n:0)||t.getChecksum()!==o.urlConfigChecksum?(delete i[t.endpoint],this._fallbackInfo=i,f(e,this._fallbackInfo),null):o.url?o.url:null}tryFetchUpdatedFallbackInfo(e,t,r,i){var o,a;return n(this,void 0,void 0,function*(){try{if(!u(r,i))return!1;let n=null==t.customUrl&&null==t.fallbackUrls?yield this._tryFetchFallbackUrlsFromNetwork(t):t.fallbackUrls,a=this._pickNewFallbackUrl(null==(o=this._fallbackInfo)?void 0:o[t.endpoint],n);if(!a)return!1;return this._updateFallbackInfoWithNewUrl(e,t,a),!0}catch(e){return null==(a=this._errorBoundary)||a.logError("tryFetchUpdatedFallbackInfo",e),!1}})}_updateFallbackInfoWithNewUrl(e,t,r){var n,i,o;let a={urlConfigChecksum:t.getChecksum(),url:r,expiryTime:Date.now()+6048e5,previous:[]},s=t.endpoint,l=null==(n=this._fallbackInfo)?void 0:n[s];l&&a.previous.push(...l.previous),a.previous.length>10&&(a.previous=[]);let u=null==(o=null==(i=this._fallbackInfo)?void 0:i[s])?void 0:o.url;null!=u&&a.previous.push(u),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[s]:a}),f(e,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(e){var t;return n(this,void 0,void 0,function*(){let r=this._dnsQueryCooldowns[e.endpoint];if(r&&Date.now()<r)return null;this._dnsQueryCooldowns[e.endpoint]=Date.now()+144e5;let n=[],o=yield(0,i._fetchTxtRecords)(null!=(t=this._networkOverrideFunc)?t:fetch),a=function(e){try{return new URL(e).pathname}catch(e){return null}}(e.defaultUrl);for(let t of o){if(!t.startsWith(e.endpointDnsKey+"="))continue;let r=t.split("=");if(r.length>1){let e=r[1];e.endsWith("/")&&(e=e.slice(0,-1)),n.push(`https://${e}${a}`)}}return n})}_pickNewFallbackUrl(e,t){var r;if(null==t)return null;let n=new Set(null!=(r=null==e?void 0:e.previous)?r:[]),i=null==e?void 0:e.url,o=null;for(let e of t){let t=e.endsWith("/")?e.slice(0,-1):e;if(!n.has(e)&&t!==i){o=t;break}}return o}}function u(e,t){var r;let n=null!=(r=null==e?void 0:e.toLowerCase())?r:"";return t||n.includes("uncaught exception")||n.includes("failed to fetch")||n.includes("networkerror when attempting to fetch resource")}function c(e){return`statsig.network_fallback.${(0,o._DJB2)(e)}`}function f(e,t){let r=c(e);t&&0!==Object.keys(t).length?s.Storage.setItem(r,JSON.stringify(t)):s.Storage.removeItem(r)}t.NetworkFallbackResolver=l,t._isDomainFailure=u},92966:(e,t,r)=>{"use strict";var n=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});let i=r(69930),o=r(51765),a=r(71620),s=r(75695),l=r(9499);class u extends i.StatsigClientBase{static instance(e){let t=(0,i._getStatsigGlobal)().instance(e);return t instanceof u?t:(i.Log.warn((0,i._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new u(null!=e?e:"",{}))}constructor(e,t,r=null){var n,s;i.SDKType._setClientType(e,"javascript-client");const u=new a.default(r,e=>{this.$emt(e)});for(const a of(super(e,null!=(n=null==r?void 0:r.dataAdapter)?n:new l.StatsigEvaluationsDataAdapter,u,r),this.getFeatureGate=this._memoize(i.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(i.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(i.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getLayer=this._memoize(i.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(i.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new o.default(e),this._network=u,this._user=this._configureUser(t,r),null!=(s=null==r?void 0:r.plugins)?s:[]))a.bind(this)}initializeSync(e){var t;return"Uninitialized"!==this.loadingStatus?(0,i.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...null!=(t=this._store.getWarnings())?t:[]]):(this._logger.start(),this.updateUserSync(this._user,e))}initializeAsync(e){return n(this,void 0,void 0,function*(){return this._initializePromise||(this._initializePromise=this._initializeAsyncImpl(e)),this._initializePromise})}updateUserSync(e,t){var r;let n=performance.now(),o=[...null!=(r=this._store.getWarnings())?r:[]];this._resetForUser(e);let a=this.dataAdapter.getDataSync(this._user);null==a&&o.push("NoCachedValues"),this._store.setValues(a,this._user),this._finalizeUpdate(a);
136let s=null==t?void 0:t.disableBackgroundCacheRefresh;return!0===s||null==s&&(null==a?void 0:a.source)==="Bootstrap"||this._runPostUpdate(null!=a?a:null,this._user),(0,i.createUpdateDetails)(!0,this._store.getSource(),performance.now()-n,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),o)}updateUserAsync(e,t){return n(this,void 0,void 0,function*(){this._resetForUser(e);let r=this._user;i.Diagnostics._markInitOverallStart(this._sdkKey);let n=this.dataAdapter.getDataSync(r);if(this._store.setValues(n,this._user),this._setStatus("Loading",n),n=yield this.dataAdapter.getDataAsync(n,r,t),r!==this._user)return(0,i.createUpdateDetails)(!1,this._store.getSource(),-1,Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let o=!1;null!=n&&(i.Diagnostics._markInitProcessStart(this._sdkKey),o=this._store.setValues(n,this._user),i.Diagnostics._markInitProcessEnd(this._sdkKey,{success:o})),this._finalizeUpdate(n),o||(this._errorBoundary.attachErrorIfNoneExists(i.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),i.Diagnostics._markInitOverallEnd(this._sdkKey,o,this._store.getCurrentSourceDetails());let a=i.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,i.createUpdateDetails)(o,this._store.getSource(),a,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:i.StatsigSession.get(this._sdkKey),stableID:i.StableID.get(this._sdkKey)}}checkGate(e,t){return this.getFeatureGate(e,t).value}logEvent(e,t,r){let n="string"==typeof e?{eventName:e,value:t,metadata:r}:e;this.$emt({name:"log_event_called",event:n}),this._logger.enqueue(Object.assign(Object.assign({},n),{user:this._user,time:Date.now()}))}_primeReadyRipcord(){this.$on("error",()=>{"Loading"===this.loadingStatus&&this._finalizeUpdate(null)})}_initializeAsyncImpl(e){return n(this,void 0,void 0,function*(){return i.Storage.isReady()||(yield i.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,e)})}_finalizeUpdate(e){this._store.finalize(),this._setStatus("Ready",e)}_runPostUpdate(e,t){this.dataAdapter.getDataAsync(e,t,{priority:"low"}).catch(e=>{i.Log.error("An error occurred after update.",e)})}_resetForUser(e){this._logger.reset(),this._store.reset(),this._user=this._configureUser(e,this._options)}_configureUser(e,t){var r;let n=(0,i._normalizeUser)(e,t),o=null==(r=n.customIDs)?void 0:r.stableID;return o&&i.StableID.setOverride(o,this._sdkKey),n}_getFeatureGateImpl(e,t){var r,n;let{result:o,details:a}=this._store.getGate(e),s=(0,i._makeFeatureGate)(e,a,o),l=null==(n=null==(r=this.overrideAdapter)?void 0:r.getGateOverride)?void 0:n.call(r,s,this._user,t),u=null!=l?l:s;return this._enqueueExposure(e,(0,i._createGateExposure)(this._user,u,this._store.getExposureMapping()),t),this.$emt({name:"gate_evaluation",gate:u}),u}_getDynamicConfigImpl(e,t){var r,n;let{result:o,details:a}=this._store.getConfig(e),s=(0,i._makeDynamicConfig)(e,a,o),l=null==(n=null==(r=this.overrideAdapter)?void 0:r.getDynamicConfigOverride)?void 0:n.call(r,s,this._user,t),u=null!=l?l:s;return this._enqueueExposure(e,(0,i._createConfigExposure)(this._user,u,this._store.getExposureMapping()),t),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:u}),u}_getExperimentImpl(e,t){var r,n,o,a;let{result:s,details:l}=this._store.getConfig(e),u=(0,i._makeExperiment)(e,l,s);null!=u.__evaluation&&(u.__evaluation.secondary_exposures=(0,i._mapExposures)(null!=(n=null==(r=u.__evaluation)?void 0:r.secondary_exposures)?n:[],this._store.getExposureMapping()));let c=null==(a=null==(o=this.overrideAdapter)?void 0:o.getExperimentOverride)?void 0:a.call(o,u,this._user,t),f=null!=c?c:u;return this._enqueueExposure(e,(0,i._createConfigExposure)(this._user,f,this._store.getExposureMapping()),t),this.$emt({name:"experiment_evaluation",experiment:f}),f}_getLayerImpl(e,t){var r,n,o;let{result:a,details:s}=this._store.getLayer(e),l=(0,i._makeLayer)(e,s,a),u=null==(n=null==(r=this.overrideAdapter)?void 0:r.getLayerOverride)?void 0:n.call(r,l,this._user,t);(null==t?void 0:t.disableExposureLog)&&this._logger.incrementNonExposureCount(e);let c=(0,i._mergeOverride)(l,u,null!=(o=null==u?void 0:u.__value)?o:l.__value,r=>{null!=t&&t.disableExposureLog||this._enqueueExposure(e,(0,i._createLayerParameterExposure)(this._user,c,r,this._store.getExposureMapping()),t)}
136);return this.$emt({name:"layer_evaluation",layer:c}),c}_getParameterStoreImpl(e,t){var r,n;let{result:i,details:o}=this._store.getParamStore(e);this._logger.incrementNonExposureCount(e);let a={name:e,details:o,__configuration:i,get:(0,s._makeParamStoreGetter)(this,i,t)},l=null==(n=null==(r=this.overrideAdapter)?void 0:r.getParamStoreOverride)?void 0:n.call(r,a,t);return null!=l&&(a.__configuration=l.config,a.details=l.details,a.get=(0,s._makeParamStoreGetter)(this,l.config,t)),a}}t.default=u},93372:function(e,t,r){var n,i,o,a,s,l,u;o=(i=(n=r(62538)).lib).WordArray,a=i.Hasher,s=n.algo,l=[],u=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],u=0;u<80;u++){if(u<16)l[u]=0|e[t+u];else{var c=l[u-3]^l[u-8]^l[u-14]^l[u-16];l[u]=c<<1|c>>>31}var f=(n<<5|n>>>27)+s+l[u];u<20?f+=(i&o|~i&a)+0x5a827999:u<40?f+=(i^o^a)+0x6ed9eba1:u<60?f+=(i&o|i&a|o&a)-0x70e44324:f+=(i^o^a)-0x359d3e2a,s=a,a=o,o=i<<30|i>>>2,i=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=Math.floor(r/0x100000000),t[(n+64>>>9<<4)+15]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(u),n.HmacSHA1=a._createHmacHelper(u),e.exports=n.SHA1},93727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigProvider=void 0;let n=r(95155),i=r(12115),o=r(69930),a=r(32809),s=r(61057);function l(e){let[t,r]=(0,i.useState)(0),o=(0,s.useClientAsyncInit)(e.sdkKey,e.user,e.options).client,[l,u]=(0,i.useState)(!f(o));c(o,r,u);let d=(0,i.useMemo)(()=>({renderVersion:t,client:o,isLoading:l}),[t,o,l]);return(0,n.jsx)(a.default.Provider,{value:d,children:null!=e.loadingComponent&&d.isLoading?e.loadingComponent:e.children})}function u(e){let[t,r]=(0,i.useState)(0),o=e.client,[s,l]=(0,i.useState)(!f(o));c(o,r,l);let u=(0,i.useMemo)(()=>({renderVersion:t,client:o,isLoading:s}),[t,o,s]);return(0,n.jsx)(a.default.Provider,{value:u,children:null!=e.loadingComponent&&u.isLoading?e.loadingComponent:e.children})}function c(e,t,r){(0,i.useEffect)(()=>{let n=()=>{t(e=>e+1),r(!f(e))};return o.SDKType._setBindingType("react"),e.$on("values_updated",n),()=>{e.flush().catch(e=>o.Log.error("An error occurred during flush",e)),e.off("values_updated",n)}},[e,t])}function f(e){return"isNoop"in e||"Ready"===e.loadingStatus}t.StatsigProvider=function(e){return"client"in e?(("sdkKey"in e||"user"in e)&&o.Log.warn("Both client and configuration props (sdkKey, user) were provided to StatsigProvider. The client prop will be used and the configuration props will be ignored."),(0,n.jsx)(u,Object.assign({},e))):(0,n.jsx)(l,Object.assign({},e))}},94316:(e,t)=>{"use strict";function r(e){return e.unshift("[Statsig]"),e}Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.LogLevel=void 0,t.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class n{static info(...e){n.level>=t.LogLevel.Info&&console.info("  INFO ",...r(e))}static debug(...e){n.level>=t.LogLevel.Debug&&console.debug(" DEBUG ",...r(e))}static warn(...e){n.level>=t.LogLevel.Warn&&console.warn("  WARN ",...r(e))}static error(...e){n.level>=t.LogLevel.Error&&console.error(" ERROR ",...r(e))}}t.Log=n,n.level=t.LogLevel.Warn},95486:function(e,t,r){var n,i,o,a,s,l,u;n=r(62538),r(65067),r(86095),o=(i=n.x64).Word,a=i.WordArray,l=(s=n.algo).SHA512,u=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new o.init(0xcbbb9d5d,0xc1059ed8),new o.init(0x629a292a,0x367cd507),new o.init(0x9159015a,0x3070dd17),new o.init(0x152fecd8,0xf70e5939),new o.init(0x67332667,0xffc00b31),new o.init(0x8eb44a87,0x68581511),new o.init(0xdb0c2e0d,0x64f98fa7),new o.init(0x47b5481d,0xbefa4fa4)])},_doFinalize:function(){var e=l._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=l._createHelper(u),n.HmacSHA384=l._createHmacHelper(u),e.exports=n.SHA384},95702:function(e,t,r){var n;n=r(62538),r(15457),r(39491),r(89337),r(91750),function(){var e=n.lib.StreamCipher,t=n.algo,r=t.RC4=e.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;for(var i=0,o=0;i<256;i++){var a=i%r,s=t[a>>>2]>>>24-a%4*8&255;o=(o+n[i]+s)%256;var l=n[i];n[i]=n[o],n[o]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[r],e[r]=o,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}n.RC4=e._createHelper(r);var o=t.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});n.RC4Drop=e._createHelper(o)}(),e.exports=n.RC4},96136:(e,t)=>{"use strict";
136Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigMetadataProvider=t.SDK_VERSION=void 0,t.SDK_VERSION="3.17.1";let r={sdkVersion:t.SDK_VERSION,sdkType:"js-mono"};t.StatsigMetadataProvider={get:()=>r,add:e=>{r=Object.assign(Object.assign({},r),e)}}},96202:function(e,t,r){var n;n=r(62538),r(65067),function(e){var t=n.lib,r=t.WordArray,i=t.Hasher,o=n.x64.Word,a=n.algo,s=[],l=[],u=[];!function(){for(var e=1,t=0,r=0;r<24;r++){s[e+5*t]=(r+1)*(r+2)/2%64;var n=t%5,i=(2*e+3*t)%5;e=n,t=i}for(var e=0;e<5;e++)for(var t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var a=1,c=0;c<24;c++){for(var f=0,d=0,p=0;p<7;p++){if(1&a){var h=(1<<p)-1;h<32?d^=1<<h:f^=1<<h-32}128&a?a=a<<1^113:a<<=1}u[c]=o.create(f,d)}}();for(var c=[],f=0;f<25;f++)c[f]=o.create();var d=a.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var o=e[t+2*i],a=e[t+2*i+1];o=(o<<8|o>>>24)&0xff00ff|(o<<24|o>>>8)&0xff00ff00,a=(a<<8|a>>>24)&0xff00ff|(a<<24|a>>>8)&0xff00ff00;var f=r[i];f.high^=a,f.low^=o}for(var d=0;d<24;d++){for(var p=0;p<5;p++){for(var h=0,g=0,y=0;y<5;y++){var f=r[p+5*y];h^=f.high,g^=f.low}var b=c[p];b.high=h,b.low=g}for(var p=0;p<5;p++)for(var v=c[(p+4)%5],m=c[(p+1)%5],_=m.high,x=m.low,h=v.high^(_<<1|x>>>31),g=v.low^(x<<1|_>>>31),y=0;y<5;y++){var f=r[p+5*y];f.high^=h,f.low^=g}for(var w=1;w<25;w++){var h,g,f=r[w],S=f.high,E=f.low,k=s[w];k<32?(h=S<<k|E>>>32-k,g=E<<k|S>>>32-k):(h=E<<k-32|S>>>64-k,g=S<<k-32|E>>>64-k);var O=c[l[w]];O.high=h,O.low=g}var A=c[0],R=r[0];A.high=R.high,A.low=R.low;for(var p=0;p<5;p++)for(var y=0;y<5;y++){var w=p+5*y,f=r[w],I=c[w],P=c[(p+1)%5+5*y],D=c[(p+2)%5+5*y];f.high=I.high^~P.high&D.high,f.low=I.low^~P.low&D.low}var f=r[0],j=u[d];f.high^=j.high,f.low^=j.low}},_doFinalize:function(){var t=this._data,n=t.words;this._nDataBytes;var i=8*t.sigBytes,o=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(e.ceil((i+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,l=s/8,u=[],c=0;c<l;c++){var f=a[c],d=f.high,p=f.low;d=(d<<8|d>>>24)&0xff00ff|(d<<24|d>>>8)&0xff00ff00,p=(p<<8|p>>>24)&0xff00ff|(p<<24|p>>>8)&0xff00ff00,u.push(p),u.push(d)}return new r.init(u,s)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});n.SHA3=i._createHelper(d),n.HmacSHA3=i._createHmacHelper(d)}(Math),e.exports=n.SHA3},96771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsafeStringify=void 0;let n=r(3400),i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function o(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}t.unsafeStringify=o,t.default=function(e,t=0){let r=o(e,t);if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r}},97715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(12115),i=r(69930),o=r(84153),a=r(32809);t.default=function(e,t){let{client:r,renderVersion:s}=(0,n.useContext)(a.default);return(0,n.useMemo)(()=>(0,o.isNoopClient)(r)?(i.Log.warn(`useLayer hook failed to find a valid Statsig client for layer '${e}'.`),o.NoopEvaluationsClient.getLayer(e,t)):r.getLayer(e,t),[e,r,s,...t?Object.values(t):[]])}},97964:function(e,t,r){var n,i,o,a,s,l,u,c;n=r(62538),r(88014),r(55638),o=(i=n.lib).Base,a=i.WordArray,l=(s=n.algo).SHA256,u=s.HMAC,c=s.PBKDF2=o.extend({cfg:o.extend({keySize:4,hasher:l,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=u.create(r.hasher,e),i=a.create(),o=a.create([1]),s=i.words,l=o.words,c=r.keySize,f=r.iterations;s.length<c;){var d=n.update(t).finalize(o);n.reset();for(var p=d.words,h=p.length,g=d,y=1;y<f;y++){g=n.finalize(g),n.reset();for(var b=g.words,v=0;v<h;v++)p[v]^=b[v]}i.concat(d),l[0]++}return i.sigBytes=4*c,i}}),n.PBKDF2=function(e,t,r){return c.create(r).compute(e,t)},e.exports=n.PBKDF2},98433:(e,t)=>
136{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={INSTANT_SLOT_MARKER_PREFIX:function(){return o},INSTANT_SLOT_MARKER_SUFFIX:function(){return a},INSTANT_VALIDATION_BOUNDARY_NAME:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i="__next_instant_validation_boundary__",o="__next_instant_slot_",a="__"},98635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getCacheSignal:function(){return g},getDraftModeProviderForCacheScope:function(){return p},getHmrRefreshHash:function(){return c},getResumeDataCache:function(){return u},getServerComponentsHmrCache:function(){return d},getStagedRenderingController:function(){return h},getVaryParamsAccumulator:function(){return y},isHmrRefresh:function(){return f},throwForMissingRequestStore:function(){return s},throwInvariantForMissingStore:function(){return l},workUnitAsyncStorage:function(){return o.workUnitAsyncStorageInstance}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(74931),a=r(25078);function s(e){throw Object.defineProperty(Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function l(){throw Object.defineProperty(new a.InvariantError("Expected workUnitAsyncStorage to have a store."),"__NEXT_ERROR_CODE",{value:"E696",enumerable:!1,configurable:!0})}function u(e){switch(e.type){case"request":case"prerender":case"prerender-runtime":case"prerender-client":case"validation-client":case"prerender-ppr":return e.resumeDataCache;case"cache":case"private-cache":case"unstable-cache":case"prerender-legacy":case"generate-static-params":return null;default:return e}}function c(e){}function f(e){return!1}function d(e){}function p(e,t){if(e.isDraftMode)switch(t.type){case"cache":case"private-cache":case"unstable-cache":case"prerender-runtime":case"request":return t.draftMode}}function h(e){switch(e.type){case"request":case"prerender-runtime":case"prerender":return e.stagedRendering??null;case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}function g(e){switch(e.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":return e.cacheSignal;case"request":if(e.cacheSignal)return e.cacheSignal;case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}function y(e){switch(e.type){case"prerender":case"prerender-runtime":case"request":return e.varyParamsAccumulator??null;default:return null}}},99857:function(e,t,r){var n;n=r(62538),r(15457),r(39491),r(89337),r(91750),function(){var e=n.lib.StreamCipher,t=n.algo,r=[],i=[],o=[],a=t.Rabbit=e.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=(e[r]<<8|e[r]>>>24)&0xff00ff|(e[r]<<24|e[r]>>>8)&0xff00ff00;var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,0xffff0000&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,0xffff0000&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,0xffff0000&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,0xffff0000&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)s.call(this);for(var r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var o=t.words,a=o[0],l=o[1],u=(a<<8|a>>>24)&0xff00ff|(a<<24|a>>>8)&0xff00ff00,c=(l<<8|l>>>24)&0xff00ff|(l<<24|l>>>8)&0xff00ff00,f=u>>>16|0xffff0000&c,d=c<<16|65535&u;i[0]^=u,i[1]^=f,i[2]^=c,i[3]^=d,i[4]^=u,i[5]^=f,i[6]^=c,i[7]^=d;for(var r=0;r<4;r++)s.call(this)}},_doProcessBlock:function(e,t){var n=this._X;s.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=(r[i]<<8|r[i]>>>24)&0xff00ff|(r[i]<<24|r[i]>>>8)&0xff00ff00,e[t+i]^=r[i]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];t[0]=t[0]+0x4d34d34d+this._b|0,t[1]=t[1]+0xd34d34d3+ +(t[0]>>>0<i[0]>>>0)|0,t[2]=t[2]+0x34d34d34+ +(t[1]>>>0<i[1]>>>0)|0,t[3]=t[3]+0x4d34d34d+ +(t[2]>>>0<i[2]>>>0)|0,t[4]=t[4]+0xd34d34d3+ +(t[3]>>>0<i[3]>>>0)|0,t[5]=t[5]+0x34d34d34+ +(t[4]>>>0<i[4]>>>0)|0,t[6]=t[6]+0x4d34d34d+ +(t[5]>>>0<i[5]>>>0)|0,t[7]=t[7]+0xd34d34d3+ +(t[6]>>>0<i[6]>>>0)|0,this._b=+(t[7]>>>0<i[7]>>>0);for(var r=0;r<8;r++){var n=e[r]+t[r],a=65535&n,s=n>>>16,l=((a*a>>>17)+a*s>>>15)+s*s,u=((0xffff0000&n)*n|0)+((65535&n)*n|0);o[r]=l^u}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}n.Rabbit=e._createHelper(a)}(),e.exports=n.Rabbit}}]);

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.