@tarxemo/customer_support 1.2.4 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ChatInput.d.ts.map +1 -1
- package/dist/customer_support.css +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +28940 -1456
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +309 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,7 +1,310 @@
|
|
|
1
|
-
(function(R,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react"),require("lucide-react")):typeof define=="function"&&define.amd?define(["exports","react","lucide-react"],f):(R=typeof globalThis<"u"?globalThis:R||self,f(R.CustomerSupport={},R.React,R.lucideReact))})(this,(function(R,f,I){"use strict";var Qr=Object.defineProperty;var Zr=(R,f,I)=>f in R?Qr(R,f,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[f]=I;var xt=(R,f,I)=>Zr(R,typeof f!="symbol"?f+"":f,I);function Re(e,t){return function(){return e.apply(t,arguments)}}const{toString:St}=Object.prototype,{getPrototypeOf:he}=Object,{iterator:se,toStringTag:Ne}=Symbol,ne=(e=>t=>{const r=St.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),$=e=>(e=e.toLowerCase(),t=>ne(t)===e),oe=e=>t=>typeof t===e,{isArray:V}=Array,X=oe("undefined");function G(e){return e!==null&&!X(e)&&e.constructor!==null&&!X(e.constructor)&&U(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ve=$("ArrayBuffer");function Ot(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ve(e.buffer),t}const Tt=oe("string"),U=oe("function"),ke=oe("number"),Q=e=>e!==null&&typeof e=="object",At=e=>e===!0||e===!1,ie=e=>{if(ne(e)!=="object")return!1;const t=he(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ne in e)&&!(se in e)},Ct=e=>{if(!Q(e)||G(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Rt=$("Date"),Nt=$("File"),vt=$("Blob"),kt=$("FileList"),Pt=e=>Q(e)&&U(e.pipe),Dt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||U(e.append)&&((t=ne(e))==="formdata"||t==="object"&&U(e.toString)&&e.toString()==="[object FormData]"))},Ut=$("URLSearchParams"),[Ft,Lt,It,Bt]=["ReadableStream","Request","Response","Headers"].map($),jt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Z(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let s,n;if(typeof e!="object"&&(e=[e]),V(e))for(s=0,n=e.length;s<n;s++)t.call(null,e[s],s,e);else{if(G(e))return;const o=r?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let c;for(s=0;s<i;s++)c=o[s],t.call(null,e[c],c,e)}}function Pe(e,t){if(G(e))return null;t=t.toLowerCase();const r=Object.keys(e);let s=r.length,n;for(;s-- >0;)if(n=r[s],t===n.toLowerCase())return n;return null}const J=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,De=e=>!X(e)&&e!==J;function ge(){const{caseless:e,skipUndefined:t}=De(this)&&this||{},r={},s=(n,o)=>{const i=e&&Pe(r,o)||o;ie(r[i])&&ie(n)?r[i]=ge(r[i],n):ie(n)?r[i]=ge({},n):V(n)?r[i]=n.slice():(!t||!X(n))&&(r[i]=n)};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&Z(arguments[n],s);return r}const $t=(e,t,r,{allOwnKeys:s}={})=>(Z(t,(n,o)=>{r&&U(n)?Object.defineProperty(e,o,{value:Re(n,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),e),Mt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ht=(e,t,r,s)=>{e.prototype=Object.create(t.prototype,s),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},qt=(e,t,r,s)=>{let n,o,i;const c={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),o=n.length;o-- >0;)i=n[o],(!s||s(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=r!==!1&&he(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},zt=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const s=e.indexOf(t,r);return s!==-1&&s===r},Jt=e=>{if(!e)return null;if(V(e))return e;let t=e.length;if(!ke(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Wt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&he(Uint8Array)),Kt=(e,t)=>{const s=(e&&e[se]).call(e);let n;for(;(n=s.next())&&!n.done;){const o=n.value;t.call(e,o[0],o[1])}},Vt=(e,t)=>{let r;const s=[];for(;(r=e.exec(t))!==null;)s.push(r);return s},Xt=$("HTMLFormElement"),Yt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,s,n){return s.toUpperCase()+n}),Ue=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Gt=$("RegExp"),Fe=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),s={};Z(r,(n,o)=>{let i;(i=t(n,o,e))!==!1&&(s[o]=i||n)}),Object.defineProperties(e,s)},Qt=e=>{Fe(e,(t,r)=>{if(U(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const s=e[r];if(U(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Zt=(e,t)=>{const r={},s=n=>{n.forEach(o=>{r[o]=!0})};return V(e)?s(e):s(String(e).split(t)),r},er=()=>{},tr=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function rr(e){return!!(e&&U(e.append)&&e[Ne]==="FormData"&&e[se])}const sr=e=>{const t=new Array(10),r=(s,n)=>{if(Q(s)){if(t.indexOf(s)>=0)return;if(G(s))return s;if(!("toJSON"in s)){t[n]=s;const o=V(s)?[]:{};return Z(s,(i,c)=>{const p=r(i,n+1);!X(p)&&(o[c]=p)}),t[n]=void 0,o}}return s};return r(e,0)},nr=$("AsyncFunction"),or=e=>e&&(Q(e)||U(e))&&U(e.then)&&U(e.catch),Le=((e,t)=>e?setImmediate:t?((r,s)=>(J.addEventListener("message",({source:n,data:o})=>{n===J&&o===r&&s.length&&s.shift()()},!1),n=>{s.push(n),J.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",U(J.postMessage)),ir=typeof queueMicrotask<"u"?queueMicrotask.bind(J):typeof process<"u"&&process.nextTick||Le,a={isArray:V,isArrayBuffer:ve,isBuffer:G,isFormData:Dt,isArrayBufferView:Ot,isString:Tt,isNumber:ke,isBoolean:At,isObject:Q,isPlainObject:ie,isEmptyObject:Ct,isReadableStream:Ft,isRequest:Lt,isResponse:It,isHeaders:Bt,isUndefined:X,isDate:Rt,isFile:Nt,isBlob:vt,isRegExp:Gt,isFunction:U,isStream:Pt,isURLSearchParams:Ut,isTypedArray:Wt,isFileList:kt,forEach:Z,merge:ge,extend:$t,trim:jt,stripBOM:Mt,inherits:Ht,toFlatObject:qt,kindOf:ne,kindOfTest:$,endsWith:zt,toArray:Jt,forEachEntry:Kt,matchAll:Vt,isHTMLForm:Xt,hasOwnProperty:Ue,hasOwnProp:Ue,reduceDescriptors:Fe,freezeMethods:Qt,toObjectSet:Zt,toCamelCase:Yt,noop:er,toFiniteNumber:tr,findKey:Pe,global:J,isContextDefined:De,isSpecCompliantForm:rr,toJSONObject:sr,isAsyncFn:nr,isThenable:or,setImmediate:Le,asap:ir,isIterable:e=>e!=null&&U(e[se])};let w=class Et extends Error{static from(t,r,s,n,o,i){const c=new Et(t.message,r||t.code,s,n,o);return c.cause=t,c.name=t.name,i&&Object.assign(c,i),c}constructor(t,r,s,n,o){super(t),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),s&&(this.config=s),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}};w.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",w.ERR_BAD_OPTION="ERR_BAD_OPTION",w.ECONNABORTED="ECONNABORTED",w.ETIMEDOUT="ETIMEDOUT",w.ERR_NETWORK="ERR_NETWORK",w.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",w.ERR_DEPRECATED="ERR_DEPRECATED",w.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",w.ERR_BAD_REQUEST="ERR_BAD_REQUEST",w.ERR_CANCELED="ERR_CANCELED",w.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",w.ERR_INVALID_URL="ERR_INVALID_URL";const ar=null;function we(e){return a.isPlainObject(e)||a.isArray(e)}function Ie(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function Be(e,t,r){return e?e.concat(t).map(function(n,o){return n=Ie(n),!r&&o?"["+n+"]":n}).join(r?".":""):t}function cr(e){return a.isArray(e)&&!e.some(we)}const lr=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function ae(e,t,r){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=a.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,h){return!a.isUndefined(h[g])});const s=r.metaTokens,n=r.visitor||l,o=r.dots,i=r.indexes,p=(r.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(n))throw new TypeError("visitor must be a function");function u(d){if(d===null)return"";if(a.isDate(d))return d.toISOString();if(a.isBoolean(d))return d.toString();if(!p&&a.isBlob(d))throw new w("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(d)||a.isTypedArray(d)?p&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function l(d,g,h){let T=d;if(d&&!h&&typeof d=="object"){if(a.endsWith(g,"{}"))g=s?g:g.slice(0,-2),d=JSON.stringify(d);else if(a.isArray(d)&&cr(d)||(a.isFileList(d)||a.endsWith(g,"[]"))&&(T=a.toArray(d)))return g=Ie(g),T.forEach(function(_,y){!(a.isUndefined(_)||_===null)&&t.append(i===!0?Be([g],y,o):i===null?g:g+"[]",u(_))}),!1}return we(d)?!0:(t.append(Be(h,g,o),u(d)),!1)}const m=[],x=Object.assign(lr,{defaultVisitor:l,convertValue:u,isVisitable:we});function N(d,g){if(!a.isUndefined(d)){if(m.indexOf(d)!==-1)throw Error("Circular reference detected in "+g.join("."));m.push(d),a.forEach(d,function(T,S){(!(a.isUndefined(T)||T===null)&&n.call(t,T,a.isString(S)?S.trim():S,g,x))===!0&&N(T,g?g.concat(S):[S])}),m.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return N(e),t}function je(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function be(e,t){this._pairs=[],e&&ae(e,this,t)}const $e=be.prototype;$e.append=function(t,r){this._pairs.push([t,r])},$e.toString=function(t){const r=t?function(s){return t.call(this,s,je)}:je;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};function ur(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Me(e,t,r){if(!t)return e;const s=r&&r.encode||ur,n=a.isFunction(r)?{serialize:r}:r,o=n&&n.serialize;let i;if(o?i=o(t,n):i=a.isURLSearchParams(t)?t.toString():new be(t,n).toString(s),i){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class He{constructor(){this.handlers=[]}use(t,r,s){return this.handlers.push({fulfilled:t,rejected:r,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(s){s!==null&&t(s)})}}const qe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dr={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:be,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},ye=typeof window<"u"&&typeof document<"u",xe=typeof navigator=="object"&&navigator||void 0,fr=ye&&(!xe||["ReactNative","NativeScript","NS"].indexOf(xe.product)<0),pr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",mr=ye&&window.location.href||"http://localhost",k={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ye,hasStandardBrowserEnv:fr,hasStandardBrowserWebWorkerEnv:pr,navigator:xe,origin:mr},Symbol.toStringTag,{value:"Module"})),...dr};function hr(e,t){return ae(e,new k.classes.URLSearchParams,{visitor:function(r,s,n,o){return k.isNode&&a.isBuffer(r)?(this.append(s,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function gr(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function wr(e){const t={},r=Object.keys(e);let s;const n=r.length;let o;for(s=0;s<n;s++)o=r[s],t[o]=e[o];return t}function ze(e){function t(r,s,n,o){let i=r[o++];if(i==="__proto__")return!0;const c=Number.isFinite(+i),p=o>=r.length;return i=!i&&a.isArray(n)?n.length:i,p?(a.hasOwnProp(n,i)?n[i]=[n[i],s]:n[i]=s,!c):((!n[i]||!a.isObject(n[i]))&&(n[i]=[]),t(r,s,n[i],o)&&a.isArray(n[i])&&(n[i]=wr(n[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const r={};return a.forEachEntry(e,(s,n)=>{t(gr(s),n,r,0)}),r}return null}function br(e,t,r){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(r||JSON.stringify)(e)}const ee={transitional:qe,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const s=r.getContentType()||"",n=s.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return n?JSON.stringify(ze(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return hr(t,this.formSerializer).toString();if((c=a.isFileList(t))||s.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return ae(c?{"files[]":t}:t,p&&new p,this.formSerializer)}}return o||n?(r.setContentType("application/json",!1),br(t)):t}],transformResponse:[function(t){const r=this.transitional||ee.transitional,s=r&&r.forcedJSONParsing,n=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(s&&!this.responseType||n)){const i=!(r&&r.silentJSONParsing)&&n;try{return JSON.parse(t,this.parseReviver)}catch(c){if(i)throw c.name==="SyntaxError"?w.from(c,w.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:k.classes.FormData,Blob:k.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{ee.headers[e]={}});const yr=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),xr=e=>{const t={};let r,s,n;return e&&e.split(`
|
|
2
|
-
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const s=new this(t);return r.forEach(n=>s.set(n)),s}static accessor(t){const s=(this[Je]=this[Je]={accessors:{}}).accessors,n=this.prototype;function o(i){const c=te(i);s[c]||(Or(n,i),s[c]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}};F.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),a.reduceDescriptors(F.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[r]=s}}}),a.freezeMethods(F);function _e(e,t){const r=this||ee,s=t||r,n=F.from(s.headers);let o=s.data;return a.forEach(e,function(c){o=c.call(r,o,n.normalize(),t?t.status:void 0)}),n.normalize(),o}function We(e){return!!(e&&e.__CANCEL__)}let re=class extends w{constructor(t,r,s){super(t??"canceled",w.ERR_CANCELED,r,s),this.name="CanceledError",this.__CANCEL__=!0}};function Ke(e,t,r){const s=r.config.validateStatus;!r.status||!s||s(r.status)?e(r):t(new w("Request failed with status code "+r.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Tr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ar(e,t){e=e||10;const r=new Array(e),s=new Array(e);let n=0,o=0,i;return t=t!==void 0?t:1e3,function(p){const u=Date.now(),l=s[o];i||(i=u),r[n]=p,s[n]=u;let m=o,x=0;for(;m!==n;)x+=r[m++],m=m%e;if(n=(n+1)%e,n===o&&(o=(o+1)%e),u-i<t)return;const N=l&&u-l;return N?Math.round(x*1e3/N):void 0}}function Cr(e,t){let r=0,s=1e3/t,n,o;const i=(u,l=Date.now())=>{r=l,n=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const l=Date.now(),m=l-r;m>=s?i(u,l):(n=u,o||(o=setTimeout(()=>{o=null,i(n)},s-m)))},()=>n&&i(n)]}const le=(e,t,r=3)=>{let s=0;const n=Ar(50,250);return Cr(o=>{const i=o.loaded,c=o.lengthComputable?o.total:void 0,p=i-s,u=n(p),l=i<=c;s=i;const m={loaded:i,total:c,progress:c?i/c:void 0,bytes:p,rate:u||void 0,estimated:u&&c&&l?(c-i)/u:void 0,event:o,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(m)},r)},Ve=(e,t)=>{const r=e!=null;return[s=>t[0]({lengthComputable:r,total:e,loaded:s}),t[1]]},Xe=e=>(...t)=>a.asap(()=>e(...t)),Rr=k.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,k.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(k.origin),k.navigator&&/(msie|trident)/i.test(k.navigator.userAgent)):()=>!0,Nr=k.hasStandardBrowserEnv?{write(e,t,r,s,n,o,i){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];a.isNumber(r)&&c.push(`expires=${new Date(r).toUTCString()}`),a.isString(s)&&c.push(`path=${s}`),a.isString(n)&&c.push(`domain=${n}`),o===!0&&c.push("secure"),a.isString(i)&&c.push(`SameSite=${i}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vr(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function kr(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ye(e,t,r){let s=!vr(t);return e&&(s||r==!1)?kr(e,t):t}const Ge=e=>e instanceof F?{...e}:e;function W(e,t){t=t||{};const r={};function s(u,l,m,x){return a.isPlainObject(u)&&a.isPlainObject(l)?a.merge.call({caseless:x},u,l):a.isPlainObject(l)?a.merge({},l):a.isArray(l)?l.slice():l}function n(u,l,m,x){if(a.isUndefined(l)){if(!a.isUndefined(u))return s(void 0,u,m,x)}else return s(u,l,m,x)}function o(u,l){if(!a.isUndefined(l))return s(void 0,l)}function i(u,l){if(a.isUndefined(l)){if(!a.isUndefined(u))return s(void 0,u)}else return s(void 0,l)}function c(u,l,m){if(m in t)return s(u,l);if(m in e)return s(void 0,u)}const p={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(u,l,m)=>n(Ge(u),Ge(l),m,!0)};return a.forEach(Object.keys({...e,...t}),function(l){const m=p[l]||n,x=m(e[l],t[l],l);a.isUndefined(x)&&m!==c||(r[l]=x)}),r}const Qe=e=>{const t=W({},e);let{data:r,withXSRFToken:s,xsrfHeaderName:n,xsrfCookieName:o,headers:i,auth:c}=t;if(t.headers=i=F.from(i),t.url=Me(Ye(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),a.isFormData(r)){if(k.hasStandardBrowserEnv||k.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(a.isFunction(r.getHeaders)){const p=r.getHeaders(),u=["content-type","content-length"];Object.entries(p).forEach(([l,m])=>{u.includes(l.toLowerCase())&&i.set(l,m)})}}if(k.hasStandardBrowserEnv&&(s&&a.isFunction(s)&&(s=s(t)),s||s!==!1&&Rr(t.url))){const p=n&&o&&Nr.read(o);p&&i.set(n,p)}return t},Pr=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(r,s){const n=Qe(e);let o=n.data;const i=F.from(n.headers).normalize();let{responseType:c,onUploadProgress:p,onDownloadProgress:u}=n,l,m,x,N,d;function g(){N&&N(),d&&d(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let h=new XMLHttpRequest;h.open(n.method.toUpperCase(),n.url,!0),h.timeout=n.timeout;function T(){if(!h)return;const _=F.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),C={data:!c||c==="text"||c==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:_,config:e,request:h};Ke(function(P){r(P),g()},function(P){s(P),g()},C),h=null}"onloadend"in h?h.onloadend=T:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(T)},h.onabort=function(){h&&(s(new w("Request aborted",w.ECONNABORTED,e,h)),h=null)},h.onerror=function(y){const C=y&&y.message?y.message:"Network Error",L=new w(C,w.ERR_NETWORK,e,h);L.event=y||null,s(L),h=null},h.ontimeout=function(){let y=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const C=n.transitional||qe;n.timeoutErrorMessage&&(y=n.timeoutErrorMessage),s(new w(y,C.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,h)),h=null},o===void 0&&i.setContentType(null),"setRequestHeader"in h&&a.forEach(i.toJSON(),function(y,C){h.setRequestHeader(C,y)}),a.isUndefined(n.withCredentials)||(h.withCredentials=!!n.withCredentials),c&&c!=="json"&&(h.responseType=n.responseType),u&&([x,d]=le(u,!0),h.addEventListener("progress",x)),p&&h.upload&&([m,N]=le(p),h.upload.addEventListener("progress",m),h.upload.addEventListener("loadend",N)),(n.cancelToken||n.signal)&&(l=_=>{h&&(s(!_||_.type?new re(null,e,h):_),h.abort(),h=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal&&(n.signal.aborted?l():n.signal.addEventListener("abort",l)));const S=Tr(n.url);if(S&&k.protocols.indexOf(S)===-1){s(new w("Unsupported protocol "+S+":",w.ERR_BAD_REQUEST,e));return}h.send(o||null)})},Dr=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let s=new AbortController,n;const o=function(u){if(!n){n=!0,c();const l=u instanceof Error?u:this.reason;s.abort(l instanceof w?l:new re(l instanceof Error?l.message:l))}};let i=t&&setTimeout(()=>{i=null,o(new w(`timeout of ${t}ms exceeded`,w.ETIMEDOUT))},t);const c=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:p}=s;return p.unsubscribe=()=>a.asap(c),p}},Ur=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let s=0,n;for(;s<r;)n=s+t,yield e.slice(s,n),s=n},Fr=async function*(e,t){for await(const r of Lr(e))yield*Ur(r,t)},Lr=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:s}=await t.read();if(r)break;yield s}}finally{await t.cancel()}},Ze=(e,t,r,s)=>{const n=Fr(e,t);let o=0,i,c=p=>{i||(i=!0,s&&s(p))};return new ReadableStream({async pull(p){try{const{done:u,value:l}=await n.next();if(u){c(),p.close();return}let m=l.byteLength;if(r){let x=o+=m;r(x)}p.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(p){return c(p),n.return()}},{highWaterMark:2})},et=64*1024,{isFunction:ue}=a,Ir=(({Request:e,Response:t})=>({Request:e,Response:t}))(a.global),{ReadableStream:tt,TextEncoder:rt}=a.global,st=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Br=e=>{e=a.merge.call({skipUndefined:!0},Ir,e);const{fetch:t,Request:r,Response:s}=e,n=t?ue(t):typeof fetch=="function",o=ue(r),i=ue(s);if(!n)return!1;const c=n&&ue(tt),p=n&&(typeof rt=="function"?(d=>g=>d.encode(g))(new rt):async d=>new Uint8Array(await new r(d).arrayBuffer())),u=o&&c&&st(()=>{let d=!1;const g=new r(k.origin,{body:new tt,method:"POST",get duplex(){return d=!0,"half"}}).headers.has("Content-Type");return d&&!g}),l=i&&c&&st(()=>a.isReadableStream(new s("").body)),m={stream:l&&(d=>d.body)};n&&["text","arrayBuffer","blob","formData","stream"].forEach(d=>{!m[d]&&(m[d]=(g,h)=>{let T=g&&g[d];if(T)return T.call(g);throw new w(`Response type '${d}' is not supported`,w.ERR_NOT_SUPPORT,h)})});const x=async d=>{if(d==null)return 0;if(a.isBlob(d))return d.size;if(a.isSpecCompliantForm(d))return(await new r(k.origin,{method:"POST",body:d}).arrayBuffer()).byteLength;if(a.isArrayBufferView(d)||a.isArrayBuffer(d))return d.byteLength;if(a.isURLSearchParams(d)&&(d=d+""),a.isString(d))return(await p(d)).byteLength},N=async(d,g)=>{const h=a.toFiniteNumber(d.getContentLength());return h??x(g)};return async d=>{let{url:g,method:h,data:T,signal:S,cancelToken:_,timeout:y,onDownloadProgress:C,onUploadProgress:L,responseType:P,headers:b,withCredentials:O="same-origin",fetchOptions:D}=Qe(d),v=t||fetch;P=P?(P+"").toLowerCase():"text";let B=Dr([S,_&&_.toAbortSignal()],y),E=null;const H=B&&B.unsubscribe&&(()=>{B.unsubscribe()});let pe;try{if(L&&u&&h!=="get"&&h!=="head"&&(pe=await N(b,T))!==0){let z=new r(g,{method:"POST",body:T,duplex:"half"}),Y;if(a.isFormData(T)&&(Y=z.headers.get("content-type"))&&b.setContentType(Y),z.body){const[Ce,me]=Ve(pe,le(Xe(L)));T=Ze(z.body,et,Ce,me)}}a.isString(O)||(O=O?"include":"omit");const j=o&&"credentials"in r.prototype,wt={...D,signal:B,method:h.toUpperCase(),headers:b.normalize().toJSON(),body:T,duplex:"half",credentials:j?O:void 0};E=o&&new r(g,wt);let q=await(o?v(E,D):v(g,wt));const bt=l&&(P==="stream"||P==="response");if(l&&(C||bt&&H)){const z={};["status","statusText","headers"].forEach(yt=>{z[yt]=q[yt]});const Y=a.toFiniteNumber(q.headers.get("content-length")),[Ce,me]=C&&Ve(Y,le(Xe(C),!0))||[];q=new s(Ze(q.body,et,Ce,()=>{me&&me(),H&&H()}),z)}P=P||"text";let Gr=await m[a.findKey(m,P)||"text"](q,d);return!bt&&H&&H(),await new Promise((z,Y)=>{Ke(z,Y,{data:Gr,headers:F.from(q.headers),status:q.status,statusText:q.statusText,config:d,request:E})})}catch(j){throw H&&H(),j&&j.name==="TypeError"&&/Load failed|fetch/i.test(j.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,d,E),{cause:j.cause||j}):w.from(j,j&&j.code,d,E)}}},jr=new Map,nt=e=>{let t=e&&e.env||{};const{fetch:r,Request:s,Response:n}=t,o=[s,n,r];let i=o.length,c=i,p,u,l=jr;for(;c--;)p=o[c],u=l.get(p),u===void 0&&l.set(p,u=c?new Map:Br(t)),l=u;return u};nt();const Se={http:ar,xhr:Pr,fetch:{get:nt}};a.forEach(Se,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ot=e=>`- ${e}`,$r=e=>a.isFunction(e)||e===null||e===!1;function Mr(e,t){e=a.isArray(e)?e:[e];const{length:r}=e;let s,n;const o={};for(let i=0;i<r;i++){s=e[i];let c;if(n=s,!$r(s)&&(n=Se[(c=String(s)).toLowerCase()],n===void 0))throw new w(`Unknown adapter '${c}'`);if(n&&(a.isFunction(n)||(n=n.get(t))))break;o[c||"#"+i]=n}if(!n){const i=Object.entries(o).map(([p,u])=>`adapter ${p} `+(u===!1?"is not supported by the environment":"is not available in the build"));let c=r?i.length>1?`since :
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
`+o):s.stack=o}catch{}}throw s}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=W(this.defaults,r);const{transitional:s,paramsSerializer:n,headers:o}=r;s!==void 0&&fe.assertOptions(s,{silentJSONParsing:M.transitional(M.boolean),forcedJSONParsing:M.transitional(M.boolean),clarifyTimeoutError:M.transitional(M.boolean)},!1),n!=null&&(a.isFunction(n)?r.paramsSerializer={serialize:n}:fe.assertOptions(n,{encode:M.function,serialize:M.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),fe.assertOptions(r,{baseUrl:M.spelling("baseURL"),withXsrfToken:M.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[r.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],d=>{delete o[d]}),r.headers=F.concat(i,o);const c=[];let p=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(r)===!1||(p=p&&g.synchronous,c.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let l,m=0,x;if(!p){const d=[at.bind(this),void 0];for(d.unshift(...c),d.push(...u),x=d.length,l=Promise.resolve(r);m<x;)l=l.then(d[m++],d[m++]);return l}x=c.length;let N=r;for(;m<x;){const d=c[m++],g=c[m++];try{N=d(N)}catch(h){g.call(this,h);break}}try{l=at.call(this,N)}catch(d){return Promise.reject(d)}for(m=0,x=u.length;m<x;)l=l.then(u[m++],u[m++]);return l}getUri(t){t=W(this.defaults,t);const r=Ye(t.baseURL,t.url,t.allowAbsoluteUrls);return Me(r,t.params,t.paramsSerializer)}};a.forEach(["delete","get","head","options"],function(t){K.prototype[t]=function(r,s){return this.request(W(s||{},{method:t,url:r,data:(s||{}).data}))}}),a.forEach(["post","put","patch"],function(t){function r(s){return function(o,i,c){return this.request(W(c||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}K.prototype[t]=r(),K.prototype[t+"Form"]=r(!0)});let qr=class _t{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const s=this;this.promise.then(n=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](n);s._listeners=null}),this.promise.then=n=>{let o;const i=new Promise(c=>{s.subscribe(c),o=c}).then(n);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,c){s.reason||(s.reason=new re(o,i,c),r(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=s=>{t.abort(s)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new _t(function(n){t=n}),cancel:t}}};function zr(e){return function(r){return e.apply(null,r)}}function Jr(e){return a.isObject(e)&&e.isAxiosError===!0}const Te={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Te).forEach(([e,t])=>{Te[t]=e});function ut(e){const t=new K(e),r=Re(K.prototype.request,t);return a.extend(r,K.prototype,t,{allOwnKeys:!0}),a.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return ut(W(e,n))},r}const A=ut(ee);A.Axios=K,A.CanceledError=re,A.CancelToken=qr,A.isCancel=We,A.VERSION=ct,A.toFormData=ae,A.AxiosError=w,A.Cancel=A.CanceledError,A.all=function(t){return Promise.all(t)},A.spread=zr,A.isAxiosError=Jr,A.mergeConfig=W,A.AxiosHeaders=F,A.formToJSON=e=>ze(a.isHTMLForm(e)?new FormData(e):e),A.getAdapter=it.getAdapter,A.HttpStatusCode=Te,A.default=A;const{Axios:is,AxiosError:as,CanceledError:cs,isCancel:ls,CancelToken:us,VERSION:ds,all:fs,Cancel:ps,isAxiosError:ms,spread:hs,toFormData:gs,AxiosHeaders:ws,HttpStatusCode:bs,formToJSON:ys,getAdapter:xs,mergeConfig:Es}=A,Wr="https://customers-services.tarxemo.com/api";class dt{constructor(t,r=Wr){xt(this,"client");this.client=A.create({baseURL:r,headers:{"Content-Type":"application/json","X-API-Key":t},timeout:3e4}),this.client.interceptors.response.use(s=>s,s=>{var n,o;if((n=s.response)!=null&&n.data){const c=((o=s.response.data.response)==null?void 0:o.message)||"An unknown error occurred";throw new Error(c)}else throw s.request?new Error("No response from server. Please check your connection."):new Error(s.message||"Request failed")})}async sendMessage(t,r){try{const s=await this.client.post("/chat/",{question:t,session_id:r});if(s.data.response.status!=="success")throw new Error(s.data.response.message);return s.data.data}catch(s){throw s instanceof Error?s:new Error("Failed to send message")}}async getConversationHistory(t){try{const r=await this.client.get(`/chat/history/${t}/`);if(r.data.response.status!=="success")throw new Error(r.data.response.message);return r.data.data}catch(r){throw r instanceof Error?r:new Error("Failed to load conversation history")}}updateApiKey(t){this.client.defaults.headers.common["X-API-Key"]=t}updateBaseUrl(t){this.client.defaults.baseURL=t}}function Ae(e,t){const[r,s]=f.useState(()=>{try{const n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(n){return console.warn(`Error reading localStorage key "${e}":`,n),t}});return f.useEffect(()=>{try{window.localStorage.setItem(e,JSON.stringify(r))}catch(n){console.warn(`Error setting localStorage key "${e}":`,n)}},[e,r]),[r,s]}function ft(){return`session_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}const Kr="customer_support_session_id",Vr="customer_support_messages";function pt(e){const{apiKey:t,baseUrl:r,onError:s}=e,[n,o]=Ae(Vr,[]),[i,c]=Ae(Kr,ft()),[p,u]=f.useState(!1),[l,m]=f.useState(null),x=f.useRef(null);f.useEffect(()=>{x.current=new dt(t,r)},[t,r]);const N=f.useCallback(()=>{m(null)},[]),d=f.useCallback(async S=>{if(!x.current){const y=new Error("API client not initialized");m(y),s==null||s(y);return}if(!S.trim())return;const _={id:`user_${Date.now()}`,role:"USER",content:S,timestamp:new Date};o(y=>[...y,_]),u(!0),m(null);try{const y=await x.current.sendMessage(S,i),C={id:`assistant_${Date.now()}`,role:"ASSISTANT",content:y.answer,timestamp:new Date,sources:y.sources};o(L=>[...L,C]),y.session_id!==i&&c(y.session_id)}catch(y){const C=y instanceof Error?y:new Error("Failed to send message");m(C),s==null||s(C);const L={id:`error_${Date.now()}`,role:"ASSISTANT",content:`Sorry, I encountered an error: ${C.message}`,timestamp:new Date};o(P=>[...P,L])}finally{u(!1)}},[i,s,o,c]),g=f.useCallback(async()=>{if(!(!x.current||!i)){u(!0),m(null);try{const _=(await x.current.getConversationHistory(i)).messages.map((y,C)=>({id:`${y.role.toLowerCase()}_${C}_${Date.now()}`,role:y.role.toUpperCase(),content:y.content,timestamp:new Date(y.created_at)}));o(_)}catch(S){const _=S instanceof Error?S:new Error("Failed to load history");m(_),s==null||s(_)}finally{u(!1)}}},[i,s,o]),h=f.useCallback(()=>{o([]),c(ft())},[o,c]),T=f.useCallback(S=>{o(_=>_.filter(y=>y.id!==S))},[o]);return{messages:n,sendMessage:d,isLoading:p,error:l,clearError:N,sessionId:i,loadHistory:g,clearHistory:h,deleteMessage:T}}const mt=({message:e,onDelete:t})=>{const r=e.role.toUpperCase()==="USER",s=e.timestamp instanceof Date?e.timestamp:new Date(e.timestamp);return f.createElement("div",{className:`cs-message ${r?"cs-message--user":"cs-message--assistant"}`},f.createElement("div",{className:"cs-message__content"},f.createElement("p",{className:"cs-message__text"},e.content),e.sources&&e.sources.length>0&&f.createElement("div",{className:"cs-message__sources"},f.createElement("p",{className:"cs-message__sources-title"},"Sources:"),f.createElement("ul",{className:"cs-message__sources-list"},e.sources.map((n,o)=>f.createElement("li",{key:o,className:"cs-message__source-item"},f.createElement("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",className:"cs-message__source-link"},f.createElement(I.ExternalLink,{size:12}),f.createElement("span",null,n.title)),f.createElement("span",{className:"cs-message__source-similarity"},Math.round(n.similarity*100),"% match"))))),t&&f.createElement("button",{className:"cs-message__delete",onClick:()=>{window.confirm("Delete this message?")&&t(e.id)},"aria-label":"Delete message"},f.createElement(I.Trash2,{size:14}))),f.createElement("time",{className:"cs-message__time",dateTime:s.toISOString()},s.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})))},ht=({onSendMessage:e,isLoading:t,placeholder:r="Type your message..."})=>{const[s,n]=f.useState(""),o=c=>{c.preventDefault(),s.trim()&&!t&&(e(s),n(""))},i=c=>{c.key==="Enter"&&!c.shiftKey&&(c.preventDefault(),o(c))};return f.createElement("form",{className:"cs-input",onSubmit:o},f.createElement("textarea",{className:"cs-input__textarea",value:s,onChange:c=>n(c.target.value),onKeyDown:i,placeholder:r,disabled:t,rows:1,"aria-label":"Message input"}),f.createElement("button",{type:"submit",className:"cs-input__button",disabled:!s.trim()||t,"aria-label":"Send message"},f.createElement(I.Send,{size:20})))},gt=({messages:e,onSendMessage:t,onClose:r,isLoading:s,error:n,placeholder:o,welcomeMessage:i="Hi! How can I help you today?",onDeleteMessage:c,onClearHistory:p})=>{const u=f.useRef(null);return f.useEffect(()=>{var l;(l=u.current)==null||l.scrollIntoView({behavior:"smooth"})},[e]),f.createElement("div",{className:"cs-window"},f.createElement("div",{className:"cs-window__header"},f.createElement("div",{className:"cs-window__header-info"},f.createElement("h3",{className:"cs-window__title text-gray-900"},"Customer Support"),f.createElement("div",{className:"cs-window__status"},f.createElement("span",{className:"cs-window__status-dot"}),f.createElement("span",{className:"text-gray-900"},"Online"))),f.createElement("div",{style:{display:"flex",gap:"8px"}},e.length>0&&p&&f.createElement("button",{className:"cs-window__close text-red-500",onClick:()=>{window.confirm("Are you sure you want to clear the entire chat history?")&&p()},"aria-label":"Clear chat history",title:"Clear chat history"},f.createElement(I.Trash2,{size:18,className:"text-red-500"})),f.createElement("button",{className:"cs-window__close text-gray-900",onClick:r,"aria-label":"Close chat"},f.createElement(I.X,{size:20,className:"text-gray-900"})))),f.createElement("div",{className:"cs-window__messages"},e.length===0&&!s&&f.createElement("div",{className:"cs-window__welcome"},f.createElement("p",null,i)),e.map(l=>f.createElement(mt,{key:l.id,message:l,onDelete:c})),s&&f.createElement("div",{className:"cs-window__typing"},f.createElement(I.Loader2,{size:20,className:"cs-window__typing-icon"}),f.createElement("span",null,"Thinking...")),n&&f.createElement("div",{className:"cs-window__error"},f.createElement("p",null,n.message)),f.createElement("div",{ref:u})),f.createElement("div",{className:"cs-window__input-wrapper"},f.createElement(ht,{onSendMessage:t,isLoading:s,placeholder:o})))},Xr=':root{--cs-primary-color: inherit;--cs-secondary-color: inherit;--cs-bg-color: inherit;--cs-text-color: inherit;--cs-font-family: inherit;--cs-border-radius: 12px;--cs-button-color: var(--cs-primary-color);--cs-user-message-color: var(--cs-primary-color);--cs-assistant-message-color: rgba(0, 0, 0, .05);--cs-header-gradient: linear-gradient(135deg, var(--cs-primary-color), var(--cs-secondary-color));--cs-header-text-color: #ffffff;--cs-bg-text-color: #1a1a1a;--cs-user-text-color: #ffffff;--cs-assistant-text-color: #1a1a1a;--cs-success-color: #4ade80;--cs-error-color: #ef4444;--cs-error-bg-color: rgba(239, 68, 68, .1);--cs-border-color: rgba(0, 0, 0, .1);--cs-shadow-color: rgba(0, 0, 0, .1);--cs-scrollbar-thumb: rgba(0, 0, 0, .2);--cs-scrollbar-track: transparent;--cs-shadow-sm: 0 1px 2px 0 var(--cs-shadow-color);--cs-shadow: 0 4px 6px -1px var(--cs-shadow-color), 0 2px 4px -1px var(--cs-shadow-color);--cs-shadow-lg: 0 10px 15px -3px var(--cs-shadow-color), 0 4px 6px -2px var(--cs-shadow-color);--cs-shadow-xl: 0 20px 25px -5px var(--cs-shadow-color), 0 10px 10px -5px var(--cs-shadow-color)}.cs-widget{position:fixed;z-index:9999;font-family:var(--cs-font-family)}.cs-widget,.cs-widget *{box-sizing:border-box}.cs-widget--bottom-right{bottom:20px;right:20px}.cs-widget--bottom-left{bottom:20px;left:20px}.cs-widget--top-right{top:20px;right:20px}.cs-widget--top-left{top:20px;left:20px}.cs-widget__toggle{position:relative;width:60px;height:60px;border-radius:50%;background:var(--cs-primary-color);border:none;color:#fff;cursor:pointer;box-shadow:var(--cs-shadow-xl);transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center}.cs-widget__toggle:hover{transform:scale(1.1);box-shadow:0 15px 25px -5px var(--cs-focus-ring)}.cs-widget__toggle:active{transform:scale(.95)}.cs-widget__toggle--open{background:var(--cs-error-color)}.cs-widget__badge{position:absolute;top:-5px;right:-5px;background:var(--cs-error-color);color:#fff;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;box-shadow:var(--cs-shadow)}.cs-window{position:absolute;bottom:85px;right:0;width:380px;max-width:calc(100vw - 40px);height:600px;max-height:calc(100vh - 130px);background:var(--cs-bg-color);border-radius:var(--cs-border-radius);border:1px solid rgba(0,0,0,.1);box-shadow:var(--cs-shadow-xl);display:flex;flex-direction:column;overflow:visible;animation:slideUp .3s cubic-bezier(.4,0,.2,1);transform-origin:bottom right}.cs-window:after{content:"";position:absolute;bottom:-10px;right:25px;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--cs-bg-color);filter:drop-shadow(0 5px 5px var(--cs-shadow-color))}.cs-widget--bottom-left .cs-window{transform-origin:bottom left;right:auto;left:0}.cs-widget--bottom-left .cs-window:after{right:auto;left:25px}.cs-widget--top-right .cs-window{transform-origin:top right;bottom:auto;top:85px}.cs-widget--top-right .cs-window:after{bottom:auto;top:-10px;border-top:none;border-bottom:10px solid var(--cs-bg-color)}.cs-widget--top-left .cs-window{transform-origin:top left;bottom:auto;top:85px;right:auto;left:0}.cs-widget--top-left .cs-window:after{bottom:auto;top:-10px;border-top:none;border-bottom:10px solid var(--cs-bg-color);right:auto;left:25px}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.cs-window__header{background:var(--cs-header-gradient);color:var(--cs-header-text-color);padding:16px 20px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.cs-window__header-info{display:flex;flex-direction:column;gap:2px}.cs-window__title{margin:0;font-size:16px;font-weight:600}.cs-window__status{display:flex;align-items:center;gap:6px;font-size:12px;opacity:.9}.cs-window__status-dot{width:8px;height:8px;background:var(--cs-success-color);border-radius:50%;box-shadow:0 0 0 2px var(--cs-bg-color)}.cs-window__close{background:transparent;border:none;color:var(--cs-header-text-color);width:32px;height:32px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.cs-window__close:hover{background:var(--cs-shadow-color)}.cs-window__messages{flex:1;overflow-y:auto;overflow-x:hidden;padding:20px;display:flex;flex-direction:column;gap:16px;background:var(--cs-bg-color);color:var(--cs-bg-text-color)}.cs-window__messages::-webkit-scrollbar{width:6px}.cs-window__messages::-webkit-scrollbar-track{background:transparent}.cs-window__messages::-webkit-scrollbar-thumb{background:var(--cs-scrollbar-thumb);border-radius:3px}.cs-window__messages::-webkit-scrollbar-thumb:hover{background:var(--cs-border-color)}.cs-window__welcome{text-align:center;padding:40px 20px;color:var(--cs-bg-text-color);opacity:.7}.cs-window__welcome p{margin:0;font-size:16px}.cs-window__typing{display:flex;align-items:center;gap:8px;padding:12px 16px;background:var(--cs-assistant-message-color);border-radius:var(--cs-border-radius);width:fit-content;color:var(--cs-text-color)}.cs-window__typing-icon{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cs-window__error{background:var(--cs-error-bg-color);border:1px solid var(--cs-error-color);color:var(--cs-error-color);padding:12px 16px;border-radius:var(--cs-border-radius)}.cs-window__error p{margin:0}.cs-message{display:flex;flex-direction:column;gap:6px;max-width:85%;min-width:0;animation:fadeIn .3s ease-in-out;position:relative;group:"message"}.cs-message:hover .cs-message__delete{opacity:1}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.cs-message--user{align-self:flex-end;align-items:flex-end}.cs-message--assistant{align-self:flex-start;align-items:flex-start}.cs-message__content{background:var(--cs-assistant-message-color);padding:12px 16px;border-radius:var(--cs-border-radius);border-bottom-left-radius:4px;color:var(--cs-assistant-text-color);word-wrap:break-word;box-shadow:var(--cs-shadow-sm);min-width:0;max-width:100%}.cs-message--user .cs-message__content{background:var(--cs-user-message-color);color:var(--cs-user-text-color);border-radius:var(--cs-border-radius);border-bottom-right-radius:4px}.cs-message__text{margin:0;line-height:1.5;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.cs-message__time{font-size:11px;color:var(--cs-bg-text-color);opacity:.5;padding:0 4px}.cs-message__sources{margin-top:12px;padding-top:12px;border-top:1px solid var(--cs-border-color)}.cs-message__sources-title{margin:0 0 8px;font-size:12px;font-weight:600;color:var(--cs-bg-text-color);opacity:.7}.cs-message__sources-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.cs-message__source-item{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.cs-message__source-link{display:flex;align-items:center;gap:4px;color:var(--cs-primary-color);text-decoration:none;flex:1;min-width:0}.cs-message__source-link:hover{text-decoration:underline}.cs-message__source-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.cs-message__source-similarity{color:#6b7280;font-size:11px;white-space:nowrap}.cs-message__delete{position:absolute;top:50%;transform:translateY(-50%);background:var(--cs-bg-color);border:1px solid var(--cs-border-color);color:var(--cs-error-color);width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;box-shadow:var(--cs-shadow-sm);z-index:10}.cs-message__delete:hover{background:var(--cs-error-color);color:#fff;transform:translateY(-50%) scale(1.1)}.cs-message--user .cs-message__delete{left:-32px}.cs-message--assistant .cs-message__delete{right:-32px}.cs-window__input-wrapper{padding:16px;background:var(--cs-bg-color);border-top:1px solid var(--cs-border-color);flex-shrink:0}.cs-input{display:flex;gap:8px;align-items:flex-end}.cs-input__textarea{flex:1;padding:12px 16px;border:1px solid var(--cs-border-color);border-radius:var(--cs-border-radius);font-family:var(--cs-font-family);font-size:14px;resize:none;max-height:120px;min-height:44px;transition:border-color .2s;background:var(--cs-bg-color);color:var(--cs-bg-text-color)}.cs-input__textarea:focus{outline:none;border-color:var(--cs-primary-color);box-shadow:0 0 0 3px var(--cs-focus-ring);background-color:var(--cs-bg-color)}.cs-input__textarea:disabled{background:var(--cs-border-color);cursor:not-allowed;opacity:.5}.cs-input__button{background:var(--cs-button-color);color:var(--cs-header-text-color);border:none;width:44px;height:44px;border-radius:var(--cs-border-radius);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.cs-input__button:hover:not(:disabled){background:var(--cs-secondary-color);transform:scale(1.05)}.cs-input__button:active:not(:disabled){transform:scale(.95)}.cs-input__button:disabled{background:var(--cs-border-color);cursor:not-allowed;opacity:.5}@media(max-width:480px){.cs-widget--open{position:fixed!important;inset:auto!important;bottom:20px!important;right:20px!important;width:auto!important;height:auto!important;z-index:10000!important}.cs-window{position:fixed!important;width:88vw!important;height:60vh!important;max-width:400px!important;max-height:500px!important;bottom:90px!important;right:5%!important;left:5%!important;top:auto!important;border-radius:var(--cs-border-radius)!important;box-shadow:var(--cs-shadow-xl)!important;display:flex!important;flex-direction:column!important;animation:slideUp .3s ease-out!important;overflow:visible!important}.cs-widget--open .cs-widget__toggle{display:flex!important;opacity:.8}.cs-window__messages{padding:16px}.cs-window__header{padding:12px 16px}.cs-window__input-wrapper{padding:12px}.cs-widget__toggle{width:50px;height:50px}}',Yr=({apiKey:e,baseUrl:t,theme:r,position:s="bottom-right",welcomeMessage:n,placeholder:o,className:i="",onError:c,onMessageSent:p,onMessageReceived:u})=>{const[l,m]=f.useState(!1),{messages:x,sendMessage:N,isLoading:d,error:g,clearError:h,deleteMessage:T,clearHistory:S}=pt({apiKey:e,baseUrl:t,onError:c}),_=b=>{if(!b)return"#ffffff";let O,D,v;if(b.startsWith("#")){const E=b.slice(1);O=parseInt(E.substring(0,2),16),D=parseInt(E.substring(2,4),16),v=parseInt(E.substring(4,6),16)}else if(b.startsWith("rgb")){const E=b.match(/\d+/g);if(E&&E.length>=3)O=parseInt(E[0]),D=parseInt(E[1]),v=parseInt(E[2]);else return"#ffffff"}else return"#ffffff";return(.299*O+.587*D+.114*v)/255>.6?"#1a1a1a":"#ffffff"},y=(b,O)=>{if(!b)return`rgba(0, 0, 0, ${O})`;let D=0,v=0,B=0;if(b.startsWith("#")){const E=b.slice(1);E.length===3?(D=parseInt(E[0]+E[0],16),v=parseInt(E[1]+E[1],16),B=parseInt(E[2]+E[2],16)):(D=parseInt(E.substring(0,2),16),v=parseInt(E.substring(2,4),16),B=parseInt(E.substring(4,6),16))}else if(b.startsWith("rgb")){const E=b.match(/\d+/g);E&&E.length>=3&&(D=parseInt(E[0]),v=parseInt(E[1]),B=parseInt(E[2]))}return`rgba(${D}, ${v}, ${B}, ${O})`},C=f.useMemo(()=>{const b={},O=(r==null?void 0:r.primaryColor)||"#6366f1",D=(r==null?void 0:r.backgroundColor)||"#ffffff",v=(r==null?void 0:r.textColor)||(_(D)==="#ffffff"?"#ffffff":"#1f2937"),B=(r==null?void 0:r.successColor)||"#4ade80",E=(r==null?void 0:r.errorColor)||"#ef4444",H=(r==null?void 0:r.borderColor)||y(v,.1),pe=(r==null?void 0:r.shadowColor)||"rgba(0, 0, 0, 0.1)";b["--cs-primary-color"]=O,b["--cs-secondary-color"]=(r==null?void 0:r.secondaryColor)||O,b["--cs-bg-color"]=D,b["--cs-text-color"]=v,b["--cs-font-family"]=(r==null?void 0:r.fontFamily)||"inherit",b["--cs-border-radius"]=(r==null?void 0:r.borderRadius)||"12px",b["--cs-success-color"]=B,b["--cs-error-color"]=E,b["--cs-error-bg-color"]=y(E,.1),b["--cs-border-color"]=H,b["--cs-shadow-color"]=pe,b["--cs-scrollbar-thumb"]=y(v,.2),b["--cs-scrollbar-track"]="transparent",b["--cs-header-text-color"]=_(O),b["--cs-bg-text-color"]=v,b["--cs-button-color"]=(r==null?void 0:r.buttonColor)||O,b["--cs-user-message-color"]=(r==null?void 0:r.userMessageColor)||O,b["--cs-user-text-color"]=_((r==null?void 0:r.userMessageColor)||O);const j=_(D)==="#ffffff";return b["--cs-assistant-message-color"]=(r==null?void 0:r.assistantMessageColor)||(j?"rgba(255, 255, 255, 0.1)":"rgba(0, 0, 0, 0.05)"),b["--cs-assistant-text-color"]=v,b["--cs-focus-ring"]=y(O,.2),b},[r]),L=async b=>{if(p==null||p(b),await N(b),!g){const O=x[x.length-1];(O==null?void 0:O.role)==="ASSISTANT"&&(u==null||u(O.content))}},P=()=>{m(!l),g&&h()};return f.createElement("div",{className:`cs-widget cs-widget--${s} ${l?"cs-widget--open":""} ${i}`,style:C},f.createElement("style",{dangerouslySetInnerHTML:{__html:Xr}}),l&&f.createElement(gt,{messages:x,onSendMessage:L,onClose:()=>m(!1),isLoading:d,error:g,placeholder:o,welcomeMessage:n,onDeleteMessage:T,onClearHistory:S}),f.createElement("button",{className:`cs-widget__toggle ${l?"cs-widget__toggle--open":""}`,onClick:P,"aria-label":l?"Close chat":"Open chat","aria-expanded":l},f.createElement(I.MessageCircle,{size:24}),!l&&x.length>0&&f.createElement("span",{className:"cs-widget__badge"},x.filter(b=>b.role.toUpperCase()==="ASSISTANT").length)))};R.ChatInput=ht,R.ChatMessage=mt,R.ChatWindow=gt,R.CustomerSupportAPIClient=dt,R.CustomerSupportWidget=Yr,R.useCustomerSupport=pt,R.useLocalStorage=Ae,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
(function(rl,lt){typeof exports=="object"&&typeof module<"u"?lt(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],lt):(rl=typeof globalThis<"u"?globalThis:rl||self,lt(rl.CustomerSupport={},rl.React,rl.ReactDOM))})(this,(function(rl,lt,Pf){"use strict";var Az=Object.defineProperty;var zz=(rl,lt,Pf)=>lt in rl?Az(rl,lt,{enumerable:!0,configurable:!0,writable:!0,value:Pf}):rl[lt]=Pf;var fT=(rl,lt,Pf)=>zz(rl,typeof lt!="symbol"?lt+"":lt,Pf);function dT(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var M0={exports:{}},Sm={},U0={exports:{}},d1={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* scheduler.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Pb;function hT(){return Pb||(Pb=1,(function(m){function v(H,$){var et=H.length;H.push($);t:for(;0<et;){var St=et-1>>>1,_t=H[St];if(0<T(_t,$))H[St]=$,H[et]=_t,et=St;else break t}}function b(H){return H.length===0?null:H[0]}function y(H){if(H.length===0)return null;var $=H[0],et=H.pop();if(et!==$){H[0]=et;t:for(var St=0,_t=H.length,be=_t>>>1;St<be;){var le=2*(St+1)-1,Gt=H[le],Nt=le+1,il=H[Nt];if(0>T(Gt,et))Nt<_t&&0>T(il,Gt)?(H[St]=il,H[Nt]=et,St=Nt):(H[St]=Gt,H[le]=et,St=le);else if(Nt<_t&&0>T(il,et))H[St]=il,H[Nt]=et,St=Nt;else break t}}return $}function T(H,$){var et=H.sortIndex-$.sortIndex;return et!==0?et:H.id-$.id}if(m.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var _=performance;m.unstable_now=function(){return _.now()}}else{var w=Date,M=w.now();m.unstable_now=function(){return w.now()-M}}var tt=[],I=[],F=1,W=null,st=3,Zt=!1,P=!1,dt=!1,at=!1,Tt=typeof setTimeout=="function"?setTimeout:null,te=typeof clearTimeout=="function"?clearTimeout:null,Et=typeof setImmediate<"u"?setImmediate:null;function gt(H){for(var $=b(I);$!==null;){if($.callback===null)y(I);else if($.startTime<=H)y(I),$.sortIndex=$.expirationTime,v(tt,$);else break;$=b(I)}}function ie(H){if(dt=!1,gt(H),!P)if(b(tt)!==null)P=!0,Se||(Se=!0,Ut());else{var $=b(I);$!==null&&hl(ie,$.startTime-H)}}var Se=!1,ee=-1,ut=5,Jt=-1;function ct(){return at?!0:!(m.unstable_now()-Jt<ut)}function Ft(){if(at=!1,Se){var H=m.unstable_now();Jt=H;var $=!0;try{t:{P=!1,dt&&(dt=!1,te(ee),ee=-1),Zt=!0;var et=st;try{e:{for(gt(H),W=b(tt);W!==null&&!(W.expirationTime>H&&ct());){var St=W.callback;if(typeof St=="function"){W.callback=null,st=W.priorityLevel;var _t=St(W.expirationTime<=H);if(H=m.unstable_now(),typeof _t=="function"){W.callback=_t,gt(H),$=!0;break e}W===b(tt)&&y(tt),gt(H)}else y(tt);W=b(tt)}if(W!==null)$=!0;else{var be=b(I);be!==null&&hl(ie,be.startTime-H),$=!1}}break t}finally{W=null,st=et,Zt=!1}$=void 0}}finally{$?Ut():Se=!1}}}var Ut;if(typeof Et=="function")Ut=function(){Et(Ft)};else if(typeof MessageChannel<"u"){var ot=new MessageChannel,Be=ot.port2;ot.port1.onmessage=Ft,Ut=function(){Be.postMessage(null)}}else Ut=function(){Tt(Ft,0)};function hl(H,$){ee=Tt(function(){H(m.unstable_now())},$)}m.unstable_IdlePriority=5,m.unstable_ImmediatePriority=1,m.unstable_LowPriority=4,m.unstable_NormalPriority=3,m.unstable_Profiling=null,m.unstable_UserBlockingPriority=2,m.unstable_cancelCallback=function(H){H.callback=null},m.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ut=0<H?Math.floor(1e3/H):5},m.unstable_getCurrentPriorityLevel=function(){return st},m.unstable_next=function(H){switch(st){case 1:case 2:case 3:var $=3;break;default:$=st}var et=st;st=$;try{return H()}finally{st=et}},m.unstable_requestPaint=function(){at=!0},m.unstable_runWithPriority=function(H,$){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var et=st;st=H;try{return $()}finally{st=et}},m.unstable_scheduleCallback=function(H,$,et){var St=m.unstable_now();switch(typeof et=="object"&&et!==null?(et=et.delay,et=typeof et=="number"&&0<et?St+et:St):et=St,H){case 1:var _t=-1;break;case 2:_t=250;break;case 5:_t=1073741823;break;case 4:_t=1e4;break;default:_t=5e3}return _t=et+_t,H={id:F++,callback:$,priorityLevel:H,startTime:et,expirationTime:_t,sortIndex:-1},et>St?(H.sortIndex=et,v(I,H),b(tt)===null&&H===b(I)&&(dt?(te(ee),ee=-1):dt=!0,hl(ie,et-St))):(H.sortIndex=_t,v(tt,H),P||Zt||(P=!0,Se||(Se=!0,Ut()))),H},m.unstable_shouldYield=ct,m.unstable_wrapCallback=function(H){var $=st;return function(){var et=st;st=$;try{return H.apply(this,arguments)}finally{st=et}}}})(d1)),d1}var h1={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* scheduler.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var tS;function mT(){return tS||(tS=1,(function(m){process.env.NODE_ENV!=="production"&&(function(){function v(){if(ie=!1,Jt){var H=m.unstable_now();Ut=H;var $=!0;try{t:{Et=!1,gt&&(gt=!1,ee(ct),ct=-1),te=!0;var et=Tt;try{e:{for(w(H),at=y(Zt);at!==null&&!(at.expirationTime>H&&tt());){var St=at.callback;if(typeof St=="function"){at.callback=null,Tt=at.priorityLevel;var _t=St(at.expirationTime<=H);if(H=m.unstable_now(),typeof _t=="function"){at.callback=_t,w(H),$=!0;break e}at===y(Zt)&&T(Zt),w(H)}else T(Zt);at=y(Zt)}if(at!==null)$=!0;else{var be=y(P);be!==null&&I(M,be.startTime-H),$=!1}}break t}finally{at=null,Tt=et,te=!1}$=void 0}}finally{$?ot():Jt=!1}}}function b(H,$){var et=H.length;H.push($);t:for(;0<et;){var St=et-1>>>1,_t=H[St];if(0<_(_t,$))H[St]=$,H[et]=_t,et=St;else break t}}function y(H){return H.length===0?null:H[0]}function T(H){if(H.length===0)return null;var $=H[0],et=H.pop();if(et!==$){H[0]=et;t:for(var St=0,_t=H.length,be=_t>>>1;St<be;){var le=2*(St+1)-1,Gt=H[le],Nt=le+1,il=H[Nt];if(0>_(Gt,et))Nt<_t&&0>_(il,Gt)?(H[St]=il,H[Nt]=et,St=Nt):(H[St]=Gt,H[le]=et,St=le);else if(Nt<_t&&0>_(il,et))H[St]=il,H[Nt]=et,St=Nt;else break t}}return $}function _(H,$){var et=H.sortIndex-$.sortIndex;return et!==0?et:H.id-$.id}function w(H){for(var $=y(P);$!==null;){if($.callback===null)T(P);else if($.startTime<=H)T(P),$.sortIndex=$.expirationTime,b(Zt,$);else break;$=y(P)}}function M(H){if(gt=!1,w(H),!Et)if(y(Zt)!==null)Et=!0,Jt||(Jt=!0,ot());else{var $=y(P);$!==null&&I(M,$.startTime-H)}}function tt(){return ie?!0:!(m.unstable_now()-Ut<Ft)}function I(H,$){ct=Se(function(){H(m.unstable_now())},$)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),m.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var F=performance;m.unstable_now=function(){return F.now()}}else{var W=Date,st=W.now();m.unstable_now=function(){return W.now()-st}}var Zt=[],P=[],dt=1,at=null,Tt=3,te=!1,Et=!1,gt=!1,ie=!1,Se=typeof setTimeout=="function"?setTimeout:null,ee=typeof clearTimeout=="function"?clearTimeout:null,ut=typeof setImmediate<"u"?setImmediate:null,Jt=!1,ct=-1,Ft=5,Ut=-1;if(typeof ut=="function")var ot=function(){ut(v)};else if(typeof MessageChannel<"u"){var Be=new MessageChannel,hl=Be.port2;Be.port1.onmessage=v,ot=function(){hl.postMessage(null)}}else ot=function(){Se(v,0)};m.unstable_IdlePriority=5,m.unstable_ImmediatePriority=1,m.unstable_LowPriority=4,m.unstable_NormalPriority=3,m.unstable_Profiling=null,m.unstable_UserBlockingPriority=2,m.unstable_cancelCallback=function(H){H.callback=null},m.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ft=0<H?Math.floor(1e3/H):5},m.unstable_getCurrentPriorityLevel=function(){return Tt},m.unstable_next=function(H){switch(Tt){case 1:case 2:case 3:var $=3;break;default:$=Tt}var et=Tt;Tt=$;try{return H()}finally{Tt=et}},m.unstable_requestPaint=function(){ie=!0},m.unstable_runWithPriority=function(H,$){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var et=Tt;Tt=H;try{return $()}finally{Tt=et}},m.unstable_scheduleCallback=function(H,$,et){var St=m.unstable_now();switch(typeof et=="object"&&et!==null?(et=et.delay,et=typeof et=="number"&&0<et?St+et:St):et=St,H){case 1:var _t=-1;break;case 2:_t=250;break;case 5:_t=1073741823;break;case 4:_t=1e4;break;default:_t=5e3}return _t=et+_t,H={id:dt++,callback:$,priorityLevel:H,startTime:et,expirationTime:_t,sortIndex:-1},et>St?(H.sortIndex=et,b(P,H),y(Zt)===null&&H===y(P)&&(gt?(ee(ct),ct=-1):gt=!0,I(M,et-St))):(H.sortIndex=_t,b(Zt,H),Et||te||(Et=!0,Jt||(Jt=!0,ot()))),H},m.unstable_shouldYield=tt,m.unstable_wrapCallback=function(H){var $=Tt;return function(){var et=Tt;Tt=$;try{return H.apply(this,arguments)}finally{Tt=et}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(h1)),h1}var eS;function lS(){return eS||(eS=1,process.env.NODE_ENV==="production"?U0.exports=hT():U0.exports=mT()),U0.exports}/**
|
|
18
|
+
* @license React
|
|
19
|
+
* react-dom-client.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var aS;function pT(){if(aS)return Sm;aS=1;var m=lS(),v=lt,b=Pf;function y(l){var n="https://react.dev/errors/"+l;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)n+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function T(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function _(l){var n=l,u=l;if(l.alternate)for(;n.return;)n=n.return;else{l=n;do n=l,(n.flags&4098)!==0&&(u=n.return),l=n.return;while(l)}return n.tag===3?u:null}function w(l){if(l.tag===13){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function M(l){if(l.tag===31){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function tt(l){if(_(l)!==l)throw Error(y(188))}function I(l){var n=l.alternate;if(!n){if(n=_(l),n===null)throw Error(y(188));return n!==l?null:l}for(var u=l,c=n;;){var s=u.return;if(s===null)break;var r=s.alternate;if(r===null){if(c=s.return,c!==null){u=c;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===u)return tt(s),l;if(r===c)return tt(s),n;r=r.sibling}throw Error(y(188))}if(u.return!==c.return)u=s,c=r;else{for(var p=!1,E=s.child;E;){if(E===u){p=!0,u=s,c=r;break}if(E===c){p=!0,c=s,u=r;break}E=E.sibling}if(!p){for(E=r.child;E;){if(E===u){p=!0,u=r,c=s;break}if(E===c){p=!0,c=r,u=s;break}E=E.sibling}if(!p)throw Error(y(189))}}if(u.alternate!==c)throw Error(y(190))}if(u.tag!==3)throw Error(y(188));return u.stateNode.current===u?l:n}function F(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l;for(l=l.child;l!==null;){if(n=F(l),n!==null)return n;l=l.sibling}return null}var W=Object.assign,st=Symbol.for("react.element"),Zt=Symbol.for("react.transitional.element"),P=Symbol.for("react.portal"),dt=Symbol.for("react.fragment"),at=Symbol.for("react.strict_mode"),Tt=Symbol.for("react.profiler"),te=Symbol.for("react.consumer"),Et=Symbol.for("react.context"),gt=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),ee=Symbol.for("react.memo"),ut=Symbol.for("react.lazy"),Jt=Symbol.for("react.activity"),ct=Symbol.for("react.memo_cache_sentinel"),Ft=Symbol.iterator;function Ut(l){return l===null||typeof l!="object"?null:(l=Ft&&l[Ft]||l["@@iterator"],typeof l=="function"?l:null)}var ot=Symbol.for("react.client.reference");function Be(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===ot?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case dt:return"Fragment";case Tt:return"Profiler";case at:return"StrictMode";case ie:return"Suspense";case Se:return"SuspenseList";case Jt:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case P:return"Portal";case Et:return l.displayName||"Context";case te:return(l._context.displayName||"Context")+".Consumer";case gt:var n=l.render;return l=l.displayName,l||(l=n.displayName||n.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case ee:return n=l.displayName||null,n!==null?n:Be(l.type)||"Memo";case ut:n=l._payload,l=l._init;try{return Be(l(n))}catch{}}return null}var hl=Array.isArray,H=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=b.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et={pending:!1,data:null,method:null,action:null},St=[],_t=-1;function be(l){return{current:l}}function le(l){0>_t||(l.current=St[_t],St[_t]=null,_t--)}function Gt(l,n){_t++,St[_t]=l.current,l.current=n}var Nt=be(null),il=be(null),vi=be(null),as=be(null);function ns(l,n){switch(Gt(vi,n),Gt(il,l),Gt(Nt,null),n.nodeType){case 9:case 11:l=(l=n.documentElement)&&(l=l.namespaceURI)?av(l):0;break;default:if(l=n.tagName,n=n.namespaceURI)n=av(n),l=zy(n,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}le(Nt),Gt(Nt,l)}function Yu(){le(Nt),le(il),le(vi)}function Rm(l){l.memoizedState!==null&&Gt(as,l);var n=Nt.current,u=zy(n,l.type);n!==u&&(Gt(il,l),Gt(Nt,u))}function rt(l){il.current===l&&(le(Nt),le(il)),as.current===l&&(le(as),Sr._currentValue=et)}var us,is;function Kn(l){if(us===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);us=n&&n[1]||"",is=-1<u.stack.indexOf(`
|
|
26
|
+
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
27
|
+
`+us+l+is}var cc=!1;function Ee(l,n){if(!l||cc)return"";cc=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(n){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(L){var j=L}Reflect.construct(l,[],K)}else{try{K.call()}catch(L){j=L}l.call(K.prototype)}}else{try{throw Error()}catch(L){j=L}(K=l())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(L){if(L&&j&&typeof L.stack=="string")return[L.stack,j.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=c.DetermineComponentFrameRoot(),p=r[0],E=r[1];if(p&&E){var O=p.split(`
|
|
28
|
+
`),q=E.split(`
|
|
29
|
+
`);for(s=c=0;c<O.length&&!O[c].includes("DetermineComponentFrameRoot");)c++;for(;s<q.length&&!q[s].includes("DetermineComponentFrameRoot");)s++;if(c===O.length||s===q.length)for(c=O.length-1,s=q.length-1;1<=c&&0<=s&&O[c]!==q[s];)s--;for(;1<=c&&0<=s;c--,s--)if(O[c]!==q[s]){if(c!==1||s!==1)do if(c--,s--,0>s||O[c]!==q[s]){var Q=`
|
|
30
|
+
`+O[c].replace(" at new "," at ");return l.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",l.displayName)),Q}while(1<=c&&0<=s);break}}}finally{cc=!1,Error.prepareStackTrace=u}return(u=l?l.displayName||l.name:"")?Kn(u):""}function Mm(l,n){switch(l.tag){case 26:case 27:case 5:return Kn(l.type);case 16:return Kn("Lazy");case 13:return l.child!==n&&n!==null?Kn("Suspense Fallback"):Kn("Suspense");case 19:return Kn("SuspenseList");case 0:case 15:return Ee(l.type,!1);case 11:return Ee(l.type.render,!1);case 1:return Ee(l.type,!0);case 31:return Kn("Activity");default:return""}}function Fr(l){try{var n="",u=null;do n+=Mm(l,u),u=l,l=l.return;while(l);return n}catch(c){return`
|
|
31
|
+
Error generating stack: `+c.message+`
|
|
32
|
+
`+c.stack}}var Um=Object.prototype.hasOwnProperty,Re=m.unstable_scheduleCallback,Cm=m.unstable_cancelCallback,oc=m.unstable_shouldYield,Wr=m.unstable_requestPaint,Bl=m.unstable_now,O1=m.unstable_getCurrentPriorityLevel,Ir=m.unstable_ImmediatePriority,Pr=m.unstable_UserBlockingPriority,bi=m.unstable_NormalPriority,_1=m.unstable_LowPriority,xm=m.unstable_IdlePriority,X0=m.log,L0=m.unstable_setDisableYieldValue,fc=null,ya=null;function Gu(l){if(typeof X0=="function"&&L0(l),ya&&typeof ya.setStrictMode=="function")try{ya.setStrictMode(fc,l)}catch{}}var Wl=Math.clz32?Math.clz32:Hm,V0=Math.log,Q0=Math.LN2;function Hm(l){return l>>>=0,l===0?32:31-(V0(l)/Q0|0)|0}var Xu=256,yn=262144,Si=4194304;function Ia(l){var n=l&42;if(n!==0)return n;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Pe(l,n,u){var c=l.pendingLanes;if(c===0)return 0;var s=0,r=l.suspendedLanes,p=l.pingedLanes;l=l.warmLanes;var E=c&134217727;return E!==0?(c=E&~r,c!==0?s=Ia(c):(p&=E,p!==0?s=Ia(p):u||(u=E&~l,u!==0&&(s=Ia(u))))):(E=c&~r,E!==0?s=Ia(E):p!==0?s=Ia(p):u||(u=c&~l,u!==0&&(s=Ia(u)))),s===0?0:n!==0&&n!==s&&(n&r)===0&&(r=s&-s,u=n&-n,r>=u||r===32&&(u&4194048)!==0)?n:s}function gn(l,n){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&n)===0}function So(l,n){switch(l){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function sc(){var l=Si;return Si<<=1,(Si&62914560)===0&&(Si=4194304),l}function cs(l){for(var n=[],u=0;31>u;u++)n.push(l);return n}function Eo(l,n){l.pendingLanes|=n,n!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function td(l,n,u,c,s,r){var p=l.pendingLanes;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=u,l.entangledLanes&=u,l.errorRecoveryDisabledLanes&=u,l.shellSuspendCounter=0;var E=l.entanglements,O=l.expirationTimes,q=l.hiddenUpdates;for(u=p&~u;0<u;){var Q=31-Wl(u),K=1<<Q;E[Q]=0,O[Q]=-1;var j=q[Q];if(j!==null)for(q[Q]=null,Q=0;Q<j.length;Q++){var L=j[Q];L!==null&&(L.lane&=-536870913)}u&=~K}c!==0&&os(l,c,0),r!==0&&s===0&&l.tag!==0&&(l.suspendedLanes|=r&~(p&~n))}function os(l,n,u){l.pendingLanes|=n,l.suspendedLanes&=~n;var c=31-Wl(n);l.entangledLanes|=n,l.entanglements[c]=l.entanglements[c]|1073741824|u&261930}function $n(l,n){var u=l.entangledLanes|=n;for(l=l.entanglements;u;){var c=31-Wl(u),s=1<<c;s&n|l[c]&n&&(l[c]|=n),u&=~s}}function Oa(l,n){var u=n&-n;return u=(u&42)!==0?1:ed(u),(u&(l.suspendedLanes|n))!==0?0:u}function ed(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function wm(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function ld(){var l=$.p;return l!==0?l:(l=window.event,l===void 0?32:Er(l.type))}function Nm(l,n){var u=$.p;try{return $.p=l,n()}finally{$.p=u}}var vn=Math.random().toString(36).slice(2),Te="__reactFiber$"+vn,Il="__reactProps$"+vn,Ei="__reactContainer$"+vn,ad="__reactEvents$"+vn,Bm="__reactListeners$"+vn,Z0="__reactHandles$"+vn,qm="__reactResources$"+vn,kn="__reactMarker$"+vn;function nd(l){delete l[Te],delete l[Il],delete l[ad],delete l[Bm],delete l[Z0]}function rc(l){var n=l[Te];if(n)return n;for(var u=l.parentNode;u;){if(n=u[Ei]||u[Te]){if(u=n.alternate,n.child!==null||u!==null&&u.child!==null)for(l=Yn(l);l!==null;){if(u=l[Te])return u;l=Yn(l)}return n}l=u,u=l.parentNode}return null}function dc(l){if(l=l[Te]||l[Ei]){var n=l.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return l}return null}function To(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l.stateNode;throw Error(y(33))}function hc(l){var n=l[qm];return n||(n=l[qm]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function me(l){l[kn]=!0}var mc=new Set,Ti={};function Ai(l,n){Fn(l,n),Fn(l+"Capture",n)}function Fn(l,n){for(Ti[l]=n,l=0;l<n.length;l++)mc.add(n[l])}var ud=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),id={},Ao={};function zo(l){return Um.call(Ao,l)?!0:Um.call(id,l)?!1:ud.test(l)?Ao[l]=!0:(id[l]=!0,!1)}function Do(l,n,u){if(zo(n))if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":l.removeAttribute(n);return;case"boolean":var c=n.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){l.removeAttribute(n);return}}l.setAttribute(n,""+u)}}function cd(l,n,u){if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(n);return}l.setAttribute(n,""+u)}}function Lu(l,n,u,c){if(c===null)l.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttributeNS(n,u,""+c)}}function _a(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function od(l){var n=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function jm(l,n,u){var c=Object.getOwnPropertyDescriptor(l.constructor.prototype,n);if(!l.hasOwnProperty(n)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var s=c.get,r=c.set;return Object.defineProperty(l,n,{configurable:!0,get:function(){return s.call(this)},set:function(p){u=""+p,r.call(this,p)}}),Object.defineProperty(l,n,{enumerable:c.enumerable}),{getValue:function(){return u},setValue:function(p){u=""+p},stopTracking:function(){l._valueTracker=null,delete l[n]}}}}function fd(l){if(!l._valueTracker){var n=od(l)?"checked":"value";l._valueTracker=jm(l,n,""+l[n])}}function Ym(l){if(!l)return!1;var n=l._valueTracker;if(!n)return!0;var u=n.getValue(),c="";return l&&(c=od(l)?l.checked?"true":"false":l.value),l=c,l!==u?(n.setValue(l),!0):!1}function fs(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var R1=/[\n"\\]/g;function Ra(l){return l.replace(R1,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function ss(l,n,u,c,s,r,p,E){l.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?l.type=p:l.removeAttribute("type"),n!=null?p==="number"?(n===0&&l.value===""||l.value!=n)&&(l.value=""+_a(n)):l.value!==""+_a(n)&&(l.value=""+_a(n)):p!=="submit"&&p!=="reset"||l.removeAttribute("value"),n!=null?pc(l,p,_a(n)):u!=null?pc(l,p,_a(u)):c!=null&&l.removeAttribute("value"),s==null&&r!=null&&(l.defaultChecked=!!r),s!=null&&(l.checked=s&&typeof s!="function"&&typeof s!="symbol"),E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?l.name=""+_a(E):l.removeAttribute("name")}function rs(l,n,u,c,s,r,p,E){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(l.type=r),n!=null||u!=null){if(!(r!=="submit"&&r!=="reset"||n!=null)){fd(l);return}u=u!=null?""+_a(u):"",n=n!=null?""+_a(n):u,E||n===l.value||(l.value=n),l.defaultValue=n}c=c??s,c=typeof c!="function"&&typeof c!="symbol"&&!!c,l.checked=E?l.checked:!!c,l.defaultChecked=!!c,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(l.name=p),fd(l)}function pc(l,n,u){n==="number"&&fs(l.ownerDocument)===l||l.defaultValue===""+u||(l.defaultValue=""+u)}function Oo(l,n,u,c){if(l=l.options,n){n={};for(var s=0;s<u.length;s++)n["$"+u[s]]=!0;for(u=0;u<l.length;u++)s=n.hasOwnProperty("$"+l[u].value),l[u].selected!==s&&(l[u].selected=s),s&&c&&(l[u].defaultSelected=!0)}else{for(u=""+_a(u),n=null,s=0;s<l.length;s++){if(l[s].value===u){l[s].selected=!0,c&&(l[s].defaultSelected=!0);return}n!==null||l[s].disabled||(n=l[s])}n!==null&&(n.selected=!0)}}function Gm(l,n,u){if(n!=null&&(n=""+_a(n),n!==l.value&&(l.value=n),u==null)){l.defaultValue!==n&&(l.defaultValue=n);return}l.defaultValue=u!=null?""+_a(u):""}function Xm(l,n,u,c){if(n==null){if(c!=null){if(u!=null)throw Error(y(92));if(hl(c)){if(1<c.length)throw Error(y(93));c=c[0]}u=c}u==null&&(u=""),n=u}u=_a(n),l.defaultValue=u,c=l.textContent,c===u&&c!==""&&c!==null&&(l.value=c),fd(l)}function Wn(l,n){if(n){var u=l.firstChild;if(u&&u===l.lastChild&&u.nodeType===3){u.nodeValue=n;return}}l.textContent=n}var J0=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function K0(l,n,u){var c=n.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?l.setProperty(n,""):n==="float"?l.cssFloat="":l[n]="":c?l.setProperty(n,u):typeof u!="number"||u===0||J0.has(n)?n==="float"?l.cssFloat=u:l[n]=(""+u).trim():l[n]=u+"px"}function $0(l,n,u){if(n!=null&&typeof n!="object")throw Error(y(62));if(l=l.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||n!=null&&n.hasOwnProperty(c)||(c.indexOf("--")===0?l.setProperty(c,""):c==="float"?l.cssFloat="":l[c]="");for(var s in n)c=n[s],n.hasOwnProperty(s)&&u[s]!==c&&K0(l,s,c)}else for(var r in n)n.hasOwnProperty(r)&&K0(l,r,n[r])}function Lm(l){if(l.indexOf("-")===-1)return!1;switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var M1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ds=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Pa(l){return ds.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function bn(){}var sd=null;function rd(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var In=null,yc=null;function hs(l){var n=dc(l);if(n&&(l=n.stateNode)){var u=l[Il]||null;t:switch(l=n.stateNode,n.type){case"input":if(ss(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),n=u.name,u.type==="radio"&&n!=null){for(u=l;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Ra(""+n)+'"][type="radio"]'),n=0;n<u.length;n++){var c=u[n];if(c!==l&&c.form===l.form){var s=c[Il]||null;if(!s)throw Error(y(90));ss(c,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(n=0;n<u.length;n++)c=u[n],c.form===l.form&&Ym(c)}break t;case"textarea":Gm(l,u.value,u.defaultValue);break t;case"select":n=u.value,n!=null&&Oo(l,!!u.multiple,n,!1)}}}var _o=!1;function Vm(l,n,u){if(_o)return l(n,u);_o=!0;try{var c=l(n);return c}finally{if(_o=!1,(In!==null||yc!==null)&&(sf(),In&&(n=In,l=yc,yc=In=null,hs(n),l)))for(n=0;n<l.length;n++)hs(l[n])}}function El(l,n){var u=l.stateNode;if(u===null)return null;var c=u[Il]||null;if(c===null)return null;u=c[n];t:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(l=l.type,c=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!c;break t;default:l=!1}if(l)return null;if(u&&typeof u!="function")throw Error(y(231,n,typeof u));return u}var Vu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ms=!1;if(Vu)try{var Ro={};Object.defineProperty(Ro,"passive",{get:function(){ms=!0}}),window.addEventListener("test",Ro,Ro),window.removeEventListener("test",Ro,Ro)}catch{ms=!1}var Qu=null,Qm=null,dd=null;function Zm(){if(dd)return dd;var l,n=Qm,u=n.length,c,s="value"in Qu?Qu.value:Qu.textContent,r=s.length;for(l=0;l<u&&n[l]===s[l];l++);var p=u-l;for(c=1;c<=p&&n[u-c]===s[r-c];c++);return dd=s.slice(l,1<c?1-c:void 0)}function hd(l){var n=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&n===13&&(l=13)):l=n,l===10&&(l=13),32<=l||l===13?l:0}function ps(){return!0}function k0(){return!1}function ql(l){function n(u,c,s,r,p){this._reactName=u,this._targetInst=s,this.type=c,this.nativeEvent=r,this.target=p,this.currentTarget=null;for(var E in l)l.hasOwnProperty(E)&&(u=l[E],this[E]=u?u(r):r[E]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?ps:k0,this.isPropagationStopped=k0,this}return W(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=ps)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=ps)},persist:function(){},isPersistent:ps}),n}var zi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ys=ql(zi),Mo=W({},zi,{view:0,detail:0}),U1=ql(Mo),Jm,Km,gs,md=W({},Mo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tn,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==gs&&(gs&&l.type==="mousemove"?(Jm=l.screenX-gs.screenX,Km=l.screenY-gs.screenY):Km=Jm=0,gs=l),Jm)},movementY:function(l){return"movementY"in l?l.movementY:Km}}),Uo=ql(md),F0=W({},md,{dataTransfer:0}),W0=ql(F0),I0=W({},Mo,{relatedTarget:0}),pd=ql(I0),$m=W({},zi,{animationName:0,elapsedTime:0,pseudoElement:0}),P0=ql($m),gc=W({},zi,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),vc=ql(gc),Sn=W({},zi,{data:0}),tg=ql(Sn),km={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Pn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(l){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(l):(l=eg[l])?!!n[l]:!1}function tn(){return En}var yd=W({},Mo,{key:function(l){if(l.key){var n=km[l.key]||l.key;if(n!=="Unidentified")return n}return l.type==="keypress"?(l=hd(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?Pn[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tn,charCode:function(l){return l.type==="keypress"?hd(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?hd(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),gd=ql(yd),Fm=W({},md,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Tn=ql(Fm),C1=W({},Mo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tn}),lg=ql(C1),ag=W({},zi,{propertyName:0,elapsedTime:0,pseudoElement:0}),x1=ql(ag),Wm=W({},md,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),H1=ql(Wm),ng=W({},zi,{newState:0,oldState:0}),Im=ql(ng),vd=[9,13,27,32],Co=Vu&&"CompositionEvent"in window,bc=null;Vu&&"documentMode"in document&&(bc=document.documentMode);var Vl=Vu&&"TextEvent"in window&&!bc,Pm=Vu&&(!Co||bc&&8<bc&&11>=bc),vs=" ",Di=!1;function bd(l,n){switch(l){case"keyup":return vd.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tp(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Sc=!1;function ug(l,n){switch(l){case"compositionend":return tp(n);case"keypress":return n.which!==32?null:(Di=!0,vs);case"textInput":return l=n.data,l===vs&&Di?null:l;default:return null}}function w1(l,n){if(Sc)return l==="compositionend"||!Co&&bd(l,n)?(l=Zm(),dd=Qm=Qu=null,Sc=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Pm&&n.locale!=="ko"?null:n.data;default:return null}}var ep={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tu(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n==="input"?!!ep[l.type]:n==="textarea"}function lp(l,n,u,c){In?yc?yc.push(c):yc=[c]:In=c,n=mr(n,"onChange"),0<n.length&&(u=new ys("onChange","change",null,u,c),l.push({event:u,listeners:n}))}var Ec=null,Oi=null;function Tc(l){tv(l,0)}function xo(l){var n=To(l);if(Ym(n))return l}function ap(l,n){if(l==="change")return n}var Sd=!1;if(Vu){var Pl;if(Vu){var An="oninput"in document;if(!An){var np=document.createElement("div");np.setAttribute("oninput","return;"),An=typeof np.oninput=="function"}Pl=An}else Pl=!1;Sd=Pl&&(!document.documentMode||9<document.documentMode)}function Ed(){Ec&&(Ec.detachEvent("onpropertychange",Td),Oi=Ec=null)}function Td(l){if(l.propertyName==="value"&&xo(Oi)){var n=[];lp(n,Oi,l,rd(l)),Vm(Tc,n)}}function ig(l,n,u){l==="focusin"?(Ed(),Ec=n,Oi=u,Ec.attachEvent("onpropertychange",Td)):l==="focusout"&&Ed()}function cg(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return xo(Oi)}function _i(l,n){if(l==="click")return xo(n)}function Ac(l,n){if(l==="input"||l==="change")return xo(n)}function og(l,n){return l===n&&(l!==0||1/l===1/n)||l!==l&&n!==n}var Ql=typeof Object.is=="function"?Object.is:og;function en(l,n){if(Ql(l,n))return!0;if(typeof l!="object"||l===null||typeof n!="object"||n===null)return!1;var u=Object.keys(l),c=Object.keys(n);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var s=u[c];if(!Um.call(n,s)||!Ql(l[s],n[s]))return!1}return!0}function up(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function ip(l,n){var u=up(l);l=0;for(var c;u;){if(u.nodeType===3){if(c=l+u.textContent.length,l<=n&&c>=n)return{node:u,offset:n-l};l=c}t:{for(;u;){if(u.nextSibling){u=u.nextSibling;break t}u=u.parentNode}u=void 0}u=up(u)}}function zc(l,n){return l&&n?l===n?!0:l&&l.nodeType===3?!1:n&&n.nodeType===3?zc(l,n.parentNode):"contains"in l?l.contains(n):l.compareDocumentPosition?!!(l.compareDocumentPosition(n)&16):!1:!1}function Ri(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var n=fs(l.document);n instanceof l.HTMLIFrameElement;){try{var u=typeof n.contentWindow.location.href=="string"}catch{u=!1}if(u)l=n.contentWindow;else break;n=fs(l.document)}return n}function bs(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n&&(n==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||n==="textarea"||l.contentEditable==="true")}var Ss=Vu&&"documentMode"in document&&11>=document.documentMode,Mi=null,Ho=null,ln=null,zn=!1;function Ad(l,n,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;zn||Mi==null||Mi!==fs(c)||(c=Mi,"selectionStart"in c&&bs(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),ln&&en(ln,c)||(ln=c,c=mr(Ho,"onSelect"),0<c.length&&(n=new ys("onSelect","select",null,n,u),l.push({event:n,listeners:c}),n.target=Mi)))}function Zu(l,n){var u={};return u[l.toLowerCase()]=n.toLowerCase(),u["Webkit"+l]="webkit"+n,u["Moz"+l]="moz"+n,u}var Dn={animationend:Zu("Animation","AnimationEnd"),animationiteration:Zu("Animation","AnimationIteration"),animationstart:Zu("Animation","AnimationStart"),transitionrun:Zu("Transition","TransitionRun"),transitionstart:Zu("Transition","TransitionStart"),transitioncancel:Zu("Transition","TransitionCancel"),transitionend:Zu("Transition","TransitionEnd")},wo={},Ui={};Vu&&(Ui=document.createElement("div").style,"AnimationEvent"in window||(delete Dn.animationend.animation,delete Dn.animationiteration.animation,delete Dn.animationstart.animation),"TransitionEvent"in window||delete Dn.transitionend.transition);function re(l){if(wo[l])return wo[l];if(!Dn[l])return l;var n=Dn[l],u;for(u in n)if(n.hasOwnProperty(u)&&u in Ui)return wo[l]=n[u];return l}var Es=re("animationend"),cp=re("animationiteration"),zd=re("animationstart"),Dc=re("transitionrun"),Ts=re("transitionstart"),eu=re("transitioncancel"),fg=re("transitionend"),lu=new Map,No="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");No.push("scrollEnd");function ta(l,n){lu.set(l,n),Ai(n,[l])}var Oc=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},qe=[],Tl=0,an=0;function Ma(){for(var l=Tl,n=an=Tl=0;n<l;){var u=qe[n];qe[n++]=null;var c=qe[n];qe[n++]=null;var s=qe[n];qe[n++]=null;var r=qe[n];if(qe[n++]=null,c!==null&&s!==null){var p=c.pending;p===null?s.next=s:(s.next=p.next,p.next=s),c.pending=s}r!==0&&Dd(u,s,r)}}function Ua(l,n,u,c){qe[Tl++]=l,qe[Tl++]=n,qe[Tl++]=u,qe[Tl++]=c,an|=c,l.lanes|=c,l=l.alternate,l!==null&&(l.lanes|=c)}function nn(l,n,u,c){return Ua(l,n,u,c),As(l)}function Ju(l,n){return Ua(l,null,null,n),As(l)}function Dd(l,n,u){l.lanes|=u;var c=l.alternate;c!==null&&(c.lanes|=u);for(var s=!1,r=l.return;r!==null;)r.childLanes|=u,c=r.alternate,c!==null&&(c.childLanes|=u),r.tag===22&&(l=r.stateNode,l===null||l._visibility&1||(s=!0)),l=r,r=r.return;return l.tag===3?(r=l.stateNode,s&&n!==null&&(s=31-Wl(u),l=r.hiddenUpdates,c=l[s],c===null?l[s]=[n]:c.push(n),n.lane=u|536870912),r):null}function As(l){if(50<ff)throw ff=0,ur=null,Error(y(185));for(var n=l.return;n!==null;)l=n,n=l.return;return l.tag===3?l.stateNode:null}var ea={};function sg(l,n,u,c){this.tag=l,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $e(l,n,u,c){return new sg(l,n,u,c)}function _c(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Ku(l,n){var u=l.alternate;return u===null?(u=$e(l.tag,n,l.key,l.mode),u.elementType=l.elementType,u.type=l.type,u.stateNode=l.stateNode,u.alternate=l,l.alternate=u):(u.pendingProps=n,u.type=l.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=l.flags&65011712,u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,n=l.dependencies,u.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},u.sibling=l.sibling,u.index=l.index,u.ref=l.ref,u.refCleanup=l.refCleanup,u}function op(l,n){l.flags&=65011714;var u=l.alternate;return u===null?(l.childLanes=0,l.lanes=n,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,n=u.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l}function Od(l,n,u,c,s,r){var p=0;if(c=l,typeof l=="function")_c(l)&&(p=1);else if(typeof l=="string")p=Cy(l,u,Nt.current)?26:l==="html"||l==="head"||l==="body"?27:5;else t:switch(l){case Jt:return l=$e(31,u,n,s),l.elementType=Jt,l.lanes=r,l;case dt:return $u(u.children,s,r,n);case at:p=8,s|=24;break;case Tt:return l=$e(12,u,n,s|2),l.elementType=Tt,l.lanes=r,l;case ie:return l=$e(13,u,n,s),l.elementType=ie,l.lanes=r,l;case Se:return l=$e(19,u,n,s),l.elementType=Se,l.lanes=r,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Et:p=10;break t;case te:p=9;break t;case gt:p=11;break t;case ee:p=14;break t;case ut:p=16,c=null;break t}p=29,u=Error(y(130,l===null?"null":typeof l,"")),c=null}return n=$e(p,u,n,s),n.elementType=l,n.type=c,n.lanes=r,n}function $u(l,n,u,c){return l=$e(7,l,c,n),l.lanes=u,l}function Bo(l,n,u){return l=$e(6,l,null,n),l.lanes=u,l}function fp(l){var n=$e(18,null,null,0);return n.stateNode=l,n}function _d(l,n,u){return n=$e(4,l.children!==null?l.children:[],l.key,n),n.lanes=u,n.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},n}var sp=new WeakMap;function Ca(l,n){if(typeof l=="object"&&l!==null){var u=sp.get(l);return u!==void 0?u:(n={value:l,source:n,stack:Fr(n)},sp.set(l,n),n)}return{value:l,source:n,stack:Fr(n)}}var xa=[],Rc=0,zs=null,tl=0,ga=[],la=0,On=null,va=1,_n="";function un(l,n){xa[Rc++]=tl,xa[Rc++]=zs,zs=l,tl=n}function rp(l,n,u){ga[la++]=va,ga[la++]=_n,ga[la++]=On,On=l;var c=va;l=_n;var s=32-Wl(c)-1;c&=~(1<<s),u+=1;var r=32-Wl(n)+s;if(30<r){var p=s-s%5;r=(c&(1<<p)-1).toString(32),c>>=p,s-=p,va=1<<32-Wl(n)+s|u<<s|c,_n=r+l}else va=1<<r|u<<s|c,_n=l}function qo(l){l.return!==null&&(un(l,1),rp(l,1,0))}function Rd(l){for(;l===zs;)zs=xa[--Rc],xa[Rc]=null,tl=xa[--Rc],xa[Rc]=null;for(;l===On;)On=ga[--la],ga[la]=null,_n=ga[--la],ga[la]=null,va=ga[--la],ga[la]=null}function Ds(l,n){ga[la++]=va,ga[la++]=_n,ga[la++]=On,va=n.id,_n=n.overflow,On=l}var Al=null,Me=null,Wt=!1,au=null,ml=!1,nu=Error(y(519));function cn(l){var n=Error(y(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Yo(Ca(n,l)),nu}function Os(l){var n=l.stateNode,u=l.type,c=l.memoizedProps;switch(n[Te]=l,n[Il]=c,u){case"dialog":kt("cancel",n),kt("close",n);break;case"iframe":case"object":case"embed":kt("load",n);break;case"video":case"audio":for(u=0;u<pf.length;u++)kt(pf[u],n);break;case"source":kt("error",n);break;case"img":case"image":case"link":kt("error",n),kt("load",n);break;case"details":kt("toggle",n);break;case"input":kt("invalid",n),rs(n,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":kt("invalid",n);break;case"textarea":kt("invalid",n),Xm(n,c.value,c.defaultValue,c.children)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||n.textContent===""+u||c.suppressHydrationWarning===!0||Sy(n.textContent,u)?(c.popover!=null&&(kt("beforetoggle",n),kt("toggle",n)),c.onScroll!=null&&kt("scroll",n),c.onScrollEnd!=null&&kt("scrollend",n),c.onClick!=null&&(n.onclick=bn),n=!0):n=!1,n||cn(l,!0)}function jo(l){for(Al=l.return;Al;)switch(Al.tag){case 5:case 31:case 13:ml=!1;return;case 27:case 3:ml=!0;return;default:Al=Al.return}}function uu(l){if(l!==Al)return!1;if(!Wt)return jo(l),Wt=!0,!1;var n=l.tag,u;if((u=n!==3&&n!==27)&&((u=n===5)&&(u=l.type,u=!(u!=="form"&&u!=="button")||gf(l.type,l.memoizedProps)),u=!u),u&&Me&&cn(l),jo(l),n===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(y(317));Me=Ch(l)}else if(n===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(y(317));Me=Ch(l)}else n===27?(n=Me,jn(l.type)?(l=gr,gr=null,Me=l):Me=n):Me=Al?da(l.stateNode.nextSibling):null;return!0}function Ci(){Me=Al=null,Wt=!1}function dp(){var l=au;return l!==null&&(Je===null?Je=l:Je.push.apply(Je,l),au=null),l}function Yo(l){au===null?au=[l]:au.push(l)}var Md=be(null),ku=null,Rn=null;function aa(l,n,u){Gt(Md,n._currentValue),n._currentValue=u}function Mn(l){l._currentValue=Md.current,le(Md)}function Ud(l,n,u){for(;l!==null;){var c=l.alternate;if((l.childLanes&n)!==n?(l.childLanes|=n,c!==null&&(c.childLanes|=n)):c!==null&&(c.childLanes&n)!==n&&(c.childLanes|=n),l===u)break;l=l.return}}function iu(l,n,u,c){var s=l.child;for(s!==null&&(s.return=l);s!==null;){var r=s.dependencies;if(r!==null){var p=s.child;r=r.firstContext;t:for(;r!==null;){var E=r;r=s;for(var O=0;O<n.length;O++)if(E.context===n[O]){r.lanes|=u,E=r.alternate,E!==null&&(E.lanes|=u),Ud(r.return,u,l),c||(p=null);break t}r=E.next}}else if(s.tag===18){if(p=s.return,p===null)throw Error(y(341));p.lanes|=u,r=p.alternate,r!==null&&(r.lanes|=u),Ud(p,u,l),p=null}else p=s.child;if(p!==null)p.return=s;else for(p=s;p!==null;){if(p===l){p=null;break}if(s=p.sibling,s!==null){s.return=p.return,p=s;break}p=p.return}s=p}}function zl(l,n,u,c){l=null;for(var s=n,r=!1;s!==null;){if(!r){if((s.flags&524288)!==0)r=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var p=s.alternate;if(p===null)throw Error(y(387));if(p=p.memoizedProps,p!==null){var E=s.type;Ql(s.pendingProps.value,p.value)||(l!==null?l.push(E):l=[E])}}else if(s===as.current){if(p=s.alternate,p===null)throw Error(y(387));p.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(l!==null?l.push(Sr):l=[Sr])}s=s.return}l!==null&&iu(n,l,u,c),n.flags|=262144}function Mc(l){for(l=l.firstContext;l!==null;){if(!Ql(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Ct(l){ku=l,Rn=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function k(l){return _s(ku,l)}function Fu(l,n){return ku===null&&Ct(l),_s(l,n)}function _s(l,n){var u=n._currentValue;if(n={context:n,memoizedValue:u,next:null},Rn===null){if(l===null)throw Error(y(308));Rn=n,l.dependencies={lanes:0,firstContext:n},l.flags|=524288}else Rn=Rn.next=n;return u}var ke=typeof AbortController<"u"?AbortController:function(){var l=[],n=this.signal={aborted:!1,addEventListener:function(u,c){l.push(c)}};this.abort=function(){n.aborted=!0,l.forEach(function(u){return u()})}},hp=m.unstable_scheduleCallback,mp=m.unstable_NormalPriority,el={$$typeof:Et,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Rs(){return{controller:new ke,data:new Map,refCount:0}}function Ms(l){l.refCount--,l.refCount===0&&hp(mp,function(){l.controller.abort()})}var Uc=null,Us=0,xi=0,cl=null;function pe(l,n){if(Uc===null){var u=Uc=[];Us=0,xi=Ah(),cl={status:"pending",value:void 0,then:function(c){u.push(c)}}}return Us++,n.then(Cs,Cs),n}function Cs(){if(--Us===0&&Uc!==null){cl!==null&&(cl.status="fulfilled");var l=Uc;Uc=null,xi=0,cl=null;for(var n=0;n<l.length;n++)(0,l[n])()}}function xs(l,n){var u=[],c={status:"pending",value:null,reason:null,then:function(s){u.push(s)}};return l.then(function(){c.status="fulfilled",c.value=n;for(var s=0;s<u.length;s++)(0,u[s])(n)},function(s){for(c.status="rejected",c.reason=s,s=0;s<u.length;s++)(0,u[s])(void 0)}),c}var Wu=H.S;H.S=function(l,n){cy=Bl(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&pe(l,n),Wu!==null&&Wu(l,n)};var Ha=be(null);function wa(){var l=Ha.current;return l!==null?l:ze.pooledCache}function Go(l,n){n===null?Gt(Ha,Ha.current):Gt(Ha,n.pool)}function Cc(){var l=wa();return l===null?null:{parent:el._currentValue,pool:l}}var Hi=Error(y(460)),xc=Error(y(474)),Xo=Error(y(542)),Hc={then:function(){}};function pp(l){return l=l.status,l==="fulfilled"||l==="rejected"}function yp(l,n,u){switch(u=l[u],u===void 0?l.push(n):u!==n&&(n.then(bn,bn),n=u),n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,Cd(l),l;default:if(typeof n.status=="string")n.then(bn,bn);else{if(l=ze,l!==null&&100<l.shellSuspendCounter)throw Error(y(482));l=n,l.status="pending",l.then(function(c){if(n.status==="pending"){var s=n;s.status="fulfilled",s.value=c}},function(c){if(n.status==="pending"){var s=n;s.status="rejected",s.reason=c}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,Cd(l),l}throw Ni=n,Hi}}function wi(l){try{var n=l._init;return n(l._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(Ni=u,Hi):u}}var Ni=null;function gp(){if(Ni===null)throw Error(y(459));var l=Ni;return Ni=null,l}function Cd(l){if(l===Hi||l===Xo)throw Error(y(483))}var Bi=null,wc=0;function Hs(l){var n=wc;return wc+=1,Bi===null&&(Bi=[]),yp(Bi,l,n)}function Lo(l,n){n=n.props.ref,l.ref=n!==void 0?n:null}function ws(l,n){throw n.$$typeof===st?Error(y(525)):(l=Object.prototype.toString.call(n),Error(y(31,l==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":l)))}function rg(l){function n(N,C){if(l){var B=N.deletions;B===null?(N.deletions=[C],N.flags|=16):B.push(C)}}function u(N,C){if(!l)return null;for(;C!==null;)n(N,C),C=C.sibling;return null}function c(N){for(var C=new Map;N!==null;)N.key!==null?C.set(N.key,N):C.set(N.index,N),N=N.sibling;return C}function s(N,C){return N=Ku(N,C),N.index=0,N.sibling=null,N}function r(N,C,B){return N.index=B,l?(B=N.alternate,B!==null?(B=B.index,B<C?(N.flags|=67108866,C):B):(N.flags|=67108866,C)):(N.flags|=1048576,C)}function p(N){return l&&N.alternate===null&&(N.flags|=67108866),N}function E(N,C,B,J){return C===null||C.tag!==6?(C=Bo(B,N.mode,J),C.return=N,C):(C=s(C,B),C.return=N,C)}function O(N,C,B,J){var yt=B.type;return yt===dt?Q(N,C,B.props.children,J,B.key):C!==null&&(C.elementType===yt||typeof yt=="object"&&yt!==null&&yt.$$typeof===ut&&wi(yt)===C.type)?(C=s(C,B.props),Lo(C,B),C.return=N,C):(C=Od(B.type,B.key,B.props,null,N.mode,J),Lo(C,B),C.return=N,C)}function q(N,C,B,J){return C===null||C.tag!==4||C.stateNode.containerInfo!==B.containerInfo||C.stateNode.implementation!==B.implementation?(C=_d(B,N.mode,J),C.return=N,C):(C=s(C,B.children||[]),C.return=N,C)}function Q(N,C,B,J,yt){return C===null||C.tag!==7?(C=$u(B,N.mode,J,yt),C.return=N,C):(C=s(C,B),C.return=N,C)}function K(N,C,B){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Bo(""+C,N.mode,B),C.return=N,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Zt:return B=Od(C.type,C.key,C.props,null,N.mode,B),Lo(B,C),B.return=N,B;case P:return C=_d(C,N.mode,B),C.return=N,C;case ut:return C=wi(C),K(N,C,B)}if(hl(C)||Ut(C))return C=$u(C,N.mode,B,null),C.return=N,C;if(typeof C.then=="function")return K(N,Hs(C),B);if(C.$$typeof===Et)return K(N,Fu(N,C),B);ws(N,C)}return null}function j(N,C,B,J){var yt=C!==null?C.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return yt!==null?null:E(N,C,""+B,J);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case Zt:return B.key===yt?O(N,C,B,J):null;case P:return B.key===yt?q(N,C,B,J):null;case ut:return B=wi(B),j(N,C,B,J)}if(hl(B)||Ut(B))return yt!==null?null:Q(N,C,B,J,null);if(typeof B.then=="function")return j(N,C,Hs(B),J);if(B.$$typeof===Et)return j(N,C,Fu(N,B),J);ws(N,B)}return null}function L(N,C,B,J,yt){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return N=N.get(B)||null,E(C,N,""+J,yt);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case Zt:return N=N.get(J.key===null?B:J.key)||null,O(C,N,J,yt);case P:return N=N.get(J.key===null?B:J.key)||null,q(C,N,J,yt);case ut:return J=wi(J),L(N,C,B,J,yt)}if(hl(J)||Ut(J))return N=N.get(B)||null,Q(C,N,J,yt,null);if(typeof J.then=="function")return L(N,C,B,Hs(J),yt);if(J.$$typeof===Et)return L(N,C,B,Fu(C,J),yt);ws(C,J)}return null}function ht(N,C,B,J){for(var yt=null,ce=null,mt=C,wt=C=0,jt=null;mt!==null&&wt<B.length;wt++){mt.index>wt?(jt=mt,mt=null):jt=mt.sibling;var se=j(N,mt,B[wt],J);if(se===null){mt===null&&(mt=jt);break}l&&mt&&se.alternate===null&&n(N,mt),C=r(se,C,wt),ce===null?yt=se:ce.sibling=se,ce=se,mt=jt}if(wt===B.length)return u(N,mt),Wt&&un(N,wt),yt;if(mt===null){for(;wt<B.length;wt++)mt=K(N,B[wt],J),mt!==null&&(C=r(mt,C,wt),ce===null?yt=mt:ce.sibling=mt,ce=mt);return Wt&&un(N,wt),yt}for(mt=c(mt);wt<B.length;wt++)jt=L(mt,N,wt,B[wt],J),jt!==null&&(l&&jt.alternate!==null&&mt.delete(jt.key===null?wt:jt.key),C=r(jt,C,wt),ce===null?yt=jt:ce.sibling=jt,ce=jt);return l&&mt.forEach(function(Xn){return n(N,Xn)}),Wt&&un(N,wt),yt}function At(N,C,B,J){if(B==null)throw Error(y(151));for(var yt=null,ce=null,mt=C,wt=C=0,jt=null,se=B.next();mt!==null&&!se.done;wt++,se=B.next()){mt.index>wt?(jt=mt,mt=null):jt=mt.sibling;var Xn=j(N,mt,se.value,J);if(Xn===null){mt===null&&(mt=jt);break}l&&mt&&Xn.alternate===null&&n(N,mt),C=r(Xn,C,wt),ce===null?yt=Xn:ce.sibling=Xn,ce=Xn,mt=jt}if(se.done)return u(N,mt),Wt&&un(N,wt),yt;if(mt===null){for(;!se.done;wt++,se=B.next())se=K(N,se.value,J),se!==null&&(C=r(se,C,wt),ce===null?yt=se:ce.sibling=se,ce=se);return Wt&&un(N,wt),yt}for(mt=c(mt);!se.done;wt++,se=B.next())se=L(mt,N,wt,se.value,J),se!==null&&(l&&se.alternate!==null&&mt.delete(se.key===null?wt:se.key),C=r(se,C,wt),ce===null?yt=se:ce.sibling=se,ce=se);return l&&mt.forEach(function(pv){return n(N,pv)}),Wt&&un(N,wt),yt}function Oe(N,C,B,J){if(typeof B=="object"&&B!==null&&B.type===dt&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case Zt:t:{for(var yt=B.key;C!==null;){if(C.key===yt){if(yt=B.type,yt===dt){if(C.tag===7){u(N,C.sibling),J=s(C,B.props.children),J.return=N,N=J;break t}}else if(C.elementType===yt||typeof yt=="object"&&yt!==null&&yt.$$typeof===ut&&wi(yt)===C.type){u(N,C.sibling),J=s(C,B.props),Lo(J,B),J.return=N,N=J;break t}u(N,C);break}else n(N,C);C=C.sibling}B.type===dt?(J=$u(B.props.children,N.mode,J,B.key),J.return=N,N=J):(J=Od(B.type,B.key,B.props,null,N.mode,J),Lo(J,B),J.return=N,N=J)}return p(N);case P:t:{for(yt=B.key;C!==null;){if(C.key===yt)if(C.tag===4&&C.stateNode.containerInfo===B.containerInfo&&C.stateNode.implementation===B.implementation){u(N,C.sibling),J=s(C,B.children||[]),J.return=N,N=J;break t}else{u(N,C);break}else n(N,C);C=C.sibling}J=_d(B,N.mode,J),J.return=N,N=J}return p(N);case ut:return B=wi(B),Oe(N,C,B,J)}if(hl(B))return ht(N,C,B,J);if(Ut(B)){if(yt=Ut(B),typeof yt!="function")throw Error(y(150));return B=yt.call(B),At(N,C,B,J)}if(typeof B.then=="function")return Oe(N,C,Hs(B),J);if(B.$$typeof===Et)return Oe(N,C,Fu(N,B),J);ws(N,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,C!==null&&C.tag===6?(u(N,C.sibling),J=s(C,B),J.return=N,N=J):(u(N,C),J=Bo(B,N.mode,J),J.return=N,N=J),p(N)):u(N,C)}return function(N,C,B,J){try{wc=0;var yt=Oe(N,C,B,J);return Bi=null,yt}catch(mt){if(mt===Hi||mt===Xo)throw mt;var ce=$e(29,mt,null,N.mode);return ce.lanes=J,ce.return=N,ce}finally{}}}var qi=rg(!0),vp=rg(!1),Iu=!1;function Ns(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xd(l,n){l=l.updateQueue,n.updateQueue===l&&(n.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function Pu(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Na(l,n,u){var c=l.updateQueue;if(c===null)return null;if(c=c.shared,(fe&2)!==0){var s=c.pending;return s===null?n.next=n:(n.next=s.next,s.next=n),c.pending=n,n=As(l),Dd(l,null,u),n}return Ua(l,c,n,u),As(l)}function ji(l,n,u){if(n=n.updateQueue,n!==null&&(n=n.shared,(u&4194048)!==0)){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,$n(l,u)}}function Hd(l,n){var u=l.updateQueue,c=l.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var s=null,r=null;if(u=u.firstBaseUpdate,u!==null){do{var p={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};r===null?s=r=p:r=r.next=p,u=u.next}while(u!==null);r===null?s=r=n:r=r.next=n}else s=r=n;u={baseState:c.baseState,firstBaseUpdate:s,lastBaseUpdate:r,shared:c.shared,callbacks:c.callbacks},l.updateQueue=u;return}l=u.lastBaseUpdate,l===null?u.firstBaseUpdate=n:l.next=n,u.lastBaseUpdate=n}var bp=!1;function Yi(){if(bp){var l=cl;if(l!==null)throw l}}function cu(l,n,u,c){bp=!1;var s=l.updateQueue;Iu=!1;var r=s.firstBaseUpdate,p=s.lastBaseUpdate,E=s.shared.pending;if(E!==null){s.shared.pending=null;var O=E,q=O.next;O.next=null,p===null?r=q:p.next=q,p=O;var Q=l.alternate;Q!==null&&(Q=Q.updateQueue,E=Q.lastBaseUpdate,E!==p&&(E===null?Q.firstBaseUpdate=q:E.next=q,Q.lastBaseUpdate=O))}if(r!==null){var K=s.baseState;p=0,Q=q=O=null,E=r;do{var j=E.lane&-536870913,L=j!==E.lane;if(L?(Kt&j)===j:(c&j)===j){j!==0&&j===xi&&(bp=!0),Q!==null&&(Q=Q.next={lane:0,tag:E.tag,payload:E.payload,callback:null,next:null});t:{var ht=l,At=E;j=n;var Oe=u;switch(At.tag){case 1:if(ht=At.payload,typeof ht=="function"){K=ht.call(Oe,K,j);break t}K=ht;break t;case 3:ht.flags=ht.flags&-65537|128;case 0:if(ht=At.payload,j=typeof ht=="function"?ht.call(Oe,K,j):ht,j==null)break t;K=W({},K,j);break t;case 2:Iu=!0}}j=E.callback,j!==null&&(l.flags|=64,L&&(l.flags|=8192),L=s.callbacks,L===null?s.callbacks=[j]:L.push(j))}else L={lane:j,tag:E.tag,payload:E.payload,callback:E.callback,next:null},Q===null?(q=Q=L,O=K):Q=Q.next=L,p|=j;if(E=E.next,E===null){if(E=s.shared.pending,E===null)break;L=E,E=L.next,L.next=null,s.lastBaseUpdate=L,s.shared.pending=null}}while(!0);Q===null&&(O=K),s.baseState=O,s.firstBaseUpdate=q,s.lastBaseUpdate=Q,r===null&&(s.shared.lanes=0),Bn|=p,l.lanes=p,l.memoizedState=K}}function wd(l,n){if(typeof l!="function")throw Error(y(191,l));l.call(n)}function Gi(l,n){var u=l.callbacks;if(u!==null)for(l.callbacks=null,l=0;l<u.length;l++)wd(u[l],n)}var pl=be(null),Nc=be(0);function dg(l,n){l=Nn,Gt(Nc,l),Gt(pl,n),Nn=l|n.baseLanes}function Bs(){Gt(Nc,Nn),Gt(pl,pl.current)}function Vo(){Nn=Nc.current,le(pl),le(Nc)}var na=be(null),Ba=null;function ou(l){var n=l.alternate;Gt(je,je.current&1),Gt(na,l),Ba===null&&(n===null||pl.current!==null||n.memoizedState!==null)&&(Ba=l)}function Qo(l){Gt(je,je.current),Gt(na,l),Ba===null&&(Ba=l)}function Nd(l){l.tag===22?(Gt(je,je.current),Gt(na,l),Ba===null&&(Ba=l)):Un()}function Un(){Gt(je,je.current),Gt(na,na.current)}function ua(l){le(na),Ba===l&&(Ba=null),le(je)}var je=be(0);function Zo(l){for(var n=l;n!==null;){if(n.tag===13){var u=n.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||rn(u)||Ii(u)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var fu=0,Bt=null,ye=null,ll=null,Bc=!1,qc=!1,ti=!1,qs=0,Jo=0,Xi=null,hg=0;function Qe(){throw Error(y(321))}function ei(l,n){if(n===null)return!1;for(var u=0;u<n.length&&u<l.length;u++)if(!Ql(l[u],n[u]))return!1;return!0}function js(l,n,u,c,s,r){return fu=r,Bt=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,H.H=l===null||l.memoizedState===null?Eg:Id,ti=!1,r=u(c,s),ti=!1,qc&&(r=mg(n,u,c,s)),Bd(l),r}function Bd(l){H.H=Ks;var n=ye!==null&&ye.next!==null;if(fu=0,ll=ye=Bt=null,Bc=!1,Jo=0,Xi=null,n)throw Error(y(300));l===null||al||(l=l.dependencies,l!==null&&Mc(l)&&(al=!0))}function mg(l,n,u,c){Bt=l;var s=0;do{if(qc&&(Xi=null),Jo=0,qc=!1,25<=s)throw Error(y(301));if(s+=1,ll=ye=null,l.updateQueue!=null){var r=l.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}H.H=Tg,r=n(u,c)}while(qc);return r}function N1(){var l=H.H,n=l.useState()[0];return n=typeof n.then=="function"?Yc(n):n,l=l.useState()[0],(ye!==null?ye.memoizedState:null)!==l&&(Bt.flags|=1024),n}function qd(){var l=qs!==0;return qs=0,l}function jc(l,n,u){n.updateQueue=l.updateQueue,n.flags&=-2053,l.lanes&=~u}function Ys(l){if(Bc){for(l=l.memoizedState;l!==null;){var n=l.queue;n!==null&&(n.pending=null),l=l.next}Bc=!1}fu=0,ll=ye=Bt=null,qc=!1,Jo=qs=0,Xi=null}function Dl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ll===null?Bt.memoizedState=ll=l:ll=ll.next=l,ll}function Fe(){if(ye===null){var l=Bt.alternate;l=l!==null?l.memoizedState:null}else l=ye.next;var n=ll===null?Bt.memoizedState:ll.next;if(n!==null)ll=n,ye=l;else{if(l===null)throw Bt.alternate===null?Error(y(467)):Error(y(310));ye=l,l={memoizedState:ye.memoizedState,baseState:ye.baseState,baseQueue:ye.baseQueue,queue:ye.queue,next:null},ll===null?Bt.memoizedState=ll=l:ll=ll.next=l}return ll}function Gs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yc(l){var n=Jo;return Jo+=1,Xi===null&&(Xi=[]),l=yp(Xi,l,n),n=Bt,(ll===null?n.memoizedState:ll.next)===null&&(n=n.alternate,H.H=n===null||n.memoizedState===null?Eg:Id),l}function Ko(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Yc(l);if(l.$$typeof===Et)return k(l)}throw Error(y(438,String(l)))}function jd(l){var n=null,u=Bt.updateQueue;if(u!==null&&(n=u.memoCache),n==null){var c=Bt.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(n={data:c.data.map(function(s){return s.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),u===null&&(u=Gs(),Bt.updateQueue=u),u.memoCache=n,u=n.data[n.index],u===void 0)for(u=n.data[n.index]=Array(l),c=0;c<l;c++)u[c]=ct;return n.index++,u}function su(l,n){return typeof n=="function"?n(l):n}function ru(l){var n=Fe();return Yd(n,ye,l)}function Yd(l,n,u){var c=l.queue;if(c===null)throw Error(y(311));c.lastRenderedReducer=u;var s=l.baseQueue,r=c.pending;if(r!==null){if(s!==null){var p=s.next;s.next=r.next,r.next=p}n.baseQueue=s=r,c.pending=null}if(r=l.baseState,s===null)l.memoizedState=r;else{n=s.next;var E=p=null,O=null,q=n,Q=!1;do{var K=q.lane&-536870913;if(K!==q.lane?(Kt&K)===K:(fu&K)===K){var j=q.revertLane;if(j===0)O!==null&&(O=O.next={lane:0,revertLane:0,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),K===xi&&(Q=!0);else if((fu&j)===j){q=q.next,j===xi&&(Q=!0);continue}else K={lane:0,revertLane:q.revertLane,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},O===null?(E=O=K,p=r):O=O.next=K,Bt.lanes|=j,Bn|=j;K=q.action,ti&&u(r,K),r=q.hasEagerState?q.eagerState:u(r,K)}else j={lane:K,revertLane:q.revertLane,gesture:q.gesture,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},O===null?(E=O=j,p=r):O=O.next=j,Bt.lanes|=K,Bn|=K;q=q.next}while(q!==null&&q!==n);if(O===null?p=r:O.next=E,!Ql(r,l.memoizedState)&&(al=!0,Q&&(u=cl,u!==null)))throw u;l.memoizedState=r,l.baseState=p,l.baseQueue=O,c.lastRenderedState=r}return s===null&&(c.lanes=0),[l.memoizedState,c.dispatch]}function Gd(l){var n=Fe(),u=n.queue;if(u===null)throw Error(y(311));u.lastRenderedReducer=l;var c=u.dispatch,s=u.pending,r=n.memoizedState;if(s!==null){u.pending=null;var p=s=s.next;do r=l(r,p.action),p=p.next;while(p!==s);Ql(r,n.memoizedState)||(al=!0),n.memoizedState=r,n.baseQueue===null&&(n.baseState=r),u.lastRenderedState=r}return[r,c]}function Sp(l,n,u){var c=Bt,s=Fe(),r=Wt;if(r){if(u===void 0)throw Error(y(407));u=u()}else u=n();var p=!Ql((ye||s).memoizedState,u);if(p&&(s.memoizedState=u,al=!0),s=s.queue,Zd(Xd.bind(null,c,s,l),[l]),s.getSnapshot!==n||p||ll!==null&&ll.memoizedState.tag&1){if(c.flags|=2048,Xc(9,{destroy:void 0},Ep.bind(null,c,s,u,n),null),ze===null)throw Error(y(349));r||(fu&127)!==0||Xs(c,n,u)}return u}function Xs(l,n,u){l.flags|=16384,l={getSnapshot:n,value:u},n=Bt.updateQueue,n===null?(n=Gs(),Bt.updateQueue=n,n.stores=[l]):(u=n.stores,u===null?n.stores=[l]:u.push(l))}function Ep(l,n,u,c){n.value=u,n.getSnapshot=c,Ld(n)&&Vd(l)}function Xd(l,n,u){return u(function(){Ld(n)&&Vd(l)})}function Ld(l){var n=l.getSnapshot;l=l.value;try{var u=n();return!Ql(l,u)}catch{return!0}}function Vd(l){var n=Ju(l,2);n!==null&&ra(n,l,2)}function Tp(l){var n=Dl();if(typeof l=="function"){var u=l;if(l=u(),ti){Gu(!0);try{u()}finally{Gu(!1)}}}return n.memoizedState=n.baseState=l,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:su,lastRenderedState:l},n}function Ol(l,n,u,c){return l.baseState=u,Yd(l,ye,typeof c=="function"?c:su)}function pg(l,n,u,c,s){if(Js(l))throw Error(y(485));if(l=n.action,l!==null){var r={payload:s,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){r.listeners.push(p)}};H.T!==null?u(!0):r.isTransition=!1,c(r),u=n.pending,u===null?(r.next=n.pending=r,Ap(n,r)):(r.next=u.next,n.pending=u.next=r)}}function Ap(l,n){var u=n.action,c=n.payload,s=l.state;if(n.isTransition){var r=H.T,p={};H.T=p;try{var E=u(s,c),O=H.S;O!==null&&O(p,E),zp(l,n,E)}catch(q){Gc(l,n,q)}finally{r!==null&&p.types!==null&&(r.types=p.types),H.T=r}}else try{r=u(s,c),zp(l,n,r)}catch(q){Gc(l,n,q)}}function zp(l,n,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){Dp(l,n,c)},function(c){return Gc(l,n,c)}):Dp(l,n,u)}function Dp(l,n,u){n.status="fulfilled",n.value=u,Op(n),l.state=u,n=l.pending,n!==null&&(u=n.next,u===n?l.pending=null:(u=u.next,n.next=u,Ap(l,u)))}function Gc(l,n,u){var c=l.pending;if(l.pending=null,c!==null){c=c.next;do n.status="rejected",n.reason=u,Op(n),n=n.next;while(n!==c)}l.action=null}function Op(l){l=l.listeners;for(var n=0;n<l.length;n++)(0,l[n])()}function Ls(l,n){return n}function _p(l,n){if(Wt){var u=ze.formState;if(u!==null){t:{var c=Bt;if(Wt){if(Me){e:{for(var s=Me,r=ml;s.nodeType!==8;){if(!r){s=null;break e}if(s=da(s.nextSibling),s===null){s=null;break e}}r=s.data,s=r==="F!"||r==="F"?s:null}if(s){Me=da(s.nextSibling),c=s.data==="F!";break t}}cn(c)}c=!1}c&&(n=u[0])}}return u=Dl(),u.memoizedState=u.baseState=n,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ls,lastRenderedState:n},u.queue=c,u=Fd.bind(null,Bt,c),c.dispatch=u,c=Tp(!1),r=Li.bind(null,Bt,!1,c.queue),c=Dl(),s={state:n,dispatch:null,action:l,pending:null},c.queue=s,u=pg.bind(null,Bt,s,r,u),s.dispatch=u,c.memoizedState=l,[n,u,!1]}function yg(l){var n=Fe();return Vs(n,ye,l)}function Vs(l,n,u){if(n=Yd(l,n,Ls)[0],l=ru(su)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var c=Yc(n)}catch(p){throw p===Hi?Xo:p}else c=n;n=Fe();var s=n.queue,r=s.dispatch;return u!==n.memoizedState&&(Bt.flags|=2048,Xc(9,{destroy:void 0},Rp.bind(null,s,u),null)),[c,r,l]}function Rp(l,n){l.action=n}function Mp(l){var n=Fe(),u=ye;if(u!==null)return Vs(n,u,l);Fe(),n=n.memoizedState,u=Fe();var c=u.queue.dispatch;return u.memoizedState=l,[n,c,!1]}function Xc(l,n,u,c){return l={tag:l,create:u,deps:c,inst:n,next:null},n=Bt.updateQueue,n===null&&(n=Gs(),Bt.updateQueue=n),u=n.lastEffect,u===null?n.lastEffect=l.next=l:(c=u.next,u.next=l,l.next=c,n.lastEffect=l),l}function Up(){return Fe().memoizedState}function $o(l,n,u,c){var s=Dl();Bt.flags|=l,s.memoizedState=Xc(1|n,{destroy:void 0},u,c===void 0?null:c)}function ko(l,n,u,c){var s=Fe();c=c===void 0?null:c;var r=s.memoizedState.inst;ye!==null&&c!==null&&ei(c,ye.memoizedState.deps)?s.memoizedState=Xc(n,r,u,c):(Bt.flags|=l,s.memoizedState=Xc(1|n,r,u,c))}function Qd(l,n){$o(8390656,8,l,n)}function Zd(l,n){ko(2048,8,l,n)}function Cp(l){Bt.flags|=4;var n=Bt.updateQueue;if(n===null)n=Gs(),Bt.updateQueue=n,n.events=[l];else{var u=n.events;u===null?n.events=[l]:u.push(l)}}function Qs(l){var n=Fe().memoizedState;return Cp({ref:n,nextImpl:l}),function(){if((fe&2)!==0)throw Error(y(440));return n.impl.apply(void 0,arguments)}}function Jd(l,n){return ko(4,2,l,n)}function xp(l,n){return ko(4,4,l,n)}function Kd(l,n){if(typeof n=="function"){l=l();var u=n(l);return function(){typeof u=="function"?u():n(null)}}if(n!=null)return l=l(),n.current=l,function(){n.current=null}}function Hp(l,n,u){u=u!=null?u.concat([l]):null,ko(4,4,Kd.bind(null,n,l),u)}function Cn(){}function $d(l,n){var u=Fe();n=n===void 0?null:n;var c=u.memoizedState;return n!==null&&ei(n,c[1])?c[0]:(u.memoizedState=[l,n],l)}function gg(l,n){var u=Fe();n=n===void 0?null:n;var c=u.memoizedState;if(n!==null&&ei(n,c[1]))return c[0];if(c=l(),ti){Gu(!0);try{l()}finally{Gu(!1)}}return u.memoizedState=[c,n],c}function Zs(l,n,u){return u===void 0||(fu&1073741824)!==0&&(Kt&261930)===0?l.memoizedState=n:(l.memoizedState=u,l=xg(),Bt.lanes|=l,Bn|=l,u)}function du(l,n,u,c){return Ql(u,n)?u:pl.current!==null?(l=Zs(l,u,c),Ql(l,n)||(al=!0),l):(fu&42)===0||(fu&1073741824)!==0&&(Kt&261930)===0?(al=!0,l.memoizedState=u):(l=xg(),Bt.lanes|=l,Bn|=l,n)}function kd(l,n,u,c,s){var r=$.p;$.p=r!==0&&8>r?r:8;var p=H.T,E={};H.T=E,Li(l,!1,n,u);try{var O=s(),q=H.S;if(q!==null&&q(E,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var Q=xs(O,c);li(l,n,Q,Ta(l))}else li(l,n,c,Ta(l))}catch(K){li(l,n,{then:function(){},status:"rejected",reason:K},Ta())}finally{$.p=r,p!==null&&E.types!==null&&(p.types=E.types),H.T=p}}function vg(){}function Fo(l,n,u,c){if(l.tag!==5)throw Error(y(476));var s=Wo(l).queue;kd(l,s,n,et,u===null?vg:function(){return Ae(l),u(c)})}function Wo(l){var n=l.memoizedState;if(n!==null)return n;n={memoizedState:et,baseState:et,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:su,lastRenderedState:et},next:null};var u={};return n.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:su,lastRenderedState:u},next:null},l.memoizedState=n,l=l.alternate,l!==null&&(l.memoizedState=n),n}function Ae(l){var n=Wo(l);n.next===null&&(n=l.alternate.memoizedState),li(l,n.next.queue,{},Ta())}function wp(){return k(Sr)}function bg(){return Fe().memoizedState}function Np(){return Fe().memoizedState}function hu(l){for(var n=l.return;n!==null;){switch(n.tag){case 24:case 3:var u=Ta();l=Pu(u);var c=Na(n,l,u);c!==null&&(ra(c,n,u),ji(c,n,u)),n={cache:Rs()},l.payload=n;return}n=n.return}}function Sg(l,n,u){var c=Ta();u={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Js(l)?Wd(n,u):(u=nn(l,n,u,c),u!==null&&(ra(u,l,c),Bp(u,n,c)))}function Fd(l,n,u){var c=Ta();li(l,n,u,c)}function li(l,n,u,c){var s={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Js(l))Wd(n,s);else{var r=l.alternate;if(l.lanes===0&&(r===null||r.lanes===0)&&(r=n.lastRenderedReducer,r!==null))try{var p=n.lastRenderedState,E=r(p,u);if(s.hasEagerState=!0,s.eagerState=E,Ql(E,p))return Ua(l,n,s,0),ze===null&&Ma(),!1}catch{}finally{}if(u=nn(l,n,s,c),u!==null)return ra(u,l,c),Bp(u,n,c),!0}return!1}function Li(l,n,u,c){if(c={lane:2,revertLane:Ah(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Js(l)){if(n)throw Error(y(479))}else n=nn(l,u,c,2),n!==null&&ra(n,l,2)}function Js(l){var n=l.alternate;return l===Bt||n!==null&&n===Bt}function Wd(l,n){qc=Bc=!0;var u=l.pending;u===null?n.next=n:(n.next=u.next,u.next=n),l.pending=n}function Bp(l,n,u){if((u&4194048)!==0){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,$n(l,u)}}var Ks={readContext:k,use:Ko,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useLayoutEffect:Qe,useInsertionEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useSyncExternalStore:Qe,useId:Qe,useHostTransitionStatus:Qe,useFormState:Qe,useActionState:Qe,useOptimistic:Qe,useMemoCache:Qe,useCacheRefresh:Qe};Ks.useEffectEvent=Qe;var Eg={readContext:k,use:Ko,useCallback:function(l,n){return Dl().memoizedState=[l,n===void 0?null:n],l},useContext:k,useEffect:Qd,useImperativeHandle:function(l,n,u){u=u!=null?u.concat([l]):null,$o(4194308,4,Kd.bind(null,n,l),u)},useLayoutEffect:function(l,n){return $o(4194308,4,l,n)},useInsertionEffect:function(l,n){$o(4,2,l,n)},useMemo:function(l,n){var u=Dl();n=n===void 0?null:n;var c=l();if(ti){Gu(!0);try{l()}finally{Gu(!1)}}return u.memoizedState=[c,n],c},useReducer:function(l,n,u){var c=Dl();if(u!==void 0){var s=u(n);if(ti){Gu(!0);try{u(n)}finally{Gu(!1)}}}else s=n;return c.memoizedState=c.baseState=s,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:s},c.queue=l,l=l.dispatch=Sg.bind(null,Bt,l),[c.memoizedState,l]},useRef:function(l){var n=Dl();return l={current:l},n.memoizedState=l},useState:function(l){l=Tp(l);var n=l.queue,u=Fd.bind(null,Bt,n);return n.dispatch=u,[l.memoizedState,u]},useDebugValue:Cn,useDeferredValue:function(l,n){var u=Dl();return Zs(u,l,n)},useTransition:function(){var l=Tp(!1);return l=kd.bind(null,Bt,l.queue,!0,!1),Dl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,n,u){var c=Bt,s=Dl();if(Wt){if(u===void 0)throw Error(y(407));u=u()}else{if(u=n(),ze===null)throw Error(y(349));(Kt&127)!==0||Xs(c,n,u)}s.memoizedState=u;var r={value:u,getSnapshot:n};return s.queue=r,Qd(Xd.bind(null,c,r,l),[l]),c.flags|=2048,Xc(9,{destroy:void 0},Ep.bind(null,c,r,u,n),null),u},useId:function(){var l=Dl(),n=ze.identifierPrefix;if(Wt){var u=_n,c=va;u=(c&~(1<<32-Wl(c)-1)).toString(32)+u,n="_"+n+"R_"+u,u=qs++,0<u&&(n+="H"+u.toString(32)),n+="_"}else u=hg++,n="_"+n+"r_"+u.toString(32)+"_";return l.memoizedState=n},useHostTransitionStatus:wp,useFormState:_p,useActionState:_p,useOptimistic:function(l){var n=Dl();n.memoizedState=n.baseState=l;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=u,n=Li.bind(null,Bt,!0,u),u.dispatch=n,[l,n]},useMemoCache:jd,useCacheRefresh:function(){return Dl().memoizedState=hu.bind(null,Bt)},useEffectEvent:function(l){var n=Dl(),u={impl:l};return n.memoizedState=u,function(){if((fe&2)!==0)throw Error(y(440));return u.impl.apply(void 0,arguments)}}},Id={readContext:k,use:Ko,useCallback:$d,useContext:k,useEffect:Zd,useImperativeHandle:Hp,useInsertionEffect:Jd,useLayoutEffect:xp,useMemo:gg,useReducer:ru,useRef:Up,useState:function(){return ru(su)},useDebugValue:Cn,useDeferredValue:function(l,n){var u=Fe();return du(u,ye.memoizedState,l,n)},useTransition:function(){var l=ru(su)[0],n=Fe().memoizedState;return[typeof l=="boolean"?l:Yc(l),n]},useSyncExternalStore:Sp,useId:bg,useHostTransitionStatus:wp,useFormState:yg,useActionState:yg,useOptimistic:function(l,n){var u=Fe();return Ol(u,ye,l,n)},useMemoCache:jd,useCacheRefresh:Np};Id.useEffectEvent=Qs;var Tg={readContext:k,use:Ko,useCallback:$d,useContext:k,useEffect:Zd,useImperativeHandle:Hp,useInsertionEffect:Jd,useLayoutEffect:xp,useMemo:gg,useReducer:Gd,useRef:Up,useState:function(){return Gd(su)},useDebugValue:Cn,useDeferredValue:function(l,n){var u=Fe();return ye===null?Zs(u,l,n):du(u,ye.memoizedState,l,n)},useTransition:function(){var l=Gd(su)[0],n=Fe().memoizedState;return[typeof l=="boolean"?l:Yc(l),n]},useSyncExternalStore:Sp,useId:bg,useHostTransitionStatus:wp,useFormState:Mp,useActionState:Mp,useOptimistic:function(l,n){var u=Fe();return ye!==null?Ol(u,ye,l,n):(u.baseState=l,[l,u.queue.dispatch])},useMemoCache:jd,useCacheRefresh:Np};Tg.useEffectEvent=Qs;function Lc(l,n,u,c){n=l.memoizedState,u=u(c,n),u=u==null?n:W({},n,u),l.memoizedState=u,l.lanes===0&&(l.updateQueue.baseState=u)}var on={enqueueSetState:function(l,n,u){l=l._reactInternals;var c=Ta(),s=Pu(c);s.payload=n,u!=null&&(s.callback=u),n=Na(l,s,c),n!==null&&(ra(n,l,c),ji(n,l,c))},enqueueReplaceState:function(l,n,u){l=l._reactInternals;var c=Ta(),s=Pu(c);s.tag=1,s.payload=n,u!=null&&(s.callback=u),n=Na(l,s,c),n!==null&&(ra(n,l,c),ji(n,l,c))},enqueueForceUpdate:function(l,n){l=l._reactInternals;var u=Ta(),c=Pu(u);c.tag=2,n!=null&&(c.callback=n),n=Na(l,c,u),n!==null&&(ra(n,l,u),ji(n,l,u))}};function qp(l,n,u,c,s,r,p){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(c,r,p):n.prototype&&n.prototype.isPureReactComponent?!en(u,c)||!en(s,r):!0}function Ag(l,n,u,c){l=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(u,c),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(u,c),n.state!==l&&on.enqueueReplaceState(n,n.state,null)}function Vi(l,n){var u=n;if("ref"in n){u={};for(var c in n)c!=="ref"&&(u[c]=n[c])}if(l=l.defaultProps){u===n&&(u=W({},u));for(var s in l)u[s]===void 0&&(u[s]=l[s])}return u}function Pd(l){Oc(l)}function jp(l){console.error(l)}function th(l){Oc(l)}function Io(l,n){try{var u=l.onUncaughtError;u(n.value,{componentStack:n.stack})}catch(c){setTimeout(function(){throw c})}}function $s(l,n,u){try{var c=l.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Yp(l,n,u){return u=Pu(u),u.tag=3,u.payload={element:null},u.callback=function(){Io(l,n)},u}function Gp(l){return l=Pu(l),l.tag=3,l}function Xp(l,n,u,c){var s=u.type.getDerivedStateFromError;if(typeof s=="function"){var r=c.value;l.payload=function(){return s(r)},l.callback=function(){$s(n,u,c)}}var p=u.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(l.callback=function(){$s(n,u,c),typeof s!="function"&&(Ye===null?Ye=new Set([this]):Ye.add(this));var E=c.stack;this.componentDidCatch(c.value,{componentStack:E!==null?E:""})})}function B1(l,n,u,c,s){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(n=u.alternate,n!==null&&zl(n,u,s,!0),u=na.current,u!==null){switch(u.tag){case 31:case 13:return Ba===null?bh():u.alternate===null&&Ce===0&&(Ce=3),u.flags&=-257,u.flags|=65536,u.lanes=s,c===Hc?u.flags|=16384:(n=u.updateQueue,n===null?u.updateQueue=new Set([c]):n.add(c),or(l,c,s)),!1;case 22:return u.flags|=65536,c===Hc?u.flags|=16384:(n=u.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=n):(u=n.retryQueue,u===null?n.retryQueue=new Set([c]):u.add(c)),or(l,c,s)),!1}throw Error(y(435,u.tag))}return or(l,c,s),bh(),!1}if(Wt)return n=na.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=s,c!==nu&&(l=Error(y(422),{cause:c}),Yo(Ca(l,u)))):(c!==nu&&(n=Error(y(423),{cause:c}),Yo(Ca(n,u))),l=l.current.alternate,l.flags|=65536,s&=-s,l.lanes|=s,c=Ca(c,u),s=Yp(l.stateNode,c,s),Hd(l,s),Ce!==4&&(Ce=2)),!1;var r=Error(y(520),{cause:c});if(r=Ca(r,u),nr===null?nr=[r]:nr.push(r),Ce!==4&&(Ce=2),n===null)return!0;c=Ca(c,u),u=n;do{switch(u.tag){case 3:return u.flags|=65536,l=s&-s,u.lanes|=l,l=Yp(u.stateNode,c,l),Hd(u,l),!1;case 1:if(n=u.type,r=u.stateNode,(u.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Ye===null||!Ye.has(r))))return u.flags|=65536,s&=-s,u.lanes|=s,s=Gp(s),Xp(s,l,u,c),Hd(u,s),!1}u=u.return}while(u!==null);return!1}var eh=Error(y(461)),al=!1;function we(l,n,u,c){n.child=l===null?vp(n,null,u,c):qi(n,l.child,u,c)}function Lp(l,n,u,c,s){u=u.render;var r=n.ref;if("ref"in c){var p={};for(var E in c)E!=="ref"&&(p[E]=c[E])}else p=c;return Ct(n),c=js(l,n,u,p,r,s),E=qd(),l!==null&&!al?(jc(l,n,s),Ya(l,n,s)):(Wt&&E&&qo(n),n.flags|=1,we(l,n,c,s),n.child)}function Vp(l,n,u,c,s){if(l===null){var r=u.type;return typeof r=="function"&&!_c(r)&&r.defaultProps===void 0&&u.compare===null?(n.tag=15,n.type=r,Qp(l,n,r,c,s)):(l=Od(u.type,null,c,n,n.mode,s),l.ref=n.ref,l.return=n,n.child=l)}if(r=l.child,!nh(l,s)){var p=r.memoizedProps;if(u=u.compare,u=u!==null?u:en,u(p,c)&&l.ref===n.ref)return Ya(l,n,s)}return n.flags|=1,l=Ku(r,c),l.ref=n.ref,l.return=n,n.child=l}function Qp(l,n,u,c,s){if(l!==null){var r=l.memoizedProps;if(en(r,c)&&l.ref===n.ref)if(al=!1,n.pendingProps=c=r,nh(l,s))(l.flags&131072)!==0&&(al=!0);else return n.lanes=l.lanes,Ya(l,n,s)}return lh(l,n,u,c,s)}function zg(l,n,u,c){var s=c.children,r=l!==null?l.memoizedState:null;if(l===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((n.flags&128)!==0){if(r=r!==null?r.baseLanes|u:u,l!==null){for(c=n.child=l.child,s=0;c!==null;)s=s|c.lanes|c.childLanes,c=c.sibling;c=s&~r}else c=0,n.child=null;return ia(l,n,r,u,c)}if((u&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},l!==null&&Go(n,r!==null?r.cachePool:null),r!==null?dg(n,r):Bs(),Nd(n);else return c=n.lanes=536870912,ia(l,n,r!==null?r.baseLanes|u:u,u,c)}else r!==null?(Go(n,r.cachePool),dg(n,r),Un(),n.memoizedState=null):(l!==null&&Go(n,null),Bs(),Un());return we(l,n,s,u),n.child}function Qi(l,n){return l!==null&&l.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function ia(l,n,u,c,s){var r=wa();return r=r===null?null:{parent:el._currentValue,pool:r},n.memoizedState={baseLanes:u,cachePool:r},l!==null&&Go(n,null),Bs(),Nd(n),l!==null&&zl(l,n,c,!0),n.childLanes=s,null}function ks(l,n){return n=Is({mode:n.mode,children:n.children},l.mode),n.ref=l.ref,l.child=n,n.return=l,n}function ca(l,n,u){return qi(n,l.child,null,u),l=ks(n,n.pendingProps),l.flags|=2,ua(n),n.memoizedState=null,l}function Dg(l,n,u){var c=n.pendingProps,s=(n.flags&128)!==0;if(n.flags&=-129,l===null){if(Wt){if(c.mode==="hidden")return l=ks(n,c),n.lanes=536870912,Qi(null,l);if(Qo(n),(l=Me)?(l=iv(l,ml),l=l!==null&&l.data==="&"?l:null,l!==null&&(n.memoizedState={dehydrated:l,treeContext:On!==null?{id:va,overflow:_n}:null,retryLane:536870912,hydrationErrors:null},u=fp(l),u.return=n,n.child=u,Al=n,Me=null)):l=null,l===null)throw cn(n);return n.lanes=536870912,null}return ks(n,c)}var r=l.memoizedState;if(r!==null){var p=r.dehydrated;if(Qo(n),s)if(n.flags&256)n.flags&=-257,n=ca(l,n,u);else if(n.memoizedState!==null)n.child=l.child,n.flags|=128,n=null;else throw Error(y(558));else if(al||zl(l,n,u,!1),s=(u&l.childLanes)!==0,al||s){if(c=ze,c!==null&&(p=Oa(c,u),p!==0&&p!==r.retryLane))throw r.retryLane=p,Ju(l,p),ra(c,l,p),eh;bh(),n=ca(l,n,u)}else l=r.treeContext,Me=da(p.nextSibling),Al=n,Wt=!0,au=null,ml=!1,l!==null&&Ds(n,l),n=ks(n,c),n.flags|=4096;return n}return l=Ku(l.child,{mode:c.mode,children:c.children}),l.ref=n.ref,n.child=l,l.return=n,l}function qa(l,n){var u=n.ref;if(u===null)l!==null&&l.ref!==null&&(n.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(y(284));(l===null||l.ref!==u)&&(n.flags|=4194816)}}function lh(l,n,u,c,s){return Ct(n),u=js(l,n,u,c,void 0,s),c=qd(),l!==null&&!al?(jc(l,n,s),Ya(l,n,s)):(Wt&&c&&qo(n),n.flags|=1,we(l,n,u,s),n.child)}function Zi(l,n,u,c,s,r){return Ct(n),n.updateQueue=null,u=mg(n,c,u,s),Bd(l),c=qd(),l!==null&&!al?(jc(l,n,r),Ya(l,n,r)):(Wt&&c&&qo(n),n.flags|=1,we(l,n,u,r),n.child)}function Zp(l,n,u,c,s){if(Ct(n),n.stateNode===null){var r=ea,p=u.contextType;typeof p=="object"&&p!==null&&(r=k(p)),r=new u(c,r),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=on,n.stateNode=r,r._reactInternals=n,r=n.stateNode,r.props=c,r.state=n.memoizedState,r.refs={},Ns(n),p=u.contextType,r.context=typeof p=="object"&&p!==null?k(p):ea,r.state=n.memoizedState,p=u.getDerivedStateFromProps,typeof p=="function"&&(Lc(n,u,p,c),r.state=n.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(p=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),p!==r.state&&on.enqueueReplaceState(r,r.state,null),cu(n,c,r,s),Yi(),r.state=n.memoizedState),typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!0}else if(l===null){r=n.stateNode;var E=n.memoizedProps,O=Vi(u,E);r.props=O;var q=r.context,Q=u.contextType;p=ea,typeof Q=="object"&&Q!==null&&(p=k(Q));var K=u.getDerivedStateFromProps;Q=typeof K=="function"||typeof r.getSnapshotBeforeUpdate=="function",E=n.pendingProps!==E,Q||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(E||q!==p)&&Ag(n,r,c,p),Iu=!1;var j=n.memoizedState;r.state=j,cu(n,c,r,s),Yi(),q=n.memoizedState,E||j!==q||Iu?(typeof K=="function"&&(Lc(n,u,K,c),q=n.memoizedState),(O=Iu||qp(n,u,O,c,j,q,p))?(Q||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(n.flags|=4194308)):(typeof r.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=c,n.memoizedState=q),r.props=c,r.state=q,r.context=p,c=O):(typeof r.componentDidMount=="function"&&(n.flags|=4194308),c=!1)}else{r=n.stateNode,xd(l,n),p=n.memoizedProps,Q=Vi(u,p),r.props=Q,K=n.pendingProps,j=r.context,q=u.contextType,O=ea,typeof q=="object"&&q!==null&&(O=k(q)),E=u.getDerivedStateFromProps,(q=typeof E=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(p!==K||j!==O)&&Ag(n,r,c,O),Iu=!1,j=n.memoizedState,r.state=j,cu(n,c,r,s),Yi();var L=n.memoizedState;p!==K||j!==L||Iu||l!==null&&l.dependencies!==null&&Mc(l.dependencies)?(typeof E=="function"&&(Lc(n,u,E,c),L=n.memoizedState),(Q=Iu||qp(n,u,Q,c,j,L,O)||l!==null&&l.dependencies!==null&&Mc(l.dependencies))?(q||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(c,L,O),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(c,L,O)),typeof r.componentDidUpdate=="function"&&(n.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof r.componentDidUpdate!="function"||p===l.memoizedProps&&j===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||p===l.memoizedProps&&j===l.memoizedState||(n.flags|=1024),n.memoizedProps=c,n.memoizedState=L),r.props=c,r.state=L,r.context=O,c=Q):(typeof r.componentDidUpdate!="function"||p===l.memoizedProps&&j===l.memoizedState||(n.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||p===l.memoizedProps&&j===l.memoizedState||(n.flags|=1024),c=!1)}return r=c,qa(l,n),c=(n.flags&128)!==0,r||c?(r=n.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:r.render(),n.flags|=1,l!==null&&c?(n.child=qi(n,l.child,null,s),n.child=qi(n,null,u,s)):we(l,n,u,s),n.memoizedState=r.state,l=n.child):l=Ya(l,n,s),l}function xn(l,n,u,c){return Ci(),n.flags|=256,we(l,n,u,c),n.child}var Fs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ws(l){return{baseLanes:l,cachePool:Cc()}}function ja(l,n,u){return l=l!==null?l.childLanes&~u:0,n&&(l|=sa),l}function Jp(l,n,u){var c=n.pendingProps,s=!1,r=(n.flags&128)!==0,p;if((p=r)||(p=l!==null&&l.memoizedState===null?!1:(je.current&2)!==0),p&&(s=!0,n.flags&=-129),p=(n.flags&32)!==0,n.flags&=-33,l===null){if(Wt){if(s?ou(n):Un(),(l=Me)?(l=iv(l,ml),l=l!==null&&l.data!=="&"?l:null,l!==null&&(n.memoizedState={dehydrated:l,treeContext:On!==null?{id:va,overflow:_n}:null,retryLane:536870912,hydrationErrors:null},u=fp(l),u.return=n,n.child=u,Al=n,Me=null)):l=null,l===null)throw cn(n);return Ii(l)?n.lanes=32:n.lanes=536870912,null}var E=c.children;return c=c.fallback,s?(Un(),s=n.mode,E=Is({mode:"hidden",children:E},s),c=$u(c,s,u,null),E.return=n,c.return=n,E.sibling=c,n.child=E,c=n.child,c.memoizedState=Ws(u),c.childLanes=ja(l,p,u),n.memoizedState=Fs,Qi(null,c)):(ou(n),Ji(n,E))}var O=l.memoizedState;if(O!==null&&(E=O.dehydrated,E!==null)){if(r)n.flags&256?(ou(n),n.flags&=-257,n=Vc(l,n,u)):n.memoizedState!==null?(Un(),n.child=l.child,n.flags|=128,n=null):(Un(),E=c.fallback,s=n.mode,c=Is({mode:"visible",children:c.children},s),E=$u(E,s,u,null),E.flags|=2,c.return=n,E.return=n,c.sibling=E,n.child=c,qi(n,l.child,null,u),c=n.child,c.memoizedState=Ws(u),c.childLanes=ja(l,p,u),n.memoizedState=Fs,n=Qi(null,c));else if(ou(n),Ii(E)){if(p=E.nextSibling&&E.nextSibling.dataset,p)var q=p.dgst;p=q,c=Error(y(419)),c.stack="",c.digest=p,Yo({value:c,source:null,stack:null}),n=Vc(l,n,u)}else if(al||zl(l,n,u,!1),p=(u&l.childLanes)!==0,al||p){if(p=ze,p!==null&&(c=Oa(p,u),c!==0&&c!==O.retryLane))throw O.retryLane=c,Ju(l,c),ra(p,l,c),eh;rn(E)||bh(),n=Vc(l,n,u)}else rn(E)?(n.flags|=192,n.child=l.child,n=null):(l=O.treeContext,Me=da(E.nextSibling),Al=n,Wt=!0,au=null,ml=!1,l!==null&&Ds(n,l),n=Ji(n,c.children),n.flags|=4096);return n}return s?(Un(),E=c.fallback,s=n.mode,O=l.child,q=O.sibling,c=Ku(O,{mode:"hidden",children:c.children}),c.subtreeFlags=O.subtreeFlags&65011712,q!==null?E=Ku(q,E):(E=$u(E,s,u,null),E.flags|=2),E.return=n,c.return=n,c.sibling=E,n.child=c,Qi(null,c),c=n.child,E=l.child.memoizedState,E===null?E=Ws(u):(s=E.cachePool,s!==null?(O=el._currentValue,s=s.parent!==O?{parent:O,pool:O}:s):s=Cc(),E={baseLanes:E.baseLanes|u,cachePool:s}),c.memoizedState=E,c.childLanes=ja(l,p,u),n.memoizedState=Fs,Qi(l.child,c)):(ou(n),u=l.child,l=u.sibling,u=Ku(u,{mode:"visible",children:c.children}),u.return=n,u.sibling=null,l!==null&&(p=n.deletions,p===null?(n.deletions=[l],n.flags|=16):p.push(l)),n.child=u,n.memoizedState=null,u)}function Ji(l,n){return n=Is({mode:"visible",children:n},l.mode),n.return=l,l.child=n}function Is(l,n){return l=$e(22,l,null,n),l.lanes=0,l}function Vc(l,n,u){return qi(n,l.child,null,u),l=Ji(n,n.pendingProps.children),l.flags|=2,n.memoizedState=null,l}function Qc(l,n,u){l.lanes|=n;var c=l.alternate;c!==null&&(c.lanes|=n),Ud(l.return,n,u)}function ah(l,n,u,c,s,r){var p=l.memoizedState;p===null?l.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:s,treeForkCount:r}:(p.isBackwards=n,p.rendering=null,p.renderingStartTime=0,p.last=c,p.tail=u,p.tailMode=s,p.treeForkCount=r)}function Kp(l,n,u){var c=n.pendingProps,s=c.revealOrder,r=c.tail;c=c.children;var p=je.current,E=(p&2)!==0;if(E?(p=p&1|2,n.flags|=128):p&=1,Gt(je,p),we(l,n,c,u),c=Wt?tl:0,!E&&l!==null&&(l.flags&128)!==0)t:for(l=n.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Qc(l,u,n);else if(l.tag===19)Qc(l,u,n);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break t;for(;l.sibling===null;){if(l.return===null||l.return===n)break t;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(s){case"forwards":for(u=n.child,s=null;u!==null;)l=u.alternate,l!==null&&Zo(l)===null&&(s=u),u=u.sibling;u=s,u===null?(s=n.child,n.child=null):(s=u.sibling,u.sibling=null),ah(n,!1,s,u,r,c);break;case"backwards":case"unstable_legacy-backwards":for(u=null,s=n.child,n.child=null;s!==null;){if(l=s.alternate,l!==null&&Zo(l)===null){n.child=s;break}l=s.sibling,s.sibling=u,u=s,s=l}ah(n,!0,u,null,r,c);break;case"together":ah(n,!1,null,null,void 0,c);break;default:n.memoizedState=null}return n.child}function Ya(l,n,u){if(l!==null&&(n.dependencies=l.dependencies),Bn|=n.lanes,(u&n.childLanes)===0)if(l!==null){if(zl(l,n,u,!1),(u&n.childLanes)===0)return null}else return null;if(l!==null&&n.child!==l.child)throw Error(y(153));if(n.child!==null){for(l=n.child,u=Ku(l,l.pendingProps),n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=Ku(l,l.pendingProps),u.return=n;u.sibling=null}return n.child}function nh(l,n){return(l.lanes&n)!==0?!0:(l=l.dependencies,!!(l!==null&&Mc(l)))}function uh(l,n,u){switch(n.tag){case 3:ns(n,n.stateNode.containerInfo),aa(n,el,l.memoizedState.cache),Ci();break;case 27:case 5:Rm(n);break;case 4:ns(n,n.stateNode.containerInfo);break;case 10:aa(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Qo(n),null;break;case 13:var c=n.memoizedState;if(c!==null)return c.dehydrated!==null?(ou(n),n.flags|=128,null):(u&n.child.childLanes)!==0?Jp(l,n,u):(ou(n),l=Ya(l,n,u),l!==null?l.sibling:null);ou(n);break;case 19:var s=(l.flags&128)!==0;if(c=(u&n.childLanes)!==0,c||(zl(l,n,u,!1),c=(u&n.childLanes)!==0),s){if(c)return Kp(l,n,u);n.flags|=128}if(s=n.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Gt(je,je.current),c)break;return null;case 22:return n.lanes=0,zg(l,n,u,n.pendingProps);case 24:aa(n,el,l.memoizedState.cache)}return Ya(l,n,u)}function $p(l,n,u){if(l!==null)if(l.memoizedProps!==n.pendingProps)al=!0;else{if(!nh(l,u)&&(n.flags&128)===0)return al=!1,uh(l,n,u);al=(l.flags&131072)!==0}else al=!1,Wt&&(n.flags&1048576)!==0&&rp(n,tl,n.index);switch(n.lanes=0,n.tag){case 16:t:{var c=n.pendingProps;if(l=wi(n.elementType),n.type=l,typeof l=="function")_c(l)?(c=Vi(l,c),n.tag=1,n=Zp(null,n,l,c,u)):(n.tag=0,n=lh(null,n,l,c,u));else{if(l!=null){var s=l.$$typeof;if(s===gt){n.tag=11,n=Lp(null,n,l,c,u);break t}else if(s===ee){n.tag=14,n=Vp(null,n,l,c,u);break t}}throw n=Be(l)||l,Error(y(306,n,""))}}return n;case 0:return lh(l,n,n.type,n.pendingProps,u);case 1:return c=n.type,s=Vi(c,n.pendingProps),Zp(l,n,c,s,u);case 3:t:{if(ns(n,n.stateNode.containerInfo),l===null)throw Error(y(387));c=n.pendingProps;var r=n.memoizedState;s=r.element,xd(l,n),cu(n,c,null,u);var p=n.memoizedState;if(c=p.cache,aa(n,el,c),c!==r.cache&&iu(n,[el],u,!0),Yi(),c=p.element,r.isDehydrated)if(r={element:c,isDehydrated:!1,cache:p.cache},n.updateQueue.baseState=r,n.memoizedState=r,n.flags&256){n=xn(l,n,c,u);break t}else if(c!==s){s=Ca(Error(y(424)),n),Yo(s),n=xn(l,n,c,u);break t}else{switch(l=n.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(Me=da(l.firstChild),Al=n,Wt=!0,au=null,ml=!0,u=vp(n,null,c,u),n.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(Ci(),c===s){n=Ya(l,n,u);break t}we(l,n,c,u)}n=n.child}return n;case 26:return qa(l,n),l===null?(u=Ef(n.type,null,n.pendingProps,null))?n.memoizedState=u:Wt||(u=n.type,l=n.pendingProps,c=Wi(vi.current).createElement(u),c[Te]=n,c[Il]=l,jl(c,u,l),me(c),n.stateNode=c):n.memoizedState=Ef(n.type,l.memoizedProps,n.pendingProps,l.memoizedState),null;case 27:return Rm(n),l===null&&Wt&&(c=n.stateNode=bf(n.type,n.pendingProps,vi.current),Al=n,ml=!0,s=Me,jn(n.type)?(gr=s,Me=da(c.firstChild)):Me=s),we(l,n,n.pendingProps.children,u),qa(l,n),l===null&&(n.flags|=4194304),n.child;case 5:return l===null&&Wt&&((s=c=Me)&&(c=Y1(c,n.type,n.pendingProps,ml),c!==null?(n.stateNode=c,Al=n,Me=da(c.firstChild),ml=!1,s=!0):s=!1),s||cn(n)),Rm(n),s=n.type,r=n.pendingProps,p=l!==null?l.memoizedProps:null,c=r.children,gf(s,r)?c=null:p!==null&&gf(s,p)&&(n.flags|=32),n.memoizedState!==null&&(s=js(l,n,N1,null,null,u),Sr._currentValue=s),qa(l,n),we(l,n,c,u),n.child;case 6:return l===null&&Wt&&((l=u=Me)&&(u=Xt(u,n.pendingProps,ml),u!==null?(n.stateNode=u,Al=n,Me=null,l=!0):l=!1),l||cn(n)),null;case 13:return Jp(l,n,u);case 4:return ns(n,n.stateNode.containerInfo),c=n.pendingProps,l===null?n.child=qi(n,null,c,u):we(l,n,c,u),n.child;case 11:return Lp(l,n,n.type,n.pendingProps,u);case 7:return we(l,n,n.pendingProps,u),n.child;case 8:return we(l,n,n.pendingProps.children,u),n.child;case 12:return we(l,n,n.pendingProps.children,u),n.child;case 10:return c=n.pendingProps,aa(n,n.type,c.value),we(l,n,c.children,u),n.child;case 9:return s=n.type._context,c=n.pendingProps.children,Ct(n),s=k(s),c=c(s),n.flags|=1,we(l,n,c,u),n.child;case 14:return Vp(l,n,n.type,n.pendingProps,u);case 15:return Qp(l,n,n.type,n.pendingProps,u);case 19:return Kp(l,n,u);case 31:return Dg(l,n,u);case 22:return zg(l,n,u,n.pendingProps);case 24:return Ct(n),c=k(el),l===null?(s=wa(),s===null&&(s=ze,r=Rs(),s.pooledCache=r,r.refCount++,r!==null&&(s.pooledCacheLanes|=u),s=r),n.memoizedState={parent:c,cache:s},Ns(n),aa(n,el,s)):((l.lanes&u)!==0&&(xd(l,n),cu(n,null,null,u),Yi()),s=l.memoizedState,r=n.memoizedState,s.parent!==c?(s={parent:c,cache:c},n.memoizedState=s,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=s),aa(n,el,c)):(c=r.cache,aa(n,el,c),c!==s.cache&&iu(n,[el],u,!0))),we(l,n,n.pendingProps.children,u),n.child;case 29:throw n.pendingProps}throw Error(y(156,n.tag))}function mu(l){l.flags|=4}function kp(l,n,u,c,s){if((n=(l.mode&32)!==0)&&(n=!1),n){if(l.flags|=16777216,(s&335544128)===s)if(l.stateNode.complete)l.flags|=8192;else if(Ng())l.flags|=8192;else throw Ni=Hc,xc}else l.flags&=-16777217}function Fp(l,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!za(n))if(Ng())l.flags|=8192;else throw Ni=Hc,xc}function Zl(l,n){n!==null&&(l.flags|=4),l.flags&16384&&(n=l.tag!==22?sc():536870912,l.lanes|=n,Ze|=n)}function Po(l,n){if(!Wt)switch(l.tailMode){case"hidden":n=l.tail;for(var u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?l.tail=null:u.sibling=null;break;case"collapsed":u=l.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?n||l.tail===null?l.tail=null:l.tail.sibling=null:c.sibling=null}}function Rt(l){var n=l.alternate!==null&&l.alternate.child===l.child,u=0,c=0;if(n)for(var s=l.child;s!==null;)u|=s.lanes|s.childLanes,c|=s.subtreeFlags&65011712,c|=s.flags&65011712,s.return=l,s=s.sibling;else for(s=l.child;s!==null;)u|=s.lanes|s.childLanes,c|=s.subtreeFlags,c|=s.flags,s.return=l,s=s.sibling;return l.subtreeFlags|=c,l.childLanes=u,n}function Og(l,n,u){var c=n.pendingProps;switch(Rd(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(n),null;case 1:return Rt(n),null;case 3:return u=n.stateNode,c=null,l!==null&&(c=l.memoizedState.cache),n.memoizedState.cache!==c&&(n.flags|=2048),Mn(el),Yu(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(l===null||l.child===null)&&(uu(n)?mu(n):l===null||l.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,dp())),Rt(n),null;case 26:var s=n.type,r=n.memoizedState;return l===null?(mu(n),r!==null?(Rt(n),Fp(n,r)):(Rt(n),kp(n,s,null,c,u))):r?r!==l.memoizedState?(mu(n),Rt(n),Fp(n,r)):(Rt(n),n.flags&=-16777217):(l=l.memoizedProps,l!==c&&mu(n),Rt(n),kp(n,s,l,c,u)),null;case 27:if(rt(n),u=vi.current,s=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&mu(n);else{if(!c){if(n.stateNode===null)throw Error(y(166));return Rt(n),null}l=Nt.current,uu(n)?Os(n):(l=bf(s,c,u),n.stateNode=l,mu(n))}return Rt(n),null;case 5:if(rt(n),s=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&mu(n);else{if(!c){if(n.stateNode===null)throw Error(y(166));return Rt(n),null}if(r=Nt.current,uu(n))Os(n);else{var p=Wi(vi.current);switch(r){case 1:r=p.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:r=p.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":r=p.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":r=p.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":r=p.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof c.is=="string"?p.createElement("select",{is:c.is}):p.createElement("select"),c.multiple?r.multiple=!0:c.size&&(r.size=c.size);break;default:r=typeof c.is=="string"?p.createElement(s,{is:c.is}):p.createElement(s)}}r[Te]=n,r[Il]=c;t:for(p=n.child;p!==null;){if(p.tag===5||p.tag===6)r.appendChild(p.stateNode);else if(p.tag!==4&&p.tag!==27&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===n)break t;for(;p.sibling===null;){if(p.return===null||p.return===n)break t;p=p.return}p.sibling.return=p.return,p=p.sibling}n.stateNode=r;t:switch(jl(r,s,c),s){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break t;case"img":c=!0;break t;default:c=!1}c&&mu(n)}}return Rt(n),kp(n,n.type,l===null?null:l.memoizedProps,n.pendingProps,u),null;case 6:if(l&&n.stateNode!=null)l.memoizedProps!==c&&mu(n);else{if(typeof c!="string"&&n.stateNode===null)throw Error(y(166));if(l=vi.current,uu(n)){if(l=n.stateNode,u=n.memoizedProps,c=null,s=Al,s!==null)switch(s.tag){case 27:case 5:c=s.memoizedProps}l[Te]=n,l=!!(l.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||Sy(l.nodeValue,u)),l||cn(n,!0)}else l=Wi(l).createTextNode(c),l[Te]=n,n.stateNode=l}return Rt(n),null;case 31:if(u=n.memoizedState,l===null||l.memoizedState!==null){if(c=uu(n),u!==null){if(l===null){if(!c)throw Error(y(318));if(l=n.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(y(557));l[Te]=n}else Ci(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Rt(n),l=!1}else u=dp(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),l=!0;if(!l)return n.flags&256?(ua(n),n):(ua(n),null);if((n.flags&128)!==0)throw Error(y(558))}return Rt(n),null;case 13:if(c=n.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(s=uu(n),c!==null&&c.dehydrated!==null){if(l===null){if(!s)throw Error(y(318));if(s=n.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(y(317));s[Te]=n}else Ci(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Rt(n),s=!1}else s=dp(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=s),s=!0;if(!s)return n.flags&256?(ua(n),n):(ua(n),null)}return ua(n),(n.flags&128)!==0?(n.lanes=u,n):(u=c!==null,l=l!==null&&l.memoizedState!==null,u&&(c=n.child,s=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(s=c.alternate.memoizedState.cachePool.pool),r=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(r=c.memoizedState.cachePool.pool),r!==s&&(c.flags|=2048)),u!==l&&u&&(n.child.flags|=8192),Zl(n,n.updateQueue),Rt(n),null);case 4:return Yu(),l===null&&yf(n.stateNode.containerInfo),Rt(n),null;case 10:return Mn(n.type),Rt(n),null;case 19:if(le(je),c=n.memoizedState,c===null)return Rt(n),null;if(s=(n.flags&128)!==0,r=c.rendering,r===null)if(s)Po(c,!1);else{if(Ce!==0||l!==null&&(l.flags&128)!==0)for(l=n.child;l!==null;){if(r=Zo(l),r!==null){for(n.flags|=128,Po(c,!1),l=r.updateQueue,n.updateQueue=l,Zl(n,l),n.subtreeFlags=0,l=u,u=n.child;u!==null;)op(u,l),u=u.sibling;return Gt(je,je.current&1|2),Wt&&un(n,c.treeForkCount),n.child}l=l.sibling}c.tail!==null&&Bl()>de&&(n.flags|=128,s=!0,Po(c,!1),n.lanes=4194304)}else{if(!s)if(l=Zo(r),l!==null){if(n.flags|=128,s=!0,l=l.updateQueue,n.updateQueue=l,Zl(n,l),Po(c,!0),c.tail===null&&c.tailMode==="hidden"&&!r.alternate&&!Wt)return Rt(n),null}else 2*Bl()-c.renderingStartTime>de&&u!==536870912&&(n.flags|=128,s=!0,Po(c,!1),n.lanes=4194304);c.isBackwards?(r.sibling=n.child,n.child=r):(l=c.last,l!==null?l.sibling=r:n.child=r,c.last=r)}return c.tail!==null?(l=c.tail,c.rendering=l,c.tail=l.sibling,c.renderingStartTime=Bl(),l.sibling=null,u=je.current,Gt(je,s?u&1|2:u&1),Wt&&un(n,c.treeForkCount),l):(Rt(n),null);case 22:case 23:return ua(n),Vo(),c=n.memoizedState!==null,l!==null?l.memoizedState!==null!==c&&(n.flags|=8192):c&&(n.flags|=8192),c?(u&536870912)!==0&&(n.flags&128)===0&&(Rt(n),n.subtreeFlags&6&&(n.flags|=8192)):Rt(n),u=n.updateQueue,u!==null&&Zl(n,u.retryQueue),u=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),c=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(c=n.memoizedState.cachePool.pool),c!==u&&(n.flags|=2048),l!==null&&le(Ha),null;case 24:return u=null,l!==null&&(u=l.memoizedState.cache),n.memoizedState.cache!==u&&(n.flags|=2048),Mn(el),Rt(n),null;case 25:return null;case 30:return null}throw Error(y(156,n.tag))}function _g(l,n){switch(Rd(n),n.tag){case 1:return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 3:return Mn(el),Yu(),l=n.flags,(l&65536)!==0&&(l&128)===0?(n.flags=l&-65537|128,n):null;case 26:case 27:case 5:return rt(n),null;case 31:if(n.memoizedState!==null){if(ua(n),n.alternate===null)throw Error(y(340));Ci()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 13:if(ua(n),l=n.memoizedState,l!==null&&l.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Ci()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 19:return le(je),null;case 4:return Yu(),null;case 10:return Mn(n.type),null;case 22:case 23:return ua(n),Vo(),l!==null&&le(Ha),l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 24:return Mn(el),null;case 25:return null;default:return null}}function Rg(l,n){switch(Rd(n),n.tag){case 3:Mn(el),Yu();break;case 26:case 27:case 5:rt(n);break;case 4:Yu();break;case 31:n.memoizedState!==null&&ua(n);break;case 13:ua(n);break;case 19:le(je);break;case 10:Mn(n.type);break;case 22:case 23:ua(n),Vo(),l!==null&&le(Ha);break;case 24:Mn(el)}}function fn(l,n){try{var u=n.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var s=c.next;u=s;do{if((u.tag&l)===l){c=void 0;var r=u.create,p=u.inst;c=r(),p.destroy=c}u=u.next}while(u!==s)}}catch(E){ve(n,n.return,E)}}function Ga(l,n,u){try{var c=n.updateQueue,s=c!==null?c.lastEffect:null;if(s!==null){var r=s.next;c=r;do{if((c.tag&l)===l){var p=c.inst,E=p.destroy;if(E!==void 0){p.destroy=void 0,s=n;var O=u,q=E;try{q()}catch(Q){ve(s,O,Q)}}}c=c.next}while(c!==r)}}catch(Q){ve(n,n.return,Q)}}function ih(l){var n=l.updateQueue;if(n!==null){var u=l.stateNode;try{Gi(n,u)}catch(c){ve(l,l.return,c)}}}function Ki(l,n,u){u.props=Vi(l.type,l.memoizedProps),u.state=l.memoizedState;try{u.componentWillUnmount()}catch(c){ve(l,n,c)}}function pu(l,n){try{var u=l.ref;if(u!==null){switch(l.tag){case 26:case 27:case 5:var c=l.stateNode;break;case 30:c=l.stateNode;break;default:c=l.stateNode}typeof u=="function"?l.refCleanup=u(c):u.current=c}}catch(s){ve(l,n,s)}}function Hn(l,n){var u=l.ref,c=l.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(s){ve(l,n,s)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(s){ve(l,n,s)}else u.current=null}function Wp(l){var n=l.type,u=l.memoizedProps,c=l.stateNode;try{t:switch(n){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break t;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(s){ve(l,l.return,s)}}function ch(l,n,u){try{var c=l.stateNode;Ty(c,l.type,u,n),c[Il]=n}catch(s){ve(l,l.return,s)}}function Ip(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&jn(l.type)||l.tag===4}function tf(l){t:for(;;){for(;l.sibling===null;){if(l.return===null||Ip(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&jn(l.type)||l.flags&2||l.child===null||l.tag===4)continue t;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function ef(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(l,n):(n=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,n.appendChild(l),u=u._reactRootContainer,u!=null||n.onclick!==null||(n.onclick=bn));else if(c!==4&&(c===27&&jn(l.type)&&(u=l.stateNode,n=null),l=l.child,l!==null))for(ef(l,n,u),l=l.sibling;l!==null;)ef(l,n,u),l=l.sibling}function lf(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?u.insertBefore(l,n):u.appendChild(l);else if(c!==4&&(c===27&&jn(l.type)&&(u=l.stateNode),l=l.child,l!==null))for(lf(l,n,u),l=l.sibling;l!==null;)lf(l,n,u),l=l.sibling}function Pp(l){var n=l.stateNode,u=l.memoizedProps;try{for(var c=l.type,s=n.attributes;s.length;)n.removeAttributeNode(s[0]);jl(n,c,u),n[Te]=l,n[Il]=u}catch(r){ve(l,l.return,r)}}var ai=!1,ol=!1,oh=!1,ty=typeof WeakSet=="function"?WeakSet:Set,_l=null;function af(l,n){if(l=l.containerInfo,Rh=gl,l=Ri(l),bs(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else t:{u=(u=l.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var s=c.anchorOffset,r=c.focusNode;c=c.focusOffset;try{u.nodeType,r.nodeType}catch{u=null;break t}var p=0,E=-1,O=-1,q=0,Q=0,K=l,j=null;e:for(;;){for(var L;K!==u||s!==0&&K.nodeType!==3||(E=p+s),K!==r||c!==0&&K.nodeType!==3||(O=p+c),K.nodeType===3&&(p+=K.nodeValue.length),(L=K.firstChild)!==null;)j=K,K=L;for(;;){if(K===l)break e;if(j===u&&++q===s&&(E=p),j===r&&++Q===c&&(O=p),(L=K.nextSibling)!==null)break;K=j,j=K.parentNode}K=L}u=E===-1||O===-1?null:{start:E,end:O}}else u=null}u=u||{start:0,end:0}}else u=null;for(Mh={focusedElem:l,selectionRange:u},gl=!1,_l=n;_l!==null;)if(n=_l,l=n.child,(n.subtreeFlags&1028)!==0&&l!==null)l.return=n,_l=l;else for(;_l!==null;){switch(n=_l,r=n.alternate,l=n.flags,n.tag){case 0:if((l&4)!==0&&(l=n.updateQueue,l=l!==null?l.events:null,l!==null))for(u=0;u<l.length;u++)s=l[u],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&r!==null){l=void 0,u=n,s=r.memoizedProps,r=r.memoizedState,c=u.stateNode;try{var ht=Vi(u.type,s);l=c.getSnapshotBeforeUpdate(ht,r),c.__reactInternalSnapshotBeforeUpdate=l}catch(At){ve(u,u.return,At)}}break;case 3:if((l&1024)!==0){if(l=n.stateNode.containerInfo,u=l.nodeType,u===9)yr(l);else if(u===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":yr(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(y(163))}if(l=n.sibling,l!==null){l.return=n.return,_l=l;break}_l=n.return}}function Ps(l,n,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:ni(l,u),c&4&&fn(5,u);break;case 1:if(ni(l,u),c&4)if(l=u.stateNode,n===null)try{l.componentDidMount()}catch(p){ve(u,u.return,p)}else{var s=Vi(u.type,n.memoizedProps);n=n.memoizedState;try{l.componentDidUpdate(s,n,l.__reactInternalSnapshotBeforeUpdate)}catch(p){ve(u,u.return,p)}}c&64&&ih(u),c&512&&pu(u,u.return);break;case 3:if(ni(l,u),c&64&&(l=u.updateQueue,l!==null)){if(n=null,u.child!==null)switch(u.child.tag){case 27:case 5:n=u.child.stateNode;break;case 1:n=u.child.stateNode}try{Gi(l,n)}catch(p){ve(u,u.return,p)}}break;case 27:n===null&&c&4&&Pp(u);case 26:case 5:ni(l,u),n===null&&c&4&&Wp(u),c&512&&pu(u,u.return);break;case 12:ni(l,u);break;case 31:ni(l,u),c&4&&Mg(l,u);break;case 13:ni(l,u),c&4&&ay(l,u),c&64&&(l=u.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(u=Xa.bind(null,u),vf(l,u))));break;case 22:if(c=u.memoizedState!==null||ai,!c){n=n!==null&&n.memoizedState!==null||ol,s=ai;var r=ol;ai=c,(ol=n)&&!r?wn(l,u,(u.subtreeFlags&8772)!==0):ni(l,u),ai=s,ol=r}break;case 30:break;default:ni(l,u)}}function ey(l){var n=l.alternate;n!==null&&(l.alternate=null,ey(n)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(n=l.stateNode,n!==null&&nd(n)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var Ue=null,oa=!1;function yu(l,n,u){for(u=u.child;u!==null;)ly(l,n,u),u=u.sibling}function ly(l,n,u){if(ya&&typeof ya.onCommitFiberUnmount=="function")try{ya.onCommitFiberUnmount(fc,u)}catch{}switch(u.tag){case 26:ol||Hn(u,n),yu(l,n,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:ol||Hn(u,n);var c=Ue,s=oa;jn(u.type)&&(Ue=u.stateNode,oa=!1),yu(l,n,u),Ic(u.stateNode),Ue=c,oa=s;break;case 5:ol||Hn(u,n);case 6:if(c=Ue,s=oa,Ue=null,yu(l,n,u),Ue=c,oa=s,Ue!==null)if(oa)try{(Ue.nodeType===9?Ue.body:Ue.nodeName==="HTML"?Ue.ownerDocument.body:Ue).removeChild(u.stateNode)}catch(r){ve(u,n,r)}else try{Ue.removeChild(u.stateNode)}catch(r){ve(u,n,r)}break;case 18:Ue!==null&&(oa?(l=Ue,Oy(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,u.stateNode),Mf(l)):Oy(Ue,u.stateNode));break;case 4:c=Ue,s=oa,Ue=u.stateNode.containerInfo,oa=!0,yu(l,n,u),Ue=c,oa=s;break;case 0:case 11:case 14:case 15:Ga(2,u,n),ol||Ga(4,u,n),yu(l,n,u);break;case 1:ol||(Hn(u,n),c=u.stateNode,typeof c.componentWillUnmount=="function"&&Ki(u,n,c)),yu(l,n,u);break;case 21:yu(l,n,u);break;case 22:ol=(c=ol)||u.memoizedState!==null,yu(l,n,u),ol=c;break;default:yu(l,n,u)}}function Mg(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Mf(l)}catch(u){ve(n,n.return,u)}}}function ay(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Mf(l)}catch(u){ve(n,n.return,u)}}function tr(l){switch(l.tag){case 31:case 13:case 19:var n=l.stateNode;return n===null&&(n=l.stateNode=new ty),n;case 22:return l=l.stateNode,n=l._retryCache,n===null&&(n=l._retryCache=new ty),n;default:throw Error(y(435,l.tag))}}function er(l,n){var u=tr(l);n.forEach(function(c){if(!u.has(c)){u.add(c);var s=Fg.bind(null,l,c);c.then(s,s)}})}function fa(l,n){var u=n.deletions;if(u!==null)for(var c=0;c<u.length;c++){var s=u[c],r=l,p=n,E=p;t:for(;E!==null;){switch(E.tag){case 27:if(jn(E.type)){Ue=E.stateNode,oa=!1;break t}break;case 5:Ue=E.stateNode,oa=!1;break t;case 3:case 4:Ue=E.stateNode.containerInfo,oa=!0;break t}E=E.return}if(Ue===null)throw Error(y(160));ly(r,p,s),Ue=null,oa=!1,r=s.alternate,r!==null&&(r.return=null),s.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)fh(n,l),n=n.sibling}var qt=null;function fh(l,n){var u=l.alternate,c=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:fa(n,l),ba(l),c&4&&(Ga(3,l,l.return),fn(3,l),Ga(5,l,l.return));break;case 1:fa(n,l),ba(l),c&512&&(ol||u===null||Hn(u,u.return)),c&64&&ai&&(l=l.updateQueue,l!==null&&(c=l.callbacks,c!==null&&(u=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var s=qt;if(fa(n,l),ba(l),c&512&&(ol||u===null||Hn(u,u.return)),c&4){var r=u!==null?u.memoizedState:null;if(c=l.memoizedState,u===null)if(c===null)if(l.stateNode===null){t:{c=l.type,u=l.memoizedProps,s=s.ownerDocument||s;e:switch(c){case"title":r=s.getElementsByTagName("title")[0],(!r||r[kn]||r[Te]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=s.createElement(c),s.head.insertBefore(r,s.querySelector("head > title"))),jl(r,c,u),r[Te]=l,me(r),c=r;break t;case"link":var p=Uy("link","href",s).get(c+(u.href||""));if(p){for(var E=0;E<p.length;E++)if(r=p[E],r.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&r.getAttribute("rel")===(u.rel==null?null:u.rel)&&r.getAttribute("title")===(u.title==null?null:u.title)&&r.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){p.splice(E,1);break e}}r=s.createElement(c),jl(r,c,u),s.head.appendChild(r);break;case"meta":if(p=Uy("meta","content",s).get(c+(u.content||""))){for(E=0;E<p.length;E++)if(r=p[E],r.getAttribute("content")===(u.content==null?null:""+u.content)&&r.getAttribute("name")===(u.name==null?null:u.name)&&r.getAttribute("property")===(u.property==null?null:u.property)&&r.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&r.getAttribute("charset")===(u.charSet==null?null:u.charSet)){p.splice(E,1);break e}}r=s.createElement(c),jl(r,c,u),s.head.appendChild(r);break;default:throw Error(y(468,c))}r[Te]=l,me(r),c=r}l.stateNode=c}else wh(s,l.type,l.stateNode);else l.stateNode=My(s,c,l.memoizedProps);else r!==c?(r===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):r.count--,c===null?wh(s,l.type,l.stateNode):My(s,c,l.memoizedProps)):c===null&&l.stateNode!==null&&ch(l,l.memoizedProps,u.memoizedProps)}break;case 27:fa(n,l),ba(l),c&512&&(ol||u===null||Hn(u,u.return)),u!==null&&c&4&&ch(l,l.memoizedProps,u.memoizedProps);break;case 5:if(fa(n,l),ba(l),c&512&&(ol||u===null||Hn(u,u.return)),l.flags&32){s=l.stateNode;try{Wn(s,"")}catch(ht){ve(l,l.return,ht)}}c&4&&l.stateNode!=null&&(s=l.memoizedProps,ch(l,s,u!==null?u.memoizedProps:s)),c&1024&&(oh=!0);break;case 6:if(fa(n,l),ba(l),c&4){if(l.stateNode===null)throw Error(y(162));c=l.memoizedProps,u=l.stateNode;try{u.nodeValue=c}catch(ht){ve(l,l.return,ht)}}break;case 3:if(zf=null,s=qt,qt=Jl(n.containerInfo),fa(n,l),qt=s,ba(l),c&4&&u!==null&&u.memoizedState.isDehydrated)try{Mf(n.containerInfo)}catch(ht){ve(l,l.return,ht)}oh&&(oh=!1,ny(l));break;case 4:c=qt,qt=Jl(l.stateNode.containerInfo),fa(n,l),ba(l),qt=c;break;case 12:fa(n,l),ba(l);break;case 31:fa(n,l),ba(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,er(l,c)));break;case 13:fa(n,l),ba(l),l.child.flags&8192&&l.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(qn=Bl()),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,er(l,c)));break;case 22:s=l.memoizedState!==null;var O=u!==null&&u.memoizedState!==null,q=ai,Q=ol;if(ai=q||s,ol=Q||O,fa(n,l),ol=Q,ai=q,ba(l),c&8192)t:for(n=l.stateNode,n._visibility=s?n._visibility&-2:n._visibility|1,s&&(u===null||O||ai||ol||Zc(l)),u=null,n=l;;){if(n.tag===5||n.tag===26){if(u===null){O=u=n;try{if(r=O.stateNode,s)p=r.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{E=O.stateNode;var K=O.memoizedProps.style,j=K!=null&&K.hasOwnProperty("display")?K.display:null;E.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(ht){ve(O,O.return,ht)}}}else if(n.tag===6){if(u===null){O=n;try{O.stateNode.nodeValue=s?"":O.memoizedProps}catch(ht){ve(O,O.return,ht)}}}else if(n.tag===18){if(u===null){O=n;try{var L=O.stateNode;s?nl(L,!0):nl(O.stateNode,!1)}catch(ht){ve(O,O.return,ht)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===l)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break t;for(;n.sibling===null;){if(n.return===null||n.return===l)break t;u===n&&(u=null),n=n.return}u===n&&(u=null),n.sibling.return=n.return,n=n.sibling}c&4&&(c=l.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,er(l,u))));break;case 19:fa(n,l),ba(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,er(l,c)));break;case 30:break;case 21:break;default:fa(n,l),ba(l)}}function ba(l){var n=l.flags;if(n&2){try{for(var u,c=l.return;c!==null;){if(Ip(c)){u=c;break}c=c.return}if(u==null)throw Error(y(160));switch(u.tag){case 27:var s=u.stateNode,r=tf(l);lf(l,r,s);break;case 5:var p=u.stateNode;u.flags&32&&(Wn(p,""),u.flags&=-33);var E=tf(l);lf(l,E,p);break;case 3:case 4:var O=u.stateNode.containerInfo,q=tf(l);ef(l,q,O);break;default:throw Error(y(161))}}catch(Q){ve(l,l.return,Q)}l.flags&=-3}n&4096&&(l.flags&=-4097)}function ny(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var n=l;ny(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),l=l.sibling}}function ni(l,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)Ps(l,n.alternate,n),n=n.sibling}function Zc(l){for(l=l.child;l!==null;){var n=l;switch(n.tag){case 0:case 11:case 14:case 15:Ga(4,n,n.return),Zc(n);break;case 1:Hn(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&Ki(n,n.return,u),Zc(n);break;case 27:Ic(n.stateNode);case 26:case 5:Hn(n,n.return),Zc(n);break;case 22:n.memoizedState===null&&Zc(n);break;case 30:Zc(n);break;default:Zc(n)}l=l.sibling}}function wn(l,n,u){for(u=u&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var c=n.alternate,s=l,r=n,p=r.flags;switch(r.tag){case 0:case 11:case 15:wn(s,r,u),fn(4,r);break;case 1:if(wn(s,r,u),c=r,s=c.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(q){ve(c,c.return,q)}if(c=r,s=c.updateQueue,s!==null){var E=c.stateNode;try{var O=s.shared.hiddenCallbacks;if(O!==null)for(s.shared.hiddenCallbacks=null,s=0;s<O.length;s++)wd(O[s],E)}catch(q){ve(c,c.return,q)}}u&&p&64&&ih(r),pu(r,r.return);break;case 27:Pp(r);case 26:case 5:wn(s,r,u),u&&c===null&&p&4&&Wp(r),pu(r,r.return);break;case 12:wn(s,r,u);break;case 31:wn(s,r,u),u&&p&4&&Mg(s,r);break;case 13:wn(s,r,u),u&&p&4&&ay(s,r);break;case 22:r.memoizedState===null&&wn(s,r,u),pu(r,r.return);break;case 30:break;default:wn(s,r,u)}n=n.sibling}}function sh(l,n){var u=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),l=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),l!==u&&(l!=null&&l.refCount++,u!=null&&Ms(u))}function rh(l,n){l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&Ms(l))}function sn(l,n,u,c){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)nf(l,n,u,c),n=n.sibling}function nf(l,n,u,c){var s=n.flags;switch(n.tag){case 0:case 11:case 15:sn(l,n,u,c),s&2048&&fn(9,n);break;case 1:sn(l,n,u,c);break;case 3:sn(l,n,u,c),s&2048&&(l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&Ms(l)));break;case 12:if(s&2048){sn(l,n,u,c),l=n.stateNode;try{var r=n.memoizedProps,p=r.id,E=r.onPostCommit;typeof E=="function"&&E(p,n.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(O){ve(n,n.return,O)}}else sn(l,n,u,c);break;case 31:sn(l,n,u,c);break;case 13:sn(l,n,u,c);break;case 23:break;case 22:r=n.stateNode,p=n.alternate,n.memoizedState!==null?r._visibility&2?sn(l,n,u,c):lr(l,n):r._visibility&2?sn(l,n,u,c):(r._visibility|=2,uf(l,n,u,c,(n.subtreeFlags&10256)!==0||!1)),s&2048&&sh(p,n);break;case 24:sn(l,n,u,c),s&2048&&rh(n.alternate,n);break;default:sn(l,n,u,c)}}function uf(l,n,u,c,s){for(s=s&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var r=l,p=n,E=u,O=c,q=p.flags;switch(p.tag){case 0:case 11:case 15:uf(r,p,E,O,s),fn(8,p);break;case 23:break;case 22:var Q=p.stateNode;p.memoizedState!==null?Q._visibility&2?uf(r,p,E,O,s):lr(r,p):(Q._visibility|=2,uf(r,p,E,O,s)),s&&q&2048&&sh(p.alternate,p);break;case 24:uf(r,p,E,O,s),s&&q&2048&&rh(p.alternate,p);break;default:uf(r,p,E,O,s)}n=n.sibling}}function lr(l,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var u=l,c=n,s=c.flags;switch(c.tag){case 22:lr(u,c),s&2048&&sh(c.alternate,c);break;case 24:lr(u,c),s&2048&&rh(c.alternate,c);break;default:lr(u,c)}n=n.sibling}}var Sa=8192;function gu(l,n,u){if(l.subtreeFlags&Sa)for(l=l.child;l!==null;)Ug(l,n,u),l=l.sibling}function Ug(l,n,u){switch(l.tag){case 26:gu(l,n,u),l.flags&Sa&&l.memoizedState!==null&&Tu(u,qt,l.memoizedState,l.memoizedProps);break;case 5:gu(l,n,u);break;case 3:case 4:var c=qt;qt=Jl(l.stateNode.containerInfo),gu(l,n,u),qt=c;break;case 22:l.memoizedState===null&&(c=l.alternate,c!==null&&c.memoizedState!==null?(c=Sa,Sa=16777216,gu(l,n,u),Sa=c):gu(l,n,u));break;default:gu(l,n,u)}}function dh(l){var n=l.alternate;if(n!==null&&(l=n.child,l!==null)){n.child=null;do n=l.sibling,l.sibling=null,l=n;while(l!==null)}}function cf(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];_l=c,hh(c,l)}dh(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)uy(l),l=l.sibling}function uy(l){switch(l.tag){case 0:case 11:case 15:cf(l),l.flags&2048&&Ga(9,l,l.return);break;case 3:cf(l);break;case 12:cf(l);break;case 22:var n=l.stateNode;l.memoizedState!==null&&n._visibility&2&&(l.return===null||l.return.tag!==13)?(n._visibility&=-3,ar(l)):cf(l);break;default:cf(l)}}function ar(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];_l=c,hh(c,l)}dh(l)}for(l=l.child;l!==null;){switch(n=l,n.tag){case 0:case 11:case 15:Ga(8,n,n.return),ar(n);break;case 22:u=n.stateNode,u._visibility&2&&(u._visibility&=-3,ar(n));break;default:ar(n)}l=l.sibling}}function hh(l,n){for(;_l!==null;){var u=_l;switch(u.tag){case 0:case 11:case 15:Ga(8,u,n);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Ms(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,_l=c;else t:for(u=l;_l!==null;){c=_l;var s=c.sibling,r=c.return;if(ey(c),c===u){_l=null;break t}if(s!==null){s.return=r,_l=s;break t}_l=r}}}var Cg={getCacheForType:function(l){var n=k(el),u=n.data.get(l);return u===void 0&&(u=l(),n.data.set(l,u)),u},cacheSignal:function(){return k(el).controller.signal}},iy=typeof WeakMap=="function"?WeakMap:Map,fe=0,ze=null,It=null,Kt=0,ge=0,Dt=null,vu=!1,$i=!1,mh=!1,Nn=0,Ce=0,Bn=0,Jc=0,ph=0,sa=0,Ze=0,nr=null,Je=null,yh=!1,qn=0,cy=0,de=1/0,of=null,Ye=null,yl=0,ui=null,ki=null,bu=0,Ea=0,gh=null,vh=null,ff=0,ur=null;function Ta(){return(fe&2)!==0&&Kt!==0?Kt&-Kt:H.T!==null?Ah():ld()}function xg(){if(sa===0)if((Kt&536870912)===0||Wt){var l=yn;yn<<=1,(yn&3932160)===0&&(yn=262144),sa=l}else sa=536870912;return l=na.current,l!==null&&(l.flags|=32),sa}function ra(l,n,u){(l===ze&&(ge===2||ge===9)||l.cancelPendingCommit!==null)&&(Su(l,0),ii(l,Kt,sa,!1)),Eo(l,u),((fe&2)===0||l!==ze)&&(l===ze&&((fe&2)===0&&(Jc|=u),Ce===4&&ii(l,Kt,sa,!1)),Eu(l))}function Hg(l,n,u){if((fe&6)!==0)throw Error(y(327));var c=!u&&(n&127)===0&&(n&l.expiredLanes)===0||gn(l,n),s=c?jg(l,n):Sh(l,n,!0),r=c;do{if(s===0){$i&&!c&&ii(l,n,0,!1);break}else{if(u=l.current.alternate,r&&!wg(u)){s=Sh(l,n,!1),r=!1;continue}if(s===2){if(r=n,l.errorRecoveryDisabledLanes&r)var p=0;else p=l.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){n=p;t:{var E=l;s=nr;var O=E.current.memoizedState.isDehydrated;if(O&&(Su(E,p).flags|=256),p=Sh(E,p,!1),p!==2){if(mh&&!O){E.errorRecoveryDisabledLanes|=r,Jc|=r,s=4;break t}r=Je,Je=s,r!==null&&(Je===null?Je=r:Je.push.apply(Je,r))}s=p}if(r=!1,s!==2)continue}}if(s===1){Su(l,0),ii(l,n,0,!0);break}t:{switch(c=l,r=s,r){case 0:case 1:throw Error(y(345));case 4:if((n&4194048)!==n)break;case 6:ii(c,n,sa,!vu);break t;case 2:Je=null;break;case 3:case 5:break;default:throw Error(y(329))}if((n&62914560)===n&&(s=qn+300-Bl(),10<s)){if(ii(c,n,sa,!vu),Pe(c,0,!0)!==0)break t;bu=n,c.timeoutHandle=pr(ir.bind(null,c,u,Je,of,yh,n,sa,Jc,Ze,vu,r,"Throttled",-0,0),s);break t}ir(c,u,Je,of,yh,n,sa,Jc,Ze,vu,r,null,-0,0)}}break}while(!0);Eu(l)}function ir(l,n,u,c,s,r,p,E,O,q,Q,K,j,L){if(l.timeoutHandle=-1,K=n.subtreeFlags,K&8192||(K&16785408)===16785408){K={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:bn},Ug(n,r,K);var ht=(r&62914560)===r?qn-Bl():(r&4194048)===r?cy-Bl():0;if(ht=xy(K,ht),ht!==null){bu=r,l.cancelPendingCommit=ht(Lg.bind(null,l,n,r,u,c,s,p,E,O,Q,K,null,j,L)),ii(l,r,p,!q);return}}Lg(l,n,r,u,c,s,p,E,O)}function wg(l){for(var n=l;;){var u=n.tag;if((u===0||u===11||u===15)&&n.flags&16384&&(u=n.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var s=u[c],r=s.getSnapshot;s=s.value;try{if(!Ql(r(),s))return!1}catch{return!1}}if(u=n.child,n.subtreeFlags&16384&&u!==null)u.return=n,n=u;else{if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function ii(l,n,u,c){n&=~ph,n&=~Jc,l.suspendedLanes|=n,l.pingedLanes&=~n,c&&(l.warmLanes|=n),c=l.expirationTimes;for(var s=n;0<s;){var r=31-Wl(s),p=1<<r;c[r]=-1,s&=~p}u!==0&&os(l,u,n)}function sf(){return(fe&6)===0?(oi(0),!1):!0}function oy(){if(It!==null){if(ge===0)var l=It.return;else l=It,Rn=ku=null,Ys(l),Bi=null,wc=0,l=It;for(;l!==null;)Rg(l.alternate,l),l=l.return;It=null}}function Su(l,n){var u=l.timeoutHandle;u!==-1&&(l.timeoutHandle=-1,nv(u)),u=l.cancelPendingCommit,u!==null&&(l.cancelPendingCommit=null,u()),bu=0,oy(),ze=l,It=u=Ku(l.current,null),Kt=n,ge=0,Dt=null,vu=!1,$i=gn(l,n),mh=!1,Ze=sa=ph=Jc=Bn=Ce=0,Je=nr=null,yh=!1,(n&8)!==0&&(n|=n&32);var c=l.entangledLanes;if(c!==0)for(l=l.entanglements,c&=n;0<c;){var s=31-Wl(c),r=1<<s;n|=l[s],c&=~r}return Nn=n,Ma(),u}function rf(l,n){Bt=null,H.H=Ks,n===Hi||n===Xo?(n=gp(),ge=3):n===xc?(n=gp(),ge=4):ge=n===eh?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Dt=n,It===null&&(Ce=1,Io(l,Ca(n,l.current)))}function Ng(){var l=na.current;return l===null?!0:(Kt&4194048)===Kt?Ba===null:(Kt&62914560)===Kt||(Kt&536870912)!==0?l===Ba:!1}function Bg(){var l=H.H;return H.H=Ks,l===null?Ks:l}function qg(){var l=H.A;return H.A=Cg,l}function bh(){Ce=4,vu||(Kt&4194048)!==Kt&&na.current!==null||($i=!0),(Bn&134217727)===0&&(Jc&134217727)===0||ze===null||ii(ze,Kt,sa,!1)}function Sh(l,n,u){var c=fe;fe|=2;var s=Bg(),r=qg();(ze!==l||Kt!==n)&&(of=null,Su(l,n)),n=!1;var p=Ce;t:do try{if(ge!==0&&It!==null){var E=It,O=Dt;switch(ge){case 8:oy(),p=6;break t;case 3:case 2:case 9:case 6:na.current===null&&(n=!0);var q=ge;if(ge=0,Dt=null,Kc(l,E,O,q),u&&$i){p=0;break t}break;default:q=ge,ge=0,Dt=null,Kc(l,E,O,q)}}q1(),p=Ce;break}catch(Q){rf(l,Q)}while(!0);return n&&l.shellSuspendCounter++,Rn=ku=null,fe=c,H.H=s,H.A=r,It===null&&(ze=null,Kt=0,Ma()),p}function q1(){for(;It!==null;)Yg(It)}function jg(l,n){var u=fe;fe|=2;var c=Bg(),s=qg();ze!==l||Kt!==n?(of=null,de=Bl()+500,Su(l,n)):$i=gn(l,n);t:do try{if(ge!==0&&It!==null){n=It;var r=Dt;e:switch(ge){case 1:ge=0,Dt=null,Kc(l,n,r,1);break;case 2:case 9:if(pp(r)){ge=0,Dt=null,Gg(n);break}n=function(){ge!==2&&ge!==9||ze!==l||(ge=7),Eu(l)},r.then(n,n);break t;case 3:ge=7;break t;case 4:ge=5;break t;case 7:pp(r)?(ge=0,Dt=null,Gg(n)):(ge=0,Dt=null,Kc(l,n,r,7));break;case 5:var p=null;switch(It.tag){case 26:p=It.memoizedState;case 5:case 27:var E=It;if(p?za(p):E.stateNode.complete){ge=0,Dt=null;var O=E.sibling;if(O!==null)It=O;else{var q=E.return;q!==null?(It=q,cr(q)):It=null}break e}}ge=0,Dt=null,Kc(l,n,r,5);break;case 6:ge=0,Dt=null,Kc(l,n,r,6);break;case 8:oy(),Ce=6;break t;default:throw Error(y(462))}}Fi();break}catch(Q){rf(l,Q)}while(!0);return Rn=ku=null,H.H=c,H.A=s,fe=u,It!==null?0:(ze=null,Kt=0,Ma(),Ce)}function Fi(){for(;It!==null&&!oc();)Yg(It)}function Yg(l){var n=$p(l.alternate,l,Nn);l.memoizedProps=l.pendingProps,n===null?cr(l):It=n}function Gg(l){var n=l,u=n.alternate;switch(n.tag){case 15:case 0:n=Zi(u,n,n.pendingProps,n.type,void 0,Kt);break;case 11:n=Zi(u,n,n.pendingProps,n.type.render,n.ref,Kt);break;case 5:Ys(n);default:Rg(u,n),n=It=op(n,Nn),n=$p(u,n,Nn)}l.memoizedProps=l.pendingProps,n===null?cr(l):It=n}function Kc(l,n,u,c){Rn=ku=null,Ys(n),Bi=null,wc=0;var s=n.return;try{if(B1(l,s,n,u,Kt)){Ce=1,Io(l,Ca(u,l.current)),It=null;return}}catch(r){if(s!==null)throw It=s,r;Ce=1,Io(l,Ca(u,l.current)),It=null;return}n.flags&32768?(Wt||c===1?l=!0:$i||(Kt&536870912)!==0?l=!1:(vu=l=!0,(c===2||c===9||c===3||c===6)&&(c=na.current,c!==null&&c.tag===13&&(c.flags|=16384))),Xg(n,l)):cr(n)}function cr(l){var n=l;do{if((n.flags&32768)!==0){Xg(n,vu);return}l=n.return;var u=Og(n.alternate,n,Nn);if(u!==null){It=u;return}if(n=n.sibling,n!==null){It=n;return}It=n=l}while(n!==null);Ce===0&&(Ce=5)}function Xg(l,n){do{var u=_g(l.alternate,l);if(u!==null){u.flags&=32767,It=u;return}if(u=l.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!n&&(l=l.sibling,l!==null)){It=l;return}It=l=u}while(l!==null);Ce=6,It=null}function Lg(l,n,u,c,s,r,p,E,O){l.cancelPendingCommit=null;do df();while(yl!==0);if((fe&6)!==0)throw Error(y(327));if(n!==null){if(n===l.current)throw Error(y(177));if(r=n.lanes|n.childLanes,r|=an,td(l,u,r,p,E,O),l===ze&&(It=ze=null,Kt=0),ki=n,ui=l,bu=u,Ea=r,gh=s,vh=c,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Wg(bi,function(){return Kg(),null})):(l.callbackNode=null,l.callbackPriority=0),c=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||c){c=H.T,H.T=null,s=$.p,$.p=2,p=fe,fe|=4;try{af(l,n,u)}finally{fe=p,$.p=s,H.T=c}}yl=1,Vg(),Qg(),Zg()}}function Vg(){if(yl===1){yl=0;var l=ui,n=ki,u=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||u){u=H.T,H.T=null;var c=$.p;$.p=2;var s=fe;fe|=4;try{fh(n,l);var r=Mh,p=Ri(l.containerInfo),E=r.focusedElem,O=r.selectionRange;if(p!==E&&E&&E.ownerDocument&&zc(E.ownerDocument.documentElement,E)){if(O!==null&&bs(E)){var q=O.start,Q=O.end;if(Q===void 0&&(Q=q),"selectionStart"in E)E.selectionStart=q,E.selectionEnd=Math.min(Q,E.value.length);else{var K=E.ownerDocument||document,j=K&&K.defaultView||window;if(j.getSelection){var L=j.getSelection(),ht=E.textContent.length,At=Math.min(O.start,ht),Oe=O.end===void 0?At:Math.min(O.end,ht);!L.extend&&At>Oe&&(p=Oe,Oe=At,At=p);var N=ip(E,At),C=ip(E,Oe);if(N&&C&&(L.rangeCount!==1||L.anchorNode!==N.node||L.anchorOffset!==N.offset||L.focusNode!==C.node||L.focusOffset!==C.offset)){var B=K.createRange();B.setStart(N.node,N.offset),L.removeAllRanges(),At>Oe?(L.addRange(B),L.extend(C.node,C.offset)):(B.setEnd(C.node,C.offset),L.addRange(B))}}}}for(K=[],L=E;L=L.parentNode;)L.nodeType===1&&K.push({element:L,left:L.scrollLeft,top:L.scrollTop});for(typeof E.focus=="function"&&E.focus(),E=0;E<K.length;E++){var J=K[E];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}gl=!!Rh,Mh=Rh=null}finally{fe=s,$.p=c,H.T=u}}l.current=n,yl=2}}function Qg(){if(yl===2){yl=0;var l=ui,n=ki,u=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||u){u=H.T,H.T=null;var c=$.p;$.p=2;var s=fe;fe|=4;try{Ps(l,n.alternate,n)}finally{fe=s,$.p=c,H.T=u}}yl=3}}function Zg(){if(yl===4||yl===3){yl=0,Wr();var l=ui,n=ki,u=bu,c=vh;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?yl=5:(yl=0,ki=ui=null,Jg(l,l.pendingLanes));var s=l.pendingLanes;if(s===0&&(Ye=null),wm(u),n=n.stateNode,ya&&typeof ya.onCommitFiberRoot=="function")try{ya.onCommitFiberRoot(fc,n,void 0,(n.current.flags&128)===128)}catch{}if(c!==null){n=H.T,s=$.p,$.p=2,H.T=null;try{for(var r=l.onRecoverableError,p=0;p<c.length;p++){var E=c[p];r(E.value,{componentStack:E.stack})}}finally{H.T=n,$.p=s}}(bu&3)!==0&&df(),Eu(l),s=l.pendingLanes,(u&261930)!==0&&(s&42)!==0?l===ur?ff++:(ff=0,ur=l):ff=0,oi(0)}}function Jg(l,n){(l.pooledCacheLanes&=n)===0&&(n=l.pooledCache,n!=null&&(l.pooledCache=null,Ms(n)))}function df(){return Vg(),Qg(),Zg(),Kg()}function Kg(){if(yl!==5)return!1;var l=ui,n=Ea;Ea=0;var u=wm(bu),c=H.T,s=$.p;try{$.p=32>u?32:u,H.T=null,u=gh,gh=null;var r=ui,p=bu;if(yl=0,ki=ui=null,bu=0,(fe&6)!==0)throw Error(y(331));var E=fe;if(fe|=4,uy(r.current),nf(r,r.current,p,u),fe=E,oi(0,!1),ya&&typeof ya.onPostCommitFiberRoot=="function")try{ya.onPostCommitFiberRoot(fc,r)}catch{}return!0}finally{$.p=s,H.T=c,Jg(l,n)}}function $g(l,n,u){n=Ca(u,n),n=Yp(l.stateNode,n,2),l=Na(l,n,2),l!==null&&(Eo(l,2),Eu(l))}function ve(l,n,u){if(l.tag===3)$g(l,l,u);else for(;n!==null;){if(n.tag===3){$g(n,l,u);break}else if(n.tag===1){var c=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Ye===null||!Ye.has(c))){l=Ca(u,l),u=Gp(2),c=Na(n,u,2),c!==null&&(Xp(u,c,n,l),Eo(c,2),Eu(c));break}}n=n.return}}function or(l,n,u){var c=l.pingCache;if(c===null){c=l.pingCache=new iy;var s=new Set;c.set(n,s)}else s=c.get(n),s===void 0&&(s=new Set,c.set(n,s));s.has(u)||(mh=!0,s.add(u),l=fy.bind(null,l,n,u),n.then(l,l))}function fy(l,n,u){var c=l.pingCache;c!==null&&c.delete(n),l.pingedLanes|=l.suspendedLanes&u,l.warmLanes&=~u,ze===l&&(Kt&u)===u&&(Ce===4||Ce===3&&(Kt&62914560)===Kt&&300>Bl()-qn?(fe&2)===0&&Su(l,0):ph|=u,Ze===Kt&&(Ze=0)),Eu(l)}function kg(l,n){n===0&&(n=sc()),l=Ju(l,n),l!==null&&(Eo(l,n),Eu(l))}function Xa(l){var n=l.memoizedState,u=0;n!==null&&(u=n.retryLane),kg(l,u)}function Fg(l,n){var u=0;switch(l.tag){case 31:case 13:var c=l.stateNode,s=l.memoizedState;s!==null&&(u=s.retryLane);break;case 19:c=l.stateNode;break;case 22:c=l.stateNode._retryCache;break;default:throw Error(y(314))}c!==null&&c.delete(n),kg(l,u)}function Wg(l,n){return Re(l,n)}var hf=null,$c=null,sy=!1,Eh=!1,ry=!1,ci=0;function Eu(l){l!==$c&&l.next===null&&($c===null?hf=$c=l:$c=$c.next=l),Eh=!0,sy||(sy=!0,sr())}function oi(l,n){if(!ry&&Eh){ry=!0;do for(var u=!1,c=hf;c!==null;){if(l!==0){var s=c.pendingLanes;if(s===0)var r=0;else{var p=c.suspendedLanes,E=c.pingedLanes;r=(1<<31-Wl(42|l)+1)-1,r&=s&~(p&~E),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(u=!0,kc(c,r))}else r=Kt,r=Pe(c,c===ze?r:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(r&3)===0||gn(c,r)||(u=!0,kc(c,r));c=c.next}while(u);ry=!1}}function Th(){dy()}function dy(){Eh=sy=!1;var l=0;ci!==0&&j1()&&(l=ci);for(var n=Bl(),u=null,c=hf;c!==null;){var s=c.next,r=hy(c,n);r===0?(c.next=null,u===null?hf=s:u.next=s,s===null&&($c=u)):(u=c,(l!==0||(r&3)!==0)&&(Eh=!0)),c=s}yl!==0&&yl!==5||oi(l),ci!==0&&(ci=0)}function hy(l,n){for(var u=l.suspendedLanes,c=l.pingedLanes,s=l.expirationTimes,r=l.pendingLanes&-62914561;0<r;){var p=31-Wl(r),E=1<<p,O=s[p];O===-1?((E&u)===0||(E&c)!==0)&&(s[p]=So(E,n)):O<=n&&(l.expiredLanes|=E),r&=~E}if(n=ze,u=Kt,u=Pe(l,l===n?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c=l.callbackNode,u===0||l===n&&(ge===2||ge===9)||l.cancelPendingCommit!==null)return c!==null&&c!==null&&Cm(c),l.callbackNode=null,l.callbackPriority=0;if((u&3)===0||gn(l,u)){if(n=u&-u,n===l.callbackPriority)return n;switch(c!==null&&Cm(c),wm(u)){case 2:case 8:u=Pr;break;case 32:u=bi;break;case 268435456:u=xm;break;default:u=bi}return c=fr.bind(null,l),u=Re(u,c),l.callbackPriority=n,l.callbackNode=u,n}return c!==null&&c!==null&&Cm(c),l.callbackPriority=2,l.callbackNode=null,2}function fr(l,n){if(yl!==0&&yl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var u=l.callbackNode;if(df()&&l.callbackNode!==u)return null;var c=Kt;return c=Pe(l,l===ze?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c===0?null:(Hg(l,c,n),hy(l,Bl()),l.callbackNode!=null&&l.callbackNode===u?fr.bind(null,l):null)}function kc(l,n){if(df())return null;Hg(l,n,!0)}function sr(){uv(function(){(fe&6)!==0?Re(Ir,Th):dy()})}function Ah(){if(ci===0){var l=xi;l===0&&(l=Xu,Xu<<=1,(Xu&261888)===0&&(Xu=256)),ci=l}return ci}function Ig(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Pa(""+l)}function Fc(l,n){var u=n.ownerDocument.createElement("input");return u.name=n.name,u.value=n.value,l.id&&u.setAttribute("form",l.id),n.parentNode.insertBefore(u,n),l=new FormData(l),u.parentNode.removeChild(u),l}function rr(l,n,u,c,s){if(n==="submit"&&u&&u.stateNode===s){var r=Ig((s[Il]||null).action),p=c.submitter;p&&(n=(n=p[Il]||null)?Ig(n.formAction):p.getAttribute("formAction"),n!==null&&(r=n,p=null));var E=new ys("action","action",null,c,s);l.push({event:E,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(ci!==0){var O=p?Fc(s,p):new FormData(s);Fo(u,{pending:!0,data:O,method:s.method,action:r},null,O)}}else typeof r=="function"&&(E.preventDefault(),O=p?Fc(s,p):new FormData(s),Fo(u,{pending:!0,data:O,method:s.method,action:r},r,O))},currentTarget:s}]})}}for(var zh=0;zh<No.length;zh++){var mf=No[zh],my=mf.toLowerCase(),py=mf[0].toUpperCase()+mf.slice(1);ta(my,"on"+py)}ta(Es,"onAnimationEnd"),ta(cp,"onAnimationIteration"),ta(zd,"onAnimationStart"),ta("dblclick","onDoubleClick"),ta("focusin","onFocus"),ta("focusout","onBlur"),ta(Dc,"onTransitionRun"),ta(Ts,"onTransitionStart"),ta(eu,"onTransitionCancel"),ta(fg,"onTransitionEnd"),Fn("onMouseEnter",["mouseout","mouseover"]),Fn("onMouseLeave",["mouseout","mouseover"]),Fn("onPointerEnter",["pointerout","pointerover"]),Fn("onPointerLeave",["pointerout","pointerover"]),Ai("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ai("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ai("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ai("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ai("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ai("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(pf));function tv(l,n){n=(n&4)!==0;for(var u=0;u<l.length;u++){var c=l[u],s=c.event;c=c.listeners;t:{var r=void 0;if(n)for(var p=c.length-1;0<=p;p--){var E=c[p],O=E.instance,q=E.currentTarget;if(E=E.listener,O!==r&&s.isPropagationStopped())break t;r=E,s.currentTarget=q;try{r(s)}catch(Q){Oc(Q)}s.currentTarget=null,r=O}else for(p=0;p<c.length;p++){if(E=c[p],O=E.instance,q=E.currentTarget,E=E.listener,O!==r&&s.isPropagationStopped())break t;r=E,s.currentTarget=q;try{r(s)}catch(Q){Oc(Q)}s.currentTarget=null,r=O}}}}function kt(l,n){var u=n[ad];u===void 0&&(u=n[ad]=new Set);var c=l+"__bubble";u.has(c)||(dr(n,l,2,!1),u.add(c))}function yy(l,n,u){var c=0;n&&(c|=4),dr(u,l,c,n)}var Dh="_reactListening"+Math.random().toString(36).slice(2);function yf(l){if(!l[Dh]){l[Dh]=!0,mc.forEach(function(u){u!=="selectionchange"&&(Pg.has(u)||yy(u,!1,l),yy(u,!0,l))});var n=l.nodeType===9?l:l.ownerDocument;n===null||n[Dh]||(n[Dh]=!0,yy("selectionchange",!1,n))}}function dr(l,n,u,c){switch(Er(n)){case 2:var s=Au;break;case 8:s=zu;break;default:s=Yl}u=s.bind(null,n,u,l),s=void 0,!ms||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(s=!0),c?s!==void 0?l.addEventListener(n,u,{capture:!0,passive:s}):l.addEventListener(n,u,!0):s!==void 0?l.addEventListener(n,u,{passive:s}):l.addEventListener(n,u,!1)}function gy(l,n,u,c,s){var r=c;if((n&1)===0&&(n&2)===0&&c!==null)t:for(;;){if(c===null)return;var p=c.tag;if(p===3||p===4){var E=c.stateNode.containerInfo;if(E===s)break;if(p===4)for(p=c.return;p!==null;){var O=p.tag;if((O===3||O===4)&&p.stateNode.containerInfo===s)return;p=p.return}for(;E!==null;){if(p=rc(E),p===null)return;if(O=p.tag,O===5||O===6||O===26||O===27){c=r=p;continue t}E=E.parentNode}}c=c.return}Vm(function(){var q=r,Q=rd(u),K=[];t:{var j=lu.get(l);if(j!==void 0){var L=ys,ht=l;switch(l){case"keypress":if(hd(u)===0)break t;case"keydown":case"keyup":L=gd;break;case"focusin":ht="focus",L=pd;break;case"focusout":ht="blur",L=pd;break;case"beforeblur":case"afterblur":L=pd;break;case"click":if(u.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":L=Uo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":L=W0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":L=lg;break;case Es:case cp:case zd:L=P0;break;case fg:L=x1;break;case"scroll":case"scrollend":L=U1;break;case"wheel":L=H1;break;case"copy":case"cut":case"paste":L=vc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":L=Tn;break;case"toggle":case"beforetoggle":L=Im}var At=(n&4)!==0,Oe=!At&&(l==="scroll"||l==="scrollend"),N=At?j!==null?j+"Capture":null:j;At=[];for(var C=q,B;C!==null;){var J=C;if(B=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||B===null||N===null||(J=El(C,N),J!=null&&At.push(hr(C,J,B))),Oe)break;C=C.return}0<At.length&&(j=new L(j,ht,null,u,Q),K.push({event:j,listeners:At}))}}if((n&7)===0){t:{if(j=l==="mouseover"||l==="pointerover",L=l==="mouseout"||l==="pointerout",j&&u!==sd&&(ht=u.relatedTarget||u.fromElement)&&(rc(ht)||ht[Ei]))break t;if((L||j)&&(j=Q.window===Q?Q:(j=Q.ownerDocument)?j.defaultView||j.parentWindow:window,L?(ht=u.relatedTarget||u.toElement,L=q,ht=ht?rc(ht):null,ht!==null&&(Oe=_(ht),At=ht.tag,ht!==Oe||At!==5&&At!==27&&At!==6)&&(ht=null)):(L=null,ht=q),L!==ht)){if(At=Uo,J="onMouseLeave",N="onMouseEnter",C="mouse",(l==="pointerout"||l==="pointerover")&&(At=Tn,J="onPointerLeave",N="onPointerEnter",C="pointer"),Oe=L==null?j:To(L),B=ht==null?j:To(ht),j=new At(J,C+"leave",L,u,Q),j.target=Oe,j.relatedTarget=B,J=null,rc(Q)===q&&(At=new At(N,C+"enter",ht,u,Q),At.target=B,At.relatedTarget=Oe,J=At),Oe=J,L&&ht)e:{for(At=ev,N=L,C=ht,B=0,J=N;J;J=At(J))B++;J=0;for(var yt=C;yt;yt=At(yt))J++;for(;0<B-J;)N=At(N),B--;for(;0<J-B;)C=At(C),J--;for(;B--;){if(N===C||C!==null&&N===C.alternate){At=N;break e}N=At(N),C=At(C)}At=null}else At=null;L!==null&&Oh(K,j,L,At,!1),ht!==null&&Oe!==null&&Oh(K,Oe,ht,At,!0)}}t:{if(j=q?To(q):window,L=j.nodeName&&j.nodeName.toLowerCase(),L==="select"||L==="input"&&j.type==="file")var ce=ap;else if(tu(j))if(Sd)ce=Ac;else{ce=cg;var mt=ig}else L=j.nodeName,!L||L.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?q&&Lm(q.elementType)&&(ce=ap):ce=_i;if(ce&&(ce=ce(l,q))){lp(K,ce,u,Q);break t}mt&&mt(l,j,q),l==="focusout"&&q&&j.type==="number"&&q.memoizedProps.value!=null&&pc(j,"number",j.value)}switch(mt=q?To(q):window,l){case"focusin":(tu(mt)||mt.contentEditable==="true")&&(Mi=mt,Ho=q,ln=null);break;case"focusout":ln=Ho=Mi=null;break;case"mousedown":zn=!0;break;case"contextmenu":case"mouseup":case"dragend":zn=!1,Ad(K,u,Q);break;case"selectionchange":if(Ss)break;case"keydown":case"keyup":Ad(K,u,Q)}var wt;if(Co)t:{switch(l){case"compositionstart":var jt="onCompositionStart";break t;case"compositionend":jt="onCompositionEnd";break t;case"compositionupdate":jt="onCompositionUpdate";break t}jt=void 0}else Sc?bd(l,u)&&(jt="onCompositionEnd"):l==="keydown"&&u.keyCode===229&&(jt="onCompositionStart");jt&&(Pm&&u.locale!=="ko"&&(Sc||jt!=="onCompositionStart"?jt==="onCompositionEnd"&&Sc&&(wt=Zm()):(Qu=Q,Qm="value"in Qu?Qu.value:Qu.textContent,Sc=!0)),mt=mr(q,jt),0<mt.length&&(jt=new tg(jt,l,null,u,Q),K.push({event:jt,listeners:mt}),wt?jt.data=wt:(wt=tp(u),wt!==null&&(jt.data=wt)))),(wt=Vl?ug(l,u):w1(l,u))&&(jt=mr(q,"onBeforeInput"),0<jt.length&&(mt=new tg("onBeforeInput","beforeinput",null,u,Q),K.push({event:mt,listeners:jt}),mt.data=wt)),rr(K,l,q,u,Q)}tv(K,n)})}function hr(l,n,u){return{instance:l,listener:n,currentTarget:u}}function mr(l,n){for(var u=n+"Capture",c=[];l!==null;){var s=l,r=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||r===null||(s=El(l,u),s!=null&&c.unshift(hr(l,s,r)),s=El(l,n),s!=null&&c.push(hr(l,s,r))),l.tag===3)return c;l=l.return}return[]}function ev(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Oh(l,n,u,c,s){for(var r=n._reactName,p=[];u!==null&&u!==c;){var E=u,O=E.alternate,q=E.stateNode;if(E=E.tag,O!==null&&O===c)break;E!==5&&E!==26&&E!==27||q===null||(O=q,s?(q=El(u,r),q!=null&&p.unshift(hr(u,q,O))):s||(q=El(u,r),q!=null&&p.push(hr(u,q,O)))),u=u.return}p.length!==0&&l.push({event:n,listeners:p})}var lv=/\r\n?/g,vy=/\u0000|\uFFFD/g;function by(l){return(typeof l=="string"?l:""+l).replace(lv,`
|
|
33
|
+
`).replace(vy,"")}function Sy(l,n){return n=by(n),by(l)===n}function De(l,n,u,c,s,r){switch(u){case"children":typeof c=="string"?n==="body"||n==="textarea"&&c===""||Wn(l,c):(typeof c=="number"||typeof c=="bigint")&&n!=="body"&&Wn(l,""+c);break;case"className":cd(l,"class",c);break;case"tabIndex":cd(l,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":cd(l,u,c);break;case"style":$0(l,c,r);break;case"data":if(n!=="object"){cd(l,"data",c);break}case"src":case"href":if(c===""&&(n!=="a"||u!=="href")){l.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=Pa(""+c),l.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){l.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(u==="formAction"?(n!=="input"&&De(l,n,"name",s.name,s,null),De(l,n,"formEncType",s.formEncType,s,null),De(l,n,"formMethod",s.formMethod,s,null),De(l,n,"formTarget",s.formTarget,s,null)):(De(l,n,"encType",s.encType,s,null),De(l,n,"method",s.method,s,null),De(l,n,"target",s.target,s,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=Pa(""+c),l.setAttribute(u,c);break;case"onClick":c!=null&&(l.onclick=bn);break;case"onScroll":c!=null&&kt("scroll",l);break;case"onScrollEnd":c!=null&&kt("scrollend",l);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(y(61));if(u=c.__html,u!=null){if(s.children!=null)throw Error(y(60));l.innerHTML=u}}break;case"multiple":l.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":l.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){l.removeAttribute("xlink:href");break}u=Pa(""+c),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""+c):l.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""):l.removeAttribute(u);break;case"capture":case"download":c===!0?l.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,c):l.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?l.setAttribute(u,c):l.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?l.removeAttribute(u):l.setAttribute(u,c);break;case"popover":kt("beforetoggle",l),kt("toggle",l),Do(l,"popover",c);break;case"xlinkActuate":Lu(l,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Lu(l,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Lu(l,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Lu(l,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Lu(l,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Lu(l,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Lu(l,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Lu(l,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Lu(l,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Do(l,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=M1.get(u)||u,Do(l,u,c))}}function Ey(l,n,u,c,s,r){switch(u){case"style":$0(l,c,r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(y(61));if(u=c.__html,u!=null){if(s.children!=null)throw Error(y(60));l.innerHTML=u}}break;case"children":typeof c=="string"?Wn(l,c):(typeof c=="number"||typeof c=="bigint")&&Wn(l,""+c);break;case"onScroll":c!=null&&kt("scroll",l);break;case"onScrollEnd":c!=null&&kt("scrollend",l);break;case"onClick":c!=null&&(l.onclick=bn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ti.hasOwnProperty(u))t:{if(u[0]==="o"&&u[1]==="n"&&(s=u.endsWith("Capture"),n=u.slice(2,s?u.length-7:void 0),r=l[Il]||null,r=r!=null?r[u]:null,typeof r=="function"&&l.removeEventListener(n,r,s),typeof c=="function")){typeof r!="function"&&r!==null&&(u in l?l[u]=null:l.hasAttribute(u)&&l.removeAttribute(u)),l.addEventListener(n,c,s);break t}u in l?l[u]=c:c===!0?l.setAttribute(u,""):Do(l,u,c)}}}function jl(l,n,u){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":kt("error",l),kt("load",l);var c=!1,s=!1,r;for(r in u)if(u.hasOwnProperty(r)){var p=u[r];if(p!=null)switch(r){case"src":c=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(y(137,n));default:De(l,n,r,p,u,null)}}s&&De(l,n,"srcSet",u.srcSet,u,null),c&&De(l,n,"src",u.src,u,null);return;case"input":kt("invalid",l);var E=r=p=s=null,O=null,q=null;for(c in u)if(u.hasOwnProperty(c)){var Q=u[c];if(Q!=null)switch(c){case"name":s=Q;break;case"type":p=Q;break;case"checked":O=Q;break;case"defaultChecked":q=Q;break;case"value":r=Q;break;case"defaultValue":E=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(y(137,n));break;default:De(l,n,c,Q,u,null)}}rs(l,r,E,O,q,p,s,!1);return;case"select":kt("invalid",l),c=p=r=null;for(s in u)if(u.hasOwnProperty(s)&&(E=u[s],E!=null))switch(s){case"value":r=E;break;case"defaultValue":p=E;break;case"multiple":c=E;default:De(l,n,s,E,u,null)}n=r,u=p,l.multiple=!!c,n!=null?Oo(l,!!c,n,!1):u!=null&&Oo(l,!!c,u,!0);return;case"textarea":kt("invalid",l),r=s=c=null;for(p in u)if(u.hasOwnProperty(p)&&(E=u[p],E!=null))switch(p){case"value":c=E;break;case"defaultValue":s=E;break;case"children":r=E;break;case"dangerouslySetInnerHTML":if(E!=null)throw Error(y(91));break;default:De(l,n,p,E,u,null)}Xm(l,c,s,r);return;case"option":for(O in u)if(u.hasOwnProperty(O)&&(c=u[O],c!=null))switch(O){case"selected":l.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:De(l,n,O,c,u,null)}return;case"dialog":kt("beforetoggle",l),kt("toggle",l),kt("cancel",l),kt("close",l);break;case"iframe":case"object":kt("load",l);break;case"video":case"audio":for(c=0;c<pf.length;c++)kt(pf[c],l);break;case"image":kt("error",l),kt("load",l);break;case"details":kt("toggle",l);break;case"embed":case"source":case"link":kt("error",l),kt("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(q in u)if(u.hasOwnProperty(q)&&(c=u[q],c!=null))switch(q){case"children":case"dangerouslySetInnerHTML":throw Error(y(137,n));default:De(l,n,q,c,u,null)}return;default:if(Lm(n)){for(Q in u)u.hasOwnProperty(Q)&&(c=u[Q],c!==void 0&&Ey(l,n,Q,c,u,void 0));return}}for(E in u)u.hasOwnProperty(E)&&(c=u[E],c!=null&&De(l,n,E,c,u,null))}function Ty(l,n,u,c){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,r=null,p=null,E=null,O=null,q=null,Q=null;for(L in u){var K=u[L];if(u.hasOwnProperty(L)&&K!=null)switch(L){case"checked":break;case"value":break;case"defaultValue":O=K;default:c.hasOwnProperty(L)||De(l,n,L,null,c,K)}}for(var j in c){var L=c[j];if(K=u[j],c.hasOwnProperty(j)&&(L!=null||K!=null))switch(j){case"type":r=L;break;case"name":s=L;break;case"checked":q=L;break;case"defaultChecked":Q=L;break;case"value":p=L;break;case"defaultValue":E=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(y(137,n));break;default:L!==K&&De(l,n,j,L,c,K)}}ss(l,p,E,O,q,Q,r,s);return;case"select":L=p=E=j=null;for(r in u)if(O=u[r],u.hasOwnProperty(r)&&O!=null)switch(r){case"value":break;case"multiple":L=O;default:c.hasOwnProperty(r)||De(l,n,r,null,c,O)}for(s in c)if(r=c[s],O=u[s],c.hasOwnProperty(s)&&(r!=null||O!=null))switch(s){case"value":j=r;break;case"defaultValue":E=r;break;case"multiple":p=r;default:r!==O&&De(l,n,s,r,c,O)}n=E,u=p,c=L,j!=null?Oo(l,!!u,j,!1):!!c!=!!u&&(n!=null?Oo(l,!!u,n,!0):Oo(l,!!u,u?[]:"",!1));return;case"textarea":L=j=null;for(E in u)if(s=u[E],u.hasOwnProperty(E)&&s!=null&&!c.hasOwnProperty(E))switch(E){case"value":break;case"children":break;default:De(l,n,E,null,c,s)}for(p in c)if(s=c[p],r=u[p],c.hasOwnProperty(p)&&(s!=null||r!=null))switch(p){case"value":j=s;break;case"defaultValue":L=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(y(91));break;default:s!==r&&De(l,n,p,s,c,r)}Gm(l,j,L);return;case"option":for(var ht in u)if(j=u[ht],u.hasOwnProperty(ht)&&j!=null&&!c.hasOwnProperty(ht))switch(ht){case"selected":l.selected=!1;break;default:De(l,n,ht,null,c,j)}for(O in c)if(j=c[O],L=u[O],c.hasOwnProperty(O)&&j!==L&&(j!=null||L!=null))switch(O){case"selected":l.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:De(l,n,O,j,c,L)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var At in u)j=u[At],u.hasOwnProperty(At)&&j!=null&&!c.hasOwnProperty(At)&&De(l,n,At,null,c,j);for(q in c)if(j=c[q],L=u[q],c.hasOwnProperty(q)&&j!==L&&(j!=null||L!=null))switch(q){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(y(137,n));break;default:De(l,n,q,j,c,L)}return;default:if(Lm(n)){for(var Oe in u)j=u[Oe],u.hasOwnProperty(Oe)&&j!==void 0&&!c.hasOwnProperty(Oe)&&Ey(l,n,Oe,void 0,c,j);for(Q in c)j=c[Q],L=u[Q],!c.hasOwnProperty(Q)||j===L||j===void 0&&L===void 0||Ey(l,n,Q,j,c,L);return}}for(var N in u)j=u[N],u.hasOwnProperty(N)&&j!=null&&!c.hasOwnProperty(N)&&De(l,n,N,null,c,j);for(K in c)j=c[K],L=u[K],!c.hasOwnProperty(K)||j===L||j==null&&L==null||De(l,n,K,j,c,L)}function _h(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Ay(){if(typeof performance.getEntriesByType=="function"){for(var l=0,n=0,u=performance.getEntriesByType("resource"),c=0;c<u.length;c++){var s=u[c],r=s.transferSize,p=s.initiatorType,E=s.duration;if(r&&E&&_h(p)){for(p=0,E=s.responseEnd,c+=1;c<u.length;c++){var O=u[c],q=O.startTime;if(q>E)break;var Q=O.transferSize,K=O.initiatorType;Q&&_h(K)&&(O=O.responseEnd,p+=Q*(O<E?1:(E-q)/(O-q)))}if(--c,n+=8*(r+p)/(s.duration/1e3),l++,10<l)break}}if(0<l)return n/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var Rh=null,Mh=null;function Wi(l){return l.nodeType===9?l:l.ownerDocument}function av(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function zy(l,n){if(l===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&n==="foreignObject"?0:l}function gf(l,n){return l==="textarea"||l==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Uh=null;function j1(){var l=window.event;return l&&l.type==="popstate"?l===Uh?!1:(Uh=l,!0):(Uh=null,!1)}var pr=typeof setTimeout=="function"?setTimeout:void 0,nv=typeof clearTimeout=="function"?clearTimeout:void 0,Wc=typeof Promise=="function"?Promise:void 0,uv=typeof queueMicrotask=="function"?queueMicrotask:typeof Wc<"u"?function(l){return Wc.resolve(null).then(l).catch(Dy)}:pr;function Dy(l){setTimeout(function(){throw l})}function jn(l){return l==="head"}function Oy(l,n){var u=n,c=0;do{var s=u.nextSibling;if(l.removeChild(u),s&&s.nodeType===8)if(u=s.data,u==="/$"||u==="/&"){if(c===0){l.removeChild(s),Mf(n);return}c--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")c++;else if(u==="html")Ic(l.ownerDocument.documentElement);else if(u==="head"){u=l.ownerDocument.head,Ic(u);for(var r=u.firstChild;r;){var p=r.nextSibling,E=r.nodeName;r[kn]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&r.rel.toLowerCase()==="stylesheet"||u.removeChild(r),r=p}}else u==="body"&&Ic(l.ownerDocument.body);u=s}while(u);Mf(n)}function nl(l,n){var u=l;l=0;do{var c=u.nextSibling;if(u.nodeType===1?n?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(n?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),c&&c.nodeType===8)if(u=c.data,u==="/$"){if(l===0)break;l--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||l++;u=c}while(u)}function yr(l){var n=l.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var u=n;switch(n=n.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":yr(u),nd(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}l.removeChild(u)}}function Y1(l,n,u,c){for(;l.nodeType===1;){var s=u;if(l.nodeName.toLowerCase()!==n.toLowerCase()){if(!c&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(c){if(!l[kn])switch(n){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(r=l.getAttribute("rel"),r==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(r!==s.rel||l.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||l.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||l.getAttribute("title")!==(s.title==null?null:s.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(r=l.getAttribute("src"),(r!==(s.src==null?null:s.src)||l.getAttribute("type")!==(s.type==null?null:s.type)||l.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&r&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(n==="input"&&l.type==="hidden"){var r=s.name==null?null:""+s.name;if(s.type==="hidden"&&l.getAttribute("name")===r)return l}else return l;if(l=da(l.nextSibling),l===null)break}return null}function Xt(l,n,u){if(n==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!u||(l=da(l.nextSibling),l===null))return null;return l}function iv(l,n){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!n||(l=da(l.nextSibling),l===null))return null;return l}function rn(l){return l.data==="$?"||l.data==="$~"}function Ii(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function vf(l,n){var u=l.ownerDocument;if(l.data==="$~")l._reactRetry=n;else if(l.data!=="$?"||u.readyState!=="loading")n();else{var c=function(){n(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),l._reactRetry=c}}function da(l){for(;l!=null;l=l.nextSibling){var n=l.nodeType;if(n===1||n===3)break;if(n===8){if(n=l.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return l}var gr=null;function Ch(l){l=l.nextSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="/$"||u==="/&"){if(n===0)return da(l.nextSibling);n--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||n++}l=l.nextSibling}return null}function Yn(l){l=l.previousSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(n===0)return l;n--}else u!=="/$"&&u!=="/&"||n++}l=l.previousSibling}return null}function bf(l,n,u){switch(n=Wi(u),l){case"html":if(l=n.documentElement,!l)throw Error(y(452));return l;case"head":if(l=n.head,!l)throw Error(y(453));return l;case"body":if(l=n.body,!l)throw Error(y(454));return l;default:throw Error(y(451))}}function Ic(l){for(var n=l.attributes;n.length;)l.removeAttributeNode(n[0]);nd(l)}var Aa=new Map,vr=new Set;function Jl(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Gn=$.d;$.d={f:G1,r:cv,D:X,C:he,L:X1,m:_y,X:fi,S:Ry,M:Pi};function G1(){var l=Gn.f(),n=sf();return l||n}function cv(l){var n=dc(l);n!==null&&n.tag===5&&n.type==="form"?Ae(n):Gn.r(l)}var Sf=typeof document>"u"?null:document;function fl(l,n,u){var c=Sf;if(c&&typeof n=="string"&&n){var s=Ra(n);s='link[rel="'+l+'"][href="'+s+'"]',typeof u=="string"&&(s+='[crossorigin="'+u+'"]'),vr.has(s)||(vr.add(s),l={rel:l,crossOrigin:u,href:n},c.querySelector(s)===null&&(n=c.createElement("link"),jl(n,"link",l),me(n),c.head.appendChild(n)))}}function X(l){Gn.D(l),fl("dns-prefetch",l,null)}function he(l,n){Gn.C(l,n),fl("preconnect",l,n)}function X1(l,n,u){Gn.L(l,n,u);var c=Sf;if(c&&l&&n){var s='link[rel="preload"][as="'+Ra(n)+'"]';n==="image"&&u&&u.imageSrcSet?(s+='[imagesrcset="'+Ra(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(s+='[imagesizes="'+Ra(u.imageSizes)+'"]')):s+='[href="'+Ra(l)+'"]';var r=s;switch(n){case"style":r=La(l);break;case"script":r=Pc(l)}Aa.has(r)||(l=W({rel:"preload",href:n==="image"&&u&&u.imageSrcSet?void 0:l,as:n},u),Aa.set(r,l),c.querySelector(s)!==null||n==="style"&&c.querySelector(tc(r))||n==="script"&&c.querySelector(Af(r))||(n=c.createElement("link"),jl(n,"link",l),me(n),c.head.appendChild(n)))}}function _y(l,n){Gn.m(l,n);var u=Sf;if(u&&l){var c=n&&typeof n.as=="string"?n.as:"script",s='link[rel="modulepreload"][as="'+Ra(c)+'"][href="'+Ra(l)+'"]',r=s;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Pc(l)}if(!Aa.has(r)&&(l=W({rel:"modulepreload",href:l},n),Aa.set(r,l),u.querySelector(s)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Af(r)))return}c=u.createElement("link"),jl(c,"link",l),me(c),u.head.appendChild(c)}}}function Ry(l,n,u){Gn.S(l,n,u);var c=Sf;if(c&&l){var s=hc(c).hoistableStyles,r=La(l);n=n||"default";var p=s.get(r);if(!p){var E={loading:0,preload:null};if(p=c.querySelector(tc(r)))E.loading=5;else{l=W({rel:"stylesheet",href:l,"data-precedence":n},u),(u=Aa.get(r))&&xh(l,u);var O=p=c.createElement("link");me(O),jl(O,"link",l),O._p=new Promise(function(q,Q){O.onload=q,O.onerror=Q}),O.addEventListener("load",function(){E.loading|=1}),O.addEventListener("error",function(){E.loading|=2}),E.loading|=4,br(p,n,c)}p={type:"stylesheet",instance:p,count:1,state:E},s.set(r,p)}}}function fi(l,n){Gn.X(l,n);var u=Sf;if(u&&l){var c=hc(u).hoistableScripts,s=Pc(l),r=c.get(s);r||(r=u.querySelector(Af(s)),r||(l=W({src:l,async:!0},n),(n=Aa.get(s))&&Hh(l,n),r=u.createElement("script"),me(r),jl(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(s,r))}}function Pi(l,n){Gn.M(l,n);var u=Sf;if(u&&l){var c=hc(u).hoistableScripts,s=Pc(l),r=c.get(s);r||(r=u.querySelector(Af(s)),r||(l=W({src:l,async:!0,type:"module"},n),(n=Aa.get(s))&&Hh(l,n),r=u.createElement("script"),me(r),jl(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(s,r))}}function Ef(l,n,u,c){var s=(s=vi.current)?Jl(s):null;if(!s)throw Error(y(446));switch(l){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(n=La(u.href),u=hc(s).hoistableStyles,c=u.get(n),c||(c={type:"style",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){l=La(u.href);var r=hc(s).hoistableStyles,p=r.get(l);if(p||(s=s.ownerDocument||s,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(l,p),(r=s.querySelector(tc(l)))&&!r._p&&(p.instance=r,p.state.loading=5),Aa.has(l)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},Aa.set(l,u),r||ov(s,l,u,p.state))),n&&c===null)throw Error(y(528,""));return p}if(n&&c!==null)throw Error(y(529,""));return null;case"script":return n=u.async,u=u.src,typeof u=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Pc(u),u=hc(s).hoistableScripts,c=u.get(n),c||(c={type:"script",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(y(444,l))}}function La(l){return'href="'+Ra(l)+'"'}function tc(l){return'link[rel="stylesheet"]['+l+"]"}function Tf(l){return W({},l,{"data-precedence":l.precedence,precedence:null})}function ov(l,n,u,c){l.querySelector('link[rel="preload"][as="style"]['+n+"]")?c.loading=1:(n=l.createElement("link"),c.preload=n,n.addEventListener("load",function(){return c.loading|=1}),n.addEventListener("error",function(){return c.loading|=2}),jl(n,"link",u),me(n),l.head.appendChild(n))}function Pc(l){return'[src="'+Ra(l)+'"]'}function Af(l){return"script[async]"+l}function My(l,n,u){if(n.count++,n.instance===null)switch(n.type){case"style":var c=l.querySelector('style[data-href~="'+Ra(u.href)+'"]');if(c)return n.instance=c,me(c),c;var s=W({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(l.ownerDocument||l).createElement("style"),me(c),jl(c,"style",s),br(c,u.precedence,l),n.instance=c;case"stylesheet":s=La(u.href);var r=l.querySelector(tc(s));if(r)return n.state.loading|=4,n.instance=r,me(r),r;c=Tf(u),(s=Aa.get(s))&&xh(c,s),r=(l.ownerDocument||l).createElement("link"),me(r);var p=r;return p._p=new Promise(function(E,O){p.onload=E,p.onerror=O}),jl(r,"link",c),n.state.loading|=4,br(r,u.precedence,l),n.instance=r;case"script":return r=Pc(u.src),(s=l.querySelector(Af(r)))?(n.instance=s,me(s),s):(c=u,(s=Aa.get(r))&&(c=W({},u),Hh(c,s)),l=l.ownerDocument||l,s=l.createElement("script"),me(s),jl(s,"link",c),l.head.appendChild(s),n.instance=s);case"void":return null;default:throw Error(y(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(c=n.instance,n.state.loading|=4,br(c,u.precedence,l));return n.instance}function br(l,n,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=c.length?c[c.length-1]:null,r=s,p=0;p<c.length;p++){var E=c[p];if(E.dataset.precedence===n)r=E;else if(r!==s)break}r?r.parentNode.insertBefore(l,r.nextSibling):(n=u.nodeType===9?u.head:u,n.insertBefore(l,n.firstChild))}function xh(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.title==null&&(l.title=n.title)}function Hh(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.integrity==null&&(l.integrity=n.integrity)}var zf=null;function Uy(l,n,u){if(zf===null){var c=new Map,s=zf=new Map;s.set(u,c)}else s=zf,c=s.get(u),c||(c=new Map,s.set(u,c));if(c.has(l))return c;for(c.set(l,null),u=u.getElementsByTagName(l),s=0;s<u.length;s++){var r=u[s];if(!(r[kn]||r[Te]||l==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var p=r.getAttribute(n)||"";p=l+p;var E=c.get(p);E?E.push(r):c.set(p,[r])}}return c}function wh(l,n,u){l=l.ownerDocument||l,l.head.insertBefore(u,n==="title"?l.querySelector("head > title"):null)}function Cy(l,n,u){if(u===1||n.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return l=n.disabled,typeof n.precedence=="string"&&l==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function za(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function Tu(l,n,u,c){if(u.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var s=La(c.href),r=n.querySelector(tc(s));if(r){n=r._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(l.count++,l=Nh.bind(l),n.then(l,l)),u.state.loading|=4,u.instance=r,me(r);return}r=n.ownerDocument||n,c=Tf(c),(s=Aa.get(s))&&xh(c,s),r=r.createElement("link"),me(r);var p=r;p._p=new Promise(function(E,O){p.onload=E,p.onerror=O}),jl(r,"link",c),u.instance=r}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(u,n),(n=u.state.preload)&&(u.state.loading&3)===0&&(l.count++,u=Nh.bind(l),n.addEventListener("load",u),n.addEventListener("error",u))}}var Va=0;function xy(l,n){return l.stylesheets&&l.count===0&&qh(l,l.stylesheets),0<l.count||0<l.imgCount?function(u){var c=setTimeout(function(){if(l.stylesheets&&qh(l,l.stylesheets),l.unsuspend){var r=l.unsuspend;l.unsuspend=null,r()}},6e4+n);0<l.imgBytes&&Va===0&&(Va=62500*Ay());var s=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&qh(l,l.stylesheets),l.unsuspend)){var r=l.unsuspend;l.unsuspend=null,r()}},(l.imgBytes>Va?50:800)+n);return l.unsuspend=u,function(){l.unsuspend=null,clearTimeout(c),clearTimeout(s)}}:null}function Nh(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qh(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Bh=null;function qh(l,n){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Bh=new Map,n.forEach(Rl,l),Bh=null,Nh.call(l))}function Rl(l,n){if(!(n.state.loading&4)){var u=Bh.get(l);if(u)var c=u.get(null);else{u=new Map,Bh.set(l,u);for(var s=l.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<s.length;r++){var p=s[r];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(u.set(p.dataset.precedence,p),c=p)}c&&u.set(null,c)}s=n.instance,p=s.getAttribute("data-precedence"),r=u.get(p)||c,r===c&&u.set(null,s),u.set(p,s),this.count++,c=Nh.bind(this),s.addEventListener("load",c),s.addEventListener("error",c),r?r.parentNode.insertBefore(s,r.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(s,l.firstChild)),n.state.loading|=4}}var Sr={$$typeof:Et,Provider:null,Consumer:null,_currentValue:et,_currentValue2:et,_threadCount:0};function Hy(l,n,u,c,s,r,p,E,O){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=cs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cs(0),this.hiddenUpdates=cs(null),this.identifierPrefix=c,this.onUncaughtError=s,this.onCaughtError=r,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=O,this.incompleteTransitions=new Map}function jh(l,n,u,c,s,r,p,E,O,q,Q,K){return l=new Hy(l,n,u,p,O,q,Q,K,E),n=1,r===!0&&(n|=24),r=$e(3,null,null,n),l.current=r,r.stateNode=l,n=Rs(),n.refCount++,l.pooledCache=n,n.refCount++,r.memoizedState={element:c,isDehydrated:u,cache:n},Ns(r),l}function to(l){return l?(l=ea,l):ea}function fv(l,n,u,c,s,r){s=to(s),c.context===null?c.context=s:c.pendingContext=s,c=Pu(n),c.payload={element:u},r=r===void 0?null:r,r!==null&&(c.callback=r),u=Na(l,c,n),u!==null&&(ra(u,l,n),ji(u,l,n))}function Yh(l,n){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var u=l.retryLane;l.retryLane=u!==0&&u<n?u:n}}function wy(l,n){Yh(l,n),(l=l.alternate)&&Yh(l,n)}function sv(l){if(l.tag===13||l.tag===31){var n=Ju(l,67108864);n!==null&&ra(n,l,67108864),wy(l,67108864)}}function eo(l){if(l.tag===13||l.tag===31){var n=Ta();n=ed(n);var u=Ju(l,n);u!==null&&ra(u,l,n),wy(l,n)}}var gl=!0;function Au(l,n,u,c){var s=H.T;H.T=null;var r=$.p;try{$.p=2,Yl(l,n,u,c)}finally{$.p=r,H.T=s}}function zu(l,n,u,c){var s=H.T;H.T=null;var r=$.p;try{$.p=8,Yl(l,n,u,c)}finally{$.p=r,H.T=s}}function Yl(l,n,u,c){if(gl){var s=Ny(c);if(s===null)gy(l,n,c,Gh,u),si(l,c);else if(L1(s,l,n,u,c))c.stopPropagation();else if(si(l,c),n&4&&-1<ha.indexOf(l)){for(;s!==null;){var r=dc(s);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var p=Ia(r.pendingLanes);if(p!==0){var E=r;for(E.pendingLanes|=2,E.entangledLanes|=2;p;){var O=1<<31-Wl(p);E.entanglements[1]|=O,p&=~O}Eu(r),(fe&6)===0&&(de=Bl()+500,oi(0))}}break;case 31:case 13:E=Ju(r,2),E!==null&&ra(E,r,2),sf(),wy(r,2)}if(r=Ny(c),r===null&&gy(l,n,c,Gh,u),r===s)break;s=r}s!==null&&c.stopPropagation()}else gy(l,n,c,null,u)}}function Ny(l){return l=rd(l),Df(l)}var Gh=null;function Df(l){if(Gh=null,l=rc(l),l!==null){var n=_(l);if(n===null)l=null;else{var u=n.tag;if(u===13){if(l=w(n),l!==null)return l;l=null}else if(u===31){if(l=M(n),l!==null)return l;l=null}else if(u===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;l=null}else n!==l&&(l=null)}}return Gh=l,null}function Er(l){switch(l){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(O1()){case Ir:return 2;case Pr:return 8;case bi:case _1:return 32;case xm:return 268435456;default:return 32}default:return 32}}var Of=!1,vl=null,Gl=null,Kl=null,ec=new Map,dn=new Map,Ge=[],ha="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function si(l,n){switch(l){case"focusin":case"focusout":vl=null;break;case"dragenter":case"dragleave":Gl=null;break;case"mouseover":case"mouseout":Kl=null;break;case"pointerover":case"pointerout":ec.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":dn.delete(n.pointerId)}}function lo(l,n,u,c,s,r){return l===null||l.nativeEvent!==r?(l={blockedOn:n,domEventName:u,eventSystemFlags:c,nativeEvent:r,targetContainers:[s]},n!==null&&(n=dc(n),n!==null&&sv(n)),l):(l.eventSystemFlags|=c,n=l.targetContainers,s!==null&&n.indexOf(s)===-1&&n.push(s),l)}function L1(l,n,u,c,s){switch(n){case"focusin":return vl=lo(vl,l,n,u,c,s),!0;case"dragenter":return Gl=lo(Gl,l,n,u,c,s),!0;case"mouseover":return Kl=lo(Kl,l,n,u,c,s),!0;case"pointerover":var r=s.pointerId;return ec.set(r,lo(ec.get(r)||null,l,n,u,c,s)),!0;case"gotpointercapture":return r=s.pointerId,dn.set(r,lo(dn.get(r)||null,l,n,u,c,s)),!0}return!1}function rv(l){var n=rc(l.target);if(n!==null){var u=_(n);if(u!==null){if(n=u.tag,n===13){if(n=w(u),n!==null){l.blockedOn=n,Nm(l.priority,function(){eo(u)});return}}else if(n===31){if(n=M(u),n!==null){l.blockedOn=n,Nm(l.priority,function(){eo(u)});return}}else if(n===3&&u.stateNode.current.memoizedState.isDehydrated){l.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Tr(l){if(l.blockedOn!==null)return!1;for(var n=l.targetContainers;0<n.length;){var u=Ny(l.nativeEvent);if(u===null){u=l.nativeEvent;var c=new u.constructor(u.type,u);sd=c,u.target.dispatchEvent(c),sd=null}else return n=dc(u),n!==null&&sv(n),l.blockedOn=u,!1;n.shift()}return!0}function _f(l,n,u){Tr(l)&&u.delete(n)}function dv(){Of=!1,vl!==null&&Tr(vl)&&(vl=null),Gl!==null&&Tr(Gl)&&(Gl=null),Kl!==null&&Tr(Kl)&&(Kl=null),ec.forEach(_f),dn.forEach(_f)}function Du(l,n){l.blockedOn===n&&(l.blockedOn=null,Of||(Of=!0,m.unstable_scheduleCallback(m.unstable_NormalPriority,dv)))}var Rf=null;function hv(l){Rf!==l&&(Rf=l,m.unstable_scheduleCallback(m.unstable_NormalPriority,function(){Rf===l&&(Rf=null);for(var n=0;n<l.length;n+=3){var u=l[n],c=l[n+1],s=l[n+2];if(typeof c!="function"){if(Df(c||u)===null)continue;break}var r=dc(u);r!==null&&(l.splice(n,3),n-=3,Fo(r,{pending:!0,data:s,method:u.method,action:c},c,s))}}))}function Mf(l){function n(O){return Du(O,l)}vl!==null&&Du(vl,l),Gl!==null&&Du(Gl,l),Kl!==null&&Du(Kl,l),ec.forEach(n),dn.forEach(n);for(var u=0;u<Ge.length;u++){var c=Ge[u];c.blockedOn===l&&(c.blockedOn=null)}for(;0<Ge.length&&(u=Ge[0],u.blockedOn===null);)rv(u),u.blockedOn===null&&Ge.shift();if(u=(l.ownerDocument||l).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var s=u[c],r=u[c+1],p=s[Il]||null;if(typeof r=="function")p||hv(u);else if(p){var E=null;if(r&&r.hasAttribute("formAction")){if(s=r,p=r[Il]||null)E=p.formAction;else if(Df(s)!==null)continue}else E=p.action;typeof E=="function"?u[c+1]=E:(u.splice(c,3),c-=3),hv(u)}}}function By(){function l(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(p){return s=p})},focusReset:"manual",scroll:"manual"})}function n(){s!==null&&(s(),s=null),c||setTimeout(u,20)}function u(){if(!c&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,s=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(u,100),function(){c=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),s!==null&&(s(),s=null)}}}function Xh(l){this._internalRoot=l}Lh.prototype.render=Xh.prototype.render=function(l){var n=this._internalRoot;if(n===null)throw Error(y(409));var u=n.current,c=Ta();fv(u,c,l,n,null,null)},Lh.prototype.unmount=Xh.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var n=l.containerInfo;fv(l.current,2,null,l,null,null),sf(),n[Ei]=null}};function Lh(l){this._internalRoot=l}Lh.prototype.unstable_scheduleHydration=function(l){if(l){var n=ld();l={blockedOn:null,target:l,priority:n};for(var u=0;u<Ge.length&&n!==0&&n<Ge[u].priority;u++);Ge.splice(u,0,l),u===0&&rv(l)}};var qy=v.version;if(qy!=="19.2.4")throw Error(y(527,qy,"19.2.4"));$.findDOMNode=function(l){var n=l._reactInternals;if(n===void 0)throw typeof l.render=="function"?Error(y(188)):(l=Object.keys(l).join(","),Error(y(268,l)));return l=I(n),l=l!==null?F(l):null,l=l===null?null:l.stateNode,l};var mv={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ar=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ar.isDisabled&&Ar.supportsFiber)try{fc=Ar.inject(mv),ya=Ar}catch{}}return Sm.createRoot=function(l,n){if(!T(l))throw Error(y(299));var u=!1,c="",s=Pd,r=jp,p=th;return n!=null&&(n.unstable_strictMode===!0&&(u=!0),n.identifierPrefix!==void 0&&(c=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(r=n.onCaughtError),n.onRecoverableError!==void 0&&(p=n.onRecoverableError)),n=jh(l,1,!1,null,null,u,c,null,s,r,p,By),l[Ei]=n.current,yf(l),new Xh(n)},Sm.hydrateRoot=function(l,n,u){if(!T(l))throw Error(y(299));var c=!1,s="",r=Pd,p=jp,E=th,O=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(s=u.identifierPrefix),u.onUncaughtError!==void 0&&(r=u.onUncaughtError),u.onCaughtError!==void 0&&(p=u.onCaughtError),u.onRecoverableError!==void 0&&(E=u.onRecoverableError),u.formState!==void 0&&(O=u.formState)),n=jh(l,1,!0,n,u??null,c,s,O,r,p,E,By),n.context=to(null),u=n.current,c=Ta(),c=ed(c),s=Pu(c),s.callback=null,Na(u,s,c),u=c,n.current.lanes=u,Eo(n,u),Eu(n),l[Ei]=n.current,yf(l),new Lh(n)},Sm.version="19.2.4",Sm}var Em={};/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.development.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var nS;function yT(){return nS||(nS=1,process.env.NODE_ENV!=="production"&&(function(){function m(t,e){for(t=t.memoizedState;t!==null&&0<e;)t=t.next,e--;return t}function v(t,e,a,i){if(a>=e.length)return i;var o=e[a],f=fl(t)?t.slice():Xt({},t);return f[o]=v(t[o],e,a+1,i),f}function b(t,e,a){if(e.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<a.length-1;i++)if(e[i]!==a[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return y(t,e,a,0)}}function y(t,e,a,i){var o=e[i],f=fl(t)?t.slice():Xt({},t);return i+1===e.length?(f[a[i]]=f[o],fl(f)?f.splice(o,1):delete f[o]):f[o]=y(t[o],e,a,i+1),f}function T(t,e,a){var i=e[a],o=fl(t)?t.slice():Xt({},t);return a+1===e.length?(fl(o)?o.splice(i,1):delete o[i],o):(o[i]=T(t[i],e,a+1),o)}function _(){return!1}function w(){return null}function M(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function tt(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function I(){}function F(){}function W(t){var e=[];return t.forEach(function(a){e.push(a)}),e.sort().join(", ")}function st(t,e,a,i){return new w1(t,e,a,i)}function Zt(t,e){t.context===Hf&&(Oh(t.current,2,e,t,null,null),Ga())}function P(t,e){if(Ru!==null){var a=e.staleFamilies;e=e.updatedFamilies,tr(),ug(t.current,e,a),Ga()}}function dt(t){Ru=t}function at(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Tt(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function te(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Et(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function gt(t){if(Tt(t)!==t)throw Error("Unable to find node on an unmounted component.")}function ie(t){var e=t.alternate;if(!e){if(e=Tt(t),e===null)throw Error("Unable to find node on an unmounted component.");return e!==t?null:t}for(var a=t,i=e;;){var o=a.return;if(o===null)break;var f=o.alternate;if(f===null){if(i=o.return,i!==null){a=i;continue}break}if(o.child===f.child){for(f=o.child;f;){if(f===a)return gt(o),t;if(f===i)return gt(o),e;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==i.return)a=o,i=f;else{for(var d=!1,h=o.child;h;){if(h===a){d=!0,a=o,i=f;break}if(h===i){d=!0,i=o,a=f;break}h=h.sibling}if(!d){for(h=f.child;h;){if(h===a){d=!0,a=f,i=o;break}if(h===i){d=!0,i=f,a=o;break}h=h.sibling}if(!d)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==i)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?t:e}function Se(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Se(t),e!==null)return e;t=t.sibling}return null}function ee(t){return t===null||typeof t!="object"?null:(t=cv&&t[cv]||t["@@iterator"],typeof t=="function"?t:null)}function ut(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Sf?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case vf:return"Fragment";case gr:return"Profiler";case da:return"StrictMode";case Ic:return"Suspense";case Aa:return"SuspenseList";case Gn:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case Ii:return"Portal";case Yn:return t.displayName||"Context";case Ch:return(t._context.displayName||"Context")+".Consumer";case bf:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case vr:return e=t.displayName||null,e!==null?e:ut(t.type)||"Memo";case Jl:e=t._payload,t=t._init;try{return ut(t(e))}catch{}}return null}function Jt(t){return typeof t.tag=="number"?ct(t):typeof t.name=="string"?t.name:null}function ct(t){var e=t.type;switch(t.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(e._context.displayName||"Context")+".Consumer";case 10:return e.displayName||"Context";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ut(e);case 8:return e===da?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;break;case 29:if(e=t._debugInfo,e!=null){for(var a=e.length-1;0<=a;a--)if(typeof e[a].name=="string")return e[a].name}if(t.return!==null)return ct(t.return)}return null}function Ft(t){return{current:t}}function Ut(t,e){0>fi?console.error("Unexpected pop."):(e!==Ry[fi]&&console.error("Unexpected Fiber popped."),t.current=_y[fi],_y[fi]=null,Ry[fi]=null,fi--)}function ot(t,e,a){fi++,_y[fi]=t.current,Ry[fi]=a,t.current=e}function Be(t){return t===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),t}function hl(t,e){ot(La,e,t),ot(Ef,t,t),ot(Pi,null,t);var a=e.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",e=(e=e.documentElement)&&(e=e.namespaceURI)?wg(e):go;break;default:if(a=e.tagName,e=e.namespaceURI)e=wg(e),e=ii(e,a);else switch(a){case"svg":e=vm;break;case"math":e=u1;break;default:e=go}}a=a.toLowerCase(),a=Ym(null,a),a={context:e,ancestorInfo:a},Ut(Pi,t),ot(Pi,a,t)}function H(t){Ut(Pi,t),Ut(Ef,t),Ut(La,t)}function $(){return Be(Pi.current)}function et(t){t.memoizedState!==null&&ot(tc,t,t);var e=Be(Pi.current),a=t.type,i=ii(e.context,a);a=Ym(e.ancestorInfo,a),i={context:i,ancestorInfo:a},e!==i&&(ot(Ef,t,t),ot(Pi,i,t))}function St(t){Ef.current===t&&(Ut(Pi,t),Ut(Ef,t)),tc.current===t&&(Ut(tc,t),O0._currentValue=Jr)}function _t(){}function be(){if(Tf===0){ov=console.log,Pc=console.info,Af=console.warn,My=console.error,br=console.group,xh=console.groupCollapsed,Hh=console.groupEnd;var t={configurable:!0,enumerable:!0,value:_t,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}Tf++}function le(){if(Tf--,Tf===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Xt({},t,{value:ov}),info:Xt({},t,{value:Pc}),warn:Xt({},t,{value:Af}),error:Xt({},t,{value:My}),group:Xt({},t,{value:br}),groupCollapsed:Xt({},t,{value:xh}),groupEnd:Xt({},t,{value:Hh})})}0>Tf&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Gt(t){var e=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,t=t.stack,Error.prepareStackTrace=e,t.startsWith(`Error: react-stack-top-frame
|
|
42
|
+
`)&&(t=t.slice(29)),e=t.indexOf(`
|
|
43
|
+
`),e!==-1&&(t=t.slice(e+1)),e=t.indexOf("react_stack_bottom_frame"),e!==-1&&(e=t.lastIndexOf(`
|
|
44
|
+
`,e)),e!==-1)t=t.slice(0,e);else return"";return t}function Nt(t){if(zf===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);zf=e&&e[1]||"",Uy=-1<a.stack.indexOf(`
|
|
45
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
46
|
+
`+zf+t+Uy}function il(t,e){if(!t||wh)return"";var a=Cy.get(t);if(a!==void 0)return a;wh=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=X.H,X.H=null,be();try{var o={DetermineComponentFrameRoot:function(){try{if(e){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(nt){var Y=nt}Reflect.construct(t,[],z)}else{try{z.call()}catch(nt){Y=nt}t.call(z.prototype)}}else{try{throw Error()}catch(nt){Y=nt}(z=t())&&typeof z.catch=="function"&&z.catch(function(){})}}catch(nt){if(nt&&Y&&typeof nt.stack=="string")return[nt.stack,Y.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),h=d[0],g=d[1];if(h&&g){var S=h.split(`
|
|
47
|
+
`),U=g.split(`
|
|
48
|
+
`);for(d=f=0;f<S.length&&!S[f].includes("DetermineComponentFrameRoot");)f++;for(;d<U.length&&!U[d].includes("DetermineComponentFrameRoot");)d++;if(f===S.length||d===U.length)for(f=S.length-1,d=U.length-1;1<=f&&0<=d&&S[f]!==U[d];)d--;for(;1<=f&&0<=d;f--,d--)if(S[f]!==U[d]){if(f!==1||d!==1)do if(f--,d--,0>d||S[f]!==U[d]){var x=`
|
|
49
|
+
`+S[f].replace(" at new "," at ");return t.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",t.displayName)),typeof t=="function"&&Cy.set(t,x),x}while(1<=f&&0<=d);break}}}finally{wh=!1,X.H=i,le(),Error.prepareStackTrace=a}return S=(S=t?t.displayName||t.name:"")?Nt(S):"",typeof t=="function"&&Cy.set(t,S),S}function vi(t,e){switch(t.tag){case 26:case 27:case 5:return Nt(t.type);case 16:return Nt("Lazy");case 13:return t.child!==e&&e!==null?Nt("Suspense Fallback"):Nt("Suspense");case 19:return Nt("SuspenseList");case 0:case 15:return il(t.type,!1);case 11:return il(t.type.render,!1);case 1:return il(t.type,!0);case 31:return Nt("Activity");default:return""}}function as(t){try{var e="",a=null;do{e+=vi(t,a);var i=t._debugInfo;if(i)for(var o=i.length-1;0<=o;o--){var f=i[o];if(typeof f.name=="string"){var d=e;t:{var h=f.name,g=f.env,S=f.debugLocation;if(S!=null){var U=Gt(S),x=U.lastIndexOf(`
|
|
50
|
+
`),z=x===-1?U:U.slice(x+1);if(z.indexOf(h)!==-1){var Y=`
|
|
51
|
+
`+z;break t}}Y=Nt(h+(g?" ["+g+"]":""))}e=d+Y}}a=t,t=t.return}while(t);return e}catch(nt){return`
|
|
52
|
+
Error generating stack: `+nt.message+`
|
|
53
|
+
`+nt.stack}}function ns(t){return(t=t?t.displayName||t.name:"")?Nt(t):""}function Yu(){if(za===null)return null;var t=za._debugOwner;return t!=null?Jt(t):null}function Rm(){if(za===null)return"";var t=za;try{var e="";switch(t.tag===6&&(t=t.return),t.tag){case 26:case 27:case 5:e+=Nt(t.type);break;case 13:e+=Nt("Suspense");break;case 19:e+=Nt("SuspenseList");break;case 31:e+=Nt("Activity");break;case 30:case 0:case 15:case 1:t._debugOwner||e!==""||(e+=ns(t.type));break;case 11:t._debugOwner||e!==""||(e+=ns(t.type.render))}for(;t;)if(typeof t.tag=="number"){var a=t;t=a._debugOwner;var i=a._debugStack;if(t&&i){var o=Gt(i);o!==""&&(e+=`
|
|
54
|
+
`+o)}}else if(t.debugStack!=null){var f=t.debugStack;(t=t.owner)&&f&&(e+=`
|
|
55
|
+
`+Gt(f))}else break;var d=e}catch(h){d=`
|
|
56
|
+
Error generating stack: `+h.message+`
|
|
57
|
+
`+h.stack}return d}function rt(t,e,a,i,o,f,d){var h=za;us(t);try{return t!==null&&t._debugTask?t._debugTask.run(e.bind(null,a,i,o,f,d)):e(a,i,o,f,d)}finally{us(h)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function us(t){X.getCurrentStack=t===null?null:Rm,Tu=!1,za=t}function is(t){return typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object"}function Kn(t){try{return cc(t),!1}catch{return!0}}function cc(t){return""+t}function Ee(t,e){if(Kn(t))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",e,is(t)),cc(t)}function Mm(t,e){if(Kn(t))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",e,is(t)),cc(t)}function Fr(t){if(Kn(t))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",is(t)),cc(t)}function Um(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled)return!0;if(!e.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{eo=e.inject(t),gl=e}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!e.checkDCE}function Re(t){if(typeof wy=="function"&&sv(t),gl&&typeof gl.setStrictMode=="function")try{gl.setStrictMode(eo,t)}catch(e){Au||(Au=!0,console.error("React instrumentation encountered an error: %o",e))}}function Cm(t){return t>>>=0,t===0?32:31-(Ny(t)/Gh|0)|0}function oc(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),t}}function Wr(t,e,a){var i=t.pendingLanes;if(i===0)return 0;var o=0,f=t.suspendedLanes,d=t.pingedLanes;t=t.warmLanes;var h=i&134217727;return h!==0?(i=h&~f,i!==0?o=oc(i):(d&=h,d!==0?o=oc(d):a||(a=h&~t,a!==0&&(o=oc(a))))):(h=i&~f,h!==0?o=oc(h):d!==0?o=oc(d):a||(a=i&~t,a!==0&&(o=oc(a)))),o===0?0:e!==0&&e!==o&&(e&f)===0&&(f=o&-o,a=e&-e,f>=a||f===32&&(a&4194048)!==0)?e:o}function Bl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function O1(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Ir(){var t=Of;return Of<<=1,(Of&62914560)===0&&(Of=4194304),t}function Pr(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function bi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function _1(t,e,a,i,o,f){var d=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var h=t.entanglements,g=t.expirationTimes,S=t.hiddenUpdates;for(a=d&~a;0<a;){var U=31-Yl(a),x=1<<U;h[U]=0,g[U]=-1;var z=S[U];if(z!==null)for(S[U]=null,U=0;U<z.length;U++){var Y=z[U];Y!==null&&(Y.lane&=-536870913)}a&=~x}i!==0&&xm(t,i,0),f!==0&&o===0&&t.tag!==0&&(t.suspendedLanes|=f&~(d&~e))}function xm(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-Yl(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|a&261930}function X0(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var i=31-Yl(a),o=1<<i;o&e|t[i]&e&&(t[i]|=e),a&=~o}}function L0(t,e){var a=e&-e;return a=(a&42)!==0?1:fc(a),(a&(t.suspendedLanes|e))!==0?0:a}function fc(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ya(t,e,a){if(zu)for(t=t.pendingUpdatersLaneMap;0<a;){var i=31-Yl(a),o=1<<i;t[i].add(e),a&=~o}}function Gu(t,e){if(zu)for(var a=t.pendingUpdatersLaneMap,i=t.memoizedUpdaters;0<e;){var o=31-Yl(e);t=1<<o,o=a[o],0<o.size&&(o.forEach(function(f){var d=f.alternate;d!==null&&i.has(d)||i.add(f)}),o.clear()),e&=~t}}function Wl(t){return t&=-t,vl<t?Gl<t?(t&134217727)!==0?Kl:ec:Gl:vl}function V0(){var t=he.p;return t!==0?t:(t=window.event,t===void 0?Kl:Rh(t.type))}function Q0(t,e){var a=he.p;try{return he.p=t,e()}finally{he.p=a}}function Hm(t){delete t[Ge],delete t[ha],delete t[lo],delete t[L1],delete t[rv]}function Xu(t){var e=t[Ge];if(e)return e;for(var a=t.parentNode;a;){if(e=a[si]||a[Ge]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=$c(t);t!==null;){if(a=t[Ge])return a;t=$c(t)}return e}t=a,a=t.parentNode}return null}function yn(t){if(t=t[Ge]||t[si]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Si(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ia(t){var e=t[Tr];return e||(e=t[Tr]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Pe(t){t[_f]=!0}function gn(t,e){So(t,e),So(t+"Capture",e)}function So(t,e){Du[t]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),Du[t]=e;var a=t.toLowerCase();for(Rf[a]=t,t==="onDoubleClick"&&(Rf.ondblclick=t),t=0;t<e.length;t++)dv.add(e[t])}function sc(t,e){hv[e.type]||e.onChange||e.onInput||e.readOnly||e.disabled||e.value==null||console.error(t==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),e.onChange||e.readOnly||e.disabled||e.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function cs(t){return Va.call(Xh,t)?!0:Va.call(By,t)?!1:Mf.test(t)?Xh[t]=!0:(By[t]=!0,console.error("Invalid attribute name: `%s`",t),!1)}function Eo(t,e,a){if(cs(e)){if(!t.hasAttribute(e)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return t=t.getAttribute(e),t===""&&a===!0?!0:(Ee(a,e),t===""+a?a:t)}}function td(t,e,a){if(cs(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}Ee(a,e),t.setAttribute(e,""+a)}}function os(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}Ee(a,e),t.setAttribute(e,""+a)}}function $n(t,e,a,i){if(i===null)t.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}Ee(i,a),t.setAttributeNS(e,a,""+i)}}function Oa(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return Fr(t),t;default:return""}}function ed(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function wm(t,e,a){var i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,f=i.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(d){Fr(d),a=""+d,f.call(this,d)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(d){Fr(d),a=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ld(t){if(!t._valueTracker){var e=ed(t)?"checked":"value";t._valueTracker=wm(t,e,""+t[e])}}function Nm(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),i="";return t&&(i=ed(t)?t.checked?"true":"false":t.value),t=i,t!==a?(e.setValue(t),!0):!1}function vn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Te(t){return t.replace(Lh,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Il(t,e){e.checked===void 0||e.defaultChecked===void 0||mv||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Yu()||"A component",e.type),mv=!0),e.value===void 0||e.defaultValue===void 0||qy||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Yu()||"A component",e.type),qy=!0)}function Ei(t,e,a,i,o,f,d,h){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(Ee(d,"type"),t.type=d):t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Oa(e)):t.value!==""+Oa(e)&&(t.value=""+Oa(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?Bm(t,d,Oa(e)):a!=null?Bm(t,d,Oa(a)):i!=null&&t.removeAttribute("value"),o==null&&f!=null&&(t.defaultChecked=!!f),o!=null&&(t.checked=o&&typeof o!="function"&&typeof o!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(Ee(h,"name"),t.name=""+Oa(h)):t.removeAttribute("name")}function ad(t,e,a,i,o,f,d,h){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(Ee(f,"type"),t.type=f),e!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){ld(t);return}a=a!=null?""+Oa(a):"",e=e!=null?""+Oa(e):a,h||e===t.value||(t.value=e),t.defaultValue=e}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=h?t.checked:!!i,t.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(Ee(d,"name"),t.name=d),ld(t)}function Bm(t,e,a){e==="number"&&vn(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Z0(t,e){e.value==null&&(typeof e.children=="object"&&e.children!==null?yr.Children.forEach(e.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||l||(l=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):e.dangerouslySetInnerHTML==null||n||(n=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),e.selected==null||Ar||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ar=!0)}function qm(){var t=Yu();return t?`
|
|
58
|
+
|
|
59
|
+
Check the render method of \``+t+"`.":""}function kn(t,e,a,i){if(t=t.options,e){e={};for(var o=0;o<a.length;o++)e["$"+a[o]]=!0;for(a=0;a<t.length;a++)o=e.hasOwnProperty("$"+t[a].value),t[a].selected!==o&&(t[a].selected=o),o&&i&&(t[a].defaultSelected=!0)}else{for(a=""+Oa(a),e=null,o=0;o<t.length;o++){if(t[o].value===a){t[o].selected=!0,i&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function nd(t,e){for(t=0;t<c.length;t++){var a=c[t];if(e[a]!=null){var i=fl(e[a]);e.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,qm()):!e.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,qm())}}e.value===void 0||e.defaultValue===void 0||u||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),u=!0)}function rc(t,e){e.value===void 0||e.defaultValue===void 0||s||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Yu()||"A component"),s=!0),e.children!=null&&e.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function dc(t,e,a){if(e!=null&&(e=""+Oa(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+Oa(a):""}function To(t,e,a,i){if(e==null){if(i!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(fl(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}a=i}a==null&&(a=""),e=a}a=Oa(e),t.defaultValue=a,i=t.textContent,i===a&&i!==""&&i!==null&&(t.value=i),ld(t)}function hc(t,e){return t.serverProps===void 0&&t.serverTail.length===0&&t.children.length===1&&3<t.distanceFromLeaf&&t.distanceFromLeaf>15-e?hc(t.children[0],e):t}function me(t){return" "+" ".repeat(t)}function mc(t){return"+ "+" ".repeat(t)}function Ti(t){return"- "+" ".repeat(t)}function Ai(t){switch(t.tag){case 26:case 27:case 5:return t.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return t=t.type,t.displayName||t.name||null;case 11:return t=t.type.render,t.displayName||t.name||null;case 1:return t=t.type,t.displayName||t.name||null;default:return null}}function Fn(t,e){return r.test(t)?(t=JSON.stringify(t),t.length>e-2?8>e?'{"..."}':"{"+t.slice(0,e-7)+'..."}':"{"+t+"}"):t.length>e?5>e?'{"..."}':t.slice(0,e-3)+"...":t}function ud(t,e,a){var i=120-2*a;if(e===null)return mc(a)+Fn(t,i)+`
|
|
60
|
+
`;if(typeof e=="string"){for(var o=0;o<e.length&&o<t.length&&e.charCodeAt(o)===t.charCodeAt(o);o++);return o>i-8&&10<o&&(t="..."+t.slice(o-8),e="..."+e.slice(o-8)),mc(a)+Fn(t,i)+`
|
|
61
|
+
`+Ti(a)+Fn(e,i)+`
|
|
62
|
+
`}return me(a)+Fn(t,i)+`
|
|
63
|
+
`}function id(t){return Object.prototype.toString.call(t).replace(/^\[object (.*)\]$/,function(e,a){return a})}function Ao(t,e){switch(typeof t){case"string":return t=JSON.stringify(t),t.length>e?5>e?'"..."':t.slice(0,e-4)+'..."':t;case"object":if(t===null)return"null";if(fl(t))return"[...]";if(t.$$typeof===rn)return(e=ut(t.type))?"<"+e+">":"<...>";var a=id(t);if(a==="Object"){a="",e-=2;for(var i in t)if(t.hasOwnProperty(i)){var o=JSON.stringify(i);if(o!=='"'+i+'"'&&(i=o),e-=i.length-2,o=Ao(t[i],15>e?e:15),e-=o.length,0>e){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+i+":"+o}return"{"+a+"}"}return a;case"function":return(e=t.displayName||t.name)?"function "+e:"function";default:return String(t)}}function zo(t,e){return typeof t!="string"||r.test(t)?"{"+Ao(t,e-2)+"}":t.length>e-2?5>e?'"..."':'"'+t.slice(0,e-5)+'..."':'"'+t+'"'}function Do(t,e,a){var i=120-a.length-t.length,o=[],f;for(f in e)if(e.hasOwnProperty(f)&&f!=="children"){var d=zo(e[f],120-a.length-f.length-1);i-=f.length+d.length+2,o.push(f+"="+d)}return o.length===0?a+"<"+t+`>
|
|
64
|
+
`:0<i?a+"<"+t+" "+o.join(" ")+`>
|
|
65
|
+
`:a+"<"+t+`
|
|
66
|
+
`+a+" "+o.join(`
|
|
67
|
+
`+a+" ")+`
|
|
68
|
+
`+a+`>
|
|
69
|
+
`}function cd(t,e,a){var i="",o=Xt({},e),f;for(f in t)if(t.hasOwnProperty(f)){delete o[f];var d=120-2*a-f.length-2,h=Ao(t[f],d);e.hasOwnProperty(f)?(d=Ao(e[f],d),i+=mc(a)+f+": "+h+`
|
|
70
|
+
`,i+=Ti(a)+f+": "+d+`
|
|
71
|
+
`):i+=mc(a)+f+": "+h+`
|
|
72
|
+
`}for(var g in o)o.hasOwnProperty(g)&&(t=Ao(o[g],120-2*a-g.length-2),i+=Ti(a)+g+": "+t+`
|
|
73
|
+
`);return i}function Lu(t,e,a,i){var o="",f=new Map;for(S in a)a.hasOwnProperty(S)&&f.set(S.toLowerCase(),S);if(f.size===1&&f.has("children"))o+=Do(t,e,me(i));else{for(var d in e)if(e.hasOwnProperty(d)&&d!=="children"){var h=120-2*(i+1)-d.length-1,g=f.get(d.toLowerCase());if(g!==void 0){f.delete(d.toLowerCase());var S=e[d];g=a[g];var U=zo(S,h);h=zo(g,h),typeof S=="object"&&S!==null&&typeof g=="object"&&g!==null&&id(S)==="Object"&&id(g)==="Object"&&(2<Object.keys(S).length||2<Object.keys(g).length||-1<U.indexOf("...")||-1<h.indexOf("..."))?o+=me(i+1)+d+`={{
|
|
74
|
+
`+cd(S,g,i+2)+me(i+1)+`}}
|
|
75
|
+
`:(o+=mc(i+1)+d+"="+U+`
|
|
76
|
+
`,o+=Ti(i+1)+d+"="+h+`
|
|
77
|
+
`)}else o+=me(i+1)+d+"="+zo(e[d],h)+`
|
|
78
|
+
`}f.forEach(function(x){if(x!=="children"){var z=120-2*(i+1)-x.length-1;o+=Ti(i+1)+x+"="+zo(a[x],z)+`
|
|
79
|
+
`}}),o=o===""?me(i)+"<"+t+`>
|
|
80
|
+
`:me(i)+"<"+t+`
|
|
81
|
+
`+o+me(i)+`>
|
|
82
|
+
`}return t=a.children,e=e.children,typeof t=="string"||typeof t=="number"||typeof t=="bigint"?(f="",(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(f=""+e),o+=ud(f,""+t,i+1)):(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(o=t==null?o+ud(""+e,null,i+1):o+ud(""+e,void 0,i+1)),o}function _a(t,e){var a=Ai(t);if(a===null){for(a="",t=t.child;t;)a+=_a(t,e),t=t.sibling;return a}return me(e)+"<"+a+`>
|
|
83
|
+
`}function od(t,e){var a=hc(t,e);if(a!==t&&(t.children.length!==1||t.children[0]!==a))return me(e)+`...
|
|
84
|
+
`+od(a,e+1);a="";var i=t.fiber._debugInfo;if(i)for(var o=0;o<i.length;o++){var f=i[o].name;typeof f=="string"&&(a+=me(e)+"<"+f+`>
|
|
85
|
+
`,e++)}if(i="",o=t.fiber.pendingProps,t.fiber.tag===6)i=ud(o,t.serverProps,e),e++;else if(f=Ai(t.fiber),f!==null)if(t.serverProps===void 0){i=e;var d=120-2*i-f.length-2,h="";for(S in o)if(o.hasOwnProperty(S)&&S!=="children"){var g=zo(o[S],15);if(d-=S.length+g.length+2,0>d){h+=" ...";break}h+=" "+S+"="+g}i=me(i)+"<"+f+h+`>
|
|
86
|
+
`,e++}else t.serverProps===null?(i=Do(f,o,mc(e)),e++):typeof t.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(i=Lu(f,o,t.serverProps,e),e++);var S="";for(o=t.fiber.child,f=0;o&&f<t.children.length;)d=t.children[f],d.fiber===o?(S+=od(d,e),f++):S+=_a(o,e),o=o.sibling;for(o&&0<t.children.length&&(S+=me(e)+`...
|
|
87
|
+
`),o=t.serverTail,t.serverProps===null&&e--,t=0;t<o.length;t++)f=o[t],S=typeof f=="string"?S+(Ti(e)+Fn(f,120-2*e)+`
|
|
88
|
+
`):S+Do(f.type,f.props,Ti(e));return a+i+S}function jm(t){try{return`
|
|
89
|
+
|
|
90
|
+
`+od(t,0)}catch{return""}}function fd(t,e,a){for(var i=e,o=null,f=0;i;)i===t&&(f=0),o={fiber:i,children:o!==null?[o]:[],serverProps:i===e?a:i===t?null:void 0,serverTail:[],distanceFromLeaf:f},f++,i=i.return;return o!==null?jm(o).replaceAll(/^[+-]/gm,">"):""}function Ym(t,e){var a=Xt({},t||Q),i={tag:e};return E.indexOf(e)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),O.indexOf(e)!==-1&&(a.pTagInButtonScope=null),p.indexOf(e)!==-1&&e!=="address"&&e!=="div"&&e!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,e==="form"&&(a.formTag=i),e==="a"&&(a.aTagInScope=i),e==="button"&&(a.buttonTagInScope=i),e==="nobr"&&(a.nobrTagInScope=i),e==="p"&&(a.pTagInButtonScope=i),e==="li"&&(a.listItemTagAutoclosing=i),(e==="dd"||e==="dt")&&(a.dlItemTagAutoclosing=i),e==="#document"||e==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=i),t!==null||e!=="#document"&&e!=="html"&&e!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function fs(t,e,a){switch(e){case"select":return t==="hr"||t==="option"||t==="optgroup"||t==="script"||t==="template"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":if(a)break;return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":if(!a)return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return e!=="h1"&&e!=="h2"&&e!=="h3"&&e!=="h4"&&e!=="h5"&&e!=="h6";case"rp":case"rt":return q.indexOf(e)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return e==null;case"head":return a||e===null;case"html":return a&&e==="#document"||e===null;case"body":return a&&(e==="#document"||e==="html")||e===null}return!0}function R1(t,e){switch(t){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return e.pTagInButtonScope;case"form":return e.formTag||e.pTagInButtonScope;case"li":return e.listItemTagAutoclosing;case"dd":case"dt":return e.dlItemTagAutoclosing;case"button":return e.buttonTagInScope;case"a":return e.aTagInScope;case"nobr":return e.nobrTagInScope}return null}function Ra(t,e){for(;t;){switch(t.tag){case 5:case 26:case 27:if(t.type===e)return t}t=t.return}return null}function ss(t,e){e=e||Q;var a=e.current;if(e=(a=fs(t,a&&a.tag,e.implicitRootScope)?null:a)?null:R1(t,e),e=a||e,!e)return!0;var i=e.tag;if(e=String(!!a)+"|"+t+"|"+i,K[e])return!1;K[e]=!0;var o=(e=za)?Ra(e.return,i):null,f=e!==null&&o!==null?fd(o,e,null):"",d="<"+t+">";return a?(a="",i==="table"&&t==="tr"&&(a+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
91
|
+
This will cause a hydration error.%s`,d,i,a,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
92
|
+
This will cause a hydration error.%s`,d,i,f),e&&(t=e.return,o===null||t===null||o===t&&t._debugOwner===e._debugOwner||rt(o,function(){console.error(`<%s> cannot contain a nested %s.
|
|
93
|
+
See this log for the ancestor stack trace.`,i,d)})),!1}function rs(t,e,a){if(a||fs("#text",e,!1))return!0;if(a="#text|"+e,K[a])return!1;K[a]=!0;var i=(a=za)?Ra(a,e):null;return a=a!==null&&i!==null?fd(i,a,a.tag!==6?{children:null}:null):"",/\S/.test(t)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
94
|
+
This will cause a hydration error.%s`,e,a):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
95
|
+
This will cause a hydration error.%s`,e,a),!1}function pc(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}function Oo(t){return t.replace(N,function(e,a){return a.toUpperCase()})}function Gm(t,e,a){var i=e.indexOf("--")===0;i||(-1<e.indexOf("-")?B.hasOwnProperty(e)&&B[e]||(B[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,Oo(e.replace(Oe,"ms-")))):At.test(e)?B.hasOwnProperty(e)&&B[e]||(B[e]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1))):!C.test(a)||J.hasOwnProperty(a)&&J[a]||(J[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,a.replace(C,""))),typeof a=="number"&&(isNaN(a)?yt||(yt=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",e)):isFinite(a)||ce||(ce=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",e)))),a==null||typeof a=="boolean"||a===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,a):typeof a!="number"||a===0||mt.has(e)?e==="float"?t.cssFloat=a:(Mm(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function Xm(t,e,a){if(e!=null&&typeof e!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(e&&Object.freeze(e),t=t.style,a!=null){if(e){var i={};if(a){for(var o in a)if(a.hasOwnProperty(o)&&!e.hasOwnProperty(o))for(var f=j[o]||[o],d=0;d<f.length;d++)i[f[d]]=o}for(var h in e)if(e.hasOwnProperty(h)&&(!a||a[h]!==e[h]))for(o=j[h]||[h],f=0;f<o.length;f++)i[o[f]]=h;h={};for(var g in e)for(o=j[g]||[g],f=0;f<o.length;f++)h[o[f]]=g;g={};for(var S in i)if(o=i[S],(f=h[S])&&o!==f&&(d=o+","+f,!g[d])){g[d]=!0,d=console;var U=e[o];d.error.call(d,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",U==null||typeof U=="boolean"||U===""?"Removing":"Updating",o,f)}}for(var x in a)!a.hasOwnProperty(x)||e!=null&&e.hasOwnProperty(x)||(x.indexOf("--")===0?t.setProperty(x,""):x==="float"?t.cssFloat="":t[x]="");for(var z in e)S=e[z],e.hasOwnProperty(z)&&a[z]!==S&&Gm(t,z,S)}else for(i in e)e.hasOwnProperty(i)&&Gm(t,i,e[i])}function Wn(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function J0(t){return se.get(t)||t}function K0(t,e){if(Va.call(Vh,e)&&Vh[e])return!0;if(l3.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=pv.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),Vh[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),Vh[e]=!0}if(e3.test(e)){if(t=e.toLowerCase(),t=pv.hasOwnProperty(t)?t:null,t==null)return Vh[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),Vh[e]=!0)}return!0}function $0(t,e){var a=[],i;for(i in e)K0(t,i)||a.push(i);e=a.map(function(o){return"`"+o+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t)}function Lm(t,e,a,i){if(Va.call(Qa,e)&&Qa[e])return!0;var o=e.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Qa[e]=!0;if(typeof a=="function"&&(t==="form"&&e==="action"||t==="input"&&e==="formAction"||t==="button"&&e==="formAction"))return!0;if(i!=null){if(t=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(e))return!0;if(i=t.hasOwnProperty(o)?t[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",e,i),Qa[e]=!0;if(t2.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),Qa[e]=!0}else if(t2.test(e))return a3.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),Qa[e]=!0;if(n3.test(e)||u3.test(e))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Qa[e]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Qa[e]=!0;if(o==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),Qa[e]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",e),Qa[e]=!0;if(Xn.hasOwnProperty(o)){if(o=Xn[o],o!==e)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",e,o),Qa[e]=!0}else if(e!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",e,o),Qa[e]=!0;switch(e){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof a){case"boolean":switch(e){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return o=e.toLowerCase().slice(0,5),o==="data-"||o==="aria-"?!0:(a?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,e,e,a,e):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,e,e,a,e,e,e),Qa[e]=!0)}case"function":case"symbol":return Qa[e]=!0,!1;case"string":if(a==="false"||a==="true"){switch(e){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,e,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',e,a),Qa[e]=!0}}return!0}function M1(t,e,a){var i=[],o;for(o in e)Lm(t,o,e[o],a)||i.push(o);e=i.map(function(f){return"`"+f+"`"}).join(", "),i.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",e,t):1<i.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",e,t)}function ds(t){return i3.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Pa(){}function bn(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function sd(t){var e=yn(t);if(e&&(t=e.stateNode)){var a=t[ha]||null;t:switch(t=e.stateNode,e.type){case"input":if(Ei(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(Ee(e,"name"),a=a.querySelectorAll('input[name="'+Te(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var i=a[e];if(i!==t&&i.form===t.form){var o=i[ha]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ei(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(e=0;e<a.length;e++)i=a[e],i.form===t.form&&Nm(i)}break t;case"textarea":dc(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&kn(t,!!a.multiple,e,!1)}}}function rd(t,e,a){if(V1)return t(e,a);V1=!0;try{var i=t(e);return i}finally{if(V1=!1,(Qh!==null||Zh!==null)&&(Ga(),Qh&&(e=Qh,t=Zh,Zh=Qh=null,sd(e),t)))for(e=0;e<t.length;e++)sd(t[e])}}function In(t,e){var a=t.stateNode;if(a===null)return null;var i=a[ha]||null;if(i===null)return null;a=i[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error("Expected `"+e+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function yc(){if(yv)return yv;var t,e=Z1,a=e.length,i,o="value"in Uf?Uf.value:Uf.textContent,f=o.length;for(t=0;t<a&&e[t]===o[t];t++);var d=a-t;for(i=1;i<=d&&e[a-i]===o[f-i];i++);return yv=o.slice(t,1<i?1-i:void 0)}function hs(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function _o(){return!0}function Vm(){return!1}function El(t){function e(a,i,o,f,d){this._reactName=a,this._targetInst=o,this.type=i,this.nativeEvent=f,this.target=d,this.currentTarget=null;for(var h in t)t.hasOwnProperty(h)&&(a=t[h],this[h]=a?a(f):f[h]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?_o:Vm,this.isPropagationStopped=Vm,this}return Xt(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=_o)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=_o)},persist:function(){},isPersistent:_o}),e}function Vu(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=b3[t])?!!e[t]:!1}function ms(){return Vu}function Ro(t,e){switch(t){case"keyup":return C3.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==n2;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qu(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}function Qm(t,e){switch(t){case"compositionend":return Qu(e);case"keypress":return e.which!==i2?null:(o2=!0,c2);case"textInput":return t=e.data,t===c2&&o2?null:t;default:return null}}function dd(t,e){if(Jh)return t==="compositionend"||!k1&&Ro(t,e)?(t=yc(),yv=Z1=Uf=null,Jh=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return u2&&e.locale!=="ko"?null:e.data;default:return null}}function Zm(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!H3[t.type]:e==="textarea"}function hd(t){if(!lc)return!1;t="on"+t;var e=t in document;return e||(e=document.createElement("div"),e.setAttribute(t,"return;"),e=typeof e[t]=="function"),e}function ps(t,e,a,i){Qh?Zh?Zh.push(i):Zh=[i]:Qh=i,e=Bn(e,"onChange"),0<e.length&&(a=new gv("onChange","change",null,a,i),t.push({event:a,listeners:e}))}function k0(t){ge(t,0)}function ql(t){var e=Si(t);if(Nm(e))return t}function zi(t,e){if(t==="change")return e}function ys(){Vy&&(Vy.detachEvent("onpropertychange",Mo),Qy=Vy=null)}function Mo(t){if(t.propertyName==="value"&&ql(Qy)){var e=[];ps(e,Qy,t,bn(t)),rd(k0,e)}}function U1(t,e,a){t==="focusin"?(ys(),Vy=e,Qy=a,Vy.attachEvent("onpropertychange",Mo)):t==="focusout"&&ys()}function Jm(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ql(Qy)}function Km(t,e){if(t==="click")return ql(e)}function gs(t,e){if(t==="input"||t==="change")return ql(e)}function md(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}function Uo(t,e){if(Za(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),i=Object.keys(e);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var o=a[i];if(!Va.call(e,o)||!Za(t[o],e[o]))return!1}return!0}function F0(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function W0(t,e){var a=F0(t);t=0;for(var i;a;){if(a.nodeType===3){if(i=t+a.textContent.length,t<=e&&i>=e)return{node:a,offset:e-t};t=i}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=F0(a)}}function I0(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?I0(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function pd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=vn(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=vn(t.document)}return e}function $m(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function P0(t,e,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;W1||Kh==null||Kh!==vn(i)||(i=Kh,"selectionStart"in i&&$m(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Zy&&Uo(Zy,i)||(Zy=i,i=Bn(F1,"onSelect"),0<i.length&&(e=new gv("onSelect","select",null,e,a),t.push({event:e,listeners:i}),e.target=Kh)))}function gc(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}function vc(t){if(I1[t])return I1[t];if(!$h[t])return t;var e=$h[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in s2)return I1[t]=e[a];return t}function Sn(t,e){p2.set(t,e),gn(e,[t])}function tg(t){for(var e=bv,a=0;a<t.length;a++){var i=t[a];if(typeof i=="object"&&i!==null)if(fl(i)&&i.length===2&&typeof i[0]=="string"){if(e!==bv&&e!==ab)return eb;e=ab}else return eb;else{if(typeof i=="function"||typeof i=="string"&&50<i.length||e!==bv&&e!==lb)return eb;e=lb}}return e}function km(t,e,a,i){for(var o in t)Va.call(t,o)&&o[0]!=="_"&&Pn(o,t[o],e,a,i)}function Pn(t,e,a,i,o){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===rn){var f=ut(e.type)||"…",d=e.key;e=e.props;var h=Object.keys(e),g=h.length;if(d==null&&g===0){e="<"+f+" />";break}if(3>i||g===1&&h[0]==="children"&&d==null){e="<"+f+" … />";break}a.push([o+" ".repeat(i)+t,"<"+f]),d!==null&&Pn("key",d,a,i+1,o),t=!1;for(var S in e)S==="children"?e.children!=null&&(!fl(e.children)||0<e.children.length)&&(t=!0):Va.call(e,S)&&S[0]!=="_"&&Pn(S,e[S],a,i+1,o);a.push(["",t?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(e),f=f.slice(8,f.length-1),f==="Array"){if(S=tg(e),S===lb||S===bv){e=JSON.stringify(e);break}else if(S===ab){for(a.push([o+" ".repeat(i)+t,""]),t=0;t<e.length;t++)f=e[t],Pn(f[0],f[1],a,i+1,o);return}}if(f==="Promise"){if(e.status==="fulfilled"){if(f=a.length,Pn(t,e.value,a,i,o),a.length>f){a=a[f],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(e.status==="rejected"&&(f=a.length,Pn(t,e.reason,a,i,o),a.length>f)){a=a[f],a[1]="Rejected Promise<"+a[1]+">";return}a.push([" ".repeat(i)+t,"Promise"]);return}f==="Object"&&(S=Object.getPrototypeOf(e))&&typeof S.constructor=="function"&&(f=S.constructor.name),a.push([o+" ".repeat(i)+t,f==="Object"?3>i?"":"…":f]),3>i&&km(e,a,i+1,o);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===G3?"…":JSON.stringify(e);break;case"undefined":e="undefined";break;case"boolean":e=e?"true":"false";break;default:e=String(e)}a.push([o+" ".repeat(i)+t,e])}function eg(t,e,a,i){var o=!0;for(d in t)d in e||(a.push([Sv+" ".repeat(i)+d,"…"]),o=!1);for(var f in e)if(f in t){var d=t[f],h=e[f];if(d!==h){if(i===0&&f==="children")o=" ".repeat(i)+f,a.push([Sv+o,"…"],[Ev+o,"…"]);else{if(!(3<=i)){if(typeof d=="object"&&typeof h=="object"&&d!==null&&h!==null&&d.$$typeof===h.$$typeof)if(h.$$typeof===rn){if(d.type===h.type&&d.key===h.key){d=ut(h.type)||"…",o=" ".repeat(i)+f,d="<"+d+" … />",a.push([Sv+o,d],[Ev+o,d]),o=!1;continue}}else{var g=Object.prototype.toString.call(d),S=Object.prototype.toString.call(h);if(g===S&&(S==="[object Object]"||S==="[object Array]")){g=[v2+" ".repeat(i)+f,S==="[object Array]"?"Array":""],a.push(g),S=a.length,eg(d,h,a,i+1)?S===a.length&&(g[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if(typeof d=="function"&&typeof h=="function"&&d.name===h.name&&d.length===h.length&&(g=Function.prototype.toString.call(d),S=Function.prototype.toString.call(h),g===S)){d=h.name===""?"() => {}":h.name+"() {}",a.push([v2+" ".repeat(i)+f,d+" Referentially unequal function closure. Consider memoization."]);continue}}Pn(f,d,a,i,Sv),Pn(f,h,a,i,Ev)}o=!1}}else a.push([Ev+" ".repeat(i)+f,"…"]),o=!1;return o}function En(t){ue=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function tn(t,e,a,i){Xe&&(xf.start=e,xf.end=a,ao.color="warning",ao.tooltipText=i,ao.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,i,xf)):performance.measure(i,xf))}function yd(t,e,a){tn(t,e,a,"Reconnect")}function gd(t,e,a,i,o){var f=ct(t);if(f!==null&&Xe){var d=t.alternate,h=t.actualDuration;if(d===null||d.child!==t.child)for(var g=t.child;g!==null;g=g.sibling)h-=g.actualDuration;i=.5>h?i?"tertiary-light":"primary-light":10>h?i?"tertiary":"primary":100>h?i?"tertiary-dark":"primary-dark":"error";var S=t.memoizedProps;h=t._debugTask,S!==null&&d!==null&&d.memoizedProps!==S?(g=[X3],S=eg(d.memoizedProps,S,g,0),1<g.length&&(S&&!Cf&&(d.lanes&o)===0&&100<t.actualDuration?(Cf=!0,g[0]=L3,ao.color="warning",ao.tooltipText=b2):(ao.color=i,ao.tooltipText=f),ao.properties=g,xf.start=e,xf.end=a,h!=null?h.run(performance.measure.bind(performance,""+f,xf)):performance.measure(""+f,xf))):h!=null?h.run(console.timeStamp.bind(console,f,e,a,Ou,void 0,i)):console.timeStamp(f,e,a,Ou,void 0,i)}}function Fm(t,e,a,i){if(Xe){var o=ct(t);if(o!==null){for(var f=null,d=[],h=0;h<i.length;h++){var g=i[h];f==null&&g.source!==null&&(f=g.source._debugTask),g=g.value,d.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}t.key!==null&&Pn("key",t.key,d,0,""),t.memoizedProps!==null&&km(t.memoizedProps,d,0,""),f==null&&(f=t._debugTask),t={start:e,end:a,detail:{devtools:{color:"error",track:Ou,tooltipText:t.tag===13?"Hydration failed":"Error boundary caught an error",properties:d}}},f?f.run(performance.measure.bind(performance,""+o,t)):performance.measure(""+o,t)}}}function Tn(t,e,a,i,o){if(o!==null){if(Xe){var f=ct(t);if(f!==null){i=[];for(var d=0;d<o.length;d++){var h=o[d].value;i.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}t.key!==null&&Pn("key",t.key,i,0,""),t.memoizedProps!==null&&km(t.memoizedProps,i,0,""),e={start:e,end:a,detail:{devtools:{color:"error",track:Ou,tooltipText:"A lifecycle or effect errored",properties:i}}},(t=t._debugTask)?t.run(performance.measure.bind(performance,""+f,e)):performance.measure(""+f,e)}}}else f=ct(t),f!==null&&Xe&&(o=1>i?"secondary-light":100>i?"secondary":500>i?"secondary-dark":"error",(t=t._debugTask)?t.run(console.timeStamp.bind(console,f,e,a,Ou,void 0,o)):console.timeStamp(f,e,a,Ou,void 0,o))}function C1(t,e,a,i){if(Xe&&!(e<=t)){var o=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",i?i.run(console.timeStamp.bind(console,a,t,e,ue,ae,o)):console.timeStamp(a,t,e,ue,ae,o)}}function lg(t,e,a,i){!Xe||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Prewarm",t,e,ue,ae,a)):console.timeStamp("Prewarm",t,e,ue,ae,a))}function ag(t,e,a,i){!Xe||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Suspended",t,e,ue,ae,a)):console.timeStamp("Suspended",t,e,ue,ae,a))}function x1(t,e,a,i,o,f){if(Xe&&!(e<=t)){a=[];for(var d=0;d<i.length;d++){var h=i[d].value;a.push(["Recoverable Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}t={start:t,end:e,detail:{devtools:{color:"primary-dark",track:ue,trackGroup:ae,tooltipText:o?"Hydration Failed":"Recovered after Error",properties:a}}},f?f.run(performance.measure.bind(performance,"Recovered",t)):performance.measure("Recovered",t)}}function Wm(t,e,a,i){!Xe||e<=t||(i?i.run(console.timeStamp.bind(console,"Errored",t,e,ue,ae,"error")):console.timeStamp("Errored",t,e,ue,ae,"error"))}function H1(t,e,a,i){!Xe||e<=t||(i?i.run(console.timeStamp.bind(console,a,t,e,ue,ae,"secondary-light")):console.timeStamp(a,t,e,ue,ae,"secondary-light"))}function ng(t,e,a,i,o){if(Xe&&!(e<=t)){for(var f=[],d=0;d<a.length;d++){var h=a[d].value;f.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}t={start:t,end:e,detail:{devtools:{color:"error",track:ue,trackGroup:ae,tooltipText:i?"Remaining Effects Errored":"Commit Errored",properties:f}}},o?o.run(performance.measure.bind(performance,"Errored",t)):performance.measure("Errored",t)}}function Im(t,e,a){!Xe||e<=t||console.timeStamp("Animating",t,e,ue,ae,"secondary-dark")}function vd(){for(var t=kh,e=nb=kh=0;e<t;){var a=_u[e];_u[e++]=null;var i=_u[e];_u[e++]=null;var o=_u[e];_u[e++]=null;var f=_u[e];if(_u[e++]=null,i!==null&&o!==null){var d=i.pending;d===null?o.next=o:(o.next=d.next,d.next=o),i.pending=o}f!==0&&Pm(a,o,f)}}function Co(t,e,a,i){_u[kh++]=t,_u[kh++]=e,_u[kh++]=a,_u[kh++]=i,nb|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function bc(t,e,a,i){return Co(t,e,a,i),vs(t)}function Vl(t,e){return Co(t,null,null,e),vs(t)}function Pm(t,e,a){t.lanes|=a;var i=t.alternate;i!==null&&(i.lanes|=a);for(var o=!1,f=t.return;f!==null;)f.childLanes|=a,i=f.alternate,i!==null&&(i.childLanes|=a),f.tag===22&&(t=f.stateNode,t===null||t._visibility&Jy||(o=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,o&&e!==null&&(o=31-Yl(a),t=f.hiddenUpdates,i=t[o],i===null?t[o]=[e]:i.push(e),e.lane=a|536870912),f):null}function vs(t){if(b0>nz)throw Gr=b0=0,S0=qb=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Gr>uz&&(Gr=0,S0=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),t.alternate===null&&(t.flags&4098)!==0&&sn(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&sn(t),e=a,a=e.return;return e.tag===3?e.stateNode:null}function Di(t){if(Ru===null)return t;var e=Ru(t);return e===void 0?t:e.current}function bd(t){if(Ru===null)return t;var e=Ru(t);return e===void 0?t!=null&&typeof t.render=="function"&&(e=Di(t.render),t.render!==e)?(e={$$typeof:bf,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function tp(t,e){if(Ru===null)return!1;var a=t.elementType;e=e.type;var i=!1,o=typeof e=="object"&&e!==null?e.$$typeof:null;switch(t.tag){case 1:typeof e=="function"&&(i=!0);break;case 0:(typeof e=="function"||o===Jl)&&(i=!0);break;case 11:(o===bf||o===Jl)&&(i=!0);break;case 14:case 15:(o===vr||o===Jl)&&(i=!0);break;default:return!1}return!!(i&&(t=Ru(a),t!==void 0&&t===Ru(e)))}function Sc(t){Ru!==null&&typeof WeakSet=="function"&&(Fh===null&&(Fh=new WeakSet),Fh.add(t))}function ug(t,e,a){do{var i=t,o=i.alternate,f=i.child,d=i.sibling,h=i.tag;i=i.type;var g=null;switch(h){case 0:case 15:case 1:g=i;break;case 11:g=i.render}if(Ru===null)throw Error("Expected resolveFamily to be set during hot reload.");var S=!1;if(i=!1,g!==null&&(g=Ru(g),g!==void 0&&(a.has(g)?i=!0:e.has(g)&&(h===1?i=!0:S=!0))),Fh!==null&&(Fh.has(t)||o!==null&&Fh.has(o))&&(i=!0),i&&(t._debugNeedsRemount=!0),(i||S)&&(o=Vl(t,2),o!==null&&Rt(o,t,2)),f===null||i||ug(f,e,a),d===null)break;t=d}while(!0)}function w1(t,e,a,i){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,S2||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ep(t){return t=t.prototype,!(!t||!t.isReactComponent)}function tu(t,e){var a=t.alternate;switch(a===null?(a=st(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a._debugOwner=t._debugOwner,a._debugStack=t._debugStack,a._debugTask=t._debugTask,a._debugHookTypes=t._debugHookTypes,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a.selfBaseDuration=t.selfBaseDuration,a.treeBaseDuration=t.treeBaseDuration,a._debugInfo=t._debugInfo,a._debugNeedsRemount=t._debugNeedsRemount,a.tag){case 0:case 15:a.type=Di(t.type);break;case 1:a.type=Di(t.type);break;case 11:a.type=bd(t.type)}return a}function lp(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},t.selfBaseDuration=a.selfBaseDuration,t.treeBaseDuration=a.treeBaseDuration),t}function Ec(t,e,a,i,o,f){var d=0,h=t;if(typeof t=="function")ep(t)&&(d=1),h=Di(h);else if(typeof t=="string")d=$(),d=tv(t,a,d)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Gn:return e=st(31,a,e,o),e.elementType=Gn,e.lanes=f,e;case vf:return Tc(a.children,o,f,e);case da:d=8,o|=Da,o|=ri;break;case gr:return t=a,i=o,typeof t.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id),e=st(12,t,e,i|Lt),e.elementType=gr,e.lanes=f,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case Ic:return e=st(13,a,e,o),e.elementType=Ic,e.lanes=f,e;case Aa:return e=st(19,a,e,o),e.elementType=Aa,e.lanes=f,e;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Yn:d=10;break t;case Ch:d=9;break t;case bf:d=11,h=bd(h);break t;case vr:d=14;break t;case Jl:d=16,h=null;break t}h="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),t===null?a="null":fl(t)?a="array":t!==void 0&&t.$$typeof===rn?(a="<"+(ut(t.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,(d=i?Jt(i):null)&&(h+=`
|
|
96
|
+
|
|
97
|
+
Check the render method of \``+d+"`."),d=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+h)),h=null}return e=st(d,a,e,o),e.elementType=t,e.type=h,e.lanes=f,e._debugOwner=i,e}function Oi(t,e,a){return e=Ec(t.type,t.key,t.props,t._owner,e,a),e._debugOwner=t._owner,e._debugStack=t._debugStack,e._debugTask=t._debugTask,e}function Tc(t,e,a,i){return t=st(7,t,i,e),t.lanes=a,t}function xo(t,e,a){return t=st(6,t,null,e),t.lanes=a,t}function ap(t){var e=st(18,null,null,Ot);return e.stateNode=t,e}function Sd(t,e,a){return e=st(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Pl(t,e){if(typeof t=="object"&&t!==null){var a=ub.get(t);return a!==void 0?a:(e={value:t,source:e,stack:as(e)},ub.set(t,e),e)}return{value:t,source:e,stack:as(e)}}function An(t,e){_i(),Wh[Ih++]=Ky,Wh[Ih++]=Tv,Tv=t,Ky=e}function np(t,e,a){_i(),Mu[Uu++]=uo,Mu[Uu++]=io,Mu[Uu++]=Dr,Dr=t;var i=uo;t=io;var o=32-Yl(i)-1;i&=~(1<<o),a+=1;var f=32-Yl(e)+o;if(30<f){var d=o-o%5;f=(i&(1<<d)-1).toString(32),i>>=d,o-=d,uo=1<<32-Yl(e)+o|a<<o|i,io=f+t}else uo=1<<f|a<<o|i,io=t}function Ed(t){_i(),t.return!==null&&(An(t,1),np(t,1,0))}function Td(t){for(;t===Tv;)Tv=Wh[--Ih],Wh[Ih]=null,Ky=Wh[--Ih],Wh[Ih]=null;for(;t===Dr;)Dr=Mu[--Uu],Mu[Uu]=null,io=Mu[--Uu],Mu[Uu]=null,uo=Mu[--Uu],Mu[Uu]=null}function ig(){return _i(),Dr!==null?{id:uo,overflow:io}:null}function cg(t,e){_i(),Mu[Uu++]=uo,Mu[Uu++]=io,Mu[Uu++]=Dr,uo=e.id,io=e.overflow,Dr=t}function _i(){Pt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Ac(t,e){if(t.return===null){if(Ln===null)Ln={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e};else{if(Ln.fiber!==t)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Ln.distanceFromLeaf>e&&(Ln.distanceFromLeaf=e)}return Ln}var a=Ac(t.return,e+1).children;return 0<a.length&&a[a.length-1].fiber===t?(a=a[a.length-1],a.distanceFromLeaf>e&&(a.distanceFromLeaf=e),a):(e={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e},a.push(e),e)}function og(){Pt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ql(t,e){ac||(t=Ac(t,0),t.serverProps=null,e!==null&&(e=Fg(e),t.serverTail.push(e)))}function en(t){var e=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",i=Ln;throw i!==null&&(Ln=null,a=jm(i)),Ss(Pl(Error("Hydration failed because the server rendered "+(e?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
98
|
+
|
|
99
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
100
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
101
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
102
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
103
|
+
- Invalid HTML tag nesting.
|
|
104
|
+
|
|
105
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
106
|
+
|
|
107
|
+
https://react.dev/link/hydration-mismatch`+a),t)),ib}function up(t){var e=t.stateNode,a=t.type,i=t.memoizedProps;switch(e[Ge]=t,e[ha]=i,sa(a,i),a){case"dialog":Dt("cancel",e),Dt("close",e);break;case"iframe":case"object":case"embed":Dt("load",e);break;case"video":case"audio":for(a=0;a<E0.length;a++)Dt(E0[a],e);break;case"source":Dt("error",e);break;case"img":case"image":case"link":Dt("error",e),Dt("load",e);break;case"details":Dt("toggle",e);break;case"input":sc("input",i),Dt("invalid",e),Il(e,i),ad(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"option":Z0(e,i);break;case"select":sc("select",i),Dt("invalid",e),nd(e,i);break;case"textarea":sc("textarea",i),Dt("invalid",e),rc(e,i),To(e,i.value,i.defaultValue,i.children)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||i.suppressHydrationWarning===!0||cy(e.textContent,a)?(i.popover!=null&&(Dt("beforetoggle",e),Dt("toggle",e)),i.onScroll!=null&&Dt("scroll",e),i.onScrollEnd!=null&&Dt("scrollend",e),i.onClick!=null&&(e.onclick=Pa),e=!0):e=!1,e||en(t,!0)}function ip(t){for(ma=t.return;ma;)switch(ma.tag){case 5:case 31:case 13:Cu=!1;return;case 27:case 3:Cu=!0;return;default:ma=ma.return}}function zc(t){if(t!==ma)return!1;if(!Pt)return ip(t),Pt=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||sf(t.type,t.memoizedProps)),a=!a),a&&Le){for(a=Le;a;){var i=Ac(t,0),o=Fg(a);i.serverTail.push(o),a=o.type==="Suspense"?hf(a):Xa(a.nextSibling)}en(t)}if(ip(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Le=hf(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Le=hf(t)}else e===27?(e=Le,Fi(t.type)?(t=kb,kb=null,Le=t):Le=e):Le=ma?Xa(t.stateNode.nextSibling):null;return!0}function Ri(){Le=ma=null,ac=Pt=!1}function bs(){var t=wf;return t!==null&&(ka===null?ka=t:ka.push.apply(ka,t),wf=null),t}function Ss(t){wf===null?wf=[t]:wf.push(t)}function Mi(){var t=Ln;if(t!==null){Ln=null;for(var e=jm(t);0<t.children.length;)t=t.children[0];rt(t.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
108
|
+
|
|
109
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
110
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
111
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
112
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
113
|
+
- Invalid HTML tag nesting.
|
|
114
|
+
|
|
115
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
116
|
+
|
|
117
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",e)})}}function Ho(){Ph=Av=null,tm=!1}function ln(t,e,a){ot(cb,e._currentValue,t),e._currentValue=a,ot(ob,e._currentRenderer,t),e._currentRenderer!==void 0&&e._currentRenderer!==null&&e._currentRenderer!==T2&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),e._currentRenderer=T2}function zn(t,e){t._currentValue=cb.current;var a=ob.current;Ut(ob,e),t._currentRenderer=a,Ut(cb,e)}function Ad(t,e,a){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===a)break;t=t.return}t!==a&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Zu(t,e,a,i){var o=t.child;for(o!==null&&(o.return=t);o!==null;){var f=o.dependencies;if(f!==null){var d=o.child;f=f.firstContext;t:for(;f!==null;){var h=f;f=o;for(var g=0;g<e.length;g++)if(h.context===e[g]){f.lanes|=a,h=f.alternate,h!==null&&(h.lanes|=a),Ad(f.return,a,t),i||(d=null);break t}f=h.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");d.lanes|=a,f=d.alternate,f!==null&&(f.lanes|=a),Ad(d,a,t),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===t){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function Dn(t,e,a,i){t=null;for(var o=e,f=!1;o!==null;){if(!f){if((o.flags&524288)!==0)f=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error("Should have a current fiber. This is a bug in React.");if(d=d.memoizedProps,d!==null){var h=o.type;Za(o.pendingProps.value,d.value)||(t!==null?t.push(h):t=[h])}}else if(o===tc.current){if(d=o.alternate,d===null)throw Error("Should have a current fiber. This is a bug in React.");d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(t!==null?t.push(O0):t=[O0])}o=o.return}t!==null&&Zu(e,t,a,i),e.flags|=262144}function wo(t){for(t=t.firstContext;t!==null;){if(!Za(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ui(t){Av=t,Ph=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function re(t){return tm&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),cp(Av,t)}function Es(t,e){return Av===null&&Ui(t),cp(t,e)}function cp(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},Ph===null){if(t===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Ph=e,t.dependencies={lanes:0,firstContext:e,_debugThenableState:null},t.flags|=524288}else Ph=Ph.next=e;return a}function zd(){return{controller:new Z3,data:new Map,refCount:0}}function Dc(t){t.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),t.refCount++}function Ts(t){t.refCount--,0>t.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),t.refCount===0&&J3(K3,function(){t.controller.abort()})}function eu(t,e,a){(t&127)!==0?0>nc&&(nc=Ul(),ky=zv(e),fb=e,a!=null&&(sb=ct(a)),(oe&(Ll|Zn))!==Fl&&(ul=!0,Bf=$y),t=rf(),e=Su(),t!==em||e!==Fy?em=-1.1:e!==null&&(Bf=$y),Rr=t,Fy=e):(t&4194048)!==0&&0>xu&&(xu=Ul(),Wy=zv(e),A2=e,a!=null&&(z2=ct(a)),0>so)&&(t=rf(),e=Su(),(t!==jf||e!==Mr)&&(jf=-1.1),qf=t,Mr=e)}function fg(t){if(0>nc){nc=Ul(),ky=t._debugTask!=null?t._debugTask:null,(oe&(Ll|Zn))!==Fl&&(Bf=$y);var e=rf(),a=Su();e!==em||a!==Fy?em=-1.1:a!==null&&(Bf=$y),Rr=e,Fy=a}0>xu&&(xu=Ul(),Wy=t._debugTask!=null?t._debugTask:null,0>so)&&(t=rf(),e=Su(),(t!==jf||e!==Mr)&&(jf=-1.1),qf=t,Mr=e)}function lu(){var t=Or;return Or=0,t}function No(t){var e=Or;return Or=t,e}function ta(t){var e=Or;return Or+=t,e}function Oc(){zt=bt=-1.1}function qe(){var t=bt;return bt=-1.1,t}function Tl(t){0<=t&&(bt=t)}function an(){var t=We;return We=-0,t}function Ma(t){0<=t&&(We=t)}function Ua(){var t=Ke;return Ke=null,t}function nn(){var t=ul;return ul=!1,t}function Ju(t){Ja=Ul(),0>t.actualStartTime&&(t.actualStartTime=Ja)}function Dd(t){if(0<=Ja){var e=Ul()-Ja;t.actualDuration+=e,t.selfBaseDuration=e,Ja=-1}}function As(t){if(0<=Ja){var e=Ul()-Ja;t.actualDuration+=e,Ja=-1}}function ea(){if(0<=Ja){var t=Ul(),e=t-Ja;Ja=-1,Or+=e,We+=e,zt=t}}function sg(t){Ke===null&&(Ke=[]),Ke.push(t),oo===null&&(oo=[]),oo.push(t)}function $e(){Ja=Ul(),0>bt&&(bt=Ja)}function _c(t){for(var e=t.child;e;)t.actualDuration+=e.actualDuration,e=e.sibling}function Ku(t,e){if(Py===null){var a=Py=[];db=0,Ur=iy(),lm={status:"pending",value:void 0,then:function(i){a.push(i)}}}return db++,e.then(op,op),e}function op(){if(--db===0&&(-1<xu||(so=-1.1),Py!==null)){lm!==null&&(lm.status="fulfilled");var t=Py;Py=null,Ur=0,lm=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Od(t,e){var a=[],i={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var o=0;o<a.length;o++)(0,a[o])(e)},function(o){for(i.status="rejected",i.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),i}function $u(){var t=Cr.current;return t!==null?t:He.pooledCache}function Bo(t,e){e===null?ot(Cr,Cr.current,t):ot(Cr,e.pool,t)}function fp(){var t=$u();return t===null?null:{parent:Ml._currentValue,pool:t}}function _d(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function sp(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Ca(t,e,a){X.actQueue!==null&&(X.didUsePromise=!0);var i=t.thenables;if(a=i[a],a===void 0?i.push(e):a!==e&&(t.didWarnAboutUncachedPromise||(t.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),e.then(Pa,Pa),e=a),e._debugInfo===void 0){t=performance.now(),i=e.displayName;var o={name:typeof i=="string"?i:"Promise",start:t,end:t,value:e};e._debugInfo=[{awaited:o}],e.status!=="fulfilled"&&e.status!=="rejected"&&(t=function(){o.end=performance.now()},e.then(t,t))}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,zs(t),t;default:if(typeof e.status=="string")e.then(Pa,Pa);else{if(t=He,t!==null&&100<t.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");t=e,t.status="pending",t.then(function(f){if(e.status==="pending"){var d=e;d.status="fulfilled",d.value=f}},function(f){if(e.status==="pending"){var d=e;d.status="rejected",d.reason=f}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,zs(t),t}throw Hr=e,i0=!0,am}}function xa(t){try{return I3(t)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Hr=e,i0=!0,am):e}}function Rc(){if(Hr===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var t=Hr;return Hr=null,i0=!1,t}function zs(t){if(t===am||t===xv)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function tl(t){var e=Vt;return t!=null&&(Vt=e===null?t:e.concat(t)),e}function ga(){var t=Vt;if(t!=null){for(var e=t.length-1;0<=e;e--)if(t[e].name!=null){var a=t[e].debugTask;if(a!=null)return a}}return null}function la(t,e,a){for(var i=Object.keys(t.props),o=0;o<i.length;o++){var f=i[o];if(f!=="children"&&f!=="key"){e===null&&(e=Oi(t,a.mode,0),e._debugInfo=Vt,e.return=a),rt(e,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d)},f);break}}}function On(t){var e=c0;return c0+=1,nm===null&&(nm=_d()),Ca(nm,t,e)}function va(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function _n(t,e){throw e.$$typeof===iv?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
118
|
+
- Multiple copies of the "react" package is used.
|
|
119
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
120
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(t=Object.prototype.toString.call(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead."))}function un(t,e){var a=ga();a!==null?a.run(_n.bind(null,t,e)):_n(t,e)}function rp(t,e){var a=ct(t)||"Component";Q2[a]||(Q2[a]=!0,e=e.displayName||e.name||"Component",t.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
121
|
+
root.render(%s)`,e,e,e):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
122
|
+
<%s>{%s}</%s>`,e,e,a,e,a))}function qo(t,e){var a=ga();a!==null?a.run(rp.bind(null,t,e)):rp(t,e)}function Rd(t,e){var a=ct(t)||"Component";Z2[a]||(Z2[a]=!0,e=String(e),t.tag===3?console.error(`Symbols are not valid as a React child.
|
|
123
|
+
root.render(%s)`,e):console.error(`Symbols are not valid as a React child.
|
|
124
|
+
<%s>%s</%s>`,a,e,a))}function Ds(t,e){var a=ga();a!==null?a.run(Rd.bind(null,t,e)):Rd(t,e)}function Al(t){function e(A,D){if(t){var R=A.deletions;R===null?(A.deletions=[D],A.flags|=16):R.push(D)}}function a(A,D){if(!t)return null;for(;D!==null;)e(A,D),D=D.sibling;return null}function i(A){for(var D=new Map;A!==null;)A.key!==null?D.set(A.key,A):D.set(A.index,A),A=A.sibling;return D}function o(A,D){return A=tu(A,D),A.index=0,A.sibling=null,A}function f(A,D,R){return A.index=R,t?(R=A.alternate,R!==null?(R=R.index,R<D?(A.flags|=67108866,D):R):(A.flags|=67108866,D)):(A.flags|=1048576,D)}function d(A){return t&&A.alternate===null&&(A.flags|=67108866),A}function h(A,D,R,Z){return D===null||D.tag!==6?(D=xo(R,A.mode,Z),D.return=A,D._debugOwner=A,D._debugTask=A._debugTask,D._debugInfo=Vt,D):(D=o(D,R),D.return=A,D._debugInfo=Vt,D)}function g(A,D,R,Z){var it=R.type;return it===vf?(D=U(A,D,R.props.children,Z,R.key),la(R,D,A),D):D!==null&&(D.elementType===it||tp(D,R)||typeof it=="object"&&it!==null&&it.$$typeof===Jl&&xa(it)===D.type)?(D=o(D,R.props),va(D,R),D.return=A,D._debugOwner=R._owner,D._debugInfo=Vt,D):(D=Oi(R,A.mode,Z),va(D,R),D.return=A,D._debugInfo=Vt,D)}function S(A,D,R,Z){return D===null||D.tag!==4||D.stateNode.containerInfo!==R.containerInfo||D.stateNode.implementation!==R.implementation?(D=Sd(R,A.mode,Z),D.return=A,D._debugInfo=Vt,D):(D=o(D,R.children||[]),D.return=A,D._debugInfo=Vt,D)}function U(A,D,R,Z,it){return D===null||D.tag!==7?(D=Tc(R,A.mode,Z,it),D.return=A,D._debugOwner=A,D._debugTask=A._debugTask,D._debugInfo=Vt,D):(D=o(D,R),D.return=A,D._debugInfo=Vt,D)}function x(A,D,R){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=xo(""+D,A.mode,R),D.return=A,D._debugOwner=A,D._debugTask=A._debugTask,D._debugInfo=Vt,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case rn:return R=Oi(D,A.mode,R),va(R,D),R.return=A,A=tl(D._debugInfo),R._debugInfo=Vt,Vt=A,R;case Ii:return D=Sd(D,A.mode,R),D.return=A,D._debugInfo=Vt,D;case Jl:var Z=tl(D._debugInfo);return D=xa(D),A=x(A,D,R),Vt=Z,A}if(fl(D)||ee(D))return R=Tc(D,A.mode,R,null),R.return=A,R._debugOwner=A,R._debugTask=A._debugTask,A=tl(D._debugInfo),R._debugInfo=Vt,Vt=A,R;if(typeof D.then=="function")return Z=tl(D._debugInfo),A=x(A,On(D),R),Vt=Z,A;if(D.$$typeof===Yn)return x(A,Es(A,D),R);un(A,D)}return typeof D=="function"&&qo(A,D),typeof D=="symbol"&&Ds(A,D),null}function z(A,D,R,Z){var it=D!==null?D.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return it!==null?null:h(A,D,""+R,Z);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case rn:return R.key===it?(it=tl(R._debugInfo),A=g(A,D,R,Z),Vt=it,A):null;case Ii:return R.key===it?S(A,D,R,Z):null;case Jl:return it=tl(R._debugInfo),R=xa(R),A=z(A,D,R,Z),Vt=it,A}if(fl(R)||ee(R))return it!==null?null:(it=tl(R._debugInfo),A=U(A,D,R,Z,null),Vt=it,A);if(typeof R.then=="function")return it=tl(R._debugInfo),A=z(A,D,On(R),Z),Vt=it,A;if(R.$$typeof===Yn)return z(A,D,Es(A,R),Z);un(A,R)}return typeof R=="function"&&qo(A,R),typeof R=="symbol"&&Ds(A,R),null}function Y(A,D,R,Z,it){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return A=A.get(R)||null,h(D,A,""+Z,it);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case rn:return R=A.get(Z.key===null?R:Z.key)||null,A=tl(Z._debugInfo),D=g(D,R,Z,it),Vt=A,D;case Ii:return A=A.get(Z.key===null?R:Z.key)||null,S(D,A,Z,it);case Jl:var Ht=tl(Z._debugInfo);return Z=xa(Z),D=Y(A,D,R,Z,it),Vt=Ht,D}if(fl(Z)||ee(Z))return R=A.get(R)||null,A=tl(Z._debugInfo),D=U(D,R,Z,it,null),Vt=A,D;if(typeof Z.then=="function")return Ht=tl(Z._debugInfo),D=Y(A,D,R,On(Z),it),Vt=Ht,D;if(Z.$$typeof===Yn)return Y(A,D,R,Es(D,Z),it);un(D,Z)}return typeof Z=="function"&&qo(D,Z),typeof Z=="symbol"&&Ds(D,Z),null}function nt(A,D,R,Z){if(typeof R!="object"||R===null)return Z;switch(R.$$typeof){case rn:case Ii:F(A,D,R);var it=R.key;if(typeof it!="string")break;if(Z===null){Z=new Set,Z.add(it);break}if(!Z.has(it)){Z.add(it);break}rt(D,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",it)});break;case Jl:R=xa(R),nt(A,D,R,Z)}return Z}function ft(A,D,R,Z){for(var it=null,Ht=null,vt=null,pt=D,Yt=D=0,Ve=null;pt!==null&&Yt<R.length;Yt++){pt.index>Yt?(Ve=pt,pt=null):Ve=pt.sibling;var Sl=z(A,pt,R[Yt],Z);if(Sl===null){pt===null&&(pt=Ve);break}it=nt(A,Sl,R[Yt],it),t&&pt&&Sl.alternate===null&&e(A,pt),D=f(Sl,D,Yt),vt===null?Ht=Sl:vt.sibling=Sl,vt=Sl,pt=Ve}if(Yt===R.length)return a(A,pt),Pt&&An(A,Yt),Ht;if(pt===null){for(;Yt<R.length;Yt++)pt=x(A,R[Yt],Z),pt!==null&&(it=nt(A,pt,R[Yt],it),D=f(pt,D,Yt),vt===null?Ht=pt:vt.sibling=pt,vt=pt);return Pt&&An(A,Yt),Ht}for(pt=i(pt);Yt<R.length;Yt++)Ve=Y(pt,A,Yt,R[Yt],Z),Ve!==null&&(it=nt(A,Ve,R[Yt],it),t&&Ve.alternate!==null&&pt.delete(Ve.key===null?Yt:Ve.key),D=f(Ve,D,Yt),vt===null?Ht=Ve:vt.sibling=Ve,vt=Ve);return t&&pt.forEach(function(bo){return e(A,bo)}),Pt&&An(A,Yt),Ht}function Ne(A,D,R,Z){if(R==null)throw Error("An iterable object provided no iterator.");for(var it=null,Ht=null,vt=D,pt=D=0,Yt=null,Ve=null,Sl=R.next();vt!==null&&!Sl.done;pt++,Sl=R.next()){vt.index>pt?(Yt=vt,vt=null):Yt=vt.sibling;var bo=z(A,vt,Sl.value,Z);if(bo===null){vt===null&&(vt=Yt);break}Ve=nt(A,bo,Sl.value,Ve),t&&vt&&bo.alternate===null&&e(A,vt),D=f(bo,D,pt),Ht===null?it=bo:Ht.sibling=bo,Ht=bo,vt=Yt}if(Sl.done)return a(A,vt),Pt&&An(A,pt),it;if(vt===null){for(;!Sl.done;pt++,Sl=R.next())vt=x(A,Sl.value,Z),vt!==null&&(Ve=nt(A,vt,Sl.value,Ve),D=f(vt,D,pt),Ht===null?it=vt:Ht.sibling=vt,Ht=vt);return Pt&&An(A,pt),it}for(vt=i(vt);!Sl.done;pt++,Sl=R.next())Yt=Y(vt,A,pt,Sl.value,Z),Yt!==null&&(Ve=nt(A,Yt,Sl.value,Ve),t&&Yt.alternate!==null&&vt.delete(Yt.key===null?pt:Yt.key),D=f(Yt,D,pt),Ht===null?it=Yt:Ht.sibling=Yt,Ht=Yt);return t&&vt.forEach(function(Tz){return e(A,Tz)}),Pt&&An(A,pt),it}function ne(A,D,R,Z){if(typeof R=="object"&&R!==null&&R.type===vf&&R.key===null&&(la(R,null,A),R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case rn:var it=tl(R._debugInfo);t:{for(var Ht=R.key;D!==null;){if(D.key===Ht){if(Ht=R.type,Ht===vf){if(D.tag===7){a(A,D.sibling),Z=o(D,R.props.children),Z.return=A,Z._debugOwner=R._owner,Z._debugInfo=Vt,la(R,Z,A),A=Z;break t}}else if(D.elementType===Ht||tp(D,R)||typeof Ht=="object"&&Ht!==null&&Ht.$$typeof===Jl&&xa(Ht)===D.type){a(A,D.sibling),Z=o(D,R.props),va(Z,R),Z.return=A,Z._debugOwner=R._owner,Z._debugInfo=Vt,A=Z;break t}a(A,D);break}else e(A,D);D=D.sibling}R.type===vf?(Z=Tc(R.props.children,A.mode,Z,R.key),Z.return=A,Z._debugOwner=A,Z._debugTask=A._debugTask,Z._debugInfo=Vt,la(R,Z,A),A=Z):(Z=Oi(R,A.mode,Z),va(Z,R),Z.return=A,Z._debugInfo=Vt,A=Z)}return A=d(A),Vt=it,A;case Ii:t:{for(it=R,R=it.key;D!==null;){if(D.key===R)if(D.tag===4&&D.stateNode.containerInfo===it.containerInfo&&D.stateNode.implementation===it.implementation){a(A,D.sibling),Z=o(D,it.children||[]),Z.return=A,A=Z;break t}else{a(A,D);break}else e(A,D);D=D.sibling}Z=Sd(it,A.mode,Z),Z.return=A,A=Z}return d(A);case Jl:return it=tl(R._debugInfo),R=xa(R),A=ne(A,D,R,Z),Vt=it,A}if(fl(R))return it=tl(R._debugInfo),A=ft(A,D,R,Z),Vt=it,A;if(ee(R)){if(it=tl(R._debugInfo),Ht=ee(R),typeof Ht!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var vt=Ht.call(R);return vt===R?(A.tag!==0||Object.prototype.toString.call(A.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(vt)!=="[object Generator]")&&(L2||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),L2=!0):R.entries!==Ht||yb||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),yb=!0),A=Ne(A,D,vt,Z),Vt=it,A}if(typeof R.then=="function")return it=tl(R._debugInfo),A=ne(A,D,On(R),Z),Vt=it,A;if(R.$$typeof===Yn)return ne(A,D,Es(A,R),Z);un(A,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(it=""+R,D!==null&&D.tag===6?(a(A,D.sibling),Z=o(D,it),Z.return=A,A=Z):(a(A,D),Z=xo(it,A.mode,Z),Z.return=A,Z._debugOwner=A,Z._debugTask=A._debugTask,Z._debugInfo=Vt,A=Z),d(A)):(typeof R=="function"&&qo(A,R),typeof R=="symbol"&&Ds(A,R),a(A,D))}return function(A,D,R,Z){var it=Vt;Vt=null;try{c0=0;var Ht=ne(A,D,R,Z);return nm=null,Ht}catch(Ve){if(Ve===am||Ve===xv)throw Ve;var vt=st(29,Ve,null,A.mode);vt.lanes=Z,vt.return=A;var pt=vt._debugInfo=Vt;if(vt._debugOwner=A._debugOwner,vt._debugTask=A._debugTask,pt!=null){for(var Yt=pt.length-1;0<=Yt;Yt--)if(typeof pt[Yt].stack=="string"){vt._debugOwner=pt[Yt],vt._debugTask=pt[Yt].debugTask;break}}return vt}finally{Vt=it}}}function Me(t,e){var a=fl(t);return t=!a&&typeof ee(t)=="function",a||t?(a=a?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,e,a),!1):!0}function Wt(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function au(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ml(t){return{lane:t,tag:K2,payload:null,callback:null,next:null}}function nu(t,e,a){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,vb===i&&!F2){var o=ct(t);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
125
|
+
|
|
126
|
+
Please update the following component: %s`,o),F2=!0}return(oe&Ll)!==Fl?(o=i.pending,o===null?e.next=e:(e.next=o.next,o.next=e),i.pending=e,e=vs(t),Pm(t,null,a),e):(Co(t,i,e,a),vs(t))}function cn(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,a|=i,e.lanes=a,X0(t,a)}}function Os(t,e){var a=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var o=null,f=null;if(a=a.firstBaseUpdate,a!==null){do{var d={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};f===null?o=f=d:f=f.next=d,a=a.next}while(a!==null);f===null?o=f=e:f=f.next=e}else o=f=e;a={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:f,shared:i.shared,callbacks:i.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}function jo(){if(bb){var t=lm;if(t!==null)throw t}}function uu(t,e,a,i){bb=!1;var o=t.updateQueue;Yf=!1,vb=o.shared;var f=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var g=h,S=g.next;g.next=null,d===null?f=S:d.next=S,d=g;var U=t.alternate;U!==null&&(U=U.updateQueue,h=U.lastBaseUpdate,h!==d&&(h===null?U.firstBaseUpdate=S:h.next=S,U.lastBaseUpdate=g))}if(f!==null){var x=o.baseState;d=0,U=S=g=null,h=f;do{var z=h.lane&-536870913,Y=z!==h.lane;if(Y?(Qt&z)===z:(i&z)===z){z!==0&&z===Ur&&(bb=!0),U!==null&&(U=U.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});t:{z=t;var nt=h,ft=e,Ne=a;switch(nt.tag){case $2:if(nt=nt.payload,typeof nt=="function"){tm=!0;var ne=nt.call(Ne,x,ft);if(z.mode&Da){Re(!0);try{nt.call(Ne,x,ft)}finally{Re(!1)}}tm=!1,x=ne;break t}x=nt;break t;case gb:z.flags=z.flags&-65537|128;case K2:if(ne=nt.payload,typeof ne=="function"){if(tm=!0,nt=ne.call(Ne,x,ft),z.mode&Da){Re(!0);try{ne.call(Ne,x,ft)}finally{Re(!1)}}tm=!1}else nt=ne;if(nt==null)break t;x=Xt({},x,nt);break t;case k2:Yf=!0}}z=h.callback,z!==null&&(t.flags|=64,Y&&(t.flags|=8192),Y=o.callbacks,Y===null?o.callbacks=[z]:Y.push(z))}else Y={lane:z,tag:h.tag,payload:h.payload,callback:h.callback,next:null},U===null?(S=U=Y,g=x):U=U.next=Y,d|=z;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;Y=h,h=Y.next,Y.next=null,o.lastBaseUpdate=Y,o.shared.pending=null}}while(!0);U===null&&(g=x),o.baseState=g,o.firstBaseUpdate=S,o.lastBaseUpdate=U,f===null&&(o.shared.lanes=0),Lf|=d,t.lanes=d,t.memoizedState=x}vb=null}function Ci(t,e){if(typeof t!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+t);t.call(e)}function dp(t,e){var a=t.shared.hiddenCallbacks;if(a!==null)for(t.shared.hiddenCallbacks=null,t=0;t<a.length;t++)Ci(a[t],e)}function Yo(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Ci(a[t],e)}function Md(t,e){var a=ic;ot(wv,a,t),ot(um,e,t),ic=a|e.baseLanes}function ku(t){ot(wv,ic,t),ot(um,um.current,t)}function Rn(t){ic=wv.current,Ut(um,t),Ut(wv,t)}function aa(t){var e=t.alternate;ot(bl,bl.current&im,t),ot(Vn,t,t),Hu===null&&(e===null||um.current!==null||e.memoizedState!==null)&&(Hu=t)}function Mn(t){ot(bl,bl.current,t),ot(Vn,t,t),Hu===null&&(Hu=t)}function Ud(t){t.tag===22?(ot(bl,bl.current,t),ot(Vn,t,t),Hu===null&&(Hu=t)):iu(t)}function iu(t){ot(bl,bl.current,t),ot(Vn,Vn.current,t)}function zl(t){Ut(Vn,t),Hu===t&&(Hu=null),Ut(bl,t)}function Mc(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||or(a)||fy(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Ct(){var t=G;Nu===null?Nu=[t]:Nu.push(t)}function k(){var t=G;if(Nu!==null&&(mo++,Nu[mo]!==t)){var e=ct(xt);if(!W2.has(e)&&(W2.add(e),Nu!==null)){for(var a="",i=0;i<=mo;i++){var o=Nu[i],f=i===mo?t:o;for(o=i+1+". "+o;30>o.length;)o+=" ";o+=f+`
|
|
127
|
+
`,a+=o}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
128
|
+
|
|
129
|
+
Previous render Next render
|
|
130
|
+
------------------------------------------------------
|
|
131
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
132
|
+
`,e,a)}}}function Fu(t){t==null||fl(t)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",G,typeof t)}function _s(){var t=ct(xt);P2.has(t)||(P2.add(t),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",t))}function ke(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
133
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
134
|
+
2. You might be breaking the Rules of Hooks
|
|
135
|
+
3. You might have more than one copy of React in the same app
|
|
136
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function hp(t,e){if(s0)return!1;if(e===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",G),!1;t.length!==e.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
137
|
+
|
|
138
|
+
Previous: %s
|
|
139
|
+
Incoming: %s`,G,"["+e.join(", ")+"]","["+t.join(", ")+"]");for(var a=0;a<e.length&&a<t.length;a++)if(!Za(t[a],e[a]))return!1;return!0}function mp(t,e,a,i,o,f){ro=f,xt=e,Nu=t!==null?t._debugHookTypes:null,mo=-1,s0=t!==null&&t.type!==e.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=ct(xt),Sb.has(f)||(Sb.add(f),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",f===null?"An unknown Component":"<"+f+">"))),e.memoizedState=null,e.updateQueue=null,e.lanes=0,X.H=t!==null&&t.memoizedState!==null?Tb:Nu!==null?tE:Eb,Nr=f=(e.mode&Da)!==Ot;var d=hb(a,i,o);if(Nr=!1,om&&(d=Rs(e,a,i,o)),f){Re(!0);try{d=Rs(e,a,i,o)}finally{Re(!1)}}return el(t,e),d}function el(t,e){e._debugHookTypes=Nu,e.dependencies===null?ho!==null&&(e.dependencies={lanes:0,firstContext:null,_debugThenableState:ho}):e.dependencies._debugThenableState=ho,X.H=r0;var a=xe!==null&&xe.next!==null;if(ro=0,Nu=G=Cl=xe=xt=null,mo=-1,t!==null&&(t.flags&65011712)!==(e.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Bv=!1,f0=0,ho=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");t===null||xl||(t=t.dependencies,t!==null&&wo(t)&&(xl=!0)),i0?(i0=!1,t=!0):t=!1,t&&(e=ct(e)||"Unknown",I2.has(e)||Sb.has(e)||(I2.add(e),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Rs(t,e,a,i){xt=t;var o=0;do{if(om&&(ho=null),f0=0,om=!1,o>=tz)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,s0=!1,Cl=xe=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}mo=-1,X.H=eE,f=hb(e,a,i)}while(om);return f}function Ms(){var t=X.H,e=t.useState()[0];return e=typeof e.then=="function"?xs(e):e,t=t.useState()[0],(xe!==null?xe.memoizedState:null)!==t&&(xt.flags|=1024),e}function Uc(){var t=qv!==0;return qv=0,t}function Us(t,e,a){e.updateQueue=t.updateQueue,e.flags=(e.mode&ri)!==Ot?e.flags&-402655237:e.flags&-2053,t.lanes&=~a}function xi(t){if(Bv){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Bv=!1}ro=0,Nu=Cl=xe=xt=null,mo=-1,G=null,om=!1,f0=qv=0,ho=null}function cl(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cl===null?xt.memoizedState=Cl=t:Cl=Cl.next=t,Cl}function pe(){if(xe===null){var t=xt.alternate;t=t!==null?t.memoizedState:null}else t=xe.next;var e=Cl===null?xt.memoizedState:Cl.next;if(e!==null)Cl=e,xe=t;else{if(t===null)throw xt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");xe=t,t={memoizedState:xe.memoizedState,baseState:xe.baseState,baseQueue:xe.baseQueue,queue:xe.queue,next:null},Cl===null?xt.memoizedState=Cl=t:Cl=Cl.next=t}return Cl}function Cs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xs(t){var e=f0;return f0+=1,ho===null&&(ho=_d()),t=Ca(ho,t,e),e=xt,(Cl===null?e.memoizedState:Cl.next)===null&&(e=e.alternate,X.H=e!==null&&e.memoizedState!==null?Tb:Eb),t}function Wu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return xs(t);if(t.$$typeof===Yn)return re(t)}throw Error("An unsupported type was passed to use(): "+String(t))}function Ha(t){var e=null,a=xt.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var i=xt.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(o){return o.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Cs(),xt.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0||s0)for(a=e.data[e.index]=Array(t),i=0;i<t;i++)a[i]=G1;else a.length!==t&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",a.length,t);return e.index++,a}function wa(t,e){return typeof e=="function"?e(t):e}function Go(t,e,a){var i=cl();if(a!==void 0){var o=a(e);if(Nr){Re(!0);try{a(e)}finally{Re(!1)}}}else o=e;return i.memoizedState=i.baseState=o,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:o},i.queue=t,t=t.dispatch=N1.bind(null,xt,t),[i.memoizedState,t]}function Cc(t){var e=pe();return Hi(e,xe,t)}function Hi(t,e,a){var i=t.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=a;var o=t.baseQueue,f=i.pending;if(f!==null){if(o!==null){var d=o.next;o.next=f.next,f.next=d}e.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),e.baseQueue=o=f,i.pending=null}if(f=t.baseState,o===null)t.memoizedState=f;else{e=o.next;var h=d=null,g=null,S=e,U=!1;do{var x=S.lane&-536870913;if(x!==S.lane?(Qt&x)===x:(ro&x)===x){var z=S.revertLane;if(z===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),x===Ur&&(U=!0);else if((ro&z)===z){S=S.next,z===Ur&&(U=!0);continue}else x={lane:0,revertLane:S.revertLane,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},g===null?(h=g=x,d=f):g=g.next=x,xt.lanes|=z,Lf|=z;x=S.action,Nr&&a(f,x),f=S.hasEagerState?S.eagerState:a(f,x)}else z={lane:x,revertLane:S.revertLane,gesture:S.gesture,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},g===null?(h=g=z,d=f):g=g.next=z,xt.lanes|=x,Lf|=x;S=S.next}while(S!==null&&S!==e);if(g===null?d=f:g.next=h,!Za(f,t.memoizedState)&&(xl=!0,U&&(a=lm,a!==null)))throw a;t.memoizedState=f,t.baseState=d,t.baseQueue=g,i.lastRenderedState=f}return o===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function xc(t){var e=pe(),a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=t;var i=a.dispatch,o=a.pending,f=e.memoizedState;if(o!==null){a.pending=null;var d=o=o.next;do f=t(f,d.action),d=d.next;while(d!==o);Za(f,e.memoizedState)||(xl=!0),e.memoizedState=f,e.baseQueue===null&&(e.baseState=f),a.lastRenderedState=f}return[f,i]}function Xo(t,e,a){var i=xt,o=cl();if(Pt){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=a();cm||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),cm=!0)}else{if(f=e(),cm||(a=e(),Za(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),cm=!0)),He===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Qt&127)!==0||pp(i,e,f)}return o.memoizedState=f,a={value:f,getSnapshot:e},o.queue=a,Nc(wi.bind(null,i,a,t),[t]),i.flags|=2048,cu(wu|$a,{destroy:void 0},yp.bind(null,i,a,f,e),null),f}function Hc(t,e,a){var i=xt,o=pe(),f=Pt;if(f){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=e(),!cm){var d=e();Za(a,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),cm=!0)}(d=!Za((xe||o).memoizedState,a))&&(o.memoizedState=a,xl=!0),o=o.queue;var h=wi.bind(null,i,o,t);if(pl(2048,$a,h,[t]),o.getSnapshot!==e||d||Cl!==null&&Cl.memoizedState.tag&wu){if(i.flags|=2048,cu(wu|$a,{destroy:void 0},yp.bind(null,i,o,a,e),null),He===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(ro&127)!==0||pp(i,e,a)}return a}function pp(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=xt.updateQueue,e===null?(e=Cs(),xt.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function yp(t,e,a,i){e.value=a,e.getSnapshot=i,Ni(e)&&gp(t)}function wi(t,e,a){return a(function(){Ni(e)&&(eu(2,"updateSyncExternalStore()",t),gp(t))})}function Ni(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!Za(t,a)}catch{return!0}}function gp(t){var e=Vl(t,2);e!==null&&Rt(e,t,2)}function Cd(t){var e=cl();if(typeof t=="function"){var a=t;if(t=a(),Nr){Re(!0);try{a()}finally{Re(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:t},e}function Bi(t){t=Cd(t);var e=t.queue,a=qd.bind(null,xt,e);return e.dispatch=a,[t.memoizedState,a]}function wc(t){var e=cl();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Ys.bind(null,xt,!0,a),a.dispatch=e,[t,e]}function Hs(t,e){var a=pe();return Lo(a,xe,t,e)}function Lo(t,e,a,i){return t.baseState=a,Hi(t,xe,typeof i=="function"?i:wa)}function ws(t,e){var a=pe();return xe!==null?Lo(a,xe,t,e):(a.baseState=t,[t,a.queue.dispatch])}function rg(t,e,a,i,o){if(Dl(t))throw Error("Cannot update form state while rendering.");if(t=e.action,t!==null){var f={payload:o,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){f.listeners.push(d)}};X.T!==null?a(!0):f.isTransition=!1,i(f),a=e.pending,a===null?(f.next=e.pending=f,qi(e,f)):(f.next=a.next,e.pending=a.next=f)}}function qi(t,e){var a=e.action,i=e.payload,o=t.state;if(e.isTransition){var f=X.T,d={};d._updatedFibers=new Set,X.T=d;try{var h=a(o,i),g=X.S;g!==null&&g(d,h),vp(t,e,h)}catch(S){Ns(t,e,S)}finally{f!==null&&d.types!==null&&(f.types!==null&&f.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),f.types=d.types),X.T=f,f===null&&d._updatedFibers&&(t=d._updatedFibers.size,d._updatedFibers.clear(),10<t&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{d=a(o,i),vp(t,e,d)}catch(S){Ns(t,e,S)}}function vp(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(X.asyncTransitions++,a.then(Bc,Bc),a.then(function(i){Iu(t,e,i)},function(i){return Ns(t,e,i)}),e.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Iu(t,e,a)}function Iu(t,e,a){e.status="fulfilled",e.value=a,xd(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,qi(t,a)))}function Ns(t,e,a){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=a,xd(e),e=e.next;while(e!==i)}t.action=null}function xd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Pu(t,e){return e}function Na(t,e){if(Pt){var a=He.formState;if(a!==null){t:{var i=xt;if(Pt){if(Le){e:{for(var o=Le,f=Cu;o.nodeType!==8;){if(!f){o=null;break e}if(o=Xa(o.nextSibling),o===null){o=null;break e}}f=o.data,o=f===Zb||f===GE?o:null}if(o){Le=Xa(o.nextSibling),i=o.data===Zb;break t}}en(i)}i=!1}i&&(e=a[0])}}return a=cl(),a.memoizedState=a.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pu,lastRenderedState:e},a.queue=i,a=qd.bind(null,xt,i),i.dispatch=a,i=Cd(!1),f=Ys.bind(null,xt,!1,i.queue),i=cl(),o={state:e,dispatch:null,action:t,pending:null},i.queue=o,a=rg.bind(null,xt,o,f,a),o.dispatch=a,i.memoizedState=t,[e,a,!1]}function ji(t){var e=pe();return Hd(e,xe,t)}function Hd(t,e,a){if(e=Hi(t,e,Pu)[0],t=Cc(wa)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=xs(e)}catch(d){throw d===am?xv:d}else i=e;e=pe();var o=e.queue,f=o.dispatch;return a!==e.memoizedState&&(xt.flags|=2048,cu(wu|$a,{destroy:void 0},bp.bind(null,o,a),null)),[i,f,t]}function bp(t,e){t.action=e}function Yi(t){var e=pe(),a=xe;if(a!==null)return Hd(e,a,t);pe(),e=e.memoizedState,a=pe();var i=a.queue.dispatch;return a.memoizedState=t,[e,i,!1]}function cu(t,e,a,i){return t={tag:t,create:a,deps:i,inst:e,next:null},e=xt.updateQueue,e===null&&(e=Cs(),xt.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(i=a.next,a.next=t,t.next=i,e.lastEffect=t),t}function wd(t){var e=cl();return t={current:t},e.memoizedState=t}function Gi(t,e,a,i){var o=cl();xt.flags|=t,o.memoizedState=cu(wu|e,{destroy:void 0},a,i===void 0?null:i)}function pl(t,e,a,i){var o=pe();i=i===void 0?null:i;var f=o.memoizedState.inst;xe!==null&&i!==null&&hp(i,xe.memoizedState.deps)?o.memoizedState=cu(e,f,a,i):(xt.flags|=t,o.memoizedState=cu(wu|e,f,a,i))}function Nc(t,e){(xt.mode&ri)!==Ot?Gi(276826112,$a,t,e):Gi(8390656,$a,t,e)}function dg(t){xt.flags|=4;var e=xt.updateQueue;if(e===null)e=Cs(),xt.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function Bs(t){var e=cl(),a={impl:t};return e.memoizedState=a,function(){if((oe&Ll)!==Fl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Vo(t){var e=pe().memoizedState;return dg({ref:e,nextImpl:t}),function(){if((oe&Ll)!==Fl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return e.impl.apply(void 0,arguments)}}function na(t,e){var a=4194308;return(xt.mode&ri)!==Ot&&(a|=134217728),Gi(a,Qn,t,e)}function Ba(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return e.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(e).join(", ")+"}"),t=t(),e.current=t,function(){e.current=null}}function ou(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null;var i=4194308;(xt.mode&ri)!==Ot&&(i|=134217728),Gi(i,Qn,Ba.bind(null,e,t),a)}function Qo(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null,pl(4,Qn,Ba.bind(null,e,t),a)}function Nd(t,e){return cl().memoizedState=[t,e===void 0?null:e],t}function Un(t,e){var a=pe();e=e===void 0?null:e;var i=a.memoizedState;return e!==null&&hp(e,i[1])?i[0]:(a.memoizedState=[t,e],t)}function ua(t,e){var a=cl();e=e===void 0?null:e;var i=t();if(Nr){Re(!0);try{t()}finally{Re(!1)}}return a.memoizedState=[i,e],i}function je(t,e){var a=pe();e=e===void 0?null:e;var i=a.memoizedState;if(e!==null&&hp(e,i[1]))return i[0];if(i=t(),Nr){Re(!0);try{t()}finally{Re(!1)}}return a.memoizedState=[i,e],i}function Zo(t,e){var a=cl();return ye(a,t,e)}function fu(t,e){var a=pe();return ll(a,xe.memoizedState,t,e)}function Bt(t,e){var a=pe();return xe===null?ye(a,t,e):ll(a,xe.memoizedState,t,e)}function ye(t,e,a){return a===void 0||(ro&1073741824)!==0&&(Qt&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=Po(),xt.lanes|=t,Lf|=t,a)}function ll(t,e,a,i){return Za(a,e)?a:um.current!==null?(t=ye(t,a,i),Za(t,e)||(xl=!0),t):(ro&42)===0||(ro&1073741824)!==0&&(Qt&261930)===0?(xl=!0,t.memoizedState=a):(t=Po(),xt.lanes|=t,Lf|=t,e)}function Bc(){X.asyncTransitions--}function qc(t,e,a,i,o){var f=he.p;he.p=f!==0&&f<Gl?f:Gl;var d=X.T,h={};h._updatedFibers=new Set,X.T=h,Ys(t,!1,e,a);try{var g=o(),S=X.S;if(S!==null&&S(h,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){X.asyncTransitions++,g.then(Bc,Bc);var U=Od(g,i);jc(t,e,U,Zl(t))}else jc(t,e,i,Zl(t))}catch(x){jc(t,e,{then:function(){},status:"rejected",reason:x},Zl(t))}finally{he.p=f,d!==null&&h.types!==null&&(d.types!==null&&d.types!==h.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),d.types=h.types),X.T=d,d===null&&h._updatedFibers&&(t=h._updatedFibers.size,h._updatedFibers.clear(),10<t&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function ti(t,e,a,i){if(t.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=qs(t).queue;fg(t),qc(t,o,e,Jr,a===null?I:function(){return Jo(t),a(i)})}function qs(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Jr,baseState:Jr,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:Jr},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Jo(t){X.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var e=qs(t);e.next===null&&(e=t.alternate.memoizedState),jc(t,e.next.queue,{},Zl(t))}function Xi(){var t=Cd(!1);return t=qc.bind(null,xt,t.queue,!0,!1),cl().memoizedState=t,[!1,t]}function hg(){var t=Cc(wa)[0],e=pe().memoizedState;return[typeof t=="boolean"?t:xs(t),e]}function Qe(){var t=xc(wa)[0],e=pe().memoizedState;return[typeof t=="boolean"?t:xs(t),e]}function ei(){return re(O0)}function js(){var t=cl(),e=He.identifierPrefix;if(Pt){var a=io,i=uo;a=(i&~(1<<32-Yl(i)-1)).toString(32)+a,e="_"+e+"R_"+a,a=qv++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=P3++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e}function Bd(){return cl().memoizedState=mg.bind(null,xt)}function mg(t,e){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var i=Zl(a),o=ml(i),f=nu(a,o,i);f!==null&&(eu(i,"refresh()",t),Rt(f,a,i),cn(f,a,i)),t=zd(),e!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),o.payload={cache:t};return}a=a.return}}function N1(t,e,a){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=Zl(t);var o={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};Dl(t)?Fe(e,o):(o=bc(t,e,o,i),o!==null&&(eu(i,"dispatch()",t),Rt(o,t,i),Gs(o,e,i)))}function qd(t,e,a){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=Zl(t),jc(t,e,a,i)&&eu(i,"setState()",t)}function jc(t,e,a,i){var o={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Dl(t))Fe(e,o);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=e.lastRenderedReducer,f!==null)){var d=X.H;X.H=hi;try{var h=e.lastRenderedState,g=f(h,a);if(o.hasEagerState=!0,o.eagerState=g,Za(g,h))return Co(t,e,o,0),He===null&&vd(),!1}catch{}finally{X.H=d}}if(a=bc(t,e,o,i),a!==null)return Rt(a,t,i),Gs(a,e,i),!0}return!1}function Ys(t,e,a,i){if(X.T===null&&Ur===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),i={lane:2,revertLane:iy(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Dl(t)){if(e)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else e=bc(t,a,i,2),e!==null&&(eu(2,"setOptimistic()",t),Rt(e,t,2))}function Dl(t){var e=t.alternate;return t===xt||e!==null&&e===xt}function Fe(t,e){om=Bv=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Gs(t,e,a){if((a&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,a|=i,e.lanes=a,X0(t,a)}}function Yc(t){if(t!==null&&typeof t!="function"){var e=String(t);dE.has(e)||(dE.add(e),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",t))}}function Ko(t,e,a,i){var o=t.memoizedState,f=a(i,o);if(t.mode&Da){Re(!0);try{f=a(i,o)}finally{Re(!1)}}f===void 0&&(e=ut(e)||"Component",oE.has(e)||(oE.add(e),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",e))),o=f==null?o:Xt({},o,f),t.memoizedState=o,t.lanes===0&&(t.updateQueue.baseState=o)}function jd(t,e,a,i,o,f,d){var h=t.stateNode;if(typeof h.shouldComponentUpdate=="function"){if(a=h.shouldComponentUpdate(i,f,d),t.mode&Da){Re(!0);try{a=h.shouldComponentUpdate(i,f,d)}finally{Re(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ut(e)||"Component"),a}return e.prototype&&e.prototype.isPureReactComponent?!Uo(a,i)||!Uo(o,f):!0}function su(t,e,a,i){var o=e.state;typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,i),e.state!==o&&(t=ct(t)||"Component",aE.has(t)||(aE.add(t),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t)),Ab.enqueueReplaceState(e,e.state,null))}function ru(t,e){var a=e;if("ref"in e){a={};for(var i in e)i!=="ref"&&(a[i]=e[i])}if(t=t.defaultProps){a===e&&(a=Xt({},a));for(var o in t)a[o]===void 0&&(a[o]=t[o])}return a}function Yd(t){tb(t),console.warn(`%s
|
|
140
|
+
|
|
141
|
+
%s
|
|
142
|
+
`,fm?"An error occurred in the <"+fm+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
143
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Gd(t){var e=fm?"The above error occurred in the <"+fm+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((zb||"Anonymous")+".");if(typeof t=="object"&&t!==null&&typeof t.environmentName=="string"){var i=t.environmentName;t=[`%o
|
|
144
|
+
|
|
145
|
+
%s
|
|
146
|
+
|
|
147
|
+
%s
|
|
148
|
+
`,t,e,a].slice(0),typeof t[0]=="string"?t.splice(0,1,$E+" "+t[0],kE,o1+i+o1,FE):t.splice(0,0,$E,kE,o1+i+o1,FE),t.unshift(console),i=Sz.apply(console.error,t),i()}else console.error(`%o
|
|
149
|
+
|
|
150
|
+
%s
|
|
151
|
+
|
|
152
|
+
%s
|
|
153
|
+
`,t,e,a)}function Sp(t){tb(t)}function Xs(t,e){try{fm=e.source?ct(e.source):null,zb=null;var a=e.value;if(X.actQueue!==null)X.thrownErrors.push(a);else{var i=t.onUncaughtError;i(a,{componentStack:e.stack})}}catch(o){setTimeout(function(){throw o})}}function Ep(t,e,a){try{fm=a.source?ct(a.source):null,zb=ct(e);var i=t.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Xd(t,e,a){return a=ml(a),a.tag=gb,a.payload={element:null},a.callback=function(){rt(e.source,Xs,t,e)},a}function Ld(t){return t=ml(t),t.tag=gb,t}function Vd(t,e,a,i){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var f=i.value;t.payload=function(){return o(f)},t.callback=function(){Sc(a),rt(i.source,Ep,e,a,i)}}var d=a.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){Sc(a),rt(i.source,Ep,e,a,i),typeof o!="function"&&(Qf===null?Qf=new Set([this]):Qf.add(this)),k3(this,i),typeof o=="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ct(a)||"Unknown")})}function Tp(t,e,a,i,o){if(a.flags|=32768,zu&&nf(t,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=a.alternate,e!==null&&Dn(e,a,o,!0),Pt&&(ac=!0),a=Vn.current,a!==null){switch(a.tag){case 31:case 13:return Hu===null?ef():a.alternate===null&&Ie===yo&&(Ie=Gv),a.flags&=-257,a.flags|=65536,a.lanes=o,i===Hv?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([i]):e.add(i),fh(t,i,o)),!1;case 22:return a.flags|=65536,i===Hv?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([i]):a.add(i)),fh(t,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return fh(t,i,o),ef(),!1}if(Pt)return ac=!0,e=Vn.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=o,i!==ib&&Ss(Pl(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),a))):(i!==ib&&Ss(Pl(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),a)),t=t.current.alternate,t.flags|=65536,o&=-o,t.lanes|=o,i=Pl(i,a),o=Xd(t.stateNode,i,o),Os(t,o),Ie!==Gf&&(Ie=Br)),!1;var f=Pl(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),a);if(g0===null?g0=[f]:g0.push(f),Ie!==Gf&&(Ie=Br),e===null)return!0;i=Pl(i,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=o&-o,a.lanes|=t,t=Xd(a.stateNode,i,t),Os(a,t),!1;case 1:if(e=a.type,f=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Qf===null||!Qf.has(f))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Ld(o),Vd(o,t,a,i),Os(a,o),!1}a=a.return}while(a!==null);return!1}function Ol(t,e,a,i){e.child=t===null?J2(e,null,a,i):wr(e,t.child,a,i)}function pg(t,e,a,i,o){a=a.render;var f=e.ref;if("ref"in i){var d={};for(var h in i)h!=="ref"&&(d[h]=i[h])}else d=i;return Ui(e),i=mp(t,e,a,d,f,o),h=Uc(),t!==null&&!xl?(Us(t,e,o),Cn(t,e,o)):(Pt&&h&&Ed(e),e.flags|=1,Ol(t,e,i,o),e.child)}function Ap(t,e,a,i,o){if(t===null){var f=a.type;return typeof f=="function"&&!ep(f)&&f.defaultProps===void 0&&a.compare===null?(a=Di(f),e.tag=15,e.type=a,$o(e,f),zp(t,e,a,i,o)):(t=Ec(a.type,null,i,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(f=t.child,!$d(t,o)){var d=f.memoizedProps;if(a=a.compare,a=a!==null?a:Uo,a(d,i)&&t.ref===e.ref)return Cn(t,e,o)}return e.flags|=1,t=tu(f,i),t.ref=e.ref,t.return=e,e.child=t}function zp(t,e,a,i,o){if(t!==null){var f=t.memoizedProps;if(Uo(f,i)&&t.ref===e.ref&&e.type===t.type)if(xl=!1,e.pendingProps=i=f,$d(t,o))(t.flags&131072)!==0&&(xl=!0);else return e.lanes=t.lanes,Cn(t,e,o)}return Rp(t,e,a,i,o)}function Dp(t,e,a,i){var o=i.children,f=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:Jy,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((e.flags&128)!==0){if(f=f!==null?f.baseLanes|a:a,t!==null){for(i=e.child=t.child,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~f}else i=0,e.child=null;return Op(t,e,f,a,i)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Bo(e,f!==null?f.cachePool:null),f!==null?Md(e,f):ku(e),Ud(e);else return i=e.lanes=536870912,Op(t,e,f!==null?f.baseLanes|a:a,a,i)}else f!==null?(Bo(e,f.cachePool),Md(e,f),iu(e),e.memoizedState=null):(t!==null&&Bo(e,null),ku(e),iu(e));return Ol(t,e,o,a),e.child}function Gc(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:Jy,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Op(t,e,a,i,o){var f=$u();return f=f===null?null:{parent:Ml._currentValue,pool:f},e.memoizedState={baseLanes:a,cachePool:f},t!==null&&Bo(e,null),ku(e),Ud(e),t!==null&&Dn(t,e,i,!0),e.childLanes=o,null}function Ls(t,e){var a=e.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
154
|
+
- <Activity %s>
|
|
155
|
+
+ <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),e=Qs({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function _p(t,e,a){return wr(e,t.child,null,a),t=Ls(e,e.pendingProps),t.flags|=2,zl(e),e.memoizedState=null,t}function yg(t,e,a){var i=e.pendingProps,o=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(Pt){if(i.mode==="hidden")return t=Ls(e,i),e.lanes=536870912,Gc(null,t);if(Mn(e),(t=Le)?(a=ve(t,Cu),a=a!==null&&a.data===Lr?a:null,a!==null&&(i={dehydrated:a,treeContext:ig(),retryLane:536870912,hydrationErrors:null},e.memoizedState=i,i=ap(a),i.return=e,e.child=i,ma=e,Le=null)):a=null,a===null)throw Ql(e,t),en(e);return e.lanes=536870912,null}return Ls(e,i)}var f=t.memoizedState;if(f!==null){var d=f.dehydrated;if(Mn(e),o)if(e.flags&256)e.flags&=-257,e=_p(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(og(),(a&536870912)!==0&&tf(e),xl||Dn(t,e,a,!1),o=(a&t.childLanes)!==0,xl||o){if(i=He,i!==null&&(d=L0(i,a),d!==0&&d!==f.retryLane))throw f.retryLane=d,Vl(t,d),Rt(i,t,d),Db;ef(),e=_p(t,e,a)}else t=f.treeContext,Le=Xa(d.nextSibling),ma=e,Pt=!0,wf=null,ac=!1,Ln=null,Cu=!1,t!==null&&cg(e,t),e=Ls(e,i),e.flags|=4096;return e}return f=t.child,i={mode:i.mode,children:i.children},(a&536870912)!==0&&(a&t.lanes)!==0&&tf(e),t=tu(f,i),t.ref=e.ref,e.child=t,t.return=e,t}function Vs(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Rp(t,e,a,i,o){if(a.prototype&&typeof a.prototype.render=="function"){var f=ut(a)||"Unknown";hE[f]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",f,f),hE[f]=!0)}return e.mode&Da&&di.recordLegacyContextWarning(e,null),t===null&&($o(e,e.type),a.contextTypes&&(f=ut(a)||"Unknown",pE[f]||(pE[f]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",f)))),Ui(e),a=mp(t,e,a,i,void 0,o),i=Uc(),t!==null&&!xl?(Us(t,e,o),Cn(t,e,o)):(Pt&&i&&Ed(e),e.flags|=1,Ol(t,e,a,o),e.child)}function Mp(t,e,a,i,o,f){return Ui(e),mo=-1,s0=t!==null&&t.type!==e.type,e.updateQueue=null,a=Rs(e,i,a,o),el(t,e),i=Uc(),t!==null&&!xl?(Us(t,e,f),Cn(t,e,f)):(Pt&&i&&Ed(e),e.flags|=1,Ol(t,e,a,f),e.child)}function Xc(t,e,a,i,o){switch(w(e)){case!1:var f=e.stateNode,d=new e.type(e.memoizedProps,f.context).state;f.updater.enqueueSetState(f,d,null);break;case!0:e.flags|=128,e.flags|=65536,f=Error("Simulated error coming from DevTools");var h=o&-o;if(e.lanes|=h,d=He,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=Ld(h),Vd(h,d,e,Pl(f,e)),Os(e,h)}if(Ui(e),e.stateNode===null){if(d=Hf,f=a.contextType,"contextType"in a&&f!==null&&(f===void 0||f.$$typeof!==Yn)&&!rE.has(a)&&(rE.add(a),h=f===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof f!="object"?" However, it is set to a "+typeof f+".":f.$$typeof===Ch?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ut(a)||"Component",h)),typeof f=="object"&&f!==null&&(d=re(f)),f=new a(i,d),e.mode&Da){Re(!0);try{f=new a(i,d)}finally{Re(!1)}}if(d=e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Ab,e.stateNode=f,f._reactInternals=e,f._reactInternalInstance=lE,typeof a.getDerivedStateFromProps=="function"&&d===null&&(d=ut(a)||"Component",nE.has(d)||(nE.add(d),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,f.state===null?"null":"undefined",d))),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var g=h=d=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?h="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?g="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(g="UNSAFE_componentWillUpdate"),d!==null||h!==null||g!==null){f=ut(a)||"Component";var S=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";iE.has(f)||(iE.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
156
|
+
|
|
157
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
158
|
+
|
|
159
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
160
|
+
https://react.dev/link/unsafe-component-lifecycles`,f,S,d!==null?`
|
|
161
|
+
`+d:"",h!==null?`
|
|
162
|
+
`+h:"",g!==null?`
|
|
163
|
+
`+g:""))}}f=e.stateNode,d=ut(a)||"Component",f.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!f.getInitialState||f.getInitialState.isReactClassApproved||f.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",d),f.getDefaultProps&&!f.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",d),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),a.childContextTypes&&!sE.has(a)&&(sE.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),a.contextTypes&&!fE.has(a)&&(fE.add(a),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",d)),typeof f.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",d),a.prototype&&a.prototype.isPureReactComponent&&typeof f.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ut(a)||"A pure component"),typeof f.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof f.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",d),typeof f.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof f.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d),h=f.props!==i,f.props!==void 0&&h&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d),f.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",d,d),typeof f.getSnapshotBeforeUpdate!="function"||typeof f.componentDidUpdate=="function"||uE.has(a)||(uE.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ut(a))),typeof f.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof f.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d),(h=f.state)&&(typeof h!="object"||fl(h))&&console.error("%s.state: must be set to an object or null",d),typeof f.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d),f=e.stateNode,f.props=i,f.state=e.memoizedState,f.refs={},Wt(e),d=a.contextType,f.context=typeof d=="object"&&d!==null?re(d):Hf,f.state===i&&(d=ut(a)||"Component",cE.has(d)||(cE.add(d),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",d))),e.mode&Da&&di.recordLegacyContextWarning(e,f),di.recordUnsafeLifecycleWarnings(e,f),f.state=e.memoizedState,d=a.getDerivedStateFromProps,typeof d=="function"&&(Ko(e,a,d,i),f.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(d=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),d!==f.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ct(e)||"Component"),Ab.enqueueReplaceState(f,f.state,null)),uu(e,i,f,o),jo(),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ri)!==Ot&&(e.flags|=134217728),f=!0}else if(t===null){f=e.stateNode;var U=e.memoizedProps;h=ru(a,U),f.props=h;var x=f.context;g=a.contextType,d=Hf,typeof g=="object"&&g!==null&&(d=re(g)),S=a.getDerivedStateFromProps,g=typeof S=="function"||typeof f.getSnapshotBeforeUpdate=="function",U=e.pendingProps!==U,g||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(U||x!==d)&&su(e,f,i,d),Yf=!1;var z=e.memoizedState;f.state=z,uu(e,i,f,o),jo(),x=e.memoizedState,U||z!==x||Yf?(typeof S=="function"&&(Ko(e,a,S,i),x=e.memoizedState),(h=Yf||jd(e,a,h,i,z,x,d))?(g||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ri)!==Ot&&(e.flags|=134217728)):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ri)!==Ot&&(e.flags|=134217728),e.memoizedProps=i,e.memoizedState=x),f.props=i,f.state=x,f.context=d,f=h):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ri)!==Ot&&(e.flags|=134217728),f=!1)}else{f=e.stateNode,au(t,e),d=e.memoizedProps,g=ru(a,d),f.props=g,S=e.pendingProps,z=f.context,x=a.contextType,h=Hf,typeof x=="object"&&x!==null&&(h=re(x)),U=a.getDerivedStateFromProps,(x=typeof U=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(d!==S||z!==h)&&su(e,f,i,h),Yf=!1,z=e.memoizedState,f.state=z,uu(e,i,f,o),jo();var Y=e.memoizedState;d!==S||z!==Y||Yf||t!==null&&t.dependencies!==null&&wo(t.dependencies)?(typeof U=="function"&&(Ko(e,a,U,i),Y=e.memoizedState),(g=Yf||jd(e,a,g,i,z,Y,h)||t!==null&&t.dependencies!==null&&wo(t.dependencies))?(x||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(i,Y,h),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(i,Y,h)),typeof f.componentDidUpdate=="function"&&(e.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=Y),f.props=i,f.state=Y,f.context=h,f=g):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),f=!1)}if(h=f,Vs(t,e),d=(e.flags&128)!==0,h||d){if(h=e.stateNode,us(e),d&&typeof a.getDerivedStateFromError!="function")a=null,Ja=-1;else if(a=x2(h),e.mode&Da){Re(!0);try{x2(h)}finally{Re(!1)}}e.flags|=1,t!==null&&d?(e.child=wr(e,t.child,null,o),e.child=wr(e,null,a,o)):Ol(t,e,a,o),e.memoizedState=h.state,t=e.child}else t=Cn(t,e,o);return o=e.stateNode,f&&o.props!==i&&(sm||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ct(e)||"a component"),sm=!0),t}function Up(t,e,a,i){return Ri(),e.flags|=256,Ol(t,e,a,i),e.child}function $o(t,e){e&&e.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
164
|
+
%s.childContextTypes = ...`,e.displayName||e.name||"Component"),typeof e.getDerivedStateFromProps=="function"&&(t=ut(e)||"Unknown",yE[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),yE[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=ut(e)||"Unknown",mE[e]||(console.error("%s: Function components do not support contextType.",e),mE[e]=!0))}function ko(t){return{baseLanes:t,cachePool:fp()}}function Qd(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=pn),t}function Zd(t,e,a){var i,o=e.pendingProps;_(e)&&(e.flags|=128);var f=!1,d=(e.flags&128)!==0;if((i=d)||(i=t!==null&&t.memoizedState===null?!1:(bl.current&o0)!==0),i&&(f=!0,e.flags&=-129),i=(e.flags&32)!==0,e.flags&=-33,t===null){if(Pt){if(f?aa(e):iu(e),(t=Le)?(a=ve(t,Cu),a=a!==null&&a.data!==Lr?a:null,a!==null&&(i={dehydrated:a,treeContext:ig(),retryLane:536870912,hydrationErrors:null},e.memoizedState=i,i=ap(a),i.return=e,e.child=i,ma=e,Le=null)):a=null,a===null)throw Ql(e,t),en(e);return fy(a)?e.lanes=32:e.lanes=536870912,null}var h=o.children;if(o=o.fallback,f){iu(e);var g=e.mode;return h=Qs({mode:"hidden",children:h},g),o=Tc(o,g,a,null),h.return=e,o.return=e,h.sibling=o,e.child=h,o=e.child,o.memoizedState=ko(a),o.childLanes=Qd(t,i,a),e.memoizedState=Ob,Gc(null,o)}return aa(e),Cp(e,h)}var S=t.memoizedState;if(S!==null){var U=S.dehydrated;if(U!==null){if(d)e.flags&256?(aa(e),e.flags&=-257,e=Jd(t,e,a)):e.memoizedState!==null?(iu(e),e.child=t.child,e.flags|=128,e=null):(iu(e),h=o.fallback,g=e.mode,o=Qs({mode:"visible",children:o.children},g),h=Tc(h,g,a,null),h.flags|=2,o.return=e,h.return=e,o.sibling=h,e.child=o,wr(e,t.child,null,a),o=e.child,o.memoizedState=ko(a),o.childLanes=Qd(t,i,a),e.memoizedState=Ob,e=Gc(null,o));else if(aa(e),og(),(a&536870912)!==0&&tf(e),fy(U)){if(i=U.nextSibling&&U.nextSibling.dataset,i){h=i.dgst;var x=i.msg;g=i.stck;var z=i.cstck}f=x,i=h,o=g,U=z,h=f,g=U,h=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=o||"",h.digest=i,i=g===void 0?null:g,o={value:h,source:null,stack:i},typeof i=="string"&&ub.set(h,o),Ss(o),e=Jd(t,e,a)}else if(xl||Dn(t,e,a,!1),i=(a&t.childLanes)!==0,xl||i){if(i=He,i!==null&&(o=L0(i,a),o!==0&&o!==S.retryLane))throw S.retryLane=o,Vl(t,o),Rt(i,t,o),Db;or(U)||ef(),e=Jd(t,e,a)}else or(U)?(e.flags|=192,e.child=t.child,e=null):(t=S.treeContext,Le=Xa(U.nextSibling),ma=e,Pt=!0,wf=null,ac=!1,Ln=null,Cu=!1,t!==null&&cg(e,t),e=Cp(e,o.children),e.flags|=4096);return e}}return f?(iu(e),h=o.fallback,g=e.mode,z=t.child,U=z.sibling,o=tu(z,{mode:"hidden",children:o.children}),o.subtreeFlags=z.subtreeFlags&65011712,U!==null?h=tu(U,h):(h=Tc(h,g,a,null),h.flags|=2),h.return=e,o.return=e,o.sibling=h,e.child=o,Gc(null,o),o=e.child,h=t.child.memoizedState,h===null?h=ko(a):(g=h.cachePool,g!==null?(z=Ml._currentValue,g=g.parent!==z?{parent:z,pool:z}:g):g=fp(),h={baseLanes:h.baseLanes|a,cachePool:g}),o.memoizedState=h,o.childLanes=Qd(t,i,a),e.memoizedState=Ob,Gc(t.child,o)):(S!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&tf(e),aa(e),a=t.child,t=a.sibling,a=tu(a,{mode:"visible",children:o.children}),a.return=e,a.sibling=null,t!==null&&(i=e.deletions,i===null?(e.deletions=[t],e.flags|=16):i.push(t)),e.child=a,e.memoizedState=null,a)}function Cp(t,e){return e=Qs({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Qs(t,e){return t=st(22,t,null,e),t.lanes=0,t}function Jd(t,e,a){return wr(e,t.child,null,a),t=Cp(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function xp(t,e,a){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),Ad(t.return,e,a)}function Kd(t,e,a,i,o,f){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o,treeForkCount:f}:(d.isBackwards=e,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=a,d.tailMode=o,d.treeForkCount=f)}function Hp(t,e,a){var i=e.pendingProps,o=i.revealOrder,f=i.tail,d=i.children,h=bl.current;if((i=(h&o0)!==0)?(h=h&im|o0,e.flags|=128):h&=im,ot(bl,h,e),h=o??"null",o!=="forwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!gE[h])if(gE[h]=!0,o==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(o==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof o=="string")switch(o.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);h=f??"null",Yv[h]||(f==null?(o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&(Yv[h]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(Yv[h]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(Yv[h]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));t:if((o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&d!==void 0&&d!==null&&d!==!1)if(fl(d)){for(h=0;h<d.length;h++)if(!Me(d[h],h))break t}else if(h=ee(d),typeof h=="function"){if(h=h.call(d))for(var g=h.next(),S=0;!g.done;g=h.next()){if(!Me(g.value,S))break t;S++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o);if(Ol(t,e,d,a),Pt?(_i(),d=Ky):d=0,!i&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&xp(t,a,e);else if(t.tag===19)xp(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(o){case"forwards":for(a=e.child,o=null;a!==null;)t=a.alternate,t!==null&&Mc(t)===null&&(o=a),a=a.sibling;a=o,a===null?(o=e.child,e.child=null):(o=a.sibling,a.sibling=null),Kd(e,!1,o,a,f,d);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&Mc(t)===null){e.child=o;break}t=o.sibling,o.sibling=a,a=o,o=t}Kd(e,!0,a,null,f,d);break;case"together":Kd(e,!1,null,null,void 0,d);break;default:e.memoizedState=null}return e.child}function Cn(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Ja=-1,Lf|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Dn(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error("Resuming work not yet implemented.");if(e.child!==null){for(t=e.child,a=tu(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=tu(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function $d(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&wo(t)))}function gg(t,e,a){switch(e.tag){case 3:hl(e,e.stateNode.containerInfo),ln(e,Ml,t.memoizedState.cache),Ri();break;case 27:case 5:et(e);break;case 4:hl(e,e.stateNode.containerInfo);break;case 10:ln(e,e.type,e.memoizedProps.value);break;case 12:(a&e.childLanes)!==0&&(e.flags|=4),e.flags|=2048;var i=e.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 31:if(e.memoizedState!==null)return e.flags|=128,Mn(e),null;break;case 13:if(i=e.memoizedState,i!==null)return i.dehydrated!==null?(aa(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Zd(t,e,a):(aa(e),t=Cn(t,e,a),t!==null?t.sibling:null);aa(e);break;case 19:var o=(t.flags&128)!==0;if(i=(a&e.childLanes)!==0,i||(Dn(t,e,a,!1),i=(a&e.childLanes)!==0),o){if(i)return Hp(t,e,a);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ot(bl,bl.current,e),i)break;return null;case 22:return e.lanes=0,Dp(t,e,a,e.pendingProps);case 24:ln(e,Ml,t.memoizedState.cache)}return Cn(t,e,a)}function Zs(t,e,a){if(e._debugNeedsRemount&&t!==null){a=Ec(e.type,e.key,e.pendingProps,e._debugOwner||null,e.mode,e.lanes),a._debugStack=e._debugStack,a._debugTask=e._debugTask;var i=e.return;if(i===null)throw Error("Cannot swap the root fiber.");if(t.alternate=null,e.alternate=null,a.index=e.index,a.sibling=e.sibling,a.return=e.return,a.ref=e.ref,a._debugInfo=e._debugInfo,e===i.child)i.child=a;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==e;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=a}return e=i.deletions,e===null?(i.deletions=[t],i.flags|=16):e.push(t),a.flags|=2,a}if(t!==null)if(t.memoizedProps!==e.pendingProps||e.type!==t.type)xl=!0;else{if(!$d(t,a)&&(e.flags&128)===0)return xl=!1,gg(t,e,a);xl=(t.flags&131072)!==0}else xl=!1,(i=Pt)&&(_i(),i=(e.flags&1048576)!==0),i&&(i=e.index,_i(),np(e,Ky,i));switch(e.lanes=0,e.tag){case 16:t:if(i=e.pendingProps,t=xa(e.elementType),e.type=t,typeof t=="function")ep(t)?(i=ru(t,i),e.tag=1,e.type=t=Di(t),e=Xc(null,e,t,i,a)):(e.tag=0,$o(e,t),e.type=t=Di(t),e=Rp(null,e,t,i,a));else{if(t!=null){if(o=t.$$typeof,o===bf){e.tag=11,e.type=t=bd(t),e=pg(null,e,t,i,a);break t}else if(o===vr){e.tag=14,e=Ap(null,e,t,i,a);break t}}throw e="",t!==null&&typeof t=="object"&&t.$$typeof===Jl&&(e=" Did you wrap a component in React.lazy() more than once?"),a=ut(t)||t,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+e)}return e;case 0:return Rp(t,e,e.type,e.pendingProps,a);case 1:return i=e.type,o=ru(i,e.pendingProps),Xc(t,e,i,o,a);case 3:t:{if(hl(e,e.stateNode.containerInfo),t===null)throw Error("Should have a current fiber. This is a bug in React.");i=e.pendingProps;var f=e.memoizedState;o=f.element,au(t,e),uu(e,i,null,a);var d=e.memoizedState;if(i=d.cache,ln(e,Ml,i),i!==f.cache&&Zu(e,[Ml],a,!0),jo(),i=d.element,f.isDehydrated)if(f={element:i,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=f,e.memoizedState=f,e.flags&256){e=Up(t,e,i,a);break t}else if(i!==o){o=Pl(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),Ss(o),e=Up(t,e,i,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Le=Xa(t.firstChild),ma=e,Pt=!0,wf=null,ac=!1,Ln=null,Cu=!0,a=J2(e,null,i,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Ri(),i===o){e=Cn(t,e,a);break t}Ol(t,e,i,a)}e=e.child}return e;case 26:return Vs(t,e),t===null?(a=hy(e.type,null,e.pendingProps,null))?e.memoizedState=a:Pt||(a=e.type,t=e.pendingProps,i=Be(La.current),i=ir(i).createElement(a),i[Ge]=e,i[ha]=t,Ye(i,a,t),Pe(i),e.stateNode=i):e.memoizedState=hy(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return et(e),t===null&&Pt&&(i=Be(La.current),o=$(),i=e.stateNode=ci(e.type,e.pendingProps,i,o,!1),ac||(o=Ta(i,e.type,e.pendingProps,o),o!==null&&(Ac(e,0).serverProps=o)),ma=e,Cu=!0,o=Le,Fi(e.type)?(kb=o,Le=Xa(i.firstChild)):Le=o),Ol(t,e,e.pendingProps.children,a),Vs(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Pt&&(f=$(),i=ss(e.type,f.ancestorInfo),o=Le,(d=!o)||(d=Kg(o,e.type,e.pendingProps,Cu),d!==null?(e.stateNode=d,ac||(f=Ta(d,e.type,e.pendingProps,f),f!==null&&(Ac(e,0).serverProps=f)),ma=e,Le=Xa(d.firstChild),Cu=!1,f=!0):f=!1,d=!f),d&&(i&&Ql(e,o),en(e))),et(e),o=e.type,f=e.pendingProps,d=t!==null?t.memoizedProps:null,i=f.children,sf(o,f)?i=null:d!==null&&sf(o,d)&&(e.flags|=32),e.memoizedState!==null&&(o=mp(t,e,Ms,null,null,a),O0._currentValue=o),Vs(t,e),Ol(t,e,i,a),e.child;case 6:return t===null&&Pt&&(a=e.pendingProps,t=$(),i=t.ancestorInfo.current,a=i!=null?rs(a,i.tag,t.ancestorInfo.implicitRootScope):!0,t=Le,(i=!t)||(i=$g(t,e.pendingProps,Cu),i!==null?(e.stateNode=i,ma=e,Le=null,i=!0):i=!1,i=!i),i&&(a&&Ql(e,t),en(e))),null;case 13:return Zd(t,e,a);case 4:return hl(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=wr(e,null,i,a):Ol(t,e,i,a),e.child;case 11:return pg(t,e,e.type,e.pendingProps,a);case 7:return Ol(t,e,e.pendingProps,a),e.child;case 8:return Ol(t,e,e.pendingProps.children,a),e.child;case 12:return e.flags|=4,e.flags|=2048,i=e.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,Ol(t,e,e.pendingProps.children,a),e.child;case 10:return i=e.type,o=e.pendingProps,f=o.value,"value"in o||vE||(vE=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),ln(e,i,f),Ol(t,e,o.children,a),e.child;case 9:return o=e.type._context,i=e.pendingProps.children,typeof i!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Ui(e),o=re(o),i=hb(i,o,void 0),e.flags|=1,Ol(t,e,i,a),e.child;case 14:return Ap(t,e,e.type,e.pendingProps,a);case 15:return zp(t,e,e.type,e.pendingProps,a);case 19:return Hp(t,e,a);case 31:return yg(t,e,a);case 22:return Dp(t,e,a,e.pendingProps);case 24:return Ui(e),i=re(Ml),t===null?(o=$u(),o===null&&(o=He,f=zd(),o.pooledCache=f,Dc(f),f!==null&&(o.pooledCacheLanes|=a),o=f),e.memoizedState={parent:i,cache:o},Wt(e),ln(e,Ml,o)):((t.lanes&a)!==0&&(au(t,e),uu(e,null,null,a),jo()),o=t.memoizedState,f=e.memoizedState,o.parent!==i?(o={parent:i,cache:i},e.memoizedState=o,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=o),ln(e,Ml,i)):(i=f.cache,ln(e,Ml,i),i!==o.cache&&Zu(e,[Ml],a,!0))),Ol(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function du(t){t.flags|=4}function kd(t,e,a,i,o){if((e=(t.mode&Q3)!==Ot)&&(e=!1),e){if(t.flags|=16777216,(o&335544128)===o)if(t.stateNode.complete)t.flags|=8192;else if(Wp())t.flags|=8192;else throw Hr=Hv,pb}else t.flags&=-16777217}function vg(t,e){if(e.type!=="stylesheet"||(e.state.loading&Bu)!==Zr)t.flags&=-16777217;else if(t.flags|=16777216,!kt(e))if(Wp())t.flags|=8192;else throw Hr=Hv,pb}function Fo(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Ir():536870912,t.lanes|=e,Yr|=e)}function Wo(t,e){if(!Pt)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null}}function Ae(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,i=0;if(e)if((t.mode&Lt)!==Ot){for(var o=t.selfBaseDuration,f=t.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags&65011712,i|=f.flags&65011712,o+=f.treeBaseDuration,f=f.sibling;t.treeBaseDuration=o}else for(o=t.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=t,o=o.sibling;else if((t.mode&Lt)!==Ot){o=t.actualDuration,f=t.selfBaseDuration;for(var d=t.child;d!==null;)a|=d.lanes|d.childLanes,i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,f+=d.treeBaseDuration,d=d.sibling;t.actualDuration=o,t.treeBaseDuration=f}else for(o=t.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=i,t.childLanes=a,e}function wp(t,e,a){var i=e.pendingProps;switch(Td(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ae(e),null;case 1:return Ae(e),null;case 3:return a=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),zn(Ml,e),H(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(zc(e)?(Mi(),du(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,bs())),Ae(e),null;case 26:var o=e.type,f=e.memoizedState;return t===null?(du(e),f!==null?(Ae(e),vg(e,f)):(Ae(e),kd(e,o,null,i,a))):f?f!==t.memoizedState?(du(e),Ae(e),vg(e,f)):(Ae(e),e.flags&=-16777217):(t=t.memoizedProps,t!==i&&du(e),Ae(e),kd(e,o,t,i,a)),null;case 27:if(St(e),a=Be(La.current),o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&du(e);else{if(!i){if(e.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Ae(e),null}t=$(),zc(e)?up(e):(t=ci(o,i,a,t,!0),e.stateNode=t,du(e))}return Ae(e),null;case 5:if(St(e),o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&du(e);else{if(!i){if(e.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Ae(e),null}var d=$();if(zc(e))up(e);else{switch(f=Be(La.current),ss(o,d.ancestorInfo),d=d.context,f=ir(f),d){case vm:f=f.createElementNS(jt,o);break;case u1:f=f.createElementNS(wt,o);break;default:switch(o){case"svg":f=f.createElementNS(jt,o);break;case"math":f=f.createElementNS(wt,o);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof i.is=="string"?f.createElement("select",{is:i.is}):f.createElement("select"),i.multiple?f.multiple=!0:i.size&&(f.size=i.size);break;default:f=typeof i.is=="string"?f.createElement(o,{is:i.is}):f.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||Va.call(LE,o)||(LE[o]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",o)))}}f[Ge]=e,f[ha]=i;t:for(d=e.child;d!==null;){if(d.tag===5||d.tag===6)f.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break t;for(;d.sibling===null;){if(d.return===null||d.return===e)break t;d=d.return}d.sibling.return=d.return,d=d.sibling}e.stateNode=f;t:switch(Ye(f,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&du(e)}}return Ae(e),kd(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&du(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(t=Be(La.current),a=$(),zc(e)){if(t=e.stateNode,a=e.memoizedProps,o=!ac,i=null,f=ma,f!==null)switch(f.tag){case 3:o&&(o=Wg(t,a,i),o!==null&&(Ac(e,0).serverProps=o));break;case 27:case 5:i=f.memoizedProps,o&&(o=Wg(t,a,i),o!==null&&(Ac(e,0).serverProps=o))}t[Ge]=e,t=!!(t.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||cy(t.nodeValue,a)),t||en(e,!0)}else o=a.ancestorInfo.current,o!=null&&rs(i,o.tag,a.ancestorInfo.implicitRootScope),t=ir(t).createTextNode(i),t[Ge]=e,e.stateNode=t}return Ae(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(i=zc(e),a!==null){if(t===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");t[Ge]=e,Ae(e),(e.mode&Lt)!==Ot&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else Mi(),Ri(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,Ae(e),(e.mode&Lt)!==Ot&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=bs(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(zl(e),e):(zl(e),null);if((e.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Ae(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(o=i,f=zc(e),o!==null&&o.dehydrated!==null){if(t===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=e.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[Ge]=e,Ae(e),(e.mode&Lt)!==Ot&&o!==null&&(o=e.child,o!==null&&(e.treeBaseDuration-=o.treeBaseDuration))}else Mi(),Ri(),(e.flags&128)===0&&(o=e.memoizedState=null),e.flags|=4,Ae(e),(e.mode&Lt)!==Ot&&o!==null&&(o=e.child,o!==null&&(e.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=bs(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=o),o=!0;if(!o)return e.flags&256?(zl(e),e):(zl(e),null)}return zl(e),(e.flags&128)!==0?(e.lanes=a,(e.mode&Lt)!==Ot&&_c(e),e):(a=i!==null,t=t!==null&&t.memoizedState!==null,a&&(i=e.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),f=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),f!==o&&(i.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),Fo(e,e.updateQueue),Ae(e),(e.mode&Lt)!==Ot&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return H(e),t===null&&$i(e.stateNode.containerInfo),Ae(e),null;case 10:return zn(e.type,e),Ae(e),null;case 19:if(Ut(bl,e),i=e.memoizedState,i===null)return Ae(e),null;if(o=(e.flags&128)!==0,f=i.rendering,f===null)if(o)Wo(i,!1);else{if(Ie!==yo||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=Mc(t),f!==null){for(e.flags|=128,Wo(i,!1),t=f.updateQueue,e.updateQueue=t,Fo(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)lp(a,t),a=a.sibling;return ot(bl,bl.current&im|o0,e),Pt&&An(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&Rl()>Jv&&(e.flags|=128,o=!0,Wo(i,!1),e.lanes=4194304)}else{if(!o)if(t=Mc(f),t!==null){if(e.flags|=128,o=!0,t=t.updateQueue,e.updateQueue=t,Fo(e,t),Wo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!f.alternate&&!Pt)return Ae(e),null}else 2*Rl()-i.renderingStartTime>Jv&&a!==536870912&&(e.flags|=128,o=!0,Wo(i,!1),e.lanes=4194304);i.isBackwards?(f.sibling=e.child,e.child=f):(t=i.last,t!==null?t.sibling=f:e.child=f,i.last=f)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Rl(),t.sibling=null,a=bl.current,a=o?a&im|o0:a&im,ot(bl,a,e),Pt&&An(e,i.treeForkCount),t):(Ae(e),null);case 22:case 23:return zl(e),Rn(e),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(a&536870912)!==0&&(e.flags&128)===0&&(Ae(e),e.subtreeFlags&6&&(e.flags|=8192)):Ae(e),a=e.updateQueue,a!==null&&Fo(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==a&&(e.flags|=2048),t!==null&&Ut(Cr,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),zn(Ml,e),Ae(e),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function bg(t,e){switch(Td(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&Lt)!==Ot&&_c(e),e):null;case 3:return zn(Ml,e),H(e),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return St(e),null;case 31:if(e.memoizedState!==null){if(zl(e),e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ri()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&Lt)!==Ot&&_c(e),e):null;case 13:if(zl(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ri()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&Lt)!==Ot&&_c(e),e):null;case 19:return Ut(bl,e),null;case 4:return H(e),null;case 10:return zn(e.type,e),null;case 22:case 23:return zl(e),Rn(e),t!==null&&Ut(Cr,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&Lt)!==Ot&&_c(e),e):null;case 24:return zn(Ml,e),null;case 25:return null;default:return null}}function Np(t,e){switch(Td(e),e.tag){case 3:zn(Ml,e),H(e);break;case 26:case 27:case 5:St(e);break;case 4:H(e);break;case 31:e.memoizedState!==null&&zl(e);break;case 13:zl(e);break;case 19:Ut(bl,e);break;case 10:zn(e.type,e);break;case 22:case 23:zl(e),Rn(e),t!==null&&Ut(Cr,e);break;case 24:zn(Ml,e)}}function hu(t){return(t.mode&Lt)!==Ot}function Sg(t,e){hu(t)?($e(),li(e,t),ea()):li(e,t)}function Fd(t,e,a){hu(t)?($e(),Li(a,t,e),ea()):Li(a,t,e)}function li(t,e){try{var a=e.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next;a=o;do{if((a.tag&t)===t&&(i=void 0,(t&Ka)!==Nv&&(pm=!0),i=rt(e,F3,a),(t&Ka)!==Nv&&(pm=!1),i!==void 0&&typeof i!="function")){var f=void 0;f=(a.tag&Qn)!==0?"useLayoutEffect":(a.tag&Ka)!==0?"useInsertionEffect":"useEffect";var d=void 0;d=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
|
|
165
|
+
|
|
166
|
+
It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
167
|
+
|
|
168
|
+
`+f+`(() => {
|
|
169
|
+
async function fetchData() {
|
|
170
|
+
// You can await here
|
|
171
|
+
const response = await MyAPI.getData(someId);
|
|
172
|
+
// ...
|
|
173
|
+
}
|
|
174
|
+
fetchData();
|
|
175
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
176
|
+
|
|
177
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,rt(e,function(h,g){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,g)},f,d)}a=a.next}while(a!==o)}}catch(h){qt(e,e.return,h)}}function Li(t,e,a){try{var i=e.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var f=o.next;i=f;do{if((i.tag&t)===t){var d=i.inst,h=d.destroy;h!==void 0&&(d.destroy=void 0,(t&Ka)!==Nv&&(pm=!0),o=e,rt(o,W3,o,a,h),(t&Ka)!==Nv&&(pm=!1))}i=i.next}while(i!==f)}}catch(g){qt(e,e.return,g)}}function Js(t,e){hu(t)?($e(),li(e,t),ea()):li(e,t)}function Wd(t,e,a){hu(t)?($e(),Li(a,t,e),ea()):Li(a,t,e)}function Bp(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;t.type.defaultProps||"ref"in t.memoizedProps||sm||(a.props!==t.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ct(t)||"instance"),a.state!==t.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ct(t)||"instance"));try{rt(t,Yo,e,a)}catch(i){qt(t,t.return,i)}}}function Ks(t,e,a){return t.getSnapshotBeforeUpdate(e,a)}function Eg(t,e){var a=e.memoizedProps,i=e.memoizedState;e=t.stateNode,t.type.defaultProps||"ref"in t.memoizedProps||sm||(e.props!==t.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ct(t)||"instance"),e.state!==t.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ct(t)||"instance"));try{var o=ru(t.type,a),f=rt(t,Ks,e,o,i);a=bE,f!==void 0||a.has(t.type)||(a.add(t.type),rt(t,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ct(t))})),e.__reactInternalSnapshotBeforeUpdate=f}catch(d){qt(t,t.return,d)}}function Id(t,e,a){a.props=ru(t.type,t.memoizedProps),a.state=t.memoizedState,hu(t)?($e(),rt(t,j2,t,e,a),ea()):rt(t,j2,t,e,a)}function Tg(t){var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}if(typeof e=="function")if(hu(t))try{$e(),t.refCleanup=e(a)}finally{ea()}else t.refCleanup=e(a);else typeof e=="string"?console.error("String refs are no longer supported."):e.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ct(t)),e.current=a}}function Lc(t,e){try{rt(t,Tg,t)}catch(a){qt(t,e,a)}}function on(t,e){var a=t.ref,i=t.refCleanup;if(a!==null)if(typeof i=="function")try{if(hu(t))try{$e(),rt(t,i)}finally{ea(t)}else rt(t,i)}catch(o){qt(t,e,o)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{if(hu(t))try{$e(),rt(t,a,null)}finally{ea(t)}else rt(t,a,null)}catch(o){qt(t,e,o)}else a.current=null}function qp(t,e,a,i){var o=t.memoizedProps,f=o.id,d=o.onCommit;o=o.onRender,e=e===null?"mount":"update",Mv&&(e="nested-update"),typeof o=="function"&&o(f,e,t.actualDuration,t.treeBaseDuration,t.actualStartTime,a),typeof d=="function"&&d(f,e,i,a)}function Ag(t,e,a,i){var o=t.memoizedProps;t=o.id,o=o.onPostCommit,e=e===null?"mount":"update",Mv&&(e="nested-update"),typeof o=="function"&&o(t,e,i,a)}function Vi(t){var e=t.type,a=t.memoizedProps,i=t.stateNode;try{rt(t,Bg,i,e,a,t)}catch(o){qt(t,t.return,o)}}function Pd(t,e,a){try{rt(t,bh,t.stateNode,t.type,a,e,t)}catch(i){qt(t,t.return,i)}}function jp(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Fi(t.type)||t.tag===4}function th(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||jp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Fi(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Io(t,e,a){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?(jg(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e)):(jg(a),e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=Pa));else if(i!==4&&(i===27&&Fi(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Io(t,e,a),t=t.sibling;t!==null;)Io(t,e,a),t=t.sibling}function $s(t,e,a){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(i!==4&&(i===27&&Fi(t.type)&&(a=t.stateNode),t=t.child,t!==null))for($s(t,e,a),t=t.sibling;t!==null;)$s(t,e,a),t=t.sibling}function Yp(t){for(var e,a=t.return;a!==null;){if(jp(a)){e=a;break}a=a.return}if(e==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(e.tag){case 27:e=e.stateNode,a=th(t),$s(t,a,e);break;case 5:a=e.stateNode,e.flags&32&&(Sh(a),e.flags&=-33),e=th(t),$s(t,e,a);break;case 3:case 4:e=e.stateNode.containerInfo,a=th(t),Io(t,a,e);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Gp(t){var e=t.stateNode,a=t.memoizedProps;try{rt(t,Eu,t.type,a,e,t)}catch(i){qt(t,t.return,i)}}function Xp(t,e){return e.tag===31?(e=e.memoizedState,t.memoizedState!==null&&e===null):e.tag===13?(t=t.memoizedState,e=e.memoizedState,t!==null&&t.dehydrated!==null&&(e===null||e.dehydrated===null)):e.tag===3?t.memoizedState.isDehydrated&&(e.flags&256)===0:!1}function B1(t,e){if(t=t.containerInfo,Jb=f1,t=pd(t),$m(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var o=i.anchorOffset,f=i.focusNode;i=i.focusOffset;try{a.nodeType,f.nodeType}catch{a=null;break t}var d=0,h=-1,g=-1,S=0,U=0,x=t,z=null;e:for(;;){for(var Y;x!==a||o!==0&&x.nodeType!==3||(h=d+o),x!==f||i!==0&&x.nodeType!==3||(g=d+i),x.nodeType===3&&(d+=x.nodeValue.length),(Y=x.firstChild)!==null;)z=x,x=Y;for(;;){if(x===t)break e;if(z===a&&++S===o&&(h=d),z===f&&++U===i&&(g=d),(Y=x.nextSibling)!==null)break;x=z,z=x.parentNode}x=Y}a=h===-1||g===-1?null:{start:h,end:g}}else a=null}a=a||{start:0,end:0}}else a=null;for(Kb={focusedElem:t,selectionRange:a},f1=!1,kl=e;kl!==null;)if(e=kl,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,kl=t;else for(;kl!==null;){switch(t=e=kl,a=t.alternate,o=t.flags,t.tag){case 0:if((o&4)!==0&&(t=t.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)o=t[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:(o&1024)!==0&&a!==null&&Eg(t,a);break;case 3:if((o&1024)!==0){if(t=t.stateNode.containerInfo,a=t.nodeType,a===9)df(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":df(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(t=e.sibling,t!==null){t.return=e.return,kl=t;break}kl=e.return}}function eh(t,e,a){var i=qe(),o=an(),f=Ua(),d=nn(),h=a.flags;switch(a.tag){case 0:case 11:case 15:qa(t,a),h&4&&Sg(a,Qn|wu);break;case 1:if(qa(t,a),h&4)if(t=a.stateNode,e===null)a.type.defaultProps||"ref"in a.memoizedProps||sm||(t.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ct(a)||"instance"),t.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ct(a)||"instance")),hu(a)?($e(),rt(a,mb,a,t),ea()):rt(a,mb,a,t);else{var g=ru(a.type,e.memoizedProps);e=e.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||sm||(t.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ct(a)||"instance"),t.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ct(a)||"instance")),hu(a)?($e(),rt(a,N2,a,t,g,e,t.__reactInternalSnapshotBeforeUpdate),ea()):rt(a,N2,a,t,g,e,t.__reactInternalSnapshotBeforeUpdate)}h&64&&Bp(a),h&512&&Lc(a,a.return);break;case 3:if(e=lu(),qa(t,a),h&64&&(h=a.updateQueue,h!==null)){if(g=null,a.child!==null)switch(a.child.tag){case 27:case 5:g=a.child.stateNode;break;case 1:g=a.child.stateNode}try{rt(a,Yo,h,g)}catch(U){qt(a,a.return,U)}}t.effectDuration+=No(e);break;case 27:e===null&&h&4&&Gp(a);case 26:case 5:if(qa(t,a),e===null){if(h&4)Vi(a);else if(h&64){t=a.type,e=a.memoizedProps,g=a.stateNode;try{rt(a,qg,g,t,e,a)}catch(U){qt(a,a.return,U)}}}h&512&&Lc(a,a.return);break;case 12:if(h&4){h=lu(),qa(t,a),t=a.stateNode,t.effectDuration+=ta(h);try{rt(a,qp,a,e,Nf,t.effectDuration)}catch(U){qt(a,a.return,U)}}else qa(t,a);break;case 31:qa(t,a),h&4&&Vp(t,a);break;case 13:qa(t,a),h&4&&Qp(t,a),h&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(h=ni.bind(null,a),kg(t,h))));break;case 22:if(h=a.memoizedState!==null||po,!h){e=e!==null&&e.memoizedState!==null||Hl,g=po;var S=Hl;po=h,(Hl=e)&&!S?(xn(t,a,(a.subtreeFlags&8772)!==0),(a.mode&Lt)!==Ot&&0<=bt&&0<=zt&&.05<zt-bt&&yd(a,bt,zt)):qa(t,a),po=g,Hl=S}break;case 30:break;default:qa(t,a)}(a.mode&Lt)!==Ot&&0<=bt&&0<=zt&&((ul||.05<We)&&Tn(a,bt,zt,We,Ke),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<zt-bt&&(Xp(a.return.alternate,a.return)||tn(a,bt,zt,"Mount"))),Tl(i),Ma(o),Ke=f,ul=d}function al(t){var e=t.alternate;e!==null&&(t.alternate=null,al(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Hm(e)),t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function we(t,e,a){for(a=a.child;a!==null;)Lp(t,e,a),a=a.sibling}function Lp(t,e,a){if(gl&&typeof gl.onCommitFiberUnmount=="function")try{gl.onCommitFiberUnmount(eo,a)}catch(S){Au||(Au=!0,console.error("React instrumentation encountered an error: %o",S))}var i=qe(),o=an(),f=Ua(),d=nn();switch(a.tag){case 26:Hl||on(a,e),we(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(t=a.stateNode,t.parentNode.removeChild(t));break;case 27:Hl||on(a,e);var h=wl,g=hn;Fi(a.type)&&(wl=a.stateNode,hn=!1),we(t,e,a),rt(a,oi,a.stateNode),wl=h,hn=g;break;case 5:Hl||on(a,e);case 6:if(h=wl,g=hn,wl=null,we(t,e,a),wl=h,hn=g,wl!==null)if(hn)try{rt(a,Gg,wl,a.stateNode)}catch(S){qt(a,e,S)}else try{rt(a,Yg,wl,a.stateNode)}catch(S){qt(a,e,S)}break;case 18:wl!==null&&(hn?(t=wl,Kc(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Wc(t)):Kc(wl,a.stateNode));break;case 4:h=wl,g=hn,wl=a.stateNode.containerInfo,hn=!0,we(t,e,a),wl=h,hn=g;break;case 0:case 11:case 14:case 15:Li(Ka,a,e),Hl||Fd(a,e,Qn),we(t,e,a);break;case 1:Hl||(on(a,e),h=a.stateNode,typeof h.componentWillUnmount=="function"&&Id(a,e,h)),we(t,e,a);break;case 21:we(t,e,a);break;case 22:Hl=(h=Hl)||a.memoizedState!==null,we(t,e,a),Hl=h;break;default:we(t,e,a)}(a.mode&Lt)!==Ot&&0<=bt&&0<=zt&&(ul||.05<We)&&Tn(a,bt,zt,We,Ke),Tl(i),Ma(o),Ke=f,ul=d}function Vp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{rt(e,Eh,t)}catch(a){qt(e,e.return,a)}}}function Qp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{rt(e,ry,t)}catch(a){qt(e,e.return,a)}}function zg(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new SE),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new SE),e;default:throw Error("Unexpected Suspense handler tag ("+t.tag+"). This is a bug in React.")}}function Qi(t,e){var a=zg(t);e.forEach(function(i){if(!a.has(i)){if(a.add(i),zu)if(rm!==null&&dm!==null)nf(dm,rm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var o=Zc.bind(null,t,i);i.then(o,o)}})}function ia(t,e){var a=e.deletions;if(a!==null)for(var i=0;i<a.length;i++){var o=t,f=e,d=a[i],h=qe(),g=f;t:for(;g!==null;){switch(g.tag){case 27:if(Fi(g.type)){wl=g.stateNode,hn=!1;break t}break;case 5:wl=g.stateNode,hn=!1;break t;case 3:case 4:wl=g.stateNode.containerInfo,hn=!0;break t}g=g.return}if(wl===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Lp(o,f,d),wl=null,hn=!1,(d.mode&Lt)!==Ot&&0<=bt&&0<=zt&&.05<zt-bt&&tn(d,bt,zt,"Unmount"),Tl(h),o=d,f=o.alternate,f!==null&&(f.return=null),o.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)ks(e,t),e=e.sibling}function ks(t,e){var a=qe(),i=an(),o=Ua(),f=nn(),d=t.alternate,h=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ia(e,t),ca(t),h&4&&(Li(Ka|wu,t,t.return),li(Ka|wu,t),Fd(t,t.return,Qn|wu));break;case 1:if(ia(e,t),ca(t),h&512&&(Hl||d===null||on(d,d.return)),h&64&&po&&(h=t.updateQueue,h!==null&&(d=h.callbacks,d!==null))){var g=h.shared.hiddenCallbacks;h.shared.hiddenCallbacks=g===null?d:g.concat(d)}break;case 26:if(g=mi,ia(e,t),ca(t),h&512&&(Hl||d===null||on(d,d.return)),h&4){var S=d!==null?d.memoizedState:null;if(h=t.memoizedState,d===null)if(h===null)if(t.stateNode===null){t:{h=t.type,d=t.memoizedProps,g=g.ownerDocument||g;e:switch(h){case"title":S=g.getElementsByTagName("title")[0],(!S||S[_f]||S[Ge]||S.namespaceURI===jt||S.hasAttribute("itemprop"))&&(S=g.createElement(h),g.head.insertBefore(S,g.querySelector("head > title"))),Ye(S,h,d),S[Ge]=t,Pe(S),h=S;break t;case"link":var U=pf("link","href",g).get(h+(d.href||""));if(U){for(var x=0;x<U.length;x++)if(S=U[x],S.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&S.getAttribute("rel")===(d.rel==null?null:d.rel)&&S.getAttribute("title")===(d.title==null?null:d.title)&&S.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){U.splice(x,1);break e}}S=g.createElement(h),Ye(S,h,d),g.head.appendChild(S);break;case"meta":if(U=pf("meta","content",g).get(h+(d.content||""))){for(x=0;x<U.length;x++)if(S=U[x],Ee(d.content,"content"),S.getAttribute("content")===(d.content==null?null:""+d.content)&&S.getAttribute("name")===(d.name==null?null:d.name)&&S.getAttribute("property")===(d.property==null?null:d.property)&&S.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&S.getAttribute("charset")===(d.charSet==null?null:d.charSet)){U.splice(x,1);break e}}S=g.createElement(h),Ye(S,h,d),g.head.appendChild(S);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+h+'". This is a bug in React.')}S[Ge]=t,Pe(S),h=S}t.stateNode=h}else Pg(g,t.type,t.stateNode);else t.stateNode=zh(g,h,t.memoizedProps);else S!==h?(S===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):S.count--,h===null?Pg(g,t.type,t.stateNode):zh(g,h,t.memoizedProps)):h===null&&t.stateNode!==null&&Pd(t,t.memoizedProps,d.memoizedProps)}break;case 27:ia(e,t),ca(t),h&512&&(Hl||d===null||on(d,d.return)),d!==null&&h&4&&Pd(t,t.memoizedProps,d.memoizedProps);break;case 5:if(ia(e,t),ca(t),h&512&&(Hl||d===null||on(d,d.return)),t.flags&32){g=t.stateNode;try{rt(t,Sh,g)}catch(ft){qt(t,t.return,ft)}}h&4&&t.stateNode!=null&&(g=t.memoizedProps,Pd(t,g,d!==null?d.memoizedProps:g)),h&1024&&(_b=!0,t.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(ia(e,t),ca(t),h&4){if(t.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");h=t.memoizedProps,d=d!==null?d.memoizedProps:h,g=t.stateNode;try{rt(t,q1,g,d,h)}catch(ft){qt(t,t.return,ft)}}break;case 3:if(g=lu(),i1=null,S=mi,mi=Th(e.containerInfo),ia(e,t),mi=S,ca(t),h&4&&d!==null&&d.memoizedState.isDehydrated)try{rt(t,sy,e.containerInfo)}catch(ft){qt(t,t.return,ft)}_b&&(_b=!1,Dg(t)),e.effectDuration+=No(g);break;case 4:h=mi,mi=Th(t.stateNode.containerInfo),ia(e,t),ca(t),mi=h;break;case 12:h=lu(),ia(e,t),ca(t),t.stateNode.effectDuration+=ta(h);break;case 31:ia(e,t),ca(t),h&4&&(h=t.updateQueue,h!==null&&(t.updateQueue=null,Qi(t,h)));break;case 13:ia(e,t),ca(t),t.child.flags&8192&&t.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(Zv=Rl()),h&4&&(h=t.updateQueue,h!==null&&(t.updateQueue=null,Qi(t,h)));break;case 22:g=t.memoizedState!==null;var z=d!==null&&d.memoizedState!==null,Y=po,nt=Hl;if(po=Y||g,Hl=nt||z,ia(e,t),Hl=nt,po=Y,z&&!g&&!Y&&!nt&&(t.mode&Lt)!==Ot&&0<=bt&&0<=zt&&.05<zt-bt&&yd(t,bt,zt),ca(t),h&8192)t:for(e=t.stateNode,e._visibility=g?e._visibility&~Jy:e._visibility|Jy,!g||d===null||z||po||Hl||(Zi(t),(t.mode&Lt)!==Ot&&0<=bt&&0<=zt&&.05<zt-bt&&tn(t,bt,zt,"Disconnect")),d=null,e=t;;){if(e.tag===5||e.tag===26){if(d===null){z=d=e;try{S=z.stateNode,g?rt(z,Lg,S):rt(z,Zg,z.stateNode,z.memoizedProps)}catch(ft){qt(z,z.return,ft)}}}else if(e.tag===6){if(d===null){z=e;try{U=z.stateNode,g?rt(z,Vg,U):rt(z,Jg,U,z.memoizedProps)}catch(ft){qt(z,z.return,ft)}}}else if(e.tag===18){if(d===null){z=e;try{x=z.stateNode,g?rt(z,Xg,x):rt(z,Qg,z.stateNode)}catch(ft){qt(z,z.return,ft)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;d===e&&(d=null),e=e.return}d===e&&(d=null),e.sibling.return=e.return,e=e.sibling}h&4&&(h=t.updateQueue,h!==null&&(d=h.retryQueue,d!==null&&(h.retryQueue=null,Qi(t,d))));break;case 19:ia(e,t),ca(t),h&4&&(h=t.updateQueue,h!==null&&(t.updateQueue=null,Qi(t,h)));break;case 30:break;case 21:break;default:ia(e,t),ca(t)}(t.mode&Lt)!==Ot&&0<=bt&&0<=zt&&((ul||.05<We)&&Tn(t,bt,zt,We,Ke),t.alternate===null&&t.return!==null&&t.return.alternate!==null&&.05<zt-bt&&(Xp(t.return.alternate,t.return)||tn(t,bt,zt,"Mount"))),Tl(a),Ma(i),Ke=o,ul=f}function ca(t){var e=t.flags;if(e&2){try{rt(t,Yp,t)}catch(a){qt(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Dg(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Dg(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function qa(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)eh(t,e.alternate,e),e=e.sibling}function lh(t){var e=qe(),a=an(),i=Ua(),o=nn();switch(t.tag){case 0:case 11:case 14:case 15:Fd(t,t.return,Qn),Zi(t);break;case 1:on(t,t.return);var f=t.stateNode;typeof f.componentWillUnmount=="function"&&Id(t,t.return,f),Zi(t);break;case 27:rt(t,oi,t.stateNode);case 26:case 5:on(t,t.return),Zi(t);break;case 22:t.memoizedState===null&&Zi(t);break;case 30:Zi(t);break;default:Zi(t)}(t.mode&Lt)!==Ot&&0<=bt&&0<=zt&&(ul||.05<We)&&Tn(t,bt,zt,We,Ke),Tl(e),Ma(a),Ke=i,ul=o}function Zi(t){for(t=t.child;t!==null;)lh(t),t=t.sibling}function Zp(t,e,a,i){var o=qe(),f=an(),d=Ua(),h=nn(),g=a.flags;switch(a.tag){case 0:case 11:case 15:xn(t,a,i),Sg(a,Qn);break;case 1:if(xn(t,a,i),e=a.stateNode,typeof e.componentDidMount=="function"&&rt(a,mb,a,e),e=a.updateQueue,e!==null){t=a.stateNode;try{rt(a,dp,e,t)}catch(S){qt(a,a.return,S)}}i&&g&64&&Bp(a),Lc(a,a.return);break;case 27:Gp(a);case 26:case 5:xn(t,a,i),i&&e===null&&g&4&&Vi(a),Lc(a,a.return);break;case 12:if(i&&g&4){g=lu(),xn(t,a,i),i=a.stateNode,i.effectDuration+=ta(g);try{rt(a,qp,a,e,Nf,i.effectDuration)}catch(S){qt(a,a.return,S)}}else xn(t,a,i);break;case 31:xn(t,a,i),i&&g&4&&Vp(t,a);break;case 13:xn(t,a,i),i&&g&4&&Qp(t,a);break;case 22:a.memoizedState===null&&xn(t,a,i),Lc(a,a.return);break;case 30:break;default:xn(t,a,i)}(a.mode&Lt)!==Ot&&0<=bt&&0<=zt&&(ul||.05<We)&&Tn(a,bt,zt,We,Ke),Tl(o),Ma(f),Ke=d,ul=h}function xn(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;)Zp(t,e.alternate,e,a),e=e.sibling}function Fs(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&Dc(t),a!=null&&Ts(a))}function Ws(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(Dc(e),t!=null&&Ts(t))}function ja(t,e,a,i,o){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(e=e.child;e!==null;){var f=e.sibling;Jp(t,e,a,i,f!==null?f.actualStartTime:o),e=f}}function Jp(t,e,a,i,o){var f=qe(),d=an(),h=Ua(),g=nn(),S=Cf,U=e.flags;switch(e.tag){case 0:case 11:case 15:(e.mode&Lt)!==Ot&&0<e.actualStartTime&&(e.flags&1)!==0&&gd(e,e.actualStartTime,o,Xl,a),ja(t,e,a,i,o),U&2048&&Js(e,$a|wu);break;case 1:(e.mode&Lt)!==Ot&&0<e.actualStartTime&&((e.flags&128)!==0?Fm(e,e.actualStartTime,o,[]):(e.flags&1)!==0&&gd(e,e.actualStartTime,o,Xl,a)),ja(t,e,a,i,o);break;case 3:var x=lu(),z=Xl;Xl=e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)===0,ja(t,e,a,i,o),Xl=z,U&2048&&(a=null,e.alternate!==null&&(a=e.alternate.memoizedState.cache),i=e.memoizedState.cache,i!==a&&(Dc(i),a!=null&&Ts(a))),t.passiveEffectDuration+=No(x);break;case 12:if(U&2048){U=lu(),ja(t,e,a,i,o),t=e.stateNode,t.passiveEffectDuration+=ta(U);try{rt(e,Ag,e,e.alternate,Nf,t.passiveEffectDuration)}catch(Y){qt(e,e.return,Y)}}else ja(t,e,a,i,o);break;case 31:U=Xl,x=e.alternate!==null?e.alternate.memoizedState:null,z=e.memoizedState,x!==null&&z===null?(z=e.deletions,z!==null&&0<z.length&&z[0].tag===18?(Xl=!1,x=x.hydrationErrors,x!==null&&Fm(e,e.actualStartTime,o,x)):Xl=!0):Xl=!1,ja(t,e,a,i,o),Xl=U;break;case 13:U=Xl,x=e.alternate!==null?e.alternate.memoizedState:null,z=e.memoizedState,x===null||x.dehydrated===null||z!==null&&z.dehydrated!==null?Xl=!1:(z=e.deletions,z!==null&&0<z.length&&z[0].tag===18?(Xl=!1,x=x.hydrationErrors,x!==null&&Fm(e,e.actualStartTime,o,x)):Xl=!0),ja(t,e,a,i,o),Xl=U;break;case 23:break;case 22:z=e.stateNode,x=e.alternate,e.memoizedState!==null?z._visibility&no?ja(t,e,a,i,o):Vc(t,e,a,i,o):z._visibility&no?ja(t,e,a,i,o):(z._visibility|=no,Ji(t,e,a,i,(e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child),o),(e.mode&Lt)===Ot||Xl||(t=e.actualStartTime,0<=t&&.05<o-t&&yd(e,t,o),0<=bt&&0<=zt&&.05<zt-bt&&yd(e,bt,zt))),U&2048&&Fs(x,e);break;case 24:ja(t,e,a,i,o),U&2048&&Ws(e.alternate,e);break;default:ja(t,e,a,i,o)}(e.mode&Lt)!==Ot&&((t=!Xl&&e.alternate===null&&e.return!==null&&e.return.alternate!==null)&&(a=e.actualStartTime,0<=a&&.05<o-a&&tn(e,a,o,"Mount")),0<=bt&&0<=zt&&((ul||.05<We)&&Tn(e,bt,zt,We,Ke),t&&.05<zt-bt&&tn(e,bt,zt,"Mount"))),Tl(f),Ma(d),Ke=h,ul=g,Cf=S}function Ji(t,e,a,i,o,f){for(o=o&&((e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child)),e=e.child;e!==null;){var d=e.sibling;Is(t,e,a,i,o,d!==null?d.actualStartTime:f),e=d}}function Is(t,e,a,i,o,f){var d=qe(),h=an(),g=Ua(),S=nn(),U=Cf;o&&(e.mode&Lt)!==Ot&&0<e.actualStartTime&&(e.flags&1)!==0&&gd(e,e.actualStartTime,f,Xl,a);var x=e.flags;switch(e.tag){case 0:case 11:case 15:Ji(t,e,a,i,o,f),Js(e,$a);break;case 23:break;case 22:var z=e.stateNode;e.memoizedState!==null?z._visibility&no?Ji(t,e,a,i,o,f):Vc(t,e,a,i,f):(z._visibility|=no,Ji(t,e,a,i,o,f)),o&&x&2048&&Fs(e.alternate,e);break;case 24:Ji(t,e,a,i,o,f),o&&x&2048&&Ws(e.alternate,e);break;default:Ji(t,e,a,i,o,f)}(e.mode&Lt)!==Ot&&0<=bt&&0<=zt&&(ul||.05<We)&&Tn(e,bt,zt,We,Ke),Tl(d),Ma(h),Ke=g,ul=S,Cf=U}function Vc(t,e,a,i,o){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(var f=e.child;f!==null;){e=f.sibling;var d=t,h=a,g=i,S=e!==null?e.actualStartTime:o,U=Cf;(f.mode&Lt)!==Ot&&0<f.actualStartTime&&(f.flags&1)!==0&&gd(f,f.actualStartTime,S,Xl,h);var x=f.flags;switch(f.tag){case 22:Vc(d,f,h,g,S),x&2048&&Fs(f.alternate,f);break;case 24:Vc(d,f,h,g,S),x&2048&&Ws(f.alternate,f);break;default:Vc(d,f,h,g,S)}Cf=U,f=e}}function Qc(t,e,a){if(t.subtreeFlags&d0)for(t=t.child;t!==null;)ah(t,e,a),t=t.sibling}function ah(t,e,a){switch(t.tag){case 26:Qc(t,e,a),t.flags&d0&&t.memoizedState!==null&&yy(a,mi,t.memoizedState,t.memoizedProps);break;case 5:Qc(t,e,a);break;case 3:case 4:var i=mi;mi=Th(t.stateNode.containerInfo),Qc(t,e,a),mi=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=d0,d0=16777216,Qc(t,e,a),d0=i):Qc(t,e,a));break;default:Qc(t,e,a)}}function Kp(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Ya(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var i=e[a],o=qe();kl=i,mu(i,t),(i.mode&Lt)!==Ot&&0<=bt&&0<=zt&&.05<zt-bt&&tn(i,bt,zt,"Unmount"),Tl(o)}Kp(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)nh(t),t=t.sibling}function nh(t){var e=qe(),a=an(),i=Ua(),o=nn();switch(t.tag){case 0:case 11:case 15:Ya(t),t.flags&2048&&Wd(t,t.return,$a|wu);break;case 3:var f=lu();Ya(t),t.stateNode.passiveEffectDuration+=No(f);break;case 12:f=lu(),Ya(t),t.stateNode.passiveEffectDuration+=ta(f);break;case 22:f=t.stateNode,t.memoizedState!==null&&f._visibility&no&&(t.return===null||t.return.tag!==13)?(f._visibility&=~no,uh(t),(t.mode&Lt)!==Ot&&0<=bt&&0<=zt&&.05<zt-bt&&tn(t,bt,zt,"Disconnect")):Ya(t);break;default:Ya(t)}(t.mode&Lt)!==Ot&&0<=bt&&0<=zt&&(ul||.05<We)&&Tn(t,bt,zt,We,Ke),Tl(e),Ma(a),ul=o,Ke=i}function uh(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var i=e[a],o=qe();kl=i,mu(i,t),(i.mode&Lt)!==Ot&&0<=bt&&0<=zt&&.05<zt-bt&&tn(i,bt,zt,"Unmount"),Tl(o)}Kp(t)}for(t=t.child;t!==null;)$p(t),t=t.sibling}function $p(t){var e=qe(),a=an(),i=Ua(),o=nn();switch(t.tag){case 0:case 11:case 15:Wd(t,t.return,$a),uh(t);break;case 22:var f=t.stateNode;f._visibility&no&&(f._visibility&=~no,uh(t));break;default:uh(t)}(t.mode&Lt)!==Ot&&0<=bt&&0<=zt&&(ul||.05<We)&&Tn(t,bt,zt,We,Ke),Tl(e),Ma(a),ul=o,Ke=i}function mu(t,e){for(;kl!==null;){var a=kl,i=a,o=e,f=qe(),d=an(),h=Ua(),g=nn();switch(i.tag){case 0:case 11:case 15:Wd(i,o,$a);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool,o!=null&&Dc(o));break;case 24:Ts(i.memoizedState.cache)}if((i.mode&Lt)!==Ot&&0<=bt&&0<=zt&&(ul||.05<We)&&Tn(i,bt,zt,We,Ke),Tl(f),Ma(d),ul=g,Ke=h,i=a.child,i!==null)i.return=a,kl=i;else t:for(a=t;kl!==null;){if(i=kl,f=i.sibling,d=i.return,al(i),i===a){kl=null;break t}if(f!==null){f.return=d,kl=f;break t}kl=d}}}function kp(){lz.forEach(function(t){return t()})}function Fp(){var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return t||X.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),t}function Zl(t){if((oe&Ll)!==Fl&&Qt!==0)return Qt&-Qt;var e=X.T;return e!==null?(e._updatedFibers||(e._updatedFibers=new Set),e._updatedFibers.add(t),iy()):V0()}function Po(){if(pn===0)if((Qt&536870912)===0||Pt){var t=Er;Er<<=1,(Er&3932160)===0&&(Er=262144),pn=t}else pn=536870912;return t=Vn.current,t!==null&&(t.flags|=32),pn}function Rt(t,e,a){if(pm&&console.error("useInsertionEffect must not schedule updates."),jb&&(kv=!0),(t===He&&(_e===qr||_e===jr)||t.cancelPendingCommit!==null)&&(pu(t,0),fn(t,Qt,pn,!1)),bi(t,a),(oe&Ll)!==Fl&&t===He){if(Tu)switch(e.tag){case 0:case 11:case 15:t=$t&&ct($t)||"Unknown",NE.has(t)||(NE.add(t),e=ct(e)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",e,t,t));break;case 1:wE||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),wE=!0)}}else zu&&ya(t,e,a),lr(e),t===He&&((oe&Ll)===Fl&&(Vf|=a),Ie===Gf&&fn(t,Qt,pn,!1)),Sa(t)}function Og(t,e,a){if((oe&(Ll|Zn))!==Fl)throw Error("Should not already be working.");if(Qt!==0&&$t!==null){var i=$t,o=Rl();switch(_2){case p0:case qr:var f=Iy;Xe&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Suspended",f,o,Ou,void 0,"primary-light")):console.timeStamp("Suspended",f,o,Ou,void 0,"primary-light"));break;case jr:f=Iy,Xe&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Action",f,o,Ou,void 0,"primary-light")):console.timeStamp("Action",f,o,Ou,void 0,"primary-light"));break;default:Xe&&(i=o-Iy,3>i||console.timeStamp("Blocked",Iy,o,Ou,void 0,5>i?"primary-light":10>i?"primary":100>i?"primary-dark":"error"))}}f=(a=!a&&(e&127)===0&&(e&t.expiredLanes)===0||Bl(t,e))?ai(t,e):lf(t,e,!0);var d=a;do{if(f===yo){hm&&!a&&fn(t,e,0,!1),e=_e,Iy=Ul(),_2=e;break}else{if(i=Rl(),o=t.current.alternate,d&&!Rg(o)){En(e),o=$l,f=i,!Xe||f<=o||(sl?sl.run(console.timeStamp.bind(console,"Teared Render",o,f,ue,ae,"error")):console.timeStamp("Teared Render",o,f,ue,ae,"error")),Ki(e,i),f=lf(t,e,!1),d=!1;continue}if(f===Br){if(d=e,t.errorRecoveryDisabledLanes&d)var h=0;else h=t.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){En(e),Wm($l,i,e,sl),Ki(e,i),e=h;t:{i=t,f=d,d=g0;var g=i.current.memoizedState.isDehydrated;if(g&&(pu(i,h).flags|=256),h=lf(i,h,!1),h!==Br){if(Ub&&!g){i.errorRecoveryDisabledLanes|=f,Vf|=f,f=Gf;break t}i=ka,ka=d,i!==null&&(ka===null?ka=i:ka.push.apply(ka,i))}f=h}if(d=!1,f!==Br)continue;i=Rl()}}if(f===m0){En(e),Wm($l,i,e,sl),Ki(e,i),pu(t,0),fn(t,e,0,!0);break}t:{switch(a=t,f){case yo:case m0:throw Error("Root did not complete. This is a bug in React.");case Gf:if((e&4194048)!==e)break;case Xv:En(e),lg($l,i,e,sl),Ki(e,i),o=e,(o&127)!==0?Ov=i:(o&4194048)!==0&&(_v=i),fn(a,e,pn,!Xf);break t;case Br:ka=null;break;case Gv:case EE:break;default:throw Error("Unknown root exit status.")}if(X.actQueue!==null)Ue(a,o,e,ka,v0,Qv,pn,Vf,Yr,f,null,null,$l,i);else{if((e&62914560)===e&&(d=Zv+zE-Rl(),10<d)){if(fn(a,e,pn,!Xf),Wr(a,0,!0)!==0)break t;pi=e,a.timeoutHandle=VE(_g.bind(null,a,o,ka,v0,Qv,e,pn,Vf,Yr,Xf,f,"Throttled",$l,i),d);break t}_g(a,o,ka,v0,Qv,e,pn,Vf,Yr,Xf,f,null,$l,i)}}}break}while(!0);Sa(t)}function _g(t,e,a,i,o,f,d,h,g,S,U,x,z,Y){t.timeoutHandle=Qr;var nt=e.subtreeFlags,ft=null;if((nt&8192||(nt&16785408)===16785408)&&(ft={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Pa},ah(e,f,ft),nt=(f&62914560)===f?Zv-Rl():(f&4194048)===f?AE-Rl():0,nt=Dh(ft,nt),nt!==null)){pi=f,t.cancelPendingCommit=nt(Ue.bind(null,t,e,f,a,i,o,d,h,g,U,ft,ft.waitingForViewTransition?"Waiting for the previous Animation":0<ft.count?0<ft.imgCount?"Suspended on CSS and Images":"Suspended on CSS":ft.imgCount===1?"Suspended on an Image":0<ft.imgCount?"Suspended on Images":null,z,Y)),fn(t,f,d,!S);return}Ue(t,e,f,a,i,o,d,h,g,U,ft,x,z,Y)}function Rg(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var o=a[i],f=o.getSnapshot;o=o.value;try{if(!Za(f(),o))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function fn(t,e,a,i){e&=~Cb,e&=~Vf,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var o=e;0<o;){var f=31-Yl(o),d=1<<f;i[f]=-1,o&=~d}a!==0&&xm(t,a,e)}function Ga(){return(oe&(Ll|Zn))===Fl?(gu(0),!1):!0}function ih(){if($t!==null){if(_e===mn)var t=$t.return;else t=$t,Ho(),xi(t),nm=null,c0=0,t=$t;for(;t!==null;)Np(t.alternate,t),t=t.return;$t=null}}function Ki(t,e){(t&127)!==0&&(_r=e),(t&4194048)!==0&&(fo=e),(t&62914560)!==0&&(D2=e),(t&2080374784)!==0&&(O2=e)}function pu(t,e){Xe&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",ae,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",ae,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",ae,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",ae,"primary-light"));var a=$l;if($l=Ul(),Qt!==0&&0<a){if(En(Qt),Ie===Gv||Ie===Gf)lg(a,$l,e,sl);else{var i=$l,o=sl;if(Xe&&!(i<=a)){var f=(e&738197653)===e?"tertiary-dark":"primary-dark",d=(e&536870912)===e?"Prewarm":(e&201326741)===e?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,d,a,i,ue,ae,f)):console.timeStamp(d,a,i,ue,ae,f)}}Ki(Qt,$l)}if(a=sl,sl=null,(e&127)!==0){sl=ky,o=0<=nc&&nc<_r?_r:nc,i=0<=Rr&&Rr<_r?_r:Rr,f=0<=i?i:0<=o?o:$l,0<=Ov?(En(2),ag(Ov,f,e,a)):Rv&127,a=o;var h=i,g=Fy,S=0<em,U=Bf===$y,x=Bf===Dv;if(o=$l,i=ky,f=fb,d=sb,Xe){if(ue="Blocking",0<a?a>o&&(a=o):a=o,0<h?h>a&&(h=a):h=a,g!==null&&a>h){var z=S?"secondary-light":"warning";i?i.run(console.timeStamp.bind(console,S?"Consecutive":"Event: "+g,h,a,ue,ae,z)):console.timeStamp(S?"Consecutive":"Event: "+g,h,a,ue,ae,z)}o>a&&(h=U?"error":(e&738197653)===e?"tertiary-light":"primary-light",U=x?"Promise Resolved":U?"Cascading Update":5<o-a?"Update Blocked":"Update",x=[],d!=null&&x.push(["Component name",d]),f!=null&&x.push(["Method name",f]),a={start:a,end:o,detail:{devtools:{properties:x,track:ue,trackGroup:ae,color:h}}},i?i.run(performance.measure.bind(performance,U,a)):performance.measure(U,a))}nc=-1.1,Bf=0,sb=fb=null,Ov=-1.1,em=Rr,Rr=-1.1,_r=Ul()}if((e&4194048)!==0&&(sl=Wy,o=0<=so&&so<fo?fo:so,a=0<=xu&&xu<fo?fo:xu,i=0<=qf&&qf<fo?fo:qf,f=0<=i?i:0<=a?a:$l,0<=_v?(En(256),ag(_v,f,e,sl)):Rv&4194048,x=i,h=Mr,g=0<jf,S=rb===Dv,f=$l,i=Wy,d=A2,U=z2,Xe&&(ue="Transition",0<a?a>f&&(a=f):a=f,0<o?o>a&&(o=a):o=a,0<x?x>o&&(x=o):x=o,o>x&&h!==null&&(z=g?"secondary-light":"warning",i?i.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+h,x,o,ue,ae,z)):console.timeStamp(g?"Consecutive":"Event: "+h,x,o,ue,ae,z)),a>o&&(i?i.run(console.timeStamp.bind(console,"Action",o,a,ue,ae,"primary-dark")):console.timeStamp("Action",o,a,ue,ae,"primary-dark")),f>a&&(o=S?"Promise Resolved":5<f-a?"Update Blocked":"Update",x=[],U!=null&&x.push(["Component name",U]),d!=null&&x.push(["Method name",d]),a={start:a,end:f,detail:{devtools:{properties:x,track:ue,trackGroup:ae,color:"primary-light"}}},i?i.run(performance.measure.bind(performance,o,a)):performance.measure(o,a))),xu=so=-1.1,rb=0,_v=-1.1,jf=qf,qf=-1.1,fo=Ul()),(e&62914560)!==0&&(Rv&62914560)!==0&&(En(4194304),Im(D2,$l)),(e&2080374784)!==0&&(Rv&2080374784)!==0&&(En(268435456),Im(O2,$l)),a=t.timeoutHandle,a!==Qr&&(t.timeoutHandle=Qr,pz(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),pi=0,ih(),He=t,$t=a=tu(t.current,null),Qt=e,_e=mn,Jn=null,Xf=!1,hm=Bl(t,e),Ub=!1,Ie=yo,Yr=pn=Cb=Vf=Lf=0,ka=g0=null,Qv=!1,(e&8)!==0&&(e|=e&32),i=t.entangledLanes,i!==0)for(t=t.entanglements,i&=e;0<i;)o=31-Yl(i),f=1<<o,e|=t[o],i&=~f;return ic=e,vd(),t=g2(),1e3<t-y2&&(X.recentlyCreatedOwnerStacks=0,y2=t),di.discardPendingWarnings(),a}function Hn(t,e){xt=null,X.H=r0,X.getCurrentStack=null,Tu=!1,za=null,e===am||e===xv?(e=Rc(),_e=p0):e===pb?(e=Rc(),_e=TE):_e=e===Db?Mb:e!==null&&typeof e=="object"&&typeof e.then=="function"?y0:Lv,Jn=e;var a=$t;a===null?(Ie=m0,Xs(t,Pl(e,t.current))):a.mode&Lt&&Dd(a)}function Wp(){var t=Vn.current;return t===null?!0:(Qt&4194048)===Qt?Hu===null:(Qt&62914560)===Qt||(Qt&536870912)!==0?t===Hu:!1}function ch(){var t=X.H;return X.H=r0,t===null?r0:t}function Ip(){var t=X.A;return X.A=ez,t}function tf(t){sl===null&&(sl=t._debugTask==null?null:t._debugTask)}function ef(){Ie=Gf,Xf||(Qt&4194048)!==Qt&&Vn.current!==null||(hm=!0),(Lf&134217727)===0&&(Vf&134217727)===0||He===null||fn(He,Qt,pn,!1)}function lf(t,e,a){var i=oe;oe|=Ll;var o=ch(),f=Ip();if(He!==t||Qt!==e){if(zu){var d=t.memoizedUpdaters;0<d.size&&(nf(t,Qt),d.clear()),Gu(t,e)}v0=null,pu(t,e)}e=!1,d=Ie;t:do try{if(_e!==mn&&$t!==null){var h=$t,g=Jn;switch(_e){case Mb:ih(),d=Xv;break t;case p0:case qr:case jr:case y0:Vn.current===null&&(e=!0);var S=_e;if(_e=mn,Jn=null,af(t,h,g,S),a&&hm){d=yo;break t}break;default:S=_e,_e=mn,Jn=null,af(t,h,g,S)}}Pp(),d=Ie;break}catch(U){Hn(t,U)}while(!0);return e&&t.shellSuspendCounter++,Ho(),oe=i,X.H=o,X.A=f,$t===null&&(He=null,Qt=0,vd()),d}function Pp(){for(;$t!==null;)oh($t)}function ai(t,e){var a=oe;oe|=Ll;var i=ch(),o=Ip();if(He!==t||Qt!==e){if(zu){var f=t.memoizedUpdaters;0<f.size&&(nf(t,Qt),f.clear()),Gu(t,e)}v0=null,Jv=Rl()+DE,pu(t,e)}else hm=Bl(t,e);t:do try{if(_e!==mn&&$t!==null)e:switch(e=$t,f=Jn,_e){case Lv:_e=mn,Jn=null,af(t,e,f,Lv);break;case qr:case jr:if(sp(f)){_e=mn,Jn=null,ty(e);break}e=function(){_e!==qr&&_e!==jr||He!==t||(_e=Vv),Sa(t)},f.then(e,e);break t;case p0:_e=Vv;break t;case TE:_e=Rb;break t;case Vv:sp(f)?(_e=mn,Jn=null,ty(e)):(_e=mn,Jn=null,af(t,e,f,Vv));break;case Rb:var d=null;switch($t.tag){case 26:d=$t.memoizedState;case 5:case 27:var h=$t;if(d?kt(d):h.stateNode.complete){_e=mn,Jn=null;var g=h.sibling;if(g!==null)$t=g;else{var S=h.return;S!==null?($t=S,Ps(S)):$t=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}_e=mn,Jn=null,af(t,e,f,Rb);break;case y0:_e=mn,Jn=null,af(t,e,f,y0);break;case Mb:ih(),Ie=Xv;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}X.actQueue!==null?Pp():ol();break}catch(U){Hn(t,U)}while(!0);return Ho(),X.H=i,X.A=o,oe=a,$t!==null?yo:(He=null,Qt=0,vd(),Ie)}function ol(){for(;$t!==null&&!Bh();)oh($t)}function oh(t){var e=t.alternate;(t.mode&Lt)!==Ot?(Ju(t),e=rt(t,Zs,e,t,ic),Dd(t)):e=rt(t,Zs,e,t,ic),t.memoizedProps=t.pendingProps,e===null?Ps(t):$t=e}function ty(t){var e=rt(t,_l,t);t.memoizedProps=t.pendingProps,e===null?Ps(t):$t=e}function _l(t){var e=t.alternate,a=(t.mode&Lt)!==Ot;switch(a&&Ju(t),t.tag){case 15:case 0:e=Mp(e,t,t.pendingProps,t.type,void 0,Qt);break;case 11:e=Mp(e,t,t.pendingProps,t.type.render,t.ref,Qt);break;case 5:xi(t);default:Np(e,t),t=$t=lp(t,ic),e=Zs(e,t,ic)}return a&&Dd(t),e}function af(t,e,a,i){Ho(),xi(e),nm=null,c0=0;var o=e.return;try{if(Tp(t,o,e,a,Qt)){Ie=m0,Xs(t,Pl(a,t.current)),$t=null;return}}catch(f){if(o!==null)throw $t=o,f;Ie=m0,Xs(t,Pl(a,t.current)),$t=null;return}e.flags&32768?(Pt||i===Lv?t=!0:hm||(Qt&536870912)!==0?t=!1:(Xf=t=!0,(i===qr||i===jr||i===p0||i===y0)&&(i=Vn.current,i!==null&&i.tag===13&&(i.flags|=16384))),ey(e,t)):Ps(e)}function Ps(t){var e=t;do{if((e.flags&32768)!==0){ey(e,Xf);return}var a=e.alternate;if(t=e.return,Ju(e),a=rt(e,wp,a,e,ic),(e.mode&Lt)!==Ot&&As(e),a!==null){$t=a;return}if(e=e.sibling,e!==null){$t=e;return}$t=e=t}while(e!==null);Ie===yo&&(Ie=EE)}function ey(t,e){do{var a=bg(t.alternate,t);if(a!==null){a.flags&=32767,$t=a;return}if((t.mode&Lt)!==Ot){As(t),a=t.actualDuration;for(var i=t.child;i!==null;)a+=i.actualDuration,i=i.sibling;t.actualDuration=a}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){$t=t;return}$t=t=a}while(t!==null);Ie=Xv,$t=null}function Ue(t,e,a,i,o,f,d,h,g,S,U,x,z,Y){t.cancelPendingCommit=null;do tr();while(Nl!==Zf);if(di.flushLegacyContextWarning(),di.flushPendingUnsafeLifecycleWarnings(),(oe&(Ll|Zn))!==Fl)throw Error("Should not already be working.");if(En(a),S===Br?Wm(z,Y,a,sl):i!==null?x1(z,Y,a,i,e!==null&&e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)!==0,sl):C1(z,Y,a,sl),e!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),e===t.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(f=e.lanes|e.childLanes,f|=nb,_1(t,a,f,d,h,g),t===He&&($t=He=null,Qt=0),mm=e,Jf=t,pi=a,wb=f,Bb=o,CE=i,Nb=Y,xE=x,yi=Kv,HE=null,e.actualDuration!==0||(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,uf(to,function(){return z0=window.event,yi===Kv&&(yi=Hb),er(),null})):(t.callbackNode=null,t.callbackPriority=0),oo=null,Nf=Ul(),x!==null&&H1(Y,Nf,x,sl),i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=X.T,X.T=null,o=he.p,he.p=vl,d=oe,oe|=Zn;try{B1(t,e,a)}finally{oe=d,he.p=o,X.T=i}}Nl=_E,oa(),yu(),ly()}}function oa(){if(Nl===_E){Nl=Zf;var t=Jf,e=mm,a=pi,i=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||i){i=X.T,X.T=null;var o=he.p;he.p=vl;var f=oe;oe|=Zn;try{rm=a,dm=t,Oc(),ks(e,t),dm=rm=null,a=Kb;var d=pd(t.containerInfo),h=a.focusedElem,g=a.selectionRange;if(d!==h&&h&&h.ownerDocument&&I0(h.ownerDocument.documentElement,h)){if(g!==null&&$m(h)){var S=g.start,U=g.end;if(U===void 0&&(U=S),"selectionStart"in h)h.selectionStart=S,h.selectionEnd=Math.min(U,h.value.length);else{var x=h.ownerDocument||document,z=x&&x.defaultView||window;if(z.getSelection){var Y=z.getSelection(),nt=h.textContent.length,ft=Math.min(g.start,nt),Ne=g.end===void 0?ft:Math.min(g.end,nt);!Y.extend&&ft>Ne&&(d=Ne,Ne=ft,ft=d);var ne=W0(h,ft),A=W0(h,Ne);if(ne&&A&&(Y.rangeCount!==1||Y.anchorNode!==ne.node||Y.anchorOffset!==ne.offset||Y.focusNode!==A.node||Y.focusOffset!==A.offset)){var D=x.createRange();D.setStart(ne.node,ne.offset),Y.removeAllRanges(),ft>Ne?(Y.addRange(D),Y.extend(A.node,A.offset)):(D.setEnd(A.node,A.offset),Y.addRange(D))}}}}for(x=[],Y=h;Y=Y.parentNode;)Y.nodeType===1&&x.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<x.length;h++){var R=x[h];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}f1=!!Jb,Kb=Jb=null}finally{oe=f,he.p=o,X.T=i}}t.current=e,Nl=RE}}function yu(){if(Nl===RE){Nl=Zf;var t=HE;if(t!==null){Nf=Ul();var e=co,a=Nf;!Xe||a<=e||console.timeStamp(t,e,a,ue,ae,"secondary-light")}t=Jf,e=mm,a=pi;var i=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||i){i=X.T,X.T=null;var o=he.p;he.p=vl;var f=oe;oe|=Zn;try{rm=a,dm=t,Oc(),eh(t,e.alternate,e),dm=rm=null}finally{oe=f,he.p=o,X.T=i}}t=Nb,e=xE,co=Ul(),t=e===null?t:Nf,e=co,a=yi===xb,i=sl,oo!==null?ng(t,e,oo,!1,i):!Xe||e<=t||(i?i.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",t,e,ue,ae,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",t,e,ue,ae,a?"error":"secondary-dark")),Nl=ME}}function ly(){if(Nl===UE||Nl===ME){if(Nl===UE){var t=co;co=Ul();var e=co,a=yi===xb;!Xe||e<=t||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",t,e,ue,ae,a?" error":"secondary-light"),yi!==xb&&(yi=OE)}Nl=Zf,qh(),t=Jf;var i=mm;e=pi,a=CE;var o=i.actualDuration!==0||(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0;o?Nl=$v:(Nl=Zf,mm=Jf=null,ay(t,t.pendingLanes),Gr=0,S0=null);var f=t.pendingLanes;if(f===0&&(Qf=null),o||rh(t),f=Wl(e),i=i.stateNode,gl&&typeof gl.onCommitFiberRoot=="function")try{var d=(i.current.flags&128)===128;switch(f){case vl:var h=Hy;break;case Gl:h=jh;break;case Kl:h=to;break;case ec:h=Yh;break;default:h=to}gl.onCommitFiberRoot(eo,i,h,d)}catch(x){Au||(Au=!0,console.error("React instrumentation encountered an error: %o",x))}if(zu&&t.memoizedUpdaters.clear(),kp(),a!==null){d=X.T,h=he.p,he.p=vl,X.T=null;try{var g=t.onRecoverableError;for(i=0;i<a.length;i++){var S=a[i],U=Mg(S.stack);rt(S.source,g,S.value,U)}}finally{X.T=d,he.p=h}}(pi&3)!==0&&tr(),Sa(t),f=t.pendingLanes,(e&261930)!==0&&(f&42)!==0?(Uv=!0,t===qb?b0++:(b0=0,qb=t)):b0=0,o||Ki(e,co),gu(0)}}function Mg(t){return t={componentStack:t},Object.defineProperty(t,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),t}function ay(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Ts(e)))}function tr(){return oa(),yu(),ly(),er()}function er(){if(Nl!==$v)return!1;var t=Jf,e=wb;wb=0;var a=Wl(pi),i=Kl>a?Kl:a;a=X.T;var o=he.p;try{he.p=i,X.T=null;var f=Bb;Bb=null,i=Jf;var d=pi;if(Nl=Zf,mm=Jf=null,pi=0,(oe&(Ll|Zn))!==Fl)throw Error("Cannot flush passive effects while already rendering.");En(d),jb=!0,kv=!1;var h=0;if(oo=null,h=Rl(),yi===OE)Im(co,h,$3);else{var g=co,S=h,U=yi===Hb;!Xe||S<=g||(sl?sl.run(console.timeStamp.bind(console,U?"Waiting for Paint":"Waiting",g,S,ue,ae,"secondary-light")):console.timeStamp(U?"Waiting for Paint":"Waiting",g,S,ue,ae,"secondary-light"))}g=oe,oe|=Zn;var x=i.current;Oc(),nh(x);var z=i.current;x=Nb,Oc(),Jp(i,z,d,f,x),rh(i),oe=g;var Y=Rl();if(z=h,x=sl,oo!==null?ng(z,Y,oo,!0,x):!Xe||Y<=z||(x?x.run(console.timeStamp.bind(console,"Remaining Effects",z,Y,ue,ae,"secondary-dark")):console.timeStamp("Remaining Effects",z,Y,ue,ae,"secondary-dark")),Ki(d,Y),gu(0,!1),kv?i===S0?Gr++:(Gr=0,S0=i):Gr=0,kv=jb=!1,gl&&typeof gl.onPostCommitFiberRoot=="function")try{gl.onPostCommitFiberRoot(eo,i)}catch(ft){Au||(Au=!0,console.error("React instrumentation encountered an error: %o",ft))}var nt=i.current.stateNode;return nt.effectDuration=0,nt.passiveEffectDuration=0,!0}finally{he.p=o,X.T=a,ay(t,e)}}function fa(t,e,a){e=Pl(a,e),sg(e),e=Xd(t.stateNode,e,2),t=nu(t,e,2),t!==null&&(bi(t,2),Sa(t))}function qt(t,e,a){if(pm=!1,t.tag===3)fa(t,t,a);else{for(;e!==null;){if(e.tag===3){fa(e,t,a);return}if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Qf===null||!Qf.has(i))){t=Pl(a,t),sg(t),a=Ld(2),i=nu(e,a,2),i!==null&&(Vd(a,i,e,t),bi(i,2),Sa(i));return}}e=e.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
178
|
+
|
|
179
|
+
Error message:
|
|
180
|
+
|
|
181
|
+
%s`,a)}}function fh(t,e,a){var i=t.pingCache;if(i===null){i=t.pingCache=new az;var o=new Set;i.set(e,o)}else o=i.get(e),o===void 0&&(o=new Set,i.set(e,o));o.has(a)||(Ub=!0,o.add(a),i=ba.bind(null,t,e,a),zu&&nf(t,a),e.then(i,i))}function ba(t,e,a){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,(a&127)!==0?0>nc&&(_r=nc=Ul(),ky=zv("Promise Resolved"),Bf=Dv):(a&4194048)!==0&&0>xu&&(fo=xu=Ul(),Wy=zv("Promise Resolved"),rb=Dv),Fp()&&X.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
182
|
+
|
|
183
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
184
|
+
|
|
185
|
+
act(() => {
|
|
186
|
+
/* finish loading suspended data */
|
|
187
|
+
});
|
|
188
|
+
/* assert on the output */
|
|
189
|
+
|
|
190
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),He===t&&(Qt&a)===a&&(Ie===Gf||Ie===Gv&&(Qt&62914560)===Qt&&Rl()-Zv<zE?(oe&Ll)===Fl&&pu(t,0):Cb|=a,Yr===Qt&&(Yr=0)),Sa(t)}function ny(t,e){e===0&&(e=Ir()),t=Vl(t,e),t!==null&&(bi(t,e),Sa(t))}function ni(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),ny(t,a)}function Zc(t,e){var a=0;switch(t.tag){case 31:case 13:var i=t.stateNode,o=t.memoizedState;o!==null&&(a=o.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(e),ny(t,a)}function wn(t,e,a){if((e.subtreeFlags&67117056)!==0)for(e=e.child;e!==null;){var i=t,o=e,f=o.type===da;f=a||f,o.tag!==22?o.flags&67108864?f&&rt(o,sh,i,o):wn(i,o,f):o.memoizedState===null&&(f&&o.flags&8192?rt(o,sh,i,o):o.subtreeFlags&67108864&&rt(o,wn,i,o,f)),e=e.sibling}}function sh(t,e){Re(!0);try{lh(e),$p(e),Zp(t,e.alternate,e,!1),Is(t,e,0,null,!1,0)}finally{Re(!1)}}function rh(t){var e=!0;t.current.mode&(Da|ri)||(e=!1),wn(t,t.current,e)}function sn(t){if((oe&Ll)===Fl){var e=t.tag;if(e===3||e===1||e===0||e===11||e===14||e===15){if(e=ct(t)||"ReactComponent",Fv!==null){if(Fv.has(e))return;Fv.add(e)}else Fv=new Set([e]);rt(t,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function nf(t,e){zu&&t.memoizedUpdaters.forEach(function(a){ya(t,a,e)})}function uf(t,e){var a=X.actQueue;return a!==null?(a.push(e),iz):xy(t,e)}function lr(t){Fp()&&X.actQueue===null&&rt(t,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
191
|
+
|
|
192
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
193
|
+
|
|
194
|
+
act(() => {
|
|
195
|
+
/* fire events that update state */
|
|
196
|
+
});
|
|
197
|
+
/* assert on the output */
|
|
198
|
+
|
|
199
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,ct(t))})}function Sa(t){t!==ym&&t.next===null&&(ym===null?Wv=ym=t:ym=ym.next=t),Iv=!0,X.actQueue!==null?Gb||(Gb=!0,Cg()):Yb||(Yb=!0,Cg())}function gu(t,e){if(!Xb&&Iv){Xb=!0;do for(var a=!1,i=Wv;i!==null;){if(t!==0){var o=i.pendingLanes;if(o===0)var f=0;else{var d=i.suspendedLanes,h=i.pingedLanes;f=(1<<31-Yl(42|t)+1)-1,f&=o&~(d&~h),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(a=!0,ar(i,f))}else f=Qt,f=Wr(i,i===He?f:0,i.cancelPendingCommit!==null||i.timeoutHandle!==Qr),(f&3)===0||Bl(i,f)||(a=!0,ar(i,f));i=i.next}while(a);Xb=!1}}function Ug(){z0=window.event,dh()}function dh(){Iv=Gb=Yb=!1;var t=0;Kf!==0&&oy()&&(t=Kf);for(var e=Rl(),a=null,i=Wv;i!==null;){var o=i.next,f=cf(i,e);f===0?(i.next=null,a===null?Wv=o:a.next=o,o===null&&(ym=a)):(a=i,(t!==0||(f&3)!==0)&&(Iv=!0)),i=o}Nl!==Zf&&Nl!==$v||gu(t),Kf!==0&&(Kf=0)}function cf(t,e){for(var a=t.suspendedLanes,i=t.pingedLanes,o=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var d=31-Yl(f),h=1<<d,g=o[d];g===-1?((h&a)===0||(h&i)!==0)&&(o[d]=O1(h,e)):g<=e&&(t.expiredLanes|=h),f&=~h}if(e=He,a=Qt,a=Wr(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Qr),i=t.callbackNode,a===0||t===e&&(_e===qr||_e===jr)||t.cancelPendingCommit!==null)return i!==null&&hh(i),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||Bl(t,a)){if(e=a&-a,e!==t.callbackPriority||X.actQueue!==null&&i!==Lb)hh(i);else return e;switch(Wl(a)){case vl:case Gl:a=jh;break;case Kl:a=to;break;case ec:a=Yh;break;default:a=to}return i=uy.bind(null,t),X.actQueue!==null?(X.actQueue.push(i),a=Lb):a=xy(a,i),t.callbackPriority=e,t.callbackNode=a,e}return i!==null&&hh(i),t.callbackPriority=2,t.callbackNode=null,2}function uy(t,e){if(Uv=Mv=!1,z0=window.event,Nl!==Zf&&Nl!==$v)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(yi===Kv&&(yi=Hb),tr()&&t.callbackNode!==a)return null;var i=Qt;return i=Wr(t,t===He?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Qr),i===0?null:(Og(t,i,e),cf(t,Rl()),t.callbackNode!=null&&t.callbackNode===a?uy.bind(null,t):null)}function ar(t,e){if(tr())return null;Mv=Uv,Uv=!1,Og(t,e,!0)}function hh(t){t!==Lb&&t!==null&&Nh(t)}function Cg(){X.actQueue!==null&&X.actQueue.push(function(){return dh(),null}),yz(function(){(oe&(Ll|Zn))!==Fl?xy(Hy,Ug):dh()})}function iy(){if(Kf===0){var t=Ur;t===0&&(t=Df,Df<<=1,(Df&261888)===0&&(Df=256)),Kf=t}return Kf}function fe(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:(Ee(t,"action"),ds(""+t))}function ze(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function It(t,e,a,i,o){if(e==="submit"&&a&&a.stateNode===o){var f=fe((o[ha]||null).action),d=i.submitter;d&&(e=(e=d[ha]||null)?fe(e.formAction):d.getAttribute("formAction"),e!==null&&(f=e,d=null));var h=new gv("action","action",null,i,o);t.push({event:h,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Kf!==0){var g=d?ze(o,d):new FormData(o),S={pending:!0,data:g,method:o.method,action:f};Object.freeze(S),ti(a,S,null,g)}}else typeof f=="function"&&(h.preventDefault(),g=d?ze(o,d):new FormData(o),S={pending:!0,data:g,method:o.method,action:f},Object.freeze(S),ti(a,S,f,g))},currentTarget:o}]})}}function Kt(t,e,a){t.currentTarget=a;try{e(t)}catch(i){tb(i)}t.currentTarget=null}function ge(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var i=t[a];t:{var o=void 0,f=i.event;if(i=i.listeners,e)for(var d=i.length-1;0<=d;d--){var h=i[d],g=h.instance,S=h.currentTarget;if(h=h.listener,g!==o&&f.isPropagationStopped())break t;g!==null?rt(g,Kt,f,h,S):Kt(f,h,S),o=g}else for(d=0;d<i.length;d++){if(h=i[d],g=h.instance,S=h.currentTarget,h=h.listener,g!==o&&f.isPropagationStopped())break t;g!==null?rt(g,Kt,f,h,S):Kt(f,h,S),o=g}}}}function Dt(t,e){Vb.has(t)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var a=e[lo];a===void 0&&(a=e[lo]=new Set);var i=t+"__bubble";a.has(i)||(mh(e,t,2,!1),a.add(i))}function vu(t,e,a){Vb.has(t)&&!e&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var i=0;e&&(i|=4),mh(a,t,i,e)}function $i(t){if(!t[Pv]){t[Pv]=!0,dv.forEach(function(a){a!=="selectionchange"&&(Vb.has(a)||vu(a,!1,t),vu(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Pv]||(e[Pv]=!0,vu("selectionchange",!1,e))}}function mh(t,e,a,i){switch(Rh(e)){case vl:var o=Ey;break;case Gl:o=jl;break;default:o=Ty}a=o.bind(null,e,a,t),o=void 0,!Q1||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),i?o!==void 0?t.addEventListener(e,a,{capture:!0,passive:o}):t.addEventListener(e,a,!0):o!==void 0?t.addEventListener(e,a,{passive:o}):t.addEventListener(e,a,!1)}function Nn(t,e,a,i,o){var f=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var h=i.stateNode.containerInfo;if(h===o)break;if(d===4)for(d=i.return;d!==null;){var g=d.tag;if((g===3||g===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;h!==null;){if(d=Xu(h),d===null)return;if(g=d.tag,g===5||g===6||g===26||g===27){i=f=d;continue t}h=h.parentNode}}i=i.return}rd(function(){var S=f,U=bn(a),x=[];t:{var z=p2.get(t);if(z!==void 0){var Y=gv,nt=t;switch(t){case"keypress":if(hs(a)===0)break t;case"keydown":case"keyup":Y=E3;break;case"focusin":nt="focus",Y=$1;break;case"focusout":nt="blur",Y=$1;break;case"beforeblur":case"afterblur":Y=$1;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=e2;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=f3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=z3;break;case r2:case d2:case h2:Y=d3;break;case m2:Y=O3;break;case"scroll":case"scrollend":Y=c3;break;case"wheel":Y=R3;break;case"copy":case"cut":case"paste":Y=m3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=a2;break;case"toggle":case"beforetoggle":Y=U3}var ft=(e&4)!==0,Ne=!ft&&(t==="scroll"||t==="scrollend"),ne=ft?z!==null?z+"Capture":null:z;ft=[];for(var A=S,D;A!==null;){var R=A;if(D=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||D===null||ne===null||(R=In(A,ne),R!=null&&ft.push(Ce(A,R,D))),Ne)break;A=A.return}0<ft.length&&(z=new Y(z,nt,null,a,U),x.push({event:z,listeners:ft}))}}if((e&7)===0){t:{if(z=t==="mouseover"||t==="pointerover",Y=t==="mouseout"||t==="pointerout",z&&a!==jy&&(nt=a.relatedTarget||a.fromElement)&&(Xu(nt)||nt[si]))break t;if((Y||z)&&(z=U.window===U?U:(z=U.ownerDocument)?z.defaultView||z.parentWindow:window,Y?(nt=a.relatedTarget||a.toElement,Y=S,nt=nt?Xu(nt):null,nt!==null&&(Ne=Tt(nt),ft=nt.tag,nt!==Ne||ft!==5&&ft!==27&&ft!==6)&&(nt=null)):(Y=null,nt=S),Y!==nt)){if(ft=e2,R="onMouseLeave",ne="onMouseEnter",A="mouse",(t==="pointerout"||t==="pointerover")&&(ft=a2,R="onPointerLeave",ne="onPointerEnter",A="pointer"),Ne=Y==null?z:Si(Y),D=nt==null?z:Si(nt),z=new ft(R,A+"leave",Y,a,U),z.target=Ne,z.relatedTarget=D,R=null,Xu(U)===S&&(ft=new ft(ne,A+"enter",nt,a,U),ft.target=D,ft.relatedTarget=Ne,R=ft),Ne=R,Y&&nt)e:{for(ft=Jc,ne=Y,A=nt,D=0,R=ne;R;R=ft(R))D++;R=0;for(var Z=A;Z;Z=ft(Z))R++;for(;0<D-R;)ne=ft(ne),D--;for(;0<R-D;)A=ft(A),R--;for(;D--;){if(ne===A||A!==null&&ne===A.alternate){ft=ne;break e}ne=ft(ne),A=ft(A)}ft=null}else ft=null;Y!==null&&ph(x,z,Y,ft,!1),nt!==null&&Ne!==null&&ph(x,Ne,nt,ft,!0)}}t:{if(z=S?Si(S):window,Y=z.nodeName&&z.nodeName.toLowerCase(),Y==="select"||Y==="input"&&z.type==="file")var it=zi;else if(Zm(z))if(f2)it=gs;else{it=Jm;var Ht=U1}else Y=z.nodeName,!Y||Y.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?S&&Wn(S.elementType)&&(it=zi):it=Km;if(it&&(it=it(t,S))){ps(x,it,a,U);break t}Ht&&Ht(t,z,S),t==="focusout"&&S&&z.type==="number"&&S.memoizedProps.value!=null&&Bm(z,"number",z.value)}switch(Ht=S?Si(S):window,t){case"focusin":(Zm(Ht)||Ht.contentEditable==="true")&&(Kh=Ht,F1=S,Zy=null);break;case"focusout":Zy=F1=Kh=null;break;case"mousedown":W1=!0;break;case"contextmenu":case"mouseup":case"dragend":W1=!1,P0(x,a,U);break;case"selectionchange":if(w3)break;case"keydown":case"keyup":P0(x,a,U)}var vt;if(k1)t:{switch(t){case"compositionstart":var pt="onCompositionStart";break t;case"compositionend":pt="onCompositionEnd";break t;case"compositionupdate":pt="onCompositionUpdate";break t}pt=void 0}else Jh?Ro(t,a)&&(pt="onCompositionEnd"):t==="keydown"&&a.keyCode===n2&&(pt="onCompositionStart");pt&&(u2&&a.locale!=="ko"&&(Jh||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&Jh&&(vt=yc()):(Uf=U,Z1="value"in Uf?Uf.value:Uf.textContent,Jh=!0)),Ht=Bn(S,pt),0<Ht.length&&(pt=new l2(pt,t,null,a,U),x.push({event:pt,listeners:Ht}),vt?pt.data=vt:(vt=Qu(a),vt!==null&&(pt.data=vt)))),(vt=x3?Qm(t,a):dd(t,a))&&(pt=Bn(S,"onBeforeInput"),0<pt.length&&(Ht=new y3("onBeforeInput","beforeinput",null,a,U),x.push({event:Ht,listeners:pt}),Ht.data=vt)),It(x,t,S,a,U)}ge(x,e)})}function Ce(t,e,a){return{instance:t,listener:e,currentTarget:a}}function Bn(t,e){for(var a=e+"Capture",i=[];t!==null;){var o=t,f=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||f===null||(o=In(t,a),o!=null&&i.unshift(Ce(t,o,f)),o=In(t,e),o!=null&&i.push(Ce(t,o,f))),t.tag===3)return i;t=t.return}return[]}function Jc(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ph(t,e,a,i,o){for(var f=e._reactName,d=[];a!==null&&a!==i;){var h=a,g=h.alternate,S=h.stateNode;if(h=h.tag,g!==null&&g===i)break;h!==5&&h!==26&&h!==27||S===null||(g=S,o?(S=In(a,f),S!=null&&d.unshift(Ce(a,S,g))):o||(S=In(a,f),S!=null&&d.push(Ce(a,S,g)))),a=a.return}d.length!==0&&t.push({event:e,listeners:d})}function sa(t,e){$0(t,e),t!=="input"&&t!=="textarea"&&t!=="select"||e==null||e.value!==null||PS||(PS=!0,t==="select"&&e.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));var a={registrationNameDependencies:Du,possibleRegistrationNames:Rf};Wn(t)||typeof e.is=="string"||M1(t,e,a),e.contentEditable&&!e.suppressContentEditableWarning&&e.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Ze(t,e,a,i){e!==a&&(a=qn(a),qn(e)!==a&&(i[t]=e))}function nr(t,e,a){e.forEach(function(i){a[ui(i)]=i==="style"?ki(t):t.getAttribute(i)})}function Je(t,e){e===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",t,t,t):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof e)}function yh(t,e){return t=t.namespaceURI===wt||t.namespaceURI===jt?t.ownerDocument.createElementNS(t.namespaceURI,t.tagName):t.ownerDocument.createElement(t.tagName),t.innerHTML=e,t.innerHTML}function qn(t){return Kn(t)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",is(t)),cc(t)),(typeof t=="string"?t:""+t).replace(cz,`
|
|
200
|
+
`).replace(oz,"")}function cy(t,e){return e=qn(e),qn(t)===e}function de(t,e,a,i,o,f){switch(a){case"children":typeof i=="string"?(rs(i,e,!1),e==="body"||e==="textarea"&&i===""||pc(t,i)):(typeof i=="number"||typeof i=="bigint")&&(rs(""+i,e,!1),e!=="body"&&pc(t,""+i));break;case"className":os(t,"class",i);break;case"tabIndex":os(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":os(t,a,i);break;case"style":Xm(t,i,f);break;case"data":if(e!=="object"){os(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||a!=="href")){console.error(a==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',a,a),t.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(a);break}Ee(i,a),i=ds(""+i),t.setAttribute(a,i);break;case"action":case"formAction":if(i!=null&&(e==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(o.encType==null&&o.method==null||l1||(l1=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),o.target==null||e1||(e1=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):e==="input"||e==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):e!=="input"||o.type==="submit"||o.type==="image"||t1?e!=="button"||o.type==null||o.type==="submit"||t1?typeof i=="function"&&(o.name==null||jE||(jE=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),o.formEncType==null&&o.formMethod==null||l1||(l1=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),o.formTarget==null||e1||(e1=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(t1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(t1=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(a==="formAction"?(e!=="input"&&de(t,e,"name",o.name,o,null),de(t,e,"formEncType",o.formEncType,o,null),de(t,e,"formMethod",o.formMethod,o,null),de(t,e,"formTarget",o.formTarget,o,null)):(de(t,e,"encType",o.encType,o,null),de(t,e,"method",o.method,o,null),de(t,e,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(a);break}Ee(i,a),i=ds(""+i),t.setAttribute(a,i);break;case"onClick":i!=null&&(typeof i!="function"&&Je(a,i),t.onclick=Pa);break;case"onScroll":i!=null&&(typeof i!="function"&&Je(a,i),Dt("scroll",t));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&Je(a,i),Dt("scrollend",t));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"multiple":t.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":t.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){t.removeAttribute("xlink:href");break}Ee(i,a),a=ds(""+i),t.setAttributeNS(Xr,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?(Ee(i,a),t.setAttribute(a,""+i)):t.removeAttribute(a);break;case"inert":i!==""||a1[a]||(a1[a]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",a));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":i===!0?t.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(Ee(i,a),t.setAttribute(a,i)):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(Ee(i,a),t.setAttribute(a,i)):t.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?t.removeAttribute(a):(Ee(i,a),t.setAttribute(a,i));break;case"popover":Dt("beforetoggle",t),Dt("toggle",t),td(t,"popover",i);break;case"xlinkActuate":$n(t,Xr,"xlink:actuate",i);break;case"xlinkArcrole":$n(t,Xr,"xlink:arcrole",i);break;case"xlinkRole":$n(t,Xr,"xlink:role",i);break;case"xlinkShow":$n(t,Xr,"xlink:show",i);break;case"xlinkTitle":$n(t,Xr,"xlink:title",i);break;case"xlinkType":$n(t,Xr,"xlink:type",i);break;case"xmlBase":$n(t,Qb,"xml:base",i);break;case"xmlLang":$n(t,Qb,"xml:lang",i);break;case"xmlSpace":$n(t,Qb,"xml:space",i);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),td(t,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":YE||i==null||typeof i!="object"||(YE=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=J0(a),td(t,a,i)):Du.hasOwnProperty(a)&&i!=null&&typeof i!="function"&&Je(a,i)}}function of(t,e,a,i,o,f){switch(a){case"style":Xm(t,i,f);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"children":typeof i=="string"?pc(t,i):(typeof i=="number"||typeof i=="bigint")&&pc(t,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&Je(a,i),Dt("scroll",t));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&Je(a,i),Dt("scrollend",t));break;case"onClick":i!=null&&(typeof i!="function"&&Je(a,i),t.onclick=Pa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Du.hasOwnProperty(a))i!=null&&typeof i!="function"&&Je(a,i);else t:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),e=a.slice(2,o?a.length-7:void 0),f=t[ha]||null,f=f!=null?f[a]:null,typeof f=="function"&&t.removeEventListener(e,f,o),typeof i=="function")){typeof f!="function"&&f!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,i,o);break t}a in t?t[a]=i:i===!0?t.setAttribute(a,""):td(t,a,i)}}}function Ye(t,e,a){switch(sa(e,a),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Dt("error",t),Dt("load",t);var i=!1,o=!1,f;for(f in a)if(a.hasOwnProperty(f)){var d=a[f];if(d!=null)switch(f){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:de(t,e,f,d,a,null)}}o&&de(t,e,"srcSet",a.srcSet,a,null),i&&de(t,e,"src",a.src,a,null);return;case"input":sc("input",a),Dt("invalid",t);var h=f=d=o=null,g=null,S=null;for(i in a)if(a.hasOwnProperty(i)){var U=a[i];if(U!=null)switch(i){case"name":o=U;break;case"type":d=U;break;case"checked":g=U;break;case"defaultChecked":S=U;break;case"value":f=U;break;case"defaultValue":h=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:de(t,e,i,U,a,null)}}Il(t,a),ad(t,f,h,g,S,d,o,!1);return;case"select":sc("select",a),Dt("invalid",t),i=d=f=null;for(o in a)if(a.hasOwnProperty(o)&&(h=a[o],h!=null))switch(o){case"value":f=h;break;case"defaultValue":d=h;break;case"multiple":i=h;default:de(t,e,o,h,a,null)}nd(t,a),e=f,a=d,t.multiple=!!i,e!=null?kn(t,!!i,e,!1):a!=null&&kn(t,!!i,a,!0);return;case"textarea":sc("textarea",a),Dt("invalid",t),f=o=i=null;for(d in a)if(a.hasOwnProperty(d)&&(h=a[d],h!=null))switch(d){case"value":i=h;break;case"defaultValue":o=h;break;case"children":f=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:de(t,e,d,h,a,null)}rc(t,a),To(t,i,o,f);return;case"option":Z0(t,a);for(g in a)if(a.hasOwnProperty(g)&&(i=a[g],i!=null))switch(g){case"selected":t.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:de(t,e,g,i,a,null)}return;case"dialog":Dt("beforetoggle",t),Dt("toggle",t),Dt("cancel",t),Dt("close",t);break;case"iframe":case"object":Dt("load",t);break;case"video":case"audio":for(i=0;i<E0.length;i++)Dt(E0[i],t);break;case"image":Dt("error",t),Dt("load",t);break;case"details":Dt("toggle",t);break;case"embed":case"source":case"link":Dt("error",t),Dt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(S in a)if(a.hasOwnProperty(S)&&(i=a[S],i!=null))switch(S){case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:de(t,e,S,i,a,null)}return;default:if(Wn(e)){for(U in a)a.hasOwnProperty(U)&&(i=a[U],i!==void 0&&of(t,e,U,i,a,void 0));return}}for(h in a)a.hasOwnProperty(h)&&(i=a[h],i!=null&&de(t,e,h,i,a,null))}function yl(t,e,a,i){switch(sa(e,i),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,f=null,d=null,h=null,g=null,S=null,U=null;for(Y in a){var x=a[Y];if(a.hasOwnProperty(Y)&&x!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":g=x;default:i.hasOwnProperty(Y)||de(t,e,Y,null,i,x)}}for(var z in i){var Y=i[z];if(x=a[z],i.hasOwnProperty(z)&&(Y!=null||x!=null))switch(z){case"type":f=Y;break;case"name":o=Y;break;case"checked":S=Y;break;case"defaultChecked":U=Y;break;case"value":d=Y;break;case"defaultValue":h=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Y!==x&&de(t,e,z,Y,i,x)}}e=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,e||!i||qE||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),qE=!0),!e||i||BE||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),BE=!0),Ei(t,d,h,g,S,U,f,o);return;case"select":Y=d=h=z=null;for(f in a)if(g=a[f],a.hasOwnProperty(f)&&g!=null)switch(f){case"value":break;case"multiple":Y=g;default:i.hasOwnProperty(f)||de(t,e,f,null,i,g)}for(o in i)if(f=i[o],g=a[o],i.hasOwnProperty(o)&&(f!=null||g!=null))switch(o){case"value":z=f;break;case"defaultValue":h=f;break;case"multiple":d=f;default:f!==g&&de(t,e,o,f,i,g)}i=h,e=d,a=Y,z!=null?kn(t,!!e,z,!1):!!a!=!!e&&(i!=null?kn(t,!!e,i,!0):kn(t,!!e,e?[]:"",!1));return;case"textarea":Y=z=null;for(h in a)if(o=a[h],a.hasOwnProperty(h)&&o!=null&&!i.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:de(t,e,h,null,i,o)}for(d in i)if(o=i[d],f=a[d],i.hasOwnProperty(d)&&(o!=null||f!=null))switch(d){case"value":z=o;break;case"defaultValue":Y=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==f&&de(t,e,d,o,i,f)}dc(t,z,Y);return;case"option":for(var nt in a)if(z=a[nt],a.hasOwnProperty(nt)&&z!=null&&!i.hasOwnProperty(nt))switch(nt){case"selected":t.selected=!1;break;default:de(t,e,nt,null,i,z)}for(g in i)if(z=i[g],Y=a[g],i.hasOwnProperty(g)&&z!==Y&&(z!=null||Y!=null))switch(g){case"selected":t.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:de(t,e,g,z,i,Y)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ft in a)z=a[ft],a.hasOwnProperty(ft)&&z!=null&&!i.hasOwnProperty(ft)&&de(t,e,ft,null,i,z);for(S in i)if(z=i[S],Y=a[S],i.hasOwnProperty(S)&&z!==Y&&(z!=null||Y!=null))switch(S){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:de(t,e,S,z,i,Y)}return;default:if(Wn(e)){for(var Ne in a)z=a[Ne],a.hasOwnProperty(Ne)&&z!==void 0&&!i.hasOwnProperty(Ne)&&of(t,e,Ne,void 0,i,z);for(U in i)z=i[U],Y=a[U],!i.hasOwnProperty(U)||z===Y||z===void 0&&Y===void 0||of(t,e,U,z,i,Y);return}}for(var ne in a)z=a[ne],a.hasOwnProperty(ne)&&z!=null&&!i.hasOwnProperty(ne)&&de(t,e,ne,null,i,z);for(x in i)z=i[x],Y=a[x],!i.hasOwnProperty(x)||z===Y||z==null&&Y==null||de(t,e,x,z,i,Y)}function ui(t){switch(t){case"class":return"className";case"for":return"htmlFor";default:return t}}function ki(t){var e={};t=t.style;for(var a=0;a<t.length;a++){var i=t[a];e[i]=t.getPropertyValue(i)}return e}function bu(t,e,a){if(e!=null&&typeof e!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var i,o=i="",f;for(f in e)if(e.hasOwnProperty(f)){var d=e[f];d!=null&&typeof d!="boolean"&&d!==""&&(f.indexOf("--")===0?(Mm(d,f),i+=o+f+":"+(""+d).trim()):typeof d!="number"||d===0||mt.has(f)?(Mm(d,f),i+=o+f.replace(L,"-$1").toLowerCase().replace(ht,"-ms-")+":"+(""+d).trim()):i+=o+f.replace(L,"-$1").toLowerCase().replace(ht,"-ms-")+":"+d+"px",o=";")}i=i||null,e=t.getAttribute("style"),e!==i&&(i=qn(i),qn(e)!==i&&(a.style=ki(t)))}}function Ea(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(Ee(i,e),t===""+i)return}Ze(e,t,i,f)}function gh(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}Ze(e,t,i,f)}function vh(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(Ee(i,a),t===""+i)return}Ze(e,t,i,f)}function ff(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(Ee(i,e),t===""+i))return}Ze(e,t,i,f)}function ur(t,e,a,i,o,f){if(o.delete(a),t=t.getAttribute(a),t===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(Ee(i,e),a=ds(""+i),t===a)return}Ze(e,t,i,f)}function Ta(t,e,a,i){for(var o={},f=new Set,d=t.attributes,h=0;h<d.length;h++)switch(d[h].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(d[h].name)}if(Wn(e)){for(var g in a)if(a.hasOwnProperty(g)){var S=a[g];if(S!=null){if(Du.hasOwnProperty(g))typeof S!="function"&&Je(g,S);else if(a.suppressHydrationWarning!==!0)switch(g){case"children":typeof S!="string"&&typeof S!="number"||Ze("children",t.textContent,S,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=t.innerHTML,S=S?S.__html:void 0,S!=null&&(S=yh(t,S),Ze(g,d,S,o));continue;case"style":f.delete(g),bu(t,S,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(g.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",g);continue;case"className":f.delete("class"),d=Eo(t,"class",S),Ze("className",d,S,o);continue;default:i.context===go&&e!=="svg"&&e!=="math"?f.delete(g.toLowerCase()):f.delete(g),d=Eo(t,g,S),Ze(g,d,S,o)}}}}else for(S in a)if(a.hasOwnProperty(S)&&(g=a[S],g!=null)){if(Du.hasOwnProperty(S))typeof g!="function"&&Je(S,g);else if(a.suppressHydrationWarning!==!0)switch(S){case"children":typeof g!="string"&&typeof g!="number"||Ze("children",t.textContent,g,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=t.innerHTML,g=g?g.__html:void 0,g!=null&&(g=yh(t,g),d!==g&&(o[S]={__html:d}));continue;case"className":Ea(t,S,"class",g,f,o);continue;case"tabIndex":Ea(t,S,"tabindex",g,f,o);continue;case"style":f.delete(S),bu(t,g,o);continue;case"multiple":f.delete(S),Ze(S,t.multiple,g,o);continue;case"muted":f.delete(S),Ze(S,t.muted,g,o);continue;case"autoFocus":f.delete("autofocus"),Ze(S,t.autofocus,g,o);continue;case"data":if(e!=="object"){f.delete(S),d=t.getAttribute("data"),Ze(S,d,g,o);continue}case"src":case"href":if(!(g!==""||e==="a"&&S==="href"||e==="object"&&S==="data")){console.error(S==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',S,S);continue}ur(t,S,S,g,f,o);continue;case"action":case"formAction":if(d=t.getAttribute(S),typeof g=="function"){f.delete(S.toLowerCase()),S==="formAction"?(f.delete("name"),f.delete("formenctype"),f.delete("formmethod"),f.delete("formtarget")):(f.delete("enctype"),f.delete("method"),f.delete("target"));continue}else if(d===fz){f.delete(S.toLowerCase()),Ze(S,"function",g,o);continue}ur(t,S,S.toLowerCase(),g,f,o);continue;case"xlinkHref":ur(t,S,"xlink:href",g,f,o);continue;case"contentEditable":vh(t,S,"contenteditable",g,f,o);continue;case"spellCheck":vh(t,S,"spellcheck",g,f,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":vh(t,S,S,g,f,o);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":gh(t,S,S.toLowerCase(),g,f,o);continue;case"capture":case"download":t:{h=t;var U=d=S,x=o;if(f.delete(U),h=h.getAttribute(U),h===null)switch(typeof g){case"undefined":case"function":case"symbol":break t;default:if(g===!1)break t}else if(g!=null)switch(typeof g){case"function":case"symbol":break;case"boolean":if(g===!0&&h==="")break t;break;default:if(Ee(g,d),h===""+g)break t}Ze(d,h,g,x)}continue;case"cols":case"rows":case"size":case"span":t:{if(h=t,U=d=S,x=o,f.delete(U),h=h.getAttribute(U),h===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(g)||1>g)break t}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(g)||1>g)&&(Ee(g,d),h===""+g))break t}Ze(d,h,g,x)}continue;case"rowSpan":ff(t,S,"rowspan",g,f,o);continue;case"start":ff(t,S,S,g,f,o);continue;case"xHeight":Ea(t,S,"x-height",g,f,o);continue;case"xlinkActuate":Ea(t,S,"xlink:actuate",g,f,o);continue;case"xlinkArcrole":Ea(t,S,"xlink:arcrole",g,f,o);continue;case"xlinkRole":Ea(t,S,"xlink:role",g,f,o);continue;case"xlinkShow":Ea(t,S,"xlink:show",g,f,o);continue;case"xlinkTitle":Ea(t,S,"xlink:title",g,f,o);continue;case"xlinkType":Ea(t,S,"xlink:type",g,f,o);continue;case"xmlBase":Ea(t,S,"xml:base",g,f,o);continue;case"xmlLang":Ea(t,S,"xml:lang",g,f,o);continue;case"xmlSpace":Ea(t,S,"xml:space",g,f,o);continue;case"inert":g!==""||a1[S]||(a1[S]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",S)),gh(t,S,S,g,f,o);continue;default:if(!(2<S.length)||S[0]!=="o"&&S[0]!=="O"||S[1]!=="n"&&S[1]!=="N"){h=J0(S),d=!1,i.context===go&&e!=="svg"&&e!=="math"?f.delete(h.toLowerCase()):(U=S.toLowerCase(),U=Xn.hasOwnProperty(U)&&Xn[U]||null,U!==null&&U!==S&&(d=!0,f.delete(U)),f.delete(h));t:if(U=t,x=h,h=g,cs(x))if(U.hasAttribute(x))U=U.getAttribute(x),Ee(h,x),h=U===""+h?h:U;else{switch(typeof h){case"function":case"symbol":break t;case"boolean":if(U=x.toLowerCase().slice(0,5),U!=="data-"&&U!=="aria-")break t}h=h===void 0?void 0:null}else h=void 0;d||Ze(S,h,g,o)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&nr(t,f,o),Object.keys(o).length===0?null:o}function xg(t,e){switch(t.length){case 0:return"";case 1:return t[0];case 2:return t[0]+" "+e+" "+t[1];default:return t.slice(0,-1).join(", ")+", "+e+" "+t[t.length-1]}}function ra(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Hg(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var o=a[i],f=o.transferSize,d=o.initiatorType,h=o.duration;if(f&&h&&ra(d)){for(d=0,h=o.responseEnd,i+=1;i<a.length;i++){var g=a[i],S=g.startTime;if(S>h)break;var U=g.transferSize,x=g.initiatorType;U&&ra(x)&&(g=g.responseEnd,d+=U*(g<h?1:(h-S)/(g-S)))}if(--i,e+=8*(f+d)/(o.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}function ir(t){return t.nodeType===9?t:t.ownerDocument}function wg(t){switch(t){case jt:return vm;case wt:return u1;default:return go}}function ii(t,e){if(t===go)switch(e){case"svg":return vm;case"math":return u1;default:return go}return t===vm&&e==="foreignObject"?go:t}function sf(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}function oy(){var t=window.event;return t&&t.type==="popstate"?t===$b?!1:($b=t,!0):($b=null,!1)}function Su(){var t=window.event;return t&&t!==z0?t.type:null}function rf(){var t=window.event;return t&&t!==z0?t.timeStamp:-1.1}function Ng(t){setTimeout(function(){throw t})}function Bg(t,e,a){switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src?t.src=a.src:a.srcSet&&(t.srcset=a.srcSet)}}function qg(){}function bh(t,e,a,i){yl(t,e,a,i),t[ha]=i}function Sh(t){pc(t,"")}function q1(t,e,a){t.nodeValue=a}function jg(t){if(!t.__reactWarnedAboutChildrenConflict){var e=t[ha]||null;if(e!==null){var a=yn(t);a!==null&&(typeof e.children=="string"||typeof e.children=="number"?(t.__reactWarnedAboutChildrenConflict=!0,rt(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):e.dangerouslySetInnerHTML!=null&&(t.__reactWarnedAboutChildrenConflict=!0,rt(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Fi(t){return t==="head"}function Yg(t,e){t.removeChild(e)}function Gg(t,e){(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).removeChild(e)}function Kc(t,e){var a=e,i=0;do{var o=a.nextSibling;if(t.removeChild(a),o&&o.nodeType===8)if(a=o.data,a===A0||a===n1){if(i===0){t.removeChild(o),Wc(e);return}i--}else if(a===T0||a===$f||a===Vr||a===gm||a===Lr)i++;else if(a===rz)oi(t.ownerDocument.documentElement);else if(a===hz){a=t.ownerDocument.head,oi(a);for(var f=a.firstChild;f;){var d=f.nextSibling,h=f.nodeName;f[_f]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=d}}else a===dz&&oi(t.ownerDocument.body);a=o}while(a);Wc(e)}function cr(t,e){var a=t;t=0;do{var i=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),i&&i.nodeType===8)if(a=i.data,a===A0){if(t===0)break;t--}else a!==T0&&a!==$f&&a!==Vr&&a!==gm||t++;a=i}while(a)}function Xg(t){cr(t,!0)}function Lg(t){t=t.style,typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function Vg(t){t.nodeValue=""}function Qg(t){cr(t,!1)}function Zg(t,e){e=e[mz],e=e!=null&&e.hasOwnProperty("display")?e.display:null,t.style.display=e==null||typeof e=="boolean"?"":(""+e).trim()}function Jg(t,e){t.nodeValue=e}function df(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":df(a),Hm(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function Kg(t,e,a,i){for(;t.nodeType===1;){var o=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(i){if(!t[_f])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==o.rel||t.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||t.getAttribute("title")!==(o.title==null?null:o.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(o.src==null?null:o.src)||t.getAttribute("type")!==(o.type==null?null:o.type)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){Ee(o.name,"name");var f=o.name==null?null:""+o.name;if(o.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=Xa(t.nextSibling),t===null)break}return null}function $g(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Xa(t.nextSibling),t===null))return null;return t}function ve(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Xa(t.nextSibling),t===null))return null;return t}function or(t){return t.data===$f||t.data===Vr}function fy(t){return t.data===gm||t.data===$f&&t.ownerDocument.readyState!==XE}function kg(t,e){var a=t.ownerDocument;if(t.data===Vr)t._reactRetry=e;else if(t.data!==$f||a.readyState!==XE)e();else{var i=function(){e(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function Xa(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e===T0||e===gm||e===$f||e===Vr||e===Lr||e===Zb||e===GE)break;if(e===A0||e===n1)return null}}return t}function Fg(t){if(t.nodeType===1){for(var e=t.nodeName.toLowerCase(),a={},i=t.attributes,o=0;o<i.length;o++){var f=i[o];a[ui(f.name)]=f.name.toLowerCase()==="style"?ki(t):f.value}return{type:e,props:a}}return t.nodeType===8?t.data===Lr?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:t.nodeValue}function Wg(t,e,a){return a===null||a[sz]!==!0?(t.nodeValue===e?t=null:(e=qn(e),t=qn(t.nodeValue)===e?null:t.nodeValue),t):null}function hf(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===A0||a===n1){if(e===0)return Xa(t.nextSibling);e--}else a!==T0&&a!==gm&&a!==$f&&a!==Vr&&a!==Lr||e++}t=t.nextSibling}return null}function $c(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===T0||a===gm||a===$f||a===Vr||a===Lr){if(e===0)return t;e--}else a!==A0&&a!==n1||e++}t=t.previousSibling}return null}function sy(t){Wc(t)}function Eh(t){Wc(t)}function ry(t){Wc(t)}function ci(t,e,a,i,o){switch(o&&ss(t,i.ancestorInfo),e=ir(a),t){case"html":if(t=e.documentElement,!t)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return t;case"head":if(t=e.head,!t)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return t;case"body":if(t=e.body,!t)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return t;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Eu(t,e,a,i){if(!a[si]&&yn(a)){var o=a.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(t){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=a.attributes;o.length;)a.removeAttributeNode(o[0]);Ye(a,t,e),a[Ge]=i,a[ha]=e}function oi(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Hm(t)}function Th(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}function dy(t,e,a){var i=bm;if(i&&typeof e=="string"&&e){var o=Te(e);o='link[rel="'+t+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),KE.has(o)||(KE.add(o),t={rel:t,crossOrigin:a,href:e},i.querySelector(o)===null&&(e=i.createElement("link"),Ye(e,"link",t),Pe(e),i.head.appendChild(e)))}}function hy(t,e,a,i){var o=(o=La.current)?Th(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=kc(a.href),e=Ia(o).hoistableStyles,i=e.get(a),i||(i={type:"style",instance:null,count:0,state:null},e.set(a,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=kc(a.href);var f=Ia(o).hoistableStyles,d=f.get(t);if(!d&&(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:Zr,preload:null}},f.set(t,d),(f=o.querySelector(sr(t)))&&!f._p&&(d.instance=f,d.state.loading=D0|Bu),!qu.has(t))){var h={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};qu.set(t,h),f||Ig(o,t,h,d.state)}if(e&&i===null)throw a=`
|
|
201
|
+
|
|
202
|
+
- `+fr(e)+`
|
|
203
|
+
+ `+fr(a),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return d}if(e&&i!==null)throw a=`
|
|
204
|
+
|
|
205
|
+
- `+fr(e)+`
|
|
206
|
+
+ `+fr(a),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(a=Fc(a),e=Ia(o).hoistableScripts,i=e.get(a),i||(i={type:"script",instance:null,count:0,state:null},e.set(a,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+t+'". this is a bug in React.')}}function fr(t){var e=0,a="<link";return typeof t.rel=="string"?(e++,a+=' rel="'+t.rel+'"'):Va.call(t,"rel")&&(e++,a+=' rel="'+(t.rel===null?"null":"invalid type "+typeof t.rel)+'"'),typeof t.href=="string"?(e++,a+=' href="'+t.href+'"'):Va.call(t,"href")&&(e++,a+=' href="'+(t.href===null?"null":"invalid type "+typeof t.href)+'"'),typeof t.precedence=="string"?(e++,a+=' precedence="'+t.precedence+'"'):Va.call(t,"precedence")&&(e++,a+=" precedence={"+(t.precedence===null?"null":"invalid type "+typeof t.precedence)+"}"),Object.getOwnPropertyNames(t).length>e&&(a+=" ..."),a+" />"}function kc(t){return'href="'+Te(t)+'"'}function sr(t){return'link[rel="stylesheet"]['+t+"]"}function Ah(t){return Xt({},t,{"data-precedence":t.precedence,precedence:null})}function Ig(t,e,a,i){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?i.loading=D0:(e=t.createElement("link"),i.preload=e,e.addEventListener("load",function(){return i.loading|=D0}),e.addEventListener("error",function(){return i.loading|=ZE}),Ye(e,"link",a),Pe(e),t.head.appendChild(e))}function Fc(t){return'[src="'+Te(t)+'"]'}function rr(t){return"script[async]"+t}function zh(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+Te(a.href)+'"]');if(i)return e.instance=i,Pe(i),i;var o=Xt({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),Pe(i),Ye(i,"style",o),mf(i,a.precedence,t),e.instance=i;case"stylesheet":o=kc(a.href);var f=t.querySelector(sr(o));if(f)return e.state.loading|=Bu,e.instance=f,Pe(f),f;i=Ah(a),(o=qu.get(o))&&my(i,o),f=(t.ownerDocument||t).createElement("link"),Pe(f);var d=f;return d._p=new Promise(function(h,g){d.onload=h,d.onerror=g}),Ye(f,"link",i),e.state.loading|=Bu,mf(f,a.precedence,t),e.instance=f;case"script":return f=Fc(a.src),(o=t.querySelector(rr(f)))?(e.instance=o,Pe(o),o):(i=a,(o=qu.get(f))&&(i=Xt({},a),py(i,o)),t=t.ownerDocument||t,o=t.createElement("script"),Pe(o),Ye(o,"link",i),t.head.appendChild(o),e.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+e.type+'". this is a bug in React.')}else e.type==="stylesheet"&&(e.state.loading&Bu)===Zr&&(i=e.instance,e.state.loading|=Bu,mf(i,a.precedence,t));return e.instance}function mf(t,e,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,f=o,d=0;d<i.length;d++){var h=i[d];if(h.dataset.precedence===e)f=h;else if(f!==o)break}f?f.parentNode.insertBefore(t,f.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function my(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function py(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function pf(t,e,a){if(i1===null){var i=new Map,o=i1=new Map;o.set(a,i)}else o=i1,i=o.get(a),i||(i=new Map,o.set(a,i));if(i.has(t))return i;for(i.set(t,null),a=a.getElementsByTagName(t),o=0;o<a.length;o++){var f=a[o];if(!(f[_f]||f[Ge]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==jt){var d=f.getAttribute(e)||"";d=t+d;var h=i.get(d);h?h.push(f):i.set(d,[f])}}return i}function Pg(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function tv(t,e,a){var i=!a.ancestorInfo.containerTagInScope;if(a.context===vm||e.itemProp!=null)return!i||e.itemProp==null||t!=="meta"&&t!=="title"&&t!=="style"&&t!=="link"&&t!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",t,t),!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href===""){i&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError){if(e.rel==="stylesheet"&&typeof e.precedence=="string"){t=e.href;var o=e.onError,f=e.disabled;a=[],e.onLoad&&a.push("`onLoad`"),o&&a.push("`onError`"),f!=null&&a.push("`disabled`"),o=xg(a,"and"),o+=a.length===1?" prop":" props",f=a.length===1?"an "+o:"the "+o,a.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',t,f,o)}i&&(typeof e.rel!="string"||typeof e.href!="string"||e.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(e.onError||e.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(e.rel){case"stylesheet":return t=e.precedence,e=e.disabled,typeof t!="string"&&i&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof t=="string"&&e==null;default:return!0}case"script":if(t=e.async&&typeof e.async!="function"&&typeof e.async!="symbol",!t||e.onLoad||e.onError||!e.src||typeof e.src!="string"){i&&(t?e.onLoad||e.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",t)}return!1}function kt(t){return!(t.type==="stylesheet"&&(t.state.loading&JE)===Zr)}function yy(t,e,a,i){if(a.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&Bu)===Zr){if(a.instance===null){var o=kc(i.href),f=e.querySelector(sr(o));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=yf.bind(t),e.then(t,t)),a.state.loading|=Bu,a.instance=f,Pe(f);return}f=e.ownerDocument||e,i=Ah(i),(o=qu.get(o))&&my(i,o),f=f.createElement("link"),Pe(f);var d=f;d._p=new Promise(function(h,g){d.onload=h,d.onerror=g}),Ye(f,"link",i),a.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&JE)===Zr&&(t.count++,a=yf.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function Dh(t,e){return t.stylesheets&&t.count===0&&dr(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var i=setTimeout(function(){if(t.stylesheets&&dr(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},gz+e);0<t.imgBytes&&Fb===0&&(Fb=125*Hg()*bz);var o=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&dr(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>Fb?50:vz)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function yf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)dr(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function dr(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,c1=new Map,e.forEach(gy,t),c1=null,yf.call(t))}function gy(t,e){if(!(e.state.loading&Bu)){var a=c1.get(t);if(a)var i=a.get(Wb);else{a=new Map,c1.set(t,a);for(var o=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<o.length;f++){var d=o[f];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(a.set(d.dataset.precedence,d),i=d)}i&&a.set(Wb,i)}o=e.instance,d=o.getAttribute("data-precedence"),f=a.get(d)||i,f===i&&a.set(Wb,o),a.set(d,o),this.count++,i=yf.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),f?f.parentNode.insertBefore(o,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(o,t.firstChild)),e.state.loading|=Bu}}function hr(t,e,a,i,o,f,d,h,g){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Qr,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pr(0),this.hiddenUpdates=Pr(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=f,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,t=this.pendingUpdatersLaneMap=[],e=0;31>e;e++)t.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function mr(t,e,a,i,o,f,d,h,g,S,U,x){return t=new hr(t,e,a,d,g,S,U,x,h),e=V3,f===!0&&(e|=Da|ri),e|=Lt,f=st(3,null,null,e),t.current=f,f.stateNode=t,e=zd(),Dc(e),t.pooledCache=e,Dc(e),f.memoizedState={element:i,isDehydrated:a,cache:e},Wt(f),t}function ev(t){return t?(t=Hf,t):Hf}function Oh(t,e,a,i,o,f){if(gl&&typeof gl.onScheduleFiberRoot=="function")try{gl.onScheduleFiberRoot(eo,i,a)}catch(d){Au||(Au=!0,console.error("React instrumentation encountered an error: %o",d))}o=ev(o),i.context===null?i.context=o:i.pendingContext=o,Tu&&za!==null&&!WE&&(WE=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
207
|
+
|
|
208
|
+
Check the render method of %s.`,ct(za)||"Unknown")),i=ml(e),i.payload={element:a},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",f),i.callback=f),a=nu(t,i,e),a!==null&&(eu(e,"root.render()",null),Rt(a,t,e),cn(a,t,e))}function lv(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function vy(t,e){lv(t,e),(t=t.alternate)&&lv(t,e)}function by(t){if(t.tag===13||t.tag===31){var e=Vl(t,67108864);e!==null&&Rt(e,t,67108864),vy(t,67108864)}}function Sy(t){if(t.tag===13||t.tag===31){var e=Zl(t);e=fc(e);var a=Vl(t,e);a!==null&&Rt(a,t,e),vy(t,e)}}function De(){return za}function Ey(t,e,a,i){var o=X.T;X.T=null;var f=he.p;try{he.p=vl,Ty(t,e,a,i)}finally{he.p=f,X.T=o}}function jl(t,e,a,i){var o=X.T;X.T=null;var f=he.p;try{he.p=Gl,Ty(t,e,a,i)}finally{he.p=f,X.T=o}}function Ty(t,e,a,i){if(f1){var o=_h(i);if(o===null)Nn(t,e,i,s1,a),Mh(t,i);else if(av(o,t,e,a,i))i.stopPropagation();else if(Mh(t,i),e&4&&-1<Ez.indexOf(t)){for(;o!==null;){var f=yn(o);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var d=oc(f.pendingLanes);if(d!==0){var h=f;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var g=1<<31-Yl(d);h.entanglements[1]|=g,d&=~g}Sa(f),(oe&(Ll|Zn))===Fl&&(Jv=Rl()+DE,gu(0))}}break;case 31:case 13:h=Vl(f,2),h!==null&&Rt(h,f,2),Ga(),vy(f,2)}if(f=_h(i),f===null&&Nn(t,e,i,s1,a),f===o)break;o=f}o!==null&&i.stopPropagation()}else Nn(t,e,i,null,a)}}function _h(t){return t=bn(t),Ay(t)}function Ay(t){if(s1=null,t=Xu(t),t!==null){var e=Tt(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=te(e),t!==null)return t;t=null}else if(a===31){if(t=Et(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return s1=t,null}function Rh(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return vl;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Gl;case"message":switch(Sr()){case Hy:return vl;case jh:return Gl;case to:case fv:return Kl;case Yh:return ec;default:return Kl}default:return Kl}}function Mh(t,e){switch(t){case"focusin":case"focusout":kf=null;break;case"dragenter":case"dragleave":Ff=null;break;case"mouseover":case"mouseout":Wf=null;break;case"pointerover":case"pointerout":_0.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":R0.delete(e.pointerId)}}function Wi(t,e,a,i,o,f){return t===null||t.nativeEvent!==f?(t={blockedOn:e,domEventName:a,eventSystemFlags:i,nativeEvent:f,targetContainers:[o]},e!==null&&(e=yn(e),e!==null&&by(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function av(t,e,a,i,o){switch(e){case"focusin":return kf=Wi(kf,t,e,a,i,o),!0;case"dragenter":return Ff=Wi(Ff,t,e,a,i,o),!0;case"mouseover":return Wf=Wi(Wf,t,e,a,i,o),!0;case"pointerover":var f=o.pointerId;return _0.set(f,Wi(_0.get(f)||null,t,e,a,i,o)),!0;case"gotpointercapture":return f=o.pointerId,R0.set(f,Wi(R0.get(f)||null,t,e,a,i,o)),!0}return!1}function zy(t){var e=Xu(t.target);if(e!==null){var a=Tt(e);if(a!==null){if(e=a.tag,e===13){if(e=te(a),e!==null){t.blockedOn=e,Q0(t.priority,function(){Sy(a)});return}}else if(e===31){if(e=Et(a),e!==null){t.blockedOn=e,Q0(t.priority,function(){Sy(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function gf(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=_h(t.nativeEvent);if(a===null){a=t.nativeEvent;var i=new a.constructor(a.type,a),o=i;jy!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),jy=o,a.target.dispatchEvent(i),jy===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),jy=null}else return e=yn(a),e!==null&&by(e),t.blockedOn=a,!1;e.shift()}return!0}function Uh(t,e,a){gf(t)&&a.delete(e)}function j1(){Ib=!1,kf!==null&&gf(kf)&&(kf=null),Ff!==null&&gf(Ff)&&(Ff=null),Wf!==null&&gf(Wf)&&(Wf=null),_0.forEach(Uh),R0.forEach(Uh)}function pr(t,e){t.blockedOn===e&&(t.blockedOn=null,Ib||(Ib=!0,nl.unstable_scheduleCallback(nl.unstable_NormalPriority,j1)))}function nv(t){r1!==t&&(r1=t,nl.unstable_scheduleCallback(nl.unstable_NormalPriority,function(){r1===t&&(r1=null);for(var e=0;e<t.length;e+=3){var a=t[e],i=t[e+1],o=t[e+2];if(typeof i!="function"){if(Ay(i||a)===null)continue;break}var f=yn(a);f!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:o,method:a.method,action:i},Object.freeze(a),ti(f,a,i,o))}}))}function Wc(t){function e(g){return pr(g,t)}kf!==null&&pr(kf,t),Ff!==null&&pr(Ff,t),Wf!==null&&pr(Wf,t),_0.forEach(e),R0.forEach(e);for(var a=0;a<If.length;a++){var i=If[a];i.blockedOn===t&&(i.blockedOn=null)}for(;0<If.length&&(a=If[0],a.blockedOn===null);)zy(a),a.blockedOn===null&&If.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var o=a[i],f=a[i+1],d=o[ha]||null;if(typeof f=="function")d||nv(a);else if(d){var h=null;if(f&&f.hasAttribute("formAction")){if(o=f,d=f[ha]||null)h=d.formAction;else if(Ay(o)!==null)continue}else h=d.action;typeof h=="function"?a[i+1]=h:(a.splice(i,3),i-=3),nv(a)}}}function uv(){function t(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(d){return o=d})},focusReset:"manual",scroll:"manual"})}function e(){o!==null&&(o(),o=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,o=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),o!==null&&(o(),o=null)}}}function Dy(t){this._internalRoot=t}function jn(t){this._internalRoot=t}function Oy(t){t[si]&&(t._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var nl=lS(),yr=lt,Y1=Pf,Xt=Object.assign,iv=Symbol.for("react.element"),rn=Symbol.for("react.transitional.element"),Ii=Symbol.for("react.portal"),vf=Symbol.for("react.fragment"),da=Symbol.for("react.strict_mode"),gr=Symbol.for("react.profiler"),Ch=Symbol.for("react.consumer"),Yn=Symbol.for("react.context"),bf=Symbol.for("react.forward_ref"),Ic=Symbol.for("react.suspense"),Aa=Symbol.for("react.suspense_list"),vr=Symbol.for("react.memo"),Jl=Symbol.for("react.lazy"),Gn=Symbol.for("react.activity"),G1=Symbol.for("react.memo_cache_sentinel"),cv=Symbol.iterator,Sf=Symbol.for("react.client.reference"),fl=Array.isArray,X=yr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,he=Y1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X1=Object.freeze({pending:!1,data:null,method:null,action:null}),_y=[],Ry=[],fi=-1,Pi=Ft(null),Ef=Ft(null),La=Ft(null),tc=Ft(null),Tf=0,ov,Pc,Af,My,br,xh,Hh;_t.__reactDisabledLog=!0;var zf,Uy,wh=!1,Cy=new(typeof WeakMap=="function"?WeakMap:Map),za=null,Tu=!1,Va=Object.prototype.hasOwnProperty,xy=nl.unstable_scheduleCallback,Nh=nl.unstable_cancelCallback,Bh=nl.unstable_shouldYield,qh=nl.unstable_requestPaint,Rl=nl.unstable_now,Sr=nl.unstable_getCurrentPriorityLevel,Hy=nl.unstable_ImmediatePriority,jh=nl.unstable_UserBlockingPriority,to=nl.unstable_NormalPriority,fv=nl.unstable_LowPriority,Yh=nl.unstable_IdlePriority,wy=nl.log,sv=nl.unstable_setDisableYieldValue,eo=null,gl=null,Au=!1,zu=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Yl=Math.clz32?Math.clz32:Cm,Ny=Math.log,Gh=Math.LN2,Df=256,Er=262144,Of=4194304,vl=2,Gl=8,Kl=32,ec=268435456,dn=Math.random().toString(36).slice(2),Ge="__reactFiber$"+dn,ha="__reactProps$"+dn,si="__reactContainer$"+dn,lo="__reactEvents$"+dn,L1="__reactListeners$"+dn,rv="__reactHandles$"+dn,Tr="__reactResources$"+dn,_f="__reactMarker$"+dn,dv=new Set,Du={},Rf={},hv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Mf=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),By={},Xh={},Lh=/[\n"\\]/g,qy=!1,mv=!1,Ar=!1,l=!1,n=!1,u=!1,c=["value","defaultValue"],s=!1,r=/["'&<>\n\t]|^\s|\s$/,p="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),E="applet caption html table td th marquee object template foreignObject desc title".split(" "),O=E.concat(["button"]),q="dd dt li option optgroup p rp rt".split(" "),Q={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},K={},j={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},L=/([A-Z])/g,ht=/^ms-/,At=/^(?:webkit|moz|o)[A-Z]/,Oe=/^-ms-/,N=/-(.)/g,C=/;\s*$/,B={},J={},yt=!1,ce=!1,mt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),wt="http://www.w3.org/1998/Math/MathML",jt="http://www.w3.org/2000/svg",se=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Xn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},pv={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Vh={},e3=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),l3=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),PS=!1,Qa={},t2=/^on./,a3=/^on[^A-Z]/,n3=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),u3=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),i3=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,jy=null,Qh=null,Zh=null,V1=!1,lc=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Q1=!1;if(lc)try{var Yy={};Object.defineProperty(Yy,"passive",{get:function(){Q1=!0}}),window.addEventListener("test",Yy,Yy),window.removeEventListener("test",Yy,Yy)}catch{Q1=!1}var Uf=null,Z1=null,yv=null,zr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gv=El(zr),Gy=Xt({},zr,{view:0,detail:0}),c3=El(Gy),J1,K1,Xy,vv=Xt({},Gy,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ms,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Xy&&(Xy&&t.type==="mousemove"?(J1=t.screenX-Xy.screenX,K1=t.screenY-Xy.screenY):K1=J1=0,Xy=t),J1)},movementY:function(t){return"movementY"in t?t.movementY:K1}}),e2=El(vv),o3=Xt({},vv,{dataTransfer:0}),f3=El(o3),s3=Xt({},Gy,{relatedTarget:0}),$1=El(s3),r3=Xt({},zr,{animationName:0,elapsedTime:0,pseudoElement:0}),d3=El(r3),h3=Xt({},zr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),m3=El(h3),p3=Xt({},zr,{data:0}),l2=El(p3),y3=l2,g3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v3={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},b3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},S3=Xt({},Gy,{key:function(t){if(t.key){var e=g3[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=hs(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?v3[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ms,charCode:function(t){return t.type==="keypress"?hs(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?hs(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),E3=El(S3),T3=Xt({},vv,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),a2=El(T3),A3=Xt({},Gy,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ms}),z3=El(A3),D3=Xt({},zr,{propertyName:0,elapsedTime:0,pseudoElement:0}),O3=El(D3),_3=Xt({},vv,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),R3=El(_3),M3=Xt({},zr,{newState:0,oldState:0}),U3=El(M3),C3=[9,13,27,32],n2=229,k1=lc&&"CompositionEvent"in window,Ly=null;lc&&"documentMode"in document&&(Ly=document.documentMode);var x3=lc&&"TextEvent"in window&&!Ly,u2=lc&&(!k1||Ly&&8<Ly&&11>=Ly),i2=32,c2=String.fromCharCode(i2),o2=!1,Jh=!1,H3={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Vy=null,Qy=null,f2=!1;lc&&(f2=hd("input")&&(!document.documentMode||9<document.documentMode));var Za=typeof Object.is=="function"?Object.is:md,w3=lc&&"documentMode"in document&&11>=document.documentMode,Kh=null,F1=null,Zy=null,W1=!1,$h={animationend:gc("Animation","AnimationEnd"),animationiteration:gc("Animation","AnimationIteration"),animationstart:gc("Animation","AnimationStart"),transitionrun:gc("Transition","TransitionRun"),transitionstart:gc("Transition","TransitionStart"),transitioncancel:gc("Transition","TransitionCancel"),transitionend:gc("Transition","TransitionEnd")},I1={},s2={};lc&&(s2=document.createElement("div").style,"AnimationEvent"in window||(delete $h.animationend.animation,delete $h.animationiteration.animation,delete $h.animationstart.animation),"TransitionEvent"in window||delete $h.transitionend.transition);var r2=vc("animationend"),d2=vc("animationiteration"),h2=vc("animationstart"),N3=vc("transitionrun"),B3=vc("transitionstart"),q3=vc("transitioncancel"),m2=vc("transitionend"),p2=new Map,P1="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");P1.push("scrollEnd");var y2=0;if(typeof performance=="object"&&typeof performance.now=="function")var j3=performance,g2=function(){return j3.now()};else{var Y3=Date;g2=function(){return Y3.now()}}var tb=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},G3="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",bv=0,eb=1,lb=2,ab=3,Sv="– ",Ev="+ ",v2=" ",Xe=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Ou="Components ⚛",ae="Scheduler ⚛",ue="Blocking",Cf=!1,ao={color:"primary",properties:null,tooltipText:"",track:Ou},xf={start:-0,end:-0,detail:{devtools:ao}},X3=["Changed Props",""],b2="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",L3=["Changed Props",b2],Jy=1,no=2,_u=[],kh=0,nb=0,Hf={};Object.freeze(Hf);var Ru=null,Fh=null,Ot=0,V3=1,Lt=2,Da=8,ri=16,Q3=32,S2=!1;try{var E2=Object.preventExtensions({})}catch{S2=!0}var ub=new WeakMap,Wh=[],Ih=0,Tv=null,Ky=0,Mu=[],Uu=0,Dr=null,uo=1,io="",ma=null,Le=null,Pt=!1,ac=!1,Ln=null,wf=null,Cu=!1,ib=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),cb=Ft(null),ob=Ft(null),T2={},Av=null,Ph=null,tm=!1,Z3=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},J3=nl.unstable_scheduleCallback,K3=nl.unstable_NormalPriority,Ml={$$typeof:Yn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ul=nl.unstable_now,zv=console.createTask?console.createTask:function(){return null},$y=1,Dv=2,$l=-0,Nf=-0,co=-0,oo=null,Ja=-1.1,Or=-0,We=-0,bt=-1.1,zt=-1.1,Ke=null,ul=!1,_r=-0,nc=-1.1,ky=null,Bf=0,fb=null,sb=null,Rr=-1.1,Fy=null,em=-1.1,Ov=-1.1,fo=-0,so=-1.1,xu=-1.1,rb=0,Wy=null,A2=null,z2=null,qf=-1.1,Mr=null,jf=-1.1,_v=-1.1,D2=-0,O2=-0,Rv=0,$3=null,_2=0,Iy=-1.1,Mv=!1,Uv=!1,Py=null,db=0,Ur=0,lm=null,R2=X.S;X.S=function(t,e){if(AE=Rl(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>so&&0>xu){so=Ul();var a=rf(),i=Su();(a!==jf||i!==Mr)&&(jf=-1.1),qf=a,Mr=i}Ku(t,e)}R2!==null&&R2(t,e)};var Cr=Ft(null),di={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},t0=[],e0=[],l0=[],a0=[],n0=[],u0=[],xr=new Set;di.recordUnsafeLifecycleWarnings=function(t,e){xr.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&t0.push(t),t.mode&Da&&typeof e.UNSAFE_componentWillMount=="function"&&e0.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&l0.push(t),t.mode&Da&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&a0.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&n0.push(t),t.mode&Da&&typeof e.UNSAFE_componentWillUpdate=="function"&&u0.push(t))},di.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<t0.length&&(t0.forEach(function(h){t.add(ct(h)||"Component"),xr.add(h.type)}),t0=[]);var e=new Set;0<e0.length&&(e0.forEach(function(h){e.add(ct(h)||"Component"),xr.add(h.type)}),e0=[]);var a=new Set;0<l0.length&&(l0.forEach(function(h){a.add(ct(h)||"Component"),xr.add(h.type)}),l0=[]);var i=new Set;0<a0.length&&(a0.forEach(function(h){i.add(ct(h)||"Component"),xr.add(h.type)}),a0=[]);var o=new Set;0<n0.length&&(n0.forEach(function(h){o.add(ct(h)||"Component"),xr.add(h.type)}),n0=[]);var f=new Set;if(0<u0.length&&(u0.forEach(function(h){f.add(ct(h)||"Component"),xr.add(h.type)}),u0=[]),0<e.size){var d=W(e);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
+
|
|
210
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
211
|
+
|
|
212
|
+
Please update the following components: %s`,d)}0<i.size&&(d=W(i),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
213
|
+
|
|
214
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
215
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s`,d)),0<f.size&&(d=W(f),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
218
|
+
|
|
219
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
220
|
+
|
|
221
|
+
Please update the following components: %s`,d)),0<t.size&&(d=W(t),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
222
|
+
|
|
223
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
224
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
225
|
+
|
|
226
|
+
Please update the following components: %s`,d)),0<a.size&&(d=W(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
227
|
+
|
|
228
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
229
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
230
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
231
|
+
|
|
232
|
+
Please update the following components: %s`,d)),0<o.size&&(d=W(o),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
233
|
+
|
|
234
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
235
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
236
|
+
|
|
237
|
+
Please update the following components: %s`,d))};var Cv=new Map,M2=new Set;di.recordLegacyContextWarning=function(t,e){for(var a=null,i=t;i!==null;)i.mode&Da&&(a=i),i=i.return;a===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!M2.has(t.type)&&(i=Cv.get(a),t.type.contextTypes!=null||t.type.childContextTypes!=null||e!==null&&typeof e.getChildContext=="function")&&(i===void 0&&(i=[],Cv.set(a,i)),i.push(t))},di.flushLegacyContextWarning=function(){Cv.forEach(function(t){if(t.length!==0){var e=t[0],a=new Set;t.forEach(function(o){a.add(ct(o)||"Component"),M2.add(o.type)});var i=W(a);rt(e,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
238
|
+
|
|
239
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
240
|
+
|
|
241
|
+
Please update the following components: %s
|
|
242
|
+
|
|
243
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},di.discardPendingWarnings=function(){t0=[],e0=[],l0=[],a0=[],n0=[],u0=[],Cv=new Map};var U2={react_stack_bottom_frame:function(t,e,a){var i=Tu;Tu=!0;try{return t(e,a)}finally{Tu=i}}},hb=U2.react_stack_bottom_frame.bind(U2),C2={react_stack_bottom_frame:function(t){var e=Tu;Tu=!0;try{return t.render()}finally{Tu=e}}},x2=C2.react_stack_bottom_frame.bind(C2),H2={react_stack_bottom_frame:function(t,e){try{e.componentDidMount()}catch(a){qt(t,t.return,a)}}},mb=H2.react_stack_bottom_frame.bind(H2),w2={react_stack_bottom_frame:function(t,e,a,i,o){try{e.componentDidUpdate(a,i,o)}catch(f){qt(t,t.return,f)}}},N2=w2.react_stack_bottom_frame.bind(w2),B2={react_stack_bottom_frame:function(t,e){var a=e.stack;t.componentDidCatch(e.value,{componentStack:a!==null?a:""})}},k3=B2.react_stack_bottom_frame.bind(B2),q2={react_stack_bottom_frame:function(t,e,a){try{a.componentWillUnmount()}catch(i){qt(t,e,i)}}},j2=q2.react_stack_bottom_frame.bind(q2),Y2={react_stack_bottom_frame:function(t){var e=t.create;return t=t.inst,e=e(),t.destroy=e}},F3=Y2.react_stack_bottom_frame.bind(Y2),G2={react_stack_bottom_frame:function(t,e,a){try{a()}catch(i){qt(t,e,i)}}},W3=G2.react_stack_bottom_frame.bind(G2),X2={react_stack_bottom_frame:function(t){var e=t._init;return e(t._payload)}},I3=X2.react_stack_bottom_frame.bind(X2),am=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),pb=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),xv=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Hv={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Hr=null,i0=!1,nm=null,c0=0,Vt=null,yb,L2=yb=!1,V2={},Q2={},Z2={};F=function(t,e,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");a._store.validated=1;var i=ct(t),o=i||"null";if(!V2[o]){V2[o]=!0,a=a._owner,t=t._debugOwner;var f="";t&&typeof t.tag=="number"&&(o=ct(t))&&(f=`
|
|
244
|
+
|
|
245
|
+
Check the render method of \``+o+"`."),f||i&&(f=`
|
|
246
|
+
|
|
247
|
+
Check the top-level render call using <`+i+">.");var d="";a!=null&&t!==a&&(i=null,typeof a.tag=="number"?i=ct(a):typeof a.name=="string"&&(i=a.name),i&&(d=" It was passed a child from "+i+".")),rt(e,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',f,d)})}}};var wr=Al(!0),J2=Al(!1),K2=0,$2=1,k2=2,gb=3,Yf=!1,F2=!1,vb=null,bb=!1,um=Ft(null),wv=Ft(0),Vn=Ft(null),Hu=null,im=1,o0=2,bl=Ft(0),Nv=0,wu=1,Ka=2,Qn=4,$a=8,cm,W2=new Set,I2=new Set,Sb=new Set,P2=new Set,ro=0,xt=null,xe=null,Cl=null,Bv=!1,om=!1,Nr=!1,qv=0,f0=0,ho=null,P3=0,tz=25,G=null,Nu=null,mo=-1,s0=!1,r0={readContext:re,use:Wu,useCallback:ke,useContext:ke,useEffect:ke,useImperativeHandle:ke,useLayoutEffect:ke,useInsertionEffect:ke,useMemo:ke,useReducer:ke,useRef:ke,useState:ke,useDebugValue:ke,useDeferredValue:ke,useTransition:ke,useSyncExternalStore:ke,useId:ke,useHostTransitionStatus:ke,useFormState:ke,useActionState:ke,useOptimistic:ke,useMemoCache:ke,useCacheRefresh:ke};r0.useEffectEvent=ke;var Eb=null,tE=null,Tb=null,eE=null,uc=null,hi=null,jv=null;Eb={readContext:function(t){return re(t)},use:Wu,useCallback:function(t,e){return G="useCallback",Ct(),Fu(e),Nd(t,e)},useContext:function(t){return G="useContext",Ct(),re(t)},useEffect:function(t,e){return G="useEffect",Ct(),Fu(e),Nc(t,e)},useImperativeHandle:function(t,e,a){return G="useImperativeHandle",Ct(),Fu(a),ou(t,e,a)},useInsertionEffect:function(t,e){G="useInsertionEffect",Ct(),Fu(e),Gi(4,Ka,t,e)},useLayoutEffect:function(t,e){return G="useLayoutEffect",Ct(),Fu(e),na(t,e)},useMemo:function(t,e){G="useMemo",Ct(),Fu(e);var a=X.H;X.H=uc;try{return ua(t,e)}finally{X.H=a}},useReducer:function(t,e,a){G="useReducer",Ct();var i=X.H;X.H=uc;try{return Go(t,e,a)}finally{X.H=i}},useRef:function(t){return G="useRef",Ct(),wd(t)},useState:function(t){G="useState",Ct();var e=X.H;X.H=uc;try{return Bi(t)}finally{X.H=e}},useDebugValue:function(){G="useDebugValue",Ct()},useDeferredValue:function(t,e){return G="useDeferredValue",Ct(),Zo(t,e)},useTransition:function(){return G="useTransition",Ct(),Xi()},useSyncExternalStore:function(t,e,a){return G="useSyncExternalStore",Ct(),Xo(t,e,a)},useId:function(){return G="useId",Ct(),js()},useFormState:function(t,e){return G="useFormState",Ct(),_s(),Na(t,e)},useActionState:function(t,e){return G="useActionState",Ct(),Na(t,e)},useOptimistic:function(t){return G="useOptimistic",Ct(),wc(t)},useHostTransitionStatus:ei,useMemoCache:Ha,useCacheRefresh:function(){return G="useCacheRefresh",Ct(),Bd()},useEffectEvent:function(t){return G="useEffectEvent",Ct(),Bs(t)}},tE={readContext:function(t){return re(t)},use:Wu,useCallback:function(t,e){return G="useCallback",k(),Nd(t,e)},useContext:function(t){return G="useContext",k(),re(t)},useEffect:function(t,e){return G="useEffect",k(),Nc(t,e)},useImperativeHandle:function(t,e,a){return G="useImperativeHandle",k(),ou(t,e,a)},useInsertionEffect:function(t,e){G="useInsertionEffect",k(),Gi(4,Ka,t,e)},useLayoutEffect:function(t,e){return G="useLayoutEffect",k(),na(t,e)},useMemo:function(t,e){G="useMemo",k();var a=X.H;X.H=uc;try{return ua(t,e)}finally{X.H=a}},useReducer:function(t,e,a){G="useReducer",k();var i=X.H;X.H=uc;try{return Go(t,e,a)}finally{X.H=i}},useRef:function(t){return G="useRef",k(),wd(t)},useState:function(t){G="useState",k();var e=X.H;X.H=uc;try{return Bi(t)}finally{X.H=e}},useDebugValue:function(){G="useDebugValue",k()},useDeferredValue:function(t,e){return G="useDeferredValue",k(),Zo(t,e)},useTransition:function(){return G="useTransition",k(),Xi()},useSyncExternalStore:function(t,e,a){return G="useSyncExternalStore",k(),Xo(t,e,a)},useId:function(){return G="useId",k(),js()},useActionState:function(t,e){return G="useActionState",k(),Na(t,e)},useFormState:function(t,e){return G="useFormState",k(),_s(),Na(t,e)},useOptimistic:function(t){return G="useOptimistic",k(),wc(t)},useHostTransitionStatus:ei,useMemoCache:Ha,useCacheRefresh:function(){return G="useCacheRefresh",k(),Bd()},useEffectEvent:function(t){return G="useEffectEvent",k(),Bs(t)}},Tb={readContext:function(t){return re(t)},use:Wu,useCallback:function(t,e){return G="useCallback",k(),Un(t,e)},useContext:function(t){return G="useContext",k(),re(t)},useEffect:function(t,e){G="useEffect",k(),pl(2048,$a,t,e)},useImperativeHandle:function(t,e,a){return G="useImperativeHandle",k(),Qo(t,e,a)},useInsertionEffect:function(t,e){return G="useInsertionEffect",k(),pl(4,Ka,t,e)},useLayoutEffect:function(t,e){return G="useLayoutEffect",k(),pl(4,Qn,t,e)},useMemo:function(t,e){G="useMemo",k();var a=X.H;X.H=hi;try{return je(t,e)}finally{X.H=a}},useReducer:function(t,e,a){G="useReducer",k();var i=X.H;X.H=hi;try{return Cc(t,e,a)}finally{X.H=i}},useRef:function(){return G="useRef",k(),pe().memoizedState},useState:function(){G="useState",k();var t=X.H;X.H=hi;try{return Cc(wa)}finally{X.H=t}},useDebugValue:function(){G="useDebugValue",k()},useDeferredValue:function(t,e){return G="useDeferredValue",k(),fu(t,e)},useTransition:function(){return G="useTransition",k(),hg()},useSyncExternalStore:function(t,e,a){return G="useSyncExternalStore",k(),Hc(t,e,a)},useId:function(){return G="useId",k(),pe().memoizedState},useFormState:function(t){return G="useFormState",k(),_s(),ji(t)},useActionState:function(t){return G="useActionState",k(),ji(t)},useOptimistic:function(t,e){return G="useOptimistic",k(),Hs(t,e)},useHostTransitionStatus:ei,useMemoCache:Ha,useCacheRefresh:function(){return G="useCacheRefresh",k(),pe().memoizedState},useEffectEvent:function(t){return G="useEffectEvent",k(),Vo(t)}},eE={readContext:function(t){return re(t)},use:Wu,useCallback:function(t,e){return G="useCallback",k(),Un(t,e)},useContext:function(t){return G="useContext",k(),re(t)},useEffect:function(t,e){G="useEffect",k(),pl(2048,$a,t,e)},useImperativeHandle:function(t,e,a){return G="useImperativeHandle",k(),Qo(t,e,a)},useInsertionEffect:function(t,e){return G="useInsertionEffect",k(),pl(4,Ka,t,e)},useLayoutEffect:function(t,e){return G="useLayoutEffect",k(),pl(4,Qn,t,e)},useMemo:function(t,e){G="useMemo",k();var a=X.H;X.H=jv;try{return je(t,e)}finally{X.H=a}},useReducer:function(t,e,a){G="useReducer",k();var i=X.H;X.H=jv;try{return xc(t,e,a)}finally{X.H=i}},useRef:function(){return G="useRef",k(),pe().memoizedState},useState:function(){G="useState",k();var t=X.H;X.H=jv;try{return xc(wa)}finally{X.H=t}},useDebugValue:function(){G="useDebugValue",k()},useDeferredValue:function(t,e){return G="useDeferredValue",k(),Bt(t,e)},useTransition:function(){return G="useTransition",k(),Qe()},useSyncExternalStore:function(t,e,a){return G="useSyncExternalStore",k(),Hc(t,e,a)},useId:function(){return G="useId",k(),pe().memoizedState},useFormState:function(t){return G="useFormState",k(),_s(),Yi(t)},useActionState:function(t){return G="useActionState",k(),Yi(t)},useOptimistic:function(t,e){return G="useOptimistic",k(),ws(t,e)},useHostTransitionStatus:ei,useMemoCache:Ha,useCacheRefresh:function(){return G="useCacheRefresh",k(),pe().memoizedState},useEffectEvent:function(t){return G="useEffectEvent",k(),Vo(t)}},uc={readContext:function(t){return tt(),re(t)},use:function(t){return M(),Wu(t)},useCallback:function(t,e){return G="useCallback",M(),Ct(),Nd(t,e)},useContext:function(t){return G="useContext",M(),Ct(),re(t)},useEffect:function(t,e){return G="useEffect",M(),Ct(),Nc(t,e)},useImperativeHandle:function(t,e,a){return G="useImperativeHandle",M(),Ct(),ou(t,e,a)},useInsertionEffect:function(t,e){G="useInsertionEffect",M(),Ct(),Gi(4,Ka,t,e)},useLayoutEffect:function(t,e){return G="useLayoutEffect",M(),Ct(),na(t,e)},useMemo:function(t,e){G="useMemo",M(),Ct();var a=X.H;X.H=uc;try{return ua(t,e)}finally{X.H=a}},useReducer:function(t,e,a){G="useReducer",M(),Ct();var i=X.H;X.H=uc;try{return Go(t,e,a)}finally{X.H=i}},useRef:function(t){return G="useRef",M(),Ct(),wd(t)},useState:function(t){G="useState",M(),Ct();var e=X.H;X.H=uc;try{return Bi(t)}finally{X.H=e}},useDebugValue:function(){G="useDebugValue",M(),Ct()},useDeferredValue:function(t,e){return G="useDeferredValue",M(),Ct(),Zo(t,e)},useTransition:function(){return G="useTransition",M(),Ct(),Xi()},useSyncExternalStore:function(t,e,a){return G="useSyncExternalStore",M(),Ct(),Xo(t,e,a)},useId:function(){return G="useId",M(),Ct(),js()},useFormState:function(t,e){return G="useFormState",M(),Ct(),Na(t,e)},useActionState:function(t,e){return G="useActionState",M(),Ct(),Na(t,e)},useOptimistic:function(t){return G="useOptimistic",M(),Ct(),wc(t)},useMemoCache:function(t){return M(),Ha(t)},useHostTransitionStatus:ei,useCacheRefresh:function(){return G="useCacheRefresh",Ct(),Bd()},useEffectEvent:function(t){return G="useEffectEvent",M(),Ct(),Bs(t)}},hi={readContext:function(t){return tt(),re(t)},use:function(t){return M(),Wu(t)},useCallback:function(t,e){return G="useCallback",M(),k(),Un(t,e)},useContext:function(t){return G="useContext",M(),k(),re(t)},useEffect:function(t,e){G="useEffect",M(),k(),pl(2048,$a,t,e)},useImperativeHandle:function(t,e,a){return G="useImperativeHandle",M(),k(),Qo(t,e,a)},useInsertionEffect:function(t,e){return G="useInsertionEffect",M(),k(),pl(4,Ka,t,e)},useLayoutEffect:function(t,e){return G="useLayoutEffect",M(),k(),pl(4,Qn,t,e)},useMemo:function(t,e){G="useMemo",M(),k();var a=X.H;X.H=hi;try{return je(t,e)}finally{X.H=a}},useReducer:function(t,e,a){G="useReducer",M(),k();var i=X.H;X.H=hi;try{return Cc(t,e,a)}finally{X.H=i}},useRef:function(){return G="useRef",M(),k(),pe().memoizedState},useState:function(){G="useState",M(),k();var t=X.H;X.H=hi;try{return Cc(wa)}finally{X.H=t}},useDebugValue:function(){G="useDebugValue",M(),k()},useDeferredValue:function(t,e){return G="useDeferredValue",M(),k(),fu(t,e)},useTransition:function(){return G="useTransition",M(),k(),hg()},useSyncExternalStore:function(t,e,a){return G="useSyncExternalStore",M(),k(),Hc(t,e,a)},useId:function(){return G="useId",M(),k(),pe().memoizedState},useFormState:function(t){return G="useFormState",M(),k(),ji(t)},useActionState:function(t){return G="useActionState",M(),k(),ji(t)},useOptimistic:function(t,e){return G="useOptimistic",M(),k(),Hs(t,e)},useMemoCache:function(t){return M(),Ha(t)},useHostTransitionStatus:ei,useCacheRefresh:function(){return G="useCacheRefresh",k(),pe().memoizedState},useEffectEvent:function(t){return G="useEffectEvent",M(),k(),Vo(t)}},jv={readContext:function(t){return tt(),re(t)},use:function(t){return M(),Wu(t)},useCallback:function(t,e){return G="useCallback",M(),k(),Un(t,e)},useContext:function(t){return G="useContext",M(),k(),re(t)},useEffect:function(t,e){G="useEffect",M(),k(),pl(2048,$a,t,e)},useImperativeHandle:function(t,e,a){return G="useImperativeHandle",M(),k(),Qo(t,e,a)},useInsertionEffect:function(t,e){return G="useInsertionEffect",M(),k(),pl(4,Ka,t,e)},useLayoutEffect:function(t,e){return G="useLayoutEffect",M(),k(),pl(4,Qn,t,e)},useMemo:function(t,e){G="useMemo",M(),k();var a=X.H;X.H=hi;try{return je(t,e)}finally{X.H=a}},useReducer:function(t,e,a){G="useReducer",M(),k();var i=X.H;X.H=hi;try{return xc(t,e,a)}finally{X.H=i}},useRef:function(){return G="useRef",M(),k(),pe().memoizedState},useState:function(){G="useState",M(),k();var t=X.H;X.H=hi;try{return xc(wa)}finally{X.H=t}},useDebugValue:function(){G="useDebugValue",M(),k()},useDeferredValue:function(t,e){return G="useDeferredValue",M(),k(),Bt(t,e)},useTransition:function(){return G="useTransition",M(),k(),Qe()},useSyncExternalStore:function(t,e,a){return G="useSyncExternalStore",M(),k(),Hc(t,e,a)},useId:function(){return G="useId",M(),k(),pe().memoizedState},useFormState:function(t){return G="useFormState",M(),k(),Yi(t)},useActionState:function(t){return G="useActionState",M(),k(),Yi(t)},useOptimistic:function(t,e){return G="useOptimistic",M(),k(),ws(t,e)},useMemoCache:function(t){return M(),Ha(t)},useHostTransitionStatus:ei,useCacheRefresh:function(){return G="useCacheRefresh",k(),pe().memoizedState},useEffectEvent:function(t){return G="useEffectEvent",M(),k(),Vo(t)}};var lE={},aE=new Set,nE=new Set,uE=new Set,iE=new Set,cE=new Set,oE=new Set,fE=new Set,sE=new Set,rE=new Set,dE=new Set;Object.freeze(lE);var Ab={enqueueSetState:function(t,e,a){t=t._reactInternals;var i=Zl(t),o=ml(i);o.payload=e,a!=null&&(Yc(a),o.callback=a),e=nu(t,o,i),e!==null&&(eu(i,"this.setState()",t),Rt(e,t,i),cn(e,t,i))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var i=Zl(t),o=ml(i);o.tag=$2,o.payload=e,a!=null&&(Yc(a),o.callback=a),e=nu(t,o,i),e!==null&&(eu(i,"this.replaceState()",t),Rt(e,t,i),cn(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Zl(t),i=ml(a);i.tag=k2,e!=null&&(Yc(e),i.callback=e),e=nu(t,i,a),e!==null&&(eu(a,"this.forceUpdate()",t),Rt(e,t,a),cn(e,t,a))}},fm=null,zb=null,Db=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),xl=!1,hE={},mE={},pE={},yE={},sm=!1,gE={},Yv={},Ob={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},vE=!1,bE=null;bE=new Set;var po=!1,Hl=!1,_b=!1,SE=typeof WeakSet=="function"?WeakSet:Set,kl=null,rm=null,dm=null,wl=null,hn=!1,mi=null,Xl=!1,d0=8192,ez={getCacheForType:function(t){var e=re(Ml),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return re(Ml).controller.signal},getOwner:function(){return za}};if(typeof Symbol=="function"&&Symbol.for){var h0=Symbol.for;h0("selector.component"),h0("selector.has_pseudo_class"),h0("selector.role"),h0("selector.test_id"),h0("selector.text")}var lz=[],az=typeof WeakMap=="function"?WeakMap:Map,Fl=0,Ll=2,Zn=4,yo=0,m0=1,Br=2,Gv=3,Gf=4,Xv=6,EE=5,oe=Fl,He=null,$t=null,Qt=0,mn=0,Lv=1,qr=2,p0=3,TE=4,Rb=5,y0=6,Vv=7,Mb=8,jr=9,_e=mn,Jn=null,Xf=!1,hm=!1,Ub=!1,ic=0,Ie=yo,Lf=0,Vf=0,Cb=0,pn=0,Yr=0,g0=null,ka=null,Qv=!1,Zv=0,AE=0,zE=300,Jv=1/0,DE=500,v0=null,sl=null,Qf=null,Kv=0,xb=1,Hb=2,OE=3,Zf=0,_E=1,RE=2,ME=3,UE=4,$v=5,Nl=0,Jf=null,mm=null,pi=0,wb=0,Nb=-0,Bb=null,CE=null,xE=null,yi=Kv,HE=null,nz=50,b0=0,qb=null,jb=!1,kv=!1,uz=50,Gr=0,S0=null,pm=!1,Fv=null,wE=!1,NE=new Set,iz={},Wv=null,ym=null,Yb=!1,Gb=!1,Iv=!1,Xb=!1,Kf=0,Lb={};(function(){for(var t=0;t<P1.length;t++){var e=P1[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),Sn(a,"on"+e)}Sn(r2,"onAnimationEnd"),Sn(d2,"onAnimationIteration"),Sn(h2,"onAnimationStart"),Sn("dblclick","onDoubleClick"),Sn("focusin","onFocus"),Sn("focusout","onBlur"),Sn(N3,"onTransitionRun"),Sn(B3,"onTransitionStart"),Sn(q3,"onTransitionCancel"),Sn(m2,"onTransitionEnd")})(),So("onMouseEnter",["mouseout","mouseover"]),So("onMouseLeave",["mouseout","mouseover"]),So("onPointerEnter",["pointerout","pointerover"]),So("onPointerLeave",["pointerout","pointerover"]),gn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),gn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),gn("onBeforeInput",["compositionend","keypress","textInput","paste"]),gn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),gn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),gn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var E0="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Vb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(E0)),Pv="_reactListening"+Math.random().toString(36).slice(2),BE=!1,qE=!1,t1=!1,jE=!1,e1=!1,l1=!1,YE=!1,a1={},cz=/\r\n?/g,oz=/\u0000|\uFFFD/g,Xr="http://www.w3.org/1999/xlink",Qb="http://www.w3.org/XML/1998/namespace",fz="javascript:throw new Error('React form unexpectedly submitted.')",sz="suppressHydrationWarning",Lr="&",n1="/&",T0="$",A0="/$",$f="$?",Vr="$~",gm="$!",rz="html",dz="body",hz="head",Zb="F!",GE="F",XE="loading",mz="style",go=0,vm=1,u1=2,Jb=null,Kb=null,LE={dialog:!0,webview:!0},$b=null,z0=void 0,VE=typeof setTimeout=="function"?setTimeout:void 0,pz=typeof clearTimeout=="function"?clearTimeout:void 0,Qr=-1,QE=typeof Promise=="function"?Promise:void 0,yz=typeof queueMicrotask=="function"?queueMicrotask:typeof QE<"u"?function(t){return QE.resolve(null).then(t).catch(Ng)}:VE,kb=null,Zr=0,D0=1,ZE=2,JE=3,Bu=4,qu=new Map,KE=new Set,vo=he.d;he.d={f:function(){var t=vo.f(),e=Ga();return t||e},r:function(t){var e=yn(t);e!==null&&e.tag===5&&e.type==="form"?Jo(e):vo.r(t)},D:function(t){vo.D(t),dy("dns-prefetch",t,null)},C:function(t,e){vo.C(t,e),dy("preconnect",t,e)},L:function(t,e,a){vo.L(t,e,a);var i=bm;if(i&&t&&e){var o='link[rel="preload"][as="'+Te(e)+'"]';e==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+Te(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+Te(a.imageSizes)+'"]')):o+='[href="'+Te(t)+'"]';var f=o;switch(e){case"style":f=kc(t);break;case"script":f=Fc(t)}qu.has(f)||(t=Xt({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),qu.set(f,t),i.querySelector(o)!==null||e==="style"&&i.querySelector(sr(f))||e==="script"&&i.querySelector(rr(f))||(e=i.createElement("link"),Ye(e,"link",t),Pe(e),i.head.appendChild(e)))}},m:function(t,e){vo.m(t,e);var a=bm;if(a&&t){var i=e&&typeof e.as=="string"?e.as:"script",o='link[rel="modulepreload"][as="'+Te(i)+'"][href="'+Te(t)+'"]',f=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Fc(t)}if(!qu.has(f)&&(t=Xt({rel:"modulepreload",href:t},e),qu.set(f,t),a.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(rr(f)))return}i=a.createElement("link"),Ye(i,"link",t),Pe(i),a.head.appendChild(i)}}},X:function(t,e){vo.X(t,e);var a=bm;if(a&&t){var i=Ia(a).hoistableScripts,o=Fc(t),f=i.get(o);f||(f=a.querySelector(rr(o)),f||(t=Xt({src:t,async:!0},e),(e=qu.get(o))&&py(t,e),f=a.createElement("script"),Pe(f),Ye(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},i.set(o,f))}},S:function(t,e,a){vo.S(t,e,a);var i=bm;if(i&&t){var o=Ia(i).hoistableStyles,f=kc(t);e=e||"default";var d=o.get(f);if(!d){var h={loading:Zr,preload:null};if(d=i.querySelector(sr(f)))h.loading=D0|Bu;else{t=Xt({rel:"stylesheet",href:t,"data-precedence":e},a),(a=qu.get(f))&&my(t,a);var g=d=i.createElement("link");Pe(g),Ye(g,"link",t),g._p=new Promise(function(S,U){g.onload=S,g.onerror=U}),g.addEventListener("load",function(){h.loading|=D0}),g.addEventListener("error",function(){h.loading|=ZE}),h.loading|=Bu,mf(d,e,i)}d={type:"stylesheet",instance:d,count:1,state:h},o.set(f,d)}}},M:function(t,e){vo.M(t,e);var a=bm;if(a&&t){var i=Ia(a).hoistableScripts,o=Fc(t),f=i.get(o);f||(f=a.querySelector(rr(o)),f||(t=Xt({src:t,async:!0,type:"module"},e),(e=qu.get(o))&&py(t,e),f=a.createElement("script"),Pe(f),Ye(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},i.set(o,f))}}};var bm=typeof document>"u"?null:document,i1=null,gz=6e4,vz=800,bz=500,Fb=0,Wb=null,c1=null,Jr=X1,O0={$$typeof:Yn,Provider:null,Consumer:null,_currentValue:Jr,_currentValue2:Jr,_threadCount:0},$E="%c%s%c",kE="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",FE="",o1=" ",Sz=Function.prototype.bind,WE=!1,IE=null,PE=null,tT=null,eT=null,lT=null,aT=null,nT=null,uT=null,iT=null,cT=null;IE=function(t,e,a,i){e=m(t,e),e!==null&&(a=v(e.memoizedState,a,0,i),e.memoizedState=a,e.baseState=a,t.memoizedProps=Xt({},t.memoizedProps),a=Vl(t,2),a!==null&&Rt(a,t,2))},PE=function(t,e,a){e=m(t,e),e!==null&&(a=T(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=Xt({},t.memoizedProps),a=Vl(t,2),a!==null&&Rt(a,t,2))},tT=function(t,e,a,i){e=m(t,e),e!==null&&(a=b(e.memoizedState,a,i),e.memoizedState=a,e.baseState=a,t.memoizedProps=Xt({},t.memoizedProps),a=Vl(t,2),a!==null&&Rt(a,t,2))},eT=function(t,e,a){t.pendingProps=v(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=Vl(t,2),e!==null&&Rt(e,t,2)},lT=function(t,e){t.pendingProps=T(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=Vl(t,2),e!==null&&Rt(e,t,2)},aT=function(t,e,a){t.pendingProps=b(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=Vl(t,2),e!==null&&Rt(e,t,2)},nT=function(t){var e=Vl(t,2);e!==null&&Rt(e,t,2)},uT=function(t){var e=Ir(),a=Vl(t,e);a!==null&&Rt(a,t,e)},iT=function(t){w=t},cT=function(t){_=t};var f1=!0,s1=null,Ib=!1,kf=null,Ff=null,Wf=null,_0=new Map,R0=new Map,If=[],Ez="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),r1=null;if(jn.prototype.render=Dy.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):at(a[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=t;var i=e.current,o=Zl(i);Oh(i,o,a,e,null,null)},jn.prototype.unmount=Dy.prototype.unmount=function(){var t=arguments;if(typeof t[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),t=this._internalRoot,t!==null){this._internalRoot=null;var e=t.containerInfo;(oe&(Ll|Zn))!==Fl&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Oh(t.current,2,null,t,null,null),Ga(),e[si]=null}},jn.prototype.unstable_scheduleHydration=function(t){if(t){var e=V0();t={blockedOn:null,target:t,priority:e};for(var a=0;a<If.length&&e!==0&&e<If[a].priority;a++);If.splice(a,0,t),a===0&&zy(t)}},(function(){var t=yr.version;if(t!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
248
|
+
- react: `+(t+`
|
|
249
|
+
- react-dom: 19.2.4
|
|
250
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),he.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error("Unable to find node on an unmounted component."):(t=Object.keys(t).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+t));return t=ie(e),t=t!==null?Se(t):null,t=t===null?null:t.stateNode,t},!(function(){var t={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:X,reconcilerVersion:"19.2.4"};return t.overrideHookState=IE,t.overrideHookStateDeletePath=PE,t.overrideHookStateRenamePath=tT,t.overrideProps=eT,t.overridePropsDeletePath=lT,t.overridePropsRenamePath=aT,t.scheduleUpdate=nT,t.scheduleRetry=uT,t.setErrorHandler=iT,t.setSuspenseHandler=cT,t.scheduleRefresh=P,t.scheduleRoot=Zt,t.setRefreshHandler=dt,t.getCurrentFiber=De,Um(t)})()&&lc&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var oT=window.location.protocol;/^(https?|file):$/.test(oT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(oT==="file:"?`
|
|
251
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Em.createRoot=function(t,e){if(!at(t))throw Error("Target container is not a DOM element.");Oy(t);var a=!1,i="",o=Yd,f=Gd,d=Sp;return e!=null&&(e.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof e=="object"&&e!==null&&e.$$typeof===rn&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
252
|
+
|
|
253
|
+
let root = createRoot(domContainer);
|
|
254
|
+
root.render(<App />);`),e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(o=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError)),e=mr(t,1,!1,null,null,a,i,null,o,f,d,uv),t[si]=e.current,$i(t),new Dy(e)},Em.hydrateRoot=function(t,e,a){if(!at(t))throw Error("Target container is not a DOM element.");Oy(t),e===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,o="",f=Yd,d=Gd,h=Sp,g=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(h=a.onRecoverableError),a.formState!==void 0&&(g=a.formState)),e=mr(t,1,!0,e,a??null,i,o,g,f,d,h,uv),e.context=ev(null),a=e.current,i=Zl(a),i=fc(i),o=ml(i),o.callback=null,nu(a,o,i),eu(i,"hydrateRoot()",null),a=i,e.current.lanes=a,bi(e,a),Sa(e),t[si]=e.current,$i(t),new jn(e)},Em.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Em}var uS;function gT(){if(uS)return M0.exports;uS=1;function m(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(m)}catch(v){console.error(v)}}}return process.env.NODE_ENV==="production"?(m(),M0.exports=pT()):M0.exports=yT(),M0.exports}var vT=gT();const bT=dT(vT);/**
|
|
255
|
+
* @license lucide-react v0.469.0 - ISC
|
|
256
|
+
*
|
|
257
|
+
* This source code is licensed under the ISC license.
|
|
258
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
259
|
+
*/const ST=m=>m.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),iS=(...m)=>m.filter((v,b,y)=>!!v&&v.trim()!==""&&y.indexOf(v)===b).join(" ").trim();/**
|
|
260
|
+
* @license lucide-react v0.469.0 - ISC
|
|
261
|
+
*
|
|
262
|
+
* This source code is licensed under the ISC license.
|
|
263
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
264
|
+
*/var ET={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
265
|
+
* @license lucide-react v0.469.0 - ISC
|
|
266
|
+
*
|
|
267
|
+
* This source code is licensed under the ISC license.
|
|
268
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
269
|
+
*/const TT=lt.forwardRef(({color:m="currentColor",size:v=24,strokeWidth:b=2,absoluteStrokeWidth:y,className:T="",children:_,iconNode:w,...M},tt)=>lt.createElement("svg",{ref:tt,...ET,width:v,height:v,stroke:m,strokeWidth:y?Number(b)*24/Number(v):b,className:iS("lucide",T),...M},[...w.map(([I,F])=>lt.createElement(I,F)),...Array.isArray(_)?_:[_]]));/**
|
|
270
|
+
* @license lucide-react v0.469.0 - ISC
|
|
271
|
+
*
|
|
272
|
+
* This source code is licensed under the ISC license.
|
|
273
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
274
|
+
*/const Kr=(m,v)=>{const b=lt.forwardRef(({className:y,...T},_)=>lt.createElement(TT,{ref:_,iconNode:v,className:iS(`lucide-${ST(m)}`,y),...T}));return b.displayName=`${m}`,b};/**
|
|
275
|
+
* @license lucide-react v0.469.0 - ISC
|
|
276
|
+
*
|
|
277
|
+
* This source code is licensed under the ISC license.
|
|
278
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
279
|
+
*/const AT=Kr("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
|
|
280
|
+
* @license lucide-react v0.469.0 - ISC
|
|
281
|
+
*
|
|
282
|
+
* This source code is licensed under the ISC license.
|
|
283
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
284
|
+
*/const cS=Kr("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
285
|
+
* @license lucide-react v0.469.0 - ISC
|
|
286
|
+
*
|
|
287
|
+
* This source code is licensed under the ISC license.
|
|
288
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
289
|
+
*/const zT=Kr("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
|
|
290
|
+
* @license lucide-react v0.469.0 - ISC
|
|
291
|
+
*
|
|
292
|
+
* This source code is licensed under the ISC license.
|
|
293
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
294
|
+
*/const DT=Kr("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
|
|
295
|
+
* @license lucide-react v0.469.0 - ISC
|
|
296
|
+
*
|
|
297
|
+
* This source code is licensed under the ISC license.
|
|
298
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
299
|
+
*/const oS=Kr("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
|
|
300
|
+
* @license lucide-react v0.469.0 - ISC
|
|
301
|
+
*
|
|
302
|
+
* This source code is licensed under the ISC license.
|
|
303
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
304
|
+
*/const OT=Kr("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function fS(m,v){return function(){return m.apply(v,arguments)}}const{toString:_T}=Object.prototype,{getPrototypeOf:m1}=Object,{iterator:C0,toStringTag:sS}=Symbol,x0=(m=>v=>{const b=_T.call(v);return m[b]||(m[b]=b.slice(8,-1).toLowerCase())})(Object.create(null)),ju=m=>(m=m.toLowerCase(),v=>x0(v)===m),H0=m=>v=>typeof v===m,{isArray:$r}=Array,kr=H0("undefined");function Tm(m){return m!==null&&!kr(m)&&m.constructor!==null&&!kr(m.constructor)&&Fa(m.constructor.isBuffer)&&m.constructor.isBuffer(m)}const rS=ju("ArrayBuffer");function RT(m){let v;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?v=ArrayBuffer.isView(m):v=m&&m.buffer&&rS(m.buffer),v}const MT=H0("string"),Fa=H0("function"),dS=H0("number"),Am=m=>m!==null&&typeof m=="object",UT=m=>m===!0||m===!1,w0=m=>{if(x0(m)!=="object")return!1;const v=m1(m);return(v===null||v===Object.prototype||Object.getPrototypeOf(v)===null)&&!(sS in m)&&!(C0 in m)},CT=m=>{if(!Am(m)||Tm(m))return!1;try{return Object.keys(m).length===0&&Object.getPrototypeOf(m)===Object.prototype}catch{return!1}},xT=ju("Date"),HT=ju("File"),wT=ju("Blob"),NT=ju("FileList"),BT=m=>Am(m)&&Fa(m.pipe),qT=m=>{let v;return m&&(typeof FormData=="function"&&m instanceof FormData||Fa(m.append)&&((v=x0(m))==="formdata"||v==="object"&&Fa(m.toString)&&m.toString()==="[object FormData]"))},jT=ju("URLSearchParams"),[YT,GT,XT,LT]=["ReadableStream","Request","Response","Headers"].map(ju),VT=m=>m.trim?m.trim():m.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zm(m,v,{allOwnKeys:b=!1}={}){if(m===null||typeof m>"u")return;let y,T;if(typeof m!="object"&&(m=[m]),$r(m))for(y=0,T=m.length;y<T;y++)v.call(null,m[y],y,m);else{if(Tm(m))return;const _=b?Object.getOwnPropertyNames(m):Object.keys(m),w=_.length;let M;for(y=0;y<w;y++)M=_[y],v.call(null,m[M],M,m)}}function hS(m,v){if(Tm(m))return null;v=v.toLowerCase();const b=Object.keys(m);let y=b.length,T;for(;y-- >0;)if(T=b[y],v===T.toLowerCase())return T;return null}const ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,mS=m=>!kr(m)&&m!==ts;function p1(){const{caseless:m,skipUndefined:v}=mS(this)&&this||{},b={},y=(T,_)=>{const w=m&&hS(b,_)||_;w0(b[w])&&w0(T)?b[w]=p1(b[w],T):w0(T)?b[w]=p1({},T):$r(T)?b[w]=T.slice():(!v||!kr(T))&&(b[w]=T)};for(let T=0,_=arguments.length;T<_;T++)arguments[T]&&zm(arguments[T],y);return b}const QT=(m,v,b,{allOwnKeys:y}={})=>(zm(v,(T,_)=>{b&&Fa(T)?Object.defineProperty(m,_,{value:fS(T,b),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(m,_,{value:T,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:y}),m),ZT=m=>(m.charCodeAt(0)===65279&&(m=m.slice(1)),m),JT=(m,v,b,y)=>{m.prototype=Object.create(v.prototype,y),Object.defineProperty(m.prototype,"constructor",{value:m,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(m,"super",{value:v.prototype}),b&&Object.assign(m.prototype,b)},KT=(m,v,b,y)=>{let T,_,w;const M={};if(v=v||{},m==null)return v;do{for(T=Object.getOwnPropertyNames(m),_=T.length;_-- >0;)w=T[_],(!y||y(w,m,v))&&!M[w]&&(v[w]=m[w],M[w]=!0);m=b!==!1&&m1(m)}while(m&&(!b||b(m,v))&&m!==Object.prototype);return v},$T=(m,v,b)=>{m=String(m),(b===void 0||b>m.length)&&(b=m.length),b-=v.length;const y=m.indexOf(v,b);return y!==-1&&y===b},kT=m=>{if(!m)return null;if($r(m))return m;let v=m.length;if(!dS(v))return null;const b=new Array(v);for(;v-- >0;)b[v]=m[v];return b},FT=(m=>v=>m&&v instanceof m)(typeof Uint8Array<"u"&&m1(Uint8Array)),WT=(m,v)=>{const y=(m&&m[C0]).call(m);let T;for(;(T=y.next())&&!T.done;){const _=T.value;v.call(m,_[0],_[1])}},IT=(m,v)=>{let b;const y=[];for(;(b=m.exec(v))!==null;)y.push(b);return y},PT=ju("HTMLFormElement"),tA=m=>m.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(b,y,T){return y.toUpperCase()+T}),pS=(({hasOwnProperty:m})=>(v,b)=>m.call(v,b))(Object.prototype),eA=ju("RegExp"),yS=(m,v)=>{const b=Object.getOwnPropertyDescriptors(m),y={};zm(b,(T,_)=>{let w;(w=v(T,_,m))!==!1&&(y[_]=w||T)}),Object.defineProperties(m,y)},lA=m=>{yS(m,(v,b)=>{if(Fa(m)&&["arguments","caller","callee"].indexOf(b)!==-1)return!1;const y=m[b];if(Fa(y)){if(v.enumerable=!1,"writable"in v){v.writable=!1;return}v.set||(v.set=()=>{throw Error("Can not rewrite read-only method '"+b+"'")})}})},aA=(m,v)=>{const b={},y=T=>{T.forEach(_=>{b[_]=!0})};return $r(m)?y(m):y(String(m).split(v)),b},nA=()=>{},uA=(m,v)=>m!=null&&Number.isFinite(m=+m)?m:v;function iA(m){return!!(m&&Fa(m.append)&&m[sS]==="FormData"&&m[C0])}const cA=m=>{const v=new Array(10),b=(y,T)=>{if(Am(y)){if(v.indexOf(y)>=0)return;if(Tm(y))return y;if(!("toJSON"in y)){v[T]=y;const _=$r(y)?[]:{};return zm(y,(w,M)=>{const tt=b(w,T+1);!kr(tt)&&(_[M]=tt)}),v[T]=void 0,_}}return y};return b(m,0)},oA=ju("AsyncFunction"),fA=m=>m&&(Am(m)||Fa(m))&&Fa(m.then)&&Fa(m.catch),gS=((m,v)=>m?setImmediate:v?((b,y)=>(ts.addEventListener("message",({source:T,data:_})=>{T===ts&&_===b&&y.length&&y.shift()()},!1),T=>{y.push(T),ts.postMessage(b,"*")}))(`axios@${Math.random()}`,[]):b=>setTimeout(b))(typeof setImmediate=="function",Fa(ts.postMessage)),sA=typeof queueMicrotask<"u"?queueMicrotask.bind(ts):typeof process<"u"&&process.nextTick||gS,V={isArray:$r,isArrayBuffer:rS,isBuffer:Tm,isFormData:qT,isArrayBufferView:RT,isString:MT,isNumber:dS,isBoolean:UT,isObject:Am,isPlainObject:w0,isEmptyObject:CT,isReadableStream:YT,isRequest:GT,isResponse:XT,isHeaders:LT,isUndefined:kr,isDate:xT,isFile:HT,isBlob:wT,isRegExp:eA,isFunction:Fa,isStream:BT,isURLSearchParams:jT,isTypedArray:FT,isFileList:NT,forEach:zm,merge:p1,extend:QT,trim:VT,stripBOM:ZT,inherits:JT,toFlatObject:KT,kindOf:x0,kindOfTest:ju,endsWith:$T,toArray:kT,forEachEntry:WT,matchAll:IT,isHTMLForm:PT,hasOwnProperty:pS,hasOwnProp:pS,reduceDescriptors:yS,freezeMethods:lA,toObjectSet:aA,toCamelCase:tA,noop:nA,toFiniteNumber:uA,findKey:hS,global:ts,isContextDefined:mS,isSpecCompliantForm:iA,toJSONObject:cA,isAsyncFn:oA,isThenable:fA,setImmediate:gS,asap:sA,isIterable:m=>m!=null&&Fa(m[C0])};let Mt=class sT extends Error{static from(v,b,y,T,_,w){const M=new sT(v.message,b||v.code,y,T,_);return M.cause=v,M.name=v.name,w&&Object.assign(M,w),M}constructor(v,b,y,T,_){super(v),this.name="AxiosError",this.isAxiosError=!0,b&&(this.code=b),y&&(this.config=y),T&&(this.request=T),_&&(this.response=_,this.status=_.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:V.toJSONObject(this.config),code:this.code,status:this.status}}};Mt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Mt.ERR_BAD_OPTION="ERR_BAD_OPTION",Mt.ECONNABORTED="ECONNABORTED",Mt.ETIMEDOUT="ETIMEDOUT",Mt.ERR_NETWORK="ERR_NETWORK",Mt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Mt.ERR_DEPRECATED="ERR_DEPRECATED",Mt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Mt.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Mt.ERR_CANCELED="ERR_CANCELED",Mt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Mt.ERR_INVALID_URL="ERR_INVALID_URL";const rA=null;function y1(m){return V.isPlainObject(m)||V.isArray(m)}function vS(m){return V.endsWith(m,"[]")?m.slice(0,-2):m}function bS(m,v,b){return m?m.concat(v).map(function(T,_){return T=vS(T),!b&&_?"["+T+"]":T}).join(b?".":""):v}function dA(m){return V.isArray(m)&&!m.some(y1)}const hA=V.toFlatObject(V,{},null,function(v){return/^is[A-Z]/.test(v)});function N0(m,v,b){if(!V.isObject(m))throw new TypeError("target must be an object");v=v||new FormData,b=V.toFlatObject(b,{metaTokens:!0,dots:!1,indexes:!1},!1,function(dt,at){return!V.isUndefined(at[dt])});const y=b.metaTokens,T=b.visitor||F,_=b.dots,w=b.indexes,tt=(b.Blob||typeof Blob<"u"&&Blob)&&V.isSpecCompliantForm(v);if(!V.isFunction(T))throw new TypeError("visitor must be a function");function I(P){if(P===null)return"";if(V.isDate(P))return P.toISOString();if(V.isBoolean(P))return P.toString();if(!tt&&V.isBlob(P))throw new Mt("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(P)||V.isTypedArray(P)?tt&&typeof Blob=="function"?new Blob([P]):Buffer.from(P):P}function F(P,dt,at){let Tt=P;if(P&&!at&&typeof P=="object"){if(V.endsWith(dt,"{}"))dt=y?dt:dt.slice(0,-2),P=JSON.stringify(P);else if(V.isArray(P)&&dA(P)||(V.isFileList(P)||V.endsWith(dt,"[]"))&&(Tt=V.toArray(P)))return dt=vS(dt),Tt.forEach(function(Et,gt){!(V.isUndefined(Et)||Et===null)&&v.append(w===!0?bS([dt],gt,_):w===null?dt:dt+"[]",I(Et))}),!1}return y1(P)?!0:(v.append(bS(at,dt,_),I(P)),!1)}const W=[],st=Object.assign(hA,{defaultVisitor:F,convertValue:I,isVisitable:y1});function Zt(P,dt){if(!V.isUndefined(P)){if(W.indexOf(P)!==-1)throw Error("Circular reference detected in "+dt.join("."));W.push(P),V.forEach(P,function(Tt,te){(!(V.isUndefined(Tt)||Tt===null)&&T.call(v,Tt,V.isString(te)?te.trim():te,dt,st))===!0&&Zt(Tt,dt?dt.concat(te):[te])}),W.pop()}}if(!V.isObject(m))throw new TypeError("data must be an object");return Zt(m),v}function SS(m){const v={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(m).replace(/[!'()~]|%20|%00/g,function(y){return v[y]})}function g1(m,v){this._pairs=[],m&&N0(m,this,v)}const ES=g1.prototype;ES.append=function(v,b){this._pairs.push([v,b])},ES.toString=function(v){const b=v?function(y){return v.call(this,y,SS)}:SS;return this._pairs.map(function(T){return b(T[0])+"="+b(T[1])},"").join("&")};function mA(m){return encodeURIComponent(m).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function TS(m,v,b){if(!v)return m;const y=b&&b.encode||mA,T=V.isFunction(b)?{serialize:b}:b,_=T&&T.serialize;let w;if(_?w=_(v,T):w=V.isURLSearchParams(v)?v.toString():new g1(v,T).toString(y),w){const M=m.indexOf("#");M!==-1&&(m=m.slice(0,M)),m+=(m.indexOf("?")===-1?"?":"&")+w}return m}class AS{constructor(){this.handlers=[]}use(v,b,y){return this.handlers.push({fulfilled:v,rejected:b,synchronous:y?y.synchronous:!1,runWhen:y?y.runWhen:null}),this.handlers.length-1}eject(v){this.handlers[v]&&(this.handlers[v]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(v){V.forEach(this.handlers,function(y){y!==null&&v(y)})}}const zS={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pA={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:g1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},v1=typeof window<"u"&&typeof document<"u",b1=typeof navigator=="object"&&navigator||void 0,yA=v1&&(!b1||["ReactNative","NativeScript","NS"].indexOf(b1.product)<0),gA=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vA=v1&&window.location.href||"http://localhost",pa={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:v1,hasStandardBrowserEnv:yA,hasStandardBrowserWebWorkerEnv:gA,navigator:b1,origin:vA},Symbol.toStringTag,{value:"Module"})),...pA};function bA(m,v){return N0(m,new pa.classes.URLSearchParams,{visitor:function(b,y,T,_){return pa.isNode&&V.isBuffer(b)?(this.append(y,b.toString("base64")),!1):_.defaultVisitor.apply(this,arguments)},...v})}function SA(m){return V.matchAll(/\w+|\[(\w*)]/g,m).map(v=>v[0]==="[]"?"":v[1]||v[0])}function EA(m){const v={},b=Object.keys(m);let y;const T=b.length;let _;for(y=0;y<T;y++)_=b[y],v[_]=m[_];return v}function DS(m){function v(b,y,T,_){let w=b[_++];if(w==="__proto__")return!0;const M=Number.isFinite(+w),tt=_>=b.length;return w=!w&&V.isArray(T)?T.length:w,tt?(V.hasOwnProp(T,w)?T[w]=[T[w],y]:T[w]=y,!M):((!T[w]||!V.isObject(T[w]))&&(T[w]=[]),v(b,y,T[w],_)&&V.isArray(T[w])&&(T[w]=EA(T[w])),!M)}if(V.isFormData(m)&&V.isFunction(m.entries)){const b={};return V.forEachEntry(m,(y,T)=>{v(SA(y),T,b,0)}),b}return null}function TA(m,v,b){if(V.isString(m))try{return(v||JSON.parse)(m),V.trim(m)}catch(y){if(y.name!=="SyntaxError")throw y}return(b||JSON.stringify)(m)}const Dm={transitional:zS,adapter:["xhr","http","fetch"],transformRequest:[function(v,b){const y=b.getContentType()||"",T=y.indexOf("application/json")>-1,_=V.isObject(v);if(_&&V.isHTMLForm(v)&&(v=new FormData(v)),V.isFormData(v))return T?JSON.stringify(DS(v)):v;if(V.isArrayBuffer(v)||V.isBuffer(v)||V.isStream(v)||V.isFile(v)||V.isBlob(v)||V.isReadableStream(v))return v;if(V.isArrayBufferView(v))return v.buffer;if(V.isURLSearchParams(v))return b.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),v.toString();let M;if(_){if(y.indexOf("application/x-www-form-urlencoded")>-1)return bA(v,this.formSerializer).toString();if((M=V.isFileList(v))||y.indexOf("multipart/form-data")>-1){const tt=this.env&&this.env.FormData;return N0(M?{"files[]":v}:v,tt&&new tt,this.formSerializer)}}return _||T?(b.setContentType("application/json",!1),TA(v)):v}],transformResponse:[function(v){const b=this.transitional||Dm.transitional,y=b&&b.forcedJSONParsing,T=this.responseType==="json";if(V.isResponse(v)||V.isReadableStream(v))return v;if(v&&V.isString(v)&&(y&&!this.responseType||T)){const w=!(b&&b.silentJSONParsing)&&T;try{return JSON.parse(v,this.parseReviver)}catch(M){if(w)throw M.name==="SyntaxError"?Mt.from(M,Mt.ERR_BAD_RESPONSE,this,null,this.response):M}}return v}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pa.classes.FormData,Blob:pa.classes.Blob},validateStatus:function(v){return v>=200&&v<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch"],m=>{Dm.headers[m]={}});const AA=V.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),zA=m=>{const v={};let b,y,T;return m&&m.split(`
|
|
305
|
+
`).forEach(function(w){T=w.indexOf(":"),b=w.substring(0,T).trim().toLowerCase(),y=w.substring(T+1).trim(),!(!b||v[b]&&AA[b])&&(b==="set-cookie"?v[b]?v[b].push(y):v[b]=[y]:v[b]=v[b]?v[b]+", "+y:y)}),v},OS=Symbol("internals");function Om(m){return m&&String(m).trim().toLowerCase()}function B0(m){return m===!1||m==null?m:V.isArray(m)?m.map(B0):String(m)}function DA(m){const v=Object.create(null),b=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let y;for(;y=b.exec(m);)v[y[1]]=y[2];return v}const OA=m=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(m.trim());function S1(m,v,b,y,T){if(V.isFunction(y))return y.call(this,v,b);if(T&&(v=b),!!V.isString(v)){if(V.isString(y))return v.indexOf(y)!==-1;if(V.isRegExp(y))return y.test(v)}}function _A(m){return m.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(v,b,y)=>b.toUpperCase()+y)}function RA(m,v){const b=V.toCamelCase(" "+v);["get","set","has"].forEach(y=>{Object.defineProperty(m,y+b,{value:function(T,_,w){return this[y].call(this,v,T,_,w)},configurable:!0})})}let Wa=class{constructor(v){v&&this.set(v)}set(v,b,y){const T=this;function _(M,tt,I){const F=Om(tt);if(!F)throw new Error("header name must be a non-empty string");const W=V.findKey(T,F);(!W||T[W]===void 0||I===!0||I===void 0&&T[W]!==!1)&&(T[W||tt]=B0(M))}const w=(M,tt)=>V.forEach(M,(I,F)=>_(I,F,tt));if(V.isPlainObject(v)||v instanceof this.constructor)w(v,b);else if(V.isString(v)&&(v=v.trim())&&!OA(v))w(zA(v),b);else if(V.isObject(v)&&V.isIterable(v)){let M={},tt,I;for(const F of v){if(!V.isArray(F))throw TypeError("Object iterator must return a key-value pair");M[I=F[0]]=(tt=M[I])?V.isArray(tt)?[...tt,F[1]]:[tt,F[1]]:F[1]}w(M,b)}else v!=null&&_(b,v,y);return this}get(v,b){if(v=Om(v),v){const y=V.findKey(this,v);if(y){const T=this[y];if(!b)return T;if(b===!0)return DA(T);if(V.isFunction(b))return b.call(this,T,y);if(V.isRegExp(b))return b.exec(T);throw new TypeError("parser must be boolean|regexp|function")}}}has(v,b){if(v=Om(v),v){const y=V.findKey(this,v);return!!(y&&this[y]!==void 0&&(!b||S1(this,this[y],y,b)))}return!1}delete(v,b){const y=this;let T=!1;function _(w){if(w=Om(w),w){const M=V.findKey(y,w);M&&(!b||S1(y,y[M],M,b))&&(delete y[M],T=!0)}}return V.isArray(v)?v.forEach(_):_(v),T}clear(v){const b=Object.keys(this);let y=b.length,T=!1;for(;y--;){const _=b[y];(!v||S1(this,this[_],_,v,!0))&&(delete this[_],T=!0)}return T}normalize(v){const b=this,y={};return V.forEach(this,(T,_)=>{const w=V.findKey(y,_);if(w){b[w]=B0(T),delete b[_];return}const M=v?_A(_):String(_).trim();M!==_&&delete b[_],b[M]=B0(T),y[M]=!0}),this}concat(...v){return this.constructor.concat(this,...v)}toJSON(v){const b=Object.create(null);return V.forEach(this,(y,T)=>{y!=null&&y!==!1&&(b[T]=v&&V.isArray(y)?y.join(", "):y)}),b}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([v,b])=>v+": "+b).join(`
|
|
306
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(v){return v instanceof this?v:new this(v)}static concat(v,...b){const y=new this(v);return b.forEach(T=>y.set(T)),y}static accessor(v){const y=(this[OS]=this[OS]={accessors:{}}).accessors,T=this.prototype;function _(w){const M=Om(w);y[M]||(RA(T,w),y[M]=!0)}return V.isArray(v)?v.forEach(_):_(v),this}};Wa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),V.reduceDescriptors(Wa.prototype,({value:m},v)=>{let b=v[0].toUpperCase()+v.slice(1);return{get:()=>m,set(y){this[b]=y}}}),V.freezeMethods(Wa);function E1(m,v){const b=this||Dm,y=v||b,T=Wa.from(y.headers);let _=y.data;return V.forEach(m,function(M){_=M.call(b,_,T.normalize(),v?v.status:void 0)}),T.normalize(),_}function _S(m){return!!(m&&m.__CANCEL__)}let _m=class extends Mt{constructor(v,b,y){super(v??"canceled",Mt.ERR_CANCELED,b,y),this.name="CanceledError",this.__CANCEL__=!0}};function RS(m,v,b){const y=b.config.validateStatus;!b.status||!y||y(b.status)?m(b):v(new Mt("Request failed with status code "+b.status,[Mt.ERR_BAD_REQUEST,Mt.ERR_BAD_RESPONSE][Math.floor(b.status/100)-4],b.config,b.request,b))}function MA(m){const v=/^([-+\w]{1,25})(:?\/\/|:)/.exec(m);return v&&v[1]||""}function UA(m,v){m=m||10;const b=new Array(m),y=new Array(m);let T=0,_=0,w;return v=v!==void 0?v:1e3,function(tt){const I=Date.now(),F=y[_];w||(w=I),b[T]=tt,y[T]=I;let W=_,st=0;for(;W!==T;)st+=b[W++],W=W%m;if(T=(T+1)%m,T===_&&(_=(_+1)%m),I-w<v)return;const Zt=F&&I-F;return Zt?Math.round(st*1e3/Zt):void 0}}function CA(m,v){let b=0,y=1e3/v,T,_;const w=(I,F=Date.now())=>{b=F,T=null,_&&(clearTimeout(_),_=null),m(...I)};return[(...I)=>{const F=Date.now(),W=F-b;W>=y?w(I,F):(T=I,_||(_=setTimeout(()=>{_=null,w(T)},y-W)))},()=>T&&w(T)]}const q0=(m,v,b=3)=>{let y=0;const T=UA(50,250);return CA(_=>{const w=_.loaded,M=_.lengthComputable?_.total:void 0,tt=w-y,I=T(tt),F=w<=M;y=w;const W={loaded:w,total:M,progress:M?w/M:void 0,bytes:tt,rate:I||void 0,estimated:I&&M&&F?(M-w)/I:void 0,event:_,lengthComputable:M!=null,[v?"download":"upload"]:!0};m(W)},b)},MS=(m,v)=>{const b=m!=null;return[y=>v[0]({lengthComputable:b,total:m,loaded:y}),v[1]]},US=m=>(...v)=>V.asap(()=>m(...v)),xA=pa.hasStandardBrowserEnv?((m,v)=>b=>(b=new URL(b,pa.origin),m.protocol===b.protocol&&m.host===b.host&&(v||m.port===b.port)))(new URL(pa.origin),pa.navigator&&/(msie|trident)/i.test(pa.navigator.userAgent)):()=>!0,HA=pa.hasStandardBrowserEnv?{write(m,v,b,y,T,_,w){if(typeof document>"u")return;const M=[`${m}=${encodeURIComponent(v)}`];V.isNumber(b)&&M.push(`expires=${new Date(b).toUTCString()}`),V.isString(y)&&M.push(`path=${y}`),V.isString(T)&&M.push(`domain=${T}`),_===!0&&M.push("secure"),V.isString(w)&&M.push(`SameSite=${w}`),document.cookie=M.join("; ")},read(m){if(typeof document>"u")return null;const v=document.cookie.match(new RegExp("(?:^|; )"+m+"=([^;]*)"));return v?decodeURIComponent(v[1]):null},remove(m){this.write(m,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function wA(m){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(m)}function NA(m,v){return v?m.replace(/\/?\/$/,"")+"/"+v.replace(/^\/+/,""):m}function CS(m,v,b){let y=!wA(v);return m&&(y||b==!1)?NA(m,v):v}const xS=m=>m instanceof Wa?{...m}:m;function es(m,v){v=v||{};const b={};function y(I,F,W,st){return V.isPlainObject(I)&&V.isPlainObject(F)?V.merge.call({caseless:st},I,F):V.isPlainObject(F)?V.merge({},F):V.isArray(F)?F.slice():F}function T(I,F,W,st){if(V.isUndefined(F)){if(!V.isUndefined(I))return y(void 0,I,W,st)}else return y(I,F,W,st)}function _(I,F){if(!V.isUndefined(F))return y(void 0,F)}function w(I,F){if(V.isUndefined(F)){if(!V.isUndefined(I))return y(void 0,I)}else return y(void 0,F)}function M(I,F,W){if(W in v)return y(I,F);if(W in m)return y(void 0,I)}const tt={url:_,method:_,data:_,baseURL:w,transformRequest:w,transformResponse:w,paramsSerializer:w,timeout:w,timeoutMessage:w,withCredentials:w,withXSRFToken:w,adapter:w,responseType:w,xsrfCookieName:w,xsrfHeaderName:w,onUploadProgress:w,onDownloadProgress:w,decompress:w,maxContentLength:w,maxBodyLength:w,beforeRedirect:w,transport:w,httpAgent:w,httpsAgent:w,cancelToken:w,socketPath:w,responseEncoding:w,validateStatus:M,headers:(I,F,W)=>T(xS(I),xS(F),W,!0)};return V.forEach(Object.keys({...m,...v}),function(F){const W=tt[F]||T,st=W(m[F],v[F],F);V.isUndefined(st)&&W!==M||(b[F]=st)}),b}const HS=m=>{const v=es({},m);let{data:b,withXSRFToken:y,xsrfHeaderName:T,xsrfCookieName:_,headers:w,auth:M}=v;if(v.headers=w=Wa.from(w),v.url=TS(CS(v.baseURL,v.url,v.allowAbsoluteUrls),m.params,m.paramsSerializer),M&&w.set("Authorization","Basic "+btoa((M.username||"")+":"+(M.password?unescape(encodeURIComponent(M.password)):""))),V.isFormData(b)){if(pa.hasStandardBrowserEnv||pa.hasStandardBrowserWebWorkerEnv)w.setContentType(void 0);else if(V.isFunction(b.getHeaders)){const tt=b.getHeaders(),I=["content-type","content-length"];Object.entries(tt).forEach(([F,W])=>{I.includes(F.toLowerCase())&&w.set(F,W)})}}if(pa.hasStandardBrowserEnv&&(y&&V.isFunction(y)&&(y=y(v)),y||y!==!1&&xA(v.url))){const tt=T&&_&&HA.read(_);tt&&w.set(T,tt)}return v},BA=typeof XMLHttpRequest<"u"&&function(m){return new Promise(function(b,y){const T=HS(m);let _=T.data;const w=Wa.from(T.headers).normalize();let{responseType:M,onUploadProgress:tt,onDownloadProgress:I}=T,F,W,st,Zt,P;function dt(){Zt&&Zt(),P&&P(),T.cancelToken&&T.cancelToken.unsubscribe(F),T.signal&&T.signal.removeEventListener("abort",F)}let at=new XMLHttpRequest;at.open(T.method.toUpperCase(),T.url,!0),at.timeout=T.timeout;function Tt(){if(!at)return;const Et=Wa.from("getAllResponseHeaders"in at&&at.getAllResponseHeaders()),ie={data:!M||M==="text"||M==="json"?at.responseText:at.response,status:at.status,statusText:at.statusText,headers:Et,config:m,request:at};RS(function(ee){b(ee),dt()},function(ee){y(ee),dt()},ie),at=null}"onloadend"in at?at.onloadend=Tt:at.onreadystatechange=function(){!at||at.readyState!==4||at.status===0&&!(at.responseURL&&at.responseURL.indexOf("file:")===0)||setTimeout(Tt)},at.onabort=function(){at&&(y(new Mt("Request aborted",Mt.ECONNABORTED,m,at)),at=null)},at.onerror=function(gt){const ie=gt&>.message?gt.message:"Network Error",Se=new Mt(ie,Mt.ERR_NETWORK,m,at);Se.event=gt||null,y(Se),at=null},at.ontimeout=function(){let gt=T.timeout?"timeout of "+T.timeout+"ms exceeded":"timeout exceeded";const ie=T.transitional||zS;T.timeoutErrorMessage&&(gt=T.timeoutErrorMessage),y(new Mt(gt,ie.clarifyTimeoutError?Mt.ETIMEDOUT:Mt.ECONNABORTED,m,at)),at=null},_===void 0&&w.setContentType(null),"setRequestHeader"in at&&V.forEach(w.toJSON(),function(gt,ie){at.setRequestHeader(ie,gt)}),V.isUndefined(T.withCredentials)||(at.withCredentials=!!T.withCredentials),M&&M!=="json"&&(at.responseType=T.responseType),I&&([st,P]=q0(I,!0),at.addEventListener("progress",st)),tt&&at.upload&&([W,Zt]=q0(tt),at.upload.addEventListener("progress",W),at.upload.addEventListener("loadend",Zt)),(T.cancelToken||T.signal)&&(F=Et=>{at&&(y(!Et||Et.type?new _m(null,m,at):Et),at.abort(),at=null)},T.cancelToken&&T.cancelToken.subscribe(F),T.signal&&(T.signal.aborted?F():T.signal.addEventListener("abort",F)));const te=MA(T.url);if(te&&pa.protocols.indexOf(te)===-1){y(new Mt("Unsupported protocol "+te+":",Mt.ERR_BAD_REQUEST,m));return}at.send(_||null)})},qA=(m,v)=>{const{length:b}=m=m?m.filter(Boolean):[];if(v||b){let y=new AbortController,T;const _=function(I){if(!T){T=!0,M();const F=I instanceof Error?I:this.reason;y.abort(F instanceof Mt?F:new _m(F instanceof Error?F.message:F))}};let w=v&&setTimeout(()=>{w=null,_(new Mt(`timeout of ${v}ms exceeded`,Mt.ETIMEDOUT))},v);const M=()=>{m&&(w&&clearTimeout(w),w=null,m.forEach(I=>{I.unsubscribe?I.unsubscribe(_):I.removeEventListener("abort",_)}),m=null)};m.forEach(I=>I.addEventListener("abort",_));const{signal:tt}=y;return tt.unsubscribe=()=>V.asap(M),tt}},jA=function*(m,v){let b=m.byteLength;if(b<v){yield m;return}let y=0,T;for(;y<b;)T=y+v,yield m.slice(y,T),y=T},YA=async function*(m,v){for await(const b of GA(m))yield*jA(b,v)},GA=async function*(m){if(m[Symbol.asyncIterator]){yield*m;return}const v=m.getReader();try{for(;;){const{done:b,value:y}=await v.read();if(b)break;yield y}}finally{await v.cancel()}},wS=(m,v,b,y)=>{const T=YA(m,v);let _=0,w,M=tt=>{w||(w=!0,y&&y(tt))};return new ReadableStream({async pull(tt){try{const{done:I,value:F}=await T.next();if(I){M(),tt.close();return}let W=F.byteLength;if(b){let st=_+=W;b(st)}tt.enqueue(new Uint8Array(F))}catch(I){throw M(I),I}},cancel(tt){return M(tt),T.return()}},{highWaterMark:2})},NS=64*1024,{isFunction:j0}=V,XA=(({Request:m,Response:v})=>({Request:m,Response:v}))(V.global),{ReadableStream:BS,TextEncoder:qS}=V.global,jS=(m,...v)=>{try{return!!m(...v)}catch{return!1}},LA=m=>{m=V.merge.call({skipUndefined:!0},XA,m);const{fetch:v,Request:b,Response:y}=m,T=v?j0(v):typeof fetch=="function",_=j0(b),w=j0(y);if(!T)return!1;const M=T&&j0(BS),tt=T&&(typeof qS=="function"?(P=>dt=>P.encode(dt))(new qS):async P=>new Uint8Array(await new b(P).arrayBuffer())),I=_&&M&&jS(()=>{let P=!1;const dt=new b(pa.origin,{body:new BS,method:"POST",get duplex(){return P=!0,"half"}}).headers.has("Content-Type");return P&&!dt}),F=w&&M&&jS(()=>V.isReadableStream(new y("").body)),W={stream:F&&(P=>P.body)};T&&["text","arrayBuffer","blob","formData","stream"].forEach(P=>{!W[P]&&(W[P]=(dt,at)=>{let Tt=dt&&dt[P];if(Tt)return Tt.call(dt);throw new Mt(`Response type '${P}' is not supported`,Mt.ERR_NOT_SUPPORT,at)})});const st=async P=>{if(P==null)return 0;if(V.isBlob(P))return P.size;if(V.isSpecCompliantForm(P))return(await new b(pa.origin,{method:"POST",body:P}).arrayBuffer()).byteLength;if(V.isArrayBufferView(P)||V.isArrayBuffer(P))return P.byteLength;if(V.isURLSearchParams(P)&&(P=P+""),V.isString(P))return(await tt(P)).byteLength},Zt=async(P,dt)=>{const at=V.toFiniteNumber(P.getContentLength());return at??st(dt)};return async P=>{let{url:dt,method:at,data:Tt,signal:te,cancelToken:Et,timeout:gt,onDownloadProgress:ie,onUploadProgress:Se,responseType:ee,headers:ut,withCredentials:Jt="same-origin",fetchOptions:ct}=HS(P),Ft=v||fetch;ee=ee?(ee+"").toLowerCase():"text";let Ut=qA([te,Et&&Et.toAbortSignal()],gt),ot=null;const Be=Ut&&Ut.unsubscribe&&(()=>{Ut.unsubscribe()});let hl;try{if(Se&&I&&at!=="get"&&at!=="head"&&(hl=await Zt(ut,Tt))!==0){let be=new b(dt,{method:"POST",body:Tt,duplex:"half"}),le;if(V.isFormData(Tt)&&(le=be.headers.get("content-type"))&&ut.setContentType(le),be.body){const[Gt,Nt]=MS(hl,q0(US(Se)));Tt=wS(be.body,NS,Gt,Nt)}}V.isString(Jt)||(Jt=Jt?"include":"omit");const H=_&&"credentials"in b.prototype,$={...ct,signal:Ut,method:at.toUpperCase(),headers:ut.normalize().toJSON(),body:Tt,duplex:"half",credentials:H?Jt:void 0};ot=_&&new b(dt,$);let et=await(_?Ft(ot,ct):Ft(dt,$));const St=F&&(ee==="stream"||ee==="response");if(F&&(ie||St&&Be)){const be={};["status","statusText","headers"].forEach(il=>{be[il]=et[il]});const le=V.toFiniteNumber(et.headers.get("content-length")),[Gt,Nt]=ie&&MS(le,q0(US(ie),!0))||[];et=new y(wS(et.body,NS,Gt,()=>{Nt&&Nt(),Be&&Be()}),be)}ee=ee||"text";let _t=await W[V.findKey(W,ee)||"text"](et,P);return!St&&Be&&Be(),await new Promise((be,le)=>{RS(be,le,{data:_t,headers:Wa.from(et.headers),status:et.status,statusText:et.statusText,config:P,request:ot})})}catch(H){throw Be&&Be(),H&&H.name==="TypeError"&&/Load failed|fetch/i.test(H.message)?Object.assign(new Mt("Network Error",Mt.ERR_NETWORK,P,ot),{cause:H.cause||H}):Mt.from(H,H&&H.code,P,ot)}}},VA=new Map,YS=m=>{let v=m&&m.env||{};const{fetch:b,Request:y,Response:T}=v,_=[y,T,b];let w=_.length,M=w,tt,I,F=VA;for(;M--;)tt=_[M],I=F.get(tt),I===void 0&&F.set(tt,I=M?new Map:LA(v)),F=I;return I};YS();const T1={http:rA,xhr:BA,fetch:{get:YS}};V.forEach(T1,(m,v)=>{if(m){try{Object.defineProperty(m,"name",{value:v})}catch{}Object.defineProperty(m,"adapterName",{value:v})}});const GS=m=>`- ${m}`,QA=m=>V.isFunction(m)||m===null||m===!1;function ZA(m,v){m=V.isArray(m)?m:[m];const{length:b}=m;let y,T;const _={};for(let w=0;w<b;w++){y=m[w];let M;if(T=y,!QA(y)&&(T=T1[(M=String(y)).toLowerCase()],T===void 0))throw new Mt(`Unknown adapter '${M}'`);if(T&&(V.isFunction(T)||(T=T.get(v))))break;_[M||"#"+w]=T}if(!T){const w=Object.entries(_).map(([tt,I])=>`adapter ${tt} `+(I===!1?"is not supported by the environment":"is not available in the build"));let M=b?w.length>1?`since :
|
|
307
|
+
`+w.map(GS).join(`
|
|
308
|
+
`):" "+GS(w[0]):"as no adapter specified";throw new Mt("There is no suitable adapter to dispatch the request "+M,"ERR_NOT_SUPPORT")}return T}const XS={getAdapter:ZA,adapters:T1};function A1(m){if(m.cancelToken&&m.cancelToken.throwIfRequested(),m.signal&&m.signal.aborted)throw new _m(null,m)}function LS(m){return A1(m),m.headers=Wa.from(m.headers),m.data=E1.call(m,m.transformRequest),["post","put","patch"].indexOf(m.method)!==-1&&m.headers.setContentType("application/x-www-form-urlencoded",!1),XS.getAdapter(m.adapter||Dm.adapter,m)(m).then(function(y){return A1(m),y.data=E1.call(m,m.transformResponse,y),y.headers=Wa.from(y.headers),y},function(y){return _S(y)||(A1(m),y&&y.response&&(y.response.data=E1.call(m,m.transformResponse,y.response),y.response.headers=Wa.from(y.response.headers))),Promise.reject(y)})}const VS="1.13.4",Y0={};["object","boolean","number","function","string","symbol"].forEach((m,v)=>{Y0[m]=function(y){return typeof y===m||"a"+(v<1?"n ":" ")+m}});const QS={};Y0.transitional=function(v,b,y){function T(_,w){return"[Axios v"+VS+"] Transitional option '"+_+"'"+w+(y?". "+y:"")}return(_,w,M)=>{if(v===!1)throw new Mt(T(w," has been removed"+(b?" in "+b:"")),Mt.ERR_DEPRECATED);return b&&!QS[w]&&(QS[w]=!0,console.warn(T(w," has been deprecated since v"+b+" and will be removed in the near future"))),v?v(_,w,M):!0}},Y0.spelling=function(v){return(b,y)=>(console.warn(`${y} is likely a misspelling of ${v}`),!0)};function JA(m,v,b){if(typeof m!="object")throw new Mt("options must be an object",Mt.ERR_BAD_OPTION_VALUE);const y=Object.keys(m);let T=y.length;for(;T-- >0;){const _=y[T],w=v[_];if(w){const M=m[_],tt=M===void 0||w(M,_,m);if(tt!==!0)throw new Mt("option "+_+" must be "+tt,Mt.ERR_BAD_OPTION_VALUE);continue}if(b!==!0)throw new Mt("Unknown option "+_,Mt.ERR_BAD_OPTION)}}const G0={assertOptions:JA,validators:Y0},gi=G0.validators;let ls=class{constructor(v){this.defaults=v||{},this.interceptors={request:new AS,response:new AS}}async request(v,b){try{return await this._request(v,b)}catch(y){if(y instanceof Error){let T={};Error.captureStackTrace?Error.captureStackTrace(T):T=new Error;const _=T.stack?T.stack.replace(/^.+\n/,""):"";try{y.stack?_&&!String(y.stack).endsWith(_.replace(/^.+\n.+\n/,""))&&(y.stack+=`
|
|
309
|
+
`+_):y.stack=_}catch{}}throw y}}_request(v,b){typeof v=="string"?(b=b||{},b.url=v):b=v||{},b=es(this.defaults,b);const{transitional:y,paramsSerializer:T,headers:_}=b;y!==void 0&&G0.assertOptions(y,{silentJSONParsing:gi.transitional(gi.boolean),forcedJSONParsing:gi.transitional(gi.boolean),clarifyTimeoutError:gi.transitional(gi.boolean)},!1),T!=null&&(V.isFunction(T)?b.paramsSerializer={serialize:T}:G0.assertOptions(T,{encode:gi.function,serialize:gi.function},!0)),b.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?b.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:b.allowAbsoluteUrls=!0),G0.assertOptions(b,{baseUrl:gi.spelling("baseURL"),withXsrfToken:gi.spelling("withXSRFToken")},!0),b.method=(b.method||this.defaults.method||"get").toLowerCase();let w=_&&V.merge(_.common,_[b.method]);_&&V.forEach(["delete","get","head","post","put","patch","common"],P=>{delete _[P]}),b.headers=Wa.concat(w,_);const M=[];let tt=!0;this.interceptors.request.forEach(function(dt){typeof dt.runWhen=="function"&&dt.runWhen(b)===!1||(tt=tt&&dt.synchronous,M.unshift(dt.fulfilled,dt.rejected))});const I=[];this.interceptors.response.forEach(function(dt){I.push(dt.fulfilled,dt.rejected)});let F,W=0,st;if(!tt){const P=[LS.bind(this),void 0];for(P.unshift(...M),P.push(...I),st=P.length,F=Promise.resolve(b);W<st;)F=F.then(P[W++],P[W++]);return F}st=M.length;let Zt=b;for(;W<st;){const P=M[W++],dt=M[W++];try{Zt=P(Zt)}catch(at){dt.call(this,at);break}}try{F=LS.call(this,Zt)}catch(P){return Promise.reject(P)}for(W=0,st=I.length;W<st;)F=F.then(I[W++],I[W++]);return F}getUri(v){v=es(this.defaults,v);const b=CS(v.baseURL,v.url,v.allowAbsoluteUrls);return TS(b,v.params,v.paramsSerializer)}};V.forEach(["delete","get","head","options"],function(v){ls.prototype[v]=function(b,y){return this.request(es(y||{},{method:v,url:b,data:(y||{}).data}))}}),V.forEach(["post","put","patch"],function(v){function b(y){return function(_,w,M){return this.request(es(M||{},{method:v,headers:y?{"Content-Type":"multipart/form-data"}:{},url:_,data:w}))}}ls.prototype[v]=b(),ls.prototype[v+"Form"]=b(!0)});let KA=class rT{constructor(v){if(typeof v!="function")throw new TypeError("executor must be a function.");let b;this.promise=new Promise(function(_){b=_});const y=this;this.promise.then(T=>{if(!y._listeners)return;let _=y._listeners.length;for(;_-- >0;)y._listeners[_](T);y._listeners=null}),this.promise.then=T=>{let _;const w=new Promise(M=>{y.subscribe(M),_=M}).then(T);return w.cancel=function(){y.unsubscribe(_)},w},v(function(_,w,M){y.reason||(y.reason=new _m(_,w,M),b(y.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(v){if(this.reason){v(this.reason);return}this._listeners?this._listeners.push(v):this._listeners=[v]}unsubscribe(v){if(!this._listeners)return;const b=this._listeners.indexOf(v);b!==-1&&this._listeners.splice(b,1)}toAbortSignal(){const v=new AbortController,b=y=>{v.abort(y)};return this.subscribe(b),v.signal.unsubscribe=()=>this.unsubscribe(b),v.signal}static source(){let v;return{token:new rT(function(T){v=T}),cancel:v}}};function $A(m){return function(b){return m.apply(null,b)}}function kA(m){return V.isObject(m)&&m.isAxiosError===!0}const z1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(z1).forEach(([m,v])=>{z1[v]=m});function ZS(m){const v=new ls(m),b=fS(ls.prototype.request,v);return V.extend(b,ls.prototype,v,{allOwnKeys:!0}),V.extend(b,v,null,{allOwnKeys:!0}),b.create=function(T){return ZS(es(m,T))},b}const dl=ZS(Dm);dl.Axios=ls,dl.CanceledError=_m,dl.CancelToken=KA,dl.isCancel=_S,dl.VERSION=VS,dl.toFormData=N0,dl.AxiosError=Mt,dl.Cancel=dl.CanceledError,dl.all=function(v){return Promise.all(v)},dl.spread=$A,dl.isAxiosError=kA,dl.mergeConfig=es,dl.AxiosHeaders=Wa,dl.formToJSON=m=>DS(V.isHTMLForm(m)?new FormData(m):m),dl.getAdapter=XS.getAdapter,dl.HttpStatusCode=z1,dl.default=dl;const{Axios:Cz,AxiosError:xz,CanceledError:Hz,isCancel:wz,CancelToken:Nz,VERSION:Bz,all:qz,Cancel:jz,isAxiosError:Yz,spread:Gz,toFormData:Xz,AxiosHeaders:Lz,HttpStatusCode:Vz,formToJSON:Qz,getAdapter:Zz,mergeConfig:Jz}=dl,FA="https://customers-services.tarxemo.com/api";class JS{constructor(v,b=FA){fT(this,"client");this.client=dl.create({baseURL:b,headers:{"Content-Type":"application/json","X-API-Key":v},timeout:3e4}),this.client.interceptors.response.use(y=>y,y=>{var T,_;if((T=y.response)!=null&&T.data){const M=((_=y.response.data.response)==null?void 0:_.message)||"An unknown error occurred";throw new Error(M)}else throw y.request?new Error("No response from server. Please check your connection."):new Error(y.message||"Request failed")})}async sendMessage(v,b){try{const y=await this.client.post("/chat/",{question:v,session_id:b});if(y.data.response.status!=="success")throw new Error(y.data.response.message);return y.data.data}catch(y){throw y instanceof Error?y:new Error("Failed to send message")}}async getConversationHistory(v){try{const b=await this.client.get(`/chat/history/${v}/`);if(b.data.response.status!=="success")throw new Error(b.data.response.message);return b.data.data}catch(b){throw b instanceof Error?b:new Error("Failed to load conversation history")}}updateApiKey(v){this.client.defaults.headers.common["X-API-Key"]=v}updateBaseUrl(v){this.client.defaults.baseURL=v}}function D1(m,v){const[b,y]=lt.useState(()=>{try{const T=window.localStorage.getItem(m);return T?JSON.parse(T):v}catch(T){return console.warn(`Error reading localStorage key "${m}":`,T),v}});return lt.useEffect(()=>{try{window.localStorage.setItem(m,JSON.stringify(b))}catch(T){console.warn(`Error setting localStorage key "${m}":`,T)}},[m,b]),[b,y]}function KS(){return`session_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}const WA="customer_support_session_id",IA="customer_support_messages";function $S(m){const{apiKey:v,baseUrl:b,onError:y}=m,[T,_]=D1(IA,[]),[w,M]=D1(WA,KS()),[tt,I]=lt.useState(!1),[F,W]=lt.useState(null),st=lt.useRef(null);lt.useEffect(()=>{st.current=new JS(v,b)},[v,b]);const Zt=lt.useCallback(()=>{W(null)},[]),P=lt.useCallback(async te=>{if(!st.current){const gt=new Error("API client not initialized");W(gt),y==null||y(gt);return}if(!te.trim())return;const Et={id:`user_${Date.now()}`,role:"USER",content:te,timestamp:new Date};_(gt=>[...gt,Et]),I(!0),W(null);try{const gt=await st.current.sendMessage(te,w),ie={id:`assistant_${Date.now()}`,role:"ASSISTANT",content:gt.answer,timestamp:new Date,sources:gt.sources};_(Se=>[...Se,ie]),gt.session_id!==w&&M(gt.session_id)}catch(gt){const ie=gt instanceof Error?gt:new Error("Failed to send message");W(ie),y==null||y(ie);const Se={id:`error_${Date.now()}`,role:"ASSISTANT",content:`Sorry, I encountered an error: ${ie.message}`,timestamp:new Date};_(ee=>[...ee,Se])}finally{I(!1)}},[w,y,_,M]),dt=lt.useCallback(async()=>{if(!(!st.current||!w)){I(!0),W(null);try{const Et=(await st.current.getConversationHistory(w)).messages.map((gt,ie)=>({id:`${gt.role.toLowerCase()}_${ie}_${Date.now()}`,role:gt.role.toUpperCase(),content:gt.content,timestamp:new Date(gt.created_at)}));_(Et)}catch(te){const Et=te instanceof Error?te:new Error("Failed to load history");W(Et),y==null||y(Et)}finally{I(!1)}}},[w,y,_]),at=lt.useCallback(()=>{_([]),M(KS())},[_,M]),Tt=lt.useCallback(te=>{_(Et=>Et.filter(gt=>gt.id!==te))},[_]);return{messages:T,sendMessage:P,isLoading:tt,error:F,clearError:Zt,sessionId:w,loadHistory:dt,clearHistory:at,deleteMessage:Tt}}const kS=({message:m,onDelete:v})=>{const b=m.role.toUpperCase()==="USER",y=m.timestamp instanceof Date?m.timestamp:new Date(m.timestamp);return lt.createElement("div",{className:`cs-message ${b?"cs-message--user":"cs-message--assistant"}`},lt.createElement("div",{className:"cs-message__content"},lt.createElement("p",{className:"cs-message__text"},m.content),m.sources&&m.sources.length>0&<.createElement("div",{className:"cs-message__sources"},lt.createElement("p",{className:"cs-message__sources-title"},"Sources:"),lt.createElement("ul",{className:"cs-message__sources-list"},m.sources.map((T,_)=>lt.createElement("li",{key:_,className:"cs-message__source-item"},lt.createElement("a",{href:T.url,target:"_blank",rel:"noopener noreferrer",className:"cs-message__source-link"},lt.createElement(AT,{size:12}),lt.createElement("span",null,T.title)),lt.createElement("span",{className:"cs-message__source-similarity"},Math.round(T.similarity*100),"% match"))))),v&<.createElement("button",{className:"cs-message__delete",onClick:()=>{window.confirm("Delete this message?")&&v(m.id)},"aria-label":"Delete message"},lt.createElement(oS,{size:14}))),lt.createElement("time",{className:"cs-message__time",dateTime:y.toISOString()},y.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})))},FS=({onSendMessage:m,isLoading:v,placeholder:b="Type your message..."})=>{const[y,T]=lt.useState(""),_=lt.useRef(null);lt.useEffect(()=>{const tt=_.current;tt&&(tt.style.height="auto",tt.style.height=`${Math.min(tt.scrollHeight,120)}px`)},[y]);const w=tt=>{tt==null||tt.preventDefault(),y.trim()&&!v&&(m(y),T(""),_.current&&(_.current.style.height="auto"))},M=tt=>{tt.key==="Enter"&&!tt.shiftKey&&(tt.preventDefault(),w(tt))};return lt.createElement("form",{className:"cs-input",onSubmit:w},lt.createElement("textarea",{ref:_,className:"cs-input__textarea",value:y,onChange:tt=>T(tt.target.value),onKeyDown:M,placeholder:b,disabled:v,rows:1,"aria-label":"Message input"}),lt.createElement("button",{type:"submit",className:`cs-input__button ${v?"cs-input__button--loading":""}`,disabled:!y.trim()||v,"aria-label":"Send message"},v?lt.createElement(cS,{size:20,className:"cs-input__spinner"}):lt.createElement(DT,{size:20})))},WS=({messages:m,onSendMessage:v,onClose:b,isLoading:y,error:T,placeholder:_,welcomeMessage:w="Hi! How can I help you today?",onDeleteMessage:M,onClearHistory:tt})=>{const I=lt.useRef(null);return lt.useEffect(()=>{var F;(F=I.current)==null||F.scrollIntoView({behavior:"smooth"})},[m]),lt.createElement("div",{className:"cs-window"},lt.createElement("div",{className:"cs-window__header"},lt.createElement("div",{className:"cs-window__header-info"},lt.createElement("h3",{className:"cs-window__title text-gray-900"},"Customer Support"),lt.createElement("div",{className:"cs-window__status"},lt.createElement("span",{className:"cs-window__status-dot"}),lt.createElement("span",{className:"text-gray-900"},"Online"))),lt.createElement("div",{style:{display:"flex",gap:"8px"}},m.length>0&&tt&<.createElement("button",{className:"cs-window__close text-red-500",onClick:()=>{window.confirm("Are you sure you want to clear the entire chat history?")&&tt()},"aria-label":"Clear chat history",title:"Clear chat history"},lt.createElement(oS,{size:18,className:"text-red-500"})),lt.createElement("button",{className:"cs-window__close text-gray-900",onClick:b,"aria-label":"Close chat"},lt.createElement(OT,{size:20,className:"text-gray-900"})))),lt.createElement("div",{className:"cs-window__messages"},m.length===0&&!y&<.createElement("div",{className:"cs-window__welcome"},lt.createElement("p",null,w)),m.map(F=>lt.createElement(kS,{key:F.id,message:F,onDelete:M})),y&<.createElement("div",{className:"cs-window__typing"},lt.createElement(cS,{size:20,className:"cs-window__typing-icon"}),lt.createElement("span",null,"Thinking...")),T&<.createElement("div",{className:"cs-window__error"},lt.createElement("p",null,T.message)),lt.createElement("div",{ref:I})),lt.createElement("div",{className:"cs-window__input-wrapper"},lt.createElement(FS,{onSendMessage:v,isLoading:y,placeholder:_})))},PA=':root{--cs-primary-color: inherit;--cs-secondary-color: inherit;--cs-bg-color: inherit;--cs-text-color: inherit;--cs-font-family: inherit;--cs-border-radius: 12px;--cs-button-color: var(--cs-primary-color);--cs-user-message-color: var(--cs-primary-color);--cs-assistant-message-color: rgba(0, 0, 0, .05);--cs-header-gradient: linear-gradient(135deg, var(--cs-primary-color), var(--cs-secondary-color));--cs-header-text-color: #ffffff;--cs-bg-text-color: #1a1a1a;--cs-user-text-color: #ffffff;--cs-assistant-text-color: #1a1a1a;--cs-success-color: #4ade80;--cs-error-color: #ef4444;--cs-error-bg-color: rgba(239, 68, 68, .1);--cs-border-color: rgba(0, 0, 0, .1);--cs-shadow-color: rgba(0, 0, 0, .1);--cs-scrollbar-thumb: rgba(0, 0, 0, .2);--cs-scrollbar-track: transparent;--cs-shadow-sm: 0 1px 2px 0 var(--cs-shadow-color);--cs-shadow: 0 4px 6px -1px var(--cs-shadow-color), 0 2px 4px -1px var(--cs-shadow-color);--cs-shadow-lg: 0 10px 15px -3px var(--cs-shadow-color), 0 4px 6px -2px var(--cs-shadow-color);--cs-shadow-xl: 0 20px 25px -5px var(--cs-shadow-color), 0 10px 10px -5px var(--cs-shadow-color)}.cs-widget{position:fixed;z-index:9999;font-family:var(--cs-font-family)}.cs-widget,.cs-widget *{box-sizing:border-box}.cs-widget--bottom-right{bottom:20px;right:20px}.cs-widget--bottom-left{bottom:20px;left:20px}.cs-widget--top-right{top:20px;right:20px}.cs-widget--top-left{top:20px;left:20px}.cs-widget__toggle{position:relative;width:60px;height:60px;border-radius:50%;background:var(--cs-primary-color);border:none;color:#fff;cursor:pointer;box-shadow:var(--cs-shadow-xl);transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center}.cs-widget__toggle:hover{transform:scale(1.1);box-shadow:0 15px 25px -5px var(--cs-focus-ring)}.cs-widget__toggle:active{transform:scale(.95)}.cs-widget__toggle--open{background:var(--cs-error-color)}.cs-widget__badge{position:absolute;top:-5px;right:-5px;background:var(--cs-error-color);color:#fff;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;box-shadow:var(--cs-shadow)}.cs-window{position:absolute;bottom:85px;right:0;width:380px;max-width:calc(100vw - 40px);height:600px;max-height:calc(100vh - 130px);background:var(--cs-bg-color);border-radius:var(--cs-border-radius);border:1px solid rgba(0,0,0,.1);box-shadow:var(--cs-shadow-xl);display:flex;flex-direction:column;overflow:visible;animation:slideUp .3s cubic-bezier(.4,0,.2,1);transform-origin:bottom right}.cs-window:after{content:"";position:absolute;bottom:-10px;right:25px;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--cs-bg-color);filter:drop-shadow(0 5px 5px var(--cs-shadow-color))}.cs-widget--bottom-left .cs-window{transform-origin:bottom left;right:auto;left:0}.cs-widget--bottom-left .cs-window:after{right:auto;left:25px}.cs-widget--top-right .cs-window{transform-origin:top right;bottom:auto;top:85px}.cs-widget--top-right .cs-window:after{bottom:auto;top:-10px;border-top:none;border-bottom:10px solid var(--cs-bg-color)}.cs-widget--top-left .cs-window{transform-origin:top left;bottom:auto;top:85px;right:auto;left:0}.cs-widget--top-left .cs-window:after{bottom:auto;top:-10px;border-top:none;border-bottom:10px solid var(--cs-bg-color);right:auto;left:25px}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.cs-window__header{background:var(--cs-header-gradient);color:var(--cs-header-text-color);padding:16px 20px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.cs-window__header-info{display:flex;flex-direction:column;gap:2px}.cs-window__title{margin:0;font-size:16px;font-weight:600}.cs-window__status{display:flex;align-items:center;gap:6px;font-size:12px;opacity:.9}.cs-window__status-dot{width:8px;height:8px;background:var(--cs-success-color);border-radius:50%;box-shadow:0 0 0 2px var(--cs-bg-color)}.cs-window__close{background:transparent;border:none;color:var(--cs-header-text-color);width:32px;height:32px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.cs-window__close:hover{background:var(--cs-shadow-color)}.cs-window__messages{flex:1;overflow-y:auto;overflow-x:hidden;padding:20px;display:flex;flex-direction:column;gap:16px;background:var(--cs-bg-color);color:var(--cs-bg-text-color)}.cs-window__messages::-webkit-scrollbar{width:6px}.cs-window__messages::-webkit-scrollbar-track{background:transparent}.cs-window__messages::-webkit-scrollbar-thumb{background:var(--cs-scrollbar-thumb);border-radius:3px}.cs-window__messages::-webkit-scrollbar-thumb:hover{background:var(--cs-border-color)}.cs-window__welcome{text-align:center;padding:40px 20px;color:var(--cs-bg-text-color);opacity:.7}.cs-window__welcome p{margin:0;font-size:16px}.cs-window__typing{display:flex;align-items:center;gap:8px;padding:12px 16px;background:var(--cs-assistant-message-color);border-radius:var(--cs-border-radius);width:fit-content;color:var(--cs-text-color)}.cs-window__typing-icon{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cs-window__error{background:var(--cs-error-bg-color);border:1px solid var(--cs-error-color);color:var(--cs-error-color);padding:12px 16px;border-radius:var(--cs-border-radius)}.cs-window__error p{margin:0}.cs-message{display:flex;flex-direction:column;gap:6px;max-width:85%;min-width:0;animation:fadeIn .3s ease-in-out;position:relative;transition:transform .2s cubic-bezier(.4,0,.2,1)}.cs-message:hover .cs-message__delete{opacity:1}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.cs-message--user{align-self:flex-end;align-items:flex-end}.cs-message--assistant{align-self:flex-start;align-items:flex-start}.cs-message__content{background:var(--cs-assistant-message-color);padding:12px 16px;border-radius:var(--cs-border-radius);border-bottom-left-radius:4px;color:var(--cs-assistant-text-color);word-wrap:break-word;box-shadow:var(--cs-shadow-sm);min-width:0;max-width:100%}.cs-message--user .cs-message__content{background:var(--cs-user-message-color);color:var(--cs-user-text-color);border-radius:var(--cs-border-radius);border-bottom-right-radius:4px}.cs-message__text{margin:0;line-height:1.5;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.cs-message__time{font-size:11px;color:var(--cs-bg-text-color);opacity:.5;padding:0 4px}.cs-message__sources{margin-top:12px;padding-top:12px;border-top:1px solid var(--cs-border-color)}.cs-message__sources-title{margin:0 0 8px;font-size:12px;font-weight:600;color:var(--cs-bg-text-color);opacity:.7}.cs-message__sources-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.cs-message__source-item{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.cs-message__source-link{display:flex;align-items:center;gap:4px;color:var(--cs-primary-color);text-decoration:none;flex:1;min-width:0}.cs-message__source-link:hover{text-decoration:underline}.cs-message__source-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.cs-message__source-similarity{color:#6b7280;font-size:11px;white-space:nowrap}.cs-message__delete{position:absolute;top:50%;transform:translateY(-50%);background:var(--cs-bg-color);border:1px solid var(--cs-border-color);color:var(--cs-error-color);width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;box-shadow:var(--cs-shadow-sm);z-index:10}.cs-message__delete:hover{background:var(--cs-error-color);color:#fff;transform:translateY(-50%) scale(1.1)}.cs-message--user .cs-message__delete{left:-32px}.cs-message--assistant .cs-message__delete{right:-32px}.cs-window__input-wrapper{padding:16px;background:var(--cs-bg-color);border-top:1px solid var(--cs-border-color);flex-shrink:0}.cs-input{display:flex;gap:8px;align-items:flex-end}.cs-input__textarea{flex:1;padding:12px 16px;border:1px solid var(--cs-border-color);border-radius:var(--cs-border-radius);font-family:var(--cs-font-family);font-size:14px;resize:none;max-height:120px;min-height:44px;transition:border-color .2s,box-shadow .2s,height .1s ease-out;background:var(--cs-bg-color);color:var(--cs-bg-text-color);line-height:1.5}.cs-input__textarea:focus{outline:none;border-color:var(--cs-primary-color);box-shadow:0 0 0 3px var(--cs-focus-ring);background-color:var(--cs-bg-color)}.cs-input__textarea:disabled{background:#0000000d;cursor:not-allowed;opacity:.7}.cs-input__button{background:var(--cs-button-color);color:var(--cs-header-text-color);border:none;width:44px;height:44px;border-radius:var(--cs-border-radius);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s cubic-bezier(.4,0,.2,1);flex-shrink:0;position:relative;overflow:hidden}.cs-input__button:hover:not(:disabled){background:var(--cs-secondary-color);transform:scale(1.05);box-shadow:var(--cs-shadow-sm)}.cs-input__button:active:not(:disabled){transform:scale(.95)}.cs-input__button:disabled{background:var(--cs-border-color);cursor:not-allowed;opacity:.5}.cs-input__spinner{animation:cs-spin 1s linear infinite}@keyframes cs-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cs-input__button--loading{cursor:wait;opacity:.8}@media(max-width:480px){.cs-widget--open{position:fixed!important;inset:auto!important;bottom:20px!important;right:20px!important;width:auto!important;height:auto!important;z-index:10000!important}.cs-window{position:fixed!important;width:88vw!important;height:60vh!important;max-width:400px!important;max-height:500px!important;bottom:90px!important;right:5%!important;left:5%!important;top:auto!important;border-radius:var(--cs-border-radius)!important;box-shadow:var(--cs-shadow-xl)!important;display:flex!important;flex-direction:column!important;animation:slideUp .3s ease-out!important;overflow:visible!important}.cs-widget--open .cs-widget__toggle{display:flex!important;opacity:.8}.cs-window__messages{padding:16px}.cs-window__header{padding:12px 16px}.cs-window__input-wrapper{padding:12px}.cs-widget__toggle{width:50px;height:50px}}',IS=({apiKey:m,baseUrl:v,theme:b,position:y="bottom-right",welcomeMessage:T,placeholder:_,className:w="",onError:M,onMessageSent:tt,onMessageReceived:I})=>{const[F,W]=lt.useState(!1),{messages:st,sendMessage:Zt,isLoading:P,error:dt,clearError:at,deleteMessage:Tt,clearHistory:te}=$S({apiKey:m,baseUrl:v,onError:M}),Et=ut=>{if(!ut)return"#ffffff";let Jt,ct,Ft;if(ut.startsWith("#")){const ot=ut.slice(1);Jt=parseInt(ot.substring(0,2),16),ct=parseInt(ot.substring(2,4),16),Ft=parseInt(ot.substring(4,6),16)}else if(ut.startsWith("rgb")){const ot=ut.match(/\d+/g);if(ot&&ot.length>=3)Jt=parseInt(ot[0]),ct=parseInt(ot[1]),Ft=parseInt(ot[2]);else return"#ffffff"}else return"#ffffff";return(.299*Jt+.587*ct+.114*Ft)/255>.6?"#1a1a1a":"#ffffff"},gt=(ut,Jt)=>{if(!ut)return`rgba(0, 0, 0, ${Jt})`;let ct=0,Ft=0,Ut=0;if(ut.startsWith("#")){const ot=ut.slice(1);ot.length===3?(ct=parseInt(ot[0]+ot[0],16),Ft=parseInt(ot[1]+ot[1],16),Ut=parseInt(ot[2]+ot[2],16)):(ct=parseInt(ot.substring(0,2),16),Ft=parseInt(ot.substring(2,4),16),Ut=parseInt(ot.substring(4,6),16))}else if(ut.startsWith("rgb")){const ot=ut.match(/\d+/g);ot&&ot.length>=3&&(ct=parseInt(ot[0]),Ft=parseInt(ot[1]),Ut=parseInt(ot[2]))}return`rgba(${ct}, ${Ft}, ${Ut}, ${Jt})`},ie=lt.useMemo(()=>{const ut={},Jt=(b==null?void 0:b.primaryColor)||"#6366f1",ct=(b==null?void 0:b.backgroundColor)||"#ffffff",Ft=(b==null?void 0:b.textColor)||(Et(ct)==="#ffffff"?"#ffffff":"#1f2937"),Ut=(b==null?void 0:b.successColor)||"#4ade80",ot=(b==null?void 0:b.errorColor)||"#ef4444",Be=(b==null?void 0:b.borderColor)||gt(Ft,.1),hl=(b==null?void 0:b.shadowColor)||"rgba(0, 0, 0, 0.1)";ut["--cs-primary-color"]=Jt,ut["--cs-secondary-color"]=(b==null?void 0:b.secondaryColor)||Jt,ut["--cs-bg-color"]=ct,ut["--cs-text-color"]=Ft,ut["--cs-font-family"]=(b==null?void 0:b.fontFamily)||"inherit",ut["--cs-border-radius"]=(b==null?void 0:b.borderRadius)||"12px",ut["--cs-success-color"]=Ut,ut["--cs-error-color"]=ot,ut["--cs-error-bg-color"]=gt(ot,.1),ut["--cs-border-color"]=Be,ut["--cs-shadow-color"]=hl,ut["--cs-scrollbar-thumb"]=gt(Ft,.2),ut["--cs-scrollbar-track"]="transparent",ut["--cs-header-text-color"]=Et(Jt),ut["--cs-bg-text-color"]=Ft,ut["--cs-button-color"]=(b==null?void 0:b.buttonColor)||Jt,ut["--cs-user-message-color"]=(b==null?void 0:b.userMessageColor)||Jt,ut["--cs-user-text-color"]=Et((b==null?void 0:b.userMessageColor)||Jt);const H=Et(ct)==="#ffffff";return ut["--cs-assistant-message-color"]=(b==null?void 0:b.assistantMessageColor)||(H?"rgba(255, 255, 255, 0.1)":"rgba(0, 0, 0, 0.05)"),ut["--cs-assistant-text-color"]=Ft,ut["--cs-focus-ring"]=gt(Jt,.2),ut},[b]),Se=async ut=>{if(tt==null||tt(ut),await Zt(ut),!dt){const Jt=st[st.length-1];(Jt==null?void 0:Jt.role)==="ASSISTANT"&&(I==null||I(Jt.content))}},ee=()=>{W(!F),dt&&at()};return lt.createElement("div",{className:`cs-widget cs-widget--${y} ${F?"cs-widget--open":""} ${w}`,style:ie},lt.createElement("style",{dangerouslySetInnerHTML:{__html:PA}}),F&<.createElement(WS,{messages:st,onSendMessage:Se,onClose:()=>W(!1),isLoading:P,error:dt,placeholder:_,welcomeMessage:T,onDeleteMessage:Tt,onClearHistory:te}),lt.createElement("button",{className:`cs-widget__toggle ${F?"cs-widget__toggle--open":""}`,onClick:ee,"aria-label":F?"Close chat":"Open chat","aria-expanded":F},lt.createElement(zT,{size:24}),!F&&st.length>0&<.createElement("span",{className:"cs-widget__badge"},st.filter(ut=>ut.role.toUpperCase()==="ASSISTANT").length)))},t3=(m,v="customer-support-root")=>{let b=document.getElementById(v);b||(b=document.createElement("div"),b.id=v,document.body.appendChild(b));const y=bT.createRoot(b);return y.render(lt.createElement(IS,m)),{unmount:()=>y.unmount(),container:b}};rl.ChatInput=FS,rl.ChatMessage=kS,rl.ChatWindow=WS,rl.CustomerSupportAPIClient=JS,rl.CustomerSupportWidget=IS,rl.init=t3,rl.useCustomerSupport=$S,rl.useLocalStorage=D1,Object.defineProperty(rl,Symbol.toStringTag,{value:"Module"})}));
|
|
7
310
|
//# sourceMappingURL=index.umd.js.map
|